@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyListPanel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,+DAA+D;IAC/D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,qEAAqE;IACrE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mEAAmE;IACnE,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"PropertyListPanel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,+DAA+D;IAC/D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,qEAAqE;IACrE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,kDAAkD;IAClD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mEAAmE;IACnE,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,qBA8D5I"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackagePublishControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,2FAA2F;IAC3F,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"PackagePublishControls.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAG9D,UAAU,KAAK;IACb,UAAU,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpD,2FAA2F;IAC3F,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,KAAK,qBA+E/E"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA4CpD;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;CAskBxB,CAAC"}
|
|
@@ -21,6 +21,7 @@ export interface PackagePublishData {
|
|
|
21
21
|
[organizationId: string]: {
|
|
22
22
|
publishing?: boolean;
|
|
23
23
|
publishDate?: string;
|
|
24
|
+
failedMediaCount?: number;
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
dependingPackages?: {
|
|
@@ -51,6 +52,7 @@ export declare function usePackagePublishing({ packageId, data, organizationId,
|
|
|
51
52
|
isPublished: boolean | undefined;
|
|
52
53
|
isReleaseWithdrawn: boolean;
|
|
53
54
|
unpublishedChanges: boolean;
|
|
55
|
+
failedMediaCount: number;
|
|
54
56
|
isInherited: boolean;
|
|
55
57
|
inheritedTooltip: string;
|
|
56
58
|
servedByBase: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IACpH,iBAAiB,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxE,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,+GAA+G;IAC/G,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wHAAwH;IACxH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,cAAc,EACd,SAAS,EACT,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,EAAE,0BAA0B;;;;;;;;;;;;;;;;;aAO6D,MAAM;qBAAe,MAAM;;;;;wBAuJjG,OAAO;;EAiC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMFeaturesEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMFeaturesEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBA+FpE"}
|
package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/Tables/Features.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationFeaturesEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationFeaturesEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBAkIpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBA4NnE"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/** A JSON schema node as the configuration schemas of the admin service use it */
|
|
2
|
+
export interface SchemaNode {
|
|
3
|
+
type?: string | string[];
|
|
4
|
+
nullable?: boolean;
|
|
5
|
+
description?: string;
|
|
6
|
+
default?: unknown;
|
|
7
|
+
enum?: unknown[];
|
|
8
|
+
const?: unknown;
|
|
9
|
+
properties?: {
|
|
10
|
+
[key: string]: SchemaNode;
|
|
11
|
+
};
|
|
12
|
+
additionalProperties?: boolean | SchemaNode;
|
|
13
|
+
items?: SchemaNode;
|
|
14
|
+
required?: string[];
|
|
15
|
+
anyOf?: SchemaNode[];
|
|
16
|
+
oneOf?: SchemaNode[];
|
|
17
|
+
allOf?: SchemaNode[];
|
|
18
|
+
}
|
|
19
|
+
/** The schema of a configuration type, as the admin service returns it */
|
|
20
|
+
export interface ConfigSchema {
|
|
21
|
+
schema: SchemaNode;
|
|
22
|
+
/**
|
|
23
|
+
* Settings that an environment variable of the service can set instead, and whether the service's deployment sets it at its
|
|
24
|
+
* last start - unknown when the service did not say or registered for another environmentId
|
|
25
|
+
*/
|
|
26
|
+
environmentVariables?: {
|
|
27
|
+
path: string;
|
|
28
|
+
variable: string;
|
|
29
|
+
set?: boolean;
|
|
30
|
+
}[];
|
|
31
|
+
}
|
|
32
|
+
/** How a setting of the edited configuration is set */
|
|
33
|
+
export type SettingStatus = 'set' | 'inherited' | 'default' | 'environment' | 'missing' | 'unset';
|
|
34
|
+
/** What kind of value a setting takes, as the settings tool names it */
|
|
35
|
+
export type SettingKind = 'string' | 'number' | 'integer' | 'boolean' | 'object' | 'array' | 'enum' | 'any';
|
|
36
|
+
export interface Setting {
|
|
37
|
+
/** Dot notation; `[]` stands for the items of an array, `*` for the entries of a dictionary */
|
|
38
|
+
path: string;
|
|
39
|
+
depth: number;
|
|
40
|
+
kind: SettingKind;
|
|
41
|
+
enum?: unknown[];
|
|
42
|
+
description?: string;
|
|
43
|
+
default?: unknown;
|
|
44
|
+
required: boolean;
|
|
45
|
+
/** Only a plain path can be inserted and has a status */
|
|
46
|
+
plain: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface SettingState {
|
|
49
|
+
setting: Setting;
|
|
50
|
+
status: SettingStatus;
|
|
51
|
+
/** The value that applies, for a setting that is set, inherited or defaulted; for one an environment variable sets, the value of the configuration it replaces */
|
|
52
|
+
value?: unknown;
|
|
53
|
+
/** The environment variable that can set the setting instead of the configuration */
|
|
54
|
+
variable?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The schema the editor checks the whole edited document with: the configuration parameters are checked as a single layer,
|
|
58
|
+
* which leaves required settings to other layers, and an unknown setting is marked. The editor's validator (ajv 6) does not know
|
|
59
|
+
* `nullable`, so it becomes a type list.
|
|
60
|
+
*/
|
|
61
|
+
export declare function toEditorSchema(schema: SchemaNode): SchemaNode;
|
|
62
|
+
/**
|
|
63
|
+
* Every setting the schema describes, in the order of the schema, nested settings after their parent. A setting described by
|
|
64
|
+
* several branches of a oneOf/anyOf is listed once, and a branch does not make a setting required.
|
|
65
|
+
*/
|
|
66
|
+
export declare function listSettings(schema: SchemaNode): Setting[];
|
|
67
|
+
/**
|
|
68
|
+
* How a setting is set: by an environment variable the deployment sets, in the edited layer, by another layer or by the schema's
|
|
69
|
+
* default - or missing, when it is required, its parent exists (in the configuration or by a variable the deployment sets in it)
|
|
70
|
+
* and neither the configuration nor an environment variable that is or may be set sets it.
|
|
71
|
+
*
|
|
72
|
+
* @param layer the configuration parameters of the edited layer
|
|
73
|
+
* @param merged the configuration parameters merged with the other layers and completed with the defaults
|
|
74
|
+
* @param environment the paths an environment variable can set, with whether the deployment sets it (undefined: unknown)
|
|
75
|
+
*/
|
|
76
|
+
export declare function settingStatus(setting: Setting, layer: object, merged: object | undefined, environment: Map<string, boolean | undefined>): SettingStatus;
|
|
77
|
+
/**
|
|
78
|
+
* Every setting of the schema with how it is set in the edited configuration
|
|
79
|
+
*
|
|
80
|
+
* @param layer the configuration parameters of the edited layer
|
|
81
|
+
* @param merged the configuration parameters merged with the other layers and completed with the defaults
|
|
82
|
+
*/
|
|
83
|
+
export declare function settingStates({ schema, environmentVariables }: ConfigSchema, layer: object, merged: object | undefined): SettingState[];
|
|
84
|
+
/**
|
|
85
|
+
* The value a setting gets when it is inserted into the edited layer: the value that applies now, so inserting changes nothing
|
|
86
|
+
* until it is edited; else the schema's default; else an empty value of its kind - for an enum null where it allows it, else its
|
|
87
|
+
* first value. An object is always inserted empty: the layers are merged deeply, so it changes nothing either, and later changes
|
|
88
|
+
* of its settings in other layers still apply.
|
|
89
|
+
*/
|
|
90
|
+
export declare function valueToInsert({ setting, value, status }: SettingState): unknown;
|
|
91
|
+
//# sourceMappingURL=configSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configSchema.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/configSchema.ts"],"names":[],"mappings":"AAMA,kFAAkF;AAClF,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAC;IAC3C,oBAAoB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC5C,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,0EAA0E;AAC1E,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,UAAU,CAAC;IACnB;;;OAGG;IACH,oBAAoB,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC5E;AAED,uDAAuD;AACvD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAElG,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AAE5G,MAAM,WAAW,OAAO;IACtB,+FAA+F;IAC/F,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,yDAAyD;IACzD,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,aAAa,CAAC;IACtB,kKAAkK;IAClK,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAE7D;AAuCD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,EAAE,CAgC1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC,GAC5C,aAAa,CAwBf;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,EAAE,CAiBvI;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,YAAY,GAAG,OAAO,CAe/E"}
|
|
@@ -5,6 +5,8 @@ import { Tool } from '../../layout/Navigation/types';
|
|
|
5
5
|
export interface JsonEditorConfiguration extends BaseModulConfiguration {
|
|
6
6
|
type: 'JsonEditor';
|
|
7
7
|
preview?: string;
|
|
8
|
+
/** URL of the schema of the edited configuration's type; `{type}` and `{identifier}` are replaced with the edited data's */
|
|
9
|
+
schema?: string;
|
|
8
10
|
default?: any;
|
|
9
11
|
/** Tools of the right toolbar that show the edited data, like a form's (parameters: data, submit). */
|
|
10
12
|
tools?: Tool[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAC/E,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAC/E,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAUrD,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4HAA4H;IAC5H,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,sGAAsG;IACtG,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB;;QAYO,MAAM;YACF,GAAG;cACD,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI;cACpB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;iBACpB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;WAChC,GAAG;aACD,MAAM,GAAG,MAAM;;YAED,MAAM,IAAI;cAAY,MAAM,GAAG;;YAA/B,MAAM,IAAI;cAAY,MAAM,GAAG;;AAqH1D,wBAAsD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { JsonEditorConfiguration } from '.';
|
|
3
|
+
import { ConfigSchema } from './configSchema';
|
|
3
4
|
export default function (id: string, setCanSave?: (canSave: boolean) => void, onChange?: (data?: any) => void, onError?: (error: string) => void): {
|
|
4
5
|
save: (original: any) => Promise<void>;
|
|
5
6
|
init: (div: HTMLDivElement) => void;
|
|
@@ -13,5 +14,8 @@ export default function (id: string, setCanSave?: (canSave: boolean) => void, on
|
|
|
13
14
|
setData: (data: any) => void;
|
|
14
15
|
curData: any;
|
|
15
16
|
configuration: JsonEditorConfiguration;
|
|
17
|
+
schema: ConfigSchema | undefined;
|
|
18
|
+
merged: object | undefined;
|
|
19
|
+
insert: (path: string, value: unknown) => void;
|
|
16
20
|
};
|
|
17
21
|
//# sourceMappingURL=useJsonEditorData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useJsonEditorData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/useJsonEditorData.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useJsonEditorData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/useJsonEditorData.ts"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,GAAG,CAAC;AAM5C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAC;AAI9D,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;qBAmDhH,GAAG;gBAhCd,cAAc;;;;;;;;oBA0BV,GAAG;;;;;mBAuDJ,MAAM,SAAS,OAAO;EA2F7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAwB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAwB,MAAM,UAAU,CAAC;AAkCvD,eAAO,MAAM,UAAU,mDAAoB,CAAC;AAwB5C,UAAU,KAAK,CAAC,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB;0BAEqB,CAAC,SAAS,MAAM,aAAa,KAAK,CAAC,CAAC,CAAC;;;AAqY3D,wBAAsC;AACtC,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RenderJobSlotConflictError } from '../../../../hooks/useUpdateRenderJobState';
|
|
3
|
+
import { OverviewItem } from '../../hooks/useSessionOverviewData';
|
|
4
|
+
interface Props {
|
|
5
|
+
conflicts: RenderJobSlotConflictError[];
|
|
6
|
+
items: OverviewItem[];
|
|
7
|
+
busy: boolean;
|
|
8
|
+
/** The image each job may replace (its ref id), for the jobs an image was chosen for. */
|
|
9
|
+
onConfirm: (choices: Record<string, string>) => void;
|
|
10
|
+
onCancel: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Asks which image a job may replace when its slot on the product is taken. Not replacing is preselected:
|
|
14
|
+
* an image is never replaced without being chosen, and a job left without a choice stays approved.
|
|
15
|
+
*/
|
|
16
|
+
export default function SlotConflictModal({ conflicts, items, busy, onConfirm, onCancel }: Props): React.JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=SlotConflictModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotConflictModal.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAMlE,UAAU,KAAK;IACb,SAAS,EAAE,0BAA0B,EAAE,CAAC;IACxC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,yFAAyF;IACzF,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,KAAK,qBA6D/F"}
|
|
@@ -5,8 +5,11 @@ interface Props {
|
|
|
5
5
|
items: OverviewItem[];
|
|
6
6
|
loading: boolean;
|
|
7
7
|
error?: string;
|
|
8
|
-
/**
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* PATCH one job to a new state. Rejects on failure so callers can surface it - a finish whose slot is
|
|
10
|
+
* taken with a `RenderJobSlotConflictError`; `replaceRef` is the decision for it.
|
|
11
|
+
*/
|
|
12
|
+
onApplyState: (id: string, targetState: number, message?: string, replaceRef?: string) => Promise<void>;
|
|
10
13
|
/** Ask the host to open the reject-reason modal for this job. */
|
|
11
14
|
onRequestReject: (id: string) => void;
|
|
12
15
|
/** Open a medium in the fullscreen viewer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAoElE,UAAU,KAAK;IACb,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxG,iEAAiE;IACjE,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,8CAA8C;IAC9C,WAAW,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjD,qDAAqD;IACrD,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;IAC7D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;CACrB;AAwFD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,KAAK,EACL,OAAO,EACP,KAAK,EACL,YAAY,EACZ,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,UAAU,GACX,EAAE,KAAK,qBAyhBP"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Outcome of one job: done, or the error it failed with. */
|
|
2
|
+
export interface JobOutcome {
|
|
3
|
+
id: string;
|
|
4
|
+
error?: unknown;
|
|
5
|
+
}
|
|
6
|
+
/** Outcomes of a finish run, split by what the user is told: slot conflicts are asked about, failures reported. */
|
|
7
|
+
export interface SplitOutcomes<C> {
|
|
8
|
+
conflicts: C[];
|
|
9
|
+
failed: number;
|
|
10
|
+
done: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Splits finish outcomes into the slot conflicts to ask about, the failures and the jobs done.
|
|
14
|
+
*
|
|
15
|
+
* @param outcomes - The outcomes of runPerProduct
|
|
16
|
+
* @param isConflict - Whether an error is a slot conflict
|
|
17
|
+
*/
|
|
18
|
+
export declare function splitOutcomes<C>(outcomes: JobOutcome[], isConflict: (error: unknown) => error is C): SplitOutcomes<C>;
|
|
19
|
+
/**
|
|
20
|
+
* Runs an action for several render jobs: the jobs of one product one after the other, different products
|
|
21
|
+
* in parallel. Finishing a job reads the images of its product to give it a slot and removes images by
|
|
22
|
+
* their position in the product's list - two finishes of one product at once would get in each other's way.
|
|
23
|
+
*
|
|
24
|
+
* @param ids - The jobs to run the action for
|
|
25
|
+
* @param productOf - The product of a job; a job without one runs on its own
|
|
26
|
+
* @param run - The action
|
|
27
|
+
* @returns The outcome of every job, in the order of `ids`
|
|
28
|
+
*/
|
|
29
|
+
export declare function runPerProduct(ids: string[], productOf: (id: string) => string | undefined, run: (id: string) => Promise<void>): Promise<JobOutcome[]>;
|
|
30
|
+
//# sourceMappingURL=runPerProduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runPerProduct.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,mHAAmH;AACnH,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,SAAS,EAAE,CAAC,EAAE,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAIrH;AAED;;;;;;;;;GASG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,MAAM,EAAE,EACb,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,EAC7C,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,GACjC,OAAO,CAAC,UAAU,EAAE,CAAC,CAoBvB"}
|
|
@@ -2,6 +2,8 @@ import { RenderApproveMedia, RenderJob } from '../../../types';
|
|
|
2
2
|
export interface OverviewItem {
|
|
3
3
|
id: string;
|
|
4
4
|
state: number;
|
|
5
|
+
/** The product the job's image is attached to; finishes of one product run one after the other. */
|
|
6
|
+
product?: string;
|
|
5
7
|
productName?: string;
|
|
6
8
|
divaNr?: string;
|
|
7
9
|
divaNrVariantId?: number;
|
|
@@ -31,8 +33,11 @@ export interface SessionOverviewData {
|
|
|
31
33
|
items: OverviewItem[];
|
|
32
34
|
loading: boolean;
|
|
33
35
|
error?: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Persists a new state for one job (PATCH) with optimistic local update + rollback on failure. A finish
|
|
38
|
+
* whose slot is taken rejects with a `RenderJobSlotConflictError`; `replaceRef` is the decision for it.
|
|
39
|
+
*/
|
|
40
|
+
applyState: (id: string, targetState: number, message?: string, replaceRef?: string) => Promise<void>;
|
|
36
41
|
/** Loads the full render job for the details view (on demand). */
|
|
37
42
|
fetchJobDetails: (id: string) => Promise<RenderJob | null>;
|
|
38
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSessionOverviewData.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM/D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,OAAO,EAAE,kBAAkB,CAAC;IAC5B,wFAAwF;IACxF,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,8EAA8E;IAC9E,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"useSessionOverviewData.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM/D,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,OAAO,EAAE,kBAAkB,CAAC;IAC5B,wFAAwF;IACxF,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,8EAA8E;IAC9E,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtG,kEAAkE;IAClE,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;CAC5D;AA6ED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,mBAAmB,CA4InG"}
|
package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAyDpE,MAAM,CAAC,OAAO,UAAU,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/TableRenderJobs/components/RenderApprove/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAyDpE,MAAM,CAAC,OAAO,UAAU,aAAa,sBA0xBpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TableRenderJobs/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA+Q1E,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TableRenderJobs/config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA+Q1E,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;uCA4BH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuFjB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B3B"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
+
import { ProductSlotImage } from '@crystaldesign/diva-core';
|
|
2
|
+
/**
|
|
3
|
+
* A finish needs a decision: the job's slot on the product is held by other images. Nothing changed, the job
|
|
4
|
+
* keeps its state; finishing it again with `replaceRef` naming one of `occupiedBy` replaces that image.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RenderJobSlotConflictError extends Error {
|
|
7
|
+
readonly renderJob: string;
|
|
8
|
+
readonly slot: string;
|
|
9
|
+
readonly occupiedBy: ProductSlotImage[];
|
|
10
|
+
constructor(renderJob: string, slot: string, occupiedBy: ProductSlotImage[]);
|
|
11
|
+
}
|
|
12
|
+
/** Reads diva-media's answer to a finish whose slot is taken; anything else is no slot conflict. */
|
|
13
|
+
export declare function parseSlotConflict(body: string): RenderJobSlotConflictError | undefined;
|
|
1
14
|
/**
|
|
2
15
|
* Thin wrapper around `PATCH ${mediaService}/renderjobs/:id/state`.
|
|
3
16
|
* Lives in its own hook so the session orchestrator can stay independent of
|
|
4
17
|
* `useRenderJobData` (which is bound to a single currently-loaded job).
|
|
18
|
+
* A finish whose slot is taken rejects with a {@link RenderJobSlotConflictError}.
|
|
5
19
|
*/
|
|
6
|
-
export default function useUpdateRenderJobState(): (id: string, state: number, message?: string, keepalive?: boolean) => Promise<any>;
|
|
20
|
+
export default function useUpdateRenderJobState(): (id: string, state: number, message?: string, keepalive?: boolean, replaceRef?: string) => Promise<any>;
|
|
7
21
|
//# sourceMappingURL=useUpdateRenderJobState.d.ts.map
|
package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateRenderJobState.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useUpdateRenderJobState.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAQlF;;;GAGG;AACH,qBAAa,0BAA2B,SAAQ,KAAK;IAEjD,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,UAAU,EAAE,gBAAgB,EAAE;gBAF9B,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,gBAAgB,EAAE;CAI1C;AAED,oGAAoG;AACpG,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAQtF;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,SAMhC,MAAM,SAAS,MAAM,YAAY,MAAM,cAAc,OAAO,eAAe,MAAM,kBAkC/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/DuplicateOrganization/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/DuplicateOrganization/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAW,MAAM,wBAAwB,CAAC;AAK/D,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAwB/B,UAAU,KAAK;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,oCAAoC;IACpC,MAAM,EAAE,GAAG,CAAC;IACZ,+DAA+D;IAC/D,MAAM,EAAE,GAAG,CAAC;IACZ,0DAA0D;IAC1D,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACnC;0EAmB8E,KAAK;;;AAoHpF,wBAA+C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/OrgItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAQrD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;iHAqBsG,KAAK;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/OrgItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAQrD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;iHAqBsG,KAAK;;;AAsG7G,wBAAiC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Org } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* The type the children of `org` get as parentType: retailer channels and campaigns belong to a retailer, dealers to a supplier,
|
|
4
|
+
* a shell organization passes on the type of its ancestors.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getChildParentType(org: Org, inheritedParentType?: string): string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Whether an organization of `type` may be created below `parent`, the same type rules diva-auth applies when it creates one.
|
|
9
|
+
*
|
|
10
|
+
* @param type the stored type of the new organization, undefined for a shell, retailer channel or dealer
|
|
11
|
+
* @param parent the organization the new one is added to
|
|
12
|
+
* @param parentType the type the children of `parent` get, see {@link getChildParentType}
|
|
13
|
+
*/
|
|
14
|
+
export declare function canHaveChildOfType(type: string | undefined, parent: Org, parentType?: string): boolean;
|
|
15
|
+
//# sourceMappingURL=canHaveChildOfType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"canHaveChildOfType.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/canHaveChildOfType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,GAAG,EAAE,mBAAmB,CAAC,EAAE,MAAM,sBAIxE;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,EAAE,MAAM,WAM5F"}
|
|
@@ -22,6 +22,8 @@ export interface Org {
|
|
|
22
22
|
children?: Org[];
|
|
23
23
|
onClick?: () => void;
|
|
24
24
|
type?: string;
|
|
25
|
+
/** The type stored on the organization; `type` shows campaigns as RETAILERCHILD */
|
|
26
|
+
storedType?: string;
|
|
25
27
|
readPermission?: boolean;
|
|
26
28
|
deletePermission?: boolean;
|
|
27
29
|
writePermission?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE5F,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE5F,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.14.0-beta.
|
|
3
|
+
"version": "26.14.0-beta.30",
|
|
4
4
|
"description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
|
|
5
5
|
"license": "COMMERCIAL",
|
|
6
6
|
"devDependencies": {
|
|
@@ -16,24 +16,23 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ant-design/icons": "6.3.4",
|
|
18
18
|
"@babel/runtime": "7.24.7",
|
|
19
|
-
"@crystaldesign/
|
|
20
|
-
"@crystaldesign/
|
|
21
|
-
"@crystaldesign/content-
|
|
22
|
-
"@crystaldesign/
|
|
23
|
-
"@crystaldesign/diva-
|
|
24
|
-
"@crystaldesign/diva-
|
|
25
|
-
"@crystaldesign/
|
|
26
|
-
"@crystaldesign/media-upload": "26.14.0-beta.
|
|
27
|
-
"@crystaldesign/rtf-editor": "26.14.0-beta.
|
|
28
|
-
"@crystaldesign/spreadsheet": "26.14.0-beta.
|
|
19
|
+
"@crystaldesign/bulk-product-configurator": "26.14.0-beta.30",
|
|
20
|
+
"@crystaldesign/classification": "26.14.0-beta.30",
|
|
21
|
+
"@crystaldesign/content-box": "26.14.0-beta.30",
|
|
22
|
+
"@crystaldesign/content-item": "26.14.0-beta.30",
|
|
23
|
+
"@crystaldesign/diva-agent": "26.14.0-beta.30",
|
|
24
|
+
"@crystaldesign/diva-core": "26.14.0-beta.30",
|
|
25
|
+
"@crystaldesign/diva-utils": "26.14.0-beta.30",
|
|
26
|
+
"@crystaldesign/media-upload": "26.14.0-beta.30",
|
|
27
|
+
"@crystaldesign/rtf-editor": "26.14.0-beta.30",
|
|
28
|
+
"@crystaldesign/spreadsheet": "26.14.0-beta.30",
|
|
29
29
|
"@dnd-kit/core": "^6.1.0",
|
|
30
30
|
"@dnd-kit/sortable": "^8.0.0",
|
|
31
31
|
"@dnd-kit/utilities": "^3.2.2",
|
|
32
|
-
"@google/genai": "^2.17.1",
|
|
33
32
|
"@google/model-viewer": "3.5.0",
|
|
34
33
|
"ag-charts-react": "^10.1.0",
|
|
35
34
|
"antd": "6.6.6",
|
|
36
|
-
"csv": "6.6.
|
|
35
|
+
"csv": "6.6.4",
|
|
37
36
|
"fast-json-patch": "^3.1.0",
|
|
38
37
|
"fast-sort": "^3.4.1",
|
|
39
38
|
"flat": "^5.0.2",
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
"lodash": "^4.17.21",
|
|
43
42
|
"object-hash": "^3.0.0",
|
|
44
43
|
"react-collapsible": "^2.10.0",
|
|
45
|
-
"react-error-boundary": "^
|
|
44
|
+
"react-error-boundary": "^6.1.6",
|
|
46
45
|
"react-image-crop": "^11.0.7",
|
|
47
46
|
"react-infinite-scroll-component": "^6.1.0",
|
|
48
47
|
"react-org-tree": "^1.0.1",
|
|
@@ -63,5 +62,5 @@
|
|
|
63
62
|
"suiteName": "diva-backoffice",
|
|
64
63
|
"outputDirectory": "./test-reports"
|
|
65
64
|
},
|
|
66
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "171e42107f5d6a82a663fc11b6057d0db7719e10"
|
|
67
66
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const promptAndAiTesterOptions: {
|
|
2
|
-
aiImageTester: {
|
|
3
|
-
defaultModel: string;
|
|
4
|
-
models: string[];
|
|
5
|
-
/**
|
|
6
|
-
* Pixel-resolution options consumed by other parts of the app (prompt table filters via
|
|
7
|
-
* {@link ConfigurationStore}). The AI tester now uses Gemini's native `aspectRatio` +
|
|
8
|
-
* `imageSize` knobs instead of these strings, so the array stays for backward-compat
|
|
9
|
-
* but is not read by `AiPromptImageTester`.
|
|
10
|
-
*/
|
|
11
|
-
resolutionOptions: {
|
|
12
|
-
label: string;
|
|
13
|
-
apiValue: string;
|
|
14
|
-
displayLabel: string;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default promptAndAiTesterOptions;
|
|
19
|
-
//# sourceMappingURL=promptTesterOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promptTesterOptions.d.ts","sourceRoot":"","sources":["../../../../../src/config/promptTesterOptions.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,wBAAwB;;;;QAQ1B;;;;;WAKG;;;;;;;CA4BN,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeyEmptyState.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,IAAI,CAAA;CAAE,qBAkB9E"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
open: boolean;
|
|
4
|
-
initialKey: string;
|
|
5
|
-
onSave: (key: string) => void;
|
|
6
|
-
onClear: () => void;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function ApiKeyModal({ open, initialKey, onSave, onClear, onClose }: Props): React.JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=ApiKeyModal.d.ts.map
|
package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeyModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,KAAK,qBAqDhF"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Gemini API key persistence (localStorage) plus a small React hook so all
|
|
3
|
-
* components in the AI tester observe the same value and stay in sync across
|
|
4
|
-
* tabs (via the `storage` event).
|
|
5
|
-
*
|
|
6
|
-
* The key is global to the browser profile, not per-organization, since this
|
|
7
|
-
* tool now talks directly to Google's API and bypasses the diva backend.
|
|
8
|
-
*/
|
|
9
|
-
import { GoogleGenAI } from '@google/genai';
|
|
10
|
-
export declare function loadApiKey(): string;
|
|
11
|
-
export declare function saveApiKey(key: string): void;
|
|
12
|
-
export declare function clearApiKey(): void;
|
|
13
|
-
/**
|
|
14
|
-
* React hook that returns the current API key and re-renders when it changes
|
|
15
|
-
* (in this tab via `setApiKey`, or in another tab via the `storage` event).
|
|
16
|
-
*/
|
|
17
|
-
export declare function useApiKey(): {
|
|
18
|
-
apiKey: string;
|
|
19
|
-
hasKey: boolean;
|
|
20
|
-
setApiKey: (next: string) => void;
|
|
21
|
-
clear: () => void;
|
|
22
|
-
};
|
|
23
|
-
/** Build a fresh `GoogleGenAI` client for an API key. Cheap; clients are stateless. */
|
|
24
|
-
export declare function createGeminiClient(apiKey: string): GoogleGenAI;
|
|
25
|
-
//# sourceMappingURL=apiKey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,wBAAgB,UAAU,IAAI,MAAM,CAMnC;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAM5C;AAED,wBAAgB,WAAW,IAAI,IAAI,CAMlC;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CA0BA;AAED,uFAAuF;AACvF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAE9D"}
|