zartui 3.1.10 → 3.1.12

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 (146) hide show
  1. package/README.md +23 -23
  2. package/es/cascader/Cascader.d.ts +1 -1
  3. package/es/cascader/index.d.ts +1 -1
  4. package/es/cell/Cell.d.ts +24 -1
  5. package/es/cell/Cell.mjs +30 -5
  6. package/es/cell/index.css +1 -1
  7. package/es/cell/index.d.ts +14 -1
  8. package/es/checkbox/Checkbox.d.ts +1 -1
  9. package/es/checkbox/index.d.ts +1 -1
  10. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  11. package/es/checkbox-group/index.d.ts +1 -1
  12. package/es/collapse/Collapse.d.ts +1 -1
  13. package/es/collapse/index.d.ts +1 -1
  14. package/es/composables/use-touch.d.ts +1 -0
  15. package/es/composables/use-touch.mjs +8 -1
  16. package/es/config-provider/types.d.ts +1 -1
  17. package/es/date-time-picker/DateTimePicker.d.ts +1 -1
  18. package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  19. package/es/date-time-picker/index.d.ts +1 -1
  20. package/es/dropdown-item/DropdownItem.d.ts +1 -1
  21. package/es/dropdown-item/index.d.ts +1 -1
  22. package/es/field/Field.d.ts +17 -2
  23. package/es/field/index.d.ts +12 -2
  24. package/es/floating-bubble/FloatingBubble.d.ts +81 -0
  25. package/es/floating-bubble/FloatingBubble.mjs +181 -0
  26. package/es/floating-bubble/index.css +1 -0
  27. package/es/floating-bubble/index.d.ts +63 -0
  28. package/es/floating-bubble/index.mjs +10 -0
  29. package/es/floating-bubble/style/index.d.ts +1 -0
  30. package/es/floating-bubble/style/index.mjs +4 -0
  31. package/es/floating-bubble/types.d.ts +20 -0
  32. package/es/floating-bubble/types.mjs +0 -0
  33. package/es/hierarchy-select/HierarchySelect.mjs +1 -0
  34. package/es/index-bar/IndexBar.mjs +27 -19
  35. package/es/index-bar/index.css +1 -1
  36. package/es/index-bar/types.d.ts +1 -0
  37. package/es/index.d.ts +2 -1
  38. package/es/index.mjs +4 -1
  39. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  40. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  41. package/es/number-keyboard/index.d.ts +1 -1
  42. package/es/picker/Picker.d.ts +1 -1
  43. package/es/picker/index.d.ts +1 -1
  44. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  45. package/es/pull-refresh/index.d.ts +1 -1
  46. package/es/radio-group/RadioGroup.d.ts +1 -1
  47. package/es/radio-group/index.d.ts +1 -1
  48. package/es/radio-picker/RadioPicker.d.ts +1 -1
  49. package/es/radio-picker/index.d.ts +1 -1
  50. package/es/rate/Rate.d.ts +1 -1
  51. package/es/rate/index.d.ts +1 -1
  52. package/es/search/Search.d.ts +2 -2
  53. package/es/search/index.d.ts +2 -2
  54. package/es/stepper/Stepper.d.ts +1 -1
  55. package/es/stepper/index.d.ts +1 -1
  56. package/es/switch/Switch.d.ts +1 -1
  57. package/es/switch/index.d.ts +1 -1
  58. package/es/tabbar/Tabbar.d.ts +1 -1
  59. package/es/tabbar/index.d.ts +1 -1
  60. package/es/tabbar-item/index.css +1 -1
  61. package/es/time-picker/TimePicker.d.ts +1 -1
  62. package/es/time-picker/index.d.ts +1 -1
  63. package/es/utils/closest.d.ts +1 -0
  64. package/es/utils/closest.mjs +8 -0
  65. package/es/utils/constant.d.ts +1 -0
  66. package/es/utils/constant.mjs +3 -1
  67. package/es/utils/index.d.ts +1 -0
  68. package/es/utils/index.mjs +1 -0
  69. package/es/vue-sfc-shim.d.ts +6 -6
  70. package/es/vue-tsx-shim.d.ts +23 -23
  71. package/lib/cascader/Cascader.d.ts +1 -1
  72. package/lib/cascader/index.d.ts +1 -1
  73. package/lib/cell/Cell.d.ts +24 -1
  74. package/lib/cell/Cell.js +28 -3
  75. package/lib/cell/index.css +1 -1
  76. package/lib/cell/index.d.ts +14 -1
  77. package/lib/checkbox/Checkbox.d.ts +1 -1
  78. package/lib/checkbox/index.d.ts +1 -1
  79. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  80. package/lib/checkbox-group/index.d.ts +1 -1
  81. package/lib/collapse/Collapse.d.ts +1 -1
  82. package/lib/collapse/index.d.ts +1 -1
  83. package/lib/composables/use-touch.d.ts +1 -0
  84. package/lib/composables/use-touch.js +8 -1
  85. package/lib/config-provider/types.d.ts +1 -1
  86. package/lib/date-time-picker/DateTimePicker.d.ts +1 -1
  87. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  88. package/lib/date-time-picker/index.d.ts +1 -1
  89. package/lib/dropdown-item/DropdownItem.d.ts +1 -1
  90. package/lib/dropdown-item/index.d.ts +1 -1
  91. package/lib/field/Field.d.ts +17 -2
  92. package/lib/field/index.d.ts +12 -2
  93. package/lib/floating-bubble/FloatingBubble.d.ts +81 -0
  94. package/lib/floating-bubble/FloatingBubble.js +210 -0
  95. package/lib/floating-bubble/index.css +1 -0
  96. package/lib/floating-bubble/index.d.ts +63 -0
  97. package/lib/floating-bubble/index.js +39 -0
  98. package/lib/floating-bubble/style/index.d.ts +1 -0
  99. package/lib/floating-bubble/style/index.js +4 -0
  100. package/lib/floating-bubble/types.d.ts +20 -0
  101. package/lib/floating-bubble/types.js +15 -0
  102. package/lib/hierarchy-select/HierarchySelect.js +1 -0
  103. package/lib/index-bar/IndexBar.js +27 -19
  104. package/lib/index-bar/index.css +1 -1
  105. package/lib/index-bar/types.d.ts +1 -0
  106. package/lib/index.css +1 -1
  107. package/lib/index.d.ts +2 -1
  108. package/lib/index.js +4 -1
  109. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  110. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  111. package/lib/number-keyboard/index.d.ts +1 -1
  112. package/lib/picker/Picker.d.ts +1 -1
  113. package/lib/picker/index.d.ts +1 -1
  114. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  115. package/lib/pull-refresh/index.d.ts +1 -1
  116. package/lib/radio-group/RadioGroup.d.ts +1 -1
  117. package/lib/radio-group/index.d.ts +1 -1
  118. package/lib/radio-picker/RadioPicker.d.ts +1 -1
  119. package/lib/radio-picker/index.d.ts +1 -1
  120. package/lib/rate/Rate.d.ts +1 -1
  121. package/lib/rate/index.d.ts +1 -1
  122. package/lib/search/Search.d.ts +2 -2
  123. package/lib/search/index.d.ts +2 -2
  124. package/lib/stepper/Stepper.d.ts +1 -1
  125. package/lib/stepper/index.d.ts +1 -1
  126. package/lib/switch/Switch.d.ts +1 -1
  127. package/lib/switch/index.d.ts +1 -1
  128. package/lib/tabbar/Tabbar.d.ts +1 -1
  129. package/lib/tabbar/index.d.ts +1 -1
  130. package/lib/tabbar-item/index.css +1 -1
  131. package/lib/time-picker/TimePicker.d.ts +1 -1
  132. package/lib/time-picker/index.d.ts +1 -1
  133. package/lib/utils/closest.d.ts +1 -0
  134. package/lib/utils/closest.js +27 -0
  135. package/lib/utils/constant.d.ts +1 -0
  136. package/lib/utils/constant.js +3 -1
  137. package/lib/utils/index.d.ts +1 -0
  138. package/lib/utils/index.js +1 -0
  139. package/lib/vue-sfc-shim.d.ts +6 -6
  140. package/lib/vue-tsx-shim.d.ts +23 -23
  141. package/lib/web-types.json +1 -1
  142. package/lib/zartui.cjs.js +698 -478
  143. package/lib/zartui.es.js +698 -478
  144. package/lib/zartui.js +698 -478
  145. package/lib/zartui.min.js +1 -1
  146. package/package.json +6 -5
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- # ZartUI
2
-
3
- [ZartUI](https://zartui.egova.com.cn) 是数字政通基于 Vue 研发的一款面向政务场景的移动端组件库。
4
-
5
- Zart(读音 /zɑːt/)的命名,灵感源自数字政通秉承的理念:让城市治理变得更智慧。Zart = zt + smart, zt是政通的首字母缩写,smart代表公司理念中的“智慧”,将smart中间的“ar”字母包裹于zt之间,体现了ZartUI的核心目标:追求极致的用户体验,致力于做灵活智能的组件库。
6
-
7
- ## 特性
8
-
9
- 1)【组件重构】【组件审核】提供50多个高质量组件,覆盖移动端各类场景;
10
-
11
- 2)【UI重构】基于全新的视觉规范;
12
-
13
- 3)【在线网站】完善的文档、示例、演示效果;
14
-
15
- 4)支持主题定制、按需引入;
16
-
17
- 5)支持Vue3.0、TypeScript;
18
-
19
- 6)性能佳,组件平均体积小(min+gzip);
20
-
21
- ## 浏览器支持
22
-
23
- ZartUI 3 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一致)。
1
+ # ZartUI
2
+
3
+ [ZartUI](https://zartui.egova.com.cn) 是数字政通基于 Vue 研发的一款面向政务场景的移动端组件库。
4
+
5
+ Zart(读音 /zɑːt/)的命名,灵感源自数字政通秉承的理念:让城市治理变得更智慧。Zart = zt + smart, zt是政通的首字母缩写,smart代表公司理念中的“智慧”,将smart中间的“ar”字母包裹于zt之间,体现了ZartUI的核心目标:追求极致的用户体验,致力于做灵活智能的组件库。
6
+
7
+ ## 特性
8
+
9
+ 1)【组件重构】【组件审核】提供50多个高质量组件,覆盖移动端各类场景;
10
+
11
+ 2)【UI重构】基于全新的视觉规范;
12
+
13
+ 3)【在线网站】完善的文档、示例、演示效果;
14
+
15
+ 4)支持主题定制、按需引入;
16
+
17
+ 5)支持Vue3.0、TypeScript;
18
+
19
+ 6)性能佳,组件平均体积小(min+gzip);
20
+
21
+ ## 浏览器支持
22
+
23
+ ZartUI 3 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一致)。
@@ -99,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
99
99
  type: BooleanConstructor;
100
100
  default: true;
101
101
  };
102
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
102
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "clickTab" | "finish")[], "cancel" | "change" | "update:modelValue" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
103
103
  title: StringConstructor;
104
104
  show: BooleanConstructor;
105
105
  round: {
@@ -46,7 +46,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
46
46
  type: BooleanConstructor;
47
47
  default: true;
48
48
  };
49
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish")[], "update:modelValue" | "cancel" | "change" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "clickTab" | "finish")[], "cancel" | "change" | "update:modelValue" | "update:show" | "clickTab" | "finish", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
50
50
  title: StringConstructor;
51
51
  show: BooleanConstructor;
52
52
  round: {
package/es/cell/Cell.d.ts CHANGED
@@ -31,6 +31,11 @@ export declare const cellSharedProps: {
31
31
  type: PropType<boolean | null>;
32
32
  default: null;
33
33
  };
34
+ clearable: BooleanConstructor;
35
+ clearIcon: {
36
+ type: PropType<string>;
37
+ default: string;
38
+ };
34
39
  };
35
40
  declare const cellProps: {
36
41
  leftIcon: StringConstructor;
@@ -62,6 +67,11 @@ declare const cellProps: {
62
67
  type: PropType<boolean | null>;
63
68
  default: null;
64
69
  };
70
+ clearable: BooleanConstructor;
71
+ clearIcon: {
72
+ type: PropType<string>;
73
+ default: string;
74
+ };
65
75
  } & {
66
76
  to: PropType<import("vue-router").RouteLocationRaw>;
67
77
  url: StringConstructor;
@@ -98,11 +108,16 @@ declare const _default: import("vue").DefineComponent<{
98
108
  type: PropType<boolean | null>;
99
109
  default: null;
100
110
  };
111
+ clearable: BooleanConstructor;
112
+ clearIcon: {
113
+ type: PropType<string>;
114
+ default: string;
115
+ };
101
116
  } & {
102
117
  to: PropType<import("vue-router").RouteLocationRaw>;
103
118
  url: StringConstructor;
104
119
  replace: BooleanConstructor;
105
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
120
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
106
121
  leftIcon: StringConstructor;
107
122
  titleIcon: StringConstructor;
108
123
  title: (NumberConstructor | StringConstructor)[];
@@ -132,12 +147,18 @@ declare const _default: import("vue").DefineComponent<{
132
147
  type: PropType<boolean | null>;
133
148
  default: null;
134
149
  };
150
+ clearable: BooleanConstructor;
151
+ clearIcon: {
152
+ type: PropType<string>;
153
+ default: string;
154
+ };
135
155
  } & {
136
156
  to: PropType<import("vue-router").RouteLocationRaw>;
137
157
  url: StringConstructor;
138
158
  replace: BooleanConstructor;
139
159
  }>> & {
140
160
  onClick?: ((...args: any[]) => any) | undefined;
161
+ onClear?: ((...args: any[]) => any) | undefined;
141
162
  }, {
142
163
  replace: boolean;
143
164
  value: string;
@@ -147,5 +168,7 @@ declare const _default: import("vue").DefineComponent<{
147
168
  isLink: boolean;
148
169
  required: boolean;
149
170
  clickable: boolean | null;
171
+ clearable: boolean;
172
+ clearIcon: string;
150
173
  }, {}>;
151
174
  export default _default;
package/es/cell/Cell.mjs CHANGED
@@ -1,7 +1,8 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
- import { defineComponent } from "vue";
3
- import { isDef, extend, truthProp, unknownProp, numericProp, createNamespace, makeStringProp } from "../utils/index.mjs";
2
+ import { computed, defineComponent, ref } from "vue";
3
+ import { isDef, extend, truthProp, unknownProp, numericProp, createNamespace, makeStringProp, preventDefault } from "../utils/index.mjs";
4
4
  import { useRoute, routeProps } from "../composables/use-route.mjs";
5
+ import { useEventListener } from "@zartui/use";
5
6
  import { Icon } from "../icon/index.mjs";
6
7
  const [name, bem] = createNamespace("cell");
7
8
  const cellSharedProps = {
@@ -24,18 +25,21 @@ const cellSharedProps = {
24
25
  clickable: {
25
26
  type: Boolean,
26
27
  default: null
27
- }
28
+ },
29
+ clearable: Boolean,
30
+ clearIcon: makeStringProp("clear-r")
28
31
  };
29
32
  const cellProps = extend({}, cellSharedProps, routeProps);
30
33
  var stdin_default = defineComponent({
31
34
  name,
32
35
  props: cellProps,
33
- emits: ["click"],
36
+ emits: ["click", "clear"],
34
37
  setup(props, {
35
38
  slots,
36
39
  emit
37
40
  }) {
38
41
  const route = useRoute();
42
+ const clearIconRef = ref();
39
43
  const renderLabel = () => {
40
44
  const showLabel = slots.label || isDef(props.label);
41
45
  if (showLabel) {
@@ -94,11 +98,28 @@ var stdin_default = defineComponent({
94
98
  emit("click");
95
99
  }
96
100
  };
101
+ const onClear = (event) => {
102
+ preventDefault(event, true);
103
+ emit("clear", event);
104
+ };
105
+ function getClearIconListenerEvent() {
106
+ if ("ontouchstart" in document.documentElement) {
107
+ return "touchstart";
108
+ }
109
+ return "click";
110
+ }
111
+ useEventListener(getClearIconListenerEvent(), onClear, {
112
+ target: computed(() => {
113
+ var _a;
114
+ return (_a = clearIconRef.value) == null ? void 0 : _a.$el;
115
+ })
116
+ });
97
117
  const renderValue = () => {
98
118
  var _a;
99
119
  const slot = slots.value || slots.default;
100
120
  const hasValue = slot || isDef(props.value);
101
121
  const isHorizontal = props.direction === "horizontal";
122
+ const showClear = props.clearable && isDef(props.value) && props.value !== "";
102
123
  if (hasValue) {
103
124
  return _createVNode("div", {
104
125
  "class": [bem("value", {
@@ -107,7 +128,11 @@ var stdin_default = defineComponent({
107
128
  "onClick": () => onClick(isHorizontal)
108
129
  }, [slot ? slot() : _createVNode("span", {
109
130
  "class": bem("value-text")
110
- }, [props.value]), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
131
+ }, [props.value]), showClear && _createVNode(Icon, {
132
+ "ref": clearIconRef,
133
+ "name": props.clearIcon,
134
+ "class": bem("value-clear")
135
+ }, null), (_a = slots.extra) == null ? void 0 : _a.call(slots), renderRightIcon()]);
111
136
  }
112
137
  };
113
138
  const renderLeftIcon = () => {
package/es/cell/index.css CHANGED
@@ -1 +1 @@
1
- :root{--zt-cell-text-color: var(--zt-text-color);--zt-cell-border-color: var(--zt-border-color);--zt-cell-active-color: var(--zt-active-color);--zt-cell-required-color: var(--zt-danger-color);--zt-cell-label-color: var(--zt-gray-a4);--zt-cell-right-icon-color: var(--zt-gray-a4);--zt-cell-vertical-background: var(--zt-background-card);--zt-cell-horizontal-background: var(--zt-background-card);--zt-cell-background: var(--zt-background);--zt-cell-value-padding: 12px;--zt-cell-value-radius: 4px;--zt-cell-direction: column;--zt-cell-padding: 16px;--zt-cell-row-title-max-width: 100px;--zt-cell-left-icon-font-size: 48px;--zt-cell-left-icon-size: 48px}:root[zt-theme-size=large]{--zt-cell-left-icon-size: 60px;--zt-cell-left-icon-font-size: 54px}.zt-cell{position:relative;display:flex;box-sizing:border-box;width:100%;overflow:hidden;color:var(--zt-cell-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);background:var(--zt-cell-background);flex-direction:var(--zt-cell-direction);padding:var(--zt-cell-padding)}.zt-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-cell-border-color);transform:scaleY(.5)}.zt-cell--borderless:after{display:none}.zt-cell__label{color:var(--zt-cell-label-color);line-height:var(--zt-line-height-md);font-size:var(--zt-font-size-md);flex:1;text-align:right}.zt-cell__value{position:relative;overflow:hidden;vertical-align:middle;word-wrap:break-word;background:var(--zt-cell-background);box-sizing:border-box;display:flex;border-radius:var(--zt-cell-value-radius);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);word-break:break-all}.zt-cell__value--horizontal{padding:0;flex:1;justify-content:flex-end;align-items:center;text-align:right;background:transparent}.zt-cell__value--vertical{padding:var(--zt-cell-value-padding);background:var(--zt-cell-vertical-background)}.zt-cell__value-text{display:inline-block;flex:1}.zt-cell__title{margin-bottom:8px;display:flex;align-items:center}.zt-cell__title--horizontal{padding:0;margin:0;flex:1}.zt-cell__title--with-value{margin-right:8px;max-width:var(--zt-cell-row-title-max-width)}.zt-cell__title-text{font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);word-break:break-all;display:inline-block;overflow:hidden;flex:1}.zt-cell__title-icon,.zt-cell__right-icon{height:var(--zt-line-height-md);font-size:var(--zt-font-size-xxl);line-height:var(--zt-line-height-md)}.zt-cell__left-icon{width:var(--zt-cell-left-icon-size);height:var(--zt-cell-left-icon-size);font-size:var(--zt-cell-left-icon-font-size);line-height:var(--zt-cell-left-icon-size);margin-right:var(--zt-padding-base)}.zt-cell__right-icon{margin-left:var(--zt-padding-base);color:var(--zt-cell-right-icon-color)}.zt-cell__title-icon{margin-right:var(--zt-padding-base)}.zt-cell__with-left{position:relative;display:flex}.zt-cell__with-left:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-cell-border-color);transform:scaleY(.5)}.zt-cell__with-left--borderless:after{display:none}.zt-cell__left-icon{margin:16px 0 16px 16px}.zt-cell--clickable{cursor:pointer}.zt-cell--clickable .zt-cell__value:active,.zt-cell--clickable.zt-cell--horizontal:active{background-color:var(--zt-cell-active-color)}.zt-cell--clickable.zt-cell--horizontal:active .zt-cell__value:active{background-color:transparent}.zt-cell--required{overflow:visible}.zt-cell--required:before{position:absolute;left:var(--zt-padding-xs);color:var(--zt-cell-required-color);font-size:var(--zt-font-size-md);content:"*"}.zt-cell--center .zt-cell__value{align-items:center}.zt-cell--horizontal{flex-direction:row;justify-content:space-between;background:var(--zt-cell-horizontal-background);padding:12px 16px}.zt-cell--horizontal:last-child:after{display:none}
1
+ :root{--zt-cell-text-color: var(--zt-text-color);--zt-cell-border-color: var(--zt-border-color);--zt-cell-active-color: var(--zt-active-color);--zt-cell-required-color: var(--zt-danger-color);--zt-cell-label-color: var(--zt-gray-a4);--zt-cell-right-icon-color: var(--zt-gray-a4);--zt-cell-vertical-background: var(--zt-background-card);--zt-cell-horizontal-background: var(--zt-background-card);--zt-cell-background: var(--zt-background);--zt-cell-value-padding: 12px;--zt-cell-value-radius: 4px;--zt-cell-direction: column;--zt-cell-padding: 16px;--zt-cell-row-title-max-width: 100px;--zt-cell-left-icon-font-size: 48px;--zt-cell-left-icon-size: 48px;--zt-cell-clear-icon-color: var(--zt-gray-a6)}:root[zt-theme-size=large]{--zt-cell-left-icon-size: 60px;--zt-cell-left-icon-font-size: 54px}.zt-cell{position:relative;display:flex;box-sizing:border-box;width:100%;overflow:hidden;color:var(--zt-cell-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);background:var(--zt-cell-background);flex-direction:var(--zt-cell-direction);padding:var(--zt-cell-padding)}.zt-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-cell-border-color);transform:scaleY(.5)}.zt-cell--borderless:after{display:none}.zt-cell__label{color:var(--zt-cell-label-color);line-height:var(--zt-line-height-md);font-size:var(--zt-font-size-md);flex:1;text-align:right}.zt-cell__value{position:relative;overflow:hidden;vertical-align:middle;word-wrap:break-word;background:var(--zt-cell-background);box-sizing:border-box;display:flex;align-items:center;border-radius:var(--zt-cell-value-radius);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);word-break:break-all}.zt-cell__value--horizontal{padding:0;flex:1;justify-content:flex-end;align-items:center;text-align:right;background:transparent}.zt-cell__value--vertical{padding:var(--zt-cell-value-padding);background:var(--zt-cell-vertical-background)}.zt-cell__value-text{display:inline-block;flex:1}.zt-cell__value-clear{color:var(--zt-cell-clear-icon-color);font-size:var(--zt-font-size-xxl);margin:0 4px 0 10px;cursor:pointer}.zt-cell__title{margin-bottom:8px;display:flex;align-items:center}.zt-cell__title--horizontal{padding:0;margin:0;flex:1}.zt-cell__title--with-value{margin-right:8px;max-width:var(--zt-cell-row-title-max-width)}.zt-cell__title-text{font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);word-break:break-all;display:inline-block;overflow:hidden;flex:1}.zt-cell__title-icon,.zt-cell__right-icon{height:var(--zt-line-height-md);font-size:var(--zt-font-size-xxl);line-height:var(--zt-line-height-md)}.zt-cell__left-icon{width:var(--zt-cell-left-icon-size);height:var(--zt-cell-left-icon-size);font-size:var(--zt-cell-left-icon-font-size);line-height:var(--zt-cell-left-icon-size);margin-right:var(--zt-padding-base)}.zt-cell__right-icon{margin-left:var(--zt-padding-base);color:var(--zt-cell-right-icon-color)}.zt-cell__title-icon{margin-right:var(--zt-padding-base)}.zt-cell__with-left{position:relative;display:flex}.zt-cell__with-left:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:var(--zt-padding-md);border-bottom:1px solid var(--zt-cell-border-color);transform:scaleY(.5)}.zt-cell__with-left--borderless:after{display:none}.zt-cell__left-icon{margin:16px 0 16px 16px}.zt-cell--clickable{cursor:pointer}.zt-cell--clickable .zt-cell__value:active,.zt-cell--clickable.zt-cell--horizontal:active{background-color:var(--zt-cell-active-color)}.zt-cell--clickable.zt-cell--horizontal:active .zt-cell__value:active{background-color:transparent}.zt-cell--required{overflow:visible}.zt-cell--required:before{position:absolute;left:var(--zt-padding-xs);color:var(--zt-cell-required-color);font-size:var(--zt-font-size-md);content:"*"}.zt-cell--center .zt-cell__value{align-items:center}.zt-cell--horizontal{flex-direction:row;justify-content:space-between;background:var(--zt-cell-horizontal-background);padding:12px 16px}.zt-cell--horizontal:last-child:after{display:none}
@@ -28,11 +28,16 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
28
28
  type: import("vue").PropType<boolean | null>;
29
29
  default: null;
30
30
  };
31
+ clearable: BooleanConstructor;
32
+ clearIcon: {
33
+ type: import("vue").PropType<string>;
34
+ default: string;
35
+ };
31
36
  } & {
32
37
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
33
38
  url: StringConstructor;
34
39
  replace: BooleanConstructor;
35
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "click")[], "clear" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
41
  leftIcon: StringConstructor;
37
42
  titleIcon: StringConstructor;
38
43
  title: (NumberConstructor | StringConstructor)[];
@@ -62,12 +67,18 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
62
67
  type: import("vue").PropType<boolean | null>;
63
68
  default: null;
64
69
  };
70
+ clearable: BooleanConstructor;
71
+ clearIcon: {
72
+ type: import("vue").PropType<string>;
73
+ default: string;
74
+ };
65
75
  } & {
66
76
  to: import("vue").PropType<import("vue-router").RouteLocationRaw>;
67
77
  url: StringConstructor;
68
78
  replace: BooleanConstructor;
69
79
  }>> & {
70
80
  onClick?: ((...args: any[]) => any) | undefined;
81
+ onClear?: ((...args: any[]) => any) | undefined;
71
82
  }, {
72
83
  replace: boolean;
73
84
  value: string;
@@ -77,6 +88,8 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
77
88
  isLink: boolean;
78
89
  required: boolean;
79
90
  clickable: boolean | null;
91
+ clearable: boolean;
92
+ clearIcon: string;
80
93
  }, {}>>;
81
94
  export default Cell;
82
95
  export type { CellProps, CellArrowDirection } from './Cell';
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
44
44
  type: PropType<boolean | null>;
45
45
  default: null;
46
46
  };
47
- }, () => 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<{
47
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
48
48
  name: PropType<unknown>;
49
49
  shape: {
50
50
  type: PropType<import("./Checker").CheckerShape>;
@@ -19,7 +19,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
19
19
  type: import("vue").PropType<boolean | null>;
20
20
  default: null;
21
21
  };
22
- }, () => 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<{
22
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  name: import("vue").PropType<unknown>;
24
24
  shape: {
25
25
  type: import("vue").PropType<import("./Checker").CheckerShape>;
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  default: () => unknown[];
31
31
  };
32
32
  checkedColor: StringConstructor;
33
- }, () => 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<{
33
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
34
34
  max: (NumberConstructor | StringConstructor)[];
35
35
  disabled: BooleanConstructor;
36
36
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -11,7 +11,7 @@ export declare const CheckboxGroup: import("../utils").WithInstall<import("vue")
11
11
  default: () => unknown[];
12
12
  };
13
13
  checkedColor: StringConstructor;
14
- }, () => 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<{
14
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  max: (NumberConstructor | StringConstructor)[];
16
16
  disabled: BooleanConstructor;
17
17
  iconSize: (NumberConstructor | StringConstructor)[];
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: PropType<Numeric | Numeric[]>;
35
35
  default: string;
36
36
  };
37
- }, () => 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<{
37
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
38
38
  border: {
39
39
  type: BooleanConstructor;
40
40
  default: true;
@@ -8,7 +8,7 @@ export declare const Collapse: import("../utils").WithInstall<import("vue").Defi
8
8
  type: import("vue").PropType<import("../utils").Numeric | import("../utils").Numeric[]>;
9
9
  default: string;
10
10
  };
11
- }, () => 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<{
11
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  border: {
13
13
  type: BooleanConstructor;
14
14
  default: true;
@@ -12,5 +12,6 @@ export declare function useTouch(): {
12
12
  direction: import("vue").Ref<Direction>;
13
13
  isVertical: () => boolean;
14
14
  isHorizontal: () => boolean;
15
+ isTap: import("vue").Ref<boolean>;
15
16
  };
16
17
  export {};
@@ -1,4 +1,5 @@
1
1
  import { ref } from "vue";
2
+ import { TAP_OFFSET } from "../utils/index.mjs";
2
3
  function getDirection(x, y) {
3
4
  if (x > y) {
4
5
  return "horizontal";
@@ -16,6 +17,7 @@ function useTouch() {
16
17
  const offsetX = ref(0);
17
18
  const offsetY = ref(0);
18
19
  const direction = ref("");
20
+ const isTap = ref(true);
19
21
  const isVertical = () => direction.value === "vertical";
20
22
  const isHorizontal = () => direction.value === "horizontal";
21
23
  const reset = () => {
@@ -24,6 +26,7 @@ function useTouch() {
24
26
  offsetX.value = 0;
25
27
  offsetY.value = 0;
26
28
  direction.value = "";
29
+ isTap.value = true;
27
30
  };
28
31
  const start = (event) => {
29
32
  reset();
@@ -40,6 +43,9 @@ function useTouch() {
40
43
  if (!direction.value || offsetX.value < LOCK_DIRECTION_DISTANCE && offsetY.value < LOCK_DIRECTION_DISTANCE) {
41
44
  direction.value = getDirection(offsetX.value, offsetY.value);
42
45
  }
46
+ if (isTap.value && (offsetX.value > TAP_OFFSET || offsetY.value > TAP_OFFSET)) {
47
+ isTap.value = false;
48
+ }
43
49
  };
44
50
  return {
45
51
  move,
@@ -53,7 +59,8 @@ function useTouch() {
53
59
  offsetY,
54
60
  direction,
55
61
  isVertical,
56
- isHorizontal
62
+ isHorizontal,
63
+ isTap
57
64
  };
58
65
  }
59
66
  export {
@@ -135,4 +135,4 @@ export type BaseThemeVars = {
135
135
  radiusGt?: string;
136
136
  radiusMax?: string;
137
137
  };
138
- export type ConfigProviderThemeVars = BaseThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../avatar').AvatarThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../checkbox').CheckboxThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../grid-item').GridItemThemeVars & import('../hierarchy-select').HierarchySelectThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../media-picker').MediaPickerThemeVars & import('../multiple-picker').MultiplePickerThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../radio-picker').RadioPickerThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../table').TableThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../text-ellipsis').TextEllipsisThemeVars & import('../time-picker').TimePickerThemeVars & import('../timeline').TimelineThemeVars & import('../toast').ToastThemeVars & import('../uploader').UploaderThemeVars;
138
+ export type ConfigProviderThemeVars = BaseThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../avatar').AvatarThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../checkbox').CheckboxThemeVars & import('../collapse-item').CollapseItemThemeVars & 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('../grid-item').GridItemThemeVars & import('../hierarchy-select').HierarchySelectThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../media-picker').MediaPickerThemeVars & import('../multiple-picker').MultiplePickerThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../radio-picker').RadioPickerThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../signature').SignatureThemeVars & import('../skeleton').SkeletonThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../table').TableThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../text-ellipsis').TextEllipsisThemeVars & import('../time-picker').TimePickerThemeVars & import('../timeline').TimelineThemeVars & import('../toast').ToastThemeVars & import('../uploader').UploaderThemeVars;
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
102
102
  type: import("vue").PropType<string[]>;
103
103
  default: () => string[];
104
104
  };
105
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "update:modelValue" | "cancel" | "change" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
105
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
106
106
  loading: BooleanConstructor;
107
107
  readonly: BooleanConstructor;
108
108
  allowHtml: BooleanConstructor;
@@ -201,7 +201,7 @@ declare const _default: import("vue").DefineComponent<{
201
201
  type: PropType<string[]>;
202
202
  default: () => string[];
203
203
  };
204
- }, () => 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<{
204
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
205
205
  loading: BooleanConstructor;
206
206
  readonly: BooleanConstructor;
207
207
  allowHtml: BooleanConstructor;
@@ -99,7 +99,7 @@ export declare const DateTimePicker: import("../utils").WithInstall<import("vue"
99
99
  type: import("vue").PropType<string[]>;
100
100
  default: () => string[];
101
101
  };
102
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "update:modelValue" | "cancel" | "change" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
102
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue")[], "cancel" | "change" | "update:modelValue" | "update:show" | "confirm" | "startChange" | "endChange" | "update:startValue" | "update:endValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
103
103
  loading: BooleanConstructor;
104
104
  readonly: BooleanConstructor;
105
105
  allowHtml: BooleanConstructor;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  };
41
41
  titleClass: PropType<unknown>;
42
42
  multiSelect: BooleanConstructor;
43
- }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm")[], "reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
43
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm")[], "reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
44
44
  title: StringConstructor;
45
45
  options: {
46
46
  type: PropType<DropdownItemOption[]>;
@@ -18,7 +18,7 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
18
18
  };
19
19
  titleClass: import("vue").PropType<unknown>;
20
20
  multiSelect: BooleanConstructor;
21
- }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm")[], "reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm")[], "reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  title: StringConstructor;
23
23
  options: {
24
24
  type: import("vue").PropType<import("./types").DropdownItemOption[]>;
@@ -74,6 +74,11 @@ declare const fieldProps: {
74
74
  type: PropType<boolean | null>;
75
75
  default: null;
76
76
  };
77
+ clearable: BooleanConstructor;
78
+ clearIcon: {
79
+ type: PropType<string>;
80
+ default: string;
81
+ };
77
82
  } & {
78
83
  id: StringConstructor;
79
84
  name: StringConstructor;
@@ -171,6 +176,11 @@ declare const _default: import("vue").DefineComponent<{
171
176
  type: PropType<boolean | null>;
172
177
  default: null;
173
178
  };
179
+ clearable: BooleanConstructor;
180
+ clearIcon: {
181
+ type: PropType<string>;
182
+ default: string;
183
+ };
174
184
  } & {
175
185
  id: StringConstructor;
176
186
  name: StringConstructor;
@@ -236,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
236
246
  type: BooleanConstructor;
237
247
  default: null;
238
248
  };
239
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
249
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "blur" | "focus" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "blur" | "focus" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
240
250
  leftIcon: StringConstructor;
241
251
  titleIcon: StringConstructor;
242
252
  title: (NumberConstructor | StringConstructor)[];
@@ -266,6 +276,11 @@ declare const _default: import("vue").DefineComponent<{
266
276
  type: PropType<boolean | null>;
267
277
  default: null;
268
278
  };
279
+ clearable: BooleanConstructor;
280
+ clearIcon: {
281
+ type: PropType<string>;
282
+ default: string;
283
+ };
269
284
  } & {
270
285
  id: StringConstructor;
271
286
  name: StringConstructor;
@@ -355,10 +370,10 @@ declare const _default: import("vue").DefineComponent<{
355
370
  clickable: boolean | null;
356
371
  clearable: boolean;
357
372
  clearIcon: string;
373
+ error: boolean;
358
374
  modelValue: string | number;
359
375
  clearTrigger: FieldClearTrigger;
360
376
  formatTrigger: FieldFormatTrigger;
361
- error: boolean;
362
377
  readonly: boolean;
363
378
  showWordLimit: boolean;
364
379
  description: string;
@@ -29,6 +29,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
29
29
  type: import("vue").PropType<boolean | null>;
30
30
  default: null;
31
31
  };
32
+ clearable: BooleanConstructor;
33
+ clearIcon: {
34
+ type: import("vue").PropType<string>;
35
+ default: string;
36
+ };
32
37
  } & {
33
38
  id: StringConstructor;
34
39
  name: StringConstructor;
@@ -94,7 +99,7 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
94
99
  type: BooleanConstructor;
95
100
  default: null;
96
101
  };
97
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "focus" | "blur" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
102
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "blur" | "focus" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue")[], "clear" | "blur" | "focus" | "keypress" | "clickInput" | "endValidate" | "startValidate" | "clickLeftIcon" | "clickRightIcon" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
98
103
  leftIcon: StringConstructor;
99
104
  titleIcon: StringConstructor;
100
105
  title: (NumberConstructor | StringConstructor)[];
@@ -124,6 +129,11 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
124
129
  type: import("vue").PropType<boolean | null>;
125
130
  default: null;
126
131
  };
132
+ clearable: BooleanConstructor;
133
+ clearIcon: {
134
+ type: import("vue").PropType<string>;
135
+ default: string;
136
+ };
127
137
  } & {
128
138
  id: StringConstructor;
129
139
  name: StringConstructor;
@@ -213,10 +223,10 @@ export declare const Field: import("../utils").WithInstall<import("vue").DefineC
213
223
  clickable: boolean | null;
214
224
  clearable: boolean;
215
225
  clearIcon: string;
226
+ error: boolean;
216
227
  modelValue: string | number;
217
228
  clearTrigger: import("./types").FieldClearTrigger;
218
229
  formatTrigger: import("./types").FieldFormatTrigger;
219
- error: boolean;
220
230
  readonly: boolean;
221
231
  showWordLimit: boolean;
222
232
  description: string;