@pimcore/studio-ui-bundle 2025.4.2 → 2025.4.3

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 (184) hide show
  1. package/dist/build/types/src/core/app/api/pimcore/index.d.ts +4 -3
  2. package/dist/build/types/src/core/app/config/app-config.d.ts +1 -0
  3. package/dist/build/types/src/core/app/config/services/service-ids.d.ts +1 -0
  4. package/dist/build/types/src/core/bootstrap.d.ts +1 -0
  5. package/dist/build/types/src/core/components/element-tag/element-tag.d.ts +1 -0
  6. package/dist/build/types/src/core/components/element-tree/element-tree-slice.d.ts +4 -1
  7. package/dist/build/types/src/core/components/many-to-one-relation/path-target.styles.d.ts +1 -0
  8. package/dist/build/types/src/core/components/stack-list/stack-list-item.d.ts +1 -0
  9. package/dist/build/types/src/core/modules/app/mercure-api-slice.gen.d.ts +3 -3
  10. package/dist/build/types/src/core/modules/app/settings/settings-slice-enhanced.d.ts +117 -117
  11. package/dist/build/types/src/core/modules/app/settings/settings-slice.gen.d.ts +117 -117
  12. package/dist/build/types/src/core/modules/app/translations/translations-api-slice-enhanced.d.ts +700 -60
  13. package/dist/build/types/src/core/modules/app/translations/translations-api-slice.gen.d.ts +65 -65
  14. package/dist/build/types/src/core/modules/application-logger/application-logger-api-slice-enhanced.d.ts +49 -49
  15. package/dist/build/types/src/core/modules/application-logger/application-logger-api-slice.gen.d.ts +49 -49
  16. package/dist/build/types/src/core/modules/application-logger/application-logger.d.ts +5 -1
  17. package/dist/build/types/src/core/modules/application-logger/components/sidebar/tabs/filter/provider/filter-provider/filter-provider.d.ts +4 -1
  18. package/dist/build/types/src/core/modules/application-logger/components/table/table.d.ts +5 -1
  19. package/dist/build/types/src/core/modules/{field-definitions/dynamic-types/types/layout/fieldset/field-definition-fieldset-form-fields.d.ts → application-logger/tabs/object-tab/object-tab.d.ts} +3 -2
  20. package/dist/build/types/src/core/modules/asset/actions/zip-download/use-zip-download.d.ts +0 -1
  21. package/dist/build/types/src/core/modules/asset/asset-api-slice-enhanced.d.ts +226 -226
  22. package/dist/build/types/src/core/modules/asset/asset-api-slice.gen.d.ts +531 -531
  23. package/dist/build/types/src/core/modules/asset/asset-draft-slice.d.ts +130 -1
  24. package/dist/build/types/src/core/modules/asset/editor/shared-tab-manager/tabs/custom-metadata/metadata-api-slice-enhanced.d.ts +55 -55
  25. package/dist/build/types/src/core/modules/asset/editor/shared-tab-manager/tabs/custom-metadata/metadata-api-slice.gen.d.ts +55 -55
  26. package/dist/build/types/src/core/modules/asset/editor/types/asset-thumbnails-api-slice.gen.d.ts +109 -109
  27. package/dist/build/types/src/core/modules/asset/listing/listing-container.d.ts +15 -15
  28. package/dist/build/types/src/core/modules/auth/authorization-api-slice.gen.d.ts +7 -7
  29. package/dist/build/types/src/core/modules/auth/enums/user-permission.d.ts +2 -1
  30. package/dist/build/types/src/core/modules/auth/user/user-api-slice-enhanced.d.ts +39 -39
  31. package/dist/build/types/src/core/modules/auth/user/user-api-slice.gen.d.ts +201 -201
  32. package/dist/build/types/src/core/modules/bulk-import/components/bulk-import-modal/hooks/use-bulk-import.d.ts +1 -1
  33. package/dist/build/types/src/core/modules/bulk-import/jobs/bulk-import-job.d.ts +9 -2
  34. package/dist/build/types/src/core/modules/cache/cache-actions.d.ts +12 -0
  35. package/dist/build/types/src/core/modules/cache/cache-api-slice.gen.d.ts +509 -0
  36. package/dist/build/types/src/core/modules/cache/index.d.ts +10 -0
  37. package/dist/build/types/src/core/modules/class-definition/class-definition-slice-enhanced.d.ts +894 -709
  38. package/dist/build/types/src/core/modules/class-definition/class-definition-slice.gen.d.ts +910 -710
  39. package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice-enhanced.d.ts +273 -273
  40. package/dist/build/types/src/core/modules/data-object/classification-store/classification-store-api-slice.gen.d.ts +255 -255
  41. package/dist/build/types/src/core/modules/data-object/data-object-api-slice-enhanced.d.ts +76 -76
  42. package/dist/build/types/src/core/modules/data-object/data-object-api-slice.gen.d.ts +221 -219
  43. package/dist/build/types/src/core/modules/data-object/data-object-draft-slice.d.ts +118 -1
  44. package/dist/build/types/src/core/modules/data-object/listing/listing-container.d.ts +15 -15
  45. package/dist/build/types/src/core/modules/data-object/unit-slice-enhanced.d.ts +104 -104
  46. package/dist/build/types/src/core/modules/data-object/unit-slice.gen.d.ts +89 -89
  47. package/dist/build/types/src/core/modules/document/document-api-slice-enhanced.d.ts +266 -266
  48. package/dist/build/types/src/core/modules/document/document-api-slice.gen.d.ts +253 -253
  49. package/dist/build/types/src/core/modules/document/document-draft-slice.d.ts +120 -1
  50. package/dist/build/types/src/core/modules/document/tree/node/content/tree-node-static-generator-icon.d.ts +12 -0
  51. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-ui.d.ts +19 -0
  52. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-ui.styles.d.ts +13 -0
  53. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/combo-field-utils.d.ts +15 -0
  54. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/hooks/use-combo-field-data.d.ts +35 -0
  55. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/components/many-to-many-object-relation/components/combo-field/many-to-many-object-relation-combo-field.d.ts +12 -0
  56. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/label/suppress-empty-field-label-provider.d.ts +15 -0
  57. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/helpers/relations/utils/resolve-field-name.d.ts +19 -0
  58. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/data-related/types/dynamic-type-object-data-many-to-many-object-relation.d.ts +3 -1
  59. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/advanced-many-to-many-relation/advanced-many-to-many-relation.d.ts +9 -1
  60. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/relation-list/formatted-relation-list.d.ts +22 -0
  61. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/grid-cell-preview/relation-list/relation-list.d.ts +2 -1
  62. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/field-container/field-container.d.ts +3 -1
  63. package/dist/build/types/src/core/modules/element/dynamic-types/definitions/objects/layout-related/components/text/text.d.ts +1 -0
  64. package/dist/build/types/src/core/modules/element/editor/shared-components/workflow/menu/workflow-menu.styles.d.ts +12 -0
  65. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/dependencies/dependencies-api-slice-enhanced.d.ts +17 -17
  66. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/dependencies/dependencies-api-slice.gen.d.ts +17 -17
  67. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/notes-and-events-api-slice-enhanced.d.ts +53 -53
  68. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/notes-and-events/notes-and-events-api-slice.gen.d.ts +53 -53
  69. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/properties/properties-api-slice-enhanced.d.ts +38 -38
  70. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/properties/properties-api-slice.gen.d.ts +39 -39
  71. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/schedule/schedule-api-slice-enhanced.d.ts +39 -39
  72. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/schedule/schedule-api-slice.gen.d.ts +39 -39
  73. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice-enhanced.d.ts +46 -46
  74. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice.gen.d.ts +61 -61
  75. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice-enhanced.d.ts +59 -59
  76. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/versions/version-api-slice.gen.d.ts +91 -89
  77. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/workflow/workflow-api-slice-enhanced.d.ts +16 -16
  78. package/dist/build/types/src/core/modules/element/editor/shared-tab-manager/tabs/workflow/workflow-api-slice.gen.d.ts +19 -19
  79. package/dist/build/types/src/core/modules/element/element-api-slice-enhanced.d.ts +107 -107
  80. package/dist/build/types/src/core/modules/element/element-api-slice.gen.d.ts +119 -119
  81. package/dist/build/types/src/core/modules/element/export-api-slice.gen.d.ts +49 -49
  82. package/dist/build/types/src/core/modules/element/listing/decorators/utils/column-configuration/has-field-definition.d.ts +12 -0
  83. package/dist/build/types/src/core/modules/element/search-replace-assignments/usage-api-slice-enhanced.d.ts +19 -19
  84. package/dist/build/types/src/core/modules/element/search-replace-assignments/usage-api-slice.gen.d.ts +19 -19
  85. package/dist/build/types/src/core/modules/email/emails-api-slice-enhanced.d.ts +109 -109
  86. package/dist/build/types/src/core/modules/email/emails-api-slice.gen.d.ts +109 -109
  87. package/dist/build/types/src/core/modules/email/log/components/text-preview/text-preview.d.ts +2 -1
  88. package/dist/build/types/src/core/modules/execution-engine/app-loader/rehydrate-jobs-loader.d.ts +11 -0
  89. package/dist/build/types/src/core/modules/execution-engine/execution-engine-api-slice-enhanced.d.ts +17 -17
  90. package/dist/build/types/src/core/modules/execution-engine/execution-engine-api-slice.gen.d.ts +23 -21
  91. package/dist/build/types/src/core/modules/execution-engine/execution-engine-slice.d.ts +7 -0
  92. package/dist/build/types/src/core/modules/execution-engine/jobs/__tests__/job-rehydration.test.d.ts +10 -0
  93. package/dist/build/types/src/core/modules/execution-engine/jobs/abstact-job.d.ts +1 -0
  94. package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/abstract-batch-delete-job.d.ts +6 -2
  95. package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/asset-batch-delete-job.d.ts +4 -0
  96. package/dist/build/types/src/core/modules/execution-engine/jobs/batch-delete/data-object-batch-delete-job.d.ts +4 -0
  97. package/dist/build/types/src/core/modules/execution-engine/jobs/batch-edit/abstract-batch-edit-job.d.ts +13 -4
  98. package/dist/build/types/src/core/modules/execution-engine/jobs/batch-edit/abstract-folder-batch-edit-job.d.ts +6 -3
  99. package/dist/build/types/src/core/modules/execution-engine/jobs/clone/abstract-clone-job.d.ts +11 -2
  100. package/dist/build/types/src/core/modules/execution-engine/jobs/clone/asset-clone-job.d.ts +20 -0
  101. package/dist/build/types/src/core/modules/execution-engine/jobs/clone/data-object-clone-job.d.ts +24 -0
  102. package/dist/build/types/src/core/modules/execution-engine/jobs/clone/document-clone-job.d.ts +5 -0
  103. package/dist/build/types/src/core/modules/execution-engine/jobs/delete/element-delete-job.d.ts +5 -2
  104. package/dist/build/types/src/core/modules/execution-engine/jobs/download/abstract-download-job.d.ts +35 -0
  105. package/dist/build/types/src/core/modules/execution-engine/jobs/download/csv-download-job.d.ts +24 -0
  106. package/dist/build/types/src/core/modules/execution-engine/jobs/download/xlsx-download-job.d.ts +24 -0
  107. package/dist/build/types/src/core/modules/execution-engine/jobs/download/zip-download-job.d.ts +18 -0
  108. package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-delete-job.d.ts +6 -5
  109. package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-restore-job.d.ts +6 -2
  110. package/dist/build/types/src/core/modules/execution-engine/jobs/rehydration-helpers.d.ts +15 -0
  111. package/dist/build/types/src/core/modules/execution-engine/jobs/search-replace-assignments/search-replace-assignments-job.d.ts +5 -2
  112. package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/tag-assign-job.d.ts +5 -2
  113. package/dist/build/types/src/core/modules/execution-engine/jobs/zip-upload/zip-upload-job.d.ts +6 -2
  114. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/__tests__/message-bus-job-handler-polling.test.d.ts +10 -0
  115. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/job-run-polling.d.ts +1 -0
  116. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-handler-types.d.ts +2 -0
  117. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-handler.d.ts +3 -0
  118. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/message-bus-job-notification.d.ts +1 -0
  119. package/dist/build/types/src/core/modules/execution-engine/message-handlers/message-bus-job/step-tracker/child-job-step-tracker.d.ts +5 -0
  120. package/dist/build/types/src/core/modules/execution-engine/notification/job/job-view.d.ts +1 -0
  121. package/dist/build/types/src/core/modules/execution-engine/notification/job-list/job-list.styles.d.ts +1 -0
  122. package/dist/build/types/src/core/modules/execution-engine/services/execution-engine.d.ts +5 -9
  123. package/dist/build/types/src/core/modules/execution-engine/services/job-rehydration-registry.d.ts +22 -0
  124. package/dist/build/types/src/core/modules/field-definitions/components/editor/items/detail/refresh-provider.d.ts +20 -0
  125. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/_abstracts/use-sync-title-from-name.d.ts +10 -0
  126. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/classificationstore/dynamic-type-field-definition-classificationstore.d.ts +2 -1
  127. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/data/fieldcollections/dynamic-type-field-definition-fieldcollections.d.ts +0 -2
  128. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/accordion/dynamic-type-field-definition-accordion.d.ts +2 -0
  129. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/fieldcontainer/dynamic-type-field-definition-field-container.d.ts +2 -0
  130. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/fieldset/dynamic-type-field-definition-fieldset.d.ts +1 -2
  131. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/iframe/dynamic-type-field-definition-iframe.d.ts +2 -0
  132. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/region/dynamic-type-field-definition-region.d.ts +2 -0
  133. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/tabpanel/dynamic-type-field-definition-tabpanel.d.ts +2 -0
  134. package/dist/build/types/src/core/modules/field-definitions/dynamic-types/types/layout/text/dynamic-type-field-definition-text.d.ts +2 -0
  135. package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-api-slice.gen.d.ts +49 -49
  136. package/dist/build/types/src/core/modules/gdpr-data-extractor/gdpr-data-extractor-slice-enhanced.d.ts +79 -79
  137. package/dist/build/types/src/core/modules/notifications/notifications-slice-enhanced.d.ts +41 -41
  138. package/dist/build/types/src/core/modules/notifications/notifications-slice.gen.d.ts +73 -73
  139. package/dist/build/types/src/core/modules/perspectives/perspectives-slice.enhanced.d.ts +93 -93
  140. package/dist/build/types/src/core/modules/perspectives/perspectives-slice.gen.d.ts +93 -93
  141. package/dist/build/types/src/core/modules/recycle-bin/components/batch-actions/batch-actions.d.ts +1 -6
  142. package/dist/build/types/src/core/modules/recycle-bin/context/selected-items-context.d.ts +14 -1
  143. package/dist/build/types/src/core/modules/recycle-bin/hooks/use-recycle-bin.d.ts +2 -2
  144. package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-api-slice-enhanced.d.ts +23 -23
  145. package/dist/build/types/src/core/modules/recycle-bin/recycle-bin-api-slice.gen.d.ts +23 -23
  146. package/dist/build/types/src/core/modules/redirects/seo-api-slice-enhanced.d.ts +109 -109
  147. package/dist/build/types/src/core/modules/redirects/seo-api-slice.gen.d.ts +109 -109
  148. package/dist/build/types/src/core/modules/reports/custom-reports-api-slice-enhanced.d.ts +95 -95
  149. package/dist/build/types/src/core/modules/reports/custom-reports-api-slice.gen.d.ts +107 -107
  150. package/dist/build/types/src/core/modules/search/search-api-slice-enhanced.d.ts +15 -15
  151. package/dist/build/types/src/core/modules/search/search-api-slice.gen.d.ts +113 -113
  152. package/dist/build/types/src/core/modules/translations/components/cleanup-translations-button.d.ts +16 -0
  153. package/dist/build/types/src/core/modules/translations/components/export-translations-button.d.ts +19 -0
  154. package/dist/build/types/src/core/modules/translations/components/import-translations-button.d.ts +16 -0
  155. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/csv-settings-step.d.ts +22 -0
  156. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/file-select-step.d.ts +17 -0
  157. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/hooks/use-import-csv.d.ts +29 -0
  158. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/import-translations-modal.d.ts +18 -0
  159. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/import-translations-modal.styles.d.ts +15 -0
  160. package/dist/build/types/src/core/modules/translations/components/import-translations-modal/types.d.ts +17 -0
  161. package/dist/build/types/src/core/modules/translations/components/translation-merger/hooks/use-merger-columns.d.ts +18 -0
  162. package/dist/build/types/src/core/modules/translations/components/translation-merger/hooks/use-merger-rows.d.ts +38 -0
  163. package/dist/build/types/src/core/modules/translations/components/translation-merger/merger-data-store.d.ts +18 -0
  164. package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger-container.d.ts +11 -0
  165. package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger.d.ts +17 -0
  166. package/dist/build/types/src/core/modules/translations/components/translation-merger/translation-merger.styles.d.ts +12 -0
  167. package/dist/build/types/src/core/modules/translations/hooks/translation-domain-provider.d.ts +2 -1
  168. package/dist/build/types/src/core/modules/translations/translations-container.d.ts +4 -1
  169. package/dist/build/types/src/core/modules/translations/translations-container.styles.d.ts +12 -0
  170. package/dist/build/types/src/core/modules/translations/translations-wrapper.d.ts +5 -1
  171. package/dist/build/types/src/core/modules/user/hooks/use-merged-keybindings.d.ts +1 -1
  172. package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/components/special-settings-modal.d.ts +24 -0
  173. package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/workspace-type.d.ts +14 -0
  174. package/dist/build/types/src/core/modules/user/management/detail/tabs/workspaces/workspaces-container.d.ts +0 -5
  175. package/dist/build/types/src/core/modules/user/roles/roles-api-slice-enhanced.d.ts +43 -43
  176. package/dist/build/types/src/core/modules/user/roles/roles-api-slice.gen.d.ts +109 -109
  177. package/dist/build/types/src/core/modules/user/user-api-slice-enhanced.d.ts +198 -198
  178. package/dist/build/types/src/core/modules/website-settings/website-settings-api-slice-enhanced.d.ts +39 -39
  179. package/dist/build/types/src/core/modules/website-settings/website-settings-api-slice.gen.d.ts +39 -39
  180. package/dist/build/types/src/core/utils/css.d.ts +9 -0
  181. package/dist/build/types/src/core/utils/files.d.ts +7 -0
  182. package/package.json +1 -1
  183. package/dist/build/types/src/core/modules/execution-engine/jobs/clone/element-clone-job.d.ts +0 -28
  184. package/dist/build/types/src/core/modules/execution-engine/jobs/download/download-job.d.ts +0 -28
@@ -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 React from 'react';
11
+ interface CleanupTranslationsButtonProps {
12
+ domain: string;
13
+ onSuccess: () => void;
14
+ }
15
+ export declare const CleanupTranslationsButton: ({ domain, onSuccess }: CleanupTranslationsButtonProps) => React.JSX.Element;
16
+ export {};
@@ -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 React from 'react';
11
+ interface ExportTranslationsButtonProps {
12
+ domain: string;
13
+ filters?: {
14
+ columnFilters?: object;
15
+ sortFilter?: object;
16
+ };
17
+ }
18
+ export declare const ExportTranslationsButton: ({ domain, filters }: ExportTranslationsButtonProps) => React.JSX.Element;
19
+ export {};
@@ -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 React from 'react';
11
+ interface ImportTranslationsButtonProps {
12
+ domain: string;
13
+ onSuccess: () => void;
14
+ }
15
+ export declare const ImportTranslationsButton: ({ domain, onSuccess }: ImportTranslationsButtonProps) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,22 @@
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 formInstanceType } from '../../../../../sdk/components';
12
+ import type { CsvSettings } from './types';
13
+ interface CsvSettingsStepProps {
14
+ selectedFile: File;
15
+ isDetecting: boolean;
16
+ isImporting: boolean;
17
+ csvSettings: CsvSettings | null;
18
+ form: formInstanceType<CsvSettings>;
19
+ onBack: () => void;
20
+ }
21
+ export declare const CsvSettingsStep: ({ selectedFile, isDetecting, isImporting, csvSettings, form, onBack }: CsvSettingsStepProps) => React.JSX.Element;
22
+ export {};
@@ -0,0 +1,17 @@
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
+ interface FileSelectStepProps {
12
+ isImporting: boolean;
13
+ fileError: string | null;
14
+ onFileSelect: (file: File) => void;
15
+ }
16
+ export declare const FileSelectStep: ({ isImporting, fileError, onFileSelect }: FileSelectStepProps) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,29 @@
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 formInstanceType } from '../../../../../../sdk/components';
11
+ import type { CsvSettings, ModalStep } from '../types';
12
+ interface UseImportCsvReturn {
13
+ selectedFile: File | null;
14
+ step: ModalStep;
15
+ csvSettings: CsvSettings | null;
16
+ isDetecting: boolean;
17
+ isImporting: boolean;
18
+ fileError: string | null;
19
+ form: formInstanceType<CsvSettings>;
20
+ fileInputRef: React.RefObject<HTMLInputElement>;
21
+ handleFileSelect: (file: File) => void;
22
+ handleUpload: () => Promise<void>;
23
+ handleCancel: () => void;
24
+ handleBack: () => void;
25
+ handleBrowseClick: () => void;
26
+ handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
27
+ }
28
+ export declare const useImportCsv: (domain: string, open: boolean, onCancel: () => void, onSuccess: () => void) => UseImportCsvReturn;
29
+ export {};
@@ -0,0 +1,18 @@
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
+ interface ImportTranslationsModalProps {
12
+ open: boolean;
13
+ domain: string;
14
+ onCancel: () => void;
15
+ onSuccess: () => void;
16
+ }
17
+ export declare const ImportTranslationsModal: ({ open, domain, onCancel, onSuccess }: ImportTranslationsModalProps) => React.JSX.Element;
18
+ export {};
@@ -0,0 +1,15 @@
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
+ uploadedFile: import("antd-style").SerializedStyles;
12
+ draggerContent: import("antd-style").SerializedStyles;
13
+ fileError: import("antd-style").SerializedStyles;
14
+ spinnerContainer: import("antd-style").SerializedStyles;
15
+ }>;
@@ -0,0 +1,17 @@
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 interface CsvSettings {
11
+ delimiter: string;
12
+ quoteChar: string;
13
+ escapeChar: string;
14
+ lineTerminator: string;
15
+ }
16
+ export type ModalStep = 'file-select' | 'csv-settings';
17
+ export declare const DEFAULT_CSV_SETTINGS: CsvSettings;
@@ -0,0 +1,18 @@
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 { ColumnsType } from 'antd/es/table';
11
+ import type { MergerRow } from './use-merger-rows';
12
+ interface UseMergerColumnsProps {
13
+ loadingRows: Set<string>;
14
+ applyRow: (row: MergerRow) => Promise<void>;
15
+ revertRow: (row: MergerRow) => Promise<void>;
16
+ }
17
+ export declare const useMergerColumns: ({ loadingRows, applyRow, revertRow }: UseMergerColumnsProps) => ColumnsType<MergerRow>;
18
+ export {};
@@ -0,0 +1,38 @@
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 { DeltaItem } from '../../../../app/translations/translations-api-slice.gen';
11
+ export type RowState = 'pending' | 'applied' | 'reverted';
12
+ export interface MergerRow {
13
+ key: string;
14
+ translationKey: string;
15
+ locale: string;
16
+ currentTranslation: string;
17
+ importTranslation: string;
18
+ state: RowState;
19
+ }
20
+ interface UseMergerRowsReturn {
21
+ rows: MergerRow[];
22
+ loadingRows: Set<string>;
23
+ applyableCount: number;
24
+ revertableCount: number;
25
+ paginatedRows: MergerRow[];
26
+ currentPage: number;
27
+ pageSize: number;
28
+ totalRows: number;
29
+ setCurrentPage: (page: number) => void;
30
+ setPageSize: (size: number) => void;
31
+ applyRow: (row: MergerRow) => Promise<void>;
32
+ revertRow: (row: MergerRow) => Promise<void>;
33
+ applyAll: () => Promise<void>;
34
+ revertAll: () => Promise<void>;
35
+ resetRows: () => void;
36
+ }
37
+ export declare const useMergerRows: (domain: string, deltaItems: DeltaItem[]) => UseMergerRowsReturn;
38
+ export {};
@@ -0,0 +1,18 @@
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 { DeltaItem } from '../../../app/translations/translations-api-slice.gen';
11
+ interface MergerData {
12
+ domain: string;
13
+ deltaItems: DeltaItem[];
14
+ }
15
+ export declare const setMergerData: (data: MergerData) => void;
16
+ export declare const getMergerData: () => MergerData | null;
17
+ export declare const clearMergerData: () => void;
18
+ export {};
@@ -0,0 +1,11 @@
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
+ export declare const TranslationMergerContainer: () => React.JSX.Element;
@@ -0,0 +1,17 @@
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 { DeltaItem } from '../../../app/translations/translations-api-slice.gen';
12
+ interface TranslationMergerProps {
13
+ domain: string;
14
+ deltaItems: DeltaItem[];
15
+ }
16
+ export declare const TranslationMerger: ({ domain, deltaItems }: TranslationMergerProps) => React.JSX.Element;
17
+ export {};
@@ -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
+ mergerContainer: import("antd-style").SerializedStyles;
12
+ }>;
@@ -15,6 +15,7 @@ export interface DomainContext {
15
15
  export declare const TranslationDomainContext: React.Context<DomainContext>;
16
16
  export interface TranslationDomainProviderProps {
17
17
  children: React.ReactNode;
18
+ initialDomain?: string;
18
19
  }
19
- export declare const TranslationDomainProvider: ({ children }: TranslationDomainProviderProps) => React.JSX.Element;
20
+ export declare const TranslationDomainProvider: ({ children, initialDomain }: TranslationDomainProviderProps) => React.JSX.Element;
20
21
  export declare const useTranslationDomain: () => DomainContext;
@@ -8,4 +8,7 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- export declare const TranslationsContainer: () => React.JSX.Element;
11
+ export interface TranslationsContainerProps {
12
+ initialSearchTerm?: string;
13
+ }
14
+ export declare const TranslationsContainer: ({ initialSearchTerm }: TranslationsContainerProps) => 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
+ translationsContainer: import("antd-style").SerializedStyles;
12
+ }>;
@@ -8,4 +8,8 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- export declare const TranslationsWrapper: () => React.JSX.Element;
11
+ export interface TranslationsWrapperProps {
12
+ initialDomain?: string;
13
+ initialSearchTerm?: string;
14
+ }
15
+ export declare const TranslationsWrapper: ({ initialDomain, initialSearchTerm }: TranslationsWrapperProps) => React.JSX.Element;
@@ -15,5 +15,5 @@ interface UseMergedKeyBindingsReturn {
15
15
  /**
16
16
  * Hook that merges user keybindings with default keybindings
17
17
  */
18
- export declare const useMergedKeyBindings: (userKeyBindings?: KeyBindingForAUser[]) => UseMergedKeyBindingsReturn;
18
+ export declare const useMergedKeyBindings: (userKeyBindings?: KeyBindingForAUser[], userId?: number) => UseMergedKeyBindingsReturn;
19
19
  export {};
@@ -0,0 +1,24 @@
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
+ export interface SpecialSettingsValues {
12
+ layouts: string[];
13
+ localizedEdit: string[];
14
+ localizedView: string[];
15
+ }
16
+ interface ISpecialSettingsModalProps {
17
+ open: boolean;
18
+ cpath: string;
19
+ initialValues: SpecialSettingsValues;
20
+ onCancel: () => void;
21
+ onApply: (values: SpecialSettingsValues) => void;
22
+ }
23
+ declare const SpecialSettingsModal: ({ open, cpath, initialValues, onCancel, onApply }: ISpecialSettingsModalProps) => React.JSX.Element;
24
+ export { SpecialSettingsModal };
@@ -0,0 +1,14 @@
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 enum WorkspaceType {
11
+ DOCUMENT = "document",
12
+ ASSET = "asset",
13
+ OBJECT = "object"
14
+ }
@@ -8,11 +8,6 @@
8
8
  * @license Pimcore Open Core License (POCL)
9
9
  */
10
10
  import React from 'react';
11
- export declare enum WorkspaceType {
12
- DOCUMENT = "document",
13
- ASSET = "asset",
14
- OBJECT = "object"
15
- }
16
11
  declare const WorkspacesContainer: ({ ...props }: {
17
12
  [x: string]: any;
18
13
  }) => React.JSX.Element;