@crystaldesign/diva-backoffice 26.14.0-beta.3 → 26.14.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +11569 -8306
- 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
|
@@ -7,14 +7,18 @@ interface ArticleConfiguratorProps {
|
|
|
7
7
|
selectedRows: () => Record<string, unknown>[];
|
|
8
8
|
/** The grid's marking state — a new object on every marking change, which re-checks the start screen. */
|
|
9
9
|
selection: BulkActionSelection;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Called with the ids the configurator saved — the caller re-reads those rows and hands them to the legacy SM. Of them,
|
|
12
|
+
* `deleted`: those whose base configuration it deleted.
|
|
13
|
+
*/
|
|
14
|
+
onSaved: (saved: string[], deleted?: string[]) => Promise<void>;
|
|
12
15
|
/** The Unity render group of the save's render pass, from the backoffice settings (planner default `MYCC7` without). */
|
|
13
16
|
diva3dRenderGroup?: string;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
|
-
* The "Konfigurator" panel of the right toolbar: the marked articles' plannings in the
|
|
17
|
-
* "Basiskonfigurat" cross-launch into the seller, embedded).
|
|
19
|
+
* The "Konfigurator" panel of the right toolbar: the marked articles' plannings in the bulk product configurator (the
|
|
20
|
+
* legacy "Basiskonfigurat" cross-launch into the seller, embedded). A new planning starts from a model picked here first
|
|
21
|
+
* (`ModelPicker`); a group with a planning keeps the model of its planning.
|
|
18
22
|
*
|
|
19
23
|
* The start screen follows the grid's checkbox marking: whenever it changes, the panel reads the marked articles'
|
|
20
24
|
* plannings and shows which of them open together — articles without a planning ("Planung anlegen": planned once,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAYzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAQ1D,uDAAuD;AACvD,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AA4C7E,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C,yGAAyG;IACzG,SAAS,EAAE,mBAAmB,CAAC;IAC/B;;;OAGG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,wHAAwH;IACxH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,wBAAwB,qBAiV7G;;;;AAED,wBAA6C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import RootStore from '../../../../../store/RootStore';
|
|
2
2
|
import type { ConfigurationKeyProduct } from '../../logic/configurationGroups';
|
|
3
3
|
/**
|
|
4
|
-
* The marked articles' plannings as far as `configurationGroups` judges them — `divaNr
|
|
5
|
-
*
|
|
6
|
-
* configuration (variant values, the 3D project) would cost kilobytes per article.
|
|
4
|
+
* The marked articles' plannings as far as `configurationGroups` judges them — `divaNr`, the first order set's catalog
|
|
5
|
+
* and order lines, and the changes a catalog update left in them — plus the numbers and short texts the start screen
|
|
6
|
+
* lists them by. Projected: a whole configuration (variant values, the 3D project) would cost kilobytes per article.
|
|
7
7
|
*/
|
|
8
8
|
export declare function loadConfigurationKeys(root: RootStore, ids: string[]): Promise<ConfigurationKeyProduct[]>;
|
|
9
9
|
//# sourceMappingURL=loadConfigurationKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadConfigurationKeys.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"loadConfigurationKeys.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG/E;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAUxG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import RootStore from '../../../../../store/RootStore';
|
|
2
|
+
import type { ConfigurationKeyProduct } from '../../logic/configurationGroups';
|
|
3
|
+
import { type GroupPortion, type PlanningChangeGroup } from '../../logic/planningChangeGroups';
|
|
4
|
+
/**
|
|
5
|
+
* The catalog's "Produktupdates" groups the given articles are in — read from its planning-changes view
|
|
6
|
+
* (`GET /v1/products/changes/planning`), which the catalog keeps materialized so no aggregation runs here. Throws when
|
|
7
|
+
* the catalog refuses, e.g. a user without `readServerSideFields`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function loadPlanningChangeGroups(root: RootStore, ids: string[]): Promise<PlanningChangeGroup[]>;
|
|
10
|
+
/**
|
|
11
|
+
* The next portion of a "Produktupdates" group for the configurator (`nextPortion`), with the keys of its products:
|
|
12
|
+
* the members' keys are read in chunks, in member order, until the portion is full or the members run out.
|
|
13
|
+
*/
|
|
14
|
+
export declare function loadGroupPortion(root: RootStore, candidates: string[], catalogCodex: string, limit: number): Promise<GroupPortion & {
|
|
15
|
+
products: ConfigurationKeyProduct[];
|
|
16
|
+
}>;
|
|
17
|
+
//# sourceMappingURL=loadPlanningChangeGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadPlanningChangeGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAA2C,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAGxI;;;;GAIG;AACH,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAa7G;AAKD;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,YAAY,GAAG;IAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA;CAAE,CAAC,CAajE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAU1E,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAE9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAU1E,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAE9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAa1E,UAAU,iBAAiB;IACzB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,4GAA4G;IAC5G,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClD,6HAA6H;IAC7H,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D,2HAA2H;IAC3H,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACzD,6IAA6I;IAC7I,SAAS,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC5C,gGAAgG;IAChG,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHAiIhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ArticleReadiness } from '../../logic/readiness';
|
|
3
3
|
type ArticleRow = Record<string, unknown>;
|
|
4
|
-
/** The grid's notification setup (`SpreadsheetComponent`), so the action toasts look like the grid's own. */
|
|
5
|
-
export declare const NOTIFICATION_CONFIG: {
|
|
6
|
-
stack: {
|
|
7
|
-
threshold: number;
|
|
8
|
-
};
|
|
9
|
-
showProgress: boolean;
|
|
10
|
-
pauseOnHover: boolean;
|
|
11
|
-
placement: "bottomRight";
|
|
12
|
-
};
|
|
13
4
|
/** What the buttons need to know about the current selection to decide whether they can start. */
|
|
14
5
|
export interface BulkActionSelection {
|
|
15
6
|
/** Number of marked rows — none disables every button. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;AAGrE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAS1C,kGAAkG;AAClG,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,gBAAgB;IACxB,kEAAkE;IAClE,YAAY,EAAE,MAAM,UAAU,EAAE,CAAC;IACjC,wFAAwF;IACxF,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6GAA6G;IAC7G,SAAS,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;IACjD,sHAAsH;IACtH,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,qBAwQnH"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ConfigurationStatusCellProps {
|
|
3
|
+
data?: Record<string, unknown>;
|
|
4
|
+
}
|
|
5
|
+
/** The article's planning in words, coloured by its state: grey without one, green planned, amber with changes to review. */
|
|
6
|
+
export default function ConfigurationStatusCell({ data }: ConfigurationStatusCellProps): React.JSX.Element | null;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,4BAA4B;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,6HAA6H;AAC7H,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAAE,IAAI,EAAE,EAAE,4BAA4B,4BAMrF"}
|
|
@@ -14,12 +14,19 @@ interface MarkedArticlesProps {
|
|
|
14
14
|
showDivaNr?: boolean;
|
|
15
15
|
/** Columns put in front of the article's own — e.g. the classification panel's template and target choice. */
|
|
16
16
|
leadingColumns?: TableColumnsType<ListedMarkedArticle>;
|
|
17
|
+
/** Pages the list — for a long one; without, every article is listed. */
|
|
18
|
+
pageSize?: number;
|
|
19
|
+
/** A checkbox per article — the ids ticked, and what a tick or untick (or the header's, on every page) leaves ticked. */
|
|
20
|
+
selection?: {
|
|
21
|
+
selected: string[];
|
|
22
|
+
onChange: (selected: string[]) => void;
|
|
23
|
+
};
|
|
17
24
|
}
|
|
18
25
|
/**
|
|
19
26
|
* The marked articles of a panel's start screen (classification, configurator) and of the planning transfer's dialogs by what the category manager knows
|
|
20
27
|
* them by: SAP number, supplier article number and the short text in the portal language (German where the article
|
|
21
28
|
* has none in it).
|
|
22
29
|
*/
|
|
23
|
-
declare function MarkedArticles({ articles, showSupplier, showDivaNr, leadingColumns }: MarkedArticlesProps): React.JSX.Element;
|
|
30
|
+
declare function MarkedArticles({ articles, showSupplier, showDivaNr, leadingColumns, pageSize, selection }: MarkedArticlesProps): React.JSX.Element;
|
|
24
31
|
export default MarkedArticles;
|
|
25
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAmB,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE7E,wHAAwH;AACxH,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8GAA8G;IAC9G,cAAc,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACvD,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,SAAS,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;KAAE,CAAC;CAC5E;AAID;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,mBAAmB,qBAwEvH;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ModelUpdateCellProps {
|
|
3
|
+
data?: Record<string, unknown>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* The "!" at the article's front: a catalog update replaced values of its saved planning, and nobody has reviewed and
|
|
7
|
+
* saved it since (`changesRequested.planning`). Empty for every other article.
|
|
8
|
+
*/
|
|
9
|
+
export default function ModelUpdateCell({ data }: ModelUpdateCellProps): React.JSX.Element | null;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,IAAI,EAAE,EAAE,oBAAoB,4BAWrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAiEtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAyvBnB;;;;AAED,wBAAqC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts
CHANGED
|
@@ -86,6 +86,23 @@ export declare const ARTICLE_STATUS_COL_ID = "articleStatus";
|
|
|
86
86
|
* of the yellow stripe at the row's front.
|
|
87
87
|
*/
|
|
88
88
|
export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string, headerStateOf?: (row: ArticleRow) => HeaderRefreshState | undefined): DivaColDef<ArticleRow>;
|
|
89
|
+
/** Column id of the model update marker column at the very front. */
|
|
90
|
+
export declare const MODEL_UPDATE_COL_ID = "modelUpdate";
|
|
91
|
+
/**
|
|
92
|
+
* The narrow "!" column at the very front, before the status column: it marks articles whose saved planning a catalog
|
|
93
|
+
* update replaced values of (`hasPlanningChanges`), rendered by the given cell. Derived from the projected planning
|
|
94
|
+
* changes (see `buildArticleColDefs`) — no field, no edit; the view "Konfiguration › Änderungen prüfen" filters them.
|
|
95
|
+
*/
|
|
96
|
+
export declare function modelUpdateColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
|
|
97
|
+
/** Column id of the configuration status column. */
|
|
98
|
+
export declare const CONFIGURATION_STATUS_COL_ID = "configurationStatus";
|
|
99
|
+
/**
|
|
100
|
+
* The article's planning at a glance, right of the DIVA number: "–" without one, "✓ ‹model›" planned, "⚠ ‹model› · n
|
|
101
|
+
* Änderungen prüfen" with changes a catalog update left to review (configurationStatus.ts) — the text is the cell's value,
|
|
102
|
+
* so a copy carries it; `cellRenderer` colours it. Computed from the row: no field, no edit, and no column filter — the
|
|
103
|
+
* view "Konfiguration" filters server side instead.
|
|
104
|
+
*/
|
|
105
|
+
export declare function configurationStatusColumn(t: Translate, cellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
|
|
89
106
|
/**
|
|
90
107
|
* Whether a derived field's cell is being recalculated: the row's changes are on their way to the server, and the
|
|
91
108
|
* catalog derives the field anew with that save — until the answer is in (the grid then redraws the row). The row
|
|
@@ -154,7 +171,9 @@ divaNrCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'],
|
|
|
154
171
|
/** The cell class of a `derived` field's value about to be recalculated (see isRecalculating) — the page styles it as loading. */
|
|
155
172
|
recalculatingCellClass?: string,
|
|
156
173
|
/** Takes Delete on the DIVA number column (`planningColumn`) — the page's planning removal. */
|
|
157
|
-
onDivaNrRemove?: (params: PlanningRemovalParams) => void
|
|
174
|
+
onDivaNrRemove?: (params: PlanningRemovalParams) => void,
|
|
175
|
+
/** Renders the configuration status cell (`configurationStatusColumn`) — it colours the status. */
|
|
176
|
+
configurationCellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): ArticleColumn[];
|
|
158
177
|
/**
|
|
159
178
|
* The Kollidaten table's columns (`config/colliFields.ts`): SAP number, then in the order of its template supplier,
|
|
160
179
|
* supplier article number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAmD,MAAM,4BAA4B,CAAC;AAIvI,OAAO,EAEL,sBAAsB,EAEtB,0BAA0B,EAE3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"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"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PlanningChangeArticle } from './configurationStatus';
|
|
1
2
|
import { type MarkedArticle, type MarkedArticleProduct } from './markedArticles';
|
|
2
3
|
/**
|
|
3
4
|
* At most this many articles go into the configurator at once: it boots one planner session per article, one
|
|
@@ -18,6 +19,12 @@ export interface ConfigurationKeyProduct extends MarkedArticleProduct {
|
|
|
18
19
|
OrderLines?: OrderLineKey[];
|
|
19
20
|
}[];
|
|
20
21
|
};
|
|
22
|
+
/** The changes a catalog update left in the planning — the grid's "!". */
|
|
23
|
+
changesRequested?: {
|
|
24
|
+
planning?: {
|
|
25
|
+
articles?: PlanningChangeArticle[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
21
28
|
}
|
|
22
29
|
/** A planning's shape: the catalog and its main articles in order — what two articles must share to be configured together. */
|
|
23
30
|
export interface PlanningShape {
|
|
@@ -34,6 +41,8 @@ export interface ConfigurationGroup {
|
|
|
34
41
|
articles: (MarkedArticle & {
|
|
35
42
|
supplier: string;
|
|
36
43
|
})[];
|
|
44
|
+
/** The `edit` group's articles whose planning a catalog update changed — the grid's "!"; left out when there are none. */
|
|
45
|
+
modelUpdateIds?: string[];
|
|
37
46
|
}
|
|
38
47
|
export interface ConfigurationGrouping {
|
|
39
48
|
/** The marking spans more than one group: the configurator opens one group at a time. */
|
|
@@ -51,7 +60,8 @@ export declare function planningShape(product: ConfigurationKeyProduct): Plannin
|
|
|
51
60
|
* Groups the marked articles the configurator can open together. Articles without a planning form one `create`
|
|
52
61
|
* group — they are planned once and each receives a copy with a DivaNr of its own. Articles with a planning are
|
|
53
62
|
* configured together only when their plannings share a shape (see {@link planningShape}); each shape is an `edit`
|
|
54
|
-
* group. An article that carries a `divaNr` but no readable configuration counts as without a planning.
|
|
63
|
+
* group. An article that carries a `divaNr` but no readable configuration counts as without a planning. An `edit`
|
|
64
|
+
* group names its articles with changes a catalog update left to review (`modelUpdateIds`).
|
|
55
65
|
*/
|
|
56
66
|
export declare function configurationGroups(products: ConfigurationKeyProduct[]): ConfigurationGrouping;
|
|
57
67
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEpH;;;GAGG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,2HAA2H;AAC3H,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE;YAAE,YAAY,CAAC,EAAE,OAAO,CAAC;YAAC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"configurationGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAqC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEpH;;;GAGG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,2HAA2H;AAC3H,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE;YAAE,YAAY,CAAC,EAAE,OAAO,CAAC;YAAC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAC1F,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;CAC1E;AAED,+HAA+H;AAC/H,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,gHAAgH;AAChH,MAAM,WAAW,kBAAkB;IACjC,2GAA2G;IAC3G,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACnD,0HAA0H;IAC1H,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,yFAAyF;IACzF,QAAQ,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa,GAAG,SAAS,CAKzF;AAID;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,GAAG,qBAAqB,CAiB9F"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Translate } from '../../HeaderData/types';
|
|
2
|
+
type ArticleRow = Record<string, unknown>;
|
|
3
|
+
/** What the grid reads of a changed article in a pending planning change (diva-catalog `compareNewBasketWithOldConfiguration`). */
|
|
4
|
+
export interface PlanningChangeArticle {
|
|
5
|
+
articleNotFound?: boolean;
|
|
6
|
+
configDiscrepancy?: {
|
|
7
|
+
changed?: {
|
|
8
|
+
new?: unknown[];
|
|
9
|
+
};
|
|
10
|
+
added?: unknown[];
|
|
11
|
+
removed?: unknown[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Where a row holds the pending planning change a catalog update left: only the changed articles are projected, never
|
|
16
|
+
* the stored new configuration next to them.
|
|
17
|
+
*/
|
|
18
|
+
export declare const PLANNING_CHANGES_FIELD = "changesRequested.planning.articles";
|
|
19
|
+
/** The planning's model, written with every planning save. */
|
|
20
|
+
export declare const MODEL_NAME_FIELD = "modelName";
|
|
21
|
+
/**
|
|
22
|
+
* The changes a catalog update left in a planning: every changed, added and removed option value, and every article it
|
|
23
|
+
* no longer finds — counted on the diff as the catalog stored it, one entry per article, so a value every element
|
|
24
|
+
* shares counts once per element.
|
|
25
|
+
*/
|
|
26
|
+
export declare function countPlanningChanges(articles: PlanningChangeArticle[] | undefined): number;
|
|
27
|
+
/** An article's planning: none, planned with a model, or planned with changes a catalog update left to review. */
|
|
28
|
+
export type ConfigurationStatus = {
|
|
29
|
+
kind: 'none';
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'planned';
|
|
32
|
+
model: string;
|
|
33
|
+
} | {
|
|
34
|
+
kind: 'changes';
|
|
35
|
+
model: string;
|
|
36
|
+
count: number;
|
|
37
|
+
};
|
|
38
|
+
/** The planning of a loaded row — see `ConfigurationStatus`. */
|
|
39
|
+
export declare function configurationStatusOf(row: ArticleRow): ConfigurationStatus;
|
|
40
|
+
/** The row's planning has changes a catalog update left to review — the "!" at the row's front. */
|
|
41
|
+
export declare function hasPlanningChanges(row: ArticleRow): boolean;
|
|
42
|
+
/** The status in words: "–", "✓ ‹model›" or "⚠ ‹model› · n Änderungen prüfen". */
|
|
43
|
+
export declare function configurationStatusText(status: ConfigurationStatus, t: Translate): string;
|
|
44
|
+
/**
|
|
45
|
+
* A row re-read after its planning was saved. The save resolved the pending planning change, but the re-read row merges
|
|
46
|
+
* over the grid row and simply lacks the dropped field — so it is cleared explicitly unless the row still brings one
|
|
47
|
+
* (e.g. a price change).
|
|
48
|
+
*/
|
|
49
|
+
export declare function withSavedPlanning(row: ArticleRow): ArticleRow;
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=configurationStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationStatus.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationStatus.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,mIAAmI;AACnI,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,OAAO,EAAE,CAAA;SAAE,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;CAC/F;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,uCAAuC,CAAC;AAE3E,8DAA8D;AAC9D,eAAO,MAAM,gBAAgB,cAAc,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,GAAG,SAAS,GAAG,MAAM,CAM1F;AAED,kHAAkH;AAClH,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5I,gEAAgE;AAChE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,mBAAmB,CAO1E;AAED,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAE3D;AAED,kFAAkF;AAClF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAazF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAE7D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { DeriveCustomData, SaveOption } from '@crystaldesign/bulk-product-configurator';
|
|
2
|
+
/** The save option's key: whether the configuration's order text becomes the article's German EKT. */
|
|
3
|
+
export declare const TAKE_OVER_EKT = "takeOverEkt";
|
|
4
|
+
/**
|
|
5
|
+
* Pfister's save options in the configurator — the configurator's counterpart of the catalog's `PfisterFieldDeriver`.
|
|
6
|
+
* "EK-Text übernehmen" starts ticked only for an article without a German EKT yet, so a maintained EKT is not
|
|
7
|
+
* overwritten unless the user ticks it — and never for a product that is no flat article.
|
|
8
|
+
*/
|
|
9
|
+
export declare function pfisterSaveOptions(title: string): SaveOption[];
|
|
10
|
+
/**
|
|
11
|
+
* The Pfister article fields a base configuration sets when the configurator saves it (`save.deriveCustomData`):
|
|
12
|
+
* - with "EK-Text übernehmen" ticked, its purchase text — the order text the seller's product building generates from
|
|
13
|
+
* the basket — as the German EKT. The SAP send wraps it into its 132-character lines. Without the tick or an order
|
|
14
|
+
* text the EKT stays as it is.
|
|
15
|
+
* - the planning's price as the selling price `KONP_VLP0_1`, rounded to the Rappen — only while the article has none (no
|
|
16
|
+
* value or 0): a maintained price, entered or uploaded, is never overwritten (PF-DIVA-3986).
|
|
17
|
+
*
|
|
18
|
+
* A product that is no flat article gets no SAP fields at all.
|
|
19
|
+
*/
|
|
20
|
+
export declare const pfisterCustomData: DeriveCustomData;
|
|
21
|
+
/**
|
|
22
|
+
* A flat article has a supplier and a purchasing group. The configurator also saves other products of a model update's
|
|
23
|
+
* group — those carry no SAP fields, and the legacy SM knows no article for them.
|
|
24
|
+
*/
|
|
25
|
+
export declare function isFlatArticle(customData: unknown): boolean;
|
|
26
|
+
//# sourceMappingURL=pfisterConfigurationDeriver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pfisterConfigurationDeriver.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE7F,sGAAsG;AACtG,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,EAAE,CAE9D;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAQ/B,CAAC;AAcF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAG1D"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { type ConfigurationKeyProduct } from './configurationGroups';
|
|
2
|
+
import { type MarkedArticle } from './markedArticles';
|
|
3
|
+
/**
|
|
4
|
+
* A group of the catalog's "Produktupdates" (the planning-changes view, `GET /v1/products/changes/planning`): the
|
|
5
|
+
* products a catalog update changed the same articles of, in one catalog — as far as the panel reads it.
|
|
6
|
+
*/
|
|
7
|
+
export interface PlanningChangeGroup {
|
|
8
|
+
/** The articles the update changed, with what it changed — each distinct change once over the group. */
|
|
9
|
+
info?: {
|
|
10
|
+
articles?: PlanningChangeGroupArticle[];
|
|
11
|
+
};
|
|
12
|
+
docs?: PlanningChangeGroupDoc[];
|
|
13
|
+
}
|
|
14
|
+
/** A product of the group as the view lists it. */
|
|
15
|
+
interface PlanningChangeGroupDoc {
|
|
16
|
+
productId?: unknown;
|
|
17
|
+
divaNr?: unknown;
|
|
18
|
+
retailerArticleNr?: unknown;
|
|
19
|
+
shortDescription?: unknown;
|
|
20
|
+
supplierName?: unknown;
|
|
21
|
+
}
|
|
22
|
+
/** Another product of the group, listed like a marked article. */
|
|
23
|
+
export interface SameChangeArticle extends MarkedArticle {
|
|
24
|
+
supplier?: string;
|
|
25
|
+
divaNr?: string;
|
|
26
|
+
}
|
|
27
|
+
/** An option value as the catalog's comparison stores it — codices with their `OPT` / `OPV` prefix. */
|
|
28
|
+
interface ChangedValue {
|
|
29
|
+
opt?: unknown;
|
|
30
|
+
opv?: unknown;
|
|
31
|
+
optName?: unknown;
|
|
32
|
+
opvName?: unknown;
|
|
33
|
+
}
|
|
34
|
+
interface PlanningChangeGroupArticle {
|
|
35
|
+
codex?: unknown;
|
|
36
|
+
articleNotFound?: boolean;
|
|
37
|
+
configDiscrepancy?: {
|
|
38
|
+
changed?: {
|
|
39
|
+
old?: ChangedValue[];
|
|
40
|
+
new?: ChangedValue[];
|
|
41
|
+
};
|
|
42
|
+
added?: ChangedValue[];
|
|
43
|
+
removed?: ChangedValue[];
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
/** One change of a group in words: the option and its value before and after — an article for one gone. */
|
|
47
|
+
export interface ChangeLine {
|
|
48
|
+
kind: 'changed' | 'added' | 'removed' | 'articleNotFound';
|
|
49
|
+
/** The option's name — the article's codex for `articleNotFound`. */
|
|
50
|
+
subject: string;
|
|
51
|
+
from?: string;
|
|
52
|
+
to?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* What a catalog update replaced in a group's plannings, each change once: changed values (old and new by position, as
|
|
56
|
+
* the catalog stores them), added and dropped options, articles no longer in the model.
|
|
57
|
+
*/
|
|
58
|
+
export declare function changeSummary(groups: PlanningChangeGroup[]): ChangeLine[];
|
|
59
|
+
/** The view query's filter (the query grammar): the groups any of `ids` is in. */
|
|
60
|
+
export declare function planningChangeGroupsFilter(ids: string[]): string;
|
|
61
|
+
/**
|
|
62
|
+
* The products of `groups`, each once: the `marked` ones first in their order — also one the view does not list
|
|
63
|
+
* (yet) —, then the groups' others in the view's order.
|
|
64
|
+
*/
|
|
65
|
+
export declare function groupMembers(groups: PlanningChangeGroup[], marked: string[]): string[];
|
|
66
|
+
/**
|
|
67
|
+
* The groups' products besides the `marked` ones, each once in the view's order — with what the view knows of them,
|
|
68
|
+
* listed like marked articles: SAP number, short text (as the product's German text), supplier and DIVA number.
|
|
69
|
+
*/
|
|
70
|
+
export declare function sameChangeArticles(groups: PlanningChangeGroup[], marked: string[]): SameChangeArticle[];
|
|
71
|
+
/** One portion of a group's products for the configurator, and what was sorted out on the way. */
|
|
72
|
+
export interface GroupPortion {
|
|
73
|
+
ids: string[];
|
|
74
|
+
/** Planned with another model — the configurator opens one model at a time. */
|
|
75
|
+
otherModel: string[];
|
|
76
|
+
/** Without changes to review any more: saved since, or not found. */
|
|
77
|
+
resolved: string[];
|
|
78
|
+
/** How many of the candidates were looked at — the next portion goes on after them. */
|
|
79
|
+
consumed: number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The next portion of `candidates` — the group's products in member order, `found` their keys as loaded: at most
|
|
83
|
+
* `limit` products planned with the model `catalogCodex` whose planning still has a catalog update's changes.
|
|
84
|
+
*/
|
|
85
|
+
export declare function nextPortion(candidates: string[], found: ConfigurationKeyProduct[], catalogCodex: string, limit: number): GroupPortion;
|
|
86
|
+
export {};
|
|
87
|
+
//# sourceMappingURL=planningChangeGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planningChangeGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAEpF,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5D;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,wGAAwG;IACxG,IAAI,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,0BAA0B,EAAE,CAAA;KAAE,CAAC;IACnD,IAAI,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACjC;AAED,mDAAmD;AACnD,UAAU,sBAAsB;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,kEAAkE;AAClE,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,uGAAuG;AACvG,UAAU,YAAY;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,0BAA0B;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,YAAY,EAAE,CAAC;YAAC,GAAG,CAAC,EAAE,YAAY,EAAE,CAAA;SAAE,CAAC;QAAC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;QAAC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;KAAE,CAAC;CACpI;AAED,2GAA2G;AAC3G,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,iBAAiB,CAAC;IAC1D,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAKD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,mBAAmB,EAAE,GAAG,UAAU,EAAE,CAgBzE;AAED,kFAAkF;AAClF,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAEhE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAQtF;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,mBAAmB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAiBvG;AAED,kGAAkG;AAClG,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,+EAA+E;IAC/E,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,qEAAqE;IACrE,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,uFAAuF;IACvF,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,CAarI"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts
CHANGED
|
@@ -38,6 +38,12 @@ export declare function planningTransferTargets(rows: (ArticleRow | undefined)[]
|
|
|
38
38
|
* merges over the grid row and simply lacks the removed fields. The given row is left alone.
|
|
39
39
|
*/
|
|
40
40
|
export declare function withoutPlanning(row: ArticleRow): ArticleRow;
|
|
41
|
+
/**
|
|
42
|
+
* A row re-read after its planning was deleted elsewhere (the configurator's "Basiskonfigurat löschen"). It merges over
|
|
43
|
+
* the grid row and simply lacks the removed fields — so they are cleared explicitly, a catalog update's pending change
|
|
44
|
+
* with them, unless the row still brings one (e.g. a price change).
|
|
45
|
+
*/
|
|
46
|
+
export declare function withDeletedPlanning(row: ArticleRow): ArticleRow;
|
|
41
47
|
/** The ids of the rows a planning removal covers, by whether it may run on them. */
|
|
42
48
|
export interface PlanningRemovalTargets {
|
|
43
49
|
/** Rows with a planning — it is removed. */
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;CAC5B;AAKD,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,GAAG,SAAS,CAGjE;AAKD,4GAA4G;AAC5G,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAKjF;AAED,wFAAwF;AACxF,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,uEAAuE;IACvE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gHAAgH;IAChH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAUnH;AAKD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAI3D;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gIAAgI;IAChI,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,GAAG,sBAAsB,CAS/F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,EAAE,CAYxH"}
|
|
1
|
+
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;CAC5B;AAKD,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,GAAG,SAAS,CAGjE;AAKD,4GAA4G;AAC5G,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAKjF;AAED,wFAAwF;AACxF,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,uEAAuE;IACvE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gHAAgH;IAChH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAUnH;AAKD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAI3D;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAG/D;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gIAAgI;IAChI,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,GAAG,sBAAsB,CAS/F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,EAAE,CAYxH"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { AssortmentManagerViewGroup } from '../types';
|
|
2
2
|
/** Every option of a group starts with this: the whole table. */
|
|
3
3
|
export declare const VIEW_ALL = "all";
|
|
4
|
+
/**
|
|
5
|
+
* Marks an article whose saved planning a catalog update replaced values of: the catalog writes the planning change
|
|
6
|
+
* only with at least one article, and maps the article codex (token) in its search index for this view.
|
|
7
|
+
*/
|
|
8
|
+
export declare const PLANNING_CHANGES_VIEW_FIELD = "changesRequested.planning.articles.codex";
|
|
4
9
|
/**
|
|
5
10
|
* The predefined views of the article table — a bar of one segmented control per group above the grid.
|
|
6
11
|
* Server side by construction (the conditions join the pre filter), so only fields mapped in the
|
|
7
12
|
* catalog's search index qualify: the transfer flag (`SentToSAPSuccess`, boolean) and the error text
|
|
8
13
|
* (`SentToSAPError`, string — `exists` is what the failed view asks). The Pfister service writes the flag
|
|
9
14
|
* `true` on success and `false` on a failed run, a never-sent article has none; the error text stays
|
|
10
|
-
* until an edit clears it (to null — not indexed). The
|
|
11
|
-
*
|
|
15
|
+
* until an edit clears it (to null — not indexed). The configuration views ask for the DIVA number and the
|
|
16
|
+
* planning change's article codex (`PLANNING_CHANGES_VIEW_FIELD`). The first option of a group is the one the
|
|
17
|
+
* page opens with.
|
|
12
18
|
*/
|
|
13
19
|
export declare const ARTICLE_VIEW_GROUPS: AssortmentManagerViewGroup[];
|
|
14
20
|
//# sourceMappingURL=articleViews.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleViews.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/articleViews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAGtD,iEAAiE;AACjE,eAAO,MAAM,QAAQ,QAAQ,CAAC;AAI9B
|
|
1
|
+
{"version":3,"file":"articleViews.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/articleViews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAGtD,iEAAiE;AACjE,eAAO,MAAM,QAAQ,QAAQ,CAAC;AAI9B;;;GAGG;AACH,eAAO,MAAM,2BAA2B,6CAA6C,CAAC;AAEtF;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,0BAA0B,EAqD3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAA4B,MAAM,UAAU,CAAC;AA6BlF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,UAAqF,CAAC;AAmFtH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAA4B,MAAM,UAAU,CAAC;AA6BlF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,UAAqF,CAAC;AAmFtH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,EAkrDnE,CAAC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationStatus.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/configurationStatus.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pfisterConfigurationDeriver.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planningChangeGroups.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/planningChangeGroups.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import type { TFunction } from 'i18next';
|
|
2
3
|
import type { HookAPI } from 'antd/es/modal/useModal';
|
|
3
4
|
import type { AgentWriteScope } from '../../../store/GridRegistry';
|
|
@@ -7,6 +8,10 @@ export interface InUseUsage {
|
|
|
7
8
|
label?: string;
|
|
8
9
|
holderId?: string;
|
|
9
10
|
holderKey?: string;
|
|
11
|
+
/** The catalog the place lies in, named only for a record outside the catalogs (an organization feature or option). */
|
|
12
|
+
catalog?: string;
|
|
13
|
+
/** That catalog's id: catalog names repeat, a clone keeps its source's. */
|
|
14
|
+
catalogId?: string;
|
|
10
15
|
}
|
|
11
16
|
/** How a table names its records and their usages in the in-use dialog and in agent answers. */
|
|
12
17
|
export interface InUseReviewOptions {
|
|
@@ -43,6 +48,26 @@ export declare function usageGroups(usages: InUseUsage[], options: InUseReviewOp
|
|
|
43
48
|
heading: string;
|
|
44
49
|
labels: string[];
|
|
45
50
|
}[];
|
|
51
|
+
/**
|
|
52
|
+
* The places of a refusal per table, each record once, as the in-use dialogs show them: by its number and id together
|
|
53
|
+
* (the labels of one record's places differ, e.g. a decision's column and row; an article number repeats across series),
|
|
54
|
+
* shown by its number - an article's with its serie - else its first label.
|
|
55
|
+
*/
|
|
56
|
+
export declare function usageTables(usages: InUseUsage[], options: InUseReviewOptions): {
|
|
57
|
+
type: string;
|
|
58
|
+
heading: string;
|
|
59
|
+
keys: string[];
|
|
60
|
+
}[];
|
|
61
|
+
/**
|
|
62
|
+
* The tables that still reference a record. Places that name their catalog - those of an organization feature or option -
|
|
63
|
+
* are listed under a heading per catalog: the numbers of their records repeat across catalogs. A catalog is told apart by
|
|
64
|
+
* its id, which its heading shows only when another catalog has the same name.
|
|
65
|
+
*/
|
|
66
|
+
export declare function UsageTables({ usages, options, t }: {
|
|
67
|
+
usages: InUseUsage[];
|
|
68
|
+
options: InUseReviewOptions;
|
|
69
|
+
t: TFunction;
|
|
70
|
+
}): React.JSX.Element;
|
|
46
71
|
/** Fills `${path}` placeholders from the first source that holds a value. */
|
|
47
72
|
export declare function resolveTemplate(template: string, ...sources: unknown[]): string;
|
|
48
73
|
/**
|