@crystaldesign/diva-backoffice 26.13.0-beta.20 → 26.13.0-beta.22

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 (23) hide show
  1. package/build/esm/index.js +273 -186
  2. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts +2 -0
  3. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts.map +1 -0
  4. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +3 -1
  5. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  6. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +3 -1
  7. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  8. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  9. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts +7 -2
  10. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts.map +1 -1
  11. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts +4 -2
  12. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts.map +1 -1
  13. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  14. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +6 -3
  15. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -1
  16. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts +7 -1
  17. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts.map +1 -1
  18. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts +5 -11
  19. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts.map +1 -1
  20. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts +8 -5
  21. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts.map +1 -1
  22. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  23. package/package.json +12 -12
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=priceFeatureGroupSubtables.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priceFeatureGroupSubtables.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.tsx"],"names":[],"mappings":""}
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
3
  import type { AgentBoundParent } from '../../../store/GridRegistry';
4
- export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, agentBoundParent, }: {
4
+ export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, onRowsSaved, agentBoundParent, }: {
5
5
  priceFeatureGroup: any;
6
6
  catalogId: string;
7
7
  defaultLanguage?: string;
8
8
  apiConfig: ApiConfig;
9
9
  setNodeDataValue: (data: Record<string, any>) => Promise<boolean> | void;
10
10
  setIsPercentage: React.Dispatch<React.SetStateAction<boolean | undefined>>;
11
+ /** Called after every save: it can give the serie a new price key column (PRFG<groupNo>_…). */
12
+ onRowsSaved?: () => void;
11
13
  /** Set by the module that opens this subtable: the parent row it is bound to. */
12
14
  agentBoundParent?: AgentBoundParent;
13
15
  }): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBA6OA"}
1
+ {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAkPA"}
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
3
  import type { AgentBoundParent } from '../../../store/GridRegistry';
4
- export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, agentBoundParent, }: {
4
+ export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, onRowsSaved, agentBoundParent, }: {
5
5
  priceFeatureGroup: any;
6
6
  catalogId: string;
7
7
  defaultLanguage?: string;
8
8
  apiConfig: ApiConfig;
9
9
  setNodeDataValue: (data: Record<string, any>) => Promise<boolean> | void;
10
10
  setIsPercentage: React.Dispatch<React.SetStateAction<boolean | undefined>>;
11
+ /** Called after every save: it can give the serie a new price key column (PRFG<groupNo>_…). */
12
+ onRowsSaved?: () => void;
11
13
  /** Set by the module that opens this subtable: the parent row it is bound to. */
12
14
  agentBoundParent?: AgentBoundParent;
13
15
  }): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,oCAAoC,CAAC,EAC3D,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAwOA"}
1
+ {"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,oCAAoC,CAAC,EAC3D,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBA6OA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;CA0QlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;CA4QlC,CAAC"}
@@ -4,8 +4,9 @@ interface PriceFactorHeaderComponentProps {
4
4
  * Callback to save the price factor value
5
5
  * @param data - The data to save
6
6
  * @param value - The value to save
7
+ * @param isDiscount - Per value whether it is shown as discount ([] when none is)
7
8
  */
8
- onSave: (data: any, value: number[]) => Promise<void>;
9
+ onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
9
10
  /**
10
11
  * Callback to save the priority value
11
12
  * @param value - The value to save
@@ -23,6 +24,10 @@ interface PriceFactorHeaderComponentProps {
23
24
  * The value of the price factor
24
25
  */
25
26
  value: number[];
27
+ /**
28
+ * Per value of the price factor whether it is shown as discount
29
+ */
30
+ isDiscount?: boolean[];
26
31
  /**
27
32
  * The tooltip key for the input
28
33
  */
@@ -32,6 +37,6 @@ interface PriceFactorHeaderComponentProps {
32
37
  */
33
38
  checkboxTooltip: string;
34
39
  }
35
- export default function PriceFactorHeaderComponent({ onSave, onPriorityChange, priority, priorityForced, value, inputTooltip, checkboxTooltip, }: PriceFactorHeaderComponentProps): React.JSX.Element;
40
+ export default function PriceFactorHeaderComponent({ onSave, onPriorityChange, priority, priorityForced, value, isDiscount, inputTooltip, checkboxTooltip, }: PriceFactorHeaderComponentProps): React.JSX.Element;
36
41
  export {};
37
42
  //# sourceMappingURL=PriceFactorHeaderComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFactorHeaderComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,+BAA+B;IACvC;;;;OAIG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD;;;OAGG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,MAAM,EACN,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,KAAK,EACL,YAAY,EACZ,eAAe,GAChB,EAAE,+BAA+B,qBAwBjC"}
1
+ {"version":3,"file":"PriceFactorHeaderComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,+BAA+B;IACvC;;;;;OAKG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E;;;OAGG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,MAAM,EACN,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,KAAK,EACL,UAAU,EACV,YAAY,EACZ,eAAe,GAChB,EAAE,+BAA+B,qBAwBjC"}
@@ -1,12 +1,14 @@
1
1
  import React from 'react';
2
2
  interface PriceFactorInputProps {
3
3
  value: number[];
4
- onSave: (data: any, value: number[]) => Promise<void>;
4
+ /** Per value whether it is shown as discount */
5
+ isDiscount?: boolean[];
6
+ onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
5
7
  disabled?: boolean;
6
8
  title?: string;
7
9
  tooltip?: string;
8
10
  className?: string;
9
11
  }
10
- export default function PriceFactorInput({ onSave, value, ...props }: PriceFactorInputProps): React.JSX.Element;
12
+ export default function PriceFactorInput({ onSave, value, isDiscount, ...props }: PriceFactorInputProps): React.JSX.Element;
11
13
  export {};
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,qBAsB1F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,qBA6BtG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmBvE,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACF,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,WAAoB,WAAW;;CA4YhD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmBvE,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACF,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,WAAoB,WAAW;;CAiZhD,CAAC"}
@@ -7,13 +7,16 @@
7
7
  export type PriceFactorScope = 'article' | 'typeKey' | 'priceFeatureGroup' | 'priceGroup' | 'serie';
8
8
  /** Pricelist field per scope holding the factor map. */
9
9
  export declare const PRICE_FACTOR_FIELDS: Record<PriceFactorScope, string>;
10
+ /** Pricelist field per scope holding, index by index beside the factors, whether each factor is shown as discount. */
11
+ export declare const PRICE_FACTOR_DISCOUNT_FIELDS: Record<PriceFactorScope, string>;
10
12
  /** Pricelist field per scope holding the priority list map — only PFG and PG scopes support priority. */
11
13
  export declare const PRICE_FACTOR_PRIORITY_FIELDS: Partial<Record<PriceFactorScope, string>>;
12
14
  /**
13
- * Computes the single-field `setNodeDataValue` patch that applies — or, with an empty `value`, clears —
14
- * a price factor for a scope/key on a serie. `key` is unused for scope 'serie'.
15
+ * Computes the `setNodeDataValue` patch that applies — or, with an empty `value`, clears — a price factor for a
16
+ * scope/key on a serie. `key` is unused for scope 'serie'. `isDiscount` flags the factors shown as discount, index
17
+ * by index; empty when none is, which also clears flags left from before (e.g. when the agent sets factors).
15
18
  */
16
- export declare function applyPriceFactor(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string | undefined, value: number[]): Record<string, any>;
19
+ export declare function applyPriceFactor(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string | undefined, value: number[], isDiscount?: boolean[]): Record<string, any>;
17
20
  /** Computes the single-field `setNodeDataValue` patch that sets/clears the priority flag of a PFG or price-group factor. */
18
21
  export declare function applyPriceFactorPriority(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string, priority: boolean): Record<string, any>;
19
22
  //# sourceMappingURL=priceFactorMutations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"priceFactorMutations.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,uFAAuF;AACvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,YAAY,GAAG,OAAO,CAAC;AAEpG,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMhE,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAGlF,CAAC;AAEF;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,EAAE,GACd,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAuCrB;AAED,4HAA4H;AAC5H,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,OAAO,GAChB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAwBrB"}
1
+ {"version":3,"file":"priceFactorMutations.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,uFAAuF;AACvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,YAAY,GAAG,OAAO,CAAC;AAEpG,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMhE,CAAC;AAEF,sHAAsH;AACtH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMzE,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAGlF,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,EAAE,EACf,UAAU,GAAE,OAAO,EAAO,GACzB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAMrB;AAiDD,4HAA4H;AAC5H,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,OAAO,GAChB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAwBrB"}
@@ -10,7 +10,13 @@ export default function PriceFactorCellRenderer(props: Partial<CustomCellRendere
10
10
  };
11
11
  manualPrices: string[];
12
12
  }, number[], DivaContext>> & {
13
- onSave?: (data: any, value: number[]) => Promise<void>;
13
+ /**
14
+ * Saves the factors and, index by index, whether each is shown as discount ([] when none is).
15
+ * `nodeId` is the grid row of the cell; unset outside a grid.
16
+ */
17
+ onSave: (data: any, value: number[], isDiscount: boolean[], nodeId?: string) => Promise<void>;
18
+ /** Reads the discount flags of the factors of a row; values without a flag are shown as factors */
19
+ getIsDiscount?: (data: any) => boolean[] | null | undefined;
14
20
  /**
15
21
  * if true, the component is used outside of an ag-grid cell, thus we have to handle the click event differently
16
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,OAAO,CACZ,uBAAuB,CACrB;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EAAE,EACR,WAAW,CACZ,CACF,GAAG;IACF,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,qBAqLF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,OAAO,CACZ,uBAAuB,CACrB;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EAAE,EACR,WAAW,CACZ,CACF,GAAG;IACF;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9F,mGAAmG;IACnG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,qBA4KF"}
@@ -6,27 +6,21 @@ export interface PriceEntry {
6
6
  value: string;
7
7
  /** The text as typed by the user; shown instead of the converted value so typing is not overwritten */
8
8
  input?: string;
9
+ /** Whether the row is entered as factor or as discount; the stored value is always the factor */
10
+ type: PriceType;
9
11
  /** Whether the current value is valid according to type rules */
10
12
  isValid: boolean;
11
13
  }
12
14
  /** Largest discount in percent that can be entered */
13
15
  export declare const MAX_DISCOUNT = 99.99999;
14
- /** State container for both factor and discount entries */
15
- export interface EntryState {
16
- /** List of price factor entries (values > 1) */
17
- factor: PriceEntry[];
18
- /** List of discount entries (values between 0 and 1) */
19
- discount: PriceEntry[];
20
- }
21
16
  /**
22
17
  * Formats a list of values for display in the cell
23
18
  * For both types, displays the actual factor value (e.g., 0.8 for 20% discount)
24
19
  * @param values - The values to format
25
- * @param type - The type of price modification
26
20
  * @param locale - The locale to use for formatting
27
21
  * @returns The formatted string with values separated by semicolons
28
22
  */
29
- export declare const formatListValue: (values: number[], type: PriceType, locale: string) => string;
23
+ export declare const formatListValue: (values: number[], locale: string) => string;
30
24
  /**
31
25
  * Converts an internal value to its display representation
32
26
  * For factors: keeps the decimal value
@@ -48,7 +42,7 @@ export declare const convertToDisplayValue: (value: string, type: PriceType) =>
48
42
  export declare const convertFromDisplayValue: (value: string, type: PriceType) => string;
49
43
  /**
50
44
  * Validates if an input value is valid for the given type
51
- * For factors: must be >= 1
45
+ * For factors: must be > 0 (factors below 1 lower the price, factors above 1 raise it)
52
46
  * For discounts: the discount must be between 0 and 99.99999 percent
53
47
  * @param value - The value to validate
54
48
  * @param type - The type of price modification
@@ -57,7 +51,7 @@ export declare const convertFromDisplayValue: (value: string, type: PriceType) =
57
51
  export declare const isValidInput: (value: string, type: PriceType) => boolean;
58
52
  /**
59
53
  * Checks if a value is effective (should be saved)
60
- * For factors: must be > 1 (1 is valid but not effective)
54
+ * For factors: must not be 1 (1 is valid but leaves the price unchanged)
61
55
  * For discounts: must be < 1 (a 0% discount is valid but not effective)
62
56
  * @param value - The value to check
63
57
  * @param type - The type of price modification
@@ -1 +1 @@
1
- {"version":3,"file":"priceFactorHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,sDAAsD;AACtD,eAAO,MAAM,YAAY,WAAW,CAAC;AAKrC,2DAA2D;AAC3D,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,EAAE,QAAQ,SAAS,UAAU,MAAM,KAAG,MASnF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAItE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAIxE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,SAAS,KAAG,OAM7D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,SAAS,KAAG,OAGjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,MAAa,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,OAE9C,CAAC"}
1
+ {"version":3,"file":"priceFactorHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iGAAiG;IACjG,IAAI,EAAE,SAAS,CAAC;IAChB,iEAAiE;IACjE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,sDAAsD;AACtD,eAAO,MAAM,YAAY,WAAW,CAAC;AAKrC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,EAAE,UAAU,MAAM,KAAG,MASlE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAItE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAIxE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,SAAS,KAAG,OAM7D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,SAAS,KAAG,OAGjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,MAAa,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,OAE9C,CAAC"}
@@ -2,16 +2,18 @@ import { PriceType, PriceEntry } from './priceFactorHelpers';
2
2
  interface UseFactorProps {
3
3
  data: any;
4
4
  initialValue?: number[] | null;
5
- onSave: (data: any, value: number[]) => Promise<void>;
5
+ /** Per value whether it is shown as discount; values without a flag are shown as factors */
6
+ initialIsDiscount?: boolean[] | null;
7
+ /** Saves the factors and, index by index, whether each is a discount ([] when none is) */
8
+ onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
6
9
  onRefreshCell: () => void;
7
10
  }
8
11
  interface UseFactorReturn {
9
- type: PriceType;
10
12
  entries: PriceEntry[];
11
13
  isModalOpen: boolean;
12
14
  handleModalOpen: () => void;
13
15
  handleModalClose: () => void;
14
- handleTypeChange: (newType: PriceType) => void;
16
+ handleEntryTypeChange: (index: number, newType: PriceType) => void;
15
17
  handleAddEntry: () => void;
16
18
  handleRemoveEntry: (index: number) => void;
17
19
  handleEntryValueChange: (index: number, displayValue: string) => void;
@@ -22,9 +24,10 @@ interface UseFactorReturn {
22
24
  * @param props - Hook configuration
23
25
  * @param props.data - Data of the row
24
26
  * @param props.initialValue - Initial array of values
25
- * @param props.onSave - Callback to save values
27
+ * @param props.initialIsDiscount - Initial discount flags of the values
28
+ * @param props.onSave - Callback to save values and their discount flags
26
29
  * @param props.onRefreshCell - Callback to refresh the cell after save
27
30
  */
28
- export declare function usePriceFactor({ data, initialValue, onSave, onRefreshCell }: UseFactorProps): UseFactorReturn;
31
+ export declare function usePriceFactor({ data, initialValue, initialIsDiscount, onSave, onRefreshCell }: UseFactorProps): UseFactorReturn;
29
32
  export {};
30
33
  //# sourceMappingURL=usePriceFactor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePriceFactor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EAOX,MAAM,sBAAsB,CAAC;AAE9B,UAAU,cAAc;IACtB,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,GAAG,eAAe,CAmIlH"}
1
+ {"version":3,"file":"usePriceFactor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EAMX,MAAM,sBAAsB,CAAC;AAE9B,UAAU,cAAc;IACtB,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,4FAA4F;IAC5F,iBAAiB,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACrC,0FAA0F;IAC1F,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAe;IACvB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACnE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAQD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,GAAG,eAAe,CAiGrI"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA4VzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA8YzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.13.0-beta.20",
3
+ "version": "26.13.0-beta.22",
4
4
  "description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
5
5
  "license": "COMMERCIAL",
6
6
  "devDependencies": {
@@ -16,16 +16,16 @@
16
16
  "dependencies": {
17
17
  "@ant-design/icons": "6.3.4",
18
18
  "@babel/runtime": "7.24.7",
19
- "@crystaldesign/classification": "26.13.0-beta.20",
20
- "@crystaldesign/content-box": "26.13.0-beta.20",
21
- "@crystaldesign/content-item": "26.13.0-beta.20",
22
- "@crystaldesign/diva-agent": "26.13.0-beta.20",
23
- "@crystaldesign/diva-core": "26.13.0-beta.20",
24
- "@crystaldesign/diva-utils": "26.13.0-beta.20",
25
- "@crystaldesign/mass-configurator": "26.13.0-beta.20",
26
- "@crystaldesign/media-upload": "26.13.0-beta.20",
27
- "@crystaldesign/rtf-editor": "26.13.0-beta.20",
28
- "@crystaldesign/spreadsheet": "26.13.0-beta.20",
19
+ "@crystaldesign/classification": "26.13.0-beta.22",
20
+ "@crystaldesign/content-box": "26.13.0-beta.22",
21
+ "@crystaldesign/content-item": "26.13.0-beta.22",
22
+ "@crystaldesign/diva-agent": "26.13.0-beta.22",
23
+ "@crystaldesign/diva-core": "26.13.0-beta.22",
24
+ "@crystaldesign/diva-utils": "26.13.0-beta.22",
25
+ "@crystaldesign/mass-configurator": "26.13.0-beta.22",
26
+ "@crystaldesign/media-upload": "26.13.0-beta.22",
27
+ "@crystaldesign/rtf-editor": "26.13.0-beta.22",
28
+ "@crystaldesign/spreadsheet": "26.13.0-beta.22",
29
29
  "@dnd-kit/core": "^6.1.0",
30
30
  "@dnd-kit/sortable": "^8.0.0",
31
31
  "@dnd-kit/utilities": "^3.2.2",
@@ -63,5 +63,5 @@
63
63
  "suiteName": "diva-backoffice",
64
64
  "outputDirectory": "./test-reports"
65
65
  },
66
- "gitHead": "c2ccbc73d9da6d31fffaa527bfc490f3d2d57d01"
66
+ "gitHead": "6a4f8e6454fa249e05e7dd4654d99ae37760048c"
67
67
  }