@web-utils/form-ui 1.0.0-beta39 → 1.0.0-beta40
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.
- package/chunks/DF9fJMQS.mjs +105 -0
- package/form-textarea/index.d.ts +12 -31
- package/form-textarea/index.mjs +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
- package/chunks/DtsuMuSg.mjs +0 -32
package/chunks/DtsuMuSg.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./Cj59E77g.mjs";
|
|
2
|
-
import { n as t, t as n } from "./CFOGMFgo.mjs";
|
|
3
|
-
import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
|
|
4
|
-
//#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx
|
|
5
|
-
function s(e) {
|
|
6
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !i(e);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/form/FormTextarea.vue
|
|
10
|
-
var c = {
|
|
11
|
-
name: "FormTextarea",
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
props: {
|
|
14
|
-
...t,
|
|
15
|
-
maxlength: {
|
|
16
|
-
type: [String, Number],
|
|
17
|
-
default: 800
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
emits: { ...e },
|
|
21
|
-
setup(e, { slots: t, attrs: i }) {
|
|
22
|
-
let c = o(e, "modelValue");
|
|
23
|
-
return () => r(n, a(e, i, {
|
|
24
|
-
maxlength: e.maxlength,
|
|
25
|
-
modelValue: c.value,
|
|
26
|
-
"onUpdate:modelValue": (e) => c.value = e,
|
|
27
|
-
type: "textarea"
|
|
28
|
-
}), s(t) ? t : { default: () => [t] });
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
//#endregion
|
|
32
|
-
export { c as t };
|