vuv-ui 1.0.11 → 1.0.12
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/package.json +1 -1
- package/src/components/button/Data.vue +1 -11
- package/src/components/button/View.vue +1 -1
- package/src/components/button/index.ts +4 -4
- package/src/components/index.ts +12 -4
- package/vuv-ui/components/index.d.ts +3 -223
- package/vuv-ui/style.css +1 -1
- package/vuv-ui/vuv-ui.es.js +566 -561
- package/vuv-ui/vuv-ui.umd.js +1 -1
package/package.json
CHANGED
|
@@ -97,18 +97,8 @@
|
|
|
97
97
|
</div>
|
|
98
98
|
</template>
|
|
99
99
|
|
|
100
|
-
<script setup lang="ts" name="
|
|
100
|
+
<script setup lang="ts" name="uvuiButtonData">
|
|
101
101
|
import { ref, onMounted } from 'vue';
|
|
102
|
-
import ElForm from 'element-plus';
|
|
103
|
-
import ElInput from 'element-plus';
|
|
104
|
-
import ElFormItem from 'element-plus';
|
|
105
|
-
import ElInputNumber from 'element-plus';
|
|
106
|
-
import ElSelect from 'element-plus';
|
|
107
|
-
import ElOption from 'element-plus';
|
|
108
|
-
import ElRadioGroup from 'element-plus';
|
|
109
|
-
import ElRadioButton from 'element-plus';
|
|
110
|
-
import ElSwitch from 'element-plus';
|
|
111
|
-
import ElColorPicker from 'element-plus';
|
|
112
102
|
|
|
113
103
|
const props = defineProps({
|
|
114
104
|
data: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import uvuiButtonView from './View.vue';
|
|
2
|
+
import uvuiButtonData from './Data.vue';
|
|
3
3
|
|
|
4
4
|
const buttonTypeList = {
|
|
5
5
|
type: 'uvui-button',
|
|
@@ -7,8 +7,8 @@ const buttonTypeList = {
|
|
|
7
7
|
icon: 'Postcard',
|
|
8
8
|
fontIcon: 'icon-shangpinanniu_changtiaoanniu',
|
|
9
9
|
page: 'index,activity',
|
|
10
|
-
viewCom:
|
|
11
|
-
editCom:
|
|
10
|
+
viewCom: uvuiButtonView,
|
|
11
|
+
editCom: uvuiButtonData,
|
|
12
12
|
limit: 0
|
|
13
13
|
};
|
|
14
14
|
|
package/src/components/index.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { buttonTypeList, buttonOptions } from './button/index';
|
|
2
|
+
import uvuiButtonData from './button/Data.vue';
|
|
3
|
+
import uvuiButtonView from './button/View.vue';
|
|
4
|
+
|
|
2
5
|
import { textareaTypeList, textareaOptions } from './textarea/index';
|
|
3
6
|
import { numberBoxTypeList, numberBoxOptions } from './numberBxo/index';
|
|
4
7
|
import { collapseTypeList, collapseOptions } from './collapse/index';
|
|
@@ -6,9 +9,14 @@ import { collapseTypeList, collapseOptions } from './collapse/index';
|
|
|
6
9
|
export const uvUiList = { buttonTypeList, textareaTypeList, numberBoxTypeList, collapseTypeList };
|
|
7
10
|
export const uvUIOptions = { buttonOptions, textareaOptions, numberBoxOptions, collapseOptions };
|
|
8
11
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
const component = [uvuiButtonData, uvuiButtonView];
|
|
13
|
+
|
|
14
|
+
const hsryvuvUI = {
|
|
15
|
+
install(App: any) {
|
|
16
|
+
component.forEach((item: any) => {
|
|
17
|
+
App.component(item.name, item);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
12
20
|
};
|
|
13
21
|
|
|
14
|
-
export default
|
|
22
|
+
export default hsryvuvUI;
|
|
@@ -219,227 +219,7 @@ export declare const uvUIOptions: {
|
|
|
219
219
|
};
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
|
-
declare const
|
|
223
|
-
|
|
224
|
-
buttonTypeList: {
|
|
225
|
-
type: string;
|
|
226
|
-
name: string;
|
|
227
|
-
icon: string;
|
|
228
|
-
fontIcon: string;
|
|
229
|
-
page: string;
|
|
230
|
-
viewCom: import('vue').DefineComponent<{
|
|
231
|
-
data: {
|
|
232
|
-
type: ObjectConstructor;
|
|
233
|
-
default: () => void;
|
|
234
|
-
};
|
|
235
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
236
|
-
data: {
|
|
237
|
-
type: ObjectConstructor;
|
|
238
|
-
default: () => void;
|
|
239
|
-
};
|
|
240
|
-
}>>, {
|
|
241
|
-
data: Record<string, any>;
|
|
242
|
-
}>;
|
|
243
|
-
editCom: import('vue').DefineComponent<{
|
|
244
|
-
data: {
|
|
245
|
-
type: ObjectConstructor;
|
|
246
|
-
default: () => void;
|
|
247
|
-
};
|
|
248
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
249
|
-
data: {
|
|
250
|
-
type: ObjectConstructor;
|
|
251
|
-
default: () => void;
|
|
252
|
-
};
|
|
253
|
-
}>>, {
|
|
254
|
-
data: Record<string, any>;
|
|
255
|
-
}>;
|
|
256
|
-
limit: number;
|
|
257
|
-
};
|
|
258
|
-
textareaTypeList: {
|
|
259
|
-
type: string;
|
|
260
|
-
name: string;
|
|
261
|
-
icon: string;
|
|
262
|
-
fontIcon: string;
|
|
263
|
-
page: string;
|
|
264
|
-
viewCom: import('vue').DefineComponent<{
|
|
265
|
-
data: {
|
|
266
|
-
type: ObjectConstructor;
|
|
267
|
-
default: () => void;
|
|
268
|
-
};
|
|
269
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
270
|
-
data: {
|
|
271
|
-
type: ObjectConstructor;
|
|
272
|
-
default: () => void;
|
|
273
|
-
};
|
|
274
|
-
}>>, {
|
|
275
|
-
data: Record<string, any>;
|
|
276
|
-
}>;
|
|
277
|
-
editCom: import('vue').DefineComponent<{
|
|
278
|
-
data: {
|
|
279
|
-
type: ObjectConstructor;
|
|
280
|
-
default: () => void;
|
|
281
|
-
};
|
|
282
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
283
|
-
data: {
|
|
284
|
-
type: ObjectConstructor;
|
|
285
|
-
default: () => void;
|
|
286
|
-
};
|
|
287
|
-
}>>, {
|
|
288
|
-
data: Record<string, any>;
|
|
289
|
-
}>;
|
|
290
|
-
limit: number;
|
|
291
|
-
};
|
|
292
|
-
numberBoxTypeList: {
|
|
293
|
-
type: string;
|
|
294
|
-
name: string;
|
|
295
|
-
icon: string;
|
|
296
|
-
fontIcon: string;
|
|
297
|
-
page: string;
|
|
298
|
-
viewCom: import('vue').DefineComponent<{
|
|
299
|
-
data: {
|
|
300
|
-
type: ObjectConstructor;
|
|
301
|
-
default: () => void;
|
|
302
|
-
};
|
|
303
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
304
|
-
data: {
|
|
305
|
-
type: ObjectConstructor;
|
|
306
|
-
default: () => void;
|
|
307
|
-
};
|
|
308
|
-
}>>, {
|
|
309
|
-
data: Record<string, any>;
|
|
310
|
-
}>;
|
|
311
|
-
editCom: import('vue').DefineComponent<{
|
|
312
|
-
data: {
|
|
313
|
-
type: ObjectConstructor;
|
|
314
|
-
default: () => void;
|
|
315
|
-
};
|
|
316
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
317
|
-
data: {
|
|
318
|
-
type: ObjectConstructor;
|
|
319
|
-
default: () => void;
|
|
320
|
-
};
|
|
321
|
-
}>>, {
|
|
322
|
-
data: Record<string, any>;
|
|
323
|
-
}>;
|
|
324
|
-
limit: number;
|
|
325
|
-
};
|
|
326
|
-
collapseTypeList: {
|
|
327
|
-
type: string;
|
|
328
|
-
name: string;
|
|
329
|
-
icon: string;
|
|
330
|
-
fontIcon: string;
|
|
331
|
-
page: string;
|
|
332
|
-
viewCom: import('vue').DefineComponent<{
|
|
333
|
-
data: {
|
|
334
|
-
type: ObjectConstructor;
|
|
335
|
-
default: () => void;
|
|
336
|
-
};
|
|
337
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
338
|
-
data: {
|
|
339
|
-
type: ObjectConstructor;
|
|
340
|
-
default: () => void;
|
|
341
|
-
};
|
|
342
|
-
}>>, {
|
|
343
|
-
data: Record<string, any>;
|
|
344
|
-
}>;
|
|
345
|
-
editCom: import('vue').DefineComponent<{
|
|
346
|
-
data: {
|
|
347
|
-
type: ObjectConstructor;
|
|
348
|
-
default: () => void;
|
|
349
|
-
};
|
|
350
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{
|
|
351
|
-
data: {
|
|
352
|
-
type: ObjectConstructor;
|
|
353
|
-
default: () => void;
|
|
354
|
-
};
|
|
355
|
-
}>>, {
|
|
356
|
-
data: Record<string, any>;
|
|
357
|
-
}>;
|
|
358
|
-
limit: number;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
uvUIOptions: {
|
|
362
|
-
buttonOptions: {
|
|
363
|
-
data: {};
|
|
364
|
-
options: {
|
|
365
|
-
width: string;
|
|
366
|
-
height: string;
|
|
367
|
-
hairline: boolean;
|
|
368
|
-
type: string;
|
|
369
|
-
size: string;
|
|
370
|
-
shape: string;
|
|
371
|
-
position: string;
|
|
372
|
-
plain: boolean;
|
|
373
|
-
disabled: boolean;
|
|
374
|
-
loading: boolean;
|
|
375
|
-
loadingText: string;
|
|
376
|
-
openType: string;
|
|
377
|
-
pagePath: string;
|
|
378
|
-
isTabBar: boolean;
|
|
379
|
-
text: string;
|
|
380
|
-
textColor: string;
|
|
381
|
-
icon: string;
|
|
382
|
-
color: string;
|
|
383
|
-
customStyle: string;
|
|
384
|
-
fill: boolean;
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
textareaOptions: {
|
|
388
|
-
type: string;
|
|
389
|
-
data: {};
|
|
390
|
-
options: {
|
|
391
|
-
placeholder: string;
|
|
392
|
-
height: string;
|
|
393
|
-
confirmType: string;
|
|
394
|
-
count: boolean;
|
|
395
|
-
autoHeight: boolean;
|
|
396
|
-
showConfirmBar: boolean;
|
|
397
|
-
maxlength: number;
|
|
398
|
-
border: string;
|
|
399
|
-
customStyle: string;
|
|
400
|
-
fill: boolean;
|
|
401
|
-
};
|
|
402
|
-
};
|
|
403
|
-
numberBoxOptions: {
|
|
404
|
-
data: {};
|
|
405
|
-
options: {
|
|
406
|
-
value: number;
|
|
407
|
-
min: number;
|
|
408
|
-
max: number;
|
|
409
|
-
step: number;
|
|
410
|
-
integer: boolean;
|
|
411
|
-
disabled: boolean;
|
|
412
|
-
disabledInput: boolean;
|
|
413
|
-
inputWidth: number;
|
|
414
|
-
showMinus: boolean;
|
|
415
|
-
showPlus: boolean;
|
|
416
|
-
decimalLength: number;
|
|
417
|
-
longPress: boolean;
|
|
418
|
-
color: string;
|
|
419
|
-
buttonSize: number;
|
|
420
|
-
bgColor: string;
|
|
421
|
-
disablePlus: boolean;
|
|
422
|
-
disableMinus: boolean;
|
|
423
|
-
align: string;
|
|
424
|
-
fill: boolean;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
collapseOptions: {
|
|
428
|
-
data: {
|
|
429
|
-
list: {
|
|
430
|
-
title: string;
|
|
431
|
-
value: string;
|
|
432
|
-
label: string;
|
|
433
|
-
disabled: boolean;
|
|
434
|
-
isLink: boolean;
|
|
435
|
-
clickable: boolean;
|
|
436
|
-
border: boolean;
|
|
437
|
-
}[];
|
|
438
|
-
};
|
|
439
|
-
options: {
|
|
440
|
-
fill: boolean;
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
};
|
|
222
|
+
declare const hsryvuvUI: {
|
|
223
|
+
install(App: any): void;
|
|
444
224
|
};
|
|
445
|
-
export default
|
|
225
|
+
export default hsryvuvUI;
|
package/vuv-ui/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.button_box[data-v-
|
|
1
|
+
.button_box[data-v-ddf92851]{display:flex;align-items:center;margin-top:10px}.button_box[data-v-ddf92851] .uv-button{width:100%;height:100%}.plain[data-v-ddf92851] .uv-button{background-color:transparent!important}.banner-content[data-v-3bbcd931]{overflow-x:auto}.item-list[data-v-3bbcd931]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-3bbcd931]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-3bbcd931]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-3bbcd931]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-3bbcd931]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-3bbcd931]{text-align:right}.item-list .r-image .el-icon-close[data-v-3bbcd931]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-3bbcd931]:hover{color:red}.item-list .r-image .image-box[data-v-3bbcd931]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-3bbcd931]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-3bbcd931]{color:#999;font-size:12px}.mt-5px[data-v-3bbcd931]{margin-top:5px}.mt-10px[data-v-3bbcd931]{margin-top:10px}.textarea_box[data-v-b4db5b9f]{display:flex;align-items:center;margin-top:10px}.banner-content[data-v-91c833b3]{overflow-x:auto}.item-list[data-v-91c833b3]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-91c833b3]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-91c833b3]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-91c833b3]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-91c833b3]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-91c833b3]{text-align:right}.item-list .r-image .el-icon-close[data-v-91c833b3]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-91c833b3]:hover{color:red}.item-list .r-image .image-box[data-v-91c833b3]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-91c833b3]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-91c833b3]{color:#999;font-size:12px}.mt-5px[data-v-91c833b3]{margin-top:5px}.mt-10px[data-v-91c833b3]{margin-top:10px}.number-box-wrapper[data-v-d025175e]{background-color:#fff;display:flex;align-items:center;padding:10px}.banner-content[data-v-0130b026],.banner-content[data-v-c904acd0]{overflow-x:auto}.item-list[data-v-c904acd0]{display:flex;justify-content:space-between;margin:10px;border:1px solid #c8c8c8;border-radius:4px;padding:5px}.item-list .l-info[data-v-c904acd0]{font-size:12px;padding-top:4px;width:calc(100% - 100px)}.item-list .l-info p[data-v-c904acd0]{margin:5px 0 0;white-space:nowrap;overflow:hidden;display:flex}.item-list .l-info p .link[data-v-c904acd0]{color:#1b8bff;cursor:pointer}.item-list .l-info p .text[data-v-c904acd0]{white-space:nowrap;text-align:-webkit-auto;text-overflow:ellipsis;overflow:hidden}.item-list .r-image[data-v-c904acd0]{text-align:right}.item-list .r-image .el-icon-close[data-v-c904acd0]{color:#999;font-size:12px;font-weight:600;margin-bottom:6px;cursor:pointer}.item-list .r-image .el-icon-close[data-v-c904acd0]:hover{color:red}.item-list .r-image .image-box[data-v-c904acd0]{width:100px;height:70px;border-radius:5px;overflow:hidden;position:relative;background:#fff;display:flex;justify-content:center;align-items:center}.item-list .r-image .image-box img[data-v-c904acd0]{max-width:100%}.item-list .r-image .image-box .placeholder-text[data-v-c904acd0]{color:#999;font-size:12px}.mt-5px[data-v-c904acd0]{margin-top:5px}.mt-10px[data-v-c904acd0]{margin-top:10px}
|