@operato/property-editor 0.4.4 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/src/ox-properties-dynamic-view.d.ts +0 -4
- package/dist/src/ox-properties-dynamic-view.js +0 -122
- package/dist/src/ox-properties-dynamic-view.js.map +0 -1
- package/dist/src/ox-property-editor-angle.d.ts +0 -5
- package/dist/src/ox-property-editor-angle.js +0 -17
- package/dist/src/ox-property-editor-angle.js.map +0 -1
- package/dist/src/ox-property-editor-checkbox.d.ts +0 -6
- package/dist/src/ox-property-editor-checkbox.js +0 -18
- package/dist/src/ox-property-editor-checkbox.js.map +0 -1
- package/dist/src/ox-property-editor-color.d.ts +0 -5
- package/dist/src/ox-property-editor-color.js +0 -23
- package/dist/src/ox-property-editor-color.js.map +0 -1
- package/dist/src/ox-property-editor-crontab.d.ts +0 -5
- package/dist/src/ox-property-editor-crontab.js +0 -15
- package/dist/src/ox-property-editor-crontab.js.map +0 -1
- package/dist/src/ox-property-editor-data.d.ts +0 -5
- package/dist/src/ox-property-editor-data.js +0 -15
- package/dist/src/ox-property-editor-data.js.map +0 -1
- package/dist/src/ox-property-editor-date.d.ts +0 -4
- package/dist/src/ox-property-editor-date.js +0 -14
- package/dist/src/ox-property-editor-date.js.map +0 -1
- package/dist/src/ox-property-editor-file.d.ts +0 -5
- package/dist/src/ox-property-editor-file.js +0 -17
- package/dist/src/ox-property-editor-file.js.map +0 -1
- package/dist/src/ox-property-editor-gradient-colorstops.d.ts +0 -5
- package/dist/src/ox-property-editor-gradient-colorstops.js +0 -25
- package/dist/src/ox-property-editor-gradient-colorstops.js.map +0 -1
- package/dist/src/ox-property-editor-image.d.ts +0 -5
- package/dist/src/ox-property-editor-image.js +0 -16
- package/dist/src/ox-property-editor-image.js.map +0 -1
- package/dist/src/ox-property-editor-legend.d.ts +0 -4
- package/dist/src/ox-property-editor-legend.js +0 -14
- package/dist/src/ox-property-editor-legend.js.map +0 -1
- package/dist/src/ox-property-editor-multiple-colors.d.ts +0 -5
- package/dist/src/ox-property-editor-multiple-colors.js +0 -15
- package/dist/src/ox-property-editor-multiple-colors.js.map +0 -1
- package/dist/src/ox-property-editor-number.d.ts +0 -5
- package/dist/src/ox-property-editor-number.js +0 -28
- package/dist/src/ox-property-editor-number.js.map +0 -1
- package/dist/src/ox-property-editor-options.d.ts +0 -5
- package/dist/src/ox-property-editor-options.js +0 -15
- package/dist/src/ox-property-editor-options.js.map +0 -1
- package/dist/src/ox-property-editor-password.d.ts +0 -4
- package/dist/src/ox-property-editor-password.js +0 -14
- package/dist/src/ox-property-editor-password.js.map +0 -1
- package/dist/src/ox-property-editor-range.d.ts +0 -5
- package/dist/src/ox-property-editor-range.js +0 -18
- package/dist/src/ox-property-editor-range.js.map +0 -1
- package/dist/src/ox-property-editor-scene-component-id.d.ts +0 -5
- package/dist/src/ox-property-editor-scene-component-id.js +0 -21
- package/dist/src/ox-property-editor-scene-component-id.js.map +0 -1
- package/dist/src/ox-property-editor-select.d.ts +0 -16
- package/dist/src/ox-property-editor-select.js +0 -66
- package/dist/src/ox-property-editor-select.js.map +0 -1
- package/dist/src/ox-property-editor-solid-colorstops.d.ts +0 -5
- package/dist/src/ox-property-editor-solid-colorstops.js +0 -25
- package/dist/src/ox-property-editor-solid-colorstops.js.map +0 -1
- package/dist/src/ox-property-editor-string.d.ts +0 -4
- package/dist/src/ox-property-editor-string.js +0 -14
- package/dist/src/ox-property-editor-string.js.map +0 -1
- package/dist/src/ox-property-editor-table.d.ts +0 -5
- package/dist/src/ox-property-editor-table.js +0 -15
- package/dist/src/ox-property-editor-table.js.map +0 -1
- package/dist/src/ox-property-editor-textarea.d.ts +0 -5
- package/dist/src/ox-property-editor-textarea.js +0 -26
- package/dist/src/ox-property-editor-textarea.js.map +0 -1
- package/dist/src/ox-property-editor-value-map.d.ts +0 -5
- package/dist/src/ox-property-editor-value-map.js +0 -20
- package/dist/src/ox-property-editor-value-map.js.map +0 -1
- package/dist/src/ox-property-editor-value-ranges.d.ts +0 -5
- package/dist/src/ox-property-editor-value-ranges.js +0 -20
- package/dist/src/ox-property-editor-value-ranges.js.map +0 -1
- package/dist/src/ox-property-editor-work-shift.d.ts +0 -5
- package/dist/src/ox-property-editor-work-shift.js +0 -16
- package/dist/src/ox-property-editor-work-shift.js.map +0 -1
- package/dist/src/types.d.ts +0 -8
- package/dist/src/types.js +0 -2
- package/dist/src/types.js.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-image.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorImage = class OxPropertyEditorImage extends OxPropertyEditor {
|
|
7
|
-
// TODO image change event 처리
|
|
8
|
-
editorTemplate() {
|
|
9
|
-
return html ` <ox-input-image id="editor" .value=${this.value}></ox-input-image> `;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
OxPropertyEditorImage = __decorate([
|
|
13
|
-
customElement('ox-property-editor-image')
|
|
14
|
-
], OxPropertyEditorImage);
|
|
15
|
-
export { OxPropertyEditorImage };
|
|
16
|
-
//# sourceMappingURL=ox-property-editor-image.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-image.js","sourceRoot":"","sources":["../../src/ox-property-editor-image.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,gBAAgB;IACzD,6BAA6B;IAC7B,cAAc;QACZ,OAAO,IAAI,CAAA,uCAAuC,IAAI,CAAC,KAAK,qBAAqB,CAAA;IACnF,CAAC;CACF,CAAA;AALY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAKjC;SALY,qBAAqB","sourcesContent":["import '@operato/input/ox-input-image.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-image')\nexport class OxPropertyEditorImage extends OxPropertyEditor {\n // TODO image change event 처리\n editorTemplate() {\n return html` <ox-input-image id=\"editor\" .value=${this.value}></ox-input-image> `\n }\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
3
|
-
import { customElement } from 'lit/decorators.js';
|
|
4
|
-
import { html } from 'lit';
|
|
5
|
-
let OxPropertyEditorLegend = class OxPropertyEditorLegend extends OxPropertyEditor {
|
|
6
|
-
editorTemplate() {
|
|
7
|
-
return html ` <legend>${this.property.label}</legend> `;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
OxPropertyEditorLegend = __decorate([
|
|
11
|
-
customElement('ox-property-editor-legend')
|
|
12
|
-
], OxPropertyEditorLegend);
|
|
13
|
-
export { OxPropertyEditorLegend };
|
|
14
|
-
//# sourceMappingURL=ox-property-editor-legend.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-legend.js","sourceRoot":"","sources":["../../src/ox-property-editor-legend.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,cAAc;QACZ,OAAO,IAAI,CAAA,YAAY,IAAI,CAAC,QAAQ,CAAC,KAAK,YAAY,CAAA;IACxD,CAAC;CACF,CAAA;AAJY,sBAAsB;IADlC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,sBAAsB,CAIlC;SAJY,sBAAsB","sourcesContent":["import { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-legend')\nexport class OxPropertyEditorLegend extends OxPropertyEditor {\n editorTemplate() {\n return html` <legend>${this.property.label}</legend> `\n }\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-multiple-colors.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorMultipleColors = class OxPropertyEditorMultipleColors extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
return html ` <ox-input-multiple-colors id="editor" .value=${this.value}> </ox-input-multiple-colors> `;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
OxPropertyEditorMultipleColors = __decorate([
|
|
12
|
-
customElement('ox-property-editor-multiple-colors')
|
|
13
|
-
], OxPropertyEditorMultipleColors);
|
|
14
|
-
export { OxPropertyEditorMultipleColors };
|
|
15
|
-
//# sourceMappingURL=ox-property-editor-multiple-colors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-multiple-colors.js","sourceRoot":"","sources":["../../src/ox-property-editor-multiple-colors.ts"],"names":[],"mappings":";AAAA,OAAO,4CAA4C,CAAA;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,8BAA8B,GAA3C,MAAa,8BAA+B,SAAQ,gBAAgB;IAClE,cAAc;QACZ,OAAO,IAAI,CAAA,iDAAiD,IAAI,CAAC,KAAK,gCAAgC,CAAA;IACxG,CAAC;CACF,CAAA;AAJY,8BAA8B;IAD1C,aAAa,CAAC,oCAAoC,CAAC;GACvC,8BAA8B,CAI1C;SAJY,8BAA8B","sourcesContent":["import '@operato/input/ox-input-multiple-colors.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-multiple-colors')\nexport class OxPropertyEditorMultipleColors extends OxPropertyEditor {\n editorTemplate() {\n return html` <ox-input-multiple-colors id=\"editor\" .value=${this.value}> </ox-input-multiple-colors> `\n }\n}\n"]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
3
|
-
import { customElement } from 'lit/decorators.js';
|
|
4
|
-
import { html } from 'lit';
|
|
5
|
-
let OxPropertyEditorNumber = class OxPropertyEditorNumber extends OxPropertyEditor {
|
|
6
|
-
makeup(v) {
|
|
7
|
-
return Number(v);
|
|
8
|
-
}
|
|
9
|
-
editorTemplate() {
|
|
10
|
-
const { step, min, max } = this.property || {};
|
|
11
|
-
return html `
|
|
12
|
-
<input
|
|
13
|
-
id="editor"
|
|
14
|
-
type="number"
|
|
15
|
-
placeholder=${this.placeholder || ''}
|
|
16
|
-
.value=${this.value}
|
|
17
|
-
.step=${step}
|
|
18
|
-
.min=${min}
|
|
19
|
-
.max=${max}
|
|
20
|
-
/>
|
|
21
|
-
`;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
OxPropertyEditorNumber = __decorate([
|
|
25
|
-
customElement('ox-property-editor-number')
|
|
26
|
-
], OxPropertyEditorNumber);
|
|
27
|
-
export { OxPropertyEditorNumber };
|
|
28
|
-
//# sourceMappingURL=ox-property-editor-number.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-number.js","sourceRoot":"","sources":["../../src/ox-property-editor-number.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IACjD,MAAM,CAAC,CAAS;QACvB,OAAO,MAAM,CAAC,CAAC,CAAC,CAAA;IAClB,CAAC;IAED,cAAc;QACZ,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;;;;sBAIO,IAAI,CAAC,WAAW,IAAI,EAAE;iBAC3B,IAAI,CAAC,KAAK;gBACX,IAAI;eACL,GAAG;eACH,GAAG;;KAEb,CAAA;IACH,CAAC;CACF,CAAA;AApBY,sBAAsB;IADlC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,sBAAsB,CAoBlC;SApBY,sBAAsB","sourcesContent":["import { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-number')\nexport class OxPropertyEditorNumber extends OxPropertyEditor {\n override makeup(v: string) {\n return Number(v)\n }\n\n editorTemplate() {\n const { step, min, max } = this.property || {}\n\n return html`\n <input\n id=\"editor\"\n type=\"number\"\n placeholder=${this.placeholder || ''}\n .value=${this.value}\n .step=${step}\n .min=${min}\n .max=${max}\n />\n `\n }\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-options.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorOptions = class OxPropertyEditorOptions extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
return html ` <ox-input-options id="editor" .value=${this.value || []}></ox-input-options> `;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
OxPropertyEditorOptions = __decorate([
|
|
12
|
-
customElement('ox-property-editor-options')
|
|
13
|
-
], OxPropertyEditorOptions);
|
|
14
|
-
export { OxPropertyEditorOptions };
|
|
15
|
-
//# sourceMappingURL=ox-property-editor-options.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-options.js","sourceRoot":"","sources":["../../src/ox-property-editor-options.ts"],"names":[],"mappings":";AAAA,OAAO,oCAAoC,CAAA;AAE3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,gBAAgB;IAC3D,cAAc;QACZ,OAAO,IAAI,CAAA,yCAAyC,IAAI,CAAC,KAAK,IAAI,EAAE,uBAAuB,CAAA;IAC7F,CAAC;CACF,CAAA;AAJY,uBAAuB;IADnC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,uBAAuB,CAInC;SAJY,uBAAuB","sourcesContent":["import '@operato/input/ox-input-options.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-options')\nexport class OxPropertyEditorOptions extends OxPropertyEditor {\n editorTemplate() {\n return html` <ox-input-options id=\"editor\" .value=${this.value || []}></ox-input-options> `\n }\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
3
|
-
import { customElement } from 'lit/decorators.js';
|
|
4
|
-
import { html } from 'lit';
|
|
5
|
-
let OxPropertyEditorPassword = class OxPropertyEditorPassword extends OxPropertyEditor {
|
|
6
|
-
editorTemplate() {
|
|
7
|
-
return html ` <input type="password" id="editor" .value=${this.value} placeholder=${this.placeholder || ''} /> `;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
OxPropertyEditorPassword = __decorate([
|
|
11
|
-
customElement('ox-property-editor-password')
|
|
12
|
-
], OxPropertyEditorPassword);
|
|
13
|
-
export { OxPropertyEditorPassword };
|
|
14
|
-
//# sourceMappingURL=ox-property-editor-password.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-password.js","sourceRoot":"","sources":["../../src/ox-property-editor-password.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc;QACZ,OAAO,IAAI,CAAA,8CAA8C,IAAI,CAAC,KAAK,gBAAgB,IAAI,CAAC,WAAW,IAAI,EAAE,MAAM,CAAA;IACjH,CAAC;CACF,CAAA;AAJY,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CAIpC;SAJY,wBAAwB","sourcesContent":["import { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-password')\nexport class OxPropertyEditorPassword extends OxPropertyEditor {\n editorTemplate() {\n return html` <input type=\"password\" id=\"editor\" .value=${this.value} placeholder=${this.placeholder || ''} /> `\n }\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-range.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorRange = class OxPropertyEditorRange extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
const { step, min, max } = this.property || {};
|
|
9
|
-
return html `
|
|
10
|
-
<ox-input-range id="editor" .value=${this.value} .step=${step} .min=${min} .max=${max}></ox-input-range>
|
|
11
|
-
`;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
OxPropertyEditorRange = __decorate([
|
|
15
|
-
customElement('ox-property-editor-range')
|
|
16
|
-
], OxPropertyEditorRange);
|
|
17
|
-
export { OxPropertyEditorRange };
|
|
18
|
-
//# sourceMappingURL=ox-property-editor-range.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-range.js","sourceRoot":"","sources":["../../src/ox-property-editor-range.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc;QACZ,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;2CAC4B,IAAI,CAAC,KAAK,UAAU,IAAI,SAAS,GAAG,SAAS,GAAG;KACtF,CAAA;IACH,CAAC;CACF,CAAA;AARY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAQjC;SARY,qBAAqB","sourcesContent":["import '@operato/input/ox-input-range.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-range')\nexport class OxPropertyEditorRange extends OxPropertyEditor {\n editorTemplate() {\n const { step, min, max } = this.property || {}\n\n return html`\n <ox-input-range id=\"editor\" .value=${this.value} .step=${step} .min=${min} .max=${max}></ox-input-range>\n `\n }\n}\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-scene-component-id.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorSceneComponentId = class OxPropertyEditorSceneComponentId extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
return html `
|
|
9
|
-
<ox-input-scene-component-id
|
|
10
|
-
id="editor"
|
|
11
|
-
.value=${this.value}
|
|
12
|
-
.property=${this.property}
|
|
13
|
-
></ox-input-scene-component-id>
|
|
14
|
-
`;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
OxPropertyEditorSceneComponentId = __decorate([
|
|
18
|
-
customElement('ox-property-editor-scene-component-id')
|
|
19
|
-
], OxPropertyEditorSceneComponentId);
|
|
20
|
-
export { OxPropertyEditorSceneComponentId };
|
|
21
|
-
//# sourceMappingURL=ox-property-editor-scene-component-id.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-scene-component-id.js","sourceRoot":"","sources":["../../src/ox-property-editor-scene-component-id.ts"],"names":[],"mappings":";AAAA,OAAO,+CAA+C,CAAA;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,gCAAgC,GAA7C,MAAa,gCAAiC,SAAQ,gBAAgB;IACpE,cAAc;QACZ,OAAO,IAAI,CAAA;;;iBAGE,IAAI,CAAC,KAAK;oBACP,IAAI,CAAC,QAAQ;;KAE5B,CAAA;IACH,CAAC;CACF,CAAA;AAVY,gCAAgC;IAD5C,aAAa,CAAC,uCAAuC,CAAC;GAC1C,gCAAgC,CAU5C;SAVY,gCAAgC","sourcesContent":["import '@operato/input/ox-input-scene-component-id.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-scene-component-id')\nexport class OxPropertyEditorSceneComponentId extends OxPropertyEditor {\n editorTemplate() {\n return html`\n <ox-input-scene-component-id\n id=\"editor\"\n .value=${this.value}\n .property=${this.property}\n ></ox-input-scene-component-id>\n `\n }\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import '@operato/input/ox-select.js';
|
|
2
|
-
import '@operato/popup/ox-popup-list.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
declare type Option = {
|
|
5
|
-
display: string;
|
|
6
|
-
value: any;
|
|
7
|
-
} | string;
|
|
8
|
-
export declare class OxPropertyEditorSelect extends OxPropertyEditor {
|
|
9
|
-
static styles: import("lit").CSSResult[];
|
|
10
|
-
connectedCallback(): Promise<void>;
|
|
11
|
-
editorTemplate(): import("lit-html").TemplateResult<1>;
|
|
12
|
-
_getOptionValue(item: Option): any;
|
|
13
|
-
_getOptionDisplay(item: Option): string;
|
|
14
|
-
_isSelected(value: any, item: Option): boolean;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-select.js';
|
|
3
|
-
import '@operato/popup/ox-popup-list.js';
|
|
4
|
-
import { css, html } from 'lit';
|
|
5
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
import { customElement } from 'lit/decorators.js';
|
|
7
|
-
let OxPropertyEditorSelect = class OxPropertyEditorSelect extends OxPropertyEditor {
|
|
8
|
-
async connectedCallback() {
|
|
9
|
-
var _a;
|
|
10
|
-
super.connectedCallback();
|
|
11
|
-
var options = (_a = this.property) === null || _a === void 0 ? void 0 : _a.options;
|
|
12
|
-
if (typeof options === 'function') {
|
|
13
|
-
this.property = {
|
|
14
|
-
...this.property,
|
|
15
|
-
options: await options.apply(this)
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
editorTemplate() {
|
|
20
|
-
var _a;
|
|
21
|
-
var options = (_a = this.property) === null || _a === void 0 ? void 0 : _a.options;
|
|
22
|
-
if (!(options instanceof Array)) {
|
|
23
|
-
options = [];
|
|
24
|
-
}
|
|
25
|
-
return html `
|
|
26
|
-
<ox-select id="editor" .value=${this.value} placeholder=${this.placeholder}>
|
|
27
|
-
<ox-popup-list with-search>
|
|
28
|
-
${options.map(item => html `
|
|
29
|
-
<div option value=${this._getOptionValue(item)} ?selected=${this._isSelected(this.value, item)}>
|
|
30
|
-
${this._getOptionDisplay(item) || html ` `}
|
|
31
|
-
</div>
|
|
32
|
-
`)}
|
|
33
|
-
</ox-popup-list>
|
|
34
|
-
</ox-select>
|
|
35
|
-
`;
|
|
36
|
-
}
|
|
37
|
-
_getOptionValue(item) {
|
|
38
|
-
if (typeof item == 'string')
|
|
39
|
-
return item;
|
|
40
|
-
return item.value;
|
|
41
|
-
}
|
|
42
|
-
_getOptionDisplay(item) {
|
|
43
|
-
if (typeof item == 'string')
|
|
44
|
-
return item;
|
|
45
|
-
return item.display;
|
|
46
|
-
}
|
|
47
|
-
_isSelected(value, item) {
|
|
48
|
-
return value === this._getOptionValue(item);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
OxPropertyEditorSelect.styles = [
|
|
52
|
-
...OxPropertyEditor.styles,
|
|
53
|
-
css `
|
|
54
|
-
ox-select {
|
|
55
|
-
background-color: var(--theme-white-color);
|
|
56
|
-
padding: 1px 2px;
|
|
57
|
-
color: var(--theme-black-color);
|
|
58
|
-
font-size: 13.5px;
|
|
59
|
-
}
|
|
60
|
-
`
|
|
61
|
-
];
|
|
62
|
-
OxPropertyEditorSelect = __decorate([
|
|
63
|
-
customElement('ox-property-editor-select')
|
|
64
|
-
], OxPropertyEditorSelect);
|
|
65
|
-
export { OxPropertyEditorSelect };
|
|
66
|
-
//# sourceMappingURL=ox-property-editor-select.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-select.js","sourceRoot":"","sources":["../../src/ox-property-editor-select.ts"],"names":[],"mappings":";AAAA,OAAO,6BAA6B,CAAA;AACpC,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAKjD,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IAa1D,KAAK,CAAC,iBAAiB;;QACrB,KAAK,CAAC,iBAAiB,EAAE,CAAA;QAEzB,IAAI,OAAO,GAAG,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,CAAA;QACpC,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE;YACjC,IAAI,CAAC,QAAQ,GAAG;gBACd,GAAG,IAAI,CAAC,QAAQ;gBAChB,OAAO,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;aACnC,CAAA;SACF;IACH,CAAC;IAED,cAAc;;QACZ,IAAI,OAAO,GAAG,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAmB,CAAA;QAChD,IAAI,CAAC,CAAC,OAAO,YAAY,KAAK,CAAC,EAAE;YAC/B,OAAO,GAAG,EAAE,CAAA;SACb;QAED,OAAO,IAAI,CAAA;sCACuB,IAAI,CAAC,KAAK,gBAAgB,IAAI,CAAC,WAAW;;YAEpE,OAAO,CAAC,GAAG,CACX,IAAI,CAAC,EAAE,CAAC,IAAI,CAAA;kCACU,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC;kBAC1F,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA,QAAQ;;aAEjD,CACF;;;KAGN,CAAA;IACH,CAAC;IAED,eAAe,CAAC,IAAY;QAC1B,IAAI,OAAO,IAAI,IAAI,QAAQ;YAAE,OAAO,IAAI,CAAA;QAExC,OAAO,IAAI,CAAC,KAAK,CAAA;IACnB,CAAC;IAED,iBAAiB,CAAC,IAAY;QAC5B,IAAI,OAAO,IAAI,IAAI,QAAQ;YAAE,OAAO,IAAI,CAAA;QAExC,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;IAED,WAAW,CAAC,KAAU,EAAE,IAAY;QAClC,OAAO,KAAK,KAAK,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAA;IAC7C,CAAC;CACF,CAAA;AA5DQ,6BAAM,GAAG;IACd,GAAG,gBAAgB,CAAC,MAAM;IAC1B,GAAG,CAAA;;;;;;;KAOF;CACF,CAAA;AAXU,sBAAsB;IADlC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,sBAAsB,CA6DlC;SA7DY,sBAAsB","sourcesContent":["import '@operato/input/ox-select.js'\nimport '@operato/popup/ox-popup-list.js'\n\nimport { css, html } from 'lit'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\n\ntype Option = { display: string; value: any } | string\n\n@customElement('ox-property-editor-select')\nexport class OxPropertyEditorSelect extends OxPropertyEditor {\n static styles = [\n ...OxPropertyEditor.styles,\n css`\n ox-select {\n background-color: var(--theme-white-color);\n padding: 1px 2px;\n color: var(--theme-black-color);\n font-size: 13.5px;\n }\n `\n ]\n\n async connectedCallback() {\n super.connectedCallback()\n\n var options = this.property?.options\n if (typeof options === 'function') {\n this.property = {\n ...this.property,\n options: await options.apply(this)\n }\n }\n }\n\n editorTemplate() {\n var options = this.property?.options as Option[]\n if (!(options instanceof Array)) {\n options = []\n }\n\n return html`\n <ox-select id=\"editor\" .value=${this.value} placeholder=${this.placeholder}>\n <ox-popup-list with-search>\n ${options.map(\n item => html`\n <div option value=${this._getOptionValue(item)} ?selected=${this._isSelected(this.value, item)}>\n ${this._getOptionDisplay(item) || html` `}\n </div>\n `\n )}\n </ox-popup-list>\n </ox-select>\n `\n }\n\n _getOptionValue(item: Option) {\n if (typeof item == 'string') return item\n\n return item.value\n }\n\n _getOptionDisplay(item: Option) {\n if (typeof item == 'string') return item\n\n return item.display\n }\n\n _isSelected(value: any, item: Option) {\n return value === this._getOptionValue(item)\n }\n}\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-color-stops.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorSolidColorStops = class OxPropertyEditorSolidColorStops extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
return html `
|
|
9
|
-
<ox-input-color-stops
|
|
10
|
-
id="editor"
|
|
11
|
-
type="solid"
|
|
12
|
-
.value=${this.value}
|
|
13
|
-
.min=${this.property && this.property.min}
|
|
14
|
-
.max=${this.property && this.property.max}
|
|
15
|
-
fullwidth
|
|
16
|
-
>
|
|
17
|
-
</ox-input-color-stops>
|
|
18
|
-
`;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
OxPropertyEditorSolidColorStops = __decorate([
|
|
22
|
-
customElement('ox-property-editor-solid-colorstops')
|
|
23
|
-
], OxPropertyEditorSolidColorStops);
|
|
24
|
-
export { OxPropertyEditorSolidColorStops };
|
|
25
|
-
//# sourceMappingURL=ox-property-editor-solid-colorstops.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-solid-colorstops.js","sourceRoot":"","sources":["../../src/ox-property-editor-solid-colorstops.ts"],"names":[],"mappings":";AAAA,OAAO,wCAAwC,CAAA;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,+BAA+B,GAA5C,MAAa,+BAAgC,SAAQ,gBAAgB;IACnE,cAAc;QACZ,OAAO,IAAI,CAAA;;;;iBAIE,IAAI,CAAC,KAAK;eACZ,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG;eAClC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG;;;;KAI5C,CAAA;IACH,CAAC;CACF,CAAA;AAdY,+BAA+B;IAD3C,aAAa,CAAC,qCAAqC,CAAC;GACxC,+BAA+B,CAc3C;SAdY,+BAA+B","sourcesContent":["import '@operato/input/ox-input-color-stops.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-solid-colorstops')\nexport class OxPropertyEditorSolidColorStops extends OxPropertyEditor {\n editorTemplate() {\n return html`\n <ox-input-color-stops\n id=\"editor\"\n type=\"solid\"\n .value=${this.value}\n .min=${this.property && this.property.min}\n .max=${this.property && this.property.max}\n fullwidth\n >\n </ox-input-color-stops>\n `\n }\n}\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
3
|
-
import { customElement } from 'lit/decorators.js';
|
|
4
|
-
import { html } from 'lit';
|
|
5
|
-
let OxPropertyEditorString = class OxPropertyEditorString extends OxPropertyEditor {
|
|
6
|
-
editorTemplate() {
|
|
7
|
-
return html ` <input type="text" id="editor" .value=${this.value || ''} placeholder=${this.placeholder || ''} /> `;
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
OxPropertyEditorString = __decorate([
|
|
11
|
-
customElement('ox-property-editor-string')
|
|
12
|
-
], OxPropertyEditorString);
|
|
13
|
-
export { OxPropertyEditorString };
|
|
14
|
-
//# sourceMappingURL=ox-property-editor-string.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-string.js","sourceRoot":"","sources":["../../src/ox-property-editor-string.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,cAAc;QACZ,OAAO,IAAI,CAAA,0CAA0C,IAAI,CAAC,KAAK,IAAI,EAAE,gBAAgB,IAAI,CAAC,WAAW,IAAI,EAAE,MAAM,CAAA;IACnH,CAAC;CACF,CAAA;AAJY,sBAAsB;IADlC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,sBAAsB,CAIlC;SAJY,sBAAsB","sourcesContent":["import { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-string')\nexport class OxPropertyEditorString extends OxPropertyEditor {\n editorTemplate() {\n return html` <input type=\"text\" id=\"editor\" .value=${this.value || ''} placeholder=${this.placeholder || ''} /> `\n }\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-table.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorString = class OxPropertyEditorString extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
return html ` <ox-input-table id="editor" .property=${this.property} fullwidth></ox-input-table> `;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
OxPropertyEditorString = __decorate([
|
|
12
|
-
customElement('ox-property-editor-table')
|
|
13
|
-
], OxPropertyEditorString);
|
|
14
|
-
export { OxPropertyEditorString };
|
|
15
|
-
//# sourceMappingURL=ox-property-editor-table.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-table.js","sourceRoot":"","sources":["../../src/ox-property-editor-table.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,gBAAgB;IAC1D,cAAc;QACZ,OAAO,IAAI,CAAA,0CAA0C,IAAI,CAAC,QAAQ,+BAA+B,CAAA;IACnG,CAAC;CACF,CAAA;AAJY,sBAAsB;IADlC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,sBAAsB,CAIlC;SAJY,sBAAsB","sourcesContent":["import '@operato/input/ox-input-table.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-table')\nexport class OxPropertyEditorString extends OxPropertyEditor {\n editorTemplate() {\n return html` <ox-input-table id=\"editor\" .property=${this.property} fullwidth></ox-input-table> `\n }\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-code.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorTextArea = class OxPropertyEditorTextArea extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
var _a, _b, _c;
|
|
9
|
-
return html `
|
|
10
|
-
<ox-input-code
|
|
11
|
-
id="editor"
|
|
12
|
-
.value=${this.value}
|
|
13
|
-
mode=${((_a = this.property) === null || _a === void 0 ? void 0 : _a.mode) || ''}
|
|
14
|
-
tab-size=${((_b = this.property) === null || _b === void 0 ? void 0 : _b.tabSize) || ''}
|
|
15
|
-
tab-as-space=${((_c = this.property) === null || _c === void 0 ? void 0 : _c.tabAsSpace) || 'false'}
|
|
16
|
-
fullwidth
|
|
17
|
-
>
|
|
18
|
-
</ox-input-code>
|
|
19
|
-
`;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
OxPropertyEditorTextArea = __decorate([
|
|
23
|
-
customElement('ox-property-editor-textarea')
|
|
24
|
-
], OxPropertyEditorTextArea);
|
|
25
|
-
export { OxPropertyEditorTextArea };
|
|
26
|
-
//# sourceMappingURL=ox-property-editor-textarea.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-textarea.js","sourceRoot":"","sources":["../../src/ox-property-editor-textarea.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc;;QACZ,OAAO,IAAI,CAAA;;;iBAGE,IAAI,CAAC,KAAK;eACZ,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,IAAI,KAAI,EAAE;mBACrB,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,OAAO,KAAI,EAAE;uBACxB,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,UAAU,KAAI,OAAO;;;;KAItD,CAAA;IACH,CAAC;CACF,CAAA;AAdY,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CAcpC;SAdY,wBAAwB","sourcesContent":["import '@operato/input/ox-input-code.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-textarea')\nexport class OxPropertyEditorTextArea extends OxPropertyEditor {\n editorTemplate() {\n return html`\n <ox-input-code\n id=\"editor\"\n .value=${this.value}\n mode=${this.property?.mode || ''}\n tab-size=${this.property?.tabSize || ''}\n tab-as-space=${this.property?.tabAsSpace || 'false'}\n fullwidth\n >\n </ox-input-code>\n `\n }\n}\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-value-map.js';
|
|
3
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { html } from 'lit';
|
|
6
|
-
let OxPropertyEditorValueMap = class OxPropertyEditorValueMap extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
const { value, property } = this;
|
|
9
|
-
const valuetype = (property === null || property === void 0 ? void 0 : property.valuetype) || 'string';
|
|
10
|
-
/* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
|
|
11
|
-
return html `
|
|
12
|
-
<ox-input-value-map id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-map>
|
|
13
|
-
`;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
OxPropertyEditorValueMap = __decorate([
|
|
17
|
-
customElement('ox-property-editor-value-map')
|
|
18
|
-
], OxPropertyEditorValueMap);
|
|
19
|
-
export { OxPropertyEditorValueMap };
|
|
20
|
-
//# sourceMappingURL=ox-property-editor-value-map.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-value-map.js","sourceRoot":"","sources":["../../src/ox-property-editor-value-map.ts"],"names":[],"mappings":";AAAA,OAAO,sCAAsC,CAAA;AAE7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAChC,MAAM,SAAS,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,SAAS,KAAI,QAAQ,CAAA;QACjD,qDAAqD;QAErD,OAAO,IAAI,CAAA;mDACoC,SAAS,WAAW,KAAK;KACvE,CAAA;IACH,CAAC;CACF,CAAA;AAVY,wBAAwB;IADpC,aAAa,CAAC,8BAA8B,CAAC;GACjC,wBAAwB,CAUpC;SAVY,wBAAwB","sourcesContent":["import '@operato/input/ox-input-value-map.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('ox-property-editor-value-map')\nexport class OxPropertyEditorValueMap extends OxPropertyEditor {\n editorTemplate() {\n const { value, property } = this\n const valuetype = property?.valuetype || 'string'\n /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */\n\n return html`\n <ox-input-value-map id=\"editor\" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-map>\n `\n }\n}\n"]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-value-ranges.js';
|
|
3
|
-
import { html } from 'lit';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorValueRanges = class OxPropertyEditorValueRanges extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
const { value, property } = this;
|
|
9
|
-
const valuetype = (property === null || property === void 0 ? void 0 : property.valuetype) || 'string';
|
|
10
|
-
/* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */
|
|
11
|
-
return html `
|
|
12
|
-
<ox-input-value-ranges id="editor" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-ranges>
|
|
13
|
-
`;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
OxPropertyEditorValueRanges = __decorate([
|
|
17
|
-
customElement('ox-property-editor-value-ranges')
|
|
18
|
-
], OxPropertyEditorValueRanges);
|
|
19
|
-
export { OxPropertyEditorValueRanges };
|
|
20
|
-
//# sourceMappingURL=ox-property-editor-value-ranges.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-value-ranges.js","sourceRoot":"","sources":["../../src/ox-property-editor-value-ranges.ts"],"names":[],"mappings":";AAAA,OAAO,yCAAyC,CAAA;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,gBAAgB;IAC/D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAChC,MAAM,SAAS,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,SAAS,KAAI,QAAQ,CAAA;QACjD,qDAAqD;QAErD,OAAO,IAAI,CAAA;sDACuC,SAAS,WAAW,KAAK;KAC1E,CAAA;IACH,CAAC;CACF,CAAA;AAVY,2BAA2B;IADvC,aAAa,CAAC,iCAAiC,CAAC;GACpC,2BAA2B,CAUvC;SAVY,2BAA2B","sourcesContent":["import '@operato/input/ox-input-value-ranges.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\n\n@customElement('ox-property-editor-value-ranges')\nexport class OxPropertyEditorValueRanges extends OxPropertyEditor {\n editorTemplate() {\n const { value, property } = this\n const valuetype = property?.valuetype || 'string'\n /* IMPLEMENT-ME valuetype 에 editor를 전달할 수 있는 기능 개발 */\n\n return html`\n <ox-input-value-ranges id=\"editor\" .valuetype=${valuetype} .value=${value} fullwidth></ox-input-value-ranges>\n `\n }\n}\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import '@operato/input/ox-input-work-shift.js';
|
|
3
|
-
import { html } from 'lit';
|
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
|
5
|
-
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorValueRanges = class OxPropertyEditorValueRanges extends OxPropertyEditor {
|
|
7
|
-
editorTemplate() {
|
|
8
|
-
const { value } = this;
|
|
9
|
-
return html ` <ox-input-work-shift id="editor" .value=${value} fullwidth></ox-input-work-shift> `;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
OxPropertyEditorValueRanges = __decorate([
|
|
13
|
-
customElement('ox-property-editor-work-shift')
|
|
14
|
-
], OxPropertyEditorValueRanges);
|
|
15
|
-
export { OxPropertyEditorValueRanges };
|
|
16
|
-
//# sourceMappingURL=ox-property-editor-work-shift.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-work-shift.js","sourceRoot":"","sources":["../../src/ox-property-editor-work-shift.ts"],"names":[],"mappings":";AAAA,OAAO,uCAAuC,CAAA;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAG1D,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,gBAAgB;IAC/D,cAAc;QACZ,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAA;QAEtB,OAAO,IAAI,CAAA,4CAA4C,KAAK,oCAAoC,CAAA;IAClG,CAAC;CACF,CAAA;AANY,2BAA2B;IADvC,aAAa,CAAC,+BAA+B,CAAC;GAClC,2BAA2B,CAMvC;SANY,2BAA2B","sourcesContent":["import '@operato/input/ox-input-work-shift.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\n\n@customElement('ox-property-editor-work-shift')\nexport class OxPropertyEditorValueRanges extends OxPropertyEditor {\n editorTemplate() {\n const { value } = this\n\n return html` <ox-input-work-shift id=\"editor\" .value=${value} fullwidth></ox-input-work-shift> `\n }\n}\n"]}
|
package/dist/src/types.d.ts
DELETED
package/dist/src/types.js
DELETED
package/dist/src/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type PropertySpec = {\n type: string\n label: string\n name: string\n placeholder?: string\n property?: any\n observe?: (value: any) => void\n}\n"]}
|