vant 4.6.6 → 4.6.8

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.
Files changed (136) hide show
  1. package/README.md +1 -1
  2. package/es/action-sheet/ActionSheet.d.ts +1 -1
  3. package/es/action-sheet/index.d.ts +1 -1
  4. package/es/address-edit/AddressEditDetail.d.ts +1 -1
  5. package/es/address-list/AddressList.d.ts +1 -1
  6. package/es/address-list/index.d.ts +1 -1
  7. package/es/button/Button.d.ts +2 -2
  8. package/es/button/index.d.ts +2 -2
  9. package/es/calendar/Calendar.d.ts +1 -1
  10. package/es/calendar/index.d.ts +1 -1
  11. package/es/cell/Cell.d.ts +1 -1
  12. package/es/cell/index.css +1 -1
  13. package/es/cell/index.d.ts +1 -1
  14. package/es/cell-group/CellGroup.d.ts +1 -1
  15. package/es/cell-group/index.d.ts +1 -1
  16. package/es/checkbox/Checkbox.d.ts +13 -0
  17. package/es/checkbox/Checkbox.mjs +11 -2
  18. package/es/checkbox/Checker.d.ts +9 -0
  19. package/es/checkbox/Checker.mjs +10 -4
  20. package/es/checkbox/index.css +1 -1
  21. package/es/checkbox/index.d.ts +9 -0
  22. package/es/collapse-item/CollapseItem.d.ts +1 -1
  23. package/es/collapse-item/index.d.ts +1 -1
  24. package/es/config-provider/ConfigProvider.d.ts +14 -0
  25. package/es/config-provider/ConfigProvider.mjs +35 -2
  26. package/es/config-provider/index.d.ts +10 -1
  27. package/es/config-provider/types.d.ts +61 -1
  28. package/es/contact-list/ContactList.d.ts +1 -1
  29. package/es/contact-list/index.d.ts +1 -1
  30. package/es/divider/Divider.d.ts +1 -1
  31. package/es/divider/index.d.ts +1 -1
  32. package/es/field/Field.d.ts +1 -1
  33. package/es/field/index.d.ts +1 -1
  34. package/es/grid/Grid.d.ts +1 -1
  35. package/es/grid/index.d.ts +1 -1
  36. package/es/image/Image.d.ts +1 -1
  37. package/es/image/index.d.ts +1 -1
  38. package/es/index.d.ts +1 -1
  39. package/es/index.mjs +1 -1
  40. package/es/nav-bar/NavBar.d.ts +8 -0
  41. package/es/nav-bar/NavBar.mjs +18 -4
  42. package/es/nav-bar/index.css +1 -1
  43. package/es/nav-bar/index.d.ts +6 -0
  44. package/es/number-keyboard/NumberKeyboard.d.ts +2 -2
  45. package/es/number-keyboard/index.d.ts +2 -2
  46. package/es/popup/Popup.d.ts +1 -1
  47. package/es/popup/index.d.ts +1 -1
  48. package/es/share-sheet/ShareSheet.d.ts +1 -1
  49. package/es/share-sheet/index.d.ts +1 -1
  50. package/es/signature/Signature.d.ts +1 -1
  51. package/es/signature/index.d.ts +1 -1
  52. package/es/skeleton/Skeleton.d.ts +1 -1
  53. package/es/skeleton/index.d.ts +1 -1
  54. package/es/slider/Slider.d.ts +1 -1
  55. package/es/slider/index.d.ts +1 -1
  56. package/es/space/Space.d.ts +4 -4
  57. package/es/space/index.d.ts +3 -3
  58. package/es/stepper/Stepper.d.ts +2 -2
  59. package/es/stepper/index.d.ts +2 -2
  60. package/es/tabs/Tabs.d.ts +1 -1
  61. package/es/tabs/index.d.ts +1 -1
  62. package/es/tag/Tag.d.ts +1 -1
  63. package/es/tag/index.d.ts +1 -1
  64. package/es/uploader/Uploader.d.ts +1 -1
  65. package/es/uploader/index.d.ts +1 -1
  66. package/lib/action-sheet/ActionSheet.d.ts +1 -1
  67. package/lib/action-sheet/index.d.ts +1 -1
  68. package/lib/address-edit/AddressEditDetail.d.ts +1 -1
  69. package/lib/address-list/AddressList.d.ts +1 -1
  70. package/lib/address-list/index.d.ts +1 -1
  71. package/lib/button/Button.d.ts +2 -2
  72. package/lib/button/index.d.ts +2 -2
  73. package/lib/calendar/Calendar.d.ts +1 -1
  74. package/lib/calendar/index.d.ts +1 -1
  75. package/lib/cell/Cell.d.ts +1 -1
  76. package/lib/cell/index.css +1 -1
  77. package/lib/cell/index.d.ts +1 -1
  78. package/lib/cell-group/CellGroup.d.ts +1 -1
  79. package/lib/cell-group/index.d.ts +1 -1
  80. package/lib/checkbox/Checkbox.d.ts +13 -0
  81. package/lib/checkbox/Checkbox.js +11 -2
  82. package/lib/checkbox/Checker.d.ts +9 -0
  83. package/lib/checkbox/Checker.js +10 -4
  84. package/lib/checkbox/index.css +1 -1
  85. package/lib/checkbox/index.d.ts +9 -0
  86. package/lib/collapse-item/CollapseItem.d.ts +1 -1
  87. package/lib/collapse-item/index.d.ts +1 -1
  88. package/lib/config-provider/ConfigProvider.d.ts +14 -0
  89. package/lib/config-provider/ConfigProvider.js +35 -2
  90. package/lib/config-provider/index.d.ts +10 -1
  91. package/lib/config-provider/types.d.ts +61 -1
  92. package/lib/contact-list/ContactList.d.ts +1 -1
  93. package/lib/contact-list/index.d.ts +1 -1
  94. package/lib/divider/Divider.d.ts +1 -1
  95. package/lib/divider/index.d.ts +1 -1
  96. package/lib/field/Field.d.ts +1 -1
  97. package/lib/field/index.d.ts +1 -1
  98. package/lib/grid/Grid.d.ts +1 -1
  99. package/lib/grid/index.d.ts +1 -1
  100. package/lib/image/Image.d.ts +1 -1
  101. package/lib/image/index.d.ts +1 -1
  102. package/lib/index.css +1 -1
  103. package/lib/index.d.ts +1 -1
  104. package/lib/index.js +1 -1
  105. package/lib/nav-bar/NavBar.d.ts +8 -0
  106. package/lib/nav-bar/NavBar.js +18 -4
  107. package/lib/nav-bar/index.css +1 -1
  108. package/lib/nav-bar/index.d.ts +6 -0
  109. package/lib/number-keyboard/NumberKeyboard.d.ts +2 -2
  110. package/lib/number-keyboard/index.d.ts +2 -2
  111. package/lib/popup/Popup.d.ts +1 -1
  112. package/lib/popup/index.d.ts +1 -1
  113. package/lib/share-sheet/ShareSheet.d.ts +1 -1
  114. package/lib/share-sheet/index.d.ts +1 -1
  115. package/lib/signature/Signature.d.ts +1 -1
  116. package/lib/signature/index.d.ts +1 -1
  117. package/lib/skeleton/Skeleton.d.ts +1 -1
  118. package/lib/skeleton/index.d.ts +1 -1
  119. package/lib/slider/Slider.d.ts +1 -1
  120. package/lib/slider/index.d.ts +1 -1
  121. package/lib/space/Space.d.ts +4 -4
  122. package/lib/space/index.d.ts +3 -3
  123. package/lib/stepper/Stepper.d.ts +2 -2
  124. package/lib/stepper/index.d.ts +2 -2
  125. package/lib/tabs/Tabs.d.ts +1 -1
  126. package/lib/tabs/index.d.ts +1 -1
  127. package/lib/tag/Tag.d.ts +1 -1
  128. package/lib/tag/index.d.ts +1 -1
  129. package/lib/uploader/Uploader.d.ts +1 -1
  130. package/lib/uploader/index.d.ts +1 -1
  131. package/lib/vant.cjs.js +75 -13
  132. package/lib/vant.es.js +75 -13
  133. package/lib/vant.js +75 -13
  134. package/lib/vant.min.js +1 -1
  135. package/lib/web-types.json +1 -1
  136. package/package.json +18 -10
@@ -84,11 +84,11 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
84
84
  tag: keyof HTMLElementTagNameMap;
85
85
  round: boolean;
86
86
  disabled: boolean;
87
+ block: boolean;
87
88
  size: import("./types").ButtonSize;
89
+ square: boolean;
88
90
  loading: boolean;
89
- block: boolean;
90
91
  plain: boolean;
91
- square: boolean;
92
92
  hairline: boolean;
93
93
  nativeType: import("./types").ButtonNativeType;
94
94
  iconPosition: import("./types").ButtonIconPosition;
@@ -270,9 +270,9 @@ declare const _default: import("vue").DefineComponent<{
270
270
  type: CalendarType;
271
271
  position: PopupPosition;
272
272
  round: boolean;
273
+ show: boolean;
273
274
  readonly: boolean;
274
275
  safeAreaInsetBottom: boolean;
275
- show: boolean;
276
276
  lazyRender: boolean;
277
277
  closeOnClickOverlay: boolean;
278
278
  closeOnPopstate: boolean;
@@ -180,9 +180,9 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
180
180
  type: import("./types").CalendarType;
181
181
  position: import("..").PopupPosition;
182
182
  round: boolean;
183
+ show: boolean;
183
184
  readonly: boolean;
184
185
  safeAreaInsetBottom: boolean;
185
- show: boolean;
186
186
  lazyRender: boolean;
187
187
  closeOnClickOverlay: boolean;
188
188
  closeOnPopstate: boolean;
@@ -128,8 +128,8 @@ declare const _default: import("vue").DefineComponent<{
128
128
  replace: boolean;
129
129
  tag: keyof HTMLElementTagNameMap;
130
130
  center: boolean;
131
- isLink: boolean;
132
131
  border: boolean;
132
+ isLink: boolean;
133
133
  required: boolean;
134
134
  clickable: boolean | null;
135
135
  }, {}>;
@@ -1 +1 @@
1
- :root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md)}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}
1
+ :root{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-value-font-size: inherit;--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: inherit}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);font-size:var(--van-cell-value-font-size);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}
@@ -64,8 +64,8 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
64
64
  replace: boolean;
65
65
  tag: keyof HTMLElementTagNameMap;
66
66
  center: boolean;
67
- isLink: boolean;
68
67
  border: boolean;
68
+ isLink: boolean;
69
69
  required: boolean;
70
70
  clickable: boolean | null;
71
71
  }, {}>>;
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: true;
24
24
  };
25
25
  }>>, {
26
- border: boolean;
27
26
  inset: boolean;
27
+ border: boolean;
28
28
  }, {}>;
29
29
  export default _default;
@@ -13,8 +13,8 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").Def
13
13
  default: true;
14
14
  };
15
15
  }>>, {
16
- border: boolean;
17
16
  inset: boolean;
17
+ border: boolean;
18
18
  }, {}>>;
19
19
  export default CellGroup;
20
20
  export { cellGroupProps } from './CellGroup';
@@ -14,6 +14,10 @@ export declare const checkboxProps: {
14
14
  type: BooleanConstructor;
15
15
  default: true;
16
16
  };
17
+ indeterminate: {
18
+ type: PropType<boolean | null>;
19
+ default: null;
20
+ };
17
21
  };
18
22
  export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
19
23
  declare const _default: import("vue").DefineComponent<{
@@ -30,6 +34,10 @@ declare const _default: import("vue").DefineComponent<{
30
34
  type: BooleanConstructor;
31
35
  default: true;
32
36
  };
37
+ indeterminate: {
38
+ type: PropType<boolean | null>;
39
+ default: null;
40
+ };
33
41
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
34
42
  name: PropType<unknown>;
35
43
  disabled: BooleanConstructor;
@@ -44,6 +52,10 @@ declare const _default: import("vue").DefineComponent<{
44
52
  type: BooleanConstructor;
45
53
  default: true;
46
54
  };
55
+ indeterminate: {
56
+ type: PropType<boolean | null>;
57
+ default: null;
58
+ };
47
59
  }>> & {
48
60
  onChange?: ((...args: any[]) => any) | undefined;
49
61
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -51,5 +63,6 @@ declare const _default: import("vue").DefineComponent<{
51
63
  disabled: boolean;
52
64
  labelDisabled: boolean;
53
65
  bindGroup: boolean;
66
+ indeterminate: boolean | null;
54
67
  }, {}>;
55
68
  export default _default;
@@ -41,7 +41,11 @@ var import_Checker = __toESM(require("./Checker"));
41
41
  const [name, bem] = (0, import_utils.createNamespace)("checkbox");
42
42
  const checkboxProps = (0, import_utils.extend)({}, import_Checker.checkerProps, {
43
43
  shape: String,
44
- bindGroup: import_utils.truthProp
44
+ bindGroup: import_utils.truthProp,
45
+ indeterminate: {
46
+ type: Boolean,
47
+ default: null
48
+ }
45
49
  });
46
50
  var stdin_default = (0, import_vue2.defineComponent)({
47
51
  name,
@@ -93,8 +97,13 @@ var stdin_default = (0, import_vue2.defineComponent)({
93
97
  } else {
94
98
  emit("update:modelValue", newValue);
95
99
  }
100
+ if (props.indeterminate !== null)
101
+ emit("change", newValue);
96
102
  };
97
- (0, import_vue2.watch)(() => props.modelValue, (value) => emit("change", value));
103
+ (0, import_vue2.watch)(() => props.modelValue, (value) => {
104
+ if (props.indeterminate === null)
105
+ emit("change", value);
106
+ });
98
107
  (0, import_use_expose.useExpose)({
99
108
  toggle,
100
109
  props,
@@ -45,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
45
45
  type: BooleanConstructor;
46
46
  default: true;
47
47
  };
48
+ indeterminate: {
49
+ type: PropType<boolean | null>;
50
+ default: null;
51
+ };
48
52
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "toggle")[], "click" | "toggle", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
53
  name: PropType<unknown>;
50
54
  disabled: BooleanConstructor;
@@ -66,6 +70,10 @@ declare const _default: import("vue").DefineComponent<{
66
70
  type: BooleanConstructor;
67
71
  default: true;
68
72
  };
73
+ indeterminate: {
74
+ type: PropType<boolean | null>;
75
+ default: null;
76
+ };
69
77
  }>> & {
70
78
  onClick?: ((...args: any[]) => any) | undefined;
71
79
  onToggle?: ((...args: any[]) => any) | undefined;
@@ -74,5 +82,6 @@ declare const _default: import("vue").DefineComponent<{
74
82
  disabled: boolean;
75
83
  labelDisabled: boolean;
76
84
  bindGroup: boolean;
85
+ indeterminate: boolean | null;
77
86
  }, {}>;
78
87
  export default _default;
@@ -41,7 +41,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
41
41
  shape: String,
42
42
  parent: Object,
43
43
  checked: Boolean,
44
- bindGroup: import_utils.truthProp
44
+ bindGroup: import_utils.truthProp,
45
+ indeterminate: {
46
+ type: Boolean,
47
+ default: null
48
+ }
45
49
  }),
46
50
  emits: ["click", "toggle"],
47
51
  setup(props, {
@@ -95,14 +99,16 @@ var stdin_default = (0, import_vue2.defineComponent)({
95
99
  var _a, _b;
96
100
  const {
97
101
  bem,
98
- checked
102
+ checked,
103
+ indeterminate
99
104
  } = props;
100
105
  const iconSize = props.iconSize || getParentProp("iconSize");
101
106
  return (0, import_vue.createVNode)("div", {
102
107
  "ref": iconRef,
103
108
  "class": bem("icon", [shape.value, {
104
109
  disabled: disabled.value,
105
- checked
110
+ checked,
111
+ indeterminate
106
112
  }]),
107
113
  "style": shape.value !== "dot" ? {
108
114
  fontSize: (0, import_utils.addUnit)(iconSize)
@@ -115,7 +121,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
115
121
  checked,
116
122
  disabled: disabled.value
117
123
  }) : shape.value !== "dot" ? (0, import_vue.createVNode)(import_icon.Icon, {
118
- "name": "success",
124
+ "name": indeterminate ? "minus" : "success",
119
125
  "style": iconStyle.value
120
126
  }, null) : (0, import_vue.createVNode)("div", {
121
127
  "class": bem("icon--dot__icon"),
@@ -1 +1 @@
1
- :root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}
1
+ :root{--van-checkbox-size: 20px;--van-checkbox-border-color: var(--van-gray-5);--van-checkbox-duration: var(--van-duration-fast);--van-checkbox-label-margin: var(--van-padding-xs);--van-checkbox-label-color: var(--van-text-color);--van-checkbox-checked-icon-color: var(--van-primary-color);--van-checkbox-disabled-icon-color: var(--van-gray-5);--van-checkbox-disabled-label-color: var(--van-text-color-3);--van-checkbox-disabled-background: var(--van-border-color)}.van-checkbox{display:flex;align-items:center;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none}.van-checkbox--disabled{cursor:not-allowed}.van-checkbox--label-disabled{cursor:default}.van-checkbox--horizontal{margin-right:var(--van-padding-sm)}.van-checkbox__icon{flex:none;height:1em;font-size:var(--van-checkbox-size);line-height:1em;cursor:pointer}.van-checkbox__icon .van-icon{display:block;box-sizing:border-box;width:1.25em;height:1.25em;color:transparent;font-size:.8em;line-height:1.25;text-align:center;border:1px solid var(--van-checkbox-border-color);transition-duration:var(--van-checkbox-duration);transition-property:color,border-color,background-color}.van-checkbox__icon--round .van-icon{border-radius:100%}.van-checkbox__icon--indeterminate .van-icon{display:flex;align-items:center;justify-content:center;color:var(--van-white);border-color:var(--van-checkbox-checked-icon-color);background-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--checked .van-icon{color:var(--van-white);background-color:var(--van-checkbox-checked-icon-color);border-color:var(--van-checkbox-checked-icon-color)}.van-checkbox__icon--disabled{cursor:not-allowed}.van-checkbox__icon--disabled .van-icon{background-color:var(--van-checkbox-disabled-background);border-color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__icon--disabled.van-checkbox__icon--checked .van-icon{color:var(--van-checkbox-disabled-icon-color)}.van-checkbox__label{margin-left:var(--van-checkbox-label-margin);color:var(--van-checkbox-label-color);line-height:var(--van-checkbox-size)}.van-checkbox__label--left{margin:0 var(--van-checkbox-label-margin) 0 0}.van-checkbox__label--disabled{color:var(--van-checkbox-disabled-label-color)}
@@ -12,6 +12,10 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
12
12
  type: BooleanConstructor;
13
13
  default: true;
14
14
  };
15
+ indeterminate: {
16
+ type: import("vue").PropType<boolean | null>;
17
+ default: null;
18
+ };
15
19
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
20
  name: import("vue").PropType<unknown>;
17
21
  disabled: BooleanConstructor;
@@ -26,6 +30,10 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
26
30
  type: BooleanConstructor;
27
31
  default: true;
28
32
  };
33
+ indeterminate: {
34
+ type: import("vue").PropType<boolean | null>;
35
+ default: null;
36
+ };
29
37
  }>> & {
30
38
  onChange?: ((...args: any[]) => any) | undefined;
31
39
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -33,6 +41,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
33
41
  disabled: boolean;
34
42
  labelDisabled: boolean;
35
43
  bindGroup: boolean;
44
+ indeterminate: boolean | null;
36
45
  }, {}>>;
37
46
  export default Checkbox;
38
47
  export { checkboxProps } from './Checkbox';
@@ -122,8 +122,8 @@ declare const _default: import("vue").DefineComponent<{
122
122
  tag: keyof HTMLElementTagNameMap;
123
123
  center: boolean;
124
124
  disabled: boolean;
125
- isLink: boolean;
126
125
  border: boolean;
126
+ isLink: boolean;
127
127
  required: boolean;
128
128
  clickable: boolean | null;
129
129
  readonly: boolean;
@@ -80,8 +80,8 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
80
80
  tag: keyof HTMLElementTagNameMap;
81
81
  center: boolean;
82
82
  disabled: boolean;
83
- isLink: boolean;
84
83
  border: boolean;
84
+ isLink: boolean;
85
85
  required: boolean;
86
86
  clickable: boolean | null;
87
87
  readonly: boolean;
@@ -1,6 +1,7 @@
1
1
  import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
2
2
  import { type Numeric } from '../utils';
3
3
  export type ConfigProviderTheme = 'light' | 'dark';
4
+ export type ConfigProviderThemeVarsScope = 'local' | 'global';
4
5
  export type ConfigProviderProvide = {
5
6
  iconPrefix?: string;
6
7
  };
@@ -19,6 +20,10 @@ export declare const configProviderProps: {
19
20
  themeVars: ThemeVars;
20
21
  themeVarsDark: ThemeVars;
21
22
  themeVarsLight: ThemeVars;
23
+ themeVarsScope: {
24
+ type: PropType<ConfigProviderThemeVarsScope>;
25
+ default: ConfigProviderThemeVarsScope;
26
+ };
22
27
  iconPrefix: StringConstructor;
23
28
  };
24
29
  export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>;
@@ -35,6 +40,10 @@ declare const _default: import("vue").DefineComponent<{
35
40
  themeVars: ThemeVars;
36
41
  themeVarsDark: ThemeVars;
37
42
  themeVarsLight: ThemeVars;
43
+ themeVarsScope: {
44
+ type: PropType<ConfigProviderThemeVarsScope>;
45
+ default: ConfigProviderThemeVarsScope;
46
+ };
38
47
  iconPrefix: StringConstructor;
39
48
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
40
49
  tag: {
@@ -49,9 +58,14 @@ declare const _default: import("vue").DefineComponent<{
49
58
  themeVars: ThemeVars;
50
59
  themeVarsDark: ThemeVars;
51
60
  themeVarsLight: ThemeVars;
61
+ themeVarsScope: {
62
+ type: PropType<ConfigProviderThemeVarsScope>;
63
+ default: ConfigProviderThemeVarsScope;
64
+ };
52
65
  iconPrefix: StringConstructor;
53
66
  }>>, {
54
67
  tag: keyof HTMLElementTagNameMap;
55
68
  theme: ConfigProviderTheme;
69
+ themeVarsScope: ConfigProviderThemeVarsScope;
56
70
  }, {}>;
57
71
  export default _default;
@@ -35,15 +35,32 @@ const configProviderProps = {
35
35
  themeVars: Object,
36
36
  themeVarsDark: Object,
37
37
  themeVarsLight: Object,
38
+ themeVarsScope: (0, import_utils.makeStringProp)("local"),
38
39
  iconPrefix: String
39
40
  };
41
+ function insertDash(str) {
42
+ return str.replace(/([a-zA-Z])(\d)/g, "$1-$2");
43
+ }
40
44
  function mapThemeVarsToCSSVars(themeVars) {
41
45
  const cssVars = {};
42
46
  Object.keys(themeVars).forEach((key) => {
43
- cssVars[`--van-${(0, import_utils.kebabCase)(key)}`] = themeVars[key];
47
+ const formattedKey = insertDash((0, import_utils.kebabCase)(key));
48
+ cssVars[`--van-${formattedKey}`] = themeVars[key];
44
49
  });
45
50
  return cssVars;
46
51
  }
52
+ function syncThemeVarsOnRoot(newStyle = {}, oldStyle = {}) {
53
+ Object.keys(newStyle).forEach((key) => {
54
+ if (newStyle[key] !== oldStyle[key]) {
55
+ document.documentElement.style.setProperty(key, newStyle[key]);
56
+ }
57
+ });
58
+ Object.keys(oldStyle).forEach((key) => {
59
+ if (!newStyle[key]) {
60
+ document.documentElement.style.removeProperty(key);
61
+ }
62
+ });
63
+ }
47
64
  var stdin_default = (0, import_vue2.defineComponent)({
48
65
  name,
49
66
  props: configProviderProps,
@@ -69,6 +86,22 @@ var stdin_default = (0, import_vue2.defineComponent)({
69
86
  (0, import_vue2.onActivated)(addTheme);
70
87
  (0, import_vue2.onDeactivated)(removeTheme);
71
88
  (0, import_vue2.onBeforeUnmount)(removeTheme);
89
+ (0, import_vue2.watch)(style, (newStyle, oldStyle) => {
90
+ if (props.themeVarsScope === "global") {
91
+ syncThemeVarsOnRoot(newStyle, oldStyle);
92
+ }
93
+ });
94
+ (0, import_vue2.watch)(() => props.themeVarsScope, (newScope, oldScope) => {
95
+ if (oldScope === "global") {
96
+ syncThemeVarsOnRoot({}, style.value);
97
+ }
98
+ if (newScope === "global") {
99
+ syncThemeVarsOnRoot(style.value, {});
100
+ }
101
+ });
102
+ if (props.themeVarsScope === "global") {
103
+ syncThemeVarsOnRoot(style.value, {});
104
+ }
72
105
  }
73
106
  (0, import_vue2.provide)(CONFIG_PROVIDER_KEY, props);
74
107
  (0, import_vue2.watchEffect)(() => {
@@ -78,7 +111,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
78
111
  });
79
112
  return () => (0, import_vue.createVNode)(props.tag, {
80
113
  "class": bem(),
81
- "style": style.value
114
+ "style": props.themeVarsScope === "local" ? style.value : void 0
82
115
  }, {
83
116
  default: () => {
84
117
  var _a;
@@ -11,6 +11,10 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
11
11
  themeVars: import("./ConfigProvider").ThemeVars;
12
12
  themeVarsDark: import("./ConfigProvider").ThemeVars;
13
13
  themeVarsLight: import("./ConfigProvider").ThemeVars;
14
+ themeVarsScope: {
15
+ type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
16
+ default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
17
+ };
14
18
  iconPrefix: StringConstructor;
15
19
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
20
  tag: {
@@ -25,14 +29,19 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
25
29
  themeVars: import("./ConfigProvider").ThemeVars;
26
30
  themeVarsDark: import("./ConfigProvider").ThemeVars;
27
31
  themeVarsLight: import("./ConfigProvider").ThemeVars;
32
+ themeVarsScope: {
33
+ type: import("vue").PropType<import("./ConfigProvider").ConfigProviderThemeVarsScope>;
34
+ default: import("./ConfigProvider").ConfigProviderThemeVarsScope;
35
+ };
28
36
  iconPrefix: StringConstructor;
29
37
  }>>, {
30
38
  tag: keyof HTMLElementTagNameMap;
31
39
  theme: import("./ConfigProvider").ConfigProviderTheme;
40
+ themeVarsScope: import("./ConfigProvider").ConfigProviderThemeVarsScope;
32
41
  }, {}>>;
33
42
  export default ConfigProvider;
34
43
  export { configProviderProps } from './ConfigProvider';
35
- export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
44
+ export type { ConfigProviderProps, ConfigProviderTheme, ConfigProviderThemeVarsScope, } from './ConfigProvider';
36
45
  export type { ConfigProviderThemeVars } from './types';
37
46
  declare module 'vue' {
38
47
  interface GlobalComponents {
@@ -1 +1,61 @@
1
- export type ConfigProviderThemeVars = import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../barrage').BarrageThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../floating-bubble').FloatingBubbleThemeVars & import('../floating-panel').FloatingPanelThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../rolling-text').RollingTextThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars & import('../watermark').WatermarkThemeVars;
1
+ type BaseThemeVars = {
2
+ black?: string;
3
+ white?: string;
4
+ gray1?: string;
5
+ gray2?: string;
6
+ gray3?: string;
7
+ gray4?: string;
8
+ gray5?: string;
9
+ gray6?: string;
10
+ gray7?: string;
11
+ gray8?: string;
12
+ red?: string;
13
+ blue?: string;
14
+ orange?: string;
15
+ orangeDark?: string;
16
+ orangeLight?: string;
17
+ green?: string;
18
+ gradientRed?: string;
19
+ gradientOrange?: string;
20
+ primaryColor?: string;
21
+ successColor?: string;
22
+ dangerColor?: string;
23
+ warningColor?: string;
24
+ textColor?: string;
25
+ textColor2?: string;
26
+ textColor3?: string;
27
+ activeColor?: string;
28
+ activeOpacity?: number;
29
+ disabledOpacity?: number;
30
+ background?: string;
31
+ background2?: string;
32
+ paddingBase?: string;
33
+ paddingXs?: string;
34
+ paddingSm?: string;
35
+ paddingMd?: string;
36
+ paddingLg?: string;
37
+ paddingXl?: string;
38
+ fontSizeXs?: string;
39
+ fontSizeSm?: string;
40
+ fontSizeMd?: string;
41
+ fontSizeLg?: string;
42
+ fontBold?: number;
43
+ lineHeightXs?: string;
44
+ lineHeightSm?: string;
45
+ lineHeightMd?: string;
46
+ lineHeightLg?: string;
47
+ baseFont?: string;
48
+ priceFont?: string;
49
+ durationBase?: string;
50
+ durationFast?: string;
51
+ easeOut?: string;
52
+ easeIn?: string;
53
+ borderColor?: string;
54
+ borderWidth?: string;
55
+ radiusSm?: string;
56
+ radiusMd?: string;
57
+ radiusLg?: string;
58
+ radiusMax?: string;
59
+ };
60
+ export type ConfigProviderThemeVars = BaseThemeVars & import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../barrage').BarrageThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../floating-bubble').FloatingBubbleThemeVars & import('../floating-panel').FloatingPanelThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../rolling-text').RollingTextThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars & import('../watermark').WatermarkThemeVars;
61
+ export {};
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
18
18
  addText: StringConstructor;
19
19
  modelValue: PropType<unknown>;
20
20
  defaultTagText: StringConstructor;
21
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
21
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
22
22
  list: PropType<ContactListItem[]>;
23
23
  addText: StringConstructor;
24
24
  modelValue: PropType<unknown>;
@@ -3,7 +3,7 @@ export declare const ContactList: import("../utils").WithInstall<import("vue").D
3
3
  addText: StringConstructor;
4
4
  modelValue: import("vue").PropType<unknown>;
5
5
  defaultTagText: StringConstructor;
6
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:modelValue" | "add" | "edit")[], "select" | "update:modelValue" | "add" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "add" | "update:modelValue" | "edit")[], "select" | "add" | "update:modelValue" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
7
  list: import("vue").PropType<import("./ContactList").ContactListItem[]>;
8
8
  addText: StringConstructor;
9
9
  modelValue: import("vue").PropType<unknown>;
@@ -36,9 +36,9 @@ declare const _default: import("vue").DefineComponent<{
36
36
  default: DividerContentPosition;
37
37
  };
38
38
  }>>, {
39
+ dashed: boolean;
39
40
  vertical: boolean;
40
41
  hairline: boolean;
41
- dashed: boolean;
42
42
  contentPosition: DividerContentPosition;
43
43
  }, {}>;
44
44
  export default _default;
@@ -21,9 +21,9 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
21
21
  default: import("./Divider").DividerContentPosition;
22
22
  };
23
23
  }>>, {
24
+ dashed: boolean;
24
25
  vertical: boolean;
25
26
  hairline: boolean;
26
- dashed: boolean;
27
27
  contentPosition: import("./Divider").DividerContentPosition;
28
28
  }, {}>>;
29
29
  export default Divider;
@@ -344,8 +344,8 @@ declare const _default: import("vue").DefineComponent<{
344
344
  center: boolean;
345
345
  autofocus: boolean;
346
346
  disabled: boolean;
347
- isLink: boolean;
348
347
  border: boolean;
348
+ isLink: boolean;
349
349
  required: boolean;
350
350
  clickable: boolean | null;
351
351
  clearable: boolean;
@@ -200,8 +200,8 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
200
200
  center: boolean;
201
201
  autofocus: boolean;
202
202
  disabled: boolean;
203
- isLink: boolean;
204
203
  border: boolean;
204
+ isLink: boolean;
205
205
  required: boolean;
206
206
  clickable: boolean | null;
207
207
  clearable: boolean;
@@ -67,8 +67,8 @@ declare const _default: import("vue").DefineComponent<{
67
67
  reverse: boolean;
68
68
  center: boolean;
69
69
  border: boolean;
70
- clickable: boolean;
71
70
  square: boolean;
71
+ clickable: boolean;
72
72
  columnNum: string | number;
73
73
  }, {}>;
74
74
  export default _default;
@@ -40,8 +40,8 @@ export declare const Grid: import("../utils").WithInstall<import("vue").DefineCo
40
40
  reverse: boolean;
41
41
  center: boolean;
42
42
  border: boolean;
43
- clickable: boolean;
44
43
  square: boolean;
44
+ clickable: boolean;
45
45
  columnNum: string | number;
46
46
  }, {}>>;
47
47
  export default Grid;
@@ -95,8 +95,8 @@ declare const _default: import("vue").DefineComponent<{
95
95
  onError?: ((...args: any[]) => any) | undefined;
96
96
  }, {
97
97
  round: boolean;
98
- showError: boolean;
99
98
  block: boolean;
99
+ showError: boolean;
100
100
  lazyLoad: boolean;
101
101
  errorIcon: string;
102
102
  showLoading: boolean;
@@ -61,8 +61,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
61
61
  onError?: ((...args: any[]) => any) | undefined;
62
62
  }, {
63
63
  round: boolean;
64
- showError: boolean;
65
64
  block: boolean;
65
+ showError: boolean;
66
66
  lazyLoad: boolean;
67
67
  errorIcon: string;
68
68
  showLoading: boolean;