bkui-vue 1.0.1 → 1.0.3-beta.1

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 CHANGED
@@ -91,4 +91,3 @@ ISSUES CLOSED: #1
91
91
  | depend | 对工程的依赖进行增删改 |
92
92
  | chore | 构建脚本、任务等相关代码 |
93
93
  | del | 删除可能仍然有人用到的功能、API 等破坏性动作 |
94
-
package/lib/preset.d.ts CHANGED
@@ -1,6 +1,291 @@
1
+ import { App } from 'vue';
1
2
  declare const _default: {
2
- createInstall: (prefix?: string) => (app: any, options: any) => void;
3
- install: (app: any, options: any) => void;
3
+ createInstall: (prefix?: string) => (app: App<any>, options?: Partial<import("vue").ExtractPropTypes<{
4
+ locale: {
5
+ type: import("vue").PropType<{
6
+ lang: string;
7
+ steps: {
8
+ step1: string;
9
+ step2: string;
10
+ step3: string;
11
+ };
12
+ datePicker: {
13
+ selectDate: string;
14
+ selectTime: string;
15
+ clear: string;
16
+ ok: string;
17
+ weekdays: {
18
+ sun: string;
19
+ mon: string;
20
+ tue: string;
21
+ wed: string;
22
+ thu: string;
23
+ fri: string;
24
+ sat: string;
25
+ };
26
+ hour: string;
27
+ min: string;
28
+ sec: string;
29
+ toNow: string;
30
+ };
31
+ dialog: {
32
+ ok: string;
33
+ cancel: string;
34
+ prev: string;
35
+ next: string;
36
+ };
37
+ popConfirm: {
38
+ ok: string;
39
+ cancel: string;
40
+ };
41
+ form: {
42
+ notBeEmpty: string;
43
+ incorrectFormat: string;
44
+ max: string;
45
+ min: string;
46
+ maxLen: string;
47
+ verifyError: string;
48
+ };
49
+ pagination: {
50
+ eachPage: string;
51
+ strip: string;
52
+ total: string;
53
+ };
54
+ process: {
55
+ step1: string;
56
+ step2: string;
57
+ step3: string;
58
+ step4: string;
59
+ };
60
+ searchSelect: {
61
+ pleaseSelect: string;
62
+ loading: string;
63
+ filterQueryMustHasValue: string;
64
+ ok: string;
65
+ cancel: string;
66
+ or: string;
67
+ and: string;
68
+ logical: string;
69
+ };
70
+ select: {
71
+ noData: string;
72
+ noMatchedData: string;
73
+ loading: string;
74
+ pleaseSelect: string;
75
+ enterKeywords: string;
76
+ all: string;
77
+ selectAll: string;
78
+ };
79
+ table: {
80
+ emptyText: string;
81
+ confirm: string;
82
+ reset: string;
83
+ sort: string;
84
+ setting: {
85
+ title: string;
86
+ fields: {
87
+ title: string;
88
+ subtitle: (max: number) => string;
89
+ selectAll: string;
90
+ };
91
+ lineHeight: {
92
+ title: string;
93
+ small: string;
94
+ medium: string;
95
+ large: string;
96
+ };
97
+ options: {
98
+ ok: string;
99
+ cancel: string;
100
+ };
101
+ };
102
+ };
103
+ transfer: {
104
+ sourceList: string;
105
+ targetList: string;
106
+ removeAll: string;
107
+ selectAll: string;
108
+ noData: string;
109
+ noSelected: string;
110
+ search: string;
111
+ };
112
+ upload: {
113
+ uploadSuccess: string;
114
+ uploadFailed: string;
115
+ drapFileOr: string;
116
+ clickUpload: string;
117
+ uploadLabel: string;
118
+ };
119
+ input: {
120
+ placeholder: string;
121
+ };
122
+ tagInput: {
123
+ placeholder: string;
124
+ };
125
+ message: {
126
+ assistant: string;
127
+ details: string;
128
+ copySuccess: string;
129
+ copyFailed: string;
130
+ };
131
+ cascader: {
132
+ pleaseSelect: string;
133
+ noData: string;
134
+ emptyText: string;
135
+ };
136
+ versionLog: {
137
+ current: string;
138
+ };
139
+ }>;
140
+ };
141
+ prefix: {
142
+ type: StringConstructor;
143
+ default: string;
144
+ };
145
+ }>>) => void;
146
+ install: (app: App<any>, options?: Partial<import("vue").ExtractPropTypes<{
147
+ locale: {
148
+ type: import("vue").PropType<{
149
+ lang: string;
150
+ steps: {
151
+ step1: string;
152
+ step2: string;
153
+ step3: string;
154
+ };
155
+ datePicker: {
156
+ selectDate: string;
157
+ selectTime: string;
158
+ clear: string;
159
+ ok: string;
160
+ weekdays: {
161
+ sun: string;
162
+ mon: string;
163
+ tue: string;
164
+ wed: string;
165
+ thu: string;
166
+ fri: string;
167
+ sat: string;
168
+ };
169
+ hour: string;
170
+ min: string;
171
+ sec: string;
172
+ toNow: string;
173
+ };
174
+ dialog: {
175
+ ok: string;
176
+ cancel: string;
177
+ prev: string;
178
+ next: string;
179
+ };
180
+ popConfirm: {
181
+ ok: string;
182
+ cancel: string;
183
+ };
184
+ form: {
185
+ notBeEmpty: string;
186
+ incorrectFormat: string;
187
+ max: string;
188
+ min: string;
189
+ maxLen: string;
190
+ verifyError: string;
191
+ };
192
+ pagination: {
193
+ eachPage: string;
194
+ strip: string;
195
+ total: string;
196
+ };
197
+ process: {
198
+ step1: string;
199
+ step2: string;
200
+ step3: string;
201
+ step4: string;
202
+ };
203
+ searchSelect: {
204
+ pleaseSelect: string;
205
+ loading: string;
206
+ filterQueryMustHasValue: string;
207
+ ok: string;
208
+ cancel: string;
209
+ or: string;
210
+ and: string;
211
+ logical: string;
212
+ };
213
+ select: {
214
+ noData: string;
215
+ noMatchedData: string;
216
+ loading: string;
217
+ pleaseSelect: string;
218
+ enterKeywords: string;
219
+ all: string;
220
+ selectAll: string;
221
+ };
222
+ table: {
223
+ emptyText: string;
224
+ confirm: string;
225
+ reset: string;
226
+ sort: string;
227
+ setting: {
228
+ title: string;
229
+ fields: {
230
+ title: string;
231
+ subtitle: (max: number) => string;
232
+ selectAll: string;
233
+ };
234
+ lineHeight: {
235
+ title: string;
236
+ small: string;
237
+ medium: string;
238
+ large: string;
239
+ };
240
+ options: {
241
+ ok: string;
242
+ cancel: string;
243
+ };
244
+ };
245
+ };
246
+ transfer: {
247
+ sourceList: string;
248
+ targetList: string;
249
+ removeAll: string;
250
+ selectAll: string;
251
+ noData: string;
252
+ noSelected: string;
253
+ search: string;
254
+ };
255
+ upload: {
256
+ uploadSuccess: string;
257
+ uploadFailed: string;
258
+ drapFileOr: string;
259
+ clickUpload: string;
260
+ uploadLabel: string;
261
+ };
262
+ input: {
263
+ placeholder: string;
264
+ };
265
+ tagInput: {
266
+ placeholder: string;
267
+ };
268
+ message: {
269
+ assistant: string;
270
+ details: string;
271
+ copySuccess: string;
272
+ copyFailed: string;
273
+ };
274
+ cascader: {
275
+ pleaseSelect: string;
276
+ noData: string;
277
+ emptyText: string;
278
+ };
279
+ versionLog: {
280
+ current: string;
281
+ };
282
+ }>;
283
+ };
284
+ prefix: {
285
+ type: StringConstructor;
286
+ default: string;
287
+ };
288
+ }>>) => void;
4
289
  version: string;
5
290
  };
6
291
  export default _default;
package/lib/preset.js CHANGED
@@ -24,7 +24,9 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
 
27
- import { provideGlobalConfig } from './config-provider';
27
+ import { App } from 'vue';
28
+
29
+ import { ConfigProviderProps, provideGlobalConfig } from './config-provider';
28
30
 
29
31
  import * as components from './components';
30
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "1.0.1",
3
+ "version": "1.0.3-beta.1",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -30,6 +30,7 @@
30
30
  "postpublish": "node scripts/post-publish.js",
31
31
  "prepare": "husky install",
32
32
  "dev": "lerna run --stream --scope site dev",
33
+ "debug": "TS_NODE_CWD=./scripts/cli node --inspect-brk -r ts-node/register ./scripts/cli/index.ts lib",
33
34
  "build": "run-s build:dist build:lib",
34
35
  "build:site": "lerna run --stream --scope site build && cp -r ./site/views/ ./site/dist/views",
35
36
  "build:dist": "rimraf dist && lerna run --stream --scope cli dist",