@phis/ui 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -2009
- package/cms/plugins.d.ts +1 -2
- package/cms/plugins.js +0 -1
- package/cms.d.ts +2 -2
- package/cms.js +2 -2
- package/components/account/avatar-client.js +12 -17
- package/components/calendar/gregory-calendar-adapter-client.js +15 -13
- package/components/cms/clients/phi-cms-node-visibility-gate.d.ts +19 -0
- package/components/cms/clients/phi-cms-node-visibility-gate.js +1 -0
- package/components/cms/phi-cms-area-access-guard.d.ts +21 -0
- package/components/cms/phi-cms-area-access-guard.js +48 -0
- package/components/cms/phi-cms-area-render-scope.d.ts +6 -65
- package/components/cms/phi-cms-area-render-scope.js +8 -7
- package/components/cms/phi-cms-error-page.d.ts +1 -1
- package/components/cms/phi-cms-error-page.js +14 -12
- package/components/cms/phi-cms-layout-renderer.d.ts +54 -2
- package/components/cms/phi-cms-layout-renderer.js +179 -74
- package/components/cms/phi-cms-page-redirect.js +10 -5
- package/components/cms/phi-cms-page-renderer.js +2 -1
- package/components/cms/phi-cms-render-diagnostic-client.js +3 -3
- package/components/cms/phi-cms-root-layout.js +52 -25
- package/components/cms/phi-cms-root-page.js +30 -30
- package/components/cms/phi-cms-root-slot-page.js +16 -19
- package/components/cms/phi-cms-runtime-registry.d.ts +20 -2
- package/components/cms/phi-cms-runtime-registry.js +12 -0
- package/components/cms/phi-hard-forward.d.ts +21 -0
- package/components/cms/phi-hard-forward.js +26 -0
- package/components/controls/phi-accordion-control.d.ts +30 -0
- package/components/controls/phi-accordion-control.js +17 -0
- package/components/controls/phi-alert-control.d.ts +1 -1
- package/components/controls/phi-alert-control.js +12 -2
- package/components/controls/phi-avatar-control.d.ts +31 -0
- package/components/controls/phi-avatar-control.js +26 -0
- package/components/controls/phi-background-control.js +15 -9
- package/components/controls/phi-border-control.js +3 -2
- package/components/controls/phi-brand-control.d.ts +39 -8
- package/components/controls/phi-brand-control.js +71 -15
- package/components/controls/phi-builder-insert-picker-control-labels.d.ts +2 -0
- package/components/controls/phi-builder-insert-picker-control-labels.js +1 -0
- package/components/controls/phi-builder-insert-picker-control.js +97 -35
- package/components/controls/phi-button-control.d.ts +19 -2
- package/components/controls/phi-button-control.js +38 -7
- package/components/controls/phi-card-control.d.ts +61 -0
- package/components/controls/phi-card-control.js +12 -0
- package/components/controls/phi-checkbox-group-control.js +4 -7
- package/components/controls/phi-collection-header-control.js +3 -9
- package/components/controls/phi-collection-view-control.d.ts +1 -0
- package/components/controls/phi-collection-view-control.js +3 -3
- package/components/controls/phi-color-control.js +29 -13
- package/components/controls/phi-color-field-control.d.ts +38 -0
- package/components/controls/phi-color-field-control.js +32 -0
- package/components/controls/phi-compact-group-control.d.ts +38 -0
- package/components/controls/phi-compact-group-control.js +6 -0
- package/components/controls/phi-confirm-control.js +2 -14
- package/components/controls/phi-confirm-dialog.d.ts +32 -0
- package/components/controls/phi-confirm-dialog.js +79 -0
- package/components/controls/phi-control-option-content.d.ts +16 -1
- package/components/controls/phi-control-option-content.js +26 -10
- package/components/controls/phi-control-options.d.ts +1 -69
- package/components/controls/phi-control-options.js +6 -112
- package/components/controls/phi-description-list-control.d.ts +43 -0
- package/components/controls/phi-description-list-control.js +28 -0
- package/components/controls/phi-description-tooltip-icon.d.ts +11 -2
- package/components/controls/phi-description-tooltip-icon.js +15 -2
- package/components/controls/phi-dialog-control.d.ts +76 -0
- package/components/controls/phi-dialog-control.js +15 -0
- package/components/controls/phi-dimension-control.js +7 -1
- package/components/controls/phi-divider-control.d.ts +14 -0
- package/components/controls/phi-divider-control.js +6 -0
- package/components/controls/phi-drawer-control-adapter.d.ts +2 -0
- package/components/controls/phi-drawer-control-adapter.js +75 -0
- package/components/controls/phi-drawer-control.d.ts +9 -2
- package/components/controls/phi-drawer-control.js +18 -54
- package/components/controls/phi-dropdown-control.js +3 -4
- package/components/controls/phi-empty-control.d.ts +28 -0
- package/components/controls/phi-empty-control.js +6 -0
- package/components/controls/phi-entry-list-control.d.ts +46 -0
- package/components/controls/phi-entry-list-control.js +17 -0
- package/components/controls/phi-expand-indicator.js +1 -2
- package/components/controls/phi-file-drop-control.d.ts +41 -0
- package/components/controls/phi-file-drop-control.js +10 -0
- package/components/controls/phi-flex-control.d.ts +20 -0
- package/components/controls/phi-flex-control.js +6 -0
- package/components/controls/phi-form-control.d.ts +5 -0
- package/components/controls/phi-form-control.js +120 -31
- package/components/controls/phi-geometry-control.js +35 -22
- package/components/controls/phi-hover-text.d.ts +12 -0
- package/components/controls/phi-hover-text.js +23 -0
- package/components/controls/phi-icon-picker-control.d.ts +1 -1
- package/components/controls/phi-icon-picker-control.js +17 -5
- package/components/controls/phi-inline-text-editor.d.ts +43 -0
- package/components/controls/phi-inline-text-editor.js +62 -0
- package/components/controls/phi-labeled-control.d.ts +10 -0
- package/components/controls/phi-labeled-control.js +14 -4
- package/components/controls/phi-length-control.js +11 -3
- package/components/controls/phi-mask-picker-control.js +3 -5
- package/components/controls/phi-media-asset-tile-control.d.ts +8 -1
- package/components/controls/phi-media-asset-tile-control.js +16 -17
- package/components/controls/phi-media-picker-control.js +3 -2
- package/components/controls/phi-menu-control.d.ts +15 -1
- package/components/controls/phi-menu-control.js +4 -1
- package/components/controls/phi-modal-control-adapter.d.ts +2 -0
- package/components/controls/phi-modal-control-adapter.js +160 -0
- package/components/controls/phi-modal-control.d.ts +15 -4
- package/components/controls/phi-modal-control.js +22 -128
- package/components/controls/phi-multi-select-control.d.ts +3 -1
- package/components/controls/phi-multi-select-control.js +2 -2
- package/components/controls/phi-name-control.d.ts +33 -0
- package/components/controls/phi-name-control.js +6 -0
- package/components/controls/phi-number-control.d.ts +3 -1
- package/components/controls/phi-number-control.js +8 -2
- package/components/controls/phi-overlay-control-contract.d.ts +36 -1
- package/components/controls/phi-overlay-control-contract.js +50 -0
- package/components/controls/phi-padding-control.js +20 -9
- package/components/controls/phi-pagination-control.d.ts +8 -1
- package/components/controls/phi-pagination-control.js +2 -2
- package/components/controls/phi-picker-control-contract.d.ts +2 -0
- package/components/controls/phi-picker-control-contract.js +3 -2
- package/components/controls/phi-preset-size-control.js +2 -2
- package/components/controls/phi-progress-control.d.ts +15 -0
- package/components/controls/phi-progress-control.js +6 -0
- package/components/controls/phi-qr-code-control.d.ts +13 -0
- package/components/controls/phi-qr-code-control.js +6 -0
- package/components/controls/phi-radio-group-control.js +4 -7
- package/components/controls/phi-select-control.d.ts +3 -1
- package/components/controls/phi-select-control.js +2 -2
- package/components/controls/phi-skeleton-control.d.ts +52 -0
- package/components/controls/phi-skeleton-control.js +44 -0
- package/components/controls/phi-spin-control.d.ts +18 -0
- package/components/controls/phi-spin-control.js +6 -0
- package/components/controls/phi-statistic-control.d.ts +14 -0
- package/components/controls/phi-statistic-control.js +6 -0
- package/components/controls/phi-switch-control.d.ts +7 -3
- package/components/controls/phi-switch-control.js +2 -2
- package/components/controls/phi-table-control.d.ts +7 -1
- package/components/controls/phi-table-control.js +90 -33
- package/components/controls/phi-tag-control.d.ts +19 -1
- package/components/controls/phi-tag-control.js +5 -2
- package/components/controls/phi-text-control.d.ts +5 -1
- package/components/controls/phi-text-control.js +4 -3
- package/components/controls/phi-toolbar-control.js +12 -3
- package/components/controls/phi-tree-control.js +10 -7
- package/components/controls/phi-tree-select-control.d.ts +56 -0
- package/components/controls/phi-tree-select-control.js +69 -0
- package/components/controls/phi-typography-control-adapter.d.ts +2 -0
- package/components/controls/phi-typography-control-adapter.js +40 -0
- package/components/controls/phi-typography-control.d.ts +33 -0
- package/components/controls/phi-typography-control.js +56 -0
- package/components/controls/phi-video-embed-control.d.ts +50 -0
- package/components/controls/phi-video-embed-control.js +87 -0
- package/components/forms/auth-admin-settings-labels.d.ts +8 -3
- package/components/forms/auth-admin-settings-labels.js +16 -4
- package/components/forms/choice-form-field-controls.d.ts +5 -0
- package/components/forms/choice-form-field-controls.js +15 -0
- package/components/forms/compound-form-controls.js +1 -5
- package/components/forms/datetime-form-control.js +2 -1
- package/components/forms/extended-form-field-controls.d.ts +2 -0
- package/components/forms/extended-form-field-controls.js +19 -1
- package/components/forms/form-descriptor-contract.d.ts +65 -320
- package/components/forms/form-descriptor-contract.js +82 -435
- package/components/forms/form-descriptor-runtime-client.d.ts +1 -1
- package/components/forms/form-descriptor-runtime-client.js +175 -90
- package/components/forms/form-guard-client.d.ts +3 -3
- package/components/forms/form-guard-client.js +7 -5
- package/components/forms/form-provider-contract.d.ts +71 -625
- package/components/forms/form-provider-contract.js +105 -70
- package/components/forms/form-provider-registry.d.ts +7 -2
- package/components/forms/form-registry.d.ts +36 -22
- package/components/forms/form-registry.js +39 -1
- package/components/forms/form-relay-area.d.ts +14 -0
- package/components/forms/form-relay-area.js +24 -0
- package/components/forms/form-resolution.js +2 -4
- package/components/forms/form-widget-config.d.ts +57 -0
- package/components/forms/form-widget-config.js +122 -0
- package/components/forms/phi-form-widget-frame.d.ts +51 -13
- package/components/forms/phi-form-widget-frame.js +90 -16
- package/components/forms/phi-form-widget.d.ts +15 -0
- package/components/forms/phi-form-widget.js +95 -0
- package/components/forms/runtime-form-client.js +4 -6
- package/components/forms/runtime-form-controller-definition.d.ts +1 -1
- package/components/forms/runtime-form-controller-mount.js +30 -15
- package/components/forms/runtime-form-controller-plugin.d.ts +1 -1
- package/components/forms/runtime-form-controller-requirement.d.ts +1 -1
- package/components/forms/runtime-form-state.js +5 -7
- package/components/forms/shared-form-descriptors.d.ts +175 -0
- package/components/forms/shared-form-descriptors.js +158 -0
- package/components/forms/shared-form-ids.d.ts +18 -0
- package/components/forms/shared-form-ids.js +18 -0
- package/components/forms/shared-form-loaders.d.ts +20 -0
- package/components/forms/shared-form-loaders.js +31 -0
- package/components/forms/shared-form-provider-registry.js +134 -117
- package/components/forms/site-locales-config.d.ts +18 -0
- package/components/forms/site-locales-config.js +35 -0
- package/components/forms/storage-size.d.ts +36 -0
- package/components/forms/storage-size.js +46 -0
- package/components/forms/upload-form-control.d.ts +24 -0
- package/components/forms/upload-form-control.js +126 -0
- package/components/layouts/clients/phi-base-layout-client.d.ts +3 -12
- package/components/layouts/clients/phi-base-layout-client.js +5 -165
- package/components/layouts/clients/phi-carousel-layout-client.d.ts +1 -2
- package/components/layouts/clients/phi-carousel-layout-client.js +28 -23
- package/components/layouts/clients/phi-collapsible-layout-client.d.ts +0 -3
- package/components/layouts/clients/phi-collapsible-layout-client.js +125 -49
- package/components/layouts/clients/phi-content-layout-client.d.ts +7 -5
- package/components/layouts/clients/phi-content-layout-client.js +3 -4
- package/components/layouts/clients/phi-flex-layout-client.js +21 -7
- package/components/layouts/clients/phi-flex-vertical-layout-client.js +23 -6
- package/components/layouts/clients/phi-grid-layout-client.js +112 -115
- package/components/layouts/clients/phi-layout-anchored-overlay.d.ts +16 -0
- package/components/layouts/clients/phi-layout-anchored-overlay.js +29 -24
- package/components/layouts/clients/phi-sequence-slot-editor.d.ts +15 -3
- package/components/layouts/clients/phi-sequence-slot-editor.js +7 -20
- package/components/layouts/clients/phi-split-card-layout-client.d.ts +1 -1
- package/components/layouts/clients/phi-split-card-layout-client.js +25 -13
- package/components/layouts/clients/phi-stack-layout-client.d.ts +2 -2
- package/components/layouts/clients/phi-stack-layout-client.js +72 -26
- package/components/layouts/clients/phi-three-column-layout-client.d.ts +6 -4
- package/components/layouts/clients/phi-three-column-layout-client.js +40 -26
- package/components/layouts/layout-definitions.d.ts +184 -40
- package/components/layouts/layout-definitions.js +148 -28
- package/components/layouts/phi-base-layout.d.ts +1 -1
- package/components/layouts/phi-base-layout.js +12 -39
- package/components/layouts/phi-carousel-layout.js +1 -1
- package/components/layouts/phi-carousel-pages.d.ts +28 -0
- package/components/layouts/phi-carousel-pages.js +53 -0
- package/components/layouts/phi-collapsible-layout.js +1 -1
- package/components/layouts/phi-grid-contract.d.ts +83 -1
- package/components/layouts/phi-grid-contract.js +138 -10
- package/components/layouts/phi-grid-layout.js +1 -1
- package/components/layouts/phi-layout-contract.d.ts +156 -18
- package/components/layouts/phi-layout-contract.js +305 -51
- package/components/layouts/phi-layout-slot-state.d.ts +0 -1
- package/components/layouts/phi-layout-slot-state.js +0 -8
- package/components/layouts/phi-layout-view-model.d.ts +1 -1
- package/components/layouts/phi-layout-view-model.js +2 -1
- package/components/layouts/phi-masonry-layout.js +44 -9
- package/components/layouts/phi-stack-layout.js +1 -1
- package/components/layouts/phi-structure-region-layout.js +4 -3
- package/components/layouts/plugins/carousel-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/carousel-layout-plugin.js +3 -4
- package/components/layouts/plugins/collapsible-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/collapsible-layout-plugin.js +3 -4
- package/components/layouts/plugins/content-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/content-layout-plugin.js +3 -3
- package/components/layouts/plugins/flex-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/flex-layout-plugin.js +3 -4
- package/components/layouts/plugins/flex-vertical-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/flex-vertical-layout-plugin.js +3 -4
- package/components/layouts/plugins/grid-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/grid-layout-plugin.js +2 -4
- package/components/layouts/plugins/masonry-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/masonry-layout-plugin.js +1 -3
- package/components/layouts/plugins/page-region-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/page-region-layout-plugin.js +0 -2
- package/components/layouts/plugins/split-card-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/split-card-layout-plugin.js +2 -4
- package/components/layouts/plugins/stack-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/stack-layout-plugin.js +3 -4
- package/components/layouts/plugins/structure-region-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/structure-region-layout-plugin.js +0 -2
- package/components/layouts/plugins/three-column-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/three-column-layout-plugin.js +2 -4
- package/components/layouts/stack-signals.d.ts +0 -1
- package/components/layouts/stack-signals.js +0 -1
- package/components/layouts/use-phi-slot-sequence.d.ts +31 -3
- package/components/layouts/use-phi-slot-sequence.js +32 -12
- package/components/media/asset-collection-runtime.d.ts +3 -2
- package/components/media/asset-collection-runtime.js +9 -11
- package/components/media/background-asset-projection.js +3 -5
- package/components/media/label-sets/media.js +2 -0
- package/components/media/media-folder-options.d.ts +18 -0
- package/components/media/media-folder-options.js +76 -0
- package/components/media/media-settings-labels.d.ts +4 -1
- package/components/media/media-settings-labels.js +23 -16
- package/components/media/media-upload-digest.d.ts +38 -0
- package/components/media/media-upload-digest.js +38 -0
- package/components/media/media-upload-flow.d.ts +98 -1
- package/components/media/media-upload-flow.js +301 -8
- package/components/media/media-widget-labels.d.ts +1 -0
- package/components/media/media-widget-labels.js +1 -0
- package/components/media/phi-area-upload-widget.d.ts +1 -1
- package/components/media/phi-area-upload-widget.js +33 -48
- package/components/media/phi-asset-focal-rect-widget.d.ts +2 -2
- package/components/media/phi-asset-focal-rect-widget.js +14 -3
- package/components/media/phi-asset-inspector-section.js +5 -4
- package/components/media/phi-image-inspector-widget.d.ts +1 -1
- package/components/media/phi-image-inspector-widget.js +1 -1
- package/components/media/phi-image-preview-store.d.ts +0 -9
- package/components/media/phi-image-preview-store.js +0 -29
- package/components/media/phi-media-picker-binding.d.ts +1 -1
- package/components/media/phi-media-picker-binding.js +15 -11
- package/components/media/phi-media-picker-server.d.ts +1 -1
- package/components/media/phi-media-picker-widget.d.ts +1 -1
- package/components/media/phi-site-font-assets.js +1 -1
- package/components/media/use-authoring-asset-details.js +5 -8
- package/components/menus/phi-account-menu.d.ts +14 -11
- package/components/menus/phi-account-menu.js +94 -46
- package/components/motion/phi-sequence-viewport.js +11 -0
- package/components/navigation/phi-link.d.ts +11 -1
- package/components/navigation/phi-link.js +2 -2
- package/components/overlays/phi-overlay-container-client.d.ts +10 -7
- package/components/overlays/phi-overlay-container-client.js +113 -38
- package/components/overlays/phi-overlay-zones-loader.d.ts +20 -0
- package/components/overlays/phi-overlay-zones-loader.js +26 -0
- package/components/regions/clients/cms-region-container-client.d.ts +8 -3
- package/components/regions/clients/cms-region-container-client.js +102 -336
- package/components/regions/phi-cms-region-container.js +3 -1
- package/components/regions/phi-cms-region-shell.d.ts +88 -0
- package/components/regions/phi-cms-region-shell.js +300 -0
- package/components/regions/phi-cms-region-static.d.ts +8 -4
- package/components/regions/phi-cms-region-static.js +19 -211
- package/components/regions/presets/navigation-redirect.d.ts +0 -1
- package/components/regions/presets/navigation-redirect.js +5 -22
- package/components/regions/presets/phi-area-root-redirect-tree.d.ts +1 -3
- package/components/regions/presets/phi-area-root-redirect-tree.js +8 -2
- package/components/regions/presets/phi-base-page-layout.js +10 -11
- package/components/regions/presets/phi-header-top-actions-layout.d.ts +17 -0
- package/components/regions/presets/phi-header-top-actions-layout.js +28 -0
- package/components/regions/presets/phi-settings-page-shell-tree.d.ts +97 -15
- package/components/regions/presets/phi-settings-page-shell-tree.js +242 -44
- package/components/root/phi-config-provider.d.ts +9 -2
- package/components/root/phi-config-provider.js +10 -2
- package/components/root/phi-dayjs-locale.d.ts +9 -2
- package/components/root/phi-dayjs-locale.js +20 -4
- package/components/root/phi-intl-locale.d.ts +6 -0
- package/components/root/phi-intl-locale.js +21 -0
- package/components/root/phi-root-background.d.ts +3 -3
- package/components/root/phi-root-background.js +3 -3
- package/components/root/phi-root-layout.d.ts +2 -1
- package/components/root/phi-root-layout.js +12 -3
- package/components/root/phi-root-live-theme-provider.d.ts +8 -3
- package/components/root/phi-root-live-theme-provider.js +75 -9
- package/components/root/phi-root-theme-resolver.d.ts +21 -1
- package/components/root/phi-root-theme-resolver.js +20 -3
- package/components/runtime/application-feedback-host.d.ts +35 -0
- package/components/runtime/application-feedback-host.js +66 -0
- package/components/runtime/core-runtime-application-adapter.d.ts +8 -1
- package/components/runtime/core-runtime-application-adapter.js +97 -26
- package/components/runtime/core-runtime-controller-definition.d.ts +11 -0
- package/components/runtime/core-runtime-controller-definition.js +33 -0
- package/components/runtime/core-runtime-controller-plugin.d.ts +11 -0
- package/components/runtime/phi-password-change-required-modal.d.ts +16 -0
- package/components/runtime/phi-password-change-required-modal.js +34 -0
- package/components/runtime/phi-password-change-required.d.ts +14 -0
- package/components/runtime/phi-password-change-required.js +41 -0
- package/components/runtime/phi-state-machine-binding.d.ts +40 -0
- package/components/runtime/phi-state-machine-binding.js +119 -0
- package/components/runtime/phi-video-consent-store.d.ts +17 -0
- package/components/runtime/phi-video-consent-store.js +54 -0
- package/components/runtime/renderable-block-runtime.d.ts +0 -8
- package/components/runtime/renderable-block-runtime.js +5 -18
- package/components/runtime/renderable-widget-runtime.d.ts +10 -0
- package/components/runtime/renderable-widget-runtime.js +20 -0
- package/components/runtime/runtime-controller-materialization.d.ts +22 -2
- package/components/runtime/runtime-controller-materialization.js +48 -10
- package/components/runtime/runtime-module-authoring-client-manifest.d.ts +5 -5
- package/components/runtime/runtime-module-authoring-client-manifest.js +4 -13
- package/components/runtime/runtime-module-authoring-host.d.ts +1 -6
- package/components/runtime/runtime-module-authoring-host.js +0 -4
- package/components/runtime/runtime-module-calendar-adapter-client-manifest.js +10 -12
- package/components/runtime/runtime-module-client-manifest-context.d.ts +25 -0
- package/components/runtime/runtime-module-client-manifest-context.js +45 -0
- package/components/runtime/runtime-module-context.d.ts +11 -1
- package/components/runtime/runtime-module-context.js +12 -2
- package/components/runtime/runtime-module-controller-client-manifest.d.ts +5 -5
- package/components/runtime/runtime-module-controller-client-manifest.js +4 -13
- package/components/runtime/runtime-module-data-provider-client-manifest.d.ts +2 -2
- package/components/runtime/runtime-module-data-provider-client-manifest.js +7 -22
- package/components/runtime/runtime-module-render-client-manifest.d.ts +11 -2
- package/components/runtime/runtime-module-render-client-manifest.js +17 -20
- package/components/runtime/runtime-module-ui-provider-client-manifest.d.ts +36 -0
- package/components/runtime/runtime-module-ui-provider-client-manifest.js +30 -0
- package/components/runtime/runtime-signal-bus.js +76 -2
- package/components/runtime/runtime-signal-identity.d.ts +11 -1
- package/components/runtime/runtime-signal-identity.js +25 -0
- package/components/runtime/runtime-signal-registry.d.ts +0 -3
- package/components/runtime/runtime-signal-registry.js +1 -15
- package/components/runtime/user-state-client.d.ts +34 -0
- package/components/runtime/user-state-client.js +79 -0
- package/components/shell/phi-antd-icon.d.ts +73 -0
- package/components/shell/phi-antd-icon.js +192 -0
- package/components/shell/phi-asset-icon.d.ts +5 -0
- package/components/shell/phi-asset-icon.js +18 -0
- package/components/shell/phi-avatar.d.ts +1 -15
- package/components/shell/phi-avatar.js +4 -26
- package/components/shell/phi-builder-icon.d.ts +1 -1
- package/components/shell/phi-builder-icon.js +19 -2
- package/components/shell/phi-builder-motif-icon.js +1 -0
- package/components/shell/phi-icon.js +11 -43
- package/components/shell/phi-locale-switch.js +6 -1
- package/components/shell/phi-widget-icon.js +2 -1
- package/components/shell/shell-types.d.ts +25 -15
- package/components/shell/shell-types.js +1 -68
- package/components/state/history-store.d.ts +2 -0
- package/components/state/history-store.js +13 -0
- package/components/state/scoped-state-store.js +12 -5
- package/components/tables/client/phi-table-binding.d.ts +3 -2
- package/components/tables/phi-plain-table.js +1 -2
- package/components/trees/client/phi-tree-binding.js +8 -5
- package/components/widgets/accessible-areas.d.ts +42 -0
- package/components/widgets/accessible-areas.js +49 -0
- package/components/widgets/builder/phi-static-options-picker.js +24 -17
- package/components/widgets/builder/stack-tabs.d.ts +1 -2
- package/components/widgets/builder/stack-tabs.js +1 -2
- package/components/widgets/built-in/widget-preview-client.js +9 -5
- package/components/widgets/client/auth-workflow-body.d.ts +19 -3
- package/components/widgets/client/auth-workflow-body.js +24 -43
- package/components/widgets/client/description-editor-sections.d.ts +28 -0
- package/components/widgets/client/description-editor-sections.js +7 -0
- package/components/widgets/client/external-document-editor.js +3 -2
- package/components/widgets/client/html-editor-image-node.js +51 -17
- package/components/widgets/client/search.js +11 -59
- package/components/widgets/client/shared/core-options-providers.d.ts +3 -0
- package/components/widgets/client/shared/core-options-providers.js +20 -1
- package/components/widgets/client/shared/description-items.d.ts +6 -0
- package/components/widgets/client/shared/description-items.js +12 -0
- package/components/widgets/client/shared/phi-authoring-tools-labels.d.ts +7 -0
- package/components/widgets/client/shared/phi-authoring-tools-labels.js +23 -0
- package/components/widgets/client/shared/phi-button-icons.js +19 -19
- package/components/widgets/client/shared/phi-choice-controller.js +2 -1
- package/components/widgets/client/shared/phi-collection-provider.d.ts +22 -17
- package/components/widgets/client/shared/phi-collection-provider.js +2 -2
- package/components/widgets/client/shared/phi-collection-view-binding.d.ts +5 -19
- package/components/widgets/client/shared/phi-collection-view-binding.js +32 -21
- package/components/widgets/client/shared/phi-control-signal-routing.d.ts +35 -0
- package/components/widgets/client/shared/phi-control-signal-routing.js +35 -0
- package/components/widgets/client/shared/phi-control-signals.d.ts +0 -1
- package/components/widgets/client/shared/phi-control-signals.js +31 -65
- package/components/widgets/client/shared/phi-input-signals.d.ts +0 -3
- package/components/widgets/client/shared/phi-page-reference-picker.d.ts +18 -0
- package/components/widgets/client/shared/phi-page-reference-picker.js +32 -0
- package/components/widgets/client/shared/phi-rendered-value.d.ts +43 -0
- package/components/widgets/client/shared/phi-rendered-value.js +75 -0
- package/components/widgets/client/shared/phi-search-draft.d.ts +33 -0
- package/components/widgets/client/shared/phi-search-draft.js +52 -0
- package/components/widgets/client/shared/phi-static-table-provider.d.ts +12 -1
- package/components/widgets/client/shared/phi-static-table-provider.js +57 -7
- package/components/widgets/client/shared/phi-table-provider-response.d.ts +14 -0
- package/components/widgets/client/shared/phi-table-provider-response.js +16 -0
- package/components/widgets/client/shared/phi-table-provider.d.ts +3 -5
- package/components/widgets/client/shared/phi-table-provider.js +10 -24
- package/components/widgets/client/shared/phi-widget-image-tool-button.d.ts +2 -4
- package/components/widgets/client/shared/phi-widget-image-tool-button.js +6 -8
- package/components/widgets/client/shared/phi-widget-tool-buttons.js +56 -45
- package/components/widgets/config/background.d.ts +23 -0
- package/components/widgets/config/background.js +128 -41
- package/components/widgets/config/button-variant.d.ts +28 -0
- package/components/widgets/config/button-variant.js +32 -0
- package/components/widgets/config/choice-shared.d.ts +2 -2
- package/components/widgets/config/geometry.d.ts +4 -4
- package/components/widgets/config/helpers.d.ts +2 -2
- package/components/widgets/config/image-source-parser.d.ts +1 -1
- package/components/widgets/config/mask.d.ts +4 -2
- package/components/widgets/config/mask.js +13 -28
- package/components/widgets/config/parser-primitives.d.ts +11 -2
- package/components/widgets/config/parser-primitives.js +38 -3
- package/components/widgets/config/search-shared.d.ts +1 -80
- package/components/widgets/config/search-shared.js +4 -6
- package/components/widgets/config/spacing-options.d.ts +0 -1
- package/components/widgets/config/spacing-options.js +0 -1
- package/components/widgets/config/stack-tabs.d.ts +1 -121
- package/components/widgets/config/stack-tabs.js +3 -7
- package/components/widgets/config/text-tone.d.ts +22 -0
- package/components/widgets/config/text-tone.js +18 -0
- package/components/widgets/helpers/font-family.d.ts +13 -2
- package/components/widgets/helpers/font-family.js +22 -0
- package/components/widgets/helpers/font-size.d.ts +6 -2
- package/components/widgets/helpers/font-size.js +14 -0
- package/components/widgets/helpers/internal-reference-resolver.server.d.ts +10 -0
- package/components/widgets/helpers/internal-reference-resolver.server.js +19 -10
- package/components/widgets/inspector-field-row.js +3 -2
- package/components/widgets/label-sets/account.d.ts +7 -5
- package/components/widgets/label-sets/account.js +18 -8
- package/components/widgets/label-sets/auth-workflow.d.ts +4 -0
- package/components/widgets/label-sets/auth-workflow.js +63 -0
- package/components/widgets/label-sets/authoring-tools.d.ts +6 -0
- package/components/widgets/label-sets/authoring-tools.js +122 -0
- package/components/widgets/label-sets/border.js +8 -0
- package/components/widgets/label-sets/builder-chrome.js +2 -16
- package/components/widgets/label-sets/builder-modules.js +2 -0
- package/components/widgets/label-sets/draft-status.d.ts +4 -0
- package/components/widgets/label-sets/draft-status.js +29 -0
- package/components/widgets/label-sets/effects.js +8 -0
- package/components/widgets/label-sets/icon-picker.d.ts +6 -0
- package/components/widgets/label-sets/icon-picker.js +67 -0
- package/components/widgets/label-sets/news.d.ts +9 -0
- package/components/widgets/label-sets/news.js +29 -0
- package/components/widgets/label-sets/padding.d.ts +4 -0
- package/components/widgets/label-sets/padding.js +55 -0
- package/components/widgets/label-sets/profile.d.ts +55 -23
- package/components/widgets/label-sets/profile.js +80 -47
- package/components/widgets/label-sets/record.d.ts +4 -0
- package/components/widgets/label-sets/record.js +23 -0
- package/components/widgets/label-sets/region.js +4 -0
- package/components/widgets/label-sets/revisions.js +16 -0
- package/components/widgets/label-sets/security.d.ts +4 -0
- package/components/widgets/label-sets/security.js +81 -0
- package/components/widgets/label-sets/session.d.ts +6 -0
- package/components/widgets/label-sets/session.js +20 -0
- package/components/widgets/label-sets/threads.d.ts +96 -0
- package/components/widgets/label-sets/threads.js +269 -0
- package/components/widgets/label-sets/unsubscribe.d.ts +17 -0
- package/components/widgets/label-sets/unsubscribe.js +39 -0
- package/components/widgets/label-sets/video.d.ts +11 -0
- package/components/widgets/label-sets/video.js +40 -0
- package/components/widgets/label-types/auth-workflow.d.ts +38 -0
- package/components/widgets/label-types/authoring-tools.d.ts +78 -0
- package/components/widgets/label-types/authoring-tools.js +61 -0
- package/components/widgets/label-types/border.d.ts +8 -10
- package/components/widgets/label-types/border.js +7 -9
- package/components/widgets/label-types/builder-chrome.d.ts +0 -10
- package/components/widgets/label-types/builder-chrome.js +0 -12
- package/components/widgets/label-types/builder-modules.d.ts +2 -0
- package/components/widgets/label-types/builder-modules.js +2 -0
- package/components/widgets/label-types/common-controls.d.ts +2 -1
- package/components/widgets/label-types/common-controls.js +4 -4
- package/components/widgets/label-types/draft-status.d.ts +11 -0
- package/components/widgets/label-types/draft-status.js +12 -0
- package/components/widgets/label-types/effects.d.ts +6 -0
- package/components/widgets/label-types/effects.js +5 -0
- package/components/widgets/label-types/icon-picker.d.ts +30 -0
- package/components/widgets/label-types/icon-picker.js +31 -0
- package/components/widgets/label-types/padding.d.ts +3 -0
- package/components/widgets/label-types/padding.js +2 -0
- package/components/widgets/label-types/record.d.ts +8 -0
- package/components/widgets/label-types/record.js +9 -0
- package/components/widgets/label-types/region.d.ts +4 -0
- package/components/widgets/label-types/region.js +2 -0
- package/components/widgets/label-types/revisions.d.ts +11 -0
- package/components/widgets/label-types/revisions.js +9 -0
- package/components/widgets/label-types/security.d.ts +37 -0
- package/components/widgets/label-types/security.js +3 -0
- package/components/widgets/label-types/spacing-scale.d.ts +13 -0
- package/components/widgets/label-types/spacing-scale.js +11 -0
- package/components/widgets/login-redirect.js +3 -7
- package/components/widgets/navigation-descriptor-resolver.server.js +16 -5
- package/components/widgets/plugins/stack-tabs-widget-plugin.d.ts +1 -2
- package/components/widgets/plugins/stack-tabs-widget-plugin.js +1 -2
- package/components/widgets/server/builder-chrome.d.ts +0 -1
- package/components/widgets/server/builder-chrome.js +0 -4
- package/components/widgets/shared/card-body-client.d.ts +86 -0
- package/components/widgets/shared/card-body-client.js +102 -0
- package/components/widgets/shared/markdown-body-client.d.ts +81 -0
- package/components/widgets/shared/markdown-body-client.js +181 -0
- package/components/widgets/shared/markdown-code-tokens.d.ts +46 -0
- package/components/widgets/shared/markdown-code-tokens.js +330 -0
- package/components/widgets/shared/markdown-render.d.ts +40 -0
- package/components/widgets/shared/markdown-render.js +506 -0
- package/components/widgets/shared/result-body-client.d.ts +5 -2
- package/components/widgets/shared/result-body.d.ts +13 -1
- package/components/widgets/shared/result-body.js +11 -2
- package/components/widgets/signals/control-signal-capabilities.d.ts +0 -72
- package/components/widgets/signals/control-signal-capabilities.js +0 -70
- package/components/widgets/signals/page-title-signals.d.ts +0 -1
- package/components/widgets/signals/page-title-signals.js +2 -5
- package/components/widgets/signals/signal-endpoint-list.js +4 -3
- package/components/widgets/signals/signal-endpoints.js +2 -4
- package/components/workspace/catalog-store.d.ts +0 -1
- package/components/workspace/catalog-store.js +0 -3
- package/constants/authoring-option-provider-keys.d.ts +20 -0
- package/constants/authoring-option-provider-keys.js +21 -0
- package/constants/cms-areas.d.ts +22 -7
- package/constants/cms-areas.js +25 -37
- package/constants/cms-error-pages.d.ts +25 -0
- package/constants/cms-error-pages.js +31 -0
- package/constants/cms-layout-type-keys.d.ts +21 -0
- package/constants/cms-layout-type-keys.js +54 -0
- package/constants/cms-layout-types.d.ts +0 -20
- package/constants/cms-layout-types.js +2 -48
- package/constants/cms-widget-types.d.ts +9 -7
- package/constants/cms-widget-types.js +15 -16
- package/constants/core-data-provider-keys.d.ts +12 -0
- package/constants/core-data-provider-keys.js +13 -0
- package/constants/dashboard-card-provider-keys.d.ts +19 -0
- package/constants/dashboard-card-provider-keys.js +20 -0
- package/constants/http-headers.d.ts +20 -1
- package/constants/http-headers.js +20 -1
- package/constants/media-library-provider-keys.d.ts +9 -0
- package/constants/media-library-provider-keys.js +10 -1
- package/constants/phi-base-role-metadata.d.ts +0 -1
- package/constants/phi-cms.d.ts +1 -1
- package/constants/phi-cms.js +1 -1
- package/constants/runtime-data-provider-key.d.ts +8 -0
- package/constants/runtime-data-provider-key.js +10 -0
- package/constants/runtime-module-ownership.js +41 -0
- package/constants/runtime-render-client-types.d.ts +1 -3
- package/constants/runtime-render-client-types.js +2 -4
- package/constants/support.d.ts +2 -0
- package/constants/support.js +6 -0
- package/constants/thread-library-provider-keys.d.ts +19 -0
- package/constants/thread-library-provider-keys.js +20 -0
- package/constants/threads.d.ts +1 -0
- package/constants/threads.js +6 -0
- package/constants/user-state.d.ts +1 -0
- package/constants/user-state.js +6 -0
- package/constants.d.ts +8 -6
- package/constants.js +8 -6
- package/controls.d.ts +12 -7
- package/controls.js +20 -3
- package/core-widgets.d.ts +3 -0
- package/core-widgets.js +7 -0
- package/forms-client.d.ts +4 -0
- package/forms-client.js +8 -0
- package/forms.d.ts +4 -7
- package/forms.js +10 -6
- package/gateway/area-root-door.d.ts +14 -0
- package/gateway/area-root-door.js +65 -0
- package/gateway/auth-public-manifest.d.ts +23 -1
- package/gateway/auth-public-manifest.js +41 -12
- package/gateway/dashboard-cards-route.d.ts +21 -0
- package/gateway/dashboard-cards-route.js +269 -0
- package/gateway/form-handler-resolution.d.ts +12 -1
- package/gateway/form-handler-resolution.js +45 -53
- package/gateway/form-registry.js +7 -11
- package/gateway/form-submit.js +23 -15
- package/gateway/internal-references.js +6 -3
- package/gateway/label-set.js +4 -4
- package/gateway/module-diagnostics-route.d.ts +36 -0
- package/gateway/module-diagnostics-route.js +61 -0
- package/gateway/navigation-target-route.d.ts +6 -0
- package/gateway/navigation-target-route.js +215 -0
- package/gateway/news.d.ts +22 -0
- package/gateway/news.js +76 -0
- package/gateway/server-capabilities.js +3 -5
- package/gateway/site-area-bridges.d.ts +23 -0
- package/gateway/site-area-bridges.js +12 -0
- package/gateway/site-area.js +6 -11
- package/gateway/site-auth-settings.js +3 -5
- package/gateway/site-config.d.ts +2 -84
- package/gateway/site-config.js +4 -6
- package/gateway/site-form-route.d.ts +4 -12
- package/gateway/site-form-route.js +61 -43
- package/gateway/site-media-settings.js +3 -5
- package/gateway/site-nav.js +6 -15
- package/gateway/site-page.js +6 -15
- package/gateway/site-proxy.d.ts +10 -1
- package/gateway/site-proxy.js +89 -6
- package/gateway/site-read-cache.d.ts +19 -0
- package/gateway/site-read-cache.js +24 -0
- package/gateway/site-settings.js +3 -5
- package/gateway/site-stats.js +3 -5
- package/gateway/site-theme.js +2 -5
- package/gateway/thread-inbox-stats.d.ts +25 -0
- package/gateway/thread-inbox-stats.js +34 -0
- package/gateway/tr.js +48 -85
- package/gateway/user-state.d.ts +27 -0
- package/gateway/user-state.js +48 -0
- package/helpers/access.d.ts +0 -7
- package/helpers/access.js +1 -11
- package/helpers/border-widget-style.d.ts +35 -0
- package/helpers/border-widget-style.js +41 -0
- package/helpers/brand-wordmark.d.ts +10 -0
- package/helpers/brand-wordmark.js +14 -3
- package/helpers/client-json-request.d.ts +48 -0
- package/helpers/client-json-request.js +49 -0
- package/helpers/cms-access-policy.js +1 -5
- package/helpers/cms-area-config.d.ts +22 -2
- package/helpers/cms-area-config.js +32 -11
- package/helpers/cms-area-root-route.d.ts +8 -7
- package/helpers/cms-area-root-route.js +11 -12
- package/helpers/cms-config-field-validation.js +9 -0
- package/helpers/cms-config-serialization.d.ts +0 -69
- package/helpers/cms-config-serialization.js +1 -60
- package/helpers/cms-draft-delete.d.ts +8 -0
- package/helpers/cms-draft-delete.js +23 -0
- package/helpers/cms-layout-defaults.js +16 -25
- package/helpers/cms-layout-depth.d.ts +0 -2
- package/helpers/cms-layout-depth.js +0 -35
- package/helpers/cms-navigation-catalog.d.ts +24 -3
- package/helpers/cms-navigation-catalog.js +52 -17
- package/helpers/cms-node-factories.d.ts +21 -8
- package/helpers/cms-node-factories.js +8 -2
- package/helpers/cms-page-catalog.d.ts +0 -3
- package/helpers/cms-page-catalog.js +0 -10
- package/helpers/cms-paths.d.ts +4 -4
- package/helpers/cms-paths.js +6 -15
- package/helpers/cms-preset-nodes.d.ts +79 -6
- package/helpers/cms-preset-nodes.js +57 -14
- package/helpers/cms-region-keys.d.ts +18 -1
- package/helpers/cms-region-keys.js +23 -0
- package/helpers/cms-routing.d.ts +17 -0
- package/helpers/cms-routing.js +37 -0
- package/helpers/csrf-token.d.ts +33 -0
- package/helpers/csrf-token.js +61 -0
- package/helpers/dot-path.d.ts +7 -0
- package/helpers/dot-path.js +18 -0
- package/helpers/format-date-time.d.ts +2 -2
- package/helpers/format-date-time.js +20 -11
- package/helpers/is-record.d.ts +1 -0
- package/helpers/is-record.js +6 -0
- package/helpers/layout-authoring-markers.d.ts +4 -1
- package/helpers/layout-authoring-markers.js +5 -2
- package/helpers/link-target.d.ts +44 -0
- package/helpers/link-target.js +66 -0
- package/helpers/locale.d.ts +28 -0
- package/helpers/locale.js +82 -27
- package/helpers/logout.d.ts +26 -0
- package/helpers/logout.js +37 -0
- package/helpers/motion.d.ts +8 -0
- package/helpers/motion.js +8 -0
- package/helpers/nav-selection.js +12 -9
- package/helpers/phi-metadata.d.ts +9 -0
- package/helpers/phi-metadata.js +2 -0
- package/helpers/renderable-block-anchor.d.ts +2 -0
- package/helpers/renderable-block-anchor.js +28 -0
- package/helpers/renderable-block-effects.js +3 -1
- package/helpers/renderable-block-serialization.d.ts +1 -2
- package/helpers/renderable-block-serialization.js +13 -35
- package/helpers/runtime-module-route-path.d.ts +14 -1
- package/helpers/runtime-module-route-path.js +18 -0
- package/helpers/shell-region-style.d.ts +5 -3
- package/helpers/shell-region-style.js +27 -4
- package/helpers/site-api.d.ts +11 -10
- package/helpers/site-api.js +13 -18
- package/helpers/site-locale-config.js +6 -6
- package/helpers/site-runtime.d.ts +0 -2
- package/helpers/site-runtime.js +0 -10
- package/helpers/state-machine-binding.d.ts +84 -0
- package/helpers/state-machine-binding.js +101 -0
- package/helpers/state-machine-diagnostics.d.ts +30 -0
- package/helpers/state-machine-diagnostics.js +89 -0
- package/helpers/table-binding.js +4 -5
- package/helpers/text-placeholders.d.ts +50 -0
- package/helpers/text-placeholders.js +83 -0
- package/helpers/visibility.d.ts +0 -1
- package/helpers/visibility.js +0 -5
- package/helpers.d.ts +3 -13
- package/helpers.js +3 -13
- package/media.d.ts +2 -2
- package/media.js +1 -1
- package/module-client.d.ts +6 -1
- package/module-labels.d.ts +18 -0
- package/module-labels.js +16 -0
- package/module-projection-authoring-client.d.ts +5 -3
- package/module-projection-authoring-client.js +8 -5
- package/module-projection-client.d.ts +2 -2
- package/module-projection-client.js +7 -2
- package/module-projection.d.ts +12 -5
- package/module-projection.js +31 -8
- package/module.d.ts +37 -12
- package/module.js +22 -7
- package/net/log.d.ts +0 -1
- package/net/log.js +0 -1
- package/net/phi-next-proxy.d.ts +25 -0
- package/net/phi-next-proxy.js +64 -3
- package/next/area-route.d.ts +24 -13
- package/next/area-route.js +30 -20
- package/next/areas/accounting-client.js +3 -2
- package/next/areas/admin-client.js +3 -2
- package/next/areas/app-client.js +3 -2
- package/next/areas/builder-client.js +3 -2
- package/next/areas/builder.js +1 -1
- package/next/areas/editor-client.js +3 -2
- package/next/areas/public-client.js +3 -2
- package/next/global-error.d.ts +33 -0
- package/next/global-error.js +80 -0
- package/next/overlay-zones.d.ts +15 -0
- package/next/overlay-zones.js +104 -0
- package/next/proxy-runtime.d.ts +16 -0
- package/next/proxy-runtime.js +89 -12
- package/next/root-route.d.ts +24 -5
- package/next/root-route.js +76 -26
- package/next/route-handlers.d.ts +23 -0
- package/next/route-handlers.js +22 -0
- package/next/runtime-module-client-boundary.d.ts +3 -1
- package/next/runtime-module-client-boundary.js +3 -2
- package/next/seo-routes.js +1 -2
- package/next/site-proxy.js +72 -15
- package/next/static-asset-path.d.ts +1 -0
- package/next/static-asset-path.js +23 -0
- package/package.json +50 -62
- package/plugins/registries/runtime-controllers.js +3 -5
- package/plugins/runtime/phi-effects-ready-trigger.d.ts +13 -0
- package/plugins/runtime/phi-effects-ready-trigger.js +48 -0
- package/plugins/runtime/phi-slot-child-frame-client.js +6 -6
- package/plugins/runtime/phi-slot-child-frame-view.js +19 -29
- package/plugins/runtime/slot-size-policy.d.ts +34 -3
- package/plugins/runtime/slot-size-policy.js +152 -17
- package/plugins/runtime-modules/accounting/definition.d.ts +0 -3
- package/plugins/runtime-modules/accounting/definition.js +0 -6
- package/plugins/runtime-modules/accounting/module.d.ts +15 -1
- package/plugins/runtime-modules/accounting/module.js +8 -3
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.js +45 -0
- package/plugins/runtime-modules/admin/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/admin/controller/address.js +1 -5
- package/plugins/runtime-modules/admin/forms.js +1 -6
- package/plugins/runtime-modules/admin/module.d.ts +1 -45
- package/plugins/runtime-modules/admin/module.js +2 -4
- package/plugins/runtime-modules/admin/presets.d.ts +1 -5
- package/plugins/runtime-modules/admin/presets.js +3 -6
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.js +18 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.js +180 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.js +81 -0
- package/plugins/runtime-modules/app/definition.d.ts +59 -3
- package/plugins/runtime-modules/app/definition.js +4 -6
- package/plugins/runtime-modules/app/forms.d.ts +82 -0
- package/plugins/runtime-modules/app/forms.js +341 -0
- package/plugins/runtime-modules/app/module.d.ts +74 -1
- package/plugins/runtime-modules/app/module.js +8 -3
- package/plugins/runtime-modules/app/server.js +2 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.d.ts +18 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.js +101 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.d.ts +22 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +175 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.d.ts +11 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.js +40 -0
- package/plugins/runtime-modules/area-base-presets.d.ts +31 -4
- package/plugins/runtime-modules/area-base-presets.js +108 -22
- package/plugins/runtime-modules/area-catalogs/accounting.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/accounting.js +3 -12
- package/plugins/runtime-modules/area-catalogs/admin.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/admin.js +3 -12
- package/plugins/runtime-modules/area-catalogs/app.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/app.js +3 -12
- package/plugins/runtime-modules/area-catalogs/area-catalog.d.ts +13 -0
- package/plugins/runtime-modules/area-catalogs/area-catalog.js +13 -0
- package/plugins/runtime-modules/area-catalogs/editor.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/editor.js +3 -12
- package/plugins/runtime-modules/area-catalogs/public.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/public.js +3 -12
- package/plugins/runtime-modules/area-contributions/app.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/app.js +4 -0
- package/plugins/runtime-modules/area-contributions/editor.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/editor.js +2 -0
- package/plugins/runtime-modules/area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/public.js +4 -0
- package/plugins/runtime-modules/area-definitions.d.ts +184 -121
- package/plugins/runtime-modules/area-definitions.js +183 -43
- package/plugins/runtime-modules/area-module-defaults.d.ts +3 -0
- package/plugins/runtime-modules/area-module-defaults.js +59 -0
- package/plugins/runtime-modules/area-root-route.d.ts +1 -3
- package/plugins/runtime-modules/area-root-route.js +2 -4
- package/plugins/runtime-modules/asset/client-data-providers.js +2 -2
- package/plugins/runtime-modules/asset/client.js +1 -1
- package/plugins/runtime-modules/asset/controller/client.d.ts +124 -0
- package/plugins/runtime-modules/asset/controller/client.js +10 -0
- package/plugins/runtime-modules/asset/controller/definition.js +128 -0
- package/plugins/runtime-modules/asset/controller/mount.d.ts +4 -0
- package/plugins/runtime-modules/asset/controller/mount.js +6 -0
- package/plugins/runtime-modules/asset/controller/runtime.d.ts +1 -0
- package/plugins/runtime-modules/asset/controller/runtime.js +327 -0
- package/plugins/runtime-modules/asset/data-providers.d.ts +2 -1
- package/plugins/runtime-modules/asset/data-providers.js +4 -2
- package/plugins/runtime-modules/asset/definition.d.ts +8 -1
- package/plugins/runtime-modules/asset/definition.js +13 -5
- package/plugins/runtime-modules/asset/form-providers.js +11 -0
- package/plugins/runtime-modules/asset/form-ui-provider.js +13 -0
- package/plugins/runtime-modules/asset/ids.d.ts +2 -0
- package/plugins/runtime-modules/asset/ids.js +3 -1
- package/plugins/runtime-modules/asset/media-page-ids.d.ts +6 -0
- package/plugins/runtime-modules/asset/media-page-ids.js +36 -0
- package/plugins/runtime-modules/asset/metadata-form.d.ts +243 -0
- package/plugins/runtime-modules/asset/metadata-form.js +197 -0
- package/plugins/runtime-modules/asset/module.d.ts +1 -231
- package/plugins/runtime-modules/asset/module.js +3 -5
- package/plugins/runtime-modules/asset/presets.d.ts +2 -174
- package/plugins/runtime-modules/asset/presets.js +18 -43
- package/plugins/runtime-modules/asset/server.js +3 -4
- package/plugins/runtime-modules/asset/services/collection.js +162 -0
- package/plugins/runtime-modules/asset/services/options.js +69 -0
- package/plugins/runtime-modules/asset/settings-forms.d.ts +22 -0
- package/plugins/runtime-modules/asset/settings-forms.js +177 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +93 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +735 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +1 -9
- package/plugins/runtime-modules/asset/widgets/area-upload/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/server.js +13 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +1 -6
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.d.ts +6 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.js +6 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +1 -7
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.js +18 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +2 -16
- package/plugins/runtime-modules/asset/widgets/media-picker/config.js +1 -2
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +1 -2
- package/plugins/runtime-modules/auth/admin-settings-forms.d.ts +15 -0
- package/plugins/runtime-modules/auth/admin-settings-forms.js +394 -0
- package/plugins/runtime-modules/auth/client-data-providers.js +1 -1
- package/plugins/runtime-modules/auth/client.js +1 -1
- package/plugins/runtime-modules/auth/controller/address.d.ts +14 -0
- package/plugins/runtime-modules/auth/controller/address.js +17 -0
- package/plugins/runtime-modules/auth/controller/definition.d.ts +86 -0
- package/plugins/runtime-modules/auth/controller/definition.js +93 -0
- package/plugins/runtime-modules/auth/controller/server-definition.d.ts +83 -0
- package/plugins/runtime-modules/auth/controller/server-definition.js +55 -0
- package/plugins/runtime-modules/auth/controller-plugin.d.ts +1 -0
- package/plugins/runtime-modules/auth/controller-plugin.js +312 -0
- package/plugins/runtime-modules/auth/definition.d.ts +47 -16
- package/plugins/runtime-modules/auth/definition.js +16 -7
- package/plugins/runtime-modules/auth/features.js +2 -2
- package/plugins/runtime-modules/auth/form-provider-registry.d.ts +1 -0
- package/plugins/runtime-modules/auth/form-provider-registry.js +38 -0
- package/plugins/runtime-modules/auth/form-providers.d.ts +232 -0
- package/plugins/runtime-modules/auth/form-providers.js +42 -0
- package/plugins/runtime-modules/auth/form-ui-provider.js +7 -0
- package/plugins/runtime-modules/auth/forms.d.ts +3 -0
- package/plugins/runtime-modules/auth/forms.js +140 -0
- package/plugins/runtime-modules/auth/machine.d.ts +46 -0
- package/plugins/runtime-modules/auth/machine.js +98 -0
- package/plugins/runtime-modules/auth/module.js +1 -1
- package/plugins/runtime-modules/auth/overlay-ids.d.ts +23 -0
- package/plugins/runtime-modules/auth/overlay-ids.js +27 -0
- package/plugins/runtime-modules/auth/presets.d.ts +7 -68
- package/plugins/runtime-modules/auth/presets.js +66 -61
- package/plugins/runtime-modules/auth/server.js +3 -4
- package/plugins/runtime-modules/auth/services/installations-table.js +162 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +105 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.js +53 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +334 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.js +90 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.js +166 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.js +126 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.js +118 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.js +151 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.d.ts +46 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.js +216 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.js +22 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/client.js +33 -24
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +48 -22
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +8 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +36 -5
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +8 -7
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.d.ts +15 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.js +14 -0
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.js +9 -26
- package/plugins/runtime-modules/auth/widgets/logout/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/logout/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +6 -1
- package/plugins/runtime-modules/auth/widgets/security/client.js +60 -56
- package/plugins/runtime-modules/auth/widgets/security/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/security/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/server.js +18 -1
- package/plugins/runtime-modules/avatar/addresses.js +19 -0
- package/plugins/runtime-modules/avatar/definition.d.ts +2 -2
- package/plugins/runtime-modules/avatar/definition.js +5 -2
- package/plugins/runtime-modules/avatar/labels.d.ts +25 -0
- package/plugins/runtime-modules/avatar/media-spaces.d.ts +9 -0
- package/plugins/runtime-modules/avatar/media-spaces.js +9 -0
- package/plugins/runtime-modules/avatar/module.d.ts +2 -2
- package/plugins/runtime-modules/avatar/overlay-tree.js +12 -0
- package/plugins/runtime-modules/avatar/overlay-tree.server.js +95 -0
- package/plugins/runtime-modules/avatar/presets.js +1 -1
- package/plugins/runtime-modules/avatar/server.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +5 -5
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/server.js +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.js +9 -8
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.js +1 -1
- package/plugins/runtime-modules/builder/addresses.d.ts +23 -0
- package/plugins/runtime-modules/builder/addresses.js +53 -0
- package/plugins/runtime-modules/builder/area-settings-form.d.ts +2 -0
- package/plugins/runtime-modules/builder/area-settings-form.js +137 -0
- package/plugins/runtime-modules/builder/area-settings-values.d.ts +26 -0
- package/plugins/runtime-modules/builder/area-settings-values.js +26 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +12 -10
- package/plugins/runtime-modules/builder/authoring-canvas.js +5 -0
- package/plugins/runtime-modules/builder/authoring-widgets.js +2 -3
- package/plugins/runtime-modules/builder/builder-geometry.d.ts +28 -0
- package/plugins/runtime-modules/builder/builder-geometry.js +38 -0
- package/plugins/runtime-modules/builder/client-data-providers.js +8 -0
- package/plugins/runtime-modules/builder/client.d.ts +0 -1
- package/plugins/runtime-modules/builder/client.js +0 -4
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +3 -4
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +101 -30
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.d.ts +30 -0
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +69 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +4 -2
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +60 -49
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +4 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +7 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +34 -6
- package/plugins/runtime-modules/builder/clients/mode-switch.js +2 -2
- package/plugins/runtime-modules/builder/clients/pages-header.d.ts +0 -1
- package/plugins/runtime-modules/builder/clients/pages-header.js +24 -9
- package/plugins/runtime-modules/builder/clients/region-inspector.js +2 -2
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +14 -2
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +13 -1
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +8 -7
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +2 -2
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +24 -19
- package/plugins/runtime-modules/builder/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.js +7 -0
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/builder/data-providers.d.ts +26 -1
- package/plugins/runtime-modules/builder/data-providers.js +23 -0
- package/plugins/runtime-modules/builder/definition.d.ts +26 -1
- package/plugins/runtime-modules/builder/demand-controller-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/demand-controller-store.js +0 -5
- package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +17 -1
- package/plugins/runtime-modules/builder/developer-workspace-store.js +34 -3
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +32 -2
- package/plugins/runtime-modules/builder/draft-command-controller.d.ts +6 -4
- package/plugins/runtime-modules/builder/draft-command-controller.js +69 -171
- package/plugins/runtime-modules/builder/draft-status-controller.d.ts +23 -0
- package/plugins/runtime-modules/builder/draft-status-controller.js +173 -0
- package/plugins/runtime-modules/builder/effects-form-values.d.ts +9 -0
- package/plugins/runtime-modules/builder/effects-form-values.js +14 -4
- package/plugins/runtime-modules/builder/history.d.ts +2 -0
- package/plugins/runtime-modules/builder/ids.d.ts +1 -0
- package/plugins/runtime-modules/builder/ids.js +5 -3
- package/plugins/runtime-modules/builder/inspector-actions.d.ts +3 -0
- package/plugins/runtime-modules/builder/inspector-actions.js +6 -5
- package/plugins/runtime-modules/builder/inspector-controller.js +24 -17
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +1 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.d.ts +2 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.js +10 -2
- package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +4 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +2 -0
- package/plugins/runtime-modules/builder/module.d.ts +1 -609
- package/plugins/runtime-modules/builder/module.js +2 -4
- package/plugins/runtime-modules/builder/navigation-catalog.server.d.ts +2 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.js +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.js +27 -10
- package/plugins/runtime-modules/builder/navigation-persistence.js +11 -1
- package/plugins/runtime-modules/builder/navigation-store.d.ts +0 -2
- package/plugins/runtime-modules/builder/navigation-store.js +0 -6
- package/plugins/runtime-modules/builder/node-kind-theme.d.ts +0 -4
- package/plugins/runtime-modules/builder/node-kind-theme.js +1 -14
- package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +12 -1
- package/plugins/runtime-modules/builder/offered-page-catalog.js +98 -3
- package/plugins/runtime-modules/builder/options-providers.d.ts +3 -19
- package/plugins/runtime-modules/builder/options-providers.js +116 -50
- package/plugins/runtime-modules/builder/page-controller-helpers.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller-helpers.js +0 -8
- package/plugins/runtime-modules/builder/page-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller.js +1 -2
- package/plugins/runtime-modules/builder/page-meta-form.js +139 -64
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-presets.server.js +45 -12
- package/plugins/runtime-modules/builder/page-reference-tree.d.ts +18 -0
- package/plugins/runtime-modules/builder/page-reference-tree.js +31 -0
- package/plugins/runtime-modules/builder/page-references-provider.d.ts +5 -0
- package/plugins/runtime-modules/builder/page-references-provider.js +14 -0
- package/plugins/runtime-modules/builder/pages-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/pages-workspace.js +5 -4
- package/plugins/runtime-modules/builder/persistence.d.ts +0 -1
- package/plugins/runtime-modules/builder/persistence.js +11 -28
- package/plugins/runtime-modules/builder/plugin-meta-labels.d.ts +16 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.js +57 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.js +65 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.js +8 -1
- package/plugins/runtime-modules/builder/plugin-metas.d.ts +1 -2
- package/plugins/runtime-modules/builder/plugin-metas.js +3 -14
- package/plugins/runtime-modules/builder/presets.d.ts +4 -2
- package/plugins/runtime-modules/builder/presets.js +3 -4
- package/plugins/runtime-modules/builder/preview-controller.d.ts +1 -2
- package/plugins/runtime-modules/builder/preview-controller.js +2 -70
- package/plugins/runtime-modules/builder/preview-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/preview-store.js +1 -4
- package/plugins/runtime-modules/builder/preview-transport.js +4 -6
- package/plugins/runtime-modules/builder/region-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/region-controller.js +0 -6
- package/plugins/runtime-modules/builder/region-hydration.d.ts +5 -13
- package/plugins/runtime-modules/builder/region-hydration.js +0 -20
- package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +1 -3
- package/plugins/runtime-modules/builder/render-root-node-preview.server.js +8 -56
- package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +2 -2
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +137 -47
- package/plugins/runtime-modules/builder/root-node-normalization.d.ts +6 -1
- package/plugins/runtime-modules/builder/root-node-normalization.js +22 -6
- package/plugins/runtime-modules/builder/runtime-module-sandbox.server.d.ts +1 -1
- package/plugins/runtime-modules/builder/selected-collection-source.d.ts +22 -0
- package/plugins/runtime-modules/builder/selected-collection-source.js +51 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +7 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.js +4 -0
- package/plugins/runtime-modules/builder/server.js +8 -2
- package/plugins/runtime-modules/builder/services/navigation-table.js +11 -3
- package/plugins/runtime-modules/builder/services/page-source-tree.js +8 -2
- package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +15 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +92 -24
- package/plugins/runtime-modules/builder/services/signal-routes-table.js +3 -1
- package/plugins/runtime-modules/builder/shells-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/shells-workspace.js +5 -4
- package/plugins/runtime-modules/builder/signal-wiring-controller.js +18 -2
- package/plugins/runtime-modules/builder/signal-wiring-form.js +15 -6
- package/plugins/runtime-modules/builder/signal-wiring-options.js +38 -10
- package/plugins/runtime-modules/builder/structure-region-pick-items.js +14 -2
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.d.ts +35 -0
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.js +68 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.d.ts +17 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.js +34 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.d.ts +7 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.js +12 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.d.ts +20 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +569 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.d.ts +132 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +2052 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.d.ts +12 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.js +55 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.d.ts +16 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.js +35 -0
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +0 -1
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +2 -5
- package/plugins/runtime-modules/builder/widgets/hello-world/client.js +2 -10
- package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +3 -3
- package/plugins/runtime-modules/builder/widgets/hello-world/config.js +1 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.d.ts +0 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.js +0 -2
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.d.ts +3 -1
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +112 -89
- package/plugins/runtime-modules/builder/widgets/structure-region/config.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/config.js +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.d.ts +22 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.js +8 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +12 -8
- package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +3 -2
- package/plugins/runtime-modules/builder/widgets/test-block/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.d.ts +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets.js +1 -8
- package/plugins/runtime-modules/builder/workspace-controller.d.ts +1 -1
- package/plugins/runtime-modules/builder/workspace-controller.js +206 -199
- package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/accounting.js +0 -7
- package/plugins/runtime-modules/client-area-contributions/app.js +4 -4
- package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/public.js +0 -6
- package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/app.js +12 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/editor.js +6 -0
- package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/public.js +12 -0
- package/plugins/runtime-modules/client-calendar-adapters/core.js +1 -1
- package/plugins/runtime-modules/client-manifests/accounting.d.ts +2 -1
- package/plugins/runtime-modules/client-manifests/accounting.js +5 -1
- package/plugins/runtime-modules/client-manifests/admin.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/admin.js +4 -9
- package/plugins/runtime-modules/client-manifests/app.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/app.js +12 -3
- package/plugins/runtime-modules/client-manifests/builder.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/builder.js +3 -4
- package/plugins/runtime-modules/client-manifests/common.d.ts +7 -0
- package/plugins/runtime-modules/client-manifests/common.js +59 -31
- package/plugins/runtime-modules/client-manifests/editor.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/editor.js +8 -1
- package/plugins/runtime-modules/client-manifests/news-render-clients.d.ts +2 -0
- package/plugins/runtime-modules/client-manifests/news-render-clients.js +10 -0
- package/plugins/runtime-modules/client-manifests/public.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/public.js +3 -0
- package/plugins/runtime-modules/contracts.js +89 -27
- package/plugins/runtime-modules/core/authoring-widgets.js +6 -14
- package/plugins/runtime-modules/core/cards.d.ts +3 -0
- package/plugins/runtime-modules/core/cards.js +83 -0
- package/plugins/runtime-modules/core/client-data-providers.js +11 -3
- package/plugins/runtime-modules/core/data-providers.js +10 -1
- package/plugins/runtime-modules/core/definition.d.ts +223 -181
- package/plugins/runtime-modules/core/definition.js +1 -1
- package/plugins/runtime-modules/core/form-providers.d.ts +417 -0
- package/plugins/runtime-modules/core/form-providers.js +13 -0
- package/plugins/runtime-modules/core/ids.d.ts +0 -4
- package/plugins/runtime-modules/core/ids.js +0 -5
- package/plugins/runtime-modules/core/module.d.ts +1 -508
- package/plugins/runtime-modules/core/module.js +2 -4
- package/plugins/runtime-modules/core/server.js +3 -0
- package/plugins/runtime-modules/core/services/table.js +13 -0
- package/plugins/runtime-modules/core/widgets/account/client.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/account/client.js +62 -38
- package/plugins/runtime-modules/core/widgets/account/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/account/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.js +9 -4
- package/plugins/runtime-modules/core/widgets/account/server.d.ts +9 -5
- package/plugins/runtime-modules/core/widgets/account/server.js +89 -49
- package/plugins/runtime-modules/core/widgets/brand/authoring.js +65 -5
- package/plugins/runtime-modules/core/widgets/brand/client.d.ts +8 -4
- package/plugins/runtime-modules/core/widgets/brand/client.js +35 -8
- package/plugins/runtime-modules/core/widgets/brand/config.d.ts +13 -15
- package/plugins/runtime-modules/core/widgets/brand/config.js +24 -9
- package/plugins/runtime-modules/core/widgets/brand/mode.d.ts +23 -0
- package/plugins/runtime-modules/core/widgets/brand/mode.js +7 -0
- package/plugins/runtime-modules/core/widgets/brand/plugin.js +12 -2
- package/plugins/runtime-modules/core/widgets/brand/server.d.ts +3 -6
- package/plugins/runtime-modules/core/widgets/brand/server.js +2 -6
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/button/client.d.ts +14 -1
- package/plugins/runtime-modules/core/widgets/button/client.js +15 -5
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +61 -7
- package/plugins/runtime-modules/core/widgets/button/config.js +29 -20
- package/plugins/runtime-modules/core/widgets/button/plugin.js +34 -4
- package/plugins/runtime-modules/core/widgets/card/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.js +104 -0
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +16 -1
- package/plugins/runtime-modules/core/widgets/card/config.js +16 -2
- package/plugins/runtime-modules/core/widgets/card/editor.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/card/editor.js +48 -0
- package/plugins/runtime-modules/core/widgets/card/plugin.js +3 -1
- package/plugins/runtime-modules/core/widgets/card/server.d.ts +4 -5
- package/plugins/runtime-modules/core/widgets/card/server.js +11 -2
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +9 -9
- package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/cascader/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/checkbox/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +253 -0
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/client.js +55 -0
- package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +94 -88
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +47 -38
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.js +16 -0
- package/plugins/runtime-modules/core/widgets/collection-view/plugin.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/color/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/color/client.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/color/client.js +18 -0
- package/plugins/runtime-modules/core/widgets/color/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/color/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.js +45 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +14 -22
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +11 -7
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/date-picker/config.js +2 -3
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/description/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/description/client.d.ts +5 -2
- package/plugins/runtime-modules/core/widgets/description/client.js +10 -9
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +25 -0
- package/plugins/runtime-modules/core/widgets/description/config.js +5 -0
- package/plugins/runtime-modules/core/widgets/description/editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/description/editor.js +129 -0
- package/plugins/runtime-modules/core/widgets/description/plugin.js +4 -2
- package/plugins/runtime-modules/core/widgets/description/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/description/server.js +36 -12
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/dimension/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.js +118 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.js +37 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.js +23 -0
- package/plugins/runtime-modules/core/widgets/form/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +70 -62
- package/plugins/runtime-modules/core/widgets/form/config.js +65 -67
- package/plugins/runtime-modules/core/widgets/form/plugin.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form/plugin.js +2 -2
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.js +1 -0
- package/plugins/runtime-modules/core/widgets/form-preview/client.js +12 -9
- package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/form-preview/config.js +3 -4
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +13 -1
- package/plugins/runtime-modules/core/widgets/gallery/config.js +10 -7
- package/plugins/runtime-modules/core/widgets/gallery/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/authoring.js +4 -3
- package/plugins/runtime-modules/core/widgets/header-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +2 -5
- package/plugins/runtime-modules/core/widgets/header-navigation/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/plugin.js +3 -2
- package/plugins/runtime-modules/core/widgets/html/config.d.ts +1 -7
- package/plugins/runtime-modules/core/widgets/html/config.js +12 -35
- package/plugins/runtime-modules/core/widgets/html/server.js +16 -20
- package/plugins/runtime-modules/core/widgets/icon/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/icon/client.d.ts +9 -2
- package/plugins/runtime-modules/core/widgets/icon/client.js +5 -3
- package/plugins/runtime-modules/core/widgets/icon/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/icon/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.js +12 -0
- package/plugins/runtime-modules/core/widgets/image/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/image/client.js +9 -6
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +10 -24
- package/plugins/runtime-modules/core/widgets/image/config.js +13 -15
- package/plugins/runtime-modules/core/widgets/image/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/image/editor.js +100 -0
- package/plugins/runtime-modules/core/widgets/input/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/input/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/input/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/locale/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/locale/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +6 -9
- package/plugins/runtime-modules/core/widgets/markdown/config.js +29 -5
- package/plugins/runtime-modules/core/widgets/markdown/editor.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/markdown/editor.js +104 -0
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +1 -0
- package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +1 -19
- package/plugins/runtime-modules/core/widgets/markdown/server.js +1 -486
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +4 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +1 -6
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.js +4 -2
- package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/multi-select/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/number-input/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/number-input/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/otp/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/otp/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/page-title/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/page-title/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/pagination/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/quick-links/authoring.js +3 -3
- package/plugins/runtime-modules/core/widgets/quick-links/client.js +5 -5
- package/plugins/runtime-modules/core/widgets/quick-links/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/quick-links/items.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/quick-links/items.js +27 -0
- package/plugins/runtime-modules/core/widgets/quick-links/server.js +1 -1
- package/plugins/runtime-modules/core/widgets/rate/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/rate/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/rate/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/record/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/record/client.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/client.js +136 -0
- package/plugins/runtime-modules/core/widgets/record/config.d.ts +186 -0
- package/plugins/runtime-modules/core/widgets/record/config.js +214 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/record/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/server.js +6 -0
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +36 -7
- package/plugins/runtime-modules/core/widgets/result/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/result/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/result/plugin.js +5 -4
- package/plugins/runtime-modules/core/widgets/result/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/result/server.js +4 -4
- package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +19 -24
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +15 -20
- package/plugins/runtime-modules/core/widgets/simple-text/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +4 -6
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +15 -32
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +252 -11
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +28 -68
- package/plugins/runtime-modules/core/widgets/simple-text/editor.d.ts +32 -0
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +143 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.js +8 -0
- package/plugins/runtime-modules/core/widgets/simple-text/server.js +13 -3
- package/plugins/runtime-modules/core/widgets/slider/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/slider/config.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/slider/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/slider/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/value.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slider/value.js +7 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/client.js +12 -7
- package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/spacer/authoring.d.ts +1 -3
- package/plugins/runtime-modules/core/widgets/spacer/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/spacer/client.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/spacer/config.d.ts +4 -3
- package/plugins/runtime-modules/core/widgets/spacer/config.js +2 -4
- package/plugins/runtime-modules/core/widgets/spacer/plugin.d.ts +2 -3
- package/plugins/runtime-modules/core/widgets/spacer/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/switch/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/switch/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/switch/config.js +14 -7
- package/plugins/runtime-modules/core/widgets/table/client.js +103 -88
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +120 -12
- package/plugins/runtime-modules/core/widgets/table/config.js +62 -74
- package/plugins/runtime-modules/core/widgets/table/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/table/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.js +10 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.js +12 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.js +37 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.js +39 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.js +18 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +2 -2
- package/plugins/runtime-modules/core/widgets/tree/config.d.ts +9 -1
- package/plugins/runtime-modules/core/widgets/tree/config.js +24 -28
- package/plugins/runtime-modules/core/widgets/tree/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/tree/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets.js +23 -55
- package/plugins/runtime-modules/dashboard/client-data-providers.d.ts +19 -0
- package/plugins/runtime-modules/dashboard/client-data-providers.js +26 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.js +128 -0
- package/plugins/runtime-modules/dashboard/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/dashboard/controller/address.js +1 -5
- package/plugins/runtime-modules/dashboard/data-providers.d.ts +30 -0
- package/plugins/runtime-modules/dashboard/data-providers.js +34 -0
- package/plugins/runtime-modules/dashboard/definition.d.ts +24 -0
- package/plugins/runtime-modules/dashboard/definition.js +11 -1
- package/plugins/runtime-modules/dashboard/ids.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/ids.js +6 -0
- package/plugins/runtime-modules/dashboard/module.d.ts +1 -28
- package/plugins/runtime-modules/dashboard/module.js +2 -4
- package/plugins/runtime-modules/dashboard/presets.js +35 -55
- package/plugins/runtime-modules/dashboard/services/collection.d.ts +4 -0
- package/plugins/runtime-modules/dashboard/services/collection.js +76 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.d.ts +7 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.js +26 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.js +38 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.js +103 -0
- package/plugins/runtime-modules/descriptor-compiler.d.ts +14 -3
- package/plugins/runtime-modules/descriptor-compiler.js +144 -37
- package/plugins/runtime-modules/editor/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/editor/controller/address.js +1 -5
- package/plugins/runtime-modules/editor/module.d.ts +1 -28
- package/plugins/runtime-modules/editor/module.js +2 -4
- package/plugins/runtime-modules/editor/presets.js +2 -12
- package/plugins/runtime-modules/editor/trees/editor-label-set.d.ts +8 -0
- package/plugins/runtime-modules/editor/trees/editor-label-set.js +22 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.js +213 -0
- package/plugins/runtime-modules/form-builder/module.d.ts +1 -28
- package/plugins/runtime-modules/form-builder/module.js +2 -4
- package/plugins/runtime-modules/groups/controller/client.d.ts +2 -2
- package/plugins/runtime-modules/groups/controller/client.js +30 -64
- package/plugins/runtime-modules/groups/controller/definition.d.ts +13 -2
- package/plugins/runtime-modules/groups/controller/definition.js +11 -3
- package/plugins/runtime-modules/groups/data-providers.d.ts +2 -0
- package/plugins/runtime-modules/groups/data-providers.js +64 -12
- package/plugins/runtime-modules/groups/definition.d.ts +3 -0
- package/plugins/runtime-modules/groups/definition.js +9 -0
- package/plugins/runtime-modules/groups/forms.d.ts +0 -1
- package/plugins/runtime-modules/groups/forms.js +0 -47
- package/plugins/runtime-modules/groups/labels.d.ts +4 -1
- package/plugins/runtime-modules/groups/labels.js +8 -2
- package/plugins/runtime-modules/groups/module.d.ts +1 -335
- package/plugins/runtime-modules/groups/module.js +2 -4
- package/plugins/runtime-modules/groups/presets.d.ts +2 -56
- package/plugins/runtime-modules/groups/presets.js +17 -35
- package/plugins/runtime-modules/groups/services/options.js +5 -4
- package/plugins/runtime-modules/groups/services/table.js +42 -33
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.d.ts +13 -0
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +485 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +384 -0
- package/plugins/runtime-modules/localization/cards.d.ts +3 -0
- package/plugins/runtime-modules/localization/cards.js +109 -0
- package/plugins/runtime-modules/localization/controller/client.js +4 -3
- package/plugins/runtime-modules/localization/definition.d.ts +0 -5
- package/plugins/runtime-modules/localization/definition.js +0 -2
- package/plugins/runtime-modules/localization/forms.js +2 -15
- package/plugins/runtime-modules/localization/module.d.ts +1 -372
- package/plugins/runtime-modules/localization/module.js +2 -4
- package/plugins/runtime-modules/localization/presets.d.ts +2 -25
- package/plugins/runtime-modules/localization/presets.js +30 -17
- package/plugins/runtime-modules/localization/server.js +4 -0
- package/plugins/runtime-modules/localization/services/table.js +22 -30
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-shell.js +51 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.d.ts +56 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.js +100 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +251 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +325 -0
- package/plugins/runtime-modules/news/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/authoring-widgets.js +7 -0
- package/plugins/runtime-modules/news/authoring.d.ts +1 -0
- package/plugins/runtime-modules/news/authoring.js +8 -0
- package/plugins/runtime-modules/news/client-data-providers.d.ts +11 -0
- package/plugins/runtime-modules/news/client-data-providers.js +14 -0
- package/plugins/runtime-modules/news/data-providers.d.ts +133 -0
- package/plugins/runtime-modules/news/data-providers.js +112 -0
- package/plugins/runtime-modules/news/definition.d.ts +165 -0
- package/plugins/runtime-modules/news/definition.js +32 -0
- package/plugins/runtime-modules/news/forms.d.ts +39 -0
- package/plugins/runtime-modules/news/forms.js +204 -0
- package/plugins/runtime-modules/news/ids.d.ts +42 -0
- package/plugins/runtime-modules/news/ids.js +125 -0
- package/plugins/runtime-modules/news/module.d.ts +157 -0
- package/plugins/runtime-modules/news/module.js +12 -0
- package/plugins/runtime-modules/news/presets.d.ts +17 -0
- package/plugins/runtime-modules/news/presets.js +64 -0
- package/plugins/runtime-modules/news/server.d.ts +1 -0
- package/plugins/runtime-modules/news/server.js +18 -0
- package/plugins/runtime-modules/news/services/options.d.ts +3 -0
- package/plugins/runtime-modules/news/services/options.js +35 -0
- package/plugins/runtime-modules/news/services/table.d.ts +14 -0
- package/plugins/runtime-modules/news/services/table.js +144 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.d.ts +8 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.js +29 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.d.ts +65 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.js +106 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.js +462 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.d.ts +11 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.js +86 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.js +21 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.d.ts +34 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.js +26 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.d.ts +43 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.js +52 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.d.ts +3 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.js +8 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.d.ts +14 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.js +82 -0
- package/plugins/runtime-modules/news/widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets.js +16 -0
- package/plugins/runtime-modules/observability/authoring-widgets.d.ts +9 -0
- package/plugins/runtime-modules/observability/authoring-widgets.js +11 -6
- package/plugins/runtime-modules/observability/definition.d.ts +0 -5
- package/plugins/runtime-modules/observability/definition.js +0 -2
- package/plugins/runtime-modules/observability/module.d.ts +0 -5
- package/plugins/runtime-modules/observability/presets.d.ts +2 -30
- package/plugins/runtime-modules/observability/presets.js +10 -19
- package/plugins/runtime-modules/observability/server.js +1 -2
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.d.ts +8 -0
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.js +22 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +313 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.d.ts +11 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +633 -0
- package/plugins/runtime-modules/pub-area-preset.d.ts +2 -0
- package/plugins/runtime-modules/pub-area-preset.js +130 -0
- package/plugins/runtime-modules/public/definition.d.ts +14 -3
- package/plugins/runtime-modules/public/definition.js +1 -7
- package/plugins/runtime-modules/public/form-providers.d.ts +29 -0
- package/plugins/runtime-modules/public/form-providers.js +11 -0
- package/plugins/runtime-modules/public/forms.d.ts +3 -0
- package/plugins/runtime-modules/public/forms.js +38 -0
- package/plugins/runtime-modules/public/module.d.ts +46 -1
- package/plugins/runtime-modules/public/module.js +8 -3
- package/plugins/runtime-modules/public/server.js +1 -1
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.js +103 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +105 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.js +79 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.js +82 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.d.ts +16 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.js +110 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.js +194 -0
- package/plugins/runtime-modules/public-base-page-references.d.ts +32 -0
- package/plugins/runtime-modules/public-base-page-references.js +43 -0
- package/plugins/runtime-modules/resolver.js +35 -60
- package/plugins/runtime-modules/revisions/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/client.js +92 -10
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/definition.js +17 -0
- package/plugins/runtime-modules/revisions/forms.d.ts +4 -0
- package/plugins/runtime-modules/revisions/forms.js +70 -0
- package/plugins/runtime-modules/revisions/module.d.ts +1 -149
- package/plugins/runtime-modules/revisions/module.js +2 -4
- package/plugins/runtime-modules/revisions/page-ids.d.ts +9 -0
- package/plugins/runtime-modules/revisions/page-ids.js +28 -0
- package/plugins/runtime-modules/revisions/presets.d.ts +2 -141
- package/plugins/runtime-modules/revisions/presets.js +11 -24
- package/plugins/runtime-modules/revisions/server.js +2 -0
- package/plugins/runtime-modules/revisions/services/table.js +13 -15
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +506 -0
- package/plugins/runtime-modules/runtime-calendar-adapters.js +1 -1
- package/plugins/runtime-modules/settings.d.ts +28 -4
- package/plugins/runtime-modules/settings.js +60 -5
- package/plugins/runtime-modules/shell-tree-composition.d.ts +3 -0
- package/plugins/runtime-modules/sidebar-route.d.ts +55 -0
- package/plugins/runtime-modules/sidebar-route.js +56 -0
- package/plugins/runtime-modules/site-module-client-manifests.d.ts +2 -0
- package/plugins/runtime-modules/site-module-client-manifests.js +2 -0
- package/plugins/runtime-modules/site-module-placements.d.ts +26 -0
- package/plugins/runtime-modules/site-module-placements.js +33 -0
- package/plugins/runtime-modules/site-modules-client.d.ts +2 -0
- package/plugins/runtime-modules/theme/block-descriptors.d.ts +12 -23
- package/plugins/runtime-modules/theme/block-descriptors.js +12 -27
- package/plugins/runtime-modules/theme/controller/client.d.ts +7 -1
- package/plugins/runtime-modules/theme/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/theme/controller/definition.js +7 -0
- package/plugins/runtime-modules/theme/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/theme/materialize-images.d.ts +11 -5
- package/plugins/runtime-modules/theme/materialize-images.js +16 -8
- package/plugins/runtime-modules/theme/module.d.ts +1 -79
- package/plugins/runtime-modules/theme/module.js +2 -4
- package/plugins/runtime-modules/theme/page-ids.d.ts +3 -0
- package/plugins/runtime-modules/theme/page-ids.js +36 -0
- package/plugins/runtime-modules/theme/presets.d.ts +2 -141
- package/plugins/runtime-modules/theme/presets.js +11 -24
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.js +614 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +25 -25
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +311 -117
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +2 -2
- package/plugins/runtime-modules/theme-descriptors.d.ts +68 -0
- package/plugins/runtime-modules/theme-descriptors.js +34 -0
- package/plugins/runtime-modules/threads/addresses.d.ts +15 -0
- package/plugins/runtime-modules/threads/addresses.js +32 -0
- package/plugins/runtime-modules/threads/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/threads/authoring.d.ts +1 -0
- package/plugins/runtime-modules/threads/authoring.js +8 -0
- package/plugins/runtime-modules/threads/cards.d.ts +3 -0
- package/plugins/runtime-modules/threads/cards.js +87 -0
- package/plugins/runtime-modules/threads/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/threads/client-data-providers.js +14 -0
- package/plugins/runtime-modules/threads/client.d.ts +1 -0
- package/plugins/runtime-modules/threads/client.js +7 -0
- package/plugins/runtime-modules/threads/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/threads/controller/address.js +8 -0
- package/plugins/runtime-modules/threads/controller/client.d.ts +85 -0
- package/plugins/runtime-modules/threads/controller/client.js +231 -0
- package/plugins/runtime-modules/threads/controller/definition.d.ts +111 -0
- package/plugins/runtime-modules/threads/controller/definition.js +141 -0
- package/plugins/runtime-modules/threads/data-providers.d.ts +105 -0
- package/plugins/runtime-modules/threads/data-providers.js +116 -0
- package/plugins/runtime-modules/threads/definition.d.ts +150 -0
- package/plugins/runtime-modules/threads/definition.js +54 -0
- package/plugins/runtime-modules/threads/forms.d.ts +38 -0
- package/plugins/runtime-modules/threads/forms.js +267 -0
- package/plugins/runtime-modules/threads/ids.d.ts +10 -0
- package/plugins/runtime-modules/threads/ids.js +15 -0
- package/plugins/runtime-modules/threads/media-spaces.d.ts +14 -0
- package/plugins/runtime-modules/threads/media-spaces.js +22 -0
- package/plugins/runtime-modules/threads/module.d.ts +1 -0
- package/plugins/runtime-modules/threads/module.js +4 -0
- package/plugins/runtime-modules/threads/presets.d.ts +2 -0
- package/plugins/runtime-modules/threads/presets.js +18 -0
- package/plugins/runtime-modules/threads/server.d.ts +1 -0
- package/plugins/runtime-modules/threads/server.js +24 -0
- package/plugins/runtime-modules/threads/services/options.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/options.js +48 -0
- package/plugins/runtime-modules/threads/services/table.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/table.js +130 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.d.ts +23 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.js +775 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.js +445 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.d.ts +46 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.js +59 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.js +24 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.d.ts +42 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.js +51 -0
- package/plugins/runtime-modules/threads/widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/widgets.js +14 -0
- package/plugins/runtime-modules/user-management/cards.d.ts +3 -0
- package/plugins/runtime-modules/user-management/cards.js +73 -0
- package/plugins/runtime-modules/user-management/controller/client.js +1 -1
- package/plugins/runtime-modules/user-management/definition.d.ts +0 -5
- package/plugins/runtime-modules/user-management/definition.js +0 -2
- package/plugins/runtime-modules/user-management/forms.js +0 -12
- package/plugins/runtime-modules/user-management/module.d.ts +1 -257
- package/plugins/runtime-modules/user-management/module.js +2 -4
- package/plugins/runtime-modules/user-management/presets.d.ts +2 -30
- package/plugins/runtime-modules/user-management/presets.js +10 -19
- package/plugins/runtime-modules/user-management/server.js +4 -0
- package/plugins/runtime-modules/user-management/services/table.js +9 -16
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.d.ts +8 -0
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.js +22 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +558 -0
- package/plugins/runtime-modules/video/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/video/authoring.d.ts +1 -0
- package/plugins/runtime-modules/video/authoring.js +8 -0
- package/plugins/runtime-modules/video/definition.d.ts +25 -0
- package/plugins/runtime-modules/video/definition.js +28 -0
- package/plugins/runtime-modules/video/ids.d.ts +9 -0
- package/plugins/runtime-modules/video/ids.js +11 -0
- package/plugins/runtime-modules/video/module.d.ts +11 -0
- package/plugins/runtime-modules/video/module.js +4 -0
- package/plugins/runtime-modules/video/providers.d.ts +21 -0
- package/plugins/runtime-modules/video/providers.js +62 -0
- package/plugins/runtime-modules/video/server.d.ts +1 -0
- package/plugins/runtime-modules/video/server.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.js +51 -0
- package/plugins/runtime-modules/video/widgets/embed/client.d.ts +22 -0
- package/plugins/runtime-modules/video/widgets/embed/client.js +28 -0
- package/plugins/runtime-modules/video/widgets/embed/config.d.ts +101 -0
- package/plugins/runtime-modules/video/widgets/embed/config.js +100 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.js +9 -0
- package/plugins/runtime-modules/video/widgets/embed/server.d.ts +14 -0
- package/plugins/runtime-modules/video/widgets/embed/server.js +54 -0
- package/plugins/runtime-modules/video/widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets.js +14 -0
- package/references.d.ts +3 -1
- package/references.js +3 -1
- package/runtime-authoring-client.d.ts +1 -1
- package/runtime-authoring-client.js +1 -1
- package/runtime-controller-client.d.ts +3 -0
- package/runtime-controller-client.js +15 -0
- package/runtime-data-provider-client.d.ts +1 -1
- package/runtime-data-provider-client.js +1 -1
- package/runtime-render-client.d.ts +1 -0
- package/runtime-render-client.js +1 -0
- package/runtime-user-state-client.d.ts +2 -0
- package/runtime-user-state-client.js +2 -0
- package/server-helpers/area-root-door-warmup.d.ts +35 -0
- package/server-helpers/area-root-door-warmup.js +71 -0
- package/server-helpers/area-root-route.js +0 -1
- package/server-helpers/auth-ui-provider.d.ts +2 -0
- package/server-helpers/auth-ui-provider.js +28 -0
- package/server-helpers/cms-link-targets.d.ts +16 -0
- package/server-helpers/cms-link-targets.js +48 -0
- package/server-helpers/cms-request.d.ts +11 -5
- package/server-helpers/cms-request.js +31 -17
- package/server-helpers/cms-review.d.ts +1 -1
- package/server-helpers/cms-root.d.ts +11 -4
- package/server-helpers/cms-root.js +39 -7
- package/server-helpers/cms-route.js +2 -4
- package/server-helpers/public-login-route.d.ts +1 -2
- package/server-helpers/public-login-route.js +18 -6
- package/server-helpers/request-runtime.d.ts +32 -0
- package/server-helpers/request-runtime.js +34 -1
- package/server-helpers/runtime.d.ts +1 -165
- package/server-helpers/runtime.js +42 -22
- package/server-helpers/site-locale.d.ts +8 -0
- package/server-helpers/site-locale.js +18 -32
- package/server-helpers/translate.js +13 -33
- package/server-helpers.d.ts +5 -0
- package/server-helpers.js +11 -0
- package/styles/builder-scaffold.css +1 -1
- package/styles/control-shape.css +77 -3
- package/styles/controls.css +535 -0
- package/styles/layout-authoring-scaffold.css +54 -7
- package/styles/layout.css +87 -17
- package/styles/root.css +27 -2
- package/styles/shell.css +10 -0
- package/theme/antd-css-var-contract.d.ts +2 -3
- package/theme/antd-css-var-contract.js +2 -3
- package/theme/phi-container-breakpoints.d.ts +35 -2
- package/theme/phi-container-breakpoints.js +32 -0
- package/theme/phi-control-shape.d.ts +54 -4
- package/theme/phi-control-shape.js +170 -10
- package/theme/phi-published-root-style.d.ts +1 -1
- package/theme/phi-root-background.server.d.ts +1 -1
- package/theme/phi-server-tokens.d.ts +9 -37
- package/theme/phi-server-tokens.js +7 -1
- package/theme/phi-theme-adoption.d.ts +2 -1
- package/theme/phi-theme-adoption.js +4 -1
- package/theme/phi-theme-blocks.d.ts +19 -0
- package/theme/phi-theme-blocks.js +16 -6
- package/theme/phi-theme-composition.d.ts +3 -3
- package/theme/phi-theme-composition.js +2 -2
- package/theme/phi-theme-ground-image.d.ts +12 -12
- package/theme/phi-theme-ground-image.js +34 -12
- package/theme/phi-theme-mode.d.ts +86 -9
- package/theme/phi-theme-mode.js +128 -19
- package/theme/phi-theme-placeholder-logo.d.ts +19 -0
- package/theme/phi-theme-placeholder-logo.js +31 -0
- package/theme/phi-theme-presets.d.ts +6 -0
- package/theme/phi-theme-presets.js +41 -0
- package/theme/phi-theme-runtime.js +1 -1
- package/theme/phi-theme-tokens.d.ts +79 -0
- package/theme/phi-theme-tokens.js +227 -0
- package/theme/phi-tokens.d.ts +5 -4
- package/theme/phi-tokens.js +41 -4
- package/theme.d.ts +2 -8
- package/theme.js +2 -8
- package/types/auth-manifest.d.ts +7 -1
- package/types/builder.d.ts +5 -2
- package/types/calendar-keys.d.ts +7 -0
- package/types/calendar-keys.js +8 -0
- package/types/calendar.d.ts +16 -1
- package/types/calendar.js +64 -2
- package/types/cms-border-config.d.ts +2 -0
- package/types/cms-border-config.js +44 -0
- package/types/cms-border-source.d.ts +19 -0
- package/types/cms-border-source.js +34 -0
- package/types/cms-config.d.ts +35 -9
- package/types/cms-config.js +48 -58
- package/types/cms-instance-id.d.ts +4 -5
- package/types/cms-instance-id.js +16 -9
- package/types/cms-module-descriptors.d.ts +106 -2
- package/types/cms-mount-policy.d.ts +0 -12
- package/types/cms-mount-policy.js +0 -16
- package/types/cms-overlay-zones.d.ts +36 -0
- package/types/cms-overlay-zones.js +1 -0
- package/types/cms-overlay.d.ts +29 -3
- package/types/cms-overlay.js +20 -6
- package/types/cms-plugins.d.ts +219 -15
- package/types/cms-presets.d.ts +4 -4
- package/types/cms.d.ts +22 -4
- package/types/collection-provider.d.ts +32 -5
- package/types/collection-view-widget.d.ts +67 -0
- package/types/collection-view-widget.js +1 -0
- package/types/core-runtime-controller.js +3 -5
- package/types/core-widget-placements.d.ts +365 -0
- package/types/core-widget-placements.js +3 -0
- package/types/dashboard-cards.d.ts +152 -0
- package/types/dashboard-cards.js +15 -0
- package/types/draft-status.d.ts +23 -0
- package/types/draft-status.js +20 -0
- package/types/form-descriptor.d.ts +2 -140
- package/types/form-descriptor.js +6 -3
- package/types/markdown.d.ts +6 -0
- package/types/markdown.js +1 -0
- package/types/media.d.ts +28 -0
- package/types/news.d.ts +33 -0
- package/types/news.js +1 -0
- package/types/record-widget.d.ts +49 -0
- package/types/record-widget.js +1 -0
- package/types/references.d.ts +18 -30
- package/types/references.js +9 -114
- package/types/renderable-block-geometry.d.ts +85 -0
- package/types/renderable-block-geometry.js +96 -0
- package/types/renderable-block.d.ts +31 -4
- package/types/responsive.d.ts +1 -11
- package/types/responsive.js +5 -8
- package/types/result-widget.d.ts +5 -0
- package/types/result-widget.js +1 -0
- package/types/runtime-condition.d.ts +3 -90
- package/types/runtime-condition.js +7 -164
- package/types/runtime-data-provider.d.ts +13 -2
- package/types/runtime-data-provider.js +25 -5
- package/types/seed.d.ts +32 -0
- package/types/seed.js +15 -0
- package/types/signals.d.ts +53 -5
- package/types/signals.js +52 -38
- package/types/site-config.d.ts +83 -0
- package/types/site-config.js +1 -0
- package/types/site-request-context.d.ts +167 -0
- package/types/site-request-context.js +1 -0
- package/types/site-theme.d.ts +17 -0
- package/types/spacing.d.ts +1 -3
- package/types/spacing.js +5 -14
- package/types/state-machine.d.ts +229 -0
- package/types/state-machine.js +161 -0
- package/types/table-signal-values.d.ts +8 -0
- package/types/table-signal-values.js +71 -0
- package/types/table-widget.d.ts +34 -22
- package/types/table-widget.js +13 -78
- package/types/thread-widget.d.ts +27 -0
- package/types/thread-widget.js +9 -0
- package/types/threads.d.ts +13 -0
- package/types/threads.js +13 -0
- package/types/tree-widget.d.ts +10 -6
- package/types/tree-widget.js +14 -7
- package/types/tree.d.ts +8 -0
- package/types/user-state.d.ts +17 -0
- package/types/user-state.js +17 -0
- package/types/video.d.ts +152 -0
- package/types/video.js +278 -0
- package/types/widget-runtime.d.ts +19 -3
- package/types.d.ts +12 -31
- package/types.js +4 -1
- package/widgets.d.ts +6 -8
- package/widgets.js +3 -4
- package/builder.d.ts +0 -2
- package/builder.js +0 -2
- package/components/controls/phi-dropdown-control.module.css +0 -63
- package/components/controls/phi-expand-indicator.module.css +0 -16
- package/components/controls/phi-icon-picker-labels.d.ts +0 -27
- package/components/controls/phi-icon-picker-labels.js +0 -26
- package/components/controls/phi-table-control.module.css +0 -16
- package/components/controls/phi-tree-control.module.css +0 -22
- package/components/forms/auth-admin-settings-forms.d.ts +0 -15
- package/components/forms/auth-admin-settings-forms.js +0 -349
- package/components/forms/auth-form-provider-registry.d.ts +0 -1
- package/components/forms/auth-form-provider-registry.js +0 -38
- package/components/forms/auth-form-ui-provider.js +0 -7
- package/components/forms/auth-installations-table-service.js +0 -144
- package/components/forms/auth-link-confirmation-contract.d.ts +0 -7
- package/components/forms/auth-link-confirmation-contract.js +0 -8
- package/components/forms/shared-form-plugins.d.ts +0 -4
- package/components/forms/shared-form-plugins.js +0 -171
- package/components/media/asset-collection-service.js +0 -160
- package/components/media/asset-controller-definition.js +0 -128
- package/components/media/asset-controller-mount.d.ts +0 -4
- package/components/media/asset-controller-mount.js +0 -6
- package/components/media/asset-controller-plugin.d.ts +0 -124
- package/components/media/asset-controller-plugin.js +0 -10
- package/components/media/asset-form-field-providers.js +0 -11
- package/components/media/asset-form-ui-provider.js +0 -13
- package/components/media/asset-inspector-addresses.d.ts +0 -4
- package/components/media/asset-inspector-addresses.js +0 -30
- package/components/media/asset-metadata-form.d.ts +0 -243
- package/components/media/asset-metadata-form.js +0 -209
- package/components/media/asset-options-providers.js +0 -69
- package/components/media/media-settings-forms.d.ts +0 -22
- package/components/media/media-settings-forms.js +0 -130
- package/components/media/phi-area-upload-server.d.ts +0 -7
- package/components/media/phi-area-upload-server.js +0 -13
- package/components/media/phi-asset-collection-view-binding.d.ts +0 -9
- package/components/media/phi-asset-collection-view-binding.js +0 -245
- package/components/media/phi-asset-focal-rect-server.d.ts +0 -6
- package/components/media/phi-asset-focal-rect-server.js +0 -6
- package/components/media/phi-image-inspector-server.d.ts +0 -7
- package/components/media/phi-image-inspector-server.js +0 -18
- package/components/media/phi-image-preview-grid-widget.d.ts +0 -7
- package/components/media/phi-image-preview-grid-widget.js +0 -16
- package/components/media/phi-media-scope-controller.d.ts +0 -20
- package/components/media/phi-media-scope-controller.js +0 -398
- package/components/regions/presets/admin-dashboard-label-set.d.ts +0 -22
- package/components/regions/presets/admin-dashboard-label-set.js +0 -50
- package/components/regions/presets/admin-locales-label-set.d.ts +0 -8
- package/components/regions/presets/admin-locales-label-set.js +0 -22
- package/components/regions/presets/admin-logs-label-set.d.ts +0 -8
- package/components/regions/presets/admin-logs-label-set.js +0 -22
- package/components/regions/presets/admin-settings-label-set.d.ts +0 -6
- package/components/regions/presets/admin-settings-label-set.js +0 -18
- package/components/regions/presets/admin-users-label-set.d.ts +0 -8
- package/components/regions/presets/admin-users-label-set.js +0 -22
- package/components/regions/presets/builder-navigation-label-set.d.ts +0 -35
- package/components/regions/presets/builder-navigation-label-set.js +0 -68
- package/components/regions/presets/builder-settings-label-set.d.ts +0 -17
- package/components/regions/presets/builder-settings-label-set.js +0 -34
- package/components/regions/presets/editor-label-set.d.ts +0 -8
- package/components/regions/presets/editor-label-set.js +0 -22
- package/components/regions/presets/editor-shell.js +0 -44
- package/components/regions/presets/editor-translations-label-set.d.ts +0 -8
- package/components/regions/presets/editor-translations-label-set.js +0 -22
- package/components/regions/presets/phi-auth-area-overlay-tree.server.d.ts +0 -8
- package/components/regions/presets/phi-auth-area-overlay-tree.server.js +0 -114
- package/components/regions/presets/phi-auth-runtime-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-auth-runtime-page-tree.js +0 -57
- package/components/regions/presets/phi-avatar-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-avatar-area-overlay-tree.server.js +0 -104
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.d.ts +0 -7
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.d.ts +0 -20
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.js +0 -527
- package/components/regions/presets/phi-default-accounting-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-accounting-page-tree.js +0 -50
- package/components/regions/presets/phi-default-admin-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-area-preset-tree.js +0 -252
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.js +0 -290
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.js +0 -181
- package/components/regions/presets/phi-default-admin-groups-page-tree.d.ts +0 -13
- package/components/regions/presets/phi-default-admin-groups-page-tree.js +0 -409
- package/components/regions/presets/phi-default-admin-locales-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-default-admin-locales-page-tree.js +0 -264
- package/components/regions/presets/phi-default-admin-logs-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-logs-page-tree.js +0 -287
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.js +0 -94
- package/components/regions/presets/phi-default-admin-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-settings-page-tree.js +0 -82
- package/components/regions/presets/phi-default-admin-users-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-users-page-tree.js +0 -568
- package/components/regions/presets/phi-default-app-groups-page-tree.d.ts +0 -14
- package/components/regions/presets/phi-default-app-groups-page-tree.js +0 -315
- package/components/regions/presets/phi-default-app-profile-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-app-profile-page-tree.js +0 -29
- package/components/regions/presets/phi-default-area-dashboard-page-tree.d.ts +0 -9
- package/components/regions/presets/phi-default-area-dashboard-page-tree.js +0 -67
- package/components/regions/presets/phi-default-builder-area-preset-tree.d.ts +0 -131
- package/components/regions/presets/phi-default-builder-area-preset-tree.js +0 -3580
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.js +0 -112
- package/components/regions/presets/phi-default-builder-settings-page-tree.d.ts +0 -12
- package/components/regions/presets/phi-default-builder-settings-page-tree.js +0 -55
- package/components/regions/presets/phi-default-editor-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-area-preset-tree.js +0 -253
- package/components/regions/presets/phi-default-editor-translations-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-translations-page-tree.js +0 -323
- package/components/regions/presets/phi-default-pub-confirm-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-confirm-page-tree.js +0 -175
- package/components/regions/presets/phi-default-pub-contact-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-contact-page-tree.js +0 -112
- package/components/regions/presets/phi-default-pub-error-page-tree.d.ts +0 -8
- package/components/regions/presets/phi-default-pub-error-page-tree.js +0 -128
- package/components/regions/presets/phi-default-pub-home-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-home-page-tree.js +0 -90
- package/components/regions/presets/phi-default-pub-login-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-login-page-tree.js +0 -111
- package/components/regions/presets/phi-default-pub-registration-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-registration-page-tree.js +0 -127
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.js +0 -159
- package/components/regions/presets/phi-default-pub-terms-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-terms-page-tree.js +0 -93
- package/components/regions/presets/phi-default-pub-welcome-page-tree.d.ts +0 -17
- package/components/regions/presets/phi-default-pub-welcome-page-tree.js +0 -110
- package/components/regions/presets/phi-default-site-area-preset-tree.d.ts +0 -11
- package/components/regions/presets/phi-default-site-area-preset-tree.js +0 -640
- package/components/regions/presets/phi-login-form-nodes.d.ts +0 -46
- package/components/regions/presets/phi-login-form-nodes.js +0 -210
- package/components/regions/presets/profile-label-set.d.ts +0 -11
- package/components/regions/presets/profile-label-set.js +0 -28
- package/components/regions/presets/pub.d.ts +0 -2
- package/components/regions/presets/pub.js +0 -130
- package/components/runtime/accounting-base-controller-plugin.d.ts +0 -1
- package/components/runtime/accounting-base-controller-plugin.js +0 -4
- package/components/runtime/app-base-controller-plugin.d.ts +0 -1
- package/components/runtime/app-base-controller-plugin.js +0 -4
- package/components/runtime/area-base-controller-addresses.d.ts +0 -23
- package/components/runtime/area-base-controller-addresses.js +0 -26
- package/components/runtime/area-base-controller-client-factory.d.ts +0 -2
- package/components/runtime/area-base-controller-client-factory.js +0 -8
- package/components/runtime/area-base-controller-definitions.d.ts +0 -106
- package/components/runtime/area-base-controller-definitions.js +0 -75
- package/components/runtime/auth-controller-plugin.d.ts +0 -1
- package/components/runtime/auth-controller-plugin.js +0 -172
- package/components/runtime/auth-controller-server-definition.d.ts +0 -62
- package/components/runtime/auth-controller-server-definition.js +0 -3
- package/components/runtime/auth-overlay-ids.d.ts +0 -23
- package/components/runtime/auth-overlay-ids.js +0 -27
- package/components/runtime/avatar-overlay-ids.js +0 -19
- package/components/runtime/public-base-controller-plugin.d.ts +0 -1
- package/components/runtime/public-base-controller-plugin.js +0 -4
- package/components/shell/phi-management-icon.d.ts +0 -4
- package/components/shell/phi-management-icon.js +0 -59
- package/components/tables/client/phi-static-table-resource-editor.d.ts +0 -6
- package/components/tables/client/phi-static-table-resource-editor.js +0 -10
- package/components/tables/phi-plain-table.module.css +0 -34
- package/components/widgets/area-menu-items.d.ts +0 -16
- package/components/widgets/area-menu-items.js +0 -26
- package/components/widgets/builder/command-toolbar-authoring-tools.d.ts +0 -5
- package/components/widgets/builder/command-toolbar-authoring-tools.js +0 -41
- package/components/widgets/builder/icon-editor.d.ts +0 -10
- package/components/widgets/builder/icon-editor.js +0 -10
- package/components/widgets/builder/internal-builder.d.ts +0 -22
- package/components/widgets/builder/internal-builder.js +0 -8
- package/components/widgets/builder/simple-text-editor.d.ts +0 -39
- package/components/widgets/builder/simple-text-editor.js +0 -121
- package/components/widgets/client/area-menu-preview.d.ts +0 -5
- package/components/widgets/client/area-menu-preview.js +0 -18
- package/components/widgets/client/card-editor.d.ts +0 -11
- package/components/widgets/client/card-editor.js +0 -46
- package/components/widgets/client/collection-view-widget.d.ts +0 -10
- package/components/widgets/client/collection-view-widget.js +0 -44
- package/components/widgets/client/description-editor.d.ts +0 -6
- package/components/widgets/client/description-editor.js +0 -130
- package/components/widgets/client/image-editor.d.ts +0 -10
- package/components/widgets/client/image-editor.js +0 -100
- package/components/widgets/client/markdown-editor.d.ts +0 -9
- package/components/widgets/client/markdown-editor.js +0 -80
- package/components/widgets/client/phi-color-widget.d.ts +0 -34
- package/components/widgets/client/phi-color-widget.js +0 -45
- package/components/widgets/client/shared/core-table-providers.js +0 -13
- package/components/widgets/client/shared/phi-card-collection-view-binding.d.ts +0 -9
- package/components/widgets/client/shared/phi-card-collection-view-binding.js +0 -106
- package/components/widgets/client/use-table-provider-mutation.d.ts +0 -1
- package/components/widgets/client/use-table-provider-mutation.js +0 -2
- package/components/widgets/label-sets/avatar.d.ts +0 -26
- package/components/widgets/label-sets/editor-translations.d.ts +0 -4
- package/components/widgets/label-sets/editor-translations.js +0 -100
- package/components/widgets/label-sets/footer.d.ts +0 -8
- package/components/widgets/label-sets/footer.js +0 -22
- package/components/widgets/label-types/editor-translations.d.ts +0 -53
- package/components/widgets/quick-links-items.d.ts +0 -6
- package/components/widgets/quick-links-items.js +0 -32
- package/gateway/data-source-fetch.d.ts +0 -12
- package/gateway/data-source-fetch.js +0 -46
- package/gateway/media-proxy.d.ts +0 -9
- package/gateway/media-proxy.js +0 -12
- package/gateway/mutation-fetch.d.ts +0 -5
- package/gateway/mutation-fetch.js +0 -71
- package/gateway.d.ts +0 -13
- package/gateway.js +0 -13
- package/helpers/cms-page-addresses.d.ts +0 -32
- package/helpers/cms-page-addresses.js +0 -77
- package/helpers/css-length.d.ts +0 -1
- package/helpers/css-length.js +0 -10
- package/helpers/site-structure.d.ts +0 -13
- package/helpers/site-structure.js +0 -82
- package/next/module-diagnostics-route.d.ts +0 -37
- package/next/module-diagnostics-route.js +0 -64
- package/next/navigation-target-route.d.ts +0 -8
- package/next/navigation-target-route.js +0 -216
- package/plugins/runtime-modules/accounting/client.d.ts +0 -1
- package/plugins/runtime-modules/accounting/client.js +0 -7
- package/plugins/runtime-modules/app/client.d.ts +0 -1
- package/plugins/runtime-modules/app/client.js +0 -7
- package/plugins/runtime-modules/auth/ui-provider.d.ts +0 -2
- package/plugins/runtime-modules/auth/ui-provider.js +0 -29
- package/plugins/runtime-modules/builder/clients/inline-text-editor.d.ts +0 -31
- package/plugins/runtime-modules/builder/clients/inline-text-editor.js +0 -44
- package/plugins/runtime-modules/builder/navigation-signals.d.ts +0 -36
- package/plugins/runtime-modules/builder/navigation-signals.js +0 -88
- package/plugins/runtime-modules/builder/page-reference-picker.d.ts +0 -16
- package/plugins/runtime-modules/builder/page-reference-picker.js +0 -43
- package/plugins/runtime-modules/builder/root-node-css-size.d.ts +0 -1
- package/plugins/runtime-modules/builder/root-node-css-size.js +0 -10
- package/plugins/runtime-modules/builder/runtime-module-defaults.d.ts +0 -3
- package/plugins/runtime-modules/builder/runtime-module-defaults.js +0 -41
- package/plugins/runtime-modules/builder/signal-route-config.d.ts +0 -3
- package/plugins/runtime-modules/builder/signal-route-config.js +0 -37
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.js +0 -8
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.d.ts +0 -4
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.js +0 -228
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.js +0 -8
- package/plugins/runtime-modules/builder/workspace-view-model.d.ts +0 -4
- package/plugins/runtime-modules/builder/workspace-view-model.js +0 -24
- package/plugins/runtime-modules/client-state.d.ts +0 -5
- package/plugins/runtime-modules/client-state.js +0 -17
- package/plugins/runtime-modules/core/widgets/account/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/area-menu/client.d.ts +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/client.js +0 -61
- package/plugins/runtime-modules/core/widgets/area-menu/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/area-menu/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/area-menu/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.js +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/area-menu/server.js +0 -14
- package/plugins/runtime-modules/core/widgets/card/client.d.ts +0 -37
- package/plugins/runtime-modules/core/widgets/card/client.js +0 -64
- package/plugins/runtime-modules/core/widgets/footer/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/footer/authoring.js +0 -22
- package/plugins/runtime-modules/core/widgets/footer/client.d.ts +0 -21
- package/plugins/runtime-modules/core/widgets/footer/client.js +0 -30
- package/plugins/runtime-modules/core/widgets/footer/config.d.ts +0 -31
- package/plugins/runtime-modules/core/widgets/footer/config.js +0 -34
- package/plugins/runtime-modules/core/widgets/footer/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/footer/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/footer/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/footer/plugin.js +0 -9
- package/plugins/runtime-modules/core/widgets/footer/server.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/footer/server.js +0 -46
- package/plugins/runtime-modules/core/widgets/form/built-in.d.ts +0 -15
- package/plugins/runtime-modules/core/widgets/form/built-in.js +0 -74
- package/plugins/runtime-modules/core/widgets/html/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/html/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/markdown/client.d.ts +0 -72
- package/plugins/runtime-modules/core/widgets/markdown/client.js +0 -141
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/client.d.ts +0 -28
- package/plugins/runtime-modules/core/widgets/profile-email/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-email/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-email/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-email/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/client.d.ts +0 -20
- package/plugins/runtime-modules/core/widgets/profile-locale/client.js +0 -107
- package/plugins/runtime-modules/core/widgets/profile-locale/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-locale/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-locale/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/client.d.ts +0 -23
- package/plugins/runtime-modules/core/widgets/profile-name/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-name/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-name/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-name/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-overview/client.d.ts +0 -19
- package/plugins/runtime-modules/core/widgets/profile-overview/client.js +0 -73
- package/plugins/runtime-modules/core/widgets/profile-overview/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-overview/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-overview/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-overview/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/client.d.ts +0 -27
- package/plugins/runtime-modules/core/widgets/profile-password/client.js +0 -91
- package/plugins/runtime-modules/core/widgets/profile-password/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-password/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-password/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/quick-links/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/quick-links/index.js +0 -1
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/client.d.ts +0 -56
- package/plugins/runtime-modules/observability/widgets/log-detail/client.js +0 -125
- package/plugins/runtime-modules/observability/widgets/log-detail/config.d.ts +0 -58
- package/plugins/runtime-modules/observability/widgets/log-detail/config.js +0 -71
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/server.d.ts +0 -7
- package/plugins/runtime-modules/observability/widgets/log-detail/server.js +0 -13
- package/plugins/runtime-modules/observability/widgets.d.ts +0 -2
- package/plugins/runtime-modules/observability/widgets.js +0 -16
- package/plugins/runtime-modules/public/client.d.ts +0 -1
- package/plugins/runtime-modules/public/client.js +0 -7
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.d.ts +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.js +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground.jpg +0 -0
- package/plugins/runtime-modules/theme/blocks/alpine.d.ts +0 -19
- package/plugins/runtime-modules/theme/blocks/alpine.js +0 -76
- package/plugins/runtime-modules/theme/theme-descriptors.d.ts +0 -80
- package/plugins/runtime-modules/theme/theme-descriptors.js +0 -34
- package/theme/phi-theme-brand-logo.d.ts +0 -12
- package/theme/phi-theme-brand-logo.js +0 -12
- /package/components/widgets/label-types/{editor-translations.js → auth-workflow.js} +0 -0
- /package/{components/media/asset-controller-definition.d.ts → plugins/runtime-modules/asset/controller/definition.d.ts} +0 -0
- /package/{components/media/asset-form-field-providers.d.ts → plugins/runtime-modules/asset/form-providers.d.ts} +0 -0
- /package/{components/media/asset-form-ui-provider.d.ts → plugins/runtime-modules/asset/form-ui-provider.d.ts} +0 -0
- /package/{components/media/asset-collection-service.d.ts → plugins/runtime-modules/asset/services/collection.d.ts} +0 -0
- /package/{components/media/asset-options-providers.d.ts → plugins/runtime-modules/asset/services/options.d.ts} +0 -0
- /package/{components/forms/auth-form-ui-provider.d.ts → plugins/runtime-modules/auth/form-ui-provider.d.ts} +0 -0
- /package/{components/forms/auth-installations-table-service.d.ts → plugins/runtime-modules/auth/services/installations-table.d.ts} +0 -0
- /package/{components/runtime/avatar-overlay-ids.d.ts → plugins/runtime-modules/avatar/addresses.d.ts} +0 -0
- /package/{components/widgets/label-sets/avatar.js → plugins/runtime-modules/avatar/labels.js} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.d.ts → plugins/runtime-modules/avatar/overlay-tree.d.ts} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.server.d.ts → plugins/runtime-modules/avatar/overlay-tree.server.d.ts} +0 -0
- /package/{components/widgets/client/shared/core-table-providers.d.ts → plugins/runtime-modules/core/services/table.d.ts} +0 -0
- /package/{components/regions/presets/editor-shell.d.ts → plugins/runtime-modules/localization/trees/editor-translations-shell.d.ts} +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo, useRef, useState } from "react";
|
|
4
|
+
import { PhiMediaKind } from "../../constants/media";
|
|
5
|
+
import { PhiButtonControl } from "../controls/phi-button-control";
|
|
6
|
+
import { PhiFileDropControl } from "../controls/phi-file-drop-control";
|
|
7
|
+
import { PhiFlexControl } from "../controls/phi-flex-control";
|
|
8
|
+
import { PhiProgressControl } from "../controls/phi-progress-control";
|
|
9
|
+
import { PhiTagControl } from "../controls/phi-tag-control";
|
|
10
|
+
import { PhiTypographyControl } from "../controls/phi-typography-control";
|
|
11
|
+
import { PHI_MEDIA_UPLOAD_DEFAULT_LABELS, usePhiMediaUpload, } from "../media/phi-media-upload";
|
|
12
|
+
import { PHI_FORM_UPLOAD_LABEL_KEYS } from "./form-provider-contract";
|
|
13
|
+
const DEFAULT_TRIGGER_LABEL = "Choose a file";
|
|
14
|
+
const DEFAULT_TOO_MANY_LABEL = "No more files fit here.";
|
|
15
|
+
const MEDIA_KINDS = new Set(Object.values(PhiMediaKind));
|
|
16
|
+
/**
|
|
17
|
+
* What the Form value is: the Media Asset ids the finished uploads left behind.
|
|
18
|
+
*
|
|
19
|
+
* Exported because a handler and a test read the same shape, and because the one thing a caller must not
|
|
20
|
+
* do is guess it from a sample payload.
|
|
21
|
+
*/
|
|
22
|
+
export function readPhiFormUploadAssetIds(value) {
|
|
23
|
+
if (!Array.isArray(value)) {
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
return value.filter((entry) => typeof entry === "number" && Number.isInteger(entry) && entry > 0);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The field's own narrowing of what the Site allows.
|
|
30
|
+
*
|
|
31
|
+
* An unknown kind is dropped rather than normalized: `normalizePhiMediaKind` answers "other" for anything
|
|
32
|
+
* it does not recognize, which on a declaration would silently turn a typo into the catch-all and accept
|
|
33
|
+
* more than the Form asked for.
|
|
34
|
+
*/
|
|
35
|
+
function readUploadSettings(config) {
|
|
36
|
+
const declaredKinds = Array.isArray(config?.kinds)
|
|
37
|
+
? config.kinds.filter((entry) => typeof entry === "string" && MEDIA_KINDS.has(entry))
|
|
38
|
+
: [];
|
|
39
|
+
const maxFiles = typeof config?.maxFiles === "number" && config.maxFiles >= 1
|
|
40
|
+
? Math.trunc(config.maxFiles)
|
|
41
|
+
: null;
|
|
42
|
+
const maxBytes = typeof config?.maxBytes === "number" && config.maxBytes >= 1
|
|
43
|
+
? Math.trunc(config.maxBytes)
|
|
44
|
+
: undefined;
|
|
45
|
+
const space = typeof config?.space === "string" && config.space.trim() ? config.space.trim() : null;
|
|
46
|
+
return { kinds: declaredKinds.length === 0 ? undefined : declaredKinds, maxFiles, maxBytes, space };
|
|
47
|
+
}
|
|
48
|
+
function resolveUploadLabels(labels) {
|
|
49
|
+
const read = (key, fallback) => labels?.[key]?.trim() || fallback;
|
|
50
|
+
return {
|
|
51
|
+
errorGeneric: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorGeneric, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorGeneric),
|
|
52
|
+
errorNetwork: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorNetwork, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorNetwork),
|
|
53
|
+
errorTooLarge: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorTooLarge, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorTooLarge),
|
|
54
|
+
errorDuplicate: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorDuplicate, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorDuplicate),
|
|
55
|
+
errorTypeNotAllowed: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorTypeNotAllowed, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorTypeNotAllowed),
|
|
56
|
+
errorQuotaExceeded: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorQuotaExceeded, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorQuotaExceeded),
|
|
57
|
+
errorSpaceUnavailable: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorSpaceUnavailable, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorSpaceUnavailable),
|
|
58
|
+
errorStorageUnreachable: read(PHI_FORM_UPLOAD_LABEL_KEYS.errorStorageUnreachable, PHI_MEDIA_UPLOAD_DEFAULT_LABELS.errorStorageUnreachable),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The shared upload field Control: attach a file, watch it arrive, take it back out again.
|
|
63
|
+
*
|
|
64
|
+
* It owns no value of its own. Every upload that finishes appends its Asset id to the Form value and
|
|
65
|
+
* every removal takes one out, which is what keeps `required`, a reset and a re-render honest -- the same
|
|
66
|
+
* arrangement the compound Table field uses for the same reason. What it does keep locally is the part
|
|
67
|
+
* that is not a value: the transfer in progress and the sentence that a refusal produced.
|
|
68
|
+
*
|
|
69
|
+
* Emptiness is `undefined` rather than `[]`. Ant Design's required rule accepts an empty array, so a
|
|
70
|
+
* Form asking for a mandatory attachment would submit without one.
|
|
71
|
+
*
|
|
72
|
+
* The file name comes from the upload that is still in this Control's hands. An id that arrived as an
|
|
73
|
+
* initial value has no name here, and inventing one would mean reading the Media Asset -- a second
|
|
74
|
+
* contract inside a field provider, which is not this Control's to open.
|
|
75
|
+
*/
|
|
76
|
+
export function PhiUploadFormControl({ field, value, onChange, placeholder, labels, disabled, readOnly, formContext, }) {
|
|
77
|
+
const settings = useMemo(() => readUploadSettings(field.config), [field.config]);
|
|
78
|
+
const uploadLabels = useMemo(() => resolveUploadLabels(labels), [labels]);
|
|
79
|
+
const [refusal, setRefusal] = useState(null);
|
|
80
|
+
const assetIds = readPhiFormUploadAssetIds(value);
|
|
81
|
+
const inFlight = useRef(0);
|
|
82
|
+
/*
|
|
83
|
+
* The value as the Form holds it this instant, rather than as this render received it.
|
|
84
|
+
*
|
|
85
|
+
* Two files chosen at once finish independently, and a handler appending to the list its own render
|
|
86
|
+
* started from would drop the other one's id. The Form store answers synchronously and is what
|
|
87
|
+
* `formContext` exists for, so the second upload appends to the first one's result without either of
|
|
88
|
+
* them keeping a copy. A host that renders a field Provider outside `PhiFormControl` passes no context;
|
|
89
|
+
* there the render's value is all there is, and one upload at a time is all that holds.
|
|
90
|
+
*/
|
|
91
|
+
const readAssetIdsNow = () => formContext ? readPhiFormUploadAssetIds(formContext.getValues()[field.key]) : assetIds;
|
|
92
|
+
const commit = (next) => onChange?.(next.length === 0 ? undefined : [...next]);
|
|
93
|
+
const acceptance = useMemo(() => ({ kinds: settings.kinds, maxBytes: settings.maxBytes, multiple: settings.maxFiles !== 1 }), [settings]);
|
|
94
|
+
const initOptions = useMemo(() => ({ spaceAddress: settings.space }), [settings]);
|
|
95
|
+
const { accept, items, upload } = usePhiMediaUpload({
|
|
96
|
+
labels: uploadLabels,
|
|
97
|
+
acceptance,
|
|
98
|
+
initOptions,
|
|
99
|
+
onUploaded: (asset) => {
|
|
100
|
+
setRefusal(null);
|
|
101
|
+
commit([...readAssetIdsNow(), asset.id]);
|
|
102
|
+
},
|
|
103
|
+
onRejected: (message) => setRefusal(message),
|
|
104
|
+
});
|
|
105
|
+
const nameByAssetId = new Map(items
|
|
106
|
+
.filter((item) => item.assetId != null)
|
|
107
|
+
.map((item) => [item.assetId, item.file.name]));
|
|
108
|
+
const transferring = items.filter((item) => item.status === "uploading");
|
|
109
|
+
const full = settings.maxFiles != null && assetIds.length >= settings.maxFiles;
|
|
110
|
+
return (_jsxs(PhiFlexControl, { vertical: true, gap: "small", children: [assetIds.length === 0 ? null : (_jsx(PhiFlexControl, { wrap: true, gap: "small", children: assetIds.map((assetId) => (_jsx(PhiTagControl, { closable: !disabled && !readOnly, onClose: () => commit(readAssetIdsNow().filter((entry) => entry !== assetId)), children: nameByAssetId.get(assetId) ?? `#${assetId}` }, assetId))) })), transferring.map((item) => (_jsx(PhiProgressControl, { percent: Math.round(item.progress), size: "small" }, item.localId))), readOnly ? null : (_jsx(PhiFileDropControl, { accept: accept, multiple: settings.maxFiles !== 1, disabled: disabled || full, onFile: (file) => {
|
|
111
|
+
/*
|
|
112
|
+
* Counted rather than read off the items, because a multiple selection arrives file by file
|
|
113
|
+
* within one tick and no state has moved yet when the second one is offered.
|
|
114
|
+
*/
|
|
115
|
+
if (settings.maxFiles != null && readAssetIdsNow().length + inFlight.current >= settings.maxFiles) {
|
|
116
|
+
setRefusal(labels?.[PHI_FORM_UPLOAD_LABEL_KEYS.tooMany]?.trim() || DEFAULT_TOO_MANY_LABEL);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
inFlight.current += 1;
|
|
120
|
+
void upload(file).finally(() => {
|
|
121
|
+
inFlight.current -= 1;
|
|
122
|
+
});
|
|
123
|
+
}, children: _jsx(PhiButtonControl, { label: placeholder?.trim()
|
|
124
|
+
|| labels?.[PHI_FORM_UPLOAD_LABEL_KEYS.trigger]?.trim()
|
|
125
|
+
|| DEFAULT_TRIGGER_LABEL, disabled: disabled || full, onClick: () => { } }) })), refusal ? _jsx(PhiTypographyControl, { type: "danger", children: refusal }) : null] }));
|
|
126
|
+
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type PhiBaseLayoutSlotStates
|
|
3
|
-
import { type PhiBaseLayoutProps } from "../phi-layout-view-model";
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type PhiBaseLayoutSlotStates } from "../phi-layout-contract";
|
|
4
3
|
export type { PhiBaseLayoutProps } from "../phi-layout-view-model";
|
|
5
|
-
export
|
|
6
|
-
hasContent: boolean;
|
|
7
|
-
slotState: PhiBaseLayoutSlotState;
|
|
8
|
-
frameRadius: CSSProperties["borderRadius"];
|
|
9
|
-
editFrameBackground?: CSSProperties["background"];
|
|
10
|
-
minHeight: CSSProperties["minHeight"];
|
|
11
|
-
}): CSSProperties;
|
|
12
|
-
export { PhiBaseLayoutSlotScope, usePhiBaseLayoutOwnSlotController, usePhiBaseLayoutSlotController, usePhiBaseLayoutSlotState, usePhiBaseLayoutSlotStates, } from "../phi-layout-slot-state";
|
|
4
|
+
export { PhiBaseLayoutSlotScope, usePhiBaseLayoutOwnSlotController, usePhiBaseLayoutSlotController, usePhiBaseLayoutSlotStates, } from "../phi-layout-slot-state";
|
|
13
5
|
export declare function PhiBaseLayoutSlotStateProvider({ slotCount, initialSlotStates, children, }: {
|
|
14
6
|
slotCount: number;
|
|
15
7
|
initialSlotStates?: PhiBaseLayoutSlotStates;
|
|
16
8
|
children: ReactNode;
|
|
17
9
|
}): import("react").JSX.Element;
|
|
18
|
-
export declare function PhiBaseLayout({ slots, editSlotLabels, layoutKind, labelEnd, padding, paddingTop, paddingRight, paddingBottom, paddingLeft, background, backgroundLayer, border, borderRadius, effect, blockId, renderMode, visibility, enabled, capabilities, runtime, debugMode, className, size, minSize, maxSize, collapsedSizeHint, zIndex, opacity, shadow, margin, gap, initialSlotStates, style, editSlotAction, editRenderInsertControl, }: PhiBaseLayoutProps): import("react").JSX.Element | null;
|
|
@@ -1,37 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as _jsx
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { resolvePhiBaseLayoutSlotStates,
|
|
6
|
-
import { isPhiLayoutAuthoringRender, phiLayoutDebugLayerMarker, } from "../../../helpers/layout-authoring-markers";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useContext, useMemo, useState, } from "react";
|
|
4
|
+
import {} from "../phi-layout-contract";
|
|
5
|
+
import { resolvePhiBaseLayoutSlotStates, } from "../phi-layout-view-model";
|
|
7
6
|
import { PhiBaseLayoutSlotStateContext } from "../phi-layout-slot-state";
|
|
8
|
-
|
|
9
|
-
return value == null || value === 0 || value === "0" || value === "0px" ? undefined : value;
|
|
10
|
-
}
|
|
11
|
-
export function resolvePhiLayoutEmptySlotFrameStyle(options) {
|
|
12
|
-
const { hasContent, slotState, frameRadius, editFrameBackground, minHeight } = options;
|
|
13
|
-
const frameBorderColor = hasContent
|
|
14
|
-
? "rgba(0, 0, 0, 0.14)"
|
|
15
|
-
: slotState === "collapsed"
|
|
16
|
-
? "var(--phi-debug-layer-slot-border-strong)"
|
|
17
|
-
: "var(--phi-debug-layer-slot-border)";
|
|
18
|
-
return {
|
|
19
|
-
display: "flex",
|
|
20
|
-
flexDirection: "column",
|
|
21
|
-
gap: 0,
|
|
22
|
-
minWidth: 0,
|
|
23
|
-
flex: "1 1 auto",
|
|
24
|
-
alignSelf: "stretch",
|
|
25
|
-
border: `1px dashed ${frameBorderColor}`,
|
|
26
|
-
borderRadius: frameRadius,
|
|
27
|
-
background: editFrameBackground ?? (hasContent ? "transparent" : "var(--phi-debug-layer-slot-background)"),
|
|
28
|
-
padding: 0,
|
|
29
|
-
minHeight,
|
|
30
|
-
overflow: "hidden",
|
|
31
|
-
boxShadow: "inset 0 0 0 1px var(--phi-debug-layer-slot-border-strong)",
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export { PhiBaseLayoutSlotScope, usePhiBaseLayoutOwnSlotController, usePhiBaseLayoutSlotController, usePhiBaseLayoutSlotState, usePhiBaseLayoutSlotStates, } from "../phi-layout-slot-state";
|
|
7
|
+
export { PhiBaseLayoutSlotScope, usePhiBaseLayoutOwnSlotController, usePhiBaseLayoutSlotController, usePhiBaseLayoutSlotStates, } from "../phi-layout-slot-state";
|
|
35
8
|
function usePhiBaseLayoutSlotStateContext(slotCount, initialSlotStates) {
|
|
36
9
|
const parentSlotContext = useContext(PhiBaseLayoutSlotStateContext);
|
|
37
10
|
const [slotStates, setSlotStates] = useState(() => resolvePhiBaseLayoutSlotStates(slotCount, initialSlotStates));
|
|
@@ -71,136 +44,3 @@ export function PhiBaseLayoutSlotStateProvider({ slotCount, initialSlotStates, c
|
|
|
71
44
|
const resolvedContext = usePhiBaseLayoutSlotStateContext(slotCount, initialSlotStates);
|
|
72
45
|
return (_jsx(PhiBaseLayoutSlotStateContext.Provider, { value: resolvedContext, children: children }));
|
|
73
46
|
}
|
|
74
|
-
export function PhiBaseLayout({ slots, editSlotLabels, layoutKind, labelEnd, padding, paddingTop, paddingRight, paddingBottom, paddingLeft, background, backgroundLayer, border, borderRadius, effect, blockId, renderMode, visibility, enabled, capabilities, runtime, debugMode, className, size, minSize, maxSize, collapsedSizeHint, zIndex, opacity, shadow, margin = 0, gap = 0, initialSlotStates, style, editSlotAction, editRenderInsertControl, }) {
|
|
75
|
-
const isAuthoringRender = isPhiLayoutAuthoringRender({ editSlotAction, editSlotLabels, capabilities });
|
|
76
|
-
const slotCount = slots?.length ?? 0;
|
|
77
|
-
const slotList = slots ?? [];
|
|
78
|
-
const resolvedContext = usePhiBaseLayoutSlotStateContext(slotCount, initialSlotStates);
|
|
79
|
-
const resolvedSlotStates = resolvedContext.slotStates;
|
|
80
|
-
const resolvedRenderMode = renderMode ?? "live";
|
|
81
|
-
const isEditMode = resolvedRenderMode === "editor";
|
|
82
|
-
const resolvedVisibility = visibility ?? "visible";
|
|
83
|
-
const resolvedEnabled = enabled ?? true;
|
|
84
|
-
const resolvedDebugMode = debugMode ?? false;
|
|
85
|
-
const resolvedSize = resolvedVisibility === "collapsed"
|
|
86
|
-
? collapsedSizeHint ?? size
|
|
87
|
-
: size;
|
|
88
|
-
const resolvedMargin = resolvePhiRenderableBlockStyleValue(margin);
|
|
89
|
-
const resolvedGap = resolvePhiRenderableBlockStyleValue(gap);
|
|
90
|
-
const resolvedZIndex = resolvePhiRenderableBlockStyleValue(zIndex ?? 0);
|
|
91
|
-
const resolvedOpacity = opacity ?? 1;
|
|
92
|
-
const resolveLayoutSlotNode = (slot, index) => {
|
|
93
|
-
const slotState = resolvedSlotStates[index] ?? "expanded";
|
|
94
|
-
if (slotState === "hidden") {
|
|
95
|
-
return null;
|
|
96
|
-
}
|
|
97
|
-
if (slotState === "collapsed") {
|
|
98
|
-
if (!isValidElement(slot)) {
|
|
99
|
-
return null;
|
|
100
|
-
}
|
|
101
|
-
const elementSlot = slot;
|
|
102
|
-
const slotStyle = elementSlot.props.style;
|
|
103
|
-
return cloneElement(elementSlot, {
|
|
104
|
-
style: {
|
|
105
|
-
...(slotStyle ?? {}),
|
|
106
|
-
width: 0,
|
|
107
|
-
height: 0,
|
|
108
|
-
minWidth: 0,
|
|
109
|
-
minHeight: 0,
|
|
110
|
-
flexBasis: 0,
|
|
111
|
-
flexGrow: 0,
|
|
112
|
-
flexShrink: 0,
|
|
113
|
-
overflow: "hidden",
|
|
114
|
-
opacity: 0,
|
|
115
|
-
pointerEvents: "none",
|
|
116
|
-
},
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
return slot;
|
|
120
|
-
};
|
|
121
|
-
if (resolvedVisibility === "hidden") {
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
124
|
-
const resolvedLiveSlots = (slots ?? [])
|
|
125
|
-
.map((slot, index) => resolveLayoutSlotNode(slot, index))
|
|
126
|
-
.filter((slot) => slot !== null);
|
|
127
|
-
const resolvedEditSlots = isEditMode
|
|
128
|
-
? (() => {
|
|
129
|
-
const rendered = [];
|
|
130
|
-
const inputSlots = slotList.length > 0 ? slotList : [null];
|
|
131
|
-
inputSlots.forEach((slot, index) => {
|
|
132
|
-
const resolvedSlot = resolveLayoutSlotNode(slot, index);
|
|
133
|
-
if (resolvedSlot !== null) {
|
|
134
|
-
rendered.push(resolvedSlot);
|
|
135
|
-
}
|
|
136
|
-
const nextSlotIndex = slotList.length > 0 ? index + 1 : 0;
|
|
137
|
-
const insertButton = editSlotAction && editRenderInsertControl
|
|
138
|
-
? editRenderInsertControl({
|
|
139
|
-
key: `insert-${index}`,
|
|
140
|
-
presentation: "inline",
|
|
141
|
-
slotIndex: nextSlotIndex,
|
|
142
|
-
label: editSlotLabels?.[index],
|
|
143
|
-
onInsert: (targetSlotIndex) => editSlotAction(targetSlotIndex, {
|
|
144
|
-
defaultPickSection: "widget",
|
|
145
|
-
allowWidgetSection: true,
|
|
146
|
-
slotIndex: targetSlotIndex,
|
|
147
|
-
}),
|
|
148
|
-
})
|
|
149
|
-
: null;
|
|
150
|
-
if (insertButton !== null) {
|
|
151
|
-
rendered.push(insertButton);
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
return rendered;
|
|
155
|
-
})()
|
|
156
|
-
: resolvedLiveSlots;
|
|
157
|
-
const { style: resolvedLayoutStyle, hasExplicitLayoutBackground, } = resolvePhiBaseLayoutChrome({
|
|
158
|
-
labelEnd,
|
|
159
|
-
padding,
|
|
160
|
-
paddingTop,
|
|
161
|
-
paddingRight,
|
|
162
|
-
paddingBottom,
|
|
163
|
-
paddingLeft,
|
|
164
|
-
background,
|
|
165
|
-
border,
|
|
166
|
-
borderRadius,
|
|
167
|
-
effect,
|
|
168
|
-
shadow,
|
|
169
|
-
});
|
|
170
|
-
const resolvedContainerStyle = {
|
|
171
|
-
...resolvePhiLayoutBoxStyle({
|
|
172
|
-
size: resolvedSize,
|
|
173
|
-
minSize,
|
|
174
|
-
maxSize,
|
|
175
|
-
}),
|
|
176
|
-
...(resolvedZIndex == null ? {} : { zIndex: resolvedZIndex }),
|
|
177
|
-
opacity: resolvedOpacity,
|
|
178
|
-
...(resolvedMargin == null
|
|
179
|
-
? {}
|
|
180
|
-
: {
|
|
181
|
-
marginTop: resolvedMargin,
|
|
182
|
-
marginRight: resolvedMargin,
|
|
183
|
-
marginBottom: resolvedMargin,
|
|
184
|
-
marginLeft: resolvedMargin,
|
|
185
|
-
}),
|
|
186
|
-
...(resolvedGap == null
|
|
187
|
-
? {}
|
|
188
|
-
: {
|
|
189
|
-
rowGap: resolvedGap,
|
|
190
|
-
columnGap: resolvedGap,
|
|
191
|
-
}),
|
|
192
|
-
...resolvedLayoutStyle,
|
|
193
|
-
...(resolvedEnabled
|
|
194
|
-
? {}
|
|
195
|
-
: {
|
|
196
|
-
opacity: 0.5,
|
|
197
|
-
pointerEvents: "none",
|
|
198
|
-
}),
|
|
199
|
-
flex: "1 1 auto",
|
|
200
|
-
minWidth: 0,
|
|
201
|
-
minHeight: 0,
|
|
202
|
-
overflow: resolvedVisibility === "collapsed" ? "hidden" : undefined,
|
|
203
|
-
...style,
|
|
204
|
-
};
|
|
205
|
-
return (_jsx(PhiBaseLayoutSlotStateContext.Provider, { value: resolvedContext, children: _jsxs("div", { "data-phi-block-id": blockId ?? undefined, "data-layout-kind": layoutKind, "data-phi-block-render-mode": resolvedRenderMode, "data-phi-block-visibility": resolvedVisibility, "data-phi-block-enabled": resolvedEnabled ? "true" : "false", "data-phi-block-selectable": capabilities?.selectable ? "true" : undefined, "data-phi-block-draggable": capabilities?.draggable ? "true" : undefined, "data-phi-block-hoverable": capabilities?.hoverable ? "true" : undefined, "data-phi-block-activatable": capabilities?.activatable ? "true" : undefined, "data-phi-block-focusable": capabilities?.focusable ? "true" : undefined, "data-phi-block-droppable": capabilities?.droppable ? "true" : undefined, "data-phi-block-selected": runtime?.selected ? "true" : undefined, "data-phi-block-hovered": runtime?.hovered ? "true" : undefined, "data-phi-block-dragging": runtime?.dragging ? "true" : undefined, "data-phi-block-focused": runtime?.focused ? "true" : undefined, "data-phi-block-active": runtime?.active ? "true" : undefined, "data-phi-layout-debug-layer": phiLayoutDebugLayerMarker(isAuthoringRender), "data-phi-debug-scaffold": resolvedDebugMode ? "on" : undefined, "data-phi-layout-has-explicit-layout-background": hasExplicitLayoutBackground ? "true" : "false", className: ["phi-layout", className].filter(Boolean).join(" "), style: resolvedContainerStyle, children: [backgroundLayer, resolvedEditSlots] }) }));
|
|
206
|
-
}
|
|
@@ -33,7 +33,6 @@ export type PhiCarouselLayoutProps = Omit<PhiBaseLayoutProps, "slots"> & {
|
|
|
33
33
|
slots: ReactNode[];
|
|
34
34
|
slotKeys: string[];
|
|
35
35
|
slotMeta?: PhiCarouselLayoutSlotMeta[];
|
|
36
|
-
activeSlotKey?: string;
|
|
37
36
|
defaultActiveSlotKey?: string;
|
|
38
37
|
visibleSlots?: number;
|
|
39
38
|
windowAnchor?: PhiSequenceAnchor;
|
|
@@ -61,4 +60,4 @@ export type PhiCarouselLayoutProps = Omit<PhiBaseLayoutProps, "slots"> & {
|
|
|
61
60
|
editSlotAnchor?: PhiAnchorWidgetPlacement | null;
|
|
62
61
|
style?: CSSProperties;
|
|
63
62
|
};
|
|
64
|
-
export declare function PhiCarouselLayout({ slots, slotKeys, slotMeta,
|
|
63
|
+
export declare function PhiCarouselLayout({ slots, slotKeys, slotMeta, defaultActiveSlotKey, visibleSlots, windowAnchor, transition, transitionDurationMs, transitionEasing, slotGap, loop, controls, controlLabels, autoplayMs, lookahead, slotAnchor, ...layoutProps }: PhiCarouselLayoutProps): import("react").JSX.Element;
|
|
@@ -10,8 +10,9 @@ import { resolvePhiBaseLayoutChrome, } from "../phi-layout-view-model";
|
|
|
10
10
|
import { isRenderablePhiNode } from "../phi-layout-scaffold-utils";
|
|
11
11
|
import { PhiLayoutAnchoredOverlay } from "./phi-layout-anchored-overlay";
|
|
12
12
|
import { PhiSequenceSlotEditor } from "./phi-sequence-slot-editor";
|
|
13
|
-
import { usePhiSlotSequence } from "../use-phi-slot-sequence";
|
|
14
|
-
|
|
13
|
+
import { resolvePhiSequenceEditableSlotCount, usePhiSlotSequence } from "../use-phi-slot-sequence";
|
|
14
|
+
import { resolvePhiCarouselCurrentPage, resolvePhiCarouselPageStarts, resolvePhiCarouselStep, } from "../phi-carousel-pages";
|
|
15
|
+
export function PhiCarouselLayout({ slots, slotKeys, slotMeta, defaultActiveSlotKey, visibleSlots = 1, windowAnchor = "start", transition = "slide", transitionDurationMs, transitionEasing, slotGap = 0, loop = false, controls = "arrows", controlLabels, autoplayMs = 0, lookahead = 1, slotAnchor = "center", ...layoutProps }) {
|
|
15
16
|
// Named fields rather than the rest object: handing the compiler a whole rest object makes every
|
|
16
17
|
// value later destructured out of it look like it may change, which costs the component its memoization.
|
|
17
18
|
const authoring = {
|
|
@@ -19,15 +20,18 @@ export function PhiCarouselLayout({ slots, slotKeys, slotMeta, activeSlotKey, de
|
|
|
19
20
|
editSlotLabels: layoutProps.editSlotLabels,
|
|
20
21
|
capabilities: layoutProps.capabilities,
|
|
21
22
|
};
|
|
22
|
-
const { blockId, renderMode, style, layoutKind = "carousel", padding, paddingTop, paddingRight, paddingBottom, paddingLeft, background, backgroundLayer, border, borderRadius, effect, shadow, editSlotAction, editRenderInsertControl, editSlotAnchor = "center", } = layoutProps;
|
|
23
|
+
const { blockId, renderMode, style, layoutKind = "carousel", padding, paddingTop, paddingRight, paddingBottom, paddingLeft, background, backgroundLayer, borderSource, border, borderRadius, effect, shadow, editSlotAction, editRenderInsertControl, editSlotAnchor = "center", } = layoutProps;
|
|
23
24
|
const isEditMode = renderMode === "editor";
|
|
25
|
+
const editableSlotCount = resolvePhiSequenceEditableSlotCount(slots, slotKeys);
|
|
24
26
|
const { token } = theme.useToken();
|
|
25
27
|
const { activeIndex, slotMeta: resolvedSlotMeta, setActiveIndex, } = usePhiSlotSequence({
|
|
26
28
|
blockId,
|
|
27
29
|
slots,
|
|
28
30
|
slotKeys,
|
|
31
|
+
// While authoring, the sequence reaches one slot past the last filled one -- the empty slot the
|
|
32
|
+
// next child goes into. A page has no such slot and steps through what it holds.
|
|
33
|
+
...(isEditMode ? { slotCount: editableSlotCount } : {}),
|
|
29
34
|
...(slotMeta ? { slotLabels: slotMeta } : {}),
|
|
30
|
-
...(activeSlotKey === undefined ? {} : { activeSlotKey }),
|
|
31
35
|
...(defaultActiveSlotKey === undefined ? {} : { defaultActiveSlotKey }),
|
|
32
36
|
});
|
|
33
37
|
/*
|
|
@@ -45,22 +49,16 @@ export function PhiCarouselLayout({ slots, slotKeys, slotMeta, activeSlotKey, de
|
|
|
45
49
|
const nextFilled = track.findIndex((entry) => entry.slotIndex >= activeIndex);
|
|
46
50
|
const trackIndex = nextFilled >= 0 ? nextFilled : Math.max(track.length - 1, 0);
|
|
47
51
|
const span = Math.min(Math.max(visibleSlots, 1), Math.max(track.length, 1));
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
const
|
|
52
|
+
// Where the window stops: a window at a time, and the last window rather than the last slot -- past
|
|
53
|
+
// it the window would hang off the end. The arrows, the dots and the timer all read this one list.
|
|
54
|
+
const pageStarts = useMemo(() => resolvePhiCarouselPageStarts(track.length, span), [span, track.length]);
|
|
55
|
+
const lastTrackStart = pageStarts[pageStarts.length - 1] ?? 0;
|
|
51
56
|
const stepTo = useCallback((nextTrackIndex) => {
|
|
52
57
|
const entry = track[nextTrackIndex];
|
|
53
58
|
if (entry)
|
|
54
59
|
setActiveIndex(entry.slotIndex);
|
|
55
60
|
}, [setActiveIndex, track]);
|
|
56
|
-
const step = useCallback((direction) =>
|
|
57
|
-
const next = trackIndex + direction * span;
|
|
58
|
-
if (next > lastTrackStart)
|
|
59
|
-
return stepTo(loop ? 0 : lastTrackStart);
|
|
60
|
-
if (next < 0)
|
|
61
|
-
return stepTo(loop ? lastTrackStart : 0);
|
|
62
|
-
return stepTo(next);
|
|
63
|
-
}, [lastTrackStart, loop, span, stepTo, trackIndex]);
|
|
61
|
+
const step = useCallback((direction) => stepTo(resolvePhiCarouselStep(pageStarts, trackIndex, direction, loop)), [loop, pageStarts, stepTo, trackIndex]);
|
|
64
62
|
const advance = useCallback(() => step(1), [step]);
|
|
65
63
|
/*
|
|
66
64
|
* Movement nobody asked for, and the two ways to decline it.
|
|
@@ -89,22 +87,24 @@ export function PhiCarouselLayout({ slots, slotKeys, slotMeta, activeSlotKey, de
|
|
|
89
87
|
paddingBottom,
|
|
90
88
|
paddingLeft,
|
|
91
89
|
background,
|
|
90
|
+
borderSource,
|
|
92
91
|
border,
|
|
93
92
|
borderRadius,
|
|
94
93
|
effect,
|
|
95
94
|
shadow,
|
|
96
95
|
};
|
|
97
96
|
if (isEditMode) {
|
|
98
|
-
return (_jsx(PhiSequenceSlotEditor, { slots: slots, slotKeys: slotKeys, slotLabels: resolvedSlotMeta, activeIndex: activeIndex, onActiveIndexChange: setActiveIndex, slotNoun: "carousel slot", layoutKind: layoutKind, renderMode: renderMode, authoring: authoring, chrome: chrome, backgroundLayer: backgroundLayer, editSlotAction: editSlotAction, editRenderInsertControl: editRenderInsertControl, editSlotAnchor: editSlotAnchor, style: style }));
|
|
97
|
+
return (_jsx(PhiSequenceSlotEditor, { slots: slots, slotKeys: slotKeys, slotLabels: resolvedSlotMeta, slotCount: editableSlotCount, activeIndex: activeIndex, onActiveIndexChange: setActiveIndex, slotNoun: "carousel slot", layoutKind: layoutKind, renderMode: renderMode, authoring: authoring, chrome: chrome, backgroundLayer: backgroundLayer, editSlotAction: editSlotAction, editRenderInsertControl: editRenderInsertControl, editSlotAnchor: editSlotAnchor, style: style }));
|
|
99
98
|
}
|
|
100
99
|
const resolvedLayoutInset = resolvePhiLayoutInset(chrome);
|
|
101
100
|
/*
|
|
102
101
|
* One dot per window, not per slot: with a wide window the slots move a window at a time, so a dot
|
|
103
102
|
* per slot would offer positions the Carousel never stops at. Each is named after the first slot it
|
|
104
|
-
* brings into view -- the label a person gave the block, which needs no translating.
|
|
103
|
+
* brings into view -- the label a person gave the block, which needs no translating. The last dot's
|
|
104
|
+
* window is the last window, so that first slot is not always a multiple of the window.
|
|
105
105
|
*/
|
|
106
|
-
const pageCount =
|
|
107
|
-
const currentPage =
|
|
106
|
+
const pageCount = pageStarts.length;
|
|
107
|
+
const currentPage = resolvePhiCarouselCurrentPage(pageStarts, trackIndex);
|
|
108
108
|
const slotLabelAt = (position) => {
|
|
109
109
|
const entry = track[position];
|
|
110
110
|
const meta = entry && resolvedSlotMeta.find((candidate) => candidate.index === entry.slotIndex);
|
|
@@ -114,18 +114,23 @@ export function PhiCarouselLayout({ slots, slotKeys, slotMeta, activeSlotKey, de
|
|
|
114
114
|
const showDots = (controls === "dots" || controls === "both") && pageCount > 1;
|
|
115
115
|
const atStart = trackIndex <= 0;
|
|
116
116
|
const atEnd = trackIndex >= lastTrackStart;
|
|
117
|
-
return (_jsxs("div", { "data-layout-kind": layoutKind, "data-phi-carousel-transition": transition, "data-phi-carousel-controls": controls, onMouseEnter: () => setPaused(true), onMouseLeave: () => setPaused(false), onFocusCapture: () => setPaused(true), onBlurCapture: () => setPaused(false),
|
|
117
|
+
return (_jsxs("div", { "data-layout-kind": layoutKind, "data-phi-carousel-transition": transition, "data-phi-carousel-controls": controls, onMouseEnter: () => setPaused(true), onMouseLeave: () => setPaused(false), onFocusCapture: () => setPaused(true), onBlurCapture: () => setPaused(false),
|
|
118
|
+
/*
|
|
119
|
+
* The Layout's own box, named as one: the fill rules address `.phi-layout`
|
|
120
|
+
* (`.phi-slot-child--block-fill > .phi-layout`, styles/layout.css), and this box carried a
|
|
121
|
+
* `height: 100%` of its own instead, so the class was never missed. Without it the box would
|
|
122
|
+
* take the width its frame gives and no height at all.
|
|
123
|
+
*/
|
|
124
|
+
className: "phi-layout", style: {
|
|
118
125
|
position: "relative",
|
|
119
126
|
display: "flex",
|
|
120
127
|
flexDirection: "column",
|
|
121
|
-
width: "100%",
|
|
122
|
-
height: "100%",
|
|
123
128
|
minWidth: 0,
|
|
124
129
|
minHeight: 0,
|
|
125
130
|
boxSizing: "border-box",
|
|
126
131
|
...resolvePhiBaseLayoutChrome(chrome).style,
|
|
127
132
|
...style,
|
|
128
|
-
}, children: [backgroundLayer, _jsxs("div", { style: { position: "relative", flex: "1 1 auto", minWidth: 0, minHeight: 0 }, children: [_jsx(PhiSequenceViewport, { items: track.map((entry) => entry.slot), activeIndex: trackIndex, visibleCount: span, anchor: windowAnchor, transition: transition, ...(transitionDurationMs === undefined ? {} : { durationMs: transitionDurationMs }), ...(transitionEasing === undefined ? {} : { easing: transitionEasing }), lookahead: lookahead, gap: slotGap, style: { width: "100%", height: "100%", minHeight: 0 }, renderItem: (slot) => (_jsx(PhiLayoutAnchoredOverlay, { anchor: slotAnchor, positionMode: "flow", fillAvailableInline: true, fillAvailableBlock: true, inset: resolvedLayoutInset, children: slot })) }), showArrows ? (_jsxs(_Fragment, { children: [_jsx("div", { style: { position: "absolute", insetBlockStart: "50%", insetInlineStart: token.marginXS, transform: "translateY(-50%)", zIndex: 1 }, children: _jsx(PhiButtonControl, { icon: _jsx(LeftOutlined, {}), ariaLabel: controlLabels?.previous ?? "Previous", shape: "circle", disabled: atStart && !loop, onClick: () => step(-1) }) }), _jsx("div", { style: { position: "absolute", insetBlockStart: "50%", insetInlineEnd: token.marginXS, transform: "translateY(-50%)", zIndex: 1 }, children: _jsx(PhiButtonControl, { icon: _jsx(RightOutlined, {}), ariaLabel: controlLabels?.next ?? "Next", shape: "circle", disabled: atEnd && !loop, onClick: () => step(1) }) })] })) : null] }), showDots ? (_jsx("div", { style: { display: "flex", flex: "0 0 auto", justifyContent: "center", gap: token.marginXXS, paddingBlockStart: token.marginXS }, children: Array.from({ length: pageCount }, (_, page) => (_jsx("button", { type: "button", "aria-label": slotLabelAt(page
|
|
133
|
+
}, children: [backgroundLayer, _jsxs("div", { style: { position: "relative", flex: "1 1 auto", minWidth: 0, minHeight: 0 }, children: [_jsx(PhiSequenceViewport, { items: track.map((entry) => entry.slot), activeIndex: trackIndex, visibleCount: span, anchor: windowAnchor, transition: transition, ...(transitionDurationMs === undefined ? {} : { durationMs: transitionDurationMs }), ...(transitionEasing === undefined ? {} : { easing: transitionEasing }), lookahead: lookahead, gap: slotGap, style: { width: "100%", height: "100%", minHeight: 0 }, renderItem: (slot) => (_jsx(PhiLayoutAnchoredOverlay, { anchor: slotAnchor, positionMode: "flow", fillAvailableInline: true, fillAvailableBlock: true, inset: resolvedLayoutInset, children: slot })) }), showArrows ? (_jsxs(_Fragment, { children: [_jsx("div", { style: { position: "absolute", insetBlockStart: "50%", insetInlineStart: token.marginXS, transform: "translateY(-50%)", zIndex: 1 }, children: _jsx(PhiButtonControl, { icon: _jsx(LeftOutlined, {}), ariaLabel: controlLabels?.previous ?? "Previous", shape: "circle", disabled: atStart && !loop, onClick: () => step(-1) }) }), _jsx("div", { style: { position: "absolute", insetBlockStart: "50%", insetInlineEnd: token.marginXS, transform: "translateY(-50%)", zIndex: 1 }, children: _jsx(PhiButtonControl, { icon: _jsx(RightOutlined, {}), ariaLabel: controlLabels?.next ?? "Next", shape: "circle", disabled: atEnd && !loop, onClick: () => step(1) }) })] })) : null] }), showDots ? (_jsx("div", { style: { display: "flex", flex: "0 0 auto", justifyContent: "center", gap: token.marginXXS, paddingBlockStart: token.marginXS }, children: Array.from({ length: pageCount }, (_, page) => (_jsx("button", { type: "button", "aria-label": slotLabelAt(pageStarts[page] ?? 0), "aria-current": page === currentPage || undefined, onClick: () => stepTo(pageStarts[page] ?? 0), style: {
|
|
129
134
|
width: page === currentPage ? token.controlHeightXS : token.marginXS,
|
|
130
135
|
height: token.marginXS,
|
|
131
136
|
padding: 0,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { CollapseProps } from "antd";
|
|
2
1
|
import type { CSSProperties, ReactNode } from "react";
|
|
3
2
|
import type { PhiRenderableBlockAnchor } from "../../../types/renderable-block";
|
|
4
3
|
import type { PhiCmsInstanceId } from "../../../types/cms-instance-id";
|
|
@@ -25,14 +24,12 @@ export type PhiCollapsibleLayoutProps = Omit<PhiBaseLayoutProps, "slots"> & {
|
|
|
25
24
|
onOpenSlotKeysChange?: (next: string[]) => void;
|
|
26
25
|
defaultOpenSlotKeys?: string[];
|
|
27
26
|
collapsible?: "header" | "icon" | "disabled";
|
|
28
|
-
bordered?: boolean;
|
|
29
27
|
ghost?: boolean;
|
|
30
28
|
expandIconPlacement?: "start" | "end";
|
|
31
29
|
collapseSize?: PhiControlSize;
|
|
32
30
|
titleStrong?: boolean;
|
|
33
31
|
headerPadding?: CSSProperties["padding"];
|
|
34
32
|
innerPadding?: CSSProperties["padding"];
|
|
35
|
-
collapseStyles?: CollapseProps["styles"];
|
|
36
33
|
style?: CSSProperties;
|
|
37
34
|
};
|
|
38
35
|
export declare function PhiCollapsibleLayout(props: PhiCollapsibleLayoutProps): import("react").JSX.Element;
|