@kentico/xperience-admin-base 14.0.0-87740 → 22.0.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/dist/entry.d.ts +177 -14
- package/dist/entry.js +16 -10
- package/package.json +60 -52
- package/dist/commands/CommandContext.d.ts +0 -27
- package/dist/commands/CommandProvider.d.ts +0 -12
- package/dist/commands/index.d.ts +0 -3
- package/dist/commands/useCommand.types.d.ts +0 -36
- package/dist/commands/useCommandInvoker.d.ts +0 -11
- package/dist/commands/usePageCommand.d.ts +0 -11
- package/dist/components/ActionList/ActionList.d.ts +0 -2
- package/dist/components/ActionList/ActionList.types.d.ts +0 -5
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +0 -15
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +0 -32
- package/dist/components/ViewMenuItem/ViewMenuItem.d.ts +0 -5
- package/dist/components/ViewMenuItem/ViewMenuItem.types.d.ts +0 -11
- package/dist/components/index.d.ts +0 -6
- package/dist/components/loader/Loader.d.ts +0 -1
- package/dist/components/page-loader/PageLoader.d.ts +0 -5
- package/dist/components/page-message-pane/PageMessagePane.d.ts +0 -7
- package/dist/components/portal/Portal.d.ts +0 -8
- package/dist/forms/form/Form.d.ts +0 -3
- package/dist/forms/form/Form.types.d.ts +0 -93
- package/dist/forms/form/FormField.d.ts +0 -2
- package/dist/forms/form/FormField.types.d.ts +0 -12
- package/dist/forms/form/index.d.ts +0 -2
- package/dist/forms/form-components/FormComponent.types.d.ts +0 -23
- package/dist/forms/form-components/FormComponentLoader.d.ts +0 -2
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorDropTile.d.ts +0 -1
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.d.ts +0 -5
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.types.d.ts +0 -11
- package/dist/forms/form-components/checkbox-form-component/CheckboxFormComponent.d.ts +0 -2
- package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.d.ts +0 -2
- package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.types.d.ts +0 -18
- package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponent.d.ts +0 -5
- package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponentProps.types.d.ts +0 -16
- package/dist/forms/form-components/dropdown-form-component/DropDownFormComponent.d.ts +0 -2
- package/dist/forms/form-components/dropdown-form-component/DropDownFormComponentProps.types.d.ts +0 -11
- package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.d.ts +0 -5
- package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.types.d.ts +0 -9
- package/dist/forms/form-components/formComponentUtils.d.ts +0 -5
- package/dist/forms/form-components/index.d.ts +0 -20
- package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.d.ts +0 -2
- package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.types.d.ts +0 -3
- package/dist/forms/form-components/number-input-form-component/NumberInputFormComponent.d.ts +0 -2
- package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.d.ts +0 -2
- package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.types.d.ts +0 -4
- package/dist/forms/form-components/password-form-component/PasswordFormComponent.d.ts +0 -2
- package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponent.d.ts +0 -5
- package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponentProps.types.d.ts +0 -6
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.d.ts +0 -2
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.types.d.ts +0 -9
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/index.d.ts +0 -2
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/index.d.ts +0 -1
- package/dist/forms/form-components/text-input-form-component/TextInputFormComponent.d.ts +0 -2
- package/dist/forms/form-components/text-input-form-component/TextInputFormComponentProps.types.d.ts +0 -4
- package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.d.ts +0 -2
- package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.types.d.ts +0 -4
- package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.d.ts +0 -2
- package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.types.d.ts +0 -4
- package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponent.d.ts +0 -7
- package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponentProps.types.d.ts +0 -43
- package/dist/forms/hooks/FormComponentCommand.types.d.ts +0 -7
- package/dist/forms/hooks/FormComponentCommandUtils.d.ts +0 -4
- package/dist/forms/hooks/index.d.ts +0 -4
- package/dist/forms/hooks/useDisplayDialogInFullscreen.d.ts +0 -1
- package/dist/forms/hooks/useFormComponentCommand.d.ts +0 -4
- package/dist/forms/hooks/useFormComponentCommandProvider.d.ts +0 -4
- package/dist/forms/hooks/useValidationRule.d.ts +0 -2
- package/dist/forms/index.d.ts +0 -4
- package/dist/forms/validation-rules/ValidationRule.types.d.ts +0 -12
- package/dist/forms/validation-rules/ValidationRuleLoader.d.ts +0 -2
- package/dist/forms/validation-rules/ValidationRuleLoader.types.d.ts +0 -7
- package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.d.ts +0 -11
- package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.types.d.ts +0 -14
- package/dist/forms/validation-rules/index.d.ts +0 -9
- package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.d.ts +0 -3
- package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.types.d.ts +0 -4
- package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.d.ts +0 -3
- package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.types.d.ts +0 -4
- package/dist/forms/validation-rules/required-value-rule/RequiredValueValidationRule.d.ts +0 -2
- package/dist/forms/validation-rules/server-rule/ServerValidationRule.d.ts +0 -2
- package/dist/hooks/index.d.ts +0 -4
- package/dist/hooks/useComponent.d.ts +0 -2
- package/dist/hooks/useInterval.d.ts +0 -1
- package/dist/hooks/useIsPathActive.d.ts +0 -8
- package/dist/hooks/useLoadDropdownOptions.d.ts +0 -6
- package/dist/hooks/useNotificationMessage.d.ts +0 -9
- package/dist/hooks/usePagePath.d.ts +0 -5
- package/dist/localization/Localization.types.d.ts +0 -7
- package/dist/localization/LocalizationContext.d.ts +0 -4
- package/dist/localization/LocalizationProvider.d.ts +0 -2
- package/dist/localization/index.d.ts +0 -4
- package/dist/notifications/NotificationsContext.d.ts +0 -5
- package/dist/notifications/NotificationsContext.types.d.ts +0 -13
- package/dist/notifications/index.d.ts +0 -2
- package/dist/providers/backgroundImageProvider.d.ts +0 -11
- package/dist/providers/index.d.ts +0 -1
- package/dist/shared-components/AppLinkButton/AppLinkButton.d.ts +0 -3
- package/dist/shared-components/AppLinkButton/AppLinkButton.types.d.ts +0 -4
- package/dist/shared-components/AppLinkButton/index.d.ts +0 -2
- package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.d.ts +0 -3
- package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.types.d.ts +0 -50
- package/dist/shared-components/Assets/AssetFolderTreeView/index.d.ts +0 -2
- package/dist/shared-components/Assets/AssetPanel/AssetPanel.d.ts +0 -2
- package/dist/shared-components/Assets/AssetPanel/AssetPanel.types.d.ts +0 -85
- package/dist/shared-components/Assets/AssetPanel/index.d.ts +0 -2
- package/dist/shared-components/Assets/AssetSelector/AssetSelector.d.ts +0 -5
- package/dist/shared-components/Assets/AssetSelector/AssetSelector.types.d.ts +0 -49
- package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.d.ts +0 -5
- package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.types.d.ts +0 -8
- package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.d.ts +0 -5
- package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.types.d.ts +0 -6
- package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.d.ts +0 -2
- package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.types.d.ts +0 -6
- package/dist/shared-components/Assets/AssetsLoader/index.d.ts +0 -2
- package/dist/shared-components/Assets/hooks/index.d.ts +0 -3
- package/dist/shared-components/Assets/hooks/useAssetDataManager.d.ts +0 -26
- package/dist/shared-components/Assets/hooks/useAssetFolderManager.d.ts +0 -13
- package/dist/shared-components/Assets/hooks/useAssetFolderManager.types.d.ts +0 -54
- package/dist/shared-components/Assets/hooks/useAssetLibraryManager.d.ts +0 -10
- package/dist/shared-components/Assets/hooks/useAssetLibraryManager.types.d.ts +0 -16
- package/dist/shared-components/Assets/hooks/useAssetManager.d.ts +0 -17
- package/dist/shared-components/Assets/hooks/useAssetManager.types.d.ts +0 -151
- package/dist/shared-components/Assets/hooks/useAssetTilesColumnCount.d.ts +0 -7
- package/dist/shared-components/Assets/hooks/useAssetsInfiniteScroll.d.ts +0 -9
- package/dist/shared-components/Assets/index.d.ts +0 -1
- package/dist/shared-components/Callout/Callout.d.ts +0 -5
- package/dist/shared-components/Callout/Callout.types.d.ts +0 -22
- package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.types.d.ts +0 -33
- package/dist/shared-components/ConditionBuilder/Condition/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.types.d.ts +0 -16
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.types.d.ts +0 -4
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ErrorFallbackAlert.d.ts +0 -3
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/DropDownParameterOverview.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/NumberInputParameterOverview.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/SingleObjectSelectorParameterOverview.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/index.d.ts +0 -3
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ConditionOverviewModuleLoader.d.ts +0 -7
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterOverviewComponentLoader.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterSimpleOverview.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.types.d.ts +0 -4
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/index.d.ts +0 -6
- package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.types.d.ts +0 -24
- package/dist/shared-components/ConditionBuilder/ConditionGroup/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.d.ts +0 -5
- package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.types.d.ts +0 -9
- package/dist/shared-components/ConditionBuilder/ConditionPicker/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.types.d.ts +0 -7
- package/dist/shared-components/ConditionBuilder/OperatorSelect/index.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/Operators.d.ts +0 -4
- package/dist/shared-components/ConditionBuilder/Types/Constants.d.ts +0 -1
- package/dist/shared-components/ConditionBuilder/utils/convertModel.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/findMacroRule.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/getInitialSelectedParameterValues.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/getOperatorName.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/getOperatorText.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/index.d.ts +0 -8
- package/dist/shared-components/ConditionBuilder/utils/isComponentParameter.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/isTextualParameter.d.ts +0 -2
- package/dist/shared-components/ConditionBuilder/utils/mapArrayToKeys.d.ts +0 -6
- package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -5
- package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.types.d.ts +0 -27
- package/dist/shared-components/ConfirmationDialog/index.d.ts +0 -2
- package/dist/shared-components/OverviewCard/OverviewCard.d.ts +0 -3
- package/dist/shared-components/OverviewCard/OverviewCard.types.d.ts +0 -13
- package/dist/shared-components/OverviewCard/index.d.ts +0 -2
- package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.d.ts +0 -3
- package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.types.d.ts +0 -4
- package/dist/shared-components/OverviewCardGroup/index.d.ts +0 -2
- package/dist/shared-components/StickyHeader/StickyHeader.d.ts +0 -2
- package/dist/shared-components/StickyHeader/StickyHeader.types.d.ts +0 -5
- package/dist/shared-components/StickyHeader/index.d.ts +0 -2
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.d.ts +0 -5
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.types.d.ts +0 -3
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/index.d.ts +0 -2
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.d.ts +0 -5
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.types.d.ts +0 -3
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/index.d.ts +0 -2
- package/dist/shared-components/Textarea/index.d.ts +0 -2
- package/dist/shared-components/index.d.ts +0 -12
- package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.d.ts +0 -2
- package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.types.d.ts +0 -5
- package/dist/template-components/content-with-sidebar-layout-wrapper/index.d.ts +0 -2
- package/dist/template-components/dialog/TemplateDialog.d.ts +0 -2
- package/dist/template-components/dialog/TemplateDialog.types.d.ts +0 -8
- package/dist/template-components/dialog/TemplateDialogContext.d.ts +0 -3
- package/dist/template-components/dialog/TemplateDialogContext.types.d.ts +0 -44
- package/dist/template-components/index.d.ts +0 -5
- package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.d.ts +0 -3
- package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.types.d.ts +0 -7
- package/dist/template-components/template-loader/TemplateLoader.d.ts +0 -5
- package/dist/template-components/template-loader/useTemplateDataLoader.d.ts +0 -9
- package/dist/template-properties/TemplateProperties.types.d.ts +0 -30
- package/dist/template-properties/TemplatePropertiesProvider.d.ts +0 -9
- package/dist/template-properties/index.d.ts +0 -2
- package/dist/templates/app/App.types.d.ts +0 -24
- package/dist/templates/app/AppTemplate.d.ts +0 -3
- package/dist/templates/app/application-menu/ApplicationMenu.d.ts +0 -4
- package/dist/templates/app/application-menu/ApplicationMenu.types.d.ts +0 -5
- package/dist/templates/app/application-menu/application-list/ApplicationList.d.ts +0 -4
- package/dist/templates/app/application-menu/application-list/ApplicationList.types.d.ts +0 -31
- package/dist/templates/app/application-menu/application-list/ApplicationListGroup.d.ts +0 -4
- package/dist/templates/app/application-menu/application-list/ApplicationListItem.d.ts +0 -4
- package/dist/templates/app/application-menu/application-list/index.d.ts +0 -1
- package/dist/templates/app/application-menu/application-list/utils.d.ts +0 -10
- package/dist/templates/app/application-menu/index.d.ts +0 -1
- package/dist/templates/app/avatar/Avatar.d.ts +0 -9
- package/dist/templates/app/breadcrumbs/Breadcrumbs.d.ts +0 -4
- package/dist/templates/app/breadcrumbs/Breadcrumbs.types.d.ts +0 -18
- package/dist/templates/app/breadcrumbs/BreadcrumbsContext.d.ts +0 -4
- package/dist/templates/app/breadcrumbs/BreadcrumbsProvider.d.ts +0 -2
- package/dist/templates/app/breadcrumbs/index.d.ts +0 -2
- package/dist/templates/app/main/Main.d.ts +0 -6
- package/dist/templates/app/siteselector/SiteSelector.d.ts +0 -4
- package/dist/templates/app/siteselector/SiteSelector.types.d.ts +0 -27
- package/dist/templates/app/status-bar/StatusBar.d.ts +0 -9
- package/dist/templates/app/status-bar/index.d.ts +0 -1
- package/dist/templates/condition-builder/ConditionBuilderTemplate.d.ts +0 -2
- package/dist/templates/condition-builder/ConditionBuilderTemplate.types.d.ts +0 -7
- package/dist/templates/dashboard/Dashboard.types.d.ts +0 -4
- package/dist/templates/dashboard/DashboardTemplate.d.ts +0 -2
- package/dist/templates/edit/EditSectionTemplate.d.ts +0 -2
- package/dist/templates/edit/EditSectionTemplate.types.d.ts +0 -14
- package/dist/templates/field-editor/FieldEditorBarItemHeader.d.ts +0 -2
- package/dist/templates/field-editor/FieldEditorBarItemHeader.types.d.ts +0 -4
- package/dist/templates/field-editor/FieldEditorForm.d.ts +0 -5
- package/dist/templates/field-editor/FieldEditorForm.types.d.ts +0 -11
- package/dist/templates/field-editor/FieldEditorTemplate.d.ts +0 -14
- package/dist/templates/field-editor/FieldEditorTemplate.types.d.ts +0 -83
- package/dist/templates/index.d.ts +0 -12
- package/dist/templates/listing/Listing.types.d.ts +0 -24
- package/dist/templates/listing/ListingTemplate.d.ts +0 -2
- package/dist/templates/overview/OverviewTemplate.d.ts +0 -2
- package/dist/templates/overview/OverviewTemplate.types.d.ts +0 -29
- package/dist/templates/settings/context/SettingsContext.d.ts +0 -4
- package/dist/templates/settings/context/SettingsContext.types.d.ts +0 -11
- package/dist/templates/settings/context/SettingsContextProvider.d.ts +0 -12
- package/dist/templates/settings/detail/SettingsBreadcrumbs.d.ts +0 -2
- package/dist/templates/settings/detail/SettingsDetails.types.d.ts +0 -24
- package/dist/templates/settings/detail/SettingsDetailsTemplate.d.ts +0 -2
- package/dist/templates/settings/detail/SettingsNoResultPage.d.ts +0 -2
- package/dist/templates/settings/detail/SettingsNoResultPage.types.d.ts +0 -4
- package/dist/templates/settings/detail/SettingsSearchTemplate.d.ts +0 -2
- package/dist/templates/settings/index.d.ts +0 -3
- package/dist/templates/settings/layout/NodeComponent.d.ts +0 -2
- package/dist/templates/settings/layout/NodeComponentProps.d.ts +0 -6
- package/dist/templates/settings/layout/SettingsLayout.types.d.ts +0 -9
- package/dist/templates/settings/layout/SettingsLayoutTemplate.d.ts +0 -2
- package/dist/templates/settings/layout/SettingsSearchRowComponent.d.ts +0 -1
- package/dist/templates/side-navigation-layout/SideNavigationLayout.d.ts +0 -1
- package/dist/templates/side-navigation-layout/SideNavigationLayoutContext.d.ts +0 -7
- package/dist/templates/side-navigation-layout/SideNavigationLayoutTemplate.d.ts +0 -1
- package/dist/templates/side-navigation-layout/index.d.ts +0 -3
- package/dist/templates/side-navigation-layout/vertical-menu/NavLinkItem.d.ts +0 -6
- package/dist/templates/side-navigation-layout/vertical-menu/VerticalMenu.d.ts +0 -7
- package/dist/templates/view-menu-navigation-layout/ViewMenuNavigationLayoutTemplate.d.ts +0 -1
- package/dist/types/Action.types.d.ts +0 -14
- package/dist/types/NotificationMessage.types.d.ts +0 -11
- package/dist/types/index.d.ts +0 -4
- package/dist/utils/authentication/logonUrlProvider.d.ts +0 -10
- package/dist/utils/basePathUtils.d.ts +0 -12
- package/dist/utils/constants.d.ts +0 -5
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/loadModule.d.ts +0 -9
- package/dist/utils/pathUtils/index.d.ts +0 -1
- package/dist/utils/pathUtils/pathUtils.d.ts +0 -9
- package/dist/utils/postToAdmin.d.ts +0 -21
- package/dist/utils/responseStatusActions.d.ts +0 -15
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export * from './FormComponent.types';
|
|
2
|
-
export * from './checkbox-form-component/CheckboxFormComponent';
|
|
3
|
-
export * from './namespace-code-name-form-component/NamespaceCodeNameFormComponent';
|
|
4
|
-
export * from './condition-builder-form-component/ConditionBuilderFormComponent';
|
|
5
|
-
export * from './dropdown-form-component/DropDownFormComponent';
|
|
6
|
-
export * from './dropdown-form-component/DropDownFormComponentProps.types';
|
|
7
|
-
export * from './number-input-form-component/NumberInputFormComponent';
|
|
8
|
-
export * from './page-selector-form-component/PageSelectorFormComponent';
|
|
9
|
-
export * from './password-form-component/PasswordFormComponent';
|
|
10
|
-
export * from './rich-text-editor-form-component/RichTextEditorFormComponent';
|
|
11
|
-
export * from './rich-text-editor-form-component/plugins';
|
|
12
|
-
export * from './text-input-form-component/TextInputFormComponent';
|
|
13
|
-
export * from './text-input-form-component/TextInputFormComponentProps.types';
|
|
14
|
-
export * from './textarea-form-component/TextAreaFormComponent';
|
|
15
|
-
export * from './condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponent';
|
|
16
|
-
export * from './asset-selector-form-component/AssetSelectorFormComponent';
|
|
17
|
-
export * from './extension-selector-form-component/ExtensionSelectorFormComponent';
|
|
18
|
-
export * from './validation-rule-list-form-component/ValidationRuleListFormComponent';
|
|
19
|
-
export * from './text-with-label-form-component/TextWithLabelFormComponent';
|
|
20
|
-
export * from './text-with-label-form-component/TextWithLabelFormComponent.types';
|
package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponent.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { RichTextEditorFormComponentProps } from './RichTextEditorFormComponentProps.types';
|
|
2
|
-
/**
|
|
3
|
-
* Form component capable of selecting assets from AssetsSelector component.
|
|
4
|
-
*/
|
|
5
|
-
export declare const RichTextEditorFormComponent: ({ label, placeholder, tooltipTextOnDisabled, configuration, value, onChange, invalid, validationMessage, readOnly, required, disabledMessage, tooltip, explanationText, guid, ...props }: RichTextEditorFormComponentProps) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RichTextEditorPluginProps } from '@kentico/xperience-admin-components';
|
|
2
|
-
export interface AssetRichTextEditorPluginProps extends RichTextEditorPluginProps {
|
|
3
|
-
}
|
|
4
|
-
export interface GetAssetPluginButtonStatusResult {
|
|
5
|
-
/**
|
|
6
|
-
* Indicates whether asset plugin button should be enabled.
|
|
7
|
-
*/
|
|
8
|
-
readonly enabled: boolean;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './asset';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ValidationRuleListFormComponentProps } from './ValidationRuleListFormComponentProps.types';
|
|
2
|
-
/**
|
|
3
|
-
* Form component to display and edit validation rules of field in field editor.
|
|
4
|
-
* The component is meant to be used with the field editor so it correctly displays rules
|
|
5
|
-
* based on the selected component in the editor.
|
|
6
|
-
*/
|
|
7
|
-
export declare const ValidationRuleListFormComponent: ({ onChange, ruleDefinitions, ...props }: ValidationRuleListFormComponentProps) => JSX.Element;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { FormComponentProps } from '../FormComponent.types';
|
|
2
|
-
/**
|
|
3
|
-
* Form component properties for ValidationRulesFormComponent
|
|
4
|
-
*/
|
|
5
|
-
export interface ValidationRuleListFormComponentProps extends FormComponentProps {
|
|
6
|
-
readonly ruleDefinitions: ValidationRuleDefinition[];
|
|
7
|
-
readonly rulesDescriptions: Record<string, string>;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Validation rule metadata.
|
|
11
|
-
*/
|
|
12
|
-
export interface ValidationRuleDefinition {
|
|
13
|
-
readonly identifier: string;
|
|
14
|
-
readonly name: string;
|
|
15
|
-
readonly description: string;
|
|
16
|
-
readonly componentsProperties: FormComponentProps[];
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Carries values of configured validation rules.
|
|
20
|
-
*/
|
|
21
|
-
export interface ValidationConfiguration {
|
|
22
|
-
readonly identifier: string;
|
|
23
|
-
readonly validationRuleIdentifier: string;
|
|
24
|
-
readonly ruleValues: Record<string, any>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Arguments for the CreateValidationRule page command.
|
|
28
|
-
*/
|
|
29
|
-
export interface CreateValidationRuleArgs {
|
|
30
|
-
identifier: string;
|
|
31
|
-
formData: {
|
|
32
|
-
[fieldName: string]: any;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Result of the CreateValidationRule page command.
|
|
37
|
-
*/
|
|
38
|
-
export interface CreateValidationRuleResult {
|
|
39
|
-
rule: ValidationConfiguration;
|
|
40
|
-
description: string;
|
|
41
|
-
isValid: boolean;
|
|
42
|
-
componentsProperties: FormComponentProps[];
|
|
43
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldInfo } from '../form-components/FormComponent.types';
|
|
2
|
-
import { FormComponentCommandModel } from './FormComponentCommand.types';
|
|
3
|
-
export declare const componentCommandName = "ComponentCommand";
|
|
4
|
-
export declare const prepareFormComponentCommandPayload: <TData = unknown>(formName: string, fieldInfo: FieldInfo, commandName: string, data?: TData | undefined) => FormComponentCommandModel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useDisplayDialogInFullscreen: (screenWidthBreakpoint?: number | undefined, screenHeightBreakpoint?: number | undefined) => boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Command, UseCommandConfig } from '../../commands';
|
|
3
|
-
import { FieldInfo } from '../form-components/FormComponent.types';
|
|
4
|
-
export declare const useFormComponentCommand: <TCommandResult, TCommandData = void>(fieldInfo: FieldInfo, commandName: string, config?: UseCommandConfig<TCommandResult, TCommandData> | undefined, dependencies?: React.DependencyList | undefined) => Command<TCommandData>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldInfo } from '../form-components';
|
|
2
|
-
export declare const useFormComponentCommandProvider: () => {
|
|
3
|
-
executeCommand: <TCommandResult = void, TData = void>(fieldInfo: FieldInfo, name: string, data?: TData | undefined, files?: FileList | undefined) => Promise<TCommandResult | undefined>;
|
|
4
|
-
};
|
package/dist/forms/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ValidationRule<P extends ValidationRuleProps, T> {
|
|
2
|
-
(props: P, value: T, fieldValues: Record<string, any>): ValidationResult;
|
|
3
|
-
}
|
|
4
|
-
export interface ValidationRuleProps {
|
|
5
|
-
readonly ruleName: string;
|
|
6
|
-
readonly isValid: boolean;
|
|
7
|
-
readonly errorMessage: string | null;
|
|
8
|
-
}
|
|
9
|
-
export interface ValidationResult {
|
|
10
|
-
readonly isValid: boolean;
|
|
11
|
-
readonly errorMessage: string | null;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ValidationResult, ValidationRuleProps } from './ValidationRule.types';
|
|
2
|
-
export interface ValidationRuleLoaderProps extends ValidationRuleProps {
|
|
3
|
-
fieldValues: Record<string, any>;
|
|
4
|
-
value?: any;
|
|
5
|
-
allowRevalidate: boolean;
|
|
6
|
-
onValidated: (result: ValidationResult) => void;
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AssetTile } from '../../../shared-components';
|
|
2
|
-
import { ValidationRule } from '../ValidationRule.types';
|
|
3
|
-
import { AssetSelectorValidationRuleProps } from './AssetSelectorValidationRule.types';
|
|
4
|
-
/**
|
|
5
|
-
* Validation rule comparing form component assets collection with invalid assets collection.
|
|
6
|
-
* Designed for usage in AssetSelectorFormComponent.
|
|
7
|
-
* @param props Contains collection of invalid assets.
|
|
8
|
-
* @param value Contains form component value.
|
|
9
|
-
* @returns Validation result containing status and message.
|
|
10
|
-
*/
|
|
11
|
-
export declare const AssetSelectorValidationRule: ValidationRule<AssetSelectorValidationRuleProps, AssetTile[]>;
|
package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.types.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ValidationRuleProps } from '../ValidationRule.types';
|
|
2
|
-
/**
|
|
3
|
-
* Properties for AssetSelectorValidationRule component allowing to set invalid assets.
|
|
4
|
-
*/
|
|
5
|
-
export interface AssetSelectorValidationRuleProps extends ValidationRuleProps {
|
|
6
|
-
readonly invalidAssets?: InvalidAsset[];
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Holds 2 required identifier to recognize invalid asset.
|
|
10
|
-
*/
|
|
11
|
-
export interface InvalidAsset {
|
|
12
|
-
readonly identifier: string;
|
|
13
|
-
readonly siteIdentifier: string;
|
|
14
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './max-length-rule/MaxLengthValidationRule.types';
|
|
2
|
-
export * from './max-length-rule/MaxLengthValidationRule';
|
|
3
|
-
export * from './min-length-rule/MinLengthValidationRule.types';
|
|
4
|
-
export * from './min-length-rule/MinLengthValidationRule';
|
|
5
|
-
export * from './required-value-rule/RequiredValueValidationRule';
|
|
6
|
-
export * from './asset-selector-rule/AssetSelectorValidationRule.types';
|
|
7
|
-
export * from './asset-selector-rule/AssetSelectorValidationRule';
|
|
8
|
-
export * from './server-rule/ServerValidationRule';
|
|
9
|
-
export * from './ValidationRule.types';
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useInterval(callback: () => void, delay: number | null): void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DropDownOption } from '../forms/form-components/dropdown-form-component/DropDownFormComponentProps.types';
|
|
2
|
-
import { FieldInfoValueType } from '../forms/form-components/FormComponent.types';
|
|
3
|
-
export declare const useLoadDropdownOptions: (name: string, fieldValues: FieldInfoValueType, objectType: string, textColumnName: string, valueColumnName: string) => {
|
|
4
|
-
options: DropDownOption[];
|
|
5
|
-
readOnly: boolean;
|
|
6
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NotificationMessage } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Defines a function that appends notification message to a relevant notification context.
|
|
4
|
-
*
|
|
5
|
-
* @returns Function for adding notification message to a relevant notification context.
|
|
6
|
-
*/
|
|
7
|
-
export declare function useNotificationMessage(): {
|
|
8
|
-
addNotificationMessage: (message: NotificationMessage) => void;
|
|
9
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NotificationsContextType, NotificationsProviderProps } from './NotificationsContext.types';
|
|
3
|
-
export declare const NotificationsContext: React.Context<NotificationsContextType>;
|
|
4
|
-
export declare const useNotifications: () => NotificationsContextType;
|
|
5
|
-
export declare const NotificationsProvider: ({ children }: NotificationsProviderProps) => JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NotificationMessage, NotificationMessageType } from '../types';
|
|
3
|
-
export declare type NotificationsContextType = {
|
|
4
|
-
readonly redirectToDialog: boolean;
|
|
5
|
-
readonly setRedirectToDialog: (redirect: boolean) => void;
|
|
6
|
-
readonly messages: NotificationMessage[];
|
|
7
|
-
readonly addDialogMessage: (message: NotificationMessage) => void;
|
|
8
|
-
readonly removeDialogMessage: (id: string | number) => void;
|
|
9
|
-
readonly canProcessMessageType: (messageVariant: NotificationMessageType) => boolean;
|
|
10
|
-
};
|
|
11
|
-
export interface NotificationsProviderProps {
|
|
12
|
-
readonly children?: React.ReactNode;
|
|
13
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface BackgroundImageProviderProps {
|
|
3
|
-
readonly children: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export interface BackgroundImageContextType {
|
|
6
|
-
readonly displayBackgroundImage: boolean;
|
|
7
|
-
readonly setDisplayBackgroundImage: (displayBackgroundImage: boolean) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const BackgroundImageContext: React.Context<BackgroundImageContextType>;
|
|
10
|
-
export declare const useBackgroundImage: () => BackgroundImageContextType;
|
|
11
|
-
export declare const BackgroundImageProvider: ({ children }: BackgroundImageProviderProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './backgroundImageProvider';
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { AssetFolderData } from '../hooks/useAssetFolderManager.types';
|
|
2
|
-
export interface AssetFolderTreeViewProps {
|
|
3
|
-
/**
|
|
4
|
-
* Path to identify root in nodes collection.
|
|
5
|
-
*/
|
|
6
|
-
readonly rootPath: string;
|
|
7
|
-
/**
|
|
8
|
-
* Currently selected path.
|
|
9
|
-
*/
|
|
10
|
-
readonly selectedPath: string;
|
|
11
|
-
/**
|
|
12
|
-
* Key-value collection of folder nodes.
|
|
13
|
-
*/
|
|
14
|
-
readonly nodes: AssetFolderTreeViewItems;
|
|
15
|
-
/**
|
|
16
|
-
* Event fired when the node state is toggled.
|
|
17
|
-
* @param node Toggled node.
|
|
18
|
-
* @param isExpanded Indicates if node is currently expanded.
|
|
19
|
-
*/
|
|
20
|
-
readonly onNodeToggle: (node: AssetFolderTreeViewItem, isExpanded: boolean) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Event fired when the node is clicked.
|
|
23
|
-
* @param node Clicked node.
|
|
24
|
-
*/
|
|
25
|
-
readonly onNodeClick: (node: AssetFolderTreeViewItem) => void;
|
|
26
|
-
}
|
|
27
|
-
export interface AssetFolderTreeViewItem extends AssetFolderData {
|
|
28
|
-
/**
|
|
29
|
-
* Collection of paths representing child folders of current folder.
|
|
30
|
-
*/
|
|
31
|
-
readonly children: string[];
|
|
32
|
-
/**
|
|
33
|
-
* Indicates if children are loaded. Defaults to `false`.
|
|
34
|
-
*/
|
|
35
|
-
readonly areChildrenLoaded: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Indicates if children of folder are loading. Defaults to `false`.
|
|
38
|
-
*/
|
|
39
|
-
readonly isLoading: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Indicates if folder is expanded. Defaults to `false`.
|
|
42
|
-
*/
|
|
43
|
-
readonly isExpanded: boolean;
|
|
44
|
-
}
|
|
45
|
-
export interface AssetFolderTreeViewItems {
|
|
46
|
-
/**
|
|
47
|
-
* Key-value pair where key is folder path and value is object representing the folder node.
|
|
48
|
-
*/
|
|
49
|
-
[path: string]: AssetFolderTreeViewItem;
|
|
50
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AssetPanelProps } from './AssetPanel.types';
|
|
2
|
-
export declare const AssetPanel: ({ assets, selectedAssetIdentifiers, folders, rootFolderPath, selectedFolderPath, libraries, assetsTotalCount, hasMoreAssetsToLoad, onSelectionChange, onFolderToggle, onFolderClick, onUpload, onErrorClose, onLibraryChange, onLoadNextPage, uploadInProgress, selectedLibraryIdentifier, acceptFiles }: AssetPanelProps) => JSX.Element;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { AssetFolderTreeViewItem, AssetFolderTreeViewItems } from '../AssetFolderTreeView/AssetFolderTreeView.types';
|
|
2
|
-
import { AssetLibrary } from '../hooks/useAssetLibraryManager.types';
|
|
3
|
-
import { AssetItem } from '../hooks/useAssetManager.types';
|
|
4
|
-
export interface AssetPanelProps {
|
|
5
|
-
/**
|
|
6
|
-
* Collection of assets.
|
|
7
|
-
*/
|
|
8
|
-
readonly assets?: AssetItem[];
|
|
9
|
-
/**
|
|
10
|
-
* Key-value collection of folders.
|
|
11
|
-
*/
|
|
12
|
-
readonly folders: AssetFolderTreeViewItems;
|
|
13
|
-
/**
|
|
14
|
-
* Path to identify root in folders collection.
|
|
15
|
-
*/
|
|
16
|
-
readonly rootFolderPath: string;
|
|
17
|
-
/**
|
|
18
|
-
* Currently selected path.
|
|
19
|
-
*/
|
|
20
|
-
readonly selectedFolderPath: string;
|
|
21
|
-
/**
|
|
22
|
-
* Collection of assets libraries.
|
|
23
|
-
*/
|
|
24
|
-
readonly libraries: AssetLibrary[];
|
|
25
|
-
/**
|
|
26
|
-
* Total count of assets in current library and folder.
|
|
27
|
-
*/
|
|
28
|
-
readonly assetsTotalCount: number;
|
|
29
|
-
/**
|
|
30
|
-
* Event fired when asset selection is changed.
|
|
31
|
-
* @param isSelected Indicates if asset is selected.
|
|
32
|
-
* @param asset Asset that is being changed.
|
|
33
|
-
*/
|
|
34
|
-
readonly onSelectionChange?: (isSelected: boolean, asset: AssetItem) => void;
|
|
35
|
-
/**
|
|
36
|
-
* Event fired when folder is toggled.
|
|
37
|
-
* @param node Folder that is toggled.
|
|
38
|
-
* @param isExpanded Indicates if folder is expanded.
|
|
39
|
-
*/
|
|
40
|
-
readonly onFolderToggle: (node: AssetFolderTreeViewItem, isExpanded: boolean) => void;
|
|
41
|
-
/**
|
|
42
|
-
* Event fired when folder is clicked.
|
|
43
|
-
* @param node Folder that is clicked.
|
|
44
|
-
*/
|
|
45
|
-
readonly onFolderClick: (node: AssetFolderTreeViewItem) => void;
|
|
46
|
-
/**
|
|
47
|
-
* Event fired when assets are uploaded.
|
|
48
|
-
* @param files Assets to be uploaded.
|
|
49
|
-
*/
|
|
50
|
-
readonly onUpload: (files: FileList) => void;
|
|
51
|
-
/**
|
|
52
|
-
* Event fired when asset in error state is closed.
|
|
53
|
-
* @param asset Asset that is being closed.
|
|
54
|
-
*/
|
|
55
|
-
readonly onErrorClose: (asset: AssetItem) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Event fired when library is changed.
|
|
58
|
-
* @param identifier Identifier of the library.
|
|
59
|
-
*/
|
|
60
|
-
readonly onLibraryChange: (identifier: number) => void;
|
|
61
|
-
/**
|
|
62
|
-
* Loads next batch of assets.
|
|
63
|
-
*/
|
|
64
|
-
readonly onLoadNextPage: () => Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Indicates that there are more assets that can be loaded.
|
|
67
|
-
*/
|
|
68
|
-
readonly hasMoreAssetsToLoad: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Identifiers of selected assets.
|
|
71
|
-
*/
|
|
72
|
-
readonly selectedAssetIdentifiers: string[];
|
|
73
|
-
/**
|
|
74
|
-
* Indicates if upload is in progress. Defaults to `false`.
|
|
75
|
-
*/
|
|
76
|
-
readonly uploadInProgress: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Selected library identifier.
|
|
79
|
-
*/
|
|
80
|
-
readonly selectedLibraryIdentifier: number;
|
|
81
|
-
/**
|
|
82
|
-
* File types which tile should accept
|
|
83
|
-
*/
|
|
84
|
-
readonly acceptFiles?: string;
|
|
85
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AssetSelectorProps } from './AssetSelector.types';
|
|
2
|
-
/**
|
|
3
|
-
* Component for displaying AssetPanel in the SidePanel. Responsible for loading and handling libraries, folders and assets.
|
|
4
|
-
*/
|
|
5
|
-
export declare const AssetSelector: ({ selectorRef, onLibrariesLoad, onSelectAssets, fieldInfo, allowedExtensions, ...props }: AssetSelectorProps) => JSX.Element;
|