@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
|
@@ -1,17 +1,47 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { requestPhiLogout } from "../../helpers/logout";
|
|
4
|
+
import { useCallback, useEffect, useRef, useState } from "react";
|
|
5
|
+
import { useRouter } from "next/navigation";
|
|
6
|
+
import dynamic from "next/dynamic";
|
|
4
7
|
import { readPhiCoreRuntimeMessageSignalValue, readPhiCoreRuntimeNavigateSignalValue, readPhiCoreRuntimeNotificationSignalValue, } from "../../types/core-runtime-controller";
|
|
5
8
|
import { usePhiSignalListener } from "./runtime-signal-bus";
|
|
6
9
|
import { usePhiSignalRuntimePartition } from "./runtime-signal-partition";
|
|
7
10
|
import { registerPhiSignalInstance } from "./runtime-signal-registry";
|
|
8
11
|
import { createPhiCoreRuntimeControllerAddress } from "./core-runtime-controller-address";
|
|
12
|
+
/*
|
|
13
|
+
* Fetched the first time this Site has something to say, and not before.
|
|
14
|
+
*
|
|
15
|
+
* `ssr: false` because there is nothing to render on the server: a queue that is empty during the
|
|
16
|
+
* server render is empty in the HTML too, and the host exists only to play what arrives afterwards.
|
|
17
|
+
*/
|
|
18
|
+
const PhiLazyApplicationFeedbackHost = dynamic(() => import("./application-feedback-host").then((module) => module.PhiApplicationFeedbackHost), { ssr: false });
|
|
9
19
|
const PHI_CORE_RUNTIME_APPLICATION_SIGNAL_FILTER = {
|
|
10
20
|
scopes: ["site"],
|
|
11
21
|
receiver: createPhiCoreRuntimeControllerAddress(),
|
|
12
22
|
};
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
/*
|
|
24
|
+
* No `siteKey` any more. It was passed in so a logout could name the Site, and that header never left
|
|
25
|
+
* the browser: the proxy strips every `x-phis-` header and sets the Site's own.
|
|
26
|
+
*/
|
|
27
|
+
export function PhiCoreRuntimeApplicationAdapter({ labels, }) {
|
|
28
|
+
const router = useRouter();
|
|
29
|
+
/*
|
|
30
|
+
* Armed once and never disarmed: the host owns the toast that is on screen, so unmounting it when
|
|
31
|
+
* the queue runs dry would take the announcement down with it. What empties is the queue.
|
|
32
|
+
*/
|
|
33
|
+
const [armed, setArmed] = useState(false);
|
|
34
|
+
const [requests, setRequests] = useState([]);
|
|
35
|
+
const nextRequestKey = useRef(0);
|
|
36
|
+
const enqueue = useCallback((request) => {
|
|
37
|
+
const key = (nextRequestKey.current += 1);
|
|
38
|
+
setArmed(true);
|
|
39
|
+
setRequests((current) => [...current, { ...request, key }]);
|
|
40
|
+
}, []);
|
|
41
|
+
const handlePlayed = useCallback((keys) => {
|
|
42
|
+
const played = new Set(keys);
|
|
43
|
+
setRequests((current) => current.filter((request) => !played.has(request.key)));
|
|
44
|
+
}, []);
|
|
15
45
|
const partition = usePhiSignalRuntimePartition();
|
|
16
46
|
const address = createPhiCoreRuntimeControllerAddress();
|
|
17
47
|
/*
|
|
@@ -23,6 +53,36 @@ export function PhiCoreRuntimeApplicationAdapter() {
|
|
|
23
53
|
* was listening without ever having said that it answers here. Listening is not the same as existing.
|
|
24
54
|
*/
|
|
25
55
|
useEffect(() => registerPhiSignalInstance(partition, { address, scope: "site" }), [address, partition]);
|
|
56
|
+
/* A second click while the first request is still out asks for nothing new. */
|
|
57
|
+
const signingOut = useRef(false);
|
|
58
|
+
const signOut = useCallback(async () => {
|
|
59
|
+
if (signingOut.current) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
signingOut.current = true;
|
|
63
|
+
/*
|
|
64
|
+
* A failure is said, on the same surface every other announcement uses: the person asked to be
|
|
65
|
+
* signed out and still is signed in, and a menu that simply closed would let them believe
|
|
66
|
+
* otherwise.
|
|
67
|
+
*/
|
|
68
|
+
try {
|
|
69
|
+
await requestPhiLogout({ failedMessage: labels.signOutFailed });
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
signingOut.current = false;
|
|
73
|
+
enqueue({ kind: "notification", value: { level: "error", title: labels.signOutFailed } });
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
/*
|
|
77
|
+
* The same Page, as a fresh document. It is asked for again rather than replaced with one chosen
|
|
78
|
+
* here: whoever is now nobody may not be allowed where they stood, and the Area answers that --
|
|
79
|
+
* with its own redirect, its own sign-in Page -- which is a decision that belongs to it and not
|
|
80
|
+
* to this adapter. And a document rather than `router.refresh()`, because the RSC cache and the
|
|
81
|
+
* client stores on this page were built for a session that is gone; keeping them is the one
|
|
82
|
+
* thing a sign-out must not do.
|
|
83
|
+
*/
|
|
84
|
+
window.location.reload();
|
|
85
|
+
}, [enqueue, labels.signOutFailed]);
|
|
26
86
|
usePhiSignalListener((signal) => {
|
|
27
87
|
const navigateValue = readPhiCoreRuntimeNavigateSignalValue(signal);
|
|
28
88
|
if (navigateValue) {
|
|
@@ -34,34 +94,45 @@ export function PhiCoreRuntimeApplicationAdapter() {
|
|
|
34
94
|
}
|
|
35
95
|
return;
|
|
36
96
|
}
|
|
97
|
+
/*
|
|
98
|
+
* Out, and then back to where anybody may be.
|
|
99
|
+
*
|
|
100
|
+
* The door is the Site's own `/api/auth/logout`, mounted by every Site regardless of which Modules
|
|
101
|
+
* it installs, so this works in an Area no Auth Module ever enters. A failed call leaves the
|
|
102
|
+
* session alone and the page where it is, and says so: signing out half way and forwarding
|
|
103
|
+
* anyway would tell somebody they are out while they are not.
|
|
104
|
+
*/
|
|
105
|
+
if (signal.channel === "session" && signal.action === "clear") {
|
|
106
|
+
void signOut();
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
/*
|
|
110
|
+
* The same Page, asked for again.
|
|
111
|
+
*
|
|
112
|
+
* `router.refresh()` rather than `location.reload()`: it re-renders the route's Server components
|
|
113
|
+
* with the cookies the browser now holds, which is the whole point, and leaves the visitor where
|
|
114
|
+
* they were -- the panel they had open stays open, which a document reload would close.
|
|
115
|
+
*/
|
|
116
|
+
if (signal.channel === "reload" && signal.action === "activate") {
|
|
117
|
+
router.refresh();
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
/*
|
|
121
|
+
* Queued rather than shown. What draws a toast is Ant Design's `App`, and it is fetched the first
|
|
122
|
+
* time a Site actually has something to say -- so the announcement waits for its host instead of
|
|
123
|
+
* every page waiting for the announcement.
|
|
124
|
+
*/
|
|
37
125
|
const notificationValue = readPhiCoreRuntimeNotificationSignalValue(signal);
|
|
38
126
|
if (notificationValue) {
|
|
39
|
-
notification
|
|
40
|
-
title: notificationValue.title,
|
|
41
|
-
...(notificationValue.description ? { description: notificationValue.description } : {}),
|
|
42
|
-
...(notificationValue.durationSeconds != null
|
|
43
|
-
? { duration: notificationValue.durationSeconds }
|
|
44
|
-
: {}),
|
|
45
|
-
...(notificationValue.placement ? { placement: notificationValue.placement } : {}),
|
|
46
|
-
...(notificationValue.showTimeoutProgress != null
|
|
47
|
-
? { showProgress: notificationValue.showTimeoutProgress }
|
|
48
|
-
: {}),
|
|
49
|
-
role: notificationValue.level === "error" || notificationValue.level === "warning"
|
|
50
|
-
? "alert"
|
|
51
|
-
: "status",
|
|
52
|
-
});
|
|
127
|
+
enqueue({ kind: "notification", value: notificationValue });
|
|
53
128
|
return;
|
|
54
129
|
}
|
|
55
130
|
const messageValue = readPhiCoreRuntimeMessageSignalValue(signal);
|
|
56
131
|
if (messageValue) {
|
|
57
|
-
|
|
58
|
-
type: messageValue.level,
|
|
59
|
-
content: messageValue.content,
|
|
60
|
-
...(messageValue.durationSeconds != null
|
|
61
|
-
? { duration: messageValue.durationSeconds }
|
|
62
|
-
: {}),
|
|
63
|
-
});
|
|
132
|
+
enqueue({ kind: "message", value: messageValue });
|
|
64
133
|
}
|
|
65
134
|
}, PHI_CORE_RUNTIME_APPLICATION_SIGNAL_FILTER, address);
|
|
66
|
-
return
|
|
135
|
+
return armed
|
|
136
|
+
? _jsx(PhiLazyApplicationFeedbackHost, { requests: requests, onPlayed: handlePlayed })
|
|
137
|
+
: null;
|
|
67
138
|
}
|
|
@@ -18,6 +18,11 @@ export declare const PHI_CORE_RUNTIME_CONTROLLER_DEFINITION: {
|
|
|
18
18
|
action: "change";
|
|
19
19
|
valueType: "string";
|
|
20
20
|
valueSchema?: undefined;
|
|
21
|
+
} | {
|
|
22
|
+
id: string;
|
|
23
|
+
action: "change";
|
|
24
|
+
valueType: "boolean";
|
|
25
|
+
valueSchema?: undefined;
|
|
21
26
|
} | {
|
|
22
27
|
id: string;
|
|
23
28
|
action: "clear";
|
|
@@ -65,6 +70,12 @@ export declare const PHI_CORE_RUNTIME_CONTROLLER_DEFINITION: {
|
|
|
65
70
|
action: "activate";
|
|
66
71
|
valueType: "json";
|
|
67
72
|
valueSchema: `${string}/signals/${string}`;
|
|
73
|
+
} | {
|
|
74
|
+
id: string;
|
|
75
|
+
channel: string;
|
|
76
|
+
action: "activate";
|
|
77
|
+
valueType: "none";
|
|
78
|
+
valueSchema?: undefined;
|
|
68
79
|
})[];
|
|
69
80
|
};
|
|
70
81
|
defaultConfig: {};
|
|
@@ -17,6 +17,13 @@ export const PHI_CORE_RUNTIME_CONTROLLER_DEFINITION = {
|
|
|
17
17
|
valueSchema: PHI_SIGNAL_VALUE_SCHEMAS.pageMeta,
|
|
18
18
|
},
|
|
19
19
|
{ id: "pageTitle", action: "change", valueType: "string" },
|
|
20
|
+
/*
|
|
21
|
+
* The mode the Site is shown in, whenever it changes: after the page wakes up in the mode the
|
|
22
|
+
* browser prefers, when that preference changes, and when something switches it. `true` is dark,
|
|
23
|
+
* the way the `themeMode` input reads it. A Control that offers the switch listens for it, so it
|
|
24
|
+
* shows the mode on screen rather than the one the server rendered it in.
|
|
25
|
+
*/
|
|
26
|
+
{ id: "themeMode", action: "change", valueType: "boolean" },
|
|
20
27
|
{ id: "pageDescription", action: "change", valueType: "string" },
|
|
21
28
|
{ id: "pageDescriptionClear", action: "clear", valueType: "none" },
|
|
22
29
|
{ id: "openGraphImage", action: "change", valueType: "image" },
|
|
@@ -63,6 +70,32 @@ export const PHI_CORE_RUNTIME_CONTROLLER_DEFINITION = {
|
|
|
63
70
|
valueType: "json",
|
|
64
71
|
valueSchema: PHI_SIGNAL_VALUE_SCHEMAS.runtimeNavigation,
|
|
65
72
|
},
|
|
73
|
+
/*
|
|
74
|
+
* Ask the Server for this Page again, because what it renders has changed underneath it.
|
|
75
|
+
*
|
|
76
|
+
* The case is a Form that wrote something only the Server applies -- the language the account
|
|
77
|
+
* reads in, the mode it is shown in -- where the answer is not another Page but the same one,
|
|
78
|
+
* rendered again now that the account says something else. So it carries no value: there is
|
|
79
|
+
* nothing to say beyond "again", and the request that follows brings the new cookie with it.
|
|
80
|
+
*
|
|
81
|
+
* Staff Areas are routed by their own segment and carry no locale in the address, so the same
|
|
82
|
+
* address really is the right one. Public is localized in its path; a Page there that changes
|
|
83
|
+
* the language is a forward on `path`, not this.
|
|
84
|
+
*/
|
|
85
|
+
{ id: "reload", channel: "reload", action: "activate", valueType: "none" },
|
|
86
|
+
/*
|
|
87
|
+
* End the session this browser holds.
|
|
88
|
+
*
|
|
89
|
+
* Site scope, because that is what a session is: the cookie belongs to the account on this Site
|
|
90
|
+
* and not to the Area somebody happened to be in, and signing out of the Admin signs the same
|
|
91
|
+
* person out of App. Modelling it per Area would be six copies of one act that must never differ.
|
|
92
|
+
*
|
|
93
|
+
* It reaches the Site's own auth door, which every Site mounts whether or not an Auth Module is
|
|
94
|
+
* installed -- so an Area that Auth never enters can still offer a way out. That makes this the
|
|
95
|
+
* one input here that writes: everything else applies what was already decided, and the note in
|
|
96
|
+
* SIGNALS.md says which is which.
|
|
97
|
+
*/
|
|
98
|
+
{ id: "signOut", channel: "session", action: "clear", valueType: "none" },
|
|
66
99
|
{
|
|
67
100
|
id: "notification",
|
|
68
101
|
channel: "notification",
|
|
@@ -19,6 +19,11 @@ export declare const PHI_CORE_RUNTIME_CONTROLLER_PLUGIN: {
|
|
|
19
19
|
action: "change";
|
|
20
20
|
valueType: "string";
|
|
21
21
|
valueSchema?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
id: string;
|
|
24
|
+
action: "change";
|
|
25
|
+
valueType: "boolean";
|
|
26
|
+
valueSchema?: undefined;
|
|
22
27
|
} | {
|
|
23
28
|
id: string;
|
|
24
29
|
action: "clear";
|
|
@@ -66,6 +71,12 @@ export declare const PHI_CORE_RUNTIME_CONTROLLER_PLUGIN: {
|
|
|
66
71
|
action: "activate";
|
|
67
72
|
valueType: "json";
|
|
68
73
|
valueSchema: `${string}/signals/${string}`;
|
|
74
|
+
} | {
|
|
75
|
+
id: string;
|
|
76
|
+
channel: string;
|
|
77
|
+
action: "activate";
|
|
78
|
+
valueType: "none";
|
|
79
|
+
valueSchema?: undefined;
|
|
69
80
|
})[];
|
|
70
81
|
};
|
|
71
82
|
defaultConfig: {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The password change an administrator asked for, in front of the Page and with no way past it.
|
|
4
|
+
*
|
|
5
|
+
* Nothing closes it: no button, no Escape, no click beside it. The server refuses the session everything
|
|
6
|
+
* else until the password is set, so a Page behind it has nothing to offer. The way on is the Form
|
|
7
|
+
* inside, or -- where no Module supplies one -- signing out and following the reset link, which is the
|
|
8
|
+
* one action offered then. Signing out goes through the Core Runtime Controller, which every Site mounts
|
|
9
|
+
* whatever Modules it installs.
|
|
10
|
+
*/
|
|
11
|
+
export declare function PhiPasswordChangeRequiredModal({ title, text, signOutLabel, children, }: {
|
|
12
|
+
title: string;
|
|
13
|
+
text: string;
|
|
14
|
+
signOutLabel: string | null;
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { PhiDialogControl } from "../controls/phi-dialog-control";
|
|
4
|
+
import { PhiTypographyControl } from "../controls/phi-typography-control";
|
|
5
|
+
import { createPhiCoreRuntimeControllerAddress } from "./core-runtime-controller-address";
|
|
6
|
+
import { usePhiSignalEmitter } from "./runtime-signal-identity";
|
|
7
|
+
/**
|
|
8
|
+
* The password change an administrator asked for, in front of the Page and with no way past it.
|
|
9
|
+
*
|
|
10
|
+
* Nothing closes it: no button, no Escape, no click beside it. The server refuses the session everything
|
|
11
|
+
* else until the password is set, so a Page behind it has nothing to offer. The way on is the Form
|
|
12
|
+
* inside, or -- where no Module supplies one -- signing out and following the reset link, which is the
|
|
13
|
+
* one action offered then. Signing out goes through the Core Runtime Controller, which every Site mounts
|
|
14
|
+
* whatever Modules it installs.
|
|
15
|
+
*/
|
|
16
|
+
export function PhiPasswordChangeRequiredModal({ title, text, signOutLabel, children, }) {
|
|
17
|
+
const emitSignal = usePhiSignalEmitter(null);
|
|
18
|
+
return (_jsxs(PhiDialogControl, { open: true, title: title, closable: false, keyboard: false, mask: { appearance: "normal", allowOutsideInteraction: false, closable: false }, centered: true, controlSize: "small", actions: signOutLabel
|
|
19
|
+
? [{
|
|
20
|
+
key: "sign-out",
|
|
21
|
+
label: signOutLabel,
|
|
22
|
+
type: "primary",
|
|
23
|
+
onClick: () => emitSignal({
|
|
24
|
+
scope: "site",
|
|
25
|
+
channel: "session",
|
|
26
|
+
action: "clear",
|
|
27
|
+
value: null,
|
|
28
|
+
valueType: "none",
|
|
29
|
+
valueSchema: null,
|
|
30
|
+
receiver: createPhiCoreRuntimeControllerAddress(),
|
|
31
|
+
}),
|
|
32
|
+
}]
|
|
33
|
+
: [], children: [_jsx(PhiTypographyControl, { presentation: "paragraph", children: text }), children] }));
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PhiResolvedRuntimeRenderRegistry } from "../../plugins/runtime-modules/contracts";
|
|
2
|
+
import type { PhiBlockRuntime } from "../../types";
|
|
3
|
+
/**
|
|
4
|
+
* What a Page shows in front of itself while an administrator's password change is outstanding.
|
|
5
|
+
*
|
|
6
|
+
* The Form is whichever an active Module registers for `account-password-change` -- the Auth Module's
|
|
7
|
+
* own, or the one a replacement brings -- and not a Form id Core would have to know. Where no Module
|
|
8
|
+
* supplies one, the reset link that went out with the administrator's request is the way on, and
|
|
9
|
+
* signing out is offered rather than a link to somewhere that has no Form either.
|
|
10
|
+
*/
|
|
11
|
+
export declare function PhiPasswordChangeRequired({ runtime, registry, }: {
|
|
12
|
+
runtime: PhiBlockRuntime;
|
|
13
|
+
registry: PhiResolvedRuntimeRenderRegistry;
|
|
14
|
+
}): Promise<import("react").JSX.Element>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { findPhiFormDefinitionByPurpose, PHI_FORM_PURPOSES } from "../forms/form-registry";
|
|
3
|
+
import { getPhiPasswordChangeRequiredLabels } from "../widgets/label-sets/profile";
|
|
4
|
+
import { readPhiServerApiCredentials } from "../../helpers/phis-server-credentials";
|
|
5
|
+
import { PhiFormWidget } from "../forms/phi-form-widget";
|
|
6
|
+
import { parsePhiFormWidgetConfig } from "../forms/form-widget-config";
|
|
7
|
+
import { createPhiCoreRuntimeControllerAddress } from "./core-runtime-controller-address";
|
|
8
|
+
import { PhiPasswordChangeRequiredModal } from "./phi-password-change-required-modal";
|
|
9
|
+
/*
|
|
10
|
+
* The Form's success asks for the Page again: the account no longer carries the flag then, and the Page
|
|
11
|
+
* renders without this in front of it.
|
|
12
|
+
*/
|
|
13
|
+
const RELOAD_ON_SUCCESS = {
|
|
14
|
+
emits: [{
|
|
15
|
+
routeKey: "password-change-required-reload",
|
|
16
|
+
capabilityId: "submitSuccess",
|
|
17
|
+
scope: "site",
|
|
18
|
+
channel: "reload",
|
|
19
|
+
action: "activate",
|
|
20
|
+
valueType: "none",
|
|
21
|
+
receiver: createPhiCoreRuntimeControllerAddress(),
|
|
22
|
+
}],
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* What a Page shows in front of itself while an administrator's password change is outstanding.
|
|
26
|
+
*
|
|
27
|
+
* The Form is whichever an active Module registers for `account-password-change` -- the Auth Module's
|
|
28
|
+
* own, or the one a replacement brings -- and not a Form id Core would have to know. Where no Module
|
|
29
|
+
* supplies one, the reset link that went out with the administrator's request is the way on, and
|
|
30
|
+
* signing out is offered rather than a link to somewhere that has no Form either.
|
|
31
|
+
*/
|
|
32
|
+
export async function PhiPasswordChangeRequired({ runtime, registry, }) {
|
|
33
|
+
const credentials = readPhiServerApiCredentials();
|
|
34
|
+
const labels = await getPhiPasswordChangeRequiredLabels({
|
|
35
|
+
apiBaseUrl: credentials.apiBaseUrl,
|
|
36
|
+
internalToken: credentials.internalToken,
|
|
37
|
+
locale: runtime.locale.current,
|
|
38
|
+
});
|
|
39
|
+
const form = findPhiFormDefinitionByPurpose(registry.formDefinitionsById.values(), PHI_FORM_PURPOSES.accountPasswordChange);
|
|
40
|
+
return (_jsx(PhiPasswordChangeRequiredModal, { title: labels.title, text: form ? labels.text : labels.emailOnlyText, signOutLabel: form ? null : labels.signOut, children: form ? (_jsx(PhiFormWidget, { runtime: runtime, registry: registry, formId: form.formId, formInstanceKey: "password-change-required", config: parsePhiFormWidgetConfig({ formId: form.formId, signalRoutes: RELOAD_ON_SUCCESS }) })) : null }));
|
|
41
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { PhiRuntimeConditionSourceValues } from "../../types/runtime-condition";
|
|
2
|
+
import type { PhiStateMachineCheckpoint, PhiStateMachineDefinition, PhiStateMachineReference, PhiStateMachineSnapshot } from "../../types/state-machine";
|
|
3
|
+
export type PhiStateMachineSendResult = {
|
|
4
|
+
/** Whether the machine moved. Under `server` authority this is always false: Core decides. */
|
|
5
|
+
readonly taken: boolean;
|
|
6
|
+
/** The position for the host to keep, or null when this machine keeps none. */
|
|
7
|
+
readonly checkpoint: PhiStateMachineCheckpoint | null;
|
|
8
|
+
readonly snapshot: PhiStateMachineSnapshot;
|
|
9
|
+
};
|
|
10
|
+
export type UsePhiStateMachineBindingOptions = {
|
|
11
|
+
readonly definition: PhiStateMachineDefinition;
|
|
12
|
+
readonly reference: PhiStateMachineReference;
|
|
13
|
+
/**
|
|
14
|
+
* A position the host read back, from the query string or the account-bound store.
|
|
15
|
+
*
|
|
16
|
+
* Used only for the state the machine starts in, and discarded without complaint when its version no
|
|
17
|
+
* longer matches -- that is what the version is for.
|
|
18
|
+
*/
|
|
19
|
+
readonly restored?: PhiStateMachineCheckpoint | null;
|
|
20
|
+
};
|
|
21
|
+
export type PhiStateMachineBinding = {
|
|
22
|
+
readonly snapshot: PhiStateMachineSnapshot;
|
|
23
|
+
/**
|
|
24
|
+
* Raise an event. Returns what the host should do about it.
|
|
25
|
+
*
|
|
26
|
+
* `sources` are the condition sources the guards read, and they are passed per call rather than held,
|
|
27
|
+
* because a guard evaluated against sources from the last render is the quiet mistake this whole
|
|
28
|
+
* mechanism exists to avoid. A machine without guards can leave them out.
|
|
29
|
+
*/
|
|
30
|
+
readonly send: (event: string, sources?: PhiRuntimeConditionSourceValues) => PhiStateMachineSendResult;
|
|
31
|
+
/**
|
|
32
|
+
* Hand the machine what the authoritative reader answered. `server` authority only.
|
|
33
|
+
*
|
|
34
|
+
* This is the only way a projection's state changes. There is no local transition function to call
|
|
35
|
+
* instead, which is the structural part of `authority`: a third party cannot rebuild a security state
|
|
36
|
+
* machine in the browser because this package gives them nowhere to write one.
|
|
37
|
+
*/
|
|
38
|
+
readonly project: (state: string, data?: Readonly<Record<string, unknown>>) => void;
|
|
39
|
+
};
|
|
40
|
+
export declare function usePhiStateMachineBinding({ definition, reference, restored, }: UsePhiStateMachineBindingOptions): PhiStateMachineBinding;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useMemo, useRef, useState } from "react";
|
|
3
|
+
import { isPhiStateMachineState, readPhiStateMachineCheckpoint, readPhiStateMachineSnapshot, resolvePhiStateMachineTransition, restorePhiStateMachineState, } from "../../helpers/state-machine-binding";
|
|
4
|
+
import { reportPhiStateMachineDivergence, reportPhiStateMachineMisuse, reportPhiStateMachineRefusal, } from "../../helpers/state-machine-diagnostics";
|
|
5
|
+
export function usePhiStateMachineBinding({ definition, reference, restored, }) {
|
|
6
|
+
const initial = restorePhiStateMachineState(definition, restored) ?? definition.initial;
|
|
7
|
+
const [rendered, setRendered] = useState({ state: initial });
|
|
8
|
+
const positionRef = useRef(rendered);
|
|
9
|
+
/*
|
|
10
|
+
* Whether an answer is owed, which is what separates progress from divergence.
|
|
11
|
+
*
|
|
12
|
+
* A projection changing state is the ordinary case -- that is what a projection does -- so a report
|
|
13
|
+
* on every change would be noise, and noise is how the one that matters gets missed. What is
|
|
14
|
+
* surprising is a re-read that disagrees with what was on screen while nothing was asked: another tab
|
|
15
|
+
* finished the flow, a Session expired underneath, or the host projected a state without raising the
|
|
16
|
+
* event that would have asked for it. Sending sets this; projecting clears it.
|
|
17
|
+
*
|
|
18
|
+
* It starts owed for a projection, and that is not a convenience. A projection's first state always
|
|
19
|
+
* arrives unasked -- the host mounts, reads, and hands over whatever Core said -- so treating that as
|
|
20
|
+
* a contradiction would put a line in the console on every single sign-in, which is how the one line
|
|
21
|
+
* that means something stops being read. The machine has shown nothing yet; there is nothing for an
|
|
22
|
+
* answer to contradict.
|
|
23
|
+
*/
|
|
24
|
+
const awaitingAnswer = useRef(definition.authority === "server");
|
|
25
|
+
/*
|
|
26
|
+
* Rendered from the state and never from the ref.
|
|
27
|
+
*
|
|
28
|
+
* The two hold the same position for different readers, and reading the ref here would be a real bug
|
|
29
|
+
* rather than a lint rule being strict: this memo is keyed on `rendered`, so a projection that brought
|
|
30
|
+
* new data for the state the machine was already in would have left the old data on screen. The state
|
|
31
|
+
* is the one that makes React re-run this.
|
|
32
|
+
*/
|
|
33
|
+
const snapshot = useMemo(() => readPhiStateMachineSnapshot(definition, reference, rendered.state, rendered.data), [definition, reference, rendered]);
|
|
34
|
+
const send = useCallback((event, sources = {}) => {
|
|
35
|
+
const { state: from, data } = positionRef.current;
|
|
36
|
+
/*
|
|
37
|
+
* Under server authority an event is a request and never a transition.
|
|
38
|
+
*
|
|
39
|
+
* Nothing here moves: the next state arrives through `project`. A binding that guessed the outcome
|
|
40
|
+
* and corrected itself afterwards would be showing a state no server ever said. What the send does
|
|
41
|
+
* is record that an answer is owed, so the projection that follows is progress and not a
|
|
42
|
+
* contradiction -- and put the transition table to use, since an event from a state that does not
|
|
43
|
+
* answer to it is a fault worth reporting.
|
|
44
|
+
*/
|
|
45
|
+
if (definition.authority === "server") {
|
|
46
|
+
const resolution = resolvePhiStateMachineTransition(definition, from, event, sources);
|
|
47
|
+
if (!resolution.taken) {
|
|
48
|
+
reportPhiStateMachineRefusal(reference, resolution.refusal, from, event);
|
|
49
|
+
return {
|
|
50
|
+
taken: false,
|
|
51
|
+
checkpoint: null,
|
|
52
|
+
snapshot: readPhiStateMachineSnapshot(definition, reference, from, data),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
awaitingAnswer.current = true;
|
|
56
|
+
return {
|
|
57
|
+
taken: false,
|
|
58
|
+
checkpoint: null,
|
|
59
|
+
snapshot: readPhiStateMachineSnapshot(definition, reference, from, data),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const resolution = resolvePhiStateMachineTransition(definition, from, event, sources);
|
|
63
|
+
if (!resolution.taken) {
|
|
64
|
+
reportPhiStateMachineRefusal(reference, resolution.refusal, from, event);
|
|
65
|
+
return {
|
|
66
|
+
taken: false,
|
|
67
|
+
checkpoint: null,
|
|
68
|
+
snapshot: readPhiStateMachineSnapshot(definition, reference, from, data),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
const to = resolution.transition.to;
|
|
72
|
+
/*
|
|
73
|
+
* A transition onto the state the machine is already in reports nothing and keeps nothing.
|
|
74
|
+
*
|
|
75
|
+
* What is suppressed is the render and the checkpoint: a position that did not move is not worth a
|
|
76
|
+
* round trip, and a change signal for a state nobody left is the kind of no-op that ends in a loop.
|
|
77
|
+
*/
|
|
78
|
+
if (to === from) {
|
|
79
|
+
return {
|
|
80
|
+
taken: true,
|
|
81
|
+
checkpoint: null,
|
|
82
|
+
snapshot: readPhiStateMachineSnapshot(definition, reference, from, data),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/*
|
|
86
|
+
* A new state arrives without the old one's data, which is why this replaces rather than merges.
|
|
87
|
+
* The data is the state's, not the machine's -- carrying it forward would let a Widget read a
|
|
88
|
+
* factor's method key while the machine is back at the beginning.
|
|
89
|
+
*/
|
|
90
|
+
const next = { state: to };
|
|
91
|
+
positionRef.current = next;
|
|
92
|
+
setRendered(next);
|
|
93
|
+
return {
|
|
94
|
+
taken: true,
|
|
95
|
+
checkpoint: readPhiStateMachineCheckpoint(definition, to),
|
|
96
|
+
snapshot: readPhiStateMachineSnapshot(definition, reference, to),
|
|
97
|
+
};
|
|
98
|
+
}, [definition, reference]);
|
|
99
|
+
const project = useCallback((state, data) => {
|
|
100
|
+
if (definition.authority !== "server") {
|
|
101
|
+
reportPhiStateMachineMisuse(reference, `a state was pushed into a "client" authority machine, which owns its own. Send an event instead.`);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
if (!isPhiStateMachineState(definition, state)) {
|
|
105
|
+
reportPhiStateMachineRefusal(reference, "unknown-state", state, "<projected>");
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (process.env.NODE_ENV !== "production" &&
|
|
109
|
+
!awaitingAnswer.current &&
|
|
110
|
+
positionRef.current.state !== state) {
|
|
111
|
+
reportPhiStateMachineDivergence(reference, positionRef.current.state, state);
|
|
112
|
+
}
|
|
113
|
+
awaitingAnswer.current = false;
|
|
114
|
+
const next = { state, ...(data ? { data } : {}) };
|
|
115
|
+
positionRef.current = next;
|
|
116
|
+
setRendered(next);
|
|
117
|
+
}, [definition, reference]);
|
|
118
|
+
return { snapshot, send, project };
|
|
119
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What this tab already answered for that provider.
|
|
3
|
+
*
|
|
4
|
+
* The default is always "no", which is what makes the first Client render agree with the Server's: the
|
|
5
|
+
* Server cannot see session storage, so a placeholder is what both draw. `seed` then turns it into a
|
|
6
|
+
* player, from an effect, the way the Form runtime restores an unsent draft.
|
|
7
|
+
*/
|
|
8
|
+
export declare function usePhiVideoVisitConsent(providerKey: string): boolean;
|
|
9
|
+
/** Reads the answer this tab gave earlier. Called from an effect, never during a render. */
|
|
10
|
+
export declare function seedPhiVideoVisitConsent(providerKey: string): void;
|
|
11
|
+
/** Yes, for this tab, until it is closed or the answer is taken back. */
|
|
12
|
+
export declare function grantPhiVideoVisitConsent(providerKey: string): void;
|
|
13
|
+
/**
|
|
14
|
+
* Taking it back, which this step owes: withdrawal has to be possible at any time, and as easily as the
|
|
15
|
+
* consent was given. It ends the unlock for the tab and every placeholder returns to asking.
|
|
16
|
+
*/
|
|
17
|
+
export declare function revokePhiVideoVisitConsent(providerKey: string): void;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createPhiPluginStateStore } from "../state/plugin-state-store";
|
|
3
|
+
const PHI_VIDEO_VISIT_CONSENT_STORAGE_PREFIX = "phi.video.visit-consent:";
|
|
4
|
+
const videoVisitConsentStore = createPhiPluginStateStore("@phis/ui/video-visit-consent", () => ({ unlocked: false }));
|
|
5
|
+
function storageKey(providerKey) {
|
|
6
|
+
return `${PHI_VIDEO_VISIT_CONSENT_STORAGE_PREFIX}${providerKey}`;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* What this tab already answered for that provider.
|
|
10
|
+
*
|
|
11
|
+
* The default is always "no", which is what makes the first Client render agree with the Server's: the
|
|
12
|
+
* Server cannot see session storage, so a placeholder is what both draw. `seed` then turns it into a
|
|
13
|
+
* player, from an effect, the way the Form runtime restores an unsent draft.
|
|
14
|
+
*/
|
|
15
|
+
export function usePhiVideoVisitConsent(providerKey) {
|
|
16
|
+
return videoVisitConsentStore.useStoreSelector(providerKey, (state) => state.unlocked);
|
|
17
|
+
}
|
|
18
|
+
/** Reads the answer this tab gave earlier. Called from an effect, never during a render. */
|
|
19
|
+
export function seedPhiVideoVisitConsent(providerKey) {
|
|
20
|
+
let stored = null;
|
|
21
|
+
try {
|
|
22
|
+
stored = window.sessionStorage.getItem(storageKey(providerKey));
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
// An answer nobody can store is an answer nobody has to restore.
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
if (stored === "1" && !videoVisitConsentStore.getSnapshot(providerKey).unlocked) {
|
|
29
|
+
videoVisitConsentStore.replace(providerKey, { unlocked: true });
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
/** Yes, for this tab, until it is closed or the answer is taken back. */
|
|
33
|
+
export function grantPhiVideoVisitConsent(providerKey) {
|
|
34
|
+
videoVisitConsentStore.replace(providerKey, { unlocked: true });
|
|
35
|
+
try {
|
|
36
|
+
window.sessionStorage.setItem(storageKey(providerKey), "1");
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
// The unlock then lasts this page rather than this visit, which is the lesser of the two promises.
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Taking it back, which this step owes: withdrawal has to be possible at any time, and as easily as the
|
|
44
|
+
* consent was given. It ends the unlock for the tab and every placeholder returns to asking.
|
|
45
|
+
*/
|
|
46
|
+
export function revokePhiVideoVisitConsent(providerKey) {
|
|
47
|
+
videoVisitConsentStore.replace(providerKey, { unlocked: false });
|
|
48
|
+
try {
|
|
49
|
+
window.sessionStorage.removeItem(storageKey(providerKey));
|
|
50
|
+
}
|
|
51
|
+
catch {
|
|
52
|
+
// Nothing stored, nothing to remove.
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type PhiSignal, type PhiSignalAction, type PhiSignalAddress, type PhiSignalRuntimeContext, type PhiSignalScope, type PhiSignalValue, type PhiSignalValueType } from "../../types/signals";
|
|
2
2
|
import type { PhiRenderableBlock, PhiRenderableBlockCapabilities, PhiRenderableBlockRuntime, PhiRenderableBlockSize, PhiRenderableBlockVisibility } from "../../types/renderable-block";
|
|
3
|
-
import type { PhiBlockRuntime } from "../../types/widget-runtime";
|
|
4
3
|
import type { PhiCmsInstanceId } from "../../types/cms-instance-id";
|
|
5
4
|
import { usePhiSignalDispatcher } from "./runtime-signal-bus";
|
|
6
5
|
type PhiRenderableBlockSignalChannel = "visibility" | "enabled" | "background" | "border" | "selected" | "hovered" | "dragging" | "focused" | "active" | "layout" | "size" | "minSize" | "maxSize" | "shadow" | "zIndex" | "opacity" | "effects" | "text" | "content" | "html" | "markdown" | "markdownToc" | "descriptionConfig" | "icon" | "imageConfig" | "color" | "textColor" | "style" | "fontFamily" | "fontSize" | "textStyle" | "drag" | "drop" | "flush";
|
|
@@ -39,12 +38,5 @@ export type PhiRenderableBlockRuntimeController = {
|
|
|
39
38
|
hide: () => void;
|
|
40
39
|
toggle: () => void;
|
|
41
40
|
};
|
|
42
|
-
export type PhiRenderableWidgetRuntimeInput<TConfig extends Record<string, unknown> = Record<string, unknown>> = {
|
|
43
|
-
blockId: PhiCmsInstanceId | null | undefined;
|
|
44
|
-
receiver?: PhiRenderableBlockReceiver | null | undefined;
|
|
45
|
-
runtime: Pick<PhiBlockRuntime, "site" | "locale" | "area">;
|
|
46
|
-
config?: TConfig | null;
|
|
47
|
-
};
|
|
48
41
|
export declare function usePhiRenderableBlockRuntime(input?: Partial<PhiRenderableBlockRuntimeState>): PhiRenderableBlockRuntimeController;
|
|
49
|
-
export declare function usePhiRenderableWidgetRuntime<TConfig extends Record<string, unknown> = Record<string, unknown>>(input: PhiRenderableWidgetRuntimeInput<TConfig>): PhiRenderableBlockRuntimeController;
|
|
50
42
|
export {};
|