@pimcore/studio-ui-bundle 0.13.20 → 0.14.19

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 (364) hide show
  1. package/dist/build/rsbuild/entrypoints.js +13 -0
  2. package/dist/build/rsbuild/utils.js +36 -0
  3. package/dist/build/types/src/core/app/api/pimcore/tags.d.ts +66 -0
  4. package/dist/build/types/src/core/app/config/services/service-ids.d.ts +43 -0
  5. package/dist/build/types/src/core/app/public-api/document/document-api.d.ts +4 -2
  6. package/dist/build/types/src/core/bootstrap.d.ts +3 -0
  7. package/dist/build/types/src/core/components/asset-target/asset-target.d.ts +2 -1
  8. package/dist/build/types/src/core/components/background/background.styles.d.ts +1 -0
  9. package/dist/build/types/src/core/components/code-editor/code-editor.d.ts +2 -2
  10. package/dist/build/types/src/core/components/code-editor/helpers.d.ts +12 -0
  11. package/dist/build/types/src/core/components/date-picker/date-picker.d.ts +1 -0
  12. package/dist/build/types/src/core/components/dropdown/dropdown.stories.d.ts +2 -2
  13. package/dist/build/types/src/core/components/form/form.d.ts +15 -4
  14. package/dist/build/types/src/core/components/form/form.stories.d.ts +1 -0
  15. package/dist/build/types/src/core/components/form/hooks/use-debounced-form-change.d.ts +10 -0
  16. package/dist/build/types/src/core/components/form/hooks/use-debounced-form-flush.d.ts +15 -0
  17. package/dist/build/types/src/core/components/form/providers/debounced-form-provider.d.ts +31 -0
  18. package/dist/build/types/src/core/components/form/use-form.d.ts +29 -0
  19. package/dist/build/types/src/core/components/geo-map/utils/lat-lng-convert.d.ts +2 -1
  20. package/dist/build/types/src/core/components/grid/grid-cell/grid-row.d.ts +6 -1
  21. package/dist/build/types/src/core/components/grid/grid.d.ts +1 -1
  22. package/dist/build/types/src/core/components/grid/grid.styles.d.ts +3 -1
  23. package/dist/build/types/src/core/components/grid-button/grid-button.d.ts +18 -0
  24. package/dist/build/types/src/core/components/grid-button/grid-button.stories.d.ts +16 -0
  25. package/dist/build/types/src/core/{modules/document/editor/sidebar/tabs/areablock-types/components/draggable-areablock-type/draggable-areablock-type.styles.d.ts → components/grid-button/grid-button.styles.d.ts} +3 -3
  26. package/dist/build/types/src/core/components/hotspot-image/hotspot-image.d.ts +3 -1
  27. package/dist/build/types/src/core/components/hotspot-image/utils/resize.d.ts +2 -2
  28. package/dist/build/types/src/core/components/icon/icon.d.ts +5 -2
  29. package/dist/build/types/src/core/components/icon-button/icon-button.d.ts +2 -0
  30. package/dist/build/types/src/core/components/image-picker/image-picker.d.ts +28 -0
  31. package/dist/build/types/src/core/components/image-picker/image-picker.styles.d.ts +13 -0
  32. package/dist/build/types/src/core/components/import-modal/components/file-drop-zone/file-drop-zone.d.ts +17 -0
  33. package/dist/build/types/src/core/components/import-modal/components/file-drop-zone/file-drop-zone.styles.d.ts +13 -0
  34. package/dist/build/types/src/core/components/import-modal/components/selected-file-view/selected-file-view.d.ts +20 -0
  35. package/dist/build/types/src/core/components/import-modal/components/selected-file-view/selected-file-view.styles.d.ts +14 -0
  36. package/dist/build/types/src/core/components/import-modal/hooks/use-file-upload.d.ts +26 -0
  37. package/dist/build/types/src/core/components/import-modal/hooks/use-file-validation.d.ts +16 -0
  38. package/dist/build/types/src/core/components/import-modal/import-modal.d.ts +32 -0
  39. package/dist/build/types/src/core/components/import-modal/index.d.ts +10 -0
  40. package/dist/build/types/src/core/components/many-to-one-relation/components/many-to-one-relation/index.d.ts +11 -0
  41. package/dist/build/types/src/core/components/many-to-one-relation/components/many-to-one-relation/many-to-one-relation-path.d.ts +16 -0
  42. package/dist/build/types/src/core/components/many-to-one-relation/index.d.ts +2 -1
  43. package/dist/build/types/src/core/components/many-to-one-relation/many-to-one-relation.d.ts +1 -0
  44. package/dist/build/types/src/core/components/modal/alert-modal/hooks/use-alert-modal.d.ts +5 -5
  45. package/dist/build/types/src/core/components/modal/form-modal/components/input-form.d.ts +3 -2
  46. package/dist/build/types/src/core/components/modal/form-modal/components/textarea-form.d.ts +3 -2
  47. package/dist/build/types/src/core/components/modal/form-modal/components/upload-form.d.ts +3 -2
  48. package/dist/build/types/src/core/components/panel/panel.d.ts +2 -1
  49. package/dist/build/types/src/core/components/panel/panel.stories.d.ts +1 -0
  50. package/dist/build/types/src/core/components/rule-condition/components/add-condition-button/add-condition-button.d.ts +17 -0
  51. package/dist/build/types/src/core/components/rule-condition/components/bracket-button/bracket-button.d.ts +19 -0
  52. package/dist/build/types/src/core/components/rule-condition/components/bracket-button/bracket-button.styles.d.ts +14 -0
  53. package/dist/build/types/src/core/components/rule-condition/components/condition-item/condition-item.d.ts +22 -0
  54. package/dist/build/types/src/core/components/rule-condition/components/condition-item/condition-item.styles.d.ts +18 -0
  55. package/dist/build/types/src/core/components/rule-condition/components/condition-list/condition-list.d.ts +16 -0
  56. package/dist/build/types/src/core/components/rule-condition/components/operator-selector/operator-selector.d.ts +21 -0
  57. package/dist/build/types/src/core/components/rule-condition/hooks/use-add-condition-menu-items.d.ts +14 -0
  58. package/dist/build/types/src/core/components/rule-condition/hooks/use-rule-condition.d.ts +26 -0
  59. package/dist/build/types/src/core/components/rule-condition/index.d.ts +11 -0
  60. package/dist/build/types/src/core/components/rule-condition/provider/rule-condition-provider/rule-condition-provider.d.ts +24 -0
  61. package/dist/build/types/src/core/components/rule-condition/provider/rule-condition-provider/use-rule-condition-context.d.ts +11 -0
  62. package/dist/build/types/src/core/components/rule-condition/rule-condition.constants.d.ts +19 -0
  63. package/dist/build/types/src/core/components/rule-condition/rule-condition.d.ts +12 -0
  64. package/dist/build/types/src/core/components/rule-condition/rule-condition.styles.d.ts +12 -0
  65. package/dist/build/types/src/core/components/rule-condition/types/rule-condition.types.d.ts +64 -0
  66. package/dist/build/types/src/core/components/rule-condition/utils/condition-array-utils.d.ts +18 -0
  67. package/dist/build/types/src/core/components/select/select.d.ts +1 -0
  68. package/dist/build/types/src/core/components/switch/switch.d.ts +4 -1
  69. package/dist/build/types/src/core/components/toolstrip/tool-strip.d.ts +9 -2
  70. package/dist/build/types/src/core/components/toolstrip/utils/get-icon-color.d.ts +36 -0
  71. package/dist/build/types/src/core/components/tooltip-icon/tooltip-icon.d.ts +16 -0
  72. package/dist/build/types/src/core/components/tooltip-icon/tooltip-icon.styles.d.ts +12 -0
  73. package/dist/build/types/src/core/components/tree-element/tree-element.d.ts +4 -0
  74. package/dist/build/types/src/core/modules/app/app-loader/loader/admin-settings/loader.d.ts +13 -0
  75. package/dist/build/types/src/core/modules/app/app-loader/loader/brand-thumbnail-urls/loader.d.ts +13 -0
  76. package/dist/build/types/src/core/modules/app/app-loader/loader/global-message-bus/loader.d.ts +14 -0
  77. package/dist/build/types/src/core/modules/app/branding/hooks/use-admin-thumbnails.d.ts +16 -0
  78. package/dist/build/types/src/core/modules/app/settings/settings-slice-enhanced.d.ts +527 -175
  79. package/dist/build/types/src/core/modules/app/settings/settings-slice.d.ts +4 -2
  80. package/dist/build/types/src/core/modules/app/settings/settings-slice.gen.d.ts +1262 -74
  81. package/dist/build/types/src/core/modules/app/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +31 -0
  82. package/dist/build/types/src/core/modules/app/types/column-filter.d.ts +33 -0
  83. package/dist/build/types/src/core/modules/app/types/sort-filter.d.ts +13 -0
  84. package/dist/build/types/src/core/modules/app/utils/download.d.ts +11 -0
  85. package/dist/build/types/src/core/modules/app/utils/sort-filter-helper.d.ts +13 -0
  86. package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/appearance-form.d.ts +11 -0
  87. package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/components/color-panel/color-panel.d.ts +11 -0
  88. package/dist/build/types/src/core/modules/appearance-branding/components/appearance-form/components/image-panel/image-panel.d.ts +19 -0
  89. package/dist/build/types/src/core/modules/appearance-branding/hooks/use-appearance-branding.d.ts +19 -0
  90. package/dist/build/types/src/core/modules/appearance-branding/index.d.ts +11 -0
  91. package/dist/build/types/src/core/modules/asset/editor/types/asset-thumbnails-api-slice.gen.d.ts +1916 -39
  92. package/dist/build/types/src/core/modules/auth/enums/user-permission.d.ts +4 -1
  93. package/dist/build/types/src/core/modules/auth/login-page.styles.d.ts +5 -1
  94. package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +1089 -7
  95. package/dist/build/types/src/core/modules/class-definition/class-definition-slice.gen.d.ts +946 -320
  96. package/dist/build/types/src/core/modules/class-definition/components/class-editor/composite-indices-block.d.ts +11 -0
  97. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/custom-layout-editor.d.ts +11 -0
  98. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/custom-layout-general-settings-form-fields.d.ts +11 -0
  99. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/add-modal.d.ts +11 -0
  100. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-collection-query.d.ts +11 -0
  101. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-delete-mutation.d.ts +11 -0
  102. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-detail-query.d.ts +11 -0
  103. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-layout-accessor.d.ts +11 -0
  104. package/dist/build/types/src/core/modules/class-definition/components/class-editor/custom-layouts/editor/use-custom-layout-update-mutation.d.ts +11 -0
  105. package/dist/build/types/src/core/modules/class-definition/components/class-editor/general-settings-form-fields.d.ts +11 -0
  106. package/dist/build/types/src/core/modules/class-definition/components/class-editor/object-bricks-grid.d.ts +15 -0
  107. package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +201 -0
  108. package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +1 -1
  109. package/dist/build/types/src/core/modules/data-object/editor/types/object/tab-manager/tabs/edit/providers/edit-form-provider/edit-form-provider.d.ts +2 -2
  110. package/dist/build/types/src/core/modules/document/actions/site/provider/site-modal.d.ts +2 -2
  111. package/dist/build/types/src/core/modules/document/actions/site/site-form.d.ts +2 -2
  112. package/dist/build/types/src/core/modules/document/document-api-slice.gen.d.ts +2 -0
  113. package/dist/build/types/src/core/modules/document/document-draft-slice.d.ts +1 -1
  114. package/dist/build/types/src/core/modules/document/document-editor-slice.d.ts +28 -2
  115. package/dist/build/types/src/core/modules/document/editor/shared-tab-manager/tabs/edit/iframe-app/bootstrap.d.ts +1 -0
  116. package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/content-settings/content-settings-form.d.ts +3 -1
  117. package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/content-settings/content-settings-sidebar.d.ts +3 -1
  118. package/dist/build/types/src/core/modules/document/editor/sidebar/tabs/document-configuration/document-configuration-form.d.ts +8 -7
  119. package/dist/build/types/src/core/modules/document/hooks/use-document-url-processor.d.ts +1 -1
  120. package/dist/build/types/src/core/modules/document/hooks/use-sites.d.ts +4 -1
  121. package/dist/build/types/src/core/modules/element/actions/delete/use-delete.d.ts +1 -0
  122. package/dist/build/types/src/core/modules/element/components/crop-modal/crop-modal.d.ts +2 -2
  123. package/dist/build/types/src/core/modules/element/components/crop-modal/hooks/use-crop-modal.d.ts +2 -0
  124. package/dist/build/types/src/core/modules/element/components/crop-modal/provider/crop-modal-provider.d.ts +2 -0
  125. package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/hooks/use-hotspot-markers-modal.d.ts +2 -0
  126. package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/hotspot-markers-modal.d.ts +10 -0
  127. package/dist/build/types/src/core/modules/element/components/hotspot-markers-modal/provider/hotspot-markers-modal-provider.d.ts +2 -0
  128. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/areablock-editable.d.ts +4 -1
  129. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-editable.d.ts +3 -2
  130. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/with-areablock-render-query.d.ts +12 -0
  131. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-areablock.d.ts +2 -1
  132. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/document/editable/types/dynamic-type-document-editable-scheduledblock.d.ts +1 -0
  133. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/components/element-subtype-icon-cell/element-subtype-icon-cell.d.ts +16 -0
  134. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/components/element-subtype-icon-cell/element-subtype-icon-cell.styles.d.ts +12 -0
  135. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/grid-cell/types/element-subtype-icon/dynamic-type-grid-cell-element-subtype-icon.d.ts +19 -0
  136. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/hotspot-image/hotspot-image.d.ts +4 -0
  137. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/hotspot-image/image-preview.d.ts +2 -0
  138. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image/footer.d.ts +5 -1
  139. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/components/image-preview/image-preview.d.ts +5 -1
  140. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/components/sortable-item/sortable-item.d.ts +5 -1
  141. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/image-gallery.d.ts +4 -0
  142. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/utils/crop-converter.d.ts +3 -2
  143. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/form/add-note-form.d.ts +1 -1
  144. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice.gen.d.ts +24 -0
  145. package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +184 -1
  146. package/dist/build/types/src/core/modules/element/hooks/use-path-to-id.d.ts +19 -0
  147. package/dist/build/types/src/core/modules/element/services/processors/element-icon-processor-registry.d.ts +1 -1
  148. package/dist/build/types/src/core/modules/email/log/components/email-preview/email-preview.d.ts +2 -2
  149. package/dist/build/types/src/core/modules/email/log/components/parameters-tab/parameters-tab.d.ts +2 -2
  150. package/dist/build/types/src/core/modules/email/test-mail/component/send-test-mail-form/send-test-mail-form.d.ts +2 -2
  151. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/current-configuration-provider.d.ts +21 -0
  152. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/custom-layout-modal.d.ts +2 -0
  153. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/custom-layout-actions.d.ts +11 -0
  154. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/detail-renderer.d.ts +11 -0
  155. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/layout-provider.d.ts +10 -0
  156. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail/parent-tree.d.ts +11 -0
  157. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/detail.d.ts +11 -0
  158. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar/add-modal-trigger.d.ts +11 -0
  159. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar/item-select.d.ts +11 -0
  160. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/items/top-bar.d.ts +11 -0
  161. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/view.d.ts +11 -0
  162. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/content/general-settings-form.d.ts +11 -0
  163. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/general-settings-provider.d.ts +1 -0
  164. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/import-export-actions.d.ts +11 -0
  165. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/layout-provider.d.ts +1 -33
  166. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/sidebar.d.ts +14 -1
  167. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/provider.d.ts +3 -0
  168. package/dist/build/types/src/core/modules/field-definitions/components/editor/settings-provider.d.ts +30 -2
  169. package/dist/build/types/src/core/modules/field-definitions/components/editor/view.d.ts +11 -0
  170. package/dist/build/types/src/core/modules/field-definitions/components/editor.d.ts +8 -1
  171. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-crop-panel/field-definition-crop-panel.d.ts +11 -0
  172. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-decimal-settings/field-definition-decimal-settings.d.ts +11 -0
  173. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-default-value-grid/field-definition-default-value-grid.d.ts +19 -0
  174. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-geo-settings/field-definition-geo-settings.d.ts +11 -0
  175. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-options-source-fields/field-definition-options-source-fields.d.ts +14 -0
  176. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-regex-validation/field-definition-regex-validation.d.ts +11 -0
  177. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/components/field-definition-select-options-grid/field-definition-select-options-grid.d.ts +20 -0
  178. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/dynamic-type-field-definition-abstract.d.ts +11 -3
  179. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/dynamic-type-field-definition-registry.d.ts +11 -0
  180. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/hooks/use-class-select-options.d.ts +13 -0
  181. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/_abstracts/data/dynamic-type-field-defintion-data-abstract.d.ts +3 -0
  182. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/_abstracts/layout/dynamic-type-field-defintion-layout-abstract.d.ts +1 -1
  183. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/block/dynamic-type-field-definition-block.d.ts +3 -2
  184. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/booleanSelect/dynamic-type-field-definition-boolean-select.d.ts +20 -0
  185. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/booleanSelect/field-definition-boolean-select-form-fields.d.ts +12 -0
  186. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/calculatedValue/dynamic-type-field-definition-calculated-value.d.ts +19 -0
  187. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/calculatedValue/field-definition-calculated-value-form-fields.d.ts +12 -0
  188. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/checkbox/dynamic-type-field-definition-checkbox.d.ts +20 -0
  189. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/checkbox/field-definition-checkbox-form-fields.d.ts +12 -0
  190. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/country/dynamic-type-field-definition-country.d.ts +19 -0
  191. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/country/field-definition-country-form-fields.d.ts +12 -0
  192. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/countrymultiselect/dynamic-type-field-definition-countrymultiselect.d.ts +19 -0
  193. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/countrymultiselect/field-definition-countrymultiselect-form-fields.d.ts +12 -0
  194. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/date/dynamic-type-field-definition-date.d.ts +19 -0
  195. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/date/field-definition-date-form-fields.d.ts +12 -0
  196. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateRange/dynamic-type-field-definition-date-range.d.ts +19 -0
  197. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateRange/field-definition-date-range-form-fields.d.ts +12 -0
  198. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateTime/dynamic-type-field-definition-date-time.d.ts +19 -0
  199. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/dateTime/field-definition-date-time-form-fields.d.ts +12 -0
  200. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/encryptedField/dynamic-type-field-definition-encrypted-field.d.ts +19 -0
  201. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/encryptedField/field-definition-encrypted-field-form-fields.d.ts +12 -0
  202. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/externalImage/dynamic-type-field-definition-external-image.d.ts +19 -0
  203. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/externalImage/field-definition-external-image-form-fields.d.ts +12 -0
  204. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geobounds/dynamic-type-field-definition-geobounds.d.ts +19 -0
  205. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geobounds/field-definition-geobounds-form-fields.d.ts +12 -0
  206. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopoint/dynamic-type-field-definition-geopoint.d.ts +19 -0
  207. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopoint/field-definition-geopoint-form-fields.d.ts +12 -0
  208. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolygon/dynamic-type-field-definition-geopolygon.d.ts +19 -0
  209. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolygon/field-definition-geopolygon-form-fields.d.ts +12 -0
  210. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolyline/dynamic-type-field-definition-geopolyline.d.ts +19 -0
  211. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/geopolyline/field-definition-geopolyline-form-fields.d.ts +12 -0
  212. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/image/dynamic-type-field-definition-image.d.ts +19 -0
  213. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/image/field-definition-image-form-fields.d.ts +12 -0
  214. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageAdvanced/dynamic-type-field-definition-hotspot-image.d.ts +19 -0
  215. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageAdvanced/field-definition-image-advanced-form-fields.d.ts +12 -0
  216. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageGallery/dynamic-type-field-definition-image-gallery.d.ts +19 -0
  217. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/imageGallery/field-definition-image-gallery-form-fields.d.ts +12 -0
  218. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/inputQuantityValue/dynamic-type-field-definition-input-quantity-value.d.ts +19 -0
  219. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/inputQuantityValue/field-defintion-input-quantity-value-form-fields.d.ts +12 -0
  220. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/language/dynamic-type-field-definition-language.d.ts +19 -0
  221. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/language/field-definition-language-form-fields.d.ts +12 -0
  222. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/languagemultiselect/dynamic-type-field-definition-languagemultiselect.d.ts +19 -0
  223. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/languagemultiselect/field-definition-languagemultiselect-form-fields.d.ts +12 -0
  224. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/link/dynamic-type-field-definition-link.d.ts +19 -0
  225. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/link/field-definition-link-form-fields.d.ts +12 -0
  226. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/multiselection/dynamic-type-field-definition-multiselection.d.ts +21 -0
  227. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/multiselection/field-definition-multiselection-form-fields.d.ts +12 -0
  228. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/number/dynamic-type-field-definition-number.d.ts +19 -0
  229. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/number/field-definition-number-form-fields.d.ts +12 -0
  230. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/numericRange/dynamic-type-field-definition-numeric-range.d.ts +19 -0
  231. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/numericRange/field-definition-numeric-range-form-fields.d.ts +12 -0
  232. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/panel/dynamic-type-field-definition-panel.d.ts +2 -0
  233. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/password/dynamic-type-field-definition-password.d.ts +19 -0
  234. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/password/field-defintion-password-form-fields.d.ts +12 -0
  235. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValue/dynamic-type-field-definition-quantity-value.d.ts +19 -0
  236. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValue/field-definition-quantity-value-form-fields.d.ts +12 -0
  237. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValueRange/dynamic-type-field-definition-quantity-value-range.d.ts +19 -0
  238. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/quantityValueRange/field-definition-quantity-value-range-form-fields.d.ts +12 -0
  239. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/rgbaColor/dynamic-type-field-definition-rgba-color.d.ts +19 -0
  240. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/rgbaColor/field-definition-rgba-color-form-fields.d.ts +12 -0
  241. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/select/dynamic-type-field-definition-select.d.ts +20 -0
  242. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/select/field-definition-select-form-fields.d.ts +12 -0
  243. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/slider/dynamic-type-field-definition-slider.d.ts +19 -0
  244. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/slider/field-definition-slider-form-fields.d.ts +12 -0
  245. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/textarea/dynamic-type-field-definition-textarea.d.ts +19 -0
  246. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/textarea/field-definition-textarea-form-fields.d.ts +12 -0
  247. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/time/dynamic-type-field-definition-time.d.ts +19 -0
  248. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/time/field-definition-time-form-fields.d.ts +12 -0
  249. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/urlSlug/dynamic-type-field-definition-url-slug.d.ts +19 -0
  250. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/urlSlug/field-definition-url-slug-form-fields.d.ts +12 -0
  251. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/user/dynamic-type-field-definition-user.d.ts +18 -0
  252. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/video/dynamic-type-field-definition-video.d.ts +19 -0
  253. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/video/field-definition-video-form-fields.d.ts +12 -0
  254. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/wysiwyg/dynamic-type-field-definition-wysiwyg.d.ts +19 -0
  255. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/wysiwyg/field-definition-wysiwyg-form-fields.d.ts +12 -0
  256. package/dist/build/types/src/core/modules/field-definitions/utils/context-helpers.d.ts +1 -1
  257. package/dist/build/types/src/core/modules/field-definitions/utils/layout-helpers.d.ts +29 -0
  258. package/dist/build/types/src/core/modules/field-definitions/utils/layout-provider-factory.d.ts +54 -0
  259. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/delete-button/delete-button.d.ts +20 -0
  260. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/export-button/export-button.d.ts +17 -0
  261. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/open-button/open-button.d.ts +18 -0
  262. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/search-form/search-form.d.ts +18 -0
  263. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/search-form/search-form.styles.d.ts +12 -0
  264. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/assets-tab/assets-tab.d.ts +25 -0
  265. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/data-objects-tab/data-objects-tab.d.ts +24 -0
  266. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/delete-button/delete-button.d.ts +18 -0
  267. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/email-parameters-button/email-parameters-button.d.ts +16 -0
  268. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/components/email-preview-button/email-preview-button.d.ts +16 -0
  269. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/emails-tab/emails-tab.d.ts +29 -0
  270. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/components/delete-button/delete-button.d.ts +19 -0
  271. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/hooks/use-user.d.ts +16 -0
  272. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/components/users-tab/users-tab.d.ts +26 -0
  273. package/dist/build/types/src/core/modules/gdpr-data-extractor/components/tab-panel/tab-panel.d.ts +30 -0
  274. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-abstract-gdpr-provider.d.ts +15 -0
  275. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-assets-gdpr-provider.d.ts +16 -0
  276. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-data-object-gdpr-provider.d.ts +16 -0
  277. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-email-gdpr-provider.d.ts +16 -0
  278. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/definitions/dynamic-type-users-gdpr-provider.d.ts +16 -0
  279. package/dist/build/types/src/core/modules/gdpr-data-extractor/dynamic-types/registry/dynamic-type-gdpr-provider-registry.d.ts +13 -0
  280. package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-api-slice.gen.d.ts +618 -0
  281. package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-container.d.ts +20 -0
  282. package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-slice-enhanced.d.ts +935 -0
  283. package/dist/build/types/src/core/modules/gdpr-data-extractor/index.d.ts +10 -0
  284. package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree/image-thumbnails-tree.d.ts +16 -0
  285. package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree/image-thumbnails-tree.styles.d.ts +12 -0
  286. package/dist/build/types/src/core/modules/image-thumbnails/components/image-thumbnails-tree-toolbar/image-thumbnails-tree-toolbar.d.ts +16 -0
  287. package/dist/build/types/src/core/modules/image-thumbnails/hooks/use-thumbnail-config.d.ts +19 -0
  288. package/dist/build/types/src/core/modules/image-thumbnails/image-thumbnails-container.d.ts +11 -0
  289. package/dist/build/types/src/core/modules/image-thumbnails/image-thumbnails-container.styles.d.ts +12 -0
  290. package/dist/build/types/src/core/modules/image-thumbnails/index.d.ts +11 -0
  291. package/dist/build/types/src/core/modules/image-thumbnails/providers/image-thumbnails-provider.d.ts +27 -0
  292. package/dist/build/types/src/core/modules/image-thumbnails/utils/tree-helpers.d.ts +12 -0
  293. package/dist/build/types/src/core/modules/notifications/send-notification/components/notification-form/notification-form.d.ts +2 -2
  294. package/dist/build/types/src/core/modules/perspectives/enums/nav-permission.d.ts +3 -0
  295. package/dist/build/types/src/core/modules/reports/custom-reports-api-slice.gen.d.ts +2 -2
  296. package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/bar-chart/bar-chart.d.ts +1 -1
  297. package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/line-chart/line-chart.d.ts +1 -1
  298. package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/components/pie-chart/pie-chart.d.ts +1 -1
  299. package/dist/build/types/src/core/modules/reports/reports-view/components/report-chart/types.d.ts +1 -0
  300. package/dist/build/types/src/core/modules/reports/reports-view/reports-view.styles.d.ts +1 -0
  301. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/components/action-item.d.ts +16 -0
  302. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/components/add-action-button/add-action-button.d.ts +16 -0
  303. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/hooks/use-add-action-menu-items.d.ts +14 -0
  304. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/provider/rule-actions-provider/rule-actions-provider.d.ts +28 -0
  305. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/provider/rule-actions-provider/use-rule-actions.d.ts +13 -0
  306. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/rule-actions.d.ts +12 -0
  307. package/dist/build/types/src/core/modules/rule-builder/components/rule-actions/types/rule-actions.types.d.ts +19 -0
  308. package/dist/build/types/src/core/modules/rule-builder/components/rule-conditions/rule-conditions.d.ts +12 -0
  309. package/dist/build/types/src/core/modules/rule-builder/components/rule-conditions/types/rule-conditions.types.d.ts +17 -0
  310. package/dist/build/types/src/core/modules/rule-builder/components/rule-config-form/index.d.ts +10 -0
  311. package/dist/build/types/src/core/modules/rule-builder/components/rule-config-form/rule-config-form.d.ts +29 -0
  312. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/components/add-trigger-button/add-trigger-button.d.ts +16 -0
  313. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/components/trigger-item.d.ts +16 -0
  314. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/hooks/use-add-trigger-menu-items.d.ts +14 -0
  315. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/provider/rule-triggers-provider/rule-triggers-provider.d.ts +28 -0
  316. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/provider/rule-triggers-provider/use-rule-triggers.d.ts +13 -0
  317. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/rule-triggers.d.ts +12 -0
  318. package/dist/build/types/src/core/modules/rule-builder/components/rule-triggers/types/rule-triggers.types.d.ts +19 -0
  319. package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-rule-item-drag-drop.d.ts +18 -0
  320. package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-rule-items.d.ts +28 -0
  321. package/dist/build/types/src/core/modules/rule-builder/components/shared/hooks/use-sortable-item.d.ts +21 -0
  322. package/dist/build/types/src/core/modules/rule-builder/components/shared/rule-item-list.d.ts +21 -0
  323. package/dist/build/types/src/core/modules/rule-builder/components/shared/rule-item-tool-strip.d.ts +24 -0
  324. package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/index.d.ts +12 -0
  325. package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rule-item.d.ts +20 -0
  326. package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.d.ts +20 -0
  327. package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.styles.d.ts +15 -0
  328. package/dist/build/types/src/core/modules/rule-builder/components/sortable-rules-list/sortable-rules-list.types.d.ts +20 -0
  329. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-action/dynamic-type-rule-action-abstract.d.ts +45 -0
  330. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-action/dynamic-type-rule-action-registry.d.ts +17 -0
  331. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-condition/dynamic-type-rule-condition-abstract.d.ts +40 -0
  332. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-condition/dynamic-type-rule-condition-registry.d.ts +15 -0
  333. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-trigger/dynamic-type-rule-trigger-abstract.d.ts +45 -0
  334. package/dist/build/types/src/core/modules/rule-builder/dynamic-types/rule-trigger/dynamic-type-rule-trigger-registry.d.ts +17 -0
  335. package/dist/build/types/src/core/modules/rule-builder/types/rule-item.types.d.ts +28 -0
  336. package/dist/build/types/src/core/modules/user/user-api-slice-enhanced.d.ts +160 -160
  337. package/dist/build/types/src/core/modules/widget-editor/components/widget-create-form/widget-create-form.d.ts +3 -2
  338. package/dist/build/types/src/core/modules/widget-manager/hooks/use-widget-title.d.ts +1 -1
  339. package/dist/build/types/src/core/modules/widget-manager/title/border-title-view.d.ts +1 -1
  340. package/dist/build/types/src/core/modules/widget-manager/title/tab-title-container.d.ts +1 -1
  341. package/dist/build/types/src/core/modules/widget-manager/title/tab-title-view.d.ts +1 -1
  342. package/dist/build/types/src/core/modules/widget-manager/widget/widget-content-title-container.d.ts +1 -1
  343. package/dist/build/types/src/core/modules/widget-manager/widget/widget-view.d.ts +1 -1
  344. package/dist/build/types/src/core/modules/widget-manager/widget-manager-slice.d.ts +1 -1
  345. package/dist/build/types/src/core/types/components/types.d.ts +1 -0
  346. package/dist/build/types/src/core/utils/hooks/use-controlled-state.d.ts +34 -0
  347. package/dist/build/types/src/sdk/_internal_/mf-bootstrap-document-editor-iframe.d.ts +1 -0
  348. package/dist/build/types/src/sdk/_internal_/mf-bootstrap.d.ts +1 -0
  349. package/dist/build/types/src/sdk/components/index.d.ts +7 -0
  350. package/dist/build/types/src/sdk/main.d.ts +1 -0
  351. package/dist/build/types/src/sdk/modules/app/index.d.ts +1 -0
  352. package/dist/build/types/src/sdk/modules/document/index.d.ts +2 -0
  353. package/dist/build/types/src/sdk/modules/element/index.d.ts +4 -0
  354. package/dist/build/types/src/sdk/modules/field-definitions/index.d.ts +14 -0
  355. package/dist/build/types/src/sdk/modules/gdpr-data-extractor/index.d.ts +12 -0
  356. package/dist/build/types/src/sdk/modules/rule-builder/index.d.ts +24 -0
  357. package/dist/build/types/src/sdk/modules/translations/index.d.ts +10 -0
  358. package/dist/build/types/src/sdk/modules/widget-manager/index.d.ts +1 -1
  359. package/dist/build/types/src/sdk/utils/index.d.ts +1 -0
  360. package/dist/types/entrypoints.d.ts +5 -1
  361. package/dist/types/utils.d.ts +1 -0
  362. package/package.json +8 -2
  363. package/dist/build/rsbuild/plugins/entrypoints.js +0 -7
  364. package/dist/build/types/src/core/modules/field-definitions/components/editor/custom-layout/custom-layout-modal-provider.d.ts +0 -21
@@ -9,9 +9,11 @@
9
9
  */
10
10
  import type { IHotspot } from '../../../../../components/hotspot-image/hotspot-image';
11
11
  import type { CropSettings } from '../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/crop-types';
12
+ import type { DataTemplates } from '../hotspot-markers-modal';
12
13
  export interface UseHotspotMarkersModalOptions {
13
14
  disabled?: boolean;
14
15
  onChange?: (hotspots: IHotspot[]) => void;
16
+ predefinedDataTemplates?: DataTemplates | string | null;
15
17
  }
16
18
  export interface UseHotspotMarkersModalReturn {
17
19
  openModal: (imageId: number, hotspots?: IHotspot[] | null, crop?: CropSettings | null) => void;
@@ -18,5 +18,15 @@ export interface HotspotMarkersModalProps {
18
18
  onClose?: () => void;
19
19
  onChange?: (hotspots: IHotspot[]) => void;
20
20
  crop?: CropSettings;
21
+ predefinedDataTemplates?: DataTemplates | string | null;
22
+ }
23
+ export interface DataTemplateItem {
24
+ menuName?: string;
25
+ name: string;
26
+ data?: any[];
27
+ }
28
+ export interface DataTemplates {
29
+ marker?: DataTemplateItem[];
30
+ hotspot?: DataTemplateItem[];
21
31
  }
22
32
  export declare const HotspotMarkersModal: (props: HotspotMarkersModalProps) => React.JSX.Element;
@@ -10,6 +10,7 @@
10
10
  import React from 'react';
11
11
  import type { IHotspot } from '../../../../../components/hotspot-image/hotspot-image';
12
12
  import type { CropSettings } from '../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/crop-types';
13
+ import type { DataTemplates } from '../hotspot-markers-modal';
13
14
  export interface HotspotMarkersModalContextProps {
14
15
  openModal: (modalId: string, imageId: number, hotspots?: IHotspot[] | null, crop?: CropSettings | null, options?: HotspotMarkersModalOptions) => void;
15
16
  closeModal: (modalId: string) => void;
@@ -18,6 +19,7 @@ export interface HotspotMarkersModalContextProps {
18
19
  export interface HotspotMarkersModalOptions {
19
20
  disabled?: boolean;
20
21
  onChange?: (hotspots: IHotspot[]) => void;
22
+ predefinedDataTemplates?: DataTemplates | string | null;
21
23
  }
22
24
  export interface HotspotMarkersModalProviderProps {
23
25
  children: React.ReactNode;
@@ -8,6 +8,7 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
+ import { type useLazyDocumentPageSnippetAreaBlockRenderQuery } from '../../../../../../../../modules/document/document-api-slice-enhanced';
11
12
  export interface AreaType {
12
13
  name: string;
13
14
  type: string;
@@ -34,6 +35,7 @@ export interface AreablockEntry {
34
35
  hidden?: boolean;
35
36
  }
36
37
  export type AreablockValue = AreablockEntry[];
38
+ export type AreablockRenderTrigger = ReturnType<typeof useLazyDocumentPageSnippetAreaBlockRenderQuery>[0];
37
39
  export interface AreablockEditableProps {
38
40
  value?: AreablockValue;
39
41
  onChange?: (value: AreablockValue) => void;
@@ -43,5 +45,6 @@ export interface AreablockEditableProps {
43
45
  containerRef?: React.RefObject<HTMLDivElement>;
44
46
  disabled?: boolean;
45
47
  isInherited?: boolean;
48
+ renderTrigger: AreablockRenderTrigger;
46
49
  }
47
- export declare const AreablockEditable: ({ value, onChange, config, className, editableName, containerRef, disabled, isInherited }: AreablockEditableProps) => React.JSX.Element;
50
+ export declare const AreablockEditable: ({ value, onChange, config, className, editableName, containerRef, disabled, isInherited, renderTrigger }: AreablockEditableProps) => React.JSX.Element;
@@ -8,7 +8,7 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import { type AbstractDocumentEditableDefinition } from '../../../dynamic-type-document-editable-abstract';
11
- import { type AreablockEditableConfig, type AreablockValue } from '../areablock-editable';
11
+ import { type AreablockEditableConfig, type AreablockValue, type AreablockRenderTrigger } from '../areablock-editable';
12
12
  import { type AreablockManager } from '../utils/areablock-manager';
13
13
  export interface UseAreablockEditableParams {
14
14
  areablockManager: AreablockManager;
@@ -16,6 +16,7 @@ export interface UseAreablockEditableParams {
16
16
  onChange?: (value: AreablockValue) => void;
17
17
  config?: AreablockEditableConfig;
18
18
  disabled?: boolean;
19
+ renderTrigger: AreablockRenderTrigger;
19
20
  }
20
21
  export interface UseAreablockEditableReturn {
21
22
  dynamicEditables: AbstractDocumentEditableDefinition[];
@@ -25,4 +26,4 @@ export interface UseAreablockEditableReturn {
25
26
  moveAreaDown: (element: HTMLElement) => void;
26
27
  moveArea: (fromIndex: number, toIndex: number) => void;
27
28
  }
28
- export declare const useAreablockEditable: ({ areablockManager, onChange, config, disabled }: UseAreablockEditableParams) => UseAreablockEditableReturn;
29
+ export declare const useAreablockEditable: ({ areablockManager, onChange, config, disabled, renderTrigger }: UseAreablockEditableParams) => UseAreablockEditableReturn;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import React from 'react';
11
+ import { type AreablockEditableProps } from './areablock-editable';
12
+ export declare const WithAreablockRenderQuery: (props: Omit<AreablockEditableProps, "renderTrigger">) => React.JSX.Element;
@@ -9,7 +9,7 @@
9
9
  */
10
10
  import React from 'react';
11
11
  import { type AbstractDocumentEditableDefinition, DynamicTypeDocumentEditableAbstract } from '../dynamic-type-document-editable-abstract';
12
- import { type AreablockEditableConfig, type AreablockValue } from '../components/areablock-editable/areablock-editable';
12
+ import { type AreablockEditableProps, type AreablockEditableConfig, type AreablockValue } from '../components/areablock-editable/areablock-editable';
13
13
  declare const DEFAULT_AREABLOCK_GROUP = "Available Areas";
14
14
  declare const UNCATEGORIZED_AREABLOCK_GROUP = "Uncategorized";
15
15
  export { DEFAULT_AREABLOCK_GROUP, UNCATEGORIZED_AREABLOCK_GROUP };
@@ -18,6 +18,7 @@ export interface AreablockEditableDefinition extends Omit<AbstractDocumentEditab
18
18
  }
19
19
  export declare class DynamicTypeDocumentEditableAreablock extends DynamicTypeDocumentEditableAbstract {
20
20
  id: string;
21
+ getEditableComponent(): React.ComponentType<Omit<AreablockEditableProps, 'renderTrigger'>>;
21
22
  getEditableDataComponent(props: AreablockEditableDefinition): React.ReactElement<AbstractDocumentEditableDefinition>;
22
23
  transformValue(value: any, props: AreablockEditableDefinition): AreablockValue;
23
24
  onDocumentReady(documentId: number, editableDefinitions: AbstractDocumentEditableDefinition[]): void;
@@ -17,5 +17,6 @@ export declare class DynamicTypeDocumentEditableScheduledblock extends DynamicTy
17
17
  id: string;
18
18
  getEditableDataComponent(props: ScheduledblockEditableDefinition): React.ReactElement<AbstractDocumentEditableDefinition>;
19
19
  transformValue(value: any, props: ScheduledblockEditableDefinition): ScheduledblockValue;
20
+ onDocumentReady(documentId: number, editableDefinitions: AbstractDocumentEditableDefinition[]): void;
20
21
  reloadOnChange(props: ScheduledblockEditableDefinition): boolean;
21
22
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type DefaultCellProps } from '../../../../../../../components/grid/columns/default-cell';
11
+ import { type ElementType } from '../../../../../../../types/enums/element/element-type';
12
+ import React from 'react';
13
+ export interface ElementSubtypeIconCellProps extends DefaultCellProps {
14
+ elementType: ElementType;
15
+ }
16
+ export declare const ElementSubtypeIconCell: (props: ElementSubtypeIconCellProps) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ export declare const useStyle: (props?: unknown) => import("antd-style").ReturnStyles<{
11
+ cell: import("antd-style").SerializedStyles;
12
+ }>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type ReactElement } from 'react';
11
+ import { type AbstractGridCellDefinition, DynamicTypeGridCellAbstract } from '../../dynamic-type-grid-cell-abstract';
12
+ import { type ElementType } from '../../../../../../../types/enums/element/element-type';
13
+ export interface ElementSubtypeIconGridCellConfig {
14
+ elementType: ElementType;
15
+ }
16
+ export declare class DynamicTypeGridCellElementSubtypeIcon extends DynamicTypeGridCellAbstract {
17
+ readonly id = "element-subtype-icon";
18
+ getGridCellComponent(props: AbstractGridCellDefinition): ReactElement<AbstractGridCellDefinition>;
19
+ }
@@ -11,6 +11,7 @@ import React from 'react';
11
11
  import type { ImageValue } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/components/image/image';
12
12
  import type { Hotspot, Marker } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/hotspot-types';
13
13
  import type { CropSettings } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/crop-types';
14
+ import { type DataTemplates } from '../../../../../../../../modules/element/components/hotspot-markers-modal/hotspot-markers-modal';
14
15
  export interface HotspotImageValue {
15
16
  image: ImageValue | null;
16
17
  hotspots: Hotspot[];
@@ -24,5 +25,8 @@ export interface HotspotImageProps {
24
25
  value?: HotspotImageValue | null;
25
26
  onChange?: (value: HotspotImageValue | null) => void;
26
27
  className?: string;
28
+ predefinedDataTemplates?: DataTemplates | string | null;
29
+ ratioX?: number;
30
+ ratioY?: number;
27
31
  }
28
32
  export declare const HotspotImage: (props: HotspotImageProps) => React.JSX.Element;
@@ -20,6 +20,8 @@ interface HotspotImagePreviewProps {
20
20
  markerModalOpen: boolean;
21
21
  setMarkerModalOpen: (imageId: number, hotspots?: IHotspot[] | null, crop?: CropSettings | null) => void;
22
22
  disabled?: boolean;
23
+ ratioX?: number;
24
+ ratioY?: number;
23
25
  }
24
26
  export declare const HotspotImagePreview: React.ForwardRefExoticComponent<HotspotImagePreviewProps & React.RefAttributes<HTMLDivElement>>;
25
27
  export {};
@@ -8,7 +8,11 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- import { type ImageValue } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/components/image/image';
11
+ export interface ImageValue {
12
+ type: 'asset';
13
+ id: number;
14
+ fullpath?: string;
15
+ }
12
16
  interface ImageFooterProps {
13
17
  emptyValue?: () => void;
14
18
  disabled?: boolean;
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import React from 'react';
11
11
  import type { ImageGalleryValueItem } from '../../image-gallery';
12
+ import { type DataTemplates } from '../../../../../../../../../../modules/element/components/hotspot-markers-modal/hotspot-markers-modal';
12
13
  interface ImageGalleryImagePreviewProps {
13
14
  item: ImageGalleryValueItem;
14
15
  index: number;
@@ -18,6 +19,9 @@ interface ImageGalleryImagePreviewProps {
18
19
  disabled?: boolean;
19
20
  width: string;
20
21
  height: string;
22
+ ratioX?: number;
23
+ ratioY?: number;
24
+ predefinedDataTemplates?: DataTemplates | string | null;
21
25
  }
22
- export declare const ImageGalleryImagePreview: ({ item, index, value, setInternalValue, setValue, disabled, width, height }: ImageGalleryImagePreviewProps) => React.JSX.Element;
26
+ export declare const ImageGalleryImagePreview: ({ item, index, value, setInternalValue, setValue, disabled, width, height, ratioX, ratioY, predefinedDataTemplates }: ImageGalleryImagePreviewProps) => React.JSX.Element;
23
27
  export {};
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import React from 'react';
11
11
  import { type ImageGalleryValue, type ImageGalleryValueItem } from '../../../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/components/image-gallery/image-gallery';
12
+ import { type DataTemplates } from '../../../../../../../../../../modules/element/components/hotspot-markers-modal/hotspot-markers-modal';
12
13
  export interface ImageGallerySortableItemProps {
13
14
  id: string;
14
15
  index: number;
@@ -19,5 +20,8 @@ export interface ImageGallerySortableItemProps {
19
20
  disabled?: boolean;
20
21
  width: string;
21
22
  height: string;
23
+ ratioX?: number;
24
+ ratioY?: number;
25
+ predefinedDataTemplates?: DataTemplates | string | null;
22
26
  }
23
- export declare const ImageGallerySortableItem: ({ id, index, item, value, setValue, setInternalValue, disabled, width, height }: ImageGallerySortableItemProps) => React.JSX.Element;
27
+ export declare const ImageGallerySortableItem: ({ id, index, item, value, setValue, setInternalValue, disabled, width, height, ratioX, ratioY, predefinedDataTemplates }: ImageGallerySortableItemProps) => React.JSX.Element;
@@ -11,6 +11,7 @@ import React from 'react';
11
11
  import { type ImageValue } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/components/image/image';
12
12
  import { type Hotspot, type Marker } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/hotspot-types';
13
13
  import { type CropSettings } from '../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/crop-types';
14
+ import { type DataTemplates } from '../../../../../../../../modules/element/components/hotspot-markers-modal/hotspot-markers-modal';
14
15
  export interface ImageGalleryProps {
15
16
  value?: ImageGalleryValue | null;
16
17
  onChange?: (value: ImageGalleryValue | null) => void;
@@ -18,6 +19,9 @@ export interface ImageGalleryProps {
18
19
  className?: string;
19
20
  width: string | number | null;
20
21
  height: string | number | null;
22
+ ratioX?: number;
23
+ ratioY?: number;
24
+ predefinedDataTemplates?: DataTemplates | string | null;
21
25
  }
22
26
  export type ImageGalleryValue = ImageGalleryValueItem[];
23
27
  export interface ImageGalleryValueItem {
@@ -9,6 +9,7 @@
9
9
  */
10
10
  import { type CropSettings } from '../../../../../../../../../modules/element/dynamic-types/definitions/objects/data-related/helpers/hotspot-image/types/crop-types';
11
11
  import { type IHotspot } from '../../../../../../../../../components/hotspot-image/hotspot-image';
12
- export declare const cropToHotspot: (crop?: CropSettings | null) => IHotspot;
12
+ export declare const enforceRatio: (hotspot: IHotspot, ratioX?: number, ratioY?: number, imageRatio?: number) => IHotspot;
13
+ export declare const cropToHotspot: (crop?: CropSettings | null, ratioX?: number, ratioY?: number, imageRatio?: number) => IHotspot;
13
14
  export declare const hotspotToCrop: (hotspot: IHotspot) => CropSettings;
14
- export declare const defaultCrop: () => CropSettings;
15
+ export declare const defaultCrop: (ratioX?: number, ratioY?: number, imageRatio?: number) => CropSettings;
@@ -8,7 +8,7 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- import { type FormProps } from 'antd';
11
+ import { type FormProps } from '../../../../../../../components/form/form';
12
12
  import { type ElementType } from '../../../../../../../types/enums/element/element-type';
13
13
  export interface AddNoteFormProps extends FormProps {
14
14
  elementType: ElementType;
@@ -153,6 +153,28 @@ export type Element = {
153
153
  /** elementType */
154
154
  elementType: string;
155
155
  };
156
+ export type DataProperty = {
157
+ /** AdditionalAttributes */
158
+ additionalAttributes?: {
159
+ [key: string]: string | number | boolean | object;
160
+ };
161
+ /** key */
162
+ key: string;
163
+ /** data */
164
+ data: any | null;
165
+ /** type */
166
+ type: string;
167
+ /** inheritable */
168
+ inheritable: boolean;
169
+ /** inherited */
170
+ inherited: boolean;
171
+ /** config */
172
+ config?: string | null;
173
+ /** predefinedName */
174
+ predefinedName?: string | null;
175
+ /** description */
176
+ description?: string | null;
177
+ };
156
178
  export type DataObjectVersion = Element & {
157
179
  /** AdditionalAttributes */
158
180
  additionalAttributes?: {
@@ -184,6 +206,8 @@ export type DataObjectVersion = Element & {
184
206
  objectData: object;
185
207
  /** Allow variants */
186
208
  allowVariants: boolean | null;
209
+ /** Properties */
210
+ properties?: DataProperty[];
187
211
  };
188
212
  export type DocumentVersion = {
189
213
  /** AdditionalAttributes */
@@ -884,7 +884,190 @@ export declare const useElementDeleteMutation: <R extends Record<string, any> =
884
884
  }) => R) | undefined;
885
885
  }) | undefined) => [R][R extends any ? 0 : never] & {
886
886
  refetch: () => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>>;
887
- }, useElementGetSubtypeQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
887
+ }, useLazyElementGetIdByPathQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
888
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
889
+ originalArgs?: undefined | undefined;
890
+ data?: undefined | undefined;
891
+ error?: undefined | undefined;
892
+ requestId?: undefined | undefined;
893
+ endpointName?: string | undefined;
894
+ startedTimeStamp?: undefined | undefined;
895
+ fulfilledTimeStamp?: undefined | undefined;
896
+ } & {
897
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
898
+ isUninitialized: false;
899
+ isLoading: false;
900
+ isFetching: false;
901
+ isSuccess: false;
902
+ isError: false;
903
+ }, "isUninitialized"> & {
904
+ isUninitialized: true;
905
+ }) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
906
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
907
+ isUninitialized: false;
908
+ isLoading: false;
909
+ isFetching: false;
910
+ isSuccess: false;
911
+ isError: false;
912
+ }, "data" | "isLoading" | "isFetching"> & {
913
+ isLoading: true;
914
+ isFetching: boolean;
915
+ data: undefined;
916
+ }) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
917
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
918
+ isUninitialized: false;
919
+ isLoading: false;
920
+ isFetching: false;
921
+ isSuccess: false;
922
+ isError: false;
923
+ }, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
924
+ isSuccess: true;
925
+ isFetching: true;
926
+ error: undefined;
927
+ } & {
928
+ data: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
929
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
930
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
931
+ isUninitialized: false;
932
+ isLoading: false;
933
+ isFetching: false;
934
+ isSuccess: false;
935
+ isError: false;
936
+ }, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
937
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
938
+ isUninitialized: false;
939
+ isLoading: false;
940
+ isFetching: false;
941
+ isSuccess: false;
942
+ isError: false;
943
+ }, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess" | "currentData"> & {
944
+ isSuccess: true;
945
+ isFetching: false;
946
+ error: undefined;
947
+ } & {
948
+ data: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
949
+ currentData: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
950
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
951
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
952
+ isUninitialized: false;
953
+ isLoading: false;
954
+ isFetching: false;
955
+ isSuccess: false;
956
+ isError: false;
957
+ }, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
958
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
959
+ isUninitialized: false;
960
+ isLoading: false;
961
+ isFetching: false;
962
+ isSuccess: false;
963
+ isError: false;
964
+ }, "error" | "isError"> & {
965
+ isError: true;
966
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
967
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
968
+ isUninitialized: false;
969
+ isLoading: false;
970
+ isFetching: false;
971
+ isSuccess: false;
972
+ isError: false;
973
+ }, "error">>)> & {
974
+ status: import("@reduxjs/toolkit/query").QueryStatus;
975
+ }>(options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & Omit<{
976
+ skip?: boolean;
977
+ selectFromResult?: ((state: import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
978
+ status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
979
+ originalArgs?: undefined | undefined;
980
+ data?: undefined | undefined;
981
+ error?: undefined | undefined;
982
+ requestId?: undefined | undefined;
983
+ endpointName?: string | undefined;
984
+ startedTimeStamp?: undefined | undefined;
985
+ fulfilledTimeStamp?: undefined | undefined;
986
+ } & {
987
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
988
+ isUninitialized: false;
989
+ isLoading: false;
990
+ isFetching: false;
991
+ isSuccess: false;
992
+ isError: false;
993
+ }, "isUninitialized"> & {
994
+ isUninitialized: true;
995
+ }) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
996
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
997
+ isUninitialized: false;
998
+ isLoading: false;
999
+ isFetching: false;
1000
+ isSuccess: false;
1001
+ isError: false;
1002
+ }, "data" | "isLoading" | "isFetching"> & {
1003
+ isLoading: true;
1004
+ isFetching: boolean;
1005
+ data: undefined;
1006
+ }) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1007
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1008
+ isUninitialized: false;
1009
+ isLoading: false;
1010
+ isFetching: false;
1011
+ isSuccess: false;
1012
+ isError: false;
1013
+ }, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
1014
+ isSuccess: true;
1015
+ isFetching: true;
1016
+ error: undefined;
1017
+ } & {
1018
+ data: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
1019
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1020
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1021
+ isUninitialized: false;
1022
+ isLoading: false;
1023
+ isFetching: false;
1024
+ isSuccess: false;
1025
+ isError: false;
1026
+ }, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1027
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1028
+ isUninitialized: false;
1029
+ isLoading: false;
1030
+ isFetching: false;
1031
+ isSuccess: false;
1032
+ isError: false;
1033
+ }, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess" | "currentData"> & {
1034
+ isSuccess: true;
1035
+ isFetching: false;
1036
+ error: undefined;
1037
+ } & {
1038
+ data: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
1039
+ currentData: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse;
1040
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1041
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1042
+ isUninitialized: false;
1043
+ isLoading: false;
1044
+ isFetching: false;
1045
+ isSuccess: false;
1046
+ isError: false;
1047
+ }, "fulfilledTimeStamp">>) | (Omit<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1048
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1049
+ isUninitialized: false;
1050
+ isLoading: false;
1051
+ isFetching: false;
1052
+ isSuccess: false;
1053
+ isError: false;
1054
+ }, "error" | "isError"> & {
1055
+ isError: true;
1056
+ } & Required<Pick<import("@reduxjs/toolkit/query").QuerySubState<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>> & {
1057
+ currentData?: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse | undefined;
1058
+ isUninitialized: false;
1059
+ isLoading: false;
1060
+ isFetching: false;
1061
+ isSuccess: false;
1062
+ isError: false;
1063
+ }, "error">>)> & {
1064
+ status: import("@reduxjs/toolkit/query").QueryStatus;
1065
+ }) => R) | undefined;
1066
+ }, "skip">) | undefined) => [(arg: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, preferCacheValue?: boolean) => import("@reduxjs/toolkit/query").QueryActionCreatorResult<import("@reduxjs/toolkit/query").QueryDefinition<import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError, {}, import("@reduxjs/toolkit/query").FetchBaseQueryMeta>, string, import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiResponse, "api", unknown>>, [R][R extends any ? 0 : never] & {
1067
+ reset: () => void;
1068
+ }, {
1069
+ lastArg: import("../../modules/element/element-api-slice.gen").ElementGetIdByPathApiArg;
1070
+ }], useElementGetSubtypeQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
888
1071
  status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
889
1072
  originalArgs?: undefined | undefined;
890
1073
  data?: undefined | undefined;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type ElementType } from '../../../types/enums/element/element-type';
11
+ interface UsePathToIdOptions {
12
+ trackErrors?: boolean;
13
+ }
14
+ interface UsePathToIdReturn {
15
+ convertPathToId: (elementType: ElementType, path: string) => Promise<number | null>;
16
+ isLoading: boolean;
17
+ }
18
+ export declare const usePathToId: (options?: UsePathToIdOptions) => UsePathToIdReturn;
19
+ export {};
@@ -9,7 +9,7 @@
9
9
  */
10
10
  import { AbstractProcessorRegistry, type Processor } from '../../../../modules/app/processor-registry/abstract-processor-registry';
11
11
  import { type Element } from '../../element-helper';
12
- import { type ElementIcon } from '../../../../modules/asset/asset-api-slice.gen';
12
+ import { type ElementIcon } from '../../../../../sdk/components';
13
13
  export declare class ElementIconContext {
14
14
  readonly element: Element;
15
15
  readonly defaultIcon: ElementIcon;
@@ -10,8 +10,8 @@
10
10
  import { type EmailLog } from '../../../../../modules/email/emails-api-slice.gen';
11
11
  import React from 'react';
12
12
  interface EmailPreviewProps {
13
- email: EmailLog;
13
+ id: EmailLog['id'];
14
14
  height?: number;
15
15
  }
16
- export declare const EmailPreview: ({ email, height }: EmailPreviewProps) => React.JSX.Element;
16
+ export declare const EmailPreview: ({ id, height }: EmailPreviewProps) => React.JSX.Element;
17
17
  export {};
@@ -10,7 +10,7 @@
10
10
  import { type EmailLog } from '../../../../../modules/email/emails-api-slice.gen';
11
11
  import React from 'react';
12
12
  interface ParametersTabProps {
13
- email: EmailLog;
13
+ id: EmailLog['id'];
14
14
  }
15
- export declare const ParametersTab: ({ email }: ParametersTabProps) => React.JSX.Element;
15
+ export declare const ParametersTab: ({ id }: ParametersTabProps) => React.JSX.Element;
16
16
  export {};
@@ -7,11 +7,11 @@
7
7
  * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
+ import { type formInstanceType } from '../../../../../components/form/form';
10
11
  import { type SendEmailParameters } from '../../../../../modules/email/emails-api-slice-enhanced';
11
- import { type FormInstance } from 'antd/lib';
12
12
  import React from 'react';
13
13
  export interface TestEmailModalProps {
14
14
  initialValues?: Partial<SendEmailParameters>;
15
- form: FormInstance<SendEmailParameters>;
15
+ form: formInstanceType<SendEmailParameters>;
16
16
  }
17
17
  export declare const SendTestMailForm: ({ initialValues, form }: TestEmailModalProps) => React.JSX.Element;