@phis/ui 0.7.8 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/cms/phi-cms-layout-renderer.js +15 -7
- package/components/cms/phi-cms-render-diagnostic-client.d.ts +3 -1
- package/components/cms/phi-cms-render-diagnostic-client.js +4 -3
- package/components/cms/phi-cms-render-diagnostic.d.ts +8 -2
- package/components/cms/phi-cms-render-diagnostic.js +12 -2
- package/components/cms/phi-cms-render-error-boundary.d.ts +2 -0
- package/components/cms/phi-cms-render-error-boundary.js +1 -1
- package/components/cms/phi-cms-root-layout.js +3 -1
- package/components/controls/phi-address-control.d.ts +23 -0
- package/components/controls/phi-address-control.js +43 -0
- package/components/controls/phi-color-control.d.ts +3 -1
- package/components/controls/phi-color-control.js +2 -2
- package/components/controls/phi-country-select-control.d.ts +22 -0
- package/components/controls/phi-country-select-control.js +16 -0
- package/components/controls/phi-dialog-control.d.ts +1 -1
- package/components/controls/phi-drawer-control-adapter.d.ts +1 -1
- package/components/controls/phi-drawer-control-adapter.js +5 -3
- package/components/controls/phi-drawer-control.d.ts +7 -5
- package/components/controls/phi-float-button-control.d.ts +8 -1
- package/components/controls/phi-float-button-control.js +19 -3
- package/components/controls/phi-form-control.js +52 -8
- package/components/controls/phi-media-picker-control.d.ts +9 -0
- package/components/controls/phi-media-picker-control.js +1 -1
- package/components/controls/phi-modal-control-adapter.d.ts +1 -1
- package/components/controls/phi-modal-control-adapter.js +14 -37
- package/components/controls/phi-modal-control.d.ts +5 -5
- package/components/controls/phi-options-provider.d.ts +1 -0
- package/components/controls/phi-options-provider.js +1 -0
- package/components/controls/phi-overlay-control-contract.d.ts +52 -17
- package/components/controls/phi-overlay-control-contract.js +55 -30
- package/components/controls/phi-popover-control.js +4 -1
- package/components/controls/phi-reveal-once-dialog-control.d.ts +21 -0
- package/components/controls/phi-reveal-once-dialog-control.js +52 -0
- package/components/controls/phi-reveal-once-dialog-labels.d.ts +10 -0
- package/components/controls/phi-reveal-once-dialog-labels.js +5 -0
- package/components/controls/phi-table-control.d.ts +7 -1
- package/components/controls/phi-table-control.js +23 -8
- package/components/forms/flags-field.d.ts +22 -0
- package/components/forms/flags-field.js +58 -0
- package/components/forms/form-descriptor-field-check.d.ts +18 -0
- package/components/forms/form-descriptor-field-check.js +41 -0
- package/components/forms/form-descriptor-runtime-client.js +11 -10
- package/components/forms/form-option-flags.d.ts +20 -0
- package/components/forms/form-option-flags.js +38 -0
- package/components/forms/form-provider-contract.d.ts +23 -0
- package/components/forms/form-provider-contract.js +36 -0
- package/components/forms/form-provider-registry.d.ts +5 -1
- package/components/forms/form-record-source.d.ts +38 -0
- package/components/forms/form-record-source.js +48 -0
- package/components/forms/shared-form-descriptors.d.ts +0 -34
- package/components/forms/shared-form-descriptors.js +0 -6
- package/components/forms/shared-form-ids.d.ts +1 -1
- package/components/forms/shared-form-ids.js +1 -1
- package/components/forms/shared-form-provider-registry.js +13 -0
- package/components/forms/structured-field-labels.d.ts +24 -0
- package/components/forms/structured-field-labels.js +43 -0
- package/components/forms/structured-form-field-controls.d.ts +12 -0
- package/components/forms/structured-form-field-controls.js +65 -0
- package/components/media/media-settings-labels.d.ts +1 -0
- package/components/media/media-settings-labels.js +2 -0
- package/components/media/phi-media-picker-binding.d.ts +41 -33
- package/components/media/phi-media-picker-binding.js +2 -1
- package/components/media/use-media-library-add-picker.d.ts +33 -32
- package/components/overlays/phi-overlay-container-client.js +13 -11
- package/components/regions/phi-cms-region-shell.js +2 -2
- package/components/regions/presets/content-entry-editor-page-tree.js +12 -3
- package/components/regions/presets/phi-settings-page-shell-tree.d.ts +13 -2
- package/components/regions/presets/phi-settings-page-shell-tree.js +4 -4
- package/components/root/phi-root-theme-resolver.js +3 -0
- package/components/shell/phi-antd-icon.d.ts +1 -8
- package/components/shell/phi-antd-icon.js +1 -227
- package/components/shell/phi-icon-names.d.ts +22 -0
- package/components/shell/phi-icon-names.js +267 -0
- package/components/shell/phi-icon.d.ts +4 -15
- package/components/shell/phi-icon.js +9 -50
- package/components/tables/client/phi-table-binding-params.d.ts +24 -0
- package/components/tables/client/phi-table-binding-params.js +39 -0
- package/components/tables/client/phi-table-binding.d.ts +1 -3
- package/components/tables/client/phi-table-binding.js +5 -9
- package/components/widgets/client/shared/phi-button-icons.d.ts +6 -4
- package/components/widgets/client/shared/phi-button-icons.js +8 -12
- package/components/widgets/client/shared/phi-collection-binding-params.d.ts +8 -0
- package/components/widgets/client/shared/phi-collection-binding-params.js +13 -0
- package/components/widgets/client/shared/phi-collection-provider.d.ts +11 -1
- package/components/widgets/client/shared/phi-collection-provider.js +5 -0
- package/components/widgets/client/shared/phi-collection-view-binding.d.ts +1 -0
- package/components/widgets/client/shared/phi-command-buttons.d.ts +29 -2
- package/components/widgets/client/shared/phi-command-buttons.js +19 -5
- package/components/widgets/client/shared/phi-rendered-value.js +27 -3
- package/components/widgets/client/shared/phi-table-provider-refusal.d.ts +13 -0
- package/components/widgets/client/shared/phi-table-provider-refusal.js +13 -0
- package/components/widgets/config/background.d.ts +3 -2
- package/components/widgets/config/choice-shared.d.ts +10 -1
- package/components/widgets/config/choice-shared.js +8 -2
- package/components/widgets/label-sets/admin-locales.js +1 -1
- package/components/widgets/label-sets/admin-users.d.ts +3 -5
- package/components/widgets/label-sets/admin-users.js +6 -10
- package/components/widgets/label-sets/builder-modules.js +4 -0
- package/components/widgets/label-sets/effects.js +2 -4
- package/components/widgets/label-sets/profile.d.ts +13 -16
- package/components/widgets/label-sets/profile.js +24 -33
- package/components/widgets/label-sets/registration.d.ts +0 -1
- package/components/widgets/label-sets/registration.js +0 -2
- package/components/widgets/label-sets/revisions.js +2 -0
- package/components/widgets/label-sets/search-results.js +2 -4
- package/components/widgets/label-sets/signals.js +2 -0
- package/components/widgets/label-sets/table.js +9 -0
- package/components/widgets/label-types/builder-modules.d.ts +4 -0
- package/components/widgets/label-types/builder-modules.js +2 -0
- package/components/widgets/label-types/effects.d.ts +3 -2
- package/components/widgets/label-types/effects.js +1 -2
- package/components/widgets/label-types/revisions.d.ts +2 -0
- package/components/widgets/label-types/revisions.js +2 -1
- package/components/widgets/label-types/search-results.d.ts +2 -2
- package/components/widgets/label-types/search-results.js +1 -2
- package/components/widgets/label-types/signals.d.ts +2 -0
- package/components/widgets/label-types/signals.js +1 -0
- package/components/widgets/label-types/table.d.ts +3 -0
- package/components/widgets/label-types/table.js +2 -0
- package/components/widgets/server/builder-chrome.d.ts +4 -1
- package/components/widgets/server/builder-chrome.js +2 -2
- package/components/widgets/shared/markdown-body-client.d.ts +26 -0
- package/components/widgets/shared/markdown-body-client.js +31 -1
- package/components/widgets/shared/markdown-render.d.ts +10 -2
- package/components/widgets/shared/markdown-render.js +35 -13
- package/components/widgets/shared/widget-failure-audience.d.ts +7 -0
- package/components/widgets/shared/widget-failure-audience.js +21 -0
- package/components/widgets/shared/widget-failure-client.js +5 -2
- package/components/widgets/shared/widget-failure-notice-client.d.ts +6 -0
- package/components/widgets/shared/widget-failure-notice-client.js +10 -0
- package/components/widgets/shared/widget-failure-notice.d.ts +6 -0
- package/components/widgets/shared/widget-failure-notice.js +17 -0
- package/components/widgets/shared/widget-failure-staff.d.ts +3 -0
- package/components/widgets/shared/widget-failure-staff.js +18 -0
- package/components/widgets/shared/widget-failure.d.ts +9 -6
- package/components/widgets/shared/widget-failure.js +0 -9
- package/components/widgets/shared/widget-failure.server.d.ts +4 -2
- package/components/widgets/shared/widget-failure.server.js +8 -3
- package/constants/countries.d.ts +9 -0
- package/constants/countries.js +28 -0
- package/constants/customer-file.d.ts +34 -0
- package/constants/customer-file.js +35 -0
- package/constants/record-field-kinds.d.ts +15 -0
- package/constants/record-field-kinds.js +13 -0
- package/constants/runtime-module-ownership.js +15 -2
- package/constants/runtime-render-client-types.d.ts +5 -0
- package/constants/runtime-render-client-types.js +5 -0
- package/constants/site-address.d.ts +9 -0
- package/constants/site-address.js +10 -0
- package/constants/table-loading.d.ts +14 -0
- package/constants/table-loading.js +14 -0
- package/{plugins/runtime-modules/threads/controller/address.js → constants/threads-controller-address.js} +1 -1
- package/constants.d.ts +2 -0
- package/constants.js +4 -0
- package/gateway/form-handler-request.d.ts +22 -0
- package/gateway/form-handler-request.js +40 -0
- package/gateway/label-set.d.ts +15 -2
- package/gateway/label-set.js +60 -22
- package/gateway/site-cms-write-validation.js +19 -3
- package/gateway/site-form-route.js +11 -2
- package/helpers/address-field.d.ts +43 -0
- package/helpers/address-field.js +68 -0
- package/helpers/announced-action.d.ts +17 -0
- package/helpers/announced-action.js +29 -0
- package/helpers/cms-dialog.d.ts +5 -20
- package/helpers/cms-dialog.js +8 -13
- package/helpers/cms-page-catalog.d.ts +10 -0
- package/helpers/cms-page-catalog.js +19 -0
- package/helpers/cms-preset-nodes.d.ts +4 -4
- package/helpers/cms-preset-nodes.js +1 -1
- package/helpers/cms-region-keys.d.ts +1 -1
- package/helpers/country-names.d.ts +12 -0
- package/helpers/country-names.js +14 -0
- package/helpers/phi-metadata.d.ts +25 -1
- package/helpers/phi-metadata.js +53 -1
- package/helpers/phi-site-description.d.ts +11 -0
- package/helpers/phi-site-description.js +13 -0
- package/helpers/preset-form-check.d.ts +14 -0
- package/helpers/preset-form-check.js +12 -0
- package/helpers/preset-table-check.d.ts +38 -0
- package/helpers/preset-table-check.js +118 -0
- package/helpers/preset-text-source-check.d.ts +4 -1
- package/helpers/preset-text-source-check.js +6 -1
- package/helpers/preset-tree-contract-check.d.ts +3 -2
- package/helpers/preset-tree-contract-check.js +30 -5
- package/helpers/public-route-claims.d.ts +9 -1
- package/helpers/public-route-claims.js +23 -3
- package/helpers/record-fields.d.ts +1 -5
- package/helpers/record-fields.js +15 -6
- package/helpers/record-widget-binding.d.ts +10 -0
- package/helpers/record-widget-binding.js +35 -0
- package/helpers/record-widget.d.ts +1 -10
- package/helpers/record-widget.js +4 -33
- package/helpers/route-address-check.d.ts +22 -2
- package/helpers/route-address-check.js +29 -8
- package/helpers/site-address-row.d.ts +23 -0
- package/helpers/site-address-row.js +36 -0
- package/helpers/surface-style.d.ts +8 -1
- package/helpers/surface-style.js +12 -2
- package/helpers/table-widget-binding.d.ts +12 -0
- package/helpers/table-widget-binding.js +296 -0
- package/helpers/thread-inbox-row.d.ts +20 -0
- package/helpers/thread-inbox-row.js +26 -0
- package/helpers/translation-format.d.ts +26 -0
- package/helpers/translation-format.js +31 -0
- package/helpers/tree-widget-binding.d.ts +19 -0
- package/helpers/tree-widget-binding.js +72 -0
- package/helpers/typed-confirmation.d.ts +9 -0
- package/helpers/typed-confirmation.js +13 -0
- package/helpers/widget-binding-check.d.ts +22 -0
- package/helpers/widget-binding-check.js +91 -0
- package/module-labels.d.ts +1 -1
- package/module-labels.js +1 -1
- package/module-page-check.d.ts +3 -0
- package/module-page-check.js +3 -0
- package/module-records.d.ts +2 -2
- package/module-records.js +1 -0
- package/next/area-route.js +34 -1
- package/next/root-route.js +4 -4
- package/package.json +2 -2
- package/plugins/runtime-modules/accounting/customer-file-access.d.ts +11 -0
- package/plugins/runtime-modules/accounting/customer-file-access.js +12 -0
- package/plugins/runtime-modules/accounting/data-providers.js +1 -1
- package/plugins/runtime-modules/accounting/ids.d.ts +14 -0
- package/plugins/runtime-modules/accounting/ids.js +34 -0
- package/plugins/runtime-modules/accounting/presets.js +32 -5
- package/plugins/runtime-modules/accounting/trees/accounting-customer-file-label-set.d.ts +78 -0
- package/plugins/runtime-modules/accounting/trees/accounting-customer-file-label-set.js +136 -0
- package/plugins/runtime-modules/accounting/trees/accounting-products-label-set.js +2 -2
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-customer-file-page-tree.d.ts +29 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-customer-file-page-tree.js +450 -0
- package/plugins/runtime-modules/accounting/trees/phi-default-accounting-products-page-tree.js +4 -0
- package/plugins/runtime-modules/app/client-data-providers.d.ts +7 -0
- package/plugins/runtime-modules/app/client-data-providers.js +9 -0
- package/plugins/runtime-modules/app/data-providers.d.ts +43 -0
- package/plugins/runtime-modules/app/data-providers.js +45 -0
- package/plugins/runtime-modules/app/definition.d.ts +60 -1
- package/plugins/runtime-modules/app/definition.js +2 -0
- package/plugins/runtime-modules/app/forms.d.ts +33 -3
- package/plugins/runtime-modules/app/forms.js +166 -31
- package/plugins/runtime-modules/app/ids.d.ts +8 -0
- package/plugins/runtime-modules/app/ids.js +9 -0
- package/plugins/runtime-modules/app/module.d.ts +60 -1
- package/plugins/runtime-modules/app/services/addresses-collection.d.ts +59 -0
- package/plugins/runtime-modules/app/services/addresses-collection.js +105 -0
- package/plugins/runtime-modules/app/trees/account-addresses-panel.d.ts +21 -0
- package/plugins/runtime-modules/app/trees/account-addresses-panel.js +143 -0
- package/plugins/runtime-modules/app/trees/addresses-label-set.d.ts +57 -0
- package/plugins/runtime-modules/app/trees/addresses-label-set.js +104 -0
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.d.ts +1 -2
- package/plugins/runtime-modules/app/trees/phi-default-app-profile-page-tree.js +28 -19
- package/plugins/runtime-modules/app/trees/profile-label-set.d.ts +1 -2
- package/plugins/runtime-modules/app/trees/profile-label-set.js +5 -14
- package/plugins/runtime-modules/asset/presets.d.ts +4 -0
- package/plugins/runtime-modules/asset/trees/phi-default-admin-media-settings-page-tree.js +5 -0
- package/plugins/runtime-modules/asset/trees/phi-default-builder-media-page-tree.js +4 -2
- package/plugins/runtime-modules/auth/trees/phi-auth-area-overlay-tree.server.js +4 -2
- package/plugins/runtime-modules/auth/trees/phi-default-admin-auth-settings-page-tree.js +2 -2
- package/plugins/runtime-modules/auth/widgets/logout/client.d.ts +1 -1
- package/plugins/runtime-modules/auth/widgets/logout/client.js +2 -2
- package/plugins/runtime-modules/auth/widgets/security/client.d.ts +5 -1
- package/plugins/runtime-modules/auth/widgets/security/client.js +12 -10
- package/plugins/runtime-modules/avatar/overlay-tree.server.js +1 -1
- package/plugins/runtime-modules/blog/presets.d.ts +4 -0
- package/plugins/runtime-modules/builder/clients/inspector-config-field.js +16 -6
- package/plugins/runtime-modules/builder/clients/inspector-image-field.d.ts +2 -1
- package/plugins/runtime-modules/builder/clients/inspector-image-field.js +6 -3
- package/plugins/runtime-modules/builder/clients/inspector-section-widget.js +3 -1
- package/plugins/runtime-modules/builder/clients/metadata-table-provider-stand-ins.d.ts +23 -0
- package/plugins/runtime-modules/builder/clients/metadata-table-provider-stand-ins.js +38 -0
- package/plugins/runtime-modules/builder/clients/mode-switch.d.ts +4 -1
- package/plugins/runtime-modules/builder/clients/mode-switch.js +2 -15
- package/plugins/runtime-modules/builder/clients/pages-workspace.js +2 -0
- package/plugins/runtime-modules/builder/clients/runtime-module-authoring-boundary.js +2 -1
- package/plugins/runtime-modules/builder/controller/draft-status-controller.js +28 -1
- package/plugins/runtime-modules/builder/controller/signal-wiring-controller.js +5 -1
- package/plugins/runtime-modules/builder/developer-workspace-types.d.ts +5 -0
- package/plugins/runtime-modules/builder/page-presets.server.d.ts +7 -0
- package/plugins/runtime-modules/builder/page-presets.server.js +10 -1
- package/plugins/runtime-modules/builder/persistence.js +4 -0
- package/plugins/runtime-modules/builder/public-route-collisions.js +8 -3
- package/plugins/runtime-modules/builder/signal-wiring-options.js +9 -2
- package/plugins/runtime-modules/builder/trees/phi-builder-inspector-area-overlay-tree.server.js +8 -1
- package/plugins/runtime-modules/builder/trees/phi-default-builder-area-preset-tree.js +47 -7
- package/plugins/runtime-modules/builder/widgets/chrome/config.d.ts +6 -4
- package/plugins/runtime-modules/builder/widgets/chrome/config.js +11 -1
- package/plugins/runtime-modules/builder/widgets/inspector-header/authoring.d.ts +2 -2
- package/plugins/runtime-modules/builder/widgets/inspector-header/plugin.d.ts +2 -2
- package/plugins/runtime-modules/builder/widgets/mode-switch/plugin.js +1 -1
- package/plugins/runtime-modules/builder/widgets/structure-region/built-in.js +2 -2
- package/plugins/runtime-modules/client-manifests/app.js +3 -0
- package/plugins/runtime-modules/client-manifests/builder.js +10 -0
- package/plugins/runtime-modules/client-manifests/common.js +6 -0
- package/plugins/runtime-modules/content-entry-routes.d.ts +4 -0
- package/plugins/runtime-modules/contracts.js +31 -1
- package/plugins/runtime-modules/core/definition.d.ts +23 -0
- package/plugins/runtime-modules/core/form-providers.d.ts +23 -0
- package/plugins/runtime-modules/core/messaging/thread-inbox-table.d.ts +0 -17
- package/plugins/runtime-modules/core/messaging/thread-inbox-table.js +2 -23
- package/plugins/runtime-modules/core/widgets/card/config.d.ts +1 -2
- package/plugins/runtime-modules/core/widgets/card/config.js +0 -1
- package/plugins/runtime-modules/core/widgets/card/editor.js +1 -1
- package/plugins/runtime-modules/core/widgets/collection-view/client.js +5 -2
- package/plugins/runtime-modules/core/widgets/collection-view/config.js +8 -0
- package/plugins/runtime-modules/core/widgets/collection-view/site-address-binding.d.ts +55 -0
- package/plugins/runtime-modules/core/widgets/collection-view/site-address-binding.js +173 -0
- package/plugins/runtime-modules/core/widgets/collection-view/site-address-tiles.d.ts +48 -0
- package/plugins/runtime-modules/core/widgets/collection-view/site-address-tiles.js +67 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/client.js +3 -0
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.d.ts +316 -1
- package/plugins/runtime-modules/core/widgets/command-toolbar/config.js +4 -4
- package/plugins/runtime-modules/core/widgets/description/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/dimension/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/entry-list/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/float-button/client.js +4 -1
- package/plugins/runtime-modules/core/widgets/float-button/config.d.ts +326 -3
- package/plugins/runtime-modules/core/widgets/float-button/config.js +5 -2
- package/plugins/runtime-modules/core/widgets/form/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/form/config.js +14 -1
- package/plugins/runtime-modules/core/widgets/gallery/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/header-navigation/client.js +1 -1
- package/plugins/runtime-modules/core/widgets/length/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/markdown/plugin.js +20 -7
- package/plugins/runtime-modules/core/widgets/markdown/server.d.ts +6 -2
- package/plugins/runtime-modules/core/widgets/markdown/server.js +2 -2
- package/plugins/runtime-modules/core/widgets/markdown/table-embeds.server.d.ts +12 -0
- package/plugins/runtime-modules/core/widgets/markdown/table-embeds.server.js +68 -0
- package/plugins/runtime-modules/core/widgets/number-input/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/record/client.js +2 -6
- package/plugins/runtime-modules/core/widgets/result/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/config.d.ts +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/config.js +1 -1
- package/plugins/runtime-modules/core/widgets/simple-text/plugin.js +2 -1
- package/plugins/runtime-modules/core/widgets/table/client.js +48 -51
- package/plugins/runtime-modules/core/widgets/table/config.d.ts +3 -3
- package/plugins/runtime-modules/core/widgets/table/config.js +9 -0
- package/plugins/runtime-modules/core/widgets/table/reader-query.d.ts +17 -0
- package/plugins/runtime-modules/core/widgets/table/reader-query.js +33 -0
- package/plugins/runtime-modules/core/widgets/thread-conversation/client.js +2 -2
- package/plugins/runtime-modules/core/widgets/thread-conversation/config.d.ts +6 -2
- package/plugins/runtime-modules/core/widgets/thread-conversation/config.js +6 -1
- package/plugins/runtime-modules/core/widgets/thread-widget-config.d.ts +10 -0
- package/plugins/runtime-modules/core/widgets/thread-widget-config.js +6 -0
- package/plugins/runtime-modules/core/widgets/tree/client.js +6 -6
- package/plugins/runtime-modules/dashboard/trees/dashboard-cards-page-tree.js +3 -1
- package/plugins/runtime-modules/descriptor-compiler.d.ts +19 -3
- package/plugins/runtime-modules/descriptor-compiler.js +44 -16
- package/plugins/runtime-modules/editor/presets.d.ts +4 -0
- package/plugins/runtime-modules/editor/trees/phi-default-editor-releases-page-tree.js +3 -1
- package/plugins/runtime-modules/groups/trees/phi-default-admin-groups-page-tree.js +5 -1
- package/plugins/runtime-modules/groups/trees/phi-default-app-groups-page-tree.js +5 -1
- package/plugins/runtime-modules/localization/presets.d.ts +4 -0
- 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 +2 -0
- package/plugins/runtime-modules/localization/trees/phi-default-admin-locales-page-tree.js +3 -1
- package/plugins/runtime-modules/localization/trees/phi-default-editor-translations-page-tree.js +9 -2
- package/plugins/runtime-modules/news/presets.d.ts +4 -0
- package/plugins/runtime-modules/observability/trees/phi-default-admin-logs-page-tree.js +6 -2
- package/plugins/runtime-modules/resolver.js +17 -0
- package/plugins/runtime-modules/revisions/controller/binding.d.ts +37 -0
- package/plugins/runtime-modules/revisions/controller/binding.js +75 -0
- package/plugins/runtime-modules/revisions/controller/client.d.ts +5 -0
- package/plugins/runtime-modules/revisions/controller/client.js +86 -60
- package/plugins/runtime-modules/revisions/controller/definition.d.ts +5 -0
- package/plugins/runtime-modules/revisions/controller/definition.js +10 -0
- package/plugins/runtime-modules/revisions/controller/draft-context-target.d.ts +25 -0
- package/plugins/runtime-modules/revisions/controller/draft-context-target.js +33 -0
- package/plugins/runtime-modules/revisions/forms.js +1 -1
- package/plugins/runtime-modules/revisions/page-ids.d.ts +1 -1
- package/plugins/runtime-modules/revisions/page-ids.js +4 -1
- package/plugins/runtime-modules/revisions/presets.d.ts +4 -0
- package/plugins/runtime-modules/revisions/services/options.js +14 -4
- package/plugins/runtime-modules/revisions/services/table.js +54 -25
- package/plugins/runtime-modules/revisions/trees/phi-default-builder-revisions-page-tree.js +79 -4
- package/plugins/runtime-modules/search/widgets/search-results/client.js +4 -2
- package/plugins/runtime-modules/theme/controller/runtime.js +14 -2
- package/plugins/runtime-modules/theme/presets.d.ts +4 -0
- package/plugins/runtime-modules/theme/widgets/brand-controls/client.js +105 -7
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.d.ts +3 -2
- package/plugins/runtime-modules/theme/widgets/brand-controls/config.js +2 -2
- package/plugins/runtime-modules/theme/widgets/brand-controls/plugin.js +19 -7
- package/plugins/runtime-modules/threads/client-data-providers.js +10 -0
- package/plugins/runtime-modules/threads/controller/client.js +62 -2
- package/plugins/runtime-modules/threads/controller/definition.js +49 -1
- package/plugins/runtime-modules/threads/data-providers.d.ts +100 -2
- package/plugins/runtime-modules/threads/data-providers.js +96 -0
- package/plugins/runtime-modules/threads/definition.d.ts +100 -2
- package/plugins/runtime-modules/threads/definition.js +1 -1
- package/plugins/runtime-modules/threads/ids.d.ts +4 -0
- package/plugins/runtime-modules/threads/ids.js +5 -0
- package/plugins/runtime-modules/threads/services/customer-file-addresses.d.ts +30 -0
- package/plugins/runtime-modules/threads/services/customer-file-addresses.js +59 -0
- package/plugins/runtime-modules/threads/services/customer-file-read.d.ts +22 -0
- package/plugins/runtime-modules/threads/services/customer-file-read.js +101 -0
- package/plugins/runtime-modules/threads/services/customer-file-table.d.ts +126 -0
- package/plugins/runtime-modules/threads/services/customer-file-table.js +79 -0
- package/plugins/runtime-modules/threads/trees/phi-default-threads-page-tree.js +5 -3
- package/plugins/runtime-modules/user-management/client-data-providers.js +5 -0
- package/plugins/runtime-modules/user-management/data-providers.d.ts +159 -0
- package/plugins/runtime-modules/user-management/data-providers.js +101 -3
- package/plugins/runtime-modules/user-management/definition.d.ts +159 -0
- 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/presets.js +17 -1
- package/plugins/runtime-modules/user-management/services/users-access-table.d.ts +378 -0
- package/plugins/runtime-modules/user-management/services/users-access-table.js +132 -0
- package/plugins/runtime-modules/user-management/trees/admin-users-access-label-set.d.ts +90 -0
- package/plugins/runtime-modules/user-management/trees/admin-users-access-label-set.js +122 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-access-page-tree.d.ts +20 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-access-page-tree.js +181 -0
- package/plugins/runtime-modules/user-management/trees/phi-default-admin-users-page-tree.js +24 -18
- package/server-helpers/cms-page-record.d.ts +9 -1
- package/server-helpers/cms-page-record.js +11 -1
- package/server-helpers/cms-request.js +8 -5
- package/server-helpers/link-preview-image.d.ts +30 -0
- package/server-helpers/link-preview-image.js +57 -0
- package/server-helpers/runtime.js +0 -1
- package/server-helpers/search-text.js +3 -0
- package/server-helpers.d.ts +1 -1
- package/server-helpers.js +1 -1
- package/styles/controls.css +4 -2
- package/styles/layout.css +7 -0
- package/styles/shell.css +30 -6
- package/theme/phi-antd-token-resolver.d.ts +8 -0
- package/theme/phi-antd-token-resolver.js +10 -0
- package/theme/phi-theme-color.d.ts +19 -0
- package/theme/phi-theme-color.js +42 -0
- package/theme/phi-theme-composition.js +9 -0
- package/theme/phi-theme-gradients.js +4 -22
- package/theme/phi-theme-inverse-ground.d.ts +39 -0
- package/theme/phi-theme-inverse-ground.js +103 -0
- package/theme/phi-theme-palette-defaults.d.ts +16 -0
- package/theme/phi-theme-palette-defaults.js +103 -0
- package/theme/phi-theme-tokens.d.ts +2 -1
- package/theme/phi-theme-tokens.js +2 -0
- package/types/cms-module-descriptors.d.ts +14 -0
- package/types/cms-overlay.d.ts +13 -6
- package/types/cms-overlay.js +6 -22
- package/types/cms-plugins.d.ts +20 -3
- package/types/cms.d.ts +10 -0
- package/types/collection-provider.d.ts +27 -0
- package/types/collection-signal-values.d.ts +2 -0
- package/types/collection-signal-values.js +23 -0
- package/types/collection-view-widget.d.ts +9 -0
- package/types/core-widget-placements.d.ts +9 -3
- package/types/link-preview.d.ts +19 -0
- package/types/link-preview.js +19 -0
- package/types/record-provider.d.ts +22 -1
- package/types/signals.d.ts +2 -0
- package/types/signals.js +2 -0
- package/types/site-theme.d.ts +27 -0
- package/types/table-embed.d.ts +48 -0
- package/types/table-embed.js +1 -0
- package/types/table-widget.d.ts +29 -1
- package/types/table-widget.js +0 -282
- package/types/tree-widget.d.ts +0 -1
- package/types/tree-widget.js +0 -60
- package/types/widget-runtime.d.ts +3 -1
- package/types.d.ts +2 -1
- package/types.js +1 -1
- /package/{plugins/runtime-modules/threads/controller/address.d.ts → constants/threads-controller-address.d.ts} +0 -0
|
@@ -193,6 +193,165 @@ export declare const PHI_USER_MANAGEMENT_RUNTIME_MODULE_DEFINITION: {
|
|
|
193
193
|
summaryFields?: undefined;
|
|
194
194
|
actions?: undefined;
|
|
195
195
|
})[];
|
|
196
|
+
} | {
|
|
197
|
+
key: `${string}/${string}`;
|
|
198
|
+
ownerModuleId: "@phis/ui/modules/user-management";
|
|
199
|
+
kind: "table";
|
|
200
|
+
executionMode: "live";
|
|
201
|
+
authoringMode: "none";
|
|
202
|
+
title: string;
|
|
203
|
+
description: string;
|
|
204
|
+
resources: ({
|
|
205
|
+
resourceKey: "addons";
|
|
206
|
+
title: string;
|
|
207
|
+
rowIdentityPath: string;
|
|
208
|
+
fields: ({
|
|
209
|
+
key: "fields" | "background" | "granted" | "effective" | "awaiting";
|
|
210
|
+
title: "fields" | "background" | "granted" | "effective" | "awaiting";
|
|
211
|
+
type: "enum[]";
|
|
212
|
+
options: {
|
|
213
|
+
value: "name" | "email" | "address" | "phone";
|
|
214
|
+
label: "name" | "email" | "address" | "phone";
|
|
215
|
+
}[];
|
|
216
|
+
} | {
|
|
217
|
+
key: string;
|
|
218
|
+
title: string;
|
|
219
|
+
type: "string";
|
|
220
|
+
required: true;
|
|
221
|
+
} | {
|
|
222
|
+
key: string;
|
|
223
|
+
title: string;
|
|
224
|
+
type: "datetime";
|
|
225
|
+
required?: undefined;
|
|
226
|
+
} | {
|
|
227
|
+
key: string;
|
|
228
|
+
title: string;
|
|
229
|
+
type: "number";
|
|
230
|
+
required?: undefined;
|
|
231
|
+
} | {
|
|
232
|
+
key: string;
|
|
233
|
+
title: string;
|
|
234
|
+
type: "boolean";
|
|
235
|
+
required?: undefined;
|
|
236
|
+
})[];
|
|
237
|
+
query: {
|
|
238
|
+
search: false;
|
|
239
|
+
filterFields: never[];
|
|
240
|
+
sorting: "none";
|
|
241
|
+
pagination: "none";
|
|
242
|
+
total?: undefined;
|
|
243
|
+
};
|
|
244
|
+
actions: ({
|
|
245
|
+
key: string;
|
|
246
|
+
title: string;
|
|
247
|
+
scope: "row";
|
|
248
|
+
intent: "write";
|
|
249
|
+
confirmation: "required";
|
|
250
|
+
disabledWhen: {
|
|
251
|
+
source: "row";
|
|
252
|
+
valuePath: string;
|
|
253
|
+
operator: "falsy";
|
|
254
|
+
};
|
|
255
|
+
} | {
|
|
256
|
+
key: string;
|
|
257
|
+
title: string;
|
|
258
|
+
scope: "row";
|
|
259
|
+
intent: "destructive";
|
|
260
|
+
confirmation: "required";
|
|
261
|
+
disabledWhen: {
|
|
262
|
+
source: "row";
|
|
263
|
+
valuePath: string;
|
|
264
|
+
operator: "falsy";
|
|
265
|
+
};
|
|
266
|
+
})[];
|
|
267
|
+
} | {
|
|
268
|
+
resourceKey: "retention";
|
|
269
|
+
title: string;
|
|
270
|
+
rowIdentityPath: string;
|
|
271
|
+
fields: ({
|
|
272
|
+
key: string;
|
|
273
|
+
title: string;
|
|
274
|
+
type: "string";
|
|
275
|
+
required: true;
|
|
276
|
+
mutable?: undefined;
|
|
277
|
+
constraints?: undefined;
|
|
278
|
+
} | {
|
|
279
|
+
key: string;
|
|
280
|
+
title: string;
|
|
281
|
+
type: "number";
|
|
282
|
+
mutable: true;
|
|
283
|
+
constraints: {
|
|
284
|
+
min: number;
|
|
285
|
+
max: number;
|
|
286
|
+
step: number;
|
|
287
|
+
precision: number;
|
|
288
|
+
};
|
|
289
|
+
required?: undefined;
|
|
290
|
+
})[];
|
|
291
|
+
query: {
|
|
292
|
+
search: false;
|
|
293
|
+
filterFields: never[];
|
|
294
|
+
sorting: "none";
|
|
295
|
+
pagination: "none";
|
|
296
|
+
total?: undefined;
|
|
297
|
+
};
|
|
298
|
+
actions?: undefined;
|
|
299
|
+
} | {
|
|
300
|
+
resourceKey: "log";
|
|
301
|
+
title: string;
|
|
302
|
+
rowIdentityPath: string;
|
|
303
|
+
fields: ({
|
|
304
|
+
key: string;
|
|
305
|
+
title: string;
|
|
306
|
+
type: "string";
|
|
307
|
+
required: true;
|
|
308
|
+
options?: undefined;
|
|
309
|
+
} | {
|
|
310
|
+
key: string;
|
|
311
|
+
title: string;
|
|
312
|
+
type: "datetime";
|
|
313
|
+
required?: undefined;
|
|
314
|
+
options?: undefined;
|
|
315
|
+
} | {
|
|
316
|
+
key: string;
|
|
317
|
+
title: string;
|
|
318
|
+
type: "string";
|
|
319
|
+
required?: undefined;
|
|
320
|
+
options?: undefined;
|
|
321
|
+
} | {
|
|
322
|
+
key: string;
|
|
323
|
+
title: string;
|
|
324
|
+
type: "enum";
|
|
325
|
+
options: {
|
|
326
|
+
value: string;
|
|
327
|
+
label: string;
|
|
328
|
+
}[];
|
|
329
|
+
required?: undefined;
|
|
330
|
+
} | {
|
|
331
|
+
key: string;
|
|
332
|
+
title: string;
|
|
333
|
+
type: "json";
|
|
334
|
+
required?: undefined;
|
|
335
|
+
options?: undefined;
|
|
336
|
+
} | {
|
|
337
|
+
key: string;
|
|
338
|
+
title: string;
|
|
339
|
+
type: "enum[]";
|
|
340
|
+
options: {
|
|
341
|
+
value: "name" | "email" | "address" | "phone";
|
|
342
|
+
label: "name" | "email" | "address" | "phone";
|
|
343
|
+
}[];
|
|
344
|
+
required?: undefined;
|
|
345
|
+
})[];
|
|
346
|
+
query: {
|
|
347
|
+
search: false;
|
|
348
|
+
filterFields: string[];
|
|
349
|
+
sorting: "none";
|
|
350
|
+
pagination: "offset";
|
|
351
|
+
total: false;
|
|
352
|
+
};
|
|
353
|
+
actions?: undefined;
|
|
354
|
+
})[];
|
|
196
355
|
})[];
|
|
197
356
|
moduleId: "@phis/ui/modules/user-management";
|
|
198
357
|
};
|
|
@@ -12,4 +12,13 @@ export declare const PHI_USER_MANAGEMENT_RUNTIME_DATA_PROVIDER_KEYS: {
|
|
|
12
12
|
readonly table: `${string}/${string}`;
|
|
13
13
|
readonly addonRoleOptions: `${string}/${string}`;
|
|
14
14
|
readonly addonRoleChoiceOptions: `${string}/${string}`;
|
|
15
|
+
/** What the Site lets Add-ons read of people (`users:v1`): the grants, the log and how long it is kept. */
|
|
16
|
+
readonly usersAccess: `${string}/${string}`;
|
|
15
17
|
};
|
|
18
|
+
/** The three resources of the people-data access Provider. */
|
|
19
|
+
export declare const PHI_USER_MANAGEMENT_USERS_ACCESS_RESOURCE_KEYS: {
|
|
20
|
+
readonly addons: "addons";
|
|
21
|
+
readonly retention: "retention";
|
|
22
|
+
readonly log: "log";
|
|
23
|
+
};
|
|
24
|
+
export declare const PHI_USER_MANAGEMENT_USERS_ACCESS_PAGE_PRESET_KEY = "admin-users-access-page";
|
|
@@ -14,4 +14,13 @@ export const PHI_USER_MANAGEMENT_RUNTIME_DATA_PROVIDER_KEYS = {
|
|
|
14
14
|
table: createPhiSharedRuntimeDataProviderKey("tables", "user-management"),
|
|
15
15
|
addonRoleOptions: createPhiSharedRuntimeDataProviderKey("options", "user-management-addon-roles"),
|
|
16
16
|
addonRoleChoiceOptions: createPhiSharedRuntimeDataProviderKey("options", "user-management-addon-role-choices"),
|
|
17
|
+
/** What the Site lets Add-ons read of people (`users:v1`): the grants, the log and how long it is kept. */
|
|
18
|
+
usersAccess: createPhiSharedRuntimeDataProviderKey("tables", "user-management-users-access"),
|
|
17
19
|
};
|
|
20
|
+
/** The three resources of the people-data access Provider. */
|
|
21
|
+
export const PHI_USER_MANAGEMENT_USERS_ACCESS_RESOURCE_KEYS = {
|
|
22
|
+
addons: "addons",
|
|
23
|
+
retention: "retention",
|
|
24
|
+
log: "log",
|
|
25
|
+
};
|
|
26
|
+
export const PHI_USER_MANAGEMENT_USERS_ACCESS_PAGE_PRESET_KEY = "admin-users-access-page";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { buildPhiSidebarRoutePresetDescriptor } from "../sidebar-route";
|
|
2
|
-
import { PHI_USER_MANAGEMENT_RUNTIME_MODULE_ID } from "./ids";
|
|
2
|
+
import { PHI_USER_MANAGEMENT_RUNTIME_MODULE_ID, PHI_USER_MANAGEMENT_USERS_ACCESS_PAGE_PRESET_KEY } from "./ids";
|
|
3
3
|
export const PHI_USER_MANAGEMENT_RUNTIME_MODULE_ROUTES = [
|
|
4
4
|
buildPhiSidebarRoutePresetDescriptor({
|
|
5
5
|
area: "admin",
|
|
@@ -18,4 +18,20 @@ export const PHI_USER_MANAGEMENT_RUNTIME_MODULE_ROUTES = [
|
|
|
18
18
|
loadTree: ({ page, runtime }) => import("./trees/phi-default-admin-users-page-tree")
|
|
19
19
|
.then((module) => module.buildPhiDefaultAdminUsersPageTree({ page, runtime })),
|
|
20
20
|
}),
|
|
21
|
+
/*
|
|
22
|
+
* What Add-ons may read of people, in the Admin's Settings: the entry is a Site Admin's, as the routes
|
|
23
|
+
* behind it are (`/api/site/admin/users-access`). Beside Users, because it is about the same people.
|
|
24
|
+
*/
|
|
25
|
+
buildPhiSidebarRoutePresetDescriptor({
|
|
26
|
+
area: "admin",
|
|
27
|
+
anchor: "settings",
|
|
28
|
+
ownerModuleId: PHI_USER_MANAGEMENT_RUNTIME_MODULE_ID,
|
|
29
|
+
presetKey: PHI_USER_MANAGEMENT_USERS_ACCESS_PAGE_PRESET_KEY,
|
|
30
|
+
title: "People data",
|
|
31
|
+
path: "/settings/people-data",
|
|
32
|
+
itemKey: "@phis/ui/modules/user-management/nav/admin/settings/people-data",
|
|
33
|
+
icon: "antd:safety-certificate",
|
|
34
|
+
loadTree: ({ page, runtime }) => import("./trees/phi-default-admin-users-access-page-tree")
|
|
35
|
+
.then((module) => module.buildPhiDefaultAdminUsersAccessPageTree({ page, runtime })),
|
|
36
|
+
}),
|
|
21
37
|
];
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { type PhiTableProviderMutationRequest, type PhiTableProviderQueryRequest } from "../../../../types/table-widget";
|
|
2
|
+
/** Core's Site Admin routes for `users:v1` access (phis-server `/api/site/admin/users-access`). */
|
|
3
|
+
export declare const PHI_USERS_ACCESS_PATH = "/api/site/admin/users-access";
|
|
4
|
+
/** One Add-on as the Table reads it: Core's row, with the two marks its acts are offered by. */
|
|
5
|
+
export declare function toPhiUsersAccessAddonRow(row: Record<string, unknown>): {
|
|
6
|
+
addonId: string;
|
|
7
|
+
fields: string[];
|
|
8
|
+
background: string[];
|
|
9
|
+
granted: string[];
|
|
10
|
+
effective: string[];
|
|
11
|
+
awaiting: string[];
|
|
12
|
+
hasAwaiting: boolean;
|
|
13
|
+
hasGrant: boolean;
|
|
14
|
+
};
|
|
15
|
+
/** One entry of the access log as the Table reads it; Core answers no id, so the row's place is its key. */
|
|
16
|
+
export declare function toPhiUsersAccessLogRow(row: Record<string, unknown>, index: number, page: number): {
|
|
17
|
+
key: string;
|
|
18
|
+
actor: string;
|
|
19
|
+
fields: string[];
|
|
20
|
+
};
|
|
21
|
+
/** The log's request: newest first, a page at a time, narrowed by subject and Add-on. */
|
|
22
|
+
export declare function buildPhiUsersAccessLogParams(query: PhiTableProviderQueryRequest["query"]): URLSearchParams;
|
|
23
|
+
declare function queryUsersAccess({ resourceKey, query, signal }: PhiTableProviderQueryRequest): Promise<{
|
|
24
|
+
rows: {
|
|
25
|
+
addonId: string;
|
|
26
|
+
fields: string[];
|
|
27
|
+
background: string[];
|
|
28
|
+
granted: string[];
|
|
29
|
+
effective: string[];
|
|
30
|
+
awaiting: string[];
|
|
31
|
+
hasAwaiting: boolean;
|
|
32
|
+
hasGrant: boolean;
|
|
33
|
+
}[];
|
|
34
|
+
total: number;
|
|
35
|
+
} | {
|
|
36
|
+
rows: {
|
|
37
|
+
id: string;
|
|
38
|
+
days: number;
|
|
39
|
+
}[];
|
|
40
|
+
total: number;
|
|
41
|
+
} | {
|
|
42
|
+
rows: {
|
|
43
|
+
key: string;
|
|
44
|
+
actor: string;
|
|
45
|
+
fields: string[];
|
|
46
|
+
}[];
|
|
47
|
+
total?: undefined;
|
|
48
|
+
}>;
|
|
49
|
+
/** The address of one Add-on's grant; the id is one segment, so its `@` and `/` are encoded. */
|
|
50
|
+
export declare function buildPhiUsersAccessGrantPath(addonId: string): string;
|
|
51
|
+
declare function mutateUsersAccess(request: PhiTableProviderMutationRequest): Promise<{
|
|
52
|
+
status: "rejected";
|
|
53
|
+
invalidation: "none";
|
|
54
|
+
errorCode: string;
|
|
55
|
+
message: string;
|
|
56
|
+
canonicalValue?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
status: "accepted";
|
|
59
|
+
invalidation: "none";
|
|
60
|
+
canonicalValue: {};
|
|
61
|
+
errorCode?: undefined;
|
|
62
|
+
message?: undefined;
|
|
63
|
+
} | {
|
|
64
|
+
status: "accepted";
|
|
65
|
+
invalidation: "view";
|
|
66
|
+
errorCode?: undefined;
|
|
67
|
+
message?: undefined;
|
|
68
|
+
canonicalValue?: undefined;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const PHI_USER_MANAGEMENT_USERS_ACCESS_TABLE_PROVIDER_REGISTRATION: {
|
|
71
|
+
key: `${string}/${string}`;
|
|
72
|
+
resources: ({
|
|
73
|
+
resourceKey: string;
|
|
74
|
+
title: string;
|
|
75
|
+
rowIdentityPath: string;
|
|
76
|
+
recordRead: true;
|
|
77
|
+
summaryFields: {
|
|
78
|
+
key: string;
|
|
79
|
+
title: string;
|
|
80
|
+
type: "number";
|
|
81
|
+
}[];
|
|
82
|
+
fields: ({
|
|
83
|
+
key: string;
|
|
84
|
+
title: string;
|
|
85
|
+
type: "string";
|
|
86
|
+
required: true;
|
|
87
|
+
mutable?: undefined;
|
|
88
|
+
mutableWhen?: undefined;
|
|
89
|
+
} | {
|
|
90
|
+
key: string;
|
|
91
|
+
title: string;
|
|
92
|
+
type: "boolean";
|
|
93
|
+
mutable: true;
|
|
94
|
+
mutableWhen: {
|
|
95
|
+
match: "all";
|
|
96
|
+
conditions: ({
|
|
97
|
+
source: "controller";
|
|
98
|
+
controllerAddress: `controller:${string}/${string}:${string}`;
|
|
99
|
+
valuePath: string;
|
|
100
|
+
operator: "falsy";
|
|
101
|
+
} | {
|
|
102
|
+
source: "row";
|
|
103
|
+
valuePath: string;
|
|
104
|
+
operator: "falsy";
|
|
105
|
+
controllerAddress?: undefined;
|
|
106
|
+
})[];
|
|
107
|
+
};
|
|
108
|
+
required?: undefined;
|
|
109
|
+
} | {
|
|
110
|
+
key: string;
|
|
111
|
+
title: string;
|
|
112
|
+
type: "string";
|
|
113
|
+
required?: undefined;
|
|
114
|
+
mutable?: undefined;
|
|
115
|
+
mutableWhen?: undefined;
|
|
116
|
+
} | {
|
|
117
|
+
key: string;
|
|
118
|
+
title: string;
|
|
119
|
+
type: "json";
|
|
120
|
+
required?: undefined;
|
|
121
|
+
mutable?: undefined;
|
|
122
|
+
mutableWhen?: undefined;
|
|
123
|
+
} | {
|
|
124
|
+
key: string;
|
|
125
|
+
title: string;
|
|
126
|
+
type: "datetime";
|
|
127
|
+
required?: undefined;
|
|
128
|
+
mutable?: undefined;
|
|
129
|
+
mutableWhen?: undefined;
|
|
130
|
+
} | {
|
|
131
|
+
key: string;
|
|
132
|
+
title: string;
|
|
133
|
+
type: "boolean";
|
|
134
|
+
required?: undefined;
|
|
135
|
+
mutable?: undefined;
|
|
136
|
+
mutableWhen?: undefined;
|
|
137
|
+
})[];
|
|
138
|
+
query: {
|
|
139
|
+
search: true;
|
|
140
|
+
filterFields: string[];
|
|
141
|
+
sorting: "single";
|
|
142
|
+
pagination: "offset";
|
|
143
|
+
total: true;
|
|
144
|
+
};
|
|
145
|
+
actions: ({
|
|
146
|
+
key: string;
|
|
147
|
+
title: string;
|
|
148
|
+
scope: "row";
|
|
149
|
+
disabledWhen: {
|
|
150
|
+
match: "any";
|
|
151
|
+
conditions: ({
|
|
152
|
+
source: "controller";
|
|
153
|
+
controllerAddress: `controller:${string}/${string}:${string}`;
|
|
154
|
+
valuePath: string;
|
|
155
|
+
operator: "truthy";
|
|
156
|
+
} | {
|
|
157
|
+
source: "row";
|
|
158
|
+
valuePath: string;
|
|
159
|
+
operator: "truthy";
|
|
160
|
+
controllerAddress?: undefined;
|
|
161
|
+
})[];
|
|
162
|
+
};
|
|
163
|
+
intent: "destructive";
|
|
164
|
+
confirmation: "required";
|
|
165
|
+
valueType?: undefined;
|
|
166
|
+
} | {
|
|
167
|
+
key: string;
|
|
168
|
+
title: string;
|
|
169
|
+
scope: "resource";
|
|
170
|
+
disabledWhen?: undefined;
|
|
171
|
+
intent?: undefined;
|
|
172
|
+
confirmation?: undefined;
|
|
173
|
+
valueType?: undefined;
|
|
174
|
+
} | {
|
|
175
|
+
key: string;
|
|
176
|
+
title: string;
|
|
177
|
+
scope: "resource";
|
|
178
|
+
valueType: "json";
|
|
179
|
+
disabledWhen?: undefined;
|
|
180
|
+
intent?: undefined;
|
|
181
|
+
confirmation?: undefined;
|
|
182
|
+
} | {
|
|
183
|
+
key: string;
|
|
184
|
+
title: string;
|
|
185
|
+
scope: "row";
|
|
186
|
+
valueType: "json";
|
|
187
|
+
disabledWhen?: undefined;
|
|
188
|
+
intent?: undefined;
|
|
189
|
+
confirmation?: undefined;
|
|
190
|
+
})[];
|
|
191
|
+
} | {
|
|
192
|
+
resourceKey: string;
|
|
193
|
+
title: string;
|
|
194
|
+
rowIdentityPath: string;
|
|
195
|
+
fields: ({
|
|
196
|
+
key: string;
|
|
197
|
+
title: string;
|
|
198
|
+
type: "string";
|
|
199
|
+
required: true;
|
|
200
|
+
} | {
|
|
201
|
+
key: string;
|
|
202
|
+
title: string;
|
|
203
|
+
type: "datetime";
|
|
204
|
+
required?: undefined;
|
|
205
|
+
} | {
|
|
206
|
+
key: string;
|
|
207
|
+
title: string;
|
|
208
|
+
type: "string";
|
|
209
|
+
required?: undefined;
|
|
210
|
+
})[];
|
|
211
|
+
query: {
|
|
212
|
+
filterFields: string[];
|
|
213
|
+
sorting: "none";
|
|
214
|
+
pagination: "none";
|
|
215
|
+
search?: undefined;
|
|
216
|
+
total?: undefined;
|
|
217
|
+
};
|
|
218
|
+
recordRead?: undefined;
|
|
219
|
+
summaryFields?: undefined;
|
|
220
|
+
actions?: undefined;
|
|
221
|
+
})[] | ({
|
|
222
|
+
resourceKey: "addons";
|
|
223
|
+
title: string;
|
|
224
|
+
rowIdentityPath: string;
|
|
225
|
+
fields: ({
|
|
226
|
+
key: "fields" | "background" | "granted" | "effective" | "awaiting";
|
|
227
|
+
title: "fields" | "background" | "granted" | "effective" | "awaiting";
|
|
228
|
+
type: "enum[]";
|
|
229
|
+
options: {
|
|
230
|
+
value: "name" | "email" | "address" | "phone";
|
|
231
|
+
label: "name" | "email" | "address" | "phone";
|
|
232
|
+
}[];
|
|
233
|
+
} | {
|
|
234
|
+
key: string;
|
|
235
|
+
title: string;
|
|
236
|
+
type: "string";
|
|
237
|
+
required: true;
|
|
238
|
+
} | {
|
|
239
|
+
key: string;
|
|
240
|
+
title: string;
|
|
241
|
+
type: "datetime";
|
|
242
|
+
required?: undefined;
|
|
243
|
+
} | {
|
|
244
|
+
key: string;
|
|
245
|
+
title: string;
|
|
246
|
+
type: "number";
|
|
247
|
+
required?: undefined;
|
|
248
|
+
} | {
|
|
249
|
+
key: string;
|
|
250
|
+
title: string;
|
|
251
|
+
type: "boolean";
|
|
252
|
+
required?: undefined;
|
|
253
|
+
})[];
|
|
254
|
+
query: {
|
|
255
|
+
search: false;
|
|
256
|
+
filterFields: never[];
|
|
257
|
+
sorting: "none";
|
|
258
|
+
pagination: "none";
|
|
259
|
+
total?: undefined;
|
|
260
|
+
};
|
|
261
|
+
actions: ({
|
|
262
|
+
key: string;
|
|
263
|
+
title: string;
|
|
264
|
+
scope: "row";
|
|
265
|
+
intent: "write";
|
|
266
|
+
confirmation: "required";
|
|
267
|
+
disabledWhen: {
|
|
268
|
+
source: "row";
|
|
269
|
+
valuePath: string;
|
|
270
|
+
operator: "falsy";
|
|
271
|
+
};
|
|
272
|
+
} | {
|
|
273
|
+
key: string;
|
|
274
|
+
title: string;
|
|
275
|
+
scope: "row";
|
|
276
|
+
intent: "destructive";
|
|
277
|
+
confirmation: "required";
|
|
278
|
+
disabledWhen: {
|
|
279
|
+
source: "row";
|
|
280
|
+
valuePath: string;
|
|
281
|
+
operator: "falsy";
|
|
282
|
+
};
|
|
283
|
+
})[];
|
|
284
|
+
} | {
|
|
285
|
+
resourceKey: "retention";
|
|
286
|
+
title: string;
|
|
287
|
+
rowIdentityPath: string;
|
|
288
|
+
fields: ({
|
|
289
|
+
key: string;
|
|
290
|
+
title: string;
|
|
291
|
+
type: "string";
|
|
292
|
+
required: true;
|
|
293
|
+
mutable?: undefined;
|
|
294
|
+
constraints?: undefined;
|
|
295
|
+
} | {
|
|
296
|
+
key: string;
|
|
297
|
+
title: string;
|
|
298
|
+
type: "number";
|
|
299
|
+
mutable: true;
|
|
300
|
+
constraints: {
|
|
301
|
+
min: number;
|
|
302
|
+
max: number;
|
|
303
|
+
step: number;
|
|
304
|
+
precision: number;
|
|
305
|
+
};
|
|
306
|
+
required?: undefined;
|
|
307
|
+
})[];
|
|
308
|
+
query: {
|
|
309
|
+
search: false;
|
|
310
|
+
filterFields: never[];
|
|
311
|
+
sorting: "none";
|
|
312
|
+
pagination: "none";
|
|
313
|
+
total?: undefined;
|
|
314
|
+
};
|
|
315
|
+
actions?: undefined;
|
|
316
|
+
} | {
|
|
317
|
+
resourceKey: "log";
|
|
318
|
+
title: string;
|
|
319
|
+
rowIdentityPath: string;
|
|
320
|
+
fields: ({
|
|
321
|
+
key: string;
|
|
322
|
+
title: string;
|
|
323
|
+
type: "string";
|
|
324
|
+
required: true;
|
|
325
|
+
options?: undefined;
|
|
326
|
+
} | {
|
|
327
|
+
key: string;
|
|
328
|
+
title: string;
|
|
329
|
+
type: "datetime";
|
|
330
|
+
required?: undefined;
|
|
331
|
+
options?: undefined;
|
|
332
|
+
} | {
|
|
333
|
+
key: string;
|
|
334
|
+
title: string;
|
|
335
|
+
type: "string";
|
|
336
|
+
required?: undefined;
|
|
337
|
+
options?: undefined;
|
|
338
|
+
} | {
|
|
339
|
+
key: string;
|
|
340
|
+
title: string;
|
|
341
|
+
type: "enum";
|
|
342
|
+
options: {
|
|
343
|
+
value: string;
|
|
344
|
+
label: string;
|
|
345
|
+
}[];
|
|
346
|
+
required?: undefined;
|
|
347
|
+
} | {
|
|
348
|
+
key: string;
|
|
349
|
+
title: string;
|
|
350
|
+
type: "json";
|
|
351
|
+
required?: undefined;
|
|
352
|
+
options?: undefined;
|
|
353
|
+
} | {
|
|
354
|
+
key: string;
|
|
355
|
+
title: string;
|
|
356
|
+
type: "enum[]";
|
|
357
|
+
options: {
|
|
358
|
+
value: "name" | "email" | "address" | "phone";
|
|
359
|
+
label: "name" | "email" | "address" | "phone";
|
|
360
|
+
}[];
|
|
361
|
+
required?: undefined;
|
|
362
|
+
})[];
|
|
363
|
+
query: {
|
|
364
|
+
search: false;
|
|
365
|
+
filterFields: string[];
|
|
366
|
+
sorting: "none";
|
|
367
|
+
pagination: "offset";
|
|
368
|
+
total: false;
|
|
369
|
+
};
|
|
370
|
+
actions?: undefined;
|
|
371
|
+
})[];
|
|
372
|
+
query: typeof queryUsersAccess;
|
|
373
|
+
mutate: typeof mutateUsersAccess;
|
|
374
|
+
};
|
|
375
|
+
export declare const PhiUserManagementUsersAccessTableProviderClient: import("react").ComponentType<{
|
|
376
|
+
children: import("react").ReactNode;
|
|
377
|
+
}>;
|
|
378
|
+
export {};
|