fix(core): update
This commit is contained in:
parent
e559ed072c
commit
b7a666ac66
@ -8,7 +8,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"test": "(npm run build)",
|
||||
"build": "(tsbuild custom ts_web --web && tsbundle element)",
|
||||
"build": "(tsbuild element --web --allowimplicitany --skiplibcheck && tsbundle element)",
|
||||
"watch": "tswatch element"
|
||||
},
|
||||
"author": "Lossless GmbH",
|
||||
|
@ -3,17 +3,16 @@ import { DeesElement, property, html, customElement, TemplateResult, queryAsync
|
||||
import * as plugins from '../wcctools.plugins.js';
|
||||
|
||||
// wcc tools
|
||||
import './wcc-frame';
|
||||
import './wcc-sidebar';
|
||||
import './wcc-properties';
|
||||
import { TTheme } from './wcc-properties';
|
||||
import { TElementType } from './wcc-sidebar';
|
||||
import './wcc-frame.js';
|
||||
import './wcc-sidebar.js';
|
||||
import './wcc-properties.js';
|
||||
import { TTheme } from './wcc-properties.js';
|
||||
import { TElementType } from './wcc-sidebar.js';
|
||||
import { breakpoints } from '@designestate/dees-domtools';
|
||||
import { WccFrame } from './wcc-frame';
|
||||
import { WccFrame } from './wcc-frame.js';
|
||||
|
||||
@customElement('wcc-dashboard')
|
||||
export class WccDashboard extends DeesElement {
|
||||
public domtools: plugins.deesDomtools.DomTools;
|
||||
|
||||
@property()
|
||||
public selectedType: TElementType;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { LitElement, property, html, customElement, TemplateResult, state } from 'lit-element';
|
||||
import { DeesElement, property, html, customElement, TemplateResult, state } from '@designestate/dees-element';
|
||||
import { WccDashboard } from './wcc-dashboard.js';
|
||||
|
||||
export type TPropertyType = 'String' | 'Number' | 'Boolean' | 'Object' | 'Enum' | 'Array';
|
||||
@ -13,12 +13,14 @@ export const setEnvironment = (envArg) => {
|
||||
};
|
||||
|
||||
@customElement('wcc-properties')
|
||||
export class WccProperties extends LitElement {
|
||||
@property()
|
||||
dashboardRef: WccDashboard;
|
||||
export class WccProperties extends DeesElement {
|
||||
@property({
|
||||
type: WccDashboard
|
||||
})
|
||||
public dashboardRef: WccDashboard;
|
||||
|
||||
@property()
|
||||
public selectedItem: (() => TemplateResult) | LitElement;
|
||||
public selectedItem: (() => TemplateResult) | DeesElement;
|
||||
|
||||
@property()
|
||||
public selectedViewport: TEnvironment = 'native';
|
||||
|
Loading…
Reference in New Issue
Block a user