@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,1673 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useMemo, useState } from "react";
|
|
4
|
+
import { Flex, Space, Typography, theme as antdTheme } from "antd";
|
|
5
|
+
import { PlusOutlined } from "@ant-design/icons";
|
|
6
|
+
import { buildPhiCmsLayoutNamespacedTypeKey, splitPhiCmsLayoutNamespacedTypeKey, } from "../../../../../constants/cms-layout-types";
|
|
7
|
+
import { buildPhiCmsLayoutNode, buildPhiCmsWidgetNode } from "../../../../../helpers/cms-node-factories";
|
|
8
|
+
import { PHI_CMS_MAX_LAYOUT_SUBLAYOUT_DEPTH, resolvePhiCmsRenderLayoutNodeDepth, } from "../../../../../helpers/cms-layout-depth";
|
|
9
|
+
import { resolvePhiBorderWidgetStyle } from "../../../../../helpers/border-widget-style";
|
|
10
|
+
import { phiBackgroundWidgetConfigPaintsGround, resolvePhiBackgroundWidgetStyle, } from "../../../../../components/widgets/config/background";
|
|
11
|
+
import { combinePhiBoxShadows, resolvePhiShadow } from "../../../../../helpers/layout-style";
|
|
12
|
+
import { normalizePhiGeometryWidgetConfig } from "../../../../../components/widgets/config/geometry";
|
|
13
|
+
import { readPhiCmsInstanceId } from "../../../../../types/cms-instance-id";
|
|
14
|
+
import { normalizePhiPaddingWidgetConfig } from "../../../../../types/cms-config";
|
|
15
|
+
import { readPhiShadow } from "../../../../../types/layout-style";
|
|
16
|
+
import { resolvePhiCssLength } from "../../../../../helpers/css-length";
|
|
17
|
+
import { extractPhiStructureNode as extractStructureNode, swapPhiStructureWidgetsAcrossTrees, swapPhiStructureWidgetsInTree, } from "../../../../../helpers/structure-widget-swap";
|
|
18
|
+
import { createPhiSignalAddress, } from "../../../../../types/signals";
|
|
19
|
+
import { resolvePhiShellRegionTypography, resolvePhiShellRegionZIndex } from "../../../../../helpers/shell-region-style";
|
|
20
|
+
import { resolvePhiCmsRegionType } from "../../../../../helpers/cms-region-keys";
|
|
21
|
+
import { usePhiRuntimeModuleState } from "../../../../../components/runtime/runtime-module-context";
|
|
22
|
+
import { renderPhiRootNodeScaffold } from "../../../../../plugins/runtime-modules/builder/render-root-node-scaffold";
|
|
23
|
+
import { PhiBuilderInsertPickerControl } from "../../../../../components/controls/phi-builder-insert-picker-control";
|
|
24
|
+
import { buildPhiBuilderRootNodeRenderConfig, normalizePhiBuilderRootNodeDraft, resolvePhiBuilderRootNodeDefaults, } from "../../../../../plugins/runtime-modules/builder/root-node-normalization";
|
|
25
|
+
import { compactPhiCmsSequentialChildren, isPhiCmsSequentialLayoutSlots } from "../../../../../plugins/runtime-modules/builder/sequential-slot-helpers";
|
|
26
|
+
import { findPhiBuilderLayoutNodeById } from "../../../../../plugins/runtime-modules/builder/node-finders";
|
|
27
|
+
import { getDefaultRegionDraft, } from "../../../../../plugins/runtime-modules/builder/developer-region-drafts";
|
|
28
|
+
import { patchPhiDeveloperBuilderState, selectPhiDeveloperBuilderNode, getPhiDeveloperRegionDraftsSnapshot, setPhiDeveloperRegionDraft, setPhiDeveloperRegionDraftAndPruneSignalRoutes, setPhiDeveloperRegionDraftsWithHistory, usePhiDeveloperBuilderStateValue, usePhiDeveloperRegionDraft, } from "../../../../../plugins/runtime-modules/builder/developer-workspace-store";
|
|
29
|
+
import { allocatePhiBuilderCmsInstanceId } from "../../../../../plugins/runtime-modules/builder/cms-instance-allocator";
|
|
30
|
+
import { getPhiBuilderRegionDraftKey, isPhiBuilderPageScopedRegion, } from "../../../../../plugins/runtime-modules/builder/region-keys";
|
|
31
|
+
import { isPhiAnchorWidgetPlacement } from "../../../../../components/controls/phi-anchor-control-contract";
|
|
32
|
+
import { resolvePhiWidgetSignalSubcontrolAddresses } from "../../../../../components/widgets/signals/signal-endpoints";
|
|
33
|
+
import { createPhiBuilderRegionHistoryContext } from "../../../../../plugins/runtime-modules/builder/history";
|
|
34
|
+
import { usePhiStructureDroppable, } from "../../../../../plugins/runtime-modules/builder/structure-dnd";
|
|
35
|
+
import { usePhiBuilderModuleMetas } from "../../../../../plugins/runtime-modules/builder/plugin-meta-store";
|
|
36
|
+
import { resolvePhiPaddingStyle } from "../../../../../components/layouts/phi-layout-contract";
|
|
37
|
+
import { usePhiBuilderAuthoringCanvas } from "../../authoring-canvas";
|
|
38
|
+
function buildStructureRootLayoutNode(draft, parentLayoutNodeId, slotIndex) {
|
|
39
|
+
if (draft.rootNodeId == null ||
|
|
40
|
+
!draft.rootNodeTypeKey ||
|
|
41
|
+
draft.rootNodeKind !== "layout") {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
const normalized = normalizePhiBuilderRootNodeDraft({
|
|
45
|
+
id: draft.rootNodeId,
|
|
46
|
+
typeKey: draft.rootNodeTypeKey,
|
|
47
|
+
kind: draft.rootNodeKind,
|
|
48
|
+
title: draft.rootNodeTitle ?? null,
|
|
49
|
+
packageName: draft.rootNodePackageName ?? null,
|
|
50
|
+
rootNodeConfig: draft.rootNodeConfig ?? null,
|
|
51
|
+
rootNodeGeometry: draft.rootNodeGeometry ?? null,
|
|
52
|
+
rootNodeAnchor: draft.rootNodeAnchor ?? null,
|
|
53
|
+
rootNodePadding: draft.rootNodePadding ?? null,
|
|
54
|
+
rootNodeBackground: draft.rootNodeBackground ?? null,
|
|
55
|
+
rootNodeBorder: draft.rootNodeBorder ?? null,
|
|
56
|
+
rootNodeShadow: draft.rootNodeShadow ?? null,
|
|
57
|
+
childLayouts: draft.rootNodeChildLayouts ?? [],
|
|
58
|
+
childWidgets: draft.rootNodeChildWidgets ?? [],
|
|
59
|
+
});
|
|
60
|
+
const config = buildPhiBuilderRootNodeRenderConfig(normalized, "editor");
|
|
61
|
+
delete config.renderMode;
|
|
62
|
+
return {
|
|
63
|
+
id: draft.rootNodeId,
|
|
64
|
+
siteId: -1,
|
|
65
|
+
parentLayoutNodeId,
|
|
66
|
+
widgetType: draft.rootNodeTypeKey,
|
|
67
|
+
slotIndex,
|
|
68
|
+
sortOrder: 0,
|
|
69
|
+
status: 0,
|
|
70
|
+
flags: 0,
|
|
71
|
+
visibilityMask: 0,
|
|
72
|
+
label: draft.rootNodeTitle ?? "Root",
|
|
73
|
+
config: {
|
|
74
|
+
...config,
|
|
75
|
+
builderKind: draft.rootNodeKind,
|
|
76
|
+
},
|
|
77
|
+
childLayouts: draft.rootNodeChildLayouts ?? [],
|
|
78
|
+
childWidgets: draft.rootNodeChildWidgets ?? [],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function clearStructureRootNode(draft) {
|
|
82
|
+
return {
|
|
83
|
+
...draft,
|
|
84
|
+
rootNodeId: null,
|
|
85
|
+
rootNodeTypeKey: null,
|
|
86
|
+
rootNodeKind: null,
|
|
87
|
+
rootNodeTitle: null,
|
|
88
|
+
rootNodePackageName: null,
|
|
89
|
+
rootNodeConfig: null,
|
|
90
|
+
rootNodeGeometry: null,
|
|
91
|
+
rootNodeAnchor: null,
|
|
92
|
+
rootNodePadding: null,
|
|
93
|
+
rootNodeBackground: null,
|
|
94
|
+
rootNodeBorder: null,
|
|
95
|
+
rootNodeShadow: null,
|
|
96
|
+
rootNodeChildLayouts: [],
|
|
97
|
+
rootNodeChildWidgets: [],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function copyStructureRootNode(targetDraft, sourceDraft) {
|
|
101
|
+
return {
|
|
102
|
+
...targetDraft,
|
|
103
|
+
rootNodeId: sourceDraft.rootNodeId ?? null,
|
|
104
|
+
rootNodeTypeKey: sourceDraft.rootNodeTypeKey ?? null,
|
|
105
|
+
rootNodeKind: sourceDraft.rootNodeKind ?? null,
|
|
106
|
+
rootNodeTitle: sourceDraft.rootNodeTitle ?? null,
|
|
107
|
+
rootNodePackageName: sourceDraft.rootNodePackageName ?? null,
|
|
108
|
+
rootNodeConfig: sourceDraft.rootNodeConfig ?? null,
|
|
109
|
+
rootNodeGeometry: sourceDraft.rootNodeGeometry ?? null,
|
|
110
|
+
rootNodeAnchor: sourceDraft.rootNodeAnchor ?? null,
|
|
111
|
+
rootNodePadding: sourceDraft.rootNodePadding ?? null,
|
|
112
|
+
rootNodeBackground: sourceDraft.rootNodeBackground ?? null,
|
|
113
|
+
rootNodeBorder: sourceDraft.rootNodeBorder ?? null,
|
|
114
|
+
rootNodeShadow: sourceDraft.rootNodeShadow ?? null,
|
|
115
|
+
rootNodeChildLayouts: sourceDraft.rootNodeChildLayouts ?? [],
|
|
116
|
+
rootNodeChildWidgets: sourceDraft.rootNodeChildWidgets ?? [],
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function promoteStructureLayoutToRoot(targetDraft, node) {
|
|
120
|
+
const rootNodeKind = "layout";
|
|
121
|
+
const rootNodeDefaults = resolvePhiBuilderRootNodeDefaults(node.config);
|
|
122
|
+
const { pluginKey } = splitPhiCmsLayoutNamespacedTypeKey(node.widgetType);
|
|
123
|
+
return {
|
|
124
|
+
...targetDraft,
|
|
125
|
+
rootNodeId: node.id,
|
|
126
|
+
rootNodeTypeKey: node.widgetType,
|
|
127
|
+
rootNodeKind,
|
|
128
|
+
rootNodeTitle: node.label ?? null,
|
|
129
|
+
rootNodePackageName: pluginKey,
|
|
130
|
+
rootNodeConfig: node.config,
|
|
131
|
+
rootNodeGeometry: normalizePhiGeometryWidgetConfig(node.config),
|
|
132
|
+
rootNodeAnchor: isPhiAnchorWidgetPlacement(node.config.anchor)
|
|
133
|
+
? node.config.anchor
|
|
134
|
+
: null,
|
|
135
|
+
rootNodePadding: rootNodeDefaults.rootNodePadding,
|
|
136
|
+
rootNodeBackground: rootNodeDefaults.rootNodeBackground,
|
|
137
|
+
rootNodeBorder: rootNodeDefaults.rootNodeBorder,
|
|
138
|
+
rootNodeShadow: readPhiShadow(node.config.rootNodeShadow) ?? null,
|
|
139
|
+
rootNodeChildLayouts: node.childLayouts ?? [],
|
|
140
|
+
rootNodeChildWidgets: node.childWidgets ?? [],
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
function resolveStructureLayoutSubtreeDepth(node) {
|
|
144
|
+
return (node.childLayouts ?? []).reduce((maxDepth, child) => Math.max(maxDepth, 1 + resolveStructureLayoutSubtreeDepth(child)), 0);
|
|
145
|
+
}
|
|
146
|
+
function canMoveStructureLayoutToTarget(node, targetParentLayoutNodeId, targetRootNodeId, targetChildLayouts) {
|
|
147
|
+
if ("contentId" in node) {
|
|
148
|
+
return true;
|
|
149
|
+
}
|
|
150
|
+
const targetDepth = targetParentLayoutNodeId === targetRootNodeId
|
|
151
|
+
? 0
|
|
152
|
+
: resolvePhiCmsRenderLayoutNodeDepth(targetChildLayouts, targetParentLayoutNodeId);
|
|
153
|
+
return targetDepth != null &&
|
|
154
|
+
targetDepth + 1 + resolveStructureLayoutSubtreeDepth(node) <=
|
|
155
|
+
PHI_CMS_MAX_LAYOUT_SUBLAYOUT_DEPTH;
|
|
156
|
+
}
|
|
157
|
+
function buildPhiBuilderContainerMetaMap(pluginMetas) {
|
|
158
|
+
return new Map(pluginMetas
|
|
159
|
+
.filter((meta) => meta.kind !== "widget")
|
|
160
|
+
.map((meta) => [
|
|
161
|
+
buildPhiCmsLayoutNamespacedTypeKey(meta.pluginKey, meta.typeKey),
|
|
162
|
+
meta,
|
|
163
|
+
]));
|
|
164
|
+
}
|
|
165
|
+
function compactStructureSequentialLayouts(nodes, layoutMetasByType) {
|
|
166
|
+
return nodes.map((node) => {
|
|
167
|
+
const nestedLayouts = compactStructureSequentialLayouts(node.childLayouts ?? [], layoutMetasByType);
|
|
168
|
+
const definition = layoutMetasByType.get(node.widgetType);
|
|
169
|
+
if (!isPhiCmsSequentialLayoutSlots(definition?.slots) ||
|
|
170
|
+
definition?.layoutKind === "collapsible") {
|
|
171
|
+
return {
|
|
172
|
+
...node,
|
|
173
|
+
childLayouts: nestedLayouts,
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
const compacted = compactPhiCmsSequentialChildren({
|
|
177
|
+
childLayouts: nestedLayouts,
|
|
178
|
+
childWidgets: node.childWidgets ?? [],
|
|
179
|
+
});
|
|
180
|
+
return {
|
|
181
|
+
...node,
|
|
182
|
+
childLayouts: compacted.childLayouts,
|
|
183
|
+
childWidgets: compacted.childWidgets,
|
|
184
|
+
};
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
function resolvePickItemPackageName(item) {
|
|
188
|
+
const raw = item.packageName ?? item.origin ?? "";
|
|
189
|
+
if (!raw) {
|
|
190
|
+
return null;
|
|
191
|
+
}
|
|
192
|
+
const parts = raw.split("/");
|
|
193
|
+
if (raw.startsWith("@") && parts.length >= 2) {
|
|
194
|
+
return `${parts[0]}/${parts[1]}`;
|
|
195
|
+
}
|
|
196
|
+
return parts[0] ?? raw;
|
|
197
|
+
}
|
|
198
|
+
function resolveSlotBodyMinHeight(draft, fallbackMinHeight, fillAvailableHeight = false) {
|
|
199
|
+
const baseMinHeight = draft?.minSize?.height ?? draft?.size?.height ?? (fillAvailableHeight ? fallbackMinHeight : null);
|
|
200
|
+
if (baseMinHeight == null) {
|
|
201
|
+
return undefined;
|
|
202
|
+
}
|
|
203
|
+
return `${baseMinHeight}px`;
|
|
204
|
+
}
|
|
205
|
+
function buildInsertedLayoutNode(item, id, parentLayoutNodeId, slotIndex, sortOrder) {
|
|
206
|
+
const { pluginKey, typeKey } = splitPhiCmsLayoutNamespacedTypeKey(item.key);
|
|
207
|
+
const resolvedDefaultConfig = resolveInsertedItemDefaultConfig(item) ?? {};
|
|
208
|
+
return {
|
|
209
|
+
...buildPhiCmsLayoutNode({
|
|
210
|
+
id,
|
|
211
|
+
pluginKey: item.origin ?? pluginKey,
|
|
212
|
+
typeKey,
|
|
213
|
+
siteId: -1,
|
|
214
|
+
parentLayoutNodeId,
|
|
215
|
+
slotIndex,
|
|
216
|
+
sortOrder,
|
|
217
|
+
status: 0,
|
|
218
|
+
flags: 0,
|
|
219
|
+
visibilityMask: 0,
|
|
220
|
+
label: item.title,
|
|
221
|
+
config: {
|
|
222
|
+
...resolvedDefaultConfig,
|
|
223
|
+
},
|
|
224
|
+
}),
|
|
225
|
+
childLayouts: [],
|
|
226
|
+
childWidgets: [],
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
function buildInsertedWidgetNode(item, id, parentLayoutNodeId, slotIndex, sortOrder) {
|
|
230
|
+
const splitIndex = item.key.lastIndexOf("/");
|
|
231
|
+
const pluginKey = item.origin ?? item.key.slice(0, splitIndex);
|
|
232
|
+
const typeKey = splitIndex >= 0 ? item.key.slice(splitIndex + 1) : item.key;
|
|
233
|
+
const resolvedDefaultConfig = resolveInsertedItemDefaultConfig(item) ?? {};
|
|
234
|
+
return buildPhiCmsWidgetNode({
|
|
235
|
+
id,
|
|
236
|
+
pluginKey,
|
|
237
|
+
typeKey,
|
|
238
|
+
siteId: -1,
|
|
239
|
+
parentLayoutNodeId,
|
|
240
|
+
slotIndex,
|
|
241
|
+
sortOrder,
|
|
242
|
+
status: 0,
|
|
243
|
+
flags: 0,
|
|
244
|
+
visibilityMask: 0,
|
|
245
|
+
label: item.title,
|
|
246
|
+
config: resolvedDefaultConfig,
|
|
247
|
+
contentId: null,
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
function resolveInsertedItemDefaultConfig(item) {
|
|
251
|
+
return item.defaultConfig ? { ...item.defaultConfig } : null;
|
|
252
|
+
}
|
|
253
|
+
function appendLayoutChildById(nodes, targetNodeId, nextChild, compactSequential = false) {
|
|
254
|
+
return nodes.map((node) => {
|
|
255
|
+
if (node.id === targetNodeId) {
|
|
256
|
+
const nextChildren = compactSequential
|
|
257
|
+
? insertPhiCmsSequentialChild(node.childLayouts ?? [], node.childWidgets ?? [], nextChild)
|
|
258
|
+
: null;
|
|
259
|
+
return {
|
|
260
|
+
...node,
|
|
261
|
+
childLayouts: nextChildren?.childLayouts ?? [...(node.childLayouts ?? []), nextChild],
|
|
262
|
+
childWidgets: nextChildren?.childWidgets ?? node.childWidgets,
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
if ((node.childLayouts?.length ?? 0) === 0) {
|
|
266
|
+
return node;
|
|
267
|
+
}
|
|
268
|
+
return {
|
|
269
|
+
...node,
|
|
270
|
+
childLayouts: appendLayoutChildById(node.childLayouts, targetNodeId, nextChild, compactSequential),
|
|
271
|
+
};
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
function appendWidgetChildById(nodes, targetNodeId, nextChild, compactSequential = false) {
|
|
275
|
+
return nodes.map((node) => {
|
|
276
|
+
if (node.id === targetNodeId) {
|
|
277
|
+
const nextChildren = compactSequential
|
|
278
|
+
? insertPhiCmsSequentialChild(node.childLayouts ?? [], node.childWidgets ?? [], nextChild)
|
|
279
|
+
: null;
|
|
280
|
+
return {
|
|
281
|
+
...node,
|
|
282
|
+
childLayouts: nextChildren?.childLayouts ?? node.childLayouts,
|
|
283
|
+
childWidgets: nextChildren?.childWidgets ?? [...(node.childWidgets ?? []), nextChild],
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
if ((node.childLayouts?.length ?? 0) === 0) {
|
|
287
|
+
return node;
|
|
288
|
+
}
|
|
289
|
+
return {
|
|
290
|
+
...node,
|
|
291
|
+
childLayouts: appendWidgetChildById(node.childLayouts, targetNodeId, nextChild, compactSequential),
|
|
292
|
+
};
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
function insertPhiCmsSequentialChild(childLayouts, childWidgets, child) {
|
|
296
|
+
const compacted = compactPhiCmsSequentialChildren({
|
|
297
|
+
childLayouts,
|
|
298
|
+
childWidgets,
|
|
299
|
+
});
|
|
300
|
+
const childCount = compacted.childLayouts.length + compacted.childWidgets.length;
|
|
301
|
+
const insertionIndex = Math.min(Math.max(0, child.slotIndex), childCount);
|
|
302
|
+
const shiftedLayouts = compacted.childLayouts.map((node) => ({
|
|
303
|
+
...node,
|
|
304
|
+
slotIndex: node.slotIndex >= insertionIndex ? node.slotIndex + 1 : node.slotIndex,
|
|
305
|
+
}));
|
|
306
|
+
const shiftedWidgets = compacted.childWidgets.map((node) => ({
|
|
307
|
+
...node,
|
|
308
|
+
slotIndex: node.slotIndex >= insertionIndex ? node.slotIndex + 1 : node.slotIndex,
|
|
309
|
+
}));
|
|
310
|
+
const insertedChild = {
|
|
311
|
+
...child,
|
|
312
|
+
slotIndex: insertionIndex,
|
|
313
|
+
sortOrder: Math.max(0, child.sortOrder),
|
|
314
|
+
};
|
|
315
|
+
return "contentId" in insertedChild
|
|
316
|
+
? {
|
|
317
|
+
childLayouts: shiftedLayouts,
|
|
318
|
+
childWidgets: [...shiftedWidgets, insertedChild],
|
|
319
|
+
}
|
|
320
|
+
: {
|
|
321
|
+
childLayouts: [...shiftedLayouts, insertedChild],
|
|
322
|
+
childWidgets: shiftedWidgets,
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function removeLayoutChildById(nodes, targetNodeId) {
|
|
326
|
+
return nodes
|
|
327
|
+
.filter((node) => node.id !== targetNodeId)
|
|
328
|
+
.map((node) => ({
|
|
329
|
+
...node,
|
|
330
|
+
childLayouts: (node.childLayouts ?? []).length > 0 ? removeLayoutChildById(node.childLayouts, targetNodeId) : [],
|
|
331
|
+
}));
|
|
332
|
+
}
|
|
333
|
+
function removeWidgetChildById(nodes, targetNodeId) {
|
|
334
|
+
return nodes.map((node) => ({
|
|
335
|
+
...node,
|
|
336
|
+
childLayouts: (node.childLayouts ?? []).length > 0 ? removeWidgetChildById(node.childLayouts, targetNodeId) : [],
|
|
337
|
+
childWidgets: (node.childWidgets ?? []).filter((child) => child.id !== targetNodeId),
|
|
338
|
+
}));
|
|
339
|
+
}
|
|
340
|
+
function removeContentWidgetById(nodes, targetNodeId) {
|
|
341
|
+
return nodes.filter((child) => child.id !== targetNodeId);
|
|
342
|
+
}
|
|
343
|
+
function resolveLayoutNodeSignalAddress(node) {
|
|
344
|
+
return createPhiSignalAddress("cms", node.id);
|
|
345
|
+
}
|
|
346
|
+
function collectLayoutNodeSignalAddresses(node, addresses) {
|
|
347
|
+
addresses.push(resolveLayoutNodeSignalAddress(node));
|
|
348
|
+
for (const widget of node.childWidgets ?? []) {
|
|
349
|
+
addresses.push(createPhiSignalAddress("cms", widget.id));
|
|
350
|
+
}
|
|
351
|
+
for (const childLayout of node.childLayouts ?? []) {
|
|
352
|
+
collectLayoutNodeSignalAddresses(childLayout, addresses);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
function findLayoutNodeById(nodes, targetNodeId) {
|
|
356
|
+
for (const node of nodes) {
|
|
357
|
+
if (node.id === targetNodeId) {
|
|
358
|
+
return node;
|
|
359
|
+
}
|
|
360
|
+
const child = findLayoutNodeById(node.childLayouts ?? [], targetNodeId);
|
|
361
|
+
if (child) {
|
|
362
|
+
return child;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
return null;
|
|
366
|
+
}
|
|
367
|
+
function collectDeletedNodeSignalAddresses({ targetNodeId, targetNodeKind, rootNodeId, rootNodeKind, childLayouts, childWidgets, }) {
|
|
368
|
+
const addresses = [];
|
|
369
|
+
if (targetNodeId === rootNodeId) {
|
|
370
|
+
if (rootNodeKind) {
|
|
371
|
+
addresses.push(createPhiSignalAddress("cms", targetNodeId));
|
|
372
|
+
}
|
|
373
|
+
for (const layout of childLayouts) {
|
|
374
|
+
collectLayoutNodeSignalAddresses(layout, addresses);
|
|
375
|
+
}
|
|
376
|
+
for (const widget of childWidgets) {
|
|
377
|
+
addresses.push(createPhiSignalAddress("cms", widget.id));
|
|
378
|
+
}
|
|
379
|
+
return addresses;
|
|
380
|
+
}
|
|
381
|
+
if (targetNodeKind === "widget") {
|
|
382
|
+
return [createPhiSignalAddress("cms", targetNodeId)];
|
|
383
|
+
}
|
|
384
|
+
const targetLayout = findLayoutNodeById(childLayouts, targetNodeId);
|
|
385
|
+
if (targetLayout) {
|
|
386
|
+
collectLayoutNodeSignalAddresses(targetLayout, addresses);
|
|
387
|
+
}
|
|
388
|
+
else if (targetNodeKind) {
|
|
389
|
+
addresses.push(createPhiSignalAddress("cms", targetNodeId));
|
|
390
|
+
}
|
|
391
|
+
return addresses;
|
|
392
|
+
}
|
|
393
|
+
function updateLayoutChildConfigById(nodes, targetNodeId, configPatch) {
|
|
394
|
+
return nodes.map((node) => {
|
|
395
|
+
if (node.id === targetNodeId) {
|
|
396
|
+
return {
|
|
397
|
+
...node,
|
|
398
|
+
config: {
|
|
399
|
+
...(node.config ?? {}),
|
|
400
|
+
...configPatch,
|
|
401
|
+
},
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
if ((node.childLayouts?.length ?? 0) === 0) {
|
|
405
|
+
return node;
|
|
406
|
+
}
|
|
407
|
+
return {
|
|
408
|
+
...node,
|
|
409
|
+
childLayouts: updateLayoutChildConfigById(node.childLayouts, targetNodeId, configPatch),
|
|
410
|
+
};
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
function updateWidgetChildConfigById(nodes, targetNodeId, nextConfig) {
|
|
414
|
+
return nodes.map((node) => {
|
|
415
|
+
const childWidgets = (node.childWidgets ?? []).map((widget) => widget.id === targetNodeId
|
|
416
|
+
? { ...widget, config: nextConfig }
|
|
417
|
+
: widget);
|
|
418
|
+
const childLayouts = (node.childLayouts?.length ?? 0) > 0
|
|
419
|
+
? updateWidgetChildConfigById(node.childLayouts, targetNodeId, nextConfig)
|
|
420
|
+
: node.childLayouts ?? [];
|
|
421
|
+
const changed = childWidgets.some((widget, index) => widget !== node.childWidgets?.[index]) ||
|
|
422
|
+
childLayouts.some((layout, index) => layout !== node.childLayouts?.[index]);
|
|
423
|
+
return changed ? { ...node, childWidgets, childLayouts } : node;
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
export function PhiStructureRegionScaffold({ config, serverPreview, structureDraftsByArea, pageDraftsByScope, effectsLabels, pickerLabels, containerStyle, containerClassName, }) {
|
|
427
|
+
const { token } = antdTheme.useToken();
|
|
428
|
+
const activeModules = usePhiRuntimeModuleState();
|
|
429
|
+
const authoringCanvas = usePhiBuilderAuthoringCanvas();
|
|
430
|
+
const builderState = {
|
|
431
|
+
area: usePhiDeveloperBuilderStateValue("public", (state) => state.area),
|
|
432
|
+
pageKey: usePhiDeveloperBuilderStateValue("public", (state) => state.pageKey),
|
|
433
|
+
builderMode: usePhiDeveloperBuilderStateValue("public", (state) => state.builderMode),
|
|
434
|
+
debugScaffold: usePhiDeveloperBuilderStateValue("public", (state) => state.debugScaffold),
|
|
435
|
+
pickerWidgetCategoryFilters: usePhiDeveloperBuilderStateValue("public", (state) => state.pickerWidgetCategoryFilters),
|
|
436
|
+
selectedLayoutAnchor: usePhiDeveloperBuilderStateValue("public", (state) => state.selectedRootRegionKey === config.regionKey ? state.selectedLayoutAnchor : null),
|
|
437
|
+
regionSelected: usePhiDeveloperBuilderStateValue("public", (state) => state.nodeKind === "region" && state.selectedRegionKey === config.regionKey),
|
|
438
|
+
regionDrafts: usePhiDeveloperBuilderStateValue("public", (state) => state.regionDrafts),
|
|
439
|
+
};
|
|
440
|
+
const builderModuleMetas = usePhiBuilderModuleMetas(builderState.area);
|
|
441
|
+
const layoutMetasByType = useMemo(() => buildPhiBuilderContainerMetaMap(builderModuleMetas.plugins), [builderModuleMetas.plugins]);
|
|
442
|
+
const draftKey = getPhiBuilderRegionDraftKey(builderState.area, config.regionKey, builderState.pageKey);
|
|
443
|
+
const historyContext = createPhiBuilderRegionHistoryContext({
|
|
444
|
+
area: builderState.area,
|
|
445
|
+
pageKey: builderState.pageKey,
|
|
446
|
+
pageScoped: isPhiBuilderPageScopedRegion(config.regionKey),
|
|
447
|
+
});
|
|
448
|
+
const regionDraft = usePhiDeveloperRegionDraft(draftKey);
|
|
449
|
+
const isSelected = builderState.regionSelected;
|
|
450
|
+
const [isPicking, setIsPicking] = useState(false);
|
|
451
|
+
const [pickPackageFilters, setPickPackageFilters] = useState([]);
|
|
452
|
+
const [pickSection, setPickSection] = useState("layout");
|
|
453
|
+
const [slotPickerContext, setSlotPickerContext] = useState(null);
|
|
454
|
+
const builderMode = builderState.builderMode;
|
|
455
|
+
const slotKind = config.slotKind ?? "structure";
|
|
456
|
+
const regionType = resolvePhiCmsRegionType(config.regionKey);
|
|
457
|
+
const isPreviewMode = builderMode === "preview";
|
|
458
|
+
/*
|
|
459
|
+
* `undefined` rather than "off": the attribute is inherited-variable driven, and the "off" block
|
|
460
|
+
* resets every debug variable to transparent. Writing the literal here made a Region blank the whole
|
|
461
|
+
* subtree below it whenever an ancestor -- the Canvas, say -- had turned the scaffold on. Absence
|
|
462
|
+
* says "this element has nothing to add", which is what a nested writer means. The "off" value stays
|
|
463
|
+
* in the stylesheet as the way to blank a subtree deliberately.
|
|
464
|
+
*/
|
|
465
|
+
const resolvedDebugScaffold = builderState.debugScaffold ? "on" : undefined;
|
|
466
|
+
const isFullHeightRegion = config.regionKey === "sider_left" || config.regionKey === "sider_right";
|
|
467
|
+
const shouldStretchContentRegion = config.regionKey === "content";
|
|
468
|
+
const resolvedFallbackMinHeight = typeof config.fallbackMinHeight === "number" ? config.fallbackMinHeight : 84;
|
|
469
|
+
const widgetCategoryFilters = Array.isArray(builderState.pickerWidgetCategoryFilters)
|
|
470
|
+
? builderState.pickerWidgetCategoryFilters
|
|
471
|
+
: ["basic"];
|
|
472
|
+
const fallbackPageDraft = pageDraftsByScope?.[builderState.area]?.[builderState.pageKey] ?? null;
|
|
473
|
+
const effectiveDraft = regionDraft ??
|
|
474
|
+
fallbackPageDraft ??
|
|
475
|
+
getDefaultRegionDraft(config.regionKey);
|
|
476
|
+
const draftSize = effectiveDraft?.size ?? null;
|
|
477
|
+
const draftMinSize = effectiveDraft?.minSize ?? null;
|
|
478
|
+
const draftMaxSize = effectiveDraft?.maxSize ?? null;
|
|
479
|
+
const rootNodeDefinition = effectiveDraft?.rootNodeKind == null || !effectiveDraft.rootNodeTypeKey
|
|
480
|
+
? null
|
|
481
|
+
: layoutMetasByType.get(effectiveDraft.rootNodeTypeKey) ?? null;
|
|
482
|
+
const offsetTop = effectiveDraft?.offsetTop ?? 0;
|
|
483
|
+
const shouldFillAvailableHeight = isFullHeightRegion &&
|
|
484
|
+
effectiveDraft?.regionConfig?.fullHeight !== false &&
|
|
485
|
+
draftSize?.height == null &&
|
|
486
|
+
draftMinSize?.height == null &&
|
|
487
|
+
draftMaxSize?.height == null;
|
|
488
|
+
const shouldStretchAvailableHeight = shouldFillAvailableHeight || shouldStretchContentRegion;
|
|
489
|
+
const hasExplicitSidebarWidth = isFullHeightRegion && draftSize?.width != null;
|
|
490
|
+
const slotBackgroundStyle = effectiveDraft?.background
|
|
491
|
+
? resolvePhiBackgroundWidgetStyle({
|
|
492
|
+
...effectiveDraft.background,
|
|
493
|
+
effect: effectiveDraft.effect ?? null,
|
|
494
|
+
})
|
|
495
|
+
: {};
|
|
496
|
+
/*
|
|
497
|
+
* Whether the author gave this Region a ground. The Builder writes a Background config onto every
|
|
498
|
+
* Region draft it persists, so only a config that paints something counts. An unauthored Region is
|
|
499
|
+
* transparent in the live Shell, and the Canvas keeps that legible: its slot paints a half-transparent
|
|
500
|
+
* container tint, so the Theme Root Background stays visible through it.
|
|
501
|
+
*/
|
|
502
|
+
const hasAuthoredGround = phiBackgroundWidgetConfigPaintsGround(effectiveDraft?.background);
|
|
503
|
+
const slotBorderStyle = effectiveDraft?.border ? resolvePhiBorderWidgetStyle(effectiveDraft.border) : {};
|
|
504
|
+
const regionConfig = (effectiveDraft?.regionConfig ?? null);
|
|
505
|
+
const regionPaddingStyle = resolvePhiPaddingStyle(normalizePhiPaddingWidgetConfig(effectiveDraft?.regionConfig) ?? {});
|
|
506
|
+
const resolvedRegionZIndex = effectiveDraft?.zIndex ??
|
|
507
|
+
resolvePhiShellRegionZIndex(config.regionKey, shouldFillAvailableHeight);
|
|
508
|
+
const resolvedRegionTypography = resolvePhiShellRegionTypography(config.regionKey, undefined, {
|
|
509
|
+
fontSize: regionConfig?.fontSize,
|
|
510
|
+
lineHeight: regionConfig?.lineHeight,
|
|
511
|
+
});
|
|
512
|
+
const outerWidth = hasExplicitSidebarWidth ? resolvePhiCssLength(draftSize?.width) : "100%";
|
|
513
|
+
const outerMinWidth = hasExplicitSidebarWidth
|
|
514
|
+
? resolvePhiCssLength(draftMinSize?.width) ?? resolvePhiCssLength(draftSize?.width)
|
|
515
|
+
: 0;
|
|
516
|
+
const outerMaxWidth = hasExplicitSidebarWidth
|
|
517
|
+
? resolvePhiCssLength(draftMaxSize?.width) ?? resolvePhiCssLength(draftSize?.width)
|
|
518
|
+
: undefined;
|
|
519
|
+
const slotWidth = hasExplicitSidebarWidth ? "100%" : resolvePhiCssLength(draftSize?.width) ?? "100%";
|
|
520
|
+
const slotMinWidth = hasExplicitSidebarWidth
|
|
521
|
+
? "0px"
|
|
522
|
+
: resolvePhiCssLength(draftMinSize?.width) ?? resolvePhiCssLength(draftSize?.width);
|
|
523
|
+
const slotMaxWidth = hasExplicitSidebarWidth
|
|
524
|
+
? "100%"
|
|
525
|
+
: resolvePhiCssLength(draftMaxSize?.width) ?? resolvePhiCssLength(draftSize?.width);
|
|
526
|
+
// A Region with a maximum width is a centred column, exactly as the live Region shell renders it.
|
|
527
|
+
const slotCentreStyle = !hasExplicitSidebarWidth && draftMaxSize?.width != null ? { marginInline: "auto" } : {};
|
|
528
|
+
const slotHeight = shouldStretchAvailableHeight
|
|
529
|
+
? undefined
|
|
530
|
+
: shouldFillAvailableHeight
|
|
531
|
+
? `calc(100% - ${resolvePhiCssLength(offsetTop) ?? "0px"})`
|
|
532
|
+
: draftSize?.height != null
|
|
533
|
+
? resolvePhiCssLength(draftSize.height)
|
|
534
|
+
: undefined;
|
|
535
|
+
const slotMinHeight = shouldStretchAvailableHeight
|
|
536
|
+
? 0
|
|
537
|
+
: shouldFillAvailableHeight
|
|
538
|
+
? `calc(100% - ${resolvePhiCssLength(offsetTop) ?? "0px"})`
|
|
539
|
+
: draftMinSize?.height != null
|
|
540
|
+
? resolvePhiCssLength(draftMinSize.height)
|
|
541
|
+
: draftSize?.height != null
|
|
542
|
+
? resolvePhiCssLength(draftSize.height)
|
|
543
|
+
: shouldStretchAvailableHeight
|
|
544
|
+
? 0
|
|
545
|
+
: resolvedFallbackMinHeight;
|
|
546
|
+
const slotMaxHeight = shouldStretchAvailableHeight
|
|
547
|
+
? undefined
|
|
548
|
+
: shouldFillAvailableHeight
|
|
549
|
+
? `calc(100% - ${resolvePhiCssLength(offsetTop) ?? "0px"})`
|
|
550
|
+
: draftMaxSize?.height != null
|
|
551
|
+
? resolvePhiCssLength(draftMaxSize.height)
|
|
552
|
+
: draftSize?.height != null
|
|
553
|
+
? resolvePhiCssLength(draftSize.height)
|
|
554
|
+
: undefined;
|
|
555
|
+
const slotBodyMinHeight = resolveSlotBodyMinHeight(effectiveDraft, shouldFillAvailableHeight ? 0 : resolvedFallbackMinHeight, slotKind === "structure");
|
|
556
|
+
const slotBodyFallbackHeight = slotBodyMinHeight ?? resolvePhiCssLength(resolvedFallbackMinHeight);
|
|
557
|
+
const hasRootNode = effectiveDraft?.rootNodeTypeKey != null;
|
|
558
|
+
const shouldUseFallbackBodyHeightForRoot = shouldFillAvailableHeight;
|
|
559
|
+
const shouldUseFallbackBodyMinHeightForRoot = !shouldUseFallbackBodyHeightForRoot && slotKind === "content";
|
|
560
|
+
const resolvedRootBodyHeight = hasRootNode
|
|
561
|
+
? (slotHeight ??
|
|
562
|
+
(shouldUseFallbackBodyHeightForRoot ? slotBodyFallbackHeight : undefined) ??
|
|
563
|
+
(shouldStretchAvailableHeight ? "100%" : undefined))
|
|
564
|
+
: undefined;
|
|
565
|
+
const resolvedRootBodyMinHeight = hasRootNode && shouldUseFallbackBodyMinHeightForRoot
|
|
566
|
+
? slotBodyFallbackHeight
|
|
567
|
+
: undefined;
|
|
568
|
+
const rootNodeId = effectiveDraft?.rootNodeId ?? null;
|
|
569
|
+
const rootNodeKind = effectiveDraft?.rootNodeKind ?? null;
|
|
570
|
+
const rootNodeTypeKey = effectiveDraft?.rootNodeTypeKey ?? "";
|
|
571
|
+
const rootNodeChildLayouts = effectiveDraft?.rootNodeChildLayouts ?? [];
|
|
572
|
+
const rootNodeChildWidgets = effectiveDraft?.rootNodeChildWidgets ?? [];
|
|
573
|
+
const resolvedRootNodeAnchor = effectiveDraft?.rootNodeAnchor ?? builderState.selectedLayoutAnchor;
|
|
574
|
+
const resolveNextSlotSortOrder = (slotIndex) => {
|
|
575
|
+
const slotChildren = [
|
|
576
|
+
...rootNodeChildLayouts.filter((layout) => layout.slotIndex === slotIndex),
|
|
577
|
+
...rootNodeChildWidgets.filter((widget) => widget.slotIndex === slotIndex),
|
|
578
|
+
];
|
|
579
|
+
return slotChildren.reduce((maxSortOrder, child) => Math.max(maxSortOrder, child.sortOrder), -1) + 1;
|
|
580
|
+
};
|
|
581
|
+
const openRootInspector = (options) => {
|
|
582
|
+
if (!hasRootNode || isPreviewMode || !rootNodeKind) {
|
|
583
|
+
return;
|
|
584
|
+
}
|
|
585
|
+
selectPhiDeveloperBuilderNode("public", {
|
|
586
|
+
area: builderState.area,
|
|
587
|
+
pageKey: builderState.pageKey,
|
|
588
|
+
regionKey: config.regionKey,
|
|
589
|
+
nodeId: options?.nodeId ?? rootNodeId,
|
|
590
|
+
nodeKey: options?.nodeKey ?? rootNodeTypeKey,
|
|
591
|
+
nodeKind: options?.nodeKind ?? rootNodeKind,
|
|
592
|
+
regionType,
|
|
593
|
+
selectedLayoutAnchor: resolvedRootNodeAnchor,
|
|
594
|
+
openWiring: options?.openWiring === true,
|
|
595
|
+
});
|
|
596
|
+
};
|
|
597
|
+
const deleteRootNode = (options) => {
|
|
598
|
+
if (isPreviewMode || !hasRootNode) {
|
|
599
|
+
return;
|
|
600
|
+
}
|
|
601
|
+
const targetNodeId = options?.nodeId ?? rootNodeId;
|
|
602
|
+
const targetNodeKind = options?.nodeKind ?? rootNodeKind;
|
|
603
|
+
if (targetNodeId == null) {
|
|
604
|
+
return;
|
|
605
|
+
}
|
|
606
|
+
const deletedAddresses = collectDeletedNodeSignalAddresses({
|
|
607
|
+
targetNodeId,
|
|
608
|
+
targetNodeKind,
|
|
609
|
+
rootNodeId,
|
|
610
|
+
rootNodeKind,
|
|
611
|
+
childLayouts: rootNodeChildLayouts,
|
|
612
|
+
childWidgets: rootNodeChildWidgets,
|
|
613
|
+
});
|
|
614
|
+
if (targetNodeId === rootNodeId) {
|
|
615
|
+
updateDraftAndPruneSignalRoutes({
|
|
616
|
+
rootNodeId: null,
|
|
617
|
+
rootNodeTypeKey: null,
|
|
618
|
+
rootNodeKind: null,
|
|
619
|
+
rootNodeTitle: null,
|
|
620
|
+
rootNodePackageName: null,
|
|
621
|
+
rootNodeGeometry: null,
|
|
622
|
+
rootNodePadding: null,
|
|
623
|
+
rootNodeAnchor: null,
|
|
624
|
+
rootNodeBackground: null,
|
|
625
|
+
rootNodeBorder: null,
|
|
626
|
+
rootNodeShadow: null,
|
|
627
|
+
shadow: null,
|
|
628
|
+
rootNodeChildLayouts: [],
|
|
629
|
+
rootNodeChildWidgets: [],
|
|
630
|
+
}, deletedAddresses);
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
const nextChildLayouts = targetNodeKind === "widget"
|
|
634
|
+
? removeWidgetChildById(rootNodeChildLayouts, targetNodeId)
|
|
635
|
+
: removeLayoutChildById(rootNodeChildLayouts, targetNodeId);
|
|
636
|
+
const nextChildWidgets = targetNodeKind === "widget"
|
|
637
|
+
? removeContentWidgetById(rootNodeChildWidgets, targetNodeId)
|
|
638
|
+
: rootNodeChildWidgets;
|
|
639
|
+
const compactedChildren = isPhiCmsSequentialLayoutSlots(rootNodeDefinition?.slots) && rootNodeDefinition?.layoutKind !== "collapsible"
|
|
640
|
+
? compactPhiCmsSequentialChildren({
|
|
641
|
+
childLayouts: nextChildLayouts,
|
|
642
|
+
childWidgets: nextChildWidgets,
|
|
643
|
+
})
|
|
644
|
+
: {
|
|
645
|
+
childLayouts: nextChildLayouts,
|
|
646
|
+
childWidgets: nextChildWidgets,
|
|
647
|
+
};
|
|
648
|
+
updateDraftAndPruneSignalRoutes({
|
|
649
|
+
rootNodeChildLayouts: compactedChildren.childLayouts,
|
|
650
|
+
rootNodeChildWidgets: compactedChildren.childWidgets,
|
|
651
|
+
}, deletedAddresses);
|
|
652
|
+
};
|
|
653
|
+
const updateWidgetNodeConfig = (node, configPatch) => {
|
|
654
|
+
if (isPreviewMode || !hasRootNode) {
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
const currentConfig = node.config ?? {};
|
|
658
|
+
const nextConfig = {
|
|
659
|
+
...currentConfig,
|
|
660
|
+
...configPatch,
|
|
661
|
+
};
|
|
662
|
+
const signalSubcontrols = activeModules.widgetDefinitionsByType.get(node.widgetType)?.signalSubcontrols;
|
|
663
|
+
const nextSubcontrolAddresses = new Set(resolvePhiWidgetSignalSubcontrolAddresses({
|
|
664
|
+
blockId: node.id,
|
|
665
|
+
config: nextConfig,
|
|
666
|
+
signalSubcontrols,
|
|
667
|
+
}));
|
|
668
|
+
const removedSubcontrolAddresses = resolvePhiWidgetSignalSubcontrolAddresses({
|
|
669
|
+
blockId: node.id,
|
|
670
|
+
config: currentConfig,
|
|
671
|
+
signalSubcontrols,
|
|
672
|
+
}).filter((address) => !nextSubcontrolAddresses.has(address));
|
|
673
|
+
const nextChildWidgets = rootNodeChildWidgets.map((widget) => widget.id === node.id
|
|
674
|
+
? {
|
|
675
|
+
...widget,
|
|
676
|
+
config: nextConfig,
|
|
677
|
+
}
|
|
678
|
+
: widget);
|
|
679
|
+
const nextChildLayouts = updateWidgetChildConfigById(rootNodeChildLayouts, node.id, nextConfig);
|
|
680
|
+
if (removedSubcontrolAddresses.length > 0) {
|
|
681
|
+
updateDraftAndPruneSignalRoutes({
|
|
682
|
+
rootNodeChildLayouts: nextChildLayouts,
|
|
683
|
+
rootNodeChildWidgets: nextChildWidgets,
|
|
684
|
+
}, removedSubcontrolAddresses);
|
|
685
|
+
return;
|
|
686
|
+
}
|
|
687
|
+
updateDraft({
|
|
688
|
+
rootNodeChildLayouts: nextChildLayouts,
|
|
689
|
+
rootNodeChildWidgets: nextChildWidgets,
|
|
690
|
+
});
|
|
691
|
+
};
|
|
692
|
+
const updateLayoutNodeConfig = (node, configPatch) => {
|
|
693
|
+
if (isPreviewMode || !hasRootNode) {
|
|
694
|
+
return;
|
|
695
|
+
}
|
|
696
|
+
if (node.id === rootNodeId) {
|
|
697
|
+
updateDraft({
|
|
698
|
+
rootNodeConfig: {
|
|
699
|
+
...(effectiveDraft?.rootNodeConfig ?? {}),
|
|
700
|
+
...configPatch,
|
|
701
|
+
},
|
|
702
|
+
});
|
|
703
|
+
return;
|
|
704
|
+
}
|
|
705
|
+
updateDraft({
|
|
706
|
+
rootNodeChildLayouts: updateLayoutChildConfigById(rootNodeChildLayouts, node.id, configPatch),
|
|
707
|
+
});
|
|
708
|
+
};
|
|
709
|
+
const resolveStructureDragData = (node, title) => ({
|
|
710
|
+
area: builderState.area,
|
|
711
|
+
pageKey: builderState.pageKey,
|
|
712
|
+
pageScoped: isPhiBuilderPageScopedRegion(config.regionKey),
|
|
713
|
+
regionKey: config.regionKey,
|
|
714
|
+
nodeId: node.nodeId,
|
|
715
|
+
nodeKind: node.nodeKind,
|
|
716
|
+
title,
|
|
717
|
+
});
|
|
718
|
+
const canDropStructureNode = (target, payload) => {
|
|
719
|
+
if (isPreviewMode || !hasRootNode || rootNodeId == null) {
|
|
720
|
+
return false;
|
|
721
|
+
}
|
|
722
|
+
if (payload.area !== builderState.area ||
|
|
723
|
+
payload.pageKey !== builderState.pageKey ||
|
|
724
|
+
payload.nodeId === rootNodeId) {
|
|
725
|
+
return false;
|
|
726
|
+
}
|
|
727
|
+
let draggedNode;
|
|
728
|
+
let targetTreeLayouts;
|
|
729
|
+
let targetTreeWidgets;
|
|
730
|
+
if (payload.regionKey === config.regionKey) {
|
|
731
|
+
const extracted = extractStructureNode(rootNodeChildLayouts, rootNodeChildWidgets, payload.nodeId, payload.nodeKind);
|
|
732
|
+
draggedNode = extracted.node;
|
|
733
|
+
targetTreeLayouts = extracted.childLayouts;
|
|
734
|
+
targetTreeWidgets = extracted.childWidgets;
|
|
735
|
+
}
|
|
736
|
+
else {
|
|
737
|
+
if (isPhiBuilderPageScopedRegion(payload.regionKey) !==
|
|
738
|
+
isPhiBuilderPageScopedRegion(config.regionKey)) {
|
|
739
|
+
return false;
|
|
740
|
+
}
|
|
741
|
+
const sourceDraft = getPhiDeveloperRegionDraftsSnapshot()[getPhiBuilderRegionDraftKey(payload.area, payload.regionKey, payload.pageKey)] ?? null;
|
|
742
|
+
if (!sourceDraft?.rootNodeId || !sourceDraft.rootNodeTypeKey) {
|
|
743
|
+
return false;
|
|
744
|
+
}
|
|
745
|
+
draggedNode =
|
|
746
|
+
payload.nodeId === sourceDraft.rootNodeId
|
|
747
|
+
? buildStructureRootLayoutNode(sourceDraft, target.parentLayoutNodeId, target.slotIndex)
|
|
748
|
+
: extractStructureNode(sourceDraft.rootNodeChildLayouts ?? [], sourceDraft.rootNodeChildWidgets ?? [], payload.nodeId, payload.nodeKind).node;
|
|
749
|
+
targetTreeLayouts = rootNodeChildLayouts;
|
|
750
|
+
targetTreeWidgets = rootNodeChildWidgets;
|
|
751
|
+
}
|
|
752
|
+
if (!draggedNode) {
|
|
753
|
+
return false;
|
|
754
|
+
}
|
|
755
|
+
const targetsRoot = target.parentLayoutNodeId === rootNodeId;
|
|
756
|
+
const targetLayout = targetsRoot
|
|
757
|
+
? null
|
|
758
|
+
: findPhiBuilderLayoutNodeById(targetTreeLayouts, target.parentLayoutNodeId);
|
|
759
|
+
if (!targetsRoot && !targetLayout) {
|
|
760
|
+
return false;
|
|
761
|
+
}
|
|
762
|
+
if (!canMoveStructureLayoutToTarget(draggedNode, target.parentLayoutNodeId, rootNodeId, targetTreeLayouts)) {
|
|
763
|
+
return false;
|
|
764
|
+
}
|
|
765
|
+
const targetDefinition = targetsRoot
|
|
766
|
+
? rootNodeDefinition
|
|
767
|
+
: layoutMetasByType.get(targetLayout.widgetType) ?? null;
|
|
768
|
+
const compactTarget = isPhiCmsSequentialLayoutSlots(targetDefinition?.slots) &&
|
|
769
|
+
targetDefinition?.layoutKind !== "collapsible";
|
|
770
|
+
if (compactTarget) {
|
|
771
|
+
return true;
|
|
772
|
+
}
|
|
773
|
+
const targetLayouts = targetsRoot
|
|
774
|
+
? targetTreeLayouts
|
|
775
|
+
: targetLayout?.childLayouts ?? [];
|
|
776
|
+
const targetWidgets = targetsRoot
|
|
777
|
+
? targetTreeWidgets
|
|
778
|
+
: targetLayout?.childWidgets ?? [];
|
|
779
|
+
return !targetLayouts.some((node) => node.slotIndex === target.slotIndex) && !targetWidgets.some((node) => node.slotIndex === target.slotIndex);
|
|
780
|
+
};
|
|
781
|
+
const resolveStructureDropTarget = (target) => ({
|
|
782
|
+
id: [
|
|
783
|
+
"structure-drop",
|
|
784
|
+
builderState.area,
|
|
785
|
+
builderState.pageKey,
|
|
786
|
+
config.regionKey,
|
|
787
|
+
target.parentLayoutNodeId,
|
|
788
|
+
target.slotIndex,
|
|
789
|
+
].join(":"),
|
|
790
|
+
area: builderState.area,
|
|
791
|
+
pageKey: builderState.pageKey,
|
|
792
|
+
regionKey: config.regionKey,
|
|
793
|
+
dropMode: "child",
|
|
794
|
+
title: `${config.title} slot ${target.slotIndex + 1}`,
|
|
795
|
+
accepts: (source) => canDropStructureNode(target, source),
|
|
796
|
+
drop: (source) => dropStructureNode(target, source),
|
|
797
|
+
});
|
|
798
|
+
const resolveWidgetSwapSourceDraft = (payload) => {
|
|
799
|
+
const sourceDraftKey = getPhiBuilderRegionDraftKey(payload.area, payload.regionKey, payload.pageKey);
|
|
800
|
+
return {
|
|
801
|
+
sourceDraftKey,
|
|
802
|
+
sourceDraft: payload.regionKey === config.regionKey
|
|
803
|
+
? effectiveDraft
|
|
804
|
+
: getPhiDeveloperRegionDraftsSnapshot()[sourceDraftKey] ?? null,
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
const canSwapStructureWidgets = (targetWidget, payload) => {
|
|
808
|
+
if (isPreviewMode ||
|
|
809
|
+
payload.nodeKind !== "widget" ||
|
|
810
|
+
payload.nodeId === targetWidget.id ||
|
|
811
|
+
payload.area !== builderState.area ||
|
|
812
|
+
payload.pageKey !== builderState.pageKey ||
|
|
813
|
+
isPhiBuilderPageScopedRegion(payload.regionKey) !==
|
|
814
|
+
isPhiBuilderPageScopedRegion(config.regionKey)) {
|
|
815
|
+
return false;
|
|
816
|
+
}
|
|
817
|
+
const { sourceDraft } = resolveWidgetSwapSourceDraft(payload);
|
|
818
|
+
if (!sourceDraft?.rootNodeId || !sourceDraft.rootNodeTypeKey) {
|
|
819
|
+
return false;
|
|
820
|
+
}
|
|
821
|
+
return extractStructureNode(sourceDraft.rootNodeChildLayouts ?? [], sourceDraft.rootNodeChildWidgets ?? [], payload.nodeId, "widget").node != null;
|
|
822
|
+
};
|
|
823
|
+
const swapStructureWidgets = (targetWidget, payload) => {
|
|
824
|
+
if (!canSwapStructureWidgets(targetWidget, payload) || !rootNodeId) {
|
|
825
|
+
return;
|
|
826
|
+
}
|
|
827
|
+
const { sourceDraftKey, sourceDraft } = resolveWidgetSwapSourceDraft(payload);
|
|
828
|
+
if (!sourceDraft?.rootNodeId) {
|
|
829
|
+
return;
|
|
830
|
+
}
|
|
831
|
+
if (payload.regionKey === config.regionKey) {
|
|
832
|
+
const swapped = swapPhiStructureWidgetsInTree({
|
|
833
|
+
childLayouts: rootNodeChildLayouts,
|
|
834
|
+
childWidgets: rootNodeChildWidgets,
|
|
835
|
+
rootNodeId,
|
|
836
|
+
sourceWidgetId: payload.nodeId,
|
|
837
|
+
targetWidgetId: targetWidget.id,
|
|
838
|
+
});
|
|
839
|
+
if (!swapped) {
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
842
|
+
setPhiDeveloperRegionDraft(draftKey, {
|
|
843
|
+
...effectiveDraft,
|
|
844
|
+
rootNodeChildLayouts: swapped.childLayouts,
|
|
845
|
+
rootNodeChildWidgets: swapped.childWidgets,
|
|
846
|
+
}, {
|
|
847
|
+
historyContext,
|
|
848
|
+
historyLabel: "Swap widgets",
|
|
849
|
+
});
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
const swapped = swapPhiStructureWidgetsAcrossTrees({
|
|
853
|
+
source: {
|
|
854
|
+
childLayouts: sourceDraft.rootNodeChildLayouts ?? [],
|
|
855
|
+
childWidgets: sourceDraft.rootNodeChildWidgets ?? [],
|
|
856
|
+
rootNodeId: sourceDraft.rootNodeId,
|
|
857
|
+
widgetId: payload.nodeId,
|
|
858
|
+
},
|
|
859
|
+
target: {
|
|
860
|
+
childLayouts: rootNodeChildLayouts,
|
|
861
|
+
childWidgets: rootNodeChildWidgets,
|
|
862
|
+
rootNodeId,
|
|
863
|
+
widgetId: targetWidget.id,
|
|
864
|
+
},
|
|
865
|
+
});
|
|
866
|
+
if (!swapped) {
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
869
|
+
setPhiDeveloperRegionDraftsWithHistory({
|
|
870
|
+
[sourceDraftKey]: {
|
|
871
|
+
...sourceDraft,
|
|
872
|
+
rootNodeChildLayouts: swapped.source.childLayouts,
|
|
873
|
+
rootNodeChildWidgets: swapped.source.childWidgets,
|
|
874
|
+
},
|
|
875
|
+
[draftKey]: {
|
|
876
|
+
...effectiveDraft,
|
|
877
|
+
rootNodeChildLayouts: swapped.target.childLayouts,
|
|
878
|
+
rootNodeChildWidgets: swapped.target.childWidgets,
|
|
879
|
+
},
|
|
880
|
+
}, {
|
|
881
|
+
historyContext,
|
|
882
|
+
historyLabel: "Swap widgets",
|
|
883
|
+
});
|
|
884
|
+
};
|
|
885
|
+
const resolveWidgetSwapDropTarget = (targetWidget) => ({
|
|
886
|
+
id: [
|
|
887
|
+
"structure-widget-swap",
|
|
888
|
+
builderState.area,
|
|
889
|
+
builderState.pageKey,
|
|
890
|
+
config.regionKey,
|
|
891
|
+
targetWidget.id,
|
|
892
|
+
].join(":"),
|
|
893
|
+
area: builderState.area,
|
|
894
|
+
pageKey: builderState.pageKey,
|
|
895
|
+
regionKey: config.regionKey,
|
|
896
|
+
dropMode: "swap",
|
|
897
|
+
targetNodeId: targetWidget.id,
|
|
898
|
+
title: `Swap with ${targetWidget.label ?? targetWidget.widgetType}`,
|
|
899
|
+
accepts: (source) => canSwapStructureWidgets(targetWidget, source),
|
|
900
|
+
drop: (source) => swapStructureWidgets(targetWidget, source),
|
|
901
|
+
});
|
|
902
|
+
const dropStructureNode = (target, payload) => {
|
|
903
|
+
if (isPreviewMode || !hasRootNode || rootNodeId == null) {
|
|
904
|
+
return;
|
|
905
|
+
}
|
|
906
|
+
if (payload.area !== builderState.area ||
|
|
907
|
+
payload.pageKey !== builderState.pageKey ||
|
|
908
|
+
payload.nodeId === rootNodeId) {
|
|
909
|
+
return;
|
|
910
|
+
}
|
|
911
|
+
if (payload.regionKey !== config.regionKey) {
|
|
912
|
+
if (isPhiBuilderPageScopedRegion(payload.regionKey) !==
|
|
913
|
+
isPhiBuilderPageScopedRegion(config.regionKey)) {
|
|
914
|
+
return;
|
|
915
|
+
}
|
|
916
|
+
const sourceDraftKey = getPhiBuilderRegionDraftKey(payload.area, payload.regionKey, payload.pageKey);
|
|
917
|
+
const sourceDraft = getPhiDeveloperRegionDraftsSnapshot()[sourceDraftKey] ?? null;
|
|
918
|
+
if (!sourceDraft?.rootNodeId || !sourceDraft.rootNodeTypeKey) {
|
|
919
|
+
return;
|
|
920
|
+
}
|
|
921
|
+
const movingSourceRoot = payload.nodeId === sourceDraft.rootNodeId &&
|
|
922
|
+
(payload.nodeKind === "layout");
|
|
923
|
+
const sourceRootNode = movingSourceRoot
|
|
924
|
+
? buildStructureRootLayoutNode(sourceDraft, target.parentLayoutNodeId, target.slotIndex)
|
|
925
|
+
: null;
|
|
926
|
+
const extractedSource = sourceRootNode
|
|
927
|
+
? {
|
|
928
|
+
childLayouts: [],
|
|
929
|
+
childWidgets: [],
|
|
930
|
+
node: sourceRootNode,
|
|
931
|
+
}
|
|
932
|
+
: extractStructureNode(sourceDraft.rootNodeChildLayouts ?? [], sourceDraft.rootNodeChildWidgets ?? [], payload.nodeId, payload.nodeKind);
|
|
933
|
+
if (!extractedSource.node) {
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
const targetLayout = target.parentLayoutNodeId === rootNodeId
|
|
937
|
+
? null
|
|
938
|
+
: findPhiBuilderLayoutNodeById(rootNodeChildLayouts, target.parentLayoutNodeId);
|
|
939
|
+
if (target.parentLayoutNodeId !== rootNodeId &&
|
|
940
|
+
!targetLayout) {
|
|
941
|
+
return;
|
|
942
|
+
}
|
|
943
|
+
if (!canMoveStructureLayoutToTarget(extractedSource.node, target.parentLayoutNodeId, rootNodeId, rootNodeChildLayouts)) {
|
|
944
|
+
return;
|
|
945
|
+
}
|
|
946
|
+
const targetDefinition = target.parentLayoutNodeId === rootNodeId
|
|
947
|
+
? rootNodeDefinition
|
|
948
|
+
: layoutMetasByType.get(targetLayout.widgetType) ?? null;
|
|
949
|
+
const compactTarget = isPhiCmsSequentialLayoutSlots(targetDefinition?.slots) &&
|
|
950
|
+
targetDefinition?.layoutKind !== "collapsible";
|
|
951
|
+
const targetLayouts = target.parentLayoutNodeId === rootNodeId
|
|
952
|
+
? rootNodeChildLayouts
|
|
953
|
+
: targetLayout?.childLayouts ?? [];
|
|
954
|
+
const targetWidgets = target.parentLayoutNodeId === rootNodeId
|
|
955
|
+
? rootNodeChildWidgets
|
|
956
|
+
: targetLayout?.childWidgets ?? [];
|
|
957
|
+
if (!compactTarget &&
|
|
958
|
+
(targetLayouts.some((node) => node.slotIndex === target.slotIndex) ||
|
|
959
|
+
targetWidgets.some((node) => node.slotIndex === target.slotIndex))) {
|
|
960
|
+
return;
|
|
961
|
+
}
|
|
962
|
+
const movedNode = {
|
|
963
|
+
...extractedSource.node,
|
|
964
|
+
parentLayoutNodeId: target.parentLayoutNodeId,
|
|
965
|
+
slotIndex: target.slotIndex,
|
|
966
|
+
sortOrder: Math.max(0, extractedSource.node.sortOrder),
|
|
967
|
+
};
|
|
968
|
+
let nextTargetLayouts = rootNodeChildLayouts;
|
|
969
|
+
let nextTargetWidgets = rootNodeChildWidgets;
|
|
970
|
+
const targetsRoot = target.parentLayoutNodeId === rootNodeId;
|
|
971
|
+
if ("contentId" in movedNode) {
|
|
972
|
+
if (targetsRoot) {
|
|
973
|
+
if (compactTarget) {
|
|
974
|
+
const inserted = insertPhiCmsSequentialChild(nextTargetLayouts, nextTargetWidgets, movedNode);
|
|
975
|
+
nextTargetLayouts = inserted.childLayouts;
|
|
976
|
+
nextTargetWidgets = inserted.childWidgets;
|
|
977
|
+
}
|
|
978
|
+
else {
|
|
979
|
+
nextTargetWidgets = [...nextTargetWidgets, movedNode];
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
else {
|
|
983
|
+
nextTargetLayouts = appendWidgetChildById(nextTargetLayouts, target.parentLayoutNodeId, movedNode, compactTarget);
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
else if (targetsRoot) {
|
|
987
|
+
if (compactTarget) {
|
|
988
|
+
const inserted = insertPhiCmsSequentialChild(nextTargetLayouts, nextTargetWidgets, movedNode);
|
|
989
|
+
nextTargetLayouts = inserted.childLayouts;
|
|
990
|
+
nextTargetWidgets = inserted.childWidgets;
|
|
991
|
+
}
|
|
992
|
+
else {
|
|
993
|
+
nextTargetLayouts = [...nextTargetLayouts, movedNode];
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
else {
|
|
997
|
+
nextTargetLayouts = appendLayoutChildById(nextTargetLayouts, target.parentLayoutNodeId, movedNode, compactTarget);
|
|
998
|
+
}
|
|
999
|
+
if (targetsRoot && compactTarget) {
|
|
1000
|
+
const compactedTarget = compactPhiCmsSequentialChildren({
|
|
1001
|
+
childLayouts: nextTargetLayouts,
|
|
1002
|
+
childWidgets: nextTargetWidgets,
|
|
1003
|
+
});
|
|
1004
|
+
nextTargetLayouts = compactedTarget.childLayouts;
|
|
1005
|
+
nextTargetWidgets = compactedTarget.childWidgets;
|
|
1006
|
+
}
|
|
1007
|
+
const sourceRootDefinition = layoutMetasByType.get(sourceDraft.rootNodeTypeKey) ?? null;
|
|
1008
|
+
let nextSourceLayouts = compactStructureSequentialLayouts(extractedSource.childLayouts, layoutMetasByType);
|
|
1009
|
+
let nextSourceWidgets = extractedSource.childWidgets;
|
|
1010
|
+
if (isPhiCmsSequentialLayoutSlots(sourceRootDefinition?.slots) &&
|
|
1011
|
+
sourceRootDefinition?.layoutKind !== "collapsible") {
|
|
1012
|
+
const compactedSource = compactPhiCmsSequentialChildren({
|
|
1013
|
+
childLayouts: nextSourceLayouts,
|
|
1014
|
+
childWidgets: nextSourceWidgets,
|
|
1015
|
+
});
|
|
1016
|
+
nextSourceLayouts = compactedSource.childLayouts;
|
|
1017
|
+
nextSourceWidgets = compactedSource.childWidgets;
|
|
1018
|
+
}
|
|
1019
|
+
setPhiDeveloperRegionDraftsWithHistory({
|
|
1020
|
+
[sourceDraftKey]: movingSourceRoot
|
|
1021
|
+
? clearStructureRootNode(sourceDraft)
|
|
1022
|
+
: {
|
|
1023
|
+
...sourceDraft,
|
|
1024
|
+
rootNodeChildLayouts: nextSourceLayouts,
|
|
1025
|
+
rootNodeChildWidgets: nextSourceWidgets,
|
|
1026
|
+
},
|
|
1027
|
+
[draftKey]: {
|
|
1028
|
+
...(effectiveDraft ?? getDefaultRegionDraft(config.regionKey)),
|
|
1029
|
+
rootNodeChildLayouts: compactStructureSequentialLayouts(nextTargetLayouts, layoutMetasByType),
|
|
1030
|
+
rootNodeChildWidgets: nextTargetWidgets,
|
|
1031
|
+
},
|
|
1032
|
+
}, {
|
|
1033
|
+
historyContext,
|
|
1034
|
+
historyLabel: "Move structure node",
|
|
1035
|
+
});
|
|
1036
|
+
return;
|
|
1037
|
+
}
|
|
1038
|
+
const extracted = extractStructureNode(rootNodeChildLayouts, rootNodeChildWidgets, payload.nodeId, payload.nodeKind);
|
|
1039
|
+
if (!extracted.node) {
|
|
1040
|
+
return;
|
|
1041
|
+
}
|
|
1042
|
+
const targetsRoot = target.parentLayoutNodeId === rootNodeId;
|
|
1043
|
+
const targetLayout = targetsRoot
|
|
1044
|
+
? null
|
|
1045
|
+
: findPhiBuilderLayoutNodeById(extracted.childLayouts, target.parentLayoutNodeId);
|
|
1046
|
+
if (!targetsRoot && !targetLayout) {
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
if (!canMoveStructureLayoutToTarget(extracted.node, target.parentLayoutNodeId, rootNodeId, extracted.childLayouts)) {
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1052
|
+
const targetDefinition = targetsRoot
|
|
1053
|
+
? rootNodeDefinition
|
|
1054
|
+
: layoutMetasByType.get(targetLayout.widgetType) ?? null;
|
|
1055
|
+
const compactSequential = isPhiCmsSequentialLayoutSlots(targetDefinition?.slots) &&
|
|
1056
|
+
targetDefinition?.layoutKind !== "collapsible";
|
|
1057
|
+
const targetLayouts = targetsRoot
|
|
1058
|
+
? extracted.childLayouts
|
|
1059
|
+
: targetLayout?.childLayouts ?? [];
|
|
1060
|
+
const targetWidgets = targetsRoot
|
|
1061
|
+
? extracted.childWidgets
|
|
1062
|
+
: targetLayout?.childWidgets ?? [];
|
|
1063
|
+
const targetOccupied = targetLayouts.some((node) => node.slotIndex === target.slotIndex) ||
|
|
1064
|
+
targetWidgets.some((node) => node.slotIndex === target.slotIndex);
|
|
1065
|
+
if (!compactSequential && targetOccupied) {
|
|
1066
|
+
return;
|
|
1067
|
+
}
|
|
1068
|
+
const insertionSlotIndex = compactSequential &&
|
|
1069
|
+
extracted.node.parentLayoutNodeId === target.parentLayoutNodeId &&
|
|
1070
|
+
extracted.node.slotIndex < target.slotIndex
|
|
1071
|
+
? target.slotIndex - 1
|
|
1072
|
+
: target.slotIndex;
|
|
1073
|
+
const movedNode = {
|
|
1074
|
+
...extracted.node,
|
|
1075
|
+
parentLayoutNodeId: target.parentLayoutNodeId,
|
|
1076
|
+
slotIndex: insertionSlotIndex,
|
|
1077
|
+
sortOrder: Math.max(0, extracted.node.sortOrder),
|
|
1078
|
+
};
|
|
1079
|
+
let nextChildLayouts = extracted.childLayouts;
|
|
1080
|
+
let nextChildWidgets = extracted.childWidgets;
|
|
1081
|
+
if ("contentId" in movedNode) {
|
|
1082
|
+
if (targetsRoot) {
|
|
1083
|
+
if (compactSequential) {
|
|
1084
|
+
const inserted = insertPhiCmsSequentialChild(nextChildLayouts, nextChildWidgets, movedNode);
|
|
1085
|
+
nextChildLayouts = inserted.childLayouts;
|
|
1086
|
+
nextChildWidgets = inserted.childWidgets;
|
|
1087
|
+
}
|
|
1088
|
+
else {
|
|
1089
|
+
nextChildWidgets = [...nextChildWidgets, movedNode];
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
else {
|
|
1093
|
+
nextChildLayouts = appendWidgetChildById(nextChildLayouts, target.parentLayoutNodeId, movedNode, compactSequential);
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
else if (targetsRoot) {
|
|
1097
|
+
if (compactSequential) {
|
|
1098
|
+
const inserted = insertPhiCmsSequentialChild(nextChildLayouts, nextChildWidgets, movedNode);
|
|
1099
|
+
nextChildLayouts = inserted.childLayouts;
|
|
1100
|
+
nextChildWidgets = inserted.childWidgets;
|
|
1101
|
+
}
|
|
1102
|
+
else {
|
|
1103
|
+
nextChildLayouts = [...nextChildLayouts, movedNode];
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
else {
|
|
1107
|
+
nextChildLayouts = appendLayoutChildById(nextChildLayouts, target.parentLayoutNodeId, movedNode, compactSequential);
|
|
1108
|
+
}
|
|
1109
|
+
if (targetsRoot && compactSequential) {
|
|
1110
|
+
const compacted = compactPhiCmsSequentialChildren({
|
|
1111
|
+
childLayouts: nextChildLayouts,
|
|
1112
|
+
childWidgets: nextChildWidgets,
|
|
1113
|
+
});
|
|
1114
|
+
nextChildLayouts = compacted.childLayouts;
|
|
1115
|
+
nextChildWidgets = compacted.childWidgets;
|
|
1116
|
+
}
|
|
1117
|
+
setPhiDeveloperRegionDraft(draftKey, {
|
|
1118
|
+
...(effectiveDraft ?? getDefaultRegionDraft(config.regionKey)),
|
|
1119
|
+
rootNodeChildLayouts: compactStructureSequentialLayouts(nextChildLayouts, layoutMetasByType),
|
|
1120
|
+
rootNodeChildWidgets: nextChildWidgets,
|
|
1121
|
+
}, {
|
|
1122
|
+
historyContext,
|
|
1123
|
+
historyLabel: "Move structure node",
|
|
1124
|
+
});
|
|
1125
|
+
};
|
|
1126
|
+
const canDropStructureNodeAsRoot = (payload) => {
|
|
1127
|
+
if (isPreviewMode || hasRootNode) {
|
|
1128
|
+
return false;
|
|
1129
|
+
}
|
|
1130
|
+
if (payload.area !== builderState.area ||
|
|
1131
|
+
payload.pageKey !== builderState.pageKey ||
|
|
1132
|
+
payload.regionKey === config.regionKey ||
|
|
1133
|
+
payload.nodeKind === "widget" ||
|
|
1134
|
+
isPhiBuilderPageScopedRegion(payload.regionKey) !==
|
|
1135
|
+
isPhiBuilderPageScopedRegion(config.regionKey)) {
|
|
1136
|
+
return false;
|
|
1137
|
+
}
|
|
1138
|
+
const sourceDraft = getPhiDeveloperRegionDraftsSnapshot()[getPhiBuilderRegionDraftKey(payload.area, payload.regionKey, payload.pageKey)] ?? null;
|
|
1139
|
+
if (!sourceDraft?.rootNodeId ||
|
|
1140
|
+
!sourceDraft.rootNodeTypeKey ||
|
|
1141
|
+
!sourceDraft.rootNodeKind) {
|
|
1142
|
+
return false;
|
|
1143
|
+
}
|
|
1144
|
+
const movingSourceRoot = payload.nodeId === sourceDraft.rootNodeId;
|
|
1145
|
+
if (movingSourceRoot &&
|
|
1146
|
+
sourceDraft.rootNodeKind !== "layout") {
|
|
1147
|
+
return false;
|
|
1148
|
+
}
|
|
1149
|
+
const extractedSource = movingSourceRoot
|
|
1150
|
+
? null
|
|
1151
|
+
: extractStructureNode(sourceDraft.rootNodeChildLayouts ?? [], sourceDraft.rootNodeChildWidgets ?? [], payload.nodeId, payload.nodeKind);
|
|
1152
|
+
if (!movingSourceRoot &&
|
|
1153
|
+
(!extractedSource?.node || "contentId" in extractedSource.node)) {
|
|
1154
|
+
return false;
|
|
1155
|
+
}
|
|
1156
|
+
return true;
|
|
1157
|
+
};
|
|
1158
|
+
const dropStructureNodeAsRoot = (payload) => {
|
|
1159
|
+
if (!canDropStructureNodeAsRoot(payload)) {
|
|
1160
|
+
return;
|
|
1161
|
+
}
|
|
1162
|
+
const sourceDraftKey = getPhiBuilderRegionDraftKey(payload.area, payload.regionKey, payload.pageKey);
|
|
1163
|
+
const sourceDraft = getPhiDeveloperRegionDraftsSnapshot()[sourceDraftKey];
|
|
1164
|
+
const movingSourceRoot = payload.nodeId === sourceDraft.rootNodeId;
|
|
1165
|
+
const extractedSource = movingSourceRoot
|
|
1166
|
+
? null
|
|
1167
|
+
: extractStructureNode(sourceDraft.rootNodeChildLayouts ?? [], sourceDraft.rootNodeChildWidgets ?? [], payload.nodeId, payload.nodeKind);
|
|
1168
|
+
let nextSourceDraft;
|
|
1169
|
+
let nextTargetDraft;
|
|
1170
|
+
const targetBase = effectiveDraft ?? getDefaultRegionDraft(config.regionKey);
|
|
1171
|
+
if (movingSourceRoot) {
|
|
1172
|
+
nextSourceDraft = clearStructureRootNode(sourceDraft);
|
|
1173
|
+
nextTargetDraft = copyStructureRootNode(targetBase, sourceDraft);
|
|
1174
|
+
}
|
|
1175
|
+
else {
|
|
1176
|
+
const sourceRootDefinition = layoutMetasByType.get(sourceDraft.rootNodeTypeKey) ?? null;
|
|
1177
|
+
let nextSourceLayouts = compactStructureSequentialLayouts(extractedSource.childLayouts, layoutMetasByType);
|
|
1178
|
+
let nextSourceWidgets = extractedSource.childWidgets;
|
|
1179
|
+
if (isPhiCmsSequentialLayoutSlots(sourceRootDefinition?.slots) &&
|
|
1180
|
+
sourceRootDefinition?.layoutKind !== "collapsible") {
|
|
1181
|
+
const compactedSource = compactPhiCmsSequentialChildren({
|
|
1182
|
+
childLayouts: nextSourceLayouts,
|
|
1183
|
+
childWidgets: nextSourceWidgets,
|
|
1184
|
+
});
|
|
1185
|
+
nextSourceLayouts = compactedSource.childLayouts;
|
|
1186
|
+
nextSourceWidgets = compactedSource.childWidgets;
|
|
1187
|
+
}
|
|
1188
|
+
nextSourceDraft = {
|
|
1189
|
+
...sourceDraft,
|
|
1190
|
+
rootNodeChildLayouts: nextSourceLayouts,
|
|
1191
|
+
rootNodeChildWidgets: nextSourceWidgets,
|
|
1192
|
+
};
|
|
1193
|
+
nextTargetDraft = promoteStructureLayoutToRoot(targetBase, extractedSource.node);
|
|
1194
|
+
}
|
|
1195
|
+
setPhiDeveloperRegionDraftsWithHistory({
|
|
1196
|
+
[sourceDraftKey]: nextSourceDraft,
|
|
1197
|
+
[draftKey]: nextTargetDraft,
|
|
1198
|
+
}, {
|
|
1199
|
+
historyContext,
|
|
1200
|
+
historyLabel: "Move layout to region root",
|
|
1201
|
+
});
|
|
1202
|
+
};
|
|
1203
|
+
const rootDropTarget = !isPreviewMode && !hasRootNode
|
|
1204
|
+
? {
|
|
1205
|
+
id: [
|
|
1206
|
+
"structure-root-drop",
|
|
1207
|
+
builderState.area,
|
|
1208
|
+
builderState.pageKey,
|
|
1209
|
+
config.regionKey,
|
|
1210
|
+
].join(":"),
|
|
1211
|
+
area: builderState.area,
|
|
1212
|
+
pageKey: builderState.pageKey,
|
|
1213
|
+
regionKey: config.regionKey,
|
|
1214
|
+
dropMode: "child",
|
|
1215
|
+
title: `${config.title} root`,
|
|
1216
|
+
accepts: canDropStructureNodeAsRoot,
|
|
1217
|
+
drop: dropStructureNodeAsRoot,
|
|
1218
|
+
}
|
|
1219
|
+
: null;
|
|
1220
|
+
const { accepted: rootDropAccepted, isOver: rootDropIsOver, setNodeRef: setRootDropNodeRef, } = usePhiStructureDroppable(rootDropTarget);
|
|
1221
|
+
const availablePickItems = (config.pickItems ?? []).filter((item) => {
|
|
1222
|
+
if (item.kind === "widget") {
|
|
1223
|
+
return activeModules.widgetTypes.has(item.key);
|
|
1224
|
+
}
|
|
1225
|
+
const { pluginKey, typeKey } = splitPhiCmsLayoutNamespacedTypeKey(item.key);
|
|
1226
|
+
return activeModules.layoutTypes.has(`${pluginKey}/${typeKey}`);
|
|
1227
|
+
});
|
|
1228
|
+
const pickerPlacement = config.regionKey === "sider_left" ? "right" : "top";
|
|
1229
|
+
const rootNodeScaffold = hasRootNode
|
|
1230
|
+
? renderPhiRootNodeScaffold({
|
|
1231
|
+
regionKey: config.regionKey,
|
|
1232
|
+
id: rootNodeId,
|
|
1233
|
+
typeKey: rootNodeTypeKey,
|
|
1234
|
+
kind: rootNodeKind,
|
|
1235
|
+
title: effectiveDraft?.rootNodeTitle ?? null,
|
|
1236
|
+
packageName: effectiveDraft?.rootNodePackageName ?? null,
|
|
1237
|
+
editSlotAnchor: resolvedRootNodeAnchor,
|
|
1238
|
+
rootNodeConfig: effectiveDraft?.rootNodeConfig ?? null,
|
|
1239
|
+
rootNodeGeometry: effectiveDraft?.rootNodeGeometry ?? null,
|
|
1240
|
+
rootNodePadding: effectiveDraft?.rootNodePadding ?? null,
|
|
1241
|
+
rootNodeBackground: effectiveDraft?.rootNodeBackground ?? null,
|
|
1242
|
+
rootNodeBorder: effectiveDraft?.rootNodeBorder ?? null,
|
|
1243
|
+
rootNodeShadow: effectiveDraft?.rootNodeShadow ?? null,
|
|
1244
|
+
childLayouts: rootNodeChildLayouts,
|
|
1245
|
+
childWidgets: rootNodeChildWidgets,
|
|
1246
|
+
}, openSlot, openRootInspector, deleteRootNode, updateWidgetNodeConfig, updateLayoutNodeConfig, {
|
|
1247
|
+
fallbackBlockSize: resolvedRootBodyHeight ?? null,
|
|
1248
|
+
fallbackMinBlockSize: resolvedRootBodyMinHeight ?? null,
|
|
1249
|
+
effectsLabels,
|
|
1250
|
+
authoringCanvas,
|
|
1251
|
+
demandControllerContext: {
|
|
1252
|
+
area: builderState.area,
|
|
1253
|
+
ownerKey: getPhiBuilderRegionDraftKey(builderState.area, config.regionKey, builderState.pageKey),
|
|
1254
|
+
ownerMountScope: isPhiBuilderPageScopedRegion(config.regionKey) ? "page" : "area",
|
|
1255
|
+
pageKey: isPhiBuilderPageScopedRegion(config.regionKey) ? builderState.pageKey : null,
|
|
1256
|
+
regionType: resolvePhiCmsRegionType(config.regionKey),
|
|
1257
|
+
},
|
|
1258
|
+
draggable: rootNodeKind === "layout",
|
|
1259
|
+
resolveDragData: resolveStructureDragData,
|
|
1260
|
+
resolveDropTarget: resolveStructureDropTarget,
|
|
1261
|
+
resolveWidgetDropTarget: resolveWidgetSwapDropTarget,
|
|
1262
|
+
renderInsertPicker,
|
|
1263
|
+
})
|
|
1264
|
+
: null;
|
|
1265
|
+
async function insertPickedItem(item) {
|
|
1266
|
+
const currentSlotPickerContext = slotPickerContext;
|
|
1267
|
+
const instanceId = await allocatePhiBuilderCmsInstanceId({
|
|
1268
|
+
area: builderState.area,
|
|
1269
|
+
pageKey: builderState.pageKey,
|
|
1270
|
+
regionKey: config.regionKey,
|
|
1271
|
+
builderPlugins: builderModuleMetas.plugins,
|
|
1272
|
+
});
|
|
1273
|
+
const targetLayoutNodeId = currentSlotPickerContext?.targetNodeId ?? rootNodeId;
|
|
1274
|
+
const targetsRootLayout = targetLayoutNodeId === rootNodeId;
|
|
1275
|
+
const parentLayoutNodeId = targetLayoutNodeId;
|
|
1276
|
+
const insertionSlotIndex = currentSlotPickerContext?.slotIndex ?? null;
|
|
1277
|
+
const parentLayoutNode = targetsRootLayout || targetLayoutNodeId == null
|
|
1278
|
+
? null
|
|
1279
|
+
: findPhiBuilderLayoutNodeById(rootNodeChildLayouts, targetLayoutNodeId);
|
|
1280
|
+
const parentLayoutDefinition = parentLayoutNode == null
|
|
1281
|
+
? rootNodeDefinition
|
|
1282
|
+
: layoutMetasByType.get(parentLayoutNode.widgetType) ?? null;
|
|
1283
|
+
const compactSequential = isPhiCmsSequentialLayoutSlots(parentLayoutDefinition?.slots) &&
|
|
1284
|
+
parentLayoutDefinition?.layoutKind !== "collapsible";
|
|
1285
|
+
const isSlotInsertion = hasRootNode &&
|
|
1286
|
+
insertionSlotIndex != null &&
|
|
1287
|
+
parentLayoutNodeId != null;
|
|
1288
|
+
if (isSlotInsertion
|
|
1289
|
+
&& item.kind === "widget"
|
|
1290
|
+
&& currentSlotPickerContext?.allowWidgetSection
|
|
1291
|
+
&& insertionSlotIndex != null
|
|
1292
|
+
&& parentLayoutNodeId != null) {
|
|
1293
|
+
const nextWidget = buildInsertedWidgetNode(item, instanceId, parentLayoutNodeId, insertionSlotIndex, resolveNextSlotSortOrder(insertionSlotIndex));
|
|
1294
|
+
updateDraft(!targetsRootLayout
|
|
1295
|
+
? {
|
|
1296
|
+
rootNodeChildLayouts: appendWidgetChildById(rootNodeChildLayouts, parentLayoutNodeId, nextWidget, compactSequential),
|
|
1297
|
+
}
|
|
1298
|
+
: compactSequential
|
|
1299
|
+
? (() => {
|
|
1300
|
+
const nextChildren = compactPhiCmsSequentialChildren({
|
|
1301
|
+
childLayouts: rootNodeChildLayouts,
|
|
1302
|
+
childWidgets: [...rootNodeChildWidgets, nextWidget],
|
|
1303
|
+
});
|
|
1304
|
+
return {
|
|
1305
|
+
rootNodeChildLayouts: nextChildren.childLayouts,
|
|
1306
|
+
rootNodeChildWidgets: nextChildren.childWidgets,
|
|
1307
|
+
};
|
|
1308
|
+
})()
|
|
1309
|
+
: { rootNodeChildWidgets: [...rootNodeChildWidgets, nextWidget] });
|
|
1310
|
+
}
|
|
1311
|
+
else if (isSlotInsertion
|
|
1312
|
+
&& item.kind !== "widget"
|
|
1313
|
+
&& currentSlotPickerContext?.allowLayoutSection
|
|
1314
|
+
&& insertionSlotIndex != null
|
|
1315
|
+
&& parentLayoutNodeId != null) {
|
|
1316
|
+
const nextLayout = buildInsertedLayoutNode(item, instanceId, parentLayoutNodeId, insertionSlotIndex, resolveNextSlotSortOrder(insertionSlotIndex));
|
|
1317
|
+
updateDraft(!targetsRootLayout
|
|
1318
|
+
? {
|
|
1319
|
+
rootNodeChildLayouts: appendLayoutChildById(rootNodeChildLayouts, parentLayoutNodeId, nextLayout, compactSequential),
|
|
1320
|
+
}
|
|
1321
|
+
: compactSequential
|
|
1322
|
+
? (() => {
|
|
1323
|
+
const nextChildren = compactPhiCmsSequentialChildren({
|
|
1324
|
+
childLayouts: [...rootNodeChildLayouts, nextLayout],
|
|
1325
|
+
childWidgets: rootNodeChildWidgets,
|
|
1326
|
+
});
|
|
1327
|
+
return {
|
|
1328
|
+
rootNodeChildLayouts: nextChildren.childLayouts,
|
|
1329
|
+
rootNodeChildWidgets: nextChildren.childWidgets,
|
|
1330
|
+
};
|
|
1331
|
+
})()
|
|
1332
|
+
: { rootNodeChildLayouts: [...rootNodeChildLayouts, nextLayout] });
|
|
1333
|
+
}
|
|
1334
|
+
else if (!hasRootNode) {
|
|
1335
|
+
const resolvedDefaultConfig = resolveInsertedItemDefaultConfig(item);
|
|
1336
|
+
const rootNodeDefaults = resolvePhiBuilderRootNodeDefaults(resolvedDefaultConfig);
|
|
1337
|
+
updateDraft({
|
|
1338
|
+
rootNodeId: instanceId,
|
|
1339
|
+
rootNodeTypeKey: item.key,
|
|
1340
|
+
rootNodeKind: item.kind,
|
|
1341
|
+
rootNodeTitle: item.title,
|
|
1342
|
+
rootNodePackageName: resolvePickItemPackageName(item),
|
|
1343
|
+
rootNodeConfig: resolvedDefaultConfig,
|
|
1344
|
+
rootNodeGeometry: null,
|
|
1345
|
+
rootNodeAnchor: item.defaultAnchor ?? null,
|
|
1346
|
+
rootNodePadding: rootNodeDefaults.rootNodePadding,
|
|
1347
|
+
rootNodeBackground: rootNodeDefaults.rootNodeBackground,
|
|
1348
|
+
rootNodeBorder: rootNodeDefaults.rootNodeBorder,
|
|
1349
|
+
rootNodeShadow: readPhiShadow(resolvedDefaultConfig?.shadow) ?? null,
|
|
1350
|
+
rootNodeChildLayouts: [],
|
|
1351
|
+
rootNodeChildWidgets: [],
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
else {
|
|
1355
|
+
return;
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
const pickerActionIconFrameSize = token.controlHeight;
|
|
1359
|
+
const pickerActionIconSize = token.fontSizeHeading4;
|
|
1360
|
+
useEffect(() => {
|
|
1361
|
+
if (builderMode !== "preview" || !isPicking) {
|
|
1362
|
+
return;
|
|
1363
|
+
}
|
|
1364
|
+
const timeoutId = window.setTimeout(() => {
|
|
1365
|
+
setIsPicking(false);
|
|
1366
|
+
}, 0);
|
|
1367
|
+
return () => window.clearTimeout(timeoutId);
|
|
1368
|
+
}, [builderMode, isPicking]);
|
|
1369
|
+
useEffect(() => {
|
|
1370
|
+
if (!Array.isArray(builderState.pickerWidgetCategoryFilters)) {
|
|
1371
|
+
patchPhiDeveloperBuilderState("public", { pickerWidgetCategoryFilters: [] });
|
|
1372
|
+
}
|
|
1373
|
+
}, [builderState.pickerWidgetCategoryFilters]);
|
|
1374
|
+
useEffect(() => {
|
|
1375
|
+
if (slotKind !== "structure") {
|
|
1376
|
+
return;
|
|
1377
|
+
}
|
|
1378
|
+
const nextDraft = structureDraftsByArea?.[builderState.area] ?? null;
|
|
1379
|
+
if (!nextDraft) {
|
|
1380
|
+
return;
|
|
1381
|
+
}
|
|
1382
|
+
// Seed the structure workspace exactly once per draft key.
|
|
1383
|
+
// An empty draft with `rootNodeTypeKey: null` is still a valid loaded state,
|
|
1384
|
+
// for example after deleting the region root layout or after loading a
|
|
1385
|
+
// persisted empty shell region from the server.
|
|
1386
|
+
if (regionDraft != null) {
|
|
1387
|
+
return;
|
|
1388
|
+
}
|
|
1389
|
+
setPhiDeveloperRegionDraft(draftKey, nextDraft);
|
|
1390
|
+
}, [builderState.area, builderState.pageKey, config.regionKey, draftKey, regionDraft, slotKind, structureDraftsByArea]);
|
|
1391
|
+
useEffect(() => {
|
|
1392
|
+
if (slotKind === "structure") {
|
|
1393
|
+
return;
|
|
1394
|
+
}
|
|
1395
|
+
if (!fallbackPageDraft || fallbackPageDraft.rootNodeTypeKey == null) {
|
|
1396
|
+
return;
|
|
1397
|
+
}
|
|
1398
|
+
// Seed the page workspace exactly once per draft key.
|
|
1399
|
+
// An empty draft with `rootNodeTypeKey: null` is still a valid loaded state,
|
|
1400
|
+
// for example after deleting the page root layout or after loading a
|
|
1401
|
+
// persisted empty page region from the server.
|
|
1402
|
+
if (regionDraft != null) {
|
|
1403
|
+
return;
|
|
1404
|
+
}
|
|
1405
|
+
setPhiDeveloperRegionDraft(draftKey, fallbackPageDraft);
|
|
1406
|
+
}, [
|
|
1407
|
+
builderState.area,
|
|
1408
|
+
builderState.pageKey,
|
|
1409
|
+
config.regionKey,
|
|
1410
|
+
draftKey,
|
|
1411
|
+
fallbackPageDraft,
|
|
1412
|
+
regionDraft,
|
|
1413
|
+
slotKind,
|
|
1414
|
+
]);
|
|
1415
|
+
function selectRegion() {
|
|
1416
|
+
if (!config.allowSelect || isPreviewMode) {
|
|
1417
|
+
return;
|
|
1418
|
+
}
|
|
1419
|
+
selectPhiDeveloperBuilderNode("public", {
|
|
1420
|
+
area: builderState.area,
|
|
1421
|
+
pageKey: builderState.pageKey,
|
|
1422
|
+
nodeKind: "region",
|
|
1423
|
+
nodeKey: `region:${config.regionKey}`,
|
|
1424
|
+
regionKey: config.regionKey,
|
|
1425
|
+
regionType: resolvePhiCmsRegionType(config.regionKey),
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
function openSlot(options) {
|
|
1429
|
+
if (!config.allowInsert || isPreviewMode) {
|
|
1430
|
+
return;
|
|
1431
|
+
}
|
|
1432
|
+
const nextSlotIndex = typeof options?.slotIndex === "number" ? options.slotIndex : null;
|
|
1433
|
+
const nextTargetNodeId = readPhiCmsInstanceId(options?.targetNodeId);
|
|
1434
|
+
if (isPicking
|
|
1435
|
+
&& slotPickerContext?.slotIndex === nextSlotIndex
|
|
1436
|
+
&& slotPickerContext.targetNodeId === nextTargetNodeId) {
|
|
1437
|
+
closePicker();
|
|
1438
|
+
return;
|
|
1439
|
+
}
|
|
1440
|
+
const targetDepth = nextTargetNodeId == null
|
|
1441
|
+
? 0
|
|
1442
|
+
: resolvePhiCmsRenderLayoutNodeDepth(rootNodeChildLayouts, nextTargetNodeId) ?? 0;
|
|
1443
|
+
const nextAllowLayoutSection = targetDepth < PHI_CMS_MAX_LAYOUT_SUBLAYOUT_DEPTH;
|
|
1444
|
+
const requestedDefaultPickSection = options?.defaultPickSection ?? "layout";
|
|
1445
|
+
const nextDefaultPickSection = nextAllowLayoutSection ? requestedDefaultPickSection : "widget";
|
|
1446
|
+
const nextAllowWidgetSection = options?.allowWidgetSection ?? false;
|
|
1447
|
+
const nextSlotPickerContext = {
|
|
1448
|
+
defaultPickSection: nextDefaultPickSection,
|
|
1449
|
+
allowLayoutSection: nextAllowLayoutSection,
|
|
1450
|
+
allowWidgetSection: nextAllowWidgetSection,
|
|
1451
|
+
slotIndex: nextSlotIndex,
|
|
1452
|
+
targetNodeId: nextTargetNodeId,
|
|
1453
|
+
};
|
|
1454
|
+
setSlotPickerContext(nextSlotPickerContext);
|
|
1455
|
+
setPickSection(nextDefaultPickSection);
|
|
1456
|
+
setIsPicking(true);
|
|
1457
|
+
selectPhiDeveloperBuilderNode("public", {
|
|
1458
|
+
area: builderState.area,
|
|
1459
|
+
pageKey: builderState.pageKey,
|
|
1460
|
+
regionKey: config.regionKey,
|
|
1461
|
+
nodeKey: `slot:${config.regionKey}`,
|
|
1462
|
+
nodeKind: "slot",
|
|
1463
|
+
regionType: resolvePhiCmsRegionType(config.regionKey),
|
|
1464
|
+
});
|
|
1465
|
+
}
|
|
1466
|
+
function closePicker() {
|
|
1467
|
+
setIsPicking(false);
|
|
1468
|
+
setSlotPickerContext(null);
|
|
1469
|
+
}
|
|
1470
|
+
function renderInsertPicker({ trigger, slotIndex, targetNodeId, }) {
|
|
1471
|
+
const isActiveTarget = isPicking
|
|
1472
|
+
&& slotPickerContext?.slotIndex === slotIndex
|
|
1473
|
+
&& slotPickerContext.targetNodeId === targetNodeId;
|
|
1474
|
+
return (_jsx(PhiBuilderInsertPickerControl, { open: isActiveTarget, trigger: trigger, items: availablePickItems, section: pickSection, packageFilters: pickPackageFilters, widgetCategoryFilters: widgetCategoryFilters, allowLayoutSection: slotPickerContext?.allowLayoutSection ?? true, allowWidgetSection: slotPickerContext?.allowWidgetSection ?? false, placement: pickerPlacement, labels: pickerLabels, onOpenChange: (nextOpen) => {
|
|
1475
|
+
if (!nextOpen && isActiveTarget)
|
|
1476
|
+
closePicker();
|
|
1477
|
+
}, onSectionChange: setPickSection, onPackageFiltersChange: setPickPackageFilters, onWidgetCategoryFiltersChange: (filters) => {
|
|
1478
|
+
patchPhiDeveloperBuilderState("public", { pickerWidgetCategoryFilters: filters });
|
|
1479
|
+
}, onChange: (item) => void insertPickedItem(item) }, `insert-picker:${targetNodeId}:${slotIndex}`));
|
|
1480
|
+
}
|
|
1481
|
+
function renderRegionPicker(trigger) {
|
|
1482
|
+
if (hasRootNode)
|
|
1483
|
+
return trigger;
|
|
1484
|
+
const isActiveTarget = isPicking
|
|
1485
|
+
&& slotPickerContext?.slotIndex == null
|
|
1486
|
+
&& slotPickerContext?.targetNodeId == null;
|
|
1487
|
+
return (_jsx(PhiBuilderInsertPickerControl, { open: isActiveTarget, trigger: trigger, items: availablePickItems, section: pickSection, packageFilters: pickPackageFilters, widgetCategoryFilters: widgetCategoryFilters, allowLayoutSection: slotPickerContext?.allowLayoutSection ?? true, allowWidgetSection: slotPickerContext?.allowWidgetSection ?? false, placement: pickerPlacement, labels: pickerLabels, onOpenChange: (nextOpen) => {
|
|
1488
|
+
if (!nextOpen && isActiveTarget)
|
|
1489
|
+
closePicker();
|
|
1490
|
+
}, onSectionChange: setPickSection, onPackageFiltersChange: setPickPackageFilters, onWidgetCategoryFiltersChange: (filters) => {
|
|
1491
|
+
patchPhiDeveloperBuilderState("public", { pickerWidgetCategoryFilters: filters });
|
|
1492
|
+
}, onChange: (item) => void insertPickedItem(item) }, `insert-picker:region:${config.regionKey}`));
|
|
1493
|
+
}
|
|
1494
|
+
function updateDraft(nextDraft) {
|
|
1495
|
+
const baseDraft = effectiveDraft ?? getDefaultRegionDraft(config.regionKey);
|
|
1496
|
+
setPhiDeveloperRegionDraft(draftKey, {
|
|
1497
|
+
...baseDraft,
|
|
1498
|
+
...nextDraft,
|
|
1499
|
+
}, {
|
|
1500
|
+
historyContext,
|
|
1501
|
+
historyLabel: "Update structure",
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
1504
|
+
function updateDraftAndPruneSignalRoutes(nextDraft, addresses) {
|
|
1505
|
+
const baseDraft = effectiveDraft ?? getDefaultRegionDraft(config.regionKey);
|
|
1506
|
+
const routeScope = isPhiBuilderPageScopedRegion(config.regionKey) ? "page" : "area";
|
|
1507
|
+
setPhiDeveloperRegionDraftAndPruneSignalRoutes({
|
|
1508
|
+
draftKey,
|
|
1509
|
+
draft: {
|
|
1510
|
+
...baseDraft,
|
|
1511
|
+
...nextDraft,
|
|
1512
|
+
},
|
|
1513
|
+
area: builderState.area,
|
|
1514
|
+
pageKey: builderState.pageKey,
|
|
1515
|
+
targets: addresses.map((address) => ({ address, scope: routeScope })),
|
|
1516
|
+
historyContext,
|
|
1517
|
+
historyLabel: "Update structure",
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
if (isPreviewMode) {
|
|
1521
|
+
if (!hasRootNode) {
|
|
1522
|
+
return null;
|
|
1523
|
+
}
|
|
1524
|
+
const previewRoot = hasRootNode ? serverPreview ?? null : null;
|
|
1525
|
+
const previewSlotHeight = shouldUseFallbackBodyHeightForRoot
|
|
1526
|
+
? slotHeight ?? slotBodyFallbackHeight
|
|
1527
|
+
: slotHeight;
|
|
1528
|
+
const previewRootBodyHeight = shouldUseFallbackBodyHeightForRoot
|
|
1529
|
+
? resolvedRootBodyHeight
|
|
1530
|
+
: shouldStretchAvailableHeight
|
|
1531
|
+
? "100%"
|
|
1532
|
+
: undefined;
|
|
1533
|
+
return (_jsx("div", { "data-phi-region-slot": config.regionKey, className: "phi-builder-structure-region__slot", "data-phi-builder-region-mode": "preview", "data-phi-builder-region-has-root-node": hasRootNode ? "true" : "false", "data-phi-builder-region-selected": "false", "data-phi-builder-region-picking": "false", style: {
|
|
1534
|
+
width: slotWidth,
|
|
1535
|
+
minWidth: slotMinWidth,
|
|
1536
|
+
maxWidth: slotMaxWidth,
|
|
1537
|
+
height: previewSlotHeight,
|
|
1538
|
+
minHeight: slotMinHeight,
|
|
1539
|
+
maxHeight: slotMaxHeight,
|
|
1540
|
+
marginTop: resolvePhiCssLength(offsetTop),
|
|
1541
|
+
...slotCentreStyle,
|
|
1542
|
+
...slotBackgroundStyle,
|
|
1543
|
+
...slotBorderStyle,
|
|
1544
|
+
boxShadow: combinePhiBoxShadows(slotBackgroundStyle.boxShadow, resolvePhiShadow(effectiveDraft?.shadow)),
|
|
1545
|
+
zIndex: resolvedRegionZIndex,
|
|
1546
|
+
position: resolvedRegionZIndex != null ? "relative" : undefined,
|
|
1547
|
+
flex: shouldStretchAvailableHeight ? "1 1 auto" : undefined,
|
|
1548
|
+
...(resolvedRegionTypography.fontSize ? { fontSize: resolvedRegionTypography.fontSize } : {}),
|
|
1549
|
+
...(resolvedRegionTypography.lineHeight ? { lineHeight: resolvedRegionTypography.lineHeight } : {}),
|
|
1550
|
+
}, children: _jsx("div", { "data-phi-debug-scaffold": resolvedDebugScaffold, style: {
|
|
1551
|
+
flex: "1 1 auto",
|
|
1552
|
+
height: previewRootBodyHeight,
|
|
1553
|
+
minHeight: shouldStretchAvailableHeight ? 0 : slotBodyMinHeight,
|
|
1554
|
+
display: "flex",
|
|
1555
|
+
flexDirection: "column",
|
|
1556
|
+
justifyContent: "stretch",
|
|
1557
|
+
alignItems: "stretch",
|
|
1558
|
+
minWidth: 0,
|
|
1559
|
+
}, children: previewRoot }) }));
|
|
1560
|
+
}
|
|
1561
|
+
return (_jsxs("div", { className: [
|
|
1562
|
+
"phi-builder-structure-region",
|
|
1563
|
+
shouldFillAvailableHeight ? "phi-builder-structure-region--full-height" : null,
|
|
1564
|
+
!shouldFillAvailableHeight ? "phi-builder-structure-region--compact" : null,
|
|
1565
|
+
containerClassName,
|
|
1566
|
+
].filter(Boolean).join(" "), "data-phi-builder-region-mode": isPreviewMode ? "preview" : "editor", "data-phi-builder-region-has-root-node": hasRootNode ? "true" : "false", "data-phi-builder-region-selected": isSelected ? "true" : "false", "data-phi-builder-region-picking": isPicking ? "true" : "false", role: config.allowSelect && !isPreviewMode ? "button" : undefined, tabIndex: config.allowSelect && !isPreviewMode ? 0 : undefined, style: {
|
|
1567
|
+
border: `1px dashed ${token.colorBorderSecondary}`,
|
|
1568
|
+
// The area a Region lives in: a faint layout tint so the Theme Root Background stays visible.
|
|
1569
|
+
backgroundColor: `color-mix(in srgb, ${token.colorBgLayout} 20%, transparent)`,
|
|
1570
|
+
boxShadow: `inset 0 0 0 1px ${token.colorBorderSecondary}`,
|
|
1571
|
+
width: outerWidth,
|
|
1572
|
+
minWidth: outerMinWidth,
|
|
1573
|
+
maxWidth: outerMaxWidth,
|
|
1574
|
+
...(shouldFillAvailableHeight
|
|
1575
|
+
? {
|
|
1576
|
+
height: "100%",
|
|
1577
|
+
minHeight: "100%",
|
|
1578
|
+
flex: "1 1 auto",
|
|
1579
|
+
}
|
|
1580
|
+
: {}),
|
|
1581
|
+
...(shouldStretchAvailableHeight && !shouldFillAvailableHeight
|
|
1582
|
+
? {
|
|
1583
|
+
flex: "1 1 auto",
|
|
1584
|
+
minHeight: 0,
|
|
1585
|
+
}
|
|
1586
|
+
: {}),
|
|
1587
|
+
...containerStyle,
|
|
1588
|
+
}, onClick: isPreviewMode ? undefined : selectRegion, onKeyDown: (event) => {
|
|
1589
|
+
if (!config.allowSelect || isPreviewMode) {
|
|
1590
|
+
return;
|
|
1591
|
+
}
|
|
1592
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
1593
|
+
event.preventDefault();
|
|
1594
|
+
selectRegion();
|
|
1595
|
+
}
|
|
1596
|
+
}, children: [isPreviewMode ? null : (_jsxs(Space, { orientation: "vertical", size: 0, style: { minWidth: 0, width: "100%" }, children: [_jsxs(Flex, { align: "center", gap: 6, wrap: false, style: { minWidth: 0, width: "100%", whiteSpace: "nowrap" }, children: [_jsx(Typography.Text, { strong: true, style: { minWidth: 0, whiteSpace: "nowrap" }, children: config.title }), _jsxs(Typography.Text, { type: "secondary", style: { minWidth: 0, whiteSpace: "nowrap" }, children: ["\u00B7 ", config.regionKey] })] }), config.subtitle ? (_jsx(Typography.Text, { type: "secondary", style: { display: "block", whiteSpace: "normal", overflowWrap: "anywhere" }, children: config.subtitle })) : null] })), renderRegionPicker(_jsx("div", { ref: setRootDropNodeRef, "data-phi-region-slot": config.regionKey, className: "phi-builder-structure-region__slot", "data-phi-builder-region-mode": "editor", "data-phi-structure-drop-state": rootDropAccepted
|
|
1597
|
+
? "accepted"
|
|
1598
|
+
: rootDropIsOver
|
|
1599
|
+
? "rejected"
|
|
1600
|
+
: undefined, "data-phi-builder-region-has-root-node": hasRootNode ? "true" : "false", "data-phi-builder-region-selected": isSelected ? "true" : "false", "data-phi-builder-region-picking": isPicking ? "true" : "false", role: config.allowInsert && !hasRootNode ? "button" : undefined, tabIndex: config.allowInsert && !hasRootNode ? 0 : undefined, style: {
|
|
1601
|
+
border: isPicking
|
|
1602
|
+
? `1px dashed ${token.colorPrimary}`
|
|
1603
|
+
: `1px dashed ${token.colorBorderSecondary}`,
|
|
1604
|
+
...(hasAuthoredGround
|
|
1605
|
+
? {}
|
|
1606
|
+
: {
|
|
1607
|
+
backgroundColor: isSelected
|
|
1608
|
+
? token.colorFillQuaternary
|
|
1609
|
+
: `color-mix(in srgb, ${token.colorBgContainer} 50%, transparent)`,
|
|
1610
|
+
}),
|
|
1611
|
+
boxShadow: combinePhiBoxShadows(slotBackgroundStyle.boxShadow, resolvePhiShadow(effectiveDraft?.shadow) ??
|
|
1612
|
+
`inset 0 0 0 1px ${isPicking || isSelected ? token.colorPrimary : token.colorBorderSecondary}`),
|
|
1613
|
+
width: slotWidth,
|
|
1614
|
+
minWidth: slotMinWidth,
|
|
1615
|
+
maxWidth: slotMaxWidth,
|
|
1616
|
+
height: slotHeight,
|
|
1617
|
+
minHeight: slotMinHeight,
|
|
1618
|
+
maxHeight: slotMaxHeight,
|
|
1619
|
+
marginTop: resolvePhiCssLength(offsetTop),
|
|
1620
|
+
...slotCentreStyle,
|
|
1621
|
+
...slotBackgroundStyle,
|
|
1622
|
+
...slotBorderStyle,
|
|
1623
|
+
zIndex: resolvedRegionZIndex,
|
|
1624
|
+
position: resolvedRegionZIndex != null ? "relative" : undefined,
|
|
1625
|
+
flex: shouldStretchAvailableHeight ? "1 1 auto" : undefined,
|
|
1626
|
+
...(resolvedRegionTypography.fontSize ? { fontSize: resolvedRegionTypography.fontSize } : {}),
|
|
1627
|
+
...(resolvedRegionTypography.lineHeight ? { lineHeight: resolvedRegionTypography.lineHeight } : {}),
|
|
1628
|
+
}, onClick: (event) => {
|
|
1629
|
+
event.stopPropagation();
|
|
1630
|
+
if (hasRootNode) {
|
|
1631
|
+
const target = event.target;
|
|
1632
|
+
if (target instanceof Element &&
|
|
1633
|
+
target.closest(".phi-builder-root-scaffold")) {
|
|
1634
|
+
return;
|
|
1635
|
+
}
|
|
1636
|
+
selectRegion();
|
|
1637
|
+
return;
|
|
1638
|
+
}
|
|
1639
|
+
openSlot();
|
|
1640
|
+
}, onKeyDown: (event) => {
|
|
1641
|
+
if (!config.allowInsert || hasRootNode) {
|
|
1642
|
+
return;
|
|
1643
|
+
}
|
|
1644
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
1645
|
+
event.preventDefault();
|
|
1646
|
+
openSlot();
|
|
1647
|
+
}
|
|
1648
|
+
}, children: _jsx("div", { "data-phi-debug-scaffold": resolvedDebugScaffold, style: {
|
|
1649
|
+
flex: "1 1 auto",
|
|
1650
|
+
minHeight: shouldStretchAvailableHeight ? 0 : slotBodyMinHeight,
|
|
1651
|
+
height: resolvedRootBodyHeight,
|
|
1652
|
+
boxSizing: "border-box",
|
|
1653
|
+
display: "flex",
|
|
1654
|
+
flexDirection: "column",
|
|
1655
|
+
justifyContent: hasRootNode ? "stretch" : "center",
|
|
1656
|
+
alignItems: hasRootNode ? "stretch" : "center",
|
|
1657
|
+
...regionPaddingStyle,
|
|
1658
|
+
gap: 0,
|
|
1659
|
+
minWidth: 0,
|
|
1660
|
+
}, children: hasRootNode ? (rootNodeScaffold ? (rootNodeScaffold) : null) : (_jsx("span", { "aria-hidden": true, style: {
|
|
1661
|
+
width: pickerActionIconFrameSize,
|
|
1662
|
+
height: pickerActionIconFrameSize,
|
|
1663
|
+
lineHeight: 1,
|
|
1664
|
+
display: "inline-flex",
|
|
1665
|
+
alignItems: "center",
|
|
1666
|
+
justifyContent: "center",
|
|
1667
|
+
fontSize: pickerActionIconSize,
|
|
1668
|
+
color: isPicking ? token.colorPrimary : token.colorTextSecondary,
|
|
1669
|
+
}, children: _jsx(PlusOutlined, {}) })) }) }))] }));
|
|
1670
|
+
}
|
|
1671
|
+
export function PhiStructureRegionWidget(props) {
|
|
1672
|
+
return _jsx(PhiStructureRegionScaffold, { ...props });
|
|
1673
|
+
}
|