@crystaldesign/diva-backoffice 24.14.0-beta.19 → 24.14.0-beta.20
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 +43 -16
- 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/TableItems/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -31760,10 +31760,16 @@ function TableCatalogs () {
|
|
|
31760
31760
|
1: t('backoffice.idmCatalog.general.label.formOfAddress.f1'),
|
|
31761
31761
|
2: t('backoffice.idmCatalog.general.label.formOfAddress.f2')
|
|
31762
31762
|
};
|
|
31763
|
+
var formOfAddressKeys = Object.keys(formOfAddressDic).map(function (key) {
|
|
31764
|
+
return parseInt(key);
|
|
31765
|
+
});
|
|
31763
31766
|
var priceDependentDic = {
|
|
31764
31767
|
0: t('backoffice.idmCatalog.general.label.priceDependent.p0'),
|
|
31765
31768
|
1: t('backoffice.idmCatalog.general.label.priceDependent.p1')
|
|
31766
31769
|
};
|
|
31770
|
+
var priceDependentKeys = Object.keys(priceDependentDic).map(function (key) {
|
|
31771
|
+
return parseInt(key);
|
|
31772
|
+
});
|
|
31767
31773
|
var unitDic = {
|
|
31768
31774
|
0: t('backoffice.idmCatalog.general.label.unit.u0'),
|
|
31769
31775
|
1: t('backoffice.idmCatalog.general.label.unit.u1'),
|
|
@@ -31773,6 +31779,9 @@ function TableCatalogs () {
|
|
|
31773
31779
|
1000000: t('backoffice.idmCatalog.general.label.unit.1u000000'),
|
|
31774
31780
|
1000000000: t('backoffice.idmCatalog.general.label.unit.u1000000000')
|
|
31775
31781
|
};
|
|
31782
|
+
var unitKeys = Object.keys(unitDic).map(function (key) {
|
|
31783
|
+
return parseInt(key);
|
|
31784
|
+
});
|
|
31776
31785
|
var roundingTypeDic = {
|
|
31777
31786
|
1: t('backoffice.idmCatalog.general.label.roundingType.r1'),
|
|
31778
31787
|
2: t('backoffice.idmCatalog.general.label.roundingType.r2'),
|
|
@@ -31994,7 +32003,9 @@ function TableCatalogs () {
|
|
|
31994
32003
|
field: 'isoCountryId'
|
|
31995
32004
|
}, {
|
|
31996
32005
|
field: 'glnNo',
|
|
31997
|
-
headerName: 'backoffice.idmCatalog.general.label.glnNo'
|
|
32006
|
+
headerName: 'backoffice.idmCatalog.general.label.glnNo',
|
|
32007
|
+
cellDataType: 'number',
|
|
32008
|
+
regex: '[0-9]{13}'
|
|
31998
32009
|
}, {
|
|
31999
32010
|
field: 'weeeNo',
|
|
32000
32011
|
headerName: 'backoffice.idmCatalog.general.label.weeeNo'
|
|
@@ -32006,7 +32017,8 @@ function TableCatalogs () {
|
|
|
32006
32017
|
field: 'manufacturerName2'
|
|
32007
32018
|
}, {
|
|
32008
32019
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
32009
|
-
field: 'email'
|
|
32020
|
+
field: 'email',
|
|
32021
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
32010
32022
|
}, {
|
|
32011
32023
|
headerName: 'backoffice.idmCatalog.general.label.internetAddress',
|
|
32012
32024
|
field: 'internetAddress'
|
|
@@ -32021,10 +32033,14 @@ function TableCatalogs () {
|
|
|
32021
32033
|
field: 'city'
|
|
32022
32034
|
}, {
|
|
32023
32035
|
headerName: 'backoffice.idmCatalog.general.label.zipCodePostBox',
|
|
32024
|
-
field: 'zipCodePostBox'
|
|
32036
|
+
field: 'zipCodePostBox',
|
|
32037
|
+
customParams: {
|
|
32038
|
+
maxLength: 8
|
|
32039
|
+
}
|
|
32025
32040
|
}, {
|
|
32026
32041
|
headerName: 'backoffice.idmCatalog.general.label.postBox',
|
|
32027
|
-
field: 'postBox'
|
|
32042
|
+
field: 'postBox',
|
|
32043
|
+
regex: '[0-9a-zA-Z]{0,10}'
|
|
32028
32044
|
}, {
|
|
32029
32045
|
headerName: 'backoffice.idmCatalog.general.label.telephoneSwitchBoard',
|
|
32030
32046
|
field: 'telephoneSwitchBoard'
|
|
@@ -32052,7 +32068,7 @@ function TableCatalogs () {
|
|
|
32052
32068
|
cellDataType: 'enum',
|
|
32053
32069
|
customParams: {
|
|
32054
32070
|
displayTexts: formOfAddressDic,
|
|
32055
|
-
values:
|
|
32071
|
+
values: formOfAddressKeys,
|
|
32056
32072
|
displayLabelTemplate: '${name} (${value})'
|
|
32057
32073
|
}
|
|
32058
32074
|
}, {
|
|
@@ -32066,7 +32082,8 @@ function TableCatalogs () {
|
|
|
32066
32082
|
field: 'fax1'
|
|
32067
32083
|
}, {
|
|
32068
32084
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
32069
|
-
field: 'email1'
|
|
32085
|
+
field: 'email1',
|
|
32086
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
32070
32087
|
}, {
|
|
32071
32088
|
headerName: 'backoffice.idmCatalog.general.label.street',
|
|
32072
32089
|
field: 'street1'
|
|
@@ -32097,7 +32114,7 @@ function TableCatalogs () {
|
|
|
32097
32114
|
cellDataType: 'enum',
|
|
32098
32115
|
customParams: {
|
|
32099
32116
|
displayTexts: formOfAddressDic,
|
|
32100
|
-
values:
|
|
32117
|
+
values: formOfAddressKeys,
|
|
32101
32118
|
displayLabelTemplate: '${name} (${value})'
|
|
32102
32119
|
}
|
|
32103
32120
|
}, {
|
|
@@ -32111,7 +32128,8 @@ function TableCatalogs () {
|
|
|
32111
32128
|
field: 'fax2'
|
|
32112
32129
|
}, {
|
|
32113
32130
|
headerName: 'backoffice.idmCatalog.general.label.email',
|
|
32114
|
-
field: 'email2'
|
|
32131
|
+
field: 'email2',
|
|
32132
|
+
regex: "[a-zA-Z0-9._%+\\-!#$%'*/=?^_`{|}~]+@[a-zA-Z0-9.\\-]+\\.[a-zA-Z]{2,}"
|
|
32115
32133
|
}, {
|
|
32116
32134
|
headerName: 'backoffice.idmCatalog.general.label.street',
|
|
32117
32135
|
field: 'street2'
|
|
@@ -32137,7 +32155,7 @@ function TableCatalogs () {
|
|
|
32137
32155
|
cellDataType: 'enum',
|
|
32138
32156
|
customParams: {
|
|
32139
32157
|
displayTexts: priceDependentDic,
|
|
32140
|
-
values:
|
|
32158
|
+
values: priceDependentKeys,
|
|
32141
32159
|
displayLabelTemplate: '${name} (${value})'
|
|
32142
32160
|
}
|
|
32143
32161
|
}, {
|
|
@@ -32146,7 +32164,7 @@ function TableCatalogs () {
|
|
|
32146
32164
|
cellDataType: 'enum',
|
|
32147
32165
|
customParams: {
|
|
32148
32166
|
displayTexts: priceDependentDic,
|
|
32149
|
-
values:
|
|
32167
|
+
values: priceDependentKeys,
|
|
32150
32168
|
displayLabelTemplate: '${name} (${value})'
|
|
32151
32169
|
}
|
|
32152
32170
|
}, {
|
|
@@ -32155,7 +32173,7 @@ function TableCatalogs () {
|
|
|
32155
32173
|
cellDataType: 'enum',
|
|
32156
32174
|
customParams: {
|
|
32157
32175
|
displayTexts: priceDependentDic,
|
|
32158
|
-
values:
|
|
32176
|
+
values: priceDependentKeys,
|
|
32159
32177
|
displayLabelTemplate: '${name} (${value})'
|
|
32160
32178
|
}
|
|
32161
32179
|
}, {
|
|
@@ -32164,7 +32182,7 @@ function TableCatalogs () {
|
|
|
32164
32182
|
cellDataType: 'enum',
|
|
32165
32183
|
customParams: {
|
|
32166
32184
|
displayTexts: unitDic,
|
|
32167
|
-
values:
|
|
32185
|
+
values: unitKeys,
|
|
32168
32186
|
displayLabelTemplate: '${name} (${value})'
|
|
32169
32187
|
}
|
|
32170
32188
|
}, {
|
|
@@ -32173,7 +32191,7 @@ function TableCatalogs () {
|
|
|
32173
32191
|
cellDataType: 'enum',
|
|
32174
32192
|
customParams: {
|
|
32175
32193
|
displayTexts: unitDic,
|
|
32176
|
-
values:
|
|
32194
|
+
values: unitKeys,
|
|
32177
32195
|
displayLabelTemplate: '${name} (${value})'
|
|
32178
32196
|
}
|
|
32179
32197
|
}, {
|
|
@@ -32471,6 +32489,9 @@ function TableItems () {
|
|
|
32471
32489
|
25: t('backoffice.idmCatalogEditor.items.label.metrage'),
|
|
32472
32490
|
26: t('backoffice.idmCatalogEditor.items.label.sonstiges')
|
|
32473
32491
|
};
|
|
32492
|
+
var typeKeyKeys = Object.keys(typeKeyDic).map(function (key) {
|
|
32493
|
+
return parseInt(key);
|
|
32494
|
+
});
|
|
32474
32495
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
32475
32496
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
32476
32497
|
title: /*#__PURE__*/jsxs("div", {
|
|
@@ -32598,7 +32619,7 @@ function TableItems () {
|
|
|
32598
32619
|
cellDataType: 'enum',
|
|
32599
32620
|
customParams: {
|
|
32600
32621
|
displayTexts: typeKeyDic,
|
|
32601
|
-
values:
|
|
32622
|
+
values: typeKeyKeys,
|
|
32602
32623
|
displayLabelTemplate: '${name} (${value})'
|
|
32603
32624
|
},
|
|
32604
32625
|
required: true
|
|
@@ -32773,6 +32794,9 @@ function TableSeries () {
|
|
|
32773
32794
|
2: t('backoffice.idmCatalog.series.label.purchaseRetail.p2'),
|
|
32774
32795
|
3: t('backoffice.idmCatalog.series.label.purchaseRetail.p3')
|
|
32775
32796
|
};
|
|
32797
|
+
var purchaseRetailIdKeys = Object.keys(purchaseRetailIdDic).map(function (key) {
|
|
32798
|
+
return parseInt(key);
|
|
32799
|
+
});
|
|
32776
32800
|
var applicationData = useMemo(function () {
|
|
32777
32801
|
return {
|
|
32778
32802
|
catalogId: catalogId,
|
|
@@ -32845,7 +32869,7 @@ function TableSeries () {
|
|
|
32845
32869
|
cellDataType: 'enum',
|
|
32846
32870
|
customParams: {
|
|
32847
32871
|
displayTexts: purchaseRetailIdDic,
|
|
32848
|
-
values:
|
|
32872
|
+
values: purchaseRetailIdKeys,
|
|
32849
32873
|
displayLabelTemplate: '${name} (${value})'
|
|
32850
32874
|
}
|
|
32851
32875
|
}, {
|
|
@@ -33388,6 +33412,9 @@ function TableDecisions () {
|
|
|
33388
33412
|
2: t('backoffice.idmCatalog.decisions.label.type.d2'),
|
|
33389
33413
|
3: t('backoffice.idmCatalog.decisions.label.type.d3')
|
|
33390
33414
|
};
|
|
33415
|
+
var decisionKeys = Object.keys(decisionTypeDic).map(function (key) {
|
|
33416
|
+
return parseInt(key);
|
|
33417
|
+
});
|
|
33391
33418
|
var applicationData = useMemo(function () {
|
|
33392
33419
|
return {
|
|
33393
33420
|
catalogId: catalogId,
|
|
@@ -33463,7 +33490,7 @@ function TableDecisions () {
|
|
|
33463
33490
|
cellDataType: 'enum',
|
|
33464
33491
|
customParams: {
|
|
33465
33492
|
displayTexts: decisionTypeDic,
|
|
33466
|
-
values:
|
|
33493
|
+
values: decisionKeys,
|
|
33467
33494
|
displayLabelTemplate: '${name} (${value})'
|
|
33468
33495
|
}
|
|
33469
33496
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAQlD,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAQlD,MAAM,CAAC,OAAO,gCA+mBb"}
|
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,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDecisions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAyKb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,CAAC,OAAO,gCAgYb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAyMb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.14.0-beta.
|
|
3
|
+
"version": "24.14.0-beta.20",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.4.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "24.14.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "24.14.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "24.14.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "24.14.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "24.14.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "24.14.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "24.14.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "24.14.0-beta.20",
|
|
19
|
+
"@crystaldesign/content-item": "24.14.0-beta.20",
|
|
20
|
+
"@crystaldesign/diva-core": "24.14.0-beta.20",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.14.0-beta.20",
|
|
22
|
+
"@crystaldesign/media-upload": "24.14.0-beta.20",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.14.0-beta.20",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.14.0-beta.20",
|
|
25
25
|
"@google/model-viewer": "3.5.0",
|
|
26
26
|
"ag-charts-community": "^10.1.0",
|
|
27
27
|
"ag-charts-react": "^10.1.0",
|
|
@@ -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": "a39588b0fb5aa6c7c3e57fddf1eca0855ae26d88"
|
|
55
55
|
}
|