@operato/property-editor 1.11.16 → 1.11.17

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.
Files changed (109) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/src/ox-property-editor-3axis.js +3 -1
  3. package/dist/src/ox-property-editor-3axis.js.map +1 -1
  4. package/dist/src/ox-property-editor-3dish.js +1 -0
  5. package/dist/src/ox-property-editor-3dish.js.map +1 -1
  6. package/dist/src/ox-property-editor-action.js +1 -0
  7. package/dist/src/ox-property-editor-action.js.map +1 -1
  8. package/dist/src/ox-property-editor-angle.js +8 -1
  9. package/dist/src/ox-property-editor-angle.js.map +1 -1
  10. package/dist/src/ox-property-editor-checkbox.js +1 -1
  11. package/dist/src/ox-property-editor-checkbox.js.map +1 -1
  12. package/dist/src/ox-property-editor-color.js +7 -1
  13. package/dist/src/ox-property-editor-color.js.map +1 -1
  14. package/dist/src/ox-property-editor-crontab.js +4 -1
  15. package/dist/src/ox-property-editor-crontab.js.map +1 -1
  16. package/dist/src/ox-property-editor-data.js +8 -1
  17. package/dist/src/ox-property-editor-data.js.map +1 -1
  18. package/dist/src/ox-property-editor-date.js +1 -1
  19. package/dist/src/ox-property-editor-date.js.map +1 -1
  20. package/dist/src/ox-property-editor-duration.js +4 -1
  21. package/dist/src/ox-property-editor-duration.js.map +1 -1
  22. package/dist/src/ox-property-editor-file.js +7 -1
  23. package/dist/src/ox-property-editor-file.js.map +1 -1
  24. package/dist/src/ox-property-editor-gradient-colorstops.js +1 -0
  25. package/dist/src/ox-property-editor-gradient-colorstops.js.map +1 -1
  26. package/dist/src/ox-property-editor-hashtags.js +7 -1
  27. package/dist/src/ox-property-editor-hashtags.js.map +1 -1
  28. package/dist/src/ox-property-editor-image.js +3 -1
  29. package/dist/src/ox-property-editor-image.js.map +1 -1
  30. package/dist/src/ox-property-editor-key-values.js +1 -0
  31. package/dist/src/ox-property-editor-key-values.js.map +1 -1
  32. package/dist/src/ox-property-editor-mass-fraction.js +1 -0
  33. package/dist/src/ox-property-editor-mass-fraction.js.map +1 -1
  34. package/dist/src/ox-property-editor-month.js +1 -1
  35. package/dist/src/ox-property-editor-month.js.map +1 -1
  36. package/dist/src/ox-property-editor-multiple-colors.js +3 -1
  37. package/dist/src/ox-property-editor-multiple-colors.js.map +1 -1
  38. package/dist/src/ox-property-editor-number.js +1 -0
  39. package/dist/src/ox-property-editor-number.js.map +1 -1
  40. package/dist/src/ox-property-editor-options.js +8 -1
  41. package/dist/src/ox-property-editor-options.js.map +1 -1
  42. package/dist/src/ox-property-editor-partition-keys.js +6 -1
  43. package/dist/src/ox-property-editor-partition-keys.js.map +1 -1
  44. package/dist/src/ox-property-editor-password.js +9 -1
  45. package/dist/src/ox-property-editor-password.js.map +1 -1
  46. package/dist/src/ox-property-editor-range.js +1 -0
  47. package/dist/src/ox-property-editor-range.js.map +1 -1
  48. package/dist/src/ox-property-editor-scene-component-id.js +6 -1
  49. package/dist/src/ox-property-editor-scene-component-id.js.map +1 -1
  50. package/dist/src/ox-property-editor-select.js +7 -1
  51. package/dist/src/ox-property-editor-select.js.map +1 -1
  52. package/dist/src/ox-property-editor-solid-colorstops.js +1 -0
  53. package/dist/src/ox-property-editor-solid-colorstops.js.map +1 -1
  54. package/dist/src/ox-property-editor-string.js +9 -1
  55. package/dist/src/ox-property-editor-string.js.map +1 -1
  56. package/dist/src/ox-property-editor-table.js +8 -1
  57. package/dist/src/ox-property-editor-table.js.map +1 -1
  58. package/dist/src/ox-property-editor-textarea.js +1 -0
  59. package/dist/src/ox-property-editor-textarea.js.map +1 -1
  60. package/dist/src/ox-property-editor-time.js +1 -1
  61. package/dist/src/ox-property-editor-time.js.map +1 -1
  62. package/dist/src/ox-property-editor-unit-number.js +1 -0
  63. package/dist/src/ox-property-editor-unit-number.js.map +1 -1
  64. package/dist/src/ox-property-editor-value-map.js +1 -0
  65. package/dist/src/ox-property-editor-value-map.js.map +1 -1
  66. package/dist/src/ox-property-editor-value-ranges.js +1 -0
  67. package/dist/src/ox-property-editor-value-ranges.js.map +1 -1
  68. package/dist/src/ox-property-editor-work-shift.js +8 -1
  69. package/dist/src/ox-property-editor-work-shift.js.map +1 -1
  70. package/dist/src/ox-property-editor.d.ts +1 -0
  71. package/dist/src/ox-property-editor.js +3 -0
  72. package/dist/src/ox-property-editor.js.map +1 -1
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +4 -4
  75. package/src/ox-property-editor-3axis.ts +3 -1
  76. package/src/ox-property-editor-3dish.ts +1 -0
  77. package/src/ox-property-editor-action.ts +1 -0
  78. package/src/ox-property-editor-angle.ts +8 -1
  79. package/src/ox-property-editor-checkbox.ts +1 -1
  80. package/src/ox-property-editor-color.ts +7 -1
  81. package/src/ox-property-editor-crontab.ts +4 -1
  82. package/src/ox-property-editor-data.ts +8 -1
  83. package/src/ox-property-editor-date.ts +1 -1
  84. package/src/ox-property-editor-duration.ts +4 -1
  85. package/src/ox-property-editor-file.ts +7 -1
  86. package/src/ox-property-editor-gradient-colorstops.ts +1 -0
  87. package/src/ox-property-editor-hashtags.ts +7 -1
  88. package/src/ox-property-editor-image.ts +3 -1
  89. package/src/ox-property-editor-key-values.ts +1 -0
  90. package/src/ox-property-editor-mass-fraction.ts +1 -0
  91. package/src/ox-property-editor-month.ts +1 -1
  92. package/src/ox-property-editor-multiple-colors.ts +3 -1
  93. package/src/ox-property-editor-number.ts +1 -0
  94. package/src/ox-property-editor-options.ts +8 -1
  95. package/src/ox-property-editor-partition-keys.ts +6 -1
  96. package/src/ox-property-editor-password.ts +9 -1
  97. package/src/ox-property-editor-range.ts +1 -0
  98. package/src/ox-property-editor-scene-component-id.ts +6 -1
  99. package/src/ox-property-editor-select.ts +7 -1
  100. package/src/ox-property-editor-solid-colorstops.ts +1 -0
  101. package/src/ox-property-editor-string.ts +9 -1
  102. package/src/ox-property-editor-table.ts +8 -1
  103. package/src/ox-property-editor-textarea.ts +1 -0
  104. package/src/ox-property-editor-time.ts +1 -1
  105. package/src/ox-property-editor-unit-number.ts +1 -0
  106. package/src/ox-property-editor-value-map.ts +1 -0
  107. package/src/ox-property-editor-value-ranges.ts +1 -0
  108. package/src/ox-property-editor-work-shift.ts +8 -1
  109. package/src/ox-property-editor.ts +1 -0
@@ -12,6 +12,8 @@ export class OxPropertyEditor3Axis extends OxPropertyEditor {
12
12
  const { editor } = spec
13
13
  const { fullwidth = true } = editor || {}
14
14
 
15
- return html` <ox-input-3axis id="editor" .value=${value} ?fullwidth=${fullwidth}></ox-input-3axis> `
15
+ return html`
16
+ <ox-input-3axis id="editor" .value=${value} ?fullwidth=${fullwidth} ?disabled=${this.disabled}></ox-input-3axis>
17
+ `
16
18
  }
17
19
  }
@@ -22,6 +22,7 @@ export class OxPropertyEditor3Dish extends OxPropertyEditor {
22
22
  .scale=${scale}
23
23
  placeholder=${spec.placeholder || ''}
24
24
  ?fullwidth=${fullwidth}
25
+ ?disabled=${this.disabled}
25
26
  ></ox-input-3dish>
26
27
  `
27
28
  }
@@ -34,6 +34,7 @@ export default class OxPropertyEditorAction extends OxPropertyEditor {
34
34
  })
35
35
  )
36
36
  }}
37
+ ?disabled=${this.disabled}
37
38
  ></mwc-icon-button>
38
39
  `
39
40
  }
@@ -9,6 +9,13 @@ import { PropertySpec } from './types.js'
9
9
  @customElement('ox-property-editor-angle')
10
10
  export class OxPropertyEditorAngle extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
- return html` <ox-input-angle id="editor" .value=${value} placeholder=${spec.placeholder || ''}></ox-input-angle> `
12
+ return html`
13
+ <ox-input-angle
14
+ id="editor"
15
+ .value=${value}
16
+ placeholder=${spec.placeholder || ''}
17
+ ?disabled=${this.disabled}
18
+ ></ox-input-angle>
19
+ `
13
20
  }
14
21
  }
@@ -13,6 +13,6 @@ export class OxPropertyEditorCheckbox extends OxPropertyEditor {
13
13
  }
14
14
 
15
15
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
16
- return html` <ox-checkbox id="editor" ?checked=${value}></ox-checkbox>`
16
+ return html` <ox-checkbox id="editor" ?checked=${value} ?disabled=${this.disabled}></ox-checkbox>`
17
17
  }
18
18
  }
@@ -10,7 +10,13 @@ import { PropertySpec } from './types.js'
10
10
  export class OxPropertyEditorColor extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  return html`
13
- <ox-input-color id="editor" .value=${value} placeholder=${spec.placeholder || ''} .properties=${spec.property}>
13
+ <ox-input-color
14
+ id="editor"
15
+ .value=${value}
16
+ placeholder=${spec.placeholder || ''}
17
+ .properties=${spec.property}
18
+ ?disabled=${this.disabled}
19
+ >
14
20
  </ox-input-color>
15
21
  `
16
22
  }
@@ -11,6 +11,9 @@ export class OxPropertyEditorCrontab extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  const { fullwidth = true } = spec.editor || {}
13
13
 
14
- return html` <ox-input-crontab id="editor" .value=${value} ?fullwidth=${fullwidth}> </ox-input-crontab> `
14
+ return html`
15
+ <ox-input-crontab id="editor" .value=${value} ?fullwidth=${fullwidth} ?disabled=${this.disabled}>
16
+ </ox-input-crontab>
17
+ `
15
18
  }
16
19
  }
@@ -11,6 +11,13 @@ export class OxPropertyEditorData extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  const { fullwidth = true } = spec.editor || {}
13
13
 
14
- return html` <ox-input-data id="editor" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-data> `
14
+ return html`
15
+ <ox-input-data
16
+ id="editor"
17
+ .value=${value || []}
18
+ ?fullwidth=${fullwidth}
19
+ ?disabled=${this.disabled}
20
+ ></ox-input-data>
21
+ `
15
22
  }
16
23
  }
@@ -7,6 +7,6 @@ import { PropertySpec } from './types.js'
7
7
  @customElement('ox-property-editor-date')
8
8
  export class OxPropertyEditorDate extends OxPropertyEditor {
9
9
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
10
- return html` <input type="date" id="editor" .value=${value} /> `
10
+ return html` <input type="date" id="editor" .value=${value} ?disabled=${this.disabled} /> `
11
11
  }
12
12
  }
@@ -11,6 +11,9 @@ export class OxPropertyEditorDuration extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  const { fullwidth = true } = spec.editor || {}
13
13
 
14
- return html` <ox-input-duration id="editor" .value=${value} ?fullwidth=${fullwidth}> </ox-input-duration> `
14
+ return html`
15
+ <ox-input-duration id="editor" .value=${value} ?fullwidth=${fullwidth} ?disabled=${this.disabled}>
16
+ </ox-input-duration>
17
+ `
15
18
  }
16
19
  }
@@ -14,7 +14,13 @@ export class OxPropertyEditorFile extends OxPropertyEditor {
14
14
  const { fullwidth = false } = spec.editor || {}
15
15
 
16
16
  return html`
17
- <ox-input-file id="editor" .value=${value || []} ?multiple=${multiple} ?fullwidth=${fullwidth}></ox-input-file>
17
+ <ox-input-file
18
+ id="editor"
19
+ .value=${value || []}
20
+ ?multiple=${multiple}
21
+ ?fullwidth=${fullwidth}
22
+ ?disabled=${this.disabled}
23
+ ></ox-input-file>
18
24
  `
19
25
  }
20
26
  }
@@ -19,6 +19,7 @@ export class OxPropertyEditorGradientColorStops extends OxPropertyEditor {
19
19
  .min=${spec.property && spec.property.min}
20
20
  .max=${spec.property && spec.property.max}
21
21
  ?fullwidth=${fullwidth}
22
+ ?disabled=${this.disabled}
22
23
  >
23
24
  </ox-input-color-stops>
24
25
  `
@@ -9,7 +9,13 @@ import { PropertySpec } from './types.js'
9
9
  export class OxPropertyEditorHashtags extends OxPropertyEditor {
10
10
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
11
11
  return html`
12
- <ox-input-hashtags type="text" id="editor" .value=${value || ''} placeholder=${spec.placeholder || ''}>
12
+ <ox-input-hashtags
13
+ type="text"
14
+ id="editor"
15
+ .value=${value || ''}
16
+ placeholder=${spec.placeholder || ''}
17
+ ?disabled=${this.disabled}
18
+ >
13
19
  </ox-input-hashtags>
14
20
  `
15
21
  }
@@ -15,6 +15,8 @@ export class OxPropertyEditorImage extends OxPropertyEditor {
15
15
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
16
16
  const { fullwidth = false } = spec.editor || {}
17
17
 
18
- return html` <ox-input-image id="editor" .value=${value} ?fullwidth=${fullwidth}></ox-input-image> `
18
+ return html`
19
+ <ox-input-image id="editor" .value=${value} ?fullwidth=${fullwidth} ?disabled=${this.disabled}></ox-input-image>
20
+ `
19
21
  }
20
22
  }
@@ -18,6 +18,7 @@ export class OxPropertyEditorKeyValues extends OxPropertyEditor {
18
18
  .value=${value}
19
19
  .options=${options}
20
20
  ?fullwidth=${fullwidth}
21
+ ?disabled=${this.disabled}
21
22
  ></ox-input-key-values>
22
23
  `
23
24
  }
@@ -18,6 +18,7 @@ export class OxPropertyEditorMassFraction extends OxPropertyEditor {
18
18
  .value=${value}
19
19
  .defaultValue=${defaultValue}
20
20
  ?fullwidth=${fullwidth}
21
+ ?disabled=${this.disabled}
21
22
  ></ox-input-mass-fraction>
22
23
  `
23
24
  }
@@ -7,6 +7,6 @@ import { PropertySpec } from './types.js'
7
7
  @customElement('ox-property-editor-month')
8
8
  export class OxPropertyEditorMonth extends OxPropertyEditor {
9
9
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
10
- return html` <input type="month" id="editor" .value=${value} /> `
10
+ return html` <input type="month" id="editor" .value=${value} ?disabled=${this.disabled} /> `
11
11
  }
12
12
  }
@@ -9,6 +9,8 @@ import { PropertySpec } from './types.js'
9
9
  @customElement('ox-property-editor-multiple-colors')
10
10
  export class OxPropertyEditorMultipleColors extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
- return html` <ox-input-multiple-colors id="editor" .value=${value}> </ox-input-multiple-colors> `
12
+ return html`
13
+ <ox-input-multiple-colors id="editor" .value=${value} ?disabled=${this.disabled}> </ox-input-multiple-colors>
14
+ `
13
15
  }
14
16
  }
@@ -23,6 +23,7 @@ export class OxPropertyEditorNumber extends OxPropertyEditor {
23
23
  step=${ifDefined(step)}
24
24
  min=${ifDefined(min)}
25
25
  max=${ifDefined(max)}
26
+ ?disabled=${this.disabled}
26
27
  />
27
28
  `
28
29
  }
@@ -11,6 +11,13 @@ export class OxPropertyEditorOptions extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  const { fullwidth = false } = spec.editor || {}
13
13
 
14
- return html` <ox-input-options id="editor" .value=${value || []} ?fullwidth=${fullwidth}></ox-input-options> `
14
+ return html`
15
+ <ox-input-options
16
+ id="editor"
17
+ .value=${value || []}
18
+ ?fullwidth=${fullwidth}
19
+ ?disabled=${this.disabled}
20
+ ></ox-input-options>
21
+ `
15
22
  }
16
23
  }
@@ -12,7 +12,12 @@ export class OxPropertyEditorPartitionKeys extends OxPropertyEditor {
12
12
  const { fullwidth = true } = spec.editor || {}
13
13
 
14
14
  return html`
15
- <ox-input-partition-keys id="editor" .value=${value} ?fullwidth=${fullwidth}></ox-input-partition-keys>
15
+ <ox-input-partition-keys
16
+ id="editor"
17
+ .value=${value}
18
+ ?fullwidth=${fullwidth}
19
+ ?disabled=${this.disabled}
20
+ ></ox-input-partition-keys>
16
21
  `
17
22
  }
18
23
  }
@@ -7,6 +7,14 @@ import { PropertySpec } from './types.js'
7
7
  @customElement('ox-property-editor-password')
8
8
  export class OxPropertyEditorPassword extends OxPropertyEditor {
9
9
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
10
- return html` <input type="password" id="editor" .value=${value} placeholder=${spec.placeholder || ''} /> `
10
+ return html`
11
+ <input
12
+ type="password"
13
+ id="editor"
14
+ .value=${value}
15
+ placeholder=${spec.placeholder || ''}
16
+ ?disabled=${this.disabled}
17
+ />
18
+ `
11
19
  }
12
20
  }
@@ -20,6 +20,7 @@ export class OxPropertyEditorRange extends OxPropertyEditor {
20
20
  .min=${min}
21
21
  .max=${max}
22
22
  ?fullwidth=${fullwidth}
23
+ ?disabled=${this.disabled}
23
24
  ></ox-input-range>
24
25
  `
25
26
  }
@@ -10,7 +10,12 @@ import { PropertySpec } from './types.js'
10
10
  export class OxPropertyEditorSceneComponentId extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  return html`
13
- <ox-input-scene-component-id id="editor" .value=${value} .property=${spec.property}></ox-input-scene-component-id>
13
+ <ox-input-scene-component-id
14
+ id="editor"
15
+ .value=${value}
16
+ .property=${spec.property}
17
+ ?disabled=${this.disabled}
18
+ ></ox-input-scene-component-id>
14
19
  `
15
20
  }
16
21
  }
@@ -47,7 +47,13 @@ export class OxPropertyEditorSelect extends OxPropertyEditor {
47
47
  const { fullwidth = false } = spec.editor || {}
48
48
 
49
49
  return html`
50
- <ox-select id="editor" .value=${value} placeholder=${spec.placeholder || ''} ?fullwidth=${fullwidth}>
50
+ <ox-select
51
+ id="editor"
52
+ .value=${value}
53
+ placeholder=${spec.placeholder || ''}
54
+ ?fullwidth=${fullwidth}
55
+ ?disabled=${this.disabled}
56
+ >
51
57
  <ox-popup-list with-search>
52
58
  ${options.map(
53
59
  item => html`
@@ -19,6 +19,7 @@ export class OxPropertyEditorSolidColorStops extends OxPropertyEditor {
19
19
  .min=${spec.property && spec.property.min}
20
20
  .max=${spec.property && spec.property.max}
21
21
  ?fullwidth=${fullwidth}
22
+ ?disabled=${this.disabled}
22
23
  >
23
24
  </ox-input-color-stops>
24
25
  `
@@ -7,6 +7,14 @@ import { PropertySpec } from './types.js'
7
7
  @customElement('ox-property-editor-string')
8
8
  export class OxPropertyEditorString extends OxPropertyEditor {
9
9
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
10
- return html` <input type="text" id="editor" .value=${value || ''} placeholder=${spec.placeholder || ''} /> `
10
+ return html`
11
+ <input
12
+ type="text"
13
+ id="editor"
14
+ .value=${value || ''}
15
+ placeholder=${spec.placeholder || ''}
16
+ ?disabled=${this.disabled}
17
+ />
18
+ `
11
19
  }
12
20
  }
@@ -11,6 +11,13 @@ export class OxPropertyEditorString extends OxPropertyEditor {
11
11
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
12
12
  const { fullwidth = true } = spec.editor || {}
13
13
 
14
- return html` <ox-input-table id="editor" .property=${spec.property} ?fullwidth=${fullwidth}></ox-input-table> `
14
+ return html`
15
+ <ox-input-table
16
+ id="editor"
17
+ .property=${spec.property}
18
+ ?fullwidth=${fullwidth}
19
+ ?disabled=${this.disabled}
20
+ ></ox-input-table>
21
+ `
15
22
  }
16
23
  }
@@ -19,6 +19,7 @@ export class OxPropertyEditorTextArea extends OxPropertyEditor {
19
19
  tab-as-space=${spec.property?.tabAsSpace || 'false'}
20
20
  ?fullwidth=${fullwidth}
21
21
  language=${spec.property?.language || 'javascript'}
22
+ ?disabled=${this.disabled}
22
23
  >
23
24
  </ox-input-code>
24
25
  `
@@ -7,6 +7,6 @@ import { PropertySpec } from './types.js'
7
7
  @customElement('ox-property-editor-time')
8
8
  export class OxPropertyEditorTime extends OxPropertyEditor {
9
9
  editorTemplate(value: any, spec: PropertySpec): TemplateResult {
10
- return html` <input type="time" id="editor" .value=${value} /> `
10
+ return html` <input type="time" id="editor" .value=${value} ?disabled=${this.disabled} /> `
11
11
  }
12
12
  }
@@ -26,6 +26,7 @@ export class OxPropertyEditorNumberUnit extends OxPropertyEditor {
26
26
  .step=${step}
27
27
  .min=${min}
28
28
  .max=${max}
29
+ ?disabled=${this.disabled}
29
30
  ></ox-input-unit-number>
30
31
  `
31
32
  }
@@ -20,6 +20,7 @@ export class OxPropertyEditorValueMap extends OxPropertyEditor {
20
20
  .valuetype=${valuetype}
21
21
  .value=${value}
22
22
  ?fullwidth=${fullwidth}
23
+ ?disabled=${this.disabled}
23
24
  ></ox-input-value-map>
24
25
  `
25
26
  }
@@ -20,6 +20,7 @@ export class OxPropertyEditorValueRanges extends OxPropertyEditor {
20
20
  .valuetype=${valuetype}
21
21
  .value=${value}
22
22
  ?fullwidth=${fullwidth}
23
+ ?disabled=${this.disabled}
23
24
  ></ox-input-value-ranges>
24
25
  `
25
26
  }
@@ -12,6 +12,13 @@ export class OxPropertyEditorWorkShift extends OxPropertyEditor {
12
12
  const { editor } = spec
13
13
  const { fullwidth = true } = editor || {}
14
14
 
15
- return html` <ox-input-work-shift id="editor" .value=${value} ?fullwidth=${fullwidth}></ox-input-work-shift> `
15
+ return html`
16
+ <ox-input-work-shift
17
+ id="editor"
18
+ .value=${value}
19
+ ?fullwidth=${fullwidth}
20
+ ?disabled=${this.disabled}
21
+ ></ox-input-work-shift>
22
+ `
16
23
  }
17
24
  }
@@ -127,6 +127,7 @@ export class OxPropertyEditor extends LitElement {
127
127
  @property({ type: Object }) observe?: (value: any) => void
128
128
  @property({ type: Object }) defaultValue?: any
129
129
  @property({ type: Object }) context?: any
130
+ @property({ type: Boolean }) disabled?: boolean
130
131
 
131
132
  connectedCallback() {
132
133
  super.connectedCallback()