@crystaldesign/diva-backoffice 24.4.0-beta.32 → 24.4.0-beta.34
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 +75 -5
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -3034,27 +3034,34 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
3034
3034
|
title: t('backoffice.table.partlists.columns.GroupedFormula'),
|
|
3035
3035
|
field: 'GroupedFormula',
|
|
3036
3036
|
sorter: 7,
|
|
3037
|
-
filter: 'advanced'
|
|
3037
|
+
filter: 'advanced',
|
|
3038
|
+
width: 100
|
|
3038
3039
|
}, {
|
|
3039
3040
|
title: t('backoffice.table.partlists.columns.Formula'),
|
|
3040
3041
|
field: 'Formula',
|
|
3041
3042
|
sorter: 8,
|
|
3042
|
-
filter: 'advanced'
|
|
3043
|
+
filter: 'advanced',
|
|
3044
|
+
width: 100
|
|
3043
3045
|
}, {
|
|
3044
3046
|
title: t('backoffice.table.partlists.columns.RetailPrefix'),
|
|
3045
3047
|
field: 'RetailPrefix',
|
|
3046
3048
|
editable: true,
|
|
3047
3049
|
sorter: 9,
|
|
3048
3050
|
filter: 'advanced',
|
|
3049
|
-
width:
|
|
3051
|
+
width: 100
|
|
3050
3052
|
}, {
|
|
3051
3053
|
title: t('backoffice.table.partlists.columns.RetailArticleNr'),
|
|
3052
3054
|
field: 'RetailArticleNr',
|
|
3053
3055
|
editable: true,
|
|
3054
3056
|
sorter: 9,
|
|
3055
3057
|
filter: 'advanced',
|
|
3056
|
-
width:
|
|
3058
|
+
width: 100,
|
|
3057
3059
|
fixed: 'right'
|
|
3060
|
+
}, {
|
|
3061
|
+
title: 'OptionsForPrint',
|
|
3062
|
+
field: 'OptionsForPrint',
|
|
3063
|
+
editable: false,
|
|
3064
|
+
width: 150
|
|
3058
3065
|
}],
|
|
3059
3066
|
apiInterface: {
|
|
3060
3067
|
read: {
|
|
@@ -4377,7 +4384,14 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
4377
4384
|
filterServerSide: true
|
|
4378
4385
|
},
|
|
4379
4386
|
"delete": '${mediaService}/rooms/${id}'
|
|
4380
|
-
}
|
|
4387
|
+
},
|
|
4388
|
+
rowAction: [{
|
|
4389
|
+
actionType: 'Detail',
|
|
4390
|
+
type: 'RelationSelector',
|
|
4391
|
+
id: 'SelectorRoomOrganizations',
|
|
4392
|
+
title: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label'),
|
|
4393
|
+
label: t('backoffice.table.apikeys.rowAction.SelectorApiOrganizations.label')
|
|
4394
|
+
}]
|
|
4381
4395
|
},
|
|
4382
4396
|
TableRenderjobs: {
|
|
4383
4397
|
title: t('backoffice.table.renderjobs.title'),
|
|
@@ -9272,6 +9286,62 @@ function loadConfiguration(t, root, config, lang) {
|
|
|
9272
9286
|
AUTH_0020: t('errorcodes._source.labels.error.AUTH_0020')
|
|
9273
9287
|
}
|
|
9274
9288
|
},
|
|
9289
|
+
SelectorRoomOrganizations: {
|
|
9290
|
+
type: 'RelationSelector',
|
|
9291
|
+
searchApiInterface: {
|
|
9292
|
+
read: '${authService}/v2/organizations'
|
|
9293
|
+
},
|
|
9294
|
+
apiInterface: {
|
|
9295
|
+
read: '${mediaService}/rooms/${roomId}/organizations',
|
|
9296
|
+
create: '${mediaService}/rooms/${roomId}/organizations/${organizationId}',
|
|
9297
|
+
"delete": '${mediaService}/rooms/${roomId}/organizations/${organizationId}'
|
|
9298
|
+
},
|
|
9299
|
+
configuration: {
|
|
9300
|
+
download: false,
|
|
9301
|
+
readListMapping: {
|
|
9302
|
+
type: 'query',
|
|
9303
|
+
map: [{
|
|
9304
|
+
sourceField: '_id',
|
|
9305
|
+
targetField: 'roomId'
|
|
9306
|
+
}]
|
|
9307
|
+
},
|
|
9308
|
+
deleteMapping: {
|
|
9309
|
+
type: 'query',
|
|
9310
|
+
map: [{
|
|
9311
|
+
sourceField: '_id',
|
|
9312
|
+
targetField: 'roomId'
|
|
9313
|
+
}, {
|
|
9314
|
+
sourceField: 'relatedId',
|
|
9315
|
+
targetField: 'organizationId'
|
|
9316
|
+
}]
|
|
9317
|
+
},
|
|
9318
|
+
createMapping: {
|
|
9319
|
+
type: 'query',
|
|
9320
|
+
map: [{
|
|
9321
|
+
sourceField: '_id',
|
|
9322
|
+
targetField: 'roomId'
|
|
9323
|
+
}, {
|
|
9324
|
+
sourceField: 'relatedId',
|
|
9325
|
+
targetField: 'organizationId'
|
|
9326
|
+
}]
|
|
9327
|
+
},
|
|
9328
|
+
search: {
|
|
9329
|
+
fields: ['_id', 'displayName']
|
|
9330
|
+
},
|
|
9331
|
+
functionalities: {
|
|
9332
|
+
canDelete: true,
|
|
9333
|
+
canEdit: false
|
|
9334
|
+
},
|
|
9335
|
+
filter: {
|
|
9336
|
+
fields: ['_id', 'displayName'],
|
|
9337
|
+
type: 'default'
|
|
9338
|
+
},
|
|
9339
|
+
list: {
|
|
9340
|
+
title: ['displayName'],
|
|
9341
|
+
description: ['_id']
|
|
9342
|
+
}
|
|
9343
|
+
}
|
|
9344
|
+
},
|
|
9275
9345
|
MediaUploadOrganizationLogoMobile: {
|
|
9276
9346
|
type: 'MediaUpload',
|
|
9277
9347
|
size: 'medium',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-backoffice",
|
|
3
|
-
"version": "24.4.0-beta.
|
|
3
|
+
"version": "24.4.0-beta.34",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"module": "build/esm/index.js",
|
|
52
52
|
"types": "./build/types/backoffice/src/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "6fa02d3c3ed5fec9bed8b08db40229444fa3d71d"
|
|
54
54
|
}
|