@crystaldesign/diva-backoffice 25.14.0-rc.8 → 25.15.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 +149 -95
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/Fields/Media/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/components/PrefilterSelectors/SeriesSelector.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/SelectSimple/useSelectSimpleData.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -4509,8 +4509,14 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4509
4509
|
targetField: 'previewImage',
|
|
4510
4510
|
sourceField: 'previewImage'
|
|
4511
4511
|
}, {
|
|
4512
|
-
targetField: '
|
|
4513
|
-
|
|
4512
|
+
targetField: 'previewImageRef',
|
|
4513
|
+
sourceField: 'previewImageRef'
|
|
4514
|
+
}, {
|
|
4515
|
+
targetField: 'previewImageId',
|
|
4516
|
+
sourceField: 'previewImageId'
|
|
4517
|
+
}, {
|
|
4518
|
+
targetField: 'isGlobal',
|
|
4519
|
+
sourceField: 'isGlobal'
|
|
4514
4520
|
}]
|
|
4515
4521
|
}
|
|
4516
4522
|
},
|
|
@@ -4562,13 +4568,25 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4562
4568
|
type: 'media',
|
|
4563
4569
|
width: 100,
|
|
4564
4570
|
align: 'center'
|
|
4571
|
+
}, {
|
|
4572
|
+
title: t('backoffice.table.prompts.columns.isGlobal'),
|
|
4573
|
+
field: 'isGlobal',
|
|
4574
|
+
sorter: 1,
|
|
4575
|
+
filter: 'advanced',
|
|
4576
|
+
type: 'boolean',
|
|
4577
|
+
width: 150
|
|
4578
|
+
}, {
|
|
4579
|
+
title: t('backoffice.table.prompts.columns.organizations'),
|
|
4580
|
+
field: 'organizations',
|
|
4581
|
+
type: 'boolean',
|
|
4582
|
+
width: 150
|
|
4565
4583
|
}, {
|
|
4566
4584
|
title: t('backoffice.table.prompts.columns.archived'),
|
|
4567
4585
|
field: 'archived',
|
|
4568
4586
|
sorter: 1,
|
|
4569
4587
|
filter: 'advanced',
|
|
4570
4588
|
type: 'boolean',
|
|
4571
|
-
width:
|
|
4589
|
+
width: 150
|
|
4572
4590
|
}, {
|
|
4573
4591
|
title: t('backoffice.table.prompts.columns.defaultPrompt'),
|
|
4574
4592
|
field: 'defaultPrompt',
|
|
@@ -4595,12 +4613,6 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4595
4613
|
sorter: 1,
|
|
4596
4614
|
filter: 'advanced',
|
|
4597
4615
|
width: 200
|
|
4598
|
-
}, {
|
|
4599
|
-
title: t('backoffice.table.medien.columns.title.organizationId'),
|
|
4600
|
-
field: 'organizationId',
|
|
4601
|
-
sorter: 1,
|
|
4602
|
-
filter: 'advanced',
|
|
4603
|
-
width: 160
|
|
4604
4616
|
}],
|
|
4605
4617
|
rowAction: [{
|
|
4606
4618
|
actionType: 'Detail',
|
|
@@ -4616,20 +4628,19 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
4616
4628
|
id: 'FormShowPrompt',
|
|
4617
4629
|
title: t('backoffice.table.prompt.show'),
|
|
4618
4630
|
label: t('backoffice.show')
|
|
4631
|
+
}, {
|
|
4632
|
+
actionType: 'Detail',
|
|
4633
|
+
type: 'RelationSelector',
|
|
4634
|
+
id: 'SelectorPromptOrganizations',
|
|
4635
|
+
title: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label'),
|
|
4636
|
+
label: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label')
|
|
4619
4637
|
}],
|
|
4620
4638
|
apiInterface: {
|
|
4621
4639
|
read: {
|
|
4622
|
-
list: '${aiService}/prompts
|
|
4640
|
+
list: '${aiService}/prompts',
|
|
4623
4641
|
filterServerSide: true
|
|
4624
4642
|
},
|
|
4625
4643
|
"delete": '${aiService}/prompts/${id}'
|
|
4626
|
-
},
|
|
4627
|
-
mapping: {
|
|
4628
|
-
type: 'query',
|
|
4629
|
-
map: [{
|
|
4630
|
-
globalValue: 'organizationId',
|
|
4631
|
-
targetField: 'organizationId'
|
|
4632
|
-
}]
|
|
4633
4644
|
}
|
|
4634
4645
|
},
|
|
4635
4646
|
TableApplicationTranslations: {
|
|
@@ -7865,9 +7876,6 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7865
7876
|
label: t('backoffice.table.prompts.columns.archived'),
|
|
7866
7877
|
type: 'checkbox',
|
|
7867
7878
|
defaultValue: false
|
|
7868
|
-
}, {
|
|
7869
|
-
name: 'organizationId',
|
|
7870
|
-
hidden: true
|
|
7871
7879
|
}]
|
|
7872
7880
|
},
|
|
7873
7881
|
FormShowPrompt: {
|
|
@@ -7959,9 +7967,6 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
7959
7967
|
label: t('backoffice.table.prompts.columns.archived'),
|
|
7960
7968
|
type: 'checkbox',
|
|
7961
7969
|
readonly: true
|
|
7962
|
-
}, {
|
|
7963
|
-
name: 'organizationId',
|
|
7964
|
-
hidden: true
|
|
7965
7970
|
}]
|
|
7966
7971
|
},
|
|
7967
7972
|
FormOrganizationUserDetails: {
|
|
@@ -13253,6 +13258,62 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
|
|
|
13253
13258
|
}
|
|
13254
13259
|
}
|
|
13255
13260
|
},
|
|
13261
|
+
SelectorPromptOrganizations: {
|
|
13262
|
+
type: 'RelationSelector',
|
|
13263
|
+
searchApiInterface: {
|
|
13264
|
+
read: '${authService}/v2/organizations'
|
|
13265
|
+
},
|
|
13266
|
+
apiInterface: {
|
|
13267
|
+
read: '${aiService}/prompts/${promptId}/organizations',
|
|
13268
|
+
create: '${aiService}/prompts/${promptId}/organizations/${organizationId}',
|
|
13269
|
+
"delete": '${aiService}/prompts/${promptId}/organizations/${organizationId}'
|
|
13270
|
+
},
|
|
13271
|
+
configuration: {
|
|
13272
|
+
download: false,
|
|
13273
|
+
readListMapping: {
|
|
13274
|
+
type: 'query',
|
|
13275
|
+
map: [{
|
|
13276
|
+
sourceField: '_id',
|
|
13277
|
+
targetField: 'promptId'
|
|
13278
|
+
}]
|
|
13279
|
+
},
|
|
13280
|
+
deleteMapping: {
|
|
13281
|
+
type: 'query',
|
|
13282
|
+
map: [{
|
|
13283
|
+
sourceField: '_id',
|
|
13284
|
+
targetField: 'promptId'
|
|
13285
|
+
}, {
|
|
13286
|
+
sourceField: 'relatedId',
|
|
13287
|
+
targetField: 'organizationId'
|
|
13288
|
+
}]
|
|
13289
|
+
},
|
|
13290
|
+
createMapping: {
|
|
13291
|
+
type: 'query',
|
|
13292
|
+
map: [{
|
|
13293
|
+
sourceField: '_id',
|
|
13294
|
+
targetField: 'promptId'
|
|
13295
|
+
}, {
|
|
13296
|
+
sourceField: 'relatedId',
|
|
13297
|
+
targetField: 'organizationId'
|
|
13298
|
+
}]
|
|
13299
|
+
},
|
|
13300
|
+
search: {
|
|
13301
|
+
fields: ['_id', 'displayName']
|
|
13302
|
+
},
|
|
13303
|
+
functionalities: {
|
|
13304
|
+
canDelete: true,
|
|
13305
|
+
canEdit: false
|
|
13306
|
+
},
|
|
13307
|
+
filter: {
|
|
13308
|
+
fields: ['_id', 'displayName'],
|
|
13309
|
+
type: 'default'
|
|
13310
|
+
},
|
|
13311
|
+
list: {
|
|
13312
|
+
title: ['displayName'],
|
|
13313
|
+
description: ['_id']
|
|
13314
|
+
}
|
|
13315
|
+
}
|
|
13316
|
+
},
|
|
13256
13317
|
MediaUploadOrganizationLogoMobile: {
|
|
13257
13318
|
type: 'MediaUpload',
|
|
13258
13319
|
size: 'medium',
|
|
@@ -15262,12 +15323,6 @@ var menu = [{
|
|
|
15262
15323
|
path: 'contentitems',
|
|
15263
15324
|
label: 'backoffice.menu.items.label.ContentItems',
|
|
15264
15325
|
icon: 'OrderedListOutlined'
|
|
15265
|
-
}, {
|
|
15266
|
-
id: 'TablePrompts',
|
|
15267
|
-
path: 'prompts',
|
|
15268
|
-
label: 'backoffice.menu.items.label.Prompts',
|
|
15269
|
-
icon: 'OpenAIOutlined',
|
|
15270
|
-
permission: 'backoffice_prompts'
|
|
15271
15326
|
}, {
|
|
15272
15327
|
id: 'idmTables',
|
|
15273
15328
|
path: 'idm',
|
|
@@ -15445,6 +15500,12 @@ var menu = [{
|
|
|
15445
15500
|
label: 'backoffice.menu.items.label.userAdmin',
|
|
15446
15501
|
icon: 'UserOutlined',
|
|
15447
15502
|
permission: 'backoffice_admin_users'
|
|
15503
|
+
}, {
|
|
15504
|
+
id: 'TablePrompts',
|
|
15505
|
+
path: 'prompts',
|
|
15506
|
+
label: 'backoffice.menu.items.label.Prompts',
|
|
15507
|
+
icon: 'OpenAIOutlined',
|
|
15508
|
+
permission: 'backoffice_prompts'
|
|
15448
15509
|
}, {
|
|
15449
15510
|
id: 'mediaAdmin',
|
|
15450
15511
|
path: 'assetmanager',
|
|
@@ -18527,16 +18588,27 @@ function useSelectSimpleData (_ref) {
|
|
|
18527
18588
|
return selected.value;
|
|
18528
18589
|
}, [selected]);
|
|
18529
18590
|
|
|
18530
|
-
//
|
|
18591
|
+
// Sync selection when external value changes
|
|
18531
18592
|
useEffect(function () {
|
|
18532
|
-
if (
|
|
18533
|
-
|
|
18534
|
-
if (
|
|
18535
|
-
|
|
18536
|
-
return item.value;
|
|
18537
|
-
}) : sel.value;
|
|
18538
|
-
onSelectionChanged(selectedValues, sel);
|
|
18593
|
+
if (!options) return;
|
|
18594
|
+
if (value === undefined) {
|
|
18595
|
+
if (selected !== undefined) {
|
|
18596
|
+
setSelected(undefined);
|
|
18539
18597
|
}
|
|
18598
|
+
return;
|
|
18599
|
+
}
|
|
18600
|
+
var sel = findByValue(value, options, selectMapping);
|
|
18601
|
+
if (!sel) return;
|
|
18602
|
+
|
|
18603
|
+
// Compare found option's value with current value
|
|
18604
|
+
var foundValue = Array.isArray(sel) ? sel.map(function (item) {
|
|
18605
|
+
return item.value;
|
|
18606
|
+
}) : sel.value;
|
|
18607
|
+
var valuesMatch = Array.isArray(foundValue) ? Array.isArray(currentValue) && foundValue.length === currentValue.length && foundValue.every(function (v, i) {
|
|
18608
|
+
return v === currentValue[i];
|
|
18609
|
+
}) : foundValue === currentValue;
|
|
18610
|
+
if (!valuesMatch) {
|
|
18611
|
+
onSelectionChanged(foundValue, sel);
|
|
18540
18612
|
}
|
|
18541
18613
|
}, [value, options]);
|
|
18542
18614
|
var setLoadedOptions = function setLoadedOptions(options) {
|
|
@@ -20682,8 +20754,8 @@ function Media (_ref) {
|
|
|
20682
20754
|
value = _ref.value,
|
|
20683
20755
|
state = _ref.state,
|
|
20684
20756
|
absoluteName = _ref.absoluteName;
|
|
20685
|
-
var mediaItemRefIdPath = item.mediaItemRefField ? absoluteName.slice(0, -1).concat(item.mediaItemRefField) :
|
|
20686
|
-
var urlPath = item.urlField ? absoluteName.slice(0, -1).concat(item.urlField) :
|
|
20757
|
+
var mediaItemRefIdPath = Array.isArray(absoluteName) && item.mediaItemRefField ? absoluteName.slice(0, -1).concat(item.mediaItemRefField) : item.mediaItemRefField;
|
|
20758
|
+
var urlPath = Array.isArray(absoluteName) && item.urlField ? absoluteName.slice(0, -1).concat(item.urlField) : item.urlField;
|
|
20687
20759
|
var mediaItemRefId = mediaItemRefIdPath ? state.getData(mediaItemRefIdPath, state.data) : undefined;
|
|
20688
20760
|
var url = urlPath ? state.getData(urlPath, state.data) : undefined;
|
|
20689
20761
|
var _React$useState = React.useState(),
|
|
@@ -39527,6 +39599,9 @@ var useSeriesSelector = function useSeriesSelector(modules) {
|
|
|
39527
39599
|
label: "${seriesName.".concat(i18n.language.toLocaleUpperCase(), "} (${serieNo})"),
|
|
39528
39600
|
value: '${_id}'
|
|
39529
39601
|
};
|
|
39602
|
+
useEffect(function () {
|
|
39603
|
+
setSelected(selectedSerie);
|
|
39604
|
+
}, [selectedSerie]);
|
|
39530
39605
|
var fetchSerie = /*#__PURE__*/function () {
|
|
39531
39606
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newSerie) {
|
|
39532
39607
|
var _seriesSelectorState$, _seriesSelectorState$2;
|
|
@@ -40224,7 +40299,7 @@ var TableItems = observer(function () {
|
|
|
40224
40299
|
serie: selectedSerie,
|
|
40225
40300
|
setSerie: setSelectedSerie,
|
|
40226
40301
|
setArticle: setSelectedItem,
|
|
40227
|
-
item: selectedItem
|
|
40302
|
+
item: selectedItem
|
|
40228
40303
|
});
|
|
40229
40304
|
var hooks = useMemo(function () {
|
|
40230
40305
|
return {
|
|
@@ -40773,38 +40848,24 @@ var TableFeatures$2 = observer(function () {
|
|
|
40773
40848
|
apiConfig = _useModule.apiConfig,
|
|
40774
40849
|
setSelectedSerie = _useModule.setSelectedSerie,
|
|
40775
40850
|
setSelectedItem = _useModule.setSelectedItem;
|
|
40776
|
-
|
|
40777
|
-
|
|
40778
|
-
|
|
40779
|
-
|
|
40780
|
-
|
|
40781
|
-
|
|
40782
|
-
|
|
40783
|
-
|
|
40784
|
-
|
|
40785
|
-
|
|
40786
|
-
|
|
40787
|
-
|
|
40788
|
-
|
|
40789
|
-
|
|
40790
|
-
}
|
|
40791
|
-
}]
|
|
40792
|
-
}),
|
|
40793
|
-
updateConfigurator = _useTools.updateConfigurator;
|
|
40794
|
-
var ref = useRef(null);
|
|
40795
|
-
var hooks = useMemo(function () {
|
|
40796
|
-
return {
|
|
40797
|
-
onCellSelectionChanged: function onCellSelectionChanged(event) {
|
|
40798
|
-
// Check if all selections are from the same node
|
|
40799
|
-
if (event.selection.length == 1) {
|
|
40800
|
-
var _event$selection$;
|
|
40801
|
-
updateConfigurator({
|
|
40802
|
-
opt: (_event$selection$ = event.selection[0]) === null || _event$selection$ === void 0 || (_event$selection$ = _event$selection$.node) === null || _event$selection$ === void 0 || (_event$selection$ = _event$selection$.data) === null || _event$selection$ === void 0 ? void 0 : _event$selection$.featureNo
|
|
40803
|
-
});
|
|
40804
|
-
}
|
|
40851
|
+
useTools({
|
|
40852
|
+
catalog: selectedCatalog,
|
|
40853
|
+
setSerie: setSelectedSerie,
|
|
40854
|
+
setArticle: setSelectedItem,
|
|
40855
|
+
conditionalTools: [{
|
|
40856
|
+
id: 'globalfeatures',
|
|
40857
|
+
name: t('backoffice.menu.features.label.IDMGlobalFeatures'),
|
|
40858
|
+
elementComponent: Features$1,
|
|
40859
|
+
elementProps: {
|
|
40860
|
+
readOnly: true
|
|
40861
|
+
},
|
|
40862
|
+
where: 'right',
|
|
40863
|
+
condition: function condition() {
|
|
40864
|
+
return selectedCatalog !== undefined;
|
|
40805
40865
|
}
|
|
40806
|
-
}
|
|
40807
|
-
}
|
|
40866
|
+
}]
|
|
40867
|
+
});
|
|
40868
|
+
var ref = useRef(null);
|
|
40808
40869
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
40809
40870
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
40810
40871
|
title: /*#__PURE__*/jsxs("div", {
|
|
@@ -40864,7 +40925,6 @@ var TableFeatures$2 = observer(function () {
|
|
|
40864
40925
|
}), selectedCatalog && /*#__PURE__*/jsx(Features$2, {
|
|
40865
40926
|
organizationId: organizationId,
|
|
40866
40927
|
selectedCatalog: selectedCatalog,
|
|
40867
|
-
hooks: hooks,
|
|
40868
40928
|
apiConfig: apiConfig,
|
|
40869
40929
|
ref: ref
|
|
40870
40930
|
})]
|
|
@@ -41047,27 +41107,15 @@ var TableOptions$1 = observer(function () {
|
|
|
41047
41107
|
apiConfig = _useModule.apiConfig,
|
|
41048
41108
|
organizationId = _useModule.organizationId,
|
|
41049
41109
|
setSelectedSerie = _useModule.setSelectedSerie,
|
|
41050
|
-
setSelectedItem = _useModule.setSelectedItem
|
|
41051
|
-
|
|
41052
|
-
|
|
41053
|
-
|
|
41054
|
-
|
|
41055
|
-
|
|
41056
|
-
|
|
41110
|
+
setSelectedItem = _useModule.setSelectedItem,
|
|
41111
|
+
selectedSerie = _useModule.selectedSerie;
|
|
41112
|
+
useTools({
|
|
41113
|
+
catalog: selectedCatalog,
|
|
41114
|
+
serie: selectedSerie,
|
|
41115
|
+
setSerie: setSelectedSerie,
|
|
41116
|
+
setArticle: setSelectedItem
|
|
41117
|
+
});
|
|
41057
41118
|
var ref = useRef(null);
|
|
41058
|
-
var hooks = useMemo(function () {
|
|
41059
|
-
return {
|
|
41060
|
-
onCellSelectionChanged: function onCellSelectionChanged(event) {
|
|
41061
|
-
// Check if all selections are from the same node
|
|
41062
|
-
if (event.selection.length == 1) {
|
|
41063
|
-
var _event$selection$;
|
|
41064
|
-
updateConfigurator({
|
|
41065
|
-
opv: (_event$selection$ = event.selection[0]) === null || _event$selection$ === void 0 || (_event$selection$ = _event$selection$.node) === null || _event$selection$ === void 0 || (_event$selection$ = _event$selection$.data) === null || _event$selection$ === void 0 ? void 0 : _event$selection$.optionKey
|
|
41066
|
-
});
|
|
41067
|
-
}
|
|
41068
|
-
}
|
|
41069
|
-
};
|
|
41070
|
-
}, [updateConfigurator]);
|
|
41071
41119
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
41072
41120
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
41073
41121
|
title: /*#__PURE__*/jsxs("div", {
|
|
@@ -41109,7 +41157,6 @@ var TableOptions$1 = observer(function () {
|
|
|
41109
41157
|
}), selectedCatalog && /*#__PURE__*/jsx(Options$1, {
|
|
41110
41158
|
organizationId: organizationId,
|
|
41111
41159
|
selectedCatalog: selectedCatalog,
|
|
41112
|
-
hooks: hooks,
|
|
41113
41160
|
apiConfig: apiConfig,
|
|
41114
41161
|
ref: ref
|
|
41115
41162
|
})]
|
|
@@ -46066,6 +46113,11 @@ var CatalogSelection = function CatalogSelection(_ref) {
|
|
|
46066
46113
|
setArticleCodex(undefined);
|
|
46067
46114
|
setSerieProp === null || setSerieProp === void 0 || setSerieProp(cat);
|
|
46068
46115
|
};
|
|
46116
|
+
useEffect(function () {
|
|
46117
|
+
if (options.length > 0 && !serie) {
|
|
46118
|
+
onChange(options[0].value);
|
|
46119
|
+
}
|
|
46120
|
+
}, [options]);
|
|
46069
46121
|
return /*#__PURE__*/jsx("div", {
|
|
46070
46122
|
className: wrapper,
|
|
46071
46123
|
children: /*#__PURE__*/jsx(Select$1, {
|
|
@@ -46082,7 +46134,7 @@ var CatalogSelection$1 = observer(CatalogSelection);
|
|
|
46082
46134
|
function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
46083
46135
|
function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
46084
46136
|
var Wsyiwyg = function Wsyiwyg(_ref) {
|
|
46085
|
-
var _state$serie, _state$serie2, _state$serie3, _state$serie4, _tool$parameters, _state$articleCodex, _state$serie$catalogC, _state$serie5, _state$mask2, _state$serie6, _state$serie$accountI, _state$serie7, _state$mask3;
|
|
46137
|
+
var _tool$elementProps$in, _state$serie, _state$serie2, _state$serie3, _state$serie4, _tool$parameters, _state$articleCodex, _state$serie$catalogC, _state$serie5, _state$mask2, _state$serie6, _state$serie$accountI, _state$serie7, _state$mask3;
|
|
46086
46138
|
var tool = _ref.tool,
|
|
46087
46139
|
toolbar = _ref.toolbar;
|
|
46088
46140
|
var _useDivaCore = useDivaCore(),
|
|
@@ -46123,10 +46175,12 @@ var Wsyiwyg = function Wsyiwyg(_ref) {
|
|
|
46123
46175
|
state.setArticleCodex(undefined);
|
|
46124
46176
|
}
|
|
46125
46177
|
}
|
|
46178
|
+
}, [(_tool$elementProps$in = tool.elementProps.initSerie) === null || _tool$elementProps$in === void 0 ? void 0 : _tool$elementProps$in.serieNo, state.serieList]);
|
|
46179
|
+
useEffect(function () {
|
|
46126
46180
|
if (tool.elementProps.initItem) {
|
|
46127
46181
|
state.setArticleCodex(tool.elementProps.initItem);
|
|
46128
46182
|
}
|
|
46129
|
-
}, [tool.elementProps.initItem
|
|
46183
|
+
}, [tool.elementProps.initItem]);
|
|
46130
46184
|
if (tool.elementProps.onlyPlaceholder) {
|
|
46131
46185
|
return /*#__PURE__*/jsx("div", {});
|
|
46132
46186
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAIzD,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,KAAK,KAAK,GAAG;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAAE,CAAC;8GACwC,KAAK;;;AA0CnH,wBAA0C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAMtD,QAAA,MAAM,OAAO,sBAAuB,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAMzC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAMtD,QAAA,MAAM,OAAO,sBAAuB,SAAS,sBA0G5C,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA6B,MAAM,wBAAwB,CAAC;AAI7E,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAInE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAG1C,MAAM,CAAC,OAAO;IAWA,OAAO,CAAC,IAAI;IAVxB,OAAO,CAAC,MAAM,CAC8F;IAC5G,OAAO,CAAC,KAAK,CAAc;IAC3B,OAAO,CAAC,iBAAiB,CAAkB;IAC3C,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,uBAAuB,CAA+C;IAC9E,SAAgB,YAAY,EAAE,YAAY,CAAC;IAC3C,SAAgB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M,IAAI,EAAE,QAAQ,EAqkB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Form/Fields/Media/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC5C,CAAC;AAEF,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Form/Fields/Media/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC5C,CAAC;AAEF,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,KAAK,qBAmEnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeriesSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelectors/SeriesSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SeriesSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelectors/SeriesSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;uCASd;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE;;;AAqB1D,wBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAgBtC,eAAO,MAAM,aAAa;;CAiExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAatC,eAAO,MAAM,YAAY;;CA0DvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectSimpleData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/SelectSimple/useSelectSimpleData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAiB,MAAM,SAAS,CAAC;AAOvE,MAAM,CAAC,OAAO,WAAW,EACvB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EAAE,iBAAiB,EAC1B,eAAe,EACf,WAAW,GACZ,EAAE,qBAAqB;;;;
|
|
1
|
+
{"version":3,"file":"useSelectSimpleData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/SelectSimple/useSelectSimpleData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAiB,MAAM,SAAS,CAAC;AAOvE,MAAM,CAAC,OAAO,WAAW,EACvB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,KAAK,EACL,OAAO,EAAE,iBAAiB,EAC1B,eAAe,EACf,WAAW,GACZ,EAAE,qBAAqB;;;;sBAgGa,GAAG,UAAU,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;;EAiB9E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.15.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": "25.
|
|
19
|
-
"@crystaldesign/content-item": "25.
|
|
20
|
-
"@crystaldesign/diva-core": "25.
|
|
21
|
-
"@crystaldesign/diva-utils": "25.
|
|
22
|
-
"@crystaldesign/media-upload": "25.
|
|
23
|
-
"@crystaldesign/rtf-editor": "25.
|
|
24
|
-
"@crystaldesign/spreadsheet": "25.
|
|
18
|
+
"@crystaldesign/content-box": "25.15.0-beta.10",
|
|
19
|
+
"@crystaldesign/content-item": "25.15.0-beta.10",
|
|
20
|
+
"@crystaldesign/diva-core": "25.15.0-beta.10",
|
|
21
|
+
"@crystaldesign/diva-utils": "25.15.0-beta.10",
|
|
22
|
+
"@crystaldesign/media-upload": "25.15.0-beta.10",
|
|
23
|
+
"@crystaldesign/rtf-editor": "25.15.0-beta.10",
|
|
24
|
+
"@crystaldesign/spreadsheet": "25.15.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": "0543e0c0c4748ec11e9c2a3e6f7b01ab5aef7c75"
|
|
55
55
|
}
|