@crystaldesign/diva-backoffice 24.12.0-rc.9 → 24.13.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 +236 -167
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts +7 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/BaseTable/cellRenderer/StringCell/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/StandardTable/useTableData.d.ts.map +1 -1
- package/build/types/backoffice/src/utils/parseServersideFilters.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -121,7 +121,7 @@ import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructurin
|
|
|
121
121
|
import Descriptions$1 from 'antd/es/descriptions';
|
|
122
122
|
import { Spreadsheet as Spreadsheet$1 } from '@crystaldesign/spreadsheet';
|
|
123
123
|
import EditOutlined from '@ant-design/icons/lib/icons/EditOutlined';
|
|
124
|
-
import
|
|
124
|
+
import Checkbox$1 from 'antd/es/checkbox/Checkbox';
|
|
125
125
|
import Switch$1 from 'antd/es/switch';
|
|
126
126
|
import Layout$1 from 'antd/es/layout';
|
|
127
127
|
import Menu from 'antd/es/menu';
|
|
@@ -356,7 +356,6 @@ function useFullTextSearch(filters) {
|
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
function parseFilter(filters, prefilter) {
|
|
359
|
-
var _prefilter, _prefilter2;
|
|
360
359
|
var ors = [];
|
|
361
360
|
var ands = [];
|
|
362
361
|
var res = '';
|
|
@@ -374,23 +373,21 @@ function parseFilter(filters, prefilter) {
|
|
|
374
373
|
ands.push([field, [values[i], values[i + 1]]]);
|
|
375
374
|
}
|
|
376
375
|
} else {
|
|
377
|
-
//filter[1][2]; // [field, [value, operator, or?]]
|
|
378
|
-
|
|
379
|
-
//then the array can contain more than 3 values and the last value is the 'in'-operator.
|
|
380
|
-
//The 'or'-flag is either a boolean, or a number. If it is a number it defines to which 'or'-group the filter belongs.
|
|
376
|
+
var or = values[2]; //filter[1][2]; // [field, [value, operator, or?]]
|
|
377
|
+
var index = or === true || or === 0 ? false : or;
|
|
381
378
|
var inFilter = values[values.length - 1] === 'in';
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
while (ors.length <= orIndex) {
|
|
389
|
-
ors.push([]);
|
|
379
|
+
if (index == undefined || index === false || inFilter) {
|
|
380
|
+
if (inFilter) {
|
|
381
|
+
var inValues = values.slice(0, values.length - 1);
|
|
382
|
+
ands.push([field, [inValues, 'in']]);
|
|
383
|
+
} else {
|
|
384
|
+
ands.push(filter);
|
|
390
385
|
}
|
|
391
|
-
ors[orIndex].push(filter);
|
|
392
386
|
} else {
|
|
393
|
-
|
|
387
|
+
while (ors.length <= index) {
|
|
388
|
+
ors.push([]);
|
|
389
|
+
}
|
|
390
|
+
ors[index].push(filter);
|
|
394
391
|
}
|
|
395
392
|
}
|
|
396
393
|
});
|
|
@@ -425,18 +422,14 @@ function parseFilter(filters, prefilter) {
|
|
|
425
422
|
return "{".concat(field, ",").concat(type, ",").concat(value, "}");
|
|
426
423
|
}).join(','));
|
|
427
424
|
}
|
|
428
|
-
|
|
429
|
-
//remove enclosing brackets so it can be added to the existing filter
|
|
430
|
-
if ((_prefilter = prefilter) !== null && _prefilter !== void 0 && _prefilter.startsWith('[') && (_prefilter2 = prefilter) !== null && _prefilter2 !== void 0 && _prefilter2.endsWith(']')) {
|
|
431
|
-
prefilter = prefilter.slice(1, -1);
|
|
432
|
-
}
|
|
433
425
|
if (prefilter && res) {
|
|
434
|
-
|
|
435
|
-
}
|
|
436
|
-
|
|
426
|
+
return '[' + res + ',' + prefilter + ']';
|
|
427
|
+
}
|
|
428
|
+
if (prefilter) {
|
|
429
|
+
return '[' + prefilter + ']';
|
|
437
430
|
}
|
|
438
431
|
if (res) {
|
|
439
|
-
|
|
432
|
+
return '[' + res + ']';
|
|
440
433
|
}
|
|
441
434
|
return res;
|
|
442
435
|
}
|
|
@@ -2540,7 +2533,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
2540
2533
|
TableTaskStatusVersioning: {
|
|
2541
2534
|
type: 'Table',
|
|
2542
2535
|
canRefresh: true,
|
|
2543
|
-
autoRefresh: 60000,
|
|
2544
2536
|
title: t('backoffice.table.taskstatusversioning.title.taskstatusversioninglist'),
|
|
2545
2537
|
columns: [{
|
|
2546
2538
|
title: 'ID',
|
|
@@ -2706,7 +2698,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
2706
2698
|
TableTaskStatusCustom: {
|
|
2707
2699
|
type: 'Table',
|
|
2708
2700
|
canRefresh: true,
|
|
2709
|
-
autoRefresh: 60000,
|
|
2710
2701
|
title: t('backoffice.table.taskstatusversioning.title.taskstatuscustom'),
|
|
2711
2702
|
columns: [{
|
|
2712
2703
|
title: 'ID',
|
|
@@ -2839,7 +2830,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
2839
2830
|
},
|
|
2840
2831
|
apiInterface: {
|
|
2841
2832
|
read: {
|
|
2842
|
-
list: '${adminService}/taskStatus?filter=%5B%2B%5B%7BtaskType%2Ceq%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Ceq%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Ceq%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Ceq%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Ceq%2CSAP_AUSP%7D%2C%7BtaskType%2Ceq%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Ceq%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Ceq%
|
|
2833
|
+
list: '${adminService}/taskStatus?filter=%5B%2B%5B%7BtaskType%2Ceq%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Ceq%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Ceq%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Ceq%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Ceq%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Ceq%2CSAP_AUSP%7D%2C%7BtaskType%2Ceq%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Ceq%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Ceq%2CPIM_GET_CLASSIFICATION%7D%5D%5D',
|
|
2843
2834
|
fields: true,
|
|
2844
2835
|
filterServerSide: true
|
|
2845
2836
|
}
|
|
@@ -2863,7 +2854,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
2863
2854
|
TableTaskStatusCronJobs: {
|
|
2864
2855
|
type: 'Table',
|
|
2865
2856
|
canRefresh: true,
|
|
2866
|
-
autoRefresh: 60000,
|
|
2867
2857
|
title: t('backoffice.table.taskstatusversioning.title.taskstatusversioninglist'),
|
|
2868
2858
|
columns: [{
|
|
2869
2859
|
title: 'ID',
|
|
@@ -3021,7 +3011,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3021
3011
|
TableTaskStatusOthers: {
|
|
3022
3012
|
type: 'Table',
|
|
3023
3013
|
canRefresh: true,
|
|
3024
|
-
autoRefresh: 60000,
|
|
3025
3014
|
title: t('backoffice.table.taskstatusversioning.title.taskstatusothers'),
|
|
3026
3015
|
columns: [{
|
|
3027
3016
|
title: 'ID',
|
|
@@ -3154,7 +3143,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3154
3143
|
},
|
|
3155
3144
|
apiInterface: {
|
|
3156
3145
|
read: {
|
|
3157
|
-
list: '${adminService}/taskStatus?filter=%5B%7BtaskType%2Cne%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Cne%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Cne%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Cne%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Cne%2CSAP_AUSP%7D%2C%7BtaskType%2Cne%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Cne%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Cne%2CCRON%7D%2C%7BtaskType%2Cne%2CRETAIL_VERSIONING%7D%2C%7BtaskType%2Cne%2CSUPPLIER_VERSIONING%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_EXPORT%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_IMPORT%7D%2C%7BtaskType%2Cne%
|
|
3146
|
+
list: '${adminService}/taskStatus?filter=%5B%7BtaskType%2Cne%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Cne%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Cne%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Cne%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Cne%2CSAP_AUSP%7D%2C%7BtaskType%2Cne%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Cne%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Cne%2CCRON%7D%2C%7BtaskType%2Cne%2CRETAIL_VERSIONING%7D%2C%7BtaskType%2Cne%2CSUPPLIER_VERSIONING%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_EXPORT%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_IMPORT%7D%2C%7BtaskType%2Cne%2CPIM_GET_CLASSIFICATION%7D%5D',
|
|
3158
3147
|
fields: true,
|
|
3159
3148
|
filterServerSide: true
|
|
3160
3149
|
}
|
|
@@ -7820,6 +7809,25 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
7820
7809
|
hidden: function hidden(data) {
|
|
7821
7810
|
return (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER' && (data === null || data === void 0 ? void 0 : data.type) === undefined;
|
|
7822
7811
|
}
|
|
7812
|
+
}, {
|
|
7813
|
+
name: ['settings', 'automaticVersioning'],
|
|
7814
|
+
label: t('backoffice.form.organizationdetails.items.automaticversioning'),
|
|
7815
|
+
permission: 'backoffice_admin_organizations',
|
|
7816
|
+
hidden: function hidden(data) {
|
|
7817
|
+
return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'ASSOCIATION';
|
|
7818
|
+
},
|
|
7819
|
+
type: 'radio',
|
|
7820
|
+
optionType: 'button',
|
|
7821
|
+
options: [{
|
|
7822
|
+
label: t('backoffice.form.organizationdetails.items.na'),
|
|
7823
|
+
value: undefined
|
|
7824
|
+
}, {
|
|
7825
|
+
label: t('backoffice.form.organizationdetails.items.ja'),
|
|
7826
|
+
value: true
|
|
7827
|
+
}, {
|
|
7828
|
+
label: t('backoffice.form.organizationdetails.items.nein'),
|
|
7829
|
+
value: false
|
|
7830
|
+
}]
|
|
7823
7831
|
}, {
|
|
7824
7832
|
name: ['api2Location', 'vk'],
|
|
7825
7833
|
label: t('backoffice.form.organizationdetails.items.api2Location.vk'),
|
|
@@ -17099,7 +17107,7 @@ var customSelect = "custom-select-ESUJX";
|
|
|
17099
17107
|
var customSelectOption = "custom-select-option-dUA7N";
|
|
17100
17108
|
var avatarWrapper = "avatar-wrapper-Vg-xe";
|
|
17101
17109
|
var selectTextWrapper = "select-text-wrapper-hPSZW";
|
|
17102
|
-
var css_248z$l = ".custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-option-dUA7N
|
|
17110
|
+
var css_248z$l = ".custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-option-dUA7N {\n margin: 0px 12px;\n padding: 5px 0px;\n border-bottom: 1px solid #ddd;\n}\n\n.avatar-wrapper-Vg-xe {\n margin-right: 5px;\n height: 30px;\n width: 24px;\n float: left;\n position: relative;\n}\n\n.avatar-wrapper-Vg-xe > span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.select-text-wrapper-hPSZW {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n width: calc(100% - 29px);\n}\n";
|
|
17103
17111
|
styleInject(css_248z$l);
|
|
17104
17112
|
|
|
17105
17113
|
var Selector = function Selector(_ref) {
|
|
@@ -23442,38 +23450,6 @@ function StringCell (_ref) {
|
|
|
23442
23450
|
var form = useContext(EditableContext);
|
|
23443
23451
|
var _useTranslation = useTranslation(),
|
|
23444
23452
|
t = _useTranslation.t;
|
|
23445
|
-
var _useState3 = useState(undefined),
|
|
23446
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
23447
|
-
color = _useState4[0],
|
|
23448
|
-
setColor = _useState4[1];
|
|
23449
|
-
useEffect(function () {
|
|
23450
|
-
if (column.color && record) {
|
|
23451
|
-
var returnValue = '';
|
|
23452
|
-
var _iterator = _createForOfIteratorHelper$7(column.color),
|
|
23453
|
-
_step;
|
|
23454
|
-
try {
|
|
23455
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
23456
|
-
var col = _step.value;
|
|
23457
|
-
for (var idx = 0; idx < col.onValues.length; idx++) {
|
|
23458
|
-
var _col$fields, _col$operations, _col$onValues, _JSON$stringify;
|
|
23459
|
-
var field = (_col$fields = col.fields) === null || _col$fields === void 0 ? void 0 : _col$fields[idx];
|
|
23460
|
-
var operation = (_col$operations = col.operations) === null || _col$operations === void 0 ? void 0 : _col$operations[0];
|
|
23461
|
-
var onValue = (_col$onValues = col.onValues) === null || _col$onValues === void 0 ? void 0 : _col$onValues[idx];
|
|
23462
|
-
if (!field && operation === 'eq' && onValue === children[1]) {
|
|
23463
|
-
returnValue = col.color;
|
|
23464
|
-
} else if (field && operation === 'ct' && (_JSON$stringify = JSON.stringify(record[field])) !== null && _JSON$stringify !== void 0 && _JSON$stringify.includes(onValue)) {
|
|
23465
|
-
returnValue = col.color;
|
|
23466
|
-
}
|
|
23467
|
-
}
|
|
23468
|
-
}
|
|
23469
|
-
} catch (err) {
|
|
23470
|
-
_iterator.e(err);
|
|
23471
|
-
} finally {
|
|
23472
|
-
_iterator.f();
|
|
23473
|
-
}
|
|
23474
|
-
setColor(returnValue);
|
|
23475
|
-
}
|
|
23476
|
-
}, []);
|
|
23477
23453
|
useEffect(function () {
|
|
23478
23454
|
if (editing) {
|
|
23479
23455
|
inputRef.current.focus();
|
|
@@ -23553,7 +23529,7 @@ function StringCell (_ref) {
|
|
|
23553
23529
|
whiteSpace: 'nowrap',
|
|
23554
23530
|
overflow: 'hidden',
|
|
23555
23531
|
textOverflow: 'ellipsis',
|
|
23556
|
-
color:
|
|
23532
|
+
color: getColor(column, record, children[1]),
|
|
23557
23533
|
width: column.width,
|
|
23558
23534
|
paddingRight: 12
|
|
23559
23535
|
},
|
|
@@ -23562,6 +23538,33 @@ function StringCell (_ref) {
|
|
|
23562
23538
|
});
|
|
23563
23539
|
}
|
|
23564
23540
|
}
|
|
23541
|
+
function getColor(column, record, value) {
|
|
23542
|
+
if (column.color && record) {
|
|
23543
|
+
var _iterator = _createForOfIteratorHelper$7(column.color),
|
|
23544
|
+
_step;
|
|
23545
|
+
try {
|
|
23546
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
23547
|
+
var col = _step.value;
|
|
23548
|
+
for (var idx = 0; idx < col.onValues.length; idx++) {
|
|
23549
|
+
var _col$fields, _col$operations, _col$onValues, _JSON$stringify;
|
|
23550
|
+
var field = (_col$fields = col.fields) === null || _col$fields === void 0 ? void 0 : _col$fields[idx];
|
|
23551
|
+
var operation = (_col$operations = col.operations) === null || _col$operations === void 0 ? void 0 : _col$operations[0];
|
|
23552
|
+
var onValue = (_col$onValues = col.onValues) === null || _col$onValues === void 0 ? void 0 : _col$onValues[idx];
|
|
23553
|
+
if (!field && operation === 'eq' && onValue === value) {
|
|
23554
|
+
return col.color;
|
|
23555
|
+
} else if (field && operation === 'ct' && (_JSON$stringify = JSON.stringify(record[field])) !== null && _JSON$stringify !== void 0 && _JSON$stringify.includes(onValue)) {
|
|
23556
|
+
return col.color;
|
|
23557
|
+
}
|
|
23558
|
+
}
|
|
23559
|
+
}
|
|
23560
|
+
} catch (err) {
|
|
23561
|
+
_iterator.e(err);
|
|
23562
|
+
} finally {
|
|
23563
|
+
_iterator.f();
|
|
23564
|
+
}
|
|
23565
|
+
}
|
|
23566
|
+
return undefined;
|
|
23567
|
+
}
|
|
23565
23568
|
|
|
23566
23569
|
function TextCell (_ref) {
|
|
23567
23570
|
var children = _ref.children,
|
|
@@ -26433,7 +26436,8 @@ function useTableData (_ref) {
|
|
|
26433
26436
|
var toggleConfig = (_configuration$filter = configuration.filter) === null || _configuration$filter === void 0 ? void 0 : _configuration$filter.toggle;
|
|
26434
26437
|
var toggleFilter = {};
|
|
26435
26438
|
toggleConfig === null || toggleConfig === void 0 || toggleConfig.fields.forEach(function (f) {
|
|
26436
|
-
|
|
26439
|
+
var _toggleConfig$isAnd;
|
|
26440
|
+
return toggleFilter[f] = [toggleConfig.globalValue ? root.getGlobalValue(toggleConfig.globalValue) : true, 'eq', ((_toggleConfig$isAnd = toggleConfig.isAnd) !== null && _toggleConfig$isAnd !== void 0 ? _toggleConfig$isAnd : false) ? 0 : 1];
|
|
26437
26441
|
});
|
|
26438
26442
|
var defaultFilter = {};
|
|
26439
26443
|
(_configuration$filter2 = configuration.filter) === null || _configuration$filter2 === void 0 || (_configuration$filter2 = _configuration$filter2["default"]) === null || _configuration$filter2 === void 0 || _configuration$filter2.fields.forEach(function (f) {
|
|
@@ -26996,7 +27000,7 @@ function useTableData (_ref) {
|
|
|
26996
27000
|
}
|
|
26997
27001
|
var toggleFilter = {};
|
|
26998
27002
|
configuration.filter.toggle.fields.forEach(function (f) {
|
|
26999
|
-
return toggleFilter[f] = [configuration.filter.toggle.globalValue ? root.getGlobalValue(configuration.filter.toggle.globalValue) : true, 'eq',
|
|
27003
|
+
return toggleFilter[f] = [configuration.filter.toggle.globalValue ? root.getGlobalValue(configuration.filter.toggle.globalValue) : true, 'eq', configuration.filter.toggle.isAnd ? 0 : 1];
|
|
27000
27004
|
});
|
|
27001
27005
|
var newGlobalFilter = _objectSpread$h(_objectSpread$h({}, globalFilter), {}, {
|
|
27002
27006
|
toggle: globalFilter.toggle ? undefined : toggleFilter
|
|
@@ -29482,6 +29486,93 @@ function useNavigation () {
|
|
|
29482
29486
|
};
|
|
29483
29487
|
}
|
|
29484
29488
|
|
|
29489
|
+
function PublishCustomCell (_ref) {
|
|
29490
|
+
var data = _ref.data,
|
|
29491
|
+
apiConfig = _ref.apiConfig,
|
|
29492
|
+
context = _ref.context;
|
|
29493
|
+
var _useTranslation = useTranslation(),
|
|
29494
|
+
t = _useTranslation.t;
|
|
29495
|
+
var _React$useState = React.useState(false),
|
|
29496
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
29497
|
+
loading = _React$useState2[0],
|
|
29498
|
+
isLoading = _React$useState2[1];
|
|
29499
|
+
var unpublishedChanges = hasUnpublishedChanges(data.publishDate, data.lastUpdatedDate);
|
|
29500
|
+
var disabled = !data.basedCatalogId && !data.basedPackageId || !data.name;
|
|
29501
|
+
var _onChange = /*#__PURE__*/function () {
|
|
29502
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(publish) {
|
|
29503
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
29504
|
+
while (1) switch (_context.prev = _context.next) {
|
|
29505
|
+
case 0:
|
|
29506
|
+
isLoading(true);
|
|
29507
|
+
if (!publish) {
|
|
29508
|
+
_context.next = 6;
|
|
29509
|
+
break;
|
|
29510
|
+
}
|
|
29511
|
+
_context.next = 4;
|
|
29512
|
+
return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
|
|
29513
|
+
update: apiConfig.enricherService + '/packages/${_id}/publish',
|
|
29514
|
+
usePut: true
|
|
29515
|
+
});
|
|
29516
|
+
case 4:
|
|
29517
|
+
_context.next = 8;
|
|
29518
|
+
break;
|
|
29519
|
+
case 6:
|
|
29520
|
+
_context.next = 8;
|
|
29521
|
+
return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
|
|
29522
|
+
update: apiConfig.enricherService + '/packages/${_id}/unpublish',
|
|
29523
|
+
usePut: true
|
|
29524
|
+
});
|
|
29525
|
+
case 8:
|
|
29526
|
+
context === null || context === void 0 || context.reset();
|
|
29527
|
+
isLoading(false);
|
|
29528
|
+
case 10:
|
|
29529
|
+
case "end":
|
|
29530
|
+
return _context.stop();
|
|
29531
|
+
}
|
|
29532
|
+
}, _callee);
|
|
29533
|
+
}));
|
|
29534
|
+
return function onChange(_x) {
|
|
29535
|
+
return _ref2.apply(this, arguments);
|
|
29536
|
+
};
|
|
29537
|
+
}();
|
|
29538
|
+
return /*#__PURE__*/jsx(Spin, {
|
|
29539
|
+
spinning: loading,
|
|
29540
|
+
children: /*#__PURE__*/jsxs(Space$1, {
|
|
29541
|
+
size: "middle",
|
|
29542
|
+
children: [/*#__PURE__*/jsx(Tooltip, {
|
|
29543
|
+
title: !!data.isPublished ? t('backoffice.idmEnricher.packages.label.unpublish') : t('backoffice.idmEnricher.packages.label.publish'),
|
|
29544
|
+
children: /*#__PURE__*/jsx(Checkbox$1, {
|
|
29545
|
+
checked: !!data.isPublished,
|
|
29546
|
+
disabled: disabled,
|
|
29547
|
+
indeterminate: unpublishedChanges,
|
|
29548
|
+
onChange: function onChange(e) {
|
|
29549
|
+
return _onChange(e.target.checked);
|
|
29550
|
+
}
|
|
29551
|
+
})
|
|
29552
|
+
}), unpublishedChanges && /*#__PURE__*/jsx(Tooltip, {
|
|
29553
|
+
title: t('backoffice.idmEnricher.packages.label.unpublishedChanges'),
|
|
29554
|
+
children: /*#__PURE__*/jsx(Button$1, {
|
|
29555
|
+
shape: "circle",
|
|
29556
|
+
icon: /*#__PURE__*/jsx(ReloadOutlined, {}),
|
|
29557
|
+
onClick: function onClick() {
|
|
29558
|
+
return _onChange(true);
|
|
29559
|
+
}
|
|
29560
|
+
})
|
|
29561
|
+
})]
|
|
29562
|
+
})
|
|
29563
|
+
});
|
|
29564
|
+
}
|
|
29565
|
+
function hasUnpublishedChanges(publishDateString, lastUpdatedDateString) {
|
|
29566
|
+
var publishDate = publishDateString ? new Date(publishDateString) : undefined;
|
|
29567
|
+
var lastUpdatedDate = lastUpdatedDateString ? new Date(lastUpdatedDateString) : undefined;
|
|
29568
|
+
if (publishDate) {
|
|
29569
|
+
if (lastUpdatedDate && publishDate < lastUpdatedDate) {
|
|
29570
|
+
return true;
|
|
29571
|
+
}
|
|
29572
|
+
}
|
|
29573
|
+
return false;
|
|
29574
|
+
}
|
|
29575
|
+
|
|
29485
29576
|
function TablePackages () {
|
|
29486
29577
|
var root = useStore();
|
|
29487
29578
|
var _useTranslation = useTranslation(),
|
|
@@ -29513,39 +29604,7 @@ function TablePackages () {
|
|
|
29513
29604
|
},
|
|
29514
29605
|
disabled: function disabled(_ref2) {
|
|
29515
29606
|
var selectedNodes = _ref2.selectedNodes;
|
|
29516
|
-
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId;
|
|
29517
|
-
}
|
|
29518
|
-
}, {
|
|
29519
|
-
icon: /*#__PURE__*/jsx(UploadOutlined$1, {}),
|
|
29520
|
-
name: t('backoffice.idmEnricher.packages.label.publish'),
|
|
29521
|
-
action: function () {
|
|
29522
|
-
var _action = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref3) {
|
|
29523
|
-
var selectedNodes, context;
|
|
29524
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
29525
|
-
while (1) switch (_context.prev = _context.next) {
|
|
29526
|
-
case 0:
|
|
29527
|
-
selectedNodes = _ref3.selectedNodes, context = _ref3.context;
|
|
29528
|
-
_context.next = 3;
|
|
29529
|
-
return context === null || context === void 0 ? void 0 : context.updateServerData(selectedNodes[0].data, {
|
|
29530
|
-
update: apiConfig.enricherService + '/packages/${_id}/publish',
|
|
29531
|
-
usePut: true
|
|
29532
|
-
});
|
|
29533
|
-
case 3:
|
|
29534
|
-
context === null || context === void 0 || context.reset();
|
|
29535
|
-
case 4:
|
|
29536
|
-
case "end":
|
|
29537
|
-
return _context.stop();
|
|
29538
|
-
}
|
|
29539
|
-
}, _callee);
|
|
29540
|
-
}));
|
|
29541
|
-
function action(_x) {
|
|
29542
|
-
return _action.apply(this, arguments);
|
|
29543
|
-
}
|
|
29544
|
-
return action;
|
|
29545
|
-
}(),
|
|
29546
|
-
disabled: function disabled(_ref4) {
|
|
29547
|
-
var selectedNodes = _ref4.selectedNodes;
|
|
29548
|
-
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId;
|
|
29607
|
+
return !selectedNodes[0].data.basedCatalogId && !selectedNodes[0].data.basedPackageId || !selectedNodes[0].data.name;
|
|
29549
29608
|
}
|
|
29550
29609
|
}],
|
|
29551
29610
|
configuration: {
|
|
@@ -29561,26 +29620,24 @@ function TablePackages () {
|
|
|
29561
29620
|
floatingFilter: true,
|
|
29562
29621
|
colDef: [{
|
|
29563
29622
|
field: 'isPublished',
|
|
29564
|
-
|
|
29565
|
-
valueGetter: function valueGetter(
|
|
29566
|
-
var
|
|
29567
|
-
|
|
29568
|
-
|
|
29569
|
-
|
|
29570
|
-
|
|
29571
|
-
|
|
29572
|
-
|
|
29623
|
+
//the cell should refresh on changes of this fields
|
|
29624
|
+
valueGetter: function valueGetter(_ref3) {
|
|
29625
|
+
var data = _ref3.data;
|
|
29626
|
+
return {
|
|
29627
|
+
isPublished: data === null || data === void 0 ? void 0 : data.isPublished,
|
|
29628
|
+
name: data === null || data === void 0 ? void 0 : data.name,
|
|
29629
|
+
basedCatalogId: data === null || data === void 0 ? void 0 : data.basedCatalogId,
|
|
29630
|
+
basedPackageId: data === null || data === void 0 ? void 0 : data.basedPackageId
|
|
29631
|
+
};
|
|
29573
29632
|
},
|
|
29574
|
-
|
|
29633
|
+
headerName: 'backoffice.idmEnricher.packages.label.published',
|
|
29634
|
+
cellRenderer: PublishCustomCell,
|
|
29575
29635
|
cellDataType: 'boolean',
|
|
29636
|
+
editable: false,
|
|
29576
29637
|
pinned: 'left',
|
|
29577
29638
|
lockPinned: true,
|
|
29578
|
-
|
|
29579
|
-
|
|
29580
|
-
disabled: true
|
|
29581
|
-
},
|
|
29582
|
-
tooltipValueGetter: function tooltipValueGetter(params) {
|
|
29583
|
-
return params.value == undefined ? t('backoffice.idmEnricher.packages.label.unpublishedChanges') : undefined;
|
|
29639
|
+
cellRendererParams: {
|
|
29640
|
+
apiConfig: apiConfig
|
|
29584
29641
|
}
|
|
29585
29642
|
}, {
|
|
29586
29643
|
headerName: 'backoffice.idmEnricher.packages.label.name',
|
|
@@ -29590,9 +29647,9 @@ function TablePackages () {
|
|
|
29590
29647
|
headerName: 'backoffice.idmEnricher.packages.label.catalogId',
|
|
29591
29648
|
field: 'basedCatalogId',
|
|
29592
29649
|
cellDataType: 'lookup',
|
|
29593
|
-
editable: function editable(
|
|
29594
|
-
var data =
|
|
29595
|
-
return !data.
|
|
29650
|
+
editable: function editable(_ref4) {
|
|
29651
|
+
var data = _ref4.data;
|
|
29652
|
+
return !data.basedCatalogId && !data.basedPackageId;
|
|
29596
29653
|
},
|
|
29597
29654
|
customParams: {
|
|
29598
29655
|
filterCellType: 'id',
|
|
@@ -29608,9 +29665,9 @@ function TablePackages () {
|
|
|
29608
29665
|
headerName: 'backoffice.idmEnricher.packages.label.packageId',
|
|
29609
29666
|
field: 'basedPackageId',
|
|
29610
29667
|
cellDataType: 'lookup',
|
|
29611
|
-
editable: function editable(
|
|
29612
|
-
var data =
|
|
29613
|
-
return !data.
|
|
29668
|
+
editable: function editable(_ref5) {
|
|
29669
|
+
var data = _ref5.data;
|
|
29670
|
+
return !data.basedCatalogId && !data.basedPackageId;
|
|
29614
29671
|
},
|
|
29615
29672
|
customParams: {
|
|
29616
29673
|
filterCellType: 'id',
|
|
@@ -29656,7 +29713,7 @@ function TablePackages () {
|
|
|
29656
29713
|
headerName: 'backoffice.idmEnricher.general.label._id',
|
|
29657
29714
|
field: '_id',
|
|
29658
29715
|
editable: false,
|
|
29659
|
-
cellDataType: '
|
|
29716
|
+
cellDataType: 'objectId'
|
|
29660
29717
|
}, {
|
|
29661
29718
|
field: 'organizationId',
|
|
29662
29719
|
editable: false,
|
|
@@ -29943,7 +30000,7 @@ function TableProperties () {
|
|
|
29943
30000
|
})]
|
|
29944
30001
|
})
|
|
29945
30002
|
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
29946
|
-
gridId: 'crud-
|
|
30003
|
+
gridId: 'crud-grid_properties',
|
|
29947
30004
|
applicationData: applicationData,
|
|
29948
30005
|
configuration: {
|
|
29949
30006
|
type: 'dotnetSSM',
|
|
@@ -29958,14 +30015,61 @@ function TableProperties () {
|
|
|
29958
30015
|
floatingFilter: true,
|
|
29959
30016
|
colDef: [{
|
|
29960
30017
|
field: 'key',
|
|
29961
|
-
headerName: 'backoffice.idmEnricher.properties.label.key'
|
|
30018
|
+
headerName: 'backoffice.idmEnricher.properties.label.key',
|
|
30019
|
+
required: true,
|
|
30020
|
+
pinned: true
|
|
30021
|
+
}, {
|
|
30022
|
+
field: 'featureNos',
|
|
30023
|
+
headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
|
|
30024
|
+
cellDataType: 'lookup',
|
|
30025
|
+
editable: true,
|
|
30026
|
+
customParams: {
|
|
30027
|
+
nameField: 'featureNosDisplayTexts',
|
|
30028
|
+
displayLabelTemplate: '${name} (${value})',
|
|
30029
|
+
apiInterface: {
|
|
30030
|
+
read: apiConfig.enricherService + '/packages/${packageId}/lookup/features'
|
|
30031
|
+
},
|
|
30032
|
+
lookupValue: 'featureText',
|
|
30033
|
+
lookupKey: 'featureNo',
|
|
30034
|
+
multiple: true,
|
|
30035
|
+
translated: true
|
|
30036
|
+
},
|
|
30037
|
+
additionalFields: ['featureNosDisplayTexts'],
|
|
30038
|
+
isDictionary: true,
|
|
30039
|
+
pinned: true
|
|
30040
|
+
}, {
|
|
30041
|
+
field: 'optionKeys',
|
|
30042
|
+
headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
|
|
30043
|
+
cellDataType: 'lookup',
|
|
30044
|
+
editable: true,
|
|
30045
|
+
customParams: {
|
|
30046
|
+
nameField: 'optionKeysDisplayTexts',
|
|
30047
|
+
displayLabelTemplate: '${name} (${value})',
|
|
30048
|
+
apiInterface: {
|
|
30049
|
+
read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
|
|
30050
|
+
},
|
|
30051
|
+
lookupValue: 'optionText',
|
|
30052
|
+
lookupKey: 'optionKey',
|
|
30053
|
+
multiple: true,
|
|
30054
|
+
translated: true,
|
|
30055
|
+
filter: {
|
|
30056
|
+
colId: 'featureNo',
|
|
30057
|
+
type: 'equals',
|
|
30058
|
+
filterType: 'text',
|
|
30059
|
+
filter: '${featureNos}'
|
|
30060
|
+
}
|
|
30061
|
+
},
|
|
30062
|
+
additionalFields: ['optionKeysDisplayTexts'],
|
|
30063
|
+
isDictionary: true,
|
|
30064
|
+
pinned: true
|
|
29962
30065
|
}, {
|
|
29963
30066
|
headerName: 'backoffice.idmEnricher.properties.label.name',
|
|
29964
30067
|
marryChildren: true,
|
|
29965
30068
|
children: [{
|
|
29966
30069
|
field: 'name.DE',
|
|
29967
30070
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
29968
|
-
isDictionary: true
|
|
30071
|
+
isDictionary: true,
|
|
30072
|
+
pinned: true
|
|
29969
30073
|
}, {
|
|
29970
30074
|
field: 'name.EN',
|
|
29971
30075
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -29985,7 +30089,8 @@ function TableProperties () {
|
|
|
29985
30089
|
children: [{
|
|
29986
30090
|
field: 'value.DE',
|
|
29987
30091
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
29988
|
-
isDictionary: true
|
|
30092
|
+
isDictionary: true,
|
|
30093
|
+
pinned: true
|
|
29989
30094
|
}, {
|
|
29990
30095
|
field: 'value.EN',
|
|
29991
30096
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -29999,42 +30104,6 @@ function TableProperties () {
|
|
|
29999
30104
|
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
30000
30105
|
isDictionary: true
|
|
30001
30106
|
}]
|
|
30002
|
-
}, {
|
|
30003
|
-
field: 'featureNos',
|
|
30004
|
-
headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
|
|
30005
|
-
cellDataType: 'lookup',
|
|
30006
|
-
editable: true,
|
|
30007
|
-
customParams: {
|
|
30008
|
-
nameField: 'featureNosDisplayTexts',
|
|
30009
|
-
displayLabelTemplate: '${name} (${value})',
|
|
30010
|
-
apiInterface: {
|
|
30011
|
-
read: apiConfig.enricherService + '/packages/${packageId}/lookup/features'
|
|
30012
|
-
},
|
|
30013
|
-
lookupValue: 'featureText',
|
|
30014
|
-
lookupKey: 'featureNo',
|
|
30015
|
-
multiple: true,
|
|
30016
|
-
translated: true
|
|
30017
|
-
},
|
|
30018
|
-
additionalFields: ['featureNosDisplayTexts'],
|
|
30019
|
-
isDictionary: true
|
|
30020
|
-
}, {
|
|
30021
|
-
field: 'optionKeys',
|
|
30022
|
-
headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
|
|
30023
|
-
cellDataType: 'lookup',
|
|
30024
|
-
editable: true,
|
|
30025
|
-
customParams: {
|
|
30026
|
-
nameField: 'optionKeysDisplayTexts',
|
|
30027
|
-
displayLabelTemplate: '${name} (${value})',
|
|
30028
|
-
apiInterface: {
|
|
30029
|
-
read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
|
|
30030
|
-
},
|
|
30031
|
-
lookupValue: 'optionText',
|
|
30032
|
-
lookupKey: 'optionKey',
|
|
30033
|
-
multiple: true,
|
|
30034
|
-
translated: true
|
|
30035
|
-
},
|
|
30036
|
-
additionalFields: ['optionKeysDisplayTexts'],
|
|
30037
|
-
isDictionary: true
|
|
30038
30107
|
}, {
|
|
30039
30108
|
field: 'serieNos',
|
|
30040
30109
|
headerName: 'backoffice.idmEnricher.renaming.label.serieNos',
|
|
@@ -30642,7 +30711,7 @@ var RenamingTable = function RenamingTable(_ref) {
|
|
|
30642
30711
|
headerName: t('backoffice.idmEnricher.general.label._id'),
|
|
30643
30712
|
field: '_id',
|
|
30644
30713
|
editable: false,
|
|
30645
|
-
cellDataType: '
|
|
30714
|
+
cellDataType: 'objectId'
|
|
30646
30715
|
}])
|
|
30647
30716
|
}
|
|
30648
30717
|
})]
|
|
@@ -31113,8 +31182,8 @@ var ExclusivityTable = function ExclusivityTable(_ref) {
|
|
|
31113
31182
|
}, {
|
|
31114
31183
|
headerName: t('backoffice.idmEnricher.general.label._id'),
|
|
31115
31184
|
field: '_id',
|
|
31116
|
-
editable:
|
|
31117
|
-
cellDataType: '
|
|
31185
|
+
editable: true,
|
|
31186
|
+
cellDataType: 'objectId'
|
|
31118
31187
|
}])
|
|
31119
31188
|
}
|
|
31120
31189
|
})]
|
|
@@ -31230,7 +31299,7 @@ function TableTabGroups () {
|
|
|
31230
31299
|
headerName: 'backoffice.idmEnricher.general.label._id',
|
|
31231
31300
|
field: '_id',
|
|
31232
31301
|
editable: false,
|
|
31233
|
-
cellDataType: '
|
|
31302
|
+
cellDataType: 'objectId'
|
|
31234
31303
|
}]
|
|
31235
31304
|
}
|
|
31236
31305
|
})]
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DivaCustomCellRendererProps } from '@crystaldesign/spreadsheet';
|
|
3
|
+
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
4
|
+
export default function ({ data, apiConfig, context }: DivaCustomCellRendererProps<any, any, {
|
|
5
|
+
apiConfig: ApiConfig;
|
|
6
|
+
}>): React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=PublishCustomCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,CAAC,qBA2CrH"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/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/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AASlD,MAAM,CAAC,OAAO,gCA0Jb"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/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/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAuOb"}
|
package/build/types/backoffice/src/ui/Table/BaseTable/cellRenderer/StringCell/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/Table/BaseTable/cellRenderer/StringCell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAmB,MAAM,IAAI,CAAC;AAGzD,MAAM,CAAC,OAAO,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/Table/BaseTable/cellRenderer/StringCell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,kBAAkB,EAAmB,MAAM,IAAI,CAAC;AAGzD,MAAM,CAAC,OAAO,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,qBAgGzF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/StandardTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,EAAc,UAAU,EAA8B,MAAM,UAAU,CAAC;AAuBzG,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/StandardTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,EAAc,UAAU,EAA8B,MAAM,UAAU,CAAC;AAuBzG,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,EAAE,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,CAojBzF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseServersideFilters.d.ts","sourceRoot":"","sources":["../../../../../src/utils/parseServersideFilters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,MAAM,CAAC,EAAE,GAAG,CAAC;IAEb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,eAAe,UA2DnH;AAQD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"parseServersideFilters.d.ts","sourceRoot":"","sources":["../../../../../src/utils/parseServersideFilters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,GAAG;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,EAAE,CAAC;IACb,MAAM,CAAC,EAAE,GAAG,CAAC;IAEb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,eAAe,UA2DnH;AAQD,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM,UAsFpF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.13.0-beta.10",
|
|
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.
|
|
19
|
-
"@crystaldesign/content-item": "24.
|
|
20
|
-
"@crystaldesign/diva-core": "24.
|
|
21
|
-
"@crystaldesign/diva-utils": "24.
|
|
22
|
-
"@crystaldesign/media-upload": "24.
|
|
23
|
-
"@crystaldesign/rtf-editor": "24.
|
|
24
|
-
"@crystaldesign/spreadsheet": "24.
|
|
18
|
+
"@crystaldesign/content-box": "24.13.0-beta.10",
|
|
19
|
+
"@crystaldesign/content-item": "24.13.0-beta.10",
|
|
20
|
+
"@crystaldesign/diva-core": "24.13.0-beta.10",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.13.0-beta.10",
|
|
22
|
+
"@crystaldesign/media-upload": "24.13.0-beta.10",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.13.0-beta.10",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.13.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",
|
|
@@ -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": "5992f2175bb3bc2279dee2c567ab2d80ebde7ae1"
|
|
55
55
|
}
|