@web-utils/form-ui 1.0.0-beta4 → 1.0.0-beta41
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/api/index.d.ts +60 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -0
- package/chunks/4GMuTlFS.mjs +25 -0
- package/chunks/B-YO6Py8.mjs +145 -0
- package/chunks/B1MSrc6f.mjs +8 -0
- package/chunks/B40JZqF5.mjs +60 -0
- package/chunks/BLNpMvUQ.mjs +95 -0
- package/chunks/BNQD6fKI.mjs +40 -0
- package/chunks/BROfNO6c.mjs +17 -0
- package/chunks/BiF8cEVB.mjs +102 -0
- package/chunks/Bm5eiSmT.mjs +79 -0
- package/chunks/C5BjmbyR.mjs +91 -0
- package/chunks/CBHZpxPE.mjs +108 -0
- package/chunks/CD2WYSl1.mjs +188 -0
- package/chunks/CE0MejA6.mjs +200 -0
- package/chunks/CSf0Lu3w.mjs +102 -0
- package/chunks/CXSIP67a.mjs +234 -0
- package/chunks/ChmDDqoZ2.mjs +478 -0
- package/chunks/ClpNoMQe.mjs +37 -0
- package/chunks/Csa9EgOO.mjs +152 -0
- package/chunks/CuBH-6_y.mjs +25 -0
- package/chunks/CybmpSN8.mjs +664 -0
- package/chunks/CzvmkGvn.mjs +89 -0
- package/chunks/DASUt7ot.mjs +166 -0
- package/chunks/DBNqhkDl.mjs +174 -0
- package/chunks/DMcUruCK2.mjs +207 -0
- package/chunks/DUjgfS7g.mjs +95 -0
- package/chunks/DWLv8UUC.mjs +612 -0
- package/chunks/Ds_Tpa_M.mjs +83 -0
- package/chunks/MeM8FGzA.mjs +200 -0
- package/chunks/_90XRi0U.mjs +105 -0
- package/chunks/_Uzl3uMy.mjs +109 -0
- package/chunks/b5HOxD60.mjs +1369 -0
- package/chunks/cmuHpsX6.mjs +109 -0
- package/chunks/ePSxkHli.mjs +95 -0
- package/chunks/jHrYQI1Q.mjs +320 -0
- package/chunks/kKoMKOYH.mjs +180 -0
- package/chunks/lPLJkGiz.mjs +25 -0
- package/chunks/mbLUSXcZ.mjs +56 -0
- package/chunks/y-DmM31a.mjs +168 -0
- package/confirm-button/index.d.ts +113 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.d.ts +84 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +53 -0
- package/constants/index.mjs +4 -0
- package/editable-tree/index.d.ts +254 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +337 -16
- package/element-dialog/index.mjs +2 -91
- package/empty-view/index.d.ts +2 -2
- package/empty-view/index.mjs +1 -1
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/index.mjs +1 -1
- package/form-advice/index.mjs +13 -12
- package/form-button/index.d.ts +114 -0
- package/form-button/index.mjs +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.d.ts +472 -0
- package/form-cascader/index.mjs +2 -0
- package/form-check-box-group/index.d.ts +289 -18
- package/form-check-box-group/index.mjs +1 -1
- package/form-check-box-group/style.css +1 -0
- package/form-checkbox/index.d.ts +236 -16
- package/form-checkbox/index.mjs +1 -1
- package/form-date-picker/index.d.ts +390 -19
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +87 -20
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +145 -13
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +301 -20
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +217 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +307 -16
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +307 -16
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +246 -18
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +307 -16
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +263 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.d.ts +434 -1
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.d.ts +22 -0
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +141 -11
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +303 -16
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +254 -14
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.d.ts +2 -2
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +537 -18
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +283 -16
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +272 -14
- package/form-switch/index.mjs +1 -1
- package/form-text/index.d.ts +165 -13
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.d.ts +319 -0
- package/form-time-select/index.mjs +2 -0
- package/form-view/index.mjs +1 -1
- package/helper/dictionary.d.ts +15 -0
- package/helper/dictionary.mjs +97 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/index.d.ts +52 -36
- package/index.mjs +54 -61
- package/package.json +10 -5
- package/pageable-table/index.d.ts +398 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/resize-observer/index.d.ts +8 -0
- package/resize-observer/index.mjs +40 -0
- package/resize-observer/style.css +1 -0
- package/resolver/index.mjs +29 -0
- package/table-column/index.d.ts +160 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +85 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.d.ts +340 -1
- package/table-view/index.mjs +459 -6
- package/table-view/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.mjs +1 -8
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.mjs +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/utils/style.css +0 -1
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
package/element-dialog/index.mjs
CHANGED
|
@@ -1,91 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/components/ElementDialog.vue
|
|
4
|
-
var b = { class: "dialog-title" }, x = { class: "dialog-header-buttons" }, S = {
|
|
5
|
-
__name: "ElementDialog",
|
|
6
|
-
props: /* @__PURE__ */ c({
|
|
7
|
-
height: String,
|
|
8
|
-
width: String,
|
|
9
|
-
title: String,
|
|
10
|
-
embed: Boolean,
|
|
11
|
-
showClose: Boolean,
|
|
12
|
-
overflow: Boolean,
|
|
13
|
-
closeOnClickModal: Boolean,
|
|
14
|
-
destroyOnClose: Boolean,
|
|
15
|
-
draggable: {
|
|
16
|
-
type: Boolean,
|
|
17
|
-
default: !0
|
|
18
|
-
},
|
|
19
|
-
showFullscreen: Boolean,
|
|
20
|
-
showFullScreen: Boolean,
|
|
21
|
-
alignCenter: Boolean,
|
|
22
|
-
appendToBody: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !0
|
|
25
|
-
}
|
|
26
|
-
}, {
|
|
27
|
-
modelValue: { type: Boolean },
|
|
28
|
-
modelModifiers: {}
|
|
29
|
-
}),
|
|
30
|
-
emits: /* @__PURE__ */ c(["toggle-fullscreen"], ["update:modelValue"]),
|
|
31
|
-
setup(c, { expose: S, emit: C }) {
|
|
32
|
-
let w = g(c, "modelValue"), T = c, E = C, D = _("dialog"), O = f(!1), k = () => {
|
|
33
|
-
O.value = !O.value, E("toggle-fullscreen", O.value);
|
|
34
|
-
}, A = t(() => O.value ? "100%" : T.height), j = s(), M = () => {
|
|
35
|
-
T.embed ? j.parent.emit("update:visible") : D.value.handleClose();
|
|
36
|
-
};
|
|
37
|
-
return S({
|
|
38
|
-
close: M,
|
|
39
|
-
hide: M
|
|
40
|
-
}), (t, s) => {
|
|
41
|
-
let f = e;
|
|
42
|
-
return d(), n(f, {
|
|
43
|
-
ref: "dialog",
|
|
44
|
-
modelValue: w.value,
|
|
45
|
-
"onUpdate:modelValue": s[0] || (s[0] = (e) => w.value = e),
|
|
46
|
-
"append-to-body": c.appendToBody,
|
|
47
|
-
fullscreen: h(O),
|
|
48
|
-
"show-close": c.showClose,
|
|
49
|
-
"destroy-on-close": c.destroyOnClose,
|
|
50
|
-
draggable: c.draggable,
|
|
51
|
-
overflow: c.overflow,
|
|
52
|
-
"align-center": c.alignCenter,
|
|
53
|
-
style: u({ "--dialog-body-height": h(A) }),
|
|
54
|
-
width: c.width,
|
|
55
|
-
"close-on-click-modal": c.closeOnClickModal
|
|
56
|
-
}, o({
|
|
57
|
-
header: v(() => [a("div", b, m(c.title), 1), a("div", x, [c.showFullscreen || c.showFullScreen ? (d(), i("i", {
|
|
58
|
-
key: 0,
|
|
59
|
-
class: l(["dialog-header-button", {
|
|
60
|
-
"el-icon-full-screen": !h(O),
|
|
61
|
-
"el-icon-copy-document": h(O)
|
|
62
|
-
}]),
|
|
63
|
-
onClick: y(k, ["stop"])
|
|
64
|
-
}, null, 2)) : r("v-if", !0), a("i", {
|
|
65
|
-
class: "dialog-header-button el-icon-close",
|
|
66
|
-
onClick: y(M, ["stop"])
|
|
67
|
-
})])]),
|
|
68
|
-
default: v(() => [p(t.$slots, "default")]),
|
|
69
|
-
_: 2
|
|
70
|
-
}, [t.$slots.footer ? {
|
|
71
|
-
name: "footer",
|
|
72
|
-
fn: v(() => [p(t.$slots, "footer", { close: M })]),
|
|
73
|
-
key: "0"
|
|
74
|
-
} : void 0]), 1032, [
|
|
75
|
-
"modelValue",
|
|
76
|
-
"append-to-body",
|
|
77
|
-
"fullscreen",
|
|
78
|
-
"show-close",
|
|
79
|
-
"destroy-on-close",
|
|
80
|
-
"draggable",
|
|
81
|
-
"overflow",
|
|
82
|
-
"align-center",
|
|
83
|
-
"style",
|
|
84
|
-
"width",
|
|
85
|
-
"close-on-click-modal"
|
|
86
|
-
]);
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
//#endregion
|
|
91
|
-
export { S as default };
|
|
1
|
+
import { t as e } from "../chunks/DASUt7ot.mjs";
|
|
2
|
+
export { e as default };
|
package/empty-view/index.d.ts
CHANGED
|
@@ -4,17 +4,17 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
+
icon: string;
|
|
7
8
|
height: string;
|
|
8
9
|
emptyTips: string;
|
|
9
10
|
fontSize: string;
|
|
10
|
-
icon: string;
|
|
11
11
|
iconSize: string;
|
|
12
12
|
showIcon: boolean;
|
|
13
13
|
$props: {
|
|
14
|
+
readonly icon?: string | undefined;
|
|
14
15
|
readonly height?: string | undefined;
|
|
15
16
|
readonly emptyTips?: string | undefined;
|
|
16
17
|
readonly fontSize?: string | undefined;
|
|
17
|
-
readonly icon?: string | undefined;
|
|
18
18
|
readonly iconSize?: string | undefined;
|
|
19
19
|
readonly showIcon?: boolean | undefined;
|
|
20
20
|
};
|
package/empty-view/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, normalizeClass as r, normalizeStyle as i, openBlock as a, renderSlot as o, toDisplayString as s } from "vue";
|
|
2
|
-
//#region src/components/EmptyView.vue
|
|
2
|
+
//#region src/components/empty-view/EmptyView.vue
|
|
3
3
|
var c = { class: "flex-column horizon-center" }, l = /* @__PURE__ */ Object.assign({ name: "EmptyView" }, {
|
|
4
4
|
__name: "EmptyView",
|
|
5
5
|
props: {
|
|
@@ -4,7 +4,7 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
4
4
|
$slots: S;
|
|
5
5
|
});
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
|
-
scroller: Readonly<
|
|
7
|
+
scroller: Readonly<globalThis.ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
|
|
8
8
|
computeScrollbar: () => void;
|
|
9
9
|
$emit: (event: "scroll" | "scrollbar", ...args: any[]) => void;
|
|
10
10
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as e, createElementVNode as t, onMounted as n, onUnmounted as r, openBlock as i, renderSlot as a, useTemplateRef as o } from "vue";
|
|
2
|
-
//#region src/components/FlexScrollArea.vue
|
|
2
|
+
//#region src/components/flex-scroll-area/FlexScrollArea.vue
|
|
3
3
|
var s = { class: "flex-item-relative" }, c = /* @__PURE__ */ Object.assign({ name: "FlexScrollArea" }, {
|
|
4
4
|
__name: "FlexScrollArea",
|
|
5
5
|
emits: ["scrollbar", "scroll"],
|
package/form-advice/index.mjs
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { columnSizeContextKey as e, flowContextKey as t } from "../constants/index.mjs";
|
|
2
|
+
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, inject as c, openBlock as l, renderList as u, toDisplayString as d, unref as f } from "vue";
|
|
2
3
|
//#region src/components/red-form/FormAdvice.vue
|
|
3
|
-
var
|
|
4
|
+
var p = ["colspan"], m = ["colspan"], h = { style: { "text-align": "right" } }, g = { style: { "margin-left": "20px" } }, _ = /* @__PURE__ */ Object.assign({ name: "FormAdvice" }, {
|
|
4
5
|
__name: "FormAdvice",
|
|
5
6
|
props: {
|
|
6
7
|
valueColspan: Number,
|
|
7
8
|
labelColspan: Number
|
|
8
9
|
},
|
|
9
|
-
setup(
|
|
10
|
-
let
|
|
11
|
-
return (
|
|
12
|
-
var
|
|
13
|
-
return
|
|
10
|
+
setup(_) {
|
|
11
|
+
let v = _, y = c(e, 0), b = c(t, null), x = r(() => v.labelColspan && v.valueColspan || v.labelColspan && !v.valueColspan ? v.labelColspan : !v.labelColspan && v.valueColspan && y.value ? y.value - v.valueColspan : 0), S = r(() => v.labelColspan && v.valueColspan ? v.valueColspan : v.labelColspan && !v.valueColspan ? y.value ? y.value - v.labelColspan : 0 : !v.labelColspan && v.valueColspan ? v.valueColspan : y.value ? y.value - 1 : 0);
|
|
12
|
+
return (e, t) => {
|
|
13
|
+
var r;
|
|
14
|
+
return l(), a("tbody", null, [(l(!0), a(n, null, u((r = f(b)) == null ? void 0 : r.formComments, (e) => (l(), a(n, null, [e.comments.length ? (l(), a("tr", { key: e.id }, [o("td", {
|
|
14
15
|
class: "label",
|
|
15
16
|
style: {
|
|
16
17
|
height: "100px",
|
|
17
18
|
"line-height": "24px"
|
|
18
19
|
},
|
|
19
|
-
colspan:
|
|
20
|
-
},
|
|
20
|
+
colspan: x.value
|
|
21
|
+
}, d(e.name), 9, p), o("td", {
|
|
21
22
|
class: "input",
|
|
22
|
-
colspan:
|
|
23
|
-
}, [
|
|
23
|
+
colspan: S.value
|
|
24
|
+
}, [o("ul", null, [(l(!0), a(n, null, u(e.comments, (e) => (l(), a("li", { key: e.id }, [o("p", null, d(e.message), 1), o("p", h, [s(d(e.personalName) + " ", 1), o("span", g, d(e.time.substring(0, 10)), 1)])]))), 128))])], 8, m)])) : i("v-if", !0)], 64))), 256))]);
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
});
|
|
27
28
|
//#endregion
|
|
28
|
-
export {
|
|
29
|
+
export { _ as default };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
stop: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
prevent: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
text: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
message: StringConstructor;
|
|
15
|
+
confirmable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
confirmText: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
confirmType: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
confirmTitle: StringConstructor;
|
|
28
|
+
loadable: BooleanConstructor;
|
|
29
|
+
loadingText: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
tag: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
stop: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
prevent: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
text: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
message: StringConstructor;
|
|
51
|
+
confirmable: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
confirmText: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
confirmType: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
confirmTitle: StringConstructor;
|
|
64
|
+
loadable: BooleanConstructor;
|
|
65
|
+
loadingText: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
tag: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
text: string;
|
|
75
|
+
stop: boolean;
|
|
76
|
+
prevent: boolean;
|
|
77
|
+
loadable: boolean;
|
|
78
|
+
loadingText: string;
|
|
79
|
+
confirmable: boolean;
|
|
80
|
+
confirmType: string;
|
|
81
|
+
confirmText: string;
|
|
82
|
+
tag: string;
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | {
|
|
84
|
+
props: {
|
|
85
|
+
type: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
size: StringConstructor;
|
|
90
|
+
icon: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
nativeType: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
loading: BooleanConstructor;
|
|
99
|
+
disabled: BooleanConstructor;
|
|
100
|
+
plain: BooleanConstructor;
|
|
101
|
+
autofocus: BooleanConstructor;
|
|
102
|
+
round: BooleanConstructor;
|
|
103
|
+
confirmable: BooleanConstructor;
|
|
104
|
+
text: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
tag: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
114
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import e from "../confirmable/index.mjs";
|
|
2
|
+
//#region src/components/button/FormButton.vue
|
|
3
|
+
var t = {
|
|
4
|
+
name: "FormButton",
|
|
5
|
+
mixins: [e, { props: {
|
|
6
|
+
type: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: "danger"
|
|
9
|
+
},
|
|
10
|
+
size: String,
|
|
11
|
+
icon: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
nativeType: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "button"
|
|
18
|
+
},
|
|
19
|
+
loading: Boolean,
|
|
20
|
+
disabled: Boolean,
|
|
21
|
+
plain: Boolean,
|
|
22
|
+
autofocus: Boolean,
|
|
23
|
+
round: Boolean,
|
|
24
|
+
confirmable: Boolean,
|
|
25
|
+
text: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: ""
|
|
28
|
+
},
|
|
29
|
+
tag: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "AwesomeButton"
|
|
32
|
+
}
|
|
33
|
+
} }]
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { t as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
4
|
+
$slots: S;
|
|
5
|
+
});
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
|
+
type __VLS_TemplateResult = {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { formViewContextKey as e } from "../constants/index.mjs";
|
|
2
|
+
import { createElementBlock as t, createElementVNode as n, inject as r, normalizeStyle as i, openBlock as a, renderSlot as o, unref as s } from "vue";
|
|
3
|
+
//#region src/components/form/FormCard.vue
|
|
4
|
+
var c = { class: "form-content" }, l = {
|
|
5
|
+
__name: "FormCard",
|
|
6
|
+
setup(l) {
|
|
7
|
+
let u = r(e, null);
|
|
8
|
+
return (e, r) => {
|
|
9
|
+
var l;
|
|
10
|
+
return a(), t("div", {
|
|
11
|
+
class: "form-card",
|
|
12
|
+
style: i((l = s(u)) == null ? void 0 : l.formCardStyle)
|
|
13
|
+
}, [n("div", c, [o(e.$slots, "default")])], 4);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { l as default };
|