@crystaldesign/diva-backoffice 26.11.0-beta.1 → 26.11.0-beta.2

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 (16) hide show
  1. package/build/esm/index.js +866 -495
  2. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.test.d.ts +2 -0
  3. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.test.d.ts.map +1 -0
  4. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts +3 -1
  5. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts.map +1 -1
  6. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.d.ts +28 -0
  7. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.d.ts.map +1 -0
  8. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts +2 -1
  9. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts.map +1 -1
  10. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +13 -5
  11. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  12. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useAdditionalItemRefs.d.ts +5 -0
  13. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useAdditionalItemRefs.d.ts.map +1 -1
  14. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts +2 -1
  15. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  16. package/package.json +9 -9
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accessoryFilters.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryFilters.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.test.ts"],"names":[],"mappings":""}
@@ -3,6 +3,8 @@ import { AdditionalItemRef } from '../../hooks/useAdditionalItemRefs';
3
3
  interface Props {
4
4
  open: boolean;
5
5
  catalogId?: string;
6
+ /** Serie being edited - accessories usually come from it, so it is the default of the picker. */
7
+ serieId?: string;
6
8
  language: string;
7
9
  onCancel: () => void;
8
10
  onAdd: (columns: AdditionalItemRef[]) => void;
@@ -11,6 +13,6 @@ interface Props {
11
13
  * Picks the articles new accessory columns of the Zusatzartikel grid point at. A type no is only unique inside
12
14
  * its serie, so a serie is selected first.
13
15
  */
14
- export default function AddAccessoryModal({ open, catalogId, language, onCancel, onAdd }: Props): React.JSX.Element;
16
+ export default function AddAccessoryModal({ open, catalogId, serieId, language, onCancel, onAdd }: Props): React.JSX.Element;
15
17
  export {};
16
18
  //# sourceMappingURL=AddAccessoryModal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBA6F9F"}
1
+ {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAiJvG"}
@@ -0,0 +1,28 @@
1
+ import { AdvancedFilterModel } from 'ag-grid-enterprise';
2
+ import { AdditionalItemRef } from '../../hooks/useAdditionalItemRefs';
3
+ /**
4
+ * Filter of a quantity column: the same condition, asked of the group the quantity belongs to.
5
+ */
6
+ export declare function quantityFilterParser(colId: string, accessory: AdditionalItemRef, side: 'mandatory' | 'optional'): ({ filterModel }: {
7
+ filterModel?: AdvancedFilterModel;
8
+ }) => AdvancedFilterModel | undefined;
9
+ /**
10
+ * Filter of the Set No column: the grid shows one set per accessory although the IDM numbers both sides on their
11
+ * own, so a set matches as soon as one of the two groups carries it.
12
+ *
13
+ * OR holds for a negated condition too: the item endpoint answers each side as an existence check over its groups,
14
+ * so the side an accessory does not sit on is false rather than "no value". AND would drop every accessory that
15
+ * only exists on one side, whatever its set.
16
+ */
17
+ export declare function setNoFilterParser(colId: string, accessory: AdditionalItemRef): ({ filterModel }: {
18
+ filterModel?: AdvancedFilterModel;
19
+ }) => AdvancedFilterModel | undefined;
20
+ /**
21
+ * Filter of the Aktiv column: a checked cell means the article references the accessory at all, which the catalog
22
+ * only holds as a quantity on one of the two sides. Unchecked is the absence of both, so the conditions have to
23
+ * hold together.
24
+ */
25
+ export declare function activeFilterParser(colId: string, accessory: AdditionalItemRef): ({ filterModel }: {
26
+ filterModel?: AdvancedFilterModel;
27
+ }) => AdvancedFilterModel | undefined;
28
+ //# sourceMappingURL=accessoryFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryFilters.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAA2B,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAwDtE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,WAAW,GAAG,UAAU,qBAGrF;IAAE,WAAW,CAAC,EAAE,mBAAmB,CAAA;CAAE,qCAE/D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,qBAClD;IAAE,WAAW,CAAC,EAAE,mBAAmB,CAAA;CAAE,qCAU/D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,qBACnD;IAAE,WAAW,CAAC,EAAE,mBAAmB,CAAA;CAAE,qCAqB/D"}
@@ -33,7 +33,8 @@ export declare function accessoryKey(serieNo: string, typeNo: string): string;
33
33
  export declare function readCells(item: any, isV4: boolean): Record<string, AccessoryCell>;
34
34
  /**
35
35
  * Applies one cell edit to the matrix, in place. Filling a quantity on a new accessory also activates it; an
36
- * existing accessory keeps its checkbox. Each side's set no defaults while its quantity is set and clears with it.
36
+ * existing accessory keeps its checkbox. Each side's set no defaults while its quantity is set and clears with it -
37
+ * to the set the other side already uses, because the grid edits one set no per accessory.
37
38
  */
38
39
  export declare function applyCellChange(cells: Record<string, AccessoryCell>, accessory: {
39
40
  serieNo: string;
@@ -1 +1 @@
1
- {"version":3,"file":"additionalItemsCodec.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,0FAA0F;AAC1F,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,+EAA+E;AAC/E,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wGAAwG;IACxG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sGAAsG;IACtG,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAgBD,iHAAiH;AACjH,MAAM,WAAW,OAAO;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAcD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAE3D;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA6BjF;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EACpC,SAAS,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC9C,QAAQ,EAAE,MAAM,aAAa,EAC7B,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,iCAoBpC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAqC1H;AAED,yGAAyG;AACzG,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAS7E;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,YAIjD"}
1
+ {"version":3,"file":"additionalItemsCodec.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,0FAA0F;AAC1F,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,+EAA+E;AAC/E,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,sDAAsD;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wGAAwG;IACxG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sGAAsG;IACtG,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAgBD,iHAAiH;AACjH,MAAM,WAAW,OAAO;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAcD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAE3D;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA6BjF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EACpC,SAAS,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC9C,QAAQ,EAAE,MAAM,aAAa,EAC7B,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,iCAuBpC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAqC1H;AAED,yGAAyG;AACzG,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAS7E;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,YAIjD"}
@@ -4,18 +4,25 @@ interface Props {
4
4
  idmService: string;
5
5
  catalogId?: string;
6
6
  serieId?: string;
7
+ /** Serie number of the serie being edited - an accessory of another one names its origin in the header. */
8
+ serieNo?: string;
7
9
  isV4: boolean;
8
10
  languages?: string[];
9
11
  /** Accessory columns of the serie, including the ones added in the editor but not referenced yet. */
10
12
  accessories: AdditionalItemRef[];
13
+ /** Quick filter of the module: shows only articles that have at least one accessory relation. */
14
+ onlyWithRelations?: boolean;
15
+ /** Drops the column of an accessory whose relations were deleted from the serie. */
16
+ onRemoved?: (key: string) => void;
11
17
  viewOnly?: boolean;
12
18
  }
13
19
  /**
14
20
  * Zusatzartikel of a serie: rows are its articles, the dynamic columns their accessories. A checked cell makes the
15
21
  * relation active, the two quantities become the IDM MANDATORY_QUANTITY (minimum) and OPTIONAL_QUANTITY (maximum).
16
- * Each quantity carries its own IDM set (SET_NO 1-9): mandatory and optional groups are numbered independently, so
17
- * both sides have their own dropdown - filled as soon as the quantity is (defaulting to set 1) and empty and
18
- * disabled without one, because a set without a quantity has nothing to publish.
22
+ * The IDM numbers the mandatory and the optional groups independently (SET_NO 1-9), but a relation belongs to one
23
+ * set here: the grid has a single Set No dropdown per accessory and writes it to both sides, each keeping it only
24
+ * while it has a quantity. It is filled as soon as a quantity is (defaulting to set 1) and empty and disabled
25
+ * without any, because a set without a quantity has nothing to publish.
19
26
  *
20
27
  * The relations live on the articles themselves (ITEM.ADDITIONAL_ITEMS), so a row is an item and every edit goes
21
28
  * through the normal item endpoints.
@@ -23,9 +30,10 @@ interface Props {
23
30
  * A matrix cell has no row field of its own - it is computed from the nested groups - so the cells render their own
24
31
  * input and stage the rebuilt groups through the grid's transaction handler. The grid's normal editing path is not
25
32
  * usable here: it keys each commit on `colDef.field` and drops an edit that has none. Staging keeps the save on the
26
- * row: the grid commits the pending changes when the selection leaves it.
33
+ * row: the grid commits the pending changes when the selection leaves it. The fill handle takes the same route, so
34
+ * a value can be dragged onto the rows below it.
27
35
  */
28
- export declare const ArticleRelations: (({ idmService, catalogId, serieId, isV4, languages, accessories, viewOnly }: Props) => React.JSX.Element | null) & {
36
+ export declare const ArticleRelations: ((props: Props) => React.JSX.Element | null) & {
29
37
  displayName: string;
30
38
  };
31
39
  export default ArticleRelations;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AActE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,gFAAyF,KAAK;;CAgKzH,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAetE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CA8RpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -6,6 +6,10 @@ export interface AdditionalItemRef {
6
6
  shortText?: {
7
7
  [language: string]: string;
8
8
  };
9
+ /** Name of the accessory's serie, sent only while that is not the serie being edited. */
10
+ serieName?: {
11
+ [language: string]: string;
12
+ };
9
13
  }
10
14
  /**
11
15
  * The accessory columns of the Zusatzartikel grid, fetched serie-wide from idm-service (rows are paged, so the
@@ -14,5 +18,6 @@ export interface AdditionalItemRef {
14
18
  export default function useAdditionalItemRefs(catalogId?: string, serieId?: string): {
15
19
  columns: AdditionalItemRef[];
16
20
  addColumns: (added: AdditionalItemRef[]) => void;
21
+ removeColumn: (key: string) => void;
17
22
  };
18
23
  //# sourceMappingURL=useAdditionalItemRefs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAdditionalItemRefs.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useAdditionalItemRefs.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,oEAAoE;IACpE,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;;wBAsCzC,iBAAiB,EAAE;EAiB3D"}
1
+ {"version":3,"file":"useAdditionalItemRefs.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useAdditionalItemRefs.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,oEAAoE;IACpE,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC3C,yFAAyF;IACzF,SAAS,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC5C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;;wBAsCzC,iBAAiB,EAAE;wBAiBnB,MAAM;EAK9C"}
@@ -2,7 +2,8 @@ import React from 'react';
2
2
  /**
3
3
  * Zusatzartikel of the selected serie. The relations are catalog data on the articles themselves
4
4
  * (ITEM.ADDITIONAL_ITEMS), so a row is an item of the serie and the accessories are its dynamic columns - each with
5
- * its own IDM set no per mandatory/optional side.
5
+ * a mandatory and an optional quantity and one IDM set no. The checkbox of the title bar reduces the rows to the
6
+ * articles that have at least one relation.
6
7
  */
7
8
  export declare const TableArticleRelations: (() => React.JSX.Element) & {
8
9
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiBxC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;CAoDhC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAsBxC;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;CAgEhC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.11.0-beta.1",
3
+ "version": "26.11.0-beta.2",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.11.0-beta.1",
19
- "@crystaldesign/content-item": "26.11.0-beta.1",
20
- "@crystaldesign/diva-core": "26.11.0-beta.1",
21
- "@crystaldesign/diva-utils": "26.11.0-beta.1",
22
- "@crystaldesign/media-upload": "26.11.0-beta.1",
23
- "@crystaldesign/rtf-editor": "26.11.0-beta.1",
24
- "@crystaldesign/spreadsheet": "26.11.0-beta.1",
18
+ "@crystaldesign/content-box": "26.11.0-beta.2",
19
+ "@crystaldesign/content-item": "26.11.0-beta.2",
20
+ "@crystaldesign/diva-core": "26.11.0-beta.2",
21
+ "@crystaldesign/diva-utils": "26.11.0-beta.2",
22
+ "@crystaldesign/media-upload": "26.11.0-beta.2",
23
+ "@crystaldesign/rtf-editor": "26.11.0-beta.2",
24
+ "@crystaldesign/spreadsheet": "26.11.0-beta.2",
25
25
  "@dnd-kit/core": "^6.1.0",
26
26
  "@dnd-kit/sortable": "^8.0.0",
27
27
  "@dnd-kit/utilities": "^3.2.2",
@@ -56,5 +56,5 @@
56
56
  },
57
57
  "module": "build/esm/index.js",
58
58
  "types": "./build/types/backoffice/src/index.d.ts",
59
- "gitHead": "1948c3a5e76d15f1a3fad311a5f7eef2824b7a11"
59
+ "gitHead": "530779e0d3c8fb51a48e39e69f382230cfd60a87"
60
60
  }