@kentico/xperience-admin-base 14.0.0-87740 → 22.0.2
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,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FieldInfo } from 'packages/kentico-xperience-admin-base/src/forms';
|
|
3
|
-
import { RefObject } from 'packages/kentico-xperience-admin-components/node_modules/@types/react';
|
|
4
|
-
import { AssetLibrary } from '../hooks/useAssetLibraryManager.types';
|
|
5
|
-
import { AssetItem } from '../hooks/useAssetManager.types';
|
|
6
|
-
export interface AssetSelectorProps {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates if selector is enabled. Defaults to `false`.
|
|
9
|
-
*/
|
|
10
|
-
readonly enabled: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Label shown when selector has been disabled.
|
|
13
|
-
*/
|
|
14
|
-
readonly disabledLabel: string;
|
|
15
|
-
/**
|
|
16
|
-
* Function called when libraries are loaded.
|
|
17
|
-
*/
|
|
18
|
-
readonly onLibrariesLoad: (libraries: AssetLibrary[]) => void;
|
|
19
|
-
/**
|
|
20
|
-
* Function called when assets are selected.
|
|
21
|
-
*/
|
|
22
|
-
readonly onSelectAssets: (assets: AssetItem[]) => void;
|
|
23
|
-
/**
|
|
24
|
-
* Ref passed to the assets selector DOM element.
|
|
25
|
-
*/
|
|
26
|
-
readonly selectorRef: RefObject<AssetSelectorRef>;
|
|
27
|
-
/**
|
|
28
|
-
* Related field info. If provided form component commands are used to load data otherwise page commands are used.
|
|
29
|
-
*/
|
|
30
|
-
readonly fieldInfo?: FieldInfo;
|
|
31
|
-
/**
|
|
32
|
-
* Allowed file extension for loaded assets.
|
|
33
|
-
*/
|
|
34
|
-
readonly allowedExtensions?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface AssetSelectorRef {
|
|
37
|
-
/**
|
|
38
|
-
* Function to open assets selector.
|
|
39
|
-
*/
|
|
40
|
-
readonly open: () => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
* Function to close assets selector.
|
|
43
|
-
*/
|
|
44
|
-
readonly close: () => void;
|
|
45
|
-
/**
|
|
46
|
-
* Function to slid the assets selector to the right. Used to make space for drag and drop.
|
|
47
|
-
*/
|
|
48
|
-
readonly toggleSlidToRight: (val: boolean) => void;
|
|
49
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AssetTileSelectableProps } from '@kentico/xperience-admin-components';
|
|
2
|
-
import { AssetItem } from '../hooks/useAssetManager.types';
|
|
3
|
-
/**
|
|
4
|
-
* Props extending AssetTileSelectableProps with additional properties used for drag operation context.
|
|
5
|
-
*/
|
|
6
|
-
export interface AssetTileDraggableProps extends AssetTileSelectableProps {
|
|
7
|
-
asset: AssetItem;
|
|
8
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { FieldInfo } from '../../../forms';
|
|
2
|
-
import { AssetFolderTreeViewItem } from '../AssetFolderTreeView';
|
|
3
|
-
import { AssetFolderData } from './useAssetFolderManager.types';
|
|
4
|
-
/**
|
|
5
|
-
* Handles managing asset items, folders and libraries.
|
|
6
|
-
* @param fieldInfo Info about current field. If provided form component commands are used otherwise page command are used.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useAssetDataManager: (fieldInfo?: FieldInfo | undefined) => {
|
|
9
|
-
libraries: import("./useAssetLibraryManager.types").AssetLibrary[];
|
|
10
|
-
folders: import("../AssetFolderTreeView").AssetFolderTreeViewItems;
|
|
11
|
-
assets: import("./useAssetManager.types").AssetItem[];
|
|
12
|
-
hasMoreAssetsToLoad: boolean;
|
|
13
|
-
loadLibraries: () => Promise<import("./useAssetLibraryManager.types").AssetLibrary[]>;
|
|
14
|
-
loadFolders: () => Promise<AssetFolderData[]>;
|
|
15
|
-
loadAssets: (allowedExtensions?: string | undefined) => Promise<void>;
|
|
16
|
-
toggleFolder: (folder: AssetFolderTreeViewItem, isExpanded: boolean) => Promise<void>;
|
|
17
|
-
uploadAssets: (files: FileList, allowedExtensions?: string | undefined) => Promise<void>;
|
|
18
|
-
removeAsset: (asset: import("./useAssetManager.types").AssetItem) => void;
|
|
19
|
-
setSelectedLibraryIdentifier: (identifier: number) => void;
|
|
20
|
-
setSelectedFolderPath: (folderPath: string) => void;
|
|
21
|
-
selectedLibraryIdentifier: number;
|
|
22
|
-
selectedFolderPath: string;
|
|
23
|
-
uploadInProgress: boolean;
|
|
24
|
-
totalAssetsCount: number;
|
|
25
|
-
resetData: () => void;
|
|
26
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FieldInfo } from '../../../forms';
|
|
2
|
-
import { AssetFolderTreeViewItem, AssetFolderTreeViewItems } from '../AssetFolderTreeView';
|
|
3
|
-
import { AssetFolderData } from './useAssetFolderManager.types';
|
|
4
|
-
/**
|
|
5
|
-
* Handles loading asset folders.
|
|
6
|
-
* @param fieldInfo Info about current field. If provided form component commands are used otherwise page command are used.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useAssetFolderManager: (fieldInfo?: FieldInfo | undefined) => {
|
|
9
|
-
folders: AssetFolderTreeViewItems;
|
|
10
|
-
toggleFolder: (libraryIdentifier: number, folder: AssetFolderTreeViewItem, isExpanded: boolean) => Promise<void>;
|
|
11
|
-
loadFolders: (libraryIdentifier: number, folderPath: string) => Promise<AssetFolderData[]>;
|
|
12
|
-
clearFolders: () => void;
|
|
13
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export interface AssetFolderData {
|
|
2
|
-
/**
|
|
3
|
-
* Name of the folder.
|
|
4
|
-
*/
|
|
5
|
-
readonly name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Path to the parent folder.
|
|
8
|
-
*/
|
|
9
|
-
readonly parentPath: string;
|
|
10
|
-
/**
|
|
11
|
-
* Path to the folder.
|
|
12
|
-
*/
|
|
13
|
-
readonly path: string;
|
|
14
|
-
/**
|
|
15
|
-
* Indicates if the folder has children folders. Defaults to `false`.
|
|
16
|
-
*/
|
|
17
|
-
readonly hasChildren: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Collection of children paths.
|
|
20
|
-
*/
|
|
21
|
-
readonly children: string[];
|
|
22
|
-
/**
|
|
23
|
-
* Indicates if the children are loaded.
|
|
24
|
-
*/
|
|
25
|
-
readonly areChildrenLoaded: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Indicates if the children are being loaded.
|
|
28
|
-
*/
|
|
29
|
-
readonly isLoading: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Indicates if the folder is expanded.
|
|
32
|
-
*/
|
|
33
|
-
readonly isExpanded: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface LoadAssetFoldersResult {
|
|
36
|
-
/**
|
|
37
|
-
* Collection of folders.
|
|
38
|
-
*/
|
|
39
|
-
readonly folders: AssetFolderData[];
|
|
40
|
-
}
|
|
41
|
-
export interface LoadAssetFoldersParameters {
|
|
42
|
-
/**
|
|
43
|
-
* Identifier of the library.
|
|
44
|
-
*/
|
|
45
|
-
readonly libraryIdentifier: number;
|
|
46
|
-
/**
|
|
47
|
-
* Folder path of the parent.
|
|
48
|
-
*/
|
|
49
|
-
readonly folderPath: string;
|
|
50
|
-
/**
|
|
51
|
-
* Indicates if the folder is selected.
|
|
52
|
-
*/
|
|
53
|
-
readonly isSelected: boolean;
|
|
54
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FieldInfo } from '../../../forms';
|
|
2
|
-
import { AssetLibrary } from './useAssetLibraryManager.types';
|
|
3
|
-
/**
|
|
4
|
-
* Handles loading assets libraries.
|
|
5
|
-
* @param fieldInfo Info about current field. If provided form component commands are used otherwise page command are used.
|
|
6
|
-
*/
|
|
7
|
-
export declare const useAssetLibraryManager: (fieldInfo?: FieldInfo | undefined) => {
|
|
8
|
-
loadLibraries: () => Promise<AssetLibrary[]>;
|
|
9
|
-
libraries: AssetLibrary[];
|
|
10
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface AssetLibrary {
|
|
2
|
-
/**
|
|
3
|
-
* Library identifier.
|
|
4
|
-
*/
|
|
5
|
-
readonly identifier: number;
|
|
6
|
-
/**
|
|
7
|
-
* Library name.
|
|
8
|
-
*/
|
|
9
|
-
readonly name: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LoadAssetLibrariesResult {
|
|
12
|
-
/**
|
|
13
|
-
* Collection of the libraries.
|
|
14
|
-
*/
|
|
15
|
-
readonly libraries: AssetLibrary[];
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FieldInfo } from '../../../forms';
|
|
3
|
-
import { AssetItem } from './useAssetManager.types';
|
|
4
|
-
/**
|
|
5
|
-
* Handles loading and uploading asset items.
|
|
6
|
-
* @param fieldInfo Info about current field. If provided form component commands are used otherwise page command are used.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useAssetManager: (selectedLibraryIdentifierRef: React.MutableRefObject<number>, selectedFolderPathRef: React.MutableRefObject<string>, fieldInfo?: FieldInfo | undefined) => {
|
|
9
|
-
loadAssets: (libraryIdentifier: number, folderPath: string, pageIndex: number, pageSize: number, allowedExtensions?: string | undefined) => Promise<number>;
|
|
10
|
-
assets: AssetItem[];
|
|
11
|
-
hasMoreAssetsToLoad: boolean;
|
|
12
|
-
uploadAssets: (libraryIdentifier: number, folderPath: string, files: FileList, allowedExtensions?: string | undefined) => Promise<void>;
|
|
13
|
-
clearAssets: () => void;
|
|
14
|
-
uploadInProgress: boolean;
|
|
15
|
-
totalAssetsCount: number;
|
|
16
|
-
removeAsset: (asset: AssetItem) => void;
|
|
17
|
-
};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
export interface AssetTileActionConfirmation {
|
|
2
|
-
/**
|
|
3
|
-
* Headline for confirmation dialog.
|
|
4
|
-
*/
|
|
5
|
-
readonly headline: string;
|
|
6
|
-
/**
|
|
7
|
-
* Confirmation message displayed before the action is executed.
|
|
8
|
-
*/
|
|
9
|
-
readonly text: string;
|
|
10
|
-
/**
|
|
11
|
-
* Confirmation message displayed before the action is executed.
|
|
12
|
-
*/
|
|
13
|
-
readonly buttonLabel: string;
|
|
14
|
-
}
|
|
15
|
-
export interface AssetTileAction {
|
|
16
|
-
/**
|
|
17
|
-
* Name of the action.
|
|
18
|
-
*/
|
|
19
|
-
readonly name: string;
|
|
20
|
-
/**
|
|
21
|
-
* Action icon.
|
|
22
|
-
*/
|
|
23
|
-
readonly icon: string;
|
|
24
|
-
/**
|
|
25
|
-
* Indicates if the action is destructive.
|
|
26
|
-
*/
|
|
27
|
-
readonly isDestructive: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Action tooltip.
|
|
30
|
-
*/
|
|
31
|
-
readonly tooltip: string;
|
|
32
|
-
/**
|
|
33
|
-
* Confirmation for action.
|
|
34
|
-
*/
|
|
35
|
-
readonly confirmation?: AssetTileActionConfirmation;
|
|
36
|
-
}
|
|
37
|
-
export interface AssetTile {
|
|
38
|
-
/**
|
|
39
|
-
* Error message displayed on the tile.
|
|
40
|
-
*/
|
|
41
|
-
readonly errorMessage: string;
|
|
42
|
-
/**
|
|
43
|
-
* Indicates if some error occurred on this tile.
|
|
44
|
-
*/
|
|
45
|
-
readonly hasError: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Name of the asset.
|
|
48
|
-
*/
|
|
49
|
-
readonly name: string;
|
|
50
|
-
/**
|
|
51
|
-
* Size of the asset.
|
|
52
|
-
*/
|
|
53
|
-
readonly size: number;
|
|
54
|
-
/**
|
|
55
|
-
* Asset identifier.
|
|
56
|
-
*/
|
|
57
|
-
readonly identifier: string;
|
|
58
|
-
/**
|
|
59
|
-
* Site identifier.
|
|
60
|
-
*/
|
|
61
|
-
readonly siteIdentifier: string;
|
|
62
|
-
/**
|
|
63
|
-
* Indicates if the asset is an image.
|
|
64
|
-
*/
|
|
65
|
-
readonly isImage: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Dimension of the asset.
|
|
68
|
-
*/
|
|
69
|
-
readonly dimensions?: {
|
|
70
|
-
readonly width: number;
|
|
71
|
-
readonly height: number;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Asset URL.
|
|
75
|
-
*/
|
|
76
|
-
readonly url?: string;
|
|
77
|
-
/**
|
|
78
|
-
* Asset description.
|
|
79
|
-
*/
|
|
80
|
-
readonly description: string;
|
|
81
|
-
/**
|
|
82
|
-
* Asset title.
|
|
83
|
-
*/
|
|
84
|
-
readonly title: string;
|
|
85
|
-
/**
|
|
86
|
-
* Asset actions.
|
|
87
|
-
*/
|
|
88
|
-
readonly actions?: AssetTileAction[];
|
|
89
|
-
}
|
|
90
|
-
export interface AssetItem extends AssetTile {
|
|
91
|
-
/**
|
|
92
|
-
* Indicates if assets is a placeholder. Defaults to `false`.
|
|
93
|
-
*/
|
|
94
|
-
readonly isPlaceholder: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Indicates upload progress.
|
|
97
|
-
*/
|
|
98
|
-
readonly uploadProgress: number;
|
|
99
|
-
}
|
|
100
|
-
export interface LoadAssetItemsResult {
|
|
101
|
-
/**
|
|
102
|
-
* Collection of the assets items.
|
|
103
|
-
*/
|
|
104
|
-
readonly assets: AssetItem[];
|
|
105
|
-
/**
|
|
106
|
-
* Total count of the assets in the folder.
|
|
107
|
-
*/
|
|
108
|
-
readonly totalCount: number;
|
|
109
|
-
}
|
|
110
|
-
export interface UploadAssetsResult {
|
|
111
|
-
/**
|
|
112
|
-
* Collection of the uploaded assets.
|
|
113
|
-
*/
|
|
114
|
-
readonly assets: AssetItem[];
|
|
115
|
-
}
|
|
116
|
-
export interface LoadAssetItemsParameters {
|
|
117
|
-
/**
|
|
118
|
-
* Identifier of the library.
|
|
119
|
-
*/
|
|
120
|
-
readonly libraryIdentifier: number;
|
|
121
|
-
/**
|
|
122
|
-
* Folder path from which should be the assets loaded.
|
|
123
|
-
*/
|
|
124
|
-
readonly folderPath: string;
|
|
125
|
-
/**
|
|
126
|
-
* Index of page to load.
|
|
127
|
-
*/
|
|
128
|
-
readonly pageIndex: number;
|
|
129
|
-
/**
|
|
130
|
-
* Number of items per page to get.
|
|
131
|
-
*/
|
|
132
|
-
readonly pageSize: number;
|
|
133
|
-
/**
|
|
134
|
-
* Allowed file extensions to be loaded.
|
|
135
|
-
*/
|
|
136
|
-
readonly allowedExtensions?: string;
|
|
137
|
-
}
|
|
138
|
-
export interface UploadAssetsParameters {
|
|
139
|
-
/**
|
|
140
|
-
* Identifier of the library.
|
|
141
|
-
*/
|
|
142
|
-
readonly libraryIdentifier: number;
|
|
143
|
-
/**
|
|
144
|
-
* Folder path to which should be the assets uploaded.
|
|
145
|
-
*/
|
|
146
|
-
readonly folderPath: string;
|
|
147
|
-
/**
|
|
148
|
-
* File extensions allowed to be uploaded.
|
|
149
|
-
*/
|
|
150
|
-
readonly allowedExtensions?: string;
|
|
151
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Calculates the number of column for the responsive asset tiles grid.
|
|
3
|
-
* @param containerRef Ref to the container element.
|
|
4
|
-
* @param isPreviewTile If true the calculation is performed for preview tile dimensions.
|
|
5
|
-
* Otherwise the calculation is performed for selectable tile dimensions.
|
|
6
|
-
*/
|
|
7
|
-
export declare const useAssetTilesColumnCount: (containerRef: React.RefObject<HTMLDivElement>, isPreviewTile: boolean) => number | undefined;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Handles infinite scroll data loading for the assets.
|
|
4
|
-
* @param containerRef Reference to the container element for scrollable content.
|
|
5
|
-
* @param onLoadNextPage Callback for loading the data.
|
|
6
|
-
*/
|
|
7
|
-
export declare const useAssetsInfiniteScroll: <T extends HTMLElement | null = HTMLElement>(containerRef: React.RefObject<T | null | undefined>, onLoadNextPage: () => Promise<void>) => {
|
|
8
|
-
observe: (element?: HTMLElement | null | undefined) => void;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { AssetItem, AssetTile, AssetTileAction } from './hooks/useAssetManager.types';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CalloutPlacementType, CalloutType } from '@kentico/xperience-admin-components';
|
|
2
|
-
export interface CalloutProps {
|
|
3
|
-
readonly calloutConfiguration: CalloutConfiguration;
|
|
4
|
-
readonly onActionButtonStatusChanged?: () => void;
|
|
5
|
-
}
|
|
6
|
-
export interface CalloutConfiguration {
|
|
7
|
-
readonly headline?: string;
|
|
8
|
-
readonly content: string;
|
|
9
|
-
readonly actionButton?: CalloutButtonConfiguration;
|
|
10
|
-
readonly type: CalloutType;
|
|
11
|
-
readonly placement: CalloutPlacementType;
|
|
12
|
-
}
|
|
13
|
-
export interface CalloutButtonConfiguration {
|
|
14
|
-
readonly text: string;
|
|
15
|
-
readonly clickCommandName: string;
|
|
16
|
-
readonly statusCommandName?: string;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
inProgress: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface CalloutButtonStatusCommandResponse {
|
|
21
|
-
readonly inProgress: boolean;
|
|
22
|
-
}
|
package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.types.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { FormComponentProps, OnChangeValueType } from 'packages/kentico-xperience-admin-base/src/forms/form-components/FormComponent.types';
|
|
2
|
-
export declare type ConditionValue = Record<string, OnChangeValueType>;
|
|
3
|
-
export interface ConditionBuilderConditionProps {
|
|
4
|
-
readonly onChange?: (value: ConditionValue) => void;
|
|
5
|
-
readonly initialParametersValue: ConditionValue;
|
|
6
|
-
readonly macroRule: MacroRuleConfiguration;
|
|
7
|
-
readonly onDelete?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export interface ConditionModel {
|
|
10
|
-
readonly macroRule: MacroRuleConfiguration;
|
|
11
|
-
readonly value: ConditionValue;
|
|
12
|
-
}
|
|
13
|
-
export interface SelectedCondition {
|
|
14
|
-
readonly macroRuleName: string;
|
|
15
|
-
readonly value: ConditionValue;
|
|
16
|
-
}
|
|
17
|
-
export interface ComponentParameter extends ParameterBase {
|
|
18
|
-
readonly properties: FormComponentProps;
|
|
19
|
-
readonly staticDataSource: DropDownComponentOption[];
|
|
20
|
-
}
|
|
21
|
-
export interface TextualParameter extends ParameterBase {
|
|
22
|
-
readonly value: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ParameterBase {
|
|
25
|
-
}
|
|
26
|
-
export interface DropDownComponentOption {
|
|
27
|
-
readonly value: string;
|
|
28
|
-
readonly label: string;
|
|
29
|
-
}
|
|
30
|
-
export interface MacroRuleConfiguration {
|
|
31
|
-
readonly macroRuleName: string;
|
|
32
|
-
readonly parameters: ParameterBase[];
|
|
33
|
-
}
|
package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.types.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ConditionBuilderConditionGroupProps, ConditionBuilderConditionGroupValue } from '../ConditionGroup';
|
|
2
|
-
import { SelectedGroup } from '../ConditionGroup/ConditionBuilderConditionGroup.types';
|
|
3
|
-
import { Operators } from '../Operators';
|
|
4
|
-
export interface ConditionBuilderProps extends Pick<ConditionBuilderConditionGroupProps, 'availableMacroRules' | 'availableMacroRuleConfigurations'> {
|
|
5
|
-
readonly initialConfiguration: ConditionTree;
|
|
6
|
-
readonly onChange: (value: ConditionTree) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare type ConditionBuilderValueInner = Record<string, ConditionBuilderConditionGroupValue>;
|
|
9
|
-
export interface ConditionTree {
|
|
10
|
-
readonly operator: Operators;
|
|
11
|
-
readonly groups: ConditionBuilderConditionGroupValue[];
|
|
12
|
-
}
|
|
13
|
-
export interface SelectedConditionTree {
|
|
14
|
-
readonly operator: Operators;
|
|
15
|
-
readonly groups: SelectedGroup[];
|
|
16
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DropDownFormComponentProps } from '../../../../../forms/form-components/dropdown-form-component/DropDownFormComponentProps.types';
|
|
2
|
-
export declare const DropdownSelectorParameterOverview: {
|
|
3
|
-
(props: DropDownFormComponentProps): JSX.Element | null;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SingleObjectSelectorFormComponentProps } from '../../../../../forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponentProps.types';
|
|
2
|
-
export declare const SingleObjectSelectorParameterOverview: {
|
|
3
|
-
({ objectType, textColumnName, valueColumnName, name, fieldValues, ...props }: SingleObjectSelectorFormComponentProps): JSX.Element;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ModuleLoaderType } from '../../../../utils/loadModule';
|
|
2
|
-
/**
|
|
3
|
-
* Custom loader for condition builder overview components.
|
|
4
|
-
* If the specified component (@param packageName) is not found, the loader fallbacks to @see ParameterSimpleOverview.
|
|
5
|
-
* @returns Condition builder overview component.
|
|
6
|
-
*/
|
|
7
|
-
export declare const ConditionOverviewModuleLoader: ModuleLoaderType;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ConditionBuilderOverview } from './ConditionBuilderOverview';
|
|
2
|
-
export type { ConditionBuilderOverviewProps } from './ConditionBuilderOverview.types';
|
|
3
|
-
export { ParameterSimpleOverview } from './Parameters/ParameterSimpleOverview';
|
|
4
|
-
export { DropdownSelectorParameterOverview, NumberInputParameterOverview, SingleObjectSelectorParameterOverview } from './Parameters/ComponentParameter';
|
|
5
|
-
export { ParameterText } from './Parameters/TextualParameter';
|
|
6
|
-
export type { ParameterTextProps } from './Parameters/TextualParameter';
|
package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { ConditionBuilderConditionGroupProps } from './ConditionBuilderConditionGroup.types';
|
|
2
|
-
export declare const ConditionBuilderConditionGroup: ({ onChange, onDelete, conditionGroupInitialValue, onPickerCloseRequest, onPickerOpenRequest, isPickerVisible, ...props }: ConditionBuilderConditionGroupProps) => JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ConditionGroupProps } from '@kentico/xperience-admin-components';
|
|
2
|
-
import { MacroRuleConfiguration } from '../Condition';
|
|
3
|
-
import { Operators } from '../Operators';
|
|
4
|
-
import { MacroRuleCategory } from '../ConditionPicker';
|
|
5
|
-
import { ConditionModel, SelectedCondition } from '../Condition/ConditionBuilderCondition.types';
|
|
6
|
-
export interface ConditionBuilderConditionGroupProps extends ConditionGroupProps {
|
|
7
|
-
readonly onChange?: (value: ConditionBuilderConditionGroupValue) => void;
|
|
8
|
-
readonly conditionGroupInitialValue?: ConditionBuilderConditionGroupValue;
|
|
9
|
-
readonly availableMacroRules: MacroRuleCategory[];
|
|
10
|
-
readonly availableMacroRuleConfigurations: MacroRuleConfiguration[];
|
|
11
|
-
readonly isPickerVisible: boolean;
|
|
12
|
-
readonly onPickerOpenRequest: () => void;
|
|
13
|
-
readonly onPickerCloseRequest: () => void;
|
|
14
|
-
readonly onDelete: () => void;
|
|
15
|
-
}
|
|
16
|
-
export interface ConditionBuilderConditionGroupValue {
|
|
17
|
-
readonly operator: Operators;
|
|
18
|
-
readonly items: ConditionModel[];
|
|
19
|
-
}
|
|
20
|
-
export interface SelectedGroup {
|
|
21
|
-
readonly operator: Operators;
|
|
22
|
-
readonly items: SelectedCondition[];
|
|
23
|
-
}
|
|
24
|
-
export declare type ConditionBuilderConditionGroupValueInner = Record<string, ConditionModel>;
|