@web-utils/form-ui 1.0.0-beta2 → 1.0.0-beta21

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 (128) hide show
  1. package/base.css +1 -1
  2. package/chunks/1chbbDUh.mjs +98 -0
  3. package/chunks/5HLN3g1u.mjs +51 -0
  4. package/chunks/B5B9au3z.mjs +180 -0
  5. package/chunks/BI2XOQW3.mjs +226 -0
  6. package/chunks/BLpnMrum.mjs +189 -0
  7. package/chunks/BNpqILFO.mjs +95 -0
  8. package/chunks/Bb43eI1f.mjs +93 -0
  9. package/chunks/BbrVRWUo.mjs +73 -0
  10. package/chunks/Bd1I-R29.mjs +53 -0
  11. package/chunks/Bh_CMUlo.mjs +12 -0
  12. package/chunks/Bv-Gn_Jd.mjs +42 -0
  13. package/chunks/C4MTLHn4.mjs +26 -0
  14. package/chunks/CI4RZnNc.mjs +26 -0
  15. package/chunks/CnsFNU2A.mjs +17 -0
  16. package/chunks/Cw8pz9hK.mjs +222 -0
  17. package/chunks/D4v0MyB_.mjs +106 -0
  18. package/chunks/D9GcEl6r.mjs +8 -0
  19. package/chunks/DGhMkri0.mjs +88 -0
  20. package/chunks/DOI7ju3i.mjs +108 -0
  21. package/chunks/DRDj0e_k.mjs +171 -0
  22. package/chunks/Dq3yxEPg.mjs +106 -0
  23. package/chunks/Dy5-h_Tx.mjs +108 -0
  24. package/chunks/RcygoTkQ.mjs +26 -0
  25. package/chunks/iWlTrkaC.mjs +76 -0
  26. package/chunks/lTFu0zgR.mjs +106 -0
  27. package/chunks/wfL1FAwc.mjs +1360 -0
  28. package/constants.d.ts +42 -0
  29. package/constants.mjs +3 -3
  30. package/element-dialog/index.d.ts +96 -0
  31. package/element-dialog/index.mjs +2 -92
  32. package/element-dialog/style.css +1 -1
  33. package/empty-view/index.d.ts +29 -0
  34. package/flex-scroll-area/index.d.ts +22 -0
  35. package/form-advice/index.d.ts +9 -0
  36. package/form-advice/index.mjs +13 -12
  37. package/form-cascader/index.d.ts +2 -0
  38. package/form-cascader/index.mjs +10 -0
  39. package/form-cell/index.d.ts +25 -0
  40. package/form-check-box-group/index.d.ts +293 -0
  41. package/form-check-box-group/index.mjs +1 -1
  42. package/form-checkbox/index.d.ts +271 -0
  43. package/form-checkbox/index.mjs +1 -1
  44. package/form-date-picker/index.d.ts +421 -0
  45. package/form-date-picker/index.mjs +1 -1
  46. package/form-holder/index.d.ts +166 -0
  47. package/form-holder/index.mjs +1 -1
  48. package/form-holder/style.css +1 -1
  49. package/form-image/index.d.ts +224 -0
  50. package/form-image/index.mjs +1 -1
  51. package/form-input/index.d.ts +387 -0
  52. package/form-input/index.mjs +1 -1
  53. package/form-input/style.css +1 -0
  54. package/form-input-cron-expression/index.d.ts +215 -0
  55. package/form-input-cron-expression/index.mjs +2 -0
  56. package/form-input-cron-expression/style.css +1 -0
  57. package/form-input-email/index.d.ts +363 -0
  58. package/form-input-email/index.mjs +1 -1
  59. package/form-input-id-card/index.d.ts +363 -0
  60. package/form-input-id-card/index.mjs +1 -1
  61. package/form-input-number/index.d.ts +325 -0
  62. package/form-input-number/index.mjs +1 -1
  63. package/form-input-phone-number/index.d.ts +363 -0
  64. package/form-input-phone-number/index.mjs +1 -1
  65. package/form-input-tag/index.d.ts +2 -0
  66. package/form-input-time/index.d.ts +2 -0
  67. package/form-item-config-provider/index.d.ts +22 -0
  68. package/form-item-config-provider/index.mjs +24 -0
  69. package/form-item-group/index.d.ts +92 -0
  70. package/form-item-group/index.mjs +2 -78
  71. package/form-item-group/style.css +1 -1
  72. package/form-item-x/index.d.ts +184 -0
  73. package/form-item-x/index.mjs +1 -1
  74. package/form-item-x/style.css +1 -0
  75. package/form-radio-group/index.d.ts +281 -0
  76. package/form-radio-group/index.mjs +1 -1
  77. package/form-rate/index.d.ts +319 -0
  78. package/form-rate/index.mjs +1 -1
  79. package/form-red-table/index.d.ts +21 -0
  80. package/form-red-table/index.mjs +27 -26
  81. package/form-row/index.d.ts +11 -0
  82. package/form-row/index.mjs +1 -1
  83. package/form-select/index.d.ts +540 -0
  84. package/form-select/index.mjs +1 -1
  85. package/form-slider/index.d.ts +348 -0
  86. package/form-slider/index.mjs +1 -1
  87. package/form-switch/index.d.ts +337 -0
  88. package/form-switch/index.mjs +1 -1
  89. package/form-text/index.d.ts +227 -0
  90. package/form-text/index.mjs +1 -1
  91. package/form-view/index.d.ts +2 -0
  92. package/index.d.ts +42 -0
  93. package/index.mjs +39 -34
  94. package/month-calendar/index.d.ts +80 -0
  95. package/month-calendar/index.mjs +312 -0
  96. package/month-calendar/style.css +1 -0
  97. package/package.json +10 -7
  98. package/resolver.d.ts +9 -0
  99. package/resolver.mjs +29 -0
  100. package/table-view/index.d.ts +2 -0
  101. package/toolbar/index.d.ts +2 -0
  102. package/toolbar-button/index.d.ts +2 -0
  103. package/vue-cron/index.d.ts +191 -0
  104. package/vue-cron/index.mjs +2 -0
  105. package/vue-cron/style.css +1 -0
  106. package/web-types.json +1 -1
  107. package/year-calendar/index.d.ts +99 -0
  108. package/year-calendar/index.mjs +174 -0
  109. package/year-calendar/style.css +1 -0
  110. package/chunks/B4M_TFeR.mjs +0 -152
  111. package/chunks/B5BIQCcK.mjs +0 -149
  112. package/chunks/BHNKrW1j.mjs +0 -61
  113. package/chunks/BO9jWhBl.mjs +0 -46
  114. package/chunks/BZ8aOa78.mjs +0 -35
  115. package/chunks/Bsz7y4Xp.mjs +0 -73
  116. package/chunks/Bxj372sF.mjs +0 -53
  117. package/chunks/C33EmJN8.mjs +0 -32
  118. package/chunks/C6Li3-l7.mjs +0 -28
  119. package/chunks/CBcdalMX.mjs +0 -35
  120. package/chunks/CdRsyF0n.mjs +0 -43
  121. package/chunks/ClNahmiU.mjs +0 -23
  122. package/chunks/CstztYMu.mjs +0 -28
  123. package/chunks/DC9b53M6.mjs +0 -32
  124. package/chunks/DDVAgRED.mjs +0 -36
  125. package/chunks/DpJQABVD.mjs +0 -91
  126. package/chunks/ZsLNWI9x.mjs +0 -46
  127. package/chunks/jn_iQrVZ.mjs +0 -28
  128. package/input/style.css +0 -1
package/base.css CHANGED
@@ -1 +1 @@
1
-
1
+ :root{--el-disabled-text-color:#606266}.border-bottom{border-bottom:1px solid #d7dae0}.clear-fix:after{clear:both;visibility:hidden;content:" ";height:0;display:block}.flex-row{flex-direction:row;flex-shrink:0;display:flex}.flex-row.vertical-center{align-items:center}.flex-row.vertical-start{align-items:flex-start}.flex-row.horizon-center{justify-content:center}.text-center{text-align:center}.flex-column{flex-direction:column;display:flex}.flex-column.vertical-center{justify-content:center}.flex-column.horizon-center{align-items:center}.flex-item,.flex-item-relative{flex:auto}.flex-item-relative{position:relative}.flex-item-relative .flex-content{position:absolute;top:0;bottom:0;left:0;right:0}.flex-not-shrink{flex-shrink:0}
@@ -0,0 +1,98 @@
1
+ import { i as e, n as t } from "./Cw8pz9hK.mjs";
2
+ import { n } from "./CnsFNU2A.mjs";
3
+ import { ElRadio as r, ElRadioButton as i, ElRadioGroup as a } from "element-plus/es";
4
+ import { createVNode as o, isVNode as s, mergeProps as c, useModel as l } from "vue";
5
+ //#region src/components/form/props/radio-group.js
6
+ var u = {
7
+ ...n,
8
+ modelValue: [
9
+ String,
10
+ Number,
11
+ Boolean
12
+ ],
13
+ size: {
14
+ type: String,
15
+ default: "default"
16
+ },
17
+ validateEvent: {
18
+ type: Boolean,
19
+ default: !0
20
+ },
21
+ textColor: {
22
+ type: String,
23
+ default: "#ffffff"
24
+ },
25
+ fill: {
26
+ type: String,
27
+ default: "#409eff"
28
+ },
29
+ ariaLabel: String,
30
+ name: String,
31
+ id: String,
32
+ label: String,
33
+ options: Array,
34
+ props: {
35
+ type: Object,
36
+ default: () => ({
37
+ value: "value",
38
+ label: "label",
39
+ disabled: "disabled"
40
+ })
41
+ },
42
+ type: {
43
+ type: String,
44
+ default: "radio"
45
+ }
46
+ }, d = {
47
+ modelValue: !0,
48
+ disabled: !0,
49
+ type: !0,
50
+ options: !0
51
+ }, f = ["change"], p = (e) => n[e] === void 0 && d[e] !== !0;
52
+ //#endregion
53
+ //#region src/components/form/FormRadioGroup.vue?vue&type=script&lang.jsx
54
+ function m(e) {
55
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !s(e);
56
+ }
57
+ //#endregion
58
+ //#region src/components/form/FormRadioGroup.vue
59
+ var h = {
60
+ name: "FormRadioGroup",
61
+ inheritAttrs: !1,
62
+ props: { ...u },
63
+ emits: {
64
+ ...t,
65
+ change: null
66
+ },
67
+ setup(t, { emit: n, slots: s, attrs: u }) {
68
+ let d = l(t, "modelValue"), { render: h, disabled: g, autoBind: _ } = e(t, {
69
+ emit: n,
70
+ slots: s,
71
+ attrs: u,
72
+ events: f,
73
+ predicate: p,
74
+ messagePrefix: "请选择"
75
+ });
76
+ return () => h({ vNodes: o(a, c(_.value, {
77
+ modelValue: d.value,
78
+ "onUpdate:modelValue": (e) => d.value = e,
79
+ disabled: g.value
80
+ }), {
81
+ ...s,
82
+ default: s.default || (() => {
83
+ var e;
84
+ return (e = t.options) == null ? void 0 : e.map(({ value: e, label: n, disabled: a }) => t.type === "button" ? o(i, {
85
+ key: e,
86
+ value: e,
87
+ disabled: a
88
+ }, m(n) ? n : { default: () => [n] }) : o(r, {
89
+ key: e,
90
+ value: e,
91
+ disabled: a
92
+ }, m(n) ? n : { default: () => [n] }));
93
+ })
94
+ }) });
95
+ }
96
+ };
97
+ //#endregion
98
+ export { h as t };
@@ -0,0 +1,51 @@
1
+ import { n as e } from "./Bh_CMUlo.mjs";
2
+ import { o as t, r as n } from "./Cw8pz9hK.mjs";
3
+ import { n as r } from "./CnsFNU2A.mjs";
4
+ import { ElImage as i } from "element-plus/es";
5
+ import { createVNode as a, isVNode as o, mergeProps as s } from "vue";
6
+ //#region src/components/form/props/image.js
7
+ var c = {
8
+ ...r,
9
+ src: String,
10
+ fit: String,
11
+ hideOnClickModal: Boolean
12
+ }, l = { modelValue: !0 }, u = [
13
+ "load",
14
+ "error",
15
+ "switch",
16
+ "close",
17
+ "show"
18
+ ], d = (e) => r[e] === void 0 && l[e] !== !0;
19
+ //#endregion
20
+ //#region src/components/form/FormImage.vue?vue&type=script&lang.jsx
21
+ function f(e) {
22
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !o(e);
23
+ }
24
+ //#endregion
25
+ //#region src/components/form/FormImage.vue
26
+ var p = {
27
+ name: "FormImage",
28
+ inheritAttrs: !1,
29
+ props: { ...c },
30
+ emits: {
31
+ load: null,
32
+ error: null,
33
+ switch: null,
34
+ close: null,
35
+ show: null
36
+ },
37
+ setup(r, { slots: o, attrs: c, emit: l }) {
38
+ let p = t(r, { attrs: c }), m = e(r, {
39
+ events: u,
40
+ predicate: d,
41
+ emit: l
42
+ });
43
+ return () => n(r, {
44
+ vNodes: a(i, s(m.value, c, { "preview-src-list": [r.src] }), f(o) ? o : { default: () => [o] }),
45
+ formItemProps: p,
46
+ slots: o
47
+ });
48
+ }
49
+ };
50
+ //#endregion
51
+ export { p as t };
@@ -0,0 +1,180 @@
1
+ import { n as e } from "./Bh_CMUlo.mjs";
2
+ import { ElDialog as t } from "element-plus/es";
3
+ import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, getCurrentInstance as c, mergeModels as l, mergeProps as u, normalizeClass as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, unref as g, useModel as _, useTemplateRef as v, withCtx as y, withModifiers as b } from "vue";
4
+ //#region src/components/dialog/props.js
5
+ var x = {
6
+ modelValue: {
7
+ type: Boolean,
8
+ default: !1
9
+ },
10
+ title: {
11
+ type: String,
12
+ default: ""
13
+ },
14
+ width: [String, Number],
15
+ fullscreen: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ top: {
20
+ type: String,
21
+ default: ""
22
+ },
23
+ modal: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ modalPenetrable: {
28
+ type: Boolean,
29
+ default: !1
30
+ },
31
+ modalClass: String,
32
+ headerClass: String,
33
+ bodyClass: String,
34
+ footerClass: String,
35
+ appendToBody: {
36
+ type: Boolean,
37
+ default: !0
38
+ },
39
+ appendTo: [String, Object],
40
+ lockScroll: {
41
+ type: Boolean,
42
+ default: !0
43
+ },
44
+ openDelay: {
45
+ type: Number,
46
+ default: 0
47
+ },
48
+ closeDelay: {
49
+ type: Number,
50
+ default: 0
51
+ },
52
+ closeOnClickModal: { type: Boolean },
53
+ closeOnPressEscape: {
54
+ type: Boolean,
55
+ default: !0
56
+ },
57
+ showClose: {
58
+ type: Boolean,
59
+ default: !0
60
+ },
61
+ beforeClose: Function,
62
+ draggable: {
63
+ type: Boolean,
64
+ default: !0
65
+ },
66
+ overflow: {
67
+ type: Boolean,
68
+ default: !1
69
+ },
70
+ center: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ alignCenter: {
75
+ type: Boolean,
76
+ default: !1
77
+ },
78
+ destroyOnClose: {
79
+ type: Boolean,
80
+ default: !1
81
+ },
82
+ closeIcon: [String, Object],
83
+ zIndex: Number,
84
+ headerAriaLevel: {
85
+ type: String,
86
+ default: "2"
87
+ },
88
+ transition: [String, Object],
89
+ customClass: {
90
+ type: String,
91
+ default: ""
92
+ },
93
+ height: String,
94
+ embed: Boolean,
95
+ showFullscreen: Boolean,
96
+ showFullScreen: Boolean
97
+ }, S = {
98
+ embed: !0,
99
+ height: !0,
100
+ showFullscreen: !0,
101
+ showFullScreen: !0,
102
+ fullscreen: !0,
103
+ showClose: !0
104
+ }, C = [
105
+ "open",
106
+ "opened",
107
+ "close",
108
+ "closed",
109
+ "open-auto-focus",
110
+ "close-auto-focus"
111
+ ], w = (e) => S[e] !== !0, T = { class: "dialog-title" }, E = { class: "dialog-header-buttons" }, D = {
112
+ __name: "ElementDialog",
113
+ props: /* @__PURE__ */ l({ ...x }, {
114
+ modelValue: {
115
+ type: Boolean,
116
+ default: !1
117
+ },
118
+ modelModifiers: {}
119
+ }),
120
+ emits: /* @__PURE__ */ l({
121
+ open: null,
122
+ opened: null,
123
+ close: null,
124
+ closed: null,
125
+ "open-auto-focus": null,
126
+ "close-auto-focus": null,
127
+ "toggle-fullscreen": null
128
+ }, ["update:modelValue"]),
129
+ setup(l, { expose: x, emit: S }) {
130
+ let D = _(l, "modelValue"), O = l, k = S, A = e(O, {
131
+ emit: k,
132
+ events: C,
133
+ predicate: w
134
+ }), j = v("dialog"), M = p(O.fullscreen), N = () => {
135
+ M.value = !M.value, k("toggle-fullscreen", M.value);
136
+ }, P = n(() => M.value ? "100%" : O.height), F = c(), I = () => {
137
+ O.embed ? (F.parent.emit("update:visible", !1), F.parent.emit("update:modelValue", !1)) : j.value.handleClose();
138
+ };
139
+ return x({
140
+ close: I,
141
+ hide: I
142
+ }), (e, n) => {
143
+ let c = t;
144
+ return f(), r(c, u({
145
+ ref: "dialog",
146
+ modelValue: D.value,
147
+ "onUpdate:modelValue": n[0] || (n[0] = (e) => D.value = e)
148
+ }, g(A), {
149
+ "show-close": !1,
150
+ fullscreen: g(M),
151
+ style: { "--dialog-body-height": g(P) }
152
+ }), s({
153
+ header: y(() => [i(" @slot 对话框标题的内容;会替换标题部分,但会移除关闭按钮 "), m(e.$slots, "header", {}, () => [o("div", T, h(e.title), 1), o("div", E, [e.showFullscreen || e.showFullScreen ? (f(), a("i", {
154
+ key: 0,
155
+ class: d(["dialog-header-button", {
156
+ "el-icon-full-screen": !e.fullscreen,
157
+ "el-icon-copy-document": e.fullscreen
158
+ }]),
159
+ onClick: b(N, ["stop"])
160
+ }, null, 2)) : i("v-if", !0), e.showClose ? (f(), a("i", {
161
+ key: 1,
162
+ class: "dialog-header-button el-icon-close",
163
+ onClick: b(I, ["stop"])
164
+ })) : i("v-if", !0)])])]),
165
+ default: y(() => [i(" @slot 对话框的默认内容 "), m(e.$slots, "default")]),
166
+ _: 2
167
+ }, [e.$slots.footer ? {
168
+ name: "footer",
169
+ fn: y(() => [i(" @slot Dialog 按钮操作区的内容 "), m(e.$slots, "footer", { close: I })]),
170
+ key: "0"
171
+ } : void 0]), 1040, [
172
+ "modelValue",
173
+ "fullscreen",
174
+ "style"
175
+ ]);
176
+ };
177
+ }
178
+ };
179
+ //#endregion
180
+ export { D as t };
@@ -0,0 +1,226 @@
1
+ import { i as e, n as t } from "./Cw8pz9hK.mjs";
2
+ import { n } from "./CnsFNU2A.mjs";
3
+ import { ElOption as r, ElSelect as i } from "element-plus/es";
4
+ import { createVNode as a, mergeProps as o, useModel as s } from "vue";
5
+ //#region src/components/form/props/select.js
6
+ var c = {
7
+ ...n,
8
+ modelValue: [
9
+ String,
10
+ Number,
11
+ Boolean,
12
+ Object,
13
+ Array
14
+ ],
15
+ multiple: {
16
+ type: Boolean,
17
+ default: !1
18
+ },
19
+ options: Array,
20
+ props: Object,
21
+ valueKey: {
22
+ type: String,
23
+ default: "value"
24
+ },
25
+ size: String,
26
+ clearable: {
27
+ type: Boolean,
28
+ default: !0
29
+ },
30
+ collapseTags: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
34
+ collapseTagsTooltip: {
35
+ type: Boolean,
36
+ default: !1
37
+ },
38
+ tagTooltip: {
39
+ type: Object,
40
+ default: () => ({})
41
+ },
42
+ multipleLimit: {
43
+ type: Number,
44
+ default: 0
45
+ },
46
+ id: String,
47
+ name: String,
48
+ effect: {
49
+ type: String,
50
+ default: "light"
51
+ },
52
+ autocomplete: {
53
+ type: String,
54
+ default: "off"
55
+ },
56
+ placeholder: String,
57
+ filterable: {
58
+ type: Boolean,
59
+ default: !1
60
+ },
61
+ allowCreate: {
62
+ type: Boolean,
63
+ default: !1
64
+ },
65
+ filterMethod: Function,
66
+ remote: {
67
+ type: Boolean,
68
+ default: !1
69
+ },
70
+ debounce: {
71
+ type: Number,
72
+ default: 300
73
+ },
74
+ remoteMethod: Function,
75
+ remoteShowSuffix: {
76
+ type: Boolean,
77
+ default: !1
78
+ },
79
+ loading: {
80
+ type: Boolean,
81
+ default: !1
82
+ },
83
+ loadingText: String,
84
+ noMatchText: String,
85
+ noDataText: String,
86
+ popperClass: {
87
+ type: String,
88
+ default: ""
89
+ },
90
+ popperStyle: [String, Object],
91
+ reserveKeyword: {
92
+ type: Boolean,
93
+ default: !0
94
+ },
95
+ defaultFirstOption: {
96
+ type: Boolean,
97
+ default: !1
98
+ },
99
+ teleported: {
100
+ type: Boolean,
101
+ default: !0
102
+ },
103
+ appendTo: [String, Object],
104
+ persistent: {
105
+ type: Boolean,
106
+ default: !0
107
+ },
108
+ automaticDropdown: {
109
+ type: Boolean,
110
+ default: !1
111
+ },
112
+ clearIcon: [String, Object],
113
+ fitInputWidth: {
114
+ type: Boolean,
115
+ default: !1
116
+ },
117
+ suffixIcon: [String, Object],
118
+ tagType: {
119
+ type: String,
120
+ default: "info"
121
+ },
122
+ tagEffect: {
123
+ type: String,
124
+ default: "light"
125
+ },
126
+ validateEvent: {
127
+ type: Boolean,
128
+ default: !0
129
+ },
130
+ offset: {
131
+ type: Number,
132
+ default: 12
133
+ },
134
+ showArrow: {
135
+ type: Boolean,
136
+ default: !0
137
+ },
138
+ placement: {
139
+ type: String,
140
+ default: "bottom-start"
141
+ },
142
+ fallbackPlacements: {
143
+ type: Array,
144
+ default: () => [
145
+ "bottom-start",
146
+ "top-start",
147
+ "right",
148
+ "left"
149
+ ]
150
+ },
151
+ maxCollapseTags: {
152
+ type: Number,
153
+ default: 1
154
+ },
155
+ popperOptions: {
156
+ type: Object,
157
+ default: () => ({})
158
+ },
159
+ ariaLabel: String,
160
+ emptyValues: Array,
161
+ valueOnClear: [
162
+ String,
163
+ Number,
164
+ Boolean,
165
+ Function
166
+ ],
167
+ suffixTransition: {
168
+ type: Boolean,
169
+ default: !0
170
+ },
171
+ tabindex: [String, Number]
172
+ }, l = {
173
+ modelValue: !0,
174
+ emptyValues: !0,
175
+ valueOnClear: !0
176
+ }, u = [
177
+ "change",
178
+ "visible-change",
179
+ "remove-tag",
180
+ "clear",
181
+ "blur",
182
+ "focus",
183
+ "popup-scroll"
184
+ ], d = (e) => n[e] === void 0 && l[e] !== !0, f = {
185
+ name: "FormSelect",
186
+ inheritAttrs: !1,
187
+ props: { ...c },
188
+ emits: {
189
+ ...t,
190
+ change: null,
191
+ "visible-change": null,
192
+ "remove-tag": null,
193
+ clear: null,
194
+ blur: null,
195
+ focus: null,
196
+ "popup-scroll": null
197
+ },
198
+ setup(t, { emit: n, slots: c, attrs: l }) {
199
+ let f = s(t, "modelValue"), { render: p, placeholder: m, disabled: h, autoBind: g } = e(t, {
200
+ emit: n,
201
+ slots: c,
202
+ attrs: l,
203
+ events: u,
204
+ predicate: d,
205
+ messagePrefix: "请选择"
206
+ });
207
+ return () => p({ vNodes: a(i, o(g.value, {
208
+ modelValue: f.value,
209
+ "onUpdate:modelValue": (e) => f.value = e,
210
+ disabled: h.value,
211
+ placeholder: m.value
212
+ }), {
213
+ ...c,
214
+ default: c.default || (() => {
215
+ var e;
216
+ return (e = t.options) == null ? void 0 : e.map(({ value: e, label: t }) => a(r, {
217
+ key: e,
218
+ label: t,
219
+ value: e
220
+ }, null));
221
+ })
222
+ }) });
223
+ }
224
+ };
225
+ //#endregion
226
+ export { f as t };