@crystaldesign/diva-backoffice 26.13.0-beta.13 → 26.13.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +4040 -2357
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +20 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +14 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +6 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts +11 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +6 -5
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts +8 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts +7 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts +11 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts +5 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts +12 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +3 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +31 -7
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts +2 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts +9 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +4 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +35 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts +7 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts +19 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts +19 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts +4 -3
- package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +42 -1
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts +2 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts.map +1 -1
- package/package.json +16 -12
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { AssortmentManagerField, AssortmentManagerItemGroup } from '../../types'
|
|
|
5
5
|
import { Translate } from '../../HeaderData/types';
|
|
6
6
|
import { EnumEntry } from '../../HeaderData/hooks/useDropdownEnumData';
|
|
7
7
|
import type { ArticleReadiness } from './readiness';
|
|
8
|
+
import type { HeaderRefreshState } from './headerSync';
|
|
9
|
+
import type { PlanningRemovalParams } from './planningTransfer';
|
|
8
10
|
type ArticleRow = Record<string, unknown>;
|
|
9
11
|
type ArticleColumn = DivaColDef<ArticleRow> | DivaColGroupDef<ArticleRow>;
|
|
10
12
|
/**
|
|
@@ -79,9 +81,11 @@ export declare const ARTICLE_STATUS_COL_ID = "articleStatus";
|
|
|
79
81
|
* columns (they ride along hidden, see `buildArticleColDefs`).
|
|
80
82
|
*
|
|
81
83
|
* The column has no header text; `headerElement` puts the symbol legend there instead — the spreadsheet's
|
|
82
|
-
* default inner header renders it as its `additionalElement` (the IDM grids' info button pattern).
|
|
84
|
+
* default inner header renders it as its `additionalElement` (the IDM grids' info button pattern). `headerStateOf`
|
|
85
|
+
* tells the cell which articles need a header refresh (see headerSync.ts) — their symbol's tooltip names the reason
|
|
86
|
+
* of the yellow stripe at the row's front.
|
|
83
87
|
*/
|
|
84
|
-
export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string): DivaColDef<ArticleRow>;
|
|
88
|
+
export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string, headerStateOf?: (row: ArticleRow) => HeaderRefreshState | undefined): DivaColDef<ArticleRow>;
|
|
85
89
|
/**
|
|
86
90
|
* Whether a derived field's cell is being recalculated: the row's changes are on their way to the server, and the
|
|
87
91
|
* catalog derives the field anew with that save — until the answer is in (the grid then redraws the row). The row
|
|
@@ -90,6 +94,24 @@ export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>
|
|
|
90
94
|
* row with its errors.
|
|
91
95
|
*/
|
|
92
96
|
export declare function isRecalculating({ node, data, context, api }: CellClassParams<ArticleRow, unknown, DivaContext<ArticleRow>>): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* A field of one row of a repeating table (catalogue `itemRow`, e.g. the ST row of the units of measure or the
|
|
99
|
+
* sales row) as a computed column: it shows the row field and writes the whole table with that row updated — a
|
|
100
|
+
* missing row is added with its fixed values (see withItemRowValue). A row without an own table yet (a new or copied
|
|
101
|
+
* one, linked to its header) shows and writes on the header snapshot's table, so a write overrides just the one field
|
|
102
|
+
* and not the whole inherited sales row. The cell typing is the plain column's.
|
|
103
|
+
* Without a field of its own the column id follows the flat SAP article naming (`SAP_MARM_LAENG_ST`,
|
|
104
|
+
* `SAP_MVKE_SSTUF`): a dotted path below the array would collide with the array's projection wherever column ids
|
|
105
|
+
* are projected (the Excel export). The table itself is projected by a hidden column (see buildArticleColDefs).
|
|
106
|
+
* Neither sortable nor filterable: the search index does not map the tables. `required` / `requiredWhen` is not
|
|
107
|
+
* passed on: the grid's row validation marks the failing cell by its field, which this column lacks — the row would
|
|
108
|
+
* be held back without a visible reason; the transfer readiness checks the required row fields instead.
|
|
109
|
+
*/
|
|
110
|
+
/**
|
|
111
|
+
* The id of the column a catalogue field shows in: an item row field's flat SAP name (see itemRowColumn), the primary
|
|
112
|
+
* language of a multilanguage field, else the field the column binds (the grid takes it as the column id).
|
|
113
|
+
*/
|
|
114
|
+
export declare function articleColumnIdOf(field: AssortmentManagerField): string;
|
|
93
115
|
/**
|
|
94
116
|
* The article's `mainImage` as the spreadsheet's asset thumbnail, left of the DIVA number — the picture the catalog
|
|
95
117
|
* derives from the planning's media. A plain URL field (`isObject: false`, the field is its own URL); read-only, so the
|
|
@@ -104,9 +126,9 @@ export declare const PLANNING_COL_ID = "assortmentManager_planning";
|
|
|
104
126
|
* unplanned article. Bound to the `divaNr` the readiness rules read as well, so the row holds it once; read-only
|
|
105
127
|
* (the configurator sets it), and a duplicate starts without it (a copy is a new, unplanned article). A paste on it
|
|
106
128
|
* goes to `onPaste` instead of writing the copied number — the page's planning transfer, whose progress `cellRenderer`
|
|
107
|
-
* shows.
|
|
129
|
+
* shows; Delete on it goes to `onRemove` (the renderer's param) — the page's planning removal.
|
|
108
130
|
*/
|
|
109
|
-
export declare function planningColumn(t: Translate, onPaste?: DivaColDef<ArticleRow>['onPaste'], cellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
|
|
131
|
+
export declare function planningColumn(t: Translate, onPaste?: DivaColDef<ArticleRow>['onPaste'], cellRenderer?: DivaColDef<ArticleRow>['cellRenderer'], onRemove?: (params: PlanningRemovalParams) => void): DivaColDef<ArticleRow>;
|
|
110
132
|
/**
|
|
111
133
|
* Builds the article table's column tree from the field catalogue: one column per `showOnArticle` entry in the
|
|
112
134
|
* order of its `articlePosition`, one header group per catalogue `group`; entries without a group render
|
|
@@ -130,10 +152,12 @@ onDivaNrPaste?: DivaColDef<ArticleRow>['onPaste'],
|
|
|
130
152
|
/** Renders the DIVA number cell (`planningColumn`) — it shows a planning transfer's progress in place of the number. */
|
|
131
153
|
divaNrCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'],
|
|
132
154
|
/** The cell class of a `derived` field's value about to be recalculated (see isRecalculating) — the page styles it as loading. */
|
|
133
|
-
recalculatingCellClass?: string
|
|
155
|
+
recalculatingCellClass?: string,
|
|
156
|
+
/** Takes Delete on the DIVA number column (`planningColumn`) — the page's planning removal. */
|
|
157
|
+
onDivaNrRemove?: (params: PlanningRemovalParams) => void): ArticleColumn[];
|
|
134
158
|
/**
|
|
135
|
-
* The Kollidaten table's columns (`config/colliFields.ts`) in the order of its template
|
|
136
|
-
* number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
|
|
159
|
+
* The Kollidaten table's columns (`config/colliFields.ts`): SAP number, then in the order of its template supplier,
|
|
160
|
+
* supplier article number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
|
|
137
161
|
* height and weight. Each group starts collapsed, showing only the package's summary cell; its expand toggle
|
|
138
162
|
* swaps it for the measures, which take input only up to the number of packages (see packageEditable). Item row fields
|
|
139
163
|
* become item row columns, the others plain columns. Hidden columns project the row identity, the transfer lock
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAmD,MAAM,4BAA4B,CAAC;AAIvI,OAAO,EAEL,sBAAsB,EAEtB,0BAA0B,EAE3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAMhE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1C,KAAK,aAAa,GAAG,UAAU,CAAC,UAAU,CAAC,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UAAqB,CAAC;AAKpD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,6CAA6C,CAAC;AAgB9E,wDAAwD;AACxD,eAAO,MAAM,qBAAqB,UAAiC,CAAC;AAEpE,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,UAA+B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8BAG/B,CAAC;AA+BF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,E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GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,GAC/D,aAAa,EAAE,CA4BjB"}
|
|
@@ -43,7 +43,8 @@ export declare function clearedTransferMessages(): Record<string, null>;
|
|
|
43
43
|
* The grid's `hooks.onCellEditRequest` part of the article and Kollidaten pages: a write into an article after a
|
|
44
44
|
* failed or remarked transfer adds the cleared messages (`clearedTransferMessages`) to the same commit — the
|
|
45
45
|
* header linker's way of adding to a write. Only while the write itself leaves the messages in place, so the
|
|
46
|
-
* clearing update never triggers itself.
|
|
46
|
+
* clearing update never triggers itself. Not for a transferred article: its remark still describes the transfer
|
|
47
|
+
* that went through, an edit of a field it keeps editable (`editableWhenTransferred`) stays in DIVA.
|
|
47
48
|
*/
|
|
48
49
|
export declare function clearTransferMessagesOnEdit({ oldData, data, node, context }: CellEditRequestedEvent<ArticleRow, DivaContext>): void;
|
|
49
50
|
/**
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleLock.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleLock.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAKjF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAO1C;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEnE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEpE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7E;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8EAA8E;AAC9E,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,eAAe,GAAG,SAAS,CAKzF;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAE9D;AAED
|
|
1
|
+
{"version":3,"file":"articleLock.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleLock.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAKjF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAO1C;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEnE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEpE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7E;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8EAA8E;AAC9E,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,eAAe,GAAG,SAAS,CAKzF;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAE9D;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,IAAI,CAWnI;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAIhE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ClassificationGrouping } from './classificationGroups';
|
|
2
|
+
/**
|
|
3
|
+
* Taking one article's classification over to other marked articles: the user picks the template (a classified
|
|
4
|
+
* article) and the targets (by default every other marked article); the editor opens on the targets, prefilled with
|
|
5
|
+
* the template's values (its `templateProductId`), and saves only after the user reviewed them.
|
|
6
|
+
*/
|
|
7
|
+
/** The marked articles that carry a class — the ones that can serve as a template. */
|
|
8
|
+
export declare function classifiedIds(grouping: ClassificationGrouping): string[];
|
|
9
|
+
/**
|
|
10
|
+
* The template preselected for a marking: the typical case of one classified article marked with unclassified ones.
|
|
11
|
+
* Any other marking leaves the choice to the user.
|
|
12
|
+
*/
|
|
13
|
+
export declare function suggestedTemplateId(grouping: ClassificationGrouping): string | undefined;
|
|
14
|
+
/** The targets of `templateId`: every other marked article the user did not uncheck, in the marking's order. */
|
|
15
|
+
export declare function templateTargets(grouping: ClassificationGrouping, templateId: string, unchecked: ReadonlySet<string>): string[];
|
|
16
|
+
//# sourceMappingURL=classificationTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classificationTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAE/E;;;;GAIG;AAEH,sFAAsF;AACtF,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,EAAE,CAExE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,GAAG,SAAS,CAIxF;AAED,gHAAgH;AAChH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAE9H"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts
CHANGED
|
@@ -6,8 +6,16 @@ type ArticleRow = Record<string, unknown>;
|
|
|
6
6
|
* second one ("EAN wird bereits verwendet") — and the copy references its source: `SAP_MAW1_ZZSHOPREF` = the
|
|
7
7
|
* source's SAP number once it has one, else `SAP_MAW1_ZZSHOPREF_TMP` = its supplier article number, which the SAP
|
|
8
8
|
* send resolves to the source's SAP number (a send takes the articles without it first). The other reference is
|
|
9
|
-
* cleared, so a copy of a copy never points at the grandparent.
|
|
9
|
+
* cleared, so a copy of a copy never points at the grandparent. The SAP article number and its catalog mirror
|
|
10
|
+
* `retailerArticleNr` never go along, whatever the copy carries — a copy is a new article SAP numbers itself.
|
|
10
11
|
*/
|
|
11
12
|
export declare function duplicatedArticle(copy: ArticleRow, source: ArticleRow): ArticleRow;
|
|
13
|
+
/**
|
|
14
|
+
* The row cut down to the grid's own paths (`fields`: the columns' `field` and `additionalFields`, what the grid
|
|
15
|
+
* reads): a row that took a whole product — a re-read, a save's answer — carries fields without a column, which
|
|
16
|
+
* the duplicate's column flags (`excludeFromDuplicate`) cannot drop. Cut down, a copy carries what the legacy copy
|
|
17
|
+
* carried and nothing else.
|
|
18
|
+
*/
|
|
19
|
+
export declare function gridShaped(row: ArticleRow, fields: string[]): ArticleRow;
|
|
12
20
|
export {};
|
|
13
21
|
//# sourceMappingURL=duplicateArticle.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicateArticle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"duplicateArticle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.ts"],"names":[],"mappings":"AAGA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAa1C;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,UAAU,CAgBlF;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAExE"}
|
|
@@ -39,4 +39,8 @@ export declare function isHeaderOutdated(data: Record<string, unknown> | undefin
|
|
|
39
39
|
export declare function hasUnlinkedHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
|
|
40
40
|
/** Whether the refresh action has something to pull: outdated header values, or a header row not linked yet. */
|
|
41
41
|
export declare function canRefreshHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
|
|
42
|
+
/** Why the refresh has something to pull for an article ({@link canRefreshHeader}) — none while it has not. */
|
|
43
|
+
export type HeaderRefreshState = 'outdated' | 'unlinked';
|
|
44
|
+
/** The reason behind {@link canRefreshHeader}, for the marker's tooltip: outdated header values, or a header row not linked yet. */
|
|
45
|
+
export declare function headerRefreshState(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): HeaderRefreshState | undefined;
|
|
42
46
|
//# sourceMappingURL=headerSync.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerSync.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/headerSync.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACzD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAI9F;AAED,iGAAiG;AACjG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,cAAc,CAOnF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAcxH;AAYD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAMzH;AAED,gHAAgH;AAChH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAExH"}
|
|
1
|
+
{"version":3,"file":"headerSync.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/headerSync.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC,MAAM,EAA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**
|
|
2
|
+
* Transferring a planning by pasting a copied DIVA number onto other articles' DIVA-Nr. cells — the legacy
|
|
3
|
+
* "Basiskonfigurat kopieren / übertragen": the pasted number names the source article, the pasted rows are the
|
|
4
|
+
* targets, each of them receives a copy of the source's planning with a DIVA number of its own. Delete on the
|
|
5
|
+
* DIVA-Nr. cells removes the planning again — the legacy "Basiskonfigurat löschen".
|
|
6
|
+
*/
|
|
7
|
+
import type { GridApi, IRowNode } from 'ag-grid-enterprise';
|
|
1
8
|
type ArticleRow = Record<string, unknown>;
|
|
9
|
+
/** Delete on a DIVA-Nr. cell: the grid and the row of the focused cell. */
|
|
10
|
+
export interface PlanningRemovalParams {
|
|
11
|
+
api: GridApi<ArticleRow>;
|
|
12
|
+
node: IRowNode<ArticleRow>;
|
|
13
|
+
}
|
|
2
14
|
/** The pasted DIVA number: the clipboard's first cell, trimmed — `undefined` when it is empty or no DIVA number. */
|
|
3
15
|
export declare function pastedDivaNr(data: string[][]): string | undefined;
|
|
4
16
|
/** Whether a planning transfer works on the row right now — its DIVA-Nr. cell shows a spinner meanwhile. */
|
|
@@ -21,5 +33,28 @@ export interface PlanningTransferTargets {
|
|
|
21
33
|
* target all the same: its planning may still change.
|
|
22
34
|
*/
|
|
23
35
|
export declare function planningTransferTargets(rows: (ArticleRow | undefined)[], sourceId: string): PlanningTransferTargets;
|
|
36
|
+
/**
|
|
37
|
+
* A copy of the row without its planning's fields, for a removed planning. The re-read row cannot clear them: it
|
|
38
|
+
* merges over the grid row and simply lacks the removed fields. The given row is left alone.
|
|
39
|
+
*/
|
|
40
|
+
export declare function withoutPlanning(row: ArticleRow): ArticleRow;
|
|
41
|
+
/** The ids of the rows a planning removal covers, by whether it may run on them. */
|
|
42
|
+
export interface PlanningRemovalTargets {
|
|
43
|
+
/** Rows with a planning — it is removed. */
|
|
44
|
+
removable: string[];
|
|
45
|
+
/** Rows with a planning a SAP transfer run is working on (`isTransferring`) — left alone, the write would race the transfer. */
|
|
46
|
+
transferring: string[];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Splits the rows of a Delete on the DIVA-Nr. column. Rows without a planning, without an id (the empty add row) and
|
|
50
|
+
* those a planning transfer or removal works on already are left out. A transferred article is covered all the same:
|
|
51
|
+
* its planning may still change.
|
|
52
|
+
*/
|
|
53
|
+
export declare function planningRemovalTargets(rows: (ArticleRow | undefined)[]): PlanningRemovalTargets;
|
|
54
|
+
/**
|
|
55
|
+
* The rows a Delete on the focused DIVA-Nr. cell covers: those of the cell ranges over the DIVA-Nr. column when the
|
|
56
|
+
* focused row lies in one of them, else the focused row alone.
|
|
57
|
+
*/
|
|
58
|
+
export declare function planningRemovalNodes({ api, node }: PlanningRemovalParams, planningColId: string): IRowNode<ArticleRow>[];
|
|
24
59
|
export {};
|
|
25
60
|
//# sourceMappingURL=planningTransfer.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;CAC5B;AAKD,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,GAAG,SAAS,CAGjE;AAKD,4GAA4G;AAC5G,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAKjF;AAED,wFAAwF;AACxF,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,uEAAuE;IACvE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gHAAgH;IAChH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAUnH;AAKD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAI3D;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gIAAgI;IAChI,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,GAAG,sBAAsB,CAS/F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,EAAE,CAYxH"}
|
|
@@ -14,6 +14,13 @@ export interface ArticleReadiness {
|
|
|
14
14
|
}
|
|
15
15
|
export declare const MISSING_REQUIRED_REASON = "backoffice.assortmentmanager.articledata.readiness.missingRequired";
|
|
16
16
|
export declare const TOO_FEW_ROWS_REASON = "backoffice.assortmentmanager.articledata.readiness.tooFewRows";
|
|
17
|
+
declare const REQUIRED_FIELDS: import("../../types").AssortmentManagerField[];
|
|
18
|
+
/**
|
|
19
|
+
* The catalogue's required fields the row lacks (`required`, `requiredWhen` while its condition holds), in catalogue
|
|
20
|
+
* order — inherited header values count as filled, like the cells show them. Also the page's missing-fields counter
|
|
21
|
+
* and its jump to the next one.
|
|
22
|
+
*/
|
|
23
|
+
export declare function missingRequiredFields(row: ArticleRow): (typeof REQUIRED_FIELDS)[number][];
|
|
17
24
|
/**
|
|
18
25
|
* Whether the article may go into a transfer, and why not: the catalogue's required fields and minimum
|
|
19
26
|
* rows first, then the configured rules (`config/readiness.ts`) in their order. Evaluated on the loaded
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/readiness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,uGAAuG;AACvG,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,uEAAuE,CAAC;AAC5G,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/readiness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,uGAAuG;AACvG,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,uEAAuE,CAAC;AAC5G,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;AAUnG,QAAA,MAAM,eAAe,gDAEpB,CAAC;AAQF;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,EAAE,CAEzF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,IAAI,CAAC,iCAAiC,EAAE,WAAW,CAAC,EAC3D,KAAK,GAAE,8BAA8B,EAA4B,GAChE,gBAAgB,CAclB;AAED,mFAAmF;AACnF,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,GAAG,MAAM,CAExE"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AssortmentManagerField } from '../../types';
|
|
2
|
+
type ArticleRow = Record<string, unknown>;
|
|
3
|
+
/**
|
|
4
|
+
* The recommended fields the row lacks: those whose conditions all hold while the field is empty — the legacy
|
|
5
|
+
* soft required check (`ValidateRowData`), which warned but saved anyway.
|
|
6
|
+
*/
|
|
7
|
+
export declare function missingRecommendedFields(row: ArticleRow): AssortmentManagerField[];
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=recommendedFields.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendedFields.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/recommendedFields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAmC,MAAM,aAAa,CAAC;AAGtF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAiB1C;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,UAAU,GAAG,sBAAsB,EAAE,CAElF"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Column, GridApi } from 'ag-grid-enterprise';
|
|
2
|
+
type ArticleRow = Record<string, unknown>;
|
|
3
|
+
/** A missing required field: its name (an i18n key), and the jump to its cell — none when the user hid the column. */
|
|
4
|
+
export interface MissingRequiredLink {
|
|
5
|
+
name: string;
|
|
6
|
+
jump?: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Moves focus and cell selection to the cell — the selection drives the page's subtables like a click would. A column
|
|
10
|
+
* folded into a closed group opens its groups first; the grid scrolls the cell into view.
|
|
11
|
+
*/
|
|
12
|
+
export declare function focusGridCell(api: GridApi<ArticleRow>, rowIndex: number, column: Column): void;
|
|
13
|
+
/**
|
|
14
|
+
* The row's missing required fields (`missingRequiredFields`) as links to their cells, in the grid's column order —
|
|
15
|
+
* those whose column the user hid at the end, without a jump.
|
|
16
|
+
*/
|
|
17
|
+
export declare function missingRequiredLinks(api: GridApi<ArticleRow>, row: ArticleRow, rowIndex: number): MissingRequiredLink[];
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=requiredFieldJump.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requiredFieldJump.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAK1D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,sHAAsH;AACtH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;CACnB;AAcD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAS9F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAOvH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type ArticleRow = Record<string, unknown>;
|
|
2
|
+
/** Path of the supplier's article number — unique within a supplier / EK group combination. */
|
|
3
|
+
export declare const SUPPLIER_ARTICLE_NR_PATH = "customData.SAP.SAP_EINA_IDNLF";
|
|
4
|
+
/** What a supplier article number is unique within, and the number itself. */
|
|
5
|
+
export interface SupplierArticleKey {
|
|
6
|
+
supplier: string;
|
|
7
|
+
ekg: string;
|
|
8
|
+
supplierArticleNr: string;
|
|
9
|
+
}
|
|
10
|
+
/** The row's supplier article number with its combination — nothing while one of them is missing or unqueryable. */
|
|
11
|
+
export declare function supplierArticleKey(row: ArticleRow | undefined): SupplierArticleKey | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The key a save asks the duplicate check for: only when the save set or changed the supplier article number or its
|
|
14
|
+
* combination (a new row included) — the legacy warned on every row save, which a cell-by-cell auto-save would turn
|
|
15
|
+
* into a warning per edit. Compared case-insensitively, like the check itself.
|
|
16
|
+
*/
|
|
17
|
+
export declare function duplicateCheckKey(oldData: ArticleRow | undefined, data: ArticleRow | undefined): SupplierArticleKey | undefined;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=supplierArticleDuplicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplierArticleDuplicate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.ts"],"names":[],"mappings":"AAGA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,+FAA+F;AAC/F,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAWD,oHAAoH;AACpH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAM9F;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAU/H"}
|
|
@@ -7,9 +7,10 @@ export declare const COLLI_COUNT_ROW: AssortmentManagerItemRow;
|
|
|
7
7
|
/** The number of packages (Anzahl Colli, X of the COL row): packages C01 … C<count> take input. */
|
|
8
8
|
export declare const COLLI_COUNT_KEY = "customData.SAP.SAP_MARM.COL.SAP_MARM_UMREN";
|
|
9
9
|
/**
|
|
10
|
-
* The columns of the Kollidaten table, in the column order of its template
|
|
11
|
-
* Verpackung, COL (number of packages), then per package C01–C39 its length, width, height and
|
|
12
|
-
* rows of the units of measure (`SAP_MARM`) are edited as item row fields — the data model stays
|
|
10
|
+
* The columns of the Kollidaten table: SAP number, then in the column order of its template supplier, supplier
|
|
11
|
+
* article number, Verpackung, COL (number of packages), then per package C01–C39 its length, width, height and
|
|
12
|
+
* weight. The Colli rows of the units of measure (`SAP_MARM`) are edited as item row fields — the data model stays
|
|
13
|
+
* the array.
|
|
13
14
|
*/
|
|
14
15
|
export declare const COLLI_FIELDS: AssortmentManagerColliField[];
|
|
15
16
|
//# sourceMappingURL=colliFields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colliFields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/colliFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA0B,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAUzG;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,wBAK7B,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,eAAe,+CAAqC,CAAC;AA2BlE
|
|
1
|
+
{"version":3,"file":"colliFields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/colliFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA0B,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAUzG;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,wBAK7B,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,eAAe,+CAAqC,CAAC;AA2BlE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,2BAA2B,EAyCrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAA4B,MAAM,UAAU,CAAC;AA6BlF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,UAAqF,CAAC;AAmFtH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAA4B,MAAM,UAAU,CAAC;AA6BlF,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,UAAqF,CAAC;AAmFtH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,MAAM,CAAC;AAErC,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,EAirDnE,CAAC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classificationTemplate.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/classificationTemplate.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendedFields.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/recommendedFields.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requiredFieldJump.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/requiredFieldJump.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplierArticleDuplicate.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.ts"],"names":[],"mappings":""}
|
|
@@ -89,6 +89,17 @@ export interface AssortmentManagerRowCondition {
|
|
|
89
89
|
field: string;
|
|
90
90
|
equals: string | number | boolean;
|
|
91
91
|
}
|
|
92
|
+
/** A condition of `recommendedWhen` on the value at `field`; every check it names must hold. */
|
|
93
|
+
export interface AssortmentManagerValueCondition {
|
|
94
|
+
/** Catalogue key, read the way its cell shows it. */
|
|
95
|
+
field: string;
|
|
96
|
+
/** The value equals this one, strictly. */
|
|
97
|
+
equals?: string | number | boolean;
|
|
98
|
+
/** The value differs from this one, strictly — an empty value differs too. */
|
|
99
|
+
notEquals?: string | number | boolean;
|
|
100
|
+
/** The value is not empty. */
|
|
101
|
+
filled?: boolean;
|
|
102
|
+
}
|
|
92
103
|
/**
|
|
93
104
|
* How the article table recognizes the transfer of an article to the customer's target system (SAP, a
|
|
94
105
|
* PIM, …), see `config/articleTransfer.ts`. A transferred article and one a transfer run is working on
|
|
@@ -301,6 +312,8 @@ interface AssortmentManagerEntryBase {
|
|
|
301
312
|
* together with a group — the columns of a group without the flag are always shown.
|
|
302
313
|
*/
|
|
303
314
|
collapsed?: boolean;
|
|
315
|
+
/** The article table column's starting width in px — otherwise the grid's default (200); a user's own width wins. */
|
|
316
|
+
width?: number;
|
|
304
317
|
/**
|
|
305
318
|
* Pins the article table column to the given edge — passed through to the spreadsheet column
|
|
306
319
|
* definition's `pinned` flag. Replaces the legacy grid's `locked: true` on the LOCKED editor group.
|
|
@@ -383,6 +396,14 @@ export interface AssortmentManagerField extends AssortmentManagerEntryBase {
|
|
|
383
396
|
* `ValidateRowData` special case).
|
|
384
397
|
*/
|
|
385
398
|
requiredWhen?: AssortmentManagerRowCondition;
|
|
399
|
+
/**
|
|
400
|
+
* Should be filled while all conditions hold — not enforced: an article table save that leaves it empty shows a
|
|
401
|
+
* warning notification, once per article until it is filled; the grid saves the row, the transfer is not held.
|
|
402
|
+
* A condition's `field` is a catalogue key, read the way its cell shows it. The legacy soft required check of
|
|
403
|
+
* `ValidateRowData`, which let the user save anyway — e.g. the ZKAT number for an article with a Plantool that
|
|
404
|
+
* is no ZKAT itself.
|
|
405
|
+
*/
|
|
406
|
+
recommendedWhen?: AssortmentManagerValueCondition[];
|
|
386
407
|
/** Maximum input length for string fields, enforced by the editors (legacy `MaxLength`). */
|
|
387
408
|
maxLength?: number;
|
|
388
409
|
/**
|
|
@@ -392,9 +413,23 @@ export interface AssortmentManagerField extends AssortmentManagerEntryBase {
|
|
|
392
413
|
multiLanguage?: boolean;
|
|
393
414
|
/**
|
|
394
415
|
* Renders the field as a growing textarea instead of a single-line input (legacy `Multiline` > 1,
|
|
395
|
-
* which opened a modal editor because its form inputs were single-line only)
|
|
416
|
+
* which opened a modal editor because its form inputs were single-line only); in the article table the
|
|
417
|
+
* cells edit in a multi-line popup. Limited either by `maxLength` (the whole text) or, for a text SAP
|
|
418
|
+
* takes as line items, by `maxLines` and `maxLengthPerLine`.
|
|
396
419
|
*/
|
|
397
420
|
multiline?: boolean;
|
|
421
|
+
/**
|
|
422
|
+
* The most lines a `multiline` text may fill in SAP (legacy `Multiline`), counted after wrapping at
|
|
423
|
+
* `maxLengthPerLine` the way the SAP transfer wraps it — in the article table a text needing more lines turns
|
|
424
|
+
* its cell red and holds the row back.
|
|
425
|
+
*/
|
|
426
|
+
maxLines?: number;
|
|
427
|
+
/**
|
|
428
|
+
* The characters per SAP line of a `multiline` text (legacy `MaxLength`): no input limit per line — the article
|
|
429
|
+
* table's editor breaks a full line as it is typed, and the SAP transfer wraps whatever still is longer (a paste
|
|
430
|
+
* into the cell) into further items. Together with `maxLines` it bounds the whole text.
|
|
431
|
+
*/
|
|
432
|
+
maxLengthPerLine?: number;
|
|
398
433
|
/**
|
|
399
434
|
* Full path of a sibling dropdown field this field is the descriptive label of. On the header page
|
|
400
435
|
* the field then renders read-only, always showing the label text of the referenced field's current
|
|
@@ -421,6 +456,12 @@ export interface AssortmentManagerField extends AssortmentManagerEntryBase {
|
|
|
421
456
|
* `SAP_MAW1_ZZSHOP == '1'`) — despite that name the legacy disabled the field, it never hid it.
|
|
422
457
|
*/
|
|
423
458
|
enabledWhen?: AssortmentManagerEnabledWhenRule;
|
|
459
|
+
/**
|
|
460
|
+
* Stays editable in the article table after the article was transferred, which makes the row read-only otherwise —
|
|
461
|
+
* still not while a transfer run works on it. The legacy `LockedBySAPExport = 0` of `TBL_FLATARTICLE_CONFIG`.
|
|
462
|
+
* The change stays in DIVA: a transferred article is not sent again.
|
|
463
|
+
*/
|
|
464
|
+
editableWhenTransferred?: boolean;
|
|
424
465
|
/**
|
|
425
466
|
* `false` = not editable, e.g. because the value is derived from the supplier / EK group filter.
|
|
426
467
|
* Named after the spreadsheet column definition; this used to be `readOnly` (legacy `ReadOnly`),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AssortmentManager/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAExE,sGAAsG;AACtG,MAAM,MAAM,2BAA2B,GAAG;KAAG,CAAC,IAAI,MAAM,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,GAAG,CAAC,GAAG,KAAK;CAAE,CAAC,MAAM,SAAS,CAAC,CAAC;AAE7I,gFAAgF;AAChF,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9F,qHAAqH;AACrH,MAAM,WAAW,gCAAgC;IAC/C,uFAAuF;IACvF,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED,8GAA8G;AAC9G,MAAM,WAAW,+BAA+B;IAC9C,sFAA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M,MAAM,4BAA4B,GAAG,sBAAsB,GAAG,0BAA0B,CAAC"}
|
|
@@ -11,11 +11,11 @@ export interface AccessoryCell {
|
|
|
11
11
|
typeNo: string;
|
|
12
12
|
/** Whether the relation is active at all - the checkbox of the grid cell. */
|
|
13
13
|
active: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Pflichtanzahl, published as MANDATORY_QUANTITY - the binding minimum in the planner. */
|
|
15
15
|
mandatoryQuantity?: number;
|
|
16
16
|
/** IDM set (MANDATORY_ITEM_GROUP.SET_NO) the mandatory reference belongs to - set iff a quantity is. */
|
|
17
17
|
mandatorySetNo?: number;
|
|
18
|
-
/**
|
|
18
|
+
/** Empfohlene Anzahl, published as OPTIONAL_QUANTITY - a non-binding suggestion, no cap. */
|
|
19
19
|
optionalQuantity?: number;
|
|
20
20
|
/** IDM set (OPTIONAL_ITEM_GROUP.SET_NO) the optional reference belongs to - set iff a quantity is. */
|
|
21
21
|
optionalSetNo?: number;
|
|
@@ -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,
|
|
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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AAC,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.13.0-beta.
|
|
3
|
+
"version": "26.13.0-beta.15",
|
|
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
|
-
"@crystaldesign/content-box": "26.13.0-beta.
|
|
21
|
-
"@crystaldesign/content-item": "26.13.0-beta.
|
|
22
|
-
"@crystaldesign/diva-agent": "26.13.0-beta.
|
|
23
|
-
"@crystaldesign/diva-core": "26.13.0-beta.
|
|
24
|
-
"@crystaldesign/diva-utils": "26.13.0-beta.
|
|
25
|
-
"@crystaldesign/mass-configurator": "26.13.0-beta.
|
|
26
|
-
"@crystaldesign/media-upload": "26.13.0-beta.
|
|
27
|
-
"@crystaldesign/rtf-editor": "26.13.0-beta.
|
|
28
|
-
"@crystaldesign/spreadsheet": "26.13.0-beta.
|
|
19
|
+
"@crystaldesign/classification": "26.13.0-beta.15",
|
|
20
|
+
"@crystaldesign/content-box": "26.13.0-beta.15",
|
|
21
|
+
"@crystaldesign/content-item": "26.13.0-beta.15",
|
|
22
|
+
"@crystaldesign/diva-agent": "26.13.0-beta.15",
|
|
23
|
+
"@crystaldesign/diva-core": "26.13.0-beta.15",
|
|
24
|
+
"@crystaldesign/diva-utils": "26.13.0-beta.15",
|
|
25
|
+
"@crystaldesign/mass-configurator": "26.13.0-beta.15",
|
|
26
|
+
"@crystaldesign/media-upload": "26.13.0-beta.15",
|
|
27
|
+
"@crystaldesign/rtf-editor": "26.13.0-beta.15",
|
|
28
|
+
"@crystaldesign/spreadsheet": "26.13.0-beta.15",
|
|
29
29
|
"@dnd-kit/core": "^6.1.0",
|
|
30
30
|
"@dnd-kit/sortable": "^8.0.0",
|
|
31
31
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -59,5 +59,9 @@
|
|
|
59
59
|
},
|
|
60
60
|
"module": "build/esm/index.js",
|
|
61
61
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
62
|
-
"
|
|
62
|
+
"jest-junit": {
|
|
63
|
+
"suiteName": "diva-backoffice",
|
|
64
|
+
"outputDirectory": "./test-reports"
|
|
65
|
+
},
|
|
66
|
+
"gitHead": "b7394f7129aba94788881b09d0167a74f531c299"
|
|
63
67
|
}
|