@kentico/xperience-admin-base 14.0.0-68025 → 14.0.0-87740

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.
Files changed (214) hide show
  1. package/dist/components/ActionList/ActionList.d.ts +1 -2
  2. package/dist/components/ActionList/ActionList.types.d.ts +2 -1
  3. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +4 -0
  4. package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +23 -0
  5. package/dist/components/ViewMenuItem/ViewMenuItem.d.ts +5 -0
  6. package/dist/components/ViewMenuItem/ViewMenuItem.types.d.ts +11 -0
  7. package/dist/components/index.d.ts +1 -0
  8. package/dist/components/loader/Loader.d.ts +0 -1
  9. package/dist/components/page-loader/PageLoader.d.ts +5 -2
  10. package/dist/entry.d.ts +2 -0
  11. package/dist/entry.js +16 -2
  12. package/dist/forms/form/Form.types.d.ts +6 -1
  13. package/dist/forms/form/FormField.d.ts +0 -1
  14. package/dist/forms/form/FormField.types.d.ts +7 -1
  15. package/dist/forms/form-components/FormComponent.types.d.ts +3 -2
  16. package/dist/forms/form-components/FormComponentLoader.d.ts +0 -1
  17. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorDropTile.d.ts +1 -0
  18. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.d.ts +5 -0
  19. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.types.d.ts +11 -0
  20. package/dist/forms/form-components/checkbox-form-component/CheckboxFormComponent.d.ts +0 -1
  21. package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.d.ts +1 -2
  22. package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponent.d.ts +4 -2
  23. package/dist/forms/form-components/dropdown-form-component/DropDownFormComponent.d.ts +1 -2
  24. package/dist/forms/form-components/dropdown-form-component/DropDownFormComponentProps.types.d.ts +3 -1
  25. package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.d.ts +5 -0
  26. package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.types.d.ts +9 -0
  27. package/dist/forms/form-components/index.d.ts +7 -0
  28. package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.d.ts +0 -1
  29. package/dist/forms/form-components/number-input-form-component/NumberInputFormComponent.d.ts +0 -1
  30. package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.d.ts +2 -0
  31. package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.types.d.ts +4 -0
  32. package/dist/forms/form-components/password-form-component/PasswordFormComponent.d.ts +0 -1
  33. package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponent.d.ts +4 -2
  34. package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponentProps.types.d.ts +1 -14
  35. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.d.ts +2 -0
  36. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.types.d.ts +9 -0
  37. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/index.d.ts +2 -0
  38. package/dist/forms/form-components/rich-text-editor-form-component/plugins/index.d.ts +1 -0
  39. package/dist/forms/form-components/text-input-form-component/TextInputFormComponent.d.ts +0 -1
  40. package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.d.ts +2 -0
  41. package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.types.d.ts +4 -0
  42. package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.d.ts +2 -3
  43. package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.types.d.ts +4 -0
  44. package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponent.d.ts +7 -0
  45. package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponentProps.types.d.ts +43 -0
  46. package/dist/forms/hooks/index.d.ts +1 -0
  47. package/dist/forms/hooks/useDisplayDialogInFullscreen.d.ts +1 -0
  48. package/dist/forms/validation-rules/ValidationRule.types.d.ts +1 -1
  49. package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.d.ts +11 -0
  50. package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.types.d.ts +14 -0
  51. package/dist/forms/validation-rules/index.d.ts +3 -2
  52. package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.types.d.ts +0 -1
  53. package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.types.d.ts +0 -1
  54. package/dist/forms/validation-rules/required-value-rule/RequiredValueValidationRule.d.ts +2 -0
  55. package/dist/hooks/useComponent.d.ts +2 -1
  56. package/dist/hooks/useIsPathActive.d.ts +8 -0
  57. package/dist/hooks/useLoadDropdownOptions.d.ts +6 -0
  58. package/dist/localization/LocalizationProvider.d.ts +0 -1
  59. package/dist/providers/backgroundImageProvider.d.ts +11 -0
  60. package/dist/providers/index.d.ts +1 -0
  61. package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.d.ts +3 -0
  62. package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.types.d.ts +50 -0
  63. package/dist/shared-components/Assets/AssetFolderTreeView/index.d.ts +2 -0
  64. package/dist/shared-components/Assets/AssetPanel/AssetPanel.d.ts +2 -0
  65. package/dist/shared-components/Assets/AssetPanel/AssetPanel.types.d.ts +85 -0
  66. package/dist/shared-components/Assets/AssetPanel/index.d.ts +2 -0
  67. package/dist/shared-components/Assets/AssetSelector/AssetSelector.d.ts +5 -0
  68. package/dist/shared-components/Assets/AssetSelector/AssetSelector.types.d.ts +49 -0
  69. package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.d.ts +5 -0
  70. package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.types.d.ts +8 -0
  71. package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.d.ts +5 -0
  72. package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.types.d.ts +6 -0
  73. package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.d.ts +2 -0
  74. package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.types.d.ts +6 -0
  75. package/dist/shared-components/Assets/AssetsLoader/index.d.ts +2 -0
  76. package/dist/shared-components/Assets/hooks/index.d.ts +3 -0
  77. package/dist/shared-components/Assets/hooks/useAssetDataManager.d.ts +26 -0
  78. package/dist/shared-components/Assets/hooks/useAssetFolderManager.d.ts +13 -0
  79. package/dist/shared-components/Assets/hooks/useAssetFolderManager.types.d.ts +54 -0
  80. package/dist/shared-components/Assets/hooks/useAssetLibraryManager.d.ts +10 -0
  81. package/dist/shared-components/Assets/hooks/useAssetLibraryManager.types.d.ts +16 -0
  82. package/dist/shared-components/Assets/hooks/useAssetManager.d.ts +17 -0
  83. package/dist/shared-components/Assets/hooks/useAssetManager.types.d.ts +151 -0
  84. package/dist/shared-components/Assets/hooks/useAssetTilesColumnCount.d.ts +7 -0
  85. package/dist/shared-components/Assets/hooks/useAssetsInfiniteScroll.d.ts +9 -0
  86. package/dist/shared-components/Assets/index.d.ts +1 -0
  87. package/dist/shared-components/Callout/Callout.d.ts +5 -0
  88. package/dist/shared-components/Callout/Callout.types.d.ts +22 -0
  89. package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.d.ts +1 -2
  90. package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.types.d.ts +2 -2
  91. package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.d.ts +0 -1
  92. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.d.ts +0 -1
  93. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ErrorFallbackAlert.d.ts +3 -0
  94. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/DropDownParameterOverview.d.ts +4 -2
  95. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/NumberInputParameterOverview.d.ts +4 -2
  96. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/SingleObjectSelectorParameterOverview.d.ts +4 -2
  97. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/index.d.ts +3 -0
  98. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ConditionOverviewModuleLoader.d.ts +7 -0
  99. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterOverviewComponentLoader.d.ts +0 -1
  100. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterSimpleOverview.d.ts +5 -0
  101. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.d.ts +0 -1
  102. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/index.d.ts +2 -0
  103. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/index.d.ts +4 -4
  104. package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.d.ts +1 -2
  105. package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.types.d.ts +1 -0
  106. package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.d.ts +0 -1
  107. package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.d.ts +1 -2
  108. package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.types.d.ts +1 -0
  109. package/dist/shared-components/ConditionBuilder/Types/Constants.d.ts +1 -0
  110. package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.d.ts +5 -0
  111. package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.types.d.ts +27 -0
  112. package/dist/shared-components/ConfirmationDialog/index.d.ts +2 -0
  113. package/dist/shared-components/StickyHeader/StickyHeader.d.ts +2 -0
  114. package/dist/shared-components/StickyHeader/StickyHeader.types.d.ts +5 -0
  115. package/dist/shared-components/StickyHeader/index.d.ts +2 -0
  116. package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.d.ts +5 -0
  117. package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.types.d.ts +3 -0
  118. package/dist/shared-components/Textarea/TextareaActionButtons/Base/index.d.ts +2 -0
  119. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.d.ts +5 -0
  120. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.types.d.ts +3 -0
  121. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/index.d.ts +2 -0
  122. package/dist/shared-components/Textarea/index.d.ts +2 -0
  123. package/dist/shared-components/index.d.ts +10 -3
  124. package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.d.ts +2 -0
  125. package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.types.d.ts +5 -0
  126. package/dist/template-components/content-with-sidebar-layout-wrapper/index.d.ts +2 -0
  127. package/dist/template-components/dialog/TemplateDialog.d.ts +0 -1
  128. package/dist/template-components/dialog/TemplateDialogContext.d.ts +0 -1
  129. package/dist/template-components/dialog/TemplateDialogContext.types.d.ts +14 -2
  130. package/dist/template-components/index.d.ts +1 -0
  131. package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.d.ts +0 -1
  132. package/dist/template-components/template-loader/TemplateLoader.d.ts +0 -1
  133. package/dist/template-components/template-loader/useTemplateDataLoader.d.ts +1 -1
  134. package/dist/template-properties/TemplateProperties.types.d.ts +1 -0
  135. package/dist/templates/app/App.types.d.ts +10 -3
  136. package/dist/templates/app/AppTemplate.d.ts +2 -3
  137. package/dist/templates/app/application-menu/ApplicationMenu.d.ts +4 -0
  138. package/dist/templates/app/application-menu/ApplicationMenu.types.d.ts +5 -0
  139. package/dist/templates/app/application-menu/application-list/ApplicationList.d.ts +4 -0
  140. package/dist/templates/app/application-menu/application-list/ApplicationList.types.d.ts +31 -0
  141. package/dist/templates/app/application-menu/application-list/ApplicationListGroup.d.ts +4 -0
  142. package/dist/templates/app/application-menu/application-list/ApplicationListItem.d.ts +4 -0
  143. package/dist/templates/app/application-menu/application-list/index.d.ts +1 -0
  144. package/dist/templates/app/application-menu/application-list/utils.d.ts +10 -0
  145. package/dist/templates/app/application-menu/index.d.ts +1 -0
  146. package/dist/templates/app/avatar/Avatar.d.ts +7 -6
  147. package/dist/templates/app/breadcrumbs/BreadcrumbsProvider.d.ts +0 -1
  148. package/dist/templates/app/main/Main.d.ts +1 -3
  149. package/dist/templates/app/siteselector/SiteSelector.d.ts +1 -3
  150. package/dist/templates/app/siteselector/SiteSelector.types.d.ts +27 -0
  151. package/dist/templates/app/status-bar/StatusBar.d.ts +9 -0
  152. package/dist/templates/app/status-bar/index.d.ts +1 -0
  153. package/dist/templates/condition-builder/ConditionBuilderTemplate.d.ts +0 -1
  154. package/dist/templates/dashboard/Dashboard.types.d.ts +4 -0
  155. package/dist/templates/dashboard/DashboardTemplate.d.ts +2 -3
  156. package/dist/templates/edit/EditSectionTemplate.d.ts +2 -0
  157. package/dist/templates/edit/{EditTemplate.types.d.ts → EditSectionTemplate.types.d.ts} +4 -2
  158. package/dist/templates/field-editor/FieldEditorBarItemHeader.d.ts +0 -1
  159. package/dist/templates/field-editor/FieldEditorForm.d.ts +0 -1
  160. package/dist/templates/field-editor/FieldEditorTemplate.d.ts +0 -1
  161. package/dist/templates/index.d.ts +4 -2
  162. package/dist/templates/listing/Listing.types.d.ts +2 -0
  163. package/dist/templates/listing/ListingTemplate.d.ts +1 -2
  164. package/dist/templates/overview/OverviewTemplate.d.ts +0 -1
  165. package/dist/templates/overview/OverviewTemplate.types.d.ts +3 -45
  166. package/dist/templates/settings/context/SettingsContext.d.ts +4 -0
  167. package/dist/templates/settings/context/SettingsContext.types.d.ts +11 -0
  168. package/dist/templates/settings/context/SettingsContextProvider.d.ts +12 -0
  169. package/dist/templates/settings/detail/SettingsBreadcrumbs.d.ts +2 -0
  170. package/dist/templates/settings/detail/SettingsDetails.types.d.ts +24 -0
  171. package/dist/templates/settings/detail/SettingsDetailsTemplate.d.ts +2 -0
  172. package/dist/templates/settings/detail/SettingsNoResultPage.d.ts +2 -0
  173. package/dist/templates/settings/detail/SettingsNoResultPage.types.d.ts +4 -0
  174. package/dist/templates/settings/detail/SettingsSearchTemplate.d.ts +2 -0
  175. package/dist/templates/settings/index.d.ts +3 -0
  176. package/dist/templates/settings/layout/NodeComponent.d.ts +2 -0
  177. package/dist/templates/settings/layout/NodeComponentProps.d.ts +6 -0
  178. package/dist/templates/settings/layout/SettingsLayout.types.d.ts +9 -0
  179. package/dist/templates/settings/layout/SettingsLayoutTemplate.d.ts +2 -0
  180. package/dist/templates/settings/layout/SettingsSearchRowComponent.d.ts +1 -0
  181. package/dist/templates/side-navigation-layout/SideNavigationLayout.d.ts +1 -0
  182. package/dist/templates/side-navigation-layout/SideNavigationLayoutContext.d.ts +7 -0
  183. package/dist/templates/side-navigation-layout/SideNavigationLayoutTemplate.d.ts +0 -1
  184. package/dist/templates/side-navigation-layout/index.d.ts +3 -0
  185. package/dist/templates/side-navigation-layout/vertical-menu/NavLinkItem.d.ts +6 -0
  186. package/dist/templates/side-navigation-layout/vertical-menu/VerticalMenu.d.ts +0 -1
  187. package/dist/templates/view-menu-navigation-layout/ViewMenuNavigationLayoutTemplate.d.ts +1 -0
  188. package/dist/utils/basePathUtils.d.ts +6 -2
  189. package/dist/utils/constants.d.ts +3 -0
  190. package/dist/utils/index.d.ts +0 -1
  191. package/dist/utils/loadModule.d.ts +2 -3
  192. package/package.json +41 -35
  193. package/dist/8ce68503cd833f15dce1.png +0 -0
  194. package/dist/forms/validation-rules/required-value-rule/RequiredStringValueValidationRule.Types.d.ts +0 -4
  195. package/dist/forms/validation-rules/required-value-rule/RequiredStringValueValidationRule.d.ts +0 -3
  196. package/dist/shared-components/AssetsFoldersTreeView/AssetsFoldersTreeView.d.ts +0 -3
  197. package/dist/shared-components/AssetsFoldersTreeView/AssetsFoldersTreeView.types.d.ts +0 -17
  198. package/dist/shared-components/AssetsFoldersTreeView/index.d.ts +0 -2
  199. package/dist/shared-components/AssetsPanel/AssetsPanel.d.ts +0 -3
  200. package/dist/shared-components/AssetsPanel/AssetsPanel.types.d.ts +0 -39
  201. package/dist/shared-components/AssetsPanel/index.d.ts +0 -2
  202. package/dist/shared-components/AssetsSelector/AssetsSelector.d.ts +0 -3
  203. package/dist/shared-components/AssetsSelector/AssetsSelector.types.d.ts +0 -35
  204. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/TextInputFormParameterOverview.d.ts +0 -3
  205. package/dist/shared-components/callout/Callout.d.ts +0 -3
  206. package/dist/shared-components/callout/Callout.types.d.ts +0 -9
  207. package/dist/templates/app/header/Header.d.ts +0 -5
  208. package/dist/templates/app/header/index.d.ts +0 -1
  209. package/dist/templates/app/sidebar/Sidebar.d.ts +0 -7
  210. package/dist/templates/app/sidebar/index.d.ts +0 -1
  211. package/dist/templates/dashboard/tile/Tile.d.ts +0 -3
  212. package/dist/templates/dashboard/tile-category/TileCategory.d.ts +0 -3
  213. package/dist/templates/edit/EditTemplate.d.ts +0 -3
  214. package/dist/utils/convertTagGradient.d.ts +0 -3
@@ -0,0 +1,2 @@
1
+ import { StickyHeaderProps } from './StickyHeader.types';
2
+ export declare const StickyHeader: (props: StickyHeaderProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface StickyHeaderProps {
3
+ readonly renderHeadline?: () => React.ReactNode;
4
+ readonly renderContent: () => React.ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { StickyHeader } from './StickyHeader';
2
+ export type { StickyHeaderProps } from './StickyHeader.types';
@@ -0,0 +1,5 @@
1
+ import { TextareaActionButtonProps } from './TextareaActionButton.types';
2
+ export declare const TextareaActionButton: {
3
+ ({ ...props }: TextareaActionButtonProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ import { ButtonProps } from '@kentico/xperience-admin-components';
2
+ export interface TextareaActionButtonProps extends Omit<ButtonProps, 'size' | 'color'> {
3
+ }
@@ -0,0 +1,2 @@
1
+ export { TextareaActionButton } from './TextareaActionButton';
2
+ export type { TextareaActionButtonProps } from './TextareaActionButton.types';
@@ -0,0 +1,5 @@
1
+ import { TextareaCopyButtonProps } from './TextareaCopyButton.types';
2
+ export declare const TextareaCopyButton: {
3
+ ({ textToCopy, }: TextareaCopyButtonProps): JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ export interface TextareaCopyButtonProps {
2
+ readonly textToCopy?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { TextareaCopyButton } from './TextareaCopyButton';
2
+ export type { TextareaCopyButtonProps } from './TextareaCopyButton.types';
@@ -0,0 +1,2 @@
1
+ export * from './TextareaActionButtons/Base';
2
+ export * from './TextareaActionButtons/CopyButton';
@@ -1,5 +1,12 @@
1
- export * from './callout/Callout';
2
- export * from './callout/Callout.types';
3
- export * from './AssetsPanel';
1
+ export * from './Callout/Callout';
2
+ export * from './Callout/Callout.types';
3
+ export * from './Assets/AssetPanel';
4
+ export * from './Assets/AssetFolderTreeView';
5
+ export * from './Assets/AssetsLoader';
6
+ export * from './Assets';
4
7
  export * from './AppLinkButton';
5
8
  export * from './ConditionBuilder/ConditionBuilderOverview';
9
+ export * from './Textarea';
10
+ export * from './Assets/hooks';
11
+ export * from './Assets/AssetTileHidden/AssetTileHidden';
12
+ export * from './ConfirmationDialog';
@@ -0,0 +1,2 @@
1
+ import { ContentWithSidebarLayoutWrapperProps } from './ContentWithSidebarLayoutWrapper.types';
2
+ export declare const ContentWithSidebarLayoutWrapper: (props: ContentWithSidebarLayoutWrapperProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export interface ContentWithSidebarLayoutWrapperProps {
3
+ readonly children: React.ReactNode;
4
+ readonly sidebarContent?: React.ReactNode;
5
+ }
@@ -0,0 +1,2 @@
1
+ export { ContentWithSidebarLayoutWrapper } from './ContentWithSidebarLayoutWrapper';
2
+ export type { ContentWithSidebarLayoutWrapperProps } from './ContentWithSidebarLayoutWrapper.types';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TemplateDialogProps } from './TemplateDialog.types';
3
2
  export declare const TemplateDialog: (props: TemplateDialogProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TemplateDialogContextProps, TemplateDialogProviderProps } from './TemplateDialogContext.types';
3
2
  export declare const useTemplateDialog: () => TemplateDialogContextProps;
4
3
  export declare const TemplateDialogProvider: ({ children }: TemplateDialogProviderProps) => JSX.Element;
@@ -14,8 +14,18 @@ export interface TemplateDialogContextProps {
14
14
  readonly isInDialog: boolean;
15
15
  readonly title: string;
16
16
  readonly setTitle: (title: string) => void;
17
- readonly minWidth?: string;
18
- readonly setMinWidth: (width: 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;
19
29
  readonly dialogHandlers: DialogHandlers;
20
30
  readonly setDialogHandlers: (dialogHandlers: DialogHandlers) => void;
21
31
  readonly messages: NotificationMessage[];
@@ -23,6 +33,8 @@ export interface TemplateDialogContextProps {
23
33
  readonly removeDialogMessage: (id: string | number) => void;
24
34
  readonly canProcessMessageType: (messageVariant: NotificationMessageType) => boolean;
25
35
  readonly closeDialog: () => void;
36
+ readonly isFullscreen: boolean;
37
+ readonly setIsFullscreen: (isFullscreen: boolean) => void;
26
38
  }
27
39
  /**
28
40
  * Represents properties for Dialog provider component.
@@ -2,3 +2,4 @@ export * from './routing-content-placeholder/RoutingContentPlaceholder';
2
2
  export * from './template-loader/TemplateLoader';
3
3
  export * from './dialog/TemplateDialog';
4
4
  export * from './dialog/TemplateDialogContext';
5
+ export * from './content-with-sidebar-layout-wrapper';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RoutingContentPlaceholderProps } from './RoutingContentPlaceholder.types';
3
2
  declare const RoutingContentPlaceholder: ({ children }: RoutingContentPlaceholderProps) => JSX.Element;
4
3
  export { RoutingContentPlaceholder };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface TemplateLoaderProps {
3
2
  readonly templateName: string;
4
3
  }
@@ -2,7 +2,7 @@ import { TemplateProperties } from '../../template-properties';
2
2
  /**
3
3
  * Loads the template data based on location.
4
4
  */
5
- export declare const useTemplateDataLoader: (endpoint: string) => {
5
+ export declare const useTemplateDataLoader: (endpoint: string, preventRefetch: boolean) => {
6
6
  isComplete: boolean;
7
7
  isError: boolean;
8
8
  data: TemplateProperties | undefined;
@@ -26,4 +26,5 @@ export interface TemplateProperties {
26
26
  defaultRoute?: Route;
27
27
  breadcrumbs: Breadcrumbs;
28
28
  navigation: NavigationItem[];
29
+ preventRefetch: boolean;
29
30
  }
@@ -1,4 +1,6 @@
1
1
  import { IconName } from '@kentico/xperience-admin-components';
2
+ import { TemplateProperties } from '../../template-properties';
3
+ import { SiteSelectorProps } from './siteselector/SiteSelector.types';
2
4
  export interface Application {
3
5
  readonly name: string;
4
6
  readonly icon: IconName;
@@ -8,10 +10,15 @@ export interface ApplicationCategory {
8
10
  readonly name: string;
9
11
  readonly icon: IconName;
10
12
  readonly applications: Application[];
11
- readonly path: string;
12
13
  readonly codeName: string;
13
14
  }
14
- export interface ApplicationCategories {
15
+ export interface UserProfile {
16
+ readonly userName: string;
17
+ readonly firstName: string;
18
+ readonly lastName: string;
19
+ }
20
+ export interface AppTemplateProps extends TemplateProperties {
15
21
  readonly categories: ApplicationCategory[];
16
- readonly siteName: string;
22
+ readonly siteSelectorProperties: SiteSelectorProps;
23
+ readonly userProfile: UserProfile;
17
24
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
- import { ApplicationCategories } from './App.types';
3
- declare const AppTemplate: ({ categories, siteName }: ApplicationCategories) => JSX.Element;
1
+ import { AppTemplateProps } from './App.types';
2
+ declare const AppTemplate: ({ categories }: AppTemplateProps) => JSX.Element;
4
3
  export { AppTemplate };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ApplicationMenuProps } from './ApplicationMenu.types';
3
+ declare const ApplicationMenu: React.ForwardRefExoticComponent<ApplicationMenuProps & React.RefAttributes<HTMLDivElement>>;
4
+ export { ApplicationMenu };
@@ -0,0 +1,5 @@
1
+ import { UITestProps } from '@kentico/xperience-admin-components';
2
+ import { ApplicationCategory } from '../App.types';
3
+ export interface ApplicationMenuProps extends UITestProps {
4
+ readonly categories: ApplicationCategory[];
5
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ApplicationListProps } from './ApplicationList.types';
3
+ declare const ApplicationList: React.ForwardRefExoticComponent<ApplicationListProps & React.RefAttributes<HTMLDivElement>>;
4
+ export { ApplicationList };
@@ -0,0 +1,31 @@
1
+ import { RefObject } from 'react';
2
+ import { UITestProps } from '@kentico/xperience-admin-components';
3
+ import { Application, ApplicationCategory } from '../../App.types';
4
+ export declare enum ApplicationListView {
5
+ List = "list",
6
+ Tiles = "tiles"
7
+ }
8
+ export interface ApplicationListProps {
9
+ readonly categories: ApplicationCategory[];
10
+ readonly selectedCategory?: ApplicationCategory;
11
+ readonly applicationPath: string;
12
+ readonly handleClick: (selectedCategory: ApplicationCategory) => void;
13
+ readonly overlayRef: RefObject<HTMLDivElement>;
14
+ readonly className?: string;
15
+ }
16
+ export interface ApplicationListGroupProps {
17
+ readonly category?: ApplicationCategory;
18
+ readonly applicationPath: string;
19
+ readonly view: ApplicationListView;
20
+ readonly handleClick: (category: ApplicationCategory) => void;
21
+ readonly renderToggleButtons?: () => React.ReactNode;
22
+ }
23
+ export declare enum ApplicationListItemState {
24
+ Default = "Default",
25
+ Activated = "Activated"
26
+ }
27
+ export interface ApplicationListItemProps extends UITestProps {
28
+ readonly state: ApplicationListItemState;
29
+ readonly application: Application;
30
+ readonly handleClick: () => void;
31
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ApplicationListGroupProps } from './ApplicationList.types';
3
+ declare const ApplicationListGroup: React.ForwardRefExoticComponent<ApplicationListGroupProps & React.RefAttributes<HTMLDivElement>>;
4
+ export { ApplicationListGroup };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ApplicationListItemProps } from './ApplicationList.types';
3
+ declare const ApplicationListItem: React.ForwardRefExoticComponent<ApplicationListItemProps & React.RefAttributes<HTMLLIElement>>;
4
+ export { ApplicationListItem };
@@ -0,0 +1 @@
1
+ export { ApplicationList } from './ApplicationList';
@@ -0,0 +1,10 @@
1
+ import { ApplicationCategory } from '../../App.types';
2
+ /**
3
+ * Filters applications in list of categories. Applications are sorted according to best matching result.
4
+ * If no application of category match query, whole category is omitted.
5
+ *
6
+ * @param categories List of categories with applications to filter.
7
+ * @param filter Filter string to match.
8
+ * @returns FilteredCategories Categories with matched applications.
9
+ */
10
+ export declare const filterCategories: (categories: ApplicationCategory[], filter: string) => ApplicationCategory[];
@@ -0,0 +1 @@
1
+ export { ApplicationMenu } from './ApplicationMenu';
@@ -1,8 +1,9 @@
1
- import React from 'react';
2
- declare type AvatarBaseProps = Pick<React.HTMLAttributes<HTMLDivElement>, 'onClick'>;
3
- interface AvatarProps extends AvatarBaseProps {
4
- image?: string;
5
- name?: string;
1
+ import { UserProfile } from '../App.types';
2
+ interface AvatarProps {
3
+ readonly userProfile: UserProfile;
6
4
  }
7
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
5
+ declare const Avatar: {
6
+ ({ userProfile }: AvatarProps): JSX.Element;
7
+ displayName: string;
8
+ };
8
9
  export { Avatar };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { BreadcrumbsProviderProps } from './Breadcrumbs.types';
3
2
  export declare const BreadcrumbsProvider: ({ children }: BreadcrumbsProviderProps) => JSX.Element;
@@ -1,8 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { ApplicationCategory } from '../App.types';
3
2
  interface MainProps {
4
3
  readonly categories: ApplicationCategory[];
5
- readonly siteName: string;
6
4
  }
7
- declare const Main: ({ categories, siteName }: MainProps) => JSX.Element;
5
+ declare const Main: ({ categories }: MainProps) => JSX.Element;
8
6
  export { Main };
@@ -1,6 +1,4 @@
1
1
  import React from 'react';
2
- interface SiteSelectorProps {
3
- siteName: string;
4
- }
2
+ import { SiteSelectorProps } from './SiteSelector.types';
5
3
  declare const SiteSelector: React.FC<SiteSelectorProps>;
6
4
  export { SiteSelector };
@@ -0,0 +1,27 @@
1
+ import { DropdownActionMenuProps, IconName } from '@kentico/xperience-admin-components';
2
+ import React from 'react';
3
+ export interface SiteSelectorProps {
4
+ sites: SiteSelectorItemModel[];
5
+ currentSiteName: string;
6
+ sitesApplication: ApplicationNavigationModel;
7
+ }
8
+ export interface SiteSelectorItemModel {
9
+ name: string;
10
+ url: string;
11
+ }
12
+ export interface ApplicationNavigationModel {
13
+ name: string;
14
+ path: string;
15
+ }
16
+ export interface SelectType {
17
+ readonly id: string;
18
+ readonly title: string;
19
+ readonly defaultLabel: string;
20
+ readonly noItemLabel: string;
21
+ readonly icon?: IconName;
22
+ readonly options: SiteSelectorItemModel[];
23
+ readonly footer: ApplicationNavigationModel;
24
+ }
25
+ export interface DropdownControlledType extends Omit<DropdownActionMenuProps, 'children'> {
26
+ renderMenu: (setOpen: (open: boolean) => void) => React.ReactNode;
27
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * StatusBar is upper part of application shell. It contains main navigation,
3
+ * like breadcrumbs, selects, avatar and application specific buttons.
4
+ */
5
+ declare const StatusBar: {
6
+ (): JSX.Element;
7
+ displayName: string;
8
+ };
9
+ export { StatusBar };
@@ -0,0 +1 @@
1
+ export { StatusBar } from './StatusBar';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ConditionBuilderTemplateProps } from './ConditionBuilderTemplate.types';
3
2
  export declare const ConditionBuilderTemplate: ({ backLink, errorMessage, caption, submitLabel, initialConfiguration, availableMacroRuleConfigurations, availableMacroRules }: ConditionBuilderTemplateProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Application } from '../app/App.types';
2
+ export interface DashboardProps {
3
+ readonly applications: Application[];
4
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- import { ApplicationCategories } from '../app/App.types';
3
- export declare const DashboardTemplate: ({ categories }: ApplicationCategories) => JSX.Element;
1
+ import { DashboardProps } from './Dashboard.types';
2
+ export declare const DashboardTemplate: ({ applications }: DashboardProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { EditSectionTemplateProps } from './EditSectionTemplate.types';
2
+ export declare const EditSectionTemplate: ({ components, submitLabel, errorMessage, readOnly, headline, backLink, ...props }: EditSectionTemplateProps) => JSX.Element;
@@ -1,11 +1,13 @@
1
1
  import { FormComponentProps } from '../../forms/form-components/FormComponent.types';
2
- export interface EditTemplateProps {
2
+ import { CalloutConfiguration } from '../../shared-components';
3
+ export interface EditSectionTemplateProps {
3
4
  readonly backLink?: string;
4
5
  readonly readOnly: boolean;
5
6
  readonly submitLabel: string;
6
7
  readonly components: FormComponentProps[];
7
- readonly caption: string;
8
+ readonly headline: string;
8
9
  readonly errorMessage?: string;
10
+ readonly callouts: CalloutConfiguration[];
9
11
  }
10
12
  export interface FormChangeResult {
11
13
  readonly components: FormComponentProps[];
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { FieldEditorBarItemHeaderProps } from './FieldEditorBarItemHeader.types';
3
2
  export declare const FieldEditorBarItemHeader: ({ fieldData }: FieldEditorBarItemHeaderProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldEditorFormProps } from './FieldEditorForm.types';
3
2
  /**
4
3
  * Form used in Field Editor for each displayed field.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldEditorTemplateProps } from './FieldEditorTemplate.types';
3
2
  export declare const FieldEditorCommands: {
4
3
  CreateField: string;
@@ -1,10 +1,12 @@
1
1
  export * from './app/AppTemplate';
2
2
  export * from './dashboard/DashboardTemplate';
3
- export * from './edit/EditTemplate';
3
+ export * from './edit/EditSectionTemplate';
4
4
  export * from './condition-builder/ConditionBuilderTemplate';
5
5
  export * from './overview/OverviewTemplate';
6
6
  export * from './listing/ListingTemplate';
7
- export * from './side-navigation-layout/SideNavigationLayoutTemplate';
7
+ export * from './side-navigation-layout';
8
8
  export * from './field-editor/FieldEditorTemplate';
9
9
  export * from './app/breadcrumbs/BreadcrumbsProvider';
10
10
  export * from './app/breadcrumbs';
11
+ export * from './view-menu-navigation-layout/ViewMenuNavigationLayoutTemplate';
12
+ export * from './settings';
@@ -1,4 +1,5 @@
1
1
  import { TableColumn, TableRow, SortType } from '@kentico/xperience-admin-components';
2
+ import { CalloutConfiguration } from '../../shared-components';
2
3
  import { Action } from '../../types';
3
4
  export interface ListingProps {
4
5
  readonly columns: TableColumn[];
@@ -9,6 +10,7 @@ export interface ListingProps {
9
10
  readonly sortBy: string;
10
11
  readonly sortType: SortType;
11
12
  readonly pageSizesLabel: string;
13
+ readonly callout?: CalloutConfiguration;
12
14
  }
13
15
  export interface ListingRow extends TableRow {
14
16
  readonly action: Action;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ListingProps } from './Listing.types';
3
- export declare const ListingTemplate: ({ headerActions, columns, caption, ...props }: ListingProps) => JSX.Element;
2
+ export declare const ListingTemplate: ({ headerActions, columns, caption, callout, ...props }: ListingProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { OverviewTemplateProps } from './OverviewTemplate.types';
3
2
  export declare const OverviewTemplate: ({ errorMessage }: OverviewTemplateProps) => JSX.Element;
@@ -1,4 +1,5 @@
1
- import { CalloutType, CalloutPlacementType, IconName } from '@kentico/xperience-admin-components';
1
+ import { Gradients, IconName } from '@kentico/xperience-admin-components';
2
+ import { CalloutConfiguration } from '../../shared-components/Callout/Callout.types';
2
3
  import { ConditionBuilderProps } from '../../shared-components/ConditionBuilder/ConditionBuilder';
3
4
  export interface OverviewTemplateProps {
4
5
  readonly errorMessage?: string;
@@ -7,23 +8,6 @@ export interface LoadOverviewDataResult {
7
8
  callouts: CalloutConfiguration[];
8
9
  cardGroups: CardGroupConfiguration[];
9
10
  }
10
- export interface CalloutConfiguration {
11
- readonly headline: string;
12
- readonly content: string;
13
- readonly actionButton?: CalloutButtonConfiguration;
14
- readonly type: CalloutType;
15
- readonly placement: CalloutPlacementType;
16
- }
17
- export interface CalloutButtonConfiguration {
18
- readonly text: string;
19
- readonly clickCommandName: string;
20
- readonly statusCommandName?: string;
21
- disabled: boolean;
22
- inProgress: boolean;
23
- }
24
- export interface CalloutButtonStatusCommandResponse {
25
- readonly inProgress: boolean;
26
- }
27
11
  export interface CardGroupConfiguration {
28
12
  readonly cards: CardConfiguration[];
29
13
  }
@@ -40,32 +24,6 @@ export interface CardActionConfiguration {
40
24
  readonly clickCommandName: string;
41
25
  }
42
26
  export interface CardTagConfiguration {
43
- readonly gradient: TagGradient;
27
+ readonly gradient: keyof typeof Gradients;
44
28
  readonly label: string;
45
29
  }
46
- export declare enum TagGradient {
47
- CoolGrayDark = "coolGrayDark",
48
- GrayDark = "grayDark",
49
- KenticoOrangeDark = "kenticoOrangeDark",
50
- RedDark = "redDark",
51
- YellowDark = "yellowDark",
52
- NavyBlueDark = "navyBlueDark",
53
- NeonGreenDark = "neonGreenDark",
54
- PersianGreenDark = "persianGreenDark",
55
- SkyBlueDark = "skyBlueDark",
56
- XperienceBlueDark = "xperienceBlueDark",
57
- PurpleDark = "purpleDark",
58
- RoseDark = "roseDark",
59
- CoolGrayLight = "coolGrayLight",
60
- GrayLight = "grayLight",
61
- KenticoOrangeLight = "kenticoOrangeLight",
62
- RedLight = "redLight",
63
- YellowLight = "yellowLight",
64
- NavyBlueLight = "navyBlueLight",
65
- NeonGreenLight = "neonGreenLight",
66
- PersianGreenLight = "persianGreenLight",
67
- SkyBlueLight = "skyBlueLight",
68
- XperienceBlueLight = "xperienceBlueLight",
69
- PurpleLight = "purpleLight",
70
- RoseLight = "roseLight"
71
- }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SettingsContextType } from './SettingsContext.types';
3
+ export declare const SettingsContext: React.Context<SettingsContextType>;
4
+ export declare function useSettingsContext(): SettingsContextType;
@@ -0,0 +1,11 @@
1
+ export declare type CategoryNamesDictionary = {
2
+ [key: number]: string;
3
+ };
4
+ export interface SettingsContextType {
5
+ invokeOnSubmitHandler: () => Promise<void>;
6
+ registerOnSubmitHandler: (handler: () => Promise<void>) => void;
7
+ registerClearSearchHandler: (handler: () => void) => void;
8
+ searchFilter: string;
9
+ setSearchFilter: (value: string) => void;
10
+ settingsCategoryNames: CategoryNamesDictionary;
11
+ }
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface SettingContextProps {
3
+ readonly categories: {
4
+ [key: number]: string;
5
+ };
6
+ readonly children: React.ReactNode;
7
+ }
8
+ export declare const SettingsContextProvider: {
9
+ ({ children, categories }: SettingContextProps): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Category } from './SettingsDetails.types';
2
+ export declare const SettingsBreadcrumbs: ({ categoryId, categoryIdPath, displayName }: Category) => JSX.Element;
@@ -0,0 +1,24 @@
1
+ import { FormComponentProps } from '../../../forms/form-components';
2
+ export interface SettingsDetailsTemplateProps {
3
+ readonly title: string;
4
+ readonly categories: Category[];
5
+ }
6
+ export interface SettingsNoResultPageProps {
7
+ readonly filter: string;
8
+ readonly clearSearchHandler: () => void;
9
+ }
10
+ export interface Category {
11
+ readonly categoryId: number;
12
+ readonly categoryParentId: number;
13
+ readonly categoryIdPath: string;
14
+ readonly displayName: string;
15
+ readonly components: FormComponentProps[];
16
+ }
17
+ export interface SaveKeysArguments {
18
+ readonly keyValues: Record<string, any>;
19
+ readonly filter: string;
20
+ }
21
+ export interface SaveKeysResult {
22
+ readonly isValid: boolean;
23
+ readonly categories: Category[];
24
+ }
@@ -0,0 +1,2 @@
1
+ import { SettingsDetailsTemplateProps } from './SettingsDetails.types';
2
+ export declare const SettingsDetailsTemplate: (props: SettingsDetailsTemplateProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SettingsNoResultPageProps } from './SettingsNoResultPage.types';
2
+ export declare const SettingsNoResultPage: ({ filter, clearSearchHandler }: SettingsNoResultPageProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface SettingsNoResultPageProps {
2
+ readonly filter: string;
3
+ readonly clearSearchHandler: () => void;
4
+ }
@@ -0,0 +1,2 @@
1
+ import { SettingsDetailsTemplateProps } from './SettingsDetails.types';
2
+ export declare const SettingsSearchTemplate: (props: SettingsDetailsTemplateProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export { SettingsLayoutTemplate } from './layout/SettingsLayoutTemplate';
2
+ export { SettingsDetailsTemplate } from './detail/SettingsDetailsTemplate';
3
+ export { SettingsSearchTemplate } from './detail/SettingsSearchTemplate';
@@ -0,0 +1,2 @@
1
+ import { NodeComponentProps } from './NodeComponentProps';
2
+ export declare const NodeComponent: ({ name, id, children, level, onNodeToggle, expandedIds }: NodeComponentProps) => JSX.Element;