asiaint-lowcode 2.0.2 → 2.0.4
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/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +82 -82
- package/dist/index.d.ts +16 -6
- package/dist/lazy/{Card-op6i_z8G.js → Card-Dcn28M7-.js} +1 -1
- package/dist/lazy/{Cascader-cy25S0M_.js → Cascader-DKXHbqY5.js} +1 -1
- package/dist/lazy/{Checkbox-CQ56BycM.js → Checkbox-DkRSeZdE.js} +2 -2
- package/dist/lazy/{Collapse-DXETETv8.js → Collapse-C5oWjkGw.js} +1 -1
- package/dist/lazy/{Component-BEqoz5jH.js → Component-20CmdEoY.js} +1 -1
- package/dist/lazy/{Component-IxyabXCT.js → Component-BpDWn0PJ.js} +1 -1
- package/dist/lazy/{Component-BLahI--2.js → Component-C3iOMLQ9.js} +1 -1
- package/dist/lazy/{Component-C69_b7D6.js → Component-Chr2i4xA.js} +1 -1
- package/dist/lazy/{Component-CcwERaPj.js → Component-FJS2w051.js} +1 -1
- package/dist/lazy/{Custom-D7E3J-kY.js → Custom-CP3t6emp.js} +1 -1
- package/dist/lazy/{DatePicker-B565iRox.js → DatePicker-B0OAMA5j.js} +1 -1
- package/dist/lazy/{FormList-BAk7pGQ5.js → FormList-Cx7BvzZo.js} +1 -1
- package/dist/lazy/{Grid-CQ3I3JJA.js → Grid-DJA0_gLe.js} +1 -1
- package/dist/lazy/{Inline-DqNMJ75M.js → Inline-Bs2XUKfr.js} +1 -1
- package/dist/lazy/{JsonEdit-j4lAk68A.js → JsonEdit-LvBZnHBC.js} +1 -1
- package/dist/lazy/{ObjGroup-CKy7PIXn.js → ObjGroup-UTjXJBNB.js} +1 -1
- package/dist/lazy/{Radio-Cv3X53D3.js → Radio-BmGs93J_.js} +2 -2
- package/dist/lazy/{SearchSelect-BkYukJim.js → SearchSelect-c-P-dDlN.js} +2 -2
- package/dist/lazy/{Select-MM2rUOPj.js → Select-CY1qQ5wS.js} +2 -2
- package/dist/lazy/{Tabs-BVFfJAUT.js → Tabs-Cod5elIW.js} +1 -1
- package/dist/lazy/{TextArea-KNtWavU4.js → TextArea-ZVPdcGf-.js} +1 -1
- package/dist/lazy/{index-DoIvJXpY.js → index-CcwYdtXC.js} +2810 -2780
- package/dist/lazy/{useSelect-DkY4BS54.js → useSelect-B98nINM1.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -299,12 +299,13 @@ declare type Options = {
|
|
|
299
299
|
export declare type PageMethods = {
|
|
300
300
|
findRef: (key: string) => any;
|
|
301
301
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
302
|
-
validate: (keys: string[] | string) => Promise<
|
|
302
|
+
validate: (keys: string[] | string) => Promise<boolean>;
|
|
303
303
|
getData: (keys?: string[] | string) => any;
|
|
304
304
|
resetFields: (keys?: string[] | string) => void;
|
|
305
|
-
emit: (event: 'done' | 'refresh') => void;
|
|
306
|
-
setData: (key: string, dataModel: any, isAssign
|
|
305
|
+
emit: (event: 'done' | 'refresh', data?: any) => void;
|
|
306
|
+
setData: (key: string, dataModel: any, isAssign?: boolean) => void;
|
|
307
307
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
308
|
+
getPageParams: () => any;
|
|
308
309
|
setHidden: (key: string, hiddenState: boolean) => void;
|
|
309
310
|
};
|
|
310
311
|
|
|
@@ -312,17 +313,25 @@ export declare const PageRender: DefineComponent<ExtractPropTypes<__VLS_WithDefa
|
|
|
312
313
|
ruleMap: Record<string, any>;
|
|
313
314
|
pageSchema: PageSchema;
|
|
314
315
|
pageParams?: any;
|
|
315
|
-
|
|
316
|
+
previewMode?: boolean;
|
|
317
|
+
}>, {
|
|
318
|
+
previewMode: boolean;
|
|
319
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
316
320
|
done: (...args: any[]) => void;
|
|
317
321
|
refresh: (...args: any[]) => void;
|
|
318
322
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
319
323
|
ruleMap: Record<string, any>;
|
|
320
324
|
pageSchema: PageSchema;
|
|
321
325
|
pageParams?: any;
|
|
322
|
-
|
|
326
|
+
previewMode?: boolean;
|
|
327
|
+
}>, {
|
|
328
|
+
previewMode: boolean;
|
|
329
|
+
}>>> & Readonly<{
|
|
323
330
|
onDone?: ((...args: any[]) => any) | undefined;
|
|
324
331
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
325
|
-
}>, {
|
|
332
|
+
}>, {
|
|
333
|
+
previewMode: boolean;
|
|
334
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
326
335
|
|
|
327
336
|
declare type PageSchema = {
|
|
328
337
|
key: string;
|
|
@@ -436,6 +445,7 @@ declare type TableSchema = {
|
|
|
436
445
|
form?: FormSchema;
|
|
437
446
|
hidden?: boolean;
|
|
438
447
|
hiddenPagination?: boolean;
|
|
448
|
+
handleCurrentChange?: string;
|
|
439
449
|
};
|
|
440
450
|
|
|
441
451
|
export declare type TemplateData = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 b } from "vue";
|
|
2
|
-
import { _ as k, a as $, b as y } from "./index-
|
|
2
|
+
import { _ as k, a as $, b as y } from "./index-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Card",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, mergeModels as i, useModel as c, resolveComponent as f, openBlock as g, createBlock as v, mergeProps as C, unref as l } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as y } from "./useSelect-
|
|
3
|
+
import { u as y } from "./useSelect-B98nINM1.js";
|
|
4
4
|
const h = /* @__PURE__ */ m({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ i({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as B, useModel as D, watch as M, resolveComponent as u, resolveDirective as F, unref as a, openBlock as l, createElementBlock as n, toDisplayString as I, Fragment as d, createCommentVNode as i, withDirectives as S, createBlock as s, mergeProps as j, withCtx as f, renderList as h } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as E } from "./index-
|
|
4
|
-
import { u as L } from "./useSelect-
|
|
3
|
+
import { u as E } from "./index-CcwYdtXC.js";
|
|
4
|
+
import { u as L } from "./useSelect-B98nINM1.js";
|
|
5
5
|
const N = { key: 0 }, O = {
|
|
6
6
|
key: 0,
|
|
7
7
|
style: { "font-size": "12px" }
|
|
@@ -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-CcwYdtXC.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,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-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, useModel as s, resolveComponent as p, unref as d, openBlock as n, createElementBlock as i, toDisplayString as c, createBlock as _, mergeProps as f } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const V = { key: 0 }, C = /* @__PURE__ */ a({
|
|
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-CcwYdtXC.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(",");
|
|
@@ -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-CcwYdtXC.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-CcwYdtXC.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 n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
-
import { b as i } from "./index-
|
|
2
|
+
import { b as i } from "./index-CcwYdtXC.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -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-CcwYdtXC.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-CcwYdtXC.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-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const m = /* @__PURE__ */ a({
|
|
5
5
|
__name: "Inline",
|
|
@@ -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-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -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-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as l, openBlock as o, createElementBlock as d, toDisplayString as N, Fragment as f, createCommentVNode as F, withDirectives as I, createBlock as y, mergeProps as k, withCtx as C, createVNode as $, renderList as M } from "vue";
|
|
2
|
-
import { u as j } from "./index-
|
|
3
|
-
import { u as E } from "./useSelect-
|
|
2
|
+
import { u as j } from "./index-CcwYdtXC.js";
|
|
3
|
+
import { u as E } from "./useSelect-B98nINM1.js";
|
|
4
4
|
const L = { key: 0 }, O = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "font-size": "12px" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as A, useModel as I, inject as S, resolveComponent as b, resolveDirective as N, unref as n, openBlock as a, createElementBlock as u, toDisplayString as v, withDirectives as j, createBlock as k, mergeProps as F, withCtx as y, Fragment as $, renderList as E, createTextVNode as L, createVNode as C } from "vue";
|
|
2
|
-
import { u as O, _ as P, b as T } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as O, _ as P, b as T } from "./index-CcwYdtXC.js";
|
|
3
|
+
import { u as U } from "./useSelect-B98nINM1.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, mergeModels as B, useModel as S, inject as g, resolveComponent as K, resolveDirective as A, unref as i, openBlock as t, createElementBlock as p, toDisplayString as f, withDirectives as j, createBlock as h, mergeProps as w, withCtx as M, Fragment as F, renderList as I, createTextVNode as N } from "vue";
|
|
2
|
-
import { u as E } from "./index-
|
|
3
|
-
import { u as L } from "./useSelect-
|
|
2
|
+
import { u as E } from "./index-CcwYdtXC.js";
|
|
3
|
+
import { u as L } from "./useSelect-B98nINM1.js";
|
|
4
4
|
const O = { key: 0 }, P = { key: 0 }, T = { key: 1 }, z = /* @__PURE__ */ _({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ B({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
|
|
2
|
-
import { a as V } from "./index-
|
|
2
|
+
import { a as V } from "./index-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Tabs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, useModel as s, resolveComponent as p, unref as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as f, mergeProps as _ } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-CcwYdtXC.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const V = { key: 0 }, B = /* @__PURE__ */ u({
|
|
5
5
|
__name: "TextArea",
|