@crystaldesign/diva-backoffice 24.8.0-beta.0 → 24.8.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +202 -173
- package/build/types/backoffice/src/layout/Navigation/MenuElement.d.ts +2 -2
- package/build/types/backoffice/src/layout/Navigation/MenuElement.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Navigation/MenuLabel.d.ts +6 -0
- package/build/types/backoffice/src/layout/Navigation/MenuLabel.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Navigation/index.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/utils/aplyFilterAndSortation.d.ts +1 -1
- package/build/types/backoffice/src/utils/getIcons.d.ts.map +1 -1
- package/package.json +3 -3
package/build/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import 'antd/dist/reset.css';
|
|
|
4
4
|
import { Button, Spin, Descriptions, Select as Select$1, Alert, Modal as Modal$2, Input, Popover, Typography, Divider, Avatar, Form as Form$1, Radio, DatePicker, Checkbox, InputNumber, Card, Tooltip as Tooltip$1, Upload, Collapse, Space, Switch, Table as Table$1, Popconfirm, Tabs, Image, Progress, Slider, Breadcrumb, List as List$1, Result as Result$1, message, Layout, Cascader, Row, Col, Skeleton, Drawer, ConfigProvider, theme } from 'antd';
|
|
5
5
|
import { observer } from 'mobx-react-lite';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
7
|
-
import { getLogger, DivaError, useDivaCore, useTranslation, DivaUtils } from '@crystaldesign/diva-core';
|
|
7
|
+
import { getLogger, DivaError, useDivaCore, useTranslation as useTranslation$1, DivaUtils } from '@crystaldesign/diva-core';
|
|
8
8
|
import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
|
|
9
9
|
import _createClass from '@babel/runtime/helpers/createClass';
|
|
10
10
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -20,7 +20,10 @@ import { io } from 'socket.io-client';
|
|
|
20
20
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
21
21
|
import { toJS, makeAutoObservable, observable, action, makeObservable } from 'mobx';
|
|
22
22
|
import merge from 'deepmerge';
|
|
23
|
+
import { useTranslation } from 'react-i18next';
|
|
23
24
|
import Tooltip from 'antd/es/tooltip';
|
|
25
|
+
import RightOutlined from '@ant-design/icons/RightOutlined';
|
|
26
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
27
|
import ApartmentOutlined from '@ant-design/icons/ApartmentOutlined';
|
|
25
28
|
import UserOutlined from '@ant-design/icons/UserOutlined';
|
|
26
29
|
import FileOutlined from '@ant-design/icons/FileOutlined';
|
|
@@ -57,7 +60,9 @@ import AlertOutlined from '@ant-design/icons/AlertOutlined';
|
|
|
57
60
|
import DownloadOutlined from '@ant-design/icons/DownloadOutlined';
|
|
58
61
|
import CloudOutlined from '@ant-design/icons/CloudOutlined';
|
|
59
62
|
import FileExcelOutlined from '@ant-design/icons/FileExcelOutlined';
|
|
60
|
-
import
|
|
63
|
+
import FolderOutlined from '@ant-design/icons/FolderOutlined';
|
|
64
|
+
import SettingOutlined from '@ant-design/icons/SettingOutlined';
|
|
65
|
+
import PieChartOutlined from '@ant-design/icons/PieChartOutlined';
|
|
61
66
|
import { DownloadOutlined as DownloadOutlined$1, MinusCircleOutlined, PlusOutlined, FullscreenOutlined, FileUnknownOutlined, CloseOutlined as CloseOutlined$1, PlusCircleOutlined as PlusCircleOutlined$1, HomeOutlined as HomeOutlined$1, InboxOutlined, PlusSquareOutlined, DeleteOutlined as DeleteOutlined$1 } from '@ant-design/icons';
|
|
62
67
|
import AssetEditor from '@crystaldesign/media-upload';
|
|
63
68
|
import debounce from 'lodash/debounce';
|
|
@@ -97,7 +102,6 @@ import 'ag-grid-enterprise';
|
|
|
97
102
|
import Collapsible from 'react-collapsible';
|
|
98
103
|
import QuestionOutlined from '@ant-design/icons/QuestionOutlined';
|
|
99
104
|
import { TransformWrapper, TransformComponent } from 'react-zoom-pan-pinch';
|
|
100
|
-
import { useTranslation as useTranslation$1 } from 'react-i18next';
|
|
101
105
|
import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
|
|
102
106
|
import Descriptions$1 from 'antd/es/descriptions';
|
|
103
107
|
import Space$1 from 'antd/es/space';
|
|
@@ -10876,6 +10880,59 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
10876
10880
|
};
|
|
10877
10881
|
}
|
|
10878
10882
|
|
|
10883
|
+
function styleInject(css, ref) {
|
|
10884
|
+
if ( ref === void 0 ) ref = {};
|
|
10885
|
+
var insertAt = ref.insertAt;
|
|
10886
|
+
|
|
10887
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
10888
|
+
|
|
10889
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
10890
|
+
var style = document.createElement('style');
|
|
10891
|
+
style.type = 'text/css';
|
|
10892
|
+
|
|
10893
|
+
if (insertAt === 'top') {
|
|
10894
|
+
if (head.firstChild) {
|
|
10895
|
+
head.insertBefore(style, head.firstChild);
|
|
10896
|
+
} else {
|
|
10897
|
+
head.appendChild(style);
|
|
10898
|
+
}
|
|
10899
|
+
} else {
|
|
10900
|
+
head.appendChild(style);
|
|
10901
|
+
}
|
|
10902
|
+
|
|
10903
|
+
if (style.styleSheet) {
|
|
10904
|
+
style.styleSheet.cssText = css;
|
|
10905
|
+
} else {
|
|
10906
|
+
style.appendChild(document.createTextNode(css));
|
|
10907
|
+
}
|
|
10908
|
+
}
|
|
10909
|
+
|
|
10910
|
+
var navMinifyButton = "nav-minify-button-ZX7dm";
|
|
10911
|
+
var navContainer = "nav-container-JCR24";
|
|
10912
|
+
var navMinified = "nav-minified-tSt-a";
|
|
10913
|
+
var navOverlay = "nav-overlay-rKJNC";
|
|
10914
|
+
var navSettings = "nav-settings-82cjv";
|
|
10915
|
+
var menuLabel = "menu-label-4dXQk";
|
|
10916
|
+
var css_248z$j = ".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;\n display: initial;\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";
|
|
10917
|
+
styleInject(css_248z$j);
|
|
10918
|
+
|
|
10919
|
+
function MenuLabel (_ref) {
|
|
10920
|
+
var disabled = _ref.disabled,
|
|
10921
|
+
item = _ref.item;
|
|
10922
|
+
var _useTranslation = useTranslation(),
|
|
10923
|
+
t = _useTranslation.t;
|
|
10924
|
+
return /*#__PURE__*/jsx(Tooltip, {
|
|
10925
|
+
title: t('backoffice.notavailablefororg'),
|
|
10926
|
+
trigger: disabled ? 'hover' : [],
|
|
10927
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
10928
|
+
className: menuLabel,
|
|
10929
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
10930
|
+
children: t(item.label)
|
|
10931
|
+
}), item.subMenu && /*#__PURE__*/jsx(RightOutlined, {})]
|
|
10932
|
+
})
|
|
10933
|
+
});
|
|
10934
|
+
}
|
|
10935
|
+
|
|
10879
10936
|
function _createForOfIteratorHelper$l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$l(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
10880
10937
|
function _unsupportedIterableToArray$l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$l(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$l(r, a) : void 0; } }
|
|
10881
10938
|
function _arrayLikeToArray$l(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -11036,6 +11093,12 @@ function getIcon(icon) {
|
|
|
11036
11093
|
return /*#__PURE__*/jsx(CloudOutlined, {});
|
|
11037
11094
|
case 'FileExcelOutlined':
|
|
11038
11095
|
return /*#__PURE__*/jsx(FileExcelOutlined, {});
|
|
11096
|
+
case 'FolderOutlined':
|
|
11097
|
+
return /*#__PURE__*/jsx(FolderOutlined, {});
|
|
11098
|
+
case 'SettingOutlined':
|
|
11099
|
+
return /*#__PURE__*/jsx(SettingOutlined, {});
|
|
11100
|
+
case 'PieChartOutlined':
|
|
11101
|
+
return /*#__PURE__*/jsx(PieChartOutlined, {});
|
|
11039
11102
|
}
|
|
11040
11103
|
return undefined;
|
|
11041
11104
|
}
|
|
@@ -11293,10 +11356,10 @@ var _default$6 = /*#__PURE__*/function () {
|
|
|
11293
11356
|
}) : false;
|
|
11294
11357
|
var menuItem = {
|
|
11295
11358
|
key: item.id,
|
|
11296
|
-
label:
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
})
|
|
11359
|
+
label: /*#__PURE__*/createElement(MenuLabel, {
|
|
11360
|
+
disabled: disabled,
|
|
11361
|
+
item: item
|
|
11362
|
+
}),
|
|
11300
11363
|
disabled: disabled,
|
|
11301
11364
|
icon: getIcon(item.icon),
|
|
11302
11365
|
children: item.items.map(function (i) {
|
|
@@ -11317,10 +11380,10 @@ var _default$6 = /*#__PURE__*/function () {
|
|
|
11317
11380
|
},
|
|
11318
11381
|
disabled: _disabled,
|
|
11319
11382
|
icon: getIcon(item.icon),
|
|
11320
|
-
label:
|
|
11321
|
-
|
|
11322
|
-
|
|
11323
|
-
})
|
|
11383
|
+
label: /*#__PURE__*/createElement(MenuLabel, {
|
|
11384
|
+
disabled: _disabled,
|
|
11385
|
+
item: item
|
|
11386
|
+
}),
|
|
11324
11387
|
title: _disabled ? undefined : this.root.t(item.label)
|
|
11325
11388
|
};
|
|
11326
11389
|
return _menuItem;
|
|
@@ -11375,7 +11438,7 @@ var menu$1 = [{
|
|
|
11375
11438
|
id: 'catalogArea',
|
|
11376
11439
|
label: 'backoffice.menu.items.label.catalogArea',
|
|
11377
11440
|
permission: 'backoffice_catalog',
|
|
11378
|
-
icon: '
|
|
11441
|
+
icon: 'FolderOutlined',
|
|
11379
11442
|
subMenu: [{
|
|
11380
11443
|
id: 'TableCatalogTranslations',
|
|
11381
11444
|
label: 'backoffice.menu.items.label.TableCatalogTranslations',
|
|
@@ -11491,7 +11554,7 @@ var menu$1 = [{
|
|
|
11491
11554
|
id: 'Adminarea',
|
|
11492
11555
|
label: 'backoffice.menu.items.label.adminarea',
|
|
11493
11556
|
permission: 'backoffice_admin',
|
|
11494
|
-
icon: '
|
|
11557
|
+
icon: 'ControlOutlined',
|
|
11495
11558
|
subMenu: [{
|
|
11496
11559
|
id: 'clientRelationsAdmin',
|
|
11497
11560
|
label: 'backoffice.menu.items.label.clientRelationsAdmin',
|
|
@@ -11608,7 +11671,7 @@ var menu$1 = [{
|
|
|
11608
11671
|
id: 'systemarea',
|
|
11609
11672
|
label: 'backoffice.menu.items.label.systemarea',
|
|
11610
11673
|
permission: 'backoffice_admin',
|
|
11611
|
-
icon: '
|
|
11674
|
+
icon: 'SettingOutlined',
|
|
11612
11675
|
subMenu: [{
|
|
11613
11676
|
id: 'systemAdminRBAC',
|
|
11614
11677
|
label: 'RBAC',
|
|
@@ -11677,7 +11740,7 @@ var menu$1 = [{
|
|
|
11677
11740
|
id: 'analyticsarea',
|
|
11678
11741
|
label: 'backoffice.menu.items.label.analyticsarea',
|
|
11679
11742
|
permission: 'backoffice_analytics',
|
|
11680
|
-
icon: '
|
|
11743
|
+
icon: 'PieChartOutlined',
|
|
11681
11744
|
subMenu: [{
|
|
11682
11745
|
id: 'UIBuilderAnalytics',
|
|
11683
11746
|
label: 'backoffice.menu.items.label.UIBuilderAnalytics',
|
|
@@ -12483,7 +12546,7 @@ var StoreProvider = function StoreProvider(_ref) {
|
|
|
12483
12546
|
apiConfig = _useDivaCore$state.apiConfig,
|
|
12484
12547
|
actions = _useDivaCore.actions,
|
|
12485
12548
|
handler = _useDivaCore.handler;
|
|
12486
|
-
var _useTranslation = useTranslation(),
|
|
12549
|
+
var _useTranslation = useTranslation$1(),
|
|
12487
12550
|
t = _useTranslation.t,
|
|
12488
12551
|
i18n = _useTranslation.i18n;
|
|
12489
12552
|
var _useState = useState(new _default$1(actions, handler, t)),
|
|
@@ -13028,7 +13091,7 @@ var DescriptionWrapper = function DescriptionWrapper(_ref) {
|
|
|
13028
13091
|
var state = useDescriptions({
|
|
13029
13092
|
id: id
|
|
13030
13093
|
});
|
|
13031
|
-
var _useTranslation = useTranslation(),
|
|
13094
|
+
var _useTranslation = useTranslation$1(),
|
|
13032
13095
|
t = _useTranslation.t;
|
|
13033
13096
|
return /*#__PURE__*/jsx(Spin, {
|
|
13034
13097
|
spinning: state.loading,
|
|
@@ -13090,7 +13153,7 @@ function useSelectData (_ref) {
|
|
|
13090
13153
|
useFirstValueAsDefault = _ref.useFirstValueAsDefault,
|
|
13091
13154
|
canSetToUndefined = _ref.canSetToUndefined;
|
|
13092
13155
|
var root = useStore();
|
|
13093
|
-
var _useTranslation = useTranslation(),
|
|
13156
|
+
var _useTranslation = useTranslation$1(),
|
|
13094
13157
|
t = _useTranslation.t;
|
|
13095
13158
|
var filterServerSide = _typeof(apiInterface) == 'object' && _typeof(apiInterface.read) == 'object' && apiInterface.read.filterServerSide;
|
|
13096
13159
|
var _useMemo = useMemo(function () {
|
|
@@ -13455,35 +13518,8 @@ function useSelectData (_ref) {
|
|
|
13455
13518
|
};
|
|
13456
13519
|
}
|
|
13457
13520
|
|
|
13458
|
-
|
|
13459
|
-
|
|
13460
|
-
var insertAt = ref.insertAt;
|
|
13461
|
-
|
|
13462
|
-
if (!css || typeof document === 'undefined') { return; }
|
|
13463
|
-
|
|
13464
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
13465
|
-
var style = document.createElement('style');
|
|
13466
|
-
style.type = 'text/css';
|
|
13467
|
-
|
|
13468
|
-
if (insertAt === 'top') {
|
|
13469
|
-
if (head.firstChild) {
|
|
13470
|
-
head.insertBefore(style, head.firstChild);
|
|
13471
|
-
} else {
|
|
13472
|
-
head.appendChild(style);
|
|
13473
|
-
}
|
|
13474
|
-
} else {
|
|
13475
|
-
head.appendChild(style);
|
|
13476
|
-
}
|
|
13477
|
-
|
|
13478
|
-
if (style.styleSheet) {
|
|
13479
|
-
style.styleSheet.cssText = css;
|
|
13480
|
-
} else {
|
|
13481
|
-
style.appendChild(document.createTextNode(css));
|
|
13482
|
-
}
|
|
13483
|
-
}
|
|
13484
|
-
|
|
13485
|
-
var css_248z$j = ".darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
|
|
13486
|
-
styleInject(css_248z$j);
|
|
13521
|
+
var css_248z$i = ".darkmode .ant-select-selection-search-input {\n color: #fff;\n}\n";
|
|
13522
|
+
styleInject(css_248z$i);
|
|
13487
13523
|
|
|
13488
13524
|
var SelectWrapper$1 = function SelectWrapper(_ref) {
|
|
13489
13525
|
var onChange = _ref.onChange,
|
|
@@ -13529,7 +13565,7 @@ var SelectWrapper$1 = function SelectWrapper(_ref) {
|
|
|
13529
13565
|
useFirstValueAsDefault: useFirstValueAsDefault,
|
|
13530
13566
|
canSetToUndefined: canSetToUndefined
|
|
13531
13567
|
});
|
|
13532
|
-
var _useTranslation = useTranslation(),
|
|
13568
|
+
var _useTranslation = useTranslation$1(),
|
|
13533
13569
|
t = _useTranslation.t;
|
|
13534
13570
|
var filterServerSide = _typeof(apiInterface) == 'object' && _typeof(apiInterface.read) == 'object' && apiInterface.read.filterServerSide;
|
|
13535
13571
|
var selected = state.selected;
|
|
@@ -13580,7 +13616,7 @@ var FileUploadWrapper = function FileUploadWrapper(_ref) {
|
|
|
13580
13616
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
13581
13617
|
assetKey = _useState4[0],
|
|
13582
13618
|
setAssetKey = _useState4[1];
|
|
13583
|
-
var _useTranslation = useTranslation(),
|
|
13619
|
+
var _useTranslation = useTranslation$1(),
|
|
13584
13620
|
t = _useTranslation.t;
|
|
13585
13621
|
var _useState5 = useState(),
|
|
13586
13622
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -14346,7 +14382,7 @@ var Presets = function Presets(_ref) {
|
|
|
14346
14382
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
14347
14383
|
presetIds = _useState8[0],
|
|
14348
14384
|
setPresetIds = _useState8[1];
|
|
14349
|
-
var _useTranslation = useTranslation(),
|
|
14385
|
+
var _useTranslation = useTranslation$1(),
|
|
14350
14386
|
t = _useTranslation.t;
|
|
14351
14387
|
useEffect(function () {
|
|
14352
14388
|
getPresets();
|
|
@@ -14552,7 +14588,7 @@ var ApiKey = function ApiKey(_ref) {
|
|
|
14552
14588
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14553
14589
|
_value = _useState2[0],
|
|
14554
14590
|
setValue = _useState2[1];
|
|
14555
|
-
var _useTranslation = useTranslation(),
|
|
14591
|
+
var _useTranslation = useTranslation$1(),
|
|
14556
14592
|
t = _useTranslation.t;
|
|
14557
14593
|
var generateApiKey = function generateApiKey() {
|
|
14558
14594
|
var result = '';
|
|
@@ -14586,7 +14622,7 @@ function useButtonData (_ref) {
|
|
|
14586
14622
|
data = _ref.data,
|
|
14587
14623
|
callback = _ref.callback;
|
|
14588
14624
|
var root = useStore();
|
|
14589
|
-
var _useTranslation = useTranslation(),
|
|
14625
|
+
var _useTranslation = useTranslation$1(),
|
|
14590
14626
|
t = _useTranslation.t;
|
|
14591
14627
|
var _useState = useState(),
|
|
14592
14628
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -14686,8 +14722,8 @@ var Result = function Result(_ref) {
|
|
|
14686
14722
|
|
|
14687
14723
|
var success = "success-tRJ7j";
|
|
14688
14724
|
var error = "error-MtAFB";
|
|
14689
|
-
var css_248z$
|
|
14690
|
-
styleInject(css_248z$
|
|
14725
|
+
var css_248z$h = ".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";
|
|
14726
|
+
styleInject(css_248z$h);
|
|
14691
14727
|
|
|
14692
14728
|
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";
|
|
14693
14729
|
|
|
@@ -14753,8 +14789,8 @@ var CustomButton$1 = observer(CustomButton, {
|
|
|
14753
14789
|
|
|
14754
14790
|
var wrapper$1 = "wrapper-GVe2h";
|
|
14755
14791
|
var buttonGroup = "button-group-GYt-T";
|
|
14756
|
-
var css_248z$
|
|
14757
|
-
styleInject(css_248z$
|
|
14792
|
+
var css_248z$g = ".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";
|
|
14793
|
+
styleInject(css_248z$g);
|
|
14758
14794
|
|
|
14759
14795
|
function ownKeys$y(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; }
|
|
14760
14796
|
function _objectSpread$y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$y(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -14762,7 +14798,7 @@ var SubTitle = function SubTitle(_ref) {
|
|
|
14762
14798
|
var _item$orientation, _item$buttonIds;
|
|
14763
14799
|
var item = _ref.item,
|
|
14764
14800
|
data = _ref.data;
|
|
14765
|
-
var _useTranslation = useTranslation(),
|
|
14801
|
+
var _useTranslation = useTranslation$1(),
|
|
14766
14802
|
t = _useTranslation.t;
|
|
14767
14803
|
return /*#__PURE__*/jsx(Divider, {
|
|
14768
14804
|
orientation: (_item$orientation = item.orientation) !== null && _item$orientation !== void 0 ? _item$orientation : 'left',
|
|
@@ -15679,8 +15715,8 @@ var customSelect = "custom-select-ESUJX";
|
|
|
15679
15715
|
var customSelectOption = "custom-select-option-dUA7N";
|
|
15680
15716
|
var avatarWrapper = "avatar-wrapper-Vg-xe";
|
|
15681
15717
|
var selectTextWrapper = "select-text-wrapper-hPSZW";
|
|
15682
|
-
var css_248z$
|
|
15683
|
-
styleInject(css_248z$
|
|
15718
|
+
var css_248z$f = ".custom-select-ESUJX {\n width: 300px;\n}\n\n.custom-select-option-dUA7N {\n margin: 0px 12px;\n padding: 5px 0px;\n border-bottom: 1px solid #ddd;\n}\n\n.avatar-wrapper-Vg-xe {\n margin-right: 5px;\n height: 100%;\n width: 24px;\n float: left;\n position: relative;\n}\n\n.avatar-wrapper-Vg-xe > span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.select-text-wrapper-hPSZW {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: normal;\n width: calc(100% - 29px);\n}\n";
|
|
15719
|
+
styleInject(css_248z$f);
|
|
15684
15720
|
|
|
15685
15721
|
var Selector = function Selector(_ref) {
|
|
15686
15722
|
var items = _ref.items,
|
|
@@ -15786,7 +15822,7 @@ function SelectClientRelationCatalog (_ref) {
|
|
|
15786
15822
|
doReadSupplierData = _ref.doReadSupplierData,
|
|
15787
15823
|
supplierGuid = _ref.supplierGuid,
|
|
15788
15824
|
sessionGuid = _ref.sessionGuid;
|
|
15789
|
-
var _useTranslation = useTranslation(),
|
|
15825
|
+
var _useTranslation = useTranslation$1(),
|
|
15790
15826
|
t = _useTranslation.t;
|
|
15791
15827
|
var _useSelectClientRelat = useSelectClientRelationCatalog({
|
|
15792
15828
|
onSelectedCatalog: onSelectedCatalog,
|
|
@@ -16042,7 +16078,7 @@ var FormWrapper$1 = function FormWrapper(_ref, ref) {
|
|
|
16042
16078
|
var _Form$useForm = Form$1.useForm(),
|
|
16043
16079
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
16044
16080
|
form = _Form$useForm2[0];
|
|
16045
|
-
var _useTranslation = useTranslation(),
|
|
16081
|
+
var _useTranslation = useTranslation$1(),
|
|
16046
16082
|
t = _useTranslation.t;
|
|
16047
16083
|
var root = useStore();
|
|
16048
16084
|
useImperativeHandle(ref, function () {
|
|
@@ -16546,7 +16582,7 @@ var Form = observer(FormWrapper$1, {
|
|
|
16546
16582
|
forwardRef: true
|
|
16547
16583
|
});
|
|
16548
16584
|
function DisplayInput(props) {
|
|
16549
|
-
var _useTranslation2 = useTranslation(),
|
|
16585
|
+
var _useTranslation2 = useTranslation$1(),
|
|
16550
16586
|
t = _useTranslation2.t;
|
|
16551
16587
|
return /*#__PURE__*/jsx(Input, _objectSpread$v(_objectSpread$v({}, props), {}, {
|
|
16552
16588
|
disabled: true,
|
|
@@ -16624,16 +16660,16 @@ function reducer(state, action) {
|
|
|
16624
16660
|
|
|
16625
16661
|
var grid = "grid-sGemi";
|
|
16626
16662
|
var textWrapper = "text-wrapper-xsPXE";
|
|
16627
|
-
var css_248z$
|
|
16628
|
-
styleInject(css_248z$
|
|
16663
|
+
var css_248z$e = ".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";
|
|
16664
|
+
styleInject(css_248z$e);
|
|
16629
16665
|
|
|
16630
16666
|
var wrapper = "wrapper-p-gR3";
|
|
16631
16667
|
var container$1 = "container-DoZqe";
|
|
16632
|
-
var css_248z$
|
|
16633
|
-
styleInject(css_248z$
|
|
16668
|
+
var css_248z$d = ".wrapper-p-gR3 {\n background: #ececec;\n}\n\n.container-DoZqe {\n display: flex;\n justify-content: space-between;\n}\n";
|
|
16669
|
+
styleInject(css_248z$d);
|
|
16634
16670
|
|
|
16635
16671
|
var ToolTipInfo = function ToolTipInfo(props) {
|
|
16636
|
-
var _useTranslation = useTranslation(),
|
|
16672
|
+
var _useTranslation = useTranslation$1(),
|
|
16637
16673
|
t = _useTranslation.t;
|
|
16638
16674
|
return /*#__PURE__*/jsx("div", {
|
|
16639
16675
|
className: wrapper,
|
|
@@ -16831,8 +16867,8 @@ var useMediaUpload = function useMediaUpload(_ref) {
|
|
|
16831
16867
|
var small = "small-NY1-k";
|
|
16832
16868
|
var medium = "medium---QcO";
|
|
16833
16869
|
var big = "big--E39S";
|
|
16834
|
-
var css_248z$
|
|
16835
|
-
styleInject(css_248z$
|
|
16870
|
+
var css_248z$c = ".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: 85%;\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 .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";
|
|
16871
|
+
styleInject(css_248z$c);
|
|
16836
16872
|
|
|
16837
16873
|
var MediaUpload = observer(function (_ref) {
|
|
16838
16874
|
var id = _ref.id;
|
|
@@ -16891,8 +16927,8 @@ function getExpandedRowRenderer (config, root) {
|
|
|
16891
16927
|
var editableRow = "editable-row-9BEHi";
|
|
16892
16928
|
var checkbox = "checkbox-H7R-w";
|
|
16893
16929
|
var editableCellValueWrap = "editable-cell-value-wrap-ugTs4";
|
|
16894
|
-
var css_248z$
|
|
16895
|
-
styleInject(css_248z$
|
|
16930
|
+
var css_248z$b = ".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";
|
|
16931
|
+
styleInject(css_248z$b);
|
|
16896
16932
|
|
|
16897
16933
|
function BooleanCell (_ref) {
|
|
16898
16934
|
var children = _ref.children,
|
|
@@ -16943,7 +16979,7 @@ function StringCell (_ref) {
|
|
|
16943
16979
|
editing = _useState2[0],
|
|
16944
16980
|
setEditing = _useState2[1];
|
|
16945
16981
|
var form = useContext(EditableContext);
|
|
16946
|
-
var _useTranslation = useTranslation(),
|
|
16982
|
+
var _useTranslation = useTranslation$1(),
|
|
16947
16983
|
t = _useTranslation.t;
|
|
16948
16984
|
var _useState3 = useState(undefined),
|
|
16949
16985
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -17180,7 +17216,7 @@ function DropdownCell (_ref) {
|
|
|
17180
17216
|
dataIndex = _ref.dataIndex;
|
|
17181
17217
|
_ref.record;
|
|
17182
17218
|
var save = _ref.save;
|
|
17183
|
-
var _useTranslation = useTranslation(),
|
|
17219
|
+
var _useTranslation = useTranslation$1(),
|
|
17184
17220
|
t = _useTranslation.t;
|
|
17185
17221
|
if (column.editable) {
|
|
17186
17222
|
var _column$flow, _column$flow2;
|
|
@@ -17833,8 +17869,8 @@ function useAGHistogram (_ref) {
|
|
|
17833
17869
|
var container = "container-2r-OJ";
|
|
17834
17870
|
var column1 = "column1-9viTK";
|
|
17835
17871
|
var spinner = "spinner-00VcK";
|
|
17836
|
-
var css_248z$
|
|
17837
|
-
styleInject(css_248z$
|
|
17872
|
+
var css_248z$a = ".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";
|
|
17873
|
+
styleInject(css_248z$a);
|
|
17838
17874
|
|
|
17839
17875
|
var Panel = Collapse.Panel;
|
|
17840
17876
|
function AGHistogram (_ref) {
|
|
@@ -18014,7 +18050,7 @@ var TableWrapper = function TableWrapper(_ref) {
|
|
|
18014
18050
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18015
18051
|
autoRefresh = _useState2[0],
|
|
18016
18052
|
setAutoRefresh = _useState2[1];
|
|
18017
|
-
var _useTranslation = useTranslation(),
|
|
18053
|
+
var _useTranslation = useTranslation$1(),
|
|
18018
18054
|
t = _useTranslation.t;
|
|
18019
18055
|
useEffect(function () {
|
|
18020
18056
|
if (!state.loading && state.configuration.canRefresh) state.triggerRefresh();
|
|
@@ -18286,7 +18322,7 @@ function DeleteButton(_ref2) {
|
|
|
18286
18322
|
min = _ref2$min === void 0 ? 0 : _ref2$min,
|
|
18287
18323
|
deleting = _ref2.deleting,
|
|
18288
18324
|
onDelete = _ref2.onDelete;
|
|
18289
|
-
var _useTranslation2 = useTranslation(),
|
|
18325
|
+
var _useTranslation2 = useTranslation$1(),
|
|
18290
18326
|
t = _useTranslation2.t;
|
|
18291
18327
|
var hasSelected = (selected === null || selected === void 0 ? void 0 : selected.length) > 0;
|
|
18292
18328
|
var leftAfterDelete = total - selected.length;
|
|
@@ -18430,7 +18466,7 @@ function CopyButton(_ref3) {
|
|
|
18430
18466
|
return _ref5.apply(this, arguments);
|
|
18431
18467
|
};
|
|
18432
18468
|
}();
|
|
18433
|
-
var _useTranslation3 = useTranslation(),
|
|
18469
|
+
var _useTranslation3 = useTranslation$1(),
|
|
18434
18470
|
t = _useTranslation3.t;
|
|
18435
18471
|
return /*#__PURE__*/jsx(Button, {
|
|
18436
18472
|
type: "primary",
|
|
@@ -18444,7 +18480,7 @@ function BulkAction(_ref6) {
|
|
|
18444
18480
|
var action = _ref6.action,
|
|
18445
18481
|
state = _ref6.state;
|
|
18446
18482
|
var root = useStore();
|
|
18447
|
-
var _useTranslation4 = useTranslation(),
|
|
18483
|
+
var _useTranslation4 = useTranslation$1(),
|
|
18448
18484
|
t = _useTranslation4.t;
|
|
18449
18485
|
var hasSelected = ((_state$selected2 = state.selected) === null || _state$selected2 === void 0 ? void 0 : _state$selected2.length) > 0;
|
|
18450
18486
|
var selectedData = useMemo(function () {
|
|
@@ -18694,7 +18730,7 @@ var intervalProps = function intervalProps(title) {
|
|
|
18694
18730
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18695
18731
|
interval = _useState2[0],
|
|
18696
18732
|
setInterval = _useState2[1];
|
|
18697
|
-
var _useTranslation = useTranslation(),
|
|
18733
|
+
var _useTranslation = useTranslation$1(),
|
|
18698
18734
|
t = _useTranslation.t;
|
|
18699
18735
|
useEffect(function () {
|
|
18700
18736
|
var newSelectedKeys = [];
|
|
@@ -18987,7 +19023,7 @@ var selectProps = function selectProps(title, filter) {
|
|
|
18987
19023
|
confirm = _ref5.confirm,
|
|
18988
19024
|
clearFilters = _ref5.clearFilters,
|
|
18989
19025
|
visible = _ref5.visible;
|
|
18990
|
-
var _useTranslation2 = useTranslation(),
|
|
19026
|
+
var _useTranslation2 = useTranslation$1(),
|
|
18991
19027
|
t = _useTranslation2.t;
|
|
18992
19028
|
var ref = useRef(null);
|
|
18993
19029
|
useEffect(function () {
|
|
@@ -19057,7 +19093,7 @@ var multiSelectProps = function multiSelectProps(title, filter) {
|
|
|
19057
19093
|
var confirm = _ref6.confirm,
|
|
19058
19094
|
clearFilters = _ref6.clearFilters;
|
|
19059
19095
|
_ref6.visible;
|
|
19060
|
-
var _useTranslation3 = useTranslation(),
|
|
19096
|
+
var _useTranslation3 = useTranslation$1(),
|
|
19061
19097
|
t = _useTranslation3.t;
|
|
19062
19098
|
var _useState3 = useState([]),
|
|
19063
19099
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -19708,7 +19744,7 @@ function TranslationTabs(_ref) {
|
|
|
19708
19744
|
var filterContex = _ref.filterContex,
|
|
19709
19745
|
setFilterContext = _ref.setFilterContext,
|
|
19710
19746
|
tabs = _ref.tabs;
|
|
19711
|
-
var _useTranslation = useTranslation(),
|
|
19747
|
+
var _useTranslation = useTranslation$1(),
|
|
19712
19748
|
t = _useTranslation.t;
|
|
19713
19749
|
return /*#__PURE__*/jsx(Tabs, {
|
|
19714
19750
|
activeKey: filterContex,
|
|
@@ -20386,7 +20422,7 @@ function StandardTable (_ref) {
|
|
|
20386
20422
|
var id = _ref.id,
|
|
20387
20423
|
parentData = _ref.parentData,
|
|
20388
20424
|
parentMapping = _ref.parentMapping;
|
|
20389
|
-
var _useTranslation = useTranslation(),
|
|
20425
|
+
var _useTranslation = useTranslation$1(),
|
|
20390
20426
|
i18n = _useTranslation.i18n;
|
|
20391
20427
|
var state = useTableData({
|
|
20392
20428
|
id: id,
|
|
@@ -20650,8 +20686,8 @@ var loader = "loader-LaXZy";
|
|
|
20650
20686
|
var flex = "flex-yQdda";
|
|
20651
20687
|
var bar = "bar-Y663f";
|
|
20652
20688
|
var value = "value-FCA-6";
|
|
20653
|
-
var css_248z$
|
|
20654
|
-
styleInject(css_248z$
|
|
20689
|
+
var css_248z$9 = ".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";
|
|
20690
|
+
styleInject(css_248z$9);
|
|
20655
20691
|
|
|
20656
20692
|
function ownKeys$j(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; }
|
|
20657
20693
|
function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -20723,7 +20759,7 @@ var AGGrid = /*#__PURE__*/memo(function (_ref) {
|
|
|
20723
20759
|
});
|
|
20724
20760
|
var gridRef = useRef(); // Optional - for accessing Grid's API
|
|
20725
20761
|
var root = useStore();
|
|
20726
|
-
var _useTranslation = useTranslation(),
|
|
20762
|
+
var _useTranslation = useTranslation$1(),
|
|
20727
20763
|
i18n = _useTranslation.i18n,
|
|
20728
20764
|
t = _useTranslation.t;
|
|
20729
20765
|
function columnEnricher(columns) {
|
|
@@ -21600,8 +21636,8 @@ var retailerChild = "retailer-child-5ll0K";
|
|
|
21600
21636
|
var supplier = "supplier-8sm0I";
|
|
21601
21637
|
var dealer = "dealer-xgnku";
|
|
21602
21638
|
var association = "association-b8uVW";
|
|
21603
|
-
var css_248z$
|
|
21604
|
-
styleInject(css_248z$
|
|
21639
|
+
var css_248z$8 = ".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";
|
|
21640
|
+
styleInject(css_248z$8);
|
|
21605
21641
|
|
|
21606
21642
|
function getColorClass(data) {
|
|
21607
21643
|
switch (data.type) {
|
|
@@ -21629,7 +21665,7 @@ var OrgItem = function OrgItem(_ref) {
|
|
|
21629
21665
|
setUpdate = _ref$state[1],
|
|
21630
21666
|
onDelete = _ref.onDelete,
|
|
21631
21667
|
parentOrgId = _ref.parentOrgId;
|
|
21632
|
-
var _useTranslation = useTranslation(),
|
|
21668
|
+
var _useTranslation = useTranslation$1(),
|
|
21633
21669
|
t = _useTranslation.t;
|
|
21634
21670
|
var root = useStore();
|
|
21635
21671
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -21834,8 +21870,8 @@ var openClass = "open-class--gGXs";
|
|
|
21834
21870
|
var breadcrumb = "breadcrumb-Z0VvH";
|
|
21835
21871
|
var selected = "selected-w-sfW";
|
|
21836
21872
|
var disabled = "disabled-0nado";
|
|
21837
|
-
var css_248z$
|
|
21838
|
-
styleInject(css_248z$
|
|
21873
|
+
var css_248z$7 = ".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";
|
|
21874
|
+
styleInject(css_248z$7);
|
|
21839
21875
|
|
|
21840
21876
|
var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
|
|
21841
21877
|
var open = _ref.open,
|
|
@@ -21867,8 +21903,8 @@ var BreadCrumbsTrigger = function BreadCrumbsTrigger(_ref) {
|
|
|
21867
21903
|
|
|
21868
21904
|
var collapsibleInner = "collapsible-inner-rI8kI";
|
|
21869
21905
|
var toolbarLeft = "toolbar-left-X9WRo";
|
|
21870
|
-
var css_248z$
|
|
21871
|
-
styleInject(css_248z$
|
|
21906
|
+
var css_248z$6 = ".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";
|
|
21907
|
+
styleInject(css_248z$6);
|
|
21872
21908
|
|
|
21873
21909
|
var Legend = function Legend(props) {
|
|
21874
21910
|
return /*#__PURE__*/jsx(List$1, {
|
|
@@ -21922,8 +21958,8 @@ var Legend = function Legend(props) {
|
|
|
21922
21958
|
var buttonsWrapper = "buttons-wrapper-Bubkr";
|
|
21923
21959
|
var mask = "mask-ssagp";
|
|
21924
21960
|
var transformWrapper = "transform-wrapper--8t0v";
|
|
21925
|
-
var css_248z$
|
|
21926
|
-
styleInject(css_248z$
|
|
21961
|
+
var css_248z$5 = ".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";
|
|
21962
|
+
styleInject(css_248z$5);
|
|
21927
21963
|
|
|
21928
21964
|
var ZoomWrapper = function ZoomWrapper(_ref) {
|
|
21929
21965
|
var _children = _ref.children,
|
|
@@ -21950,7 +21986,7 @@ var ZoomWrapper = function ZoomWrapper(_ref) {
|
|
|
21950
21986
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
21951
21987
|
focused = _useState10[0],
|
|
21952
21988
|
setFocused = _useState10[1];
|
|
21953
|
-
var _useTranslation = useTranslation
|
|
21989
|
+
var _useTranslation = useTranslation(),
|
|
21954
21990
|
t = _useTranslation.t;
|
|
21955
21991
|
var zoomToImage = useCallback(function (id) {
|
|
21956
21992
|
if (transformComponentRef.current) {
|
|
@@ -22092,7 +22128,7 @@ var ZoomWrapper = function ZoomWrapper(_ref) {
|
|
|
22092
22128
|
var SearchSelect = function SearchSelect(_ref) {
|
|
22093
22129
|
var flatData = _ref.flatData;
|
|
22094
22130
|
var root = useStore();
|
|
22095
|
-
var _useTranslation = useTranslation(),
|
|
22131
|
+
var _useTranslation = useTranslation$1(),
|
|
22096
22132
|
t = _useTranslation.t;
|
|
22097
22133
|
var onChange = function onChange(value) {
|
|
22098
22134
|
var _root$dataStore;
|
|
@@ -22438,7 +22474,7 @@ function DragDropUpload(_ref) {
|
|
|
22438
22474
|
var api2Params = _ref.api2Params,
|
|
22439
22475
|
catalogId = _ref.catalogId,
|
|
22440
22476
|
startImport = _ref.startImport;
|
|
22441
|
-
var _useTranslation = useTranslation(),
|
|
22477
|
+
var _useTranslation = useTranslation$1(),
|
|
22442
22478
|
t = _useTranslation.t;
|
|
22443
22479
|
var Dragger = Upload.Dragger;
|
|
22444
22480
|
var _useState = useState(''),
|
|
@@ -22577,7 +22613,7 @@ function DragDropUpload(_ref) {
|
|
|
22577
22613
|
function CatalogEditor(_ref) {
|
|
22578
22614
|
var id = _ref.id;
|
|
22579
22615
|
var root = useStore();
|
|
22580
|
-
var _useTranslation = useTranslation(),
|
|
22616
|
+
var _useTranslation = useTranslation$1(),
|
|
22581
22617
|
t = _useTranslation.t;
|
|
22582
22618
|
var _useCatalogEditor = useCatalogEditor(id),
|
|
22583
22619
|
error = _useCatalogEditor.error,
|
|
@@ -22759,7 +22795,7 @@ function PackageSelector(_ref) {
|
|
|
22759
22795
|
var selectedPackage = _ref.selectedPackage,
|
|
22760
22796
|
setSelectedPackage = _ref.setSelectedPackage,
|
|
22761
22797
|
enricherService = _ref.enricherService;
|
|
22762
|
-
var _useTranslation = useTranslation
|
|
22798
|
+
var _useTranslation = useTranslation(),
|
|
22763
22799
|
t = _useTranslation.t;
|
|
22764
22800
|
return /*#__PURE__*/jsx(SimpleSelect, {
|
|
22765
22801
|
apiInterface: {
|
|
@@ -23202,7 +23238,7 @@ function IDMCatalogEditor$1(_ref) {
|
|
|
23202
23238
|
setSelectedPackage = _ref.setSelectedPackage,
|
|
23203
23239
|
jwt = _ref.jwt,
|
|
23204
23240
|
apiConfig = _ref.apiConfig;
|
|
23205
|
-
var _useTranslation = useTranslation
|
|
23241
|
+
var _useTranslation = useTranslation(),
|
|
23206
23242
|
t = _useTranslation.t;
|
|
23207
23243
|
var _React$useState = React.useState(exclusivityTypes[0].data),
|
|
23208
23244
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -23363,7 +23399,7 @@ function TablePackages (_ref) {
|
|
|
23363
23399
|
organizationId = _ref.organizationId,
|
|
23364
23400
|
apiConfig = _ref.apiConfig,
|
|
23365
23401
|
openSubMenu = _ref.openSubMenu;
|
|
23366
|
-
var _useTranslation = useTranslation
|
|
23402
|
+
var _useTranslation = useTranslation(),
|
|
23367
23403
|
t = _useTranslation.t;
|
|
23368
23404
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
23369
23405
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
@@ -23441,7 +23477,7 @@ function TableProperties (_ref) {
|
|
|
23441
23477
|
setSelectedPackage = _ref.setSelectedPackage,
|
|
23442
23478
|
jwt = _ref.jwt,
|
|
23443
23479
|
apiConfig = _ref.apiConfig;
|
|
23444
|
-
var _useTranslation = useTranslation
|
|
23480
|
+
var _useTranslation = useTranslation(),
|
|
23445
23481
|
t = _useTranslation.t;
|
|
23446
23482
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
23447
23483
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
@@ -24154,7 +24190,7 @@ function TableRenaming (_ref) {
|
|
|
24154
24190
|
setSelectedPackage = _ref.setSelectedPackage,
|
|
24155
24191
|
jwt = _ref.jwt,
|
|
24156
24192
|
apiConfig = _ref.apiConfig;
|
|
24157
|
-
var _useTranslation = useTranslation
|
|
24193
|
+
var _useTranslation = useTranslation(),
|
|
24158
24194
|
t = _useTranslation.t;
|
|
24159
24195
|
var _React$useState = React.useState(renamingTypes[0].data),
|
|
24160
24196
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -24234,7 +24270,7 @@ function IDMCatalogEditor(_ref) {
|
|
|
24234
24270
|
jwt = _ref.jwt,
|
|
24235
24271
|
organizationId = _ref.organizationId,
|
|
24236
24272
|
apiConfig = _ref.apiConfig;
|
|
24237
|
-
var _useTranslation = useTranslation
|
|
24273
|
+
var _useTranslation = useTranslation(),
|
|
24238
24274
|
t = _useTranslation.t;
|
|
24239
24275
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
24240
24276
|
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
@@ -25290,8 +25326,8 @@ var skeleton = "skeleton--xCI0";
|
|
|
25290
25326
|
var filterField = "filterField-1kU1O";
|
|
25291
25327
|
var parentScroll = "parent-scroll-GmaL9";
|
|
25292
25328
|
var parent = "parent-NZJ3S";
|
|
25293
|
-
var css_248z$
|
|
25294
|
-
styleInject(css_248z$
|
|
25329
|
+
var css_248z$4 = ".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 height: 100%;\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: auto;\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.parent-scroll-GmaL9 .ant-spin-container {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component__outerdiv {\n height: 100%;\n}\n.parent-scroll-GmaL9 .infinite-scroll-component {\n height: 100% !important;\n}\n";
|
|
25330
|
+
styleInject(css_248z$4);
|
|
25295
25331
|
|
|
25296
25332
|
function ownKeys$7(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; }
|
|
25297
25333
|
function _objectSpread$7(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$7(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$7(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -26079,7 +26115,7 @@ var Filter = function Filter(_ref) {
|
|
|
26079
26115
|
_useState2 = _slicedToArray(_useState, 2),
|
|
26080
26116
|
selectedKeys = _useState2[0],
|
|
26081
26117
|
setSelectedKeys = _useState2[1];
|
|
26082
|
-
var _useTranslation = useTranslation(),
|
|
26118
|
+
var _useTranslation = useTranslation$1(),
|
|
26083
26119
|
t = _useTranslation.t;
|
|
26084
26120
|
return /*#__PURE__*/jsxs("div", {
|
|
26085
26121
|
style: {
|
|
@@ -26174,8 +26210,8 @@ var newscroller = "newscroller-INKeD";
|
|
|
26174
26210
|
var antCollapseHeader = "ant-collapse-header--6FgU";
|
|
26175
26211
|
var itemTitle = "item-title--BTvC";
|
|
26176
26212
|
var itemDesc = "item-desc-DBiiF";
|
|
26177
|
-
var css_248z$
|
|
26178
|
-
styleInject(css_248z$
|
|
26213
|
+
var css_248z$3 = ".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";
|
|
26214
|
+
styleInject(css_248z$3);
|
|
26179
26215
|
|
|
26180
26216
|
function ownKeys$5(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; }
|
|
26181
26217
|
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -26298,7 +26334,7 @@ var RelationSelector = function RelationSelector(_ref, ref) {
|
|
|
26298
26334
|
id: id,
|
|
26299
26335
|
data: data
|
|
26300
26336
|
});
|
|
26301
|
-
var _useTranslation = useTranslation(),
|
|
26337
|
+
var _useTranslation = useTranslation$1(),
|
|
26302
26338
|
t = _useTranslation.t;
|
|
26303
26339
|
useImperativeHandle(ref, function () {
|
|
26304
26340
|
return {
|
|
@@ -26623,7 +26659,7 @@ var FormList = function FormList(_ref, ref) {
|
|
|
26623
26659
|
onSave: onChange,
|
|
26624
26660
|
data: data
|
|
26625
26661
|
});
|
|
26626
|
-
var _useTranslation = useTranslation(),
|
|
26662
|
+
var _useTranslation = useTranslation$1(),
|
|
26627
26663
|
t = _useTranslation.t;
|
|
26628
26664
|
useImperativeHandle(ref, function () {
|
|
26629
26665
|
return {
|
|
@@ -26993,7 +27029,7 @@ var FormWrapper = function FormWrapper(_ref, ref) {
|
|
|
26993
27029
|
onChange: onChange,
|
|
26994
27030
|
onError: onError
|
|
26995
27031
|
});
|
|
26996
|
-
var _useTranslation = useTranslation(),
|
|
27032
|
+
var _useTranslation = useTranslation$1(),
|
|
26997
27033
|
t = _useTranslation.t;
|
|
26998
27034
|
useImperativeHandle(ref, function () {
|
|
26999
27035
|
return {
|
|
@@ -27051,7 +27087,7 @@ var SelectOrCreate = observer(FormWrapper, {
|
|
|
27051
27087
|
var Single = function Single(_ref2) {
|
|
27052
27088
|
var _state$selected$;
|
|
27053
27089
|
var state = _ref2.state;
|
|
27054
|
-
var _useTranslation2 = useTranslation(),
|
|
27090
|
+
var _useTranslation2 = useTranslation$1(),
|
|
27055
27091
|
t = _useTranslation2.t;
|
|
27056
27092
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
27057
27093
|
children: [(state.selected[0] || state.newEntries[0]) && /*#__PURE__*/jsx(Form, {
|
|
@@ -27107,7 +27143,7 @@ function useListData (_ref) {
|
|
|
27107
27143
|
var id = _ref.id,
|
|
27108
27144
|
data = _ref.data;
|
|
27109
27145
|
var root = useStore();
|
|
27110
|
-
var _useTranslation = useTranslation(),
|
|
27146
|
+
var _useTranslation = useTranslation$1(),
|
|
27111
27147
|
t = _useTranslation.t;
|
|
27112
27148
|
var _useMemo = useMemo(function () {
|
|
27113
27149
|
return {
|
|
@@ -27595,8 +27631,8 @@ var jsoneditor = "jsoneditor-WMs15";
|
|
|
27595
27631
|
var preview = "preview-9wK81";
|
|
27596
27632
|
var previewButton = "preview-button-vupuG";
|
|
27597
27633
|
var editButton = "edit-button-m6r3M";
|
|
27598
|
-
var css_248z$
|
|
27599
|
-
styleInject(css_248z$
|
|
27634
|
+
var css_248z$2 = ".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";
|
|
27635
|
+
styleInject(css_248z$2);
|
|
27600
27636
|
|
|
27601
27637
|
var JsonEditor = function JsonEditor(_ref, ref) {
|
|
27602
27638
|
var id = _ref.id,
|
|
@@ -27671,7 +27707,7 @@ var JsonEditor$1 = observer(JsonEditor, {
|
|
|
27671
27707
|
});
|
|
27672
27708
|
|
|
27673
27709
|
function ConfirmationPopup(props) {
|
|
27674
|
-
var _useTranslation = useTranslation(),
|
|
27710
|
+
var _useTranslation = useTranslation$1(),
|
|
27675
27711
|
t = _useTranslation.t;
|
|
27676
27712
|
return /*#__PURE__*/jsx(Modal$2, {
|
|
27677
27713
|
title: t('backoffice.confirmationpopup.title'),
|
|
@@ -27955,7 +27991,7 @@ function Detail(_ref) {
|
|
|
27955
27991
|
container = _ref.container,
|
|
27956
27992
|
left = _ref.left;
|
|
27957
27993
|
var root = useStore();
|
|
27958
|
-
var _useTranslation = useTranslation(),
|
|
27994
|
+
var _useTranslation = useTranslation$1(),
|
|
27959
27995
|
t = _useTranslation.t;
|
|
27960
27996
|
var ref = useRef(null);
|
|
27961
27997
|
var _useState = useState(),
|
|
@@ -28326,20 +28362,20 @@ var Modal$1 = observer(Modal);
|
|
|
28326
28362
|
|
|
28327
28363
|
var layout = "layout-gqKsp";
|
|
28328
28364
|
var contentWrapper = "content-wrapper-mQSc0";
|
|
28329
|
-
var css_248z$
|
|
28330
|
-
styleInject(css_248z$
|
|
28365
|
+
var css_248z$1 = ".layout-gqKsp {\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n\n.content-wrapper-mQSc0 {\n overflow: auto;\n}\n\n.darkmode .layout-gqKsp {\n background-color: rgb(20, 20, 20);\n}\n\n.lightmode .layout-gqKsp {\n background-color: rgb(255, 255, 255);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode .arrows {\n background-image: url(\"data:image/svg+xml,%3Csvg width%3D%2225%22 height%3D%2224%22 viewBox%3D%220 0 25 24%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath d%3D%22M10.5 7L15.5 12L10.5 17%22 stroke%3D%22%23fff%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\"), linear-gradient(270deg, rgba(0, 21, 41, 1) 0%, rgba(0, 21, 41, 1) 72%, rgba(0, 21, 41, 0) 100%) !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile > div {\n border-left: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #welcomeText {\n border-right: 1px solid black;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode #Profile {\n background-color: #001529 !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode {\n background-color: #fff !important;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.darkmode * {\n color: rgb(255, 255, 255);\n}\n.diva-component-DIVA_BACKOFFICE_NEW #diva-header.lightmode * {\n color: rgb(0, 0, 0);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW ::-webkit-scrollbar {\n width: 10px;\n height: 10px;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #021129;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px rgb(130, 130, 130);\n border: solid 3px transparent;\n border-radius: 10px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 10px 10px #ffffff;\n border: solid 3px transparent;\n}\n.diva-component-DIVA_BACKOFFICE_NEW .lightmode ::-webkit-scrollbar-thumb {\n box-shadow: inset 0 0 10px 10px #bdbdbd;\n border: solid 3px transparent;\n border-radius: 10px;\n}\n";
|
|
28366
|
+
styleInject(css_248z$1);
|
|
28331
28367
|
|
|
28332
28368
|
var snow = "snow-14T01";
|
|
28333
28369
|
var sun = "sun-ijIPS";
|
|
28334
|
-
var css_248z
|
|
28335
|
-
styleInject(css_248z
|
|
28370
|
+
var css_248z = ".snow-14T01 {\n display: none;\n position: fixed;\n font-size: 1.5rem;\n top: -1vh;\n transform: translateY(0);\n animation: fall-XG-Wo 3s linear forwards;\n background: center / contain no-repeat url(\"data:image/svg+xml,%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 512 512%22 style%3D%22enable-background%3Anew 0 0 512 512%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cpath style%3D%22fill%3A%2399DDFF%3B%22 d%3D%22M512%2C256c0-9.217-7.479-16.696-16.696-16.696h-26.478l32.718-32.718%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295%09l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728V47.435c0-9.217-7.479-16.696-16.696-16.696%09c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326%09c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0%09s-16.696%2C7.479-16.696%2C16.696v26.478l-32.718-32.717c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l56.327%2C56.326%09v83.813c-10.642%2C2.168-20.536%2C6.39-29.295%2C12.197l-59.303-59.303V47.435c0-9.217-7.479-16.696-16.696-16.696%09s-16.696%2C7.479-16.696%2C16.696v46.271L98.587%2C74.978c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609l18.728%2C18.728%09H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h79.663l59.303%2C59.303%09c-5.807%2C8.759-10.027%2C18.652-12.197%2C29.295H90.391l-56.326-56.326c-6.521-6.521-17.087-6.521-23.609%2C0s-6.521%2C17.087%2C0%2C23.609%09l32.717%2C32.717H16.696C7.479%2C239.304%2C0%2C246.783%2C0%2C256s7.479%2C16.696%2C16.696%2C16.696h26.478l-32.717%2C32.718%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609c3.26%2C3.26%2C7.532%2C4.891%2C11.804%2C4.891s8.544-1.631%2C11.804-4.892l56.327-56.326h83.813%09c2.168%2C10.642%2C6.39%2C20.536%2C12.197%2C29.295l-59.303%2C59.303H47.435c-9.217%2C0-16.696%2C7.479-16.696%2C16.696%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696h46.271l-18.728%2C18.728c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892l18.728-18.728v46.271c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-79.663l59.303-59.303c8.759%2C5.807%2C18.652%2C10.027%2C29.295%2C12.197v83.813l-56.326%2C56.326%09c-6.521%2C6.521-6.521%2C17.087%2C0%2C23.609s17.087%2C6.521%2C23.609%2C0l32.718-32.718v26.478c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09s16.696-7.479%2C16.696-16.696v-26.478l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663%09c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728%09c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696h-79.663L325.6%2C301.991%09c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478C504.521%2C272.696%2C512%2C265.217%2C512%2C256z M256%2C306.087%09c-27.619%2C0-50.087-22.468-50.087-50.087s22.468-50.087%2C50.087-50.087s50.087%2C22.468%2C50.087%2C50.087S283.619%2C306.087%2C256%2C306.087z%22%2F%3E%3Cpath style%3D%22fill%3A%2373C0E6%3B%22 d%3D%22M306.087%2C256c0%2C27.619-22.468%2C50.087-50.087%2C50.087V512c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-26.478%09l32.718%2C32.718c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-56.326-56.327%09v-83.813c10.642-2.168%2C20.536-6.39%2C29.295-12.197l59.303%2C59.303v79.663c0%2C9.217%2C7.479%2C16.696%2C16.696%2C16.696%09c9.217%2C0%2C16.696-7.479%2C16.696-16.696v-46.271l18.728%2C18.728c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892s8.544-1.631%2C11.804-4.892%09c6.521-6.521%2C6.521-17.087%2C0-23.609l-18.727-18.727h46.271c9.217%2C0%2C16.696-7.479%2C16.696-16.696c0-9.217-7.479-16.696-16.696-16.696%09h-79.663L325.6%2C301.991c5.807-8.759%2C10.027-18.652%2C12.197-29.295h83.813l56.326%2C56.326c3.261%2C3.261%2C7.533%2C4.892%2C11.804%2C4.892%09s8.544-1.631%2C11.804-4.892c6.521-6.521%2C6.521-17.087%2C0-23.609l-32.717-32.717h26.478c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-26.478l32.718-32.718c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-56.327%2C56.327%09h-83.813c-2.168-10.642-6.39-20.536-12.197-29.295l59.303-59.303h79.663c9.217%2C0%2C16.696-7.479%2C16.696-16.696%09s-7.479-16.696-16.696-16.696h-46.271l18.728-18.728c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0l-18.727%2C18.728%09V47.435c0-9.217-7.479-16.696-16.696-16.696c-9.217%2C0-16.696%2C7.479-16.696%2C16.696v79.663L301.991%2C186.4%09c-8.759-5.807-18.652-10.027-29.295-12.197V90.391l56.326-56.326c6.521-6.521%2C6.521-17.087%2C0-23.609s-17.087-6.521-23.609%2C0%09l-32.717%2C32.717V16.696C272.696%2C7.479%2C265.217%2C0%2C256%2C0v205.913C283.619%2C205.913%2C306.087%2C228.381%2C306.087%2C256z%22%2F%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 width: 20px;\n height: 20px;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .snow-14T01 {\n display: block;\n}\n\n@keyframes fall-XG-Wo {\n from {\n transform: translateY(0vh) translateX(-10vw);\n }\n to {\n transform: translateY(105vh) translateX(10vw);\n }\n}\n\n.sun-ijIPS {\n color: rgba(255, 255, 255, 0.65);\n line-height: 40px;\n margin-left: 10px;\n cursor: pointer;\n}\n";
|
|
28371
|
+
styleInject(css_248z);
|
|
28336
28372
|
|
|
28337
28373
|
var SnowAnimation = function SnowAnimation(props) {
|
|
28338
28374
|
var _useState = useState(),
|
|
28339
28375
|
_useState2 = _slicedToArray(_useState, 2),
|
|
28340
28376
|
interv = _useState2[0],
|
|
28341
28377
|
setInterv = _useState2[1];
|
|
28342
|
-
var _useTranslation = useTranslation(),
|
|
28378
|
+
var _useTranslation = useTranslation$1(),
|
|
28343
28379
|
t = _useTranslation.t;
|
|
28344
28380
|
var _useState3 = useState(false),
|
|
28345
28381
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -28373,20 +28409,12 @@ var SnowAnimation = function SnowAnimation(props) {
|
|
|
28373
28409
|
});
|
|
28374
28410
|
};
|
|
28375
28411
|
|
|
28376
|
-
var navMinifyButton = "nav-minify-button-ZX7dm";
|
|
28377
|
-
var navContainer = "nav-container-JCR24";
|
|
28378
|
-
var navMinified = "nav-minified-tSt-a";
|
|
28379
|
-
var navOverlay = "nav-overlay-rKJNC";
|
|
28380
|
-
var navSettings = "nav-settings-82cjv";
|
|
28381
|
-
var css_248z = ".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}\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 position: absolute !important;\n}\n\n.nav-minified-tSt-a {\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 {\n display: none;\n}\n\n.nav-overlay-rKJNC .ant-menu {\n display: inline;\n display: initial;\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";
|
|
28382
|
-
styleInject(css_248z);
|
|
28383
|
-
|
|
28384
28412
|
var MenuComponent = function MenuComponent(_ref) {
|
|
28385
28413
|
var element = _ref.element,
|
|
28386
28414
|
onSelect = _ref.onSelect,
|
|
28387
|
-
zIndex = _ref.zIndex,
|
|
28388
28415
|
footerElement = _ref.footerElement,
|
|
28389
|
-
toggleOpen = _ref.toggleOpen
|
|
28416
|
+
toggleOpen = _ref.toggleOpen,
|
|
28417
|
+
minifyWithIcons = _ref.minifyWithIcons;
|
|
28390
28418
|
var _useState = useState(false),
|
|
28391
28419
|
_useState2 = _slicedToArray(_useState, 2),
|
|
28392
28420
|
overlay = _useState2[0],
|
|
@@ -28403,47 +28431,44 @@ var MenuComponent = function MenuComponent(_ref) {
|
|
|
28403
28431
|
onSelect(keyPath);
|
|
28404
28432
|
setOverlay(false);
|
|
28405
28433
|
};
|
|
28406
|
-
return /*#__PURE__*/
|
|
28407
|
-
className:
|
|
28408
|
-
|
|
28409
|
-
|
|
28434
|
+
return /*#__PURE__*/jsxs(Layout$1.Sider, {
|
|
28435
|
+
className: classnames(!element.open && !minifyWithIcons ? navMinified : undefined, overlay ? navOverlay : undefined),
|
|
28436
|
+
collapsible: minifyWithIcons,
|
|
28437
|
+
trigger: null,
|
|
28438
|
+
collapsed: minifyWithIcons && !element.open && !overlay,
|
|
28439
|
+
onMouseEnter: function onMouseEnter() {
|
|
28440
|
+
if (!element.open) setOverlay(true);
|
|
28410
28441
|
},
|
|
28411
|
-
|
|
28412
|
-
|
|
28413
|
-
|
|
28414
|
-
|
|
28415
|
-
|
|
28416
|
-
|
|
28417
|
-
return
|
|
28442
|
+
onMouseLeave: function onMouseLeave() {
|
|
28443
|
+
return setOverlay(false);
|
|
28444
|
+
},
|
|
28445
|
+
children: [/*#__PURE__*/jsx("div", {
|
|
28446
|
+
className: navMinifyButton,
|
|
28447
|
+
onClick: function onClick() {
|
|
28448
|
+
return toggleOpen();
|
|
28418
28449
|
},
|
|
28419
|
-
children:
|
|
28420
|
-
|
|
28421
|
-
|
|
28422
|
-
|
|
28423
|
-
|
|
28424
|
-
|
|
28425
|
-
|
|
28426
|
-
|
|
28427
|
-
|
|
28428
|
-
|
|
28429
|
-
|
|
28430
|
-
|
|
28431
|
-
|
|
28432
|
-
|
|
28433
|
-
|
|
28434
|
-
onOpenChange: function onOpenChange(keys) {
|
|
28435
|
-
return setOpenKeys(keys);
|
|
28436
|
-
},
|
|
28437
|
-
items: element.items
|
|
28438
|
-
}), (element.open || overlay) && footerElement]
|
|
28439
|
-
})
|
|
28450
|
+
children: /*#__PURE__*/jsx(DoubleLeftOutlined, {
|
|
28451
|
+
rotate: element.open ? 0 : 180
|
|
28452
|
+
})
|
|
28453
|
+
}), /*#__PURE__*/jsx(Menu, {
|
|
28454
|
+
hidden: !element.open && !minifyWithIcons,
|
|
28455
|
+
theme: "dark",
|
|
28456
|
+
mode: "inline",
|
|
28457
|
+
selectedKeys: element.selected,
|
|
28458
|
+
openKeys: openKeys,
|
|
28459
|
+
onClick: onMenuSelect,
|
|
28460
|
+
onOpenChange: function onOpenChange(keys) {
|
|
28461
|
+
return setOpenKeys(keys);
|
|
28462
|
+
},
|
|
28463
|
+
items: element.items
|
|
28464
|
+
}), (element.open || overlay) && footerElement]
|
|
28440
28465
|
});
|
|
28441
28466
|
};
|
|
28442
28467
|
var MenuComponent$1 = observer(MenuComponent);
|
|
28443
28468
|
|
|
28444
28469
|
var MenuWrapper = function MenuWrapper() {
|
|
28445
28470
|
var root = useStore();
|
|
28446
|
-
var _useTranslation = useTranslation(),
|
|
28471
|
+
var _useTranslation = useTranslation$1(),
|
|
28447
28472
|
t = _useTranslation.t;
|
|
28448
28473
|
var footerElement = /*#__PURE__*/jsxs("div", {
|
|
28449
28474
|
className: navSettings,
|
|
@@ -28456,7 +28481,12 @@ var MenuWrapper = function MenuWrapper() {
|
|
|
28456
28481
|
}
|
|
28457
28482
|
}), root.showSnow && /*#__PURE__*/jsx(SnowAnimation, {})]
|
|
28458
28483
|
});
|
|
28459
|
-
|
|
28484
|
+
var width = (root.contentStore.menuElement1 ? root.contentStore.menuElement1.open ? 200 : 80 : 0) + (root.contentStore.menuElement2 ? root.contentStore.menuElement2.open ? 200 : 30 : 0);
|
|
28485
|
+
return /*#__PURE__*/jsxs("div", {
|
|
28486
|
+
className: navContainer,
|
|
28487
|
+
style: {
|
|
28488
|
+
width: width
|
|
28489
|
+
},
|
|
28460
28490
|
children: [root.contentStore.menuElement1 && /*#__PURE__*/jsx(MenuComponent$1, {
|
|
28461
28491
|
element: root.contentStore.menuElement1,
|
|
28462
28492
|
toggleOpen: function toggleOpen() {
|
|
@@ -28465,8 +28495,8 @@ var MenuWrapper = function MenuWrapper() {
|
|
|
28465
28495
|
onSelect: function onSelect(key) {
|
|
28466
28496
|
return root.contentStore.updateSelectedMenuKeys(key, root.contentStore.menuElement1);
|
|
28467
28497
|
},
|
|
28468
|
-
|
|
28469
|
-
|
|
28498
|
+
footerElement: footerElement,
|
|
28499
|
+
minifyWithIcons: true
|
|
28470
28500
|
}), root.contentStore.menuElement2 && /*#__PURE__*/jsx(MenuComponent$1, {
|
|
28471
28501
|
element: root.contentStore.menuElement2,
|
|
28472
28502
|
toggleOpen: function toggleOpen() {
|
|
@@ -28474,8 +28504,7 @@ var MenuWrapper = function MenuWrapper() {
|
|
|
28474
28504
|
},
|
|
28475
28505
|
onSelect: function onSelect(key) {
|
|
28476
28506
|
return root.contentStore.updateSelectedMenuKeys(key, root.contentStore.menuElement2);
|
|
28477
|
-
}
|
|
28478
|
-
zIndex: 1001
|
|
28507
|
+
}
|
|
28479
28508
|
})]
|
|
28480
28509
|
});
|
|
28481
28510
|
};
|
|
@@ -4,10 +4,10 @@ interface MenuElementProps {
|
|
|
4
4
|
element: MenuElement;
|
|
5
5
|
onSelect: (key: string[]) => void;
|
|
6
6
|
toggleOpen: () => void;
|
|
7
|
-
zIndex?: number;
|
|
8
7
|
footerElement?: React.ReactNode;
|
|
8
|
+
minifyWithIcons?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: (({ element, onSelect,
|
|
10
|
+
declare const _default: (({ element, onSelect, footerElement, toggleOpen, minifyWithIcons }: MenuElementProps) => JSX.Element) & {
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuElement.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/MenuElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,UAAU,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"MenuElement.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/MenuElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,UAAU,gBAAgB;IACxB,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;;;;AA4CD,wBAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/MenuLabel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGnC,MAAM,CAAC,OAAO,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,eAUjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/index.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/layout/Navigation/index.tsx"],"names":[],"mappings":";;;AAoDA,wBAAqC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAInE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,OAAO;IAaA,OAAO,CAAC,IAAI;IAZxB,OAAO,CAAC,MAAM,CAC8F;IAC5G,OAAO,CAAC,KAAK,CAAc;IAC3B,OAAO,CAAC,iBAAiB,CAAkB;IAC3C,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,aAAa,CAAC,CAAc;IAEpC,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,wBAAwB,CAAC,CAAyB;IAC1D,OAAO,CAAC,sBAAsB,CAAC,CAAa;gBAExB,IAAI,EAAE,SAAS;IAUnC,QAAQ;IAKR,IAAI,KAAK,6BAER;IAED,IAAI,YAAY,4BAEf;IAED,IAAI,YAAY,4BAEf;IAED,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW;IAKxC,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAErC;IAED,IAAI,UAAU,WAEb;IAED,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE;QAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IAqDhF,uBAAuB,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC;IAQxC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI;IAU5G,kBAAkB;IAKlB;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAwB7B;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;IAejC;;;;OAIG;IACH,OAAO,CAAC,WAAW;
|
|
1
|
+
{"version":3,"file":"ContentStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ContentStore.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAInE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,OAAO;IAaA,OAAO,CAAC,IAAI;IAZxB,OAAO,CAAC,MAAM,CAC8F;IAC5G,OAAO,CAAC,KAAK,CAAc;IAC3B,OAAO,CAAC,iBAAiB,CAAkB;IAC3C,OAAO,CAAC,aAAa,CAAC,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAc;IACpC,OAAO,CAAC,aAAa,CAAC,CAAc;IAEpC,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,wBAAwB,CAAC,CAAyB;IAC1D,OAAO,CAAC,sBAAsB,CAAC,CAAa;gBAExB,IAAI,EAAE,SAAS;IAUnC,QAAQ;IAKR,IAAI,KAAK,6BAER;IAED,IAAI,YAAY,4BAEf;IAED,IAAI,YAAY,4BAEf;IAED,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,WAAW;IAKxC,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAErC;IAED,IAAI,UAAU,WAEb;IAED,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE;QAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IAqDhF,uBAAuB,CAAC,SAAS,EAAE,CAAC,GAAG,CAAC;IAQxC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI;IAU5G,kBAAkB;IAKlB;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAwB7B;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;IAejC;;;;OAIG;IACH,OAAO,CAAC,WAAW;IAyBnB;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;CAa/B"}
|
|
@@ -13,7 +13,7 @@ export default function ({ data, filters, sorter, pagination, filterServerSide }
|
|
|
13
13
|
data: any[];
|
|
14
14
|
pagination: {
|
|
15
15
|
total: number;
|
|
16
|
-
position?: ("
|
|
16
|
+
position?: ("bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter")[] | undefined;
|
|
17
17
|
showQuickJumper?: boolean | {
|
|
18
18
|
goButton?: import("react").ReactNode;
|
|
19
19
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getIcons.d.ts","sourceRoot":"","sources":["../../../../../src/utils/getIcons.tsx"],"names":[],"mappings":"AAyCA,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,2BAoFpC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.8.0-beta.
|
|
3
|
+
"version": "24.8.0-beta.2",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@ant-design/icons": "5.0.1",
|
|
17
17
|
"@babel/runtime": "7.18.0",
|
|
18
|
-
"@crystaldesign/spreadsheet": "24.8.0-beta.
|
|
18
|
+
"@crystaldesign/spreadsheet": "24.8.0-beta.2",
|
|
19
19
|
"@google/model-viewer": "3.4.0",
|
|
20
20
|
"@tinymce/tinymce-react": "^3.13.0",
|
|
21
21
|
"ag-charts-community": "^9.3.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "e44e80fdf70a550df54e09e4871a43a5d1d90f59"
|
|
54
54
|
}
|