@phis/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +2011 -0
- package/builder-api-route.d.ts +8 -0
- package/builder-api-route.js +19 -0
- package/builder.d.ts +2 -0
- package/builder.js +2 -0
- package/cms/error-page.d.ts +2 -0
- package/cms/error-page.js +1 -0
- package/cms/plugins.d.ts +10 -0
- package/cms/plugins.js +6 -0
- package/cms/request.d.ts +3 -0
- package/cms/request.js +3 -0
- package/cms/root-layout.d.ts +2 -0
- package/cms/root-layout.js +1 -0
- package/cms/root-page.d.ts +2 -0
- package/cms/root-page.js +1 -0
- package/cms/root-slot-page.d.ts +3 -0
- package/cms/root-slot-page.js +2 -0
- package/cms-plugins-accounting.d.ts +1 -0
- package/cms-plugins-accounting.js +1 -0
- package/cms-plugins-admin.d.ts +1 -0
- package/cms-plugins-admin.js +1 -0
- package/cms-plugins-app.d.ts +1 -0
- package/cms-plugins-app.js +1 -0
- package/cms-plugins-editor.d.ts +1 -0
- package/cms-plugins-editor.js +1 -0
- package/cms-plugins-public.d.ts +1 -0
- package/cms-plugins-public.js +1 -0
- package/cms.d.ts +16 -0
- package/cms.js +9 -0
- package/components/account/avatar-client.d.ts +18 -0
- package/components/account/avatar-client.js +37 -0
- package/components/account/avatar-revision.d.ts +12 -0
- package/components/account/avatar-revision.js +14 -0
- package/components/calendar/gregory-calendar-adapter-client.d.ts +2 -0
- package/components/calendar/gregory-calendar-adapter-client.js +173 -0
- package/components/cms/clients/phi-background-motion-layer-client.d.ts +4 -0
- package/components/cms/clients/phi-background-motion-layer-client.js +340 -0
- package/components/cms/clients/phi-background-motion-layer-lazy.d.ts +4 -0
- package/components/cms/clients/phi-background-motion-layer-lazy.js +20 -0
- package/components/cms/clients/phi-cms-node-visibility-gate.d.ts +36 -0
- package/components/cms/clients/phi-cms-node-visibility-gate.js +67 -0
- package/components/cms/phi-cms-area-render-scope.d.ts +124 -0
- package/components/cms/phi-cms-area-render-scope.js +78 -0
- package/components/cms/phi-cms-error-page.d.ts +20 -0
- package/components/cms/phi-cms-error-page.js +85 -0
- package/components/cms/phi-cms-layout-renderer.d.ts +28 -0
- package/components/cms/phi-cms-layout-renderer.js +627 -0
- package/components/cms/phi-cms-page-meta-signal-emitter.d.ts +8 -0
- package/components/cms/phi-cms-page-meta-signal-emitter.js +18 -0
- package/components/cms/phi-cms-page-redirect.d.ts +20 -0
- package/components/cms/phi-cms-page-redirect.js +70 -0
- package/components/cms/phi-cms-page-renderer.d.ts +11 -0
- package/components/cms/phi-cms-page-renderer.js +13 -0
- package/components/cms/phi-cms-region-helpers.d.ts +3 -0
- package/components/cms/phi-cms-region-helpers.js +3 -0
- package/components/cms/phi-cms-render-diagnostic-client.d.ts +4 -0
- package/components/cms/phi-cms-render-diagnostic-client.js +57 -0
- package/components/cms/phi-cms-render-diagnostic.d.ts +4 -0
- package/components/cms/phi-cms-render-diagnostic.js +15 -0
- package/components/cms/phi-cms-render-error-boundary.d.ts +20 -0
- package/components/cms/phi-cms-render-error-boundary.js +33 -0
- package/components/cms/phi-cms-root-layout.d.ts +77 -0
- package/components/cms/phi-cms-root-layout.js +197 -0
- package/components/cms/phi-cms-root-page.d.ts +7 -0
- package/components/cms/phi-cms-root-page.js +110 -0
- package/components/cms/phi-cms-root-slot-page.d.ts +8 -0
- package/components/cms/phi-cms-root-slot-page.js +116 -0
- package/components/cms/phi-cms-runtime-registry.d.ts +20 -0
- package/components/cms/phi-cms-runtime-registry.js +31 -0
- package/components/controls/config-preview-shell.d.ts +7 -0
- package/components/controls/config-preview-shell.js +20 -0
- package/components/controls/phi-alert-control.d.ts +12 -0
- package/components/controls/phi-alert-control.js +6 -0
- package/components/controls/phi-anchor-control-contract.d.ts +15 -0
- package/components/controls/phi-anchor-control-contract.js +79 -0
- package/components/controls/phi-background-control.d.ts +78 -0
- package/components/controls/phi-background-control.js +783 -0
- package/components/controls/phi-border-control.d.ts +16 -0
- package/components/controls/phi-border-control.js +78 -0
- package/components/controls/phi-bound-radius-control.d.ts +35 -0
- package/components/controls/phi-bound-radius-control.js +128 -0
- package/components/controls/phi-brand-control.d.ts +37 -0
- package/components/controls/phi-brand-control.js +102 -0
- package/components/controls/phi-builder-insert-picker-control-labels.d.ts +12 -0
- package/components/controls/phi-builder-insert-picker-control-labels.js +11 -0
- package/components/controls/phi-builder-insert-picker-control.d.ts +34 -0
- package/components/controls/phi-builder-insert-picker-control.js +190 -0
- package/components/controls/phi-button-control.d.ts +59 -0
- package/components/controls/phi-button-control.js +19 -0
- package/components/controls/phi-button-types.d.ts +2 -0
- package/components/controls/phi-button-types.js +9 -0
- package/components/controls/phi-calendar-control.d.ts +5 -0
- package/components/controls/phi-calendar-control.js +6 -0
- package/components/controls/phi-cascader-control.d.ts +32 -0
- package/components/controls/phi-cascader-control.js +174 -0
- package/components/controls/phi-checkbox-control.d.ts +12 -0
- package/components/controls/phi-checkbox-control.js +6 -0
- package/components/controls/phi-checkbox-group-control.d.ts +10 -0
- package/components/controls/phi-checkbox-group-control.js +10 -0
- package/components/controls/phi-collection-header-control.d.ts +8 -0
- package/components/controls/phi-collection-header-control.js +46 -0
- package/components/controls/phi-collection-layout-control.d.ts +8 -0
- package/components/controls/phi-collection-layout-control.js +33 -0
- package/components/controls/phi-collection-view-control.d.ts +29 -0
- package/components/controls/phi-collection-view-control.js +16 -0
- package/components/controls/phi-color-control.d.ts +31 -0
- package/components/controls/phi-color-control.js +161 -0
- package/components/controls/phi-confirm-control.d.ts +35 -0
- package/components/controls/phi-confirm-control.js +23 -0
- package/components/controls/phi-control-option-content.d.ts +5 -0
- package/components/controls/phi-control-option-content.js +37 -0
- package/components/controls/phi-control-options.d.ts +69 -0
- package/components/controls/phi-control-options.js +112 -0
- package/components/controls/phi-date-picker-control.d.ts +6 -0
- package/components/controls/phi-date-picker-control.js +8 -0
- package/components/controls/phi-description-tooltip-icon.d.ts +2 -0
- package/components/controls/phi-description-tooltip-icon.js +5 -0
- package/components/controls/phi-dimension-control.d.ts +14 -0
- package/components/controls/phi-dimension-control.js +25 -0
- package/components/controls/phi-drag-handle-control.d.ts +48 -0
- package/components/controls/phi-drag-handle-control.js +43 -0
- package/components/controls/phi-drawer-control.d.ts +11 -0
- package/components/controls/phi-drawer-control.js +58 -0
- package/components/controls/phi-dropdown-control.d.ts +47 -0
- package/components/controls/phi-dropdown-control.js +84 -0
- package/components/controls/phi-dropdown-control.module.css +63 -0
- package/components/controls/phi-expand-indicator.d.ts +5 -0
- package/components/controls/phi-expand-indicator.js +17 -0
- package/components/controls/phi-expand-indicator.module.css +16 -0
- package/components/controls/phi-form-control.d.ts +34 -0
- package/components/controls/phi-form-control.js +352 -0
- package/components/controls/phi-geometry-control.d.ts +15 -0
- package/components/controls/phi-geometry-control.js +87 -0
- package/components/controls/phi-icon-picker-control.d.ts +21 -0
- package/components/controls/phi-icon-picker-control.js +313 -0
- package/components/controls/phi-icon-picker-labels.d.ts +27 -0
- package/components/controls/phi-icon-picker-labels.js +26 -0
- package/components/controls/phi-labeled-control.d.ts +7 -0
- package/components/controls/phi-labeled-control.js +37 -0
- package/components/controls/phi-length-control.d.ts +22 -0
- package/components/controls/phi-length-control.js +27 -0
- package/components/controls/phi-mask-picker-control.d.ts +20 -0
- package/components/controls/phi-mask-picker-control.js +93 -0
- package/components/controls/phi-media-asset-tile-control.d.ts +25 -0
- package/components/controls/phi-media-asset-tile-control.js +155 -0
- package/components/controls/phi-media-picker-control-contract.d.ts +5 -0
- package/components/controls/phi-media-picker-control-contract.js +10 -0
- package/components/controls/phi-media-picker-control.d.ts +50 -0
- package/components/controls/phi-media-picker-control.js +42 -0
- package/components/controls/phi-menu-control.d.ts +44 -0
- package/components/controls/phi-menu-control.js +71 -0
- package/components/controls/phi-modal-control.d.ts +12 -0
- package/components/controls/phi-modal-control.js +132 -0
- package/components/controls/phi-multi-select-control.d.ts +24 -0
- package/components/controls/phi-multi-select-control.js +26 -0
- package/components/controls/phi-number-control.d.ts +28 -0
- package/components/controls/phi-number-control.js +8 -0
- package/components/controls/phi-options-provider.d.ts +128 -0
- package/components/controls/phi-options-provider.js +295 -0
- package/components/controls/phi-options-revision.d.ts +35 -0
- package/components/controls/phi-options-revision.js +32 -0
- package/components/controls/phi-otp-control.d.ts +49 -0
- package/components/controls/phi-otp-control.js +28 -0
- package/components/controls/phi-overlay-control-contract.d.ts +40 -0
- package/components/controls/phi-overlay-control-contract.js +33 -0
- package/components/controls/phi-padding-control.d.ts +15 -0
- package/components/controls/phi-padding-control.js +87 -0
- package/components/controls/phi-pagination-control.d.ts +18 -0
- package/components/controls/phi-pagination-control.js +10 -0
- package/components/controls/phi-picker-control-contract.d.ts +8 -0
- package/components/controls/phi-picker-control-contract.js +15 -0
- package/components/controls/phi-placement-matrix-control.d.ts +11 -0
- package/components/controls/phi-placement-matrix-control.js +52 -0
- package/components/controls/phi-popover-control.d.ts +22 -0
- package/components/controls/phi-popover-control.js +14 -0
- package/components/controls/phi-preset-size-control.d.ts +15 -0
- package/components/controls/phi-preset-size-control.js +21 -0
- package/components/controls/phi-radio-group-control.d.ts +12 -0
- package/components/controls/phi-radio-group-control.js +10 -0
- package/components/controls/phi-rate-control-contract.d.ts +3 -0
- package/components/controls/phi-rate-control-contract.js +13 -0
- package/components/controls/phi-rate-control.d.ts +19 -0
- package/components/controls/phi-rate-control.js +11 -0
- package/components/controls/phi-segmented-control.d.ts +19 -0
- package/components/controls/phi-segmented-control.js +13 -0
- package/components/controls/phi-select-control.d.ts +38 -0
- package/components/controls/phi-select-control.js +63 -0
- package/components/controls/phi-shadow-control.d.ts +17 -0
- package/components/controls/phi-shadow-control.js +74 -0
- package/components/controls/phi-slider-control-contract.d.ts +2 -0
- package/components/controls/phi-slider-control-contract.js +1 -0
- package/components/controls/phi-slider-control.d.ts +21 -0
- package/components/controls/phi-slider-control.js +12 -0
- package/components/controls/phi-switch-control.d.ts +14 -0
- package/components/controls/phi-switch-control.js +7 -0
- package/components/controls/phi-table-control.d.ts +136 -0
- package/components/controls/phi-table-control.js +1016 -0
- package/components/controls/phi-table-control.module.css +16 -0
- package/components/controls/phi-tabs-control.d.ts +23 -0
- package/components/controls/phi-tabs-control.js +12 -0
- package/components/controls/phi-tag-control.d.ts +8 -0
- package/components/controls/phi-tag-control.js +6 -0
- package/components/controls/phi-text-control.d.ts +50 -0
- package/components/controls/phi-text-control.js +65 -0
- package/components/controls/phi-text-types.d.ts +1 -0
- package/components/controls/phi-text-types.js +1 -0
- package/components/controls/phi-toolbar-control.d.ts +30 -0
- package/components/controls/phi-toolbar-control.js +14 -0
- package/components/controls/phi-tree-control.d.ts +49 -0
- package/components/controls/phi-tree-control.js +157 -0
- package/components/controls/phi-tree-control.module.css +22 -0
- package/components/controls/phi-viewport-visibility-control.d.ts +12 -0
- package/components/controls/phi-viewport-visibility-control.js +26 -0
- package/components/controls/use-phi-color-control-presets.d.ts +12 -0
- package/components/controls/use-phi-color-control-presets.js +68 -0
- package/components/controls/use-phi-immediate-picker.d.ts +13 -0
- package/components/controls/use-phi-immediate-picker.js +90 -0
- package/components/forms/auth-admin-settings-forms.d.ts +15 -0
- package/components/forms/auth-admin-settings-forms.js +349 -0
- package/components/forms/auth-admin-settings-labels.d.ts +105 -0
- package/components/forms/auth-admin-settings-labels.js +180 -0
- package/components/forms/auth-form-provider-registry.d.ts +1 -0
- package/components/forms/auth-form-provider-registry.js +38 -0
- package/components/forms/auth-form-ui-provider.d.ts +4 -0
- package/components/forms/auth-form-ui-provider.js +7 -0
- package/components/forms/auth-installations-table-service.d.ts +3 -0
- package/components/forms/auth-installations-table-service.js +144 -0
- package/components/forms/auth-link-confirmation-contract.d.ts +7 -0
- package/components/forms/auth-link-confirmation-contract.js +8 -0
- package/components/forms/compound-form-controls.d.ts +3 -0
- package/components/forms/compound-form-controls.js +218 -0
- package/components/forms/contracts.d.ts +12 -0
- package/components/forms/contracts.js +1 -0
- package/components/forms/datetime-form-control.d.ts +7 -0
- package/components/forms/datetime-form-control.js +46 -0
- package/components/forms/extended-form-field-controls.d.ts +4 -0
- package/components/forms/extended-form-field-controls.js +23 -0
- package/components/forms/form-builder-controller-address.d.ts +5 -0
- package/components/forms/form-builder-controller-address.js +8 -0
- package/components/forms/form-builder-controller-definition.d.ts +17 -0
- package/components/forms/form-builder-controller-definition.js +19 -0
- package/components/forms/form-builder-controller-plugin.d.ts +17 -0
- package/components/forms/form-builder-controller-plugin.js +8 -0
- package/components/forms/form-descriptor-contract.d.ts +432 -0
- package/components/forms/form-descriptor-contract.js +565 -0
- package/components/forms/form-descriptor-runtime-client.d.ts +13 -0
- package/components/forms/form-descriptor-runtime-client.js +379 -0
- package/components/forms/form-guard-client.d.ts +8 -0
- package/components/forms/form-guard-client.js +15 -0
- package/components/forms/form-labels.d.ts +1 -0
- package/components/forms/form-labels.js +19 -0
- package/components/forms/form-provider-contract.d.ts +1021 -0
- package/components/forms/form-provider-contract.js +246 -0
- package/components/forms/form-provider-registry.d.ts +54 -0
- package/components/forms/form-provider-registry.js +34 -0
- package/components/forms/form-registry.d.ts +35 -0
- package/components/forms/form-registry.js +24 -0
- package/components/forms/form-resolution.d.ts +69 -0
- package/components/forms/form-resolution.js +83 -0
- package/components/forms/phi-form-widget-frame.d.ts +60 -0
- package/components/forms/phi-form-widget-frame.js +94 -0
- package/components/forms/runtime-form-binding.d.ts +15 -0
- package/components/forms/runtime-form-binding.js +106 -0
- package/components/forms/runtime-form-client.d.ts +46 -0
- package/components/forms/runtime-form-client.js +146 -0
- package/components/forms/runtime-form-controller-address.d.ts +4 -0
- package/components/forms/runtime-form-controller-address.js +7 -0
- package/components/forms/runtime-form-controller-definition.d.ts +115 -0
- package/components/forms/runtime-form-controller-definition.js +21 -0
- package/components/forms/runtime-form-controller-mount.d.ts +27 -0
- package/components/forms/runtime-form-controller-mount.js +168 -0
- package/components/forms/runtime-form-controller-plugin.d.ts +116 -0
- package/components/forms/runtime-form-controller-plugin.js +15 -0
- package/components/forms/runtime-form-controller-requirement.d.ts +15 -0
- package/components/forms/runtime-form-controller-requirement.js +31 -0
- package/components/forms/runtime-form-controller-signals.d.ts +114 -0
- package/components/forms/runtime-form-controller-signals.js +128 -0
- package/components/forms/runtime-form-state.d.ts +18 -0
- package/components/forms/runtime-form-state.js +26 -0
- package/components/forms/shared-form-descriptors.d.ts +500 -0
- package/components/forms/shared-form-descriptors.js +326 -0
- package/components/forms/shared-form-ids.d.ts +17 -0
- package/components/forms/shared-form-ids.js +19 -0
- package/components/forms/shared-form-plugins.d.ts +4 -0
- package/components/forms/shared-form-plugins.js +171 -0
- package/components/forms/shared-form-provider-registry.d.ts +1 -0
- package/components/forms/shared-form-provider-registry.js +244 -0
- package/components/layouts/clients/phi-base-layout-client.d.ts +18 -0
- package/components/layouts/clients/phi-base-layout-client.js +206 -0
- package/components/layouts/clients/phi-carousel-layout-client.d.ts +64 -0
- package/components/layouts/clients/phi-carousel-layout-client.js +138 -0
- package/components/layouts/clients/phi-collapsible-layout-client.d.ts +38 -0
- package/components/layouts/clients/phi-collapsible-layout-client.js +356 -0
- package/components/layouts/clients/phi-content-layout-client.d.ts +37 -0
- package/components/layouts/clients/phi-content-layout-client.js +65 -0
- package/components/layouts/clients/phi-flex-layout-client.d.ts +17 -0
- package/components/layouts/clients/phi-flex-layout-client.js +210 -0
- package/components/layouts/clients/phi-flex-vertical-layout-client.d.ts +10 -0
- package/components/layouts/clients/phi-flex-vertical-layout-client.js +116 -0
- package/components/layouts/clients/phi-grid-layout-client.d.ts +3 -0
- package/components/layouts/clients/phi-grid-layout-client.js +197 -0
- package/components/layouts/clients/phi-layout-anchored-overlay.d.ts +32 -0
- package/components/layouts/clients/phi-layout-anchored-overlay.js +85 -0
- package/components/layouts/clients/phi-sequence-slot-editor.d.ts +48 -0
- package/components/layouts/clients/phi-sequence-slot-editor.js +72 -0
- package/components/layouts/clients/phi-split-card-layout-client.d.ts +29 -0
- package/components/layouts/clients/phi-split-card-layout-client.js +83 -0
- package/components/layouts/clients/phi-stack-layout-client.d.ts +26 -0
- package/components/layouts/clients/phi-stack-layout-client.js +177 -0
- package/components/layouts/clients/phi-three-column-layout-client.d.ts +45 -0
- package/components/layouts/clients/phi-three-column-layout-client.js +111 -0
- package/components/layouts/layout-definitions.d.ts +1267 -0
- package/components/layouts/layout-definitions.js +436 -0
- package/components/layouts/layout-plugin-renderers.d.ts +8 -0
- package/components/layouts/layout-plugin-renderers.js +6 -0
- package/components/layouts/phi-base-layout.d.ts +3 -0
- package/components/layouts/phi-base-layout.js +128 -0
- package/components/layouts/phi-carousel-layout.d.ts +3 -0
- package/components/layouts/phi-carousel-layout.js +6 -0
- package/components/layouts/phi-collapsible-layout.d.ts +3 -0
- package/components/layouts/phi-collapsible-layout.js +6 -0
- package/components/layouts/phi-content-layout.d.ts +3 -0
- package/components/layouts/phi-content-layout.js +5 -0
- package/components/layouts/phi-flex-layout.d.ts +3 -0
- package/components/layouts/phi-flex-layout.js +5 -0
- package/components/layouts/phi-flex-vertical-layout.d.ts +3 -0
- package/components/layouts/phi-flex-vertical-layout.js +5 -0
- package/components/layouts/phi-grid-contract.d.ts +26 -0
- package/components/layouts/phi-grid-contract.js +14 -0
- package/components/layouts/phi-grid-layout.d.ts +3 -0
- package/components/layouts/phi-grid-layout.js +6 -0
- package/components/layouts/phi-layout-contract.d.ts +78 -0
- package/components/layouts/phi-layout-contract.js +119 -0
- package/components/layouts/phi-layout-scaffold-utils.d.ts +2 -0
- package/components/layouts/phi-layout-scaffold-utils.js +6 -0
- package/components/layouts/phi-layout-slot-state.d.ts +41 -0
- package/components/layouts/phi-layout-slot-state.js +63 -0
- package/components/layouts/phi-layout-view-model.d.ts +32 -0
- package/components/layouts/phi-layout-view-model.js +54 -0
- package/components/layouts/phi-masonry-layout.d.ts +10 -0
- package/components/layouts/phi-masonry-layout.js +28 -0
- package/components/layouts/phi-page-region-layout.d.ts +11 -0
- package/components/layouts/phi-page-region-layout.js +63 -0
- package/components/layouts/phi-split-card-layout.d.ts +3 -0
- package/components/layouts/phi-split-card-layout.js +5 -0
- package/components/layouts/phi-stack-layout.d.ts +3 -0
- package/components/layouts/phi-stack-layout.js +6 -0
- package/components/layouts/phi-structure-region-layout.d.ts +13 -0
- package/components/layouts/phi-structure-region-layout.js +53 -0
- package/components/layouts/phi-three-column-layout.d.ts +3 -0
- package/components/layouts/phi-three-column-layout.js +5 -0
- package/components/layouts/plugins/carousel-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/carousel-layout-plugin.js +46 -0
- package/components/layouts/plugins/collapsible-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/collapsible-layout-plugin.js +33 -0
- package/components/layouts/plugins/content-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/content-layout-plugin.js +12 -0
- package/components/layouts/plugins/flex-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/flex-layout-plugin.js +13 -0
- package/components/layouts/plugins/flex-vertical-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/flex-vertical-layout-plugin.js +13 -0
- package/components/layouts/plugins/grid-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/grid-layout-plugin.js +13 -0
- package/components/layouts/plugins/masonry-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/masonry-layout-plugin.js +12 -0
- package/components/layouts/plugins/page-region-layout-plugin.d.ts +5 -0
- package/components/layouts/plugins/page-region-layout-plugin.js +17 -0
- package/components/layouts/plugins/split-card-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/split-card-layout-plugin.js +13 -0
- package/components/layouts/plugins/stack-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/stack-layout-plugin.js +40 -0
- package/components/layouts/plugins/structure-region-layout-plugin.d.ts +5 -0
- package/components/layouts/plugins/structure-region-layout-plugin.js +18 -0
- package/components/layouts/plugins/three-column-layout-plugin.d.ts +4 -0
- package/components/layouts/plugins/three-column-layout-plugin.js +13 -0
- package/components/layouts/stack-signals.d.ts +21 -0
- package/components/layouts/stack-signals.js +36 -0
- package/components/layouts/use-phi-slot-sequence.d.ts +49 -0
- package/components/layouts/use-phi-slot-sequence.js +122 -0
- package/components/media/asset-collection-runtime.d.ts +14 -0
- package/components/media/asset-collection-runtime.js +139 -0
- package/components/media/asset-collection-service.d.ts +3 -0
- package/components/media/asset-collection-service.js +160 -0
- package/components/media/asset-controller-address.d.ts +5 -0
- package/components/media/asset-controller-address.js +8 -0
- package/components/media/asset-controller-definition.d.ts +121 -0
- package/components/media/asset-controller-definition.js +128 -0
- package/components/media/asset-controller-mount.d.ts +4 -0
- package/components/media/asset-controller-mount.js +6 -0
- package/components/media/asset-controller-plugin.d.ts +124 -0
- package/components/media/asset-controller-plugin.js +10 -0
- package/components/media/asset-controller-routes.d.ts +8 -0
- package/components/media/asset-controller-routes.js +31 -0
- package/components/media/asset-controller-signals.d.ts +17 -0
- package/components/media/asset-controller-signals.js +17 -0
- package/components/media/asset-form-field-providers.d.ts +9 -0
- package/components/media/asset-form-field-providers.js +11 -0
- package/components/media/asset-form-ui-provider.d.ts +4 -0
- package/components/media/asset-form-ui-provider.js +13 -0
- package/components/media/asset-inspector-addresses.d.ts +4 -0
- package/components/media/asset-inspector-addresses.js +30 -0
- package/components/media/asset-metadata-form.d.ts +243 -0
- package/components/media/asset-metadata-form.js +209 -0
- package/components/media/asset-options-providers.d.ts +3 -0
- package/components/media/asset-options-providers.js +69 -0
- package/components/media/background-asset-projection.d.ts +42 -0
- package/components/media/background-asset-projection.js +105 -0
- package/components/media/focal-rect.d.ts +38 -0
- package/components/media/focal-rect.js +123 -0
- package/components/media/image-presentation.d.ts +91 -0
- package/components/media/image-presentation.js +63 -0
- package/components/media/label-sets/media.d.ts +4 -0
- package/components/media/label-sets/media.js +217 -0
- package/components/media/media-settings-forms.d.ts +22 -0
- package/components/media/media-settings-forms.js +130 -0
- package/components/media/media-settings-labels.d.ts +40 -0
- package/components/media/media-settings-labels.js +76 -0
- package/components/media/media-space-selection.d.ts +42 -0
- package/components/media/media-space-selection.js +48 -0
- package/components/media/media-upload-flow.d.ts +162 -0
- package/components/media/media-upload-flow.js +302 -0
- package/components/media/media-widget-labels.d.ts +123 -0
- package/components/media/media-widget-labels.js +110 -0
- package/components/media/phi-area-upload-server.d.ts +7 -0
- package/components/media/phi-area-upload-server.js +13 -0
- package/components/media/phi-area-upload-widget.d.ts +18 -0
- package/components/media/phi-area-upload-widget.js +337 -0
- package/components/media/phi-asset-collection-view-binding.d.ts +9 -0
- package/components/media/phi-asset-collection-view-binding.js +245 -0
- package/components/media/phi-asset-focal-rect-server.d.ts +6 -0
- package/components/media/phi-asset-focal-rect-server.js +6 -0
- package/components/media/phi-asset-focal-rect-widget.d.ts +4 -0
- package/components/media/phi-asset-focal-rect-widget.js +268 -0
- package/components/media/phi-asset-folder-control.d.ts +16 -0
- package/components/media/phi-asset-folder-control.js +15 -0
- package/components/media/phi-asset-inspector-section.d.ts +13 -0
- package/components/media/phi-asset-inspector-section.js +135 -0
- package/components/media/phi-file-drop-guard.d.ts +1 -0
- package/components/media/phi-file-drop-guard.js +59 -0
- package/components/media/phi-image-inspector-server.d.ts +7 -0
- package/components/media/phi-image-inspector-server.js +18 -0
- package/components/media/phi-image-inspector-widget.d.ts +12 -0
- package/components/media/phi-image-inspector-widget.js +22 -0
- package/components/media/phi-image-preview-data.d.ts +30 -0
- package/components/media/phi-image-preview-data.js +89 -0
- package/components/media/phi-image-preview-grid-widget.d.ts +7 -0
- package/components/media/phi-image-preview-grid-widget.js +16 -0
- package/components/media/phi-image-preview-store.d.ts +59 -0
- package/components/media/phi-image-preview-store.js +143 -0
- package/components/media/phi-media-kind-icon.d.ts +9 -0
- package/components/media/phi-media-kind-icon.js +34 -0
- package/components/media/phi-media-picker-binding.d.ts +70 -0
- package/components/media/phi-media-picker-binding.js +197 -0
- package/components/media/phi-media-picker-server.d.ts +7 -0
- package/components/media/phi-media-picker-server.js +19 -0
- package/components/media/phi-media-picker-widget.d.ts +20 -0
- package/components/media/phi-media-picker-widget.js +9 -0
- package/components/media/phi-media-request-headers.d.ts +3 -0
- package/components/media/phi-media-request-headers.js +11 -0
- package/components/media/phi-media-restricted-icon.d.ts +8 -0
- package/components/media/phi-media-restricted-icon.js +12 -0
- package/components/media/phi-media-scope-controller.d.ts +20 -0
- package/components/media/phi-media-scope-controller.js +398 -0
- package/components/media/phi-media-upload.d.ts +91 -0
- package/components/media/phi-media-upload.js +148 -0
- package/components/media/phi-site-font-assets.d.ts +17 -0
- package/components/media/phi-site-font-assets.js +81 -0
- package/components/media/use-authoring-asset-details.d.ts +8 -0
- package/components/media/use-authoring-asset-details.js +61 -0
- package/components/menus/phi-account-menu.d.ts +54 -0
- package/components/menus/phi-account-menu.js +101 -0
- package/components/motion/phi-sequence-viewport.d.ts +44 -0
- package/components/motion/phi-sequence-viewport.js +157 -0
- package/components/navigation/phi-link.d.ts +11 -0
- package/components/navigation/phi-link.js +32 -0
- package/components/overlays/phi-overlay-container-client.d.ts +17 -0
- package/components/overlays/phi-overlay-container-client.js +170 -0
- package/components/regions/clients/cms-region-container-client.d.ts +19 -0
- package/components/regions/clients/cms-region-container-client.js +412 -0
- package/components/regions/phi-cms-region-container.d.ts +17 -0
- package/components/regions/phi-cms-region-container.js +39 -0
- package/components/regions/phi-cms-region-static.d.ts +15 -0
- package/components/regions/phi-cms-region-static.js +216 -0
- package/components/regions/presets/admin-dashboard-label-set.d.ts +22 -0
- package/components/regions/presets/admin-dashboard-label-set.js +50 -0
- package/components/regions/presets/admin-locales-label-set.d.ts +8 -0
- package/components/regions/presets/admin-locales-label-set.js +22 -0
- package/components/regions/presets/admin-logs-label-set.d.ts +8 -0
- package/components/regions/presets/admin-logs-label-set.js +22 -0
- package/components/regions/presets/admin-settings-label-set.d.ts +6 -0
- package/components/regions/presets/admin-settings-label-set.js +18 -0
- package/components/regions/presets/admin-users-label-set.d.ts +8 -0
- package/components/regions/presets/admin-users-label-set.js +22 -0
- package/components/regions/presets/builder-navigation-label-set.d.ts +35 -0
- package/components/regions/presets/builder-navigation-label-set.js +68 -0
- package/components/regions/presets/builder-settings-label-set.d.ts +17 -0
- package/components/regions/presets/builder-settings-label-set.js +34 -0
- package/components/regions/presets/clients/sider-context.d.ts +10 -0
- package/components/regions/presets/clients/sider-context.js +10 -0
- package/components/regions/presets/editor-label-set.d.ts +8 -0
- package/components/regions/presets/editor-label-set.js +22 -0
- package/components/regions/presets/editor-shell.d.ts +7 -0
- package/components/regions/presets/editor-shell.js +44 -0
- package/components/regions/presets/editor-translations-label-set.d.ts +8 -0
- package/components/regions/presets/editor-translations-label-set.js +22 -0
- package/components/regions/presets/navigation-redirect.d.ts +42 -0
- package/components/regions/presets/navigation-redirect.js +94 -0
- package/components/regions/presets/phi-area-root-redirect-tree.d.ts +30 -0
- package/components/regions/presets/phi-area-root-redirect-tree.js +33 -0
- package/components/regions/presets/phi-auth-area-overlay-tree.server.d.ts +8 -0
- package/components/regions/presets/phi-auth-area-overlay-tree.server.js +114 -0
- package/components/regions/presets/phi-auth-runtime-page-tree.d.ts +7 -0
- package/components/regions/presets/phi-auth-runtime-page-tree.js +57 -0
- package/components/regions/presets/phi-avatar-area-overlay-tree.d.ts +7 -0
- package/components/regions/presets/phi-avatar-area-overlay-tree.js +12 -0
- package/components/regions/presets/phi-avatar-area-overlay-tree.server.d.ts +14 -0
- package/components/regions/presets/phi-avatar-area-overlay-tree.server.js +104 -0
- package/components/regions/presets/phi-base-page-layout.d.ts +38 -0
- package/components/regions/presets/phi-base-page-layout.js +66 -0
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.d.ts +7 -0
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.js +12 -0
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.d.ts +20 -0
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.js +527 -0
- package/components/regions/presets/phi-builder-page-preset-version.d.ts +13 -0
- package/components/regions/presets/phi-builder-page-preset-version.js +13 -0
- package/components/regions/presets/phi-default-accounting-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-accounting-page-tree.js +50 -0
- package/components/regions/presets/phi-default-admin-area-preset-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-area-preset-tree.js +252 -0
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.js +290 -0
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.js +181 -0
- package/components/regions/presets/phi-default-admin-groups-page-tree.d.ts +13 -0
- package/components/regions/presets/phi-default-admin-groups-page-tree.js +409 -0
- package/components/regions/presets/phi-default-admin-locales-page-tree.d.ts +7 -0
- package/components/regions/presets/phi-default-admin-locales-page-tree.js +264 -0
- package/components/regions/presets/phi-default-admin-logs-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-logs-page-tree.js +287 -0
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.js +94 -0
- package/components/regions/presets/phi-default-admin-settings-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-settings-page-tree.js +82 -0
- package/components/regions/presets/phi-default-admin-users-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-admin-users-page-tree.js +568 -0
- package/components/regions/presets/phi-default-app-groups-page-tree.d.ts +14 -0
- package/components/regions/presets/phi-default-app-groups-page-tree.js +315 -0
- package/components/regions/presets/phi-default-app-profile-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-app-profile-page-tree.js +29 -0
- package/components/regions/presets/phi-default-area-dashboard-page-tree.d.ts +9 -0
- package/components/regions/presets/phi-default-area-dashboard-page-tree.js +67 -0
- package/components/regions/presets/phi-default-builder-area-preset-tree.d.ts +131 -0
- package/components/regions/presets/phi-default-builder-area-preset-tree.js +3580 -0
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.js +112 -0
- package/components/regions/presets/phi-default-builder-settings-page-tree.d.ts +12 -0
- package/components/regions/presets/phi-default-builder-settings-page-tree.js +55 -0
- package/components/regions/presets/phi-default-editor-area-preset-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-editor-area-preset-tree.js +253 -0
- package/components/regions/presets/phi-default-editor-translations-page-tree.d.ts +6 -0
- package/components/regions/presets/phi-default-editor-translations-page-tree.js +323 -0
- package/components/regions/presets/phi-default-pub-confirm-page-tree.d.ts +5 -0
- package/components/regions/presets/phi-default-pub-confirm-page-tree.js +175 -0
- package/components/regions/presets/phi-default-pub-contact-page-tree.d.ts +4 -0
- package/components/regions/presets/phi-default-pub-contact-page-tree.js +112 -0
- package/components/regions/presets/phi-default-pub-error-page-tree.d.ts +8 -0
- package/components/regions/presets/phi-default-pub-error-page-tree.js +128 -0
- package/components/regions/presets/phi-default-pub-home-page-tree.d.ts +10 -0
- package/components/regions/presets/phi-default-pub-home-page-tree.js +90 -0
- package/components/regions/presets/phi-default-pub-login-page-tree.d.ts +10 -0
- package/components/regions/presets/phi-default-pub-login-page-tree.js +111 -0
- package/components/regions/presets/phi-default-pub-registration-page-tree.d.ts +10 -0
- package/components/regions/presets/phi-default-pub-registration-page-tree.js +127 -0
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.d.ts +5 -0
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.js +159 -0
- package/components/regions/presets/phi-default-pub-terms-page-tree.d.ts +4 -0
- package/components/regions/presets/phi-default-pub-terms-page-tree.js +93 -0
- package/components/regions/presets/phi-default-pub-welcome-page-tree.d.ts +17 -0
- package/components/regions/presets/phi-default-pub-welcome-page-tree.js +110 -0
- package/components/regions/presets/phi-default-site-area-preset-tree.d.ts +11 -0
- package/components/regions/presets/phi-default-site-area-preset-tree.js +640 -0
- package/components/regions/presets/phi-login-form-nodes.d.ts +46 -0
- package/components/regions/presets/phi-login-form-nodes.js +210 -0
- package/components/regions/presets/phi-settings-page-shell-tree.d.ts +67 -0
- package/components/regions/presets/phi-settings-page-shell-tree.js +178 -0
- package/components/regions/presets/profile-label-set.d.ts +11 -0
- package/components/regions/presets/profile-label-set.js +28 -0
- package/components/regions/presets/pub.d.ts +2 -0
- package/components/regions/presets/pub.js +130 -0
- package/components/root/phi-config-provider.d.ts +45 -0
- package/components/root/phi-config-provider.js +64 -0
- package/components/root/phi-dayjs-locale.d.ts +12 -0
- package/components/root/phi-dayjs-locale.js +131 -0
- package/components/root/phi-root-background.d.ts +82 -0
- package/components/root/phi-root-background.js +216 -0
- package/components/root/phi-root-layout.d.ts +40 -0
- package/components/root/phi-root-layout.js +109 -0
- package/components/root/phi-root-live-theme-provider.d.ts +39 -0
- package/components/root/phi-root-live-theme-provider.js +169 -0
- package/components/root/phi-root-rem-provider.d.ts +7 -0
- package/components/root/phi-root-rem-provider.js +14 -0
- package/components/root/phi-root-theme-resolver.d.ts +26 -0
- package/components/root/phi-root-theme-resolver.js +85 -0
- package/components/root/phi-shell-chrome-overlay.d.ts +144 -0
- package/components/root/phi-shell-chrome-overlay.js +272 -0
- package/components/root/phi-theme-block-catalog-provider.d.ts +7 -0
- package/components/root/phi-theme-block-catalog-provider.js +22 -0
- package/components/runtime/accounting-base-controller-plugin.d.ts +1 -0
- package/components/runtime/accounting-base-controller-plugin.js +4 -0
- package/components/runtime/app-base-controller-plugin.d.ts +1 -0
- package/components/runtime/app-base-controller-plugin.js +4 -0
- package/components/runtime/area-base-controller-addresses.d.ts +23 -0
- package/components/runtime/area-base-controller-addresses.js +26 -0
- package/components/runtime/area-base-controller-client-factory.d.ts +2 -0
- package/components/runtime/area-base-controller-client-factory.js +8 -0
- package/components/runtime/area-base-controller-definitions.d.ts +106 -0
- package/components/runtime/area-base-controller-definitions.js +75 -0
- package/components/runtime/auth-controller-plugin.d.ts +1 -0
- package/components/runtime/auth-controller-plugin.js +172 -0
- package/components/runtime/auth-controller-server-definition.d.ts +62 -0
- package/components/runtime/auth-controller-server-definition.js +3 -0
- package/components/runtime/auth-overlay-ids.d.ts +23 -0
- package/components/runtime/auth-overlay-ids.js +27 -0
- package/components/runtime/authoring-region-overrides.d.ts +18 -0
- package/components/runtime/authoring-region-overrides.js +10 -0
- package/components/runtime/avatar-overlay-ids.d.ts +7 -0
- package/components/runtime/avatar-overlay-ids.js +19 -0
- package/components/runtime/client/phi-data-dnd.d.ts +14 -0
- package/components/runtime/client/phi-data-dnd.js +139 -0
- package/components/runtime/core-runtime-application-adapter.d.ts +1 -0
- package/components/runtime/core-runtime-application-adapter.js +67 -0
- package/components/runtime/core-runtime-controller-address.d.ts +12 -0
- package/components/runtime/core-runtime-controller-address.js +21 -0
- package/components/runtime/core-runtime-controller-definition.d.ts +72 -0
- package/components/runtime/core-runtime-controller-definition.js +84 -0
- package/components/runtime/core-runtime-controller-plugin.d.ts +74 -0
- package/components/runtime/core-runtime-controller-plugin.js +8 -0
- package/components/runtime/core-runtime-controller-snapshots.d.ts +6 -0
- package/components/runtime/core-runtime-controller-snapshots.js +14 -0
- package/components/runtime/mounted-runtime-controller.d.ts +6 -0
- package/components/runtime/mounted-runtime-controller.js +27 -0
- package/components/runtime/platform-runtime-controller-client-host.d.ts +4 -0
- package/components/runtime/platform-runtime-controller-client-host.js +15 -0
- package/components/runtime/public-base-controller-plugin.d.ts +1 -0
- package/components/runtime/public-base-controller-plugin.js +4 -0
- package/components/runtime/renderable-block-runtime.d.ts +50 -0
- package/components/runtime/renderable-block-runtime.js +517 -0
- package/components/runtime/runtime-condition-state-responder.d.ts +22 -0
- package/components/runtime/runtime-condition-state-responder.js +31 -0
- package/components/runtime/runtime-controller-client-factory.d.ts +2 -0
- package/components/runtime/runtime-controller-client-factory.js +8 -0
- package/components/runtime/runtime-controller-materialization.d.ts +25 -0
- package/components/runtime/runtime-controller-materialization.js +109 -0
- package/components/runtime/runtime-controller-server-host.d.ts +18 -0
- package/components/runtime/runtime-controller-server-host.js +76 -0
- package/components/runtime/runtime-module-authoring-client-host.d.ts +9 -0
- package/components/runtime/runtime-module-authoring-client-host.js +26 -0
- package/components/runtime/runtime-module-authoring-client-manifest.d.ts +9 -0
- package/components/runtime/runtime-module-authoring-client-manifest.js +14 -0
- package/components/runtime/runtime-module-authoring-host.d.ts +11 -0
- package/components/runtime/runtime-module-authoring-host.js +13 -0
- package/components/runtime/runtime-module-calendar-adapter-client-manifest.d.ts +10 -0
- package/components/runtime/runtime-module-calendar-adapter-client-manifest.js +49 -0
- package/components/runtime/runtime-module-context.d.ts +22 -0
- package/components/runtime/runtime-module-context.js +26 -0
- package/components/runtime/runtime-module-controller-client-host.d.ts +6 -0
- package/components/runtime/runtime-module-controller-client-host.js +13 -0
- package/components/runtime/runtime-module-controller-client-manifest.d.ts +17 -0
- package/components/runtime/runtime-module-controller-client-manifest.js +14 -0
- package/components/runtime/runtime-module-data-provider-client-manifest.d.ts +20 -0
- package/components/runtime/runtime-module-data-provider-client-manifest.js +45 -0
- package/components/runtime/runtime-module-data-provider-host.d.ts +6 -0
- package/components/runtime/runtime-module-data-provider-host.js +6 -0
- package/components/runtime/runtime-module-render-client-manifest.d.ts +27 -0
- package/components/runtime/runtime-module-render-client-manifest.js +40 -0
- package/components/runtime/runtime-page-condition-state.d.ts +8 -0
- package/components/runtime/runtime-page-condition-state.js +22 -0
- package/components/runtime/runtime-signal-bus.d.ts +22 -0
- package/components/runtime/runtime-signal-bus.js +311 -0
- package/components/runtime/runtime-signal-identity.d.ts +20 -0
- package/components/runtime/runtime-signal-identity.js +40 -0
- package/components/runtime/runtime-signal-partition.d.ts +42 -0
- package/components/runtime/runtime-signal-partition.js +70 -0
- package/components/runtime/runtime-signal-registry.d.ts +40 -0
- package/components/runtime/runtime-signal-registry.js +113 -0
- package/components/runtime/use-phi-application-feedback.d.ts +8 -0
- package/components/runtime/use-phi-application-feedback.js +36 -0
- package/components/shell/menu-items.d.ts +9 -0
- package/components/shell/menu-items.js +47 -0
- package/components/shell/phi-avatar.d.ts +36 -0
- package/components/shell/phi-avatar.js +35 -0
- package/components/shell/phi-builder-icon.d.ts +7 -0
- package/components/shell/phi-builder-icon.js +44 -0
- package/components/shell/phi-builder-motif-icon.d.ts +5 -0
- package/components/shell/phi-builder-motif-icon.js +28 -0
- package/components/shell/phi-cms-shell.d.ts +23 -0
- package/components/shell/phi-cms-shell.js +65 -0
- package/components/shell/phi-icon.d.ts +6 -0
- package/components/shell/phi-icon.js +127 -0
- package/components/shell/phi-locale-switch.d.ts +12 -0
- package/components/shell/phi-locale-switch.js +52 -0
- package/components/shell/phi-management-icon.d.ts +4 -0
- package/components/shell/phi-management-icon.js +59 -0
- package/components/shell/phi-nav-link.d.ts +11 -0
- package/components/shell/phi-nav-link.js +10 -0
- package/components/shell/phi-widget-icon.d.ts +6 -0
- package/components/shell/phi-widget-icon.js +33 -0
- package/components/shell/shell-types.d.ts +77 -0
- package/components/shell/shell-types.js +68 -0
- package/components/state/history-store.d.ts +33 -0
- package/components/state/history-store.js +97 -0
- package/components/state/plugin-state-store.d.ts +15 -0
- package/components/state/plugin-state-store.js +6 -0
- package/components/state/scoped-state-store.d.ts +14 -0
- package/components/state/scoped-state-store.js +142 -0
- package/components/tables/client/phi-static-table-resource-editor.d.ts +6 -0
- package/components/tables/client/phi-static-table-resource-editor.js +10 -0
- package/components/tables/client/phi-table-binding-control.d.ts +12 -0
- package/components/tables/client/phi-table-binding-control.js +43 -0
- package/components/tables/client/phi-table-binding.d.ts +42 -0
- package/components/tables/client/phi-table-binding.js +523 -0
- package/components/tables/phi-plain-table.d.ts +28 -0
- package/components/tables/phi-plain-table.js +17 -0
- package/components/tables/phi-plain-table.module.css +34 -0
- package/components/trees/client/phi-tree-binding.d.ts +35 -0
- package/components/trees/client/phi-tree-binding.js +206 -0
- package/components/widgets/area-menu-items.d.ts +16 -0
- package/components/widgets/area-menu-items.js +26 -0
- package/components/widgets/builder/command-toolbar-authoring-tools.d.ts +5 -0
- package/components/widgets/builder/command-toolbar-authoring-tools.js +41 -0
- package/components/widgets/builder/icon-editor.d.ts +10 -0
- package/components/widgets/builder/icon-editor.js +10 -0
- package/components/widgets/builder/internal-builder.d.ts +22 -0
- package/components/widgets/builder/internal-builder.js +8 -0
- package/components/widgets/builder/navigation-items.d.ts +3 -0
- package/components/widgets/builder/navigation-items.js +17 -0
- package/components/widgets/builder/phi-static-options-picker.d.ts +6 -0
- package/components/widgets/builder/phi-static-options-picker.js +200 -0
- package/components/widgets/builder/simple-text-editor.d.ts +39 -0
- package/components/widgets/builder/simple-text-editor.js +121 -0
- package/components/widgets/builder/stack-tabs.d.ts +3 -0
- package/components/widgets/builder/stack-tabs.js +7 -0
- package/components/widgets/builder/widget-editor-placeholder.d.ts +9 -0
- package/components/widgets/builder/widget-editor-placeholder.js +6 -0
- package/components/widgets/built-in/builder-workspace-preview.d.ts +3 -0
- package/components/widgets/built-in/builder-workspace-preview.js +30 -0
- package/components/widgets/built-in/widget-preview-client.d.ts +9 -0
- package/components/widgets/built-in/widget-preview-client.js +32 -0
- package/components/widgets/built-in/widget-preview.d.ts +7 -0
- package/components/widgets/built-in/widget-preview.js +18 -0
- package/components/widgets/client/account-preview.d.ts +1 -0
- package/components/widgets/client/account-preview.js +16 -0
- package/components/widgets/client/area-menu-preview.d.ts +5 -0
- package/components/widgets/client/area-menu-preview.js +18 -0
- package/components/widgets/client/auth-workflow-body.d.ts +8 -0
- package/components/widgets/client/auth-workflow-body.js +98 -0
- package/components/widgets/client/card-editor.d.ts +11 -0
- package/components/widgets/client/card-editor.js +46 -0
- package/components/widgets/client/collection-view-widget.d.ts +10 -0
- package/components/widgets/client/collection-view-widget.js +44 -0
- package/components/widgets/client/description-editor.d.ts +6 -0
- package/components/widgets/client/description-editor.js +130 -0
- package/components/widgets/client/external-document-editor.d.ts +7 -0
- package/components/widgets/client/external-document-editor.js +31 -0
- package/components/widgets/client/html-editor-bridge.d.ts +34 -0
- package/components/widgets/client/html-editor-bridge.js +75 -0
- package/components/widgets/client/html-editor-image-attributes.d.ts +28 -0
- package/components/widgets/client/html-editor-image-attributes.js +30 -0
- package/components/widgets/client/html-editor-image-node.d.ts +46 -0
- package/components/widgets/client/html-editor-image-node.js +286 -0
- package/components/widgets/client/html-editor.d.ts +11 -0
- package/components/widgets/client/html-editor.js +443 -0
- package/components/widgets/client/image-editor.d.ts +10 -0
- package/components/widgets/client/image-editor.js +100 -0
- package/components/widgets/client/markdown-editor-bridge.d.ts +7 -0
- package/components/widgets/client/markdown-editor-bridge.js +30 -0
- package/components/widgets/client/markdown-editor.d.ts +9 -0
- package/components/widgets/client/markdown-editor.js +80 -0
- package/components/widgets/client/phi-color-widget.d.ts +34 -0
- package/components/widgets/client/phi-color-widget.js +45 -0
- package/components/widgets/client/search.d.ts +15 -0
- package/components/widgets/client/search.js +78 -0
- package/components/widgets/client/shared/core-options-providers.d.ts +3 -0
- package/components/widgets/client/shared/core-options-providers.js +16 -0
- package/components/widgets/client/shared/core-table-providers.d.ts +3 -0
- package/components/widgets/client/shared/core-table-providers.js +13 -0
- package/components/widgets/client/shared/phi-button-icons.d.ts +2 -0
- package/components/widgets/client/shared/phi-button-icons.js +72 -0
- package/components/widgets/client/shared/phi-card-collection-view-binding.d.ts +9 -0
- package/components/widgets/client/shared/phi-card-collection-view-binding.js +106 -0
- package/components/widgets/client/shared/phi-choice-controller.d.ts +29 -0
- package/components/widgets/client/shared/phi-choice-controller.js +173 -0
- package/components/widgets/client/shared/phi-collection-provider.d.ts +43 -0
- package/components/widgets/client/shared/phi-collection-provider.js +73 -0
- package/components/widgets/client/shared/phi-collection-view-binding.d.ts +29 -0
- package/components/widgets/client/shared/phi-collection-view-binding.js +107 -0
- package/components/widgets/client/shared/phi-common-controls.d.ts +2 -0
- package/components/widgets/client/shared/phi-common-controls.js +5 -0
- package/components/widgets/client/shared/phi-control-badge.d.ts +16 -0
- package/components/widgets/client/shared/phi-control-badge.js +92 -0
- package/components/widgets/client/shared/phi-control-signals.d.ts +39 -0
- package/components/widgets/client/shared/phi-control-signals.js +185 -0
- package/components/widgets/client/shared/phi-input-signals.d.ts +29 -0
- package/components/widgets/client/shared/phi-input-signals.js +31 -0
- package/components/widgets/client/shared/phi-mask-picker.d.ts +13 -0
- package/components/widgets/client/shared/phi-mask-picker.js +161 -0
- package/components/widgets/client/shared/phi-static-table-provider.d.ts +42 -0
- package/components/widgets/client/shared/phi-static-table-provider.js +181 -0
- package/components/widgets/client/shared/phi-table-provider.d.ts +28 -0
- package/components/widgets/client/shared/phi-table-provider.js +85 -0
- package/components/widgets/client/shared/phi-tree-provider.d.ts +24 -0
- package/components/widgets/client/shared/phi-tree-provider.js +59 -0
- package/components/widgets/client/shared/phi-widget-icon-picker.d.ts +3 -0
- package/components/widgets/client/shared/phi-widget-icon-picker.js +8 -0
- package/components/widgets/client/shared/phi-widget-image-tool-button.d.ts +30 -0
- package/components/widgets/client/shared/phi-widget-image-tool-button.js +46 -0
- package/components/widgets/client/shared/phi-widget-scaffold-popup.d.ts +13 -0
- package/components/widgets/client/shared/phi-widget-scaffold-popup.js +47 -0
- package/components/widgets/client/shared/phi-widget-tool-buttons.d.ts +37 -0
- package/components/widgets/client/shared/phi-widget-tool-buttons.js +208 -0
- package/components/widgets/client/stack-tabs.d.ts +6 -0
- package/components/widgets/client/stack-tabs.js +40 -0
- package/components/widgets/client/use-table-provider-mutation.d.ts +1 -0
- package/components/widgets/client/use-table-provider-mutation.js +2 -0
- package/components/widgets/config/background-pattern-authoring.d.ts +72 -0
- package/components/widgets/config/background-pattern-authoring.js +47 -0
- package/components/widgets/config/background-pattern-contract.d.ts +57 -0
- package/components/widgets/config/background-pattern-contract.js +17 -0
- package/components/widgets/config/background-pattern-live.d.ts +33 -0
- package/components/widgets/config/background-pattern-live.js +193 -0
- package/components/widgets/config/background.d.ts +157 -0
- package/components/widgets/config/background.js +429 -0
- package/components/widgets/config/choice-shared.d.ts +140 -0
- package/components/widgets/config/choice-shared.js +72 -0
- package/components/widgets/config/color-picker-presets.d.ts +5 -0
- package/components/widgets/config/color-picker-presets.js +23 -0
- package/components/widgets/config/control-signal-config.d.ts +120 -0
- package/components/widgets/config/control-signal-config.js +117 -0
- package/components/widgets/config/geometry.d.ts +13 -0
- package/components/widgets/config/geometry.js +26 -0
- package/components/widgets/config/helpers.d.ts +20 -0
- package/components/widgets/config/helpers.js +28 -0
- package/components/widgets/config/image-source-parser.d.ts +4 -0
- package/components/widgets/config/image-source-parser.js +22 -0
- package/components/widgets/config/mask.d.ts +28 -0
- package/components/widgets/config/mask.js +197 -0
- package/components/widgets/config/parser-primitives.d.ts +11 -0
- package/components/widgets/config/parser-primitives.js +59 -0
- package/components/widgets/config/search-shared.d.ts +94 -0
- package/components/widgets/config/search-shared.js +53 -0
- package/components/widgets/config/spacing-options.d.ts +9 -0
- package/components/widgets/config/spacing-options.js +53 -0
- package/components/widgets/config/stack-tabs.d.ts +128 -0
- package/components/widgets/config/stack-tabs.js +51 -0
- package/components/widgets/helpers/background-reference-resolver.server.d.ts +17 -0
- package/components/widgets/helpers/background-reference-resolver.server.js +34 -0
- package/components/widgets/helpers/font-family.d.ts +4 -0
- package/components/widgets/helpers/font-family.js +19 -0
- package/components/widgets/helpers/font-size.d.ts +3 -0
- package/components/widgets/helpers/font-size.js +16 -0
- package/components/widgets/helpers/html-content.d.ts +3 -0
- package/components/widgets/helpers/html-content.js +86 -0
- package/components/widgets/helpers/html-internal-references.server.d.ts +8 -0
- package/components/widgets/helpers/html-internal-references.server.js +108 -0
- package/components/widgets/helpers/internal-reference-resolver.server.d.ts +21 -0
- package/components/widgets/helpers/internal-reference-resolver.server.js +63 -0
- package/components/widgets/helpers/semantic-html-translation.d.ts +2 -0
- package/components/widgets/helpers/semantic-html-translation.js +76 -0
- package/components/widgets/helpers/widget-source-url.d.ts +10 -0
- package/components/widgets/helpers/widget-source-url.js +20 -0
- package/components/widgets/inspector-field-row.d.ts +8 -0
- package/components/widgets/inspector-field-row.js +8 -0
- package/components/widgets/label-sets/account.d.ts +64 -0
- package/components/widgets/label-sets/account.js +117 -0
- package/components/widgets/label-sets/admin-locales.d.ts +55 -0
- package/components/widgets/label-sets/admin-locales.js +104 -0
- package/components/widgets/label-sets/admin-settings.d.ts +45 -0
- package/components/widgets/label-sets/admin-settings.js +82 -0
- package/components/widgets/label-sets/admin-users.d.ts +93 -0
- package/components/widgets/label-sets/admin-users.js +174 -0
- package/components/widgets/label-sets/avatar.d.ts +26 -0
- package/components/widgets/label-sets/avatar.js +54 -0
- package/components/widgets/label-sets/background.d.ts +4 -0
- package/components/widgets/label-sets/background.js +203 -0
- package/components/widgets/label-sets/border.d.ts +4 -0
- package/components/widgets/label-sets/border.js +83 -0
- package/components/widgets/label-sets/builder-chrome.d.ts +4 -0
- package/components/widgets/label-sets/builder-chrome.js +169 -0
- package/components/widgets/label-sets/builder-modules.d.ts +4 -0
- package/components/widgets/label-sets/builder-modules.js +143 -0
- package/components/widgets/label-sets/color-picker.d.ts +6 -0
- package/components/widgets/label-sets/color-picker.js +53 -0
- package/components/widgets/label-sets/common-controls.d.ts +6 -0
- package/components/widgets/label-sets/common-controls.js +30 -0
- package/components/widgets/label-sets/confirm.d.ts +57 -0
- package/components/widgets/label-sets/confirm.js +68 -0
- package/components/widgets/label-sets/contact.d.ts +35 -0
- package/components/widgets/label-sets/contact.js +62 -0
- package/components/widgets/label-sets/dimension.d.ts +4 -0
- package/components/widgets/label-sets/dimension.js +23 -0
- package/components/widgets/label-sets/editor-translations.d.ts +4 -0
- package/components/widgets/label-sets/editor-translations.js +100 -0
- package/components/widgets/label-sets/effects.d.ts +4 -0
- package/components/widgets/label-sets/effects.js +203 -0
- package/components/widgets/label-sets/footer.d.ts +8 -0
- package/components/widgets/label-sets/footer.js +22 -0
- package/components/widgets/label-sets/geometry.d.ts +4 -0
- package/components/widgets/label-sets/geometry.js +57 -0
- package/components/widgets/label-sets/hello-world.d.ts +17 -0
- package/components/widgets/label-sets/hello-world.js +40 -0
- package/components/widgets/label-sets/image.d.ts +4 -0
- package/components/widgets/label-sets/image.js +19 -0
- package/components/widgets/label-sets/inspector.d.ts +4 -0
- package/components/widgets/label-sets/inspector.js +43 -0
- package/components/widgets/label-sets/length.d.ts +4 -0
- package/components/widgets/label-sets/length.js +21 -0
- package/components/widgets/label-sets/markdown-toc.d.ts +4 -0
- package/components/widgets/label-sets/markdown-toc.js +17 -0
- package/components/widgets/label-sets/observability-logs.d.ts +51 -0
- package/components/widgets/label-sets/observability-logs.js +96 -0
- package/components/widgets/label-sets/page-title.d.ts +4 -0
- package/components/widgets/label-sets/page-title.js +19 -0
- package/components/widgets/label-sets/profile.d.ts +96 -0
- package/components/widgets/label-sets/profile.js +210 -0
- package/components/widgets/label-sets/region.d.ts +4 -0
- package/components/widgets/label-sets/region.js +93 -0
- package/components/widgets/label-sets/registration.d.ts +60 -0
- package/components/widgets/label-sets/registration.js +105 -0
- package/components/widgets/label-sets/reset-password.d.ts +50 -0
- package/components/widgets/label-sets/reset-password.js +96 -0
- package/components/widgets/label-sets/revisions.d.ts +4 -0
- package/components/widgets/label-sets/revisions.js +119 -0
- package/components/widgets/label-sets/runtime-options.d.ts +3 -0
- package/components/widgets/label-sets/runtime-options.js +8 -0
- package/components/widgets/label-sets/search.d.ts +4 -0
- package/components/widgets/label-sets/search.js +25 -0
- package/components/widgets/label-sets/signals.d.ts +4 -0
- package/components/widgets/label-sets/signals.js +89 -0
- package/components/widgets/label-sets/table.d.ts +4 -0
- package/components/widgets/label-sets/table.js +51 -0
- package/components/widgets/label-sets/tree.d.ts +4 -0
- package/components/widgets/label-sets/tree.js +16 -0
- package/components/widgets/label-types/background.d.ts +112 -0
- package/components/widgets/label-types/background.js +111 -0
- package/components/widgets/label-types/border.d.ts +42 -0
- package/components/widgets/label-types/border.js +41 -0
- package/components/widgets/label-types/builder-chrome.d.ts +96 -0
- package/components/widgets/label-types/builder-chrome.js +98 -0
- package/components/widgets/label-types/builder-modules.d.ts +68 -0
- package/components/widgets/label-types/builder-modules.js +76 -0
- package/components/widgets/label-types/color-picker.d.ts +21 -0
- package/components/widgets/label-types/color-picker.js +20 -0
- package/components/widgets/label-types/common-controls.d.ts +13 -0
- package/components/widgets/label-types/common-controls.js +31 -0
- package/components/widgets/label-types/dimension.d.ts +7 -0
- package/components/widgets/label-types/dimension.js +6 -0
- package/components/widgets/label-types/editor-translations.d.ts +53 -0
- package/components/widgets/label-types/editor-translations.js +1 -0
- package/components/widgets/label-types/effects.d.ts +106 -0
- package/components/widgets/label-types/effects.js +105 -0
- package/components/widgets/label-types/geometry.d.ts +28 -0
- package/components/widgets/label-types/geometry.js +27 -0
- package/components/widgets/label-types/image.d.ts +5 -0
- package/components/widgets/label-types/image.js +4 -0
- package/components/widgets/label-types/inspector.d.ts +18 -0
- package/components/widgets/label-types/inspector.js +17 -0
- package/components/widgets/label-types/length.d.ts +6 -0
- package/components/widgets/label-types/length.js +5 -0
- package/components/widgets/label-types/markdown-toc.d.ts +4 -0
- package/components/widgets/label-types/markdown-toc.js +3 -0
- package/components/widgets/label-types/padding.d.ts +15 -0
- package/components/widgets/label-types/padding.js +14 -0
- package/components/widgets/label-types/page-title.d.ts +5 -0
- package/components/widgets/label-types/page-title.js +4 -0
- package/components/widgets/label-types/region.d.ts +30 -0
- package/components/widgets/label-types/region.js +80 -0
- package/components/widgets/label-types/revisions.d.ts +61 -0
- package/components/widgets/label-types/revisions.js +59 -0
- package/components/widgets/label-types/search.d.ts +8 -0
- package/components/widgets/label-types/search.js +7 -0
- package/components/widgets/label-types/signals.d.ts +42 -0
- package/components/widgets/label-types/signals.js +41 -0
- package/components/widgets/label-types/table.d.ts +22 -0
- package/components/widgets/label-types/table.js +23 -0
- package/components/widgets/label-types/tree.d.ts +7 -0
- package/components/widgets/label-types/tree.js +6 -0
- package/components/widgets/login-redirect.d.ts +3 -0
- package/components/widgets/login-redirect.js +42 -0
- package/components/widgets/navigation-descriptor-resolver.server.d.ts +4 -0
- package/components/widgets/navigation-descriptor-resolver.server.js +118 -0
- package/components/widgets/plugins/stack-tabs-widget-plugin.d.ts +4 -0
- package/components/widgets/plugins/stack-tabs-widget-plugin.js +10 -0
- package/components/widgets/quick-links-items.d.ts +6 -0
- package/components/widgets/quick-links-items.js +32 -0
- package/components/widgets/server/builder-chrome.d.ts +7 -0
- package/components/widgets/server/builder-chrome.js +20 -0
- package/components/widgets/server/navigation-request.d.ts +5 -0
- package/components/widgets/server/navigation-request.js +49 -0
- package/components/widgets/server/search.d.ts +14 -0
- package/components/widgets/server/search.js +24 -0
- package/components/widgets/server/stack-tabs.d.ts +6 -0
- package/components/widgets/server/stack-tabs.js +6 -0
- package/components/widgets/shared/result-body-client.d.ts +16 -0
- package/components/widgets/shared/result-body-client.js +12 -0
- package/components/widgets/shared/result-body.d.ts +3 -0
- package/components/widgets/shared/result-body.js +16 -0
- package/components/widgets/signals/command-toolbar-address.d.ts +4 -0
- package/components/widgets/signals/command-toolbar-address.js +13 -0
- package/components/widgets/signals/control-signal-capabilities.d.ts +410 -0
- package/components/widgets/signals/control-signal-capabilities.js +291 -0
- package/components/widgets/signals/page-title-signals.d.ts +21 -0
- package/components/widgets/signals/page-title-signals.js +77 -0
- package/components/widgets/signals/renderable-block-signal-capabilities.d.ts +75 -0
- package/components/widgets/signals/renderable-block-signal-capabilities.js +91 -0
- package/components/widgets/signals/signal-endpoint-list.d.ts +8 -0
- package/components/widgets/signals/signal-endpoint-list.js +63 -0
- package/components/widgets/signals/signal-endpoints.d.ts +48 -0
- package/components/widgets/signals/signal-endpoints.js +203 -0
- package/components/workspace/catalog-state.d.ts +49 -0
- package/components/workspace/catalog-state.js +1 -0
- package/components/workspace/catalog-store.d.ts +10 -0
- package/components/workspace/catalog-store.js +35 -0
- package/constants/builder-navigation-dnd.d.ts +3 -0
- package/constants/builder-navigation-dnd.js +3 -0
- package/constants/cms-areas.d.ts +18 -0
- package/constants/cms-areas.js +85 -0
- package/constants/cms-layout-types.d.ts +191 -0
- package/constants/cms-layout-types.js +320 -0
- package/constants/cms-plugin-categories.d.ts +3 -0
- package/constants/cms-plugin-categories.js +18 -0
- package/constants/cms-registry.d.ts +4 -0
- package/constants/cms-registry.js +10 -0
- package/constants/cms-widget-types.d.ts +82 -0
- package/constants/cms-widget-types.js +201 -0
- package/constants/http-headers.d.ts +8 -0
- package/constants/http-headers.js +8 -0
- package/constants/media-library-provider-keys.d.ts +22 -0
- package/constants/media-library-provider-keys.js +23 -0
- package/constants/media.d.ts +54 -0
- package/constants/media.js +85 -0
- package/constants/module-identity.d.ts +41 -0
- package/constants/module-identity.js +85 -0
- package/constants/package.d.ts +11 -0
- package/constants/package.js +11 -0
- package/constants/phi-base-role-metadata.d.ts +30 -0
- package/constants/phi-base-role-metadata.js +10 -0
- package/constants/phi-base-roles.d.ts +1 -0
- package/constants/phi-base-roles.js +5 -0
- package/constants/phi-cms.d.ts +1 -0
- package/constants/phi-cms.js +13 -0
- package/constants/runtime-data-provider-key.d.ts +2 -0
- package/constants/runtime-data-provider-key.js +4 -0
- package/constants/runtime-module-categories.d.ts +1 -0
- package/constants/runtime-module-categories.js +11 -0
- package/constants/runtime-module-ownership.d.ts +14 -0
- package/constants/runtime-module-ownership.js +226 -0
- package/constants/runtime-render-client-types.d.ts +19 -0
- package/constants/runtime-render-client-types.js +21 -0
- package/constants/site-groups.d.ts +11 -0
- package/constants/site-groups.js +11 -0
- package/constants.d.ts +12 -0
- package/constants.js +12 -0
- package/control-config.d.ts +2 -0
- package/control-config.js +1 -0
- package/controls-date-time.d.ts +4 -0
- package/controls-date-time.js +3 -0
- package/controls.d.ts +102 -0
- package/controls.js +51 -0
- package/forms.d.ts +40 -0
- package/forms.js +21 -0
- package/gateway/addon-proxy.d.ts +24 -0
- package/gateway/addon-proxy.js +27 -0
- package/gateway/auth-proxy.d.ts +9 -0
- package/gateway/auth-proxy.js +12 -0
- package/gateway/auth-public-manifest.d.ts +27 -0
- package/gateway/auth-public-manifest.js +81 -0
- package/gateway/data-source-fetch.d.ts +12 -0
- package/gateway/data-source-fetch.js +46 -0
- package/gateway/data-source.d.ts +62 -0
- package/gateway/data-source.js +23 -0
- package/gateway/errors.d.ts +8 -0
- package/gateway/errors.js +18 -0
- package/gateway/form-handler-resolution.d.ts +32 -0
- package/gateway/form-handler-resolution.js +140 -0
- package/gateway/form-registry.d.ts +47 -0
- package/gateway/form-registry.js +149 -0
- package/gateway/form-submit.d.ts +51 -0
- package/gateway/form-submit.js +163 -0
- package/gateway/hook-proxy.d.ts +25 -0
- package/gateway/hook-proxy.js +28 -0
- package/gateway/internal-references.d.ts +29 -0
- package/gateway/internal-references.js +68 -0
- package/gateway/label-set.d.ts +42 -0
- package/gateway/label-set.js +67 -0
- package/gateway/media-proxy.d.ts +9 -0
- package/gateway/media-proxy.js +12 -0
- package/gateway/mutation-fetch.d.ts +5 -0
- package/gateway/mutation-fetch.js +71 -0
- package/gateway/mutation.d.ts +50 -0
- package/gateway/mutation.js +27 -0
- package/gateway/request-url.d.ts +7 -0
- package/gateway/request-url.js +20 -0
- package/gateway/server-capabilities.d.ts +7 -0
- package/gateway/server-capabilities.js +89 -0
- package/gateway/site-area.d.ts +39 -0
- package/gateway/site-area.js +154 -0
- package/gateway/site-auth-settings.d.ts +24 -0
- package/gateway/site-auth-settings.js +35 -0
- package/gateway/site-config.d.ts +100 -0
- package/gateway/site-config.js +82 -0
- package/gateway/site-form-route.d.ts +23 -0
- package/gateway/site-form-route.js +260 -0
- package/gateway/site-media-settings.d.ts +30 -0
- package/gateway/site-media-settings.js +36 -0
- package/gateway/site-nav.d.ts +31 -0
- package/gateway/site-nav.js +133 -0
- package/gateway/site-page.d.ts +38 -0
- package/gateway/site-page.js +151 -0
- package/gateway/site-proxy.d.ts +9 -0
- package/gateway/site-proxy.js +37 -0
- package/gateway/site-read-cache.d.ts +23 -0
- package/gateway/site-read-cache.js +56 -0
- package/gateway/site-settings.d.ts +17 -0
- package/gateway/site-settings.js +35 -0
- package/gateway/site-stats.d.ts +10 -0
- package/gateway/site-stats.js +35 -0
- package/gateway/site-theme.d.ts +11 -0
- package/gateway/site-theme.js +43 -0
- package/gateway/tr.d.ts +38 -0
- package/gateway/tr.js +244 -0
- package/gateway.d.ts +13 -0
- package/gateway.js +13 -0
- package/helpers/access.d.ts +13 -0
- package/helpers/access.js +52 -0
- package/helpers/antd-locale.d.ts +5 -0
- package/helpers/antd-locale.js +98 -0
- package/helpers/border-widget-style.d.ts +9 -0
- package/helpers/border-widget-style.js +27 -0
- package/helpers/brand-contact.d.ts +14 -0
- package/helpers/brand-contact.js +26 -0
- package/helpers/brand-wordmark.d.ts +2 -0
- package/helpers/brand-wordmark.js +13 -0
- package/helpers/cms-access-policy.d.ts +12 -0
- package/helpers/cms-access-policy.js +140 -0
- package/helpers/cms-area-config.d.ts +209 -0
- package/helpers/cms-area-config.js +248 -0
- package/helpers/cms-area-root-route.d.ts +59 -0
- package/helpers/cms-area-root-route.js +103 -0
- package/helpers/cms-config-field-validation.d.ts +11 -0
- package/helpers/cms-config-field-validation.js +86 -0
- package/helpers/cms-config-serialization.d.ts +71 -0
- package/helpers/cms-config-serialization.js +63 -0
- package/helpers/cms-container-chrome.d.ts +3 -0
- package/helpers/cms-container-chrome.js +32 -0
- package/helpers/cms-layout-defaults.d.ts +19 -0
- package/helpers/cms-layout-defaults.js +298 -0
- package/helpers/cms-layout-depth.d.ts +12 -0
- package/helpers/cms-layout-depth.js +48 -0
- package/helpers/cms-navigation-catalog.d.ts +50 -0
- package/helpers/cms-navigation-catalog.js +146 -0
- package/helpers/cms-navigation-scope-key.d.ts +8 -0
- package/helpers/cms-navigation-scope-key.js +16 -0
- package/helpers/cms-node-factories.d.ts +37 -0
- package/helpers/cms-node-factories.js +42 -0
- package/helpers/cms-node-visibility.d.ts +21 -0
- package/helpers/cms-node-visibility.js +68 -0
- package/helpers/cms-page-addresses.d.ts +32 -0
- package/helpers/cms-page-addresses.js +77 -0
- package/helpers/cms-page-catalog.d.ts +82 -0
- package/helpers/cms-page-catalog.js +324 -0
- package/helpers/cms-paths.d.ts +5 -0
- package/helpers/cms-paths.js +24 -0
- package/helpers/cms-preset-nodes.d.ts +41 -0
- package/helpers/cms-preset-nodes.js +55 -0
- package/helpers/cms-region-keys.d.ts +21 -0
- package/helpers/cms-region-keys.js +44 -0
- package/helpers/cms-routing.d.ts +4 -0
- package/helpers/cms-routing.js +9 -0
- package/helpers/cms-scope-search-params.d.ts +14 -0
- package/helpers/cms-scope-search-params.js +32 -0
- package/helpers/css-length.d.ts +1 -0
- package/helpers/css-length.js +10 -0
- package/helpers/external-href.d.ts +1 -0
- package/helpers/external-href.js +3 -0
- package/helpers/flags.d.ts +1 -0
- package/helpers/flags.js +3 -0
- package/helpers/format-date-time.d.ts +2 -0
- package/helpers/format-date-time.js +25 -0
- package/helpers/layout-authoring-markers.d.ts +28 -0
- package/helpers/layout-authoring-markers.js +33 -0
- package/helpers/layout-padding-field.d.ts +5 -0
- package/helpers/layout-padding-field.js +7 -0
- package/helpers/layout-style.d.ts +45 -0
- package/helpers/layout-style.js +92 -0
- package/helpers/locale.d.ts +23 -0
- package/helpers/locale.js +144 -0
- package/helpers/motion.d.ts +58 -0
- package/helpers/motion.js +76 -0
- package/helpers/nav-selection.d.ts +3 -0
- package/helpers/nav-selection.js +47 -0
- package/helpers/navigation-target.d.ts +13 -0
- package/helpers/navigation-target.js +17 -0
- package/helpers/phi-metadata.d.ts +50 -0
- package/helpers/phi-metadata.js +114 -0
- package/helpers/phi-seo.d.ts +86 -0
- package/helpers/phi-seo.js +138 -0
- package/helpers/phi-sitemap-cache.d.ts +16 -0
- package/helpers/phi-sitemap-cache.js +41 -0
- package/helpers/phis-runtime.d.ts +14 -0
- package/helpers/phis-runtime.js +17 -0
- package/helpers/phis-server-credentials.d.ts +14 -0
- package/helpers/phis-server-credentials.js +42 -0
- package/helpers/public-route-claims.d.ts +72 -0
- package/helpers/public-route-claims.js +59 -0
- package/helpers/renderable-block-defaults.d.ts +16 -0
- package/helpers/renderable-block-defaults.js +61 -0
- package/helpers/renderable-block-effects.d.ts +14 -0
- package/helpers/renderable-block-effects.js +192 -0
- package/helpers/renderable-block-plugin-fields.d.ts +3 -0
- package/helpers/renderable-block-plugin-fields.js +38 -0
- package/helpers/renderable-block-serialization.d.ts +8 -0
- package/helpers/renderable-block-serialization.js +654 -0
- package/helpers/runtime-module-route-path.d.ts +12 -0
- package/helpers/runtime-module-route-path.js +29 -0
- package/helpers/shell-region-style.d.ts +98 -0
- package/helpers/shell-region-style.js +242 -0
- package/helpers/signal-route-lifecycle.d.ts +14 -0
- package/helpers/signal-route-lifecycle.js +84 -0
- package/helpers/site-api.d.ts +25 -0
- package/helpers/site-api.js +51 -0
- package/helpers/site-locale-config.d.ts +23 -0
- package/helpers/site-locale-config.js +18 -0
- package/helpers/site-runtime.d.ts +27 -0
- package/helpers/site-runtime.js +79 -0
- package/helpers/site-structure.d.ts +13 -0
- package/helpers/site-structure.js +82 -0
- package/helpers/structure-widget-swap.d.ts +41 -0
- package/helpers/structure-widget-swap.js +88 -0
- package/helpers/table-binding.d.ts +10 -0
- package/helpers/table-binding.js +73 -0
- package/helpers/translation-cache.d.ts +76 -0
- package/helpers/translation-cache.js +129 -0
- package/helpers/translation-format.d.ts +3 -0
- package/helpers/translation-format.js +18 -0
- package/helpers/visibility.d.ts +2 -0
- package/helpers/visibility.js +9 -0
- package/helpers/widget-dimension-plugin-fields.d.ts +2 -0
- package/helpers/widget-dimension-plugin-fields.js +10 -0
- package/helpers.d.ts +23 -0
- package/helpers.js +23 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/layouts.d.ts +20 -0
- package/layouts.js +10 -0
- package/media.d.ts +11 -0
- package/media.js +13 -0
- package/module-authoring-client.d.ts +10 -0
- package/module-authoring-client.js +5 -0
- package/module-client.d.ts +31 -0
- package/module-client.js +11 -0
- package/module-projection-authoring-client.d.ts +15 -0
- package/module-projection-authoring-client.js +27 -0
- package/module-projection-client.d.ts +7 -0
- package/module-projection-client.js +35 -0
- package/module-projection.d.ts +19 -0
- package/module-projection.js +31 -0
- package/module.d.ts +61 -0
- package/module.js +46 -0
- package/navigation.d.ts +12 -0
- package/navigation.js +7 -0
- package/net/log.d.ts +5 -0
- package/net/log.js +123 -0
- package/net/phi-next-proxy.d.ts +34 -0
- package/net/phi-next-proxy.js +149 -0
- package/net.d.ts +1 -0
- package/net.js +1 -0
- package/next/area-route.d.ts +136 -0
- package/next/area-route.js +217 -0
- package/next/areas/accounting-client.d.ts +13 -0
- package/next/areas/accounting-client.js +24 -0
- package/next/areas/accounting.d.ts +10 -0
- package/next/areas/accounting.js +15 -0
- package/next/areas/admin-client.d.ts +13 -0
- package/next/areas/admin-client.js +24 -0
- package/next/areas/admin.d.ts +10 -0
- package/next/areas/admin.js +15 -0
- package/next/areas/app-client.d.ts +13 -0
- package/next/areas/app-client.js +24 -0
- package/next/areas/app.d.ts +10 -0
- package/next/areas/app.js +15 -0
- package/next/areas/builder-client.d.ts +18 -0
- package/next/areas/builder-client.js +33 -0
- package/next/areas/builder.d.ts +10 -0
- package/next/areas/builder.js +21 -0
- package/next/areas/editor-client.d.ts +13 -0
- package/next/areas/editor-client.js +24 -0
- package/next/areas/editor.d.ts +10 -0
- package/next/areas/editor.js +15 -0
- package/next/areas/public-client.d.ts +13 -0
- package/next/areas/public-client.js +24 -0
- package/next/areas/public.d.ts +10 -0
- package/next/areas/public.js +15 -0
- package/next/cache-handler.mjs +95 -0
- package/next/module-diagnostics-route.d.ts +37 -0
- package/next/module-diagnostics-route.js +64 -0
- package/next/navigation-target-route.d.ts +8 -0
- package/next/navigation-target-route.js +216 -0
- package/next/proxy-runtime.d.ts +19 -0
- package/next/proxy-runtime.js +52 -0
- package/next/root-route.d.ts +31 -0
- package/next/root-route.js +160 -0
- package/next/runtime-module-client-boundary.d.ts +13 -0
- package/next/runtime-module-client-boundary.js +11 -0
- package/next/seo-routes.d.ts +25 -0
- package/next/seo-routes.js +220 -0
- package/next/site-bridge.d.ts +3 -0
- package/next/site-bridge.js +25 -0
- package/next/site-proxy.d.ts +4 -0
- package/next/site-proxy.js +182 -0
- package/package.json +508 -0
- package/plugins/factories/widget-builder-plugin.d.ts +4 -0
- package/plugins/factories/widget-builder-plugin.js +9 -0
- package/plugins/factories/widget-renderers.d.ts +10 -0
- package/plugins/factories/widget-renderers.js +11 -0
- package/plugins/registries/runtime-controller-core.d.ts +25 -0
- package/plugins/registries/runtime-controller-core.js +50 -0
- package/plugins/registries/runtime-controllers.d.ts +3 -0
- package/plugins/registries/runtime-controllers.js +35 -0
- package/plugins/runtime/layout-plugin-resolution.d.ts +4 -0
- package/plugins/runtime/layout-plugin-resolution.js +9 -0
- package/plugins/runtime/phi-slot-child-effects-visibility-observer.d.ts +3 -0
- package/plugins/runtime/phi-slot-child-effects-visibility-observer.js +67 -0
- package/plugins/runtime/phi-slot-child-frame-client.d.ts +2 -0
- package/plugins/runtime/phi-slot-child-frame-client.js +72 -0
- package/plugins/runtime/phi-slot-child-frame-view.d.ts +26 -0
- package/plugins/runtime/phi-slot-child-frame-view.js +91 -0
- package/plugins/runtime/phi-slot-child-frame.d.ts +27 -0
- package/plugins/runtime/phi-slot-child-frame.js +26 -0
- package/plugins/runtime/phi-slot-child-viewport-effects-observer.d.ts +4 -0
- package/plugins/runtime/phi-slot-child-viewport-effects-observer.js +160 -0
- package/plugins/runtime/slot-size-policy.d.ts +52 -0
- package/plugins/runtime/slot-size-policy.js +176 -0
- package/plugins/runtime-modules/accounting/authoring.d.ts +1 -0
- package/plugins/runtime-modules/accounting/authoring.js +4 -0
- package/plugins/runtime-modules/accounting/client.d.ts +1 -0
- package/plugins/runtime-modules/accounting/client.js +7 -0
- package/plugins/runtime-modules/accounting/definition.d.ts +15 -0
- package/plugins/runtime-modules/accounting/definition.js +17 -0
- package/plugins/runtime-modules/accounting/ids.d.ts +1 -0
- package/plugins/runtime-modules/accounting/ids.js +2 -0
- package/plugins/runtime-modules/accounting/module.d.ts +1 -0
- package/plugins/runtime-modules/accounting/module.js +4 -0
- package/plugins/runtime-modules/accounting/server.d.ts +5 -0
- package/plugins/runtime-modules/accounting/server.js +18 -0
- package/plugins/runtime-modules/admin/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/admin/authoring-widgets.js +3 -0
- package/plugins/runtime-modules/admin/authoring.d.ts +1 -0
- package/plugins/runtime-modules/admin/authoring.js +8 -0
- package/plugins/runtime-modules/admin/client.d.ts +1 -0
- package/plugins/runtime-modules/admin/client.js +7 -0
- package/plugins/runtime-modules/admin/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/admin/controller/address.js +8 -0
- package/plugins/runtime-modules/admin/controller/client.d.ts +18 -0
- package/plugins/runtime-modules/admin/controller/client.js +8 -0
- package/plugins/runtime-modules/admin/controller/definition.d.ts +16 -0
- package/plugins/runtime-modules/admin/controller/definition.js +13 -0
- package/plugins/runtime-modules/admin/definition.d.ts +32 -0
- package/plugins/runtime-modules/admin/definition.js +19 -0
- package/plugins/runtime-modules/admin/forms.d.ts +22 -0
- package/plugins/runtime-modules/admin/forms.js +126 -0
- package/plugins/runtime-modules/admin/ids.d.ts +1 -0
- package/plugins/runtime-modules/admin/ids.js +2 -0
- package/plugins/runtime-modules/admin/module.d.ts +45 -0
- package/plugins/runtime-modules/admin/module.js +6 -0
- package/plugins/runtime-modules/admin/presets.d.ts +33 -0
- package/plugins/runtime-modules/admin/presets.js +55 -0
- package/plugins/runtime-modules/admin/server.d.ts +1 -0
- package/plugins/runtime-modules/admin/server.js +17 -0
- package/plugins/runtime-modules/admin/widgets.d.ts +7 -0
- package/plugins/runtime-modules/admin/widgets.js +6 -0
- package/plugins/runtime-modules/app/authoring.d.ts +1 -0
- package/plugins/runtime-modules/app/authoring.js +4 -0
- package/plugins/runtime-modules/app/client.d.ts +1 -0
- package/plugins/runtime-modules/app/client.js +7 -0
- package/plugins/runtime-modules/app/definition.d.ts +15 -0
- package/plugins/runtime-modules/app/definition.js +17 -0
- package/plugins/runtime-modules/app/ids.d.ts +1 -0
- package/plugins/runtime-modules/app/ids.js +2 -0
- package/plugins/runtime-modules/app/module.d.ts +1 -0
- package/plugins/runtime-modules/app/module.js +4 -0
- package/plugins/runtime-modules/app/server.d.ts +5 -0
- package/plugins/runtime-modules/app/server.js +18 -0
- package/plugins/runtime-modules/area-base-authoring.d.ts +4 -0
- package/plugins/runtime-modules/area-base-authoring.js +10 -0
- package/plugins/runtime-modules/area-base-definition.d.ts +20 -0
- package/plugins/runtime-modules/area-base-definition.js +17 -0
- package/plugins/runtime-modules/area-base-module.d.ts +3 -0
- package/plugins/runtime-modules/area-base-module.js +3 -0
- package/plugins/runtime-modules/area-base-presets.d.ts +112 -0
- package/plugins/runtime-modules/area-base-presets.js +181 -0
- package/plugins/runtime-modules/area-catalogs/accounting.d.ts +9 -0
- package/plugins/runtime-modules/area-catalogs/accounting.js +17 -0
- package/plugins/runtime-modules/area-catalogs/admin.d.ts +9 -0
- package/plugins/runtime-modules/area-catalogs/admin.js +17 -0
- package/plugins/runtime-modules/area-catalogs/app.d.ts +9 -0
- package/plugins/runtime-modules/area-catalogs/app.js +17 -0
- package/plugins/runtime-modules/area-catalogs/editor.d.ts +9 -0
- package/plugins/runtime-modules/area-catalogs/editor.js +17 -0
- package/plugins/runtime-modules/area-catalogs/public.d.ts +9 -0
- package/plugins/runtime-modules/area-catalogs/public.js +17 -0
- package/plugins/runtime-modules/area-contributions/accounting.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/accounting.js +8 -0
- package/plugins/runtime-modules/area-contributions/admin.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/admin.js +18 -0
- package/plugins/runtime-modules/area-contributions/app.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/app.js +14 -0
- package/plugins/runtime-modules/area-contributions/builder.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/builder.js +36 -0
- package/plugins/runtime-modules/area-contributions/common.d.ts +2 -0
- package/plugins/runtime-modules/area-contributions/common.js +9 -0
- package/plugins/runtime-modules/area-contributions/editor.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/editor.js +10 -0
- package/plugins/runtime-modules/area-contributions/public.d.ts +1 -0
- package/plugins/runtime-modules/area-contributions/public.js +8 -0
- package/plugins/runtime-modules/area-contributions-controller-client.d.ts +9 -0
- package/plugins/runtime-modules/area-contributions-controller-client.js +19 -0
- package/plugins/runtime-modules/area-contributions.d.ts +28 -0
- package/plugins/runtime-modules/area-contributions.js +149 -0
- package/plugins/runtime-modules/area-definitions.d.ts +688 -0
- package/plugins/runtime-modules/area-definitions.js +244 -0
- package/plugins/runtime-modules/area-root-route.d.ts +29 -0
- package/plugins/runtime-modules/area-root-route.js +42 -0
- package/plugins/runtime-modules/asset/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/asset/authoring-widgets.js +12 -0
- package/plugins/runtime-modules/asset/authoring.d.ts +1 -0
- package/plugins/runtime-modules/asset/authoring.js +8 -0
- package/plugins/runtime-modules/asset/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/asset/client-data-providers.js +17 -0
- package/plugins/runtime-modules/asset/client.d.ts +1 -0
- package/plugins/runtime-modules/asset/client.js +7 -0
- package/plugins/runtime-modules/asset/data-providers.d.ts +60 -0
- package/plugins/runtime-modules/asset/data-providers.js +54 -0
- package/plugins/runtime-modules/asset/definition.d.ts +112 -0
- package/plugins/runtime-modules/asset/definition.js +32 -0
- package/plugins/runtime-modules/asset/ids.d.ts +10 -0
- package/plugins/runtime-modules/asset/ids.js +12 -0
- package/plugins/runtime-modules/asset/module.d.ts +231 -0
- package/plugins/runtime-modules/asset/module.js +6 -0
- package/plugins/runtime-modules/asset/presets.d.ts +174 -0
- package/plugins/runtime-modules/asset/presets.js +53 -0
- package/plugins/runtime-modules/asset/server.d.ts +5 -0
- package/plugins/runtime-modules/asset/server.js +29 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.d.ts +3 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.js +8 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +49 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/config.js +54 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.d.ts +5 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +10 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +3 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +8 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +39 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +41 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.d.ts +5 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +10 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +3 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +8 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +41 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +42 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.d.ts +5 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +10 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.d.ts +3 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.js +8 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +98 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/config.js +90 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.d.ts +5 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +10 -0
- package/plugins/runtime-modules/asset/widgets.d.ts +2 -0
- package/plugins/runtime-modules/asset/widgets.js +38 -0
- package/plugins/runtime-modules/auth/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/auth/authoring-widgets.js +16 -0
- package/plugins/runtime-modules/auth/authoring.d.ts +1 -0
- package/plugins/runtime-modules/auth/authoring.js +8 -0
- package/plugins/runtime-modules/auth/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/auth/client-data-providers.js +11 -0
- package/plugins/runtime-modules/auth/client.d.ts +1 -0
- package/plugins/runtime-modules/auth/client.js +7 -0
- package/plugins/runtime-modules/auth/data-providers.d.ts +65 -0
- package/plugins/runtime-modules/auth/data-providers.js +51 -0
- package/plugins/runtime-modules/auth/definition.d.ts +294 -0
- package/plugins/runtime-modules/auth/definition.js +35 -0
- package/plugins/runtime-modules/auth/features.d.ts +18 -0
- package/plugins/runtime-modules/auth/features.js +26 -0
- package/plugins/runtime-modules/auth/ids.d.ts +11 -0
- package/plugins/runtime-modules/auth/ids.js +13 -0
- package/plugins/runtime-modules/auth/module.d.ts +1 -0
- package/plugins/runtime-modules/auth/module.js +4 -0
- package/plugins/runtime-modules/auth/presets.d.ts +98 -0
- package/plugins/runtime-modules/auth/presets.js +167 -0
- package/plugins/runtime-modules/auth/server.d.ts +15 -0
- package/plugins/runtime-modules/auth/server.js +42 -0
- package/plugins/runtime-modules/auth/ui-provider.d.ts +2 -0
- package/plugins/runtime-modules/auth/ui-provider.js +29 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/authoring.d.ts +7 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/authoring.js +12 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/client.d.ts +12 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/client.js +59 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/config.d.ts +23 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/config.js +18 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/plugin.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/plugin.js +11 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/server.d.ts +13 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/server.js +44 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/authoring.d.ts +7 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/authoring.js +12 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.d.ts +5 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +67 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +49 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +51 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +12 -0
- package/plugins/runtime-modules/auth/widgets/logout/authoring.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/logout/authoring.js +8 -0
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +4 -0
- package/plugins/runtime-modules/auth/widgets/logout/client.js +49 -0
- package/plugins/runtime-modules/auth/widgets/logout/config.d.ts +13 -0
- package/plugins/runtime-modules/auth/widgets/logout/config.js +14 -0
- package/plugins/runtime-modules/auth/widgets/logout/plugin.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/logout/plugin.js +9 -0
- package/plugins/runtime-modules/auth/widgets/logout/server.d.ts +7 -0
- package/plugins/runtime-modules/auth/widgets/logout/server.js +6 -0
- package/plugins/runtime-modules/auth/widgets/security/authoring.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/security/authoring.js +8 -0
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/security/client.js +104 -0
- package/plugins/runtime-modules/auth/widgets/security/config.d.ts +13 -0
- package/plugins/runtime-modules/auth/widgets/security/config.js +14 -0
- package/plugins/runtime-modules/auth/widgets/security/plugin.d.ts +3 -0
- package/plugins/runtime-modules/auth/widgets/security/plugin.js +9 -0
- package/plugins/runtime-modules/auth/widgets/security/server.d.ts +8 -0
- package/plugins/runtime-modules/auth/widgets/security/server.js +6 -0
- package/plugins/runtime-modules/auth/widgets.d.ts +2 -0
- package/plugins/runtime-modules/auth/widgets.js +46 -0
- package/plugins/runtime-modules/authoring-contributions-client.d.ts +9 -0
- package/plugins/runtime-modules/authoring-contributions-client.js +19 -0
- package/plugins/runtime-modules/avatar/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/avatar/authoring-widgets.js +8 -0
- package/plugins/runtime-modules/avatar/authoring.d.ts +1 -0
- package/plugins/runtime-modules/avatar/authoring.js +8 -0
- package/plugins/runtime-modules/avatar/client.d.ts +0 -0
- package/plugins/runtime-modules/avatar/client.js +2 -0
- package/plugins/runtime-modules/avatar/definition.d.ts +27 -0
- package/plugins/runtime-modules/avatar/definition.js +26 -0
- package/plugins/runtime-modules/avatar/ids.d.ts +1 -0
- package/plugins/runtime-modules/avatar/ids.js +2 -0
- package/plugins/runtime-modules/avatar/module.d.ts +20 -0
- package/plugins/runtime-modules/avatar/module.js +9 -0
- package/plugins/runtime-modules/avatar/presets.d.ts +23 -0
- package/plugins/runtime-modules/avatar/presets.js +23 -0
- package/plugins/runtime-modules/avatar/server.d.ts +1 -0
- package/plugins/runtime-modules/avatar/server.js +22 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +3 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +8 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.d.ts +32 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +63 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.d.ts +19 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.js +21 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/plugin.d.ts +3 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/plugin.js +9 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/server.d.ts +8 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar/server.js +17 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +3 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +8 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.d.ts +14 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.js +75 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.d.ts +19 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.js +21 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/plugin.d.ts +3 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/plugin.js +9 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.d.ts +8 -0
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.js +17 -0
- package/plugins/runtime-modules/avatar/widgets.d.ts +2 -0
- package/plugins/runtime-modules/avatar/widgets.js +22 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +66 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +299 -0
- package/plugins/runtime-modules/builder/authoring-canvas.d.ts +9 -0
- package/plugins/runtime-modules/builder/authoring-canvas.js +38 -0
- package/plugins/runtime-modules/builder/authoring-provider-keys.d.ts +31 -0
- package/plugins/runtime-modules/builder/authoring-provider-keys.js +41 -0
- package/plugins/runtime-modules/builder/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/builder/authoring-widgets.js +22 -0
- package/plugins/runtime-modules/builder/authoring.d.ts +1 -0
- package/plugins/runtime-modules/builder/authoring.js +16 -0
- package/plugins/runtime-modules/builder/client-data-providers.d.ts +22 -0
- package/plugins/runtime-modules/builder/client-data-providers.js +100 -0
- package/plugins/runtime-modules/builder/client.d.ts +2 -0
- package/plugins/runtime-modules/builder/client.js +11 -0
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.d.ts +4 -0
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +24 -0
- package/plugins/runtime-modules/builder/clients/canvas-widget.d.ts +21 -0
- package/plugins/runtime-modules/builder/clients/canvas-widget.js +67 -0
- package/plugins/runtime-modules/builder/clients/inline-text-editor.d.ts +31 -0
- package/plugins/runtime-modules/builder/clients/inline-text-editor.js +44 -0
- package/plugins/runtime-modules/builder/clients/inspector-choice-values.d.ts +2 -0
- package/plugins/runtime-modules/builder/clients/inspector-choice-values.js +19 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +47 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +487 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-content.d.ts +11 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-content.js +9 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +21 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +238 -0
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.d.ts +8 -0
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +27 -0
- package/plugins/runtime-modules/builder/clients/inspector-title.d.ts +6 -0
- package/plugins/runtime-modules/builder/clients/inspector-title.js +55 -0
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +43 -0
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +279 -0
- package/plugins/runtime-modules/builder/clients/layout-scaffold-buttons.d.ts +25 -0
- package/plugins/runtime-modules/builder/clients/layout-scaffold-buttons.js +66 -0
- package/plugins/runtime-modules/builder/clients/layout-scaffold-overlays.d.ts +42 -0
- package/plugins/runtime-modules/builder/clients/layout-scaffold-overlays.js +70 -0
- package/plugins/runtime-modules/builder/clients/mode-switch.d.ts +5 -0
- package/plugins/runtime-modules/builder/clients/mode-switch.js +42 -0
- package/plugins/runtime-modules/builder/clients/pages-header.d.ts +9 -0
- package/plugins/runtime-modules/builder/clients/pages-header.js +138 -0
- package/plugins/runtime-modules/builder/clients/pages-workspace.d.ts +17 -0
- package/plugins/runtime-modules/builder/clients/pages-workspace.js +47 -0
- package/plugins/runtime-modules/builder/clients/region-inspector.d.ts +25 -0
- package/plugins/runtime-modules/builder/clients/region-inspector.js +85 -0
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.d.ts +14 -0
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +36 -0
- package/plugins/runtime-modules/builder/clients/shells-workspace.d.ts +18 -0
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +70 -0
- package/plugins/runtime-modules/builder/clients/structure-canvas.d.ts +24 -0
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +247 -0
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.d.ts +8 -0
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +15 -0
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +31 -0
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +87 -0
- package/plugins/runtime-modules/builder/clients/workspace-scope-boundary.d.ts +8 -0
- package/plugins/runtime-modules/builder/clients/workspace-scope-boundary.js +13 -0
- package/plugins/runtime-modules/builder/cms-instance-allocator.d.ts +10 -0
- package/plugins/runtime-modules/builder/cms-instance-allocator.js +73 -0
- package/plugins/runtime-modules/builder/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/builder/controller/address.js +8 -0
- package/plugins/runtime-modules/builder/controller/client.d.ts +107 -0
- package/plugins/runtime-modules/builder/controller/client.js +39 -0
- package/plugins/runtime-modules/builder/controller/definition.d.ts +134 -0
- package/plugins/runtime-modules/builder/controller/definition.js +208 -0
- package/plugins/runtime-modules/builder/controller/mount.d.ts +2 -0
- package/plugins/runtime-modules/builder/controller/mount.js +8 -0
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +125 -0
- package/plugins/runtime-modules/builder/controller/server-definition.js +57 -0
- package/plugins/runtime-modules/builder/data-providers.d.ts +478 -0
- package/plugins/runtime-modules/builder/data-providers.js +401 -0
- package/plugins/runtime-modules/builder/definition.d.ts +488 -0
- package/plugins/runtime-modules/builder/definition.js +19 -0
- package/plugins/runtime-modules/builder/demand-controller-registration.d.ts +13 -0
- package/plugins/runtime-modules/builder/demand-controller-registration.js +15 -0
- package/plugins/runtime-modules/builder/demand-controller-store.d.ts +8 -0
- package/plugins/runtime-modules/builder/demand-controller-store.js +58 -0
- package/plugins/runtime-modules/builder/developer-region-drafts.d.ts +3 -0
- package/plugins/runtime-modules/builder/developer-region-drafts.js +15 -0
- package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +164 -0
- package/plugins/runtime-modules/builder/developer-workspace-store.js +800 -0
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +196 -0
- package/plugins/runtime-modules/builder/developer-workspace-types.js +1 -0
- package/plugins/runtime-modules/builder/draft-allocation-key.d.ts +8 -0
- package/plugins/runtime-modules/builder/draft-allocation-key.js +6 -0
- package/plugins/runtime-modules/builder/draft-background-assets.server.d.ts +18 -0
- package/plugins/runtime-modules/builder/draft-background-assets.server.js +20 -0
- package/plugins/runtime-modules/builder/draft-command-controller.d.ts +16 -0
- package/plugins/runtime-modules/builder/draft-command-controller.js +733 -0
- package/plugins/runtime-modules/builder/edit-scaffold-drawer.d.ts +18 -0
- package/plugins/runtime-modules/builder/edit-scaffold-drawer.js +57 -0
- package/plugins/runtime-modules/builder/effects-form-values.d.ts +22 -0
- package/plugins/runtime-modules/builder/effects-form-values.js +54 -0
- package/plugins/runtime-modules/builder/history.d.ts +80 -0
- package/plugins/runtime-modules/builder/history.js +38 -0
- package/plugins/runtime-modules/builder/ids.d.ts +17 -0
- package/plugins/runtime-modules/builder/ids.js +25 -0
- package/plugins/runtime-modules/builder/inspector-actions.d.ts +31 -0
- package/plugins/runtime-modules/builder/inspector-actions.js +51 -0
- package/plugins/runtime-modules/builder/inspector-controller.d.ts +3 -0
- package/plugins/runtime-modules/builder/inspector-controller.js +283 -0
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +16 -0
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.js +32 -0
- package/plugins/runtime-modules/builder/inspector-section-widget.d.ts +10 -0
- package/plugins/runtime-modules/builder/inspector-section-widget.js +62 -0
- package/plugins/runtime-modules/builder/layouts.d.ts +2 -0
- package/plugins/runtime-modules/builder/layouts.js +21 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +16 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.js +1 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.d.ts +11 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +54 -0
- package/plugins/runtime-modules/builder/module-usage-client.d.ts +17 -0
- package/plugins/runtime-modules/builder/module-usage-client.js +17 -0
- package/plugins/runtime-modules/builder/module.d.ts +609 -0
- package/plugins/runtime-modules/builder/module.js +6 -0
- package/plugins/runtime-modules/builder/navigation-catalog.server.d.ts +5 -0
- package/plugins/runtime-modules/builder/navigation-catalog.server.js +40 -0
- package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +46 -0
- package/plugins/runtime-modules/builder/navigation-folder-address.js +129 -0
- package/plugins/runtime-modules/builder/navigation-folder-drop.d.ts +19 -0
- package/plugins/runtime-modules/builder/navigation-folder-drop.js +54 -0
- package/plugins/runtime-modules/builder/navigation-path-context.d.ts +25 -0
- package/plugins/runtime-modules/builder/navigation-path-context.js +34 -0
- package/plugins/runtime-modules/builder/navigation-persistence.d.ts +44 -0
- package/plugins/runtime-modules/builder/navigation-persistence.js +253 -0
- package/plugins/runtime-modules/builder/navigation-signals.d.ts +36 -0
- package/plugins/runtime-modules/builder/navigation-signals.js +88 -0
- package/plugins/runtime-modules/builder/navigation-store.d.ts +12 -0
- package/plugins/runtime-modules/builder/navigation-store.js +82 -0
- package/plugins/runtime-modules/builder/navigation-widget-runtime.d.ts +19 -0
- package/plugins/runtime-modules/builder/navigation-widget-runtime.js +59 -0
- package/plugins/runtime-modules/builder/node-finders.d.ts +5 -0
- package/plugins/runtime-modules/builder/node-finders.js +28 -0
- package/plugins/runtime-modules/builder/node-kind-theme.d.ts +5 -0
- package/plugins/runtime-modules/builder/node-kind-theme.js +14 -0
- package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +77 -0
- package/plugins/runtime-modules/builder/offered-page-catalog.js +159 -0
- package/plugins/runtime-modules/builder/options-providers.d.ts +37 -0
- package/plugins/runtime-modules/builder/options-providers.js +254 -0
- package/plugins/runtime-modules/builder/page-address-rule.d.ts +15 -0
- package/plugins/runtime-modules/builder/page-address-rule.js +35 -0
- package/plugins/runtime-modules/builder/page-catalog-client.d.ts +14 -0
- package/plugins/runtime-modules/builder/page-catalog-client.js +55 -0
- package/plugins/runtime-modules/builder/page-controller-helpers.d.ts +9 -0
- package/plugins/runtime-modules/builder/page-controller-helpers.js +60 -0
- package/plugins/runtime-modules/builder/page-controller.d.ts +18 -0
- package/plugins/runtime-modules/builder/page-controller.js +481 -0
- package/plugins/runtime-modules/builder/page-meta-form.d.ts +8 -0
- package/plugins/runtime-modules/builder/page-meta-form.js +491 -0
- package/plugins/runtime-modules/builder/page-preset-catalog.server.d.ts +15 -0
- package/plugins/runtime-modules/builder/page-preset-catalog.server.js +127 -0
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +34 -0
- package/plugins/runtime-modules/builder/page-presets.server.js +344 -0
- package/plugins/runtime-modules/builder/page-reference-picker.d.ts +16 -0
- package/plugins/runtime-modules/builder/page-reference-picker.js +43 -0
- package/plugins/runtime-modules/builder/page-title-signal.d.ts +14 -0
- package/plugins/runtime-modules/builder/page-title-signal.js +20 -0
- package/plugins/runtime-modules/builder/pages-header.d.ts +8 -0
- package/plugins/runtime-modules/builder/pages-header.js +5 -0
- package/plugins/runtime-modules/builder/pages-workspace.d.ts +6 -0
- package/plugins/runtime-modules/builder/pages-workspace.js +76 -0
- package/plugins/runtime-modules/builder/persistence.d.ts +147 -0
- package/plugins/runtime-modules/builder/persistence.js +949 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.d.ts +14 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.js +12 -0
- package/plugins/runtime-modules/builder/plugin-metas.d.ts +7 -0
- package/plugins/runtime-modules/builder/plugin-metas.js +100 -0
- package/plugins/runtime-modules/builder/presets.d.ts +150 -0
- package/plugins/runtime-modules/builder/presets.js +62 -0
- package/plugins/runtime-modules/builder/preview-controller.d.ts +8 -0
- package/plugins/runtime-modules/builder/preview-controller.js +150 -0
- package/plugins/runtime-modules/builder/preview-store.d.ts +4 -0
- package/plugins/runtime-modules/builder/preview-store.js +46 -0
- package/plugins/runtime-modules/builder/preview-transport.d.ts +44 -0
- package/plugins/runtime-modules/builder/preview-transport.js +61 -0
- package/plugins/runtime-modules/builder/public-route-collisions.d.ts +58 -0
- package/plugins/runtime-modules/builder/public-route-collisions.js +141 -0
- package/plugins/runtime-modules/builder/region-controller.d.ts +4 -0
- package/plugins/runtime-modules/builder/region-controller.js +76 -0
- package/plugins/runtime-modules/builder/region-defaults.d.ts +2 -0
- package/plugins/runtime-modules/builder/region-defaults.js +122 -0
- package/plugins/runtime-modules/builder/region-hydration.d.ts +46 -0
- package/plugins/runtime-modules/builder/region-hydration.js +273 -0
- package/plugins/runtime-modules/builder/region-keys.d.ts +8 -0
- package/plugins/runtime-modules/builder/region-keys.js +15 -0
- package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +42 -0
- package/plugins/runtime-modules/builder/render-root-node-preview.server.js +208 -0
- package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +64 -0
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +951 -0
- package/plugins/runtime-modules/builder/root-node-css-size.d.ts +1 -0
- package/plugins/runtime-modules/builder/root-node-css-size.js +10 -0
- package/plugins/runtime-modules/builder/root-node-normalization.d.ts +34 -0
- package/plugins/runtime-modules/builder/root-node-normalization.js +67 -0
- package/plugins/runtime-modules/builder/root-node-renderable-tree.d.ts +10 -0
- package/plugins/runtime-modules/builder/root-node-renderable-tree.js +141 -0
- package/plugins/runtime-modules/builder/route-scope.d.ts +9 -0
- package/plugins/runtime-modules/builder/route-scope.js +74 -0
- package/plugins/runtime-modules/builder/runtime-module-defaults.d.ts +3 -0
- package/plugins/runtime-modules/builder/runtime-module-defaults.js +41 -0
- package/plugins/runtime-modules/builder/runtime-module-sandbox.server.d.ts +15 -0
- package/plugins/runtime-modules/builder/runtime-module-sandbox.server.js +24 -0
- package/plugins/runtime-modules/builder/runtime-module-selection.d.ts +36 -0
- package/plugins/runtime-modules/builder/runtime-module-selection.js +113 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +11 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.js +31 -0
- package/plugins/runtime-modules/builder/server.d.ts +1 -0
- package/plugins/runtime-modules/builder/server.js +23 -0
- package/plugins/runtime-modules/builder/services/navigation-table.d.ts +4 -0
- package/plugins/runtime-modules/builder/services/navigation-table.js +519 -0
- package/plugins/runtime-modules/builder/services/page-source-tree.d.ts +4 -0
- package/plugins/runtime-modules/builder/services/page-source-tree.js +75 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +4 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +435 -0
- package/plugins/runtime-modules/builder/services/signal-routes-table.d.ts +4 -0
- package/plugins/runtime-modules/builder/services/signal-routes-table.js +113 -0
- package/plugins/runtime-modules/builder/shells-workspace.d.ts +6 -0
- package/plugins/runtime-modules/builder/shells-workspace.js +60 -0
- package/plugins/runtime-modules/builder/signal-endpoints.d.ts +19 -0
- package/plugins/runtime-modules/builder/signal-endpoints.js +157 -0
- package/plugins/runtime-modules/builder/signal-route-config.d.ts +3 -0
- package/plugins/runtime-modules/builder/signal-route-config.js +37 -0
- package/plugins/runtime-modules/builder/signal-route-selection.d.ts +3 -0
- package/plugins/runtime-modules/builder/signal-route-selection.js +34 -0
- package/plugins/runtime-modules/builder/signal-wiring-controller.d.ts +36 -0
- package/plugins/runtime-modules/builder/signal-wiring-controller.js +115 -0
- package/plugins/runtime-modules/builder/signal-wiring-form.d.ts +2 -0
- package/plugins/runtime-modules/builder/signal-wiring-form.js +101 -0
- package/plugins/runtime-modules/builder/signal-wiring-options.d.ts +33 -0
- package/plugins/runtime-modules/builder/signal-wiring-options.js +189 -0
- package/plugins/runtime-modules/builder/structure-dnd.d.ts +50 -0
- package/plugins/runtime-modules/builder/structure-dnd.js +181 -0
- package/plugins/runtime-modules/builder/structure-region-pick-items.d.ts +3 -0
- package/plugins/runtime-modules/builder/structure-region-pick-items.js +37 -0
- package/plugins/runtime-modules/builder/tree-options.d.ts +7 -0
- package/plugins/runtime-modules/builder/tree-options.js +14 -0
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +201 -0
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +72 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/authoring.js +7 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/client.d.ts +9 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/client.js +34 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/config.d.ts +19 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/config.js +30 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/plugin.js +9 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/server.d.ts +8 -0
- package/plugins/runtime-modules/builder/widgets/chrome-controls/server.js +6 -0
- package/plugins/runtime-modules/builder/widgets/developer-builder-pages-header/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/developer-builder-pages-header/authoring.js +8 -0
- package/plugins/runtime-modules/builder/widgets/developer-builder-pages-header/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/developer-builder-pages-header/plugin.js +18 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.js +8 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.d.ts +4 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.js +228 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.js +8 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/authoring.js +13 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/client.d.ts +13 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/client.js +44 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +18 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/config.js +26 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.d.ts +5 -0
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.js +47 -0
- package/plugins/runtime-modules/builder/widgets/inspector-header/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/inspector-header/authoring.js +6 -0
- package/plugins/runtime-modules/builder/widgets/inspector-header/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/inspector-header/plugin.js +22 -0
- package/plugins/runtime-modules/builder/widgets/inspector-section/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/inspector-section/authoring.js +7 -0
- package/plugins/runtime-modules/builder/widgets/inspector-section/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/inspector-section/plugin.js +14 -0
- package/plugins/runtime-modules/builder/widgets/mode-switch/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/mode-switch/authoring.js +8 -0
- package/plugins/runtime-modules/builder/widgets/mode-switch/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/mode-switch/plugin.js +8 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/authoring.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/authoring.js +8 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/plugin.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/plugin.js +12 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/preview-plugin.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/pages-workspace/preview-plugin.js +7 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/authoring.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/authoring.js +8 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/plugin.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/plugin.js +12 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/preview-plugin.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets/shells-workspace/preview-plugin.js +7 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.d.ts +30 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +1673 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/config.d.ts +48 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/config.js +83 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +76 -0
- package/plugins/runtime-modules/builder/widgets/test-block/authoring.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/test-block/authoring.js +8 -0
- package/plugins/runtime-modules/builder/widgets/test-block/client.d.ts +10 -0
- package/plugins/runtime-modules/builder/widgets/test-block/client.js +18 -0
- package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +22 -0
- package/plugins/runtime-modules/builder/widgets/test-block/config.js +35 -0
- package/plugins/runtime-modules/builder/widgets/test-block/plugin.d.ts +4 -0
- package/plugins/runtime-modules/builder/widgets/test-block/plugin.js +9 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.d.ts +24 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.js +31 -0
- package/plugins/runtime-modules/builder/widgets/workspaces/config.d.ts +6 -0
- package/plugins/runtime-modules/builder/widgets/workspaces/config.js +31 -0
- package/plugins/runtime-modules/builder/widgets.d.ts +2 -0
- package/plugins/runtime-modules/builder/widgets.js +90 -0
- package/plugins/runtime-modules/builder/workspace-controller.d.ts +22 -0
- package/plugins/runtime-modules/builder/workspace-controller.js +1940 -0
- package/plugins/runtime-modules/builder/workspace-view-model.d.ts +4 -0
- package/plugins/runtime-modules/builder/workspace-view-model.js +24 -0
- package/plugins/runtime-modules/catalog.d.ts +9 -0
- package/plugins/runtime-modules/catalog.js +20 -0
- package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/accounting.js +14 -0
- package/plugins/runtime-modules/client-area-contributions/admin.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/admin.js +38 -0
- package/plugins/runtime-modules/client-area-contributions/app.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/app.js +26 -0
- package/plugins/runtime-modules/client-area-contributions/builder.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/builder.js +28 -0
- package/plugins/runtime-modules/client-area-contributions/common.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/common.js +15 -0
- package/plugins/runtime-modules/client-area-contributions/editor.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/editor.js +20 -0
- package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -0
- package/plugins/runtime-modules/client-area-contributions/public.js +18 -0
- package/plugins/runtime-modules/client-authoring-module.d.ts +31 -0
- package/plugins/runtime-modules/client-authoring-module.js +60 -0
- package/plugins/runtime-modules/client-authoring-providers/accounting.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/accounting.js +14 -0
- package/plugins/runtime-modules/client-authoring-providers/admin.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/admin.js +44 -0
- package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/app.js +32 -0
- package/plugins/runtime-modules/client-authoring-providers/builder.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/builder.js +28 -0
- package/plugins/runtime-modules/client-authoring-providers/common.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/common.js +16 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.js +20 -0
- package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -0
- package/plugins/runtime-modules/client-authoring-providers/public.js +18 -0
- package/plugins/runtime-modules/client-authoring-widget-module.d.ts +12 -0
- package/plugins/runtime-modules/client-authoring-widget-module.js +26 -0
- package/plugins/runtime-modules/client-calendar-adapters/core.d.ts +5 -0
- package/plugins/runtime-modules/client-calendar-adapters/core.js +9 -0
- package/plugins/runtime-modules/client-manifests/accounting.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/accounting.js +8 -0
- package/plugins/runtime-modules/client-manifests/admin.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/admin.js +29 -0
- package/plugins/runtime-modules/client-manifests/app.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/app.js +15 -0
- package/plugins/runtime-modules/client-manifests/auth-render-clients.d.ts +3 -0
- package/plugins/runtime-modules/client-manifests/auth-render-clients.js +21 -0
- package/plugins/runtime-modules/client-manifests/builder-authoring.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/builder-authoring.js +17 -0
- package/plugins/runtime-modules/client-manifests/builder.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/builder.js +40 -0
- package/plugins/runtime-modules/client-manifests/common-data-providers.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/common-data-providers.js +7 -0
- package/plugins/runtime-modules/client-manifests/common.d.ts +3 -0
- package/plugins/runtime-modules/client-manifests/common.js +286 -0
- package/plugins/runtime-modules/client-manifests/editor.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/editor.js +11 -0
- package/plugins/runtime-modules/client-manifests/public.d.ts +4 -0
- package/plugins/runtime-modules/client-manifests/public.js +12 -0
- package/plugins/runtime-modules/client-state.d.ts +5 -0
- package/plugins/runtime-modules/client-state.js +17 -0
- package/plugins/runtime-modules/contracts.d.ts +26 -0
- package/plugins/runtime-modules/contracts.js +760 -0
- package/plugins/runtime-modules/core/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/core/authoring-widgets.js +110 -0
- package/plugins/runtime-modules/core/authoring.d.ts +1 -0
- package/plugins/runtime-modules/core/authoring.js +16 -0
- package/plugins/runtime-modules/core/client-data-providers.d.ts +10 -0
- package/plugins/runtime-modules/core/client-data-providers.js +20 -0
- package/plugins/runtime-modules/core/client.d.ts +2 -0
- package/plugins/runtime-modules/core/client.js +9 -0
- package/plugins/runtime-modules/core/data-providers.d.ts +35 -0
- package/plugins/runtime-modules/core/data-providers.js +30 -0
- package/plugins/runtime-modules/core/definition.d.ts +437 -0
- package/plugins/runtime-modules/core/definition.js +25 -0
- package/plugins/runtime-modules/core/ids.d.ts +5 -0
- package/plugins/runtime-modules/core/ids.js +7 -0
- package/plugins/runtime-modules/core/layouts.d.ts +2 -0
- package/plugins/runtime-modules/core/layouts.js +27 -0
- package/plugins/runtime-modules/core/module.d.ts +508 -0
- package/plugins/runtime-modules/core/module.js +6 -0
- package/plugins/runtime-modules/core/server.d.ts +2 -0
- package/plugins/runtime-modules/core/server.js +18 -0
- package/plugins/runtime-modules/core/widgets/account/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/account/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/account/client.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/account/client.js +121 -0
- package/plugins/runtime-modules/core/widgets/account/config.d.ts +14 -0
- package/plugins/runtime-modules/core/widgets/account/config.js +26 -0
- package/plugins/runtime-modules/core/widgets/account/index.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/account/index.js +2 -0
- package/plugins/runtime-modules/core/widgets/account/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/account/plugin.js +40 -0
- package/plugins/runtime-modules/core/widgets/account/server.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/account/server.js +96 -0
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/area-menu/client.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/area-menu/client.js +61 -0
- package/plugins/runtime-modules/core/widgets/area-menu/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/area-menu/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/area-menu/index.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/area-menu/index.js +2 -0
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.js +11 -0
- package/plugins/runtime-modules/core/widgets/area-menu/server.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/area-menu/server.js +14 -0
- package/plugins/runtime-modules/core/widgets/brand/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/brand/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/brand/client.d.ts +19 -0
- package/plugins/runtime-modules/core/widgets/brand/client.js +43 -0
- package/plugins/runtime-modules/core/widgets/brand/config.d.ts +32 -0
- package/plugins/runtime-modules/core/widgets/brand/config.js +29 -0
- package/plugins/runtime-modules/core/widgets/brand/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/brand/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/brand/server.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/brand/server.js +19 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +13 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +31 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +23 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/server.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/server.js +6 -0
- package/plugins/runtime-modules/core/widgets/button/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/button/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/button/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/button/client.js +55 -0
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +118 -0
- package/plugins/runtime-modules/core/widgets/button/config.js +86 -0
- package/plugins/runtime-modules/core/widgets/button/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/button/plugin.js +20 -0
- package/plugins/runtime-modules/core/widgets/card/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/card/authoring.js +10 -0
- package/plugins/runtime-modules/core/widgets/card/client.d.ts +37 -0
- package/plugins/runtime-modules/core/widgets/card/client.js +64 -0
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +88 -0
- package/plugins/runtime-modules/core/widgets/card/config.js +84 -0
- package/plugins/runtime-modules/core/widgets/card/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/card/plugin.js +15 -0
- package/plugins/runtime-modules/core/widgets/card/server.d.ts +15 -0
- package/plugins/runtime-modules/core/widgets/card/server.js +62 -0
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +25 -0
- package/plugins/runtime-modules/core/widgets/cascader/authoring.js +10 -0
- package/plugins/runtime-modules/core/widgets/cascader/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/cascader/client.js +52 -0
- package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +119 -0
- package/plugins/runtime-modules/core/widgets/cascader/config.js +66 -0
- package/plugins/runtime-modules/core/widgets/cascader/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/cascader/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/checkbox/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/checkbox/client.js +32 -0
- package/plugins/runtime-modules/core/widgets/checkbox/config.d.ts +54 -0
- package/plugins/runtime-modules/core/widgets/checkbox/config.js +37 -0
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.js +17 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/client.js +41 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +107 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +42 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +393 -0
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +333 -0
- package/plugins/runtime-modules/core/widgets/collection-view/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/collection-view/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/server.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/server.js +9 -0
- package/plugins/runtime-modules/core/widgets/color/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/color/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/color/config.d.ts +72 -0
- package/plugins/runtime-modules/core/widgets/color/config.js +58 -0
- package/plugins/runtime-modules/core/widgets/color/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/color/plugin.js +20 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +14 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +242 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +110 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +155 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/plugin.js +26 -0
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/date-picker/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/date-picker/client.js +34 -0
- package/plugins/runtime-modules/core/widgets/date-picker/config.d.ts +96 -0
- package/plugins/runtime-modules/core/widgets/date-picker/config.js +134 -0
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/description/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/description/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/description/client.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/description/client.js +51 -0
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +32 -0
- package/plugins/runtime-modules/core/widgets/description/config.js +36 -0
- package/plugins/runtime-modules/core/widgets/description/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/description/plugin.js +28 -0
- package/plugins/runtime-modules/core/widgets/description/server.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/description/server.js +89 -0
- package/plugins/runtime-modules/core/widgets/dimension/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/dimension/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/dimension/client.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/dimension/client.js +38 -0
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +58 -0
- package/plugins/runtime-modules/core/widgets/dimension/config.js +31 -0
- package/plugins/runtime-modules/core/widgets/dimension/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/dimension/plugin.js +20 -0
- package/plugins/runtime-modules/core/widgets/footer/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/footer/authoring.js +22 -0
- package/plugins/runtime-modules/core/widgets/footer/client.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/footer/client.js +30 -0
- package/plugins/runtime-modules/core/widgets/footer/config.d.ts +31 -0
- package/plugins/runtime-modules/core/widgets/footer/config.js +34 -0
- package/plugins/runtime-modules/core/widgets/footer/index.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/footer/index.js +1 -0
- package/plugins/runtime-modules/core/widgets/footer/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/footer/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/footer/server.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/footer/server.js +46 -0
- package/plugins/runtime-modules/core/widgets/form/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/form/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/form/built-in.d.ts +15 -0
- package/plugins/runtime-modules/core/widgets/form/built-in.js +74 -0
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +187 -0
- package/plugins/runtime-modules/core/widgets/form/config.js +190 -0
- package/plugins/runtime-modules/core/widgets/form/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/form/plugin.js +18 -0
- package/plugins/runtime-modules/core/widgets/form-preview/authoring.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/form-preview/authoring.js +15 -0
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.js +63 -0
- package/plugins/runtime-modules/core/widgets/form-preview/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/form-preview/client.js +106 -0
- package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +59 -0
- package/plugins/runtime-modules/core/widgets/form-preview/config.js +57 -0
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.js +18 -0
- package/plugins/runtime-modules/core/widgets/gallery/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +6 -0
- package/plugins/runtime-modules/core/widgets/gallery/client.d.ts +19 -0
- package/plugins/runtime-modules/core/widgets/gallery/client.js +107 -0
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +110 -0
- package/plugins/runtime-modules/core/widgets/gallery/config.js +188 -0
- package/plugins/runtime-modules/core/widgets/gallery/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/gallery/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/authoring.js +23 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +62 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/config.d.ts +52 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/config.js +49 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/server.js +18 -0
- package/plugins/runtime-modules/core/widgets/html/authoring.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/html/authoring.js +21 -0
- package/plugins/runtime-modules/core/widgets/html/client.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/html/client.js +56 -0
- package/plugins/runtime-modules/core/widgets/html/config.d.ts +68 -0
- package/plugins/runtime-modules/core/widgets/html/config.js +104 -0
- package/plugins/runtime-modules/core/widgets/html/index.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/html/index.js +1 -0
- package/plugins/runtime-modules/core/widgets/html/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/html/plugin.js +22 -0
- package/plugins/runtime-modules/core/widgets/html/server.d.ts +17 -0
- package/plugins/runtime-modules/core/widgets/html/server.js +70 -0
- package/plugins/runtime-modules/core/widgets/icon/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/icon/authoring.js +15 -0
- package/plugins/runtime-modules/core/widgets/icon/client.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/icon/client.js +50 -0
- package/plugins/runtime-modules/core/widgets/icon/config.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/icon/config.js +25 -0
- package/plugins/runtime-modules/core/widgets/icon/index.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/icon/index.js +1 -0
- package/plugins/runtime-modules/core/widgets/icon/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/icon/plugin.js +12 -0
- package/plugins/runtime-modules/core/widgets/icon/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/icon/server.js +9 -0
- package/plugins/runtime-modules/core/widgets/image/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/image/authoring.js +15 -0
- package/plugins/runtime-modules/core/widgets/image/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/image/client.js +126 -0
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +178 -0
- package/plugins/runtime-modules/core/widgets/image/config.js +180 -0
- package/plugins/runtime-modules/core/widgets/image/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/image/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/image/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/image/server.js +35 -0
- package/plugins/runtime-modules/core/widgets/input/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/input/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/input/client.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/input/client.js +67 -0
- package/plugins/runtime-modules/core/widgets/input/config.d.ts +98 -0
- package/plugins/runtime-modules/core/widgets/input/config.js +84 -0
- package/plugins/runtime-modules/core/widgets/input/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/input/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/length/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/length/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/length/client.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/length/client.js +38 -0
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +84 -0
- package/plugins/runtime-modules/core/widgets/length/config.js +44 -0
- package/plugins/runtime-modules/core/widgets/length/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/length/plugin.js +20 -0
- package/plugins/runtime-modules/core/widgets/locale/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/locale/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/locale/config.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/locale/config.js +15 -0
- package/plugins/runtime-modules/core/widgets/locale/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/locale/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/locale/server.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/locale/server.js +29 -0
- package/plugins/runtime-modules/core/widgets/markdown/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/markdown/authoring.js +18 -0
- package/plugins/runtime-modules/core/widgets/markdown/client.d.ts +72 -0
- package/plugins/runtime-modules/core/widgets/markdown/client.js +141 -0
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +99 -0
- package/plugins/runtime-modules/core/widgets/markdown/config.js +118 -0
- package/plugins/runtime-modules/core/widgets/markdown/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +22 -0
- package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +22 -0
- package/plugins/runtime-modules/core/widgets/markdown/server.js +505 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.js +10 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +64 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +126 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +71 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.js +40 -0
- package/plugins/runtime-modules/core/widgets/multi-select/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/multi-select/authoring.js +19 -0
- package/plugins/runtime-modules/core/widgets/multi-select/client.d.ts +14 -0
- package/plugins/runtime-modules/core/widgets/multi-select/client.js +91 -0
- package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +135 -0
- package/plugins/runtime-modules/core/widgets/multi-select/config.js +112 -0
- package/plugins/runtime-modules/core/widgets/multi-select/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/multi-select/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/number-input/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/number-input/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/number-input/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/number-input/client.js +38 -0
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +78 -0
- package/plugins/runtime-modules/core/widgets/number-input/config.js +43 -0
- package/plugins/runtime-modules/core/widgets/number-input/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/number-input/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/otp/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/otp/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/otp/client.d.ts +16 -0
- package/plugins/runtime-modules/core/widgets/otp/client.js +38 -0
- package/plugins/runtime-modules/core/widgets/otp/config.d.ts +91 -0
- package/plugins/runtime-modules/core/widgets/otp/config.js +74 -0
- package/plugins/runtime-modules/core/widgets/otp/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/otp/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/page-title/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/page-title/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/page-title/client.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/page-title/client.js +49 -0
- package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +14 -0
- package/plugins/runtime-modules/core/widgets/page-title/config.js +15 -0
- package/plugins/runtime-modules/core/widgets/page-title/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/page-title/plugin.js +8 -0
- package/plugins/runtime-modules/core/widgets/page-title/server.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/page-title/server.js +20 -0
- package/plugins/runtime-modules/core/widgets/pagination/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/pagination/authoring.js +6 -0
- package/plugins/runtime-modules/core/widgets/pagination/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/pagination/client.js +63 -0
- package/plugins/runtime-modules/core/widgets/pagination/config.d.ts +77 -0
- package/plugins/runtime-modules/core/widgets/pagination/config.js +52 -0
- package/plugins/runtime-modules/core/widgets/pagination/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/pagination/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/profile-email/client.d.ts +28 -0
- package/plugins/runtime-modules/core/widgets/profile-email/client.js +96 -0
- package/plugins/runtime-modules/core/widgets/profile-email/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/profile-email/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/profile-email/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/profile-email/server.js +16 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/client.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/client.js +107 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/profile-locale/server.js +16 -0
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/profile-name/client.d.ts +23 -0
- package/plugins/runtime-modules/core/widgets/profile-name/client.js +96 -0
- package/plugins/runtime-modules/core/widgets/profile-name/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/profile-name/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/profile-name/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/profile-name/server.js +16 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/client.d.ts +19 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/client.js +73 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/server.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/profile-overview/server.js +16 -0
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/profile-password/client.d.ts +27 -0
- package/plugins/runtime-modules/core/widgets/profile-password/client.js +91 -0
- package/plugins/runtime-modules/core/widgets/profile-password/config.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/profile-password/config.js +14 -0
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/profile-password/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/profile-password/server.js +16 -0
- package/plugins/runtime-modules/core/widgets/quick-links/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/quick-links/authoring.js +29 -0
- package/plugins/runtime-modules/core/widgets/quick-links/client.d.ts +19 -0
- package/plugins/runtime-modules/core/widgets/quick-links/client.js +114 -0
- package/plugins/runtime-modules/core/widgets/quick-links/config.d.ts +66 -0
- package/plugins/runtime-modules/core/widgets/quick-links/config.js +56 -0
- package/plugins/runtime-modules/core/widgets/quick-links/index.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/quick-links/index.js +1 -0
- package/plugins/runtime-modules/core/widgets/quick-links/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/quick-links/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/quick-links/server.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/quick-links/server.js +23 -0
- package/plugins/runtime-modules/core/widgets/rate/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/rate/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/rate/client.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/rate/client.js +41 -0
- package/plugins/runtime-modules/core/widgets/rate/config.d.ts +94 -0
- package/plugins/runtime-modules/core/widgets/rate/config.js +52 -0
- package/plugins/runtime-modules/core/widgets/rate/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/rate/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/result/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/result/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +249 -0
- package/plugins/runtime-modules/core/widgets/result/config.js +84 -0
- package/plugins/runtime-modules/core/widgets/result/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/result/plugin.js +12 -0
- package/plugins/runtime-modules/core/widgets/result/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/result/server.js +47 -0
- package/plugins/runtime-modules/core/widgets/segmented/authoring.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/segmented/authoring.js +6 -0
- package/plugins/runtime-modules/core/widgets/segmented/client.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/segmented/client.js +17 -0
- package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +122 -0
- package/plugins/runtime-modules/core/widgets/segmented/config.js +33 -0
- package/plugins/runtime-modules/core/widgets/segmented/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/segmented/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/select-box/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/select-box/authoring.js +19 -0
- package/plugins/runtime-modules/core/widgets/select-box/client.d.ts +14 -0
- package/plugins/runtime-modules/core/widgets/select-box/client.js +33 -0
- package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +127 -0
- package/plugins/runtime-modules/core/widgets/select-box/config.js +44 -0
- package/plugins/runtime-modules/core/widgets/select-box/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/select-box/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.js +28 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +77 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +38 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +55 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/server.js +29 -0
- package/plugins/runtime-modules/core/widgets/simple-text/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/simple-text/authoring.js +16 -0
- package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +26 -0
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +152 -0
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +55 -0
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +141 -0
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.js +36 -0
- package/plugins/runtime-modules/core/widgets/simple-text/server.d.ts +19 -0
- package/plugins/runtime-modules/core/widgets/simple-text/server.js +15 -0
- package/plugins/runtime-modules/core/widgets/slider/authoring.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/slider/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/slider/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/slider/client.js +41 -0
- package/plugins/runtime-modules/core/widgets/slider/config.d.ts +81 -0
- package/plugins/runtime-modules/core/widgets/slider/config.js +73 -0
- package/plugins/runtime-modules/core/widgets/slider/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/slider/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/authoring.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/authoring.js +20 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/client.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/client.js +183 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +59 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/config.js +59 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/plugin.js +8 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/server.js +10 -0
- package/plugins/runtime-modules/core/widgets/spacer/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/spacer/authoring.js +6 -0
- package/plugins/runtime-modules/core/widgets/spacer/client.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/spacer/client.js +57 -0
- package/plugins/runtime-modules/core/widgets/spacer/config.d.ts +15 -0
- package/plugins/runtime-modules/core/widgets/spacer/config.js +17 -0
- package/plugins/runtime-modules/core/widgets/spacer/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/spacer/plugin.js +10 -0
- package/plugins/runtime-modules/core/widgets/switch/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/switch/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/switch/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/switch/client.js +39 -0
- package/plugins/runtime-modules/core/widgets/switch/config.d.ts +60 -0
- package/plugins/runtime-modules/core/widgets/switch/config.js +40 -0
- package/plugins/runtime-modules/core/widgets/switch/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/switch/plugin.js +14 -0
- package/plugins/runtime-modules/core/widgets/table/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/table/authoring.js +7 -0
- package/plugins/runtime-modules/core/widgets/table/client.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/table/client.js +935 -0
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +847 -0
- package/plugins/runtime-modules/core/widgets/table/config.js +1147 -0
- package/plugins/runtime-modules/core/widgets/table/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/table/plugin.js +20 -0
- package/plugins/runtime-modules/core/widgets/table/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/table/server.js +6 -0
- package/plugins/runtime-modules/core/widgets/tree/authoring.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets/tree/authoring.js +7 -0
- package/plugins/runtime-modules/core/widgets/tree/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +235 -0
- package/plugins/runtime-modules/core/widgets/tree/config.d.ts +241 -0
- package/plugins/runtime-modules/core/widgets/tree/config.js +255 -0
- package/plugins/runtime-modules/core/widgets/tree/plugin.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/tree/plugin.js +16 -0
- package/plugins/runtime-modules/core/widgets/tree/server.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/tree/server.js +6 -0
- package/plugins/runtime-modules/core/widgets.d.ts +2 -0
- package/plugins/runtime-modules/core/widgets.js +426 -0
- package/plugins/runtime-modules/dashboard/authoring-client.d.ts +2 -0
- package/plugins/runtime-modules/dashboard/authoring-client.js +14 -0
- package/plugins/runtime-modules/dashboard/client.d.ts +2 -0
- package/plugins/runtime-modules/dashboard/client.js +13 -0
- package/plugins/runtime-modules/dashboard/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/dashboard/controller/address.js +8 -0
- package/plugins/runtime-modules/dashboard/controller/client.d.ts +18 -0
- package/plugins/runtime-modules/dashboard/controller/client.js +8 -0
- package/plugins/runtime-modules/dashboard/controller/definition.d.ts +16 -0
- package/plugins/runtime-modules/dashboard/controller/definition.js +13 -0
- package/plugins/runtime-modules/dashboard/definition.d.ts +13 -0
- package/plugins/runtime-modules/dashboard/definition.js +25 -0
- package/plugins/runtime-modules/dashboard/ids.d.ts +1 -0
- package/plugins/runtime-modules/dashboard/ids.js +2 -0
- package/plugins/runtime-modules/dashboard/module.d.ts +28 -0
- package/plugins/runtime-modules/dashboard/module.js +6 -0
- package/plugins/runtime-modules/dashboard/presets.d.ts +2 -0
- package/plugins/runtime-modules/dashboard/presets.js +77 -0
- package/plugins/runtime-modules/dashboard/server.d.ts +10 -0
- package/plugins/runtime-modules/dashboard/server.js +24 -0
- package/plugins/runtime-modules/descriptor-compiler.d.ts +105 -0
- package/plugins/runtime-modules/descriptor-compiler.js +1390 -0
- package/plugins/runtime-modules/editor/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/editor/authoring-widgets.js +3 -0
- package/plugins/runtime-modules/editor/authoring.d.ts +1 -0
- package/plugins/runtime-modules/editor/authoring.js +8 -0
- package/plugins/runtime-modules/editor/client.d.ts +1 -0
- package/plugins/runtime-modules/editor/client.js +7 -0
- package/plugins/runtime-modules/editor/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/editor/controller/address.js +8 -0
- package/plugins/runtime-modules/editor/controller/client.d.ts +18 -0
- package/plugins/runtime-modules/editor/controller/client.js +8 -0
- package/plugins/runtime-modules/editor/controller/definition.d.ts +16 -0
- package/plugins/runtime-modules/editor/controller/definition.js +13 -0
- package/plugins/runtime-modules/editor/definition.d.ts +15 -0
- package/plugins/runtime-modules/editor/definition.js +17 -0
- package/plugins/runtime-modules/editor/ids.d.ts +1 -0
- package/plugins/runtime-modules/editor/ids.js +2 -0
- package/plugins/runtime-modules/editor/module.d.ts +28 -0
- package/plugins/runtime-modules/editor/module.js +6 -0
- package/plugins/runtime-modules/editor/presets.d.ts +9 -0
- package/plugins/runtime-modules/editor/presets.js +25 -0
- package/plugins/runtime-modules/editor/server.d.ts +1 -0
- package/plugins/runtime-modules/editor/server.js +14 -0
- package/plugins/runtime-modules/form-builder/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/form-builder/authoring-widgets.js +3 -0
- package/plugins/runtime-modules/form-builder/authoring.d.ts +1 -0
- package/plugins/runtime-modules/form-builder/authoring.js +8 -0
- package/plugins/runtime-modules/form-builder/client.d.ts +1 -0
- package/plugins/runtime-modules/form-builder/client.js +7 -0
- package/plugins/runtime-modules/form-builder/definition.d.ts +13 -0
- package/plugins/runtime-modules/form-builder/definition.js +18 -0
- package/plugins/runtime-modules/form-builder/ids.d.ts +1 -0
- package/plugins/runtime-modules/form-builder/ids.js +2 -0
- package/plugins/runtime-modules/form-builder/module.d.ts +28 -0
- package/plugins/runtime-modules/form-builder/module.js +6 -0
- package/plugins/runtime-modules/form-builder/server.d.ts +1 -0
- package/plugins/runtime-modules/form-builder/server.js +11 -0
- package/plugins/runtime-modules/groups/addresses.d.ts +7 -0
- package/plugins/runtime-modules/groups/addresses.js +31 -0
- package/plugins/runtime-modules/groups/authoring.d.ts +1 -0
- package/plugins/runtime-modules/groups/authoring.js +4 -0
- package/plugins/runtime-modules/groups/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/groups/client-data-providers.js +29 -0
- package/plugins/runtime-modules/groups/client.d.ts +1 -0
- package/plugins/runtime-modules/groups/client.js +7 -0
- package/plugins/runtime-modules/groups/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/groups/controller/address.js +8 -0
- package/plugins/runtime-modules/groups/controller/client.d.ts +52 -0
- package/plugins/runtime-modules/groups/controller/client.js +118 -0
- package/plugins/runtime-modules/groups/controller/definition.d.ts +57 -0
- package/plugins/runtime-modules/groups/controller/definition.js +58 -0
- package/plugins/runtime-modules/groups/data-providers.d.ts +230 -0
- package/plugins/runtime-modules/groups/data-providers.js +211 -0
- package/plugins/runtime-modules/groups/definition.d.ts +298 -0
- package/plugins/runtime-modules/groups/definition.js +46 -0
- package/plugins/runtime-modules/groups/forms.d.ts +55 -0
- package/plugins/runtime-modules/groups/forms.js +263 -0
- package/plugins/runtime-modules/groups/ids.d.ts +7 -0
- package/plugins/runtime-modules/groups/ids.js +9 -0
- package/plugins/runtime-modules/groups/labels.d.ts +90 -0
- package/plugins/runtime-modules/groups/labels.js +165 -0
- package/plugins/runtime-modules/groups/module.d.ts +335 -0
- package/plugins/runtime-modules/groups/module.js +6 -0
- package/plugins/runtime-modules/groups/page-visibility.d.ts +14 -0
- package/plugins/runtime-modules/groups/page-visibility.js +15 -0
- package/plugins/runtime-modules/groups/presets.d.ts +56 -0
- package/plugins/runtime-modules/groups/presets.js +51 -0
- package/plugins/runtime-modules/groups/server.d.ts +1 -0
- package/plugins/runtime-modules/groups/server.js +17 -0
- package/plugins/runtime-modules/groups/services/options-revision.d.ts +9 -0
- package/plugins/runtime-modules/groups/services/options-revision.js +11 -0
- package/plugins/runtime-modules/groups/services/options.d.ts +10 -0
- package/plugins/runtime-modules/groups/services/options.js +127 -0
- package/plugins/runtime-modules/groups/services/table.d.ts +3 -0
- package/plugins/runtime-modules/groups/services/table.js +213 -0
- package/plugins/runtime-modules/localization/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/localization/authoring-widgets.js +3 -0
- package/plugins/runtime-modules/localization/authoring.d.ts +1 -0
- package/plugins/runtime-modules/localization/authoring.js +8 -0
- package/plugins/runtime-modules/localization/client-data-providers.d.ts +11 -0
- package/plugins/runtime-modules/localization/client-data-providers.js +35 -0
- package/plugins/runtime-modules/localization/client.d.ts +1 -0
- package/plugins/runtime-modules/localization/client.js +7 -0
- package/plugins/runtime-modules/localization/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/localization/controller/address.js +8 -0
- package/plugins/runtime-modules/localization/controller/client.d.ts +93 -0
- package/plugins/runtime-modules/localization/controller/client.js +254 -0
- package/plugins/runtime-modules/localization/controller/definition.d.ts +88 -0
- package/plugins/runtime-modules/localization/controller/definition.js +80 -0
- package/plugins/runtime-modules/localization/data-providers.d.ts +250 -0
- package/plugins/runtime-modules/localization/data-providers.js +168 -0
- package/plugins/runtime-modules/localization/definition.d.ts +285 -0
- package/plugins/runtime-modules/localization/definition.js +24 -0
- package/plugins/runtime-modules/localization/forms.d.ts +24 -0
- package/plugins/runtime-modules/localization/forms.js +170 -0
- package/plugins/runtime-modules/localization/ids.d.ts +8 -0
- package/plugins/runtime-modules/localization/ids.js +10 -0
- package/plugins/runtime-modules/localization/module.d.ts +372 -0
- package/plugins/runtime-modules/localization/module.js +6 -0
- package/plugins/runtime-modules/localization/presets.d.ts +25 -0
- package/plugins/runtime-modules/localization/presets.js +23 -0
- package/plugins/runtime-modules/localization/server.d.ts +1 -0
- package/plugins/runtime-modules/localization/server.js +17 -0
- package/plugins/runtime-modules/localization/services/options.d.ts +12 -0
- package/plugins/runtime-modules/localization/services/options.js +107 -0
- package/plugins/runtime-modules/localization/services/table.d.ts +4 -0
- package/plugins/runtime-modules/localization/services/table.js +293 -0
- package/plugins/runtime-modules/module-labels.server.d.ts +4 -0
- package/plugins/runtime-modules/module-labels.server.js +57 -0
- package/plugins/runtime-modules/observability/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/observability/authoring-widgets.js +7 -0
- package/plugins/runtime-modules/observability/authoring.d.ts +1 -0
- package/plugins/runtime-modules/observability/authoring.js +8 -0
- package/plugins/runtime-modules/observability/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/observability/client-data-providers.js +11 -0
- package/plugins/runtime-modules/observability/data-providers.d.ts +47 -0
- package/plugins/runtime-modules/observability/data-providers.js +46 -0
- package/plugins/runtime-modules/observability/definition.d.ts +62 -0
- package/plugins/runtime-modules/observability/definition.js +16 -0
- package/plugins/runtime-modules/observability/ids.d.ts +4 -0
- package/plugins/runtime-modules/observability/ids.js +6 -0
- package/plugins/runtime-modules/observability/module.d.ts +62 -0
- package/plugins/runtime-modules/observability/module.js +4 -0
- package/plugins/runtime-modules/observability/presets.d.ts +30 -0
- package/plugins/runtime-modules/observability/presets.js +25 -0
- package/plugins/runtime-modules/observability/server.d.ts +1 -0
- package/plugins/runtime-modules/observability/server.js +14 -0
- package/plugins/runtime-modules/observability/services/table.d.ts +3 -0
- package/plugins/runtime-modules/observability/services/table.js +81 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.d.ts +3 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.js +8 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/client.d.ts +56 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/client.js +125 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/config.d.ts +58 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/config.js +71 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.d.ts +3 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.js +8 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/server.d.ts +7 -0
- package/plugins/runtime-modules/observability/widgets/log-detail/server.js +13 -0
- package/plugins/runtime-modules/observability/widgets.d.ts +2 -0
- package/plugins/runtime-modules/observability/widgets.js +16 -0
- package/plugins/runtime-modules/preset-contracts/pub-area.d.ts +4 -0
- package/plugins/runtime-modules/preset-contracts/pub-area.js +30 -0
- package/plugins/runtime-modules/preset-version.d.ts +2 -0
- package/plugins/runtime-modules/preset-version.js +7 -0
- package/plugins/runtime-modules/public/authoring.d.ts +1 -0
- package/plugins/runtime-modules/public/authoring.js +4 -0
- package/plugins/runtime-modules/public/client.d.ts +1 -0
- package/plugins/runtime-modules/public/client.js +7 -0
- package/plugins/runtime-modules/public/definition.d.ts +32 -0
- package/plugins/runtime-modules/public/definition.js +19 -0
- package/plugins/runtime-modules/public/ids.d.ts +1 -0
- package/plugins/runtime-modules/public/ids.js +2 -0
- package/plugins/runtime-modules/public/module.d.ts +1 -0
- package/plugins/runtime-modules/public/module.js +4 -0
- package/plugins/runtime-modules/public/server.d.ts +5 -0
- package/plugins/runtime-modules/public/server.js +25 -0
- package/plugins/runtime-modules/render-mode.d.ts +5 -0
- package/plugins/runtime-modules/render-mode.js +17 -0
- package/plugins/runtime-modules/resolver.d.ts +33 -0
- package/plugins/runtime-modules/resolver.js +634 -0
- package/plugins/runtime-modules/revisions/authoring-client.d.ts +2 -0
- package/plugins/runtime-modules/revisions/authoring-client.js +13 -0
- package/plugins/runtime-modules/revisions/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/revisions/authoring-widgets.js +2 -0
- package/plugins/runtime-modules/revisions/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/revisions/client-data-providers.js +17 -0
- package/plugins/runtime-modules/revisions/client.d.ts +2 -0
- package/plugins/runtime-modules/revisions/client.js +13 -0
- package/plugins/runtime-modules/revisions/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/revisions/controller/address.js +8 -0
- package/plugins/runtime-modules/revisions/controller/client.d.ts +38 -0
- package/plugins/runtime-modules/revisions/controller/client.js +192 -0
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +33 -0
- package/plugins/runtime-modules/revisions/controller/definition.js +47 -0
- package/plugins/runtime-modules/revisions/data-providers.d.ts +104 -0
- package/plugins/runtime-modules/revisions/data-providers.js +69 -0
- package/plugins/runtime-modules/revisions/definition.d.ts +117 -0
- package/plugins/runtime-modules/revisions/definition.js +20 -0
- package/plugins/runtime-modules/revisions/ids.d.ts +5 -0
- package/plugins/runtime-modules/revisions/ids.js +7 -0
- package/plugins/runtime-modules/revisions/module.d.ts +149 -0
- package/plugins/runtime-modules/revisions/module.js +6 -0
- package/plugins/runtime-modules/revisions/presets.d.ts +141 -0
- package/plugins/runtime-modules/revisions/presets.js +29 -0
- package/plugins/runtime-modules/revisions/server.d.ts +1 -0
- package/plugins/runtime-modules/revisions/server.js +14 -0
- package/plugins/runtime-modules/revisions/services/options.d.ts +3 -0
- package/plugins/runtime-modules/revisions/services/options.js +94 -0
- package/plugins/runtime-modules/revisions/services/table.d.ts +3 -0
- package/plugins/runtime-modules/revisions/services/table.js +426 -0
- package/plugins/runtime-modules/revisions/types.d.ts +65 -0
- package/plugins/runtime-modules/revisions/types.js +54 -0
- package/plugins/runtime-modules/revisions/widgets.d.ts +2 -0
- package/plugins/runtime-modules/revisions/widgets.js +1 -0
- package/plugins/runtime-modules/route-page-resolution.d.ts +8 -0
- package/plugins/runtime-modules/route-page-resolution.js +16 -0
- package/plugins/runtime-modules/runtime-calendar-adapters.d.ts +15 -0
- package/plugins/runtime-modules/runtime-calendar-adapters.js +17 -0
- package/plugins/runtime-modules/server-capabilities.d.ts +15 -0
- package/plugins/runtime-modules/server-capabilities.js +48 -0
- package/plugins/runtime-modules/settings.d.ts +57 -0
- package/plugins/runtime-modules/settings.js +154 -0
- package/plugins/runtime-modules/shell-tree-composition.d.ts +104 -0
- package/plugins/runtime-modules/shell-tree-composition.js +103 -0
- package/plugins/runtime-modules/site-module-client-manifests.d.ts +41 -0
- package/plugins/runtime-modules/site-module-client-manifests.js +31 -0
- package/plugins/runtime-modules/site-module-contributions.d.ts +28 -0
- package/plugins/runtime-modules/site-module-contributions.js +33 -0
- package/plugins/runtime-modules/site-modules-authoring-client.d.ts +18 -0
- package/plugins/runtime-modules/site-modules-authoring-client.js +5 -0
- package/plugins/runtime-modules/site-modules-client.d.ts +37 -0
- package/plugins/runtime-modules/site-modules-client.js +6 -0
- package/plugins/runtime-modules/site-modules.d.ts +21 -0
- package/plugins/runtime-modules/site-modules.js +2 -0
- package/plugins/runtime-modules/theme/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/theme/authoring-widgets.js +10 -0
- package/plugins/runtime-modules/theme/authoring.d.ts +1 -0
- package/plugins/runtime-modules/theme/authoring.js +8 -0
- package/plugins/runtime-modules/theme/block-catalog.d.ts +15 -0
- package/plugins/runtime-modules/theme/block-catalog.js +33 -0
- package/plugins/runtime-modules/theme/block-descriptors.d.ts +26 -0
- package/plugins/runtime-modules/theme/block-descriptors.js +30 -0
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.d.ts +17 -0
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.js +17 -0
- package/plugins/runtime-modules/theme/blocks/alpine-ground.jpg +0 -0
- package/plugins/runtime-modules/theme/blocks/alpine.d.ts +19 -0
- package/plugins/runtime-modules/theme/blocks/alpine.js +76 -0
- package/plugins/runtime-modules/theme/client-data-providers.d.ts +10 -0
- package/plugins/runtime-modules/theme/client-data-providers.js +21 -0
- package/plugins/runtime-modules/theme/client.d.ts +1 -0
- package/plugins/runtime-modules/theme/client.js +7 -0
- package/plugins/runtime-modules/theme/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/theme/controller/address.js +8 -0
- package/plugins/runtime-modules/theme/controller/client.d.ts +61 -0
- package/plugins/runtime-modules/theme/controller/client.js +18 -0
- package/plugins/runtime-modules/theme/controller/definition.d.ts +67 -0
- package/plugins/runtime-modules/theme/controller/definition.js +76 -0
- package/plugins/runtime-modules/theme/controller/server-definition.d.ts +59 -0
- package/plugins/runtime-modules/theme/controller/server-definition.js +10 -0
- package/plugins/runtime-modules/theme/controller/signals.d.ts +8 -0
- package/plugins/runtime-modules/theme/controller/signals.js +8 -0
- package/plugins/runtime-modules/theme/data-providers.d.ts +9 -0
- package/plugins/runtime-modules/theme/data-providers.js +22 -0
- package/plugins/runtime-modules/theme/definition.d.ts +22 -0
- package/plugins/runtime-modules/theme/definition.js +20 -0
- package/plugins/runtime-modules/theme/ids.d.ts +5 -0
- package/plugins/runtime-modules/theme/ids.js +7 -0
- package/plugins/runtime-modules/theme/materialize-images.d.ts +34 -0
- package/plugins/runtime-modules/theme/materialize-images.js +159 -0
- package/plugins/runtime-modules/theme/module.d.ts +79 -0
- package/plugins/runtime-modules/theme/module.js +6 -0
- package/plugins/runtime-modules/theme/presets.d.ts +141 -0
- package/plugins/runtime-modules/theme/presets.js +29 -0
- package/plugins/runtime-modules/theme/server.d.ts +1 -0
- package/plugins/runtime-modules/theme/server.js +16 -0
- package/plugins/runtime-modules/theme/services/options.d.ts +6 -0
- package/plugins/runtime-modules/theme/services/options.js +11 -0
- package/plugins/runtime-modules/theme/set-options.d.ts +18 -0
- package/plugins/runtime-modules/theme/set-options.js +37 -0
- package/plugins/runtime-modules/theme/theme-descriptors.d.ts +80 -0
- package/plugins/runtime-modules/theme/theme-descriptors.js +34 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +76 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.js +30 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.d.ts +40 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +2467 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.d.ts +13 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +119 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/plugin.d.ts +7 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/plugin.js +30 -0
- package/plugins/runtime-modules/theme/widgets.d.ts +2 -0
- package/plugins/runtime-modules/theme/widgets.js +42 -0
- package/plugins/runtime-modules/user-management/addresses.d.ts +3 -0
- package/plugins/runtime-modules/user-management/addresses.js +17 -0
- package/plugins/runtime-modules/user-management/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/user-management/authoring-widgets.js +3 -0
- package/plugins/runtime-modules/user-management/authoring.d.ts +1 -0
- package/plugins/runtime-modules/user-management/authoring.js +8 -0
- package/plugins/runtime-modules/user-management/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/user-management/client-data-providers.js +11 -0
- package/plugins/runtime-modules/user-management/client.d.ts +1 -0
- package/plugins/runtime-modules/user-management/client.js +7 -0
- package/plugins/runtime-modules/user-management/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/user-management/controller/address.js +8 -0
- package/plugins/runtime-modules/user-management/controller/client.d.ts +68 -0
- package/plugins/runtime-modules/user-management/controller/client.js +316 -0
- package/plugins/runtime-modules/user-management/controller/definition.d.ts +66 -0
- package/plugins/runtime-modules/user-management/controller/definition.js +67 -0
- package/plugins/runtime-modules/user-management/data-providers.d.ts +157 -0
- package/plugins/runtime-modules/user-management/data-providers.js +84 -0
- package/plugins/runtime-modules/user-management/definition.d.ts +192 -0
- package/plugins/runtime-modules/user-management/definition.js +24 -0
- package/plugins/runtime-modules/user-management/forms.d.ts +24 -0
- package/plugins/runtime-modules/user-management/forms.js +219 -0
- package/plugins/runtime-modules/user-management/ids.d.ts +4 -0
- package/plugins/runtime-modules/user-management/ids.js +6 -0
- package/plugins/runtime-modules/user-management/module.d.ts +257 -0
- package/plugins/runtime-modules/user-management/module.js +6 -0
- package/plugins/runtime-modules/user-management/presets.d.ts +30 -0
- package/plugins/runtime-modules/user-management/presets.js +30 -0
- package/plugins/runtime-modules/user-management/server.d.ts +1 -0
- package/plugins/runtime-modules/user-management/server.js +15 -0
- package/plugins/runtime-modules/user-management/services/table.d.ts +3 -0
- package/plugins/runtime-modules/user-management/services/table.js +207 -0
- package/references.d.ts +1 -0
- package/references.js +1 -0
- package/root.d.ts +4 -0
- package/root.js +2 -0
- package/runtime-authoring-client.d.ts +8 -0
- package/runtime-authoring-client.js +6 -0
- package/runtime-authoring-manifest-client.d.ts +4 -0
- package/runtime-authoring-manifest-client.js +3 -0
- package/runtime-calendar-adapter-client.d.ts +3 -0
- package/runtime-calendar-adapter-client.js +2 -0
- package/runtime-client-manifests-accounting.d.ts +1 -0
- package/runtime-client-manifests-accounting.js +1 -0
- package/runtime-client-manifests-admin.d.ts +1 -0
- package/runtime-client-manifests-admin.js +1 -0
- package/runtime-client-manifests-app.d.ts +1 -0
- package/runtime-client-manifests-app.js +1 -0
- package/runtime-client-manifests-builder.d.ts +2 -0
- package/runtime-client-manifests-builder.js +2 -0
- package/runtime-client-manifests-editor.d.ts +1 -0
- package/runtime-client-manifests-editor.js +1 -0
- package/runtime-client-manifests-public.d.ts +5 -0
- package/runtime-client-manifests-public.js +1 -0
- package/runtime-controller-client.d.ts +7 -0
- package/runtime-controller-client.js +5 -0
- package/runtime-data-provider-client.d.ts +20 -0
- package/runtime-data-provider-client.js +19 -0
- package/runtime-render-client.d.ts +2 -0
- package/runtime-render-client.js +1 -0
- package/runtime-signal-client.d.ts +5 -0
- package/runtime-signal-client.js +5 -0
- package/runtime.d.ts +2 -0
- package/runtime.js +1 -0
- package/server-helpers/area-root-route.d.ts +36 -0
- package/server-helpers/area-root-route.js +67 -0
- package/server-helpers/cms-area.d.ts +11 -0
- package/server-helpers/cms-area.js +55 -0
- package/server-helpers/cms-node-features.d.ts +20 -0
- package/server-helpers/cms-node-features.js +65 -0
- package/server-helpers/cms-request.d.ts +41 -0
- package/server-helpers/cms-request.js +325 -0
- package/server-helpers/cms-review.d.ts +19 -0
- package/server-helpers/cms-review.js +71 -0
- package/server-helpers/cms-root.d.ts +64 -0
- package/server-helpers/cms-root.js +251 -0
- package/server-helpers/cms-route.d.ts +11 -0
- package/server-helpers/cms-route.js +57 -0
- package/server-helpers/cms.d.ts +20 -0
- package/server-helpers/cms.js +44 -0
- package/server-helpers/phi-runtime.d.ts +12 -0
- package/server-helpers/phi-runtime.js +48 -0
- package/server-helpers/public-login-route.d.ts +21 -0
- package/server-helpers/public-login-route.js +92 -0
- package/server-helpers/request-locale.d.ts +6 -0
- package/server-helpers/request-locale.js +31 -0
- package/server-helpers/request-runtime.d.ts +16 -0
- package/server-helpers/request-runtime.js +53 -0
- package/server-helpers/root-layout.d.ts +13 -0
- package/server-helpers/root-layout.js +77 -0
- package/server-helpers/runtime.d.ts +214 -0
- package/server-helpers/runtime.js +178 -0
- package/server-helpers/site-locale.d.ts +14 -0
- package/server-helpers/site-locale.js +136 -0
- package/server-helpers/static-render.d.ts +9 -0
- package/server-helpers/static-render.js +18 -0
- package/server-helpers/translate.d.ts +13 -0
- package/server-helpers/translate.js +123 -0
- package/server-helpers.d.ts +8 -0
- package/server-helpers.js +8 -0
- package/shells.d.ts +3 -0
- package/shells.js +2 -0
- package/state.d.ts +1 -0
- package/state.js +1 -0
- package/styles/builder-scaffold.css +452 -0
- package/styles/control-shape.css +71 -0
- package/styles/layout-affordances.css +58 -0
- package/styles/layout-authoring-scaffold.css +584 -0
- package/styles/layout.css +337 -0
- package/styles/root.css +213 -0
- package/styles/shell.css +421 -0
- package/theme/antd-css-var-contract.d.ts +88 -0
- package/theme/antd-css-var-contract.js +88 -0
- package/theme/phi-antd-token-resolver.d.ts +4 -0
- package/theme/phi-antd-token-resolver.js +49 -0
- package/theme/phi-button-shadow.d.ts +33 -0
- package/theme/phi-button-shadow.js +64 -0
- package/theme/phi-container-breakpoints.d.ts +2 -0
- package/theme/phi-container-breakpoints.js +2 -0
- package/theme/phi-control-shape.d.ts +102 -0
- package/theme/phi-control-shape.js +149 -0
- package/theme/phi-css-vars.d.ts +10 -0
- package/theme/phi-css-vars.js +61 -0
- package/theme/phi-font-catalogue-contract.d.ts +20 -0
- package/theme/phi-font-catalogue-contract.js +12 -0
- package/theme/phi-font-catalogue.d.ts +30 -0
- package/theme/phi-font-catalogue.js +75 -0
- package/theme/phi-font-face.d.ts +72 -0
- package/theme/phi-font-face.js +145 -0
- package/theme/phi-published-root-style.d.ts +15 -0
- package/theme/phi-published-root-style.js +18 -0
- package/theme/phi-root-background.server.d.ts +15 -0
- package/theme/phi-root-background.server.js +43 -0
- package/theme/phi-server-tokens.d.ts +54 -0
- package/theme/phi-server-tokens.js +77 -0
- package/theme/phi-theme-adoption.d.ts +73 -0
- package/theme/phi-theme-adoption.js +93 -0
- package/theme/phi-theme-blocks.d.ts +142 -0
- package/theme/phi-theme-blocks.js +154 -0
- package/theme/phi-theme-brand-logo.d.ts +12 -0
- package/theme/phi-theme-brand-logo.js +12 -0
- package/theme/phi-theme-composition.d.ts +111 -0
- package/theme/phi-theme-composition.js +122 -0
- package/theme/phi-theme-fonts.server.d.ts +47 -0
- package/theme/phi-theme-fonts.server.js +85 -0
- package/theme/phi-theme-ground-image.d.ts +17 -0
- package/theme/phi-theme-ground-image.js +17 -0
- package/theme/phi-theme-mode.d.ts +47 -0
- package/theme/phi-theme-mode.js +84 -0
- package/theme/phi-theme-palette.d.ts +17 -0
- package/theme/phi-theme-palette.js +35 -0
- package/theme/phi-theme-presets.d.ts +103 -0
- package/theme/phi-theme-presets.js +122 -0
- package/theme/phi-theme-runtime.d.ts +57 -0
- package/theme/phi-theme-runtime.js +56 -0
- package/theme/phi-theme-selection.d.ts +73 -0
- package/theme/phi-theme-selection.js +101 -0
- package/theme/phi-theme-typography.d.ts +35 -0
- package/theme/phi-theme-typography.js +39 -0
- package/theme/phi-theme.d.ts +60 -0
- package/theme/phi-theme.js +63 -0
- package/theme/phi-tokens.d.ts +60 -0
- package/theme/phi-tokens.js +51 -0
- package/theme.d.ts +9 -0
- package/theme.js +9 -0
- package/types/access.d.ts +83 -0
- package/types/access.js +95 -0
- package/types/auth-manifest.d.ts +25 -0
- package/types/auth-manifest.js +1 -0
- package/types/builder.d.ts +44 -0
- package/types/builder.js +1 -0
- package/types/calendar.d.ts +175 -0
- package/types/calendar.js +88 -0
- package/types/cms-config.d.ts +198 -0
- package/types/cms-config.js +551 -0
- package/types/cms-container.d.ts +16 -0
- package/types/cms-container.js +1 -0
- package/types/cms-instance-id.d.ts +20 -0
- package/types/cms-instance-id.js +30 -0
- package/types/cms-module-descriptors.d.ts +333 -0
- package/types/cms-module-descriptors.js +1 -0
- package/types/cms-mount-policy.d.ts +71 -0
- package/types/cms-mount-policy.js +77 -0
- package/types/cms-overlay.d.ts +49 -0
- package/types/cms-overlay.js +114 -0
- package/types/cms-plugins.d.ts +647 -0
- package/types/cms-plugins.js +1 -0
- package/types/cms-presets.d.ts +84 -0
- package/types/cms-presets.js +1 -0
- package/types/cms.d.ts +155 -0
- package/types/cms.js +1 -0
- package/types/collection-provider.d.ts +79 -0
- package/types/collection-provider.js +1 -0
- package/types/control.d.ts +10 -0
- package/types/control.js +13 -0
- package/types/core-runtime-controller.d.ts +48 -0
- package/types/core-runtime-controller.js +134 -0
- package/types/dimension.d.ts +2 -0
- package/types/dimension.js +16 -0
- package/types/form-descriptor.d.ts +182 -0
- package/types/form-descriptor.js +3 -0
- package/types/form-id.d.ts +5 -0
- package/types/form-id.js +30 -0
- package/types/layout-style.d.ts +24 -0
- package/types/layout-style.js +34 -0
- package/types/length.d.ts +10 -0
- package/types/length.js +33 -0
- package/types/media.d.ts +220 -0
- package/types/media.js +13 -0
- package/types/references.d.ts +30 -0
- package/types/references.js +114 -0
- package/types/renderable-block.d.ts +107 -0
- package/types/renderable-block.js +1 -0
- package/types/responsive.d.ts +11 -0
- package/types/responsive.js +8 -0
- package/types/runtime-condition.d.ts +92 -0
- package/types/runtime-condition.js +179 -0
- package/types/runtime-data-provider.d.ts +10 -0
- package/types/runtime-data-provider.js +7 -0
- package/types/runtime-module-locale.d.ts +5 -0
- package/types/runtime-module-locale.js +17 -0
- package/types/server-capabilities.d.ts +24 -0
- package/types/server-capabilities.js +15 -0
- package/types/signals.d.ts +170 -0
- package/types/signals.js +304 -0
- package/types/site-theme.d.ts +136 -0
- package/types/site-theme.js +1 -0
- package/types/slot-size-policy.d.ts +10 -0
- package/types/slot-size-policy.js +1 -0
- package/types/spacing.d.ts +3 -0
- package/types/spacing.js +14 -0
- package/types/table-widget.d.ts +532 -0
- package/types/table-widget.js +581 -0
- package/types/tree-widget.d.ts +205 -0
- package/types/tree-widget.js +101 -0
- package/types/tree.d.ts +7 -0
- package/types/tree.js +1 -0
- package/types/widget-runtime.d.ts +154 -0
- package/types/widget-runtime.js +1 -0
- package/types/widget-ui.d.ts +1 -0
- package/types/widget-ui.js +1 -0
- package/types.d.ts +69 -0
- package/types.js +21 -0
- package/widget-config.d.ts +9 -0
- package/widget-config.js +8 -0
- package/widgets.d.ts +64 -0
- package/widgets.js +36 -0
|
@@ -0,0 +1,1940 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useEffect, useEffectEvent, useMemo, useRef } from "react";
|
|
3
|
+
import { usePathname, useRouter, useSearchParams } from "next/navigation";
|
|
4
|
+
import { createPhiSignalAddress, createPhiSignalSubcontrolAddress, PHI_SIGNAL_VALUE_SCHEMAS } from "../../../types/signals";
|
|
5
|
+
import { readPhiTableBindingParamsSignalValue } from "../../../types/table-widget";
|
|
6
|
+
import { createPhiPresetCmsInstanceId, readPhiCmsInstanceId } from "../../../types/cms-instance-id";
|
|
7
|
+
import { usePhiSignalDispatcher, usePhiSignalListener, } from "../../../components/runtime/runtime-signal-bus";
|
|
8
|
+
import { usePhiApplicationFeedback } from "../../../components/runtime/use-phi-application-feedback";
|
|
9
|
+
import { resolvePhiRuntimeModuleIdsForArea } from "../../../plugins/runtime-modules/settings";
|
|
10
|
+
import { PHI_BUILDER_PREVIEW_SEARCH_PARAM, } from "./preview-transport";
|
|
11
|
+
import { PHI_BUILDER_AREA_SEARCH_PARAM, PHI_BUILDER_NAVIGATION_KEY_SEARCH_PARAM, PHI_BUILDER_PAGE_SEARCH_PARAM, PHI_BUILDER_RUNTIME_MODULES_SEARCH_PARAM, normalizePhiBuilderAreaSearchParam, normalizePhiBuilderPageSearchParam, serializePhiBuilderRuntimeModuleIdsSearchParam, } from "../../../helpers/cms-scope-search-params";
|
|
12
|
+
import { createPhiBuilderControllerAddress } from "./controller/address";
|
|
13
|
+
import { readPhiBuilderInspectorAction, } from "./inspector-actions";
|
|
14
|
+
import { createEmptyPhiBuilderModulePresetPagesByArea, resolvePhiBuilderActivePageCatalog, resolvePhiBuilderActivePageKey, resolvePhiBuilderPageKeyFromCatalogPath, } from "../../../helpers/cms-page-catalog";
|
|
15
|
+
import { loadPhiBuilderPersistedPageCatalog } from "./page-catalog-client";
|
|
16
|
+
import { resolvePhiBuilderOfferedPageKey, } from "./offered-page-catalog";
|
|
17
|
+
import { isPhiBuilderAreaKey, resolvePhiBuilderAreaAsCmsArea, } from "../../../constants/cms-areas";
|
|
18
|
+
import { resolvePhiRuntimeAreaDefinition } from "../../../plugins/runtime-modules/area-definitions";
|
|
19
|
+
import { resolvePhiBuilderNavigationWidgetNavKey } from "./navigation-widget-runtime";
|
|
20
|
+
import { parsePhiBuilderNavigationScopeKey } from "../../../helpers/cms-navigation-catalog";
|
|
21
|
+
import { builderWorkspaceStore, usePhiDeveloperBuilderWorkspaceState, completePhiDeveloperBuilderEffectsEditor, createDefaultBuilderChromeControls, normalizePhiDeveloperBuilderArea as normalizeBuilderArea, selectPhiDeveloperBuilderNode, usePhiDeveloperRegionDraft, getPhiDeveloperBuilderStateSnapshot, setPhiDeveloperBuilderAreaRootRoute, readPhiBuilderEffectiveAreaRootRoute, setPhiDeveloperBuilderAreaRootRoutes, setPhiDeveloperBuilderAreaMeta, setPhiDeveloperBuilderAreaMetaBaseline, readPhiBuilderEffectiveAreaMeta, closePhiBuilderModuleDeactivationRequest, closePhiBuilderPublicRouteCollisionRequest, } from "./developer-workspace-store";
|
|
22
|
+
import { PHI_BUILDER_AREA_LANDING_PAGE_EMPTY, PHI_BUILDER_AREA_ROOT_ROUTE_AUTOMATIC, PHI_BUILDER_AREA_ROOT_ROUTE_LANDING, } from "./options-providers";
|
|
23
|
+
import { PHI_AREA_META_PUBLIC_DEFAULTS } from "../../../helpers/cms-area-config";
|
|
24
|
+
import { getPhiBuilderRegionDraftKey } from "./region-keys";
|
|
25
|
+
import { getDefaultRegionDraft } from "./developer-region-drafts";
|
|
26
|
+
import { isPhiAreaScopedBuilderPage, isPhiDebugScaffoldBuilderPage, readPhiDeveloperBuilderWorkspaceKey, resolvePhiDeveloperBuilderCommandWorkspace, resolvePhiDeveloperBuilderRouteScope, } from "./route-scope";
|
|
27
|
+
import { usePhiDeveloperBuilderPreviewModeController, } from "./preview-controller";
|
|
28
|
+
import { runPhiDeveloperBuilderInspectorAction } from "./inspector-controller";
|
|
29
|
+
import { PHI_BUILDER_SIGNAL_WIRING_FORM_CONTROLLER_ADDRESS, patchPhiBuilderSignalWiringSession, resetPhiBuilderSignalWiringSession, resolvePhiBuilderSignalWiringRoutes, resolvePhiBuilderSignalWiringRoutesWithout, } from "./signal-wiring-controller";
|
|
30
|
+
import { readPhiTableActionSignalValue } from "../../../types/table-widget";
|
|
31
|
+
import { usePhiBuilderPageController } from "./page-controller";
|
|
32
|
+
import { PHI_BUILDER_EFFECTS_FORM_WIDGET_IDS, PHI_BUILDER_INSPECTOR_DRAWER_OVERLAY_IDS, PHI_BUILDER_INSPECTOR_OVERLAY_IDS, PHI_BUILDER_INSPECTOR_WIDGET_IDS, } from "./inspector-overlay-addresses";
|
|
33
|
+
import { PHI_BUILDER_MODULES_TABLE_WIDGET_ID, PHI_BUILDER_MODULE_DETAIL_OVERLAY_IDS, PHI_BUILDER_MODULE_DETAIL_WIDGET_IDS, PHI_BUILDER_PUBLIC_ROUTES_OVERLAY_IDS, PHI_BUILDER_PUBLIC_ROUTES_WIDGET_IDS, PHI_BUILDER_SHELLS_WIDGET_IDS, PHI_BUILDER_AREA_SETTINGS_OVERLAY_IDS, PHI_BUILDER_MODULE_USAGE_OVERLAY_IDS, PHI_BUILDER_MODULE_USAGE_WIDGET_IDS, } from "../../../helpers/cms-page-addresses";
|
|
34
|
+
import { readPhiRuntimeFormValuesSignalValue } from "../../../components/forms/runtime-form-state";
|
|
35
|
+
import { PHI_BUILDER_EFFECTS_SECTIONS, mergePhiBuilderEffectsFormValues, splitPhiBuilderEffectsFormValues, } from "./effects-form-values";
|
|
36
|
+
import { usePhiBuilderDraftCommandController, } from "./draft-command-controller";
|
|
37
|
+
import { applyPhiDeveloperBuilderSiderLeftMode, } from "./region-controller";
|
|
38
|
+
import { createPhiBuilderHistoryContext, phiBuilderHistory, } from "./history";
|
|
39
|
+
import { applyPhiBuilderRuntimeModuleSelectionChange, applyPhiBuilderRuntimeModuleSelectionChanges, areRuntimeModuleIdsEqual, } from "./runtime-module-selection";
|
|
40
|
+
import { applyPhiBuilderPublicRouteAssignments, findPhiBuilderPublicRouteAnswerProblem, } from "./public-route-collisions";
|
|
41
|
+
import { createPhiCommandToolbarControlAddress } from "../../../components/widgets/signals/command-toolbar-address";
|
|
42
|
+
import { PHI_BUILDER_RUNTIME_MODULE_ID } from "../../../plugins/runtime-modules/builder/ids";
|
|
43
|
+
import { createPhiRuntimeFormControllerAddress } from "../../../components/forms/runtime-form-controller-address";
|
|
44
|
+
import { phiWorkspaceCatalogStore } from "../../../components/workspace/catalog-store";
|
|
45
|
+
import { PHI_BUILDER_PAGE_META_DEFAULT_PRESENTATION_LABELS, } from "./controller/definition";
|
|
46
|
+
const EMPTY_RUNTIME_MODULE_IDS_BY_AREA = {};
|
|
47
|
+
const EMPTY_MODULE_PRESET_PAGES_BY_AREA = createEmptyPhiBuilderModulePresetPagesByArea();
|
|
48
|
+
const EMPTY_PUBLIC_ROUTE_CLAIMS = [];
|
|
49
|
+
const EMPTY_PUBLIC_ROUTE_PATHS = [];
|
|
50
|
+
const EMPTY_AREA_ROOT_ROUTES = {};
|
|
51
|
+
const EMPTY_AREA_META = {};
|
|
52
|
+
function readPhiDeveloperBuilderToolbarCommand(value) {
|
|
53
|
+
if (value === "save" ||
|
|
54
|
+
value === "preview" ||
|
|
55
|
+
value === "publish" ||
|
|
56
|
+
value === "undo" ||
|
|
57
|
+
value === "redo" ||
|
|
58
|
+
value === "reset" ||
|
|
59
|
+
value === "restorePreset") {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
function serializeRuntimeModuleIds(moduleIds) {
|
|
65
|
+
return JSON.stringify(moduleIds ?? []);
|
|
66
|
+
}
|
|
67
|
+
function serializeRuntimeModuleDefinitions(definitions) {
|
|
68
|
+
return JSON.stringify(definitions ?? []);
|
|
69
|
+
}
|
|
70
|
+
function selectRuntimeModuleIds(moduleIds, area, definitions) {
|
|
71
|
+
return resolvePhiRuntimeModuleIdsForArea(area, moduleIds, definitions);
|
|
72
|
+
}
|
|
73
|
+
function resolveBuilderActiveModuleIds(area, moduleIds, definitions) {
|
|
74
|
+
const cmsArea = resolvePhiBuilderAreaAsCmsArea(area);
|
|
75
|
+
const activeModuleIds = new Set([
|
|
76
|
+
resolvePhiRuntimeAreaDefinition(cmsArea).baseModuleId,
|
|
77
|
+
...definitions
|
|
78
|
+
.filter((definition) => definition.kind === "platform")
|
|
79
|
+
.map((definition) => definition.moduleId),
|
|
80
|
+
...selectRuntimeModuleIds(moduleIds, area, definitions),
|
|
81
|
+
]);
|
|
82
|
+
return activeModuleIds;
|
|
83
|
+
}
|
|
84
|
+
function filterPresetPageNodes(nodes, activeModuleIds) {
|
|
85
|
+
return nodes.flatMap((node) => {
|
|
86
|
+
if (node.sourcePreset && !activeModuleIds.has(node.sourcePreset.ownerModuleId)) {
|
|
87
|
+
return [];
|
|
88
|
+
}
|
|
89
|
+
const children = filterPresetPageNodes(node.children ?? [], activeModuleIds);
|
|
90
|
+
if (!node.sourcePreset && node.children && children.length === 0) {
|
|
91
|
+
return [];
|
|
92
|
+
}
|
|
93
|
+
return [{ ...node, ...(node.children ? { children } : {}) }];
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
function filterNavigationItems(items, activeModuleIds) {
|
|
97
|
+
return items.flatMap((item) => {
|
|
98
|
+
if (item.ownerModuleId && !activeModuleIds.has(item.ownerModuleId)) {
|
|
99
|
+
return [];
|
|
100
|
+
}
|
|
101
|
+
return [{ ...item, children: filterNavigationItems(item.children, activeModuleIds) }];
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function filterBuilderModuleCatalogs(modulePresetPagesByArea, navigationSurfacesByArea, runtimeModuleIdsByArea, definitions) {
|
|
105
|
+
const filteredPages = createEmptyPhiBuilderModulePresetPagesByArea();
|
|
106
|
+
const filteredNavigation = {};
|
|
107
|
+
for (const area of Object.keys(filteredPages)) {
|
|
108
|
+
const activeModuleIds = resolveBuilderActiveModuleIds(area, runtimeModuleIdsByArea[area], definitions);
|
|
109
|
+
filteredPages[area] = filterPresetPageNodes(modulePresetPagesByArea[area] ?? [], activeModuleIds);
|
|
110
|
+
filteredNavigation[area] = (navigationSurfacesByArea[area] ?? []).map((surface) => ({
|
|
111
|
+
...surface,
|
|
112
|
+
items: filterNavigationItems(surface.items, activeModuleIds),
|
|
113
|
+
}));
|
|
114
|
+
}
|
|
115
|
+
return {
|
|
116
|
+
modulePresetPagesByArea: filteredPages,
|
|
117
|
+
navigationSurfacesByArea: filteredNavigation,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function usePhiDeveloperBuilderWorkspaceController(defaultArea, options = {}) {
|
|
121
|
+
const { showMessage } = usePhiApplicationFeedback();
|
|
122
|
+
const dispatchSignal = usePhiSignalDispatcher();
|
|
123
|
+
const effectsWorkflowCorrelationRef = useRef(null);
|
|
124
|
+
const initializedEffectsCorrelationRef = useRef(null);
|
|
125
|
+
const effectsFormSubmissionRef = useRef(null);
|
|
126
|
+
const { shellPresetDraftsByArea = {}, runtimeModuleDefinitions = [], runtimeModuleIdsByArea = {}, modulePresetPagesByArea = EMPTY_MODULE_PRESET_PAGES_BY_AREA, areaPresetSourcesByArea = {}, navigationSurfacesByArea = {}, unresolvedModuleIdsByArea = EMPTY_RUNTIME_MODULE_IDS_BY_AREA, publicRouteClaims = EMPTY_PUBLIC_ROUTE_CLAIMS, publicRoutePaths = EMPTY_PUBLIC_ROUTE_PATHS, areaRootRoutesByArea = EMPTY_AREA_ROOT_ROUTES, areaMetaByArea = EMPTY_AREA_META, pageMetaLabels = PHI_BUILDER_PAGE_META_DEFAULT_PRESENTATION_LABELS, } = options;
|
|
127
|
+
const state = usePhiDeveloperBuilderWorkspaceState(defaultArea);
|
|
128
|
+
const effectsOverlayAddress = createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.effectsEditor);
|
|
129
|
+
const router = useRouter();
|
|
130
|
+
const pathname = usePathname();
|
|
131
|
+
const searchParams = useSearchParams();
|
|
132
|
+
const commandWorkspace = resolvePhiDeveloperBuilderCommandWorkspace(pathname);
|
|
133
|
+
const builderWorkspaceKey = readPhiDeveloperBuilderWorkspaceKey(pathname);
|
|
134
|
+
const isNavigationWorkspace = builderWorkspaceKey === "navigation";
|
|
135
|
+
const isBuilderWorkspace = builderWorkspaceKey !== null && builderWorkspaceKey !== "dashboard" &&
|
|
136
|
+
builderWorkspaceKey !== "settings";
|
|
137
|
+
const hasPreviewSnapshot = searchParams.has(PHI_BUILDER_PREVIEW_SEARCH_PARAM);
|
|
138
|
+
const scopeAreaFromSearch = normalizePhiBuilderAreaSearchParam(searchParams.get(PHI_BUILDER_AREA_SEARCH_PARAM));
|
|
139
|
+
const scopePageFromSearch = normalizePhiBuilderPageSearchParam(searchParams.get(PHI_BUILDER_PAGE_SEARCH_PARAM));
|
|
140
|
+
const { enterEditor, enterPreview } = usePhiDeveloperBuilderPreviewModeController(state);
|
|
141
|
+
const effectiveArea = scopeAreaFromSearch ?? state.area;
|
|
142
|
+
const effectivePageKey = scopePageFromSearch ?? state.pageKey;
|
|
143
|
+
const siderLeftDraftKey = getPhiBuilderRegionDraftKey(effectiveArea, "sider_left", effectivePageKey);
|
|
144
|
+
const siderLeftDraft = usePhiDeveloperRegionDraft(siderLeftDraftKey);
|
|
145
|
+
const resolvedSiderLeftDraft = siderLeftDraft ??
|
|
146
|
+
shellPresetDraftsByArea[effectiveArea]?.[siderLeftDraftKey] ??
|
|
147
|
+
getDefaultRegionDraft("sider_left");
|
|
148
|
+
const siderLeftFullHeight = resolvedSiderLeftDraft.regionConfig?.fullHeight === true;
|
|
149
|
+
const handledSiderLayoutRef = useRef(null);
|
|
150
|
+
const effectiveNavKey = resolvePhiBuilderNavigationWidgetNavKey(null, searchParams.get(PHI_BUILDER_NAVIGATION_KEY_SEARCH_PARAM), effectiveArea);
|
|
151
|
+
const { currentPageTree, emitPageTitleInputValue, navigateToBuilderPage, openPageMetaDialog, pageMetaDialog, } = usePhiBuilderPageController({
|
|
152
|
+
defaultArea,
|
|
153
|
+
effectiveArea,
|
|
154
|
+
effectivePageKey,
|
|
155
|
+
pageMetaLabels,
|
|
156
|
+
state,
|
|
157
|
+
});
|
|
158
|
+
const { confirmResetPage, runBuilderCommand } = usePhiBuilderDraftCommandController({
|
|
159
|
+
commandWorkspace,
|
|
160
|
+
defaultArea,
|
|
161
|
+
effectiveArea,
|
|
162
|
+
effectiveNavKey,
|
|
163
|
+
effectivePageKey,
|
|
164
|
+
pathname,
|
|
165
|
+
shellPresetDraftsByArea,
|
|
166
|
+
state,
|
|
167
|
+
});
|
|
168
|
+
const currentRuntimeModuleIdsByArea = state.runtimeModuleIdsByArea ?? EMPTY_RUNTIME_MODULE_IDS_BY_AREA;
|
|
169
|
+
const activePreloadCatalogs = useMemo(() => filterBuilderModuleCatalogs(modulePresetPagesByArea, navigationSurfacesByArea, runtimeModuleIdsByArea, runtimeModuleDefinitions), [
|
|
170
|
+
modulePresetPagesByArea,
|
|
171
|
+
navigationSurfacesByArea,
|
|
172
|
+
runtimeModuleDefinitions,
|
|
173
|
+
runtimeModuleIdsByArea,
|
|
174
|
+
]);
|
|
175
|
+
const runtimeModuleIdsPreloadKey = serializeRuntimeModuleIds(Object.values(runtimeModuleIdsByArea).flat());
|
|
176
|
+
const runtimeModuleDefinitionsPreloadKey = serializeRuntimeModuleDefinitions(runtimeModuleDefinitions);
|
|
177
|
+
const modulePresetPagesPreloadKey = JSON.stringify(activePreloadCatalogs.modulePresetPagesByArea);
|
|
178
|
+
const areaPresetSourcesPreloadKey = JSON.stringify(areaPresetSourcesByArea);
|
|
179
|
+
const navigationSurfacesPreloadKey = JSON.stringify(activePreloadCatalogs.navigationSurfacesByArea);
|
|
180
|
+
const unresolvedModuleIdsPreloadKey = JSON.stringify(unresolvedModuleIdsByArea);
|
|
181
|
+
const publicRouteClaimsPreloadKey = JSON.stringify(publicRouteClaims);
|
|
182
|
+
const publicRoutePathsPreloadKey = JSON.stringify(publicRoutePaths);
|
|
183
|
+
const areaRootRoutesPreloadKey = JSON.stringify(areaRootRoutesByArea);
|
|
184
|
+
/*
|
|
185
|
+
* The Areas' root routes, handed to every workspace rather than to /shells alone.
|
|
186
|
+
*
|
|
187
|
+
* It is a baseline and not a draft: /pages reads it to leave `/` out of its page selector while the
|
|
188
|
+
* root forwards, and nothing about that is an edit.
|
|
189
|
+
*/
|
|
190
|
+
useEffect(() => {
|
|
191
|
+
setPhiDeveloperBuilderAreaRootRoutes(areaRootRoutesByArea);
|
|
192
|
+
// The serialized preload is the identity that matters; the object is rebuilt on every render.
|
|
193
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
194
|
+
}, [areaRootRoutesPreloadKey]);
|
|
195
|
+
// What the Areas said about being found, read from the same revision and set the same way.
|
|
196
|
+
const areaMetaPreloadKey = JSON.stringify(areaMetaByArea);
|
|
197
|
+
useEffect(() => {
|
|
198
|
+
setPhiDeveloperBuilderAreaMetaBaseline(areaMetaByArea);
|
|
199
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
200
|
+
}, [areaMetaPreloadKey]);
|
|
201
|
+
const signalWiringOverlayAddress = createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.signalWiring);
|
|
202
|
+
const signalWiringFormAddress = createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.signalWiringForm);
|
|
203
|
+
const openedSignalWiringCorrelationRef = useRef(null);
|
|
204
|
+
useEffect(() => {
|
|
205
|
+
const request = state.signalWiringRequest;
|
|
206
|
+
if (!request || openedSignalWiringCorrelationRef.current === request.correlationId) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
openedSignalWiringCorrelationRef.current = request.correlationId;
|
|
210
|
+
// A wiring session belongs to the block it was opened on, so it starts empty every time.
|
|
211
|
+
resetPhiBuilderSignalWiringSession(defaultArea);
|
|
212
|
+
dispatchSignal({
|
|
213
|
+
scope: "area",
|
|
214
|
+
channel: "reset",
|
|
215
|
+
action: "activate",
|
|
216
|
+
value: null,
|
|
217
|
+
valueType: "none",
|
|
218
|
+
correlationId: request.correlationId,
|
|
219
|
+
sender: createPhiBuilderControllerAddress(),
|
|
220
|
+
receiver: signalWiringFormAddress,
|
|
221
|
+
timestamp: Date.now(),
|
|
222
|
+
});
|
|
223
|
+
// The Table is mounted eagerly with the overlay, so its rows may still belong to the block wired
|
|
224
|
+
// last time; opening on a new one has to ask for them again.
|
|
225
|
+
dispatchSignal({
|
|
226
|
+
scope: "area",
|
|
227
|
+
channel: "reload",
|
|
228
|
+
action: "activate",
|
|
229
|
+
value: null,
|
|
230
|
+
valueType: "none",
|
|
231
|
+
correlationId: request.correlationId,
|
|
232
|
+
sender: createPhiBuilderControllerAddress(),
|
|
233
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.signalWiringRoutes),
|
|
234
|
+
timestamp: Date.now(),
|
|
235
|
+
});
|
|
236
|
+
queueMicrotask(() => dispatchSignal({
|
|
237
|
+
scope: "area",
|
|
238
|
+
channel: "dialog",
|
|
239
|
+
action: "activate",
|
|
240
|
+
value: null,
|
|
241
|
+
valueType: "none",
|
|
242
|
+
correlationId: request.correlationId,
|
|
243
|
+
sender: createPhiBuilderControllerAddress(),
|
|
244
|
+
receiver: signalWiringOverlayAddress,
|
|
245
|
+
timestamp: Date.now(),
|
|
246
|
+
}));
|
|
247
|
+
}, [defaultArea, dispatchSignal, signalWiringFormAddress, signalWiringOverlayAddress, state.signalWiringRequest]);
|
|
248
|
+
useEffect(() => {
|
|
249
|
+
const request = state.effectsEditorRequest;
|
|
250
|
+
if (!request || initializedEffectsCorrelationRef.current === request.correlationId)
|
|
251
|
+
return;
|
|
252
|
+
effectsWorkflowCorrelationRef.current = request.correlationId;
|
|
253
|
+
initializedEffectsCorrelationRef.current = request.correlationId;
|
|
254
|
+
const valuesBySection = splitPhiBuilderEffectsFormValues(request.effects);
|
|
255
|
+
for (const section of PHI_BUILDER_EFFECTS_SECTIONS) {
|
|
256
|
+
const widgetId = PHI_BUILDER_EFFECTS_FORM_WIDGET_IDS[section];
|
|
257
|
+
dispatchSignal({
|
|
258
|
+
scope: "area",
|
|
259
|
+
channel: "values",
|
|
260
|
+
action: "change",
|
|
261
|
+
value: { values: valuesBySection[section] },
|
|
262
|
+
valueType: "json",
|
|
263
|
+
valueSchema: PHI_SIGNAL_VALUE_SCHEMAS.formValues,
|
|
264
|
+
correlationId: request.correlationId,
|
|
265
|
+
sender: createPhiBuilderControllerAddress(),
|
|
266
|
+
receiver: createPhiRuntimeFormControllerAddress(`widget-${widgetId}`),
|
|
267
|
+
timestamp: Date.now(),
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
queueMicrotask(() => dispatchSignal({
|
|
271
|
+
scope: "area",
|
|
272
|
+
channel: "dialog",
|
|
273
|
+
action: "activate",
|
|
274
|
+
value: null,
|
|
275
|
+
valueType: "none",
|
|
276
|
+
correlationId: request.correlationId,
|
|
277
|
+
sender: createPhiBuilderControllerAddress(),
|
|
278
|
+
receiver: effectsOverlayAddress,
|
|
279
|
+
timestamp: Date.now(),
|
|
280
|
+
}));
|
|
281
|
+
}, [dispatchSignal, effectsOverlayAddress, state.effectsEditorRequest]);
|
|
282
|
+
/*
|
|
283
|
+
* The collision dialog follows the request rather than a click.
|
|
284
|
+
*
|
|
285
|
+
* A Module's switch opens the question and applies nothing; this turns the question into an open
|
|
286
|
+
* modal once the overlay is listening, and closes it again when the request is gone -- answered,
|
|
287
|
+
* cancelled, or replaced by the next one. Keeping the open state derived is what makes cancelling
|
|
288
|
+
* leave the Site exactly as it was: there is only ever the request to undo.
|
|
289
|
+
*/
|
|
290
|
+
const publicRoutesOverlayAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_PUBLIC_ROUTES_OVERLAY_IDS.overlayPublicRoutes), []);
|
|
291
|
+
const publicRoutesTableAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_PUBLIC_ROUTES_WIDGET_IDS.publicRoutesTable), []);
|
|
292
|
+
/*
|
|
293
|
+
* The other half of the same switch: what turning a Module off stops drawing.
|
|
294
|
+
*
|
|
295
|
+
* Opened the same way and for the same reason -- nothing is applied while it stands -- so both
|
|
296
|
+
* directions of one gesture behave alike: a question that must be answered, a consequence that must
|
|
297
|
+
* be acknowledged.
|
|
298
|
+
*/
|
|
299
|
+
const moduleUsageOverlayAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_MODULE_USAGE_OVERLAY_IDS.overlayModuleUsage), []);
|
|
300
|
+
const moduleUsageTableAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_MODULE_USAGE_WIDGET_IDS.moduleUsageTable), []);
|
|
301
|
+
const openedModuleUsageCorrelationRef = useRef(null);
|
|
302
|
+
const moduleDeactivationRequest = state.moduleDeactivationRequest;
|
|
303
|
+
useEffect(() => {
|
|
304
|
+
const correlationId = moduleDeactivationRequest?.correlationId ?? null;
|
|
305
|
+
if (openedModuleUsageCorrelationRef.current === correlationId) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
openedModuleUsageCorrelationRef.current = correlationId;
|
|
309
|
+
dispatchSignal({
|
|
310
|
+
scope: "page",
|
|
311
|
+
channel: "moduleUsageDialog",
|
|
312
|
+
action: correlationId ? "activate" : "close",
|
|
313
|
+
value: null,
|
|
314
|
+
valueType: "none",
|
|
315
|
+
sender: createPhiBuilderControllerAddress(),
|
|
316
|
+
receiver: moduleUsageOverlayAddress,
|
|
317
|
+
timestamp: Date.now(),
|
|
318
|
+
});
|
|
319
|
+
if (correlationId) {
|
|
320
|
+
dispatchSignal({
|
|
321
|
+
scope: "page",
|
|
322
|
+
channel: "reload",
|
|
323
|
+
action: "activate",
|
|
324
|
+
value: null,
|
|
325
|
+
valueType: "none",
|
|
326
|
+
sender: createPhiBuilderControllerAddress(),
|
|
327
|
+
receiver: moduleUsageTableAddress,
|
|
328
|
+
timestamp: Date.now(),
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
}, [
|
|
332
|
+
dispatchSignal,
|
|
333
|
+
moduleDeactivationRequest,
|
|
334
|
+
moduleUsageOverlayAddress,
|
|
335
|
+
moduleUsageTableAddress,
|
|
336
|
+
]);
|
|
337
|
+
/*
|
|
338
|
+
* Whether the landing Select can be answered at all.
|
|
339
|
+
*
|
|
340
|
+
* A Select emits its value as a string and nothing turns "the value is landing" into the boolean the
|
|
341
|
+
* enabled channel carries, so the controller says it: the capability is the one every renderable
|
|
342
|
+
* block inherits, and the Select only had to listen. Sent on mount as well as on every change,
|
|
343
|
+
* because a workspace that opens with the root forwarding must not start out answerable.
|
|
344
|
+
*/
|
|
345
|
+
const landingSelectAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_SHELLS_WIDGET_IDS.widgetAreaLandingPage), []);
|
|
346
|
+
/*
|
|
347
|
+
* Answerable whenever the root is a landing, and not only when somebody offers one.
|
|
348
|
+
*
|
|
349
|
+
* "None -- I will author it myself" is one of the answers, so there is always something to say. The
|
|
350
|
+
* older rule asked whether any Page carried the application flag, which after built-in Pages stopped
|
|
351
|
+
* applying left the Select switched off for good in an Area whose landing nobody had applied for.
|
|
352
|
+
*/
|
|
353
|
+
const landingSelectEnabled = readPhiBuilderEffectiveAreaRootRoute(state, state.area)?.mode === "landing";
|
|
354
|
+
/*
|
|
355
|
+
* Said in the Select's own scope, and said once.
|
|
356
|
+
*
|
|
357
|
+
* The workspace header belongs to the Page, so the Select is registered as a Page-scoped receiver;
|
|
358
|
+
* an Area-scoped signal to it is not late, it is wrong, and the bus drops it rather than holding
|
|
359
|
+
* it. Held is what happens with the right scope: the controller mounts before the Control's chunk
|
|
360
|
+
* arrives, and the bus keeps the statement until somebody is there to hear it.
|
|
361
|
+
*/
|
|
362
|
+
useEffect(() => {
|
|
363
|
+
dispatchSignal({
|
|
364
|
+
scope: "page",
|
|
365
|
+
channel: "enabled",
|
|
366
|
+
action: "change",
|
|
367
|
+
value: landingSelectEnabled,
|
|
368
|
+
valueType: "boolean",
|
|
369
|
+
sender: createPhiBuilderControllerAddress(),
|
|
370
|
+
receiver: landingSelectAddress,
|
|
371
|
+
timestamp: Date.now(),
|
|
372
|
+
});
|
|
373
|
+
}, [dispatchSignal, landingSelectAddress, landingSelectEnabled]);
|
|
374
|
+
/*
|
|
375
|
+
* What the Area currently says about being found, and whether it may be answered here.
|
|
376
|
+
*
|
|
377
|
+
* Only Public is ever asked: every other Area is authenticated and is not indexed whatever is
|
|
378
|
+
* stored, so its switches stand at the Public default and are shown as unanswerable rather than
|
|
379
|
+
* hidden -- the dialog is the same dialog in every Area, and a control that vanishes reads as a
|
|
380
|
+
* feature that is missing. Said in the switches' own Page scope, for the reason the landing Select
|
|
381
|
+
* is: the workspace header belongs to the Page.
|
|
382
|
+
*/
|
|
383
|
+
const seoIndexAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_SHELLS_WIDGET_IDS.widgetAreaSeoIndex), []);
|
|
384
|
+
const seoSitemapAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_SHELLS_WIDGET_IDS.widgetAreaSeoSitemap), []);
|
|
385
|
+
const titleTemplateAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_SHELLS_WIDGET_IDS.widgetAreaTitleTemplate), []);
|
|
386
|
+
const defaultTitleAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_SHELLS_WIDGET_IDS.widgetAreaDefaultTitle), []);
|
|
387
|
+
const areaMeta = readPhiBuilderEffectiveAreaMeta(state, state.area);
|
|
388
|
+
const seoAnswerable = state.area === "public";
|
|
389
|
+
// Outside Public the switches state the fact rather than the default: those Areas are not indexed
|
|
390
|
+
// and are in no sitemap, whatever a stored value from some earlier Area would suggest.
|
|
391
|
+
const seoIndex = seoAnswerable && (areaMeta?.index ?? PHI_AREA_META_PUBLIC_DEFAULTS.index);
|
|
392
|
+
const seoSitemap = seoAnswerable && (areaMeta?.sitemap ?? PHI_AREA_META_PUBLIC_DEFAULTS.sitemap);
|
|
393
|
+
/*
|
|
394
|
+
* The titles are stated in every Area, unlike the switches: a tab title is not a search result, and
|
|
395
|
+
* the Admin's own answer is as real as the Site's. Empty is a full answer here -- it says "the
|
|
396
|
+
* Site's name" -- so it is sent rather than withheld, or a field would keep what the Area shown
|
|
397
|
+
* before it had in it.
|
|
398
|
+
*/
|
|
399
|
+
const titleTemplate = areaMeta?.titleTemplate ?? "";
|
|
400
|
+
const defaultTitle = areaMeta?.defaultTitle ?? "";
|
|
401
|
+
/**
|
|
402
|
+
* Everything the Area settings dialog shows, said in one place.
|
|
403
|
+
*
|
|
404
|
+
* Called from two moments, and it has to be both. The effect below covers a value that changes while
|
|
405
|
+
* the dialog stands open -- an undo, a switch between Areas. The dialog opening covers the far more
|
|
406
|
+
* common case: the controls live inside an Overlay and do not exist until it opens, so the state
|
|
407
|
+
* this controller stated at page load reached nobody. A signal is delivered once and is then spent;
|
|
408
|
+
* the mount that comes minutes later hears nothing, and the control would show its resting value as
|
|
409
|
+
* though it were the Area's answer.
|
|
410
|
+
*/
|
|
411
|
+
const publishAreaSettingsState = (correlationId) => {
|
|
412
|
+
for (const [receiver, checked] of [
|
|
413
|
+
[seoIndexAddress, seoIndex],
|
|
414
|
+
[seoSitemapAddress, seoSitemap],
|
|
415
|
+
]) {
|
|
416
|
+
dispatchSignal({
|
|
417
|
+
scope: "page",
|
|
418
|
+
channel: "seoValue",
|
|
419
|
+
action: "change",
|
|
420
|
+
value: checked,
|
|
421
|
+
valueType: "boolean",
|
|
422
|
+
sender: createPhiBuilderControllerAddress(),
|
|
423
|
+
receiver,
|
|
424
|
+
...(correlationId ? { correlationId } : {}),
|
|
425
|
+
timestamp: Date.now(),
|
|
426
|
+
});
|
|
427
|
+
dispatchSignal({
|
|
428
|
+
scope: "page",
|
|
429
|
+
channel: "enabled",
|
|
430
|
+
action: "change",
|
|
431
|
+
value: seoAnswerable,
|
|
432
|
+
valueType: "boolean",
|
|
433
|
+
sender: createPhiBuilderControllerAddress(),
|
|
434
|
+
receiver,
|
|
435
|
+
...(correlationId ? { correlationId } : {}),
|
|
436
|
+
timestamp: Date.now(),
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
for (const [receiver, text] of [
|
|
440
|
+
[titleTemplateAddress, titleTemplate],
|
|
441
|
+
[defaultTitleAddress, defaultTitle],
|
|
442
|
+
]) {
|
|
443
|
+
dispatchSignal({
|
|
444
|
+
scope: "page",
|
|
445
|
+
channel: "titleValue",
|
|
446
|
+
action: "change",
|
|
447
|
+
value: text,
|
|
448
|
+
valueType: "string",
|
|
449
|
+
sender: createPhiBuilderControllerAddress(),
|
|
450
|
+
receiver,
|
|
451
|
+
...(correlationId ? { correlationId } : {}),
|
|
452
|
+
timestamp: Date.now(),
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
const publishAreaSettingsStateEvent = useEffectEvent(publishAreaSettingsState);
|
|
457
|
+
useEffect(() => {
|
|
458
|
+
publishAreaSettingsStateEvent();
|
|
459
|
+
}, [defaultTitle, seoAnswerable, seoIndex, seoSitemap, titleTemplate]);
|
|
460
|
+
/*
|
|
461
|
+
* The Area settings dialog, opened and closed by the two commands that ask for it.
|
|
462
|
+
*
|
|
463
|
+
* No state of its own: unlike the two Modules dialogs there is no question waiting to be answered
|
|
464
|
+
* here -- every control inside writes into the draft the moment it is answered, exactly as it did
|
|
465
|
+
* while it stood in the header -- so the dialog is only a place, and the commands are the whole of
|
|
466
|
+
* its lifecycle.
|
|
467
|
+
*/
|
|
468
|
+
const areaSettingsOverlayAddress = useMemo(() => createPhiSignalAddress("cms", PHI_BUILDER_AREA_SETTINGS_OVERLAY_IDS.overlayAreaSettings), []);
|
|
469
|
+
const dispatchAreaSettingsDialog = (open, correlationId) => {
|
|
470
|
+
dispatchSignal({
|
|
471
|
+
scope: "page",
|
|
472
|
+
channel: "areaSettingsDialog",
|
|
473
|
+
action: open ? "activate" : "close",
|
|
474
|
+
value: null,
|
|
475
|
+
valueType: "none",
|
|
476
|
+
sender: createPhiBuilderControllerAddress(),
|
|
477
|
+
receiver: areaSettingsOverlayAddress,
|
|
478
|
+
correlationId,
|
|
479
|
+
timestamp: Date.now(),
|
|
480
|
+
});
|
|
481
|
+
};
|
|
482
|
+
const openedPublicRoutesCorrelationRef = useRef(null);
|
|
483
|
+
const publicRouteCollisionRequest = state.publicRouteCollisionRequest;
|
|
484
|
+
useEffect(() => {
|
|
485
|
+
const correlationId = publicRouteCollisionRequest?.correlationId ?? null;
|
|
486
|
+
if (openedPublicRoutesCorrelationRef.current === correlationId) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
openedPublicRoutesCorrelationRef.current = correlationId;
|
|
490
|
+
dispatchSignal({
|
|
491
|
+
scope: "page",
|
|
492
|
+
channel: "publicRoutesDialog",
|
|
493
|
+
action: correlationId ? "activate" : "close",
|
|
494
|
+
value: null,
|
|
495
|
+
valueType: "none",
|
|
496
|
+
sender: createPhiBuilderControllerAddress(),
|
|
497
|
+
receiver: publicRoutesOverlayAddress,
|
|
498
|
+
timestamp: Date.now(),
|
|
499
|
+
});
|
|
500
|
+
if (correlationId) {
|
|
501
|
+
/*
|
|
502
|
+
* And a re-read afterwards, not before: the rows live inside the overlay body, which mounts when
|
|
503
|
+
* the modal opens and is kept mounted after -- so a second question would otherwise show the
|
|
504
|
+
* first one's rows.
|
|
505
|
+
*/
|
|
506
|
+
dispatchSignal({
|
|
507
|
+
scope: "page",
|
|
508
|
+
channel: "reload",
|
|
509
|
+
action: "activate",
|
|
510
|
+
value: null,
|
|
511
|
+
valueType: "none",
|
|
512
|
+
sender: createPhiBuilderControllerAddress(),
|
|
513
|
+
receiver: publicRoutesTableAddress,
|
|
514
|
+
timestamp: Date.now(),
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
}, [
|
|
518
|
+
dispatchSignal,
|
|
519
|
+
publicRouteCollisionRequest,
|
|
520
|
+
publicRoutesOverlayAddress,
|
|
521
|
+
publicRoutesTableAddress,
|
|
522
|
+
]);
|
|
523
|
+
useEffect(() => {
|
|
524
|
+
const selectedOverlayId = state.nodeKind === "region"
|
|
525
|
+
? PHI_BUILDER_INSPECTOR_OVERLAY_IDS.regionInspector
|
|
526
|
+
: state.nodeKind === "layout"
|
|
527
|
+
? PHI_BUILDER_INSPECTOR_OVERLAY_IDS.layoutInspector
|
|
528
|
+
: state.nodeKind === "widget"
|
|
529
|
+
? PHI_BUILDER_INSPECTOR_OVERLAY_IDS.widgetInspector
|
|
530
|
+
: null;
|
|
531
|
+
for (const overlayId of PHI_BUILDER_INSPECTOR_DRAWER_OVERLAY_IDS) {
|
|
532
|
+
dispatchSignal({
|
|
533
|
+
scope: "area",
|
|
534
|
+
channel: "dialog",
|
|
535
|
+
action: state.inspectorOpen && overlayId === selectedOverlayId ? "activate" : "close",
|
|
536
|
+
value: null,
|
|
537
|
+
valueType: "none",
|
|
538
|
+
sender: createPhiBuilderControllerAddress(),
|
|
539
|
+
receiver: createPhiSignalAddress("cms", overlayId),
|
|
540
|
+
timestamp: Date.now(),
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
}, [dispatchSignal, state.inspectorOpen, state.nodeKind]);
|
|
544
|
+
useEffect(() => {
|
|
545
|
+
/*
|
|
546
|
+
* Feeding the catalog is the Builder's job, but the catalog itself is not the Builder's state --
|
|
547
|
+
* it lives in the Foundation so that revisions, and later the Editor, can read it without going
|
|
548
|
+
* through here.
|
|
549
|
+
*/
|
|
550
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => {
|
|
551
|
+
let changed = false;
|
|
552
|
+
const definitionsChanged = serializeRuntimeModuleDefinitions(current.runtimeModuleDefinitions) !== runtimeModuleDefinitionsPreloadKey;
|
|
553
|
+
const modulePresetPagesChanged = JSON.stringify(current.modulePresetPagesByArea) !== modulePresetPagesPreloadKey;
|
|
554
|
+
const areaPresetSourcesChanged = JSON.stringify(current.areaPresetSourcesByArea) !== areaPresetSourcesPreloadKey;
|
|
555
|
+
const navigationSurfacesChanged = JSON.stringify(current.navigationSurfacesByArea) !== navigationSurfacesPreloadKey;
|
|
556
|
+
const unresolvedModuleIdsChanged = JSON.stringify(current.unresolvedModuleIdsByArea) !== unresolvedModuleIdsPreloadKey;
|
|
557
|
+
const publicRouteClaimsChanged = JSON.stringify(current.publicRouteClaims) !== publicRouteClaimsPreloadKey;
|
|
558
|
+
/*
|
|
559
|
+
* The assignments arrive with the Modules draft and are edited by the collision dialog, so this
|
|
560
|
+
* follows the same rule as the Module selection beside it: what the server sent replaces what is
|
|
561
|
+
* here when the server's answer changed, and an unsaved answer survives a re-render.
|
|
562
|
+
*/
|
|
563
|
+
const publicRoutePathsChanged = JSON.stringify(current.publicRoutePaths) !== publicRoutePathsPreloadKey;
|
|
564
|
+
const catalogHydrationChanged = !current.catalogHydrated;
|
|
565
|
+
const initialPageKey = current.pageKey ||
|
|
566
|
+
resolvePhiBuilderActivePageKey(null, activePreloadCatalogs.modulePresetPagesByArea[current.area]) || "";
|
|
567
|
+
const initialPageChanged = initialPageKey !== current.pageKey;
|
|
568
|
+
const nextModuleIdsByArea = {
|
|
569
|
+
...(current.runtimeModuleIdsByArea ?? {}),
|
|
570
|
+
};
|
|
571
|
+
for (const [area, moduleIds] of Object.entries(runtimeModuleIdsByArea)) {
|
|
572
|
+
const builderArea = normalizeBuilderArea(area);
|
|
573
|
+
if (!areRuntimeModuleIdsEqual(nextModuleIdsByArea[builderArea], moduleIds)) {
|
|
574
|
+
nextModuleIdsByArea[builderArea] = moduleIds;
|
|
575
|
+
changed = true;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
if (initialPageChanged) {
|
|
579
|
+
// The selected node follows the page, and that selection is Builder tool state.
|
|
580
|
+
builderWorkspaceStore.patch(defaultArea, (tool) => ({
|
|
581
|
+
...tool,
|
|
582
|
+
nodeKey: `page:${initialPageKey}`,
|
|
583
|
+
}));
|
|
584
|
+
}
|
|
585
|
+
return changed || definitionsChanged || modulePresetPagesChanged || areaPresetSourcesChanged || navigationSurfacesChanged || unresolvedModuleIdsChanged || publicRouteClaimsChanged || publicRoutePathsChanged || catalogHydrationChanged || initialPageChanged
|
|
586
|
+
? {
|
|
587
|
+
...current,
|
|
588
|
+
...(initialPageChanged ? { pageKey: initialPageKey } : {}),
|
|
589
|
+
runtimeModuleDefinitions: [...runtimeModuleDefinitions],
|
|
590
|
+
runtimeModuleIdsByArea: nextModuleIdsByArea,
|
|
591
|
+
catalogHydrated: true,
|
|
592
|
+
modulePresetPagesByArea: activePreloadCatalogs.modulePresetPagesByArea,
|
|
593
|
+
areaPresetSourcesByArea,
|
|
594
|
+
navigationSurfacesByArea: activePreloadCatalogs.navigationSurfacesByArea,
|
|
595
|
+
unresolvedModuleIdsByArea,
|
|
596
|
+
publicRouteClaims,
|
|
597
|
+
...(publicRoutePathsChanged ? { publicRoutePaths } : {}),
|
|
598
|
+
}
|
|
599
|
+
: current;
|
|
600
|
+
});
|
|
601
|
+
}, [
|
|
602
|
+
defaultArea,
|
|
603
|
+
runtimeModuleDefinitions,
|
|
604
|
+
runtimeModuleDefinitionsPreloadKey,
|
|
605
|
+
runtimeModuleIdsByArea,
|
|
606
|
+
runtimeModuleIdsPreloadKey,
|
|
607
|
+
modulePresetPagesByArea,
|
|
608
|
+
modulePresetPagesPreloadKey,
|
|
609
|
+
unresolvedModuleIdsByArea,
|
|
610
|
+
unresolvedModuleIdsPreloadKey,
|
|
611
|
+
publicRouteClaims,
|
|
612
|
+
publicRouteClaimsPreloadKey,
|
|
613
|
+
publicRoutePaths,
|
|
614
|
+
publicRoutePathsPreloadKey,
|
|
615
|
+
areaPresetSourcesByArea,
|
|
616
|
+
areaPresetSourcesPreloadKey,
|
|
617
|
+
activePreloadCatalogs,
|
|
618
|
+
navigationSurfacesByArea,
|
|
619
|
+
navigationSurfacesPreloadKey,
|
|
620
|
+
]);
|
|
621
|
+
useEffect(() => {
|
|
622
|
+
if (!isBuilderWorkspace ||
|
|
623
|
+
!state.catalogHydrated ||
|
|
624
|
+
state.pageCatalogHydratedByArea[effectiveArea]) {
|
|
625
|
+
return;
|
|
626
|
+
}
|
|
627
|
+
let cancelled = false;
|
|
628
|
+
void loadPhiBuilderPersistedPageCatalog(effectiveArea)
|
|
629
|
+
.then((pages) => {
|
|
630
|
+
if (cancelled)
|
|
631
|
+
return;
|
|
632
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => ({
|
|
633
|
+
...current,
|
|
634
|
+
persistedPageCatalogByArea: {
|
|
635
|
+
...current.persistedPageCatalogByArea,
|
|
636
|
+
[effectiveArea]: pages,
|
|
637
|
+
},
|
|
638
|
+
pageCatalogHydratedByArea: {
|
|
639
|
+
...current.pageCatalogHydratedByArea,
|
|
640
|
+
[effectiveArea]: true,
|
|
641
|
+
},
|
|
642
|
+
}));
|
|
643
|
+
})
|
|
644
|
+
.catch((error) => {
|
|
645
|
+
if (!cancelled) {
|
|
646
|
+
showMessage({
|
|
647
|
+
level: "error",
|
|
648
|
+
content: error instanceof Error ? error.message : "Failed to load page catalog.",
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
});
|
|
652
|
+
return () => {
|
|
653
|
+
cancelled = true;
|
|
654
|
+
};
|
|
655
|
+
}, [
|
|
656
|
+
defaultArea,
|
|
657
|
+
effectiveArea,
|
|
658
|
+
isBuilderWorkspace,
|
|
659
|
+
showMessage,
|
|
660
|
+
state.catalogHydrated,
|
|
661
|
+
state.pageCatalogHydratedByArea,
|
|
662
|
+
]);
|
|
663
|
+
const currentRuntimeModuleIdsKey = JSON.stringify(currentRuntimeModuleIdsByArea);
|
|
664
|
+
useEffect(() => {
|
|
665
|
+
const activeCatalogs = filterBuilderModuleCatalogs(modulePresetPagesByArea, navigationSurfacesByArea, currentRuntimeModuleIdsByArea, runtimeModuleDefinitions);
|
|
666
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => {
|
|
667
|
+
if (JSON.stringify(current.modulePresetPagesByArea) ===
|
|
668
|
+
JSON.stringify(activeCatalogs.modulePresetPagesByArea) &&
|
|
669
|
+
JSON.stringify(current.navigationSurfacesByArea) ===
|
|
670
|
+
JSON.stringify(activeCatalogs.navigationSurfacesByArea)) {
|
|
671
|
+
return current;
|
|
672
|
+
}
|
|
673
|
+
return {
|
|
674
|
+
...current,
|
|
675
|
+
modulePresetPagesByArea: activeCatalogs.modulePresetPagesByArea,
|
|
676
|
+
navigationSurfacesByArea: activeCatalogs.navigationSurfacesByArea,
|
|
677
|
+
};
|
|
678
|
+
});
|
|
679
|
+
}, [
|
|
680
|
+
currentRuntimeModuleIdsByArea,
|
|
681
|
+
currentRuntimeModuleIdsKey,
|
|
682
|
+
defaultArea,
|
|
683
|
+
modulePresetPagesByArea,
|
|
684
|
+
navigationSurfacesByArea,
|
|
685
|
+
runtimeModuleDefinitions,
|
|
686
|
+
runtimeModuleDefinitionsPreloadKey,
|
|
687
|
+
]);
|
|
688
|
+
const selectedRuntimeModuleIds = useMemo(() => selectRuntimeModuleIds(currentRuntimeModuleIdsByArea[effectiveArea], effectiveArea, runtimeModuleDefinitions), [currentRuntimeModuleIdsByArea, effectiveArea, runtimeModuleDefinitions]);
|
|
689
|
+
const selectedRuntimeModuleIdsSearchValue = serializePhiBuilderRuntimeModuleIdsSearchParam(selectedRuntimeModuleIds);
|
|
690
|
+
/*
|
|
691
|
+
* The Pages workspace derives which Pages are visible from which Modules are active, so an unsaved
|
|
692
|
+
* Module change has to reach it even though the change itself is made and persisted from elsewhere --
|
|
693
|
+
* the URL is what carries it across that gap.
|
|
694
|
+
*/
|
|
695
|
+
useEffect(() => {
|
|
696
|
+
if (typeof pathname !== "string" ||
|
|
697
|
+
(builderWorkspaceKey !== "shells" && builderWorkspaceKey !== "pages") ||
|
|
698
|
+
searchParams.get(PHI_BUILDER_RUNTIME_MODULES_SEARCH_PARAM) === selectedRuntimeModuleIdsSearchValue) {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
const nextSearchParams = new URLSearchParams(searchParams.toString());
|
|
702
|
+
nextSearchParams.set(PHI_BUILDER_RUNTIME_MODULES_SEARCH_PARAM, selectedRuntimeModuleIdsSearchValue);
|
|
703
|
+
router.replace(`${pathname}?${nextSearchParams.toString()}`, { scroll: false });
|
|
704
|
+
}, [builderWorkspaceKey, pathname, router, searchParams, selectedRuntimeModuleIdsSearchValue]);
|
|
705
|
+
useEffect(() => {
|
|
706
|
+
if (builderWorkspaceKey !== "shells") {
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
const handledSiderLayout = handledSiderLayoutRef.current;
|
|
710
|
+
if (handledSiderLayout?.draftKey === siderLeftDraftKey &&
|
|
711
|
+
handledSiderLayout.fullHeight === siderLeftFullHeight) {
|
|
712
|
+
handledSiderLayoutRef.current = null;
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
715
|
+
dispatchSignal({
|
|
716
|
+
scope: "area",
|
|
717
|
+
channel: "layout",
|
|
718
|
+
action: "change",
|
|
719
|
+
value: siderLeftFullHeight,
|
|
720
|
+
valueType: "boolean",
|
|
721
|
+
sender: createPhiBuilderControllerAddress(),
|
|
722
|
+
receiver: "broadcast",
|
|
723
|
+
timestamp: Date.now(),
|
|
724
|
+
});
|
|
725
|
+
}, [
|
|
726
|
+
builderWorkspaceKey,
|
|
727
|
+
dispatchSignal,
|
|
728
|
+
pathname,
|
|
729
|
+
siderLeftDraftKey,
|
|
730
|
+
siderLeftFullHeight,
|
|
731
|
+
]);
|
|
732
|
+
useEffect(() => {
|
|
733
|
+
if (state.commandWorkspace === commandWorkspace) {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
737
|
+
...current,
|
|
738
|
+
commandWorkspace,
|
|
739
|
+
builderChromeControls: createDefaultBuilderChromeControls(),
|
|
740
|
+
}));
|
|
741
|
+
}, [commandWorkspace, defaultArea, state.commandWorkspace]);
|
|
742
|
+
useEffect(() => {
|
|
743
|
+
if (commandWorkspace !== "structure" &&
|
|
744
|
+
commandWorkspace !== "pages" &&
|
|
745
|
+
commandWorkspace !== "navigation" &&
|
|
746
|
+
commandWorkspace !== "modules") {
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
const historyContext = createPhiBuilderHistoryContext({
|
|
750
|
+
workspace: commandWorkspace,
|
|
751
|
+
area: effectiveArea,
|
|
752
|
+
pageKey: effectivePageKey,
|
|
753
|
+
navKey: effectiveNavKey,
|
|
754
|
+
});
|
|
755
|
+
const presetKey = commandWorkspace === "structure"
|
|
756
|
+
? "builder-shells-page"
|
|
757
|
+
: commandWorkspace === "pages"
|
|
758
|
+
? "builder-pages-page"
|
|
759
|
+
: commandWorkspace === "modules"
|
|
760
|
+
? "builder-modules-page"
|
|
761
|
+
: "builder-navigation-page";
|
|
762
|
+
const emitAvailability = () => {
|
|
763
|
+
const availability = phiBuilderHistory.getAvailability(historyContext);
|
|
764
|
+
for (const [controlKey, enabled] of [
|
|
765
|
+
["undo", availability.canUndo],
|
|
766
|
+
["redo", availability.canRedo],
|
|
767
|
+
]) {
|
|
768
|
+
dispatchSignal({
|
|
769
|
+
scope: "area",
|
|
770
|
+
channel: "enabled",
|
|
771
|
+
action: "change",
|
|
772
|
+
value: enabled,
|
|
773
|
+
valueType: "boolean",
|
|
774
|
+
sender: createPhiBuilderControllerAddress(),
|
|
775
|
+
receiver: createPhiCommandToolbarControlAddress(PHI_BUILDER_RUNTIME_MODULE_ID, presetKey, controlKey),
|
|
776
|
+
timestamp: Date.now(),
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
emitAvailability();
|
|
781
|
+
return phiBuilderHistory.subscribe(historyContext, emitAvailability);
|
|
782
|
+
}, [
|
|
783
|
+
commandWorkspace,
|
|
784
|
+
dispatchSignal,
|
|
785
|
+
effectiveArea,
|
|
786
|
+
effectiveNavKey,
|
|
787
|
+
effectivePageKey,
|
|
788
|
+
]);
|
|
789
|
+
useEffect(() => {
|
|
790
|
+
if (!isBuilderWorkspace) {
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
const nextBuilderMode = !isNavigationWorkspace && hasPreviewSnapshot ? "preview" : "editor";
|
|
794
|
+
if (state.builderMode === nextBuilderMode) {
|
|
795
|
+
return;
|
|
796
|
+
}
|
|
797
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
798
|
+
...current,
|
|
799
|
+
builderMode: nextBuilderMode,
|
|
800
|
+
}));
|
|
801
|
+
}, [defaultArea, hasPreviewSnapshot, isBuilderWorkspace, isNavigationWorkspace, state.builderMode]);
|
|
802
|
+
/*
|
|
803
|
+
* The workspace, narrowed to what deciding the offered Pages actually reads.
|
|
804
|
+
*
|
|
805
|
+
* The effect below used to be handed the state whole, which asks it to re-run on every unrelated
|
|
806
|
+
* store change and made its dependency list a copy of the offered catalog's own field list, kept by
|
|
807
|
+
* hand. Naming the same Pick the resolver names keeps the two together: what the Area's Page list
|
|
808
|
+
* depends on is stated once, and a field added there arrives here without anybody remembering to.
|
|
809
|
+
*
|
|
810
|
+
* The unsaved root route is deliberately absent, because the Page list does not follow it: what
|
|
811
|
+
* `/pages` may open is what the Area has stored, which is what the server serves.
|
|
812
|
+
*/
|
|
813
|
+
const offeredCatalogState = useMemo(() => ({
|
|
814
|
+
modulePresetPagesByArea: state.modulePresetPagesByArea,
|
|
815
|
+
customPages: state.customPages,
|
|
816
|
+
persistedPageCatalogByArea: state.persistedPageCatalogByArea,
|
|
817
|
+
navigationSurfacesByArea: state.navigationSurfacesByArea,
|
|
818
|
+
runtimeModuleIdsByArea: state.runtimeModuleIdsByArea,
|
|
819
|
+
areaRootRoutes: state.areaRootRoutes,
|
|
820
|
+
}), [
|
|
821
|
+
state.modulePresetPagesByArea,
|
|
822
|
+
state.customPages,
|
|
823
|
+
state.persistedPageCatalogByArea,
|
|
824
|
+
state.navigationSurfacesByArea,
|
|
825
|
+
state.runtimeModuleIdsByArea,
|
|
826
|
+
state.areaRootRoutes,
|
|
827
|
+
]);
|
|
828
|
+
useEffect(() => {
|
|
829
|
+
if (!isBuilderWorkspace || !state.pageCatalogHydratedByArea[effectiveArea]) {
|
|
830
|
+
return;
|
|
831
|
+
}
|
|
832
|
+
if (scopeAreaFromSearch == null || scopePageFromSearch == null) {
|
|
833
|
+
if (typeof pathname !== "string") {
|
|
834
|
+
return;
|
|
835
|
+
}
|
|
836
|
+
const canonicalArea = scopeAreaFromSearch ?? state.area;
|
|
837
|
+
const { pageKey: canonicalPageKey } = resolvePhiBuilderOfferedPageKey(offeredCatalogState, canonicalArea, scopePageFromSearch ??
|
|
838
|
+
(scopeAreaFromSearch != null && scopeAreaFromSearch !== state.area ? null : state.pageKey));
|
|
839
|
+
if (!canonicalPageKey) {
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
842
|
+
const nextSearchParams = new URLSearchParams(searchParams.toString());
|
|
843
|
+
nextSearchParams.set(PHI_BUILDER_AREA_SEARCH_PARAM, canonicalArea);
|
|
844
|
+
nextSearchParams.set(PHI_BUILDER_PAGE_SEARCH_PARAM, canonicalPageKey);
|
|
845
|
+
router.replace(`${pathname}?${nextSearchParams.toString()}`, { scroll: false });
|
|
846
|
+
return;
|
|
847
|
+
}
|
|
848
|
+
const nextArea = scopeAreaFromSearch ?? state.area;
|
|
849
|
+
/*
|
|
850
|
+
* The Page the address names, if the Area still offers it -- otherwise the one the shared order
|
|
851
|
+
* picks.
|
|
852
|
+
*
|
|
853
|
+
* A Page can stop being on offer without anybody navigating: setting the Area root to forward
|
|
854
|
+
* takes `/` out of the Builder's list, and whoever was standing on it is then parked on a Page
|
|
855
|
+
* that must not be authored, because a revision stored there would switch the forward off. So the
|
|
856
|
+
* key is normalised on every read of the address rather than only when the Area changes.
|
|
857
|
+
*/
|
|
858
|
+
const { pageKey: nextPageKey } = resolvePhiBuilderOfferedPageKey(offeredCatalogState, nextArea, scopePageFromSearch ??
|
|
859
|
+
(scopeAreaFromSearch != null && scopeAreaFromSearch !== state.area ? null : state.pageKey));
|
|
860
|
+
if (!nextPageKey) {
|
|
861
|
+
return;
|
|
862
|
+
}
|
|
863
|
+
/*
|
|
864
|
+
* A normalised key is written back to the address, not only into the state: the address is what a
|
|
865
|
+
* reload and a copied link read, and leaving it pointing at a Page the Builder has moved off would
|
|
866
|
+
* make it move again on every open.
|
|
867
|
+
*/
|
|
868
|
+
if (nextPageKey !== scopePageFromSearch && typeof pathname === "string") {
|
|
869
|
+
const correctedSearchParams = new URLSearchParams(searchParams.toString());
|
|
870
|
+
correctedSearchParams.set(PHI_BUILDER_AREA_SEARCH_PARAM, nextArea);
|
|
871
|
+
correctedSearchParams.set(PHI_BUILDER_PAGE_SEARCH_PARAM, nextPageKey);
|
|
872
|
+
router.replace(`${pathname}?${correctedSearchParams.toString()}`, { scroll: false });
|
|
873
|
+
return;
|
|
874
|
+
}
|
|
875
|
+
if (nextArea === state.area && nextPageKey === state.pageKey) {
|
|
876
|
+
return;
|
|
877
|
+
}
|
|
878
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => ({
|
|
879
|
+
...current,
|
|
880
|
+
area: nextArea,
|
|
881
|
+
pageKey: nextPageKey,
|
|
882
|
+
}));
|
|
883
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
884
|
+
...current,
|
|
885
|
+
nodeKey: `page:${nextPageKey}`,
|
|
886
|
+
nodeId: null,
|
|
887
|
+
nodeKind: "page",
|
|
888
|
+
selectedRegionType: null,
|
|
889
|
+
selectedRegionKey: null,
|
|
890
|
+
selectedRootRegionKey: null,
|
|
891
|
+
inspectorOpen: false,
|
|
892
|
+
sidebarKey: "pages",
|
|
893
|
+
builderChromeControls: createDefaultBuilderChromeControls(),
|
|
894
|
+
}));
|
|
895
|
+
}, [
|
|
896
|
+
defaultArea,
|
|
897
|
+
isBuilderWorkspace,
|
|
898
|
+
offeredCatalogState,
|
|
899
|
+
pathname,
|
|
900
|
+
router,
|
|
901
|
+
searchParams,
|
|
902
|
+
scopeAreaFromSearch,
|
|
903
|
+
scopePageFromSearch,
|
|
904
|
+
state.area,
|
|
905
|
+
state.pageCatalogHydratedByArea,
|
|
906
|
+
state.pageKey,
|
|
907
|
+
effectiveArea,
|
|
908
|
+
]);
|
|
909
|
+
usePhiSignalListener((signal) => {
|
|
910
|
+
const effectsRequest = state.effectsEditorRequest;
|
|
911
|
+
if (effectsRequest &&
|
|
912
|
+
signal.correlationId === effectsRequest.correlationId &&
|
|
913
|
+
signal.channel === "effectsCommit" &&
|
|
914
|
+
signal.action === "change" &&
|
|
915
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.formValues) {
|
|
916
|
+
const submitted = readPhiRuntimeFormValuesSignalValue(signal.value);
|
|
917
|
+
const nextEffects = submitted?.values.effects;
|
|
918
|
+
completePhiDeveloperBuilderEffectsEditor(defaultArea, effectsRequest, nextEffects && typeof nextEffects === "object" && !Array.isArray(nextEffects)
|
|
919
|
+
? nextEffects
|
|
920
|
+
: undefined);
|
|
921
|
+
initializedEffectsCorrelationRef.current = null;
|
|
922
|
+
return;
|
|
923
|
+
}
|
|
924
|
+
if (effectsRequest &&
|
|
925
|
+
signal.correlationId === effectsRequest.correlationId &&
|
|
926
|
+
signal.channel === "effectsCancel" &&
|
|
927
|
+
signal.action === "close") {
|
|
928
|
+
completePhiDeveloperBuilderEffectsEditor(defaultArea, effectsRequest);
|
|
929
|
+
initializedEffectsCorrelationRef.current = null;
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
932
|
+
if (signal.scope === "area" &&
|
|
933
|
+
signal.channel === "area" &&
|
|
934
|
+
signal.action === "change" &&
|
|
935
|
+
signal.valueType === "string" &&
|
|
936
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
937
|
+
if (!isPhiBuilderAreaKey(signal.value)) {
|
|
938
|
+
return;
|
|
939
|
+
}
|
|
940
|
+
const nextArea = signal.value;
|
|
941
|
+
const nextPages = resolvePhiBuilderActivePageCatalog(nextArea, state.modulePresetPagesByArea, state.customPages ?? {}, state.persistedPageCatalogByArea);
|
|
942
|
+
// The first node that is a Page: with routes under their package the first root node is a folder.
|
|
943
|
+
const nextPageKey = resolvePhiBuilderActivePageKey(null, nextPages) ?? "";
|
|
944
|
+
if (typeof pathname === "string") {
|
|
945
|
+
const nextSearchParams = new URLSearchParams(searchParams.toString());
|
|
946
|
+
nextSearchParams.set(PHI_BUILDER_AREA_SEARCH_PARAM, nextArea);
|
|
947
|
+
nextSearchParams.set(PHI_BUILDER_PAGE_SEARCH_PARAM, nextPageKey);
|
|
948
|
+
nextSearchParams.set(PHI_BUILDER_RUNTIME_MODULES_SEARCH_PARAM, serializePhiBuilderRuntimeModuleIdsSearchParam(state.runtimeModuleIdsByArea[nextArea] ?? []));
|
|
949
|
+
router.replace(`${pathname}?${nextSearchParams.toString()}`, { scroll: false });
|
|
950
|
+
}
|
|
951
|
+
else {
|
|
952
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => ({
|
|
953
|
+
...current,
|
|
954
|
+
area: nextArea,
|
|
955
|
+
pageKey: nextPageKey,
|
|
956
|
+
}));
|
|
957
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
958
|
+
...current,
|
|
959
|
+
nodeKey: `page:${nextPageKey}`,
|
|
960
|
+
nodeId: null,
|
|
961
|
+
nodeKind: "page",
|
|
962
|
+
selectedRegionType: null,
|
|
963
|
+
selectedRegionKey: null,
|
|
964
|
+
selectedRootRegionKey: null,
|
|
965
|
+
inspectorOpen: false,
|
|
966
|
+
sidebarKey: "pages",
|
|
967
|
+
}));
|
|
968
|
+
}
|
|
969
|
+
return;
|
|
970
|
+
}
|
|
971
|
+
if (signal.scope === "area" &&
|
|
972
|
+
signal.channel === "moduleUsage" &&
|
|
973
|
+
signal.action === "activate" &&
|
|
974
|
+
signal.valueType === "string" &&
|
|
975
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
976
|
+
const request = state.moduleDeactivationRequest;
|
|
977
|
+
if (!request) {
|
|
978
|
+
return;
|
|
979
|
+
}
|
|
980
|
+
if (signal.value === "confirm") {
|
|
981
|
+
applyPhiBuilderRuntimeModuleSelectionChanges(request.areas.map((area) => ({
|
|
982
|
+
area,
|
|
983
|
+
selectedIds: (state.runtimeModuleIdsByArea?.[area] ?? [])
|
|
984
|
+
.filter((moduleId) => moduleId !== request.moduleId),
|
|
985
|
+
})), defaultArea);
|
|
986
|
+
dispatchSignal({
|
|
987
|
+
scope: "area",
|
|
988
|
+
channel: "reload",
|
|
989
|
+
action: "activate",
|
|
990
|
+
value: null,
|
|
991
|
+
valueType: "none",
|
|
992
|
+
sender: createPhiBuilderControllerAddress(),
|
|
993
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_MODULES_TABLE_WIDGET_ID),
|
|
994
|
+
correlationId: signal.correlationId,
|
|
995
|
+
timestamp: Date.now(),
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
closePhiBuilderModuleDeactivationRequest(defaultArea);
|
|
999
|
+
return;
|
|
1000
|
+
}
|
|
1001
|
+
/*
|
|
1002
|
+
* The answer to the one question enabling a Module can ask.
|
|
1003
|
+
*
|
|
1004
|
+
* Assigning writes the addresses first and enables the Module in the same gesture, because a
|
|
1005
|
+
* Module is active with every route addressed or it is not active. Cancelling writes nothing:
|
|
1006
|
+
* the Module stays off, and the Site is where it was before the switch was touched.
|
|
1007
|
+
*/
|
|
1008
|
+
if (signal.scope === "area" &&
|
|
1009
|
+
signal.channel === "publicRoutes" &&
|
|
1010
|
+
signal.action === "activate" &&
|
|
1011
|
+
signal.valueType === "string" &&
|
|
1012
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1013
|
+
const request = state.publicRouteCollisionRequest;
|
|
1014
|
+
if (!request) {
|
|
1015
|
+
return;
|
|
1016
|
+
}
|
|
1017
|
+
if (signal.value === "cancel") {
|
|
1018
|
+
closePhiBuilderPublicRouteCollisionRequest(defaultArea);
|
|
1019
|
+
return;
|
|
1020
|
+
}
|
|
1021
|
+
if (signal.value !== "assign") {
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
const rejection = findPhiBuilderPublicRouteAnswerProblem(state, request);
|
|
1025
|
+
if (rejection) {
|
|
1026
|
+
showMessage({ level: "error", content: rejection }, { correlationId: signal.correlationId });
|
|
1027
|
+
return;
|
|
1028
|
+
}
|
|
1029
|
+
applyPhiBuilderPublicRouteAssignments(defaultArea, request);
|
|
1030
|
+
applyPhiBuilderRuntimeModuleSelectionChanges(request.areas.map((area) => ({
|
|
1031
|
+
area,
|
|
1032
|
+
selectedIds: [...(state.runtimeModuleIdsByArea?.[area] ?? []), request.moduleId],
|
|
1033
|
+
})), defaultArea);
|
|
1034
|
+
closePhiBuilderPublicRouteCollisionRequest(defaultArea);
|
|
1035
|
+
dispatchSignal({
|
|
1036
|
+
scope: "area",
|
|
1037
|
+
channel: "reload",
|
|
1038
|
+
action: "activate",
|
|
1039
|
+
value: null,
|
|
1040
|
+
valueType: "none",
|
|
1041
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1042
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_MODULES_TABLE_WIDGET_ID),
|
|
1043
|
+
correlationId: signal.correlationId,
|
|
1044
|
+
timestamp: Date.now(),
|
|
1045
|
+
});
|
|
1046
|
+
return;
|
|
1047
|
+
}
|
|
1048
|
+
if (signal.scope === "area" &&
|
|
1049
|
+
signal.channel === "bindingParams" &&
|
|
1050
|
+
signal.action === "change" &&
|
|
1051
|
+
signal.valueType === "json" &&
|
|
1052
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.tableBindingParams &&
|
|
1053
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1054
|
+
const binding = readPhiTableBindingParamsSignalValue(signal.value);
|
|
1055
|
+
const navKey = typeof binding?.params.navKey === "string" ? binding.params.navKey : null;
|
|
1056
|
+
const parsed = parsePhiBuilderNavigationScopeKey(navKey);
|
|
1057
|
+
const current = getPhiDeveloperBuilderStateSnapshot(defaultArea);
|
|
1058
|
+
const cmsArea = resolvePhiBuilderAreaAsCmsArea(current.area);
|
|
1059
|
+
const normalizedNavKey = parsed ? `${parsed.area}:${parsed.key}` : null;
|
|
1060
|
+
if (!parsed || parsed.area !== cmsArea ||
|
|
1061
|
+
!normalizedNavKey ||
|
|
1062
|
+
!(current.navigationSurfacesByArea[current.area] ?? []).some((surface) => surface.navKey === normalizedNavKey) ||
|
|
1063
|
+
!pathname) {
|
|
1064
|
+
return;
|
|
1065
|
+
}
|
|
1066
|
+
const nextSearchParams = new URLSearchParams(searchParams.toString());
|
|
1067
|
+
nextSearchParams.set(PHI_BUILDER_AREA_SEARCH_PARAM, current.area);
|
|
1068
|
+
nextSearchParams.set(PHI_BUILDER_PAGE_SEARCH_PARAM, current.pageKey);
|
|
1069
|
+
nextSearchParams.set(PHI_BUILDER_NAVIGATION_KEY_SEARCH_PARAM, normalizedNavKey);
|
|
1070
|
+
router.replace(`${pathname}?${nextSearchParams.toString()}`, { scroll: false });
|
|
1071
|
+
return;
|
|
1072
|
+
}
|
|
1073
|
+
if (signal.channel === "builderChrome" && signal.action === "change") {
|
|
1074
|
+
const nextControls = signal.value && typeof signal.value === "object"
|
|
1075
|
+
? signal.value
|
|
1076
|
+
: null;
|
|
1077
|
+
const currentRouteScope = resolvePhiDeveloperBuilderRouteScope(pathname);
|
|
1078
|
+
if (!nextControls || !currentRouteScope || nextControls.area !== currentRouteScope.area || nextControls.pageKey !== currentRouteScope.pageKey) {
|
|
1079
|
+
return;
|
|
1080
|
+
}
|
|
1081
|
+
const currentBuilderChromeControls = state.builderChromeControls ?? createDefaultBuilderChromeControls();
|
|
1082
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
1083
|
+
...current,
|
|
1084
|
+
builderChromeControls: {
|
|
1085
|
+
editorPreviewDisabled: typeof nextControls.editorPreviewDisabled === "boolean"
|
|
1086
|
+
? nextControls.editorPreviewDisabled
|
|
1087
|
+
: currentBuilderChromeControls.editorPreviewDisabled,
|
|
1088
|
+
actionsDisabled: typeof nextControls.actionsDisabled === "boolean"
|
|
1089
|
+
? nextControls.actionsDisabled
|
|
1090
|
+
: currentBuilderChromeControls.actionsDisabled,
|
|
1091
|
+
debugDisabled: typeof nextControls.debugDisabled === "boolean"
|
|
1092
|
+
? nextControls.debugDisabled
|
|
1093
|
+
: currentBuilderChromeControls.debugDisabled,
|
|
1094
|
+
},
|
|
1095
|
+
}));
|
|
1096
|
+
return;
|
|
1097
|
+
}
|
|
1098
|
+
if (signal.scope === "page" && signal.channel === "path" && signal.action === "change") {
|
|
1099
|
+
if (builderWorkspaceKey !== "pages" || typeof signal.value !== "string" || signal.value.length === 0) {
|
|
1100
|
+
return;
|
|
1101
|
+
}
|
|
1102
|
+
const nextPageKey = resolvePhiBuilderPageKeyFromCatalogPath(effectiveArea, signal.value, currentPageTree);
|
|
1103
|
+
if (!nextPageKey) {
|
|
1104
|
+
return;
|
|
1105
|
+
}
|
|
1106
|
+
navigateToBuilderPage(nextPageKey);
|
|
1107
|
+
emitPageTitleInputValue(nextPageKey);
|
|
1108
|
+
return;
|
|
1109
|
+
}
|
|
1110
|
+
if (signal.channel === "page" && signal.action === "change") {
|
|
1111
|
+
const rawValue = signal.value;
|
|
1112
|
+
const next = rawValue && typeof rawValue === "object"
|
|
1113
|
+
? rawValue
|
|
1114
|
+
: { value: rawValue };
|
|
1115
|
+
if (!next) {
|
|
1116
|
+
return;
|
|
1117
|
+
}
|
|
1118
|
+
const nextPageKey = typeof next.pageKey === "string" && next.pageKey.length > 0
|
|
1119
|
+
? next.pageKey
|
|
1120
|
+
: typeof next.value === "string" && next.value.length > 0
|
|
1121
|
+
? resolvePhiBuilderPageKeyFromCatalogPath(state.area, next.value, resolvePhiBuilderActivePageCatalog(state.area, state.modulePresetPagesByArea, state.customPages, state.persistedPageCatalogByArea))
|
|
1122
|
+
: null;
|
|
1123
|
+
if (!nextPageKey) {
|
|
1124
|
+
return;
|
|
1125
|
+
}
|
|
1126
|
+
if (builderWorkspaceKey === "pages") {
|
|
1127
|
+
navigateToBuilderPage(nextPageKey);
|
|
1128
|
+
emitPageTitleInputValue(nextPageKey);
|
|
1129
|
+
return;
|
|
1130
|
+
}
|
|
1131
|
+
emitPageTitleInputValue(nextPageKey);
|
|
1132
|
+
phiWorkspaceCatalogStore.patch(defaultArea, (current) => ({
|
|
1133
|
+
...current,
|
|
1134
|
+
pageKey: nextPageKey,
|
|
1135
|
+
}));
|
|
1136
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
1137
|
+
...current,
|
|
1138
|
+
nodeKey: `page:${nextPageKey}`,
|
|
1139
|
+
nodeId: null,
|
|
1140
|
+
nodeKind: "page",
|
|
1141
|
+
selectedRegionType: null,
|
|
1142
|
+
selectedRegionKey: null,
|
|
1143
|
+
selectedRootRegionKey: null,
|
|
1144
|
+
inspectorOpen: false,
|
|
1145
|
+
sidebarKey: "pages",
|
|
1146
|
+
pagesOpen: false,
|
|
1147
|
+
builderChromeControls: createDefaultBuilderChromeControls(),
|
|
1148
|
+
}));
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
const builderControllerReceiver = createPhiBuilderControllerAddress();
|
|
1152
|
+
const targetsBuilderController = signal.receiver === builderControllerReceiver;
|
|
1153
|
+
/*
|
|
1154
|
+
* The Modules Table names a row, the detail Table needs binding params, and the overlay needs an
|
|
1155
|
+
* open: three different value shapes, so the translation between them lives here rather than in a
|
|
1156
|
+
* route the Table could carry on its own.
|
|
1157
|
+
*/
|
|
1158
|
+
if (signal.scope === "area" &&
|
|
1159
|
+
signal.channel === "action" &&
|
|
1160
|
+
signal.action === "activate" &&
|
|
1161
|
+
signal.valueType === "json" &&
|
|
1162
|
+
signal.receiver === builderControllerReceiver &&
|
|
1163
|
+
signal.sender === createPhiSignalAddress("cms", PHI_BUILDER_MODULES_TABLE_WIDGET_ID)) {
|
|
1164
|
+
const tableAction = readPhiTableActionSignalValue(signal.value);
|
|
1165
|
+
if (tableAction?.actionKey !== "details" || typeof tableAction.rowIdentity !== "string") {
|
|
1166
|
+
return;
|
|
1167
|
+
}
|
|
1168
|
+
dispatchSignal({
|
|
1169
|
+
scope: "page",
|
|
1170
|
+
channel: "bindingParams",
|
|
1171
|
+
action: "change",
|
|
1172
|
+
value: { params: { moduleId: tableAction.rowIdentity } },
|
|
1173
|
+
valueType: "json",
|
|
1174
|
+
valueSchema: PHI_SIGNAL_VALUE_SCHEMAS.tableBindingParams,
|
|
1175
|
+
correlationId: signal.correlationId,
|
|
1176
|
+
sender: builderControllerReceiver,
|
|
1177
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_MODULE_DETAIL_WIDGET_IDS.fields),
|
|
1178
|
+
timestamp: Date.now(),
|
|
1179
|
+
});
|
|
1180
|
+
dispatchSignal({
|
|
1181
|
+
scope: "page",
|
|
1182
|
+
channel: "dialog",
|
|
1183
|
+
action: "activate",
|
|
1184
|
+
value: null,
|
|
1185
|
+
valueType: "none",
|
|
1186
|
+
correlationId: signal.correlationId,
|
|
1187
|
+
sender: builderControllerReceiver,
|
|
1188
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_MODULE_DETAIL_OVERLAY_IDS.overlayModuleDetail),
|
|
1189
|
+
timestamp: Date.now(),
|
|
1190
|
+
});
|
|
1191
|
+
return;
|
|
1192
|
+
}
|
|
1193
|
+
if (signal.scope === "area" &&
|
|
1194
|
+
signal.channel === "runtimeModules" &&
|
|
1195
|
+
signal.action === "change" &&
|
|
1196
|
+
signal.valueType === "string[]" &&
|
|
1197
|
+
signal.receiver === builderControllerReceiver &&
|
|
1198
|
+
signal.sender !== builderControllerReceiver) {
|
|
1199
|
+
const selectedIds = Array.isArray(signal.value)
|
|
1200
|
+
? signal.value.filter((value) => typeof value === "string")
|
|
1201
|
+
: null;
|
|
1202
|
+
if (!selectedIds) {
|
|
1203
|
+
return;
|
|
1204
|
+
}
|
|
1205
|
+
try {
|
|
1206
|
+
applyPhiBuilderRuntimeModuleSelectionChange(effectiveArea, selectedIds, defaultArea);
|
|
1207
|
+
}
|
|
1208
|
+
catch (error) {
|
|
1209
|
+
showMessage({ level: "error", content: error instanceof Error ? error.message : "Invalid runtime module selection." }, { correlationId: signal.correlationId });
|
|
1210
|
+
}
|
|
1211
|
+
return;
|
|
1212
|
+
}
|
|
1213
|
+
if (signal.scope === "area" &&
|
|
1214
|
+
signal.channel === "command" &&
|
|
1215
|
+
signal.action === "activate" &&
|
|
1216
|
+
signal.valueType === "string" &&
|
|
1217
|
+
targetsBuilderController) {
|
|
1218
|
+
const commandValue = signal.value;
|
|
1219
|
+
if (builderWorkspaceKey === "pages") {
|
|
1220
|
+
if (commandValue === "createPage") {
|
|
1221
|
+
openPageMetaDialog("create");
|
|
1222
|
+
return;
|
|
1223
|
+
}
|
|
1224
|
+
if (commandValue === "editPageMeta") {
|
|
1225
|
+
openPageMetaDialog("update");
|
|
1226
|
+
return;
|
|
1227
|
+
}
|
|
1228
|
+
if (commandValue === "deletePage") {
|
|
1229
|
+
confirmResetPage();
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
const command = readPhiDeveloperBuilderToolbarCommand(commandValue);
|
|
1234
|
+
const commandWorkspace = state.commandWorkspace;
|
|
1235
|
+
const builderChromeControls = state.builderChromeControls ?? createDefaultBuilderChromeControls();
|
|
1236
|
+
if (!command || commandWorkspace == null || builderChromeControls.actionsDisabled) {
|
|
1237
|
+
return;
|
|
1238
|
+
}
|
|
1239
|
+
runBuilderCommand(command);
|
|
1240
|
+
return;
|
|
1241
|
+
}
|
|
1242
|
+
if (signal.channel === "debugScaffold" && signal.action === "change") {
|
|
1243
|
+
const nextDebugScaffold = typeof signal.value === "boolean" ? signal.value : null;
|
|
1244
|
+
if (nextDebugScaffold == null) {
|
|
1245
|
+
return;
|
|
1246
|
+
}
|
|
1247
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
1248
|
+
...current,
|
|
1249
|
+
debugScaffold: nextDebugScaffold,
|
|
1250
|
+
}));
|
|
1251
|
+
return;
|
|
1252
|
+
}
|
|
1253
|
+
if (signal.channel === "content") {
|
|
1254
|
+
const rawValue = signal.value;
|
|
1255
|
+
const next = rawValue && typeof rawValue === "object" ? rawValue : null;
|
|
1256
|
+
if (!next || next.nodeKind !== "region" || typeof next.regionKey !== "string" || !next.draft || typeof next.draft !== "object") {
|
|
1257
|
+
return;
|
|
1258
|
+
}
|
|
1259
|
+
const regionKey = next.regionKey;
|
|
1260
|
+
const nextDraft = next.draft;
|
|
1261
|
+
const catalog = phiWorkspaceCatalogStore.getSnapshot(defaultArea);
|
|
1262
|
+
const nextArea = typeof next.area === "string" ? next.area : catalog.area;
|
|
1263
|
+
const nextPageKey = typeof next.pageKey === "string" && next.pageKey.length > 0 ? next.pageKey : catalog.pageKey;
|
|
1264
|
+
builderWorkspaceStore.patch(defaultArea, (current) => {
|
|
1265
|
+
return {
|
|
1266
|
+
...current,
|
|
1267
|
+
regionDrafts: {
|
|
1268
|
+
...current.regionDrafts,
|
|
1269
|
+
[getPhiBuilderRegionDraftKey(nextArea, regionKey, nextPageKey)]: nextDraft,
|
|
1270
|
+
},
|
|
1271
|
+
};
|
|
1272
|
+
});
|
|
1273
|
+
return;
|
|
1274
|
+
}
|
|
1275
|
+
if (signal.channel === "selection" && signal.action === "change") {
|
|
1276
|
+
const rawValue = signal.value;
|
|
1277
|
+
const next = rawValue && typeof rawValue === "object" ? rawValue : null;
|
|
1278
|
+
if (!next || typeof next.nodeKey !== "string" || typeof next.nodeKind !== "string") {
|
|
1279
|
+
return;
|
|
1280
|
+
}
|
|
1281
|
+
const nextNodeKey = next.nodeKey;
|
|
1282
|
+
const nextPageKey = typeof next.pageKey === "string" ? next.pageKey : undefined;
|
|
1283
|
+
selectPhiDeveloperBuilderNode(defaultArea, {
|
|
1284
|
+
...(typeof next.area === "string" ? { area: next.area } : {}),
|
|
1285
|
+
...(nextPageKey ? { pageKey: nextPageKey } : {}),
|
|
1286
|
+
nodeKey: nextNodeKey,
|
|
1287
|
+
nodeId: readPhiCmsInstanceId(next.nodeId),
|
|
1288
|
+
nodeKind: next.nodeKind,
|
|
1289
|
+
regionType: typeof next.regionType === "number" ? next.regionType : null,
|
|
1290
|
+
regionKey: typeof next.regionKey === "string" ? next.regionKey : null,
|
|
1291
|
+
selectedLayoutAnchor: typeof next.selectedLayoutAnchor === "string"
|
|
1292
|
+
? next.selectedLayoutAnchor
|
|
1293
|
+
: null,
|
|
1294
|
+
openWiring: next.openWiring === true,
|
|
1295
|
+
});
|
|
1296
|
+
return;
|
|
1297
|
+
}
|
|
1298
|
+
if (signal.channel === "builderMode" && signal.action === "change") {
|
|
1299
|
+
const rawValue = signal.value;
|
|
1300
|
+
if (rawValue === "editor") {
|
|
1301
|
+
enterEditor();
|
|
1302
|
+
return;
|
|
1303
|
+
}
|
|
1304
|
+
if (rawValue === "preview") {
|
|
1305
|
+
void enterPreview().catch((error) => {
|
|
1306
|
+
dispatchSignal({
|
|
1307
|
+
scope: "area",
|
|
1308
|
+
channel: "builderMode",
|
|
1309
|
+
action: "change",
|
|
1310
|
+
value: state.builderMode,
|
|
1311
|
+
valueType: "string",
|
|
1312
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1313
|
+
receiver: "broadcast",
|
|
1314
|
+
correlationId: signal.correlationId,
|
|
1315
|
+
timestamp: Date.now(),
|
|
1316
|
+
});
|
|
1317
|
+
showMessage({ level: "error", content: error instanceof Error ? error.message : "Preview snapshot failed." }, { correlationId: signal.correlationId });
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
return;
|
|
1321
|
+
}
|
|
1322
|
+
/*
|
|
1323
|
+
* Where the target Area's root goes.
|
|
1324
|
+
*
|
|
1325
|
+
* The Select emits one string: a sentinel for the two answers that are not a Page, or a Page
|
|
1326
|
+
* reference. It lands in the structure draft, which states `config.shell` whole on every save.
|
|
1327
|
+
*/
|
|
1328
|
+
if (signal.scope === "area" &&
|
|
1329
|
+
signal.channel === "rootRoute" &&
|
|
1330
|
+
signal.action === "change" &&
|
|
1331
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1332
|
+
if (typeof signal.value !== "string") {
|
|
1333
|
+
return;
|
|
1334
|
+
}
|
|
1335
|
+
const currentRootRoute = readPhiBuilderEffectiveAreaRootRoute(state, state.area);
|
|
1336
|
+
/*
|
|
1337
|
+
* Recorded like every other edit in this workspace, and for the same reason.
|
|
1338
|
+
*
|
|
1339
|
+
* What the Shell says about itself is not in its Region tree, so it used to pass the history by
|
|
1340
|
+
* -- the front door was the one thing in `/shells` that could be changed and not taken back.
|
|
1341
|
+
* The scope is the structure workspace because that is the only surface these Selects appear on.
|
|
1342
|
+
*/
|
|
1343
|
+
setPhiDeveloperBuilderAreaRootRoute(state.area, signal.value === PHI_BUILDER_AREA_ROOT_ROUTE_AUTOMATIC
|
|
1344
|
+
? null
|
|
1345
|
+
: signal.value === PHI_BUILDER_AREA_ROOT_ROUTE_LANDING
|
|
1346
|
+
// Switching back to a landing keeps the applicant that was chosen before, if there was
|
|
1347
|
+
// one: the two Selects answer one question between them, and the second one's answer is
|
|
1348
|
+
// not something the first one just unsaid.
|
|
1349
|
+
? { mode: "landing", ...(currentRootRoute?.mode === "landing" && currentRootRoute.target
|
|
1350
|
+
? { target: currentRootRoute.target }
|
|
1351
|
+
: {}) }
|
|
1352
|
+
: { mode: "redirect", target: signal.value }, {
|
|
1353
|
+
historyContext: createPhiBuilderHistoryContext({ workspace: "structure", area: state.area }),
|
|
1354
|
+
historyLabel: "Change root route",
|
|
1355
|
+
});
|
|
1356
|
+
return;
|
|
1357
|
+
}
|
|
1358
|
+
/*
|
|
1359
|
+
* Which landing stands at the root, among those offered.
|
|
1360
|
+
*
|
|
1361
|
+
* Only reachable while the Area is set to a landing, because that is when the Select is enabled.
|
|
1362
|
+
* Clearing it is an answer of its own -- a landing without an applicant, whose tree the Site
|
|
1363
|
+
* authors itself -- so an empty value stores the mode without a target rather than nothing.
|
|
1364
|
+
*/
|
|
1365
|
+
if (signal.scope === "area" &&
|
|
1366
|
+
signal.channel === "landingPage" &&
|
|
1367
|
+
signal.action === "change" &&
|
|
1368
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1369
|
+
const target = typeof signal.value === "string" &&
|
|
1370
|
+
signal.value.length > 0 &&
|
|
1371
|
+
signal.value !== PHI_BUILDER_AREA_LANDING_PAGE_EMPTY
|
|
1372
|
+
? signal.value
|
|
1373
|
+
: null;
|
|
1374
|
+
setPhiDeveloperBuilderAreaRootRoute(state.area, target ? { mode: "landing", target } : { mode: "landing" }, {
|
|
1375
|
+
historyContext: createPhiBuilderHistoryContext({ workspace: "structure", area: state.area }),
|
|
1376
|
+
historyLabel: "Change landing page",
|
|
1377
|
+
});
|
|
1378
|
+
return;
|
|
1379
|
+
}
|
|
1380
|
+
/*
|
|
1381
|
+
* Whether the Area may be found, and whether its Pages are listed.
|
|
1382
|
+
*
|
|
1383
|
+
* Two switches, one sentence each, stored key by key: the answers are given one at a time and
|
|
1384
|
+
* the one nobody touched has to keep saying what it said. Only Public can reach here at all,
|
|
1385
|
+
* because only there are the switches enabled.
|
|
1386
|
+
*/
|
|
1387
|
+
if (signal.scope === "area" &&
|
|
1388
|
+
(signal.channel === "seoIndex" || signal.channel === "seoSitemap") &&
|
|
1389
|
+
signal.action === "change" &&
|
|
1390
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1391
|
+
if (typeof signal.value !== "boolean") {
|
|
1392
|
+
return;
|
|
1393
|
+
}
|
|
1394
|
+
setPhiDeveloperBuilderAreaMeta(state.area, signal.channel === "seoIndex" ? { index: signal.value } : { sitemap: signal.value }, {
|
|
1395
|
+
historyContext: createPhiBuilderHistoryContext({ workspace: "structure", area: state.area }),
|
|
1396
|
+
historyLabel: "Change area SEO",
|
|
1397
|
+
});
|
|
1398
|
+
return;
|
|
1399
|
+
}
|
|
1400
|
+
/*
|
|
1401
|
+
* What the Area puts in the title of its Pages.
|
|
1402
|
+
*
|
|
1403
|
+
* Stored key by key like the switches above, and for the same reason. Empty is stored as empty
|
|
1404
|
+
* rather than removed: the Area was asked and answered "the Site's name", which is what the
|
|
1405
|
+
* reader resolves an absent template to anyway -- but an Area that has never been asked must
|
|
1406
|
+
* stay distinguishable from one that was, or the next unrelated save would write a guess.
|
|
1407
|
+
*/
|
|
1408
|
+
if (signal.scope === "area" &&
|
|
1409
|
+
(signal.channel === "titleTemplate" || signal.channel === "defaultTitle") &&
|
|
1410
|
+
signal.action === "change" &&
|
|
1411
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1412
|
+
if (typeof signal.value !== "string") {
|
|
1413
|
+
return;
|
|
1414
|
+
}
|
|
1415
|
+
setPhiDeveloperBuilderAreaMeta(state.area, signal.channel === "titleTemplate"
|
|
1416
|
+
? { titleTemplate: signal.value }
|
|
1417
|
+
: { defaultTitle: signal.value }, {
|
|
1418
|
+
historyContext: createPhiBuilderHistoryContext({ workspace: "structure", area: state.area }),
|
|
1419
|
+
historyLabel: "Change area title",
|
|
1420
|
+
});
|
|
1421
|
+
return;
|
|
1422
|
+
}
|
|
1423
|
+
/* The dialog those switches stand in, opened from the workspace header and closed from its footer. */
|
|
1424
|
+
if (signal.scope === "area" &&
|
|
1425
|
+
signal.channel === "areaSettings" &&
|
|
1426
|
+
signal.action === "activate" &&
|
|
1427
|
+
signal.valueType === "string" &&
|
|
1428
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1429
|
+
const open = signal.value === "open";
|
|
1430
|
+
dispatchAreaSettingsDialog(open, signal.correlationId);
|
|
1431
|
+
if (open) {
|
|
1432
|
+
publishAreaSettingsState(signal.correlationId);
|
|
1433
|
+
}
|
|
1434
|
+
return;
|
|
1435
|
+
}
|
|
1436
|
+
if (signal.scope === "area" &&
|
|
1437
|
+
signal.channel === "layout" &&
|
|
1438
|
+
signal.action === "change" &&
|
|
1439
|
+
signal.receiver === createPhiBuilderControllerAddress()) {
|
|
1440
|
+
if (typeof signal.value !== "boolean") {
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
const nextMode = signal.value ? "fullHeight" : "content";
|
|
1444
|
+
handledSiderLayoutRef.current = {
|
|
1445
|
+
draftKey: getPhiBuilderRegionDraftKey(state.area, "sider_left", state.pageKey),
|
|
1446
|
+
fullHeight: signal.value,
|
|
1447
|
+
};
|
|
1448
|
+
applyPhiDeveloperBuilderSiderLeftMode(state.area, state.pageKey, nextMode);
|
|
1449
|
+
dispatchSignal({
|
|
1450
|
+
scope: "area",
|
|
1451
|
+
channel: "layout",
|
|
1452
|
+
action: "change",
|
|
1453
|
+
value: signal.value,
|
|
1454
|
+
valueType: "boolean",
|
|
1455
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1456
|
+
receiver: "broadcast",
|
|
1457
|
+
correlationId: signal.correlationId,
|
|
1458
|
+
timestamp: Date.now(),
|
|
1459
|
+
});
|
|
1460
|
+
return;
|
|
1461
|
+
}
|
|
1462
|
+
if ((signal.channel === "region" || signal.channel === "selection") &&
|
|
1463
|
+
signal.action === "change") {
|
|
1464
|
+
const rawValue = signal.value;
|
|
1465
|
+
const next = rawValue && typeof rawValue === "object"
|
|
1466
|
+
? rawValue
|
|
1467
|
+
: null;
|
|
1468
|
+
if (!next || typeof next.regionKey !== "string" || typeof next.nodeKind !== "string") {
|
|
1469
|
+
return;
|
|
1470
|
+
}
|
|
1471
|
+
const nextRegionKey = next.regionKey;
|
|
1472
|
+
const nextNodeKind = next.nodeKind === "slot" ? "slot" : "region";
|
|
1473
|
+
const nextNodeKey = typeof next.nodeKey === "string"
|
|
1474
|
+
? next.nodeKey
|
|
1475
|
+
: `${nextNodeKind}:${nextRegionKey}`;
|
|
1476
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({
|
|
1477
|
+
...current,
|
|
1478
|
+
nodeKey: nextNodeKey,
|
|
1479
|
+
nodeId: null,
|
|
1480
|
+
nodeKind: nextNodeKind,
|
|
1481
|
+
selectedRegionType: typeof next.regionType === "number"
|
|
1482
|
+
? next.regionType
|
|
1483
|
+
: current.selectedRegionType,
|
|
1484
|
+
selectedRegionKey: nextRegionKey,
|
|
1485
|
+
selectedRootRegionKey: null,
|
|
1486
|
+
inspectorOpen: nextNodeKind === "region",
|
|
1487
|
+
sidebarKey: "structure",
|
|
1488
|
+
pagesOpen: false,
|
|
1489
|
+
}));
|
|
1490
|
+
return;
|
|
1491
|
+
}
|
|
1492
|
+
if (signal.channel === "command" && signal.action === "activate" && signal.value === "pagesOpen") {
|
|
1493
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({ ...current, pagesOpen: true }));
|
|
1494
|
+
return;
|
|
1495
|
+
}
|
|
1496
|
+
if (signal.receiver === createPhiBuilderControllerAddress() && signal.channel === "effects") {
|
|
1497
|
+
if (signal.action === "change" && signal.valueType === "none") {
|
|
1498
|
+
effectsWorkflowCorrelationRef.current = signal.correlationId;
|
|
1499
|
+
effectsFormSubmissionRef.current = null;
|
|
1500
|
+
}
|
|
1501
|
+
else if (signal.action === "activate" && signal.valueType === "string" && signal.value === "save") {
|
|
1502
|
+
const correlationId = effectsWorkflowCorrelationRef.current ?? signal.correlationId;
|
|
1503
|
+
effectsFormSubmissionRef.current = { correlationId, values: {} };
|
|
1504
|
+
dispatchSignal({
|
|
1505
|
+
scope: "area",
|
|
1506
|
+
channel: "effectsSubmitting",
|
|
1507
|
+
action: "change",
|
|
1508
|
+
value: true,
|
|
1509
|
+
valueType: "boolean",
|
|
1510
|
+
correlationId,
|
|
1511
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1512
|
+
receiver: createPhiSignalSubcontrolAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.effectsCommands, "save"),
|
|
1513
|
+
timestamp: Date.now(),
|
|
1514
|
+
});
|
|
1515
|
+
for (const section of PHI_BUILDER_EFFECTS_SECTIONS) {
|
|
1516
|
+
const widgetId = PHI_BUILDER_EFFECTS_FORM_WIDGET_IDS[section];
|
|
1517
|
+
dispatchSignal({
|
|
1518
|
+
scope: "area",
|
|
1519
|
+
channel: "submit",
|
|
1520
|
+
action: "activate",
|
|
1521
|
+
value: null,
|
|
1522
|
+
valueType: "none",
|
|
1523
|
+
correlationId,
|
|
1524
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1525
|
+
receiver: createPhiSignalAddress("cms", widgetId),
|
|
1526
|
+
timestamp: Date.now(),
|
|
1527
|
+
});
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
else if ((signal.action === "activate" && signal.valueType === "string" && signal.value === "cancel") ||
|
|
1531
|
+
(signal.action === "close" &&
|
|
1532
|
+
(signal.valueType === "none" ||
|
|
1533
|
+
(signal.valueType === "json" &&
|
|
1534
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.overlayCloseRequest)))) {
|
|
1535
|
+
const correlationId = effectsWorkflowCorrelationRef.current ?? signal.correlationId;
|
|
1536
|
+
for (const section of PHI_BUILDER_EFFECTS_SECTIONS) {
|
|
1537
|
+
const widgetId = PHI_BUILDER_EFFECTS_FORM_WIDGET_IDS[section];
|
|
1538
|
+
dispatchSignal({
|
|
1539
|
+
scope: "area",
|
|
1540
|
+
channel: "reset",
|
|
1541
|
+
action: "activate",
|
|
1542
|
+
value: null,
|
|
1543
|
+
valueType: "none",
|
|
1544
|
+
correlationId,
|
|
1545
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1546
|
+
receiver: createPhiSignalAddress("cms", widgetId),
|
|
1547
|
+
timestamp: Date.now(),
|
|
1548
|
+
});
|
|
1549
|
+
}
|
|
1550
|
+
dispatchSignal({
|
|
1551
|
+
scope: "area",
|
|
1552
|
+
channel: "dialog",
|
|
1553
|
+
action: "close",
|
|
1554
|
+
value: null,
|
|
1555
|
+
valueType: "none",
|
|
1556
|
+
correlationId,
|
|
1557
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1558
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.effectsEditor),
|
|
1559
|
+
timestamp: Date.now(),
|
|
1560
|
+
});
|
|
1561
|
+
dispatchSignal({
|
|
1562
|
+
scope: "area",
|
|
1563
|
+
channel: "effectsCancel",
|
|
1564
|
+
action: "close",
|
|
1565
|
+
value: null,
|
|
1566
|
+
valueType: "none",
|
|
1567
|
+
correlationId,
|
|
1568
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1569
|
+
receiver: "broadcast",
|
|
1570
|
+
timestamp: Date.now(),
|
|
1571
|
+
});
|
|
1572
|
+
effectsWorkflowCorrelationRef.current = null;
|
|
1573
|
+
effectsFormSubmissionRef.current = null;
|
|
1574
|
+
dispatchSignal({
|
|
1575
|
+
scope: "area",
|
|
1576
|
+
channel: "effectsSubmitting",
|
|
1577
|
+
action: "change",
|
|
1578
|
+
value: false,
|
|
1579
|
+
valueType: "boolean",
|
|
1580
|
+
correlationId,
|
|
1581
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1582
|
+
receiver: createPhiSignalSubcontrolAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.effectsCommands, "save"),
|
|
1583
|
+
timestamp: Date.now(),
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
return;
|
|
1587
|
+
}
|
|
1588
|
+
/*
|
|
1589
|
+
* Signal wiring. The Form publishes its values to its own Form controller address as the author
|
|
1590
|
+
* edits, which is what keeps the four cascading selects answerable; Apply routes through the
|
|
1591
|
+
* Form's own submit so its validation runs before a route is written.
|
|
1592
|
+
*/
|
|
1593
|
+
if (signal.receiver === PHI_BUILDER_SIGNAL_WIRING_FORM_CONTROLLER_ADDRESS &&
|
|
1594
|
+
signal.action === "change" &&
|
|
1595
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.formValues) {
|
|
1596
|
+
const submitted = readPhiRuntimeFormValuesSignalValue(signal.value);
|
|
1597
|
+
if (submitted)
|
|
1598
|
+
patchPhiBuilderSignalWiringSession(defaultArea, submitted.values);
|
|
1599
|
+
return;
|
|
1600
|
+
}
|
|
1601
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1602
|
+
signal.channel === "signalWiringRoutes" &&
|
|
1603
|
+
signal.action === "activate" &&
|
|
1604
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.tableAction) {
|
|
1605
|
+
const tableAction = readPhiTableActionSignalValue(signal.value);
|
|
1606
|
+
if (tableAction?.actionKey !== "delete" || typeof tableAction.rowIdentity !== "string") {
|
|
1607
|
+
return;
|
|
1608
|
+
}
|
|
1609
|
+
const routes = resolvePhiBuilderSignalWiringRoutesWithout(defaultArea, tableAction.rowIdentity);
|
|
1610
|
+
if (!routes)
|
|
1611
|
+
return;
|
|
1612
|
+
const routeState = getPhiDeveloperBuilderStateSnapshot(defaultArea);
|
|
1613
|
+
runPhiDeveloperBuilderInspectorAction(defaultArea, routeState.nodeKind === "layout"
|
|
1614
|
+
? { kind: "patchSelectedLayoutConfig", key: "signalRoutes", value: routes }
|
|
1615
|
+
: { kind: "patchSelectedWidgetConfig", patch: { signalRoutes: routes } });
|
|
1616
|
+
dispatchSignal({
|
|
1617
|
+
scope: "area",
|
|
1618
|
+
channel: "reload",
|
|
1619
|
+
action: "activate",
|
|
1620
|
+
value: null,
|
|
1621
|
+
valueType: "none",
|
|
1622
|
+
correlationId: signal.correlationId,
|
|
1623
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1624
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.signalWiringRoutes),
|
|
1625
|
+
timestamp: Date.now(),
|
|
1626
|
+
});
|
|
1627
|
+
return;
|
|
1628
|
+
}
|
|
1629
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1630
|
+
signal.channel === "signalWiring") {
|
|
1631
|
+
if (signal.action === "activate" && signal.valueType === "string" && signal.value === "apply") {
|
|
1632
|
+
dispatchSignal({
|
|
1633
|
+
scope: "area",
|
|
1634
|
+
channel: "submit",
|
|
1635
|
+
action: "activate",
|
|
1636
|
+
value: null,
|
|
1637
|
+
valueType: "none",
|
|
1638
|
+
correlationId: signal.correlationId,
|
|
1639
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1640
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.signalWiringForm),
|
|
1641
|
+
timestamp: Date.now(),
|
|
1642
|
+
});
|
|
1643
|
+
return;
|
|
1644
|
+
}
|
|
1645
|
+
/*
|
|
1646
|
+
* Cancel, the close button, and a click on the mask all end here. The overlay runs with
|
|
1647
|
+
* `closeMode: "request"`, so it does not close itself -- it asks, and closing is the answer. Both
|
|
1648
|
+
* the session and the Form are cleared, or the next wiring session would open on the last one's
|
|
1649
|
+
* half-finished selection.
|
|
1650
|
+
*/
|
|
1651
|
+
const isCloseRequest = (signal.action === "activate" && signal.valueType === "string" && signal.value === "cancel") ||
|
|
1652
|
+
(signal.action === "close" &&
|
|
1653
|
+
(signal.valueType === "none" ||
|
|
1654
|
+
(signal.valueType === "json" &&
|
|
1655
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.overlayCloseRequest)));
|
|
1656
|
+
if (!isCloseRequest) {
|
|
1657
|
+
return;
|
|
1658
|
+
}
|
|
1659
|
+
resetPhiBuilderSignalWiringSession(defaultArea);
|
|
1660
|
+
dispatchSignal({
|
|
1661
|
+
scope: "area",
|
|
1662
|
+
channel: "reset",
|
|
1663
|
+
action: "activate",
|
|
1664
|
+
value: null,
|
|
1665
|
+
valueType: "none",
|
|
1666
|
+
correlationId: signal.correlationId,
|
|
1667
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1668
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.signalWiringForm),
|
|
1669
|
+
timestamp: Date.now(),
|
|
1670
|
+
});
|
|
1671
|
+
dispatchSignal({
|
|
1672
|
+
scope: "area",
|
|
1673
|
+
channel: "dialog",
|
|
1674
|
+
action: "close",
|
|
1675
|
+
value: null,
|
|
1676
|
+
valueType: "none",
|
|
1677
|
+
correlationId: signal.correlationId,
|
|
1678
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1679
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.signalWiring),
|
|
1680
|
+
timestamp: Date.now(),
|
|
1681
|
+
});
|
|
1682
|
+
return;
|
|
1683
|
+
}
|
|
1684
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1685
|
+
signal.channel === "signalWiringForm" &&
|
|
1686
|
+
signal.action === "change" &&
|
|
1687
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.formValues) {
|
|
1688
|
+
const submitted = readPhiRuntimeFormValuesSignalValue(signal.value);
|
|
1689
|
+
if (!submitted)
|
|
1690
|
+
return;
|
|
1691
|
+
patchPhiBuilderSignalWiringSession(defaultArea, submitted.values);
|
|
1692
|
+
const result = resolvePhiBuilderSignalWiringRoutes(defaultArea);
|
|
1693
|
+
if (result.kind !== "applied")
|
|
1694
|
+
return;
|
|
1695
|
+
const wiringState = getPhiDeveloperBuilderStateSnapshot(defaultArea);
|
|
1696
|
+
runPhiDeveloperBuilderInspectorAction(defaultArea, wiringState.nodeKind === "layout"
|
|
1697
|
+
? { kind: "patchSelectedLayoutConfig", key: "signalRoutes", value: result.routes }
|
|
1698
|
+
: { kind: "patchSelectedWidgetConfig", patch: { signalRoutes: result.routes } });
|
|
1699
|
+
resetPhiBuilderSignalWiringSession(defaultArea);
|
|
1700
|
+
dispatchSignal({
|
|
1701
|
+
scope: "area",
|
|
1702
|
+
channel: "dialog",
|
|
1703
|
+
action: "close",
|
|
1704
|
+
value: null,
|
|
1705
|
+
valueType: "none",
|
|
1706
|
+
correlationId: signal.correlationId,
|
|
1707
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1708
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.signalWiring),
|
|
1709
|
+
timestamp: Date.now(),
|
|
1710
|
+
});
|
|
1711
|
+
return;
|
|
1712
|
+
}
|
|
1713
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1714
|
+
signal.channel.startsWith("effectsFormValidation:") &&
|
|
1715
|
+
signal.action === "change" &&
|
|
1716
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.formValidity) {
|
|
1717
|
+
const pending = effectsFormSubmissionRef.current;
|
|
1718
|
+
if (!pending || signal.correlationId !== pending.correlationId)
|
|
1719
|
+
return;
|
|
1720
|
+
effectsFormSubmissionRef.current = null;
|
|
1721
|
+
dispatchSignal({
|
|
1722
|
+
scope: "area",
|
|
1723
|
+
channel: "effectsSubmitting",
|
|
1724
|
+
action: "change",
|
|
1725
|
+
value: false,
|
|
1726
|
+
valueType: "boolean",
|
|
1727
|
+
correlationId: pending.correlationId,
|
|
1728
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1729
|
+
receiver: createPhiSignalSubcontrolAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.effectsCommands, "save"),
|
|
1730
|
+
timestamp: Date.now(),
|
|
1731
|
+
});
|
|
1732
|
+
return;
|
|
1733
|
+
}
|
|
1734
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1735
|
+
signal.channel === "effectsVisibility" &&
|
|
1736
|
+
signal.action === "change" &&
|
|
1737
|
+
signal.value === false &&
|
|
1738
|
+
effectsWorkflowCorrelationRef.current) {
|
|
1739
|
+
const correlationId = effectsWorkflowCorrelationRef.current;
|
|
1740
|
+
for (const section of PHI_BUILDER_EFFECTS_SECTIONS) {
|
|
1741
|
+
const widgetId = PHI_BUILDER_EFFECTS_FORM_WIDGET_IDS[section];
|
|
1742
|
+
dispatchSignal({
|
|
1743
|
+
scope: "area",
|
|
1744
|
+
channel: "reset",
|
|
1745
|
+
action: "activate",
|
|
1746
|
+
value: null,
|
|
1747
|
+
valueType: "none",
|
|
1748
|
+
correlationId,
|
|
1749
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1750
|
+
receiver: createPhiSignalAddress("cms", widgetId),
|
|
1751
|
+
timestamp: Date.now(),
|
|
1752
|
+
});
|
|
1753
|
+
}
|
|
1754
|
+
dispatchSignal({
|
|
1755
|
+
scope: "area",
|
|
1756
|
+
channel: "effectsCancel",
|
|
1757
|
+
action: "close",
|
|
1758
|
+
value: null,
|
|
1759
|
+
valueType: "none",
|
|
1760
|
+
correlationId,
|
|
1761
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1762
|
+
receiver: "broadcast",
|
|
1763
|
+
timestamp: Date.now(),
|
|
1764
|
+
});
|
|
1765
|
+
effectsWorkflowCorrelationRef.current = null;
|
|
1766
|
+
effectsFormSubmissionRef.current = null;
|
|
1767
|
+
dispatchSignal({
|
|
1768
|
+
scope: "area",
|
|
1769
|
+
channel: "effectsSubmitting",
|
|
1770
|
+
action: "change",
|
|
1771
|
+
value: false,
|
|
1772
|
+
valueType: "boolean",
|
|
1773
|
+
correlationId,
|
|
1774
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1775
|
+
receiver: createPhiSignalSubcontrolAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.effectsCommands, "save"),
|
|
1776
|
+
timestamp: Date.now(),
|
|
1777
|
+
});
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
if (signal.receiver === createPhiBuilderControllerAddress() &&
|
|
1781
|
+
signal.channel.startsWith("effectsForm:") &&
|
|
1782
|
+
signal.action === "change" &&
|
|
1783
|
+
signal.valueSchema === PHI_SIGNAL_VALUE_SCHEMAS.formValues) {
|
|
1784
|
+
const section = signal.channel.slice("effectsForm:".length);
|
|
1785
|
+
if (section !== "appearance" && section !== "transitions" && section !== "viewport")
|
|
1786
|
+
return;
|
|
1787
|
+
const pending = effectsFormSubmissionRef.current;
|
|
1788
|
+
const submitted = readPhiRuntimeFormValuesSignalValue(signal.value);
|
|
1789
|
+
if (!pending || !submitted || signal.correlationId !== pending.correlationId)
|
|
1790
|
+
return;
|
|
1791
|
+
pending.values[section] = submitted.values;
|
|
1792
|
+
if (!pending.values.appearance || !pending.values.transitions || !pending.values.viewport)
|
|
1793
|
+
return;
|
|
1794
|
+
const effectsCorrelationId = pending.correlationId;
|
|
1795
|
+
const effects = mergePhiBuilderEffectsFormValues({
|
|
1796
|
+
appearance: pending.values.appearance,
|
|
1797
|
+
transitions: pending.values.transitions,
|
|
1798
|
+
viewport: pending.values.viewport,
|
|
1799
|
+
});
|
|
1800
|
+
dispatchSignal({
|
|
1801
|
+
scope: "area",
|
|
1802
|
+
channel: "effectsCommit",
|
|
1803
|
+
action: "change",
|
|
1804
|
+
value: { values: { effects } },
|
|
1805
|
+
valueType: "json",
|
|
1806
|
+
valueSchema: PHI_SIGNAL_VALUE_SCHEMAS.formValues,
|
|
1807
|
+
correlationId: effectsCorrelationId,
|
|
1808
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1809
|
+
receiver: "broadcast",
|
|
1810
|
+
timestamp: Date.now(),
|
|
1811
|
+
});
|
|
1812
|
+
dispatchSignal({
|
|
1813
|
+
scope: "area",
|
|
1814
|
+
channel: "dialog",
|
|
1815
|
+
action: "close",
|
|
1816
|
+
value: null,
|
|
1817
|
+
valueType: "none",
|
|
1818
|
+
correlationId: effectsCorrelationId,
|
|
1819
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1820
|
+
receiver: createPhiSignalAddress("cms", PHI_BUILDER_INSPECTOR_OVERLAY_IDS.effectsEditor),
|
|
1821
|
+
timestamp: Date.now(),
|
|
1822
|
+
});
|
|
1823
|
+
effectsWorkflowCorrelationRef.current = null;
|
|
1824
|
+
effectsFormSubmissionRef.current = null;
|
|
1825
|
+
dispatchSignal({
|
|
1826
|
+
scope: "area",
|
|
1827
|
+
channel: "effectsSubmitting",
|
|
1828
|
+
action: "change",
|
|
1829
|
+
value: false,
|
|
1830
|
+
valueType: "boolean",
|
|
1831
|
+
correlationId: effectsCorrelationId,
|
|
1832
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1833
|
+
receiver: createPhiSignalSubcontrolAddress("cms", PHI_BUILDER_INSPECTOR_WIDGET_IDS.effectsCommands, "save"),
|
|
1834
|
+
timestamp: Date.now(),
|
|
1835
|
+
});
|
|
1836
|
+
return;
|
|
1837
|
+
}
|
|
1838
|
+
if (signal.channel === "inspectorVisibility" && signal.action === "change" && typeof signal.value === "boolean") {
|
|
1839
|
+
builderWorkspaceStore.patch(defaultArea, (current) => ({ ...current, inspectorOpen: signal.value }));
|
|
1840
|
+
return;
|
|
1841
|
+
}
|
|
1842
|
+
if (signal.channel === "inspector" && signal.action === "change") {
|
|
1843
|
+
if (signal.receiver !== createPhiBuilderControllerAddress() ||
|
|
1844
|
+
signal.valueType !== "json" ||
|
|
1845
|
+
signal.valueSchema !== PHI_SIGNAL_VALUE_SCHEMAS.builderInspector) {
|
|
1846
|
+
return;
|
|
1847
|
+
}
|
|
1848
|
+
const action = readPhiBuilderInspectorAction(signal.value);
|
|
1849
|
+
if (action) {
|
|
1850
|
+
runPhiDeveloperBuilderInspectorAction(defaultArea, action);
|
|
1851
|
+
}
|
|
1852
|
+
return;
|
|
1853
|
+
}
|
|
1854
|
+
return;
|
|
1855
|
+
}, undefined,
|
|
1856
|
+
/*
|
|
1857
|
+
* The address this listener answers for.
|
|
1858
|
+
*
|
|
1859
|
+
* It was answered anyway, but by accident: the Page controller beside it names the same address in
|
|
1860
|
+
* its own filter, and that one count carried every signal the Builder sends here. Saying it where
|
|
1861
|
+
* the listener is means the Builder does not go silent the day that other listener changes.
|
|
1862
|
+
*/
|
|
1863
|
+
createPhiBuilderControllerAddress());
|
|
1864
|
+
useEffect(() => {
|
|
1865
|
+
dispatchSignal({
|
|
1866
|
+
scope: "area",
|
|
1867
|
+
channel: "areaSelection",
|
|
1868
|
+
action: "change",
|
|
1869
|
+
value: state.area,
|
|
1870
|
+
valueType: "string",
|
|
1871
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1872
|
+
receiver: "broadcast",
|
|
1873
|
+
timestamp: Date.now(),
|
|
1874
|
+
});
|
|
1875
|
+
}, [dispatchSignal, state.area]);
|
|
1876
|
+
/*
|
|
1877
|
+
* The header Area selector is disabled at rest and armed only by pages that edit one Area at a
|
|
1878
|
+
* time (`isPhiAreaScopedBuilderPage` holds the opt-in list). Steering it from here rather than
|
|
1879
|
+
* baking the state into the Shell tree keeps a DB-overridden Builder Shell honest: whatever the
|
|
1880
|
+
* stored tree says, the live page decides. It is stated once and held by the bus until the
|
|
1881
|
+
* selector exists, so a late-mounting Shell hears it without anybody waiting for it here.
|
|
1882
|
+
*/
|
|
1883
|
+
const areaSelectorAddress = useMemo(() => createPhiSignalAddress("cms", createPhiPresetCmsInstanceId({
|
|
1884
|
+
domain: "area",
|
|
1885
|
+
ownerModuleId: PHI_BUILDER_RUNTIME_MODULE_ID,
|
|
1886
|
+
presetKey: "builder-area-preset",
|
|
1887
|
+
nodeKey: "widgetBuilderAreaSelector",
|
|
1888
|
+
})), []);
|
|
1889
|
+
const areaSelectorArmed = isPhiAreaScopedBuilderPage(resolvePhiDeveloperBuilderRouteScope(pathname)?.pageKey ?? "root");
|
|
1890
|
+
useEffect(() => {
|
|
1891
|
+
dispatchSignal({
|
|
1892
|
+
scope: "area",
|
|
1893
|
+
channel: "enabled",
|
|
1894
|
+
action: "change",
|
|
1895
|
+
value: areaSelectorArmed,
|
|
1896
|
+
valueType: "boolean",
|
|
1897
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1898
|
+
receiver: areaSelectorAddress,
|
|
1899
|
+
timestamp: Date.now(),
|
|
1900
|
+
});
|
|
1901
|
+
}, [areaSelectorArmed, areaSelectorAddress, dispatchSignal]);
|
|
1902
|
+
// The debug switch rests disabled the same way, armed only where a canvas is drawn.
|
|
1903
|
+
const debugSwitchAddress = useMemo(() => createPhiSignalAddress("cms", createPhiPresetCmsInstanceId({
|
|
1904
|
+
domain: "area",
|
|
1905
|
+
ownerModuleId: PHI_BUILDER_RUNTIME_MODULE_ID,
|
|
1906
|
+
presetKey: "builder-area-preset",
|
|
1907
|
+
nodeKey: "widgetHeaderMainDebugSwitch",
|
|
1908
|
+
})), []);
|
|
1909
|
+
const debugSwitchArmed = isPhiDebugScaffoldBuilderPage(resolvePhiDeveloperBuilderRouteScope(pathname)?.pageKey ?? "root");
|
|
1910
|
+
useEffect(() => {
|
|
1911
|
+
dispatchSignal({
|
|
1912
|
+
scope: "area",
|
|
1913
|
+
channel: "enabled",
|
|
1914
|
+
action: "change",
|
|
1915
|
+
value: debugSwitchArmed,
|
|
1916
|
+
valueType: "boolean",
|
|
1917
|
+
sender: createPhiBuilderControllerAddress(),
|
|
1918
|
+
receiver: debugSwitchAddress,
|
|
1919
|
+
timestamp: Date.now(),
|
|
1920
|
+
});
|
|
1921
|
+
}, [debugSwitchArmed, debugSwitchAddress, dispatchSignal]);
|
|
1922
|
+
return pageMetaDialog;
|
|
1923
|
+
}
|
|
1924
|
+
export function PhiDeveloperBuilderWorkspaceController({ defaultArea = "public", shellPresetDraftsByArea = {}, runtimeModuleDefinitions = [], runtimeModuleIdsByArea = {}, modulePresetPagesByArea = EMPTY_MODULE_PRESET_PAGES_BY_AREA, areaPresetSourcesByArea = {}, navigationSurfacesByArea = {}, unresolvedModuleIdsByArea = EMPTY_RUNTIME_MODULE_IDS_BY_AREA, publicRouteClaims = EMPTY_PUBLIC_ROUTE_CLAIMS, publicRoutePaths = EMPTY_PUBLIC_ROUTE_PATHS, areaRootRoutesByArea = EMPTY_AREA_ROOT_ROUTES, areaMetaByArea = EMPTY_AREA_META, pageMetaLabels = PHI_BUILDER_PAGE_META_DEFAULT_PRESENTATION_LABELS, }) {
|
|
1925
|
+
const controller = usePhiDeveloperBuilderWorkspaceController(defaultArea, {
|
|
1926
|
+
shellPresetDraftsByArea,
|
|
1927
|
+
runtimeModuleDefinitions,
|
|
1928
|
+
runtimeModuleIdsByArea,
|
|
1929
|
+
modulePresetPagesByArea,
|
|
1930
|
+
areaPresetSourcesByArea,
|
|
1931
|
+
navigationSurfacesByArea,
|
|
1932
|
+
unresolvedModuleIdsByArea,
|
|
1933
|
+
publicRouteClaims,
|
|
1934
|
+
publicRoutePaths,
|
|
1935
|
+
areaRootRoutesByArea,
|
|
1936
|
+
areaMetaByArea,
|
|
1937
|
+
pageMetaLabels,
|
|
1938
|
+
});
|
|
1939
|
+
return controller;
|
|
1940
|
+
}
|