@phis/ui 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +63 -14
- package/next/static-asset-path.d.ts +1 -0
- package/next/static-asset-path.js +23 -0
- package/package.json +50 -62
- package/plugins/registries/runtime-controllers.js +3 -5
- package/plugins/runtime/phi-effects-ready-trigger.d.ts +13 -0
- package/plugins/runtime/phi-effects-ready-trigger.js +48 -0
- package/plugins/runtime/phi-slot-child-frame-client.js +6 -6
- package/plugins/runtime/phi-slot-child-frame-view.js +19 -29
- package/plugins/runtime/slot-size-policy.d.ts +34 -3
- package/plugins/runtime/slot-size-policy.js +152 -17
- package/plugins/runtime-modules/accounting/definition.d.ts +0 -3
- package/plugins/runtime-modules/accounting/definition.js +0 -6
- package/plugins/runtime-modules/accounting/module.d.ts +15 -1
- package/plugins/runtime-modules/accounting/module.js +8 -3
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.js +45 -0
- package/plugins/runtime-modules/admin/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/admin/controller/address.js +1 -5
- package/plugins/runtime-modules/admin/forms.js +1 -6
- package/plugins/runtime-modules/admin/module.d.ts +1 -45
- package/plugins/runtime-modules/admin/module.js +2 -4
- package/plugins/runtime-modules/admin/presets.d.ts +1 -5
- package/plugins/runtime-modules/admin/presets.js +3 -6
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.js +18 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.js +180 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.js +81 -0
- package/plugins/runtime-modules/app/definition.d.ts +59 -3
- package/plugins/runtime-modules/app/definition.js +4 -6
- package/plugins/runtime-modules/app/forms.d.ts +82 -0
- package/plugins/runtime-modules/app/forms.js +341 -0
- package/plugins/runtime-modules/app/module.d.ts +74 -1
- package/plugins/runtime-modules/app/module.js +8 -3
- package/plugins/runtime-modules/app/server.js +2 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.d.ts +18 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.js +101 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.d.ts +22 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +175 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.d.ts +11 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.js +40 -0
- package/plugins/runtime-modules/area-base-presets.d.ts +31 -4
- package/plugins/runtime-modules/area-base-presets.js +108 -22
- package/plugins/runtime-modules/area-catalogs/accounting.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/accounting.js +3 -12
- package/plugins/runtime-modules/area-catalogs/admin.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/admin.js +3 -12
- package/plugins/runtime-modules/area-catalogs/app.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/app.js +3 -12
- package/plugins/runtime-modules/area-catalogs/area-catalog.d.ts +13 -0
- package/plugins/runtime-modules/area-catalogs/area-catalog.js +13 -0
- package/plugins/runtime-modules/area-catalogs/editor.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/editor.js +3 -12
- package/plugins/runtime-modules/area-catalogs/public.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/public.js +3 -12
- package/plugins/runtime-modules/area-contributions/app.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/app.js +4 -0
- package/plugins/runtime-modules/area-contributions/editor.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/editor.js +2 -0
- package/plugins/runtime-modules/area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/public.js +4 -0
- package/plugins/runtime-modules/area-definitions.d.ts +184 -121
- package/plugins/runtime-modules/area-definitions.js +183 -43
- package/plugins/runtime-modules/area-module-defaults.d.ts +3 -0
- package/plugins/runtime-modules/area-module-defaults.js +59 -0
- package/plugins/runtime-modules/area-root-route.d.ts +1 -3
- package/plugins/runtime-modules/area-root-route.js +2 -4
- package/plugins/runtime-modules/asset/client-data-providers.js +2 -2
- package/plugins/runtime-modules/asset/client.js +1 -1
- package/plugins/runtime-modules/asset/controller/client.d.ts +124 -0
- package/plugins/runtime-modules/asset/controller/client.js +10 -0
- package/plugins/runtime-modules/asset/controller/definition.js +128 -0
- package/plugins/runtime-modules/asset/controller/mount.d.ts +4 -0
- package/plugins/runtime-modules/asset/controller/mount.js +6 -0
- package/plugins/runtime-modules/asset/controller/runtime.d.ts +1 -0
- package/plugins/runtime-modules/asset/controller/runtime.js +327 -0
- package/plugins/runtime-modules/asset/data-providers.d.ts +2 -1
- package/plugins/runtime-modules/asset/data-providers.js +4 -2
- package/plugins/runtime-modules/asset/definition.d.ts +8 -1
- package/plugins/runtime-modules/asset/definition.js +13 -5
- package/plugins/runtime-modules/asset/form-providers.js +11 -0
- package/plugins/runtime-modules/asset/form-ui-provider.js +13 -0
- package/plugins/runtime-modules/asset/ids.d.ts +2 -0
- package/plugins/runtime-modules/asset/ids.js +3 -1
- package/plugins/runtime-modules/asset/media-page-ids.d.ts +6 -0
- package/plugins/runtime-modules/asset/media-page-ids.js +36 -0
- package/plugins/runtime-modules/asset/metadata-form.d.ts +243 -0
- package/plugins/runtime-modules/asset/metadata-form.js +197 -0
- package/plugins/runtime-modules/asset/module.d.ts +1 -231
- package/plugins/runtime-modules/asset/module.js +3 -5
- package/plugins/runtime-modules/asset/presets.d.ts +2 -174
- package/plugins/runtime-modules/asset/presets.js +18 -43
- package/plugins/runtime-modules/asset/server.js +3 -4
- package/plugins/runtime-modules/asset/services/collection.js +162 -0
- package/plugins/runtime-modules/asset/services/options.js +69 -0
- package/plugins/runtime-modules/asset/settings-forms.d.ts +22 -0
- package/plugins/runtime-modules/asset/settings-forms.js +177 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +93 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +735 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +1 -9
- package/plugins/runtime-modules/asset/widgets/area-upload/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/server.js +13 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +1 -6
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.d.ts +6 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.js +6 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +1 -7
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.js +18 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +2 -16
- package/plugins/runtime-modules/asset/widgets/media-picker/config.js +1 -2
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +1 -2
- package/plugins/runtime-modules/auth/admin-settings-forms.d.ts +15 -0
- package/plugins/runtime-modules/auth/admin-settings-forms.js +394 -0
- package/plugins/runtime-modules/auth/client-data-providers.js +1 -1
- package/plugins/runtime-modules/auth/client.js +1 -1
- package/plugins/runtime-modules/auth/controller/address.d.ts +14 -0
- package/plugins/runtime-modules/auth/controller/address.js +17 -0
- package/plugins/runtime-modules/auth/controller/definition.d.ts +86 -0
- package/plugins/runtime-modules/auth/controller/definition.js +93 -0
- package/plugins/runtime-modules/auth/controller/server-definition.d.ts +83 -0
- package/plugins/runtime-modules/auth/controller/server-definition.js +55 -0
- package/plugins/runtime-modules/auth/controller-plugin.d.ts +1 -0
- package/plugins/runtime-modules/auth/controller-plugin.js +312 -0
- package/plugins/runtime-modules/auth/definition.d.ts +47 -16
- package/plugins/runtime-modules/auth/definition.js +16 -7
- package/plugins/runtime-modules/auth/features.js +2 -2
- package/plugins/runtime-modules/auth/form-provider-registry.d.ts +1 -0
- package/plugins/runtime-modules/auth/form-provider-registry.js +38 -0
- package/plugins/runtime-modules/auth/form-providers.d.ts +232 -0
- package/plugins/runtime-modules/auth/form-providers.js +42 -0
- package/plugins/runtime-modules/auth/form-ui-provider.js +7 -0
- package/plugins/runtime-modules/auth/forms.d.ts +3 -0
- package/plugins/runtime-modules/auth/forms.js +140 -0
- package/plugins/runtime-modules/auth/machine.d.ts +46 -0
- package/plugins/runtime-modules/auth/machine.js +98 -0
- package/plugins/runtime-modules/auth/module.js +1 -1
- package/plugins/runtime-modules/auth/overlay-ids.d.ts +23 -0
- package/plugins/runtime-modules/auth/overlay-ids.js +27 -0
- package/plugins/runtime-modules/auth/presets.d.ts +7 -68
- package/plugins/runtime-modules/auth/presets.js +66 -61
- package/plugins/runtime-modules/auth/server.js +3 -4
- package/plugins/runtime-modules/auth/services/installations-table.js +162 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +105 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.js +53 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +334 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.js +90 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.js +166 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.js +126 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.js +118 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.js +151 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.d.ts +46 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.js +216 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.js +22 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/client.js +33 -24
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +48 -22
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +8 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +36 -5
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +8 -7
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.d.ts +15 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.js +14 -0
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.js +9 -26
- package/plugins/runtime-modules/auth/widgets/logout/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/logout/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +6 -1
- package/plugins/runtime-modules/auth/widgets/security/client.js +60 -56
- package/plugins/runtime-modules/auth/widgets/security/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/security/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/server.js +18 -1
- package/plugins/runtime-modules/avatar/addresses.js +19 -0
- package/plugins/runtime-modules/avatar/definition.d.ts +2 -2
- package/plugins/runtime-modules/avatar/definition.js +5 -2
- package/plugins/runtime-modules/avatar/labels.d.ts +25 -0
- package/plugins/runtime-modules/avatar/media-spaces.d.ts +9 -0
- package/plugins/runtime-modules/avatar/media-spaces.js +9 -0
- package/plugins/runtime-modules/avatar/module.d.ts +2 -2
- package/plugins/runtime-modules/avatar/overlay-tree.js +12 -0
- package/plugins/runtime-modules/avatar/overlay-tree.server.js +95 -0
- package/plugins/runtime-modules/avatar/presets.js +1 -1
- package/plugins/runtime-modules/avatar/server.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +5 -5
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/server.js +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.js +9 -8
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.js +1 -1
- package/plugins/runtime-modules/builder/addresses.d.ts +23 -0
- package/plugins/runtime-modules/builder/addresses.js +53 -0
- package/plugins/runtime-modules/builder/area-settings-form.d.ts +2 -0
- package/plugins/runtime-modules/builder/area-settings-form.js +137 -0
- package/plugins/runtime-modules/builder/area-settings-values.d.ts +26 -0
- package/plugins/runtime-modules/builder/area-settings-values.js +26 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +12 -10
- package/plugins/runtime-modules/builder/authoring-canvas.js +5 -0
- package/plugins/runtime-modules/builder/authoring-widgets.js +2 -3
- package/plugins/runtime-modules/builder/builder-geometry.d.ts +28 -0
- package/plugins/runtime-modules/builder/builder-geometry.js +38 -0
- package/plugins/runtime-modules/builder/client-data-providers.js +8 -0
- package/plugins/runtime-modules/builder/client.d.ts +0 -1
- package/plugins/runtime-modules/builder/client.js +0 -4
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +3 -4
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +101 -30
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.d.ts +30 -0
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +69 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +4 -2
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +60 -49
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +4 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +7 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +34 -6
- package/plugins/runtime-modules/builder/clients/mode-switch.js +2 -2
- package/plugins/runtime-modules/builder/clients/pages-header.d.ts +0 -1
- package/plugins/runtime-modules/builder/clients/pages-header.js +24 -9
- package/plugins/runtime-modules/builder/clients/region-inspector.js +2 -2
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +14 -2
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +13 -1
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +8 -7
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +2 -2
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +24 -19
- package/plugins/runtime-modules/builder/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.js +7 -0
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/builder/data-providers.d.ts +26 -1
- package/plugins/runtime-modules/builder/data-providers.js +23 -0
- package/plugins/runtime-modules/builder/definition.d.ts +26 -1
- package/plugins/runtime-modules/builder/demand-controller-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/demand-controller-store.js +0 -5
- package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +17 -1
- package/plugins/runtime-modules/builder/developer-workspace-store.js +34 -3
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +32 -2
- package/plugins/runtime-modules/builder/draft-command-controller.d.ts +6 -4
- package/plugins/runtime-modules/builder/draft-command-controller.js +69 -171
- package/plugins/runtime-modules/builder/draft-status-controller.d.ts +23 -0
- package/plugins/runtime-modules/builder/draft-status-controller.js +173 -0
- package/plugins/runtime-modules/builder/effects-form-values.d.ts +9 -0
- package/plugins/runtime-modules/builder/effects-form-values.js +14 -4
- package/plugins/runtime-modules/builder/history.d.ts +2 -0
- package/plugins/runtime-modules/builder/ids.d.ts +1 -0
- package/plugins/runtime-modules/builder/ids.js +5 -3
- package/plugins/runtime-modules/builder/inspector-actions.d.ts +3 -0
- package/plugins/runtime-modules/builder/inspector-actions.js +6 -5
- package/plugins/runtime-modules/builder/inspector-controller.js +24 -17
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +1 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.d.ts +2 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.js +10 -2
- package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +4 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +2 -0
- package/plugins/runtime-modules/builder/module.d.ts +1 -609
- package/plugins/runtime-modules/builder/module.js +2 -4
- package/plugins/runtime-modules/builder/navigation-catalog.server.d.ts +2 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.js +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.js +27 -10
- package/plugins/runtime-modules/builder/navigation-persistence.js +11 -1
- package/plugins/runtime-modules/builder/navigation-store.d.ts +0 -2
- package/plugins/runtime-modules/builder/navigation-store.js +0 -6
- package/plugins/runtime-modules/builder/node-kind-theme.d.ts +0 -4
- package/plugins/runtime-modules/builder/node-kind-theme.js +1 -14
- package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +12 -1
- package/plugins/runtime-modules/builder/offered-page-catalog.js +98 -3
- package/plugins/runtime-modules/builder/options-providers.d.ts +3 -19
- package/plugins/runtime-modules/builder/options-providers.js +116 -50
- package/plugins/runtime-modules/builder/page-controller-helpers.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller-helpers.js +0 -8
- package/plugins/runtime-modules/builder/page-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller.js +1 -2
- package/plugins/runtime-modules/builder/page-meta-form.js +139 -64
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-presets.server.js +45 -12
- package/plugins/runtime-modules/builder/page-reference-tree.d.ts +18 -0
- package/plugins/runtime-modules/builder/page-reference-tree.js +31 -0
- package/plugins/runtime-modules/builder/page-references-provider.d.ts +5 -0
- package/plugins/runtime-modules/builder/page-references-provider.js +14 -0
- package/plugins/runtime-modules/builder/pages-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/pages-workspace.js +5 -4
- package/plugins/runtime-modules/builder/persistence.d.ts +0 -1
- package/plugins/runtime-modules/builder/persistence.js +11 -28
- package/plugins/runtime-modules/builder/plugin-meta-labels.d.ts +16 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.js +57 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.js +65 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.js +8 -1
- package/plugins/runtime-modules/builder/plugin-metas.d.ts +1 -2
- package/plugins/runtime-modules/builder/plugin-metas.js +3 -14
- package/plugins/runtime-modules/builder/presets.d.ts +4 -2
- package/plugins/runtime-modules/builder/presets.js +3 -4
- package/plugins/runtime-modules/builder/preview-controller.d.ts +1 -2
- package/plugins/runtime-modules/builder/preview-controller.js +2 -70
- package/plugins/runtime-modules/builder/preview-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/preview-store.js +1 -4
- package/plugins/runtime-modules/builder/preview-transport.js +4 -6
- package/plugins/runtime-modules/builder/region-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/region-controller.js +0 -6
- package/plugins/runtime-modules/builder/region-hydration.d.ts +5 -13
- package/plugins/runtime-modules/builder/region-hydration.js +0 -20
- package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +1 -3
- package/plugins/runtime-modules/builder/render-root-node-preview.server.js +8 -56
- package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +2 -2
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +137 -47
- package/plugins/runtime-modules/builder/root-node-normalization.d.ts +6 -1
- package/plugins/runtime-modules/builder/root-node-normalization.js +22 -6
- package/plugins/runtime-modules/builder/runtime-module-sandbox.server.d.ts +1 -1
- package/plugins/runtime-modules/builder/selected-collection-source.d.ts +22 -0
- package/plugins/runtime-modules/builder/selected-collection-source.js +51 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +7 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.js +4 -0
- package/plugins/runtime-modules/builder/server.js +8 -2
- package/plugins/runtime-modules/builder/services/navigation-table.js +11 -3
- package/plugins/runtime-modules/builder/services/page-source-tree.js +8 -2
- package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +15 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +92 -24
- package/plugins/runtime-modules/builder/services/signal-routes-table.js +3 -1
- package/plugins/runtime-modules/builder/shells-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/shells-workspace.js +5 -4
- package/plugins/runtime-modules/builder/signal-wiring-controller.js +18 -2
- package/plugins/runtime-modules/builder/signal-wiring-form.js +15 -6
- package/plugins/runtime-modules/builder/signal-wiring-options.js +38 -10
- package/plugins/runtime-modules/builder/structure-region-pick-items.js +14 -2
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.d.ts +35 -0
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.js +68 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.d.ts +17 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.js +34 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.d.ts +7 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.js +12 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.d.ts +20 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +569 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.d.ts +132 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +2052 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.d.ts +12 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.js +55 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.d.ts +16 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.js +35 -0
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +0 -1
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +2 -5
- package/plugins/runtime-modules/builder/widgets/hello-world/client.js +2 -10
- package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +3 -3
- package/plugins/runtime-modules/builder/widgets/hello-world/config.js +1 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.d.ts +0 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.js +0 -2
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.d.ts +3 -1
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +112 -89
- package/plugins/runtime-modules/builder/widgets/structure-region/config.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/config.js +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.d.ts +22 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.js +8 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +12 -8
- package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +3 -2
- package/plugins/runtime-modules/builder/widgets/test-block/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.d.ts +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets.js +1 -8
- package/plugins/runtime-modules/builder/workspace-controller.d.ts +1 -1
- package/plugins/runtime-modules/builder/workspace-controller.js +206 -199
- package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/accounting.js +0 -7
- package/plugins/runtime-modules/client-area-contributions/app.js +4 -4
- package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/public.js +0 -6
- package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/app.js +12 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/editor.js +6 -0
- package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/public.js +12 -0
- package/plugins/runtime-modules/client-calendar-adapters/core.js +1 -1
- package/plugins/runtime-modules/client-manifests/accounting.d.ts +2 -1
- package/plugins/runtime-modules/client-manifests/accounting.js +5 -1
- package/plugins/runtime-modules/client-manifests/admin.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/admin.js +4 -9
- package/plugins/runtime-modules/client-manifests/app.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/app.js +12 -3
- package/plugins/runtime-modules/client-manifests/builder.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/builder.js +3 -4
- package/plugins/runtime-modules/client-manifests/common.d.ts +7 -0
- package/plugins/runtime-modules/client-manifests/common.js +59 -31
- package/plugins/runtime-modules/client-manifests/editor.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/editor.js +8 -1
- package/plugins/runtime-modules/client-manifests/news-render-clients.d.ts +2 -0
- package/plugins/runtime-modules/client-manifests/news-render-clients.js +10 -0
- package/plugins/runtime-modules/client-manifests/public.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/public.js +3 -0
- package/plugins/runtime-modules/contracts.js +89 -27
- package/plugins/runtime-modules/core/authoring-widgets.js +6 -14
- package/plugins/runtime-modules/core/cards.d.ts +3 -0
- package/plugins/runtime-modules/core/cards.js +83 -0
- package/plugins/runtime-modules/core/client-data-providers.js +11 -3
- package/plugins/runtime-modules/core/data-providers.js +10 -1
- package/plugins/runtime-modules/core/definition.d.ts +223 -181
- package/plugins/runtime-modules/core/definition.js +1 -1
- package/plugins/runtime-modules/core/form-providers.d.ts +417 -0
- package/plugins/runtime-modules/core/form-providers.js +13 -0
- package/plugins/runtime-modules/core/ids.d.ts +0 -4
- package/plugins/runtime-modules/core/ids.js +0 -5
- package/plugins/runtime-modules/core/module.d.ts +1 -508
- package/plugins/runtime-modules/core/module.js +2 -4
- package/plugins/runtime-modules/core/server.js +3 -0
- package/plugins/runtime-modules/core/services/table.js +13 -0
- package/plugins/runtime-modules/core/widgets/account/client.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/account/client.js +62 -38
- package/plugins/runtime-modules/core/widgets/account/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/account/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.js +9 -4
- package/plugins/runtime-modules/core/widgets/account/server.d.ts +9 -5
- package/plugins/runtime-modules/core/widgets/account/server.js +89 -49
- package/plugins/runtime-modules/core/widgets/brand/authoring.js +65 -5
- package/plugins/runtime-modules/core/widgets/brand/client.d.ts +8 -4
- package/plugins/runtime-modules/core/widgets/brand/client.js +35 -8
- package/plugins/runtime-modules/core/widgets/brand/config.d.ts +13 -15
- package/plugins/runtime-modules/core/widgets/brand/config.js +24 -9
- package/plugins/runtime-modules/core/widgets/brand/mode.d.ts +23 -0
- package/plugins/runtime-modules/core/widgets/brand/mode.js +7 -0
- package/plugins/runtime-modules/core/widgets/brand/plugin.js +12 -2
- package/plugins/runtime-modules/core/widgets/brand/server.d.ts +3 -6
- package/plugins/runtime-modules/core/widgets/brand/server.js +2 -6
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/button/client.d.ts +14 -1
- package/plugins/runtime-modules/core/widgets/button/client.js +15 -5
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +61 -7
- package/plugins/runtime-modules/core/widgets/button/config.js +29 -20
- package/plugins/runtime-modules/core/widgets/button/plugin.js +34 -4
- package/plugins/runtime-modules/core/widgets/card/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.js +104 -0
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +16 -1
- package/plugins/runtime-modules/core/widgets/card/config.js +16 -2
- package/plugins/runtime-modules/core/widgets/card/editor.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/card/editor.js +48 -0
- package/plugins/runtime-modules/core/widgets/card/plugin.js +3 -1
- package/plugins/runtime-modules/core/widgets/card/server.d.ts +4 -5
- package/plugins/runtime-modules/core/widgets/card/server.js +11 -2
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +9 -9
- package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/cascader/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/checkbox/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +253 -0
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/client.js +55 -0
- package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +94 -88
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +47 -38
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.js +16 -0
- package/plugins/runtime-modules/core/widgets/collection-view/plugin.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/color/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/color/client.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/color/client.js +18 -0
- package/plugins/runtime-modules/core/widgets/color/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/color/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.js +45 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +14 -22
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +11 -7
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/date-picker/config.js +2 -3
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/description/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/description/client.d.ts +5 -2
- package/plugins/runtime-modules/core/widgets/description/client.js +10 -9
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +25 -0
- package/plugins/runtime-modules/core/widgets/description/config.js +5 -0
- package/plugins/runtime-modules/core/widgets/description/editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/description/editor.js +129 -0
- package/plugins/runtime-modules/core/widgets/description/plugin.js +4 -2
- package/plugins/runtime-modules/core/widgets/description/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/description/server.js +36 -12
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/dimension/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.js +118 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.js +37 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.js +23 -0
- package/plugins/runtime-modules/core/widgets/form/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +70 -62
- package/plugins/runtime-modules/core/widgets/form/config.js +65 -67
- package/plugins/runtime-modules/core/widgets/form/plugin.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form/plugin.js +2 -2
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.js +1 -0
- package/plugins/runtime-modules/core/widgets/form-preview/client.js +12 -9
- package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/form-preview/config.js +3 -4
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +13 -1
- package/plugins/runtime-modules/core/widgets/gallery/config.js +10 -7
- package/plugins/runtime-modules/core/widgets/gallery/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/authoring.js +4 -3
- package/plugins/runtime-modules/core/widgets/header-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +2 -5
- package/plugins/runtime-modules/core/widgets/header-navigation/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/plugin.js +3 -2
- package/plugins/runtime-modules/core/widgets/html/config.d.ts +1 -7
- package/plugins/runtime-modules/core/widgets/html/config.js +12 -35
- package/plugins/runtime-modules/core/widgets/html/server.js +16 -20
- package/plugins/runtime-modules/core/widgets/icon/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/icon/client.d.ts +9 -2
- package/plugins/runtime-modules/core/widgets/icon/client.js +5 -3
- package/plugins/runtime-modules/core/widgets/icon/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/icon/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.js +12 -0
- package/plugins/runtime-modules/core/widgets/image/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/image/client.js +9 -6
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +10 -24
- package/plugins/runtime-modules/core/widgets/image/config.js +13 -15
- package/plugins/runtime-modules/core/widgets/image/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/image/editor.js +100 -0
- package/plugins/runtime-modules/core/widgets/input/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/input/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/input/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/locale/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/locale/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +6 -9
- package/plugins/runtime-modules/core/widgets/markdown/config.js +29 -5
- package/plugins/runtime-modules/core/widgets/markdown/editor.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/markdown/editor.js +104 -0
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +1 -0
- package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +1 -19
- package/plugins/runtime-modules/core/widgets/markdown/server.js +1 -486
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +4 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +1 -6
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.js +4 -2
- package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/multi-select/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/number-input/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/number-input/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/otp/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/otp/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/page-title/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/page-title/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/pagination/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/quick-links/authoring.js +3 -3
- package/plugins/runtime-modules/core/widgets/quick-links/client.js +5 -5
- package/plugins/runtime-modules/core/widgets/quick-links/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/quick-links/items.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/quick-links/items.js +27 -0
- package/plugins/runtime-modules/core/widgets/quick-links/server.js +1 -1
- package/plugins/runtime-modules/core/widgets/rate/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/rate/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/rate/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/record/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/record/client.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/client.js +136 -0
- package/plugins/runtime-modules/core/widgets/record/config.d.ts +186 -0
- package/plugins/runtime-modules/core/widgets/record/config.js +214 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/record/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/server.js +6 -0
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +36 -7
- package/plugins/runtime-modules/core/widgets/result/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/result/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/result/plugin.js +5 -4
- package/plugins/runtime-modules/core/widgets/result/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/result/server.js +4 -4
- package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +19 -24
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +15 -20
- package/plugins/runtime-modules/core/widgets/simple-text/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +4 -6
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +15 -32
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +252 -11
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +28 -68
- package/plugins/runtime-modules/core/widgets/simple-text/editor.d.ts +32 -0
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +143 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.js +8 -0
- package/plugins/runtime-modules/core/widgets/simple-text/server.js +13 -3
- package/plugins/runtime-modules/core/widgets/slider/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/slider/config.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/slider/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/slider/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/value.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slider/value.js +7 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/client.js +12 -7
- package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/spacer/authoring.d.ts +1 -3
- package/plugins/runtime-modules/core/widgets/spacer/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/spacer/client.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/spacer/config.d.ts +4 -3
- package/plugins/runtime-modules/core/widgets/spacer/config.js +2 -4
- package/plugins/runtime-modules/core/widgets/spacer/plugin.d.ts +2 -3
- package/plugins/runtime-modules/core/widgets/spacer/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/switch/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/switch/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/switch/config.js +14 -7
- package/plugins/runtime-modules/core/widgets/table/client.js +103 -88
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +120 -12
- package/plugins/runtime-modules/core/widgets/table/config.js +62 -74
- package/plugins/runtime-modules/core/widgets/table/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/table/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.js +10 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.js +12 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.js +37 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.js +39 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.js +18 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +2 -2
- package/plugins/runtime-modules/core/widgets/tree/config.d.ts +9 -1
- package/plugins/runtime-modules/core/widgets/tree/config.js +24 -28
- package/plugins/runtime-modules/core/widgets/tree/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/tree/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets.js +23 -55
- package/plugins/runtime-modules/dashboard/client-data-providers.d.ts +19 -0
- package/plugins/runtime-modules/dashboard/client-data-providers.js +26 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.js +128 -0
- package/plugins/runtime-modules/dashboard/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/dashboard/controller/address.js +1 -5
- package/plugins/runtime-modules/dashboard/data-providers.d.ts +30 -0
- package/plugins/runtime-modules/dashboard/data-providers.js +34 -0
- package/plugins/runtime-modules/dashboard/definition.d.ts +24 -0
- package/plugins/runtime-modules/dashboard/definition.js +11 -1
- package/plugins/runtime-modules/dashboard/ids.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/ids.js +6 -0
- package/plugins/runtime-modules/dashboard/module.d.ts +1 -28
- package/plugins/runtime-modules/dashboard/module.js +2 -4
- package/plugins/runtime-modules/dashboard/presets.js +35 -55
- package/plugins/runtime-modules/dashboard/services/collection.d.ts +4 -0
- package/plugins/runtime-modules/dashboard/services/collection.js +76 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.d.ts +7 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.js +26 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.js +38 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.js +103 -0
- package/plugins/runtime-modules/descriptor-compiler.d.ts +14 -3
- package/plugins/runtime-modules/descriptor-compiler.js +144 -37
- package/plugins/runtime-modules/editor/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/editor/controller/address.js +1 -5
- package/plugins/runtime-modules/editor/module.d.ts +1 -28
- package/plugins/runtime-modules/editor/module.js +2 -4
- package/plugins/runtime-modules/editor/presets.js +2 -12
- package/plugins/runtime-modules/editor/trees/editor-label-set.d.ts +8 -0
- package/plugins/runtime-modules/editor/trees/editor-label-set.js +22 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.js +213 -0
- package/plugins/runtime-modules/form-builder/module.d.ts +1 -28
- package/plugins/runtime-modules/form-builder/module.js +2 -4
- package/plugins/runtime-modules/groups/controller/client.d.ts +2 -2
- package/plugins/runtime-modules/groups/controller/client.js +30 -64
- package/plugins/runtime-modules/groups/controller/definition.d.ts +13 -2
- package/plugins/runtime-modules/groups/controller/definition.js +11 -3
- package/plugins/runtime-modules/groups/data-providers.d.ts +2 -0
- package/plugins/runtime-modules/groups/data-providers.js +64 -12
- package/plugins/runtime-modules/groups/definition.d.ts +3 -0
- package/plugins/runtime-modules/groups/definition.js +9 -0
- package/plugins/runtime-modules/groups/forms.d.ts +0 -1
- package/plugins/runtime-modules/groups/forms.js +0 -47
- package/plugins/runtime-modules/groups/labels.d.ts +4 -1
- package/plugins/runtime-modules/groups/labels.js +8 -2
- package/plugins/runtime-modules/groups/module.d.ts +1 -335
- package/plugins/runtime-modules/groups/module.js +2 -4
- package/plugins/runtime-modules/groups/presets.d.ts +2 -56
- package/plugins/runtime-modules/groups/presets.js +17 -35
- package/plugins/runtime-modules/groups/services/options.js +5 -4
- package/plugins/runtime-modules/groups/services/table.js +42 -33
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.d.ts +13 -0
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +485 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +384 -0
- package/plugins/runtime-modules/localization/cards.d.ts +3 -0
- package/plugins/runtime-modules/localization/cards.js +109 -0
- package/plugins/runtime-modules/localization/controller/client.js +4 -3
- package/plugins/runtime-modules/localization/definition.d.ts +0 -5
- package/plugins/runtime-modules/localization/definition.js +0 -2
- package/plugins/runtime-modules/localization/forms.js +2 -15
- package/plugins/runtime-modules/localization/module.d.ts +1 -372
- package/plugins/runtime-modules/localization/module.js +2 -4
- package/plugins/runtime-modules/localization/presets.d.ts +2 -25
- package/plugins/runtime-modules/localization/presets.js +30 -17
- package/plugins/runtime-modules/localization/server.js +4 -0
- package/plugins/runtime-modules/localization/services/table.js +22 -30
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-shell.js +51 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.d.ts +56 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.js +100 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +251 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +325 -0
- package/plugins/runtime-modules/news/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/authoring-widgets.js +7 -0
- package/plugins/runtime-modules/news/authoring.d.ts +1 -0
- package/plugins/runtime-modules/news/authoring.js +8 -0
- package/plugins/runtime-modules/news/client-data-providers.d.ts +11 -0
- package/plugins/runtime-modules/news/client-data-providers.js +14 -0
- package/plugins/runtime-modules/news/data-providers.d.ts +133 -0
- package/plugins/runtime-modules/news/data-providers.js +112 -0
- package/plugins/runtime-modules/news/definition.d.ts +165 -0
- package/plugins/runtime-modules/news/definition.js +32 -0
- package/plugins/runtime-modules/news/forms.d.ts +39 -0
- package/plugins/runtime-modules/news/forms.js +204 -0
- package/plugins/runtime-modules/news/ids.d.ts +42 -0
- package/plugins/runtime-modules/news/ids.js +125 -0
- package/plugins/runtime-modules/news/module.d.ts +157 -0
- package/plugins/runtime-modules/news/module.js +12 -0
- package/plugins/runtime-modules/news/presets.d.ts +17 -0
- package/plugins/runtime-modules/news/presets.js +64 -0
- package/plugins/runtime-modules/news/server.d.ts +1 -0
- package/plugins/runtime-modules/news/server.js +18 -0
- package/plugins/runtime-modules/news/services/options.d.ts +3 -0
- package/plugins/runtime-modules/news/services/options.js +35 -0
- package/plugins/runtime-modules/news/services/table.d.ts +14 -0
- package/plugins/runtime-modules/news/services/table.js +144 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.d.ts +8 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.js +29 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.d.ts +65 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.js +106 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.js +462 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.d.ts +11 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.js +86 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.js +21 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.d.ts +34 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.js +26 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.d.ts +43 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.js +52 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.d.ts +3 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.js +8 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.d.ts +14 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.js +82 -0
- package/plugins/runtime-modules/news/widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets.js +16 -0
- package/plugins/runtime-modules/observability/authoring-widgets.d.ts +9 -0
- package/plugins/runtime-modules/observability/authoring-widgets.js +11 -6
- package/plugins/runtime-modules/observability/definition.d.ts +0 -5
- package/plugins/runtime-modules/observability/definition.js +0 -2
- package/plugins/runtime-modules/observability/module.d.ts +0 -5
- package/plugins/runtime-modules/observability/presets.d.ts +2 -30
- package/plugins/runtime-modules/observability/presets.js +10 -19
- package/plugins/runtime-modules/observability/server.js +1 -2
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.d.ts +8 -0
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.js +22 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +313 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.d.ts +11 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +633 -0
- package/plugins/runtime-modules/pub-area-preset.d.ts +2 -0
- package/plugins/runtime-modules/pub-area-preset.js +130 -0
- package/plugins/runtime-modules/public/definition.d.ts +14 -3
- package/plugins/runtime-modules/public/definition.js +1 -7
- package/plugins/runtime-modules/public/form-providers.d.ts +29 -0
- package/plugins/runtime-modules/public/form-providers.js +11 -0
- package/plugins/runtime-modules/public/forms.d.ts +3 -0
- package/plugins/runtime-modules/public/forms.js +38 -0
- package/plugins/runtime-modules/public/module.d.ts +46 -1
- package/plugins/runtime-modules/public/module.js +8 -3
- package/plugins/runtime-modules/public/server.js +1 -1
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.js +103 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +105 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.js +79 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.js +82 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.d.ts +16 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.js +110 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.js +194 -0
- package/plugins/runtime-modules/public-base-page-references.d.ts +32 -0
- package/plugins/runtime-modules/public-base-page-references.js +43 -0
- package/plugins/runtime-modules/resolver.js +35 -60
- package/plugins/runtime-modules/revisions/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/client.js +92 -10
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/definition.js +17 -0
- package/plugins/runtime-modules/revisions/forms.d.ts +4 -0
- package/plugins/runtime-modules/revisions/forms.js +70 -0
- package/plugins/runtime-modules/revisions/module.d.ts +1 -149
- package/plugins/runtime-modules/revisions/module.js +2 -4
- package/plugins/runtime-modules/revisions/page-ids.d.ts +9 -0
- package/plugins/runtime-modules/revisions/page-ids.js +28 -0
- package/plugins/runtime-modules/revisions/presets.d.ts +2 -141
- package/plugins/runtime-modules/revisions/presets.js +11 -24
- package/plugins/runtime-modules/revisions/server.js +2 -0
- package/plugins/runtime-modules/revisions/services/table.js +13 -15
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +506 -0
- package/plugins/runtime-modules/runtime-calendar-adapters.js +1 -1
- package/plugins/runtime-modules/settings.d.ts +28 -4
- package/plugins/runtime-modules/settings.js +60 -5
- package/plugins/runtime-modules/shell-tree-composition.d.ts +3 -0
- package/plugins/runtime-modules/sidebar-route.d.ts +55 -0
- package/plugins/runtime-modules/sidebar-route.js +56 -0
- package/plugins/runtime-modules/site-module-client-manifests.d.ts +2 -0
- package/plugins/runtime-modules/site-module-client-manifests.js +2 -0
- package/plugins/runtime-modules/site-module-placements.d.ts +26 -0
- package/plugins/runtime-modules/site-module-placements.js +33 -0
- package/plugins/runtime-modules/site-modules-client.d.ts +2 -0
- package/plugins/runtime-modules/theme/block-descriptors.d.ts +12 -23
- package/plugins/runtime-modules/theme/block-descriptors.js +12 -27
- package/plugins/runtime-modules/theme/controller/client.d.ts +7 -1
- package/plugins/runtime-modules/theme/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/theme/controller/definition.js +7 -0
- package/plugins/runtime-modules/theme/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/theme/materialize-images.d.ts +11 -5
- package/plugins/runtime-modules/theme/materialize-images.js +16 -8
- package/plugins/runtime-modules/theme/module.d.ts +1 -79
- package/plugins/runtime-modules/theme/module.js +2 -4
- package/plugins/runtime-modules/theme/page-ids.d.ts +3 -0
- package/plugins/runtime-modules/theme/page-ids.js +36 -0
- package/plugins/runtime-modules/theme/presets.d.ts +2 -141
- package/plugins/runtime-modules/theme/presets.js +11 -24
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.js +614 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +25 -25
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +311 -117
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +2 -2
- package/plugins/runtime-modules/theme-descriptors.d.ts +68 -0
- package/plugins/runtime-modules/theme-descriptors.js +34 -0
- package/plugins/runtime-modules/threads/addresses.d.ts +15 -0
- package/plugins/runtime-modules/threads/addresses.js +32 -0
- package/plugins/runtime-modules/threads/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/threads/authoring.d.ts +1 -0
- package/plugins/runtime-modules/threads/authoring.js +8 -0
- package/plugins/runtime-modules/threads/cards.d.ts +3 -0
- package/plugins/runtime-modules/threads/cards.js +87 -0
- package/plugins/runtime-modules/threads/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/threads/client-data-providers.js +14 -0
- package/plugins/runtime-modules/threads/client.d.ts +1 -0
- package/plugins/runtime-modules/threads/client.js +7 -0
- package/plugins/runtime-modules/threads/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/threads/controller/address.js +8 -0
- package/plugins/runtime-modules/threads/controller/client.d.ts +85 -0
- package/plugins/runtime-modules/threads/controller/client.js +231 -0
- package/plugins/runtime-modules/threads/controller/definition.d.ts +111 -0
- package/plugins/runtime-modules/threads/controller/definition.js +141 -0
- package/plugins/runtime-modules/threads/data-providers.d.ts +105 -0
- package/plugins/runtime-modules/threads/data-providers.js +116 -0
- package/plugins/runtime-modules/threads/definition.d.ts +150 -0
- package/plugins/runtime-modules/threads/definition.js +54 -0
- package/plugins/runtime-modules/threads/forms.d.ts +38 -0
- package/plugins/runtime-modules/threads/forms.js +267 -0
- package/plugins/runtime-modules/threads/ids.d.ts +10 -0
- package/plugins/runtime-modules/threads/ids.js +15 -0
- package/plugins/runtime-modules/threads/media-spaces.d.ts +14 -0
- package/plugins/runtime-modules/threads/media-spaces.js +22 -0
- package/plugins/runtime-modules/threads/module.d.ts +1 -0
- package/plugins/runtime-modules/threads/module.js +4 -0
- package/plugins/runtime-modules/threads/presets.d.ts +2 -0
- package/plugins/runtime-modules/threads/presets.js +18 -0
- package/plugins/runtime-modules/threads/server.d.ts +1 -0
- package/plugins/runtime-modules/threads/server.js +24 -0
- package/plugins/runtime-modules/threads/services/options.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/options.js +48 -0
- package/plugins/runtime-modules/threads/services/table.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/table.js +130 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.d.ts +23 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.js +775 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.js +445 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.d.ts +46 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.js +59 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.js +24 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.d.ts +42 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.js +51 -0
- package/plugins/runtime-modules/threads/widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/widgets.js +14 -0
- package/plugins/runtime-modules/user-management/cards.d.ts +3 -0
- package/plugins/runtime-modules/user-management/cards.js +73 -0
- package/plugins/runtime-modules/user-management/controller/client.js +1 -1
- package/plugins/runtime-modules/user-management/definition.d.ts +0 -5
- package/plugins/runtime-modules/user-management/definition.js +0 -2
- package/plugins/runtime-modules/user-management/forms.js +0 -12
- package/plugins/runtime-modules/user-management/module.d.ts +1 -257
- package/plugins/runtime-modules/user-management/module.js +2 -4
- package/plugins/runtime-modules/user-management/presets.d.ts +2 -30
- package/plugins/runtime-modules/user-management/presets.js +10 -19
- package/plugins/runtime-modules/user-management/server.js +4 -0
- package/plugins/runtime-modules/user-management/services/table.js +9 -16
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.d.ts +8 -0
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.js +22 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +558 -0
- package/plugins/runtime-modules/video/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/video/authoring.d.ts +1 -0
- package/plugins/runtime-modules/video/authoring.js +8 -0
- package/plugins/runtime-modules/video/definition.d.ts +25 -0
- package/plugins/runtime-modules/video/definition.js +28 -0
- package/plugins/runtime-modules/video/ids.d.ts +9 -0
- package/plugins/runtime-modules/video/ids.js +11 -0
- package/plugins/runtime-modules/video/module.d.ts +11 -0
- package/plugins/runtime-modules/video/module.js +4 -0
- package/plugins/runtime-modules/video/providers.d.ts +21 -0
- package/plugins/runtime-modules/video/providers.js +62 -0
- package/plugins/runtime-modules/video/server.d.ts +1 -0
- package/plugins/runtime-modules/video/server.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.js +51 -0
- package/plugins/runtime-modules/video/widgets/embed/client.d.ts +22 -0
- package/plugins/runtime-modules/video/widgets/embed/client.js +28 -0
- package/plugins/runtime-modules/video/widgets/embed/config.d.ts +101 -0
- package/plugins/runtime-modules/video/widgets/embed/config.js +100 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.js +9 -0
- package/plugins/runtime-modules/video/widgets/embed/server.d.ts +14 -0
- package/plugins/runtime-modules/video/widgets/embed/server.js +54 -0
- package/plugins/runtime-modules/video/widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets.js +14 -0
- package/references.d.ts +3 -1
- package/references.js +3 -1
- package/runtime-authoring-client.d.ts +1 -1
- package/runtime-authoring-client.js +1 -1
- package/runtime-controller-client.d.ts +3 -0
- package/runtime-controller-client.js +15 -0
- package/runtime-data-provider-client.d.ts +1 -1
- package/runtime-data-provider-client.js +1 -1
- package/runtime-render-client.d.ts +1 -0
- package/runtime-render-client.js +1 -0
- package/runtime-user-state-client.d.ts +2 -0
- package/runtime-user-state-client.js +2 -0
- package/server-helpers/area-root-door-warmup.d.ts +35 -0
- package/server-helpers/area-root-door-warmup.js +71 -0
- package/server-helpers/area-root-route.js +0 -1
- package/server-helpers/auth-ui-provider.d.ts +2 -0
- package/server-helpers/auth-ui-provider.js +28 -0
- package/server-helpers/cms-link-targets.d.ts +16 -0
- package/server-helpers/cms-link-targets.js +48 -0
- package/server-helpers/cms-request.d.ts +11 -5
- package/server-helpers/cms-request.js +31 -17
- package/server-helpers/cms-review.d.ts +1 -1
- package/server-helpers/cms-root.d.ts +11 -4
- package/server-helpers/cms-root.js +39 -7
- package/server-helpers/cms-route.js +2 -4
- package/server-helpers/public-login-route.d.ts +1 -2
- package/server-helpers/public-login-route.js +18 -6
- package/server-helpers/request-runtime.d.ts +32 -0
- package/server-helpers/request-runtime.js +34 -1
- package/server-helpers/runtime.d.ts +1 -165
- package/server-helpers/runtime.js +42 -22
- package/server-helpers/site-locale.d.ts +8 -0
- package/server-helpers/site-locale.js +18 -32
- package/server-helpers/translate.js +13 -33
- package/server-helpers.d.ts +5 -0
- package/server-helpers.js +11 -0
- package/styles/builder-scaffold.css +1 -1
- package/styles/control-shape.css +77 -3
- package/styles/controls.css +535 -0
- package/styles/layout-authoring-scaffold.css +54 -7
- package/styles/layout.css +87 -17
- package/styles/root.css +27 -2
- package/styles/shell.css +10 -0
- package/theme/antd-css-var-contract.d.ts +2 -3
- package/theme/antd-css-var-contract.js +2 -3
- package/theme/phi-container-breakpoints.d.ts +35 -2
- package/theme/phi-container-breakpoints.js +32 -0
- package/theme/phi-control-shape.d.ts +54 -4
- package/theme/phi-control-shape.js +170 -10
- package/theme/phi-published-root-style.d.ts +1 -1
- package/theme/phi-root-background.server.d.ts +1 -1
- package/theme/phi-server-tokens.d.ts +9 -37
- package/theme/phi-server-tokens.js +7 -1
- package/theme/phi-theme-adoption.d.ts +2 -1
- package/theme/phi-theme-adoption.js +4 -1
- package/theme/phi-theme-blocks.d.ts +19 -0
- package/theme/phi-theme-blocks.js +16 -6
- package/theme/phi-theme-composition.d.ts +3 -3
- package/theme/phi-theme-composition.js +2 -2
- package/theme/phi-theme-ground-image.d.ts +12 -12
- package/theme/phi-theme-ground-image.js +34 -12
- package/theme/phi-theme-mode.d.ts +86 -9
- package/theme/phi-theme-mode.js +128 -19
- package/theme/phi-theme-placeholder-logo.d.ts +19 -0
- package/theme/phi-theme-placeholder-logo.js +31 -0
- package/theme/phi-theme-presets.d.ts +6 -0
- package/theme/phi-theme-presets.js +41 -0
- package/theme/phi-theme-runtime.js +1 -1
- package/theme/phi-theme-tokens.d.ts +79 -0
- package/theme/phi-theme-tokens.js +227 -0
- package/theme/phi-tokens.d.ts +5 -4
- package/theme/phi-tokens.js +41 -4
- package/theme.d.ts +2 -8
- package/theme.js +2 -8
- package/types/auth-manifest.d.ts +7 -1
- package/types/builder.d.ts +5 -2
- package/types/calendar-keys.d.ts +7 -0
- package/types/calendar-keys.js +8 -0
- package/types/calendar.d.ts +16 -1
- package/types/calendar.js +64 -2
- package/types/cms-border-config.d.ts +2 -0
- package/types/cms-border-config.js +44 -0
- package/types/cms-border-source.d.ts +19 -0
- package/types/cms-border-source.js +34 -0
- package/types/cms-config.d.ts +35 -9
- package/types/cms-config.js +48 -58
- package/types/cms-instance-id.d.ts +4 -5
- package/types/cms-instance-id.js +16 -9
- package/types/cms-module-descriptors.d.ts +106 -2
- package/types/cms-mount-policy.d.ts +0 -12
- package/types/cms-mount-policy.js +0 -16
- package/types/cms-overlay-zones.d.ts +36 -0
- package/types/cms-overlay-zones.js +1 -0
- package/types/cms-overlay.d.ts +29 -3
- package/types/cms-overlay.js +20 -6
- package/types/cms-plugins.d.ts +219 -15
- package/types/cms-presets.d.ts +4 -4
- package/types/cms.d.ts +22 -4
- package/types/collection-provider.d.ts +32 -5
- package/types/collection-view-widget.d.ts +67 -0
- package/types/collection-view-widget.js +1 -0
- package/types/core-runtime-controller.js +3 -5
- package/types/core-widget-placements.d.ts +365 -0
- package/types/core-widget-placements.js +3 -0
- package/types/dashboard-cards.d.ts +152 -0
- package/types/dashboard-cards.js +15 -0
- package/types/draft-status.d.ts +23 -0
- package/types/draft-status.js +20 -0
- package/types/form-descriptor.d.ts +2 -140
- package/types/form-descriptor.js +6 -3
- package/types/markdown.d.ts +6 -0
- package/types/markdown.js +1 -0
- package/types/media.d.ts +28 -0
- package/types/news.d.ts +33 -0
- package/types/news.js +1 -0
- package/types/record-widget.d.ts +49 -0
- package/types/record-widget.js +1 -0
- package/types/references.d.ts +18 -30
- package/types/references.js +9 -114
- package/types/renderable-block-geometry.d.ts +85 -0
- package/types/renderable-block-geometry.js +96 -0
- package/types/renderable-block.d.ts +31 -4
- package/types/responsive.d.ts +1 -11
- package/types/responsive.js +5 -8
- package/types/result-widget.d.ts +5 -0
- package/types/result-widget.js +1 -0
- package/types/runtime-condition.d.ts +3 -90
- package/types/runtime-condition.js +7 -164
- package/types/runtime-data-provider.d.ts +13 -2
- package/types/runtime-data-provider.js +25 -5
- package/types/seed.d.ts +32 -0
- package/types/seed.js +15 -0
- package/types/signals.d.ts +53 -5
- package/types/signals.js +52 -38
- package/types/site-config.d.ts +83 -0
- package/types/site-config.js +1 -0
- package/types/site-request-context.d.ts +167 -0
- package/types/site-request-context.js +1 -0
- package/types/site-theme.d.ts +17 -0
- package/types/spacing.d.ts +1 -3
- package/types/spacing.js +5 -14
- package/types/state-machine.d.ts +229 -0
- package/types/state-machine.js +161 -0
- package/types/table-signal-values.d.ts +8 -0
- package/types/table-signal-values.js +71 -0
- package/types/table-widget.d.ts +34 -22
- package/types/table-widget.js +13 -78
- package/types/thread-widget.d.ts +27 -0
- package/types/thread-widget.js +9 -0
- package/types/threads.d.ts +13 -0
- package/types/threads.js +13 -0
- package/types/tree-widget.d.ts +10 -6
- package/types/tree-widget.js +14 -7
- package/types/tree.d.ts +8 -0
- package/types/user-state.d.ts +17 -0
- package/types/user-state.js +17 -0
- package/types/video.d.ts +152 -0
- package/types/video.js +278 -0
- package/types/widget-runtime.d.ts +19 -3
- package/types.d.ts +12 -31
- package/types.js +4 -1
- package/widgets.d.ts +6 -8
- package/widgets.js +3 -4
- package/builder.d.ts +0 -2
- package/builder.js +0 -2
- package/components/controls/phi-dropdown-control.module.css +0 -63
- package/components/controls/phi-expand-indicator.module.css +0 -16
- package/components/controls/phi-icon-picker-labels.d.ts +0 -27
- package/components/controls/phi-icon-picker-labels.js +0 -26
- package/components/controls/phi-table-control.module.css +0 -16
- package/components/controls/phi-tree-control.module.css +0 -22
- package/components/forms/auth-admin-settings-forms.d.ts +0 -15
- package/components/forms/auth-admin-settings-forms.js +0 -349
- package/components/forms/auth-form-provider-registry.d.ts +0 -1
- package/components/forms/auth-form-provider-registry.js +0 -38
- package/components/forms/auth-form-ui-provider.js +0 -7
- package/components/forms/auth-installations-table-service.js +0 -144
- package/components/forms/auth-link-confirmation-contract.d.ts +0 -7
- package/components/forms/auth-link-confirmation-contract.js +0 -8
- package/components/forms/shared-form-plugins.d.ts +0 -4
- package/components/forms/shared-form-plugins.js +0 -171
- package/components/media/asset-collection-service.js +0 -160
- package/components/media/asset-controller-definition.js +0 -128
- package/components/media/asset-controller-mount.d.ts +0 -4
- package/components/media/asset-controller-mount.js +0 -6
- package/components/media/asset-controller-plugin.d.ts +0 -124
- package/components/media/asset-controller-plugin.js +0 -10
- package/components/media/asset-form-field-providers.js +0 -11
- package/components/media/asset-form-ui-provider.js +0 -13
- package/components/media/asset-inspector-addresses.d.ts +0 -4
- package/components/media/asset-inspector-addresses.js +0 -30
- package/components/media/asset-metadata-form.d.ts +0 -243
- package/components/media/asset-metadata-form.js +0 -209
- package/components/media/asset-options-providers.js +0 -69
- package/components/media/media-settings-forms.d.ts +0 -22
- package/components/media/media-settings-forms.js +0 -130
- package/components/media/phi-area-upload-server.d.ts +0 -7
- package/components/media/phi-area-upload-server.js +0 -13
- package/components/media/phi-asset-collection-view-binding.d.ts +0 -9
- package/components/media/phi-asset-collection-view-binding.js +0 -245
- package/components/media/phi-asset-focal-rect-server.d.ts +0 -6
- package/components/media/phi-asset-focal-rect-server.js +0 -6
- package/components/media/phi-image-inspector-server.d.ts +0 -7
- package/components/media/phi-image-inspector-server.js +0 -18
- package/components/media/phi-image-preview-grid-widget.d.ts +0 -7
- package/components/media/phi-image-preview-grid-widget.js +0 -16
- package/components/media/phi-media-scope-controller.d.ts +0 -20
- package/components/media/phi-media-scope-controller.js +0 -398
- package/components/regions/presets/admin-dashboard-label-set.d.ts +0 -22
- package/components/regions/presets/admin-dashboard-label-set.js +0 -50
- package/components/regions/presets/admin-locales-label-set.d.ts +0 -8
- package/components/regions/presets/admin-locales-label-set.js +0 -22
- package/components/regions/presets/admin-logs-label-set.d.ts +0 -8
- package/components/regions/presets/admin-logs-label-set.js +0 -22
- package/components/regions/presets/admin-settings-label-set.d.ts +0 -6
- package/components/regions/presets/admin-settings-label-set.js +0 -18
- package/components/regions/presets/admin-users-label-set.d.ts +0 -8
- package/components/regions/presets/admin-users-label-set.js +0 -22
- package/components/regions/presets/builder-navigation-label-set.d.ts +0 -35
- package/components/regions/presets/builder-navigation-label-set.js +0 -68
- package/components/regions/presets/builder-settings-label-set.d.ts +0 -17
- package/components/regions/presets/builder-settings-label-set.js +0 -34
- package/components/regions/presets/editor-label-set.d.ts +0 -8
- package/components/regions/presets/editor-label-set.js +0 -22
- package/components/regions/presets/editor-shell.js +0 -44
- package/components/regions/presets/editor-translations-label-set.d.ts +0 -8
- package/components/regions/presets/editor-translations-label-set.js +0 -22
- package/components/regions/presets/phi-auth-area-overlay-tree.server.d.ts +0 -8
- package/components/regions/presets/phi-auth-area-overlay-tree.server.js +0 -114
- package/components/regions/presets/phi-auth-runtime-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-auth-runtime-page-tree.js +0 -57
- package/components/regions/presets/phi-avatar-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-avatar-area-overlay-tree.server.js +0 -104
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.d.ts +0 -7
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.d.ts +0 -20
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.js +0 -527
- package/components/regions/presets/phi-default-accounting-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-accounting-page-tree.js +0 -50
- package/components/regions/presets/phi-default-admin-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-area-preset-tree.js +0 -252
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.js +0 -290
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.js +0 -181
- package/components/regions/presets/phi-default-admin-groups-page-tree.d.ts +0 -13
- package/components/regions/presets/phi-default-admin-groups-page-tree.js +0 -409
- package/components/regions/presets/phi-default-admin-locales-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-default-admin-locales-page-tree.js +0 -264
- package/components/regions/presets/phi-default-admin-logs-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-logs-page-tree.js +0 -287
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.js +0 -94
- package/components/regions/presets/phi-default-admin-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-settings-page-tree.js +0 -82
- package/components/regions/presets/phi-default-admin-users-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-users-page-tree.js +0 -568
- package/components/regions/presets/phi-default-app-groups-page-tree.d.ts +0 -14
- package/components/regions/presets/phi-default-app-groups-page-tree.js +0 -315
- package/components/regions/presets/phi-default-app-profile-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-app-profile-page-tree.js +0 -29
- package/components/regions/presets/phi-default-area-dashboard-page-tree.d.ts +0 -9
- package/components/regions/presets/phi-default-area-dashboard-page-tree.js +0 -67
- package/components/regions/presets/phi-default-builder-area-preset-tree.d.ts +0 -131
- package/components/regions/presets/phi-default-builder-area-preset-tree.js +0 -3580
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.js +0 -112
- package/components/regions/presets/phi-default-builder-settings-page-tree.d.ts +0 -12
- package/components/regions/presets/phi-default-builder-settings-page-tree.js +0 -55
- package/components/regions/presets/phi-default-editor-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-area-preset-tree.js +0 -253
- package/components/regions/presets/phi-default-editor-translations-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-translations-page-tree.js +0 -323
- package/components/regions/presets/phi-default-pub-confirm-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-confirm-page-tree.js +0 -175
- package/components/regions/presets/phi-default-pub-contact-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-contact-page-tree.js +0 -112
- package/components/regions/presets/phi-default-pub-error-page-tree.d.ts +0 -8
- package/components/regions/presets/phi-default-pub-error-page-tree.js +0 -128
- package/components/regions/presets/phi-default-pub-home-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-home-page-tree.js +0 -90
- package/components/regions/presets/phi-default-pub-login-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-login-page-tree.js +0 -111
- package/components/regions/presets/phi-default-pub-registration-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-registration-page-tree.js +0 -127
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.js +0 -159
- package/components/regions/presets/phi-default-pub-terms-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-terms-page-tree.js +0 -93
- package/components/regions/presets/phi-default-pub-welcome-page-tree.d.ts +0 -17
- package/components/regions/presets/phi-default-pub-welcome-page-tree.js +0 -110
- package/components/regions/presets/phi-default-site-area-preset-tree.d.ts +0 -11
- package/components/regions/presets/phi-default-site-area-preset-tree.js +0 -640
- package/components/regions/presets/phi-login-form-nodes.d.ts +0 -46
- package/components/regions/presets/phi-login-form-nodes.js +0 -210
- package/components/regions/presets/profile-label-set.d.ts +0 -11
- package/components/regions/presets/profile-label-set.js +0 -28
- package/components/regions/presets/pub.d.ts +0 -2
- package/components/regions/presets/pub.js +0 -130
- package/components/runtime/accounting-base-controller-plugin.d.ts +0 -1
- package/components/runtime/accounting-base-controller-plugin.js +0 -4
- package/components/runtime/app-base-controller-plugin.d.ts +0 -1
- package/components/runtime/app-base-controller-plugin.js +0 -4
- package/components/runtime/area-base-controller-addresses.d.ts +0 -23
- package/components/runtime/area-base-controller-addresses.js +0 -26
- package/components/runtime/area-base-controller-client-factory.d.ts +0 -2
- package/components/runtime/area-base-controller-client-factory.js +0 -8
- package/components/runtime/area-base-controller-definitions.d.ts +0 -106
- package/components/runtime/area-base-controller-definitions.js +0 -75
- package/components/runtime/auth-controller-plugin.d.ts +0 -1
- package/components/runtime/auth-controller-plugin.js +0 -172
- package/components/runtime/auth-controller-server-definition.d.ts +0 -62
- package/components/runtime/auth-controller-server-definition.js +0 -3
- package/components/runtime/auth-overlay-ids.d.ts +0 -23
- package/components/runtime/auth-overlay-ids.js +0 -27
- package/components/runtime/avatar-overlay-ids.js +0 -19
- package/components/runtime/public-base-controller-plugin.d.ts +0 -1
- package/components/runtime/public-base-controller-plugin.js +0 -4
- package/components/shell/phi-management-icon.d.ts +0 -4
- package/components/shell/phi-management-icon.js +0 -59
- package/components/tables/client/phi-static-table-resource-editor.d.ts +0 -6
- package/components/tables/client/phi-static-table-resource-editor.js +0 -10
- package/components/tables/phi-plain-table.module.css +0 -34
- package/components/widgets/area-menu-items.d.ts +0 -16
- package/components/widgets/area-menu-items.js +0 -26
- package/components/widgets/builder/command-toolbar-authoring-tools.d.ts +0 -5
- package/components/widgets/builder/command-toolbar-authoring-tools.js +0 -41
- package/components/widgets/builder/icon-editor.d.ts +0 -10
- package/components/widgets/builder/icon-editor.js +0 -10
- package/components/widgets/builder/internal-builder.d.ts +0 -22
- package/components/widgets/builder/internal-builder.js +0 -8
- package/components/widgets/builder/simple-text-editor.d.ts +0 -39
- package/components/widgets/builder/simple-text-editor.js +0 -121
- package/components/widgets/client/area-menu-preview.d.ts +0 -5
- package/components/widgets/client/area-menu-preview.js +0 -18
- package/components/widgets/client/card-editor.d.ts +0 -11
- package/components/widgets/client/card-editor.js +0 -46
- package/components/widgets/client/collection-view-widget.d.ts +0 -10
- package/components/widgets/client/collection-view-widget.js +0 -44
- package/components/widgets/client/description-editor.d.ts +0 -6
- package/components/widgets/client/description-editor.js +0 -130
- package/components/widgets/client/image-editor.d.ts +0 -10
- package/components/widgets/client/image-editor.js +0 -100
- package/components/widgets/client/markdown-editor.d.ts +0 -9
- package/components/widgets/client/markdown-editor.js +0 -80
- package/components/widgets/client/phi-color-widget.d.ts +0 -34
- package/components/widgets/client/phi-color-widget.js +0 -45
- package/components/widgets/client/shared/core-table-providers.js +0 -13
- package/components/widgets/client/shared/phi-card-collection-view-binding.d.ts +0 -9
- package/components/widgets/client/shared/phi-card-collection-view-binding.js +0 -106
- package/components/widgets/client/use-table-provider-mutation.d.ts +0 -1
- package/components/widgets/client/use-table-provider-mutation.js +0 -2
- package/components/widgets/label-sets/avatar.d.ts +0 -26
- package/components/widgets/label-sets/editor-translations.d.ts +0 -4
- package/components/widgets/label-sets/editor-translations.js +0 -100
- package/components/widgets/label-sets/footer.d.ts +0 -8
- package/components/widgets/label-sets/footer.js +0 -22
- package/components/widgets/label-types/editor-translations.d.ts +0 -53
- package/components/widgets/quick-links-items.d.ts +0 -6
- package/components/widgets/quick-links-items.js +0 -32
- package/gateway/data-source-fetch.d.ts +0 -12
- package/gateway/data-source-fetch.js +0 -46
- package/gateway/media-proxy.d.ts +0 -9
- package/gateway/media-proxy.js +0 -12
- package/gateway/mutation-fetch.d.ts +0 -5
- package/gateway/mutation-fetch.js +0 -71
- package/gateway.d.ts +0 -13
- package/gateway.js +0 -13
- package/helpers/cms-page-addresses.d.ts +0 -32
- package/helpers/cms-page-addresses.js +0 -77
- package/helpers/css-length.d.ts +0 -1
- package/helpers/css-length.js +0 -10
- package/helpers/site-structure.d.ts +0 -13
- package/helpers/site-structure.js +0 -82
- package/next/module-diagnostics-route.d.ts +0 -37
- package/next/module-diagnostics-route.js +0 -64
- package/next/navigation-target-route.d.ts +0 -8
- package/next/navigation-target-route.js +0 -216
- package/plugins/runtime-modules/accounting/client.d.ts +0 -1
- package/plugins/runtime-modules/accounting/client.js +0 -7
- package/plugins/runtime-modules/app/client.d.ts +0 -1
- package/plugins/runtime-modules/app/client.js +0 -7
- package/plugins/runtime-modules/auth/ui-provider.d.ts +0 -2
- package/plugins/runtime-modules/auth/ui-provider.js +0 -29
- package/plugins/runtime-modules/builder/clients/inline-text-editor.d.ts +0 -31
- package/plugins/runtime-modules/builder/clients/inline-text-editor.js +0 -44
- package/plugins/runtime-modules/builder/navigation-signals.d.ts +0 -36
- package/plugins/runtime-modules/builder/navigation-signals.js +0 -88
- package/plugins/runtime-modules/builder/page-reference-picker.d.ts +0 -16
- package/plugins/runtime-modules/builder/page-reference-picker.js +0 -43
- package/plugins/runtime-modules/builder/root-node-css-size.d.ts +0 -1
- package/plugins/runtime-modules/builder/root-node-css-size.js +0 -10
- package/plugins/runtime-modules/builder/runtime-module-defaults.d.ts +0 -3
- package/plugins/runtime-modules/builder/runtime-module-defaults.js +0 -41
- package/plugins/runtime-modules/builder/signal-route-config.d.ts +0 -3
- package/plugins/runtime-modules/builder/signal-route-config.js +0 -37
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.js +0 -8
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.d.ts +0 -4
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.js +0 -228
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.js +0 -8
- package/plugins/runtime-modules/builder/workspace-view-model.d.ts +0 -4
- package/plugins/runtime-modules/builder/workspace-view-model.js +0 -24
- package/plugins/runtime-modules/client-state.d.ts +0 -5
- package/plugins/runtime-modules/client-state.js +0 -17
- package/plugins/runtime-modules/core/widgets/account/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/area-menu/client.d.ts +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/client.js +0 -61
- package/plugins/runtime-modules/core/widgets/area-menu/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/area-menu/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/area-menu/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.js +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/area-menu/server.js +0 -14
- package/plugins/runtime-modules/core/widgets/card/client.d.ts +0 -37
- package/plugins/runtime-modules/core/widgets/card/client.js +0 -64
- package/plugins/runtime-modules/core/widgets/footer/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/footer/authoring.js +0 -22
- package/plugins/runtime-modules/core/widgets/footer/client.d.ts +0 -21
- package/plugins/runtime-modules/core/widgets/footer/client.js +0 -30
- package/plugins/runtime-modules/core/widgets/footer/config.d.ts +0 -31
- package/plugins/runtime-modules/core/widgets/footer/config.js +0 -34
- package/plugins/runtime-modules/core/widgets/footer/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/footer/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/footer/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/footer/plugin.js +0 -9
- package/plugins/runtime-modules/core/widgets/footer/server.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/footer/server.js +0 -46
- package/plugins/runtime-modules/core/widgets/form/built-in.d.ts +0 -15
- package/plugins/runtime-modules/core/widgets/form/built-in.js +0 -74
- package/plugins/runtime-modules/core/widgets/html/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/html/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/markdown/client.d.ts +0 -72
- package/plugins/runtime-modules/core/widgets/markdown/client.js +0 -141
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/client.d.ts +0 -28
- package/plugins/runtime-modules/core/widgets/profile-email/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-email/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-email/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-email/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/client.d.ts +0 -20
- package/plugins/runtime-modules/core/widgets/profile-locale/client.js +0 -107
- package/plugins/runtime-modules/core/widgets/profile-locale/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-locale/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-locale/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/client.d.ts +0 -23
- package/plugins/runtime-modules/core/widgets/profile-name/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-name/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-name/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-name/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-overview/client.d.ts +0 -19
- package/plugins/runtime-modules/core/widgets/profile-overview/client.js +0 -73
- package/plugins/runtime-modules/core/widgets/profile-overview/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-overview/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-overview/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-overview/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/client.d.ts +0 -27
- package/plugins/runtime-modules/core/widgets/profile-password/client.js +0 -91
- package/plugins/runtime-modules/core/widgets/profile-password/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-password/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-password/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/quick-links/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/quick-links/index.js +0 -1
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/client.d.ts +0 -56
- package/plugins/runtime-modules/observability/widgets/log-detail/client.js +0 -125
- package/plugins/runtime-modules/observability/widgets/log-detail/config.d.ts +0 -58
- package/plugins/runtime-modules/observability/widgets/log-detail/config.js +0 -71
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/server.d.ts +0 -7
- package/plugins/runtime-modules/observability/widgets/log-detail/server.js +0 -13
- package/plugins/runtime-modules/observability/widgets.d.ts +0 -2
- package/plugins/runtime-modules/observability/widgets.js +0 -16
- package/plugins/runtime-modules/public/client.d.ts +0 -1
- package/plugins/runtime-modules/public/client.js +0 -7
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.d.ts +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.js +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground.jpg +0 -0
- package/plugins/runtime-modules/theme/blocks/alpine.d.ts +0 -19
- package/plugins/runtime-modules/theme/blocks/alpine.js +0 -76
- package/plugins/runtime-modules/theme/theme-descriptors.d.ts +0 -80
- package/plugins/runtime-modules/theme/theme-descriptors.js +0 -34
- package/theme/phi-theme-brand-logo.d.ts +0 -12
- package/theme/phi-theme-brand-logo.js +0 -12
- /package/components/widgets/label-types/{editor-translations.js → auth-workflow.js} +0 -0
- /package/{components/media/asset-controller-definition.d.ts → plugins/runtime-modules/asset/controller/definition.d.ts} +0 -0
- /package/{components/media/asset-form-field-providers.d.ts → plugins/runtime-modules/asset/form-providers.d.ts} +0 -0
- /package/{components/media/asset-form-ui-provider.d.ts → plugins/runtime-modules/asset/form-ui-provider.d.ts} +0 -0
- /package/{components/media/asset-collection-service.d.ts → plugins/runtime-modules/asset/services/collection.d.ts} +0 -0
- /package/{components/media/asset-options-providers.d.ts → plugins/runtime-modules/asset/services/options.d.ts} +0 -0
- /package/{components/forms/auth-form-ui-provider.d.ts → plugins/runtime-modules/auth/form-ui-provider.d.ts} +0 -0
- /package/{components/forms/auth-installations-table-service.d.ts → plugins/runtime-modules/auth/services/installations-table.d.ts} +0 -0
- /package/{components/runtime/avatar-overlay-ids.d.ts → plugins/runtime-modules/avatar/addresses.d.ts} +0 -0
- /package/{components/widgets/label-sets/avatar.js → plugins/runtime-modules/avatar/labels.js} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.d.ts → plugins/runtime-modules/avatar/overlay-tree.d.ts} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.server.d.ts → plugins/runtime-modules/avatar/overlay-tree.server.d.ts} +0 -0
- /package/{components/widgets/client/shared/core-table-providers.d.ts → plugins/runtime-modules/core/services/table.d.ts} +0 -0
- /package/{components/regions/presets/editor-shell.d.ts → plugins/runtime-modules/localization/trees/editor-translations-shell.d.ts} +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { readPhiProviderResourceSource, } from "../../types/runtime-data-provider";
|
|
2
|
+
import { isPhiFormId, normalizePhiFormId } from "../../types/form-id";
|
|
3
|
+
import { readPhiSignalRouteSet } from "../../types/signals";
|
|
4
|
+
import { readRenderableBlockConfig, } from "../widgets/config/parser-primitives";
|
|
5
|
+
import { PHI_LAYOUT } from "../../theme/phi-tokens";
|
|
6
|
+
function readRecord(value) {
|
|
7
|
+
return value && typeof value === "object" && !Array.isArray(value)
|
|
8
|
+
? { ...value }
|
|
9
|
+
: {};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The placement's own cap, or null where it states none.
|
|
13
|
+
*
|
|
14
|
+
* Absent -- the key missing, `null`, or a field emptied in the Inspector -- leaves the cap to the house
|
|
15
|
+
* measure. A cap that is stated but cannot be one is refused rather than replaced: `0` or a negative
|
|
16
|
+
* number caps the fields at nothing, and a bare `"610"` is not a CSS length, so `min(100%, 610)` is
|
|
17
|
+
* dropped by the browser and the Form renders uncapped with no error anywhere.
|
|
18
|
+
*/
|
|
19
|
+
function readPhiFormWidgetMaxFormWidth(value) {
|
|
20
|
+
if (value == null)
|
|
21
|
+
return null;
|
|
22
|
+
if (typeof value === "number") {
|
|
23
|
+
if (Number.isFinite(value) && value > 0)
|
|
24
|
+
return value;
|
|
25
|
+
throw new Error(`Invalid Form maxFormWidth ${JSON.stringify(value)}. Expected a positive number.`);
|
|
26
|
+
}
|
|
27
|
+
if (typeof value !== "string") {
|
|
28
|
+
throw new Error(`Invalid Form maxFormWidth ${JSON.stringify(value)}. Expected a number or a length.`);
|
|
29
|
+
}
|
|
30
|
+
const trimmed = value.trim();
|
|
31
|
+
if (!trimmed)
|
|
32
|
+
return null;
|
|
33
|
+
const leadingNumber = /^[+-]?(\d+\.?\d*|\.\d+)/.exec(trimmed);
|
|
34
|
+
if (leadingNumber && leadingNumber[0] === trimmed) {
|
|
35
|
+
throw new Error(`Invalid Form maxFormWidth ${JSON.stringify(value)}. A length needs a unit.`);
|
|
36
|
+
}
|
|
37
|
+
if (leadingNumber && Number(leadingNumber[0]) <= 0) {
|
|
38
|
+
throw new Error(`Invalid Form maxFormWidth ${JSON.stringify(value)}. Expected a positive length.`);
|
|
39
|
+
}
|
|
40
|
+
return trimmed;
|
|
41
|
+
}
|
|
42
|
+
export function parsePhiFormWidgetConfig(rawConfig) {
|
|
43
|
+
/*
|
|
44
|
+
* The block's own geometry, which this Widget used to drop on the floor.
|
|
45
|
+
*
|
|
46
|
+
* A parser that returns only its own fields discards everything an author set in the Style tab, and
|
|
47
|
+
* the Form's parsed config is what the Widget renders from. Where the Form's *cap* comes from is a
|
|
48
|
+
* different question, answered in `defaultConfig` below rather than here.
|
|
49
|
+
*/
|
|
50
|
+
const renderableBlockConfig = readRenderableBlockConfig(rawConfig);
|
|
51
|
+
const normalizedFormId = typeof rawConfig.formId === "string"
|
|
52
|
+
? normalizePhiFormId(rawConfig.formId)
|
|
53
|
+
: "";
|
|
54
|
+
const execution = readRecord(rawConfig.execution);
|
|
55
|
+
const card = readRecord(rawConfig.card);
|
|
56
|
+
const cardPresentation = card.presentation === "card" || card.presentation === "panel" || card.presentation === "wash"
|
|
57
|
+
? card.presentation
|
|
58
|
+
: null;
|
|
59
|
+
const cardPadding = typeof card.padding === "number" || typeof card.padding === "string"
|
|
60
|
+
? card.padding
|
|
61
|
+
: null;
|
|
62
|
+
const maxFormWidth = readPhiFormWidgetMaxFormWidth(rawConfig.maxFormWidth);
|
|
63
|
+
const feedback = readRecord(rawConfig.feedback);
|
|
64
|
+
const feedbackSuccessText = typeof feedback.successText === "string" && feedback.successText.trim()
|
|
65
|
+
? feedback.successText.trim()
|
|
66
|
+
: null;
|
|
67
|
+
return {
|
|
68
|
+
...renderableBlockConfig,
|
|
69
|
+
formId: isPhiFormId(normalizedFormId) ? normalizedFormId : null,
|
|
70
|
+
submit: rawConfig.submit === "inline" ? "inline" : "external",
|
|
71
|
+
submitOnEnter: rawConfig.submitOnEnter === true,
|
|
72
|
+
/*
|
|
73
|
+
* The house measure where the placement names none, and answered HERE as well as declared.
|
|
74
|
+
*
|
|
75
|
+
* `defaultConfig` reaches the Builder and the Inspector, but the render path merges only a Widget's
|
|
76
|
+
* block base under a node (`widgetBlockDefaultsByType`) -- so a Preset placement that says nothing
|
|
77
|
+
* arrives with no cap at all, which is exactly how every Preset-placed Form once rendered uncapped.
|
|
78
|
+
* A Widget field has to be answered by its parser. Both sides read the one constant.
|
|
79
|
+
*/
|
|
80
|
+
maxFormWidth: maxFormWidth ?? PHI_LAYOUT.contentMax,
|
|
81
|
+
/*
|
|
82
|
+
* No box unless one is named, and the name is read rather than the block's presence: an author who
|
|
83
|
+
* takes the box off again leaves an empty `card` behind, and an empty block is not a box.
|
|
84
|
+
*/
|
|
85
|
+
card: cardPresentation == null ? null : {
|
|
86
|
+
presentation: cardPresentation,
|
|
87
|
+
title: typeof card.title === "string" && card.title.trim() ? card.title.trim() : null,
|
|
88
|
+
padding: cardPadding,
|
|
89
|
+
},
|
|
90
|
+
// Absent means silent, so a Form that says nothing about feedback keeps reporting where it stands.
|
|
91
|
+
feedback: rawConfig.feedback == null ? null : {
|
|
92
|
+
mode: feedback.mode === "notification" ? "notification" : "message",
|
|
93
|
+
...(feedbackSuccessText ? { successText: feedbackSuccessText } : {}),
|
|
94
|
+
},
|
|
95
|
+
links: Array.isArray(rawConfig.links)
|
|
96
|
+
? rawConfig.links.flatMap((entry) => {
|
|
97
|
+
const link = readRecord(entry);
|
|
98
|
+
const key = typeof link.key === "string" ? link.key.trim() : "";
|
|
99
|
+
const href = typeof link.href === "string" ? link.href.trim() : "";
|
|
100
|
+
if (!key || !href)
|
|
101
|
+
return [];
|
|
102
|
+
return [{
|
|
103
|
+
key,
|
|
104
|
+
href,
|
|
105
|
+
...(typeof link.requiresFeature === "string" && link.requiresFeature.trim()
|
|
106
|
+
? { requiresFeature: link.requiresFeature.trim() }
|
|
107
|
+
: {}),
|
|
108
|
+
}];
|
|
109
|
+
})
|
|
110
|
+
: [],
|
|
111
|
+
formConfig: readRecord(rawConfig.formConfig),
|
|
112
|
+
execution: {
|
|
113
|
+
mode: execution.mode === "signal" ? "signal" : "handler",
|
|
114
|
+
phase: execution.phase === "confirm" ? "confirm" : "submit",
|
|
115
|
+
},
|
|
116
|
+
source: readPhiProviderResourceSource(rawConfig.source),
|
|
117
|
+
openActionKey: typeof rawConfig.openActionKey === "string" && rawConfig.openActionKey.trim()
|
|
118
|
+
? rawConfig.openActionKey.trim()
|
|
119
|
+
: undefined,
|
|
120
|
+
signalRoutes: readPhiSignalRouteSet(rawConfig.signalRoutes),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { PhiCmsFormWidgetCardConfig } from "../../types/core-widget-placements";
|
|
3
|
+
import type { PhiFormLayoutDescriptor, PhiFormLogicalAlignment, PhiFormResponsiveGridRange } from "../../types/form-descriptor";
|
|
3
4
|
/**
|
|
4
5
|
* What a form body offers the Widget above it, so the Widget can draw a submit for it.
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* label is only what this form would call it if the Widget's config says nothing.
|
|
7
|
+
* The body hands up a way to submit rather than a button: whether a button is drawn is the Widget's
|
|
8
|
+
* placement, and what it says and where it stands is the descriptor's -- neither is the body's.
|
|
9
9
|
*/
|
|
10
10
|
export type PhiFormWidgetSubmitRegistration = {
|
|
11
11
|
/** Asks the mounted form to submit. The same request the `submit` capability makes. */
|
|
12
12
|
submit: () => void;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The submit the Widget draws, already resolved: the placement said `inline`, and the descriptor's
|
|
16
|
+
* `submit` said what it reads and where it stands.
|
|
17
|
+
*/
|
|
18
|
+
export type PhiFormWidgetSubmit = {
|
|
19
|
+
label: string;
|
|
20
|
+
align: PhiFormLogicalAlignment;
|
|
21
|
+
/** The descriptor's own tracks for it, or absent for the layout's control range. */
|
|
22
|
+
control?: PhiFormResponsiveGridRange;
|
|
15
23
|
};
|
|
16
24
|
type PhiFormWidgetSubmitSlot = {
|
|
17
25
|
register: (registration: PhiFormWidgetSubmitRegistration | null) => void;
|
|
@@ -22,7 +30,7 @@ type PhiFormWidgetSubmitSlot = {
|
|
|
22
30
|
* that a submit is under way. Null where no Widget is listening, which is what a form rendered outside
|
|
23
31
|
* one gets: it simply has no submit of its own to draw instead.
|
|
24
32
|
*/
|
|
25
|
-
export declare function usePhiFormWidgetSubmit(submit: () => void
|
|
33
|
+
export declare function usePhiFormWidgetSubmit(submit: () => void): PhiFormWidgetSubmitSlot | null;
|
|
26
34
|
/**
|
|
27
35
|
* Where in a form body the Widget's submit appears.
|
|
28
36
|
*
|
|
@@ -38,10 +46,40 @@ export type PhiFormWidgetLink = {
|
|
|
38
46
|
href: string;
|
|
39
47
|
};
|
|
40
48
|
export type PhiFormWidgetFrameProps = {
|
|
41
|
-
/** The submit the Widget
|
|
42
|
-
submit?:
|
|
49
|
+
/** The submit the Widget draws, or null where the placement keeps it external. */
|
|
50
|
+
submit?: PhiFormWidgetSubmit | null;
|
|
51
|
+
/**
|
|
52
|
+
* The box around the whole of it, or null for no box.
|
|
53
|
+
*
|
|
54
|
+
* It stands outside the grid rather than around the fields, because the submit and the ways out belong
|
|
55
|
+
* in it too -- a button outside the box it submits reads as something else's button. Its inset is the
|
|
56
|
+
* Card's, so the query container is measured inside the padding, which is the width the fields have --
|
|
57
|
+
* and `wash`, which draws no Card, takes the same inset a Collapsible's body takes, so its ground does
|
|
58
|
+
* not run flush into the labels. Null draws nothing and insets nothing, which is what a Form in a slot
|
|
59
|
+
* that already paints a ground wants: there the query container is the block itself, so the width the
|
|
60
|
+
* fields read is the width the placement capped.
|
|
61
|
+
*/
|
|
62
|
+
card?: PhiCmsFormWidgetCardConfig | null;
|
|
63
|
+
/**
|
|
64
|
+
* How wide the form may get, measured at the fields rather than around the box.
|
|
65
|
+
*
|
|
66
|
+
* The cap belongs to the form, so the box grows outwards to carry it: a Form capped at 610 in a `card`
|
|
67
|
+
* is a 610 form in a 652 card, and its container query reads the 610 it was given. Capping the block
|
|
68
|
+
* instead -- which is where this number used to live -- put the inset inside the cap, so the fields
|
|
69
|
+
* read 568 and stood one layout step below the threshold the cap was chosen to land on.
|
|
70
|
+
*
|
|
71
|
+
* Null caps nothing. A block `maxSize` still caps the block; that is the other box, and it is drawn
|
|
72
|
+
* by the slot frame, above everything here.
|
|
73
|
+
*/
|
|
74
|
+
maxFormWidth?: number | string | null;
|
|
43
75
|
/** The ways out it offers, drawn in the same column as the submit. */
|
|
44
76
|
links?: readonly PhiFormWidgetLink[];
|
|
77
|
+
/**
|
|
78
|
+
* The form's own layout, read for one thing only: which tracks its inputs stand on, so the submit
|
|
79
|
+
* can stand on the same ones. The body is rendered on the Client and cannot tell the frame, and the
|
|
80
|
+
* frame is the element both are inside, so this is where the answer has to arrive.
|
|
81
|
+
*/
|
|
82
|
+
layout?: PhiFormLayoutDescriptor;
|
|
45
83
|
children: ReactNode;
|
|
46
84
|
};
|
|
47
85
|
/**
|
|
@@ -52,9 +90,9 @@ export type PhiFormWidgetFrameProps = {
|
|
|
52
90
|
* column ends to line up under the inputs, and only an element above both can tell them.
|
|
53
91
|
*
|
|
54
92
|
* The submit opens its own row of the same twenty-four tracks. Its own grid rather than a row inside the
|
|
55
|
-
* form: the form describes fields, and a submit is not one.
|
|
56
|
-
*
|
|
57
|
-
* decides
|
|
93
|
+
* form: the form describes fields, and a submit is not one. Which of those tracks it takes is written
|
|
94
|
+
* here, from the form's layout, so it lines up under the inputs at each width and still moves with the
|
|
95
|
+
* column a Form Layout decides -- that column is a custom property both of them read.
|
|
58
96
|
*/
|
|
59
|
-
export declare function PhiFormWidgetFrame({ submit, links, children }: PhiFormWidgetFrameProps): import("react").JSX.Element;
|
|
97
|
+
export declare function PhiFormWidgetFrame({ submit, card, maxFormWidth, links, layout, children }: PhiFormWidgetFrameProps): import("react").JSX.Element;
|
|
60
98
|
export {};
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { createContext, Fragment, useContext, useEffect, useMemo, useRef, useState, } from "react";
|
|
4
4
|
import { PHI_COLOR, PHI_SPACE } from "../../theme/antd-css-var-contract";
|
|
5
|
+
import { PHI_THEME_BORDER_WIDTH } from "../../helpers/border-widget-style";
|
|
6
|
+
import { normalizePhiCssSize, PHI_LAYOUT_SURFACE_RADIUS, PHI_SLOT_INLINE_PLACEMENT_MARGIN_STYLE, } from "../layouts/phi-layout-contract";
|
|
5
7
|
import { PhiButtonControl } from "../controls/phi-button-control";
|
|
8
|
+
import { PhiCardControl } from "../controls/phi-card-control";
|
|
6
9
|
import { PhiLink } from "../navigation/phi-link";
|
|
10
|
+
import { PHI_FORM_ACTIONS_COLUMNS_PROPERTY, PHI_FORM_RESPONSIVE_MODES, phiFormActionsGridColumn, phiFormGridColumn, resolvePhiFormLayout, resolvePhiFormResponsiveGridRange, } from "./form-descriptor-contract";
|
|
7
11
|
/* Two contexts, because they change at different rates: the slot is stable for the life of the frame,
|
|
8
12
|
* while the button is rebuilt whenever a submit starts or ends. A body that only registers must not
|
|
9
13
|
* re-render for that. */
|
|
@@ -14,7 +18,7 @@ const PhiFormWidgetSubmitNodeContext = createContext(null);
|
|
|
14
18
|
* that a submit is under way. Null where no Widget is listening, which is what a form rendered outside
|
|
15
19
|
* one gets: it simply has no submit of its own to draw instead.
|
|
16
20
|
*/
|
|
17
|
-
export function usePhiFormWidgetSubmit(submit
|
|
21
|
+
export function usePhiFormWidgetSubmit(submit) {
|
|
18
22
|
const slot = useContext(PhiFormWidgetSubmitSlotContext);
|
|
19
23
|
// The call is read through a ref so a body may pass a fresh closure every render without
|
|
20
24
|
// re-registering -- the registration is identity, not a value that changes with each keystroke.
|
|
@@ -28,9 +32,9 @@ export function usePhiFormWidgetSubmit(submit, label) {
|
|
|
28
32
|
if (!slot) {
|
|
29
33
|
return;
|
|
30
34
|
}
|
|
31
|
-
slot.register({ submit: () => submitRef.current()
|
|
35
|
+
slot.register({ submit: () => submitRef.current() });
|
|
32
36
|
return () => slot.register(null);
|
|
33
|
-
}, [
|
|
37
|
+
}, [slot]);
|
|
34
38
|
return slot;
|
|
35
39
|
}
|
|
36
40
|
/**
|
|
@@ -46,6 +50,22 @@ export function PhiFormWidgetSubmitOutlet() {
|
|
|
46
50
|
function resolveSubmitJustification(align) {
|
|
47
51
|
return align === "start" ? "flex-start" : align === "center" ? "center" : "flex-end";
|
|
48
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* What one side of a box costs, so the cap can be stated at the fields and the box grown to carry it.
|
|
55
|
+
*
|
|
56
|
+
* The inset is the box's own -- the Theme's `padding` for a Card and for a Wash, `paddingSM` for the
|
|
57
|
+
* chrome-sized Panel, or whatever the placement named instead -- and the two that have a frame pay for
|
|
58
|
+
* the Theme's line as well. Null where there is no box: then the fields are the outermost thing here and
|
|
59
|
+
* nothing stands between them and the cap.
|
|
60
|
+
*/
|
|
61
|
+
function resolvePhiFormBoxChrome(card) {
|
|
62
|
+
if (card == null) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
const inset = normalizePhiCssSize(card.padding ?? undefined)
|
|
66
|
+
?? (card.presentation === "panel" ? PHI_SPACE.sm : PHI_SPACE.base);
|
|
67
|
+
return card.presentation === "wash" ? inset : `(${inset} + ${PHI_THEME_BORDER_WIDTH})`;
|
|
68
|
+
}
|
|
49
69
|
/**
|
|
50
70
|
* The Form Widget's own surface: the query container its form is measured in, and the submit it carries.
|
|
51
71
|
*
|
|
@@ -54,15 +74,34 @@ function resolveSubmitJustification(align) {
|
|
|
54
74
|
* column ends to line up under the inputs, and only an element above both can tell them.
|
|
55
75
|
*
|
|
56
76
|
* The submit opens its own row of the same twenty-four tracks. Its own grid rather than a row inside the
|
|
57
|
-
* form: the form describes fields, and a submit is not one.
|
|
58
|
-
*
|
|
59
|
-
* decides
|
|
77
|
+
* form: the form describes fields, and a submit is not one. Which of those tracks it takes is written
|
|
78
|
+
* here, from the form's layout, so it lines up under the inputs at each width and still moves with the
|
|
79
|
+
* column a Form Layout decides -- that column is a custom property both of them read.
|
|
60
80
|
*/
|
|
61
|
-
export function PhiFormWidgetFrame({ submit, links, children }) {
|
|
81
|
+
export function PhiFormWidgetFrame({ submit, card, maxFormWidth, links, layout, children }) {
|
|
62
82
|
const [registration, setRegistration] = useState(null);
|
|
63
83
|
const [submitting, setSubmitting] = useState(false);
|
|
64
84
|
const slot = useMemo(() => ({ register: setRegistration, setSubmitting }), []);
|
|
65
|
-
const
|
|
85
|
+
const resolvedLayout = useMemo(() => resolvePhiFormLayout(layout), [layout]);
|
|
86
|
+
const actionsColumns = useMemo(() => Object.fromEntries(PHI_FORM_RESPONSIVE_MODES.map((mode) => [
|
|
87
|
+
`${PHI_FORM_ACTIONS_COLUMNS_PROPERTY}-${mode}`,
|
|
88
|
+
phiFormActionsGridColumn(resolvedLayout, mode),
|
|
89
|
+
])), [resolvedLayout]);
|
|
90
|
+
/*
|
|
91
|
+
* Tracks the descriptor names for its submit replace the actions row's columns for that row alone;
|
|
92
|
+
* the links keep the layout's control range, which is where they line up with the inputs.
|
|
93
|
+
*/
|
|
94
|
+
const submitControl = submit?.control;
|
|
95
|
+
const submitColumns = useMemo(() => {
|
|
96
|
+
if (!submitControl)
|
|
97
|
+
return undefined;
|
|
98
|
+
const ranges = resolvePhiFormResponsiveGridRange(submitControl, resolvedLayout.control, "submit.control");
|
|
99
|
+
return Object.fromEntries(PHI_FORM_RESPONSIVE_MODES.map((mode) => [
|
|
100
|
+
`${PHI_FORM_ACTIONS_COLUMNS_PROPERTY}-${mode}`,
|
|
101
|
+
phiFormGridColumn(ranges[mode]),
|
|
102
|
+
]));
|
|
103
|
+
}, [resolvedLayout, submitControl]);
|
|
104
|
+
const submitButton = submit && registration ? (_jsx("div", { className: "phi-form-descriptor-actions", style: submitColumns, children: _jsx("div", { className: "phi-form-cell phi-form-cell--control", style: { display: "flex", justifyContent: resolveSubmitJustification(submit.align) }, children: _jsx(PhiButtonControl, { type: "primary", label: submit.label, loading: submitting, onClick: registration.submit }) }) })) : null;
|
|
66
105
|
/*
|
|
67
106
|
* A row of its own on the same tracks, directly under the submit.
|
|
68
107
|
*
|
|
@@ -83,12 +122,47 @@ export function PhiFormWidgetFrame({ submit, links, children }) {
|
|
|
83
122
|
* and anything appended to the end of the frame would sit under those.
|
|
84
123
|
*/
|
|
85
124
|
const actionsNode = linksRow || submitButton ? (_jsxs(_Fragment, { children: [linksRow, submitButton] })) : null;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
125
|
+
/*
|
|
126
|
+
* The cap lands on the outermost box this Frame owns, and it lands there grown by that box's chrome.
|
|
127
|
+
*
|
|
128
|
+
* One box, one cap: the grid where there is no box, the box where there is, never both -- a cap inside
|
|
129
|
+
* an inset would take the inset off twice. `min(100%, ...)` because a cap is not a size and must never
|
|
130
|
+
* push out of the slot: a Form told to take `100%` and then grown by two insets would do exactly that.
|
|
131
|
+
*/
|
|
132
|
+
const capLength = normalizePhiCssSize(maxFormWidth ?? undefined);
|
|
133
|
+
const boxChrome = resolvePhiFormBoxChrome(card);
|
|
134
|
+
const capStyle = capLength == null
|
|
135
|
+
? undefined
|
|
136
|
+
: boxChrome == null
|
|
137
|
+
? `min(100%, ${capLength})`
|
|
138
|
+
: `min(100%, calc(${capLength} + 2 * ${boxChrome}))`;
|
|
139
|
+
/*
|
|
140
|
+
* And where the cap leaves room over, the Layout says which side of it the Form stands on.
|
|
141
|
+
*
|
|
142
|
+
* The slot's placement margins are handed down as custom properties and the slot child frame reads
|
|
143
|
+
* them, but the frame around a Form fills the slot: the cap is one box further in, so the frame has no
|
|
144
|
+
* room left over and its auto margins come to nothing. The box that does have the room is this one,
|
|
145
|
+
* and it reads the same answer -- centred under a Layout anchored to the centre, at the start edge
|
|
146
|
+
* under one anchored to the start, which is what it did unasked before.
|
|
147
|
+
*/
|
|
148
|
+
const placedBoxStyle = {
|
|
149
|
+
...(capStyle == null ? {} : { maxWidth: capStyle }),
|
|
150
|
+
...PHI_SLOT_INLINE_PLACEMENT_MARGIN_STYLE,
|
|
151
|
+
};
|
|
152
|
+
const measured = (_jsx("div", { style: {
|
|
153
|
+
display: "grid",
|
|
154
|
+
gap: PHI_SPACE.sm,
|
|
155
|
+
width: "100%",
|
|
156
|
+
minWidth: 0,
|
|
157
|
+
containerType: "inline-size",
|
|
158
|
+
containerName: "phi-form",
|
|
159
|
+
...(card ? {} : placedBoxStyle),
|
|
160
|
+
...actionsColumns,
|
|
161
|
+
}, children: children }));
|
|
162
|
+
return (_jsx(PhiFormWidgetSubmitSlotContext.Provider, { value: slot, children: _jsx(PhiFormWidgetSubmitNodeContext.Provider, { value: actionsNode, children: card?.presentation === "wash" ? (_jsx("div", { style: {
|
|
163
|
+
background: PHI_COLOR.fillQuaternary,
|
|
164
|
+
borderRadius: PHI_LAYOUT_SURFACE_RADIUS,
|
|
165
|
+
padding: card.padding ?? PHI_SPACE.base,
|
|
166
|
+
...placedBoxStyle,
|
|
167
|
+
}, children: measured })) : card ? (_jsx(PhiCardControl, { size: card.presentation === "panel" ? "small" : "medium", ...(card.title ? { title: card.title } : {}), ...(card.padding == null ? {} : { padding: card.padding }), style: placedBoxStyle, children: measured })) : measured }) }));
|
|
94
168
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PhiBlockRuntime } from "../../types";
|
|
2
|
+
import type { PhiCmsRuntimeRenderRegistry } from "../../types/cms-plugins";
|
|
3
|
+
import type { PhiFormId } from "../../types/form-id";
|
|
4
|
+
import type { PhiCmsFormWidgetConfig } from "./form-widget-config";
|
|
5
|
+
import { type PhiRuntimeFeatureState } from "../../types/runtime-condition";
|
|
6
|
+
export type PhiFormWidgetProps = {
|
|
7
|
+
runtime: Pick<PhiBlockRuntime, "site" | "locale"> & Partial<Pick<PhiBlockRuntime, "area">>;
|
|
8
|
+
registry: Pick<PhiCmsRuntimeRenderRegistry, "formDefinitionsById" | "uiProviderModuleIds">;
|
|
9
|
+
formId: PhiFormId;
|
|
10
|
+
formInstanceKey?: string | number | null;
|
|
11
|
+
config?: PhiCmsFormWidgetConfig;
|
|
12
|
+
/** What the active Modules published about this Site, as the renderer already resolved it. */
|
|
13
|
+
features?: PhiRuntimeFeatureState | null;
|
|
14
|
+
};
|
|
15
|
+
export declare function PhiFormWidget({ runtime, registry, formId, formInstanceKey, config, features, }: PhiFormWidgetProps): Promise<import("react").JSX.Element | null>;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { phiRuntime } from "../../server-helpers/phi-runtime";
|
|
3
|
+
import { getResolvedFormDefinition } from "../../gateway/form-registry";
|
|
4
|
+
import { resolvePhiFormLabels } from "./form-resolution";
|
|
5
|
+
import { createPhiRuntimeFormControllerAddress } from "./runtime-form-controller-address";
|
|
6
|
+
import { PhiRuntimeModuleRenderClientHost } from "../runtime/runtime-module-render-client-manifest";
|
|
7
|
+
import { PhiRuntimeRenderClientType } from "../../constants/runtime-render-client-types";
|
|
8
|
+
import { resolvePhiFormText } from "./form-descriptor-contract";
|
|
9
|
+
import { PHI_FORM_DEFAULT_SUBMIT_LABEL } from "../../types/form-descriptor";
|
|
10
|
+
import { readPhiRuntimeConditionValue, } from "../../types/runtime-condition";
|
|
11
|
+
import { PhiRuntimeModuleUiProviderHost } from "../runtime/runtime-module-ui-provider-client-manifest";
|
|
12
|
+
function normalizeFormId(value) {
|
|
13
|
+
return value.trim().toLowerCase();
|
|
14
|
+
}
|
|
15
|
+
export async function PhiFormWidget({ runtime, registry, formId, formInstanceKey, config, features = null, }) {
|
|
16
|
+
const normalizedFormId = normalizeFormId(formId);
|
|
17
|
+
if (!normalizedFormId) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
const rt = phiRuntime(runtime);
|
|
21
|
+
const resolvedForm = await getResolvedFormDefinition({
|
|
22
|
+
apiBaseUrl: rt.apiBaseUrl,
|
|
23
|
+
internalToken: rt.internalToken,
|
|
24
|
+
siteKey: runtime.site.key,
|
|
25
|
+
formId: normalizedFormId,
|
|
26
|
+
presetDefinitions: [...registry.formDefinitionsById.values()],
|
|
27
|
+
});
|
|
28
|
+
if (!resolvedForm) {
|
|
29
|
+
throw new Error(`Form "${normalizedFormId}" is not available from the active runtime modules.`);
|
|
30
|
+
}
|
|
31
|
+
const renderOptions = {
|
|
32
|
+
config: config?.formConfig,
|
|
33
|
+
formControllerAddress: createPhiRuntimeFormControllerAddress(formInstanceKey ?? `form-${normalizedFormId}`),
|
|
34
|
+
formInstanceKey: String(formInstanceKey ?? `form-${normalizedFormId}`),
|
|
35
|
+
};
|
|
36
|
+
const ownerModuleId = resolvedForm.definition.ownerModuleId;
|
|
37
|
+
const hasUiProvider = registry.uiProviderModuleIds.has(ownerModuleId);
|
|
38
|
+
/*
|
|
39
|
+
* Both reads happen here, on the server, and both are the form's own: what it is called, and what it
|
|
40
|
+
* already knows. Asking for either after hydration is a blank card for as long as the page takes to
|
|
41
|
+
* become interactive, which is the wait a visitor reads as a slow site.
|
|
42
|
+
*/
|
|
43
|
+
const renderContext = { runtime, resolvedForm, options: renderOptions };
|
|
44
|
+
const [labels, loadedInitialValues] = await Promise.all([
|
|
45
|
+
resolvePhiFormLabels(renderContext),
|
|
46
|
+
resolvedForm.definition.loadInitialValues?.(renderContext) ?? null,
|
|
47
|
+
]);
|
|
48
|
+
/*
|
|
49
|
+
* A link is offered only where it leads somewhere that exists: a Site with registration switched off
|
|
50
|
+
* has no account to create. The fact is read from the same published Module state a node condition
|
|
51
|
+
* reads, so the two cannot disagree about what this Site offers.
|
|
52
|
+
*/
|
|
53
|
+
const resolvedLinks = (config?.links ?? []).flatMap((link) => {
|
|
54
|
+
if (link.requiresFeature && !readPhiRuntimeConditionValue(features, link.requiresFeature)) {
|
|
55
|
+
return [];
|
|
56
|
+
}
|
|
57
|
+
const label = labels[`actions.${link.key}Label`];
|
|
58
|
+
return label ? [{ key: link.key, label, href: link.href }] : [];
|
|
59
|
+
});
|
|
60
|
+
/*
|
|
61
|
+
* Every form body is wrapped the same way, and no body carries a submit or a way out: a body offers
|
|
62
|
+
* a way to submit. Whether a button is drawn is this placement's `submit`; what it says and which
|
|
63
|
+
* tracks it stands on are the descriptor's, resolved here where the form's labels already are.
|
|
64
|
+
*/
|
|
65
|
+
const submitDescriptor = resolvedForm.definition.descriptor.submit;
|
|
66
|
+
const submit = config?.submit === "inline"
|
|
67
|
+
? {
|
|
68
|
+
label: resolvePhiFormText(submitDescriptor?.label ?? PHI_FORM_DEFAULT_SUBMIT_LABEL, labels, config.formConfig),
|
|
69
|
+
align: submitDescriptor?.align ?? "start",
|
|
70
|
+
...(submitDescriptor?.control ? { control: submitDescriptor.control } : {}),
|
|
71
|
+
}
|
|
72
|
+
: null;
|
|
73
|
+
const wrapFormUiProvider = (node) => {
|
|
74
|
+
const frameProps = {
|
|
75
|
+
submit,
|
|
76
|
+
card: config?.card ?? null,
|
|
77
|
+
maxFormWidth: config?.maxFormWidth ?? null,
|
|
78
|
+
links: resolvedLinks,
|
|
79
|
+
layout: resolvedForm.definition.descriptor.layout,
|
|
80
|
+
children: node,
|
|
81
|
+
};
|
|
82
|
+
const framed = (_jsx(PhiRuntimeModuleRenderClientHost, { type: PhiRuntimeRenderClientType.FormWidgetFrame, componentProps: frameProps }));
|
|
83
|
+
return hasUiProvider
|
|
84
|
+
? (_jsx(PhiRuntimeModuleUiProviderHost, { moduleId: ownerModuleId, children: framed }))
|
|
85
|
+
: framed;
|
|
86
|
+
};
|
|
87
|
+
return wrapFormUiProvider(_jsx(PhiRuntimeModuleRenderClientHost, { type: PhiRuntimeRenderClientType.FormDescriptor, componentProps: {
|
|
88
|
+
descriptor: resolvedForm.definition.descriptor,
|
|
89
|
+
labels,
|
|
90
|
+
loadedInitialValues,
|
|
91
|
+
formId: resolvedForm.definition.formId,
|
|
92
|
+
formControllerAddress: renderOptions.formControllerAddress,
|
|
93
|
+
widgetConfig: config,
|
|
94
|
+
} }));
|
|
95
|
+
}
|
|
@@ -4,6 +4,7 @@ import { PHI_SIGNAL_VALUE_SCHEMAS, } from "../../types/signals";
|
|
|
4
4
|
import { createPhiSignalCorrelationId, usePhiSignalDispatcher, usePhiSignalListener, } from "../runtime/runtime-signal-bus";
|
|
5
5
|
import { usePhiSignalIdentity } from "../runtime/runtime-signal-identity";
|
|
6
6
|
import { PHI_FORM_SIGNAL_CHANNELS, } from "./runtime-form-controller-signals";
|
|
7
|
+
import { isPhiRecord } from "../../helpers/is-record";
|
|
7
8
|
export class PhiRuntimeFormSubmitError extends Error {
|
|
8
9
|
failure;
|
|
9
10
|
constructor(failure, message) {
|
|
@@ -12,21 +13,18 @@ export class PhiRuntimeFormSubmitError extends Error {
|
|
|
12
13
|
this.failure = failure;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
|
-
function isRecord(value) {
|
|
16
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
17
|
-
}
|
|
18
16
|
function readRuntimeFormResult(value) {
|
|
19
|
-
if (!
|
|
17
|
+
if (!isPhiRecord(value) || typeof value.ok !== "boolean" || typeof value.status !== "number") {
|
|
20
18
|
return null;
|
|
21
19
|
}
|
|
22
20
|
return {
|
|
23
21
|
ok: value.ok,
|
|
24
22
|
status: value.status,
|
|
25
|
-
payload:
|
|
23
|
+
payload: isPhiRecord(value.payload) ? value.payload : null,
|
|
26
24
|
};
|
|
27
25
|
}
|
|
28
26
|
function readRuntimeFormError(value) {
|
|
29
|
-
return
|
|
27
|
+
return isPhiRecord(value) && typeof value.message === "string"
|
|
30
28
|
? { message: value.message }
|
|
31
29
|
: null;
|
|
32
30
|
}
|
|
@@ -8,7 +8,7 @@ export declare const PHI_RUNTIME_FORM_CONTROLLER_DEFINITION: {
|
|
|
8
8
|
description: string;
|
|
9
9
|
iconFamily: string;
|
|
10
10
|
flags: "multiInstance"[];
|
|
11
|
-
allowedMountScopes: ("area" | "
|
|
11
|
+
allowedMountScopes: ("area" | "page" | "site")[];
|
|
12
12
|
runtimeSignals: {
|
|
13
13
|
emits: ({
|
|
14
14
|
readonly id: "values";
|
|
@@ -7,6 +7,9 @@ import { usePhiSignalRuntimePartition } from "../runtime/runtime-signal-partitio
|
|
|
7
7
|
import { PHI_FORM_SIGNAL_CHANNELS, createPhiRuntimeFormControllerAddress, } from "./runtime-form-controller-signals";
|
|
8
8
|
import { readPhiRuntimeFormControllerWidgetId } from "./runtime-form-controller-requirement";
|
|
9
9
|
import { readPhiRuntimeFormFieldSignalValue, readPhiRuntimeFormTouchedSignalValue, readPhiRuntimeFormValiditySignalValue, readPhiRuntimeFormValuesSignalValue, } from "./runtime-form-state";
|
|
10
|
+
import { isPhiRecord } from "../../helpers/is-record";
|
|
11
|
+
import { readPhiCsrfToken } from "../../helpers/csrf-token";
|
|
12
|
+
import { resolvePhiFormRelayArea } from "./form-relay-area";
|
|
10
13
|
/**
|
|
11
14
|
* Who the Controller's answer is for.
|
|
12
15
|
*
|
|
@@ -23,16 +26,38 @@ function resolveFormOwnerReceiver(instanceKey) {
|
|
|
23
26
|
const widgetId = readPhiRuntimeFormControllerWidgetId(instanceKey);
|
|
24
27
|
return widgetId ? createPhiSignalAddress("cms", widgetId) : "broadcast";
|
|
25
28
|
}
|
|
26
|
-
function isRecord(value) {
|
|
27
|
-
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
28
|
-
}
|
|
29
29
|
function isPhiRuntimeFormSubmitSignalValue(value) {
|
|
30
|
-
if (!
|
|
30
|
+
if (!isPhiRecord(value) || !isPhiRecord(value.values)) {
|
|
31
31
|
return false;
|
|
32
32
|
}
|
|
33
33
|
return (typeof value.formId === "string" &&
|
|
34
34
|
(value.phase === "submit" || value.phase === "confirm"));
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* One submit to the Site's form relay, carrying what the relay may not work out for itself.
|
|
38
|
+
*
|
|
39
|
+
* The Area the Form was drawn in, and the browser's CSRF token. The relay used to mint a CSRF pair of
|
|
40
|
+
* its own for each submit, which proved nothing about the page that sent it; now it forwards this one,
|
|
41
|
+
* and a handler that declares CSRF refuses a submit without it. Every submit carries the token, because
|
|
42
|
+
* which handler needs one is the server's catalog, not the page's. A token that cannot be had is left
|
|
43
|
+
* out, and a handler that needs none -- a contact form -- still goes through.
|
|
44
|
+
*/
|
|
45
|
+
async function submitPhiFormToRelay(value, area) {
|
|
46
|
+
const csrfToken = await readPhiCsrfToken().catch(() => "");
|
|
47
|
+
return fetch("/api/site/forms", {
|
|
48
|
+
method: "POST",
|
|
49
|
+
headers: {
|
|
50
|
+
"content-type": "application/json",
|
|
51
|
+
...(csrfToken ? { "x-csrf-token": csrfToken } : {}),
|
|
52
|
+
},
|
|
53
|
+
body: JSON.stringify({
|
|
54
|
+
formId: value.formId,
|
|
55
|
+
phase: value.phase,
|
|
56
|
+
area,
|
|
57
|
+
values: value.values,
|
|
58
|
+
}),
|
|
59
|
+
});
|
|
60
|
+
}
|
|
36
61
|
function emitControllerFeedback(dispatchSignal, baseSignal, input) {
|
|
37
62
|
dispatchSignal({
|
|
38
63
|
...baseSignal,
|
|
@@ -101,17 +126,7 @@ export function PhiRuntimeFormControllerMount({ address, instanceKey, context, r
|
|
|
101
126
|
value: true,
|
|
102
127
|
valueType: "boolean",
|
|
103
128
|
});
|
|
104
|
-
void
|
|
105
|
-
method: "POST",
|
|
106
|
-
headers: {
|
|
107
|
-
"content-type": "application/json",
|
|
108
|
-
},
|
|
109
|
-
body: JSON.stringify({
|
|
110
|
-
formId: signal.value.formId,
|
|
111
|
-
phase: signal.value.phase,
|
|
112
|
-
values: signal.value.values,
|
|
113
|
-
}),
|
|
114
|
-
})
|
|
129
|
+
void submitPhiFormToRelay(signal.value, resolvePhiFormRelayArea(signalPartition))
|
|
115
130
|
.then(async (response) => {
|
|
116
131
|
const payload = (await response.json().catch(() => null));
|
|
117
132
|
return {
|
|
@@ -8,7 +8,7 @@ export declare const PHI_RUNTIME_FORM_CONTROLLER_PLUGIN: {
|
|
|
8
8
|
description: string;
|
|
9
9
|
iconFamily: string;
|
|
10
10
|
flags: "multiInstance"[];
|
|
11
|
-
allowedMountScopes: ("area" | "
|
|
11
|
+
allowedMountScopes: ("area" | "page" | "site")[];
|
|
12
12
|
runtimeSignals: {
|
|
13
13
|
emits: ({
|
|
14
14
|
readonly id: "values";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PhiCmsWidgetRuntimeControllerRequirementResolver, PhiRuntimeControllerRequirement } from "../../types";
|
|
2
|
-
import type { PhiCmsFormWidgetConfig } from "
|
|
2
|
+
import type { PhiCmsFormWidgetConfig } from "./form-widget-config";
|
|
3
3
|
/**
|
|
4
4
|
* How a Widget's Form Controller is named, written once and read back once.
|
|
5
5
|
*
|