@crystaldesign/diva-backoffice 24.7.0-beta.36 → 24.7.0-beta.38

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.
@@ -23078,7 +23078,7 @@ var renamingTypes$1 = [{
23078
23078
  }),
23079
23079
  value: 'serie'
23080
23080
  }];
23081
- function IDMCatalogEditor$3(_ref) {
23081
+ function IDMCatalogEditor$4(_ref) {
23082
23082
  var selectedPackage = _ref.selectedPackage,
23083
23083
  setSelectedPackage = _ref.setSelectedPackage,
23084
23084
  jwt = _ref.jwt;
@@ -23178,7 +23178,7 @@ function useCatalogEditor() {
23178
23178
  };
23179
23179
  }
23180
23180
 
23181
- function IDMCatalogEditor$2(_ref) {
23181
+ function IDMCatalogEditor$3(_ref) {
23182
23182
  var selectedPackage = _ref.selectedPackage,
23183
23183
  setSelectedPackage = _ref.setSelectedPackage,
23184
23184
  jwt = _ref.jwt;
@@ -23280,6 +23280,156 @@ function IDMCatalogEditor$2(_ref) {
23280
23280
  });
23281
23281
  }
23282
23282
 
23283
+ function IDMCatalogEditor$2(_ref) {
23284
+ var selectedPackage = _ref.selectedPackage,
23285
+ setSelectedPackage = _ref.setSelectedPackage,
23286
+ jwt = _ref.jwt;
23287
+ var _useTranslation = useTranslation$1(),
23288
+ t = _useTranslation.t;
23289
+ return /*#__PURE__*/jsxs(Fragment, {
23290
+ children: [/*#__PURE__*/jsx(Descriptions$1, {
23291
+ title: /*#__PURE__*/jsxs("div", {
23292
+ children: [t('backoffice.menu.items.label.EnricherTableProperties'), /*#__PURE__*/jsx(Space$1, {
23293
+ style: {
23294
+ "float": 'right'
23295
+ },
23296
+ children: /*#__PURE__*/jsx(PackageSelector$1, {
23297
+ selectedPackage: selectedPackage,
23298
+ setSelectedPackage: setSelectedPackage,
23299
+ enricherService: "https://gwc-app-d-app-enricher.azurewebsites.net"
23300
+ })
23301
+ })]
23302
+ })
23303
+ }), selectedPackage && /*#__PURE__*/jsx(Spreadsheet, {
23304
+ gridId: 'crud-grid_tabgroups',
23305
+ jwt: jwt,
23306
+ applicationData: {
23307
+ packageId: selectedPackage
23308
+ },
23309
+ configuration: {
23310
+ type: 'dotnetSSM',
23311
+ apiInterface: {
23312
+ read: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/property',
23313
+ create: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/property',
23314
+ "delete": 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/property/${_id}',
23315
+ update: 'https://gwc-app-d-app-enricher.azurewebsites.net/packages/${packageId}/property/${_id}'
23316
+ },
23317
+ dateFormat: 'LL',
23318
+ floatingFilter: true,
23319
+ colDef: [{
23320
+ field: 'key',
23321
+ headerName: 'Key',
23322
+ cellDataType: 'string',
23323
+ editable: true,
23324
+ width: 200
23325
+ }, {
23326
+ headerName: 'Name',
23327
+ marryChildren: true,
23328
+ required: true,
23329
+ children: [{
23330
+ field: 'name.DE',
23331
+ headerName: 'DE',
23332
+ isDictionary: true,
23333
+ filter: 'text'
23334
+ }, {
23335
+ field: 'name.EN',
23336
+ headerName: 'EN',
23337
+ isDictionary: true,
23338
+ filter: 'text'
23339
+ }, {
23340
+ field: 'name.FR',
23341
+ headerName: 'FR',
23342
+ isDictionary: true,
23343
+ filter: 'text'
23344
+ }, {
23345
+ field: 'name.IT',
23346
+ headerName: 'IT',
23347
+ isDictionary: true,
23348
+ filter: 'text'
23349
+ }]
23350
+ }, {
23351
+ headerName: 'Value',
23352
+ marryChildren: true,
23353
+ required: true,
23354
+ children: [{
23355
+ field: 'value.DE',
23356
+ headerName: 'DE',
23357
+ isDictionary: true,
23358
+ filter: 'text'
23359
+ }, {
23360
+ field: 'value.EN',
23361
+ headerName: 'EN',
23362
+ isDictionary: true,
23363
+ filter: 'text'
23364
+ }, {
23365
+ field: 'value.FR',
23366
+ headerName: 'FR',
23367
+ isDictionary: true,
23368
+ filter: 'text'
23369
+ }, {
23370
+ field: 'value.IT',
23371
+ headerName: 'IT',
23372
+ isDictionary: true,
23373
+ filter: 'text'
23374
+ }]
23375
+ }, {
23376
+ field: 'featureNos',
23377
+ headerName: 'FeatureNo (TODO Lookup)',
23378
+ cellDataType: 'string',
23379
+ editable: true,
23380
+ width: 200
23381
+ }, {
23382
+ field: 'optionKeys',
23383
+ headerName: 'OptionKeys (TODO Lookup)',
23384
+ cellDataType: 'string',
23385
+ editable: true,
23386
+ width: 200
23387
+ }, {
23388
+ field: 'serieNos',
23389
+ headerName: 'SerieNos (TODO Lookup)',
23390
+ cellDataType: 'string',
23391
+ editable: true,
23392
+ width: 200
23393
+ }, {
23394
+ field: 'typeNos',
23395
+ headerName: 'TypeNos (TODO Lookup)',
23396
+ cellDataType: 'string',
23397
+ editable: true,
23398
+ width: 200
23399
+ }, {
23400
+ field: 'organizationId',
23401
+ headerName: 'OrganizationId (TODO DefaultValue)',
23402
+ cellDataType: 'string',
23403
+ editable: true,
23404
+ width: 200
23405
+ }, {
23406
+ field: 'lastUpdatedDate',
23407
+ filter: 'date',
23408
+ cellDataType: 'dateString',
23409
+ editable: false
23410
+ }, {
23411
+ field: 'createdDate',
23412
+ filter: 'date',
23413
+ cellDataType: 'dateString',
23414
+ editable: false
23415
+ }, {
23416
+ field: 'createdByDisplayText',
23417
+ filter: 'text',
23418
+ editable: false
23419
+ }, {
23420
+ field: 'lastUpdatedByDisplayText',
23421
+ filter: 'text',
23422
+ editable: false
23423
+ }, {
23424
+ field: '_id',
23425
+ filter: 'text',
23426
+ editable: false
23427
+ }]
23428
+ }
23429
+ })]
23430
+ });
23431
+ }
23432
+
23283
23433
  var config$1 = {
23284
23434
  detailInfos: {
23285
23435
  colDef: [{
@@ -24070,6 +24220,9 @@ function IDMCatalogEditor() {
24070
24220
  }, {
24071
24221
  key: 'IDMTableTabGroups',
24072
24222
  label: 'IDMTableTabGroups'
24223
+ }, {
24224
+ key: 'EnricherTableProperties',
24225
+ label: 'EnricherTableProperties'
24073
24226
  }, {
24074
24227
  key: 'IDMTableExclusivity',
24075
24228
  label: 'IDMTableExclusivity'
@@ -24091,8 +24244,10 @@ function IDMCatalogEditor() {
24091
24244
  function Content$2(state) {
24092
24245
  switch (state.openView) {
24093
24246
  case 'IDMTableRenaming':
24094
- return /*#__PURE__*/jsx(IDMCatalogEditor$3, _objectSpread$b({}, state));
24247
+ return /*#__PURE__*/jsx(IDMCatalogEditor$4, _objectSpread$b({}, state));
24095
24248
  case 'IDMTableTabGroups':
24249
+ return /*#__PURE__*/jsx(IDMCatalogEditor$3, _objectSpread$b({}, state));
24250
+ case 'EnricherTableProperties':
24096
24251
  return /*#__PURE__*/jsx(IDMCatalogEditor$2, _objectSpread$b({}, state));
24097
24252
  case 'IDMTableExclusivity':
24098
24253
  return /*#__PURE__*/jsx(IDMCatalogEditor$1, _objectSpread$b({}, state));
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,gBA2B/B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AASA,wBAAgB,gBAAgB,gBA4B/B"}
@@ -0,0 +1,3 @@
1
+ import { IDMCatalogEditorState } from '../../useCatalogEditor';
2
+ export default function IDMCatalogEditor({ selectedPackage, setSelectedPackage, jwt }: IDMCatalogEditorState): JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/EnricherTableProperties/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,eAqK3G"}
@@ -1,2 +1,2 @@
1
- export type IdmCatalogEditorTypes = 'IDMTableRenaming' | 'IDMTableTabGroups' | 'IDMTableExclusivity';
1
+ export type IdmCatalogEditorTypes = 'IDMTableRenaming' | 'IDMTableTabGroups' | 'IDMTableExclusivity' | 'EnricherTableProperties';
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,GAAG,mBAAmB,GAAG,qBAAqB,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,GAAG,qBAAqB,GAAG,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.7.0-beta.36",
3
+ "version": "24.7.0-beta.38",
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": "96171580cead3b8c980f8e5da5e48dcb96c71de2"
55
+ "gitHead": "81ed51918b52a9f7a5e585aa8aa5a4c46aa8132b"
56
56
  }