@crystaldesign/diva-backoffice 24.14.0-beta.3 → 24.14.0-beta.4
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 +31 -12
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +1 -1
- package/package.json +9 -9
package/build/esm/index.js
CHANGED
|
@@ -29558,7 +29558,8 @@ function PublishCustomCell (_ref) {
|
|
|
29558
29558
|
var data = _ref.data,
|
|
29559
29559
|
apiConfig = _ref.apiConfig,
|
|
29560
29560
|
context = _ref.context,
|
|
29561
|
-
api = _ref.api
|
|
29561
|
+
api = _ref.api,
|
|
29562
|
+
node = _ref.node;
|
|
29562
29563
|
var _useTranslation = useTranslation(),
|
|
29563
29564
|
t = _useTranslation.t;
|
|
29564
29565
|
var _React$useState = React.useState(false),
|
|
@@ -29573,35 +29574,51 @@ function PublishCustomCell (_ref) {
|
|
|
29573
29574
|
while (1) switch (_context.prev = _context.next) {
|
|
29574
29575
|
case 0:
|
|
29575
29576
|
isLoading(true);
|
|
29577
|
+
_context.prev = 1;
|
|
29576
29578
|
if (!publish) {
|
|
29577
|
-
_context.next =
|
|
29579
|
+
_context.next = 7;
|
|
29578
29580
|
break;
|
|
29579
29581
|
}
|
|
29580
|
-
_context.next =
|
|
29582
|
+
_context.next = 5;
|
|
29581
29583
|
return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
|
|
29582
29584
|
update: apiConfig.enricherService + '/packages/${_id}/publish',
|
|
29583
29585
|
usePut: true
|
|
29584
29586
|
});
|
|
29585
|
-
case
|
|
29586
|
-
_context.next =
|
|
29587
|
+
case 5:
|
|
29588
|
+
_context.next = 9;
|
|
29587
29589
|
break;
|
|
29588
|
-
case
|
|
29589
|
-
_context.next =
|
|
29590
|
+
case 7:
|
|
29591
|
+
_context.next = 9;
|
|
29590
29592
|
return context === null || context === void 0 ? void 0 : context.updateServerData(data, {
|
|
29591
29593
|
update: apiConfig.enricherService + '/packages/${_id}/unpublish',
|
|
29592
29594
|
usePut: true
|
|
29593
29595
|
});
|
|
29594
|
-
case
|
|
29596
|
+
case 9:
|
|
29595
29597
|
context === null || context === void 0 || context.reset({
|
|
29596
29598
|
context: context,
|
|
29597
29599
|
api: api
|
|
29598
29600
|
});
|
|
29601
|
+
_context.next = 15;
|
|
29602
|
+
break;
|
|
29603
|
+
case 12:
|
|
29604
|
+
_context.prev = 12;
|
|
29605
|
+
_context.t0 = _context["catch"](1);
|
|
29606
|
+
context.onError({
|
|
29607
|
+
context: context,
|
|
29608
|
+
api: api,
|
|
29609
|
+
error: _context.t0,
|
|
29610
|
+
errorText: 'Error on publish/unpublish',
|
|
29611
|
+
node: node
|
|
29612
|
+
});
|
|
29613
|
+
case 15:
|
|
29614
|
+
_context.prev = 15;
|
|
29599
29615
|
isLoading(false);
|
|
29600
|
-
|
|
29616
|
+
return _context.finish(15);
|
|
29617
|
+
case 18:
|
|
29601
29618
|
case "end":
|
|
29602
29619
|
return _context.stop();
|
|
29603
29620
|
}
|
|
29604
|
-
}, _callee);
|
|
29621
|
+
}, _callee, null, [[1, 12, 15, 18]]);
|
|
29605
29622
|
}));
|
|
29606
29623
|
return function onChange(_x) {
|
|
29607
29624
|
return _ref2.apply(this, arguments);
|
|
@@ -30148,7 +30165,8 @@ function TableProperties () {
|
|
|
30148
30165
|
field: 'name.DE',
|
|
30149
30166
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
30150
30167
|
isDictionary: true,
|
|
30151
|
-
pinned: true
|
|
30168
|
+
pinned: true,
|
|
30169
|
+
required: true
|
|
30152
30170
|
}, {
|
|
30153
30171
|
field: 'name.EN',
|
|
30154
30172
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
|
@@ -30169,7 +30187,8 @@ function TableProperties () {
|
|
|
30169
30187
|
field: 'value.DE',
|
|
30170
30188
|
headerName: 'backoffice.idmEnricher.general.label.DE',
|
|
30171
30189
|
isDictionary: true,
|
|
30172
|
-
pinned: true
|
|
30190
|
+
pinned: true,
|
|
30191
|
+
required: true
|
|
30173
30192
|
}, {
|
|
30174
30193
|
field: 'value.EN',
|
|
30175
30194
|
headerName: 'backoffice.idmEnricher.general.label.EN',
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PublishCustomCell.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 }: DivaCustomCellRendererProps<any, any, {
|
|
4
|
+
export default function ({ data, apiConfig, context, api, node }: DivaCustomCellRendererProps<any, any, {
|
|
5
5
|
apiConfig: ApiConfig;
|
|
6
6
|
}>): "" | React.JSX.Element;
|
|
7
7
|
//# 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,EAAE,2BAA2B,CAAC,GAAG,EAAE,GAAG,EAAE;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE,CAAC,
|
|
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"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,MAAM,CAAC,OAAO,gCAyOb"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.14.0-beta.
|
|
3
|
+
"version": "24.14.0-beta.4",
|
|
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": "24.14.0-beta.
|
|
19
|
-
"@crystaldesign/content-item": "24.14.0-beta.
|
|
20
|
-
"@crystaldesign/diva-core": "24.14.0-beta.
|
|
21
|
-
"@crystaldesign/diva-utils": "24.14.0-beta.
|
|
22
|
-
"@crystaldesign/media-upload": "24.14.0-beta.
|
|
23
|
-
"@crystaldesign/rtf-editor": "24.14.0-beta.
|
|
24
|
-
"@crystaldesign/spreadsheet": "24.14.0-beta.
|
|
18
|
+
"@crystaldesign/content-box": "24.14.0-beta.4",
|
|
19
|
+
"@crystaldesign/content-item": "24.14.0-beta.4",
|
|
20
|
+
"@crystaldesign/diva-core": "24.14.0-beta.4",
|
|
21
|
+
"@crystaldesign/diva-utils": "24.14.0-beta.4",
|
|
22
|
+
"@crystaldesign/media-upload": "24.14.0-beta.4",
|
|
23
|
+
"@crystaldesign/rtf-editor": "24.14.0-beta.4",
|
|
24
|
+
"@crystaldesign/spreadsheet": "24.14.0-beta.4",
|
|
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": "
|
|
54
|
+
"gitHead": "ad7372f08ba6790c647237701b79c907ebb72ba1"
|
|
55
55
|
}
|