@operato/property-editor 1.3.7 → 1.3.11
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 +8 -0
- package/dist/src/ox-property-editor-3axis.js +1 -2
- package/dist/src/ox-property-editor-3axis.js.map +1 -1
- package/dist/src/ox-property-editor-3dish.js +1 -2
- package/dist/src/ox-property-editor-3dish.js.map +1 -1
- package/dist/src/ox-property-editor-action.js.map +1 -1
- package/dist/src/ox-property-editor-angle.js +1 -2
- package/dist/src/ox-property-editor-angle.js.map +1 -1
- package/dist/src/ox-property-editor-checkbox.js +1 -2
- package/dist/src/ox-property-editor-checkbox.js.map +1 -1
- package/dist/src/ox-property-editor-color.js +1 -2
- package/dist/src/ox-property-editor-color.js.map +1 -1
- package/dist/src/ox-property-editor-crontab.js +1 -2
- package/dist/src/ox-property-editor-crontab.js.map +1 -1
- package/dist/src/ox-property-editor-data.js +1 -2
- package/dist/src/ox-property-editor-data.js.map +1 -1
- package/dist/src/ox-property-editor-date.js +1 -2
- package/dist/src/ox-property-editor-date.js.map +1 -1
- package/dist/src/ox-property-editor-duration.js +1 -2
- package/dist/src/ox-property-editor-duration.js.map +1 -1
- package/dist/src/ox-property-editor-file.js +1 -2
- package/dist/src/ox-property-editor-file.js.map +1 -1
- package/dist/src/ox-property-editor-gradient-colorstops.js +1 -2
- package/dist/src/ox-property-editor-gradient-colorstops.js.map +1 -1
- package/dist/src/ox-property-editor-hashtags.js +1 -2
- package/dist/src/ox-property-editor-hashtags.js.map +1 -1
- package/dist/src/ox-property-editor-image.js +1 -2
- package/dist/src/ox-property-editor-image.js.map +1 -1
- package/dist/src/ox-property-editor-key-values.js +1 -2
- package/dist/src/ox-property-editor-key-values.js.map +1 -1
- package/dist/src/ox-property-editor-legend.js +1 -2
- package/dist/src/ox-property-editor-legend.js.map +1 -1
- package/dist/src/ox-property-editor-mass-fraction.js +1 -2
- package/dist/src/ox-property-editor-mass-fraction.js.map +1 -1
- package/dist/src/ox-property-editor-month.js +1 -2
- package/dist/src/ox-property-editor-month.js.map +1 -1
- package/dist/src/ox-property-editor-multiple-colors.js +1 -2
- package/dist/src/ox-property-editor-multiple-colors.js.map +1 -1
- package/dist/src/ox-property-editor-number.js +1 -2
- package/dist/src/ox-property-editor-number.js.map +1 -1
- package/dist/src/ox-property-editor-options.js +1 -2
- package/dist/src/ox-property-editor-options.js.map +1 -1
- package/dist/src/ox-property-editor-partition-keys.js +1 -2
- package/dist/src/ox-property-editor-partition-keys.js.map +1 -1
- package/dist/src/ox-property-editor-password.js +1 -2
- package/dist/src/ox-property-editor-password.js.map +1 -1
- package/dist/src/ox-property-editor-range.js +1 -2
- package/dist/src/ox-property-editor-range.js.map +1 -1
- package/dist/src/ox-property-editor-scene-component-id.js +1 -2
- package/dist/src/ox-property-editor-scene-component-id.js.map +1 -1
- package/dist/src/ox-property-editor-select.js +1 -2
- package/dist/src/ox-property-editor-select.js.map +1 -1
- package/dist/src/ox-property-editor-solid-colorstops.js +1 -2
- package/dist/src/ox-property-editor-solid-colorstops.js.map +1 -1
- package/dist/src/ox-property-editor-string.js +1 -2
- package/dist/src/ox-property-editor-string.js.map +1 -1
- package/dist/src/ox-property-editor-table.js +1 -2
- package/dist/src/ox-property-editor-table.js.map +1 -1
- package/dist/src/ox-property-editor-textarea.js +1 -2
- package/dist/src/ox-property-editor-textarea.js.map +1 -1
- package/dist/src/ox-property-editor-time.js +1 -2
- package/dist/src/ox-property-editor-time.js.map +1 -1
- package/dist/src/ox-property-editor-unit-number.js +1 -2
- package/dist/src/ox-property-editor-unit-number.js.map +1 -1
- package/dist/src/ox-property-editor-value-map.js +1 -2
- package/dist/src/ox-property-editor-value-map.js.map +1 -1
- package/dist/src/ox-property-editor-value-ranges.js +1 -2
- package/dist/src/ox-property-editor-value-ranges.js.map +1 -1
- package/dist/src/ox-property-editor-work-shift.js +1 -2
- package/dist/src/ox-property-editor-work-shift.js.map +1 -1
- package/dist/src/ox-property-editor.js +1 -2
- package/dist/src/ox-property-editor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [1.3.11](https://github.com/hatiolab/operato/compare/v1.3.10...v1.3.11) (2023-06-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @operato/property-editor
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
### [1.3.7](https://github.com/hatiolab/operato/compare/v1.3.6...v1.3.7) (2023-06-17)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @operato/property-editor
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-3axis.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditor3Axis = class OxPropertyEditor3Axis extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditor3Axis = class OxPropertyEditor3Axis extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { editor } = spec;
|
|
9
9
|
const { fullwidth = true } = editor || {};
|
|
@@ -13,5 +13,4 @@ let OxPropertyEditor3Axis = class OxPropertyEditor3Axis extends OxPropertyEditor
|
|
|
13
13
|
OxPropertyEditor3Axis = __decorate([
|
|
14
14
|
customElement('ox-property-editor-3axis')
|
|
15
15
|
], OxPropertyEditor3Axis);
|
|
16
|
-
export { OxPropertyEditor3Axis };
|
|
17
16
|
//# sourceMappingURL=ox-property-editor-3axis.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-3axis.js","sourceRoot":"","sources":["../../src/ox-property-editor-3axis.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-3axis.js","sourceRoot":"","sources":["../../src/ox-property-editor-3axis.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;QACvB,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAA;QAEzC,OAAO,IAAI,CAAA,uCAAuC,KAAK,eAAe,SAAS,qBAAqB,CAAA;IACtG,CAAC;CACF,CAAA;AAPY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAOjC","sourcesContent":["import '@operato/input/ox-input-3axis.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-3axis')\nexport class OxPropertyEditor3Axis extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { editor } = spec\n const { fullwidth = true } = editor || {}\n\n return html` <ox-input-3axis id=\"editor\" .value=${value} ?fullwidth=${fullwidth}></ox-input-3axis> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-3dish.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditor3Dish = class OxPropertyEditor3Dish extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditor3Dish = class OxPropertyEditor3Dish extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { position, dimension, rotate, scale } = value || {};
|
|
9
9
|
const { editor } = spec;
|
|
@@ -24,5 +24,4 @@ let OxPropertyEditor3Dish = class OxPropertyEditor3Dish extends OxPropertyEditor
|
|
|
24
24
|
OxPropertyEditor3Dish = __decorate([
|
|
25
25
|
customElement('ox-property-editor-3dish')
|
|
26
26
|
], OxPropertyEditor3Dish);
|
|
27
|
-
export { OxPropertyEditor3Dish };
|
|
28
27
|
//# sourceMappingURL=ox-property-editor-3dish.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-3dish.js","sourceRoot":"","sources":["../../src/ox-property-editor-3dish.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-3dish.js","sourceRoot":"","sources":["../../src/ox-property-editor-3dish.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,CAAA;QAC1D,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;QACvB,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAA;QAEzC,OAAO,IAAI,CAAA;;;oBAGK,QAAQ;qBACP,SAAS;kBACZ,MAAM;iBACP,KAAK;sBACA,IAAI,CAAC,WAAW,IAAI,EAAE;qBACvB,SAAS;;KAEzB,CAAA;IACH,CAAC;CACF,CAAA;AAlBY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAkBjC","sourcesContent":["import '@operato/input/ox-input-3dish.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-3dish')\nexport class OxPropertyEditor3Dish extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { position, dimension, rotate, scale } = value || {}\n const { editor } = spec\n const { fullwidth = true } = editor || {}\n\n return html`\n <ox-input-3dish\n id=\"editor\"\n .position=${position}\n .dimension=${dimension}\n .rotate=${rotate}\n .scale=${scale}\n placeholder=${spec.placeholder || ''}\n ?fullwidth=${fullwidth}\n ></ox-input-3dish>\n `\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-action.js","sourceRoot":"","sources":["../../src/ox-property-editor-action.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,2BAA2B,CAAA;AAElC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;GAEG;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-action.js","sourceRoot":"","sources":["../../src/ox-property-editor-action.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,2BAA2B,CAAA;AAElC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE1D;;GAEG;AAEY,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,gBAAgB;IAClE,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,IAAI,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAClC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAA;QAE/B,OAAO,IAAI,CAAA;;gBAEC,IAAI;iBACH,CAAC,CAAa,EAAE,EAAE;YACzB,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,iBAAiB,EAAE;gBACjC,OAAO,EAAE,IAAI;gBACb,QAAQ,EAAE,IAAI;gBACd,MAAM,EAAE;oBACN,QAAQ,EAAE,CAAC,QAAe,EAAE,EAAE;wBAC5B,OAAO,MAAM,KAAK,UAAU,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;oBACrD,CAAC;iBACF;aACF,CAAC,CACH,CAAA;QACH,CAAC;;KAEJ,CAAA;IACH,CAAC;CACF,CAAA;AAxBoB,sBAAsB;IAD1C,aAAa,CAAC,2BAA2B,CAAC;GACtB,sBAAsB,CAwB1C;eAxBoB,sBAAsB","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport '@material/mwc-icon-button'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n/**\n *\n */\n@customElement('ox-property-editor-action')\nexport default class OxPropertyEditorAction extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n var property = spec.property || {}\n var { icon, action } = property\n\n return html`\n <mwc-icon-button\n .icon=${icon}\n @click=${(e: MouseEvent) => {\n this.dispatchEvent(\n new CustomEvent('i-need-selected', {\n bubbles: true,\n composed: true,\n detail: {\n callback: (selected: any[]) => {\n typeof action === 'function' && action(selected[0])\n }\n }\n })\n )\n }}\n ></mwc-icon-button>\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-angle.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorAngle = class OxPropertyEditorAngle extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorAngle = class OxPropertyEditorAngle extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
return html ` <ox-input-angle id="editor" .value=${value} placeholder=${spec.placeholder || ''}></ox-input-angle> `;
|
|
9
9
|
}
|
|
@@ -11,5 +11,4 @@ let OxPropertyEditorAngle = class OxPropertyEditorAngle extends OxPropertyEditor
|
|
|
11
11
|
OxPropertyEditorAngle = __decorate([
|
|
12
12
|
customElement('ox-property-editor-angle')
|
|
13
13
|
], OxPropertyEditorAngle);
|
|
14
|
-
export { OxPropertyEditorAngle };
|
|
15
14
|
//# sourceMappingURL=ox-property-editor-angle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-angle.js","sourceRoot":"","sources":["../../src/ox-property-editor-angle.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-angle.js","sourceRoot":"","sources":["../../src/ox-property-editor-angle.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,uCAAuC,KAAK,gBAAgB,IAAI,CAAC,WAAW,IAAI,EAAE,qBAAqB,CAAA;IACpH,CAAC;CACF,CAAA;AAJY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAIjC","sourcesContent":["import '@operato/input/ox-input-angle.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-angle')\nexport class OxPropertyEditorAngle extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <ox-input-angle id=\"editor\" .value=${value} placeholder=${spec.placeholder || ''}></ox-input-angle> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-checkbox.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorCheckbox = class OxPropertyEditorCheckbox extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorCheckbox = class OxPropertyEditorCheckbox extends OxPropertyEditor {
|
|
7
7
|
get valueProperty() {
|
|
8
8
|
return 'checked';
|
|
9
9
|
}
|
|
@@ -14,5 +14,4 @@ let OxPropertyEditorCheckbox = class OxPropertyEditorCheckbox extends OxProperty
|
|
|
14
14
|
OxPropertyEditorCheckbox = __decorate([
|
|
15
15
|
customElement('ox-property-editor-checkbox')
|
|
16
16
|
], OxPropertyEditorCheckbox);
|
|
17
|
-
export { OxPropertyEditorCheckbox };
|
|
18
17
|
//# sourceMappingURL=ox-property-editor-checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-checkbox.js","sourceRoot":"","sources":["../../src/ox-property-editor-checkbox.ts"],"names":[],"mappings":";AAAA,OAAO,+BAA+B,CAAA;AAEtC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-checkbox.js","sourceRoot":"","sources":["../../src/ox-property-editor-checkbox.ts"],"names":[],"mappings":";AAAA,OAAO,+BAA+B,CAAA;AAEtC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gBAAgB;IAC5D,IAAI,aAAa;QACf,OAAO,SAAS,CAAA;IAClB,CAAC;IAED,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,sCAAsC,KAAK,iBAAiB,CAAA;IACzE,CAAC;CACF,CAAA;AARY,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CAQpC","sourcesContent":["import '@operato/input/ox-checkbox.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-checkbox')\nexport class OxPropertyEditorCheckbox extends OxPropertyEditor {\n get valueProperty() {\n return 'checked'\n }\n\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <ox-checkbox id=\"editor\" ?checked=${value}></ox-checkbox>`\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-color.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorColor = class OxPropertyEditorColor extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorColor = class OxPropertyEditorColor extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
return html `
|
|
9
9
|
<ox-input-color id="editor" .value=${value} placeholder=${spec.placeholder || ''} .properties=${spec.property}>
|
|
@@ -14,5 +14,4 @@ let OxPropertyEditorColor = class OxPropertyEditorColor extends OxPropertyEditor
|
|
|
14
14
|
OxPropertyEditorColor = __decorate([
|
|
15
15
|
customElement('ox-property-editor-color')
|
|
16
16
|
], OxPropertyEditorColor);
|
|
17
|
-
export { OxPropertyEditorColor };
|
|
18
17
|
//# sourceMappingURL=ox-property-editor-color.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-color.js","sourceRoot":"","sources":["../../src/ox-property-editor-color.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-color.js","sourceRoot":"","sources":["../../src/ox-property-editor-color.ts"],"names":[],"mappings":";AAAA,OAAO,kCAAkC,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA;2CAC4B,KAAK,gBAAgB,IAAI,CAAC,WAAW,IAAI,EAAE,gBAAgB,IAAI,CAAC,QAAQ;;KAE9G,CAAA;IACH,CAAC;CACF,CAAA;AAPY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAOjC","sourcesContent":["import '@operato/input/ox-input-color.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-color')\nexport class OxPropertyEditorColor extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html`\n <ox-input-color id=\"editor\" .value=${value} placeholder=${spec.placeholder || ''} .properties=${spec.property}>\n </ox-input-color>\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-crontab.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorCrontab = class OxPropertyEditorCrontab extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorCrontab = class OxPropertyEditorCrontab extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = true } = spec.editor || {};
|
|
9
9
|
return html ` <ox-input-crontab id="editor" .value=${value} ?fullwidth=${fullwidth}> </ox-input-crontab> `;
|
|
@@ -12,5 +12,4 @@ let OxPropertyEditorCrontab = class OxPropertyEditorCrontab extends OxPropertyEd
|
|
|
12
12
|
OxPropertyEditorCrontab = __decorate([
|
|
13
13
|
customElement('ox-property-editor-crontab')
|
|
14
14
|
], OxPropertyEditorCrontab);
|
|
15
|
-
export { OxPropertyEditorCrontab };
|
|
16
15
|
//# sourceMappingURL=ox-property-editor-crontab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-crontab.js","sourceRoot":"","sources":["../../src/ox-property-editor-crontab.ts"],"names":[],"mappings":";AAAA,OAAO,oCAAoC,CAAA;AAE3C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-crontab.js","sourceRoot":"","sources":["../../src/ox-property-editor-crontab.ts"],"names":[],"mappings":";AAAA,OAAO,oCAAoC,CAAA;AAE3C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,gBAAgB;IAC3D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA,yCAAyC,KAAK,eAAe,SAAS,wBAAwB,CAAA;IAC3G,CAAC;CACF,CAAA;AANY,uBAAuB;IADnC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,uBAAuB,CAMnC","sourcesContent":["import '@operato/input/ox-input-crontab.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-crontab')\nexport class OxPropertyEditorCrontab extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = true } = spec.editor || {}\n\n return html` <ox-input-crontab id=\"editor\" .value=${value} ?fullwidth=${fullwidth}> </ox-input-crontab> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-data.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorData = class OxPropertyEditorData extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorData = class OxPropertyEditorData extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = true } = spec.editor || {};
|
|
9
9
|
return html ` <ox-input-data id="editor" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-data> `;
|
|
@@ -12,5 +12,4 @@ let OxPropertyEditorData = class OxPropertyEditorData extends OxPropertyEditor {
|
|
|
12
12
|
OxPropertyEditorData = __decorate([
|
|
13
13
|
customElement('ox-property-editor-data')
|
|
14
14
|
], OxPropertyEditorData);
|
|
15
|
-
export { OxPropertyEditorData };
|
|
16
15
|
//# sourceMappingURL=ox-property-editor-data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-data.js","sourceRoot":"","sources":["../../src/ox-property-editor-data.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-data.js","sourceRoot":"","sources":["../../src/ox-property-editor-data.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB;IACxD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA,sCAAsC,KAAK,IAAI,EAAE,eAAe,SAAS,oBAAoB,CAAA;IAC1G,CAAC;CACF,CAAA;AANY,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAMhC","sourcesContent":["import '@operato/input/ox-input-data.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-data')\nexport class OxPropertyEditorData extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = true } = spec.editor || {}\n\n return html` <ox-input-data id=\"editor\" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-data> `\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { html } from 'lit';
|
|
3
3
|
import { customElement } from 'lit/decorators.js';
|
|
4
4
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
5
|
-
let OxPropertyEditorDate = class OxPropertyEditorDate extends OxPropertyEditor {
|
|
5
|
+
export let OxPropertyEditorDate = class OxPropertyEditorDate extends OxPropertyEditor {
|
|
6
6
|
editorTemplate(value, spec) {
|
|
7
7
|
return html ` <input type="date" id="editor" .value=${value} /> `;
|
|
8
8
|
}
|
|
@@ -10,5 +10,4 @@ let OxPropertyEditorDate = class OxPropertyEditorDate extends OxPropertyEditor {
|
|
|
10
10
|
OxPropertyEditorDate = __decorate([
|
|
11
11
|
customElement('ox-property-editor-date')
|
|
12
12
|
], OxPropertyEditorDate);
|
|
13
|
-
export { OxPropertyEditorDate };
|
|
14
13
|
//# sourceMappingURL=ox-property-editor-date.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-date.js","sourceRoot":"","sources":["../../src/ox-property-editor-date.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-date.js","sourceRoot":"","sources":["../../src/ox-property-editor-date.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB;IACxD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,0CAA0C,KAAK,MAAM,CAAA;IAClE,CAAC;CACF,CAAA;AAJY,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAIhC","sourcesContent":["import { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-date')\nexport class OxPropertyEditorDate extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <input type=\"date\" id=\"editor\" .value=${value} /> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-duration.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorDuration = class OxPropertyEditorDuration extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorDuration = class OxPropertyEditorDuration extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = true } = spec.editor || {};
|
|
9
9
|
return html ` <ox-input-duration id="editor" .value=${value} ?fullwidth=${fullwidth}> </ox-input-duration> `;
|
|
@@ -12,5 +12,4 @@ let OxPropertyEditorDuration = class OxPropertyEditorDuration extends OxProperty
|
|
|
12
12
|
OxPropertyEditorDuration = __decorate([
|
|
13
13
|
customElement('ox-property-editor-duration')
|
|
14
14
|
], OxPropertyEditorDuration);
|
|
15
|
-
export { OxPropertyEditorDuration };
|
|
16
15
|
//# sourceMappingURL=ox-property-editor-duration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-duration.js","sourceRoot":"","sources":["../../src/ox-property-editor-duration.ts"],"names":[],"mappings":";AAAA,OAAO,qCAAqC,CAAA;AAE5C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-duration.js","sourceRoot":"","sources":["../../src/ox-property-editor-duration.ts"],"names":[],"mappings":";AAAA,OAAO,qCAAqC,CAAA;AAE5C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA,0CAA0C,KAAK,eAAe,SAAS,yBAAyB,CAAA;IAC7G,CAAC;CACF,CAAA;AANY,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CAMpC","sourcesContent":["import '@operato/input/ox-input-duration.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-duration')\nexport class OxPropertyEditorDuration extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = true } = spec.editor || {}\n\n return html` <ox-input-duration id=\"editor\" .value=${value} ?fullwidth=${fullwidth}> </ox-input-duration> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-file.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorFile = class OxPropertyEditorFile extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorFile = class OxPropertyEditorFile extends OxPropertyEditor {
|
|
7
7
|
// TODO file change event 처리
|
|
8
8
|
editorTemplate(value, spec) {
|
|
9
9
|
const { multiple = false } = spec.property || {};
|
|
@@ -16,5 +16,4 @@ let OxPropertyEditorFile = class OxPropertyEditorFile extends OxPropertyEditor {
|
|
|
16
16
|
OxPropertyEditorFile = __decorate([
|
|
17
17
|
customElement('ox-property-editor-file')
|
|
18
18
|
], OxPropertyEditorFile);
|
|
19
|
-
export { OxPropertyEditorFile };
|
|
20
19
|
//# sourceMappingURL=ox-property-editor-file.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-file.js","sourceRoot":"","sources":["../../src/ox-property-editor-file.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-file.js","sourceRoot":"","sources":["../../src/ox-property-editor-file.ts"],"names":[],"mappings":";AAAA,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB;IACxD,4BAA4B;IAC5B,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAChD,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE/C,OAAO,IAAI,CAAA;0CAC2B,KAAK,IAAI,EAAE,cAAc,QAAQ,eAAe,SAAS;KAC9F,CAAA;IACH,CAAC;CACF,CAAA;AAVY,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAUhC","sourcesContent":["import '@operato/input/ox-input-file.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-file')\nexport class OxPropertyEditorFile extends OxPropertyEditor {\n // TODO file change event 처리\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { multiple = false } = spec.property || {}\n const { fullwidth = false } = spec.editor || {}\n\n return html`\n <ox-input-file id=\"editor\" .value=${value || []} ?multiple=${multiple} ?fullwidth=${fullwidth}></ox-input-file>\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-color-stops.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorGradientColorStops = class OxPropertyEditorGradientColorStops extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorGradientColorStops = class OxPropertyEditorGradientColorStops extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = true } = spec.editor || {};
|
|
9
9
|
return html `
|
|
@@ -22,5 +22,4 @@ let OxPropertyEditorGradientColorStops = class OxPropertyEditorGradientColorStop
|
|
|
22
22
|
OxPropertyEditorGradientColorStops = __decorate([
|
|
23
23
|
customElement('ox-property-editor-gradient-colorstops')
|
|
24
24
|
], OxPropertyEditorGradientColorStops);
|
|
25
|
-
export { OxPropertyEditorGradientColorStops };
|
|
26
25
|
//# sourceMappingURL=ox-property-editor-gradient-colorstops.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-gradient-colorstops.js","sourceRoot":"","sources":["../../src/ox-property-editor-gradient-colorstops.ts"],"names":[],"mappings":";AAAA,OAAO,wCAAwC,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-gradient-colorstops.js","sourceRoot":"","sources":["../../src/ox-property-editor-gradient-colorstops.ts"],"names":[],"mappings":";AAAA,OAAO,wCAAwC,CAAA;AAE/C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,gBAAgB;IACtE,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;;;;iBAIE,KAAK;eACP,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG;eAClC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG;qBAC5B,SAAS;;;KAGzB,CAAA;IACH,CAAC;CACF,CAAA;AAhBY,kCAAkC;IAD9C,aAAa,CAAC,wCAAwC,CAAC;GAC3C,kCAAkC,CAgB9C","sourcesContent":["import '@operato/input/ox-input-color-stops.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-gradient-colorstops')\nexport class OxPropertyEditorGradientColorStops extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = true } = spec.editor || {}\n\n return html`\n <ox-input-color-stops\n id=\"editor\"\n type=\"gradient\"\n .value=${value}\n .min=${spec.property && spec.property.min}\n .max=${spec.property && spec.property.max}\n ?fullwidth=${fullwidth}\n >\n </ox-input-color-stops>\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import { html } from 'lit';
|
|
|
3
3
|
import { customElement } from 'lit/decorators.js';
|
|
4
4
|
import '@operato/input/ox-input-hashtags.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorHashtags = class OxPropertyEditorHashtags extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorHashtags = class OxPropertyEditorHashtags extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
return html `
|
|
9
9
|
<ox-input-hashtags type="text" id="editor" .value=${value || ''} placeholder=${spec.placeholder || ''}>
|
|
@@ -14,5 +14,4 @@ let OxPropertyEditorHashtags = class OxPropertyEditorHashtags extends OxProperty
|
|
|
14
14
|
OxPropertyEditorHashtags = __decorate([
|
|
15
15
|
customElement('ox-property-editor-hashtags')
|
|
16
16
|
], OxPropertyEditorHashtags);
|
|
17
|
-
export { OxPropertyEditorHashtags };
|
|
18
17
|
//# sourceMappingURL=ox-property-editor-hashtags.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-hashtags.js","sourceRoot":"","sources":["../../src/ox-property-editor-hashtags.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,qCAAqC,CAAA;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-hashtags.js","sourceRoot":"","sources":["../../src/ox-property-editor-hashtags.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,qCAAqC,CAAA;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gBAAgB;IAC5D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA;0DAC2C,KAAK,IAAI,EAAE,gBAAgB,IAAI,CAAC,WAAW,IAAI,EAAE;;KAEtG,CAAA;IACH,CAAC;CACF,CAAA;AAPY,wBAAwB;IADpC,aAAa,CAAC,6BAA6B,CAAC;GAChC,wBAAwB,CAOpC","sourcesContent":["import { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\nimport '@operato/input/ox-input-hashtags.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-hashtags')\nexport class OxPropertyEditorHashtags extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html`\n <ox-input-hashtags type=\"text\" id=\"editor\" .value=${value || ''} placeholder=${spec.placeholder || ''}>\n </ox-input-hashtags>\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-image.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorImage = class OxPropertyEditorImage extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorImage = class OxPropertyEditorImage extends OxPropertyEditor {
|
|
7
7
|
makeup(v) {
|
|
8
8
|
return v;
|
|
9
9
|
}
|
|
@@ -15,5 +15,4 @@ let OxPropertyEditorImage = class OxPropertyEditorImage extends OxPropertyEditor
|
|
|
15
15
|
OxPropertyEditorImage = __decorate([
|
|
16
16
|
customElement('ox-property-editor-image')
|
|
17
17
|
], OxPropertyEditorImage);
|
|
18
|
-
export { OxPropertyEditorImage };
|
|
19
18
|
//# sourceMappingURL=ox-property-editor-image.js.map
|
|
@@ -1 +1 @@
|
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,MAAM,CAAC,CAAM;QACX,OAAO,CAAC,CAAA;IACV,CAAC;IAED,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE/C,OAAO,IAAI,CAAA,uCAAuC,KAAK,eAAe,SAAS,qBAAqB,CAAA;IACtG,CAAC;CACF,CAAA;AAVY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAUjC","sourcesContent":["import '@operato/input/ox-input-image.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-image')\nexport class OxPropertyEditorImage extends OxPropertyEditor {\n makeup(v: any) {\n return v\n }\n\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = false } = spec.editor || {}\n\n return html` <ox-input-image id=\"editor\" .value=${value} ?fullwidth=${fullwidth}></ox-input-image> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-key-values.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorKeyValues = class OxPropertyEditorKeyValues extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorKeyValues = class OxPropertyEditorKeyValues extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { options } = spec.property || {};
|
|
9
9
|
const { fullwidth = true } = spec.editor || {};
|
|
@@ -20,5 +20,4 @@ let OxPropertyEditorKeyValues = class OxPropertyEditorKeyValues extends OxProper
|
|
|
20
20
|
OxPropertyEditorKeyValues = __decorate([
|
|
21
21
|
customElement('ox-property-editor-key-values')
|
|
22
22
|
], OxPropertyEditorKeyValues);
|
|
23
|
-
export { OxPropertyEditorKeyValues };
|
|
24
23
|
//# sourceMappingURL=ox-property-editor-key-values.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-key-values.js","sourceRoot":"","sources":["../../src/ox-property-editor-key-values.ts"],"names":[],"mappings":";AAAA,OAAO,uCAAuC,CAAA;AAE9C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-key-values.js","sourceRoot":"","sources":["../../src/ox-property-editor-key-values.ts"],"names":[],"mappings":";AAAA,OAAO,uCAAuC,CAAA;AAE9C,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,gBAAgB;IAC7D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QACvC,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;;;iBAGE,KAAK;mBACH,OAAO;qBACL,SAAS;;KAEzB,CAAA;IACH,CAAC;CACF,CAAA;AAdY,yBAAyB;IADrC,aAAa,CAAC,+BAA+B,CAAC;GAClC,yBAAyB,CAcrC","sourcesContent":["import '@operato/input/ox-input-key-values.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-key-values')\nexport class OxPropertyEditorKeyValues extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { options } = spec.property || {}\n const { fullwidth = true } = spec.editor || {}\n\n return html`\n <ox-input-key-values\n id=\"editor\"\n .value=${value}\n .options=${options}\n ?fullwidth=${fullwidth}\n ></ox-input-key-values>\n `\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { html } from 'lit';
|
|
3
3
|
import { customElement } from 'lit/decorators.js';
|
|
4
4
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
5
|
-
let OxPropertyEditorLegend = class OxPropertyEditorLegend extends OxPropertyEditor {
|
|
5
|
+
export let OxPropertyEditorLegend = class OxPropertyEditorLegend extends OxPropertyEditor {
|
|
6
6
|
editorTemplate(value, spec) {
|
|
7
7
|
return html ` <legend>${spec.property.label}</legend> `;
|
|
8
8
|
}
|
|
@@ -10,5 +10,4 @@ let OxPropertyEditorLegend = class OxPropertyEditorLegend extends OxPropertyEdit
|
|
|
10
10
|
OxPropertyEditorLegend = __decorate([
|
|
11
11
|
customElement('ox-property-editor-legend')
|
|
12
12
|
], OxPropertyEditorLegend);
|
|
13
|
-
export { OxPropertyEditorLegend };
|
|
14
13
|
//# sourceMappingURL=ox-property-editor-legend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-legend.js","sourceRoot":"","sources":["../../src/ox-property-editor-legend.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-legend.js","sourceRoot":"","sources":["../../src/ox-property-editor-legend.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,gBAAgB;IAC1D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,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","sourcesContent":["import { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-legend')\nexport class OxPropertyEditorLegend extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <legend>${spec.property.label}</legend> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-mass-fraction.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorMassFraction = class OxPropertyEditorMassFraction extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorMassFraction = class OxPropertyEditorMassFraction extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { defaultValue } = spec.property || {};
|
|
9
9
|
const { fullwidth = true } = spec.editor || {};
|
|
@@ -20,5 +20,4 @@ let OxPropertyEditorMassFraction = class OxPropertyEditorMassFraction extends Ox
|
|
|
20
20
|
OxPropertyEditorMassFraction = __decorate([
|
|
21
21
|
customElement('ox-property-editor-mass-fraction')
|
|
22
22
|
], OxPropertyEditorMassFraction);
|
|
23
|
-
export { OxPropertyEditorMassFraction };
|
|
24
23
|
//# sourceMappingURL=ox-property-editor-mass-fraction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-mass-fraction.js","sourceRoot":"","sources":["../../src/ox-property-editor-mass-fraction.ts"],"names":[],"mappings":";AAAA,OAAO,0CAA0C,CAAA;AAEjD,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-mass-fraction.js","sourceRoot":"","sources":["../../src/ox-property-editor-mass-fraction.ts"],"names":[],"mappings":";AAAA,OAAO,0CAA0C,CAAA;AAEjD,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gBAAgB;IAChE,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAA;QAC5C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;;;iBAGE,KAAK;wBACE,YAAY;qBACf,SAAS;;KAEzB,CAAA;IACH,CAAC;CACF,CAAA;AAdY,4BAA4B;IADxC,aAAa,CAAC,kCAAkC,CAAC;GACrC,4BAA4B,CAcxC","sourcesContent":["import '@operato/input/ox-input-mass-fraction.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-mass-fraction')\nexport class OxPropertyEditorMassFraction extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { defaultValue } = spec.property || {}\n const { fullwidth = true } = spec.editor || {}\n\n return html`\n <ox-input-mass-fraction\n id=\"editor\"\n .value=${value}\n .defaultValue=${defaultValue}\n ?fullwidth=${fullwidth}\n ></ox-input-mass-fraction>\n `\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { html } from 'lit';
|
|
3
3
|
import { customElement } from 'lit/decorators.js';
|
|
4
4
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
5
|
-
let OxPropertyEditorMonth = class OxPropertyEditorMonth extends OxPropertyEditor {
|
|
5
|
+
export let OxPropertyEditorMonth = class OxPropertyEditorMonth extends OxPropertyEditor {
|
|
6
6
|
editorTemplate(value, spec) {
|
|
7
7
|
return html ` <input type="month" id="editor" .value=${value} /> `;
|
|
8
8
|
}
|
|
@@ -10,5 +10,4 @@ let OxPropertyEditorMonth = class OxPropertyEditorMonth extends OxPropertyEditor
|
|
|
10
10
|
OxPropertyEditorMonth = __decorate([
|
|
11
11
|
customElement('ox-property-editor-month')
|
|
12
12
|
], OxPropertyEditorMonth);
|
|
13
|
-
export { OxPropertyEditorMonth };
|
|
14
13
|
//# sourceMappingURL=ox-property-editor-month.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-month.js","sourceRoot":"","sources":["../../src/ox-property-editor-month.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-month.js","sourceRoot":"","sources":["../../src/ox-property-editor-month.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gBAAgB;IACzD,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,2CAA2C,KAAK,MAAM,CAAA;IACnE,CAAC;CACF,CAAA;AAJY,qBAAqB;IADjC,aAAa,CAAC,0BAA0B,CAAC;GAC7B,qBAAqB,CAIjC","sourcesContent":["import { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-month')\nexport class OxPropertyEditorMonth extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <input type=\"month\" id=\"editor\" .value=${value} /> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-multiple-colors.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorMultipleColors = class OxPropertyEditorMultipleColors extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorMultipleColors = class OxPropertyEditorMultipleColors extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
return html ` <ox-input-multiple-colors id="editor" .value=${value}> </ox-input-multiple-colors> `;
|
|
9
9
|
}
|
|
@@ -11,5 +11,4 @@ let OxPropertyEditorMultipleColors = class OxPropertyEditorMultipleColors extend
|
|
|
11
11
|
OxPropertyEditorMultipleColors = __decorate([
|
|
12
12
|
customElement('ox-property-editor-multiple-colors')
|
|
13
13
|
], OxPropertyEditorMultipleColors);
|
|
14
|
-
export { OxPropertyEditorMultipleColors };
|
|
15
14
|
//# sourceMappingURL=ox-property-editor-multiple-colors.js.map
|
|
@@ -1 +1 @@
|
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,gBAAgB;IAClE,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,OAAO,IAAI,CAAA,iDAAiD,KAAK,gCAAgC,CAAA;IACnG,CAAC;CACF,CAAA;AAJY,8BAA8B;IAD1C,aAAa,CAAC,oCAAoC,CAAC;GACvC,8BAA8B,CAI1C","sourcesContent":["import '@operato/input/ox-input-multiple-colors.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-multiple-colors')\nexport class OxPropertyEditorMultipleColors extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n return html` <ox-input-multiple-colors id=\"editor\" .value=${value}> </ox-input-multiple-colors> `\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { html } from 'lit';
|
|
3
3
|
import { customElement } from 'lit/decorators.js';
|
|
4
4
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
5
|
-
let OxPropertyEditorNumber = class OxPropertyEditorNumber extends OxPropertyEditor {
|
|
5
|
+
export let OxPropertyEditorNumber = class OxPropertyEditorNumber extends OxPropertyEditor {
|
|
6
6
|
makeup(v) {
|
|
7
7
|
return Number(v);
|
|
8
8
|
}
|
|
@@ -24,5 +24,4 @@ let OxPropertyEditorNumber = class OxPropertyEditorNumber extends OxPropertyEdit
|
|
|
24
24
|
OxPropertyEditorNumber = __decorate([
|
|
25
25
|
customElement('ox-property-editor-number')
|
|
26
26
|
], OxPropertyEditorNumber);
|
|
27
|
-
export { OxPropertyEditorNumber };
|
|
28
27
|
//# sourceMappingURL=ox-property-editor-number.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-number.js","sourceRoot":"","sources":["../../src/ox-property-editor-number.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-number.js","sourceRoot":"","sources":["../../src/ox-property-editor-number.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,gBAAgB;IACjD,MAAM,CAAC,CAAS;QACvB,OAAO,MAAM,CAAC,CAAC,CAAC,CAAA;IAClB,CAAC;IAED,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,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,KAAK;gBACN,IAAI;eACL,GAAG;eACH,GAAG;;KAEb,CAAA;IACH,CAAC;CACF,CAAA;AApBY,sBAAsB;IADlC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,sBAAsB,CAoBlC","sourcesContent":["import { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\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(value: any, spec: PropertySpec): TemplateResult {\n const { step, min, max } = spec.property || {}\n\n return html`\n <input\n id=\"editor\"\n type=\"number\"\n placeholder=${spec.placeholder || ''}\n .value=${value}\n .step=${step}\n .min=${min}\n .max=${max}\n />\n `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-options.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorOptions = class OxPropertyEditorOptions extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorOptions = class OxPropertyEditorOptions extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = false } = spec.editor || {};
|
|
9
9
|
return html ` <ox-input-options id="editor" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-options> `;
|
|
@@ -12,5 +12,4 @@ let OxPropertyEditorOptions = class OxPropertyEditorOptions extends OxPropertyEd
|
|
|
12
12
|
OxPropertyEditorOptions = __decorate([
|
|
13
13
|
customElement('ox-property-editor-options')
|
|
14
14
|
], OxPropertyEditorOptions);
|
|
15
|
-
export { OxPropertyEditorOptions };
|
|
16
15
|
//# sourceMappingURL=ox-property-editor-options.js.map
|
|
@@ -1 +1 @@
|
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
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,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,gBAAgB;IAC3D,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE/C,OAAO,IAAI,CAAA,yCAAyC,KAAK,IAAI,EAAE,eAAe,SAAS,uBAAuB,CAAA;IAChH,CAAC;CACF,CAAA;AANY,uBAAuB;IADnC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,uBAAuB,CAMnC","sourcesContent":["import '@operato/input/ox-input-options.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-options')\nexport class OxPropertyEditorOptions extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = false } = spec.editor || {}\n\n return html` <ox-input-options id=\"editor\" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-options> `\n }\n}\n"]}
|
|
@@ -3,7 +3,7 @@ import '@operato/input/ox-input-partition-keys.js';
|
|
|
3
3
|
import { html } from 'lit';
|
|
4
4
|
import { customElement } from 'lit/decorators.js';
|
|
5
5
|
import { OxPropertyEditor } from './ox-property-editor.js';
|
|
6
|
-
let OxPropertyEditorPartitionKeys = class OxPropertyEditorPartitionKeys extends OxPropertyEditor {
|
|
6
|
+
export let OxPropertyEditorPartitionKeys = class OxPropertyEditorPartitionKeys extends OxPropertyEditor {
|
|
7
7
|
editorTemplate(value, spec) {
|
|
8
8
|
const { fullwidth = true } = spec.editor || {};
|
|
9
9
|
return html `
|
|
@@ -14,5 +14,4 @@ let OxPropertyEditorPartitionKeys = class OxPropertyEditorPartitionKeys extends
|
|
|
14
14
|
OxPropertyEditorPartitionKeys = __decorate([
|
|
15
15
|
customElement('ox-property-editor-partition-keys')
|
|
16
16
|
], OxPropertyEditorPartitionKeys);
|
|
17
|
-
export { OxPropertyEditorPartitionKeys };
|
|
18
17
|
//# sourceMappingURL=ox-property-editor-partition-keys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ox-property-editor-partition-keys.js","sourceRoot":"","sources":["../../src/ox-property-editor-partition-keys.ts"],"names":[],"mappings":";AAAA,OAAO,2CAA2C,CAAA;AAElD,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"ox-property-editor-partition-keys.js","sourceRoot":"","sources":["../../src/ox-property-editor-partition-keys.ts"],"names":[],"mappings":";AAAA,OAAO,2CAA2C,CAAA;AAElD,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAInD,WAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,gBAAgB;IACjE,cAAc,CAAC,KAAU,EAAE,IAAkB;QAC3C,MAAM,EAAE,SAAS,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;QAE9C,OAAO,IAAI,CAAA;oDACqC,KAAK,eAAe,SAAS;KAC5E,CAAA;IACH,CAAC;CACF,CAAA;AARY,6BAA6B;IADzC,aAAa,CAAC,mCAAmC,CAAC;GACtC,6BAA6B,CAQzC","sourcesContent":["import '@operato/input/ox-input-partition-keys.js'\n\nimport { html, TemplateResult } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor } from './ox-property-editor.js'\nimport { PropertySpec } from './types.js'\n\n@customElement('ox-property-editor-partition-keys')\nexport class OxPropertyEditorPartitionKeys extends OxPropertyEditor {\n editorTemplate(value: any, spec: PropertySpec): TemplateResult {\n const { fullwidth = true } = spec.editor || {}\n\n return html`\n <ox-input-partition-keys id=\"editor\" .value=${value} ?fullwidth=${fullwidth}></ox-input-partition-keys>\n `\n }\n}\n"]}
|