@lingxiteam/assets 1.0.12 → 1.0.13-alpha.2

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 (133) hide show
  1. package/es/dealDsl/index.d.ts +1 -2
  2. package/es/dealDsl/index.js +1 -2
  3. package/es/dealDsl/preprocess/common.js +179 -37
  4. package/es/dealDsl/preprocessDSL.d.ts +2 -14
  5. package/es/dealDsl/preprocessDSL.js +2 -42
  6. package/es/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
  7. package/es/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
  8. package/es/error/errorDisplay/Web/ErrorMsg/index.js +187 -43
  9. package/es/error/errorDisplay/Web/Notification/Notice.js +5 -1
  10. package/es/error/errorDisplay/Web/Notification/Notification.js +10 -3
  11. package/es/error/errorDisplay/Web/Notification/Notification.less +13 -1
  12. package/es/error/errorDisplay/Web/Notification/index.js +8 -9
  13. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +3 -1
  14. package/es/error/errorDisplay/compUtils.js +17 -1
  15. package/es/error/errorDisplay/const.js +1 -1
  16. package/es/error/errorDisplay/http.js +1 -1
  17. package/es/error/index.js +3 -1
  18. package/es/index.d.ts +2 -2
  19. package/es/index.js +2 -2
  20. package/es/rootConfig/mobile/BusiComp.d.ts +5 -0
  21. package/es/rootConfig/mobile/BusiComp.js +32 -3
  22. package/es/rootConfig/mobile/MobileModal.d.ts +13 -5
  23. package/es/rootConfig/mobile/MobileModal.js +38 -9
  24. package/es/rootConfig/mobile/MobilePopover.d.ts +5 -0
  25. package/es/rootConfig/mobile/MobilePopover.js +31 -2
  26. package/es/rootConfig/mobile/page.d.ts +25 -5
  27. package/es/rootConfig/mobile/page.js +70 -10
  28. package/es/rootConfig/pc/BusiComp.d.ts +4 -0
  29. package/es/rootConfig/pc/BusiComp.js +64 -3
  30. package/es/rootConfig/pc/Drawer.d.ts +12 -0
  31. package/es/rootConfig/pc/Drawer.js +68 -2
  32. package/es/rootConfig/pc/Modal.d.ts +6 -0
  33. package/es/rootConfig/pc/Modal.js +62 -2
  34. package/es/rootConfig/pc/Popover.d.ts +5 -0
  35. package/es/rootConfig/pc/Popover.js +58 -2
  36. package/es/rootConfig/pc/page.d.ts +25 -10
  37. package/es/rootConfig/pc/page.js +103 -15
  38. package/es/rootConfig/todoActionList.d.ts +170 -50
  39. package/es/rootConfig/todoActionList.js +221 -70
  40. package/es/rootConfig/todoOptionList.d.ts +38 -6
  41. package/es/rootConfig/todoOptionList.js +44 -6
  42. package/es/security/encipher/sign.js +8 -1
  43. package/es/security/encipher/token.d.ts +3 -0
  44. package/es/security/encipher/token.js +30 -0
  45. package/es/security/index.d.ts +2 -0
  46. package/es/security/index.js +4 -1
  47. package/es/theme/bin/default/modalWidth.js +8 -0
  48. package/es/theme/bin/default/theme.js +282 -207
  49. package/es/theme/bin/default/theme.less +282 -207
  50. package/es/theme/bin/default/theme.scss +282 -207
  51. package/es/theme/build.js +9 -0
  52. package/es/theme/src/default/index.js +169 -61
  53. package/es/theme/utils/renderColors.js +13 -2
  54. package/es/utils/cookieUtil.js +36 -0
  55. package/lib/dealDsl/index.d.ts +1 -2
  56. package/lib/dealDsl/index.js +1 -20
  57. package/lib/dealDsl/preprocess/common.js +179 -37
  58. package/lib/dealDsl/preprocessDSL.d.ts +2 -14
  59. package/lib/dealDsl/preprocessDSL.js +4 -46
  60. package/lib/error/errorDisplay/Web/Drawer/Drawer.js +6 -2
  61. package/lib/error/errorDisplay/Web/Drawer/Drawer.less +25 -0
  62. package/lib/error/errorDisplay/Web/ErrorMsg/index.js +186 -43
  63. package/lib/error/errorDisplay/Web/Notification/Notice.js +5 -1
  64. package/lib/error/errorDisplay/Web/Notification/Notification.js +10 -3
  65. package/lib/error/errorDisplay/Web/Notification/Notification.less +13 -1
  66. package/lib/error/errorDisplay/Web/Notification/index.js +8 -9
  67. package/lib/error/errorDisplay/Web/defaultGlobalConfig.js +2 -1
  68. package/lib/error/errorDisplay/compUtils.js +19 -1
  69. package/lib/error/errorDisplay/const.js +1 -1
  70. package/lib/error/errorDisplay/http.js +1 -1
  71. package/lib/error/index.js +14 -0
  72. package/lib/index.d.ts +2 -2
  73. package/lib/index.js +14 -0
  74. package/lib/rootConfig/mobile/BusiComp.d.ts +5 -0
  75. package/lib/rootConfig/mobile/BusiComp.js +32 -3
  76. package/lib/rootConfig/mobile/MobileModal.d.ts +13 -5
  77. package/lib/rootConfig/mobile/MobileModal.js +38 -9
  78. package/lib/rootConfig/mobile/MobilePopover.d.ts +5 -0
  79. package/lib/rootConfig/mobile/MobilePopover.js +31 -2
  80. package/lib/rootConfig/mobile/page.d.ts +25 -5
  81. package/lib/rootConfig/mobile/page.js +70 -10
  82. package/lib/rootConfig/pc/BusiComp.d.ts +4 -0
  83. package/lib/rootConfig/pc/BusiComp.js +64 -3
  84. package/lib/rootConfig/pc/Drawer.d.ts +12 -0
  85. package/lib/rootConfig/pc/Drawer.js +68 -2
  86. package/lib/rootConfig/pc/Modal.d.ts +6 -0
  87. package/lib/rootConfig/pc/Modal.js +62 -2
  88. package/lib/rootConfig/pc/Popover.d.ts +5 -0
  89. package/lib/rootConfig/pc/Popover.js +58 -2
  90. package/lib/rootConfig/pc/page.d.ts +25 -10
  91. package/lib/rootConfig/pc/page.js +103 -15
  92. package/lib/rootConfig/todoActionList.d.ts +170 -50
  93. package/lib/rootConfig/todoActionList.js +221 -70
  94. package/lib/rootConfig/todoOptionList.d.ts +38 -6
  95. package/lib/rootConfig/todoOptionList.js +44 -6
  96. package/lib/security/encipher/sign.js +9 -1
  97. package/lib/security/encipher/token.d.ts +3 -0
  98. package/lib/security/encipher/token.js +38 -0
  99. package/lib/security/index.d.ts +2 -0
  100. package/lib/security/index.js +4 -1
  101. package/lib/theme/bin/default/modalWidth.js +15 -0
  102. package/lib/theme/bin/default/theme.js +282 -207
  103. package/lib/theme/bin/default/theme.less +282 -207
  104. package/lib/theme/bin/default/theme.scss +282 -207
  105. package/lib/theme/build.js +9 -0
  106. package/lib/theme/src/default/index.js +169 -61
  107. package/lib/theme/utils/renderColors.js +13 -2
  108. package/lib/utils/cookieUtil.js +43 -0
  109. package/package.json +1 -1
  110. package/es/dealDsl/events/actionObj.d.ts +0 -3
  111. package/es/dealDsl/events/actionObj.js +0 -6
  112. package/es/dealDsl/events/index.d.ts +0 -6
  113. package/es/dealDsl/events/index.js +0 -14
  114. package/es/dealDsl/preprocess/editor.d.ts +0 -9
  115. package/es/dealDsl/preprocess/editor.js +0 -21
  116. package/es/dealDsl/preprocess/engine.d.ts +0 -9
  117. package/es/dealDsl/preprocess/engine.js +0 -19
  118. package/es/theme/bin/cucc/theme.js +0 -275
  119. package/es/theme/bin/cucc/theme.less +0 -272
  120. package/es/theme/bin/cucc/theme.scss +0 -272
  121. package/es/theme/src/cucc/index.js +0 -131
  122. package/lib/dealDsl/events/actionObj.d.ts +0 -3
  123. package/lib/dealDsl/events/actionObj.js +0 -13
  124. package/lib/dealDsl/events/index.d.ts +0 -6
  125. package/lib/dealDsl/events/index.js +0 -21
  126. package/lib/dealDsl/preprocess/editor.d.ts +0 -9
  127. package/lib/dealDsl/preprocess/editor.js +0 -28
  128. package/lib/dealDsl/preprocess/engine.d.ts +0 -9
  129. package/lib/dealDsl/preprocess/engine.js +0 -26
  130. package/lib/theme/bin/cucc/theme.js +0 -277
  131. package/lib/theme/bin/cucc/theme.less +0 -272
  132. package/lib/theme/bin/cucc/theme.scss +0 -272
  133. package/lib/theme/src/cucc/index.js +0 -133
@@ -250,21 +250,25 @@ declare const todoActionObject: {
250
250
  key: string;
251
251
  label: string;
252
252
  type: string;
253
- defaultValue: string;
253
+ aliasKey: string;
254
+ props: {
255
+ checkable: boolean;
256
+ defaultValue?: undefined;
257
+ options?: undefined;
258
+ };
259
+ } | {
260
+ key: string;
261
+ label: string;
262
+ type: string;
254
263
  props: {
264
+ defaultValue: string;
255
265
  options: {
256
266
  title: string;
257
267
  value: string;
258
268
  }[];
269
+ checkable?: undefined;
259
270
  };
260
271
  aliasKey?: undefined;
261
- } | {
262
- key: string;
263
- label: string;
264
- type: string;
265
- aliasKey: string;
266
- defaultValue?: undefined;
267
- props?: undefined;
268
272
  })[];
269
273
  classification: {
270
274
  label: string;
@@ -299,21 +303,25 @@ declare const todoActionObject: {
299
303
  key: string;
300
304
  label: string;
301
305
  type: string;
302
- defaultValue: string;
306
+ aliasKey: string;
307
+ props: {
308
+ checkable: boolean;
309
+ defaultValue?: undefined;
310
+ options?: undefined;
311
+ };
312
+ } | {
313
+ key: string;
314
+ label: string;
315
+ type: string;
303
316
  props: {
317
+ defaultValue: string;
304
318
  options: {
305
319
  title: string;
306
320
  value: string;
307
321
  }[];
322
+ checkable?: undefined;
308
323
  };
309
324
  aliasKey?: undefined;
310
- } | {
311
- key: string;
312
- label: string;
313
- type: string;
314
- aliasKey: string;
315
- defaultValue?: undefined;
316
- props?: undefined;
317
325
  })[];
318
326
  classification: {
319
327
  label: string;
@@ -327,21 +335,25 @@ declare const todoActionObject: {
327
335
  key: string;
328
336
  label: string;
329
337
  type: string;
330
- defaultValue: string;
338
+ aliasKey: string;
331
339
  props: {
340
+ checkable: boolean;
341
+ defaultValue?: undefined;
342
+ options?: undefined;
343
+ };
344
+ } | {
345
+ key: string;
346
+ label: string;
347
+ type: string;
348
+ props: {
349
+ defaultValue: string;
332
350
  options: {
333
351
  title: string;
334
352
  value: string;
335
353
  }[];
354
+ checkable?: undefined;
336
355
  };
337
356
  aliasKey?: undefined;
338
- } | {
339
- key: string;
340
- label: string;
341
- type: string;
342
- aliasKey: string;
343
- defaultValue?: undefined;
344
- props?: undefined;
345
357
  })[];
346
358
  classification: {
347
359
  label: string;
@@ -416,6 +428,19 @@ declare const todoActionObject: {
416
428
  }[];
417
429
  tips: string;
418
430
  };
431
+ setModalTitle: {
432
+ key: string;
433
+ label: string;
434
+ todoOptions: {
435
+ key: string;
436
+ label: string;
437
+ type: string;
438
+ }[];
439
+ classification: {
440
+ label: string;
441
+ value: string;
442
+ }[];
443
+ };
419
444
  showDrawer: {
420
445
  key: string;
421
446
  label: string;
@@ -431,6 +456,19 @@ declare const todoActionObject: {
431
456
  }[];
432
457
  tips: string;
433
458
  };
459
+ setDrawerTitle: {
460
+ key: string;
461
+ label: string;
462
+ todoOptions: {
463
+ key: string;
464
+ label: string;
465
+ type: string;
466
+ }[];
467
+ classification: {
468
+ label: string;
469
+ value: string;
470
+ }[];
471
+ };
434
472
  setPublicState: {
435
473
  key: string;
436
474
  label: string;
@@ -554,6 +592,7 @@ declare const todoActionObject: {
554
592
  label: string;
555
593
  value: string;
556
594
  }[];
595
+ hidden: boolean;
557
596
  };
558
597
  getCustomState: {
559
598
  key: string;
@@ -568,6 +607,7 @@ declare const todoActionObject: {
568
607
  label: string;
569
608
  value: string;
570
609
  }[];
610
+ hidden: boolean;
571
611
  };
572
612
  setStatesByKeyAndValue: {
573
613
  key: string;
@@ -581,6 +621,7 @@ declare const todoActionObject: {
581
621
  label: string;
582
622
  value: string;
583
623
  }[];
624
+ hidden: boolean;
584
625
  };
585
626
  getStatesByKey: {
586
627
  key: string;
@@ -595,6 +636,7 @@ declare const todoActionObject: {
595
636
  label: string;
596
637
  value: string;
597
638
  }[];
639
+ hidden: boolean;
598
640
  };
599
641
  setCompNestedState: {
600
642
  key: string;
@@ -608,6 +650,7 @@ declare const todoActionObject: {
608
650
  label: string;
609
651
  value: string;
610
652
  }[];
653
+ hidden: boolean;
611
654
  };
612
655
  getCompNestedState: {
613
656
  key: string;
@@ -622,6 +665,7 @@ declare const todoActionObject: {
622
665
  label: string;
623
666
  value: string;
624
667
  }[];
668
+ hidden: boolean;
625
669
  };
626
670
  okCallbackData: {
627
671
  key: string;
@@ -1078,19 +1122,25 @@ declare const todoActionObject: {
1078
1122
  key: string;
1079
1123
  label: string;
1080
1124
  type: string;
1081
- defaultValue: string;
1125
+ aliasKey: string;
1082
1126
  props: {
1083
- options: {
1084
- title: string;
1085
- value: string;
1086
- }[];
1127
+ checkable: boolean;
1128
+ defaultValue?: undefined;
1129
+ options?: undefined;
1087
1130
  };
1088
1131
  } | {
1089
1132
  key: string;
1090
1133
  label: string;
1091
1134
  type: string;
1092
- defaultValue?: undefined;
1093
- props?: undefined;
1135
+ props: {
1136
+ defaultValue: string;
1137
+ options: {
1138
+ title: string;
1139
+ value: string;
1140
+ }[];
1141
+ checkable?: undefined;
1142
+ };
1143
+ aliasKey?: undefined;
1094
1144
  })[];
1095
1145
  };
1096
1146
  setRequired: {
@@ -1100,21 +1150,25 @@ declare const todoActionObject: {
1100
1150
  key: string;
1101
1151
  label: string;
1102
1152
  type: string;
1103
- defaultValue: string;
1153
+ aliasKey: string;
1154
+ props: {
1155
+ checkable: boolean;
1156
+ defaultValue?: undefined;
1157
+ options?: undefined;
1158
+ };
1159
+ } | {
1160
+ key: string;
1161
+ label: string;
1162
+ type: string;
1104
1163
  props: {
1164
+ defaultValue: string;
1105
1165
  options: {
1106
1166
  title: string;
1107
1167
  value: string;
1108
1168
  }[];
1169
+ checkable?: undefined;
1109
1170
  };
1110
1171
  aliasKey?: undefined;
1111
- } | {
1112
- key: string;
1113
- label: string;
1114
- type: string;
1115
- aliasKey: string;
1116
- defaultValue?: undefined;
1117
- props?: undefined;
1118
1172
  })[];
1119
1173
  };
1120
1174
  setVisible: {
@@ -1124,21 +1178,25 @@ declare const todoActionObject: {
1124
1178
  key: string;
1125
1179
  label: string;
1126
1180
  type: string;
1127
- defaultValue: string;
1181
+ aliasKey: string;
1182
+ props: {
1183
+ checkable: boolean;
1184
+ defaultValue?: undefined;
1185
+ options?: undefined;
1186
+ };
1187
+ } | {
1188
+ key: string;
1189
+ label: string;
1190
+ type: string;
1128
1191
  props: {
1192
+ defaultValue: string;
1129
1193
  options: {
1130
1194
  title: string;
1131
1195
  value: string;
1132
1196
  }[];
1197
+ checkable?: undefined;
1133
1198
  };
1134
1199
  aliasKey?: undefined;
1135
- } | {
1136
- key: string;
1137
- label: string;
1138
- type: string;
1139
- aliasKey: string;
1140
- defaultValue?: undefined;
1141
- props?: undefined;
1142
1200
  })[];
1143
1201
  };
1144
1202
  setLoading: {
@@ -1419,6 +1477,7 @@ declare const todoActionObject: {
1419
1477
  label: string;
1420
1478
  value: string;
1421
1479
  }[];
1480
+ hidden: boolean;
1422
1481
  };
1423
1482
  setInterval: {
1424
1483
  key: string;
@@ -1685,6 +1744,7 @@ declare const todoActionObject: {
1685
1744
  label: string;
1686
1745
  value: string;
1687
1746
  }[];
1747
+ hidden: boolean;
1688
1748
  };
1689
1749
  reloadDataSource: {
1690
1750
  key: string;
@@ -1699,11 +1759,24 @@ declare const todoActionObject: {
1699
1759
  };
1700
1760
  };
1701
1761
  type: string;
1762
+ defaultValue?: undefined;
1763
+ } | {
1764
+ key: string;
1765
+ label: string;
1766
+ type: string;
1767
+ defaultValue: boolean;
1768
+ props: {
1769
+ options: {
1770
+ title: string;
1771
+ value: boolean;
1772
+ }[];
1773
+ };
1702
1774
  } | {
1703
1775
  key: string;
1704
1776
  label: string;
1705
1777
  type: string;
1706
1778
  props?: undefined;
1779
+ defaultValue?: undefined;
1707
1780
  })[];
1708
1781
  todoCallbacks: string[];
1709
1782
  classification: {
@@ -1862,6 +1935,7 @@ declare const todoActionObject: {
1862
1935
  label: string;
1863
1936
  value: string;
1864
1937
  }[];
1938
+ hidden: boolean;
1865
1939
  };
1866
1940
  addEventListenerParentMessage: {
1867
1941
  key: string;
@@ -2281,11 +2355,25 @@ declare const todoActionObject: {
2281
2355
  importCustomData: {
2282
2356
  key: string;
2283
2357
  label: string;
2284
- todoOptions: {
2358
+ todoOptions: ({
2285
2359
  key: string;
2286
2360
  label: string;
2287
2361
  type: string;
2288
- }[];
2362
+ props: {
2363
+ isRequired: boolean;
2364
+ valuePropName: string;
2365
+ options: {
2366
+ fileUpload: boolean;
2367
+ refreshKey: string[];
2368
+ serviceTabs: string[];
2369
+ };
2370
+ };
2371
+ } | {
2372
+ key: string;
2373
+ label: string;
2374
+ type: string;
2375
+ props?: undefined;
2376
+ })[];
2289
2377
  todoCallbacks: string[];
2290
2378
  classification: {
2291
2379
  label: string;
@@ -3067,6 +3155,38 @@ declare const todoActionObject: {
3067
3155
  };
3068
3156
  }[];
3069
3157
  };
3158
+ sysSetState: {
3159
+ key: string;
3160
+ label: string;
3161
+ todoOptions: ({
3162
+ key: string;
3163
+ label: string;
3164
+ type: string;
3165
+ aliasKey: string;
3166
+ labelTip: string;
3167
+ props: {
3168
+ checkable: boolean;
3169
+ options?: undefined;
3170
+ };
3171
+ } | {
3172
+ key: string;
3173
+ label: string;
3174
+ type: string;
3175
+ labelTip: string;
3176
+ props: {
3177
+ options: {
3178
+ title: string;
3179
+ value: string;
3180
+ }[];
3181
+ checkable?: undefined;
3182
+ };
3183
+ aliasKey?: undefined;
3184
+ })[];
3185
+ classification: {
3186
+ label: string;
3187
+ value: string;
3188
+ }[];
3189
+ };
3070
3190
  };
3071
3191
  /**
3072
3192
  * 通过数组key获取对应的动作
@@ -3078,5 +3198,5 @@ export declare const getTodoActionListByKey: (keys: string[]) => any[];
3078
3198
  * 获取系统级别的动作列表
3079
3199
  * @returns
3080
3200
  */
3081
- export declare const getSystemTodoActionList: (terminal: 'pc' | 'mobile') => any[];
3201
+ export declare const getSystemTodoActionList: (terminal: 'pc' | 'mobile', pageContainerType?: string) => any[];
3082
3202
  export default todoActionObject;