@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.
Files changed (276) hide show
  1. package/dist/entry.d.ts +177 -14
  2. package/dist/entry.js +16 -10
  3. package/package.json +60 -52
  4. package/dist/commands/CommandContext.d.ts +0 -27
  5. package/dist/commands/CommandProvider.d.ts +0 -12
  6. package/dist/commands/index.d.ts +0 -3
  7. package/dist/commands/useCommand.types.d.ts +0 -36
  8. package/dist/commands/useCommandInvoker.d.ts +0 -11
  9. package/dist/commands/usePageCommand.d.ts +0 -11
  10. package/dist/components/ActionList/ActionList.d.ts +0 -2
  11. package/dist/components/ActionList/ActionList.types.d.ts +0 -5
  12. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +0 -15
  13. package/dist/components/ErrorBoundary/ErrorBoundary.types.d.ts +0 -32
  14. package/dist/components/ViewMenuItem/ViewMenuItem.d.ts +0 -5
  15. package/dist/components/ViewMenuItem/ViewMenuItem.types.d.ts +0 -11
  16. package/dist/components/index.d.ts +0 -6
  17. package/dist/components/loader/Loader.d.ts +0 -1
  18. package/dist/components/page-loader/PageLoader.d.ts +0 -5
  19. package/dist/components/page-message-pane/PageMessagePane.d.ts +0 -7
  20. package/dist/components/portal/Portal.d.ts +0 -8
  21. package/dist/forms/form/Form.d.ts +0 -3
  22. package/dist/forms/form/Form.types.d.ts +0 -93
  23. package/dist/forms/form/FormField.d.ts +0 -2
  24. package/dist/forms/form/FormField.types.d.ts +0 -12
  25. package/dist/forms/form/index.d.ts +0 -2
  26. package/dist/forms/form-components/FormComponent.types.d.ts +0 -23
  27. package/dist/forms/form-components/FormComponentLoader.d.ts +0 -2
  28. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorDropTile.d.ts +0 -1
  29. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.d.ts +0 -5
  30. package/dist/forms/form-components/asset-selector-form-component/AssetSelectorFormComponent.types.d.ts +0 -11
  31. package/dist/forms/form-components/checkbox-form-component/CheckboxFormComponent.d.ts +0 -2
  32. package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.d.ts +0 -2
  33. package/dist/forms/form-components/condition-builder-form-component/ConditionBuilderFormComponent.types.d.ts +0 -18
  34. package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponent.d.ts +0 -5
  35. package/dist/forms/form-components/condition-builder-form-component/single-object-selector-form-component/SingleObjectSelectorFormComponentProps.types.d.ts +0 -16
  36. package/dist/forms/form-components/dropdown-form-component/DropDownFormComponent.d.ts +0 -2
  37. package/dist/forms/form-components/dropdown-form-component/DropDownFormComponentProps.types.d.ts +0 -11
  38. package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.d.ts +0 -5
  39. package/dist/forms/form-components/extension-selector-form-component/ExtensionSelectorFormComponent.types.d.ts +0 -9
  40. package/dist/forms/form-components/formComponentUtils.d.ts +0 -5
  41. package/dist/forms/form-components/index.d.ts +0 -20
  42. package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.d.ts +0 -2
  43. package/dist/forms/form-components/namespace-code-name-form-component/NamespaceCodeNameFormComponent.types.d.ts +0 -3
  44. package/dist/forms/form-components/number-input-form-component/NumberInputFormComponent.d.ts +0 -2
  45. package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.d.ts +0 -2
  46. package/dist/forms/form-components/page-selector-form-component/PageSelectorFormComponent.types.d.ts +0 -4
  47. package/dist/forms/form-components/password-form-component/PasswordFormComponent.d.ts +0 -2
  48. package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponent.d.ts +0 -5
  49. package/dist/forms/form-components/rich-text-editor-form-component/RichTextEditorFormComponentProps.types.d.ts +0 -6
  50. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.d.ts +0 -2
  51. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/AssetRichTextEditorPlugin.types.d.ts +0 -9
  52. package/dist/forms/form-components/rich-text-editor-form-component/plugins/asset/index.d.ts +0 -2
  53. package/dist/forms/form-components/rich-text-editor-form-component/plugins/index.d.ts +0 -1
  54. package/dist/forms/form-components/text-input-form-component/TextInputFormComponent.d.ts +0 -2
  55. package/dist/forms/form-components/text-input-form-component/TextInputFormComponentProps.types.d.ts +0 -4
  56. package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.d.ts +0 -2
  57. package/dist/forms/form-components/text-with-label-form-component/TextWithLabelFormComponent.types.d.ts +0 -4
  58. package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.d.ts +0 -2
  59. package/dist/forms/form-components/textarea-form-component/TextAreaFormComponent.types.d.ts +0 -4
  60. package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponent.d.ts +0 -7
  61. package/dist/forms/form-components/validation-rule-list-form-component/ValidationRuleListFormComponentProps.types.d.ts +0 -43
  62. package/dist/forms/hooks/FormComponentCommand.types.d.ts +0 -7
  63. package/dist/forms/hooks/FormComponentCommandUtils.d.ts +0 -4
  64. package/dist/forms/hooks/index.d.ts +0 -4
  65. package/dist/forms/hooks/useDisplayDialogInFullscreen.d.ts +0 -1
  66. package/dist/forms/hooks/useFormComponentCommand.d.ts +0 -4
  67. package/dist/forms/hooks/useFormComponentCommandProvider.d.ts +0 -4
  68. package/dist/forms/hooks/useValidationRule.d.ts +0 -2
  69. package/dist/forms/index.d.ts +0 -4
  70. package/dist/forms/validation-rules/ValidationRule.types.d.ts +0 -12
  71. package/dist/forms/validation-rules/ValidationRuleLoader.d.ts +0 -2
  72. package/dist/forms/validation-rules/ValidationRuleLoader.types.d.ts +0 -7
  73. package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.d.ts +0 -11
  74. package/dist/forms/validation-rules/asset-selector-rule/AssetSelectorValidationRule.types.d.ts +0 -14
  75. package/dist/forms/validation-rules/index.d.ts +0 -9
  76. package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.d.ts +0 -3
  77. package/dist/forms/validation-rules/max-length-rule/MaxLengthValidationRule.types.d.ts +0 -4
  78. package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.d.ts +0 -3
  79. package/dist/forms/validation-rules/min-length-rule/MinLengthValidationRule.types.d.ts +0 -4
  80. package/dist/forms/validation-rules/required-value-rule/RequiredValueValidationRule.d.ts +0 -2
  81. package/dist/forms/validation-rules/server-rule/ServerValidationRule.d.ts +0 -2
  82. package/dist/hooks/index.d.ts +0 -4
  83. package/dist/hooks/useComponent.d.ts +0 -2
  84. package/dist/hooks/useInterval.d.ts +0 -1
  85. package/dist/hooks/useIsPathActive.d.ts +0 -8
  86. package/dist/hooks/useLoadDropdownOptions.d.ts +0 -6
  87. package/dist/hooks/useNotificationMessage.d.ts +0 -9
  88. package/dist/hooks/usePagePath.d.ts +0 -5
  89. package/dist/localization/Localization.types.d.ts +0 -7
  90. package/dist/localization/LocalizationContext.d.ts +0 -4
  91. package/dist/localization/LocalizationProvider.d.ts +0 -2
  92. package/dist/localization/index.d.ts +0 -4
  93. package/dist/notifications/NotificationsContext.d.ts +0 -5
  94. package/dist/notifications/NotificationsContext.types.d.ts +0 -13
  95. package/dist/notifications/index.d.ts +0 -2
  96. package/dist/providers/backgroundImageProvider.d.ts +0 -11
  97. package/dist/providers/index.d.ts +0 -1
  98. package/dist/shared-components/AppLinkButton/AppLinkButton.d.ts +0 -3
  99. package/dist/shared-components/AppLinkButton/AppLinkButton.types.d.ts +0 -4
  100. package/dist/shared-components/AppLinkButton/index.d.ts +0 -2
  101. package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.d.ts +0 -3
  102. package/dist/shared-components/Assets/AssetFolderTreeView/AssetFolderTreeView.types.d.ts +0 -50
  103. package/dist/shared-components/Assets/AssetFolderTreeView/index.d.ts +0 -2
  104. package/dist/shared-components/Assets/AssetPanel/AssetPanel.d.ts +0 -2
  105. package/dist/shared-components/Assets/AssetPanel/AssetPanel.types.d.ts +0 -85
  106. package/dist/shared-components/Assets/AssetPanel/index.d.ts +0 -2
  107. package/dist/shared-components/Assets/AssetSelector/AssetSelector.d.ts +0 -5
  108. package/dist/shared-components/Assets/AssetSelector/AssetSelector.types.d.ts +0 -49
  109. package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.d.ts +0 -5
  110. package/dist/shared-components/Assets/AssetTileDraggable/AssetTileDraggable.types.d.ts +0 -8
  111. package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.d.ts +0 -5
  112. package/dist/shared-components/Assets/AssetTileHidden/AssetTileHidden.types.d.ts +0 -6
  113. package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.d.ts +0 -2
  114. package/dist/shared-components/Assets/AssetsLoader/AssetsLoader.types.d.ts +0 -6
  115. package/dist/shared-components/Assets/AssetsLoader/index.d.ts +0 -2
  116. package/dist/shared-components/Assets/hooks/index.d.ts +0 -3
  117. package/dist/shared-components/Assets/hooks/useAssetDataManager.d.ts +0 -26
  118. package/dist/shared-components/Assets/hooks/useAssetFolderManager.d.ts +0 -13
  119. package/dist/shared-components/Assets/hooks/useAssetFolderManager.types.d.ts +0 -54
  120. package/dist/shared-components/Assets/hooks/useAssetLibraryManager.d.ts +0 -10
  121. package/dist/shared-components/Assets/hooks/useAssetLibraryManager.types.d.ts +0 -16
  122. package/dist/shared-components/Assets/hooks/useAssetManager.d.ts +0 -17
  123. package/dist/shared-components/Assets/hooks/useAssetManager.types.d.ts +0 -151
  124. package/dist/shared-components/Assets/hooks/useAssetTilesColumnCount.d.ts +0 -7
  125. package/dist/shared-components/Assets/hooks/useAssetsInfiniteScroll.d.ts +0 -9
  126. package/dist/shared-components/Assets/index.d.ts +0 -1
  127. package/dist/shared-components/Callout/Callout.d.ts +0 -5
  128. package/dist/shared-components/Callout/Callout.types.d.ts +0 -22
  129. package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.d.ts +0 -2
  130. package/dist/shared-components/ConditionBuilder/Condition/ConditionBuilderCondition.types.d.ts +0 -33
  131. package/dist/shared-components/ConditionBuilder/Condition/index.d.ts +0 -2
  132. package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.d.ts +0 -2
  133. package/dist/shared-components/ConditionBuilder/ConditionBuilder/ConditionBuilder.types.d.ts +0 -16
  134. package/dist/shared-components/ConditionBuilder/ConditionBuilder/index.d.ts +0 -2
  135. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.d.ts +0 -5
  136. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ConditionBuilderOverview.types.d.ts +0 -4
  137. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/ErrorFallbackAlert.d.ts +0 -3
  138. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/DropDownParameterOverview.d.ts +0 -5
  139. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/NumberInputParameterOverview.d.ts +0 -5
  140. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/SingleObjectSelectorParameterOverview.d.ts +0 -5
  141. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ComponentParameter/index.d.ts +0 -3
  142. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ConditionOverviewModuleLoader.d.ts +0 -7
  143. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterOverviewComponentLoader.d.ts +0 -2
  144. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/ParameterSimpleOverview.d.ts +0 -5
  145. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.d.ts +0 -5
  146. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/ParameterText.types.d.ts +0 -4
  147. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/Parameters/TextualParameter/index.d.ts +0 -2
  148. package/dist/shared-components/ConditionBuilder/ConditionBuilderOverview/index.d.ts +0 -6
  149. package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.d.ts +0 -2
  150. package/dist/shared-components/ConditionBuilder/ConditionGroup/ConditionBuilderConditionGroup.types.d.ts +0 -24
  151. package/dist/shared-components/ConditionBuilder/ConditionGroup/index.d.ts +0 -2
  152. package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.d.ts +0 -5
  153. package/dist/shared-components/ConditionBuilder/ConditionPicker/ConditionBuilderConditionPicker.types.d.ts +0 -9
  154. package/dist/shared-components/ConditionBuilder/ConditionPicker/index.d.ts +0 -2
  155. package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.d.ts +0 -2
  156. package/dist/shared-components/ConditionBuilder/OperatorSelect/OperatorSelect.types.d.ts +0 -7
  157. package/dist/shared-components/ConditionBuilder/OperatorSelect/index.d.ts +0 -2
  158. package/dist/shared-components/ConditionBuilder/Operators.d.ts +0 -4
  159. package/dist/shared-components/ConditionBuilder/Types/Constants.d.ts +0 -1
  160. package/dist/shared-components/ConditionBuilder/utils/convertModel.d.ts +0 -2
  161. package/dist/shared-components/ConditionBuilder/utils/findMacroRule.d.ts +0 -2
  162. package/dist/shared-components/ConditionBuilder/utils/getInitialSelectedParameterValues.d.ts +0 -2
  163. package/dist/shared-components/ConditionBuilder/utils/getOperatorName.d.ts +0 -2
  164. package/dist/shared-components/ConditionBuilder/utils/getOperatorText.d.ts +0 -2
  165. package/dist/shared-components/ConditionBuilder/utils/index.d.ts +0 -8
  166. package/dist/shared-components/ConditionBuilder/utils/isComponentParameter.d.ts +0 -2
  167. package/dist/shared-components/ConditionBuilder/utils/isTextualParameter.d.ts +0 -2
  168. package/dist/shared-components/ConditionBuilder/utils/mapArrayToKeys.d.ts +0 -6
  169. package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -5
  170. package/dist/shared-components/ConfirmationDialog/ConfirmationDialog.types.d.ts +0 -27
  171. package/dist/shared-components/ConfirmationDialog/index.d.ts +0 -2
  172. package/dist/shared-components/OverviewCard/OverviewCard.d.ts +0 -3
  173. package/dist/shared-components/OverviewCard/OverviewCard.types.d.ts +0 -13
  174. package/dist/shared-components/OverviewCard/index.d.ts +0 -2
  175. package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.d.ts +0 -3
  176. package/dist/shared-components/OverviewCardGroup/OverviewCardGroup.types.d.ts +0 -4
  177. package/dist/shared-components/OverviewCardGroup/index.d.ts +0 -2
  178. package/dist/shared-components/StickyHeader/StickyHeader.d.ts +0 -2
  179. package/dist/shared-components/StickyHeader/StickyHeader.types.d.ts +0 -5
  180. package/dist/shared-components/StickyHeader/index.d.ts +0 -2
  181. package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.d.ts +0 -5
  182. package/dist/shared-components/Textarea/TextareaActionButtons/Base/TextareaActionButton.types.d.ts +0 -3
  183. package/dist/shared-components/Textarea/TextareaActionButtons/Base/index.d.ts +0 -2
  184. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.d.ts +0 -5
  185. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/TextareaCopyButton.types.d.ts +0 -3
  186. package/dist/shared-components/Textarea/TextareaActionButtons/CopyButton/index.d.ts +0 -2
  187. package/dist/shared-components/Textarea/index.d.ts +0 -2
  188. package/dist/shared-components/index.d.ts +0 -12
  189. package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.d.ts +0 -2
  190. package/dist/template-components/content-with-sidebar-layout-wrapper/ContentWithSidebarLayoutWrapper.types.d.ts +0 -5
  191. package/dist/template-components/content-with-sidebar-layout-wrapper/index.d.ts +0 -2
  192. package/dist/template-components/dialog/TemplateDialog.d.ts +0 -2
  193. package/dist/template-components/dialog/TemplateDialog.types.d.ts +0 -8
  194. package/dist/template-components/dialog/TemplateDialogContext.d.ts +0 -3
  195. package/dist/template-components/dialog/TemplateDialogContext.types.d.ts +0 -44
  196. package/dist/template-components/index.d.ts +0 -5
  197. package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.d.ts +0 -3
  198. package/dist/template-components/routing-content-placeholder/RoutingContentPlaceholder.types.d.ts +0 -7
  199. package/dist/template-components/template-loader/TemplateLoader.d.ts +0 -5
  200. package/dist/template-components/template-loader/useTemplateDataLoader.d.ts +0 -9
  201. package/dist/template-properties/TemplateProperties.types.d.ts +0 -30
  202. package/dist/template-properties/TemplatePropertiesProvider.d.ts +0 -9
  203. package/dist/template-properties/index.d.ts +0 -2
  204. package/dist/templates/app/App.types.d.ts +0 -24
  205. package/dist/templates/app/AppTemplate.d.ts +0 -3
  206. package/dist/templates/app/application-menu/ApplicationMenu.d.ts +0 -4
  207. package/dist/templates/app/application-menu/ApplicationMenu.types.d.ts +0 -5
  208. package/dist/templates/app/application-menu/application-list/ApplicationList.d.ts +0 -4
  209. package/dist/templates/app/application-menu/application-list/ApplicationList.types.d.ts +0 -31
  210. package/dist/templates/app/application-menu/application-list/ApplicationListGroup.d.ts +0 -4
  211. package/dist/templates/app/application-menu/application-list/ApplicationListItem.d.ts +0 -4
  212. package/dist/templates/app/application-menu/application-list/index.d.ts +0 -1
  213. package/dist/templates/app/application-menu/application-list/utils.d.ts +0 -10
  214. package/dist/templates/app/application-menu/index.d.ts +0 -1
  215. package/dist/templates/app/avatar/Avatar.d.ts +0 -9
  216. package/dist/templates/app/breadcrumbs/Breadcrumbs.d.ts +0 -4
  217. package/dist/templates/app/breadcrumbs/Breadcrumbs.types.d.ts +0 -18
  218. package/dist/templates/app/breadcrumbs/BreadcrumbsContext.d.ts +0 -4
  219. package/dist/templates/app/breadcrumbs/BreadcrumbsProvider.d.ts +0 -2
  220. package/dist/templates/app/breadcrumbs/index.d.ts +0 -2
  221. package/dist/templates/app/main/Main.d.ts +0 -6
  222. package/dist/templates/app/siteselector/SiteSelector.d.ts +0 -4
  223. package/dist/templates/app/siteselector/SiteSelector.types.d.ts +0 -27
  224. package/dist/templates/app/status-bar/StatusBar.d.ts +0 -9
  225. package/dist/templates/app/status-bar/index.d.ts +0 -1
  226. package/dist/templates/condition-builder/ConditionBuilderTemplate.d.ts +0 -2
  227. package/dist/templates/condition-builder/ConditionBuilderTemplate.types.d.ts +0 -7
  228. package/dist/templates/dashboard/Dashboard.types.d.ts +0 -4
  229. package/dist/templates/dashboard/DashboardTemplate.d.ts +0 -2
  230. package/dist/templates/edit/EditSectionTemplate.d.ts +0 -2
  231. package/dist/templates/edit/EditSectionTemplate.types.d.ts +0 -14
  232. package/dist/templates/field-editor/FieldEditorBarItemHeader.d.ts +0 -2
  233. package/dist/templates/field-editor/FieldEditorBarItemHeader.types.d.ts +0 -4
  234. package/dist/templates/field-editor/FieldEditorForm.d.ts +0 -5
  235. package/dist/templates/field-editor/FieldEditorForm.types.d.ts +0 -11
  236. package/dist/templates/field-editor/FieldEditorTemplate.d.ts +0 -14
  237. package/dist/templates/field-editor/FieldEditorTemplate.types.d.ts +0 -83
  238. package/dist/templates/index.d.ts +0 -12
  239. package/dist/templates/listing/Listing.types.d.ts +0 -24
  240. package/dist/templates/listing/ListingTemplate.d.ts +0 -2
  241. package/dist/templates/overview/OverviewTemplate.d.ts +0 -2
  242. package/dist/templates/overview/OverviewTemplate.types.d.ts +0 -29
  243. package/dist/templates/settings/context/SettingsContext.d.ts +0 -4
  244. package/dist/templates/settings/context/SettingsContext.types.d.ts +0 -11
  245. package/dist/templates/settings/context/SettingsContextProvider.d.ts +0 -12
  246. package/dist/templates/settings/detail/SettingsBreadcrumbs.d.ts +0 -2
  247. package/dist/templates/settings/detail/SettingsDetails.types.d.ts +0 -24
  248. package/dist/templates/settings/detail/SettingsDetailsTemplate.d.ts +0 -2
  249. package/dist/templates/settings/detail/SettingsNoResultPage.d.ts +0 -2
  250. package/dist/templates/settings/detail/SettingsNoResultPage.types.d.ts +0 -4
  251. package/dist/templates/settings/detail/SettingsSearchTemplate.d.ts +0 -2
  252. package/dist/templates/settings/index.d.ts +0 -3
  253. package/dist/templates/settings/layout/NodeComponent.d.ts +0 -2
  254. package/dist/templates/settings/layout/NodeComponentProps.d.ts +0 -6
  255. package/dist/templates/settings/layout/SettingsLayout.types.d.ts +0 -9
  256. package/dist/templates/settings/layout/SettingsLayoutTemplate.d.ts +0 -2
  257. package/dist/templates/settings/layout/SettingsSearchRowComponent.d.ts +0 -1
  258. package/dist/templates/side-navigation-layout/SideNavigationLayout.d.ts +0 -1
  259. package/dist/templates/side-navigation-layout/SideNavigationLayoutContext.d.ts +0 -7
  260. package/dist/templates/side-navigation-layout/SideNavigationLayoutTemplate.d.ts +0 -1
  261. package/dist/templates/side-navigation-layout/index.d.ts +0 -3
  262. package/dist/templates/side-navigation-layout/vertical-menu/NavLinkItem.d.ts +0 -6
  263. package/dist/templates/side-navigation-layout/vertical-menu/VerticalMenu.d.ts +0 -7
  264. package/dist/templates/view-menu-navigation-layout/ViewMenuNavigationLayoutTemplate.d.ts +0 -1
  265. package/dist/types/Action.types.d.ts +0 -14
  266. package/dist/types/NotificationMessage.types.d.ts +0 -11
  267. package/dist/types/index.d.ts +0 -4
  268. package/dist/utils/authentication/logonUrlProvider.d.ts +0 -10
  269. package/dist/utils/basePathUtils.d.ts +0 -12
  270. package/dist/utils/constants.d.ts +0 -5
  271. package/dist/utils/index.d.ts +0 -3
  272. package/dist/utils/loadModule.d.ts +0 -9
  273. package/dist/utils/pathUtils/index.d.ts +0 -1
  274. package/dist/utils/pathUtils/pathUtils.d.ts +0 -9
  275. package/dist/utils/postToAdmin.d.ts +0 -21
  276. package/dist/utils/responseStatusActions.d.ts +0 -15
@@ -1,5 +0,0 @@
1
- import { ConditionBuilderConditionPickerProps } from './ConditionBuilderConditionPicker.types';
2
- export declare const ConditionBuilderConditionPicker: {
3
- ({ macroRuleCategories, onClose, onItemSelect, }: ConditionBuilderConditionPickerProps): JSX.Element;
4
- displayName: string;
5
- };
@@ -1,9 +0,0 @@
1
- import { ConditionPickerItem, ConditionPickerProps } from '@kentico/xperience-admin-components';
2
- export interface MacroRuleCategory {
3
- readonly name: string;
4
- readonly label: string;
5
- readonly macroRules: ConditionPickerItem[];
6
- }
7
- export interface ConditionBuilderConditionPickerProps extends Pick<ConditionPickerProps, 'onClose' | 'onItemSelect'> {
8
- readonly macroRuleCategories: MacroRuleCategory[];
9
- }
@@ -1,2 +0,0 @@
1
- export { ConditionBuilderConditionPicker } from './ConditionBuilderConditionPicker';
2
- export type { ConditionBuilderConditionPickerProps, MacroRuleCategory } from './ConditionBuilderConditionPicker.types';
@@ -1,2 +0,0 @@
1
- import { OperatorSelectProps } from './OperatorSelect.types';
2
- export declare const OperatorSelect: ({ value, onChange, onDelete, inConditionGroup }: OperatorSelectProps) => JSX.Element;
@@ -1,7 +0,0 @@
1
- import { Operators } from '../Operators';
2
- export interface OperatorSelectProps {
3
- readonly value?: Operators;
4
- readonly onChange: (value: Operators) => void;
5
- readonly inConditionGroup?: boolean;
6
- readonly onDelete?: () => void;
7
- }
@@ -1,2 +0,0 @@
1
- export { OperatorSelect } from './OperatorSelect';
2
- export type { OperatorSelectProps } from './OperatorSelect.types';
@@ -1,4 +0,0 @@
1
- export declare enum Operators {
2
- All = "All",
3
- Any = "Any"
4
- }
@@ -1 +0,0 @@
1
- export declare const ConditionBuilderParameterFormPrefix = "ConditionParametersForm";
@@ -1,2 +0,0 @@
1
- import { ConditionTree, SelectedConditionTree } from '../ConditionBuilder';
2
- export declare const convertModel: (conditionTree: ConditionTree) => SelectedConditionTree;
@@ -1,2 +0,0 @@
1
- import { MacroRuleConfiguration } from '../Condition/ConditionBuilderCondition.types';
2
- export declare const findMacroRule: (ruleName: string, availableMacroRuleConfigurations: MacroRuleConfiguration[]) => MacroRuleConfiguration;
@@ -1,2 +0,0 @@
1
- import { ConditionValue, MacroRuleConfiguration } from '../Condition';
2
- export declare const getInitialSelectedParameterValues: (macroRule: MacroRuleConfiguration) => ConditionValue;
@@ -1,2 +0,0 @@
1
- import { Operators } from '../Operators';
2
- export declare const getOperatorName: (op: Operators, localization: any) => string;
@@ -1,2 +0,0 @@
1
- import { Operators } from '../Operators';
2
- export declare const getOperatorText: (op: Operators, localization: any) => any;
@@ -1,8 +0,0 @@
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';
@@ -1,2 +0,0 @@
1
- import { ComponentParameter } from '../Condition/ConditionBuilderCondition.types';
2
- export declare const isComponentParameter: (obj: any) => obj is ComponentParameter;
@@ -1,2 +0,0 @@
1
- import { TextualParameter } from '../Condition/ConditionBuilderCondition.types';
2
- export declare const isTextualParameter: (obj: any) => obj is TextualParameter;
@@ -1,6 +0,0 @@
1
- declare type MappedResultObjectType<T> = Record<string, T>;
2
- export declare const mapArrayToKeys: <T extends {}>(conditionsToMap: T[]) => {
3
- mappedResult: MappedResultObjectType<T>;
4
- lastUsedIndex: number;
5
- };
6
- export {};
@@ -1,5 +0,0 @@
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;
@@ -1,27 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- export * from './ConfirmationDialog';
2
- export type { ConfirmationDialogProps } from './ConfirmationDialog.types';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { OverviewCardProps } from './OverviewCard.types';
3
- export declare const OverviewCard: React.ForwardRefExoticComponent<OverviewCardProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,13 +0,0 @@
1
- import { CardProps, IconName, TagProps } from '@kentico/xperience-admin-components';
2
- import { ConditionBuilderProps } from '../../shared-components/ConditionBuilder/ConditionBuilder';
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?: OverviewCardAction;
11
- readonly tags?: TagProps[];
12
- readonly conditionOverview?: ConditionBuilderProps;
13
- }
@@ -1,2 +0,0 @@
1
- export { OverviewCard } from './OverviewCard';
2
- export type { OverviewCardProps } from './OverviewCard.types';
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { OverviewCardGroupProps } from './OverviewCardGroup.types';
3
- export declare const OverviewCardGroup: React.ForwardRefExoticComponent<OverviewCardGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,4 +0,0 @@
1
- import { OverviewCardProps } from '../OverviewCard';
2
- export interface OverviewCardGroupProps {
3
- readonly cards: OverviewCardProps[];
4
- }
@@ -1,2 +0,0 @@
1
- export { OverviewCardGroup } from './OverviewCardGroup';
2
- export type { OverviewCardGroupProps } from './OverviewCardGroup.types';
@@ -1,2 +0,0 @@
1
- import { StickyHeaderProps } from './StickyHeader.types';
2
- export declare const StickyHeader: (props: StickyHeaderProps) => JSX.Element;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export interface StickyHeaderProps {
3
- readonly renderHeadline?: () => React.ReactNode;
4
- readonly renderContent: () => React.ReactNode;
5
- }
@@ -1,2 +0,0 @@
1
- export { StickyHeader } from './StickyHeader';
2
- export type { StickyHeaderProps } from './StickyHeader.types';
@@ -1,5 +0,0 @@
1
- import { TextareaActionButtonProps } from './TextareaActionButton.types';
2
- export declare const TextareaActionButton: {
3
- ({ ...props }: TextareaActionButtonProps): JSX.Element;
4
- displayName: string;
5
- };
@@ -1,3 +0,0 @@
1
- import { ButtonProps } from '@kentico/xperience-admin-components';
2
- export interface TextareaActionButtonProps extends Omit<ButtonProps, 'size' | 'color'> {
3
- }
@@ -1,2 +0,0 @@
1
- export { TextareaActionButton } from './TextareaActionButton';
2
- export type { TextareaActionButtonProps } from './TextareaActionButton.types';
@@ -1,5 +0,0 @@
1
- import { TextareaCopyButtonProps } from './TextareaCopyButton.types';
2
- export declare const TextareaCopyButton: {
3
- ({ textToCopy, }: TextareaCopyButtonProps): JSX.Element;
4
- displayName: string;
5
- };
@@ -1,3 +0,0 @@
1
- export interface TextareaCopyButtonProps {
2
- readonly textToCopy?: string;
3
- }
@@ -1,2 +0,0 @@
1
- export { TextareaCopyButton } from './TextareaCopyButton';
2
- export type { TextareaCopyButtonProps } from './TextareaCopyButton.types';
@@ -1,2 +0,0 @@
1
- export * from './TextareaActionButtons/Base';
2
- export * from './TextareaActionButtons/CopyButton';
@@ -1,12 +0,0 @@
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';
7
- export * from './AppLinkButton';
8
- export * from './ConditionBuilder/ConditionBuilderOverview';
9
- export * from './Textarea';
10
- export * from './Assets/hooks';
11
- export * from './Assets/AssetTileHidden/AssetTileHidden';
12
- export * from './ConfirmationDialog';
@@ -1,2 +0,0 @@
1
- import { ContentWithSidebarLayoutWrapperProps } from './ContentWithSidebarLayoutWrapper.types';
2
- export declare const ContentWithSidebarLayoutWrapper: (props: ContentWithSidebarLayoutWrapperProps) => JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ContentWithSidebarLayoutWrapperProps {
3
- readonly children: React.ReactNode;
4
- readonly sidebarContent?: React.ReactNode;
5
- }
@@ -1,2 +0,0 @@
1
- export { ContentWithSidebarLayoutWrapper } from './ContentWithSidebarLayoutWrapper';
2
- export type { ContentWithSidebarLayoutWrapperProps } from './ContentWithSidebarLayoutWrapper.types';
@@ -1,2 +0,0 @@
1
- import { TemplateDialogProps } from './TemplateDialog.types';
2
- export declare const TemplateDialog: (props: TemplateDialogProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Properties for TemplateDialog component.
4
- */
5
- export interface TemplateDialogProps {
6
- children: React.ReactNode;
7
- parentPageUrl: string;
8
- }
@@ -1,3 +0,0 @@
1
- import { TemplateDialogContextProps, TemplateDialogProviderProps } from './TemplateDialogContext.types';
2
- export declare const useTemplateDialog: () => TemplateDialogContextProps;
3
- export declare const TemplateDialogProvider: ({ children }: TemplateDialogProviderProps) => JSX.Element;
@@ -1,44 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- export * from './routing-content-placeholder/RoutingContentPlaceholder';
2
- export * from './template-loader/TemplateLoader';
3
- export * from './dialog/TemplateDialog';
4
- export * from './dialog/TemplateDialogContext';
5
- export * from './content-with-sidebar-layout-wrapper';
@@ -1,3 +0,0 @@
1
- import { RoutingContentPlaceholderProps } from './RoutingContentPlaceholder.types';
2
- declare const RoutingContentPlaceholder: ({ children }: RoutingContentPlaceholderProps) => JSX.Element;
3
- export { RoutingContentPlaceholder };
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Represents properties for RoutingContentPlaceholder component.
4
- */
5
- export interface RoutingContentPlaceholderProps {
6
- children?: React.ReactNode;
7
- }
@@ -1,5 +0,0 @@
1
- interface TemplateLoaderProps {
2
- readonly templateName: string;
3
- }
4
- declare const TemplateLoader: ({ templateName }: TemplateLoaderProps) => JSX.Element;
5
- export { TemplateLoader };
@@ -1,9 +0,0 @@
1
- import { TemplateProperties } from '../../template-properties';
2
- /**
3
- * Loads the template data based on location.
4
- */
5
- export declare const useTemplateDataLoader: (endpoint: string, preventRefetch: boolean) => {
6
- isComplete: boolean;
7
- isError: boolean;
8
- data: TemplateProperties | undefined;
9
- };
@@ -1,30 +0,0 @@
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
- }
11
- export interface Breadcrumbs {
12
- name?: string;
13
- show: boolean;
14
- isSignificant: boolean;
15
- }
16
- export interface NavigationItem {
17
- icon: IconName | null;
18
- label: string;
19
- path: string;
20
- disabled: boolean;
21
- disabledTooltipText: string;
22
- }
23
- export interface TemplateProperties {
24
- routes: Route[];
25
- visibleRoutes: string[];
26
- defaultRoute?: Route;
27
- breadcrumbs: Breadcrumbs;
28
- navigation: NavigationItem[];
29
- preventRefetch: boolean;
30
- }
@@ -1,9 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- export * from './TemplatePropertiesProvider';
2
- export * from './TemplateProperties.types';
@@ -1,24 +0,0 @@
1
- import { IconName } from '@kentico/xperience-admin-components';
2
- import { TemplateProperties } from '../../template-properties';
3
- import { SiteSelectorProps } from './siteselector/SiteSelector.types';
4
- export interface Application {
5
- readonly name: string;
6
- readonly icon: IconName;
7
- readonly path: string;
8
- }
9
- export interface ApplicationCategory {
10
- readonly name: string;
11
- readonly icon: IconName;
12
- readonly applications: Application[];
13
- readonly codeName: string;
14
- }
15
- export interface UserProfile {
16
- readonly userName: string;
17
- readonly firstName: string;
18
- readonly lastName: string;
19
- }
20
- export interface AppTemplateProps extends TemplateProperties {
21
- readonly categories: ApplicationCategory[];
22
- readonly siteSelectorProperties: SiteSelectorProps;
23
- readonly userProfile: UserProfile;
24
- }
@@ -1,3 +0,0 @@
1
- import { AppTemplateProps } from './App.types';
2
- declare const AppTemplate: ({ categories }: AppTemplateProps) => JSX.Element;
3
- export { AppTemplate };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ApplicationMenuProps } from './ApplicationMenu.types';
3
- declare const ApplicationMenu: React.ForwardRefExoticComponent<ApplicationMenuProps & React.RefAttributes<HTMLDivElement>>;
4
- export { ApplicationMenu };
@@ -1,5 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ApplicationListProps } from './ApplicationList.types';
3
- declare const ApplicationList: React.ForwardRefExoticComponent<ApplicationListProps & React.RefAttributes<HTMLDivElement>>;
4
- export { ApplicationList };
@@ -1,31 +0,0 @@
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
- }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ApplicationListGroupProps } from './ApplicationList.types';
3
- declare const ApplicationListGroup: React.ForwardRefExoticComponent<ApplicationListGroupProps & React.RefAttributes<HTMLDivElement>>;
4
- export { ApplicationListGroup };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ApplicationListItemProps } from './ApplicationList.types';
3
- declare const ApplicationListItem: React.ForwardRefExoticComponent<ApplicationListItemProps & React.RefAttributes<HTMLLIElement>>;
4
- export { ApplicationListItem };
@@ -1 +0,0 @@
1
- export { ApplicationList } from './ApplicationList';
@@ -1,10 +0,0 @@
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[];
@@ -1 +0,0 @@
1
- export { ApplicationMenu } from './ApplicationMenu';
@@ -1,9 +0,0 @@
1
- import { UserProfile } from '../App.types';
2
- interface AvatarProps {
3
- readonly userProfile: UserProfile;
4
- }
5
- declare const Avatar: {
6
- ({ userProfile }: AvatarProps): JSX.Element;
7
- displayName: string;
8
- };
9
- export { Avatar };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbsProps } from './Breadcrumbs.types';
3
- declare const Breadcrumbs: React.ForwardRefExoticComponent<BreadcrumbsProps & React.RefAttributes<HTMLDivElement>>;
4
- export { Breadcrumbs };
@@ -1,18 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { BreadcrumbProps as BreadcrumbComponentProps } from '@kentico/xperience-admin-components';
3
- export interface BreadcrumbsContextType {
4
- readonly breadcrumbs: BreadcrumbProps[];
5
- readonly setItem: (level: number, path: string, isSignificant: boolean, text?: string) => void;
6
- readonly refreshItem: (level: number, text: string) => void;
7
- readonly statusNode: React.ReactNode;
8
- readonly setStatusNode: (statusNode: React.ReactNode) => void;
9
- }
10
- export interface BreadcrumbsProviderProps {
11
- readonly children: React.ReactNode;
12
- }
13
- export interface BreadcrumbProps extends BreadcrumbComponentProps {
14
- readonly isSignificant: boolean;
15
- }
16
- export interface BreadcrumbsProps {
17
- readonly containerRef?: RefObject<HTMLDivElement>;
18
- }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { BreadcrumbsContextType } from './Breadcrumbs.types';
3
- export declare const BreadcrumbsContext: React.Context<BreadcrumbsContextType>;
4
- export declare const useBreadcrumbs: () => BreadcrumbsContextType;
@@ -1,2 +0,0 @@
1
- import { BreadcrumbsProviderProps } from './Breadcrumbs.types';
2
- export declare const BreadcrumbsProvider: ({ children }: BreadcrumbsProviderProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './BreadcrumbsContext';
2
- export * from './BreadcrumbsProvider';
@@ -1,6 +0,0 @@
1
- import { ApplicationCategory } from '../App.types';
2
- interface MainProps {
3
- readonly categories: ApplicationCategory[];
4
- }
5
- declare const Main: ({ categories }: MainProps) => JSX.Element;
6
- export { Main };
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { SiteSelectorProps } from './SiteSelector.types';
3
- declare const SiteSelector: React.FC<SiteSelectorProps>;
4
- export { SiteSelector };
@@ -1,27 +0,0 @@
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
- }