@crystaldesign/diva-backoffice 25.1.1-rc.1 → 25.2.0-beta.10
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 +1750 -675
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePrices/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceDisplayCellRenderer/index.d.ts +15 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceDisplayCellRenderer/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts +12 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +10 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.d.ts +10 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/SeriesSelector.d.ts +12 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/SeriesSelector.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts +16 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts +77 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts +30 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/SelectSimple/useSelectSimpleData.d.ts +1 -1
- package/build/types/backoffice/src/ui/SelectSimple/useSelectSimpleData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts +25 -24
- package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts.map +1 -1
- package/package.json +10 -10
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PackageSelector/index.d.ts +0 -8
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PackageSelector/index.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelector/index.d.ts +0 -12
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelector/index.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePrices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePrices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,MAAM,CAAC,OAAO,gCAuIb"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface PriceFeatureGroup {
|
|
2
|
+
id: string;
|
|
3
|
+
displayText: string;
|
|
4
|
+
keys: string[];
|
|
5
|
+
keysDisplayTexts: (string | undefined)[];
|
|
6
|
+
}
|
|
7
|
+
export default function usePriceFeatureGroupsFromSerie(serie: any): PriceFeatureGroup[];
|
|
8
|
+
//# sourceMappingURL=usePriceFeatureGroupsFromSerie.d.ts.map
|
package/build/types/backoffice/src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePriceFeatureGroupsFromSerie.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCommonComponents/usePriceFeatureGroupsFromSerie.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,gBAAgB,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;CAC1C;AACD,MAAM,CAAC,OAAO,UAAU,8BAA8B,CAAC,KAAK,EAAE,GAAG,uBAGhE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomCellRendererProps } from 'ag-grid-react';
|
|
3
|
+
import { DivaContext } from '@crystaldesign/spreadsheet';
|
|
4
|
+
export default function PriceDisplayCellRenderer(props: CustomCellRendererProps<{
|
|
5
|
+
prices: {
|
|
6
|
+
[key: string]: number;
|
|
7
|
+
};
|
|
8
|
+
origPrices: {
|
|
9
|
+
[key: string]: number;
|
|
10
|
+
};
|
|
11
|
+
manualPrices: string[];
|
|
12
|
+
}, number, DivaContext> & {
|
|
13
|
+
commas?: number;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceDisplayCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAazD,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC9C,KAAK,EAAE,uBAAuB,CAC5B;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EACN,WAAW,CACZ,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,qBAkCxB"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface PriceFactorInputProps {
|
|
3
|
+
value: number[];
|
|
4
|
+
onSave?: (data: any, value: number[]) => Promise<void>;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export default function PriceFactorInput(props: PriceFactorInputProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,qBAWpE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
|
+
export default function ({ organizationId, packageId, apiConfig, pricelist, setNodeDataValue, }: {
|
|
4
|
+
organizationId: string;
|
|
5
|
+
packageId: string;
|
|
6
|
+
apiConfig: ApiConfig;
|
|
7
|
+
pricelist: any;
|
|
8
|
+
setNodeDataValue: (data: Record<string, any>) => boolean;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAWrE,MAAM,CAAC,OAAO,WAAW,EACvB,cAAc,EACd,SAAS,EACT,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBAsRA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface FeatureSelectorProps {
|
|
3
|
+
packageId: string;
|
|
4
|
+
selectedFeature?: any;
|
|
5
|
+
setSelectedFeature?: (value: any) => void;
|
|
6
|
+
enricherService: string;
|
|
7
|
+
dataSet: 'lookup' | 'exclusivities';
|
|
8
|
+
}
|
|
9
|
+
export default function FeatureSelector({ packageId, selectedFeature, setSelectedFeature, enricherService, dataSet }: FeatureSelectorProps): React.JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=FeatureSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeatureSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1C,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,oBAAoB,qBA0BzI"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface PackageSelectorProps {
|
|
3
|
+
organizationId: string;
|
|
4
|
+
selectedPackage?: any;
|
|
5
|
+
setSelectedPackage: (id: string) => void;
|
|
6
|
+
enricherService: string;
|
|
7
|
+
}
|
|
8
|
+
export default function PackageSelector({ organizationId, selectedPackage, setSelectedPackage, enricherService }: PackageSelectorProps): React.JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=PackageSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PackageSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,oBAAoB;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,EAAE,oBAAoB,qBA0BrI"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SeriesSelectorProps {
|
|
3
|
+
packageId: string;
|
|
4
|
+
selectedSerie?: any;
|
|
5
|
+
setSelectedSerie?: (value: any) => void;
|
|
6
|
+
enricherService: string;
|
|
7
|
+
dataSet: 'lookup' | 'exclusivities';
|
|
8
|
+
additionalFields?: string[];
|
|
9
|
+
}
|
|
10
|
+
export default function SeriesSelector({ packageId, selectedSerie, setSelectedSerie, enricherService, dataSet, additionalFields, }: SeriesSelectorProps): React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SeriesSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeriesSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/SeriesSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,mBAAmB;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,OAAO,EACP,gBAAgB,GACjB,EAAE,mBAAmB,qBA0BrB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomCellRendererProps } from 'ag-grid-react';
|
|
3
|
+
import { DivaContext } from '@crystaldesign/spreadsheet';
|
|
4
|
+
export default function PriceFactorCellRenderer(props: Partial<CustomCellRendererProps<{
|
|
5
|
+
prices: {
|
|
6
|
+
[key: string]: number;
|
|
7
|
+
};
|
|
8
|
+
origPrices: {
|
|
9
|
+
[key: string]: number;
|
|
10
|
+
};
|
|
11
|
+
manualPrices: string[];
|
|
12
|
+
}, number[], DivaContext>> & {
|
|
13
|
+
onSave?: (data: any, value: number[]) => Promise<void>;
|
|
14
|
+
singleClick?: boolean;
|
|
15
|
+
}): React.JSX.Element;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,OAAO,CACZ,uBAAuB,CACrB;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EAAE,EACR,WAAW,CACZ,CACF,GAAG;IACF,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,qBAkIF"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/** Type of price modification that can be applied */
|
|
2
|
+
export type PriceType = 'factor' | 'discount';
|
|
3
|
+
/** Represents a single price entry with its value and validation state */
|
|
4
|
+
export interface PriceEntry {
|
|
5
|
+
/** The value as string to support input handling */
|
|
6
|
+
value: string;
|
|
7
|
+
/** Whether the current value is valid according to type rules */
|
|
8
|
+
isValid: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** State container for both factor and discount entries */
|
|
11
|
+
export interface EntryState {
|
|
12
|
+
/** List of price factor entries (values > 1) */
|
|
13
|
+
factor: PriceEntry[];
|
|
14
|
+
/** List of discount entries (values between 0 and 1) */
|
|
15
|
+
discount: PriceEntry[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Formats a list of values for display in the cell
|
|
19
|
+
* For both types, displays the actual factor value (e.g., 0.8 for 20% discount)
|
|
20
|
+
* @param values - The values to format
|
|
21
|
+
* @param type - The type of price modification
|
|
22
|
+
* @param locale - The locale to use for formatting
|
|
23
|
+
* @returns The formatted string with values separated by semicolons
|
|
24
|
+
*/
|
|
25
|
+
export declare const formatListValue: (values: number[], type: PriceType, locale: string) => string;
|
|
26
|
+
/**
|
|
27
|
+
* Converts an internal value to its display representation
|
|
28
|
+
* For factors: keeps the decimal value
|
|
29
|
+
* For discounts: converts to percentage (e.g., 0.2 -> "20")
|
|
30
|
+
* @param value - The internal value to convert
|
|
31
|
+
* @param type - The type of price modification
|
|
32
|
+
* @returns The display value as string
|
|
33
|
+
*/
|
|
34
|
+
export declare const convertToDisplayValue: (value: string, type: PriceType) => string;
|
|
35
|
+
/**
|
|
36
|
+
* Converts a display value back to its internal representation
|
|
37
|
+
* For factors: keeps the input value
|
|
38
|
+
* For discounts: converts from percentage to decimal (e.g., "20" -> "0.2")
|
|
39
|
+
* @param value - The display value to convert
|
|
40
|
+
* @param type - The type of price modification
|
|
41
|
+
* @returns The internal value as string
|
|
42
|
+
*/
|
|
43
|
+
export declare const convertFromDisplayValue: (value: string, type: PriceType) => string;
|
|
44
|
+
/**
|
|
45
|
+
* Validates if an input value is valid for the given type
|
|
46
|
+
* For factors: must be >= 1
|
|
47
|
+
* For discounts: must be >= 0 and <= 0.99
|
|
48
|
+
* @param value - The value to validate
|
|
49
|
+
* @param type - The type of price modification
|
|
50
|
+
* @returns True if the value is valid for the given type
|
|
51
|
+
*/
|
|
52
|
+
export declare const isValidInput: (value: string, type: PriceType) => boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Checks if a value is effective (should be saved)
|
|
55
|
+
* For factors: must be > 1 (1 is valid but not effective)
|
|
56
|
+
* For discounts: must be >= 0.01 (0 is valid but not effective)
|
|
57
|
+
* @param value - The value to check
|
|
58
|
+
* @param type - The type of price modification
|
|
59
|
+
* @returns True if the value should be saved
|
|
60
|
+
*/
|
|
61
|
+
export declare const isEffectiveValue: (value: string, type: PriceType) => boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Gets the default value for a given type
|
|
64
|
+
* Factor: "1" (valid but not effective)
|
|
65
|
+
* Discount: "0" (valid but not effective)
|
|
66
|
+
* @param type - The type of price modification
|
|
67
|
+
* @returns The default value as string
|
|
68
|
+
*/
|
|
69
|
+
export declare const getDefaultValue: (type: PriceType) => string;
|
|
70
|
+
/**
|
|
71
|
+
* Checks if a value is the default value for its type
|
|
72
|
+
* @param value - The value to check
|
|
73
|
+
* @param type - The type of price modification
|
|
74
|
+
* @returns True if the value is the default value for its type
|
|
75
|
+
*/
|
|
76
|
+
export declare const isDefaultValue: (value: string, type: PriceType) => boolean;
|
|
77
|
+
//# sourceMappingURL=priceFactorHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceFactorHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,2DAA2D;AAC3D,MAAM,WAAW,UAAU;IACzB,gDAAgD;IAChD,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,UAAU,EAAE,CAAC;CACxB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,EAAE,QAAQ,SAAS,UAAU,MAAM,KAAG,MASnF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAItE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAIxE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,SAAS,KAAG,OAI7D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,SAAS,KAAG,OAGjE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,SAAU,SAAS,KAAG,MAEjD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,QAAQ,SAAS,KAAG,OAE/D,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PriceType, PriceEntry } from './priceFactorHelpers';
|
|
2
|
+
interface UseFactorProps {
|
|
3
|
+
data: any;
|
|
4
|
+
initialValue?: number[] | null;
|
|
5
|
+
onSave: (data: any, value: number[]) => Promise<void>;
|
|
6
|
+
onRefreshCell: () => void;
|
|
7
|
+
}
|
|
8
|
+
interface UseFactorReturn {
|
|
9
|
+
type: PriceType;
|
|
10
|
+
entries: PriceEntry[];
|
|
11
|
+
isModalOpen: boolean;
|
|
12
|
+
handleModalOpen: () => void;
|
|
13
|
+
handleModalClose: () => void;
|
|
14
|
+
handleTypeChange: (newType: PriceType) => void;
|
|
15
|
+
handleAddEntry: () => void;
|
|
16
|
+
handleRemoveEntry: (index: number) => void;
|
|
17
|
+
handleEntryValueChange: (index: number, displayValue: string) => void;
|
|
18
|
+
handleSave: () => Promise<void>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Custom hook to manage price factor state and logic
|
|
22
|
+
* @param props - Hook configuration
|
|
23
|
+
* @param props.data - Data of the row
|
|
24
|
+
* @param props.initialValue - Initial array of values
|
|
25
|
+
* @param props.onSave - Callback to save values
|
|
26
|
+
* @param props.onRefreshCell - Callback to refresh the cell after save
|
|
27
|
+
*/
|
|
28
|
+
export declare function usePriceFactor({ data, initialValue, onSave, onRefreshCell }: UseFactorProps): UseFactorReturn;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=usePriceFactor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePriceFactor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EAOX,MAAM,sBAAsB,CAAC;AAE9B,UAAU,cAAc;IACtB,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,GAAG,eAAe,CAkIlH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMEnricherEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMEnricherEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAKzD,UAAU,KAAK;IACb,aAAa,EAAE,8BAA8B,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAEhG,QAAA,MAAM,gBAAgB,yBAErB,CAAC;AACF,QAAA,MAAM,kBAAkB,yBAEvB,CAAC;AAEF,QAAA,MAAM,gCAAgC,yBAErC,CAAC;AAEF,QAAA,MAAM,qBAAqB,yBAE1B,CAAC;AAEF,QAAA,MAAM,wBAAwB,yBAE7B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,CAAC;AAEnI,QAAA,MAAM,gBAAgB,qBAAsB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAEhG,QAAA,MAAM,gBAAgB,yBAErB,CAAC;AACF,QAAA,MAAM,kBAAkB,yBAEvB,CAAC;AAEF,QAAA,MAAM,gCAAgC,yBAErC,CAAC;AAEF,QAAA,MAAM,qBAAqB,yBAE1B,CAAC;AAEF,QAAA,MAAM,wBAAwB,yBAE7B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gCAAgC,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,CAAC;AAEnI,QAAA,MAAM,gBAAgB,qBAAsB,KAAK,sBAwHhD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +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;AAYvE,MAAM,CAAC,OAAO,gCAqQb"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAmBvC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAE,CAAC;AAE7G,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,QAAA,MAAM,kBAAkB,yBAEvB,CAAC;AACF,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,QAAA,MAAM,YAAY,yBAEjB,CAAC;AAEF,QAAA,MAAM,cAAc,yBAEnB,CAAC;AAEF,QAAA,MAAM,aAAa,yBAElB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AAE7G,QAAA,MAAM,aAAa,qBAAsB,KAAK,sBA4H7C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMEnricherEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMEnricherEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCAkM5B,MAAM,YAAW,MAAM,EAAE;;;;EAqC7C"}
|
|
@@ -3,7 +3,7 @@ export default function ({ apiInterface, selectMapping, apiMapping, onChange, va
|
|
|
3
3
|
loading: boolean;
|
|
4
4
|
options: Option[] | undefined;
|
|
5
5
|
value: string | number | (string | number | null | undefined)[] | null | undefined;
|
|
6
|
-
onChange: (value: any, option: Option | Option[]) => void;
|
|
6
|
+
onChange: (value: any, option: Option | Option[] | undefined) => void;
|
|
7
7
|
onClear: () => void;
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=useSelectSimpleData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectSimpleData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/SelectSimple/useSelectSimpleData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAiB,MAAM,SAAS,CAAC;AAMvE,MAAM,CAAC,OAAO,WAAW,EACvB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EAAE,iBAAiB,EAC1B,eAAe,GAChB,EAAE,qBAAqB;;;;sBAwDa,GAAG,UAAU,MAAM,GAAG,MAAM,EAAE;;
|
|
1
|
+
{"version":3,"file":"useSelectSimpleData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/SelectSimple/useSelectSimpleData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAiB,MAAM,SAAS,CAAC;AAMvE,MAAM,CAAC,OAAO,WAAW,EACvB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EAAE,iBAAiB,EAC1B,eAAe,GAChB,EAAE,qBAAqB;;;;sBAwDa,GAAG,UAAU,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;;EAiB9E"}
|
|
@@ -20,35 +20,16 @@ export default function ({ data, filters, sorter, pagination, filterServerSide }
|
|
|
20
20
|
role?: string;
|
|
21
21
|
totalBoundaryShowSizeChanger?: number;
|
|
22
22
|
rootClassName?: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
className?: string | undefined;
|
|
28
|
-
selectPrefixCls?: string | undefined;
|
|
29
|
-
prefixCls?: string | undefined;
|
|
30
|
-
pageSizeOptions?: string[] | number[] | undefined;
|
|
23
|
+
showSizeChanger?: boolean | import("antd").SelectProps;
|
|
24
|
+
selectComponentClass?: any;
|
|
25
|
+
pageSizeOptions?: (string | number)[];
|
|
26
|
+
style?: import("react").CSSProperties | undefined;
|
|
31
27
|
current?: number | undefined;
|
|
32
|
-
defaultCurrent?: number | undefined;
|
|
33
|
-
pageSize?: number | undefined;
|
|
34
|
-
defaultPageSize?: number | undefined;
|
|
35
|
-
hideOnSinglePage?: boolean | undefined;
|
|
36
|
-
align?: "start" | "end" | "center" | undefined;
|
|
37
|
-
showSizeChanger?: boolean | undefined;
|
|
38
|
-
showLessItems?: boolean | undefined;
|
|
39
|
-
showPrevNextJumpers?: boolean | undefined;
|
|
40
|
-
showTitle?: boolean | undefined;
|
|
41
28
|
simple?: boolean | {
|
|
42
29
|
readOnly?: boolean;
|
|
43
30
|
} | undefined;
|
|
31
|
+
className?: string | undefined;
|
|
44
32
|
disabled?: boolean | undefined;
|
|
45
|
-
locale?: import("rc-pagination").PaginationLocale | undefined;
|
|
46
|
-
style?: import("react").CSSProperties | undefined;
|
|
47
|
-
selectComponentClass?: import("react").ComponentType<{}> | undefined;
|
|
48
|
-
prevIcon?: React.ComponentType | React.ReactNode;
|
|
49
|
-
nextIcon?: React.ComponentType | React.ReactNode;
|
|
50
|
-
jumpPrevIcon?: React.ComponentType | React.ReactNode;
|
|
51
|
-
jumpNextIcon?: React.ComponentType | React.ReactNode;
|
|
52
33
|
"aria-activedescendant"?: string | undefined;
|
|
53
34
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
54
35
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -102,6 +83,26 @@ export default function ({ data, filters, sorter, pagination, filterServerSide }
|
|
|
102
83
|
"aria-valuemin"?: number | undefined;
|
|
103
84
|
"aria-valuenow"?: number | undefined;
|
|
104
85
|
"aria-valuetext"?: string | undefined;
|
|
86
|
+
onChange?: (page: number, pageSize: number) => void;
|
|
87
|
+
align?: "start" | "end" | "center" | undefined;
|
|
88
|
+
pageSize?: number | undefined;
|
|
89
|
+
selectPrefixCls?: string | undefined;
|
|
90
|
+
prefixCls?: string | undefined;
|
|
91
|
+
defaultCurrent?: number | undefined;
|
|
92
|
+
defaultPageSize?: number | undefined;
|
|
93
|
+
hideOnSinglePage?: boolean | undefined;
|
|
94
|
+
sizeChangerRender?: import("rc-pagination/lib/Options").SizeChangerRender;
|
|
95
|
+
showLessItems?: boolean | undefined;
|
|
96
|
+
showPrevNextJumpers?: boolean | undefined;
|
|
97
|
+
showTitle?: boolean | undefined;
|
|
98
|
+
locale?: import("rc-pagination").PaginationLocale | undefined;
|
|
99
|
+
prevIcon?: React.ComponentType | React.ReactNode;
|
|
100
|
+
nextIcon?: React.ComponentType | React.ReactNode;
|
|
101
|
+
jumpPrevIcon?: React.ComponentType | React.ReactNode;
|
|
102
|
+
jumpNextIcon?: React.ComponentType | React.ReactNode;
|
|
103
|
+
onShowSizeChange?: (current: number, size: number) => void;
|
|
104
|
+
itemRender?: (page: number, type: "page" | "prev" | "next" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
|
|
105
|
+
showTotal?: (total: number, range: [number, number]) => React.ReactNode;
|
|
105
106
|
};
|
|
106
107
|
};
|
|
107
108
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyFilterAndSortation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/applyFilterAndSortation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAItG,UAAU,KAAK,CAAC,CAAC,GAAG,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,KAAK,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,KAAK;;;;;;
|
|
1
|
+
{"version":3,"file":"applyFilterAndSortation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/applyFilterAndSortation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAItG,UAAU,KAAK,CAAC,CAAC,GAAG,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,KAAK,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,KAAK;;;;;;oBAL3E,CAAC,EAAC,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAyBoC,MAChE,aAAW,GAAE,MAAO,SAAS;mBAE7B,MAAI,aAAa,GAAE,MAAO,SACrB;uBACO,MAAO,aAAa,GAAE,MAAO,SAAS;uBAAmB,MAAQ,aAAY,GAAE,MACzF,SAAS;;yGAekB,MAAO,SAClC,KAAI,MAAO,SAAS;gEAGb,MAAQ,SAAQ;;EAlC1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.2.0-beta.10",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.4.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "25.
|
|
19
|
-
"@crystaldesign/content-item": "25.
|
|
20
|
-
"@crystaldesign/diva-core": "25.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.
|
|
22
|
-
"@crystaldesign/media-upload": "25.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.
|
|
18
|
+
"@crystaldesign/content-box": "25.2.0-beta.10",
|
|
19
|
+
"@crystaldesign/content-item": "25.2.0-beta.10",
|
|
20
|
+
"@crystaldesign/diva-core": "25.2.0-beta.10",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.2.0-beta.10",
|
|
22
|
+
"@crystaldesign/media-upload": "25.2.0-beta.10",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.2.0-beta.10",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.2.0-beta.10",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
28
|
-
"antd": "5.
|
|
28
|
+
"antd": "5.23.2",
|
|
29
29
|
"csv": "6.3.6",
|
|
30
30
|
"fast-json-patch": "^3.1.0",
|
|
31
31
|
"fast-sort": "^3.4.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
},
|
|
52
52
|
"module": "build/esm/index.js",
|
|
53
53
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "51cda0ed15c935f8843fd98373fdf348dd5ed6e8"
|
|
55
55
|
}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PackageSelector/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function PackageSelector({ selectedPackage, setSelectedPackage, enricherService, organizationId, }: {
|
|
3
|
-
selectedPackage: string | undefined;
|
|
4
|
-
setSelectedPackage: (id: string) => void;
|
|
5
|
-
enricherService: string;
|
|
6
|
-
organizationId: string;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PackageSelector/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PackageSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,GACf,EAAE;IACD,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;CACxB,qBA0BA"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelector/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default function ({ type, packageId, selectedSerie, setSelectedSerie, selectedFeature, setSelectedFeature, enricherService, dataSet, }: {
|
|
3
|
-
type: string;
|
|
4
|
-
packageId: string;
|
|
5
|
-
selectedSerie: any;
|
|
6
|
-
setSelectedSerie: (value: any) => void;
|
|
7
|
-
selectedFeature: any;
|
|
8
|
-
setSelectedFeature: (value: any) => void;
|
|
9
|
-
enricherService: string;
|
|
10
|
-
dataSet: 'lookup' | 'exclusivities';
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelector/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelector/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,OAAO,GACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAgB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,GAAG,CAAC;IACrB,kBAAkB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;CACrC,qBA+CA"}
|