@crystaldesign/diva-backoffice 26.11.0-beta.4 → 26.11.0-beta.5

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.
@@ -149,8 +149,6 @@ import JSZip from 'jszip';
149
149
  import UploadOutlined$1 from '@ant-design/icons/lib/icons/UploadOutlined';
150
150
  import { GridError } from '@crystaldesign/spreadsheet/errors';
151
151
  import { MediaDetailCard } from '@crystaldesign/assetmanager';
152
- import Checkbox$3 from 'antd/es/checkbox';
153
- import InputNumber$1 from 'antd/es/input-number';
154
152
  import Select$1 from 'antd/es/select';
155
153
  import Form$3 from 'antd/es/form';
156
154
  import ArrowLeftOutlined from '@ant-design/icons/ArrowLeftOutlined';
@@ -14855,8 +14853,8 @@ var navMinified = "nav-minified-tSt-a";
14855
14853
  var navOverlay = "nav-overlay-rKJNC";
14856
14854
  var navSettings = "nav-settings-82cjv";
14857
14855
  var menuLabel = "menu-label-4dXQk";
14858
- var css_248z$X = ".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";
14859
- styleInject(css_248z$X);
14856
+ var css_248z$W = ".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";
14857
+ styleInject(css_248z$W);
14860
14858
 
14861
14859
  function MenuLabel (_ref) {
14862
14860
  var disabled = _ref.disabled,
@@ -19873,8 +19871,8 @@ var Result = function Result(_ref) {
19873
19871
 
19874
19872
  var success = "success-tRJ7j";
19875
19873
  var error = "error-MtAFB";
19876
- var css_248z$W = ".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";
19877
- styleInject(css_248z$W);
19874
+ var css_248z$V = ".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";
19875
+ styleInject(css_248z$V);
19878
19876
 
19879
19877
  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";
19880
19878
 
@@ -19938,8 +19936,8 @@ var CustomButton$1 = observer(CustomButton);
19938
19936
 
19939
19937
  var wrapper$7 = "wrapper-GVe2h";
19940
19938
  var buttonGroup = "button-group-GYt-T";
19941
- var css_248z$V = ".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";
19942
- styleInject(css_248z$V);
19939
+ var css_248z$U = ".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";
19940
+ styleInject(css_248z$U);
19943
19941
 
19944
19942
  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; }
19945
19943
  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; }
@@ -20242,8 +20240,8 @@ function parseReturnData(options, selectMapping) {
20242
20240
  }
20243
20241
 
20244
20242
  var wrapper$6 = "wrapper-4xyke";
20245
- var css_248z$U = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
20246
- styleInject(css_248z$U);
20243
+ var css_248z$T = ".wrapper-4xyke {\n display: flex;\n flex-direction: column;\n min-height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n";
20244
+ styleInject(css_248z$T);
20247
20245
 
20248
20246
  var _excluded$b = ["apiInterface", "selectMapping", "apiMapping", "onChange", "value", "search", "options", "autoSelectFirst", "title", "sharedState"];
20249
20247
  function ownKeys$1I(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; }
@@ -21129,8 +21127,8 @@ var customSelectContentWrapper = "custom-select-content-wrapper-v98Ms";
21129
21127
  var customSelectOptionContent = "custom-select-option-content-LIbzl";
21130
21128
  var customSelectAvatar = "custom-select-avatar-DPCn1";
21131
21129
  var customSelectOptionText = "custom-select-option-text-crPF-";
21132
- var css_248z$T = ".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";
21133
- styleInject(css_248z$T);
21130
+ var css_248z$S = ".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";
21131
+ styleInject(css_248z$S);
21134
21132
 
21135
21133
  var Selector$1 = function Selector(_ref) {
21136
21134
  var items = _ref.items,
@@ -22073,8 +22071,8 @@ function useSelectData (_ref) {
22073
22071
 
22074
22072
  var selectWithCopy = "select-with-copy-r6iEI";
22075
22073
  var selectGrow = "select-grow-Zr2r9";
22076
- var css_248z$S = ".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";
22077
- styleInject(css_248z$S);
22074
+ var css_248z$R = ".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";
22075
+ styleInject(css_248z$R);
22078
22076
 
22079
22077
  function selectedToClipboardText(selected) {
22080
22078
  if (!(selected !== null && selected !== void 0 && selected.length)) return '';
@@ -22241,8 +22239,8 @@ var Selector = observer(SelectWrapper);
22241
22239
  var wrapper$5 = "wrapper-WStAk";
22242
22240
  var headerWrapper = "header-wrapper-gWQuH";
22243
22241
  var buttonsWrapper$1 = "buttons-wrapper-7ebR9";
22244
- var css_248z$R = ".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";
22245
- styleInject(css_248z$R);
22242
+ var css_248z$Q = ".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";
22243
+ styleInject(css_248z$Q);
22246
22244
 
22247
22245
  function ownKeys$1F(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; }
22248
22246
  function _objectSpread$1F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -22863,8 +22861,8 @@ var Text$9 = observer(Text$8);
22863
22861
 
22864
22862
  var root$e = "root-Eiuo1";
22865
22863
  var popoverContent = "popoverContent-uExP4";
22866
- var css_248z$Q = ".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";
22867
- styleInject(css_248z$Q);
22864
+ var css_248z$P = ".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";
22865
+ styleInject(css_248z$P);
22868
22866
 
22869
22867
  var CustomColorPicker = function CustomColorPicker(_ref) {
22870
22868
  var item = _ref.item,
@@ -24781,8 +24779,8 @@ var parentScroll = "parent-scroll-GmaL9";
24781
24779
  var parent = "parent-NZJ3S";
24782
24780
  var container$8 = "container--O28P";
24783
24781
  var infiniteScrollContainer = "infiniteScrollContainer-8G1wc";
24784
- var css_248z$P = ".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";
24785
- styleInject(css_248z$P);
24782
+ var css_248z$O = ".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";
24783
+ styleInject(css_248z$O);
24786
24784
 
24787
24785
  function ownKeys$1y(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; }
24788
24786
  function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -26036,8 +26034,8 @@ var newscroller = "newscroller-INKeD";
26036
26034
  var antCollapseHeader = "ant-collapse-header--6FgU";
26037
26035
  var itemTitle = "item-title--BTvC";
26038
26036
  var itemDesc = "item-desc-DBiiF";
26039
- var css_248z$O = ".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";
26040
- styleInject(css_248z$O);
26037
+ var css_248z$N = ".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";
26038
+ styleInject(css_248z$N);
26041
26039
 
26042
26040
  function ownKeys$1v(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; }
26043
26041
  function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -27451,8 +27449,8 @@ var jsoneditor = "jsoneditor-WMs15";
27451
27449
  var preview = "preview-9wK81";
27452
27450
  var previewButton = "preview-button-vupuG";
27453
27451
  var editButton = "edit-button-m6r3M";
27454
- var css_248z$N = ".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";
27455
- styleInject(css_248z$N);
27452
+ var css_248z$M = ".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";
27453
+ styleInject(css_248z$M);
27456
27454
 
27457
27455
  var JsonEditor = function JsonEditor(_ref, ref) {
27458
27456
  var id = _ref.id,
@@ -28231,13 +28229,13 @@ function reducer(state, action) {
28231
28229
 
28232
28230
  var grid$1 = "grid-sGemi";
28233
28231
  var textWrapper = "text-wrapper-xsPXE";
28234
- var css_248z$M = ".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";
28235
- styleInject(css_248z$M);
28232
+ var css_248z$L = ".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";
28233
+ styleInject(css_248z$L);
28236
28234
 
28237
28235
  var wrapper$4 = "wrapper-p-gR3";
28238
28236
  var container$7 = "container-DoZqe";
28239
- var css_248z$L = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
28240
- styleInject(css_248z$L);
28237
+ var css_248z$K = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
28238
+ styleInject(css_248z$K);
28241
28239
 
28242
28240
  var ToolTipInfo = function ToolTipInfo(props) {
28243
28241
  var _useTranslation = useTranslation(),
@@ -28532,8 +28530,8 @@ var useMediaUpload = function useMediaUpload(_ref) {
28532
28530
  var small = "small-NY1-k";
28533
28531
  var medium = "medium---QcO";
28534
28532
  var big = "big--E39S";
28535
- var css_248z$K = ".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";
28536
- styleInject(css_248z$K);
28533
+ var css_248z$J = ".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";
28534
+ styleInject(css_248z$J);
28537
28535
 
28538
28536
  var MediaUpload = observer(function (_ref) {
28539
28537
  var id = _ref.id;
@@ -28674,8 +28672,8 @@ var checkbox = "checkbox-H7R-w";
28674
28672
  var editableCellValueWrap = "editable-cell-value-wrap-ugTs4";
28675
28673
  var contentWidth = "content-width-hGyVI";
28676
28674
  var tableLoadingSpin = "table-loading-spin-QjnC-";
28677
- var css_248z$J = ".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";
28678
- styleInject(css_248z$J);
28675
+ var css_248z$I = ".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";
28676
+ styleInject(css_248z$I);
28679
28677
 
28680
28678
  function BooleanCell (_ref) {
28681
28679
  var children = _ref.children,
@@ -29817,8 +29815,8 @@ function useAGHistogram (_ref) {
29817
29815
  var container$6 = "container-2r-OJ";
29818
29816
  var column1 = "column1-9viTK";
29819
29817
  var spinner = "spinner-00VcK";
29820
- var css_248z$I = ".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";
29821
- styleInject(css_248z$I);
29818
+ var css_248z$H = ".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";
29819
+ styleInject(css_248z$H);
29822
29820
 
29823
29821
  var Panel$1 = Collapse.Panel;
29824
29822
  function AGHistogram (_ref) {
@@ -33207,8 +33205,8 @@ var loader = "loader-LaXZy";
33207
33205
  var flex = "flex-yQdda";
33208
33206
  var bar = "bar-Y663f";
33209
33207
  var value = "value-FCA-6";
33210
- var css_248z$H = ".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";
33211
- styleInject(css_248z$H);
33208
+ var css_248z$G = ".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";
33209
+ styleInject(css_248z$G);
33212
33210
 
33213
33211
  function ownKeys$1b(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; }
33214
33212
  function _objectSpread$1b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -34154,8 +34152,8 @@ var supplier = "supplier-8sm0I";
34154
34152
  var dealer = "dealer-xgnku";
34155
34153
  var association = "association-b8uVW";
34156
34154
  var campaign = "campaign-zlrTx";
34157
- var css_248z$G = ".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";
34158
- styleInject(css_248z$G);
34155
+ var css_248z$F = ".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";
34156
+ styleInject(css_248z$F);
34159
34157
 
34160
34158
  function getColorClass(data) {
34161
34159
  switch (data.type) {
@@ -34390,8 +34388,8 @@ var arrow = "arrow-Rd0hp";
34390
34388
  var openClass = "open-class--gGXs";
34391
34389
  var breadcrumb = "breadcrumb-Z0VvH";
34392
34390
  var selected = "selected-w-sfW";
34393
- var css_248z$F = ".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";
34394
- styleInject(css_248z$F);
34391
+ var css_248z$E = ".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";
34392
+ styleInject(css_248z$E);
34395
34393
 
34396
34394
  var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
34397
34395
  var open = _ref.open,
@@ -34424,8 +34422,8 @@ var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
34424
34422
 
34425
34423
  var collapsibleInner = "collapsible-inner-rI8kI";
34426
34424
  var toolbarLeft = "toolbar-left-X9WRo";
34427
- var css_248z$E = ".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";
34428
- styleInject(css_248z$E);
34425
+ var css_248z$D = ".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";
34426
+ styleInject(css_248z$D);
34429
34427
 
34430
34428
  var Legend = function Legend(props) {
34431
34429
  return /*#__PURE__*/jsx(List$1, {
@@ -34479,8 +34477,8 @@ var Legend = function Legend(props) {
34479
34477
  var buttonsWrapper = "buttons-wrapper-Bubkr";
34480
34478
  var mask = "mask-ssagp";
34481
34479
  var transformWrapper = "transform-wrapper--8t0v";
34482
- var css_248z$D = ".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";
34483
- styleInject(css_248z$D);
34480
+ var css_248z$C = ".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";
34481
+ styleInject(css_248z$C);
34484
34482
 
34485
34483
  var ZoomWrapper = function ZoomWrapper(_ref) {
34486
34484
  var _children = _ref.children,
@@ -39565,8 +39563,8 @@ var EnrichmentTable = observer(function (_ref) {
39565
39563
  });
39566
39564
 
39567
39565
  var rowInherited = "rowInherited-Mszxm";
39568
- var css_248z$C = ".rowInherited-Mszxm {\n opacity: 0.6;\n}\n";
39569
- styleInject(css_248z$C);
39566
+ var css_248z$B = ".rowInherited-Mszxm {\n opacity: 0.6;\n}\n";
39567
+ styleInject(css_248z$B);
39570
39568
 
39571
39569
  var TableTabGroups = observer(function () {
39572
39570
  var _useTranslation = useTranslation(),
@@ -40185,14 +40183,14 @@ function usePriceFactor(_ref) {
40185
40183
  };
40186
40184
  }
40187
40185
 
40188
- var cell$1 = "cell-Noc7s";
40186
+ var cell = "cell-Noc7s";
40189
40187
  var typeSelector = "typeSelector-Y8Yly";
40190
40188
  var space = "space-T5Mkd";
40191
40189
  var input$1 = "input-SK-Fo";
40192
40190
  var addButton$1 = "addButton-AVN8Y";
40193
40191
  var helpText = "helpText-QYQQF";
40194
- var css_248z$B = ".cell-Noc7s {\n min-width: 50px;\n height: 100%;\n}\n\n.typeSelector-Y8Yly {\n margin-bottom: 16px;\n}\n\n.space-T5Mkd {\n width: 100%;\n}\n\n.input-SK-Fo {\n width: 120px;\n}\n\n.addButton-AVN8Y {\n margin-top: 16px;\n text-align: right;\n}\n\n.helpText-QYQQF {\n margin-top: 8px;\n font-size: 12px;\n color: #666;\n}\n";
40195
- styleInject(css_248z$B);
40192
+ var css_248z$A = ".cell-Noc7s {\n min-width: 50px;\n height: 100%;\n}\n\n.typeSelector-Y8Yly {\n margin-bottom: 16px;\n}\n\n.space-T5Mkd {\n width: 100%;\n}\n\n.input-SK-Fo {\n width: 120px;\n}\n\n.addButton-AVN8Y {\n margin-top: 16px;\n text-align: right;\n}\n\n.helpText-QYQQF {\n margin-top: 8px;\n font-size: 12px;\n color: #666;\n}\n";
40193
+ styleInject(css_248z$A);
40196
40194
 
40197
40195
  function PriceFactorCellRenderer(props) {
40198
40196
  var data = props.data,
@@ -40319,7 +40317,7 @@ function PriceFactorCellRenderer(props) {
40319
40317
  });
40320
40318
  return /*#__PURE__*/jsxs(Fragment, {
40321
40319
  children: [/*#__PURE__*/jsx("div", {
40322
- className: cell$1,
40320
+ className: cell,
40323
40321
  onClick: onClick,
40324
40322
  onDoubleClick: onDoubleClick,
40325
40323
  children: formatListValue(value || [], type, i18n.language)
@@ -40408,8 +40406,8 @@ var difference = "difference-xT9ZP";
40408
40406
  var differencePositive = "differencePositive-hGhZO";
40409
40407
  var differenceNegative = "differenceNegative-3CEZA";
40410
40408
  var differenceNeutral = "differenceNeutral-wx8oE";
40411
- var css_248z$A = ".container-T4Tzz {\n display: flex;\n align-items: center;\n}\n\n.price-NjOOy {\n font-weight: normal;\n}\n\n.priceManual-i7wtQ {\n font-weight: bold;\n}\n\n.originalPrice-V8MP5 {\n color: #8c8c8c;\n margin: 0 8px;\n}\n\n.difference-xT9ZP {\n margin-left: 8px;\n}\n\n.differencePositive-hGhZO {\n color: #52c41a;\n}\n\n.differenceNegative-3CEZA {\n color: #ff4d4f;\n}\n\n.differenceNeutral-wx8oE {\n color: inherit;\n}\n";
40412
- styleInject(css_248z$A);
40409
+ var css_248z$z = ".container-T4Tzz {\n display: flex;\n align-items: center;\n}\n\n.price-NjOOy {\n font-weight: normal;\n}\n\n.priceManual-i7wtQ {\n font-weight: bold;\n}\n\n.originalPrice-V8MP5 {\n color: #8c8c8c;\n margin: 0 8px;\n}\n\n.difference-xT9ZP {\n margin-left: 8px;\n}\n\n.differencePositive-hGhZO {\n color: #52c41a;\n}\n\n.differenceNegative-3CEZA {\n color: #ff4d4f;\n}\n\n.differenceNeutral-wx8oE {\n color: inherit;\n}\n";
40410
+ styleInject(css_248z$z);
40413
40411
 
40414
40412
  function PriceDisplayCellRenderer(props) {
40415
40413
  var _data$origPrices, _data$manualPrices, _currentPrice$toFixed, _origPrice$toFixed;
@@ -40519,8 +40517,8 @@ function getPriceFeatureGroups(selectedSerie, language) {
40519
40517
 
40520
40518
  var input = "input-leHam";
40521
40519
  var disabled$1 = "disabled-Llkqu";
40522
- var css_248z$z = ".input-leHam {\n position: relative;\n width: 200px;\n height: 32px;\n border: 1px solid #d9d9d9;\n background: #ffffff;\n padding: 0 11px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 30px;\n cursor: pointer;\n}\n\n.darkmode .input-leHam {\n background: #141414;\n border: 1px solid #424242;\n}\n\n.input-leHam.disabled-Llkqu {\n cursor: default;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.darkmode .input-leHam.disabled-Llkqu {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.input-leHam:hover {\n border-color: #4096ff;\n}\n";
40523
- styleInject(css_248z$z);
40520
+ var css_248z$y = ".input-leHam {\n position: relative;\n width: 200px;\n height: 32px;\n border: 1px solid #d9d9d9;\n background: #ffffff;\n padding: 0 11px;\n border-radius: 6px;\n font-size: 14px;\n line-height: 30px;\n cursor: pointer;\n}\n\n.darkmode .input-leHam {\n background: #141414;\n border: 1px solid #424242;\n}\n\n.input-leHam.disabled-Llkqu {\n cursor: default;\n color: rgba(0, 0, 0, 0.25);\n}\n\n.darkmode .input-leHam.disabled-Llkqu {\n color: rgba(255, 255, 255, 0.25);\n}\n\n.input-leHam:hover {\n border-color: #4096ff;\n}\n";
40521
+ styleInject(css_248z$y);
40524
40522
 
40525
40523
  var _excluded$8 = ["onSave", "value"];
40526
40524
  function ownKeys$Z(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; }
@@ -40554,8 +40552,8 @@ function PriceFactorInput(_ref) {
40554
40552
 
40555
40553
  var inputHeader = "input-header--4KDP";
40556
40554
  var factorInput = "factor-input-MX85Z";
40557
- var css_248z$y = ".input-header--4KDP .ag-header-cell-text {\n width: 100%;\n}\n\n.input-header--4KDP .ag-header-group-cell-label {\n width: 100%;\n max-width: 250px;\n}\n\n.input-header--4KDP .ag-header-group-text {\n width: 100%;\n}\n\n.factor-input-MX85Z {\n min-height: 0;\n flex: 1;\n}\n\n.factor-input-MX85Z .price-factor-input {\n width: 100%;\n background-color: var(--ag-input-background-color);\n border: var(--ag-input-border);\n border-radius: var(--ag-input-border-radius);\n color: var(--ag-input-text-color);\n height: var(--ag-input-height);\n line-height: var(--ag-input-height);\n font-size: var(--ag-font-size);\n}\n\n.factor-input-MX85Z .price-factor-input:hover {\n border-color: #4096ff;\n}\n";
40558
- styleInject(css_248z$y);
40555
+ var css_248z$x = ".input-header--4KDP .ag-header-cell-text {\n width: 100%;\n}\n\n.input-header--4KDP .ag-header-group-cell-label {\n width: 100%;\n max-width: 250px;\n}\n\n.input-header--4KDP .ag-header-group-text {\n width: 100%;\n}\n\n.factor-input-MX85Z {\n min-height: 0;\n flex: 1;\n}\n\n.factor-input-MX85Z .price-factor-input {\n width: 100%;\n background-color: var(--ag-input-background-color);\n border: var(--ag-input-border);\n border-radius: var(--ag-input-border-radius);\n color: var(--ag-input-text-color);\n height: var(--ag-input-height);\n line-height: var(--ag-input-height);\n font-size: var(--ag-font-size);\n}\n\n.factor-input-MX85Z .price-factor-input:hover {\n border-color: #4096ff;\n}\n";
40556
+ styleInject(css_248z$x);
40559
40557
 
40560
40558
  function PriceFactorHeaderComponent(_ref) {
40561
40559
  var onSave = _ref.onSave,
@@ -40596,8 +40594,8 @@ function PriceFactorHeaderComponent(_ref) {
40596
40594
 
40597
40595
  var root$d = "root-SA2Dd";
40598
40596
  var contentWrapper$1 = "content-wrapper-KSvuc";
40599
- var css_248z$x = ".root-SA2Dd {\n display: flex;\n flex-direction: column;\n height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n\n.content-wrapper-KSvuc {\n height: 34px;\n display: flex;\n align-items: center;\n}\n";
40600
- styleInject(css_248z$x);
40597
+ var css_248z$w = ".root-SA2Dd {\n display: flex;\n flex-direction: column;\n height: 50px;\n justify-content: flex-end;\n font-size: 12px;\n}\n\n.content-wrapper-KSvuc {\n height: 34px;\n display: flex;\n align-items: center;\n}\n";
40598
+ styleInject(css_248z$w);
40601
40599
 
40602
40600
  function Setting(_ref) {
40603
40601
  var title = _ref.title,
@@ -40735,8 +40733,8 @@ function Input(_ref) {
40735
40733
  }
40736
40734
 
40737
40735
  var uploadDraggerWrapper = "upload-dragger-wrapper-xZiDJ";
40738
- var css_248z$w = ".upload-dragger-wrapper-xZiDJ {\n min-height: 220px;\n}\n";
40739
- styleInject(css_248z$w);
40736
+ var css_248z$v = ".upload-dragger-wrapper-xZiDJ {\n min-height: 220px;\n}\n";
40737
+ styleInject(css_248z$v);
40740
40738
 
40741
40739
  function ownKeys$V(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; }
40742
40740
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -41078,8 +41076,8 @@ var uploadModalFooter = "upload-modal-footer-W5737";
41078
41076
  var uploadButton = "upload-button-QkWYP";
41079
41077
  var errorGroup = "error-group-lmQSx";
41080
41078
  var errorItem = "error-item-kyNLD";
41081
- var css_248z$v = ".upload-modal-footer-W5737 {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 10px;\n}\n\n.upload-modal-footer-W5737 > .upload-button-QkWYP {\n width: 300px;\n}\n\n.error-group-lmQSx {\n margin-bottom: 8px;\n}\n\n.error-item-kyNLD {\n padding: 4px 0;\n display: flex;\n align-items: flex-start;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.row-index-jmU3D {\n font-weight: 600;\n margin-right: 8px;\n}\n";
41082
- styleInject(css_248z$v);
41079
+ var css_248z$u = ".upload-modal-footer-W5737 {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 10px;\n}\n\n.upload-modal-footer-W5737 > .upload-button-QkWYP {\n width: 300px;\n}\n\n.error-group-lmQSx {\n margin-bottom: 8px;\n}\n\n.error-item-kyNLD {\n padding: 4px 0;\n display: flex;\n align-items: flex-start;\n gap: 8px;\n flex-wrap: wrap;\n}\n\n.row-index-jmU3D {\n font-weight: 600;\n margin-right: 8px;\n}\n";
41080
+ styleInject(css_248z$u);
41083
41081
 
41084
41082
  /**
41085
41083
  * Custom hook for managing upload modal state and functionality
@@ -46944,8 +46942,8 @@ var formContent = "form-content-H-AkE";
46944
46942
  var footerButtons = "footer-buttons-4cwcu";
46945
46943
  var addButton = "add-button-w-6Lk";
46946
46944
  var footerContent = "footer-content-sOrT1";
46947
- var css_248z$u = ".container-wGptw {\n display: flex;\n flex-direction: column;\n height: 500px;\n}\n\n.scrollable-content-zRBJy {\n flex-grow: 1;\n overflow: auto;\n margin-bottom: 16px;\n}\n\n.section-title-s2qIs {\n margin-bottom: 16px;\n}\n\n.action-item-LjQVf {\n width: 100%;\n}\n\n.action-item-highlighted-pjO7e {\n background-color: #e6f7ff;\n border: 1px solid #91d5ff;\n}\n\n.form-container-gF94J {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.form-layout-Ykach {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.form-content-H-AkE {\n flex-grow: 1;\n overflow: auto;\n}\n\n.footer-buttons-4cwcu {\n margin-top: auto;\n}\n\n.add-button-w-6Lk {\n width: 100%;\n}\n\n.footer-content-sOrT1 {\n text-align: center;\n padding: 8px 0;\n}\n";
46948
- styleInject(css_248z$u);
46945
+ var css_248z$t = ".container-wGptw {\n display: flex;\n flex-direction: column;\n height: 500px;\n}\n\n.scrollable-content-zRBJy {\n flex-grow: 1;\n overflow: auto;\n margin-bottom: 16px;\n}\n\n.section-title-s2qIs {\n margin-bottom: 16px;\n}\n\n.action-item-LjQVf {\n width: 100%;\n}\n\n.action-item-highlighted-pjO7e {\n background-color: #e6f7ff;\n border: 1px solid #91d5ff;\n}\n\n.form-container-gF94J {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.form-layout-Ykach {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.form-content-H-AkE {\n flex-grow: 1;\n overflow: auto;\n}\n\n.footer-buttons-4cwcu {\n margin-top: auto;\n}\n\n.add-button-w-6Lk {\n width: 100%;\n}\n\n.footer-content-sOrT1 {\n text-align: center;\n padding: 8px 0;\n}\n";
46946
+ styleInject(css_248z$t);
46949
46947
 
46950
46948
  function ownKeys$M(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; }
46951
46949
  function _objectSpread$M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -50693,9 +50691,18 @@ function PriceFeatureGroupFinishes(_ref) {
50693
50691
  return {
50694
50692
  headerName: (_priceFeatureGroup$fe5 = (_priceFeatureGroup$fe6 = priceFeatureGroup.featureNosDisplayTexts) === null || _priceFeatureGroup$fe6 === void 0 || (_priceFeatureGroup$fe6 = _priceFeatureGroup$fe6[i]) === null || _priceFeatureGroup$fe6 === void 0 ? void 0 : _priceFeatureGroup$fe6[i18n.language.toUpperCase()]) !== null && _priceFeatureGroup$fe5 !== void 0 ? _priceFeatureGroup$fe5 : featureNos,
50695
50693
  field: "optionsSetRefs.".concat(featureNos),
50694
+ cellDataType: 'text',
50696
50695
  editable: true,
50697
50696
  required: true,
50698
50697
  isDictionary: true,
50698
+ customParams: {
50699
+ expandedEditor: OptionSetRefExpandedEditor,
50700
+ expandedEditorProps: {
50701
+ catalogId: catalogId,
50702
+ idmService: apiConfig.idmService,
50703
+ rowFeatureRef: featureNos
50704
+ }
50705
+ },
50699
50706
  lockPosition: 'left',
50700
50707
  headerComponentParams: {
50701
50708
  additionalElement: /*#__PURE__*/jsx(Button, {
@@ -50805,7 +50812,7 @@ function PriceFeatureGroupFinishes(_ref) {
50805
50812
  suppressColumnsToolPanel: true
50806
50813
  }])
50807
50814
  };
50808
- }, [priceFeatureGroup, addFeature, removeFeature]);
50815
+ }, [priceFeatureGroup, addFeature, removeFeature, catalogId, apiConfig.idmService, i18n.language]);
50809
50816
  return /*#__PURE__*/jsx(Spreadsheet, {
50810
50817
  gridId: 'crud-grid_priceGroupFinishes',
50811
50818
  applicationData: applicationData,
@@ -51488,93 +51495,6 @@ var TableFormulas = observer(function () {
51488
51495
  });
51489
51496
  });
51490
51497
 
51491
- var cell = "cell-sUiJG";
51492
- var css_248z$t = ".cell-sUiJG {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n}\n\n.cell-sUiJG .ant-input-number {\n width: 100%;\n}\n\n.cell-sUiJG .ant-select {\n width: 100%;\n}\n\n.cell-sUiJG .ant-input-number-input {\n text-align: right;\n padding: 0;\n}\n";
51493
- styleInject(css_248z$t);
51494
-
51495
- /**
51496
- * Renders one cell of the Zusatzartikel matrix and stages its own changes.
51497
- *
51498
- * The matrix cells have no row field of their own - they are computed from the item's ADDITIONAL_ITEMS groups - so
51499
- * they cannot use the grid's normal editing path: it keys every commit on `colDef.field` and drops an edit without
51500
- * one. Writing through the transaction handler of the grid context is the route the lookup and asset cells take;
51501
- * unlike the grid api's setNodeDataValue it does not force an immediate commit, so the changes of a row are sent
51502
- * together when the selection leaves it.
51503
- */
51504
- function AccessoryCellRenderer(props) {
51505
- var _isDisabled;
51506
- var value = props.value,
51507
- node = props.node,
51508
- kind = props.kind,
51509
- min = props.min,
51510
- max = props.max,
51511
- options = props.options,
51512
- disabled = props.disabled,
51513
- isDisabled = props.isDisabled,
51514
- onSave = props.onSave,
51515
- context = props.context;
51516
- var transactionHandler = context === null || context === void 0 ? void 0 : context.transactionHandler;
51517
-
51518
- // Rows still loading have no data to write to
51519
- if (!(node !== null && node !== void 0 && node.data)) return null;
51520
- var cellDisabled = disabled || ((_isDisabled = isDisabled === null || isDisabled === void 0 ? void 0 : isDisabled(node)) !== null && _isDisabled !== void 0 ? _isDisabled : false);
51521
- if (kind === 'boolean') {
51522
- return /*#__PURE__*/jsx("span", {
51523
- className: cell,
51524
- children: /*#__PURE__*/jsx(Checkbox$3, {
51525
- checked: value === true,
51526
- disabled: cellDisabled,
51527
- onChange: function onChange(event) {
51528
- return onSave(node, event.target.checked, transactionHandler);
51529
- }
51530
- })
51531
- });
51532
- }
51533
- if (kind === 'select') {
51534
- return /*#__PURE__*/jsx("span", {
51535
- className: cell,
51536
- children: /*#__PURE__*/jsx(Select$1, {
51537
- value: value !== null && value !== void 0 ? value : undefined,
51538
- options: options,
51539
- disabled: cellDisabled,
51540
- variant: "borderless",
51541
- size: "small",
51542
- popupMatchSelectWidth: false,
51543
- onChange: function onChange(next) {
51544
- return onSave(node, next, transactionHandler);
51545
- }
51546
- })
51547
- });
51548
- }
51549
- return /*#__PURE__*/jsx("span", {
51550
- className: cell,
51551
- children: /*#__PURE__*/jsx(InputNumber$1, {
51552
- value: value !== null && value !== void 0 ? value : null,
51553
- min: min,
51554
- max: max,
51555
- precision: 0,
51556
- disabled: cellDisabled,
51557
- variant: "borderless",
51558
- size: "small",
51559
- controls: false
51560
- // Committing on blur and on Enter keeps one staged change per finished entry instead of one per keystroke
51561
- ,
51562
- onBlur: function onBlur(event) {
51563
- return save(event.currentTarget.value);
51564
- },
51565
- onPressEnter: function onPressEnter(event) {
51566
- return save(event.currentTarget.value);
51567
- }
51568
- })
51569
- });
51570
- function save(raw) {
51571
- var parsed = raw === '' ? undefined : Number(raw);
51572
- var next = parsed != null && Number.isNaN(parsed) ? undefined : parsed;
51573
- if ((value !== null && value !== void 0 ? value : undefined) === next) return;
51574
- onSave(node, next, transactionHandler);
51575
- }
51576
- }
51577
-
51578
51498
  function ownKeys$G(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; }
51579
51499
  function _objectSpread$G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
51580
51500
  /**
@@ -51895,16 +51815,83 @@ function additionalItemFields(isV4) {
51895
51815
  return [mandatory, optional];
51896
51816
  }
51897
51817
 
51818
+ /**
51819
+ * Translates one edited cell of the accessory matrix into the two group fields of the row. The matrix cells are
51820
+ * computed and have no field of their own, so every write the grid hands over - the cell editor, the clipboard and
51821
+ * the fill handle alike - goes through here. Only a value the cell could hold is applied; anything else returns
51822
+ * undefined and leaves the row untouched, so a stray paste cannot corrupt a relation.
51823
+ */
51824
+
51825
+ var REJECTED$1 = {
51826
+ ok: false
51827
+ };
51828
+
51829
+ /** A plain non-negative integer, from the editor (number) or the clipboard (text). */
51830
+ function parsedInteger(raw) {
51831
+ var value = typeof raw === 'string' && /^\d+$/.test(raw.trim()) ? Number(raw.trim()) : raw;
51832
+ return typeof value === 'number' && Number.isSafeInteger(value) && value >= 0 ? value : undefined;
51833
+ }
51834
+ function parsedValue(kind, raw) {
51835
+ // An emptied cell clears a quantity - the other kinds have nothing an empty value could mean
51836
+ if (raw === undefined || raw === null || raw === '') {
51837
+ return kind === 'mandatoryQuantity' || kind === 'optionalQuantity' ? {
51838
+ ok: true,
51839
+ value: undefined
51840
+ } : REJECTED$1;
51841
+ }
51842
+ if (kind === 'active') {
51843
+ if (typeof raw === 'boolean') return {
51844
+ ok: true,
51845
+ value: raw
51846
+ };
51847
+ var text = String(raw).trim().toLowerCase();
51848
+ return text === 'true' || text === 'false' ? {
51849
+ ok: true,
51850
+ value: text === 'true'
51851
+ } : REJECTED$1;
51852
+ }
51853
+ var value = parsedInteger(raw);
51854
+ if (value === undefined) return REJECTED$1;
51855
+ if (kind === 'setNo' && (value < DEFAULT_SET_NO || value > MAX_SET_NO)) return REJECTED$1;
51856
+ return {
51857
+ ok: true,
51858
+ value: value
51859
+ };
51860
+ }
51861
+
51862
+ /**
51863
+ * Applies one cell value to the row's matrix and returns the rebuilt group fields, or undefined when the value is
51864
+ * nothing the cell could hold. Both fields go together because a quantity can move a reference from the mandatory
51865
+ * into the optional group and back.
51866
+ */
51867
+ function accessoryRowUpdate(data, isV4, accessory, kind, raw) {
51868
+ var parsed = parsedValue(kind, raw);
51869
+ if (!parsed.ok) return undefined;
51870
+ var cells = readCells(data, isV4);
51871
+ var setMeta = readSetMeta(data, isV4);
51872
+ if (kind === 'setNo') {
51873
+ // The grid shows one set per accessory, so the set goes to both IDM sides - each keeps it only with a quantity
51874
+ applyCellChange(cells, accessory, 'mandatorySetNo', parsed.value);
51875
+ applyCellChange(cells, accessory, 'optionalSetNo', parsed.value);
51876
+ } else {
51877
+ applyCellChange(cells, accessory, kind, parsed.value);
51878
+ }
51879
+ var groups = {};
51880
+ writeCells(groups, isV4, cells, setMeta);
51881
+ var _additionalItemFields = additionalItemFields(isV4),
51882
+ _additionalItemFields2 = _slicedToArray(_additionalItemFields, 2),
51883
+ mandatoryField = _additionalItemFields2[0],
51884
+ optionalField = _additionalItemFields2[1];
51885
+ return _defineProperty(_defineProperty({}, mandatoryField, groups[mandatoryField]), optionalField, groups[optionalField]);
51886
+ }
51887
+
51898
51888
  function ownKeys$E(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; }
51899
51889
  function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
51900
51890
  /** The IDM sets a reference can belong to - SET_NO is restricted to 1-9. */
51901
- var SET_NO_OPTIONS = Array.from({
51891
+ var SET_NO_VALUES = Array.from({
51902
51892
  length: MAX_SET_NO - DEFAULT_SET_NO + 1
51903
51893
  }, function (_, i) {
51904
- return {
51905
- value: DEFAULT_SET_NO + i,
51906
- label: String(DEFAULT_SET_NO + i)
51907
- };
51894
+ return DEFAULT_SET_NO + i;
51908
51895
  });
51909
51896
 
51910
51897
  /**
@@ -51918,11 +51905,10 @@ var SET_NO_OPTIONS = Array.from({
51918
51905
  * The relations live on the articles themselves (ITEM.ADDITIONAL_ITEMS), so a row is an item and every edit goes
51919
51906
  * through the normal item endpoints.
51920
51907
  *
51921
- * A matrix cell has no row field of its own - it is computed from the nested groups - so the cells render their own
51922
- * input and stage the rebuilt groups through the grid's transaction handler. The grid's normal editing path is not
51923
- * usable here: it keys each commit on `colDef.field` and drops an edit that has none. Staging keeps the save on the
51924
- * row: the grid commits the pending changes when the selection leaves it. The fill handle takes the same route, so
51925
- * a value can be dragged onto the rows below it.
51908
+ * A matrix cell has no row field of its own - it is computed from the nested groups - so each column carries a
51909
+ * cellEditToRowUpdate that turns its edited value back into the two group fields. Everything else is the grid's
51910
+ * normal editing: the standard editors, clipboard and fill handle all funnel their writes through that one hook,
51911
+ * and the transaction handler commits the staged changes when the row is left.
51926
51912
  */
51927
51913
  var ArticleRelations = observer(function (props) {
51928
51914
  var idmService = props.idmService,
@@ -51986,59 +51972,15 @@ var ArticleRelations = observer(function (props) {
51986
51972
  * selection moves to another row. Both arrays go together because a quantity can move a reference from the
51987
51973
  * mandatory into the optional group and back.
51988
51974
  */
51989
- var save = useCallback(function (node, transactionHandler, change) {
51990
- var data = node === null || node === void 0 ? void 0 : node.data;
51991
- if (!data || !transactionHandler) return;
51992
- var cells = readCells(data, isV4);
51993
- var setMeta = readSetMeta(data, isV4);
51994
- change(cells, setMeta);
51995
- var groups = {};
51996
- writeCells(groups, isV4, cells, setMeta);
51997
- var _additionalItemFields3 = additionalItemFields(isV4),
51998
- _additionalItemFields4 = _slicedToArray(_additionalItemFields3, 2),
51999
- mandatoryField = _additionalItemFields4[0],
52000
- optionalField = _additionalItemFields4[1];
52001
- transactionHandler.updateRow(node.id, _defineProperty(_defineProperty({}, mandatoryField, groups[mandatoryField]), optionalField, groups[optionalField]), true);
52002
- }, [isV4]);
52003
- var saveCell = useCallback(function (accessory, property) {
52004
- return function (node, value, transactionHandler) {
52005
- return save(node, transactionHandler, function (cells) {
52006
- return applyCellChange(cells, accessory, property, value);
52007
- });
52008
- };
52009
- }, [save]);
52010
-
52011
- /**
52012
- * Writes the single Set No of an accessory to both IDM sides. Each side drops the value again while it has no
52013
- * quantity, so an accessory that is only mandatory or only optional publishes just that one group.
52014
- */
52015
- var saveSetNo = useCallback(function (accessory) {
52016
- return function (node, value, transactionHandler) {
52017
- return save(node, transactionHandler, function (cells) {
52018
- applyCellChange(cells, accessory, 'mandatorySetNo', value);
52019
- applyCellChange(cells, accessory, 'optionalSetNo', value);
52020
- });
52021
- };
52022
- }, [save]);
52023
-
52024
51975
  /**
52025
- * Fill handle: copies the value of the dragged cells onto the rows they are dragged over, through the same save
52026
- * the cell renderer uses. Only vertical drags copy - sideways the next column means something else. The cell
52027
- * value is returned unchanged, which keeps the write of the grid (which would need a field) out of it.
51976
+ * The one write path of a matrix cell: the grid hands every edit here - editor, clipboard and fill handle alike -
51977
+ * and gets back the rebuilt group fields to stage, or undefined for a value the cell cannot hold.
52028
51978
  */
52029
- var fill = useCallback(function (onSave) {
51979
+ var edit = useCallback(function (accessory, kind) {
52030
51980
  return function (params) {
52031
- var _params$context;
52032
- // The cells disable their own input on a view, the fill has to refuse the write just as much
52033
- if (viewOnly) return false;
52034
- if (params.direction !== 'down' && params.direction !== 'up') return false;
52035
-
52036
- // Several dragged cells repeat over the filled rows, like the fill of the grid does
52037
- var value = params.initialValues[params.currentIndex % params.initialValues.length];
52038
- onSave(params.rowNode, value, (_params$context = params.context) === null || _params$context === void 0 ? void 0 : _params$context.transactionHandler);
52039
- return params.currentCellValue;
51981
+ return accessoryRowUpdate(params.data, isV4, accessory, kind, params.newValue);
52040
51982
  };
52041
- }, [viewOnly]);
51983
+ }, [isV4]);
52042
51984
 
52043
51985
  /**
52044
51986
  * Deletes every relation of one accessory in this serie - the whole column. The relations are spread over the
@@ -52090,17 +52032,14 @@ var ArticleRelations = observer(function (props) {
52090
52032
  var accessoryColumnDefs = useMemo(function () {
52091
52033
  return accessories.map(function (accessory) {
52092
52034
  var _accessory$serieName, _accessory$shortText;
52093
- // Computed from nested groups: no field to sort or key an edit on. The filters reach the server through
52094
- // the parsers below, which rewrite them onto the fields the item endpoint answers for one accessory.
52035
+ // Computed from nested groups: no field to sort on, edits go through cellEditToRowUpdate. The filters
52036
+ // reach the server through the parsers below, which rewrite them onto the fields the item endpoint
52037
+ // answers for one accessory. The data type also picks the matching editor and filter operations.
52095
52038
  var matrixCell = {
52096
- editable: false,
52097
- sortable: false,
52098
- cellRenderer: AccessoryCellRenderer
52039
+ editable: !viewOnly,
52040
+ sortable: false
52099
52041
  };
52100
- // A column without a data type is a text one, and its filter offers contains, startsWith and the like -
52101
- // operations the service cannot answer for a number. The numeric columns have to name their type to get
52102
- // the numeric operations instead.
52103
- var numberFilter = _objectSpread$E(_objectSpread$E({}, matrixCell), {}, {
52042
+ var numberCell = _objectSpread$E(_objectSpread$E({}, matrixCell), {}, {
52104
52043
  cellDataType: 'number'
52105
52044
  });
52106
52045
  var cellOf = function cellOf(data) {
@@ -52144,7 +52083,7 @@ var ArticleRelations = observer(function (props) {
52144
52083
  })
52145
52084
  })
52146
52085
  },
52147
- children: [_objectSpread$E(_objectSpread$E({}, numberFilter), {}, {
52086
+ children: [_objectSpread$E(_objectSpread$E({}, numberCell), {}, {
52148
52087
  headerName: 'backoffice.idmCatalog.articlerelations.label.mandatoryQuantity',
52149
52088
  colId: "".concat(accessory.key, ".mandatoryQuantity"),
52150
52089
  filterModelParser: quantityFilterParser("".concat(accessory.key, ".mandatoryQuantity"), accessory, 'mandatory'),
@@ -52153,14 +52092,8 @@ var ArticleRelations = observer(function (props) {
52153
52092
  var data = _ref2.data;
52154
52093
  return data ? (_cellOf = cellOf(data)) === null || _cellOf === void 0 ? void 0 : _cellOf.mandatoryQuantity : undefined;
52155
52094
  },
52156
- setFillValue: fill(saveCell(accessory, 'mandatoryQuantity')),
52157
- cellRendererParams: {
52158
- kind: 'number',
52159
- min: 0,
52160
- disabled: viewOnly,
52161
- onSave: saveCell(accessory, 'mandatoryQuantity')
52162
- }
52163
- }), _objectSpread$E(_objectSpread$E({}, numberFilter), {}, {
52095
+ cellEditToRowUpdate: edit(accessory, 'mandatoryQuantity')
52096
+ }), _objectSpread$E(_objectSpread$E({}, numberCell), {}, {
52164
52097
  headerName: 'backoffice.idmCatalog.articlerelations.label.optionalQuantity',
52165
52098
  colId: "".concat(accessory.key, ".optionalQuantity"),
52166
52099
  filterModelParser: quantityFilterParser("".concat(accessory.key, ".optionalQuantity"), accessory, 'optional'),
@@ -52169,59 +52102,44 @@ var ArticleRelations = observer(function (props) {
52169
52102
  var data = _ref3.data;
52170
52103
  return data ? (_cellOf2 = cellOf(data)) === null || _cellOf2 === void 0 ? void 0 : _cellOf2.optionalQuantity : undefined;
52171
52104
  },
52172
- setFillValue: fill(saveCell(accessory, 'optionalQuantity')),
52173
- cellRendererParams: {
52174
- kind: 'number',
52175
- min: 0,
52176
- disabled: viewOnly,
52177
- onSave: saveCell(accessory, 'optionalQuantity')
52178
- }
52179
- }), _objectSpread$E(_objectSpread$E({}, numberFilter), {}, {
52105
+ cellEditToRowUpdate: edit(accessory, 'optionalQuantity')
52106
+ }), _objectSpread$E(_objectSpread$E({}, numberCell), {}, {
52180
52107
  headerName: 'backoffice.idmCatalog.articlerelations.label.setNo',
52181
52108
  colId: "".concat(accessory.key, ".setNo"),
52109
+ // Editable exactly while a quantity is set - without one there is nothing the set could publish
52110
+ editable: function editable(params) {
52111
+ if (viewOnly) return false;
52112
+ var cell = cellOf(params.data);
52113
+ return (cell === null || cell === void 0 ? void 0 : cell.mandatoryQuantity) != null || (cell === null || cell === void 0 ? void 0 : cell.optionalQuantity) != null;
52114
+ },
52115
+ cellEditor: 'agSelectCellEditor',
52116
+ cellEditorParams: {
52117
+ values: SET_NO_VALUES
52118
+ },
52182
52119
  filterModelParser: setNoFilterParser("".concat(accessory.key, ".setNo"), accessory),
52183
52120
  // Both sides are always written together, so either one carries the set of the relation
52184
52121
  valueGetter: function valueGetter(_ref4) {
52185
- var _cellOf$mandatorySetN, _cellOf3, _cellOf4;
52122
+ var _cell$mandatorySetNo;
52186
52123
  var data = _ref4.data;
52187
- return data ? (_cellOf$mandatorySetN = (_cellOf3 = cellOf(data)) === null || _cellOf3 === void 0 ? void 0 : _cellOf3.mandatorySetNo) !== null && _cellOf$mandatorySetN !== void 0 ? _cellOf$mandatorySetN : (_cellOf4 = cellOf(data)) === null || _cellOf4 === void 0 ? void 0 : _cellOf4.optionalSetNo : undefined;
52188
- },
52189
- cellRendererParams: {
52190
- kind: 'select',
52191
- options: SET_NO_OPTIONS,
52192
- disabled: viewOnly,
52193
- // Required exactly while a quantity is set - without one there is nothing the set could publish
52194
- isDisabled: function isDisabled(node) {
52195
- var _cellOf5, _cellOf6;
52196
- return ((_cellOf5 = cellOf(node.data)) === null || _cellOf5 === void 0 ? void 0 : _cellOf5.mandatoryQuantity) == null && ((_cellOf6 = cellOf(node.data)) === null || _cellOf6 === void 0 ? void 0 : _cellOf6.optionalQuantity) == null;
52197
- },
52198
- onSave: saveSetNo(accessory)
52124
+ var cell = data ? cellOf(data) : undefined;
52125
+ return (_cell$mandatorySetNo = cell === null || cell === void 0 ? void 0 : cell.mandatorySetNo) !== null && _cell$mandatorySetNo !== void 0 ? _cell$mandatorySetNo : cell === null || cell === void 0 ? void 0 : cell.optionalSetNo;
52199
52126
  },
52200
- setFillValue: fill(saveSetNo(accessory))
52127
+ cellEditToRowUpdate: edit(accessory, 'setNo')
52201
52128
  }), _objectSpread$E(_objectSpread$E({}, matrixCell), {}, {
52202
52129
  headerName: 'backoffice.idmCatalog.articlerelations.label.active',
52203
52130
  colId: "".concat(accessory.key, ".active"),
52204
- filter: 'agSetColumnFilter',
52205
- filterParams: {
52206
- suppressMiniFilter: true,
52207
- values: [true, false]
52208
- },
52131
+ cellDataType: 'boolean',
52209
52132
  filterModelParser: activeFilterParser("".concat(accessory.key, ".active"), accessory),
52210
52133
  valueGetter: function valueGetter(_ref5) {
52211
- var _cellOf$active, _cellOf7;
52134
+ var _cellOf$active, _cellOf3;
52212
52135
  var data = _ref5.data;
52213
- return data ? (_cellOf$active = (_cellOf7 = cellOf(data)) === null || _cellOf7 === void 0 ? void 0 : _cellOf7.active) !== null && _cellOf$active !== void 0 ? _cellOf$active : false : undefined;
52136
+ return data ? (_cellOf$active = (_cellOf3 = cellOf(data)) === null || _cellOf3 === void 0 ? void 0 : _cellOf3.active) !== null && _cellOf$active !== void 0 ? _cellOf$active : false : undefined;
52214
52137
  },
52215
- setFillValue: fill(saveCell(accessory, 'active')),
52216
- cellRendererParams: {
52217
- kind: 'boolean',
52218
- disabled: viewOnly,
52219
- onSave: saveCell(accessory, 'active')
52220
- }
52138
+ cellEditToRowUpdate: edit(accessory, 'active')
52221
52139
  })]
52222
52140
  };
52223
52141
  });
52224
- }, [accessories, language, ownSerieNo, isV4, viewOnly, saveCell, saveSetNo, fill, removeAccessory, t]);
52142
+ }, [accessories, language, ownSerieNo, isV4, viewOnly, edit, removeAccessory, t]);
52225
52143
  var configuration = useMemo(function () {
52226
52144
  return {
52227
52145
  type: 'dotnetSSM',
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accessoryCellEdit.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryCellEdit.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Translates one edited cell of the accessory matrix into the two group fields of the row. The matrix cells are
3
+ * computed and have no field of their own, so every write the grid hands over - the cell editor, the clipboard and
4
+ * the fill handle alike - goes through here. Only a value the cell could hold is applied; anything else returns
5
+ * undefined and leaves the row untouched, so a stray paste cannot corrupt a relation.
6
+ */
7
+ export type AccessoryCellKind = 'mandatoryQuantity' | 'optionalQuantity' | 'setNo' | 'active';
8
+ /**
9
+ * Applies one cell value to the row's matrix and returns the rebuilt group fields, or undefined when the value is
10
+ * nothing the cell could hold. Both fields go together because a quantity can move a reference from the mandatory
11
+ * into the optional group and back.
12
+ */
13
+ export declare function accessoryRowUpdate(data: any, isV4: boolean, accessory: {
14
+ serieNo: string;
15
+ typeNo: string;
16
+ }, kind: AccessoryCellKind, raw: unknown): Record<string, unknown> | undefined;
17
+ //# sourceMappingURL=accessoryCellEdit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryCellEdit.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAqC9F;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,OAAO,EACb,SAAS,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC9C,IAAI,EAAE,iBAAiB,EACvB,GAAG,EAAE,OAAO,GACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAsBrC"}
@@ -27,11 +27,10 @@ interface Props {
27
27
  * The relations live on the articles themselves (ITEM.ADDITIONAL_ITEMS), so a row is an item and every edit goes
28
28
  * through the normal item endpoints.
29
29
  *
30
- * A matrix cell has no row field of its own - it is computed from the nested groups - so the cells render their own
31
- * input and stage the rebuilt groups through the grid's transaction handler. The grid's normal editing path is not
32
- * usable here: it keys each commit on `colDef.field` and drops an edit that has none. Staging keeps the save on the
33
- * row: the grid commits the pending changes when the selection leaves it. The fill handle takes the same route, so
34
- * a value can be dragged onto the rows below it.
30
+ * A matrix cell has no row field of its own - it is computed from the nested groups - so each column carries a
31
+ * cellEditToRowUpdate that turns its edited value back into the two group fields. Everything else is the grid's
32
+ * normal editing: the standard editors, clipboard and fill handle all funnel their writes through that one hook,
33
+ * and the transaction handler commits the staged changes when the row is left.
35
34
  */
36
35
  export declare const ArticleRelations: ((props: Props) => React.JSX.Element | null) & {
37
36
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAW5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAetE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CA8RpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAKtE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CAwOpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAKrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAyMA"}
1
+ {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAkNA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.11.0-beta.4",
3
+ "version": "26.11.0-beta.5",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.11.0-beta.4",
19
- "@crystaldesign/content-item": "26.11.0-beta.4",
20
- "@crystaldesign/diva-core": "26.11.0-beta.4",
21
- "@crystaldesign/diva-utils": "26.11.0-beta.4",
22
- "@crystaldesign/media-upload": "26.11.0-beta.4",
23
- "@crystaldesign/rtf-editor": "26.11.0-beta.4",
24
- "@crystaldesign/spreadsheet": "26.11.0-beta.4",
18
+ "@crystaldesign/content-box": "26.11.0-beta.5",
19
+ "@crystaldesign/content-item": "26.11.0-beta.5",
20
+ "@crystaldesign/diva-core": "26.11.0-beta.5",
21
+ "@crystaldesign/diva-utils": "26.11.0-beta.5",
22
+ "@crystaldesign/media-upload": "26.11.0-beta.5",
23
+ "@crystaldesign/rtf-editor": "26.11.0-beta.5",
24
+ "@crystaldesign/spreadsheet": "26.11.0-beta.5",
25
25
  "@dnd-kit/core": "^6.1.0",
26
26
  "@dnd-kit/sortable": "^8.0.0",
27
27
  "@dnd-kit/utilities": "^3.2.2",
@@ -56,5 +56,5 @@
56
56
  },
57
57
  "module": "build/esm/index.js",
58
58
  "types": "./build/types/backoffice/src/index.d.ts",
59
- "gitHead": "666f93903a47a845a2a184b0b263e02533ddef4b"
59
+ "gitHead": "effe1cbdf1d6a46cfc63b2696ebb7a8d11eb90f8"
60
60
  }
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { CustomCellRendererProps } from 'ag-grid-react';
3
- export interface AccessoryCellParams {
4
- kind: 'boolean' | 'number' | 'select';
5
- min?: number;
6
- max?: number;
7
- /** Options of a 'select' cell. */
8
- options?: {
9
- value: number;
10
- label: string;
11
- }[];
12
- disabled?: boolean;
13
- /** Additionally disables the cell depending on the row - e.g. a set no without its quantity. */
14
- isDisabled?: (node: any) => boolean;
15
- /**
16
- * Writes the new value back. The table owns the mapping to the IDM groups; the transaction handler only stages
17
- * the change, the grid commits it once the row is left.
18
- */
19
- onSave: (node: any, value: boolean | number | undefined, transactionHandler: any) => void;
20
- }
21
- /**
22
- * Renders one cell of the Zusatzartikel matrix and stages its own changes.
23
- *
24
- * The matrix cells have no row field of their own - they are computed from the item's ADDITIONAL_ITEMS groups - so
25
- * they cannot use the grid's normal editing path: it keys every commit on `colDef.field` and drops an edit without
26
- * one. Writing through the transaction handler of the grid context is the route the lookup and asset cells take;
27
- * unlike the grid api's setNodeDataValue it does not force an immediate commit, so the changes of a row are sent
28
- * together when the selection leaves it.
29
- */
30
- export default function AccessoryCellRenderer(props: CustomCellRendererProps<any> & AccessoryCellParams): React.JSX.Element | null;
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAGxD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gGAAgG;IAChG,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC;IACpC;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,EAAE,kBAAkB,EAAE,GAAG,KAAK,IAAI,CAAC;CAC3F;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC,GAAG,mBAAmB,4BA2DtG"}