asiaint-lowcode 2.0.6 → 3.0.0
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/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +131 -131
- package/dist/index.d.ts +59 -35
- package/dist/lazy/{Card-Br9_6h4Z.js → Card-BDPgDrI2.js} +6 -6
- package/dist/lazy/Cascader-C4-YmIaK.js +44 -0
- package/dist/lazy/{Checkbox-CqO1-QlM.js → Checkbox-DNSS1Txw.js} +12 -11
- package/dist/lazy/{Collapse-C8nFsrOL.js → Collapse-C80q6smT.js} +1 -1
- package/dist/lazy/{Component-CV0LZLKE.js → Component-B79gmO6K.js} +1 -1
- package/dist/lazy/Component-BU6S4ypQ.js +28 -0
- package/dist/lazy/Component-BftgSxpa.js +13 -0
- package/dist/lazy/{Component-DP7iB6BT.js → Component-CeDDbFlt.js} +2 -2
- package/dist/lazy/{Component-af_9m360.js → Component-Ghcasgly.js} +1 -1
- package/dist/lazy/{Component-DG-QKg64.js → Component-xoY7y60W.js} +2 -2
- package/dist/lazy/{Custom-Dk1Nr81h.js → Custom-BG94rQkt.js} +7 -7
- package/dist/lazy/{DatePicker-C_h8PGuz.js → DatePicker-6vsAU5ji.js} +1 -1
- package/dist/lazy/{FormList-ciHaSsZN.js → FormList-BfBo9OwL.js} +1 -1
- package/dist/lazy/{Grid-CZxpbowk.js → Grid-DmDygTZN.js} +1 -1
- package/dist/lazy/{Inline-Bnp-p-3I.js → Inline-BaF4S3jV.js} +2 -2
- package/dist/lazy/{JsonEdit-B4yGMT6R.js → JsonEdit-BPGmEF5d.js} +3 -3
- package/dist/lazy/{ObjGroup-CipzGSLC.js → ObjGroup-CsBAxkRV.js} +1 -1
- package/dist/lazy/{Radio-C6gBFA3u.js → Radio-C8HHJrdk.js} +15 -14
- package/dist/lazy/{SearchSelect-CbeuYE7W.js → SearchSelect-Xt5FhvIb.js} +12 -11
- package/dist/lazy/{Select-LDWGwp2E.js → Select-CuE6Swfa.js} +15 -14
- package/dist/lazy/{Tabs-BOvsls22.js → Tabs-C945YGKQ.js} +1 -1
- package/dist/lazy/{TextArea-D2Jmk5Mf.js → TextArea-CwQ9cOJB.js} +1 -1
- package/dist/lazy/{index-CqzCIPnG.js → index-09dr6bnU.js} +6072 -5880
- package/dist/lazy/useSelect-CbmMfUqn.js +55 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Cascader-QU2iguK3.js +0 -41
- package/dist/lazy/Component-DwEwJ8x3.js +0 -24
- package/dist/lazy/useSelect-Czrzaha_.js +0 -50
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { FormValidationResult } from 'element-plus';
|
|
|
8
8
|
import { InjectionKey } from 'vue';
|
|
9
9
|
import { PropType } from 'vue';
|
|
10
10
|
import { PublicProps } from 'vue';
|
|
11
|
+
import { TabsProps } from 'element-plus';
|
|
11
12
|
import { VNode } from 'vue';
|
|
12
13
|
|
|
13
14
|
export declare const $options: InjectionKey<Options>;
|
|
@@ -92,16 +93,32 @@ field?: string;
|
|
|
92
93
|
}[]) => any) | undefined;
|
|
93
94
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
94
95
|
|
|
95
|
-
declare
|
|
96
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
97
|
+
ruleMap: Record<string, any>;
|
|
98
|
+
pageUrl?: string;
|
|
99
|
+
pageParams?: any;
|
|
100
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
101
|
+
done: (...args: any[]) => void;
|
|
102
|
+
refresh: (...args: any[]) => void;
|
|
103
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
104
|
+
ruleMap: Record<string, any>;
|
|
105
|
+
pageUrl?: string;
|
|
106
|
+
pageParams?: any;
|
|
107
|
+
}>>> & Readonly<{
|
|
108
|
+
onDone?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
110
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
96
111
|
|
|
97
|
-
declare type
|
|
98
|
-
[K in keyof T]: T[K];
|
|
99
|
-
} & {};
|
|
112
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
113
|
|
|
101
114
|
declare function __VLS_template(): {
|
|
102
115
|
default?(_: {}): any;
|
|
103
116
|
};
|
|
104
117
|
|
|
118
|
+
declare function __VLS_template_2(): {
|
|
119
|
+
loading?(_: {}): any;
|
|
120
|
+
};
|
|
121
|
+
|
|
105
122
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
106
123
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
107
124
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
@@ -111,13 +128,13 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
111
128
|
};
|
|
112
129
|
};
|
|
113
130
|
|
|
114
|
-
declare type
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
131
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
132
|
+
new (): {
|
|
133
|
+
$slots: S;
|
|
134
|
+
};
|
|
118
135
|
};
|
|
119
136
|
|
|
120
|
-
declare type
|
|
137
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
121
138
|
new (): {
|
|
122
139
|
$slots: S;
|
|
123
140
|
};
|
|
@@ -293,10 +310,12 @@ declare type Locale = {
|
|
|
293
310
|
};
|
|
294
311
|
};
|
|
295
312
|
|
|
296
|
-
declare type Options = {
|
|
297
|
-
request?: (options: Record<string, any>) => Promise<Record<string, any>>;
|
|
313
|
+
export declare type Options = {
|
|
298
314
|
extendElements?: Record<string, FormElement>;
|
|
299
315
|
lang?: 'zh' | 'en';
|
|
316
|
+
navigateFn?: (path: string) => void;
|
|
317
|
+
fetchSchemaFn?: (path: string) => Promise<PageSchema>;
|
|
318
|
+
fetchOptionsFn?: (params: any) => Promise<any>;
|
|
300
319
|
};
|
|
301
320
|
|
|
302
321
|
export declare type PageMethods = {
|
|
@@ -310,31 +329,10 @@ export declare type PageMethods = {
|
|
|
310
329
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
311
330
|
getPageParams: () => any;
|
|
312
331
|
setHidden: (key: string, hiddenState: boolean) => void;
|
|
332
|
+
setBtnHidden: (key: string, hiddenState: boolean) => void;
|
|
313
333
|
};
|
|
314
334
|
|
|
315
|
-
export declare const PageRender:
|
|
316
|
-
ruleMap: Record<string, any>;
|
|
317
|
-
pageSchema: PageSchema;
|
|
318
|
-
pageParams?: any;
|
|
319
|
-
previewMode?: boolean;
|
|
320
|
-
}>, {
|
|
321
|
-
previewMode: boolean;
|
|
322
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
323
|
-
done: (...args: any[]) => void;
|
|
324
|
-
refresh: (...args: any[]) => void;
|
|
325
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
326
|
-
ruleMap: Record<string, any>;
|
|
327
|
-
pageSchema: PageSchema;
|
|
328
|
-
pageParams?: any;
|
|
329
|
-
previewMode?: boolean;
|
|
330
|
-
}>, {
|
|
331
|
-
previewMode: boolean;
|
|
332
|
-
}>>> & Readonly<{
|
|
333
|
-
onDone?: ((...args: any[]) => any) | undefined;
|
|
334
|
-
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
335
|
-
}>, {
|
|
336
|
-
previewMode: boolean;
|
|
337
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
335
|
+
export declare const PageRender: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
338
336
|
|
|
339
337
|
declare type PageSchema = {
|
|
340
338
|
key: string;
|
|
@@ -347,13 +345,16 @@ declare type PageSchema = {
|
|
|
347
345
|
} | {
|
|
348
346
|
type: 'table';
|
|
349
347
|
schema: TableSchema;
|
|
348
|
+
} | {
|
|
349
|
+
type: 'tabs';
|
|
350
|
+
schema: TabsSchema;
|
|
350
351
|
}>;
|
|
351
352
|
btns: Array<{
|
|
352
353
|
key: string;
|
|
353
354
|
text: string;
|
|
354
355
|
onClick: string;
|
|
355
356
|
disabled: boolean;
|
|
356
|
-
|
|
357
|
+
hidden: boolean;
|
|
357
358
|
}>;
|
|
358
359
|
};
|
|
359
360
|
|
|
@@ -408,6 +409,7 @@ pageSize: number;
|
|
|
408
409
|
};
|
|
409
410
|
isChange: boolean;
|
|
410
411
|
};
|
|
412
|
+
setTopBtnHidden: (btnKey: string, hidden: boolean) => void;
|
|
411
413
|
type: string;
|
|
412
414
|
design: boolean;
|
|
413
415
|
read: boolean;
|
|
@@ -438,6 +440,7 @@ declare type TableSchema = {
|
|
|
438
440
|
showDynamicSearch?: boolean;
|
|
439
441
|
multipleSelection?: boolean;
|
|
440
442
|
highlightCurrentRow?: boolean;
|
|
443
|
+
['highlight-current-row']?: boolean;
|
|
441
444
|
rowClick?: string;
|
|
442
445
|
rowDbClick?: string;
|
|
443
446
|
sizeChange?: string;
|
|
@@ -453,6 +456,27 @@ declare type TableSchema = {
|
|
|
453
456
|
defaultPageSize?: number;
|
|
454
457
|
};
|
|
455
458
|
|
|
459
|
+
declare type TabsSchema = {
|
|
460
|
+
key: string;
|
|
461
|
+
rulePath?: string;
|
|
462
|
+
onMounted?: string;
|
|
463
|
+
onActivated?: string;
|
|
464
|
+
tabProps?: TabsProps;
|
|
465
|
+
content: {
|
|
466
|
+
label: string;
|
|
467
|
+
url: string;
|
|
468
|
+
disabled?: boolean;
|
|
469
|
+
closable?: boolean;
|
|
470
|
+
}[];
|
|
471
|
+
btns: Array<{
|
|
472
|
+
key: string;
|
|
473
|
+
text: string;
|
|
474
|
+
onClick: string;
|
|
475
|
+
disabled: boolean;
|
|
476
|
+
hidden: boolean;
|
|
477
|
+
}>;
|
|
478
|
+
};
|
|
479
|
+
|
|
456
480
|
export declare type TemplateData = {
|
|
457
481
|
name: string;
|
|
458
482
|
schema: FormSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, ref as c, resolveComponent as m, openBlock as r, createBlock as n, normalizeProps as u, guardReactiveProps as _, withCtx as o, createElementVNode as l, toDisplayString as f, unref as t, normalizeClass as v, createCommentVNode as C, createVNode as d, Transition as h, withDirectives as w, vShow as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { defineComponent as p, ref as c, resolveComponent as m, openBlock as r, createBlock as n, normalizeProps as u, guardReactiveProps as _, withCtx as o, createElementVNode as l, toDisplayString as f, unref as t, normalizeClass as v, createCommentVNode as C, createVNode as d, Transition as h, withDirectives as w, vShow as k } from "vue";
|
|
2
|
+
import { _ as $, a as b, b as y } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Card",
|
|
@@ -16,7 +16,7 @@ const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
|
16
16
|
header: o(() => [
|
|
17
17
|
l("div", B, [
|
|
18
18
|
l("span", null, f(a.header), 1),
|
|
19
|
-
a.collapsible ? (r(), n(t(
|
|
19
|
+
a.collapsible ? (r(), n(t($), {
|
|
20
20
|
key: 0,
|
|
21
21
|
name: "dropdown",
|
|
22
22
|
onClick: s[0] || (s[0] = (V) => e.value = !e.value),
|
|
@@ -28,9 +28,9 @@ const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
|
28
28
|
d(h, { name: "collapse" }, {
|
|
29
29
|
default: o(() => [
|
|
30
30
|
w(l("div", null, [
|
|
31
|
-
d(t(
|
|
31
|
+
d(t(b), { list: a.children }, null, 8, ["list"])
|
|
32
32
|
], 512), [
|
|
33
|
-
[
|
|
33
|
+
[k, !e.value]
|
|
34
34
|
])
|
|
35
35
|
]),
|
|
36
36
|
_: 1
|
|
@@ -40,7 +40,7 @@ const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
|
40
40
|
}, 16);
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
}), P = /* @__PURE__ */ y(E, [["__scopeId", "data-v-
|
|
43
|
+
}), P = /* @__PURE__ */ y(E, [["__scopeId", "data-v-d6651ef4"]]);
|
|
44
44
|
export {
|
|
45
45
|
P as default
|
|
46
46
|
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as f, mergeModels as g, useModel as v, inject as d, resolveComponent as M, openBlock as C, createBlock as h, mergeProps as y, unref as u } from "vue";
|
|
2
|
+
import "element-plus";
|
|
3
|
+
import { u as V } from "./useSelect-CbmMfUqn.js";
|
|
4
|
+
const k = /* @__PURE__ */ f({
|
|
5
|
+
__name: "Cascader",
|
|
6
|
+
props: /* @__PURE__ */ g({
|
|
7
|
+
options: { default: () => [] },
|
|
8
|
+
multiple: { type: Boolean, default: !1 },
|
|
9
|
+
mode: { default: "static" },
|
|
10
|
+
labelKey: { default: "label" },
|
|
11
|
+
valueKey: { default: "value" },
|
|
12
|
+
disabledKey: {},
|
|
13
|
+
apiParams: {},
|
|
14
|
+
dependentFields: {},
|
|
15
|
+
name: { default: "" },
|
|
16
|
+
onChange: {}
|
|
17
|
+
}, {
|
|
18
|
+
modelValue: {},
|
|
19
|
+
modelModifiers: {}
|
|
20
|
+
}),
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(o) {
|
|
23
|
+
const l = o, a = v(o, "modelValue"), n = d("ruleModule", void 0), s = d("pageMethodMap", {}), p = (e) => {
|
|
24
|
+
l.onChange && n && n[l.onChange](s, e);
|
|
25
|
+
}, { currentOptions: r, loading: m } = V(l);
|
|
26
|
+
return (e, t) => {
|
|
27
|
+
const i = M("el-cascader");
|
|
28
|
+
return C(), h(i, y({
|
|
29
|
+
modelValue: a.value,
|
|
30
|
+
"onUpdate:modelValue": t[0] || (t[0] = (c) => a.value = c),
|
|
31
|
+
options: u(r),
|
|
32
|
+
loading: u(m),
|
|
33
|
+
props: {
|
|
34
|
+
multiple: e.multiple,
|
|
35
|
+
label: e.labelKey,
|
|
36
|
+
value: e.valueKey
|
|
37
|
+
}
|
|
38
|
+
}, e.$attrs, { onChange: p }), null, 16, ["modelValue", "options", "loading", "props"]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
k as default
|
|
44
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as w, mergeModels as B, useModel as D, watch as
|
|
1
|
+
import { defineComponent as w, mergeModels as B, useModel as D, watch as F, resolveComponent as u, resolveDirective as M, unref as a, openBlock as l, createElementBlock as n, toDisplayString as I, Fragment as d, createCommentVNode as i, withDirectives as P, createBlock as s, mergeProps as S, withCtx as f, renderList as h } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
const
|
|
3
|
+
import { u as j } from "./index-09dr6bnU.js";
|
|
4
|
+
import { u as E } from "./useSelect-CbmMfUqn.js";
|
|
5
|
+
const L = { key: 0 }, N = {
|
|
6
6
|
key: 0,
|
|
7
7
|
style: { "font-size": "12px" }
|
|
8
8
|
}, A = /* @__PURE__ */ w({
|
|
@@ -13,7 +13,8 @@ const N = { key: 0 }, O = {
|
|
|
13
13
|
labelKey: { default: "label" },
|
|
14
14
|
valueKey: { default: "value" },
|
|
15
15
|
disabledKey: {},
|
|
16
|
-
|
|
16
|
+
apiParams: {},
|
|
17
|
+
dependentFields: {},
|
|
17
18
|
name: { default: "" },
|
|
18
19
|
onChange: {},
|
|
19
20
|
optionType: { default: "circle" },
|
|
@@ -25,16 +26,16 @@ const N = { key: 0 }, O = {
|
|
|
25
26
|
}),
|
|
26
27
|
emits: ["update:modelValue"],
|
|
27
28
|
setup(p) {
|
|
28
|
-
const k = p, t = D(p, "modelValue"), g =
|
|
29
|
-
return
|
|
29
|
+
const k = p, t = D(p, "modelValue"), g = j(), { currentOptions: r, selectChange: c, loading: m } = E(k);
|
|
30
|
+
return F(t, c), (e, y) => {
|
|
30
31
|
var b;
|
|
31
|
-
const K = u("el-checkbox"), C = u("el-checkbox-button"), _ = u("el-space"), V = u("el-checkbox-group"), z =
|
|
32
|
-
return a(g).read ? (l(), n("div",
|
|
32
|
+
const K = u("el-checkbox"), C = u("el-checkbox-button"), _ = u("el-space"), V = u("el-checkbox-group"), z = M("loading");
|
|
33
|
+
return a(g).read ? (l(), n("div", L, I((b = t.value) == null ? void 0 : b.map((o) => {
|
|
33
34
|
var v;
|
|
34
35
|
return (v = a(r).find((T) => T[e.valueKey] === o)) == null ? void 0 : v[e.labelKey];
|
|
35
36
|
}).join("、")), 1)) : (l(), n(d, { key: 1 }, [
|
|
36
|
-
!a(r).length && !a(m) ? (l(), n("div",
|
|
37
|
-
|
|
37
|
+
!a(r).length && !a(m) ? (l(), n("div", N, "暂无选项")) : i("", !0),
|
|
38
|
+
P((l(), s(V, S(e.$attrs, {
|
|
38
39
|
modelValue: t.value,
|
|
39
40
|
"onUpdate:modelValue": y[0] || (y[0] = (o) => t.value = o),
|
|
40
41
|
onChange: a(c)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
|
|
2
|
-
import { a as y } from "./index-
|
|
2
|
+
import { a as y } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
|
|
2
2
|
import { ElMessage as M, ElMessageBox as N } from "element-plus";
|
|
3
|
-
import { _ as f } from "./index-
|
|
3
|
+
import { _ as f } from "./index-09dr6bnU.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as a, mergeModels as s, useModel as i, resolveComponent as d, unref as p, openBlock as t, createElementBlock as c, toDisplayString as f, createBlock as _, mergeProps as v } from "vue";
|
|
2
|
+
import { u as V } from "./index-09dr6bnU.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const k = { key: 0 }, C = /* @__PURE__ */ a({
|
|
5
|
+
__name: "Component",
|
|
6
|
+
props: /* @__PURE__ */ s({
|
|
7
|
+
min: {}
|
|
8
|
+
}, {
|
|
9
|
+
modelValue: {},
|
|
10
|
+
modelModifiers: {}
|
|
11
|
+
}),
|
|
12
|
+
emits: ["update:modelValue"],
|
|
13
|
+
setup(l) {
|
|
14
|
+
const e = i(l, "modelValue"), m = V();
|
|
15
|
+
return (o, n) => {
|
|
16
|
+
const r = d("el-input-number");
|
|
17
|
+
return p(m).read ? (t(), c("div", k, f(e.value), 1)) : (t(), _(r, v({ key: 1 }, o.$attrs, {
|
|
18
|
+
modelValue: e.value,
|
|
19
|
+
"onUpdate:modelValue": n[0] || (n[0] = (u) => e.value = u),
|
|
20
|
+
style: { width: "100%" },
|
|
21
|
+
min: o.min || 0
|
|
22
|
+
}), null, 16, ["modelValue", "min"]));
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
C as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineComponent as n, resolveComponent as t, openBlock as r, createBlock as p, normalizeProps as a, guardReactiveProps as c } from "vue";
|
|
2
|
+
const m = /* @__PURE__ */ n({
|
|
3
|
+
__name: "Component",
|
|
4
|
+
setup(s) {
|
|
5
|
+
return (e, _) => {
|
|
6
|
+
const o = t("el-tree");
|
|
7
|
+
return r(), p(o, a(c(e.$attrs)), null, 16);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
m as default
|
|
13
|
+
};
|
|
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
|
|
|
2
2
|
var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
|
|
5
|
-
import { u as b, b as x } from "./index-
|
|
5
|
+
import { u as b, b as x } from "./index-09dr6bnU.js";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
function S() {
|
|
8
8
|
return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
|
|
@@ -111,7 +111,7 @@ const P = { class: "vfc-verify-code" }, k = /* @__PURE__ */ g({
|
|
|
111
111
|
]);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), T = /* @__PURE__ */ x(k, [["__scopeId", "data-v-
|
|
114
|
+
}), T = /* @__PURE__ */ x(k, [["__scopeId", "data-v-eda48825"]]);
|
|
115
115
|
export {
|
|
116
116
|
T as default
|
|
117
117
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
|
|
2
|
-
import { u as V } from "./index-
|
|
2
|
+
import { u as V } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
|
|
2
|
-
import { b as H, u as K, c as Q } from "./index-
|
|
2
|
+
import { b as H, u as K, c as Q } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -172,7 +172,7 @@ function j(a, n, c, d, t, g) {
|
|
|
172
172
|
onTouchend: n[5] || (n[5] = (...o) => a.touchEnd && a.touchEnd(...o))
|
|
173
173
|
}, null, 544);
|
|
174
174
|
}
|
|
175
|
-
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-
|
|
175
|
+
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-5f3bfcf7"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
|
|
176
176
|
key: 1,
|
|
177
177
|
class: "vfc-esign"
|
|
178
178
|
}, ie = /* @__PURE__ */ $({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as
|
|
2
|
-
import { b as i } from "./index-
|
|
1
|
+
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
|
|
2
|
+
import { b as i } from "./index-09dr6bnU.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -12,15 +12,15 @@ const f = {
|
|
|
12
12
|
modelModifiers: {}
|
|
13
13
|
}),
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(
|
|
16
|
-
const o = p(
|
|
17
|
-
return (e, m) => e.componentName ? (t(), d(
|
|
15
|
+
setup(a) {
|
|
16
|
+
const o = p(a, "modelValue");
|
|
17
|
+
return (e, m) => e.componentName ? (t(), u(d(e.componentName), c({
|
|
18
18
|
key: 1,
|
|
19
19
|
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
20
|
+
"onUpdate:modelValue": m[0] || (m[0] = (l) => o.value = l)
|
|
21
21
|
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", f, "请输入全局注册得组件名"));
|
|
22
22
|
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-
|
|
23
|
+
}), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-a013b8cf"]]);
|
|
24
24
|
export {
|
|
25
25
|
v as default
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
|
|
2
|
-
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-
|
|
2
|
+
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
|
|
5
5
|
__name: "FormList",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, computed as n, openBlock as a, createBlock as m, unref as p, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as i } from "./index-
|
|
2
|
+
import { a as i } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const g = /* @__PURE__ */ t({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as p, createBlock as r, unref as i, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as c, b as f } from "./index-
|
|
2
|
+
import { a as c, b as f } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const m = /* @__PURE__ */ a({
|
|
5
5
|
__name: "Inline",
|
|
@@ -24,7 +24,7 @@ const m = /* @__PURE__ */ a({
|
|
|
24
24
|
list: o.children
|
|
25
25
|
}, null, 8, ["style", "list"]));
|
|
26
26
|
}
|
|
27
|
-
}), x = /* @__PURE__ */ f(m, [["__scopeId", "data-v-
|
|
27
|
+
}), x = /* @__PURE__ */ f(m, [["__scopeId", "data-v-71754ec0"]]);
|
|
28
28
|
export {
|
|
29
29
|
x as default
|
|
30
30
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
|
|
2
|
-
import { b as xt, g as Nt } from "./index-
|
|
2
|
+
import { b as xt, g as Nt } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -12,7 +12,7 @@ const Mt = /* @__PURE__ */ At({
|
|
|
12
12
|
It(Je.$slots, "default", {}, void 0, !0)
|
|
13
13
|
], 16)) : It(Je.$slots, "default", { key: 1 }, void 0, !0);
|
|
14
14
|
}
|
|
15
|
-
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-
|
|
15
|
+
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-f3803727"]]);
|
|
16
16
|
var kt = { exports: {} };
|
|
17
17
|
/*!
|
|
18
18
|
* jsoneditor.js
|
|
@@ -16350,7 +16350,7 @@ function Ft(je, Je, Xe, et, qe, ae) {
|
|
|
16350
16350
|
}, null, 2)
|
|
16351
16351
|
], 2);
|
|
16352
16352
|
}
|
|
16353
|
-
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-
|
|
16353
|
+
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-c53d52f1"]]), jt = /* @__PURE__ */ At({
|
|
16354
16354
|
inheritAttrs: !1,
|
|
16355
16355
|
__name: "JsonEdit",
|
|
16356
16356
|
props: /* @__PURE__ */ Tt({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
|
|
2
|
-
import { u as j, d as h, e as k } from "./index-
|
|
2
|
+
import { u as j, d as h, e as k } from "./index-09dr6bnU.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as o, openBlock as l, createElementBlock as d, toDisplayString as F, Fragment as f, createCommentVNode as N, withDirectives as I, createBlock as y, mergeProps as k, withCtx as C, createVNode as P, renderList as M } from "vue";
|
|
2
|
+
import { u as $ } from "./index-09dr6bnU.js";
|
|
3
|
+
import { u as j } from "./useSelect-CbmMfUqn.js";
|
|
4
|
+
const E = { key: 0 }, L = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "font-size": "12px" }
|
|
7
7
|
}, q = /* @__PURE__ */ B({
|
|
@@ -12,7 +12,8 @@ const L = { key: 0 }, O = {
|
|
|
12
12
|
labelKey: { default: "label" },
|
|
13
13
|
valueKey: { default: "value" },
|
|
14
14
|
disabledKey: { default: "disabled" },
|
|
15
|
-
|
|
15
|
+
apiParams: {},
|
|
16
|
+
dependentFields: {},
|
|
16
17
|
name: { default: "" },
|
|
17
18
|
onChange: {},
|
|
18
19
|
optionType: { default: "circle" },
|
|
@@ -24,36 +25,36 @@ const L = { key: 0 }, O = {
|
|
|
24
25
|
}),
|
|
25
26
|
emits: ["update:modelValue"],
|
|
26
27
|
setup(v) {
|
|
27
|
-
const r = v, p = T(v, "modelValue"), c =
|
|
28
|
+
const r = v, p = T(v, "modelValue"), c = $(), b = h("ruleModule", void 0), V = h("pageMethodMap", {}), _ = (e) => {
|
|
28
29
|
const { valueKey: u = "value", name: i } = r;
|
|
29
30
|
let t = {};
|
|
30
31
|
t = n.value.find((m) => m[u] === e) || {}, c.selectData && i && c.updateSelectData(i, t), r.onChange && b && b[r.onChange](V, e, t);
|
|
31
|
-
}, { currentOptions: n, loading: g } =
|
|
32
|
+
}, { currentOptions: n, loading: g } = j(r);
|
|
32
33
|
return (e, u) => {
|
|
33
34
|
var K;
|
|
34
35
|
const i = s("el-radio"), t = s("el-radio-button"), m = s("el-space"), D = s("el-radio-group"), z = w("loading");
|
|
35
|
-
return
|
|
36
|
-
!
|
|
37
|
-
I((
|
|
36
|
+
return o(c).read ? (l(), d("div", E, F((K = o(n).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : K[e.labelKey]), 1)) : (l(), d(f, { key: 1 }, [
|
|
37
|
+
!o(n).length && !o(g) ? (l(), d("div", L, "暂无选项")) : N("", !0),
|
|
38
|
+
I((l(), y(D, k({
|
|
38
39
|
modelValue: p.value,
|
|
39
40
|
"onUpdate:modelValue": u[0] || (u[0] = (a) => p.value = a),
|
|
40
41
|
onChange: _
|
|
41
42
|
}, e.$attrs), {
|
|
42
43
|
default: C(() => [
|
|
43
|
-
|
|
44
|
+
P(m, {
|
|
44
45
|
wrap: "",
|
|
45
46
|
direction: e.direction,
|
|
46
47
|
size: [e.space, e.space],
|
|
47
48
|
alignment: "normal"
|
|
48
49
|
}, {
|
|
49
50
|
default: C(() => [
|
|
50
|
-
e.optionType === "circle" || e.optionType === "border" ? (
|
|
51
|
+
e.optionType === "circle" || e.optionType === "border" ? (l(!0), d(f, { key: 0 }, M(o(n), (a) => (l(), y(i, {
|
|
51
52
|
key: a[e.valueKey],
|
|
52
53
|
label: a[e.labelKey],
|
|
53
54
|
value: a[e.valueKey],
|
|
54
55
|
disabled: a[e.disabledKey],
|
|
55
56
|
border: e.optionType === "border"
|
|
56
|
-
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (
|
|
57
|
+
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (l(!0), d(f, { key: 1 }, M(o(n), (a) => (l(), y(t, k({
|
|
57
58
|
key: a[e.valueKey],
|
|
58
59
|
label: a[e.labelKey],
|
|
59
60
|
value: a[e.valueKey],
|
|
@@ -66,7 +67,7 @@ const L = { key: 0 }, O = {
|
|
|
66
67
|
]),
|
|
67
68
|
_: 1
|
|
68
69
|
}, 16, ["modelValue"])), [
|
|
69
|
-
[z,
|
|
70
|
+
[z, o(g)]
|
|
70
71
|
])
|
|
71
72
|
], 64));
|
|
72
73
|
};
|