@crystaldesign/diva-backoffice 26.13.0-beta.33 → 26.13.0-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/build/esm/index.js +7061 -5737
  2. package/build/types/backoffice/src/index.d.ts.map +1 -1
  3. package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts.map +1 -1
  4. package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts.map +1 -1
  5. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +25 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts +46 -0
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts.map +1 -0
  11. package/build/types/backoffice/src/store/RootStore.d.ts +11 -1
  12. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  13. package/build/types/backoffice/src/store/index.d.ts +3 -1
  14. package/build/types/backoffice/src/store/index.d.ts.map +1 -1
  15. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts +2 -0
  16. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts.map +1 -0
  17. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts +2 -0
  18. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts.map +1 -0
  19. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts +2 -0
  20. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts.map +1 -0
  21. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts +4 -1
  22. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts.map +1 -1
  23. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +3 -0
  24. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  25. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts +3 -1
  26. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts.map +1 -1
  27. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts +3 -1
  28. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts.map +1 -1
  29. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts +15 -0
  30. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts.map +1 -0
  31. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts +9 -0
  32. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts.map +1 -0
  33. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts +15 -0
  34. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts.map +1 -0
  35. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts +13 -0
  36. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts.map +1 -0
  37. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts +9 -0
  38. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts.map +1 -0
  39. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts +9 -1
  40. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts.map +1 -1
  41. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts +3 -2
  42. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts.map +1 -1
  43. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +4 -3
  44. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -1
  45. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts.map +1 -1
  46. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  47. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts +14 -0
  48. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts.map +1 -0
  49. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts +8 -0
  50. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts.map +1 -1
  51. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts +28 -0
  52. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts.map +1 -0
  53. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts +28 -0
  54. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts.map +1 -0
  55. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts +3 -0
  56. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts.map +1 -1
  57. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts.map +1 -1
  58. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  59. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/index.d.ts.map +1 -1
  60. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts +13 -0
  61. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts.map +1 -0
  62. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts +20 -0
  63. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts.map +1 -0
  64. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts +9 -0
  65. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts.map +1 -0
  66. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts +12 -4
  67. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts.map +1 -1
  68. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +1 -0
  69. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  70. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts +2 -0
  71. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts.map +1 -0
  72. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts +2 -0
  73. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts.map +1 -0
  74. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts +2 -0
  75. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts.map +1 -0
  76. package/package.json +12 -12
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,qBAAqB,CAAC;AAU7B,OAAO,EAAE,mBAAmB,EAA0C,MAAM,0BAA0B,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAoEhD,QAAA,MAAM,cAAc,EAAE,mBAAmB,CAAC,aAAa,CAGtD,CAAC;AACF,eAAe,cAAc,CAAC;AAE9B,uHAAuH;AACvH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,aAAa,CAG7D,CAAC;AAEF,gIAAgI;AAChI,eAAO,MAAM,qBAAqB,EAAE,mBAAmB,CAAC,aAAa,CAGpE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,qBAAqB,CAAC;AAU7B,OAAO,EAAE,mBAAmB,EAA0C,MAAM,0BAA0B,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAsEhD,QAAA,MAAM,cAAc,EAAE,mBAAmB,CAAC,aAAa,CAGtD,CAAC;AACF,eAAe,cAAc,CAAC;AAE9B,uHAAuH;AACvH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,aAAa,CAG7D,CAAC;AAEF,gIAAgI;AAChI,eAAO,MAAM,qBAAqB,EAAE,mBAAmB,CAAC,aAAa,CAGpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/ProductOnboarding/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;;;;AA0CxC,wBAAoC"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/ProductOnboarding/Navigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;;;;AAqCxC,wBAAoC"}
@@ -1 +1 @@
1
- {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/ProductOnboarding/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG/C,MAAM,WAAW,qBAAsB,SAAQ,QAAQ;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,mHAAmH;AACnH,eAAO,MAAM,wBAAwB,EAAE,qBAAqB,EA0B3D,CAAC"}
1
+ {"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/ProductOnboarding/views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAQ/C,MAAM,WAAW,qBAAsB,SAAQ,QAAQ;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,mHAAmH;AACnH,eAAO,MAAM,wBAAwB,EAAE,qBAAqB,EAkC3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAiBjF,OAAO,EAAQ,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;oCAW3E,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;AAiT9E,wBAAmC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkBjF,OAAO,EAAQ,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;oCAW3E,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;;;AAgV9E,wBAAmC"}
@@ -1 +1 @@
1
- {"version":3,"file":"mediaToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/mediaToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAMhE,6GAA6G;AAC7G,eAAO,MAAM,gBAAgB,UAO5B,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAuHD,6EAA6E;AAC7E,MAAM,MAAM,cAAc,GAAG;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEhE,wHAAwH;AACxH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CAyDlH;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM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;;;;;;;;;;;;GAyEhH;AAED,sFAAsF;AACtF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAKnF;AAkCD,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjF,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IACtC,gGAAgG;IAChG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAClD;AA+JD,wBAAsB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CA6I5G;AAgnBD;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,mBAAmB,GAAG,YAAY,CA2czE"}
@@ -17,6 +17,22 @@ export interface NavigationToolsetContext {
17
17
  export declare const NAVIGATION_TOOL_NAMES: string[];
18
18
  /** Target path of an agent-triggered navigation that has not landed yet — while set, the chat suppresses its auto-'Continue.'. */
19
19
  export declare const pendingAgentNavigation: import("mobx").IObservableValue<string | undefined>;
20
+ /** The catalog editor's record of the open catalog, as far as the facts read it. */
21
+ interface OpenCatalogRecord {
22
+ _id?: string;
23
+ name?: string;
24
+ major?: number;
25
+ }
26
+ /**
27
+ * The open catalog's name and IDM format major (3 or 4) for the per-turn facts — read only from the editor's record of
28
+ * THIS catalog: the context can still hold the bare id from the route, or the record of the catalog opened before.
29
+ */
30
+ export declare function openCatalogFacts(catalogId: string | undefined, openCatalog: OpenCatalogRecord | undefined): {
31
+ catalogName?: string;
32
+ catalogMajor?: number;
33
+ };
34
+ /** The IDM format major of the catalog open in the editor, when the editor's record holds it — else undefined. */
35
+ export declare function openCatalogMajor(root: RootStore): number | undefined;
20
36
  /**
21
37
  * The length cap a .NET validation pattern encodes: `[…][…]{0,29}` is one mandatory character plus up to 29 = 30,
22
38
  * a lone `[…]{0,29}` is 29. Undefined when the text holds no such quantifier.
@@ -99,6 +115,15 @@ export declare function bulkLocateRows(api: GridApi<any>, column: string, values
99
115
  chunkSize?: number;
100
116
  onChunk?: BulkLocateChunkHandler;
101
117
  }): Promise<BulkLocateResult>;
118
+ /** The rows that carry one key, by _id — each with the features it serves where the rows carry featureNos. */
119
+ export declare const carrierIdsOf: (nodes: {
120
+ id?: string;
121
+ data?: any;
122
+ }[]) => string;
123
+ /** Rows of one key that serve different features: the feature is what the user means, so the agent asks instead of picking. */
124
+ export declare const askWhichFeature: (nodes: {
125
+ data?: any;
126
+ }[]) => "" | " ASK the user which feature unless the request names it — do not pick the first.";
102
127
  /**
103
128
  * Proves for each value that exactly ONE row of the column carries it, the way a bulk locate does (one combined equals
104
129
  * filter per 50 values), and puts the filter model it found back. Answers a refusal per value that is not proven unique.
@@ -1 +1 @@
1
- {"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/navigationToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAgBzD,OAAO,EAA2B,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG7E,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,SAAS,CAAC;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AAiB,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAiC3I;AAqDD,oFAAoF;AACpF,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,CAorGnF;AA+GD;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoDrF"}
1
+ {"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/navigationToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAgBzD,OAAO,EAA2B,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAI7E,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,aAAa,CAAC;IACnC,oHAAoH;IACpH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAmED,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,UAcjC,CAAC;AAWF,kIAAkI;AAClI,eAAO,MAAM,sBAAsB,qDAAgD,CAAC;AA4BpF,oFAAoF;AACpF,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,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C9G,eAAO,MAAM,YAAY,UAAW;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,EAAE,WAOlD,CAAC;AAEhB,+HAA+H;AAC/H,eAAO,MAAM,eAAe,UAAW;IAAE,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,EAAE,4FACkF,CAAC;AAE1I;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAiC3I;AAqDD,oFAAoF;AACpF,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,CA2sGnF;AA+GD;;;GAGG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoDrF"}
@@ -0,0 +1,46 @@
1
+ import type { ChatMessageRecord } from '@crystaldesign/diva-agent';
2
+ /**
3
+ * The longest a reloadPage call of the in-app chat waits for its turn to be saved before the page reloads anyway (the
4
+ * save failed, or the host never reported it).
5
+ */
6
+ export declare const CHAT_TURN_RELOAD_FALLBACK_MS = 10000;
7
+ /** A call over the MCP bridge: the bridge posts its result at once, so the reload keeps its short delay. */
8
+ export declare const BRIDGE_RELOAD_DELAY_MS = 2000;
9
+ /**
10
+ * Where a pending reloadPage call came from: the in-app chat's own turn, or the MCP bridge (no chat turn). Read off
11
+ * whether a chat turn is live — a bridge call during a live in-app turn counts as 'chatTurn' and reloads by the fallback.
12
+ */
13
+ export type PageReloadSource = 'chatTurn' | 'bridge';
14
+ /** A reloadPage call waiting for its reload: where it came from and, for a chat turn, that turn's answer message. */
15
+ export interface PendingPageReload {
16
+ source: PageReloadSource;
17
+ /** The assistant message of the requesting turn — only ITS saved answer releases the reload. */
18
+ messageId?: string;
19
+ }
20
+ /** Set while a reloadPage call waits for its reload. */
21
+ export declare const pendingPageReload: import("mobx").IObservableValue<PendingPageReload | undefined>;
22
+ /** The agent panel reports its chat's turn state; returns the unregister. */
23
+ export declare function setChatTurnProbe(probe: () => ChatTurnState): () => void;
24
+ /** Whether this document is reloading for a reloadPage call — it keeps running until it unloads. */
25
+ export declare function isPageReloading(): boolean;
26
+ /** Reloads the page for a pending reloadPage call — once, whoever comes first: the agent panel or the fallback timer. */
27
+ export declare function reloadPendingPage(): void;
28
+ /**
29
+ * Arms the reload of a reloadPage call. A call from the in-app chat's turn reloads once the agent panel sees that turn
30
+ * SAVED (pageReloadDue): reloading earlier leaves the turn's record 'streaming', the reloaded chat settles it as
31
+ * interrupted, and the automatic 'Continue.' never comes. The timer is the fallback for both sources.
32
+ */
33
+ export declare function requestPageReload(): PageReloadSource;
34
+ /** The in-app chat as the agent panel sees it: a turn is live, and the last message of the open conversation. */
35
+ export interface ChatTurnState {
36
+ isStreaming: boolean;
37
+ lastMessage?: ChatMessageRecord;
38
+ }
39
+ /**
40
+ * Whether the page may reload now for a reloadPage call of the chat's own turn: no turn is live and the last message is
41
+ * that turn's answer, saved ('ready' is set only after the server stored it) and ended by reloadPage. An older answer
42
+ * ended by reloadPage — the user opened another conversation meanwhile — is not that turn's. A bridge call never waits
43
+ * for the chat.
44
+ */
45
+ export declare function pageReloadDue(pending: PendingPageReload | undefined, chat: ChatTurnState): boolean;
46
+ //# sourceMappingURL=pageReload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageReload.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/pageReload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,QAAS,CAAC;AACnD,4GAA4G;AAC5G,eAAO,MAAM,sBAAsB,OAAQ,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,QAAQ,CAAC;AAErD,qHAAqH;AACrH,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,gBAAgB,CAAC;IACzB,gGAAgG;IAChG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wDAAwD;AACxD,eAAO,MAAM,iBAAiB,gEAA2D,CAAC;AAK1F,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,aAAa,GAAG,MAAM,IAAI,CAKvE;AAQD,oGAAoG;AACpG,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED,yHAAyH;AACzH,wBAAgB,iBAAiB,IAAI,IAAI,CAKxC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,gBAAgB,CAQpD;AAED,iHAAiH;AACjH,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,SAAS,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO,CAUlG"}
@@ -21,6 +21,11 @@ export default class {
21
21
  * permission-filters it into `contentStore.resolvedMenu`; without it the backoffice menu is built.
22
22
  */
23
23
  readonly menu?: MenuItem[] | undefined;
24
+ /**
25
+ * Shows the host in light mode whatever the user's theme switch says (the Produkt Onboarding): the
26
+ * classification editor in its panel has no dark mode. The user's choice stays saved for the backoffice.
27
+ */
28
+ readonly lightModeOnly?: boolean | undefined;
24
29
  detailStore: DetailStore;
25
30
  modalStore: ModalStore;
26
31
  contentStore: ContentStore;
@@ -53,7 +58,12 @@ export default class {
53
58
  * Menu of a host that renders its own navigation and routes (the Data Engine). The store then only
54
59
  * permission-filters it into `contentStore.resolvedMenu`; without it the backoffice menu is built.
55
60
  */
56
- menu?: MenuItem[] | undefined);
61
+ menu?: MenuItem[] | undefined,
62
+ /**
63
+ * Shows the host in light mode whatever the user's theme switch says (the Produkt Onboarding): the
64
+ * classification editor in its panel has no dark mode. The user's choice stays saved for the backoffice.
65
+ */
66
+ lightModeOnly?: boolean | undefined);
57
67
  updateHandlers(handler: CoreHandlers): void;
58
68
  updateNavigationState(navigationState: {
59
69
  searchParams: URLSearchParams;
@@ -1 +1 @@
1
- {"version":3,"file":"RootStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/RootStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAoB,MAAM,0BAA0B,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAK/B,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,MAAM,CAAC,OAAO;aA4BM,IAAI,EAAE,IAAI;aACV,QAAQ,EAAE,gBAAgB;IAE1C;;;OAGG;aACa,IAAI,CAAC,EAAE,QAAQ,EAAE;IAlC5B,WAAW,cAAC;IACZ,UAAU,aAAC;IACX,YAAY,eAAC;IACb,SAAS,YAAC;IACV,kBAAkB,qBAAC;IACnB,aAAa,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O,GAAG,OAAO,CAAa;IACnD,eAAe,EAAE;QAAE,YAAY,EAAE,eAAe,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAExE;;;OAGG;IACH,OAAO,CAAC,kBAAkB,CAA8B;IAEjD,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAa;gBAGjD,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,YAAY,EACL,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,gBAAgB,EAC1C,eAAe,EAAE;QAAE,YAAY,EAAE,eAAe,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;IAChE;;;OAGG;IACa,IAAI,CAAC,EAAE,QAAQ,EAAE,YAAA;IACjC;;;OAGG;IACa,aAAa,CAAC,EAAE,OAAO,YAAA;IAgBzC,cAAc,CAAC,OAAO,EAAE,YAAY;IAIpC,qBAAqB,CAAC,eAAe,EAAE;QAAE,YAAY,EAAE,eAAe,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;IAStF,mBAAmB,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAI5D,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAI/C,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,IAAI,CAAC,yEAEJ;IAED,qBAAqB,CAAC,kBAAkB,CAAC,EAAE,MAAM,IAAI;IAIrD,cAAc,CAAC,GAAG,EAAE,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG,wBAAwB,GAAG,MAAM;IAuBjG;;;;;OAKG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY;CAkBtD"}
@@ -3,10 +3,12 @@ import React from 'react';
3
3
  import { Configuration } from '../Configuration';
4
4
  import RootStore from './RootStore';
5
5
  import { MenuItem } from '../layout/Navigation/types';
6
- export declare const StoreProvider: ({ children, settings, isVisible, menu, }: ComponentProps<Configuration> & {
6
+ export declare const StoreProvider: ({ children, settings, isVisible, menu, lightModeOnly, }: ComponentProps<Configuration> & {
7
7
  children: React.ReactElement;
8
8
  /** See `RootStore.menu`: set by a host with its own navigation, absent for the backoffice. */
9
9
  menu?: MenuItem[];
10
+ /** See `RootStore.lightModeOnly`. */
11
+ lightModeOnly?: boolean;
10
12
  }) => React.JSX.Element;
11
13
  export declare const useStore: () => RootStore;
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAItD,eAAO,MAAM,aAAa,6CAKvB,cAAc,CAAC,aAAa,CAAC,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,8FAA8F;IAC9F,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;CACnB,sBAiCA,CAAC;AAEF,eAAO,MAAM,QAAQ,iBAMpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAItD,eAAO,MAAM,aAAa,4DAMvB,cAAc,CAAC,aAAa,CAAC,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,8FAA8F;IAC9F,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,sBAiCA,CAAC;AAEF,eAAO,MAAM,QAAQ,iBAMpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=locateRowNotUnique.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locateRowNotUnique.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=openCatalogFacts.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openCatalogFacts.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pageReload.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageReload.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { NotificationInstance } from 'antd/es/notification/interface';
2
3
  import { AssortmentManagerItemGroup } from '../../../types';
3
4
  interface ArticleSubTableProps {
4
5
  group: AssortmentManagerItemGroup;
@@ -16,6 +17,8 @@ interface ArticleSubTableProps {
16
17
  * blocks the main grid so a row switch cannot overtake the running save.
17
18
  */
18
19
  onSavingChange?: (groupKey: string, saving: boolean) => void;
20
+ /** The page's notifications — not for the warning on unmount, when the page may be gone already (see there). */
21
+ notify: Pick<NotificationInstance, 'warning' | 'error'>;
19
22
  }
20
23
  /**
21
24
  * One ITEM_GROUP of the selected article as an auto-saving tab: every completed change is flushed
@@ -25,6 +28,6 @@ interface ArticleSubTableProps {
25
28
  * `registerFlusher`; only a tab that goes away without that flush (e.g. leaving the page) drops a
26
29
  * still-scheduled change, warned about rather than saved.
27
30
  */
28
- declare function ArticleSubTable({ group, article, onSaved, registerFlusher, onSavingChange }: ArticleSubTableProps): React.JSX.Element;
31
+ declare function ArticleSubTable({ group, article, onSaved, registerFlusher, onSavingChange, notify }: ArticleSubTableProps): React.JSX.Element;
29
32
  export default ArticleSubTable;
30
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAO9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAW5D,UAAU,oBAAoB;IAC5B,KAAK,EAAE,0BAA0B,CAAC;IAClC,6HAA6H;IAC7H,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,0HAA0H;IAC1H,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAClD;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACrF;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9D;AAED;;;;;;;GAOG;AACH,iBAAS,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,EAAE,oBAAoB,qBA6M1G;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAM3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAY5D,UAAU,oBAAoB;IAC5B,KAAK,EAAE,0BAA0B,CAAC;IAClC,6HAA6H;IAC7H,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,0HAA0H;IAC1H,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IAClD;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACrF;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7D,gHAAgH;IAChH,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;CACzD;AAED;;;;;;;GAOG;AACH,iBAAS,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,oBAAoB,qBAgNlH;AAED,eAAe,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { NotificationInstance } from 'antd/es/notification/interface';
2
3
  import { DivaColDef, DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
3
4
  import { AssortmentManagerViewCondition } from '../../../types';
4
5
  import { HeaderProducts } from '../../logic/headerSync';
@@ -16,6 +17,8 @@ interface ArticleTableProps {
16
17
  onDivaNrPaste?: DivaColDef<Record<string, unknown>>['onPaste'];
17
18
  /** Takes Delete on the DIVA number column (the planning removal). Must keep its identity — a new one rebuilds the grid. */
18
19
  onDivaNrRemove?: (params: PlanningRemovalParams) => void;
20
+ /** The page's notifications — a failed load reports while the table still shows its spinner. */
21
+ notify: NotificationInstance;
19
22
  }
20
23
  /**
21
24
  * All articles of the organization as a server-side grid: the catalog service pages, sorts and
@@ -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,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAUhE,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAW1E,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;CAC1D;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHA2HhB,CAAC;AAEH,eAAe,YAAY,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,MAAM,gBAAgB,CAAC;AAUhE,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAE9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAW1E,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,gGAAgG;IAChG,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHA8HhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -9,6 +9,8 @@ interface ClassificationGroupsProps {
9
9
  isClassified: (ids: string[]) => boolean;
10
10
  /** Opens the editor on one group's articles. */
11
11
  onClassify: (ids: string[]) => void;
12
+ /** Whether one of these articles lacks a required field (`logic/classificationRequiredFields.ts`) — such a group cannot start. */
13
+ isBlocked: (ids: string[]) => boolean;
12
14
  /** The template and target choice in front of each group's articles — see the panel's template takeover. */
13
15
  templateColumns?: TableColumnsType<ListedMarkedArticle>;
14
16
  /** The template takeover's bar with its start, below the hint. */
@@ -18,6 +20,6 @@ interface ClassificationGroupsProps {
18
20
  * The start screen's answer to a marking over several classes — what the editor's "Weitere Aktionen" dialog
19
21
  * shows, settled before the editor opens: per supplier the class groups, each classified on its own.
20
22
  */
21
- declare function ClassificationGroups({ groups, isClassified, onClassify, templateColumns, templateBar }: ClassificationGroupsProps): React.JSX.Element;
23
+ declare function ClassificationGroups({ groups, isClassified, onClassify, isBlocked, templateColumns, templateBar }: ClassificationGroupsProps): React.JSX.Element;
22
24
  export default ClassificationGroups;
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAA2D,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGtG,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAEzF,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhF,UAAU,yBAAyB;IACjC,sFAAsF;IACtF,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,qGAAqG;IACrG,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACzC,gDAAgD;IAChD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpC,4GAA4G;IAC5G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,EAAE,yBAAyB,qBAwE1H;AAED,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAyC,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGpF,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAEzF,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAIhF,UAAU,yBAAyB;IACjC,sFAAsF;IACtF,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,qGAAqG;IACrG,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACzC,gDAAgD;IAChD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpC,kIAAkI;IAClI,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACtC,4GAA4G;IAC5G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,EAAE,yBAAyB,qBAoErI;AAED,eAAe,oBAAoB,CAAC"}
@@ -10,12 +10,14 @@ interface ClassificationReadyProps {
10
10
  /** All of these articles were already saved from this page. */
11
11
  classified: boolean;
12
12
  onStart: () => void;
13
+ /** An article lacks a required field (`logic/classificationRequiredFields.ts`) — the start stays disabled. */
14
+ startDisabled?: boolean;
13
15
  /** The template and target choice in front of the listed articles — see the panel's template takeover. */
14
16
  templateColumns?: TableColumnsType<ListedMarkedArticle>;
15
17
  /** The template takeover's bar with its start, above the list. */
16
18
  templateBar?: ReactNode;
17
19
  }
18
20
  /** The start screen for a marking that fits one class: which class, which articles, and the start. */
19
- declare function ClassificationReady({ className, articles, showSupplier, classified, onStart, templateColumns, templateBar }: ClassificationReadyProps): React.JSX.Element;
21
+ declare function ClassificationReady({ className, articles, showSupplier, classified, onStart, startDisabled, templateColumns, templateBar, }: ClassificationReadyProps): React.JSX.Element;
20
22
  export default ClassificationReady;
21
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAA2B,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGtE,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhF,UAAU,wBAAwB;IAChC,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,uEAAuE;IACvE,YAAY,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0GAA0G;IAC1G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,sGAAsG;AACtG,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,EAAE,wBAAwB,qBAgC9I;AAED,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAkC,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAG7E,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAIhF,UAAU,wBAAwB;IAChC,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,uEAAuE;IACvE,YAAY,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,8GAA8G;IAC9G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0GAA0G;IAC1G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,sGAAsG;AACtG,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,OAAO,EACP,aAAa,EACb,eAAe,EACf,WAAW,GACZ,EAAE,wBAAwB,qBAmC1B;AAED,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type ButtonProps } from 'antd';
3
+ import { type MarkedArticle } from '../../../logic/markedArticles';
4
+ interface CopyActionsProps {
5
+ /** The articles of the marking or of one class group. */
6
+ articles: MarkedArticle[];
7
+ size?: ButtonProps['size'];
8
+ }
9
+ /**
10
+ * The copy buttons of a class group, as in the product list's SAP number classification: its SAP numbers
11
+ * (comma-separated, `sapNrList`) and the link that opens the CLASSIFICATION module on its articles.
12
+ */
13
+ declare function CopyActions({ articles, size }: CopyActionsProps): React.JSX.Element;
14
+ export default CopyActions;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiC,KAAK,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,UAAU,gBAAgB;IACxB,yDAAyD;IACzD,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,gBAAgB,qBAyCxD;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { ClassificationBlocker } from '../../../logic/classificationRequiredFields';
3
+ interface RequiredFieldsAlertProps {
4
+ blockers: ClassificationBlocker[];
5
+ }
6
+ /** Names the articles the classification is refused for and what each lacks — their starts stay disabled until it is filled in. */
7
+ declare function RequiredFieldsAlert({ blockers }: RequiredFieldsAlertProps): React.JSX.Element;
8
+ export default RequiredFieldsAlert;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEzF,UAAU,wBAAwB;IAChC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED,mIAAmI;AACnI,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,qBA0BlE;AAED,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ interface SapNrListInputProps {
3
+ /** While the user's allowed values load — the lookup is narrowed to them. */
4
+ disabled: boolean;
5
+ /** Looks the numbers up; resolves once the panel shows the outcome, rejects with the reason. */
6
+ onSubmit: (sapNrs: string[]) => Promise<void>;
7
+ }
8
+ /**
9
+ * The SAP number list on the empty start screen: a list of SAP numbers instead of a marking — the product list's SAP
10
+ * number classification. Once articles are found the start screen shows them instead; a list without any keeps its
11
+ * text here to be corrected.
12
+ */
13
+ declare function SapNrListInput({ disabled, onSubmit }: SapNrListInputProps): React.JSX.Element;
14
+ export default SapNrListInput;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,UAAU,mBAAmB;IAC3B,6EAA6E;IAC7E,QAAQ,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,mBAAmB,qBAgElE;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface SapNrListResultProps {
3
+ /** How many SAP numbers the list held. */
4
+ count: number;
5
+ /** The numbers no article was found for. */
6
+ notFound: string[];
7
+ /** Drops the list — the start screen follows the marking again. */
8
+ onDiscard: () => void;
9
+ }
10
+ /** The outcome of a pasted SAP number list above the start screen: how many were found, which were not (to copy), and its discard. */
11
+ declare function SapNrListResult({ count, notFound, onDiscard }: SapNrListResultProps): React.JSX.Element;
12
+ export default SapNrListResult;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,oBAAoB;IAC5B,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,mEAAmE;IACnE,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,sIAAsI;AACtI,iBAAS,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,oBAAoB,qBA4C5E;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ import RootStore from '../../../../../store/RootStore';
2
+ import { type SapNrListMatch } from '../../logic/sapNrList';
3
+ /**
4
+ * The articles of a pasted SAP number list and the numbers without one — the product list's SAP number
5
+ * classification on the articles the article table shows the user (`logic/sapNrList.ts`). Read on the plain Mongo
6
+ * path: a just-sent article's SAP number is there before the Atlas Search index has it.
7
+ */
8
+ export declare function findSapNrList(root: RootStore, sapNrs: string[], allowedValues: Record<string, string[] | undefined>): Promise<SapNrListMatch>;
9
+ //# sourceMappingURL=findSapNrList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findSapNrList.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,EAAmC,KAAK,cAAc,EAAqB,MAAM,uBAAuB,CAAC;AAKhH;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAKnJ"}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { NotificationInstance } from 'antd/es/notification/interface';
2
3
  import type { BulkActionSelection } from '../BulkActions';
3
4
  /** Right toolbar tool id of the classification panel. */
4
5
  export declare const CLASSIFICATION_PANEL_TOOL_ID = "assortmentManager_classificationPanel";
@@ -12,6 +13,8 @@ interface ClassificationPanelProps {
12
13
  selection: BulkActionSelection;
13
14
  /** Called with the ids the editor saved — the caller re-reads those rows. */
14
15
  onSaved: (saved: string[]) => Promise<void>;
16
+ /** The page's notifications — a failed load of the allowed values reports through them. */
17
+ notify: NotificationInstance;
15
18
  }
16
19
  /**
17
20
  * The "Klassifikation" panel of the right toolbar: the marked articles in the classification editor
@@ -25,8 +28,13 @@ interface ClassificationPanelProps {
25
28
  * back at the start — the caller re-reads the saved rows, and the start screen checks the marking, which the
26
29
  * grid kept all along, for the next group. The editor's catalog comes from the CLASSIFICATION component's
27
30
  * registry settings — the same ones the portal hands that component when it opens it.
31
+ *
32
+ * Without a marking the start screen takes a pasted list of SAP numbers instead (the product list's SAP number
33
+ * classification, `logic/sapNrList.ts`): the numbers no article was found for are listed to copy, the found articles
34
+ * stand in for the marking until the list is discarded. Any start is refused while one of its articles lacks a legacy
35
+ * required field (`logic/classificationRequiredFields.ts`).
28
36
  */
29
- declare function ClassificationPanel({ selectedRows, selection, onSaved }: ClassificationPanelProps): React.JSX.Element;
37
+ declare function ClassificationPanel({ selectedRows, selection, onSaved, notify }: ClassificationPanelProps): React.JSX.Element;
30
38
  declare const _default: typeof ClassificationPanel & {
31
39
  displayName: string;
32
40
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4E,MAAM,OAAO,CAAC;AAYjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAM1D,yDAAyD;AACzD,eAAO,MAAM,4BAA4B,0CAA0C,CAAC;AAwBpF,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C;;;OAGG;IACH,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,wBAAwB,qBA2a1F;;;;AAED,wBAA6C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4E,MAAM,OAAO,CAAC;AAEjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAc3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAU1D,yDAAyD;AACzD,eAAO,MAAM,4BAA4B,0CAA0C,CAAC;AAwBpF,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C;;;OAGG;IACH,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,2FAA2F;IAC3F,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,wBAAwB,qBAqelG;;;;AAED,wBAA6C"}
@@ -1,3 +1,4 @@
1
+ import type { NotificationInstance } from 'antd/es/notification/interface';
1
2
  import RootStore from '../../../../store/RootStore';
2
3
  /**
3
4
  * The per-user allowed values of every restricted catalogue field (`allowedValues`), keyed by field
@@ -5,7 +6,7 @@ import RootStore from '../../../../store/RootStore';
5
6
  * field whose value is undefined after the load is unrestricted (the backend applies no restriction
6
7
  * to this user, e.g. no personal number) — no filter, full dropdown. A field whose load errs (e.g.
7
8
  * SAP unreachable) fails closed to an empty list — the article grid then shows nothing — and
8
- * surfaces a toast.
9
+ * surfaces a notification through `notify`.
9
10
  */
10
- export default function useAllowedFieldValues(root: RootStore): Record<string, string[] | undefined> | undefined;
11
+ export default function useAllowedFieldValues(root: RootStore, notify: NotificationInstance): Record<string, string[] | undefined> | undefined;
11
12
  //# sourceMappingURL=useAllowedFieldValues.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAllowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.ts"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AA4CpD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CA4B/G"}
1
+ {"version":3,"file":"useAllowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,SAAS,MAAM,6BAA6B,CAAC;AA4CpD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CA4B7I"}
@@ -1,3 +1,4 @@
1
+ import type { NotificationInstance } from 'antd/es/notification/interface';
1
2
  import RootStore from '../../../../store/RootStore';
2
3
  import { HeaderProducts } from '../logic/headerSync';
3
4
  export interface HeaderProductsState {
@@ -8,8 +9,8 @@ export interface HeaderProductsState {
8
9
  /**
9
10
  * The header rows the article table compares the articles against (`isHeaderOutdated`, `hasUnlinkedHeader`).
10
11
  * Loaded once per mount — the grid waits for it, because ag-grid does not re-evaluate row classes when a
11
- * value outside the row data changes. A failed load degrades to "nothing marked" with a warning toast; the
12
- * articles themselves stay fully usable.
12
+ * value outside the row data changes. A failed load degrades to "nothing marked" with a warning notification
13
+ * (`notify`, the page's); the articles themselves stay fully usable.
13
14
  */
14
- export default function useHeaderProducts(root: RootStore): HeaderProductsState;
15
+ export default function useHeaderProducts(root: RootStore, notify: NotificationInstance): HeaderProductsState;
15
16
  //# sourceMappingURL=useHeaderProducts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHeaderProducts.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.ts"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AA0B1E,MAAM,WAAW,mBAAmB;IAClC,oHAAoH;IACpH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CAClB;AA+CD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,GAAG,mBAAmB,CA0B9E"}
1
+ {"version":3,"file":"useHeaderProducts.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AA0B1E,MAAM,WAAW,mBAAmB;IAClC,oHAAoH;IACpH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CAClB;AA+CD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB,GAAG,mBAAmB,CA6B5G"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePlanningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAC;AASnC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAkB1C;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC;;IAmIxG;;;;;;OAMG;+BAEc,qBAAqB;6CA8CP,eAAe,CAAC,UAAU,CAAC;EA+E7D"}
1
+ {"version":3,"file":"usePlanningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAC;AASnC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAkB1C;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC;;IAmIxG;;;;;;OAMG;+BAEc,qBAAqB;6CA8CP,eAAe,CAAC,UAAU,CAAC;EAiF7D"}
@@ -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;AA6DtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAypBnB;;;;AAED,wBAAqC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA6DtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAysBnB;;;;AAED,wBAAqC"}
@@ -0,0 +1,14 @@
1
+ import type { MarkedArticle } from './markedArticles';
2
+ /** A legacy required field of the classification. */
3
+ export type ClassificationRequiredField = 'supplierArticleNr' | 'shortText';
4
+ /** An article the classification is refused for, with the required fields it lacks. */
5
+ export interface ClassificationBlocker {
6
+ article: MarkedArticle;
7
+ missing: ClassificationRequiredField[];
8
+ }
9
+ /**
10
+ * The articles that may not be classified yet — the legacy assortment manager's check before its classification tool
11
+ * opened: every article needs its supplier article number (`SAP_EINA_IDNLF`) and its German short text (`SAP_MAKT`).
12
+ */
13
+ export declare function classificationBlockers(articles: MarkedArticle[]): ClassificationBlocker[];
14
+ //# sourceMappingURL=classificationRequiredFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classificationRequiredFields.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,qDAAqD;AACrD,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,WAAW,CAAC;AAE5E,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,2BAA2B,EAAE,CAAC;CACxC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,qBAAqB,EAAE,CAOzF"}
@@ -12,4 +12,12 @@ export interface ClassificationTarget {
12
12
  * A row without an id (none in practice — the grid's selection reader skips them) is left out.
13
13
  */
14
14
  export declare function classificationTarget(rows: Record<string, unknown>[]): ClassificationTarget;
15
+ /**
16
+ * The link that opens the portal's CLASSIFICATION module on these articles — the product list's "copy URL": the
17
+ * current page's query parameters kept, the ids `;`-joined as its `id` parameter.
18
+ */
19
+ export declare function classificationLink(location: {
20
+ origin: string;
21
+ search: string;
22
+ }, ids: string[]): string;
15
23
  //# sourceMappingURL=classificationSelection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"classificationSelection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationSelection.ts"],"names":[],"mappings":"AAAA,mHAAmH;AACnH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,oBAAoB,CAG1F"}
1
+ {"version":3,"file":"classificationSelection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationSelection.ts"],"names":[],"mappings":"AAAA,mHAAmH;AACnH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,oBAAoB,CAG1F;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAKtG"}