@web-utils/form-ui 1.0.0-beta86 → 1.0.0-beta88
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/affix/index.mjs +1 -1
- package/chunks/{4kjeIiag2.mjs → 5RCAxanu2.mjs} +3 -3
- package/chunks/{vebd58-O.mjs → 9ec0Wti82.mjs} +1 -1
- package/chunks/{BxcsELcB2.mjs → B7BaAm4k2.mjs} +2 -2
- package/chunks/{DSTNXl142.mjs → BFhVUqpP2.mjs} +2 -2
- package/chunks/BLKcXIrX.mjs +517 -0
- package/chunks/{C8h_P_kl2.mjs → BSOrm2U4.mjs} +2 -2
- package/chunks/BbUUI4mF.mjs +204 -0
- package/chunks/{D_q3C3v4.mjs → BegZOXrr.mjs} +4 -4
- package/chunks/{BIy6bO4j.mjs → Bg01eBVa2.mjs} +2 -2
- package/chunks/{DJlgX5ty.mjs → BhPVs8Ju.mjs} +1 -1
- package/chunks/{DrvwVjzq2.mjs → BmbhIxPF2.mjs} +2 -2
- package/chunks/{BYu4QaK72.mjs → Br3whXEJ2.mjs} +2 -2
- package/chunks/{y1Q66LEa2.mjs → BuI82QMb2.mjs} +1 -1
- package/chunks/{CCpKg0cM.mjs → Bv7b2DXh2.mjs} +2 -2
- package/chunks/{ofu8wJKp.mjs → C-s-88fN2.mjs} +1 -1
- package/chunks/{CET31mBi.mjs → C54nZqvy2.mjs} +1 -1
- package/chunks/CBHGpbDK.mjs +56 -0
- package/chunks/CFpGTE5U2.mjs +221 -0
- package/chunks/CIihGrgY.mjs +30 -0
- package/chunks/{XQwnPkab2.mjs → CW021IPm2.mjs} +1 -1
- package/chunks/{CLn5E7NV.mjs → CW1nopZH.mjs} +1 -1
- package/chunks/CY2YrwMT.mjs +302 -0
- package/chunks/{DVF9q3oX.mjs → CdvD0NRo2.mjs} +2 -2
- package/chunks/Cf_h9S62.mjs +378 -0
- package/chunks/{8h-xBLL82.mjs → CixNVW_T2.mjs} +10 -10
- package/chunks/{By-W0XXn2.mjs → ClkLQjZ82.mjs} +1 -1
- package/chunks/CsNZt53l.mjs +4074 -0
- package/chunks/{HFLY8Wla.mjs → D1mQTnJ8.mjs} +181 -185
- package/chunks/{CjCNtCWd.mjs → D20CQ-B6.mjs} +1 -1
- package/chunks/{BxuM-fgJ.mjs → D2kLAzxW.mjs} +1 -1
- package/chunks/{tfaGdZX2.mjs → D8_fl5Oq.mjs} +4 -4
- package/chunks/{C28bnMcw.mjs → DC3DNg_r.mjs} +1 -1
- package/chunks/{DWN5uzm02.mjs → DL4xcGES2.mjs} +10 -10
- package/chunks/{SWO35fS42.mjs → Dd4RtBO02.mjs} +1 -1
- package/chunks/{3nLaRSbR2.mjs → DdHN2Nv72.mjs} +1 -1
- package/chunks/{BrSqLOi5.mjs → DmJaItEY.mjs} +6 -6
- package/chunks/{CkHQY4ME2.mjs → Dnapnskp2.mjs} +1 -1
- package/chunks/{vHsAJZRT.mjs → MUk_IdeO2.mjs} +2 -2
- package/chunks/NAZ8HFBg.mjs +340 -0
- package/chunks/{saZ_qJOT.mjs → aOv3rI7q.mjs} +1 -1
- package/chunks/{mqi8hesW2.mjs → dxZzZgUn.mjs} +2 -2
- package/chunks/{Tq3_dajC2.mjs → m5oFTe8Y2.mjs} +1 -1
- package/chunks/{Dst9_BmZ.mjs → n7IipIUY.mjs} +3 -3
- package/chunks/{SInS7QSL.mjs → vCOhFr2x.mjs} +1 -1
- package/constants/index.d.ts +2 -0
- package/constants/index.mjs +2 -2
- package/data-table-picker/index.mjs +1 -1
- package/dialog-form/index.d.ts +4 -0
- package/dialog-form/index.mjs +154 -0
- package/dialog-form/style.css +1 -0
- package/empty-view/index.d.ts +2 -2
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +4 -4
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +2 -2
- package/fy-array/index.d.ts +234 -0
- package/fy-array/index.mjs +130 -0
- package/fy-array/style.css +1 -0
- package/fy-button/index.d.ts +18 -0
- package/fy-button/index.mjs +2 -0
- package/fy-button/style.css +1 -0
- package/fy-cascader/index.d.ts +298 -0
- package/fy-cascader/index.mjs +116 -0
- package/fy-checkbox/index.d.ts +231 -0
- package/fy-checkbox/index.mjs +100 -0
- package/fy-checkbox/style.css +1 -0
- package/fy-curd/index.d.ts +908 -0
- package/fy-curd/index.mjs +2 -0
- package/fy-date/index.d.ts +246 -0
- package/fy-date/index.mjs +79 -0
- package/fy-date/style.css +1 -0
- package/fy-dynamic/index.d.ts +268 -0
- package/fy-dynamic/index.mjs +2 -0
- package/fy-empty/index.d.ts +31 -0
- package/fy-empty/index.mjs +35 -0
- package/fy-empty/style.css +1 -0
- package/fy-form/index.d.ts +522 -0
- package/fy-form/index.mjs +2 -0
- package/fy-form/style.css +1 -0
- package/fy-input/index.d.ts +316 -0
- package/fy-input/index.mjs +122 -0
- package/fy-input-color/index.d.ts +235 -0
- package/fy-input-color/index.mjs +80 -0
- package/fy-input-icon/index.d.ts +244 -0
- package/fy-input-icon/index.mjs +133 -0
- package/fy-input-icon/style.css +1 -0
- package/fy-input-map/index.d.ts +266 -0
- package/fy-input-map/index.mjs +248 -0
- package/fy-input-map/style.css +1 -0
- package/fy-input-number/index.d.ts +266 -0
- package/fy-input-number/index.mjs +78 -0
- package/fy-input-table/index.d.ts +248 -0
- package/fy-input-table/index.mjs +166 -0
- package/fy-input-table/style.css +1 -0
- package/fy-input-tree/index.d.ts +351 -0
- package/fy-input-tree/index.mjs +266 -0
- package/fy-input-tree/style.css +1 -0
- package/fy-radio/index.d.ts +218 -0
- package/fy-radio/index.mjs +56 -0
- package/fy-radio/style.css +1 -0
- package/fy-rate/index.d.ts +288 -0
- package/fy-rate/index.mjs +90 -0
- package/fy-rate/style.css +1 -0
- package/fy-select/index.d.ts +324 -0
- package/fy-select/index.mjs +2 -0
- package/fy-select/style.css +1 -0
- package/fy-slider/index.d.ts +249 -0
- package/fy-slider/index.mjs +72 -0
- package/fy-switch/index.d.ts +229 -0
- package/fy-switch/index.mjs +71 -0
- package/fy-tabs/index.d.ts +20 -0
- package/fy-tabs/index.mjs +50 -0
- package/fy-time/index.d.ts +704 -0
- package/fy-time/index.mjs +85 -0
- package/fy-title/index.d.ts +224 -0
- package/fy-title/index.mjs +18 -0
- package/fy-title/style.css +1 -0
- package/fy-tree/index.d.ts +141 -0
- package/fy-tree/index.mjs +390 -0
- package/fy-tree/style.css +1 -0
- package/fy-u-editor/index.d.ts +116 -0
- package/fy-u-editor/index.mjs +2 -0
- package/fy-u-editor/style.css +1 -0
- package/fy-upload/index.d.ts +379 -0
- package/fy-upload/index.mjs +2 -0
- package/fy-upload/style.css +1 -0
- package/helper/avue.d.ts +36 -0
- package/helper/avue.mjs +35 -0
- package/helper/input.mjs +1 -1
- package/icon-temp/index.d.ts +19 -0
- package/icon-temp/index.mjs +27 -0
- package/icon-temp/style.css +1 -0
- package/image-viewer/index.d.ts +1 -1
- package/index.css +1 -1
- package/index.d.ts +31 -1
- package/index.mjs +118 -90
- package/keyboard/index.mjs +1 -1
- package/monaco-editor/index.d.ts +126 -0
- package/monaco-editor/index.mjs +2 -0
- package/monaco-editor/style.css +1 -0
- package/package.json +3 -1
- package/pageable-table/index.d.ts +1 -1
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/resolver/components.mjs +1 -1
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/table-column-def/index.d.ts +6 -6
- package/table-view/index.mjs +4 -4
- package/tag-render/index.d.ts +1 -1
- package/toolbar/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.d.ts +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +1 -1
- package/chunks/{DCqyZyF6.mjs → BCYFaOiB.mjs} +0 -0
- package/chunks/{B1luuf_A2.mjs → BJDeTpmp2.mjs} +0 -0
- package/chunks/{BhHMGhJ8.mjs → BcsscZAM.mjs} +0 -0
- package/chunks/{DbcxJ45j.mjs → BfW25VbY.mjs} +1 -1
- package/chunks/{6dNVtIN32.mjs → BjccroM8.mjs} +0 -0
- package/chunks/{BTGrh7dw2.mjs → Br0vC3nS2.mjs} +0 -0
- package/chunks/{BM5LdxU72.mjs → CB0zQsKV2.mjs} +0 -0
- package/chunks/{Bs926z902.mjs → CHqxWrj7.mjs} +1 -1
- package/chunks/{B5c0s3IR.mjs → CJwAjhLy.mjs} +1 -1
- package/chunks/{BAG_R87k2.mjs → CZnwC17w.mjs} +0 -0
- package/chunks/{tVHVSu5h.mjs → CbedyG4s.mjs} +4 -4
- package/chunks/{BwL9Xz1F.mjs → Cp1olyWc.mjs} +0 -0
- package/chunks/{KOJEsarR2.mjs → CpmWELPU.mjs} +0 -0
- package/chunks/{C-zPVdz-.mjs → D9ft-f6n.mjs} +1 -1
- package/chunks/{PEU1JRcN2.mjs → DEHzWyyp.mjs} +0 -0
- package/chunks/{CHmZyvFr.mjs → DJe2Reym.mjs} +0 -0
- package/chunks/{CpsHWpwH2.mjs → DNq7pbXh2.mjs} +0 -0
- package/chunks/{X-ckP2Hj.mjs → DOLQ28wD.mjs} +0 -0
- package/chunks/{tqW2DSco.mjs → fT8tFJVO.mjs} +1 -1
- /package/chunks/{Dkw6LNCq2.mjs → jG7vu3RX.mjs} +0 -0
- /package/chunks/{b0ve2YgF.mjs → mQG01w6Y.mjs} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { def as e } from "../helper/avue.mjs";
|
|
2
|
+
import { t } from "../chunks/B1MSrc6f.mjs";
|
|
3
|
+
import { t as n } from "../chunks/V-Js6hNd.mjs";
|
|
4
|
+
import { avueConfigContextKey as r } from "../constants/index.mjs";
|
|
5
|
+
import { t as i } from "../chunks/CIihGrgY.mjs";
|
|
6
|
+
import { t as a } from "../chunks/CsNZt53l.mjs";
|
|
7
|
+
import { a as o } from "../chunks/BbUUI4mF.mjs";
|
|
8
|
+
import { ElDrawer as s } from "element-plus/es";
|
|
9
|
+
import "element-plus/es/components/base/style/css";
|
|
10
|
+
import { createApp as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, createVNode as p, h as m, mergeProps as h, normalizeClass as g, onMounted as _, openBlock as v, provide as y, resolveDynamicComponent as b, toDisplayString as x, useTemplateRef as S, withCtx as C } from "vue";
|
|
11
|
+
import { isEmpty as w } from "@web-utils/core";
|
|
12
|
+
import "element-plus/es/components/drawer/style/css";
|
|
13
|
+
//#region src/components/avue/dialog-form/DialogForm.vue
|
|
14
|
+
var T = {
|
|
15
|
+
name: "DialogForm",
|
|
16
|
+
data() {
|
|
17
|
+
return {
|
|
18
|
+
opt: {},
|
|
19
|
+
disabled: !1,
|
|
20
|
+
callback: null,
|
|
21
|
+
visible: !1,
|
|
22
|
+
dialog: { closeOnClickModal: !1 },
|
|
23
|
+
isDrawer: !1,
|
|
24
|
+
option: {
|
|
25
|
+
submitText: "提交",
|
|
26
|
+
emptyText: "关闭",
|
|
27
|
+
submitIcon: "el-icon-check",
|
|
28
|
+
emptyIcon: "el-icon-close",
|
|
29
|
+
column: []
|
|
30
|
+
},
|
|
31
|
+
data: {}
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
computed: {
|
|
35
|
+
dialogType() {
|
|
36
|
+
return this.isDrawer ? s : n;
|
|
37
|
+
},
|
|
38
|
+
menuPosition() {
|
|
39
|
+
return this.opt.menuPosition || "center";
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
isEmpty: w,
|
|
44
|
+
deepClone: o,
|
|
45
|
+
submit() {
|
|
46
|
+
this.$refs.form.submit();
|
|
47
|
+
},
|
|
48
|
+
reset() {
|
|
49
|
+
this.$refs.form.resetForm();
|
|
50
|
+
},
|
|
51
|
+
beforeClose(e) {
|
|
52
|
+
e(), this.close();
|
|
53
|
+
},
|
|
54
|
+
show(e) {
|
|
55
|
+
this.opt = e, this.callback = e.callback;
|
|
56
|
+
let t = o(e);
|
|
57
|
+
[
|
|
58
|
+
"callback",
|
|
59
|
+
"option",
|
|
60
|
+
"data"
|
|
61
|
+
].forEach((e) => delete t[e]), this.dialog = Object.assign(this.dialog, t), this.dialog.size = this.dialog.width, this.isDrawer = this.dialog.type === "drawer", this.option = Object.assign(this.option, e.option), this.data = e.data, this.visible = !0;
|
|
62
|
+
},
|
|
63
|
+
close() {
|
|
64
|
+
let e = () => {
|
|
65
|
+
this.visible = !1, this.$el.remove();
|
|
66
|
+
};
|
|
67
|
+
typeof this.dialog.beforeClose == "function" ? this.dialog.beforeClose(e) : e();
|
|
68
|
+
},
|
|
69
|
+
handleSubmit(e, t) {
|
|
70
|
+
var n;
|
|
71
|
+
(n = this.callback) == null || n.call(this, {
|
|
72
|
+
data: e,
|
|
73
|
+
close: this.close,
|
|
74
|
+
done: t
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
T.showForm = (t) => {
|
|
80
|
+
let n = c({ setup() {
|
|
81
|
+
let e = S("dialogForm");
|
|
82
|
+
return _(() => {
|
|
83
|
+
e.value.show(t);
|
|
84
|
+
}), () => m(T, { ref: "dialogForm" });
|
|
85
|
+
} });
|
|
86
|
+
y(r, e);
|
|
87
|
+
let i = document.createElement("div");
|
|
88
|
+
return document.body.appendChild(i), n.config.warnHandler = () => {}, n.onUnmount(() => {
|
|
89
|
+
document.body.removeChild(i);
|
|
90
|
+
}), n.mount(i), n;
|
|
91
|
+
};
|
|
92
|
+
var E = T;
|
|
93
|
+
function D(e, t, n, r, o, s) {
|
|
94
|
+
let c = a, m = i;
|
|
95
|
+
return v(), l(b(e.dialogType), h({
|
|
96
|
+
"model-value": e.visible,
|
|
97
|
+
"onUpdate:modelValue": t[2] || (t[2] = (t) => e.visible = t),
|
|
98
|
+
"destroy-on-close": "",
|
|
99
|
+
class: "dialog-form",
|
|
100
|
+
"before-close": e.beforeClose
|
|
101
|
+
}, e.dialog), {
|
|
102
|
+
default: C(() => [p(c, {
|
|
103
|
+
ref: "form",
|
|
104
|
+
modelValue: e.data,
|
|
105
|
+
"onUpdate:modelValue": t[0] || (t[0] = (t) => e.data = t),
|
|
106
|
+
status: e.disabled,
|
|
107
|
+
"onUpdate:status": t[1] || (t[1] = (t) => e.disabled = t),
|
|
108
|
+
option: {
|
|
109
|
+
...e.deepClone(e.option),
|
|
110
|
+
menuBtn: !1
|
|
111
|
+
},
|
|
112
|
+
onSubmit: e.handleSubmit,
|
|
113
|
+
onResetChange: e.close
|
|
114
|
+
}, null, 8, [
|
|
115
|
+
"modelValue",
|
|
116
|
+
"status",
|
|
117
|
+
"option",
|
|
118
|
+
"onSubmit",
|
|
119
|
+
"onResetChange"
|
|
120
|
+
]), e.isEmpty(e.option.menuBtn, !0) ? (v(), d("span", {
|
|
121
|
+
key: 0,
|
|
122
|
+
class: g(["avue-dialog__footer", `avue-dialog__footer--${e.menuPosition}`])
|
|
123
|
+
}, [e.isEmpty(e.option.submitBtn, !0) ? (v(), l(m, {
|
|
124
|
+
key: 0,
|
|
125
|
+
icon: e.option.submitIcon,
|
|
126
|
+
loading: e.disabled,
|
|
127
|
+
type: "primary",
|
|
128
|
+
onClick: e.submit
|
|
129
|
+
}, {
|
|
130
|
+
default: C(() => [f(x(e.option.submitText), 1)]),
|
|
131
|
+
_: 1
|
|
132
|
+
}, 8, [
|
|
133
|
+
"icon",
|
|
134
|
+
"loading",
|
|
135
|
+
"onClick"
|
|
136
|
+
])) : u("v-if", !0), e.isEmpty(e.option.emptyBtn, !0) ? (v(), l(m, {
|
|
137
|
+
key: 1,
|
|
138
|
+
disabled: e.disabled,
|
|
139
|
+
icon: e.option.emptyIcon,
|
|
140
|
+
onClick: e.reset
|
|
141
|
+
}, {
|
|
142
|
+
default: C(() => [f(x(e.option.emptyText), 1)]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, [
|
|
145
|
+
"disabled",
|
|
146
|
+
"icon",
|
|
147
|
+
"onClick"
|
|
148
|
+
])) : u("v-if", !0)], 2)) : u("v-if", !0)]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 16, ["model-value", "before-close"]);
|
|
151
|
+
}
|
|
152
|
+
var O = /* @__PURE__ */ t(E, [["render", D]]);
|
|
153
|
+
//#endregion
|
|
154
|
+
export { O as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.dialog-form .element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body,.dialog-form .el-drawer__body{flex-direction:column;flex:auto;padding:0;display:flex}.dialog-form .element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body .avue-form,.dialog-form .el-drawer__body .avue-form{flex:auto}
|
package/empty-view/index.d.ts
CHANGED
|
@@ -6,15 +6,15 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
|
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
7
7
|
icon: string;
|
|
8
8
|
height: string;
|
|
9
|
-
emptyTips: string;
|
|
10
9
|
fontSize: string;
|
|
10
|
+
emptyTips: string;
|
|
11
11
|
iconSize: string;
|
|
12
12
|
showIcon: boolean;
|
|
13
13
|
$props: {
|
|
14
14
|
readonly icon?: string | undefined;
|
|
15
15
|
readonly height?: string | undefined;
|
|
16
|
-
readonly emptyTips?: string | undefined;
|
|
17
16
|
readonly fontSize?: string | undefined;
|
|
17
|
+
readonly emptyTips?: string | undefined;
|
|
18
18
|
readonly iconSize?: string | undefined;
|
|
19
19
|
readonly showIcon?: boolean | undefined;
|
|
20
20
|
};
|
package/flex-box/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DOLQ28wD.mjs";
|
|
2
2
|
export { e as default };
|
package/flex-column/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CW1nopZH.mjs";
|
|
2
2
|
export { e as default };
|
package/flex-item/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DJe2Reym.mjs";
|
|
2
2
|
export { e as default };
|
package/flex-row/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/vCOhFr2x.mjs";
|
|
2
2
|
export { e as default };
|
package/flow-designer/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DmJaItEY.mjs";
|
|
2
2
|
export { e as default };
|
package/form-cascader/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/D20CQ-B6.mjs";
|
|
2
2
|
export { e as default };
|
package/form-checkbox/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/aOv3rI7q.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/n7IipIUY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -443,6 +443,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
443
443
|
block: boolean;
|
|
444
444
|
pull: number;
|
|
445
445
|
placeholder: string;
|
|
446
|
+
dates: boolean;
|
|
447
|
+
week: boolean;
|
|
448
|
+
month: boolean;
|
|
449
|
+
year: boolean;
|
|
446
450
|
readonly: boolean;
|
|
447
451
|
wrapCol: boolean;
|
|
448
452
|
unwrap: boolean;
|
|
@@ -457,10 +461,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
457
461
|
teleported: boolean;
|
|
458
462
|
validateEvent: boolean;
|
|
459
463
|
fallbackPlacements: unknown[];
|
|
460
|
-
year: boolean;
|
|
461
|
-
month: boolean;
|
|
462
|
-
dates: boolean;
|
|
463
|
-
week: boolean;
|
|
464
464
|
dateTime: boolean;
|
|
465
465
|
dateTimeRange: boolean;
|
|
466
466
|
dateRange: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/D2kLAzxW.mjs";
|
|
2
2
|
export { e as default };
|
package/form-holder/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BcsscZAM.mjs";
|
|
2
2
|
export { e as default };
|
package/form-image/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BhPVs8Ju.mjs";
|
|
2
2
|
export { e as default };
|
package/form-input/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DC3DNg_r.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Bg01eBVa2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CdvD0NRo2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/MUk_IdeO2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/9ec0Wti82.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Bv7b2DXh2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/C-s-88fN2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/C54nZqvy2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-item/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { s as e } from "../chunks/
|
|
1
|
+
import { s as e } from "../chunks/mQG01w6Y.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BJDeTpmp2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/ClkLQjZ82.mjs";
|
|
2
2
|
export { e as default };
|
package/form-rate/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Dnapnskp2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-row/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CB0zQsKV2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-select/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DdHN2Nv72.mjs";
|
|
2
2
|
export { e as default };
|
package/form-slider/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BuI82QMb2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-switch/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/CW021IPm2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-table/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BmbhIxPF2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/5RCAxanu2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-text/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/m5oFTe8Y2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-textarea/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/B7BaAm4k2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Dd4RtBO02.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BFhVUqpP2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/Br3whXEJ2.mjs";
|
|
2
2
|
export { e as default };
|
package/form-view/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "../chunks/B1MSrc6f.mjs";
|
|
2
2
|
import t from "../element-resize-observer/index.mjs";
|
|
3
3
|
import n from "../empty-view/index.mjs";
|
|
4
|
-
import { t as r } from "../chunks/
|
|
4
|
+
import { t as r } from "../chunks/BJDeTpmp2.mjs";
|
|
5
5
|
import i from "../loading-view/index.mjs";
|
|
6
|
-
import { t as a } from "../chunks/
|
|
6
|
+
import { t as a } from "../chunks/DNq7pbXh2.mjs";
|
|
7
7
|
import { Fragment as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createVNode as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderList as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toHandlers as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
8
8
|
import { animate as T, hasOwn as E, isInContainer as D, toStringArray as O } from "@web-utils/core";
|
|
9
9
|
import { merge as k } from "@web-utils/integrations/lodash";
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
fileType: StringConstructor;
|
|
3
|
+
alone: BooleanConstructor;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
limit: NumberConstructor;
|
|
6
|
+
}>, {}, {}, {
|
|
7
|
+
isLimit(): number | undefined;
|
|
8
|
+
textLen(): any;
|
|
9
|
+
isImg(): boolean;
|
|
10
|
+
isUrl(): boolean;
|
|
11
|
+
}, {
|
|
12
|
+
isMediaType(item: any): false | "audio" | "video" | "img" | undefined;
|
|
13
|
+
add(index: any): void;
|
|
14
|
+
remove(index: any): void;
|
|
15
|
+
openImg(): void;
|
|
16
|
+
}, {
|
|
17
|
+
mixins: {
|
|
18
|
+
methods: {
|
|
19
|
+
getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
|
|
20
|
+
getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
|
|
21
|
+
};
|
|
22
|
+
}[];
|
|
23
|
+
data(): {
|
|
24
|
+
stringMode: boolean;
|
|
25
|
+
name: string;
|
|
26
|
+
text: undefined;
|
|
27
|
+
propsHttpDefault: {
|
|
28
|
+
name: string;
|
|
29
|
+
url: string;
|
|
30
|
+
fileName: string;
|
|
31
|
+
res: string;
|
|
32
|
+
};
|
|
33
|
+
propsDefault: {
|
|
34
|
+
rowKey: string;
|
|
35
|
+
rowParentKey: string;
|
|
36
|
+
nodeKey: string;
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
desc: string;
|
|
40
|
+
groups: string;
|
|
41
|
+
title: string;
|
|
42
|
+
leaf: string;
|
|
43
|
+
children: string;
|
|
44
|
+
hasChildren: string;
|
|
45
|
+
labelText: string;
|
|
46
|
+
disabled: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
props: {
|
|
50
|
+
blur: FunctionConstructor;
|
|
51
|
+
focus: FunctionConstructor;
|
|
52
|
+
change: FunctionConstructor;
|
|
53
|
+
click: FunctionConstructor;
|
|
54
|
+
typeformat: FunctionConstructor;
|
|
55
|
+
control: FunctionConstructor;
|
|
56
|
+
separator: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
params: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
default: () => {};
|
|
63
|
+
};
|
|
64
|
+
listType: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
};
|
|
67
|
+
tableData: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
};
|
|
70
|
+
modelValue: {};
|
|
71
|
+
column: {
|
|
72
|
+
type: ObjectConstructor;
|
|
73
|
+
default: () => {};
|
|
74
|
+
};
|
|
75
|
+
label: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
readonly: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
size: StringConstructor;
|
|
84
|
+
tip: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
disabled: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
dataType: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
};
|
|
95
|
+
clearable: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
type: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
dicUrl: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
dicMethod: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
dicFormatter: FunctionConstructor;
|
|
112
|
+
dicQuery: {
|
|
113
|
+
type: ObjectConstructor;
|
|
114
|
+
default: () => {};
|
|
115
|
+
};
|
|
116
|
+
dic: {
|
|
117
|
+
type: ArrayConstructor;
|
|
118
|
+
default: () => never[];
|
|
119
|
+
};
|
|
120
|
+
placeholder: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
rules: {
|
|
125
|
+
type: ArrayConstructor;
|
|
126
|
+
};
|
|
127
|
+
min: {
|
|
128
|
+
type: NumberConstructor;
|
|
129
|
+
};
|
|
130
|
+
max: {
|
|
131
|
+
type: NumberConstructor;
|
|
132
|
+
};
|
|
133
|
+
multiple: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
button: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
group: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
row: {
|
|
146
|
+
type: BooleanConstructor;
|
|
147
|
+
default: boolean;
|
|
148
|
+
};
|
|
149
|
+
prop: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
border: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
popperClass: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
};
|
|
160
|
+
propsHttp: {
|
|
161
|
+
type: ObjectConstructor;
|
|
162
|
+
default: () => {
|
|
163
|
+
name: string;
|
|
164
|
+
url: string;
|
|
165
|
+
fileName: string;
|
|
166
|
+
res: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
props: {
|
|
170
|
+
type: ObjectConstructor;
|
|
171
|
+
default: () => {
|
|
172
|
+
rowKey: string;
|
|
173
|
+
rowParentKey: string;
|
|
174
|
+
nodeKey: string;
|
|
175
|
+
label: string;
|
|
176
|
+
value: string;
|
|
177
|
+
desc: string;
|
|
178
|
+
groups: string;
|
|
179
|
+
title: string;
|
|
180
|
+
leaf: string;
|
|
181
|
+
children: string;
|
|
182
|
+
hasChildren: string;
|
|
183
|
+
labelText: string;
|
|
184
|
+
disabled: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
watch: {
|
|
189
|
+
text: {
|
|
190
|
+
handler(this: any, n: any): void;
|
|
191
|
+
};
|
|
192
|
+
modelValue: {
|
|
193
|
+
handler(this: any): void;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
computed: {
|
|
197
|
+
clearableVal(this: any): any;
|
|
198
|
+
componentName(this: any): string;
|
|
199
|
+
required(this: any): boolean;
|
|
200
|
+
isArray(this: any): boolean;
|
|
201
|
+
isString(this: any): boolean;
|
|
202
|
+
isNumber(this: any): boolean;
|
|
203
|
+
nameKey(this: any): any;
|
|
204
|
+
urlKey(this: any): any;
|
|
205
|
+
resKey(this: any): any;
|
|
206
|
+
groupsKey(this: any): any;
|
|
207
|
+
valueKey(this: any): any;
|
|
208
|
+
descKey(this: any): any;
|
|
209
|
+
leafKey(this: any): any;
|
|
210
|
+
labelKey(this: any): any;
|
|
211
|
+
childrenKey(this: any): any;
|
|
212
|
+
disabledKey(this: any): any;
|
|
213
|
+
idKey(this: any): any;
|
|
214
|
+
};
|
|
215
|
+
created(this: any): void;
|
|
216
|
+
} | {
|
|
217
|
+
methods: {
|
|
218
|
+
bindEvent(this: any, name: any, params: any): void;
|
|
219
|
+
initVal(this: any): void;
|
|
220
|
+
getLabelText(this: any, item: any): any;
|
|
221
|
+
handleFocus(this: any, event: any): void;
|
|
222
|
+
handleBlur(this: any, event: any): void;
|
|
223
|
+
handleClick(this: any, event: any): void;
|
|
224
|
+
handleChange(this: any, value: any): void;
|
|
225
|
+
};
|
|
226
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
227
|
+
fileType: StringConstructor;
|
|
228
|
+
alone: BooleanConstructor;
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
limit: NumberConstructor;
|
|
231
|
+
}>> & Readonly<{}>, {
|
|
232
|
+
alone: boolean;
|
|
233
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
234
|
+
export default _default;
|