straw-ui-vue 0.1.0

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 (200) hide show
  1. package/README.md +42 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
  4. package/dist/components/st-button/index.d.ts +162 -0
  5. package/dist/components/st-button/st-button.vue.cjs +1 -0
  6. package/dist/components/st-button/st-button.vue.d.ts +29 -0
  7. package/dist/components/st-button/st-button.vue.js +5 -0
  8. package/dist/components/st-button/st-button.vue_vue_type_script_setup_true_lang.cjs +1 -0
  9. package/dist/components/st-button/st-button.vue_vue_type_script_setup_true_lang.js +81 -0
  10. package/dist/components/st-button/types.d.ts +49 -0
  11. package/dist/components/st-button.cjs +1 -0
  12. package/dist/components/st-button.js +6 -0
  13. package/dist/components/st-checkbox/index.d.ts +153 -0
  14. package/dist/components/st-checkbox/st-checkbox.vue.cjs +1 -0
  15. package/dist/components/st-checkbox/st-checkbox.vue.d.ts +27 -0
  16. package/dist/components/st-checkbox/st-checkbox.vue.js +5 -0
  17. package/dist/components/st-checkbox/st-checkbox.vue_vue_type_script_setup_true_lang.cjs +1 -0
  18. package/dist/components/st-checkbox/st-checkbox.vue_vue_type_script_setup_true_lang.js +109 -0
  19. package/dist/components/st-checkbox/types.d.ts +20 -0
  20. package/dist/components/st-checkbox-group/index.d.ts +171 -0
  21. package/dist/components/st-checkbox-group/st-checkbox-group.vue.cjs +1 -0
  22. package/dist/components/st-checkbox-group/st-checkbox-group.vue.d.ts +29 -0
  23. package/dist/components/st-checkbox-group/st-checkbox-group.vue.js +5 -0
  24. package/dist/components/st-checkbox-group/st-checkbox-group.vue_vue_type_script_setup_true_lang.cjs +1 -0
  25. package/dist/components/st-checkbox-group/st-checkbox-group.vue_vue_type_script_setup_true_lang.js +63 -0
  26. package/dist/components/st-checkbox-group/types.d.ts +43 -0
  27. package/dist/components/st-checkbox-group.cjs +1 -0
  28. package/dist/components/st-checkbox-group.js +6 -0
  29. package/dist/components/st-checkbox.cjs +1 -0
  30. package/dist/components/st-checkbox.js +6 -0
  31. package/dist/components/st-dialog/index.d.ts +243 -0
  32. package/dist/components/st-dialog/st-dialog.vue.cjs +1 -0
  33. package/dist/components/st-dialog/st-dialog.vue.d.ts +41 -0
  34. package/dist/components/st-dialog/st-dialog.vue.js +5 -0
  35. package/dist/components/st-dialog/st-dialog.vue_vue_type_script_setup_true_lang.cjs +1 -0
  36. package/dist/components/st-dialog/st-dialog.vue_vue_type_script_setup_true_lang.js +175 -0
  37. package/dist/components/st-dialog/types.d.ts +29 -0
  38. package/dist/components/st-dialog.cjs +1 -0
  39. package/dist/components/st-dialog.js +6 -0
  40. package/dist/components/st-input/index.d.ts +315 -0
  41. package/dist/components/st-input/st-input.vue.cjs +1 -0
  42. package/dist/components/st-input/st-input.vue.d.ts +48 -0
  43. package/dist/components/st-input/st-input.vue.js +7 -0
  44. package/dist/components/st-input/st-input.vue_vue_type_script_setup_true_lang.cjs +1 -0
  45. package/dist/components/st-input/st-input.vue_vue_type_script_setup_true_lang.js +146 -0
  46. package/dist/components/st-input/types.d.ts +68 -0
  47. package/dist/components/st-input.cjs +1 -0
  48. package/dist/components/st-input.js +6 -0
  49. package/dist/components/st-menu/index.d.ts +217 -0
  50. package/dist/components/st-menu/st-menu-node.vue.cjs +1 -0
  51. package/dist/components/st-menu/st-menu-node.vue.d.ts +14 -0
  52. package/dist/components/st-menu/st-menu-node.vue.js +5 -0
  53. package/dist/components/st-menu/st-menu-node.vue_vue_type_script_setup_true_lang.cjs +1 -0
  54. package/dist/components/st-menu/st-menu-node.vue_vue_type_script_setup_true_lang.js +107 -0
  55. package/dist/components/st-menu/st-menu.vue.cjs +1 -0
  56. package/dist/components/st-menu/st-menu.vue.d.ts +26 -0
  57. package/dist/components/st-menu/st-menu.vue.js +5 -0
  58. package/dist/components/st-menu/st-menu.vue_vue_type_script_setup_true_lang.cjs +1 -0
  59. package/dist/components/st-menu/st-menu.vue_vue_type_script_setup_true_lang.js +86 -0
  60. package/dist/components/st-menu/types.d.ts +82 -0
  61. package/dist/components/st-menu.cjs +1 -0
  62. package/dist/components/st-menu.js +7 -0
  63. package/dist/components/st-popover/index.d.ts +243 -0
  64. package/dist/components/st-popover/st-popover.vue.cjs +1 -0
  65. package/dist/components/st-popover/st-popover.vue.d.ts +37 -0
  66. package/dist/components/st-popover/st-popover.vue.js +5 -0
  67. package/dist/components/st-popover/st-popover.vue_vue_type_script_setup_true_lang.cjs +1 -0
  68. package/dist/components/st-popover/st-popover.vue_vue_type_script_setup_true_lang.js +355 -0
  69. package/dist/components/st-popover/types.d.ts +103 -0
  70. package/dist/components/st-popover.cjs +1 -0
  71. package/dist/components/st-popover.js +6 -0
  72. package/dist/components/st-radio/index.d.ts +135 -0
  73. package/dist/components/st-radio/st-radio.vue.cjs +1 -0
  74. package/dist/components/st-radio/st-radio.vue.d.ts +28 -0
  75. package/dist/components/st-radio/st-radio.vue.js +5 -0
  76. package/dist/components/st-radio/st-radio.vue_vue_type_script_setup_true_lang.cjs +1 -0
  77. package/dist/components/st-radio/st-radio.vue_vue_type_script_setup_true_lang.js +88 -0
  78. package/dist/components/st-radio/types.d.ts +15 -0
  79. package/dist/components/st-radio-group/index.d.ts +180 -0
  80. package/dist/components/st-radio-group/st-radio-group.vue.cjs +1 -0
  81. package/dist/components/st-radio-group/st-radio-group.vue.d.ts +35 -0
  82. package/dist/components/st-radio-group/st-radio-group.vue.js +5 -0
  83. package/dist/components/st-radio-group/st-radio-group.vue_vue_type_script_setup_true_lang.cjs +1 -0
  84. package/dist/components/st-radio-group/st-radio-group.vue_vue_type_script_setup_true_lang.js +66 -0
  85. package/dist/components/st-radio-group/types.d.ts +43 -0
  86. package/dist/components/st-radio-group.cjs +1 -0
  87. package/dist/components/st-radio-group.js +6 -0
  88. package/dist/components/st-radio.cjs +1 -0
  89. package/dist/components/st-radio.js +6 -0
  90. package/dist/components/st-select/index.d.ts +306 -0
  91. package/dist/components/st-select/st-select.vue.cjs +1 -0
  92. package/dist/components/st-select/st-select.vue.d.ts +47 -0
  93. package/dist/components/st-select/st-select.vue.js +5 -0
  94. package/dist/components/st-select/st-select.vue_vue_type_script_setup_true_lang.cjs +1 -0
  95. package/dist/components/st-select/st-select.vue_vue_type_script_setup_true_lang.js +200 -0
  96. package/dist/components/st-select/types.d.ts +85 -0
  97. package/dist/components/st-select.cjs +1 -0
  98. package/dist/components/st-select.js +6 -0
  99. package/dist/components/st-sidebar/index.d.ts +63 -0
  100. package/dist/components/st-sidebar/st-sidebar.vue.cjs +1 -0
  101. package/dist/components/st-sidebar/st-sidebar.vue.d.ts +11 -0
  102. package/dist/components/st-sidebar/st-sidebar.vue.js +5 -0
  103. package/dist/components/st-sidebar/st-sidebar.vue_vue_type_script_setup_true_lang.cjs +1 -0
  104. package/dist/components/st-sidebar/st-sidebar.vue_vue_type_script_setup_true_lang.js +108 -0
  105. package/dist/components/st-sidebar/types.d.ts +56 -0
  106. package/dist/components/st-sidebar-item/index.d.ts +63 -0
  107. package/dist/components/st-sidebar-item/st-sidebar-item.vue.cjs +1 -0
  108. package/dist/components/st-sidebar-item/st-sidebar-item.vue.d.ts +11 -0
  109. package/dist/components/st-sidebar-item/st-sidebar-item.vue.js +5 -0
  110. package/dist/components/st-sidebar-item/st-sidebar-item.vue_vue_type_script_setup_true_lang.cjs +1 -0
  111. package/dist/components/st-sidebar-item/st-sidebar-item.vue_vue_type_script_setup_true_lang.js +38 -0
  112. package/dist/components/st-sidebar-item/types.d.ts +19 -0
  113. package/dist/components/st-sidebar-item.cjs +1 -0
  114. package/dist/components/st-sidebar-item.js +6 -0
  115. package/dist/components/st-sidebar.cjs +1 -0
  116. package/dist/components/st-sidebar.js +6 -0
  117. package/dist/components/st-splitter/index.d.ts +88 -0
  118. package/dist/components/st-splitter/st-splitter.vue.cjs +1 -0
  119. package/dist/components/st-splitter/st-splitter.vue.d.ts +16 -0
  120. package/dist/components/st-splitter/st-splitter.vue.js +5 -0
  121. package/dist/components/st-splitter/st-splitter.vue_vue_type_script_setup_true_lang.cjs +1 -0
  122. package/dist/components/st-splitter/st-splitter.vue_vue_type_script_setup_true_lang.js +29 -0
  123. package/dist/components/st-splitter/types.d.ts +192 -0
  124. package/dist/components/st-splitter/useSplitter.cjs +1 -0
  125. package/dist/components/st-splitter/useSplitter.d.ts +24 -0
  126. package/dist/components/st-splitter/useSplitter.js +129 -0
  127. package/dist/components/st-splitter-panel/index.d.ts +180 -0
  128. package/dist/components/st-splitter-panel/st-splitter-panel.vue.cjs +1 -0
  129. package/dist/components/st-splitter-panel/st-splitter-panel.vue.d.ts +33 -0
  130. package/dist/components/st-splitter-panel/st-splitter-panel.vue.js +5 -0
  131. package/dist/components/st-splitter-panel/st-splitter-panel.vue_vue_type_script_setup_true_lang.cjs +1 -0
  132. package/dist/components/st-splitter-panel/st-splitter-panel.vue_vue_type_script_setup_true_lang.js +164 -0
  133. package/dist/components/st-splitter-panel/types.d.ts +27 -0
  134. package/dist/components/st-splitter-panel.cjs +1 -0
  135. package/dist/components/st-splitter-panel.js +6 -0
  136. package/dist/components/st-splitter.cjs +1 -0
  137. package/dist/components/st-splitter.js +7 -0
  138. package/dist/components/st-toggle/index.d.ts +159 -0
  139. package/dist/components/st-toggle/st-toggle.vue.cjs +1 -0
  140. package/dist/components/st-toggle/st-toggle.vue.d.ts +25 -0
  141. package/dist/components/st-toggle/st-toggle.vue.js +5 -0
  142. package/dist/components/st-toggle/st-toggle.vue_vue_type_script_setup_true_lang.cjs +1 -0
  143. package/dist/components/st-toggle/st-toggle.vue_vue_type_script_setup_true_lang.js +62 -0
  144. package/dist/components/st-toggle/types.d.ts +38 -0
  145. package/dist/components/st-toggle.cjs +1 -0
  146. package/dist/components/st-toggle.js +6 -0
  147. package/dist/components/st-tooltip/index.d.ts +183 -0
  148. package/dist/components/st-tooltip/st-tooltip.vue.cjs +1 -0
  149. package/dist/components/st-tooltip/st-tooltip.vue.d.ts +29 -0
  150. package/dist/components/st-tooltip/st-tooltip.vue.js +5 -0
  151. package/dist/components/st-tooltip/st-tooltip.vue_vue_type_script_setup_true_lang.cjs +1 -0
  152. package/dist/components/st-tooltip/st-tooltip.vue_vue_type_script_setup_true_lang.js +71 -0
  153. package/dist/components/st-tooltip/types.d.ts +79 -0
  154. package/dist/components/st-tooltip.cjs +1 -0
  155. package/dist/components/st-tooltip.js +6 -0
  156. package/dist/components/st-tree/index.d.ts +114 -0
  157. package/dist/components/st-tree/st-tree-node.vue.cjs +1 -0
  158. package/dist/components/st-tree/st-tree-node.vue.d.ts +4 -0
  159. package/dist/components/st-tree/st-tree-node.vue.js +5 -0
  160. package/dist/components/st-tree/st-tree-node.vue_vue_type_script_setup_true_lang.cjs +1 -0
  161. package/dist/components/st-tree/st-tree-node.vue_vue_type_script_setup_true_lang.js +87 -0
  162. package/dist/components/st-tree/st-tree.vue.cjs +1 -0
  163. package/dist/components/st-tree/st-tree.vue.d.ts +50 -0
  164. package/dist/components/st-tree/st-tree.vue.js +5 -0
  165. package/dist/components/st-tree/st-tree.vue_vue_type_script_setup_true_lang.cjs +1 -0
  166. package/dist/components/st-tree/st-tree.vue_vue_type_script_setup_true_lang.js +59 -0
  167. package/dist/components/st-tree/types.d.ts +87 -0
  168. package/dist/components/st-tree.cjs +1 -0
  169. package/dist/components/st-tree.js +6 -0
  170. package/dist/components/types.d.ts +41 -0
  171. package/dist/index.cjs +1 -0
  172. package/dist/index.css +2 -0
  173. package/dist/index.d.ts +3005 -0
  174. package/dist/index.js +47 -0
  175. package/dist/utils/cn.cjs +1 -0
  176. package/dist/utils/cn.d.ts +11 -0
  177. package/dist/utils/cn.js +8 -0
  178. package/dist/utils/cva/index.cjs +1 -0
  179. package/dist/utils/cva/index.d.ts +9 -0
  180. package/dist/utils/cva/index.js +25 -0
  181. package/dist/utils/cva/types.d.ts +45 -0
  182. package/dist/utils/directive/index.cjs +1 -0
  183. package/dist/utils/directive/index.d.ts +4 -0
  184. package/dist/utils/directive/index.js +10 -0
  185. package/dist/utils/directive/intersection.cjs +1 -0
  186. package/dist/utils/directive/intersection.d.ts +6 -0
  187. package/dist/utils/directive/intersection.js +20 -0
  188. package/dist/utils/directive/interval.cjs +1 -0
  189. package/dist/utils/directive/interval.d.ts +6 -0
  190. package/dist/utils/directive/interval.js +14 -0
  191. package/dist/utils/directive/move.cjs +1 -0
  192. package/dist/utils/directive/move.d.ts +6 -0
  193. package/dist/utils/directive/move.js +42 -0
  194. package/dist/utils/directive/resize.cjs +1 -0
  195. package/dist/utils/directive/resize.d.ts +6 -0
  196. package/dist/utils/directive/resize.js +17 -0
  197. package/dist/utils/with-install.cjs +1 -0
  198. package/dist/utils/with-install.d.ts +4 -0
  199. package/dist/utils/with-install.js +10 -0
  200. package/package.json +87 -0
@@ -0,0 +1,66 @@
1
+ import { cn as e } from "../../utils/cn.js";
2
+ import { cva as t } from "../../utils/cva/index.js";
3
+ import n from "../st-radio/st-radio.vue.js";
4
+ import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createTextVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, normalizeClass as d, normalizeProps as f, normalizeStyle as p, openBlock as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, useAttrs as y, useModel as b, withCtx as x } from "vue";
5
+ //#region src/components/st-radio-group/st-radio-group.vue?vue&type=script&setup=true&lang.ts
6
+ var S = /*@__PURE__*/ c({
7
+ inheritAttrs: !1,
8
+ __name: "st-radio-group",
9
+ props: /*@__PURE__*/ l({
10
+ list: { default: void 0 },
11
+ labelKey: { default: "label" },
12
+ valueKey: { default: "value" },
13
+ disabled: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ direction: { default: "horizontal" }
18
+ }, {
19
+ modelValue: { type: [
20
+ String,
21
+ Number,
22
+ Boolean
23
+ ] },
24
+ modelModifiers: {}
25
+ }),
26
+ emits: ["update:modelValue"],
27
+ setup(c) {
28
+ let l = y(), S = c, C = b(c, "modelValue"), w = i(() => !!(S.list && S.list.length > 0)), T = t({
29
+ base: "flex",
30
+ variants: { direction: {
31
+ horizontal: "flex-row gap-4",
32
+ vertical: "flex-col gap-2"
33
+ } },
34
+ defaultVariants: { direction: "horizontal" }
35
+ }), E = i(() => e(T({ direction: S.direction }), l.class));
36
+ function D(e) {
37
+ return String(e[S.labelKey] ?? "");
38
+ }
39
+ function O(e) {
40
+ let t = e[S.valueKey];
41
+ return typeof t == "boolean" ? String(t) : t;
42
+ }
43
+ return (e, t) => (m(), o("div", {
44
+ class: d(E.value),
45
+ style: p(v(l).style)
46
+ }, [w.value ? (m(!0), o(r, { key: 0 }, h(S.list, (e) => (m(), a(n, {
47
+ key: O(e),
48
+ modelValue: C.value,
49
+ "onUpdate:modelValue": t[0] ||= (e) => C.value = e,
50
+ disabled: S.disabled,
51
+ value: O(e)
52
+ }, {
53
+ default: x(() => [s(_(D(e)), 1)]),
54
+ _: 2
55
+ }, 1032, [
56
+ "modelValue",
57
+ "disabled",
58
+ "value"
59
+ ]))), 128)) : g(e.$slots, "default", f(u({ key: 1 }, {
60
+ modelValue: C.value,
61
+ disabled: S.disabled
62
+ })))], 6));
63
+ }
64
+ });
65
+ //#endregion
66
+ export { S as default };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * RadioGroup 组件属性接口
3
+ * 用于定义单选框组件组的属性
4
+ * */
5
+ export interface RadioGroupProps {
6
+ /**
7
+ * 单选框选项列表
8
+ * */
9
+ list?: RadioGroupItem[];
10
+ /**
11
+ * 用于显示的标签字段名
12
+ * */
13
+ labelKey?: string;
14
+ /**
15
+ * 用于值的字段名
16
+ * */
17
+ valueKey?: string;
18
+ /**
19
+ * 单选框禁用状态
20
+ * */
21
+ disabled?: boolean;
22
+ /**
23
+ * 排列方向
24
+ * */
25
+ direction?: RadioGroupDirection;
26
+ }
27
+
28
+ /**
29
+ * 单选框选项项接口
30
+ * */
31
+ export interface RadioGroupItem {
32
+ /**
33
+ * 选项标签
34
+ * */
35
+ [key: string]: unknown;
36
+ }
37
+
38
+ /**
39
+ * 单选框组排列方向类型
40
+ * */
41
+ export type RadioGroupDirection = 'horizontal' | 'vertical';
42
+
43
+ export {};
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../utils/with-install.cjs"),t=require("./st-radio-group/st-radio-group.vue.cjs");var n=e.withInstall(t.default);exports.StRadioGroup=n,exports.default=n;
@@ -0,0 +1,6 @@
1
+ import { withInstall as e } from "../utils/with-install.js";
2
+ import t from "./st-radio-group/st-radio-group.vue.js";
3
+ //#region src/components/st-radio-group/index.ts
4
+ var n = e(t);
5
+ //#endregion
6
+ export { n as StRadioGroup, n as default };
@@ -0,0 +1 @@
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("../utils/with-install.cjs"),t=require("./st-radio/st-radio.vue.cjs");var n=e.withInstall(t.default);exports.StRadio=n,exports.default=n;
@@ -0,0 +1,6 @@
1
+ import { withInstall as e } from "../utils/with-install.js";
2
+ import t from "./st-radio/st-radio.vue.js";
3
+ //#region src/components/st-radio/index.ts
4
+ var n = e(t);
5
+ //#endregion
6
+ export { n as StRadio, n as default };
@@ -0,0 +1,306 @@
1
+ export declare const StSelect: {
2
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types.d.ts").SelectProps & {
4
+ modelValue?: string | number | (string | number)[] | undefined;
5
+ }> & Readonly<{
6
+ onChange?: (value: string | number | (string | number)[]) => any;
7
+ onFilter?: (value: string) => any;
8
+ onClear?: () => any;
9
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
10
+ onVisibleChange?: (visible: boolean) => any;
11
+ onRemoveTag?: (value: string | number) => any;
12
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ change: (value: string | number | (string | number)[]) => any;
14
+ filter: (value: string) => any;
15
+ clear: () => any;
16
+ "update:modelValue": (...args: unknown[]) => any;
17
+ visibleChange: (visible: boolean) => any;
18
+ removeTag: (value: string | number) => any;
19
+ }, import("vue").PublicProps, {
20
+ disabled: boolean;
21
+ list: import("./types.d.ts").SelectOption[];
22
+ labelKey: string;
23
+ valueKey: string;
24
+ placeholder: string;
25
+ clearable: boolean;
26
+ popoverStyle: string | Record<string, string>;
27
+ multiple: boolean;
28
+ filterable: boolean;
29
+ group: boolean;
30
+ popoverClass: string;
31
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
32
+ P: {};
33
+ B: {};
34
+ D: {};
35
+ C: {};
36
+ M: {};
37
+ Defaults: {};
38
+ }, Readonly<import("./types.d.ts").SelectProps & {
39
+ modelValue?: string | number | (string | number)[] | undefined;
40
+ }> & Readonly<{
41
+ onChange?: (value: string | number | (string | number)[]) => any;
42
+ onFilter?: (value: string) => any;
43
+ onClear?: () => any;
44
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
45
+ onVisibleChange?: (visible: boolean) => any;
46
+ onRemoveTag?: (value: string | number) => any;
47
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, {
48
+ disabled: boolean;
49
+ list: import("./types.d.ts").SelectOption[];
50
+ labelKey: string;
51
+ valueKey: string;
52
+ placeholder: string;
53
+ clearable: boolean;
54
+ popoverStyle: string | Record<string, string>;
55
+ multiple: boolean;
56
+ filterable: boolean;
57
+ group: boolean;
58
+ popoverClass: string;
59
+ }>;
60
+ __isFragment?: never;
61
+ __isTeleport?: never;
62
+ __isSuspense?: never;
63
+ } & import("vue").ComponentOptionsBase<Readonly<import("./types.d.ts").SelectProps & {
64
+ modelValue?: string | number | (string | number)[] | undefined;
65
+ }> & Readonly<{
66
+ onChange?: (value: string | number | (string | number)[]) => any;
67
+ onFilter?: (value: string) => any;
68
+ onClear?: () => any;
69
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
70
+ onVisibleChange?: (visible: boolean) => any;
71
+ onRemoveTag?: (value: string | number) => any;
72
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
+ change: (value: string | number | (string | number)[]) => any;
74
+ filter: (value: string) => any;
75
+ clear: () => any;
76
+ "update:modelValue": (...args: unknown[]) => any;
77
+ visibleChange: (visible: boolean) => any;
78
+ removeTag: (value: string | number) => any;
79
+ }, string, {
80
+ disabled: boolean;
81
+ list: import("./types.d.ts").SelectOption[];
82
+ labelKey: string;
83
+ valueKey: string;
84
+ placeholder: string;
85
+ clearable: boolean;
86
+ popoverStyle: string | Record<string, string>;
87
+ multiple: boolean;
88
+ filterable: boolean;
89
+ group: boolean;
90
+ popoverClass: string;
91
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
92
+ $slots: {
93
+ prefix?: (props: {}) => any;
94
+ } & {
95
+ empty?: (props: {}) => any;
96
+ };
97
+ })>>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
98
+ [x: string]: any;
99
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
100
+ P: {};
101
+ B: {};
102
+ D: {};
103
+ C: {};
104
+ M: {};
105
+ Defaults: {};
106
+ }, Readonly<import("vue").ExtractPropTypes<{
107
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types.d.ts").SelectProps & {
108
+ modelValue?: string | number | (string | number)[] | undefined;
109
+ }> & Readonly<{
110
+ onChange?: (value: string | number | (string | number)[]) => any;
111
+ onFilter?: (value: string) => any;
112
+ onClear?: () => any;
113
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
114
+ onVisibleChange?: (visible: boolean) => any;
115
+ onRemoveTag?: (value: string | number) => any;
116
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
+ change: (value: string | number | (string | number)[]) => any;
118
+ filter: (value: string) => any;
119
+ clear: () => any;
120
+ "update:modelValue": (...args: unknown[]) => any;
121
+ visibleChange: (visible: boolean) => any;
122
+ removeTag: (value: string | number) => any;
123
+ }, import("vue").PublicProps, {
124
+ disabled: boolean;
125
+ list: import("./types.d.ts").SelectOption[];
126
+ labelKey: string;
127
+ valueKey: string;
128
+ placeholder: string;
129
+ clearable: boolean;
130
+ popoverStyle: string | Record<string, string>;
131
+ multiple: boolean;
132
+ filterable: boolean;
133
+ group: boolean;
134
+ popoverClass: string;
135
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
136
+ P: {};
137
+ B: {};
138
+ D: {};
139
+ C: {};
140
+ M: {};
141
+ Defaults: {};
142
+ }, Readonly<import("./types.d.ts").SelectProps & {
143
+ modelValue?: string | number | (string | number)[] | undefined;
144
+ }> & Readonly<{
145
+ onChange?: (value: string | number | (string | number)[]) => any;
146
+ onFilter?: (value: string) => any;
147
+ onClear?: () => any;
148
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
149
+ onVisibleChange?: (visible: boolean) => any;
150
+ onRemoveTag?: (value: string | number) => any;
151
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, {
152
+ disabled: boolean;
153
+ list: import("./types.d.ts").SelectOption[];
154
+ labelKey: string;
155
+ valueKey: string;
156
+ placeholder: string;
157
+ clearable: boolean;
158
+ popoverStyle: string | Record<string, string>;
159
+ multiple: boolean;
160
+ filterable: boolean;
161
+ group: boolean;
162
+ popoverClass: string;
163
+ }>;
164
+ __isFragment?: never;
165
+ __isTeleport?: never;
166
+ __isSuspense?: never;
167
+ } & import("vue").ComponentOptionsBase<Readonly<import("./types.d.ts").SelectProps & {
168
+ modelValue?: string | number | (string | number)[] | undefined;
169
+ }> & Readonly<{
170
+ onChange?: (value: string | number | (string | number)[]) => any;
171
+ onFilter?: (value: string) => any;
172
+ onClear?: () => any;
173
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
174
+ onVisibleChange?: (visible: boolean) => any;
175
+ onRemoveTag?: (value: string | number) => any;
176
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
177
+ change: (value: string | number | (string | number)[]) => any;
178
+ filter: (value: string) => any;
179
+ clear: () => any;
180
+ "update:modelValue": (...args: unknown[]) => any;
181
+ visibleChange: (visible: boolean) => any;
182
+ removeTag: (value: string | number) => any;
183
+ }, string, {
184
+ disabled: boolean;
185
+ list: import("./types.d.ts").SelectOption[];
186
+ labelKey: string;
187
+ valueKey: string;
188
+ placeholder: string;
189
+ clearable: boolean;
190
+ popoverStyle: string | Record<string, string>;
191
+ multiple: boolean;
192
+ filterable: boolean;
193
+ group: boolean;
194
+ popoverClass: string;
195
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
196
+ $slots: {
197
+ prefix?: (props: {}) => any;
198
+ } & {
199
+ empty?: (props: {}) => any;
200
+ };
201
+ })>>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, {
202
+ [x: string]: any;
203
+ }>;
204
+ __isFragment?: never;
205
+ __isTeleport?: never;
206
+ __isSuspense?: never;
207
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
208
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./types.d.ts").SelectProps & {
209
+ modelValue?: string | number | (string | number)[] | undefined;
210
+ }> & Readonly<{
211
+ onChange?: (value: string | number | (string | number)[]) => any;
212
+ onFilter?: (value: string) => any;
213
+ onClear?: () => any;
214
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
215
+ onVisibleChange?: (visible: boolean) => any;
216
+ onRemoveTag?: (value: string | number) => any;
217
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
218
+ change: (value: string | number | (string | number)[]) => any;
219
+ filter: (value: string) => any;
220
+ clear: () => any;
221
+ "update:modelValue": (...args: unknown[]) => any;
222
+ visibleChange: (visible: boolean) => any;
223
+ removeTag: (value: string | number) => any;
224
+ }, import("vue").PublicProps, {
225
+ disabled: boolean;
226
+ list: import("./types.d.ts").SelectOption[];
227
+ labelKey: string;
228
+ valueKey: string;
229
+ placeholder: string;
230
+ clearable: boolean;
231
+ popoverStyle: string | Record<string, string>;
232
+ multiple: boolean;
233
+ filterable: boolean;
234
+ group: boolean;
235
+ popoverClass: string;
236
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
237
+ P: {};
238
+ B: {};
239
+ D: {};
240
+ C: {};
241
+ M: {};
242
+ Defaults: {};
243
+ }, Readonly<import("./types.d.ts").SelectProps & {
244
+ modelValue?: string | number | (string | number)[] | undefined;
245
+ }> & Readonly<{
246
+ onChange?: (value: string | number | (string | number)[]) => any;
247
+ onFilter?: (value: string) => any;
248
+ onClear?: () => any;
249
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
250
+ onVisibleChange?: (visible: boolean) => any;
251
+ onRemoveTag?: (value: string | number) => any;
252
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, {
253
+ disabled: boolean;
254
+ list: import("./types.d.ts").SelectOption[];
255
+ labelKey: string;
256
+ valueKey: string;
257
+ placeholder: string;
258
+ clearable: boolean;
259
+ popoverStyle: string | Record<string, string>;
260
+ multiple: boolean;
261
+ filterable: boolean;
262
+ group: boolean;
263
+ popoverClass: string;
264
+ }>;
265
+ __isFragment?: never;
266
+ __isTeleport?: never;
267
+ __isSuspense?: never;
268
+ } & import("vue").ComponentOptionsBase<Readonly<import("./types.d.ts").SelectProps & {
269
+ modelValue?: string | number | (string | number)[] | undefined;
270
+ }> & Readonly<{
271
+ onChange?: (value: string | number | (string | number)[]) => any;
272
+ onFilter?: (value: string) => any;
273
+ onClear?: () => any;
274
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
275
+ onVisibleChange?: (visible: boolean) => any;
276
+ onRemoveTag?: (value: string | number) => any;
277
+ }>, import("./types.d.ts").SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
278
+ change: (value: string | number | (string | number)[]) => any;
279
+ filter: (value: string) => any;
280
+ clear: () => any;
281
+ "update:modelValue": (...args: unknown[]) => any;
282
+ visibleChange: (visible: boolean) => any;
283
+ removeTag: (value: string | number) => any;
284
+ }, string, {
285
+ disabled: boolean;
286
+ list: import("./types.d.ts").SelectOption[];
287
+ labelKey: string;
288
+ valueKey: string;
289
+ placeholder: string;
290
+ clearable: boolean;
291
+ popoverStyle: string | Record<string, string>;
292
+ multiple: boolean;
293
+ filterable: boolean;
294
+ group: boolean;
295
+ popoverClass: string;
296
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
297
+ $slots: {
298
+ prefix?: (props: {}) => any;
299
+ } & {
300
+ empty?: (props: {}) => any;
301
+ };
302
+ })>>, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
303
+ [x: string]: any;
304
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & (import("vue").VNodeProps & (import("vue").AllowedComponentProps & (import("vue").ComponentCustomProps & import("vue").Plugin)));
305
+ export default StSelect;
306
+ export type * from './types.d.ts';
@@ -0,0 +1 @@
1
+ var e=require("./st-select.vue_vue_type_script_setup_true_lang.cjs").default;exports.default=e;
@@ -0,0 +1,47 @@
1
+ import type { SelectExpose, SelectOption, SelectProps } from './types.d.ts';
2
+ type __VLS_Props = SelectProps;
3
+ type __VLS_ModelProps = {
4
+ modelValue?: string | number | (string | number)[] | undefined;
5
+ };
6
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
7
+ declare var __VLS_27: {}, __VLS_31: {};
8
+ type __VLS_Slots = {} & {
9
+ prefix?: (props: typeof __VLS_27) => any;
10
+ } & {
11
+ empty?: (props: typeof __VLS_31) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, SelectExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ change: (value: string | number | (string | number)[]) => any;
15
+ filter: (value: string) => any;
16
+ clear: () => any;
17
+ "update:modelValue": (...args: unknown[]) => any;
18
+ visibleChange: (visible: boolean) => any;
19
+ removeTag: (value: string | number) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ onChange?: (value: string | number | (string | number)[]) => any;
22
+ onFilter?: (value: string) => any;
23
+ onClear?: () => any;
24
+ "onUpdate:modelValue"?: (...args: unknown[]) => any;
25
+ onVisibleChange?: (visible: boolean) => any;
26
+ onRemoveTag?: (value: string | number) => any;
27
+ }>, {
28
+ disabled: boolean;
29
+ list: SelectOption[];
30
+ labelKey: string;
31
+ valueKey: string;
32
+ placeholder: string;
33
+ clearable: boolean;
34
+ popoverStyle: string | Record<string, string>;
35
+ multiple: boolean;
36
+ filterable: boolean;
37
+ group: boolean;
38
+ popoverClass: string;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
+ declare const _default: typeof __VLS_export;
42
+ export default _default;
43
+ type __VLS_WithSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,5 @@
1
+ import e from "./st-select.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/components/st-select/st-select.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1 @@
1
+ const e=require("../../utils/cn.cjs"),t=require("../st-input/st-input.vue.cjs"),n=require("../st-popover/st-popover.vue.cjs");let r=require("vue");var i={class:`st-select__dropdown max-h-60 w-full overflow-auto px-1 py-1.5`},a={class:`st-select__group-label px-3 py-2 text-xs font-semibold text-muted-foreground`},o=[`onClick`],s={class:`flex-1 truncate text-foreground`},c={key:0,class:`st-select__check text-primary`},l=[`onClick`],u={class:`flex-1 truncate text-foreground`},d={key:0,class:`st-select__check text-primary`},f={key:1,class:`st-select__empty px-3 py-2 text-center text-muted-foreground`},p=(0,r.defineComponent)({name:`StSelect`,inheritAttrs:!1,__name:`st-select`,props:(0,r.mergeModels)({list:{default:()=>[]},labelKey:{default:`label`},valueKey:{default:`value`},placeholder:{default:``},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},filterable:{type:Boolean,default:!1},group:{type:Boolean,default:!1},popoverClass:{default:``},popoverStyle:{default:``}},{modelValue:{default:void 0},modelModifiers:{}}),emits:(0,r.mergeModels)([`update:modelValue`,`change`,`clear`,`visibleChange`,`removeTag`,`filter`],[`update:modelValue`]),setup(p,{expose:m,emit:h}){(0,r.useSlots)();let g=(0,r.useAttrs)(),_=p,v=h,y=(0,r.useModel)(p,`modelValue`),b=(0,r.ref)(null),x=(0,r.ref)(null),S=(0,r.ref)(!1),C=(0,r.ref)(``),w=(0,r.ref)(!1),T=(0,r.ref)(!1),E=(0,r.ref)(0),D=e=>String(e.label),O=e=>e.value,k=(e,t)=>e[t],A=(0,r.computed)(()=>_.list.map(e=>{if(typeof e==`object`&&e){let t=e,n=k(t,_.labelKey),r=k(t,_.valueKey);return{label:String(n??``),value:r,disabled:e.disabled,children:e.children}}return{label:String(e),value:e}})),j=(0,r.computed)(()=>{if(!_.group)return A.value;let e=[];return A.value.forEach(t=>{t.children&&t.children.length>0&&e.push(...t.children)}),e}),M=(0,r.computed)(()=>{if(!_.filterable||!C.value)return _.group?j.value:A.value;let e=C.value.toLowerCase();return(_.group?j.value:A.value).filter(t=>t.label.toLowerCase().includes(e))}),N=(0,r.computed)(()=>{if(!_.group)return[];if(!_.filterable||!C.value)return A.value.filter(e=>e.children&&e.children.length>0).map(e=>({label:e.label,children:e.children}));let e=C.value.toLowerCase();return A.value.filter(e=>e.children&&e.children.length>0).map(t=>({label:t.label,children:t.children.filter(t=>t.label.toLowerCase().includes(e))})).filter(e=>e.children.length>0)}),P=(0,r.computed)(()=>{if(!_.multiple||!Array.isArray(y.value))return[];let e=y.value,t=_.group?j.value:A.value;return e.map(e=>{let n=t.find(t=>t.value===e);return n?n.label:``}).filter(e=>e!==``)}),F=(0,r.computed)(()=>{if(_.multiple||y.value===void 0)return``;let e=(_.group?j.value:A.value).find(e=>e.value===y.value);return e?e.label:``}),I=e=>_.multiple&&Array.isArray(y.value)?y.value.includes(e.value):y.value===e.value,L=(0,r.computed)(()=>e.cn(`st-select`,g.class,{"st-select--focused":S.value})),R=(0,r.computed)(()=>e.cn(`st-select__arrow`,`inline-flex items-center transition-transform duration-200`,{"rotate-180":S.value})),z=(0,r.computed)(()=>!_.clearable||_.disabled?!1:_.multiple?Array.isArray(y.value)&&y.value.length>0&&T.value:y.value!==void 0&&y.value!==null&&T.value),B=(0,r.computed)(()=>_.filterable&&w.value&&!_.multiple?C.value:_.multiple?P.value.join(`,`):F.value),V=(0,r.computed)(()=>_.filterable&&w.value&&!_.multiple?F.value||_.placeholder||`请选择`:(_.multiple?P.value.length>0:F.value)?``:_.placeholder||`请选择`),H=(0,r.computed)(()=>_.popoverStyle?_.popoverStyle:E.value>0?{width:`${E.value}px`}:{}),U=t=>e.cn(`st-select__option`,`flex items-center gap-2 px-3 py-1.25 rounded-radius cursor-pointer transition-colors duration-100 select-none whitespace-nowrap text-3.25 leading-5 text-foreground`,`hover:bg-accent`,{"st-select__option--selected bg-accent":I(t),"st-select__option--disabled cursor-not-allowed opacity-50":t.disabled}),W=e=>{if(!e.disabled)if(_.multiple){let t=Array.isArray(y.value)?[...y.value]:[],n=t.indexOf(e.value);n>-1?t.splice(n,1):t.push(e.value),y.value=t,v(`change`,t)}else y.value=e.value,v(`change`,e.value),S.value=!1,C.value=``},G=()=>{_.disabled||(y.value,y.value=_.multiple?[]:void 0,v(`clear`),v(`change`,_.multiple?[]:void 0))},K=()=>{T.value=!0},q=()=>{T.value=!1},J=e=>{v(`filter`,e.target.value)},Y=e=>{_.filterable&&w.value&&(C.value=String(e))},X=e=>{v(`visibleChange`,e),e?(b.value&&(E.value=b.value.$el.getBoundingClientRect().width),_.filterable&&!_.multiple&&(w.value=!0)):(w.value=!1,C.value=``)};return m({focus:()=>{b.value?.focus()},blur:()=>{b.value?.blur()},clear:()=>{G()}}),(e,p)=>((0,r.openBlock)(),(0,r.createBlock)(n.default,{ref_key:`popoverRef`,ref:x,visible:S.value,"onUpdate:visible":p[0]||=e=>S.value=e,disabled:_.disabled,"show-arrow":!1,class:(0,r.normalizeClass)(_.popoverClass),style:(0,r.normalizeStyle)(H.value),placement:`bottom-left`,trigger:`click`,onVisibleChange:X},{trigger:(0,r.withCtx)(()=>[(0,r.createVNode)(t.default,{ref_key:`selectRef`,ref:b,class:(0,r.normalizeClass)(L.value),style:(0,r.normalizeStyle)((0,r.unref)(g).style),clearable:z.value,disabled:_.disabled,placeholder:V.value,readonly:!_.filterable,"model-value":B.value,onClear:G,onInput:J,"onUpdate:modelValue":Y,onMouseenter:K,onMouseleave:q},(0,r.createSlots)({suffix:(0,r.withCtx)(()=>[(0,r.createElementVNode)(`span`,{class:(0,r.normalizeClass)(R.value)},[...p[1]||=[(0,r.createElementVNode)(`i`,{class:`i-ri-arrow-down-s-line`},null,-1)]],2)]),_:2},[e.$slots.prefix?{name:`prefix`,fn:(0,r.withCtx)(()=>[(0,r.renderSlot)(e.$slots,`prefix`)]),key:`0`}:void 0]),1032,[`class`,`style`,`clearable`,`disabled`,`placeholder`,`readonly`,`model-value`])]),content:(0,r.withCtx)(()=>[(0,r.createElementVNode)(`div`,i,[M.value.length>0?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[_.group?((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,{key:0},(0,r.renderList)(N.value,e=>((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:e.label},[(0,r.createElementVNode)(`div`,a,(0,r.toDisplayString)(e.label),1),((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(e.children,e=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:O(e),class:(0,r.normalizeClass)(U(e)),onClick:t=>W(e)},[(0,r.createElementVNode)(`span`,s,(0,r.toDisplayString)(D(e)),1),I(e)?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,c,[...p[2]||=[(0,r.createElementVNode)(`i`,{class:`i-ri-check-line`},null,-1)]])):(0,r.createCommentVNode)(``,!0)],10,o))),128))],64))),128)):((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,{key:1},(0,r.renderList)(M.value,e=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{key:O(e),class:(0,r.normalizeClass)(U(e)),onClick:t=>W(e)},[(0,r.createElementVNode)(`span`,u,(0,r.toDisplayString)(D(e)),1),I(e)?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,d,[...p[3]||=[(0,r.createElementVNode)(`i`,{class:`i-ri-check-line`},null,-1)]])):(0,r.createCommentVNode)(``,!0)],10,l))),128))],64)):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[e.$slots.empty?(0,r.renderSlot)(e.$slots,`empty`,{key:0}):((0,r.openBlock)(),(0,r.createElementBlock)(`div`,f,`暂无数据`))],64))])]),_:3},8,[`visible`,`disabled`,`class`,`style`]))}});exports.default=p;