vant 4.9.21 → 4.9.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-icon/ActionBarIcon.d.ts +4 -0
- package/es/action-bar-icon/ActionBarIcon.mjs +12 -4
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +3 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/index.d.ts +1 -1
- package/es/address-list/AddressListItem.d.ts +1 -1
- package/es/area/Area.d.ts +1 -1
- package/es/area/index.d.ts +1 -1
- package/es/calendar/index.css +1 -1
- package/es/composables/on-popup-reopen.mjs +1 -1
- package/es/composables/use-tab-status.mjs +2 -2
- package/es/composables/use-touch.mjs +4 -4
- package/es/date-picker/DatePicker.d.ts +1 -1
- package/es/date-picker/index.d.ts +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +1 -1
- package/es/field/Field.d.ts +5 -5
- package/es/field/Field.mjs +5 -4
- package/es/field/index.d.ts +3 -3
- package/es/field/types.d.ts +1 -0
- package/es/floating-panel/FloatingPanel.d.ts +26 -0
- package/es/floating-panel/FloatingPanel.mjs +26 -2
- package/es/floating-panel/index.css +1 -1
- package/es/floating-panel/index.d.ts +18 -0
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/index.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +13 -3
- package/es/list/List.mjs +5 -2
- package/es/list/index.d.ts +9 -2
- package/es/locale/lang/ar-SA.d.ts +1 -0
- package/es/locale/lang/ar-SA.mjs +10 -1
- package/es/locale/lang/bg-BG.d.ts +1 -0
- package/es/locale/lang/bg-BG.mjs +1 -0
- package/es/locale/lang/bn-BD.d.ts +1 -0
- package/es/locale/lang/bn-BD.mjs +1 -0
- package/es/locale/lang/da-DK.d.ts +1 -0
- package/es/locale/lang/da-DK.mjs +1 -0
- package/es/locale/lang/de-DE-formal.d.ts +1 -0
- package/es/locale/lang/de-DE-formal.mjs +1 -0
- package/es/locale/lang/de-DE.d.ts +1 -0
- package/es/locale/lang/de-DE.mjs +1 -0
- package/es/locale/lang/el-GR.d.ts +1 -0
- package/es/locale/lang/el-GR.mjs +1 -0
- package/es/locale/lang/en-US.d.ts +1 -0
- package/es/locale/lang/en-US.mjs +1 -0
- package/es/locale/lang/eo-EO.d.ts +1 -0
- package/es/locale/lang/eo-EO.mjs +1 -0
- package/es/locale/lang/es-ES.d.ts +1 -0
- package/es/locale/lang/es-ES.mjs +1 -0
- package/es/locale/lang/fa-IR.d.ts +1 -0
- package/es/locale/lang/fa-IR.mjs +1 -0
- package/es/locale/lang/fr-FR.d.ts +1 -0
- package/es/locale/lang/fr-FR.mjs +1 -0
- package/es/locale/lang/he-IL.d.ts +1 -0
- package/es/locale/lang/he-IL.mjs +1 -0
- package/es/locale/lang/hi-IN.d.ts +1 -0
- package/es/locale/lang/hi-IN.mjs +1 -0
- package/es/locale/lang/id-ID.d.ts +1 -0
- package/es/locale/lang/id-ID.mjs +1 -0
- package/es/locale/lang/is-IS.d.ts +1 -0
- package/es/locale/lang/is-IS.mjs +1 -0
- package/es/locale/lang/it-IT.d.ts +1 -0
- package/es/locale/lang/it-IT.mjs +1 -0
- package/es/locale/lang/ja-JP.d.ts +1 -0
- package/es/locale/lang/ja-JP.mjs +1 -0
- package/es/locale/lang/kk-KZ.d.ts +1 -0
- package/es/locale/lang/kk-KZ.mjs +1 -0
- package/es/locale/lang/km-KH.d.ts +1 -0
- package/es/locale/lang/km-KH.mjs +1 -0
- package/es/locale/lang/ko-KR.d.ts +1 -0
- package/es/locale/lang/ko-KR.mjs +1 -0
- package/es/locale/lang/la-LA.d.ts +1 -0
- package/es/locale/lang/la-LA.mjs +1 -0
- package/es/locale/lang/mm-MN.d.ts +1 -0
- package/es/locale/lang/mm-MN.mjs +1 -0
- package/es/locale/lang/nb-NO.d.ts +1 -0
- package/es/locale/lang/nb-NO.mjs +1 -0
- package/es/locale/lang/nl-NL.d.ts +1 -0
- package/es/locale/lang/nl-NL.mjs +1 -0
- package/es/locale/lang/pl-PL.d.ts +1 -0
- package/es/locale/lang/pl-PL.mjs +1 -0
- package/es/locale/lang/pt-BR.d.ts +1 -0
- package/es/locale/lang/pt-BR.mjs +1 -0
- package/es/locale/lang/ro-RO.d.ts +1 -0
- package/es/locale/lang/ro-RO.mjs +1 -0
- package/es/locale/lang/ru-RU.d.ts +1 -0
- package/es/locale/lang/ru-RU.mjs +1 -0
- package/es/locale/lang/sr-RS.d.ts +1 -0
- package/es/locale/lang/sr-RS.mjs +1 -0
- package/es/locale/lang/sv-SE.d.ts +1 -0
- package/es/locale/lang/sv-SE.mjs +1 -0
- package/es/locale/lang/th-TH.d.ts +1 -0
- package/es/locale/lang/th-TH.mjs +1 -0
- package/es/locale/lang/tr-TR.d.ts +1 -0
- package/es/locale/lang/tr-TR.mjs +1 -0
- package/es/locale/lang/uk-UA.d.ts +1 -0
- package/es/locale/lang/uk-UA.mjs +1 -0
- package/es/locale/lang/vi-VN.d.ts +1 -0
- package/es/locale/lang/vi-VN.mjs +1 -0
- package/es/locale/lang/zh-CN.d.ts +1 -0
- package/es/locale/lang/zh-CN.mjs +1 -0
- package/es/locale/lang/zh-HK.d.ts +1 -0
- package/es/locale/lang/zh-HK.mjs +1 -0
- package/es/locale/lang/zh-TW.d.ts +1 -0
- package/es/locale/lang/zh-TW.mjs +1 -0
- package/es/picker/Picker.d.ts +1 -1
- package/es/picker/index.d.ts +1 -1
- package/es/popup/index.d.ts +1 -0
- package/es/popup/index.mjs +7 -1
- package/es/progress/Progress.mjs +8 -4
- package/es/search/Search.d.ts +4 -4
- package/es/search/Search.mjs +1 -0
- package/es/search/index.d.ts +3 -3
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/index.d.ts +1 -1
- package/es/signature/Signature.d.ts +16 -0
- package/es/signature/Signature.mjs +32 -1
- package/es/signature/index.d.ts +11 -0
- package/es/signature/types.d.ts +1 -0
- package/es/stepper/Stepper.mjs +3 -0
- package/es/swipe-cell/SwipeCell.d.ts +16 -0
- package/es/swipe-cell/SwipeCell.mjs +7 -2
- package/es/swipe-cell/index.d.ts +11 -0
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/index.d.ts +1 -1
- package/es/time-picker/TimePicker.d.ts +1 -1
- package/es/time-picker/TimePicker.mjs +1 -1
- package/es/time-picker/index.d.ts +1 -1
- package/es/utils/constant.mjs +1 -1
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-icon/ActionBarIcon.d.ts +4 -0
- package/lib/action-bar-icon/ActionBarIcon.js +12 -4
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +3 -0
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/index.d.ts +1 -1
- package/lib/address-list/AddressListItem.d.ts +1 -1
- package/lib/area/Area.d.ts +1 -1
- package/lib/area/index.d.ts +1 -1
- package/lib/calendar/index.css +1 -1
- package/lib/composables/on-popup-reopen.js +1 -1
- package/lib/composables/use-tab-status.js +2 -2
- package/lib/composables/use-touch.js +4 -4
- package/lib/date-picker/DatePicker.d.ts +1 -1
- package/lib/date-picker/index.d.ts +1 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +1 -1
- package/lib/field/Field.d.ts +5 -5
- package/lib/field/Field.js +5 -4
- package/lib/field/index.d.ts +3 -3
- package/lib/field/types.d.ts +1 -0
- package/lib/floating-panel/FloatingPanel.d.ts +26 -0
- package/lib/floating-panel/FloatingPanel.js +26 -2
- package/lib/floating-panel/index.css +1 -1
- package/lib/floating-panel/index.d.ts +18 -0
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/index.d.ts +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +13 -3
- package/lib/list/List.js +5 -2
- package/lib/list/index.d.ts +9 -2
- package/lib/locale/lang/ar-SA.d.ts +1 -0
- package/lib/locale/lang/ar-SA.js +10 -1
- package/lib/locale/lang/bg-BG.d.ts +1 -0
- package/lib/locale/lang/bg-BG.js +1 -0
- package/lib/locale/lang/bn-BD.d.ts +1 -0
- package/lib/locale/lang/bn-BD.js +1 -0
- package/lib/locale/lang/da-DK.d.ts +1 -0
- package/lib/locale/lang/da-DK.js +1 -0
- package/lib/locale/lang/de-DE-formal.d.ts +1 -0
- package/lib/locale/lang/de-DE-formal.js +1 -0
- package/lib/locale/lang/de-DE.d.ts +1 -0
- package/lib/locale/lang/de-DE.js +1 -0
- package/lib/locale/lang/el-GR.d.ts +1 -0
- package/lib/locale/lang/el-GR.js +1 -0
- package/lib/locale/lang/en-US.d.ts +1 -0
- package/lib/locale/lang/en-US.js +1 -0
- package/lib/locale/lang/eo-EO.d.ts +1 -0
- package/lib/locale/lang/eo-EO.js +1 -0
- package/lib/locale/lang/es-ES.d.ts +1 -0
- package/lib/locale/lang/es-ES.js +1 -0
- package/lib/locale/lang/fa-IR.d.ts +1 -0
- package/lib/locale/lang/fa-IR.js +1 -0
- package/lib/locale/lang/fr-FR.d.ts +1 -0
- package/lib/locale/lang/fr-FR.js +1 -0
- package/lib/locale/lang/he-IL.d.ts +1 -0
- package/lib/locale/lang/he-IL.js +1 -0
- package/lib/locale/lang/hi-IN.d.ts +1 -0
- package/lib/locale/lang/hi-IN.js +1 -0
- package/lib/locale/lang/id-ID.d.ts +1 -0
- package/lib/locale/lang/id-ID.js +1 -0
- package/lib/locale/lang/is-IS.d.ts +1 -0
- package/lib/locale/lang/is-IS.js +1 -0
- package/lib/locale/lang/it-IT.d.ts +1 -0
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/ja-JP.d.ts +1 -0
- package/lib/locale/lang/ja-JP.js +1 -0
- package/lib/locale/lang/kk-KZ.d.ts +1 -0
- package/lib/locale/lang/kk-KZ.js +1 -0
- package/lib/locale/lang/km-KH.d.ts +1 -0
- package/lib/locale/lang/km-KH.js +1 -0
- package/lib/locale/lang/ko-KR.d.ts +1 -0
- package/lib/locale/lang/ko-KR.js +1 -0
- package/lib/locale/lang/la-LA.d.ts +1 -0
- package/lib/locale/lang/la-LA.js +1 -0
- package/lib/locale/lang/mm-MN.d.ts +1 -0
- package/lib/locale/lang/mm-MN.js +1 -0
- package/lib/locale/lang/nb-NO.d.ts +1 -0
- package/lib/locale/lang/nb-NO.js +1 -0
- package/lib/locale/lang/nl-NL.d.ts +1 -0
- package/lib/locale/lang/nl-NL.js +1 -0
- package/lib/locale/lang/pl-PL.d.ts +1 -0
- package/lib/locale/lang/pl-PL.js +1 -0
- package/lib/locale/lang/pt-BR.d.ts +1 -0
- package/lib/locale/lang/pt-BR.js +1 -0
- package/lib/locale/lang/ro-RO.d.ts +1 -0
- package/lib/locale/lang/ro-RO.js +1 -0
- package/lib/locale/lang/ru-RU.d.ts +1 -0
- package/lib/locale/lang/ru-RU.js +1 -0
- package/lib/locale/lang/sr-RS.d.ts +1 -0
- package/lib/locale/lang/sr-RS.js +1 -0
- package/lib/locale/lang/sv-SE.d.ts +1 -0
- package/lib/locale/lang/sv-SE.js +1 -0
- package/lib/locale/lang/th-TH.d.ts +1 -0
- package/lib/locale/lang/th-TH.js +1 -0
- package/lib/locale/lang/tr-TR.d.ts +1 -0
- package/lib/locale/lang/tr-TR.js +1 -0
- package/lib/locale/lang/uk-UA.d.ts +1 -0
- package/lib/locale/lang/uk-UA.js +1 -0
- package/lib/locale/lang/vi-VN.d.ts +1 -0
- package/lib/locale/lang/vi-VN.js +1 -0
- package/lib/locale/lang/zh-CN.d.ts +1 -0
- package/lib/locale/lang/zh-CN.js +1 -0
- package/lib/locale/lang/zh-HK.d.ts +1 -0
- package/lib/locale/lang/zh-HK.js +1 -0
- package/lib/locale/lang/zh-TW.d.ts +1 -0
- package/lib/locale/lang/zh-TW.js +1 -0
- package/lib/picker/Picker.d.ts +1 -1
- package/lib/picker/index.d.ts +1 -1
- package/lib/popup/index.d.ts +1 -0
- package/lib/popup/index.js +4 -1
- package/lib/progress/Progress.js +8 -4
- package/lib/search/Search.d.ts +4 -4
- package/lib/search/Search.js +1 -0
- package/lib/search/index.d.ts +3 -3
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/index.d.ts +1 -1
- package/lib/signature/Signature.d.ts +16 -0
- package/lib/signature/Signature.js +32 -1
- package/lib/signature/index.d.ts +11 -0
- package/lib/signature/types.d.ts +1 -0
- package/lib/stepper/Stepper.js +3 -0
- package/lib/swipe-cell/SwipeCell.d.ts +16 -0
- package/lib/swipe-cell/SwipeCell.js +7 -2
- package/lib/swipe-cell/index.d.ts +11 -0
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/time-picker/TimePicker.d.ts +1 -1
- package/lib/time-picker/TimePicker.js +1 -1
- package/lib/time-picker/index.d.ts +1 -1
- package/lib/utils/constant.js +1 -1
- package/lib/vant.cjs.js +108 -25
- package/lib/vant.es.js +108 -25
- package/lib/vant.js +118 -35
- package/lib/vant.min.js +3 -3
- package/lib/web-types.json +1 -1
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -122,18 +122,16 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
|
|
|
122
122
|
| Project | Description |
|
|
123
123
|
| --- | --- |
|
|
124
124
|
| [3lang3/react-vant](https://github.com/3lang3/react-vant) | React mobile UI Components based on Vant |
|
|
125
|
-
| [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Alipay MiniProgram UI |
|
|
126
125
|
| [vant-theme](https://github.com/Aisen60/vant-theme) | Online theme preview built on Vant UI |
|
|
127
126
|
| [@antmjs/vantui](https://github.com/antmjs/vantui) | Mobile UI Components based on Vant, supporting Taro and React |
|
|
128
127
|
| [Taroify](https://github.com/mallfoundry/taroify) | Taroify is the Taro version of Vant |
|
|
129
128
|
| [vant-playground](https://github.com/LadyChatterleyLover/vant-playground) | Vant Playground |
|
|
130
129
|
| [sfc-playground-vant](https://github.com/zhixiaoqiang/sfc-playground-vant) | Vant Playground |
|
|
131
130
|
| [vue3-h5-template](https://github.com/yulimchen/vue3-h5-template) | Mobile project template based on Vant |
|
|
132
|
-
| [vue3-vant-mobile](https://github.com/
|
|
131
|
+
| [vue3-vant-mobile](https://github.com/vue-zone/vue3-vant-mobile) | Mobile project template based on Vant, out of the box |
|
|
133
132
|
| [vscode-common-intellisense](https://github.com/Simon-He95/vscode-common-intellisense) | A VS Code extension that provides better intellisense to Vant developers |
|
|
134
|
-
| [nuxt-vant-mobile](https://github.com/
|
|
133
|
+
| [nuxt-vant-mobile](https://github.com/vue-zone/nuxt-vant-mobile) | Nuxt _⁴_ project template based on Vant, out of the box |
|
|
135
134
|
| [mobvue](https://github.com/un-pany/mobvue) | A well-crafted mobile web app template |
|
|
136
|
-
| [novlan1/press-ui](https://github.com/novlan1/press-ui) | Uni APP mobile UI Components based on Vant |
|
|
137
135
|
|
|
138
136
|
## Links
|
|
139
137
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media
|
|
1
|
+
:root,:host{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media(max-width:321px){.van-action-bar-button{font-size:13px}}
|
|
@@ -13,6 +13,7 @@ export declare const actionBarIconProps: {
|
|
|
13
13
|
iconClass: PropType<unknown>;
|
|
14
14
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
15
15
|
iconPrefix: StringConstructor;
|
|
16
|
+
disabled: BooleanConstructor;
|
|
16
17
|
};
|
|
17
18
|
export type ActionBarIconProps = ExtractPropTypes<typeof actionBarIconProps>;
|
|
18
19
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
@@ -28,6 +29,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
28
29
|
iconClass: PropType<unknown>;
|
|
29
30
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
30
31
|
iconPrefix: StringConstructor;
|
|
32
|
+
disabled: BooleanConstructor;
|
|
31
33
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
32
34
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
|
33
35
|
url: StringConstructor;
|
|
@@ -41,8 +43,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
41
43
|
iconClass: PropType<unknown>;
|
|
42
44
|
badgeProps: PropType<Partial<BadgeProps>>;
|
|
43
45
|
iconPrefix: StringConstructor;
|
|
46
|
+
disabled: BooleanConstructor;
|
|
44
47
|
}>> & Readonly<{}>, {
|
|
45
48
|
replace: boolean;
|
|
46
49
|
dot: boolean;
|
|
50
|
+
disabled: boolean;
|
|
47
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
52
|
export default _default;
|
|
@@ -14,7 +14,8 @@ const actionBarIconProps = extend({}, routeProps, {
|
|
|
14
14
|
badge: numericProp,
|
|
15
15
|
iconClass: unknownProp,
|
|
16
16
|
badgeProps: Object,
|
|
17
|
-
iconPrefix: String
|
|
17
|
+
iconPrefix: String,
|
|
18
|
+
disabled: Boolean
|
|
18
19
|
});
|
|
19
20
|
var stdin_default = defineComponent({
|
|
20
21
|
name,
|
|
@@ -54,11 +55,18 @@ var stdin_default = defineComponent({
|
|
|
54
55
|
"classPrefix": iconPrefix
|
|
55
56
|
}, null);
|
|
56
57
|
};
|
|
58
|
+
const onClick = () => {
|
|
59
|
+
if (!props.disabled) {
|
|
60
|
+
route();
|
|
61
|
+
}
|
|
62
|
+
};
|
|
57
63
|
return () => _createVNode("div", {
|
|
58
64
|
"role": "button",
|
|
59
|
-
"class": bem(
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
"class": bem({
|
|
66
|
+
disabled: props.disabled
|
|
67
|
+
}),
|
|
68
|
+
"tabindex": props.disabled ? -1 : 0,
|
|
69
|
+
"onClick": onClick
|
|
62
70
|
}, [renderIcon(), slots.default ? slots.default() : props.text]);
|
|
63
71
|
}
|
|
64
72
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
|
|
1
|
+
:root,:host{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon--disabled{color:var(--van-text-color-3);cursor:not-allowed}.van-action-bar-icon--disabled:active{background-color:transparent}.van-action-bar-icon--disabled .van-action-bar-icon__icon{color:var(--van-text-color-3)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
|
|
@@ -11,6 +11,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
|
11
11
|
iconClass: import("vue").PropType<unknown>;
|
|
12
12
|
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
|
13
13
|
iconPrefix: StringConstructor;
|
|
14
|
+
disabled: BooleanConstructor;
|
|
14
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
|
|
16
17
|
url: StringConstructor;
|
|
@@ -24,9 +25,11 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
|
24
25
|
iconClass: import("vue").PropType<unknown>;
|
|
25
26
|
badgeProps: import("vue").PropType<Partial<import("..").BadgeProps>>;
|
|
26
27
|
iconPrefix: StringConstructor;
|
|
28
|
+
disabled: BooleanConstructor;
|
|
27
29
|
}>> & Readonly<{}>, {
|
|
28
30
|
replace: boolean;
|
|
29
31
|
dot: boolean;
|
|
32
|
+
disabled: boolean;
|
|
30
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
31
34
|
export default ActionBarIcon;
|
|
32
35
|
export { actionBarIconProps } from './ActionBarIcon';
|
|
@@ -178,8 +178,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
178
178
|
};
|
|
179
179
|
}>> & Readonly<{
|
|
180
180
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
181
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
182
181
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
183
183
|
}>, {
|
|
184
184
|
round: boolean;
|
|
185
185
|
overlay: boolean;
|
|
@@ -110,8 +110,8 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
|
110
110
|
};
|
|
111
111
|
}>> & Readonly<{
|
|
112
112
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
114
113
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
115
115
|
}>, {
|
|
116
116
|
round: boolean;
|
|
117
117
|
overlay: boolean;
|
|
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
}>> & Readonly<{
|
|
37
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
38
37
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
disabled: boolean;
|
package/es/area/Area.d.ts
CHANGED
|
@@ -118,8 +118,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<import(".
|
|
|
118
118
|
};
|
|
119
119
|
}>> & Readonly<{
|
|
120
120
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
122
121
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
124
124
|
}>, {
|
|
125
125
|
readonly: boolean;
|
package/es/area/index.d.ts
CHANGED
|
@@ -76,8 +76,8 @@ export declare const Area: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
76
76
|
};
|
|
77
77
|
}>> & Readonly<{
|
|
78
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
79
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
81
81
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
82
82
|
}>, {
|
|
83
83
|
readonly: boolean;
|
package/es/calendar/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-header-action-width: 28px;--van-calendar-header-action-color: var(--van-text-color);--van-calendar-header-action-disabled-color: var(--van-text-color-3);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__header-subtitle--with-switch{display:flex;align-items:center;padding:0 var(--van-padding-base)}.van-calendar__header-subtitle-text{flex:1}.van-calendar__header-action{display:flex;align-items:center;justify-content:center;min-width:var(--van-calendar-header-action-width);height:100%;color:var(--van-calendar-header-action-color);cursor:pointer}.van-calendar__header-action--disabled{color:var(--van-calendar-header-action-disabled-color);cursor:not-allowed}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media
|
|
1
|
+
:root,:host{--van-calendar-background: var(--van-background-2);--van-calendar-popup-height: 80%;--van-calendar-header-shadow: 0 2px 10px rgba(125, 126, 128, .16);--van-calendar-header-title-height: 44px;--van-calendar-header-title-font-size: var(--van-font-size-lg);--van-calendar-header-subtitle-font-size: var(--van-font-size-md);--van-calendar-header-action-width: 28px;--van-calendar-header-action-color: var(--van-text-color);--van-calendar-header-action-disabled-color: var(--van-text-color-3);--van-calendar-weekdays-height: 30px;--van-calendar-weekdays-font-size: var(--van-font-size-sm);--van-calendar-month-title-font-size: var(--van-font-size-md);--van-calendar-month-mark-color: rgba(242, 243, 245, .8);--van-calendar-month-mark-font-size: 160px;--van-calendar-day-height: 64px;--van-calendar-day-font-size: var(--van-font-size-lg);--van-calendar-day-margin-bottom: 4px;--van-calendar-day-disabled-color: var(--van-text-color-3);--van-calendar-range-edge-color: var(--van-white);--van-calendar-range-edge-background: var(--van-primary-color);--van-calendar-range-middle-color: var(--van-primary-color);--van-calendar-range-middle-background-opacity: .1;--van-calendar-selected-day-size: 54px;--van-calendar-selected-day-color: var(--van-white);--van-calendar-selected-day-background: var(--van-primary-color);--van-calendar-info-font-size: var(--van-font-size-xs);--van-calendar-info-line-height: var(--van-line-height-xs);--van-calendar-confirm-button-height: 36px;--van-calendar-confirm-button-margin: 7px 0}.van-theme-dark{--van-calendar-month-mark-color: rgba(100, 101, 102, .2);--van-calendar-day-disabled-color: var(--van-gray-7)}.van-calendar{display:flex;flex-direction:column;height:100%;background:var(--van-calendar-background)}.van-calendar__popup.van-popup--top,.van-calendar__popup.van-popup--bottom{height:var(--van-calendar-popup-height)}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{flex-shrink:0;box-shadow:var(--van-calendar-header-shadow)}.van-calendar__month-title,.van-calendar__header-title,.van-calendar__header-subtitle{color:var(--van-text-color);height:var(--van-calendar-header-title-height);font-weight:var(--van-font-bold);line-height:var(--van-calendar-header-title-height);text-align:center}.van-calendar__header-title{font-size:var(--van-calendar-header-title-font-size)}.van-calendar__header-subtitle{font-size:var(--van-calendar-header-subtitle-font-size)}.van-calendar__header-subtitle--with-switch{display:flex;align-items:center;padding:0 var(--van-padding-base)}.van-calendar__header-subtitle-text{flex:1}.van-calendar__header-action{display:flex;align-items:center;justify-content:center;min-width:var(--van-calendar-header-action-width);height:100%;color:var(--van-calendar-header-action-color);cursor:pointer}.van-calendar__header-action--disabled{color:var(--van-calendar-header-action-disabled-color);cursor:not-allowed}.van-calendar__month-title{font-size:var(--van-calendar-month-title-font-size)}.van-calendar__weekdays{display:flex}.van-calendar__weekday{flex:1;font-size:var(--van-calendar-weekdays-font-size);line-height:var(--van-calendar-weekdays-height);text-align:center}.van-calendar__body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:flex;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:var(--van-calendar-month-mark-color);font-size:var(--van-calendar-month-mark-font-size);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:flex;align-items:center;justify-content:center;text-align:center}.van-calendar__day{position:relative;width:14.285%;height:var(--van-calendar-day-height);font-size:var(--van-calendar-day-font-size);margin-bottom:var(--van-calendar-day-margin-bottom);cursor:pointer}.van-calendar__day--end,.van-calendar__day--start,.van-calendar__day--start-end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected{color:var(--van-calendar-range-edge-color);background:var(--van-calendar-range-edge-background)}.van-calendar__day--start{border-radius:var(--van-radius-md) 0 0 var(--van-radius-md)}.van-calendar__day--end{border-radius:0 var(--van-radius-md) var(--van-radius-md) 0}.van-calendar__day--start-end,.van-calendar__day--multiple-selected{border-radius:var(--van-radius-md)}.van-calendar__day--middle{color:var(--van-calendar-range-middle-color)}.van-calendar__day--middle:after{position:absolute;top:0;right:0;bottom:0;left:0;background-color:currentColor;opacity:var(--van-calendar-range-middle-background-opacity);content:""}.van-calendar__day--disabled{color:var(--van-calendar-day-disabled-color);cursor:default}.van-calendar__top-info,.van-calendar__bottom-info{position:absolute;right:0;left:0;font-size:var(--van-calendar-info-font-size);line-height:var(--van-calendar-info-line-height)}@media(max-width:350px){.van-calendar__top-info,.van-calendar__bottom-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:var(--van-calendar-selected-day-size);height:var(--van-calendar-selected-day-size);color:var(--van-calendar-selected-day-color);background:var(--van-calendar-selected-day-background);border-radius:var(--van-radius-md)}.van-calendar__footer{flex-shrink:0;padding-left:var(--van-padding-md);padding-right:var(--van-padding-md)}.van-calendar__confirm{height:var(--van-calendar-confirm-button-height);margin:var(--van-calendar-confirm-button-margin)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject, provide, computed } from "vue";
|
|
2
|
-
const TAB_STATUS_KEY = Symbol();
|
|
3
|
-
const ALL_TAB_STATUS_KEY = Symbol();
|
|
2
|
+
const TAB_STATUS_KEY = /* @__PURE__ */ Symbol();
|
|
3
|
+
const ALL_TAB_STATUS_KEY = /* @__PURE__ */ Symbol();
|
|
4
4
|
const useTabStatus = () => inject(TAB_STATUS_KEY, null);
|
|
5
5
|
const useAllTabStatus = () => inject(ALL_TAB_STATUS_KEY, null);
|
|
6
6
|
const useProvideTabStatus = (status) => {
|
|
@@ -28,12 +28,12 @@ function useTouch() {
|
|
|
28
28
|
direction.value = "";
|
|
29
29
|
isTap.value = true;
|
|
30
30
|
};
|
|
31
|
-
const start = (event) => {
|
|
31
|
+
const start = ((event) => {
|
|
32
32
|
reset();
|
|
33
33
|
startX.value = event.touches[0].clientX;
|
|
34
34
|
startY.value = event.touches[0].clientY;
|
|
35
|
-
};
|
|
36
|
-
const move = (event) => {
|
|
35
|
+
});
|
|
36
|
+
const move = ((event) => {
|
|
37
37
|
const touch = event.touches[0];
|
|
38
38
|
deltaX.value = (touch.clientX < 0 ? 0 : touch.clientX) - startX.value;
|
|
39
39
|
deltaY.value = touch.clientY - startY.value;
|
|
@@ -46,7 +46,7 @@ function useTouch() {
|
|
|
46
46
|
if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
|
|
47
47
|
isTap.value = false;
|
|
48
48
|
}
|
|
49
|
-
};
|
|
49
|
+
});
|
|
50
50
|
return {
|
|
51
51
|
move,
|
|
52
52
|
start,
|
|
@@ -156,8 +156,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
156
156
|
};
|
|
157
157
|
}>> & Readonly<{
|
|
158
158
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
159
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
160
159
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
162
162
|
}>, {
|
|
163
163
|
formatter: (type: string, option: import("../picker").PickerOption) => import("../picker").PickerOption;
|
|
@@ -99,8 +99,8 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
|
99
99
|
};
|
|
100
100
|
}>> & Readonly<{
|
|
101
101
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
102
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
103
102
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
106
|
formatter: (type: string, option: import("..").PickerOption) => import("..").PickerOption;
|
package/es/dialog/Dialog.d.ts
CHANGED
|
@@ -184,8 +184,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
184
184
|
destroyOnClose: BooleanConstructor;
|
|
185
185
|
}>> & Readonly<{
|
|
186
186
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
187
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
188
187
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}>, {
|
|
191
191
|
overlay: boolean;
|
package/es/dialog/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media
|
|
1
|
+
:root,:host{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media(max-width:321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0;border-radius:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog--round-button .van-action-bar-button--first{border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-dialog--round-button .van-action-bar-button--last{border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}
|
package/es/dialog/index.d.ts
CHANGED
|
@@ -120,8 +120,8 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
|
120
120
|
destroyOnClose: BooleanConstructor;
|
|
121
121
|
}>> & Readonly<{
|
|
122
122
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
123
|
-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
124
123
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
|
125
125
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
overlay: boolean;
|
package/es/field/Field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type ExtractPropTypes, type HTMLAttributes } from 'vue';
|
|
2
|
-
import type { FieldRule, FieldType, FieldTextAlign, FieldClearTrigger, FieldFormatTrigger, FieldAutosizeConfig } from './types';
|
|
2
|
+
import type { FieldRule, FieldType, FieldTextAlign, FieldClearTrigger, FieldFormatTrigger, FieldAutosizeConfig, FieldEnterKeyHint } from './types';
|
|
3
3
|
export declare const fieldSharedProps: {
|
|
4
4
|
id: StringConstructor;
|
|
5
5
|
name: StringConstructor;
|
|
@@ -25,7 +25,7 @@ export declare const fieldSharedProps: {
|
|
|
25
25
|
autocapitalize: StringConstructor;
|
|
26
26
|
autocorrect: StringConstructor;
|
|
27
27
|
errorMessage: StringConstructor;
|
|
28
|
-
enterkeyhint:
|
|
28
|
+
enterkeyhint: PropType<FieldEnterKeyHint>;
|
|
29
29
|
clearTrigger: {
|
|
30
30
|
type: PropType<FieldClearTrigger>;
|
|
31
31
|
default: FieldClearTrigger;
|
|
@@ -107,7 +107,7 @@ export declare const fieldProps: {
|
|
|
107
107
|
autocapitalize: StringConstructor;
|
|
108
108
|
autocorrect: StringConstructor;
|
|
109
109
|
errorMessage: StringConstructor;
|
|
110
|
-
enterkeyhint:
|
|
110
|
+
enterkeyhint: PropType<FieldEnterKeyHint>;
|
|
111
111
|
clearTrigger: {
|
|
112
112
|
type: PropType<FieldClearTrigger>;
|
|
113
113
|
default: FieldClearTrigger;
|
|
@@ -207,7 +207,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
207
207
|
autocapitalize: StringConstructor;
|
|
208
208
|
autocorrect: StringConstructor;
|
|
209
209
|
errorMessage: StringConstructor;
|
|
210
|
-
enterkeyhint:
|
|
210
|
+
enterkeyhint: PropType<FieldEnterKeyHint>;
|
|
211
211
|
clearTrigger: {
|
|
212
212
|
type: PropType<FieldClearTrigger>;
|
|
213
213
|
default: FieldClearTrigger;
|
|
@@ -305,7 +305,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
305
305
|
autocapitalize: StringConstructor;
|
|
306
306
|
autocorrect: StringConstructor;
|
|
307
307
|
errorMessage: StringConstructor;
|
|
308
|
-
enterkeyhint:
|
|
308
|
+
enterkeyhint: PropType<FieldEnterKeyHint>;
|
|
309
309
|
clearTrigger: {
|
|
310
310
|
type: PropType<FieldClearTrigger>;
|
|
311
311
|
default: FieldClearTrigger;
|
package/es/field/Field.mjs
CHANGED
|
@@ -204,10 +204,11 @@ var stdin_default = defineComponent({
|
|
|
204
204
|
if (modelValue && getStringLength(modelValue) === +maxlength) {
|
|
205
205
|
return modelValue;
|
|
206
206
|
}
|
|
207
|
-
|
|
207
|
+
let selectionEnd = (_a = inputRef.value) == null ? void 0 : _a.selectionEnd;
|
|
208
208
|
if (state.focused && selectionEnd) {
|
|
209
209
|
const valueArr = [...value];
|
|
210
210
|
const exceededLength = valueArr.length - +maxlength;
|
|
211
|
+
selectionEnd = getStringLength(value.slice(0, selectionEnd));
|
|
211
212
|
valueArr.splice(selectionEnd - exceededLength, exceededLength);
|
|
212
213
|
return valueArr.join("");
|
|
213
214
|
}
|
|
@@ -219,7 +220,7 @@ var stdin_default = defineComponent({
|
|
|
219
220
|
var _a, _b;
|
|
220
221
|
const originalValue = value;
|
|
221
222
|
value = limitValueLength(value);
|
|
222
|
-
const limitDiffLen =
|
|
223
|
+
const limitDiffLen = originalValue.length - value.length;
|
|
223
224
|
if (props.type === "number" || props.type === "digit") {
|
|
224
225
|
const isNumber = props.type === "number";
|
|
225
226
|
value = formatNumber(value, isNumber, isNumber);
|
|
@@ -245,7 +246,7 @@ var stdin_default = defineComponent({
|
|
|
245
246
|
selectionEnd
|
|
246
247
|
} = inputRef.value;
|
|
247
248
|
const bcoVal = cutString(originalValue, selectionEnd);
|
|
248
|
-
formatterDiffLen =
|
|
249
|
+
formatterDiffLen = formatter(bcoVal).length - bcoVal.length;
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
if (inputRef.value && inputRef.value.value !== value) {
|
|
@@ -256,7 +257,7 @@ var stdin_default = defineComponent({
|
|
|
256
257
|
} = inputRef.value;
|
|
257
258
|
inputRef.value.value = value;
|
|
258
259
|
if (isDef(selectionStart) && isDef(selectionEnd)) {
|
|
259
|
-
const valueLen =
|
|
260
|
+
const valueLen = value.length;
|
|
260
261
|
if (limitDiffLen) {
|
|
261
262
|
selectionStart -= limitDiffLen;
|
|
262
263
|
selectionEnd -= limitDiffLen;
|
package/es/field/index.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
54
54
|
autocapitalize: StringConstructor;
|
|
55
55
|
autocorrect: StringConstructor;
|
|
56
56
|
errorMessage: StringConstructor;
|
|
57
|
-
enterkeyhint:
|
|
57
|
+
enterkeyhint: import("vue").PropType<import("./types").FieldEnterKeyHint>;
|
|
58
58
|
clearTrigger: {
|
|
59
59
|
type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
|
60
60
|
default: import("./types").FieldClearTrigger;
|
|
@@ -152,7 +152,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
152
152
|
autocapitalize: StringConstructor;
|
|
153
153
|
autocorrect: StringConstructor;
|
|
154
154
|
errorMessage: StringConstructor;
|
|
155
|
-
enterkeyhint:
|
|
155
|
+
enterkeyhint: import("vue").PropType<import("./types").FieldEnterKeyHint>;
|
|
156
156
|
clearTrigger: {
|
|
157
157
|
type: import("vue").PropType<import("./types").FieldClearTrigger>;
|
|
158
158
|
default: import("./types").FieldClearTrigger;
|
|
@@ -230,7 +230,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
|
|
|
230
230
|
export default Field;
|
|
231
231
|
export { fieldProps } from './Field';
|
|
232
232
|
export type { FieldProps };
|
|
233
|
-
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FieldRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, } from './types';
|
|
233
|
+
export type { FieldType, FieldRule, FieldInstance, FieldTextAlign, FieldThemeVars, FieldRuleMessage, FieldClearTrigger, FieldFormatTrigger, FieldRuleValidator, FieldRuleFormatter, FieldValidateError, FieldAutosizeConfig, FieldValidateTrigger, FieldValidationStatus, FieldEnterKeyHint, } from './types';
|
|
234
234
|
declare module 'vue' {
|
|
235
235
|
interface GlobalComponents {
|
|
236
236
|
VanField: typeof Field;
|
package/es/field/types.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type FieldTextAlign = 'left' | 'center' | 'right' | 'top';
|
|
|
5
5
|
export type FieldClearTrigger = 'always' | 'focus';
|
|
6
6
|
export type FieldFormatTrigger = 'onBlur' | 'onChange';
|
|
7
7
|
export type FieldValidateTrigger = 'onBlur' | 'onChange' | 'onSubmit';
|
|
8
|
+
export type FieldEnterKeyHint = 'search' | 'done' | 'enter' | 'go' | 'next' | 'previous' | 'send';
|
|
8
9
|
export type FieldAutosizeConfig = {
|
|
9
10
|
maxHeight?: number;
|
|
10
11
|
minHeight?: number;
|
|
@@ -12,6 +12,14 @@ export declare const floatingPanelProps: {
|
|
|
12
12
|
type: (NumberConstructor | StringConstructor)[];
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
|
+
magnetic: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: true;
|
|
18
|
+
};
|
|
19
|
+
draggable: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: true;
|
|
22
|
+
};
|
|
15
23
|
contentDraggable: {
|
|
16
24
|
type: BooleanConstructor;
|
|
17
25
|
default: true;
|
|
@@ -36,6 +44,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
36
44
|
type: (NumberConstructor | StringConstructor)[];
|
|
37
45
|
default: number;
|
|
38
46
|
};
|
|
47
|
+
magnetic: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: true;
|
|
50
|
+
};
|
|
51
|
+
draggable: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: true;
|
|
54
|
+
};
|
|
39
55
|
contentDraggable: {
|
|
40
56
|
type: BooleanConstructor;
|
|
41
57
|
default: true;
|
|
@@ -58,6 +74,14 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
58
74
|
type: (NumberConstructor | StringConstructor)[];
|
|
59
75
|
default: number;
|
|
60
76
|
};
|
|
77
|
+
magnetic: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: true;
|
|
80
|
+
};
|
|
81
|
+
draggable: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: true;
|
|
84
|
+
};
|
|
61
85
|
contentDraggable: {
|
|
62
86
|
type: BooleanConstructor;
|
|
63
87
|
default: true;
|
|
@@ -75,7 +99,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
75
99
|
safeAreaInsetBottom: boolean;
|
|
76
100
|
duration: string | number;
|
|
77
101
|
lockScroll: boolean;
|
|
102
|
+
magnetic: boolean;
|
|
78
103
|
anchors: number[];
|
|
104
|
+
draggable: boolean;
|
|
79
105
|
contentDraggable: boolean;
|
|
80
106
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
107
|
export default _default;
|
|
@@ -8,6 +8,8 @@ const floatingPanelProps = {
|
|
|
8
8
|
height: makeNumericProp(0),
|
|
9
9
|
anchors: makeArrayProp(),
|
|
10
10
|
duration: makeNumericProp(0.3),
|
|
11
|
+
magnetic: truthProp,
|
|
12
|
+
draggable: truthProp,
|
|
11
13
|
contentDraggable: truthProp,
|
|
12
14
|
lockScroll: Boolean,
|
|
13
15
|
safeAreaInsetBottom: truthProp
|
|
@@ -57,6 +59,7 @@ var stdin_default = defineComponent({
|
|
|
57
59
|
let maxScroll = -1;
|
|
58
60
|
const touch = useTouch();
|
|
59
61
|
const onTouchstart = (e) => {
|
|
62
|
+
if (!props.draggable) return;
|
|
60
63
|
touch.start(e);
|
|
61
64
|
dragging.value = true;
|
|
62
65
|
startY = -height.value;
|
|
@@ -64,6 +67,7 @@ var stdin_default = defineComponent({
|
|
|
64
67
|
};
|
|
65
68
|
const onTouchmove = (e) => {
|
|
66
69
|
var _a;
|
|
70
|
+
if (!props.draggable) return;
|
|
67
71
|
touch.move(e);
|
|
68
72
|
const target = e.target;
|
|
69
73
|
if (contentRef.value === target || ((_a = contentRef.value) == null ? void 0 : _a.contains(target))) {
|
|
@@ -83,8 +87,22 @@ var stdin_default = defineComponent({
|
|
|
83
87
|
};
|
|
84
88
|
const onTouchend = () => {
|
|
85
89
|
maxScroll = -1;
|
|
90
|
+
if (!dragging.value) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
86
93
|
dragging.value = false;
|
|
87
|
-
|
|
94
|
+
if (!props.draggable) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (props.magnetic) {
|
|
98
|
+
height.value = closest(anchors.value, height.value);
|
|
99
|
+
} else {
|
|
100
|
+
const {
|
|
101
|
+
min,
|
|
102
|
+
max
|
|
103
|
+
} = boundary.value;
|
|
104
|
+
height.value = Math.max(min, Math.min(max, height.value));
|
|
105
|
+
}
|
|
88
106
|
if (height.value !== -startY) {
|
|
89
107
|
emit("heightChange", {
|
|
90
108
|
height: height.value
|
|
@@ -104,6 +122,9 @@ var stdin_default = defineComponent({
|
|
|
104
122
|
if (slots.header) {
|
|
105
123
|
return slots.header();
|
|
106
124
|
}
|
|
125
|
+
if (!props.draggable) {
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
107
128
|
return _createVNode("div", {
|
|
108
129
|
"class": bem("header")
|
|
109
130
|
}, [_createVNode("div", {
|
|
@@ -123,7 +144,10 @@ var stdin_default = defineComponent({
|
|
|
123
144
|
"onTouchcancel": onTouchend
|
|
124
145
|
}, [renderHeader(), _createVNode("div", {
|
|
125
146
|
"class": bem("content"),
|
|
126
|
-
"ref": contentRef
|
|
147
|
+
"ref": contentRef,
|
|
148
|
+
"style": {
|
|
149
|
+
paddingBottom: addUnit(boundary.value.max - height.value)
|
|
150
|
+
}
|
|
127
151
|
}, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
|
|
128
152
|
};
|
|
129
153
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--van-floating-panel-border-radius: 16px;--van-floating-panel-header-height: 30px;--van-floating-panel-z-index: 999;--van-floating-panel-background: var(--van-background-2);--van-floating-panel-bar-width: 20px;--van-floating-panel-bar-height: 3px;--van-floating-panel-bar-color: var(--van-gray-5)}.van-floating-panel{position:fixed;left:0;bottom:0;width:100vw;z-index:var(--van-floating-panel-z-index);display:flex;flex-direction:column;touch-action:none;border-top-left-radius:var(--van-floating-panel-border-radius);border-top-right-radius:var(--van-floating-panel-border-radius);background:var(--van-floating-panel-background);will-change:transform}.van-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100vw;background-color:inherit}.van-floating-panel__header{height:var(--van-floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-floating-panel__header-bar{height:var(--van-floating-panel-bar-height);width:var(--van-floating-panel-bar-width);border-radius:var(--van-radius-md);background:var(--van-floating-panel-bar-color)}.van-floating-panel__content{flex:1;overflow-y:auto;background-color:var(--van-floating-panel-background)}
|
|
1
|
+
:root,:host{--van-floating-panel-border-radius: 16px;--van-floating-panel-header-height: 30px;--van-floating-panel-z-index: 999;--van-floating-panel-background: var(--van-background-2);--van-floating-panel-bar-width: 20px;--van-floating-panel-bar-height: 3px;--van-floating-panel-bar-color: var(--van-gray-5)}.van-floating-panel{position:fixed;left:0;bottom:0;width:100vw;z-index:var(--van-floating-panel-z-index);display:flex;flex-direction:column;touch-action:none;border-top-left-radius:var(--van-floating-panel-border-radius);border-top-right-radius:var(--van-floating-panel-border-radius);background:var(--van-floating-panel-background);will-change:transform}.van-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100vw;background-color:inherit}.van-floating-panel__header{height:var(--van-floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-floating-panel__header-bar{height:var(--van-floating-panel-bar-height);width:var(--van-floating-panel-bar-width);border-radius:var(--van-radius-md);background:var(--van-floating-panel-bar-color)}.van-floating-panel__content{flex:1;overflow-y:auto;background-color:var(--van-floating-panel-background);-webkit-overflow-scrolling:touch}
|
|
@@ -11,6 +11,14 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
|
11
11
|
type: (NumberConstructor | StringConstructor)[];
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
+
magnetic: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: true;
|
|
17
|
+
};
|
|
18
|
+
draggable: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: true;
|
|
21
|
+
};
|
|
14
22
|
contentDraggable: {
|
|
15
23
|
type: BooleanConstructor;
|
|
16
24
|
default: true;
|
|
@@ -33,6 +41,14 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
|
33
41
|
type: (NumberConstructor | StringConstructor)[];
|
|
34
42
|
default: number;
|
|
35
43
|
};
|
|
44
|
+
magnetic: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: true;
|
|
47
|
+
};
|
|
48
|
+
draggable: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: true;
|
|
51
|
+
};
|
|
36
52
|
contentDraggable: {
|
|
37
53
|
type: BooleanConstructor;
|
|
38
54
|
default: true;
|
|
@@ -50,7 +66,9 @@ export declare const FloatingPanel: import("../utils").WithInstall<import("vue")
|
|
|
50
66
|
safeAreaInsetBottom: boolean;
|
|
51
67
|
duration: string | number;
|
|
52
68
|
lockScroll: boolean;
|
|
69
|
+
magnetic: boolean;
|
|
53
70
|
anchors: number[];
|
|
71
|
+
draggable: boolean;
|
|
54
72
|
contentDraggable: boolean;
|
|
55
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
56
74
|
export default FloatingPanel;
|
package/es/grid/Grid.d.ts
CHANGED
|
@@ -66,8 +66,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
66
66
|
}>> & Readonly<{}>, {
|
|
67
67
|
reverse: boolean;
|
|
68
68
|
center: boolean;
|
|
69
|
-
border: boolean;
|
|
70
69
|
square: boolean;
|
|
70
|
+
border: boolean;
|
|
71
71
|
clickable: boolean;
|
|
72
72
|
columnNum: string | number;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/grid/index.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
|
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
40
|
reverse: boolean;
|
|
41
41
|
center: boolean;
|
|
42
|
-
border: boolean;
|
|
43
42
|
square: boolean;
|
|
43
|
+
border: boolean;
|
|
44
44
|
clickable: boolean;
|
|
45
45
|
columnNum: string | number;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
package/es/index.d.ts
CHANGED