@crystaldesign/diva-backoffice 26.10.0-beta.10 → 26.10.0-beta.12

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.
Files changed (21) hide show
  1. package/build/esm/index.js +665 -943
  2. package/build/types/backoffice/src/Configuration.d.ts +3 -2
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
  5. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  6. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useModule.d.ts.map +1 -1
  7. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
  8. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts +6 -0
  9. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts.map +1 -0
  10. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts +8 -0
  11. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -0
  12. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
  13. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts +9 -0
  14. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts.map +1 -0
  15. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts +3 -0
  16. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -0
  17. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/types.d.ts +5 -0
  18. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/types.d.ts.map +1 -0
  19. package/package.json +9 -9
  20. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts +0 -5
  21. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +0 -1
@@ -127,7 +127,7 @@ import QuestionOutlined from '@ant-design/icons/QuestionOutlined';
127
127
  import { TransformWrapper, TransformComponent } from 'react-zoom-pan-pinch';
128
128
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
129
129
  import Descriptions$1 from 'antd/es/descriptions';
130
- import { Spreadsheet as Spreadsheet$1 } from '@crystaldesign/spreadsheet';
130
+ import { Spreadsheet as Spreadsheet$1, applyFilterToAddtionalColumn } from '@crystaldesign/spreadsheet';
131
131
  import Modal$3 from 'antd/es/modal';
132
132
  import Spin$1 from 'antd/es/spin';
133
133
  import Flex from 'antd/es/flex';
@@ -140,6 +140,9 @@ import Checkbox$2 from 'antd/es/checkbox/Checkbox';
140
140
  import EditOutlined$2 from '@ant-design/icons/lib/icons/EditOutlined';
141
141
  import Radio$1 from 'antd/es/radio';
142
142
  import EyeOutlined$1 from '@ant-design/icons/lib/icons/EyeOutlined';
143
+ import Popconfirm$1 from 'antd/es/popconfirm';
144
+ import message$1 from 'antd/es/message';
145
+ import Typography$1 from 'antd/es/typography';
143
146
  import { useTranslation as useTranslation$1 } from 'react-i18next';
144
147
  import InboxOutlined$1 from '@ant-design/icons/lib/icons/InboxOutlined';
145
148
  import JSZip from 'jszip';
@@ -176,12 +179,9 @@ import { WebPlannerReact } from '@crystaldesign/diva-web-planner-react';
176
179
  import * as analyzerComponents from '@crystaldesign/web-planner-analyzer';
177
180
  import isEqual from 'lodash/isEqual';
178
181
  import Input$2 from 'antd/es/input';
179
- import Typography$1 from 'antd/es/typography';
180
182
  import Popover$1 from 'antd/es/popover';
181
183
  import Select$1 from 'antd/es/select';
182
184
  import Slider$1 from 'antd/es/slider';
183
- import message$1 from 'antd/es/message';
184
- import Popconfirm$1 from 'antd/es/popconfirm';
185
185
  import { GoogleGenAI } from '@google/genai';
186
186
 
187
187
  (function() {
@@ -14747,6 +14747,9 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
14747
14747
  IDMCollectionEditor: {
14748
14748
  type: 'IDMCollectionEditor'
14749
14749
  },
14750
+ IDMPropertyDefinitionsEditor: {
14751
+ type: 'IDMPropertyDefinitionsEditor'
14752
+ },
14750
14753
  IDMFeaturesEditor: {
14751
14754
  type: 'IDMFeaturesEditor'
14752
14755
  },
@@ -14840,8 +14843,8 @@ var navMinified = "nav-minified-tSt-a";
14840
14843
  var navOverlay = "nav-overlay-rKJNC";
14841
14844
  var navSettings = "nav-settings-82cjv";
14842
14845
  var menuLabel = "menu-label-4dXQk";
14843
- var css_248z$U = ".nav-minify-button-ZX7dm {\n color: rgba(255, 255, 255, 0.65);\n background: #001529;\n cursor: pointer;\n padding: 10px;\n height: 40px;\n}\n\n.nav-minify-button-ZX7dm:hover {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.06);\n}\n\n.nav-minify-button-ZX7dm .anticon {\n float: right;\n}\n\n.nav-container-JCR24 {\n display: flex;\n min-width: 30px;\n overflow: visible;\n z-index: 10001;\n}\n\n.nav-container-JCR24 .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n}\n\n.nav-minified-tSt-a {\n flex: 0 0 30px !important;\n max-width: 30px !important;\n min-width: 30px !important;\n width: 30px !important;\n}\n\n.nav-minified-tSt-a {\n /* position: absolute !important; */\n height: 100%;\n z-index: 1;\n}\n\n.nav-overlay-rKJNC {\n max-width: 200px !important;\n min-width: 200px !important;\n width: 200px !important;\n}\n\n.nav-minified-tSt-a .ant-menu-root {\n display: none;\n}\n\n.nav-overlay-rKJNC .ant-menu-root {\n display: inline !important;\n display: initial !important;\n}\n\n.nav-settings-82cjv {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: auto 18px 55px;\n}\n\n.nav-container-JCR24 .ant-menu-title-content {\n overflow: visible;\n}\n\n.menu-label-4dXQk {\n display: flex;\n}\n\n.ant-menu .ant-menu-item .menu-label-4dXQk .anticon {\n margin-left: auto;\n margin-right: -6px;\n font-size: 10px;\n}\n\n.menu-label-4dXQk span:first-child {\n width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n";
14844
- styleInject(css_248z$U);
14846
+ var css_248z$V = ".nav-minify-button-ZX7dm {\n color: rgba(255, 255, 255, 0.65);\n background: #001529;\n cursor: pointer;\n padding: 10px;\n height: 40px;\n}\n\n.nav-minify-button-ZX7dm:hover {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.06);\n}\n\n.nav-minify-button-ZX7dm .anticon {\n float: right;\n}\n\n.nav-container-JCR24 {\n display: flex;\n min-width: 30px;\n overflow: visible;\n z-index: 10001;\n}\n\n.nav-container-JCR24 .ant-layout-sider-children {\n display: flex;\n flex-direction: column;\n}\n\n.nav-minified-tSt-a {\n flex: 0 0 30px !important;\n max-width: 30px !important;\n min-width: 30px !important;\n width: 30px !important;\n}\n\n.nav-minified-tSt-a {\n /* position: absolute !important; */\n height: 100%;\n z-index: 1;\n}\n\n.nav-overlay-rKJNC {\n max-width: 200px !important;\n min-width: 200px !important;\n width: 200px !important;\n}\n\n.nav-minified-tSt-a .ant-menu-root {\n display: none;\n}\n\n.nav-overlay-rKJNC .ant-menu-root {\n display: inline !important;\n display: initial !important;\n}\n\n.nav-settings-82cjv {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: auto 18px 55px;\n}\n\n.nav-container-JCR24 .ant-menu-title-content {\n overflow: visible;\n}\n\n.menu-label-4dXQk {\n display: flex;\n}\n\n.ant-menu .ant-menu-item .menu-label-4dXQk .anticon {\n margin-left: auto;\n margin-right: -6px;\n font-size: 10px;\n}\n\n.menu-label-4dXQk span:first-child {\n width: 120px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n";
14847
+ styleInject(css_248z$V);
14845
14848
 
14846
14849
  function MenuLabel (_ref) {
14847
14850
  var disabled = _ref.disabled,
@@ -16264,6 +16267,13 @@ var menu = [{
16264
16267
  permission: 'enricher_collections',
16265
16268
  icon: 'GroupOutlined',
16266
16269
  haSubRoutes: false
16270
+ }, {
16271
+ id: 'IDMPropertyDefinitionsEditor',
16272
+ path: 'propertydefinitions',
16273
+ label: 'backoffice.menu.items.label.PropertyDefinitions',
16274
+ permission: 'enricher_propertydefinitions',
16275
+ icon: 'TagsOutlined',
16276
+ haSubRoutes: false
16267
16277
  }, {
16268
16278
  id: 'IDMOrganizationFeaturesEditor',
16269
16279
  path: 'organizationfeatures',
@@ -19788,8 +19798,8 @@ var Result = function Result(_ref) {
19788
19798
 
19789
19799
  var success = "success-tRJ7j";
19790
19800
  var error = "error-MtAFB";
19791
- var css_248z$T = ".success-tRJ7j {\n color: #fff !important;\n background-color: #449d44 !important;\n border-color: #398439 !important;\n}\n\n.error-MtAFB {\n color: #fff !important;\n background-color: #c9302c !important;\n border-color: #ac2925 !important;\n}\n";
19792
- styleInject(css_248z$T);
19801
+ var css_248z$U = ".success-tRJ7j {\n color: #fff !important;\n background-color: #449d44 !important;\n border-color: #398439 !important;\n}\n\n.error-MtAFB {\n color: #fff !important;\n background-color: #c9302c !important;\n border-color: #ac2925 !important;\n}\n";
19802
+ styleInject(css_248z$U);
19793
19803
 
19794
19804
  var azureIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20width%3D%2248px%22%20height%3D%2248px%22%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6a%22%20x1%3D%22-1254.397%22%20x2%3D%22-1261.911%22%20y1%3D%22877.268%22%20y2%3D%22899.466%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23114a8b%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230669bc%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6a%29%22%20d%3D%22M17.634%2C6h11.305L17.203%2C40.773c-0.247%2C0.733-0.934%2C1.226-1.708%2C1.226H6.697%20c-0.994%2C0-1.8-0.806-1.8-1.8c0-0.196%2C0.032-0.39%2C0.094-0.576L15.926%2C7.227C16.173%2C6.494%2C16.86%2C6%2C17.634%2C6L17.634%2C6z%22%2F%3E%20%3Cpath%20fill%3D%22%230078d4%22%20d%3D%22M34.062%2C29.324H16.135c-0.458-0.001-0.83%2C0.371-0.831%2C0.829c0%2C0.231%2C0.095%2C0.451%2C0.264%2C0.608%20l11.52%2C10.752C27.423%2C41.826%2C27.865%2C42%2C28.324%2C42h10.151L34.062%2C29.324z%22%2F%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6b%22%20x1%3D%22-1252.05%22%20x2%3D%22-1253.788%22%20y1%3D%22887.612%22%20y2%3D%22888.2%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-opacity%3D%22.3%22%2F%3E%20%20%3Cstop%20offset%3D%22.071%22%20stop-opacity%3D%22.2%22%2F%3E%20%20%3Cstop%20offset%3D%22.321%22%20stop-opacity%3D%22.1%22%2F%3E%20%20%3Cstop%20offset%3D%22.623%22%20stop-opacity%3D%22.05%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-opacity%3D%220%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6b%29%22%20d%3D%22M17.634%2C6c-0.783-0.003-1.476%2C0.504-1.712%2C1.25L5.005%2C39.595%20c-0.335%2C0.934%2C0.151%2C1.964%2C1.085%2C2.299C6.286%2C41.964%2C6.493%2C42%2C6.702%2C42h9.026c0.684-0.122%2C1.25-0.603%2C1.481-1.259l2.177-6.416%20l7.776%2C7.253c0.326%2C0.27%2C0.735%2C0.419%2C1.158%2C0.422h10.114l-4.436-12.676l-12.931%2C0.003L28.98%2C6H17.634z%22%2F%3E%20%3ClinearGradient%20id%3D%22k8yl7~hDat~FaoWq8WjN6c%22%20x1%3D%22-1252.952%22%20x2%3D%22-1244.704%22%20y1%3D%22876.6%22%20y2%3D%22898.575%22%20gradientTransform%3D%22translate%281981.75%20-1362.063%29%20scale%281.5625%29%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%20%20%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233ccbf4%22%2F%3E%20%20%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232892df%22%2F%3E%20%3C%2FlinearGradient%3E%20%3Cpath%20fill%3D%22url%28%23k8yl7~hDat~FaoWq8WjN6c%29%22%20d%3D%22M32.074%2C7.225C31.827%2C6.493%2C31.141%2C6%2C30.368%2C6h-12.6c0.772%2C0%2C1.459%2C0.493%2C1.705%2C1.224%20l10.935%2C32.399c0.318%2C0.942-0.188%2C1.963-1.13%2C2.281C29.093%2C41.968%2C28.899%2C42%2C28.703%2C42h12.6c0.994%2C0%2C1.8-0.806%2C1.8-1.801%20c0-0.196-0.032-0.39-0.095-0.575L32.074%2C7.225z%22%2F%3E%3C%2Fsvg%3E";
19795
19805
 
@@ -19853,8 +19863,8 @@ var CustomButton$1 = observer(CustomButton);
19853
19863
 
19854
19864
  var wrapper$7 = "wrapper-GVe2h";
19855
19865
  var buttonGroup = "button-group-GYt-T";
19856
- var css_248z$S = ".wrapper-GVe2h {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}\n\n.button-group-GYt-T {\n display: flex;\n flex-direction: row;\n gap: 12px;\n margin: 0 12px;\n}\n";
19857
- styleInject(css_248z$S);
19866
+ var css_248z$T = ".wrapper-GVe2h {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}\n\n.button-group-GYt-T {\n display: flex;\n flex-direction: row;\n gap: 12px;\n margin: 0 12px;\n}\n";
19867
+ styleInject(css_248z$T);
19858
19868
 
19859
19869
  function ownKeys$1x(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; }
19860
19870
  function _objectSpread$1x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -20157,8 +20167,8 @@ function parseReturnData(options, selectMapping) {
20157
20167
  }
20158
20168
 
20159
20169
  var wrapper$6 = "wrapper-4xyke";
20160
- var css_248z$R = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
20161
- styleInject(css_248z$R);
20170
+ var css_248z$S = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
20171
+ styleInject(css_248z$S);
20162
20172
 
20163
20173
  var _excluded$8 = ["apiInterface", "selectMapping", "apiMapping", "onChange", "value", "search", "options", "autoSelectFirst", "title", "sharedState"];
20164
20174
  function ownKeys$1w(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; }
@@ -21044,8 +21054,8 @@ var customSelectContentWrapper = "custom-select-content-wrapper-v98Ms";
21044
21054
  var customSelectOptionContent = "custom-select-option-content-LIbzl";
21045
21055
  var customSelectAvatar = "custom-select-avatar-DPCn1";
21046
21056
  var customSelectOptionText = "custom-select-option-text-crPF-";
21047
- var css_248z$Q = ".custom-select-container-rPcLx {\n display: flex;\n gap: 8px;\n height: 32px;\n}\n\n.custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-content-wrapper-v98Ms {\n display: flex;\n align-items: center;\n height: 22px;\n}\n\n.custom-select-option-content-LIbzl {\n display: flex;\n align-items: center;\n gap: 8px;\n max-width: 100%;\n height: 100%;\n}\n\n.custom-select-option-content-LIbzl .custom-select-avatar-DPCn1 {\n flex-shrink: 0;\n}\n\n.custom-select-option-content-LIbzl .custom-select-option-text-crPF- {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n";
21048
- styleInject(css_248z$Q);
21057
+ var css_248z$R = ".custom-select-container-rPcLx {\n display: flex;\n gap: 8px;\n height: 32px;\n}\n\n.custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-content-wrapper-v98Ms {\n display: flex;\n align-items: center;\n height: 22px;\n}\n\n.custom-select-option-content-LIbzl {\n display: flex;\n align-items: center;\n gap: 8px;\n max-width: 100%;\n height: 100%;\n}\n\n.custom-select-option-content-LIbzl .custom-select-avatar-DPCn1 {\n flex-shrink: 0;\n}\n\n.custom-select-option-content-LIbzl .custom-select-option-text-crPF- {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n";
21058
+ styleInject(css_248z$R);
21049
21059
 
21050
21060
  var Selector$1 = function Selector(_ref) {
21051
21061
  var items = _ref.items,
@@ -21988,8 +21998,8 @@ function useSelectData (_ref) {
21988
21998
 
21989
21999
  var selectWithCopy = "select-with-copy-r6iEI";
21990
22000
  var selectGrow = "select-grow-Zr2r9";
21991
- var css_248z$P = ".select-with-copy-r6iEI {\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n}\n\n.select-with-copy-r6iEI > .select-grow-Zr2r9 {\n flex: 1;\n min-width: 0;\n}\n\n.darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
21992
- styleInject(css_248z$P);
22001
+ var css_248z$Q = ".select-with-copy-r6iEI {\n display: flex;\n align-items: center;\n gap: 8px;\n width: 100%;\n}\n\n.select-with-copy-r6iEI > .select-grow-Zr2r9 {\n flex: 1;\n min-width: 0;\n}\n\n.darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
22002
+ styleInject(css_248z$Q);
21993
22003
 
21994
22004
  function selectedToClipboardText(selected) {
21995
22005
  if (!(selected !== null && selected !== void 0 && selected.length)) return '';
@@ -22156,8 +22166,8 @@ var Selector = observer(SelectWrapper);
22156
22166
  var wrapper$5 = "wrapper-WStAk";
22157
22167
  var headerWrapper = "header-wrapper-gWQuH";
22158
22168
  var buttonsWrapper$1 = "buttons-wrapper-7ebR9";
22159
- var css_248z$O = ".wrapper-WStAk {\n display: flex;\n flex-direction: column;\n}\n.header-wrapper-gWQuH {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-left: 64px;\n}\n\n.buttons-wrapper-7ebR9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-grow: 1;\n}\n";
22160
- styleInject(css_248z$O);
22169
+ var css_248z$P = ".wrapper-WStAk {\n display: flex;\n flex-direction: column;\n}\n.header-wrapper-gWQuH {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-left: 64px;\n}\n\n.buttons-wrapper-7ebR9 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-grow: 1;\n}\n";
22170
+ styleInject(css_248z$P);
22161
22171
 
22162
22172
  function ownKeys$1t(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; }
22163
22173
  function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -22778,8 +22788,8 @@ var Text$7 = observer(Text$6);
22778
22788
 
22779
22789
  var root$e = "root-Eiuo1";
22780
22790
  var popoverContent = "popoverContent-uExP4";
22781
- var css_248z$N = ".root-Eiuo1 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.popoverContent-uExP4 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 140px;\n}\n";
22782
- styleInject(css_248z$N);
22791
+ var css_248z$O = ".root-Eiuo1 {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.popoverContent-uExP4 {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 140px;\n}\n";
22792
+ styleInject(css_248z$O);
22783
22793
 
22784
22794
  var CustomColorPicker = function CustomColorPicker(_ref) {
22785
22795
  var item = _ref.item,
@@ -24696,8 +24706,8 @@ var parentScroll = "parent-scroll-GmaL9";
24696
24706
  var parent = "parent-NZJ3S";
24697
24707
  var container$8 = "container--O28P";
24698
24708
  var infiniteScrollContainer = "infiniteScrollContainer-8G1wc";
24699
- var css_248z$M = ".permission-Button-XctsZ {\n position: relative;\n top: 25px;\n left: -30px;\n float: right;\n height: 20px;\n z-index: 1000;\n}\n.select-lzft- {\n width: 100%;\n}\n.loadingOption-qCkRw {\n margin-top: 11px;\n padding-left: 500px;\n}\n.scroller-lrdk9 {\n overflow: auto;\n flex: 1;\n min-height: 0;\n}\n\n.skeleton--xCI0 {\n padding-left: 25px;\n padding-bottom: 10px;\n}\n.filterField-1kU1O {\n display: flex;\n gap: 10px;\n}\n.filterField-1kU1O button {\n height: 32px;\n}\n.filterField-1kU1O div {\n height: 32px;\n}\n\n.parent-scroll-GmaL9 {\n overflow: hidden;\n padding: 24px;\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.parent-NZJ3S {\n overflow: auto;\n padding: 24px;\n height: 100%;\n}\n\n.container--O28P {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n\n.infiniteScrollContainer-8G1wc {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n.infiniteScrollContainer-8G1wc .infinite-scroll-component__outerdiv {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n.infiniteScrollContainer-8G1wc .infinite-scroll-component {\n flex: 1 !important;\n min-height: 0 !important;\n height: auto !important;\n display: flex !important;\n flex-direction: column !important;\n}\n";
24700
- styleInject(css_248z$M);
24709
+ var css_248z$N = ".permission-Button-XctsZ {\n position: relative;\n top: 25px;\n left: -30px;\n float: right;\n height: 20px;\n z-index: 1000;\n}\n.select-lzft- {\n width: 100%;\n}\n.loadingOption-qCkRw {\n margin-top: 11px;\n padding-left: 500px;\n}\n.scroller-lrdk9 {\n overflow: auto;\n flex: 1;\n min-height: 0;\n}\n\n.skeleton--xCI0 {\n padding-left: 25px;\n padding-bottom: 10px;\n}\n.filterField-1kU1O {\n display: flex;\n gap: 10px;\n}\n.filterField-1kU1O button {\n height: 32px;\n}\n.filterField-1kU1O div {\n height: 32px;\n}\n\n.parent-scroll-GmaL9 {\n overflow: hidden;\n padding: 24px;\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.parent-NZJ3S {\n overflow: auto;\n padding: 24px;\n height: 100%;\n}\n\n.container--O28P {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n\n.infiniteScrollContainer-8G1wc {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n.infiniteScrollContainer-8G1wc .infinite-scroll-component__outerdiv {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n.infiniteScrollContainer-8G1wc .infinite-scroll-component {\n flex: 1 !important;\n min-height: 0 !important;\n height: auto !important;\n display: flex !important;\n flex-direction: column !important;\n}\n";
24710
+ styleInject(css_248z$N);
24701
24711
 
24702
24712
  function ownKeys$1m(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; }
24703
24713
  function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -25951,8 +25961,8 @@ var newscroller = "newscroller-INKeD";
25951
25961
  var antCollapseHeader = "ant-collapse-header--6FgU";
25952
25962
  var itemTitle = "item-title--BTvC";
25953
25963
  var itemDesc = "item-desc-DBiiF";
25954
- var css_248z$L = ".diva-component-DIVA_BACKOFFICE_NEW .title-cl-ZAj2y {\n color: black;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .description-m3mNY {\n color: grey;\n flex: 1 1 100%;\n margin-left: 25px;\n margin-top: -25px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-group-xWnj- {\n /* border-bottom: 1px solid black; */\n margin-bottom: 40px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .delete-item-otdSr {\n cursor: pointer;\n position: relative;\n float: right;\n top: 13px;\n margin-right: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .newscroller-INKeD {\n overflow: auto;\n height: 400px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-collapse-header--6FgU div {\n flex-wrap: wrap !important;\n}\n.diva-component-DIVA_BACKOFFICE_NEW a .item-title--BTvC {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.85);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-desc-DBiiF {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.45);\n}\n";
25955
- styleInject(css_248z$L);
25964
+ var css_248z$M = ".diva-component-DIVA_BACKOFFICE_NEW .title-cl-ZAj2y {\n color: black;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .description-m3mNY {\n color: grey;\n flex: 1 1 100%;\n margin-left: 25px;\n margin-top: -25px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-group-xWnj- {\n /* border-bottom: 1px solid black; */\n margin-bottom: 40px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .delete-item-otdSr {\n cursor: pointer;\n position: relative;\n float: right;\n top: 13px;\n margin-right: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .newscroller-INKeD {\n overflow: auto;\n height: 400px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-collapse-header--6FgU div {\n flex-wrap: wrap !important;\n}\n.diva-component-DIVA_BACKOFFICE_NEW a .item-title--BTvC {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.85);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .item-desc-DBiiF {\n padding: 0 0 0 30px;\n color: rgba(0, 0, 0, 0.45);\n}\n";
25965
+ styleInject(css_248z$M);
25956
25966
 
25957
25967
  function ownKeys$1j(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; }
25958
25968
  function _objectSpread$1j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -27366,8 +27376,8 @@ var jsoneditor = "jsoneditor-WMs15";
27366
27376
  var preview = "preview-9wK81";
27367
27377
  var previewButton = "preview-button-vupuG";
27368
27378
  var editButton = "edit-button-m6r3M";
27369
- var css_248z$K = ".jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-transform {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-repair {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-poweredBy {\n display: none;\n}\n.jsoneditor-WMs15 .preview-9wK81 {\n background-color: #f19e34;\n}\n\n.jsoneditor-WMs15 .preview-button-vupuG {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 19.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 502 502%22 style%3D%22enable-background%3Anew 0 0 502 502%3B%22 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cg%3E%09%09%09%3Cpath d%3D%22M478.482%2C448.601l-101.6-101.599c8.089-15.262%2C12.339-32.29%2C12.339-49.717c0-35.689-18.182-69.164-47.804-88.743V92.53%09%09%09%09c0-2.652-1.054-5.196-2.929-7.071l-82.529-82.53C254.083%2C1.054%2C251.54%2C0%2C248.888%2C0H24.371c-5.522%2C0-10%2C4.477-10%2C10v427.735%09%09%09%09c0%2C5.523%2C4.478%2C10%2C10%2C10h307.046c5.522%2C0%2C10-4.477%2C10-10v-37.722l92.825%2C92.825c5.908%2C5.908%2C13.764%2C9.162%2C22.119%2C9.162%09%09%09%09c8.356%2C0%2C16.212-3.254%2C22.12-9.162C490.678%2C480.642%2C490.678%2C460.797%2C478.482%2C448.601z M307.276%2C82.53h-48.387V34.143%09%09%09%09l24.193%2C24.193L307.276%2C82.53z M321.417%2C396.377v31.358H34.371V20h204.517v72.53c0%2C5.523%2C4.478%2C10%2C10%2C10h72.529v95.662%09%09%09%09l0.009%2C0.014c-12.214-4.741-25.275-7.215-38.499-7.215c-58.61%2C0-106.294%2C47.683-106.294%2C106.293s47.684%2C106.293%2C106.294%2C106.293%09%09%09%09c13.224%2C0%2C26.285-2.474%2C38.499-7.215L321.417%2C396.377z M328.948%2C370.291c-0.848%2C0.536-1.706%2C1.057-2.574%2C1.563%09%09%09%09c-13.131%2C7.67-28.154%2C11.724-43.446%2C11.724c-47.583%2C0-86.294-38.711-86.294-86.293c0-47.582%2C38.711-86.293%2C86.294-86.293%09%09%09%09c15.291%2C0%2C30.315%2C4.054%2C43.447%2C11.724c26.428%2C15.435%2C42.846%2C44.008%2C42.846%2C74.569c0%2C16.35-4.595%2C32.264-13.289%2C46.022%09%09%09%09C349.097%2C354.125%2C339.766%2C363.455%2C328.948%2C370.291z M464.339%2C478.696c-2.131%2C2.131-4.964%2C3.304-7.978%2C3.304%09%09%09%09c-3.014%2C0-5.847-1.173-7.977-3.304l-98.706-98.706l-0.008-0.001c5.856-4.74%2C11.221-10.104%2C15.961-15.96l0.001%2C0.008%09%09%09%09l98.707%2C98.707C468.737%2C467.142%2C468.737%2C474.298%2C464.339%2C478.696z%22%2F%3E%09%09%09%3Cpath d%3D%22M246.838%2C238.403c-20.641%2C12.674-32.964%2C34.686-32.964%2C58.882c0%2C5.523%2C4.478%2C10%2C10%2C10c5.522%2C0%2C10-4.477%2C10-10%09%09%09%09c0-17.19%2C8.759-32.83%2C23.429-41.838c4.707-2.89%2C6.179-9.048%2C3.289-13.754C257.702%2C236.986%2C251.544%2C235.513%2C246.838%2C238.403z%22%2F%3E%09%09%09%3Cpath d%3D%22M317.708%2C237.624c-10.52-6.145-22.547-9.392-34.781-9.392c-5.522%2C0-10%2C4.477-10%2C10s4.478%2C10%2C10%2C10%09%09%09%09c8.693%2C0%2C17.232%2C2.304%2C24.693%2C6.662c1.586%2C0.926%2C3.321%2C1.367%2C5.034%2C1.367c3.438%2C0%2C6.785-1.775%2C8.645-4.958%09%09%09%09C324.085%2C246.533%2C322.477%2C240.409%2C317.708%2C237.624z%22%2F%3E%09%09%3C%2Fg%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-size: 20px;\n background-repeat: no-repeat;\n background-position: center;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:hover {\n border: 0;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:disabled {\n opacity: 0.3;\n}\n\n.jsoneditor-WMs15 .edit-button-m6r3M {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 16.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Capa_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%22494.936px%22 height%3D%22494.936px%22 viewBox%3D%220 0 494.936 494.936%22 style%3D%22enable-background%3Anew 0 0 494.936 494.936%3B%22%09 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cpath d%3D%22M389.844%2C182.85c-6.743%2C0-12.21%2C5.467-12.21%2C12.21v222.968c0%2C23.562-19.174%2C42.735-42.736%2C42.735H67.157%09%09%09c-23.562%2C0-42.736-19.174-42.736-42.735V150.285c0-23.562%2C19.174-42.735%2C42.736-42.735h267.741c6.743%2C0%2C12.21-5.467%2C12.21-12.21%09%09%09s-5.467-12.21-12.21-12.21H67.157C30.126%2C83.13%2C0%2C113.255%2C0%2C150.285v267.743c0%2C37.029%2C30.126%2C67.155%2C67.157%2C67.155h267.741%09%09%09c37.03%2C0%2C67.156-30.126%2C67.156-67.155V195.061C402.054%2C188.318%2C396.587%2C182.85%2C389.844%2C182.85z%22%2F%3E%09%09%3Cpath d%3D%22M483.876%2C20.791c-14.72-14.72-38.669-14.714-53.377%2C0L221.352%2C229.944c-0.28%2C0.28-3.434%2C3.559-4.251%2C5.396l-28.963%2C65.069%09%09%09c-2.057%2C4.619-1.056%2C10.027%2C2.521%2C13.6c2.337%2C2.336%2C5.461%2C3.576%2C8.639%2C3.576c1.675%2C0%2C3.362-0.346%2C4.96-1.057l65.07-28.963%09%09%09c1.83-0.815%2C5.114-3.97%2C5.396-4.25L483.876%2C74.169c7.131-7.131%2C11.06-16.61%2C11.06-26.692%09%09%09C494.936%2C37.396%2C491.007%2C27.915%2C483.876%2C20.791z M466.61%2C56.897L257.457%2C266.05c-0.035%2C0.036-0.055%2C0.078-0.089%2C0.107%09%09%09l-33.989%2C15.131L238.51%2C247.3c0.03-0.036%2C0.071-0.055%2C0.107-0.09L447.765%2C38.058c5.038-5.039%2C13.819-5.033%2C18.846%2C0.005%09%09%09c2.518%2C2.51%2C3.905%2C5.855%2C3.905%2C9.414C470.516%2C51.036%2C469.127%2C54.38%2C466.61%2C56.897z%22%2F%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n}\n";
27370
- styleInject(css_248z$K);
27379
+ var css_248z$L = ".jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-transform {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-repair {\n display: none;\n}\n.jsoneditor-WMs15 .jsoneditor-menu .jsoneditor-poweredBy {\n display: none;\n}\n.jsoneditor-WMs15 .preview-9wK81 {\n background-color: #f19e34;\n}\n\n.jsoneditor-WMs15 .preview-button-vupuG {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 19.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3Csvg version%3D%221.1%22 id%3D%22Layer_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 502 502%22 style%3D%22enable-background%3Anew 0 0 502 502%3B%22 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cg%3E%09%09%09%3Cpath d%3D%22M478.482%2C448.601l-101.6-101.599c8.089-15.262%2C12.339-32.29%2C12.339-49.717c0-35.689-18.182-69.164-47.804-88.743V92.53%09%09%09%09c0-2.652-1.054-5.196-2.929-7.071l-82.529-82.53C254.083%2C1.054%2C251.54%2C0%2C248.888%2C0H24.371c-5.522%2C0-10%2C4.477-10%2C10v427.735%09%09%09%09c0%2C5.523%2C4.478%2C10%2C10%2C10h307.046c5.522%2C0%2C10-4.477%2C10-10v-37.722l92.825%2C92.825c5.908%2C5.908%2C13.764%2C9.162%2C22.119%2C9.162%09%09%09%09c8.356%2C0%2C16.212-3.254%2C22.12-9.162C490.678%2C480.642%2C490.678%2C460.797%2C478.482%2C448.601z M307.276%2C82.53h-48.387V34.143%09%09%09%09l24.193%2C24.193L307.276%2C82.53z M321.417%2C396.377v31.358H34.371V20h204.517v72.53c0%2C5.523%2C4.478%2C10%2C10%2C10h72.529v95.662%09%09%09%09l0.009%2C0.014c-12.214-4.741-25.275-7.215-38.499-7.215c-58.61%2C0-106.294%2C47.683-106.294%2C106.293s47.684%2C106.293%2C106.294%2C106.293%09%09%09%09c13.224%2C0%2C26.285-2.474%2C38.499-7.215L321.417%2C396.377z M328.948%2C370.291c-0.848%2C0.536-1.706%2C1.057-2.574%2C1.563%09%09%09%09c-13.131%2C7.67-28.154%2C11.724-43.446%2C11.724c-47.583%2C0-86.294-38.711-86.294-86.293c0-47.582%2C38.711-86.293%2C86.294-86.293%09%09%09%09c15.291%2C0%2C30.315%2C4.054%2C43.447%2C11.724c26.428%2C15.435%2C42.846%2C44.008%2C42.846%2C74.569c0%2C16.35-4.595%2C32.264-13.289%2C46.022%09%09%09%09C349.097%2C354.125%2C339.766%2C363.455%2C328.948%2C370.291z M464.339%2C478.696c-2.131%2C2.131-4.964%2C3.304-7.978%2C3.304%09%09%09%09c-3.014%2C0-5.847-1.173-7.977-3.304l-98.706-98.706l-0.008-0.001c5.856-4.74%2C11.221-10.104%2C15.961-15.96l0.001%2C0.008%09%09%09%09l98.707%2C98.707C468.737%2C467.142%2C468.737%2C474.298%2C464.339%2C478.696z%22%2F%3E%09%09%09%3Cpath d%3D%22M246.838%2C238.403c-20.641%2C12.674-32.964%2C34.686-32.964%2C58.882c0%2C5.523%2C4.478%2C10%2C10%2C10c5.522%2C0%2C10-4.477%2C10-10%09%09%09%09c0-17.19%2C8.759-32.83%2C23.429-41.838c4.707-2.89%2C6.179-9.048%2C3.289-13.754C257.702%2C236.986%2C251.544%2C235.513%2C246.838%2C238.403z%22%2F%3E%09%09%09%3Cpath d%3D%22M317.708%2C237.624c-10.52-6.145-22.547-9.392-34.781-9.392c-5.522%2C0-10%2C4.477-10%2C10s4.478%2C10%2C10%2C10%09%09%09%09c8.693%2C0%2C17.232%2C2.304%2C24.693%2C6.662c1.586%2C0.926%2C3.321%2C1.367%2C5.034%2C1.367c3.438%2C0%2C6.785-1.775%2C8.645-4.958%09%09%09%09C324.085%2C246.533%2C322.477%2C240.409%2C317.708%2C237.624z%22%2F%3E%09%09%3C%2Fg%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n background-size: 20px;\n background-repeat: no-repeat;\n background-position: center;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:hover {\n border: 0;\n}\n.jsoneditor-WMs15 .preview-button-vupuG:disabled {\n opacity: 0.3;\n}\n\n.jsoneditor-WMs15 .edit-button-m6r3M {\n background-image: url(\"data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22iso-8859-1%22%3F%3E%3C!-- Generator%3A Adobe Illustrator 16.0.0%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC %22-%2F%2FW3C%2F%2FDTD SVG 1.1%2F%2FEN%22 %22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg version%3D%221.1%22 id%3D%22Capa_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 width%3D%22494.936px%22 height%3D%22494.936px%22 viewBox%3D%220 0 494.936 494.936%22 style%3D%22enable-background%3Anew 0 0 494.936 494.936%3B%22%09 xml%3Aspace%3D%22preserve%22 fill%3D%22%23fff%22%3E%3Cg%3E%09%3Cg%3E%09%09%3Cpath d%3D%22M389.844%2C182.85c-6.743%2C0-12.21%2C5.467-12.21%2C12.21v222.968c0%2C23.562-19.174%2C42.735-42.736%2C42.735H67.157%09%09%09c-23.562%2C0-42.736-19.174-42.736-42.735V150.285c0-23.562%2C19.174-42.735%2C42.736-42.735h267.741c6.743%2C0%2C12.21-5.467%2C12.21-12.21%09%09%09s-5.467-12.21-12.21-12.21H67.157C30.126%2C83.13%2C0%2C113.255%2C0%2C150.285v267.743c0%2C37.029%2C30.126%2C67.155%2C67.157%2C67.155h267.741%09%09%09c37.03%2C0%2C67.156-30.126%2C67.156-67.155V195.061C402.054%2C188.318%2C396.587%2C182.85%2C389.844%2C182.85z%22%2F%3E%09%09%3Cpath d%3D%22M483.876%2C20.791c-14.72-14.72-38.669-14.714-53.377%2C0L221.352%2C229.944c-0.28%2C0.28-3.434%2C3.559-4.251%2C5.396l-28.963%2C65.069%09%09%09c-2.057%2C4.619-1.056%2C10.027%2C2.521%2C13.6c2.337%2C2.336%2C5.461%2C3.576%2C8.639%2C3.576c1.675%2C0%2C3.362-0.346%2C4.96-1.057l65.07-28.963%09%09%09c1.83-0.815%2C5.114-3.97%2C5.396-4.25L483.876%2C74.169c7.131-7.131%2C11.06-16.61%2C11.06-26.692%09%09%09C494.936%2C37.396%2C491.007%2C27.915%2C483.876%2C20.791z M466.61%2C56.897L257.457%2C266.05c-0.035%2C0.036-0.055%2C0.078-0.089%2C0.107%09%09%09l-33.989%2C15.131L238.51%2C247.3c0.03-0.036%2C0.071-0.055%2C0.107-0.09L447.765%2C38.058c5.038-5.039%2C13.819-5.033%2C18.846%2C0.005%09%09%09c2.518%2C2.51%2C3.905%2C5.855%2C3.905%2C9.414C470.516%2C51.036%2C469.127%2C54.38%2C466.61%2C56.897z%22%2F%3E%09%3C%2Fg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3Cg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\n}\n";
27380
+ styleInject(css_248z$L);
27371
27381
 
27372
27382
  var JsonEditor = function JsonEditor(_ref, ref) {
27373
27383
  var id = _ref.id,
@@ -28146,13 +28156,13 @@ function reducer(state, action) {
28146
28156
 
28147
28157
  var grid$1 = "grid-sGemi";
28148
28158
  var textWrapper = "text-wrapper-xsPXE";
28149
- var css_248z$J = ".grid-sGemi {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n}\n\n.text-wrapper-xsPXE {\n display: flex;\n justify-content: space-around;\n align-items: center;\n}\n";
28150
- styleInject(css_248z$J);
28159
+ var css_248z$K = ".grid-sGemi {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n grid-auto-rows: min-content;\n grid-gap: 10px;\n}\n\n.text-wrapper-xsPXE {\n display: flex;\n justify-content: space-around;\n align-items: center;\n}\n";
28160
+ styleInject(css_248z$K);
28151
28161
 
28152
28162
  var wrapper$4 = "wrapper-p-gR3";
28153
28163
  var container$7 = "container-DoZqe";
28154
- var css_248z$I = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
28155
- styleInject(css_248z$I);
28164
+ var css_248z$J = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
28165
+ styleInject(css_248z$J);
28156
28166
 
28157
28167
  var ToolTipInfo = function ToolTipInfo(props) {
28158
28168
  var _useTranslation = useTranslation(),
@@ -28447,8 +28457,8 @@ var useMediaUpload = function useMediaUpload(_ref) {
28447
28457
  var small = "small-NY1-k";
28448
28458
  var medium = "medium---QcO";
28449
28459
  var big = "big--E39S";
28450
- var css_248z$H = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
28451
- styleInject(css_248z$H);
28460
+ var css_248z$I = ".diva-component-DIVA_BACKOFFICE_NEW .ant-upload-wrapper {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-nested-loading {\n width: 100%;\n height: 100%;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-table-wrapper, .diva-component-DIVA_BACKOFFICE_NEW .ant-table {\n height: inherit;\n overflow: auto;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-drawer-body .ant-spin-nested-loading {\n width: 100%;\n height: 80%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-spin-container {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-spin-container {\n display: flex;\n flex-direction: column;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-space-item .andt-table .ant-spin-container {\n height: calc(60vh - 90px);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .andt-table .ant-table-container {\n height: calc(100% - 80px);\n}\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list {\n width: 100%;\n height: 100%;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-list-item-container {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .ant-upload-select {\n width: 100% !important;\n height: 100% !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .small-NY1-k {\n width: 104px;\n height: 104px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .medium---QcO {\n width: 200px;\n height: 200px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .big--E39S {\n width: 400px;\n height: 400px;\n}\n";
28461
+ styleInject(css_248z$I);
28452
28462
 
28453
28463
  var MediaUpload = observer(function (_ref) {
28454
28464
  var id = _ref.id;
@@ -28589,8 +28599,8 @@ var checkbox = "checkbox-H7R-w";
28589
28599
  var editableCellValueWrap = "editable-cell-value-wrap-ugTs4";
28590
28600
  var contentWidth = "content-width-hGyVI";
28591
28601
  var tableLoadingSpin = "table-loading-spin-QjnC-";
28592
- var css_248z$G = ".checkbox-readonly-0-bzT {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox-input {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox {\n cursor: default;\n}\n\n.editable-row-9BEHi:hover .checkbox-H7R-w .ant-checkbox {\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);\n}\n\n.editable-cell-value-wrap-ugTs4 {\n padding: 5px 12px;\n cursor: pointer;\n}\n\n.editable-row-9BEHi:hover .editable-cell-value-wrap-ugTs4 {\n padding: 4px 11px;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n\n.content-width-hGyVI .ant-modal-confirm-content {\n width: 100%;\n}\n\n.ant-select {\n display: inline-flex !important;\n}\n\n/* Fix for antd Table extra column on Windows */\n/* workarround for https://github.com/ant-design/ant-design/issues/55633, if resolved try to remove this */\n.ant-table-cell-scrollbar:not(.ant-table-cell-fix-right) {\n display: none !important;\n}\n\n.table-loading-spin-QjnC- {\n overflow: auto;\n height: 100%;\n}\n";
28593
- styleInject(css_248z$G);
28602
+ var css_248z$H = ".checkbox-readonly-0-bzT {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox-input {\n cursor: default;\n}\n\n.checkbox-readonly-0-bzT .ant-checkbox {\n cursor: default;\n}\n\n.editable-row-9BEHi:hover .checkbox-H7R-w .ant-checkbox {\n box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);\n}\n\n.editable-cell-value-wrap-ugTs4 {\n padding: 5px 12px;\n cursor: pointer;\n}\n\n.editable-row-9BEHi:hover .editable-cell-value-wrap-ugTs4 {\n padding: 4px 11px;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n\n.content-width-hGyVI .ant-modal-confirm-content {\n width: 100%;\n}\n\n.ant-select {\n display: inline-flex !important;\n}\n\n/* Fix for antd Table extra column on Windows */\n/* workarround for https://github.com/ant-design/ant-design/issues/55633, if resolved try to remove this */\n.ant-table-cell-scrollbar:not(.ant-table-cell-fix-right) {\n display: none !important;\n}\n\n.table-loading-spin-QjnC- {\n overflow: auto;\n height: 100%;\n}\n";
28603
+ styleInject(css_248z$H);
28594
28604
 
28595
28605
  function BooleanCell (_ref) {
28596
28606
  var children = _ref.children,
@@ -29732,8 +29742,8 @@ function useAGHistogram (_ref) {
29732
29742
  var container$6 = "container-2r-OJ";
29733
29743
  var column1 = "column1-9viTK";
29734
29744
  var spinner = "spinner-00VcK";
29735
- var css_248z$F = ".container-2r-OJ {\n display: flex;\n gap: 40px; /* Distribute the columns evenly */\n}\n\n.column-yZ2Qc {\n padding: 10px;\n}\n\n.column1-9viTK .column-yZ2Qc {\n flex: 8;\n}\n\n.column2-pCnEz .column-yZ2Qc {\n flex: 1;\n}\n\n.column3-QZDVv .column-yZ2Qc {\n flex: 3;\n}\n\n.spinner-00VcK {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
29736
- styleInject(css_248z$F);
29745
+ var css_248z$G = ".container-2r-OJ {\n display: flex;\n gap: 40px; /* Distribute the columns evenly */\n}\n\n.column-yZ2Qc {\n padding: 10px;\n}\n\n.column1-9viTK .column-yZ2Qc {\n flex: 8;\n}\n\n.column2-pCnEz .column-yZ2Qc {\n flex: 1;\n}\n\n.column3-QZDVv .column-yZ2Qc {\n flex: 3;\n}\n\n.spinner-00VcK {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n";
29746
+ styleInject(css_248z$G);
29737
29747
 
29738
29748
  var Panel$1 = Collapse.Panel;
29739
29749
  function AGHistogram (_ref) {
@@ -33083,8 +33093,8 @@ var loader = "loader-LaXZy";
33083
33093
  var flex = "flex-yQdda";
33084
33094
  var bar = "bar-Y663f";
33085
33095
  var value = "value-FCA-6";
33086
- var css_248z$E = ".overlay-lm0tm {\n position: absolute;\n z-index: 1;\n background-color: rgba(247,247,247,0.45882);\n height: 60vh;\n width: 100%;\n}\n.loader-LaXZy {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 50px;\n height: 50px;\n border: 3px solid rgba(0, 0, 0, 0.3);\n border-radius: 50%;\n border-top-color: #fff;\n animation: spin-qUdpu 1s ease-in-out infinite;\n -webkit-animation: spin-qUdpu 1s ease-in-out infinite;\n}\n.flex-yQdda {\n display: flex;\n}\n\n.bar-Y663f {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin-top: 7%;\n}\n\n.value-FCA-6 {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: -moz-fit-content;\n width: fit-content;\n}\n@keyframes spin-qUdpu {\n to {\n -webkit-transform: rotate(360deg);\n }\n}\n";
33087
- styleInject(css_248z$E);
33096
+ var css_248z$F = ".overlay-lm0tm {\n position: absolute;\n z-index: 1;\n background-color: rgba(247,247,247,0.45882);\n height: 60vh;\n width: 100%;\n}\n.loader-LaXZy {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 50px;\n height: 50px;\n border: 3px solid rgba(0, 0, 0, 0.3);\n border-radius: 50%;\n border-top-color: #fff;\n animation: spin-qUdpu 1s ease-in-out infinite;\n -webkit-animation: spin-qUdpu 1s ease-in-out infinite;\n}\n.flex-yQdda {\n display: flex;\n}\n\n.bar-Y663f {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n margin-top: 7%;\n}\n\n.value-FCA-6 {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: -moz-fit-content;\n width: fit-content;\n}\n@keyframes spin-qUdpu {\n to {\n -webkit-transform: rotate(360deg);\n }\n}\n";
33097
+ styleInject(css_248z$F);
33088
33098
 
33089
33099
  function ownKeys$$(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; }
33090
33100
  function _objectSpread$$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -34030,8 +34040,8 @@ var supplier = "supplier-8sm0I";
34030
34040
  var dealer = "dealer-xgnku";
34031
34041
  var association = "association-b8uVW";
34032
34042
  var campaign = "campaign-zlrTx";
34033
- var css_248z$D = ".label-rYNbb {\n width: 225px;\n background-color: #fff;\n cursor: pointer;\n padding: 10px 15px;\n border-radius: 5px;\n display: flex;\n gap: 12px;\n flex-direction: column;\n font-weight: 500;\n}\n\n.not-clickable-wHc5V {\n cursor: inherit;\n color: grey;\n}\n\n.selected-34dYg {\n font-weight: 630;\n}\n\n.description-iFui2 {\n font-weight: 300;\n font-size: small;\n margin-top: -8px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .org-tree-node-label .org-tree-node-label-inner {\n padding: 0;\n padding: initial;\n}\n\n.darkmode .org-tree-container {\n background-color: rgb(20, 20, 20);\n}\n\n.org-tree-container .org-tree-node-label .ant-btn-default:disabled, .org-tree-container .org-tree-node-label .ant-btn-primary:disabled {\n border-color: #d9d9d9;\n color: rgba(0, 0, 0, 0.25);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.retailer-YNzAh {\n border-bottom: #81c784 solid 5px;\n}\n\n.retailer-child-5ll0K {\n border-bottom: #c8e6c9 solid 5px;\n}\n\n.supplier-8sm0I {\n border-bottom: #ba68c8 solid 5px;\n}\n\n.dealer-xgnku {\n border-bottom: #e1bee7 solid 5px;\n}\n\n.association-b8uVW {\n border-bottom: #fff176 solid 5px;\n}\n\n.campaign-zlrTx {\n border-bottom: #64b5f6 solid 5px;\n}\n";
34034
- styleInject(css_248z$D);
34043
+ var css_248z$E = ".label-rYNbb {\n width: 225px;\n background-color: #fff;\n cursor: pointer;\n padding: 10px 15px;\n border-radius: 5px;\n display: flex;\n gap: 12px;\n flex-direction: column;\n font-weight: 500;\n}\n\n.not-clickable-wHc5V {\n cursor: inherit;\n color: grey;\n}\n\n.selected-34dYg {\n font-weight: 630;\n}\n\n.description-iFui2 {\n font-weight: 300;\n font-size: small;\n margin-top: -8px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .org-tree-node-label .org-tree-node-label-inner {\n padding: 0;\n padding: initial;\n}\n\n.darkmode .org-tree-container {\n background-color: rgb(20, 20, 20);\n}\n\n.org-tree-container .org-tree-node-label .ant-btn-default:disabled, .org-tree-container .org-tree-node-label .ant-btn-primary:disabled {\n border-color: #d9d9d9;\n color: rgba(0, 0, 0, 0.25);\n background-color: rgba(0, 0, 0, 0.04);\n}\n\n.retailer-YNzAh {\n border-bottom: #81c784 solid 5px;\n}\n\n.retailer-child-5ll0K {\n border-bottom: #c8e6c9 solid 5px;\n}\n\n.supplier-8sm0I {\n border-bottom: #ba68c8 solid 5px;\n}\n\n.dealer-xgnku {\n border-bottom: #e1bee7 solid 5px;\n}\n\n.association-b8uVW {\n border-bottom: #fff176 solid 5px;\n}\n\n.campaign-zlrTx {\n border-bottom: #64b5f6 solid 5px;\n}\n";
34044
+ styleInject(css_248z$E);
34035
34045
 
34036
34046
  function getColorClass(data) {
34037
34047
  switch (data.type) {
@@ -34266,8 +34276,8 @@ var arrow = "arrow-Rd0hp";
34266
34276
  var openClass = "open-class--gGXs";
34267
34277
  var breadcrumb = "breadcrumb-Z0VvH";
34268
34278
  var selected = "selected-w-sfW";
34269
- var css_248z$C = ".trigger-wrapper-OkPRc {\n width: 100%;\n padding: 12px 0px;\n display: flex;\n gap: 32px;\n}\n\n.arrow-Rd0hp {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2213%22 viewBox%3D%220 0 8 13%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0.947266 1.14893L6.94727 6.29178L0.947266 11.9489%22 stroke%3D%22%236F6F6F%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E %3C%2Fsvg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n transform: rotateZ(0deg);\n transition: all 0.35s ease;\n width: 20.8px;\n height: 22.4px;\n cursor: pointer;\n}\n\n.open-class--gGXs {\n transform: rotateZ(90deg);\n}\n\n.breadcrumb-Z0VvH {\n transition: color 0.3s;\n}\n.breadcrumb-Z0VvH:hover:not(.selected-w-sfW) {\n cursor: pointer;\n color: #000;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.disabled-0nado {\n pointer-events: none;\n color: lightgray;\n}\n\n.darkmode .selected-w-sfW {\n color: #fff;\n font-weight: 400;\n}\n";
34270
- styleInject(css_248z$C);
34279
+ var css_248z$D = ".trigger-wrapper-OkPRc {\n width: 100%;\n padding: 12px 0px;\n display: flex;\n gap: 32px;\n}\n\n.arrow-Rd0hp {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%228%22 height%3D%2213%22 viewBox%3D%220 0 8 13%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E %3Cpath d%3D%22M0.947266 1.14893L6.94727 6.29178L0.947266 11.9489%22 stroke%3D%22%236F6F6F%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E %3C%2Fsvg%3E\");\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n transform: rotateZ(0deg);\n transition: all 0.35s ease;\n width: 20.8px;\n height: 22.4px;\n cursor: pointer;\n}\n\n.open-class--gGXs {\n transform: rotateZ(90deg);\n}\n\n.breadcrumb-Z0VvH {\n transition: color 0.3s;\n}\n.breadcrumb-Z0VvH:hover:not(.selected-w-sfW) {\n cursor: pointer;\n color: #000;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.selected-w-sfW {\n color: #000;\n font-weight: 400;\n}\n\n.disabled-0nado {\n pointer-events: none;\n color: lightgray;\n}\n\n.darkmode .selected-w-sfW {\n color: #fff;\n font-weight: 400;\n}\n";
34280
+ styleInject(css_248z$D);
34271
34281
 
34272
34282
  var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
34273
34283
  var open = _ref.open,
@@ -34300,8 +34310,8 @@ var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
34300
34310
 
34301
34311
  var collapsibleInner = "collapsible-inner-rI8kI";
34302
34312
  var toolbarLeft = "toolbar-left-X9WRo";
34303
- var css_248z$B = ".collapsible-inner-rI8kI {\n overflow: auto;\n padding: 32px 0;\n position: relative;\n}\n\n.toolbar-left-X9WRo {\n position: absolute;\n right: 22px;\n top: 10px;\n display: flex;\n gap: 10px;\n}\n";
34304
- styleInject(css_248z$B);
34313
+ var css_248z$C = ".collapsible-inner-rI8kI {\n overflow: auto;\n padding: 32px 0;\n position: relative;\n}\n\n.toolbar-left-X9WRo {\n position: absolute;\n right: 22px;\n top: 10px;\n display: flex;\n gap: 10px;\n}\n";
34314
+ styleInject(css_248z$C);
34305
34315
 
34306
34316
  var Legend = function Legend(props) {
34307
34317
  return /*#__PURE__*/jsx(List$1, {
@@ -34355,8 +34365,8 @@ var Legend = function Legend(props) {
34355
34365
  var buttonsWrapper = "buttons-wrapper-Bubkr";
34356
34366
  var mask = "mask-ssagp";
34357
34367
  var transformWrapper = "transform-wrapper--8t0v";
34358
- var css_248z$A = ".buttons-wrapper-Bubkr {\n display: flex;\n gap: 6px;\n}\n\n.buttons-wrapper-Bubkr button {\n min-width: 24px;\n}\n\n.mask-ssagp {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-backdrop-filter: blur(3px);\n backdrop-filter: blur(3px);\n}\n.mask-ssagp p {\n font-size: 18px;\n font-weight: bold;\n background: rgba(255, 255, 255, 0.4);\n padding: 10px;\n border-radius: 5px;\n}\n\n.transform-wrapper--8t0v .ant-modal-mask,\n.transform-wrapper--8t0v .ant-modal-wrap {\n position: absolute;\n}\n";
34359
- styleInject(css_248z$A);
34368
+ var css_248z$B = ".buttons-wrapper-Bubkr {\n display: flex;\n gap: 6px;\n}\n\n.buttons-wrapper-Bubkr button {\n min-width: 24px;\n}\n\n.mask-ssagp {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.45);\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n -webkit-backdrop-filter: blur(3px);\n backdrop-filter: blur(3px);\n}\n.mask-ssagp p {\n font-size: 18px;\n font-weight: bold;\n background: rgba(255, 255, 255, 0.4);\n padding: 10px;\n border-radius: 5px;\n}\n\n.transform-wrapper--8t0v .ant-modal-mask,\n.transform-wrapper--8t0v .ant-modal-wrap {\n position: absolute;\n}\n";
34369
+ styleInject(css_248z$B);
34360
34370
 
34361
34371
  var ZoomWrapper = function ZoomWrapper(_ref) {
34362
34372
  var _children = _ref.children,
@@ -36161,12 +36171,23 @@ function useModule$1 (currentModules) {
36161
36171
  searchParams = _useSearchParams2[0];
36162
36172
  var menuItems = useMemo(function () {
36163
36173
  return [{
36164
- key: 'renaming',
36174
+ key: 'tabgroups',
36165
36175
  style: {
36166
36176
  margin: 0
36167
36177
  },
36168
36178
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36169
- label: t('backoffice.menu.items.label.IDMEnricherEditorTableRenaming'),
36179
+ label: /*#__PURE__*/jsx(Link, {
36180
+ to: 'catalogs/idmeditor/packages/' + packageId + '/tabgroups' + (searchParams ? '?' + searchParams.toString() : ''),
36181
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
36182
+ }),
36183
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
36184
+ }, {
36185
+ key: 'enrichment',
36186
+ style: {
36187
+ margin: 0
36188
+ },
36189
+ icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36190
+ label: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichment'),
36170
36191
  children: [].concat(_toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
36171
36192
  key: 'catalogs',
36172
36193
  style: {
@@ -36174,7 +36195,7 @@ function useModule$1 (currentModules) {
36174
36195
  },
36175
36196
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36176
36197
  label: /*#__PURE__*/jsx(Link, {
36177
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/catalogs' + (searchParams ? '?' + searchParams.toString() : ''),
36198
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/catalogs' + (searchParams ? '?' + searchParams.toString() : ''),
36178
36199
  children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingCatalogs')
36179
36200
  }),
36180
36201
  title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingCatalogs')
@@ -36185,10 +36206,10 @@ function useModule$1 (currentModules) {
36185
36206
  },
36186
36207
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36187
36208
  label: /*#__PURE__*/jsx(Link, {
36188
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/series' + (searchParams ? '?' + searchParams.toString() : ''),
36189
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
36209
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/series' + (searchParams ? '?' + searchParams.toString() : ''),
36210
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentSeries')
36190
36211
  }),
36191
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
36212
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentSeries')
36192
36213
  }]), [{
36193
36214
  key: 'features',
36194
36215
  style: {
@@ -36196,10 +36217,10 @@ function useModule$1 (currentModules) {
36196
36217
  },
36197
36218
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36198
36219
  label: /*#__PURE__*/jsx(Link, {
36199
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/features' + (searchParams ? '?' + searchParams.toString() : ''),
36200
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
36220
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/features' + (searchParams ? '?' + searchParams.toString() : ''),
36221
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentFeatures')
36201
36222
  }),
36202
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
36223
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentFeatures')
36203
36224
  }, {
36204
36225
  key: 'options',
36205
36226
  style: {
@@ -36207,10 +36228,10 @@ function useModule$1 (currentModules) {
36207
36228
  },
36208
36229
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36209
36230
  label: /*#__PURE__*/jsx(Link, {
36210
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/options' + (searchParams ? '?' + searchParams.toString() : ''),
36211
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
36231
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/options' + (searchParams ? '?' + searchParams.toString() : ''),
36232
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentOptions')
36212
36233
  }),
36213
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
36234
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentOptions')
36214
36235
  }, {
36215
36236
  key: 'items',
36216
36237
  style: {
@@ -36218,10 +36239,10 @@ function useModule$1 (currentModules) {
36218
36239
  },
36219
36240
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36220
36241
  label: /*#__PURE__*/jsx(Link, {
36221
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/items' + (searchParams ? '?' + searchParams.toString() : ''),
36222
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
36242
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/items' + (searchParams ? '?' + searchParams.toString() : ''),
36243
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentItems')
36223
36244
  }),
36224
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
36245
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentItems')
36225
36246
  }], _toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
36226
36247
  key: 'detailInfos',
36227
36248
  style: {
@@ -36229,95 +36250,11 @@ function useModule$1 (currentModules) {
36229
36250
  },
36230
36251
  icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36231
36252
  label: /*#__PURE__*/jsx(Link, {
36232
- to: 'catalogs/idmeditor/packages/' + packageId + '/renaming/detailInfos' + (searchParams ? '?' + searchParams.toString() : ''),
36233
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
36253
+ to: 'catalogs/idmeditor/packages/' + packageId + '/enrichment/detailInfos' + (searchParams ? '?' + searchParams.toString() : ''),
36254
+ children: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentDetailInfos')
36234
36255
  }),
36235
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
36256
+ title: t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichmentDetailInfos')
36236
36257
  }]))
36237
- }, {
36238
- key: 'tabgroups',
36239
- style: {
36240
- margin: 0
36241
- },
36242
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36243
- label: /*#__PURE__*/jsx(Link, {
36244
- to: 'catalogs/idmeditor/packages/' + packageId + '/tabgroups' + (searchParams ? '?' + searchParams.toString() : ''),
36245
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
36246
- }),
36247
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableTabGroups')
36248
- }, {
36249
- key: 'exclusivity',
36250
- style: {
36251
- margin: 0
36252
- },
36253
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36254
- label: t('backoffice.menu.items.label.IDMEnricherEditorTableExclusivity'),
36255
- children: [].concat(_toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
36256
- key: 'eseries',
36257
- style: {
36258
- margin: 0
36259
- },
36260
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36261
- label: /*#__PURE__*/jsx(Link, {
36262
- to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eseries' + (searchParams ? '?' + searchParams.toString() : ''),
36263
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
36264
- }),
36265
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingSeries')
36266
- }]), [{
36267
- key: 'efeatures',
36268
- style: {
36269
- margin: 0
36270
- },
36271
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36272
- label: /*#__PURE__*/jsx(Link, {
36273
- to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/efeatures' + (searchParams ? '?' + searchParams.toString() : ''),
36274
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
36275
- }),
36276
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeatures')
36277
- }, {
36278
- key: 'eoptions',
36279
- style: {
36280
- margin: 0
36281
- },
36282
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36283
- label: /*#__PURE__*/jsx(Link, {
36284
- to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eoptions' + (searchParams ? '?' + searchParams.toString() : ''),
36285
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
36286
- }),
36287
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingOptions')
36288
- }, {
36289
- key: 'eitems',
36290
- style: {
36291
- margin: 0
36292
- },
36293
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36294
- label: /*#__PURE__*/jsx(Link, {
36295
- to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/eitems' + (searchParams ? '?' + searchParams.toString() : ''),
36296
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
36297
- }),
36298
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingItems')
36299
- }], _toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
36300
- key: 'edetailInfos',
36301
- style: {
36302
- margin: 0
36303
- },
36304
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36305
- label: /*#__PURE__*/jsx(Link, {
36306
- to: 'catalogs/idmeditor/packages/' + packageId + '/exclusivity/edetailInfos' + (searchParams ? '?' + searchParams.toString() : ''),
36307
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingDetailInfos')
36308
- })
36309
- }]))
36310
- }, {
36311
- key: 'properties',
36312
- style: {
36313
- margin: 0
36314
- },
36315
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
36316
- label: /*#__PURE__*/jsx(Link, {
36317
- to: 'catalogs/idmeditor/packages/' + packageId + '/properties' + (searchParams ? '?' + searchParams.toString() : ''),
36318
- children: t('backoffice.menu.items.label.IDMEnricherEditorTableProperties')
36319
- }),
36320
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableProperties')
36321
36258
  }].concat(_toConsumableArray(selectedPackage !== null && selectedPackage !== void 0 && selectedPackage.isApi ? [] : [{
36322
36259
  key: 'partlistpos',
36323
36260
  style: {
@@ -37442,7 +37379,7 @@ var TablePackages = observer(function () {
37442
37379
  action: function action(_ref3) {
37443
37380
  var _selectedNodes$0$data8;
37444
37381
  var selectedNodes = _ref3.selectedNodes;
37445
- return setSelectedPackage((_selectedNodes$0$data8 = selectedNodes[0].data) === null || _selectedNodes$0$data8 === void 0 ? void 0 : _selectedNodes$0$data8._id, ['renaming', 'features'], './', true);
37382
+ return setSelectedPackage((_selectedNodes$0$data8 = selectedNodes[0].data) === null || _selectedNodes$0$data8 === void 0 ? void 0 : _selectedNodes$0$data8._id, ['enrichment', 'features'], './', true);
37446
37383
  },
37447
37384
  disabled: function disabled(params) {
37448
37385
  return !canOpen(params);
@@ -37848,228 +37785,7 @@ var TablePackages = observer(function () {
37848
37785
  });
37849
37786
  });
37850
37787
 
37851
- var TableProperties = observer(function () {
37852
- var _useTranslation = useTranslation(),
37853
- t = _useTranslation.t;
37854
- var _useModule = useModule$1(['properties']),
37855
- packageId = _useModule.packageId,
37856
- organizationId = _useModule.organizationId,
37857
- apiConfig = _useModule.apiConfig,
37858
- selectedPackage = _useModule.selectedPackage,
37859
- viewOnly = _useModule.viewOnly,
37860
- selectedSerie = _useModule.selectedSerie,
37861
- setSelectedSerie = _useModule.setSelectedSerie,
37862
- setSelectedItem = _useModule.setSelectedItem,
37863
- selectedItem = _useModule.selectedItem,
37864
- notifyPackageDataChanged = _useModule.notifyPackageDataChanged;
37865
- useTools({
37866
- mainInformationWindowCodex: 'IDM_ENRICHER_PROPERTIES_TABLE_INFO',
37867
- enricherPackage: selectedPackage,
37868
- isApi2: selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isApi,
37869
- onlyPlaceholder: selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.onlyPlaceholder,
37870
- setSerie: setSelectedSerie,
37871
- setArticle: setSelectedItem,
37872
- serie: selectedSerie,
37873
- item: selectedItem
37874
- });
37875
- var applicationData = useMemo(function () {
37876
- var _selectedPackage$isoL;
37877
- return {
37878
- packageId: packageId,
37879
- organizationId: organizationId,
37880
- defaultLanguage: (selectedPackage === null || selectedPackage === void 0 || (_selectedPackage$isoL = selectedPackage.isoLanguageIds) === null || _selectedPackage$isoL === void 0 ? void 0 : _selectedPackage$isoL[0]) || 'DE'
37881
- };
37882
- }, [packageId, organizationId, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds]);
37883
- var apiInterface = useMemo(function () {
37884
- return {
37885
- read: apiConfig.enricherService + '/packages/${packageId}/properties',
37886
- create: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/properties',
37887
- restore: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/properties/${_id}',
37888
- "delete": viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/properties/${_id}',
37889
- update: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/properties/${_id}',
37890
- bulk: apiConfig.enricherService + '/packages/${packageId}/properties/bulk'
37891
- };
37892
- }, [viewOnly]);
37893
- var configuration = useMemo(function () {
37894
- return {
37895
- type: 'dotnetSSM',
37896
- apiInterface: apiInterface,
37897
- dateFormat: 'DD.MM.YYYY, HH:mm:ss',
37898
- floatingFilter: true,
37899
- colDef: [{
37900
- field: 'key',
37901
- headerName: 'backoffice.idmEnricher.properties.label.key',
37902
- required: true
37903
- }, {
37904
- field: 'featureNos',
37905
- headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
37906
- cellDataType: 'lookup',
37907
- editable: !viewOnly,
37908
- customParams: {
37909
- nameField: 'featureNosDisplayTexts',
37910
- displayLabelTemplate: '${name} (${value})',
37911
- apiInterface: {
37912
- read: apiConfig.enricherService + '/packages/${packageId}/lookup/features'
37913
- },
37914
- lookupValue: 'featureText',
37915
- lookupKey: 'featureNo',
37916
- multiple: true,
37917
- translated: true
37918
- },
37919
- additionalFields: ['featureNosDisplayTexts'],
37920
- isDictionary: true
37921
- }, {
37922
- field: 'optionKeys',
37923
- headerName: 'backoffice.idmEnricher.renaming.label.optionKeys',
37924
- cellDataType: 'lookup',
37925
- editable: !viewOnly,
37926
- customParams: {
37927
- nameField: 'optionKeysDisplayTexts',
37928
- displayLabelTemplate: '${name} (${optionKeys}) in Features: ${optionFeatureNos}',
37929
- lookupLabelTemplate: '${name} (${optionKey}) in Features: ${featureNos}',
37930
- apiInterface: {
37931
- read: apiConfig.enricherService + '/packages/${packageId}/lookup/options'
37932
- },
37933
- lookupValue: 'optionText',
37934
- lookupKey: 'optionKey',
37935
- additionalMappings: [{
37936
- lookupField: '_id',
37937
- targetField: 'optionIds'
37938
- }, {
37939
- lookupField: 'featureNos',
37940
- targetField: 'optionFeatureNos'
37941
- }],
37942
- multiple: true,
37943
- translated: true,
37944
- filter: {
37945
- colId: 'featureNos',
37946
- type: 'equals',
37947
- filterType: 'text',
37948
- filter: '${featureNos}'
37949
- }
37950
- },
37951
- additionalFields: ['optionKeysDisplayTexts', 'optionIds', 'optionFeatureNos'],
37952
- isDictionary: true
37953
- }, createTranslatedColumnConfig('name', 'backoffice.idmEnricher.properties.label.name', selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, true), createTranslatedColumnConfig('value', 'backoffice.idmEnricher.properties.label.value', selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, true), {
37954
- field: 'serieNos',
37955
- headerName: 'backoffice.idmEnricher.renaming.label.serieNos',
37956
- cellDataType: 'lookup',
37957
- editable: !viewOnly,
37958
- customParams: {
37959
- filterCellType: 'number',
37960
- nameField: 'serieNosDisplayTexts',
37961
- displayLabelTemplate: '${name} (${value})',
37962
- apiInterface: {
37963
- read: apiConfig.enricherService + '/packages/${packageId}/lookup/series'
37964
- },
37965
- lookupValue: 'seriesName',
37966
- lookupKey: 'serieNo',
37967
- lookupKeyFilterType: {
37968
- type: 'equals',
37969
- filterType: 'number'
37970
- },
37971
- multiple: true,
37972
- translated: true
37973
- },
37974
- additionalFields: ['serieNosDisplayTexts'],
37975
- isDictionary: true
37976
- }, {
37977
- field: 'typeNos',
37978
- headerName: 'backoffice.idmEnricher.properties.label.typeNos',
37979
- cellDataType: 'lookup',
37980
- editable: !viewOnly,
37981
- customParams: {
37982
- nameField: 'typeNosDisplayTexts',
37983
- displayLabelTemplate: '${name} (${value})',
37984
- apiInterface: {
37985
- read: apiConfig.enricherService + '/packages/${packageId}/lookup/items'
37986
- },
37987
- lookupValue: 'shortText',
37988
- lookupKey: 'typeNo',
37989
- lookupKeyFilterType: {
37990
- type: 'contains',
37991
- filterType: 'text'
37992
- },
37993
- multiple: true,
37994
- translated: true
37995
- },
37996
- additionalFields: ['typeNosDisplayTexts'],
37997
- isDictionary: true,
37998
- cellValueValidator: function cellValueValidator(_ref) {
37999
- var _data$serieNos;
38000
- var value = _ref.value,
38001
- data = _ref.data;
38002
- if (value !== null && value !== void 0 && value.length && !((_data$serieNos = data['serieNos']) !== null && _data$serieNos !== void 0 && _data$serieNos.length)) {
38003
- return t('backoffice.idmEnricher.properties.error.typeNos');
38004
- }
38005
- return undefined;
38006
- }
38007
- }, {
38008
- field: 'organizationId',
38009
- editable: false,
38010
- hide: true,
38011
- lockVisible: true,
38012
- suppressColumnsToolPanel: true,
38013
- defaultValue: '${organizationId}'
38014
- }, {
38015
- headerName: 'backoffice.idmEnricher.general.label.lastUpdatedDate',
38016
- field: 'lastUpdatedDate',
38017
- cellDataType: 'dateString',
38018
- editable: false
38019
- }, {
38020
- headerName: 'backoffice.idmEnricher.general.label.createdDate',
38021
- field: 'createdDate',
38022
- cellDataType: 'dateString',
38023
- editable: false
38024
- }, {
38025
- headerName: 'backoffice.idmEnricher.general.label.createdBy',
38026
- field: 'createdByDisplayText',
38027
- editable: false
38028
- }, {
38029
- headerName: 'backoffice.idmEnricher.general.label.lastUpdatedBy',
38030
- field: 'lastUpdatedByDisplayText',
38031
- editable: false
38032
- }, {
38033
- headerName: 'backoffice.idmEnricher.general.label._id',
38034
- field: '_id',
38035
- editable: false,
38036
- cellDataType: 'objectId'
38037
- }]
38038
- };
38039
- }, [apiInterface, t, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, viewOnly]);
38040
- var hooks = useMemo(function () {
38041
- return {
38042
- onDataUpdated: function onDataUpdated() {
38043
- return notifyPackageDataChanged();
38044
- }
38045
- };
38046
- }, [notifyPackageDataChanged]);
38047
- return /*#__PURE__*/jsxs(Fragment, {
38048
- children: [/*#__PURE__*/jsx(Descriptions$1, {
38049
- title: /*#__PURE__*/jsxs("div", {
38050
- children: [/*#__PURE__*/jsxs(Space$1, {
38051
- children: [t('backoffice.menu.items.label.IDMEnricherEditorTableProperties'), /*#__PURE__*/jsx(InformationButton, {
38052
- codex: "IDM_ENRICHER_PROPERTIES_TABLE_INFO"
38053
- })]
38054
- }), /*#__PURE__*/jsx(Space$1, {
38055
- style: {
38056
- "float": 'right'
38057
- },
38058
- children: /*#__PURE__*/jsx(PackageSelector$1, {
38059
- modules: ['properties']
38060
- })
38061
- })]
38062
- })
38063
- }), selectedPackage && /*#__PURE__*/jsx(Spreadsheet, {
38064
- gridId: 'crud-grid_properties',
38065
- applicationData: applicationData,
38066
- configuration: configuration,
38067
- hooks: hooks
38068
- })]
38069
- });
38070
- });
38071
-
38072
- var getConfig$6 = function getConfig(isoLanguageIds, t, viewOnly) {
37788
+ var getConfig$5 = function getConfig(isoLanguageIds, t, viewOnly) {
38073
37789
  return {
38074
37790
  colDef: [{
38075
37791
  field: 'translatedName',
@@ -38493,7 +38209,7 @@ var getConfig$6 = function getConfig(isoLanguageIds, t, viewOnly) {
38493
38209
  };
38494
38210
  };
38495
38211
 
38496
- var getConfig$5 = function getConfig(isoLanguageIds, t, viewOnly) {
38212
+ var getConfig$4 = function getConfig(isoLanguageIds, t, viewOnly) {
38497
38213
  return {
38498
38214
  colDef: [{
38499
38215
  headerName: 'backoffice.idmEnricher.renaming.label.detailinfo_nr',
@@ -38512,7 +38228,7 @@ var getConfig$5 = function getConfig(isoLanguageIds, t, viewOnly) {
38512
38228
  };
38513
38229
  };
38514
38230
 
38515
- var getConfig$4 = function getConfig(isoLanguageIds, t, viewOnly) {
38231
+ var getConfig$3 = function getConfig(isoLanguageIds, t, viewOnly) {
38516
38232
  return {
38517
38233
  colDef: [{
38518
38234
  headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
@@ -38527,7 +38243,7 @@ var getConfig$4 = function getConfig(isoLanguageIds, t, viewOnly) {
38527
38243
  };
38528
38244
  };
38529
38245
 
38530
- var getConfig$3 = function getConfig(isoLanguageIds, t, viewOnly) {
38246
+ var getConfig$2 = function getConfig(isoLanguageIds, t, viewOnly) {
38531
38247
  return {
38532
38248
  colDef: [{
38533
38249
  headerName: 'backoffice.idmEnricher.renaming.label.typeNo',
@@ -38583,7 +38299,7 @@ var getConfig$3 = function getConfig(isoLanguageIds, t, viewOnly) {
38583
38299
  };
38584
38300
  };
38585
38301
 
38586
- var getConfig$2 = function getConfig(isoLanguageIds, t, viewOnly) {
38302
+ var getConfig$1 = function getConfig(isoLanguageIds, t, viewOnly) {
38587
38303
  return {
38588
38304
  colDef: [{
38589
38305
  headerName: 'backoffice.idmEnricher.renaming.label.optionKey',
@@ -38633,7 +38349,7 @@ var getConfig$2 = function getConfig(isoLanguageIds, t, viewOnly) {
38633
38349
  };
38634
38350
  };
38635
38351
 
38636
- var getConfig$1 = function getConfig(isoLanguageIds, t, viewOnly) {
38352
+ var getConfig = function getConfig(isoLanguageIds, t, viewOnly) {
38637
38353
  return {
38638
38354
  colDef: [{
38639
38355
  headerName: 'backoffice.idmEnricher.renaming.label.serieNo',
@@ -38692,39 +38408,9 @@ var SeriesSelector$3 = observer(SeriesSelector$2);
38692
38408
  var RenamingCatalog = function RenamingCatalog() {
38693
38409
  return /*#__PURE__*/jsx(RenamingTable, {
38694
38410
  type: "catalogs",
38695
- getConfig: getConfig$6
38696
- });
38697
- };
38698
- var RenamingDetailInfo = function RenamingDetailInfo() {
38699
- return /*#__PURE__*/jsx(RenamingTable, {
38700
- type: "detailInfos",
38701
38411
  getConfig: getConfig$5
38702
38412
  });
38703
38413
  };
38704
- var RenamingFeature = function RenamingFeature() {
38705
- return /*#__PURE__*/jsx(RenamingTable, {
38706
- type: "features",
38707
- getConfig: getConfig$4
38708
- });
38709
- };
38710
- var RenamingItem = function RenamingItem() {
38711
- return /*#__PURE__*/jsx(RenamingTable, {
38712
- type: "items",
38713
- getConfig: getConfig$3
38714
- });
38715
- };
38716
- var RenamingOption = function RenamingOption() {
38717
- return /*#__PURE__*/jsx(RenamingTable, {
38718
- type: "options",
38719
- getConfig: getConfig$2
38720
- });
38721
- };
38722
- var RenamingSerie = function RenamingSerie() {
38723
- return /*#__PURE__*/jsx(RenamingTable, {
38724
- type: "series",
38725
- getConfig: getConfig$1
38726
- });
38727
- };
38728
38414
  var RenamingTable = observer(function (_ref) {
38729
38415
  var type = _ref.type,
38730
38416
  getConfig = _ref.getConfig;
@@ -38733,7 +38419,8 @@ var RenamingTable = observer(function (_ref) {
38733
38419
  i18n = _useTranslation.i18n;
38734
38420
  var _useDivaCore = useDivaCore(),
38735
38421
  onEvent = _useDivaCore.actions.onEvent;
38736
- var _useModule = useModule$1(['renaming', type]),
38422
+ var modules = type === 'catalogs' ? ['enrichment', 'catalogs'] : ['renaming', type];
38423
+ var _useModule = useModule$1(modules),
38737
38424
  packageId = _useModule.packageId,
38738
38425
  apiConfig = _useModule.apiConfig,
38739
38426
  selectedPackage = _useModule.selectedPackage,
@@ -38846,9 +38533,9 @@ var RenamingTable = observer(function (_ref) {
38846
38533
  "float": 'right'
38847
38534
  },
38848
38535
  children: [/*#__PURE__*/jsx(PackageSelector$1, {
38849
- modules: ['renaming', type]
38536
+ modules: modules
38850
38537
  }), type === 'items' && /*#__PURE__*/jsx(SeriesSelector$3, {
38851
- modules: ['renaming', type],
38538
+ modules: modules,
38852
38539
  dataSet: 'lookup'
38853
38540
  })]
38854
38541
  })]
@@ -38863,488 +38550,144 @@ var RenamingTable = observer(function (_ref) {
38863
38550
  });
38864
38551
  });
38865
38552
 
38866
- function getConfig(t) {
38867
- return {
38868
- detailInfo: {
38869
- colDef: [{
38870
- field: 'detailInfoNo',
38871
- headerName: 'backoffice.idmEnricher.renaming.label.detailinfo_nr',
38872
- editable: false,
38873
- cellDataType: 'number'
38874
- }, {
38875
- headerName: 'backoffice.idmEnricher.exclusivity.label.classification',
38876
- field: 'classification',
38877
- editable: false
38878
- }, {
38879
- headerName: 'backoffice.idmEnricher.exclusivity.label.infoType',
38880
- field: 'infoType',
38881
- editable: false,
38882
- cellDataType: 'enum',
38883
- customParams: {
38884
- enumData: getInfoTypeKey(t)
38885
- }
38886
- }, {
38887
- headerName: 'backoffice.idmEnricher.exclusivity.label.layer',
38888
- field: 'layer',
38889
- editable: false,
38890
- cellDataType: 'enum',
38891
- customParams: {
38892
- enumData: getLayerIdKey(t)
38893
- }
38894
- }, {
38895
- field: 'url',
38896
- headerName: 'backoffice.idmEnricher.exclusivity.label.url',
38897
- editable: false
38898
- }, {
38899
- field: 'hashValue',
38900
- headerName: 'backoffice.idmEnricher.exclusivity.label.hashValue',
38901
- editable: false
38902
- }, {
38903
- field: 'isoLanguageId',
38904
- headerName: 'backoffice.idmEnricher.exclusivity.label.isoLanguage',
38905
- editable: false,
38906
- cellDataType: 'enum',
38907
- customParams: {
38908
- enumData: getLanguageKey(t)
38909
- }
38910
- }, {
38911
- field: 'mediaType',
38912
- headerName: 'backoffice.idmEnricher.exclusivity.label.mediaType',
38913
- editable: false
38914
- }, {
38915
- field: 'functionType',
38916
- headerName: 'backoffice.idmEnricher.exclusivity.label.functionType',
38917
- editable: false
38918
- }, {
38919
- field: 'externalName',
38920
- headerName: 'backoffice.idmEnricher.renaming.label.externalName',
38921
- editable: false,
38922
- cellDataType: 'translated',
38923
- isDictionary: true
38924
- }, {
38925
- field: 'internalName',
38926
- headerName: 'backoffice.idmEnricher.renaming.label.internalName',
38927
- editable: false,
38928
- cellDataType: 'translated',
38929
- isDictionary: true
38930
- }, {
38931
- field: 'toolTip',
38932
- headerName: 'backoffice.idmEnricher.renaming.label.tooltip',
38933
- editable: false,
38934
- cellDataType: 'translated',
38935
- isDictionary: true
38936
- }]
38937
- },
38938
- feature: {
38939
- colDef: [{
38940
- field: 'featureNo',
38941
- headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
38942
- editable: false
38943
- }, {
38944
- field: 'featureText',
38945
- headerName: 'backoffice.idmEnricher.renaming.label.featuretext',
38946
- editable: false,
38947
- cellDataType: 'translated',
38948
- isDictionary: true
38949
- }, {
38950
- headerName: 'backoffice.idmEnricher.renaming.label.headerPosVariationType',
38951
- field: 'headerPosVariationType',
38952
- editable: false,
38953
- cellDataType: 'enum',
38954
- customParams: {
38955
- enumData: [{
38956
- name: t('backoffice.idmCatalog.features.label.vt.I'),
38957
- value: 'I'
38958
- }, {
38959
- name: t('backoffice.idmCatalog.features.label.vt.K'),
38960
- value: 'K'
38961
- }, {
38962
- name: t('backoffice.idmCatalog.features.label.vt.P'),
38963
- value: 'P'
38964
- }],
38965
- displayLabelTemplate: '${name} (${value})'
38966
- }
38967
- }, {
38968
- field: 'catalogId',
38969
- headerName: 'backoffice.idmEnricher.packages.label.catalogId',
38970
- editable: false
38971
- }, {
38972
- field: 'organizationId',
38973
- editable: false,
38974
- hide: true,
38975
- lockVisible: true,
38976
- suppressColumnsToolPanel: true,
38977
- defaultValue: '${organizationId}'
38978
- }, {
38979
- headerName: 'backoffice.idmEnricher.renaming.label.sequenceNo',
38980
- field: 'sequenceNo',
38981
- editable: false,
38982
- cellDataType: 'number'
38983
- }, {
38984
- field: 'featureT',
38985
- headerName: 'backoffice.idmEnricher.renaming.label.featureT',
38986
- editable: false,
38987
- cellDataType: 'enum',
38988
- customParams: {
38989
- enumData: [{
38990
- name: t('backoffice.idmCatalog.features.label.featureTDic.M'),
38991
- value: 'M'
38992
- }, {
38993
- name: t('backoffice.idmCatalog.features.label.featureTDic.C'),
38994
- value: 'C'
38995
- }, {
38996
- name: t('backoffice.idmCatalog.features.label.featureTDic.O'),
38997
- value: 'O'
38998
- }],
38999
- displayLabelTemplate: '${name} (${value})'
39000
- }
39001
- }, {
39002
- field: 'measureUnit',
39003
- headerName: 'backoffice.idmEnricher.renaming.label.measureUnit',
39004
- editable: false
39005
- }, {
39006
- field: 'measureParameter',
39007
- headerName: 'backoffice.idmEnricher.renaming.label.measureParameter',
39008
- editable: false
39009
- }]
39010
- },
39011
- serie: {
39012
- colDef: [{
39013
- field: 'serieNo',
39014
- headerName: 'backoffice.idmEnricher.renaming.label.serieNo',
39015
- editable: false,
39016
- cellDataType: 'number'
39017
- }, {
39018
- field: 'seriesName',
39019
- headerName: 'backoffice.idmEnricher.renaming.label.serieName',
39020
- editable: false,
39021
- cellDataType: 'translated',
39022
- isDictionary: true
39023
- }, {
39024
- field: 'seriesFullText',
39025
- headerName: 'backoffice.idmEnricher.renaming.label.serieFullText',
39026
- editable: false,
39027
- cellDataType: 'translated',
39028
- isDictionary: true
39029
- }, {
39030
- field: 'sequenceNo',
39031
- headerName: 'backoffice.idmEnricher.renaming.label.sequenceNo',
39032
- editable: false,
39033
- cellDataType: 'number'
39034
- }, {
39035
- field: 'purchaseRetailId',
39036
- headerName: 'backoffice.idmEnricher.exclusivity.label.purchaseRetailId',
39037
- editable: false,
39038
- cellDataType: 'number'
39039
- }, {
39040
- headerName: 'backoffice.idmEnricher.exclusivity.label.validFrom',
39041
- field: 'validFromDate',
39042
- cellDataType: 'dateString',
39043
- editable: false,
39044
- customParams: {
39045
- dateFormat: 'DD.MM.YYYY'
39046
- }
39047
- }, {
39048
- field: 'validUntilDate',
39049
- headerName: 'backoffice.idmEnricher.exclusivity.label.validUntil',
39050
- cellDataType: 'dateString',
39051
- editable: false,
39052
- customParams: {
39053
- dateFormat: 'DD.MM.YYYY'
39054
- }
39055
- }]
39056
- },
39057
- item: {
39058
- colDef: [{
39059
- field: 'typeNo',
39060
- headerName: 'backoffice.idmEnricher.renaming.label.typeNo',
39061
- editable: false
39062
- }, {
39063
- headerName: 'backoffice.idmEnricher.renaming.label.shortText',
39064
- field: 'shortText',
39065
- editable: false,
39066
- cellDataType: 'translated',
39067
- isDictionary: true
39068
- }, {
39069
- headerName: 'backoffice.idmEnricher.renaming.label.fullText',
39070
- field: 'fullText',
39071
- editable: false,
39072
- cellDataType: 'translated',
39073
- isDictionary: true
39074
- }, {
39075
- headerName: 'backoffice.idmEnricher.renaming.label.edpnummer',
39076
- field: 'edpNumber',
39077
- editable: false
39078
- }, {
39079
- headerName: 'backoffice.idmEnricher.renaming.label.eannummer',
39080
- field: 'eanNumber',
39081
- editable: false
39082
- }, {
39083
- headerName: 'backoffice.idmEnricher.exclusivity.label.itemIdentification',
39084
- field: 'itemIdentification',
39085
- editable: false
39086
- }, {
39087
- field: 'catalogPage',
39088
- headerName: 'backoffice.idmEnricher.exclusivity.label.catalogPage',
39089
- editable: false
39090
- }, {
39091
- headerName: 'backoffice.idmEnricher.exclusivity.label.validFrom',
39092
- field: 'validFromDate',
39093
- cellDataType: 'dateString',
39094
- editable: false,
39095
- customParams: {
39096
- dateFormat: 'DD.MM.YYYY'
39097
- }
39098
- }, {
39099
- headerName: 'backoffice.idmEnricher.exclusivity.label.validUntil',
39100
- field: 'validUntilDate',
39101
- cellDataType: 'dateString',
39102
- editable: false,
39103
- customParams: {
39104
- dateFormat: 'DD.MM.YYYY'
39105
- }
39106
- }, {
39107
- headerName: 'backoffice.idmEnricher.exclusivity.label.weightBrutto',
39108
- field: 'weightBrutto',
39109
- editable: false,
39110
- cellDataType: 'number'
39111
- }, {
39112
- headerName: 'backoffice.idmEnricher.exclusivity.label.weightNetto',
39113
- field: 'weightNetto',
39114
- editable: false,
39115
- cellDataType: 'number'
39116
- }, {
39117
- headerName: 'backoffice.idmEnricher.exclusivity.label.volume',
39118
- field: 'volume',
39119
- editable: false,
39120
- cellDataType: 'number'
39121
- }, {
39122
- field: 'minimumDeliveryTime',
39123
- headerName: 'backoffice.idmEnricher.exclusivity.label.minimumDeliveryTime',
39124
- editable: false,
39125
- cellDataType: 'number'
39126
- }, {
39127
- field: 'typeKey',
39128
- headerName: 'backoffice.idmEnricher.exclusivity.label.typeKey',
39129
- editable: false
39130
- }, {
39131
- field: 'eClassNo',
39132
- headerName: 'backoffice.idmEnricher.exclusivity.label.eClassNo',
39133
- editable: false,
39134
- cellDataType: 'number'
39135
- }, {
39136
- field: 'partListExclusive',
39137
- headerName: 'backoffice.idmEnricher.exclusivity.label.partListExclusive',
39138
- editable: false,
39139
- cellDataType: 'boolean',
39140
- defaultValue: false
39141
- }, {
39142
- field: 'sequenceNo',
39143
- headerName: 'backoffice.idmEnricher.renaming.label.sequenceNo',
39144
- editable: false,
39145
- cellDataType: 'number'
39146
- }, {
39147
- field: 'planningAdvice',
39148
- headerName: 'backoffice.idmEnricher.renaming.label.planningAdvice',
39149
- editable: false,
39150
- cellDataType: 'translated',
39151
- isDictionary: true
39152
- }, {
39153
- field: 'groupTitleDb',
39154
- editable: false,
39155
- cellDataType: 'translated',
39156
- headerName: 'backoffice.idmEnricher.exclusivity.label.groupTitleDb',
39157
- isDictionary: true
39158
- }, {
39159
- field: 'salesNumber',
39160
- headerName: 'backoffice.idmEnricher.renaming.label.translatedSalesNumber',
39161
- editable: false
39162
- }]
39163
- },
39164
- option: {
39165
- colDef: [{
39166
- field: 'featureNos',
39167
- headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
39168
- cellDataType: 'lookup',
39169
- editable: false,
39170
- required: false,
39171
- customParams: {
39172
- nameField: 'featureIdsDisplayTexts',
39173
- filterCellType: 'objectId',
39174
- displayLabelTemplate: '${name} (${value})',
39175
- lookupValue: 'featureText',
39176
- lookupKey: 'featureNo',
39177
- lookupKeyFilterType: {
39178
- type: 'equals',
39179
- filterType: 'text'
39180
- },
39181
- multiple: true,
39182
- translated: true
39183
- },
39184
- additionalFields: ['featureIdsDisplayTexts'],
39185
- isDictionary: true
39186
- }, {
39187
- field: 'optionKey',
39188
- headerName: 'backoffice.idmEnricher.renaming.label.optionKey',
39189
- editable: false
39190
- }, {
39191
- headerName: 'backoffice.idmEnricher.renaming.label.optionText',
39192
- field: 'optionText',
39193
- editable: false,
39194
- cellDataType: 'translated',
39195
- isDictionary: true
39196
- }, {
39197
- field: 'sequenceNo',
39198
- headerName: 'backoffice.idmEnricher.renaming.label.sequenceNo',
39199
- editable: false,
39200
- cellDataType: 'number'
39201
- }, {
39202
- headerName: 'backoffice.idmEnricher.renaming.label.optionCommentText',
39203
- field: 'optionCommentText',
39204
- editable: false,
39205
- cellDataType: 'translated',
39206
- isDictionary: true
39207
- }, {
39208
- headerName: 'backoffice.idmEnricher.exclusivity.label.validFrom',
39209
- field: 'validFromDate',
39210
- cellDataType: 'dateString',
39211
- editable: false,
39212
- customParams: {
39213
- dateFormat: 'DD.MM.YYYY'
39214
- }
39215
- }, {
39216
- headerName: 'backoffice.idmEnricher.exclusivity.label.validUntil',
39217
- field: 'validUntilDate',
39218
- cellDataType: 'dateString',
39219
- editable: false,
39220
- customParams: {
39221
- dateFormat: 'DD.MM.YYYY'
38553
+ function toEditableValue(value) {
38554
+ if (value === undefined || value === null || value === '') {
38555
+ return {};
38556
+ }
38557
+ if (typeof value === 'string') {
38558
+ try {
38559
+ return JSON.parse(value);
38560
+ } catch (_unused) {
38561
+ return value;
38562
+ }
38563
+ }
38564
+ return value;
38565
+ }
38566
+ function PropertyObjectExpandedEditor(_ref) {
38567
+ var value = _ref.value,
38568
+ onValueChange = _ref.onValueChange,
38569
+ onClose = _ref.onClose;
38570
+ var _useTranslation = useTranslation(),
38571
+ t = _useTranslation.t;
38572
+ var container = useRef(null);
38573
+ var jsonEditor = useRef(null);
38574
+ var _useState = useState(false),
38575
+ _useState2 = _slicedToArray(_useState, 2),
38576
+ hasError = _useState2[0],
38577
+ setHasError = _useState2[1];
38578
+ useEffect(function () {
38579
+ jsonEditor.current = new JSONEditor(container.current, {
38580
+ mode: 'code',
38581
+ onChange: function onChange() {
38582
+ try {
38583
+ jsonEditor.current.get();
38584
+ setHasError(false);
38585
+ } catch (_unused2) {
38586
+ setHasError(true);
39222
38587
  }
39223
- }, {
39224
- field: 'materialId',
39225
- headerName: 'backoffice.idmEnricher.exclusivity.label.materialId',
39226
- editable: false
39227
- }, {
39228
- headerName: 'backoffice.idmEnricher.exclusivity.label.materialNo',
39229
- field: 'materialNo',
39230
- editable: false,
39231
- cellDataType: 'number'
39232
- }, {
39233
- field: 'materialColorR',
39234
- headerName: 'backoffice.idmEnricher.exclusivity.label.materialColorR',
39235
- editable: false,
39236
- cellDataType: 'number'
39237
- }, {
39238
- field: 'materialColorG',
39239
- headerName: 'backoffice.idmEnricher.exclusivity.label.materialColorG',
39240
- editable: false,
39241
- cellDataType: 'number'
39242
- }, {
39243
- field: 'materialColorB',
39244
- headerName: 'backoffice.idmEnricher.exclusivity.label.materialColorB',
39245
- editable: false,
39246
- cellDataType: 'number'
39247
- }, {
39248
- field: 'measureId',
39249
- headerName: 'backoffice.idmEnricher.exclusivity.label.measuerId',
39250
- editable: false
39251
- }, {
39252
- headerName: 'backoffice.idmEnricher.exclusivity.label.measureNo',
39253
- field: 'measureNo',
39254
- editable: false,
39255
- cellDataType: 'number'
39256
- }, {
39257
- field: 'measureValue',
39258
- headerName: 'backoffice.idmEnricher.exclusivity.label.measureValue',
39259
- editable: false,
39260
- cellDataType: 'number'
39261
- }, {
39262
- field: 'measureUnit',
39263
- headerName: 'backoffice.idmEnricher.renaming.label.measureUnit',
39264
- editable: false
39265
- }]
38588
+ }
38589
+ });
38590
+ jsonEditor.current.set(toEditableValue(value));
38591
+ return function () {
38592
+ var _jsonEditor$current;
38593
+ return (_jsonEditor$current = jsonEditor.current) === null || _jsonEditor$current === void 0 ? void 0 : _jsonEditor$current.destroy();
38594
+ };
38595
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- mount-only: `value` seeds the editor once; re-running on value change would recreate the widget and discard the user's in-progress edits
38596
+ }, []);
38597
+ var handleSave = useCallback(function () {
38598
+ var parsed;
38599
+ try {
38600
+ parsed = jsonEditor.current.get();
38601
+ } catch (_unused3) {
38602
+ setHasError(true);
38603
+ return;
39266
38604
  }
39267
- };
38605
+ onValueChange(JSON.stringify(parsed));
38606
+ onClose();
38607
+ }, [onValueChange, onClose]);
38608
+ return /*#__PURE__*/jsxs("div", {
38609
+ children: [/*#__PURE__*/jsx("div", {
38610
+ ref: container,
38611
+ style: {
38612
+ height: 400
38613
+ }
38614
+ }), hasError && /*#__PURE__*/jsx(Typography$1.Text, {
38615
+ type: "danger",
38616
+ style: {
38617
+ display: 'block',
38618
+ marginTop: 8
38619
+ },
38620
+ children: t('backoffice.idmEnricher.enrichment.propertyObjectEditor.invalidJson', {
38621
+ defaultValue: 'Invalid JSON'
38622
+ })
38623
+ }), /*#__PURE__*/jsxs("div", {
38624
+ className: "ant-modal-footer",
38625
+ style: {
38626
+ marginTop: 16
38627
+ },
38628
+ children: [/*#__PURE__*/jsx(Button$1, {
38629
+ onClick: onClose,
38630
+ children: t('backoffice.common.button.cancel')
38631
+ }), /*#__PURE__*/jsx(Button$1, {
38632
+ type: "primary",
38633
+ disabled: hasError,
38634
+ onClick: handleSave,
38635
+ children: t('backoffice.common.button.save')
38636
+ })]
38637
+ })]
38638
+ });
39268
38639
  }
39269
38640
 
39270
38641
  function ownKeys$Q(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; }
39271
38642
  function _objectSpread$Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
39272
- var ExclusivitySerie = function ExclusivitySerie() {
39273
- var _useTranslation = useTranslation(),
39274
- t = _useTranslation.t,
39275
- i18n = _useTranslation.i18n;
39276
- var config = useMemo(function () {
39277
- return getConfig(t);
39278
- }, [i18n.language]);
39279
- return /*#__PURE__*/jsx(ExclusivityTable, {
39280
- type: "eseries",
39281
- config: config['serie']
38643
+ var EnrichmentDetailInfo = function EnrichmentDetailInfo() {
38644
+ return /*#__PURE__*/jsx(EnrichmentTable, {
38645
+ type: "detailInfos",
38646
+ getConfig: getConfig$4
39282
38647
  });
39283
38648
  };
39284
- var ExclusivityFeature = function ExclusivityFeature() {
39285
- var _useTranslation2 = useTranslation(),
39286
- t = _useTranslation2.t,
39287
- i18n = _useTranslation2.i18n;
39288
- var config = useMemo(function () {
39289
- return getConfig(t);
39290
- }, [i18n.language]);
39291
- return /*#__PURE__*/jsx(ExclusivityTable, {
39292
- type: "efeatures",
39293
- config: config['feature']
38649
+ var EnrichmentFeature = function EnrichmentFeature() {
38650
+ return /*#__PURE__*/jsx(EnrichmentTable, {
38651
+ type: "features",
38652
+ getConfig: getConfig$3
39294
38653
  });
39295
38654
  };
39296
- var ExclusivityExclusivityDetailInfo = function ExclusivityExclusivityDetailInfo() {
39297
- var _useTranslation3 = useTranslation(),
39298
- t = _useTranslation3.t,
39299
- i18n = _useTranslation3.i18n;
39300
- var config = useMemo(function () {
39301
- return getConfig(t);
39302
- }, [i18n.language]);
39303
- return /*#__PURE__*/jsx(ExclusivityTable, {
39304
- type: "edetailInfos",
39305
- config: config['detailInfo']
38655
+ var EnrichmentItem = function EnrichmentItem() {
38656
+ return /*#__PURE__*/jsx(EnrichmentTable, {
38657
+ type: "items",
38658
+ getConfig: getConfig$2
39306
38659
  });
39307
38660
  };
39308
- var ExclusivitySerieItems = function ExclusivitySerieItems() {
39309
- var _useTranslation4 = useTranslation(),
39310
- t = _useTranslation4.t,
39311
- i18n = _useTranslation4.i18n;
39312
- var config = useMemo(function () {
39313
- return getConfig(t);
39314
- }, [i18n.language]);
39315
- return /*#__PURE__*/jsx(ExclusivityTable, {
39316
- type: "eitems",
39317
- config: config['item']
38661
+ var EnrichmentOption = function EnrichmentOption() {
38662
+ return /*#__PURE__*/jsx(EnrichmentTable, {
38663
+ type: "options",
38664
+ getConfig: getConfig$1
39318
38665
  });
39319
38666
  };
39320
- var ExclusivityFeatureOption = function ExclusivityFeatureOption() {
39321
- var _useTranslation5 = useTranslation(),
39322
- t = _useTranslation5.t,
39323
- i18n = _useTranslation5.i18n;
39324
- var config = useMemo(function () {
39325
- return getConfig(t);
39326
- }, [i18n.language]);
39327
- return /*#__PURE__*/jsx(ExclusivityTable, {
39328
- type: "eoptions",
39329
- config: config['option']
38667
+ var EnrichmentSerie = function EnrichmentSerie() {
38668
+ return /*#__PURE__*/jsx(EnrichmentTable, {
38669
+ type: "series",
38670
+ getConfig: getConfig
39330
38671
  });
39331
38672
  };
39332
- var ExclusivityTable = observer(function (_ref) {
38673
+ var EnrichmentTable = observer(function (_ref) {
39333
38674
  var type = _ref.type,
39334
- config = _ref.config;
39335
- var _useTranslation6 = useTranslation(),
39336
- t = _useTranslation6.t;
38675
+ getConfig = _ref.getConfig;
38676
+ var _useTranslation = useTranslation(),
38677
+ t = _useTranslation.t,
38678
+ i18n = _useTranslation.i18n;
38679
+ var root = useStore();
39337
38680
  var _useDivaCore = useDivaCore(),
39338
38681
  onEvent = _useDivaCore.actions.onEvent;
39339
- var _useModule = useModule$1(['exclusivity', type]),
38682
+ var _useModule = useModule$1(['enrichment', type]),
39340
38683
  packageId = _useModule.packageId,
39341
- apiConfig = _useModule.apiConfig,
39342
38684
  organizationId = _useModule.organizationId,
38685
+ apiConfig = _useModule.apiConfig,
39343
38686
  selectedPackage = _useModule.selectedPackage,
38687
+ selectedItem = _useModule.selectedItem,
38688
+ setSelectedItem = _useModule.setSelectedItem,
39344
38689
  selectedSerie = _useModule.selectedSerie,
39345
38690
  setSelectedSerie = _useModule.setSelectedSerie,
39346
- setSelectedItem = _useModule.setSelectedItem,
39347
- selectedItem = _useModule.selectedItem,
39348
38691
  viewOnly = _useModule.viewOnly,
39349
38692
  notifyPackageDataChanged = _useModule.notifyPackageDataChanged;
39350
38693
  var _useTools = useTools({
@@ -39357,32 +38700,103 @@ var ExclusivityTable = observer(function (_ref) {
39357
38700
  item: selectedItem
39358
38701
  }),
39359
38702
  updateConfigurator = _useTools.updateConfigurator;
38703
+ var baseConfiguration = useMemo(function () {
38704
+ return getConfig((selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds) || ['DE'], t);
38705
+ }, [selectedPackage, i18n.language]);
38706
+ var _useState = useState([]),
38707
+ _useState2 = _slicedToArray(_useState, 2),
38708
+ shownProps = _useState2[0],
38709
+ setShownProps = _useState2[1];
38710
+ var _useState3 = useState({}),
38711
+ _useState4 = _slicedToArray(_useState3, 2),
38712
+ propertyMeta = _useState4[0],
38713
+ setPropertyMeta = _useState4[1];
38714
+ var addProperty = useCallback(function (v) {
38715
+ setShownProps(function (p) {
38716
+ return _toConsumableArray(new Set([].concat(_toConsumableArray(p), [v.addProperty])));
38717
+ });
38718
+ setPropertyMeta(function (p) {
38719
+ return _objectSpread$Q(_objectSpread$Q({}, p), {}, _defineProperty({}, v.addProperty, {
38720
+ codexKey: v.codexKey,
38721
+ description: v.description,
38722
+ type: v.type
38723
+ }));
38724
+ });
38725
+ }, []);
38726
+ var spreadsheetRef = useRef(null);
38727
+ var removeProperty = useCallback(/*#__PURE__*/function () {
38728
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(key) {
38729
+ var _spreadsheetRef$curre;
38730
+ var res;
38731
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
38732
+ while (1) switch (_context.prev = _context.next) {
38733
+ case 0:
38734
+ if (!viewOnly) {
38735
+ _context.next = 2;
38736
+ break;
38737
+ }
38738
+ return _context.abrupt("return");
38739
+ case 2:
38740
+ _context.next = 4;
38741
+ return fetch("".concat(apiConfig.enricherService, "/packages/").concat(packageId, "/enrichment/").concat(type, "/properties/").concat(encodeURIComponent(key)), {
38742
+ method: 'DELETE',
38743
+ headers: {
38744
+ Authorization: "Bearer ".concat(root.dataStore.jwt)
38745
+ }
38746
+ });
38747
+ case 4:
38748
+ res = _context.sent;
38749
+ if (res.ok) {
38750
+ _context.next = 8;
38751
+ break;
38752
+ }
38753
+ message$1.error(t('backoffice.idmEnricher.enrichment.label.removePropertyError', {
38754
+ defaultValue: 'Failed to delete property values'
38755
+ }));
38756
+ return _context.abrupt("return");
38757
+ case 8:
38758
+ setShownProps(function (p) {
38759
+ return p.filter(function (k) {
38760
+ return k !== key;
38761
+ });
38762
+ });
38763
+ (_spreadsheetRef$curre = spreadsheetRef.current) === null || _spreadsheetRef$curre === void 0 || _spreadsheetRef$curre.refresh(true);
38764
+ case 10:
38765
+ case "end":
38766
+ return _context.stop();
38767
+ }
38768
+ }, _callee);
38769
+ }));
38770
+ return function (_x) {
38771
+ return _ref2.apply(this, arguments);
38772
+ };
38773
+ }(), [type, packageId, viewOnly, apiConfig.enricherService, root.dataStore.jwt, t]);
39360
38774
  var hooks = useMemo(function () {
39361
38775
  return {
39362
38776
  onCellSelectionChanged: function onCellSelectionChanged(event) {
39363
38777
  var _event$selection$, _event$selection$2, _event$selection$3, _event$selection$4;
39364
38778
  switch (type) {
39365
- case 'efeatures':
38779
+ case 'items':
38780
+ setSelectedItem((_event$selection$ = event.selection[0]) === null || _event$selection$ === void 0 || (_event$selection$ = _event$selection$.node) === null || _event$selection$ === void 0 ? void 0 : _event$selection$.data);
38781
+ break;
38782
+ case 'series':
38783
+ setSelectedSerie((_event$selection$2 = event.selection[0]) === null || _event$selection$2 === void 0 || (_event$selection$2 = _event$selection$2.node) === null || _event$selection$2 === void 0 ? void 0 : _event$selection$2.data);
38784
+ break;
38785
+ case 'features':
39366
38786
  updateConfigurator({
39367
- 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
38787
+ opt: (_event$selection$3 = event.selection[0]) === null || _event$selection$3 === void 0 || (_event$selection$3 = _event$selection$3.node) === null || _event$selection$3 === void 0 || (_event$selection$3 = _event$selection$3.data) === null || _event$selection$3 === void 0 ? void 0 : _event$selection$3.featureNo
39368
38788
  });
39369
38789
  break;
39370
- case 'eoptions':
38790
+ case 'options':
39371
38791
  updateConfigurator({
39372
- opv: (_event$selection$2 = event.selection[0]) === null || _event$selection$2 === void 0 || (_event$selection$2 = _event$selection$2.node) === null || _event$selection$2 === void 0 || (_event$selection$2 = _event$selection$2.data) === null || _event$selection$2 === void 0 ? void 0 : _event$selection$2.optionKey
38792
+ opv: (_event$selection$4 = event.selection[0]) === null || _event$selection$4 === void 0 || (_event$selection$4 = _event$selection$4.node) === null || _event$selection$4 === void 0 || (_event$selection$4 = _event$selection$4.data) === null || _event$selection$4 === void 0 ? void 0 : _event$selection$4.optionKey
39373
38793
  });
39374
38794
  break;
39375
- case 'eitems':
39376
- setSelectedItem((_event$selection$3 = event.selection[0]) === null || _event$selection$3 === void 0 || (_event$selection$3 = _event$selection$3.node) === null || _event$selection$3 === void 0 ? void 0 : _event$selection$3.data);
39377
- break;
39378
- case 'eseries':
39379
- setSelectedSerie((_event$selection$4 = event.selection[0]) === null || _event$selection$4 === void 0 || (_event$selection$4 = _event$selection$4.node) === null || _event$selection$4 === void 0 ? void 0 : _event$selection$4.data);
39380
- break;
39381
38795
  }
39382
38796
  },
39383
38797
  onDataUpdated: function onDataUpdated(event) {
39384
38798
  switch (type) {
39385
- case 'eseries':
38799
+ case 'series':
39386
38800
  onEvent({
39387
38801
  type: 'invalidateCache',
39388
38802
  data: {
@@ -39391,36 +38805,48 @@ var ExclusivityTable = observer(function (_ref) {
39391
38805
  });
39392
38806
  break;
39393
38807
  }
38808
+ if (type !== 'detailInfos') {
38809
+ var keys = event.updates.flatMap(function (u) {
38810
+ var _u$data, _u$data2, _u$data3;
38811
+ return Object.keys(_objectSpread$Q(_objectSpread$Q(_objectSpread$Q({}, (_u$data = u.data) === null || _u$data === void 0 ? void 0 : _u$data.prop), (_u$data2 = u.data) === null || _u$data2 === void 0 ? void 0 : _u$data2.origProp), (_u$data3 = u.data) === null || _u$data3 === void 0 ? void 0 : _u$data3.translatedProp));
38812
+ });
38813
+ if (keys.length) {
38814
+ setShownProps(function (prev) {
38815
+ var missing = keys.filter(function (k) {
38816
+ return !prev.includes(k);
38817
+ });
38818
+ return missing.length ? [].concat(_toConsumableArray(prev), _toConsumableArray(missing)) : prev;
38819
+ });
38820
+ }
38821
+ }
39394
38822
  notifyPackageDataChanged();
39395
38823
  }
39396
38824
  };
39397
- }, [updateConfigurator, type, onEvent, notifyPackageDataChanged]);
38825
+ }, [type, updateConfigurator, onEvent, notifyPackageDataChanged]);
39398
38826
  var apiInterface = useMemo(function () {
39399
- var patchId = '${_id}';
39400
- if (type === 'eitems') patchId = '${typeNo}';
39401
- if (type === 'eoptions') patchId = '${optionKey}';
39402
- var patchId2 = '${_id}';
39403
- if (type === 'eoptions') patchId2 = '${featureNos}';
39404
- var subType = 'features';
39405
- if (type === 'eseries' || type === 'eitems') subType = 'series';
39406
- if (type === 'edetailInfos') subType = 'detailInfos';
39407
- if (type === 'eoptions') subType = 'options';
39408
- var listType = type === 'eitems' ? 'items' : 'options';
38827
+ if (type === 'items') {
38828
+ return {
38829
+ read: apiConfig.enricherService + '/packages/${packageId}/enrichment/series/${subTypeId}/items',
38830
+ update: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/enrichment/series/${subTypeId}/items/${typeNo}',
38831
+ bulk: apiConfig.enricherService + '/packages/${packageId}/enrichment/series/${subTypeId}/items/bulk'
38832
+ };
38833
+ }
38834
+ var urlType = type === 'detailInfos' ? 'detailinfos' : type;
39409
38835
  return {
39410
- read: !['eitems'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType,
39411
- update: viewOnly ? undefined : !['eitems', 'eoptions'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId : type === 'eoptions' ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId + '?featureNos=' + patchId2 : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType + '/' + patchId
38836
+ read: apiConfig.enricherService + '/packages/${packageId}/enrichment/' + urlType,
38837
+ update: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/enrichment/' + urlType + '/${_id}',
38838
+ bulk: apiConfig.enricherService + '/packages/${packageId}/enrichment/' + urlType + '/bulk'
39412
38839
  };
39413
38840
  }, [type, viewOnly]);
39414
38841
  var oldDataRef = useRef();
39415
38842
  var baseApplicationData = useMemo(function () {
39416
38843
  return {
39417
- type: type,
39418
38844
  packageId: packageId,
39419
38845
  organizationId: organizationId
39420
38846
  };
39421
- }, [type, packageId, organizationId]);
38847
+ }, [packageId, organizationId]);
39422
38848
  var applicationDataWithSubTypeId = useMemo(function () {
39423
- if (type === 'eitems' && !selectedSerie) {
38849
+ if (type === 'items' && !selectedSerie) {
39424
38850
  return oldDataRef.current;
39425
38851
  }
39426
38852
  var newData = _objectSpread$Q(_objectSpread$Q({}, baseApplicationData), {}, {
@@ -39429,15 +38855,71 @@ var ExclusivityTable = observer(function (_ref) {
39429
38855
  oldDataRef.current = newData;
39430
38856
  return newData;
39431
38857
  }, [baseApplicationData, selectedSerie]);
39432
- var applicationData = type === 'eseries' ? baseApplicationData : applicationDataWithSubTypeId;
38858
+ var applicationData = type === 'items' ? applicationDataWithSubTypeId : baseApplicationData;
39433
38859
  var showTable = useMemo(function () {
39434
- return selectedPackage && (!['eitems'].includes(type) || type === 'eitems' && applicationData);
38860
+ return selectedPackage && (!['items'].includes(type) || type === 'items' && applicationData);
39435
38861
  }, [type, applicationData, selectedPackage]);
38862
+ useEffect(function () {
38863
+ if (type === 'detailInfos') {
38864
+ return;
38865
+ }
38866
+ setShownProps([]);
38867
+ setPropertyMeta({});
38868
+ if (!packageId) {
38869
+ return;
38870
+ }
38871
+ var usageUrl = "".concat(apiConfig.enricherService, "/packages/").concat(packageId, "/enrichment/").concat(type, "/properties");
38872
+ var headers = {
38873
+ Authorization: "Bearer ".concat(root.dataStore.jwt)
38874
+ };
38875
+ var cancelled = false;
38876
+ fetch(usageUrl, {
38877
+ headers: headers
38878
+ }).then(function (res) {
38879
+ return res.ok ? res.json() : null;
38880
+ }).then(function (usageResult) {
38881
+ var _ref3;
38882
+ if (cancelled) {
38883
+ return;
38884
+ }
38885
+ var usage = (_ref3 = usageResult === null || usageResult === void 0 ? void 0 : usageResult.data) !== null && _ref3 !== void 0 ? _ref3 : [];
38886
+ if (!usage.length) {
38887
+ return;
38888
+ }
38889
+ setPropertyMeta(function (prev) {
38890
+ var next = _objectSpread$Q({}, prev);
38891
+ usage.forEach(function (_ref4) {
38892
+ var _next$key, _next$key2, _next$key3;
38893
+ var key = _ref4.key,
38894
+ propType = _ref4.type,
38895
+ description = _ref4.description,
38896
+ codexKey = _ref4.codexKey;
38897
+ next[key] = {
38898
+ type: propType !== null && propType !== void 0 ? propType : (_next$key = next[key]) === null || _next$key === void 0 ? void 0 : _next$key.type,
38899
+ description: description !== null && description !== void 0 ? description : (_next$key2 = next[key]) === null || _next$key2 === void 0 ? void 0 : _next$key2.description,
38900
+ codexKey: codexKey !== null && codexKey !== void 0 ? codexKey : (_next$key3 = next[key]) === null || _next$key3 === void 0 ? void 0 : _next$key3.codexKey
38901
+ };
38902
+ });
38903
+ return next;
38904
+ });
38905
+ setShownProps(function (prev) {
38906
+ var missing = usage.filter(function (u) {
38907
+ return u.hasValue && !prev.includes(u.key);
38908
+ }).map(function (u) {
38909
+ return u.key;
38910
+ });
38911
+ return missing.length ? [].concat(_toConsumableArray(prev), _toConsumableArray(missing)) : prev;
38912
+ });
38913
+ })["catch"](function () {});
38914
+ return function () {
38915
+ cancelled = true;
38916
+ };
38917
+ }, [type, packageId, apiConfig.enricherService, root.dataStore.jwt]);
39436
38918
  var configuration = useMemo(function () {
39437
38919
  return {
39438
38920
  type: 'dotnetSSM',
39439
38921
  apiInterface: apiInterface,
39440
- idCol: type === 'eitems' ? 'typeNo' : type === 'eoptions' ? '_id' : undefined,
38922
+ idCol: type === 'items' ? 'typeNo' : type === 'options' ? '_id' : undefined,
39441
38923
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
39442
38924
  floatingFilter: true,
39443
38925
  colDef: [{
@@ -39447,7 +38929,113 @@ var ExclusivityTable = observer(function (_ref) {
39447
38929
  pinned: 'left',
39448
38930
  lockPinned: true,
39449
38931
  defaultValue: false
39450
- }].concat(_toConsumableArray(config.colDef), [{
38932
+ }].concat(_toConsumableArray(baseConfiguration.colDef), _toConsumableArray(type === 'detailInfos' ? [] : [].concat(_toConsumableArray(shownProps.map(function (key) {
38933
+ var _propertyMeta$key, _propertyMeta$key2, _propertyMeta$key3;
38934
+ var lang = i18n.language.toUpperCase();
38935
+ var propType = (_propertyMeta$key = propertyMeta[key]) === null || _propertyMeta$key === void 0 ? void 0 : _propertyMeta$key.type;
38936
+ var description = (_propertyMeta$key2 = propertyMeta[key]) === null || _propertyMeta$key2 === void 0 ? void 0 : _propertyMeta$key2.description;
38937
+ var headerLabel = description ? "".concat(description, " (").concat(key, ")") : key;
38938
+ var columnConfig = propType === 'boolean' ? {
38939
+ headerName: headerLabel,
38940
+ field: 'translatedProp.' + key + '.' + lang,
38941
+ editable: !viewOnly,
38942
+ isDictionary: true,
38943
+ cellDataType: 'boolean',
38944
+ defaultValue: false,
38945
+ additionalFields: ['origProp.' + key + '.' + lang, 'prop.' + key + '.' + lang],
38946
+ // The checkbox shows the effective value (local override, else inherited), while
38947
+ // edits still write the local override to `field` (translatedProp). The filter is
38948
+ // redirected to the combined field so its results match what the cell displays.
38949
+ valueGetter: function valueGetter(params) {
38950
+ var _ref5, _params$data$translat, _params$data, _params$data2;
38951
+ return (_ref5 = (_params$data$translat = (_params$data = params.data) === null || _params$data === void 0 || (_params$data = _params$data.translatedProp) === null || _params$data === void 0 || (_params$data = _params$data[key]) === null || _params$data === void 0 ? void 0 : _params$data[lang]) !== null && _params$data$translat !== void 0 ? _params$data$translat : (_params$data2 = params.data) === null || _params$data2 === void 0 || (_params$data2 = _params$data2.prop) === null || _params$data2 === void 0 || (_params$data2 = _params$data2[key]) === null || _params$data2 === void 0 ? void 0 : _params$data2[lang]) !== null && _ref5 !== void 0 ? _ref5 : false;
38952
+ },
38953
+ filterModelParser: function filterModelParser(params) {
38954
+ return applyFilterToAddtionalColumn(params.filterModel, 'translatedProp.' + key + '.' + lang, 'prop.' + key + '.' + lang, undefined, true);
38955
+ }
38956
+ } : propType === 'object' ? {
38957
+ headerName: headerLabel,
38958
+ field: 'translatedProp.' + key + '.' + lang,
38959
+ editable: !viewOnly,
38960
+ isDictionary: true,
38961
+ cellDataType: 'text',
38962
+ customParams: {
38963
+ expandedEditor: PropertyObjectExpandedEditor,
38964
+ expandedEditorProps: {}
38965
+ },
38966
+ additionalFields: ['origProp.' + key + '.' + lang, 'prop.' + key + '.' + lang]
38967
+ } : createTranslatedColumnConfig('translatedProp.' + key, headerLabel, [lang], false, 'withPlaceholder', {
38968
+ placeHolderField: 'origProp.' + key,
38969
+ combinedField: 'prop.' + key
38970
+ }, ['origProp.' + key, 'prop.' + key], !viewOnly);
38971
+ return _objectSpread$Q(_objectSpread$Q({}, columnConfig), {}, {
38972
+ headerComponentParams: {
38973
+ additionalElement: /*#__PURE__*/jsxs(Space$1, {
38974
+ children: [((_propertyMeta$key3 = propertyMeta[key]) === null || _propertyMeta$key3 === void 0 ? void 0 : _propertyMeta$key3.codexKey) && /*#__PURE__*/jsx(InformationButton, {
38975
+ codex: propertyMeta[key].codexKey
38976
+ }), !viewOnly && /*#__PURE__*/jsx(Popconfirm$1, {
38977
+ rootClassName: "ag-custom-component-popup",
38978
+ title: t('backoffice.idmEnricher.enrichment.label.removePropertyConfirmTitle', {
38979
+ defaultValue: 'Remove property?'
38980
+ }),
38981
+ description: t('backoffice.idmEnricher.enrichment.label.removePropertyConfirmDescription', {
38982
+ defaultValue: 'This deletes the value for every entity in this table, not just this column.'
38983
+ }),
38984
+ onConfirm: function onConfirm(e) {
38985
+ e === null || e === void 0 || e.stopPropagation();
38986
+ removeProperty(key);
38987
+ },
38988
+ onCancel: function onCancel(e) {
38989
+ return e === null || e === void 0 ? void 0 : e.stopPropagation();
38990
+ },
38991
+ okText: t('backoffice.common.button.delete', {
38992
+ defaultValue: 'Delete'
38993
+ }),
38994
+ cancelText: t('backoffice.common.button.cancel'),
38995
+ children: /*#__PURE__*/jsx(Button$1, {
38996
+ icon: /*#__PURE__*/jsx(DeleteOutlined$1, {}),
38997
+ type: "text",
38998
+ size: "small",
38999
+ onClick: function onClick(e) {
39000
+ e.stopPropagation();
39001
+ }
39002
+ })
39003
+ })]
39004
+ })
39005
+ }
39006
+ });
39007
+ })), _toConsumableArray(viewOnly ? [] : [{
39008
+ headerName: 'backoffice.idmEnricher.enrichment.label.addProperty',
39009
+ field: 'addProperty',
39010
+ editable: false,
39011
+ filter: false,
39012
+ headerComponent: 'editColumnHeader',
39013
+ headerComponentParams: {
39014
+ onChange: addProperty,
39015
+ editorElement: 'lookup',
39016
+ editorElementProps: {
39017
+ apiInterface: {
39018
+ read: apiConfig.enricherService + '/packages/${packageId}/enrichment/' + type + '/properties'
39019
+ },
39020
+ lookupKey: 'key',
39021
+ lookupValue: 'key',
39022
+ multiple: false,
39023
+ filter: function filter(_, lookupData) {
39024
+ return !shownProps.includes(lookupData.key);
39025
+ },
39026
+ additionalMappings: [{
39027
+ lookupField: 'codexKey',
39028
+ targetField: 'codexKey'
39029
+ }, {
39030
+ lookupField: 'description',
39031
+ targetField: 'description'
39032
+ }, {
39033
+ lookupField: 'type',
39034
+ targetField: 'type'
39035
+ }]
39036
+ }
39037
+ }
39038
+ }]))), [{
39451
39039
  headerName: 'backoffice.idmEnricher.general.label.lastUpdatedDate',
39452
39040
  field: 'lastUpdatedDate',
39453
39041
  cellDataType: 'dateString',
@@ -39463,24 +39051,25 @@ var ExclusivityTable = observer(function (_ref) {
39463
39051
  cellDataType: 'objectId'
39464
39052
  }])
39465
39053
  };
39466
- }, [apiInterface, config.colDef, viewOnly]);
39054
+ }, [apiInterface, baseConfiguration.colDef, viewOnly, type, shownProps, propertyMeta, addProperty, removeProperty, apiConfig.enricherService, i18n.language]);
39467
39055
  return /*#__PURE__*/jsxs(Fragment, {
39468
39056
  children: [/*#__PURE__*/jsx(Descriptions$1, {
39469
39057
  title: /*#__PURE__*/jsxs("div", {
39470
- children: [t('backoffice.menu.items.label.IDMEnricherEditorTableExclusivity'), /*#__PURE__*/jsxs(Space$1, {
39058
+ children: [t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichment') + ' ' + t('backoffice.menu.items.label.IDMEnricherEditorTableEnrichment' + type.charAt(0).toUpperCase() + type.slice(1)), /*#__PURE__*/jsxs(Space$1, {
39471
39059
  style: {
39472
39060
  "float": 'right'
39473
39061
  },
39474
39062
  children: [/*#__PURE__*/jsx(PackageSelector$1, {
39475
- modules: ['exclusivity', type]
39476
- }), type === 'eitems' && /*#__PURE__*/jsx(SeriesSelector$3, {
39477
- modules: ['exclusivity', type],
39478
- dataSet: 'exclusivities'
39063
+ modules: ['enrichment', type]
39064
+ }), type === 'items' && /*#__PURE__*/jsx(SeriesSelector$3, {
39065
+ modules: ['enrichment', type],
39066
+ dataSet: 'lookup'
39479
39067
  })]
39480
39068
  })]
39481
39069
  })
39482
39070
  }), showTable && /*#__PURE__*/jsx(Spreadsheet, {
39483
- gridId: 'crud-grid_exclusivity_' + type,
39071
+ ref: spreadsheetRef,
39072
+ gridId: 'enrichment-grid_' + type,
39484
39073
  applicationData: applicationData,
39485
39074
  configuration: configuration,
39486
39075
  hooks: hooks
@@ -39488,6 +39077,10 @@ var ExclusivityTable = observer(function (_ref) {
39488
39077
  });
39489
39078
  });
39490
39079
 
39080
+ var rowInherited = "rowInherited-Mszxm";
39081
+ var css_248z$A = ".rowInherited-Mszxm {\n opacity: 0.6;\n}\n";
39082
+ styleInject(css_248z$A);
39083
+
39491
39084
  var TableTabGroups = observer(function () {
39492
39085
  var _useTranslation = useTranslation(),
39493
39086
  t = _useTranslation.t;
@@ -39520,9 +39113,9 @@ var TableTabGroups = observer(function () {
39520
39113
  defaultLanguage: (selectedPackage === null || selectedPackage === void 0 || (_selectedPackage$isoL = selectedPackage.isoLanguageIds) === null || _selectedPackage$isoL === void 0 ? void 0 : _selectedPackage$isoL[0]) || 'DE'
39521
39114
  };
39522
39115
  }, [packageId, organizationId, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds]);
39116
+ var spreadsheetRef = useRef(null);
39523
39117
  var apiInterface = useMemo(function () {
39524
39118
  return {
39525
- //TODO: Es gibt globale Tabgroups, die vordefiniert sind und pro Enricher Paket nochmals angepasst werden können -endpoint anpassen?
39526
39119
  read: apiConfig.enricherService + '/packages/${packageId}/tabgroups',
39527
39120
  create: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/tabgroups',
39528
39121
  restore: viewOnly ? undefined : apiConfig.enricherService + '/packages/${packageId}/tabgroups/${_id}',
@@ -39537,6 +39130,10 @@ var TableTabGroups = observer(function () {
39537
39130
  apiInterface: apiInterface,
39538
39131
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
39539
39132
  floatingFilter: true,
39133
+ rowClassRules: _defineProperty({}, rowInherited, function (params) {
39134
+ var _params$data;
39135
+ return ((_params$data = params.data) === null || _params$data === void 0 ? void 0 : _params$data.inherited) === true;
39136
+ }),
39540
39137
  colDef: [{
39541
39138
  field: 'featureNos',
39542
39139
  headerName: 'backoffice.idmEnricher.renaming.label.featureNr',
@@ -39588,8 +39185,15 @@ var TableTabGroups = observer(function () {
39588
39185
  }, [apiInterface, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds, viewOnly]);
39589
39186
  var hooks = useMemo(function () {
39590
39187
  return {
39591
- onDataUpdated: function onDataUpdated() {
39592
- return notifyPackageDataChanged();
39188
+ onDataUpdated: function onDataUpdated(event) {
39189
+ if (event.updates.some(function (u) {
39190
+ var _u$oldData;
39191
+ return (_u$oldData = u.oldData) === null || _u$oldData === void 0 ? void 0 : _u$oldData.inherited;
39192
+ })) {
39193
+ var _spreadsheetRef$curre;
39194
+ (_spreadsheetRef$curre = spreadsheetRef.current) === null || _spreadsheetRef$curre === void 0 || _spreadsheetRef$curre.refresh(true);
39195
+ }
39196
+ notifyPackageDataChanged();
39593
39197
  }
39594
39198
  };
39595
39199
  }, [notifyPackageDataChanged]);
@@ -39610,6 +39214,7 @@ var TableTabGroups = observer(function () {
39610
39214
  })]
39611
39215
  })
39612
39216
  }), selectedPackage && /*#__PURE__*/jsx(Spreadsheet, {
39217
+ ref: spreadsheetRef,
39613
39218
  gridId: 'crud-grid_tabgroups',
39614
39219
  applicationData: applicationData,
39615
39220
  configuration: configuration,
@@ -41423,10 +41028,10 @@ function IDMEnricherEditor (_ref) {
41423
41028
  display: 'flex',
41424
41029
  flexDirection: 'column'
41425
41030
  },
41426
- children: /*#__PURE__*/jsx(Content$7, {})
41031
+ children: /*#__PURE__*/jsx(Content$8, {})
41427
41032
  });
41428
41033
  }
41429
- function Content$7() {
41034
+ function Content$8() {
41430
41035
  var _useDivaCore = useDivaCore(),
41431
41036
  userHasPermission = _useDivaCore.actions.userHasPermission;
41432
41037
  if (!userHasPermission('enricher_packages_edit')) {
@@ -41443,45 +41048,27 @@ function Content$7() {
41443
41048
  index: true,
41444
41049
  path: "",
41445
41050
  element: /*#__PURE__*/jsx(TablePackages, {})
41446
- }), /*#__PURE__*/jsx(Route, {
41447
- path: ":packageId/renaming/catalogs",
41448
- element: /*#__PURE__*/jsx(RenamingCatalog, {})
41449
- }), /*#__PURE__*/jsx(Route, {
41450
- path: ":packageId/renaming/detailInfos",
41451
- element: /*#__PURE__*/jsx(RenamingDetailInfo, {})
41452
- }), /*#__PURE__*/jsx(Route, {
41453
- path: ":packageId/renaming/features",
41454
- element: /*#__PURE__*/jsx(RenamingFeature, {})
41455
- }), /*#__PURE__*/jsx(Route, {
41456
- path: ":packageId/renaming/items",
41457
- element: /*#__PURE__*/jsx(RenamingItem, {})
41458
- }), /*#__PURE__*/jsx(Route, {
41459
- path: ":packageId/renaming/options",
41460
- element: /*#__PURE__*/jsx(RenamingOption, {})
41461
- }), /*#__PURE__*/jsx(Route, {
41462
- path: ":packageId/renaming/series",
41463
- element: /*#__PURE__*/jsx(RenamingSerie, {})
41464
41051
  }), /*#__PURE__*/jsx(Route, {
41465
41052
  path: ":packageId/tabgroups",
41466
41053
  element: /*#__PURE__*/jsx(TableTabGroups, {})
41467
41054
  }), /*#__PURE__*/jsx(Route, {
41468
- path: ":packageId/exclusivity/eseries",
41469
- element: /*#__PURE__*/jsx(ExclusivitySerie, {})
41055
+ path: ":packageId/enrichment/catalogs",
41056
+ element: /*#__PURE__*/jsx(RenamingCatalog, {})
41470
41057
  }), /*#__PURE__*/jsx(Route, {
41471
- path: ":packageId/exclusivity/eitems",
41472
- element: /*#__PURE__*/jsx(ExclusivitySerieItems, {})
41058
+ path: ":packageId/enrichment/series",
41059
+ element: /*#__PURE__*/jsx(EnrichmentSerie, {})
41473
41060
  }), /*#__PURE__*/jsx(Route, {
41474
- path: ":packageId/exclusivity/edetailInfos",
41475
- element: /*#__PURE__*/jsx(ExclusivityExclusivityDetailInfo, {})
41061
+ path: ":packageId/enrichment/features",
41062
+ element: /*#__PURE__*/jsx(EnrichmentFeature, {})
41476
41063
  }), /*#__PURE__*/jsx(Route, {
41477
- path: ":packageId/exclusivity/efeatures",
41478
- element: /*#__PURE__*/jsx(ExclusivityFeature, {})
41064
+ path: ":packageId/enrichment/options",
41065
+ element: /*#__PURE__*/jsx(EnrichmentOption, {})
41479
41066
  }), /*#__PURE__*/jsx(Route, {
41480
- path: ":packageId/exclusivity/eoptions",
41481
- element: /*#__PURE__*/jsx(ExclusivityFeatureOption, {})
41067
+ path: ":packageId/enrichment/items",
41068
+ element: /*#__PURE__*/jsx(EnrichmentItem, {})
41482
41069
  }), /*#__PURE__*/jsx(Route, {
41483
- path: ":packageId/properties",
41484
- element: /*#__PURE__*/jsx(TableProperties, {})
41070
+ path: ":packageId/enrichment/detailInfos",
41071
+ element: /*#__PURE__*/jsx(EnrichmentDetailInfo, {})
41485
41072
  }), /*#__PURE__*/jsx(Route, {
41486
41073
  path: ":packageId/partlistpos",
41487
41074
  element: /*#__PURE__*/jsx(TablePartlistPos, {})
@@ -51339,10 +50926,10 @@ function IDMCatalogEditor (_ref) {
51339
50926
  display: 'flex',
51340
50927
  flexDirection: 'column'
51341
50928
  },
51342
- children: /*#__PURE__*/jsx(Content$6, {})
50929
+ children: /*#__PURE__*/jsx(Content$7, {})
51343
50930
  });
51344
50931
  }
51345
- function Content$6() {
50932
+ function Content$7() {
51346
50933
  var _useDivaCore = useDivaCore(),
51347
50934
  userHasPermission = _useDivaCore.actions.userHasPermission;
51348
50935
  if (!userHasPermission('idm_catalogs_edit')) {
@@ -51689,6 +51276,138 @@ function TableCollections () {
51689
51276
  }
51690
51277
 
51691
51278
  function IDMCollectionEditor(_ref) {
51279
+ _objectDestructuringEmpty(_ref);
51280
+ return /*#__PURE__*/jsx("div", {
51281
+ style: {
51282
+ height: '85vh',
51283
+ display: 'flex',
51284
+ flexDirection: 'column'
51285
+ },
51286
+ children: /*#__PURE__*/jsx(Content$6, {})
51287
+ });
51288
+ }
51289
+ function Content$6() {
51290
+ return /*#__PURE__*/jsx(Routes, {
51291
+ children: /*#__PURE__*/jsx(Route, {
51292
+ index: true,
51293
+ path: "",
51294
+ element: /*#__PURE__*/jsx(TableCollections, {})
51295
+ })
51296
+ });
51297
+ }
51298
+
51299
+ function TablePropertyDefinitions () {
51300
+ var root = useStore();
51301
+ var _useTranslation = useTranslation(),
51302
+ t = _useTranslation.t;
51303
+ var organizationId = root.dataStore.organizationId;
51304
+ var apiConfig = root.configurationStore.apiConfig;
51305
+ var applicationData = useMemo(function () {
51306
+ return {
51307
+ organizationId: organizationId
51308
+ };
51309
+ }, [organizationId]);
51310
+ var preFilter = useMemo(function () {
51311
+ return {
51312
+ colId: 'organizationId',
51313
+ filterType: 'text',
51314
+ type: 'equals',
51315
+ filter: organizationId
51316
+ };
51317
+ }, [organizationId]);
51318
+ var apiInterface = useMemo(function () {
51319
+ return {
51320
+ read: apiConfig.enricherService + '/propertyDefinitions?organizationId=${organizationId}',
51321
+ create: apiConfig.enricherService + '/propertyDefinitions',
51322
+ restore: apiConfig.enricherService + '/propertyDefinitions/${_id}',
51323
+ "delete": apiConfig.enricherService + '/propertyDefinitions/${_id}',
51324
+ update: apiConfig.enricherService + '/propertyDefinitions/${_id}',
51325
+ bulk: apiConfig.enricherService + '/propertyDefinitions/bulk?organizationId=${organizationId}'
51326
+ };
51327
+ }, []);
51328
+ var configuration = useMemo(function () {
51329
+ return {
51330
+ type: 'dotnetSSM',
51331
+ apiInterface: apiInterface,
51332
+ dateFormat: 'DD.MM.YYYY, HH:mm:ss',
51333
+ floatingFilter: true,
51334
+ colDef: [{
51335
+ headerName: 'backoffice.idmPropertyDefinitions.label.key',
51336
+ field: 'key',
51337
+ pinned: true,
51338
+ editable: true,
51339
+ required: true
51340
+ }, {
51341
+ headerName: 'backoffice.idmPropertyDefinitions.label.type',
51342
+ field: 'type',
51343
+ cellDataType: 'enum',
51344
+ editable: true,
51345
+ customParams: {
51346
+ enumData: [{
51347
+ name: 'string',
51348
+ value: 'string'
51349
+ }, {
51350
+ name: 'boolean',
51351
+ value: 'boolean'
51352
+ }, {
51353
+ name: 'object',
51354
+ value: 'object'
51355
+ }]
51356
+ }
51357
+ }, {
51358
+ headerName: 'backoffice.idmPropertyDefinitions.label.description',
51359
+ field: 'description',
51360
+ editable: true
51361
+ }, {
51362
+ headerName: 'backoffice.idmPropertyDefinitions.label.codexKey',
51363
+ field: 'codexKey',
51364
+ editable: true
51365
+ }, {
51366
+ headerName: 'backoffice.idmEnricher.general.label.lastUpdatedDate',
51367
+ field: 'lastUpdatedDate',
51368
+ cellDataType: 'dateString',
51369
+ editable: false
51370
+ }, {
51371
+ headerName: 'backoffice.idmEnricher.general.label.createdDate',
51372
+ field: 'createdDate',
51373
+ cellDataType: 'dateString',
51374
+ editable: false
51375
+ }, {
51376
+ headerName: 'backoffice.idmEnricher.general.label.createdBy',
51377
+ field: 'createdByDisplayText',
51378
+ editable: false
51379
+ }, {
51380
+ headerName: 'backoffice.idmEnricher.general.label.lastUpdatedBy',
51381
+ field: 'lastUpdatedByDisplayText',
51382
+ editable: false
51383
+ }, {
51384
+ headerName: 'backoffice.idmEnricher.general.label._id',
51385
+ field: '_id',
51386
+ editable: false,
51387
+ cellDataType: 'objectId'
51388
+ }, {
51389
+ field: 'organizationId',
51390
+ editable: false,
51391
+ hide: true,
51392
+ lockVisible: true,
51393
+ suppressColumnsToolPanel: true,
51394
+ defaultValue: '${organizationId}'
51395
+ }]
51396
+ };
51397
+ }, [apiInterface]);
51398
+ return /*#__PURE__*/jsxs(Fragment, {
51399
+ children: [/*#__PURE__*/jsx(Descriptions$1, {
51400
+ title: t('backoffice.menu.items.label.IDMPropertyDefinitionsEditorTablePropertyDefinitions')
51401
+ }), /*#__PURE__*/jsx(Spreadsheet, {
51402
+ gridId: 'propertydefinitions-grid',
51403
+ applicationData: applicationData,
51404
+ preFilter: preFilter,
51405
+ configuration: configuration
51406
+ })]
51407
+ });
51408
+ }
51409
+
51410
+ function IDMPropertyDefinitionsEditor(_ref) {
51692
51411
  _objectDestructuringEmpty(_ref);
51693
51412
  return /*#__PURE__*/jsx("div", {
51694
51413
  style: {
@@ -51704,7 +51423,7 @@ function Content$5() {
51704
51423
  children: /*#__PURE__*/jsx(Route, {
51705
51424
  index: true,
51706
51425
  path: "",
51707
- element: /*#__PURE__*/jsx(TableCollections, {})
51426
+ element: /*#__PURE__*/jsx(TablePropertyDefinitions, {})
51708
51427
  })
51709
51428
  });
51710
51429
  }
@@ -61892,6 +61611,9 @@ var ContentCard = observer(function (_ref3) {
61892
61611
  }, configId), configuration.type == 'IDMCollectionEditor' && !((_root$dataStore$curre = root.dataStore.currentOrganization) !== null && _root$dataStore$curre !== void 0 && (_root$dataStore$curre = _root$dataStore$curre.settings) !== null && _root$dataStore$curre !== void 0 && _root$dataStore$curre.disableCollectionEditor) && /*#__PURE__*/jsx(IDMCollectionEditor, {
61893
61612
  configuration: configuration,
61894
61613
  id: configId
61614
+ }, configId), configuration.type == 'IDMPropertyDefinitionsEditor' && /*#__PURE__*/jsx(IDMPropertyDefinitionsEditor, {
61615
+ configuration: configuration,
61616
+ id: configId
61895
61617
  }, configId), configuration.type == 'IDMFeaturesEditor' && /*#__PURE__*/jsx(IDMFeaturesEditor, {
61896
61618
  configuration: configuration,
61897
61619
  id: configId