@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.
- package/es/error/errorDisplay/const.js +1 -1
- package/es/error/errorDisplay/variables.less +0 -1
- package/es/theme/build.js +1 -1
- package/lib/dealDsl/preprocess/common.js +31 -15
- package/lib/error/errorDisplay/const.js +1 -1
- package/lib/rootConfig/mobile/MobileModal.d.ts +1 -1
- package/lib/rootConfig/mobile/MobileModal.js +1 -1
- package/lib/rootConfig/mobile/page.d.ts +4 -0
- package/lib/rootConfig/mobile/page.js +10 -0
- package/lib/rootConfig/pc/page.d.ts +4 -0
- package/lib/rootConfig/pc/page.js +10 -0
- package/lib/rootConfig/todoActionList.d.ts +13 -0
- package/lib/rootConfig/todoActionList.js +14 -0
- package/lib/theme/bin/default/modalWidth.js +5 -5
- package/lib/theme/bin/default/theme.js +238 -200
- package/lib/theme/bin/default/theme.less +238 -200
- package/lib/theme/bin/default/theme.scss +238 -200
- package/lib/theme/build.js +1 -1
- package/lib/theme/src/default/index.js +141 -88
- package/lib/theme/utils/renderColors.js +1 -1
- package/package.json +2 -2
- package/es/IconSvg/index.d.ts +0 -6
- package/es/IconSvg/index.js +0 -23
- package/es/dealDsl/PropType.d.ts +0 -7
- package/es/dealDsl/PropType.js +0 -1
- package/es/dealDsl/index.d.ts +0 -1
- package/es/dealDsl/index.js +0 -1
- package/es/dealDsl/preprocess/common.d.ts +0 -9
- package/es/dealDsl/preprocess/common.js +0 -311
- package/es/dealDsl/preprocessDSL.d.ts +0 -9
- package/es/dealDsl/preprocessDSL.js +0 -38
- package/es/dealDsl/utils/index.d.ts +0 -13
- package/es/dealDsl/utils/index.js +0 -21
- package/es/error/errorDisplay/Mobile/Drawer/Drawer.js +0 -104
- package/es/error/errorDisplay/Mobile/Drawer/Drawer.less +0 -201
- package/es/error/errorDisplay/Mobile/Drawer/index.js +0 -132
- package/es/error/errorDisplay/Mobile/ErrorMsg/index.js +0 -199
- package/es/error/errorDisplay/Mobile/Modal/Modal.js +0 -43
- package/es/error/errorDisplay/Mobile/Modal/Modal.less +0 -146
- package/es/error/errorDisplay/Mobile/Modal/index.js +0 -119
- package/es/error/errorDisplay/Mobile/defaultGlobalConfig.js +0 -13
- package/es/error/errorDisplay/Web/Drawer/Drawer.js +0 -268
- package/es/error/errorDisplay/Web/Drawer/Drawer.less +0 -445
- package/es/error/errorDisplay/Web/Drawer/DrawerConnect.js +0 -203
- package/es/error/errorDisplay/Web/Drawer/index.js +0 -132
- package/es/error/errorDisplay/Web/ErrorMsg/index.js +0 -436
- package/es/error/errorDisplay/Web/Notification/Notice.js +0 -155
- package/es/error/errorDisplay/Web/Notification/Notification.js +0 -146
- package/es/error/errorDisplay/Web/Notification/Notification.less +0 -148
- package/es/error/errorDisplay/Web/Notification/index.js +0 -95
- package/es/error/errorDisplay/Web/defaultGlobalConfig.js +0 -23
- package/es/index.d.ts +0 -9
- package/es/index.js +0 -10
- package/es/rootConfig/index.d.ts +0 -5
- package/es/rootConfig/index.js +0 -5
- package/es/rootConfig/mobile/BusiComp.d.ts +0 -71
- package/es/rootConfig/mobile/BusiComp.js +0 -92
- package/es/rootConfig/mobile/MobileModal.d.ts +0 -118
- package/es/rootConfig/mobile/MobileModal.js +0 -140
- package/es/rootConfig/mobile/MobilePopover.d.ts +0 -86
- package/es/rootConfig/mobile/MobilePopover.js +0 -93
- package/es/rootConfig/mobile/index.d.ts +0 -4
- package/es/rootConfig/mobile/index.js +0 -4
- package/es/rootConfig/mobile/page.d.ts +0 -165
- package/es/rootConfig/mobile/page.js +0 -178
- package/es/rootConfig/pc/BusiComp.d.ts +0 -70
- package/es/rootConfig/pc/BusiComp.js +0 -91
- package/es/rootConfig/pc/Drawer.d.ts +0 -155
- package/es/rootConfig/pc/Drawer.js +0 -204
- package/es/rootConfig/pc/Modal.d.ts +0 -165
- package/es/rootConfig/pc/Modal.js +0 -196
- package/es/rootConfig/pc/Popover.d.ts +0 -95
- package/es/rootConfig/pc/Popover.js +0 -102
- package/es/rootConfig/pc/index.d.ts +0 -5
- package/es/rootConfig/pc/index.js +0 -5
- package/es/rootConfig/pc/page.d.ts +0 -149
- package/es/rootConfig/pc/page.js +0 -165
- package/es/rootConfig/todoActionList.d.ts +0 -3131
- package/es/rootConfig/todoActionList.js +0 -3628
- package/es/rootConfig/todoOptionList.d.ts +0 -1468
- package/es/rootConfig/todoOptionList.js +0 -1680
- package/es/security/const.d.ts +0 -22
- package/es/security/const.js +0 -23
- package/es/security/encipher/aes.d.ts +0 -2
- package/es/security/encipher/aes.js +0 -26
- package/es/security/encipher/des.d.ts +0 -2
- package/es/security/encipher/des.js +0 -25
- package/es/security/encipher/rsa.d.ts +0 -2
- package/es/security/encipher/rsa.js +0 -17
- package/es/security/encipher/sign.d.ts +0 -6
- package/es/security/encipher/sign.js +0 -101
- package/es/security/fetch.d.ts +0 -9
- package/es/security/fetch.js +0 -205
- package/es/security/index.d.ts +0 -39
- package/es/security/index.js +0 -21
- package/es/theme/bin/default/modalWidth.js +0 -8
- package/es/theme/bin/default/theme.js +0 -312
- package/es/theme/bin/default/theme.less +0 -309
- package/es/theme/bin/default/theme.scss +0 -309
- package/es/theme/src/default/index.js +0 -186
- package/es/theme/utils/colorPaletteMixin.js +0 -59
- package/es/theme/utils/px2Num.js +0 -12
- package/es/theme/utils/renderColors.js +0 -27
- package/es/utils/img.d.ts +0 -1
- package/es/utils/img.js +0 -3
- package/es/utils/url.d.ts +0 -16
- package/es/utils/url.js +0 -102
|
@@ -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 += "
|
|
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
|
-
|
|
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$
|
|
142
|
-
props = _component$
|
|
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$
|
|
172
|
-
props = _component$
|
|
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$
|
|
179
|
-
props = _component$
|
|
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$
|
|
198
|
-
props = _component$
|
|
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$
|
|
211
|
-
props = _component$
|
|
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$
|
|
267
|
-
props = _component$
|
|
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$
|
|
302
|
-
if ((component === null || component === void 0 ? void 0 : (_component$
|
|
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
|
|
@@ -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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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;
|