@crystaldesign/diva-backoffice 24.14.0-beta.16 → 24.14.0-beta.17
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 +187 -20
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/CatalogTable/useTableData.d.ts.map +1 -1
- package/build/types/backoffice/src/utils/ApiHandler.d.ts +1 -1
- package/build/types/backoffice/src/utils/ApiHandler.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -844,9 +844,9 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
844
844
|
}, {
|
|
845
845
|
key: "delete",
|
|
846
846
|
value: function () {
|
|
847
|
-
var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2) {
|
|
847
|
+
var _delete2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(id, mapping, mappingData, isApi2, sessionGuid) {
|
|
848
848
|
var _this$_rootStore3, _url, _ref6, _response$numItemsDel;
|
|
849
|
-
var jwt, url, response;
|
|
849
|
+
var jwt, url, headers, response;
|
|
850
850
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
851
851
|
while (1) switch (_context6.prev = _context6.next) {
|
|
852
852
|
case 0:
|
|
@@ -885,12 +885,13 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
885
885
|
url.searchParams.append(this._deleteIdField, id);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
|
|
888
|
+
headers = {};
|
|
889
|
+
if (jwt) headers['Authorization'] = 'Bearer ' + jwt;
|
|
890
|
+
if (sessionGuid) headers['SessionGuid'] = sessionGuid;
|
|
891
|
+
_context6.next = 10;
|
|
889
892
|
return fetch((_url = url) === null || _url === void 0 ? void 0 : _url.toString(), {
|
|
890
893
|
method: isApi2 ? 'POST' : 'DELETE',
|
|
891
|
-
headers:
|
|
892
|
-
Authorization: 'Bearer ' + jwt
|
|
893
|
-
} : {})
|
|
894
|
+
headers: headers
|
|
894
895
|
}).then(/*#__PURE__*/function () {
|
|
895
896
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(r) {
|
|
896
897
|
var code, error, err;
|
|
@@ -926,7 +927,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
926
927
|
}
|
|
927
928
|
}, _callee5, null, [[1, 9]]);
|
|
928
929
|
}));
|
|
929
|
-
return function (
|
|
930
|
+
return function (_x16) {
|
|
930
931
|
return _ref5.apply(this, arguments);
|
|
931
932
|
};
|
|
932
933
|
}()).then(function (r) {
|
|
@@ -936,16 +937,16 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
936
937
|
return undefined;
|
|
937
938
|
}
|
|
938
939
|
});
|
|
939
|
-
case
|
|
940
|
+
case 10:
|
|
940
941
|
response = _context6.sent;
|
|
941
942
|
return _context6.abrupt("return", (_ref6 = (_response$numItemsDel = response === null || response === void 0 ? void 0 : response.numItemsDeleted) !== null && _response$numItemsDel !== void 0 ? _response$numItemsDel : response) !== null && _ref6 !== void 0 ? _ref6 : true);
|
|
942
|
-
case
|
|
943
|
+
case 12:
|
|
943
944
|
case "end":
|
|
944
945
|
return _context6.stop();
|
|
945
946
|
}
|
|
946
947
|
}, _callee6, this);
|
|
947
948
|
}));
|
|
948
|
-
function _delete(_x11, _x12, _x13, _x14) {
|
|
949
|
+
function _delete(_x11, _x12, _x13, _x14, _x15) {
|
|
949
950
|
return _delete2.apply(this, arguments);
|
|
950
951
|
}
|
|
951
952
|
return _delete;
|
|
@@ -984,7 +985,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
984
985
|
}
|
|
985
986
|
}, _callee7, this);
|
|
986
987
|
}));
|
|
987
|
-
function read(
|
|
988
|
+
function read(_x17, _x18, _x19) {
|
|
988
989
|
return _read.apply(this, arguments);
|
|
989
990
|
}
|
|
990
991
|
return read;
|
|
@@ -1037,7 +1038,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
1037
1038
|
}
|
|
1038
1039
|
}, _callee8, this);
|
|
1039
1040
|
}));
|
|
1040
|
-
function readList(
|
|
1041
|
+
function readList(_x20, _x21, _x22, _x23, _x24) {
|
|
1041
1042
|
return _readList.apply(this, arguments);
|
|
1042
1043
|
}
|
|
1043
1044
|
return readList;
|
|
@@ -1107,7 +1108,7 @@ var _default$d = /*#__PURE__*/function () {
|
|
|
1107
1108
|
}
|
|
1108
1109
|
}, _callee9, this);
|
|
1109
1110
|
}));
|
|
1110
|
-
function readInternal(
|
|
1111
|
+
function readInternal(_x25, _x26, _x27, _x28, _x29) {
|
|
1111
1112
|
return _readInternal.apply(this, arguments);
|
|
1112
1113
|
}
|
|
1113
1114
|
return readInternal;
|
|
@@ -3718,7 +3719,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3718
3719
|
filterServerSide: true
|
|
3719
3720
|
},
|
|
3720
3721
|
create: '${api2}?function=SetMetaData',
|
|
3721
|
-
"delete": '${api2}?function=DeleteMetaData&CatalogCodex=${codex}
|
|
3722
|
+
"delete": '${api2}?function=DeleteMetaData&CatalogCodex=${codex}'
|
|
3722
3723
|
},
|
|
3723
3724
|
mapping: {
|
|
3724
3725
|
type: 'query',
|
|
@@ -3868,7 +3869,7 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3868
3869
|
}],
|
|
3869
3870
|
apiInterface: {
|
|
3870
3871
|
read: {
|
|
3871
|
-
list: '${api2}?function=GetBackofficePartlist&
|
|
3872
|
+
list: '${api2}?function=GetBackofficePartlist&catalogCodex=${catalogCodex}',
|
|
3872
3873
|
filterServerSide: true
|
|
3873
3874
|
},
|
|
3874
3875
|
create: '${api2}?function=SetJsonPartlist'
|
|
@@ -3878,9 +3879,6 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3878
3879
|
map: [{
|
|
3879
3880
|
sourceField: 'catalogCodex',
|
|
3880
3881
|
targetField: 'catalogCodex'
|
|
3881
|
-
}, {
|
|
3882
|
-
sourceField: 'sessionGuID',
|
|
3883
|
-
targetField: 'sessionGuID'
|
|
3884
3882
|
}, {
|
|
3885
3883
|
sourceField: 'newData',
|
|
3886
3884
|
targetField: 'newData'
|
|
@@ -26518,7 +26516,7 @@ function useTableData$1 (_ref) {
|
|
|
26518
26516
|
})) === null || _newData$filter === void 0 ? void 0 : _newData$filter[0];
|
|
26519
26517
|
mappingData = _objectSpread$j(_objectSpread$j({}, mappingData), state.mappingData);
|
|
26520
26518
|
_context2.next = 5;
|
|
26521
|
-
return apiHandler["delete"](id, (_configuration$delete = configuration.deleteMapping) !== null && _configuration$delete !== void 0 ? _configuration$delete : configuration.mapping, mappingData, true);
|
|
26519
|
+
return apiHandler["delete"](id, (_configuration$delete = configuration.deleteMapping) !== null && _configuration$delete !== void 0 ? _configuration$delete : configuration.mapping, mappingData, true, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid);
|
|
26522
26520
|
case 5:
|
|
26523
26521
|
deleteResult = _context2.sent;
|
|
26524
26522
|
if (deleteResult) {
|
|
@@ -27057,7 +27055,7 @@ function useTableData (_ref) {
|
|
|
27057
27055
|
genericProps: prefilter.toggle
|
|
27058
27056
|
} : undefined);
|
|
27059
27057
|
_context3.next = 14;
|
|
27060
|
-
return apiHandler.readList(parentMapping || configuration.mapping, mapping, ssf,
|
|
27058
|
+
return apiHandler.readList(parentMapping || configuration.mapping, mapping, ssf, catalogItem === null || catalogItem === void 0 ? void 0 : catalogItem.sessionGuid, parseFilter(!(configuration !== null && configuration !== void 0 && (_configuration$filter15 = configuration.filter) !== null && _configuration$filter15 !== void 0 && (_configuration$filter15 = _configuration$filter15.toggle) !== null && _configuration$filter15 !== void 0 && _configuration$filter15.inQuery) ? (_prefilter$toggle = prefilter.toggle) !== null && _prefilter$toggle !== void 0 ? _prefilter$toggle : {} : {}, (_parseFilter = parseFilter(p.filters, undefined)) === null || _parseFilter === void 0 ? void 0 : _parseFilter.slice(1, -1)));
|
|
27061
27059
|
case 14:
|
|
27062
27060
|
data = _context3.sent;
|
|
27063
27061
|
currentUrl = apiHandler.getReadListUrl(parentMapping || configuration.mapping, mapping, ssf);
|
|
@@ -32380,6 +32378,16 @@ function useModule (currentModules) {
|
|
|
32380
32378
|
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/featureclasses' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32381
32379
|
children: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatureClasses')
|
|
32382
32380
|
})
|
|
32381
|
+
}, {
|
|
32382
|
+
key: 'decisions',
|
|
32383
|
+
style: {
|
|
32384
|
+
margin: 0
|
|
32385
|
+
},
|
|
32386
|
+
icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
|
|
32387
|
+
label: /*#__PURE__*/jsx(Link, {
|
|
32388
|
+
to: 'catalogs/idmeditor/catalogs/' + catalogId + '/decisions' + (searchParams ? '?' + searchParams.toString() : ''),
|
|
32389
|
+
children: t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions')
|
|
32390
|
+
})
|
|
32383
32391
|
}];
|
|
32384
32392
|
}, [catalogId]);
|
|
32385
32393
|
if (!catalogId) throw new Error('catalogId is required');
|
|
@@ -33366,6 +33374,162 @@ function TableFeatureClasses () {
|
|
|
33366
33374
|
});
|
|
33367
33375
|
}
|
|
33368
33376
|
|
|
33377
|
+
function TableDecisions () {
|
|
33378
|
+
var _useTranslation = useTranslation(),
|
|
33379
|
+
t = _useTranslation.t;
|
|
33380
|
+
var _useModule = useModule(['decisions']),
|
|
33381
|
+
catalogId = _useModule.catalogId,
|
|
33382
|
+
organizationId = _useModule.organizationId,
|
|
33383
|
+
updateNavigation = _useModule.updateNavigation,
|
|
33384
|
+
apiConfig = _useModule.apiConfig;
|
|
33385
|
+
var decisionTypeDic = {
|
|
33386
|
+
0: t('backoffice.idmCatalog.decisions.label.type.d0'),
|
|
33387
|
+
1: t('backoffice.idmCatalog.decisions.label.type.d1'),
|
|
33388
|
+
2: t('backoffice.idmCatalog.decisions.label.type.d2'),
|
|
33389
|
+
3: t('backoffice.idmCatalog.decisions.label.type.d3')
|
|
33390
|
+
};
|
|
33391
|
+
var applicationData = useMemo(function () {
|
|
33392
|
+
return {
|
|
33393
|
+
catalogId: catalogId,
|
|
33394
|
+
organizationId: organizationId
|
|
33395
|
+
};
|
|
33396
|
+
}, [catalogId]);
|
|
33397
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
33398
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
33399
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
33400
|
+
children: [t('backoffice.menu.items.label.IDMCatalogEditorTableDecisions'), /*#__PURE__*/jsx(Space$1, {
|
|
33401
|
+
style: {
|
|
33402
|
+
"float": 'right'
|
|
33403
|
+
},
|
|
33404
|
+
children: /*#__PURE__*/jsx(CatalogSelector, {
|
|
33405
|
+
selectedCatalog: catalogId,
|
|
33406
|
+
setSelectedCatalog: function setSelectedCatalog(id) {
|
|
33407
|
+
return updateNavigation(id);
|
|
33408
|
+
},
|
|
33409
|
+
idmService: apiConfig.idmService
|
|
33410
|
+
})
|
|
33411
|
+
})]
|
|
33412
|
+
})
|
|
33413
|
+
}), /*#__PURE__*/jsx(Spreadsheet, {
|
|
33414
|
+
gridId: 'crud-grid_decisions',
|
|
33415
|
+
applicationData: applicationData,
|
|
33416
|
+
configuration: {
|
|
33417
|
+
type: 'dotnetSSM',
|
|
33418
|
+
apiInterface: {
|
|
33419
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions',
|
|
33420
|
+
create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions',
|
|
33421
|
+
restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}',
|
|
33422
|
+
"delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}',
|
|
33423
|
+
update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions/${_id}'
|
|
33424
|
+
},
|
|
33425
|
+
dateFormat: 'LL',
|
|
33426
|
+
colDef: [{
|
|
33427
|
+
field: 'decisionNo',
|
|
33428
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionNo',
|
|
33429
|
+
required: true
|
|
33430
|
+
}, {
|
|
33431
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionText',
|
|
33432
|
+
marryChildren: true,
|
|
33433
|
+
children: [{
|
|
33434
|
+
field: 'decisionText.DE',
|
|
33435
|
+
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
33436
|
+
isDictionary: true,
|
|
33437
|
+
required: true
|
|
33438
|
+
}, {
|
|
33439
|
+
field: 'decisionText.EN',
|
|
33440
|
+
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
33441
|
+
isDictionary: true
|
|
33442
|
+
}, {
|
|
33443
|
+
field: 'decisionText.FR',
|
|
33444
|
+
headerName: 'backoffice.idmEnricher.general.label.FR',
|
|
33445
|
+
isDictionary: true
|
|
33446
|
+
}, {
|
|
33447
|
+
field: 'decisionText.IT',
|
|
33448
|
+
headerName: 'backoffice.idmEnricher.general.label.IT',
|
|
33449
|
+
isDictionary: true
|
|
33450
|
+
}]
|
|
33451
|
+
}, {
|
|
33452
|
+
field: 'comment',
|
|
33453
|
+
headerName: 'backoffice.idmCatalog.decisions.label.comment'
|
|
33454
|
+
}, {
|
|
33455
|
+
field: 'prio',
|
|
33456
|
+
headerName: 'backoffice.idmCatalog.decisions.label.prio',
|
|
33457
|
+
required: true,
|
|
33458
|
+
cellDataType: 'number'
|
|
33459
|
+
}, {
|
|
33460
|
+
field: 'decisionType',
|
|
33461
|
+
headerName: 'backoffice.idmCatalog.decisions.label.decisionType',
|
|
33462
|
+
required: true,
|
|
33463
|
+
cellDataType: 'enum',
|
|
33464
|
+
customParams: {
|
|
33465
|
+
displayTexts: decisionTypeDic,
|
|
33466
|
+
values: Object.keys(decisionTypeDic),
|
|
33467
|
+
displayLabelTemplate: '${name} (${value})'
|
|
33468
|
+
}
|
|
33469
|
+
}, {
|
|
33470
|
+
field: 'featureRefs',
|
|
33471
|
+
headerName: 'backoffice.idmCatalogEditor.items.label.featureRefs',
|
|
33472
|
+
cellDataType: 'lookup',
|
|
33473
|
+
editable: true,
|
|
33474
|
+
customParams: {
|
|
33475
|
+
nameField: 'featureRefsDisplayTexts',
|
|
33476
|
+
displayLabelTemplate: '${name} (${value})',
|
|
33477
|
+
apiInterface: {
|
|
33478
|
+
read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features'
|
|
33479
|
+
},
|
|
33480
|
+
lookupValue: 'featureText',
|
|
33481
|
+
lookupKey: 'featureNo',
|
|
33482
|
+
lookupKeyFilterType: {
|
|
33483
|
+
type: 'equals',
|
|
33484
|
+
filterType: 'number'
|
|
33485
|
+
},
|
|
33486
|
+
multiple: true,
|
|
33487
|
+
translated: true
|
|
33488
|
+
},
|
|
33489
|
+
additionalFields: ['featureRefsDisplayTexts'],
|
|
33490
|
+
isDictionary: true
|
|
33491
|
+
}, {
|
|
33492
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
33493
|
+
field: 'lastUpdatedDate',
|
|
33494
|
+
cellDataType: 'dateString',
|
|
33495
|
+
editable: false
|
|
33496
|
+
}, {
|
|
33497
|
+
headerName: 'backoffice.idmCatalog.general.label.createdDate',
|
|
33498
|
+
field: 'createdDate',
|
|
33499
|
+
cellDataType: 'dateString',
|
|
33500
|
+
editable: false
|
|
33501
|
+
}, {
|
|
33502
|
+
headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
|
|
33503
|
+
field: 'createdByDisplayText',
|
|
33504
|
+
editable: false
|
|
33505
|
+
}, {
|
|
33506
|
+
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
|
|
33507
|
+
field: 'lastUpdatedByDisplayText',
|
|
33508
|
+
editable: false
|
|
33509
|
+
}, {
|
|
33510
|
+
headerName: 'backoffice.idmCatalog.general.label._id',
|
|
33511
|
+
field: '_id',
|
|
33512
|
+
editable: false
|
|
33513
|
+
}, {
|
|
33514
|
+
field: 'organizationId',
|
|
33515
|
+
editable: false,
|
|
33516
|
+
hide: true,
|
|
33517
|
+
lockVisible: true,
|
|
33518
|
+
suppressColumnsToolPanel: true,
|
|
33519
|
+
defaultValue: '${organizationId}'
|
|
33520
|
+
}, {
|
|
33521
|
+
field: 'catalogId',
|
|
33522
|
+
editable: false,
|
|
33523
|
+
hide: true,
|
|
33524
|
+
lockVisible: true,
|
|
33525
|
+
suppressColumnsToolPanel: true,
|
|
33526
|
+
defaultValue: '${catalogId}'
|
|
33527
|
+
}]
|
|
33528
|
+
}
|
|
33529
|
+
})]
|
|
33530
|
+
});
|
|
33531
|
+
}
|
|
33532
|
+
|
|
33369
33533
|
function IDMCatalogEditor (_ref) {
|
|
33370
33534
|
_objectDestructuringEmpty(_ref);
|
|
33371
33535
|
return /*#__PURE__*/jsx("div", {
|
|
@@ -33398,6 +33562,9 @@ function Content$1() {
|
|
|
33398
33562
|
}), /*#__PURE__*/jsx(Route, {
|
|
33399
33563
|
path: ":catalogId/featureclasses",
|
|
33400
33564
|
element: /*#__PURE__*/jsx(TableFeatureClasses, {})
|
|
33565
|
+
}), /*#__PURE__*/jsx(Route, {
|
|
33566
|
+
path: ":catalogId/decisions",
|
|
33567
|
+
element: /*#__PURE__*/jsx(TableDecisions, {})
|
|
33401
33568
|
})]
|
|
33402
33569
|
});
|
|
33403
33570
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAQxD,UAAU,KAAK;IACb,aAAa,EAAE,6BAA6B,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
|
|
@@ -0,0 +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,gCAwKb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCA2E5B,MAAM,YAAW,MAAM,EAAE;;;;EAmC7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/CatalogTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAU,KAAK,EAAc,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAYjD,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,aAAa,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACzC,aAAa,EAAE,yBAAyB,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"useTableData.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/CatalogTable/useTableData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAU,KAAK,EAAc,MAAM,UAAU,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAYjD,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,aAAa,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACzC,aAAa,EAAE,yBAAyB,CAAC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,GAAG,aAAa,CAAC,CAAC,CAAC,CAqR3D"}
|
|
@@ -30,7 +30,7 @@ export default class {
|
|
|
30
30
|
get canReadList(): boolean;
|
|
31
31
|
update(data: any, original?: any, mapping?: Mapping): Promise<any>;
|
|
32
32
|
create(data?: any, mapping?: Mapping, mappingData?: any, formData?: FormData, sessionGuid?: string): Promise<any>;
|
|
33
|
-
delete(id?: string, mapping?: Mapping, mappingData?: any, isApi2?: boolean): Promise<any>;
|
|
33
|
+
delete(id?: string, mapping?: Mapping, mappingData?: any, isApi2?: boolean, sessionGuid?: string): Promise<any>;
|
|
34
34
|
read(mapping?: Mapping, mappingData?: any, sessionGuid?: string): Promise<any>;
|
|
35
35
|
readList(mapping?: Mapping, mappingData?: any, filterServerSide?: Omit<ServerSideProps, 'baseUrl' | 'prefilter'>, sessionGuID?: string, prefilter?: string): Promise<{
|
|
36
36
|
data: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiHandler.d.ts","sourceRoot":"","sources":["../../../../../src/utils/ApiHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAA+B,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAM,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK9C,MAAM,CAAC,OAAO;
|
|
1
|
+
{"version":3,"file":"ApiHandler.d.ts","sourceRoot":"","sources":["../../../../../src/utils/ApiHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,OAA+B,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEnF,OAAO,EAAM,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAK9C,MAAM,CAAC,OAAO;IAoBV,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAC/C,SAAS,CAAC,UAAU,EAAE,SAAS;IApBjC,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,aAAa,sBAAC;IACxB,SAAS,CAAC,OAAO,sBAAC;IAClB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,cAAc,SAAQ;IAChC,SAAS,CAAC,WAAW,qBAAC;IACtB,SAAS,CAAC,YAAY,qBAAC;IACvB,SAAS,CAAC,iBAAiB,UAAQ;IACnC,SAAS,CAAC,aAAa,qBAAC;IACxB,SAAS,CAAC,eAAe,UAAS;IAClC,SAAS,CAAC,aAAa,sBAAC;IACxB,SAAS,CAAC,UAAU,qBAAC;IACrB,SAAS,CAAC,OAAO,CAAC,EAAE,MAAM,CAAa;IACvC,SAAS,CAAC,aAAa,UAAQ;gBAGnB,aAAa,EAAE,sBAAsB,EACrC,UAAU,EAAE,SAAS;IA8DjC,IAAI,SAAS,YAEZ;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,OAAO,YAEV;IACD,IAAI,WAAW,YAEd;IAEK,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO;IAgFnD,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,EAAE,MAAM;IAkFlG,MAAM,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM;IAkEhG,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,WAAW,CAAC,EAAE,MAAM;IAkB/D,QAAQ,CACZ,OAAO,CAAC,EAAE,OAAO,EACjB,WAAW,CAAC,EAAE,GAAG,EACjB,gBAAgB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,CAAC,EACjE,WAAW,CAAC,EAAE,MAAM,EACpB,SAAS,CAAC,EAAE,MAAM;;eAekF,MAAM;;IAgB5G,cAAc,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,gBAAgB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,WAAW,CAAC,EAAE,SAAS,CAAC,EAAE,MAAM;YAyB5H,YAAY;IA6B1B,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,WAAW;IAInB,YAAY,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,SAAS,CAAC,EAAE,MAAM;CAqCzE"}
|
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.17",
|
|
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.17",
|
|
19
|
+
"@crystaldesign/content-item": "24.14.0-beta.17",
|
|
20
|
+
"@crystaldesign/diva-core": "24.14.0-beta.17",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.14.0-beta.17",
|
|
22
|
+
"@crystaldesign/media-upload": "24.14.0-beta.17",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.14.0-beta.17",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.14.0-beta.17",
|
|
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": "2da6171392ce53769d789d9a9c86445a384a86c1"
|
|
55
55
|
}
|