@steedos-widgets/amis-object 1.2.10 → 1.2.11

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.
@@ -561,6 +561,9 @@ body {
561
561
  .max-w-md {
562
562
  max-width: 28rem
563
563
  }
564
+ .flex-initial {
565
+ flex: 0 1 auto
566
+ }
564
567
  .flex-auto {
565
568
  flex: 1 1 auto
566
569
  }
@@ -1235,6 +1238,16 @@ body {
1235
1238
  column-gap: 1rem;
1236
1239
  }
1237
1240
 
1241
+ @media (max-width: 768px) {
1242
+ .record-detail-header-name {
1243
+ display: -webkit-box;
1244
+ overflow: hidden;
1245
+ text-overflow: ellipsis;
1246
+ -webkit-line-clamp: 2;
1247
+ -webkit-box-orient: vertical;
1248
+ }
1249
+ }
1250
+
1238
1251
  .steedos-context-bar .antd-Nav-list {
1239
1252
  border-bottom: 0px;
1240
1253
  height: 40px;
@@ -788,7 +788,7 @@
788
788
  * @Author: baozhoutao@steedos.com
789
789
  * @Date: 2022-05-23 09:53:08
790
790
  * @LastEditors: Please set LastEditors
791
- * @LastEditTime: 2023-05-18 16:34:39
791
+ * @LastEditTime: 2023-05-22 15:13:18
792
792
  * @Description:
793
793
  */
794
794
 
@@ -845,8 +845,9 @@
845
845
  let map = {};
846
846
  ___default.forEach(selectOptions,(option)=>{
847
847
  const optionValue = option.value + '';
848
- if(option.color){
849
- const background = option.color.charAt(0) === '#' ? option.color : '#'+option.color;
848
+ const optionColor = option.color + '';
849
+ if(optionColor){
850
+ const background = optionColor.charAt(0) === '#' ? optionColor : '#'+optionColor;
850
851
  const color = getContrastColor(background);
851
852
  const optionColorStyle = 'background:'+background+';color:'+color;
852
853
  map[optionValue] = `<span class="rounded-xl px-2 py-1" style='${optionColorStyle}'>${option.label}</span>`;
@@ -2252,9 +2253,10 @@
2252
2253
  {
2253
2254
  name: "template_url",
2254
2255
  label: "导入模板",
2255
- type: "tpl",
2256
- // type: "markdown",
2257
- // html: true,
2256
+ type: "markdown",
2257
+ options: {
2258
+ html: true
2259
+ },
2258
2260
  className: "whitespace-nowrap",
2259
2261
  },
2260
2262
  null,
@@ -3101,6 +3103,7 @@
3101
3103
  if (!ctx) {
3102
3104
  ctx = {};
3103
3105
  }
3106
+ const btnSearchId = "btn_filter_form_search_" + new Date().getTime();
3104
3107
  const filterFormSchema = await getObjectFieldsFilterFormSchema(ctx);
3105
3108
  const onSearchScript = `
3106
3109
  const scope = event.context.scoped;
@@ -3117,7 +3120,7 @@
3117
3120
  // // 这会造成handleFilterSubmit时把移除掉的搜索项字段之前的值加到过滤条件中
3118
3121
  // for(var k in filterFormValues){
3119
3122
  // if(filterFormValues[k] === "" && !filterFormValues.hasOwnProperty(k)){
3120
- // removedValues[k] = "";
3123
+ // removedValues[k] = null;
3121
3124
  // }
3122
3125
  // }
3123
3126
  // listView.handleFilterSubmit(Object.assign({}, removedValues, filterFormValues));
@@ -3156,7 +3159,7 @@
3156
3159
  const removedValues = {};
3157
3160
  for(var k in filterFormValues){
3158
3161
  if(/^__searchable__/.test(k)){
3159
- removedValues[k] = "";
3162
+ removedValues[k] = null;
3160
3163
  }
3161
3164
  }
3162
3165
  if(!event.data.isLookup){
@@ -3167,7 +3170,7 @@
3167
3170
  if(localListViewProps){
3168
3171
  localListViewProps = JSON.parse(localListViewProps);
3169
3172
  for(var k in localListViewProps){
3170
- removedValues[k] = "";
3173
+ removedValues[k] = null;
3171
3174
  }
3172
3175
  }
3173
3176
  }
@@ -3325,7 +3328,7 @@
3325
3328
  });
3326
3329
  const removedValues = {};
3327
3330
  removedKeys.forEach(function(key){
3328
- removedValues[key] = "";
3331
+ removedValues[key] = null;
3329
3332
  });
3330
3333
  filterForm.setValues(removedValues);//这里使用filterInnerForm也可以
3331
3334
 
@@ -3338,10 +3341,14 @@
3338
3341
  let localListViewProps = sessionStorage.getItem(listViewPropsStoreKey);
3339
3342
  if(localListViewProps){
3340
3343
  localListViewProps = JSON.parse(localListViewProps);
3341
- // const removedValues = {};
3342
- removedKeys.forEach(function(key){
3343
- delete localListViewProps[key];
3344
- // removedValues[key] = "";
3344
+ _.each(localListViewProps, function(n,k){
3345
+ // __searchable__开头的不在searchableFields范围则清除其值
3346
+ let isRemoved = !!removedFields.find(function(fieldName){
3347
+ return new RegExp("__searchable__\.*" + fieldName + "$").test(k);
3348
+ });
3349
+ if(isRemoved){
3350
+ delete localListViewProps[k];
3351
+ }
3345
3352
  });
3346
3353
  sessionStorage.setItem(listViewPropsStoreKey, JSON.stringify(localListViewProps));
3347
3354
  }
@@ -3375,9 +3382,10 @@
3375
3382
  "body": [
3376
3383
  {
3377
3384
  "type": "button",
3385
+ "id": btnSearchId,
3378
3386
  "label": "搜索",
3379
3387
  "icon": "fa fa-search",
3380
- "visibleOn": "this.filterFormSearchableFields && this.filterFormSearchableFields.length",
3388
+ // "visibleOn": "this.filterFormSearchableFields && this.filterFormSearchableFields.length",
3381
3389
  "onEvent": {
3382
3390
  "click": {
3383
3391
  "actions": [
@@ -3393,7 +3401,7 @@
3393
3401
  "type": "button",
3394
3402
  "label": "取消",
3395
3403
  "name": "btn_filter_form_cancel",
3396
- "visibleOn": "this.filterFormSearchableFields && this.filterFormSearchableFields.length",
3404
+ // "visibleOn": "this.filterFormSearchableFields && this.filterFormSearchableFields.length",
3397
3405
  "onEvent": {
3398
3406
  "click": {
3399
3407
  "actions": [
@@ -3508,6 +3516,10 @@
3508
3516
  "actionType": "custom",
3509
3517
  "script": onSearchableFieldsChangeScript
3510
3518
  },
3519
+ {
3520
+ "actionType": "click",
3521
+ "componentId": btnSearchId
3522
+ },
3511
3523
  {
3512
3524
  "componentId": "",
3513
3525
  "args": {},
@@ -3862,7 +3874,7 @@
3862
3874
  // "tpl": "${(record && uiSchema && record[uiSchema.NAME_FIELD_KEY]) || name}",
3863
3875
  "inline": false,
3864
3876
  "wrapperComponent": "",
3865
- "className": "leading-5 text-xl font-bold"
3877
+ "className": "record-detail-header-name leading-5 text-xl font-bold"
3866
3878
  }
3867
3879
  ],
3868
3880
  "columnClassName": "p-l-xs"
@@ -3871,6 +3883,7 @@
3871
3883
  "className": "flex justify-between"
3872
3884
  }
3873
3885
  ],
3886
+ "columnClassName": "flex-initial",
3874
3887
  "md": "auto",
3875
3888
  });
3876
3889
  }
@@ -3891,7 +3904,7 @@
3891
3904
  {
3892
3905
  "type": "grid",
3893
3906
  "columns": gridBody,
3894
- "className": "flex justify-between"
3907
+ "className": "flex justify-between flex-nowrap"
3895
3908
  }
3896
3909
  ],
3897
3910
  "hiddenOn": "${recordLoaded != true}"
@@ -4108,12 +4121,13 @@
4108
4121
  "type": "dialog",
4109
4122
  "title": "新建 列表视图",
4110
4123
  "data": {
4111
- "&": "$$",
4124
+ //"&":"$$",2.7、2.9、3.0在此处失效
4112
4125
  "all": "${uiSchema.list_views.all}",
4113
4126
  "list_view": "${uiSchema.list_views[listName]}",
4114
4127
  "appId": "${appId}",
4115
4128
  "global": "${global}",
4116
4129
  "targetObjectName": "${objectName}",
4130
+ "context": "${context}"
4117
4131
  },
4118
4132
  "body": [
4119
4133
  {
@@ -4257,12 +4271,13 @@
4257
4271
  "type": "dialog",
4258
4272
  "title": "复制 列表视图",
4259
4273
  "data": {
4260
- "&": "$$",
4274
+ //"&":"$$",2.7、2.9、3.0在此处失效
4261
4275
  "listName": "${listName}",
4262
4276
  "targetObjectName": "${objectName}",
4263
4277
  "list_view": "${uiSchema.list_views[listName]}",
4264
4278
  "appId": "${appId}",
4265
- "global": "${global}"
4279
+ "global": "${global}",
4280
+ "context": "${context}"
4266
4281
  },
4267
4282
  "body": [
4268
4283
  {
@@ -4404,7 +4419,8 @@
4404
4419
  "data": {
4405
4420
  "targetObjectName": "${objectName}",
4406
4421
  "recordId": "${uiSchema.list_views[listName]._id}",
4407
- "appId": "${appId}"
4422
+ "appId": "${appId}",
4423
+ "context": "${context}"
4408
4424
  },
4409
4425
  "body": [
4410
4426
  {
@@ -4461,6 +4477,7 @@
4461
4477
  "title": "共享设置",
4462
4478
  "data": {
4463
4479
  "recordId": "${uiSchema.list_views[listName]._id}",
4480
+ "context": "${context}"
4464
4481
  },
4465
4482
  "body": [
4466
4483
  {
@@ -4506,7 +4523,8 @@
4506
4523
  "targetObjectName": "${objectName}",
4507
4524
  "recordId": "${uiSchema.list_views[listName]._id}",
4508
4525
  "listName": "${listName}",
4509
- "appId": "${appId}"
4526
+ "appId": "${appId}",
4527
+ "context": "${context}"
4510
4528
  },
4511
4529
  "body": [
4512
4530
  {
@@ -4650,11 +4668,12 @@
4650
4668
  "type": "dialog",
4651
4669
  "title": "显示的列",
4652
4670
  "data": {
4653
- "&": "$$",
4671
+ //"&":"$$",2.7、2.9、3.0在此处失效
4654
4672
  "targetObjectName": "${objectName}",
4655
4673
  "recordId": "${uiSchema.list_views[listName]._id}",
4656
4674
  "listName": "${listName}",
4657
- "appId": "${appId}"
4675
+ "appId": "${appId}",
4676
+ "context": "${context}"
4658
4677
  },
4659
4678
  "body": [
4660
4679
  {
@@ -4803,11 +4822,12 @@
4803
4822
  "type": "dialog",
4804
4823
  "title": "默认排序规则",
4805
4824
  "data": {
4806
- "&": "$$",
4825
+ //"&":"$$",2.7、2.9、3.0在此处失效
4807
4826
  "targetObjectName": "${objectName}",
4808
4827
  "recordId": "${uiSchema.list_views[listName]._id}",
4809
4828
  "listName": "${listName}",
4810
- "appId": "${appId}"
4829
+ "appId": "${appId}",
4830
+ "context": "${context}"
4811
4831
  },
4812
4832
  "body": [
4813
4833
  {
@@ -5497,24 +5517,13 @@ else{
5497
5517
  "actionType": "custom",
5498
5518
  "script": `
5499
5519
  const scope = event.context.scoped;
5500
- //TODO: 将form中的value一同加入筛选内
5501
- // var filterForm = scope.parent.parent.getComponents().find(function(n){
5502
- // return n.props.type === "form";
5503
- // });
5504
- // var filterFormValues = filterForm.getValues();
5505
- filterFormValues={
5520
+ var filterFormValues={
5506
5521
  "__searchable__organizations_parents":event.data.value.value
5507
5522
  }
5508
5523
  var listView = scope.parent.getComponents().find(function(n){
5509
5524
  return n.props.type === "crud";
5510
5525
  });
5511
- const removedValues = {};
5512
- // for(var k in filterFormValues){
5513
- // if(filterFormValues[k] === "" && !filterFormValues.hasOwnProperty(k)){
5514
- // removedValues[k] = "";
5515
- // }
5516
- // }
5517
- listView.handleFilterSubmit(Object.assign({}, removedValues, filterFormValues));
5526
+ listView.handleFilterSubmit(Object.assign({}, filterFormValues));
5518
5527
  `
5519
5528
  }
5520
5529
  ]
@@ -5628,7 +5637,7 @@ else{
5628
5637
 
5629
5638
  const source = await getApi$1(refObjectConfig, null, fields, {expand: true, alias: 'rows', queryOptions: `filters: {__filters}, top: {__top}, skip: {__skip}, sort: "{__sort}"`});
5630
5639
 
5631
- if(source.url){
5640
+ if(source.url && !ctx.inFilterForm){
5632
5641
  const depend_on = [];
5633
5642
  const sendOn = [];
5634
5643
  ___default__namespace.each(field.depend_on, (fName)=>{
@@ -5692,9 +5701,10 @@ else{
5692
5701
  filters.push(fieldFilters);
5693
5702
  }
5694
5703
 
5704
+ const inFilterForm = ${ctx.inFilterForm};
5695
5705
  const filtersFunction = ${field.filtersFunction || field._filtersFunction};
5696
5706
 
5697
- if(filtersFunction){
5707
+ if(filtersFunction && !inFilterForm){
5698
5708
  const _filters = filtersFunction(filters, api.data.$self.__super.__super);
5699
5709
  if(_filters && _filters.length > 0){
5700
5710
  filters.push(_filters);
@@ -5914,7 +5924,8 @@ else{
5914
5924
  sort = getListViewSort(listView);
5915
5925
  }
5916
5926
 
5917
- if(apiInfo.url){
5927
+ // 列表视图搜索栏中,即inFilterForm=true时,不需要执行depend_on
5928
+ if(apiInfo.url && !ctx.inFilterForm){
5918
5929
  const depend_on = [];
5919
5930
  const sendOn = [];
5920
5931
  ___default__namespace.each(field.depend_on, (fName)=>{
@@ -5951,9 +5962,10 @@ else{
5951
5962
  filters.push(fieldFilters);
5952
5963
  }
5953
5964
 
5965
+ const inFilterForm = ${ctx.inFilterForm};
5954
5966
  const filtersFunction = ${field.filtersFunction || field._filtersFunction};
5955
5967
 
5956
- if(filtersFunction){
5968
+ if(filtersFunction && !inFilterForm){
5957
5969
  const _filters = filtersFunction(filters, api.data.$);
5958
5970
  if(_filters && _filters.length > 0){
5959
5971
  filters.push(_filters);
@@ -5979,7 +5991,14 @@ else{
5979
5991
  referenceTo ? referenceTo.valueField.name : '';
5980
5992
  if(field.optionsFunction || field._optionsFunction){
5981
5993
  apiInfo.adaptor = `
5982
- payload.data.options = eval(${field.optionsFunction || field._optionsFunction})(api.data.$);
5994
+ var options = eval(${field.optionsFunction || field._optionsFunction})(api.data.$);
5995
+ if(api.data.$term){
5996
+ options = _.filter(options, function(o) {
5997
+ var label = o.label;
5998
+ return label.toLowerCase().indexOf(api.data.$term.toLowerCase()) > -1;
5999
+ });
6000
+ }
6001
+ payload.data.options = options;
5983
6002
  return payload;
5984
6003
  `;
5985
6004
  }
@@ -6115,7 +6134,7 @@ else{
6115
6134
  source.data.$term = "$term";
6116
6135
  source.data.$self = "$$";
6117
6136
 
6118
- if(idsDependOn && source.url){
6137
+ if(idsDependOn && source.url && !ctx.inFilterForm){
6119
6138
  source.sendOn = `\${${idsDependOn} && ${idsDependOn}.length}`;
6120
6139
  source.url = `${source.url}&depend_on_${idsDependOn}=\${${idsDependOn}|join}`;
6121
6140
  }
@@ -6957,7 +6976,7 @@ else{
6957
6976
  convertData.className = fieldTypeClassName;
6958
6977
  }
6959
6978
 
6960
- if(field.visible_on){
6979
+ if(field.visible_on && !ctx.inFilterForm){
6961
6980
  // convertData.visibleOn = `\$${field.visible_on.substring(1, field.visible_on.length -1).replace(/formData./g, '')}`;
6962
6981
  if(field.visible_on.startsWith("{{")){
6963
6982
  convertData.visibleOn = `${field.visible_on.substring(2, field.visible_on.length -2).replace(/formData./g, 'data.')}`;
@@ -7050,7 +7069,7 @@ else{
7050
7069
  _field.multiple = true;
7051
7070
  _field.is_wide = false;
7052
7071
  _field.defaultValue = undefined;
7053
- const amisField = await convertSFieldToAmisField(_field, false, Object.assign({}, ctx, {fieldNamePrefix: fieldNamePrefix, required: false, showSystemFields: true}));
7072
+ const amisField = await convertSFieldToAmisField(_field, false, Object.assign({}, ctx, {fieldNamePrefix: fieldNamePrefix, required: false, showSystemFields: true, inFilterForm: true}));
7054
7073
  if(amisField){
7055
7074
  return amisField;
7056
7075
  }
@@ -8052,7 +8071,7 @@ else{
8052
8071
  tpl: tpl,
8053
8072
  toggled: field.toggled,
8054
8073
  className,
8055
- html: field.type === 'html' ? true : null
8074
+ options: field.type === 'html' ? {html: true} : null
8056
8075
  // toggled: true
8057
8076
  }, field.amis, {name: field.name}));
8058
8077
  }
@@ -13932,13 +13951,6 @@ else{
13932
13951
  });
13933
13952
  }); };
13934
13953
 
13935
- /*
13936
- * @Author: baozhoutao@steedos.com
13937
- * @Date: 2022-12-08 10:32:17
13938
- * @LastEditors: baozhoutao@steedos.com
13939
- * @LastEditTime: 2023-04-13 18:40:42
13940
- * @Description:
13941
- */
13942
13954
  var AmisRecordDetail = function (props) { return __awaiter(void 0, void 0, void 0, function () {
13943
13955
  var className, $schema, appId, _a, objectApiName, body, schema;
13944
13956
  return __generator(this, function (_b) {
@@ -14522,7 +14534,7 @@ else{
14522
14534
  schemaApi: {
14523
14535
  "method": "get",
14524
14536
  "url": "${context.rootUrl}/service/api/apps/".concat(appId, "/menus"),
14525
- "adaptor": "\n try {\n console.log('payload====>', payload)\n if(payload.nav_schema){\n payload.data = payload.nav_schema;\n return payload\n }\n\n const data = { nav: [] };\n const stacked = ".concat(stacked, ";\n const showIcon = ").concat(showIcon, ";\n const selectedId = '").concat(selectedId, "';\n if(stacked){\n _.each(_.groupBy(payload.children, 'group'), (tabs, groupName) => {\n if (groupName === 'undefined' || groupName === '') {\n _.each(tabs, (tab) => {\n data.nav.push({\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n })\n })\n } else {\n data.nav.push({\n \"label\": groupName,\n \"unfolded\": true,\n \"children\": _.map(tabs, (tab) => {\n return {\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n }\n })\n }) \n }\n });\n }else{\n _.each(payload.children, (tab)=>{\n data.nav.push({\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n });\n })\n }\n payload.data = {\n \"type\": \"nav\",\n className: \"").concat(className, "\",\n \"stacked\": ").concat(stacked, ",\n \"overflow\": ").concat(JSON.stringify(overflow), ",\n \"indentSize\": ").concat(indentSize, ",\n \"links\": data.nav,\n };\n } catch (error) {\n console.log(`error`, error)\n }\n console.log('payload===2==>', payload)\n return payload;\n "),
14537
+ "adaptor": "\n try {\n console.log('payload====>', payload)\n if(payload.nav_schema){\n payload.data = payload.nav_schema;\n return payload\n }\n\n const data = { nav: [] };\n const stacked = ".concat(stacked, ";\n const showIcon = ").concat(showIcon, ";\n const selectedId = '").concat(selectedId, "';\n const tab_groups = payload.tab_groups;\n if(stacked){\n _.each(_.groupBy(payload.children, 'group'), (tabs, groupName) => {\n if (groupName === 'undefined' || groupName === '') {\n _.each(tabs, (tab) => {\n data.nav.push({\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n })\n })\n } else {\n data.nav.push({\n \"label\": groupName,\n \"unfolded\": _.find(tab_groups, {\"group_name\": groupName})?.default_open != false,\n \"children\": _.map(tabs, (tab) => {\n return {\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n }\n })\n }) \n }\n });\n }else{\n _.each(payload.children, (tab)=>{\n data.nav.push({\n \"label\": showIcon ? {\n type: 'tpl',\n tpl: `<span class='fill-slate-500 text-slate-700 block -ml-px no-underline group flex items-center text-[15px] font-medium rounded-md'><svg class=\"mr-1 flex-shrink-0 h-6 w-6\"><use xlink:href=\"/assets/icons/standard-sprite/svg/symbols.svg#${tab.icon || 'account'}\"></use></svg>${tab.name}</span>`\n } : tab.name,\n \"to\": tab.path,\n \"target\":tab.target\n // active: selectedId === tab.id,\n });\n })\n }\n payload.data = {\n \"type\": \"nav\",\n className: \"").concat(className, "\",\n \"stacked\": ").concat(stacked, ",\n \"overflow\": ").concat(JSON.stringify(overflow), ",\n \"indentSize\": ").concat(indentSize, ",\n \"links\": data.nav,\n };\n } catch (error) {\n console.log(`error`, error)\n }\n console.log('payload===2==>', payload)\n return payload;\n "),
14526
14538
  "headers": {
14527
14539
  "Authorization": "Bearer ${context.tenantId},${context.authToken}"
14528
14540
  }