asiaint-lowcode 3.1.134 → 3.1.136
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.d.ts +46 -22
- package/dist/asiaint-lowcode.js +12 -10
- package/dist/asiaint-lowcode.umd.cjs +132 -132
- package/dist/lazy/{Card-WA7Uj4cx.js → Card-_QHrWfh1.js} +1 -1
- package/dist/lazy/{Cascader-B-UeeVHL.js → Cascader-CSS81vHb.js} +1 -1
- package/dist/lazy/{Checkbox-CGcO_Htt.js → Checkbox-DAApla45.js} +2 -2
- package/dist/lazy/{Collapse-Cgvkkc-9.js → Collapse-_FkmzGfa.js} +1 -1
- package/dist/lazy/{Component-DPjsimjg.js → Component-BoTXYxC9.js} +1 -1
- package/dist/lazy/{Component-Dxh5wCS6.js → Component-CjoqXHaM.js} +1 -1
- package/dist/lazy/{Component-DQWpGlNq.js → Component-CopvG4ii.js} +1 -1
- package/dist/lazy/{Component-DYWOk5LB.js → Component-D3p0iztO.js} +1 -1
- package/dist/lazy/{Component-CY1Steni.js → Component-DA4fNiKb.js} +1 -1
- package/dist/lazy/{CurdCard-BXsmNZnL.js → CurdCard-CwkoYUjU.js} +1 -1
- package/dist/lazy/{Custom-gVHhSrcd.js → Custom-CkS4wS5a.js} +1 -1
- package/dist/lazy/{DatePicker-bR07n3OD.js → DatePicker-CTscM3QD.js} +1 -1
- package/dist/lazy/{DragList-CnqAiOJi.js → DragList-Dnqi6G3I.js} +1 -1
- package/dist/lazy/{FilterSearch-Co2u0wYd.js → FilterSearch-BSpH-2Lv.js} +1 -1
- package/dist/lazy/{FloatCurd-TEMBpcSl.js → FloatCurd-ljGcmC6W.js} +1 -1
- package/dist/lazy/{FormList-BHLhNpLM.js → FormList-D7puBzTU.js} +1 -1
- package/dist/lazy/{Grid-Dx8rdSg_.js → Grid-Pn2z-cPo.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DIkKt9rd.js → InfiniteScroll-eztx5ree.js} +1 -1
- package/dist/lazy/{Inline-xx554hti.js → Inline-CegvT-Fd.js} +1 -1
- package/dist/lazy/{JsonEdit--yRq5WhK.js → JsonEdit-BDY-kDjg.js} +1 -1
- package/dist/lazy/{LogList-BHf7kcCE.js → LogList-CBkzwln7.js} +1 -1
- package/dist/lazy/{ObjGroup-Cvefls9a.js → ObjGroup-UBhz9TtW.js} +1 -1
- package/dist/lazy/{OfferDetails-B-EYVZ6r.js → OfferDetails-D4REtztW.js} +1 -1
- package/dist/lazy/{Pagination-rCVEVmnK.js → Pagination-D0VE2g-_.js} +1 -1
- package/dist/lazy/{Progress-BWWhoctK.js → Progress-YomjNyOG.js} +1 -1
- package/dist/lazy/{Radio-Bvmkg9OE.js → Radio-OBwJIsHr.js} +2 -2
- package/dist/lazy/{SearchSelect-C6YAFByX.js → SearchSelect-D0WS8DvA.js} +2 -2
- package/dist/lazy/{Select-BFzHnLt4.js → Select-DdU6S88e.js} +2 -2
- package/dist/lazy/{Table-CGkPFggT.js → Table-CkRwW1pF.js} +26 -26
- package/dist/lazy/{Tabs-D7-jF3Zz.js → Tabs-YodEJRwl.js} +10 -10
- package/dist/lazy/{TextArea-CnkytFP5.js → TextArea-Gyze6BKD.js} +1 -1
- package/dist/lazy/{Wrapper-CDdnHSeX.js → Wrapper-DebHZiUt.js} +1 -1
- package/dist/lazy/{index-k1W7U8t9.js → index-Cg69BrL8.js} +3321 -3311
- package/dist/lazy/{useSelect-SzWHDdfP.js → useSelect--vt9GSVO.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -4,10 +4,12 @@ import { ComponentOptionsMixin } from 'vue';
|
|
|
4
4
|
import { ComponentProvideOptions } from 'vue';
|
|
5
5
|
import { ComponentPublicInstance } from 'vue';
|
|
6
6
|
import { DeepReadonly } from 'vue';
|
|
7
|
+
import { default as default_2 } from 'element-plus/es/components/tree/src/model/node';
|
|
7
8
|
import { DefineComponent } from 'vue';
|
|
8
9
|
import { ExtractPropTypes } from 'vue';
|
|
9
10
|
import { FormValidationResult } from 'element-plus';
|
|
10
11
|
import { InjectionKey } from 'vue';
|
|
12
|
+
import { LayoutItem } from 'grid-layout-plus';
|
|
11
13
|
import { ModelRef } from 'vue';
|
|
12
14
|
import { PropType } from 'vue';
|
|
13
15
|
import { PublicProps } from 'vue';
|
|
@@ -126,7 +128,7 @@ parentPageFun?: typeof methodMap;
|
|
|
126
128
|
}>>, {
|
|
127
129
|
activate: typeof activate;
|
|
128
130
|
ruleFunction: typeof ruleFunction;
|
|
129
|
-
findRef: <T extends keyof FindRefTypeMap
|
|
131
|
+
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
130
132
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
131
133
|
clearValidate: (key: string, names?: string | string[]) => void;
|
|
132
134
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
@@ -154,7 +156,7 @@ getGlobalParams: () => any;
|
|
|
154
156
|
setBtnState: setBtnStateFn;
|
|
155
157
|
setReadMode: (key: string, readMode: boolean) => void;
|
|
156
158
|
getParentPageFun: () => {
|
|
157
|
-
findRef: <T extends keyof FindRefTypeMap
|
|
159
|
+
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
158
160
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
159
161
|
clearValidate: (key: string, names?: string | string[]) => void;
|
|
160
162
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
@@ -394,10 +396,7 @@ declare const _default: {
|
|
|
394
396
|
export default _default;
|
|
395
397
|
|
|
396
398
|
declare const _default_10: DefineComponent<ExtractPropTypes< {
|
|
397
|
-
modelValue:
|
|
398
|
-
required: true;
|
|
399
|
-
type: PropType<ItemType[]>;
|
|
400
|
-
};
|
|
399
|
+
modelValue: PropType<ItemType[]>;
|
|
401
400
|
name: {
|
|
402
401
|
type: PropType<string>;
|
|
403
402
|
required: true;
|
|
@@ -418,6 +417,10 @@ selectAllChange: {
|
|
|
418
417
|
type: PropType<string>;
|
|
419
418
|
required: true;
|
|
420
419
|
};
|
|
420
|
+
defaultPageSize: {
|
|
421
|
+
type: PropType<number>;
|
|
422
|
+
required: true;
|
|
423
|
+
};
|
|
421
424
|
}>, {
|
|
422
425
|
setPagination: (val: {
|
|
423
426
|
pageNum?: number;
|
|
@@ -451,10 +454,7 @@ setData: (val: ItemType[]) => void;
|
|
|
451
454
|
setHiddenPagination: (val: boolean) => void;
|
|
452
455
|
type: "checkboxCard";
|
|
453
456
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
454
|
-
modelValue:
|
|
455
|
-
required: true;
|
|
456
|
-
type: PropType<ItemType[]>;
|
|
457
|
-
};
|
|
457
|
+
modelValue: PropType<ItemType[]>;
|
|
458
458
|
name: {
|
|
459
459
|
type: PropType<string>;
|
|
460
460
|
required: true;
|
|
@@ -475,6 +475,10 @@ selectAllChange: {
|
|
|
475
475
|
type: PropType<string>;
|
|
476
476
|
required: true;
|
|
477
477
|
};
|
|
478
|
+
defaultPageSize: {
|
|
479
|
+
type: PropType<number>;
|
|
480
|
+
required: true;
|
|
481
|
+
};
|
|
478
482
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
479
483
|
|
|
480
484
|
declare const _default_11: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps_6<{
|
|
@@ -555,10 +559,6 @@ pageRulePath: {
|
|
|
555
559
|
type: PropType<string>;
|
|
556
560
|
required: true;
|
|
557
561
|
};
|
|
558
|
-
styleType: {
|
|
559
|
-
type: PropType<"normal" | "btn" | "modal">;
|
|
560
|
-
required: true;
|
|
561
|
-
};
|
|
562
562
|
}>, {
|
|
563
563
|
setTabContent: (newContents: TabsSchema["content"]) => void;
|
|
564
564
|
addTabContent: (newContent: TabsSchema["content"] | getArrayType<TabsSchema["content"]>) => void;
|
|
@@ -582,7 +582,7 @@ readonly hidden?: boolean | undefined;
|
|
|
582
582
|
readonly isSticky?: boolean | undefined;
|
|
583
583
|
readonly stickyTop?: number | undefined;
|
|
584
584
|
readonly expandTop?: boolean | undefined;
|
|
585
|
-
readonly styleType?: ("modal" | "btn" | "normal") | undefined;
|
|
585
|
+
readonly styleType?: ("modal" | "btn" | "normal" | "small") | undefined;
|
|
586
586
|
readonly staticBtns: readonly ({
|
|
587
587
|
readonly component: "Popover";
|
|
588
588
|
readonly props: {
|
|
@@ -920,10 +920,6 @@ pageRulePath: {
|
|
|
920
920
|
type: PropType<string>;
|
|
921
921
|
required: true;
|
|
922
922
|
};
|
|
923
|
-
styleType: {
|
|
924
|
-
type: PropType<"normal" | "btn" | "modal">;
|
|
925
|
-
required: true;
|
|
926
|
-
};
|
|
927
923
|
}>> & Readonly<{
|
|
928
924
|
onDoneParent?: ((...args: any[]) => any) | undefined;
|
|
929
925
|
onAddPageParams?: ((...args: any[]) => any) | undefined;
|
|
@@ -1312,6 +1308,30 @@ export declare type FormElement = {
|
|
|
1312
1308
|
|
|
1313
1309
|
export declare type FormInstance = Omit<InstanceType<typeof FormRender>, keyof ComponentPublicInstance>;
|
|
1314
1310
|
|
|
1311
|
+
export declare const FormItemGroup: DefineComponent<ExtractPropTypes< {
|
|
1312
|
+
gridData: PropType<(LayoutItem & {
|
|
1313
|
+
rowHeight?: number;
|
|
1314
|
+
contentHeight?: number;
|
|
1315
|
+
})[]>;
|
|
1316
|
+
list: {
|
|
1317
|
+
type: PropType<FormItemType[]>;
|
|
1318
|
+
required: true;
|
|
1319
|
+
};
|
|
1320
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1321
|
+
gridItemMoved: (...args: any[]) => void;
|
|
1322
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1323
|
+
gridData: PropType<(LayoutItem & {
|
|
1324
|
+
rowHeight?: number;
|
|
1325
|
+
contentHeight?: number;
|
|
1326
|
+
})[]>;
|
|
1327
|
+
list: {
|
|
1328
|
+
type: PropType<FormItemType[]>;
|
|
1329
|
+
required: true;
|
|
1330
|
+
};
|
|
1331
|
+
}>> & Readonly<{
|
|
1332
|
+
onGridItemMoved?: ((...args: any[]) => any) | undefined;
|
|
1333
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1334
|
+
|
|
1315
1335
|
export declare interface FormItemType {
|
|
1316
1336
|
label?: string;
|
|
1317
1337
|
labelSuffixText?: string;
|
|
@@ -1505,7 +1525,7 @@ declare type Locale = {
|
|
|
1505
1525
|
* 方法映射
|
|
1506
1526
|
*/
|
|
1507
1527
|
declare const methodMap: {
|
|
1508
|
-
findRef: <T extends keyof FindRefTypeMap
|
|
1528
|
+
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
1509
1529
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
1510
1530
|
clearValidate: (key: string, names?: string | string[]) => void;
|
|
1511
1531
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
@@ -1533,7 +1553,7 @@ declare const methodMap: {
|
|
|
1533
1553
|
setBtnState: setBtnStateFn;
|
|
1534
1554
|
setReadMode: (key: string, readMode: boolean) => void;
|
|
1535
1555
|
getParentPageFun: () => {
|
|
1536
|
-
findRef: <T extends keyof FindRefTypeMap
|
|
1556
|
+
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
1537
1557
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
1538
1558
|
clearValidate: (key: string, names?: string | string[]) => void;
|
|
1539
1559
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
@@ -1907,7 +1927,7 @@ declare type TabsSchema = {
|
|
|
1907
1927
|
isSticky?: boolean;
|
|
1908
1928
|
stickyTop?: number;
|
|
1909
1929
|
expandTop?: boolean;
|
|
1910
|
-
styleType?: 'modal' | 'btn' | 'normal';
|
|
1930
|
+
styleType?: 'modal' | 'btn' | 'normal' | 'small';
|
|
1911
1931
|
staticBtns: BtnType[];
|
|
1912
1932
|
dynamicBtns: BtnType[];
|
|
1913
1933
|
content: {
|
|
@@ -1952,6 +1972,8 @@ filter?: string;
|
|
|
1952
1972
|
}>>, {
|
|
1953
1973
|
getCurrentNode: () => any;
|
|
1954
1974
|
getCheckedNodes: () => any;
|
|
1975
|
+
setCurrentNode: (node: default_2) => void;
|
|
1976
|
+
setCurrentKey: (nodeKey: string | number) => void;
|
|
1955
1977
|
elTreeRef: Readonly<unknown>;
|
|
1956
1978
|
type: "tree";
|
|
1957
1979
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<{
|
|
@@ -1969,6 +1991,8 @@ showCheckbox?: boolean;
|
|
|
1969
1991
|
filter?: string;
|
|
1970
1992
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1971
1993
|
|
|
1994
|
+
export declare const useComponentRef: (key: string, instance: any) => () => void;
|
|
1995
|
+
|
|
1972
1996
|
export declare const useFormInstance: () => FormInstance;
|
|
1973
1997
|
|
|
1974
1998
|
export declare const useRuleContext: () => {
|
package/dist/asiaint-lowcode.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import './style.css';
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as r, D as n, b as m, d as t, P as d, E as i, H as p, z as u, f, G as R, i as F, u as g, c as l } from "./lazy/index-Cg69BrL8.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import "vue";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as $options,
|
|
7
7
|
n as FormDesign,
|
|
8
|
+
m as FormItemGroup,
|
|
8
9
|
t as FormRender,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
g as
|
|
10
|
+
d as PageRender,
|
|
11
|
+
i as TableRender,
|
|
12
|
+
p as Tree,
|
|
13
|
+
u as default,
|
|
14
|
+
f as findItemByName,
|
|
15
|
+
R as provideRefManager,
|
|
16
|
+
F as useComponentRef,
|
|
17
|
+
g as useFormInstance,
|
|
18
|
+
l as useRuleContext
|
|
17
19
|
};
|