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