@lingxiteam/assets 3.3.1-alpha.7 → 3.3.1-alpha.8

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.
@@ -267,7 +267,7 @@ var ErrorMsg = {
267
267
  };
268
268
  if (isShowFeedback) {
269
269
  footerContent.push( /*#__PURE__*/React.createElement("a", {
270
- className: "lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
270
+ className: "lx-notification-notice-footer-btn-ghost lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
271
271
  config: String(_param.itemKey),
272
272
  onClick: function onClick(e) {
273
273
  if (!(_param === null || _param === void 0 ? void 0 : _param.feedbackState)) {
@@ -425,7 +425,8 @@ var ErrorMsg = {
425
425
  }
426
426
  }
427
427
  }, _callee2, null, [[9, 16]]);
428
- }))
428
+ })),
429
+ className: "lx-notification-notice-footer-btn-primary"
429
430
  }, opts.okText));
430
431
  }
431
432
  return _context3.abrupt("return", footerContent);
@@ -125,15 +125,33 @@
125
125
 
126
126
  &-head + &-footer,
127
127
  &-content + &-footer {
128
- margin-top: 12px;
128
+ margin-top: 14px;
129
129
  }
130
130
 
131
131
  &-footer {
132
132
  text-align: right;
133
133
  a {
134
134
  display: inline-block;
135
- padding: 3px 0 2px 14px;
135
+ padding: 2px 4px;
136
+ border-radius: 2px;
137
+ margin-left: 8px;
138
+ &:hover {
139
+ opacity: .9;
140
+ }
141
+ }
142
+ &-btn-ghost {
143
+ color: #4477EE !important;
144
+ border: 1px solid #4477EE;
145
+ &.lx-notification-btn-disabled {
146
+ border-color: rgba(28, 36, 46, 0.25) !important;
147
+ }
148
+ }
149
+ &-btn-primary {
150
+ color: #fff !important;
151
+ background-color: #4477EE;
152
+ border: 1px solid #4477EE;
136
153
  }
154
+
137
155
  }
138
156
  }
139
157
 
@@ -142,7 +160,7 @@
142
160
  pointer-events: none;
143
161
  &,
144
162
  &:hover {
145
- color: rgba(28,36,46,0.75) !important;
163
+ color: rgba(28,36,46,0.25) !important;
146
164
  background-color: white !important;
147
165
  }
148
166
  }
@@ -2,7 +2,7 @@ import { resolveRequestPath } from '../compUtils';
2
2
  import { errTypeTitMap, getArticle } from '../const';
3
3
  export var defaultGlobalConfig = {
4
4
  duration: 3500,
5
- maxLine: null,
5
+ maxLine: 20,
6
6
  // 最多行数
7
7
  maxLen: null,
8
8
  // 最多字数
@@ -17,7 +17,7 @@ export var defaultGlobalConfig = {
17
17
  resolve: process.env.LingXi_ERROR_RESOLVE || resolveRequestPath('/lcdp/error/queryErrorInfoByCodeOrMsg'),
18
18
  feebackAction: false,
19
19
  // 故障上报地址,默认不展示故障上报
20
- okText: '异常帮助',
20
+ okText: '查看异常详情',
21
21
  cancelText: '取消',
22
22
  getLocale: function getLocale(k, p) {
23
23
  return p !== null && p !== void 0 ? p : '';
@@ -103,6 +103,7 @@ declare const todoActionObject: {
103
103
  label: string;
104
104
  value: string;
105
105
  }[];
106
+ isAsync: boolean;
106
107
  };
107
108
  JSBridge: {
108
109
  key: string;
@@ -412,6 +413,7 @@ declare const todoActionObject: {
412
413
  label: string;
413
414
  value: string;
414
415
  }[];
416
+ isAsync: boolean;
415
417
  };
416
418
  showAppCustomModal: {
417
419
  key: string;
@@ -427,6 +429,7 @@ declare const todoActionObject: {
427
429
  value: string;
428
430
  }[];
429
431
  tips: string;
432
+ isAsync: boolean;
430
433
  };
431
434
  setModalTitle: {
432
435
  key: string;
@@ -1544,6 +1547,7 @@ declare const todoActionObject: {
1544
1547
  value: string;
1545
1548
  }[];
1546
1549
  hidden: boolean;
1550
+ isAsync: boolean;
1547
1551
  };
1548
1552
  setInterval: {
1549
1553
  key: string;
@@ -1562,6 +1566,7 @@ declare const todoActionObject: {
1562
1566
  };
1563
1567
  })[];
1564
1568
  todoCallbacks: string[];
1569
+ isAsync: boolean;
1565
1570
  };
1566
1571
  setTimer: {
1567
1572
  key: string;
@@ -1599,6 +1604,7 @@ declare const todoActionObject: {
1599
1604
  label: string;
1600
1605
  value: string;
1601
1606
  }[];
1607
+ isAsync: boolean;
1602
1608
  };
1603
1609
  clearTimer: {
1604
1610
  key: string;
@@ -1708,6 +1714,7 @@ declare const todoActionObject: {
1708
1714
  props?: undefined;
1709
1715
  })[];
1710
1716
  todoCallbacks: string[];
1717
+ isAsync: boolean;
1711
1718
  };
1712
1719
  loadMoreDataSource: {
1713
1720
  key: string;
@@ -1851,6 +1858,7 @@ declare const todoActionObject: {
1851
1858
  label: string;
1852
1859
  value: string;
1853
1860
  }[];
1861
+ isAsync: boolean;
1854
1862
  };
1855
1863
  setDataSource: {
1856
1864
  key: string;
@@ -1971,6 +1979,7 @@ declare const todoActionObject: {
1971
1979
  label: string;
1972
1980
  value: string;
1973
1981
  }[];
1982
+ isAsync: boolean;
1974
1983
  };
1975
1984
  postParentMessage: {
1976
1985
  key: string;
@@ -2014,6 +2023,7 @@ declare const todoActionObject: {
2014
2023
  label: string;
2015
2024
  value: string;
2016
2025
  }[];
2026
+ isAsync: boolean;
2017
2027
  };
2018
2028
  setRemoteCompProps: {
2019
2029
  key: string;
@@ -2079,6 +2089,7 @@ declare const todoActionObject: {
2079
2089
  value: string;
2080
2090
  }[];
2081
2091
  tips: string;
2092
+ isAsync: boolean;
2082
2093
  };
2083
2094
  callSelfFunc: {
2084
2095
  key: string;
@@ -2106,6 +2117,7 @@ declare const todoActionObject: {
2106
2117
  label: string;
2107
2118
  value: string;
2108
2119
  }[];
2120
+ isAsync: boolean;
2109
2121
  };
2110
2122
  callParentCustomFunc: {
2111
2123
  key: string;
@@ -2133,6 +2145,7 @@ declare const todoActionObject: {
2133
2145
  label: string;
2134
2146
  value: string;
2135
2147
  }[];
2148
+ isAsync: boolean;
2136
2149
  };
2137
2150
  callCustomPageFunc: {
2138
2151
  key: string;
@@ -2161,6 +2174,7 @@ declare const todoActionObject: {
2161
2174
  value: string;
2162
2175
  }[];
2163
2176
  tips: string;
2177
+ isAsync: boolean;
2164
2178
  };
2165
2179
  exportBusiObjectData: {
2166
2180
  key: string;
@@ -2357,6 +2371,7 @@ declare const todoActionObject: {
2357
2371
  label: string;
2358
2372
  value: string;
2359
2373
  }[];
2374
+ isAsync: boolean;
2360
2375
  };
2361
2376
  exportSQLServiceData: {
2362
2377
  key: string;
@@ -2496,6 +2511,7 @@ declare const todoActionObject: {
2496
2511
  label: string;
2497
2512
  value: string;
2498
2513
  }[];
2514
+ isAsync: boolean;
2499
2515
  };
2500
2516
  exportCustomBusiObjectData: {
2501
2517
  key: string;
@@ -2622,6 +2638,7 @@ declare const todoActionObject: {
2622
2638
  label: string;
2623
2639
  value: string;
2624
2640
  }[];
2641
+ isAsync: boolean;
2625
2642
  };
2626
2643
  previewFile: {
2627
2644
  key: string;
@@ -2830,6 +2847,7 @@ declare const todoActionObject: {
2830
2847
  label: string;
2831
2848
  value: string;
2832
2849
  }[];
2850
+ isAsync: boolean;
2833
2851
  };
2834
2852
  reloadGanttData: {
2835
2853
  key: string;
@@ -2981,6 +2999,7 @@ declare const todoActionObject: {
2981
2999
  value: string;
2982
3000
  }[];
2983
3001
  tips: string;
3002
+ isAsync: boolean;
2984
3003
  };
2985
3004
  getItemFromLocalStorage: {
2986
3005
  key: string;
@@ -3092,6 +3111,7 @@ declare const todoActionObject: {
3092
3111
  label: string;
3093
3112
  value: string;
3094
3113
  }[];
3114
+ isAsync: boolean;
3095
3115
  };
3096
3116
  validateTableData: {
3097
3117
  key: string;
@@ -3469,6 +3489,7 @@ declare const todoActionObject: {
3469
3489
  };
3470
3490
  })[];
3471
3491
  todoCallbacks: string[];
3492
+ isAsync: boolean;
3472
3493
  };
3473
3494
  sysSetFormItemStatus: {
3474
3495
  key: string;
@@ -111,7 +111,8 @@ var todoActionObject = {
111
111
  }, {
112
112
  label: '服务请求类',
113
113
  value: 'request'
114
- }]
114
+ }],
115
+ isAsync: true
115
116
  },
116
117
  JSBridge: {
117
118
  key: 'JSBridge',
@@ -502,11 +503,11 @@ var todoActionObject = {
502
503
  }, {
503
504
  key: 'title',
504
505
  label: '标题',
505
- type: 'SetParamsExpression'
506
+ type: 'SetExpression'
506
507
  }, {
507
508
  key: 'content',
508
509
  label: '内容',
509
- type: 'SetParamsExpression'
510
+ type: 'SetExpression'
510
511
  }, {
511
512
  key: 'okText',
512
513
  label: '确认按钮文本',
@@ -543,7 +544,8 @@ var todoActionObject = {
543
544
  classification: [{
544
545
  label: '消息&弹窗',
545
546
  value: 'modal'
546
- }]
547
+ }],
548
+ isAsync: true
547
549
  },
548
550
  showAppCustomModal: {
549
551
  key: 'showAppCustomModal',
@@ -562,7 +564,8 @@ var todoActionObject = {
562
564
  label: '消息&弹窗',
563
565
  value: 'modal'
564
566
  }],
565
- tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
567
+ tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉',
568
+ isAsync: true
566
569
  },
567
570
  setModalTitle: {
568
571
  key: 'setModalTitle',
@@ -570,7 +573,7 @@ var todoActionObject = {
570
573
  todoOptions: [{
571
574
  key: 'title',
572
575
  label: '弹窗标题',
573
- type: 'SetParamsExpression'
576
+ type: 'SetExpression'
574
577
  }],
575
578
  classification: [{
576
579
  label: '消息&弹窗',
@@ -602,7 +605,7 @@ var todoActionObject = {
602
605
  todoOptions: [{
603
606
  key: 'title',
604
607
  label: '推拉门标题',
605
- type: 'SetParamsExpression'
608
+ type: 'SetExpression'
606
609
  }],
607
610
  classification: [{
608
611
  label: '消息&弹窗',
@@ -1855,7 +1858,8 @@ var todoActionObject = {
1855
1858
  label: '定时器',
1856
1859
  value: 'timer'
1857
1860
  }],
1858
- hidden: true
1861
+ hidden: true,
1862
+ isAsync: true
1859
1863
  },
1860
1864
  setInterval: {
1861
1865
  key: 'setInterval',
@@ -1872,7 +1876,8 @@ var todoActionObject = {
1872
1876
  unit: '毫秒'
1873
1877
  }
1874
1878
  }],
1875
- todoCallbacks: ['callback1']
1879
+ todoCallbacks: ['callback1'],
1880
+ isAsync: true
1876
1881
  },
1877
1882
  setTimer: {
1878
1883
  key: 'setTimer',
@@ -1907,7 +1912,8 @@ var todoActionObject = {
1907
1912
  classification: [{
1908
1913
  label: '定时器',
1909
1914
  value: 'timer'
1910
- }]
1915
+ }],
1916
+ isAsync: true
1911
1917
  },
1912
1918
  clearTimer: {
1913
1919
  key: 'clearTimer',
@@ -2012,7 +2018,8 @@ var todoActionObject = {
2012
2018
  type: 'SetExpression',
2013
2019
  aliasKey: 'aliasPageNum'
2014
2020
  }],
2015
- todoCallbacks: ['callback1', 'callback2']
2021
+ todoCallbacks: ['callback1', 'callback2'],
2022
+ isAsync: true
2016
2023
  },
2017
2024
  loadMoreDataSource: {
2018
2025
  key: 'loadMoreDataSource',
@@ -2179,7 +2186,8 @@ var todoActionObject = {
2179
2186
  }, {
2180
2187
  label: '数据源',
2181
2188
  value: 'dataSource'
2182
- }]
2189
+ }],
2190
+ isAsync: true
2183
2191
  },
2184
2192
  setDataSource: {
2185
2193
  key: 'setDataSource',
@@ -2307,7 +2315,8 @@ var todoActionObject = {
2307
2315
  }, {
2308
2316
  label: '服务请求类',
2309
2317
  value: 'request'
2310
- }]
2318
+ }],
2319
+ isAsync: true
2311
2320
  },
2312
2321
  postParentMessage: {
2313
2322
  key: 'postParentMessage',
@@ -2353,7 +2362,8 @@ var todoActionObject = {
2353
2362
  classification: [{
2354
2363
  label: '数据通信',
2355
2364
  value: 'communicate'
2356
- }]
2365
+ }],
2366
+ isAsync: true
2357
2367
  },
2358
2368
  setRemoteCompProps: {
2359
2369
  key: 'setRemoteCompProps',
@@ -2423,7 +2433,8 @@ var todoActionObject = {
2423
2433
  label: '数据通信',
2424
2434
  value: 'communicate'
2425
2435
  }],
2426
- tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
2436
+ tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。',
2437
+ isAsync: true
2427
2438
  },
2428
2439
  callSelfFunc: {
2429
2440
  key: 'callSelfFunc',
@@ -2457,7 +2468,8 @@ var todoActionObject = {
2457
2468
  classification: [{
2458
2469
  label: '数据通信',
2459
2470
  value: 'communicate'
2460
- }]
2471
+ }],
2472
+ isAsync: true
2461
2473
  },
2462
2474
  callParentCustomFunc: {
2463
2475
  key: 'callParentCustomFunc',
@@ -2495,7 +2507,8 @@ var todoActionObject = {
2495
2507
  classification: [{
2496
2508
  label: '数据通信',
2497
2509
  value: 'communicate'
2498
- }]
2510
+ }],
2511
+ isAsync: true
2499
2512
  },
2500
2513
  callCustomPageFunc: {
2501
2514
  key: 'callCustomPageFunc',
@@ -2534,7 +2547,8 @@ var todoActionObject = {
2534
2547
  label: '数据通信',
2535
2548
  value: 'communicate'
2536
2549
  }],
2537
- tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
2550
+ tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);',
2551
+ isAsync: true
2538
2552
  },
2539
2553
  exportBusiObjectData: {
2540
2554
  key: 'exportBusiObjectData',
@@ -2715,7 +2729,8 @@ var todoActionObject = {
2715
2729
  classification: [{
2716
2730
  label: '导入导出',
2717
2731
  value: 'export'
2718
- }]
2732
+ }],
2733
+ isAsync: true
2719
2734
  },
2720
2735
  exportSQLServiceData: {
2721
2736
  key: 'exportSQLServiceData',
@@ -2839,7 +2854,8 @@ var todoActionObject = {
2839
2854
  classification: [{
2840
2855
  label: '导入导出',
2841
2856
  value: 'export'
2842
- }]
2857
+ }],
2858
+ isAsync: true
2843
2859
  },
2844
2860
  exportCustomBusiObjectData: {
2845
2861
  key: 'exportCustomBusiObjectData',
@@ -2984,7 +3000,8 @@ var todoActionObject = {
2984
3000
  classification: [{
2985
3001
  label: '导入导出',
2986
3002
  value: 'export'
2987
- }]
3003
+ }],
3004
+ isAsync: true
2988
3005
  },
2989
3006
  previewFile: {
2990
3007
  key: 'previewFile',
@@ -3279,7 +3296,8 @@ var todoActionObject = {
3279
3296
  classification: [{
3280
3297
  label: '其他',
3281
3298
  value: 'others'
3282
- }]
3299
+ }],
3300
+ isAsync: true
3283
3301
  },
3284
3302
  reloadGanttData: {
3285
3303
  key: 'reloadGanttData',
@@ -3445,7 +3463,8 @@ var todoActionObject = {
3445
3463
  label: '其他',
3446
3464
  value: 'others'
3447
3465
  }],
3448
- tips: '注意:如果需要配合退出事件,请在代码块中增加return true'
3466
+ tips: '注意:如果需要配合退出事件,请在代码块中增加return true',
3467
+ isAsync: true
3449
3468
  },
3450
3469
  getItemFromLocalStorage: {
3451
3470
  key: 'getItemFromLocalStorage',
@@ -3547,7 +3566,8 @@ var todoActionObject = {
3547
3566
  classification: [{
3548
3567
  label: '其他',
3549
3568
  value: 'others'
3550
- }]
3569
+ }],
3570
+ isAsync: true
3551
3571
  },
3552
3572
  validateTableData: {
3553
3573
  key: 'validateTableData',
@@ -4026,7 +4046,8 @@ var todoActionObject = {
4026
4046
  valueType: 'Table'
4027
4047
  }
4028
4048
  }],
4029
- todoCallbacks: ['callback1', 'callback2']
4049
+ todoCallbacks: ['callback1', 'callback2'],
4050
+ isAsync: true
4030
4051
  },
4031
4052
  sysSetFormItemStatus: {
4032
4053
  key: 'sysSetFormItemStatus',
@@ -275,7 +275,7 @@ var ErrorMsg = {
275
275
  };
276
276
  if (isShowFeedback) {
277
277
  footerContent.push( /*#__PURE__*/_react.default.createElement("a", {
278
- className: "lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
278
+ className: "lx-notification-notice-footer-btn-ghost lx-feedback-notification-".concat(_param.itemKey, " ").concat(renderDisabled(feedbackPlacements[0], _param.itemKey)),
279
279
  config: String(_param.itemKey),
280
280
  onClick: function onClick(e) {
281
281
  if (!(_param === null || _param === void 0 ? void 0 : _param.feedbackState)) {
@@ -433,7 +433,8 @@ var ErrorMsg = {
433
433
  }
434
434
  }
435
435
  }, _callee2, null, [[9, 16]]);
436
- }))
436
+ })),
437
+ className: "lx-notification-notice-footer-btn-primary"
437
438
  }, opts.okText));
438
439
  }
439
440
  return _context3.abrupt("return", footerContent);
@@ -125,15 +125,33 @@
125
125
 
126
126
  &-head + &-footer,
127
127
  &-content + &-footer {
128
- margin-top: 12px;
128
+ margin-top: 14px;
129
129
  }
130
130
 
131
131
  &-footer {
132
132
  text-align: right;
133
133
  a {
134
134
  display: inline-block;
135
- padding: 3px 0 2px 14px;
135
+ padding: 2px 4px;
136
+ border-radius: 2px;
137
+ margin-left: 8px;
138
+ &:hover {
139
+ opacity: .9;
140
+ }
141
+ }
142
+ &-btn-ghost {
143
+ color: #4477EE !important;
144
+ border: 1px solid #4477EE;
145
+ &.lx-notification-btn-disabled {
146
+ border-color: rgba(28, 36, 46, 0.25) !important;
147
+ }
148
+ }
149
+ &-btn-primary {
150
+ color: #fff !important;
151
+ background-color: #4477EE;
152
+ border: 1px solid #4477EE;
136
153
  }
154
+
137
155
  }
138
156
  }
139
157
 
@@ -142,7 +160,7 @@
142
160
  pointer-events: none;
143
161
  &,
144
162
  &:hover {
145
- color: rgba(28,36,46,0.75) !important;
163
+ color: rgba(28,36,46,0.25) !important;
146
164
  background-color: white !important;
147
165
  }
148
166
  }
@@ -8,7 +8,7 @@ var _compUtils = require("../compUtils");
8
8
  var _const = require("../const");
9
9
  var defaultGlobalConfig = {
10
10
  duration: 3500,
11
- maxLine: null,
11
+ maxLine: 20,
12
12
  // 最多行数
13
13
  maxLen: null,
14
14
  // 最多字数
@@ -23,7 +23,7 @@ var defaultGlobalConfig = {
23
23
  resolve: process.env.LingXi_ERROR_RESOLVE || (0, _compUtils.resolveRequestPath)('/lcdp/error/queryErrorInfoByCodeOrMsg'),
24
24
  feebackAction: false,
25
25
  // 故障上报地址,默认不展示故障上报
26
- okText: '异常帮助',
26
+ okText: '查看异常详情',
27
27
  cancelText: '取消',
28
28
  getLocale: function getLocale(k, p) {
29
29
  return p !== null && p !== void 0 ? p : '';
@@ -103,6 +103,7 @@ declare const todoActionObject: {
103
103
  label: string;
104
104
  value: string;
105
105
  }[];
106
+ isAsync: boolean;
106
107
  };
107
108
  JSBridge: {
108
109
  key: string;
@@ -412,6 +413,7 @@ declare const todoActionObject: {
412
413
  label: string;
413
414
  value: string;
414
415
  }[];
416
+ isAsync: boolean;
415
417
  };
416
418
  showAppCustomModal: {
417
419
  key: string;
@@ -427,6 +429,7 @@ declare const todoActionObject: {
427
429
  value: string;
428
430
  }[];
429
431
  tips: string;
432
+ isAsync: boolean;
430
433
  };
431
434
  setModalTitle: {
432
435
  key: string;
@@ -1544,6 +1547,7 @@ declare const todoActionObject: {
1544
1547
  value: string;
1545
1548
  }[];
1546
1549
  hidden: boolean;
1550
+ isAsync: boolean;
1547
1551
  };
1548
1552
  setInterval: {
1549
1553
  key: string;
@@ -1562,6 +1566,7 @@ declare const todoActionObject: {
1562
1566
  };
1563
1567
  })[];
1564
1568
  todoCallbacks: string[];
1569
+ isAsync: boolean;
1565
1570
  };
1566
1571
  setTimer: {
1567
1572
  key: string;
@@ -1599,6 +1604,7 @@ declare const todoActionObject: {
1599
1604
  label: string;
1600
1605
  value: string;
1601
1606
  }[];
1607
+ isAsync: boolean;
1602
1608
  };
1603
1609
  clearTimer: {
1604
1610
  key: string;
@@ -1708,6 +1714,7 @@ declare const todoActionObject: {
1708
1714
  props?: undefined;
1709
1715
  })[];
1710
1716
  todoCallbacks: string[];
1717
+ isAsync: boolean;
1711
1718
  };
1712
1719
  loadMoreDataSource: {
1713
1720
  key: string;
@@ -1851,6 +1858,7 @@ declare const todoActionObject: {
1851
1858
  label: string;
1852
1859
  value: string;
1853
1860
  }[];
1861
+ isAsync: boolean;
1854
1862
  };
1855
1863
  setDataSource: {
1856
1864
  key: string;
@@ -1971,6 +1979,7 @@ declare const todoActionObject: {
1971
1979
  label: string;
1972
1980
  value: string;
1973
1981
  }[];
1982
+ isAsync: boolean;
1974
1983
  };
1975
1984
  postParentMessage: {
1976
1985
  key: string;
@@ -2014,6 +2023,7 @@ declare const todoActionObject: {
2014
2023
  label: string;
2015
2024
  value: string;
2016
2025
  }[];
2026
+ isAsync: boolean;
2017
2027
  };
2018
2028
  setRemoteCompProps: {
2019
2029
  key: string;
@@ -2079,6 +2089,7 @@ declare const todoActionObject: {
2079
2089
  value: string;
2080
2090
  }[];
2081
2091
  tips: string;
2092
+ isAsync: boolean;
2082
2093
  };
2083
2094
  callSelfFunc: {
2084
2095
  key: string;
@@ -2106,6 +2117,7 @@ declare const todoActionObject: {
2106
2117
  label: string;
2107
2118
  value: string;
2108
2119
  }[];
2120
+ isAsync: boolean;
2109
2121
  };
2110
2122
  callParentCustomFunc: {
2111
2123
  key: string;
@@ -2133,6 +2145,7 @@ declare const todoActionObject: {
2133
2145
  label: string;
2134
2146
  value: string;
2135
2147
  }[];
2148
+ isAsync: boolean;
2136
2149
  };
2137
2150
  callCustomPageFunc: {
2138
2151
  key: string;
@@ -2161,6 +2174,7 @@ declare const todoActionObject: {
2161
2174
  value: string;
2162
2175
  }[];
2163
2176
  tips: string;
2177
+ isAsync: boolean;
2164
2178
  };
2165
2179
  exportBusiObjectData: {
2166
2180
  key: string;
@@ -2357,6 +2371,7 @@ declare const todoActionObject: {
2357
2371
  label: string;
2358
2372
  value: string;
2359
2373
  }[];
2374
+ isAsync: boolean;
2360
2375
  };
2361
2376
  exportSQLServiceData: {
2362
2377
  key: string;
@@ -2496,6 +2511,7 @@ declare const todoActionObject: {
2496
2511
  label: string;
2497
2512
  value: string;
2498
2513
  }[];
2514
+ isAsync: boolean;
2499
2515
  };
2500
2516
  exportCustomBusiObjectData: {
2501
2517
  key: string;
@@ -2622,6 +2638,7 @@ declare const todoActionObject: {
2622
2638
  label: string;
2623
2639
  value: string;
2624
2640
  }[];
2641
+ isAsync: boolean;
2625
2642
  };
2626
2643
  previewFile: {
2627
2644
  key: string;
@@ -2830,6 +2847,7 @@ declare const todoActionObject: {
2830
2847
  label: string;
2831
2848
  value: string;
2832
2849
  }[];
2850
+ isAsync: boolean;
2833
2851
  };
2834
2852
  reloadGanttData: {
2835
2853
  key: string;
@@ -2981,6 +2999,7 @@ declare const todoActionObject: {
2981
2999
  value: string;
2982
3000
  }[];
2983
3001
  tips: string;
3002
+ isAsync: boolean;
2984
3003
  };
2985
3004
  getItemFromLocalStorage: {
2986
3005
  key: string;
@@ -3092,6 +3111,7 @@ declare const todoActionObject: {
3092
3111
  label: string;
3093
3112
  value: string;
3094
3113
  }[];
3114
+ isAsync: boolean;
3095
3115
  };
3096
3116
  validateTableData: {
3097
3117
  key: string;
@@ -3469,6 +3489,7 @@ declare const todoActionObject: {
3469
3489
  };
3470
3490
  })[];
3471
3491
  todoCallbacks: string[];
3492
+ isAsync: boolean;
3472
3493
  };
3473
3494
  sysSetFormItemStatus: {
3474
3495
  key: string;
@@ -117,7 +117,8 @@ var todoActionObject = {
117
117
  }, {
118
118
  label: '服务请求类',
119
119
  value: 'request'
120
- }]
120
+ }],
121
+ isAsync: true
121
122
  },
122
123
  JSBridge: {
123
124
  key: 'JSBridge',
@@ -508,11 +509,11 @@ var todoActionObject = {
508
509
  }, {
509
510
  key: 'title',
510
511
  label: '标题',
511
- type: 'SetParamsExpression'
512
+ type: 'SetExpression'
512
513
  }, {
513
514
  key: 'content',
514
515
  label: '内容',
515
- type: 'SetParamsExpression'
516
+ type: 'SetExpression'
516
517
  }, {
517
518
  key: 'okText',
518
519
  label: '确认按钮文本',
@@ -549,7 +550,8 @@ var todoActionObject = {
549
550
  classification: [{
550
551
  label: '消息&弹窗',
551
552
  value: 'modal'
552
- }]
553
+ }],
554
+ isAsync: true
553
555
  },
554
556
  showAppCustomModal: {
555
557
  key: 'showAppCustomModal',
@@ -568,7 +570,8 @@ var todoActionObject = {
568
570
  label: '消息&弹窗',
569
571
  value: 'modal'
570
572
  }],
571
- tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉'
573
+ tips: '确认回调事件执行:在弹窗页面编排选择触发父页面确认回掉事件,将会触发确认回掉事件; \n\n 弹窗消失时执行: 每次弹窗消失将会触发该回掉',
574
+ isAsync: true
572
575
  },
573
576
  setModalTitle: {
574
577
  key: 'setModalTitle',
@@ -576,7 +579,7 @@ var todoActionObject = {
576
579
  todoOptions: [{
577
580
  key: 'title',
578
581
  label: '弹窗标题',
579
- type: 'SetParamsExpression'
582
+ type: 'SetExpression'
580
583
  }],
581
584
  classification: [{
582
585
  label: '消息&弹窗',
@@ -608,7 +611,7 @@ var todoActionObject = {
608
611
  todoOptions: [{
609
612
  key: 'title',
610
613
  label: '推拉门标题',
611
- type: 'SetParamsExpression'
614
+ type: 'SetExpression'
612
615
  }],
613
616
  classification: [{
614
617
  label: '消息&弹窗',
@@ -1861,7 +1864,8 @@ var todoActionObject = {
1861
1864
  label: '定时器',
1862
1865
  value: 'timer'
1863
1866
  }],
1864
- hidden: true
1867
+ hidden: true,
1868
+ isAsync: true
1865
1869
  },
1866
1870
  setInterval: {
1867
1871
  key: 'setInterval',
@@ -1878,7 +1882,8 @@ var todoActionObject = {
1878
1882
  unit: '毫秒'
1879
1883
  }
1880
1884
  }],
1881
- todoCallbacks: ['callback1']
1885
+ todoCallbacks: ['callback1'],
1886
+ isAsync: true
1882
1887
  },
1883
1888
  setTimer: {
1884
1889
  key: 'setTimer',
@@ -1913,7 +1918,8 @@ var todoActionObject = {
1913
1918
  classification: [{
1914
1919
  label: '定时器',
1915
1920
  value: 'timer'
1916
- }]
1921
+ }],
1922
+ isAsync: true
1917
1923
  },
1918
1924
  clearTimer: {
1919
1925
  key: 'clearTimer',
@@ -2018,7 +2024,8 @@ var todoActionObject = {
2018
2024
  type: 'SetExpression',
2019
2025
  aliasKey: 'aliasPageNum'
2020
2026
  }],
2021
- todoCallbacks: ['callback1', 'callback2']
2027
+ todoCallbacks: ['callback1', 'callback2'],
2028
+ isAsync: true
2022
2029
  },
2023
2030
  loadMoreDataSource: {
2024
2031
  key: 'loadMoreDataSource',
@@ -2185,7 +2192,8 @@ var todoActionObject = {
2185
2192
  }, {
2186
2193
  label: '数据源',
2187
2194
  value: 'dataSource'
2188
- }]
2195
+ }],
2196
+ isAsync: true
2189
2197
  },
2190
2198
  setDataSource: {
2191
2199
  key: 'setDataSource',
@@ -2313,7 +2321,8 @@ var todoActionObject = {
2313
2321
  }, {
2314
2322
  label: '服务请求类',
2315
2323
  value: 'request'
2316
- }]
2324
+ }],
2325
+ isAsync: true
2317
2326
  },
2318
2327
  postParentMessage: {
2319
2328
  key: 'postParentMessage',
@@ -2359,7 +2368,8 @@ var todoActionObject = {
2359
2368
  classification: [{
2360
2369
  label: '数据通信',
2361
2370
  value: 'communicate'
2362
- }]
2371
+ }],
2372
+ isAsync: true
2363
2373
  },
2364
2374
  setRemoteCompProps: {
2365
2375
  key: 'setRemoteCompProps',
@@ -2429,7 +2439,8 @@ var todoActionObject = {
2429
2439
  label: '数据通信',
2430
2440
  value: 'communicate'
2431
2441
  }],
2432
- tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。'
2442
+ tips: '触发回调:默认将成功回调函数(successCallback)、失败回调函数(failCallback)以追加参数形式传递给方法进行调用触发,也可以通过返回Promise对象触发。',
2443
+ isAsync: true
2433
2444
  },
2434
2445
  callSelfFunc: {
2435
2446
  key: 'callSelfFunc',
@@ -2463,7 +2474,8 @@ var todoActionObject = {
2463
2474
  classification: [{
2464
2475
  label: '数据通信',
2465
2476
  value: 'communicate'
2466
- }]
2477
+ }],
2478
+ isAsync: true
2467
2479
  },
2468
2480
  callParentCustomFunc: {
2469
2481
  key: 'callParentCustomFunc',
@@ -2501,7 +2513,8 @@ var todoActionObject = {
2501
2513
  classification: [{
2502
2514
  label: '数据通信',
2503
2515
  value: 'communicate'
2504
- }]
2516
+ }],
2517
+ isAsync: true
2505
2518
  },
2506
2519
  callCustomPageFunc: {
2507
2520
  key: 'callCustomPageFunc',
@@ -2540,7 +2553,8 @@ var todoActionObject = {
2540
2553
  label: '数据通信',
2541
2554
  value: 'communicate'
2542
2555
  }],
2543
- tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);'
2556
+ tips: '注意:选择的页面需要开启缓存(如:A页面跳转到B页面,B页面需要调用A页面的自定义事件,那么需要A页面需开启缓存);',
2557
+ isAsync: true
2544
2558
  },
2545
2559
  exportBusiObjectData: {
2546
2560
  key: 'exportBusiObjectData',
@@ -2721,7 +2735,8 @@ var todoActionObject = {
2721
2735
  classification: [{
2722
2736
  label: '导入导出',
2723
2737
  value: 'export'
2724
- }]
2738
+ }],
2739
+ isAsync: true
2725
2740
  },
2726
2741
  exportSQLServiceData: {
2727
2742
  key: 'exportSQLServiceData',
@@ -2845,7 +2860,8 @@ var todoActionObject = {
2845
2860
  classification: [{
2846
2861
  label: '导入导出',
2847
2862
  value: 'export'
2848
- }]
2863
+ }],
2864
+ isAsync: true
2849
2865
  },
2850
2866
  exportCustomBusiObjectData: {
2851
2867
  key: 'exportCustomBusiObjectData',
@@ -2990,7 +3006,8 @@ var todoActionObject = {
2990
3006
  classification: [{
2991
3007
  label: '导入导出',
2992
3008
  value: 'export'
2993
- }]
3009
+ }],
3010
+ isAsync: true
2994
3011
  },
2995
3012
  previewFile: {
2996
3013
  key: 'previewFile',
@@ -3285,7 +3302,8 @@ var todoActionObject = {
3285
3302
  classification: [{
3286
3303
  label: '其他',
3287
3304
  value: 'others'
3288
- }]
3305
+ }],
3306
+ isAsync: true
3289
3307
  },
3290
3308
  reloadGanttData: {
3291
3309
  key: 'reloadGanttData',
@@ -3451,7 +3469,8 @@ var todoActionObject = {
3451
3469
  label: '其他',
3452
3470
  value: 'others'
3453
3471
  }],
3454
- tips: '注意:如果需要配合退出事件,请在代码块中增加return true'
3472
+ tips: '注意:如果需要配合退出事件,请在代码块中增加return true',
3473
+ isAsync: true
3455
3474
  },
3456
3475
  getItemFromLocalStorage: {
3457
3476
  key: 'getItemFromLocalStorage',
@@ -3553,7 +3572,8 @@ var todoActionObject = {
3553
3572
  classification: [{
3554
3573
  label: '其他',
3555
3574
  value: 'others'
3556
- }]
3575
+ }],
3576
+ isAsync: true
3557
3577
  },
3558
3578
  validateTableData: {
3559
3579
  key: 'validateTableData',
@@ -4032,7 +4052,8 @@ var todoActionObject = {
4032
4052
  valueType: 'Table'
4033
4053
  }
4034
4054
  }],
4035
- todoCallbacks: ['callback1', 'callback2']
4055
+ todoCallbacks: ['callback1', 'callback2'],
4056
+ isAsync: true
4036
4057
  },
4037
4058
  sysSetFormItemStatus: {
4038
4059
  key: 'sysSetFormItemStatus',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/assets",
3
- "version": "3.3.1-alpha.7",
3
+ "version": "3.3.1-alpha.8",
4
4
  "description": "灵犀低代码平台移动端 - 工具类",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",