@tplc/wot 0.0.1 → 0.1.0
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/CHANGELOG.md +5 -0
- package/components/composables/useParent.ts +1 -1
- package/components/wd-table/types.ts +1 -1
- package/components/wd-table-col/wd-table-col.vue +1 -1
- package/global.d.ts +91 -102
- package/package.json +10 -1
- package/tsconfig.dts.json +9 -0
- package/types/components/common/AbortablePromise.d.ts +8 -0
- package/types/components/common/base64.d.ts +1 -0
- package/types/components/common/canvasHelper.d.ts +6 -0
- package/types/components/common/clickoutside.d.ts +4 -0
- package/types/components/common/dayjs.d.ts +26 -0
- package/types/components/common/props.d.ts +47 -0
- package/types/components/common/util.d.ts +263 -0
- package/types/components/composables/useCell.d.ts +3 -0
- package/types/components/composables/useChildren.d.ts +9 -0
- package/types/components/composables/useCountDown.d.ts +20 -0
- package/types/components/composables/useLockScroll.d.ts +5 -0
- package/types/components/composables/useParent.d.ts +15 -0
- package/types/components/composables/usePopover.d.ts +9 -0
- package/types/components/composables/useQueue.d.ts +13 -0
- package/types/components/composables/useRaf.d.ts +6 -0
- package/types/components/composables/useTouch.d.ts +11 -0
- package/types/components/composables/useTranslate.d.ts +3 -0
- package/types/components/wd-action-sheet/types.d.ts +145 -0
- package/types/components/wd-action-sheet/wd-action-sheet.vue.d.ts +145 -0
- package/types/components/wd-backtop/types.d.ts +66 -0
- package/types/components/wd-backtop/wd-backtop.vue.d.ts +101 -0
- package/types/components/wd-badge/types.d.ts +53 -0
- package/types/components/wd-badge/wd-badge.vue.d.ts +71 -0
- package/types/components/wd-button/types.d.ts +125 -0
- package/types/components/wd-button/wd-button.vue.d.ts +157 -0
- package/types/components/wd-calendar/types.d.ts +283 -0
- package/types/components/wd-calendar/wd-calendar.vue.d.ts +324 -0
- package/types/components/wd-calendar-view/month/month.vue.d.ts +79 -0
- package/types/components/wd-calendar-view/month/types.d.ts +38 -0
- package/types/components/wd-calendar-view/monthPanel/month-panel.vue.d.ts +113 -0
- package/types/components/wd-calendar-view/monthPanel/types.d.ts +70 -0
- package/types/components/wd-calendar-view/types.d.ts +131 -0
- package/types/components/wd-calendar-view/utils.d.ts +121 -0
- package/types/components/wd-calendar-view/wd-calendar-view.vue.d.ts +141 -0
- package/types/components/wd-calendar-view/year/types.d.ts +34 -0
- package/types/components/wd-calendar-view/year/year.vue.d.ts +71 -0
- package/types/components/wd-calendar-view/yearPanel/types.d.ts +53 -0
- package/types/components/wd-calendar-view/yearPanel/year-panel.vue.d.ts +81 -0
- package/types/components/wd-card/types.d.ts +42 -0
- package/types/components/wd-card/wd-card.vue.d.ts +63 -0
- package/types/components/wd-cell/types.d.ts +129 -0
- package/types/components/wd-cell/wd-cell.vue.d.ts +163 -0
- package/types/components/wd-cell-group/types.d.ts +40 -0
- package/types/components/wd-cell-group/wd-cell-group.vue.d.ts +54 -0
- package/types/components/wd-checkbox/types.d.ts +75 -0
- package/types/components/wd-checkbox/wd-checkbox.vue.d.ts +106 -0
- package/types/components/wd-checkbox-group/types.d.ts +78 -0
- package/types/components/wd-checkbox-group/wd-checkbox-group.vue.d.ts +103 -0
- package/types/components/wd-circle/types.d.ts +77 -0
- package/types/components/wd-circle/wd-circle.vue.d.ts +106 -0
- package/types/components/wd-col/types.d.ts +26 -0
- package/types/components/wd-col/wd-col.vue.d.ts +48 -0
- package/types/components/wd-col-picker/types.d.ts +226 -0
- package/types/components/wd-col-picker/wd-col-picker.vue.d.ts +269 -0
- package/types/components/wd-collapse/types.d.ts +70 -0
- package/types/components/wd-collapse/wd-collapse.vue.d.ts +92 -0
- package/types/components/wd-collapse-item/types.d.ts +46 -0
- package/types/components/wd-collapse-item/wd-collapse-item.vue.d.ts +65 -0
- package/types/components/wd-config-provider/types.d.ts +874 -0
- package/types/components/wd-config-provider/wd-config-provider.vue.d.ts +48 -0
- package/types/components/wd-count-down/types.d.ts +55 -0
- package/types/components/wd-count-down/utils.d.ts +8 -0
- package/types/components/wd-count-down/wd-count-down.vue.d.ts +77 -0
- package/types/components/wd-count-to/types.d.ts +125 -0
- package/types/components/wd-count-to/wd-count-to.vue.d.ts +154 -0
- package/types/components/wd-curtain/types.d.ts +53 -0
- package/types/components/wd-curtain/wd-curtain.vue.d.ts +91 -0
- package/types/components/wd-datetime-picker/types.d.ts +297 -0
- package/types/components/wd-datetime-picker/wd-datetime-picker.vue.d.ts +354 -0
- package/types/components/wd-datetime-picker-view/types.d.ts +148 -0
- package/types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue.d.ts +184 -0
- package/types/components/wd-divider/types.d.ts +19 -0
- package/types/components/wd-divider/wd-divider.vue.d.ts +39 -0
- package/types/components/wd-drop-menu/types.d.ts +54 -0
- package/types/components/wd-drop-menu/wd-drop-menu.vue.d.ts +75 -0
- package/types/components/wd-drop-menu-item/types.d.ts +106 -0
- package/types/components/wd-drop-menu-item/wd-drop-menu-item.vue.d.ts +145 -0
- package/types/components/wd-fab/types.d.ts +88 -0
- package/types/components/wd-fab/wd-fab.vue.d.ts +127 -0
- package/types/components/wd-form/types.d.ts +79 -0
- package/types/components/wd-form/wd-form.vue.d.ts +72 -0
- package/types/components/wd-form-item/types.d.ts +32 -0
- package/types/components/wd-form-item/wd-form-item.vue.d.ts +73 -0
- package/types/components/wd-gap/types.d.ts +31 -0
- package/types/components/wd-gap/wd-gap.vue.d.ts +50 -0
- package/types/components/wd-grid/types.d.ts +59 -0
- package/types/components/wd-grid/wd-grid.vue.d.ts +70 -0
- package/types/components/wd-grid-item/types.d.ts +101 -0
- package/types/components/wd-grid-item/wd-grid-item.vue.d.ts +134 -0
- package/types/components/wd-icon/types.d.ts +32 -0
- package/types/components/wd-icon/wd-icon.vue.d.ts +50 -0
- package/types/components/wd-img/types.d.ts +59 -0
- package/types/components/wd-img/wd-img.vue.d.ts +92 -0
- package/types/components/wd-img-cropper/types.d.ts +101 -0
- package/types/components/wd-img-cropper/wd-img-cropper.vue.d.ts +124 -0
- package/types/components/wd-index-anchor/type.d.ts +16 -0
- package/types/components/wd-index-anchor/wd-index-anchor.vue.d.ts +40 -0
- package/types/components/wd-index-bar/type.d.ts +26 -0
- package/types/components/wd-index-bar/wd-index-bar.vue.d.ts +23 -0
- package/types/components/wd-input/types.d.ts +271 -0
- package/types/components/wd-input/wd-input.vue.d.ts +369 -0
- package/types/components/wd-input-number/types.d.ts +108 -0
- package/types/components/wd-input-number/wd-input-number.vue.d.ts +158 -0
- package/types/components/wd-loading/types.d.ts +34 -0
- package/types/components/wd-loading/wd-loading.vue.d.ts +50 -0
- package/types/components/wd-loadmore/types.d.ts +31 -0
- package/types/components/wd-loadmore/wd-loadmore.vue.d.ts +43 -0
- package/types/components/wd-message-box/index.d.ts +9 -0
- package/types/components/wd-message-box/types.d.ts +99 -0
- package/types/components/wd-message-box/wd-message-box.vue.d.ts +32 -0
- package/types/components/wd-navbar/types.d.ts +80 -0
- package/types/components/wd-navbar/wd-navbar.vue.d.ts +117 -0
- package/types/components/wd-navbar-capsule/wd-navbar-capsule.vue.d.ts +8 -0
- package/types/components/wd-notice-bar/types.d.ts +81 -0
- package/types/components/wd-notice-bar/wd-notice-bar.vue.d.ts +118 -0
- package/types/components/wd-notify/index.d.ts +8 -0
- package/types/components/wd-notify/types.d.ts +87 -0
- package/types/components/wd-notify/wd-notify.vue.d.ts +105 -0
- package/types/components/wd-number-keyboard/key/index.vue.d.ts +54 -0
- package/types/components/wd-number-keyboard/key/types.d.ts +23 -0
- package/types/components/wd-number-keyboard/types.d.ts +118 -0
- package/types/components/wd-number-keyboard/wd-number-keyboard.vue.d.ts +158 -0
- package/types/components/wd-overlay/types.d.ts +39 -0
- package/types/components/wd-overlay/wd-overlay.vue.d.ts +70 -0
- package/types/components/wd-pagination/types.d.ts +67 -0
- package/types/components/wd-pagination/wd-pagination.vue.d.ts +95 -0
- package/types/components/wd-password-input/types.d.ts +59 -0
- package/types/components/wd-password-input/wd-password-input.vue.d.ts +90 -0
- package/types/components/wd-picker/types.d.ts +234 -0
- package/types/components/wd-picker/wd-picker.vue.d.ts +276 -0
- package/types/components/wd-picker-view/types.d.ts +100 -0
- package/types/components/wd-picker-view/wd-picker-view.vue.d.ts +119 -0
- package/types/components/wd-popover/types.d.ts +86 -0
- package/types/components/wd-popover/wd-popover.vue.d.ts +138 -0
- package/types/components/wd-popup/types.d.ts +96 -0
- package/types/components/wd-popup/wd-popup.vue.d.ts +160 -0
- package/types/components/wd-progress/types.d.ts +44 -0
- package/types/components/wd-progress/wd-progress.vue.d.ts +61 -0
- package/types/components/wd-radio/types.d.ts +40 -0
- package/types/components/wd-radio/wd-radio.vue.d.ts +73 -0
- package/types/components/wd-radio-group/types.d.ts +54 -0
- package/types/components/wd-radio-group/wd-radio-group.vue.d.ts +85 -0
- package/types/components/wd-rate/types.d.ts +110 -0
- package/types/components/wd-rate/wd-rate.vue.d.ts +128 -0
- package/types/components/wd-resize/types.d.ts +14 -0
- package/types/components/wd-resize/wd-resize.vue.d.ts +43 -0
- package/types/components/wd-row/types.d.ts +24 -0
- package/types/components/wd-row/wd-row.vue.d.ts +39 -0
- package/types/components/wd-search/types.d.ts +104 -0
- package/types/components/wd-search/wd-search.vue.d.ts +132 -0
- package/types/components/wd-segmented/types.d.ts +69 -0
- package/types/components/wd-segmented/wd-segmented.vue.d.ts +87 -0
- package/types/components/wd-select-picker/types.d.ts +180 -0
- package/types/components/wd-select-picker/wd-select-picker.vue.d.ts +316 -0
- package/types/components/wd-sidebar/types.d.ts +24 -0
- package/types/components/wd-sidebar/wd-sidebar.vue.d.ts +45 -0
- package/types/components/wd-sidebar-item/types.d.ts +44 -0
- package/types/components/wd-sidebar-item/wd-sidebar-item.vue.d.ts +80 -0
- package/types/components/wd-skeleton/types.d.ts +72 -0
- package/types/components/wd-skeleton/wd-skeleton.vue.d.ts +68 -0
- package/types/components/wd-slider/types.d.ts +117 -0
- package/types/components/wd-slider/wd-slider.vue.d.ts +134 -0
- package/types/components/wd-sort-button/types.d.ts +58 -0
- package/types/components/wd-sort-button/wd-sort-button.vue.d.ts +74 -0
- package/types/components/wd-status-tip/types.d.ts +60 -0
- package/types/components/wd-status-tip/wd-status-tip.vue.d.ts +59 -0
- package/types/components/wd-step/types.d.ts +33 -0
- package/types/components/wd-step/wd-step.vue.d.ts +40 -0
- package/types/components/wd-steps/types.d.ts +59 -0
- package/types/components/wd-steps/wd-steps.vue.d.ts +68 -0
- package/types/components/wd-sticky/types.d.ts +24 -0
- package/types/components/wd-sticky/wd-sticky.vue.d.ts +59 -0
- package/types/components/wd-sticky-box/types.d.ts +9 -0
- package/types/components/wd-sticky-box/wd-sticky-box.vue.d.ts +30 -0
- package/types/components/wd-swipe-action/types.d.ts +42 -0
- package/types/components/wd-swipe-action/wd-swipe-action.vue.d.ts +61 -0
- package/types/components/wd-swiper/types.d.ts +213 -0
- package/types/components/wd-swiper/wd-swiper.vue.d.ts +236 -0
- package/types/components/wd-swiper-nav/types.d.ts +66 -0
- package/types/components/wd-swiper-nav/wd-swiper-nav.vue.d.ts +90 -0
- package/types/components/wd-switch/types.d.ts +65 -0
- package/types/components/wd-switch/wd-switch.vue.d.ts +82 -0
- package/types/components/wd-tab/types.d.ts +27 -0
- package/types/components/wd-tab/wd-tab.vue.d.ts +46 -0
- package/types/components/wd-tabbar/types.d.ts +87 -0
- package/types/components/wd-tabbar/wd-tabbar.vue.d.ts +103 -0
- package/types/components/wd-tabbar-item/types.d.ts +53 -0
- package/types/components/wd-tabbar-item/wd-tabbar-item.vue.d.ts +61 -0
- package/types/components/wd-table/types.d.ts +95 -0
- package/types/components/wd-table/wd-table.vue.d.ts +138 -0
- package/types/components/wd-table-col/types.d.ts +58 -0
- package/types/components/wd-table-col/wd-table-col.vue.d.ts +70 -0
- package/types/components/wd-tabs/types.d.ts +96 -0
- package/types/components/wd-tabs/wd-tabs.vue.d.ts +139 -0
- package/types/components/wd-tag/types.d.ts +104 -0
- package/types/components/wd-tag/wd-tag.vue.d.ts +130 -0
- package/types/components/wd-text/types.d.ts +128 -0
- package/types/components/wd-text/wd-text.vue.d.ts +131 -0
- package/types/components/wd-textarea/types.d.ts +363 -0
- package/types/components/wd-textarea/wd-textarea.vue.d.ts +390 -0
- package/types/components/wd-toast/index.d.ts +15 -0
- package/types/components/wd-toast/types.d.ts +62 -0
- package/types/components/wd-toast/wd-toast.vue.d.ts +32 -0
- package/types/components/wd-tooltip/types.d.ts +106 -0
- package/types/components/wd-tooltip/wd-tooltip.vue.d.ts +133 -0
- package/types/components/wd-transition/types.d.ts +98 -0
- package/types/components/wd-transition/wd-transition.vue.d.ts +136 -0
- package/types/components/wd-upload/types.d.ts +396 -0
- package/types/components/wd-upload/utils.d.ts +2 -0
- package/types/components/wd-upload/wd-upload.vue.d.ts +283 -0
- package/types/components/wd-video-preview/types.d.ts +22 -0
- package/types/components/wd-video-preview/wd-video-preview.vue.d.ts +27 -0
- package/types/components/wd-watermark/types.d.ts +131 -0
- package/types/components/wd-watermark/wd-watermark.vue.d.ts +176 -0
- package/types/locale/index.d.ts +9 -0
- package/types/locale/lang/zh-CN.d.ts +128 -0
- package/components/wot-design-uni/wot-design-uni.vue +0 -14
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type PreviewVideo } from './types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
customStyle: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
customClass: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
open: (video: PreviewVideo) => void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
customStyle: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
customClass: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
24
|
+
customStyle: string;
|
|
25
|
+
customClass: string;
|
|
26
|
+
}, {}>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
export declare const watermarkProps: {
|
|
3
|
+
/**
|
|
4
|
+
* 显示内容
|
|
5
|
+
*/
|
|
6
|
+
content: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 显示图片的地址,支持网络图片和base64(钉钉小程序仅支持网络图片)
|
|
12
|
+
*/
|
|
13
|
+
image: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 图片高度
|
|
19
|
+
*/
|
|
20
|
+
imageHeight: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* 图片高度
|
|
26
|
+
*/
|
|
27
|
+
imageWidth: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* X轴间距,单位px
|
|
33
|
+
*/
|
|
34
|
+
gutterX: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Y轴间距,单位px
|
|
40
|
+
*/
|
|
41
|
+
gutterY: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* canvas画布宽度,单位px
|
|
47
|
+
*/
|
|
48
|
+
width: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* canvas画布高度,单位px
|
|
54
|
+
*/
|
|
55
|
+
height: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* 是否为全屏水印
|
|
61
|
+
*/
|
|
62
|
+
fullScreen: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 水印字体颜色
|
|
68
|
+
*/
|
|
69
|
+
color: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* 水印字体大小,单位px
|
|
75
|
+
*/
|
|
76
|
+
size: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* 水印字体样式(仅微信和h5支持),可能的值:normal、italic、oblique
|
|
82
|
+
*/
|
|
83
|
+
fontStyle: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* 水印字体的粗细(仅微信和h5支持)
|
|
89
|
+
*/
|
|
90
|
+
fontWeight: {
|
|
91
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* 水印字体系列(仅微信和h5支持)
|
|
96
|
+
*/
|
|
97
|
+
fontFamily: {
|
|
98
|
+
type: import("vue").PropType<string>;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* 水印旋转角度
|
|
103
|
+
*/
|
|
104
|
+
rotate: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* 自定义层级
|
|
110
|
+
*/
|
|
111
|
+
zIndex: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* 自定义透明度,取值 0~1
|
|
117
|
+
*/
|
|
118
|
+
opacity: {
|
|
119
|
+
type: NumberConstructor;
|
|
120
|
+
default: number;
|
|
121
|
+
};
|
|
122
|
+
customStyle: {
|
|
123
|
+
type: import("vue").PropType<string>;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
customClass: {
|
|
127
|
+
type: import("vue").PropType<string>;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
export type WatermarkProps = ExtractPropTypes<typeof watermarkProps>;
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
content: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
image: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
imageHeight: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
imageWidth: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
gutterX: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
gutterY: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
width: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
height: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
fullScreen: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
color: {
|
|
39
|
+
type: import("vue").PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
fontStyle: {
|
|
47
|
+
type: import("vue").PropType<string>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
fontWeight: {
|
|
51
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
fontFamily: {
|
|
55
|
+
type: import("vue").PropType<string>;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
rotate: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
zIndex: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
opacity: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
customStyle: {
|
|
71
|
+
type: import("vue").PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
customClass: {
|
|
75
|
+
type: import("vue").PropType<string>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
+
content: {
|
|
80
|
+
type: import("vue").PropType<string>;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
image: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
imageHeight: {
|
|
88
|
+
type: NumberConstructor;
|
|
89
|
+
default: number;
|
|
90
|
+
};
|
|
91
|
+
imageWidth: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
gutterX: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
gutterY: {
|
|
100
|
+
type: NumberConstructor;
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
width: {
|
|
104
|
+
type: NumberConstructor;
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
107
|
+
height: {
|
|
108
|
+
type: NumberConstructor;
|
|
109
|
+
default: number;
|
|
110
|
+
};
|
|
111
|
+
fullScreen: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
color: {
|
|
116
|
+
type: import("vue").PropType<string>;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
size: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
fontStyle: {
|
|
124
|
+
type: import("vue").PropType<string>;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
fontWeight: {
|
|
128
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
fontFamily: {
|
|
132
|
+
type: import("vue").PropType<string>;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
rotate: {
|
|
136
|
+
type: NumberConstructor;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
zIndex: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
};
|
|
143
|
+
opacity: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
default: number;
|
|
146
|
+
};
|
|
147
|
+
customStyle: {
|
|
148
|
+
type: import("vue").PropType<string>;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
customClass: {
|
|
152
|
+
type: import("vue").PropType<string>;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
}>>, {
|
|
156
|
+
zIndex: number;
|
|
157
|
+
customStyle: string;
|
|
158
|
+
customClass: string;
|
|
159
|
+
image: string;
|
|
160
|
+
content: string;
|
|
161
|
+
size: number;
|
|
162
|
+
color: string;
|
|
163
|
+
width: number;
|
|
164
|
+
height: number;
|
|
165
|
+
rotate: number;
|
|
166
|
+
imageHeight: number;
|
|
167
|
+
imageWidth: number;
|
|
168
|
+
gutterX: number;
|
|
169
|
+
gutterY: number;
|
|
170
|
+
fullScreen: boolean;
|
|
171
|
+
fontStyle: string;
|
|
172
|
+
fontWeight: string | number;
|
|
173
|
+
fontFamily: string;
|
|
174
|
+
opacity: number;
|
|
175
|
+
}, {}>;
|
|
176
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Message = Record<string, any>;
|
|
2
|
+
type Messages = Record<string, Message>;
|
|
3
|
+
export declare const Locale: {
|
|
4
|
+
messages(): Message;
|
|
5
|
+
use(newLang: string, newMessage?: Message): void;
|
|
6
|
+
add(newMessages?: Messages): void;
|
|
7
|
+
};
|
|
8
|
+
export declare const useCurrentLang: () => import("vue").Ref<string>;
|
|
9
|
+
export default Locale;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
calendar: {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
title: string;
|
|
5
|
+
day: string;
|
|
6
|
+
week: string;
|
|
7
|
+
month: string;
|
|
8
|
+
confirm: string;
|
|
9
|
+
startTime: string;
|
|
10
|
+
endTime: string;
|
|
11
|
+
to: string;
|
|
12
|
+
timeFormat: string;
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
weekFormat: (year: number, week: number) => string;
|
|
15
|
+
startWeek: string;
|
|
16
|
+
endWeek: string;
|
|
17
|
+
startMonth: string;
|
|
18
|
+
endMonth: string;
|
|
19
|
+
monthFormat: string;
|
|
20
|
+
};
|
|
21
|
+
calendarView: {
|
|
22
|
+
startTime: string;
|
|
23
|
+
endTime: string;
|
|
24
|
+
weeks: {
|
|
25
|
+
sun: string;
|
|
26
|
+
mon: string;
|
|
27
|
+
tue: string;
|
|
28
|
+
wed: string;
|
|
29
|
+
thu: string;
|
|
30
|
+
fri: string;
|
|
31
|
+
sat: string;
|
|
32
|
+
};
|
|
33
|
+
rangePrompt: (maxRange: number) => string;
|
|
34
|
+
rangePromptWeek: (maxRange: number) => string;
|
|
35
|
+
rangePromptMonth: (maxRange: number) => string;
|
|
36
|
+
monthTitle: string;
|
|
37
|
+
yearTitle: string;
|
|
38
|
+
month: string;
|
|
39
|
+
hour: (value: number) => string;
|
|
40
|
+
minute: (value: number) => string;
|
|
41
|
+
second: (value: number) => string;
|
|
42
|
+
};
|
|
43
|
+
collapse: {
|
|
44
|
+
expand: string;
|
|
45
|
+
retract: string;
|
|
46
|
+
};
|
|
47
|
+
colPicker: {
|
|
48
|
+
title: string;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
select: string;
|
|
51
|
+
};
|
|
52
|
+
datetimePicker: {
|
|
53
|
+
start: string;
|
|
54
|
+
end: string;
|
|
55
|
+
to: string;
|
|
56
|
+
placeholder: string;
|
|
57
|
+
confirm: string;
|
|
58
|
+
cancel: string;
|
|
59
|
+
};
|
|
60
|
+
loadmore: {
|
|
61
|
+
loading: string;
|
|
62
|
+
finished: string;
|
|
63
|
+
error: string;
|
|
64
|
+
retry: string;
|
|
65
|
+
};
|
|
66
|
+
messageBox: {
|
|
67
|
+
inputPlaceholder: string;
|
|
68
|
+
confirm: string;
|
|
69
|
+
cancel: string;
|
|
70
|
+
inputNoValidate: string;
|
|
71
|
+
};
|
|
72
|
+
numberKeyboard: {
|
|
73
|
+
confirm: string;
|
|
74
|
+
};
|
|
75
|
+
pagination: {
|
|
76
|
+
prev: string;
|
|
77
|
+
next: string;
|
|
78
|
+
page: (value: number) => string;
|
|
79
|
+
total: (total: number) => string;
|
|
80
|
+
size: (size: number) => string;
|
|
81
|
+
};
|
|
82
|
+
picker: {
|
|
83
|
+
cancel: string;
|
|
84
|
+
done: string;
|
|
85
|
+
placeholder: string;
|
|
86
|
+
};
|
|
87
|
+
imgCropper: {
|
|
88
|
+
confirm: string;
|
|
89
|
+
cancel: string;
|
|
90
|
+
};
|
|
91
|
+
search: {
|
|
92
|
+
search: string;
|
|
93
|
+
cancel: string;
|
|
94
|
+
};
|
|
95
|
+
steps: {
|
|
96
|
+
wait: string;
|
|
97
|
+
finished: string;
|
|
98
|
+
process: string;
|
|
99
|
+
failed: string;
|
|
100
|
+
};
|
|
101
|
+
tabs: {
|
|
102
|
+
all: string;
|
|
103
|
+
};
|
|
104
|
+
upload: {
|
|
105
|
+
error: string;
|
|
106
|
+
};
|
|
107
|
+
input: {
|
|
108
|
+
placeholder: string;
|
|
109
|
+
};
|
|
110
|
+
selectPicker: {
|
|
111
|
+
title: string;
|
|
112
|
+
placeholder: string;
|
|
113
|
+
select: string;
|
|
114
|
+
confirm: string;
|
|
115
|
+
filterPlaceholder: string;
|
|
116
|
+
};
|
|
117
|
+
tag: {
|
|
118
|
+
placeholder: string;
|
|
119
|
+
add: string;
|
|
120
|
+
};
|
|
121
|
+
textarea: {
|
|
122
|
+
placeholder: string;
|
|
123
|
+
};
|
|
124
|
+
tableCol: {
|
|
125
|
+
indexLabel: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
* @Author: weisheng
|
|
3
|
-
* @Date: 2023-07-20 00:34:54
|
|
4
|
-
* @LastEditTime: 2023-07-21 17:52:56
|
|
5
|
-
* @LastEditors: weisheng
|
|
6
|
-
* @Description:
|
|
7
|
-
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\components\wot-design-uni\wot-design-uni.vue
|
|
8
|
-
* 记得注释
|
|
9
|
-
-->
|
|
10
|
-
<template>
|
|
11
|
-
<view></view>
|
|
12
|
-
</template>
|
|
13
|
-
<script></script>
|
|
14
|
-
<style lang="scss" scoped></style>
|