@crystaldesign/diva-backoffice 26.5.0-beta.48 → 26.5.0-beta.49
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 +206 -42
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +2 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'antd/dist/reset.css';
|
|
|
4
4
|
import { Divider, Form as Form$2, Button, Input as Input$1, Popover, Typography, Progress, Select, Avatar, Spin, Radio, Space, Dropdown, InputNumber, ColorPicker, Tooltip as Tooltip$1, Slider, DatePicker, Checkbox as Checkbox$1, Modal as Modal$2, Tabs, Cascader, Descriptions, Row, Col, Collapse, List as List$1, Skeleton, Alert, Card, Upload as Upload$2, Table as Table$1, message, Switch, Popconfirm, Image, Breadcrumb, Result as Result$1, Tag, Badge, theme, Layout, Drawer, ConfigProvider } from 'antd';
|
|
5
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
6
6
|
import { observer } from 'mobx-react-lite';
|
|
7
|
-
import { getLogger, DivaError, useTranslation, useDivaCore, DivaUtils } from '@crystaldesign/diva-core';
|
|
7
|
+
import { getLogger, DivaError, useTranslation, useDivaCore, DivaUtils, i18n } from '@crystaldesign/diva-core';
|
|
8
8
|
import { useSearchParams, useLocation, useNavigate, useParams, Link, Routes, Route, BrowserRouter } from 'react-router-dom';
|
|
9
9
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
10
10
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
@@ -9423,8 +9423,8 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
9423
9423
|
return (data === null || data === void 0 ? void 0 : data.type) === 'ASSOCIATION' || (data === null || data === void 0 ? void 0 : data.type) === 'SUPPLIER' || (data === null || data === void 0 ? void 0 : data.parentType) === 'SUPPLIER';
|
|
9424
9424
|
}
|
|
9425
9425
|
}, {
|
|
9426
|
-
name: '
|
|
9427
|
-
label: t('backoffice.form.organizationdetails.items.
|
|
9426
|
+
name: 'shareBaseUrl',
|
|
9427
|
+
label: t('backoffice.form.organizationdetails.items.shareBaseUrl'),
|
|
9428
9428
|
type: 'input',
|
|
9429
9429
|
permission: 'backoffice_admin_organizations',
|
|
9430
9430
|
hidden: function hidden(data) {
|
|
@@ -47196,9 +47196,34 @@ function PartlistPos(_ref) {
|
|
|
47196
47196
|
catalog = _ref.catalog,
|
|
47197
47197
|
partlist = _ref.partlist,
|
|
47198
47198
|
apiConfig = _ref.apiConfig,
|
|
47199
|
-
hooks = _ref.hooks
|
|
47199
|
+
hooks = _ref.hooks,
|
|
47200
|
+
setNodeDataValue = _ref.setNodeDataValue;
|
|
47200
47201
|
var _useTranslation = useTranslation(),
|
|
47201
47202
|
t = _useTranslation.t;
|
|
47203
|
+
var addFeature = useCallback(function (value) {
|
|
47204
|
+
var _partlist$featureRefs, _partlist$featureRefs2;
|
|
47205
|
+
var newRefs = [].concat(_toConsumableArray((_partlist$featureRefs = partlist.featureRefs) !== null && _partlist$featureRefs !== void 0 ? _partlist$featureRefs : []), [value.featureRefs]);
|
|
47206
|
+
var newRefsDisplayTexts = [].concat(_toConsumableArray((_partlist$featureRefs2 = partlist.featureRefsDisplayTexts) !== null && _partlist$featureRefs2 !== void 0 ? _partlist$featureRefs2 : []), [value.featureRefsDisplayTexts]);
|
|
47207
|
+
setNodeDataValue({
|
|
47208
|
+
featureRefs: newRefs,
|
|
47209
|
+
featureRefsDisplayTexts: newRefsDisplayTexts
|
|
47210
|
+
});
|
|
47211
|
+
}, [partlist, setNodeDataValue]);
|
|
47212
|
+
var removeFeature = useCallback(function (value) {
|
|
47213
|
+
var _partlist$featureRefs3;
|
|
47214
|
+
var index = (_partlist$featureRefs3 = partlist.featureRefs) === null || _partlist$featureRefs3 === void 0 ? void 0 : _partlist$featureRefs3.findIndex(function (featureRef) {
|
|
47215
|
+
return featureRef === value;
|
|
47216
|
+
});
|
|
47217
|
+
if (index == null || index < 0) return;
|
|
47218
|
+
var newRefs = _toConsumableArray(partlist.featureRefs);
|
|
47219
|
+
var newRefsDisplayTexts = _toConsumableArray(partlist.featureRefsDisplayTexts);
|
|
47220
|
+
newRefs.splice(index, 1);
|
|
47221
|
+
newRefsDisplayTexts.splice(index, 1);
|
|
47222
|
+
setNodeDataValue({
|
|
47223
|
+
featureRefs: newRefs,
|
|
47224
|
+
featureRefsDisplayTexts: newRefsDisplayTexts
|
|
47225
|
+
});
|
|
47226
|
+
}, [partlist, setNodeDataValue]);
|
|
47202
47227
|
var ref = useRef(null);
|
|
47203
47228
|
var _useDivaCore = useDivaCore(),
|
|
47204
47229
|
jwt = _useDivaCore.state.jwt;
|
|
@@ -47231,15 +47256,117 @@ function PartlistPos(_ref) {
|
|
|
47231
47256
|
};
|
|
47232
47257
|
}, []);
|
|
47233
47258
|
var configuration = useMemo(function () {
|
|
47259
|
+
var _partlist$featureRefs4, _partlist$featureRefs5;
|
|
47234
47260
|
return {
|
|
47235
47261
|
type: 'dotnetSSM',
|
|
47236
47262
|
apiInterface: apiInterface,
|
|
47237
47263
|
dateFormat: 'DD.MM.YYYY, HH:mm:ss',
|
|
47238
|
-
colDef: [{
|
|
47239
|
-
|
|
47240
|
-
|
|
47241
|
-
|
|
47242
|
-
|
|
47264
|
+
colDef: [].concat(_toConsumableArray((_partlist$featureRefs4 = (_partlist$featureRefs5 = partlist.featureRefs) === null || _partlist$featureRefs5 === void 0 ? void 0 : _partlist$featureRefs5.map(function (featureRef, i) {
|
|
47265
|
+
var _partlist$featureRefs6, _partlist$featureRefs7;
|
|
47266
|
+
return {
|
|
47267
|
+
headerName: (_partlist$featureRefs6 = (_partlist$featureRefs7 = partlist.featureRefsDisplayTexts) === null || _partlist$featureRefs7 === void 0 || (_partlist$featureRefs7 = _partlist$featureRefs7[i]) === null || _partlist$featureRefs7 === void 0 ? void 0 : _partlist$featureRefs7[i18n.language.toUpperCase()]) !== null && _partlist$featureRefs6 !== void 0 ? _partlist$featureRefs6 : featureRef,
|
|
47268
|
+
field: "optionsSetRefs.".concat(featureRef),
|
|
47269
|
+
cellDataType: 'text',
|
|
47270
|
+
editable: true,
|
|
47271
|
+
isDictionary: true,
|
|
47272
|
+
customParams: {
|
|
47273
|
+
expandedEditor: OptionSetRefExpandedEditor,
|
|
47274
|
+
expandedEditorProps: {
|
|
47275
|
+
catalogId: catalog._id,
|
|
47276
|
+
idmService: apiConfig.idmService,
|
|
47277
|
+
rowFeatureRef: featureRef
|
|
47278
|
+
}
|
|
47279
|
+
},
|
|
47280
|
+
lockPosition: 'left',
|
|
47281
|
+
headerComponentParams: {
|
|
47282
|
+
additionalElement: /*#__PURE__*/jsx(Button, {
|
|
47283
|
+
icon: /*#__PURE__*/jsx(DeleteOutlined$1, {}),
|
|
47284
|
+
type: "text",
|
|
47285
|
+
size: "small",
|
|
47286
|
+
onClick: function onClick(e) {
|
|
47287
|
+
e.stopPropagation();
|
|
47288
|
+
removeFeature(featureRef);
|
|
47289
|
+
}
|
|
47290
|
+
})
|
|
47291
|
+
}
|
|
47292
|
+
};
|
|
47293
|
+
})) !== null && _partlist$featureRefs4 !== void 0 ? _partlist$featureRefs4 : []), [{
|
|
47294
|
+
headerName: 'backoffice.idmCatalog.optionCombinations.label.newFeature',
|
|
47295
|
+
field: 'featureRefs',
|
|
47296
|
+
editable: false,
|
|
47297
|
+
filter: false,
|
|
47298
|
+
headerComponent: 'editColumnHeader',
|
|
47299
|
+
headerComponentParams: {
|
|
47300
|
+
onChange: addFeature,
|
|
47301
|
+
editorElement: 'lookup',
|
|
47302
|
+
editorElementProps: {
|
|
47303
|
+
nameField: 'featureRefsDisplayTexts',
|
|
47304
|
+
apiInterface: {
|
|
47305
|
+
read: apiConfig.idmService + '/catalogs/${catalogId}/allfeatures'
|
|
47306
|
+
},
|
|
47307
|
+
filter: function filter(_, lookupData) {
|
|
47308
|
+
var _partlist$featureRefs8;
|
|
47309
|
+
return !((_partlist$featureRefs8 = partlist.featureRefs) !== null && _partlist$featureRefs8 !== void 0 && _partlist$featureRefs8.includes(lookupData.featureNo));
|
|
47310
|
+
},
|
|
47311
|
+
lookupValue: 'featureText',
|
|
47312
|
+
lookupKey: 'featureNo',
|
|
47313
|
+
lookupKeyFilterType: {
|
|
47314
|
+
type: 'equals',
|
|
47315
|
+
filterType: 'number'
|
|
47316
|
+
},
|
|
47317
|
+
multiple: false,
|
|
47318
|
+
translated: true
|
|
47319
|
+
}
|
|
47320
|
+
}
|
|
47321
|
+
}, {
|
|
47322
|
+
headerName: 'backoffice.idmCatalog.optionCombinations.label.setPosCountValue',
|
|
47323
|
+
field: 'actions',
|
|
47324
|
+
cellDataType: 'number',
|
|
47325
|
+
required: false,
|
|
47326
|
+
customParams: {
|
|
47327
|
+
useParser: true,
|
|
47328
|
+
useFormatter: true
|
|
47329
|
+
},
|
|
47330
|
+
valueFormatter: function valueFormatter(_ref2) {
|
|
47331
|
+
var value = _ref2.value;
|
|
47332
|
+
if (Array.isArray(value)) {
|
|
47333
|
+
var _action$split$;
|
|
47334
|
+
var action = value.find(function (a) {
|
|
47335
|
+
return a.startsWith('SET_POS_COUNT_VALUE');
|
|
47336
|
+
});
|
|
47337
|
+
return action != null ? String((_action$split$ = action.split(':')[1]) !== null && _action$split$ !== void 0 ? _action$split$ : '') : '';
|
|
47338
|
+
}
|
|
47339
|
+
return '';
|
|
47340
|
+
},
|
|
47341
|
+
valueParser: function valueParser(_ref3) {
|
|
47342
|
+
var newValue = _ref3.newValue;
|
|
47343
|
+
if (newValue == '') return undefined;
|
|
47344
|
+
return ["SET_POS_COUNT_VALUE:".concat(newValue)];
|
|
47345
|
+
},
|
|
47346
|
+
additionalFields: ['countOptionCombination', 'projectActions']
|
|
47347
|
+
}, {
|
|
47348
|
+
field: 'decisionPosCount',
|
|
47349
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.decisionPosCount',
|
|
47350
|
+
cellDataType: 'lookup',
|
|
47351
|
+
editable: false,
|
|
47352
|
+
customParams: {
|
|
47353
|
+
filterCellType: 'number',
|
|
47354
|
+
nameField: 'decisionPosCountDisplayText',
|
|
47355
|
+
displayLabelTemplate: '${name} (${value})',
|
|
47356
|
+
apiInterface: {
|
|
47357
|
+
read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
|
|
47358
|
+
},
|
|
47359
|
+
lookupValue: 'decisionText',
|
|
47360
|
+
lookupKey: 'decisionNo',
|
|
47361
|
+
lookupKeyFilterType: {
|
|
47362
|
+
type: 'equals',
|
|
47363
|
+
filterType: 'number'
|
|
47364
|
+
},
|
|
47365
|
+
multiple: false,
|
|
47366
|
+
translated: true
|
|
47367
|
+
},
|
|
47368
|
+
additionalFields: ['decisionPosCountDisplayText'],
|
|
47369
|
+
isDictionary: true
|
|
47243
47370
|
}, {
|
|
47244
47371
|
field: 'itemRefSerieNo',
|
|
47245
47372
|
required: true,
|
|
@@ -47286,9 +47413,9 @@ function PartlistPos(_ref) {
|
|
|
47286
47413
|
},
|
|
47287
47414
|
additionalFields: ['itemRefTypeNoDisplayText'],
|
|
47288
47415
|
isDictionary: true,
|
|
47289
|
-
editable: function editable(
|
|
47290
|
-
var data =
|
|
47291
|
-
context =
|
|
47416
|
+
editable: function editable(_ref4) {
|
|
47417
|
+
var data = _ref4.data,
|
|
47418
|
+
context = _ref4.context;
|
|
47292
47419
|
return (context === null || context === void 0 ? void 0 : context.isPasting) || !!data.itemRefSerieNo;
|
|
47293
47420
|
}
|
|
47294
47421
|
}, {
|
|
@@ -47315,28 +47442,10 @@ function PartlistPos(_ref) {
|
|
|
47315
47442
|
additionalFields: ['decisionRefsDisplayTexts'],
|
|
47316
47443
|
isDictionary: true
|
|
47317
47444
|
}, {
|
|
47318
|
-
field: '
|
|
47319
|
-
headerName: 'backoffice.idmCatalog.partlistpos.label.
|
|
47320
|
-
|
|
47321
|
-
|
|
47322
|
-
customParams: {
|
|
47323
|
-
filterCellType: 'number',
|
|
47324
|
-
nameField: 'decisionPosCountDisplayText',
|
|
47325
|
-
displayLabelTemplate: '${name} (${value})',
|
|
47326
|
-
apiInterface: {
|
|
47327
|
-
read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
|
|
47328
|
-
},
|
|
47329
|
-
lookupValue: 'decisionText',
|
|
47330
|
-
lookupKey: 'decisionNo',
|
|
47331
|
-
lookupKeyFilterType: {
|
|
47332
|
-
type: 'equals',
|
|
47333
|
-
filterType: 'number'
|
|
47334
|
-
},
|
|
47335
|
-
multiple: false,
|
|
47336
|
-
translated: true
|
|
47337
|
-
},
|
|
47338
|
-
additionalFields: ['decisionPosCountDisplayText'],
|
|
47339
|
-
isDictionary: true
|
|
47445
|
+
field: 'sequenceNo',
|
|
47446
|
+
headerName: 'backoffice.idmCatalog.partlistpos.label.sequenceNo',
|
|
47447
|
+
required: true,
|
|
47448
|
+
cellDataType: 'number'
|
|
47340
47449
|
}, {
|
|
47341
47450
|
headerName: 'backoffice.idmCatalog.partlistpos.label.posCountValue',
|
|
47342
47451
|
field: 'posCountValue',
|
|
@@ -47391,9 +47500,15 @@ function PartlistPos(_ref) {
|
|
|
47391
47500
|
lockVisible: true,
|
|
47392
47501
|
suppressColumnsToolPanel: true,
|
|
47393
47502
|
defaultValue: '${catalogId}'
|
|
47394
|
-
}
|
|
47503
|
+
}, {
|
|
47504
|
+
field: 'optionsSetRefs',
|
|
47505
|
+
hide: true,
|
|
47506
|
+
lockVisible: true,
|
|
47507
|
+
suppressColumnsToolPanel: true,
|
|
47508
|
+
defaultValue: {}
|
|
47509
|
+
}])
|
|
47395
47510
|
};
|
|
47396
|
-
}, [apiInterface, visibility]);
|
|
47511
|
+
}, [addFeature, apiConfig.idmService, apiInterface, catalog._id, partlist, removeFeature, visibility]);
|
|
47397
47512
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
47398
47513
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
47399
47514
|
title: /*#__PURE__*/jsx("div", {
|
|
@@ -47443,6 +47558,7 @@ function PartlistPos(_ref) {
|
|
|
47443
47558
|
var TablePartlists = observer(function () {
|
|
47444
47559
|
var _useTranslation = useTranslation(),
|
|
47445
47560
|
t = _useTranslation.t;
|
|
47561
|
+
var spreadsheetRef = useRef(null);
|
|
47446
47562
|
var _useModule = useModule(['partlists']),
|
|
47447
47563
|
selectedCatalog = _useModule.selectedCatalog,
|
|
47448
47564
|
catalogId = _useModule.catalogId,
|
|
@@ -47456,6 +47572,13 @@ var TablePartlists = observer(function () {
|
|
|
47456
47572
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
47457
47573
|
selectedPartlist = _React$useState2[0],
|
|
47458
47574
|
setSelectedPartlist = _React$useState2[1];
|
|
47575
|
+
var _React$useState3 = React.useState(),
|
|
47576
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
47577
|
+
selectedNodeId = _React$useState4[0],
|
|
47578
|
+
setSelectedNodeId = _React$useState4[1];
|
|
47579
|
+
var setNodeDataValue = useCallback(function (data) {
|
|
47580
|
+
spreadsheetRef.current.setNodeDataValue(selectedNodeId, data);
|
|
47581
|
+
}, [selectedNodeId]);
|
|
47459
47582
|
useTools({
|
|
47460
47583
|
mainInformationWindowCodex: 'IDM_PARTLISTS_TABLE_INFO',
|
|
47461
47584
|
catalog: selectedCatalog,
|
|
@@ -47471,7 +47594,8 @@ var TablePartlists = observer(function () {
|
|
|
47471
47594
|
organizationId: organizationId,
|
|
47472
47595
|
catalog: selectedCatalog,
|
|
47473
47596
|
apiConfig: apiConfig,
|
|
47474
|
-
partlist: selectedPartlist
|
|
47597
|
+
partlist: selectedPartlist,
|
|
47598
|
+
setNodeDataValue: setNodeDataValue
|
|
47475
47599
|
},
|
|
47476
47600
|
condition: function condition() {
|
|
47477
47601
|
return (selectedPartlist === null || selectedPartlist === void 0 ? void 0 : selectedPartlist._id) !== undefined;
|
|
@@ -47487,14 +47611,34 @@ var TablePartlists = observer(function () {
|
|
|
47487
47611
|
var hooks = useMemo(function () {
|
|
47488
47612
|
return {
|
|
47489
47613
|
onCellSelectionChanged: function onCellSelectionChanged(event) {
|
|
47490
|
-
if (event.selection.length
|
|
47491
|
-
setSelectedPartlist(
|
|
47492
|
-
|
|
47493
|
-
|
|
47614
|
+
if (event.selection.length === 0) {
|
|
47615
|
+
setSelectedPartlist(undefined);
|
|
47616
|
+
setSelectedNodeId(undefined);
|
|
47617
|
+
return;
|
|
47618
|
+
}
|
|
47619
|
+
var firstNodeId = event.selection[0].node.id;
|
|
47620
|
+
var allSameNode = event.selection.every(function (selection) {
|
|
47621
|
+
return selection.node.id === firstNodeId;
|
|
47622
|
+
});
|
|
47623
|
+
if (!allSameNode) {
|
|
47624
|
+
setSelectedPartlist(undefined);
|
|
47625
|
+
setSelectedNodeId(undefined);
|
|
47626
|
+
return;
|
|
47627
|
+
}
|
|
47628
|
+
setSelectedPartlist(event.selection[0].node.data);
|
|
47629
|
+
setSelectedNodeId(firstNodeId);
|
|
47630
|
+
},
|
|
47631
|
+
onDataUpdated: function onDataUpdated(event) {
|
|
47632
|
+
var current = event.updates.find(function (update) {
|
|
47633
|
+
var _update$node, _update$node2;
|
|
47634
|
+
return ((_update$node = update.node) === null || _update$node === void 0 ? void 0 : _update$node.id) && ((_update$node2 = update.node) === null || _update$node2 === void 0 ? void 0 : _update$node2.id) === selectedNodeId;
|
|
47635
|
+
});
|
|
47636
|
+
if (current) {
|
|
47637
|
+
setSelectedPartlist(current.data);
|
|
47494
47638
|
}
|
|
47495
47639
|
}
|
|
47496
47640
|
};
|
|
47497
|
-
}, []);
|
|
47641
|
+
}, [selectedNodeId]);
|
|
47498
47642
|
var apiInterface = useMemo(function () {
|
|
47499
47643
|
return {
|
|
47500
47644
|
read: apiConfig.idmService + '/catalogs/${catalogId}/partlists',
|
|
@@ -47517,6 +47661,24 @@ var TablePartlists = observer(function () {
|
|
|
47517
47661
|
}, {
|
|
47518
47662
|
field: 'comment',
|
|
47519
47663
|
headerName: 'backoffice.idmCatalog.partlist.label.comment'
|
|
47664
|
+
}, {
|
|
47665
|
+
field: 'featureRefs',
|
|
47666
|
+
headerName: 'backoffice.idmCatalogEditor.items.label.featureRefs',
|
|
47667
|
+
cellDataType: 'lookup',
|
|
47668
|
+
editable: true,
|
|
47669
|
+
customParams: {
|
|
47670
|
+
nameField: 'featureRefsDisplayTexts',
|
|
47671
|
+
displayLabelTemplate: '${name} (${value})',
|
|
47672
|
+
apiInterface: {
|
|
47673
|
+
read: apiConfig.idmService + '/catalogs/${catalogId}/allfeatures'
|
|
47674
|
+
},
|
|
47675
|
+
lookupValue: 'featureText',
|
|
47676
|
+
lookupKey: 'featureNo',
|
|
47677
|
+
multiple: true,
|
|
47678
|
+
translated: true
|
|
47679
|
+
},
|
|
47680
|
+
additionalFields: ['featureRefsDisplayTexts'],
|
|
47681
|
+
isDictionary: true
|
|
47520
47682
|
}, {
|
|
47521
47683
|
headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
|
|
47522
47684
|
field: 'lastUpdatedDate',
|
|
@@ -47574,6 +47736,7 @@ var TablePartlists = observer(function () {
|
|
|
47574
47736
|
})]
|
|
47575
47737
|
})
|
|
47576
47738
|
}), selectedCatalog && /*#__PURE__*/jsx(Spreadsheet, {
|
|
47739
|
+
ref: spreadsheetRef,
|
|
47577
47740
|
gridId: 'crud-grid_partlists',
|
|
47578
47741
|
applicationData: applicationData,
|
|
47579
47742
|
hooks: hooks,
|
|
@@ -49976,6 +50139,7 @@ var SERVICES = [{
|
|
|
49976
50139
|
urlKey: 'reportService',
|
|
49977
50140
|
runtime: 'dotnet',
|
|
49978
50141
|
pingPath: '/ping',
|
|
50142
|
+
refreshPath: '/Report/cache/invalidate',
|
|
49979
50143
|
noStats: true
|
|
49980
50144
|
}, {
|
|
49981
50145
|
key: 'idm',
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import { DivaSpreadsheetHooks } from '@crystaldesign/spreadsheet';
|
|
4
|
-
export default function PartlistPos({ organizationId, catalog, partlist, apiConfig, hooks, }: {
|
|
4
|
+
export default function PartlistPos({ organizationId, catalog, partlist, apiConfig, hooks, setNodeDataValue, }: {
|
|
5
5
|
organizationId: string;
|
|
6
6
|
catalog: any;
|
|
7
7
|
partlist: any;
|
|
8
8
|
apiConfig: ApiConfig;
|
|
9
9
|
hooks?: DivaSpreadsheetHooks<any>;
|
|
10
|
+
setNodeDataValue: (data: Record<string, any>) => boolean;
|
|
10
11
|
}): React.JSX.Element;
|
|
11
12
|
//# sourceMappingURL=PartlistPos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAQnH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,GACjB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBAsWA"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAmB5D,eAAO,MAAM,cAAc;;CAqMzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "26.5.0-beta.
|
|
3
|
+
"version": "26.5.0-beta.49",
|
|
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": "6.1.0",
|
|
17
17
|
"@babel/runtime": "7.24.7",
|
|
18
|
-
"@crystaldesign/content-box": "26.5.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "26.5.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "26.5.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "26.5.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "26.5.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "26.5.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "26.5.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "26.5.0-beta.49",
|
|
19
|
+
"@crystaldesign/content-item": "26.5.0-beta.49",
|
|
20
|
+
"@crystaldesign/diva-core": "26.5.0-beta.49",
|
|
21
|
+
"@crystaldesign/diva-utils": "26.5.0-beta.49",
|
|
22
|
+
"@crystaldesign/media-upload": "26.5.0-beta.49",
|
|
23
|
+
"@crystaldesign/rtf-editor": "26.5.0-beta.49",
|
|
24
|
+
"@crystaldesign/spreadsheet": "26.5.0-beta.49",
|
|
25
25
|
"@google/genai": "^1.22.0",
|
|
26
26
|
"@google/model-viewer": "3.5.0",
|
|
27
27
|
"ag-charts-community": "^10.1.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
},
|
|
54
54
|
"module": "build/esm/index.js",
|
|
55
55
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "99a02aba9d41b197895b3e90c9d1032284e049bb"
|
|
57
57
|
}
|