@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,9 +0,0 @@
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 };
@@ -1 +0,0 @@
1
- export { StatusBar } from './StatusBar';
@@ -1,2 +0,0 @@
1
- import { ConditionBuilderTemplateProps } from './ConditionBuilderTemplate.types';
2
- export declare const ConditionBuilderTemplate: ({ backLink, errorMessage, caption, submitLabel, initialConfiguration, availableMacroRuleConfigurations, availableMacroRules }: ConditionBuilderTemplateProps) => JSX.Element;
@@ -1,7 +0,0 @@
1
- import { ConditionBuilderProps } from '../../shared-components/ConditionBuilder/ConditionBuilder';
2
- export interface ConditionBuilderTemplateProps extends Pick<ConditionBuilderProps, 'availableMacroRules' | 'availableMacroRuleConfigurations' | 'initialConfiguration'> {
3
- readonly backLink?: string;
4
- readonly errorMessage?: string;
5
- readonly submitLabel: string;
6
- readonly caption: string;
7
- }
@@ -1,4 +0,0 @@
1
- import { Application } from '../app/App.types';
2
- export interface DashboardProps {
3
- readonly applications: Application[];
4
- }
@@ -1,2 +0,0 @@
1
- import { DashboardProps } from './Dashboard.types';
2
- export declare const DashboardTemplate: ({ applications }: DashboardProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { EditSectionTemplateProps } from './EditSectionTemplate.types';
2
- export declare const EditSectionTemplate: ({ components, submitLabel, errorMessage, readOnly, headline, backLink, ...props }: EditSectionTemplateProps) => JSX.Element;
@@ -1,14 +0,0 @@
1
- import { FormComponentProps } from '../../forms/form-components/FormComponent.types';
2
- import { CalloutConfiguration } from '../../shared-components';
3
- export interface EditSectionTemplateProps {
4
- readonly backLink?: string;
5
- readonly readOnly: boolean;
6
- readonly submitLabel: string;
7
- readonly components: FormComponentProps[];
8
- readonly headline: string;
9
- readonly errorMessage?: string;
10
- readonly callouts: CalloutConfiguration[];
11
- }
12
- export interface FormChangeResult {
13
- readonly components: FormComponentProps[];
14
- }
@@ -1,2 +0,0 @@
1
- import { FieldEditorBarItemHeaderProps } from './FieldEditorBarItemHeader.types';
2
- export declare const FieldEditorBarItemHeader: ({ fieldData }: FieldEditorBarItemHeaderProps) => JSX.Element;
@@ -1,4 +0,0 @@
1
- import { FieldData } from './FieldEditorTemplate.types';
2
- export interface FieldEditorBarItemHeaderProps {
3
- readonly fieldData: FieldData;
4
- }
@@ -1,5 +0,0 @@
1
- import { FieldEditorFormProps } from './FieldEditorForm.types';
2
- /**
3
- * Form used in Field Editor for each displayed field.
4
- */
5
- export declare const FieldEditorForm: ({ name, subForms, onChange, onCancel, addingField }: FieldEditorFormProps) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { FormFieldChange, SubForm } from './FieldEditorTemplate.types';
2
- /**
3
- * Represents properties for each displayed field.
4
- */
5
- export interface FieldEditorFormProps {
6
- readonly subForms: SubForm[];
7
- readonly onChange: (event: FormFieldChange) => void;
8
- readonly name: string;
9
- readonly onCancel: () => void;
10
- readonly addingField: boolean;
11
- }
@@ -1,14 +0,0 @@
1
- import { FieldEditorTemplateProps } from './FieldEditorTemplate.types';
2
- export declare const FieldEditorCommands: {
3
- CreateField: string;
4
- GetFields: string;
5
- GetFormFieldMetadata: string;
6
- GetEmptyFormFieldMetadata: string;
7
- MoveField: string;
8
- SaveField: string;
9
- DeleteField: string;
10
- };
11
- /**
12
- * Field editor template.
13
- */
14
- export declare const FieldEditorTemplate: ({ caption }: FieldEditorTemplateProps) => JSX.Element;
@@ -1,83 +0,0 @@
1
- import { FormComponentProps } from '../../forms/form-components';
2
- export interface FieldEditorTemplateProps {
3
- readonly caption: string;
4
- }
5
- /**
6
- * Represents a field, edited by the field editor.
7
- */
8
- export interface FieldData {
9
- readonly name: string;
10
- readonly visible: boolean;
11
- readonly required: boolean;
12
- readonly dataType: string;
13
- readonly deletable: boolean;
14
- }
15
- export interface FieldChangeResult {
16
- readonly fieldData: FieldData;
17
- readonly subForms: SubForm[];
18
- readonly isValid: boolean;
19
- }
20
- export interface GetFieldsResult {
21
- readonly fields: FieldData[];
22
- }
23
- export interface GetFormFieldMetadataArguments {
24
- readonly name: string;
25
- readonly subForms: Record<string, Record<string, any>>;
26
- }
27
- export interface SubForm {
28
- readonly id: string;
29
- readonly timeStamp: string;
30
- readonly title: string;
31
- readonly components: FormComponentProps[];
32
- }
33
- /**
34
- * Represents command result for creating field.
35
- * Matches backend implementation, helps to avoid breaking change in the future.
36
- */
37
- export interface CreateFieldResult extends FieldChangeResult {
38
- }
39
- /**
40
- * Shared parameters for field change operation.
41
- */
42
- interface FieldChangeArguments {
43
- readonly subForms: Record<string, Record<string, any>>;
44
- }
45
- /**
46
- * Represents parameters for field update operation.
47
- * Matches backend implementation, helps to avoid breaking change in the future.
48
- */
49
- export interface SaveFieldArguments extends FieldChangeArguments {
50
- readonly name: string;
51
- }
52
- /**
53
- * Represents parameters for field create operation.
54
- * Matches backend implementation, helps to avoid breaking change in the future.
55
- */
56
- export interface CreateFieldArguments extends FieldChangeArguments {
57
- }
58
- export interface FormFieldChange {
59
- readonly formName: string;
60
- readonly fieldName: string;
61
- readonly value: any;
62
- }
63
- /**
64
- * Represents parameters for field move operation.
65
- * Matches backend implementation, helps to avoid breaking change in the future.
66
- */
67
- export interface MoveFieldParameters {
68
- readonly sourceIndex: number;
69
- readonly destinationIndex: number;
70
- }
71
- /**
72
- * Represents parameters for field deletion operation.
73
- */
74
- export interface DeleteFieldParameters {
75
- readonly deletedFieldName: string;
76
- }
77
- /**
78
- * Represents command result for deleting field.
79
- * Matches backend implementation, helps to avoid breaking change in the future.
80
- */
81
- export interface DeleteFieldResult extends FieldChangeResult {
82
- }
83
- export {};
@@ -1,12 +0,0 @@
1
- export * from './app/AppTemplate';
2
- export * from './dashboard/DashboardTemplate';
3
- export * from './edit/EditSectionTemplate';
4
- export * from './condition-builder/ConditionBuilderTemplate';
5
- export * from './overview/OverviewTemplate';
6
- export * from './listing/ListingTemplate';
7
- export * from './side-navigation-layout';
8
- export * from './field-editor/FieldEditorTemplate';
9
- export * from './app/breadcrumbs/BreadcrumbsProvider';
10
- export * from './app/breadcrumbs';
11
- export * from './view-menu-navigation-layout/ViewMenuNavigationLayoutTemplate';
12
- export * from './settings';
@@ -1,24 +0,0 @@
1
- import { TableColumn, TableRow, SortType } from '@kentico/xperience-admin-components';
2
- import { CalloutConfiguration } from '../../shared-components';
3
- import { Action } from '../../types';
4
- export interface ListingProps {
5
- readonly columns: TableColumn[];
6
- readonly headerActions?: Action[];
7
- readonly pageSizes: number[];
8
- readonly pageSize: number;
9
- readonly caption: string;
10
- readonly sortBy: string;
11
- readonly sortType: SortType;
12
- readonly pageSizesLabel: string;
13
- readonly callout?: CalloutConfiguration;
14
- }
15
- export interface ListingRow extends TableRow {
16
- readonly action: Action;
17
- }
18
- export interface LoadDataResult {
19
- readonly rows?: ListingRow[];
20
- readonly totalCount: number;
21
- }
22
- export interface RowActionResult {
23
- reload: boolean;
24
- }
@@ -1,2 +0,0 @@
1
- import { ListingProps } from './Listing.types';
2
- export declare const ListingTemplate: ({ headerActions, columns, caption, callout, ...props }: ListingProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { OverviewTemplateProps } from './OverviewTemplate.types';
2
- export declare const OverviewTemplate: ({ errorMessage }: OverviewTemplateProps) => JSX.Element;
@@ -1,29 +0,0 @@
1
- import { Gradients, IconName } from '@kentico/xperience-admin-components';
2
- import { CalloutConfiguration } from '../../shared-components/Callout/Callout.types';
3
- import { ConditionBuilderProps } from '../../shared-components/ConditionBuilder/ConditionBuilder';
4
- export interface OverviewTemplateProps {
5
- readonly errorMessage?: string;
6
- }
7
- export interface LoadOverviewDataResult {
8
- callouts: CalloutConfiguration[];
9
- cardGroups: CardGroupConfiguration[];
10
- }
11
- export interface CardGroupConfiguration {
12
- readonly cards: CardConfiguration[];
13
- }
14
- export interface CardConfiguration {
15
- readonly headline: string;
16
- readonly tags?: CardTagConfiguration[];
17
- readonly content: string;
18
- readonly action?: CardActionConfiguration;
19
- readonly conditionOverview?: ConditionBuilderProps;
20
- }
21
- export interface CardActionConfiguration {
22
- readonly label: string;
23
- readonly icon?: IconName;
24
- readonly clickCommandName: string;
25
- }
26
- export interface CardTagConfiguration {
27
- readonly gradient: keyof typeof Gradients;
28
- readonly label: string;
29
- }
@@ -1,4 +0,0 @@
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;
@@ -1,11 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- import { Category } from './SettingsDetails.types';
2
- export declare const SettingsBreadcrumbs: ({ categoryId, categoryIdPath, displayName }: Category) => JSX.Element;
@@ -1,24 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- import { SettingsDetailsTemplateProps } from './SettingsDetails.types';
2
- export declare const SettingsDetailsTemplate: (props: SettingsDetailsTemplateProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SettingsNoResultPageProps } from './SettingsNoResultPage.types';
2
- export declare const SettingsNoResultPage: ({ filter, clearSearchHandler }: SettingsNoResultPageProps) => JSX.Element;
@@ -1,4 +0,0 @@
1
- export interface SettingsNoResultPageProps {
2
- readonly filter: string;
3
- readonly clearSearchHandler: () => void;
4
- }
@@ -1,2 +0,0 @@
1
- import { SettingsDetailsTemplateProps } from './SettingsDetails.types';
2
- export declare const SettingsSearchTemplate: (props: SettingsDetailsTemplateProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export { SettingsLayoutTemplate } from './layout/SettingsLayoutTemplate';
2
- export { SettingsDetailsTemplate } from './detail/SettingsDetailsTemplate';
3
- export { SettingsSearchTemplate } from './detail/SettingsSearchTemplate';
@@ -1,2 +0,0 @@
1
- import { NodeComponentProps } from './NodeComponentProps';
2
- export declare const NodeComponent: ({ name, id, children, level, onNodeToggle, expandedIds }: NodeComponentProps) => JSX.Element;
@@ -1,6 +0,0 @@
1
- import { CategoryNode } from './SettingsLayout.types';
2
- export interface NodeComponentProps extends CategoryNode {
3
- readonly level: number;
4
- readonly expandedIds: number[];
5
- readonly onNodeToggle: (isExpanded: boolean, id: number) => void;
6
- }
@@ -1,9 +0,0 @@
1
- export interface SettingsLayoutProps {
2
- readonly root: CategoryNode;
3
- }
4
- export interface CategoryNode {
5
- readonly name: string;
6
- readonly id: number;
7
- readonly categoryPath: number[];
8
- readonly children: CategoryNode[];
9
- }
@@ -1,2 +0,0 @@
1
- import { SettingsLayoutProps } from './SettingsLayout.types';
2
- export declare const SettingsLayoutTemplate: ({ root }: SettingsLayoutProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export declare const SettingsSearchRowComponent: () => JSX.Element;
@@ -1 +0,0 @@
1
- export declare const SideNavigationLayout: () => JSX.Element;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface SideNavigationLayoutContextProps {
3
- readonly limitHeight?: boolean;
4
- readonly setLimitHeight: (limitHeight: boolean) => void;
5
- }
6
- export declare const SideNavigationLayoutContext: React.Context<SideNavigationLayoutContextProps>;
7
- export declare const useSideNavigationLayoutContext: () => SideNavigationLayoutContextProps;
@@ -1 +0,0 @@
1
- export declare const SideNavigationLayoutTemplate: () => JSX.Element;
@@ -1,3 +0,0 @@
1
- export { SideNavigationLayoutTemplate } from './SideNavigationLayoutTemplate';
2
- export { SideNavigationLayoutContext, useSideNavigationLayoutContext } from './SideNavigationLayoutContext';
3
- export type { SideNavigationLayoutContextProps } from './SideNavigationLayoutContext';
@@ -1,6 +0,0 @@
1
- interface NavLinkItemProps {
2
- readonly link: string;
3
- readonly label: string;
4
- }
5
- export declare const NavLinkItem: ({ link, label, }: NavLinkItemProps) => JSX.Element;
6
- export {};
@@ -1,7 +0,0 @@
1
- import { NavigationItem } from '../../../template-properties';
2
- interface VerticalMenuProps {
3
- navigation: NavigationItem[];
4
- isInner: boolean;
5
- }
6
- export declare const VerticalMenu: ({ navigation, isInner }: VerticalMenuProps) => JSX.Element;
7
- export {};
@@ -1 +0,0 @@
1
- export declare const ViewMenuNavigationLayoutTemplate: () => JSX.Element;
@@ -1,14 +0,0 @@
1
- import { IconName } from '@kentico/xperience-admin-components';
2
- export declare enum ActionType {
3
- Link = "link",
4
- Command = "command"
5
- }
6
- export interface Action {
7
- readonly type: ActionType;
8
- readonly parameter: string;
9
- readonly label: string;
10
- readonly icon: IconName;
11
- readonly disabled: boolean;
12
- readonly destructive: boolean;
13
- readonly confirmation?: string;
14
- }
@@ -1,11 +0,0 @@
1
- export interface NotificationMessage {
2
- readonly id?: string | number;
3
- readonly message: string;
4
- readonly type: NotificationMessageType;
5
- }
6
- export declare enum NotificationMessageType {
7
- Success = "success",
8
- Error = "error",
9
- Warning = "warning",
10
- Info = "info"
11
- }
@@ -1,4 +0,0 @@
1
- export { ActionType } from './Action.types';
2
- export type { Action } from './Action.types';
3
- export { NotificationMessageType } from './NotificationMessage.types';
4
- export type { NotificationMessage } from './NotificationMessage.types';
@@ -1,10 +0,0 @@
1
- declare const LogonPath = "/logon";
2
- /**
3
- * Gets the logon page URL including the given return URL in a query parameter.
4
- */
5
- declare const getLogonUrl: (returnUrl: string) => string;
6
- /**
7
- * Gets the return URL from a query parameter of the given URL.
8
- */
9
- declare const getReturnUrl: (url: string) => string | null;
10
- export { getLogonUrl, getReturnUrl, LogonPath };
@@ -1,12 +0,0 @@
1
- /**
2
- * Gets base path (without domain) obtained from html document.
3
- */
4
- export declare const getBaseUri: () => URL;
5
- /**
6
- * Removes the base path from the provided path.
7
- */
8
- export declare const getPathWithoutBasePath: (path: string) => string;
9
- /**
10
- * Removes last segment of the provided path.
11
- */
12
- export declare const getPathWithoutLastSegment: (path: string) => string;
@@ -1,5 +0,0 @@
1
- export declare const conditionBuilderDialogMinWidth = "65vw";
2
- export declare const conditionBuilderDialogHeight = "100%";
3
- export declare const conditionBuilderDialogFullscreenBreakpoint = 1024;
4
- export declare const editTemplateDialogMinWidth = "65vw";
5
- export declare const scrollableContainerId = "scrollable-container";
@@ -1,3 +0,0 @@
1
- export * from './authentication/logonUrlProvider';
2
- export * from './postToAdmin';
3
- export * from './basePathUtils';
@@ -1,9 +0,0 @@
1
- export declare type ModuleLoaderResultType = Promise<{
2
- default: any;
3
- }>;
4
- export declare type ModuleLoaderType = (packageName: string, importName: string) => ModuleLoaderResultType;
5
- /**
6
- * Loads external module based on fully qualified path in format:
7
- * @scope/project/Component (e.g @kentico/xperience-admin-base/Listing)
8
- */
9
- export declare const loadModule: (fileName: string, moduleLoader?: ModuleLoaderType | undefined) => ModuleLoaderResultType;
@@ -1 +0,0 @@
1
- export * from './pathUtils';
@@ -1,9 +0,0 @@
1
- /**
2
- * Removes leading path from provided path and retunt path in format /{remainig-path} - without trailing slash
3
- */
4
- export declare const trimLeadingPath: (path: string, leadingPathToBeRemoved: string) => string;
5
- /**
6
- * Normalizes path to the form: leading slash + path name
7
- * Removes all trailing slashes except the root path and removes duplict leading slashes.
8
- */
9
- export declare const normalizePath: (path: string) => string;
@@ -1,21 +0,0 @@
1
- /**
2
- * Error handler parameters used in handler methods.
3
- * */
4
- export interface ErrorHandlerParams {
5
- /**
6
- * Response status code. The status code 0 is used for network related error.
7
- * */
8
- readonly statusCode: number;
9
- /**
10
- * Error message.
11
- * */
12
- readonly message: string;
13
- }
14
- /**
15
- * Invokes the request to the administration backend for specified path. Returns undefined in case of error.
16
- */
17
- export declare const postToAdmin: <TResult>(path: string, requestData: FormData, errorHandler?: ((error: ErrorHandlerParams) => void) | undefined, handleUnauthenticatedResponse?: (() => void) | undefined) => Promise<TResult | undefined>;
18
- /**
19
- * Handles invalid response status codes.
20
- */
21
- export declare const handleResponseStatus: (status: number, handleErrorMessage?: ((error: ErrorHandlerParams) => void) | undefined, handleUnauthenticatedResponse?: (() => void) | undefined) => Promise<boolean>;
@@ -1,15 +0,0 @@
1
- import { ErrorHandlerParams } from './postToAdmin';
2
- /**
3
- * Handles network related error (caused by rejected promise on fetch function, e.g connection reset, abort etc.)
4
- */
5
- declare const handleNetworkError: (errorMessage: string, errorHandler?: ((error: ErrorHandlerParams) => void) | undefined) => void;
6
- /**
7
- * Handles error response based on the status code.
8
- */
9
- declare const handleGenericError: (statusCode: number, errorHandler?: ((error: ErrorHandlerParams) => void) | undefined) => void;
10
- /**
11
- * Redirects to the logon page.
12
- * Keeps the current URL in the 'returnUrl' query parameter.
13
- */
14
- declare const handle401Response: () => void;
15
- export { handle401Response, handleGenericError, handleNetworkError };