@crystaldesign/diva-backoffice 25.10.0-beta.17 → 25.10.0-beta.19

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.
@@ -39742,8 +39742,8 @@ var TableOptions = observer(function () {
39742
39742
  var _selectedCatalog$name;
39743
39743
  var _useTranslation = useTranslation(),
39744
39744
  t = _useTranslation.t;
39745
- var _useDivaCore = useDivaCore();
39746
- _useDivaCore.state.jwt;
39745
+ var _useDivaCore = useDivaCore(),
39746
+ jwt = _useDivaCore.state.jwt;
39747
39747
  var _useModule = useModule(['options']),
39748
39748
  selectedCatalog = _useModule.selectedCatalog,
39749
39749
  catalogId = _useModule.catalogId,
@@ -39783,19 +39783,21 @@ var TableOptions = observer(function () {
39783
39783
  }), /*#__PURE__*/jsx(ActionMenu, {
39784
39784
  title: t('backoffice.idmEnricher.additionalActions.label'),
39785
39785
  disabled: !catalogId,
39786
- items: [
39787
- // {
39788
- // type: 'uploadModal',
39789
- // key: 'upload',
39790
- // buttonIcon: <DownloadOutlined />,
39791
- // buttonText: t('backoffice.idmEnricher.importexcel.label'),
39792
- // modalTitle: t('backoffice.idmEnricher.importexcel.label'),
39793
- // endpoint: `${apiConfig.idmService}/v3.0/catalogs/${catalogId}/options/bulk/excel`,
39794
- // authToken: jwt!,
39795
- // acceptedFileTypes: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
39796
- // uploadHint: t('backoffice.idmEnricher.importexcel.uploadhint'),
39797
- // },
39798
- {
39786
+ items: [{
39787
+ type: 'uploadModal',
39788
+ key: 'upload',
39789
+ buttonIcon: /*#__PURE__*/jsx(DownloadOutlined$1, {}),
39790
+ buttonText: t('backoffice.idmEnricher.importexcel.label'),
39791
+ modalTitle: t('backoffice.idmEnricher.importexcel.label'),
39792
+ endpoint: "".concat(apiConfig.idmService, "/v3.0/catalogs/").concat(catalogId, "/options/bulk/excel"),
39793
+ authToken: jwt,
39794
+ acceptedFileTypes: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
39795
+ uploadHint: t('backoffice.idmEnricher.importexcel.uploadhint'),
39796
+ onUploadComplete: function onUploadComplete() {
39797
+ var _ref$current;
39798
+ (_ref$current = ref.current) === null || _ref$current === void 0 || _ref$current.refresh();
39799
+ }
39800
+ }, {
39799
39801
  type: 'export',
39800
39802
  key: 'download',
39801
39803
  buttonIcon: /*#__PURE__*/jsx(UploadOutlined$2, {}),
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAa/C,eAAO,MAAM,YAAY;;CAgEvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAa/C,eAAO,MAAM,YAAY;;CAmEvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.10.0-beta.17",
3
+ "version": "25.10.0-beta.19",
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.10.0-beta.17",
19
- "@crystaldesign/content-item": "25.10.0-beta.17",
20
- "@crystaldesign/diva-core": "25.10.0-beta.17",
21
- "@crystaldesign/diva-utils": "25.10.0-beta.17",
22
- "@crystaldesign/media-upload": "25.10.0-beta.17",
23
- "@crystaldesign/rtf-editor": "25.10.0-beta.17",
24
- "@crystaldesign/spreadsheet": "25.10.0-beta.17",
18
+ "@crystaldesign/content-box": "25.10.0-beta.19",
19
+ "@crystaldesign/content-item": "25.10.0-beta.19",
20
+ "@crystaldesign/diva-core": "25.10.0-beta.19",
21
+ "@crystaldesign/diva-utils": "25.10.0-beta.19",
22
+ "@crystaldesign/media-upload": "25.10.0-beta.19",
23
+ "@crystaldesign/rtf-editor": "25.10.0-beta.19",
24
+ "@crystaldesign/spreadsheet": "25.10.0-beta.19",
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": "5e4a97f4c9066057241cac81d871af346cf92958"
54
+ "gitHead": "7fde1f641c4b26acde51fe12f1525bf56e9ae9ff"
55
55
  }