@crystaldesign/diva-backoffice 26.12.0-beta.10 → 26.12.0-beta.12
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 +1253 -822
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts +21 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +9 -3
- 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/partlistposActions.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +3 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
- package/package.json +10 -10
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backofficeToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"backofficeToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAuB,MAAM,2BAA2B,CAAC;AAEnF,OAAO,EAAW,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAEjH,6HAA6H;AAC7H,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,iBAAiB,CAAC;IAC9B,YAAY,EAAE,mBAAmB,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,8EAA8E;IAC9E,UAAU,EAAE,iBAAiB,CAAC;IAC9B,YAAY,EAAE,mBAAmB,CAAC;IAClC,SAAS,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,iBAAiB,GAAG,SAAS,CAAC;CAClD;AAuCD,0HAA0H;AAC1H,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,CA0FnF"}
|
package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/DivaAgent/navigationToolset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAoB,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG5D,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAC;AAezD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qGAAqG;AACrG,kIAAkI;AAClI,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAqC,CAAC;AAE1F,eAAO,MAAM,oBAAoB,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"navigationToolset.d.ts","sourceRoot":"","sources":["../../../../../../../../src/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ACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAgDrF"}
|
|
@@ -23,6 +23,24 @@ export interface AgentGridAction {
|
|
|
23
23
|
note?: string;
|
|
24
24
|
}>;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* The parent row a SUBTABLE is bound to - the row its endpoint is scoped by - as the module that opens the subtable
|
|
28
|
+
* declares it. A stageTableEdits without parentRow lands under exactly this row and is refused while there is none;
|
|
29
|
+
* a parentRow call waits until it reports the row that call selected.
|
|
30
|
+
*/
|
|
31
|
+
export interface AgentBoundParent {
|
|
32
|
+
/** The parent grid's label, as listGrids names it. */
|
|
33
|
+
grid: string;
|
|
34
|
+
/** The parent grid's key column. */
|
|
35
|
+
column: string;
|
|
36
|
+
/** The bound row's value in `column`; unset while no parent row is bound. */
|
|
37
|
+
value?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The toolbar tool that opens this subtable - what parentRow.tool names. Its gridId and label can carry other names
|
|
40
|
+
* (finishes under 'priceFeatureGroupFinishes'), so this is how a repeated parentRow call finds it while it is open.
|
|
41
|
+
*/
|
|
42
|
+
tool?: string;
|
|
43
|
+
}
|
|
26
44
|
/**
|
|
27
45
|
* A live table as the agent sees it: registered by the SpreadsheetWrapper on mount (re-registered when its label or
|
|
28
46
|
* description changes), removed on unmount. The callbacks read the current handle and actions at call time, so a
|
|
@@ -44,6 +62,8 @@ export interface GridEntry {
|
|
|
44
62
|
getHandle: () => SpreadsheetRefProps | null;
|
|
45
63
|
/** The view-declared agent actions of this table, read live so a re-render never needs a re-registration. */
|
|
46
64
|
getActions: () => AgentGridAction[];
|
|
65
|
+
/** Set only on a SUBTABLE: the parent row it is bound to right now, read live (see AgentBoundParent). */
|
|
66
|
+
getBoundParent?: () => AgentBoundParent | undefined;
|
|
47
67
|
/** Shows the in-grid approval bar and resolves the user's decision; false on discard, unmount or abort. */
|
|
48
68
|
requestAgentApproval: (changeCount: number, actionLabel?: string, signal?: AbortSignal) => Promise<boolean>;
|
|
49
69
|
}
|
|
@@ -58,7 +78,7 @@ export default class GridRegistry {
|
|
|
58
78
|
constructor();
|
|
59
79
|
register(entry: Omit<GridEntry, 'id'>): number;
|
|
60
80
|
unregister(id: number): void;
|
|
61
|
-
/** Grids currently mounted, in mount order
|
|
81
|
+
/** Grids currently mounted, in mount order. */
|
|
62
82
|
get entries(): GridEntry[];
|
|
63
83
|
}
|
|
64
84
|
//# sourceMappingURL=GridRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/store/GridRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,wGAAwG;IACxG,WAAW,EAAE,MAAM,CAAC;IACpB,uGAAuG;IACvG,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,8GAA8G;IAC9G,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qHAAqH;IACrH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,OAAO,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtH;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,yGAAyG;IACzG,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uFAAuF;IACvF,O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EAAE,EAAE,MAAM;IAIrB,+CAA+C;IAC/C,IAAI,OAAO,IAAI,SAAS,EAAE,CAEzB;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsReceipt.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.ts"],"names":[],"mappings":""}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* AG Grid api subset, the CRUD handle, the approval bar and the RootStore slices the toolset reads.
|
|
7
7
|
*/
|
|
8
8
|
import type RootStore from '../../../../../../store/RootStore';
|
|
9
|
+
import type { AgentBoundParent } from '../../../../../../store/GridRegistry';
|
|
9
10
|
export declare const CATALOG = "6a7482dbbc0dbae27f20eb5c";
|
|
10
11
|
export declare const SERIE_ID = "6a74000000000000000000a1";
|
|
11
12
|
/** Column the fake grid knows; a write to anything else is an unknown column, as in a real table. */
|
|
@@ -41,6 +42,7 @@ export interface FakeGridOptions {
|
|
|
41
42
|
[rowId: string]: Record<string, unknown>;
|
|
42
43
|
};
|
|
43
44
|
/** What the commit reports back. */
|
|
45
|
+
/** `createdIds` is what the server answered for created rows — the receipt reads it before it looks at the grid node. */
|
|
44
46
|
commit?: {
|
|
45
47
|
committed?: string[];
|
|
46
48
|
failed?: {
|
|
@@ -48,6 +50,7 @@ export interface FakeGridOptions {
|
|
|
48
50
|
errors: string[];
|
|
49
51
|
}[];
|
|
50
52
|
skipped?: string[];
|
|
53
|
+
createdIds?: Record<string, string>;
|
|
51
54
|
};
|
|
52
55
|
/** Serie record the catalog editor's context holds. */
|
|
53
56
|
selectedSerie?: Record<string, unknown>;
|
|
@@ -97,6 +100,8 @@ export interface FakeGridOptions {
|
|
|
97
100
|
value: string | number;
|
|
98
101
|
label: string;
|
|
99
102
|
}[]>;
|
|
103
|
+
/** Declares this grid a SUBTABLE bound to that parent row (`value` unset = bound to none), as its opening module does. */
|
|
104
|
+
boundParent?: AgentBoundParent;
|
|
100
105
|
}
|
|
101
106
|
/** The computed column's colId - a matrix cell is addressed by that, never by a field. */
|
|
102
107
|
export declare const MATRIX_CELL = "10-T110.mandatoryQuantity";
|
|
@@ -108,8 +113,8 @@ export declare const ITEMS_COLUMN_DEFS: FakeColumnDef[];
|
|
|
108
113
|
* suites assert on (`rolledBack`, `commitCalls`, the recorded stage calls). See `FakeGridOptions` for the knobs.
|
|
109
114
|
*/
|
|
110
115
|
export declare function fakeEnvironment(options?: FakeGridOptions): {
|
|
111
|
-
/** Runs any navigation tool against this environment. */
|
|
112
|
-
dispatch: (name: string, input: unknown) => Promise<any>;
|
|
116
|
+
/** Runs any navigation tool against this environment; `signal` is the bridge's abort (its call timeout). */
|
|
117
|
+
dispatch: (name: string, input: unknown, signal?: AbortSignal) => Promise<any>;
|
|
113
118
|
stage: (input: unknown) => Promise<any>;
|
|
114
119
|
staged: {
|
|
115
120
|
rowId: string;
|
|
@@ -126,6 +131,8 @@ export declare function fakeEnvironment(options?: FakeGridOptions): {
|
|
|
126
131
|
}[];
|
|
127
132
|
/** The registry entry of this grid — pushed into ANOTHER environment's registry to model a second grid. */
|
|
128
133
|
entry: {
|
|
134
|
+
requestAgentApproval: (changeCount: number, actionLabel?: string) => Promise<boolean>;
|
|
135
|
+
getBoundParent?: (() => AgentBoundParent | undefined) | undefined;
|
|
129
136
|
id: number;
|
|
130
137
|
label: string;
|
|
131
138
|
gridId: string;
|
|
@@ -137,7 +144,6 @@ export declare function fakeEnvironment(options?: FakeGridOptions): {
|
|
|
137
144
|
mutating?: boolean;
|
|
138
145
|
run: (input: string) => Promise<string>;
|
|
139
146
|
}[];
|
|
140
|
-
requestAgentApproval: (changeCount: number, actionLabel?: string) => Promise<boolean>;
|
|
141
147
|
};
|
|
142
148
|
/** The fake store, for tests that stage what the store does between calls (toolbars, grid registration). */
|
|
143
149
|
root: RootStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,QAAQ,6BAA6B,CAAC;AAEnD,qGAAqG;AACrG,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IACtD,yDAAyD;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAAK,OAAO,CAAC,CAAC;IAC9E,gHAAgH;IAChH,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACrF;AAED,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;IAC7B,yFAAyF;IACzF,OAA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AC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partlistposActions.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordIdAsRowId.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subtableParentBinding.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration, SpreadsheetProps, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
2
|
-
import type { AgentGridAction } from '../../../store/GridRegistry';
|
|
2
|
+
import type { AgentBoundParent, AgentGridAction } from '../../../store/GridRegistry';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
/** Spreadsheet configuration plus the agent-addressing fields consumed only by this wrapper's grid registry. */
|
|
5
5
|
export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
|
|
@@ -14,6 +14,8 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
14
14
|
configuration: AgentGridConfiguration;
|
|
15
15
|
/** Set when this grid lives inside a right-toolbar tool (see GridEntry.toolbarToolId). */
|
|
16
16
|
toolbarToolId?: string;
|
|
17
|
+
/** Set on a SUBTABLE: the parent row its endpoint is scoped by (see GridEntry.getBoundParent). */
|
|
18
|
+
agentBoundParent?: AgentBoundParent;
|
|
17
19
|
} & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
|
|
18
20
|
export default _default;
|
|
19
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,gHAAgH;AAEhH,MAAM,MAAM,sBAAsB,CAAC,KAAK,GAAG,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,GAAG;IACvE,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wGAAwG;IACxG,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;;mBAGe,sBAAsB;IACrC,0FAA0F;oBAC1E,MAAM;IACtB,kGAAkG;uBAC/E,gBAAgB;;AA+HrC,wBAA4C"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
2
3
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
4
|
import { SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
4
5
|
export type SetSelectedCatalogFn = (catalogId: string, modules: string[], path: string, replace?: boolean) => void;
|
|
@@ -20,6 +21,8 @@ declare const Catalogs: React.ForwardRefExoticComponent<{
|
|
|
20
21
|
onActualChange?: () => void;
|
|
21
22
|
/** When changed, this grid refreshes (used to sync refresh from the other table) */
|
|
22
23
|
refreshTrigger?: number;
|
|
24
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
25
|
+
agentBoundParent?: AgentBoundParent;
|
|
23
26
|
} & React.RefAttributes<SpreadsheetRefProps>>;
|
|
24
27
|
export default Catalogs;
|
|
25
28
|
//# sourceMappingURL=CatalogVersions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogVersions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/CatalogVersions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,mBAAmB,EAAoB,MAAM,4BAA4B,CAAC;AAYlG,MAAM,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;AAEnH,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEhI,QAAA,MAAM,QAAQ;oBAGM,MAAM;eACX,SAAS;aACX,UAAU;eACR,OAAO;yBACG,oBAAoB;IACzC,mEAAmE;qBAClD,MAAM,IAAI;IAC3B,oFAAoF;qBACnE,MAAM;
|
|
1
|
+
{"version":3,"file":"CatalogVersions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/CatalogVersions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,mBAAmB,EAAoB,MAAM,4BAA4B,CAAC;AAYlG,MAAM,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;AAEnH,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEhI,QAAA,MAAM,QAAQ;oBAGM,MAAM;eACX,SAAS;aACX,UAAU;eACR,OAAO;yBACG,oBAAoB;IACzC,mEAAmE;qBAClD,MAAM,IAAI;IAC3B,oFAAoF;qBACnE,MAAM;IACvB,iFAAiF;uBAC9D,gBAAgB;6CAi4BrC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -2,12 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
4
4
|
import { CatalogData } from '../types';
|
|
5
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
5
6
|
declare const FeaturesWithFeatureClass: React.ForwardRefExoticComponent<{
|
|
6
7
|
organizationId: string;
|
|
7
8
|
selectedCatalog: CatalogData;
|
|
8
9
|
featureClassId: string;
|
|
9
10
|
apiConfig: ApiConfig;
|
|
10
11
|
hooks?: DivaSpreadsheetHooks<any>;
|
|
12
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
13
|
+
agentBoundParent?: AgentBoundParent;
|
|
11
14
|
} & React.RefAttributes<SpreadsheetRefProps>>;
|
|
12
15
|
export default FeaturesWithFeatureClass;
|
|
13
16
|
//# sourceMappingURL=FeaturesWithFeatureClass.d.ts.map
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturesWithFeatureClass.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FeaturesWithFeatureClass.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,QAAA,MAAM,wBAAwB;oBAGV,MAAM;qBACL,WAAW;oBACZ,MAAM;eACX,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;IACjC,iFAAiF;uBAC9D,gBAAgB;6CAkKrC,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
4
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
4
5
|
import { CatalogData } from '../types';
|
|
5
6
|
interface ItemsProps {
|
|
6
7
|
organizationId: string;
|
|
@@ -12,6 +13,8 @@ interface ItemsProps {
|
|
|
12
13
|
serieRunActive?: boolean;
|
|
13
14
|
/** Bumped by the owner whenever something outside this component changed the items' classification (e.g. a serie run just settled) - included in the grid's key so it remounts and refetches instead of showing stale rows. */
|
|
14
15
|
refreshToken?: string | number;
|
|
16
|
+
/** Set by the module that opens this table as a subtable: the parent row it is bound to. */
|
|
17
|
+
agentBoundParent?: AgentBoundParent;
|
|
15
18
|
}
|
|
16
19
|
declare const Items: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<ItemsProps & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
|
|
17
20
|
export default Items;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAA4C,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjI,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAwBvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,sLAAsL;IACtL,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+NAA+N;IAC/N,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAA4C,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAwBvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,sLAAsL;IACtL,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+NAA+N;IAC/N,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAgpBD,QAAA,MAAM,KAAK,2KAAuB,CAAC;AAEnC,eAAe,KAAK,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
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 OptionCombinations({ decision, catalogId, defaultLanguage, apiConfig, setNodeDataValue, agentBoundParent, }: {
|
|
4
5
|
decision: any;
|
|
5
6
|
catalogId: string;
|
|
6
7
|
defaultLanguage?: string;
|
|
7
8
|
apiConfig: ApiConfig;
|
|
8
9
|
setNodeDataValue: (data: Record<string, any>) => void;
|
|
10
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
11
|
+
agentBoundParent?: AgentBoundParent;
|
|
9
12
|
}): React.JSX.Element;
|
|
10
13
|
//# sourceMappingURL=index.d.ts.map
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAQrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,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,IAAI,CAAC;IACtD,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAkNA"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { CatalogData } from '../types';
|
|
4
|
-
|
|
4
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
5
|
+
export default function Items({ organizationId, selectedCatalog, apiConfig, selectedOptionGroup, agentBoundParent, }: {
|
|
5
6
|
organizationId: string;
|
|
6
7
|
selectedCatalog: CatalogData;
|
|
7
8
|
selectedOptionGroup: string;
|
|
8
9
|
apiConfig: ApiConfig;
|
|
10
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
11
|
+
agentBoundParent?: AgentBoundParent;
|
|
9
12
|
}): React.JSX.Element;
|
|
10
13
|
//# sourceMappingURL=OptionGroupOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"OptionGroupOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,cAAc,EACd,eAAe,EACf,SAAS,EACT,mBAAmB,EACnB,gBAAgB,GACjB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,SAAS,CAAC;IACrB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAwEA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { DivaSpreadsheetHooks } from '@crystaldesign/spreadsheet';
|
|
4
|
-
|
|
4
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
5
|
+
export default function PartlistPos({ organizationId, catalog, partlist, apiConfig, hooks, setNodeDataValue, onPartlistPosExcelImportComplete, spreadsheetRemountNonce, agentBoundParent, }: {
|
|
5
6
|
organizationId: string;
|
|
6
7
|
catalog: any;
|
|
7
8
|
partlist: any;
|
|
@@ -12,5 +13,7 @@ export default function PartlistPos({ organizationId, catalog, partlist, apiConf
|
|
|
12
13
|
onPartlistPosExcelImportComplete?: () => void | Promise<void>;
|
|
13
14
|
/** Changing this value remounts the partlistpos Spreadsheet (e.g. after Excel import). */
|
|
14
15
|
spreadsheetRemountNonce?: number;
|
|
16
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
17
|
+
agentBoundParent?: AgentBoundParent;
|
|
15
18
|
}): React.JSX.Element;
|
|
16
19
|
//# sourceMappingURL=PartlistPos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAQnH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AASpE,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,EAC3B,gBAAgB,GACjB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAqaA"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
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
5
|
priceFeatureGroup: any;
|
|
5
6
|
catalogId: string;
|
|
6
7
|
defaultLanguage?: string;
|
|
7
8
|
apiConfig: ApiConfig;
|
|
8
9
|
setNodeDataValue: (data: Record<string, any>) => void;
|
|
9
10
|
setIsPercentage: (isPercentage?: boolean) => void;
|
|
11
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
12
|
+
agentBoundParent?: AgentBoundParent;
|
|
10
13
|
}): React.JSX.Element;
|
|
11
14
|
//# sourceMappingURL=PriceFeatureGroupFinishes.d.ts.map
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,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,IAAI,CAAC;IACtD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBA0NA"}
|
|
@@ -1,11 +1,14 @@
|
|
|
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
5
|
priceFeatureGroup: any;
|
|
5
6
|
catalogId: string;
|
|
6
7
|
defaultLanguage?: string;
|
|
7
8
|
apiConfig: ApiConfig;
|
|
8
9
|
setNodeDataValue: (data: Record<string, any>) => void;
|
|
9
10
|
setIsPercentage: (isPercentage?: boolean) => void;
|
|
11
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
12
|
+
agentBoundParent?: AgentBoundParent;
|
|
10
13
|
}): React.JSX.Element;
|
|
11
14
|
//# sourceMappingURL=PriceFeatureGroupPercentageSurcharge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,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,IAAI,CAAC;IACtD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAuNA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAmBzD,eAAO,MAAM,aAAa;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAmBzD,eAAO,MAAM,aAAa;;CA2IxB,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDecisions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAcvE,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDecisions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAcvE,eAAO,MAAM,cAAc;;CAiPzB,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,eAAO,MAAM,mBAAmB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,eAAO,MAAM,mBAAmB;;CA8J9B,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,eAAO,MAAM,iBAAiB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,eAAO,MAAM,iBAAiB;;CAgI5B,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,eAAO,MAAM,cAAc;;CA6OzB,CAAC"}
|
|
@@ -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;;
|
|
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;;CAqPlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAkCtE;;;GAGG;AACH,eAAO,MAAM,WAAW;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAkCtE;;;GAGG;AACH,eAAO,MAAM,WAAW;;CAikBtB,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { DivaSpreadsheetHooks } from '@crystaldesign/spreadsheet';
|
|
4
|
-
|
|
4
|
+
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
5
|
+
export default function CollectionMembers({ collection, organizationId, apiConfig, agentBoundParent, }: {
|
|
5
6
|
collection: any;
|
|
6
7
|
organizationId: string;
|
|
7
8
|
apiConfig: ApiConfig;
|
|
8
9
|
hooks?: DivaSpreadsheetHooks<any>;
|
|
10
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
11
|
+
agentBoundParent?: AgentBoundParent;
|
|
9
12
|
}): React.JSX.Element;
|
|
10
13
|
//# sourceMappingURL=CollectionMembers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAkGA"}
|
package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCollectionEditor/modules/TableCollections/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCollectionEditor/modules/TableCollections/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,MAAM,CAAC,OAAO,gCAyNb"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
|
+
import type { AgentBoundParent } from '../../../../store/GridRegistry';
|
|
3
4
|
interface PricesProps {
|
|
4
5
|
organizationId: string;
|
|
5
6
|
selectedPackage: {
|
|
@@ -10,6 +11,8 @@ interface PricesProps {
|
|
|
10
11
|
pricelist: any;
|
|
11
12
|
setNodeDataValue: (data: Record<string, any>) => void;
|
|
12
13
|
viewOnly?: boolean;
|
|
14
|
+
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
15
|
+
agentBoundParent?: AgentBoundParent;
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
15
18
|
* The prices grid of one pricelist and serie, plus the price-factor and priority maps beside it.
|
|
@@ -18,7 +21,7 @@ interface PricesProps {
|
|
|
18
21
|
* pricelists module rather than taking one of its own. Export runs through the enricher's own api2
|
|
19
22
|
* endpoint instead of the grid's excel export, because the served file is a report, not the grid content.
|
|
20
23
|
*/
|
|
21
|
-
export declare const Prices: ((
|
|
24
|
+
export declare const Prices: ((props: PricesProps) => React.JSX.Element) & {
|
|
22
25
|
displayName: string;
|
|
23
26
|
};
|
|
24
27
|
export {};
|
|
@@ -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;
|
|
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;;CA0YhD,CAAC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map
CHANGED
|
@@ -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;;
|
|
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;;CAoVzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.12.0-beta.
|
|
3
|
+
"version": "26.12.0-beta.12",
|
|
4
4
|
"description": "Ant Design backoffice shell: configuration plus the IDM and enricher editors.",
|
|
5
5
|
"license": "COMMERCIAL",
|
|
6
6
|
"devDependencies": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ant-design/icons": "6.3.4",
|
|
18
18
|
"@babel/runtime": "7.24.7",
|
|
19
|
-
"@crystaldesign/content-box": "26.12.0-beta.
|
|
20
|
-
"@crystaldesign/content-item": "26.12.0-beta.
|
|
21
|
-
"@crystaldesign/diva-agent": "26.12.0-beta.
|
|
22
|
-
"@crystaldesign/diva-core": "26.12.0-beta.
|
|
23
|
-
"@crystaldesign/diva-utils": "26.12.0-beta.
|
|
24
|
-
"@crystaldesign/media-upload": "26.12.0-beta.
|
|
25
|
-
"@crystaldesign/rtf-editor": "26.12.0-beta.
|
|
26
|
-
"@crystaldesign/spreadsheet": "26.12.0-beta.
|
|
19
|
+
"@crystaldesign/content-box": "26.12.0-beta.12",
|
|
20
|
+
"@crystaldesign/content-item": "26.12.0-beta.12",
|
|
21
|
+
"@crystaldesign/diva-agent": "26.12.0-beta.12",
|
|
22
|
+
"@crystaldesign/diva-core": "26.12.0-beta.12",
|
|
23
|
+
"@crystaldesign/diva-utils": "26.12.0-beta.12",
|
|
24
|
+
"@crystaldesign/media-upload": "26.12.0-beta.12",
|
|
25
|
+
"@crystaldesign/rtf-editor": "26.12.0-beta.12",
|
|
26
|
+
"@crystaldesign/spreadsheet": "26.12.0-beta.12",
|
|
27
27
|
"@dnd-kit/core": "^6.1.0",
|
|
28
28
|
"@dnd-kit/sortable": "^8.0.0",
|
|
29
29
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
},
|
|
58
58
|
"module": "build/esm/index.js",
|
|
59
59
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "4e51d59419f72c852d2ea8a9ce641bb6c6c072c7"
|
|
61
61
|
}
|