@tplc/wot 0.1.2 → 0.1.4
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/components/wd-swiper/index.scss +4 -3
- package/components/wd-swiper/types.ts +9 -0
- package/components/wd-swiper/wd-swiper.vue +16 -2
- package/components/wd-tabs/wd-tabs.vue +3 -1
- package/components/wd-tooltip/wd-tooltip.vue +1 -1
- package/package.json +3 -2
- package/types/components/common/AbortablePromise.d.ts +16 -6
- package/types/components/common/base64.d.ts +1 -1
- package/types/components/common/canvasHelper.d.ts +1 -1
- package/types/components/common/clickoutside.d.ts +4 -4
- package/types/components/common/dayjs.d.ts +24 -24
- package/types/components/common/props.d.ts +39 -39
- package/types/components/common/util.d.ts +74 -54
- package/types/components/composables/useCell.d.ts +2 -2
- package/types/components/composables/useChildren.d.ts +28 -9
- package/types/components/composables/useCountDown.d.ts +17 -17
- package/types/components/composables/useLockScroll.d.ts +4 -4
- package/types/components/composables/useParent.d.ts +20 -14
- package/types/components/composables/usePopover.d.ts +39 -8
- package/types/components/composables/useQueue.d.ts +10 -10
- package/types/components/composables/useRaf.d.ts +5 -5
- package/types/components/composables/useTouch.d.ts +10 -10
- package/types/components/composables/useTranslate.d.ts +2 -2
- package/types/components/wd-action-sheet/types.d.ts +142 -142
- package/types/components/wd-action-sheet/wd-action-sheet.vue.d.ts +162 -143
- package/types/components/wd-backtop/types.d.ts +65 -65
- package/types/components/wd-backtop/wd-backtop.vue.d.ts +119 -100
- package/types/components/wd-badge/types.d.ts +52 -52
- package/types/components/wd-badge/wd-badge.vue.d.ts +89 -70
- package/types/components/wd-button/types.d.ts +132 -124
- package/types/components/wd-calendar/types.d.ts +283 -279
- package/types/components/wd-calendar/wd-calendar.vue.d.ts +342 -323
- package/types/components/wd-calendar-view/month/month.vue.d.ts +87 -71
- package/types/components/wd-calendar-view/month/types.d.ts +37 -37
- package/types/components/wd-calendar-view/monthPanel/month-panel.vue.d.ts +118 -102
- package/types/components/wd-calendar-view/monthPanel/types.d.ts +63 -63
- package/types/components/wd-calendar-view/types.d.ts +135 -126
- package/types/components/wd-calendar-view/utils.d.ts +42 -28
- package/types/components/wd-calendar-view/wd-calendar-view.vue.d.ts +144 -128
- package/types/components/wd-calendar-view/year/types.d.ts +33 -33
- package/types/components/wd-calendar-view/year/year.vue.d.ts +80 -64
- package/types/components/wd-calendar-view/yearPanel/types.d.ts +46 -46
- package/types/components/wd-calendar-view/yearPanel/year-panel.vue.d.ts +89 -73
- package/types/components/wd-card/types.d.ts +41 -41
- package/types/components/wd-card/wd-card.vue.d.ts +81 -62
- package/types/components/wd-cell/types.d.ts +128 -128
- package/types/components/wd-cell/wd-cell.vue.d.ts +181 -162
- package/types/components/wd-cell-group/types.d.ts +38 -38
- package/types/components/wd-cell-group/wd-cell-group.vue.d.ts +72 -53
- package/types/components/wd-checkbox/types.d.ts +73 -73
- package/types/components/wd-checkbox/wd-checkbox.vue.d.ts +124 -105
- package/types/components/wd-checkbox-group/types.d.ts +75 -75
- package/types/components/wd-checkbox-group/wd-checkbox-group.vue.d.ts +121 -102
- package/types/components/wd-circle/types.d.ts +76 -76
- package/types/components/wd-circle/wd-circle.vue.d.ts +124 -105
- package/types/components/wd-col/types.d.ts +25 -25
- package/types/components/wd-col/wd-col.vue.d.ts +66 -47
- package/types/components/wd-col-picker/types.d.ts +227 -223
- package/types/components/wd-col-picker/wd-col-picker.vue.d.ts +287 -268
- package/types/components/wd-collapse/types.d.ts +74 -67
- package/types/components/wd-collapse/wd-collapse.vue.d.ts +110 -91
- package/types/components/wd-collapse-item/types.d.ts +44 -44
- package/types/components/wd-collapse-item/wd-collapse-item.vue.d.ts +79 -64
- package/types/components/wd-config-provider/types.d.ts +872 -811
- package/types/components/wd-config-provider/wd-config-provider.vue.d.ts +66 -47
- package/types/components/wd-count-down/types.d.ts +53 -53
- package/types/components/wd-count-down/utils.d.ts +7 -7
- package/types/components/wd-count-down/wd-count-down.vue.d.ts +93 -76
- package/types/components/wd-count-to/types.d.ts +123 -123
- package/types/components/wd-count-to/wd-count-to.vue.d.ts +172 -153
- package/types/components/wd-curtain/types.d.ts +59 -52
- package/types/components/wd-curtain/wd-curtain.vue.d.ts +101 -85
- package/types/components/wd-datetime-picker/types.d.ts +306 -295
- package/types/components/wd-datetime-picker/wd-datetime-picker.vue.d.ts +384 -353
- package/types/components/wd-datetime-picker-view/types.d.ts +147 -139
- package/types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue.d.ts +182 -166
- package/types/components/wd-divider/types.d.ts +18 -18
- package/types/components/wd-divider/wd-divider.vue.d.ts +57 -38
- package/types/components/wd-drop-menu/types.d.ts +52 -52
- package/types/components/wd-drop-menu/wd-drop-menu.vue.d.ts +93 -74
- package/types/components/wd-drop-menu-item/types.d.ts +103 -103
- package/types/components/wd-drop-menu-item/wd-drop-menu-item.vue.d.ts +163 -144
- package/types/components/wd-fab/types.d.ts +86 -86
- package/types/components/wd-fab/wd-fab.vue.d.ts +145 -126
- package/types/components/wd-form/types.d.ts +80 -72
- package/types/components/wd-form/wd-form.vue.d.ts +90 -71
- package/types/components/wd-form-item/types.d.ts +31 -31
- package/types/components/wd-form-item/wd-form-item.vue.d.ts +91 -72
- package/types/components/wd-gap/types.d.ts +30 -30
- package/types/components/wd-gap/wd-gap.vue.d.ts +61 -45
- package/types/components/wd-grid/types.d.ts +57 -57
- package/types/components/wd-grid/wd-grid.vue.d.ts +88 -69
- package/types/components/wd-grid-item/types.d.ts +100 -100
- package/types/components/wd-grid-item/wd-grid-item.vue.d.ts +152 -133
- package/types/components/wd-icon/types.d.ts +31 -31
- package/types/components/wd-img/types.d.ts +72 -58
- package/types/components/wd-img/wd-img.vue.d.ts +110 -91
- package/types/components/wd-img-cropper/types.d.ts +99 -99
- package/types/components/wd-img-cropper/wd-img-cropper.vue.d.ts +129 -113
- package/types/components/wd-index-anchor/type.d.ts +15 -15
- package/types/components/wd-index-anchor/wd-index-anchor.vue.d.ts +54 -35
- package/types/components/wd-index-bar/type.d.ts +22 -22
- package/types/components/wd-index-bar/wd-index-bar.vue.d.ts +39 -20
- package/types/components/wd-input/types.d.ts +270 -270
- package/types/components/wd-input/wd-input.vue.d.ts +387 -368
- package/types/components/wd-input-number/types.d.ts +107 -107
- package/types/components/wd-input-number/wd-input-number.vue.d.ts +158 -142
- package/types/components/wd-loading/types.d.ts +33 -33
- package/types/components/wd-loading/wd-loading.vue.d.ts +61 -45
- package/types/components/wd-loadmore/types.d.ts +30 -30
- package/types/components/wd-loadmore/wd-loadmore.vue.d.ts +56 -40
- package/types/components/wd-message-box/index.d.ts +4 -4
- package/types/components/wd-message-box/types.d.ts +92 -92
- package/types/components/wd-message-box/wd-message-box.vue.d.ts +50 -31
- package/types/components/wd-navbar/types.d.ts +79 -79
- package/types/components/wd-navbar/wd-navbar.vue.d.ts +135 -116
- package/types/components/wd-navbar-capsule/wd-navbar-capsule.vue.d.ts +22 -8
- package/types/components/wd-notice-bar/types.d.ts +80 -80
- package/types/components/wd-notice-bar/wd-notice-bar.vue.d.ts +136 -117
- package/types/components/wd-notify/index.d.ts +7 -7
- package/types/components/wd-notify/types.d.ts +84 -84
- package/types/components/wd-notify/wd-notify.vue.d.ts +123 -104
- package/types/components/wd-number-keyboard/key/index.vue.d.ts +65 -49
- package/types/components/wd-number-keyboard/key/types.d.ts +22 -22
- package/types/components/wd-number-keyboard/types.d.ts +115 -115
- package/types/components/wd-number-keyboard/wd-number-keyboard.vue.d.ts +176 -157
- package/types/components/wd-overlay/types.d.ts +38 -38
- package/types/components/wd-overlay/wd-overlay.vue.d.ts +88 -69
- package/types/components/wd-pagination/types.d.ts +66 -66
- package/types/components/wd-pagination/wd-pagination.vue.d.ts +102 -86
- package/types/components/wd-password-input/types.d.ts +58 -58
- package/types/components/wd-password-input/wd-password-input.vue.d.ts +97 -81
- package/types/components/wd-picker/types.d.ts +239 -232
- package/types/components/wd-picker/wd-picker.vue.d.ts +300 -275
- package/types/components/wd-picker-view/types.d.ts +102 -89
- package/types/components/wd-picker-view/wd-picker-view.vue.d.ts +137 -109
- package/types/components/wd-popover/types.d.ts +96 -84
- package/types/components/wd-popover/wd-popover.vue.d.ts +156 -137
- package/types/components/wd-popup/types.d.ts +95 -95
- package/types/components/wd-popup/wd-popup.vue.d.ts +178 -159
- package/types/components/wd-progress/types.d.ts +43 -43
- package/types/components/wd-progress/wd-progress.vue.d.ts +71 -55
- package/types/components/wd-radio/types.d.ts +39 -39
- package/types/components/wd-radio/wd-radio.vue.d.ts +91 -72
- package/types/components/wd-radio-group/types.d.ts +52 -52
- package/types/components/wd-radio-group/wd-radio-group.vue.d.ts +103 -84
- package/types/components/wd-rate/types.d.ts +109 -109
- package/types/components/wd-rate/wd-rate.vue.d.ts +131 -115
- package/types/components/wd-resize/types.d.ts +13 -13
- package/types/components/wd-resize/wd-resize.vue.d.ts +61 -42
- package/types/components/wd-row/types.d.ts +22 -22
- package/types/components/wd-row/wd-row.vue.d.ts +57 -38
- package/types/components/wd-search/types.d.ts +103 -103
- package/types/components/wd-search/wd-search.vue.d.ts +150 -131
- package/types/components/wd-segmented/types.d.ts +66 -66
- package/types/components/wd-segmented/wd-segmented.vue.d.ts +103 -86
- package/types/components/wd-select-picker/types.d.ts +184 -178
- package/types/components/wd-select-picker/wd-select-picker.vue.d.ts +334 -315
- package/types/components/wd-sidebar/types.d.ts +22 -22
- package/types/components/wd-sidebar/wd-sidebar.vue.d.ts +63 -44
- package/types/components/wd-sidebar-item/types.d.ts +43 -43
- package/types/components/wd-sidebar-item/wd-sidebar-item.vue.d.ts +98 -79
- package/types/components/wd-skeleton/types.d.ts +69 -69
- package/types/components/wd-skeleton/wd-skeleton.vue.d.ts +86 -67
- package/types/components/wd-slider/types.d.ts +115 -115
- package/types/components/wd-slider/wd-slider.vue.d.ts +137 -121
- package/types/components/wd-sort-button/types.d.ts +57 -57
- package/types/components/wd-sort-button/wd-sort-button.vue.d.ts +83 -67
- package/types/components/wd-status-tip/types.d.ts +58 -58
- package/types/components/wd-status-tip/wd-status-tip.vue.d.ts +69 -53
- package/types/components/wd-step/types.d.ts +32 -32
- package/types/components/wd-step/wd-step.vue.d.ts +58 -39
- package/types/components/wd-steps/types.d.ts +57 -57
- package/types/components/wd-steps/wd-steps.vue.d.ts +86 -67
- package/types/components/wd-sticky/types.d.ts +23 -23
- package/types/components/wd-sticky/wd-sticky.vue.d.ts +77 -58
- package/types/components/wd-sticky-box/types.d.ts +8 -8
- package/types/components/wd-sticky-box/wd-sticky-box.vue.d.ts +48 -29
- package/types/components/wd-swipe-action/types.d.ts +44 -41
- package/types/components/wd-swipe-action/wd-swipe-action.vue.d.ts +79 -60
- package/types/components/wd-swiper/types.d.ts +231 -201
- package/types/components/wd-swiper/wd-swiper.vue.d.ts +272 -211
- package/types/components/wd-swiper-nav/types.d.ts +62 -62
- package/types/components/wd-swiper-nav/wd-swiper-nav.vue.d.ts +97 -81
- package/types/components/wd-switch/types.d.ts +63 -63
- package/types/components/wd-switch/wd-switch.vue.d.ts +91 -75
- package/types/components/wd-tab/types.d.ts +26 -26
- package/types/components/wd-tab/wd-tab.vue.d.ts +64 -45
- package/types/components/wd-tabbar/types.d.ts +85 -85
- package/types/components/wd-tabbar/wd-tabbar.vue.d.ts +121 -102
- package/types/components/wd-tabbar-item/types.d.ts +47 -47
- package/types/components/wd-tabbar-item/wd-tabbar-item.vue.d.ts +77 -60
- package/types/components/wd-table/types.d.ts +103 -93
- package/types/components/wd-table/wd-table.vue.d.ts +181 -136
- package/types/components/wd-table-col/types.d.ts +55 -55
- package/types/components/wd-table-col/wd-table-col.vue.d.ts +85 -69
- package/types/components/wd-tabs/types.d.ts +94 -94
- package/types/components/wd-tabs/wd-tabs.vue.d.ts +157 -138
- package/types/components/wd-tag/types.d.ts +103 -103
- package/types/components/wd-tag/wd-tag.vue.d.ts +148 -129
- package/types/components/wd-text/types.d.ts +127 -127
- package/types/components/wd-text/wd-text.vue.d.ts +149 -130
- package/types/components/wd-textarea/types.d.ts +362 -362
- package/types/components/wd-textarea/wd-textarea.vue.d.ts +408 -389
- package/types/components/wd-toast/index.d.ts +9 -9
- package/types/components/wd-toast/types.d.ts +58 -58
- package/types/components/wd-toast/wd-toast.vue.d.ts +45 -29
- package/types/components/wd-tooltip/types.d.ts +116 -104
- package/types/components/wd-tooltip/wd-tooltip.vue.d.ts +151 -132
- package/types/components/wd-transition/types.d.ts +108 -97
- package/types/components/wd-transition/wd-transition.vue.d.ts +154 -135
- package/types/components/wd-upload/types.d.ts +388 -376
- package/types/components/wd-upload/utils.d.ts +11 -2
- package/types/components/wd-upload/wd-upload.vue.d.ts +310 -282
- package/types/components/wd-video-preview/types.d.ts +19 -19
- package/types/components/wd-video-preview/wd-video-preview.vue.d.ts +41 -25
- package/types/components/wd-watermark/types.d.ts +130 -130
- package/types/components/wd-watermark/wd-watermark.vue.d.ts +173 -157
- package/types/locale/index.d.ts +8 -8
- package/types/locale/lang/zh-CN.d.ts +127 -127
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
@include b(swiper) {
|
|
5
5
|
position: relative;
|
|
6
|
+
|
|
6
7
|
@include e(track) {
|
|
7
8
|
overflow: hidden;
|
|
8
|
-
border-radius: $-swiper-radius;
|
|
9
|
+
// border-radius: $-swiper-radius;
|
|
9
10
|
transform: translateY(0);
|
|
10
11
|
}
|
|
11
12
|
|
|
@@ -13,11 +14,11 @@
|
|
|
13
14
|
box-sizing: border-box;
|
|
14
15
|
display: flex;
|
|
15
16
|
align-items: center;
|
|
16
|
-
padding: $-swiper-item-padding;
|
|
17
|
+
// padding: $-swiper-item-padding;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
@include e(image) {
|
|
20
21
|
width: 100%;
|
|
21
22
|
transition: all 0.3s ease;
|
|
22
23
|
}
|
|
23
|
-
}
|
|
24
|
+
}
|
|
@@ -179,11 +179,20 @@ export const swiperProps = {
|
|
|
179
179
|
*/
|
|
180
180
|
customPrevImageClass: makeStringProp(''),
|
|
181
181
|
|
|
182
|
+
customPrevImageHeight: makeNumberProp(undefined),
|
|
183
|
+
customNextImageHeight: makeNumberProp(undefined),
|
|
184
|
+
|
|
182
185
|
/**
|
|
183
186
|
* 自定义下一个图片类名
|
|
184
187
|
* 类型:string
|
|
185
188
|
*/
|
|
186
189
|
customNextImageClass: makeStringProp(''),
|
|
190
|
+
/** padding */
|
|
191
|
+
itemPadding: makeStringProp(''),
|
|
192
|
+
/** 图片圆角 */
|
|
193
|
+
imageRadius: makeStringProp(''),
|
|
194
|
+
|
|
195
|
+
radius: makeStringProp(''),
|
|
187
196
|
}
|
|
188
197
|
|
|
189
198
|
export type SwiperProps = ExtractPropTypes<typeof swiperProps>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:next-margin="nextMargin"
|
|
14
14
|
:snap-to-edge="snapToEdge"
|
|
15
15
|
:display-multiple-items="displayMultipleItems"
|
|
16
|
-
:style="{ height: addUnit(height) }"
|
|
16
|
+
:style="{ height: addUnit(height), borderRadius: radius }"
|
|
17
17
|
@change="handleChange"
|
|
18
18
|
@animationfinish="handleAnimationfinish"
|
|
19
19
|
>
|
|
@@ -21,12 +21,16 @@
|
|
|
21
21
|
v-for="(item, index) in list"
|
|
22
22
|
:key="index"
|
|
23
23
|
class="wd-swiper__item"
|
|
24
|
+
:style="{ padding: itemPadding }"
|
|
24
25
|
@click="handleClick(index, item)"
|
|
25
26
|
>
|
|
26
27
|
<image
|
|
27
28
|
:src="isObj(item) ? item[valueKey] : item"
|
|
28
29
|
:class="`wd-swiper__image ${customImageClass} ${getCustomImageClass(navCurrent, index, list)}`"
|
|
29
|
-
:style="{
|
|
30
|
+
:style="{
|
|
31
|
+
height: getCustomImageHeight(navCurrent, index, list),
|
|
32
|
+
borderRadius: imageRadius,
|
|
33
|
+
}"
|
|
30
34
|
:mode="imageMode"
|
|
31
35
|
/>
|
|
32
36
|
</swiper-item>
|
|
@@ -134,6 +138,16 @@ function getCustomImageClass(current: number, index: number, list: string[] | Sw
|
|
|
134
138
|
return customImageClass
|
|
135
139
|
}
|
|
136
140
|
|
|
141
|
+
function getCustomImageHeight(current: number, index: number, list: string[] | SwiperList[]) {
|
|
142
|
+
if (isPrev(current, index, list)) {
|
|
143
|
+
return addUnit(props.customPrevImageHeight || props.height)
|
|
144
|
+
}
|
|
145
|
+
if (isNext(current, index, list)) {
|
|
146
|
+
return addUnit(props.customNextImageHeight || props.height)
|
|
147
|
+
}
|
|
148
|
+
return addUnit(props.height)
|
|
149
|
+
}
|
|
150
|
+
|
|
137
151
|
/**
|
|
138
152
|
* 轮播滑块切换时触发
|
|
139
153
|
* @param e
|
|
@@ -505,7 +505,9 @@ function getActiveIndex(value: number | string) {
|
|
|
505
505
|
// name代表的索引超过了items的边界,自动用0兜底
|
|
506
506
|
if (isNumber(value) && value >= items.value.length) {
|
|
507
507
|
// eslint-disable-next-line prettier/prettier
|
|
508
|
-
console.error(
|
|
508
|
+
console.error(
|
|
509
|
+
"[wot design] warning(wd-tabs): the type of tabs' value is Number shouldn't be less than its children",
|
|
510
|
+
)
|
|
509
511
|
value = 0
|
|
510
512
|
}
|
|
511
513
|
// 如果是字符串直接匹配,匹配不到用0兜底
|
|
@@ -82,7 +82,7 @@ watch(
|
|
|
82
82
|
(newVal) => {
|
|
83
83
|
if (newVal === null || newVal === undefined) {
|
|
84
84
|
// eslint-disable-next-line prettier/prettier
|
|
85
|
-
console.error(
|
|
85
|
+
console.error("[wot-design] warning(wd-tooltip): content can't be null or undefined")
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "@tplc/wot",
|
|
3
3
|
"name": "@tplc/wot",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wot-design-uni",
|
|
7
7
|
"国际化",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"vue": ">=3.2.47"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"
|
|
17
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
18
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
18
19
|
"release-major": "standard-version --release-as major ",
|
|
19
20
|
"release-minor": "standard-version --release-as minor",
|
|
20
21
|
"release-patch": "standard-version --release-as patch "
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
export declare class AbortablePromise<T> {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
promise: Promise<T>
|
|
3
|
+
private _reject
|
|
4
|
+
constructor(
|
|
5
|
+
executor: (
|
|
6
|
+
resolve: (value: T | PromiseLike<T>) => void,
|
|
7
|
+
reject: (reason?: any) => void,
|
|
8
|
+
) => void,
|
|
9
|
+
)
|
|
10
|
+
abort(error?: any): void
|
|
11
|
+
then<TResult1 = T, TResult2 = never>(
|
|
12
|
+
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null,
|
|
13
|
+
onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null,
|
|
14
|
+
): Promise<TResult1 | TResult2>
|
|
15
|
+
catch<TResult = never>(
|
|
16
|
+
onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null,
|
|
17
|
+
): Promise<T | TResult>
|
|
8
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function encode(src: string, rfc4648?: boolean): string
|
|
1
|
+
export default function encode(src: string, rfc4648?: boolean): string
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function pushToQueue(comp: any): void
|
|
2
|
-
export declare function removeFromQueue(comp: any): void
|
|
3
|
-
export declare function closeOther(comp: any): void
|
|
4
|
-
export declare function closeOutside(): void
|
|
1
|
+
export declare function pushToQueue(comp: any): void
|
|
2
|
+
export declare function removeFromQueue(comp: any): void
|
|
3
|
+
export declare function closeOther(comp: any): void
|
|
4
|
+
export declare function closeOutside(): void
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
declare class Dayjs {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
24
|
}
|
|
25
|
-
export declare function dayjs(dateStr?: string | number | Date): Dayjs
|
|
26
|
-
export {}
|
|
25
|
+
export declare function dayjs(dateStr?: string | number | Date): Dayjs
|
|
26
|
+
export {}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import type { PropType } from 'vue'
|
|
2
|
-
export declare const unknownProp: PropType<unknown
|
|
3
|
-
export declare const numericProp: (NumberConstructor | StringConstructor)[]
|
|
1
|
+
import type { PropType } from 'vue'
|
|
2
|
+
export declare const unknownProp: PropType<unknown>
|
|
3
|
+
export declare const numericProp: (NumberConstructor | StringConstructor)[]
|
|
4
4
|
export declare const truthProp: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
type: BooleanConstructor
|
|
6
|
+
default: true
|
|
7
|
+
}
|
|
8
8
|
export declare const makeRequiredProp: <T>(type: T) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
9
|
+
type: T
|
|
10
|
+
required: true
|
|
11
|
+
}
|
|
12
12
|
export declare const makeArrayProp: <T>() => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
13
|
+
type: PropType<T[]>
|
|
14
|
+
default: () => never[]
|
|
15
|
+
}
|
|
16
16
|
export declare const makeBooleanProp: <T>(defaultVal: T) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
17
|
+
type: BooleanConstructor
|
|
18
|
+
default: T
|
|
19
|
+
}
|
|
20
20
|
export declare const makeNumberProp: <T>(defaultVal: T) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
type: NumberConstructor
|
|
22
|
+
default: T
|
|
23
|
+
}
|
|
24
24
|
export declare const makeNumericProp: <T>(defaultVal: T) => {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
25
|
+
type: (NumberConstructor | StringConstructor)[]
|
|
26
|
+
default: T
|
|
27
|
+
}
|
|
28
28
|
export declare const makeStringProp: <T>(defaultVal: T) => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
29
|
+
type: PropType<T>
|
|
30
|
+
default: T
|
|
31
|
+
}
|
|
32
32
|
export declare const baseProps: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
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
|
+
}
|
|
@@ -1,61 +1,64 @@
|
|
|
1
|
-
import { AbortablePromise } from './AbortablePromise'
|
|
2
|
-
type NotUndefined<T> = T extends undefined ? never : T
|
|
1
|
+
import { AbortablePromise } from './AbortablePromise'
|
|
2
|
+
type NotUndefined<T> = T extends undefined ? never : T
|
|
3
3
|
/**
|
|
4
4
|
* 生成uuid
|
|
5
5
|
* @returns string
|
|
6
6
|
*/
|
|
7
|
-
export declare function uuid(): string
|
|
7
|
+
export declare function uuid(): string
|
|
8
8
|
/**
|
|
9
9
|
* @description 对num自动填充px
|
|
10
10
|
* @param {Number} num
|
|
11
11
|
* @return {string} num+px
|
|
12
12
|
*/
|
|
13
|
-
export declare function addUnit(num: number | string): string
|
|
13
|
+
export declare function addUnit(num: number | string): string
|
|
14
14
|
/**
|
|
15
15
|
* @description 判断target是否对象
|
|
16
16
|
* @param value
|
|
17
17
|
* @return {boolean}
|
|
18
18
|
*/
|
|
19
|
-
export declare function isObj(value: any): value is object
|
|
19
|
+
export declare function isObj(value: any): value is object
|
|
20
20
|
/**
|
|
21
21
|
* 获取目标原始类型
|
|
22
22
|
* @param target 任意类型
|
|
23
23
|
* @returns {string} type 数据类型
|
|
24
24
|
*/
|
|
25
|
-
export declare function getType(target: unknown): string
|
|
25
|
+
export declare function getType(target: unknown): string
|
|
26
26
|
/**
|
|
27
27
|
* @description 默认的外部格式化函数 - picker 组件
|
|
28
28
|
* @param items - 要格式化的数据项数组或单个数据项
|
|
29
29
|
* @param kv - 配置对象,包含 labelKey 作为键值
|
|
30
30
|
* @returns 格式化后的字符串
|
|
31
31
|
*/
|
|
32
|
-
export declare const defaultDisplayFormat: (
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
export declare const defaultDisplayFormat: (
|
|
33
|
+
items: any[] | Record<string, any>,
|
|
34
|
+
kv?: {
|
|
35
|
+
labelKey?: string
|
|
36
|
+
},
|
|
37
|
+
) => string
|
|
35
38
|
/**
|
|
36
39
|
* @description 默认函数占位符 - pickerView组件
|
|
37
40
|
* @param value 值
|
|
38
41
|
* @return value
|
|
39
42
|
*/
|
|
40
|
-
export declare const defaultFunction: <T>(value: T) => T
|
|
43
|
+
export declare const defaultFunction: <T>(value: T) => T
|
|
41
44
|
/**
|
|
42
45
|
* @description 检查值是否不为空
|
|
43
46
|
* @param value 值
|
|
44
47
|
* @return {Boolean} 是否不为空
|
|
45
48
|
*/
|
|
46
|
-
export declare const isDef: <T>(value: T) => value is NonNullable<T
|
|
49
|
+
export declare const isDef: <T>(value: T) => value is NonNullable<T>
|
|
47
50
|
/**
|
|
48
51
|
* @description 防止数字小于零
|
|
49
52
|
* @param {number} num
|
|
50
53
|
* @param {string} label 标签
|
|
51
54
|
*/
|
|
52
|
-
export declare const checkNumRange: (num: number, label?: string) => void
|
|
55
|
+
export declare const checkNumRange: (num: number, label?: string) => void
|
|
53
56
|
/**
|
|
54
57
|
* @description 防止 pixel 无意义
|
|
55
58
|
* @param {number} num
|
|
56
59
|
* @param {string} label 标签
|
|
57
60
|
*/
|
|
58
|
-
export declare const checkPixelRange: (num: number, label?: string) => void
|
|
61
|
+
export declare const checkPixelRange: (num: number, label?: string) => void
|
|
59
62
|
/**
|
|
60
63
|
* 将 RGB 值转换为十六进制颜色代码。
|
|
61
64
|
* @param {number} r - 红色分量 (0-255)。
|
|
@@ -63,7 +66,7 @@ export declare const checkPixelRange: (num: number, label?: string) => void;
|
|
|
63
66
|
* @param {number} b - 蓝色分量 (0-255)。
|
|
64
67
|
* @returns {string} 十六进制颜色代码 (#RRGGBB)。
|
|
65
68
|
*/
|
|
66
|
-
export declare function rgbToHex(r: number, g: number, b: number): string
|
|
69
|
+
export declare function rgbToHex(r: number, g: number, b: number): string
|
|
67
70
|
/**
|
|
68
71
|
* 计算渐变色的中间变量数组。
|
|
69
72
|
* @param {string} startColor 开始颜色
|
|
@@ -71,7 +74,7 @@ export declare function rgbToHex(r: number, g: number, b: number): string;
|
|
|
71
74
|
* @param {number} step 获取渲染位置,默认为中间位置
|
|
72
75
|
* @returns {string[]} 渐变色中间颜色变量数组
|
|
73
76
|
*/
|
|
74
|
-
export declare const gradient: (startColor: string, endColor: string, step?: number) => string[]
|
|
77
|
+
export declare const gradient: (startColor: string, endColor: string, step?: number) => string[]
|
|
75
78
|
/**
|
|
76
79
|
* 确保数值不超出指定范围。
|
|
77
80
|
* @param {number} num 要限制范围的数值
|
|
@@ -79,26 +82,26 @@ export declare const gradient: (startColor: string, endColor: string, step?: num
|
|
|
79
82
|
* @param {number} max 最大范围
|
|
80
83
|
* @returns {number} 在指定范围内的数值
|
|
81
84
|
*/
|
|
82
|
-
export declare const range: (num: number, min: number, max: number) => number
|
|
85
|
+
export declare const range: (num: number, min: number, max: number) => number
|
|
83
86
|
/**
|
|
84
87
|
* 比较两个值是否相等。
|
|
85
88
|
* @param {any} value1 第一个值
|
|
86
89
|
* @param {any} value2 第二个值
|
|
87
90
|
* @returns {boolean} 如果值相等则为 true,否则为 false
|
|
88
91
|
*/
|
|
89
|
-
export declare const isEqual: (value1: any, value2: any) => boolean
|
|
92
|
+
export declare const isEqual: (value1: any, value2: any) => boolean
|
|
90
93
|
/**
|
|
91
94
|
* 在数字前补零,使其达到指定长度。
|
|
92
95
|
* @param {number | string} number 要补零的数字
|
|
93
96
|
* @param {number} length 目标长度,默认为 2
|
|
94
97
|
* @returns {string} 补零后的结果
|
|
95
98
|
*/
|
|
96
|
-
export declare const padZero: (number: number | string, length?: number) => string
|
|
99
|
+
export declare const padZero: (number: number | string, length?: number) => string
|
|
97
100
|
/** @description 全局变量id */
|
|
98
101
|
export declare const context: {
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
export type RectResultType<T extends boolean> = T extends true ? UniApp.NodeInfo[] : UniApp.NodeInfo
|
|
102
|
+
id: number
|
|
103
|
+
}
|
|
104
|
+
export type RectResultType<T extends boolean> = T extends true ? UniApp.NodeInfo[] : UniApp.NodeInfo
|
|
102
105
|
/**
|
|
103
106
|
* 获取节点信息
|
|
104
107
|
* @param selector 节点选择器 #id,.class
|
|
@@ -106,151 +109,168 @@ export type RectResultType<T extends boolean> = T extends true ? UniApp.NodeInfo
|
|
|
106
109
|
* @param scope 作用域(支付宝小程序无效)
|
|
107
110
|
* @returns 节点信息或节点信息数组
|
|
108
111
|
*/
|
|
109
|
-
export declare function getRect<T extends boolean>(
|
|
112
|
+
export declare function getRect<T extends boolean>(
|
|
113
|
+
selector: string,
|
|
114
|
+
all: T,
|
|
115
|
+
scope?: any,
|
|
116
|
+
): Promise<RectResultType<T>>
|
|
110
117
|
/**
|
|
111
118
|
* 将驼峰命名转换为短横线命名。
|
|
112
119
|
* @param {string} word 待转换的词条
|
|
113
120
|
* @returns {string} 转换后的结果
|
|
114
121
|
*/
|
|
115
|
-
export declare function kebabCase(word: string): string
|
|
122
|
+
export declare function kebabCase(word: string): string
|
|
116
123
|
/**
|
|
117
124
|
* 将短横线链接转换为驼峰命名
|
|
118
125
|
* @param word 需要转换的短横线链接
|
|
119
126
|
* @returns 转换后的驼峰命名字符串
|
|
120
127
|
*/
|
|
121
|
-
export declare function camelCase(word: string): string
|
|
128
|
+
export declare function camelCase(word: string): string
|
|
122
129
|
/**
|
|
123
130
|
* 检查给定值是否为数组。
|
|
124
131
|
* @param {any} value 要检查的值
|
|
125
132
|
* @returns {boolean} 如果是数组则返回 true,否则返回 false
|
|
126
133
|
*/
|
|
127
|
-
export declare function isArray(value: any): value is Array<any
|
|
134
|
+
export declare function isArray(value: any): value is Array<any>
|
|
128
135
|
/**
|
|
129
136
|
* 检查给定值是否为函数。
|
|
130
137
|
* @param {any} value 要检查的值
|
|
131
138
|
* @returns {boolean} 如果是函数则返回 true,否则返回 false
|
|
132
139
|
*/
|
|
133
|
-
export declare function isFunction<T extends Function>(value: any): value is T
|
|
140
|
+
export declare function isFunction<T extends Function>(value: any): value is T
|
|
134
141
|
/**
|
|
135
142
|
* 检查给定值是否为字符串。
|
|
136
143
|
* @param {unknown} value 要检查的值
|
|
137
144
|
* @returns {value is string} 如果是字符串则返回 true,否则返回 false
|
|
138
145
|
*/
|
|
139
|
-
export declare function isString(value: unknown): value is string
|
|
146
|
+
export declare function isString(value: unknown): value is string
|
|
140
147
|
/**
|
|
141
148
|
* 否是数值
|
|
142
149
|
* @param {*} value
|
|
143
150
|
*/
|
|
144
|
-
export declare function isNumber(value: any): value is number
|
|
151
|
+
export declare function isNumber(value: any): value is number
|
|
145
152
|
/**
|
|
146
153
|
* 检查给定值是否为 Promise 对象。
|
|
147
154
|
* @param {unknown} value 要检查的值
|
|
148
155
|
* @returns {value is Promise<any>} 如果是 Promise 对象则返回 true,否则返回 false
|
|
149
156
|
*/
|
|
150
|
-
export declare function isPromise(value: unknown): value is Promise<any
|
|
157
|
+
export declare function isPromise(value: unknown): value is Promise<any>
|
|
151
158
|
/**
|
|
152
159
|
* 检查给定的值是否为布尔类型
|
|
153
160
|
* @param value 要检查的值
|
|
154
161
|
* @returns 如果值为布尔类型,则返回true,否则返回false
|
|
155
162
|
*/
|
|
156
|
-
export declare function isBoolean(value: any): value is boolean
|
|
157
|
-
export declare function isUndefined(value: any): value is undefined
|
|
158
|
-
export declare function isNotUndefined<T>(value: T): value is NotUndefined<T
|
|
163
|
+
export declare function isBoolean(value: any): value is boolean
|
|
164
|
+
export declare function isUndefined(value: any): value is undefined
|
|
165
|
+
export declare function isNotUndefined<T>(value: T): value is NotUndefined<T>
|
|
159
166
|
/**
|
|
160
167
|
* 检查给定的值是否为奇数
|
|
161
168
|
* @param value 要检查的值
|
|
162
169
|
* @returns
|
|
163
170
|
*/
|
|
164
|
-
export declare function isOdd(value: number): boolean
|
|
171
|
+
export declare function isOdd(value: number): boolean
|
|
165
172
|
/**
|
|
166
173
|
* 是否为base64图片
|
|
167
174
|
* @param {string} url
|
|
168
175
|
* @return
|
|
169
176
|
*/
|
|
170
|
-
export declare function isBase64Image(url: string): boolean
|
|
177
|
+
export declare function isBase64Image(url: string): boolean
|
|
171
178
|
/**
|
|
172
179
|
* 将外部传入的样式格式化为可读的 CSS 样式。
|
|
173
180
|
* @param {object | object[]} styles 外部传入的样式对象或数组
|
|
174
181
|
* @returns {string} 格式化后的 CSS 样式字符串
|
|
175
182
|
*/
|
|
176
|
-
export declare function objToStyle(styles: Record<string, any> | Record<string, any>[]): string
|
|
177
|
-
export declare const requestAnimationFrame: (cb?: () => void) => AbortablePromise<unknown
|
|
183
|
+
export declare function objToStyle(styles: Record<string, any> | Record<string, any>[]): string
|
|
184
|
+
export declare const requestAnimationFrame: (cb?: () => void) => AbortablePromise<unknown>
|
|
178
185
|
/**
|
|
179
186
|
* 暂停指定时间函数
|
|
180
187
|
* @param ms 延迟时间
|
|
181
188
|
* @returns
|
|
182
189
|
*/
|
|
183
|
-
export declare const pause: (ms: number) => AbortablePromise<unknown
|
|
190
|
+
export declare const pause: (ms: number) => AbortablePromise<unknown>
|
|
184
191
|
/**
|
|
185
192
|
* 深拷贝函数,用于将对象进行完整复制。
|
|
186
193
|
* @param obj 要深拷贝的对象
|
|
187
194
|
* @param cache 用于缓存已复制的对象,防止循环引用
|
|
188
195
|
* @returns 深拷贝后的对象副本
|
|
189
196
|
*/
|
|
190
|
-
export declare function deepClone<T>(obj: T, cache?: Map<any, any>): T
|
|
197
|
+
export declare function deepClone<T>(obj: T, cache?: Map<any, any>): T
|
|
191
198
|
/**
|
|
192
199
|
* 深度合并两个对象。
|
|
193
200
|
* @param target 目标对象,将合并的结果存放在此对象中
|
|
194
201
|
* @param source 源对象,要合并到目标对象的对象
|
|
195
202
|
* @returns 合并后的目标对象
|
|
196
203
|
*/
|
|
197
|
-
export declare function deepMerge<T extends Record<string, any>>(
|
|
204
|
+
export declare function deepMerge<T extends Record<string, any>>(
|
|
205
|
+
target: T,
|
|
206
|
+
source: Record<string, any>,
|
|
207
|
+
): T
|
|
198
208
|
/**
|
|
199
209
|
* 深度合并两个对象。
|
|
200
210
|
* @param target
|
|
201
211
|
* @param source
|
|
202
212
|
* @returns
|
|
203
213
|
*/
|
|
204
|
-
export declare function deepAssign(
|
|
214
|
+
export declare function deepAssign(
|
|
215
|
+
target: Record<string, any>,
|
|
216
|
+
source: Record<string, any>,
|
|
217
|
+
): Record<string, any>
|
|
205
218
|
/**
|
|
206
219
|
* 构建带参数的URL
|
|
207
220
|
* @param baseUrl 基础URL
|
|
208
221
|
* @param params 参数对象,键值对表示要添加到URL的参数
|
|
209
222
|
* @returns 返回带有参数的URL
|
|
210
223
|
*/
|
|
211
|
-
export declare function buildUrlWithParams(baseUrl: string, params: Record<string, string>): string
|
|
224
|
+
export declare function buildUrlWithParams(baseUrl: string, params: Record<string, string>): string
|
|
212
225
|
type DebounceOptions = {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
export declare function debounce<T extends (...args: any[]) => any>(
|
|
217
|
-
|
|
226
|
+
leading?: boolean
|
|
227
|
+
trailing?: boolean
|
|
228
|
+
}
|
|
229
|
+
export declare function debounce<T extends (...args: any[]) => any>(
|
|
230
|
+
func: T,
|
|
231
|
+
wait: number,
|
|
232
|
+
options?: DebounceOptions,
|
|
233
|
+
): T
|
|
234
|
+
export declare function throttle(func: Function, wait: number): Function
|
|
218
235
|
/**
|
|
219
236
|
* 根据属性路径获取对象中的属性值
|
|
220
237
|
* @param obj 目标对象
|
|
221
238
|
* @param path 属性路径,可以是字符串或字符串数组
|
|
222
239
|
* @returns 属性值,如果属性不存在或中间的属性为 null 或 undefined,则返回 undefined
|
|
223
240
|
*/
|
|
224
|
-
export declare const getPropByPath: (obj: any, path: string) => any
|
|
241
|
+
export declare const getPropByPath: (obj: any, path: string) => any
|
|
225
242
|
/**
|
|
226
243
|
* 检查一个值是否为Date类型
|
|
227
244
|
* @param val 要检查的值
|
|
228
245
|
* @returns 如果值是Date类型,则返回true,否则返回false
|
|
229
246
|
*/
|
|
230
|
-
export declare const isDate: (val: unknown) => val is Date
|
|
247
|
+
export declare const isDate: (val: unknown) => val is Date
|
|
231
248
|
/**
|
|
232
249
|
* 检查提供的URL是否为视频链接。
|
|
233
250
|
* @param url 需要检查的URL字符串。
|
|
234
251
|
* @returns 返回一个布尔值,如果URL是视频链接则为true,否则为false。
|
|
235
252
|
*/
|
|
236
|
-
export declare function isVideoUrl(url: string): boolean
|
|
253
|
+
export declare function isVideoUrl(url: string): boolean
|
|
237
254
|
/**
|
|
238
255
|
* 检查提供的URL是否为图片URL。
|
|
239
256
|
* @param url 待检查的URL字符串。
|
|
240
257
|
* @returns 返回一个布尔值,如果URL是图片格式,则为true;否则为false。
|
|
241
258
|
*/
|
|
242
|
-
export declare function isImageUrl(url: string): boolean
|
|
259
|
+
export declare function isImageUrl(url: string): boolean
|
|
243
260
|
/**
|
|
244
261
|
* 判断环境是否是H5
|
|
245
262
|
*/
|
|
246
|
-
export declare const isH5: boolean
|
|
263
|
+
export declare const isH5: boolean
|
|
247
264
|
/**
|
|
248
265
|
* 剔除对象中的某些属性
|
|
249
266
|
* @param obj
|
|
250
267
|
* @param predicate
|
|
251
268
|
* @returns
|
|
252
269
|
*/
|
|
253
|
-
export declare function omitBy<O extends Record<string, any>>(
|
|
270
|
+
export declare function omitBy<O extends Record<string, any>>(
|
|
271
|
+
obj: O,
|
|
272
|
+
predicate: (value: any, key: keyof O) => boolean,
|
|
273
|
+
): Partial<O>
|
|
254
274
|
/**
|
|
255
275
|
* 缓动函数,用于在动画或过渡效果中根据时间参数计算当前值
|
|
256
276
|
* @param t 当前时间,通常是从动画开始经过的时间
|
|
@@ -259,5 +279,5 @@ export declare function omitBy<O extends Record<string, any>>(obj: O, predicate:
|
|
|
259
279
|
* @param d 持续时间,动画持续的总时间长度
|
|
260
280
|
* @returns 计算出的当前值
|
|
261
281
|
*/
|
|
262
|
-
export declare function easingFn(t?: number, b?: number, c?: number, d?: number): number
|
|
263
|
-
export {}
|
|
282
|
+
export declare function easingFn(t?: number, b?: number, c?: number, d?: number): number
|
|
283
|
+
export {}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare function useCell(): {
|
|
2
|
-
|
|
3
|
-
}
|
|
2
|
+
border: import('vue').ComputedRef<any>
|
|
3
|
+
}
|