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

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 (127) hide show
  1. package/base.css +1 -1
  2. package/chunks/8ORg8rrN.mjs +108 -0
  3. package/chunks/B3DY36vM.mjs +106 -0
  4. package/chunks/B5B9au3z.mjs +180 -0
  5. package/chunks/B7fKv2-x.mjs +88 -0
  6. package/chunks/B9-9iYg8.mjs +42 -0
  7. package/chunks/BAm_wcwz.mjs +226 -0
  8. package/chunks/BJObhbQz.mjs +95 -0
  9. package/chunks/BLpnMrum.mjs +189 -0
  10. package/chunks/BSriw1Qr.mjs +53 -0
  11. package/chunks/BVzpe2oN.mjs +76 -0
  12. package/chunks/Bb43eI1f.mjs +93 -0
  13. package/chunks/Be_E_4G0.mjs +106 -0
  14. package/chunks/Bh_CMUlo.mjs +12 -0
  15. package/chunks/Bk3PtIYo.mjs +171 -0
  16. package/chunks/C1DlzLpD.mjs +222 -0
  17. package/chunks/CJeq96R0.mjs +73 -0
  18. package/chunks/CPE8fqJc.mjs +26 -0
  19. package/chunks/D7hrSVVl.mjs +98 -0
  20. package/chunks/D9GcEl6r.mjs +8 -0
  21. package/chunks/DAS1h_Ei.mjs +26 -0
  22. package/chunks/D_Xobj10.mjs +26 -0
  23. package/chunks/DgCwGit4.mjs +108 -0
  24. package/chunks/DgbDpRQg.mjs +51 -0
  25. package/chunks/DynLjTwi.mjs +17 -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-radio-group/index.d.ts +281 -0
  75. package/form-radio-group/index.mjs +1 -1
  76. package/form-rate/index.d.ts +319 -0
  77. package/form-rate/index.mjs +1 -1
  78. package/form-red-table/index.d.ts +21 -0
  79. package/form-red-table/index.mjs +27 -26
  80. package/form-row/index.d.ts +11 -0
  81. package/form-row/index.mjs +1 -1
  82. package/form-select/index.d.ts +540 -0
  83. package/form-select/index.mjs +1 -1
  84. package/form-slider/index.d.ts +348 -0
  85. package/form-slider/index.mjs +1 -1
  86. package/form-switch/index.d.ts +337 -0
  87. package/form-switch/index.mjs +1 -1
  88. package/form-text/index.d.ts +227 -0
  89. package/form-text/index.mjs +1 -1
  90. package/form-view/index.d.ts +2 -0
  91. package/index.d.ts +42 -0
  92. package/index.mjs +39 -34
  93. package/input/style.css +1 -1
  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
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,108 @@
1
+ import { i as e, n as t } from "./C1DlzLpD.mjs";
2
+ import { n } from "./DynLjTwi.mjs";
3
+ import { ElCheckbox as r, ElCheckboxButton as i, ElCheckboxGroup as a } from "element-plus/es";
4
+ import { computed as o, createVNode as s, isVNode as c, mergeProps as l } from "vue";
5
+ //#region src/components/form/props/checkbox-group.js
6
+ var u = {
7
+ ...n,
8
+ modelValue: {
9
+ type: Array,
10
+ default: () => []
11
+ },
12
+ size: String,
13
+ min: Number,
14
+ max: Number,
15
+ ariaLabel: String,
16
+ textColor: {
17
+ type: String,
18
+ default: "#ffffff"
19
+ },
20
+ fill: {
21
+ type: String,
22
+ default: "#409eff"
23
+ },
24
+ tag: {
25
+ type: String,
26
+ default: "div"
27
+ },
28
+ validateEvent: {
29
+ type: Boolean,
30
+ default: !0
31
+ },
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: "checkbox"
45
+ },
46
+ stringMode: Boolean,
47
+ delimiter: {
48
+ type: String,
49
+ default: ","
50
+ }
51
+ }, d = {
52
+ modelValue: !0,
53
+ type: !0,
54
+ options: !0
55
+ }, f = ["change"], p = (e) => n[e] === void 0 && d[e] !== !0;
56
+ //#endregion
57
+ //#region src/components/form/FormCheckBoxGroup.vue?vue&type=script&lang.jsx
58
+ function m(e) {
59
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !c(e);
60
+ }
61
+ //#endregion
62
+ //#region src/components/form/FormCheckBoxGroup.vue
63
+ var h = {
64
+ name: "FormCheckBoxGroup",
65
+ inheritAttrs: !1,
66
+ props: { ...u },
67
+ emits: {
68
+ ...t,
69
+ change: null
70
+ },
71
+ setup(t, { emit: n, slots: c, attrs: u }) {
72
+ let { emitInput: d, render: h, disabled: g, autoBind: _ } = e(t, {
73
+ emit: n,
74
+ slots: c,
75
+ attrs: u,
76
+ events: f,
77
+ predicate: p,
78
+ messagePrefix: "请选择"
79
+ }), v = (e) => d(t.stringMode ? e.join(t.delimiter) : e), y = o(() => {
80
+ if (t.stringMode) {
81
+ var e;
82
+ return Array.isArray(t.modelValue) ? t.modelValue.filter((e) => e) : ((e = t.modelValue) == null ? void 0 : e.split(t.delimiter).filter((e) => e)) ?? [];
83
+ }
84
+ return t.modelValue || [];
85
+ });
86
+ return () => h({ vNodes: s(a, l(_.value, {
87
+ modelValue: y.value,
88
+ disabled: g.value,
89
+ "onUpdate:modelValue": v
90
+ }), {
91
+ ...c,
92
+ default: c.default || (() => {
93
+ var e;
94
+ return (e = t.options) == null ? void 0 : e.map(({ value: e, label: n, disabled: a }) => t.type === "button" ? s(i, {
95
+ key: e,
96
+ value: e,
97
+ disabled: a
98
+ }, m(n) ? n : { default: () => [n] }) : s(r, {
99
+ key: e,
100
+ value: e,
101
+ disabled: a
102
+ }, m(n) ? n : { default: () => [n] }));
103
+ })
104
+ }) });
105
+ }
106
+ };
107
+ //#endregion
108
+ export { h as t };
@@ -0,0 +1,106 @@
1
+ import { n as e, t } from "./DynLjTwi.mjs";
2
+ //#region src/components/form/props/input.js
3
+ var n = {
4
+ ...e,
5
+ ...t,
6
+ type: {
7
+ type: String,
8
+ default: "text"
9
+ },
10
+ modelValue: [String, Number],
11
+ modelModifiers: Object,
12
+ maxlength: [String, Number],
13
+ minlength: [String, Number],
14
+ showWordLimit: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ wordLimitPosition: {
19
+ type: String,
20
+ default: "inside"
21
+ },
22
+ placeholder: String,
23
+ clearable: {
24
+ type: Boolean,
25
+ default: !0
26
+ },
27
+ clearIcon: [String, Object],
28
+ formatter: Function,
29
+ parser: Function,
30
+ showPassword: {
31
+ type: Boolean,
32
+ default: !1
33
+ },
34
+ size: String,
35
+ prefixIcon: [String, Object],
36
+ suffixIcon: [String, Object],
37
+ rows: {
38
+ type: Number,
39
+ default: 2
40
+ },
41
+ autosize: [Boolean, Object],
42
+ autocomplete: {
43
+ type: String,
44
+ default: "off"
45
+ },
46
+ name: String,
47
+ readonly: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ max: [String, Number],
52
+ min: [String, Number],
53
+ step: [String, Number],
54
+ resize: String,
55
+ autofocus: {
56
+ type: Boolean,
57
+ default: !1
58
+ },
59
+ form: String,
60
+ ariaLabel: String,
61
+ tabindex: [String, Number],
62
+ validateEvent: {
63
+ type: Boolean,
64
+ default: !0
65
+ },
66
+ inputStyle: [String, Object],
67
+ label: String,
68
+ inputmode: String,
69
+ countGraphemes: Function,
70
+ prepend: String,
71
+ append: String,
72
+ prefix: String,
73
+ suffix: String,
74
+ picker: Boolean,
75
+ readonlyGrey: {
76
+ type: Boolean,
77
+ default: !0
78
+ }
79
+ }, r = {
80
+ readonly: !0,
81
+ prefixIcon: !0,
82
+ suffixIcon: !0,
83
+ placeholder: !0,
84
+ modelValue: !0,
85
+ readonlyGrey: !0,
86
+ picker: !0,
87
+ append: !0,
88
+ prefix: !0,
89
+ suffix: !0,
90
+ prepend: !0
91
+ }, i = [
92
+ "click",
93
+ "blur",
94
+ "focus",
95
+ "change",
96
+ "input",
97
+ "clear",
98
+ "keydown",
99
+ "mouseleave",
100
+ "mouseenter",
101
+ "compositionstart",
102
+ "compositionupdate",
103
+ "compositionend"
104
+ ], a = (t) => e[t] === void 0 && r[t] !== !0;
105
+ //#endregion
106
+ export { i as n, a as r, n 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,88 @@
1
+ import { i as e, n as t } from "./C1DlzLpD.mjs";
2
+ import { n } from "./DynLjTwi.mjs";
3
+ import { ElRate as r } from "element-plus/es";
4
+ import { createVNode as i, mergeProps as a, useModel as o } from "vue";
5
+ //#region src/components/form/props/rate.js
6
+ var s = {
7
+ ...n,
8
+ modelValue: Number,
9
+ max: {
10
+ type: Number,
11
+ default: 5
12
+ },
13
+ size: String,
14
+ allowHalf: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ lowThreshold: {
19
+ type: Number,
20
+ default: 2
21
+ },
22
+ highThreshold: {
23
+ type: Number,
24
+ default: 4
25
+ },
26
+ colors: [Array, Object],
27
+ voidColor: {
28
+ type: String,
29
+ default: "#c6d1de"
30
+ },
31
+ disabledVoidColor: {
32
+ type: String,
33
+ default: "#eff2f7"
34
+ },
35
+ icons: [Array, Object],
36
+ voidIcon: [String, Object],
37
+ disabledVoidIcon: [String, Object],
38
+ showText: {
39
+ type: Boolean,
40
+ default: !1
41
+ },
42
+ showScore: {
43
+ type: Boolean,
44
+ default: !1
45
+ },
46
+ textColor: String,
47
+ texts: {
48
+ type: Array,
49
+ default: () => [
50
+ "Extremely bad",
51
+ "Disappointed",
52
+ "Fair",
53
+ "Satisfied",
54
+ "Surprise"
55
+ ]
56
+ },
57
+ scoreTemplate: String,
58
+ clearable: {
59
+ type: Boolean,
60
+ default: !1
61
+ },
62
+ id: String,
63
+ ariaLabel: String
64
+ }, c = { modelValue: !0 }, l = ["change"], u = (e) => n[e] === void 0 && c[e] !== !0, d = {
65
+ name: "FormRate",
66
+ inheritAttrs: !1,
67
+ props: { ...s },
68
+ emits: {
69
+ ...t,
70
+ change: null
71
+ },
72
+ setup(t, { emit: n, slots: s, attrs: c }) {
73
+ let d = o(t, "modelValue"), { render: f, disabled: p, autoBind: m } = e(t, {
74
+ emit: n,
75
+ slots: s,
76
+ attrs: c,
77
+ events: l,
78
+ predicate: u
79
+ });
80
+ return () => f({ vNodes: i(r, a(m.value, {
81
+ modelValue: d.value,
82
+ "onUpdate:modelValue": (e) => d.value = e,
83
+ disabled: p.value
84
+ }), null) });
85
+ }
86
+ };
87
+ //#endregion
88
+ export { d as t };
@@ -0,0 +1,42 @@
1
+ import { n as e } from "./Bh_CMUlo.mjs";
2
+ import { o as t, r as n } from "./C1DlzLpD.mjs";
3
+ import { n as r } from "./DynLjTwi.mjs";
4
+ import { ElText as i } from "element-plus/es";
5
+ import { createVNode as a, mergeProps as o } from "vue";
6
+ //#region src/components/form/props/text.js
7
+ var s = {
8
+ ...r,
9
+ type: String,
10
+ size: {
11
+ type: String,
12
+ default: "default"
13
+ },
14
+ truncated: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ lineClamp: [String, Number],
19
+ tag: {
20
+ type: String,
21
+ default: "span"
22
+ },
23
+ text: String
24
+ }, c = { modelValue: !0 }, l = ["change"], u = (e) => r[e] === void 0 && c[e] !== !0, d = {
25
+ name: "FormText",
26
+ inheritAttrs: !1,
27
+ props: { ...s },
28
+ setup(r, { slots: s, emit: c, attrs: d }) {
29
+ let f = t(r, { attrs: d }), p = e(r, {
30
+ events: l,
31
+ predicate: u,
32
+ emit: c
33
+ });
34
+ return () => n(r, {
35
+ vNodes: a(i, o(p.value, d), { default: s.default || (() => r.text) }),
36
+ formItemProps: f,
37
+ slots: s
38
+ });
39
+ }
40
+ };
41
+ //#endregion
42
+ export { d as t };