@crystaldesign/diva-backoffice 26.1.0-beta.29 → 26.1.0-beta.30

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.
@@ -40359,7 +40359,7 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
40359
40359
  },
40360
40360
  additionalMappings: [{
40361
40361
  lookupField: 'decisionType',
40362
- targetField: 'decisionType'
40362
+ targetField: '__diva_context.additionalData.decisionTypes'
40363
40363
  }]
40364
40364
  }],
40365
40365
  apiInterface: {
@@ -40405,7 +40405,7 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
40405
40405
  },
40406
40406
  additionalMappings: [{
40407
40407
  lookupField: 'decisionType',
40408
- targetField: 'decisionType'
40408
+ targetField: '__diva_context.additionalData.decisionTypes'
40409
40409
  }]
40410
40410
  }]
40411
40411
  }
@@ -45180,8 +45180,8 @@ function Options(_ref) {
45180
45180
  organizationId: organizationId
45181
45181
  };
45182
45182
  }, [organizationId]);
45183
- var _useTranslation = useTranslation();
45184
- _useTranslation.t;
45183
+ var _useTranslation = useTranslation(),
45184
+ t = _useTranslation.t;
45185
45185
  var configuration = useMemo(function () {
45186
45186
  return {
45187
45187
  type: 'dotnetSSM',
@@ -45234,6 +45234,81 @@ function Options(_ref) {
45234
45234
  },
45235
45235
  additionalFields: ['featureIdsDisplayTexts', 'featureIds'],
45236
45236
  isDictionary: true
45237
+ }, {
45238
+ headerName: 'backoffice.idmCatalog.items.label.optionImages',
45239
+ field: 'optionImages',
45240
+ cellDataType: 'asset',
45241
+ customParams: {
45242
+ multiple: true,
45243
+ isObject: true,
45244
+ urlField: 'url',
45245
+ fileNameField: 'name',
45246
+ mediaItemIdField: 'mediaitemId',
45247
+ apiInterface: {
45248
+ create: {
45249
+ upload: apiConfig.mediaService + '/v1/assets/uploads',
45250
+ externalUpload: apiConfig.mediaService + '/v1/assets/uploads/externals',
45251
+ completeUpload: apiConfig.mediaService + '/v1/assets/uploads/complete'
45252
+ }
45253
+ },
45254
+ allowedTypes: ['image/png', 'image/jpeg', 'image/webp']
45255
+ }
45256
+ }, {
45257
+ headerName: 'backoffice.idmCatalog.items.label.textures',
45258
+ field: 'textures',
45259
+ cellDataType: 'asset',
45260
+ customParams: {
45261
+ multiple: true,
45262
+ isObject: true,
45263
+ urlField: 'url',
45264
+ fileNameField: 'name',
45265
+ mediaItemIdField: 'mediaitemId',
45266
+ apiInterface: {
45267
+ create: {
45268
+ upload: apiConfig.mediaService + '/v1/assets/uploads',
45269
+ externalUpload: apiConfig.mediaService + '/v1/assets/uploads/externals',
45270
+ completeUpload: apiConfig.mediaService + '/v1/assets/uploads/complete'
45271
+ }
45272
+ },
45273
+ allowedTypes: ['image/png', 'image/jpeg', 'image/webp']
45274
+ }
45275
+ }, {
45276
+ headerName: 'backoffice.idmCatalog.items.label.documents',
45277
+ field: 'documents',
45278
+ cellDataType: 'asset',
45279
+ customParams: {
45280
+ multiple: true,
45281
+ isObject: true,
45282
+ urlField: 'url',
45283
+ fileNameField: 'name',
45284
+ mediaItemIdField: 'mediaitemId',
45285
+ additionalFields: [{
45286
+ type: 'enum',
45287
+ field: 'infoType',
45288
+ label: 'backoffice.idmCatalog.detailinfos.label.infoType',
45289
+ enumData: [{
45290
+ name: t('backoffice.idmCatalog.detailinfos.label.infotype.i8'),
45291
+ value: 8
45292
+ }, {
45293
+ name: t('backoffice.idmCatalog.detailinfos.label.infotype.i15'),
45294
+ value: 15
45295
+ }, {
45296
+ name: t('backoffice.idmCatalog.detailinfos.label.infotype.i16'),
45297
+ value: 16
45298
+ }, {
45299
+ name: t('backoffice.idmCatalog.detailinfos.label.infotype.i12'),
45300
+ value: 12
45301
+ }]
45302
+ }],
45303
+ apiInterface: {
45304
+ create: {
45305
+ upload: apiConfig.mediaService + '/v1/assets/uploads',
45306
+ externalUpload: apiConfig.mediaService + '/v1/assets/uploads/externals',
45307
+ completeUpload: apiConfig.mediaService + '/v1/assets/uploads/complete'
45308
+ }
45309
+ },
45310
+ allowedTypes: ['application/pdf']
45311
+ }
45237
45312
  }, {
45238
45313
  headerName: 'backoffice.idmCatalog.items.label.validation',
45239
45314
  children: [{
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBA6KnE"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBAsPnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.1.0-beta.29",
3
+ "version": "26.1.0-beta.30",
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": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.1.0-beta.29",
19
- "@crystaldesign/content-item": "26.1.0-beta.29",
20
- "@crystaldesign/diva-core": "26.1.0-beta.29",
21
- "@crystaldesign/diva-utils": "26.1.0-beta.29",
22
- "@crystaldesign/media-upload": "26.1.0-beta.29",
23
- "@crystaldesign/rtf-editor": "26.1.0-beta.29",
24
- "@crystaldesign/spreadsheet": "26.1.0-beta.29",
18
+ "@crystaldesign/content-box": "26.1.0-beta.30",
19
+ "@crystaldesign/content-item": "26.1.0-beta.30",
20
+ "@crystaldesign/diva-core": "26.1.0-beta.30",
21
+ "@crystaldesign/diva-utils": "26.1.0-beta.30",
22
+ "@crystaldesign/media-upload": "26.1.0-beta.30",
23
+ "@crystaldesign/rtf-editor": "26.1.0-beta.30",
24
+ "@crystaldesign/spreadsheet": "26.1.0-beta.30",
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": "c99bfab2d4e08fafd316fd6244105dbf6fa985fa"
54
+ "gitHead": "6f3f97eab82ccdb56ae0547f6a06c5db7ff01473"
55
55
  }