asiaint-lowcode 2.0.6 → 3.0.1
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 +132 -132
- package/dist/index.d.ts +63 -35
- package/dist/lazy/{Card-Br9_6h4Z.js → Card-Dsd1ydt8.js} +6 -6
- package/dist/lazy/Cascader-D8pYveJW.js +44 -0
- package/dist/lazy/{Checkbox-CqO1-QlM.js → Checkbox-DmNO76gt.js} +12 -11
- package/dist/lazy/{Collapse-C8nFsrOL.js → Collapse-DahOWaTk.js} +1 -1
- package/dist/lazy/Component-BftgSxpa.js +13 -0
- package/dist/lazy/{Component-CV0LZLKE.js → Component-C1EGoisS.js} +1 -1
- package/dist/lazy/{Component-af_9m360.js → Component-D08n0RnK.js} +1 -1
- package/dist/lazy/{Component-DP7iB6BT.js → Component-DQcpUpZd.js} +2 -2
- package/dist/lazy/{Component-DG-QKg64.js → Component-DT5ozzlx.js} +2 -2
- package/dist/lazy/Component-DvJBRtpM.js +28 -0
- package/dist/lazy/{Custom-Dk1Nr81h.js → Custom-BVgwtYPa.js} +7 -7
- package/dist/lazy/{DatePicker-C_h8PGuz.js → DatePicker-Ll1tF6zR.js} +1 -1
- package/dist/lazy/{FormList-ciHaSsZN.js → FormList-DPko3piR.js} +1 -1
- package/dist/lazy/{Grid-CZxpbowk.js → Grid-C1DCBRVh.js} +1 -1
- package/dist/lazy/{Inline-Bnp-p-3I.js → Inline-C_WTGbGy.js} +2 -2
- package/dist/lazy/{JsonEdit-B4yGMT6R.js → JsonEdit-C79HaljB.js} +3 -3
- package/dist/lazy/{ObjGroup-CipzGSLC.js → ObjGroup-B8XE-sZH.js} +1 -1
- package/dist/lazy/{Radio-C6gBFA3u.js → Radio-W5d4ZrBI.js} +15 -14
- package/dist/lazy/{SearchSelect-CbeuYE7W.js → SearchSelect-BsBXbAx_.js} +12 -11
- package/dist/lazy/{Select-LDWGwp2E.js → Select-COqlMsmt.js} +15 -14
- package/dist/lazy/{Tabs-BOvsls22.js → Tabs-CT8toQRa.js} +1 -1
- package/dist/lazy/{TextArea-D2Jmk5Mf.js → TextArea-N0w87ek_.js} +1 -1
- package/dist/lazy/{index-CqzCIPnG.js → index-DuQxCd3z.js} +6054 -5836
- package/dist/lazy/useSelect-DdH13YK3.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,12 +8,14 @@ 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>;
|
|
14
15
|
|
|
15
16
|
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
16
17
|
modelValue: PropType<Record<string, any>>;
|
|
18
|
+
realValues: PropType<Record<string, any>>;
|
|
17
19
|
schema: PropType<FormSchema>;
|
|
18
20
|
schemaContext: {
|
|
19
21
|
type: PropType<Record<string, any>>;
|
|
@@ -32,6 +34,7 @@ type: PropType<string>;
|
|
|
32
34
|
};
|
|
33
35
|
}>, {
|
|
34
36
|
formValues: Record<string, any>;
|
|
37
|
+
formRealValues: Record<string, any>;
|
|
35
38
|
selectData: Record<string, Record<string, any>>;
|
|
36
39
|
initialValues: Record<string, any>;
|
|
37
40
|
context: {
|
|
@@ -49,6 +52,7 @@ resetFields: (names?: string[]) => void;
|
|
|
49
52
|
submit: () => void;
|
|
50
53
|
setDisabled: (disabled: boolean) => void;
|
|
51
54
|
findItemByName: (items: FormItemType[], name: string) => FormItemType | null;
|
|
55
|
+
setValue: (key: string, value: any, realValue: any) => void;
|
|
52
56
|
type: string;
|
|
53
57
|
schema: FormSchema;
|
|
54
58
|
schemaContext: Record<string, any>;
|
|
@@ -66,6 +70,7 @@ field?: string;
|
|
|
66
70
|
}[]) => void;
|
|
67
71
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
68
72
|
modelValue: PropType<Record<string, any>>;
|
|
73
|
+
realValues: PropType<Record<string, any>>;
|
|
69
74
|
schema: PropType<FormSchema>;
|
|
70
75
|
schemaContext: {
|
|
71
76
|
type: PropType<Record<string, any>>;
|
|
@@ -92,16 +97,32 @@ field?: string;
|
|
|
92
97
|
}[]) => any) | undefined;
|
|
93
98
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
94
99
|
|
|
95
|
-
declare
|
|
100
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
101
|
+
ruleMap: Record<string, any>;
|
|
102
|
+
pageUrl?: string;
|
|
103
|
+
pageParams?: any;
|
|
104
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
105
|
+
done: (...args: any[]) => void;
|
|
106
|
+
refresh: (...args: any[]) => void;
|
|
107
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
108
|
+
ruleMap: Record<string, any>;
|
|
109
|
+
pageUrl?: string;
|
|
110
|
+
pageParams?: any;
|
|
111
|
+
}>>> & Readonly<{
|
|
112
|
+
onDone?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
96
115
|
|
|
97
|
-
declare type
|
|
98
|
-
[K in keyof T]: T[K];
|
|
99
|
-
} & {};
|
|
116
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
117
|
|
|
101
118
|
declare function __VLS_template(): {
|
|
102
119
|
default?(_: {}): any;
|
|
103
120
|
};
|
|
104
121
|
|
|
122
|
+
declare function __VLS_template_2(): {
|
|
123
|
+
loading?(_: {}): any;
|
|
124
|
+
};
|
|
125
|
+
|
|
105
126
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
106
127
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
107
128
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
@@ -111,13 +132,13 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
111
132
|
};
|
|
112
133
|
};
|
|
113
134
|
|
|
114
|
-
declare type
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
135
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
136
|
+
new (): {
|
|
137
|
+
$slots: S;
|
|
138
|
+
};
|
|
118
139
|
};
|
|
119
140
|
|
|
120
|
-
declare type
|
|
141
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
121
142
|
new (): {
|
|
122
143
|
$slots: S;
|
|
123
144
|
};
|
|
@@ -293,10 +314,12 @@ declare type Locale = {
|
|
|
293
314
|
};
|
|
294
315
|
};
|
|
295
316
|
|
|
296
|
-
declare type Options = {
|
|
297
|
-
request?: (options: Record<string, any>) => Promise<Record<string, any>>;
|
|
317
|
+
export declare type Options = {
|
|
298
318
|
extendElements?: Record<string, FormElement>;
|
|
299
319
|
lang?: 'zh' | 'en';
|
|
320
|
+
navigateFn?: (path: string) => void;
|
|
321
|
+
fetchSchemaFn?: (path: string) => Promise<PageSchema>;
|
|
322
|
+
fetchOptionsFn?: (params: any) => Promise<any>;
|
|
300
323
|
};
|
|
301
324
|
|
|
302
325
|
export declare type PageMethods = {
|
|
@@ -310,31 +333,10 @@ export declare type PageMethods = {
|
|
|
310
333
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
311
334
|
getPageParams: () => any;
|
|
312
335
|
setHidden: (key: string, hiddenState: boolean) => void;
|
|
336
|
+
setBtnHidden: (key: string, hiddenState: boolean) => void;
|
|
313
337
|
};
|
|
314
338
|
|
|
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>;
|
|
339
|
+
export declare const PageRender: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, ReturnType<typeof __VLS_template_2>>;
|
|
338
340
|
|
|
339
341
|
declare type PageSchema = {
|
|
340
342
|
key: string;
|
|
@@ -347,13 +349,16 @@ declare type PageSchema = {
|
|
|
347
349
|
} | {
|
|
348
350
|
type: 'table';
|
|
349
351
|
schema: TableSchema;
|
|
352
|
+
} | {
|
|
353
|
+
type: 'tabs';
|
|
354
|
+
schema: TabsSchema;
|
|
350
355
|
}>;
|
|
351
356
|
btns: Array<{
|
|
352
357
|
key: string;
|
|
353
358
|
text: string;
|
|
354
359
|
onClick: string;
|
|
355
360
|
disabled: boolean;
|
|
356
|
-
|
|
361
|
+
hidden: boolean;
|
|
357
362
|
}>;
|
|
358
363
|
};
|
|
359
364
|
|
|
@@ -408,6 +413,7 @@ pageSize: number;
|
|
|
408
413
|
};
|
|
409
414
|
isChange: boolean;
|
|
410
415
|
};
|
|
416
|
+
setTopBtnHidden: (btnKey: string, hidden: boolean) => void;
|
|
411
417
|
type: string;
|
|
412
418
|
design: boolean;
|
|
413
419
|
read: boolean;
|
|
@@ -438,6 +444,7 @@ declare type TableSchema = {
|
|
|
438
444
|
showDynamicSearch?: boolean;
|
|
439
445
|
multipleSelection?: boolean;
|
|
440
446
|
highlightCurrentRow?: boolean;
|
|
447
|
+
['highlight-current-row']?: boolean;
|
|
441
448
|
rowClick?: string;
|
|
442
449
|
rowDbClick?: string;
|
|
443
450
|
sizeChange?: string;
|
|
@@ -453,6 +460,27 @@ declare type TableSchema = {
|
|
|
453
460
|
defaultPageSize?: number;
|
|
454
461
|
};
|
|
455
462
|
|
|
463
|
+
declare type TabsSchema = {
|
|
464
|
+
key: string;
|
|
465
|
+
rulePath?: string;
|
|
466
|
+
onMounted?: string;
|
|
467
|
+
onActivated?: string;
|
|
468
|
+
tabProps?: TabsProps;
|
|
469
|
+
content: {
|
|
470
|
+
label: string;
|
|
471
|
+
url: string;
|
|
472
|
+
disabled?: boolean;
|
|
473
|
+
closable?: boolean;
|
|
474
|
+
}[];
|
|
475
|
+
btns: Array<{
|
|
476
|
+
key: string;
|
|
477
|
+
text: string;
|
|
478
|
+
onClick: string;
|
|
479
|
+
disabled: boolean;
|
|
480
|
+
hidden: boolean;
|
|
481
|
+
}>;
|
|
482
|
+
};
|
|
483
|
+
|
|
456
484
|
export declare type TemplateData = {
|
|
457
485
|
name: string;
|
|
458
486
|
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-DuQxCd3z.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-DdH13YK3.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-DuQxCd3z.js";
|
|
4
|
+
import { u as E } from "./useSelect-DdH13YK3.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-DuQxCd3z.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({
|
|
@@ -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
|
+
};
|
|
@@ -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-DuQxCd3z.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -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-DuQxCd3z.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -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-DuQxCd3z.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 $, 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-DuQxCd3z.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__ */ $({
|
|
@@ -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-DuQxCd3z.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
|
+
};
|
|
@@ -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-DuQxCd3z.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-DuQxCd3z.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-DuQxCd3z.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-DuQxCd3z.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-DuQxCd3z.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-DuQxCd3z.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-DuQxCd3z.js";
|
|
3
|
+
import { u as j } from "./useSelect-DdH13YK3.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
|
};
|