@phis/ui 0.1.0 → 0.2.1

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 (2327) hide show
  1. package/README.md +119 -2009
  2. package/cms/plugins.d.ts +1 -2
  3. package/cms/plugins.js +0 -1
  4. package/cms.d.ts +2 -2
  5. package/cms.js +2 -2
  6. package/components/account/avatar-client.js +12 -17
  7. package/components/calendar/gregory-calendar-adapter-client.js +15 -13
  8. package/components/cms/clients/phi-cms-node-visibility-gate.d.ts +19 -0
  9. package/components/cms/clients/phi-cms-node-visibility-gate.js +1 -0
  10. package/components/cms/phi-cms-area-access-guard.d.ts +21 -0
  11. package/components/cms/phi-cms-area-access-guard.js +48 -0
  12. package/components/cms/phi-cms-area-render-scope.d.ts +6 -65
  13. package/components/cms/phi-cms-area-render-scope.js +8 -7
  14. package/components/cms/phi-cms-error-page.d.ts +1 -1
  15. package/components/cms/phi-cms-error-page.js +14 -12
  16. package/components/cms/phi-cms-layout-renderer.d.ts +54 -2
  17. package/components/cms/phi-cms-layout-renderer.js +179 -74
  18. package/components/cms/phi-cms-page-redirect.js +10 -5
  19. package/components/cms/phi-cms-page-renderer.js +2 -1
  20. package/components/cms/phi-cms-render-diagnostic-client.js +3 -3
  21. package/components/cms/phi-cms-root-layout.js +52 -25
  22. package/components/cms/phi-cms-root-page.js +30 -30
  23. package/components/cms/phi-cms-root-slot-page.js +16 -19
  24. package/components/cms/phi-cms-runtime-registry.d.ts +20 -2
  25. package/components/cms/phi-cms-runtime-registry.js +12 -0
  26. package/components/cms/phi-hard-forward.d.ts +21 -0
  27. package/components/cms/phi-hard-forward.js +26 -0
  28. package/components/controls/phi-accordion-control.d.ts +30 -0
  29. package/components/controls/phi-accordion-control.js +17 -0
  30. package/components/controls/phi-alert-control.d.ts +1 -1
  31. package/components/controls/phi-alert-control.js +12 -2
  32. package/components/controls/phi-avatar-control.d.ts +31 -0
  33. package/components/controls/phi-avatar-control.js +26 -0
  34. package/components/controls/phi-background-control.js +15 -9
  35. package/components/controls/phi-border-control.js +3 -2
  36. package/components/controls/phi-brand-control.d.ts +39 -8
  37. package/components/controls/phi-brand-control.js +71 -15
  38. package/components/controls/phi-builder-insert-picker-control-labels.d.ts +2 -0
  39. package/components/controls/phi-builder-insert-picker-control-labels.js +1 -0
  40. package/components/controls/phi-builder-insert-picker-control.js +97 -35
  41. package/components/controls/phi-button-control.d.ts +19 -2
  42. package/components/controls/phi-button-control.js +38 -7
  43. package/components/controls/phi-card-control.d.ts +61 -0
  44. package/components/controls/phi-card-control.js +12 -0
  45. package/components/controls/phi-checkbox-group-control.js +4 -7
  46. package/components/controls/phi-collection-header-control.js +3 -9
  47. package/components/controls/phi-collection-view-control.d.ts +1 -0
  48. package/components/controls/phi-collection-view-control.js +3 -3
  49. package/components/controls/phi-color-control.js +29 -13
  50. package/components/controls/phi-color-field-control.d.ts +38 -0
  51. package/components/controls/phi-color-field-control.js +32 -0
  52. package/components/controls/phi-compact-group-control.d.ts +38 -0
  53. package/components/controls/phi-compact-group-control.js +6 -0
  54. package/components/controls/phi-confirm-control.js +2 -14
  55. package/components/controls/phi-confirm-dialog.d.ts +32 -0
  56. package/components/controls/phi-confirm-dialog.js +79 -0
  57. package/components/controls/phi-control-option-content.d.ts +16 -1
  58. package/components/controls/phi-control-option-content.js +26 -10
  59. package/components/controls/phi-control-options.d.ts +1 -69
  60. package/components/controls/phi-control-options.js +6 -112
  61. package/components/controls/phi-description-list-control.d.ts +43 -0
  62. package/components/controls/phi-description-list-control.js +28 -0
  63. package/components/controls/phi-description-tooltip-icon.d.ts +11 -2
  64. package/components/controls/phi-description-tooltip-icon.js +15 -2
  65. package/components/controls/phi-dialog-control.d.ts +76 -0
  66. package/components/controls/phi-dialog-control.js +15 -0
  67. package/components/controls/phi-dimension-control.js +7 -1
  68. package/components/controls/phi-divider-control.d.ts +14 -0
  69. package/components/controls/phi-divider-control.js +6 -0
  70. package/components/controls/phi-drawer-control-adapter.d.ts +2 -0
  71. package/components/controls/phi-drawer-control-adapter.js +75 -0
  72. package/components/controls/phi-drawer-control.d.ts +9 -2
  73. package/components/controls/phi-drawer-control.js +18 -54
  74. package/components/controls/phi-dropdown-control.js +3 -4
  75. package/components/controls/phi-empty-control.d.ts +28 -0
  76. package/components/controls/phi-empty-control.js +6 -0
  77. package/components/controls/phi-entry-list-control.d.ts +46 -0
  78. package/components/controls/phi-entry-list-control.js +17 -0
  79. package/components/controls/phi-expand-indicator.js +1 -2
  80. package/components/controls/phi-file-drop-control.d.ts +41 -0
  81. package/components/controls/phi-file-drop-control.js +10 -0
  82. package/components/controls/phi-flex-control.d.ts +20 -0
  83. package/components/controls/phi-flex-control.js +6 -0
  84. package/components/controls/phi-form-control.d.ts +5 -0
  85. package/components/controls/phi-form-control.js +120 -31
  86. package/components/controls/phi-geometry-control.js +35 -22
  87. package/components/controls/phi-hover-text.d.ts +12 -0
  88. package/components/controls/phi-hover-text.js +23 -0
  89. package/components/controls/phi-icon-picker-control.d.ts +1 -1
  90. package/components/controls/phi-icon-picker-control.js +17 -5
  91. package/components/controls/phi-inline-text-editor.d.ts +43 -0
  92. package/components/controls/phi-inline-text-editor.js +62 -0
  93. package/components/controls/phi-labeled-control.d.ts +10 -0
  94. package/components/controls/phi-labeled-control.js +14 -4
  95. package/components/controls/phi-length-control.js +11 -3
  96. package/components/controls/phi-mask-picker-control.js +3 -5
  97. package/components/controls/phi-media-asset-tile-control.d.ts +8 -1
  98. package/components/controls/phi-media-asset-tile-control.js +16 -17
  99. package/components/controls/phi-media-picker-control.js +3 -2
  100. package/components/controls/phi-menu-control.d.ts +15 -1
  101. package/components/controls/phi-menu-control.js +4 -1
  102. package/components/controls/phi-modal-control-adapter.d.ts +2 -0
  103. package/components/controls/phi-modal-control-adapter.js +160 -0
  104. package/components/controls/phi-modal-control.d.ts +15 -4
  105. package/components/controls/phi-modal-control.js +22 -128
  106. package/components/controls/phi-multi-select-control.d.ts +3 -1
  107. package/components/controls/phi-multi-select-control.js +2 -2
  108. package/components/controls/phi-name-control.d.ts +33 -0
  109. package/components/controls/phi-name-control.js +6 -0
  110. package/components/controls/phi-number-control.d.ts +3 -1
  111. package/components/controls/phi-number-control.js +8 -2
  112. package/components/controls/phi-overlay-control-contract.d.ts +36 -1
  113. package/components/controls/phi-overlay-control-contract.js +50 -0
  114. package/components/controls/phi-padding-control.js +20 -9
  115. package/components/controls/phi-pagination-control.d.ts +8 -1
  116. package/components/controls/phi-pagination-control.js +2 -2
  117. package/components/controls/phi-picker-control-contract.d.ts +2 -0
  118. package/components/controls/phi-picker-control-contract.js +3 -2
  119. package/components/controls/phi-preset-size-control.js +2 -2
  120. package/components/controls/phi-progress-control.d.ts +15 -0
  121. package/components/controls/phi-progress-control.js +6 -0
  122. package/components/controls/phi-qr-code-control.d.ts +13 -0
  123. package/components/controls/phi-qr-code-control.js +6 -0
  124. package/components/controls/phi-radio-group-control.js +4 -7
  125. package/components/controls/phi-select-control.d.ts +3 -1
  126. package/components/controls/phi-select-control.js +2 -2
  127. package/components/controls/phi-skeleton-control.d.ts +52 -0
  128. package/components/controls/phi-skeleton-control.js +44 -0
  129. package/components/controls/phi-spin-control.d.ts +18 -0
  130. package/components/controls/phi-spin-control.js +6 -0
  131. package/components/controls/phi-statistic-control.d.ts +14 -0
  132. package/components/controls/phi-statistic-control.js +6 -0
  133. package/components/controls/phi-switch-control.d.ts +7 -3
  134. package/components/controls/phi-switch-control.js +2 -2
  135. package/components/controls/phi-table-control.d.ts +7 -1
  136. package/components/controls/phi-table-control.js +90 -33
  137. package/components/controls/phi-tag-control.d.ts +19 -1
  138. package/components/controls/phi-tag-control.js +5 -2
  139. package/components/controls/phi-text-control.d.ts +5 -1
  140. package/components/controls/phi-text-control.js +4 -3
  141. package/components/controls/phi-toolbar-control.js +12 -3
  142. package/components/controls/phi-tree-control.js +10 -7
  143. package/components/controls/phi-tree-select-control.d.ts +56 -0
  144. package/components/controls/phi-tree-select-control.js +69 -0
  145. package/components/controls/phi-typography-control-adapter.d.ts +2 -0
  146. package/components/controls/phi-typography-control-adapter.js +40 -0
  147. package/components/controls/phi-typography-control.d.ts +33 -0
  148. package/components/controls/phi-typography-control.js +56 -0
  149. package/components/controls/phi-video-embed-control.d.ts +50 -0
  150. package/components/controls/phi-video-embed-control.js +87 -0
  151. package/components/forms/auth-admin-settings-labels.d.ts +8 -3
  152. package/components/forms/auth-admin-settings-labels.js +16 -4
  153. package/components/forms/choice-form-field-controls.d.ts +5 -0
  154. package/components/forms/choice-form-field-controls.js +15 -0
  155. package/components/forms/compound-form-controls.js +1 -5
  156. package/components/forms/datetime-form-control.js +2 -1
  157. package/components/forms/extended-form-field-controls.d.ts +2 -0
  158. package/components/forms/extended-form-field-controls.js +19 -1
  159. package/components/forms/form-descriptor-contract.d.ts +65 -320
  160. package/components/forms/form-descriptor-contract.js +82 -435
  161. package/components/forms/form-descriptor-runtime-client.d.ts +1 -1
  162. package/components/forms/form-descriptor-runtime-client.js +175 -90
  163. package/components/forms/form-guard-client.d.ts +3 -3
  164. package/components/forms/form-guard-client.js +7 -5
  165. package/components/forms/form-provider-contract.d.ts +71 -625
  166. package/components/forms/form-provider-contract.js +105 -70
  167. package/components/forms/form-provider-registry.d.ts +7 -2
  168. package/components/forms/form-registry.d.ts +36 -22
  169. package/components/forms/form-registry.js +39 -1
  170. package/components/forms/form-relay-area.d.ts +14 -0
  171. package/components/forms/form-relay-area.js +24 -0
  172. package/components/forms/form-resolution.js +2 -4
  173. package/components/forms/form-widget-config.d.ts +57 -0
  174. package/components/forms/form-widget-config.js +122 -0
  175. package/components/forms/phi-form-widget-frame.d.ts +51 -13
  176. package/components/forms/phi-form-widget-frame.js +90 -16
  177. package/components/forms/phi-form-widget.d.ts +15 -0
  178. package/components/forms/phi-form-widget.js +95 -0
  179. package/components/forms/runtime-form-client.js +4 -6
  180. package/components/forms/runtime-form-controller-definition.d.ts +1 -1
  181. package/components/forms/runtime-form-controller-mount.js +30 -15
  182. package/components/forms/runtime-form-controller-plugin.d.ts +1 -1
  183. package/components/forms/runtime-form-controller-requirement.d.ts +1 -1
  184. package/components/forms/runtime-form-state.js +5 -7
  185. package/components/forms/shared-form-descriptors.d.ts +175 -0
  186. package/components/forms/shared-form-descriptors.js +158 -0
  187. package/components/forms/shared-form-ids.d.ts +18 -0
  188. package/components/forms/shared-form-ids.js +18 -0
  189. package/components/forms/shared-form-loaders.d.ts +20 -0
  190. package/components/forms/shared-form-loaders.js +31 -0
  191. package/components/forms/shared-form-provider-registry.js +134 -117
  192. package/components/forms/site-locales-config.d.ts +18 -0
  193. package/components/forms/site-locales-config.js +35 -0
  194. package/components/forms/storage-size.d.ts +36 -0
  195. package/components/forms/storage-size.js +46 -0
  196. package/components/forms/upload-form-control.d.ts +24 -0
  197. package/components/forms/upload-form-control.js +126 -0
  198. package/components/layouts/clients/phi-base-layout-client.d.ts +3 -12
  199. package/components/layouts/clients/phi-base-layout-client.js +5 -165
  200. package/components/layouts/clients/phi-carousel-layout-client.d.ts +1 -2
  201. package/components/layouts/clients/phi-carousel-layout-client.js +28 -23
  202. package/components/layouts/clients/phi-collapsible-layout-client.d.ts +0 -3
  203. package/components/layouts/clients/phi-collapsible-layout-client.js +125 -49
  204. package/components/layouts/clients/phi-content-layout-client.d.ts +7 -5
  205. package/components/layouts/clients/phi-content-layout-client.js +3 -4
  206. package/components/layouts/clients/phi-flex-layout-client.js +21 -7
  207. package/components/layouts/clients/phi-flex-vertical-layout-client.js +23 -6
  208. package/components/layouts/clients/phi-grid-layout-client.js +112 -115
  209. package/components/layouts/clients/phi-layout-anchored-overlay.d.ts +16 -0
  210. package/components/layouts/clients/phi-layout-anchored-overlay.js +29 -24
  211. package/components/layouts/clients/phi-sequence-slot-editor.d.ts +15 -3
  212. package/components/layouts/clients/phi-sequence-slot-editor.js +7 -20
  213. package/components/layouts/clients/phi-split-card-layout-client.d.ts +1 -1
  214. package/components/layouts/clients/phi-split-card-layout-client.js +25 -13
  215. package/components/layouts/clients/phi-stack-layout-client.d.ts +2 -2
  216. package/components/layouts/clients/phi-stack-layout-client.js +72 -26
  217. package/components/layouts/clients/phi-three-column-layout-client.d.ts +6 -4
  218. package/components/layouts/clients/phi-three-column-layout-client.js +40 -26
  219. package/components/layouts/layout-definitions.d.ts +184 -40
  220. package/components/layouts/layout-definitions.js +148 -28
  221. package/components/layouts/phi-base-layout.d.ts +1 -1
  222. package/components/layouts/phi-base-layout.js +12 -39
  223. package/components/layouts/phi-carousel-layout.js +1 -1
  224. package/components/layouts/phi-carousel-pages.d.ts +28 -0
  225. package/components/layouts/phi-carousel-pages.js +53 -0
  226. package/components/layouts/phi-collapsible-layout.js +1 -1
  227. package/components/layouts/phi-grid-contract.d.ts +83 -1
  228. package/components/layouts/phi-grid-contract.js +138 -10
  229. package/components/layouts/phi-grid-layout.js +1 -1
  230. package/components/layouts/phi-layout-contract.d.ts +156 -18
  231. package/components/layouts/phi-layout-contract.js +305 -51
  232. package/components/layouts/phi-layout-slot-state.d.ts +0 -1
  233. package/components/layouts/phi-layout-slot-state.js +0 -8
  234. package/components/layouts/phi-layout-view-model.d.ts +1 -1
  235. package/components/layouts/phi-layout-view-model.js +2 -1
  236. package/components/layouts/phi-masonry-layout.js +44 -9
  237. package/components/layouts/phi-stack-layout.js +1 -1
  238. package/components/layouts/phi-structure-region-layout.js +4 -3
  239. package/components/layouts/plugins/carousel-layout-plugin.d.ts +0 -1
  240. package/components/layouts/plugins/carousel-layout-plugin.js +3 -4
  241. package/components/layouts/plugins/collapsible-layout-plugin.d.ts +0 -1
  242. package/components/layouts/plugins/collapsible-layout-plugin.js +3 -4
  243. package/components/layouts/plugins/content-layout-plugin.d.ts +0 -1
  244. package/components/layouts/plugins/content-layout-plugin.js +3 -3
  245. package/components/layouts/plugins/flex-layout-plugin.d.ts +0 -1
  246. package/components/layouts/plugins/flex-layout-plugin.js +3 -4
  247. package/components/layouts/plugins/flex-vertical-layout-plugin.d.ts +0 -1
  248. package/components/layouts/plugins/flex-vertical-layout-plugin.js +3 -4
  249. package/components/layouts/plugins/grid-layout-plugin.d.ts +0 -1
  250. package/components/layouts/plugins/grid-layout-plugin.js +2 -4
  251. package/components/layouts/plugins/masonry-layout-plugin.d.ts +0 -1
  252. package/components/layouts/plugins/masonry-layout-plugin.js +1 -3
  253. package/components/layouts/plugins/page-region-layout-plugin.d.ts +0 -1
  254. package/components/layouts/plugins/page-region-layout-plugin.js +0 -2
  255. package/components/layouts/plugins/split-card-layout-plugin.d.ts +0 -1
  256. package/components/layouts/plugins/split-card-layout-plugin.js +2 -4
  257. package/components/layouts/plugins/stack-layout-plugin.d.ts +0 -1
  258. package/components/layouts/plugins/stack-layout-plugin.js +3 -4
  259. package/components/layouts/plugins/structure-region-layout-plugin.d.ts +0 -1
  260. package/components/layouts/plugins/structure-region-layout-plugin.js +0 -2
  261. package/components/layouts/plugins/three-column-layout-plugin.d.ts +0 -1
  262. package/components/layouts/plugins/three-column-layout-plugin.js +2 -4
  263. package/components/layouts/stack-signals.d.ts +0 -1
  264. package/components/layouts/stack-signals.js +0 -1
  265. package/components/layouts/use-phi-slot-sequence.d.ts +31 -3
  266. package/components/layouts/use-phi-slot-sequence.js +32 -12
  267. package/components/media/asset-collection-runtime.d.ts +3 -2
  268. package/components/media/asset-collection-runtime.js +9 -11
  269. package/components/media/background-asset-projection.js +3 -5
  270. package/components/media/label-sets/media.js +2 -0
  271. package/components/media/media-folder-options.d.ts +18 -0
  272. package/components/media/media-folder-options.js +76 -0
  273. package/components/media/media-settings-labels.d.ts +4 -1
  274. package/components/media/media-settings-labels.js +23 -16
  275. package/components/media/media-upload-digest.d.ts +38 -0
  276. package/components/media/media-upload-digest.js +38 -0
  277. package/components/media/media-upload-flow.d.ts +98 -1
  278. package/components/media/media-upload-flow.js +301 -8
  279. package/components/media/media-widget-labels.d.ts +1 -0
  280. package/components/media/media-widget-labels.js +1 -0
  281. package/components/media/phi-area-upload-widget.d.ts +1 -1
  282. package/components/media/phi-area-upload-widget.js +33 -48
  283. package/components/media/phi-asset-focal-rect-widget.d.ts +2 -2
  284. package/components/media/phi-asset-focal-rect-widget.js +14 -3
  285. package/components/media/phi-asset-inspector-section.js +5 -4
  286. package/components/media/phi-image-inspector-widget.d.ts +1 -1
  287. package/components/media/phi-image-inspector-widget.js +1 -1
  288. package/components/media/phi-image-preview-store.d.ts +0 -9
  289. package/components/media/phi-image-preview-store.js +0 -29
  290. package/components/media/phi-media-picker-binding.d.ts +1 -1
  291. package/components/media/phi-media-picker-binding.js +15 -11
  292. package/components/media/phi-media-picker-server.d.ts +1 -1
  293. package/components/media/phi-media-picker-widget.d.ts +1 -1
  294. package/components/media/phi-site-font-assets.js +1 -1
  295. package/components/media/use-authoring-asset-details.js +5 -8
  296. package/components/menus/phi-account-menu.d.ts +14 -11
  297. package/components/menus/phi-account-menu.js +94 -46
  298. package/components/motion/phi-sequence-viewport.js +11 -0
  299. package/components/navigation/phi-link.d.ts +11 -1
  300. package/components/navigation/phi-link.js +2 -2
  301. package/components/overlays/phi-overlay-container-client.d.ts +10 -7
  302. package/components/overlays/phi-overlay-container-client.js +113 -38
  303. package/components/overlays/phi-overlay-zones-loader.d.ts +20 -0
  304. package/components/overlays/phi-overlay-zones-loader.js +26 -0
  305. package/components/regions/clients/cms-region-container-client.d.ts +8 -3
  306. package/components/regions/clients/cms-region-container-client.js +102 -336
  307. package/components/regions/phi-cms-region-container.js +3 -1
  308. package/components/regions/phi-cms-region-shell.d.ts +88 -0
  309. package/components/regions/phi-cms-region-shell.js +300 -0
  310. package/components/regions/phi-cms-region-static.d.ts +8 -4
  311. package/components/regions/phi-cms-region-static.js +19 -211
  312. package/components/regions/presets/navigation-redirect.d.ts +0 -1
  313. package/components/regions/presets/navigation-redirect.js +5 -22
  314. package/components/regions/presets/phi-area-root-redirect-tree.d.ts +1 -3
  315. package/components/regions/presets/phi-area-root-redirect-tree.js +8 -2
  316. package/components/regions/presets/phi-base-page-layout.js +10 -11
  317. package/components/regions/presets/phi-header-top-actions-layout.d.ts +17 -0
  318. package/components/regions/presets/phi-header-top-actions-layout.js +28 -0
  319. package/components/regions/presets/phi-settings-page-shell-tree.d.ts +97 -15
  320. package/components/regions/presets/phi-settings-page-shell-tree.js +242 -44
  321. package/components/root/phi-config-provider.d.ts +9 -2
  322. package/components/root/phi-config-provider.js +10 -2
  323. package/components/root/phi-dayjs-locale.d.ts +9 -2
  324. package/components/root/phi-dayjs-locale.js +20 -4
  325. package/components/root/phi-intl-locale.d.ts +6 -0
  326. package/components/root/phi-intl-locale.js +21 -0
  327. package/components/root/phi-root-background.d.ts +3 -3
  328. package/components/root/phi-root-background.js +3 -3
  329. package/components/root/phi-root-layout.d.ts +2 -1
  330. package/components/root/phi-root-layout.js +12 -3
  331. package/components/root/phi-root-live-theme-provider.d.ts +8 -3
  332. package/components/root/phi-root-live-theme-provider.js +75 -9
  333. package/components/root/phi-root-theme-resolver.d.ts +21 -1
  334. package/components/root/phi-root-theme-resolver.js +20 -3
  335. package/components/runtime/application-feedback-host.d.ts +35 -0
  336. package/components/runtime/application-feedback-host.js +66 -0
  337. package/components/runtime/core-runtime-application-adapter.d.ts +8 -1
  338. package/components/runtime/core-runtime-application-adapter.js +97 -26
  339. package/components/runtime/core-runtime-controller-definition.d.ts +11 -0
  340. package/components/runtime/core-runtime-controller-definition.js +33 -0
  341. package/components/runtime/core-runtime-controller-plugin.d.ts +11 -0
  342. package/components/runtime/phi-password-change-required-modal.d.ts +16 -0
  343. package/components/runtime/phi-password-change-required-modal.js +34 -0
  344. package/components/runtime/phi-password-change-required.d.ts +14 -0
  345. package/components/runtime/phi-password-change-required.js +41 -0
  346. package/components/runtime/phi-state-machine-binding.d.ts +40 -0
  347. package/components/runtime/phi-state-machine-binding.js +119 -0
  348. package/components/runtime/phi-video-consent-store.d.ts +17 -0
  349. package/components/runtime/phi-video-consent-store.js +54 -0
  350. package/components/runtime/renderable-block-runtime.d.ts +0 -8
  351. package/components/runtime/renderable-block-runtime.js +5 -18
  352. package/components/runtime/renderable-widget-runtime.d.ts +10 -0
  353. package/components/runtime/renderable-widget-runtime.js +20 -0
  354. package/components/runtime/runtime-controller-materialization.d.ts +22 -2
  355. package/components/runtime/runtime-controller-materialization.js +48 -10
  356. package/components/runtime/runtime-module-authoring-client-manifest.d.ts +5 -5
  357. package/components/runtime/runtime-module-authoring-client-manifest.js +4 -13
  358. package/components/runtime/runtime-module-authoring-host.d.ts +1 -6
  359. package/components/runtime/runtime-module-authoring-host.js +0 -4
  360. package/components/runtime/runtime-module-calendar-adapter-client-manifest.js +10 -12
  361. package/components/runtime/runtime-module-client-manifest-context.d.ts +25 -0
  362. package/components/runtime/runtime-module-client-manifest-context.js +45 -0
  363. package/components/runtime/runtime-module-context.d.ts +11 -1
  364. package/components/runtime/runtime-module-context.js +12 -2
  365. package/components/runtime/runtime-module-controller-client-manifest.d.ts +5 -5
  366. package/components/runtime/runtime-module-controller-client-manifest.js +4 -13
  367. package/components/runtime/runtime-module-data-provider-client-manifest.d.ts +2 -2
  368. package/components/runtime/runtime-module-data-provider-client-manifest.js +7 -22
  369. package/components/runtime/runtime-module-render-client-manifest.d.ts +11 -2
  370. package/components/runtime/runtime-module-render-client-manifest.js +17 -20
  371. package/components/runtime/runtime-module-ui-provider-client-manifest.d.ts +36 -0
  372. package/components/runtime/runtime-module-ui-provider-client-manifest.js +30 -0
  373. package/components/runtime/runtime-signal-bus.js +76 -2
  374. package/components/runtime/runtime-signal-identity.d.ts +11 -1
  375. package/components/runtime/runtime-signal-identity.js +25 -0
  376. package/components/runtime/runtime-signal-registry.d.ts +0 -3
  377. package/components/runtime/runtime-signal-registry.js +1 -15
  378. package/components/runtime/user-state-client.d.ts +34 -0
  379. package/components/runtime/user-state-client.js +79 -0
  380. package/components/shell/phi-antd-icon.d.ts +73 -0
  381. package/components/shell/phi-antd-icon.js +192 -0
  382. package/components/shell/phi-asset-icon.d.ts +5 -0
  383. package/components/shell/phi-asset-icon.js +18 -0
  384. package/components/shell/phi-avatar.d.ts +1 -15
  385. package/components/shell/phi-avatar.js +4 -26
  386. package/components/shell/phi-builder-icon.d.ts +1 -1
  387. package/components/shell/phi-builder-icon.js +19 -2
  388. package/components/shell/phi-builder-motif-icon.js +1 -0
  389. package/components/shell/phi-icon.js +11 -43
  390. package/components/shell/phi-locale-switch.js +6 -1
  391. package/components/shell/phi-widget-icon.js +2 -1
  392. package/components/shell/shell-types.d.ts +25 -15
  393. package/components/shell/shell-types.js +1 -68
  394. package/components/state/history-store.d.ts +2 -0
  395. package/components/state/history-store.js +13 -0
  396. package/components/state/scoped-state-store.js +12 -5
  397. package/components/tables/client/phi-table-binding.d.ts +3 -2
  398. package/components/tables/phi-plain-table.js +1 -2
  399. package/components/trees/client/phi-tree-binding.js +8 -5
  400. package/components/widgets/accessible-areas.d.ts +42 -0
  401. package/components/widgets/accessible-areas.js +49 -0
  402. package/components/widgets/builder/phi-static-options-picker.js +24 -17
  403. package/components/widgets/builder/stack-tabs.d.ts +1 -2
  404. package/components/widgets/builder/stack-tabs.js +1 -2
  405. package/components/widgets/built-in/widget-preview-client.js +9 -5
  406. package/components/widgets/client/auth-workflow-body.d.ts +19 -3
  407. package/components/widgets/client/auth-workflow-body.js +24 -43
  408. package/components/widgets/client/description-editor-sections.d.ts +28 -0
  409. package/components/widgets/client/description-editor-sections.js +7 -0
  410. package/components/widgets/client/external-document-editor.js +3 -2
  411. package/components/widgets/client/html-editor-image-node.js +51 -17
  412. package/components/widgets/client/search.js +11 -59
  413. package/components/widgets/client/shared/core-options-providers.d.ts +3 -0
  414. package/components/widgets/client/shared/core-options-providers.js +20 -1
  415. package/components/widgets/client/shared/description-items.d.ts +6 -0
  416. package/components/widgets/client/shared/description-items.js +12 -0
  417. package/components/widgets/client/shared/phi-authoring-tools-labels.d.ts +7 -0
  418. package/components/widgets/client/shared/phi-authoring-tools-labels.js +23 -0
  419. package/components/widgets/client/shared/phi-button-icons.js +19 -19
  420. package/components/widgets/client/shared/phi-choice-controller.js +2 -1
  421. package/components/widgets/client/shared/phi-collection-provider.d.ts +22 -17
  422. package/components/widgets/client/shared/phi-collection-provider.js +2 -2
  423. package/components/widgets/client/shared/phi-collection-view-binding.d.ts +5 -19
  424. package/components/widgets/client/shared/phi-collection-view-binding.js +32 -21
  425. package/components/widgets/client/shared/phi-control-signal-routing.d.ts +35 -0
  426. package/components/widgets/client/shared/phi-control-signal-routing.js +35 -0
  427. package/components/widgets/client/shared/phi-control-signals.d.ts +0 -1
  428. package/components/widgets/client/shared/phi-control-signals.js +31 -65
  429. package/components/widgets/client/shared/phi-input-signals.d.ts +0 -3
  430. package/components/widgets/client/shared/phi-page-reference-picker.d.ts +18 -0
  431. package/components/widgets/client/shared/phi-page-reference-picker.js +32 -0
  432. package/components/widgets/client/shared/phi-rendered-value.d.ts +43 -0
  433. package/components/widgets/client/shared/phi-rendered-value.js +75 -0
  434. package/components/widgets/client/shared/phi-search-draft.d.ts +33 -0
  435. package/components/widgets/client/shared/phi-search-draft.js +52 -0
  436. package/components/widgets/client/shared/phi-static-table-provider.d.ts +12 -1
  437. package/components/widgets/client/shared/phi-static-table-provider.js +57 -7
  438. package/components/widgets/client/shared/phi-table-provider-response.d.ts +14 -0
  439. package/components/widgets/client/shared/phi-table-provider-response.js +16 -0
  440. package/components/widgets/client/shared/phi-table-provider.d.ts +3 -5
  441. package/components/widgets/client/shared/phi-table-provider.js +10 -24
  442. package/components/widgets/client/shared/phi-widget-image-tool-button.d.ts +2 -4
  443. package/components/widgets/client/shared/phi-widget-image-tool-button.js +6 -8
  444. package/components/widgets/client/shared/phi-widget-tool-buttons.js +56 -45
  445. package/components/widgets/config/background.d.ts +23 -0
  446. package/components/widgets/config/background.js +128 -41
  447. package/components/widgets/config/button-variant.d.ts +28 -0
  448. package/components/widgets/config/button-variant.js +32 -0
  449. package/components/widgets/config/choice-shared.d.ts +2 -2
  450. package/components/widgets/config/geometry.d.ts +4 -4
  451. package/components/widgets/config/helpers.d.ts +2 -2
  452. package/components/widgets/config/image-source-parser.d.ts +1 -1
  453. package/components/widgets/config/mask.d.ts +4 -2
  454. package/components/widgets/config/mask.js +13 -28
  455. package/components/widgets/config/parser-primitives.d.ts +11 -2
  456. package/components/widgets/config/parser-primitives.js +38 -3
  457. package/components/widgets/config/search-shared.d.ts +1 -80
  458. package/components/widgets/config/search-shared.js +4 -6
  459. package/components/widgets/config/spacing-options.d.ts +0 -1
  460. package/components/widgets/config/spacing-options.js +0 -1
  461. package/components/widgets/config/stack-tabs.d.ts +1 -121
  462. package/components/widgets/config/stack-tabs.js +3 -7
  463. package/components/widgets/config/text-tone.d.ts +22 -0
  464. package/components/widgets/config/text-tone.js +18 -0
  465. package/components/widgets/helpers/font-family.d.ts +13 -2
  466. package/components/widgets/helpers/font-family.js +22 -0
  467. package/components/widgets/helpers/font-size.d.ts +6 -2
  468. package/components/widgets/helpers/font-size.js +14 -0
  469. package/components/widgets/helpers/internal-reference-resolver.server.d.ts +10 -0
  470. package/components/widgets/helpers/internal-reference-resolver.server.js +19 -10
  471. package/components/widgets/inspector-field-row.js +3 -2
  472. package/components/widgets/label-sets/account.d.ts +7 -5
  473. package/components/widgets/label-sets/account.js +18 -8
  474. package/components/widgets/label-sets/auth-workflow.d.ts +4 -0
  475. package/components/widgets/label-sets/auth-workflow.js +63 -0
  476. package/components/widgets/label-sets/authoring-tools.d.ts +6 -0
  477. package/components/widgets/label-sets/authoring-tools.js +122 -0
  478. package/components/widgets/label-sets/border.js +8 -0
  479. package/components/widgets/label-sets/builder-chrome.js +2 -16
  480. package/components/widgets/label-sets/builder-modules.js +2 -0
  481. package/components/widgets/label-sets/draft-status.d.ts +4 -0
  482. package/components/widgets/label-sets/draft-status.js +29 -0
  483. package/components/widgets/label-sets/effects.js +8 -0
  484. package/components/widgets/label-sets/icon-picker.d.ts +6 -0
  485. package/components/widgets/label-sets/icon-picker.js +67 -0
  486. package/components/widgets/label-sets/news.d.ts +9 -0
  487. package/components/widgets/label-sets/news.js +29 -0
  488. package/components/widgets/label-sets/padding.d.ts +4 -0
  489. package/components/widgets/label-sets/padding.js +55 -0
  490. package/components/widgets/label-sets/profile.d.ts +55 -23
  491. package/components/widgets/label-sets/profile.js +80 -47
  492. package/components/widgets/label-sets/record.d.ts +4 -0
  493. package/components/widgets/label-sets/record.js +23 -0
  494. package/components/widgets/label-sets/region.js +4 -0
  495. package/components/widgets/label-sets/revisions.js +16 -0
  496. package/components/widgets/label-sets/security.d.ts +4 -0
  497. package/components/widgets/label-sets/security.js +81 -0
  498. package/components/widgets/label-sets/session.d.ts +6 -0
  499. package/components/widgets/label-sets/session.js +20 -0
  500. package/components/widgets/label-sets/threads.d.ts +96 -0
  501. package/components/widgets/label-sets/threads.js +269 -0
  502. package/components/widgets/label-sets/unsubscribe.d.ts +17 -0
  503. package/components/widgets/label-sets/unsubscribe.js +39 -0
  504. package/components/widgets/label-sets/video.d.ts +11 -0
  505. package/components/widgets/label-sets/video.js +40 -0
  506. package/components/widgets/label-types/auth-workflow.d.ts +38 -0
  507. package/components/widgets/label-types/authoring-tools.d.ts +78 -0
  508. package/components/widgets/label-types/authoring-tools.js +61 -0
  509. package/components/widgets/label-types/border.d.ts +8 -10
  510. package/components/widgets/label-types/border.js +7 -9
  511. package/components/widgets/label-types/builder-chrome.d.ts +0 -10
  512. package/components/widgets/label-types/builder-chrome.js +0 -12
  513. package/components/widgets/label-types/builder-modules.d.ts +2 -0
  514. package/components/widgets/label-types/builder-modules.js +2 -0
  515. package/components/widgets/label-types/common-controls.d.ts +2 -1
  516. package/components/widgets/label-types/common-controls.js +4 -4
  517. package/components/widgets/label-types/draft-status.d.ts +11 -0
  518. package/components/widgets/label-types/draft-status.js +12 -0
  519. package/components/widgets/label-types/effects.d.ts +6 -0
  520. package/components/widgets/label-types/effects.js +5 -0
  521. package/components/widgets/label-types/icon-picker.d.ts +30 -0
  522. package/components/widgets/label-types/icon-picker.js +31 -0
  523. package/components/widgets/label-types/padding.d.ts +3 -0
  524. package/components/widgets/label-types/padding.js +2 -0
  525. package/components/widgets/label-types/record.d.ts +8 -0
  526. package/components/widgets/label-types/record.js +9 -0
  527. package/components/widgets/label-types/region.d.ts +4 -0
  528. package/components/widgets/label-types/region.js +2 -0
  529. package/components/widgets/label-types/revisions.d.ts +11 -0
  530. package/components/widgets/label-types/revisions.js +9 -0
  531. package/components/widgets/label-types/security.d.ts +37 -0
  532. package/components/widgets/label-types/security.js +3 -0
  533. package/components/widgets/label-types/spacing-scale.d.ts +13 -0
  534. package/components/widgets/label-types/spacing-scale.js +11 -0
  535. package/components/widgets/login-redirect.js +3 -7
  536. package/components/widgets/navigation-descriptor-resolver.server.js +16 -5
  537. package/components/widgets/plugins/stack-tabs-widget-plugin.d.ts +1 -2
  538. package/components/widgets/plugins/stack-tabs-widget-plugin.js +1 -2
  539. package/components/widgets/server/builder-chrome.d.ts +0 -1
  540. package/components/widgets/server/builder-chrome.js +0 -4
  541. package/components/widgets/shared/card-body-client.d.ts +86 -0
  542. package/components/widgets/shared/card-body-client.js +102 -0
  543. package/components/widgets/shared/markdown-body-client.d.ts +81 -0
  544. package/components/widgets/shared/markdown-body-client.js +181 -0
  545. package/components/widgets/shared/markdown-code-tokens.d.ts +46 -0
  546. package/components/widgets/shared/markdown-code-tokens.js +330 -0
  547. package/components/widgets/shared/markdown-render.d.ts +40 -0
  548. package/components/widgets/shared/markdown-render.js +506 -0
  549. package/components/widgets/shared/result-body-client.d.ts +5 -2
  550. package/components/widgets/shared/result-body.d.ts +13 -1
  551. package/components/widgets/shared/result-body.js +11 -2
  552. package/components/widgets/signals/control-signal-capabilities.d.ts +0 -72
  553. package/components/widgets/signals/control-signal-capabilities.js +0 -70
  554. package/components/widgets/signals/page-title-signals.d.ts +0 -1
  555. package/components/widgets/signals/page-title-signals.js +2 -5
  556. package/components/widgets/signals/signal-endpoint-list.js +4 -3
  557. package/components/widgets/signals/signal-endpoints.js +2 -4
  558. package/components/workspace/catalog-store.d.ts +0 -1
  559. package/components/workspace/catalog-store.js +0 -3
  560. package/constants/authoring-option-provider-keys.d.ts +20 -0
  561. package/constants/authoring-option-provider-keys.js +21 -0
  562. package/constants/cms-areas.d.ts +22 -7
  563. package/constants/cms-areas.js +25 -37
  564. package/constants/cms-error-pages.d.ts +25 -0
  565. package/constants/cms-error-pages.js +31 -0
  566. package/constants/cms-layout-type-keys.d.ts +21 -0
  567. package/constants/cms-layout-type-keys.js +54 -0
  568. package/constants/cms-layout-types.d.ts +0 -20
  569. package/constants/cms-layout-types.js +2 -48
  570. package/constants/cms-widget-types.d.ts +9 -7
  571. package/constants/cms-widget-types.js +15 -16
  572. package/constants/core-data-provider-keys.d.ts +12 -0
  573. package/constants/core-data-provider-keys.js +13 -0
  574. package/constants/dashboard-card-provider-keys.d.ts +19 -0
  575. package/constants/dashboard-card-provider-keys.js +20 -0
  576. package/constants/http-headers.d.ts +20 -1
  577. package/constants/http-headers.js +20 -1
  578. package/constants/media-library-provider-keys.d.ts +9 -0
  579. package/constants/media-library-provider-keys.js +10 -1
  580. package/constants/phi-base-role-metadata.d.ts +0 -1
  581. package/constants/phi-cms.d.ts +1 -1
  582. package/constants/phi-cms.js +1 -1
  583. package/constants/runtime-data-provider-key.d.ts +8 -0
  584. package/constants/runtime-data-provider-key.js +10 -0
  585. package/constants/runtime-module-ownership.js +41 -0
  586. package/constants/runtime-render-client-types.d.ts +1 -3
  587. package/constants/runtime-render-client-types.js +2 -4
  588. package/constants/support.d.ts +2 -0
  589. package/constants/support.js +6 -0
  590. package/constants/thread-library-provider-keys.d.ts +19 -0
  591. package/constants/thread-library-provider-keys.js +20 -0
  592. package/constants/threads.d.ts +1 -0
  593. package/constants/threads.js +6 -0
  594. package/constants/user-state.d.ts +1 -0
  595. package/constants/user-state.js +6 -0
  596. package/constants.d.ts +8 -6
  597. package/constants.js +8 -6
  598. package/controls.d.ts +12 -7
  599. package/controls.js +20 -3
  600. package/core-widgets.d.ts +3 -0
  601. package/core-widgets.js +7 -0
  602. package/forms-client.d.ts +4 -0
  603. package/forms-client.js +8 -0
  604. package/forms.d.ts +4 -7
  605. package/forms.js +10 -6
  606. package/gateway/area-root-door.d.ts +14 -0
  607. package/gateway/area-root-door.js +65 -0
  608. package/gateway/auth-public-manifest.d.ts +23 -1
  609. package/gateway/auth-public-manifest.js +41 -12
  610. package/gateway/dashboard-cards-route.d.ts +21 -0
  611. package/gateway/dashboard-cards-route.js +269 -0
  612. package/gateway/form-handler-resolution.d.ts +12 -1
  613. package/gateway/form-handler-resolution.js +45 -53
  614. package/gateway/form-registry.js +7 -11
  615. package/gateway/form-submit.js +23 -15
  616. package/gateway/internal-references.js +6 -3
  617. package/gateway/label-set.js +4 -4
  618. package/gateway/module-diagnostics-route.d.ts +36 -0
  619. package/gateway/module-diagnostics-route.js +61 -0
  620. package/gateway/navigation-target-route.d.ts +6 -0
  621. package/gateway/navigation-target-route.js +215 -0
  622. package/gateway/news.d.ts +22 -0
  623. package/gateway/news.js +76 -0
  624. package/gateway/server-capabilities.js +3 -5
  625. package/gateway/site-area-bridges.d.ts +23 -0
  626. package/gateway/site-area-bridges.js +12 -0
  627. package/gateway/site-area.js +6 -11
  628. package/gateway/site-auth-settings.js +3 -5
  629. package/gateway/site-config.d.ts +2 -84
  630. package/gateway/site-config.js +4 -6
  631. package/gateway/site-form-route.d.ts +4 -12
  632. package/gateway/site-form-route.js +61 -43
  633. package/gateway/site-media-settings.js +3 -5
  634. package/gateway/site-nav.js +6 -15
  635. package/gateway/site-page.js +6 -15
  636. package/gateway/site-proxy.d.ts +10 -1
  637. package/gateway/site-proxy.js +89 -6
  638. package/gateway/site-read-cache.d.ts +19 -0
  639. package/gateway/site-read-cache.js +24 -0
  640. package/gateway/site-settings.js +3 -5
  641. package/gateway/site-stats.js +3 -5
  642. package/gateway/site-theme.js +2 -5
  643. package/gateway/thread-inbox-stats.d.ts +25 -0
  644. package/gateway/thread-inbox-stats.js +34 -0
  645. package/gateway/tr.js +48 -85
  646. package/gateway/user-state.d.ts +27 -0
  647. package/gateway/user-state.js +48 -0
  648. package/helpers/access.d.ts +0 -7
  649. package/helpers/access.js +1 -11
  650. package/helpers/border-widget-style.d.ts +35 -0
  651. package/helpers/border-widget-style.js +41 -0
  652. package/helpers/brand-wordmark.d.ts +10 -0
  653. package/helpers/brand-wordmark.js +14 -3
  654. package/helpers/client-json-request.d.ts +48 -0
  655. package/helpers/client-json-request.js +49 -0
  656. package/helpers/cms-access-policy.js +1 -5
  657. package/helpers/cms-area-config.d.ts +22 -2
  658. package/helpers/cms-area-config.js +32 -11
  659. package/helpers/cms-area-root-route.d.ts +8 -7
  660. package/helpers/cms-area-root-route.js +11 -12
  661. package/helpers/cms-config-field-validation.js +9 -0
  662. package/helpers/cms-config-serialization.d.ts +0 -69
  663. package/helpers/cms-config-serialization.js +1 -60
  664. package/helpers/cms-draft-delete.d.ts +8 -0
  665. package/helpers/cms-draft-delete.js +23 -0
  666. package/helpers/cms-layout-defaults.js +16 -25
  667. package/helpers/cms-layout-depth.d.ts +0 -2
  668. package/helpers/cms-layout-depth.js +0 -35
  669. package/helpers/cms-navigation-catalog.d.ts +24 -3
  670. package/helpers/cms-navigation-catalog.js +52 -17
  671. package/helpers/cms-node-factories.d.ts +21 -8
  672. package/helpers/cms-node-factories.js +8 -2
  673. package/helpers/cms-page-catalog.d.ts +0 -3
  674. package/helpers/cms-page-catalog.js +0 -10
  675. package/helpers/cms-paths.d.ts +4 -4
  676. package/helpers/cms-paths.js +6 -15
  677. package/helpers/cms-preset-nodes.d.ts +79 -6
  678. package/helpers/cms-preset-nodes.js +57 -14
  679. package/helpers/cms-region-keys.d.ts +18 -1
  680. package/helpers/cms-region-keys.js +23 -0
  681. package/helpers/cms-routing.d.ts +17 -0
  682. package/helpers/cms-routing.js +37 -0
  683. package/helpers/csrf-token.d.ts +33 -0
  684. package/helpers/csrf-token.js +61 -0
  685. package/helpers/dot-path.d.ts +7 -0
  686. package/helpers/dot-path.js +18 -0
  687. package/helpers/format-date-time.d.ts +2 -2
  688. package/helpers/format-date-time.js +20 -11
  689. package/helpers/is-record.d.ts +1 -0
  690. package/helpers/is-record.js +6 -0
  691. package/helpers/layout-authoring-markers.d.ts +4 -1
  692. package/helpers/layout-authoring-markers.js +5 -2
  693. package/helpers/link-target.d.ts +44 -0
  694. package/helpers/link-target.js +66 -0
  695. package/helpers/locale.d.ts +28 -0
  696. package/helpers/locale.js +82 -27
  697. package/helpers/logout.d.ts +26 -0
  698. package/helpers/logout.js +37 -0
  699. package/helpers/motion.d.ts +8 -0
  700. package/helpers/motion.js +8 -0
  701. package/helpers/nav-selection.js +12 -9
  702. package/helpers/phi-metadata.d.ts +9 -0
  703. package/helpers/phi-metadata.js +2 -0
  704. package/helpers/renderable-block-anchor.d.ts +2 -0
  705. package/helpers/renderable-block-anchor.js +28 -0
  706. package/helpers/renderable-block-effects.js +3 -1
  707. package/helpers/renderable-block-serialization.d.ts +1 -2
  708. package/helpers/renderable-block-serialization.js +13 -35
  709. package/helpers/runtime-module-route-path.d.ts +14 -1
  710. package/helpers/runtime-module-route-path.js +18 -0
  711. package/helpers/shell-region-style.d.ts +5 -3
  712. package/helpers/shell-region-style.js +27 -4
  713. package/helpers/site-api.d.ts +11 -10
  714. package/helpers/site-api.js +13 -18
  715. package/helpers/site-locale-config.js +6 -6
  716. package/helpers/site-runtime.d.ts +0 -2
  717. package/helpers/site-runtime.js +0 -10
  718. package/helpers/state-machine-binding.d.ts +84 -0
  719. package/helpers/state-machine-binding.js +101 -0
  720. package/helpers/state-machine-diagnostics.d.ts +30 -0
  721. package/helpers/state-machine-diagnostics.js +89 -0
  722. package/helpers/table-binding.js +4 -5
  723. package/helpers/text-placeholders.d.ts +50 -0
  724. package/helpers/text-placeholders.js +83 -0
  725. package/helpers/visibility.d.ts +0 -1
  726. package/helpers/visibility.js +0 -5
  727. package/helpers.d.ts +3 -13
  728. package/helpers.js +3 -13
  729. package/media.d.ts +2 -2
  730. package/media.js +1 -1
  731. package/module-client.d.ts +6 -1
  732. package/module-labels.d.ts +18 -0
  733. package/module-labels.js +16 -0
  734. package/module-projection-authoring-client.d.ts +5 -3
  735. package/module-projection-authoring-client.js +8 -5
  736. package/module-projection-client.d.ts +2 -2
  737. package/module-projection-client.js +7 -2
  738. package/module-projection.d.ts +12 -5
  739. package/module-projection.js +31 -8
  740. package/module.d.ts +37 -12
  741. package/module.js +22 -7
  742. package/net/log.d.ts +0 -1
  743. package/net/log.js +0 -1
  744. package/net/phi-next-proxy.d.ts +25 -0
  745. package/net/phi-next-proxy.js +64 -3
  746. package/next/area-route.d.ts +24 -13
  747. package/next/area-route.js +30 -20
  748. package/next/areas/accounting-client.js +3 -2
  749. package/next/areas/admin-client.js +3 -2
  750. package/next/areas/app-client.js +3 -2
  751. package/next/areas/builder-client.js +3 -2
  752. package/next/areas/builder.js +1 -1
  753. package/next/areas/editor-client.js +3 -2
  754. package/next/areas/public-client.js +3 -2
  755. package/next/global-error.d.ts +33 -0
  756. package/next/global-error.js +80 -0
  757. package/next/overlay-zones.d.ts +15 -0
  758. package/next/overlay-zones.js +104 -0
  759. package/next/proxy-runtime.d.ts +16 -0
  760. package/next/proxy-runtime.js +89 -12
  761. package/next/root-route.d.ts +24 -5
  762. package/next/root-route.js +76 -26
  763. package/next/route-handlers.d.ts +23 -0
  764. package/next/route-handlers.js +22 -0
  765. package/next/runtime-module-client-boundary.d.ts +3 -1
  766. package/next/runtime-module-client-boundary.js +3 -2
  767. package/next/seo-routes.js +1 -2
  768. package/next/site-proxy.js +72 -15
  769. package/next/static-asset-path.d.ts +1 -0
  770. package/next/static-asset-path.js +23 -0
  771. package/package.json +50 -62
  772. package/plugins/registries/runtime-controllers.js +3 -5
  773. package/plugins/runtime/phi-effects-ready-trigger.d.ts +13 -0
  774. package/plugins/runtime/phi-effects-ready-trigger.js +48 -0
  775. package/plugins/runtime/phi-slot-child-frame-client.js +6 -6
  776. package/plugins/runtime/phi-slot-child-frame-view.js +19 -29
  777. package/plugins/runtime/slot-size-policy.d.ts +34 -3
  778. package/plugins/runtime/slot-size-policy.js +152 -17
  779. package/plugins/runtime-modules/accounting/definition.d.ts +0 -3
  780. package/plugins/runtime-modules/accounting/definition.js +0 -6
  781. package/plugins/runtime-modules/accounting/module.d.ts +15 -1
  782. package/plugins/runtime-modules/accounting/module.js +8 -3
  783. package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.d.ts +6 -0
  784. package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.js +45 -0
  785. package/plugins/runtime-modules/admin/controller/address.d.ts +0 -2
  786. package/plugins/runtime-modules/admin/controller/address.js +1 -5
  787. package/plugins/runtime-modules/admin/forms.js +1 -6
  788. package/plugins/runtime-modules/admin/module.d.ts +1 -45
  789. package/plugins/runtime-modules/admin/module.js +2 -4
  790. package/plugins/runtime-modules/admin/presets.d.ts +1 -5
  791. package/plugins/runtime-modules/admin/presets.js +3 -6
  792. package/plugins/runtime-modules/admin/trees/admin-settings-label-set.d.ts +6 -0
  793. package/plugins/runtime-modules/admin/trees/admin-settings-label-set.js +18 -0
  794. package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.d.ts +6 -0
  795. package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.js +180 -0
  796. package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.d.ts +6 -0
  797. package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.js +81 -0
  798. package/plugins/runtime-modules/app/definition.d.ts +59 -3
  799. package/plugins/runtime-modules/app/definition.js +4 -6
  800. package/plugins/runtime-modules/app/forms.d.ts +82 -0
  801. package/plugins/runtime-modules/app/forms.js +341 -0
  802. package/plugins/runtime-modules/app/module.d.ts +74 -1
  803. package/plugins/runtime-modules/app/module.js +8 -3
  804. package/plugins/runtime-modules/app/server.js +2 -0
  805. package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.d.ts +18 -0
  806. package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.js +101 -0
  807. package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.d.ts +22 -0
  808. package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +175 -0
  809. package/plugins/runtime-modules/app/trees/profile-label-set.d.ts +11 -0
  810. package/plugins/runtime-modules/app/trees/profile-label-set.js +40 -0
  811. package/plugins/runtime-modules/area-base-presets.d.ts +31 -4
  812. package/plugins/runtime-modules/area-base-presets.js +108 -22
  813. package/plugins/runtime-modules/area-catalogs/accounting.d.ts +1 -6
  814. package/plugins/runtime-modules/area-catalogs/accounting.js +3 -12
  815. package/plugins/runtime-modules/area-catalogs/admin.d.ts +1 -6
  816. package/plugins/runtime-modules/area-catalogs/admin.js +3 -12
  817. package/plugins/runtime-modules/area-catalogs/app.d.ts +1 -6
  818. package/plugins/runtime-modules/area-catalogs/app.js +3 -12
  819. package/plugins/runtime-modules/area-catalogs/area-catalog.d.ts +13 -0
  820. package/plugins/runtime-modules/area-catalogs/area-catalog.js +13 -0
  821. package/plugins/runtime-modules/area-catalogs/editor.d.ts +1 -6
  822. package/plugins/runtime-modules/area-catalogs/editor.js +3 -12
  823. package/plugins/runtime-modules/area-catalogs/public.d.ts +1 -6
  824. package/plugins/runtime-modules/area-catalogs/public.js +3 -12
  825. package/plugins/runtime-modules/area-contributions/app.d.ts +1 -1
  826. package/plugins/runtime-modules/area-contributions/app.js +4 -0
  827. package/plugins/runtime-modules/area-contributions/editor.d.ts +1 -1
  828. package/plugins/runtime-modules/area-contributions/editor.js +2 -0
  829. package/plugins/runtime-modules/area-contributions/public.d.ts +1 -1
  830. package/plugins/runtime-modules/area-contributions/public.js +4 -0
  831. package/plugins/runtime-modules/area-definitions.d.ts +184 -121
  832. package/plugins/runtime-modules/area-definitions.js +183 -43
  833. package/plugins/runtime-modules/area-module-defaults.d.ts +3 -0
  834. package/plugins/runtime-modules/area-module-defaults.js +59 -0
  835. package/plugins/runtime-modules/area-root-route.d.ts +1 -3
  836. package/plugins/runtime-modules/area-root-route.js +2 -4
  837. package/plugins/runtime-modules/asset/client-data-providers.js +2 -2
  838. package/plugins/runtime-modules/asset/client.js +1 -1
  839. package/plugins/runtime-modules/asset/controller/client.d.ts +124 -0
  840. package/plugins/runtime-modules/asset/controller/client.js +10 -0
  841. package/plugins/runtime-modules/asset/controller/definition.js +128 -0
  842. package/plugins/runtime-modules/asset/controller/mount.d.ts +4 -0
  843. package/plugins/runtime-modules/asset/controller/mount.js +6 -0
  844. package/plugins/runtime-modules/asset/controller/runtime.d.ts +1 -0
  845. package/plugins/runtime-modules/asset/controller/runtime.js +327 -0
  846. package/plugins/runtime-modules/asset/data-providers.d.ts +2 -1
  847. package/plugins/runtime-modules/asset/data-providers.js +4 -2
  848. package/plugins/runtime-modules/asset/definition.d.ts +8 -1
  849. package/plugins/runtime-modules/asset/definition.js +13 -5
  850. package/plugins/runtime-modules/asset/form-providers.js +11 -0
  851. package/plugins/runtime-modules/asset/form-ui-provider.js +13 -0
  852. package/plugins/runtime-modules/asset/ids.d.ts +2 -0
  853. package/plugins/runtime-modules/asset/ids.js +3 -1
  854. package/plugins/runtime-modules/asset/media-page-ids.d.ts +6 -0
  855. package/plugins/runtime-modules/asset/media-page-ids.js +36 -0
  856. package/plugins/runtime-modules/asset/metadata-form.d.ts +243 -0
  857. package/plugins/runtime-modules/asset/metadata-form.js +197 -0
  858. package/plugins/runtime-modules/asset/module.d.ts +1 -231
  859. package/plugins/runtime-modules/asset/module.js +3 -5
  860. package/plugins/runtime-modules/asset/presets.d.ts +2 -174
  861. package/plugins/runtime-modules/asset/presets.js +18 -43
  862. package/plugins/runtime-modules/asset/server.js +3 -4
  863. package/plugins/runtime-modules/asset/services/collection.js +162 -0
  864. package/plugins/runtime-modules/asset/services/options.js +69 -0
  865. package/plugins/runtime-modules/asset/settings-forms.d.ts +22 -0
  866. package/plugins/runtime-modules/asset/settings-forms.js +177 -0
  867. package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.d.ts +6 -0
  868. package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +93 -0
  869. package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.d.ts +15 -0
  870. package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +735 -0
  871. package/plugins/runtime-modules/asset/widgets/area-upload/authoring.d.ts +2 -3
  872. package/plugins/runtime-modules/asset/widgets/area-upload/authoring.js +4 -4
  873. package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +1 -9
  874. package/plugins/runtime-modules/asset/widgets/area-upload/config.js +0 -2
  875. package/plugins/runtime-modules/asset/widgets/area-upload/plugin.d.ts +1 -3
  876. package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +2 -3
  877. package/plugins/runtime-modules/asset/widgets/area-upload/server.d.ts +7 -0
  878. package/plugins/runtime-modules/asset/widgets/area-upload/server.js +13 -0
  879. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +2 -3
  880. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +2 -4
  881. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +1 -6
  882. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +0 -2
  883. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.d.ts +1 -3
  884. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +2 -3
  885. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.d.ts +6 -0
  886. package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.js +6 -0
  887. package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +2 -3
  888. package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +4 -4
  889. package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +1 -7
  890. package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +0 -2
  891. package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.d.ts +1 -3
  892. package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +2 -3
  893. package/plugins/runtime-modules/asset/widgets/image-inspector/server.d.ts +7 -0
  894. package/plugins/runtime-modules/asset/widgets/image-inspector/server.js +18 -0
  895. package/plugins/runtime-modules/asset/widgets/media-picker/authoring.d.ts +2 -3
  896. package/plugins/runtime-modules/asset/widgets/media-picker/authoring.js +2 -4
  897. package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +2 -16
  898. package/plugins/runtime-modules/asset/widgets/media-picker/config.js +1 -2
  899. package/plugins/runtime-modules/asset/widgets/media-picker/plugin.d.ts +1 -3
  900. package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +1 -2
  901. package/plugins/runtime-modules/auth/admin-settings-forms.d.ts +15 -0
  902. package/plugins/runtime-modules/auth/admin-settings-forms.js +394 -0
  903. package/plugins/runtime-modules/auth/client-data-providers.js +1 -1
  904. package/plugins/runtime-modules/auth/client.js +1 -1
  905. package/plugins/runtime-modules/auth/controller/address.d.ts +14 -0
  906. package/plugins/runtime-modules/auth/controller/address.js +17 -0
  907. package/plugins/runtime-modules/auth/controller/definition.d.ts +86 -0
  908. package/plugins/runtime-modules/auth/controller/definition.js +93 -0
  909. package/plugins/runtime-modules/auth/controller/server-definition.d.ts +83 -0
  910. package/plugins/runtime-modules/auth/controller/server-definition.js +55 -0
  911. package/plugins/runtime-modules/auth/controller-plugin.d.ts +1 -0
  912. package/plugins/runtime-modules/auth/controller-plugin.js +312 -0
  913. package/plugins/runtime-modules/auth/definition.d.ts +47 -16
  914. package/plugins/runtime-modules/auth/definition.js +16 -7
  915. package/plugins/runtime-modules/auth/features.js +2 -2
  916. package/plugins/runtime-modules/auth/form-provider-registry.d.ts +1 -0
  917. package/plugins/runtime-modules/auth/form-provider-registry.js +38 -0
  918. package/plugins/runtime-modules/auth/form-providers.d.ts +232 -0
  919. package/plugins/runtime-modules/auth/form-providers.js +42 -0
  920. package/plugins/runtime-modules/auth/form-ui-provider.js +7 -0
  921. package/plugins/runtime-modules/auth/forms.d.ts +3 -0
  922. package/plugins/runtime-modules/auth/forms.js +140 -0
  923. package/plugins/runtime-modules/auth/machine.d.ts +46 -0
  924. package/plugins/runtime-modules/auth/machine.js +98 -0
  925. package/plugins/runtime-modules/auth/module.js +1 -1
  926. package/plugins/runtime-modules/auth/overlay-ids.d.ts +23 -0
  927. package/plugins/runtime-modules/auth/overlay-ids.js +27 -0
  928. package/plugins/runtime-modules/auth/presets.d.ts +7 -68
  929. package/plugins/runtime-modules/auth/presets.js +66 -61
  930. package/plugins/runtime-modules/auth/server.js +3 -4
  931. package/plugins/runtime-modules/auth/services/installations-table.js +162 -0
  932. package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.d.ts +8 -0
  933. package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +105 -0
  934. package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.d.ts +7 -0
  935. package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.js +53 -0
  936. package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.d.ts +6 -0
  937. package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +334 -0
  938. package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.d.ts +17 -0
  939. package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.js +90 -0
  940. package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.d.ts +5 -0
  941. package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.js +166 -0
  942. package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.d.ts +10 -0
  943. package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.js +126 -0
  944. package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.d.ts +10 -0
  945. package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.js +118 -0
  946. package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.d.ts +5 -0
  947. package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.js +151 -0
  948. package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.d.ts +46 -0
  949. package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.js +216 -0
  950. package/plugins/runtime-modules/auth/trees/security-label-set.d.ts +8 -0
  951. package/plugins/runtime-modules/auth/trees/security-label-set.js +22 -0
  952. package/plugins/runtime-modules/auth/widgets/auth-methods/client.js +33 -24
  953. package/plugins/runtime-modules/auth/widgets/auth-workflow/client.d.ts +3 -1
  954. package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +48 -22
  955. package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +8 -1
  956. package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +36 -5
  957. package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +8 -7
  958. package/plugins/runtime-modules/auth/widgets/auth-workflow/server.d.ts +15 -0
  959. package/plugins/runtime-modules/auth/widgets/auth-workflow/server.js +14 -0
  960. package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +3 -1
  961. package/plugins/runtime-modules/auth/widgets/logout/client.js +9 -26
  962. package/plugins/runtime-modules/auth/widgets/logout/config.d.ts +1 -0
  963. package/plugins/runtime-modules/auth/widgets/logout/config.js +1 -0
  964. package/plugins/runtime-modules/auth/widgets/security/client.d.ts +6 -1
  965. package/plugins/runtime-modules/auth/widgets/security/client.js +60 -56
  966. package/plugins/runtime-modules/auth/widgets/security/config.d.ts +1 -0
  967. package/plugins/runtime-modules/auth/widgets/security/config.js +1 -0
  968. package/plugins/runtime-modules/auth/widgets/security/server.js +18 -1
  969. package/plugins/runtime-modules/avatar/addresses.js +19 -0
  970. package/plugins/runtime-modules/avatar/definition.d.ts +2 -2
  971. package/plugins/runtime-modules/avatar/definition.js +5 -2
  972. package/plugins/runtime-modules/avatar/labels.d.ts +25 -0
  973. package/plugins/runtime-modules/avatar/media-spaces.d.ts +9 -0
  974. package/plugins/runtime-modules/avatar/media-spaces.js +9 -0
  975. package/plugins/runtime-modules/avatar/module.d.ts +2 -2
  976. package/plugins/runtime-modules/avatar/overlay-tree.js +12 -0
  977. package/plugins/runtime-modules/avatar/overlay-tree.server.js +95 -0
  978. package/plugins/runtime-modules/avatar/presets.js +1 -1
  979. package/plugins/runtime-modules/avatar/server.js +1 -2
  980. package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +1 -2
  981. package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +2 -4
  982. package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +5 -5
  983. package/plugins/runtime-modules/avatar/widgets/account-avatar/config.d.ts +1 -1
  984. package/plugins/runtime-modules/avatar/widgets/account-avatar/config.js +1 -2
  985. package/plugins/runtime-modules/avatar/widgets/account-avatar/server.js +1 -1
  986. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +1 -2
  987. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +2 -4
  988. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.js +9 -8
  989. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.d.ts +1 -1
  990. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.js +1 -2
  991. package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.js +1 -1
  992. package/plugins/runtime-modules/builder/addresses.d.ts +23 -0
  993. package/plugins/runtime-modules/builder/addresses.js +53 -0
  994. package/plugins/runtime-modules/builder/area-settings-form.d.ts +2 -0
  995. package/plugins/runtime-modules/builder/area-settings-form.js +137 -0
  996. package/plugins/runtime-modules/builder/area-settings-values.d.ts +26 -0
  997. package/plugins/runtime-modules/builder/area-settings-values.js +26 -0
  998. package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +0 -1
  999. package/plugins/runtime-modules/builder/area-shell-presets.server.js +12 -10
  1000. package/plugins/runtime-modules/builder/authoring-canvas.js +5 -0
  1001. package/plugins/runtime-modules/builder/authoring-widgets.js +2 -3
  1002. package/plugins/runtime-modules/builder/builder-geometry.d.ts +28 -0
  1003. package/plugins/runtime-modules/builder/builder-geometry.js +38 -0
  1004. package/plugins/runtime-modules/builder/client-data-providers.js +8 -0
  1005. package/plugins/runtime-modules/builder/client.d.ts +0 -1
  1006. package/plugins/runtime-modules/builder/client.js +0 -4
  1007. package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +3 -4
  1008. package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +7 -1
  1009. package/plugins/runtime-modules/builder/clients/inspector-config-field.js +101 -30
  1010. package/plugins/runtime-modules/builder/clients/inspector-link-target-field.d.ts +30 -0
  1011. package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +69 -0
  1012. package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +4 -2
  1013. package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +60 -49
  1014. package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +4 -3
  1015. package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +7 -3
  1016. package/plugins/runtime-modules/builder/clients/layout-inspector.js +34 -6
  1017. package/plugins/runtime-modules/builder/clients/mode-switch.js +2 -2
  1018. package/plugins/runtime-modules/builder/clients/pages-header.d.ts +0 -1
  1019. package/plugins/runtime-modules/builder/clients/pages-header.js +24 -9
  1020. package/plugins/runtime-modules/builder/clients/region-inspector.js +2 -2
  1021. package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +14 -2
  1022. package/plugins/runtime-modules/builder/clients/shells-workspace.js +13 -1
  1023. package/plugins/runtime-modules/builder/clients/structure-canvas.js +8 -7
  1024. package/plugins/runtime-modules/builder/clients/widget-effects-editor.d.ts +4 -1
  1025. package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +2 -2
  1026. package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +7 -1
  1027. package/plugins/runtime-modules/builder/clients/widget-inspector.js +24 -19
  1028. package/plugins/runtime-modules/builder/controller/client.d.ts +6 -0
  1029. package/plugins/runtime-modules/builder/controller/definition.d.ts +6 -0
  1030. package/plugins/runtime-modules/builder/controller/definition.js +7 -0
  1031. package/plugins/runtime-modules/builder/controller/server-definition.d.ts +7 -1
  1032. package/plugins/runtime-modules/builder/data-providers.d.ts +26 -1
  1033. package/plugins/runtime-modules/builder/data-providers.js +23 -0
  1034. package/plugins/runtime-modules/builder/definition.d.ts +26 -1
  1035. package/plugins/runtime-modules/builder/demand-controller-store.d.ts +0 -1
  1036. package/plugins/runtime-modules/builder/demand-controller-store.js +0 -5
  1037. package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +17 -1
  1038. package/plugins/runtime-modules/builder/developer-workspace-store.js +34 -3
  1039. package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +32 -2
  1040. package/plugins/runtime-modules/builder/draft-command-controller.d.ts +6 -4
  1041. package/plugins/runtime-modules/builder/draft-command-controller.js +69 -171
  1042. package/plugins/runtime-modules/builder/draft-status-controller.d.ts +23 -0
  1043. package/plugins/runtime-modules/builder/draft-status-controller.js +173 -0
  1044. package/plugins/runtime-modules/builder/effects-form-values.d.ts +9 -0
  1045. package/plugins/runtime-modules/builder/effects-form-values.js +14 -4
  1046. package/plugins/runtime-modules/builder/history.d.ts +2 -0
  1047. package/plugins/runtime-modules/builder/ids.d.ts +1 -0
  1048. package/plugins/runtime-modules/builder/ids.js +5 -3
  1049. package/plugins/runtime-modules/builder/inspector-actions.d.ts +3 -0
  1050. package/plugins/runtime-modules/builder/inspector-actions.js +6 -5
  1051. package/plugins/runtime-modules/builder/inspector-controller.js +24 -17
  1052. package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +1 -1
  1053. package/plugins/runtime-modules/builder/inspector-section-widget.d.ts +2 -1
  1054. package/plugins/runtime-modules/builder/inspector-section-widget.js +10 -2
  1055. package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +4 -0
  1056. package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +2 -0
  1057. package/plugins/runtime-modules/builder/module.d.ts +1 -609
  1058. package/plugins/runtime-modules/builder/module.js +2 -4
  1059. package/plugins/runtime-modules/builder/navigation-catalog.server.d.ts +2 -1
  1060. package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +1 -1
  1061. package/plugins/runtime-modules/builder/navigation-folder-address.js +1 -1
  1062. package/plugins/runtime-modules/builder/navigation-path-context.d.ts +1 -1
  1063. package/plugins/runtime-modules/builder/navigation-path-context.js +27 -10
  1064. package/plugins/runtime-modules/builder/navigation-persistence.js +11 -1
  1065. package/plugins/runtime-modules/builder/navigation-store.d.ts +0 -2
  1066. package/plugins/runtime-modules/builder/navigation-store.js +0 -6
  1067. package/plugins/runtime-modules/builder/node-kind-theme.d.ts +0 -4
  1068. package/plugins/runtime-modules/builder/node-kind-theme.js +1 -14
  1069. package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +12 -1
  1070. package/plugins/runtime-modules/builder/offered-page-catalog.js +98 -3
  1071. package/plugins/runtime-modules/builder/options-providers.d.ts +3 -19
  1072. package/plugins/runtime-modules/builder/options-providers.js +116 -50
  1073. package/plugins/runtime-modules/builder/page-controller-helpers.d.ts +0 -1
  1074. package/plugins/runtime-modules/builder/page-controller-helpers.js +0 -8
  1075. package/plugins/runtime-modules/builder/page-controller.d.ts +0 -1
  1076. package/plugins/runtime-modules/builder/page-controller.js +1 -2
  1077. package/plugins/runtime-modules/builder/page-meta-form.js +139 -64
  1078. package/plugins/runtime-modules/builder/page-presets.server.d.ts +0 -1
  1079. package/plugins/runtime-modules/builder/page-presets.server.js +45 -12
  1080. package/plugins/runtime-modules/builder/page-reference-tree.d.ts +18 -0
  1081. package/plugins/runtime-modules/builder/page-reference-tree.js +31 -0
  1082. package/plugins/runtime-modules/builder/page-references-provider.d.ts +5 -0
  1083. package/plugins/runtime-modules/builder/page-references-provider.js +14 -0
  1084. package/plugins/runtime-modules/builder/pages-workspace.d.ts +2 -1
  1085. package/plugins/runtime-modules/builder/pages-workspace.js +5 -4
  1086. package/plugins/runtime-modules/builder/persistence.d.ts +0 -1
  1087. package/plugins/runtime-modules/builder/persistence.js +11 -28
  1088. package/plugins/runtime-modules/builder/plugin-meta-labels.d.ts +16 -0
  1089. package/plugins/runtime-modules/builder/plugin-meta-labels.js +57 -0
  1090. package/plugins/runtime-modules/builder/plugin-meta-labels.server.d.ts +4 -0
  1091. package/plugins/runtime-modules/builder/plugin-meta-labels.server.js +65 -0
  1092. package/plugins/runtime-modules/builder/plugin-meta-store.d.ts +4 -0
  1093. package/plugins/runtime-modules/builder/plugin-meta-store.js +8 -1
  1094. package/plugins/runtime-modules/builder/plugin-metas.d.ts +1 -2
  1095. package/plugins/runtime-modules/builder/plugin-metas.js +3 -14
  1096. package/plugins/runtime-modules/builder/presets.d.ts +4 -2
  1097. package/plugins/runtime-modules/builder/presets.js +3 -4
  1098. package/plugins/runtime-modules/builder/preview-controller.d.ts +1 -2
  1099. package/plugins/runtime-modules/builder/preview-controller.js +2 -70
  1100. package/plugins/runtime-modules/builder/preview-store.d.ts +0 -1
  1101. package/plugins/runtime-modules/builder/preview-store.js +1 -4
  1102. package/plugins/runtime-modules/builder/preview-transport.js +4 -6
  1103. package/plugins/runtime-modules/builder/region-controller.d.ts +0 -1
  1104. package/plugins/runtime-modules/builder/region-controller.js +0 -6
  1105. package/plugins/runtime-modules/builder/region-hydration.d.ts +5 -13
  1106. package/plugins/runtime-modules/builder/region-hydration.js +0 -20
  1107. package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +1 -3
  1108. package/plugins/runtime-modules/builder/render-root-node-preview.server.js +8 -56
  1109. package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +2 -2
  1110. package/plugins/runtime-modules/builder/render-root-node-scaffold.js +137 -47
  1111. package/plugins/runtime-modules/builder/root-node-normalization.d.ts +6 -1
  1112. package/plugins/runtime-modules/builder/root-node-normalization.js +22 -6
  1113. package/plugins/runtime-modules/builder/runtime-module-sandbox.server.d.ts +1 -1
  1114. package/plugins/runtime-modules/builder/selected-collection-source.d.ts +22 -0
  1115. package/plugins/runtime-modules/builder/selected-collection-source.js +51 -0
  1116. package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +7 -0
  1117. package/plugins/runtime-modules/builder/sequential-slot-helpers.js +4 -0
  1118. package/plugins/runtime-modules/builder/server.js +8 -2
  1119. package/plugins/runtime-modules/builder/services/navigation-table.js +11 -3
  1120. package/plugins/runtime-modules/builder/services/page-source-tree.js +8 -2
  1121. package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +15 -0
  1122. package/plugins/runtime-modules/builder/services/runtime-modules-table.js +92 -24
  1123. package/plugins/runtime-modules/builder/services/signal-routes-table.js +3 -1
  1124. package/plugins/runtime-modules/builder/shells-workspace.d.ts +2 -1
  1125. package/plugins/runtime-modules/builder/shells-workspace.js +5 -4
  1126. package/plugins/runtime-modules/builder/signal-wiring-controller.js +18 -2
  1127. package/plugins/runtime-modules/builder/signal-wiring-form.js +15 -6
  1128. package/plugins/runtime-modules/builder/signal-wiring-options.js +38 -10
  1129. package/plugins/runtime-modules/builder/structure-region-pick-items.js +14 -2
  1130. package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.d.ts +35 -0
  1131. package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.js +68 -0
  1132. package/plugins/runtime-modules/builder/trees/builder-settings-label-set.d.ts +17 -0
  1133. package/plugins/runtime-modules/builder/trees/builder-settings-label-set.js +34 -0
  1134. package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.d.ts +7 -0
  1135. package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.js +12 -0
  1136. package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.d.ts +20 -0
  1137. package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +569 -0
  1138. package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.d.ts +132 -0
  1139. package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +2052 -0
  1140. package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.d.ts +12 -0
  1141. package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.js +55 -0
  1142. package/plugins/runtime-modules/builder/use-offered-page-catalog.d.ts +16 -0
  1143. package/plugins/runtime-modules/builder/use-offered-page-catalog.js +35 -0
  1144. package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +0 -1
  1145. package/plugins/runtime-modules/builder/widgets/chrome/config.js +2 -5
  1146. package/plugins/runtime-modules/builder/widgets/hello-world/client.js +2 -10
  1147. package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +3 -3
  1148. package/plugins/runtime-modules/builder/widgets/hello-world/config.js +1 -2
  1149. package/plugins/runtime-modules/builder/widgets/hello-world/plugin.d.ts +0 -2
  1150. package/plugins/runtime-modules/builder/widgets/hello-world/plugin.js +0 -2
  1151. package/plugins/runtime-modules/builder/widgets/structure-region/built-in.d.ts +3 -1
  1152. package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +112 -89
  1153. package/plugins/runtime-modules/builder/widgets/structure-region/config.d.ts +3 -0
  1154. package/plugins/runtime-modules/builder/widgets/structure-region/config.js +3 -0
  1155. package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.d.ts +22 -0
  1156. package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.js +8 -0
  1157. package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +12 -8
  1158. package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +3 -2
  1159. package/plugins/runtime-modules/builder/widgets/test-block/config.js +1 -0
  1160. package/plugins/runtime-modules/builder/widgets/workspace-headers/config.d.ts +1 -0
  1161. package/plugins/runtime-modules/builder/widgets/workspace-headers/config.js +1 -0
  1162. package/plugins/runtime-modules/builder/widgets.js +1 -8
  1163. package/plugins/runtime-modules/builder/workspace-controller.d.ts +1 -1
  1164. package/plugins/runtime-modules/builder/workspace-controller.js +206 -199
  1165. package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -1
  1166. package/plugins/runtime-modules/client-area-contributions/accounting.js +0 -7
  1167. package/plugins/runtime-modules/client-area-contributions/app.js +4 -4
  1168. package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -1
  1169. package/plugins/runtime-modules/client-area-contributions/public.js +0 -6
  1170. package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -1
  1171. package/plugins/runtime-modules/client-authoring-providers/app.js +12 -0
  1172. package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -1
  1173. package/plugins/runtime-modules/client-authoring-providers/editor.js +6 -0
  1174. package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -1
  1175. package/plugins/runtime-modules/client-authoring-providers/public.js +12 -0
  1176. package/plugins/runtime-modules/client-calendar-adapters/core.js +1 -1
  1177. package/plugins/runtime-modules/client-manifests/accounting.d.ts +2 -1
  1178. package/plugins/runtime-modules/client-manifests/accounting.js +5 -1
  1179. package/plugins/runtime-modules/client-manifests/admin.d.ts +1 -0
  1180. package/plugins/runtime-modules/client-manifests/admin.js +4 -9
  1181. package/plugins/runtime-modules/client-manifests/app.d.ts +1 -0
  1182. package/plugins/runtime-modules/client-manifests/app.js +12 -3
  1183. package/plugins/runtime-modules/client-manifests/builder.d.ts +1 -0
  1184. package/plugins/runtime-modules/client-manifests/builder.js +3 -4
  1185. package/plugins/runtime-modules/client-manifests/common.d.ts +7 -0
  1186. package/plugins/runtime-modules/client-manifests/common.js +59 -31
  1187. package/plugins/runtime-modules/client-manifests/editor.d.ts +1 -0
  1188. package/plugins/runtime-modules/client-manifests/editor.js +8 -1
  1189. package/plugins/runtime-modules/client-manifests/news-render-clients.d.ts +2 -0
  1190. package/plugins/runtime-modules/client-manifests/news-render-clients.js +10 -0
  1191. package/plugins/runtime-modules/client-manifests/public.d.ts +1 -0
  1192. package/plugins/runtime-modules/client-manifests/public.js +3 -0
  1193. package/plugins/runtime-modules/contracts.js +89 -27
  1194. package/plugins/runtime-modules/core/authoring-widgets.js +6 -14
  1195. package/plugins/runtime-modules/core/cards.d.ts +3 -0
  1196. package/plugins/runtime-modules/core/cards.js +83 -0
  1197. package/plugins/runtime-modules/core/client-data-providers.js +11 -3
  1198. package/plugins/runtime-modules/core/data-providers.js +10 -1
  1199. package/plugins/runtime-modules/core/definition.d.ts +223 -181
  1200. package/plugins/runtime-modules/core/definition.js +1 -1
  1201. package/plugins/runtime-modules/core/form-providers.d.ts +417 -0
  1202. package/plugins/runtime-modules/core/form-providers.js +13 -0
  1203. package/plugins/runtime-modules/core/ids.d.ts +0 -4
  1204. package/plugins/runtime-modules/core/ids.js +0 -5
  1205. package/plugins/runtime-modules/core/module.d.ts +1 -508
  1206. package/plugins/runtime-modules/core/module.js +2 -4
  1207. package/plugins/runtime-modules/core/server.js +3 -0
  1208. package/plugins/runtime-modules/core/services/table.js +13 -0
  1209. package/plugins/runtime-modules/core/widgets/account/client.d.ts +3 -2
  1210. package/plugins/runtime-modules/core/widgets/account/client.js +62 -38
  1211. package/plugins/runtime-modules/core/widgets/account/config.d.ts +1 -1
  1212. package/plugins/runtime-modules/core/widgets/account/config.js +1 -2
  1213. package/plugins/runtime-modules/core/widgets/account/plugin.d.ts +0 -2
  1214. package/plugins/runtime-modules/core/widgets/account/plugin.js +9 -4
  1215. package/plugins/runtime-modules/core/widgets/account/server.d.ts +9 -5
  1216. package/plugins/runtime-modules/core/widgets/account/server.js +89 -49
  1217. package/plugins/runtime-modules/core/widgets/brand/authoring.js +65 -5
  1218. package/plugins/runtime-modules/core/widgets/brand/client.d.ts +8 -4
  1219. package/plugins/runtime-modules/core/widgets/brand/client.js +35 -8
  1220. package/plugins/runtime-modules/core/widgets/brand/config.d.ts +13 -15
  1221. package/plugins/runtime-modules/core/widgets/brand/config.js +24 -9
  1222. package/plugins/runtime-modules/core/widgets/brand/mode.d.ts +23 -0
  1223. package/plugins/runtime-modules/core/widgets/brand/mode.js +7 -0
  1224. package/plugins/runtime-modules/core/widgets/brand/plugin.js +12 -2
  1225. package/plugins/runtime-modules/core/widgets/brand/server.d.ts +3 -6
  1226. package/plugins/runtime-modules/core/widgets/brand/server.js +2 -6
  1227. package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +3 -2
  1228. package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +1 -0
  1229. package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +1 -0
  1230. package/plugins/runtime-modules/core/widgets/button/client.d.ts +14 -1
  1231. package/plugins/runtime-modules/core/widgets/button/client.js +15 -5
  1232. package/plugins/runtime-modules/core/widgets/button/config.d.ts +61 -7
  1233. package/plugins/runtime-modules/core/widgets/button/config.js +29 -20
  1234. package/plugins/runtime-modules/core/widgets/button/plugin.js +34 -4
  1235. package/plugins/runtime-modules/core/widgets/card/authoring.js +1 -1
  1236. package/plugins/runtime-modules/core/widgets/card/collection-view-binding.d.ts +9 -0
  1237. package/plugins/runtime-modules/core/widgets/card/collection-view-binding.js +104 -0
  1238. package/plugins/runtime-modules/core/widgets/card/config.d.ts +16 -1
  1239. package/plugins/runtime-modules/core/widgets/card/config.js +16 -2
  1240. package/plugins/runtime-modules/core/widgets/card/editor.d.ts +11 -0
  1241. package/plugins/runtime-modules/core/widgets/card/editor.js +48 -0
  1242. package/plugins/runtime-modules/core/widgets/card/plugin.js +3 -1
  1243. package/plugins/runtime-modules/core/widgets/card/server.d.ts +4 -5
  1244. package/plugins/runtime-modules/core/widgets/card/server.js +11 -2
  1245. package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +9 -9
  1246. package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +2 -1
  1247. package/plugins/runtime-modules/core/widgets/cascader/config.js +1 -0
  1248. package/plugins/runtime-modules/core/widgets/checkbox/authoring.d.ts +1 -2
  1249. package/plugins/runtime-modules/core/widgets/checkbox/authoring.js +1 -2
  1250. package/plugins/runtime-modules/core/widgets/checkbox/config.d.ts +0 -1
  1251. package/plugins/runtime-modules/core/widgets/checkbox/config.js +0 -2
  1252. package/plugins/runtime-modules/core/widgets/checkbox/plugin.d.ts +1 -2
  1253. package/plugins/runtime-modules/core/widgets/checkbox/plugin.js +1 -2
  1254. package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.d.ts +1 -2
  1255. package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.js +1 -2
  1256. package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +2 -2
  1257. package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +1 -2
  1258. package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.d.ts +1 -2
  1259. package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.js +1 -2
  1260. package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.d.ts +9 -0
  1261. package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +253 -0
  1262. package/plugins/runtime-modules/core/widgets/collection-view/authoring.d.ts +1 -1
  1263. package/plugins/runtime-modules/core/widgets/collection-view/authoring.js +1 -1
  1264. package/plugins/runtime-modules/core/widgets/collection-view/client.d.ts +10 -0
  1265. package/plugins/runtime-modules/core/widgets/collection-view/client.js +55 -0
  1266. package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +94 -88
  1267. package/plugins/runtime-modules/core/widgets/collection-view/config.js +47 -38
  1268. package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.d.ts +7 -0
  1269. package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.js +16 -0
  1270. package/plugins/runtime-modules/core/widgets/collection-view/plugin.d.ts +1 -1
  1271. package/plugins/runtime-modules/core/widgets/collection-view/server.d.ts +1 -1
  1272. package/plugins/runtime-modules/core/widgets/color/authoring.js +1 -1
  1273. package/plugins/runtime-modules/core/widgets/color/client.d.ts +8 -0
  1274. package/plugins/runtime-modules/core/widgets/color/client.js +18 -0
  1275. package/plugins/runtime-modules/core/widgets/color/config.d.ts +1 -0
  1276. package/plugins/runtime-modules/core/widgets/color/config.js +1 -0
  1277. package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.d.ts +5 -0
  1278. package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.js +45 -0
  1279. package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +1 -1
  1280. package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +2 -1
  1281. package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +14 -22
  1282. package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +11 -7
  1283. package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +1 -2
  1284. package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +1 -2
  1285. package/plugins/runtime-modules/core/widgets/date-picker/config.d.ts +0 -1
  1286. package/plugins/runtime-modules/core/widgets/date-picker/config.js +2 -3
  1287. package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +1 -2
  1288. package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +1 -2
  1289. package/plugins/runtime-modules/core/widgets/description/authoring.js +1 -1
  1290. package/plugins/runtime-modules/core/widgets/description/client.d.ts +5 -2
  1291. package/plugins/runtime-modules/core/widgets/description/client.js +10 -9
  1292. package/plugins/runtime-modules/core/widgets/description/config.d.ts +25 -0
  1293. package/plugins/runtime-modules/core/widgets/description/config.js +5 -0
  1294. package/plugins/runtime-modules/core/widgets/description/editor.d.ts +6 -0
  1295. package/plugins/runtime-modules/core/widgets/description/editor.js +129 -0
  1296. package/plugins/runtime-modules/core/widgets/description/plugin.js +4 -2
  1297. package/plugins/runtime-modules/core/widgets/description/server.d.ts +3 -1
  1298. package/plugins/runtime-modules/core/widgets/description/server.js +36 -12
  1299. package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -0
  1300. package/plugins/runtime-modules/core/widgets/dimension/config.js +1 -0
  1301. package/plugins/runtime-modules/core/widgets/draft-status/authoring.d.ts +3 -0
  1302. package/plugins/runtime-modules/core/widgets/draft-status/authoring.js +9 -0
  1303. package/plugins/runtime-modules/core/widgets/draft-status/client.d.ts +21 -0
  1304. package/plugins/runtime-modules/core/widgets/draft-status/client.js +118 -0
  1305. package/plugins/runtime-modules/core/widgets/draft-status/config.d.ts +43 -0
  1306. package/plugins/runtime-modules/core/widgets/draft-status/config.js +37 -0
  1307. package/plugins/runtime-modules/core/widgets/draft-status/plugin.d.ts +3 -0
  1308. package/plugins/runtime-modules/core/widgets/draft-status/plugin.js +23 -0
  1309. package/plugins/runtime-modules/core/widgets/form/authoring.d.ts +1 -1
  1310. package/plugins/runtime-modules/core/widgets/form/config.d.ts +70 -62
  1311. package/plugins/runtime-modules/core/widgets/form/config.js +65 -67
  1312. package/plugins/runtime-modules/core/widgets/form/plugin.d.ts +2 -1
  1313. package/plugins/runtime-modules/core/widgets/form/plugin.js +2 -2
  1314. package/plugins/runtime-modules/core/widgets/form-preview/built-in.d.ts +2 -1
  1315. package/plugins/runtime-modules/core/widgets/form-preview/built-in.js +1 -0
  1316. package/plugins/runtime-modules/core/widgets/form-preview/client.js +12 -9
  1317. package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +0 -1
  1318. package/plugins/runtime-modules/core/widgets/form-preview/config.js +3 -4
  1319. package/plugins/runtime-modules/core/widgets/form-preview/plugin.d.ts +1 -2
  1320. package/plugins/runtime-modules/core/widgets/form-preview/plugin.js +1 -2
  1321. package/plugins/runtime-modules/core/widgets/gallery/authoring.d.ts +1 -2
  1322. package/plugins/runtime-modules/core/widgets/gallery/authoring.js +1 -2
  1323. package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +13 -1
  1324. package/plugins/runtime-modules/core/widgets/gallery/config.js +10 -7
  1325. package/plugins/runtime-modules/core/widgets/gallery/plugin.d.ts +1 -2
  1326. package/plugins/runtime-modules/core/widgets/gallery/plugin.js +1 -2
  1327. package/plugins/runtime-modules/core/widgets/header-navigation/authoring.js +4 -3
  1328. package/plugins/runtime-modules/core/widgets/header-navigation/client.d.ts +1 -0
  1329. package/plugins/runtime-modules/core/widgets/header-navigation/client.js +2 -5
  1330. package/plugins/runtime-modules/core/widgets/header-navigation/config.js +2 -2
  1331. package/plugins/runtime-modules/core/widgets/header-navigation/plugin.js +3 -2
  1332. package/plugins/runtime-modules/core/widgets/html/config.d.ts +1 -7
  1333. package/plugins/runtime-modules/core/widgets/html/config.js +12 -35
  1334. package/plugins/runtime-modules/core/widgets/html/server.js +16 -20
  1335. package/plugins/runtime-modules/core/widgets/icon/authoring.js +2 -2
  1336. package/plugins/runtime-modules/core/widgets/icon/client.d.ts +9 -2
  1337. package/plugins/runtime-modules/core/widgets/icon/client.js +5 -3
  1338. package/plugins/runtime-modules/core/widgets/icon/config.d.ts +1 -0
  1339. package/plugins/runtime-modules/core/widgets/icon/config.js +1 -0
  1340. package/plugins/runtime-modules/core/widgets/icon/editor.d.ts +10 -0
  1341. package/plugins/runtime-modules/core/widgets/icon/editor.js +12 -0
  1342. package/plugins/runtime-modules/core/widgets/image/authoring.js +2 -2
  1343. package/plugins/runtime-modules/core/widgets/image/client.js +9 -6
  1344. package/plugins/runtime-modules/core/widgets/image/config.d.ts +10 -24
  1345. package/plugins/runtime-modules/core/widgets/image/config.js +13 -15
  1346. package/plugins/runtime-modules/core/widgets/image/editor.d.ts +10 -0
  1347. package/plugins/runtime-modules/core/widgets/image/editor.js +100 -0
  1348. package/plugins/runtime-modules/core/widgets/input/client.js +1 -1
  1349. package/plugins/runtime-modules/core/widgets/input/config.d.ts +1 -0
  1350. package/plugins/runtime-modules/core/widgets/input/config.js +1 -0
  1351. package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -0
  1352. package/plugins/runtime-modules/core/widgets/length/config.js +1 -0
  1353. package/plugins/runtime-modules/core/widgets/locale/config.d.ts +1 -1
  1354. package/plugins/runtime-modules/core/widgets/locale/config.js +1 -2
  1355. package/plugins/runtime-modules/core/widgets/locale/plugin.d.ts +0 -2
  1356. package/plugins/runtime-modules/core/widgets/locale/plugin.js +1 -2
  1357. package/plugins/runtime-modules/core/widgets/markdown/authoring.js +1 -1
  1358. package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +6 -9
  1359. package/plugins/runtime-modules/core/widgets/markdown/config.js +29 -5
  1360. package/plugins/runtime-modules/core/widgets/markdown/editor.d.ts +9 -0
  1361. package/plugins/runtime-modules/core/widgets/markdown/editor.js +104 -0
  1362. package/plugins/runtime-modules/core/widgets/markdown/plugin.js +1 -0
  1363. package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +1 -19
  1364. package/plugins/runtime-modules/core/widgets/markdown/server.js +1 -486
  1365. package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.d.ts +1 -2
  1366. package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.js +1 -2
  1367. package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +4 -2
  1368. package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +1 -6
  1369. package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +0 -2
  1370. package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.d.ts +1 -2
  1371. package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.js +1 -2
  1372. package/plugins/runtime-modules/core/widgets/markdown-toc/server.d.ts +1 -1
  1373. package/plugins/runtime-modules/core/widgets/markdown-toc/server.js +4 -2
  1374. package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +2 -1
  1375. package/plugins/runtime-modules/core/widgets/multi-select/config.js +1 -0
  1376. package/plugins/runtime-modules/core/widgets/number-input/authoring.d.ts +1 -2
  1377. package/plugins/runtime-modules/core/widgets/number-input/authoring.js +1 -2
  1378. package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
  1379. package/plugins/runtime-modules/core/widgets/number-input/config.js +1 -2
  1380. package/plugins/runtime-modules/core/widgets/number-input/plugin.d.ts +1 -2
  1381. package/plugins/runtime-modules/core/widgets/number-input/plugin.js +1 -2
  1382. package/plugins/runtime-modules/core/widgets/otp/authoring.d.ts +1 -2
  1383. package/plugins/runtime-modules/core/widgets/otp/authoring.js +1 -2
  1384. package/plugins/runtime-modules/core/widgets/otp/client.js +1 -1
  1385. package/plugins/runtime-modules/core/widgets/otp/config.d.ts +0 -1
  1386. package/plugins/runtime-modules/core/widgets/otp/config.js +0 -2
  1387. package/plugins/runtime-modules/core/widgets/otp/plugin.d.ts +1 -2
  1388. package/plugins/runtime-modules/core/widgets/otp/plugin.js +1 -2
  1389. package/plugins/runtime-modules/core/widgets/page-title/authoring.js +2 -2
  1390. package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +1 -0
  1391. package/plugins/runtime-modules/core/widgets/page-title/config.js +1 -0
  1392. package/plugins/runtime-modules/core/widgets/pagination/client.js +3 -2
  1393. package/plugins/runtime-modules/core/widgets/quick-links/authoring.js +3 -3
  1394. package/plugins/runtime-modules/core/widgets/quick-links/client.js +5 -5
  1395. package/plugins/runtime-modules/core/widgets/quick-links/config.js +2 -2
  1396. package/plugins/runtime-modules/core/widgets/quick-links/items.d.ts +5 -0
  1397. package/plugins/runtime-modules/core/widgets/quick-links/items.js +27 -0
  1398. package/plugins/runtime-modules/core/widgets/quick-links/server.js +1 -1
  1399. package/plugins/runtime-modules/core/widgets/rate/authoring.d.ts +1 -2
  1400. package/plugins/runtime-modules/core/widgets/rate/authoring.js +1 -2
  1401. package/plugins/runtime-modules/core/widgets/rate/config.d.ts +0 -1
  1402. package/plugins/runtime-modules/core/widgets/rate/config.js +0 -2
  1403. package/plugins/runtime-modules/core/widgets/rate/plugin.d.ts +1 -2
  1404. package/plugins/runtime-modules/core/widgets/rate/plugin.js +1 -2
  1405. package/plugins/runtime-modules/core/widgets/record/authoring.d.ts +3 -0
  1406. package/plugins/runtime-modules/core/widgets/record/authoring.js +8 -0
  1407. package/plugins/runtime-modules/core/widgets/record/client.d.ts +7 -0
  1408. package/plugins/runtime-modules/core/widgets/record/client.js +136 -0
  1409. package/plugins/runtime-modules/core/widgets/record/config.d.ts +186 -0
  1410. package/plugins/runtime-modules/core/widgets/record/config.js +214 -0
  1411. package/plugins/runtime-modules/core/widgets/record/plugin.d.ts +3 -0
  1412. package/plugins/runtime-modules/core/widgets/record/plugin.js +19 -0
  1413. package/plugins/runtime-modules/core/widgets/record/server.d.ts +7 -0
  1414. package/plugins/runtime-modules/core/widgets/record/server.js +6 -0
  1415. package/plugins/runtime-modules/core/widgets/result/config.d.ts +36 -7
  1416. package/plugins/runtime-modules/core/widgets/result/config.js +1 -5
  1417. package/plugins/runtime-modules/core/widgets/result/plugin.d.ts +1 -2
  1418. package/plugins/runtime-modules/core/widgets/result/plugin.js +5 -4
  1419. package/plugins/runtime-modules/core/widgets/result/server.d.ts +3 -1
  1420. package/plugins/runtime-modules/core/widgets/result/server.js +4 -4
  1421. package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +1 -1
  1422. package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +2 -1
  1423. package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -0
  1424. package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.js +2 -2
  1425. package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.d.ts +1 -0
  1426. package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +19 -24
  1427. package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +1 -0
  1428. package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +15 -20
  1429. package/plugins/runtime-modules/core/widgets/simple-text/authoring.js +2 -2
  1430. package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +4 -6
  1431. package/plugins/runtime-modules/core/widgets/simple-text/client.js +15 -32
  1432. package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +252 -11
  1433. package/plugins/runtime-modules/core/widgets/simple-text/config.js +28 -68
  1434. package/plugins/runtime-modules/core/widgets/simple-text/editor.d.ts +32 -0
  1435. package/plugins/runtime-modules/core/widgets/simple-text/editor.js +143 -0
  1436. package/plugins/runtime-modules/core/widgets/simple-text/marks.d.ts +4 -0
  1437. package/plugins/runtime-modules/core/widgets/simple-text/marks.js +8 -0
  1438. package/plugins/runtime-modules/core/widgets/simple-text/server.js +13 -3
  1439. package/plugins/runtime-modules/core/widgets/slider/authoring.d.ts +1 -2
  1440. package/plugins/runtime-modules/core/widgets/slider/authoring.js +1 -2
  1441. package/plugins/runtime-modules/core/widgets/slider/client.js +1 -1
  1442. package/plugins/runtime-modules/core/widgets/slider/config.d.ts +0 -2
  1443. package/plugins/runtime-modules/core/widgets/slider/config.js +1 -5
  1444. package/plugins/runtime-modules/core/widgets/slider/plugin.d.ts +1 -2
  1445. package/plugins/runtime-modules/core/widgets/slider/plugin.js +1 -2
  1446. package/plugins/runtime-modules/core/widgets/slider/value.d.ts +1 -0
  1447. package/plugins/runtime-modules/core/widgets/slider/value.js +7 -0
  1448. package/plugins/runtime-modules/core/widgets/slot-upload/client.js +12 -7
  1449. package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +1 -0
  1450. package/plugins/runtime-modules/core/widgets/slot-upload/config.js +1 -0
  1451. package/plugins/runtime-modules/core/widgets/spacer/authoring.d.ts +1 -3
  1452. package/plugins/runtime-modules/core/widgets/spacer/authoring.js +1 -2
  1453. package/plugins/runtime-modules/core/widgets/spacer/client.d.ts +2 -2
  1454. package/plugins/runtime-modules/core/widgets/spacer/config.d.ts +4 -3
  1455. package/plugins/runtime-modules/core/widgets/spacer/config.js +2 -4
  1456. package/plugins/runtime-modules/core/widgets/spacer/plugin.d.ts +2 -3
  1457. package/plugins/runtime-modules/core/widgets/spacer/plugin.js +1 -2
  1458. package/plugins/runtime-modules/core/widgets/switch/client.js +1 -1
  1459. package/plugins/runtime-modules/core/widgets/switch/config.d.ts +2 -2
  1460. package/plugins/runtime-modules/core/widgets/switch/config.js +14 -7
  1461. package/plugins/runtime-modules/core/widgets/table/client.js +103 -88
  1462. package/plugins/runtime-modules/core/widgets/table/config.d.ts +120 -12
  1463. package/plugins/runtime-modules/core/widgets/table/config.js +62 -74
  1464. package/plugins/runtime-modules/core/widgets/table/plugin.d.ts +0 -2
  1465. package/plugins/runtime-modules/core/widgets/table/plugin.js +1 -2
  1466. package/plugins/runtime-modules/core/widgets/table/static-resource-editor.d.ts +6 -0
  1467. package/plugins/runtime-modules/core/widgets/table/static-resource-editor.js +10 -0
  1468. package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.d.ts +3 -0
  1469. package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.js +12 -0
  1470. package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.d.ts +20 -0
  1471. package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.js +37 -0
  1472. package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.d.ts +43 -0
  1473. package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.js +39 -0
  1474. package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.d.ts +3 -0
  1475. package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.js +18 -0
  1476. package/plugins/runtime-modules/core/widgets/tree/client.js +2 -2
  1477. package/plugins/runtime-modules/core/widgets/tree/config.d.ts +9 -1
  1478. package/plugins/runtime-modules/core/widgets/tree/config.js +24 -28
  1479. package/plugins/runtime-modules/core/widgets/tree/plugin.d.ts +0 -2
  1480. package/plugins/runtime-modules/core/widgets/tree/plugin.js +1 -2
  1481. package/plugins/runtime-modules/core/widgets.js +23 -55
  1482. package/plugins/runtime-modules/dashboard/client-data-providers.d.ts +19 -0
  1483. package/plugins/runtime-modules/dashboard/client-data-providers.js +26 -0
  1484. package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.d.ts +9 -0
  1485. package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.js +128 -0
  1486. package/plugins/runtime-modules/dashboard/controller/address.d.ts +0 -2
  1487. package/plugins/runtime-modules/dashboard/controller/address.js +1 -5
  1488. package/plugins/runtime-modules/dashboard/data-providers.d.ts +30 -0
  1489. package/plugins/runtime-modules/dashboard/data-providers.js +34 -0
  1490. package/plugins/runtime-modules/dashboard/definition.d.ts +24 -0
  1491. package/plugins/runtime-modules/dashboard/definition.js +11 -1
  1492. package/plugins/runtime-modules/dashboard/ids.d.ts +6 -0
  1493. package/plugins/runtime-modules/dashboard/ids.js +6 -0
  1494. package/plugins/runtime-modules/dashboard/module.d.ts +1 -28
  1495. package/plugins/runtime-modules/dashboard/module.js +2 -4
  1496. package/plugins/runtime-modules/dashboard/presets.js +35 -55
  1497. package/plugins/runtime-modules/dashboard/services/collection.d.ts +4 -0
  1498. package/plugins/runtime-modules/dashboard/services/collection.js +76 -0
  1499. package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.d.ts +7 -0
  1500. package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.js +26 -0
  1501. package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.d.ts +9 -0
  1502. package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.js +38 -0
  1503. package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.d.ts +6 -0
  1504. package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.js +87 -0
  1505. package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.d.ts +9 -0
  1506. package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.js +87 -0
  1507. package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.d.ts +6 -0
  1508. package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.js +103 -0
  1509. package/plugins/runtime-modules/descriptor-compiler.d.ts +14 -3
  1510. package/plugins/runtime-modules/descriptor-compiler.js +144 -37
  1511. package/plugins/runtime-modules/editor/controller/address.d.ts +0 -2
  1512. package/plugins/runtime-modules/editor/controller/address.js +1 -5
  1513. package/plugins/runtime-modules/editor/module.d.ts +1 -28
  1514. package/plugins/runtime-modules/editor/module.js +2 -4
  1515. package/plugins/runtime-modules/editor/presets.js +2 -12
  1516. package/plugins/runtime-modules/editor/trees/editor-label-set.d.ts +8 -0
  1517. package/plugins/runtime-modules/editor/trees/editor-label-set.js +22 -0
  1518. package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.d.ts +6 -0
  1519. package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.js +213 -0
  1520. package/plugins/runtime-modules/form-builder/module.d.ts +1 -28
  1521. package/plugins/runtime-modules/form-builder/module.js +2 -4
  1522. package/plugins/runtime-modules/groups/controller/client.d.ts +2 -2
  1523. package/plugins/runtime-modules/groups/controller/client.js +30 -64
  1524. package/plugins/runtime-modules/groups/controller/definition.d.ts +13 -2
  1525. package/plugins/runtime-modules/groups/controller/definition.js +11 -3
  1526. package/plugins/runtime-modules/groups/data-providers.d.ts +2 -0
  1527. package/plugins/runtime-modules/groups/data-providers.js +64 -12
  1528. package/plugins/runtime-modules/groups/definition.d.ts +3 -0
  1529. package/plugins/runtime-modules/groups/definition.js +9 -0
  1530. package/plugins/runtime-modules/groups/forms.d.ts +0 -1
  1531. package/plugins/runtime-modules/groups/forms.js +0 -47
  1532. package/plugins/runtime-modules/groups/labels.d.ts +4 -1
  1533. package/plugins/runtime-modules/groups/labels.js +8 -2
  1534. package/plugins/runtime-modules/groups/module.d.ts +1 -335
  1535. package/plugins/runtime-modules/groups/module.js +2 -4
  1536. package/plugins/runtime-modules/groups/presets.d.ts +2 -56
  1537. package/plugins/runtime-modules/groups/presets.js +17 -35
  1538. package/plugins/runtime-modules/groups/services/options.js +5 -4
  1539. package/plugins/runtime-modules/groups/services/table.js +42 -33
  1540. package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.d.ts +13 -0
  1541. package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +485 -0
  1542. package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.d.ts +14 -0
  1543. package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +384 -0
  1544. package/plugins/runtime-modules/localization/cards.d.ts +3 -0
  1545. package/plugins/runtime-modules/localization/cards.js +109 -0
  1546. package/plugins/runtime-modules/localization/controller/client.js +4 -3
  1547. package/plugins/runtime-modules/localization/definition.d.ts +0 -5
  1548. package/plugins/runtime-modules/localization/definition.js +0 -2
  1549. package/plugins/runtime-modules/localization/forms.js +2 -15
  1550. package/plugins/runtime-modules/localization/module.d.ts +1 -372
  1551. package/plugins/runtime-modules/localization/module.js +2 -4
  1552. package/plugins/runtime-modules/localization/presets.d.ts +2 -25
  1553. package/plugins/runtime-modules/localization/presets.js +30 -17
  1554. package/plugins/runtime-modules/localization/server.js +4 -0
  1555. package/plugins/runtime-modules/localization/services/table.js +22 -30
  1556. package/plugins/runtime-modules/localization/trees/admin-locales-label-set.d.ts +8 -0
  1557. package/plugins/runtime-modules/localization/trees/admin-locales-label-set.js +22 -0
  1558. package/plugins/runtime-modules/localization/trees/editor-translations-label-set.d.ts +8 -0
  1559. package/plugins/runtime-modules/localization/trees/editor-translations-label-set.js +22 -0
  1560. package/plugins/runtime-modules/localization/trees/editor-translations-shell.js +51 -0
  1561. package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.d.ts +56 -0
  1562. package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.js +100 -0
  1563. package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.d.ts +7 -0
  1564. package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +251 -0
  1565. package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.d.ts +6 -0
  1566. package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +325 -0
  1567. package/plugins/runtime-modules/news/authoring-widgets.d.ts +2 -0
  1568. package/plugins/runtime-modules/news/authoring-widgets.js +7 -0
  1569. package/plugins/runtime-modules/news/authoring.d.ts +1 -0
  1570. package/plugins/runtime-modules/news/authoring.js +8 -0
  1571. package/plugins/runtime-modules/news/client-data-providers.d.ts +11 -0
  1572. package/plugins/runtime-modules/news/client-data-providers.js +14 -0
  1573. package/plugins/runtime-modules/news/data-providers.d.ts +133 -0
  1574. package/plugins/runtime-modules/news/data-providers.js +112 -0
  1575. package/plugins/runtime-modules/news/definition.d.ts +165 -0
  1576. package/plugins/runtime-modules/news/definition.js +32 -0
  1577. package/plugins/runtime-modules/news/forms.d.ts +39 -0
  1578. package/plugins/runtime-modules/news/forms.js +204 -0
  1579. package/plugins/runtime-modules/news/ids.d.ts +42 -0
  1580. package/plugins/runtime-modules/news/ids.js +125 -0
  1581. package/plugins/runtime-modules/news/module.d.ts +157 -0
  1582. package/plugins/runtime-modules/news/module.js +12 -0
  1583. package/plugins/runtime-modules/news/presets.d.ts +17 -0
  1584. package/plugins/runtime-modules/news/presets.js +64 -0
  1585. package/plugins/runtime-modules/news/server.d.ts +1 -0
  1586. package/plugins/runtime-modules/news/server.js +18 -0
  1587. package/plugins/runtime-modules/news/services/options.d.ts +3 -0
  1588. package/plugins/runtime-modules/news/services/options.js +35 -0
  1589. package/plugins/runtime-modules/news/services/table.d.ts +14 -0
  1590. package/plugins/runtime-modules/news/services/table.js +144 -0
  1591. package/plugins/runtime-modules/news/trees/editor-news-label-set.d.ts +8 -0
  1592. package/plugins/runtime-modules/news/trees/editor-news-label-set.js +29 -0
  1593. package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.d.ts +65 -0
  1594. package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.js +106 -0
  1595. package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.d.ts +17 -0
  1596. package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.js +462 -0
  1597. package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.d.ts +11 -0
  1598. package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.js +86 -0
  1599. package/plugins/runtime-modules/news/widgets/news-list/authoring.d.ts +2 -0
  1600. package/plugins/runtime-modules/news/widgets/news-list/authoring.js +21 -0
  1601. package/plugins/runtime-modules/news/widgets/news-list/client.d.ts +34 -0
  1602. package/plugins/runtime-modules/news/widgets/news-list/client.js +26 -0
  1603. package/plugins/runtime-modules/news/widgets/news-list/config.d.ts +43 -0
  1604. package/plugins/runtime-modules/news/widgets/news-list/config.js +52 -0
  1605. package/plugins/runtime-modules/news/widgets/news-list/plugin.d.ts +3 -0
  1606. package/plugins/runtime-modules/news/widgets/news-list/plugin.js +8 -0
  1607. package/plugins/runtime-modules/news/widgets/news-list/server.d.ts +14 -0
  1608. package/plugins/runtime-modules/news/widgets/news-list/server.js +82 -0
  1609. package/plugins/runtime-modules/news/widgets.d.ts +2 -0
  1610. package/plugins/runtime-modules/news/widgets.js +16 -0
  1611. package/plugins/runtime-modules/observability/authoring-widgets.d.ts +9 -0
  1612. package/plugins/runtime-modules/observability/authoring-widgets.js +11 -6
  1613. package/plugins/runtime-modules/observability/definition.d.ts +0 -5
  1614. package/plugins/runtime-modules/observability/definition.js +0 -2
  1615. package/plugins/runtime-modules/observability/module.d.ts +0 -5
  1616. package/plugins/runtime-modules/observability/presets.d.ts +2 -30
  1617. package/plugins/runtime-modules/observability/presets.js +10 -19
  1618. package/plugins/runtime-modules/observability/server.js +1 -2
  1619. package/plugins/runtime-modules/observability/trees/admin-logs-label-set.d.ts +8 -0
  1620. package/plugins/runtime-modules/observability/trees/admin-logs-label-set.js +22 -0
  1621. package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.d.ts +6 -0
  1622. package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +313 -0
  1623. package/plugins/runtime-modules/phi-default-site-area-preset-tree.d.ts +11 -0
  1624. package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +633 -0
  1625. package/plugins/runtime-modules/pub-area-preset.d.ts +2 -0
  1626. package/plugins/runtime-modules/pub-area-preset.js +130 -0
  1627. package/plugins/runtime-modules/public/definition.d.ts +14 -3
  1628. package/plugins/runtime-modules/public/definition.js +1 -7
  1629. package/plugins/runtime-modules/public/form-providers.d.ts +29 -0
  1630. package/plugins/runtime-modules/public/form-providers.js +11 -0
  1631. package/plugins/runtime-modules/public/forms.d.ts +3 -0
  1632. package/plugins/runtime-modules/public/forms.js +38 -0
  1633. package/plugins/runtime-modules/public/module.d.ts +46 -1
  1634. package/plugins/runtime-modules/public/module.js +8 -3
  1635. package/plugins/runtime-modules/public/server.js +1 -1
  1636. package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.d.ts +4 -0
  1637. package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.js +103 -0
  1638. package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.d.ts +6 -0
  1639. package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +105 -0
  1640. package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.d.ts +10 -0
  1641. package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.js +79 -0
  1642. package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.d.ts +4 -0
  1643. package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.js +82 -0
  1644. package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.d.ts +16 -0
  1645. package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.js +110 -0
  1646. package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.d.ts +15 -0
  1647. package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.js +194 -0
  1648. package/plugins/runtime-modules/public-base-page-references.d.ts +32 -0
  1649. package/plugins/runtime-modules/public-base-page-references.js +43 -0
  1650. package/plugins/runtime-modules/resolver.js +35 -60
  1651. package/plugins/runtime-modules/revisions/controller/client.d.ts +6 -0
  1652. package/plugins/runtime-modules/revisions/controller/client.js +92 -10
  1653. package/plugins/runtime-modules/revisions/controller/definition.d.ts +6 -0
  1654. package/plugins/runtime-modules/revisions/controller/definition.js +17 -0
  1655. package/plugins/runtime-modules/revisions/forms.d.ts +4 -0
  1656. package/plugins/runtime-modules/revisions/forms.js +70 -0
  1657. package/plugins/runtime-modules/revisions/module.d.ts +1 -149
  1658. package/plugins/runtime-modules/revisions/module.js +2 -4
  1659. package/plugins/runtime-modules/revisions/page-ids.d.ts +9 -0
  1660. package/plugins/runtime-modules/revisions/page-ids.js +28 -0
  1661. package/plugins/runtime-modules/revisions/presets.d.ts +2 -141
  1662. package/plugins/runtime-modules/revisions/presets.js +11 -24
  1663. package/plugins/runtime-modules/revisions/server.js +2 -0
  1664. package/plugins/runtime-modules/revisions/services/table.js +13 -15
  1665. package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.d.ts +14 -0
  1666. package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +506 -0
  1667. package/plugins/runtime-modules/runtime-calendar-adapters.js +1 -1
  1668. package/plugins/runtime-modules/settings.d.ts +28 -4
  1669. package/plugins/runtime-modules/settings.js +60 -5
  1670. package/plugins/runtime-modules/shell-tree-composition.d.ts +3 -0
  1671. package/plugins/runtime-modules/sidebar-route.d.ts +55 -0
  1672. package/plugins/runtime-modules/sidebar-route.js +56 -0
  1673. package/plugins/runtime-modules/site-module-client-manifests.d.ts +2 -0
  1674. package/plugins/runtime-modules/site-module-client-manifests.js +2 -0
  1675. package/plugins/runtime-modules/site-module-placements.d.ts +26 -0
  1676. package/plugins/runtime-modules/site-module-placements.js +33 -0
  1677. package/plugins/runtime-modules/site-modules-client.d.ts +2 -0
  1678. package/plugins/runtime-modules/theme/block-descriptors.d.ts +12 -23
  1679. package/plugins/runtime-modules/theme/block-descriptors.js +12 -27
  1680. package/plugins/runtime-modules/theme/controller/client.d.ts +7 -1
  1681. package/plugins/runtime-modules/theme/controller/definition.d.ts +6 -0
  1682. package/plugins/runtime-modules/theme/controller/definition.js +7 -0
  1683. package/plugins/runtime-modules/theme/controller/server-definition.d.ts +7 -1
  1684. package/plugins/runtime-modules/theme/materialize-images.d.ts +11 -5
  1685. package/plugins/runtime-modules/theme/materialize-images.js +16 -8
  1686. package/plugins/runtime-modules/theme/module.d.ts +1 -79
  1687. package/plugins/runtime-modules/theme/module.js +2 -4
  1688. package/plugins/runtime-modules/theme/page-ids.d.ts +3 -0
  1689. package/plugins/runtime-modules/theme/page-ids.js +36 -0
  1690. package/plugins/runtime-modules/theme/presets.d.ts +2 -141
  1691. package/plugins/runtime-modules/theme/presets.js +11 -24
  1692. package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.d.ts +17 -0
  1693. package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.js +614 -0
  1694. package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +25 -25
  1695. package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +311 -117
  1696. package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +2 -2
  1697. package/plugins/runtime-modules/theme-descriptors.d.ts +68 -0
  1698. package/plugins/runtime-modules/theme-descriptors.js +34 -0
  1699. package/plugins/runtime-modules/threads/addresses.d.ts +15 -0
  1700. package/plugins/runtime-modules/threads/addresses.js +32 -0
  1701. package/plugins/runtime-modules/threads/authoring-widgets.d.ts +2 -0
  1702. package/plugins/runtime-modules/threads/authoring-widgets.js +6 -0
  1703. package/plugins/runtime-modules/threads/authoring.d.ts +1 -0
  1704. package/plugins/runtime-modules/threads/authoring.js +8 -0
  1705. package/plugins/runtime-modules/threads/cards.d.ts +3 -0
  1706. package/plugins/runtime-modules/threads/cards.js +87 -0
  1707. package/plugins/runtime-modules/threads/client-data-providers.d.ts +7 -0
  1708. package/plugins/runtime-modules/threads/client-data-providers.js +14 -0
  1709. package/plugins/runtime-modules/threads/client.d.ts +1 -0
  1710. package/plugins/runtime-modules/threads/client.js +7 -0
  1711. package/plugins/runtime-modules/threads/controller/address.d.ts +5 -0
  1712. package/plugins/runtime-modules/threads/controller/address.js +8 -0
  1713. package/plugins/runtime-modules/threads/controller/client.d.ts +85 -0
  1714. package/plugins/runtime-modules/threads/controller/client.js +231 -0
  1715. package/plugins/runtime-modules/threads/controller/definition.d.ts +111 -0
  1716. package/plugins/runtime-modules/threads/controller/definition.js +141 -0
  1717. package/plugins/runtime-modules/threads/data-providers.d.ts +105 -0
  1718. package/plugins/runtime-modules/threads/data-providers.js +116 -0
  1719. package/plugins/runtime-modules/threads/definition.d.ts +150 -0
  1720. package/plugins/runtime-modules/threads/definition.js +54 -0
  1721. package/plugins/runtime-modules/threads/forms.d.ts +38 -0
  1722. package/plugins/runtime-modules/threads/forms.js +267 -0
  1723. package/plugins/runtime-modules/threads/ids.d.ts +10 -0
  1724. package/plugins/runtime-modules/threads/ids.js +15 -0
  1725. package/plugins/runtime-modules/threads/media-spaces.d.ts +14 -0
  1726. package/plugins/runtime-modules/threads/media-spaces.js +22 -0
  1727. package/plugins/runtime-modules/threads/module.d.ts +1 -0
  1728. package/plugins/runtime-modules/threads/module.js +4 -0
  1729. package/plugins/runtime-modules/threads/presets.d.ts +2 -0
  1730. package/plugins/runtime-modules/threads/presets.js +18 -0
  1731. package/plugins/runtime-modules/threads/server.d.ts +1 -0
  1732. package/plugins/runtime-modules/threads/server.js +24 -0
  1733. package/plugins/runtime-modules/threads/services/options.d.ts +3 -0
  1734. package/plugins/runtime-modules/threads/services/options.js +48 -0
  1735. package/plugins/runtime-modules/threads/services/table.d.ts +3 -0
  1736. package/plugins/runtime-modules/threads/services/table.js +130 -0
  1737. package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.d.ts +23 -0
  1738. package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.js +775 -0
  1739. package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.d.ts +3 -0
  1740. package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.js +9 -0
  1741. package/plugins/runtime-modules/threads/widgets/thread-conversation/client.d.ts +7 -0
  1742. package/plugins/runtime-modules/threads/widgets/thread-conversation/client.js +445 -0
  1743. package/plugins/runtime-modules/threads/widgets/thread-conversation/config.d.ts +46 -0
  1744. package/plugins/runtime-modules/threads/widgets/thread-conversation/config.js +59 -0
  1745. package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.d.ts +3 -0
  1746. package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.js +9 -0
  1747. package/plugins/runtime-modules/threads/widgets/thread-conversation/server.d.ts +7 -0
  1748. package/plugins/runtime-modules/threads/widgets/thread-conversation/server.js +24 -0
  1749. package/plugins/runtime-modules/threads/widgets/thread-widget-config.d.ts +42 -0
  1750. package/plugins/runtime-modules/threads/widgets/thread-widget-config.js +51 -0
  1751. package/plugins/runtime-modules/threads/widgets.d.ts +2 -0
  1752. package/plugins/runtime-modules/threads/widgets.js +14 -0
  1753. package/plugins/runtime-modules/user-management/cards.d.ts +3 -0
  1754. package/plugins/runtime-modules/user-management/cards.js +73 -0
  1755. package/plugins/runtime-modules/user-management/controller/client.js +1 -1
  1756. package/plugins/runtime-modules/user-management/definition.d.ts +0 -5
  1757. package/plugins/runtime-modules/user-management/definition.js +0 -2
  1758. package/plugins/runtime-modules/user-management/forms.js +0 -12
  1759. package/plugins/runtime-modules/user-management/module.d.ts +1 -257
  1760. package/plugins/runtime-modules/user-management/module.js +2 -4
  1761. package/plugins/runtime-modules/user-management/presets.d.ts +2 -30
  1762. package/plugins/runtime-modules/user-management/presets.js +10 -19
  1763. package/plugins/runtime-modules/user-management/server.js +4 -0
  1764. package/plugins/runtime-modules/user-management/services/table.js +9 -16
  1765. package/plugins/runtime-modules/user-management/trees/admin-users-label-set.d.ts +8 -0
  1766. package/plugins/runtime-modules/user-management/trees/admin-users-label-set.js +22 -0
  1767. package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.d.ts +6 -0
  1768. package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +558 -0
  1769. package/plugins/runtime-modules/video/authoring-widgets.d.ts +2 -0
  1770. package/plugins/runtime-modules/video/authoring-widgets.js +6 -0
  1771. package/plugins/runtime-modules/video/authoring.d.ts +1 -0
  1772. package/plugins/runtime-modules/video/authoring.js +8 -0
  1773. package/plugins/runtime-modules/video/definition.d.ts +25 -0
  1774. package/plugins/runtime-modules/video/definition.js +28 -0
  1775. package/plugins/runtime-modules/video/ids.d.ts +9 -0
  1776. package/plugins/runtime-modules/video/ids.js +11 -0
  1777. package/plugins/runtime-modules/video/module.d.ts +11 -0
  1778. package/plugins/runtime-modules/video/module.js +4 -0
  1779. package/plugins/runtime-modules/video/providers.d.ts +21 -0
  1780. package/plugins/runtime-modules/video/providers.js +62 -0
  1781. package/plugins/runtime-modules/video/server.d.ts +1 -0
  1782. package/plugins/runtime-modules/video/server.js +15 -0
  1783. package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.d.ts +3 -0
  1784. package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.js +15 -0
  1785. package/plugins/runtime-modules/video/widgets/embed/authoring.d.ts +2 -0
  1786. package/plugins/runtime-modules/video/widgets/embed/authoring.js +51 -0
  1787. package/plugins/runtime-modules/video/widgets/embed/client.d.ts +22 -0
  1788. package/plugins/runtime-modules/video/widgets/embed/client.js +28 -0
  1789. package/plugins/runtime-modules/video/widgets/embed/config.d.ts +101 -0
  1790. package/plugins/runtime-modules/video/widgets/embed/config.js +100 -0
  1791. package/plugins/runtime-modules/video/widgets/embed/plugin.d.ts +3 -0
  1792. package/plugins/runtime-modules/video/widgets/embed/plugin.js +9 -0
  1793. package/plugins/runtime-modules/video/widgets/embed/server.d.ts +14 -0
  1794. package/plugins/runtime-modules/video/widgets/embed/server.js +54 -0
  1795. package/plugins/runtime-modules/video/widgets.d.ts +2 -0
  1796. package/plugins/runtime-modules/video/widgets.js +14 -0
  1797. package/references.d.ts +3 -1
  1798. package/references.js +3 -1
  1799. package/runtime-authoring-client.d.ts +1 -1
  1800. package/runtime-authoring-client.js +1 -1
  1801. package/runtime-controller-client.d.ts +3 -0
  1802. package/runtime-controller-client.js +15 -0
  1803. package/runtime-data-provider-client.d.ts +1 -1
  1804. package/runtime-data-provider-client.js +1 -1
  1805. package/runtime-render-client.d.ts +1 -0
  1806. package/runtime-render-client.js +1 -0
  1807. package/runtime-user-state-client.d.ts +2 -0
  1808. package/runtime-user-state-client.js +2 -0
  1809. package/server-helpers/area-root-door-warmup.d.ts +35 -0
  1810. package/server-helpers/area-root-door-warmup.js +71 -0
  1811. package/server-helpers/area-root-route.js +0 -1
  1812. package/server-helpers/auth-ui-provider.d.ts +2 -0
  1813. package/server-helpers/auth-ui-provider.js +28 -0
  1814. package/server-helpers/cms-link-targets.d.ts +16 -0
  1815. package/server-helpers/cms-link-targets.js +48 -0
  1816. package/server-helpers/cms-request.d.ts +11 -5
  1817. package/server-helpers/cms-request.js +31 -17
  1818. package/server-helpers/cms-review.d.ts +1 -1
  1819. package/server-helpers/cms-root.d.ts +11 -4
  1820. package/server-helpers/cms-root.js +39 -7
  1821. package/server-helpers/cms-route.js +2 -4
  1822. package/server-helpers/public-login-route.d.ts +1 -2
  1823. package/server-helpers/public-login-route.js +18 -6
  1824. package/server-helpers/request-runtime.d.ts +32 -0
  1825. package/server-helpers/request-runtime.js +34 -1
  1826. package/server-helpers/runtime.d.ts +1 -165
  1827. package/server-helpers/runtime.js +42 -22
  1828. package/server-helpers/site-locale.d.ts +8 -0
  1829. package/server-helpers/site-locale.js +18 -32
  1830. package/server-helpers/translate.js +13 -33
  1831. package/server-helpers.d.ts +5 -0
  1832. package/server-helpers.js +11 -0
  1833. package/styles/builder-scaffold.css +1 -1
  1834. package/styles/control-shape.css +77 -3
  1835. package/styles/controls.css +535 -0
  1836. package/styles/layout-authoring-scaffold.css +54 -7
  1837. package/styles/layout.css +87 -17
  1838. package/styles/root.css +27 -2
  1839. package/styles/shell.css +10 -0
  1840. package/theme/antd-css-var-contract.d.ts +2 -3
  1841. package/theme/antd-css-var-contract.js +2 -3
  1842. package/theme/phi-container-breakpoints.d.ts +35 -2
  1843. package/theme/phi-container-breakpoints.js +32 -0
  1844. package/theme/phi-control-shape.d.ts +54 -4
  1845. package/theme/phi-control-shape.js +170 -10
  1846. package/theme/phi-published-root-style.d.ts +1 -1
  1847. package/theme/phi-root-background.server.d.ts +1 -1
  1848. package/theme/phi-server-tokens.d.ts +9 -37
  1849. package/theme/phi-server-tokens.js +7 -1
  1850. package/theme/phi-theme-adoption.d.ts +2 -1
  1851. package/theme/phi-theme-adoption.js +4 -1
  1852. package/theme/phi-theme-blocks.d.ts +19 -0
  1853. package/theme/phi-theme-blocks.js +16 -6
  1854. package/theme/phi-theme-composition.d.ts +3 -3
  1855. package/theme/phi-theme-composition.js +2 -2
  1856. package/theme/phi-theme-ground-image.d.ts +12 -12
  1857. package/theme/phi-theme-ground-image.js +34 -12
  1858. package/theme/phi-theme-mode.d.ts +86 -9
  1859. package/theme/phi-theme-mode.js +128 -19
  1860. package/theme/phi-theme-placeholder-logo.d.ts +19 -0
  1861. package/theme/phi-theme-placeholder-logo.js +31 -0
  1862. package/theme/phi-theme-presets.d.ts +6 -0
  1863. package/theme/phi-theme-presets.js +41 -0
  1864. package/theme/phi-theme-runtime.js +1 -1
  1865. package/theme/phi-theme-tokens.d.ts +79 -0
  1866. package/theme/phi-theme-tokens.js +227 -0
  1867. package/theme/phi-tokens.d.ts +5 -4
  1868. package/theme/phi-tokens.js +41 -4
  1869. package/theme.d.ts +2 -8
  1870. package/theme.js +2 -8
  1871. package/types/auth-manifest.d.ts +7 -1
  1872. package/types/builder.d.ts +5 -2
  1873. package/types/calendar-keys.d.ts +7 -0
  1874. package/types/calendar-keys.js +8 -0
  1875. package/types/calendar.d.ts +16 -1
  1876. package/types/calendar.js +64 -2
  1877. package/types/cms-border-config.d.ts +2 -0
  1878. package/types/cms-border-config.js +44 -0
  1879. package/types/cms-border-source.d.ts +19 -0
  1880. package/types/cms-border-source.js +34 -0
  1881. package/types/cms-config.d.ts +35 -9
  1882. package/types/cms-config.js +48 -58
  1883. package/types/cms-instance-id.d.ts +4 -5
  1884. package/types/cms-instance-id.js +16 -9
  1885. package/types/cms-module-descriptors.d.ts +106 -2
  1886. package/types/cms-mount-policy.d.ts +0 -12
  1887. package/types/cms-mount-policy.js +0 -16
  1888. package/types/cms-overlay-zones.d.ts +36 -0
  1889. package/types/cms-overlay-zones.js +1 -0
  1890. package/types/cms-overlay.d.ts +29 -3
  1891. package/types/cms-overlay.js +20 -6
  1892. package/types/cms-plugins.d.ts +219 -15
  1893. package/types/cms-presets.d.ts +4 -4
  1894. package/types/cms.d.ts +22 -4
  1895. package/types/collection-provider.d.ts +32 -5
  1896. package/types/collection-view-widget.d.ts +67 -0
  1897. package/types/collection-view-widget.js +1 -0
  1898. package/types/core-runtime-controller.js +3 -5
  1899. package/types/core-widget-placements.d.ts +365 -0
  1900. package/types/core-widget-placements.js +3 -0
  1901. package/types/dashboard-cards.d.ts +152 -0
  1902. package/types/dashboard-cards.js +15 -0
  1903. package/types/draft-status.d.ts +23 -0
  1904. package/types/draft-status.js +20 -0
  1905. package/types/form-descriptor.d.ts +2 -140
  1906. package/types/form-descriptor.js +6 -3
  1907. package/types/markdown.d.ts +6 -0
  1908. package/types/markdown.js +1 -0
  1909. package/types/media.d.ts +28 -0
  1910. package/types/news.d.ts +33 -0
  1911. package/types/news.js +1 -0
  1912. package/types/record-widget.d.ts +49 -0
  1913. package/types/record-widget.js +1 -0
  1914. package/types/references.d.ts +18 -30
  1915. package/types/references.js +9 -114
  1916. package/types/renderable-block-geometry.d.ts +85 -0
  1917. package/types/renderable-block-geometry.js +96 -0
  1918. package/types/renderable-block.d.ts +31 -4
  1919. package/types/responsive.d.ts +1 -11
  1920. package/types/responsive.js +5 -8
  1921. package/types/result-widget.d.ts +5 -0
  1922. package/types/result-widget.js +1 -0
  1923. package/types/runtime-condition.d.ts +3 -90
  1924. package/types/runtime-condition.js +7 -164
  1925. package/types/runtime-data-provider.d.ts +13 -2
  1926. package/types/runtime-data-provider.js +25 -5
  1927. package/types/seed.d.ts +32 -0
  1928. package/types/seed.js +15 -0
  1929. package/types/signals.d.ts +53 -5
  1930. package/types/signals.js +52 -38
  1931. package/types/site-config.d.ts +83 -0
  1932. package/types/site-config.js +1 -0
  1933. package/types/site-request-context.d.ts +167 -0
  1934. package/types/site-request-context.js +1 -0
  1935. package/types/site-theme.d.ts +17 -0
  1936. package/types/spacing.d.ts +1 -3
  1937. package/types/spacing.js +5 -14
  1938. package/types/state-machine.d.ts +229 -0
  1939. package/types/state-machine.js +161 -0
  1940. package/types/table-signal-values.d.ts +8 -0
  1941. package/types/table-signal-values.js +71 -0
  1942. package/types/table-widget.d.ts +34 -22
  1943. package/types/table-widget.js +13 -78
  1944. package/types/thread-widget.d.ts +27 -0
  1945. package/types/thread-widget.js +9 -0
  1946. package/types/threads.d.ts +13 -0
  1947. package/types/threads.js +13 -0
  1948. package/types/tree-widget.d.ts +10 -6
  1949. package/types/tree-widget.js +14 -7
  1950. package/types/tree.d.ts +8 -0
  1951. package/types/user-state.d.ts +17 -0
  1952. package/types/user-state.js +17 -0
  1953. package/types/video.d.ts +152 -0
  1954. package/types/video.js +278 -0
  1955. package/types/widget-runtime.d.ts +19 -3
  1956. package/types.d.ts +12 -31
  1957. package/types.js +4 -1
  1958. package/widgets.d.ts +6 -8
  1959. package/widgets.js +3 -4
  1960. package/builder.d.ts +0 -2
  1961. package/builder.js +0 -2
  1962. package/components/controls/phi-dropdown-control.module.css +0 -63
  1963. package/components/controls/phi-expand-indicator.module.css +0 -16
  1964. package/components/controls/phi-icon-picker-labels.d.ts +0 -27
  1965. package/components/controls/phi-icon-picker-labels.js +0 -26
  1966. package/components/controls/phi-table-control.module.css +0 -16
  1967. package/components/controls/phi-tree-control.module.css +0 -22
  1968. package/components/forms/auth-admin-settings-forms.d.ts +0 -15
  1969. package/components/forms/auth-admin-settings-forms.js +0 -349
  1970. package/components/forms/auth-form-provider-registry.d.ts +0 -1
  1971. package/components/forms/auth-form-provider-registry.js +0 -38
  1972. package/components/forms/auth-form-ui-provider.js +0 -7
  1973. package/components/forms/auth-installations-table-service.js +0 -144
  1974. package/components/forms/auth-link-confirmation-contract.d.ts +0 -7
  1975. package/components/forms/auth-link-confirmation-contract.js +0 -8
  1976. package/components/forms/shared-form-plugins.d.ts +0 -4
  1977. package/components/forms/shared-form-plugins.js +0 -171
  1978. package/components/media/asset-collection-service.js +0 -160
  1979. package/components/media/asset-controller-definition.js +0 -128
  1980. package/components/media/asset-controller-mount.d.ts +0 -4
  1981. package/components/media/asset-controller-mount.js +0 -6
  1982. package/components/media/asset-controller-plugin.d.ts +0 -124
  1983. package/components/media/asset-controller-plugin.js +0 -10
  1984. package/components/media/asset-form-field-providers.js +0 -11
  1985. package/components/media/asset-form-ui-provider.js +0 -13
  1986. package/components/media/asset-inspector-addresses.d.ts +0 -4
  1987. package/components/media/asset-inspector-addresses.js +0 -30
  1988. package/components/media/asset-metadata-form.d.ts +0 -243
  1989. package/components/media/asset-metadata-form.js +0 -209
  1990. package/components/media/asset-options-providers.js +0 -69
  1991. package/components/media/media-settings-forms.d.ts +0 -22
  1992. package/components/media/media-settings-forms.js +0 -130
  1993. package/components/media/phi-area-upload-server.d.ts +0 -7
  1994. package/components/media/phi-area-upload-server.js +0 -13
  1995. package/components/media/phi-asset-collection-view-binding.d.ts +0 -9
  1996. package/components/media/phi-asset-collection-view-binding.js +0 -245
  1997. package/components/media/phi-asset-focal-rect-server.d.ts +0 -6
  1998. package/components/media/phi-asset-focal-rect-server.js +0 -6
  1999. package/components/media/phi-image-inspector-server.d.ts +0 -7
  2000. package/components/media/phi-image-inspector-server.js +0 -18
  2001. package/components/media/phi-image-preview-grid-widget.d.ts +0 -7
  2002. package/components/media/phi-image-preview-grid-widget.js +0 -16
  2003. package/components/media/phi-media-scope-controller.d.ts +0 -20
  2004. package/components/media/phi-media-scope-controller.js +0 -398
  2005. package/components/regions/presets/admin-dashboard-label-set.d.ts +0 -22
  2006. package/components/regions/presets/admin-dashboard-label-set.js +0 -50
  2007. package/components/regions/presets/admin-locales-label-set.d.ts +0 -8
  2008. package/components/regions/presets/admin-locales-label-set.js +0 -22
  2009. package/components/regions/presets/admin-logs-label-set.d.ts +0 -8
  2010. package/components/regions/presets/admin-logs-label-set.js +0 -22
  2011. package/components/regions/presets/admin-settings-label-set.d.ts +0 -6
  2012. package/components/regions/presets/admin-settings-label-set.js +0 -18
  2013. package/components/regions/presets/admin-users-label-set.d.ts +0 -8
  2014. package/components/regions/presets/admin-users-label-set.js +0 -22
  2015. package/components/regions/presets/builder-navigation-label-set.d.ts +0 -35
  2016. package/components/regions/presets/builder-navigation-label-set.js +0 -68
  2017. package/components/regions/presets/builder-settings-label-set.d.ts +0 -17
  2018. package/components/regions/presets/builder-settings-label-set.js +0 -34
  2019. package/components/regions/presets/editor-label-set.d.ts +0 -8
  2020. package/components/regions/presets/editor-label-set.js +0 -22
  2021. package/components/regions/presets/editor-shell.js +0 -44
  2022. package/components/regions/presets/editor-translations-label-set.d.ts +0 -8
  2023. package/components/regions/presets/editor-translations-label-set.js +0 -22
  2024. package/components/regions/presets/phi-auth-area-overlay-tree.server.d.ts +0 -8
  2025. package/components/regions/presets/phi-auth-area-overlay-tree.server.js +0 -114
  2026. package/components/regions/presets/phi-auth-runtime-page-tree.d.ts +0 -7
  2027. package/components/regions/presets/phi-auth-runtime-page-tree.js +0 -57
  2028. package/components/regions/presets/phi-avatar-area-overlay-tree.js +0 -12
  2029. package/components/regions/presets/phi-avatar-area-overlay-tree.server.js +0 -104
  2030. package/components/regions/presets/phi-builder-inspector-area-overlay-tree.d.ts +0 -7
  2031. package/components/regions/presets/phi-builder-inspector-area-overlay-tree.js +0 -12
  2032. package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.d.ts +0 -20
  2033. package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.js +0 -527
  2034. package/components/regions/presets/phi-default-accounting-page-tree.d.ts +0 -6
  2035. package/components/regions/presets/phi-default-accounting-page-tree.js +0 -50
  2036. package/components/regions/presets/phi-default-admin-area-preset-tree.d.ts +0 -6
  2037. package/components/regions/presets/phi-default-admin-area-preset-tree.js +0 -252
  2038. package/components/regions/presets/phi-default-admin-auth-settings-page-tree.d.ts +0 -6
  2039. package/components/regions/presets/phi-default-admin-auth-settings-page-tree.js +0 -290
  2040. package/components/regions/presets/phi-default-admin-dashboard-page-tree.d.ts +0 -6
  2041. package/components/regions/presets/phi-default-admin-dashboard-page-tree.js +0 -181
  2042. package/components/regions/presets/phi-default-admin-groups-page-tree.d.ts +0 -13
  2043. package/components/regions/presets/phi-default-admin-groups-page-tree.js +0 -409
  2044. package/components/regions/presets/phi-default-admin-locales-page-tree.d.ts +0 -7
  2045. package/components/regions/presets/phi-default-admin-locales-page-tree.js +0 -264
  2046. package/components/regions/presets/phi-default-admin-logs-page-tree.d.ts +0 -6
  2047. package/components/regions/presets/phi-default-admin-logs-page-tree.js +0 -287
  2048. package/components/regions/presets/phi-default-admin-media-settings-page-tree.d.ts +0 -6
  2049. package/components/regions/presets/phi-default-admin-media-settings-page-tree.js +0 -94
  2050. package/components/regions/presets/phi-default-admin-settings-page-tree.d.ts +0 -6
  2051. package/components/regions/presets/phi-default-admin-settings-page-tree.js +0 -82
  2052. package/components/regions/presets/phi-default-admin-users-page-tree.d.ts +0 -6
  2053. package/components/regions/presets/phi-default-admin-users-page-tree.js +0 -568
  2054. package/components/regions/presets/phi-default-app-groups-page-tree.d.ts +0 -14
  2055. package/components/regions/presets/phi-default-app-groups-page-tree.js +0 -315
  2056. package/components/regions/presets/phi-default-app-profile-page-tree.d.ts +0 -6
  2057. package/components/regions/presets/phi-default-app-profile-page-tree.js +0 -29
  2058. package/components/regions/presets/phi-default-area-dashboard-page-tree.d.ts +0 -9
  2059. package/components/regions/presets/phi-default-area-dashboard-page-tree.js +0 -67
  2060. package/components/regions/presets/phi-default-builder-area-preset-tree.d.ts +0 -131
  2061. package/components/regions/presets/phi-default-builder-area-preset-tree.js +0 -3580
  2062. package/components/regions/presets/phi-default-builder-dashboard-page-tree.d.ts +0 -6
  2063. package/components/regions/presets/phi-default-builder-dashboard-page-tree.js +0 -112
  2064. package/components/regions/presets/phi-default-builder-settings-page-tree.d.ts +0 -12
  2065. package/components/regions/presets/phi-default-builder-settings-page-tree.js +0 -55
  2066. package/components/regions/presets/phi-default-editor-area-preset-tree.d.ts +0 -6
  2067. package/components/regions/presets/phi-default-editor-area-preset-tree.js +0 -253
  2068. package/components/regions/presets/phi-default-editor-translations-page-tree.d.ts +0 -6
  2069. package/components/regions/presets/phi-default-editor-translations-page-tree.js +0 -323
  2070. package/components/regions/presets/phi-default-pub-confirm-page-tree.d.ts +0 -5
  2071. package/components/regions/presets/phi-default-pub-confirm-page-tree.js +0 -175
  2072. package/components/regions/presets/phi-default-pub-contact-page-tree.d.ts +0 -4
  2073. package/components/regions/presets/phi-default-pub-contact-page-tree.js +0 -112
  2074. package/components/regions/presets/phi-default-pub-error-page-tree.d.ts +0 -8
  2075. package/components/regions/presets/phi-default-pub-error-page-tree.js +0 -128
  2076. package/components/regions/presets/phi-default-pub-home-page-tree.d.ts +0 -10
  2077. package/components/regions/presets/phi-default-pub-home-page-tree.js +0 -90
  2078. package/components/regions/presets/phi-default-pub-login-page-tree.d.ts +0 -10
  2079. package/components/regions/presets/phi-default-pub-login-page-tree.js +0 -111
  2080. package/components/regions/presets/phi-default-pub-registration-page-tree.d.ts +0 -10
  2081. package/components/regions/presets/phi-default-pub-registration-page-tree.js +0 -127
  2082. package/components/regions/presets/phi-default-pub-reset-password-page-tree.d.ts +0 -5
  2083. package/components/regions/presets/phi-default-pub-reset-password-page-tree.js +0 -159
  2084. package/components/regions/presets/phi-default-pub-terms-page-tree.d.ts +0 -4
  2085. package/components/regions/presets/phi-default-pub-terms-page-tree.js +0 -93
  2086. package/components/regions/presets/phi-default-pub-welcome-page-tree.d.ts +0 -17
  2087. package/components/regions/presets/phi-default-pub-welcome-page-tree.js +0 -110
  2088. package/components/regions/presets/phi-default-site-area-preset-tree.d.ts +0 -11
  2089. package/components/regions/presets/phi-default-site-area-preset-tree.js +0 -640
  2090. package/components/regions/presets/phi-login-form-nodes.d.ts +0 -46
  2091. package/components/regions/presets/phi-login-form-nodes.js +0 -210
  2092. package/components/regions/presets/profile-label-set.d.ts +0 -11
  2093. package/components/regions/presets/profile-label-set.js +0 -28
  2094. package/components/regions/presets/pub.d.ts +0 -2
  2095. package/components/regions/presets/pub.js +0 -130
  2096. package/components/runtime/accounting-base-controller-plugin.d.ts +0 -1
  2097. package/components/runtime/accounting-base-controller-plugin.js +0 -4
  2098. package/components/runtime/app-base-controller-plugin.d.ts +0 -1
  2099. package/components/runtime/app-base-controller-plugin.js +0 -4
  2100. package/components/runtime/area-base-controller-addresses.d.ts +0 -23
  2101. package/components/runtime/area-base-controller-addresses.js +0 -26
  2102. package/components/runtime/area-base-controller-client-factory.d.ts +0 -2
  2103. package/components/runtime/area-base-controller-client-factory.js +0 -8
  2104. package/components/runtime/area-base-controller-definitions.d.ts +0 -106
  2105. package/components/runtime/area-base-controller-definitions.js +0 -75
  2106. package/components/runtime/auth-controller-plugin.d.ts +0 -1
  2107. package/components/runtime/auth-controller-plugin.js +0 -172
  2108. package/components/runtime/auth-controller-server-definition.d.ts +0 -62
  2109. package/components/runtime/auth-controller-server-definition.js +0 -3
  2110. package/components/runtime/auth-overlay-ids.d.ts +0 -23
  2111. package/components/runtime/auth-overlay-ids.js +0 -27
  2112. package/components/runtime/avatar-overlay-ids.js +0 -19
  2113. package/components/runtime/public-base-controller-plugin.d.ts +0 -1
  2114. package/components/runtime/public-base-controller-plugin.js +0 -4
  2115. package/components/shell/phi-management-icon.d.ts +0 -4
  2116. package/components/shell/phi-management-icon.js +0 -59
  2117. package/components/tables/client/phi-static-table-resource-editor.d.ts +0 -6
  2118. package/components/tables/client/phi-static-table-resource-editor.js +0 -10
  2119. package/components/tables/phi-plain-table.module.css +0 -34
  2120. package/components/widgets/area-menu-items.d.ts +0 -16
  2121. package/components/widgets/area-menu-items.js +0 -26
  2122. package/components/widgets/builder/command-toolbar-authoring-tools.d.ts +0 -5
  2123. package/components/widgets/builder/command-toolbar-authoring-tools.js +0 -41
  2124. package/components/widgets/builder/icon-editor.d.ts +0 -10
  2125. package/components/widgets/builder/icon-editor.js +0 -10
  2126. package/components/widgets/builder/internal-builder.d.ts +0 -22
  2127. package/components/widgets/builder/internal-builder.js +0 -8
  2128. package/components/widgets/builder/simple-text-editor.d.ts +0 -39
  2129. package/components/widgets/builder/simple-text-editor.js +0 -121
  2130. package/components/widgets/client/area-menu-preview.d.ts +0 -5
  2131. package/components/widgets/client/area-menu-preview.js +0 -18
  2132. package/components/widgets/client/card-editor.d.ts +0 -11
  2133. package/components/widgets/client/card-editor.js +0 -46
  2134. package/components/widgets/client/collection-view-widget.d.ts +0 -10
  2135. package/components/widgets/client/collection-view-widget.js +0 -44
  2136. package/components/widgets/client/description-editor.d.ts +0 -6
  2137. package/components/widgets/client/description-editor.js +0 -130
  2138. package/components/widgets/client/image-editor.d.ts +0 -10
  2139. package/components/widgets/client/image-editor.js +0 -100
  2140. package/components/widgets/client/markdown-editor.d.ts +0 -9
  2141. package/components/widgets/client/markdown-editor.js +0 -80
  2142. package/components/widgets/client/phi-color-widget.d.ts +0 -34
  2143. package/components/widgets/client/phi-color-widget.js +0 -45
  2144. package/components/widgets/client/shared/core-table-providers.js +0 -13
  2145. package/components/widgets/client/shared/phi-card-collection-view-binding.d.ts +0 -9
  2146. package/components/widgets/client/shared/phi-card-collection-view-binding.js +0 -106
  2147. package/components/widgets/client/use-table-provider-mutation.d.ts +0 -1
  2148. package/components/widgets/client/use-table-provider-mutation.js +0 -2
  2149. package/components/widgets/label-sets/avatar.d.ts +0 -26
  2150. package/components/widgets/label-sets/editor-translations.d.ts +0 -4
  2151. package/components/widgets/label-sets/editor-translations.js +0 -100
  2152. package/components/widgets/label-sets/footer.d.ts +0 -8
  2153. package/components/widgets/label-sets/footer.js +0 -22
  2154. package/components/widgets/label-types/editor-translations.d.ts +0 -53
  2155. package/components/widgets/quick-links-items.d.ts +0 -6
  2156. package/components/widgets/quick-links-items.js +0 -32
  2157. package/gateway/data-source-fetch.d.ts +0 -12
  2158. package/gateway/data-source-fetch.js +0 -46
  2159. package/gateway/media-proxy.d.ts +0 -9
  2160. package/gateway/media-proxy.js +0 -12
  2161. package/gateway/mutation-fetch.d.ts +0 -5
  2162. package/gateway/mutation-fetch.js +0 -71
  2163. package/gateway.d.ts +0 -13
  2164. package/gateway.js +0 -13
  2165. package/helpers/cms-page-addresses.d.ts +0 -32
  2166. package/helpers/cms-page-addresses.js +0 -77
  2167. package/helpers/css-length.d.ts +0 -1
  2168. package/helpers/css-length.js +0 -10
  2169. package/helpers/site-structure.d.ts +0 -13
  2170. package/helpers/site-structure.js +0 -82
  2171. package/next/module-diagnostics-route.d.ts +0 -37
  2172. package/next/module-diagnostics-route.js +0 -64
  2173. package/next/navigation-target-route.d.ts +0 -8
  2174. package/next/navigation-target-route.js +0 -216
  2175. package/plugins/runtime-modules/accounting/client.d.ts +0 -1
  2176. package/plugins/runtime-modules/accounting/client.js +0 -7
  2177. package/plugins/runtime-modules/app/client.d.ts +0 -1
  2178. package/plugins/runtime-modules/app/client.js +0 -7
  2179. package/plugins/runtime-modules/auth/ui-provider.d.ts +0 -2
  2180. package/plugins/runtime-modules/auth/ui-provider.js +0 -29
  2181. package/plugins/runtime-modules/builder/clients/inline-text-editor.d.ts +0 -31
  2182. package/plugins/runtime-modules/builder/clients/inline-text-editor.js +0 -44
  2183. package/plugins/runtime-modules/builder/navigation-signals.d.ts +0 -36
  2184. package/plugins/runtime-modules/builder/navigation-signals.js +0 -88
  2185. package/plugins/runtime-modules/builder/page-reference-picker.d.ts +0 -16
  2186. package/plugins/runtime-modules/builder/page-reference-picker.js +0 -43
  2187. package/plugins/runtime-modules/builder/root-node-css-size.d.ts +0 -1
  2188. package/plugins/runtime-modules/builder/root-node-css-size.js +0 -10
  2189. package/plugins/runtime-modules/builder/runtime-module-defaults.d.ts +0 -3
  2190. package/plugins/runtime-modules/builder/runtime-module-defaults.js +0 -41
  2191. package/plugins/runtime-modules/builder/signal-route-config.d.ts +0 -3
  2192. package/plugins/runtime-modules/builder/signal-route-config.js +0 -37
  2193. package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.d.ts +0 -3
  2194. package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.js +0 -8
  2195. package/plugins/runtime-modules/builder/widgets/draft-status/authoring.d.ts +0 -4
  2196. package/plugins/runtime-modules/builder/widgets/draft-status/authoring.js +0 -228
  2197. package/plugins/runtime-modules/builder/widgets/draft-status/plugin.d.ts +0 -3
  2198. package/plugins/runtime-modules/builder/widgets/draft-status/plugin.js +0 -8
  2199. package/plugins/runtime-modules/builder/workspace-view-model.d.ts +0 -4
  2200. package/plugins/runtime-modules/builder/workspace-view-model.js +0 -24
  2201. package/plugins/runtime-modules/client-state.d.ts +0 -5
  2202. package/plugins/runtime-modules/client-state.js +0 -17
  2203. package/plugins/runtime-modules/core/widgets/account/index.d.ts +0 -2
  2204. package/plugins/runtime-modules/core/widgets/account/index.js +0 -2
  2205. package/plugins/runtime-modules/core/widgets/area-menu/authoring.d.ts +0 -2
  2206. package/plugins/runtime-modules/core/widgets/area-menu/authoring.js +0 -8
  2207. package/plugins/runtime-modules/core/widgets/area-menu/client.d.ts +0 -11
  2208. package/plugins/runtime-modules/core/widgets/area-menu/client.js +0 -61
  2209. package/plugins/runtime-modules/core/widgets/area-menu/config.d.ts +0 -12
  2210. package/plugins/runtime-modules/core/widgets/area-menu/config.js +0 -14
  2211. package/plugins/runtime-modules/core/widgets/area-menu/index.d.ts +0 -2
  2212. package/plugins/runtime-modules/core/widgets/area-menu/index.js +0 -2
  2213. package/plugins/runtime-modules/core/widgets/area-menu/plugin.d.ts +0 -4
  2214. package/plugins/runtime-modules/core/widgets/area-menu/plugin.js +0 -11
  2215. package/plugins/runtime-modules/core/widgets/area-menu/server.d.ts +0 -5
  2216. package/plugins/runtime-modules/core/widgets/area-menu/server.js +0 -14
  2217. package/plugins/runtime-modules/core/widgets/card/client.d.ts +0 -37
  2218. package/plugins/runtime-modules/core/widgets/card/client.js +0 -64
  2219. package/plugins/runtime-modules/core/widgets/footer/authoring.d.ts +0 -3
  2220. package/plugins/runtime-modules/core/widgets/footer/authoring.js +0 -22
  2221. package/plugins/runtime-modules/core/widgets/footer/client.d.ts +0 -21
  2222. package/plugins/runtime-modules/core/widgets/footer/client.js +0 -30
  2223. package/plugins/runtime-modules/core/widgets/footer/config.d.ts +0 -31
  2224. package/plugins/runtime-modules/core/widgets/footer/config.js +0 -34
  2225. package/plugins/runtime-modules/core/widgets/footer/index.d.ts +0 -1
  2226. package/plugins/runtime-modules/core/widgets/footer/index.js +0 -1
  2227. package/plugins/runtime-modules/core/widgets/footer/plugin.d.ts +0 -4
  2228. package/plugins/runtime-modules/core/widgets/footer/plugin.js +0 -9
  2229. package/plugins/runtime-modules/core/widgets/footer/server.d.ts +0 -12
  2230. package/plugins/runtime-modules/core/widgets/footer/server.js +0 -46
  2231. package/plugins/runtime-modules/core/widgets/form/built-in.d.ts +0 -15
  2232. package/plugins/runtime-modules/core/widgets/form/built-in.js +0 -74
  2233. package/plugins/runtime-modules/core/widgets/html/index.d.ts +0 -1
  2234. package/plugins/runtime-modules/core/widgets/html/index.js +0 -1
  2235. package/plugins/runtime-modules/core/widgets/icon/index.d.ts +0 -1
  2236. package/plugins/runtime-modules/core/widgets/icon/index.js +0 -1
  2237. package/plugins/runtime-modules/core/widgets/markdown/client.d.ts +0 -72
  2238. package/plugins/runtime-modules/core/widgets/markdown/client.js +0 -141
  2239. package/plugins/runtime-modules/core/widgets/profile-email/authoring.d.ts +0 -3
  2240. package/plugins/runtime-modules/core/widgets/profile-email/authoring.js +0 -8
  2241. package/plugins/runtime-modules/core/widgets/profile-email/client.d.ts +0 -28
  2242. package/plugins/runtime-modules/core/widgets/profile-email/client.js +0 -96
  2243. package/plugins/runtime-modules/core/widgets/profile-email/config.d.ts +0 -12
  2244. package/plugins/runtime-modules/core/widgets/profile-email/config.js +0 -14
  2245. package/plugins/runtime-modules/core/widgets/profile-email/plugin.d.ts +0 -5
  2246. package/plugins/runtime-modules/core/widgets/profile-email/plugin.js +0 -10
  2247. package/plugins/runtime-modules/core/widgets/profile-email/server.d.ts +0 -8
  2248. package/plugins/runtime-modules/core/widgets/profile-email/server.js +0 -16
  2249. package/plugins/runtime-modules/core/widgets/profile-locale/authoring.d.ts +0 -3
  2250. package/plugins/runtime-modules/core/widgets/profile-locale/authoring.js +0 -8
  2251. package/plugins/runtime-modules/core/widgets/profile-locale/client.d.ts +0 -20
  2252. package/plugins/runtime-modules/core/widgets/profile-locale/client.js +0 -107
  2253. package/plugins/runtime-modules/core/widgets/profile-locale/config.d.ts +0 -12
  2254. package/plugins/runtime-modules/core/widgets/profile-locale/config.js +0 -14
  2255. package/plugins/runtime-modules/core/widgets/profile-locale/plugin.d.ts +0 -5
  2256. package/plugins/runtime-modules/core/widgets/profile-locale/plugin.js +0 -10
  2257. package/plugins/runtime-modules/core/widgets/profile-locale/server.d.ts +0 -8
  2258. package/plugins/runtime-modules/core/widgets/profile-locale/server.js +0 -16
  2259. package/plugins/runtime-modules/core/widgets/profile-name/authoring.d.ts +0 -3
  2260. package/plugins/runtime-modules/core/widgets/profile-name/authoring.js +0 -8
  2261. package/plugins/runtime-modules/core/widgets/profile-name/client.d.ts +0 -23
  2262. package/plugins/runtime-modules/core/widgets/profile-name/client.js +0 -96
  2263. package/plugins/runtime-modules/core/widgets/profile-name/config.d.ts +0 -12
  2264. package/plugins/runtime-modules/core/widgets/profile-name/config.js +0 -14
  2265. package/plugins/runtime-modules/core/widgets/profile-name/plugin.d.ts +0 -5
  2266. package/plugins/runtime-modules/core/widgets/profile-name/plugin.js +0 -10
  2267. package/plugins/runtime-modules/core/widgets/profile-name/server.d.ts +0 -8
  2268. package/plugins/runtime-modules/core/widgets/profile-name/server.js +0 -16
  2269. package/plugins/runtime-modules/core/widgets/profile-overview/authoring.d.ts +0 -2
  2270. package/plugins/runtime-modules/core/widgets/profile-overview/authoring.js +0 -8
  2271. package/plugins/runtime-modules/core/widgets/profile-overview/client.d.ts +0 -19
  2272. package/plugins/runtime-modules/core/widgets/profile-overview/client.js +0 -73
  2273. package/plugins/runtime-modules/core/widgets/profile-overview/config.d.ts +0 -12
  2274. package/plugins/runtime-modules/core/widgets/profile-overview/config.js +0 -14
  2275. package/plugins/runtime-modules/core/widgets/profile-overview/plugin.d.ts +0 -4
  2276. package/plugins/runtime-modules/core/widgets/profile-overview/plugin.js +0 -10
  2277. package/plugins/runtime-modules/core/widgets/profile-overview/server.d.ts +0 -5
  2278. package/plugins/runtime-modules/core/widgets/profile-overview/server.js +0 -16
  2279. package/plugins/runtime-modules/core/widgets/profile-password/authoring.d.ts +0 -3
  2280. package/plugins/runtime-modules/core/widgets/profile-password/authoring.js +0 -8
  2281. package/plugins/runtime-modules/core/widgets/profile-password/client.d.ts +0 -27
  2282. package/plugins/runtime-modules/core/widgets/profile-password/client.js +0 -91
  2283. package/plugins/runtime-modules/core/widgets/profile-password/config.d.ts +0 -12
  2284. package/plugins/runtime-modules/core/widgets/profile-password/config.js +0 -14
  2285. package/plugins/runtime-modules/core/widgets/profile-password/plugin.d.ts +0 -5
  2286. package/plugins/runtime-modules/core/widgets/profile-password/plugin.js +0 -10
  2287. package/plugins/runtime-modules/core/widgets/profile-password/server.d.ts +0 -8
  2288. package/plugins/runtime-modules/core/widgets/profile-password/server.js +0 -16
  2289. package/plugins/runtime-modules/core/widgets/quick-links/index.d.ts +0 -1
  2290. package/plugins/runtime-modules/core/widgets/quick-links/index.js +0 -1
  2291. package/plugins/runtime-modules/observability/widgets/log-detail/authoring.d.ts +0 -3
  2292. package/plugins/runtime-modules/observability/widgets/log-detail/authoring.js +0 -8
  2293. package/plugins/runtime-modules/observability/widgets/log-detail/client.d.ts +0 -56
  2294. package/plugins/runtime-modules/observability/widgets/log-detail/client.js +0 -125
  2295. package/plugins/runtime-modules/observability/widgets/log-detail/config.d.ts +0 -58
  2296. package/plugins/runtime-modules/observability/widgets/log-detail/config.js +0 -71
  2297. package/plugins/runtime-modules/observability/widgets/log-detail/plugin.d.ts +0 -3
  2298. package/plugins/runtime-modules/observability/widgets/log-detail/plugin.js +0 -8
  2299. package/plugins/runtime-modules/observability/widgets/log-detail/server.d.ts +0 -7
  2300. package/plugins/runtime-modules/observability/widgets/log-detail/server.js +0 -13
  2301. package/plugins/runtime-modules/observability/widgets.d.ts +0 -2
  2302. package/plugins/runtime-modules/observability/widgets.js +0 -16
  2303. package/plugins/runtime-modules/public/client.d.ts +0 -1
  2304. package/plugins/runtime-modules/public/client.js +0 -7
  2305. package/plugins/runtime-modules/theme/blocks/alpine-ground-image.d.ts +0 -17
  2306. package/plugins/runtime-modules/theme/blocks/alpine-ground-image.js +0 -17
  2307. package/plugins/runtime-modules/theme/blocks/alpine-ground.jpg +0 -0
  2308. package/plugins/runtime-modules/theme/blocks/alpine.d.ts +0 -19
  2309. package/plugins/runtime-modules/theme/blocks/alpine.js +0 -76
  2310. package/plugins/runtime-modules/theme/theme-descriptors.d.ts +0 -80
  2311. package/plugins/runtime-modules/theme/theme-descriptors.js +0 -34
  2312. package/theme/phi-theme-brand-logo.d.ts +0 -12
  2313. package/theme/phi-theme-brand-logo.js +0 -12
  2314. /package/components/widgets/label-types/{editor-translations.js → auth-workflow.js} +0 -0
  2315. /package/{components/media/asset-controller-definition.d.ts → plugins/runtime-modules/asset/controller/definition.d.ts} +0 -0
  2316. /package/{components/media/asset-form-field-providers.d.ts → plugins/runtime-modules/asset/form-providers.d.ts} +0 -0
  2317. /package/{components/media/asset-form-ui-provider.d.ts → plugins/runtime-modules/asset/form-ui-provider.d.ts} +0 -0
  2318. /package/{components/media/asset-collection-service.d.ts → plugins/runtime-modules/asset/services/collection.d.ts} +0 -0
  2319. /package/{components/media/asset-options-providers.d.ts → plugins/runtime-modules/asset/services/options.d.ts} +0 -0
  2320. /package/{components/forms/auth-form-ui-provider.d.ts → plugins/runtime-modules/auth/form-ui-provider.d.ts} +0 -0
  2321. /package/{components/forms/auth-installations-table-service.d.ts → plugins/runtime-modules/auth/services/installations-table.d.ts} +0 -0
  2322. /package/{components/runtime/avatar-overlay-ids.d.ts → plugins/runtime-modules/avatar/addresses.d.ts} +0 -0
  2323. /package/{components/widgets/label-sets/avatar.js → plugins/runtime-modules/avatar/labels.js} +0 -0
  2324. /package/{components/regions/presets/phi-avatar-area-overlay-tree.d.ts → plugins/runtime-modules/avatar/overlay-tree.d.ts} +0 -0
  2325. /package/{components/regions/presets/phi-avatar-area-overlay-tree.server.d.ts → plugins/runtime-modules/avatar/overlay-tree.server.d.ts} +0 -0
  2326. /package/{components/widgets/client/shared/core-table-providers.d.ts → plugins/runtime-modules/core/services/table.d.ts} +0 -0
  2327. /package/{components/regions/presets/editor-shell.d.ts → plugins/runtime-modules/localization/trees/editor-translations-shell.d.ts} +0 -0
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import Image from "next/image";
4
3
  import { Flex } from "antd";
5
4
  import { buildPhiMediaAssetContentDeliveryUrl } from "../../constants/media";
5
+ import { PhiIcon } from "../shell/phi-icon";
6
6
  const PHI_FONT_SIZE_XL = "1.25rem";
7
7
  const PHI_LINE_HEIGHT_LG = 1.6;
8
8
  /** How tall a Logo is drawn. Its width follows the artwork, so a wordmark reads as well as a signet. */
9
- const PHI_BRAND_LOGO_HEIGHT = 50;
9
+ const PHI_BRAND_LOGO_HEIGHT = 32;
10
10
  /**
11
11
  * The address a mode's Logo is drawn from, or none.
12
12
  *
@@ -28,7 +28,19 @@ export function resolvePhiBrandLogoUrl(brand, mode) {
28
28
  function hasWordmarkParts(parts) {
29
29
  return Array.isArray(parts) && parts.some((part) => typeof part?.text === "string" && part.text.trim());
30
30
  }
31
+ /**
32
+ * A Brand that has said it draws no name.
33
+ *
34
+ * Asked before the parts and before the fallback, because it outranks both: the fallback exists for a
35
+ * Site that has not set a name yet, and this is a Site saying its name is not set in type at all.
36
+ */
37
+ function wordmarkIsSwitchedOff(wordmark) {
38
+ return wordmark?.shows === "none";
39
+ }
31
40
  function renderWordmark(wordmark, fallbackTitle, fallbackStyle) {
41
+ if (wordmarkIsSwitchedOff(wordmark)) {
42
+ return null;
43
+ }
32
44
  const wordmarkStyle = {
33
45
  ...(fallbackStyle ?? {}),
34
46
  ...(wordmark?.fontFamily ? { fontFamily: wordmark.fontFamily } : {}),
@@ -50,16 +62,43 @@ function renderWordmark(wordmark, fallbackTitle, fallbackStyle) {
50
62
  ...(part.fontWeight ? { fontWeight: part.fontWeight } : {}),
51
63
  }, children: part.text }, `${part.text}-${index}`))) }));
52
64
  }
65
+ /**
66
+ * One of the two lines a Brand carries: what it says, with its icon in front of it.
67
+ *
68
+ * A line is Brand, which is why it is drawn here beside the Wordmark rather than by whatever Widget
69
+ * happens to stand in that slot. A Simple Text used to hold a copy of the sentence, written in when
70
+ * the Preset was built; what it showed was therefore whatever the Brand said that day.
71
+ *
72
+ * Nothing set means nothing drawn. The frame keeps its shape without the line, and an empty line with
73
+ * an icon in front of it would say that something is missing rather than that nothing was asked for.
74
+ */
75
+ export function PhiBrandLineControl({ line, fallbackIcon, fontFamily, fontSize, }) {
76
+ const label = line?.label?.trim();
77
+ if (!label) {
78
+ return null;
79
+ }
80
+ const icon = line?.icon?.trim() || fallbackIcon;
81
+ return (_jsxs(Flex, { align: "center", gap: 8, wrap: false, style: {
82
+ color: "inherit",
83
+ minWidth: 0,
84
+ fontFamily,
85
+ fontSize,
86
+ // The leading comes with the size, and only with it: without one the line reads as its surroundings.
87
+ lineHeight: fontSize == null ? undefined : PHI_LINE_HEIGHT_LG,
88
+ }, children: [icon ? _jsx(PhiIcon, { name: icon, size: "inherit" }) : null, _jsx("span", { style: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: label })] }));
89
+ }
53
90
  /**
54
91
  * Whether a Brand has anything at all to show.
55
92
  *
56
93
  * The Widget asks before it wraps: a Brand with no Logo, no Wordmark and no Eyebrow must not become an
57
94
  * empty link that still fills its Region and still takes the click.
58
95
  */
59
- export function phiBrandControlIsEmpty({ brand, fallbackTitle, fallbackEyebrow, showLogo = true, mode, }) {
60
- const hasLogo = showLogo !== false && Boolean(resolvePhiBrandLogoUrl(brand, mode));
61
- const hasWordmark = hasWordmarkParts(brand?.wordmark?.parts) || Boolean(fallbackTitle);
62
- const hasEyebrow = Boolean(brand?.eyebrow ?? fallbackEyebrow);
96
+ export function phiBrandControlIsEmpty({ brand, fallbackTitle, shows = "lockup", mode, }) {
97
+ const drawsName = shows !== "logo" && !wordmarkIsSwitchedOff(brand?.wordmark);
98
+ const hasLogo = shows !== "wordmark" && Boolean(resolvePhiBrandLogoUrl(brand, mode));
99
+ const hasWordmark = drawsName
100
+ && (hasWordmarkParts(brand?.wordmark?.parts) || Boolean(fallbackTitle));
101
+ const hasEyebrow = drawsName && Boolean(brand?.eyebrow);
63
102
  return !hasLogo && !hasWordmark && !hasEyebrow;
64
103
  }
65
104
  /**
@@ -70,29 +109,46 @@ export function phiBrandControlIsEmpty({ brand, fallbackTitle, fallbackEyebrow,
70
109
  * like while it is being set. The preview used to import the Widget for it, which is the one thing a
71
110
  * Widget may not do to another Widget; what it actually needed was this.
72
111
  */
73
- export function PhiBrandControl({ brand, fallbackTitle, fallbackEyebrow, showLogo = true, logoYOffset = 0, mode, }) {
74
- const eyebrow = brand?.eyebrow ?? fallbackEyebrow ?? null;
75
- const wordmarkNode = renderWordmark(brand?.wordmark, fallbackTitle, {
76
- fontSize: PHI_FONT_SIZE_XL,
77
- lineHeight: PHI_LINE_HEIGHT_LG,
78
- });
112
+ export function PhiBrandControl({ brand, fallbackTitle, shows = "lockup", mode, }) {
113
+ /*
114
+ * The Eyebrow travels with the Wordmark, so it goes where the Wordmark does -- switched off by the
115
+ * Brand as much as left out by the placement. It is the line above the name; above a bare Logo it
116
+ * would sit over nothing.
117
+ */
118
+ const eyebrow = shows === "logo" || wordmarkIsSwitchedOff(brand?.wordmark)
119
+ ? null
120
+ : brand?.eyebrow ?? null;
121
+ const wordmarkNode = shows === "logo"
122
+ ? null
123
+ : renderWordmark(brand?.wordmark, fallbackTitle, {
124
+ fontSize: PHI_FONT_SIZE_XL,
125
+ lineHeight: PHI_LINE_HEIGHT_LG,
126
+ });
127
+ /*
128
+ * The Logo's own correction, read from the Brand and not from the placement.
129
+ *
130
+ * What it corrects is whitespace inside the artwork -- how the picture sits against type -- so it is
131
+ * true of the Logo wherever it is drawn, and was set per Widget instance until now: the same picture
132
+ * was aligned by hand in the header and again in the footer, and the two drifted.
133
+ */
134
+ const logoYOffset = brand?.logoYOffset ?? 0;
79
135
  /*
80
136
  * No Logo means no Logo. It used to mean the Phi logo, which was a placeholder from before a Site
81
137
  * could set one of its own -- every Site that had not picked a picture wore ours, and there was no
82
138
  * way to say "wordmark only" at all. The Wordmark carries the Brand where nothing is picked.
83
139
  */
84
- const logoUrl = resolvePhiBrandLogoUrl(brand, mode);
140
+ const logoUrl = shows === "wordmark" ? null : resolvePhiBrandLogoUrl(brand, mode);
85
141
  const logoAlt = brand?.logoAlt?.trim() || "Brand logo";
86
142
  if (!logoUrl && !wordmarkNode && !eyebrow) {
87
143
  return null;
88
144
  }
89
- return (_jsxs(Flex, { align: "center", justify: "flex-start", gap: 12, wrap: false, style: { color: "inherit", width: "100%", height: "100%", fontSize: PHI_FONT_SIZE_XL }, children: [showLogo && logoUrl ? (_jsx("span", { style: {
145
+ return (_jsxs(Flex, { align: "center", justify: "flex-start", gap: 12, wrap: false, style: { color: "inherit", width: "100%", height: "100%", fontSize: PHI_FONT_SIZE_XL }, children: [logoUrl ? (_jsx("span", { style: {
90
146
  display: "flex",
91
147
  alignItems: "center",
92
148
  justifyContent: "center",
93
149
  height: "100%",
94
150
  flexShrink: 0,
95
- }, children: _jsx(Image, { src: logoUrl, alt: logoAlt, width: PHI_BRAND_LOGO_HEIGHT, height: PHI_BRAND_LOGO_HEIGHT, unoptimized: true, style: {
151
+ }, children: _jsx("img", { src: logoUrl, alt: logoAlt, height: PHI_BRAND_LOGO_HEIGHT, decoding: "async", style: {
96
152
  width: "auto",
97
153
  height: PHI_BRAND_LOGO_HEIGHT,
98
154
  objectFit: "contain",
@@ -6,6 +6,8 @@ export type PhiBuilderInsertPickerControlLabels = {
6
6
  searchLayouts: string;
7
7
  searchWidgets: string;
8
8
  filterPackages: string;
9
+ /** The entry that stands for no package filter at all. */
10
+ allPackages: string;
9
11
  filterCategories: string;
10
12
  noCompatibleItems: string;
11
13
  };
@@ -6,6 +6,7 @@ export const PHI_BUILDER_INSERT_PICKER_CONTROL_DEFAULT_LABELS = {
6
6
  searchLayouts: "Search layouts",
7
7
  searchWidgets: "Search widgets",
8
8
  filterPackages: "Filter packages",
9
+ allPackages: "All packages",
9
10
  filterCategories: "Filter categories",
10
11
  noCompatibleItems: "No compatible items found.",
11
12
  };
@@ -1,8 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useMemo, useState } from "react";
4
- import { Flex, Input, Segmented, Select, Space, Tag, Tooltip, Typography, theme as antdTheme } from "antd";
4
+ import { Flex, Input, Segmented, Select, Tag, Tooltip, Typography, theme as antdTheme } from "antd";
5
5
  import { PhiIcon } from "../shell/phi-icon";
6
+ import { PhiFlexControl } from "./phi-flex-control";
6
7
  import { PhiPopoverControl } from "./phi-popover-control";
7
8
  import { usePhiImmediatePicker } from "./use-phi-immediate-picker";
8
9
  import { PHI_BUILDER_INSERT_PICKER_CONTROL_DEFAULT_LABELS, } from "./phi-builder-insert-picker-control-labels";
@@ -44,6 +45,59 @@ function resolveItemCategoryTagColor(category) {
44
45
  default: return "blue";
45
46
  }
46
47
  }
48
+ /**
49
+ * Two items side by side, for Layouts and for Widgets alike.
50
+ *
51
+ * An entry is an icon, a name and the category under it -- narrow enough that one per row left half
52
+ * the popover empty and pushed a catalogue of seventy Widgets into a long scroll. Two columns halve
53
+ * that scroll without widening anything, which is the whole reason the entry gave up the rest.
54
+ */
55
+ const PHI_INSERT_PICKER_COLUMNS = 2;
56
+ /**
57
+ * The package filter's standing answer.
58
+ *
59
+ * A word and not an empty string, because a Select tells an empty value apart from no value only by
60
+ * accident: the entry has to be selectable, and what it selects is "do not filter".
61
+ */
62
+ const PHI_INSERT_PICKER_ALL_PACKAGES = "__all__";
63
+ /**
64
+ * The step of the house sequence this popover stands on -- 144, 233, 377, 610, 987.
65
+ *
66
+ * 377 is what two entries need once an entry is an icon, a name and the category under it. What an
67
+ * entry used to print beside the name -- the package it came from, its tags -- is in the hover text
68
+ * instead: at this width they would each have taken more room than the name they stood next to, and a
69
+ * name that is cut off is worth less than a package line that has to be asked for.
70
+ */
71
+ const PHI_INSERT_PICKER_MAX_WIDTH = 377;
72
+ /**
73
+ * How tall the list stands, on the same sequence as the width -- 144, 233, 377, 610, 987.
74
+ *
75
+ * A height and not a ceiling: the list is the one part of the popover that changes size as somebody
76
+ * types or picks a category, and a popover that grows and shrinks under the cursor moves the entry
77
+ * that was about to be clicked. Fixed, the filters change what is in the box and never the box.
78
+ *
79
+ * `controlHeight * 12` was 408, which is not a step of anything: near enough to 377 to look like it
80
+ * and far enough to sit wrong beside a popover that is 377 wide. The box is now square, which is the
81
+ * one proportion that needs no justification.
82
+ */
83
+ const PHI_INSERT_PICKER_LIST_HEIGHT = 377;
84
+ /**
85
+ * What an entry no longer prints, gathered for the hover text.
86
+ *
87
+ * Description, package and tags all answer "which one is this?", which is a question asked of one
88
+ * entry at a time -- not of the whole list at once, which is what printing them in every row amounts
89
+ * to. The category is the exception and stays in the row, under the name: it is the one word that
90
+ * sorts a catalogue of seventy into groups, so it is read down the list rather than per entry -- and
91
+ * a line of its own costs the name nothing, where beside the name it would have taken most of it.
92
+ */
93
+ function renderItemDetails(item) {
94
+ const packageName = resolveItemPackageName(item);
95
+ const tags = item.tags ?? [];
96
+ if (!item.description && !packageName && tags.length === 0) {
97
+ return undefined;
98
+ }
99
+ return (_jsxs(PhiFlexControl, { vertical: true, gap: 4, align: "flex-start", children: [_jsx(Typography.Text, { strong: true, style: { color: "inherit" }, children: item.title }), item.description ? _jsx(Typography.Text, { style: { color: "inherit" }, children: item.description }) : null, packageName ? _jsx(Typography.Text, { style: { color: "inherit" }, children: packageName }) : null, tags.length > 0 ? (_jsx(PhiFlexControl, { align: "center", gap: 4, wrap: true, children: tags.map((tag) => _jsx(Tag, { color: "blue", style: { marginInlineEnd: 0 }, children: tag }, tag)) })) : null] }));
100
+ }
47
101
  const WIDGET_CATEGORY_ORDER = [
48
102
  "content",
49
103
  "navigation",
@@ -81,10 +135,9 @@ export function PhiBuilderInsertPickerControl({ open, trigger, items, section, p
81
135
  },
82
136
  });
83
137
  const [search, setSearch] = useState("");
84
- const popoverWidth = Math.min(token.controlHeight * 26, 420);
138
+ const popoverWidth = Math.min(token.controlHeight * 38, PHI_INSERT_PICKER_MAX_WIDTH);
85
139
  const popoverMaxWidth = `calc(100vw - ${token.paddingLG * 2}px)`;
86
140
  const popoverHeight = `min(${token.controlHeight * 18}px, calc(100vh - ${token.paddingLG * 2}px))`;
87
- const listMaxHeight = token.controlHeight * 12;
88
141
  const itemIconFrameSize = token.controlHeight;
89
142
  const itemIconSize = token.fontSizeHeading3;
90
143
  const normalizedSearch = normalizeSearchText(search);
@@ -108,6 +161,12 @@ export function PhiBuilderInsertPickerControl({ open, trigger, items, section, p
108
161
  return false;
109
162
  return !normalizedSearch || buildItemSearchText(item).includes(normalizedSearch);
110
163
  });
164
+ /*
165
+ * The bottom rule belongs to the last row, not to the last item: in two columns the item before the
166
+ * last one sits beside it rather than above it, and a rule under it would hang in the middle.
167
+ */
168
+ const lastRowStartIndex = Math.floor(Math.max(visibleItems.length - 1, 0) / PHI_INSERT_PICKER_COLUMNS)
169
+ * PHI_INSERT_PICKER_COLUMNS;
111
170
  const title = section === "widget" ? labels.pickWidget : labels.pickLayout;
112
171
  const placeholder = section === "widget" ? labels.searchWidgets : labels.searchLayouts;
113
172
  const selectItem = (item) => {
@@ -121,7 +180,10 @@ export function PhiBuilderInsertPickerControl({ open, trigger, items, section, p
121
180
  display: "flex",
122
181
  flexDirection: "column",
123
182
  overflow: "hidden",
124
- }, onClick: (event) => event.stopPropagation(), onMouseDown: (event) => event.stopPropagation(), onPointerDown: (event) => event.stopPropagation(), onKeyDown: (event) => event.stopPropagation(), children: _jsxs(Flex, { vertical: true, gap: token.paddingSM, style: { width: "100%", minHeight: 0, overflow: "hidden" }, children: [_jsxs(Flex, { align: "center", justify: "space-between", gap: token.paddingSM, wrap: true, children: [_jsx(Typography.Text, { strong: true, style: { fontSize: token.fontSize }, children: title }), _jsx(Segmented, { value: section, onChange: (nextSection) => {
183
+ }, onClick: (event) => event.stopPropagation(), onMouseDown: (event) => event.stopPropagation(), onPointerDown: (event) => event.stopPropagation(), onKeyDown: (event) => event.stopPropagation(), children: _jsxs(Flex, { vertical: true, gap: token.paddingSM, style: { width: "100%", minHeight: 0, overflow: "hidden" }, children: [_jsxs(Flex, { align: "center", justify: "space-between", gap: token.paddingSM, wrap: true, children: [_jsx(Typography.Text, { strong: true, style: { fontSize: token.fontSize }, children: title }), packageOptions.length > 1 ? (_jsx(Select, { size: "small", variant: "borderless", showSearch: false, value: packageFilters[0] ?? PHI_INSERT_PICKER_ALL_PACKAGES, onChange: (nextPackage) => onPackageFiltersChange(nextPackage === PHI_INSERT_PICKER_ALL_PACKAGES ? [] : [nextPackage]), options: [
184
+ { value: PHI_INSERT_PICKER_ALL_PACKAGES, label: labels.allPackages },
185
+ ...packageOptions.map((packageName) => ({ value: packageName, label: packageName })),
186
+ ], "aria-label": labels.filterPackages, style: { flex: "1 1 0", minWidth: 0 } })) : null, section === "widget" && categoryOptions.length > 1 ? (_jsx(Select, { mode: "multiple", size: "small", variant: "borderless", allowClear: true, showSearch: false, value: [...widgetCategoryFilters], onChange: onWidgetCategoryFiltersChange, options: categoryOptions.map((category) => ({ value: category, label: category })), placeholder: labels.filterCategories, "aria-label": labels.filterCategories, maxTagCount: "responsive", style: { flex: "1 1 0", minWidth: 0 } })) : null, _jsx(Segmented, { value: section, onChange: (nextSection) => {
125
187
  if (nextSection === "layout" && !allowLayoutSection) {
126
188
  onSectionChange("widget");
127
189
  return;
@@ -135,43 +197,43 @@ export function PhiBuilderInsertPickerControl({ open, trigger, items, section, p
135
197
  borderRadius: 0,
136
198
  paddingInline: 0,
137
199
  boxShadow: "none",
138
- } }), _jsx(Select, { mode: "multiple", allowClear: true, showSearch: false, value: [...packageFilters], onChange: onPackageFiltersChange, options: packageOptions.map((packageName) => ({ value: packageName, label: packageName })), placeholder: labels.filterPackages, maxTagCount: "responsive", style: { width: "100%" } }), section === "widget" ? (_jsx(Select, { mode: "multiple", allowClear: true, showSearch: false, value: [...widgetCategoryFilters], onChange: onWidgetCategoryFiltersChange, options: categoryOptions.map((category) => ({ value: category, label: category })), placeholder: labels.filterCategories, maxTagCount: "responsive", style: { width: "100%" } })) : null, _jsx("div", { style: {
200
+ } }), _jsx("div", { style: {
139
201
  border: `1px solid ${token.colorBorderSecondary}`,
140
202
  borderRadius: 0,
141
203
  background: token.colorBgElevated,
142
204
  padding: token.paddingSM,
143
- flex: "1 1 auto",
144
- minHeight: 0,
145
- maxHeight: listMaxHeight,
205
+ flex: "0 1 auto",
206
+ height: PHI_INSERT_PICKER_LIST_HEIGHT,
207
+ maxHeight: "100%",
146
208
  overflowY: "auto",
147
209
  overflowX: "hidden",
148
- }, children: visibleItems.length > 0 ? (_jsx("div", { style: {
149
- display: "grid",
150
- gridTemplateColumns: section === "widget" ? "minmax(0, 1fr)" : "repeat(2, minmax(0, 1fr))",
151
- gap: token.paddingMD,
152
- width: "100%",
153
- }, children: _jsxs("div", { style: { display: "flex", flexDirection: "column", gap: token.paddingXS, width: "100%" }, children: [_jsx(Typography.Text, { type: "secondary", children: section === "widget" ? labels.widgets : labels.layouts }), _jsx(Space, { orientation: "vertical", size: 0, style: { width: "100%" }, children: visibleItems.map((item, index) => {
154
- const isLast = index === visibleItems.length - 1;
155
- const isActive = picker.value?.key === item.key;
156
- return (_jsx("div", { role: "button", tabIndex: 0, style: {
157
- cursor: "pointer",
158
- paddingInline: 0,
159
- paddingBlock: token.paddingSM,
160
- borderBottom: isLast ? "none" : `1px solid ${token.colorBorderSecondary}`,
161
- borderRadius: 0,
162
- background: isActive ? token.colorFillQuaternary : "transparent",
163
- outline: isActive ? `1px solid ${token.colorPrimary}` : "none",
164
- outlineOffset: -1,
165
- }, onClick: () => selectItem(item), onKeyDown: (event) => {
166
- if (event.key !== "Enter" && event.key !== " ")
167
- return;
168
- event.preventDefault();
169
- selectItem(item);
170
- }, children: _jsxs("div", { style: {
210
+ }, children: visibleItems.length > 0 ? (_jsxs("div", { style: { display: "flex", flexDirection: "column", gap: token.paddingXS, width: "100%" }, children: [_jsx(Typography.Text, { type: "secondary", children: section === "widget" ? labels.widgets : labels.layouts }), _jsx("div", { style: {
211
+ display: "grid",
212
+ gridTemplateColumns: `repeat(${PHI_INSERT_PICKER_COLUMNS}, minmax(0, 1fr))`,
213
+ columnGap: token.paddingSM,
214
+ width: "100%",
215
+ }, children: visibleItems.map((item, index) => {
216
+ const isLast = index >= lastRowStartIndex;
217
+ const isActive = picker.value?.key === item.key;
218
+ return (_jsx("div", { role: "button", tabIndex: 0, style: {
219
+ cursor: "pointer",
220
+ paddingInline: 0,
221
+ paddingBlock: token.paddingSM,
222
+ borderBottom: isLast ? "none" : `1px solid ${token.colorBorderSecondary}`,
223
+ borderRadius: 0,
224
+ background: isActive ? token.colorFillQuaternary : "transparent",
225
+ outline: isActive ? `1px solid ${token.colorPrimary}` : "none",
226
+ outlineOffset: -1,
227
+ }, onClick: () => selectItem(item), onKeyDown: (event) => {
228
+ if (event.key !== "Enter" && event.key !== " ")
229
+ return;
230
+ event.preventDefault();
231
+ selectItem(item);
232
+ }, children: _jsx(Tooltip, { title: renderItemDetails(item), placement: "top", children: _jsxs("div", { style: {
171
233
  display: "grid",
172
- gridTemplateColumns: `${itemIconFrameSize}px minmax(0, 1fr) auto`,
234
+ gridTemplateColumns: `${itemIconFrameSize}px minmax(0, 1fr)`,
173
235
  alignItems: "center",
174
- gap: token.paddingSM,
236
+ gap: token.paddingXS,
175
237
  width: "100%",
176
238
  }, children: [_jsx("span", { style: {
177
239
  width: itemIconFrameSize,
@@ -180,8 +242,8 @@ export function PhiBuilderInsertPickerControl({ open, trigger, items, section, p
180
242
  display: "inline-flex",
181
243
  alignItems: "center",
182
244
  justifyContent: "center",
183
- }, children: _jsx(Tooltip, { title: item.description ?? undefined, placement: "top", children: _jsx(PhiIcon, { name: resolveItemIcon(item), size: itemIconSize }) }) }), _jsxs(Space, { orientation: "vertical", size: 0, style: { minWidth: 0 }, children: [_jsx(Typography.Text, { strong: true, ellipsis: true, children: item.title }), resolveItemPackageName(item) ? (_jsx(Typography.Text, { type: "secondary", children: resolveItemPackageName(item) })) : null] }), _jsxs(Space, { orientation: "vertical", size: 2, style: { alignItems: "flex-end" }, children: [item.kind === "widget" && item.category ? (_jsx(Tag, { color: resolveItemCategoryTagColor(item.category), style: { marginInlineEnd: 0 }, children: item.category })) : null, (item.tags ?? []).length > 0 ? (_jsx(Space, { size: 4, wrap: true, style: { justifyContent: "flex-end" }, children: (item.tags ?? []).map((tag) => _jsx(Tag, { color: "blue", children: tag }, tag)) })) : null] })] }) }, item.key));
184
- }) })] }) })) : (_jsx(Typography.Text, { type: "secondary", children: labels.noCompatibleItems })) })] }) }));
245
+ }, children: _jsx(PhiIcon, { name: resolveItemIcon(item), size: itemIconSize }) }), _jsxs(PhiFlexControl, { vertical: true, gap: 2, align: "flex-start", style: { minWidth: 0 }, children: [_jsx(Typography.Text, { strong: true, ellipsis: true, style: { minWidth: 0 }, children: item.title }), item.kind === "widget" && item.category ? (_jsx(Tag, { color: resolveItemCategoryTagColor(item.category), style: { marginInlineEnd: 0, maxWidth: "100%" }, children: item.category })) : null] })] }) }) }, item.key));
246
+ }) })] })) : (_jsx(Typography.Text, { type: "secondary", children: labels.noCompatibleItems })) })] }) }));
185
247
  return (_jsx(PhiPopoverControl, { open: picker.open, trigger: "click", placement: placement, arrow: "point-at-center", destroyOnHidden: true, content: content, popupContentStyle: { overflow: "hidden" }, onOpenChange: (nextOpen) => {
186
248
  if (!nextOpen)
187
249
  setSearch("");
@@ -1,4 +1,4 @@
1
- import type { ReactNode, Ref } from "react";
1
+ import { type ReactNode, type Ref } from "react";
2
2
  import type { ButtonProps } from "antd";
3
3
  import type { PhiControlSize } from "../../types/control";
4
4
  import type { PhiButtonType } from "./phi-button-types";
@@ -29,12 +29,29 @@ export type PhiButtonControlProps = {
29
29
  * that mistake the easy one.
30
30
  */
31
31
  newTab?: boolean;
32
+ /**
33
+ * Whether the destination is outside this Site, stated rather than guessed.
34
+ *
35
+ * Absent leaves the answer to the same string test every other link falls back to. A caller that
36
+ * knows says so, and a caller that stores a structured target always knows: its target carries the
37
+ * kind, and reading it off a regex would put the decision back in a place that cannot see the
38
+ * difference between a Page and an address that merely starts the same way.
39
+ */
40
+ external?: boolean;
32
41
  tooltip?: ReactNode;
33
42
  icon?: ReactNode;
34
43
  type?: PhiButtonType;
35
44
  /** A round button is what an icon on its own wants, over a picture or in a toolbar. */
36
45
  shape?: ButtonProps["shape"];
37
46
  danger?: boolean;
47
+ /**
48
+ * Draws the button transparent with a coloured outline, for a surface the Theme's own fills fight.
49
+ *
50
+ * A hero over an image, a coloured band: there a filled button states a second background nobody
51
+ * asked for. This is Ant Design's own flag rather than a `PhiButtonType` of its own, because it is
52
+ * not a kind of button -- it is any kind of button, drawn for a background it does not own.
53
+ */
54
+ ghost?: boolean;
38
55
  disabled?: boolean;
39
56
  loading?: boolean;
40
57
  htmlType?: ButtonProps["htmlType"];
@@ -56,4 +73,4 @@ export type PhiButtonControlProps = {
56
73
  ref?: Ref<HTMLButtonElement | HTMLAnchorElement>;
57
74
  onClick?: () => void;
58
75
  };
59
- export declare function PhiButtonControl({ label, ariaLabel, href, newTab, tooltip, icon, type, shape, danger, disabled, loading, htmlType, block, size, style, badge, className, ref, onClick, }: PhiButtonControlProps): import("react").JSX.Element;
76
+ export declare function PhiButtonControl({ label, ariaLabel, href, newTab, external, tooltip, icon, type, shape, danger, ghost, disabled, loading, htmlType, block, size, style, badge, className, ref, onClick, }: PhiButtonControlProps): import("react").JSX.Element;
@@ -1,19 +1,50 @@
1
1
  "use client";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import Link from "next/link";
4
- import { Badge, Button, Tooltip } from "antd";
5
- export function PhiButtonControl({ label, ariaLabel, href, newTab, tooltip, icon, type = "default", shape, danger, disabled, loading, htmlType, block, size, style, badge, className, ref, onClick, }) {
3
+ import { lazy, Suspense } from "react";
4
+ import { Button } from "antd";
5
+ import { PhiLink } from "../navigation/phi-link";
6
+ import { PhiHoverText } from "./phi-hover-text";
7
+ /*
8
+ * Ant Design's Badge, loaded where a Button actually carries a count. Most Buttons carry none, and the
9
+ * Landing's carry none at all, so a static import put the Badge and its scroll-number motion on every page
10
+ * that draws a Button.
11
+ */
12
+ const PhiLazyBadge = lazy(() => import("antd/es/badge"));
13
+ export function PhiButtonControl({ label, ariaLabel, href, newTab, external, tooltip, icon, type = "default", shape, danger, ghost, disabled, loading, htmlType, block, size, style, badge, className, ref, onClick, }) {
6
14
  const visibleTooltip = typeof label === "string" && typeof tooltip === "string" && label === tooltip
7
15
  ? null
8
16
  : tooltip;
9
- const button = (_jsx(Button, { ref: ref, className: className, "aria-label": ariaLabel, type: type, shape: shape, danger: danger, disabled: disabled || (!onClick && !href && htmlType !== "submit"), loading: loading, htmlType: htmlType, block: block, size: size, style: style, icon: icon, onClick: onClick, children: label }));
17
+ const inert = disabled || (!onClick && !href && htmlType !== "submit");
18
+ const button = (_jsx(Button, { ref: ref, className: className, "aria-label": ariaLabel, type: type, shape: shape, danger: danger, ghost: ghost, disabled: inert, loading: loading, htmlType: htmlType, block: block, size: size, style: style, icon: icon, onClick: onClick, children: label }));
10
19
  /*
20
+ * Through `PhiLink`, which is where this house decides between a client navigation and a plain
21
+ * anchor -- and where `target="_blank"` and `rel` are one decision rather than two props that can
22
+ * disagree. This control used to reach for `next/link` itself, so an external address went through
23
+ * the client router and never received the `rel` that a new tab needs.
24
+ *
11
25
  * Never prefetched. A button-shaped link is a deliberate action rather than somewhere the visitor is
12
26
  * already heading, so speculating on it buys nothing -- and on a refusal page, where this is what the
13
27
  * home link is made of, it buys a request for the Area root that the visitor never asked for. An Area
14
28
  * root that forwards turns that into two.
29
+ *
30
+ * The colour is the Button's. A link states one, and here the Button beneath it already has.
15
31
  */
16
- const linked = href && !disabled ? (_jsx(Link, { href: href, prefetch: false, target: newTab ? "_blank" : undefined, rel: newTab ? "noreferrer" : undefined, children: button })) : button;
17
- const badged = badge?.enabled ? (_jsx(Badge, { color: badge.color, count: badge.value ?? 0, overflowCount: badge.overflowCount, showZero: badge.showZero, size: "small", children: linked })) : linked;
18
- return visibleTooltip ? _jsx(Tooltip, { title: visibleTooltip, children: badged }) : badged;
32
+ const linked = href && !disabled ? (_jsx(PhiLink, { href: href, ...(external === undefined ? {} : { external }), newTab: newTab, prefetch: false, style: { display: "inline-flex", color: "inherit" }, children: button })) : button;
33
+ /*
34
+ * Rendered on the Server it is complete, and hydration waits for the chunk. Mounted in the browser before
35
+ * the chunk is there, the Button stands without its count until it arrives.
36
+ */
37
+ const badged = badge?.enabled ? (_jsx(Suspense, { fallback: linked, children: _jsx(PhiLazyBadge, { color: badge.color, count: badge.value ?? 0, overflowCount: badge.overflowCount, showZero: badge.showZero, size: "small", children: linked }) })) : linked;
38
+ if (!visibleTooltip)
39
+ return badged;
40
+ /*
41
+ * A disabled button emits no pointer events, so the tooltip the primitive hangs on it never opens --
42
+ * and a disabled button is exactly when the hover text matters most, because it is the only place the
43
+ * reason it is off can be read. The wrapper is what catches the pointer instead, and it exists only
44
+ * for that: an enabled button keeps the plain shape it always had.
45
+ */
46
+ const target = inert
47
+ ? _jsx("span", { style: { display: "inline-flex", cursor: "not-allowed" }, children: badged })
48
+ : badged;
49
+ return _jsx(PhiHoverText, { title: visibleTooltip, children: target });
19
50
  }
@@ -0,0 +1,61 @@
1
+ import type { CSSProperties, ReactNode } from "react";
2
+ /**
3
+ * A bordered box, with an optional heading bar above what is in it.
4
+ *
5
+ * **The body padding is the Theme's, not Ant Design's.** The primitive hard-codes 12 pixels for a small
6
+ * Card and reaches for `paddingLG` otherwise, and neither lands on the house scale: `paddingSM` is 13,
7
+ * and the ordinary padding a box gets is `padding`, where `paddingLG` on a Fibonacci scale is 55 and
8
+ * makes an ordinary section look like a feature. Four of the five small Cards in the tree had noticed the
9
+ * first half and written the same one-line override by hand; the fifth had not, and it was the Theme
10
+ * preview -- the one box whose entire job is to show what a Theme looks like was the one drawn off the
11
+ * Theme's own scale. Nobody decided any of that, and nobody should have to notice it again.
12
+ *
13
+ * **The corner and the colours arrive by themselves, and no caller passes them.** The corner is the Theme's
14
+ * surface step, `--phi-surface-radius` (THEME.md "Control shape"), so a Site set to `square` draws square
15
+ * corners here without this file or its callers knowing that shapes exist; the ground, the frame, the
16
+ * heading and the lift under the pointer are the Theme's tokens, read as the variables Ant Design
17
+ * publishes for them (`styles/controls.css`, "Card"). A box that names any of them by hand is a box that
18
+ * stops following the Theme the moment somebody changes it -- which is what every hand-built panel this
19
+ * control replaced did. The only decision left here is the inset, and that is the one below.
20
+ *
21
+ * **Not Ant Design's `Card`.** It imports the Tabs, for a tab list this house never offers, and every page
22
+ * with a card -- a sign-in form on a Landing among them -- shipped the Tabs code with it. The box is a frame,
23
+ * a heading bar and a body; drawing those is cheaper than carrying a component that brings what nobody
24
+ * asked for.
25
+ *
26
+ * `toolbar` sits where Ant Design put its `extra`, under the name this house already uses for it in
27
+ * `PhiCollectionHeaderControl`. A toolbar without a `title` still draws the heading bar, as the primitive
28
+ * this replaced did.
29
+ *
30
+ * **A card is a box, not a layout.** Anything that arranges what is inside it belongs to the caller's own
31
+ * element, which is why there is no body style: a Widget that wants its parts on a grid puts the grid in
32
+ * a `div` of its own rather than reaching into the Card's body through the primitive.
33
+ *
34
+ * `padding` is the exception, and it is not one of those: the inset of a box is the box's own business,
35
+ * which is why this control already decides it. A caller that needs a different one says so here. The
36
+ * alternative was a `div` wrapped around the Card to pad it from outside, which is a box around a box and
37
+ * pads the wrong side of the frame -- if a Card needs a wrapper to be spaced, the prop was missing.
38
+ */
39
+ export type PhiCardControlProps = {
40
+ /** A heading in a bar of its own above the body, with a rule under it. */
41
+ title?: ReactNode;
42
+ /** What belongs to the heading rather than to the body -- an action, usually. */
43
+ toolbar?: ReactNode;
44
+ /** An opening image, drawn across the full width above the body. */
45
+ cover?: ReactNode;
46
+ /** `small` is the size of chrome -- an inspector panel, a preview frame -- against a card on a page. */
47
+ size?: "small" | "medium";
48
+ /** The box lifts under the pointer, which is how a card says that the whole of it is a link. */
49
+ hoverable?: boolean;
50
+ /**
51
+ * The body's own inset, where the Theme's answer is not the right one.
52
+ *
53
+ * Absent is the Theme's -- `padding` at the ordinary size and `paddingSM` for chrome -- and that stays
54
+ * the answer to "nothing was said" rather than becoming a ceiling. A Widget whose configuration carries
55
+ * a padding passes it straight through; nothing has to know which of the two it got.
56
+ */
57
+ padding?: number | string;
58
+ style?: CSSProperties;
59
+ children?: ReactNode;
60
+ };
61
+ export declare function PhiCardControl({ title, toolbar, cover, size, hoverable, padding, style, children, }: PhiCardControlProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { usePhiConfig } from "../root/phi-config-provider";
4
+ export function PhiCardControl({ title, toolbar, cover, size = "medium", hoverable, padding, style, children, }) {
5
+ const { token } = usePhiConfig();
6
+ const className = [
7
+ "phi-card-control",
8
+ size === "small" ? "phi-card-control--small" : null,
9
+ hoverable ? "phi-card-control--hoverable" : null,
10
+ ].filter(Boolean).join(" ");
11
+ return (_jsxs("div", { className: className, style: style, children: [title != null || toolbar != null ? (_jsxs("div", { className: "phi-card-control__head", children: [title != null ? _jsx("div", { className: "phi-card-control__title", children: title }) : null, toolbar != null ? _jsx("div", { className: "phi-card-control__toolbar", children: toolbar }) : null] })) : null, cover != null ? _jsx("div", { className: "phi-card-control__cover", children: cover }) : null, _jsx("div", { className: "phi-card-control__body", style: { padding: padding ?? (size === "small" ? token.paddingSM : token.padding) }, children: children })] }));
12
+ }
@@ -1,10 +1,7 @@
1
1
  "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Checkbox, Flex, Tooltip } from "antd";
4
- import { PhiIcon } from "../shell/phi-icon";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { Checkbox, Flex } from "antd";
4
+ import { PhiControlOptionContent } from "./phi-control-option-content";
5
5
  export function PhiCheckboxGroupControl({ value, options, disabled, readOnly, vertical, onChange, }) {
6
- return (_jsx(Checkbox.Group, { value: [...(value ?? [])], disabled: disabled || readOnly || !onChange, onChange: (nextValue) => onChange?.(nextValue), style: { width: "100%" }, children: _jsx(Flex, { vertical: vertical, gap: "small", wrap: vertical ? false : "wrap", children: options.map((option) => {
7
- const content = (_jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: "var(--ant-padding-xxs)" }, children: [option.icon ? _jsx(PhiIcon, { name: option.icon, size: 14 }) : null, option.label] }));
8
- return (_jsx(Checkbox, { value: option.value, disabled: option.disabled, children: option.description ? _jsx(Tooltip, { title: option.description, children: content }) : content }, option.value));
9
- }) }) }));
6
+ return (_jsx(Checkbox.Group, { value: [...(value ?? [])], disabled: disabled || readOnly || !onChange, onChange: (nextValue) => onChange?.(nextValue), style: { width: "100%" }, children: _jsx(Flex, { vertical: vertical, gap: "small", wrap: vertical ? false : "wrap", children: options.map((option) => (_jsx(Checkbox, { value: option.value, disabled: option.disabled, children: _jsx(PhiControlOptionContent, { option: option, presentation: "option" }) }, option.value))) }) }));
10
7
  }
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Tooltip, Typography } from "antd";
3
+ import { Typography } from "antd";
4
4
  import { usePhiConfig } from "../root/phi-config-provider";
5
- import { PHI_DESCRIPTION_TOOLTIP_ICON } from "./phi-description-tooltip-icon";
5
+ import { PhiDescriptionHint } from "./phi-description-tooltip-icon";
6
6
  export function PhiCollectionHeaderControl({ title, description, filters, toolbar, }) {
7
7
  const { token } = usePhiConfig();
8
8
  const hasTitle = title !== undefined && title !== null && title !== "";
@@ -23,13 +23,7 @@ export function PhiCollectionHeaderControl({ title, description, filters, toolba
23
23
  gap: token.paddingXXS,
24
24
  flex: "0 1 auto",
25
25
  minWidth: 0,
26
- }, children: [_jsx(Typography.Text, { strong: true, ellipsis: true, style: { minWidth: 0 }, children: title }), description ? (_jsx(Tooltip, { title: description, children: _jsx("span", { role: "img", "aria-label": "Information", tabIndex: 0, style: {
27
- display: "inline-flex",
28
- alignItems: "center",
29
- color: token.colorTextSecondary,
30
- cursor: "help",
31
- flex: "none",
32
- }, children: PHI_DESCRIPTION_TOOLTIP_ICON }) })) : null] })) : null, hasFilters ? (_jsx("div", { style: {
26
+ }, children: [_jsx(Typography.Text, { strong: true, ellipsis: true, style: { minWidth: 0 }, children: title }), description ? _jsx(PhiDescriptionHint, { description: description }) : null] })) : null, hasFilters ? (_jsx("div", { style: {
33
27
  display: "flex",
34
28
  alignItems: "flex-end",
35
29
  flex: "1 1 280px",
@@ -18,6 +18,7 @@ export type PhiCollectionViewControlProps = {
18
18
  total: number;
19
19
  simple?: boolean;
20
20
  showSizeChanger?: boolean;
21
+ pageSizeOptions?: readonly number[];
21
22
  size?: PhiControlSize;
22
23
  onChange: (page: number, pageSize: number) => void;
23
24
  } | null;
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Skeleton } from "antd";
4
3
  import { usePhiConfig } from "../root/phi-config-provider";
5
4
  import { PhiCollectionHeaderControl } from "./phi-collection-header-control";
6
5
  import { PhiCollectionLayoutControl } from "./phi-collection-layout-control";
7
6
  import { PhiPaginationControl } from "./phi-pagination-control";
7
+ import { PhiSkeletonControl } from "./phi-skeleton-control";
8
8
  export function PhiCollectionViewControl({ title, description, filters, toolbar, panel, diagnostics, body, items, mode = "grid", gap, minColumnWidth, pagination, }) {
9
9
  const { token } = usePhiConfig();
10
10
  const resolvedGap = gap ?? token.paddingSM;
11
- return (_jsxs("div", { style: { display: "flex", flexDirection: "column", gap: token.paddingSM, width: "100%", minWidth: 0 }, children: [_jsx(PhiCollectionHeaderControl, { title: title, description: description, filters: filters, toolbar: toolbar }), panel, diagnostics, body ?? (_jsx(PhiCollectionLayoutControl, { mode: mode, gap: resolvedGap, minColumnWidth: minColumnWidth ?? 102, items: [...(items ?? [])] })), pagination ? (_jsx("div", { style: { display: "flex", justifyContent: "flex-end", width: "100%", minWidth: 0 }, children: _jsx(PhiPaginationControl, { page: pagination.page, pageSize: pagination.pageSize, total: pagination.total, simple: pagination.simple, showSizeChanger: pagination.showSizeChanger, size: pagination.size, onChange: (value) => pagination.onChange(value.page, value.pageSize) }) })) : null] }));
11
+ return (_jsxs("div", { style: { display: "flex", flexDirection: "column", gap: token.paddingSM, width: "100%", minWidth: 0 }, children: [_jsx(PhiCollectionHeaderControl, { title: title, description: description, filters: filters, toolbar: toolbar }), panel, diagnostics, body ?? (_jsx(PhiCollectionLayoutControl, { mode: mode, gap: resolvedGap, minColumnWidth: minColumnWidth ?? 102, items: [...(items ?? [])] })), pagination ? (_jsx("div", { style: { display: "flex", justifyContent: "flex-end", width: "100%", minWidth: 0 }, children: _jsx(PhiPaginationControl, { page: pagination.page, pageSize: pagination.pageSize, total: pagination.total, simple: pagination.simple, showSizeChanger: pagination.showSizeChanger, pageSizeOptions: pagination.pageSizeOptions, size: pagination.size, onChange: (value) => pagination.onChange(value.page, value.pageSize) }) })) : null] }));
12
12
  }
13
13
  export function PhiCollectionViewSkeletonControl({ mode = "grid", gap, minColumnWidth, active = true, count = 8, }) {
14
14
  const { token } = usePhiConfig();
15
- return (_jsx(PhiCollectionLayoutControl, { mode: mode, gap: gap ?? token.paddingSM, minColumnWidth: minColumnWidth ?? 102, items: Array.from({ length: count }, (_, index) => (_jsx(Skeleton.Node, { active: active, style: { width: "100%", minHeight: token.controlHeight * 3 } }, index))) }));
15
+ return (_jsx(PhiCollectionLayoutControl, { mode: mode, gap: gap ?? token.paddingSM, minColumnWidth: minColumnWidth ?? 102, items: Array.from({ length: count }, (_, index) => (_jsx(PhiSkeletonControl, { presentation: "node", active: active, style: { width: "100%", minHeight: token.controlHeight * 3 } }, index))) }));
16
16
  }