@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,1390 @@
|
|
|
1
|
+
import { isPhiCmsAreaKey, resolvePhiCmsAreaMask, } from "../../constants/cms-areas";
|
|
2
|
+
import { PhiCmsPageType, PhiCmsRegionType, PhiCmsStatus } from "../../constants/phi-cms";
|
|
3
|
+
import { PhiCmsLayoutType } from "../../constants/cms-layout-types";
|
|
4
|
+
import { createPhiPresetCmsInstanceId, createPhiPresetCmsPageId, isPhiCmsInstanceId, readPhiCmsInstanceIdDescriptor, } from "../../types/cms-instance-id";
|
|
5
|
+
import { canPhiViewerAccess, PHI_VIEWER_ACCESS_ANYONE, } from "../../types/access";
|
|
6
|
+
import { mergePhiCmsShellTrees, omitPhiCmsShellCompositionNodes, } from "./shell-tree-composition";
|
|
7
|
+
import { buildPhiRuntimeModulePackageRoutePrefix } from "../../helpers/runtime-module-route-path";
|
|
8
|
+
import { choosePhiAreaRootApplicant, isPhiAssignablePublicRoutePath, } from "../../helpers/cms-area-config";
|
|
9
|
+
import { resolvePhiLayoutCreationPreset } from "../../helpers/cms-layout-defaults";
|
|
10
|
+
import { buildPhiBasePageLayoutNode, PHI_BASE_PAGE_LAYOUT_NODE_ID, } from "../../components/regions/presets/phi-base-page-layout";
|
|
11
|
+
const PHI_CMS_REGION_TYPE_VALUES = new Set(Object.values(PhiCmsRegionType));
|
|
12
|
+
const PHI_ROUTE_PARAMETER_PATTERN = /^:[A-Za-z][A-Za-z0-9_]*$/;
|
|
13
|
+
const PHI_ROUTE_MOUNT_KEY_PATTERN = /^[a-z][a-z0-9-]*$/;
|
|
14
|
+
function normalizeRequiredKey(value, label) {
|
|
15
|
+
const normalized = value.trim();
|
|
16
|
+
if (!normalized) {
|
|
17
|
+
throw new Error(`${label} must not be empty.`);
|
|
18
|
+
}
|
|
19
|
+
if (normalized !== value) {
|
|
20
|
+
throw new Error(`${label} must be normalized.`);
|
|
21
|
+
}
|
|
22
|
+
return normalized;
|
|
23
|
+
}
|
|
24
|
+
function assertNamespacedKey(value, label) {
|
|
25
|
+
const normalized = normalizeRequiredKey(value, label);
|
|
26
|
+
const separatorIndex = normalized.lastIndexOf("/");
|
|
27
|
+
if (separatorIndex <= 0 || separatorIndex === normalized.length - 1) {
|
|
28
|
+
throw new Error(`${label} "${value}" must be namespaced.`);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function assertPositiveVersion(value, label) {
|
|
32
|
+
if (!Number.isSafeInteger(value) || value < 1) {
|
|
33
|
+
throw new Error(`${label} must be a positive integer.`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export function buildPhiCmsPresetIdentityKey(ownerModuleId, presetKey) {
|
|
37
|
+
return `${ownerModuleId}\u001f${presetKey}`;
|
|
38
|
+
}
|
|
39
|
+
export function normalizePhiCmsRoutePath(value) {
|
|
40
|
+
const trimmed = value.trim();
|
|
41
|
+
if (!trimmed || trimmed === "/") {
|
|
42
|
+
return "/";
|
|
43
|
+
}
|
|
44
|
+
const segments = trimmed.split("/").filter(Boolean);
|
|
45
|
+
return `/${segments.join("/")}`;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The address a route actually answers on.
|
|
49
|
+
*
|
|
50
|
+
* Public is the Site's own address space: a Module writes `/login` there and gets `/login`, and the one
|
|
51
|
+
* place two Modules can contest an address is settled when a Module is enabled, not here. Every other
|
|
52
|
+
* Area is authenticated and never indexed, so a Module's routes live under its package -- `/phis/ui/...`,
|
|
53
|
+
* `/acme/shop/...` -- where a collision between two packages cannot arise at all.
|
|
54
|
+
*
|
|
55
|
+
* `/` is the exception in either case. It is an application for the Area root slot rather than a route of
|
|
56
|
+
* the Module's own, so it keeps the address it asks for.
|
|
57
|
+
*/
|
|
58
|
+
function resolvePhiCmsNamespacedRouteDescriptor(descriptor, areaDefinition) {
|
|
59
|
+
if (descriptor.mount) {
|
|
60
|
+
const mount = (areaDefinition.routeMounts ?? []).find((candidate) => candidate.mountKey === descriptor.mount?.mountKey);
|
|
61
|
+
if (!mount) {
|
|
62
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: Area "${descriptor.area}" ` +
|
|
63
|
+
`does not declare route mount "${descriptor.mount.mountKey}".`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
if (descriptor.area === "public" || descriptor.path === "/") {
|
|
67
|
+
return descriptor;
|
|
68
|
+
}
|
|
69
|
+
const path = normalizePhiCmsRoutePath(descriptor.path);
|
|
70
|
+
if (path !== descriptor.path) {
|
|
71
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: route path ` +
|
|
72
|
+
`"${descriptor.path}" must be normalized.`);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
...descriptor,
|
|
76
|
+
path: `${buildPhiRuntimeModulePackageRoutePrefix(descriptor.ownerModuleId)}${path}`,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export function compilePhiCmsRoutePattern(descriptor) {
|
|
80
|
+
const path = normalizePhiCmsRoutePath(descriptor.path);
|
|
81
|
+
if (path !== descriptor.path) {
|
|
82
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: route path "${descriptor.path}" must be normalized.`);
|
|
83
|
+
}
|
|
84
|
+
const segments = path.split("/").filter(Boolean);
|
|
85
|
+
const dynamicSegments = segments.filter((segment) => segment.startsWith(":"));
|
|
86
|
+
if (dynamicSegments.length > 1) {
|
|
87
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: a route may contain at most one dynamic segment.`);
|
|
88
|
+
}
|
|
89
|
+
for (const segment of segments) {
|
|
90
|
+
if (segment.includes("*") ||
|
|
91
|
+
segment.includes("?") ||
|
|
92
|
+
segment.includes("(") ||
|
|
93
|
+
segment.includes(")") ||
|
|
94
|
+
segment === "." ||
|
|
95
|
+
segment === ".." ||
|
|
96
|
+
(segment.includes(":") && !PHI_ROUTE_PARAMETER_PATTERN.test(segment))) {
|
|
97
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: invalid route segment "${segment}".`);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return {
|
|
101
|
+
descriptor,
|
|
102
|
+
segments,
|
|
103
|
+
parameterName: dynamicSegments[0]?.slice(1) ?? null,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function routePatternsOverlap(left, right) {
|
|
107
|
+
if (left.segments.length !== right.segments.length) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return left.segments.every((segment, index) => {
|
|
111
|
+
const other = right.segments[index];
|
|
112
|
+
return segment.startsWith(":") || other.startsWith(":") || segment === other;
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function collectNavigationItemKeys(items, label) {
|
|
116
|
+
const keys = new Set();
|
|
117
|
+
const visit = (entries) => {
|
|
118
|
+
for (const item of entries) {
|
|
119
|
+
assertNamespacedKey(item.itemKey, `${label} item key`);
|
|
120
|
+
if (keys.has(item.itemKey)) {
|
|
121
|
+
throw new Error(`${label}: duplicate navigation item key "${item.itemKey}".`);
|
|
122
|
+
}
|
|
123
|
+
keys.add(item.itemKey);
|
|
124
|
+
normalizeRequiredKey(item.label.defaultMessage, `${label}/${item.itemKey} default label`);
|
|
125
|
+
visit(item.children ?? []);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
visit(items);
|
|
129
|
+
return keys;
|
|
130
|
+
}
|
|
131
|
+
function findNavigationItemDescriptor(items, itemKey) {
|
|
132
|
+
for (const item of items) {
|
|
133
|
+
if (item.itemKey === itemKey) {
|
|
134
|
+
return item;
|
|
135
|
+
}
|
|
136
|
+
const child = findNavigationItemDescriptor(item.children ?? [], itemKey);
|
|
137
|
+
if (child) {
|
|
138
|
+
return child;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
|
+
function assertAreaDefinitions(areaDefinitions, catalog) {
|
|
144
|
+
const definitionsByArea = new Map();
|
|
145
|
+
for (const definition of areaDefinitions) {
|
|
146
|
+
if (!isPhiCmsAreaKey(definition.area)) {
|
|
147
|
+
throw new Error(`Invalid Area definition "${String(definition.area)}".`);
|
|
148
|
+
}
|
|
149
|
+
if (definitionsByArea.has(definition.area)) {
|
|
150
|
+
throw new Error(`Duplicate Area definition for "${definition.area}".`);
|
|
151
|
+
}
|
|
152
|
+
const baseModule = catalog.get(definition.baseModuleId);
|
|
153
|
+
if (!baseModule) {
|
|
154
|
+
throw new Error(`Area "${definition.area}" base module "${definition.baseModuleId}" is not installed.`);
|
|
155
|
+
}
|
|
156
|
+
if (!baseModule.definition.eligibleAreas.includes(definition.area)) {
|
|
157
|
+
throw new Error(`Area "${definition.area}" base module "${definition.baseModuleId}" is not eligible.`);
|
|
158
|
+
}
|
|
159
|
+
if (baseModule.definition.kind !== "module") {
|
|
160
|
+
throw new Error(`Area "${definition.area}" base owner "${definition.baseModuleId}" must be a module contribution.`);
|
|
161
|
+
}
|
|
162
|
+
normalizeRequiredKey(definition.shellPresetKey, `${definition.area} shell preset key`);
|
|
163
|
+
const navKeys = new Set();
|
|
164
|
+
for (const surface of definition.navigationSurfaces ?? []) {
|
|
165
|
+
if (surface.navKey !== surface.navKey.trim().toLowerCase()) {
|
|
166
|
+
throw new Error(`Area "${definition.area}" navigation key "${surface.navKey}" must be normalized.`);
|
|
167
|
+
}
|
|
168
|
+
if (surface.navKey.indexOf(":", surface.navKey.indexOf(":") + 1) !== -1) {
|
|
169
|
+
throw new Error(`Area "${definition.area}" navigation key "${surface.navKey}" has too many segments.`);
|
|
170
|
+
}
|
|
171
|
+
if (!surface.navKey.startsWith(`${definition.area}:`)) {
|
|
172
|
+
throw new Error(`Area "${definition.area}" navigation key "${surface.navKey}" must use its Area prefix.`);
|
|
173
|
+
}
|
|
174
|
+
if (navKeys.has(surface.navKey)) {
|
|
175
|
+
throw new Error(`Area "${definition.area}" declares duplicate navKey "${surface.navKey}".`);
|
|
176
|
+
}
|
|
177
|
+
navKeys.add(surface.navKey);
|
|
178
|
+
normalizeRequiredKey(surface.label.defaultMessage, `${surface.navKey} default label`);
|
|
179
|
+
const itemKeys = collectNavigationItemKeys(surface.items, surface.navKey);
|
|
180
|
+
const exportedItemKeys = new Set();
|
|
181
|
+
for (const itemKey of surface.exportedItemKeys ?? []) {
|
|
182
|
+
if (!itemKeys.has(itemKey)) {
|
|
183
|
+
throw new Error(`${surface.navKey}: exported item "${itemKey}" does not exist.`);
|
|
184
|
+
}
|
|
185
|
+
if (exportedItemKeys.has(itemKey)) {
|
|
186
|
+
throw new Error(`${surface.navKey}: duplicate exported item "${itemKey}".`);
|
|
187
|
+
}
|
|
188
|
+
exportedItemKeys.add(itemKey);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
const routeMountKeys = new Set();
|
|
192
|
+
for (const mount of definition.routeMounts ?? []) {
|
|
193
|
+
if (!PHI_ROUTE_MOUNT_KEY_PATTERN.test(mount.mountKey) ||
|
|
194
|
+
routeMountKeys.has(mount.mountKey)) {
|
|
195
|
+
throw new Error(`Area "${definition.area}" declares invalid or duplicate route mount "${mount.mountKey}".`);
|
|
196
|
+
}
|
|
197
|
+
routeMountKeys.add(mount.mountKey);
|
|
198
|
+
const surface = (definition.navigationSurfaces ?? []).find((candidate) => candidate.navKey === mount.navKey);
|
|
199
|
+
if (!surface) {
|
|
200
|
+
throw new Error(`Area "${definition.area}" route mount "${mount.mountKey}" references ` +
|
|
201
|
+
`unknown navigation surface "${mount.navKey}".`);
|
|
202
|
+
}
|
|
203
|
+
if (!(surface.exportedItemKeys ?? []).includes(mount.parentItemKey)) {
|
|
204
|
+
throw new Error(`Area "${definition.area}" route mount "${mount.mountKey}" parent ` +
|
|
205
|
+
`"${mount.parentItemKey}" is not exported.`);
|
|
206
|
+
}
|
|
207
|
+
const parent = findNavigationItemDescriptor(surface.items, mount.parentItemKey);
|
|
208
|
+
if (!parent || parent.routePresetKey) {
|
|
209
|
+
throw new Error(`Area "${definition.area}" route mount "${mount.mountKey}" parent ` +
|
|
210
|
+
`"${mount.parentItemKey}" must be a navigation container.`);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
definitionsByArea.set(definition.area, definition);
|
|
214
|
+
}
|
|
215
|
+
return definitionsByArea;
|
|
216
|
+
}
|
|
217
|
+
export function compilePhiCmsDescriptorCatalog({ catalog, areaDefinitions, }) {
|
|
218
|
+
const definitionsByArea = assertAreaDefinitions(areaDefinitions, catalog);
|
|
219
|
+
const areaShellByArea = new Map();
|
|
220
|
+
const areaShellByIdentity = new Map();
|
|
221
|
+
const areaOverlaysByArea = new Map();
|
|
222
|
+
const routeByIdentity = new Map();
|
|
223
|
+
/**
|
|
224
|
+
* Navigation injections a Module contributes without owning a Page, keyed by Area.
|
|
225
|
+
*
|
|
226
|
+
* Same descriptor and same rules as a route-attached injection; only the origin differs, which is
|
|
227
|
+
* why the validation below walks one list of contributions rather than two.
|
|
228
|
+
*/
|
|
229
|
+
const moduleNavigationByArea = new Map();
|
|
230
|
+
const routesByArea = new Map();
|
|
231
|
+
const themeByKey = new Map();
|
|
232
|
+
const themeBlockByKey = new Map();
|
|
233
|
+
for (const [moduleId, entry] of catalog) {
|
|
234
|
+
const descriptorKeys = new Set();
|
|
235
|
+
const registerIdentity = (presetKey) => {
|
|
236
|
+
normalizeRequiredKey(presetKey, `${moduleId} preset key`);
|
|
237
|
+
if (descriptorKeys.has(presetKey)) {
|
|
238
|
+
throw new Error(`${moduleId}: duplicate preset key "${presetKey}".`);
|
|
239
|
+
}
|
|
240
|
+
descriptorKeys.add(presetKey);
|
|
241
|
+
return buildPhiCmsPresetIdentityKey(moduleId, presetKey);
|
|
242
|
+
};
|
|
243
|
+
for (const descriptor of entry.areaShells ?? []) {
|
|
244
|
+
if (descriptor.ownerModuleId !== moduleId) {
|
|
245
|
+
throw new Error(`${moduleId}: shell preset "${descriptor.presetKey}" has a different owner.`);
|
|
246
|
+
}
|
|
247
|
+
assertPositiveVersion(descriptor.shellPresetVersion, `${moduleId}/${descriptor.presetKey} shellPresetVersion`);
|
|
248
|
+
const areaDefinition = definitionsByArea.get(descriptor.area);
|
|
249
|
+
if (!areaDefinition) {
|
|
250
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: Area "${descriptor.area}" is not declared.`);
|
|
251
|
+
}
|
|
252
|
+
if (!entry.definition.eligibleAreas.includes(descriptor.area)) {
|
|
253
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: owner module is not eligible for Area "${descriptor.area}".`);
|
|
254
|
+
}
|
|
255
|
+
if (areaDefinition.baseModuleId !== moduleId ||
|
|
256
|
+
areaDefinition.shellPresetKey !== descriptor.presetKey) {
|
|
257
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: shell preset does not match Area "${descriptor.area}" base definition.`);
|
|
258
|
+
}
|
|
259
|
+
const identity = registerIdentity(descriptor.presetKey);
|
|
260
|
+
if (areaShellByArea.has(descriptor.area)) {
|
|
261
|
+
throw new Error(`Area "${descriptor.area}" has more than one shell preset.`);
|
|
262
|
+
}
|
|
263
|
+
const binding = { descriptor };
|
|
264
|
+
areaShellByArea.set(descriptor.area, binding);
|
|
265
|
+
areaShellByIdentity.set(identity, binding);
|
|
266
|
+
}
|
|
267
|
+
for (const descriptor of entry.areaOverlays ?? []) {
|
|
268
|
+
if (descriptor.ownerModuleId !== moduleId) {
|
|
269
|
+
throw new Error(`${moduleId}: Area Overlay preset "${descriptor.presetKey}" has a different owner.`);
|
|
270
|
+
}
|
|
271
|
+
assertPositiveVersion(descriptor.presetVersion, `${moduleId}/${descriptor.presetKey} presetVersion`);
|
|
272
|
+
if (!definitionsByArea.has(descriptor.area)) {
|
|
273
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: Area "${descriptor.area}" is not declared.`);
|
|
274
|
+
}
|
|
275
|
+
if (!entry.definition.eligibleAreas.includes(descriptor.area)) {
|
|
276
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: owner module is not eligible for Area "${descriptor.area}".`);
|
|
277
|
+
}
|
|
278
|
+
registerIdentity(descriptor.presetKey);
|
|
279
|
+
const descriptors = areaOverlaysByArea.get(descriptor.area) ?? [];
|
|
280
|
+
descriptors.push(descriptor);
|
|
281
|
+
areaOverlaysByArea.set(descriptor.area, descriptors);
|
|
282
|
+
}
|
|
283
|
+
for (const descriptor of entry.navigation ?? []) {
|
|
284
|
+
const area = descriptor.navKey.split(":")[0];
|
|
285
|
+
if (!isPhiCmsAreaKey(area) || !definitionsByArea.has(area)) {
|
|
286
|
+
throw new Error(`${moduleId}: navigation "${descriptor.navKey}" names no declared Area.`);
|
|
287
|
+
}
|
|
288
|
+
if (!entry.definition.eligibleAreas.includes(area)) {
|
|
289
|
+
throw new Error(`${moduleId}: navigation "${descriptor.navKey}" is in an Area the Module is not eligible for.`);
|
|
290
|
+
}
|
|
291
|
+
const contributions = moduleNavigationByArea.get(area) ?? [];
|
|
292
|
+
contributions.push({ ownerModuleId: moduleId, descriptor });
|
|
293
|
+
moduleNavigationByArea.set(area, contributions);
|
|
294
|
+
}
|
|
295
|
+
for (const descriptor of entry.routes ?? []) {
|
|
296
|
+
if (descriptor.ownerModuleId !== moduleId) {
|
|
297
|
+
throw new Error(`${moduleId}: route preset "${descriptor.presetKey}" has a different owner.`);
|
|
298
|
+
}
|
|
299
|
+
const areaDefinition = definitionsByArea.get(descriptor.area);
|
|
300
|
+
if (!areaDefinition) {
|
|
301
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: Area "${descriptor.area}" is not declared.`);
|
|
302
|
+
}
|
|
303
|
+
assertPositiveVersion(descriptor.presetVersion, `${moduleId}/${descriptor.presetKey} presetVersion`);
|
|
304
|
+
normalizeRequiredKey(descriptor.title, `${moduleId}/${descriptor.presetKey} title`);
|
|
305
|
+
const identity = registerIdentity(descriptor.presetKey);
|
|
306
|
+
if (!entry.definition.eligibleAreas.includes(descriptor.area)) {
|
|
307
|
+
throw new Error(`${moduleId}/${descriptor.presetKey}: owner module is not eligible for Area "${descriptor.area}".`);
|
|
308
|
+
}
|
|
309
|
+
const resolvedDescriptor = resolvePhiCmsNamespacedRouteDescriptor(descriptor, areaDefinition);
|
|
310
|
+
const compiled = compilePhiCmsRoutePattern(resolvedDescriptor);
|
|
311
|
+
routeByIdentity.set(identity, resolvedDescriptor);
|
|
312
|
+
const areaRoutes = routesByArea.get(descriptor.area) ?? [];
|
|
313
|
+
areaRoutes.push(compiled);
|
|
314
|
+
routesByArea.set(descriptor.area, areaRoutes);
|
|
315
|
+
}
|
|
316
|
+
registerPhiCmsThemeDescriptors({ moduleId, themes: entry.themes, themeBlocks: entry.themeBlocks }, registerIdentity, { themeByKey, themeBlockByKey });
|
|
317
|
+
}
|
|
318
|
+
for (const [area, definition] of definitionsByArea) {
|
|
319
|
+
if (!areaShellByArea.has(area)) {
|
|
320
|
+
throw new Error(`Area "${area}" is missing shell preset "${definition.baseModuleId}/${definition.shellPresetKey}".`);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
for (const binding of areaShellByIdentity.values()) {
|
|
324
|
+
const descriptor = binding.descriptor;
|
|
325
|
+
const exportedNodeKeys = new Set();
|
|
326
|
+
for (const nodeKey of descriptor.exportedNodeKeys ?? []) {
|
|
327
|
+
normalizeRequiredKey(nodeKey, `${descriptor.ownerModuleId}/${descriptor.presetKey} exported node key`);
|
|
328
|
+
if (exportedNodeKeys.has(nodeKey)) {
|
|
329
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: duplicate exported node key "${nodeKey}".`);
|
|
330
|
+
}
|
|
331
|
+
exportedNodeKeys.add(nodeKey);
|
|
332
|
+
}
|
|
333
|
+
const sourceKeys = new Set();
|
|
334
|
+
for (const source of descriptor.composition ?? []) {
|
|
335
|
+
const sourceIdentity = buildPhiCmsPresetIdentityKey(source.ownerModuleId, source.presetKey);
|
|
336
|
+
if (sourceKeys.has(sourceIdentity)) {
|
|
337
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: duplicate shell composition source.`);
|
|
338
|
+
}
|
|
339
|
+
sourceKeys.add(sourceIdentity);
|
|
340
|
+
const sourceBinding = areaShellByIdentity.get(sourceIdentity);
|
|
341
|
+
if (!sourceBinding) {
|
|
342
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: unresolved shell composition source ` +
|
|
343
|
+
`"${source.ownerModuleId}/${source.presetKey}".`);
|
|
344
|
+
}
|
|
345
|
+
const sourceExportedNodeKeys = new Set(sourceBinding.descriptor.exportedNodeKeys ?? []);
|
|
346
|
+
for (const regionType of source.omitRegionTypes ?? []) {
|
|
347
|
+
if (!PHI_CMS_REGION_TYPE_VALUES.has(regionType)) {
|
|
348
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: invalid omitted Region type "${String(regionType)}".`);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
for (const nodeKey of source.omitNodeKeys ?? []) {
|
|
352
|
+
if (!sourceExportedNodeKeys.has(nodeKey)) {
|
|
353
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: node key "${nodeKey}" is not exported by ` +
|
|
354
|
+
`"${source.ownerModuleId}/${source.presetKey}".`);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
const visiting = new Set();
|
|
360
|
+
const visited = new Set();
|
|
361
|
+
const visitShell = (identity) => {
|
|
362
|
+
if (visiting.has(identity)) {
|
|
363
|
+
throw new Error(`Area shell composition cycle detected at "${identity}".`);
|
|
364
|
+
}
|
|
365
|
+
if (visited.has(identity)) {
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
visiting.add(identity);
|
|
369
|
+
const descriptor = areaShellByIdentity.get(identity)?.descriptor;
|
|
370
|
+
for (const source of descriptor?.composition ?? []) {
|
|
371
|
+
visitShell(buildPhiCmsPresetIdentityKey(source.ownerModuleId, source.presetKey));
|
|
372
|
+
}
|
|
373
|
+
visiting.delete(identity);
|
|
374
|
+
visited.add(identity);
|
|
375
|
+
};
|
|
376
|
+
for (const identity of areaShellByIdentity.keys()) {
|
|
377
|
+
visitShell(identity);
|
|
378
|
+
}
|
|
379
|
+
const routeDescriptors = [...routesByArea.values()].flat().map(({ descriptor }) => descriptor);
|
|
380
|
+
const injectionKeysByOwnerAndSurface = new Map();
|
|
381
|
+
const allInjectionKeysBySurface = new Map();
|
|
382
|
+
const readInjectionOwnerKey = (ownerModuleId, navKey) => `${ownerModuleId}\u001f${navKey}`;
|
|
383
|
+
const assertOwnedRouteReference = ({ ownerModuleId, area, routePresetKey, label, }) => {
|
|
384
|
+
const route = routeByIdentity.get(buildPhiCmsPresetIdentityKey(ownerModuleId, routePresetKey));
|
|
385
|
+
if (!route || route.area !== area) {
|
|
386
|
+
throw new Error(`${label}: route preset "${routePresetKey}" is not owned in Area "${area}".`);
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
const assertOwnedOverlayReference = ({ ownerModuleId, area, overlayPresetKey, label, }) => {
|
|
390
|
+
const owned = (areaOverlaysByArea.get(area) ?? []).some((descriptor) => descriptor.ownerModuleId === ownerModuleId && descriptor.presetKey === overlayPresetKey);
|
|
391
|
+
if (!owned) {
|
|
392
|
+
throw new Error(`${label}: Overlay preset "${overlayPresetKey}" is not owned in Area "${area}".`);
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
const visitNavigationRouteReferences = (items, ownerModuleId, area, label) => {
|
|
396
|
+
for (const item of items) {
|
|
397
|
+
if (item.routePresetKey && item.overlayPresetKey) {
|
|
398
|
+
throw new Error(`${label}/${item.itemKey}: an item goes to a route or opens an Overlay, never both.`);
|
|
399
|
+
}
|
|
400
|
+
if (item.overlayPresetKey && !item.overlayNodeKey) {
|
|
401
|
+
throw new Error(`${label}/${item.itemKey}: an Overlay reference needs both a preset key and a node key.`);
|
|
402
|
+
}
|
|
403
|
+
if (item.routePresetKey) {
|
|
404
|
+
assertOwnedRouteReference({
|
|
405
|
+
ownerModuleId,
|
|
406
|
+
area,
|
|
407
|
+
routePresetKey: item.routePresetKey,
|
|
408
|
+
label: `${label}/${item.itemKey}`,
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
if (item.overlayPresetKey) {
|
|
412
|
+
assertOwnedOverlayReference({
|
|
413
|
+
ownerModuleId,
|
|
414
|
+
area,
|
|
415
|
+
overlayPresetKey: item.overlayPresetKey,
|
|
416
|
+
label: `${label}/${item.itemKey}`,
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
visitNavigationRouteReferences(item.children ?? [], ownerModuleId, area, label);
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
for (const definition of definitionsByArea.values()) {
|
|
423
|
+
for (const surface of definition.navigationSurfaces ?? []) {
|
|
424
|
+
visitNavigationRouteReferences(surface.items, definition.baseModuleId, definition.area, surface.navKey);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
const navigationContributions = [
|
|
428
|
+
...routeDescriptors.flatMap((route) => (route.navigation ?? []).map((injection) => ({
|
|
429
|
+
ownerModuleId: route.ownerModuleId,
|
|
430
|
+
area: route.area,
|
|
431
|
+
label: `${route.ownerModuleId}/${route.presetKey}`,
|
|
432
|
+
injection,
|
|
433
|
+
}))),
|
|
434
|
+
...[...moduleNavigationByArea.entries()].flatMap(([area, contributions]) => contributions.map(({ ownerModuleId, descriptor }) => ({
|
|
435
|
+
ownerModuleId,
|
|
436
|
+
area,
|
|
437
|
+
label: ownerModuleId,
|
|
438
|
+
injection: descriptor,
|
|
439
|
+
}))),
|
|
440
|
+
];
|
|
441
|
+
for (const { ownerModuleId: contributorId, area: contributionArea, label: contributionLabel, injection } of navigationContributions) {
|
|
442
|
+
const areaDefinition = definitionsByArea.get(contributionArea);
|
|
443
|
+
const surfacesByKey = new Map((areaDefinition.navigationSurfaces ?? []).map((surface) => [surface.navKey, surface]));
|
|
444
|
+
{
|
|
445
|
+
const surface = surfacesByKey.get(injection.navKey);
|
|
446
|
+
if (!surface) {
|
|
447
|
+
throw new Error(`${contributionLabel}: navigation surface "${injection.navKey}" is not declared.`);
|
|
448
|
+
}
|
|
449
|
+
if (injection.before && injection.after) {
|
|
450
|
+
throw new Error(`${contributionLabel}: navigation injection cannot set before and after.`);
|
|
451
|
+
}
|
|
452
|
+
// An injection without an anchor is allowed and lands at the end of its surface, ordered by
|
|
453
|
+
// `${ownerModuleId}\u001f${presetKey}\u001f${itemKey}` -- deterministic, and not dependent on the
|
|
454
|
+
// order Modules happened to be composed in. Requiring an anchor here would have meant a Module can
|
|
455
|
+
// only contribute where a surface chose to open itself, which is a different question from whether
|
|
456
|
+
// it may contribute at all.
|
|
457
|
+
//
|
|
458
|
+
// What still needs an export is a *reference*: `before`, `after`, and `parentItemKey` name someone
|
|
459
|
+
// else's item, and a named item is public API that its owner has to promise to keep.
|
|
460
|
+
const itemKeys = collectNavigationItemKeys([injection.item], `${contributionLabel}/${injection.navKey}`);
|
|
461
|
+
const allSurfaceKeys = allInjectionKeysBySurface.get(injection.navKey) ?? new Set();
|
|
462
|
+
for (const itemKey of itemKeys) {
|
|
463
|
+
if (allSurfaceKeys.has(itemKey)) {
|
|
464
|
+
throw new Error(`${injection.navKey}: duplicate injected item key "${itemKey}".`);
|
|
465
|
+
}
|
|
466
|
+
allSurfaceKeys.add(itemKey);
|
|
467
|
+
}
|
|
468
|
+
allInjectionKeysBySurface.set(injection.navKey, allSurfaceKeys);
|
|
469
|
+
const ownerKey = readInjectionOwnerKey(contributorId, injection.navKey);
|
|
470
|
+
const ownerKeys = injectionKeysByOwnerAndSurface.get(ownerKey) ?? new Set();
|
|
471
|
+
for (const itemKey of itemKeys) {
|
|
472
|
+
ownerKeys.add(itemKey);
|
|
473
|
+
}
|
|
474
|
+
injectionKeysByOwnerAndSurface.set(ownerKey, ownerKeys);
|
|
475
|
+
visitNavigationRouteReferences([injection.item], contributorId, contributionArea, `${contributionLabel}/${injection.navKey}`);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
// Anchors are checked once every injection key is known, so a Module may anchor on its own item as
|
|
479
|
+
// well as on an exported base one -- which is what lets a Module contribute a small subtree.
|
|
480
|
+
for (const { ownerModuleId: contributorId, area: contributionArea, label: contributionLabel, injection } of navigationContributions) {
|
|
481
|
+
const areaDefinition = definitionsByArea.get(contributionArea);
|
|
482
|
+
const surfacesByKey = new Map((areaDefinition.navigationSurfaces ?? []).map((surface) => [surface.navKey, surface]));
|
|
483
|
+
const surface = surfacesByKey.get(injection.navKey);
|
|
484
|
+
const baseItemKeys = collectNavigationItemKeys(surface.items, surface.navKey);
|
|
485
|
+
const exportedItemKeys = new Set(surface.exportedItemKeys ?? []);
|
|
486
|
+
const ownItemKeys = injectionKeysByOwnerAndSurface.get(readInjectionOwnerKey(contributorId, injection.navKey)) ?? new Set();
|
|
487
|
+
const assertAnchor = (itemKey, label) => {
|
|
488
|
+
if (itemKey == null) {
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
const baseAnchorAllowed = contributorId === areaDefinition.baseModuleId
|
|
492
|
+
? baseItemKeys.has(itemKey)
|
|
493
|
+
: exportedItemKeys.has(itemKey);
|
|
494
|
+
if (!baseAnchorAllowed && !ownItemKeys.has(itemKey)) {
|
|
495
|
+
throw new Error(`${contributionLabel}: ${label} "${itemKey}" is not an exported base or same-module item.`);
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
assertAnchor(injection.parentItemKey, "parent item");
|
|
499
|
+
assertAnchor(injection.before, "before anchor");
|
|
500
|
+
assertAnchor(injection.after, "after anchor");
|
|
501
|
+
}
|
|
502
|
+
return {
|
|
503
|
+
areaDefinitions: definitionsByArea,
|
|
504
|
+
areaShellByArea,
|
|
505
|
+
areaShellByIdentity,
|
|
506
|
+
areaOverlaysByArea,
|
|
507
|
+
moduleNavigationByArea,
|
|
508
|
+
routeByIdentity,
|
|
509
|
+
routesByArea,
|
|
510
|
+
themeByKey,
|
|
511
|
+
themeBlockByKey,
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
const descriptorCatalogByRuntimeCatalog = new WeakMap();
|
|
515
|
+
/**
|
|
516
|
+
* One Module's Theme presets and blocks, checked and filed into the site-wide maps.
|
|
517
|
+
*
|
|
518
|
+
* Shared by the full catalog compile and by `compilePhiCmsThemeDescriptors`, so the document shell --
|
|
519
|
+
* which reads Themes without a runtime catalog -- refuses exactly what the Builder refuses.
|
|
520
|
+
*/
|
|
521
|
+
function registerPhiCmsThemeDescriptors({ moduleId, themes, themeBlocks }, registerIdentity, maps) {
|
|
522
|
+
for (const descriptor of themes ?? []) {
|
|
523
|
+
if (descriptor.ownerModuleId !== moduleId) {
|
|
524
|
+
throw new Error(`${moduleId}: theme preset "${descriptor.presetKey}" has a different owner.`);
|
|
525
|
+
}
|
|
526
|
+
assertPositiveVersion(descriptor.presetVersion, `${moduleId}/${descriptor.presetKey} presetVersion`);
|
|
527
|
+
normalizeRequiredKey(descriptor.themeKey, `${moduleId}/${descriptor.presetKey} theme key`);
|
|
528
|
+
normalizeRequiredKey(descriptor.title, `${moduleId}/${descriptor.presetKey} title`);
|
|
529
|
+
registerIdentity(descriptor.presetKey);
|
|
530
|
+
if (maps.themeByKey.has(descriptor.themeKey)) {
|
|
531
|
+
throw new Error(`Duplicate theme preset key "${descriptor.themeKey}".`);
|
|
532
|
+
}
|
|
533
|
+
maps.themeByKey.set(descriptor.themeKey, { descriptor });
|
|
534
|
+
}
|
|
535
|
+
/*
|
|
536
|
+
* Style, ground and Set blocks. Keyed by kind and key together, because the three kinds are three
|
|
537
|
+
* namespaces: a "forest" ground and a "forest" Set are different things and both are wanted.
|
|
538
|
+
*/
|
|
539
|
+
for (const descriptor of themeBlocks ?? []) {
|
|
540
|
+
if (descriptor.ownerModuleId !== moduleId) {
|
|
541
|
+
throw new Error(`${moduleId}: theme block "${descriptor.presetKey}" has a different owner.`);
|
|
542
|
+
}
|
|
543
|
+
assertPositiveVersion(descriptor.presetVersion, `${moduleId}/${descriptor.presetKey} presetVersion`);
|
|
544
|
+
normalizeRequiredKey(descriptor.blockKey, `${moduleId}/${descriptor.presetKey} block key`);
|
|
545
|
+
normalizeRequiredKey(descriptor.title, `${moduleId}/${descriptor.presetKey} title`);
|
|
546
|
+
registerIdentity(descriptor.presetKey);
|
|
547
|
+
const blockIdentity = `${descriptor.blockKind}:${descriptor.blockKey}`;
|
|
548
|
+
if (maps.themeBlockByKey.has(blockIdentity)) {
|
|
549
|
+
throw new Error(`Duplicate theme block "${blockIdentity}".`);
|
|
550
|
+
}
|
|
551
|
+
maps.themeBlockByKey.set(blockIdentity, { descriptor });
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* The Theme half of a descriptor catalog, compiled from the Theme descriptors alone.
|
|
556
|
+
*
|
|
557
|
+
* A Theme is site-wide, so whoever reads it -- the document shell above every Area -- needs every
|
|
558
|
+
* installed Module's Theme descriptors and nothing else of theirs. Compiling a runtime catalog for it
|
|
559
|
+
* would reach every Widget plugin, and with them their Client halves onto every route.
|
|
560
|
+
*/
|
|
561
|
+
export function compilePhiCmsThemeDescriptors(contributions) {
|
|
562
|
+
const themeByKey = new Map();
|
|
563
|
+
const themeBlockByKey = new Map();
|
|
564
|
+
const presetKeysByModule = new Map();
|
|
565
|
+
for (const contribution of contributions) {
|
|
566
|
+
const presetKeys = presetKeysByModule.get(contribution.moduleId) ?? new Set();
|
|
567
|
+
presetKeysByModule.set(contribution.moduleId, presetKeys);
|
|
568
|
+
registerPhiCmsThemeDescriptors(contribution, (presetKey) => {
|
|
569
|
+
normalizeRequiredKey(presetKey, `${contribution.moduleId} preset key`);
|
|
570
|
+
if (presetKeys.has(presetKey)) {
|
|
571
|
+
throw new Error(`${contribution.moduleId}: duplicate preset key "${presetKey}".`);
|
|
572
|
+
}
|
|
573
|
+
presetKeys.add(presetKey);
|
|
574
|
+
}, { themeByKey, themeBlockByKey });
|
|
575
|
+
}
|
|
576
|
+
return { themeByKey, themeBlockByKey };
|
|
577
|
+
}
|
|
578
|
+
export function resolvePhiCmsDescriptorCatalog(catalog) {
|
|
579
|
+
const current = descriptorCatalogByRuntimeCatalog.get(catalog);
|
|
580
|
+
if (current) {
|
|
581
|
+
return current;
|
|
582
|
+
}
|
|
583
|
+
const compiled = compilePhiCmsDescriptorCatalog({
|
|
584
|
+
catalog,
|
|
585
|
+
areaDefinitions: catalog.areaDefinitions,
|
|
586
|
+
});
|
|
587
|
+
descriptorCatalogByRuntimeCatalog.set(catalog, compiled);
|
|
588
|
+
return compiled;
|
|
589
|
+
}
|
|
590
|
+
export function compilePhiCmsActiveRouteTable({ catalog, area, activeModuleIds, viewer, publicRoutePaths, landingSelection, }) {
|
|
591
|
+
const areaDefinition = catalog.areaDefinitions.get(area);
|
|
592
|
+
if (!areaDefinition) {
|
|
593
|
+
throw new Error(`Area "${area}" is not declared.`);
|
|
594
|
+
}
|
|
595
|
+
if (!activeModuleIds.has(areaDefinition.baseModuleId)) {
|
|
596
|
+
throw new Error(`Area "${area}" base module "${areaDefinition.baseModuleId}" is not active.`);
|
|
597
|
+
}
|
|
598
|
+
/*
|
|
599
|
+
* A read of what was written, and reads do not refuse. Two active routes wanting one address is a
|
|
600
|
+
* state the write that produced it had to allow -- enabling a Module asks for another path or does
|
|
601
|
+
* not enable it -- so here the address answers with the first claim and the second is simply not in
|
|
602
|
+
* the table. Its navigation entry then hides on its own, which is what an entry with nowhere to go
|
|
603
|
+
* should do.
|
|
604
|
+
*/
|
|
605
|
+
/*
|
|
606
|
+
* Which application for `/` is answered, decided once before anything is compiled.
|
|
607
|
+
*
|
|
608
|
+
* Who wins is `choosePhiAreaRootApplicant`, shared with the Builder so the Page an author edits is
|
|
609
|
+
* the Page a visitor is served. What belongs here is only who gets to apply: active in this Area,
|
|
610
|
+
* and visible to this viewer. The applications that are not answered are not in the table at all.
|
|
611
|
+
*/
|
|
612
|
+
const rootApplicants = (catalog.routesByArea.get(area) ?? []).filter((declared) => declared.descriptor.path === "/" &&
|
|
613
|
+
activeModuleIds.has(declared.descriptor.ownerModuleId) &&
|
|
614
|
+
(!viewer || canPhiViewerAccess(viewer, declared.descriptor.accessPolicy)));
|
|
615
|
+
const chosenRoot = choosePhiAreaRootApplicant(rootApplicants, (declared) => declared.descriptor, { baseModuleId: areaDefinition.baseModuleId, landingSelection }) ?? undefined;
|
|
616
|
+
const byPageId = new Map();
|
|
617
|
+
const exactByPath = new Map();
|
|
618
|
+
const dynamic = [];
|
|
619
|
+
const assignedPaths = new Map(area === "public"
|
|
620
|
+
? (publicRoutePaths ?? [])
|
|
621
|
+
.filter((assignment) => isPhiAssignablePublicRoutePath(assignment.path))
|
|
622
|
+
.map((assignment) => [
|
|
623
|
+
buildPhiCmsPresetIdentityKey(assignment.ownerModuleId, assignment.presetKey),
|
|
624
|
+
assignment.path,
|
|
625
|
+
])
|
|
626
|
+
: []);
|
|
627
|
+
/*
|
|
628
|
+
* The Public base Module's Pages are a floor, and a package Module that declares one of their paths
|
|
629
|
+
* covers it (MODULES.md, "Who owns an address"). An address answers with its first claim, so the
|
|
630
|
+
* covering is nothing more than who claims first: every other Module ahead of the base Module. The
|
|
631
|
+
* base route still enters `byPageId` below, so its identity stays active and everything pointing at
|
|
632
|
+
* it reaches the covering Page through the path. Outside Public no package can declare a base path.
|
|
633
|
+
*/
|
|
634
|
+
const declaredRoutes = catalog.routesByArea.get(area) ?? [];
|
|
635
|
+
const orderedRoutes = area === "public"
|
|
636
|
+
? [
|
|
637
|
+
...declaredRoutes.filter((declared) => declared.descriptor.ownerModuleId !== areaDefinition.baseModuleId),
|
|
638
|
+
...declaredRoutes.filter((declared) => declared.descriptor.ownerModuleId === areaDefinition.baseModuleId),
|
|
639
|
+
]
|
|
640
|
+
: declaredRoutes;
|
|
641
|
+
for (const declared of orderedRoutes) {
|
|
642
|
+
if (!activeModuleIds.has(declared.descriptor.ownerModuleId)) {
|
|
643
|
+
continue;
|
|
644
|
+
}
|
|
645
|
+
if (viewer && !canPhiViewerAccess(viewer, declared.descriptor.accessPolicy)) {
|
|
646
|
+
continue;
|
|
647
|
+
}
|
|
648
|
+
if (declared.descriptor.path === "/" && declared !== chosenRoot) {
|
|
649
|
+
continue;
|
|
650
|
+
}
|
|
651
|
+
const assignedPath = assignedPaths.get(buildPhiCmsPresetIdentityKey(declared.descriptor.ownerModuleId, declared.descriptor.presetKey));
|
|
652
|
+
const pattern = assignedPath == null || assignedPath === declared.descriptor.path
|
|
653
|
+
? declared
|
|
654
|
+
: compilePhiCmsRoutePattern({ ...declared.descriptor, path: assignedPath });
|
|
655
|
+
byPageId.set(createPhiPresetCmsPageId({
|
|
656
|
+
ownerModuleId: pattern.descriptor.ownerModuleId,
|
|
657
|
+
presetKey: pattern.descriptor.presetKey,
|
|
658
|
+
}), pattern.descriptor);
|
|
659
|
+
if (pattern.parameterName === null) {
|
|
660
|
+
if (!exactByPath.has(pattern.descriptor.path)) {
|
|
661
|
+
exactByPath.set(pattern.descriptor.path, pattern.descriptor);
|
|
662
|
+
}
|
|
663
|
+
continue;
|
|
664
|
+
}
|
|
665
|
+
if (!dynamic.some((candidate) => routePatternsOverlap(candidate, pattern))) {
|
|
666
|
+
dynamic.push(pattern);
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
return { area, byPageId, exactByPath, dynamic };
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* What an item points at, if anything currently answers there.
|
|
673
|
+
*
|
|
674
|
+
* Reading a navigation surface may not fail. An item can name a route that no longer answers -- a Module
|
|
675
|
+
* switched off, a path the Module lost when another one took it over -- and the honest response is the
|
|
676
|
+
* one already given to a route the viewer may not reach: the entry is not shown. Refusing belongs to the
|
|
677
|
+
* write that produced the state, not to every read afterwards.
|
|
678
|
+
*/
|
|
679
|
+
function resolveNavigationTarget(catalog, activeRouteIdentityKeys, ownerModuleId, routePresetKey, overlay) {
|
|
680
|
+
if (overlay) {
|
|
681
|
+
// No path and no lookup against the route table: the item opens something that is already in the
|
|
682
|
+
// Area tree. Ownership was checked when the surface was compiled.
|
|
683
|
+
return {
|
|
684
|
+
kind: "overlay",
|
|
685
|
+
ownerModuleId,
|
|
686
|
+
presetKey: overlay.presetKey,
|
|
687
|
+
nodeKey: overlay.nodeKey,
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
if (!routePresetKey) {
|
|
691
|
+
return null;
|
|
692
|
+
}
|
|
693
|
+
const route = resolvePhiCmsRoutePresetByIdentity(catalog, ownerModuleId, routePresetKey);
|
|
694
|
+
if (!route || !activeRouteIdentityKeys.has(buildPhiCmsPresetIdentityKey(ownerModuleId, routePresetKey))) {
|
|
695
|
+
return null;
|
|
696
|
+
}
|
|
697
|
+
return {
|
|
698
|
+
kind: "module",
|
|
699
|
+
ownerModuleId,
|
|
700
|
+
presetKey: route.presetKey,
|
|
701
|
+
path: route.path,
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
function buildResolvedNavigationNode(catalog, activeRouteIdentityKeys, navKey, ownerModuleId, descriptor, injection) {
|
|
705
|
+
const target = resolveNavigationTarget(catalog, activeRouteIdentityKeys, ownerModuleId, descriptor.routePresetKey, descriptor.overlayPresetKey && descriptor.overlayNodeKey
|
|
706
|
+
? { presetKey: descriptor.overlayPresetKey, nodeKey: descriptor.overlayNodeKey }
|
|
707
|
+
: null);
|
|
708
|
+
const intrinsicChildren = (descriptor.children ?? []).map((child) => buildResolvedNavigationNode(catalog, activeRouteIdentityKeys, navKey, ownerModuleId, child, null));
|
|
709
|
+
return {
|
|
710
|
+
item: {
|
|
711
|
+
id: createPhiPresetCmsInstanceId({
|
|
712
|
+
domain: "navigation",
|
|
713
|
+
ownerModuleId,
|
|
714
|
+
presetKey: navKey,
|
|
715
|
+
nodeKey: descriptor.itemKey,
|
|
716
|
+
}),
|
|
717
|
+
ownerModuleId,
|
|
718
|
+
kind: target ? "link" : "container",
|
|
719
|
+
label: descriptor.label,
|
|
720
|
+
...(descriptor.icon ? { icon: descriptor.icon } : {}),
|
|
721
|
+
...(descriptor.accessPolicy ? { accessPolicy: descriptor.accessPolicy } : {}),
|
|
722
|
+
target,
|
|
723
|
+
children: [],
|
|
724
|
+
},
|
|
725
|
+
definitionItemKey: descriptor.itemKey,
|
|
726
|
+
// An item that named a route and got nothing back. A container never is one: it named nothing.
|
|
727
|
+
isUnrouted: Boolean(descriptor.routePresetKey) && !target,
|
|
728
|
+
intrinsicChildren,
|
|
729
|
+
injection,
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
function orderNavigationSiblings(intrinsic, injected, parentItemKey) {
|
|
733
|
+
const ordered = [...intrinsic];
|
|
734
|
+
const pending = [...injected].sort((left, right) => left.injection.sortKey.localeCompare(right.injection.sortKey));
|
|
735
|
+
while (pending.length > 0) {
|
|
736
|
+
let inserted = false;
|
|
737
|
+
const anchors = new Map();
|
|
738
|
+
const unanchored = [];
|
|
739
|
+
for (const node of pending) {
|
|
740
|
+
const descriptor = node.injection.descriptor;
|
|
741
|
+
const anchor = descriptor.before ?? descriptor.after ?? null;
|
|
742
|
+
if (!anchor) {
|
|
743
|
+
unanchored.push(node);
|
|
744
|
+
continue;
|
|
745
|
+
}
|
|
746
|
+
const group = anchors.get(anchor) ?? { before: [], after: [] };
|
|
747
|
+
group[descriptor.before ? "before" : "after"].push(node);
|
|
748
|
+
anchors.set(anchor, group);
|
|
749
|
+
}
|
|
750
|
+
for (const [anchor, group] of [...anchors].sort(([left], [right]) => left.localeCompare(right))) {
|
|
751
|
+
let anchorIndex = ordered.findIndex((node) => node.definitionItemKey === anchor);
|
|
752
|
+
if (anchorIndex < 0) {
|
|
753
|
+
continue;
|
|
754
|
+
}
|
|
755
|
+
ordered.splice(anchorIndex, 0, ...group.before);
|
|
756
|
+
anchorIndex += group.before.length;
|
|
757
|
+
ordered.splice(anchorIndex + 1, 0, ...group.after);
|
|
758
|
+
for (const node of [...group.before, ...group.after]) {
|
|
759
|
+
pending.splice(pending.indexOf(node), 1);
|
|
760
|
+
}
|
|
761
|
+
inserted = true;
|
|
762
|
+
}
|
|
763
|
+
if (unanchored.length > 0) {
|
|
764
|
+
ordered.push(...unanchored);
|
|
765
|
+
for (const node of unanchored) {
|
|
766
|
+
pending.splice(pending.indexOf(node), 1);
|
|
767
|
+
}
|
|
768
|
+
inserted = true;
|
|
769
|
+
}
|
|
770
|
+
if (!inserted) {
|
|
771
|
+
const unresolved = pending.map((node) => {
|
|
772
|
+
const descriptor = node.injection.descriptor;
|
|
773
|
+
return descriptor.before ?? descriptor.after ?? node.definitionItemKey;
|
|
774
|
+
});
|
|
775
|
+
throw new Error(`Navigation injections below "${parentItemKey ?? "root"}" have unresolved or cyclic anchors: ${unresolved.join(", ")}.`);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
return ordered;
|
|
779
|
+
}
|
|
780
|
+
export function resolvePhiCmsActiveNavigationSurfaces({ catalog, area, activeModuleIds, viewer, }) {
|
|
781
|
+
const definition = catalog.areaDefinitions.get(area);
|
|
782
|
+
if (!definition) {
|
|
783
|
+
throw new Error(`Area "${area}" is not declared.`);
|
|
784
|
+
}
|
|
785
|
+
if (!activeModuleIds.has(definition.baseModuleId)) {
|
|
786
|
+
throw new Error(`Area "${area}" base module "${definition.baseModuleId}" is not active.`);
|
|
787
|
+
}
|
|
788
|
+
const activeRoutes = (catalog.routesByArea.get(area) ?? [])
|
|
789
|
+
.map(({ descriptor }) => descriptor)
|
|
790
|
+
.filter(({ ownerModuleId }) => activeModuleIds.has(ownerModuleId))
|
|
791
|
+
.filter((route) => !viewer || canPhiViewerAccess(viewer, route.accessPolicy));
|
|
792
|
+
const activeRouteIdentityKeys = new Set(activeRoutes.map((route) => buildPhiCmsPresetIdentityKey(route.ownerModuleId, route.presetKey)));
|
|
793
|
+
const isNavigationNodeVisible = (node) => {
|
|
794
|
+
if (node.isUnrouted) {
|
|
795
|
+
return false;
|
|
796
|
+
}
|
|
797
|
+
if (!viewer) {
|
|
798
|
+
return true;
|
|
799
|
+
}
|
|
800
|
+
const routePolicy = node.item.target?.kind === "module"
|
|
801
|
+
? catalog.routeByIdentity.get(buildPhiCmsPresetIdentityKey(node.item.target.ownerModuleId, node.item.target.presetKey))?.accessPolicy
|
|
802
|
+
: undefined;
|
|
803
|
+
return canPhiViewerAccess(viewer, node.item.accessPolicy ?? routePolicy);
|
|
804
|
+
};
|
|
805
|
+
return (definition.navigationSurfaces ?? []).map((surface) => {
|
|
806
|
+
const roots = surface.items
|
|
807
|
+
.map((item) => buildResolvedNavigationNode(catalog, activeRouteIdentityKeys, surface.navKey, definition.baseModuleId, item, null))
|
|
808
|
+
.filter(isNavigationNodeVisible);
|
|
809
|
+
const injectedRoots = [];
|
|
810
|
+
const injectedByParent = new Map();
|
|
811
|
+
const nodesByKey = new Map();
|
|
812
|
+
const registerNode = (node) => {
|
|
813
|
+
if (nodesByKey.has(node.definitionItemKey)) {
|
|
814
|
+
throw new Error(`${surface.navKey}: duplicate active item key "${node.definitionItemKey}".`);
|
|
815
|
+
}
|
|
816
|
+
nodesByKey.set(node.definitionItemKey, node);
|
|
817
|
+
node.intrinsicChildren.forEach(registerNode);
|
|
818
|
+
};
|
|
819
|
+
roots.forEach(registerNode);
|
|
820
|
+
const activeContributions = [
|
|
821
|
+
...activeRoutes.flatMap((route) => (route.navigation ?? []).map((descriptor) => ({
|
|
822
|
+
ownerModuleId: route.ownerModuleId,
|
|
823
|
+
route: route,
|
|
824
|
+
// Preset key in the sort key so two entries from one Module stay in a stable order.
|
|
825
|
+
sortKey: `${route.ownerModuleId}\u001f${route.presetKey}\u001f${descriptor.item.itemKey}`,
|
|
826
|
+
descriptor,
|
|
827
|
+
}))),
|
|
828
|
+
...(catalog.moduleNavigationByArea.get(area) ?? [])
|
|
829
|
+
.filter(({ ownerModuleId }) => activeModuleIds.has(ownerModuleId))
|
|
830
|
+
.map(({ ownerModuleId, descriptor }) => ({
|
|
831
|
+
ownerModuleId,
|
|
832
|
+
route: null,
|
|
833
|
+
// No preset segment: the contribution belongs to the Module itself.
|
|
834
|
+
sortKey: `${ownerModuleId}\u001f\u001f${descriptor.item.itemKey}`,
|
|
835
|
+
descriptor,
|
|
836
|
+
})),
|
|
837
|
+
];
|
|
838
|
+
{
|
|
839
|
+
for (const { ownerModuleId: contributorId, route, sortKey, descriptor } of activeContributions) {
|
|
840
|
+
if (descriptor.navKey !== surface.navKey) {
|
|
841
|
+
continue;
|
|
842
|
+
}
|
|
843
|
+
const node = buildResolvedNavigationNode(catalog, activeRouteIdentityKeys, surface.navKey, contributorId, descriptor.item, { descriptor, route, sortKey });
|
|
844
|
+
registerNode(node);
|
|
845
|
+
if (descriptor.parentItemKey === null) {
|
|
846
|
+
injectedRoots.push(node);
|
|
847
|
+
}
|
|
848
|
+
else {
|
|
849
|
+
const siblings = injectedByParent.get(descriptor.parentItemKey) ?? [];
|
|
850
|
+
siblings.push(node);
|
|
851
|
+
injectedByParent.set(descriptor.parentItemKey, siblings);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
for (const parentItemKey of injectedByParent.keys()) {
|
|
856
|
+
if (!nodesByKey.has(parentItemKey)) {
|
|
857
|
+
throw new Error(`${surface.navKey}: active navigation parent "${parentItemKey}" is unavailable.`);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
/*
|
|
861
|
+
* Two rules, not one. An item is judged by its target: unrouted or out of reach and it is gone. A
|
|
862
|
+
* container names nothing and is judged by what is left under it -- a Settings container whose every
|
|
863
|
+
* page belongs to Modules that are switched off is an empty word in a sidebar, so it goes too.
|
|
864
|
+
*/
|
|
865
|
+
const materialize = (intrinsic, injected, parentItemKey) => orderNavigationSiblings(intrinsic, injected, parentItemKey)
|
|
866
|
+
.filter(isNavigationNodeVisible)
|
|
867
|
+
.map((node) => ({
|
|
868
|
+
...node.item,
|
|
869
|
+
children: materialize(node.intrinsicChildren, injectedByParent.get(node.definitionItemKey) ?? [], node.definitionItemKey),
|
|
870
|
+
}))
|
|
871
|
+
.filter((item) => item.kind !== "container" || item.children.length > 0);
|
|
872
|
+
return {
|
|
873
|
+
area,
|
|
874
|
+
navKey: surface.navKey,
|
|
875
|
+
label: surface.label,
|
|
876
|
+
items: materialize(roots, injectedRoots, null),
|
|
877
|
+
};
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
export function resolvePhiCmsNavigationOverlay(surface, overlay) {
|
|
881
|
+
if (!overlay) {
|
|
882
|
+
return { surface, diagnostics: [] };
|
|
883
|
+
}
|
|
884
|
+
if (overlay.navKey !== surface.navKey) {
|
|
885
|
+
throw new Error(`Navigation overlay "${overlay.navKey}" cannot be applied to "${surface.navKey}".`);
|
|
886
|
+
}
|
|
887
|
+
const cloneItem = (item) => ({
|
|
888
|
+
...item,
|
|
889
|
+
children: item.children.map(cloneItem),
|
|
890
|
+
});
|
|
891
|
+
const roots = surface.items.map(cloneItem);
|
|
892
|
+
const diagnostics = [];
|
|
893
|
+
const allById = new Map();
|
|
894
|
+
const register = (item) => {
|
|
895
|
+
allById.set(item.id, item);
|
|
896
|
+
item.children.forEach(register);
|
|
897
|
+
};
|
|
898
|
+
roots.forEach(register);
|
|
899
|
+
for (const customItem of overlay.customItems) {
|
|
900
|
+
if (allById.has(customItem.id)) {
|
|
901
|
+
throw new Error(`Navigation custom item "${customItem.id}" conflicts with an active item.`);
|
|
902
|
+
}
|
|
903
|
+
const item = {
|
|
904
|
+
id: customItem.id,
|
|
905
|
+
ownerModuleId: null,
|
|
906
|
+
kind: customItem.kind,
|
|
907
|
+
label: { defaultMessage: customItem.label },
|
|
908
|
+
...(customItem.icon ? { icon: customItem.icon } : {}),
|
|
909
|
+
target: customItem.kind === "link" && customItem.target?.kind === "external"
|
|
910
|
+
? {
|
|
911
|
+
kind: "custom",
|
|
912
|
+
path: customItem.target.href,
|
|
913
|
+
external: true,
|
|
914
|
+
...(customItem.newTab === true ? { newTab: true } : {}),
|
|
915
|
+
}
|
|
916
|
+
: customItem.kind === "link" && customItem.target?.kind === "page" && customItem.target.resolvedPath
|
|
917
|
+
? {
|
|
918
|
+
kind: "custom",
|
|
919
|
+
path: customItem.target.resolvedPath,
|
|
920
|
+
...(customItem.newTab === true ? { newTab: true } : {}),
|
|
921
|
+
}
|
|
922
|
+
: null,
|
|
923
|
+
children: [],
|
|
924
|
+
};
|
|
925
|
+
roots.push(item);
|
|
926
|
+
register(item);
|
|
927
|
+
}
|
|
928
|
+
const placementOverrides = [
|
|
929
|
+
...overlay.itemOverrides,
|
|
930
|
+
...overlay.customItems.map((item) => ({
|
|
931
|
+
id: item.id,
|
|
932
|
+
placement: item.placement,
|
|
933
|
+
})),
|
|
934
|
+
];
|
|
935
|
+
const overrides = new Map(overlay.itemOverrides.map((entry) => [entry.id, entry]));
|
|
936
|
+
for (const [id, override] of overrides) {
|
|
937
|
+
const item = allById.get(id);
|
|
938
|
+
if (!item) {
|
|
939
|
+
diagnostics.push({ code: "unresolved-item", id });
|
|
940
|
+
continue;
|
|
941
|
+
}
|
|
942
|
+
if (override.label !== undefined) {
|
|
943
|
+
item.label = { ...item.label, defaultMessage: override.label };
|
|
944
|
+
}
|
|
945
|
+
if (override.icon !== undefined) {
|
|
946
|
+
if (override.icon === null) {
|
|
947
|
+
delete item.icon;
|
|
948
|
+
}
|
|
949
|
+
else {
|
|
950
|
+
item.icon = override.icon;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
const tombstones = new Set(overlay.tombstones);
|
|
955
|
+
for (const id of tombstones) {
|
|
956
|
+
if (!allById.has(id)) {
|
|
957
|
+
diagnostics.push({ code: "unresolved-item", id });
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
const originalPositions = new Map();
|
|
961
|
+
let traversalOrder = 0;
|
|
962
|
+
const indexItems = (items, parentId) => {
|
|
963
|
+
items.forEach((item, index) => {
|
|
964
|
+
originalPositions.set(item.id, { parentId, index, order: traversalOrder });
|
|
965
|
+
traversalOrder += 1;
|
|
966
|
+
indexItems(item.children, item.id);
|
|
967
|
+
});
|
|
968
|
+
};
|
|
969
|
+
indexItems(roots, null);
|
|
970
|
+
const placements = new Map();
|
|
971
|
+
for (const override of placementOverrides) {
|
|
972
|
+
if (!override.placement || !allById.has(override.id)) {
|
|
973
|
+
continue;
|
|
974
|
+
}
|
|
975
|
+
const { parentId } = override.placement;
|
|
976
|
+
const parent = parentId === null ? null : allById.get(parentId);
|
|
977
|
+
if (parentId !== null && !parent) {
|
|
978
|
+
diagnostics.push({ code: "unresolved-parent", id: override.id, referenceId: parentId });
|
|
979
|
+
continue;
|
|
980
|
+
}
|
|
981
|
+
if (parent && parent.kind !== "container") {
|
|
982
|
+
diagnostics.push({
|
|
983
|
+
code: "invalid-placement",
|
|
984
|
+
id: override.id,
|
|
985
|
+
referenceId: parentId,
|
|
986
|
+
});
|
|
987
|
+
continue;
|
|
988
|
+
}
|
|
989
|
+
placements.set(override.id, override.placement);
|
|
990
|
+
}
|
|
991
|
+
const resolveParentId = (id) => {
|
|
992
|
+
const placement = placements.get(id);
|
|
993
|
+
return placement
|
|
994
|
+
? placement.parentId
|
|
995
|
+
: originalPositions.get(id)?.parentId ?? null;
|
|
996
|
+
};
|
|
997
|
+
for (const [id, placement] of [...placements]) {
|
|
998
|
+
let ancestorId = placement.parentId;
|
|
999
|
+
const visited = new Set([id]);
|
|
1000
|
+
while (ancestorId !== null) {
|
|
1001
|
+
if (visited.has(ancestorId)) {
|
|
1002
|
+
diagnostics.push({
|
|
1003
|
+
code: "invalid-placement",
|
|
1004
|
+
id,
|
|
1005
|
+
referenceId: placement.parentId ?? undefined,
|
|
1006
|
+
});
|
|
1007
|
+
placements.delete(id);
|
|
1008
|
+
break;
|
|
1009
|
+
}
|
|
1010
|
+
visited.add(ancestorId);
|
|
1011
|
+
ancestorId = resolveParentId(ancestorId);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
const groups = new Map();
|
|
1015
|
+
for (const [id, item] of allById) {
|
|
1016
|
+
const original = originalPositions.get(id);
|
|
1017
|
+
const placement = placements.get(id);
|
|
1018
|
+
const parentId = placement ? placement.parentId : original.parentId;
|
|
1019
|
+
const group = groups.get(parentId) ?? [];
|
|
1020
|
+
group.push({
|
|
1021
|
+
item,
|
|
1022
|
+
index: placement?.index ?? original.index,
|
|
1023
|
+
explicit: placement !== undefined,
|
|
1024
|
+
order: original.order,
|
|
1025
|
+
});
|
|
1026
|
+
groups.set(parentId, group);
|
|
1027
|
+
item.children = [];
|
|
1028
|
+
}
|
|
1029
|
+
for (const [parentId, entries] of groups) {
|
|
1030
|
+
entries.sort((left, right) => left.index - right.index ||
|
|
1031
|
+
Number(right.explicit) - Number(left.explicit) ||
|
|
1032
|
+
left.order - right.order ||
|
|
1033
|
+
left.item.id.localeCompare(right.item.id));
|
|
1034
|
+
const target = parentId === null ? roots : allById.get(parentId).children;
|
|
1035
|
+
target.splice(0, target.length, ...entries.map(({ item }) => item));
|
|
1036
|
+
}
|
|
1037
|
+
const removeTombstones = (items) => items
|
|
1038
|
+
.filter((item) => !tombstones.has(item.id))
|
|
1039
|
+
.map((item) => ({ ...item, children: removeTombstones(item.children) }));
|
|
1040
|
+
const visibleRoots = removeTombstones(roots);
|
|
1041
|
+
return {
|
|
1042
|
+
surface: {
|
|
1043
|
+
...surface,
|
|
1044
|
+
...(overlay.label ? { label: { ...surface.label, defaultMessage: overlay.label } } : {}),
|
|
1045
|
+
items: visibleRoots,
|
|
1046
|
+
},
|
|
1047
|
+
diagnostics,
|
|
1048
|
+
};
|
|
1049
|
+
}
|
|
1050
|
+
export function resolvePhiCmsRoutePreset(table, requestedPath) {
|
|
1051
|
+
const path = normalizePhiCmsRoutePath(requestedPath);
|
|
1052
|
+
const exact = table.exactByPath.get(path);
|
|
1053
|
+
if (exact) {
|
|
1054
|
+
return { descriptor: exact, params: {} };
|
|
1055
|
+
}
|
|
1056
|
+
const segments = path.split("/").filter(Boolean);
|
|
1057
|
+
for (const pattern of table.dynamic) {
|
|
1058
|
+
if (segments.length !== pattern.segments.length) {
|
|
1059
|
+
continue;
|
|
1060
|
+
}
|
|
1061
|
+
const params = {};
|
|
1062
|
+
let matches = true;
|
|
1063
|
+
for (let index = 0; index < segments.length; index += 1) {
|
|
1064
|
+
const expected = pattern.segments[index];
|
|
1065
|
+
const actual = segments[index];
|
|
1066
|
+
if (expected.startsWith(":")) {
|
|
1067
|
+
params[expected.slice(1)] = actual;
|
|
1068
|
+
}
|
|
1069
|
+
else if (expected !== actual) {
|
|
1070
|
+
matches = false;
|
|
1071
|
+
break;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
if (matches) {
|
|
1075
|
+
return { descriptor: pattern.descriptor, params };
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
return null;
|
|
1079
|
+
}
|
|
1080
|
+
export function resolvePhiCmsRoutePresetByPageId(table, pageId) {
|
|
1081
|
+
const descriptor = table.byPageId.get(pageId);
|
|
1082
|
+
return descriptor ? { descriptor, params: {} } : null;
|
|
1083
|
+
}
|
|
1084
|
+
export function resolvePhiCmsAreaShellPresetBinding(catalog, area) {
|
|
1085
|
+
return catalog.areaShellByArea.get(area) ?? null;
|
|
1086
|
+
}
|
|
1087
|
+
export function resolvePhiCmsRoutePresetByIdentity(catalog, ownerModuleId, presetKey) {
|
|
1088
|
+
return catalog.routeByIdentity.get(buildPhiCmsPresetIdentityKey(ownerModuleId, presetKey)) ?? null;
|
|
1089
|
+
}
|
|
1090
|
+
export function resolvePhiCmsThemePresetBinding(catalog, themeKey, activeModuleIds) {
|
|
1091
|
+
const binding = catalog.themeByKey.get(themeKey.trim()) ?? null;
|
|
1092
|
+
return binding && activeModuleIds.has(binding.descriptor.ownerModuleId) ? binding : null;
|
|
1093
|
+
}
|
|
1094
|
+
export async function instantiatePhiCmsThemePreset(binding) {
|
|
1095
|
+
const preset = await binding.descriptor.loadPreset();
|
|
1096
|
+
if (preset.key !== binding.descriptor.themeKey || preset.title !== binding.descriptor.title) {
|
|
1097
|
+
throw new Error(`Theme preset "${binding.descriptor.ownerModuleId}/${binding.descriptor.presetKey}" metadata mismatch.`);
|
|
1098
|
+
}
|
|
1099
|
+
return preset;
|
|
1100
|
+
}
|
|
1101
|
+
export async function instantiatePhiCmsThemePresets(catalog, activeModuleIds) {
|
|
1102
|
+
return Promise.all([...catalog.themeByKey.values()]
|
|
1103
|
+
.filter((binding) => activeModuleIds.has(binding.descriptor.ownerModuleId))
|
|
1104
|
+
.map(instantiatePhiCmsThemePreset));
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* The blocks the active Modules contribute, sorted into their kinds.
|
|
1108
|
+
*
|
|
1109
|
+
* Each block is checked against the descriptor that announced it, the same way a palette is: a
|
|
1110
|
+
* mismatch means the catalog says one thing and the code another, and a Site would then follow a key
|
|
1111
|
+
* that resolves to something else.
|
|
1112
|
+
*/
|
|
1113
|
+
export async function instantiatePhiCmsThemeBlocks(catalog, activeModuleIds) {
|
|
1114
|
+
const bindings = [...catalog.themeBlockByKey.values()].filter((binding) => activeModuleIds.has(binding.descriptor.ownerModuleId));
|
|
1115
|
+
const blocks = await Promise.all(bindings.map(async (binding) => {
|
|
1116
|
+
const block = await binding.descriptor.loadBlock();
|
|
1117
|
+
if (block.key !== binding.descriptor.blockKey || block.title !== binding.descriptor.title) {
|
|
1118
|
+
throw new Error(`Theme block "${binding.descriptor.ownerModuleId}/${binding.descriptor.presetKey}" metadata mismatch.`);
|
|
1119
|
+
}
|
|
1120
|
+
return { kind: binding.descriptor.blockKind, block };
|
|
1121
|
+
}));
|
|
1122
|
+
return {
|
|
1123
|
+
styles: blocks.filter((entry) => entry.kind === "style").map((entry) => entry.block),
|
|
1124
|
+
grounds: blocks.filter((entry) => entry.kind === "ground").map((entry) => entry.block),
|
|
1125
|
+
fonts: blocks.filter((entry) => entry.kind === "fonts").map((entry) => entry.block),
|
|
1126
|
+
sets: blocks.filter((entry) => entry.kind === "set").map((entry) => entry.block),
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
function createSyntheticPresetPage({ siteId, area, path, flags = 0, }) {
|
|
1130
|
+
const areaMask = resolvePhiCmsAreaMask(area);
|
|
1131
|
+
return {
|
|
1132
|
+
id: -1,
|
|
1133
|
+
siteId,
|
|
1134
|
+
areaMask,
|
|
1135
|
+
path,
|
|
1136
|
+
pageType: PhiCmsPageType.Standard,
|
|
1137
|
+
status: PhiCmsStatus.Published,
|
|
1138
|
+
flags,
|
|
1139
|
+
visibilityMask: areaMask,
|
|
1140
|
+
accessPolicy: PHI_VIEWER_ACCESS_ANYONE,
|
|
1141
|
+
titleMsgId: null,
|
|
1142
|
+
descriptionMsgId: null,
|
|
1143
|
+
heroRootLayoutNodeId: null,
|
|
1144
|
+
headerBottomRootLayoutNodeId: null,
|
|
1145
|
+
siderRightRootLayoutNodeId: null,
|
|
1146
|
+
footerTopRootLayoutNodeId: null,
|
|
1147
|
+
drawerRightRootLayoutNodeId: null,
|
|
1148
|
+
contentRootLayoutNodeId: null,
|
|
1149
|
+
layoutConfig: {},
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
function stablePresetNodeJson(value) {
|
|
1153
|
+
if (Array.isArray(value)) {
|
|
1154
|
+
return `[${value.map(stablePresetNodeJson).join(",")}]`;
|
|
1155
|
+
}
|
|
1156
|
+
if (value && typeof value === "object") {
|
|
1157
|
+
return `{${Object.entries(value)
|
|
1158
|
+
.filter(([, entry]) => entry !== undefined)
|
|
1159
|
+
.sort(([left], [right]) => (left < right ? -1 : left > right ? 1 : 0))
|
|
1160
|
+
.map(([key, entry]) => `${JSON.stringify(key)}:${stablePresetNodeJson(entry)}`)
|
|
1161
|
+
.join(",")}}`;
|
|
1162
|
+
}
|
|
1163
|
+
return JSON.stringify(value) ?? "undefined";
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Equal id must mean equal node: the shared page scaffold carries the same instance id in every
|
|
1167
|
+
* built-in preset tree, which stays sound only while every copy is the canonical node. A preset that
|
|
1168
|
+
* wants different chrome gets its own Layout node in a slot -- a deviating copy of the scaffold is a
|
|
1169
|
+
* contract violation, not a customisation.
|
|
1170
|
+
*/
|
|
1171
|
+
function assertPhiCmsBasePageLayoutNode(tree, layoutsById) {
|
|
1172
|
+
for (const node of [...tree.overlays, ...tree.contentWidgets]) {
|
|
1173
|
+
if (node.id === PHI_BASE_PAGE_LAYOUT_NODE_ID) {
|
|
1174
|
+
throw new Error("The base page layout instance id is reserved for the scaffold Layout node.");
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
const node = layoutsById.get(PHI_BASE_PAGE_LAYOUT_NODE_ID);
|
|
1178
|
+
if (!node) {
|
|
1179
|
+
return;
|
|
1180
|
+
}
|
|
1181
|
+
const canonical = buildPhiBasePageLayoutNode(tree.page);
|
|
1182
|
+
const mismatch = Object.keys(canonical)
|
|
1183
|
+
.find((key) => stablePresetNodeJson(node[key]) !== stablePresetNodeJson(canonical[key]));
|
|
1184
|
+
if (mismatch) {
|
|
1185
|
+
throw new Error(`Preset tree carries a deviating base page layout node: "${String(mismatch)}" is ` +
|
|
1186
|
+
`${stablePresetNodeJson(node[mismatch])}, canonical is ${stablePresetNodeJson(canonical[mismatch])}.`);
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
export function assertPhiCmsPresetTreeContract(tree, expectedPage) {
|
|
1190
|
+
const layoutIds = new Set();
|
|
1191
|
+
const allIds = new Set();
|
|
1192
|
+
if (expectedPage &&
|
|
1193
|
+
(tree.page.siteId !== expectedPage.siteId ||
|
|
1194
|
+
tree.page.areaMask !== expectedPage.areaMask ||
|
|
1195
|
+
tree.page.path !== expectedPage.path)) {
|
|
1196
|
+
throw new Error("Preset loader returned a Page outside its requested context.");
|
|
1197
|
+
}
|
|
1198
|
+
for (const node of tree.overlays) {
|
|
1199
|
+
if (!isPhiCmsInstanceId(node.id) || readPhiCmsInstanceIdDescriptor(node.id)?.origin !== "preset") {
|
|
1200
|
+
throw new Error(`Preset Overlay has invalid instance id "${String(node.id)}".`);
|
|
1201
|
+
}
|
|
1202
|
+
if (allIds.has(node.id)) {
|
|
1203
|
+
throw new Error(`Preset tree contains duplicate instance id "${node.id}".`);
|
|
1204
|
+
}
|
|
1205
|
+
allIds.add(node.id);
|
|
1206
|
+
}
|
|
1207
|
+
for (const node of tree.layoutNodes) {
|
|
1208
|
+
if (!isPhiCmsInstanceId(node.id) || readPhiCmsInstanceIdDescriptor(node.id)?.origin !== "preset") {
|
|
1209
|
+
throw new Error(`Preset layout node has invalid instance id "${String(node.id)}".`);
|
|
1210
|
+
}
|
|
1211
|
+
if (allIds.has(node.id)) {
|
|
1212
|
+
throw new Error(`Preset tree contains duplicate instance id "${node.id}".`);
|
|
1213
|
+
}
|
|
1214
|
+
allIds.add(node.id);
|
|
1215
|
+
layoutIds.add(node.id);
|
|
1216
|
+
}
|
|
1217
|
+
for (const node of tree.contentWidgets) {
|
|
1218
|
+
if (!isPhiCmsInstanceId(node.id) || readPhiCmsInstanceIdDescriptor(node.id)?.origin !== "preset") {
|
|
1219
|
+
throw new Error(`Preset widget node has invalid instance id "${String(node.id)}".`);
|
|
1220
|
+
}
|
|
1221
|
+
if (allIds.has(node.id)) {
|
|
1222
|
+
throw new Error(`Preset tree contains duplicate instance id "${node.id}".`);
|
|
1223
|
+
}
|
|
1224
|
+
allIds.add(node.id);
|
|
1225
|
+
}
|
|
1226
|
+
for (const node of tree.layoutNodes) {
|
|
1227
|
+
if (node.parentLayoutNodeId != null && !layoutIds.has(node.parentLayoutNodeId)) {
|
|
1228
|
+
throw new Error(`Preset layout "${node.id}" has unresolved parent "${node.parentLayoutNodeId}".`);
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
for (const node of tree.contentWidgets) {
|
|
1232
|
+
if (!layoutIds.has(node.parentLayoutNodeId)) {
|
|
1233
|
+
throw new Error(`Preset widget "${node.id}" has unresolved parent "${node.parentLayoutNodeId}".`);
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
for (const region of tree.regions) {
|
|
1237
|
+
if (expectedPage && region.pageId !== expectedPage.id) {
|
|
1238
|
+
throw new Error(`Preset region "${region.regionType}" belongs to a different Page.`);
|
|
1239
|
+
}
|
|
1240
|
+
if (!layoutIds.has(region.rootLayoutNodeId)) {
|
|
1241
|
+
throw new Error(`Preset region "${region.regionType}" has unresolved root "${region.rootLayoutNodeId}".`);
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
const layoutsById = new Map(tree.layoutNodes.map((node) => [node.id, node]));
|
|
1245
|
+
assertPhiCmsBasePageLayoutNode(tree, layoutsById);
|
|
1246
|
+
for (const overlay of tree.overlays) {
|
|
1247
|
+
if (!layoutIds.has(overlay.bodyLayoutNodeId)) {
|
|
1248
|
+
throw new Error(`Preset Overlay "${overlay.id}" has unresolved Body root "${overlay.bodyLayoutNodeId}".`);
|
|
1249
|
+
}
|
|
1250
|
+
if (overlay.headerLayoutNodeId != null && !layoutIds.has(overlay.headerLayoutNodeId)) {
|
|
1251
|
+
throw new Error(`Preset Overlay "${overlay.id}" has unresolved Header root "${overlay.headerLayoutNodeId}".`);
|
|
1252
|
+
}
|
|
1253
|
+
if (overlay.footerPresentation === "none") {
|
|
1254
|
+
continue;
|
|
1255
|
+
}
|
|
1256
|
+
const footerLayout = layoutsById.get(overlay.footerLayoutNodeId);
|
|
1257
|
+
if (!footerLayout) {
|
|
1258
|
+
throw new Error(`Preset Overlay "${overlay.id}" has unresolved Footer root "${overlay.footerLayoutNodeId}".`);
|
|
1259
|
+
}
|
|
1260
|
+
if (overlay.footerPresentation === "actions") {
|
|
1261
|
+
if (footerLayout.widgetType !== PhiCmsLayoutType.Flex) {
|
|
1262
|
+
throw new Error(`Preset Overlay "${overlay.id}" actions Footer must use the Phi Flex Layout.`);
|
|
1263
|
+
}
|
|
1264
|
+
const expectedConfig = resolvePhiLayoutCreationPreset("flex", "overlay-actions");
|
|
1265
|
+
const mismatch = Object.entries(expectedConfig).find(([key, value]) => JSON.stringify(footerLayout.config[key]) !== JSON.stringify(value));
|
|
1266
|
+
if (mismatch) {
|
|
1267
|
+
throw new Error(`Preset Overlay "${overlay.id}" actions Footer does not match the canonical Layout preset at "${mismatch[0]}".`);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
for (const rootLayoutNodeId of [
|
|
1272
|
+
tree.page.heroRootLayoutNodeId,
|
|
1273
|
+
tree.page.headerBottomRootLayoutNodeId,
|
|
1274
|
+
tree.page.siderRightRootLayoutNodeId,
|
|
1275
|
+
tree.page.footerTopRootLayoutNodeId,
|
|
1276
|
+
tree.page.drawerRightRootLayoutNodeId,
|
|
1277
|
+
tree.page.contentRootLayoutNodeId,
|
|
1278
|
+
]) {
|
|
1279
|
+
if (rootLayoutNodeId != null && !layoutIds.has(rootLayoutNodeId)) {
|
|
1280
|
+
throw new Error(`Preset Page has unresolved root "${rootLayoutNodeId}".`);
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
function assertPhiCmsAreaOverlayTree(descriptor, tree, page) {
|
|
1285
|
+
assertPhiCmsPresetTreeContract(tree, page);
|
|
1286
|
+
if (tree.regions.length > 0) {
|
|
1287
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: Area Overlay preset must not contribute Regions.`);
|
|
1288
|
+
}
|
|
1289
|
+
if (tree.overlays.length === 0) {
|
|
1290
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: Area Overlay preset must contribute an Overlay.`);
|
|
1291
|
+
}
|
|
1292
|
+
for (const node of [...tree.overlays, ...tree.layoutNodes, ...tree.contentWidgets]) {
|
|
1293
|
+
if (readPhiCmsInstanceIdDescriptor(node.id)?.domain !== "area") {
|
|
1294
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: Area Overlay nodes require Area-domain instance ids.`);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
export async function composePhiCmsActiveAreaOverlayPresets({ tree, catalog, activeModuleIds, siteId, area, path, runtime, }) {
|
|
1299
|
+
const descriptors = (catalog.areaOverlaysByArea.get(area) ?? [])
|
|
1300
|
+
.filter((descriptor) => activeModuleIds.has(descriptor.ownerModuleId));
|
|
1301
|
+
if (descriptors.length === 0)
|
|
1302
|
+
return tree;
|
|
1303
|
+
const page = createSyntheticPresetPage({ siteId, area, path });
|
|
1304
|
+
const occupiedIds = new Set([
|
|
1305
|
+
...tree.overlays.map((node) => node.id),
|
|
1306
|
+
...tree.layoutNodes.map((node) => node.id),
|
|
1307
|
+
...tree.contentWidgets.map((node) => node.id),
|
|
1308
|
+
]);
|
|
1309
|
+
const overlays = [...tree.overlays];
|
|
1310
|
+
const layoutNodes = [...tree.layoutNodes];
|
|
1311
|
+
const contentWidgets = [...tree.contentWidgets];
|
|
1312
|
+
for (const descriptor of descriptors) {
|
|
1313
|
+
const contribution = await descriptor.loadTree({
|
|
1314
|
+
page,
|
|
1315
|
+
runtime: resolveTargetRuntime(runtime, area),
|
|
1316
|
+
catalog,
|
|
1317
|
+
});
|
|
1318
|
+
assertPhiCmsAreaOverlayTree(descriptor, contribution, page);
|
|
1319
|
+
for (const node of [
|
|
1320
|
+
...contribution.overlays,
|
|
1321
|
+
...contribution.layoutNodes,
|
|
1322
|
+
...contribution.contentWidgets,
|
|
1323
|
+
]) {
|
|
1324
|
+
if (occupiedIds.has(node.id)) {
|
|
1325
|
+
throw new Error(`Area Overlay composition contains duplicate instance id "${node.id}".`);
|
|
1326
|
+
}
|
|
1327
|
+
occupiedIds.add(node.id);
|
|
1328
|
+
}
|
|
1329
|
+
overlays.push(...contribution.overlays);
|
|
1330
|
+
layoutNodes.push(...contribution.layoutNodes);
|
|
1331
|
+
contentWidgets.push(...contribution.contentWidgets);
|
|
1332
|
+
}
|
|
1333
|
+
return { ...tree, overlays, layoutNodes, contentWidgets };
|
|
1334
|
+
}
|
|
1335
|
+
function resolveTargetRuntime(runtime, area) {
|
|
1336
|
+
return runtime.area === area ? runtime : { ...runtime, area };
|
|
1337
|
+
}
|
|
1338
|
+
async function loadShellTree(descriptor, catalog, page, runtime) {
|
|
1339
|
+
let composedTree = null;
|
|
1340
|
+
for (const source of descriptor.composition ?? []) {
|
|
1341
|
+
const sourceDescriptor = catalog.areaShellByIdentity.get(buildPhiCmsPresetIdentityKey(source.ownerModuleId, source.presetKey))?.descriptor;
|
|
1342
|
+
if (!sourceDescriptor) {
|
|
1343
|
+
throw new Error(`${descriptor.ownerModuleId}/${descriptor.presetKey}: unresolved shell composition source.`);
|
|
1344
|
+
}
|
|
1345
|
+
const sourceTree = omitPhiCmsShellCompositionNodes(await loadShellTree(sourceDescriptor, catalog, page, runtime), sourceDescriptor, source.omitRegionTypes ?? [], source.omitNodeKeys ?? []);
|
|
1346
|
+
composedTree = composedTree ? mergePhiCmsShellTrees(composedTree, sourceTree) : sourceTree;
|
|
1347
|
+
}
|
|
1348
|
+
const ownTree = await descriptor.loadTree({ page, runtime, catalog });
|
|
1349
|
+
assertPhiCmsPresetTreeContract(ownTree, page);
|
|
1350
|
+
return composedTree ? mergePhiCmsShellTrees(composedTree, ownTree) : ownTree;
|
|
1351
|
+
}
|
|
1352
|
+
export async function instantiatePhiCmsAreaShellPreset({ binding, catalog, siteId, path, runtime, }) {
|
|
1353
|
+
const page = createSyntheticPresetPage({ siteId, area: binding.descriptor.area, path });
|
|
1354
|
+
const tree = await loadShellTree(binding.descriptor, catalog, page, resolveTargetRuntime(runtime, binding.descriptor.area));
|
|
1355
|
+
assertPhiCmsPresetTreeContract(tree, page);
|
|
1356
|
+
return tree;
|
|
1357
|
+
}
|
|
1358
|
+
export async function instantiatePhiCmsRoutePreset({ binding, catalog, activeModuleIds, siteId, path, runtime, resolveMissingPageTitle, }) {
|
|
1359
|
+
const descriptor = binding.descriptor;
|
|
1360
|
+
const page = createSyntheticPresetPage({
|
|
1361
|
+
siteId,
|
|
1362
|
+
area: descriptor.area,
|
|
1363
|
+
path,
|
|
1364
|
+
flags: descriptor.defaultPageFlags ?? 0,
|
|
1365
|
+
});
|
|
1366
|
+
const loadedTree = await descriptor.loadTree({
|
|
1367
|
+
page,
|
|
1368
|
+
runtime: resolveTargetRuntime(runtime, descriptor.area),
|
|
1369
|
+
catalog,
|
|
1370
|
+
activeModuleIds,
|
|
1371
|
+
params: binding.params,
|
|
1372
|
+
});
|
|
1373
|
+
const tree = loadedTree.pageMeta?.title
|
|
1374
|
+
? loadedTree
|
|
1375
|
+
: {
|
|
1376
|
+
...loadedTree,
|
|
1377
|
+
pageMeta: {
|
|
1378
|
+
title: {
|
|
1379
|
+
msgId: 0,
|
|
1380
|
+
source: descriptor.title,
|
|
1381
|
+
value: resolveMissingPageTitle
|
|
1382
|
+
? (await resolveMissingPageTitle(descriptor.title)).trim() || descriptor.title
|
|
1383
|
+
: descriptor.title,
|
|
1384
|
+
},
|
|
1385
|
+
description: loadedTree.pageMeta?.description ?? null,
|
|
1386
|
+
},
|
|
1387
|
+
};
|
|
1388
|
+
assertPhiCmsPresetTreeContract(tree, page);
|
|
1389
|
+
return tree;
|
|
1390
|
+
}
|