@crystaldesign/diva-backoffice 26.14.0-beta.3 → 26.14.0-beta.30
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.
- package/build/esm/index.js +11547 -8304
- package/build/types/backoffice/src/config/imageFormats.d.ts +5 -0
- package/build/types/backoffice/src/config/imageFormats.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/MainLayout.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Navigation/types.d.ts +1 -1
- package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts +4 -3
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts +1 -3
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts +1 -3
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts +73 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts +0 -2
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts +3 -4
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts +4 -4
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts +2 -7
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts +0 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/ConfigSettings/index.d.ts +20 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/ConfigSettings/index.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/useCatalogVersionDialog.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/useCatalogVersionDialog.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/Form/inheritance.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/Form/inheritance.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/JsonEditor/configSchema.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/JsonEditor/configSchema.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts +12 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts +15 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts +39 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts +8 -4
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts +3 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts +17 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts +0 -9
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts +8 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +8 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts +11 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +20 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts +11 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts +51 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts +26 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts +87 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +6 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts +8 -2
- package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +25 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/{publishedKeyChangeReview.d.ts → publishedKeyChangeCheck.d.ts} +8 -15
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeCheck.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +9 -4
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts +10 -0
- package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/useCatalogVersionDialog.d.ts +12 -3
- package/build/types/backoffice/src/ui/CommonComponents/useCatalogVersionDialog.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/InheritedValue.d.ts +16 -0
- package/build/types/backoffice/src/ui/Form/InheritedValue.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/Form/formErrorText.d.ts +12 -0
- package/build/types/backoffice/src/ui/Form/formErrorText.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/inheritance.d.ts +35 -0
- package/build/types/backoffice/src/ui/Form/inheritance.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/Form/types.d.ts +8 -0
- package/build/types/backoffice/src/ui/Form/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/useInheritance.d.ts +11 -0
- package/build/types/backoffice/src/ui/Form/useInheritance.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts +6 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts +41 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +9 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts +21 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts +27 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts +9 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePrices/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +2 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/Tables/Features.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/Tables/Features.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/Tables/Options.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/JsonEditor/configSchema.d.ts +91 -0
- package/build/types/backoffice/src/ui/JsonEditor/configSchema.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +2 -0
- package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts +4 -0
- package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts +18 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts +5 -2
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts +30 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts +7 -2
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/config.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts +15 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts +15 -0
- package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/TreeChart/types.d.ts +2 -0
- package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
- package/package.json +14 -15
- package/build/types/backoffice/src/config/promptTesterOptions.d.ts +0 -19
- package/build/types/backoffice/src/config/promptTesterOptions.d.ts.map +0 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts +0 -5
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts.map +0 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts +0 -11
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts.map +0 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts +0 -25
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts.map +0 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts +0 -63
- package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts.map +0 -1
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeReview.test.d.ts +0 -2
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeReview.test.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeReview.d.ts.map +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Aspect ratios supported by Gemini image-capable models (per Google docs). */
|
|
2
|
+
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"];
|
|
3
|
+
/** All four image sizes — only `gemini-3.1-flash-image-preview` supports `512`. */
|
|
4
|
+
export declare const IMAGE_SIZES_FULL: readonly ["512", "1K", "2K", "4K"];
|
|
5
|
+
//# sourceMappingURL=imageFormats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageFormats.d.ts","sourceRoot":"","sources":["../../../../../src/config/imageFormats.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,oFAAqF,CAAC;AAErH,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,oCAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/layout/MainLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/layout/MainLayout.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAgBjD,UAAU,KAAK;IACb,yDAAyD;IACzD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,qDAAqD;IACrD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;mDAE0E,KAAK;;;AA8ChF,wBAAoC"}
|
|
@@ -49,7 +49,7 @@ export interface Tool<T = any, P = any> {
|
|
|
49
49
|
name: string;
|
|
50
50
|
where?: 'right' | 'bottom';
|
|
51
51
|
}
|
|
52
|
-
export type ToolType = 'Configurator' | 'ContentItem' | 'InformationWindow' | 'AiPromptImageTester' | 'DivaAgent';
|
|
52
|
+
export type ToolType = 'Configurator' | 'ContentItem' | 'InformationWindow' | 'AiPromptImageTester' | 'DivaAgent' | 'ConfigSettings';
|
|
53
53
|
export interface ToolProps<T = any, P = any> {
|
|
54
54
|
tool: Tool<T, P>;
|
|
55
55
|
toolbar: ToolBarStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAEpD,sEAAsE;AACtE,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG;IAAE,IAAI,EAAE,MAAM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AM,WAAW,WAAW;IAC1B,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACf;AACD,MAAM,WAAW,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAC1C,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2HAA2H;IAC3H,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC5B;AAED,MAAM,MAAM,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,mBAAmB,GAAG,qBAAqB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAErI,MAAM,WAAW,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG;IACzC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACjB,OAAO,EAAE,YAAY,CAAC;CACvB"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type ImageModel } from './generation';
|
|
2
3
|
import type { ConversationSettings, ReferenceImageRecord } from './storage';
|
|
3
4
|
interface Props {
|
|
4
5
|
settings: ConversationSettings;
|
|
6
|
+
/** Image models of the AI service; empty until they are loaded. */
|
|
7
|
+
models: ImageModel[];
|
|
5
8
|
onSettingsChange: (patch: Partial<ConversationSettings>) => void;
|
|
6
9
|
refs: ReferenceImageRecord[];
|
|
7
10
|
refUrls: Record<string, string>;
|
|
@@ -17,14 +20,12 @@ interface Props {
|
|
|
17
20
|
onEditingDraftTextChange: (next: string) => void;
|
|
18
21
|
onCancelEdit: () => void;
|
|
19
22
|
onSend: (text: string) => void;
|
|
20
|
-
hasApiKey: boolean;
|
|
21
|
-
onRequestApiKey: () => void;
|
|
22
23
|
preservePromptTemplate: string;
|
|
23
24
|
/** `true` when the active template differs from the shipped default. */
|
|
24
25
|
preservePromptIsCustom: boolean;
|
|
25
26
|
onPreservePromptTemplateChange: (next: string) => void;
|
|
26
27
|
onResetPreservePromptTemplate: () => void;
|
|
27
28
|
}
|
|
28
|
-
export declare function ChatComposer({ settings, onSettingsChange, refs, refUrls, selectedRefIds, toggleRefSelection, clearRefSelection, onReferenceUpload, onRemoveReference, pending, isFollowUp, editingMessageId, editingDraftText, onEditingDraftTextChange, onCancelEdit, onSend,
|
|
29
|
+
export declare function ChatComposer({ settings, models, onSettingsChange, refs, refUrls, selectedRefIds, toggleRefSelection, clearRefSelection, onReferenceUpload, onRemoveReference, pending, isFollowUp, editingMessageId, editingDraftText, onEditingDraftTextChange, onCancelEdit, onSend, preservePromptTemplate, preservePromptIsCustom, onPreservePromptTemplateChange, onResetPreservePromptTemplate, }: Props): React.JSX.Element;
|
|
29
30
|
export {};
|
|
30
31
|
//# sourceMappingURL=ChatComposer.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatComposer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,KAAK,UAAU,EAA0D,MAAM,cAAc,CAAC;AAiBvG,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAE5E,UAAU,KAAK;IACb,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,mEAAmE;IACnE,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,oBAAoB,CAAC,KAAK,IAAI,CAAC;IACjE,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,iBAAiB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAC3C,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,OAAO,CAAC;IAEjB,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAE/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wEAAwE;IACxE,sBAAsB,EAAE,OAAO,CAAC;IAChC,8BAA8B,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,6BAA6B,EAAE,MAAM,IAAI,CAAC;CAC3C;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,MAAM,EACN,gBAAgB,EAChB,IAAI,EACJ,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,EACZ,MAAM,EACN,sBAAsB,EACtB,sBAAsB,EACtB,8BAA8B,EAC9B,6BAA6B,GAC9B,EAAE,KAAK,qBA0NP"}
|
|
@@ -8,14 +8,12 @@ interface Props {
|
|
|
8
8
|
onEdit: (messageId: string) => void;
|
|
9
9
|
editingMessageId: string | null;
|
|
10
10
|
onOpenFullscreen: (initialReadyImageIndex: number) => void;
|
|
11
|
-
hasApiKey: boolean;
|
|
12
|
-
onOpenApiKey: () => void;
|
|
13
11
|
}
|
|
14
12
|
/**
|
|
15
13
|
* Chat-style timeline. User and assistant turns are rendered as bubbles with their attached
|
|
16
14
|
* images. The fullscreen viewer index is computed by counting all `ready` model images that
|
|
17
15
|
* appear in the thread before the clicked one.
|
|
18
16
|
*/
|
|
19
|
-
export declare function ChatThread({ messages, onAbort, onRetry, onDelete, onEdit, editingMessageId, onOpenFullscreen
|
|
17
|
+
export declare function ChatThread({ messages, onAbort, onRetry, onDelete, onEdit, editingMessageId, onOpenFullscreen }: Props): React.JSX.Element;
|
|
20
18
|
export {};
|
|
21
19
|
//# sourceMappingURL=ChatThread.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatThread.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatThread.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAwBjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG/C,UAAU,KAAK;IACb,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,CAAC,sBAAsB,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,EAAE,KAAK,qBA6IrH"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ interface Props {
|
|
|
7
7
|
onNew: () => void;
|
|
8
8
|
onRename: (id: string, title: string) => void;
|
|
9
9
|
onDelete: (id: string) => void;
|
|
10
|
-
hasApiKey: boolean;
|
|
11
|
-
onOpenApiKey: () => void;
|
|
12
10
|
}
|
|
13
|
-
export declare function ConversationSidebar({ conversations, activeId, onSelect, onNew, onRename, onDelete
|
|
11
|
+
export declare function ConversationSidebar({ conversations, activeId, onSelect, onNew, onRename, onDelete }: Props): React.JSX.Element;
|
|
14
12
|
export {};
|
|
15
13
|
//# sourceMappingURL=ConversationSidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationSidebar.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAsB3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAoBlD,UAAU,KAAK;IACb,aAAa,EAAE,kBAAkB,EAAE,CAAC;IACpC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ConversationSidebar.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAsB3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAoBlD,UAAU,KAAK;IACb,aAAa,EAAE,kBAAkB,EAAE,CAAC;IACpC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,qBA6L1G"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/** Subset accepted by `gemini-3-pro-image-preview` (no 4:5/5:4 per docs). */
|
|
2
|
+
export declare const ASPECT_RATIOS_COMMON: readonly ["1:1", "2:3", "3:2", "3:4", "4:3", "9:16", "16:9", "21:9"];
|
|
3
|
+
/** Sizes for models that don't support `512`. */
|
|
4
|
+
export declare const IMAGE_SIZES_COMMON: readonly ["1K", "2K", "4K"];
|
|
5
|
+
export declare const DEFAULT_ASPECT_RATIO = "1:1";
|
|
6
|
+
export declare const DEFAULT_IMAGE_SIZE = "1K";
|
|
7
|
+
/**
|
|
8
|
+
* Map a model (`provider:model`) to the aspect-ratio + image-size options the UI should expose. Models without their
|
|
9
|
+
* own entry get the common set; the AI service fits it to what the model can do.
|
|
10
|
+
*/
|
|
11
|
+
export declare function optionsForModel(model: string): {
|
|
12
|
+
aspectRatios: readonly string[];
|
|
13
|
+
imageSizes: readonly string[];
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Placeholder substituted with the user's typed prompt when wrapping.
|
|
17
|
+
* Exposed so the settings UI can show the user what token to keep.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PRESERVE_PROMPT_PLACEHOLDER = "{prompt}";
|
|
20
|
+
export declare const DEFAULT_PRESERVE_PROMPT_TEMPLATE: string;
|
|
21
|
+
export declare function wrapPreservePrompt(userText: string, template?: string, extraReferenceCount?: number): string;
|
|
22
|
+
/** The stored images as data URLs, the form the AI service takes them in. */
|
|
23
|
+
export declare function imageIdsToDataUrls(imageIds: string[]): Promise<string[]>;
|
|
24
|
+
/** Where the AI service is and the session token it is called with. */
|
|
25
|
+
export interface AiServiceAccess {
|
|
26
|
+
baseUrl: string;
|
|
27
|
+
jwt: string;
|
|
28
|
+
}
|
|
29
|
+
/** An image model of the AI service's catalog, as `GET /v2/models` lists it. */
|
|
30
|
+
export interface ImageModel {
|
|
31
|
+
/** `provider:model` */
|
|
32
|
+
id: string;
|
|
33
|
+
label: string;
|
|
34
|
+
isDefault: boolean;
|
|
35
|
+
}
|
|
36
|
+
/** A failed call to the AI service: the HTTP status and, for /v2 errors, the `errorCode` and message of the body. */
|
|
37
|
+
export declare class AiServiceError extends Error {
|
|
38
|
+
readonly status: number;
|
|
39
|
+
readonly errorCode: string | undefined;
|
|
40
|
+
constructor(status: number, errorCode: string | undefined, message: string);
|
|
41
|
+
}
|
|
42
|
+
/** The image models; `isDefault` marks the one the tester's use case runs on when a chat names none. */
|
|
43
|
+
export declare function fetchImageModels(access: AiServiceAccess): Promise<ImageModel[]>;
|
|
44
|
+
/**
|
|
45
|
+
* The model a conversation runs on, as the AI service knows it. Chats from before stored the bare Gemini id; a model
|
|
46
|
+
* the configuration no longer lists falls back to its default. Without the model list the stored model is sent as it is,
|
|
47
|
+
* so the service rejects it rather than running a different one; undefined lets the service pick.
|
|
48
|
+
*/
|
|
49
|
+
export declare function modelFor(stored: string, models: ImageModel[]): string | undefined;
|
|
50
|
+
export interface GenerateImageOptions {
|
|
51
|
+
access: AiServiceAccess;
|
|
52
|
+
/** `provider:model`; without one the AI service uses its default image model. */
|
|
53
|
+
model?: string;
|
|
54
|
+
prompt: string;
|
|
55
|
+
/** Data URLs; the first one is the image a follow-up edits. */
|
|
56
|
+
images: string[];
|
|
57
|
+
aspectRatio: string;
|
|
58
|
+
imageSize: string;
|
|
59
|
+
signal?: AbortSignal;
|
|
60
|
+
}
|
|
61
|
+
export interface GeneratedImage {
|
|
62
|
+
/** Data URL */
|
|
63
|
+
url: string;
|
|
64
|
+
/** `image/png`, `image/jpeg`, ... */
|
|
65
|
+
mimeType: string;
|
|
66
|
+
}
|
|
67
|
+
export interface GenerateImageResult {
|
|
68
|
+
images: GeneratedImage[];
|
|
69
|
+
/** What the AI service billed for the whole call. */
|
|
70
|
+
costUsd: number;
|
|
71
|
+
}
|
|
72
|
+
export declare function generateImage(opts: GenerateImageOptions): Promise<GenerateImageResult>;
|
|
73
|
+
//# sourceMappingURL=generation.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/generation.ts"],"names":[],"mappings":"AAOA,6EAA6E;AAC7E,eAAO,MAAM,oBAAoB,sEAAuE,CAAC;AAEzG,iDAAiD;AACjD,eAAO,MAAM,kBAAkB,6BAA8B,CAAC;AAE9D,eAAO,MAAM,oBAAoB,QAAQ,CAAC;AAC1C,eAAO,MAAM,kBAAkB,OAAO,CAAC;AAKvC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG;IAC9C,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAChC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/B,CASA;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,6EAA6E;AAC7E,wBAAsB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAO9E;AAED,uEAAuE;AACvE,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,gFAAgF;AAChF,MAAM,WAAW,UAAU;IACzB,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qHAAqH;AACrH,qBAAa,cAAe,SAAQ,KAAK;IAErC,QAAQ,CAAC,MAAM,EAAE,MAAM;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS;gBAD7B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAAG,SAAS,EACtC,OAAO,EAAE,MAAM;CAIlB;AAaD,wGAAwG;AACxG,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAMrF;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,GAAG,SAAS,CAIjF;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,eAAe,CAAC;IACxB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,eAAe;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAW5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAOtD,QAAA,MAAM,mBAAmB,cAAuB,SAAS;;CAiKvD,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** USD cost of a single generated output image for the given model + size. */
|
|
2
|
-
export declare function priceForOutputImage(model: string, imageSize: string | undefined): number;
|
|
3
1
|
/** `$0.067`, `$1.234`, `$12.34` — 3 decimals for cents-precision under $1, 2 above. */
|
|
4
2
|
export declare function formatUsd(n: number): string;
|
|
5
3
|
export declare function loadTotalSpend(): number;
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/pricing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pricing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/pricing.ts"],"names":[],"mappings":"AAMA,uFAAuF;AACvF,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAI3C;AAMD,wBAAgB,cAAc,IAAI,MAAM,CAQvC;AAYD,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKrD;AAED,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,kFAAkF;AAClF,wBAAgB,aAAa,IAAI;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CAevE"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export interface ConversationSettings {
|
|
2
|
+
/** `provider:model` of the AI service's catalog; chats from before hold a bare Gemini id, empty means its default. */
|
|
2
3
|
model: string;
|
|
3
|
-
/**
|
|
4
|
+
/** e.g. `"1:1"`, `"16:9"`. */
|
|
4
5
|
aspectRatio: string;
|
|
5
|
-
/**
|
|
6
|
+
/** e.g. `"1K"`, `"2K"`, `"4K"` (and `"512"` on 3.1 Flash). */
|
|
6
7
|
imageSize: string;
|
|
7
|
-
/** Gemini sampling temperature; `undefined` means SDK default. */
|
|
8
|
-
temperature?: number;
|
|
9
8
|
}
|
|
10
9
|
export interface ConversationRecord {
|
|
11
10
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationsRepo.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"conversationsRepo.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,sHAAsH;IACtH,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsBD,wBAAsB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAWjG;AAED,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAK5F;AAED,wBAAsB,kBAAkB,CACtC,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,IAAI,GAAG,WAAW,CAAC,CAAC,GAC3D,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAczC;AAED,wBAAsB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAElE"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export interface ImageRecord {
|
|
|
4
4
|
mime: string;
|
|
5
5
|
createdAt: number;
|
|
6
6
|
/**
|
|
7
|
-
* USD billed for generating this output image,
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* USD billed for generating this output image, as the AI service reported it at
|
|
8
|
+
* generation time. Absent for uploaded reference images (which aren't billed by us)
|
|
9
|
+
* and for older records.
|
|
10
10
|
*/
|
|
11
11
|
costUsd?: number;
|
|
12
12
|
}
|
|
@@ -15,6 +15,6 @@ export declare function getImage(id: string): Promise<ImageRecord | undefined>;
|
|
|
15
15
|
export declare function deleteImages(ids: string[]): Promise<void>;
|
|
16
16
|
/** Convert a `data:` URL into a Blob, used by reference uploads. */
|
|
17
17
|
export declare function dataUrlToBlob(dataUrl: string): Blob;
|
|
18
|
-
/** Convert a Blob into a `data:` URL (
|
|
18
|
+
/** Convert a Blob into a `data:` URL (the form the AI service takes images in). */
|
|
19
19
|
export declare function blobToDataUrl(blob: Blob): Promise<string>;
|
|
20
20
|
//# sourceMappingURL=imagesRepo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imagesRepo.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAW/F;AAED,wBAAsB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAI3E;AAED,wBAAsB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAM/D;AAED,oEAAoE;AACpE,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAanD;AAED,
|
|
1
|
+
{"version":3,"file":"imagesRepo.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAW/F;AAED,wBAAsB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAI3E;AAED,wBAAsB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAM/D;AAED,oEAAoE;AACpE,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAanD;AAED,mFAAmF;AACnF,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAUzD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Fullscreen } from '@crystaldesign/diva-core';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { type ImageModel } from './generation';
|
|
3
4
|
import { type ConversationRecord, type ConversationSettings, type ReferenceImageRecord } from './storage';
|
|
4
5
|
import type { ChatMessageView } from './types';
|
|
5
6
|
export declare function useAiChat(openFullscreen: (opts: Fullscreen) => void): {
|
|
@@ -30,13 +31,7 @@ export declare function useAiChat(openFullscreen: (opts: Fullscreen) => void): {
|
|
|
30
31
|
clearRefSelection: () => void;
|
|
31
32
|
onReferenceUpload: (file: File) => false;
|
|
32
33
|
removeReference: (id: string) => Promise<void>;
|
|
33
|
-
|
|
34
|
-
hasKey: boolean;
|
|
35
|
-
setApiKey: (next: string) => void;
|
|
36
|
-
clearApiKey: () => void;
|
|
37
|
-
apiKeyModalOpen: boolean;
|
|
38
|
-
openApiKeyModal: () => void;
|
|
39
|
-
closeApiKeyModal: () => void;
|
|
34
|
+
models: ImageModel[];
|
|
40
35
|
preservePromptTemplate: string;
|
|
41
36
|
preservePromptIsCustom: boolean;
|
|
42
37
|
setPreservePromptTemplate: (next: string) => void;
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAiChat.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useAiChat.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtF,OAAO,KAA4D,MAAM,OAAO,CAAC;AAIjF,OAAO,EAML,KAAK,UAAU,EAIhB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAqB1B,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,eAAe,EAA0B,MAAM,SAAS,CAAC;AAsBvE,wBAAgB,SAAS,CAAC,cAAc,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI;;;;;;6BAuIhB,MAAM,SAAS,MAAM;6BAO1D,MAAM;kCAkBH,OAAO,CAAC,oBAAoB,CAAC;;;wBAgM9B,MAAM;mCAwE6B,MAAM;mCAM/B,MAAM;oCASN,MAAM;;;;qCA7CX,MAAM;;6CA0DJ,MAAM;;;;6BAnQgB,MAAM;;8BAtBzC,IAAI;0BA4BkC,MAAM;;;;;;EAyTtD"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/** Display caption like `"16:9 @ 2K"` for the per-message footer / fullscreen viewer. */
|
|
2
2
|
export declare function galleryImageConfigCaption(aspectRatio: string | undefined, imageSize: string | undefined): string;
|
|
3
|
-
export declare function galleryTemperatureCaption(temperature: number | undefined, t: (key: string, defaultValue: string) => string): string;
|
|
4
3
|
export declare function downloadDataUrlImage(dataUrl: string, createdAt: number): void;
|
|
5
4
|
export declare function copyPromptTextToClipboard(text: string, t: (key: string) => string): Promise<void>;
|
|
6
5
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/utils.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,MAAM,CAKR;AAED,wBAAgB,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/utils.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,MAAM,CAKR;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,CAQ7E;AAED,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBvG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ToolProps } from '../../../Navigation/types';
|
|
3
|
+
import { ConfigSchema } from '../../../../ui/JsonEditor/configSchema';
|
|
4
|
+
/** What the JSON editor of a service or view configuration hands to this tool */
|
|
5
|
+
export interface ConfigSettingsParameters {
|
|
6
|
+
data?: {
|
|
7
|
+
configParams?: object;
|
|
8
|
+
};
|
|
9
|
+
schema?: ConfigSchema;
|
|
10
|
+
merged?: object;
|
|
11
|
+
/** Missing while the edited text is no valid JSON or the preview shows */
|
|
12
|
+
insert?: (path: string, value: unknown) => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Lists every setting the schema of the edited configuration's type describes: its description, the value that applies and where
|
|
16
|
+
* it comes from, with details on demand, and inserts a setting into the edited layer.
|
|
17
|
+
*/
|
|
18
|
+
declare const ConfigSettings: ({ tool }: ToolProps<unknown, ConfigSettingsParameters>) => React.JSX.Element;
|
|
19
|
+
export default ConfigSettings;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/ConfigSettings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,YAAY,EAA8C,MAAM,wCAAwC,CAAC;AAwBlH,iFAAiF;AACjF,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACjD;AAKD;;;GAGG;AACH,QAAA,MAAM,cAAc,aAAc,SAAS,CAAC,OAAO,EAAE,wBAAwB,CAAC,sBAgE7E,CAAC;AAmJF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediaToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/mediaToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC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,mBAAmB,GAAG,YAAY,CA2czE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Toolbar/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Toolbar/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6E,MAAM,OAAO,CAAC;wCAkDnE;IAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAA;CAAE;;;AAwL/D,wBAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ConfigurationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfigurationStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ConfigurationStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA8BpC,MAAM,CAAC,OAAO;IAUA,OAAO,CAAC,IAAI;IATxB,OAAO,CAAC,cAAc,CAAC,CAET;IACd,OAAO,CAAC,UAAU,CAAC,CAAwB;IAC3C,OAAO,CAAC,aAAa,CAAC,CAAqB;IAC3C,OAAO,CAAC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AAE,UAAU,GAAG,WAAW;IAKxC,kBAAkB,CAAC,KAAK,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC;IAIhD,iHAAiH;IACjH,oBAAoB,CAAC,KAAK,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC;IAIlD,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE;QAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,EAAE,QAAQ,CAAC,EAAE,IAAI;IA6CjG,cAAc,CAAC,IAAI,EAAE,MAAM;IAS3B,uBAAuB,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,MAAM;IAWjD;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;IAmBjC,OAAO,CAAC,OAAO;IAiCf;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAwBpB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAgBxB;;;;OAIG;IACH,OAAO,CAAC,WAAW;IA2BnB;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;CAgC/B;AAED,eAAO,MAAM,IAAI,EAAE,QAAQ,EAqnB1B,CAAC"}
|
package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inUseUsageTables.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/CommonComponents/inUseUsageTables.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishedKeyChangeCheck.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCatalogVersionDialog.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/CommonComponents/useCatalogVersionDialog.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formErrorText.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/Form/formErrorText.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inheritance.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/Form/inheritance.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featureMeanings.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featuresMeaningHint.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configSchema.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/JsonEditor/configSchema.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseSlotConflict.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runPerProduct.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/TableRenderJobs/runPerProduct.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canHaveChildOfType.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/TreeChart/canHaveChildOfType.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type ConfigurationGroup } from '../../../logic/configurationGroups';
|
|
3
|
+
import { type ModelUpdateGroup } from '../ModelUpdateSummary';
|
|
3
4
|
interface ConfigurationGroupCardProps {
|
|
4
5
|
group: ConfigurationGroup;
|
|
5
6
|
/** All of the group's articles were already saved from this page — the card is marked done and its button steps back. */
|
|
@@ -9,11 +10,19 @@ interface ConfigurationGroupCardProps {
|
|
|
9
10
|
/** Separates the card from the next one — for the list of a mixed marking. */
|
|
10
11
|
inList?: boolean;
|
|
11
12
|
onStart: (group: ConfigurationGroup) => void;
|
|
13
|
+
/** A model update's "Produktupdates" group of the marked articles — for a group with `modelUpdateIds`. */
|
|
14
|
+
modelUpdate?: ModelUpdateGroup;
|
|
15
|
+
/** The update's group is being put together for the configurator. */
|
|
16
|
+
startingUpdate?: boolean;
|
|
17
|
+
/** "Gruppe prüfen": the update's whole group, a portion at a time. */
|
|
18
|
+
onReviewGroup?: (group: ConfigurationGroup, members: string[]) => void;
|
|
12
19
|
}
|
|
13
20
|
/**
|
|
14
21
|
* One group of marked articles the configurator opens together: without a planning ("Planung anlegen" — planned
|
|
15
|
-
* once, each article receives a planning of its own) or sharing one ("Konfigurieren").
|
|
22
|
+
* once, each article receives a planning of its own) or sharing one ("Konfigurieren"). A shared planning a catalog
|
|
23
|
+
* update changed shows what the update replaced and its "Produktupdates" group, reviewed as a whole or only marked
|
|
24
|
+
* (`ModelUpdateSummary`) — the configurator shows the replaced values to take over.
|
|
16
25
|
*/
|
|
17
|
-
declare function ConfigurationGroupCard({ group, done, transferring, inList, onStart }: ConfigurationGroupCardProps): React.JSX.Element;
|
|
26
|
+
declare function ConfigurationGroupCard({ group, done, transferring, inList, onStart, modelUpdate, startingUpdate, onReviewGroup, }: ConfigurationGroupCardProps): React.JSX.Element;
|
|
18
27
|
export default ConfigurationGroupCard;
|
|
19
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAA6B,KAAK,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxG,OAA2B,EAAE,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGlF,UAAU,2BAA2B;IACnC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,yHAAyH;IACzH,IAAI,EAAE,OAAO,CAAC;IACd,+GAA+G;IAC/G,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC7C,0GAA0G;IAC1G,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sEAAsE;IACtE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACxE;AAED;;;;;GAKG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,OAAO,EACP,WAAW,EACX,cAAsB,EACtB,aAAa,GACd,EAAE,2BAA2B,qBA2F7B;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type PlanningModel } from '@crystaldesign/bulk-product-configurator';
|
|
3
|
+
interface ModelPickerProps {
|
|
4
|
+
/** How many articles the planning is made for — shown in the heading. */
|
|
5
|
+
count: number;
|
|
6
|
+
onPick: (model: PlanningModel) => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The model a new planning starts from, picked before the configurator opens: the organization's models (api2
|
|
10
|
+
* catalog list) as a compact list per collection, one search over all of them — category managers know the
|
|
11
|
+
* assortment, no collection → catalog wizard.
|
|
12
|
+
*/
|
|
13
|
+
export default function ModelPicker({ count, onPick }: ModelPickerProps): React.JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAqD,KAAK,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAuBjI,UAAU,gBAAgB;IACxB,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,gBAAgB,qBA+GtE"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ChangeLine, SameChangeArticle } from '../../../logic/planningChangeGroups';
|
|
3
|
+
/** The "Produktupdates" group of marked articles a model update changed, as far as it is read. */
|
|
4
|
+
export type ModelUpdateGroup = {
|
|
5
|
+
status: 'reading';
|
|
6
|
+
} | {
|
|
7
|
+
status: 'failed';
|
|
8
|
+
} | {
|
|
9
|
+
status: 'ready';
|
|
10
|
+
members: string[];
|
|
11
|
+
others: SameChangeArticle[];
|
|
12
|
+
changes: ChangeLine[];
|
|
13
|
+
exhausted?: boolean;
|
|
14
|
+
};
|
|
15
|
+
interface ModelUpdateSummaryProps {
|
|
16
|
+
update: ModelUpdateGroup;
|
|
17
|
+
/** How many of the group's products are marked. */
|
|
18
|
+
marked: number;
|
|
19
|
+
/** How many products the configurator takes at once. */
|
|
20
|
+
portionSize: number;
|
|
21
|
+
/** The group's first portion is being put together. */
|
|
22
|
+
starting: boolean;
|
|
23
|
+
/** Why the marked articles cannot be started now — a transfer run is working on one of them. */
|
|
24
|
+
blockedReason?: string;
|
|
25
|
+
/** "Gruppe prüfen" with the group's products to review: the marked ones and the others still ticked. */
|
|
26
|
+
onReviewGroup: (members: string[]) => void;
|
|
27
|
+
onReviewMarked: () => void;
|
|
28
|
+
/** The marked articles' list — between what the update replaced and the group's other products. */
|
|
29
|
+
children: React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A model update on the configurator's start screen: what it replaced in the plannings (folded), the marked articles,
|
|
33
|
+
* the other products of its "Produktupdates" group with the same changes (folded, each with a checkbox — ticked at
|
|
34
|
+
* first, an unticked one stays out of the group's review), and the two ways to review it — the group a portion at a
|
|
35
|
+
* time, or only the marked articles.
|
|
36
|
+
*/
|
|
37
|
+
declare function ModelUpdateSummary({ update, marked, portionSize, starting, blockedReason, onReviewGroup, onReviewMarked, children, }: ModelUpdateSummaryProps): React.JSX.Element;
|
|
38
|
+
export default ModelUpdateSummary;
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAOzF,kGAAkG;AAClG,MAAM,MAAM,gBAAgB,GACxB;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,GACrB;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,GAEpB;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAAC,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpH,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,QAAQ,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wGAAwG;IACxG,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,mGAAmG;IACnG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,MAAM,EACN,MAAM,EACN,WAAW,EACX,QAAQ,EACR,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,GACT,EAAE,uBAAuB,qBAqGzB;AA0CD,eAAe,kBAAkB,CAAC"}
|