@lingxiteam/assets 1.0.11-alpha.24 → 1.0.11-alpha.26

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 (107) hide show
  1. package/es/error/errorDisplay/const.js +1 -1
  2. package/es/error/errorDisplay/variables.less +0 -1
  3. package/es/theme/build.js +1 -1
  4. package/lib/dealDsl/preprocess/common.js +31 -15
  5. package/lib/error/errorDisplay/const.js +1 -1
  6. package/lib/rootConfig/mobile/MobileModal.d.ts +1 -1
  7. package/lib/rootConfig/mobile/MobileModal.js +1 -1
  8. package/lib/rootConfig/mobile/page.d.ts +4 -0
  9. package/lib/rootConfig/mobile/page.js +10 -0
  10. package/lib/rootConfig/pc/page.d.ts +4 -0
  11. package/lib/rootConfig/pc/page.js +10 -0
  12. package/lib/rootConfig/todoActionList.d.ts +13 -0
  13. package/lib/rootConfig/todoActionList.js +14 -0
  14. package/lib/theme/bin/default/modalWidth.js +5 -5
  15. package/lib/theme/bin/default/theme.js +238 -200
  16. package/lib/theme/bin/default/theme.less +238 -200
  17. package/lib/theme/bin/default/theme.scss +238 -200
  18. package/lib/theme/build.js +1 -1
  19. package/lib/theme/src/default/index.js +141 -88
  20. package/lib/theme/utils/renderColors.js +1 -1
  21. package/package.json +2 -2
  22. package/es/IconSvg/index.d.ts +0 -6
  23. package/es/IconSvg/index.js +0 -23
  24. package/es/dealDsl/PropType.d.ts +0 -7
  25. package/es/dealDsl/PropType.js +0 -1
  26. package/es/dealDsl/index.d.ts +0 -1
  27. package/es/dealDsl/index.js +0 -1
  28. package/es/dealDsl/preprocess/common.d.ts +0 -9
  29. package/es/dealDsl/preprocess/common.js +0 -311
  30. package/es/dealDsl/preprocessDSL.d.ts +0 -9
  31. package/es/dealDsl/preprocessDSL.js +0 -38
  32. package/es/dealDsl/utils/index.d.ts +0 -13
  33. package/es/dealDsl/utils/index.js +0 -21
  34. package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +0 -104
  35. package/es/error/errorDisplay/Mobile/Drawer/Drawer.less +0 -201
  36. package/es/error/errorDisplay/Mobile/Drawer/index.js +0 -132
  37. package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +0 -199
  38. package/es/error/errorDisplay/Mobile/Modal/Modal.js +0 -43
  39. package/es/error/errorDisplay/Mobile/Modal/Modal.less +0 -146
  40. package/es/error/errorDisplay/Mobile/Modal/index.js +0 -119
  41. package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +0 -13
  42. package/es/error/errorDisplay/Web/Drawer/Drawer.js +0 -268
  43. package/es/error/errorDisplay/Web/Drawer/Drawer.less +0 -445
  44. package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +0 -203
  45. package/es/error/errorDisplay/Web/Drawer/index.js +0 -132
  46. package/es/error/errorDisplay/Web/ErrorMsg/index.js +0 -436
  47. package/es/error/errorDisplay/Web/Notification/Notice.js +0 -155
  48. package/es/error/errorDisplay/Web/Notification/Notification.js +0 -146
  49. package/es/error/errorDisplay/Web/Notification/Notification.less +0 -148
  50. package/es/error/errorDisplay/Web/Notification/index.js +0 -95
  51. package/es/error/errorDisplay/Web/defaultGlobalConfig.js +0 -23
  52. package/es/index.d.ts +0 -9
  53. package/es/index.js +0 -10
  54. package/es/rootConfig/index.d.ts +0 -5
  55. package/es/rootConfig/index.js +0 -5
  56. package/es/rootConfig/mobile/BusiComp.d.ts +0 -71
  57. package/es/rootConfig/mobile/BusiComp.js +0 -92
  58. package/es/rootConfig/mobile/MobileModal.d.ts +0 -118
  59. package/es/rootConfig/mobile/MobileModal.js +0 -140
  60. package/es/rootConfig/mobile/MobilePopover.d.ts +0 -86
  61. package/es/rootConfig/mobile/MobilePopover.js +0 -93
  62. package/es/rootConfig/mobile/index.d.ts +0 -4
  63. package/es/rootConfig/mobile/index.js +0 -4
  64. package/es/rootConfig/mobile/page.d.ts +0 -165
  65. package/es/rootConfig/mobile/page.js +0 -178
  66. package/es/rootConfig/pc/BusiComp.d.ts +0 -70
  67. package/es/rootConfig/pc/BusiComp.js +0 -91
  68. package/es/rootConfig/pc/Drawer.d.ts +0 -155
  69. package/es/rootConfig/pc/Drawer.js +0 -204
  70. package/es/rootConfig/pc/Modal.d.ts +0 -165
  71. package/es/rootConfig/pc/Modal.js +0 -196
  72. package/es/rootConfig/pc/Popover.d.ts +0 -95
  73. package/es/rootConfig/pc/Popover.js +0 -102
  74. package/es/rootConfig/pc/index.d.ts +0 -5
  75. package/es/rootConfig/pc/index.js +0 -5
  76. package/es/rootConfig/pc/page.d.ts +0 -149
  77. package/es/rootConfig/pc/page.js +0 -165
  78. package/es/rootConfig/todoActionList.d.ts +0 -3131
  79. package/es/rootConfig/todoActionList.js +0 -3628
  80. package/es/rootConfig/todoOptionList.d.ts +0 -1468
  81. package/es/rootConfig/todoOptionList.js +0 -1680
  82. package/es/security/const.d.ts +0 -22
  83. package/es/security/const.js +0 -23
  84. package/es/security/encipher/aes.d.ts +0 -2
  85. package/es/security/encipher/aes.js +0 -26
  86. package/es/security/encipher/des.d.ts +0 -2
  87. package/es/security/encipher/des.js +0 -25
  88. package/es/security/encipher/rsa.d.ts +0 -2
  89. package/es/security/encipher/rsa.js +0 -17
  90. package/es/security/encipher/sign.d.ts +0 -6
  91. package/es/security/encipher/sign.js +0 -101
  92. package/es/security/fetch.d.ts +0 -9
  93. package/es/security/fetch.js +0 -205
  94. package/es/security/index.d.ts +0 -39
  95. package/es/security/index.js +0 -21
  96. package/es/theme/bin/default/modalWidth.js +0 -8
  97. package/es/theme/bin/default/theme.js +0 -312
  98. package/es/theme/bin/default/theme.less +0 -309
  99. package/es/theme/bin/default/theme.scss +0 -309
  100. package/es/theme/src/default/index.js +0 -186
  101. package/es/theme/utils/colorPaletteMixin.js +0 -59
  102. package/es/theme/utils/px2Num.js +0 -12
  103. package/es/theme/utils/renderColors.js +0 -27
  104. package/es/utils/img.d.ts +0 -1
  105. package/es/utils/img.js +0 -3
  106. package/es/utils/url.d.ts +0 -16
  107. package/es/utils/url.js +0 -102
@@ -1,7 +1,7 @@
1
1
  export var errTypeTitMap = {
2
2
  '01': '网络请求异常',
3
3
  '02': '程序处理异常',
4
- '03': '业务数据异常常',
4
+ '03': '业务数据异常',
5
5
  '04': '服务数据异常',
6
6
  '05': '配置数据异常',
7
7
  '06': '客户端请求异常',
@@ -1 +0,0 @@
1
- @hd: 1px;
package/es/theme/build.js CHANGED
@@ -25,7 +25,7 @@ fs.readdir(srcPath, function (err, files) {
25
25
  Object.keys(modules).forEach(function (item) {
26
26
  if (/width+/gi.test(item)) {
27
27
  var name = item.replace(/width-/, '');
28
- modalWidthStr += " '".concat(name, "': '").concat(modules[item], "',\n");
28
+ modalWidthStr += " ".concat(name, ": '").concat(modules[item], "',\n");
29
29
  }
30
30
  lessStr += "@".concat(item, ": ").concat(modules[item], ";\n");
31
31
  sassStr += "$".concat(item, ": ").concat(modules[item], ";\n");
@@ -108,10 +108,26 @@ var h5 = {
108
108
  }
109
109
  };
110
110
  var pc = {
111
- 'DatePicker|TimePicker': function DatePickerTimePicker() {
111
+ //FIXME 临时处理输入框图标问题
112
+ Input: function Input() {
112
113
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
113
114
  var _component$props7 = component.props,
114
115
  props = _component$props7 === void 0 ? {} : _component$props7;
116
+ if (props.type) {
117
+ props.icon = {
118
+ type: props.type,
119
+ theme: props.theme || "outlined",
120
+ fontAddress: "",
121
+ isIconFont: false,
122
+ iconFileInfo: {}
123
+ };
124
+ }
125
+ return component;
126
+ },
127
+ 'DatePicker|TimePicker': function DatePickerTimePicker() {
128
+ var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
129
+ var _component$props8 = component.props,
130
+ props = _component$props8 === void 0 ? {} : _component$props8;
115
131
  var isCurrent = props.isCurrent,
116
132
  defaultValue = props.defaultValue,
117
133
  customTime = props.customTime;
@@ -138,8 +154,8 @@ var pc = {
138
154
  },
139
155
  Button: function Button() {
140
156
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
141
- var _component$props8 = component.props,
142
- props = _component$props8 === void 0 ? {} : _component$props8;
157
+ var _component$props9 = component.props,
158
+ props = _component$props9 === void 0 ? {} : _component$props9;
143
159
  // const { popoverSetting, showPopover } = props;
144
160
  if (props.iconType && !props.icon) {
145
161
  var theme = props.theme,
@@ -168,15 +184,15 @@ var pc = {
168
184
  },
169
185
  'Dropdown|Menu': function DropdownMenu() {
170
186
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
171
- var _component$props9 = component.props,
172
- props = _component$props9 === void 0 ? {} : _component$props9;
187
+ var _component$props10 = component.props,
188
+ props = _component$props10 === void 0 ? {} : _component$props10;
173
189
  delete props.iconInfo;
174
190
  return component;
175
191
  },
176
192
  'Input|Card|Collapse': function InputCardCollapse() {
177
193
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
178
- var _component$props10 = component.props,
179
- props = _component$props10 === void 0 ? {} : _component$props10;
194
+ var _component$props11 = component.props,
195
+ props = _component$props11 === void 0 ? {} : _component$props11;
180
196
  delete props.type;
181
197
  delete props.theme;
182
198
  delete props.fontAddress;
@@ -194,8 +210,8 @@ var pc = {
194
210
  },
195
211
  'StdUpload|Icon': function StdUploadIcon() {
196
212
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
197
- var _component$props11 = component.props,
198
- props = _component$props11 === void 0 ? {} : _component$props11;
213
+ var _component$props12 = component.props,
214
+ props = _component$props12 === void 0 ? {} : _component$props12;
199
215
  delete props.type;
200
216
  delete props.theme;
201
217
  delete props.fontAddress;
@@ -207,8 +223,8 @@ var pc = {
207
223
  },
208
224
  Table: function Table() {
209
225
  var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
210
- var _component$props12 = component.props,
211
- props = _component$props12 === void 0 ? {} : _component$props12;
226
+ var _component$props13 = component.props,
227
+ props = _component$props13 === void 0 ? {} : _component$props13;
212
228
  if (typeof props.showCustom === 'boolean') {
213
229
  // 旧数据
214
230
  var iconPosition = props.iconPosition,
@@ -263,8 +279,8 @@ var pc = {
263
279
  return component;
264
280
  },
265
281
  Upload: function Upload(component) {
266
- var _component$props13 = component.props,
267
- props = _component$props13 === void 0 ? {} : _component$props13;
282
+ var _component$props14 = component.props,
283
+ props = _component$props14 === void 0 ? {} : _component$props14;
268
284
  if (props.hasOwnProperty('action')) {
269
285
  // 旧数据含有action
270
286
  props.columns.api = props.action;
@@ -298,8 +314,8 @@ var pc = {
298
314
  return component;
299
315
  },
300
316
  Icon: function Icon(component) {
301
- var _component$props14, _component$props15;
302
- if ((component === null || component === void 0 ? void 0 : (_component$props14 = component.props) === null || _component$props14 === void 0 ? void 0 : _component$props14.type) && !(component === null || component === void 0 ? void 0 : (_component$props15 = component.props) === null || _component$props15 === void 0 ? void 0 : _component$props15.icon)) {
317
+ var _component$props15, _component$props16;
318
+ if ((component === null || component === void 0 ? void 0 : (_component$props15 = component.props) === null || _component$props15 === void 0 ? void 0 : _component$props15.type) && !(component === null || component === void 0 ? void 0 : (_component$props16 = component.props) === null || _component$props16 === void 0 ? void 0 : _component$props16.icon)) {
303
319
  component.props.icon = {
304
320
  type: component.props.type,
305
321
  theme: component.props.theme
@@ -7,7 +7,7 @@ exports.statusClrMap = exports.httpErrorMap = exports.errTypeTitMap = exports.ar
7
7
  var errTypeTitMap = {
8
8
  '01': '网络请求异常',
9
9
  '02': '程序处理异常',
10
- '03': '业务数据异常常',
10
+ '03': '业务数据异常',
11
11
  '04': '服务数据异常',
12
12
  '05': '配置数据异常',
13
13
  '06': '客户端请求异常',
@@ -59,7 +59,7 @@ declare const _default: {
59
59
  options: never[];
60
60
  };
61
61
  };
62
- modeType: {
62
+ mode: {
63
63
  label: string;
64
64
  type: string;
65
65
  groupsName: string;
@@ -73,7 +73,7 @@ var _default = {
73
73
  options: []
74
74
  }
75
75
  },
76
- modeType: {
76
+ mode: {
77
77
  label: '弹出方向',
78
78
  type: 'Select',
79
79
  groupsName: '基础',
@@ -14,6 +14,10 @@ declare const _default: {
14
14
  name: string;
15
15
  code: string;
16
16
  }[];
17
+ compState: {
18
+ name: string;
19
+ code: string;
20
+ }[];
17
21
  };
18
22
  style: {};
19
23
  setEvents: never[];
@@ -26,6 +26,16 @@ var _default = {
26
26
  }, {
27
27
  name: '业务数据',
28
28
  code: 'bizData'
29
+ }],
30
+ compState: [{
31
+ name: '业务主键',
32
+ code: 'bizId'
33
+ }, {
34
+ name: '业务场景',
35
+ code: 'sceneCode'
36
+ }, {
37
+ name: '业务数据',
38
+ code: 'bizData'
29
39
  }]
30
40
  },
31
41
  style: {},
@@ -14,6 +14,10 @@ declare const _default: {
14
14
  name: string;
15
15
  code: string;
16
16
  }[];
17
+ compState: {
18
+ name: string;
19
+ code: string;
20
+ }[];
17
21
  };
18
22
  style: {};
19
23
  setEvents: never[];
@@ -26,6 +26,16 @@ var _default = {
26
26
  }, {
27
27
  name: '业务数据',
28
28
  code: 'bizData'
29
+ }],
30
+ compState: [{
31
+ name: '业务主键',
32
+ code: 'bizId'
33
+ }, {
34
+ name: '业务场景',
35
+ code: 'sceneCode'
36
+ }, {
37
+ name: '业务数据',
38
+ code: 'bizData'
29
39
  }]
30
40
  },
31
41
  style: {},
@@ -1733,11 +1733,24 @@ declare const todoActionObject: {
1733
1733
  };
1734
1734
  };
1735
1735
  type: string;
1736
+ defaultValue?: undefined;
1737
+ } | {
1738
+ key: string;
1739
+ label: string;
1740
+ type: string;
1741
+ defaultValue: boolean;
1742
+ props: {
1743
+ options: {
1744
+ title: string;
1745
+ value: boolean;
1746
+ }[];
1747
+ };
1736
1748
  } | {
1737
1749
  key: string;
1738
1750
  label: string;
1739
1751
  type: string;
1740
1752
  props?: undefined;
1753
+ defaultValue?: undefined;
1741
1754
  })[];
1742
1755
  todoCallbacks: string[];
1743
1756
  classification: {
@@ -2011,6 +2011,20 @@ var todoActionObject = {
2011
2011
  }
2012
2012
  },
2013
2013
  type: 'SelectServerDataSource'
2014
+ }, {
2015
+ key: 'sync',
2016
+ label: '数据加载方式',
2017
+ type: 'RadioButton',
2018
+ defaultValue: false,
2019
+ props: {
2020
+ options: [{
2021
+ title: '异步加载',
2022
+ value: false
2023
+ }, {
2024
+ title: '同步加载',
2025
+ value: true
2026
+ }]
2027
+ }
2014
2028
  }, {
2015
2029
  key: 'dataSourceReloadFilter',
2016
2030
  label: '数据源赋值',
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var modalWidths = {
8
- 'xs': '208px',
9
- 'sm': '320px',
10
- 'md': '500px',
11
- 'lg': '720px',
12
- 'xl': '75%'
8
+ xs: '256px',
9
+ sm: '500px',
10
+ md: '768px',
11
+ lg: '1000px',
12
+ xl: '80%'
13
13
  };
14
14
  var _default = modalWidths;
15
15
  exports.default = _default;