dlt-for-react 1.0.2 → 1.0.3
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/README.md +3 -1
- package/assets/components/KyInputPicker/index.less +8 -0
- package/assets/components/KyModal/index.less +21 -0
- package/assets/components/KyPreview/index.less +38 -0
- package/assets/components/KyUpload/index.less +41 -0
- package/lib/components/DragM/index.js +127 -0
- package/lib/components/KyInputPicker/edit-page.js +585 -0
- package/lib/components/KyInputPicker/index.js +220 -0
- package/lib/components/KyInputPicker/input-const.js +134 -0
- package/lib/components/KyInputPicker/render.js +2480 -0
- package/lib/components/KyInputPicker/setting-checkbox.js +850 -0
- package/lib/components/KyInputPicker/setting-datepicker.js +430 -0
- package/lib/components/KyInputPicker/setting-datetimepicker.js +443 -0
- package/lib/components/KyInputPicker/setting-input.js +555 -0
- package/lib/components/KyInputPicker/setting-inputNumber.js +612 -0
- package/lib/components/KyInputPicker/setting-monthpicker.js +434 -0
- package/lib/components/KyInputPicker/setting-multiSelect.js +532 -0
- package/lib/components/KyInputPicker/setting-nhcascader.js +584 -0
- package/lib/components/KyInputPicker/setting-old-upload.js +428 -0
- package/lib/components/KyInputPicker/setting-radio.js +468 -0
- package/lib/components/KyInputPicker/setting-rangepicker.js +466 -0
- package/lib/components/KyInputPicker/setting-select.js +534 -0
- package/lib/components/KyInputPicker/setting-stu-selector.js +507 -0
- package/lib/components/KyInputPicker/setting-switch.js +274 -0
- package/lib/components/KyInputPicker/setting-tea-selector.js +507 -0
- package/lib/components/KyInputPicker/setting-textarea.js +619 -0
- package/lib/components/KyInputPicker/setting-timepicker.js +437 -0
- package/lib/components/KyInputPicker/setting-upload.js +766 -0
- package/lib/components/KyModal/buildTitle.js +81 -0
- package/lib/components/KyModal/dragM.js +127 -0
- package/lib/components/KyModal/index.js +321 -0
- package/lib/components/KyPreview/index.js +209 -0
- package/lib/components/KyUpload/index.js +1156 -0
- package/lib/index.js +84 -31
- package/lib/layouts/Login/index.js +522 -458
- package/lib/layouts/Login/lyPassword.js +8 -10
- package/lib/layouts/Top/index.js +308 -254
- package/lib/layouts/TopMenu/index.js +270 -265
- package/lib/layouts/mixTop/index.js +274 -243
- package/package.json +10 -4
package/lib/index.js
CHANGED
|
@@ -1,78 +1,131 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
4
|
+
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
var _AuthorizedRoute = require('./routes/AuthorizedRoute.js');
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, 'AuthorizedRoute', {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function get() {
|
|
12
|
+
return _interopRequireDefault(_AuthorizedRoute).default;
|
|
13
|
+
}
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
var _index = require('./layouts/layout/index.js');
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, 'NHLayout', {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _interopRequireDefault(_index).default;
|
|
22
|
+
}
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
var _index2 = require('./layouts/Exception/403/index.js');
|
|
26
26
|
|
|
27
27
|
Object.defineProperty(exports, 'Error403Old', {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function get() {
|
|
30
|
+
return _interopRequireDefault(_index2).default;
|
|
31
|
+
}
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
var _ = require('./layouts/Exception/403.js');
|
|
35
35
|
|
|
36
36
|
Object.defineProperty(exports, 'Error403', {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _interopRequireDefault(_).default;
|
|
40
|
+
}
|
|
41
41
|
});
|
|
42
42
|
|
|
43
43
|
var _2 = require('./layouts/Exception/404.js');
|
|
44
44
|
|
|
45
45
|
Object.defineProperty(exports, 'Error404', {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function get() {
|
|
48
|
+
return _interopRequireDefault(_2).default;
|
|
49
|
+
}
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
var _3 = require('./layouts/Exception/500.js');
|
|
53
53
|
|
|
54
54
|
Object.defineProperty(exports, 'Error500', {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _interopRequireDefault(_3).default;
|
|
58
|
+
}
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
var _index3 = require('./layouts/Login/index.js');
|
|
62
62
|
|
|
63
63
|
Object.defineProperty(exports, 'Login', {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function get() {
|
|
66
|
+
return _interopRequireDefault(_index3).default;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
var _KyInputPicker = require('./components/KyInputPicker');
|
|
71
|
+
|
|
72
|
+
Object.defineProperty(exports, 'KyInputPicker', {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _interopRequireDefault(_KyInputPicker).default;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
var _render = require('./components/KyInputPicker/render.js');
|
|
80
|
+
|
|
81
|
+
Object.defineProperty(exports, 'KyInputRender', {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function get() {
|
|
84
|
+
return _interopRequireDefault(_render).default;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
var _KyModal = require('./components/KyModal');
|
|
89
|
+
|
|
90
|
+
Object.defineProperty(exports, 'KyModal', {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _interopRequireDefault(_KyModal).default;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
var _KyUpload = require('./components/KyUpload');
|
|
98
|
+
|
|
99
|
+
Object.defineProperty(exports, 'KyUpload', {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function get() {
|
|
102
|
+
return _interopRequireDefault(_KyUpload).default;
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
var _KyPreview = require('./components/KyPreview');
|
|
107
|
+
|
|
108
|
+
Object.defineProperty(exports, 'KyPreview', {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function get() {
|
|
111
|
+
return _interopRequireDefault(_KyPreview).default;
|
|
112
|
+
}
|
|
68
113
|
});
|
|
69
114
|
|
|
70
115
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
71
116
|
|
|
117
|
+
/*
|
|
118
|
+
* @FilePath: \xgui-for-react\src\index.js
|
|
119
|
+
* @Description:
|
|
120
|
+
* @Author: jiangzhongxin
|
|
121
|
+
* @LastEditors: jiangzhongxin
|
|
122
|
+
* @LastEditTime: 2023-09-28 15:00:06
|
|
123
|
+
* @Copyright: 2023 LIANYI TECHNOLOGY CO.,LTD. All Rights Reserved. 联奕科技有限公司
|
|
124
|
+
*/
|
|
72
125
|
var ENV = process.env.NODE_ENV;
|
|
73
126
|
window.dlt_VERSION = require("../package.json").version;
|
|
74
127
|
if (ENV !== 'production' && ENV !== 'test' && typeof console !== 'undefined' && console.warn && typeof window !== 'undefined') {
|
|
75
|
-
|
|
76
|
-
|
|
128
|
+
// tslint:disable-next-line:no-console
|
|
129
|
+
console.warn('You are using a whole package of xgui-for-react, ' + 'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.');
|
|
77
130
|
}
|
|
78
131
|
//路由
|