@kentico/xperience-admin-base 14.0.0-109224
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/commands/CommandContext.d.ts +27 -0
- package/dist/commands/CommandProvider.d.ts +12 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/useCommand.types.d.ts +36 -0
- package/dist/commands/useCommandInvoker.d.ts +11 -0
- package/dist/commands/usePageCommand.d.ts +11 -0
- package/dist/components/ActionList/ActionList.d.ts +2 -0
- package/dist/components/ActionList/ActionList.types.d.ts +5 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +15 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +32 -0
- package/dist/components/ViewMenuItem/ViewMenuItem.d.ts +5 -0
- package/dist/components/ViewMenuItem/ViewMenuItem.types.d.ts +16 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/loader/Loader.d.ts +1 -0
- package/dist/components/page-loader/PageLoader.d.ts +5 -0
- package/dist/components/page-message-pane/PageMessagePane.d.ts +7 -0
- package/dist/components/portal/Portal.d.ts +8 -0
- package/dist/entry.d.ts +15 -0
- package/dist/entry.js +28 -0
- package/dist/forms/form/Form.d.ts +6 -0
- package/dist/forms/form/Form.types.d.ts +129 -0
- package/dist/forms/form/FormField.d.ts +5 -0
- package/dist/forms/form/FormField.types.d.ts +15 -0
- package/dist/forms/form/formCategory/FormCategory.d.ts +2 -0
- package/dist/forms/form/formCategory/FormCategory.types.d.ts +11 -0
- package/dist/forms/form/index.d.ts +4 -0
- package/dist/forms/form/utils/parseFormCategories.d.ts +2 -0
- package/dist/forms/form-components/FormComponent.types.d.ts +24 -0
- package/dist/forms/form-components/FormComponentLoader.d.ts +2 -0
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorDropTile.d.ts +1 -0
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.d.ts +5 -0
- package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.types.d.ts +11 -0
- package/dist/forms/form-components/checkbox-form-component/CheckboxFormComponent.d.ts +2 -0
- package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.d.ts +2 -0
- package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.types.d.ts +18 -0
- package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponent.d.ts +5 -0
- package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponentProps.types.d.ts +16 -0
- package/dist/forms/form-components/dropdown-form-component/DropDownFormComponent.d.ts +2 -0
- package/dist/forms/form-components/dropdown-form-component/DropDownFormComponentProps.types.d.ts +11 -0
- package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.d.ts +5 -0
- package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.types.d.ts +9 -0
- package/dist/forms/form-components/formComponentUtils.d.ts +5 -0
- package/dist/forms/form-components/index.d.ts +20 -0
- package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.d.ts +2 -0
- package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.types.d.ts +3 -0
- package/dist/forms/form-components/number-input-form-component/NumberInputFormComponent.d.ts +2 -0
- package/dist/forms/form-components/object-selector-form-component/ObjectSelectorFormComponent.d.ts +5 -0
- package/dist/forms/form-components/object-selector-form-component/ObjectSelectorFormComponent.types.d.ts +23 -0
- package/dist/forms/form-components/object-selector-form-component/async-dropdown-selector/AsyncDropDownSelector.d.ts +2 -0
- package/dist/forms/form-components/object-selector-form-component/async-dropdown-selector/AsyncDropDownSelector.types.d.ts +9 -0
- package/dist/forms/form-components/password-form-component/PasswordFormComponent.d.ts +2 -0
- package/dist/forms/form-components/password-form-component/PasswordFormComponent.types.d.ts +14 -0
- package/dist/forms/form-components/radio-group-form-component/RadioGroupFormComponent.d.ts +2 -0
- package/dist/forms/form-components/radio-group-form-component/RadioGroupFormComponent.types.d.ts +15 -0
- package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponent.d.ts +5 -0
- package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponentProps.types.d.ts +6 -0
- package/dist/forms/form-components/rich-text-editor-form-component/hooks/useAssetPanel.d.ts +10 -0
- package/dist/forms/form-components/rich-text-editor-form-component/hooks/useAssetPanel.types.d.ts +10 -0
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.d.ts +2 -0
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.types.d.ts +3 -0
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/index.d.ts +2 -0
- package/dist/forms/form-components/rich-text-editor-form-component/plugins/index.d.ts +1 -0
- package/dist/forms/form-components/text-input-form-component/TextInputFormComponent.d.ts +2 -0
- package/dist/forms/form-components/text-input-form-component/TextInputFormComponentProps.types.d.ts +4 -0
- package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.d.ts +2 -0
- package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.d.ts +2 -0
- package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.types.d.ts +5 -0
- package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponent.d.ts +7 -0
- package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponentProps.types.d.ts +43 -0
- package/dist/forms/hooks/FormComponentCommand.types.d.ts +7 -0
- package/dist/forms/hooks/FormComponentCommandUtils.d.ts +4 -0
- package/dist/forms/hooks/index.d.ts +4 -0
- package/dist/forms/hooks/useDisplayDialogInFullscreen.d.ts +1 -0
- package/dist/forms/hooks/useFormComponentCommand.d.ts +4 -0
- package/dist/forms/hooks/useFormComponentCommandProvider.d.ts +4 -0
- package/dist/forms/hooks/useValidationRule.d.ts +2 -0
- package/dist/forms/index.d.ts +4 -0
- package/dist/forms/validation-rules/ValidationRule.types.d.ts +13 -0
- package/dist/forms/validation-rules/ValidationRuleLoader.d.ts +2 -0
- package/dist/forms/validation-rules/ValidationRuleLoader.types.d.ts +7 -0
- package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.d.ts +11 -0
- package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.types.d.ts +14 -0
- package/dist/forms/validation-rules/email-rule/EmailValidationRule.d.ts +9 -0
- package/dist/forms/validation-rules/email-rule/EmailValidationRule.types.d.ts +5 -0
- package/dist/forms/validation-rules/identifier-rule/IdentifierValidationRule.d.ts +8 -0
- package/dist/forms/validation-rules/index.d.ts +15 -0
- package/dist/forms/validation-rules/invalid-items-rule/InvalidItemsValidationRule.types.d.ts +4 -0
- package/dist/forms/validation-rules/max-items-rule/MaxItemsValidationRule.d.ts +9 -0
- package/dist/forms/validation-rules/max-items-rule/MaxItemsValidationRule.types.d.ts +4 -0
- package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.d.ts +3 -0
- package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.types.d.ts +4 -0
- package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.d.ts +3 -0
- package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.types.d.ts +4 -0
- package/dist/forms/validation-rules/object-selector-rule/ObjectSelectorValidationRule.d.ts +4 -0
- package/dist/forms/validation-rules/object-selector-rule/ObjectSelectorValidationRule.types.d.ts +3 -0
- package/dist/forms/validation-rules/required-value-rule/RequiredValueValidationRule.d.ts +2 -0
- package/dist/forms/validation-rules/server-rule/ServerValidationRule.d.ts +2 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/useBlocker.d.ts +5 -0
- package/dist/hooks/useComponent.d.ts +2 -0
- package/dist/hooks/useFieldInfoObject.d.ts +2 -0
- package/dist/hooks/useInterval.d.ts +1 -0
- package/dist/hooks/useIsPathActive.d.ts +9 -0
- package/dist/hooks/useLoadDropdownOptions.d.ts +6 -0
- package/dist/hooks/useNotificationMessage.d.ts +9 -0
- package/dist/hooks/usePagePath.d.ts +5 -0
- package/dist/hooks/usePrompt.d.ts +5 -0
- package/dist/localization/Localization.types.d.ts +7 -0
- package/dist/localization/LocalizationContext.d.ts +4 -0
- package/dist/localization/LocalizationProvider.d.ts +2 -0
- package/dist/localization/index.d.ts +4 -0
- package/dist/notifications/NotificationsContext.d.ts +5 -0
- package/dist/notifications/NotificationsContext.types.d.ts +13 -0
- package/dist/notifications/index.d.ts +2 -0
- package/dist/providers/CustomRightSidebarProvider.d.ts +10 -0
- package/dist/providers/backgroundImageProvider.d.ts +11 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/shared-components/ActionButtons/ActionButton/ActionButton.d.ts +5 -0
- package/dist/shared-components/ActionButtons/ActionButton/ActionButton.types.d.ts +5 -0
- package/dist/shared-components/ActionButtons/ActionButton/index.d.ts +1 -0
- package/dist/shared-components/ActionButtons/ActionLink/ActionLinkButton.d.ts +5 -0
- package/dist/shared-components/ActionButtons/ActionLink/ActionLinkButton.types.d.ts +5 -0
- package/dist/shared-components/ActionButtons/ActionLink/index.d.ts +2 -0
- package/dist/shared-components/ActionButtons/index.d.ts +2 -0
- package/dist/shared-components/AppLinkButton/AppLinkButton.d.ts +3 -0
- package/dist/shared-components/AppLinkButton/AppLinkButton.types.d.ts +4 -0
- package/dist/shared-components/AppLinkButton/index.d.ts +2 -0
- package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.d.ts +3 -0
- package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.types.d.ts +50 -0
- package/dist/shared-components/Assets/AssetFolderTreeView/index.d.ts +2 -0
- package/dist/shared-components/Assets/AssetPanel/AssetPanel.d.ts +5 -0
- package/dist/shared-components/Assets/AssetPanel/AssetPanel.types.d.ts +70 -0
- package/dist/shared-components/Assets/AssetPanel/AssetPanelContext.d.ts +6 -0
- package/dist/shared-components/Assets/AssetPanelContent/AssetPanelContent.d.ts +2 -0
- package/dist/shared-components/Assets/AssetPanelContent/AssetPanelContent.types.d.ts +85 -0
- package/dist/shared-components/Assets/AssetPanelContent/index.d.ts +2 -0
- package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.d.ts +5 -0
- package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.types.d.ts +8 -0
- package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.d.ts +5 -0
- package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.types.d.ts +6 -0
- package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.d.ts +2 -0
- package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.types.d.ts +6 -0
- package/dist/shared-components/Assets/AssetsLoader/index.d.ts +2 -0
- package/dist/shared-components/Assets/hooks/index.d.ts +3 -0
- package/dist/shared-components/Assets/hooks/useAssetDataManager.d.ts +26 -0
- package/dist/shared-components/Assets/hooks/useAssetFolderManager.d.ts +13 -0
- package/dist/shared-components/Assets/hooks/useAssetFolderManager.types.d.ts +54 -0
- package/dist/shared-components/Assets/hooks/useAssetLibraryManager.d.ts +10 -0
- package/dist/shared-components/Assets/hooks/useAssetLibraryManager.types.d.ts +7 -0
- package/dist/shared-components/Assets/hooks/useAssetManager.d.ts +17 -0
- package/dist/shared-components/Assets/hooks/useAssetManager.types.d.ts +151 -0
- package/dist/shared-components/Assets/hooks/useAssetTilesColumnCount.d.ts +7 -0
- package/dist/shared-components/Assets/hooks/useAssetsInfiniteScroll.d.ts +9 -0
- package/dist/shared-components/Assets/index.d.ts +4 -0
- package/dist/shared-components/Assets/types/Assets.types.d.ts +10 -0
- package/dist/shared-components/Callout/Callout.d.ts +5 -0
- package/dist/shared-components/Callout/Callout.types.d.ts +22 -0
- package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.types.d.ts +33 -0
- package/dist/shared-components/ConditionBuilder/Condition/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.types.d.ts +16 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilder/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.types.d.ts +4 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ErrorFallbackAlert.d.ts +3 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/DropDownParameterOverview.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/NumberInputParameterOverview.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/SingleObjectSelectorParameterOverview.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/index.d.ts +3 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ConditionOverviewModuleLoader.d.ts +7 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterOverviewComponentLoader.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterSimpleOverview.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.types.d.ts +4 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/index.d.ts +6 -0
- package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.types.d.ts +24 -0
- package/dist/shared-components/ConditionBuilder/ConditionGroup/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.d.ts +5 -0
- package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.types.d.ts +9 -0
- package/dist/shared-components/ConditionBuilder/ConditionPicker/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.types.d.ts +7 -0
- package/dist/shared-components/ConditionBuilder/OperatorSelect/index.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/Operators.d.ts +4 -0
- package/dist/shared-components/ConditionBuilder/Types/Constants.d.ts +1 -0
- package/dist/shared-components/ConditionBuilder/utils/convertModel.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/findMacroRule.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/getInitialSelectedParameterValues.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/getOperatorName.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/getOperatorText.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/index.d.ts +8 -0
- package/dist/shared-components/ConditionBuilder/utils/isComponentParameter.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/isTextualParameter.d.ts +2 -0
- package/dist/shared-components/ConditionBuilder/utils/mapArrayToKeys.d.ts +6 -0
- package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.d.ts +5 -0
- package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.types.d.ts +27 -0
- package/dist/shared-components/ConfirmationDialog/index.d.ts +2 -0
- package/dist/shared-components/OverviewCard/OverviewCard.d.ts +3 -0
- package/dist/shared-components/OverviewCard/OverviewCard.types.d.ts +16 -0
- package/dist/shared-components/OverviewCard/card-components/OverviewCardComponentLoader.d.ts +2 -0
- package/dist/shared-components/OverviewCard/card-components/condition-builder-overview-card-component/ConditionBuilderOverviewCardComponent.d.ts +2 -0
- package/dist/shared-components/OverviewCard/card-components/condition-builder-overview-card-component/ConditionBuilderOverviewCardComponent.types.d.ts +3 -0
- package/dist/shared-components/OverviewCard/card-components/index.d.ts +1 -0
- package/dist/shared-components/OverviewCard/index.d.ts +3 -0
- package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.d.ts +3 -0
- package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.types.d.ts +4 -0
- package/dist/shared-components/OverviewCardGroup/index.d.ts +2 -0
- package/dist/shared-components/StickyHeader/StickyHeader.d.ts +2 -0
- package/dist/shared-components/StickyHeader/StickyHeader.types.d.ts +4 -0
- package/dist/shared-components/StickyHeader/index.d.ts +2 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.d.ts +5 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.types.d.ts +3 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/Base/index.d.ts +2 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.d.ts +5 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.types.d.ts +4 -0
- package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/index.d.ts +2 -0
- package/dist/shared-components/Textarea/index.d.ts +2 -0
- package/dist/shared-components/index.d.ts +15 -0
- package/dist/template-components/builder/PropertiesDialog.d.ts +2 -0
- package/dist/template-components/builder/PropertiesDialog.types.d.ts +40 -0
- package/dist/template-components/builder/PropertiesDialogContext.d.ts +3 -0
- package/dist/template-components/builder/PropertiesDialogContext.types.d.ts +23 -0
- package/dist/template-components/builder/index.d.ts +5 -0
- package/dist/template-components/builder/utils/keysToCamelCase.d.ts +6 -0
- package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.d.ts +2 -0
- package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.types.d.ts +5 -0
- package/dist/template-components/content-with-sidebar-layout-wrapper/index.d.ts +2 -0
- package/dist/template-components/dialog/TemplateDialog.d.ts +2 -0
- package/dist/template-components/dialog/TemplateDialog.types.d.ts +8 -0
- package/dist/template-components/dialog/TemplateDialogContext.d.ts +3 -0
- package/dist/template-components/dialog/TemplateDialogContext.types.d.ts +44 -0
- package/dist/template-components/index.d.ts +7 -0
- package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.d.ts +3 -0
- package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.types.d.ts +7 -0
- package/dist/template-components/secondary-menu/SecondaryMenu.d.ts +5 -0
- package/dist/template-components/secondary-menu/SecondaryMenuCell.d.ts +7 -0
- package/dist/template-components/secondary-menu/SecondaryMenuHeadline.d.ts +9 -0
- package/dist/template-components/secondary-menu/SecondaryMenuWrapper.d.ts +10 -0
- package/dist/template-components/side-menu/TemplateSideMenu.d.ts +1 -0
- package/dist/template-components/side-menu/side-menu-item/SideMenuItem.d.ts +2 -0
- package/dist/template-components/side-menu/side-menu-item/SideMenuItem.types.d.ts +4 -0
- package/dist/template-components/side-panel/TemplateSidePanel.d.ts +2 -0
- package/dist/template-components/side-panel/TemplateSidePanel.types.d.ts +8 -0
- package/dist/template-components/side-panel/TemplateSidePanelContext.d.ts +3 -0
- package/dist/template-components/side-panel/TemplateSidePanelContext.types.d.ts +32 -0
- package/dist/template-components/template-loader/TemplateLoader.d.ts +5 -0
- package/dist/template-components/template-loader/useTemplateDataLoader.d.ts +13 -0
- package/dist/template-properties/TemplateProperties.types.d.ts +40 -0
- package/dist/template-properties/TemplatePropertiesProvider.d.ts +9 -0
- package/dist/template-properties/index.d.ts +2 -0
- package/dist/templates/app/App.types.d.ts +25 -0
- package/dist/templates/app/AppTemplate.d.ts +3 -0
- package/dist/templates/app/application-menu/ApplicationMenu.d.ts +4 -0
- package/dist/templates/app/application-menu/ApplicationMenu.types.d.ts +5 -0
- package/dist/templates/app/application-menu/application-list/ApplicationList.d.ts +4 -0
- package/dist/templates/app/application-menu/application-list/ApplicationList.types.d.ts +31 -0
- package/dist/templates/app/application-menu/application-list/ApplicationListGroup.d.ts +4 -0
- package/dist/templates/app/application-menu/application-list/ApplicationListItem.d.ts +4 -0
- package/dist/templates/app/application-menu/application-list/index.d.ts +1 -0
- package/dist/templates/app/application-menu/application-list/utils.d.ts +10 -0
- package/dist/templates/app/application-menu/index.d.ts +1 -0
- package/dist/templates/app/application-menu-mobile/ApplicationMenuMobile.d.ts +4 -0
- package/dist/templates/app/application-menu-mobile/ApplicationMenuMobile.types.d.ts +5 -0
- package/dist/templates/app/application-menu-mobile/index.d.ts +1 -0
- package/dist/templates/app/avatar/Avatar.d.ts +13 -0
- package/dist/templates/app/breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/templates/app/breadcrumbs/Breadcrumbs.types.d.ts +19 -0
- package/dist/templates/app/breadcrumbs/BreadcrumbsContext.d.ts +4 -0
- package/dist/templates/app/breadcrumbs/BreadcrumbsProvider.d.ts +2 -0
- package/dist/templates/app/breadcrumbs/index.d.ts +2 -0
- package/dist/templates/app/main/Main.d.ts +6 -0
- package/dist/templates/app/secondary-menu-navigation/SecondaryMenuNavigation.types.d.ts +11 -0
- package/dist/templates/app/secondary-menu-navigation/SecondaryMenuNavigationContext.d.ts +4 -0
- package/dist/templates/app/secondary-menu-navigation/SecondaryMenuNavigationProvider.d.ts +2 -0
- package/dist/templates/app/secondary-menu-navigation/index.d.ts +2 -0
- package/dist/templates/app/siteselector/SiteSelector.d.ts +4 -0
- package/dist/templates/app/siteselector/SiteSelector.types.d.ts +27 -0
- package/dist/templates/app/small-status-bar/Cell.d.ts +9 -0
- package/dist/templates/app/small-status-bar/SmallStatusBar.d.ts +5 -0
- package/dist/templates/app/small-status-bar/index.d.ts +1 -0
- package/dist/templates/app/status-bar/StatusBar.d.ts +9 -0
- package/dist/templates/app/status-bar/index.d.ts +1 -0
- package/dist/templates/condition-builder/ConditionBuilderTemplate.d.ts +2 -0
- package/dist/templates/condition-builder/ConditionBuilderTemplate.types.d.ts +7 -0
- package/dist/templates/dashboard/Dashboard.types.d.ts +4 -0
- package/dist/templates/dashboard/DashboardTemplate.d.ts +2 -0
- package/dist/templates/edit/EditSectionTemplate.d.ts +2 -0
- package/dist/templates/edit/EditSectionTemplate.types.d.ts +17 -0
- package/dist/templates/field-editor/FieldEditorBarItemHeader.d.ts +2 -0
- package/dist/templates/field-editor/FieldEditorBarItemHeader.types.d.ts +4 -0
- package/dist/templates/field-editor/FieldEditorForm.d.ts +5 -0
- package/dist/templates/field-editor/FieldEditorForm.types.d.ts +11 -0
- package/dist/templates/field-editor/FieldEditorTemplate.d.ts +14 -0
- package/dist/templates/field-editor/FieldEditorTemplate.types.d.ts +83 -0
- package/dist/templates/index.d.ts +13 -0
- package/dist/templates/listing/Listing.types.d.ts +25 -0
- package/dist/templates/listing/ListingTemplate.d.ts +2 -0
- package/dist/templates/no-license/NoLicenseTemplate.d.ts +2 -0
- package/dist/templates/no-license/NoLicenseTemplate.types.d.ts +8 -0
- package/dist/templates/overview/OverviewTemplate.d.ts +2 -0
- package/dist/templates/overview/OverviewTemplate.types.d.ts +31 -0
- package/dist/templates/secondary-menu-layout/SecondaryMenuLayout.d.ts +1 -0
- package/dist/templates/secondary-menu-layout/SecondaryMenuLayoutTemplate.d.ts +1 -0
- package/dist/templates/secondary-menu-layout/index.d.ts +1 -0
- package/dist/templates/settings/context/SettingsContext.d.ts +4 -0
- package/dist/templates/settings/context/SettingsContext.types.d.ts +11 -0
- package/dist/templates/settings/context/SettingsContextProvider.d.ts +12 -0
- package/dist/templates/settings/detail/SettingsBreadcrumbs.d.ts +2 -0
- package/dist/templates/settings/detail/SettingsDetails.types.d.ts +24 -0
- package/dist/templates/settings/detail/SettingsDetailsTemplate.d.ts +2 -0
- package/dist/templates/settings/detail/SettingsNoResultPage.d.ts +2 -0
- package/dist/templates/settings/detail/SettingsNoResultPage.types.d.ts +4 -0
- package/dist/templates/settings/detail/SettingsSearchTemplate.d.ts +2 -0
- package/dist/templates/settings/index.d.ts +3 -0
- package/dist/templates/settings/layout/NodeComponent.d.ts +2 -0
- package/dist/templates/settings/layout/NodeComponentProps.d.ts +6 -0
- package/dist/templates/settings/layout/SettingsLayout.types.d.ts +9 -0
- package/dist/templates/settings/layout/SettingsLayoutTemplate.d.ts +2 -0
- package/dist/templates/settings/layout/SettingsSearchRowComponent.d.ts +1 -0
- package/dist/templates/side-navigation-layout/SideNavigationLayoutTemplate.d.ts +1 -0
- package/dist/types/Action.types.d.ts +15 -0
- package/dist/types/NotificationMessage.types.d.ts +11 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/utils/authentication/logonUrlProvider.d.ts +10 -0
- package/dist/utils/basePathUtils.d.ts +8 -0
- package/dist/utils/constants.d.ts +5 -0
- package/dist/utils/formatString.d.ts +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/loadModule.d.ts +9 -0
- package/dist/utils/pathUtils/index.d.ts +1 -0
- package/dist/utils/pathUtils/pathUtils.d.ts +9 -0
- package/dist/utils/postToAdmin.d.ts +21 -0
- package/dist/utils/responseStatusActions.d.ts +15 -0
- package/package.json +89 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ConditionBuilderParameterFormPrefix = "ConditionParametersForm";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { getOperatorText } from './getOperatorText';
|
|
2
|
+
export { mapArrayToKeys } from './mapArrayToKeys';
|
|
3
|
+
export { getOperatorName } from './getOperatorName';
|
|
4
|
+
export { findMacroRule } from './findMacroRule';
|
|
5
|
+
export { convertModel } from './convertModel';
|
|
6
|
+
export { isTextualParameter } from './isTextualParameter';
|
|
7
|
+
export { isComponentParameter } from './isComponentParameter';
|
|
8
|
+
export { getInitialSelectedParameterValues } from './getInitialSelectedParameterValues';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ConfirmationDialogProps } from './ConfirmationDialog.types';
|
|
2
|
+
/**
|
|
3
|
+
* Component representing general confirmation dialog.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ConfirmationDialog: ({ headline, contentText, confirmationButtonLabel, isConfirmationButtonDestructive, onCancellation, onConfirmation, dataTestId }: ConfirmationDialogProps) => JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { UITestProps } from '@kentico/xperience-admin-components';
|
|
2
|
+
export interface ConfirmationDialogProps extends UITestProps {
|
|
3
|
+
/**
|
|
4
|
+
* Confirmation dialog headline.
|
|
5
|
+
*/
|
|
6
|
+
readonly headline: string;
|
|
7
|
+
/**
|
|
8
|
+
* Confirmation text.
|
|
9
|
+
*/
|
|
10
|
+
readonly contentText?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Confirmation button label.
|
|
13
|
+
*/
|
|
14
|
+
readonly confirmationButtonLabel: string;
|
|
15
|
+
/**
|
|
16
|
+
* Indicates if confirmation button should be rendered as destructive button with left icon with thrash bin.
|
|
17
|
+
*/
|
|
18
|
+
readonly isConfirmationButtonDestructive: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Event handler fired when dialog is confirmed.
|
|
21
|
+
*/
|
|
22
|
+
readonly onConfirmation: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Event handler fired when dialog is cancelled.
|
|
25
|
+
*/
|
|
26
|
+
readonly onCancellation: () => void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CardProps, IconName, TagProps } from '@kentico/xperience-admin-components';
|
|
2
|
+
import { Action } from '../../types';
|
|
3
|
+
export interface OverviewCardAction {
|
|
4
|
+
readonly label: string;
|
|
5
|
+
readonly icon?: IconName;
|
|
6
|
+
readonly onClick: () => void;
|
|
7
|
+
}
|
|
8
|
+
export interface OverviewCardProps extends Pick<CardProps, 'headline'> {
|
|
9
|
+
readonly content: string;
|
|
10
|
+
readonly action?: Action;
|
|
11
|
+
readonly tags?: TagProps[];
|
|
12
|
+
readonly component?: OverviewCardComponentProps;
|
|
13
|
+
}
|
|
14
|
+
export interface OverviewCardComponentProps {
|
|
15
|
+
readonly cardComponentName: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './condition-builder-overview-card-component/ConditionBuilderOverviewCardComponent';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './Callout/Callout';
|
|
2
|
+
export * from './Callout/Callout.types';
|
|
3
|
+
export * from './Assets/AssetPanelContent';
|
|
4
|
+
export * from './Assets/AssetFolderTreeView';
|
|
5
|
+
export * from './Assets/AssetsLoader';
|
|
6
|
+
export * from './Assets';
|
|
7
|
+
export * from './ActionButtons/ActionButton';
|
|
8
|
+
export * from './AppLinkButton';
|
|
9
|
+
export * from './ActionButtons';
|
|
10
|
+
export * from './ConditionBuilder/ConditionBuilderOverview';
|
|
11
|
+
export * from './Textarea';
|
|
12
|
+
export * from './Assets/hooks';
|
|
13
|
+
export * from './Assets/AssetTileHidden/AssetTileHidden';
|
|
14
|
+
export * from './ConfirmationDialog';
|
|
15
|
+
export * from './OverviewCard';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FormItems } from '../../forms';
|
|
2
|
+
/**
|
|
3
|
+
* Command args used for component properties dialog form submission.
|
|
4
|
+
*/
|
|
5
|
+
export interface ComponentPropertiesFormSubmissionCommandArgs extends BaseComponentPropertiesCommandArgs {
|
|
6
|
+
readonly formData: {
|
|
7
|
+
[fieldName: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Args used for the form items retrieval when the component properties dialog is opened.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetFormItemsArgs extends BaseComponentPropertiesCommandArgs {
|
|
14
|
+
readonly properties?: object;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Base arguments identifying a component
|
|
18
|
+
*/
|
|
19
|
+
interface BaseComponentPropertiesCommandArgs {
|
|
20
|
+
readonly componentType: ComponentType;
|
|
21
|
+
readonly typeIdentifier: string;
|
|
22
|
+
readonly identifier: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The component properties form submission result
|
|
26
|
+
*/
|
|
27
|
+
export interface ComponentPropertiesFormSubmissionResult {
|
|
28
|
+
readonly isValid: boolean;
|
|
29
|
+
readonly formItems: FormItems;
|
|
30
|
+
}
|
|
31
|
+
export interface PropertiesDialogProps {
|
|
32
|
+
readonly onAfterPropertiesSubmission: (data: {
|
|
33
|
+
[fieldName: string]: any;
|
|
34
|
+
}) => Promise<void>;
|
|
35
|
+
}
|
|
36
|
+
export declare enum ComponentType {
|
|
37
|
+
Widget = "widget",
|
|
38
|
+
Section = "section"
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PropertiesDialogContextProps, PropertiesDialogProviderProps } from './PropertiesDialogContext.types';
|
|
2
|
+
export declare const usePropertiesDialog: () => PropertiesDialogContextProps;
|
|
3
|
+
export declare const PropertiesDialogProvider: ({ children }: PropertiesDialogProviderProps) => JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentType } from './PropertiesDialog.types';
|
|
3
|
+
export interface PropertiesDialogData {
|
|
4
|
+
readonly identifier: string | null;
|
|
5
|
+
readonly title: string;
|
|
6
|
+
readonly properties: object;
|
|
7
|
+
readonly typeIdentifier: string;
|
|
8
|
+
readonly componentType: ComponentType;
|
|
9
|
+
readonly headerText?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Represents properties for properties dialog context component.
|
|
13
|
+
*/
|
|
14
|
+
export interface PropertiesDialogContextProps {
|
|
15
|
+
readonly propertiesDialogData: PropertiesDialogData | null;
|
|
16
|
+
readonly setPropertiesDialogData: (data: PropertiesDialogData | null) => void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents properties for properties dialog provider component.
|
|
20
|
+
*/
|
|
21
|
+
export interface PropertiesDialogProviderProps {
|
|
22
|
+
readonly children: React.ReactNode;
|
|
23
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { PropertiesDialog } from '../builder/PropertiesDialog';
|
|
2
|
+
export { usePropertiesDialog, PropertiesDialogProvider } from '../builder/PropertiesDialogContext';
|
|
3
|
+
export type { PropertiesDialogData } from '../builder/PropertiesDialogContext.types';
|
|
4
|
+
export { ComponentType } from '../builder/PropertiesDialog.types';
|
|
5
|
+
export * from './utils/keysToCamelCase';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TemplateDialogContextProps, TemplateDialogProviderProps } from './TemplateDialogContext.types';
|
|
2
|
+
export declare const useTemplateDialog: () => TemplateDialogContextProps;
|
|
3
|
+
export declare const TemplateDialogProvider: ({ children }: TemplateDialogProviderProps) => JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DialogAction } from '@kentico/xperience-admin-components';
|
|
3
|
+
import { NotificationMessage, NotificationMessageType } from '../../types';
|
|
4
|
+
/**
|
|
5
|
+
* Represents dialog handlers exposing submit action.
|
|
6
|
+
*/
|
|
7
|
+
export interface DialogHandlers {
|
|
8
|
+
readonly submitAction: DialogAction;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Represents properties for Dialog context component.
|
|
12
|
+
*/
|
|
13
|
+
export interface TemplateDialogContextProps {
|
|
14
|
+
readonly isInDialog: boolean;
|
|
15
|
+
readonly title: string;
|
|
16
|
+
readonly setTitle: (title: string) => void;
|
|
17
|
+
readonly minWidth?: string | number;
|
|
18
|
+
readonly setMinWidth: (width: string | number) => void;
|
|
19
|
+
readonly width?: string | number;
|
|
20
|
+
readonly setWidth: (width: string | number) => void;
|
|
21
|
+
readonly maxWidth?: string | number;
|
|
22
|
+
readonly setMaxWidth: (width: string | number) => void;
|
|
23
|
+
readonly minHeight?: string | number;
|
|
24
|
+
readonly setMinHeight: (height: string | number) => void;
|
|
25
|
+
readonly height?: string | number;
|
|
26
|
+
readonly setHeight: (height: string | number) => void;
|
|
27
|
+
readonly maxHeight?: string | number;
|
|
28
|
+
readonly setMaxHeight: (height: string | number) => void;
|
|
29
|
+
readonly dialogHandlers: DialogHandlers;
|
|
30
|
+
readonly setDialogHandlers: (dialogHandlers: DialogHandlers) => void;
|
|
31
|
+
readonly messages: NotificationMessage[];
|
|
32
|
+
readonly addDialogMessage: (message: NotificationMessage) => void;
|
|
33
|
+
readonly removeDialogMessage: (id: string | number) => void;
|
|
34
|
+
readonly canProcessMessageType: (messageVariant: NotificationMessageType) => boolean;
|
|
35
|
+
readonly closeDialog: () => void;
|
|
36
|
+
readonly isFullscreen: boolean;
|
|
37
|
+
readonly setIsFullscreen: (isFullscreen: boolean) => void;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Represents properties for Dialog provider component.
|
|
41
|
+
*/
|
|
42
|
+
export interface TemplateDialogProviderProps {
|
|
43
|
+
readonly children: React.ReactNode;
|
|
44
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './routing-content-placeholder/RoutingContentPlaceholder';
|
|
2
|
+
export * from './template-loader/TemplateLoader';
|
|
3
|
+
export * from './side-menu/TemplateSideMenu';
|
|
4
|
+
export * from './dialog/TemplateDialog';
|
|
5
|
+
export * from './dialog/TemplateDialogContext';
|
|
6
|
+
export * from './content-with-sidebar-layout-wrapper';
|
|
7
|
+
export * from './builder';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface SecondaryMenuWrapperProps {
|
|
3
|
+
level: number;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const SecondaryMenuWrapper: {
|
|
7
|
+
({ level, children }: SecondaryMenuWrapperProps): JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TemplateSideMenu: () => JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TemplateSidePanelContextProps, TemplateSidePanelProviderProps } from './TemplateSidePanelContext.types';
|
|
2
|
+
export declare const useTemplateSidePanel: () => TemplateSidePanelContextProps;
|
|
3
|
+
export declare const TemplateSidePanelProvider: ({ children }: TemplateSidePanelProviderProps) => JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DialogAction } from '@kentico/xperience-admin-components';
|
|
3
|
+
import { NotificationMessage, NotificationMessageType } from '../../types';
|
|
4
|
+
/**
|
|
5
|
+
* Represents dialog handlers exposing submit action.
|
|
6
|
+
*/
|
|
7
|
+
export interface SidePanelHandlers {
|
|
8
|
+
readonly submitAction: DialogAction;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Represents properties for Side panel context component.
|
|
12
|
+
*/
|
|
13
|
+
export interface TemplateSidePanelContextProps {
|
|
14
|
+
readonly isInSidePanel: boolean;
|
|
15
|
+
readonly title: string;
|
|
16
|
+
readonly setTitle: (title: string) => void;
|
|
17
|
+
readonly sidePanelHandlers: SidePanelHandlers;
|
|
18
|
+
readonly setSidePanelHandlers: (sidePanelHandlers: SidePanelHandlers) => void;
|
|
19
|
+
readonly minWidth?: string | number;
|
|
20
|
+
readonly setMinWidth: (width: string | number) => void;
|
|
21
|
+
readonly messages: NotificationMessage[];
|
|
22
|
+
readonly addDialogMessage: (message: NotificationMessage) => void;
|
|
23
|
+
readonly removeDialogMessage: (id: string | number) => void;
|
|
24
|
+
readonly canProcessMessageType: (messageVariant: NotificationMessageType) => boolean;
|
|
25
|
+
readonly closeSidePanel: () => void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Represents properties for Side panel provider component.
|
|
29
|
+
*/
|
|
30
|
+
export interface TemplateSidePanelProviderProps {
|
|
31
|
+
readonly children: React.ReactNode;
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TemplateProperties } from '../../template-properties';
|
|
2
|
+
import { ErrorHandlerParams } from '../../utils';
|
|
3
|
+
export interface TemplateDataLoaderError extends ErrorHandlerParams {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Loads the template data based on location.
|
|
7
|
+
*/
|
|
8
|
+
export declare const useTemplateDataLoader: (endpoint: string, preventRefetch: boolean) => {
|
|
9
|
+
isComplete: boolean;
|
|
10
|
+
data: TemplateProperties | undefined;
|
|
11
|
+
templateError: TemplateDataLoaderError | undefined;
|
|
12
|
+
redirectUrl: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IconName } from '@kentico/xperience-admin-components';
|
|
2
|
+
export interface Route {
|
|
3
|
+
path: string;
|
|
4
|
+
templateName: string;
|
|
5
|
+
pageLocation: PageLocation;
|
|
6
|
+
}
|
|
7
|
+
export declare enum PageLocation {
|
|
8
|
+
MainContent = "mainContent",
|
|
9
|
+
Dialog = "dialog",
|
|
10
|
+
SidePanel = "sidePanel"
|
|
11
|
+
}
|
|
12
|
+
export interface Breadcrumbs {
|
|
13
|
+
label?: string;
|
|
14
|
+
show: boolean;
|
|
15
|
+
isSignificant: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface Navigation {
|
|
18
|
+
readonly headline: string;
|
|
19
|
+
readonly items: NavigationItem[];
|
|
20
|
+
readonly isTemporary: boolean;
|
|
21
|
+
readonly isSignificant: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface NavigationItem {
|
|
24
|
+
icon: IconName | null;
|
|
25
|
+
label: string;
|
|
26
|
+
path: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
disabledTooltipText: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TemplateProperties {
|
|
31
|
+
routes: Route[];
|
|
32
|
+
visibleRoutes: string[];
|
|
33
|
+
defaultRoute?: Route;
|
|
34
|
+
breadcrumbs: Breadcrumbs;
|
|
35
|
+
navigation: Navigation;
|
|
36
|
+
preventRefetch: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface RedirectTemplateProperties extends TemplateProperties {
|
|
39
|
+
readonly redirectUrl: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TemplateProperties } from '.';
|
|
3
|
+
export declare const TemplatePropertiesContext: React.Context<TemplateProperties>;
|
|
4
|
+
interface TemplatePropertiesProviderProps {
|
|
5
|
+
readonly properties: TemplateProperties;
|
|
6
|
+
readonly children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const TemplatePropertiesProvider: ({ properties, children }: TemplatePropertiesProviderProps) => JSX.Element;
|
|
9
|
+
export {};
|