@crystaldesign/diva-backoffice 25.4.0-beta.26 → 25.4.0-beta.27

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.
@@ -125,7 +125,6 @@ import Checkbox$1 from 'antd/es/checkbox/Checkbox';
125
125
  import Modal$3 from 'antd/es/modal';
126
126
  import Spin$1 from 'antd/es/spin';
127
127
  import Flex from 'antd/es/flex';
128
- import Alert$1 from 'antd/es/alert/Alert';
129
128
  import JSZip from 'jszip';
130
129
  import Switch$1 from 'antd/es/switch';
131
130
  import Layout$1 from 'antd/es/layout';
@@ -30729,7 +30728,7 @@ function PublishCustomCell (_ref) {
30729
30728
  apiConfig = _ref.apiConfig,
30730
30729
  context = _ref.context,
30731
30730
  api = _ref.api,
30732
- node = _ref.node;
30731
+ modalState = _ref.modalState;
30733
30732
  var _useTranslation = useTranslation(),
30734
30733
  t = _useTranslation.t;
30735
30734
  var _React$useState = React.useState(false),
@@ -30740,55 +30739,75 @@ function PublishCustomCell (_ref) {
30740
30739
  var disabled = !data.basedCatalogId && !data.basedPackageId || !data.name;
30741
30740
  var _onChange = /*#__PURE__*/function () {
30742
30741
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(publish) {
30742
+ var loadingTimeout, response;
30743
30743
  return _regeneratorRuntime.wrap(function _callee$(_context) {
30744
30744
  while (1) switch (_context.prev = _context.next) {
30745
30745
  case 0:
30746
30746
  isLoading(true);
30747
- _context.prev = 1;
30747
+ loadingTimeout = setTimeout(function () {
30748
+ modalState.showLoadingModal(t("backoffice.idmEnricher.packages.label.".concat(publish ? 'publishing' : 'unpublishing')));
30749
+ }, 3000);
30750
+ _context.prev = 2;
30748
30751
  if (!publish) {
30749
- _context.next = 7;
30752
+ _context.next = 9;
30750
30753
  break;
30751
30754
  }
30752
- _context.next = 5;
30755
+ _context.next = 6;
30753
30756
  return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
30754
30757
  update: apiConfig.enricherService + '/packages/${_id}/publish',
30755
30758
  usePut: true
30756
- });
30757
- case 5:
30758
- _context.next = 9;
30759
+ }, undefined, true);
30760
+ case 6:
30761
+ response = _context.sent;
30762
+ _context.next = 12;
30759
30763
  break;
30760
- case 7:
30761
- _context.next = 9;
30764
+ case 9:
30765
+ _context.next = 11;
30762
30766
  return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
30763
30767
  update: apiConfig.enricherService + '/packages/${_id}/unpublish',
30764
30768
  usePut: true
30765
- });
30766
- case 9:
30769
+ }, undefined, true);
30770
+ case 11:
30771
+ response = _context.sent;
30772
+ case 12:
30773
+ clearTimeout(loadingTimeout);
30774
+ if (!(response.status == 202)) {
30775
+ _context.next = 17;
30776
+ break;
30777
+ }
30778
+ modalState.showWarningModal(t("backoffice.idmEnricher.packages.label.warning.".concat(publish ? 'publishing' : 'unpublishing')));
30779
+ _context.next = 22;
30780
+ break;
30781
+ case 17:
30782
+ if (!(response.status == 200)) {
30783
+ _context.next = 21;
30784
+ break;
30785
+ }
30786
+ modalState.closeModal();
30787
+ _context.next = 22;
30788
+ break;
30789
+ case 21:
30790
+ throw new Error("Server errror: ".concat(response.statusText, " (").concat(response.status, ")"));
30791
+ case 22:
30767
30792
  context === null || context === void 0 || context.reset({
30768
30793
  context: context,
30769
30794
  api: api
30770
30795
  });
30771
- _context.next = 15;
30796
+ _context.next = 28;
30772
30797
  break;
30773
- case 12:
30774
- _context.prev = 12;
30775
- _context.t0 = _context["catch"](1);
30776
- context.onError({
30777
- context: context,
30778
- api: api,
30779
- error: _context.t0,
30780
- errorText: 'Error on publish/unpublish',
30781
- node: node
30782
- });
30783
- case 15:
30784
- _context.prev = 15;
30798
+ case 25:
30799
+ _context.prev = 25;
30800
+ _context.t0 = _context["catch"](2);
30801
+ modalState.showErrorModal("Error on ".concat(publish ? 'publish' : 'unpublish', ": ").concat(_context.t0 instanceof Error ? _context.t0.message : String(_context.t0)));
30802
+ case 28:
30803
+ _context.prev = 28;
30785
30804
  isLoading(false);
30786
- return _context.finish(15);
30787
- case 18:
30805
+ return _context.finish(28);
30806
+ case 31:
30788
30807
  case "end":
30789
30808
  return _context.stop();
30790
30809
  }
30791
- }, _callee, null, [[1, 12, 15, 18]]);
30810
+ }, _callee, null, [[2, 25, 28, 31]]);
30792
30811
  }));
30793
30812
  return function onChange(_x) {
30794
30813
  return _ref2.apply(this, arguments);
@@ -30833,54 +30852,6 @@ function hasUnpublishedChanges(publishDateString, lastUpdatedDateString) {
30833
30852
  return false;
30834
30853
  }
30835
30854
 
30836
- function LoadingModal (_ref) {
30837
- var isModalOpen = _ref.isModalOpen,
30838
- handleOk = _ref.handleOk,
30839
- error = _ref.error;
30840
- var _useTranslation = useTranslation(),
30841
- t = _useTranslation.t;
30842
- var contentStyle = {
30843
- padding: 50,
30844
- borderRadius: 4
30845
- };
30846
- var content = /*#__PURE__*/jsx("div", {
30847
- style: contentStyle
30848
- });
30849
- return /*#__PURE__*/jsx(Fragment, {
30850
- children: /*#__PURE__*/jsxs(Modal$3, {
30851
- open: isModalOpen,
30852
- onOk: handleOk,
30853
- cancelButtonProps: {
30854
- style: {
30855
- display: 'none'
30856
- }
30857
- },
30858
- closable: false,
30859
- okButtonProps: {
30860
- style: {
30861
- display: !error ? 'none' : undefined
30862
- }
30863
- },
30864
- children: [error && /*#__PURE__*/jsx(Alert$1, {
30865
- message: error,
30866
- type: "error",
30867
- showIcon: true
30868
- }), !error && /*#__PURE__*/jsx(Flex, {
30869
- gap: "middle",
30870
- vertical: true,
30871
- children: /*#__PURE__*/jsx(Flex, {
30872
- gap: "middle",
30873
- children: /*#__PURE__*/jsx(Spin$1, {
30874
- tip: t('backoffice.idmEnricher.export.modaltext'),
30875
- size: "large",
30876
- children: content
30877
- })
30878
- })
30879
- })]
30880
- })
30881
- });
30882
- }
30883
-
30884
30855
  var getCurrencyKey = function getCurrencyKey(t) {
30885
30856
  return [{
30886
30857
  name: t('backoffice.idmCatalog.general.label.currencies.EUR'),
@@ -31092,19 +31063,110 @@ var getItemTypeKey = function getItemTypeKey(t) {
31092
31063
  }];
31093
31064
  };
31094
31065
 
31066
+ var useLoadingModal = function useLoadingModal() {
31067
+ var _Modal$useModal = Modal$3.useModal(),
31068
+ _Modal$useModal2 = _slicedToArray(_Modal$useModal, 2),
31069
+ modal = _Modal$useModal2[0],
31070
+ contextHolder = _Modal$useModal2[1];
31071
+ var _useState = useState(null),
31072
+ _useState2 = _slicedToArray(_useState, 2);
31073
+ _useState2[0];
31074
+ var setInstance = _useState2[1];
31075
+ var showLoadingModal = useCallback(function (text) {
31076
+ var newInstance = modal.info({
31077
+ content: /*#__PURE__*/jsx(Fragment, {
31078
+ children: /*#__PURE__*/jsx(Flex, {
31079
+ gap: "middle",
31080
+ vertical: true,
31081
+ children: /*#__PURE__*/jsx(Flex, {
31082
+ gap: "middle",
31083
+ children: /*#__PURE__*/jsx(Spin$1, {
31084
+ tip: text,
31085
+ size: "large",
31086
+ children: /*#__PURE__*/jsx("div", {
31087
+ style: {
31088
+ padding: 50,
31089
+ borderRadius: 4
31090
+ }
31091
+ })
31092
+ })
31093
+ })
31094
+ })
31095
+ }),
31096
+ icon: null,
31097
+ maskClosable: false,
31098
+ okButtonProps: {
31099
+ style: {
31100
+ display: 'none'
31101
+ }
31102
+ },
31103
+ closable: false,
31104
+ centered: true
31105
+ });
31106
+ setInstance(function (old) {
31107
+ old === null || old === void 0 || old.destroy();
31108
+ return newInstance;
31109
+ });
31110
+ }, []);
31111
+ var showErrorModal = useCallback(function (error) {
31112
+ var newInstance = modal.error({
31113
+ content: error,
31114
+ okButtonProps: {
31115
+ style: {
31116
+ display: 'none'
31117
+ }
31118
+ },
31119
+ centered: true,
31120
+ closable: true,
31121
+ maskClosable: true
31122
+ });
31123
+ setInstance(function (old) {
31124
+ old === null || old === void 0 || old.destroy();
31125
+ return newInstance;
31126
+ });
31127
+ }, []);
31128
+ var showWarningModal = useCallback(function (warning) {
31129
+ var newInstance = modal.warning({
31130
+ content: warning,
31131
+ okButtonProps: {
31132
+ style: {
31133
+ display: 'none'
31134
+ }
31135
+ },
31136
+ centered: true,
31137
+ closable: true,
31138
+ maskClosable: true
31139
+ });
31140
+ setInstance(function (old) {
31141
+ old === null || old === void 0 || old.destroy();
31142
+ return newInstance;
31143
+ });
31144
+ }, []);
31145
+ var closeModal = useCallback(function () {
31146
+ setInstance(function (old) {
31147
+ old === null || old === void 0 || old.destroy();
31148
+ return null;
31149
+ });
31150
+ }, []);
31151
+ return {
31152
+ contextHolder: contextHolder,
31153
+ showLoadingModal: showLoadingModal,
31154
+ showErrorModal: showErrorModal,
31155
+ showWarningModal: showWarningModal,
31156
+ closeModal: closeModal
31157
+ };
31158
+ };
31159
+
31095
31160
  var TablePackages = observer(function () {
31096
31161
  var root = useStore();
31097
31162
  var _useTranslation = useTranslation(),
31098
31163
  t = _useTranslation.t,
31099
31164
  i18n = _useTranslation.i18n;
31100
- var _React$useState = React.useState(false),
31101
- _React$useState2 = _slicedToArray(_React$useState, 2),
31102
- fileIsLoading = _React$useState2[0],
31103
- setFileIsLoading = _React$useState2[1];
31104
- var _React$useState3 = React.useState(''),
31105
- _React$useState4 = _slicedToArray(_React$useState3, 2),
31106
- fileDownloadError = _React$useState4[0],
31107
- setFileDownloadError = _React$useState4[1];
31165
+ var modalState = useLoadingModal();
31166
+ var showLoadingModal = modalState.showLoadingModal,
31167
+ showErrorModal = modalState.showErrorModal,
31168
+ closeModal = modalState.closeModal,
31169
+ contextHolder = modalState.contextHolder;
31108
31170
  var _useEnricherContext = useEnricherContext([]),
31109
31171
  setSelectedPackage = _useEnricherContext.setSelectedPackage;
31110
31172
  var organizationId = root.dataStore.organizationId;
@@ -31122,9 +31184,6 @@ var TablePackages = observer(function () {
31122
31184
  filter: organizationId
31123
31185
  };
31124
31186
  }, [organizationId]);
31125
- var handleLoadingModalOk = function handleLoadingModalOk() {
31126
- setFileIsLoading(false);
31127
- };
31128
31187
  var rowActions = useMemo(function () {
31129
31188
  return [{
31130
31189
  icon: /*#__PURE__*/jsx(EditOutlined, {}),
@@ -31151,19 +31210,19 @@ var TablePackages = observer(function () {
31151
31210
  selectedNodes = _ref4.selectedNodes;
31152
31211
  url = apiConfig.enricherService + '/packages/' + selectedNodes[0].data._id + '/catalog'; // Show modal if download takes more than 3 seconds
31153
31212
  alertTimeout = setTimeout(function () {
31154
- setFileIsLoading(true);
31213
+ showLoadingModal(t('backoffice.idmEnricher.export.modaltext'));
31155
31214
  }, 3000);
31156
31215
  _context.prev = 3;
31157
31216
  _context.next = 6;
31158
31217
  return downloadFile(url, root.dataStore.jwt, 'application/xml', selectedNodes[0].data.name + '.xml');
31159
31218
  case 6:
31160
- setFileIsLoading(false);
31219
+ closeModal();
31161
31220
  _context.next = 12;
31162
31221
  break;
31163
31222
  case 9:
31164
31223
  _context.prev = 9;
31165
31224
  _context.t0 = _context["catch"](3);
31166
- setFileDownloadError('File download failed:' + _context.t0);
31225
+ showErrorModal('File download failed:' + _context.t0);
31167
31226
  case 12:
31168
31227
  _context.prev = 12;
31169
31228
  // Clear the alert timeout once the download is complete or fails
@@ -31216,7 +31275,8 @@ var TablePackages = observer(function () {
31216
31275
  pinned: 'left',
31217
31276
  lockPinned: true,
31218
31277
  cellRendererParams: {
31219
- apiConfig: apiConfig
31278
+ apiConfig: apiConfig,
31279
+ modalState: modalState
31220
31280
  }
31221
31281
  }, {
31222
31282
  headerName: 'backoffice.idmEnricher.packages.label.name',
@@ -31348,11 +31408,7 @@ var TablePackages = observer(function () {
31348
31408
  rowActions: rowActions,
31349
31409
  preFilter: preFilter,
31350
31410
  configuration: configuration
31351
- }), /*#__PURE__*/jsx(LoadingModal, {
31352
- isModalOpen: fileIsLoading,
31353
- handleOk: handleLoadingModalOk,
31354
- error: fileDownloadError
31355
- })]
31411
+ }), contextHolder]
31356
31412
  });
31357
31413
  });
31358
31414
 
@@ -34761,19 +34817,16 @@ var TableCatalogs = observer(function () {
34761
34817
  i18n = _useTranslation.i18n;
34762
34818
  var _useDivaCore = useDivaCore(),
34763
34819
  userHasPermission = _useDivaCore.actions.userHasPermission;
34820
+ var spreadsheetRef = useRef(null);
34821
+ var _useLoadingModal = useLoadingModal(),
34822
+ showLoadingModal = _useLoadingModal.showLoadingModal,
34823
+ showErrorModal = _useLoadingModal.showErrorModal,
34824
+ closeModal = _useLoadingModal.closeModal,
34825
+ contextHolder = _useLoadingModal.contextHolder;
34764
34826
  var _React$useState = React.useState(false),
34765
34827
  _React$useState2 = _slicedToArray(_React$useState, 2),
34766
- fileIsLoading = _React$useState2[0],
34767
- setFileIsLoading = _React$useState2[1];
34768
- var _React$useState3 = React.useState(''),
34769
- _React$useState4 = _slicedToArray(_React$useState3, 2),
34770
- fileDownloadError = _React$useState4[0],
34771
- setFileDownloadError = _React$useState4[1];
34772
- var spreadsheetRef = useRef(null);
34773
- var _React$useState5 = React.useState(false),
34774
- _React$useState6 = _slicedToArray(_React$useState5, 2),
34775
- showApi2 = _React$useState6[0],
34776
- setShowApi2 = _React$useState6[1];
34828
+ showApi2 = _React$useState2[0],
34829
+ setShowApi2 = _React$useState2[1];
34777
34830
  var _useCatalogContext = useCatalogContext([]),
34778
34831
  setSelectedCatalog = _useCatalogContext.setSelectedCatalog;
34779
34832
  var organizationId = root.dataStore.organizationId;
@@ -34821,19 +34874,19 @@ var TableCatalogs = observer(function () {
34821
34874
  selectedNodes = _ref2.selectedNodes;
34822
34875
  url = apiConfig.idmService + '/v3.0/catalogs/' + selectedNodes[0].data._id + '/complete'; // Show modal if download takes more than 3 seconds
34823
34876
  alertTimeout = setTimeout(function () {
34824
- setFileIsLoading(true);
34877
+ showLoadingModal(t('backoffice.idmEnricher.export.modaltext'));
34825
34878
  }, 3000);
34826
34879
  _context.prev = 3;
34827
34880
  _context.next = 6;
34828
34881
  return downloadFile(url, root.dataStore.jwt, 'application/xml', selectedNodes[0].data.name + '.xml');
34829
34882
  case 6:
34830
- setFileIsLoading(false);
34883
+ closeModal();
34831
34884
  _context.next = 12;
34832
34885
  break;
34833
34886
  case 9:
34834
34887
  _context.prev = 9;
34835
34888
  _context.t0 = _context["catch"](3);
34836
- setFileDownloadError('File download failed:' + _context.t0);
34889
+ showErrorModal('File download failed:' + _context.t0);
34837
34890
  case 12:
34838
34891
  _context.prev = 12;
34839
34892
  // Clear the alert timeout once the download is complete or fails
@@ -35434,9 +35487,6 @@ var TableCatalogs = observer(function () {
35434
35487
  }])
35435
35488
  };
35436
35489
  }, [i18n.language, showApi2]);
35437
- var handleLoadingModalOk = useCallback(function () {
35438
- setFileIsLoading(false);
35439
- }, []);
35440
35490
  return /*#__PURE__*/jsxs(Fragment, {
35441
35491
  children: [/*#__PURE__*/jsx(Descriptions$1, {
35442
35492
  title: /*#__PURE__*/jsxs("div", {
@@ -35475,11 +35525,7 @@ var TableCatalogs = observer(function () {
35475
35525
  rowActions: rowActions,
35476
35526
  preFilter: preFilter,
35477
35527
  configuration: configuration
35478
- }), /*#__PURE__*/jsx(LoadingModal, {
35479
- isModalOpen: fileIsLoading,
35480
- handleOk: handleLoadingModalOk,
35481
- error: fileDownloadError
35482
- })]
35528
+ }), contextHolder]
35483
35529
  });
35484
35530
  });
35485
35531
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAmB5D,eAAO,MAAM,aAAa;;CA2wBxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAkB5D,eAAO,MAAM,aAAa;;CAswBxB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface LoadingModalState {
3
+ showLoadingModal: (text: string) => void;
4
+ showErrorModal: (error: string) => void;
5
+ showWarningModal: (warning: string) => void;
6
+ closeModal: () => void;
7
+ contextHolder: React.ReactElement;
8
+ }
9
+ export declare const useLoadingModal: () => LoadingModalState;
10
+ //# sourceMappingURL=useLoadingModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLoadingModal.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCommonComponents/useLoadingModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,MAAM,WAAW,iBAAiB;IAChC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,gBAAgB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC;CACnC;AAED,eAAO,MAAM,eAAe,QAAO,iBAuElC,CAAC"}
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import { DivaCustomCellRendererProps } from '@crystaldesign/spreadsheet';
3
3
  import { ApiConfig } from '@crystaldesign/diva-core';
4
- export default function ({ data, apiConfig, context, api, node }: DivaCustomCellRendererProps<any, any, {
4
+ import { LoadingModalState } from '../../../IDMCommonComponents/useLoadingModal';
5
+ export default function ({ data, apiConfig, context, api, modalState, }: DivaCustomCellRendererProps<any, any, {
5
6
  apiConfig: ApiConfig;
7
+ modalState: LoadingModalState;
6
8
  }>): "" | React.JSX.Element;
7
9
  //# sourceMappingURL=PublishCustomCell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,CAAC,0BAkDhI"}
1
+ {"version":3,"file":"PublishCustomCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAOzE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAEjF,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,OAAO,EACP,GAAG,EACH,UAAU,GACX,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,iBAAiB,CAAA;CAAE,CAAC,0BAyEhG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAevC,eAAO,MAAM,aAAa;;CA2PxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAcvC,eAAO,MAAM,aAAa;;CAwPxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.4.0-beta.26",
3
+ "version": "25.4.0-beta.27",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.4.0-beta.26",
19
- "@crystaldesign/content-item": "25.4.0-beta.26",
20
- "@crystaldesign/diva-core": "25.4.0-beta.26",
21
- "@crystaldesign/diva-utils": "25.4.0-beta.26",
22
- "@crystaldesign/media-upload": "25.4.0-beta.26",
23
- "@crystaldesign/rtf-editor": "25.4.0-beta.26",
24
- "@crystaldesign/spreadsheet": "25.4.0-beta.26",
18
+ "@crystaldesign/content-box": "25.4.0-beta.27",
19
+ "@crystaldesign/content-item": "25.4.0-beta.27",
20
+ "@crystaldesign/diva-core": "25.4.0-beta.27",
21
+ "@crystaldesign/diva-utils": "25.4.0-beta.27",
22
+ "@crystaldesign/media-upload": "25.4.0-beta.27",
23
+ "@crystaldesign/rtf-editor": "25.4.0-beta.27",
24
+ "@crystaldesign/spreadsheet": "25.4.0-beta.27",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "496103b33bb8b322a3faf69a8fc7ec692fd96c7e"
54
+ "gitHead": "a152298e8931b09cce959d305ff652f7148d0f23"
55
55
  }
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- isModalOpen: boolean;
4
- handleOk: () => void;
5
- error?: string;
6
- }
7
- export default function ({ isModalOpen, handleOk, error }: Props): React.JSX.Element;
8
- export {};
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/LoadingModal/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,KAAK;IACb,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAgC/D"}