@crystaldesign/diva-backoffice 24.7.0-beta.26 → 24.7.0-beta.28
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 +108 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts.map +1 -1
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -24045,7 +24045,7 @@ var renamingTypes = [{
|
|
|
24045
24045
|
}),
|
|
24046
24046
|
value: 'serie'
|
|
24047
24047
|
}];
|
|
24048
|
-
function IDMCatalogEditor$
|
|
24048
|
+
function IDMCatalogEditor$2(_ref) {
|
|
24049
24049
|
var selectedPackage = _ref.selectedPackage,
|
|
24050
24050
|
setSelectedPackage = _ref.setSelectedPackage,
|
|
24051
24051
|
jwt = _ref.jwt;
|
|
@@ -24145,6 +24145,108 @@ function useCatalogEditor() {
|
|
|
24145
24145
|
};
|
|
24146
24146
|
}
|
|
24147
24147
|
|
|
24148
|
+
function IDMCatalogEditor$1(_ref) {
|
|
24149
|
+
var selectedPackage = _ref.selectedPackage,
|
|
24150
|
+
setSelectedPackage = _ref.setSelectedPackage,
|
|
24151
|
+
jwt = _ref.jwt;
|
|
24152
|
+
var _useTranslation = useTranslation$1(),
|
|
24153
|
+
t = _useTranslation.t;
|
|
24154
|
+
return /*#__PURE__*/jsxs(Fragment, {
|
|
24155
|
+
children: [/*#__PURE__*/jsx(Descriptions$1, {
|
|
24156
|
+
title: /*#__PURE__*/jsxs("div", {
|
|
24157
|
+
children: [t('backoffice.menu.items.label.IDMTableTabGroups'), /*#__PURE__*/jsx(Space$1, {
|
|
24158
|
+
style: {
|
|
24159
|
+
"float": 'right'
|
|
24160
|
+
},
|
|
24161
|
+
children: /*#__PURE__*/jsx(PackageSelector, {
|
|
24162
|
+
selectedPackage: selectedPackage,
|
|
24163
|
+
setSelectedPackage: setSelectedPackage,
|
|
24164
|
+
enricherService: "https://gwc-app-d-app-enricher.azurewebsites.net"
|
|
24165
|
+
})
|
|
24166
|
+
})]
|
|
24167
|
+
})
|
|
24168
|
+
}), selectedPackage && /*#__PURE__*/jsx(Spreadsheet, {
|
|
24169
|
+
gridId: 'crud-grid_tabgroups',
|
|
24170
|
+
jwt: jwt,
|
|
24171
|
+
applicationData: {
|
|
24172
|
+
packageId: selectedPackage
|
|
24173
|
+
},
|
|
24174
|
+
configuration: {
|
|
24175
|
+
type: 'dotnetSSM',
|
|
24176
|
+
apiInterface: {
|
|
24177
|
+
//TODO: Es gibt globale Tabgroups, die vordefiniert sind und pro Enricher Paket nochmals angepasst werden können -endpoint anpassen?
|
|
24178
|
+
read: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/tabgroup',
|
|
24179
|
+
create: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/tabgroup',
|
|
24180
|
+
"delete": 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/tabgroup/${_id}',
|
|
24181
|
+
update: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/tabgroup/${_id}'
|
|
24182
|
+
},
|
|
24183
|
+
dateFormat: 'LL',
|
|
24184
|
+
floatingFilter: true,
|
|
24185
|
+
colDef: [{
|
|
24186
|
+
headerName: 'Name',
|
|
24187
|
+
marryChildren: true,
|
|
24188
|
+
required: true,
|
|
24189
|
+
children: [{
|
|
24190
|
+
field: 'name.DE',
|
|
24191
|
+
headerName: 'DE',
|
|
24192
|
+
isDictionary: true,
|
|
24193
|
+
filter: 'text'
|
|
24194
|
+
}, {
|
|
24195
|
+
field: 'name.EN',
|
|
24196
|
+
headerName: 'EN',
|
|
24197
|
+
isDictionary: true,
|
|
24198
|
+
filter: 'text'
|
|
24199
|
+
}, {
|
|
24200
|
+
field: 'tabgroupName.FR',
|
|
24201
|
+
headerName: 'FR',
|
|
24202
|
+
isDictionary: true,
|
|
24203
|
+
filter: 'text'
|
|
24204
|
+
}, {
|
|
24205
|
+
field: 'tabgroupName.IT',
|
|
24206
|
+
headerName: 'IT',
|
|
24207
|
+
isDictionary: true,
|
|
24208
|
+
filter: 'text'
|
|
24209
|
+
}]
|
|
24210
|
+
}, {
|
|
24211
|
+
field: 'FeatureNos',
|
|
24212
|
+
headerName: 'FeatureNo (TODO Lookup)',
|
|
24213
|
+
cellDataType: 'string',
|
|
24214
|
+
editable: true,
|
|
24215
|
+
width: 200
|
|
24216
|
+
}, {
|
|
24217
|
+
field: 'OrganizationId',
|
|
24218
|
+
headerName: 'OrganizationId (TODO DefaultValue)',
|
|
24219
|
+
cellDataType: 'string',
|
|
24220
|
+
editable: true,
|
|
24221
|
+
width: 200
|
|
24222
|
+
}, {
|
|
24223
|
+
field: 'lastUpdatedDate',
|
|
24224
|
+
filter: 'date',
|
|
24225
|
+
cellDataType: 'dateString',
|
|
24226
|
+
editable: false
|
|
24227
|
+
}, {
|
|
24228
|
+
field: 'createdDate',
|
|
24229
|
+
filter: 'date',
|
|
24230
|
+
cellDataType: 'dateString',
|
|
24231
|
+
editable: false
|
|
24232
|
+
}, {
|
|
24233
|
+
field: 'createdByDisplayText',
|
|
24234
|
+
filter: 'text',
|
|
24235
|
+
editable: false
|
|
24236
|
+
}, {
|
|
24237
|
+
field: 'lastUpdatedByDisplayText',
|
|
24238
|
+
filter: 'text',
|
|
24239
|
+
editable: false
|
|
24240
|
+
}, {
|
|
24241
|
+
field: '_id',
|
|
24242
|
+
filter: 'text',
|
|
24243
|
+
editable: false
|
|
24244
|
+
}]
|
|
24245
|
+
}
|
|
24246
|
+
})]
|
|
24247
|
+
});
|
|
24248
|
+
}
|
|
24249
|
+
|
|
24148
24250
|
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; }
|
|
24149
24251
|
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; }
|
|
24150
24252
|
function IDMCatalogEditor() {
|
|
@@ -24168,6 +24270,9 @@ function IDMCatalogEditor() {
|
|
|
24168
24270
|
}, {
|
|
24169
24271
|
key: 'IDMTableRenaming',
|
|
24170
24272
|
label: 'IDMTableRenaming'
|
|
24273
|
+
}, {
|
|
24274
|
+
key: 'IDMTableTabGroups',
|
|
24275
|
+
label: 'IDMTableTabGroups'
|
|
24171
24276
|
}]
|
|
24172
24277
|
})
|
|
24173
24278
|
}), /*#__PURE__*/jsx(Layout.Content, {
|
|
@@ -24186,6 +24291,8 @@ function IDMCatalogEditor() {
|
|
|
24186
24291
|
function Content$1(state) {
|
|
24187
24292
|
switch (state.openView) {
|
|
24188
24293
|
case 'IDMTableRenaming':
|
|
24294
|
+
return /*#__PURE__*/jsx(IDMCatalogEditor$2, _objectSpread$7({}, state));
|
|
24295
|
+
case 'IDMTableTabGroups':
|
|
24189
24296
|
return /*#__PURE__*/jsx(IDMCatalogEditor$1, _objectSpread$7({}, state));
|
|
24190
24297
|
default:
|
|
24191
24298
|
return /*#__PURE__*/jsx(Fragment, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAOA,wBAAgB,gBAAgB,gBA0B/B"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/IDMTableTabGroups/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAG/D,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,eAAe,EAAE,kBAAkB,EAAE,GAAG,EAAE,EAAE,qBAAqB,eA2G3G"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type IdmCatalogEditorTypes = 'IDMTableRenaming';
|
|
1
|
+
export type IdmCatalogEditorTypes = 'IDMTableRenaming' | 'IDMTableTabGroups';
|
|
2
2
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GAAG,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.7.0-beta.
|
|
3
|
+
"version": "24.7.0-beta.28",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
},
|
|
53
53
|
"module": "build/esm/index.js",
|
|
54
54
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9c1e12cf240b1f35d9a7a6c1b4a8d6ca6066113f"
|
|
56
56
|
}
|