@phis/ui 0.8.1 → 0.8.3

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 (223) hide show
  1. package/README.md +9 -2
  2. package/components/calendar/gregory-calendar-adapter-client.js +1 -0
  3. package/components/controls/phi-accordion-control.d.ts +6 -0
  4. package/components/controls/phi-accordion-control.js +8 -13
  5. package/components/controls/phi-background-control.js +2 -5
  6. package/components/controls/phi-builder-insert-picker-control-labels.d.ts +2 -0
  7. package/components/controls/phi-builder-insert-picker-control-labels.js +1 -0
  8. package/components/controls/phi-builder-insert-picker-control.js +10 -11
  9. package/components/controls/phi-cascader-control.d.ts +9 -3
  10. package/components/controls/phi-cascader-control.js +38 -10
  11. package/components/controls/phi-checkbox-group-control.d.ts +3 -1
  12. package/components/controls/phi-checkbox-group-control.js +2 -2
  13. package/components/controls/phi-collapse-control.d.ts +9 -2
  14. package/components/controls/phi-collapse-control.js +14 -2
  15. package/components/controls/phi-color-control.d.ts +3 -1
  16. package/components/controls/phi-color-control.js +2 -2
  17. package/components/controls/phi-color-field-control.d.ts +6 -1
  18. package/components/controls/phi-color-field-control.js +2 -2
  19. package/components/controls/phi-confirm-control.d.ts +1 -1
  20. package/components/controls/phi-confirm-control.js +71 -2
  21. package/components/controls/phi-confirm-dialog.js +2 -1
  22. package/components/controls/phi-date-picker-control.js +1 -1
  23. package/components/controls/phi-dimension-control.d.ts +3 -1
  24. package/components/controls/phi-dimension-control.js +2 -2
  25. package/components/controls/phi-geometry-control.js +1 -1
  26. package/components/controls/phi-length-control.d.ts +6 -1
  27. package/components/controls/phi-length-control.js +3 -2
  28. package/components/controls/phi-multi-select-control.d.ts +6 -1
  29. package/components/controls/phi-multi-select-control.js +3 -3
  30. package/components/controls/phi-segmented-control.d.ts +6 -1
  31. package/components/controls/phi-segmented-control.js +3 -3
  32. package/components/controls/phi-switch-control.d.ts +3 -1
  33. package/components/controls/phi-switch-control.js +3 -3
  34. package/components/controls/phi-table-control.d.ts +8 -1
  35. package/components/controls/phi-table-control.js +11 -5
  36. package/components/forms/compound-form-controls.js +16 -1
  37. package/components/layouts/clients/phi-collapsible-layout-client.js +2 -6
  38. package/components/media/media-upload-flow.d.ts +62 -5
  39. package/components/media/media-upload-flow.js +62 -24
  40. package/components/media/media-widget-labels.d.ts +2 -0
  41. package/components/media/media-widget-labels.js +2 -0
  42. package/components/media/phi-area-upload-widget.d.ts +44 -1
  43. package/components/media/phi-area-upload-widget.js +32 -7
  44. package/components/media/phi-asset-inspector-section.js +19 -1
  45. package/components/media/phi-media-upload.d.ts +10 -3
  46. package/components/media/phi-media-upload.js +11 -8
  47. package/components/regions/presets/phi-area-shell-preset-nodes.js +2 -0
  48. package/components/shell/phi-builder-icon.js +9 -1
  49. package/components/shell/phi-widget-icon.js +1 -0
  50. package/components/tables/phi-table-surface.d.ts +25 -0
  51. package/components/tables/phi-table-surface.js +25 -0
  52. package/components/widgets/builder/phi-static-rows-editor.js +4 -1
  53. package/components/widgets/client/html-editor-link-node.d.ts +12 -0
  54. package/components/widgets/client/html-editor-link-node.js +60 -0
  55. package/components/widgets/client/html-editor.js +10 -6
  56. package/components/widgets/client/shared/phi-choice-controller.d.ts +8 -1
  57. package/components/widgets/client/shared/phi-choice-controller.js +16 -1
  58. package/components/widgets/client/shared/phi-collection-view-binding.js +33 -26
  59. package/components/widgets/config/choice-shared.d.ts +2 -0
  60. package/components/widgets/config/choice-shared.js +1 -0
  61. package/components/widgets/config/image-variant-options.d.ts +4 -1
  62. package/components/widgets/config/image-variant-options.js +27 -14
  63. package/components/widgets/inspector-field-row.d.ts +14 -1
  64. package/components/widgets/inspector-field-row.js +21 -1
  65. package/components/widgets/label-sets/builder-chrome.js +2 -0
  66. package/components/widgets/label-sets/inspector.js +10 -0
  67. package/components/widgets/label-sets/security.js +2 -0
  68. package/components/widgets/label-types/inspector.d.ts +5 -0
  69. package/components/widgets/label-types/inspector.js +5 -0
  70. package/components/widgets/label-types/security.d.ts +2 -0
  71. package/components/widgets/signals/signal-endpoint-list.js +4 -1
  72. package/constants/cms-widget-types.d.ts +1 -0
  73. package/constants/cms-widget-types.js +3 -0
  74. package/constants/runtime-module-ownership.js +1 -0
  75. package/gateway/site-proxy.d.ts +12 -0
  76. package/gateway/site-proxy.js +20 -0
  77. package/helpers/cms-inspector-drawer.d.ts +15 -0
  78. package/helpers/cms-inspector-drawer.js +37 -0
  79. package/helpers/cms-layout-defaults.js +1 -1
  80. package/helpers/preset-tree-contract-check.js +56 -0
  81. package/helpers/text-source.js +2 -0
  82. package/net/phi-next-proxy.d.ts +7 -0
  83. package/net/phi-next-proxy.js +1 -1
  84. package/package.json +27 -14
  85. package/plugins/runtime-modules/accounting/definition.d.ts +1 -1
  86. package/plugins/runtime-modules/accounting/definition.js +0 -1
  87. package/plugins/runtime-modules/accounting/ids.d.ts +4 -4
  88. package/plugins/runtime-modules/accounting/ids.js +4 -2
  89. package/plugins/runtime-modules/accounting/module.d.ts +1 -1
  90. package/plugins/runtime-modules/accounting/trees/accounting-customer-file-label-set.js +2 -1
  91. package/plugins/runtime-modules/accounting/trees/phi-default-accounting-customer-file-page-tree.d.ts +5 -4
  92. package/plugins/runtime-modules/accounting/trees/phi-default-accounting-customer-file-page-tree.js +80 -38
  93. package/plugins/runtime-modules/admin/definition.d.ts +1 -1
  94. package/plugins/runtime-modules/admin/definition.js +0 -1
  95. package/plugins/runtime-modules/admin/module.d.ts +1 -1
  96. package/plugins/runtime-modules/app/definition.d.ts +1 -1
  97. package/plugins/runtime-modules/app/definition.js +0 -1
  98. package/plugins/runtime-modules/app/module.d.ts +1 -1
  99. package/plugins/runtime-modules/area-base-definition.d.ts +19 -1
  100. package/plugins/runtime-modules/area-base-definition.js +18 -0
  101. package/plugins/runtime-modules/area-contributions/admin.d.ts +1 -1
  102. package/plugins/runtime-modules/area-contributions/admin.js +2 -0
  103. package/plugins/runtime-modules/area-definitions.d.ts +8 -8
  104. package/plugins/runtime-modules/area-definitions.js +4 -3
  105. package/plugins/runtime-modules/area-root-route.d.ts +8 -0
  106. package/plugins/runtime-modules/area-root-route.js +11 -1
  107. package/plugins/runtime-modules/asset/labels.js +4 -0
  108. package/plugins/runtime-modules/asset/metadata-form.d.ts +0 -28
  109. package/plugins/runtime-modules/asset/metadata-form.js +6 -10
  110. package/plugins/runtime-modules/asset/services/options.d.ts +3 -2
  111. package/plugins/runtime-modules/asset/services/options.js +4 -3
  112. package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +2 -1
  113. package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +3 -3
  114. package/plugins/runtime-modules/auth/widgets/security/client.js +2 -2
  115. package/plugins/runtime-modules/avatar/addresses.d.ts +1 -1
  116. package/plugins/runtime-modules/builder/addresses.d.ts +1 -1
  117. package/plugins/runtime-modules/builder/addresses.js +1 -1
  118. package/plugins/runtime-modules/builder/area-settings-form.js +1 -1
  119. package/plugins/runtime-modules/builder/clients/inspector-condition-group.d.ts +16 -0
  120. package/plugins/runtime-modules/builder/clients/inspector-condition-group.js +9 -0
  121. package/plugins/runtime-modules/builder/clients/inspector-config-field.js +97 -10
  122. package/plugins/runtime-modules/builder/clients/pages-header.js +7 -6
  123. package/plugins/runtime-modules/builder/clients/region-visibility-fields.js +1 -1
  124. package/plugins/runtime-modules/builder/controller/workspace-controller.js +7 -4
  125. package/plugins/runtime-modules/builder/definition.d.ts +1 -1
  126. package/plugins/runtime-modules/builder/definition.js +0 -1
  127. package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +10 -4
  128. package/plugins/runtime-modules/builder/offered-page-catalog.js +35 -8
  129. package/plugins/runtime-modules/builder/page-meta-form.js +5 -2
  130. package/plugins/runtime-modules/builder/plugin-meta-labels.js +8 -0
  131. package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +4 -2
  132. package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +20 -13
  133. package/plugins/runtime-modules/builder/workspace-catalog-actions.js +8 -1
  134. package/plugins/runtime-modules/cdn/authoring-widgets.d.ts +3 -0
  135. package/plugins/runtime-modules/cdn/authoring-widgets.js +7 -0
  136. package/plugins/runtime-modules/cdn/authoring.d.ts +1 -0
  137. package/plugins/runtime-modules/cdn/authoring.js +8 -0
  138. package/plugins/runtime-modules/cdn/bytes.d.ts +5 -0
  139. package/plugins/runtime-modules/cdn/bytes.js +17 -0
  140. package/plugins/runtime-modules/cdn/client-data-providers.d.ts +7 -0
  141. package/plugins/runtime-modules/cdn/client-data-providers.js +9 -0
  142. package/plugins/runtime-modules/cdn/data-providers.d.ts +134 -0
  143. package/plugins/runtime-modules/cdn/data-providers.js +117 -0
  144. package/plugins/runtime-modules/cdn/definition.d.ts +140 -0
  145. package/plugins/runtime-modules/cdn/definition.js +23 -0
  146. package/plugins/runtime-modules/cdn/ids.d.ts +18 -0
  147. package/plugins/runtime-modules/cdn/ids.js +20 -0
  148. package/plugins/runtime-modules/cdn/module.d.ts +131 -0
  149. package/plugins/runtime-modules/cdn/module.js +4 -0
  150. package/plugins/runtime-modules/cdn/platform.d.ts +25 -0
  151. package/plugins/runtime-modules/cdn/platform.js +73 -0
  152. package/plugins/runtime-modules/cdn/presets.d.ts +2 -0
  153. package/plugins/runtime-modules/cdn/presets.js +20 -0
  154. package/plugins/runtime-modules/cdn/server.d.ts +1 -0
  155. package/plugins/runtime-modules/cdn/server.js +14 -0
  156. package/plugins/runtime-modules/cdn/services/table.d.ts +11 -0
  157. package/plugins/runtime-modules/cdn/services/table.js +296 -0
  158. package/plugins/runtime-modules/cdn/services/upload.d.ts +20 -0
  159. package/plugins/runtime-modules/cdn/services/upload.js +146 -0
  160. package/plugins/runtime-modules/cdn/table-params.d.ts +10 -0
  161. package/plugins/runtime-modules/cdn/table-params.js +10 -0
  162. package/plugins/runtime-modules/cdn/trees/admin-cdn-label-set.d.ts +95 -0
  163. package/plugins/runtime-modules/cdn/trees/admin-cdn-label-set.js +156 -0
  164. package/plugins/runtime-modules/cdn/trees/phi-default-admin-cdn-page-tree.d.ts +18 -0
  165. package/plugins/runtime-modules/cdn/trees/phi-default-admin-cdn-page-tree.js +491 -0
  166. package/plugins/runtime-modules/cdn/widgets/upload/client.d.ts +12 -0
  167. package/plugins/runtime-modules/cdn/widgets/upload/client.js +138 -0
  168. package/plugins/runtime-modules/cdn/widgets/upload/config.d.ts +29 -0
  169. package/plugins/runtime-modules/cdn/widgets/upload/config.js +43 -0
  170. package/plugins/runtime-modules/cdn/widgets/upload/label-types.d.ts +24 -0
  171. package/plugins/runtime-modules/cdn/widgets/upload/label-types.js +1 -0
  172. package/plugins/runtime-modules/cdn/widgets/upload/labels.d.ts +4 -0
  173. package/plugins/runtime-modules/cdn/widgets/upload/labels.js +72 -0
  174. package/plugins/runtime-modules/cdn/widgets/upload/plugin.d.ts +3 -0
  175. package/plugins/runtime-modules/cdn/widgets/upload/plugin.js +7 -0
  176. package/plugins/runtime-modules/cdn/widgets/upload/server.d.ts +8 -0
  177. package/plugins/runtime-modules/cdn/widgets/upload/server.js +17 -0
  178. package/plugins/runtime-modules/cdn/widgets.d.ts +2 -0
  179. package/plugins/runtime-modules/cdn/widgets.js +13 -0
  180. package/plugins/runtime-modules/client-authoring-providers/admin.d.ts +1 -1
  181. package/plugins/runtime-modules/client-authoring-providers/admin.js +6 -0
  182. package/plugins/runtime-modules/client-manifests/admin.js +11 -1
  183. package/plugins/runtime-modules/core/authoring-widgets.js +2 -1
  184. package/plugins/runtime-modules/core/messaging/label-defaults.d.ts +49 -0
  185. package/plugins/runtime-modules/core/messaging/label-defaults.js +48 -0
  186. package/plugins/runtime-modules/core/messaging/labels.d.ts +2 -28
  187. package/plugins/runtime-modules/core/messaging/labels.js +52 -23
  188. package/plugins/runtime-modules/core/widgets/card/config.d.ts +14 -0
  189. package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +1 -1
  190. package/plugins/runtime-modules/core/widgets/collection-view/site-address-binding.js +3 -1
  191. package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +14 -0
  192. package/plugins/runtime-modules/core/widgets/description/config.d.ts +14 -0
  193. package/plugins/runtime-modules/core/widgets/entry-list/config.d.ts +14 -0
  194. package/plugins/runtime-modules/core/widgets/float-button/config.d.ts +14 -0
  195. package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +14 -0
  196. package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +14 -0
  197. package/plugins/runtime-modules/core/widgets/result/config.d.ts +14 -0
  198. package/plugins/runtime-modules/core/widgets/select-box/client.js +13 -4
  199. package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -0
  200. package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +14 -0
  201. package/plugins/runtime-modules/core/widgets/table/client.js +17 -8
  202. package/plugins/runtime-modules/core/widgets/table/config.d.ts +1 -1143
  203. package/plugins/runtime-modules/core/widgets/table/config.js +144 -125
  204. package/plugins/runtime-modules/core/widgets/thread-conversation/authoring.d.ts +2 -0
  205. package/plugins/runtime-modules/core/widgets/thread-conversation/authoring.js +76 -0
  206. package/plugins/runtime-modules/core/widgets/thread-conversation/client.d.ts +44 -1
  207. package/plugins/runtime-modules/core/widgets/thread-conversation/client.js +28 -13
  208. package/plugins/runtime-modules/editor/definition.d.ts +1 -1
  209. package/plugins/runtime-modules/editor/definition.js +0 -1
  210. package/plugins/runtime-modules/editor/module.d.ts +1 -1
  211. package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +16 -8
  212. package/plugins/runtime-modules/public/definition.d.ts +1 -1
  213. package/plugins/runtime-modules/public/definition.js +0 -1
  214. package/plugins/runtime-modules/public/module.d.ts +1 -1
  215. package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +109 -86
  216. package/plugins/runtime-modules/threads/controller/client.js +10 -12
  217. package/plugins/runtime-modules/threads/controller/definition.d.ts +6 -0
  218. package/plugins/runtime-modules/threads/controller/definition.js +17 -6
  219. package/styles/controls.css +49 -1
  220. package/styles/layout.css +3 -2
  221. package/types/calendar.d.ts +5 -0
  222. package/types/cms-plugins.d.ts +30 -10
  223. package/types/table-widget.d.ts +8 -2
@@ -62,1149 +62,7 @@ export declare const PHI_TABLE_WIDGET_DEFINITION: {
62
62
  valueSchema: `${string}/signals/${string}`;
63
63
  })[];
64
64
  };
65
- fields: (({
66
- key: string;
67
- label: string;
68
- description?: string;
69
- required?: boolean;
70
- editorPlacement?: "inspector" | "geometry" | "toolbar";
71
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
72
- heading?: string;
73
- } & {
74
- type: "string" | "url" | "icon";
75
- emptyValue?: "";
76
- placeholder?: string;
77
- text?: false | "label" | "message";
78
- }) | ({
79
- key: string;
80
- label: string;
81
- description?: string;
82
- required?: boolean;
83
- editorPlacement?: "inspector" | "geometry" | "toolbar";
84
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
85
- heading?: string;
86
- } & {
87
- type: "link-target";
88
- clearsWhenEmpty?: readonly string[];
89
- }) | ({
90
- key: string;
91
- label: string;
92
- description?: string;
93
- required?: boolean;
94
- editorPlacement?: "inspector" | "geometry" | "toolbar";
95
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
96
- heading?: string;
97
- } & {
98
- type: "readonly";
99
- }) | ({
100
- key: string;
101
- label: string;
102
- description?: string;
103
- required?: boolean;
104
- editorPlacement?: "inspector" | "geometry" | "toolbar";
105
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
106
- heading?: string;
107
- } & {
108
- type: "data-provider";
109
- providerKind?: import("../../../../../types").PhiRuntimeDataProviderKind | readonly import("../../../../../types").PhiRuntimeDataProviderKind[];
110
- providerKey?: import("@phis/contracts/controls").PhiRuntimeDataProviderKey;
111
- }) | ({
112
- key: string;
113
- label: string;
114
- description?: string;
115
- required?: boolean;
116
- editorPlacement?: "inspector" | "geometry" | "toolbar";
117
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
118
- heading?: string;
119
- } & {
120
- type: "calendar-adapter";
121
- }) | ({
122
- key: string;
123
- label: string;
124
- description?: string;
125
- required?: boolean;
126
- editorPlacement?: "inspector" | "geometry" | "toolbar";
127
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
128
- heading?: string;
129
- } & {
130
- type: "video-provider";
131
- }) | ({
132
- key: string;
133
- label: string;
134
- description?: string;
135
- required?: boolean;
136
- editorPlacement?: "inspector" | "geometry" | "toolbar";
137
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
138
- heading?: string;
139
- } & {
140
- type: "record-field";
141
- kinds: readonly import("../../../../../module-records").PhiRecordFieldKind[];
142
- }) | ({
143
- key: string;
144
- label: string;
145
- description?: string;
146
- required?: boolean;
147
- editorPlacement?: "inspector" | "geometry" | "toolbar";
148
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
149
- heading?: string;
150
- } & {
151
- type: "dimension";
152
- widthKey?: string;
153
- heightKey?: string;
154
- widthPlaceholder?: string;
155
- heightPlaceholder?: string;
156
- patchOnChange?: Record<string, unknown>;
157
- }) | ({
158
- key: string;
159
- label: string;
160
- description?: string;
161
- required?: boolean;
162
- editorPlacement?: "inspector" | "geometry" | "toolbar";
163
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
164
- heading?: string;
165
- } & {
166
- type: "length";
167
- min?: number;
168
- max?: number;
169
- step?: number;
170
- precision?: number;
171
- }) | ({
172
- key: string;
173
- label: string;
174
- description?: string;
175
- required?: boolean;
176
- editorPlacement?: "inspector" | "geometry" | "toolbar";
177
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
178
- heading?: string;
179
- } & {
180
- type: "radius";
181
- topLeftKey: string;
182
- topRightKey: string;
183
- bottomLeftKey: string;
184
- bottomRightKey: string;
185
- }) | ({
186
- key: string;
187
- label: string;
188
- description?: string;
189
- required?: boolean;
190
- editorPlacement?: "inspector" | "geometry" | "toolbar";
191
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
192
- heading?: string;
193
- } & {
194
- type: "padding";
195
- paddingKey?: string;
196
- gapKey?: string;
197
- paddingTopKey?: string;
198
- paddingRightKey?: string;
199
- paddingBottomKey?: string;
200
- paddingLeftKey?: string;
201
- section?: string;
202
- }) | ({
203
- key: string;
204
- label: string;
205
- description?: string;
206
- required?: boolean;
207
- editorPlacement?: "inspector" | "geometry" | "toolbar";
208
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
209
- heading?: string;
210
- } & {
211
- type: "color";
212
- mode?: import("../../../../../types").PhiCmsConfigFieldColorMode;
213
- defaultToken?: import("../../../../../theme/phi-theme-tokens").PhiThemeTokenKey;
214
- section?: string;
215
- }) | ({
216
- key: string;
217
- label: string;
218
- description?: string;
219
- required?: boolean;
220
- editorPlacement?: "inspector" | "geometry" | "toolbar";
221
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
222
- heading?: string;
223
- } & {
224
- type: "boolean";
225
- }) | ({
226
- key: string;
227
- label: string;
228
- description?: string;
229
- required?: boolean;
230
- editorPlacement?: "inspector" | "geometry" | "toolbar";
231
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
232
- heading?: string;
233
- } & {
234
- type: "image";
235
- }) | ({
236
- key: string;
237
- label: string;
238
- description?: string;
239
- required?: boolean;
240
- editorPlacement?: "inspector" | "geometry" | "toolbar";
241
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
242
- heading?: string;
243
- } & {
244
- type: "slot-texts";
245
- }) | ({
246
- key: string;
247
- label: string;
248
- description?: string;
249
- required?: boolean;
250
- editorPlacement?: "inspector" | "geometry" | "toolbar";
251
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
252
- heading?: string;
253
- } & {
254
- type: "number-list";
255
- min?: number;
256
- }) | ({
257
- key: string;
258
- label: string;
259
- description?: string;
260
- required?: boolean;
261
- editorPlacement?: "inspector" | "geometry" | "toolbar";
262
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
263
- heading?: string;
264
- } & {
265
- type: "flags";
266
- options: readonly {
267
- value: number;
268
- label: string;
269
- }[];
270
- }) | ({
271
- key: string;
272
- label: string;
273
- description?: string;
274
- required?: boolean;
275
- editorPlacement?: "inspector" | "geometry" | "toolbar";
276
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
277
- heading?: string;
278
- } & {
279
- type: "number";
280
- min?: number;
281
- max?: number;
282
- step?: number;
283
- precision?: number;
284
- prefix?: string;
285
- presentation?: "slider";
286
- suffix?: string;
287
- }) | ({
288
- key: string;
289
- label: string;
290
- description?: string;
291
- required?: boolean;
292
- editorPlacement?: "inspector" | "geometry" | "toolbar";
293
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
294
- heading?: string;
295
- } & {
296
- type: "choice";
297
- valueType: "number";
298
- options: import("@phis/contracts/controls").PhiControlOption<number>[];
299
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
300
- emptyValue?: null | undefined;
301
- placeholder?: string;
302
- mode?: never;
303
- presentation?: never;
304
- optionsProvider?: never;
305
- allowCustom?: never;
306
- createBehavior?: never;
307
- filter?: never;
308
- patchOnChange?: never;
309
- optionPresets?: never;
310
- }) | ({
311
- key: string;
312
- label: string;
313
- description?: string;
314
- required?: boolean;
315
- editorPlacement?: "inspector" | "geometry" | "toolbar";
316
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
317
- heading?: string;
318
- } & {
319
- type: "choice";
320
- mode?: import("../../../../../types").PhiCmsConfigFieldChoiceMode;
321
- valueType?: Exclude<import("../../../../../types").PhiCmsConfigFieldChoiceValueType, "number">;
322
- presentation?: import("../../../../../types").PhiCmsConfigFieldChoicePresentation;
323
- options?: import("@phis/contracts/controls").PhiControlOption[];
324
- optionsProvider?: import("@phis/contracts/controls").PhiControlOptionsProviderConfig;
325
- allowCustom?: boolean;
326
- createBehavior?: import("../../../../../types").PhiCmsConfigFieldChoiceCreateBehavior;
327
- placeholder?: string;
328
- filter?: import("../../../../../types").PhiCmsConfigFieldChoiceFilter;
329
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
330
- emptyValue?: null | undefined;
331
- patchOnChange?: Record<string, unknown>;
332
- optionPresets?: import("../../../../../types/cms-plugins").PhiCmsConfigFieldOptionPresets;
333
- }) | ({
334
- key: string;
335
- label: string;
336
- description?: string;
337
- required?: boolean;
338
- editorPlacement?: "inspector" | "geometry" | "toolbar";
339
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
340
- heading?: string;
341
- } & {
342
- type: "collection";
343
- itemKeyField: string;
344
- itemLabelField?: string;
345
- itemFields: PhiCmsConfigField[];
346
- defaultItem?: Record<string, unknown>;
347
- addLabel?: string;
348
- emptyLabel?: string;
349
- minItems?: number;
350
- maxItems?: number;
351
- reorderable?: boolean;
352
- presentation?: import("../../../../../types").PhiCmsConfigFieldCollectionPresentation;
353
- editLabel?: string;
354
- }) | ({
355
- key: string;
356
- label: string;
357
- description?: string;
358
- required?: boolean;
359
- editorPlacement?: "inspector" | "geometry" | "toolbar";
360
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
361
- heading?: string;
362
- } & {
363
- type: "surface";
364
- tone?: false;
365
- }) | ({
366
- key: string;
367
- label: string;
368
- description?: string;
369
- required?: boolean;
370
- editorPlacement?: "inspector" | "geometry" | "toolbar";
371
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
372
- heading?: string;
373
- } & {
374
- type: "background-overlay";
375
- }) | ({
376
- key: string;
377
- label: string;
378
- description?: string;
379
- required?: boolean;
380
- editorPlacement?: "inspector" | "geometry" | "toolbar";
381
- visibleWhen?: import("../../../../../types").PhiCmsConfigFieldVisibilityRule | readonly import("../../../../../types").PhiCmsConfigFieldVisibilityRule[];
382
- heading?: string;
383
- } & {
384
- type: "grid-placement" | "column-count";
385
- section?: string;
386
- }) | {
387
- visibleWhen: {
388
- field: string;
389
- notEquals: string;
390
- };
391
- key: string;
392
- label: string;
393
- description?: string;
394
- required?: boolean;
395
- editorPlacement?: "inspector" | "geometry" | "toolbar";
396
- heading?: string;
397
- type: "string" | "url" | "icon";
398
- emptyValue?: "";
399
- placeholder?: string;
400
- text?: false | "label" | "message";
401
- } | {
402
- visibleWhen: {
403
- field: string;
404
- notEquals: string;
405
- };
406
- key: string;
407
- label: string;
408
- description?: string;
409
- required?: boolean;
410
- editorPlacement?: "inspector" | "geometry" | "toolbar";
411
- heading?: string;
412
- type: "link-target";
413
- clearsWhenEmpty?: readonly string[];
414
- } | {
415
- visibleWhen: {
416
- field: string;
417
- notEquals: string;
418
- };
419
- key: string;
420
- label: string;
421
- description?: string;
422
- required?: boolean;
423
- editorPlacement?: "inspector" | "geometry" | "toolbar";
424
- heading?: string;
425
- type: "readonly";
426
- } | {
427
- visibleWhen: {
428
- field: string;
429
- notEquals: string;
430
- };
431
- key: string;
432
- label: string;
433
- description?: string;
434
- required?: boolean;
435
- editorPlacement?: "inspector" | "geometry" | "toolbar";
436
- heading?: string;
437
- type: "data-provider";
438
- providerKind?: import("../../../../../types").PhiRuntimeDataProviderKind | readonly import("../../../../../types").PhiRuntimeDataProviderKind[];
439
- providerKey?: import("@phis/contracts/controls").PhiRuntimeDataProviderKey;
440
- } | {
441
- visibleWhen: {
442
- field: string;
443
- notEquals: string;
444
- };
445
- key: string;
446
- label: string;
447
- description?: string;
448
- required?: boolean;
449
- editorPlacement?: "inspector" | "geometry" | "toolbar";
450
- heading?: string;
451
- type: "calendar-adapter";
452
- } | {
453
- visibleWhen: {
454
- field: string;
455
- notEquals: string;
456
- };
457
- key: string;
458
- label: string;
459
- description?: string;
460
- required?: boolean;
461
- editorPlacement?: "inspector" | "geometry" | "toolbar";
462
- heading?: string;
463
- type: "video-provider";
464
- } | {
465
- visibleWhen: {
466
- field: string;
467
- notEquals: string;
468
- };
469
- key: string;
470
- label: string;
471
- description?: string;
472
- required?: boolean;
473
- editorPlacement?: "inspector" | "geometry" | "toolbar";
474
- heading?: string;
475
- type: "record-field";
476
- kinds: readonly import("../../../../../module-records").PhiRecordFieldKind[];
477
- } | {
478
- visibleWhen: {
479
- field: string;
480
- notEquals: string;
481
- };
482
- key: string;
483
- label: string;
484
- description?: string;
485
- required?: boolean;
486
- editorPlacement?: "inspector" | "geometry" | "toolbar";
487
- heading?: string;
488
- type: "dimension";
489
- widthKey?: string;
490
- heightKey?: string;
491
- widthPlaceholder?: string;
492
- heightPlaceholder?: string;
493
- patchOnChange?: Record<string, unknown>;
494
- } | {
495
- visibleWhen: {
496
- field: string;
497
- notEquals: string;
498
- };
499
- key: string;
500
- label: string;
501
- description?: string;
502
- required?: boolean;
503
- editorPlacement?: "inspector" | "geometry" | "toolbar";
504
- heading?: string;
505
- type: "length";
506
- min?: number;
507
- max?: number;
508
- step?: number;
509
- precision?: number;
510
- } | {
511
- visibleWhen: {
512
- field: string;
513
- notEquals: string;
514
- };
515
- key: string;
516
- label: string;
517
- description?: string;
518
- required?: boolean;
519
- editorPlacement?: "inspector" | "geometry" | "toolbar";
520
- heading?: string;
521
- type: "radius";
522
- topLeftKey: string;
523
- topRightKey: string;
524
- bottomLeftKey: string;
525
- bottomRightKey: string;
526
- } | {
527
- visibleWhen: {
528
- field: string;
529
- notEquals: string;
530
- };
531
- key: string;
532
- label: string;
533
- description?: string;
534
- required?: boolean;
535
- editorPlacement?: "inspector" | "geometry" | "toolbar";
536
- heading?: string;
537
- type: "padding";
538
- paddingKey?: string;
539
- gapKey?: string;
540
- paddingTopKey?: string;
541
- paddingRightKey?: string;
542
- paddingBottomKey?: string;
543
- paddingLeftKey?: string;
544
- section?: string;
545
- } | {
546
- visibleWhen: {
547
- field: string;
548
- notEquals: string;
549
- };
550
- key: string;
551
- label: string;
552
- description?: string;
553
- required?: boolean;
554
- editorPlacement?: "inspector" | "geometry" | "toolbar";
555
- heading?: string;
556
- type: "color";
557
- mode?: import("../../../../../types").PhiCmsConfigFieldColorMode;
558
- defaultToken?: import("../../../../../theme/phi-theme-tokens").PhiThemeTokenKey;
559
- section?: string;
560
- } | {
561
- visibleWhen: {
562
- field: string;
563
- notEquals: string;
564
- };
565
- key: string;
566
- label: string;
567
- description?: string;
568
- required?: boolean;
569
- editorPlacement?: "inspector" | "geometry" | "toolbar";
570
- heading?: string;
571
- type: "boolean";
572
- } | {
573
- visibleWhen: {
574
- field: string;
575
- notEquals: string;
576
- };
577
- key: string;
578
- label: string;
579
- description?: string;
580
- required?: boolean;
581
- editorPlacement?: "inspector" | "geometry" | "toolbar";
582
- heading?: string;
583
- type: "image";
584
- } | {
585
- visibleWhen: {
586
- field: string;
587
- notEquals: string;
588
- };
589
- key: string;
590
- label: string;
591
- description?: string;
592
- required?: boolean;
593
- editorPlacement?: "inspector" | "geometry" | "toolbar";
594
- heading?: string;
595
- type: "slot-texts";
596
- } | {
597
- visibleWhen: {
598
- field: string;
599
- notEquals: string;
600
- };
601
- key: string;
602
- label: string;
603
- description?: string;
604
- required?: boolean;
605
- editorPlacement?: "inspector" | "geometry" | "toolbar";
606
- heading?: string;
607
- type: "number-list";
608
- min?: number;
609
- } | {
610
- visibleWhen: {
611
- field: string;
612
- notEquals: string;
613
- };
614
- key: string;
615
- label: string;
616
- description?: string;
617
- required?: boolean;
618
- editorPlacement?: "inspector" | "geometry" | "toolbar";
619
- heading?: string;
620
- type: "flags";
621
- options: readonly {
622
- value: number;
623
- label: string;
624
- }[];
625
- } | {
626
- visibleWhen: {
627
- field: string;
628
- notEquals: string;
629
- };
630
- key: string;
631
- label: string;
632
- description?: string;
633
- required?: boolean;
634
- editorPlacement?: "inspector" | "geometry" | "toolbar";
635
- heading?: string;
636
- type: "number";
637
- min?: number;
638
- max?: number;
639
- step?: number;
640
- precision?: number;
641
- prefix?: string;
642
- presentation?: "slider";
643
- suffix?: string;
644
- } | {
645
- visibleWhen: {
646
- field: string;
647
- notEquals: string;
648
- };
649
- key: string;
650
- label: string;
651
- description?: string;
652
- required?: boolean;
653
- editorPlacement?: "inspector" | "geometry" | "toolbar";
654
- heading?: string;
655
- type: "choice";
656
- valueType: "number";
657
- options: import("@phis/contracts/controls").PhiControlOption<number>[];
658
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
659
- emptyValue?: null | undefined;
660
- placeholder?: string;
661
- mode?: never;
662
- presentation?: never;
663
- optionsProvider?: never;
664
- allowCustom?: never;
665
- createBehavior?: never;
666
- filter?: never;
667
- patchOnChange?: never;
668
- optionPresets?: never;
669
- } | {
670
- visibleWhen: {
671
- field: string;
672
- notEquals: string;
673
- };
674
- key: string;
675
- label: string;
676
- description?: string;
677
- required?: boolean;
678
- editorPlacement?: "inspector" | "geometry" | "toolbar";
679
- heading?: string;
680
- type: "choice";
681
- mode?: import("../../../../../types").PhiCmsConfigFieldChoiceMode;
682
- valueType?: Exclude<import("../../../../../types").PhiCmsConfigFieldChoiceValueType, "number">;
683
- presentation?: import("../../../../../types").PhiCmsConfigFieldChoicePresentation;
684
- options?: import("@phis/contracts/controls").PhiControlOption[];
685
- optionsProvider?: import("@phis/contracts/controls").PhiControlOptionsProviderConfig;
686
- allowCustom?: boolean;
687
- createBehavior?: import("../../../../../types").PhiCmsConfigFieldChoiceCreateBehavior;
688
- placeholder?: string;
689
- filter?: import("../../../../../types").PhiCmsConfigFieldChoiceFilter;
690
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
691
- emptyValue?: null | undefined;
692
- patchOnChange?: Record<string, unknown>;
693
- optionPresets?: import("../../../../../types/cms-plugins").PhiCmsConfigFieldOptionPresets;
694
- } | {
695
- visibleWhen: {
696
- field: string;
697
- notEquals: string;
698
- };
699
- key: string;
700
- label: string;
701
- description?: string;
702
- required?: boolean;
703
- editorPlacement?: "inspector" | "geometry" | "toolbar";
704
- heading?: string;
705
- type: "collection";
706
- itemKeyField: string;
707
- itemLabelField?: string;
708
- itemFields: PhiCmsConfigField[];
709
- defaultItem?: Record<string, unknown>;
710
- addLabel?: string;
711
- emptyLabel?: string;
712
- minItems?: number;
713
- maxItems?: number;
714
- reorderable?: boolean;
715
- presentation?: import("../../../../../types").PhiCmsConfigFieldCollectionPresentation;
716
- editLabel?: string;
717
- } | {
718
- visibleWhen: {
719
- field: string;
720
- notEquals: string;
721
- };
722
- key: string;
723
- label: string;
724
- description?: string;
725
- required?: boolean;
726
- editorPlacement?: "inspector" | "geometry" | "toolbar";
727
- heading?: string;
728
- type: "surface";
729
- tone?: false;
730
- } | {
731
- visibleWhen: {
732
- field: string;
733
- notEquals: string;
734
- };
735
- key: string;
736
- label: string;
737
- description?: string;
738
- required?: boolean;
739
- editorPlacement?: "inspector" | "geometry" | "toolbar";
740
- heading?: string;
741
- type: "background-overlay";
742
- } | {
743
- visibleWhen: {
744
- field: string;
745
- notEquals: string;
746
- };
747
- key: string;
748
- label: string;
749
- description?: string;
750
- required?: boolean;
751
- editorPlacement?: "inspector" | "geometry" | "toolbar";
752
- heading?: string;
753
- type: "grid-placement" | "column-count";
754
- section?: string;
755
- } | {
756
- key: string;
757
- type: "collection";
758
- presentation: "overlay";
759
- label: string;
760
- itemKeyField: string;
761
- itemLabelField: string;
762
- addLabel: string;
763
- emptyLabel: string;
764
- defaultItem: {
765
- key: string;
766
- fieldKey: string;
767
- title: string;
768
- renderer: string;
769
- sizing: {
770
- mode: string;
771
- };
772
- align: string;
773
- sortable: boolean;
774
- hidden: boolean;
775
- ellipsis: boolean;
776
- tagVariant: string;
777
- };
778
- itemFields: ({
779
- visibleWhen: {
780
- field: string;
781
- equals: boolean;
782
- };
783
- key: string;
784
- label: string;
785
- description?: string;
786
- required?: boolean;
787
- editorPlacement?: "inspector" | "geometry" | "toolbar";
788
- heading?: string;
789
- type: "string" | "url" | "icon";
790
- emptyValue?: "";
791
- placeholder?: string;
792
- text?: false | "label" | "message";
793
- } | {
794
- visibleWhen: {
795
- field: string;
796
- equals: boolean;
797
- };
798
- key: string;
799
- label: string;
800
- description?: string;
801
- required?: boolean;
802
- editorPlacement?: "inspector" | "geometry" | "toolbar";
803
- heading?: string;
804
- type: "link-target";
805
- clearsWhenEmpty?: readonly string[];
806
- } | {
807
- visibleWhen: {
808
- field: string;
809
- equals: boolean;
810
- };
811
- key: string;
812
- label: string;
813
- description?: string;
814
- required?: boolean;
815
- editorPlacement?: "inspector" | "geometry" | "toolbar";
816
- heading?: string;
817
- type: "readonly";
818
- } | {
819
- visibleWhen: {
820
- field: string;
821
- equals: boolean;
822
- };
823
- key: string;
824
- label: string;
825
- description?: string;
826
- required?: boolean;
827
- editorPlacement?: "inspector" | "geometry" | "toolbar";
828
- heading?: string;
829
- type: "data-provider";
830
- providerKind?: import("../../../../../types").PhiRuntimeDataProviderKind | readonly import("../../../../../types").PhiRuntimeDataProviderKind[];
831
- providerKey?: import("@phis/contracts/controls").PhiRuntimeDataProviderKey;
832
- } | {
833
- visibleWhen: {
834
- field: string;
835
- equals: boolean;
836
- };
837
- key: string;
838
- label: string;
839
- description?: string;
840
- required?: boolean;
841
- editorPlacement?: "inspector" | "geometry" | "toolbar";
842
- heading?: string;
843
- type: "calendar-adapter";
844
- } | {
845
- visibleWhen: {
846
- field: string;
847
- equals: boolean;
848
- };
849
- key: string;
850
- label: string;
851
- description?: string;
852
- required?: boolean;
853
- editorPlacement?: "inspector" | "geometry" | "toolbar";
854
- heading?: string;
855
- type: "video-provider";
856
- } | {
857
- visibleWhen: {
858
- field: string;
859
- equals: boolean;
860
- };
861
- key: string;
862
- label: string;
863
- description?: string;
864
- required?: boolean;
865
- editorPlacement?: "inspector" | "geometry" | "toolbar";
866
- heading?: string;
867
- type: "record-field";
868
- kinds: readonly import("../../../../../module-records").PhiRecordFieldKind[];
869
- } | {
870
- visibleWhen: {
871
- field: string;
872
- equals: boolean;
873
- };
874
- key: string;
875
- label: string;
876
- description?: string;
877
- required?: boolean;
878
- editorPlacement?: "inspector" | "geometry" | "toolbar";
879
- heading?: string;
880
- type: "dimension";
881
- widthKey?: string;
882
- heightKey?: string;
883
- widthPlaceholder?: string;
884
- heightPlaceholder?: string;
885
- patchOnChange?: Record<string, unknown>;
886
- } | {
887
- visibleWhen: {
888
- field: string;
889
- equals: boolean;
890
- };
891
- key: string;
892
- label: string;
893
- description?: string;
894
- required?: boolean;
895
- editorPlacement?: "inspector" | "geometry" | "toolbar";
896
- heading?: string;
897
- type: "length";
898
- min?: number;
899
- max?: number;
900
- step?: number;
901
- precision?: number;
902
- } | {
903
- visibleWhen: {
904
- field: string;
905
- equals: boolean;
906
- };
907
- key: string;
908
- label: string;
909
- description?: string;
910
- required?: boolean;
911
- editorPlacement?: "inspector" | "geometry" | "toolbar";
912
- heading?: string;
913
- type: "radius";
914
- topLeftKey: string;
915
- topRightKey: string;
916
- bottomLeftKey: string;
917
- bottomRightKey: string;
918
- } | {
919
- visibleWhen: {
920
- field: string;
921
- equals: boolean;
922
- };
923
- key: string;
924
- label: string;
925
- description?: string;
926
- required?: boolean;
927
- editorPlacement?: "inspector" | "geometry" | "toolbar";
928
- heading?: string;
929
- type: "padding";
930
- paddingKey?: string;
931
- gapKey?: string;
932
- paddingTopKey?: string;
933
- paddingRightKey?: string;
934
- paddingBottomKey?: string;
935
- paddingLeftKey?: string;
936
- section?: string;
937
- } | {
938
- visibleWhen: {
939
- field: string;
940
- equals: boolean;
941
- };
942
- key: string;
943
- label: string;
944
- description?: string;
945
- required?: boolean;
946
- editorPlacement?: "inspector" | "geometry" | "toolbar";
947
- heading?: string;
948
- type: "color";
949
- mode?: import("../../../../../types").PhiCmsConfigFieldColorMode;
950
- defaultToken?: import("../../../../../theme/phi-theme-tokens").PhiThemeTokenKey;
951
- section?: string;
952
- } | {
953
- visibleWhen: {
954
- field: string;
955
- equals: boolean;
956
- };
957
- key: string;
958
- label: string;
959
- description?: string;
960
- required?: boolean;
961
- editorPlacement?: "inspector" | "geometry" | "toolbar";
962
- heading?: string;
963
- type: "boolean";
964
- } | {
965
- visibleWhen: {
966
- field: string;
967
- equals: boolean;
968
- };
969
- key: string;
970
- label: string;
971
- description?: string;
972
- required?: boolean;
973
- editorPlacement?: "inspector" | "geometry" | "toolbar";
974
- heading?: string;
975
- type: "image";
976
- } | {
977
- visibleWhen: {
978
- field: string;
979
- equals: boolean;
980
- };
981
- key: string;
982
- label: string;
983
- description?: string;
984
- required?: boolean;
985
- editorPlacement?: "inspector" | "geometry" | "toolbar";
986
- heading?: string;
987
- type: "slot-texts";
988
- } | {
989
- visibleWhen: {
990
- field: string;
991
- equals: boolean;
992
- };
993
- key: string;
994
- label: string;
995
- description?: string;
996
- required?: boolean;
997
- editorPlacement?: "inspector" | "geometry" | "toolbar";
998
- heading?: string;
999
- type: "number-list";
1000
- min?: number;
1001
- } | {
1002
- visibleWhen: {
1003
- field: string;
1004
- equals: boolean;
1005
- };
1006
- key: string;
1007
- label: string;
1008
- description?: string;
1009
- required?: boolean;
1010
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1011
- heading?: string;
1012
- type: "flags";
1013
- options: readonly {
1014
- value: number;
1015
- label: string;
1016
- }[];
1017
- } | {
1018
- visibleWhen: {
1019
- field: string;
1020
- equals: boolean;
1021
- };
1022
- key: string;
1023
- label: string;
1024
- description?: string;
1025
- required?: boolean;
1026
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1027
- heading?: string;
1028
- type: "number";
1029
- min?: number;
1030
- max?: number;
1031
- step?: number;
1032
- precision?: number;
1033
- prefix?: string;
1034
- presentation?: "slider";
1035
- suffix?: string;
1036
- } | {
1037
- visibleWhen: {
1038
- field: string;
1039
- equals: boolean;
1040
- };
1041
- key: string;
1042
- label: string;
1043
- description?: string;
1044
- required?: boolean;
1045
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1046
- heading?: string;
1047
- type: "choice";
1048
- valueType: "number";
1049
- options: import("@phis/contracts/controls").PhiControlOption<number>[];
1050
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
1051
- emptyValue?: null | undefined;
1052
- placeholder?: string;
1053
- mode?: never;
1054
- presentation?: never;
1055
- optionsProvider?: never;
1056
- allowCustom?: never;
1057
- createBehavior?: never;
1058
- filter?: never;
1059
- patchOnChange?: never;
1060
- optionPresets?: never;
1061
- } | {
1062
- visibleWhen: {
1063
- field: string;
1064
- equals: boolean;
1065
- };
1066
- key: string;
1067
- label: string;
1068
- description?: string;
1069
- required?: boolean;
1070
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1071
- heading?: string;
1072
- type: "choice";
1073
- mode?: import("../../../../../types").PhiCmsConfigFieldChoiceMode;
1074
- valueType?: Exclude<import("../../../../../types").PhiCmsConfigFieldChoiceValueType, "number">;
1075
- presentation?: import("../../../../../types").PhiCmsConfigFieldChoicePresentation;
1076
- options?: import("@phis/contracts/controls").PhiControlOption[];
1077
- optionsProvider?: import("@phis/contracts/controls").PhiControlOptionsProviderConfig;
1078
- allowCustom?: boolean;
1079
- createBehavior?: import("../../../../../types").PhiCmsConfigFieldChoiceCreateBehavior;
1080
- placeholder?: string;
1081
- filter?: import("../../../../../types").PhiCmsConfigFieldChoiceFilter;
1082
- emptyOption?: import("@phis/contracts/controls").PhiControlOption;
1083
- emptyValue?: null | undefined;
1084
- patchOnChange?: Record<string, unknown>;
1085
- optionPresets?: import("../../../../../types/cms-plugins").PhiCmsConfigFieldOptionPresets;
1086
- } | {
1087
- visibleWhen: {
1088
- field: string;
1089
- equals: boolean;
1090
- };
1091
- key: string;
1092
- label: string;
1093
- description?: string;
1094
- required?: boolean;
1095
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1096
- heading?: string;
1097
- type: "collection";
1098
- itemKeyField: string;
1099
- itemLabelField?: string;
1100
- itemFields: PhiCmsConfigField[];
1101
- defaultItem?: Record<string, unknown>;
1102
- addLabel?: string;
1103
- emptyLabel?: string;
1104
- minItems?: number;
1105
- maxItems?: number;
1106
- reorderable?: boolean;
1107
- presentation?: import("../../../../../types").PhiCmsConfigFieldCollectionPresentation;
1108
- editLabel?: string;
1109
- } | {
1110
- visibleWhen: {
1111
- field: string;
1112
- equals: boolean;
1113
- };
1114
- key: string;
1115
- label: string;
1116
- description?: string;
1117
- required?: boolean;
1118
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1119
- heading?: string;
1120
- type: "surface";
1121
- tone?: false;
1122
- } | {
1123
- visibleWhen: {
1124
- field: string;
1125
- equals: boolean;
1126
- };
1127
- key: string;
1128
- label: string;
1129
- description?: string;
1130
- required?: boolean;
1131
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1132
- heading?: string;
1133
- type: "background-overlay";
1134
- } | {
1135
- visibleWhen: {
1136
- field: string;
1137
- equals: boolean;
1138
- };
1139
- key: string;
1140
- label: string;
1141
- description?: string;
1142
- required?: boolean;
1143
- editorPlacement?: "inspector" | "geometry" | "toolbar";
1144
- heading?: string;
1145
- type: "grid-placement" | "column-count";
1146
- section?: string;
1147
- } | {
1148
- key: string;
1149
- type: "string";
1150
- label: string;
1151
- required: true;
1152
- options?: undefined;
1153
- min?: undefined;
1154
- visibleWhen?: undefined;
1155
- } | {
1156
- key: string;
1157
- type: "string";
1158
- label: string;
1159
- required?: undefined;
1160
- options?: undefined;
1161
- min?: undefined;
1162
- visibleWhen?: undefined;
1163
- } | {
1164
- key: string;
1165
- type: "choice";
1166
- label: string;
1167
- options: {
1168
- value: string;
1169
- label: string;
1170
- }[];
1171
- required?: undefined;
1172
- min?: undefined;
1173
- visibleWhen?: undefined;
1174
- } | {
1175
- key: string;
1176
- type: "length";
1177
- label: string;
1178
- min: number;
1179
- required: true;
1180
- visibleWhen: {
1181
- field: string;
1182
- equals: string;
1183
- notEquals?: undefined;
1184
- };
1185
- options?: undefined;
1186
- } | {
1187
- key: string;
1188
- type: "length";
1189
- label: string;
1190
- min: number;
1191
- visibleWhen: {
1192
- field: string;
1193
- notEquals: string;
1194
- equals?: undefined;
1195
- };
1196
- required?: undefined;
1197
- options?: undefined;
1198
- } | {
1199
- key: string;
1200
- type: "boolean";
1201
- label: string;
1202
- required?: undefined;
1203
- options?: undefined;
1204
- min?: undefined;
1205
- visibleWhen?: undefined;
1206
- })[];
1207
- })[];
65
+ fields: PhiCmsConfigField[];
1208
66
  defaultConfig: {
1209
67
  presentation: {
1210
68
  columns: never[];