@phis/ui 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -2009
- package/cms/plugins.d.ts +1 -2
- package/cms/plugins.js +0 -1
- package/cms.d.ts +2 -2
- package/cms.js +2 -2
- package/components/account/avatar-client.js +12 -17
- package/components/calendar/gregory-calendar-adapter-client.js +15 -13
- package/components/cms/clients/phi-cms-node-visibility-gate.d.ts +19 -0
- package/components/cms/clients/phi-cms-node-visibility-gate.js +1 -0
- package/components/cms/phi-cms-area-access-guard.d.ts +21 -0
- package/components/cms/phi-cms-area-access-guard.js +48 -0
- package/components/cms/phi-cms-area-render-scope.d.ts +6 -65
- package/components/cms/phi-cms-area-render-scope.js +8 -7
- package/components/cms/phi-cms-error-page.d.ts +1 -1
- package/components/cms/phi-cms-error-page.js +14 -12
- package/components/cms/phi-cms-layout-renderer.d.ts +54 -2
- package/components/cms/phi-cms-layout-renderer.js +179 -74
- package/components/cms/phi-cms-page-redirect.js +10 -5
- package/components/cms/phi-cms-page-renderer.js +2 -1
- package/components/cms/phi-cms-render-diagnostic-client.js +3 -3
- package/components/cms/phi-cms-root-layout.js +52 -25
- package/components/cms/phi-cms-root-page.js +30 -30
- package/components/cms/phi-cms-root-slot-page.js +16 -19
- package/components/cms/phi-cms-runtime-registry.d.ts +20 -2
- package/components/cms/phi-cms-runtime-registry.js +12 -0
- package/components/cms/phi-hard-forward.d.ts +21 -0
- package/components/cms/phi-hard-forward.js +26 -0
- package/components/controls/phi-accordion-control.d.ts +30 -0
- package/components/controls/phi-accordion-control.js +17 -0
- package/components/controls/phi-alert-control.d.ts +1 -1
- package/components/controls/phi-alert-control.js +12 -2
- package/components/controls/phi-avatar-control.d.ts +31 -0
- package/components/controls/phi-avatar-control.js +26 -0
- package/components/controls/phi-background-control.js +15 -9
- package/components/controls/phi-border-control.js +3 -2
- package/components/controls/phi-brand-control.d.ts +39 -8
- package/components/controls/phi-brand-control.js +71 -15
- package/components/controls/phi-builder-insert-picker-control-labels.d.ts +2 -0
- package/components/controls/phi-builder-insert-picker-control-labels.js +1 -0
- package/components/controls/phi-builder-insert-picker-control.js +97 -35
- package/components/controls/phi-button-control.d.ts +19 -2
- package/components/controls/phi-button-control.js +38 -7
- package/components/controls/phi-card-control.d.ts +61 -0
- package/components/controls/phi-card-control.js +12 -0
- package/components/controls/phi-checkbox-group-control.js +4 -7
- package/components/controls/phi-collection-header-control.js +3 -9
- package/components/controls/phi-collection-view-control.d.ts +1 -0
- package/components/controls/phi-collection-view-control.js +3 -3
- package/components/controls/phi-color-control.js +29 -13
- package/components/controls/phi-color-field-control.d.ts +38 -0
- package/components/controls/phi-color-field-control.js +32 -0
- package/components/controls/phi-compact-group-control.d.ts +38 -0
- package/components/controls/phi-compact-group-control.js +6 -0
- package/components/controls/phi-confirm-control.js +2 -14
- package/components/controls/phi-confirm-dialog.d.ts +32 -0
- package/components/controls/phi-confirm-dialog.js +79 -0
- package/components/controls/phi-control-option-content.d.ts +16 -1
- package/components/controls/phi-control-option-content.js +26 -10
- package/components/controls/phi-control-options.d.ts +1 -69
- package/components/controls/phi-control-options.js +6 -112
- package/components/controls/phi-description-list-control.d.ts +43 -0
- package/components/controls/phi-description-list-control.js +28 -0
- package/components/controls/phi-description-tooltip-icon.d.ts +11 -2
- package/components/controls/phi-description-tooltip-icon.js +15 -2
- package/components/controls/phi-dialog-control.d.ts +76 -0
- package/components/controls/phi-dialog-control.js +15 -0
- package/components/controls/phi-dimension-control.js +7 -1
- package/components/controls/phi-divider-control.d.ts +14 -0
- package/components/controls/phi-divider-control.js +6 -0
- package/components/controls/phi-drawer-control-adapter.d.ts +2 -0
- package/components/controls/phi-drawer-control-adapter.js +75 -0
- package/components/controls/phi-drawer-control.d.ts +9 -2
- package/components/controls/phi-drawer-control.js +18 -54
- package/components/controls/phi-dropdown-control.js +3 -4
- package/components/controls/phi-empty-control.d.ts +28 -0
- package/components/controls/phi-empty-control.js +6 -0
- package/components/controls/phi-entry-list-control.d.ts +46 -0
- package/components/controls/phi-entry-list-control.js +17 -0
- package/components/controls/phi-expand-indicator.js +1 -2
- package/components/controls/phi-file-drop-control.d.ts +41 -0
- package/components/controls/phi-file-drop-control.js +10 -0
- package/components/controls/phi-flex-control.d.ts +20 -0
- package/components/controls/phi-flex-control.js +6 -0
- package/components/controls/phi-form-control.d.ts +5 -0
- package/components/controls/phi-form-control.js +120 -31
- package/components/controls/phi-geometry-control.js +35 -22
- package/components/controls/phi-hover-text.d.ts +12 -0
- package/components/controls/phi-hover-text.js +23 -0
- package/components/controls/phi-icon-picker-control.d.ts +1 -1
- package/components/controls/phi-icon-picker-control.js +17 -5
- package/components/controls/phi-inline-text-editor.d.ts +43 -0
- package/components/controls/phi-inline-text-editor.js +62 -0
- package/components/controls/phi-labeled-control.d.ts +10 -0
- package/components/controls/phi-labeled-control.js +14 -4
- package/components/controls/phi-length-control.js +11 -3
- package/components/controls/phi-mask-picker-control.js +3 -5
- package/components/controls/phi-media-asset-tile-control.d.ts +8 -1
- package/components/controls/phi-media-asset-tile-control.js +16 -17
- package/components/controls/phi-media-picker-control.js +3 -2
- package/components/controls/phi-menu-control.d.ts +15 -1
- package/components/controls/phi-menu-control.js +4 -1
- package/components/controls/phi-modal-control-adapter.d.ts +2 -0
- package/components/controls/phi-modal-control-adapter.js +160 -0
- package/components/controls/phi-modal-control.d.ts +15 -4
- package/components/controls/phi-modal-control.js +22 -128
- package/components/controls/phi-multi-select-control.d.ts +3 -1
- package/components/controls/phi-multi-select-control.js +2 -2
- package/components/controls/phi-name-control.d.ts +33 -0
- package/components/controls/phi-name-control.js +6 -0
- package/components/controls/phi-number-control.d.ts +3 -1
- package/components/controls/phi-number-control.js +8 -2
- package/components/controls/phi-overlay-control-contract.d.ts +36 -1
- package/components/controls/phi-overlay-control-contract.js +50 -0
- package/components/controls/phi-padding-control.js +20 -9
- package/components/controls/phi-pagination-control.d.ts +8 -1
- package/components/controls/phi-pagination-control.js +2 -2
- package/components/controls/phi-picker-control-contract.d.ts +2 -0
- package/components/controls/phi-picker-control-contract.js +3 -2
- package/components/controls/phi-preset-size-control.js +2 -2
- package/components/controls/phi-progress-control.d.ts +15 -0
- package/components/controls/phi-progress-control.js +6 -0
- package/components/controls/phi-qr-code-control.d.ts +13 -0
- package/components/controls/phi-qr-code-control.js +6 -0
- package/components/controls/phi-radio-group-control.js +4 -7
- package/components/controls/phi-select-control.d.ts +3 -1
- package/components/controls/phi-select-control.js +2 -2
- package/components/controls/phi-skeleton-control.d.ts +52 -0
- package/components/controls/phi-skeleton-control.js +44 -0
- package/components/controls/phi-spin-control.d.ts +18 -0
- package/components/controls/phi-spin-control.js +6 -0
- package/components/controls/phi-statistic-control.d.ts +14 -0
- package/components/controls/phi-statistic-control.js +6 -0
- package/components/controls/phi-switch-control.d.ts +7 -3
- package/components/controls/phi-switch-control.js +2 -2
- package/components/controls/phi-table-control.d.ts +7 -1
- package/components/controls/phi-table-control.js +90 -33
- package/components/controls/phi-tag-control.d.ts +19 -1
- package/components/controls/phi-tag-control.js +5 -2
- package/components/controls/phi-text-control.d.ts +5 -1
- package/components/controls/phi-text-control.js +4 -3
- package/components/controls/phi-toolbar-control.js +12 -3
- package/components/controls/phi-tree-control.js +10 -7
- package/components/controls/phi-tree-select-control.d.ts +56 -0
- package/components/controls/phi-tree-select-control.js +69 -0
- package/components/controls/phi-typography-control-adapter.d.ts +2 -0
- package/components/controls/phi-typography-control-adapter.js +40 -0
- package/components/controls/phi-typography-control.d.ts +33 -0
- package/components/controls/phi-typography-control.js +56 -0
- package/components/controls/phi-video-embed-control.d.ts +50 -0
- package/components/controls/phi-video-embed-control.js +87 -0
- package/components/forms/auth-admin-settings-labels.d.ts +8 -3
- package/components/forms/auth-admin-settings-labels.js +16 -4
- package/components/forms/choice-form-field-controls.d.ts +5 -0
- package/components/forms/choice-form-field-controls.js +15 -0
- package/components/forms/compound-form-controls.js +1 -5
- package/components/forms/datetime-form-control.js +2 -1
- package/components/forms/extended-form-field-controls.d.ts +2 -0
- package/components/forms/extended-form-field-controls.js +19 -1
- package/components/forms/form-descriptor-contract.d.ts +65 -320
- package/components/forms/form-descriptor-contract.js +82 -435
- package/components/forms/form-descriptor-runtime-client.d.ts +1 -1
- package/components/forms/form-descriptor-runtime-client.js +175 -90
- package/components/forms/form-guard-client.d.ts +3 -3
- package/components/forms/form-guard-client.js +7 -5
- package/components/forms/form-provider-contract.d.ts +71 -625
- package/components/forms/form-provider-contract.js +105 -70
- package/components/forms/form-provider-registry.d.ts +7 -2
- package/components/forms/form-registry.d.ts +36 -22
- package/components/forms/form-registry.js +39 -1
- package/components/forms/form-relay-area.d.ts +14 -0
- package/components/forms/form-relay-area.js +24 -0
- package/components/forms/form-resolution.js +2 -4
- package/components/forms/form-widget-config.d.ts +57 -0
- package/components/forms/form-widget-config.js +122 -0
- package/components/forms/phi-form-widget-frame.d.ts +51 -13
- package/components/forms/phi-form-widget-frame.js +90 -16
- package/components/forms/phi-form-widget.d.ts +15 -0
- package/components/forms/phi-form-widget.js +95 -0
- package/components/forms/runtime-form-client.js +4 -6
- package/components/forms/runtime-form-controller-definition.d.ts +1 -1
- package/components/forms/runtime-form-controller-mount.js +30 -15
- package/components/forms/runtime-form-controller-plugin.d.ts +1 -1
- package/components/forms/runtime-form-controller-requirement.d.ts +1 -1
- package/components/forms/runtime-form-state.js +5 -7
- package/components/forms/shared-form-descriptors.d.ts +175 -0
- package/components/forms/shared-form-descriptors.js +158 -0
- package/components/forms/shared-form-ids.d.ts +18 -0
- package/components/forms/shared-form-ids.js +18 -0
- package/components/forms/shared-form-loaders.d.ts +20 -0
- package/components/forms/shared-form-loaders.js +31 -0
- package/components/forms/shared-form-provider-registry.js +134 -117
- package/components/forms/site-locales-config.d.ts +18 -0
- package/components/forms/site-locales-config.js +35 -0
- package/components/forms/storage-size.d.ts +36 -0
- package/components/forms/storage-size.js +46 -0
- package/components/forms/upload-form-control.d.ts +24 -0
- package/components/forms/upload-form-control.js +126 -0
- package/components/layouts/clients/phi-base-layout-client.d.ts +3 -12
- package/components/layouts/clients/phi-base-layout-client.js +5 -165
- package/components/layouts/clients/phi-carousel-layout-client.d.ts +1 -2
- package/components/layouts/clients/phi-carousel-layout-client.js +28 -23
- package/components/layouts/clients/phi-collapsible-layout-client.d.ts +0 -3
- package/components/layouts/clients/phi-collapsible-layout-client.js +125 -49
- package/components/layouts/clients/phi-content-layout-client.d.ts +7 -5
- package/components/layouts/clients/phi-content-layout-client.js +3 -4
- package/components/layouts/clients/phi-flex-layout-client.js +21 -7
- package/components/layouts/clients/phi-flex-vertical-layout-client.js +23 -6
- package/components/layouts/clients/phi-grid-layout-client.js +112 -115
- package/components/layouts/clients/phi-layout-anchored-overlay.d.ts +16 -0
- package/components/layouts/clients/phi-layout-anchored-overlay.js +29 -24
- package/components/layouts/clients/phi-sequence-slot-editor.d.ts +15 -3
- package/components/layouts/clients/phi-sequence-slot-editor.js +7 -20
- package/components/layouts/clients/phi-split-card-layout-client.d.ts +1 -1
- package/components/layouts/clients/phi-split-card-layout-client.js +25 -13
- package/components/layouts/clients/phi-stack-layout-client.d.ts +2 -2
- package/components/layouts/clients/phi-stack-layout-client.js +72 -26
- package/components/layouts/clients/phi-three-column-layout-client.d.ts +6 -4
- package/components/layouts/clients/phi-three-column-layout-client.js +40 -26
- package/components/layouts/layout-definitions.d.ts +184 -40
- package/components/layouts/layout-definitions.js +148 -28
- package/components/layouts/phi-base-layout.d.ts +1 -1
- package/components/layouts/phi-base-layout.js +12 -39
- package/components/layouts/phi-carousel-layout.js +1 -1
- package/components/layouts/phi-carousel-pages.d.ts +28 -0
- package/components/layouts/phi-carousel-pages.js +53 -0
- package/components/layouts/phi-collapsible-layout.js +1 -1
- package/components/layouts/phi-grid-contract.d.ts +83 -1
- package/components/layouts/phi-grid-contract.js +138 -10
- package/components/layouts/phi-grid-layout.js +1 -1
- package/components/layouts/phi-layout-contract.d.ts +156 -18
- package/components/layouts/phi-layout-contract.js +305 -51
- package/components/layouts/phi-layout-slot-state.d.ts +0 -1
- package/components/layouts/phi-layout-slot-state.js +0 -8
- package/components/layouts/phi-layout-view-model.d.ts +1 -1
- package/components/layouts/phi-layout-view-model.js +2 -1
- package/components/layouts/phi-masonry-layout.js +44 -9
- package/components/layouts/phi-stack-layout.js +1 -1
- package/components/layouts/phi-structure-region-layout.js +4 -3
- package/components/layouts/plugins/carousel-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/carousel-layout-plugin.js +3 -4
- package/components/layouts/plugins/collapsible-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/collapsible-layout-plugin.js +3 -4
- package/components/layouts/plugins/content-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/content-layout-plugin.js +3 -3
- package/components/layouts/plugins/flex-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/flex-layout-plugin.js +3 -4
- package/components/layouts/plugins/flex-vertical-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/flex-vertical-layout-plugin.js +3 -4
- package/components/layouts/plugins/grid-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/grid-layout-plugin.js +2 -4
- package/components/layouts/plugins/masonry-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/masonry-layout-plugin.js +1 -3
- package/components/layouts/plugins/page-region-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/page-region-layout-plugin.js +0 -2
- package/components/layouts/plugins/split-card-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/split-card-layout-plugin.js +2 -4
- package/components/layouts/plugins/stack-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/stack-layout-plugin.js +3 -4
- package/components/layouts/plugins/structure-region-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/structure-region-layout-plugin.js +0 -2
- package/components/layouts/plugins/three-column-layout-plugin.d.ts +0 -1
- package/components/layouts/plugins/three-column-layout-plugin.js +2 -4
- package/components/layouts/stack-signals.d.ts +0 -1
- package/components/layouts/stack-signals.js +0 -1
- package/components/layouts/use-phi-slot-sequence.d.ts +31 -3
- package/components/layouts/use-phi-slot-sequence.js +32 -12
- package/components/media/asset-collection-runtime.d.ts +3 -2
- package/components/media/asset-collection-runtime.js +9 -11
- package/components/media/background-asset-projection.js +3 -5
- package/components/media/label-sets/media.js +2 -0
- package/components/media/media-folder-options.d.ts +18 -0
- package/components/media/media-folder-options.js +76 -0
- package/components/media/media-settings-labels.d.ts +4 -1
- package/components/media/media-settings-labels.js +23 -16
- package/components/media/media-upload-digest.d.ts +38 -0
- package/components/media/media-upload-digest.js +38 -0
- package/components/media/media-upload-flow.d.ts +98 -1
- package/components/media/media-upload-flow.js +301 -8
- package/components/media/media-widget-labels.d.ts +1 -0
- package/components/media/media-widget-labels.js +1 -0
- package/components/media/phi-area-upload-widget.d.ts +1 -1
- package/components/media/phi-area-upload-widget.js +33 -48
- package/components/media/phi-asset-focal-rect-widget.d.ts +2 -2
- package/components/media/phi-asset-focal-rect-widget.js +14 -3
- package/components/media/phi-asset-inspector-section.js +5 -4
- package/components/media/phi-image-inspector-widget.d.ts +1 -1
- package/components/media/phi-image-inspector-widget.js +1 -1
- package/components/media/phi-image-preview-store.d.ts +0 -9
- package/components/media/phi-image-preview-store.js +0 -29
- package/components/media/phi-media-picker-binding.d.ts +1 -1
- package/components/media/phi-media-picker-binding.js +15 -11
- package/components/media/phi-media-picker-server.d.ts +1 -1
- package/components/media/phi-media-picker-widget.d.ts +1 -1
- package/components/media/phi-site-font-assets.js +1 -1
- package/components/media/use-authoring-asset-details.js +5 -8
- package/components/menus/phi-account-menu.d.ts +14 -11
- package/components/menus/phi-account-menu.js +94 -46
- package/components/motion/phi-sequence-viewport.js +11 -0
- package/components/navigation/phi-link.d.ts +11 -1
- package/components/navigation/phi-link.js +2 -2
- package/components/overlays/phi-overlay-container-client.d.ts +10 -7
- package/components/overlays/phi-overlay-container-client.js +113 -38
- package/components/overlays/phi-overlay-zones-loader.d.ts +20 -0
- package/components/overlays/phi-overlay-zones-loader.js +26 -0
- package/components/regions/clients/cms-region-container-client.d.ts +8 -3
- package/components/regions/clients/cms-region-container-client.js +102 -336
- package/components/regions/phi-cms-region-container.js +3 -1
- package/components/regions/phi-cms-region-shell.d.ts +88 -0
- package/components/regions/phi-cms-region-shell.js +300 -0
- package/components/regions/phi-cms-region-static.d.ts +8 -4
- package/components/regions/phi-cms-region-static.js +19 -211
- package/components/regions/presets/navigation-redirect.d.ts +0 -1
- package/components/regions/presets/navigation-redirect.js +5 -22
- package/components/regions/presets/phi-area-root-redirect-tree.d.ts +1 -3
- package/components/regions/presets/phi-area-root-redirect-tree.js +8 -2
- package/components/regions/presets/phi-base-page-layout.js +10 -11
- package/components/regions/presets/phi-header-top-actions-layout.d.ts +17 -0
- package/components/regions/presets/phi-header-top-actions-layout.js +28 -0
- package/components/regions/presets/phi-settings-page-shell-tree.d.ts +97 -15
- package/components/regions/presets/phi-settings-page-shell-tree.js +242 -44
- package/components/root/phi-config-provider.d.ts +9 -2
- package/components/root/phi-config-provider.js +10 -2
- package/components/root/phi-dayjs-locale.d.ts +9 -2
- package/components/root/phi-dayjs-locale.js +20 -4
- package/components/root/phi-intl-locale.d.ts +6 -0
- package/components/root/phi-intl-locale.js +21 -0
- package/components/root/phi-root-background.d.ts +3 -3
- package/components/root/phi-root-background.js +3 -3
- package/components/root/phi-root-layout.d.ts +2 -1
- package/components/root/phi-root-layout.js +12 -3
- package/components/root/phi-root-live-theme-provider.d.ts +8 -3
- package/components/root/phi-root-live-theme-provider.js +75 -9
- package/components/root/phi-root-theme-resolver.d.ts +21 -1
- package/components/root/phi-root-theme-resolver.js +20 -3
- package/components/runtime/application-feedback-host.d.ts +35 -0
- package/components/runtime/application-feedback-host.js +66 -0
- package/components/runtime/core-runtime-application-adapter.d.ts +8 -1
- package/components/runtime/core-runtime-application-adapter.js +97 -26
- package/components/runtime/core-runtime-controller-definition.d.ts +11 -0
- package/components/runtime/core-runtime-controller-definition.js +33 -0
- package/components/runtime/core-runtime-controller-plugin.d.ts +11 -0
- package/components/runtime/phi-password-change-required-modal.d.ts +16 -0
- package/components/runtime/phi-password-change-required-modal.js +34 -0
- package/components/runtime/phi-password-change-required.d.ts +14 -0
- package/components/runtime/phi-password-change-required.js +41 -0
- package/components/runtime/phi-state-machine-binding.d.ts +40 -0
- package/components/runtime/phi-state-machine-binding.js +119 -0
- package/components/runtime/phi-video-consent-store.d.ts +17 -0
- package/components/runtime/phi-video-consent-store.js +54 -0
- package/components/runtime/renderable-block-runtime.d.ts +0 -8
- package/components/runtime/renderable-block-runtime.js +5 -18
- package/components/runtime/renderable-widget-runtime.d.ts +10 -0
- package/components/runtime/renderable-widget-runtime.js +20 -0
- package/components/runtime/runtime-controller-materialization.d.ts +22 -2
- package/components/runtime/runtime-controller-materialization.js +48 -10
- package/components/runtime/runtime-module-authoring-client-manifest.d.ts +5 -5
- package/components/runtime/runtime-module-authoring-client-manifest.js +4 -13
- package/components/runtime/runtime-module-authoring-host.d.ts +1 -6
- package/components/runtime/runtime-module-authoring-host.js +0 -4
- package/components/runtime/runtime-module-calendar-adapter-client-manifest.js +10 -12
- package/components/runtime/runtime-module-client-manifest-context.d.ts +25 -0
- package/components/runtime/runtime-module-client-manifest-context.js +45 -0
- package/components/runtime/runtime-module-context.d.ts +11 -1
- package/components/runtime/runtime-module-context.js +12 -2
- package/components/runtime/runtime-module-controller-client-manifest.d.ts +5 -5
- package/components/runtime/runtime-module-controller-client-manifest.js +4 -13
- package/components/runtime/runtime-module-data-provider-client-manifest.d.ts +2 -2
- package/components/runtime/runtime-module-data-provider-client-manifest.js +7 -22
- package/components/runtime/runtime-module-render-client-manifest.d.ts +11 -2
- package/components/runtime/runtime-module-render-client-manifest.js +17 -20
- package/components/runtime/runtime-module-ui-provider-client-manifest.d.ts +36 -0
- package/components/runtime/runtime-module-ui-provider-client-manifest.js +30 -0
- package/components/runtime/runtime-signal-bus.js +76 -2
- package/components/runtime/runtime-signal-identity.d.ts +11 -1
- package/components/runtime/runtime-signal-identity.js +25 -0
- package/components/runtime/runtime-signal-registry.d.ts +0 -3
- package/components/runtime/runtime-signal-registry.js +1 -15
- package/components/runtime/user-state-client.d.ts +34 -0
- package/components/runtime/user-state-client.js +79 -0
- package/components/shell/phi-antd-icon.d.ts +73 -0
- package/components/shell/phi-antd-icon.js +192 -0
- package/components/shell/phi-asset-icon.d.ts +5 -0
- package/components/shell/phi-asset-icon.js +18 -0
- package/components/shell/phi-avatar.d.ts +1 -15
- package/components/shell/phi-avatar.js +4 -26
- package/components/shell/phi-builder-icon.d.ts +1 -1
- package/components/shell/phi-builder-icon.js +19 -2
- package/components/shell/phi-builder-motif-icon.js +1 -0
- package/components/shell/phi-icon.js +11 -43
- package/components/shell/phi-locale-switch.js +6 -1
- package/components/shell/phi-widget-icon.js +2 -1
- package/components/shell/shell-types.d.ts +25 -15
- package/components/shell/shell-types.js +1 -68
- package/components/state/history-store.d.ts +2 -0
- package/components/state/history-store.js +13 -0
- package/components/state/scoped-state-store.js +12 -5
- package/components/tables/client/phi-table-binding.d.ts +3 -2
- package/components/tables/phi-plain-table.js +1 -2
- package/components/trees/client/phi-tree-binding.js +8 -5
- package/components/widgets/accessible-areas.d.ts +42 -0
- package/components/widgets/accessible-areas.js +49 -0
- package/components/widgets/builder/phi-static-options-picker.js +24 -17
- package/components/widgets/builder/stack-tabs.d.ts +1 -2
- package/components/widgets/builder/stack-tabs.js +1 -2
- package/components/widgets/built-in/widget-preview-client.js +9 -5
- package/components/widgets/client/auth-workflow-body.d.ts +19 -3
- package/components/widgets/client/auth-workflow-body.js +24 -43
- package/components/widgets/client/description-editor-sections.d.ts +28 -0
- package/components/widgets/client/description-editor-sections.js +7 -0
- package/components/widgets/client/external-document-editor.js +3 -2
- package/components/widgets/client/html-editor-image-node.js +51 -17
- package/components/widgets/client/search.js +11 -59
- package/components/widgets/client/shared/core-options-providers.d.ts +3 -0
- package/components/widgets/client/shared/core-options-providers.js +20 -1
- package/components/widgets/client/shared/description-items.d.ts +6 -0
- package/components/widgets/client/shared/description-items.js +12 -0
- package/components/widgets/client/shared/phi-authoring-tools-labels.d.ts +7 -0
- package/components/widgets/client/shared/phi-authoring-tools-labels.js +23 -0
- package/components/widgets/client/shared/phi-button-icons.js +19 -19
- package/components/widgets/client/shared/phi-choice-controller.js +2 -1
- package/components/widgets/client/shared/phi-collection-provider.d.ts +22 -17
- package/components/widgets/client/shared/phi-collection-provider.js +2 -2
- package/components/widgets/client/shared/phi-collection-view-binding.d.ts +5 -19
- package/components/widgets/client/shared/phi-collection-view-binding.js +32 -21
- package/components/widgets/client/shared/phi-control-signal-routing.d.ts +35 -0
- package/components/widgets/client/shared/phi-control-signal-routing.js +35 -0
- package/components/widgets/client/shared/phi-control-signals.d.ts +0 -1
- package/components/widgets/client/shared/phi-control-signals.js +31 -65
- package/components/widgets/client/shared/phi-input-signals.d.ts +0 -3
- package/components/widgets/client/shared/phi-page-reference-picker.d.ts +18 -0
- package/components/widgets/client/shared/phi-page-reference-picker.js +32 -0
- package/components/widgets/client/shared/phi-rendered-value.d.ts +43 -0
- package/components/widgets/client/shared/phi-rendered-value.js +75 -0
- package/components/widgets/client/shared/phi-search-draft.d.ts +33 -0
- package/components/widgets/client/shared/phi-search-draft.js +52 -0
- package/components/widgets/client/shared/phi-static-table-provider.d.ts +12 -1
- package/components/widgets/client/shared/phi-static-table-provider.js +57 -7
- package/components/widgets/client/shared/phi-table-provider-response.d.ts +14 -0
- package/components/widgets/client/shared/phi-table-provider-response.js +16 -0
- package/components/widgets/client/shared/phi-table-provider.d.ts +3 -5
- package/components/widgets/client/shared/phi-table-provider.js +10 -24
- package/components/widgets/client/shared/phi-widget-image-tool-button.d.ts +2 -4
- package/components/widgets/client/shared/phi-widget-image-tool-button.js +6 -8
- package/components/widgets/client/shared/phi-widget-tool-buttons.js +56 -45
- package/components/widgets/config/background.d.ts +23 -0
- package/components/widgets/config/background.js +128 -41
- package/components/widgets/config/button-variant.d.ts +28 -0
- package/components/widgets/config/button-variant.js +32 -0
- package/components/widgets/config/choice-shared.d.ts +2 -2
- package/components/widgets/config/geometry.d.ts +4 -4
- package/components/widgets/config/helpers.d.ts +2 -2
- package/components/widgets/config/image-source-parser.d.ts +1 -1
- package/components/widgets/config/mask.d.ts +4 -2
- package/components/widgets/config/mask.js +13 -28
- package/components/widgets/config/parser-primitives.d.ts +11 -2
- package/components/widgets/config/parser-primitives.js +38 -3
- package/components/widgets/config/search-shared.d.ts +1 -80
- package/components/widgets/config/search-shared.js +4 -6
- package/components/widgets/config/spacing-options.d.ts +0 -1
- package/components/widgets/config/spacing-options.js +0 -1
- package/components/widgets/config/stack-tabs.d.ts +1 -121
- package/components/widgets/config/stack-tabs.js +3 -7
- package/components/widgets/config/text-tone.d.ts +22 -0
- package/components/widgets/config/text-tone.js +18 -0
- package/components/widgets/helpers/font-family.d.ts +13 -2
- package/components/widgets/helpers/font-family.js +22 -0
- package/components/widgets/helpers/font-size.d.ts +6 -2
- package/components/widgets/helpers/font-size.js +14 -0
- package/components/widgets/helpers/internal-reference-resolver.server.d.ts +10 -0
- package/components/widgets/helpers/internal-reference-resolver.server.js +19 -10
- package/components/widgets/inspector-field-row.js +3 -2
- package/components/widgets/label-sets/account.d.ts +7 -5
- package/components/widgets/label-sets/account.js +18 -8
- package/components/widgets/label-sets/auth-workflow.d.ts +4 -0
- package/components/widgets/label-sets/auth-workflow.js +63 -0
- package/components/widgets/label-sets/authoring-tools.d.ts +6 -0
- package/components/widgets/label-sets/authoring-tools.js +122 -0
- package/components/widgets/label-sets/border.js +8 -0
- package/components/widgets/label-sets/builder-chrome.js +2 -16
- package/components/widgets/label-sets/builder-modules.js +2 -0
- package/components/widgets/label-sets/draft-status.d.ts +4 -0
- package/components/widgets/label-sets/draft-status.js +29 -0
- package/components/widgets/label-sets/effects.js +8 -0
- package/components/widgets/label-sets/icon-picker.d.ts +6 -0
- package/components/widgets/label-sets/icon-picker.js +67 -0
- package/components/widgets/label-sets/news.d.ts +9 -0
- package/components/widgets/label-sets/news.js +29 -0
- package/components/widgets/label-sets/padding.d.ts +4 -0
- package/components/widgets/label-sets/padding.js +55 -0
- package/components/widgets/label-sets/profile.d.ts +55 -23
- package/components/widgets/label-sets/profile.js +80 -47
- package/components/widgets/label-sets/record.d.ts +4 -0
- package/components/widgets/label-sets/record.js +23 -0
- package/components/widgets/label-sets/region.js +4 -0
- package/components/widgets/label-sets/revisions.js +16 -0
- package/components/widgets/label-sets/security.d.ts +4 -0
- package/components/widgets/label-sets/security.js +81 -0
- package/components/widgets/label-sets/session.d.ts +6 -0
- package/components/widgets/label-sets/session.js +20 -0
- package/components/widgets/label-sets/threads.d.ts +96 -0
- package/components/widgets/label-sets/threads.js +269 -0
- package/components/widgets/label-sets/unsubscribe.d.ts +17 -0
- package/components/widgets/label-sets/unsubscribe.js +39 -0
- package/components/widgets/label-sets/video.d.ts +11 -0
- package/components/widgets/label-sets/video.js +40 -0
- package/components/widgets/label-types/auth-workflow.d.ts +38 -0
- package/components/widgets/label-types/authoring-tools.d.ts +78 -0
- package/components/widgets/label-types/authoring-tools.js +61 -0
- package/components/widgets/label-types/border.d.ts +8 -10
- package/components/widgets/label-types/border.js +7 -9
- package/components/widgets/label-types/builder-chrome.d.ts +0 -10
- package/components/widgets/label-types/builder-chrome.js +0 -12
- package/components/widgets/label-types/builder-modules.d.ts +2 -0
- package/components/widgets/label-types/builder-modules.js +2 -0
- package/components/widgets/label-types/common-controls.d.ts +2 -1
- package/components/widgets/label-types/common-controls.js +4 -4
- package/components/widgets/label-types/draft-status.d.ts +11 -0
- package/components/widgets/label-types/draft-status.js +12 -0
- package/components/widgets/label-types/effects.d.ts +6 -0
- package/components/widgets/label-types/effects.js +5 -0
- package/components/widgets/label-types/icon-picker.d.ts +30 -0
- package/components/widgets/label-types/icon-picker.js +31 -0
- package/components/widgets/label-types/padding.d.ts +3 -0
- package/components/widgets/label-types/padding.js +2 -0
- package/components/widgets/label-types/record.d.ts +8 -0
- package/components/widgets/label-types/record.js +9 -0
- package/components/widgets/label-types/region.d.ts +4 -0
- package/components/widgets/label-types/region.js +2 -0
- package/components/widgets/label-types/revisions.d.ts +11 -0
- package/components/widgets/label-types/revisions.js +9 -0
- package/components/widgets/label-types/security.d.ts +37 -0
- package/components/widgets/label-types/security.js +3 -0
- package/components/widgets/label-types/spacing-scale.d.ts +13 -0
- package/components/widgets/label-types/spacing-scale.js +11 -0
- package/components/widgets/login-redirect.js +3 -7
- package/components/widgets/navigation-descriptor-resolver.server.js +16 -5
- package/components/widgets/plugins/stack-tabs-widget-plugin.d.ts +1 -2
- package/components/widgets/plugins/stack-tabs-widget-plugin.js +1 -2
- package/components/widgets/server/builder-chrome.d.ts +0 -1
- package/components/widgets/server/builder-chrome.js +0 -4
- package/components/widgets/shared/card-body-client.d.ts +86 -0
- package/components/widgets/shared/card-body-client.js +102 -0
- package/components/widgets/shared/markdown-body-client.d.ts +81 -0
- package/components/widgets/shared/markdown-body-client.js +181 -0
- package/components/widgets/shared/markdown-code-tokens.d.ts +46 -0
- package/components/widgets/shared/markdown-code-tokens.js +330 -0
- package/components/widgets/shared/markdown-render.d.ts +40 -0
- package/components/widgets/shared/markdown-render.js +506 -0
- package/components/widgets/shared/result-body-client.d.ts +5 -2
- package/components/widgets/shared/result-body.d.ts +13 -1
- package/components/widgets/shared/result-body.js +11 -2
- package/components/widgets/signals/control-signal-capabilities.d.ts +0 -72
- package/components/widgets/signals/control-signal-capabilities.js +0 -70
- package/components/widgets/signals/page-title-signals.d.ts +0 -1
- package/components/widgets/signals/page-title-signals.js +2 -5
- package/components/widgets/signals/signal-endpoint-list.js +4 -3
- package/components/widgets/signals/signal-endpoints.js +2 -4
- package/components/workspace/catalog-store.d.ts +0 -1
- package/components/workspace/catalog-store.js +0 -3
- package/constants/authoring-option-provider-keys.d.ts +20 -0
- package/constants/authoring-option-provider-keys.js +21 -0
- package/constants/cms-areas.d.ts +22 -7
- package/constants/cms-areas.js +25 -37
- package/constants/cms-error-pages.d.ts +25 -0
- package/constants/cms-error-pages.js +31 -0
- package/constants/cms-layout-type-keys.d.ts +21 -0
- package/constants/cms-layout-type-keys.js +54 -0
- package/constants/cms-layout-types.d.ts +0 -20
- package/constants/cms-layout-types.js +2 -48
- package/constants/cms-widget-types.d.ts +9 -7
- package/constants/cms-widget-types.js +15 -16
- package/constants/core-data-provider-keys.d.ts +12 -0
- package/constants/core-data-provider-keys.js +13 -0
- package/constants/dashboard-card-provider-keys.d.ts +19 -0
- package/constants/dashboard-card-provider-keys.js +20 -0
- package/constants/http-headers.d.ts +20 -1
- package/constants/http-headers.js +20 -1
- package/constants/media-library-provider-keys.d.ts +9 -0
- package/constants/media-library-provider-keys.js +10 -1
- package/constants/phi-base-role-metadata.d.ts +0 -1
- package/constants/phi-cms.d.ts +1 -1
- package/constants/phi-cms.js +1 -1
- package/constants/runtime-data-provider-key.d.ts +8 -0
- package/constants/runtime-data-provider-key.js +10 -0
- package/constants/runtime-module-ownership.js +41 -0
- package/constants/runtime-render-client-types.d.ts +1 -3
- package/constants/runtime-render-client-types.js +2 -4
- package/constants/support.d.ts +2 -0
- package/constants/support.js +6 -0
- package/constants/thread-library-provider-keys.d.ts +19 -0
- package/constants/thread-library-provider-keys.js +20 -0
- package/constants/threads.d.ts +1 -0
- package/constants/threads.js +6 -0
- package/constants/user-state.d.ts +1 -0
- package/constants/user-state.js +6 -0
- package/constants.d.ts +8 -6
- package/constants.js +8 -6
- package/controls.d.ts +12 -7
- package/controls.js +20 -3
- package/core-widgets.d.ts +3 -0
- package/core-widgets.js +7 -0
- package/forms-client.d.ts +4 -0
- package/forms-client.js +8 -0
- package/forms.d.ts +4 -7
- package/forms.js +10 -6
- package/gateway/area-root-door.d.ts +14 -0
- package/gateway/area-root-door.js +65 -0
- package/gateway/auth-public-manifest.d.ts +23 -1
- package/gateway/auth-public-manifest.js +41 -12
- package/gateway/dashboard-cards-route.d.ts +21 -0
- package/gateway/dashboard-cards-route.js +269 -0
- package/gateway/form-handler-resolution.d.ts +12 -1
- package/gateway/form-handler-resolution.js +45 -53
- package/gateway/form-registry.js +7 -11
- package/gateway/form-submit.js +23 -15
- package/gateway/internal-references.js +6 -3
- package/gateway/label-set.js +4 -4
- package/gateway/module-diagnostics-route.d.ts +36 -0
- package/gateway/module-diagnostics-route.js +61 -0
- package/gateway/navigation-target-route.d.ts +6 -0
- package/gateway/navigation-target-route.js +215 -0
- package/gateway/news.d.ts +22 -0
- package/gateway/news.js +76 -0
- package/gateway/server-capabilities.js +3 -5
- package/gateway/site-area-bridges.d.ts +23 -0
- package/gateway/site-area-bridges.js +12 -0
- package/gateway/site-area.js +6 -11
- package/gateway/site-auth-settings.js +3 -5
- package/gateway/site-config.d.ts +2 -84
- package/gateway/site-config.js +4 -6
- package/gateway/site-form-route.d.ts +4 -12
- package/gateway/site-form-route.js +61 -43
- package/gateway/site-media-settings.js +3 -5
- package/gateway/site-nav.js +6 -15
- package/gateway/site-page.js +6 -15
- package/gateway/site-proxy.d.ts +10 -1
- package/gateway/site-proxy.js +89 -6
- package/gateway/site-read-cache.d.ts +19 -0
- package/gateway/site-read-cache.js +24 -0
- package/gateway/site-settings.js +3 -5
- package/gateway/site-stats.js +3 -5
- package/gateway/site-theme.js +2 -5
- package/gateway/thread-inbox-stats.d.ts +25 -0
- package/gateway/thread-inbox-stats.js +34 -0
- package/gateway/tr.js +48 -85
- package/gateway/user-state.d.ts +27 -0
- package/gateway/user-state.js +48 -0
- package/helpers/access.d.ts +0 -7
- package/helpers/access.js +1 -11
- package/helpers/border-widget-style.d.ts +35 -0
- package/helpers/border-widget-style.js +41 -0
- package/helpers/brand-wordmark.d.ts +10 -0
- package/helpers/brand-wordmark.js +14 -3
- package/helpers/client-json-request.d.ts +48 -0
- package/helpers/client-json-request.js +49 -0
- package/helpers/cms-access-policy.js +1 -5
- package/helpers/cms-area-config.d.ts +22 -2
- package/helpers/cms-area-config.js +32 -11
- package/helpers/cms-area-root-route.d.ts +8 -7
- package/helpers/cms-area-root-route.js +11 -12
- package/helpers/cms-config-field-validation.js +9 -0
- package/helpers/cms-config-serialization.d.ts +0 -69
- package/helpers/cms-config-serialization.js +1 -60
- package/helpers/cms-draft-delete.d.ts +8 -0
- package/helpers/cms-draft-delete.js +23 -0
- package/helpers/cms-layout-defaults.js +16 -25
- package/helpers/cms-layout-depth.d.ts +0 -2
- package/helpers/cms-layout-depth.js +0 -35
- package/helpers/cms-navigation-catalog.d.ts +24 -3
- package/helpers/cms-navigation-catalog.js +52 -17
- package/helpers/cms-node-factories.d.ts +21 -8
- package/helpers/cms-node-factories.js +8 -2
- package/helpers/cms-page-catalog.d.ts +0 -3
- package/helpers/cms-page-catalog.js +0 -10
- package/helpers/cms-paths.d.ts +4 -4
- package/helpers/cms-paths.js +6 -15
- package/helpers/cms-preset-nodes.d.ts +79 -6
- package/helpers/cms-preset-nodes.js +57 -14
- package/helpers/cms-region-keys.d.ts +18 -1
- package/helpers/cms-region-keys.js +23 -0
- package/helpers/cms-routing.d.ts +17 -0
- package/helpers/cms-routing.js +37 -0
- package/helpers/csrf-token.d.ts +33 -0
- package/helpers/csrf-token.js +61 -0
- package/helpers/dot-path.d.ts +7 -0
- package/helpers/dot-path.js +18 -0
- package/helpers/format-date-time.d.ts +2 -2
- package/helpers/format-date-time.js +20 -11
- package/helpers/is-record.d.ts +1 -0
- package/helpers/is-record.js +6 -0
- package/helpers/layout-authoring-markers.d.ts +4 -1
- package/helpers/layout-authoring-markers.js +5 -2
- package/helpers/link-target.d.ts +44 -0
- package/helpers/link-target.js +66 -0
- package/helpers/locale.d.ts +28 -0
- package/helpers/locale.js +82 -27
- package/helpers/logout.d.ts +26 -0
- package/helpers/logout.js +37 -0
- package/helpers/motion.d.ts +8 -0
- package/helpers/motion.js +8 -0
- package/helpers/nav-selection.js +12 -9
- package/helpers/phi-metadata.d.ts +9 -0
- package/helpers/phi-metadata.js +2 -0
- package/helpers/renderable-block-anchor.d.ts +2 -0
- package/helpers/renderable-block-anchor.js +28 -0
- package/helpers/renderable-block-effects.js +3 -1
- package/helpers/renderable-block-serialization.d.ts +1 -2
- package/helpers/renderable-block-serialization.js +13 -35
- package/helpers/runtime-module-route-path.d.ts +14 -1
- package/helpers/runtime-module-route-path.js +18 -0
- package/helpers/shell-region-style.d.ts +5 -3
- package/helpers/shell-region-style.js +27 -4
- package/helpers/site-api.d.ts +11 -10
- package/helpers/site-api.js +13 -18
- package/helpers/site-locale-config.js +6 -6
- package/helpers/site-runtime.d.ts +0 -2
- package/helpers/site-runtime.js +0 -10
- package/helpers/state-machine-binding.d.ts +84 -0
- package/helpers/state-machine-binding.js +101 -0
- package/helpers/state-machine-diagnostics.d.ts +30 -0
- package/helpers/state-machine-diagnostics.js +89 -0
- package/helpers/table-binding.js +4 -5
- package/helpers/text-placeholders.d.ts +50 -0
- package/helpers/text-placeholders.js +83 -0
- package/helpers/visibility.d.ts +0 -1
- package/helpers/visibility.js +0 -5
- package/helpers.d.ts +3 -13
- package/helpers.js +3 -13
- package/media.d.ts +2 -2
- package/media.js +1 -1
- package/module-client.d.ts +6 -1
- package/module-labels.d.ts +18 -0
- package/module-labels.js +16 -0
- package/module-projection-authoring-client.d.ts +5 -3
- package/module-projection-authoring-client.js +8 -5
- package/module-projection-client.d.ts +2 -2
- package/module-projection-client.js +7 -2
- package/module-projection.d.ts +12 -5
- package/module-projection.js +31 -8
- package/module.d.ts +37 -12
- package/module.js +22 -7
- package/net/log.d.ts +0 -1
- package/net/log.js +0 -1
- package/net/phi-next-proxy.d.ts +25 -0
- package/net/phi-next-proxy.js +64 -3
- package/next/area-route.d.ts +24 -13
- package/next/area-route.js +30 -20
- package/next/areas/accounting-client.js +3 -2
- package/next/areas/admin-client.js +3 -2
- package/next/areas/app-client.js +3 -2
- package/next/areas/builder-client.js +3 -2
- package/next/areas/builder.js +1 -1
- package/next/areas/editor-client.js +3 -2
- package/next/areas/public-client.js +3 -2
- package/next/global-error.d.ts +33 -0
- package/next/global-error.js +80 -0
- package/next/overlay-zones.d.ts +15 -0
- package/next/overlay-zones.js +104 -0
- package/next/proxy-runtime.d.ts +16 -0
- package/next/proxy-runtime.js +89 -12
- package/next/root-route.d.ts +24 -5
- package/next/root-route.js +76 -26
- package/next/route-handlers.d.ts +23 -0
- package/next/route-handlers.js +22 -0
- package/next/runtime-module-client-boundary.d.ts +3 -1
- package/next/runtime-module-client-boundary.js +3 -2
- package/next/seo-routes.js +1 -2
- package/next/site-proxy.js +72 -15
- package/next/static-asset-path.d.ts +1 -0
- package/next/static-asset-path.js +23 -0
- package/package.json +50 -62
- package/plugins/registries/runtime-controllers.js +3 -5
- package/plugins/runtime/phi-effects-ready-trigger.d.ts +13 -0
- package/plugins/runtime/phi-effects-ready-trigger.js +48 -0
- package/plugins/runtime/phi-slot-child-frame-client.js +6 -6
- package/plugins/runtime/phi-slot-child-frame-view.js +19 -29
- package/plugins/runtime/slot-size-policy.d.ts +34 -3
- package/plugins/runtime/slot-size-policy.js +152 -17
- package/plugins/runtime-modules/accounting/definition.d.ts +0 -3
- package/plugins/runtime-modules/accounting/definition.js +0 -6
- package/plugins/runtime-modules/accounting/module.d.ts +15 -1
- package/plugins/runtime-modules/accounting/module.js +8 -3
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.js +45 -0
- package/plugins/runtime-modules/admin/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/admin/controller/address.js +1 -5
- package/plugins/runtime-modules/admin/forms.js +1 -6
- package/plugins/runtime-modules/admin/module.d.ts +1 -45
- package/plugins/runtime-modules/admin/module.js +2 -4
- package/plugins/runtime-modules/admin/presets.d.ts +1 -5
- package/plugins/runtime-modules/admin/presets.js +3 -6
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.js +18 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.js +180 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.js +81 -0
- package/plugins/runtime-modules/app/definition.d.ts +59 -3
- package/plugins/runtime-modules/app/definition.js +4 -6
- package/plugins/runtime-modules/app/forms.d.ts +82 -0
- package/plugins/runtime-modules/app/forms.js +341 -0
- package/plugins/runtime-modules/app/module.d.ts +74 -1
- package/plugins/runtime-modules/app/module.js +8 -3
- package/plugins/runtime-modules/app/server.js +2 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.d.ts +18 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.js +101 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.d.ts +22 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +175 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.d.ts +11 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.js +40 -0
- package/plugins/runtime-modules/area-base-presets.d.ts +31 -4
- package/plugins/runtime-modules/area-base-presets.js +108 -22
- package/plugins/runtime-modules/area-catalogs/accounting.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/accounting.js +3 -12
- package/plugins/runtime-modules/area-catalogs/admin.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/admin.js +3 -12
- package/plugins/runtime-modules/area-catalogs/app.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/app.js +3 -12
- package/plugins/runtime-modules/area-catalogs/area-catalog.d.ts +13 -0
- package/plugins/runtime-modules/area-catalogs/area-catalog.js +13 -0
- package/plugins/runtime-modules/area-catalogs/editor.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/editor.js +3 -12
- package/plugins/runtime-modules/area-catalogs/public.d.ts +1 -6
- package/plugins/runtime-modules/area-catalogs/public.js +3 -12
- package/plugins/runtime-modules/area-contributions/app.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/app.js +4 -0
- package/plugins/runtime-modules/area-contributions/editor.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/editor.js +2 -0
- package/plugins/runtime-modules/area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/public.js +4 -0
- package/plugins/runtime-modules/area-definitions.d.ts +184 -121
- package/plugins/runtime-modules/area-definitions.js +183 -43
- package/plugins/runtime-modules/area-module-defaults.d.ts +3 -0
- package/plugins/runtime-modules/area-module-defaults.js +59 -0
- package/plugins/runtime-modules/area-root-route.d.ts +1 -3
- package/plugins/runtime-modules/area-root-route.js +2 -4
- package/plugins/runtime-modules/asset/client-data-providers.js +2 -2
- package/plugins/runtime-modules/asset/client.js +1 -1
- package/plugins/runtime-modules/asset/controller/client.d.ts +124 -0
- package/plugins/runtime-modules/asset/controller/client.js +10 -0
- package/plugins/runtime-modules/asset/controller/definition.js +128 -0
- package/plugins/runtime-modules/asset/controller/mount.d.ts +4 -0
- package/plugins/runtime-modules/asset/controller/mount.js +6 -0
- package/plugins/runtime-modules/asset/controller/runtime.d.ts +1 -0
- package/plugins/runtime-modules/asset/controller/runtime.js +327 -0
- package/plugins/runtime-modules/asset/data-providers.d.ts +2 -1
- package/plugins/runtime-modules/asset/data-providers.js +4 -2
- package/plugins/runtime-modules/asset/definition.d.ts +8 -1
- package/plugins/runtime-modules/asset/definition.js +13 -5
- package/plugins/runtime-modules/asset/form-providers.js +11 -0
- package/plugins/runtime-modules/asset/form-ui-provider.js +13 -0
- package/plugins/runtime-modules/asset/ids.d.ts +2 -0
- package/plugins/runtime-modules/asset/ids.js +3 -1
- package/plugins/runtime-modules/asset/media-page-ids.d.ts +6 -0
- package/plugins/runtime-modules/asset/media-page-ids.js +36 -0
- package/plugins/runtime-modules/asset/metadata-form.d.ts +243 -0
- package/plugins/runtime-modules/asset/metadata-form.js +197 -0
- package/plugins/runtime-modules/asset/module.d.ts +1 -231
- package/plugins/runtime-modules/asset/module.js +3 -5
- package/plugins/runtime-modules/asset/presets.d.ts +2 -174
- package/plugins/runtime-modules/asset/presets.js +18 -43
- package/plugins/runtime-modules/asset/server.js +3 -4
- package/plugins/runtime-modules/asset/services/collection.js +162 -0
- package/plugins/runtime-modules/asset/services/options.js +69 -0
- package/plugins/runtime-modules/asset/settings-forms.d.ts +22 -0
- package/plugins/runtime-modules/asset/settings-forms.js +177 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +93 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +735 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +1 -9
- package/plugins/runtime-modules/asset/widgets/area-upload/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/area-upload/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/area-upload/server.js +13 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +1 -6
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.d.ts +6 -0
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/server.js +6 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/authoring.js +4 -4
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +1 -7
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +0 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/plugin.js +2 -3
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.d.ts +7 -0
- package/plugins/runtime-modules/asset/widgets/image-inspector/server.js +18 -0
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.d.ts +2 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/authoring.js +2 -4
- package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +2 -16
- package/plugins/runtime-modules/asset/widgets/media-picker/config.js +1 -2
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.d.ts +1 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/plugin.js +1 -2
- package/plugins/runtime-modules/auth/admin-settings-forms.d.ts +15 -0
- package/plugins/runtime-modules/auth/admin-settings-forms.js +394 -0
- package/plugins/runtime-modules/auth/client-data-providers.js +1 -1
- package/plugins/runtime-modules/auth/client.js +1 -1
- package/plugins/runtime-modules/auth/controller/address.d.ts +14 -0
- package/plugins/runtime-modules/auth/controller/address.js +17 -0
- package/plugins/runtime-modules/auth/controller/definition.d.ts +86 -0
- package/plugins/runtime-modules/auth/controller/definition.js +93 -0
- package/plugins/runtime-modules/auth/controller/server-definition.d.ts +83 -0
- package/plugins/runtime-modules/auth/controller/server-definition.js +55 -0
- package/plugins/runtime-modules/auth/controller-plugin.d.ts +1 -0
- package/plugins/runtime-modules/auth/controller-plugin.js +312 -0
- package/plugins/runtime-modules/auth/definition.d.ts +47 -16
- package/plugins/runtime-modules/auth/definition.js +16 -7
- package/plugins/runtime-modules/auth/features.js +2 -2
- package/plugins/runtime-modules/auth/form-provider-registry.d.ts +1 -0
- package/plugins/runtime-modules/auth/form-provider-registry.js +38 -0
- package/plugins/runtime-modules/auth/form-providers.d.ts +232 -0
- package/plugins/runtime-modules/auth/form-providers.js +42 -0
- package/plugins/runtime-modules/auth/form-ui-provider.js +7 -0
- package/plugins/runtime-modules/auth/forms.d.ts +3 -0
- package/plugins/runtime-modules/auth/forms.js +140 -0
- package/plugins/runtime-modules/auth/machine.d.ts +46 -0
- package/plugins/runtime-modules/auth/machine.js +98 -0
- package/plugins/runtime-modules/auth/module.js +1 -1
- package/plugins/runtime-modules/auth/overlay-ids.d.ts +23 -0
- package/plugins/runtime-modules/auth/overlay-ids.js +27 -0
- package/plugins/runtime-modules/auth/presets.d.ts +7 -68
- package/plugins/runtime-modules/auth/presets.js +66 -61
- package/plugins/runtime-modules/auth/server.js +3 -4
- package/plugins/runtime-modules/auth/services/installations-table.js +162 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +105 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.js +53 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +334 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/auth/trees/phi-default-app-security-page-tree.js +90 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.js +166 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.js +126 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.js +118 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.d.ts +5 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.js +151 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.d.ts +46 -0
- package/plugins/runtime-modules/auth/trees/phi-login-form-nodes.js +216 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.d.ts +8 -0
- package/plugins/runtime-modules/auth/trees/security-label-set.js +22 -0
- package/plugins/runtime-modules/auth/widgets/auth-methods/client.js +33 -24
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +48 -22
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +8 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +36 -5
- package/plugins/runtime-modules/auth/widgets/auth-workflow/plugin.js +8 -7
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.d.ts +15 -0
- package/plugins/runtime-modules/auth/widgets/auth-workflow/server.js +14 -0
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.js +9 -26
- package/plugins/runtime-modules/auth/widgets/logout/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/logout/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +6 -1
- package/plugins/runtime-modules/auth/widgets/security/client.js +60 -56
- package/plugins/runtime-modules/auth/widgets/security/config.d.ts +1 -0
- package/plugins/runtime-modules/auth/widgets/security/config.js +1 -0
- package/plugins/runtime-modules/auth/widgets/security/server.js +18 -1
- package/plugins/runtime-modules/avatar/addresses.js +19 -0
- package/plugins/runtime-modules/avatar/definition.d.ts +2 -2
- package/plugins/runtime-modules/avatar/definition.js +5 -2
- package/plugins/runtime-modules/avatar/labels.d.ts +25 -0
- package/plugins/runtime-modules/avatar/media-spaces.d.ts +9 -0
- package/plugins/runtime-modules/avatar/media-spaces.js +9 -0
- package/plugins/runtime-modules/avatar/module.d.ts +2 -2
- package/plugins/runtime-modules/avatar/overlay-tree.js +12 -0
- package/plugins/runtime-modules/avatar/overlay-tree.server.js +95 -0
- package/plugins/runtime-modules/avatar/presets.js +1 -1
- package/plugins/runtime-modules/avatar/server.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +5 -5
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar/server.js +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/authoring.js +2 -4
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/client.js +9 -8
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.d.ts +1 -1
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/config.js +1 -2
- package/plugins/runtime-modules/avatar/widgets/account-avatar-picker/server.js +1 -1
- package/plugins/runtime-modules/builder/addresses.d.ts +23 -0
- package/plugins/runtime-modules/builder/addresses.js +53 -0
- package/plugins/runtime-modules/builder/area-settings-form.d.ts +2 -0
- package/plugins/runtime-modules/builder/area-settings-form.js +137 -0
- package/plugins/runtime-modules/builder/area-settings-values.d.ts +26 -0
- package/plugins/runtime-modules/builder/area-settings-values.js +26 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +12 -10
- package/plugins/runtime-modules/builder/authoring-canvas.js +5 -0
- package/plugins/runtime-modules/builder/authoring-widgets.js +2 -3
- package/plugins/runtime-modules/builder/builder-geometry.d.ts +28 -0
- package/plugins/runtime-modules/builder/builder-geometry.js +38 -0
- package/plugins/runtime-modules/builder/client-data-providers.js +8 -0
- package/plugins/runtime-modules/builder/client.d.ts +0 -1
- package/plugins/runtime-modules/builder/client.js +0 -4
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +3 -4
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +101 -30
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.d.ts +30 -0
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +69 -0
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +4 -2
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +60 -49
- package/plugins/runtime-modules/builder/clients/inspector-signal-section.js +4 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +7 -3
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +34 -6
- package/plugins/runtime-modules/builder/clients/mode-switch.js +2 -2
- package/plugins/runtime-modules/builder/clients/pages-header.d.ts +0 -1
- package/plugins/runtime-modules/builder/clients/pages-header.js +24 -9
- package/plugins/runtime-modules/builder/clients/region-inspector.js +2 -2
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +14 -2
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +13 -1
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +8 -7
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +2 -2
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +7 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +24 -19
- package/plugins/runtime-modules/builder/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/builder/controller/definition.js +7 -0
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/builder/data-providers.d.ts +26 -1
- package/plugins/runtime-modules/builder/data-providers.js +23 -0
- package/plugins/runtime-modules/builder/definition.d.ts +26 -1
- package/plugins/runtime-modules/builder/demand-controller-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/demand-controller-store.js +0 -5
- package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +17 -1
- package/plugins/runtime-modules/builder/developer-workspace-store.js +34 -3
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +32 -2
- package/plugins/runtime-modules/builder/draft-command-controller.d.ts +6 -4
- package/plugins/runtime-modules/builder/draft-command-controller.js +69 -171
- package/plugins/runtime-modules/builder/draft-status-controller.d.ts +23 -0
- package/plugins/runtime-modules/builder/draft-status-controller.js +173 -0
- package/plugins/runtime-modules/builder/effects-form-values.d.ts +9 -0
- package/plugins/runtime-modules/builder/effects-form-values.js +14 -4
- package/plugins/runtime-modules/builder/history.d.ts +2 -0
- package/plugins/runtime-modules/builder/ids.d.ts +1 -0
- package/plugins/runtime-modules/builder/ids.js +5 -3
- package/plugins/runtime-modules/builder/inspector-actions.d.ts +3 -0
- package/plugins/runtime-modules/builder/inspector-actions.js +6 -5
- package/plugins/runtime-modules/builder/inspector-controller.js +24 -17
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +1 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.d.ts +2 -1
- package/plugins/runtime-modules/builder/inspector-section-widget.js +10 -2
- package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +4 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +2 -0
- package/plugins/runtime-modules/builder/module.d.ts +1 -609
- package/plugins/runtime-modules/builder/module.js +2 -4
- package/plugins/runtime-modules/builder/navigation-catalog.server.d.ts +2 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.js +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.d.ts +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.js +27 -10
- package/plugins/runtime-modules/builder/navigation-persistence.js +11 -1
- package/plugins/runtime-modules/builder/navigation-store.d.ts +0 -2
- package/plugins/runtime-modules/builder/navigation-store.js +0 -6
- package/plugins/runtime-modules/builder/node-kind-theme.d.ts +0 -4
- package/plugins/runtime-modules/builder/node-kind-theme.js +1 -14
- package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +12 -1
- package/plugins/runtime-modules/builder/offered-page-catalog.js +98 -3
- package/plugins/runtime-modules/builder/options-providers.d.ts +3 -19
- package/plugins/runtime-modules/builder/options-providers.js +116 -50
- package/plugins/runtime-modules/builder/page-controller-helpers.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller-helpers.js +0 -8
- package/plugins/runtime-modules/builder/page-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-controller.js +1 -2
- package/plugins/runtime-modules/builder/page-meta-form.js +139 -64
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +0 -1
- package/plugins/runtime-modules/builder/page-presets.server.js +45 -12
- package/plugins/runtime-modules/builder/page-reference-tree.d.ts +18 -0
- package/plugins/runtime-modules/builder/page-reference-tree.js +31 -0
- package/plugins/runtime-modules/builder/page-references-provider.d.ts +5 -0
- package/plugins/runtime-modules/builder/page-references-provider.js +14 -0
- package/plugins/runtime-modules/builder/pages-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/pages-workspace.js +5 -4
- package/plugins/runtime-modules/builder/persistence.d.ts +0 -1
- package/plugins/runtime-modules/builder/persistence.js +11 -28
- package/plugins/runtime-modules/builder/plugin-meta-labels.d.ts +16 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.js +57 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.js +65 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.d.ts +4 -0
- package/plugins/runtime-modules/builder/plugin-meta-store.js +8 -1
- package/plugins/runtime-modules/builder/plugin-metas.d.ts +1 -2
- package/plugins/runtime-modules/builder/plugin-metas.js +3 -14
- package/plugins/runtime-modules/builder/presets.d.ts +4 -2
- package/plugins/runtime-modules/builder/presets.js +3 -4
- package/plugins/runtime-modules/builder/preview-controller.d.ts +1 -2
- package/plugins/runtime-modules/builder/preview-controller.js +2 -70
- package/plugins/runtime-modules/builder/preview-store.d.ts +0 -1
- package/plugins/runtime-modules/builder/preview-store.js +1 -4
- package/plugins/runtime-modules/builder/preview-transport.js +4 -6
- package/plugins/runtime-modules/builder/region-controller.d.ts +0 -1
- package/plugins/runtime-modules/builder/region-controller.js +0 -6
- package/plugins/runtime-modules/builder/region-hydration.d.ts +5 -13
- package/plugins/runtime-modules/builder/region-hydration.js +0 -20
- package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +1 -3
- package/plugins/runtime-modules/builder/render-root-node-preview.server.js +8 -56
- package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +2 -2
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +137 -47
- package/plugins/runtime-modules/builder/root-node-normalization.d.ts +6 -1
- package/plugins/runtime-modules/builder/root-node-normalization.js +22 -6
- package/plugins/runtime-modules/builder/runtime-module-sandbox.server.d.ts +1 -1
- package/plugins/runtime-modules/builder/selected-collection-source.d.ts +22 -0
- package/plugins/runtime-modules/builder/selected-collection-source.js +51 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +7 -0
- package/plugins/runtime-modules/builder/sequential-slot-helpers.js +4 -0
- package/plugins/runtime-modules/builder/server.js +8 -2
- package/plugins/runtime-modules/builder/services/navigation-table.js +11 -3
- package/plugins/runtime-modules/builder/services/page-source-tree.js +8 -2
- package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +15 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +92 -24
- package/plugins/runtime-modules/builder/services/signal-routes-table.js +3 -1
- package/plugins/runtime-modules/builder/shells-workspace.d.ts +2 -1
- package/plugins/runtime-modules/builder/shells-workspace.js +5 -4
- package/plugins/runtime-modules/builder/signal-wiring-controller.js +18 -2
- package/plugins/runtime-modules/builder/signal-wiring-form.js +15 -6
- package/plugins/runtime-modules/builder/signal-wiring-options.js +38 -10
- package/plugins/runtime-modules/builder/structure-region-pick-items.js +14 -2
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.d.ts +35 -0
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.js +68 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.d.ts +17 -0
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.js +34 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.d.ts +7 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.js +12 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.d.ts +20 -0
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +569 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.d.ts +132 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +2052 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.d.ts +12 -0
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.js +55 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.d.ts +16 -0
- package/plugins/runtime-modules/builder/use-offered-page-catalog.js +35 -0
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +0 -1
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +2 -5
- package/plugins/runtime-modules/builder/widgets/hello-world/client.js +2 -10
- package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +3 -3
- package/plugins/runtime-modules/builder/widgets/hello-world/config.js +1 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.d.ts +0 -2
- package/plugins/runtime-modules/builder/widgets/hello-world/plugin.js +0 -2
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.d.ts +3 -1
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +112 -89
- package/plugins/runtime-modules/builder/widgets/structure-region/config.d.ts +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/config.js +3 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.d.ts +22 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/internal-builder.js +8 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +12 -8
- package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +3 -2
- package/plugins/runtime-modules/builder/widgets/test-block/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.d.ts +1 -0
- package/plugins/runtime-modules/builder/widgets/workspace-headers/config.js +1 -0
- package/plugins/runtime-modules/builder/widgets.js +1 -8
- package/plugins/runtime-modules/builder/workspace-controller.d.ts +1 -1
- package/plugins/runtime-modules/builder/workspace-controller.js +206 -199
- package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/accounting.js +0 -7
- package/plugins/runtime-modules/client-area-contributions/app.js +4 -4
- package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/public.js +0 -6
- package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/app.js +12 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/editor.js +6 -0
- package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/public.js +12 -0
- package/plugins/runtime-modules/client-calendar-adapters/core.js +1 -1
- package/plugins/runtime-modules/client-manifests/accounting.d.ts +2 -1
- package/plugins/runtime-modules/client-manifests/accounting.js +5 -1
- package/plugins/runtime-modules/client-manifests/admin.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/admin.js +4 -9
- package/plugins/runtime-modules/client-manifests/app.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/app.js +12 -3
- package/plugins/runtime-modules/client-manifests/builder.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/builder.js +3 -4
- package/plugins/runtime-modules/client-manifests/common.d.ts +7 -0
- package/plugins/runtime-modules/client-manifests/common.js +59 -31
- package/plugins/runtime-modules/client-manifests/editor.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/editor.js +8 -1
- package/plugins/runtime-modules/client-manifests/news-render-clients.d.ts +2 -0
- package/plugins/runtime-modules/client-manifests/news-render-clients.js +10 -0
- package/plugins/runtime-modules/client-manifests/public.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/public.js +3 -0
- package/plugins/runtime-modules/contracts.js +89 -27
- package/plugins/runtime-modules/core/authoring-widgets.js +6 -14
- package/plugins/runtime-modules/core/cards.d.ts +3 -0
- package/plugins/runtime-modules/core/cards.js +83 -0
- package/plugins/runtime-modules/core/client-data-providers.js +11 -3
- package/plugins/runtime-modules/core/data-providers.js +10 -1
- package/plugins/runtime-modules/core/definition.d.ts +223 -181
- package/plugins/runtime-modules/core/definition.js +1 -1
- package/plugins/runtime-modules/core/form-providers.d.ts +417 -0
- package/plugins/runtime-modules/core/form-providers.js +13 -0
- package/plugins/runtime-modules/core/ids.d.ts +0 -4
- package/plugins/runtime-modules/core/ids.js +0 -5
- package/plugins/runtime-modules/core/module.d.ts +1 -508
- package/plugins/runtime-modules/core/module.js +2 -4
- package/plugins/runtime-modules/core/server.js +3 -0
- package/plugins/runtime-modules/core/services/table.js +13 -0
- package/plugins/runtime-modules/core/widgets/account/client.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/account/client.js +62 -38
- package/plugins/runtime-modules/core/widgets/account/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/account/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/plugin.js +9 -4
- package/plugins/runtime-modules/core/widgets/account/server.d.ts +9 -5
- package/plugins/runtime-modules/core/widgets/account/server.js +89 -49
- package/plugins/runtime-modules/core/widgets/brand/authoring.js +65 -5
- package/plugins/runtime-modules/core/widgets/brand/client.d.ts +8 -4
- package/plugins/runtime-modules/core/widgets/brand/client.js +35 -8
- package/plugins/runtime-modules/core/widgets/brand/config.d.ts +13 -15
- package/plugins/runtime-modules/core/widgets/brand/config.js +24 -9
- package/plugins/runtime-modules/core/widgets/brand/mode.d.ts +23 -0
- package/plugins/runtime-modules/core/widgets/brand/mode.js +7 -0
- package/plugins/runtime-modules/core/widgets/brand/plugin.js +12 -2
- package/plugins/runtime-modules/core/widgets/brand/server.d.ts +3 -6
- package/plugins/runtime-modules/core/widgets/brand/server.js +2 -6
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/button/client.d.ts +14 -1
- package/plugins/runtime-modules/core/widgets/button/client.js +15 -5
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +61 -7
- package/plugins/runtime-modules/core/widgets/button/config.js +29 -20
- package/plugins/runtime-modules/core/widgets/button/plugin.js +34 -4
- package/plugins/runtime-modules/core/widgets/card/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.js +104 -0
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +16 -1
- package/plugins/runtime-modules/core/widgets/card/config.js +16 -2
- package/plugins/runtime-modules/core/widgets/card/editor.d.ts +11 -0
- package/plugins/runtime-modules/core/widgets/card/editor.js +48 -0
- package/plugins/runtime-modules/core/widgets/card/plugin.js +3 -1
- package/plugins/runtime-modules/core/widgets/card/server.d.ts +4 -5
- package/plugins/runtime-modules/core/widgets/card/server.js +11 -2
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +9 -9
- package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/cascader/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/checkbox/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +253 -0
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/collection-view/client.js +55 -0
- package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +94 -88
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +47 -38
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/collection-view/image-preview-grid.js +16 -0
- package/plugins/runtime-modules/core/widgets/collection-view/plugin.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/color/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/color/client.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/color/client.js +18 -0
- package/plugins/runtime-modules/core/widgets/color/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/color/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.js +45 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +14 -22
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +11 -7
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/date-picker/config.js +2 -3
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/description/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/description/client.d.ts +5 -2
- package/plugins/runtime-modules/core/widgets/description/client.js +10 -9
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +25 -0
- package/plugins/runtime-modules/core/widgets/description/config.js +5 -0
- package/plugins/runtime-modules/core/widgets/description/editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/description/editor.js +129 -0
- package/plugins/runtime-modules/core/widgets/description/plugin.js +4 -2
- package/plugins/runtime-modules/core/widgets/description/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/description/server.js +36 -12
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/dimension/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/authoring.js +9 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.d.ts +21 -0
- package/plugins/runtime-modules/core/widgets/draft-status/client.js +118 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/draft-status/config.js +37 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/draft-status/plugin.js +23 -0
- package/plugins/runtime-modules/core/widgets/form/authoring.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +70 -62
- package/plugins/runtime-modules/core/widgets/form/config.js +65 -67
- package/plugins/runtime-modules/core/widgets/form/plugin.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form/plugin.js +2 -2
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form-preview/built-in.js +1 -0
- package/plugins/runtime-modules/core/widgets/form-preview/client.js +12 -9
- package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/form-preview/config.js +3 -4
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/form-preview/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +13 -1
- package/plugins/runtime-modules/core/widgets/gallery/config.js +10 -7
- package/plugins/runtime-modules/core/widgets/gallery/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/gallery/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/authoring.js +4 -3
- package/plugins/runtime-modules/core/widgets/header-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +2 -5
- package/plugins/runtime-modules/core/widgets/header-navigation/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/header-navigation/plugin.js +3 -2
- package/plugins/runtime-modules/core/widgets/html/config.d.ts +1 -7
- package/plugins/runtime-modules/core/widgets/html/config.js +12 -35
- package/plugins/runtime-modules/core/widgets/html/server.js +16 -20
- package/plugins/runtime-modules/core/widgets/icon/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/icon/client.d.ts +9 -2
- package/plugins/runtime-modules/core/widgets/icon/client.js +5 -3
- package/plugins/runtime-modules/core/widgets/icon/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/icon/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/icon/editor.js +12 -0
- package/plugins/runtime-modules/core/widgets/image/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/image/client.js +9 -6
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +10 -24
- package/plugins/runtime-modules/core/widgets/image/config.js +13 -15
- package/plugins/runtime-modules/core/widgets/image/editor.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/image/editor.js +100 -0
- package/plugins/runtime-modules/core/widgets/input/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/input/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/input/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/length/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/locale/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/locale/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/locale/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown/authoring.js +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +6 -9
- package/plugins/runtime-modules/core/widgets/markdown/config.js +29 -5
- package/plugins/runtime-modules/core/widgets/markdown/editor.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/markdown/editor.js +104 -0
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +1 -0
- package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +1 -19
- package/plugins/runtime-modules/core/widgets/markdown/server.js +1 -486
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +4 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +1 -6
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/markdown-toc/server.js +4 -2
- package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/multi-select/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/number-input/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/number-input/config.js +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/number-input/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/otp/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/otp/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/otp/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/otp/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/page-title/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/page-title/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/page-title/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/pagination/client.js +3 -2
- package/plugins/runtime-modules/core/widgets/quick-links/authoring.js +3 -3
- package/plugins/runtime-modules/core/widgets/quick-links/client.js +5 -5
- package/plugins/runtime-modules/core/widgets/quick-links/config.js +2 -2
- package/plugins/runtime-modules/core/widgets/quick-links/items.d.ts +5 -0
- package/plugins/runtime-modules/core/widgets/quick-links/items.js +27 -0
- package/plugins/runtime-modules/core/widgets/quick-links/server.js +1 -1
- package/plugins/runtime-modules/core/widgets/rate/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/rate/config.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/rate/config.js +0 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/rate/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/record/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/record/client.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/client.js +136 -0
- package/plugins/runtime-modules/core/widgets/record/config.d.ts +186 -0
- package/plugins/runtime-modules/core/widgets/record/config.js +214 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/record/plugin.js +19 -0
- package/plugins/runtime-modules/core/widgets/record/server.d.ts +7 -0
- package/plugins/runtime-modules/core/widgets/record/server.js +6 -0
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +36 -7
- package/plugins/runtime-modules/core/widgets/result/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/result/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/result/plugin.js +5 -4
- package/plugins/runtime-modules/core/widgets/result/server.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/result/server.js +4 -4
- package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +19 -24
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +15 -20
- package/plugins/runtime-modules/core/widgets/simple-text/authoring.js +2 -2
- package/plugins/runtime-modules/core/widgets/simple-text/client.d.ts +4 -6
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +15 -32
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +252 -11
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +28 -68
- package/plugins/runtime-modules/core/widgets/simple-text/editor.d.ts +32 -0
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +143 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.d.ts +4 -0
- package/plugins/runtime-modules/core/widgets/simple-text/marks.js +8 -0
- package/plugins/runtime-modules/core/widgets/simple-text/server.js +13 -3
- package/plugins/runtime-modules/core/widgets/slider/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/slider/config.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/slider/config.js +1 -5
- package/plugins/runtime-modules/core/widgets/slider/plugin.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/slider/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/value.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slider/value.js +7 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/client.js +12 -7
- package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/slot-upload/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/spacer/authoring.d.ts +1 -3
- package/plugins/runtime-modules/core/widgets/spacer/authoring.js +1 -2
- package/plugins/runtime-modules/core/widgets/spacer/client.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/spacer/config.d.ts +4 -3
- package/plugins/runtime-modules/core/widgets/spacer/config.js +2 -4
- package/plugins/runtime-modules/core/widgets/spacer/plugin.d.ts +2 -3
- package/plugins/runtime-modules/core/widgets/spacer/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/switch/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/switch/config.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/switch/config.js +14 -7
- package/plugins/runtime-modules/core/widgets/table/client.js +103 -88
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +120 -12
- package/plugins/runtime-modules/core/widgets/table/config.js +62 -74
- package/plugins/runtime-modules/core/widgets/table/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/table/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/table/static-resource-editor.js +10 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.js +12 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.d.ts +20 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.js +37 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.d.ts +43 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.js +39 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.js +18 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +2 -2
- package/plugins/runtime-modules/core/widgets/tree/config.d.ts +9 -1
- package/plugins/runtime-modules/core/widgets/tree/config.js +24 -28
- package/plugins/runtime-modules/core/widgets/tree/plugin.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/tree/plugin.js +1 -2
- package/plugins/runtime-modules/core/widgets.js +23 -55
- package/plugins/runtime-modules/dashboard/client-data-providers.d.ts +19 -0
- package/plugins/runtime-modules/dashboard/client-data-providers.js +26 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.js +128 -0
- package/plugins/runtime-modules/dashboard/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/dashboard/controller/address.js +1 -5
- package/plugins/runtime-modules/dashboard/data-providers.d.ts +30 -0
- package/plugins/runtime-modules/dashboard/data-providers.js +34 -0
- package/plugins/runtime-modules/dashboard/definition.d.ts +24 -0
- package/plugins/runtime-modules/dashboard/definition.js +11 -1
- package/plugins/runtime-modules/dashboard/ids.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/ids.js +6 -0
- package/plugins/runtime-modules/dashboard/module.d.ts +1 -28
- package/plugins/runtime-modules/dashboard/module.js +2 -4
- package/plugins/runtime-modules/dashboard/presets.js +35 -55
- package/plugins/runtime-modules/dashboard/services/collection.d.ts +4 -0
- package/plugins/runtime-modules/dashboard/services/collection.js +76 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.d.ts +7 -0
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.js +26 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.js +38 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.js +87 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.js +103 -0
- package/plugins/runtime-modules/descriptor-compiler.d.ts +14 -3
- package/plugins/runtime-modules/descriptor-compiler.js +144 -37
- package/plugins/runtime-modules/editor/controller/address.d.ts +0 -2
- package/plugins/runtime-modules/editor/controller/address.js +1 -5
- package/plugins/runtime-modules/editor/module.d.ts +1 -28
- package/plugins/runtime-modules/editor/module.js +2 -4
- package/plugins/runtime-modules/editor/presets.js +2 -12
- package/plugins/runtime-modules/editor/trees/editor-label-set.d.ts +8 -0
- package/plugins/runtime-modules/editor/trees/editor-label-set.js +22 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.d.ts +6 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.js +213 -0
- package/plugins/runtime-modules/form-builder/module.d.ts +1 -28
- package/plugins/runtime-modules/form-builder/module.js +2 -4
- package/plugins/runtime-modules/groups/controller/client.d.ts +2 -2
- package/plugins/runtime-modules/groups/controller/client.js +30 -64
- package/plugins/runtime-modules/groups/controller/definition.d.ts +13 -2
- package/plugins/runtime-modules/groups/controller/definition.js +11 -3
- package/plugins/runtime-modules/groups/data-providers.d.ts +2 -0
- package/plugins/runtime-modules/groups/data-providers.js +64 -12
- package/plugins/runtime-modules/groups/definition.d.ts +3 -0
- package/plugins/runtime-modules/groups/definition.js +9 -0
- package/plugins/runtime-modules/groups/forms.d.ts +0 -1
- package/plugins/runtime-modules/groups/forms.js +0 -47
- package/plugins/runtime-modules/groups/labels.d.ts +4 -1
- package/plugins/runtime-modules/groups/labels.js +8 -2
- package/plugins/runtime-modules/groups/module.d.ts +1 -335
- package/plugins/runtime-modules/groups/module.js +2 -4
- package/plugins/runtime-modules/groups/presets.d.ts +2 -56
- package/plugins/runtime-modules/groups/presets.js +17 -35
- package/plugins/runtime-modules/groups/services/options.js +5 -4
- package/plugins/runtime-modules/groups/services/table.js +42 -33
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.d.ts +13 -0
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +485 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +384 -0
- package/plugins/runtime-modules/localization/cards.d.ts +3 -0
- package/plugins/runtime-modules/localization/cards.js +109 -0
- package/plugins/runtime-modules/localization/controller/client.js +4 -3
- package/plugins/runtime-modules/localization/definition.d.ts +0 -5
- package/plugins/runtime-modules/localization/definition.js +0 -2
- package/plugins/runtime-modules/localization/forms.js +2 -15
- package/plugins/runtime-modules/localization/module.d.ts +1 -372
- package/plugins/runtime-modules/localization/module.js +2 -4
- package/plugins/runtime-modules/localization/presets.d.ts +2 -25
- package/plugins/runtime-modules/localization/presets.js +30 -17
- package/plugins/runtime-modules/localization/server.js +4 -0
- package/plugins/runtime-modules/localization/services/table.js +22 -30
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.d.ts +8 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.js +22 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-shell.js +51 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.d.ts +56 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.js +100 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.d.ts +7 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +251 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +325 -0
- package/plugins/runtime-modules/news/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/authoring-widgets.js +7 -0
- package/plugins/runtime-modules/news/authoring.d.ts +1 -0
- package/plugins/runtime-modules/news/authoring.js +8 -0
- package/plugins/runtime-modules/news/client-data-providers.d.ts +11 -0
- package/plugins/runtime-modules/news/client-data-providers.js +14 -0
- package/plugins/runtime-modules/news/data-providers.d.ts +133 -0
- package/plugins/runtime-modules/news/data-providers.js +112 -0
- package/plugins/runtime-modules/news/definition.d.ts +165 -0
- package/plugins/runtime-modules/news/definition.js +32 -0
- package/plugins/runtime-modules/news/forms.d.ts +39 -0
- package/plugins/runtime-modules/news/forms.js +204 -0
- package/plugins/runtime-modules/news/ids.d.ts +42 -0
- package/plugins/runtime-modules/news/ids.js +125 -0
- package/plugins/runtime-modules/news/module.d.ts +157 -0
- package/plugins/runtime-modules/news/module.js +12 -0
- package/plugins/runtime-modules/news/presets.d.ts +17 -0
- package/plugins/runtime-modules/news/presets.js +64 -0
- package/plugins/runtime-modules/news/server.d.ts +1 -0
- package/plugins/runtime-modules/news/server.js +18 -0
- package/plugins/runtime-modules/news/services/options.d.ts +3 -0
- package/plugins/runtime-modules/news/services/options.js +35 -0
- package/plugins/runtime-modules/news/services/table.d.ts +14 -0
- package/plugins/runtime-modules/news/services/table.js +144 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.d.ts +8 -0
- package/plugins/runtime-modules/news/trees/editor-news-label-set.js +29 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.d.ts +65 -0
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.js +106 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.js +462 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.d.ts +11 -0
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.js +86 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets/news-list/authoring.js +21 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.d.ts +34 -0
- package/plugins/runtime-modules/news/widgets/news-list/client.js +26 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.d.ts +43 -0
- package/plugins/runtime-modules/news/widgets/news-list/config.js +52 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.d.ts +3 -0
- package/plugins/runtime-modules/news/widgets/news-list/plugin.js +8 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.d.ts +14 -0
- package/plugins/runtime-modules/news/widgets/news-list/server.js +82 -0
- package/plugins/runtime-modules/news/widgets.d.ts +2 -0
- package/plugins/runtime-modules/news/widgets.js +16 -0
- package/plugins/runtime-modules/observability/authoring-widgets.d.ts +9 -0
- package/plugins/runtime-modules/observability/authoring-widgets.js +11 -6
- package/plugins/runtime-modules/observability/definition.d.ts +0 -5
- package/plugins/runtime-modules/observability/definition.js +0 -2
- package/plugins/runtime-modules/observability/module.d.ts +0 -5
- package/plugins/runtime-modules/observability/presets.d.ts +2 -30
- package/plugins/runtime-modules/observability/presets.js +10 -19
- package/plugins/runtime-modules/observability/server.js +1 -2
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.d.ts +8 -0
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.js +22 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +313 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.d.ts +11 -0
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +633 -0
- package/plugins/runtime-modules/pub-area-preset.d.ts +2 -0
- package/plugins/runtime-modules/pub-area-preset.js +130 -0
- package/plugins/runtime-modules/public/definition.d.ts +14 -3
- package/plugins/runtime-modules/public/definition.js +1 -7
- package/plugins/runtime-modules/public/form-providers.d.ts +29 -0
- package/plugins/runtime-modules/public/form-providers.js +11 -0
- package/plugins/runtime-modules/public/forms.d.ts +3 -0
- package/plugins/runtime-modules/public/forms.js +38 -0
- package/plugins/runtime-modules/public/module.d.ts +46 -1
- package/plugins/runtime-modules/public/module.js +8 -3
- package/plugins/runtime-modules/public/server.js +1 -1
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.js +103 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +105 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.d.ts +10 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.js +79 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.d.ts +4 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.js +82 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.d.ts +16 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.js +110 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.d.ts +15 -0
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.js +194 -0
- package/plugins/runtime-modules/public-base-page-references.d.ts +32 -0
- package/plugins/runtime-modules/public-base-page-references.js +43 -0
- package/plugins/runtime-modules/resolver.js +35 -60
- package/plugins/runtime-modules/revisions/controller/client.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/client.js +92 -10
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/revisions/controller/definition.js +17 -0
- package/plugins/runtime-modules/revisions/forms.d.ts +4 -0
- package/plugins/runtime-modules/revisions/forms.js +70 -0
- package/plugins/runtime-modules/revisions/module.d.ts +1 -149
- package/plugins/runtime-modules/revisions/module.js +2 -4
- package/plugins/runtime-modules/revisions/page-ids.d.ts +9 -0
- package/plugins/runtime-modules/revisions/page-ids.js +28 -0
- package/plugins/runtime-modules/revisions/presets.d.ts +2 -141
- package/plugins/runtime-modules/revisions/presets.js +11 -24
- package/plugins/runtime-modules/revisions/server.js +2 -0
- package/plugins/runtime-modules/revisions/services/table.js +13 -15
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.d.ts +14 -0
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +506 -0
- package/plugins/runtime-modules/runtime-calendar-adapters.js +1 -1
- package/plugins/runtime-modules/settings.d.ts +28 -4
- package/plugins/runtime-modules/settings.js +60 -5
- package/plugins/runtime-modules/shell-tree-composition.d.ts +3 -0
- package/plugins/runtime-modules/sidebar-route.d.ts +55 -0
- package/plugins/runtime-modules/sidebar-route.js +56 -0
- package/plugins/runtime-modules/site-module-client-manifests.d.ts +2 -0
- package/plugins/runtime-modules/site-module-client-manifests.js +2 -0
- package/plugins/runtime-modules/site-module-placements.d.ts +26 -0
- package/plugins/runtime-modules/site-module-placements.js +33 -0
- package/plugins/runtime-modules/site-modules-client.d.ts +2 -0
- package/plugins/runtime-modules/theme/block-descriptors.d.ts +12 -23
- package/plugins/runtime-modules/theme/block-descriptors.js +12 -27
- package/plugins/runtime-modules/theme/controller/client.d.ts +7 -1
- package/plugins/runtime-modules/theme/controller/definition.d.ts +6 -0
- package/plugins/runtime-modules/theme/controller/definition.js +7 -0
- package/plugins/runtime-modules/theme/controller/server-definition.d.ts +7 -1
- package/plugins/runtime-modules/theme/materialize-images.d.ts +11 -5
- package/plugins/runtime-modules/theme/materialize-images.js +16 -8
- package/plugins/runtime-modules/theme/module.d.ts +1 -79
- package/plugins/runtime-modules/theme/module.js +2 -4
- package/plugins/runtime-modules/theme/page-ids.d.ts +3 -0
- package/plugins/runtime-modules/theme/page-ids.js +36 -0
- package/plugins/runtime-modules/theme/presets.d.ts +2 -141
- package/plugins/runtime-modules/theme/presets.js +11 -24
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.d.ts +17 -0
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.js +614 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +25 -25
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +311 -117
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +2 -2
- package/plugins/runtime-modules/theme-descriptors.d.ts +68 -0
- package/plugins/runtime-modules/theme-descriptors.js +34 -0
- package/plugins/runtime-modules/threads/addresses.d.ts +15 -0
- package/plugins/runtime-modules/threads/addresses.js +32 -0
- package/plugins/runtime-modules/threads/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/threads/authoring.d.ts +1 -0
- package/plugins/runtime-modules/threads/authoring.js +8 -0
- package/plugins/runtime-modules/threads/cards.d.ts +3 -0
- package/plugins/runtime-modules/threads/cards.js +87 -0
- package/plugins/runtime-modules/threads/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/threads/client-data-providers.js +14 -0
- package/plugins/runtime-modules/threads/client.d.ts +1 -0
- package/plugins/runtime-modules/threads/client.js +7 -0
- package/plugins/runtime-modules/threads/controller/address.d.ts +5 -0
- package/plugins/runtime-modules/threads/controller/address.js +8 -0
- package/plugins/runtime-modules/threads/controller/client.d.ts +85 -0
- package/plugins/runtime-modules/threads/controller/client.js +231 -0
- package/plugins/runtime-modules/threads/controller/definition.d.ts +111 -0
- package/plugins/runtime-modules/threads/controller/definition.js +141 -0
- package/plugins/runtime-modules/threads/data-providers.d.ts +105 -0
- package/plugins/runtime-modules/threads/data-providers.js +116 -0
- package/plugins/runtime-modules/threads/definition.d.ts +150 -0
- package/plugins/runtime-modules/threads/definition.js +54 -0
- package/plugins/runtime-modules/threads/forms.d.ts +38 -0
- package/plugins/runtime-modules/threads/forms.js +267 -0
- package/plugins/runtime-modules/threads/ids.d.ts +10 -0
- package/plugins/runtime-modules/threads/ids.js +15 -0
- package/plugins/runtime-modules/threads/media-spaces.d.ts +14 -0
- package/plugins/runtime-modules/threads/media-spaces.js +22 -0
- package/plugins/runtime-modules/threads/module.d.ts +1 -0
- package/plugins/runtime-modules/threads/module.js +4 -0
- package/plugins/runtime-modules/threads/presets.d.ts +2 -0
- package/plugins/runtime-modules/threads/presets.js +18 -0
- package/plugins/runtime-modules/threads/server.d.ts +1 -0
- package/plugins/runtime-modules/threads/server.js +24 -0
- package/plugins/runtime-modules/threads/services/options.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/options.js +48 -0
- package/plugins/runtime-modules/threads/services/table.d.ts +3 -0
- package/plugins/runtime-modules/threads/services/table.js +130 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.d.ts +23 -0
- package/plugins/runtime-modules/threads/trees/phi-default-app-threads-page-tree.js +775 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/authoring.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/client.js +445 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.d.ts +46 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/config.js +59 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.d.ts +3 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/plugin.js +9 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.d.ts +7 -0
- package/plugins/runtime-modules/threads/widgets/thread-conversation/server.js +24 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.d.ts +42 -0
- package/plugins/runtime-modules/threads/widgets/thread-widget-config.js +51 -0
- package/plugins/runtime-modules/threads/widgets.d.ts +2 -0
- package/plugins/runtime-modules/threads/widgets.js +14 -0
- package/plugins/runtime-modules/user-management/cards.d.ts +3 -0
- package/plugins/runtime-modules/user-management/cards.js +73 -0
- package/plugins/runtime-modules/user-management/controller/client.js +1 -1
- package/plugins/runtime-modules/user-management/definition.d.ts +0 -5
- package/plugins/runtime-modules/user-management/definition.js +0 -2
- package/plugins/runtime-modules/user-management/forms.js +0 -12
- package/plugins/runtime-modules/user-management/module.d.ts +1 -257
- package/plugins/runtime-modules/user-management/module.js +2 -4
- package/plugins/runtime-modules/user-management/presets.d.ts +2 -30
- package/plugins/runtime-modules/user-management/presets.js +10 -19
- package/plugins/runtime-modules/user-management/server.js +4 -0
- package/plugins/runtime-modules/user-management/services/table.js +9 -16
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.d.ts +8 -0
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.js +22 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.d.ts +6 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +558 -0
- package/plugins/runtime-modules/video/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/authoring-widgets.js +6 -0
- package/plugins/runtime-modules/video/authoring.d.ts +1 -0
- package/plugins/runtime-modules/video/authoring.js +8 -0
- package/plugins/runtime-modules/video/definition.d.ts +25 -0
- package/plugins/runtime-modules/video/definition.js +28 -0
- package/plugins/runtime-modules/video/ids.d.ts +9 -0
- package/plugins/runtime-modules/video/ids.js +11 -0
- package/plugins/runtime-modules/video/module.d.ts +11 -0
- package/plugins/runtime-modules/video/module.js +4 -0
- package/plugins/runtime-modules/video/providers.d.ts +21 -0
- package/plugins/runtime-modules/video/providers.js +62 -0
- package/plugins/runtime-modules/video/server.d.ts +1 -0
- package/plugins/runtime-modules/video/server.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/aspect-ratio.js +15 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets/embed/authoring.js +51 -0
- package/plugins/runtime-modules/video/widgets/embed/client.d.ts +22 -0
- package/plugins/runtime-modules/video/widgets/embed/client.js +28 -0
- package/plugins/runtime-modules/video/widgets/embed/config.d.ts +101 -0
- package/plugins/runtime-modules/video/widgets/embed/config.js +100 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.d.ts +3 -0
- package/plugins/runtime-modules/video/widgets/embed/plugin.js +9 -0
- package/plugins/runtime-modules/video/widgets/embed/server.d.ts +14 -0
- package/plugins/runtime-modules/video/widgets/embed/server.js +54 -0
- package/plugins/runtime-modules/video/widgets.d.ts +2 -0
- package/plugins/runtime-modules/video/widgets.js +14 -0
- package/references.d.ts +3 -1
- package/references.js +3 -1
- package/runtime-authoring-client.d.ts +1 -1
- package/runtime-authoring-client.js +1 -1
- package/runtime-controller-client.d.ts +3 -0
- package/runtime-controller-client.js +15 -0
- package/runtime-data-provider-client.d.ts +1 -1
- package/runtime-data-provider-client.js +1 -1
- package/runtime-render-client.d.ts +1 -0
- package/runtime-render-client.js +1 -0
- package/runtime-user-state-client.d.ts +2 -0
- package/runtime-user-state-client.js +2 -0
- package/server-helpers/area-root-door-warmup.d.ts +35 -0
- package/server-helpers/area-root-door-warmup.js +71 -0
- package/server-helpers/area-root-route.js +0 -1
- package/server-helpers/auth-ui-provider.d.ts +2 -0
- package/server-helpers/auth-ui-provider.js +28 -0
- package/server-helpers/cms-link-targets.d.ts +16 -0
- package/server-helpers/cms-link-targets.js +48 -0
- package/server-helpers/cms-request.d.ts +11 -5
- package/server-helpers/cms-request.js +31 -17
- package/server-helpers/cms-review.d.ts +1 -1
- package/server-helpers/cms-root.d.ts +11 -4
- package/server-helpers/cms-root.js +39 -7
- package/server-helpers/cms-route.js +2 -4
- package/server-helpers/public-login-route.d.ts +1 -2
- package/server-helpers/public-login-route.js +18 -6
- package/server-helpers/request-runtime.d.ts +32 -0
- package/server-helpers/request-runtime.js +34 -1
- package/server-helpers/runtime.d.ts +1 -165
- package/server-helpers/runtime.js +42 -22
- package/server-helpers/site-locale.d.ts +8 -0
- package/server-helpers/site-locale.js +18 -32
- package/server-helpers/translate.js +13 -33
- package/server-helpers.d.ts +5 -0
- package/server-helpers.js +11 -0
- package/styles/builder-scaffold.css +1 -1
- package/styles/control-shape.css +77 -3
- package/styles/controls.css +535 -0
- package/styles/layout-authoring-scaffold.css +54 -7
- package/styles/layout.css +87 -17
- package/styles/root.css +27 -2
- package/styles/shell.css +10 -0
- package/theme/antd-css-var-contract.d.ts +2 -3
- package/theme/antd-css-var-contract.js +2 -3
- package/theme/phi-container-breakpoints.d.ts +35 -2
- package/theme/phi-container-breakpoints.js +32 -0
- package/theme/phi-control-shape.d.ts +54 -4
- package/theme/phi-control-shape.js +170 -10
- package/theme/phi-published-root-style.d.ts +1 -1
- package/theme/phi-root-background.server.d.ts +1 -1
- package/theme/phi-server-tokens.d.ts +9 -37
- package/theme/phi-server-tokens.js +7 -1
- package/theme/phi-theme-adoption.d.ts +2 -1
- package/theme/phi-theme-adoption.js +4 -1
- package/theme/phi-theme-blocks.d.ts +19 -0
- package/theme/phi-theme-blocks.js +16 -6
- package/theme/phi-theme-composition.d.ts +3 -3
- package/theme/phi-theme-composition.js +2 -2
- package/theme/phi-theme-ground-image.d.ts +12 -12
- package/theme/phi-theme-ground-image.js +34 -12
- package/theme/phi-theme-mode.d.ts +86 -9
- package/theme/phi-theme-mode.js +128 -19
- package/theme/phi-theme-placeholder-logo.d.ts +19 -0
- package/theme/phi-theme-placeholder-logo.js +31 -0
- package/theme/phi-theme-presets.d.ts +6 -0
- package/theme/phi-theme-presets.js +41 -0
- package/theme/phi-theme-runtime.js +1 -1
- package/theme/phi-theme-tokens.d.ts +79 -0
- package/theme/phi-theme-tokens.js +227 -0
- package/theme/phi-tokens.d.ts +5 -4
- package/theme/phi-tokens.js +41 -4
- package/theme.d.ts +2 -8
- package/theme.js +2 -8
- package/types/auth-manifest.d.ts +7 -1
- package/types/builder.d.ts +5 -2
- package/types/calendar-keys.d.ts +7 -0
- package/types/calendar-keys.js +8 -0
- package/types/calendar.d.ts +16 -1
- package/types/calendar.js +64 -2
- package/types/cms-border-config.d.ts +2 -0
- package/types/cms-border-config.js +44 -0
- package/types/cms-border-source.d.ts +19 -0
- package/types/cms-border-source.js +34 -0
- package/types/cms-config.d.ts +35 -9
- package/types/cms-config.js +48 -58
- package/types/cms-instance-id.d.ts +4 -5
- package/types/cms-instance-id.js +16 -9
- package/types/cms-module-descriptors.d.ts +106 -2
- package/types/cms-mount-policy.d.ts +0 -12
- package/types/cms-mount-policy.js +0 -16
- package/types/cms-overlay-zones.d.ts +36 -0
- package/types/cms-overlay-zones.js +1 -0
- package/types/cms-overlay.d.ts +29 -3
- package/types/cms-overlay.js +20 -6
- package/types/cms-plugins.d.ts +219 -15
- package/types/cms-presets.d.ts +4 -4
- package/types/cms.d.ts +22 -4
- package/types/collection-provider.d.ts +32 -5
- package/types/collection-view-widget.d.ts +67 -0
- package/types/collection-view-widget.js +1 -0
- package/types/core-runtime-controller.js +3 -5
- package/types/core-widget-placements.d.ts +365 -0
- package/types/core-widget-placements.js +3 -0
- package/types/dashboard-cards.d.ts +152 -0
- package/types/dashboard-cards.js +15 -0
- package/types/draft-status.d.ts +23 -0
- package/types/draft-status.js +20 -0
- package/types/form-descriptor.d.ts +2 -140
- package/types/form-descriptor.js +6 -3
- package/types/markdown.d.ts +6 -0
- package/types/markdown.js +1 -0
- package/types/media.d.ts +28 -0
- package/types/news.d.ts +33 -0
- package/types/news.js +1 -0
- package/types/record-widget.d.ts +49 -0
- package/types/record-widget.js +1 -0
- package/types/references.d.ts +18 -30
- package/types/references.js +9 -114
- package/types/renderable-block-geometry.d.ts +85 -0
- package/types/renderable-block-geometry.js +96 -0
- package/types/renderable-block.d.ts +31 -4
- package/types/responsive.d.ts +1 -11
- package/types/responsive.js +5 -8
- package/types/result-widget.d.ts +5 -0
- package/types/result-widget.js +1 -0
- package/types/runtime-condition.d.ts +3 -90
- package/types/runtime-condition.js +7 -164
- package/types/runtime-data-provider.d.ts +13 -2
- package/types/runtime-data-provider.js +25 -5
- package/types/seed.d.ts +32 -0
- package/types/seed.js +15 -0
- package/types/signals.d.ts +53 -5
- package/types/signals.js +52 -38
- package/types/site-config.d.ts +83 -0
- package/types/site-config.js +1 -0
- package/types/site-request-context.d.ts +167 -0
- package/types/site-request-context.js +1 -0
- package/types/site-theme.d.ts +17 -0
- package/types/spacing.d.ts +1 -3
- package/types/spacing.js +5 -14
- package/types/state-machine.d.ts +229 -0
- package/types/state-machine.js +161 -0
- package/types/table-signal-values.d.ts +8 -0
- package/types/table-signal-values.js +71 -0
- package/types/table-widget.d.ts +34 -22
- package/types/table-widget.js +13 -78
- package/types/thread-widget.d.ts +27 -0
- package/types/thread-widget.js +9 -0
- package/types/threads.d.ts +13 -0
- package/types/threads.js +13 -0
- package/types/tree-widget.d.ts +10 -6
- package/types/tree-widget.js +14 -7
- package/types/tree.d.ts +8 -0
- package/types/user-state.d.ts +17 -0
- package/types/user-state.js +17 -0
- package/types/video.d.ts +152 -0
- package/types/video.js +278 -0
- package/types/widget-runtime.d.ts +19 -3
- package/types.d.ts +12 -31
- package/types.js +4 -1
- package/widgets.d.ts +6 -8
- package/widgets.js +3 -4
- package/builder.d.ts +0 -2
- package/builder.js +0 -2
- package/components/controls/phi-dropdown-control.module.css +0 -63
- package/components/controls/phi-expand-indicator.module.css +0 -16
- package/components/controls/phi-icon-picker-labels.d.ts +0 -27
- package/components/controls/phi-icon-picker-labels.js +0 -26
- package/components/controls/phi-table-control.module.css +0 -16
- package/components/controls/phi-tree-control.module.css +0 -22
- package/components/forms/auth-admin-settings-forms.d.ts +0 -15
- package/components/forms/auth-admin-settings-forms.js +0 -349
- package/components/forms/auth-form-provider-registry.d.ts +0 -1
- package/components/forms/auth-form-provider-registry.js +0 -38
- package/components/forms/auth-form-ui-provider.js +0 -7
- package/components/forms/auth-installations-table-service.js +0 -144
- package/components/forms/auth-link-confirmation-contract.d.ts +0 -7
- package/components/forms/auth-link-confirmation-contract.js +0 -8
- package/components/forms/shared-form-plugins.d.ts +0 -4
- package/components/forms/shared-form-plugins.js +0 -171
- package/components/media/asset-collection-service.js +0 -160
- package/components/media/asset-controller-definition.js +0 -128
- package/components/media/asset-controller-mount.d.ts +0 -4
- package/components/media/asset-controller-mount.js +0 -6
- package/components/media/asset-controller-plugin.d.ts +0 -124
- package/components/media/asset-controller-plugin.js +0 -10
- package/components/media/asset-form-field-providers.js +0 -11
- package/components/media/asset-form-ui-provider.js +0 -13
- package/components/media/asset-inspector-addresses.d.ts +0 -4
- package/components/media/asset-inspector-addresses.js +0 -30
- package/components/media/asset-metadata-form.d.ts +0 -243
- package/components/media/asset-metadata-form.js +0 -209
- package/components/media/asset-options-providers.js +0 -69
- package/components/media/media-settings-forms.d.ts +0 -22
- package/components/media/media-settings-forms.js +0 -130
- package/components/media/phi-area-upload-server.d.ts +0 -7
- package/components/media/phi-area-upload-server.js +0 -13
- package/components/media/phi-asset-collection-view-binding.d.ts +0 -9
- package/components/media/phi-asset-collection-view-binding.js +0 -245
- package/components/media/phi-asset-focal-rect-server.d.ts +0 -6
- package/components/media/phi-asset-focal-rect-server.js +0 -6
- package/components/media/phi-image-inspector-server.d.ts +0 -7
- package/components/media/phi-image-inspector-server.js +0 -18
- package/components/media/phi-image-preview-grid-widget.d.ts +0 -7
- package/components/media/phi-image-preview-grid-widget.js +0 -16
- package/components/media/phi-media-scope-controller.d.ts +0 -20
- package/components/media/phi-media-scope-controller.js +0 -398
- package/components/regions/presets/admin-dashboard-label-set.d.ts +0 -22
- package/components/regions/presets/admin-dashboard-label-set.js +0 -50
- package/components/regions/presets/admin-locales-label-set.d.ts +0 -8
- package/components/regions/presets/admin-locales-label-set.js +0 -22
- package/components/regions/presets/admin-logs-label-set.d.ts +0 -8
- package/components/regions/presets/admin-logs-label-set.js +0 -22
- package/components/regions/presets/admin-settings-label-set.d.ts +0 -6
- package/components/regions/presets/admin-settings-label-set.js +0 -18
- package/components/regions/presets/admin-users-label-set.d.ts +0 -8
- package/components/regions/presets/admin-users-label-set.js +0 -22
- package/components/regions/presets/builder-navigation-label-set.d.ts +0 -35
- package/components/regions/presets/builder-navigation-label-set.js +0 -68
- package/components/regions/presets/builder-settings-label-set.d.ts +0 -17
- package/components/regions/presets/builder-settings-label-set.js +0 -34
- package/components/regions/presets/editor-label-set.d.ts +0 -8
- package/components/regions/presets/editor-label-set.js +0 -22
- package/components/regions/presets/editor-shell.js +0 -44
- package/components/regions/presets/editor-translations-label-set.d.ts +0 -8
- package/components/regions/presets/editor-translations-label-set.js +0 -22
- package/components/regions/presets/phi-auth-area-overlay-tree.server.d.ts +0 -8
- package/components/regions/presets/phi-auth-area-overlay-tree.server.js +0 -114
- package/components/regions/presets/phi-auth-runtime-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-auth-runtime-page-tree.js +0 -57
- package/components/regions/presets/phi-avatar-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-avatar-area-overlay-tree.server.js +0 -104
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.d.ts +0 -7
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.js +0 -12
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.d.ts +0 -20
- package/components/regions/presets/phi-builder-inspector-area-overlay-tree.server.js +0 -527
- package/components/regions/presets/phi-default-accounting-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-accounting-page-tree.js +0 -50
- package/components/regions/presets/phi-default-admin-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-area-preset-tree.js +0 -252
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-auth-settings-page-tree.js +0 -290
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-dashboard-page-tree.js +0 -181
- package/components/regions/presets/phi-default-admin-groups-page-tree.d.ts +0 -13
- package/components/regions/presets/phi-default-admin-groups-page-tree.js +0 -409
- package/components/regions/presets/phi-default-admin-locales-page-tree.d.ts +0 -7
- package/components/regions/presets/phi-default-admin-locales-page-tree.js +0 -264
- package/components/regions/presets/phi-default-admin-logs-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-logs-page-tree.js +0 -287
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-media-settings-page-tree.js +0 -94
- package/components/regions/presets/phi-default-admin-settings-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-settings-page-tree.js +0 -82
- package/components/regions/presets/phi-default-admin-users-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-admin-users-page-tree.js +0 -568
- package/components/regions/presets/phi-default-app-groups-page-tree.d.ts +0 -14
- package/components/regions/presets/phi-default-app-groups-page-tree.js +0 -315
- package/components/regions/presets/phi-default-app-profile-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-app-profile-page-tree.js +0 -29
- package/components/regions/presets/phi-default-area-dashboard-page-tree.d.ts +0 -9
- package/components/regions/presets/phi-default-area-dashboard-page-tree.js +0 -67
- package/components/regions/presets/phi-default-builder-area-preset-tree.d.ts +0 -131
- package/components/regions/presets/phi-default-builder-area-preset-tree.js +0 -3580
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-builder-dashboard-page-tree.js +0 -112
- package/components/regions/presets/phi-default-builder-settings-page-tree.d.ts +0 -12
- package/components/regions/presets/phi-default-builder-settings-page-tree.js +0 -55
- package/components/regions/presets/phi-default-editor-area-preset-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-area-preset-tree.js +0 -253
- package/components/regions/presets/phi-default-editor-translations-page-tree.d.ts +0 -6
- package/components/regions/presets/phi-default-editor-translations-page-tree.js +0 -323
- package/components/regions/presets/phi-default-pub-confirm-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-confirm-page-tree.js +0 -175
- package/components/regions/presets/phi-default-pub-contact-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-contact-page-tree.js +0 -112
- package/components/regions/presets/phi-default-pub-error-page-tree.d.ts +0 -8
- package/components/regions/presets/phi-default-pub-error-page-tree.js +0 -128
- package/components/regions/presets/phi-default-pub-home-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-home-page-tree.js +0 -90
- package/components/regions/presets/phi-default-pub-login-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-login-page-tree.js +0 -111
- package/components/regions/presets/phi-default-pub-registration-page-tree.d.ts +0 -10
- package/components/regions/presets/phi-default-pub-registration-page-tree.js +0 -127
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.d.ts +0 -5
- package/components/regions/presets/phi-default-pub-reset-password-page-tree.js +0 -159
- package/components/regions/presets/phi-default-pub-terms-page-tree.d.ts +0 -4
- package/components/regions/presets/phi-default-pub-terms-page-tree.js +0 -93
- package/components/regions/presets/phi-default-pub-welcome-page-tree.d.ts +0 -17
- package/components/regions/presets/phi-default-pub-welcome-page-tree.js +0 -110
- package/components/regions/presets/phi-default-site-area-preset-tree.d.ts +0 -11
- package/components/regions/presets/phi-default-site-area-preset-tree.js +0 -640
- package/components/regions/presets/phi-login-form-nodes.d.ts +0 -46
- package/components/regions/presets/phi-login-form-nodes.js +0 -210
- package/components/regions/presets/profile-label-set.d.ts +0 -11
- package/components/regions/presets/profile-label-set.js +0 -28
- package/components/regions/presets/pub.d.ts +0 -2
- package/components/regions/presets/pub.js +0 -130
- package/components/runtime/accounting-base-controller-plugin.d.ts +0 -1
- package/components/runtime/accounting-base-controller-plugin.js +0 -4
- package/components/runtime/app-base-controller-plugin.d.ts +0 -1
- package/components/runtime/app-base-controller-plugin.js +0 -4
- package/components/runtime/area-base-controller-addresses.d.ts +0 -23
- package/components/runtime/area-base-controller-addresses.js +0 -26
- package/components/runtime/area-base-controller-client-factory.d.ts +0 -2
- package/components/runtime/area-base-controller-client-factory.js +0 -8
- package/components/runtime/area-base-controller-definitions.d.ts +0 -106
- package/components/runtime/area-base-controller-definitions.js +0 -75
- package/components/runtime/auth-controller-plugin.d.ts +0 -1
- package/components/runtime/auth-controller-plugin.js +0 -172
- package/components/runtime/auth-controller-server-definition.d.ts +0 -62
- package/components/runtime/auth-controller-server-definition.js +0 -3
- package/components/runtime/auth-overlay-ids.d.ts +0 -23
- package/components/runtime/auth-overlay-ids.js +0 -27
- package/components/runtime/avatar-overlay-ids.js +0 -19
- package/components/runtime/public-base-controller-plugin.d.ts +0 -1
- package/components/runtime/public-base-controller-plugin.js +0 -4
- package/components/shell/phi-management-icon.d.ts +0 -4
- package/components/shell/phi-management-icon.js +0 -59
- package/components/tables/client/phi-static-table-resource-editor.d.ts +0 -6
- package/components/tables/client/phi-static-table-resource-editor.js +0 -10
- package/components/tables/phi-plain-table.module.css +0 -34
- package/components/widgets/area-menu-items.d.ts +0 -16
- package/components/widgets/area-menu-items.js +0 -26
- package/components/widgets/builder/command-toolbar-authoring-tools.d.ts +0 -5
- package/components/widgets/builder/command-toolbar-authoring-tools.js +0 -41
- package/components/widgets/builder/icon-editor.d.ts +0 -10
- package/components/widgets/builder/icon-editor.js +0 -10
- package/components/widgets/builder/internal-builder.d.ts +0 -22
- package/components/widgets/builder/internal-builder.js +0 -8
- package/components/widgets/builder/simple-text-editor.d.ts +0 -39
- package/components/widgets/builder/simple-text-editor.js +0 -121
- package/components/widgets/client/area-menu-preview.d.ts +0 -5
- package/components/widgets/client/area-menu-preview.js +0 -18
- package/components/widgets/client/card-editor.d.ts +0 -11
- package/components/widgets/client/card-editor.js +0 -46
- package/components/widgets/client/collection-view-widget.d.ts +0 -10
- package/components/widgets/client/collection-view-widget.js +0 -44
- package/components/widgets/client/description-editor.d.ts +0 -6
- package/components/widgets/client/description-editor.js +0 -130
- package/components/widgets/client/image-editor.d.ts +0 -10
- package/components/widgets/client/image-editor.js +0 -100
- package/components/widgets/client/markdown-editor.d.ts +0 -9
- package/components/widgets/client/markdown-editor.js +0 -80
- package/components/widgets/client/phi-color-widget.d.ts +0 -34
- package/components/widgets/client/phi-color-widget.js +0 -45
- package/components/widgets/client/shared/core-table-providers.js +0 -13
- package/components/widgets/client/shared/phi-card-collection-view-binding.d.ts +0 -9
- package/components/widgets/client/shared/phi-card-collection-view-binding.js +0 -106
- package/components/widgets/client/use-table-provider-mutation.d.ts +0 -1
- package/components/widgets/client/use-table-provider-mutation.js +0 -2
- package/components/widgets/label-sets/avatar.d.ts +0 -26
- package/components/widgets/label-sets/editor-translations.d.ts +0 -4
- package/components/widgets/label-sets/editor-translations.js +0 -100
- package/components/widgets/label-sets/footer.d.ts +0 -8
- package/components/widgets/label-sets/footer.js +0 -22
- package/components/widgets/label-types/editor-translations.d.ts +0 -53
- package/components/widgets/quick-links-items.d.ts +0 -6
- package/components/widgets/quick-links-items.js +0 -32
- package/gateway/data-source-fetch.d.ts +0 -12
- package/gateway/data-source-fetch.js +0 -46
- package/gateway/media-proxy.d.ts +0 -9
- package/gateway/media-proxy.js +0 -12
- package/gateway/mutation-fetch.d.ts +0 -5
- package/gateway/mutation-fetch.js +0 -71
- package/gateway.d.ts +0 -13
- package/gateway.js +0 -13
- package/helpers/cms-page-addresses.d.ts +0 -32
- package/helpers/cms-page-addresses.js +0 -77
- package/helpers/css-length.d.ts +0 -1
- package/helpers/css-length.js +0 -10
- package/helpers/site-structure.d.ts +0 -13
- package/helpers/site-structure.js +0 -82
- package/next/module-diagnostics-route.d.ts +0 -37
- package/next/module-diagnostics-route.js +0 -64
- package/next/navigation-target-route.d.ts +0 -8
- package/next/navigation-target-route.js +0 -216
- package/plugins/runtime-modules/accounting/client.d.ts +0 -1
- package/plugins/runtime-modules/accounting/client.js +0 -7
- package/plugins/runtime-modules/app/client.d.ts +0 -1
- package/plugins/runtime-modules/app/client.js +0 -7
- package/plugins/runtime-modules/auth/ui-provider.d.ts +0 -2
- package/plugins/runtime-modules/auth/ui-provider.js +0 -29
- package/plugins/runtime-modules/builder/clients/inline-text-editor.d.ts +0 -31
- package/plugins/runtime-modules/builder/clients/inline-text-editor.js +0 -44
- package/plugins/runtime-modules/builder/navigation-signals.d.ts +0 -36
- package/plugins/runtime-modules/builder/navigation-signals.js +0 -88
- package/plugins/runtime-modules/builder/page-reference-picker.d.ts +0 -16
- package/plugins/runtime-modules/builder/page-reference-picker.js +0 -43
- package/plugins/runtime-modules/builder/root-node-css-size.d.ts +0 -1
- package/plugins/runtime-modules/builder/root-node-css-size.js +0 -10
- package/plugins/runtime-modules/builder/runtime-module-defaults.d.ts +0 -3
- package/plugins/runtime-modules/builder/runtime-module-defaults.js +0 -41
- package/plugins/runtime-modules/builder/signal-route-config.d.ts +0 -3
- package/plugins/runtime-modules/builder/signal-route-config.js +0 -37
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring-plugin.js +0 -8
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.d.ts +0 -4
- package/plugins/runtime-modules/builder/widgets/draft-status/authoring.js +0 -228
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/draft-status/plugin.js +0 -8
- package/plugins/runtime-modules/builder/workspace-view-model.d.ts +0 -4
- package/plugins/runtime-modules/builder/workspace-view-model.js +0 -24
- package/plugins/runtime-modules/client-state.d.ts +0 -5
- package/plugins/runtime-modules/client-state.js +0 -17
- package/plugins/runtime-modules/core/widgets/account/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/account/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/area-menu/client.d.ts +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/client.js +0 -61
- package/plugins/runtime-modules/core/widgets/area-menu/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/area-menu/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/area-menu/index.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/index.js +0 -2
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/area-menu/plugin.js +0 -11
- package/plugins/runtime-modules/core/widgets/area-menu/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/area-menu/server.js +0 -14
- package/plugins/runtime-modules/core/widgets/card/client.d.ts +0 -37
- package/plugins/runtime-modules/core/widgets/card/client.js +0 -64
- package/plugins/runtime-modules/core/widgets/footer/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/footer/authoring.js +0 -22
- package/plugins/runtime-modules/core/widgets/footer/client.d.ts +0 -21
- package/plugins/runtime-modules/core/widgets/footer/client.js +0 -30
- package/plugins/runtime-modules/core/widgets/footer/config.d.ts +0 -31
- package/plugins/runtime-modules/core/widgets/footer/config.js +0 -34
- package/plugins/runtime-modules/core/widgets/footer/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/footer/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/footer/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/footer/plugin.js +0 -9
- package/plugins/runtime-modules/core/widgets/footer/server.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/footer/server.js +0 -46
- package/plugins/runtime-modules/core/widgets/form/built-in.d.ts +0 -15
- package/plugins/runtime-modules/core/widgets/form/built-in.js +0 -74
- package/plugins/runtime-modules/core/widgets/html/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/html/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/icon/index.js +0 -1
- package/plugins/runtime-modules/core/widgets/markdown/client.d.ts +0 -72
- package/plugins/runtime-modules/core/widgets/markdown/client.js +0 -141
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-email/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/client.d.ts +0 -28
- package/plugins/runtime-modules/core/widgets/profile-email/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-email/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-email/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-email/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-email/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-email/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-locale/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/client.d.ts +0 -20
- package/plugins/runtime-modules/core/widgets/profile-locale/client.js +0 -107
- package/plugins/runtime-modules/core/widgets/profile-locale/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-locale/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-locale/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-locale/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-locale/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-name/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/client.d.ts +0 -23
- package/plugins/runtime-modules/core/widgets/profile-name/client.js +0 -96
- package/plugins/runtime-modules/core/widgets/profile-name/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-name/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-name/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-name/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-name/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.d.ts +0 -2
- package/plugins/runtime-modules/core/widgets/profile-overview/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-overview/client.d.ts +0 -19
- package/plugins/runtime-modules/core/widgets/profile-overview/client.js +0 -73
- package/plugins/runtime-modules/core/widgets/profile-overview/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-overview/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.d.ts +0 -4
- package/plugins/runtime-modules/core/widgets/profile-overview/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-overview/server.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-overview/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/profile-password/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/client.d.ts +0 -27
- package/plugins/runtime-modules/core/widgets/profile-password/client.js +0 -91
- package/plugins/runtime-modules/core/widgets/profile-password/config.d.ts +0 -12
- package/plugins/runtime-modules/core/widgets/profile-password/config.js +0 -14
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/profile-password/plugin.js +0 -10
- package/plugins/runtime-modules/core/widgets/profile-password/server.d.ts +0 -8
- package/plugins/runtime-modules/core/widgets/profile-password/server.js +0 -16
- package/plugins/runtime-modules/core/widgets/quick-links/index.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/quick-links/index.js +0 -1
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/authoring.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/client.d.ts +0 -56
- package/plugins/runtime-modules/observability/widgets/log-detail/client.js +0 -125
- package/plugins/runtime-modules/observability/widgets/log-detail/config.d.ts +0 -58
- package/plugins/runtime-modules/observability/widgets/log-detail/config.js +0 -71
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.d.ts +0 -3
- package/plugins/runtime-modules/observability/widgets/log-detail/plugin.js +0 -8
- package/plugins/runtime-modules/observability/widgets/log-detail/server.d.ts +0 -7
- package/plugins/runtime-modules/observability/widgets/log-detail/server.js +0 -13
- package/plugins/runtime-modules/observability/widgets.d.ts +0 -2
- package/plugins/runtime-modules/observability/widgets.js +0 -16
- package/plugins/runtime-modules/public/client.d.ts +0 -1
- package/plugins/runtime-modules/public/client.js +0 -7
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.d.ts +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground-image.js +0 -17
- package/plugins/runtime-modules/theme/blocks/alpine-ground.jpg +0 -0
- package/plugins/runtime-modules/theme/blocks/alpine.d.ts +0 -19
- package/plugins/runtime-modules/theme/blocks/alpine.js +0 -76
- package/plugins/runtime-modules/theme/theme-descriptors.d.ts +0 -80
- package/plugins/runtime-modules/theme/theme-descriptors.js +0 -34
- package/theme/phi-theme-brand-logo.d.ts +0 -12
- package/theme/phi-theme-brand-logo.js +0 -12
- /package/components/widgets/label-types/{editor-translations.js → auth-workflow.js} +0 -0
- /package/{components/media/asset-controller-definition.d.ts → plugins/runtime-modules/asset/controller/definition.d.ts} +0 -0
- /package/{components/media/asset-form-field-providers.d.ts → plugins/runtime-modules/asset/form-providers.d.ts} +0 -0
- /package/{components/media/asset-form-ui-provider.d.ts → plugins/runtime-modules/asset/form-ui-provider.d.ts} +0 -0
- /package/{components/media/asset-collection-service.d.ts → plugins/runtime-modules/asset/services/collection.d.ts} +0 -0
- /package/{components/media/asset-options-providers.d.ts → plugins/runtime-modules/asset/services/options.d.ts} +0 -0
- /package/{components/forms/auth-form-ui-provider.d.ts → plugins/runtime-modules/auth/form-ui-provider.d.ts} +0 -0
- /package/{components/forms/auth-installations-table-service.d.ts → plugins/runtime-modules/auth/services/installations-table.d.ts} +0 -0
- /package/{components/runtime/avatar-overlay-ids.d.ts → plugins/runtime-modules/avatar/addresses.d.ts} +0 -0
- /package/{components/widgets/label-sets/avatar.js → plugins/runtime-modules/avatar/labels.js} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.d.ts → plugins/runtime-modules/avatar/overlay-tree.d.ts} +0 -0
- /package/{components/regions/presets/phi-avatar-area-overlay-tree.server.d.ts → plugins/runtime-modules/avatar/overlay-tree.server.d.ts} +0 -0
- /package/{components/widgets/client/shared/core-table-providers.d.ts → plugins/runtime-modules/core/services/table.d.ts} +0 -0
- /package/{components/regions/presets/editor-shell.d.ts → plugins/runtime-modules/localization/trees/editor-translations-shell.d.ts} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { createPhiPresetCmsInstanceIdMap } from "../../../../types/cms-instance-id";
|
|
2
|
+
import { PHI_PUBLIC_RUNTIME_MODULE_ID } from "../ids";
|
|
3
|
+
import { PHI_CMS_DEFAULT_SLOT_INDEX } from "../../../../constants/cms-layout-types";
|
|
4
|
+
import { PhiCmsPageType, PhiCmsRegionType } from "../../../../constants/phi-cms";
|
|
5
|
+
import { createPhiCmsPresetNodes } from "../../../../helpers/cms-preset-nodes";
|
|
6
|
+
/**
|
|
7
|
+
* Placeholder terms, carried inline. The page used to fetch `/terms-and-conditions.md` from the Site's
|
|
8
|
+
* `public/` directory, which a fresh Site had to be given first; inline copy needs nothing, and the
|
|
9
|
+
* Markdown Widget persists it through its content binding the moment the Site takes the page over.
|
|
10
|
+
* They are placeholders and say so: the first thing an operator does is replace them.
|
|
11
|
+
*/
|
|
12
|
+
const PHI_DEFAULT_PUB_TERMS_MARKDOWN = `# Terms and Conditions
|
|
13
|
+
|
|
14
|
+
This software is provided as is, without any express or implied warranty.
|
|
15
|
+
|
|
16
|
+
By using this site, you agree that the operators may change, suspend, or remove features at any time without prior notice.
|
|
17
|
+
|
|
18
|
+
You are responsible for the accuracy of the information you submit and for keeping your account credentials secure.
|
|
19
|
+
|
|
20
|
+
You must not use this service for unlawful activity, abuse, or attempts to interfere with the operation of the platform.
|
|
21
|
+
|
|
22
|
+
To the maximum extent permitted by law, the operators are not liable for any direct, indirect, incidental, or consequential damages arising from the use of this software.
|
|
23
|
+
|
|
24
|
+
If you do not agree to these terms, do not use this site.
|
|
25
|
+
`;
|
|
26
|
+
const SYNTHETIC_TERMS_REGION_IDS = {
|
|
27
|
+
regionContent: -320,
|
|
28
|
+
};
|
|
29
|
+
const SYNTHETIC_TERMS_LAYOUT_IDS = createPhiPresetCmsInstanceIdMap({
|
|
30
|
+
domain: "page",
|
|
31
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
32
|
+
presetKey: "pub-terms-page",
|
|
33
|
+
}, [
|
|
34
|
+
"layoutContent",
|
|
35
|
+
]);
|
|
36
|
+
const SYNTHETIC_TERMS_WIDGET_IDS = createPhiPresetCmsInstanceIdMap({
|
|
37
|
+
domain: "page",
|
|
38
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
39
|
+
presetKey: "pub-terms-page",
|
|
40
|
+
}, [
|
|
41
|
+
"widgetMarkdown",
|
|
42
|
+
]);
|
|
43
|
+
export async function buildPhiDefaultPubTermsPageTree({ page, }) {
|
|
44
|
+
const nodes = createPhiCmsPresetNodes(page);
|
|
45
|
+
return {
|
|
46
|
+
page: nodes.page({ pageType: PhiCmsPageType.Standard }),
|
|
47
|
+
overlays: [],
|
|
48
|
+
regions: [
|
|
49
|
+
nodes.region({
|
|
50
|
+
id: SYNTHETIC_TERMS_REGION_IDS.regionContent,
|
|
51
|
+
regionType: PhiCmsRegionType.Content,
|
|
52
|
+
rootLayoutNodeId: SYNTHETIC_TERMS_LAYOUT_IDS.layoutContent,
|
|
53
|
+
sortOrder: 30,
|
|
54
|
+
}),
|
|
55
|
+
],
|
|
56
|
+
layoutNodes: [
|
|
57
|
+
nodes.layout({
|
|
58
|
+
typeKey: "content",
|
|
59
|
+
id: SYNTHETIC_TERMS_LAYOUT_IDS.layoutContent,
|
|
60
|
+
parentLayoutNodeId: null,
|
|
61
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
62
|
+
sortOrder: 0,
|
|
63
|
+
label: "pub terms and conditions page",
|
|
64
|
+
config: {},
|
|
65
|
+
}),
|
|
66
|
+
],
|
|
67
|
+
contentWidgets: [
|
|
68
|
+
nodes.widget({
|
|
69
|
+
typeKey: "markdown",
|
|
70
|
+
id: SYNTHETIC_TERMS_WIDGET_IDS.widgetMarkdown,
|
|
71
|
+
parentLayoutNodeId: SYNTHETIC_TERMS_LAYOUT_IDS.layoutContent,
|
|
72
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
73
|
+
sortOrder: 0,
|
|
74
|
+
label: "pub terms and conditions markdown widget",
|
|
75
|
+
config: {
|
|
76
|
+
sourceMode: "inline",
|
|
77
|
+
markdown: PHI_DEFAULT_PUB_TERMS_MARKDOWN,
|
|
78
|
+
},
|
|
79
|
+
}),
|
|
80
|
+
],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PhiCmsPageNode, PhiResolvedCmsPageTree } from "../../../../types/cms";
|
|
2
|
+
/**
|
|
3
|
+
* Where a circular's footer leads: one sentence and one button.
|
|
4
|
+
*
|
|
5
|
+
* Deliberately plain. This is not a page anybody came to read, and everything put in front of the button --
|
|
6
|
+
* a marketing column, an offer to stay, a confirmation step -- is something between a person and leaving.
|
|
7
|
+
*
|
|
8
|
+
* The token comes out of the address and is never shown, which is why the Form carries a hidden field and
|
|
9
|
+
* the placement maps the query into it. Pressing is a `POST`, and that is the whole reason this is a Form
|
|
10
|
+
* rather than a link: mail clients and scanners fetch the links in a message before anybody has seen them,
|
|
11
|
+
* so an address that acted on being fetched would unsubscribe people who never pressed anything.
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildPhiDefaultPubUnsubscribePageTree({ page, presetKey, }: {
|
|
14
|
+
page: PhiCmsPageNode;
|
|
15
|
+
presetKey: string;
|
|
16
|
+
}): Promise<PhiResolvedCmsPageTree>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { createPhiPresetCmsInstanceIdMap } from "../../../../types/cms-instance-id";
|
|
2
|
+
import { PHI_PUBLIC_RUNTIME_MODULE_ID } from "../ids";
|
|
3
|
+
import { PHI_CMS_DEFAULT_SLOT_INDEX } from "../../../../constants/cms-layout-types";
|
|
4
|
+
import { PhiCmsPageType, PhiCmsRegionType } from "../../../../constants/phi-cms";
|
|
5
|
+
import { createPhiCmsPresetNodes } from "../../../../helpers/cms-preset-nodes";
|
|
6
|
+
import { PHI_SHARED_FORM_IDS } from "../../../../components/forms/shared-form-ids";
|
|
7
|
+
const SYNTHETIC_UNSUBSCRIBE_REGION_IDS = {
|
|
8
|
+
regionContent: -260,
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Where a circular's footer leads: one sentence and one button.
|
|
12
|
+
*
|
|
13
|
+
* Deliberately plain. This is not a page anybody came to read, and everything put in front of the button --
|
|
14
|
+
* a marketing column, an offer to stay, a confirmation step -- is something between a person and leaving.
|
|
15
|
+
*
|
|
16
|
+
* The token comes out of the address and is never shown, which is why the Form carries a hidden field and
|
|
17
|
+
* the placement maps the query into it. Pressing is a `POST`, and that is the whole reason this is a Form
|
|
18
|
+
* rather than a link: mail clients and scanners fetch the links in a message before anybody has seen them,
|
|
19
|
+
* so an address that acted on being fetched would unsubscribe people who never pressed anything.
|
|
20
|
+
*/
|
|
21
|
+
export async function buildPhiDefaultPubUnsubscribePageTree({ page, presetKey, }) {
|
|
22
|
+
const layoutIds = createPhiPresetCmsInstanceIdMap({
|
|
23
|
+
domain: "page",
|
|
24
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
25
|
+
presetKey,
|
|
26
|
+
}, ["layoutContent"]);
|
|
27
|
+
const widgetIds = createPhiPresetCmsInstanceIdMap({
|
|
28
|
+
domain: "page",
|
|
29
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
30
|
+
presetKey,
|
|
31
|
+
}, ["widgetIntro", "widgetIncomplete", "widgetUnsubscribe"]);
|
|
32
|
+
/*
|
|
33
|
+
* Whether this visit carries a link at all, settled before anything renders -- so the two cases are two
|
|
34
|
+
* placements with a condition on them rather than a branch inside a component that would have to know
|
|
35
|
+
* about both. The same shape the password reset's two stages use.
|
|
36
|
+
*/
|
|
37
|
+
const withToken = { source: "page", valuePath: "query.token", operator: "truthy" };
|
|
38
|
+
const withoutToken = { source: "page", valuePath: "query.token", operator: "falsy" };
|
|
39
|
+
const nodes = createPhiCmsPresetNodes(page);
|
|
40
|
+
return {
|
|
41
|
+
page: nodes.page({ pageType: PhiCmsPageType.Standard }),
|
|
42
|
+
overlays: [],
|
|
43
|
+
regions: [
|
|
44
|
+
nodes.region({
|
|
45
|
+
id: SYNTHETIC_UNSUBSCRIBE_REGION_IDS.regionContent,
|
|
46
|
+
regionType: PhiCmsRegionType.Content,
|
|
47
|
+
rootLayoutNodeId: layoutIds.layoutContent,
|
|
48
|
+
sortOrder: 30,
|
|
49
|
+
}),
|
|
50
|
+
],
|
|
51
|
+
layoutNodes: [
|
|
52
|
+
nodes.layout({
|
|
53
|
+
creationPreset: { layoutKind: "verticalflex", preset: "panel" },
|
|
54
|
+
typeKey: "flex-vertical",
|
|
55
|
+
id: layoutIds.layoutContent,
|
|
56
|
+
parentLayoutNodeId: null,
|
|
57
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
58
|
+
label: "pub unsubscribe page",
|
|
59
|
+
}),
|
|
60
|
+
],
|
|
61
|
+
contentWidgets: [
|
|
62
|
+
nodes.widget({
|
|
63
|
+
typeKey: "description",
|
|
64
|
+
id: widgetIds.widgetIntro,
|
|
65
|
+
parentLayoutNodeId: layoutIds.layoutContent,
|
|
66
|
+
slotIndex: 0,
|
|
67
|
+
sortOrder: 0,
|
|
68
|
+
label: "pub unsubscribe intro widget",
|
|
69
|
+
config: {
|
|
70
|
+
title: "Stop receiving updates",
|
|
71
|
+
description: "Press the button below and this site will send you no further updates.",
|
|
72
|
+
visibleWhen: withToken,
|
|
73
|
+
},
|
|
74
|
+
}),
|
|
75
|
+
/*
|
|
76
|
+
* A link that arrived without its token is not an error to hide: somebody copied half an address out
|
|
77
|
+
* of a mail, and the honest answer says where the working one is.
|
|
78
|
+
*/
|
|
79
|
+
nodes.widget({
|
|
80
|
+
typeKey: "description",
|
|
81
|
+
id: widgetIds.widgetIncomplete,
|
|
82
|
+
parentLayoutNodeId: layoutIds.layoutContent,
|
|
83
|
+
slotIndex: 1,
|
|
84
|
+
sortOrder: 0,
|
|
85
|
+
label: "pub unsubscribe incomplete widget",
|
|
86
|
+
config: {
|
|
87
|
+
title: "This link is incomplete",
|
|
88
|
+
description: "Open the unsubscribe link from the message itself, or use the most recent one you received.",
|
|
89
|
+
tone: "secondary",
|
|
90
|
+
visibleWhen: withoutToken,
|
|
91
|
+
},
|
|
92
|
+
}),
|
|
93
|
+
nodes.widget({
|
|
94
|
+
typeKey: "form",
|
|
95
|
+
id: widgetIds.widgetUnsubscribe,
|
|
96
|
+
parentLayoutNodeId: layoutIds.layoutContent,
|
|
97
|
+
slotIndex: 2,
|
|
98
|
+
sortOrder: 0,
|
|
99
|
+
label: "pub unsubscribe widget",
|
|
100
|
+
config: {
|
|
101
|
+
formId: PHI_SHARED_FORM_IDS.unsubscribe,
|
|
102
|
+
submit: "inline",
|
|
103
|
+
submitOnEnter: false,
|
|
104
|
+
formConfig: { initialValuesFromQuery: { token: "token" } },
|
|
105
|
+
visibleWhen: withToken,
|
|
106
|
+
},
|
|
107
|
+
}),
|
|
108
|
+
],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PhiCmsPageNode, PhiResolvedCmsPageTree } from "../../../../types/cms";
|
|
2
|
+
import type { PhiBlockRuntime } from "../../../../types";
|
|
3
|
+
/**
|
|
4
|
+
* The Public front door every Site has, and the one a Module's landing covers (MODULES.md, "Who owns an
|
|
5
|
+
* address").
|
|
6
|
+
*
|
|
7
|
+
* An Area root is drawn without the Shell around it, and that is the whole point of a landing page:
|
|
8
|
+
* the fonts and the root CSS arrive, nothing of the Area chrome does. So this tree brings the little
|
|
9
|
+
* frame it wants itself -- a bar with the light and dark switch and a greeting -- and a Content Region
|
|
10
|
+
* whose copy leads on to the home page that does wear the Shell.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildPhiDefaultPubWelcomePageTree({ page, runtime, }: {
|
|
13
|
+
page: PhiCmsPageNode;
|
|
14
|
+
runtime: PhiBlockRuntime;
|
|
15
|
+
}): Promise<PhiResolvedCmsPageTree>;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { createPhiPresetCmsInstanceIdMap } from "../../../../types/cms-instance-id";
|
|
2
|
+
import { PHI_PUBLIC_RUNTIME_MODULE_ID } from "../ids";
|
|
3
|
+
import { PHI_PUBLIC_BASE_PAGE_REFERENCES } from "../../public-base-page-references";
|
|
4
|
+
import { PHI_CMS_DEFAULT_SLOT_INDEX, PHI_CMS_SEQUENTIAL_LAYOUT_SLOTS, PHI_CMS_THREE_COLUMN_LAYOUT_SLOT_INDEX, } from "../../../../constants/cms-layout-types";
|
|
5
|
+
import { PhiCmsPageType, PhiCmsRegionType } from "../../../../constants/phi-cms";
|
|
6
|
+
import { createPhiCmsPresetNodes } from "../../../../helpers/cms-preset-nodes";
|
|
7
|
+
import { resolvePhiShellHeaderHeight } from "../../../../helpers/shell-region-style";
|
|
8
|
+
/**
|
|
9
|
+
* Placeholder copy, carried inline for the reason the terms are: a Module cannot put a file into the
|
|
10
|
+
* Site's `public/` directory, and the Markdown Widget persists inline copy the moment the Site takes the
|
|
11
|
+
* page over.
|
|
12
|
+
*/
|
|
13
|
+
const PHI_DEFAULT_PUB_WELCOME_MARKDOWN = `# Welcome
|
|
14
|
+
|
|
15
|
+
This Site runs on phis.
|
|
16
|
+
|
|
17
|
+
This page is the front door every Site starts with. It stands at the root until a Module offers a
|
|
18
|
+
landing of its own, or until the Site takes this page over in the Builder and makes it its own.
|
|
19
|
+
`;
|
|
20
|
+
/** How wide the welcome copy is allowed to get, in pixels. Roughly sixty characters at the base size. */
|
|
21
|
+
const PHI_DEFAULT_PUB_WELCOME_MEASURE = 480;
|
|
22
|
+
const SYNTHETIC_WELCOME_REGION_IDS = {
|
|
23
|
+
regionHeaderBottom: -301,
|
|
24
|
+
regionContent: -300,
|
|
25
|
+
};
|
|
26
|
+
const SYNTHETIC_WELCOME_LAYOUT_IDS = createPhiPresetCmsInstanceIdMap({
|
|
27
|
+
domain: "page",
|
|
28
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
29
|
+
presetKey: "pub-welcome-page",
|
|
30
|
+
}, [
|
|
31
|
+
"layoutHeaderBottom",
|
|
32
|
+
"layoutContent",
|
|
33
|
+
"layoutContentStack",
|
|
34
|
+
]);
|
|
35
|
+
const SYNTHETIC_WELCOME_WIDGET_IDS = createPhiPresetCmsInstanceIdMap({
|
|
36
|
+
domain: "page",
|
|
37
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
38
|
+
presetKey: "pub-welcome-page",
|
|
39
|
+
}, [
|
|
40
|
+
"widgetThemeModeSwitch",
|
|
41
|
+
"widgetGreeting",
|
|
42
|
+
"widgetMarkdown",
|
|
43
|
+
"widgetReadMore",
|
|
44
|
+
]);
|
|
45
|
+
/**
|
|
46
|
+
* The Public front door every Site has, and the one a Module's landing covers (MODULES.md, "Who owns an
|
|
47
|
+
* address").
|
|
48
|
+
*
|
|
49
|
+
* An Area root is drawn without the Shell around it, and that is the whole point of a landing page:
|
|
50
|
+
* the fonts and the root CSS arrive, nothing of the Area chrome does. So this tree brings the little
|
|
51
|
+
* frame it wants itself -- a bar with the light and dark switch and a greeting -- and a Content Region
|
|
52
|
+
* whose copy leads on to the home page that does wear the Shell.
|
|
53
|
+
*/
|
|
54
|
+
export async function buildPhiDefaultPubWelcomePageTree({ page, runtime, }) {
|
|
55
|
+
const nodes = createPhiCmsPresetNodes(page);
|
|
56
|
+
return {
|
|
57
|
+
page: nodes.page({ pageType: PhiCmsPageType.Landing }),
|
|
58
|
+
overlays: [],
|
|
59
|
+
regions: [
|
|
60
|
+
nodes.region({
|
|
61
|
+
id: SYNTHETIC_WELCOME_REGION_IDS.regionHeaderBottom,
|
|
62
|
+
regionType: PhiCmsRegionType.HeaderBottom,
|
|
63
|
+
rootLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutHeaderBottom,
|
|
64
|
+
sortOrder: 25,
|
|
65
|
+
config: {
|
|
66
|
+
size: { height: `${resolvePhiShellHeaderHeight(runtime.site.theme?.shell, "bottom")}px` },
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
nodes.region({
|
|
70
|
+
id: SYNTHETIC_WELCOME_REGION_IDS.regionContent,
|
|
71
|
+
regionType: PhiCmsRegionType.Content,
|
|
72
|
+
rootLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContent,
|
|
73
|
+
sortOrder: 30,
|
|
74
|
+
}),
|
|
75
|
+
],
|
|
76
|
+
layoutNodes: [
|
|
77
|
+
nodes.layout({
|
|
78
|
+
creationPreset: { layoutKind: "threecol", preset: "panel" },
|
|
79
|
+
typeKey: "three-column",
|
|
80
|
+
id: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutHeaderBottom,
|
|
81
|
+
parentLayoutNodeId: null,
|
|
82
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
83
|
+
sortOrder: 0,
|
|
84
|
+
label: "pub welcome header bottom",
|
|
85
|
+
config: {
|
|
86
|
+
balancedSides: true,
|
|
87
|
+
contentAlign: "center",
|
|
88
|
+
style: { height: "100%" },
|
|
89
|
+
},
|
|
90
|
+
}),
|
|
91
|
+
nodes.layout({
|
|
92
|
+
typeKey: "content",
|
|
93
|
+
id: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContent,
|
|
94
|
+
parentLayoutNodeId: null,
|
|
95
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
96
|
+
sortOrder: 0,
|
|
97
|
+
label: "pub welcome page",
|
|
98
|
+
config: {},
|
|
99
|
+
}),
|
|
100
|
+
nodes.layout({
|
|
101
|
+
creationPreset: { layoutKind: "verticalflex", preset: "panel" },
|
|
102
|
+
typeKey: "flex-vertical",
|
|
103
|
+
id: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContentStack,
|
|
104
|
+
parentLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContent,
|
|
105
|
+
slotIndex: PHI_CMS_DEFAULT_SLOT_INDEX,
|
|
106
|
+
sortOrder: 0,
|
|
107
|
+
label: "pub welcome copy and way on",
|
|
108
|
+
config: { anchor: { horizontal: "center", vertical: "middle" } },
|
|
109
|
+
}),
|
|
110
|
+
],
|
|
111
|
+
contentWidgets: [
|
|
112
|
+
nodes.widget({
|
|
113
|
+
typeKey: "theme-mode-switch",
|
|
114
|
+
id: SYNTHETIC_WELCOME_WIDGET_IDS.widgetThemeModeSwitch,
|
|
115
|
+
parentLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutHeaderBottom,
|
|
116
|
+
slotIndex: PHI_CMS_THREE_COLUMN_LAYOUT_SLOT_INDEX.Right,
|
|
117
|
+
sortOrder: 0,
|
|
118
|
+
label: "pub welcome theme mode switch",
|
|
119
|
+
config: {},
|
|
120
|
+
}),
|
|
121
|
+
nodes.widget({
|
|
122
|
+
typeKey: "simple-text",
|
|
123
|
+
id: SYNTHETIC_WELCOME_WIDGET_IDS.widgetGreeting,
|
|
124
|
+
parentLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutHeaderBottom,
|
|
125
|
+
slotIndex: PHI_CMS_THREE_COLUMN_LAYOUT_SLOT_INDEX.Middle,
|
|
126
|
+
sortOrder: 0,
|
|
127
|
+
label: "pub welcome greeting",
|
|
128
|
+
// English source, like every Preset sentence: the Site translator makes it "Herzlich willkommen".
|
|
129
|
+
config: { text: "A warm welcome" },
|
|
130
|
+
}),
|
|
131
|
+
nodes.widget({
|
|
132
|
+
typeKey: "markdown",
|
|
133
|
+
id: SYNTHETIC_WELCOME_WIDGET_IDS.widgetMarkdown,
|
|
134
|
+
parentLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContentStack,
|
|
135
|
+
slotIndex: PHI_CMS_SEQUENTIAL_LAYOUT_SLOTS[0].slotIndex,
|
|
136
|
+
sortOrder: 0,
|
|
137
|
+
label: "pub welcome markdown widget",
|
|
138
|
+
config: {
|
|
139
|
+
sourceMode: "inline",
|
|
140
|
+
markdown: PHI_DEFAULT_PUB_WELCOME_MARKDOWN,
|
|
141
|
+
textAlign: "center",
|
|
142
|
+
/*
|
|
143
|
+
* A measure, not a column: the copy stops at 480 so a line stays readable on a wide screen,
|
|
144
|
+
* and `min(100%, 480px)` on the frame lets it shrink to a phone.
|
|
145
|
+
*/
|
|
146
|
+
maxSize: { width: PHI_DEFAULT_PUB_WELCOME_MEASURE },
|
|
147
|
+
effects: {
|
|
148
|
+
/*
|
|
149
|
+
* Held until the page has arrived: this Widget's own copy is streamed, and the button below
|
|
150
|
+
* it would otherwise stand in the gap and be pushed down when the copy lands.
|
|
151
|
+
*/
|
|
152
|
+
transitionTrigger: "on_ready",
|
|
153
|
+
transitions: [
|
|
154
|
+
{ type: "fade", mode: "in", durationMs: 900, easing: "ease-out" },
|
|
155
|
+
{ type: "slide", mode: "in", direction: "top", distance: 48, durationMs: 900, easing: "ease-out" },
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
}),
|
|
160
|
+
nodes.widget({
|
|
161
|
+
typeKey: "button",
|
|
162
|
+
id: SYNTHETIC_WELCOME_WIDGET_IDS.widgetReadMore,
|
|
163
|
+
parentLayoutNodeId: SYNTHETIC_WELCOME_LAYOUT_IDS.layoutContentStack,
|
|
164
|
+
slotIndex: PHI_CMS_SEQUENTIAL_LAYOUT_SLOTS[1].slotIndex,
|
|
165
|
+
sortOrder: 0,
|
|
166
|
+
label: "pub welcome read more button",
|
|
167
|
+
config: {
|
|
168
|
+
key: "read-more",
|
|
169
|
+
label: "Read more...",
|
|
170
|
+
variant: "primary",
|
|
171
|
+
/*
|
|
172
|
+
* A link, not a command: it renders a real anchor, which works before hydration.
|
|
173
|
+
*
|
|
174
|
+
* Named by reference, so the address it resolves to is whatever that Page answers on -- and
|
|
175
|
+
* whichever Module holds it. A path typed here pointed at the base Page even where a Site
|
|
176
|
+
* package had covered it, and went nowhere the day somebody moved it.
|
|
177
|
+
*/
|
|
178
|
+
linkTarget: {
|
|
179
|
+
kind: "page",
|
|
180
|
+
reference: PHI_PUBLIC_BASE_PAGE_REFERENCES.home,
|
|
181
|
+
},
|
|
182
|
+
/* A beat behind the copy, so the page reads before it offers the way on. */
|
|
183
|
+
effects: {
|
|
184
|
+
transitionTrigger: "on_ready",
|
|
185
|
+
transitions: [
|
|
186
|
+
{ type: "fade", mode: "in", durationMs: 700, delayMs: 450, easing: "ease-out" },
|
|
187
|
+
{ type: "slide", mode: "in", direction: "bottom", distance: 24, durationMs: 700, delayMs: 450, easing: "ease-out" },
|
|
188
|
+
],
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
}),
|
|
192
|
+
],
|
|
193
|
+
};
|
|
194
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createPhiPageReference } from "../../types/references";
|
|
2
|
+
/**
|
|
3
|
+
* The Public base Pages a package may link to, named once.
|
|
4
|
+
*
|
|
5
|
+
* A Module that points at one of them has to say which, and a string typed at the call site is the same
|
|
6
|
+
* fragility as a path: nothing checks it, and a preset key that is renamed leaves a reference resolving
|
|
7
|
+
* to nothing. The base descriptors in `area-base-presets.ts` read their keys from here, so the two
|
|
8
|
+
* cannot drift.
|
|
9
|
+
*
|
|
10
|
+
* Kept apart from those descriptors on purpose. They import every base Page tree, and
|
|
11
|
+
* `@phis/ui/references` hands these keys to package Modules: importing them from beside the trees made
|
|
12
|
+
* every Module that linked to a base Page compile the whole first-party catalog with it.
|
|
13
|
+
*/
|
|
14
|
+
export declare const PHI_PUBLIC_BASE_PAGE_PRESET_KEYS: {
|
|
15
|
+
readonly welcome: "public-welcome-page";
|
|
16
|
+
readonly home: "public-home-page";
|
|
17
|
+
readonly terms: "public-terms-page";
|
|
18
|
+
readonly contact: "public-contact-page";
|
|
19
|
+
readonly unsubscribe: "public-unsubscribe-page";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Ready-made references to the Pages every Site has, for a Module that links to one.
|
|
23
|
+
*
|
|
24
|
+
* The Public base brings a welcome, a home, terms and a contact Page, and a package Module may
|
|
25
|
+
* reasonably point at any of them -- phis.dev's closing line does exactly that. Without this it would
|
|
26
|
+
* either type a path, which goes stale and cannot say which Module's Page it means where one covers
|
|
27
|
+
* another, or assemble a reference from a preset key it copied, which nothing checks.
|
|
28
|
+
*
|
|
29
|
+
* Computed rather than stored: a Module Page reference is a function of its identity alone, so these
|
|
30
|
+
* cost nothing and can never disagree with the descriptors they are derived from.
|
|
31
|
+
*/
|
|
32
|
+
export declare const PHI_PUBLIC_BASE_PAGE_REFERENCES: Readonly<Record<keyof typeof PHI_PUBLIC_BASE_PAGE_PRESET_KEYS, ReturnType<typeof createPhiPageReference>>>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createPhiPageReference } from "../../types/references";
|
|
2
|
+
import { PHI_SHARED_PACKAGE_NAME } from "../../constants/package";
|
|
3
|
+
import { createPhiRuntimeModuleId } from "../../constants/module-identity";
|
|
4
|
+
/**
|
|
5
|
+
* The Public base Pages a package may link to, named once.
|
|
6
|
+
*
|
|
7
|
+
* A Module that points at one of them has to say which, and a string typed at the call site is the same
|
|
8
|
+
* fragility as a path: nothing checks it, and a preset key that is renamed leaves a reference resolving
|
|
9
|
+
* to nothing. The base descriptors in `area-base-presets.ts` read their keys from here, so the two
|
|
10
|
+
* cannot drift.
|
|
11
|
+
*
|
|
12
|
+
* Kept apart from those descriptors on purpose. They import every base Page tree, and
|
|
13
|
+
* `@phis/ui/references` hands these keys to package Modules: importing them from beside the trees made
|
|
14
|
+
* every Module that linked to a base Page compile the whole first-party catalog with it.
|
|
15
|
+
*/
|
|
16
|
+
export const PHI_PUBLIC_BASE_PAGE_PRESET_KEYS = {
|
|
17
|
+
welcome: "public-welcome-page",
|
|
18
|
+
home: "public-home-page",
|
|
19
|
+
terms: "public-terms-page",
|
|
20
|
+
contact: "public-contact-page",
|
|
21
|
+
unsubscribe: "public-unsubscribe-page",
|
|
22
|
+
};
|
|
23
|
+
// Named by id, as data, for the same reason: `public/ids` would bind the door to the Module folder.
|
|
24
|
+
const PHI_PUBLIC_RUNTIME_MODULE_ID = createPhiRuntimeModuleId(PHI_SHARED_PACKAGE_NAME, "public");
|
|
25
|
+
/**
|
|
26
|
+
* Ready-made references to the Pages every Site has, for a Module that links to one.
|
|
27
|
+
*
|
|
28
|
+
* The Public base brings a welcome, a home, terms and a contact Page, and a package Module may
|
|
29
|
+
* reasonably point at any of them -- phis.dev's closing line does exactly that. Without this it would
|
|
30
|
+
* either type a path, which goes stale and cannot say which Module's Page it means where one covers
|
|
31
|
+
* another, or assemble a reference from a preset key it copied, which nothing checks.
|
|
32
|
+
*
|
|
33
|
+
* Computed rather than stored: a Module Page reference is a function of its identity alone, so these
|
|
34
|
+
* cost nothing and can never disagree with the descriptors they are derived from.
|
|
35
|
+
*/
|
|
36
|
+
export const PHI_PUBLIC_BASE_PAGE_REFERENCES = Object.freeze(Object.fromEntries(Object.entries(PHI_PUBLIC_BASE_PAGE_PRESET_KEYS).map(([name, presetKey]) => [
|
|
37
|
+
name,
|
|
38
|
+
createPhiPageReference({
|
|
39
|
+
kind: "module",
|
|
40
|
+
ownerModuleId: PHI_PUBLIC_RUNTIME_MODULE_ID,
|
|
41
|
+
presetKey,
|
|
42
|
+
}),
|
|
43
|
+
])));
|
|
@@ -5,8 +5,9 @@ import { assertPhiRuntimeModule, buildPhiRuntimeModuleLayoutType, buildPhiRuntim
|
|
|
5
5
|
import { readPhiRuntimeTreeRenderMode, resolvePhiRuntimeWidgetImplementationMode, } from "./render-mode";
|
|
6
6
|
import { resolvePhiRuntimeModuleServerBinding } from "./server-capabilities";
|
|
7
7
|
import { PHI_VIEWER_ACCESS_ANYONE, } from "../../types/access";
|
|
8
|
+
import { stripRenderableBlockDefaults } from "../../helpers/renderable-block-serialization";
|
|
8
9
|
import { PhiCmsWidgetType } from "../../constants/cms-widget-types";
|
|
9
|
-
import { parsePhiFormWidgetConfig } from "
|
|
10
|
+
import { parsePhiFormWidgetConfig } from "../../components/forms/form-widget-config";
|
|
10
11
|
function loadRuntimeWidgetPlugin(entry) {
|
|
11
12
|
return entry.loadRuntime();
|
|
12
13
|
}
|
|
@@ -16,13 +17,6 @@ function loadPreviewWidgetPlugin(entry) {
|
|
|
16
17
|
function loadLayoutPlugin(entry) {
|
|
17
18
|
return entry.loadRuntime();
|
|
18
19
|
}
|
|
19
|
-
function loadUiProvider(catalogEntry) {
|
|
20
|
-
const loader = catalogEntry.loadUiProvider;
|
|
21
|
-
if (!loader) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return loader();
|
|
25
|
-
}
|
|
26
20
|
function loadModule(catalog, moduleId) {
|
|
27
21
|
const catalogEntry = catalog.get(moduleId);
|
|
28
22
|
if (!catalogEntry) {
|
|
@@ -63,6 +57,10 @@ function loadModule(catalog, moduleId) {
|
|
|
63
57
|
JSON.stringify(catalogEntry.definition.calendarAdapters ?? [])) {
|
|
64
58
|
throw new Error(`Runtime module "${moduleId}" Calendar adapter descriptors do not match its catalog definition.`);
|
|
65
59
|
}
|
|
60
|
+
if (JSON.stringify(runtimeModule.videoProviders ?? []) !==
|
|
61
|
+
JSON.stringify(catalogEntry.definition.videoProviders ?? [])) {
|
|
62
|
+
throw new Error(`Runtime module "${moduleId}" video provider descriptors do not match its catalog definition.`);
|
|
63
|
+
}
|
|
66
64
|
return runtimeModule;
|
|
67
65
|
});
|
|
68
66
|
}
|
|
@@ -120,6 +118,7 @@ export async function resolvePhiRuntimeModuleSet({ catalog, moduleIds, area, ser
|
|
|
120
118
|
const layoutDefinitionsByType = new Map();
|
|
121
119
|
const dataProviderDescriptorsByKey = new Map();
|
|
122
120
|
const calendarAdapterDescriptorsByKey = new Map();
|
|
121
|
+
const videoProviderDescriptorsByKey = new Map();
|
|
123
122
|
const formFieldTypeProviderDescriptorsByKey = new Map();
|
|
124
123
|
const formValidationProviderDescriptorsByKey = new Map();
|
|
125
124
|
const formHandlerProviderDescriptorsByKey = new Map();
|
|
@@ -172,6 +171,12 @@ export async function resolvePhiRuntimeModuleSet({ catalog, moduleIds, area, ser
|
|
|
172
171
|
}
|
|
173
172
|
calendarAdapterDescriptorsByKey.set(descriptor.key, descriptor);
|
|
174
173
|
}
|
|
174
|
+
for (const descriptor of definition.videoProviders ?? []) {
|
|
175
|
+
if (videoProviderDescriptorsByKey.has(descriptor.key)) {
|
|
176
|
+
throw new Error(`Video provider "${descriptor.key}" is owned by more than one runtime module.`);
|
|
177
|
+
}
|
|
178
|
+
videoProviderDescriptorsByKey.set(descriptor.key, descriptor);
|
|
179
|
+
}
|
|
175
180
|
for (const descriptor of definition.formProviders?.fieldTypes ?? []) {
|
|
176
181
|
if (formFieldTypeProviderDescriptorsByKey.has(descriptor.key)) {
|
|
177
182
|
throw new Error(`Form field type provider "${descriptor.key}" is owned by more than one runtime module.`);
|
|
@@ -230,6 +235,7 @@ export async function resolvePhiRuntimeModuleSet({ catalog, moduleIds, area, ser
|
|
|
230
235
|
layoutDefinitionsByType,
|
|
231
236
|
dataProviderDescriptorsByKey,
|
|
232
237
|
calendarAdapterDescriptorsByKey,
|
|
238
|
+
videoProviderDescriptorsByKey,
|
|
233
239
|
formFieldTypeProviderDescriptorsByKey,
|
|
234
240
|
formValidationProviderDescriptorsByKey,
|
|
235
241
|
formHandlerProviderDescriptorsByKey,
|
|
@@ -509,7 +515,7 @@ export async function resolvePhiRuntimeRenderRegistry({ catalog, moduleSet, tree
|
|
|
509
515
|
return null;
|
|
510
516
|
}
|
|
511
517
|
}));
|
|
512
|
-
const [runtimeWidgetPluginResults, previewWidgetPluginResults, layoutPluginResults
|
|
518
|
+
const [runtimeWidgetPluginResults, previewWidgetPluginResults, layoutPluginResults] = await Promise.all([
|
|
513
519
|
loadRuntimeWidgetEntries(runtimeWidgetEntries, runtimeWidgetRenderIssuesByType),
|
|
514
520
|
loadPreviewWidgetEntries(previewWidgetEntries, previewWidgetRenderIssuesByType),
|
|
515
521
|
Promise.all(layoutEntries.map(async ([type, entry]) => {
|
|
@@ -532,60 +538,11 @@ export async function resolvePhiRuntimeRenderRegistry({ catalog, moduleSet, tree
|
|
|
532
538
|
return null;
|
|
533
539
|
}
|
|
534
540
|
})),
|
|
535
|
-
Promise.all([...usedModuleIds].flatMap((moduleId) => {
|
|
536
|
-
const catalogEntry = catalog.get(moduleId);
|
|
537
|
-
return catalogEntry?.loadUiProvider ? [[moduleId, catalogEntry]] : [];
|
|
538
|
-
}).map(async ([moduleId, catalogEntry]) => {
|
|
539
|
-
try {
|
|
540
|
-
const provider = await loadUiProvider(catalogEntry);
|
|
541
|
-
return { moduleId, provider, error: null };
|
|
542
|
-
}
|
|
543
|
-
catch (error) {
|
|
544
|
-
return { moduleId, provider: null, error };
|
|
545
|
-
}
|
|
546
|
-
})),
|
|
547
541
|
]);
|
|
548
542
|
const runtimeWidgetPluginsByType = new Map(runtimeWidgetPluginResults.filter((entry) => entry != null));
|
|
549
543
|
const previewWidgetPluginsByType = new Map(previewWidgetPluginResults.filter((entry) => entry != null));
|
|
550
544
|
const layoutPluginsByType = new Map(layoutPluginResults.filter((entry) => entry != null));
|
|
551
|
-
const
|
|
552
|
-
for (const result of uiProviderResults) {
|
|
553
|
-
if (result.error) {
|
|
554
|
-
for (const [type, entry] of widgetEntries) {
|
|
555
|
-
if (entry.ownerModuleId !== result.moduleId) {
|
|
556
|
-
continue;
|
|
557
|
-
}
|
|
558
|
-
runtimeWidgetPluginsByType.delete(type);
|
|
559
|
-
previewWidgetPluginsByType.delete(type);
|
|
560
|
-
const issue = reportRenderIssue({
|
|
561
|
-
code: "renderer-load-failed",
|
|
562
|
-
kind: "widget",
|
|
563
|
-
type,
|
|
564
|
-
moduleId: result.moduleId,
|
|
565
|
-
detail: `Module UI provider failed: ${readRenderIssueDetail(result.error)}`,
|
|
566
|
-
}, result.error);
|
|
567
|
-
runtimeWidgetRenderIssuesByType.set(type, issue);
|
|
568
|
-
previewWidgetRenderIssuesByType.set(type, issue);
|
|
569
|
-
}
|
|
570
|
-
for (const [type, entry] of layoutEntries) {
|
|
571
|
-
if (entry.ownerModuleId !== result.moduleId) {
|
|
572
|
-
continue;
|
|
573
|
-
}
|
|
574
|
-
layoutPluginsByType.delete(type);
|
|
575
|
-
renderIssuesByLayoutType.set(type, reportRenderIssue({
|
|
576
|
-
code: "renderer-load-failed",
|
|
577
|
-
kind: "layout",
|
|
578
|
-
type,
|
|
579
|
-
moduleId: result.moduleId,
|
|
580
|
-
detail: `Module UI provider failed: ${readRenderIssueDetail(result.error)}`,
|
|
581
|
-
}, result.error));
|
|
582
|
-
}
|
|
583
|
-
continue;
|
|
584
|
-
}
|
|
585
|
-
if (result.provider) {
|
|
586
|
-
uiProvidersByModuleId.set(result.moduleId, result.provider);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
545
|
+
const uiProviderModuleIds = new Set([...usedModuleIds].filter((moduleId) => catalog.get(moduleId)?.uiProvider === true));
|
|
589
546
|
return {
|
|
590
547
|
runtimeModuleCatalog: catalog,
|
|
591
548
|
serverCapabilities,
|
|
@@ -616,8 +573,26 @@ export async function resolvePhiRuntimeRenderRegistry({ catalog, moduleSet, tree
|
|
|
616
573
|
renderIssuesByLayoutType,
|
|
617
574
|
ownerModuleIdByWidgetType: new Map(widgetEntries.map(([type, entry]) => [type, entry.ownerModuleId])),
|
|
618
575
|
widgetSlotSizePoliciesByType: new Map(widgetEntries.map(([type, entry]) => [type, entry.definition.slotSizePolicy])),
|
|
576
|
+
/*
|
|
577
|
+
* What a Widget states about its own block, for the nodes that state nothing.
|
|
578
|
+
*
|
|
579
|
+
* A Widget's `defaultConfig` reaches a node two ways today: the Builder writes it into the node it
|
|
580
|
+
* creates, and the Inspector reads it under the node it edits. A Preset tree reaches it neither way
|
|
581
|
+
* -- its nodes are written by hand -- so a Form placed by a Preset rendered without the reading
|
|
582
|
+
* measure its Widget declares, while the same Form dropped in the Builder carried it. The third
|
|
583
|
+
* reader is the slot frame, and this is what it reads.
|
|
584
|
+
*
|
|
585
|
+
* Only the block base, taken with `stripRenderableBlockDefaults`, which is exactly "what this block
|
|
586
|
+
* says beyond the house answer": a size, a cap, a ground, a border. A Widget's own fields stay out
|
|
587
|
+
* -- a Segmented's field key, an Icon's glyph, a Table's source are answered by its parser where a
|
|
588
|
+
* node is silent, and inheriting those would change what a Preset means rather than how wide it is.
|
|
589
|
+
*/
|
|
590
|
+
widgetBlockDefaultsByType: new Map(widgetEntries.flatMap(([type, entry]) => {
|
|
591
|
+
const defaults = stripRenderableBlockDefaults(entry.definition.defaultConfig);
|
|
592
|
+
return Object.keys(defaults).length > 0 ? [[type, defaults]] : [];
|
|
593
|
+
})),
|
|
619
594
|
ownerModuleIdByLayoutType: new Map(layoutEntries.map(([type, entry]) => [type, entry.ownerModuleId])),
|
|
620
|
-
|
|
595
|
+
uiProviderModuleIds,
|
|
621
596
|
/*
|
|
622
597
|
* Every active Module's published facts, whether or not its Widgets happen to be on this page.
|
|
623
598
|
*
|