@phis/ui 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/cms/plugins.d.ts +1 -1
- package/cms.d.ts +1 -1
- package/components/calendar/gregory-calendar-adapter-client.js +1 -0
- package/components/cms/clients/phi-background-motion-layer-client.js +5 -2
- package/components/cms/phi-cms-area-render-scope.d.ts +1 -3
- package/components/cms/phi-cms-deferred-error-page.d.ts +19 -0
- package/components/cms/phi-cms-deferred-error-page.js +31 -0
- package/components/cms/phi-cms-error-fallback.d.ts +11 -0
- package/components/cms/phi-cms-error-fallback.js +35 -0
- package/components/cms/phi-cms-error-page.js +13 -32
- package/components/cms/phi-cms-layout-renderer.d.ts +12 -2
- package/components/cms/phi-cms-layout-renderer.js +140 -58
- package/components/cms/phi-cms-page-redirect.js +3 -5
- package/components/cms/phi-cms-page-render-scope.d.ts +52 -0
- package/components/cms/phi-cms-page-render-scope.js +94 -0
- package/components/cms/phi-cms-render-diagnostic-client.js +11 -3
- package/components/cms/phi-cms-root-layout.d.ts +2 -1
- package/components/cms/phi-cms-root-layout.js +67 -19
- package/components/cms/phi-cms-root-page.js +4 -32
- package/components/cms/phi-cms-root-slot-page.js +6 -38
- package/components/controls/phi-anchor-nav-control.d.ts +20 -0
- package/components/controls/phi-anchor-nav-control.js +12 -0
- package/components/controls/phi-avatar-control.js +2 -2
- package/components/controls/phi-background-control.d.ts +8 -8
- package/components/controls/phi-background-control.js +28 -51
- package/components/controls/phi-breadcrumb-control.d.ts +12 -0
- package/components/controls/phi-breadcrumb-control.js +7 -0
- package/components/controls/phi-bullet-list-control.d.ts +32 -0
- package/components/controls/phi-bullet-list-control.js +73 -0
- package/components/controls/phi-button-control.d.ts +8 -1
- package/components/controls/phi-button-control.js +9 -5
- package/components/controls/phi-button-types.d.ts +0 -1
- package/components/controls/phi-button-types.js +1 -9
- package/components/controls/phi-cascader-control.d.ts +22 -0
- package/components/controls/phi-cascader-control.js +62 -5
- package/components/controls/phi-collapse-control.d.ts +43 -0
- package/components/controls/phi-collapse-control.js +35 -0
- package/components/controls/phi-collection-header-control.js +3 -2
- package/components/controls/phi-color-control.js +9 -67
- package/components/controls/phi-color-field-control.d.ts +6 -1
- package/components/controls/phi-color-field-control.js +4 -2
- package/components/controls/phi-confirm-dialog.d.ts +2 -1
- package/components/controls/phi-control-option-content.d.ts +7 -3
- package/components/controls/phi-control-option-content.js +9 -4
- package/components/controls/phi-date-picker-control.js +3 -2
- package/components/controls/phi-description-tooltip-icon.js +2 -2
- package/components/controls/phi-dialog-control.d.ts +3 -3
- package/components/controls/phi-dialog-control.js +9 -2
- package/components/controls/phi-drag-handle-control.js +2 -2
- package/components/controls/phi-drawer-control-adapter.js +1 -1
- package/components/controls/phi-drawer-control.d.ts +3 -3
- package/components/controls/phi-expand-indicator.js +4 -3
- package/components/controls/phi-float-button-control.d.ts +39 -0
- package/components/controls/phi-float-button-control.js +73 -0
- package/components/controls/phi-form-control-contract.d.ts +9 -0
- package/components/controls/phi-form-control.js +68 -3
- package/components/controls/phi-icon-picker-control.js +17 -12
- package/components/controls/phi-image-control.d.ts +52 -0
- package/components/controls/phi-image-control.js +69 -0
- package/components/controls/phi-inline-text-editor.d.ts +6 -1
- package/components/controls/phi-inline-text-editor.js +15 -3
- package/components/controls/phi-labeled-control.d.ts +17 -2
- package/components/controls/phi-labeled-control.js +20 -2
- package/components/controls/phi-lightbox-image-control.d.ts +16 -0
- package/components/controls/phi-lightbox-image-control.js +12 -0
- package/components/controls/phi-mask-picker-control.js +5 -13
- package/components/controls/phi-media-asset-tile-control.js +3 -23
- package/components/controls/phi-media-picker-control.js +3 -3
- package/components/controls/phi-menu-control.d.ts +4 -9
- package/components/controls/phi-menu-control.js +45 -46
- package/components/controls/phi-modal-control-adapter.js +63 -1
- package/components/controls/phi-multi-select-control.js +11 -4
- package/components/controls/phi-number-control.js +4 -3
- package/components/controls/phi-options-provider.js +3 -6
- package/components/controls/phi-otp-control.js +4 -3
- package/components/controls/phi-overlay-control-contract.d.ts +3 -3
- package/components/controls/phi-padding-control.d.ts +0 -2
- package/components/controls/phi-padding-control.js +11 -13
- package/components/controls/phi-rate-control.js +3 -2
- package/components/controls/phi-result-control.d.ts +15 -0
- package/components/controls/phi-result-control.js +11 -0
- package/components/controls/phi-segmented-control.js +11 -4
- package/components/controls/phi-select-control.js +41 -9
- package/components/controls/phi-shadow-control.js +5 -1
- package/components/controls/phi-slider-control.d.ts +17 -4
- package/components/controls/phi-slider-control.js +33 -8
- package/components/controls/phi-steps-control.d.ts +40 -0
- package/components/controls/phi-steps-control.js +24 -0
- package/components/controls/phi-surface-control.d.ts +56 -0
- package/components/controls/phi-surface-control.js +109 -0
- package/components/controls/phi-switch-control.js +3 -2
- package/components/controls/phi-table-control.d.ts +2 -0
- package/components/controls/phi-table-control.js +69 -19
- package/components/controls/phi-text-control.d.ts +3 -5
- package/components/controls/phi-text-control.js +7 -5
- package/components/controls/phi-text-types.d.ts +8 -0
- package/components/controls/phi-theme-scope-control.d.ts +23 -0
- package/components/controls/phi-theme-scope-control.js +29 -0
- package/components/controls/phi-timeline-control.d.ts +32 -0
- package/components/controls/phi-timeline-control.js +33 -0
- package/components/controls/phi-toolbar-control.d.ts +1 -0
- package/components/controls/phi-toolbar-control.js +9 -1
- package/components/controls/phi-tour-control.d.ts +41 -0
- package/components/controls/phi-tour-control.js +29 -0
- package/components/controls/phi-tree-control.js +4 -3
- package/components/controls/phi-tree-select-control.js +11 -4
- package/components/controls/phi-video-embed-control.js +2 -2
- package/components/forms/auth-admin-settings-labels.d.ts +2 -0
- package/components/forms/auth-admin-settings-labels.js +4 -0
- package/components/forms/choice-form-field-controls.js +2 -2
- package/components/forms/compound-form-controls.js +29 -28
- package/components/forms/content-entry-curation-config.d.ts +12 -0
- package/components/forms/content-entry-curation-config.js +12 -0
- package/components/forms/content-entry-forms.d.ts +52 -0
- package/components/forms/content-entry-forms.js +328 -0
- package/components/forms/extended-form-field-controls.js +18 -1
- package/components/forms/form-descriptor-contract.d.ts +0 -9
- package/components/forms/form-descriptor-contract.js +1 -1
- package/components/forms/form-descriptor-runtime-client.js +86 -10
- package/components/forms/form-guard-client.d.ts +14 -1
- package/components/forms/form-guard-client.js +13 -2
- package/components/forms/form-labels.js +2 -1
- package/components/forms/form-provider-contract.d.ts +38 -0
- package/components/forms/form-provider-contract.js +41 -0
- package/components/forms/form-provider-registry.d.ts +9 -2
- package/components/forms/form-resolution.js +3 -5
- package/components/forms/form-widget-config.d.ts +5 -4
- package/components/forms/form-widget-config.js +3 -2
- package/components/forms/link-target-form-control.d.ts +10 -0
- package/components/forms/link-target-form-control.js +82 -0
- package/components/forms/phi-form-widget.js +2 -4
- package/components/forms/runtime-form-client.d.ts +0 -22
- package/components/forms/runtime-form-client.js +1 -1
- package/components/forms/runtime-form-controller-mount.js +6 -4
- package/components/forms/runtime-form-controller-requirement.d.ts +1 -11
- package/components/forms/runtime-form-controller-requirement.js +3 -3
- package/components/forms/shared-form-ids.d.ts +5 -0
- package/components/forms/shared-form-ids.js +5 -0
- package/components/forms/shared-form-loaders.d.ts +11 -2
- package/components/forms/shared-form-loaders.js +13 -3
- package/components/forms/shared-form-provider-registry.js +4 -0
- package/components/forms/storage-size.d.ts +0 -9
- package/components/forms/storage-size.js +1 -1
- package/components/forms/upload-form-control.d.ts +5 -0
- package/components/forms/upload-form-control.js +27 -7
- package/components/layouts/clients/phi-carousel-layout-client.d.ts +5 -17
- package/components/layouts/clients/phi-carousel-layout-client.js +36 -61
- package/components/layouts/clients/phi-collapsible-layout-client.d.ts +3 -1
- package/components/layouts/clients/phi-collapsible-layout-client.js +84 -81
- package/components/layouts/clients/phi-content-layout-client.d.ts +4 -33
- package/components/layouts/clients/phi-content-layout-client.js +7 -11
- package/components/layouts/clients/phi-flex-layout-client.d.ts +7 -0
- package/components/layouts/clients/phi-flex-layout-client.js +77 -51
- package/components/layouts/clients/phi-grid-layout-client.js +37 -38
- package/components/layouts/clients/phi-layout-anchored-overlay.d.ts +0 -1
- package/components/layouts/clients/phi-layout-anchored-overlay.js +3 -3
- package/components/layouts/clients/phi-sequence-slot-editor.d.ts +2 -3
- package/components/layouts/clients/phi-sequence-slot-editor.js +41 -38
- package/components/layouts/clients/phi-split-card-half.d.ts +28 -0
- package/components/layouts/clients/phi-split-card-half.js +33 -0
- package/components/layouts/clients/phi-split-card-layout-client.d.ts +12 -21
- package/components/layouts/clients/phi-split-card-layout-client.js +29 -51
- package/components/layouts/clients/phi-stack-layout-client.d.ts +2 -17
- package/components/layouts/clients/phi-stack-layout-client.js +67 -90
- package/components/layouts/clients/phi-three-column-layout-client.d.ts +3 -30
- package/components/layouts/clients/phi-three-column-layout-client.js +6 -10
- package/components/layouts/clients/use-phi-sequence-layout.d.ts +44 -0
- package/components/layouts/clients/use-phi-sequence-layout.js +69 -0
- package/components/layouts/layout-definitions.d.ts +64 -68
- package/components/layouts/layout-definitions.js +20 -34
- package/components/layouts/layout-slot-meta.d.ts +19 -0
- package/components/layouts/layout-slot-meta.js +34 -0
- package/components/layouts/phi-base-layout.d.ts +1 -1
- package/components/layouts/phi-base-layout.js +5 -8
- package/components/layouts/phi-flex-vertical-layout.d.ts +3 -2
- package/components/layouts/phi-flex-vertical-layout.js +2 -2
- package/components/layouts/phi-grid-contract.d.ts +30 -22
- package/components/layouts/phi-grid-contract.js +39 -38
- package/components/layouts/phi-layout-contract.d.ts +9 -14
- package/components/layouts/phi-layout-contract.js +5 -57
- package/components/layouts/phi-layout-signal-surface.d.ts +26 -0
- package/components/layouts/phi-layout-signal-surface.js +15 -0
- package/components/layouts/phi-layout-surface-box.d.ts +32 -0
- package/components/layouts/phi-layout-surface-box.js +41 -0
- package/components/layouts/phi-layout-view-model.d.ts +6 -2
- package/components/layouts/phi-layout-view-model.js +16 -26
- package/components/layouts/phi-masonry-columns.d.ts +18 -0
- package/components/layouts/phi-masonry-columns.js +77 -0
- package/components/layouts/phi-masonry-contract.d.ts +45 -0
- package/components/layouts/phi-masonry-contract.js +62 -0
- package/components/layouts/phi-masonry-layout.d.ts +9 -2
- package/components/layouts/phi-masonry-layout.js +27 -21
- package/components/layouts/phi-structure-region-layout.js +2 -2
- package/components/layouts/plugins/carousel-layout-plugin.js +2 -31
- package/components/layouts/plugins/collapsible-layout-plugin.js +16 -3
- package/components/layouts/plugins/content-layout-plugin.js +1 -1
- package/components/layouts/plugins/flex-layout-plugin.js +1 -1
- package/components/layouts/plugins/flex-vertical-layout-plugin.js +1 -1
- package/components/layouts/plugins/grid-layout-plugin.js +1 -1
- package/components/layouts/plugins/masonry-layout-plugin.js +1 -1
- package/components/layouts/plugins/split-card-layout-plugin.js +1 -1
- package/components/layouts/plugins/stack-layout-plugin.js +2 -25
- package/components/layouts/plugins/three-column-layout-plugin.js +1 -1
- package/components/layouts/split-card-geometry.d.ts +14 -0
- package/components/layouts/split-card-geometry.js +32 -0
- package/components/layouts/stack-signals.d.ts +5 -0
- package/components/layouts/stack-signals.js +12 -4
- package/components/layouts/use-phi-slot-sequence.d.ts +0 -9
- package/components/layouts/use-phi-slot-sequence.js +2 -2
- package/components/media/asset-type-label.d.ts +6 -0
- package/components/media/asset-type-label.js +27 -0
- package/components/media/background-asset-projection.d.ts +3 -17
- package/components/media/background-asset-projection.js +15 -6
- package/components/media/focal-rect.d.ts +20 -1
- package/components/media/focal-rect.js +37 -2
- package/components/media/image-presentation.d.ts +12 -2
- package/components/media/image-presentation.js +33 -6
- package/components/media/media-folder-options.d.ts +2 -0
- package/components/media/media-folder-options.js +5 -0
- package/components/media/media-space-selection.d.ts +0 -27
- package/components/media/media-space-selection.js +2 -2
- package/components/media/media-upload-flow.d.ts +17 -14
- package/components/media/media-upload-flow.js +135 -26
- package/components/media/phi-area-upload-widget.js +30 -27
- package/components/media/phi-asset-focal-rect-widget.js +0 -1
- package/components/media/phi-asset-inspector-section.js +6 -9
- package/components/media/phi-image-preview-data.d.ts +0 -10
- package/components/media/phi-image-preview-data.js +1 -1
- package/components/media/phi-media-kind-icon.js +10 -10
- package/components/media/phi-media-picker-binding.js +2 -2
- package/components/media/phi-media-restricted-icon.js +2 -2
- package/components/media/phi-media-upload.d.ts +13 -1
- package/components/media/phi-media-upload.js +51 -7
- package/components/media/phi-site-font-assets.d.ts +8 -1
- package/components/media/phi-site-font-assets.js +20 -6
- package/components/motion/phi-sequence-viewport.js +17 -4
- package/components/motion/use-phi-sequence-autoplay.d.ts +26 -0
- package/components/motion/use-phi-sequence-autoplay.js +52 -0
- package/components/motion/use-phi-sequence-gestures.d.ts +24 -0
- package/components/motion/use-phi-sequence-gestures.js +59 -0
- package/components/overlays/phi-dialog-body-context.d.ts +5 -0
- package/components/overlays/phi-dialog-body-context.js +17 -0
- package/components/overlays/phi-overlay-container-client.js +37 -15
- package/components/regions/clients/cms-region-container-client.d.ts +6 -1
- package/components/regions/clients/cms-region-container-client.js +66 -28
- package/components/regions/clients/use-phi-region-reveal.d.ts +28 -0
- package/components/regions/clients/use-phi-region-reveal.js +104 -0
- package/components/regions/phi-cms-region-container.d.ts +4 -1
- package/components/regions/phi-cms-region-container.js +13 -3
- package/components/regions/phi-cms-region-shell.d.ts +13 -1
- package/components/regions/phi-cms-region-shell.js +98 -51
- package/components/regions/phi-cms-region-static.js +5 -2
- package/components/regions/presets/content-entry-editor-page-tree.d.ts +48 -0
- package/components/regions/presets/content-entry-editor-page-tree.js +749 -0
- package/components/regions/presets/content-entry-editor-tour.d.ts +19 -0
- package/components/regions/presets/content-entry-editor-tour.js +71 -0
- package/components/regions/presets/content-entry-public-page-trees.d.ts +52 -0
- package/components/regions/presets/content-entry-public-page-trees.js +146 -0
- package/components/regions/presets/phi-area-root-redirect-tree.js +7 -1
- package/components/regions/presets/phi-area-shell-preset-nodes.d.ts +49 -0
- package/components/regions/presets/phi-area-shell-preset-nodes.js +160 -0
- package/components/regions/presets/phi-base-page-column.d.ts +26 -0
- package/components/regions/presets/phi-base-page-column.js +42 -0
- package/components/regions/presets/phi-base-page-layout.d.ts +3 -3
- package/components/regions/presets/phi-base-page-layout.js +4 -3
- package/components/regions/presets/phi-settings-page-shell-tree.d.ts +15 -5
- package/components/regions/presets/phi-settings-page-shell-tree.js +34 -28
- package/components/root/phi-config-provider.d.ts +20 -2
- package/components/root/phi-config-provider.js +26 -4
- package/components/root/phi-dayjs-locale.d.ts +0 -7
- package/components/root/phi-dayjs-locale.js +4 -6
- package/components/root/phi-root-background.d.ts +9 -0
- package/components/root/phi-root-background.js +14 -3
- package/components/root/phi-root-layout.d.ts +1 -0
- package/components/root/phi-root-layout.js +32 -27
- package/components/root/phi-root-live-theme-provider.d.ts +1 -2
- package/components/root/phi-root-live-theme-provider.js +9 -3
- package/components/root/phi-root-theme-resolver.d.ts +4 -0
- package/components/root/phi-root-theme-resolver.js +65 -3
- package/components/root/phi-shell-chrome-overlay.d.ts +47 -22
- package/components/root/phi-shell-chrome-overlay.js +61 -20
- package/components/root/phi-theme-tone-source.d.ts +19 -0
- package/components/root/phi-theme-tone-source.js +7 -0
- package/components/runtime/core-runtime-controller-address.d.ts +0 -1
- package/components/runtime/core-runtime-controller-address.js +1 -1
- package/components/runtime/mounted-runtime-controller.js +5 -2
- package/components/runtime/phi-restored-request-runtime.d.ts +12 -0
- package/components/runtime/phi-restored-request-runtime.js +12 -0
- package/components/runtime/renderable-block-runtime.d.ts +10 -4
- package/components/runtime/renderable-block-runtime.js +53 -121
- package/components/runtime/runtime-controller-config-overlays.d.ts +19 -0
- package/components/runtime/runtime-controller-config-overlays.js +76 -0
- package/components/runtime/runtime-controller-materialization.d.ts +37 -1
- package/components/runtime/runtime-controller-materialization.js +87 -13
- package/components/runtime/runtime-controller-server-host.d.ts +4 -2
- package/components/runtime/runtime-controller-server-host.js +4 -2
- package/components/runtime/runtime-module-authoring-host.js +2 -1
- package/components/runtime/runtime-module-context.d.ts +2 -1
- package/components/runtime/runtime-page-condition-state.js +3 -2
- package/components/runtime/runtime-signal-identity.d.ts +11 -1
- package/components/runtime/runtime-signal-identity.js +28 -1
- package/components/runtime/runtime-signal-partition.d.ts +9 -0
- package/components/runtime/runtime-signal-partition.js +4 -0
- package/components/runtime/runtime-signal-registry.d.ts +1 -1
- package/components/runtime/runtime-signal-registry.js +2 -5
- package/components/runtime/runtime-visual-anchors.d.ts +48 -0
- package/components/runtime/runtime-visual-anchors.js +128 -0
- package/components/runtime/use-phi-pathname.d.ts +6 -0
- package/components/runtime/use-phi-pathname.js +11 -0
- package/components/runtime/user-state-client.js +2 -1
- package/components/shell/phi-antd-icon.d.ts +117 -60
- package/components/shell/phi-antd-icon.js +234 -61
- package/components/shell/phi-cms-shell.d.ts +7 -1
- package/components/shell/phi-cms-shell.js +4 -3
- package/components/shell/phi-icon.d.ts +7 -2
- package/components/shell/phi-icon.js +5 -5
- package/components/shell/phi-locale-switch.js +3 -2
- package/components/shell/phi-widget-icon.js +28 -28
- package/components/state/history-store.d.ts +28 -16
- package/components/state/history-store.js +10 -4
- package/components/surface/phi-surface-ground.d.ts +16 -0
- package/components/surface/phi-surface-ground.js +54 -0
- package/components/surface/phi-surface-tone-scope.d.ts +14 -0
- package/components/surface/phi-surface-tone-scope.js +11 -0
- package/components/surface/phi-surface-tone.d.ts +18 -0
- package/components/surface/phi-surface-tone.js +36 -0
- package/components/tables/client/phi-table-binding.d.ts +4 -2
- package/components/tables/client/phi-table-binding.js +15 -11
- package/components/trees/client/phi-tree-binding.js +85 -7
- package/components/widgets/builder/phi-static-options-picker.d.ts +1 -0
- package/components/widgets/builder/phi-static-options-picker.js +63 -195
- package/components/widgets/builder/phi-static-rows-editor.d.ts +65 -0
- package/components/widgets/builder/phi-static-rows-editor.js +190 -0
- package/components/widgets/builder/phi-static-timeline-picker.d.ts +7 -0
- package/components/widgets/builder/phi-static-timeline-picker.js +91 -0
- package/components/widgets/client/description-editor-sections.d.ts +1 -1
- package/components/widgets/client/external-document-editor.js +24 -9
- package/components/widgets/client/html-editor-image-node.d.ts +0 -8
- package/components/widgets/client/html-editor-image-node.js +2 -2
- package/components/widgets/client/html-editor.js +13 -2
- package/components/widgets/client/shared/core-options-providers.js +4 -7
- package/components/widgets/client/shared/description-items.d.ts +5 -4
- package/components/widgets/client/shared/description-items.js +9 -4
- package/components/widgets/client/shared/phi-choice-controller.d.ts +1 -1
- package/components/widgets/client/shared/phi-choice-controller.js +11 -4
- package/components/widgets/client/shared/phi-command-buttons-authoring-tools.d.ts +11 -0
- package/components/widgets/client/shared/phi-command-buttons-authoring-tools.js +40 -0
- package/components/widgets/client/shared/phi-command-buttons.d.ts +20 -0
- package/components/widgets/client/shared/phi-command-buttons.js +286 -0
- package/components/widgets/client/shared/phi-link-target-control.d.ts +44 -0
- package/components/widgets/client/shared/phi-link-target-control.js +93 -0
- package/components/widgets/client/shared/phi-mask-picker.js +65 -34
- package/components/widgets/client/shared/phi-page-reference-picker.js +2 -2
- package/components/widgets/client/shared/phi-rendered-value.d.ts +0 -14
- package/components/widgets/client/shared/phi-rendered-value.js +1 -1
- package/components/widgets/client/shared/phi-static-table-provider.d.ts +1 -12
- package/components/widgets/client/shared/phi-static-table-provider.js +16 -17
- package/components/widgets/client/shared/phi-table-provider-request.d.ts +11 -0
- package/components/widgets/client/shared/phi-table-provider-request.js +43 -0
- package/components/widgets/client/shared/phi-timeline-provider.d.ts +36 -0
- package/components/widgets/client/shared/phi-timeline-provider.js +115 -0
- package/components/widgets/client/shared/phi-widget-image-tool-button.d.ts +0 -1
- package/components/widgets/client/shared/phi-widget-image-tool-button.js +2 -4
- package/components/widgets/client/shared/phi-widget-tool-buttons.d.ts +17 -2
- package/components/widgets/client/shared/phi-widget-tool-buttons.js +53 -45
- package/components/widgets/config/background-pattern-live.js +4 -14
- package/components/widgets/config/background.d.ts +33 -11
- package/components/widgets/config/background.js +86 -149
- package/components/widgets/config/choice-shared.d.ts +2 -3
- package/components/widgets/config/choice-shared.js +1 -1
- package/components/widgets/config/command-buttons.d.ts +48 -0
- package/components/widgets/config/command-buttons.js +207 -0
- package/components/widgets/config/common-action-field.d.ts +52 -0
- package/components/widgets/config/common-action-field.js +57 -0
- package/components/widgets/config/control-signal-config.d.ts +26 -0
- package/components/widgets/config/control-signal-config.js +21 -13
- package/components/widgets/config/geometry.js +7 -5
- package/components/widgets/config/image-source-parser.d.ts +0 -2
- package/components/widgets/config/image-source-parser.js +2 -5
- package/components/widgets/config/image-variant-options.d.ts +5 -0
- package/components/widgets/config/image-variant-options.js +14 -0
- package/components/widgets/config/mask.d.ts +2 -1
- package/components/widgets/config/mask.js +11 -2
- package/components/widgets/config/parser-primitives.d.ts +1 -10
- package/components/widgets/config/parser-primitives.js +2 -42
- package/components/widgets/config/search-shared.d.ts +1 -6
- package/components/widgets/config/search-shared.js +1 -51
- package/components/widgets/config/spacing-options.d.ts +4 -4
- package/components/widgets/config/spacing-options.js +10 -11
- package/components/widgets/config/stack-tabs.d.ts +0 -1
- package/components/widgets/config/stack-tabs.js +1 -1
- package/components/widgets/helpers/font-size.js +6 -1
- package/components/widgets/helpers/html-content.js +2 -1
- package/components/widgets/helpers/internal-reference-resolver.server.js +8 -7
- package/components/widgets/label-sets/admin-locales.d.ts +4 -0
- package/components/widgets/label-sets/admin-locales.js +8 -0
- package/components/widgets/label-sets/admin-settings.d.ts +4 -0
- package/components/widgets/label-sets/admin-settings.js +8 -0
- package/components/widgets/label-sets/admin-users.d.ts +7 -0
- package/components/widgets/label-sets/admin-users.js +14 -0
- package/components/widgets/label-sets/authoring-tools.d.ts +0 -2
- package/components/widgets/label-sets/authoring-tools.js +78 -6
- package/components/widgets/label-sets/background.js +11 -13
- package/components/widgets/label-sets/builder-modules.js +6 -0
- package/components/widgets/label-sets/card.d.ts +5 -0
- package/components/widgets/label-sets/card.js +17 -0
- package/components/widgets/label-sets/color-picker.d.ts +0 -2
- package/components/widgets/label-sets/color-picker.js +0 -4
- package/components/widgets/label-sets/common-controls.d.ts +0 -2
- package/components/widgets/label-sets/common-controls.js +1 -1
- package/components/widgets/label-sets/content-entries.d.ts +128 -0
- package/components/widgets/label-sets/content-entries.js +197 -0
- package/components/widgets/label-sets/gallery.d.ts +4 -0
- package/components/widgets/label-sets/gallery.js +31 -0
- package/components/widgets/label-sets/history.d.ts +5 -0
- package/components/widgets/label-sets/history.js +106 -0
- package/components/widgets/label-sets/icon-picker.d.ts +0 -2
- package/components/widgets/label-sets/icon-picker.js +0 -4
- package/components/widgets/label-sets/inspector.js +124 -1
- package/components/widgets/label-sets/logout.d.ts +4 -0
- package/components/widgets/label-sets/logout.js +21 -0
- package/components/widgets/label-sets/profile.d.ts +1 -0
- package/components/widgets/label-sets/profile.js +2 -0
- package/components/widgets/label-sets/revisions.js +20 -0
- package/components/widgets/label-sets/theme-mode-switch.d.ts +4 -0
- package/components/widgets/label-sets/theme-mode-switch.js +19 -0
- package/components/widgets/label-sets/tour.d.ts +4 -0
- package/components/widgets/label-sets/tour.js +29 -0
- package/components/widgets/label-types/authoring-tools.d.ts +44 -1
- package/components/widgets/label-types/authoring-tools.js +42 -1
- package/components/widgets/label-types/background.d.ts +2 -3
- package/components/widgets/label-types/background.js +3 -4
- package/components/widgets/label-types/builder-modules.d.ts +5 -0
- package/components/widgets/label-types/builder-modules.js +4 -0
- package/components/widgets/label-types/card.d.ts +5 -0
- package/components/widgets/label-types/card.js +3 -0
- package/components/widgets/label-types/gallery.d.ts +13 -0
- package/components/widgets/label-types/gallery.js +10 -0
- package/components/widgets/label-types/history.d.ts +48 -0
- package/components/widgets/label-types/history.js +66 -0
- package/components/widgets/label-types/inspector.d.ts +84 -0
- package/components/widgets/label-types/inspector.js +66 -0
- package/components/widgets/label-types/logout.d.ts +5 -0
- package/components/widgets/label-types/logout.js +1 -0
- package/components/widgets/label-types/revisions.d.ts +15 -0
- package/components/widgets/label-types/revisions.js +14 -4
- package/components/widgets/label-types/theme-mode-switch.d.ts +5 -0
- package/components/widgets/label-types/theme-mode-switch.js +4 -0
- package/components/widgets/label-types/tour.d.ts +9 -0
- package/components/widgets/label-types/tour.js +7 -0
- package/components/widgets/login-redirect.d.ts +1 -1
- package/components/widgets/login-redirect.js +4 -6
- package/components/widgets/navigation-descriptor-resolver.server.js +64 -30
- package/components/widgets/server/navigation-request.d.ts +0 -1
- package/components/widgets/server/navigation-request.js +1 -1
- package/components/widgets/server/search.d.ts +0 -2
- package/components/widgets/server/search.js +1 -1
- package/components/widgets/shared/bullet-list-vocabulary.d.ts +80 -0
- package/components/widgets/shared/bullet-list-vocabulary.js +159 -0
- package/components/widgets/shared/card-body-client.d.ts +64 -56
- package/components/widgets/shared/card-body-client.js +243 -90
- package/components/widgets/shared/card-vocabulary.d.ts +53 -0
- package/components/widgets/shared/card-vocabulary.js +39 -0
- package/components/widgets/shared/markdown-body-client.d.ts +9 -5
- package/components/widgets/shared/markdown-body-client.js +24 -36
- package/components/widgets/shared/markdown-render.d.ts +11 -0
- package/components/widgets/shared/markdown-render.js +24 -6
- package/components/widgets/shared/result-body-client.js +2 -2
- package/components/widgets/signals/command-toolbar-address.d.ts +0 -2
- package/components/widgets/signals/command-toolbar-address.js +0 -4
- package/components/widgets/signals/control-signal-capabilities.d.ts +23 -13
- package/components/widgets/signals/control-signal-capabilities.js +33 -3
- package/components/widgets/signals/renderable-block-signal-capabilities.d.ts +5 -0
- package/components/widgets/signals/renderable-block-signal-capabilities.js +5 -0
- package/components/widgets/signals/signal-endpoints.d.ts +4 -1
- package/components/widgets/signals/signal-endpoints.js +9 -4
- package/components/workspace/catalog-state.d.ts +13 -0
- package/components/workspace/catalog-store.js +1 -0
- package/constants/cms-layout-types.d.ts +6 -2
- package/constants/cms-layout-types.js +8 -4
- package/constants/cms-widget-types.d.ts +8 -19
- package/constants/cms-widget-types.js +22 -13
- package/constants/content-entry-kinds.d.ts +21 -0
- package/constants/content-entry-kinds.js +25 -0
- package/constants/content-entry-parts.d.ts +55 -0
- package/constants/content-entry-parts.js +48 -0
- package/constants/core-data-provider-keys.d.ts +12 -0
- package/constants/core-data-provider-keys.js +12 -0
- package/constants/grid-columns.d.ts +4 -0
- package/constants/grid-columns.js +5 -0
- package/constants/html-link-schemes.d.ts +6 -0
- package/constants/html-link-schemes.js +6 -0
- package/constants/media-library-provider-keys.d.ts +5 -0
- package/constants/media-library-provider-keys.js +5 -0
- package/constants/public-login-route.d.ts +11 -0
- package/constants/public-login-route.js +12 -0
- package/constants/runtime-data-provider-key.d.ts +1 -1
- package/constants/runtime-module-ownership.js +32 -5
- package/constants/runtime-render-client-types.d.ts +0 -1
- package/constants/runtime-render-client-types.js +0 -1
- package/constants/site-cookies.d.ts +9 -0
- package/constants/site-cookies.js +13 -0
- package/constants/support.d.ts +1 -1
- package/constants/support.js +1 -1
- package/constants/thread-library-provider-keys.d.ts +4 -3
- package/constants/thread-library-provider-keys.js +4 -3
- package/constants.d.ts +2 -1
- package/constants.js +3 -1
- package/controls.d.ts +16 -0
- package/controls.js +8 -0
- package/forms.d.ts +3 -2
- package/forms.js +1 -1
- package/gateway/auth-public-manifest.js +21 -14
- package/gateway/content-entries.d.ts +57 -0
- package/gateway/content-entries.js +141 -0
- package/gateway/dashboard-cards-route.js +121 -77
- package/gateway/errors.d.ts +0 -1
- package/gateway/errors.js +1 -1
- package/gateway/form-registry.d.ts +1 -6
- package/gateway/form-registry.js +12 -28
- package/gateway/form-submit.d.ts +6 -21
- package/gateway/form-submit.js +8 -13
- package/gateway/internal-references.d.ts +7 -4
- package/gateway/internal-references.js +157 -15
- package/gateway/media-folder-images.d.ts +19 -0
- package/gateway/media-folder-images.js +37 -0
- package/gateway/module-diagnostics-route.js +4 -9
- package/gateway/navigation-target-route.js +15 -84
- package/gateway/page-references-route.d.ts +18 -0
- package/gateway/page-references-route.js +86 -0
- package/gateway/route-handler-helpers.d.ts +9 -0
- package/gateway/route-handler-helpers.js +41 -0
- package/gateway/server-capabilities.d.ts +1 -1
- package/gateway/server-capabilities.js +24 -16
- package/gateway/site-api-request.d.ts +32 -0
- package/gateway/site-api-request.js +48 -0
- package/gateway/site-area.d.ts +26 -2
- package/gateway/site-area.js +80 -95
- package/gateway/site-auth-settings.d.ts +4 -3
- package/gateway/site-auth-settings.js +11 -27
- package/gateway/site-config.js +15 -16
- package/gateway/site-content.d.ts +30 -0
- package/gateway/site-content.js +32 -0
- package/gateway/site-form-route.js +14 -5
- package/gateway/site-media-settings.d.ts +6 -5
- package/gateway/site-media-settings.js +11 -27
- package/gateway/site-nav.js +34 -61
- package/gateway/site-page.d.ts +11 -5
- package/gateway/site-page.js +56 -96
- package/gateway/site-proxy.js +13 -3
- package/gateway/site-settings.d.ts +4 -3
- package/gateway/site-settings.js +11 -27
- package/gateway/site-stats.d.ts +4 -3
- package/gateway/site-stats.js +11 -27
- package/gateway/site-theme.d.ts +3 -3
- package/gateway/site-theme.js +14 -31
- package/gateway/thread-inbox-stats.d.ts +4 -3
- package/gateway/thread-inbox-stats.js +13 -25
- package/gateway/tr.d.ts +8 -0
- package/gateway/tr.js +18 -3
- package/gateway/user-state.d.ts +2 -2
- package/gateway/user-state.js +14 -26
- package/helpers/access.d.ts +0 -5
- package/helpers/access.js +0 -19
- package/helpers/antd-locale.d.ts +0 -3
- package/helpers/antd-locale.js +4 -6
- package/helpers/cms-area-config.d.ts +15 -11
- package/helpers/cms-area-config.js +13 -10
- package/helpers/cms-area-root-route.d.ts +4 -5
- package/helpers/cms-area-root-route.js +2 -6
- package/helpers/cms-config-field-validation.d.ts +7 -3
- package/helpers/cms-config-field-validation.js +47 -6
- package/helpers/cms-container-chrome.d.ts +10 -2
- package/helpers/cms-container-chrome.js +22 -31
- package/helpers/cms-content-binding.d.ts +13 -0
- package/helpers/cms-content-binding.js +32 -0
- package/helpers/cms-dialog.d.ts +51 -0
- package/helpers/cms-dialog.js +50 -0
- package/helpers/cms-layout-defaults.d.ts +19 -9
- package/helpers/cms-layout-defaults.js +64 -74
- package/helpers/cms-navigation-catalog.d.ts +0 -1
- package/helpers/cms-navigation-catalog.js +1 -1
- package/helpers/cms-node-factories.d.ts +1 -3
- package/helpers/cms-node-factories.js +2 -5
- package/helpers/cms-node-visibility.d.ts +8 -0
- package/helpers/cms-node-visibility.js +21 -1
- package/helpers/cms-page-catalog.d.ts +1 -3
- package/helpers/cms-page-catalog.js +11 -11
- package/helpers/cms-preset-nodes.d.ts +51 -1
- package/helpers/cms-preset-nodes.js +68 -2
- package/helpers/cms-preset-page-tree.d.ts +28 -0
- package/helpers/cms-preset-page-tree.js +83 -0
- package/helpers/cms-region-keys.d.ts +0 -1
- package/helpers/cms-region-keys.js +1 -1
- package/helpers/cms-routing.d.ts +0 -1
- package/helpers/cms-scope-search-params.d.ts +5 -1
- package/helpers/cms-scope-search-params.js +6 -1
- package/helpers/cms-tree-controller-settings.d.ts +11 -0
- package/helpers/cms-tree-controller-settings.js +37 -0
- package/helpers/content-entry-record-binding.d.ts +21 -0
- package/helpers/content-entry-record-binding.js +31 -0
- package/helpers/css-linear-gradient.d.ts +28 -0
- package/helpers/css-linear-gradient.js +122 -0
- package/helpers/flags.d.ts +10 -0
- package/helpers/flags.js +20 -0
- package/helpers/form-id.d.ts +8 -0
- package/helpers/form-id.js +10 -0
- package/helpers/format-date-time.d.ts +5 -0
- package/helpers/format-date-time.js +31 -0
- package/helpers/internal-path.d.ts +12 -0
- package/helpers/internal-path.js +28 -0
- package/helpers/is-record.js +2 -1
- package/helpers/layout-authoring-markers.d.ts +0 -2
- package/helpers/layout-authoring-markers.js +1 -1
- package/helpers/layout-style.d.ts +2 -16
- package/helpers/layout-style.js +15 -32
- package/helpers/link-target.d.ts +6 -1
- package/helpers/link-target.js +12 -4
- package/helpers/locale.d.ts +2 -0
- package/helpers/locale.js +4 -0
- package/helpers/logout.d.ts +0 -16
- package/helpers/logout.js +1 -1
- package/helpers/motion.d.ts +0 -1
- package/helpers/motion.js +1 -1
- package/helpers/overlay-events.d.ts +9 -0
- package/helpers/overlay-events.js +9 -0
- package/helpers/page-reference-tree.d.ts +42 -0
- package/helpers/page-reference-tree.js +92 -0
- package/helpers/phi-seo.d.ts +0 -3
- package/helpers/phi-seo.js +2 -2
- package/helpers/public-route-claims.d.ts +0 -1
- package/helpers/public-route-claims.js +1 -1
- package/helpers/region-page-scope.d.ts +26 -0
- package/helpers/region-page-scope.js +121 -0
- package/helpers/renderable-block-defaults.d.ts +0 -3
- package/helpers/renderable-block-defaults.js +1 -1
- package/helpers/renderable-block-normalizers.d.ts +26 -0
- package/helpers/renderable-block-normalizers.js +166 -0
- package/helpers/renderable-block-serialization.d.ts +1 -5
- package/helpers/renderable-block-serialization.js +13 -166
- package/helpers/runtime-module-route-path.d.ts +0 -1
- package/helpers/runtime-module-route-path.js +1 -1
- package/helpers/shell-region-style.d.ts +3 -3
- package/helpers/shell-region-style.js +3 -3
- package/helpers/signal-listen-routes.d.ts +14 -0
- package/helpers/signal-listen-routes.js +33 -0
- package/helpers/signal-route-lifecycle.d.ts +1 -3
- package/helpers/signal-route-lifecycle.js +2 -2
- package/helpers/signal-route-set-join.d.ts +4 -0
- package/helpers/signal-route-set-join.js +29 -0
- package/helpers/site-api.d.ts +0 -3
- package/helpers/site-api.js +1 -3
- package/helpers/site-locale-config.d.ts +16 -6
- package/helpers/site-locale-config.js +14 -0
- package/helpers/static-render-path.d.ts +12 -0
- package/helpers/static-render-path.js +18 -0
- package/helpers/structure-widget-swap.js +4 -4
- package/helpers/surface-presets.d.ts +81 -0
- package/helpers/surface-presets.js +65 -0
- package/helpers/surface-style.d.ts +63 -0
- package/helpers/surface-style.js +74 -0
- package/helpers/table-binding.d.ts +6 -2
- package/helpers/table-binding.js +12 -1
- package/helpers/text-placeholders.d.ts +11 -21
- package/helpers/text-placeholders.js +24 -8
- package/helpers/translation-cache.js +3 -1
- package/helpers.d.ts +3 -0
- package/helpers.js +8 -0
- package/module-dashboard-cards.d.ts +15 -0
- package/module-dashboard-cards.js +15 -0
- package/module-records.d.ts +14 -0
- package/module-records.js +13 -0
- package/net/log.d.ts +1 -2
- package/net/log.js +1 -1
- package/next/area-route.d.ts +17 -3
- package/next/area-route.js +30 -22
- package/next/config.d.mts +25 -0
- package/next/config.mjs +277 -0
- package/next/overlay-zones.js +3 -7
- package/next/root-error-page.d.ts +15 -0
- package/next/root-error-page.js +30 -0
- package/next/root-route.d.ts +0 -4
- package/next/root-route.js +6 -7
- package/next/seo-routes.js +8 -36
- package/next/site-proxy.d.ts +2 -2
- package/next/site-proxy.js +26 -7
- package/package.json +23 -2
- package/plugins/factories/widget-builder-plugin.js +2 -3
- package/plugins/registries/runtime-controllers.js +4 -1
- package/plugins/runtime/phi-slot-child-frame-client.js +17 -8
- package/plugins/runtime/phi-slot-child-frame-view.d.ts +10 -2
- package/plugins/runtime/phi-slot-child-frame-view.js +12 -28
- package/plugins/runtime/phi-slot-child-frame.d.ts +2 -0
- package/plugins/runtime/phi-slot-child-frame.js +1 -1
- package/plugins/runtime/phi-slot-child-viewport-effects-observer.js +12 -5
- package/plugins/runtime/slot-size-policy.d.ts +1 -2
- package/plugins/runtime/slot-size-policy.js +17 -6
- package/plugins/runtime-modules/accounting/module.d.ts +1 -1
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-page-tree.js +2 -0
- package/plugins/runtime-modules/admin/definition.d.ts +2 -5
- package/plugins/runtime-modules/admin/definition.js +2 -8
- package/plugins/runtime-modules/admin/forms.d.ts +0 -3
- package/plugins/runtime-modules/admin/forms.js +15 -24
- package/plugins/runtime-modules/admin/ids.d.ts +9 -0
- package/plugins/runtime-modules/admin/ids.js +9 -0
- package/plugins/runtime-modules/admin/module.d.ts +32 -1
- package/plugins/runtime-modules/admin/module.js +8 -3
- package/plugins/runtime-modules/admin/presets.d.ts +1 -4
- package/plugins/runtime-modules/admin/presets.js +0 -1
- package/plugins/runtime-modules/admin/trees/admin-settings-label-set.js +3 -2
- package/plugins/runtime-modules/admin/trees/phi-default-admin-area-preset-tree.js +15 -147
- package/plugins/runtime-modules/admin/trees/phi-default-admin-settings-page-tree.js +7 -4
- package/plugins/runtime-modules/app/definition.d.ts +2 -2
- package/plugins/runtime-modules/app/definition.js +2 -2
- package/plugins/runtime-modules/app/forms.d.ts +0 -6
- package/plugins/runtime-modules/app/forms.js +34 -56
- package/plugins/runtime-modules/app/ids.d.ts +9 -0
- package/plugins/runtime-modules/app/ids.js +9 -0
- package/plugins/runtime-modules/app/module.d.ts +1 -1
- package/plugins/runtime-modules/app/trees/phi-default-app-area-preset-tree.js +8 -64
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +1 -0
- package/plugins/runtime-modules/app/trees/profile-label-set.js +3 -2
- package/plugins/runtime-modules/area-base-presets.d.ts +1 -1
- package/plugins/runtime-modules/area-base-presets.js +0 -1
- package/plugins/runtime-modules/area-contributions/accounting.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/admin.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/app.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/app.js +0 -2
- package/plugins/runtime-modules/area-contributions/builder.d.ts +1 -1
- package/plugins/runtime-modules/area-contributions/common.d.ts +7 -2
- package/plugins/runtime-modules/area-contributions/common.js +10 -1
- 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 +2 -0
- package/plugins/runtime-modules/area-contributions.d.ts +0 -1
- package/plugins/runtime-modules/area-contributions.js +14 -4
- package/plugins/runtime-modules/area-definitions.d.ts +0 -97
- package/plugins/runtime-modules/area-definitions.js +9 -31
- package/plugins/runtime-modules/area-module-defaults.js +13 -5
- package/plugins/runtime-modules/asset/client-data-providers.js +6 -0
- package/plugins/runtime-modules/asset/controller/client.d.ts +14 -5
- package/plugins/runtime-modules/asset/controller/client.js +1 -1
- package/plugins/runtime-modules/asset/controller/definition.d.ts +21 -5
- package/plugins/runtime-modules/asset/controller/definition.js +22 -10
- package/plugins/runtime-modules/asset/controller/mount.d.ts +5 -2
- package/plugins/runtime-modules/asset/controller/mount.js +2 -2
- package/plugins/runtime-modules/asset/controller/runtime.d.ts +8 -1
- package/plugins/runtime-modules/asset/controller/runtime.js +69 -115
- package/plugins/runtime-modules/asset/data-providers.d.ts +59 -0
- package/plugins/runtime-modules/asset/data-providers.js +50 -0
- package/plugins/runtime-modules/asset/definition.d.ts +54 -0
- package/plugins/runtime-modules/asset/ids.d.ts +6 -0
- package/plugins/runtime-modules/asset/ids.js +7 -0
- package/plugins/runtime-modules/asset/metadata-form.d.ts +0 -2
- package/plugins/runtime-modules/asset/metadata-form.js +2 -2
- package/plugins/runtime-modules/asset/server.js +5 -0
- package/plugins/runtime-modules/asset/services/folder-images.server.d.ts +11 -0
- package/plugins/runtime-modules/asset/services/folder-images.server.js +41 -0
- package/plugins/runtime-modules/asset/services/options.d.ts +3 -0
- package/plugins/runtime-modules/asset/services/options.js +37 -28
- package/plugins/runtime-modules/asset/settings-forms.d.ts +0 -3
- package/plugins/runtime-modules/asset/settings-forms.js +1 -1
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +28 -8
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +106 -58
- package/plugins/runtime-modules/asset/widgets/area-upload/config.d.ts +2 -2
- package/plugins/runtime-modules/asset/widgets/area-upload/config.js +4 -3
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.d.ts +2 -1
- package/plugins/runtime-modules/asset/widgets/asset-focal-rect/config.js +1 -1
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.d.ts +2 -2
- package/plugins/runtime-modules/asset/widgets/image-inspector/config.js +4 -3
- package/plugins/runtime-modules/asset/widgets/media-picker/config.d.ts +2 -2
- package/plugins/runtime-modules/asset/widgets/media-picker/config.js +4 -3
- package/plugins/runtime-modules/auth/admin-settings-forms.d.ts +0 -7
- package/plugins/runtime-modules/auth/admin-settings-forms.js +3 -3
- package/plugins/runtime-modules/auth/controller/definition.d.ts +13 -4
- package/plugins/runtime-modules/auth/controller/definition.js +3 -3
- package/plugins/runtime-modules/auth/controller/server-definition.d.ts +5 -5
- package/plugins/runtime-modules/auth/controller-plugin.js +23 -47
- package/plugins/runtime-modules/auth/definition.d.ts +1 -1
- package/plugins/runtime-modules/auth/definition.js +2 -2
- package/plugins/runtime-modules/auth/form-provider-registry.js +10 -6
- package/plugins/runtime-modules/auth/ids.d.ts +16 -0
- package/plugins/runtime-modules/auth/ids.js +17 -0
- package/plugins/runtime-modules/auth/machine.d.ts +0 -13
- package/plugins/runtime-modules/auth/machine.js +1 -1
- package/plugins/runtime-modules/auth/overlay-ids.d.ts +0 -1
- package/plugins/runtime-modules/auth/overlay-ids.js +0 -3
- package/plugins/runtime-modules/auth/services/installations-table.js +4 -3
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +35 -7
- package/plugins/runtime-modules/auth/trees/phi-auth-runtime-page-tree.js +1 -1
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +1 -0
- package/plugins/runtime-modules/auth/trees/phi-default-pub-confirm-page-tree.js +25 -21
- package/plugins/runtime-modules/auth/trees/phi-default-pub-login-page-tree.js +25 -21
- package/plugins/runtime-modules/auth/trees/phi-default-pub-registration-page-tree.js +25 -21
- package/plugins/runtime-modules/auth/trees/phi-default-pub-reset-password-page-tree.js +25 -21
- package/plugins/runtime-modules/auth/trees/security-label-set.js +3 -2
- package/plugins/runtime-modules/auth/widgets/auth-methods/config.d.ts +2 -1
- package/plugins/runtime-modules/auth/widgets/auth-methods/config.js +1 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/client.js +3 -2
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.d.ts +2 -1
- package/plugins/runtime-modules/auth/widgets/auth-workflow/config.js +1 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +3 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.js +12 -7
- package/plugins/runtime-modules/auth/widgets/logout/server.d.ts +1 -1
- package/plugins/runtime-modules/auth/widgets/logout/server.js +10 -2
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +4 -1
- package/plugins/runtime-modules/auth/widgets/security/client.js +11 -5
- package/plugins/runtime-modules/avatar/definition.d.ts +1 -1
- package/plugins/runtime-modules/avatar/definition.js +2 -2
- package/plugins/runtime-modules/avatar/ids.d.ts +9 -0
- package/plugins/runtime-modules/avatar/ids.js +9 -0
- package/plugins/runtime-modules/avatar/labels.js +3 -2
- package/plugins/runtime-modules/avatar/module.d.ts +1 -1
- package/plugins/runtime-modules/avatar/overlay-tree.server.js +2 -6
- package/plugins/runtime-modules/avatar/widgets/account-avatar/client.js +6 -3
- package/plugins/runtime-modules/blog/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/blog/authoring-widgets.js +4 -0
- package/plugins/runtime-modules/blog/authoring.d.ts +1 -0
- package/plugins/runtime-modules/blog/authoring.js +8 -0
- package/plugins/runtime-modules/blog/definition.d.ts +35 -0
- package/plugins/runtime-modules/blog/definition.js +22 -0
- package/plugins/runtime-modules/blog/forms.d.ts +16 -0
- package/plugins/runtime-modules/blog/forms.js +11 -0
- package/plugins/runtime-modules/blog/ids.d.ts +25 -0
- package/plugins/runtime-modules/blog/ids.js +27 -0
- package/plugins/runtime-modules/blog/labels.d.ts +4 -0
- package/plugins/runtime-modules/blog/labels.js +27 -0
- package/plugins/runtime-modules/blog/module.d.ts +35 -0
- package/plugins/runtime-modules/blog/module.js +12 -0
- package/plugins/runtime-modules/blog/presets.d.ts +53 -0
- package/plugins/runtime-modules/blog/presets.js +24 -0
- package/plugins/runtime-modules/blog/server.d.ts +1 -0
- package/plugins/runtime-modules/blog/server.js +17 -0
- package/plugins/runtime-modules/builder/addresses.d.ts +1 -1
- package/plugins/runtime-modules/builder/area-settings-answer.d.ts +31 -0
- package/plugins/runtime-modules/builder/area-settings-answer.js +81 -0
- package/plugins/runtime-modules/builder/area-shell-presets.server.d.ts +21 -5
- package/plugins/runtime-modules/builder/area-shell-presets.server.js +102 -100
- package/plugins/runtime-modules/builder/authoring-provider-keys.d.ts +1 -20
- package/plugins/runtime-modules/builder/authoring-provider-keys.js +1 -1
- package/plugins/runtime-modules/builder/authoring-widgets.js +0 -2
- package/plugins/runtime-modules/builder/cards.d.ts +3 -0
- package/plugins/runtime-modules/builder/cards.js +79 -0
- package/plugins/runtime-modules/builder/clients/builder-region-overrides.js +4 -2
- package/plugins/runtime-modules/builder/clients/canvas-widget.js +19 -6
- package/plugins/runtime-modules/builder/clients/grid-placement-settings.d.ts +24 -0
- package/plugins/runtime-modules/builder/clients/grid-placement-settings.js +93 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.d.ts +46 -5
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +325 -104
- package/plugins/runtime-modules/builder/clients/inspector-image-field.d.ts +17 -0
- package/plugins/runtime-modules/builder/clients/inspector-image-field.js +59 -0
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.d.ts +9 -23
- package/plugins/runtime-modules/builder/clients/inspector-link-target-field.js +13 -60
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.d.ts +9 -3
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +51 -110
- package/plugins/runtime-modules/builder/clients/inspector-surface-labels.d.ts +8 -0
- package/plugins/runtime-modules/builder/clients/inspector-surface-labels.js +24 -0
- package/plugins/runtime-modules/builder/clients/inspector-title.js +7 -8
- package/plugins/runtime-modules/builder/clients/layout-inspector.d.ts +18 -9
- package/plugins/runtime-modules/builder/clients/layout-inspector.js +71 -158
- package/plugins/runtime-modules/builder/clients/layout-scaffold-buttons.js +4 -4
- package/plugins/runtime-modules/builder/clients/layout-scaffold-overlays.js +2 -2
- package/plugins/runtime-modules/builder/clients/mode-switch.js +3 -5
- package/plugins/runtime-modules/builder/clients/pages-header.js +11 -63
- package/plugins/runtime-modules/builder/clients/pages-workspace.js +10 -1
- package/plugins/runtime-modules/builder/clients/region-inspector.d.ts +6 -2
- package/plugins/runtime-modules/builder/clients/region-inspector.js +12 -26
- package/plugins/runtime-modules/builder/clients/region-visibility-fields.d.ts +15 -0
- package/plugins/runtime-modules/builder/clients/region-visibility-fields.js +135 -0
- package/plugins/runtime-modules/builder/clients/shells-workspace.js +3 -1
- package/plugins/runtime-modules/builder/clients/structure-canvas.d.ts +1 -3
- package/plugins/runtime-modules/builder/clients/structure-canvas.js +50 -41
- package/plugins/runtime-modules/builder/clients/widget-effects-editor.js +2 -2
- package/plugins/runtime-modules/builder/clients/widget-inspector.d.ts +15 -1
- package/plugins/runtime-modules/builder/clients/widget-inspector.js +69 -26
- package/plugins/runtime-modules/builder/cms-instance-allocator.d.ts +0 -1
- package/plugins/runtime-modules/builder/cms-instance-allocator.js +1 -1
- package/plugins/runtime-modules/builder/controller/client.d.ts +31 -14
- package/plugins/runtime-modules/builder/controller/client.js +9 -2
- package/plugins/runtime-modules/builder/controller/definition.d.ts +53 -14
- package/plugins/runtime-modules/builder/controller/definition.js +148 -37
- package/plugins/runtime-modules/builder/{draft-command-controller.d.ts → controller/draft-command-controller.d.ts} +12 -5
- package/plugins/runtime-modules/builder/{draft-command-controller.js → controller/draft-command-controller.js} +186 -232
- package/plugins/runtime-modules/builder/{draft-status-controller.d.ts → controller/draft-status-controller.d.ts} +9 -2
- package/plugins/runtime-modules/builder/{draft-status-controller.js → controller/draft-status-controller.js} +30 -12
- package/plugins/runtime-modules/builder/controller/inspector-controller.d.ts +3 -0
- package/plugins/runtime-modules/builder/controller/inspector-controller.js +207 -0
- package/plugins/runtime-modules/builder/controller/mount.d.ts +1 -1
- package/plugins/runtime-modules/builder/controller/mount.js +1 -1
- package/plugins/runtime-modules/builder/{page-controller-helpers.d.ts → controller/page-controller-helpers.d.ts} +2 -4
- package/plugins/runtime-modules/builder/{page-controller-helpers.js → controller/page-controller-helpers.js} +4 -4
- package/plugins/runtime-modules/builder/{page-controller.d.ts → controller/page-controller.d.ts} +6 -3
- package/plugins/runtime-modules/builder/{page-controller.js → controller/page-controller.js} +45 -134
- package/plugins/runtime-modules/builder/controller/preview-controller.d.ts +5 -0
- package/plugins/runtime-modules/builder/controller/preview-controller.js +68 -0
- package/plugins/runtime-modules/builder/{region-controller.d.ts → controller/region-controller.d.ts} +1 -2
- package/plugins/runtime-modules/builder/{region-controller.js → controller/region-controller.js} +18 -38
- package/plugins/runtime-modules/builder/controller/server-definition.d.ts +34 -14
- package/plugins/runtime-modules/builder/controller/server-definition.js +29 -3
- package/plugins/runtime-modules/builder/{signal-wiring-controller.d.ts → controller/signal-wiring-controller.d.ts} +2 -8
- package/plugins/runtime-modules/builder/{signal-wiring-controller.js → controller/signal-wiring-controller.js} +4 -12
- package/plugins/runtime-modules/builder/{workspace-controller.d.ts → controller/workspace-controller.d.ts} +15 -7
- package/plugins/runtime-modules/builder/{workspace-controller.js → controller/workspace-controller.js} +270 -725
- package/plugins/runtime-modules/builder/data-providers.d.ts +1 -1
- package/plugins/runtime-modules/builder/definition.d.ts +3 -3
- package/plugins/runtime-modules/builder/definition.js +2 -2
- package/plugins/runtime-modules/builder/developer-workspace-store.d.ts +27 -26
- package/plugins/runtime-modules/builder/developer-workspace-store.js +59 -224
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +30 -34
- package/plugins/runtime-modules/builder/edit-scaffold-drawer.js +6 -5
- package/plugins/runtime-modules/builder/effects-form-values.js +3 -2
- package/plugins/runtime-modules/builder/history.d.ts +59 -5
- package/plugins/runtime-modules/builder/ids.d.ts +9 -0
- package/plugins/runtime-modules/builder/ids.js +9 -0
- package/plugins/runtime-modules/builder/inspector-actions.d.ts +18 -13
- package/plugins/runtime-modules/builder/inspector-actions.js +9 -16
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.d.ts +2 -3
- package/plugins/runtime-modules/builder/inspector-overlay-addresses.js +3 -8
- package/plugins/runtime-modules/builder/inspector-section-widget.js +15 -6
- package/plugins/runtime-modules/builder/module-authoring-catalog.d.ts +2 -0
- package/plugins/runtime-modules/builder/module-authoring-catalog.server.js +3 -0
- package/plugins/runtime-modules/builder/module-usage-client.js +5 -1
- package/plugins/runtime-modules/builder/navigation-catalog.server.js +4 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.d.ts +0 -1
- package/plugins/runtime-modules/builder/navigation-folder-address.js +1 -1
- package/plugins/runtime-modules/builder/navigation-path-context.js +3 -5
- package/plugins/runtime-modules/builder/navigation-store.d.ts +2 -2
- package/plugins/runtime-modules/builder/navigation-store.js +3 -3
- package/plugins/runtime-modules/builder/node-config-write.d.ts +38 -0
- package/plugins/runtime-modules/builder/node-config-write.js +134 -0
- package/plugins/runtime-modules/builder/node-finders.d.ts +0 -1
- package/plugins/runtime-modules/builder/node-finders.js +1 -1
- package/plugins/runtime-modules/builder/offered-page-catalog.d.ts +0 -13
- package/plugins/runtime-modules/builder/offered-page-catalog.js +2 -2
- package/plugins/runtime-modules/builder/options-providers.js +16 -9
- package/plugins/runtime-modules/builder/page-preset-catalog.server.js +2 -63
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +8 -1
- package/plugins/runtime-modules/builder/page-presets.server.js +63 -76
- package/plugins/runtime-modules/builder/page-references-provider.js +1 -1
- package/plugins/runtime-modules/builder/page-tree-walk.d.ts +3 -0
- package/plugins/runtime-modules/builder/page-tree-walk.js +4 -0
- package/plugins/runtime-modules/builder/persistence.d.ts +26 -11
- package/plugins/runtime-modules/builder/persistence.js +38 -78
- package/plugins/runtime-modules/builder/plugin-meta-labels.js +2 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.d.ts +15 -0
- package/plugins/runtime-modules/builder/plugin-meta-labels.server.js +58 -30
- package/plugins/runtime-modules/builder/plugin-metas.d.ts +7 -0
- package/plugins/runtime-modules/builder/plugin-metas.js +27 -9
- package/plugins/runtime-modules/builder/presets.d.ts +0 -132
- package/plugins/runtime-modules/builder/presets.js +0 -1
- package/plugins/runtime-modules/builder/preview-transport.d.ts +9 -26
- package/plugins/runtime-modules/builder/preview-transport.js +2 -2
- package/plugins/runtime-modules/builder/public-route-collisions.d.ts +0 -33
- package/plugins/runtime-modules/builder/public-route-collisions.js +4 -4
- package/plugins/runtime-modules/builder/region-defaults.js +18 -46
- package/plugins/runtime-modules/builder/region-hydration.d.ts +5 -9
- package/plugins/runtime-modules/builder/region-hydration.js +37 -106
- package/plugins/runtime-modules/builder/region-keys.d.ts +0 -1
- package/plugins/runtime-modules/builder/region-keys.js +1 -4
- package/plugins/runtime-modules/builder/region-root-node.d.ts +22 -0
- package/plugins/runtime-modules/builder/region-root-node.js +25 -0
- package/plugins/runtime-modules/builder/render-root-node-preview.server.d.ts +2 -20
- package/plugins/runtime-modules/builder/render-root-node-preview.server.js +10 -27
- package/plugins/runtime-modules/builder/render-root-node-scaffold.d.ts +13 -4
- package/plugins/runtime-modules/builder/render-root-node-scaffold.js +27 -130
- package/plugins/runtime-modules/builder/root-node-normalization.d.ts +31 -23
- package/plugins/runtime-modules/builder/root-node-normalization.js +72 -69
- package/plugins/runtime-modules/builder/root-node-renderable-tree.d.ts +1 -3
- package/plugins/runtime-modules/builder/root-node-renderable-tree.js +11 -53
- package/plugins/runtime-modules/builder/runtime-module-selection.d.ts +3 -12
- package/plugins/runtime-modules/builder/runtime-module-selection.js +25 -4
- package/plugins/runtime-modules/builder/selected-collection-source.d.ts +0 -8
- package/plugins/runtime-modules/builder/selected-collection-source.js +5 -6
- package/plugins/runtime-modules/builder/sequential-slot-helpers.d.ts +0 -3
- package/plugins/runtime-modules/builder/sequential-slot-helpers.js +1 -1
- package/plugins/runtime-modules/builder/server.js +5 -0
- package/plugins/runtime-modules/builder/services/navigation-table.js +31 -13
- package/plugins/runtime-modules/builder/services/page-source-tree.js +20 -7
- package/plugins/runtime-modules/builder/services/runtime-modules-table.d.ts +19 -0
- package/plugins/runtime-modules/builder/services/runtime-modules-table.js +84 -12
- package/plugins/runtime-modules/builder/signal-endpoints.js +11 -31
- package/plugins/runtime-modules/builder/signal-route-selection.js +4 -7
- package/plugins/runtime-modules/builder/signal-wiring-options.js +5 -4
- package/plugins/runtime-modules/builder/structure-region-pick-items.js +3 -2
- package/plugins/runtime-modules/builder/trees/builder-navigation-label-set.js +3 -2
- package/plugins/runtime-modules/builder/trees/builder-settings-label-set.js +3 -2
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +86 -35
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.d.ts +11 -5
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +196 -107
- package/plugins/runtime-modules/builder/trees/phi-default-builder-settings-page-tree.js +7 -4
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +32 -52
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +4 -6
- package/plugins/runtime-modules/builder/widgets/hello-world/config.d.ts +2 -1
- package/plugins/runtime-modules/builder/widgets/hello-world/config.js +4 -3
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +279 -638
- package/plugins/runtime-modules/builder/widgets/structure-region/config.js +3 -10
- package/plugins/runtime-modules/builder/widgets/structure-region/plugin.js +4 -3
- package/plugins/runtime-modules/builder/widgets/structure-region/tree-operations.d.ts +43 -0
- package/plugins/runtime-modules/builder/widgets/structure-region/tree-operations.js +114 -0
- package/plugins/runtime-modules/builder/widgets/test-block/config.d.ts +2 -1
- package/plugins/runtime-modules/builder/widgets/test-block/config.js +4 -3
- package/plugins/runtime-modules/builder/widgets/workspaces/config.d.ts +1 -1
- package/plugins/runtime-modules/builder/widgets.js +0 -8
- package/plugins/runtime-modules/client-area-contributions/accounting.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/accounting.js +0 -2
- package/plugins/runtime-modules/client-area-contributions/admin.js +0 -8
- package/plugins/runtime-modules/client-area-contributions/app.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/app.js +0 -8
- package/plugins/runtime-modules/client-area-contributions/builder.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/builder.js +0 -2
- package/plugins/runtime-modules/client-area-contributions/common.d.ts +1 -1
- package/plugins/runtime-modules/client-area-contributions/common.js +12 -0
- package/plugins/runtime-modules/client-area-contributions/editor.js +0 -8
- package/plugins/runtime-modules/client-area-contributions/public.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-module.js +6 -0
- package/plugins/runtime-modules/client-authoring-providers/accounting.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/admin.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/app.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/app.js +0 -6
- package/plugins/runtime-modules/client-authoring-providers/builder.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/common.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/common.js +12 -0
- package/plugins/runtime-modules/client-authoring-providers/editor.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/editor.js +9 -3
- package/plugins/runtime-modules/client-authoring-providers/public.d.ts +1 -1
- package/plugins/runtime-modules/client-authoring-providers/public.js +10 -4
- package/plugins/runtime-modules/client-authoring-widget-module.js +6 -0
- package/plugins/runtime-modules/client-manifests/app.js +0 -5
- package/plugins/runtime-modules/client-manifests/builder.js +0 -4
- package/plugins/runtime-modules/client-manifests/common-data-providers.js +3 -0
- package/plugins/runtime-modules/client-manifests/common.d.ts +1 -0
- package/plugins/runtime-modules/client-manifests/common.js +35 -3
- package/plugins/runtime-modules/client-manifests/editor.js +2 -2
- package/plugins/runtime-modules/client-manifests/public.js +0 -2
- package/plugins/runtime-modules/content-entry-routes.d.ts +105 -0
- package/plugins/runtime-modules/content-entry-routes.js +112 -0
- package/plugins/runtime-modules/contracts.d.ts +2 -4
- package/plugins/runtime-modules/contracts.js +39 -2
- package/plugins/runtime-modules/core/authoring-widgets.js +19 -3
- package/plugins/runtime-modules/core/cards.js +3 -9
- package/plugins/runtime-modules/core/client-data-providers.d.ts +14 -2
- package/plugins/runtime-modules/core/client-data-providers.js +31 -0
- package/plugins/runtime-modules/core/content-entries/categories-table.d.ts +10 -0
- package/plugins/runtime-modules/core/content-entries/categories-table.js +77 -0
- package/plugins/runtime-modules/core/content-entries/curation-options.d.ts +8 -0
- package/plugins/runtime-modules/core/content-entries/curation-options.js +71 -0
- package/plugins/runtime-modules/core/content-entries/record-source.server.d.ts +22 -0
- package/plugins/runtime-modules/core/content-entries/record-source.server.js +19 -0
- package/plugins/runtime-modules/core/content-entries/record.server.d.ts +10 -0
- package/plugins/runtime-modules/core/content-entries/record.server.js +18 -0
- package/plugins/runtime-modules/{news/services → core/content-entries}/table.d.ts +3 -2
- package/plugins/runtime-modules/core/content-entries/table.js +164 -0
- package/plugins/runtime-modules/core/content-entries/tags.d.ts +14 -0
- package/plugins/runtime-modules/core/content-entries/tags.js +40 -0
- package/plugins/runtime-modules/core/data-providers.d.ts +289 -0
- package/plugins/runtime-modules/core/data-providers.js +199 -0
- package/plugins/runtime-modules/core/definition.d.ts +328 -1
- package/plugins/runtime-modules/core/definition.js +2 -2
- package/plugins/runtime-modules/core/form-providers.d.ts +38 -0
- package/plugins/runtime-modules/core/form-providers.js +3 -0
- package/plugins/runtime-modules/core/ids.d.ts +9 -0
- package/plugins/runtime-modules/core/ids.js +9 -0
- package/plugins/runtime-modules/core/messaging/data-providers.d.ts +106 -0
- package/plugins/runtime-modules/core/messaging/data-providers.js +119 -0
- package/plugins/runtime-modules/core/messaging/forms.d.ts +16 -0
- package/plugins/runtime-modules/core/messaging/forms.js +145 -0
- package/plugins/runtime-modules/core/messaging/labels.d.ts +49 -0
- package/plugins/runtime-modules/core/messaging/labels.js +149 -0
- package/plugins/runtime-modules/{threads/services/table.js → core/messaging/thread-inbox-table.js} +22 -22
- package/plugins/runtime-modules/core/server.js +12 -0
- package/plugins/runtime-modules/core/widgets/account/client.js +6 -4
- package/plugins/runtime-modules/core/widgets/account/config.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/account/config.js +2 -1
- package/plugins/runtime-modules/core/widgets/brand/client.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/brand/client.js +9 -2
- package/plugins/runtime-modules/core/widgets/brand/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/brand/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/brand/plugin.js +2 -2
- package/plugins/runtime-modules/core/widgets/brand/server.d.ts +2 -2
- package/plugins/runtime-modules/core/widgets/brand/server.js +2 -1
- package/plugins/runtime-modules/core/widgets/breadcrumb/client.js +4 -4
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/breadcrumb/config.js +2 -1
- package/plugins/runtime-modules/core/widgets/button/client.js +7 -5
- package/plugins/runtime-modules/core/widgets/button/config.d.ts +73 -36
- package/plugins/runtime-modules/core/widgets/button/config.js +40 -29
- package/plugins/runtime-modules/core/widgets/card/authoring.js +3 -3
- package/plugins/runtime-modules/core/widgets/card/collection-view-binding.js +58 -15
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +336 -32
- package/plugins/runtime-modules/core/widgets/card/config.js +176 -45
- package/plugins/runtime-modules/core/widgets/card/editor.d.ts +6 -2
- package/plugins/runtime-modules/core/widgets/card/editor.js +133 -25
- package/plugins/runtime-modules/core/widgets/card/plugin.js +13 -6
- package/plugins/runtime-modules/core/widgets/card/server.d.ts +10 -3
- package/plugins/runtime-modules/core/widgets/card/server.js +71 -32
- package/plugins/runtime-modules/core/widgets/cascader/authoring.d.ts +9 -4
- package/plugins/runtime-modules/core/widgets/cascader/config.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/cascader/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/checkbox-group/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/asset-binding.js +20 -2
- package/plugins/runtime-modules/core/widgets/collection-view/config.d.ts +2 -4
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +8 -14
- package/plugins/runtime-modules/core/widgets/color/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/color/config.d.ts +8 -2
- package/plugins/runtime-modules/core/widgets/color/config.js +18 -2
- package/plugins/runtime-modules/core/widgets/color/plugin.js +4 -3
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring.js +5 -4
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +11 -237
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +17 -26
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +32 -116
- package/plugins/runtime-modules/core/widgets/command-toolbar/plugin.js +4 -3
- package/plugins/runtime-modules/core/widgets/date-input/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/date-input/authoring.js +8 -0
- package/plugins/runtime-modules/core/widgets/date-input/client.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/{date-picker → date-input}/client.js +5 -10
- package/plugins/runtime-modules/core/widgets/{date-picker → date-input}/config.d.ts +6 -4
- package/plugins/runtime-modules/core/widgets/{date-picker → date-input}/config.js +11 -16
- package/plugins/runtime-modules/core/widgets/date-input/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/date-input/plugin.js +9 -0
- package/plugins/runtime-modules/core/widgets/date-input/selection.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/date-input/selection.js +13 -0
- package/plugins/runtime-modules/core/widgets/description/client.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/description/client.js +5 -21
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +323 -12
- package/plugins/runtime-modules/core/widgets/description/config.js +12 -6
- package/plugins/runtime-modules/core/widgets/description/editor.js +44 -29
- package/plugins/runtime-modules/core/widgets/description/plugin.js +1 -1
- package/plugins/runtime-modules/core/widgets/description/server.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/description/server.js +14 -31
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/draft-status/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/draft-status/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/draft-status/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/entry-detail/authoring.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/authoring.js +14 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/client.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/client.js +7 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/config.d.ts +62 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/config.js +35 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/plugin.js +8 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/server.d.ts +18 -0
- package/plugins/runtime-modules/core/widgets/entry-detail/server.js +42 -0
- package/plugins/runtime-modules/core/widgets/entry-header/authoring.d.ts +6 -0
- package/plugins/runtime-modules/core/widgets/entry-header/authoring.js +14 -0
- package/plugins/runtime-modules/core/widgets/entry-header/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/entry-header/client.js +10 -0
- package/plugins/runtime-modules/core/widgets/entry-header/config.d.ts +77 -0
- package/plugins/runtime-modules/core/widgets/entry-header/config.js +52 -0
- package/plugins/runtime-modules/core/widgets/entry-header/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/entry-header/plugin.js +8 -0
- package/plugins/runtime-modules/core/widgets/entry-header/server.d.ts +15 -0
- package/plugins/runtime-modules/core/widgets/entry-header/server.js +40 -0
- package/plugins/runtime-modules/core/widgets/entry-list/authoring.d.ts +2 -0
- package/plugins/runtime-modules/{news/widgets/news-list → core/widgets/entry-list}/authoring.js +5 -5
- package/plugins/runtime-modules/core/widgets/entry-list/client.d.ts +95 -0
- package/plugins/runtime-modules/core/widgets/entry-list/client.js +130 -0
- package/plugins/runtime-modules/core/widgets/entry-list/config.d.ts +201 -0
- package/plugins/runtime-modules/core/widgets/entry-list/config.js +153 -0
- package/plugins/runtime-modules/core/widgets/entry-list/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/entry-list/plugin.js +11 -0
- package/plugins/runtime-modules/core/widgets/entry-list/server.d.ts +27 -0
- package/plugins/runtime-modules/core/widgets/entry-list/server.js +85 -0
- package/plugins/runtime-modules/core/widgets/entry-list/view.server.d.ts +33 -0
- package/plugins/runtime-modules/core/widgets/entry-list/view.server.js +104 -0
- package/plugins/runtime-modules/core/widgets/float-button/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/float-button/authoring.js +16 -0
- package/plugins/runtime-modules/core/widgets/float-button/client.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/float-button/client.js +24 -0
- package/plugins/runtime-modules/core/widgets/float-button/config.d.ts +97 -0
- package/plugins/runtime-modules/core/widgets/float-button/config.js +129 -0
- package/plugins/runtime-modules/core/widgets/float-button/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/float-button/plugin.js +29 -0
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/form/config.js +18 -1
- package/plugins/runtime-modules/core/widgets/form-preview/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/form-preview/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/form-preview/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/gallery/authoring.js +16 -3
- package/plugins/runtime-modules/core/widgets/gallery/client.d.ts +5 -14
- package/plugins/runtime-modules/core/widgets/gallery/client.js +77 -57
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +89 -12
- package/plugins/runtime-modules/core/widgets/gallery/config.js +28 -20
- package/plugins/runtime-modules/core/widgets/gallery/plugin.js +2 -3
- package/plugins/runtime-modules/core/widgets/gallery/server.d.ts +17 -0
- package/plugins/runtime-modules/core/widgets/gallery/server.js +42 -0
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +3 -3
- package/plugins/runtime-modules/core/widgets/header-navigation/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/header-navigation/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/html/config.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/html/config.js +2 -1
- package/plugins/runtime-modules/core/widgets/icon/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/icon/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/image/client.js +8 -40
- package/plugins/runtime-modules/core/widgets/image/config.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/image/config.js +7 -18
- package/plugins/runtime-modules/core/widgets/image/editor.js +9 -27
- package/plugins/runtime-modules/core/widgets/input/client.js +24 -7
- package/plugins/runtime-modules/core/widgets/input/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/input/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/locale/config.d.ts +1 -0
- package/plugins/runtime-modules/core/widgets/locale/config.js +1 -0
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +13 -48
- package/plugins/runtime-modules/core/widgets/markdown/config.js +25 -12
- package/plugins/runtime-modules/core/widgets/markdown-toc/client.js +2 -2
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/markdown-toc/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/multi-select/config.d.ts +3 -3
- package/plugins/runtime-modules/core/widgets/multi-select/config.js +1 -3
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/otp/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/otp/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/page-title/server.d.ts +0 -1
- package/plugins/runtime-modules/core/widgets/page-title/server.js +1 -1
- package/plugins/runtime-modules/core/widgets/pagination/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/pagination/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/pagination/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/quick-links/client.js +9 -6
- package/plugins/runtime-modules/core/widgets/quick-links/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/quick-links/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/rate/config.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/rate/config.js +2 -1
- package/plugins/runtime-modules/core/widgets/record/authoring.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/record/authoring.js +17 -5
- package/plugins/runtime-modules/core/widgets/record/client.js +9 -8
- package/plugins/runtime-modules/core/widgets/record/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/record/config.js +3 -2
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +92 -21
- package/plugins/runtime-modules/core/widgets/result/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/segmented/authoring.d.ts +3 -1
- package/plugins/runtime-modules/core/widgets/segmented/authoring.js +24 -2
- package/plugins/runtime-modules/core/widgets/segmented/client.d.ts +4 -1
- package/plugins/runtime-modules/core/widgets/segmented/client.js +5 -1
- package/plugins/runtime-modules/core/widgets/segmented/config.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/segmented/config.js +3 -3
- package/plugins/runtime-modules/core/widgets/select-box/config.d.ts +3 -2
- package/plugins/runtime-modules/core/widgets/select-box/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/client.js +5 -5
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/sidebar-navigation/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/client.js +2 -1
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +92 -21
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/editor.js +1 -2
- package/plugins/runtime-modules/core/widgets/slider/config.d.ts +2 -1
- package/plugins/runtime-modules/core/widgets/slider/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/slot-upload/client.js +46 -20
- package/plugins/runtime-modules/core/widgets/slot-upload/config.d.ts +2 -14
- package/plugins/runtime-modules/core/widgets/slot-upload/config.js +3 -3
- package/plugins/runtime-modules/core/widgets/steps/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/steps/authoring.js +28 -0
- package/plugins/runtime-modules/core/widgets/steps/client.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/steps/client.js +32 -0
- package/plugins/runtime-modules/core/widgets/steps/config.d.ts +156 -0
- package/plugins/runtime-modules/core/widgets/steps/config.js +69 -0
- package/plugins/runtime-modules/core/widgets/steps/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/steps/plugin.js +38 -0
- package/plugins/runtime-modules/core/widgets/switch/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/switch/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/table/client.js +153 -80
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +248 -22
- package/plugins/runtime-modules/core/widgets/table/config.js +54 -6
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/authoring.js +3 -2
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.d.ts +9 -5
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/client.js +15 -10
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.d.ts +6 -10
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/config.js +3 -5
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/plugin.js +3 -13
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/server.d.ts +9 -0
- package/plugins/runtime-modules/core/widgets/theme-mode-switch/server.js +23 -0
- package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/client.d.ts +1 -1
- package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/client.js +104 -16
- package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/config.d.ts +13 -4
- package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/config.js +8 -2
- package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/server.js +1 -1
- package/plugins/runtime-modules/{threads → core}/widgets/thread-widget-config.d.ts +7 -0
- package/plugins/runtime-modules/{threads → core}/widgets/thread-widget-config.js +4 -4
- package/plugins/runtime-modules/core/widgets/timeline/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/timeline/authoring.js +11 -0
- package/plugins/runtime-modules/core/widgets/timeline/client.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/timeline/client.js +75 -0
- package/plugins/runtime-modules/core/widgets/timeline/config.d.ts +116 -0
- package/plugins/runtime-modules/core/widgets/timeline/config.js +102 -0
- package/plugins/runtime-modules/core/widgets/timeline/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/timeline/plugin.js +45 -0
- package/plugins/runtime-modules/core/widgets/tour-button/authoring.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/tour-button/authoring.js +10 -0
- package/plugins/runtime-modules/core/widgets/tour-button/client.d.ts +13 -0
- package/plugins/runtime-modules/core/widgets/tour-button/client.js +36 -0
- package/plugins/runtime-modules/core/widgets/tour-button/config.d.ts +39 -0
- package/plugins/runtime-modules/core/widgets/tour-button/config.js +28 -0
- package/plugins/runtime-modules/core/widgets/tour-button/plugin.d.ts +3 -0
- package/plugins/runtime-modules/core/widgets/tour-button/plugin.js +8 -0
- package/plugins/runtime-modules/core/widgets/tour-button/server.d.ts +8 -0
- package/plugins/runtime-modules/core/widgets/tour-button/server.js +14 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +41 -45
- package/plugins/runtime-modules/core/widgets/tree/config.js +1 -1
- package/plugins/runtime-modules/core/widgets.js +72 -6
- package/plugins/runtime-modules/dashboard/authoring-client.d.ts +0 -1
- package/plugins/runtime-modules/dashboard/authoring-client.js +1 -1
- package/plugins/runtime-modules/dashboard/clients/dashboard-card-view.js +55 -17
- package/plugins/runtime-modules/dashboard/definition.d.ts +1 -4
- package/plugins/runtime-modules/dashboard/definition.js +2 -8
- package/plugins/runtime-modules/dashboard/ids.d.ts +9 -0
- package/plugins/runtime-modules/dashboard/ids.js +9 -0
- package/plugins/runtime-modules/dashboard/module.d.ts +39 -1
- package/plugins/runtime-modules/dashboard/module.js +8 -3
- package/plugins/runtime-modules/dashboard/services/collection.js +2 -2
- package/plugins/runtime-modules/dashboard/trees/admin-dashboard-label-set.js +3 -2
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.d.ts +2 -0
- package/plugins/runtime-modules/dashboard/trees/area-dashboard-label-set.js +7 -2
- package/plugins/runtime-modules/dashboard/trees/dashboard-cards-page-tree.d.ts +37 -0
- package/plugins/runtime-modules/dashboard/trees/dashboard-cards-page-tree.js +69 -0
- package/plugins/runtime-modules/dashboard/trees/phi-default-admin-dashboard-page-tree.js +6 -52
- package/plugins/runtime-modules/dashboard/trees/phi-default-area-dashboard-page-tree.js +7 -46
- package/plugins/runtime-modules/dashboard/trees/phi-default-builder-dashboard-page-tree.js +21 -17
- package/plugins/runtime-modules/descriptor-compiler.d.ts +3 -13
- package/plugins/runtime-modules/descriptor-compiler.js +162 -71
- package/plugins/runtime-modules/editor/client-data-providers.d.ts +5 -0
- package/plugins/runtime-modules/editor/client-data-providers.js +9 -0
- package/plugins/runtime-modules/editor/data-providers.d.ts +83 -0
- package/plugins/runtime-modules/editor/data-providers.js +75 -0
- package/plugins/runtime-modules/editor/definition.d.ts +76 -5
- package/plugins/runtime-modules/editor/definition.js +4 -8
- package/plugins/runtime-modules/editor/ids.d.ts +19 -0
- package/plugins/runtime-modules/editor/ids.js +26 -0
- package/plugins/runtime-modules/editor/module.d.ts +89 -1
- package/plugins/runtime-modules/editor/module.js +8 -3
- package/plugins/runtime-modules/editor/presets.d.ts +39 -1
- package/plugins/runtime-modules/editor/presets.js +26 -3
- package/plugins/runtime-modules/editor/services/releases-table.d.ts +10 -0
- package/plugins/runtime-modules/editor/services/releases-table.js +182 -0
- package/plugins/runtime-modules/editor/tour.d.ts +29 -0
- package/plugins/runtime-modules/editor/tour.js +34 -0
- package/plugins/runtime-modules/editor/trees/editor-releases-label-set.d.ts +35 -0
- package/plugins/runtime-modules/editor/trees/editor-releases-label-set.js +54 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-area-preset-tree.js +12 -180
- package/plugins/runtime-modules/editor/trees/phi-default-editor-releases-page-tree.d.ts +13 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-releases-page-tree.js +134 -0
- package/plugins/runtime-modules/form-builder/client.js +1 -1
- package/{components/forms/form-builder-controller-plugin.d.ts → plugins/runtime-modules/form-builder/controller/client.d.ts} +2 -2
- package/{components/forms/form-builder-controller-plugin.js → plugins/runtime-modules/form-builder/controller/client.js} +2 -2
- package/plugins/runtime-modules/groups/addresses.d.ts +3 -0
- package/plugins/runtime-modules/groups/addresses.js +11 -0
- package/plugins/runtime-modules/groups/controller/client.d.ts +5 -0
- package/plugins/runtime-modules/groups/controller/client.js +43 -30
- package/plugins/runtime-modules/groups/controller/definition.d.ts +5 -0
- package/plugins/runtime-modules/groups/controller/definition.js +10 -0
- package/plugins/runtime-modules/groups/data-providers.d.ts +2 -2
- package/plugins/runtime-modules/groups/data-providers.js +3 -3
- package/plugins/runtime-modules/groups/definition.d.ts +3 -3
- package/plugins/runtime-modules/groups/definition.js +2 -2
- package/plugins/runtime-modules/groups/forms.d.ts +1 -6
- package/plugins/runtime-modules/groups/forms.js +65 -30
- package/plugins/runtime-modules/groups/ids.d.ts +9 -0
- package/plugins/runtime-modules/groups/ids.js +9 -0
- package/plugins/runtime-modules/groups/labels.d.ts +5 -0
- package/plugins/runtime-modules/groups/labels.js +15 -3
- package/plugins/runtime-modules/groups/presets.js +2 -2
- package/plugins/runtime-modules/groups/services/options.js +4 -3
- package/plugins/runtime-modules/groups/services/table.js +32 -36
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.d.ts +5 -1
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +259 -146
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +3 -4
- package/plugins/runtime-modules/localization/cards.js +11 -7
- package/plugins/runtime-modules/localization/controller/client.d.ts +12 -4
- package/plugins/runtime-modules/localization/controller/client.js +31 -131
- package/plugins/runtime-modules/localization/controller/definition.d.ts +19 -4
- package/plugins/runtime-modules/localization/controller/definition.js +7 -4
- package/plugins/runtime-modules/localization/data-providers.js +1 -1
- package/plugins/runtime-modules/localization/definition.d.ts +2 -2
- package/plugins/runtime-modules/localization/definition.js +3 -3
- package/plugins/runtime-modules/localization/forms.d.ts +0 -4
- package/plugins/runtime-modules/localization/forms.js +35 -44
- package/plugins/runtime-modules/localization/ids.d.ts +9 -0
- package/plugins/runtime-modules/localization/ids.js +9 -0
- package/plugins/runtime-modules/localization/presets.d.ts +45 -1
- package/plugins/runtime-modules/localization/presets.js +16 -12
- package/plugins/runtime-modules/localization/server.js +1 -0
- package/plugins/runtime-modules/localization/services/options.js +16 -8
- package/plugins/runtime-modules/localization/services/table.js +24 -44
- package/plugins/runtime-modules/localization/tour.d.ts +35 -0
- package/plugins/runtime-modules/localization/tour.js +42 -0
- package/plugins/runtime-modules/localization/trees/admin-locales-label-set.js +3 -2
- package/plugins/runtime-modules/localization/trees/editor-translations-label-set.js +3 -2
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.d.ts +2 -0
- package/plugins/runtime-modules/localization/trees/editor-translations-widget-label-set.js +7 -2
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +3 -9
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +40 -24
- package/plugins/runtime-modules/module-labels.server.js +21 -27
- package/plugins/runtime-modules/news/authoring-widgets.js +3 -6
- package/plugins/runtime-modules/news/definition.d.ts +9 -139
- package/plugins/runtime-modules/news/definition.js +8 -18
- package/plugins/runtime-modules/news/forms.d.ts +3 -26
- package/plugins/runtime-modules/news/forms.js +10 -203
- package/plugins/runtime-modules/news/ids.d.ts +19 -36
- package/plugins/runtime-modules/news/ids.js +20 -118
- package/plugins/runtime-modules/news/labels.d.ts +4 -0
- package/plugins/runtime-modules/news/labels.js +27 -0
- package/plugins/runtime-modules/news/module.d.ts +4 -126
- package/plugins/runtime-modules/news/presets.d.ts +51 -15
- package/plugins/runtime-modules/news/presets.js +20 -62
- package/plugins/runtime-modules/news/server.js +1 -2
- package/plugins/runtime-modules/observability/definition.d.ts +1 -1
- package/plugins/runtime-modules/observability/definition.js +2 -2
- package/plugins/runtime-modules/observability/ids.d.ts +9 -0
- package/plugins/runtime-modules/observability/ids.js +9 -0
- package/plugins/runtime-modules/observability/module.d.ts +1 -1
- package/plugins/runtime-modules/observability/services/table.js +11 -24
- package/plugins/runtime-modules/observability/trees/admin-logs-label-set.js +3 -2
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +2 -7
- package/plugins/runtime-modules/phi-default-site-area-preset-tree.js +38 -37
- package/plugins/runtime-modules/pub-area-preset.js +7 -2
- package/plugins/runtime-modules/public/module.d.ts +1 -1
- package/plugins/runtime-modules/public/trees/phi-default-pub-contact-page-tree.js +25 -20
- package/plugins/runtime-modules/public/trees/phi-default-pub-error-page-tree.js +15 -10
- package/plugins/runtime-modules/public/trees/phi-default-pub-home-page-tree.js +11 -20
- package/plugins/runtime-modules/public/trees/phi-default-pub-terms-page-tree.js +11 -20
- package/plugins/runtime-modules/public/trees/phi-default-pub-unsubscribe-page-tree.js +11 -20
- package/plugins/runtime-modules/public/trees/phi-default-pub-welcome-page-tree.js +0 -1
- package/plugins/runtime-modules/resolver.d.ts +0 -4
- package/plugins/runtime-modules/resolver.js +17 -2
- package/plugins/runtime-modules/revisions/authoring-client.d.ts +0 -1
- package/plugins/runtime-modules/revisions/authoring-client.js +1 -1
- package/plugins/runtime-modules/revisions/controller/client.d.ts +23 -5
- package/plugins/runtime-modules/revisions/controller/client.js +33 -70
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +30 -5
- package/plugins/runtime-modules/revisions/controller/definition.js +10 -3
- package/plugins/runtime-modules/revisions/data-providers.d.ts +7 -0
- package/plugins/runtime-modules/revisions/data-providers.js +2 -0
- package/plugins/runtime-modules/revisions/definition.d.ts +7 -0
- package/plugins/runtime-modules/revisions/forms.js +7 -16
- package/plugins/runtime-modules/revisions/services/table.js +63 -11
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +129 -22
- package/plugins/runtime-modules/revisions/types.d.ts +3 -0
- package/plugins/runtime-modules/settings.d.ts +9 -1
- package/plugins/runtime-modules/settings.js +19 -10
- package/plugins/runtime-modules/shell-tree-composition.d.ts +4 -4
- package/plugins/runtime-modules/shell-tree-composition.js +2 -0
- package/plugins/runtime-modules/sidebar-route.d.ts +2 -2
- package/plugins/runtime-modules/sidebar-route.js +2 -3
- package/plugins/runtime-modules/site-module-client-manifests.d.ts +1 -2
- package/plugins/runtime-modules/site-module-client-manifests.js +1 -1
- package/plugins/runtime-modules/theme/brand-theme-model.d.ts +170 -0
- package/plugins/runtime-modules/theme/brand-theme-model.js +164 -0
- package/plugins/runtime-modules/theme/controller/client.d.ts +4 -9
- package/plugins/runtime-modules/theme/controller/client.js +7 -5
- package/plugins/runtime-modules/theme/controller/definition.d.ts +14 -8
- package/plugins/runtime-modules/theme/controller/definition.js +8 -14
- package/plugins/runtime-modules/theme/controller/runtime.d.ts +11 -0
- package/plugins/runtime-modules/theme/controller/runtime.js +627 -0
- package/plugins/runtime-modules/theme/controller/server-definition.d.ts +4 -9
- package/plugins/runtime-modules/theme/controller/server-definition.js +8 -1
- package/plugins/runtime-modules/theme/materialize-images.js +9 -1
- package/plugins/runtime-modules/theme/presets.d.ts +44 -2
- package/plugins/runtime-modules/theme/presets.js +16 -12
- package/plugins/runtime-modules/theme/tour.d.ts +36 -0
- package/plugins/runtime-modules/theme/tour.js +43 -0
- package/plugins/runtime-modules/theme/trees/phi-default-builder-theme-page-tree.js +60 -42
- package/plugins/runtime-modules/theme/widgets/brand-controls/authoring.d.ts +10 -10
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.d.ts +0 -6
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +177 -934
- package/plugins/runtime-modules/theme/widgets/brand-controls/plugin.js +3 -2
- package/plugins/runtime-modules/theme-descriptors.d.ts +0 -58
- package/plugins/runtime-modules/theme-descriptors.js +1 -1
- package/plugins/runtime-modules/threads/addresses.d.ts +15 -8
- package/plugins/runtime-modules/threads/addresses.js +30 -23
- package/plugins/runtime-modules/threads/authoring-widgets.js +3 -5
- package/plugins/runtime-modules/threads/cards.js +4 -6
- package/plugins/runtime-modules/threads/client-data-providers.js +0 -5
- package/plugins/runtime-modules/threads/controller/client.d.ts +0 -6
- package/plugins/runtime-modules/threads/controller/client.js +20 -49
- package/plugins/runtime-modules/threads/controller/definition.d.ts +0 -6
- package/plugins/runtime-modules/threads/controller/definition.js +14 -29
- package/plugins/runtime-modules/threads/data-providers.d.ts +3 -98
- package/plugins/runtime-modules/threads/data-providers.js +1 -104
- package/plugins/runtime-modules/threads/definition.d.ts +6 -99
- package/plugins/runtime-modules/threads/definition.js +5 -3
- package/plugins/runtime-modules/threads/forms.d.ts +3 -22
- package/plugins/runtime-modules/threads/forms.js +18 -145
- package/plugins/runtime-modules/threads/ids.d.ts +9 -0
- package/plugins/runtime-modules/threads/ids.js +9 -0
- package/{components/widgets/label-sets/threads.d.ts → plugins/runtime-modules/threads/labels.d.ts} +2 -40
- package/plugins/runtime-modules/threads/labels.js +156 -0
- package/plugins/runtime-modules/threads/presets.js +33 -15
- package/plugins/runtime-modules/threads/server.js +1 -0
- package/plugins/runtime-modules/threads/services/options.js +4 -8
- package/plugins/runtime-modules/threads/trees/{phi-default-app-threads-page-tree.d.ts → phi-default-threads-page-tree.d.ts} +3 -1
- package/plugins/runtime-modules/threads/trees/{phi-default-app-threads-page-tree.js → phi-default-threads-page-tree.js} +185 -187
- package/plugins/runtime-modules/threads/widgets.js +5 -14
- package/plugins/runtime-modules/tour/authoring-widgets.d.ts +2 -0
- package/plugins/runtime-modules/tour/authoring-widgets.js +4 -0
- package/plugins/runtime-modules/tour/authoring.d.ts +1 -0
- package/plugins/runtime-modules/tour/authoring.js +8 -0
- package/plugins/runtime-modules/tour/client.d.ts +1 -0
- package/plugins/runtime-modules/{admin → tour}/client.js +1 -1
- package/plugins/runtime-modules/tour/controller/address.d.ts +1 -0
- package/plugins/runtime-modules/tour/controller/address.js +3 -0
- package/plugins/runtime-modules/tour/controller/client.d.ts +39 -0
- package/plugins/runtime-modules/tour/controller/client.js +162 -0
- package/plugins/runtime-modules/tour/controller/definition.d.ts +48 -0
- package/plugins/runtime-modules/tour/controller/definition.js +41 -0
- package/plugins/runtime-modules/tour/controller/progress.d.ts +19 -0
- package/plugins/runtime-modules/tour/controller/progress.js +24 -0
- package/plugins/runtime-modules/tour/definition.d.ts +27 -0
- package/plugins/runtime-modules/tour/definition.js +32 -0
- package/plugins/runtime-modules/tour/ids.d.ts +7 -0
- package/plugins/runtime-modules/tour/ids.js +8 -0
- package/plugins/runtime-modules/tour/module.d.ts +1 -0
- package/plugins/runtime-modules/tour/module.js +4 -0
- package/plugins/runtime-modules/tour/server.d.ts +1 -0
- package/plugins/runtime-modules/tour/server.js +14 -0
- package/plugins/runtime-modules/user-management/cards.js +3 -5
- package/plugins/runtime-modules/user-management/controller/client.d.ts +14 -8
- package/plugins/runtime-modules/user-management/controller/client.js +50 -181
- package/plugins/runtime-modules/user-management/controller/definition.d.ts +21 -8
- package/plugins/runtime-modules/user-management/controller/definition.js +54 -26
- package/plugins/runtime-modules/user-management/definition.d.ts +1 -1
- package/plugins/runtime-modules/user-management/definition.js +2 -2
- package/plugins/runtime-modules/user-management/forms.d.ts +0 -4
- package/plugins/runtime-modules/user-management/forms.js +34 -34
- package/plugins/runtime-modules/user-management/ids.d.ts +9 -0
- package/plugins/runtime-modules/user-management/ids.js +9 -0
- package/plugins/runtime-modules/user-management/server.js +1 -0
- package/plugins/runtime-modules/user-management/services/table.js +15 -48
- package/plugins/runtime-modules/user-management/trees/admin-users-label-set.js +3 -2
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +82 -19
- package/plugins/runtime-modules/video/widgets/embed/config.d.ts +2 -10
- package/plugins/runtime-modules/video/widgets/embed/config.js +5 -4
- package/runtime-data-provider-client.d.ts +2 -0
- package/runtime-data-provider-client.js +1 -0
- package/server-helpers/area-root-door-warmup.js +11 -4
- package/server-helpers/area-root-route.d.ts +5 -7
- package/server-helpers/area-root-route.js +5 -11
- package/server-helpers/cms-area.js +3 -1
- package/server-helpers/cms-bound-content.d.ts +38 -0
- package/server-helpers/cms-bound-content.js +97 -0
- package/server-helpers/cms-link-targets.d.ts +8 -1
- package/server-helpers/cms-link-targets.js +13 -1
- package/server-helpers/cms-lookup.d.ts +22 -0
- package/server-helpers/cms-lookup.js +56 -0
- package/server-helpers/cms-node-features.d.ts +17 -3
- package/server-helpers/cms-node-features.js +22 -16
- package/server-helpers/cms-request.js +50 -25
- package/server-helpers/cms-review.d.ts +14 -1
- package/server-helpers/cms-review.js +20 -6
- package/server-helpers/cms-root.d.ts +3 -1
- package/server-helpers/cms-root.js +42 -44
- package/server-helpers/cms-route.d.ts +2 -1
- package/server-helpers/cms-route.js +8 -1
- package/server-helpers/content-entry-page.d.ts +16 -0
- package/server-helpers/content-entry-page.js +24 -0
- package/server-helpers/page-tour.d.ts +11 -0
- package/server-helpers/page-tour.js +26 -0
- package/server-helpers/public-login-route.d.ts +10 -5
- package/server-helpers/public-login-route.js +49 -28
- package/server-helpers/record-source.d.ts +31 -0
- package/server-helpers/record-source.js +44 -0
- package/server-helpers/request-locale.js +23 -9
- package/server-helpers/request-memo.d.ts +14 -0
- package/server-helpers/request-memo.js +72 -0
- package/server-helpers/request-runtime.d.ts +9 -2
- package/server-helpers/request-runtime.js +2 -2
- package/server-helpers/request-search-params.d.ts +12 -0
- package/server-helpers/request-search-params.js +21 -0
- package/server-helpers/root-layout.js +2 -13
- package/server-helpers/runtime.d.ts +1 -41
- package/server-helpers/runtime.js +51 -46
- package/server-helpers/translate.d.ts +3 -1
- package/server-helpers/translate.js +13 -7
- package/styles/builder-scaffold.css +0 -112
- package/styles/control-shape.css +14 -0
- package/styles/controls.css +51 -0
- package/styles/layout-authoring-scaffold.css +0 -31
- package/styles/layout.css +233 -10
- package/styles/shell.css +54 -0
- package/theme/antd-css-var-contract.d.ts +5 -10
- package/theme/antd-css-var-contract.js +5 -10
- package/theme/phi-button-shadow.d.ts +0 -2
- package/theme/phi-button-shadow.js +1 -1
- package/theme/phi-control-shape.js +2 -1
- package/theme/phi-css-vars.d.ts +13 -3
- package/theme/phi-css-vars.js +25 -16
- package/theme/phi-font-catalogue.d.ts +0 -2
- package/theme/phi-font-catalogue.js +1 -1
- package/theme/phi-font-face.d.ts +0 -3
- package/theme/phi-font-face.js +2 -2
- package/theme/phi-published-root-style.d.ts +1 -2
- package/theme/phi-published-root-style.js +2 -4
- package/theme/phi-theme-adoption.d.ts +0 -3
- package/theme/phi-theme-adoption.js +3 -3
- package/theme/phi-theme-blocks.js +4 -4
- package/theme/phi-theme-palette.d.ts +0 -1
- package/theme/phi-theme-palette.js +0 -3
- package/theme/phi-theme-selection.d.ts +0 -9
- package/theme/phi-theme-selection.js +4 -3
- package/theme/phi-theme-tokens.d.ts +1 -16
- package/theme/phi-theme-tokens.js +5 -2
- package/theme/phi-theme.d.ts +0 -2
- package/theme/phi-theme.js +38 -15
- package/theme/phi-tokens.d.ts +36 -10
- package/theme/phi-tokens.js +44 -2
- package/types/builder.d.ts +8 -0
- package/types/calendar.d.ts +5 -0
- package/types/calendar.js +7 -6
- package/types/cms-border-config.js +2 -1
- package/types/cms-config.d.ts +20 -47
- package/types/cms-config.js +36 -117
- package/types/cms-container.d.ts +8 -8
- package/types/cms-module-descriptors.d.ts +17 -25
- package/types/cms-mount-policy.d.ts +0 -1
- package/types/cms-mount-policy.js +1 -1
- package/types/cms-overlay.d.ts +34 -7
- package/types/cms-overlay.js +33 -43
- package/types/cms-plugins.d.ts +205 -9
- package/types/cms-presets.d.ts +62 -15
- package/types/cms-presets.js +23 -1
- package/types/cms.d.ts +41 -21
- package/types/content-entries.d.ts +76 -0
- package/types/content-entries.js +16 -0
- package/types/core-runtime-controller.js +4 -3
- package/types/core-widget-placements.d.ts +59 -21
- package/types/dashboard-cards.d.ts +28 -7
- package/types/dashboard-cards.js +5 -0
- package/types/dimension.js +2 -1
- package/types/draft-status.js +2 -1
- package/types/form-descriptor.d.ts +1 -1
- package/types/form-submit-route.d.ts +26 -0
- package/types/form-submit-route.js +1 -0
- package/types/layout-style.d.ts +12 -4
- package/types/layout-style.js +15 -6
- package/types/media.d.ts +0 -1
- package/types/record-provider.d.ts +23 -0
- package/types/record-provider.js +1 -0
- package/types/references.d.ts +1 -1
- package/types/references.js +1 -1
- package/types/renderable-block-geometry.d.ts +0 -4
- package/types/renderable-block-geometry.js +2 -2
- package/types/renderable-block.d.ts +9 -6
- package/types/runtime-data-provider.d.ts +11 -1
- package/types/runtime-data-provider.js +25 -2
- package/types/signals.d.ts +3 -1
- package/types/signals.js +3 -1
- package/types/site-config.d.ts +15 -3
- package/types/site-request-context.d.ts +2 -159
- package/types/site-theme.d.ts +1 -4
- package/types/surface.d.ts +59 -0
- package/types/surface.js +62 -0
- package/types/table-signal-values.js +25 -4
- package/types/table-widget.d.ts +50 -0
- package/types/table-widget.js +3 -4
- package/types/thread-widget.js +2 -1
- package/types/tours.d.ts +84 -0
- package/types/tours.js +75 -0
- package/types/widget-runtime.d.ts +35 -41
- package/types.d.ts +2 -1
- package/types.js +2 -0
- package/widget-config.d.ts +2 -1
- package/widget-config.js +3 -1
- package/components/layouts/clients/phi-flex-vertical-layout-client.d.ts +0 -10
- package/components/layouts/clients/phi-flex-vertical-layout-client.js +0 -133
- package/components/root/phi-root-rem-provider.d.ts +0 -7
- package/components/root/phi-root-rem-provider.js +0 -14
- package/components/widgets/label-sets/news.d.ts +0 -9
- package/components/widgets/label-sets/news.js +0 -29
- package/components/widgets/label-sets/threads.js +0 -269
- package/gateway/news.d.ts +0 -22
- package/gateway/news.js +0 -76
- package/helpers/visibility.d.ts +0 -1
- package/helpers/visibility.js +0 -4
- package/plugins/runtime-modules/admin/client.d.ts +0 -1
- package/plugins/runtime-modules/admin/controller/address.d.ts +0 -3
- package/plugins/runtime-modules/admin/controller/address.js +0 -4
- package/plugins/runtime-modules/admin/controller/client.d.ts +0 -18
- package/plugins/runtime-modules/admin/controller/client.js +0 -8
- package/plugins/runtime-modules/admin/controller/definition.d.ts +0 -16
- package/plugins/runtime-modules/admin/controller/definition.js +0 -13
- package/plugins/runtime-modules/avatar/client.d.ts +0 -0
- package/plugins/runtime-modules/avatar/client.js +0 -2
- package/plugins/runtime-modules/builder/inspector-controller.d.ts +0 -3
- package/plugins/runtime-modules/builder/inspector-controller.js +0 -290
- package/plugins/runtime-modules/builder/page-reference-tree.d.ts +0 -18
- package/plugins/runtime-modules/builder/page-reference-tree.js +0 -31
- package/plugins/runtime-modules/builder/preview-controller.d.ts +0 -7
- package/plugins/runtime-modules/builder/preview-controller.js +0 -82
- package/plugins/runtime-modules/builder/tree-options.d.ts +0 -7
- package/plugins/runtime-modules/builder/tree-options.js +0 -14
- package/plugins/runtime-modules/builder/widgets/chrome-controls/authoring.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/chrome-controls/authoring.js +0 -7
- package/plugins/runtime-modules/builder/widgets/chrome-controls/client.d.ts +0 -9
- package/plugins/runtime-modules/builder/widgets/chrome-controls/client.js +0 -34
- package/plugins/runtime-modules/builder/widgets/chrome-controls/config.d.ts +0 -19
- package/plugins/runtime-modules/builder/widgets/chrome-controls/config.js +0 -30
- package/plugins/runtime-modules/builder/widgets/chrome-controls/plugin.d.ts +0 -3
- package/plugins/runtime-modules/builder/widgets/chrome-controls/plugin.js +0 -9
- package/plugins/runtime-modules/builder/widgets/chrome-controls/server.d.ts +0 -8
- package/plugins/runtime-modules/builder/widgets/chrome-controls/server.js +0 -6
- package/plugins/runtime-modules/client-manifests/news-render-clients.d.ts +0 -2
- package/plugins/runtime-modules/client-manifests/news-render-clients.js +0 -10
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.d.ts +0 -5
- package/plugins/runtime-modules/core/widgets/command-toolbar/authoring-tools.js +0 -45
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/date-picker/authoring.js +0 -8
- package/plugins/runtime-modules/core/widgets/date-picker/client.d.ts +0 -6
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.d.ts +0 -3
- package/plugins/runtime-modules/core/widgets/date-picker/plugin.js +0 -9
- package/plugins/runtime-modules/dashboard/client.d.ts +0 -2
- package/plugins/runtime-modules/dashboard/client.js +0 -13
- package/plugins/runtime-modules/dashboard/controller/address.d.ts +0 -3
- package/plugins/runtime-modules/dashboard/controller/address.js +0 -4
- package/plugins/runtime-modules/dashboard/controller/client.d.ts +0 -18
- package/plugins/runtime-modules/dashboard/controller/client.js +0 -8
- package/plugins/runtime-modules/dashboard/controller/definition.d.ts +0 -16
- package/plugins/runtime-modules/dashboard/controller/definition.js +0 -13
- package/plugins/runtime-modules/editor/client.d.ts +0 -1
- package/plugins/runtime-modules/editor/client.js +0 -7
- package/plugins/runtime-modules/editor/controller/address.d.ts +0 -3
- package/plugins/runtime-modules/editor/controller/address.js +0 -4
- package/plugins/runtime-modules/editor/controller/client.d.ts +0 -18
- package/plugins/runtime-modules/editor/controller/client.js +0 -8
- package/plugins/runtime-modules/editor/controller/definition.d.ts +0 -16
- package/plugins/runtime-modules/editor/controller/definition.js +0 -13
- package/plugins/runtime-modules/editor/trees/editor-label-set.d.ts +0 -8
- package/plugins/runtime-modules/editor/trees/editor-label-set.js +0 -22
- package/plugins/runtime-modules/news/client-data-providers.d.ts +0 -11
- package/plugins/runtime-modules/news/client-data-providers.js +0 -14
- package/plugins/runtime-modules/news/data-providers.d.ts +0 -133
- package/plugins/runtime-modules/news/data-providers.js +0 -112
- package/plugins/runtime-modules/news/services/options.d.ts +0 -3
- package/plugins/runtime-modules/news/services/options.js +0 -35
- package/plugins/runtime-modules/news/services/table.js +0 -144
- package/plugins/runtime-modules/news/trees/editor-news-label-set.d.ts +0 -8
- package/plugins/runtime-modules/news/trees/editor-news-label-set.js +0 -29
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.d.ts +0 -65
- package/plugins/runtime-modules/news/trees/editor-news-widget-label-set.js +0 -106
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.d.ts +0 -17
- package/plugins/runtime-modules/news/trees/phi-default-editor-news-page-tree.js +0 -462
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.d.ts +0 -11
- package/plugins/runtime-modules/news/trees/phi-default-pub-news-page-tree.js +0 -86
- package/plugins/runtime-modules/news/widgets/news-list/authoring.d.ts +0 -2
- package/plugins/runtime-modules/news/widgets/news-list/client.d.ts +0 -34
- package/plugins/runtime-modules/news/widgets/news-list/client.js +0 -26
- package/plugins/runtime-modules/news/widgets/news-list/config.d.ts +0 -43
- package/plugins/runtime-modules/news/widgets/news-list/config.js +0 -52
- package/plugins/runtime-modules/news/widgets/news-list/plugin.d.ts +0 -3
- package/plugins/runtime-modules/news/widgets/news-list/plugin.js +0 -8
- package/plugins/runtime-modules/news/widgets/news-list/server.d.ts +0 -14
- package/plugins/runtime-modules/news/widgets/news-list/server.js +0 -82
- package/plugins/runtime-modules/news/widgets.d.ts +0 -2
- package/plugins/runtime-modules/news/widgets.js +0 -16
- package/types/news.d.ts +0 -33
- /package/{types/news.js → components/controls/phi-form-control-contract.js} +0 -0
- /package/plugins/runtime-modules/{threads/services/table.d.ts → core/messaging/thread-inbox-table.d.ts} +0 -0
- /package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/authoring.d.ts +0 -0
- /package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/authoring.js +0 -0
- /package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/plugin.d.ts +0 -0
- /package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/plugin.js +0 -0
- /package/plugins/runtime-modules/{threads → core}/widgets/thread-conversation/server.d.ts +0 -0
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useEffect,
|
|
3
|
+
import { useEffect, useEffectEvent } from "react";
|
|
4
|
+
import { logRuntimeEvent } from "../../../net/log";
|
|
4
5
|
import { PhiAlertControl } from "../../controls/phi-alert-control";
|
|
5
6
|
import { PhiFlexControl } from "../../controls/phi-flex-control";
|
|
6
7
|
import { PhiTypographyControl } from "../../controls/phi-typography-control";
|
|
7
8
|
export function PhiExternalDocumentEditor({ format, sourceUrl, sourceLocale, onSourceLocaleChange, }) {
|
|
8
|
-
|
|
9
|
+
/*
|
|
10
|
+
* The answer goes to whatever callback stands when it arrives. The callback is a new function on every
|
|
11
|
+
* render of the caller, and as an effect dependency it aborted the request each time -- with a ref
|
|
12
|
+
* that then refused to ask again, the locale was never set, under StrictMode not once.
|
|
13
|
+
*/
|
|
14
|
+
const reportSourceLocale = useEffectEvent((detected) => onSourceLocaleChange?.(detected));
|
|
15
|
+
const canReport = onSourceLocaleChange != null;
|
|
9
16
|
useEffect(() => {
|
|
10
|
-
if (!sourceUrl || sourceLocale?.trim() || !
|
|
17
|
+
if (!sourceUrl || sourceLocale?.trim() || !canReport) {
|
|
11
18
|
return;
|
|
12
19
|
}
|
|
13
|
-
detectionUrlRef.current = sourceUrl;
|
|
14
20
|
const controller = new AbortController();
|
|
15
21
|
void fetch("/api/site/translation/detect", {
|
|
16
22
|
method: "POST",
|
|
@@ -19,14 +25,23 @@ export function PhiExternalDocumentEditor({ format, sourceUrl, sourceLocale, onS
|
|
|
19
25
|
body: JSON.stringify({ sourceUrl, format }),
|
|
20
26
|
signal: controller.signal,
|
|
21
27
|
}).then(async (response) => {
|
|
22
|
-
if (!response.ok)
|
|
23
|
-
|
|
28
|
+
if (!response.ok) {
|
|
29
|
+
throw new Error(`Source locale detection answered ${response.status}.`);
|
|
30
|
+
}
|
|
24
31
|
const payload = await response.json();
|
|
25
|
-
|
|
32
|
+
reportSourceLocale(typeof payload.sourceLocale === "string" && payload.sourceLocale.trim()
|
|
26
33
|
? payload.sourceLocale.trim()
|
|
27
34
|
: "und");
|
|
28
|
-
}).catch(() =>
|
|
35
|
+
}).catch((error) => {
|
|
36
|
+
if (controller.signal.aborted)
|
|
37
|
+
return;
|
|
38
|
+
// Nothing is set, and the field stays open for the author; the reason is in the log.
|
|
39
|
+
logRuntimeEvent("warn", "translation.detect.failed", {
|
|
40
|
+
message: "The source locale of an external document could not be detected.",
|
|
41
|
+
error,
|
|
42
|
+
});
|
|
43
|
+
});
|
|
29
44
|
return () => controller.abort();
|
|
30
|
-
}, [
|
|
45
|
+
}, [canReport, format, sourceLocale, sourceUrl]);
|
|
31
46
|
return (_jsx("div", { style: { width: 520, height: 260, maxWidth: "100%", minWidth: 0, minHeight: 0, display: "flex" }, children: _jsx(PhiAlertControl, { level: "info", showIcon: true, title: `External ${format} source`, description: _jsxs(PhiFlexControl, { vertical: true, gap: "var(--ant-padding-xs)", style: { width: "100%", minWidth: 0 }, children: [_jsx(PhiTypographyControl, { children: "This widget renders the configured external document. Edit its URL and source locale in the widget settings." }), _jsx(PhiTypographyControl, { code: true, copyable: { text: sourceUrl }, style: { wordBreak: "break-all" }, children: sourceUrl || "No Source URL configured." })] }) }) }));
|
|
32
47
|
}
|
|
@@ -9,13 +9,6 @@ export type SerializedPhiHtmlImageNode = Spread<{
|
|
|
9
9
|
width?: PhiCssLength | null;
|
|
10
10
|
height?: PhiCssLength | null;
|
|
11
11
|
}, SerializedLexicalNode>;
|
|
12
|
-
/**
|
|
13
|
-
* The stored `src` stays the `phis:asset/<id>` reference the server resolves at render time; a browser
|
|
14
|
-
* cannot load that scheme, so the authoring DOM shows the same Asset through the authorized delivery
|
|
15
|
-
* endpoint the other authoring surfaces already read. Nothing here resolves a reference for a rendered
|
|
16
|
-
* page.
|
|
17
|
-
*/
|
|
18
|
-
export declare function resolvePhiHtmlImageAuthoringSrc(src: string): string;
|
|
19
12
|
export declare class PhiHtmlImageNode extends DecoratorNode<ReactNode> {
|
|
20
13
|
__src: string;
|
|
21
14
|
__alt: string;
|
|
@@ -43,4 +36,3 @@ export declare class PhiHtmlImageNode extends DecoratorNode<ReactNode> {
|
|
|
43
36
|
decorate(): import("react").JSX.Element;
|
|
44
37
|
}
|
|
45
38
|
export declare function $createPhiHtmlImageNode(src: string, alt?: string, attributes?: Partial<Omit<PhiHtmlImageAttributes, "alt">>): PhiHtmlImageNode;
|
|
46
|
-
export declare function $isPhiHtmlImageNode(node: unknown): node is PhiHtmlImageNode;
|
|
@@ -20,7 +20,7 @@ import { PhiFlexControl } from "../../controls/phi-flex-control";
|
|
|
20
20
|
* endpoint the other authoring surfaces already read. Nothing here resolves a reference for a rendered
|
|
21
21
|
* page.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function resolvePhiHtmlImageAuthoringSrc(src) {
|
|
24
24
|
const reference = readPhiInternalReference(src);
|
|
25
25
|
return reference?.kind === "asset" ? buildPhiMediaAssetContentDeliveryUrl(reference.assetId) ?? src : src;
|
|
26
26
|
}
|
|
@@ -315,6 +315,6 @@ function PhiHtmlImageDecorator({ nodeKey, src, alt, title, width, height, }) {
|
|
|
315
315
|
export function $createPhiHtmlImageNode(src, alt = "", attributes) {
|
|
316
316
|
return $applyNodeReplacement(new PhiHtmlImageNode(src, alt, attributes));
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
function $isPhiHtmlImageNode(node) {
|
|
319
319
|
return node instanceof PhiHtmlImageNode;
|
|
320
320
|
}
|
|
@@ -216,7 +216,18 @@ function PhiHtmlWidgetEditorContentSyncPlugin({ html, latestHtmlRef, }) {
|
|
|
216
216
|
*/
|
|
217
217
|
function PhiHtmlWidgetEditorChangePlugin({ html, latestHtmlRef, onChange, }) {
|
|
218
218
|
const [editor] = useLexicalComposerContext();
|
|
219
|
+
/*
|
|
220
|
+
* The state the editor last reached, kept and not yet read. Serialising it to HTML and sanitising that
|
|
221
|
+
* twice is the expensive half of every update, and the result was wanted only on blur -- so it is made
|
|
222
|
+
* there, once, from the last state, and a keystroke costs the editor nothing beyond itself.
|
|
223
|
+
*/
|
|
224
|
+
const pendingStateRef = useRef(null);
|
|
219
225
|
const emitChange = useEffectEvent(() => {
|
|
226
|
+
const pendingState = pendingStateRef.current;
|
|
227
|
+
if (pendingState) {
|
|
228
|
+
pendingStateRef.current = null;
|
|
229
|
+
latestHtmlRef.current = pendingState.read(() => sanitizePhiHtmlWidgetMarkup($generateHtmlFromNodes(editor), { allowInternalReferences: true }));
|
|
230
|
+
}
|
|
220
231
|
const nextHtml = latestHtmlRef.current;
|
|
221
232
|
if (nextHtml === html) {
|
|
222
233
|
return;
|
|
@@ -225,9 +236,9 @@ function PhiHtmlWidgetEditorChangePlugin({ html, latestHtmlRef, onChange, }) {
|
|
|
225
236
|
});
|
|
226
237
|
useEffect(() => {
|
|
227
238
|
return editor.registerUpdateListener(({ editorState }) => {
|
|
228
|
-
|
|
239
|
+
pendingStateRef.current = editorState;
|
|
229
240
|
});
|
|
230
|
-
}, [editor
|
|
241
|
+
}, [editor]);
|
|
231
242
|
useEffect(() => {
|
|
232
243
|
return editor.registerCommand(BLUR_COMMAND, () => {
|
|
233
244
|
emitChange();
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { PHI_CORE_RUNTIME_DATA_PROVIDER_KEYS } from "../../../../constants/core-data-provider-keys";
|
|
3
|
-
import { buildPhiSpacingScaleOptions
|
|
4
|
-
import { createPhiStaticControlOptionsProviderClient,
|
|
3
|
+
import { buildPhiSpacingScaleOptions } from "../../config/spacing-options";
|
|
4
|
+
import { createPhiStaticControlOptionsProviderClient, } from "../../../controls/phi-options-provider";
|
|
5
5
|
import { readPhiSiteLocaleOptions } from "../../../forms/site-locales-config";
|
|
6
|
-
function resolveSpacingScaleOptionsProvider(
|
|
7
|
-
const family = readPhiControlOptionsProviderParam(context.optionsProvider, "family") === "margin"
|
|
8
|
-
? "margin"
|
|
9
|
-
: "padding";
|
|
6
|
+
function resolveSpacingScaleOptionsProvider() {
|
|
10
7
|
return {
|
|
11
|
-
options: buildPhiSpacingScaleOptions(
|
|
8
|
+
options: buildPhiSpacingScaleOptions(),
|
|
12
9
|
};
|
|
13
10
|
}
|
|
14
11
|
export const PhiSpacingScaleOptionsProviderClient = createPhiStaticControlOptionsProviderClient({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { PhiBulletListEntry } from "../../shared/bullet-list-vocabulary";
|
|
1
2
|
/**
|
|
2
|
-
* The item list at a new length: kept entries stay, new ones start empty
|
|
3
|
-
* Out-of-range and empty input answers with the list unchanged --
|
|
4
|
-
* typing a new number must not be read as "no items".
|
|
3
|
+
* The item list at a new length: kept entries stay, new ones start empty at the level of the entry before
|
|
4
|
+
* them, a shorter list drops its tail. Out-of-range and empty input answers with the list unchanged --
|
|
5
|
+
* clearing the field on the way to typing a new number must not be read as "no items".
|
|
5
6
|
*/
|
|
6
|
-
export declare function resizePhiDescriptionItems(items: readonly
|
|
7
|
+
export declare function resizePhiDescriptionItems(items: readonly PhiBulletListEntry[] | null | undefined, count: number | null | undefined): PhiBulletListEntry[];
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The item list at a new length: kept entries stay, new ones start empty
|
|
3
|
-
* Out-of-range and empty input answers with the list unchanged --
|
|
4
|
-
* typing a new number must not be read as "no items".
|
|
2
|
+
* The item list at a new length: kept entries stay, new ones start empty at the level of the entry before
|
|
3
|
+
* them, a shorter list drops its tail. Out-of-range and empty input answers with the list unchanged --
|
|
4
|
+
* clearing the field on the way to typing a new number must not be read as "no items".
|
|
5
5
|
*/
|
|
6
6
|
export function resizePhiDescriptionItems(items, count) {
|
|
7
7
|
const current = Array.isArray(items) ? [...items] : [];
|
|
8
8
|
if (count == null || !Number.isFinite(count))
|
|
9
9
|
return current;
|
|
10
10
|
const nextCount = Math.max(0, Math.min(12, Math.trunc(count)));
|
|
11
|
-
return Array.from({ length: nextCount }, (_, index) =>
|
|
11
|
+
return Array.from({ length: nextCount }, (_, index) => {
|
|
12
|
+
if (current[index])
|
|
13
|
+
return current[index];
|
|
14
|
+
const level = current[current.length - 1]?.level;
|
|
15
|
+
return level ? { text: "", level } : { text: "" };
|
|
16
|
+
});
|
|
12
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PhiSignalAddress } from "../../../../types";
|
|
2
2
|
import { type PhiControlOption } from "../../../controls/phi-control-options";
|
|
3
3
|
import type { PhiChoiceControlConfig, PhiStackChoiceControlConfig } from "../../config/choice-shared";
|
|
4
|
-
export type PhiChoiceControlTypeKey = "select-box" | "segmented" | "tab-bar";
|
|
4
|
+
export type PhiChoiceControlTypeKey = "select-box" | "segmented" | "steps" | "tab-bar";
|
|
5
5
|
export type PhiChoiceControllerOptions<TConfig extends PhiChoiceControlConfig> = {
|
|
6
6
|
config?: TConfig | null;
|
|
7
7
|
signalsEnabled?: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { isPhiRecord } from "../../../../helpers/is-record";
|
|
2
3
|
import { useEffect, useMemo, useState } from "react";
|
|
3
4
|
import { findPhiSignalRoutesByCapabilityId } from "../../../../types/signals";
|
|
4
5
|
import { readPhiControlOptions } from "../../../controls/phi-control-options";
|
|
5
|
-
import { isPhiStackSignalMessage, PHI_STACK_META_SIGNAL_CHANNEL, resolvePhiStackSignalMessage, } from "../../../layouts/stack-signals";
|
|
6
|
+
import { isPhiStackSignalMessage, PHI_STACK_META_SIGNAL_CHANNEL, readPhiStackSignalAddressKey, resolvePhiStackSignalMessage, } from "../../../layouts/stack-signals";
|
|
6
7
|
import { usePhiSignalListener } from "../../../runtime/runtime-signal-bus";
|
|
7
8
|
import { usePhiControlSignalController } from "./phi-control-signals";
|
|
8
9
|
import { usePhiControlOptionsProvider } from "../../../controls/phi-options-provider";
|
|
@@ -42,7 +43,7 @@ export function usePhiChoiceController({ config, signalsEnabled = true, typeKey,
|
|
|
42
43
|
if (capabilityId !== "options") {
|
|
43
44
|
return false;
|
|
44
45
|
}
|
|
45
|
-
const value =
|
|
46
|
+
const value = isPhiRecord(signal.value)
|
|
46
47
|
? signal.value.options
|
|
47
48
|
: undefined;
|
|
48
49
|
setSentOptions({ source: configuredOptions, options: readPhiControlOptions(value) });
|
|
@@ -97,6 +98,12 @@ export function usePhiStackChoiceController({ config, signalsEnabled = true, typ
|
|
|
97
98
|
const [stackOptions, setStackOptions] = useState([]);
|
|
98
99
|
const value = state.source === fallbackValue ? state.value : fallbackValue;
|
|
99
100
|
const stackMetaListenRoute = findPhiSignalRoutesByCapabilityId(config?.signalRoutes?.listens, "stackMeta")[0] ?? null;
|
|
101
|
+
/*
|
|
102
|
+
* The Stack this Choice follows: the one its `stackMeta` request is addressed to. Every Stack answers
|
|
103
|
+
* on the same broadcast, so without it two Stacks on one page would each overwrite the other's options
|
|
104
|
+
* and index here. A Choice whose request names no Stack follows none.
|
|
105
|
+
*/
|
|
106
|
+
const followedStackKey = readPhiStackSignalAddressKey(findPhiSignalRoutesByCapabilityId(config?.signalRoutes?.emits, "stackMeta")[0]?.receiver);
|
|
100
107
|
const controlSignals = usePhiControlSignalController({
|
|
101
108
|
key: config?.key ?? defaultKey,
|
|
102
109
|
sender,
|
|
@@ -118,7 +125,7 @@ export function usePhiStackChoiceController({ config, signalsEnabled = true, typ
|
|
|
118
125
|
emitControlCapability("stackMeta", null);
|
|
119
126
|
}, [emitControlCapability, signalsEnabled, stackMode]);
|
|
120
127
|
usePhiSignalListener((signal) => {
|
|
121
|
-
if (!signalsEnabled || !stackMode || !stackMetaListenRoute) {
|
|
128
|
+
if (!signalsEnabled || !stackMode || !stackMetaListenRoute || !followedStackKey) {
|
|
122
129
|
return;
|
|
123
130
|
}
|
|
124
131
|
if (signal.scope !== stackMetaListenRoute.scope ||
|
|
@@ -128,7 +135,7 @@ export function usePhiStackChoiceController({ config, signalsEnabled = true, typ
|
|
|
128
135
|
return;
|
|
129
136
|
}
|
|
130
137
|
const message = resolvePhiStackSignalMessage(signal);
|
|
131
|
-
if (!isPhiStackSignalMessage(message) || signal.receiver !== "broadcast") {
|
|
138
|
+
if (!isPhiStackSignalMessage(message) || signal.receiver !== "broadcast" || message.key !== followedStackKey) {
|
|
132
139
|
return;
|
|
133
140
|
}
|
|
134
141
|
setStackOptions(mapPhiStackSlotsToChoiceOptions(message) ?? []);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PhiCommandButtonConfig } from "../../../../types/core-widget-placements";
|
|
2
|
+
import { type PhiCommandButtonBounds } from "../../config/command-buttons";
|
|
3
|
+
/**
|
|
4
|
+
* The scaffold's tools for a Widget's command buttons: how many there are, and their order. The Command
|
|
5
|
+
* Toolbar and the Float Button count them alike and differ only in how many they allow.
|
|
6
|
+
*/
|
|
7
|
+
export declare function PhiCommandButtonsAuthoringTools({ buttons, bounds, onChange, }: {
|
|
8
|
+
buttons: readonly PhiCommandButtonConfig[];
|
|
9
|
+
bounds: PhiCommandButtonBounds;
|
|
10
|
+
onChange: (buttons: PhiCommandButtonConfig[]) => void;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { PhiButtonControl } from "../../../controls/phi-button-control";
|
|
4
|
+
import { PhiPopoverControl } from "../../../controls/phi-popover-control";
|
|
5
|
+
import { usePhiConfig } from "../../../root/phi-config-provider";
|
|
6
|
+
import { PHI_COMMON_CONTROL_DEFAULT_LABELS } from "../../label-types/common-controls";
|
|
7
|
+
import { usePhiWidgetScaffoldPopup } from "./phi-widget-scaffold-popup";
|
|
8
|
+
import { usePhiAuthoringToolsLabels } from "./phi-authoring-tools-labels";
|
|
9
|
+
import { PhiFlexControl } from "../../../controls/phi-flex-control";
|
|
10
|
+
import { PhiTypographyControl } from "../../../controls/phi-typography-control";
|
|
11
|
+
import { PhiCompactGroupControl } from "../../../controls/phi-compact-group-control";
|
|
12
|
+
import { PhiIcon } from "../../../shell/phi-icon";
|
|
13
|
+
import { PhiWidgetCountToolButton } from "./phi-widget-tool-buttons";
|
|
14
|
+
import { resizePhiCommandButtons } from "../../config/command-buttons";
|
|
15
|
+
function stopToolEvent(event) {
|
|
16
|
+
event.stopPropagation();
|
|
17
|
+
}
|
|
18
|
+
/* What a button is called here: its own label, else its action's, else its key. */
|
|
19
|
+
function readButtonName(button) {
|
|
20
|
+
return button.label || (button.action ? PHI_COMMON_CONTROL_DEFAULT_LABELS.actions[button.action].label : "") || button.key;
|
|
21
|
+
}
|
|
22
|
+
function moveButton(buttons, index, direction) {
|
|
23
|
+
const targetIndex = index + direction;
|
|
24
|
+
if (targetIndex < 0 || targetIndex >= buttons.length) {
|
|
25
|
+
return buttons;
|
|
26
|
+
}
|
|
27
|
+
const nextButtons = [...buttons];
|
|
28
|
+
[nextButtons[index], nextButtons[targetIndex]] = [nextButtons[targetIndex], nextButtons[index]];
|
|
29
|
+
return nextButtons;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The scaffold's tools for a Widget's command buttons: how many there are, and their order. The Command
|
|
33
|
+
* Toolbar and the Float Button count them alike and differ only in how many they allow.
|
|
34
|
+
*/
|
|
35
|
+
export function PhiCommandButtonsAuthoringTools({ buttons, bounds, onChange, }) {
|
|
36
|
+
const labels = usePhiAuthoringToolsLabels();
|
|
37
|
+
const { token } = usePhiConfig();
|
|
38
|
+
const popup = usePhiWidgetScaffoldPopup();
|
|
39
|
+
return (_jsxs(PhiCompactGroupControl, { children: [_jsx(PhiWidgetCountToolButton, { count: buttons.length, min: bounds.min, max: bounds.max, label: labels.commands.buttons, onChange: (count) => onChange(resizePhiCommandButtons(buttons, count, bounds)) }), _jsx(PhiPopoverControl, { trigger: "click", placement: "bottomRight", getPopupContainer: popup.getPopupContainer, rootClassName: popup.rootClassName, onOpenChange: popup.setOpen, content: (_jsx(PhiFlexControl, { vertical: true, gap: token.paddingXXS, style: { minWidth: 240 }, onClick: stopToolEvent, onPointerDown: stopToolEvent, children: buttons.length === 0 ? (_jsx(PhiTypographyControl, { type: "secondary", children: "No buttons" })) : buttons.map((button, index) => (_jsxs(PhiFlexControl, { align: "center", gap: token.paddingXXS, children: [_jsx(PhiTypographyControl, { ellipsis: true, style: { flex: "1 1 auto", minWidth: 0 }, children: readButtonName(button) }), _jsx(PhiButtonControl, { type: "text", size: "small", ariaLabel: `Move ${readButtonName(button)} earlier`, disabled: index === 0, icon: _jsx(PhiIcon, { name: "arrow-up", size: "inherit" }), onClick: () => onChange([...moveButton(buttons, index, -1)]) }), _jsx(PhiButtonControl, { type: "text", size: "small", ariaLabel: `Move ${readButtonName(button)} later`, disabled: index === buttons.length - 1, icon: _jsx(PhiIcon, { name: "arrow-down", size: "inherit" }), onClick: () => onChange([...moveButton(buttons, index, 1)]) }), _jsx(PhiButtonControl, { type: "text", size: "small", danger: true, ariaLabel: `Remove ${readButtonName(button)}`, disabled: buttons.length <= bounds.min, icon: _jsx(PhiIcon, { name: "delete", size: "inherit" }), onClick: () => onChange(buttons.filter((_, candidateIndex) => candidateIndex !== index)) })] }, button.key))) })), children: _jsx("span", { onClick: stopToolEvent, onPointerDown: stopToolEvent, style: { display: "inline-flex" }, children: _jsx(PhiButtonControl, { type: "text", size: "small", ariaLabel: labels.commands.manageButtons, tooltip: labels.commands.manageButtons, disabled: buttons.length === 0, icon: _jsx(PhiIcon, { name: "menu", size: "inherit" }), onClick: () => undefined }) }) })] }));
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PhiCmsInstanceId } from "../../../../types/cms-instance-id";
|
|
2
|
+
import type { PhiCommandButtonConfig } from "../../../../types/core-widget-placements";
|
|
3
|
+
import { type PhiSignalRouteSet } from "../../../../types/signals";
|
|
4
|
+
import type { PhiToolbarControlItem } from "../../../controls/phi-toolbar-control";
|
|
5
|
+
import type { PhiCommonControlLabels } from "../../label-types/common-controls";
|
|
6
|
+
export type PhiCommandButtonsOptions = {
|
|
7
|
+
buttons: readonly PhiCommandButtonConfig[];
|
|
8
|
+
signalRoutes?: PhiSignalRouteSet | null;
|
|
9
|
+
blockId?: PhiCmsInstanceId | null;
|
|
10
|
+
labels?: PhiCommonControlLabels | null;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
signalsEnabled?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type PhiCommandButtonsResult = {
|
|
15
|
+
items: PhiToolbarControlItem[];
|
|
16
|
+
/** The whole Widget's answer: disabled from outside, or switched off by `enabled/change`. */
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
activate: (buttonKey: string) => void;
|
|
19
|
+
};
|
|
20
|
+
export declare function usePhiCommandButtons({ buttons, signalRoutes, blockId, labels, disabled, signalsEnabled, }: PhiCommandButtonsOptions): PhiCommandButtonsResult;
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
|
+
import { createPhiSignalSubcontrolAddress, findPhiSignalRoutesByCapabilityId, } from "../../../../types/signals";
|
|
4
|
+
import { usePhiSignalListener } from "../../../runtime/runtime-signal-bus";
|
|
5
|
+
import { usePhiSignalEmitter, usePhiSignalIdentity } from "../../../runtime/runtime-signal-identity";
|
|
6
|
+
import { registerPhiSignalInstance } from "../../../runtime/runtime-signal-registry";
|
|
7
|
+
import { usePhiSignalRuntimePartition } from "../../../runtime/runtime-signal-partition";
|
|
8
|
+
import { resolvePhiButtonVariantType } from "../../config/button-variant";
|
|
9
|
+
import { resolvePhiCommonControlAction } from "./phi-common-controls";
|
|
10
|
+
import { resolvePhiButtonIcon } from "./phi-button-icons";
|
|
11
|
+
function resolveButtonSubcontrolAddress(blockId, key) {
|
|
12
|
+
return blockId == null ? null : createPhiSignalSubcontrolAddress("cms", blockId, key);
|
|
13
|
+
}
|
|
14
|
+
function readButtonSignalValue(signal) {
|
|
15
|
+
if (signal.valueType === "string") {
|
|
16
|
+
return typeof signal.value === "string" ? signal.value : signal.value == null ? "" : String(signal.value);
|
|
17
|
+
}
|
|
18
|
+
if (signal.valueType === "number") {
|
|
19
|
+
return typeof signal.value === "number" && Number.isFinite(signal.value) ? signal.value : null;
|
|
20
|
+
}
|
|
21
|
+
if (signal.valueType === "boolean") {
|
|
22
|
+
return typeof signal.value === "boolean" ? signal.value : null;
|
|
23
|
+
}
|
|
24
|
+
if (signal.valueType === "icon") {
|
|
25
|
+
return typeof signal.value === "string" ? signal.value : null;
|
|
26
|
+
}
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The badge a button shows: what a signal last said, else what its config states.
|
|
31
|
+
*
|
|
32
|
+
* A signal switches the badge on by speaking -- the toolbar's buttons had no badge fields, and a count
|
|
33
|
+
* sent to one was the only way it ever had a badge. The stated one is drawn only where its config
|
|
34
|
+
* enables it, as on the Button Widget.
|
|
35
|
+
*/
|
|
36
|
+
function resolveButtonBadge(button, runtimeBadge) {
|
|
37
|
+
if (runtimeBadge != null) {
|
|
38
|
+
return {
|
|
39
|
+
enabled: true,
|
|
40
|
+
value: runtimeBadge,
|
|
41
|
+
color: button.badgeColor,
|
|
42
|
+
overflowCount: button.badgeOverflowCount,
|
|
43
|
+
showZero: button.badgeShowZero,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
if (button.badgeEnabled !== true) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
enabled: true,
|
|
51
|
+
value: button.badgeText ?? button.badgeCount ?? null,
|
|
52
|
+
color: button.badgeColor,
|
|
53
|
+
overflowCount: button.badgeOverflowCount,
|
|
54
|
+
showZero: button.badgeShowZero,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export function usePhiCommandButtons({ buttons, signalRoutes, blockId, labels, disabled, signalsEnabled = true, }) {
|
|
58
|
+
const signalIdentity = usePhiSignalIdentity();
|
|
59
|
+
const signalPartition = usePhiSignalRuntimePartition();
|
|
60
|
+
const emitSignal = usePhiSignalEmitter(null);
|
|
61
|
+
const emitRoutes = useMemo(() => signalRoutes?.emits ?? [], [signalRoutes?.emits]);
|
|
62
|
+
const listenRoutes = useMemo(() => signalRoutes?.listens ?? [], [signalRoutes?.listens]);
|
|
63
|
+
const [commandDisabled, setCommandDisabled] = useState(null);
|
|
64
|
+
const [buttonStateByKey, setButtonStateByKey] = useState({});
|
|
65
|
+
const resolvedDisabled = disabled === true || commandDisabled === true;
|
|
66
|
+
const widgetReceiver = signalIdentity.sender;
|
|
67
|
+
const buttonAddresses = useMemo(() => new Map(buttons.map((button) => [button.key, resolveButtonSubcontrolAddress(blockId, button.key)])), [blockId, buttons]);
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
/*
|
|
70
|
+
* A subcontrol only receives what its address is registered for, in the signal's own scope. The
|
|
71
|
+
* identity context supplies a scope only inside an Overlay, so every toolbar outside one left its
|
|
72
|
+
* buttons unregistered and every signal aimed at them was dropped before delivery -- which is why
|
|
73
|
+
* Undo and Redo stayed clickable on an empty history. The scope a button is addressed in is the one
|
|
74
|
+
* declared by the routes that address it; the identity scope stands in where no route names it.
|
|
75
|
+
*/
|
|
76
|
+
const scopeByAddress = new Map();
|
|
77
|
+
for (const route of listenRoutes) {
|
|
78
|
+
if (typeof route.receiver !== "string" || route.receiver === "broadcast")
|
|
79
|
+
continue;
|
|
80
|
+
if (!scopeByAddress.has(route.receiver))
|
|
81
|
+
scopeByAddress.set(route.receiver, route.scope);
|
|
82
|
+
}
|
|
83
|
+
const unregister = Array.from(buttonAddresses.values()).flatMap((address) => {
|
|
84
|
+
const scope = address == null ? null : scopeByAddress.get(address) ?? signalIdentity.scope;
|
|
85
|
+
return address == null || !scope
|
|
86
|
+
? []
|
|
87
|
+
: [registerPhiSignalInstance(signalPartition, {
|
|
88
|
+
address,
|
|
89
|
+
scope,
|
|
90
|
+
})];
|
|
91
|
+
});
|
|
92
|
+
return () => {
|
|
93
|
+
for (const dispose of unregister)
|
|
94
|
+
dispose();
|
|
95
|
+
};
|
|
96
|
+
}, [buttonAddresses, listenRoutes, signalIdentity.scope, signalPartition]);
|
|
97
|
+
const readButtonKeyFromReceiver = useCallback((receiver) => {
|
|
98
|
+
if (typeof receiver !== "string") {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
for (const [buttonKey, address] of buttonAddresses) {
|
|
102
|
+
if (address === receiver) {
|
|
103
|
+
return buttonKey;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return null;
|
|
107
|
+
}, [buttonAddresses]);
|
|
108
|
+
function activate(buttonKey) {
|
|
109
|
+
if (!signalsEnabled) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const button = buttons.find((candidate) => candidate.key === buttonKey);
|
|
113
|
+
if (!button || button.readOnly) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
const sender = buttonAddresses.get(button.key) ?? widgetReceiver;
|
|
117
|
+
for (const buttonEmit of button.emits) {
|
|
118
|
+
for (const route of findPhiSignalRoutesByCapabilityId(emitRoutes, buttonEmit.capabilityId)) {
|
|
119
|
+
if (route.receiver == null || (route.valueType === "json" && !route.valueSchema)) {
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
emitSignal({
|
|
123
|
+
sender,
|
|
124
|
+
scope: route.scope,
|
|
125
|
+
channel: route.channel,
|
|
126
|
+
action: route.action,
|
|
127
|
+
value: route.valueType === "none" ? null : buttonEmit.value,
|
|
128
|
+
valueType: route.valueType,
|
|
129
|
+
valueSchema: route.valueSchema ?? null,
|
|
130
|
+
receiver: route.receiver,
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const handleSignal = useCallback((signal) => {
|
|
136
|
+
if (!signalsEnabled || listenRoutes.length === 0) {
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const route = listenRoutes.find((candidate) => candidate.channel === signal.channel &&
|
|
140
|
+
candidate.action === signal.action &&
|
|
141
|
+
candidate.valueType === signal.valueType &&
|
|
142
|
+
(candidate.valueType !== "json" ||
|
|
143
|
+
(candidate.valueSchema != null && candidate.valueSchema === signal.valueSchema)) &&
|
|
144
|
+
candidate.receiver !== null);
|
|
145
|
+
if (!route) {
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
const targetsWidget = signal.receiver === "broadcast" || (widgetReceiver != null && signal.receiver === widgetReceiver);
|
|
149
|
+
const buttonKey = readButtonKeyFromReceiver(signal.receiver);
|
|
150
|
+
if (!targetsWidget && !buttonKey) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
/*
|
|
154
|
+
* What the signal sets is the capability its route names, not the channel it came in on: a route
|
|
155
|
+
* chooses its channel freely -- a Save button's `loading` arrives on `pageMetaSubmitting` or
|
|
156
|
+
* `submitting` -- and comparing the channel left every such button without its loading state.
|
|
157
|
+
*/
|
|
158
|
+
const capability = route.capabilityId;
|
|
159
|
+
if (targetsWidget) {
|
|
160
|
+
if (capability === "enabled") {
|
|
161
|
+
setCommandDisabled(typeof signal.value === "boolean" ? !signal.value : false);
|
|
162
|
+
}
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
if (!buttonKey) {
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
const value = readButtonSignalValue(signal);
|
|
169
|
+
setButtonStateByKey((current) => {
|
|
170
|
+
const previous = current[buttonKey] ?? {};
|
|
171
|
+
if (capability === "enabled") {
|
|
172
|
+
return {
|
|
173
|
+
...current,
|
|
174
|
+
[buttonKey]: {
|
|
175
|
+
...previous,
|
|
176
|
+
enabled: typeof value === "boolean" ? value : undefined,
|
|
177
|
+
},
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
if (capability === "visibility") {
|
|
181
|
+
return {
|
|
182
|
+
...current,
|
|
183
|
+
[buttonKey]: {
|
|
184
|
+
...previous,
|
|
185
|
+
visible: typeof value === "boolean" ? value : undefined,
|
|
186
|
+
},
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
if (capability === "loading") {
|
|
190
|
+
return {
|
|
191
|
+
...current,
|
|
192
|
+
[buttonKey]: {
|
|
193
|
+
...previous,
|
|
194
|
+
loading: typeof value === "boolean" ? value : undefined,
|
|
195
|
+
},
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
if ((capability === "badgeText" || capability === "badgeCount")) {
|
|
199
|
+
return {
|
|
200
|
+
...current,
|
|
201
|
+
[buttonKey]: {
|
|
202
|
+
...previous,
|
|
203
|
+
badge: typeof value === "string" || typeof value === "number" ? value : null,
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
if (capability === "icon") {
|
|
208
|
+
return {
|
|
209
|
+
...current,
|
|
210
|
+
[buttonKey]: {
|
|
211
|
+
...previous,
|
|
212
|
+
icon: typeof value === "string" ? value : null,
|
|
213
|
+
},
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
if (capability === "label") {
|
|
217
|
+
return {
|
|
218
|
+
...current,
|
|
219
|
+
[buttonKey]: {
|
|
220
|
+
...previous,
|
|
221
|
+
label: typeof value === "string" ? value : null,
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
if (capability === "tooltip") {
|
|
226
|
+
return {
|
|
227
|
+
...current,
|
|
228
|
+
[buttonKey]: {
|
|
229
|
+
...previous,
|
|
230
|
+
tooltip: typeof value === "string" && value ? value : null,
|
|
231
|
+
},
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
return current;
|
|
235
|
+
});
|
|
236
|
+
}, [listenRoutes, readButtonKeyFromReceiver, signalsEnabled, widgetReceiver]);
|
|
237
|
+
const signalFilter = useMemo(() => {
|
|
238
|
+
if (listenRoutes.length === 0) {
|
|
239
|
+
return null;
|
|
240
|
+
}
|
|
241
|
+
const valueSchemas = Array.from(new Set(listenRoutes.map((route) => route.valueSchema).filter((schema) => Boolean(schema))));
|
|
242
|
+
return {
|
|
243
|
+
scopes: Array.from(new Set(listenRoutes.map((route) => route.scope))),
|
|
244
|
+
channels: Array.from(new Set(listenRoutes.map((route) => route.channel))),
|
|
245
|
+
...(valueSchemas.length > 0 ? { valueSchemas } : null),
|
|
246
|
+
};
|
|
247
|
+
}, [listenRoutes]);
|
|
248
|
+
/*
|
|
249
|
+
* The addresses this one listener answers for: the Widget, and every button in it.
|
|
250
|
+
*
|
|
251
|
+
* Registering the buttons as instances was only half of it. A receiver with an instance and no
|
|
252
|
+
* listener counted for it is not wrong, it is "not ready yet", so an addressed signal was held and
|
|
253
|
+
* never delivered -- the Save button in the Page dialog never learned it should read "Create", and
|
|
254
|
+
* Undo never learned it was disabled. Both were sent, both waited.
|
|
255
|
+
*/
|
|
256
|
+
const answeredAddresses = useMemo(() => [widgetReceiver, ...buttonAddresses.values()]
|
|
257
|
+
.filter((address) => typeof address === "string"), [buttonAddresses, widgetReceiver]);
|
|
258
|
+
usePhiSignalListener(handleSignal, signalFilter, answeredAddresses);
|
|
259
|
+
const items = buttons.map((button) => {
|
|
260
|
+
const buttonState = buttonStateByKey[button.key] ?? {};
|
|
261
|
+
/*
|
|
262
|
+
* An action answers for the words and the look; the icon stays the button's to swap, and the
|
|
263
|
+
* tooltip is only ever its own. What a signal says at runtime -- "Create" for "Save", or the step
|
|
264
|
+
* Undo would take back -- still wins.
|
|
265
|
+
*/
|
|
266
|
+
const action = resolvePhiCommonControlAction(labels, button.action);
|
|
267
|
+
const resolvedIcon = resolvePhiButtonIcon(buttonState.icon ?? button.icon ?? action?.icon);
|
|
268
|
+
const label = buttonState.label ?? (action ? action.label : button.label) ?? button.key;
|
|
269
|
+
return {
|
|
270
|
+
key: button.key,
|
|
271
|
+
ariaLabel: label || button.tooltip || button.key,
|
|
272
|
+
label,
|
|
273
|
+
tooltip: buttonState.tooltip ?? button.tooltip,
|
|
274
|
+
showLabel: button.display == null ? undefined : button.display !== "icon",
|
|
275
|
+
type: resolvePhiButtonVariantType(action ? action.variant : button.variant) ?? "default",
|
|
276
|
+
danger: action ? action.danger === true : button.danger === true,
|
|
277
|
+
disabled: button.disabled === true || buttonState.enabled === false,
|
|
278
|
+
readOnly: button.readOnly === true,
|
|
279
|
+
loading: buttonState.loading,
|
|
280
|
+
icon: button.display === "label" ? null : resolvedIcon,
|
|
281
|
+
visible: buttonState.visible,
|
|
282
|
+
badge: resolveButtonBadge(button, buttonState.badge),
|
|
283
|
+
};
|
|
284
|
+
});
|
|
285
|
+
return { items, disabled: resolvedDisabled, activate };
|
|
286
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { PhiCmsAreaKey } from "../../../../constants/cms-areas";
|
|
3
|
+
import { type PhiLinkTarget } from "../../../../types/references";
|
|
4
|
+
import type { PhiTreeOption } from "../../../../types/tree";
|
|
5
|
+
import type { PhiPageReferenceSelection } from "./phi-page-reference-picker";
|
|
6
|
+
export type PhiLinkTargetControlLabels = {
|
|
7
|
+
none: string;
|
|
8
|
+
page: string;
|
|
9
|
+
external: string;
|
|
10
|
+
pagePlaceholder: string;
|
|
11
|
+
externalPlaceholder: string;
|
|
12
|
+
newTab: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* One link, chosen rather than typed, with the two answers it may have kept apart (`REFERENCES.md`).
|
|
16
|
+
*
|
|
17
|
+
* **The mode is held here and the value is not.** A target is written only once it is one: a Page with
|
|
18
|
+
* nothing picked yet and a half-typed address are both states somebody is passing through, and storing
|
|
19
|
+
* them would put a target in the config that resolves to nothing, index a reference that is not one, and
|
|
20
|
+
* draw a dead link between two keystrokes. So the segmented control remembers what the author is
|
|
21
|
+
* answering, and the value gets a target when the answer is complete -- or `undefined`, which is no link.
|
|
22
|
+
*
|
|
23
|
+
* Switching modes drops what the other one held rather than keeping it aside. A hidden address that
|
|
24
|
+
* returns when somebody flips back is a value nobody can see and nobody agreed to, and `REFERENCES.md`
|
|
25
|
+
* has no shape for a target that is two things at once.
|
|
26
|
+
*
|
|
27
|
+
* Which Pages it offers is the surface's knowledge: the Builder hands in its Area's catalog, a Form the
|
|
28
|
+
* tree `/api/site/page-references` answered. `area` is written into a Page target where the link leads
|
|
29
|
+
* out of the Area asking -- an Editor Form linking a Public Page.
|
|
30
|
+
*/
|
|
31
|
+
export declare function PhiLinkTargetControl({ value, options, labels, area, disabled, newTabRow, onChange, }: {
|
|
32
|
+
value: unknown;
|
|
33
|
+
options: PhiTreeOption<PhiPageReferenceSelection>[];
|
|
34
|
+
labels: PhiLinkTargetControlLabels;
|
|
35
|
+
area?: PhiCmsAreaKey;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/** How the new-tab switch stands beside its words; the Inspector puts it in its own field row. */
|
|
38
|
+
newTabRow?: (control: ReactNode) => ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* The target as it now stands. `none` is set when the author answered "None" -- the link is gone, not
|
|
41
|
+
* only incomplete -- so what depends on a link can go with it.
|
|
42
|
+
*/
|
|
43
|
+
onChange?: (next: PhiLinkTarget | undefined, none?: boolean) => void;
|
|
44
|
+
}): import("react").JSX.Element;
|