@tplc/wot 0.0.1 → 0.1.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/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 +7 -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
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## [0.1.0](http://gitlab888.30jia.com.cn/frontend-material/zero-code-pro/compare/v1.1.0...v0.1.0) (2024-08-25)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\components\wd-table\types.ts
|
|
8
8
|
* 记得注释
|
|
9
9
|
*/
|
|
10
|
-
import type { CSSProperties, ExtractPropTypes } from 'vue'
|
|
10
|
+
import type { CSSProperties, ExtractPropTypes, PropType } from 'vue'
|
|
11
11
|
import {
|
|
12
12
|
baseProps,
|
|
13
13
|
makeBooleanProp,
|
package/global.d.ts
CHANGED
|
@@ -1,107 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
* @Author: weisheng
|
|
3
|
-
* @Date: 2023-09-25 17:28:12
|
|
4
|
-
* @LastEditTime: 2024-08-09 13:39:14
|
|
5
|
-
* @LastEditors: weisheng
|
|
6
|
-
* @Description:
|
|
7
|
-
* @FilePath: \wot-design-uni\src\uni_modules\wot-design-uni\global.d.ts
|
|
8
|
-
* 记得注释
|
|
9
|
-
*/
|
|
10
|
-
import '@vue/runtime-core'
|
|
11
|
-
|
|
12
|
-
declare module '@vue/runtime-core' {
|
|
1
|
+
declare module 'vue' {
|
|
13
2
|
// Helper for Volar
|
|
14
3
|
export interface GlobalComponents {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
4
|
+
'wd-action-sheet': (typeof import('./types/components/wd-action-sheet/wd-action-sheet.vue'))['default']
|
|
5
|
+
'wd-badge': (typeof import('./types/components/wd-badge/wd-badge.vue'))['default']
|
|
6
|
+
'wd-button': (typeof import('./types/components/wd-button/wd-button.vue'))['default']
|
|
7
|
+
'wd-calendar': (typeof import('./types/components/wd-calendar/wd-calendar.vue'))['default']
|
|
8
|
+
'wd-calendar-view': (typeof import('./types/components/wd-calendar-view/wd-calendar-view.vue'))['default']
|
|
9
|
+
'wd-card': (typeof import('./types/components/wd-card/wd-card.vue'))['default']
|
|
10
|
+
'wd-cell': (typeof import('./types/components/wd-cell/wd-cell.vue'))['default']
|
|
11
|
+
'wd-cell-group': (typeof import('./types/components/wd-cell-group/wd-cell-group.vue'))['default']
|
|
12
|
+
'wd-checkbox': (typeof import('./types/components/wd-checkbox/wd-checkbox.vue'))['default']
|
|
13
|
+
'wd-checkbox-group': (typeof import('./types/components/wd-checkbox-group/wd-checkbox-group.vue'))['default']
|
|
14
|
+
'wd-col': (typeof import('./types/components/wd-col/wd-col.vue'))['default']
|
|
15
|
+
'wd-col-picker': (typeof import('./types/components/wd-col-picker/wd-col-picker.vue'))['default']
|
|
16
|
+
'wd-collapse': (typeof import('./types/components/wd-collapse/wd-collapse.vue'))['default']
|
|
17
|
+
'wd-collapse-item': (typeof import('./types/components/wd-collapse-item/wd-collapse-item.vue'))['default']
|
|
18
|
+
'wd-config-provider': (typeof import('./types/components/wd-config-provider/wd-config-provider.vue'))['default']
|
|
19
|
+
'wd-curtain': (typeof import('./types/components/wd-curtain/wd-curtain.vue'))['default']
|
|
20
|
+
'wd-datetime-picker': (typeof import('./types/components/wd-datetime-picker/wd-datetime-picker.vue'))['default']
|
|
21
|
+
'wd-datetime-picker-view': (typeof import('./types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue'))['default']
|
|
22
|
+
'wd-divider': (typeof import('./types/components/wd-divider/wd-divider.vue'))['default']
|
|
23
|
+
'wd-drop-menu': (typeof import('./types/components/wd-drop-menu/wd-drop-menu.vue'))['default']
|
|
24
|
+
'wd-drop-menu-item': (typeof import('./types/components/wd-drop-menu-item/wd-drop-menu-item.vue'))['default']
|
|
25
|
+
'wd-grid': (typeof import('./types/components/wd-grid/wd-grid.vue'))['default']
|
|
26
|
+
'wd-gridItem': (typeof import('./types/components/wd-grid-item/wd-grid-item.vue'))['default']
|
|
27
|
+
'wd-icon': (typeof import('./types/components/wd-icon/wd-icon.vue'))['default']
|
|
28
|
+
'wd-img': (typeof import('./types/components/wd-img/wd-img.vue'))['default']
|
|
29
|
+
'wd-img-cropper': (typeof import('./types/components/wd-img-cropper/wd-img-cropper.vue'))['default']
|
|
30
|
+
'wd-input': (typeof import('./types/components/wd-input/wd-input.vue'))['default']
|
|
31
|
+
'wd-input-number': (typeof import('./types/components/wd-input-number/wd-input-number.vue'))['default']
|
|
32
|
+
'wd-loading': (typeof import('./types/components/wd-ioading/wd-ioading.vue'))['default']
|
|
33
|
+
'wd-loadmore': (typeof import('./types/components/wd-ioadmore/wd-ioadmore.vue'))['default']
|
|
34
|
+
'wd-message-box': (typeof import('./types/components/wd-message-box/wd-message-box.vue'))['default']
|
|
35
|
+
'wd-overlay': (typeof import('./types/components/wd-overlay/wd-overlay.vue'))['default']
|
|
36
|
+
'wd-notice-bar': (typeof import('./types/components/wd-notice-bar/wd-notice-bar.vue'))['default']
|
|
37
|
+
'wd-pagination': (typeof import('./types/components/wd-pagination/wd-pagination.vue'))['default']
|
|
38
|
+
'wd-picker': (typeof import('./types/components/wd-picker/wd-picker.vue'))['default']
|
|
39
|
+
'wd-picker-view': (typeof import('./types/components/wd-picker-view/wd-picker-view.vue'))['default']
|
|
40
|
+
'wd-popover': (typeof import('./types/components/wd-popover/wd-popover.vue'))['default']
|
|
41
|
+
'wd-popup': (typeof import('./types/components/wd-popup/wd-popup.vue'))['default']
|
|
42
|
+
'wd-progress': (typeof import('./types/components/wd-progress/wd-progress.vue'))['default']
|
|
43
|
+
'wd-radio': (typeof import('./types/components/wd-radio/wd-radio.vue'))['default']
|
|
44
|
+
'wd-radio-group': (typeof import('./types/components/wd-radio-group/wd-radio-group.vue'))['default']
|
|
45
|
+
'wd-rate': (typeof import('./types/components/wd-rate/wd-rate.vue'))['default']
|
|
46
|
+
'wd-resize': (typeof import('./types/components/wd-resize/wd-resize.vue'))['default']
|
|
47
|
+
'wd-row': (typeof import('./types/components/wd-row/wd-row.vue'))['default']
|
|
48
|
+
'wd-search': (typeof import('./types/components/wd-search/wd-search.vue'))['default']
|
|
49
|
+
'wd-select-picker': (typeof import('./types/components/wd-select-picker/wd-select-picker.vue'))['default']
|
|
50
|
+
'wd-slider': (typeof import('./types/components/wd-slider/wd-slider.vue'))['default']
|
|
51
|
+
'wd-sort-button': (typeof import('./types/components/wd-sort-button/wd-sort-button.vue'))['default']
|
|
52
|
+
'wd-status-tip': (typeof import('./types/components/wd-status-tip/wd-status-tip.vue'))['default']
|
|
53
|
+
'wd-step': (typeof import('./types/components/wd-step/wd-step.vue'))['default']
|
|
54
|
+
'wd-steps': (typeof import('./types/components/wd-steps/wd-steps.vue'))['default']
|
|
55
|
+
'wd-sticky': (typeof import('./types/components/wd-sticky/wd-sticky.vue'))['default']
|
|
56
|
+
'wd-sticky-box': (typeof import('./types/components/wd-sticky-box/wd-sticky-box.vue'))['default']
|
|
57
|
+
'wd-swipe-action': (typeof import('./types/components/wd-swipe-action/wd-swipe-action.vue'))['default']
|
|
58
|
+
'wd-switch': (typeof import('./types/components/wd-switch/wd-switch.vue'))['default']
|
|
59
|
+
'wd-tab': (typeof import('./types/components/wd-tab/wd-tab.vue'))['default']
|
|
60
|
+
'wd-tabs': (typeof import('./types/components/wd-tabs/wd-tabs.vue'))['default']
|
|
61
|
+
'wd-tag': (typeof import('./types/components/wd-tag/wd-tag.vue'))['default']
|
|
62
|
+
'wd-toast': (typeof import('./types/components/wd-toast/wd-toast.vue'))['default']
|
|
63
|
+
'wd-tooltip': (typeof import('./types/components/wd-tooltip/wd-tooltip.vue'))['default']
|
|
64
|
+
'wd-transition': (typeof import('./types/components/wd-transition/wd-transition.vue'))['default']
|
|
65
|
+
'wd-upload': (typeof import('./types/components/wd-upload/wd-upload.vue'))['default']
|
|
66
|
+
'wd-notify': (typeof import('./types/components/wd-notify/wd-notify.vue'))['default']
|
|
67
|
+
'wd-watermark': (typeof import('./types/components/wd-watermark/wd-watermark.vue'))['default']
|
|
68
|
+
'wd-circle': (typeof import('./types/components/wd-circle/wd-circle.vue'))['default']
|
|
69
|
+
'wd-swiper': (typeof import('./types/components/wd-swiper/wd-swiper.vue'))['default']
|
|
70
|
+
'wd-swiper-nav': (typeof import('./types/components/wd-swiper-nav/wd-swiper-nav.vue'))['default']
|
|
71
|
+
'wd-segmented': (typeof import('./types/components/wd-segmented/wd-segmented.vue'))['default']
|
|
72
|
+
'wd-tabbar': (typeof import('./types/components/wd-tabbar/wd-tabbar.vue'))['default']
|
|
73
|
+
'wd-tabbar-item': (typeof import('./types/components/wd-tabbar-item/wd-tabbar-item.vue'))['default']
|
|
74
|
+
'wd-navbar': (typeof import('./types/components/wd-navbar/wd-navbar.vue'))['default']
|
|
75
|
+
'wd-navbar-capsule': (typeof import('./types/components/wd-navbar-capsule/wd-navbar-capsule.vue'))['default']
|
|
76
|
+
'wd-table': (typeof import('./types/components/wd-table/wd-table.vue'))['default']
|
|
77
|
+
'wd-table-col': (typeof import('./types/components/wd-table-col/wd-table-col.vue'))['default']
|
|
78
|
+
'wd-sidebar': (typeof import('./types/components/wd-sidebar/wd-sidebar.vue'))['default']
|
|
79
|
+
'wd-sidebar-item': (typeof import('./types/components/wd-sidebar-item/wd-sidebar-item.vue'))['default']
|
|
80
|
+
'wd-Fab': (typeof import('./types/components/wd-fab/wd-fab.vue'))['default']
|
|
81
|
+
'wd-count-down': (typeof import('./types/components/wd-count-down/wd-count-down.vue'))['default']
|
|
82
|
+
'wd-number-keyboard': (typeof import('./types/components/wd-number-keyboard/wd-number-keyboard.vue'))['default']
|
|
83
|
+
'wd-gap': (typeof import('./types/components/wd-gap/wd-gap.vue'))['default']
|
|
84
|
+
'wd-password-input': (typeof import('./types/components/wd-password-input/wd-password-input.vue'))['default']
|
|
85
|
+
'wd-form': (typeof import('./types/components/wd-form/wd-form.vue'))['default']
|
|
86
|
+
'wd-textarea': (typeof import('./types/components/wd-textarea/wd-textarea.vue'))['default']
|
|
87
|
+
'wd-video-preview': (typeof import('./types/components/wd-video-preview/wd-video-preview.vue'))['default']
|
|
88
|
+
'wd-backtop': (typeof import('./types/components/wd-backtop/wd-backtop.vue'))['default']
|
|
89
|
+
'wd-skeleton': (typeof import('./types/components/wd-skeleton/wd-skeleton.vue'))['default']
|
|
90
|
+
'wd-index-bar': (typeof import('./types/components/wd-index-bar/wd-index-bar.vue'))['default']
|
|
91
|
+
'wd-index-anchor': (typeof import('./types/components/wd-index-anchor/wd-index-anchor.vue'))['default']
|
|
92
|
+
'wd-text': (typeof import('./types/components/wd-text/wd-text.vue'))['default']
|
|
93
|
+
'wd-count-to': (typeof import('./types/components/wd-count-to/wd-count-to.vue'))['default']
|
|
105
94
|
}
|
|
106
95
|
}
|
|
107
96
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "@tplc/wot",
|
|
3
3
|
"name": "@tplc/wot",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wot-design-uni",
|
|
7
7
|
"国际化",
|
|
@@ -16,5 +16,11 @@
|
|
|
16
16
|
"main": "index.ts",
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"vue": ">=3.2.47"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dts": "vue-tsc --project ./tsconfig.dts.json ",
|
|
22
|
+
"release-major": "standard-version --release-as major ",
|
|
23
|
+
"release-minor": "standard-version --release-as minor",
|
|
24
|
+
"release-patch": "standard-version --release-as patch "
|
|
19
25
|
}
|
|
20
26
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class AbortablePromise<T> {
|
|
2
|
+
promise: Promise<T>;
|
|
3
|
+
private _reject;
|
|
4
|
+
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void);
|
|
5
|
+
abort(error?: any): void;
|
|
6
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
7
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function encode(src: string, rfc4648?: boolean): string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare class Dayjs {
|
|
2
|
+
utc: boolean;
|
|
3
|
+
date: Date;
|
|
4
|
+
timeZone: number;
|
|
5
|
+
timeZoneString: any;
|
|
6
|
+
mYear: any;
|
|
7
|
+
mMonth: any;
|
|
8
|
+
mDay: any;
|
|
9
|
+
mWeek: any;
|
|
10
|
+
mHour: any;
|
|
11
|
+
mMinute: any;
|
|
12
|
+
mSecond: any;
|
|
13
|
+
constructor(dateStr?: string | number | Date);
|
|
14
|
+
parseConfig(dateStr?: string | number | Date): string | number | Date;
|
|
15
|
+
padNumber(num: string, length: number, padChar: string): string;
|
|
16
|
+
year(): any;
|
|
17
|
+
month(): any;
|
|
18
|
+
unix(): number;
|
|
19
|
+
toString(): string;
|
|
20
|
+
startOf(unit: string): Dayjs;
|
|
21
|
+
add(amount: number, unit: string): Dayjs;
|
|
22
|
+
subtract(amount: number, unit: string): Dayjs;
|
|
23
|
+
format(formatStr?: string): string;
|
|
24
|
+
}
|
|
25
|
+
export declare function dayjs(dateStr?: string | number | Date): Dayjs;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export declare const unknownProp: PropType<unknown>;
|
|
3
|
+
export declare const numericProp: (NumberConstructor | StringConstructor)[];
|
|
4
|
+
export declare const truthProp: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: true;
|
|
7
|
+
};
|
|
8
|
+
export declare const makeRequiredProp: <T>(type: T) => {
|
|
9
|
+
type: T;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
export declare const makeArrayProp: <T>() => {
|
|
13
|
+
type: PropType<T[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
export declare const makeBooleanProp: <T>(defaultVal: T) => {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: T;
|
|
19
|
+
};
|
|
20
|
+
export declare const makeNumberProp: <T>(defaultVal: T) => {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: T;
|
|
23
|
+
};
|
|
24
|
+
export declare const makeNumericProp: <T>(defaultVal: T) => {
|
|
25
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
+
default: T;
|
|
27
|
+
};
|
|
28
|
+
export declare const makeStringProp: <T>(defaultVal: T) => {
|
|
29
|
+
type: PropType<T>;
|
|
30
|
+
default: T;
|
|
31
|
+
};
|
|
32
|
+
export declare const baseProps: {
|
|
33
|
+
/**
|
|
34
|
+
* 自定义根节点样式
|
|
35
|
+
*/
|
|
36
|
+
customStyle: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 自定义根节点样式类
|
|
42
|
+
*/
|
|
43
|
+
customClass: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
};
|