@crystaldesign/diva-backoffice 26.3.0-beta.45 → 26.3.0-beta.47

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.
Files changed (2) hide show
  1. package/build/esm/index.js +34 -0
  2. package/package.json +9 -9
@@ -2278,6 +2278,12 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
2278
2278
  type: 'Form',
2279
2279
  id: 'FormUserDetails',
2280
2280
  title: t('backoffice.table.allusers.rowAction.details.userdetails')
2281
+ }, {
2282
+ actionType: 'Detail',
2283
+ type: 'RelationSelector',
2284
+ id: 'SelectorUserOrganizations',
2285
+ title: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label'),
2286
+ label: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label')
2281
2287
  }, {
2282
2288
  actionType: 'Detail',
2283
2289
  type: 'RoleSelector',
@@ -13372,6 +13378,34 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
13372
13378
  }
13373
13379
  }
13374
13380
  },
13381
+ SelectorUserOrganizations: {
13382
+ type: 'RelationSelector',
13383
+ apiInterface: {
13384
+ read: '${authService}/v2/users/${userId}/organizations'
13385
+ },
13386
+ configuration: {
13387
+ download: false,
13388
+ readListMapping: {
13389
+ type: 'query',
13390
+ map: [{
13391
+ sourceField: '_id',
13392
+ targetField: 'userId'
13393
+ }]
13394
+ },
13395
+ functionalities: {
13396
+ canDelete: false,
13397
+ canEdit: false
13398
+ },
13399
+ filter: {
13400
+ fields: ['displayName', '_id'],
13401
+ type: 'default'
13402
+ },
13403
+ list: {
13404
+ title: ['displayName'],
13405
+ description: ['_id']
13406
+ }
13407
+ }
13408
+ },
13375
13409
  SelectorRoleUser: {
13376
13410
  type: 'RelationSelector',
13377
13411
  searchApiInterface: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.3.0-beta.45",
3
+ "version": "26.3.0-beta.47",
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.3.0-beta.45",
19
- "@crystaldesign/content-item": "26.3.0-beta.45",
20
- "@crystaldesign/diva-core": "26.3.0-beta.45",
21
- "@crystaldesign/diva-utils": "26.3.0-beta.45",
22
- "@crystaldesign/media-upload": "26.3.0-beta.45",
23
- "@crystaldesign/rtf-editor": "26.3.0-beta.45",
24
- "@crystaldesign/spreadsheet": "26.3.0-beta.45",
18
+ "@crystaldesign/content-box": "26.3.0-beta.47",
19
+ "@crystaldesign/content-item": "26.3.0-beta.47",
20
+ "@crystaldesign/diva-core": "26.3.0-beta.47",
21
+ "@crystaldesign/diva-utils": "26.3.0-beta.47",
22
+ "@crystaldesign/media-upload": "26.3.0-beta.47",
23
+ "@crystaldesign/rtf-editor": "26.3.0-beta.47",
24
+ "@crystaldesign/spreadsheet": "26.3.0-beta.47",
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": "c0acf25c18149e05831b5ac5eb751de088986632"
54
+ "gitHead": "2ffe29015f8bb2f7b286114699bb1316b2550eb2"
55
55
  }