@crystaldesign/diva-backoffice 26.14.0-beta.3 → 26.14.0-beta.31

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 (191) hide show
  1. package/build/esm/index.js +11569 -8306
  2. package/build/types/backoffice/src/config/imageFormats.d.ts +5 -0
  3. package/build/types/backoffice/src/config/imageFormats.d.ts.map +1 -0
  4. package/build/types/backoffice/src/layout/MainLayout.d.ts.map +1 -1
  5. package/build/types/backoffice/src/layout/Navigation/types.d.ts +1 -1
  6. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts +4 -3
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts.map +1 -1
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts +1 -3
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts +1 -3
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts.map +1 -1
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts +73 -0
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts.map +1 -0
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/index.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts +0 -2
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts.map +1 -1
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts +3 -4
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts.map +1 -1
  20. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts +4 -4
  21. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts.map +1 -1
  22. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts +2 -7
  23. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts.map +1 -1
  24. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts +0 -1
  25. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts.map +1 -1
  26. package/build/types/backoffice/src/layout/Toolbar/Tools/ConfigSettings/index.d.ts +20 -0
  27. package/build/types/backoffice/src/layout/Toolbar/Tools/ConfigSettings/index.d.ts.map +1 -0
  28. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
  29. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  30. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  31. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  32. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts +2 -0
  33. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts.map +1 -0
  34. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts +2 -0
  35. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts.map +1 -0
  36. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/useCatalogVersionDialog.test.d.ts +2 -0
  37. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/useCatalogVersionDialog.test.d.ts.map +1 -0
  38. package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts +2 -0
  39. package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts.map +1 -0
  40. package/build/types/backoffice/src/tests/unit/ui/Form/inheritance.test.d.ts +2 -0
  41. package/build/types/backoffice/src/tests/unit/ui/Form/inheritance.test.d.ts.map +1 -0
  42. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts +2 -0
  43. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts.map +1 -0
  44. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts +2 -0
  45. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts.map +1 -0
  46. package/build/types/backoffice/src/tests/unit/ui/JsonEditor/configSchema.test.d.ts +2 -0
  47. package/build/types/backoffice/src/tests/unit/ui/JsonEditor/configSchema.test.d.ts.map +1 -0
  48. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts +2 -0
  49. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts.map +1 -0
  50. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts +2 -0
  51. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts.map +1 -0
  52. package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts +2 -0
  53. package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts.map +1 -0
  54. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts +12 -3
  55. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts.map +1 -1
  56. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts +15 -0
  57. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts +39 -0
  59. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts.map +1 -0
  60. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts +8 -4
  61. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts.map +1 -1
  62. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts +3 -3
  63. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts.map +1 -1
  64. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts +17 -0
  65. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts.map +1 -0
  66. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  67. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts +0 -9
  68. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
  69. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts +8 -0
  70. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts.map +1 -0
  71. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +8 -1
  72. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
  73. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts +11 -0
  74. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts.map +1 -0
  75. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  76. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +20 -1
  77. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  78. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts +11 -1
  79. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts.map +1 -1
  80. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts +51 -0
  81. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts.map +1 -0
  82. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts +26 -0
  83. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts.map +1 -0
  84. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts +87 -0
  85. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts.map +1 -0
  86. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +6 -0
  87. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
  88. package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts +8 -2
  89. package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts.map +1 -1
  90. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  91. package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts +2 -0
  92. package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts.map +1 -0
  93. package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts +2 -0
  94. package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts.map +1 -0
  95. package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts +2 -0
  96. package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts.map +1 -0
  97. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +25 -0
  98. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
  99. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  100. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/{publishedKeyChangeReview.d.ts → publishedKeyChangeCheck.d.ts} +8 -15
  101. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeCheck.d.ts.map +1 -0
  102. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +9 -4
  103. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -1
  104. package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts +10 -0
  105. package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts.map +1 -0
  106. package/build/types/backoffice/src/ui/CommonComponents/useCatalogVersionDialog.d.ts +12 -3
  107. package/build/types/backoffice/src/ui/CommonComponents/useCatalogVersionDialog.d.ts.map +1 -1
  108. package/build/types/backoffice/src/ui/Form/InheritedValue.d.ts +16 -0
  109. package/build/types/backoffice/src/ui/Form/InheritedValue.d.ts.map +1 -0
  110. package/build/types/backoffice/src/ui/Form/formErrorText.d.ts +12 -0
  111. package/build/types/backoffice/src/ui/Form/formErrorText.d.ts.map +1 -0
  112. package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
  113. package/build/types/backoffice/src/ui/Form/inheritance.d.ts +35 -0
  114. package/build/types/backoffice/src/ui/Form/inheritance.d.ts.map +1 -0
  115. package/build/types/backoffice/src/ui/Form/types.d.ts +8 -0
  116. package/build/types/backoffice/src/ui/Form/types.d.ts.map +1 -1
  117. package/build/types/backoffice/src/ui/Form/useInheritance.d.ts +11 -0
  118. package/build/types/backoffice/src/ui/Form/useInheritance.d.ts.map +1 -0
  119. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  120. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  121. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
  122. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  123. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts +6 -0
  124. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts.map +1 -0
  125. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  126. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  127. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts +41 -0
  128. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts.map +1 -0
  129. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +9 -0
  130. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -1
  131. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts +3 -0
  132. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts.map +1 -0
  133. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -1
  134. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts +21 -0
  135. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts.map +1 -0
  136. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  137. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts +27 -0
  138. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts.map +1 -0
  139. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts +9 -0
  140. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts.map +1 -0
  141. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePrices/index.d.ts.map +1 -1
  142. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
  143. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
  144. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +4 -1
  145. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -1
  146. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
  147. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  148. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +2 -0
  149. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  150. package/build/types/backoffice/src/ui/IDMFeaturesEditor/Tables/Features.d.ts.map +1 -1
  151. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/Tables/Features.d.ts.map +1 -1
  152. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/Tables/Options.d.ts.map +1 -1
  153. package/build/types/backoffice/src/ui/JsonEditor/configSchema.d.ts +91 -0
  154. package/build/types/backoffice/src/ui/JsonEditor/configSchema.d.ts.map +1 -0
  155. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +2 -0
  156. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts +4 -0
  158. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts.map +1 -1
  159. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  160. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts +18 -0
  161. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts.map +1 -0
  162. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts +5 -2
  163. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts.map +1 -1
  164. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts +30 -0
  165. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts.map +1 -0
  166. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts +7 -2
  167. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts.map +1 -1
  168. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/index.d.ts.map +1 -1
  169. package/build/types/backoffice/src/ui/TableRenderJobs/config.d.ts.map +1 -1
  170. package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts +15 -1
  171. package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts.map +1 -1
  172. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -1
  173. package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
  174. package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts +15 -0
  175. package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts.map +1 -0
  176. package/build/types/backoffice/src/ui/TreeChart/types.d.ts +2 -0
  177. package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
  178. package/package.json +14 -15
  179. package/build/types/backoffice/src/config/promptTesterOptions.d.ts +0 -19
  180. package/build/types/backoffice/src/config/promptTesterOptions.d.ts.map +0 -1
  181. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts +0 -5
  182. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts.map +0 -1
  183. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts +0 -11
  184. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts.map +0 -1
  185. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts +0 -25
  186. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts.map +0 -1
  187. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts +0 -63
  188. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts.map +0 -1
  189. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeReview.test.d.ts +0 -2
  190. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeReview.test.d.ts.map +0 -1
  191. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeReview.d.ts.map +0 -1
@@ -1,63 +0,0 @@
1
- /**
2
- * Thin layer over `@google/genai` that turns the AI tester's prompts into Gemini
3
- * wire types and runs `models.generateContent`.
4
- */
5
- import type { Content, GoogleGenAI, Part } from '@google/genai';
6
- /** Aspect ratios supported by Gemini image-capable models (per Google docs). */
7
- export declare const ASPECT_RATIOS_FULL: readonly ["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"];
8
- /** Subset accepted by `gemini-3-pro-image-preview` (no 4:5/5:4 per docs). */
9
- export declare const ASPECT_RATIOS_COMMON: readonly ["1:1", "2:3", "3:2", "3:4", "4:3", "9:16", "16:9", "21:9"];
10
- /** All four image sizes — only `gemini-3.1-flash-image-preview` supports `512`. */
11
- export declare const IMAGE_SIZES_FULL: readonly ["512", "1K", "2K", "4K"];
12
- /** Sizes for models that don't support `512`. */
13
- export declare const IMAGE_SIZES_COMMON: readonly ["1K", "2K", "4K"];
14
- export declare const DEFAULT_ASPECT_RATIO = "1:1";
15
- export declare const DEFAULT_IMAGE_SIZE = "1K";
16
- /** Map a model id to the aspect-ratio + image-size options the UI should expose. */
17
- export declare function optionsForModel(model: string): {
18
- aspectRatios: readonly string[];
19
- imageSizes: readonly string[];
20
- };
21
- /**
22
- * Placeholder substituted with the user's typed prompt when wrapping.
23
- * Exposed so the settings UI can show the user what token to keep.
24
- */
25
- export declare const PRESERVE_PROMPT_PLACEHOLDER = "{prompt}";
26
- export declare const DEFAULT_PRESERVE_PROMPT_TEMPLATE: string;
27
- export declare function wrapPreservePrompt(userText: string, template?: string, extraReferenceCount?: number): string;
28
- export declare function imageIdsToParts(imageIds: string[]): Promise<Part[]>;
29
- /**
30
- * Build the single-turn `Content[]` payload for `models.generateContent`.
31
- *
32
- * The `text` should already be wrapped with `wrapPreservePrompt` for follow-ups.
33
- */
34
- export declare function buildContents(opts: {
35
- text: string;
36
- referenceImageIds: string[];
37
- }): Promise<Content[]>;
38
- export interface GenerateImageOptions {
39
- ai: GoogleGenAI;
40
- model: string;
41
- contents: Content[];
42
- aspectRatio?: string;
43
- imageSize?: string;
44
- /** Gemini sampling temperature (omit for SDK default ~1). */
45
- temperature?: number;
46
- signal?: AbortSignal;
47
- }
48
- export interface GeneratedImage {
49
- /** `image/png`, `image/jpeg`, ... */
50
- mimeType: string;
51
- /** Base64-encoded image bytes (no `data:` prefix). */
52
- base64: string;
53
- }
54
- export interface GenerateImageResult {
55
- images: GeneratedImage[];
56
- /** Concatenated visible (non-`thought`) text the model returned, for diagnostics. */
57
- text?: string;
58
- }
59
- /** Call `models.generateContent` and pluck the inline image parts from the response. */
60
- export declare function generateImage(opts: GenerateImageOptions): Promise<GenerateImageResult>;
61
- /** Convert a `GeneratedImage` into a `Blob` ready for IndexedDB. */
62
- export declare function generatedImageToBlob(g: GeneratedImage): Blob;
63
- //# sourceMappingURL=gemini.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gemini.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/gemini.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,OAAO,EAA2B,WAAW,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAKzF,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,oFAAqF,CAAC;AAErH,6EAA6E;AAC7E,eAAO,MAAM,oBAAoB,sEAAuE,CAAC;AAEzG,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AACnE,iDAAiD;AACjD,eAAO,MAAM,kBAAkB,6BAA8B,CAAC;AAE9D,eAAO,MAAM,oBAAoB,QAAQ,CAAC;AAC1C,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAEvC,oFAAoF;AACpF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG;IAC9C,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/B,CAQA;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,eAAO,MAAM,gCAAgC,QAIX,CAAC;AAEnC,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAyC,EAAE,mBAAmB,SAAI,GAAG,MAAM,CAgBzI;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAQzE;AAQD;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAK3G;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,WAAW,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,qFAAqF;IACrF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wFAAwF;AACxF,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CA+B5F;AAED,oEAAoE;AACpE,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI,CAK5D"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=publishedKeyChangeReview.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"publishedKeyChangeReview.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/CommonComponents/publishedKeyChangeReview.test.tsx"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"publishedKeyChangeReview.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeReview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGtD,4FAA4F;AAC5F,UAAU,SAAS;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CACzD;AAED,qEAAqE;AACrE,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB;AAKD,UAAU,sBAAsB;IAC9B,iHAAiH;IACjH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gBAAgB,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACzC,kGAAkG;IAClG,YAAY,EAAE,MAAM,OAAO,CAAC;IAC5B,CAAC,EAAE,SAAS,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAChB;AAKD,qFAAqF;AACrF,eAAO,MAAM,WAAW,QAAS,SAAS,aAAa,MAAM,EAAE,KAAG,SAAS,EAKvE,CAAC;AAKL;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,sBAAsB;sBAI1C;QAAE,MAAM,CAAC,EAAE,SAAS,EAAE,CAAA;KAAE,cAAa,OAAO,EAAE,KAAQ,OAAO,CAAC,MAAM,EAAE,CAAC;wBA6BjE,SAAS;EAC/C"}