@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kentico/xperience-admin-base",
3
- "version": "14.0.0-87740",
3
+ "version": "22.0.2",
4
4
  "main": "dist/entry.js",
5
5
  "types": "dist/entry.d.ts",
6
6
  "files": [
@@ -16,73 +16,81 @@
16
16
  ],
17
17
  "license": "SEE LICENSE IN LICENSE.txt",
18
18
  "dependencies": {
19
- "@kentico/xperience-admin-components": "14.0.0-87740",
19
+ "@kentico/xperience-admin-components": "22.0.2",
20
+ "@react-aria/focus": "^3.6.1",
21
+ "@react-aria/visually-hidden": "^3.3.1",
20
22
  "classnames": "^2.3.1",
21
- "history": "^5.0.1",
22
- "react": "^17.0.2",
23
- "react-cool-inview": "^2.0.8",
24
- "react-dnd": "^14.0.4",
25
- "react-dnd-html5-backend": "^14.0.2",
26
- "react-dom": "^17.0.2",
27
- "react-router-dom": "6.0.0-beta.2",
28
- "use-resize-observer": "8.0.0",
29
- "uuid": "^8.3.2",
30
- "@react-aria/visually-hidden": "^3.2.3",
31
- "@react-aria/focus": "^3.4.1"
23
+ "history": "^5.3.0",
24
+ "react": "^18.2.0",
25
+ "react-cool-inview": "^3.0.1",
26
+ "react-dnd": "^15.1.1",
27
+ "react-dnd-html5-backend": "^15.1.2",
28
+ "react-dom": "^18.2.0",
29
+ "react-router-dom": "6.3.0",
30
+ "react-select": "^5.3.2",
31
+ "react-select-async-paginate": "^0.6.1",
32
+ "use-debounce": "^8.0.1",
33
+ "use-resize-observer": "9.0.2",
34
+ "uuid": "^8.3.2"
32
35
  },
33
36
  "devDependencies": {
34
- "@babel/core": "^7.16.0",
35
- "@babel/eslint-parser": "^7.16.0",
36
- "@babel/plugin-transform-runtime": "^7.16.0",
37
- "@babel/preset-env": "^7.16.0",
38
- "@babel/preset-react": "^7.16.0",
39
- "@babel/preset-typescript": "^7.16.0",
40
- "@babel/runtime": "^7.16.0",
41
- "@testing-library/jest-dom": "^5.14.1",
42
- "@testing-library/react": "^12.1.2",
43
- "@testing-library/react-hooks": "^7.0.2",
44
- "@types/history": "^4.7.9",
45
- "@types/jest": "^27.0.2",
46
- "@types/react": "^17.0.33",
37
+ "@babel/core": "^7.18.6",
38
+ "@babel/eslint-parser": "^7.18.2",
39
+ "@babel/plugin-transform-runtime": "^7.18.6",
40
+ "@babel/preset-env": "^7.18.6",
41
+ "@babel/preset-react": "^7.18.6",
42
+ "@babel/preset-typescript": "^7.18.6",
43
+ "@babel/runtime": "^7.18.6",
44
+ "@testing-library/jest-dom": "^5.16.4",
45
+ "@testing-library/react": "^13.3.0",
46
+ "@testing-library/react-hooks": "^8.0.1",
47
+ "@types/dompurify": "2.3.3",
48
+ "@types/jest": "^28.1.3",
49
+ "@types/react": "^18.0.14",
47
50
  "@types/react-beautiful-dnd": "^13.1.2",
48
- "@types/react-dom": "^17.0.10",
49
- "@types/react-router-dom": "^5.3.2",
51
+ "@types/react-dom": "^18.0.5",
52
+ "@types/react-router-dom": "^5.3.3",
50
53
  "@types/systemjs": "^6.1.1",
51
- "@types/webpack-env": "^1.16.3",
52
- "@types/uuid": "^8.3.1",
53
- "autoprefixer": "^10.4.0",
54
- "babel-loader": "8.2.3",
54
+ "@types/testing-library__jest-dom": "5.14.5",
55
+ "@types/uuid": "^8.3.4",
56
+ "@types/webpack-env": "^1.17.0",
57
+ "autoprefixer": "^10.4.7",
58
+ "babel-loader": "8.2.5",
55
59
  "cross-env": "^7.0.3",
56
- "css-loader": "^6.5.0",
57
- "eslint": "^8.1.0",
58
- "eslint-config-prettier": "^8.3.0",
60
+ "css-loader": "^6.7.1",
61
+ "dompurify": "2.3.8",
62
+ "eslint": "^8.18.0",
63
+ "eslint-config-prettier": "^8.5.0",
59
64
  "eslint-config-ts-react-important-stuff": "^3.0.0",
60
- "eslint-plugin-prettier": "^4.0.0",
61
- "eslint-plugin-react": "^7.26.1",
65
+ "eslint-plugin-prettier": "^4.1.0",
66
+ "eslint-plugin-react": "^7.30.1",
62
67
  "file-loader": "^6.2.0",
63
- "jest": "^27.3.1",
64
- "jest-junit": "^13.0.0",
65
- "postcss": "^8.3.11",
66
- "postcss-loader": "^6.2.0",
67
- "prettier": "^2.4.1",
68
- "react-test-renderer": "^17.0.2",
69
- "sass": "^1.43.4",
70
- "sass-loader": "^12.3.0",
68
+ "jest": "^28.1.1",
69
+ "jest-environment-jsdom": "28.1.1",
70
+ "jest-junit": "^14.0.0",
71
+ "postcss": "^8.4.14",
72
+ "postcss-loader": "^7.0.0",
73
+ "prettier": "^2.7.1",
74
+ "react-test-renderer": "^18.2.0",
75
+ "sass": "^1.53.0",
76
+ "sass-loader": "^13.0.2",
71
77
  "style-loader": "^3.3.1",
72
- "ts-jest": "^27.0.7",
73
- "typescript": "^4.4.4",
74
- "webpack": "^5.61.0",
75
- "webpack-cli": "^4.9.1",
76
- "webpack-dev-server": "^4.4.0",
78
+ "ts-jest": "^28.0.5",
79
+ "typescript": "^4.7.4",
80
+ "webpack": "^5.73.0",
81
+ "webpack-cli": "^4.10.0",
82
+ "webpack-dev-server": "^4.9.2",
77
83
  "webpack-merge": "^5.8.0"
78
84
  },
79
85
  "scripts": {
80
86
  "start": "webpack serve --mode development",
81
87
  "dev:remote": "webpack serve --mode development --env remote",
82
88
  "build": "webpack --mode=production",
83
- "declaration": "tsc --project tsconfig.declaration.json",
84
89
  "typecheck": "tsc --noEmit",
85
90
  "analyze": "webpack --mode=production --env.analyze=true",
86
- "test": "cross-env BABEL_ENV=test jest"
91
+ "test": "cross-env BABEL_ENV=test jest",
92
+ "tsc-decleration": "tsc --project tsconfig.declaration.json",
93
+ "declaration": "npm run tsc-decleration && npx ts-node ../../scripts/typesRollup",
94
+ "validate-api": "npx ts-node ../../scripts/validateApi"
87
95
  }
88
96
  }
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Instance of command context type.
4
- */
5
- export declare const CommandContext: React.Context<CommandContextType>;
6
- /**
7
- * Defines a command context type.
8
- */
9
- export interface CommandContextType {
10
- /**
11
- * Executes page command.
12
- * @param name Name of the command to be executed.
13
- * @param data Data passed to the command.
14
- * @param files Files to be uploaded by the command.
15
- */
16
- executeCommand: <TCommandResult = void, TData = void>(name: string, data?: TData, files?: FileList) => Promise<TCommandResult | undefined>;
17
- /**
18
- * Registers command into the current provider.
19
- * @param name Name of the command to be registered.
20
- * @param execute Callback that executes the command.
21
- */
22
- registerCommand: <T>(name: string, execute: (data: T, files?: FileList) => Promise<void>) => void;
23
- }
24
- /**
25
- * Returns the command provider for the current page.
26
- */
27
- export declare const usePageCommandProvider: () => CommandContextType;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface CommandProviderProps {
3
- readonly children: React.ReactNode;
4
- }
5
- /**
6
- * Ensures the command context for current template.
7
- */
8
- export declare const CommandProvider: {
9
- ({ children }: CommandProviderProps): JSX.Element;
10
- displayName: string;
11
- };
12
- export {};
@@ -1,3 +0,0 @@
1
- export { usePageCommand } from './usePageCommand';
2
- export { usePageCommandProvider } from './CommandContext';
3
- export type { Command, CommandExecutor, UseCommandConfig } from './useCommand.types';
@@ -1,36 +0,0 @@
1
- /**
2
- * Command result interface.
3
- */
4
- export interface Command<T = any> {
5
- /**
6
- * Invocation callback.
7
- */
8
- execute: CommandExecutor<T, void>;
9
- }
10
- /**
11
- * Command execution configuration.
12
- */
13
- export declare type UseCommandConfig<TCommandResult, TCommandData> = {
14
- /**
15
- * Command data.
16
- */
17
- data?: TCommandData;
18
- /**
19
- * Indicates whether command should be invoked automatically on component mount.
20
- * Defaults to `false`.
21
- */
22
- executeOnMount?: boolean;
23
- /**
24
- * Custom action executed before the command execution.
25
- * If the function returns `false` the command will not be executed.
26
- */
27
- before?: () => boolean | void;
28
- /**
29
- * Custom action executed after the command execution.
30
- */
31
- after?: (commandResult: TCommandResult | undefined) => void;
32
- };
33
- /**
34
- * Command invocation callback.
35
- */
36
- export declare type CommandExecutor<TData, TResponse> = (data?: TData, files?: FileList) => Promise<TResponse>;
@@ -1,11 +0,0 @@
1
- interface CommandInvokerResponse<T> {
2
- result: T;
3
- command: string;
4
- }
5
- /**
6
- * Defines a command invocation function with messaging and navigation support.
7
- *
8
- * @returns Command invocation function.
9
- */
10
- export declare function useCommandInvoker<T>(): (name: string, data?: any, files?: FileList | undefined) => Promise<CommandInvokerResponse<T> | undefined>;
11
- export {};
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { Command, UseCommandConfig } from './useCommand.types';
3
- /**
4
- * Registers command into the current command provider and returns its invocation callback.
5
- *
6
- * @param commandName Name of the command.
7
- * @param config Command options.
8
- * @param dependencies If present, command will only activate if the values in the list change.
9
- * @returns Invocation callback to be executed manually.
10
- */
11
- export declare function usePageCommand<TCommandResult, TCommandData = void>(commandName: string, config?: UseCommandConfig<TCommandResult, TCommandData>, dependencies?: React.DependencyList): Command<TCommandData>;
@@ -1,2 +0,0 @@
1
- import { ActionListProps } from './ActionList.types';
2
- export declare const ActionList: ({ actions, dataTestId }: ActionListProps) => JSX.Element;
@@ -1,5 +0,0 @@
1
- import { UITestProps } from '@kentico/xperience-admin-components';
2
- import { Action } from '../../types';
3
- export interface ActionListProps extends UITestProps {
4
- actions?: Action[];
5
- }
@@ -1,15 +0,0 @@
1
- import React, { Component, ErrorInfo } from 'react';
2
- import { ErrorBoundaryProps, ErrorBoundaryState } from './ErrorBoundary.types';
3
- /**
4
- * ErrorBoundary component allows to catch the unhandled errors and display a fallback component.
5
- */
6
- export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
7
- state: ErrorBoundaryState;
8
- static getDerivedStateFromError(error: Error): ErrorBoundaryState;
9
- componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
10
- /**
11
- * Ensures that previous error state is cleared on dependencies change.
12
- */
13
- componentDidUpdate(previousProps: ErrorBoundaryProps, previousState: ErrorBoundaryState): void;
14
- render(): React.ReactNode;
15
- }
@@ -1,32 +0,0 @@
1
- import { ReactNode } from 'react';
2
- /**
3
- * Error boundary component properties.
4
- */
5
- export interface ErrorBoundaryProps {
6
- /**
7
- * Component children.
8
- */
9
- readonly children: ReactNode;
10
- /**
11
- * Fallback function allows to render custom error elements.
12
- */
13
- readonly fallback: (error: Error | null) => ReactNode;
14
- /**
15
- * Error boundary dependencies.
16
- * Used for re-evaluation of error state based on array of dependencies.
17
- */
18
- readonly dependencies?: unknown[];
19
- }
20
- /**
21
- * Error boundary inner state.
22
- */
23
- export interface ErrorBoundaryState {
24
- /**
25
- * Indicates whether error has occurred.
26
- */
27
- readonly hasError: boolean;
28
- /**
29
- * Error object.
30
- */
31
- readonly error: Error | null;
32
- }
@@ -1,5 +0,0 @@
1
- import { ViewMenuItemProps } from './ViewMenuItem.types';
2
- /**
3
- * View menu item component. Automatically handles whether is active by comparing current location with provided path.
4
- */
5
- export declare const ViewMenuItem: (props: ViewMenuItemProps) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { ApplicationTileProps } from '@kentico/xperience-admin-components';
2
- export interface ViewMenuItemProps extends Pick<ApplicationTileProps, 'label' | 'iconName' | 'tooltip' | 'dataTestId'> {
3
- /**
4
- * Indicates if the menu item is disabled.
5
- */
6
- disabled: boolean;
7
- /**
8
- * Path to navigate to.
9
- */
10
- path: string;
11
- }
@@ -1,6 +0,0 @@
1
- export { ActionList } from './ActionList/ActionList';
2
- export { Loader } from './loader/Loader';
3
- export { PageLoader } from './page-loader/PageLoader';
4
- export { PageMessagePane } from './page-message-pane/PageMessagePane';
5
- export { Portal } from './portal/Portal';
6
- export { ViewMenuItem } from './ViewMenuItem/ViewMenuItem';
@@ -1 +0,0 @@
1
- export declare const Loader: () => JSX.Element;
@@ -1,5 +0,0 @@
1
- interface PageLoaderProps {
2
- titleVisible?: boolean;
3
- }
4
- export declare const PageLoader: ({ titleVisible }: PageLoaderProps) => JSX.Element;
5
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export interface PageMessagePaneProps {
3
- readonly title: string;
4
- readonly text?: string;
5
- readonly children?: React.ReactNode;
6
- }
7
- export declare const PageMessagePane: ({ title, text, children }: PageMessagePaneProps) => JSX.Element;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface PortalProps {
3
- readonly children: React.ReactNode;
4
- readonly container: HTMLElement | null;
5
- readonly key?: string | null | undefined;
6
- }
7
- declare const Portal: ({ children, container, key }: PortalProps) => JSX.Element;
8
- export { Portal };
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { FormProps, FormRef } from './Form.types';
3
- export declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<FormRef>>;
@@ -1,93 +0,0 @@
1
- import { UITestProps } from '@kentico/xperience-admin-components';
2
- import React from 'react';
3
- import { FormComponentProps } from '../form-components/FormComponent.types';
4
- /**
5
- * Form reference exposing Form functions.
6
- */
7
- export declare type FormRef = {
8
- /**
9
- * Submits the entire form.
10
- */
11
- submit: (action?: string) => void;
12
- } | null;
13
- /**
14
- * Name of the form the components are rendered within.
15
- */
16
- export declare const FormNameContext: React.Context<string>;
17
- /**
18
- * Properties for Form cmponent.
19
- */
20
- export interface FormProps extends UITestProps {
21
- /**
22
- * Form component has no button rendered, define the children to display submitting component.
23
- */
24
- readonly children?: React.ReactNode;
25
- /**
26
- * Collection of form components which will be displayed inside the form.
27
- */
28
- readonly components: FormComponentProps[];
29
- /**
30
- * Name of the form.
31
- */
32
- readonly name?: string;
33
- /**
34
- * Determines whether the form is read only.
35
- */
36
- readonly readOnly?: boolean;
37
- /**
38
- * Allows to specify CSS class of the field block.
39
- */
40
- readonly fieldCssClass?: string;
41
- /**
42
- * Function for form value change monitoring.
43
- */
44
- readonly onChange?: (e: ChangeEventHandler) => void;
45
- /**
46
- * Submit function used to submit form data.
47
- */
48
- readonly onSubmit?: (e: SubmitEventHandler, action?: string) => void;
49
- }
50
- export interface ChangeEventHandler {
51
- readonly changedField: {
52
- name: string;
53
- hasDependencies: boolean;
54
- };
55
- readonly values: {
56
- [fieldName: string]: any;
57
- };
58
- }
59
- export interface SubmitEventHandler {
60
- readonly values: {
61
- [fieldName: string]: any;
62
- };
63
- }
64
- /**
65
- * Represents result of form submission.
66
- */
67
- export interface FormSubmissionResult {
68
- /**
69
- * Collection of form components which will be displayed inside the form.
70
- */
71
- readonly components: FormComponentProps[];
72
- /**
73
- * Status of the form submission and validation process.
74
- */
75
- readonly status: FormSubmissionStatus;
76
- }
77
- /**
78
- * Indicates the state of the form submission and validation result.
79
- */
80
- export declare enum FormSubmissionStatus {
81
- /**
82
- * Error during the form submission.
83
- */
84
- Error = "error",
85
- /**
86
- * Form validation failed.
87
- */
88
- ValidationFailure = "validationFailure",
89
- /**
90
- * Submission and validation successful.
91
- */
92
- ValidationSuccess = "validationSuccess"
93
- }
@@ -1,2 +0,0 @@
1
- import { FormFieldProps } from './FormField.types';
2
- export declare const FormField: (props: FormFieldProps) => JSX.Element;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { FieldInfo, FormComponentProps } from '../form-components/FormComponent.types';
3
- import { ValidationResult } from '../validation-rules/ValidationRule.types';
4
- export interface FormFieldProps extends FormComponentProps {
5
- readonly allowRevalidate: boolean;
6
- readonly fieldCssClass?: string;
7
- readonly onValidated?: (invalidValidationResults: ValidationResult[]) => void;
8
- }
9
- /**
10
- * The form field in which components are rendered.
11
- */
12
- export declare const FormFieldContext: React.Context<FieldInfo>;
@@ -1,2 +0,0 @@
1
- export * from './Form';
2
- export * from './Form.types';
@@ -1,23 +0,0 @@
1
- import { ValidationRuleProps } from '../validation-rules/ValidationRule.types';
2
- export declare type OnChangeValueType = any;
3
- export declare type FieldInfoValueType = Record<string, any>;
4
- export interface FieldInfo {
5
- readonly name: string;
6
- readonly fieldValues: FieldInfoValueType;
7
- }
8
- export interface FormComponentProps extends FieldInfo {
9
- readonly componentName: string;
10
- readonly hasDependencies: boolean;
11
- readonly label?: string;
12
- readonly explanationText?: string;
13
- readonly tooltip?: string;
14
- readonly readOnly?: boolean;
15
- readonly value?: any;
16
- readonly invalid?: boolean;
17
- readonly validationMessage?: string;
18
- readonly validationRules?: ValidationRuleProps[];
19
- readonly onChange?: (value: OnChangeValueType) => void;
20
- readonly required?: boolean;
21
- readonly disabledMessage?: string;
22
- readonly guid: string;
23
- }
@@ -1,2 +0,0 @@
1
- import { FormComponentProps } from './FormComponent.types';
2
- export declare const FormComponentLoader: (props: FormComponentProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export declare const AssetSelectorDropTile: () => JSX.Element;
@@ -1,5 +0,0 @@
1
- import { AssetSelectorFormComponentProps } from './AssetSelectorFormComponent.types';
2
- /**
3
- * Form component capable of selecting multiple assets from AssetSelector component.
4
- */
5
- export declare const AssetSelectorFormComponent: (props: AssetSelectorFormComponentProps) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { AssetTile } from '../../../shared-components/Assets';
2
- import { FormComponentProps } from '../FormComponent.types';
3
- /**
4
- * Properties for AssetSelectorFormComponent component.
5
- */
6
- export interface AssetSelectorFormComponentProps extends FormComponentProps {
7
- readonly siteIdentifier: number;
8
- readonly maximumAssets: number;
9
- readonly allowedExtensions?: string;
10
- readonly assets: AssetTile[];
11
- }
@@ -1,2 +0,0 @@
1
- import { FormComponentProps } from '../FormComponent.types';
2
- export declare const CheckboxFormComponent: (props: FormComponentProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { ConditionBuilderFormComponentProps } from './ConditionBuilderFormComponent.types';
2
- export declare const ConditionBuilderFormComponent: ({ initialConfiguration, availableMacroRules, availableMacroRuleConfigurations, onChange, label, disabledMessage, invalid, validationMessage, readOnly, required, explanationText, tooltip, ...props }: ConditionBuilderFormComponentProps) => JSX.Element;
@@ -1,18 +0,0 @@
1
- import { FormComponentProps } from '../FormComponent.types';
2
- import { ConditionBuilderProps } from '../../../shared-components/ConditionBuilder/ConditionBuilder';
3
- import { FormSubmissionStatus } from '../..';
4
- export interface ConditionBuilderFormComponentProps extends FormComponentProps, Omit<ConditionBuilderProps, 'onChange'> {
5
- }
6
- /**
7
- * Represents result of form submission.
8
- */
9
- export interface GetMacroCommandSubmissionResult {
10
- /**
11
- * Status of the form submission and validation process.
12
- */
13
- readonly status: FormSubmissionStatus;
14
- /**
15
- * Status of the form submission and validation process.
16
- */
17
- readonly result?: string;
18
- }
@@ -1,5 +0,0 @@
1
- import { SingleObjectSelectorFormComponentProps } from './SingleObjectSelectorFormComponentProps.types';
2
- export declare const SingleObjectSelectorFormComponent: {
3
- ({ objectType, textColumnName, valueColumnName, fieldValues, name, ...props }: SingleObjectSelectorFormComponentProps): JSX.Element;
4
- displayName: string;
5
- };
@@ -1,16 +0,0 @@
1
- import { DropDownOption } from '../../dropdown-form-component/DropDownFormComponentProps.types';
2
- import { FormComponentProps } from '../../FormComponent.types';
3
- export interface SingleObjectSelectorFormComponentProps extends FormComponentProps {
4
- readonly objectType: string;
5
- readonly textColumnName: string;
6
- readonly valueColumnName: string;
7
- readonly placeholder?: string;
8
- }
9
- export interface LoadOptionsCommandArguments {
10
- readonly options: DropDownOption[];
11
- }
12
- export interface LoadOptionsCommandResult {
13
- readonly objectType: string;
14
- readonly textColumnName: string;
15
- readonly valueColumnName: string;
16
- }
@@ -1,2 +0,0 @@
1
- import { DropDownFormComponentProps } from './DropDownFormComponentProps.types';
2
- export declare const DropdownSelectorFormComponent: ({ value, label, readOnly, placeholder, name, invalid, required, disabledMessage, tooltip, explanationText, validationMessage, options, maxContentHeight, dataTestId, onChange }: DropDownFormComponentProps) => JSX.Element;
@@ -1,11 +0,0 @@
1
- import { UITestProps } from '@kentico/xperience-admin-components';
2
- import { FormComponentProps } from '../FormComponent.types';
3
- export interface DropDownFormComponentProps extends FormComponentProps, UITestProps {
4
- readonly options: DropDownOption[];
5
- readonly placeholder?: string;
6
- readonly maxContentHeight?: string;
7
- }
8
- export interface DropDownOption {
9
- readonly value: string;
10
- readonly text: string;
11
- }
@@ -1,5 +0,0 @@
1
- import { ExtensionSelectorProps } from './ExtensionSelectorFormComponent.types';
2
- /**
3
- * Form component used to set allowed extensions for asset selector.
4
- */
5
- export declare const ExtensionSelectorFormComponent: ({ allowedExtensions, inheritSystemSettings, settingsAllowedExtensions, ...props }: ExtensionSelectorProps) => JSX.Element;
@@ -1,9 +0,0 @@
1
- import { FormComponentProps } from '../FormComponent.types';
2
- /**
3
- * Properties for ExtensionSelectorFormComponent.
4
- */
5
- export interface ExtensionSelectorProps extends FormComponentProps {
6
- readonly allowedExtensions?: string;
7
- readonly settingsAllowedExtensions: string;
8
- readonly inheritSystemSettings: boolean;
9
- }
@@ -1,5 +0,0 @@
1
- import { IconName } from '@kentico/xperience-admin-components';
2
- /**
3
- * Returns form component label icon only if tooltip text is defined
4
- */
5
- export declare const getFormLabelIcon: (toolTipText: string | undefined) => IconName | undefined;