@crystaldesign/diva-backoffice 25.9.0-beta.10 → 25.9.0-beta.12

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 +167 -125
  2. package/package.json +9 -9
@@ -2771,7 +2771,8 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
2771
2771
  labelOff: t('backoffice.table.taskstatusversioning.filter.label.allorgs'),
2772
2772
  inverted: true,
2773
2773
  permission: 'backoffice_taskstatus_allorgs',
2774
- isAnd: true
2774
+ isAnd: true,
2775
+ defaultChecked: true
2775
2776
  },
2776
2777
  search: {
2777
2778
  fields: ['_id', 'progress.dataItems', 'taskName', 'organizationId', 'user.fullName', 'status', 'serverName', 'taskType']
@@ -3251,7 +3252,165 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
3251
3252
  },
3252
3253
  apiInterface: {
3253
3254
  read: {
3254
- list: '${adminService}/taskStatus?filter=%5B%7BtaskType%2Cne%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Cne%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Cne%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Cne%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Cne%2CSAP_AUSP%7D%2C%7BtaskType%2Cne%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Cne%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Cne%2CCRON%7D%2C%7BtaskType%2Cne%2CRETAIL_VERSIONING%7D%2C%7BtaskType%2Cne%2CSUPPLIER_VERSIONING%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_EXPORT%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_IMPORT%7D%2C%7BtaskType%2Cne%2CGET_PRODUCT_FEATURES_PIM%7D%2C%7BtaskType%2Cne%2CIDM_IMPORT%7D%2C%7BtaskType%2Cne%2CIDM_EXPORT%7D%5D',
3255
+ list: '${adminService}/taskStatus?filter=%5B%7BtaskType%2Cne%2CSAP_XML_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_DROPDOWNITEMS%7D%2C%7BtaskType%2Cne%2CSAP_TEMPLATEARTICLES%7D%2C%7BtaskType%2Cne%2CSAP_ARTICLE_IMPORT%7D%2C%7BtaskType%2Cne%2CSAP_SUPPLIERS%7D%2C%7BtaskType%2Cne%2CSAP_PRODUCTGROUPS%7D%2C%7BtaskType%2Cne%2CSAP_AUSP%7D%2C%7BtaskType%2Cne%2CPIM_SEND_CLASSIFICATION%7D%2C%7BtaskType%2Cne%2CSEND_SAP_ARTICLES%7D%2C%7BtaskType%2Cne%2CCRON%7D%2C%7BtaskType%2Cne%2CRETAIL_VERSIONING%7D%2C%7BtaskType%2Cne%2CSUPPLIER_VERSIONING%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_EXPORT%7D%2C%7BtaskType%2Cne%2CBACKOFFICE_CE_IMPORT%7D%2C%7BtaskType%2Cne%2CGET_PRODUCT_FEATURES_PIM%7D%2C%7BtaskType%2Cne%2CIDM_IMPORT%7D%2C%7BtaskType%2Cne%2CIDM_EXPORT%7D%2C%7BtaskType%2Cne%2CPARTLIST_IMPORT%7D%2C%7BtaskType%2Cne%2CARTICLE_IMPORT%7D%2C%7BtaskType%2Cne%2CPRICE_IMPORT%7D%2C%7BtaskType%2Cne%2COPVG_IMPORT%7D%5D',
3256
+ fields: true,
3257
+ filterServerSide: true
3258
+ }
3259
+ },
3260
+ mapping: {
3261
+ type: 'query',
3262
+ map: [{
3263
+ globalValue: 'selectedOrganizationId',
3264
+ targetField: 'organizationId'
3265
+ }]
3266
+ },
3267
+ rowAction: [{
3268
+ actionType: 'Detail',
3269
+ type: 'Form',
3270
+ id: 'FormTaskStatusDetails',
3271
+ title: function title(data) {
3272
+ return t('backoffice.table.taskstatusversioning.rowAction.title') + ': ' + data.taskName;
3273
+ }
3274
+ }]
3275
+ },
3276
+ TableTaskStatusCEVSAPI: {
3277
+ type: 'Table',
3278
+ canRefresh: true,
3279
+ autoRefresh: 60000,
3280
+ title: t('backoffice.table.taskstatusversioning.title.taskstatuscevsapi'),
3281
+ columns: [{
3282
+ title: 'ID',
3283
+ field: '_id',
3284
+ sorter: 2,
3285
+ filter: 'advanced',
3286
+ width: 200,
3287
+ hidden: true
3288
+ }, {
3289
+ title: t('backoffice.table.taskstatusversioning.columns.model'),
3290
+ field: 'warning',
3291
+ hidden: true
3292
+ }, {
3293
+ title: t('backoffice.table.taskstatusversioning.columns.model'),
3294
+ field: 'error',
3295
+ hidden: true
3296
+ }, {
3297
+ title: t('backoffice.table.taskstatusversioning.columns.taskname'),
3298
+ field: 'taskName',
3299
+ sorter: 2,
3300
+ filter: 'advanced',
3301
+ width: 400
3302
+ }, {
3303
+ title: t('backoffice.table.taskstatusversioning.columns.organisationid'),
3304
+ field: 'organizationId',
3305
+ hidden: true
3306
+ }, {
3307
+ title: t('backoffice.table.taskstatusversioning.columns.organisation'),
3308
+ field: 'organizationDisplayName',
3309
+ field2: 'organizationId',
3310
+ type: 'link',
3311
+ link: '/backoffice?lang=de&organizationId={field2}&module=Collections',
3312
+ sorter: 200,
3313
+ filter: 'advanced',
3314
+ width: 200
3315
+ }, {
3316
+ title: t('backoffice.table.taskstatusversioning.columns.user'),
3317
+ field: 'user.fullName',
3318
+ sorter: 3,
3319
+ filter: 'advanced',
3320
+ width: 200
3321
+ }, {
3322
+ title: t('backoffice.table.taskstatusversioning.columns.user'),
3323
+ field: 'cancelledByUser.fullName',
3324
+ sorter: 3,
3325
+ filter: 'advanced',
3326
+ width: 200,
3327
+ hidden: true
3328
+ }, {
3329
+ title: t('backoffice.table.taskstatusversioning.columns.status'),
3330
+ field: 'progress.status',
3331
+ color: [{
3332
+ color: 'blue',
3333
+ onValues: ['InProgress', 'Waiting', 'Created', 'Started'],
3334
+ operations: ['eq']
3335
+ }, {
3336
+ color: 'green',
3337
+ onValues: ['Done'],
3338
+ operations: ['eq']
3339
+ }, {
3340
+ color: 'orange',
3341
+ onValues: ['DoneWithWarning', 'Cancel', 'Cancelled'],
3342
+ operations: ['eq']
3343
+ }, {
3344
+ color: 'red',
3345
+ onValues: ['Error'],
3346
+ operations: ['eq']
3347
+ }],
3348
+ filter: 'advanced',
3349
+ width: 200
3350
+ }, {
3351
+ title: t('backoffice.table.taskstatusversioning.columns.status'),
3352
+ field: 'progress.step',
3353
+ filter: 'advanced',
3354
+ width: 200,
3355
+ hidden: true
3356
+ }, {
3357
+ title: t('backoffice.table.taskstatusversioning.columns.status'),
3358
+ field: 'progress.percentage',
3359
+ field2: 'progress.step',
3360
+ width: 400,
3361
+ type: 'progress'
3362
+ }, {
3363
+ title: t('backoffice.table.taskstatusversioning.columns.created'),
3364
+ field: 'created',
3365
+ sorter: 1,
3366
+ defaultSortOrder: 'descend',
3367
+ type: 'unixTimeStamp',
3368
+ width: 200
3369
+ }, {
3370
+ title: t('backoffice.table.taskstatusversioning.columns.lastUpdated'),
3371
+ field: 'lastUpdated',
3372
+ type: 'unixTimeStamp',
3373
+ width: 200
3374
+ }, {
3375
+ title: t('backoffice.table.taskstatusversioning.columns.lastUpdated'),
3376
+ field: 'startTime',
3377
+ type: 'unixTimeStamp',
3378
+ width: 200,
3379
+ hidden: true
3380
+ }, {
3381
+ title: t('backoffice.table.taskstatusversioning.columns.finished'),
3382
+ field: 'endTime',
3383
+ type: 'unixTimeStamp',
3384
+ width: 200
3385
+ }, {
3386
+ title: t('backoffice.table.taskstatusversioning.columns.server'),
3387
+ field: 'serverName',
3388
+ filter: 'advanced',
3389
+ width: 200
3390
+ }, {
3391
+ title: t('backoffice.table.taskstatusversioning.columns.type'),
3392
+ field: 'taskType',
3393
+ filter: 'advanced',
3394
+ width: 200
3395
+ }],
3396
+ filter: {
3397
+ toggle: {
3398
+ globalValue: 'relevantTypeOrganizationId',
3399
+ fields: ['organizationId'],
3400
+ label: t('backoffice.table.clientrelations.filter.label.allorgs'),
3401
+ labelOff: t('backoffice.table.clientrelations.filter.label.allorgs'),
3402
+ inverted: true,
3403
+ permission: 'backoffice_taskstatus_allorgs',
3404
+ isAnd: true,
3405
+ defaultChecked: true
3406
+ },
3407
+ search: {
3408
+ fields: ['_id', 'progress.dataItems', 'taskName', 'organizationId', 'user.fullName', 'status', 'serverName', 'taskType']
3409
+ }
3410
+ },
3411
+ apiInterface: {
3412
+ read: {
3413
+ list: '${adminService}/taskStatus?filter=%5B%2B%5B%7BtaskType%2Ceq%2CBACKOFFICE_CE_IMPORT%7D%2C%7BtaskType%2Ceq%2CPARTLIST_IMPORT%7D%2C%7BtaskType%2Ceq%2CARTICLE_IMPORT%7D%2C%7BtaskType%2Ceq%2CPRICE_IMPORT%7D%2C%7BtaskType%2Ceq%2COPVG_IMPORT%7D%5D%5D',
3255
3414
  fields: true,
3256
3415
  filterServerSide: true
3257
3416
  }
@@ -6698,123 +6857,6 @@ function loadConfiguration(t, root, config, lang, apiConfig) {
6698
6857
  }]
6699
6858
  }
6700
6859
  },
6701
- TableIDMImports: {
6702
- type: 'Table',
6703
- title: t('backoffice.table.idmimports.title'),
6704
- canRefresh: true,
6705
- autoRefresh: 60000,
6706
- mergeFields: [{
6707
- key: 'fullName',
6708
- connectString: ' ',
6709
- valueKeys: ['user.name', 'user.familyName']
6710
- }, {
6711
- key: 'fullProgress',
6712
- connectString: '/',
6713
- valueKeys: ['progress.modelsCurrent', 'progress.modelsTotal']
6714
- }],
6715
- columns: [{
6716
- title: 'ID',
6717
- field: '_id',
6718
- sorter: 7,
6719
- filter: 'eq'
6720
- }, {
6721
- title: t('backoffice.table.idmimports.fullName'),
6722
- field: 'fullName',
6723
- sorter: 6
6724
- }, {
6725
- title: t('backoffice.table.idmimports.user.name'),
6726
- field: 'user.name',
6727
- hidden: true,
6728
- sorter: 5
6729
- }, {
6730
- title: t('backoffice.table.idmimports.user.familyName'),
6731
- field: 'user.familyName',
6732
- hidden: true,
6733
- sorter: 4
6734
- }, {
6735
- title: t('backoffice.table.idmimports.startTime'),
6736
- field: 'startTime',
6737
- sorter: 3,
6738
- type: 'unixTimeStamp',
6739
- filter: 'interval'
6740
- }, {
6741
- title: t('backoffice.table.idmimports.endTime'),
6742
- field: 'endTime',
6743
- type: 'unixTimeStamp',
6744
- sorter: 2,
6745
- dateInSeconds: false,
6746
- filter: 'interval'
6747
- }, {
6748
- title: t('backoffice.table.idmimports.lastUpdated'),
6749
- field: 'lastUpdated',
6750
- type: 'unixTimeStamp',
6751
- sorter: 1,
6752
- defaultSortOrder: 'descend'
6753
- }, {
6754
- title: t('backoffice.table.idmimports.state'),
6755
- field: 'state',
6756
- translationPrefix: 'idmimports.state',
6757
- color: [{
6758
- color: 'blue',
6759
- onValues: ['InProgress'],
6760
- operations: ['eq']
6761
- }, {
6762
- color: 'green',
6763
- onValues: ['Done'],
6764
- operations: ['eq']
6765
- }, {
6766
- color: 'orange',
6767
- onValues: ['DoneWithWarning'],
6768
- operations: ['eq']
6769
- }, {
6770
- color: 'red',
6771
- onValues: ['Error'],
6772
- operations: ['eq']
6773
- }]
6774
- }, {
6775
- title: t('backoffice.table.idmimports.stateMessage'),
6776
- field: 'stateMessage'
6777
- }, {
6778
- title: t('backoffice.table.idmimports.fullProgress'),
6779
- field: 'fullProgress'
6780
- }, {
6781
- title: t('backoffice.table.idmimports.progress.modelsCurrent'),
6782
- field: 'progress.modelsCurrent',
6783
- hidden: true
6784
- }, {
6785
- title: t('backoffice.table.idmimports.progress.modelsTotal'),
6786
- field: 'progress.modelsTotal',
6787
- hidden: true
6788
- }, {
6789
- title: t('backoffice.table.idmimports.organizationId'),
6790
- field: 'organizationId'
6791
- }, {
6792
- title: t('backoffice.table.idmimports.serverName'),
6793
- field: 'serverName'
6794
- }, {
6795
- title: t('backoffice.table.idmimports.fileName'),
6796
- field: 'fileName'
6797
- }],
6798
- filter: {
6799
- search: {
6800
- fields: ['_id', 'user.name', 'user.familyName', 'state', 'stateMessage', 'fullProgress', 'organizationId', 'serverName', 'fileName']
6801
- }
6802
- },
6803
- apiInterface: {
6804
- read: {
6805
- list: '${catalogService}/idmImports',
6806
- filterServerSide: true
6807
- },
6808
- "delete": '${catalogService}/idmImports'
6809
- },
6810
- mapping: {
6811
- type: 'query',
6812
- map: [{
6813
- sourceField: '_id',
6814
- targetField: '_id'
6815
- }]
6816
- }
6817
- },
6818
6860
  TableEmailTemplates: {
6819
6861
  type: 'Table',
6820
6862
  title: t('backoffice.table.emailtemplates.title'),
@@ -14553,12 +14595,6 @@ var menu = [{
14553
14595
  label: 'IDM',
14554
14596
  icon: 'FileExcelOutlined',
14555
14597
  items: [{
14556
- id: 'TableIDMImports',
14557
- path: '',
14558
- label: 'backoffice.menu.items.label.TableIDMImports',
14559
- permission: 'backoffice_idmimports',
14560
- icon: 'HistoryOutlined'
14561
- }, {
14562
14598
  id: 'IFrameIDMImport',
14563
14599
  path: 'import',
14564
14600
  label: 'backoffice.menu.items.label.IFrameIDMImport',
@@ -14696,6 +14732,12 @@ var menu = [{
14696
14732
  label: 'backoffice.table.taskstatusversioning.title.taskstatusothers',
14697
14733
  icon: 'PlaySquareOutlined',
14698
14734
  permission: 'backoffice_admin_taskstatus_others'
14735
+ }, {
14736
+ id: 'TableTaskStatusCEVSAPI',
14737
+ path: 'taskstatuscevsapi',
14738
+ label: 'backoffice.table.taskstatusversioning.title.taskstatuscevsapi',
14739
+ icon: 'SwapOutlined',
14740
+ permission: 'backoffice_admin_taskstatus_cevsapi'
14699
14741
  }]
14700
14742
  }, {
14701
14743
  id: 'TableAllUsers',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.9.0-beta.10",
3
+ "version": "25.9.0-beta.12",
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": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "25.9.0-beta.10",
19
- "@crystaldesign/content-item": "25.9.0-beta.10",
20
- "@crystaldesign/diva-core": "25.9.0-beta.10",
21
- "@crystaldesign/diva-utils": "25.9.0-beta.10",
22
- "@crystaldesign/media-upload": "25.9.0-beta.10",
23
- "@crystaldesign/rtf-editor": "25.9.0-beta.10",
24
- "@crystaldesign/spreadsheet": "25.9.0-beta.10",
18
+ "@crystaldesign/content-box": "25.9.0-beta.12",
19
+ "@crystaldesign/content-item": "25.9.0-beta.12",
20
+ "@crystaldesign/diva-core": "25.9.0-beta.12",
21
+ "@crystaldesign/diva-utils": "25.9.0-beta.12",
22
+ "@crystaldesign/media-upload": "25.9.0-beta.12",
23
+ "@crystaldesign/rtf-editor": "25.9.0-beta.12",
24
+ "@crystaldesign/spreadsheet": "25.9.0-beta.12",
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": "21fe41b81e2815f4d2a5de0a1ce97b88a5c34926"
54
+ "gitHead": "006c484efb4c675887f6ea6ab3ec9e9e64786b0b"
55
55
  }