asiaint-lowcode 3.1.135 → 3.1.138
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.d.ts +26 -13
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +158 -157
- package/dist/lazy/{Card-DmKgpNex.js → Card-CWosU-Z3.js} +8 -8
- package/dist/lazy/{Cascader-Al6GEjA7.js → Cascader-3RiO1ZT8.js} +5 -4
- package/dist/lazy/{Checkbox-Bqg1dmRj.js → Checkbox-BOLDm0rt.js} +3 -2
- package/dist/lazy/{Collapse-kKlBdDd5.js → Collapse-DYAJYpI0.js} +1 -1
- package/dist/lazy/{Component-pX61QaNQ.js → Component-BFFdXsmS.js} +1 -1
- package/dist/lazy/{Component-Cj5oeerh.js → Component-DMLcCPNA.js} +1 -1
- package/dist/lazy/{Component-DdO5QLCn.js → Component-DPqFlzgV.js} +2 -2
- package/dist/lazy/{Component-CvMJNJkO.js → Component-DdxtZm90.js} +2 -2
- package/dist/lazy/{Component-B-_VNzhG.js → Component-Den9lHoB.js} +2 -2
- package/dist/lazy/{CurdCard-BxOBw_5N.js → CurdCard-S7-E8b8h.js} +2 -2
- package/dist/lazy/Custom-DsAzpCGF.js +26 -0
- package/dist/lazy/{DatePicker-Bbxi8xJo.js → DatePicker-eM_f4-Az.js} +1 -1
- package/dist/lazy/{DragList-D_4EWIob.js → DragList-CPRwmi2l.js} +13 -13
- package/dist/lazy/{FilterSearch-DkZ1y8w7.js → FilterSearch-D0HRJoPi.js} +2 -2
- package/dist/lazy/{FloatCurd-CEAz35PY.js → FloatCurd-Cv75dqpC.js} +2 -2
- package/dist/lazy/{FormList-Cg1sWJ5D.js → FormList-C4ro7qFu.js} +1 -1
- package/dist/lazy/{Grid-Dpl7hLeO.js → Grid-_drN9YjU.js} +1 -1
- package/dist/lazy/{InfiniteScroll-BW02Dit3.js → InfiniteScroll-DxbAPWf0.js} +4 -4
- package/dist/lazy/{Inline-BR7J-2OP.js → Inline-Djl7NxVR.js} +3 -3
- package/dist/lazy/{JsonEdit-DLefRyoB.js → JsonEdit-BOVzO61P.js} +3 -3
- package/dist/lazy/{LogList-Db3N-IxQ.js → LogList-CtfYZaek.js} +7 -7
- package/dist/lazy/{ObjGroup-DxGGDMia.js → ObjGroup-LPgvdJXq.js} +1 -1
- package/dist/lazy/{OfferDetails-B4Yft-7E.js → OfferDetails-DGClz_eT.js} +14 -13
- package/dist/lazy/{Pagination-B1H4a-9B.js → Pagination-G8Hf9rwP.js} +2 -2
- package/dist/lazy/{Progress-BpuFjEGz.js → Progress-B4HIprrl.js} +15 -15
- package/dist/lazy/{Radio-BcfiAy5A.js → Radio-hzjhNYJQ.js} +4 -3
- package/dist/lazy/{SearchSelect-D-9Mqfnw.js → SearchSelect-Co4-W0wr.js} +10 -9
- package/dist/lazy/{Select-Bq_7MUqp.js → Select-DmYRJX_P.js} +33 -23
- package/dist/lazy/{Table-CLikJxSG.js → Table-B1htBmIb.js} +4 -3
- package/dist/lazy/Tabs-B7gmaw5y.js +150 -0
- package/dist/lazy/{TextArea-DhP1AkkI.js → TextArea-_DQHgiiN.js} +3 -3
- package/dist/lazy/{Wrapper-Bzv3WF7N.js → Wrapper-gxFTNbyd.js} +4 -4
- package/dist/lazy/{index-BmDPMRiQ.js → index-DWGVoK0b.js} +1176 -1167
- package/dist/lazy/{useSelect-Ds4rYvFj.js → useSelect-C-QCeZTS.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +1 -1
- package/dist/lazy/Custom-0UZprobJ.js +0 -26
- package/dist/lazy/Tabs-DXGTwfaA.js +0 -144
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# asiaint-lowcode
|
|
2
|
-
|
|
3
|
-
基于 [vue](https://github.com/vuejs/vue) 和 [element-plus](https://github.com/ElemeFE/element) 实现的表单设计器 + 渲染器
|
|
4
|
-
|
|
5
|
-
使用了最新的前端技术栈,可以让你免去vue项目中表单的烦恼。
|
|
6
|
-
|
|
7
|
-
### 安装
|
|
8
|
-
|
|
9
|
-
```js
|
|
10
|
-
npm i asiaint-lowcode
|
|
11
|
-
//或
|
|
12
|
-
yarn add asiaint-lowcode
|
|
13
|
-
//或
|
|
14
|
-
pnpm i asiaint-lowcode
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
### 全局注册
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
import { createApp } from 'vue'
|
|
21
|
-
import AsiaintLowcode from 'asiaint-lowcode'
|
|
22
|
-
import ElementPlus from 'element-plus'
|
|
23
|
-
import 'element-plus/dist/index.css'
|
|
24
|
-
import App from './App.vue'
|
|
25
|
-
|
|
26
|
-
const app = createApp(App)
|
|
27
|
-
|
|
28
|
-
app.use(ElementPlus)
|
|
29
|
-
app.use(AsiaintLowcode)
|
|
30
|
-
app.mount('#app')
|
|
31
|
-
```
|
|
1
|
+
# asiaint-lowcode
|
|
2
|
+
|
|
3
|
+
基于 [vue](https://github.com/vuejs/vue) 和 [element-plus](https://github.com/ElemeFE/element) 实现的表单设计器 + 渲染器
|
|
4
|
+
|
|
5
|
+
使用了最新的前端技术栈,可以让你免去vue项目中表单的烦恼。
|
|
6
|
+
|
|
7
|
+
### 安装
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
npm i asiaint-lowcode
|
|
11
|
+
//或
|
|
12
|
+
yarn add asiaint-lowcode
|
|
13
|
+
//或
|
|
14
|
+
pnpm i asiaint-lowcode
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### 全局注册
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import { createApp } from 'vue'
|
|
21
|
+
import AsiaintLowcode from 'asiaint-lowcode'
|
|
22
|
+
import ElementPlus from 'element-plus'
|
|
23
|
+
import 'element-plus/dist/index.css'
|
|
24
|
+
import App from './App.vue'
|
|
25
|
+
|
|
26
|
+
const app = createApp(App)
|
|
27
|
+
|
|
28
|
+
app.use(ElementPlus)
|
|
29
|
+
app.use(AsiaintLowcode)
|
|
30
|
+
app.mount('#app')
|
|
31
|
+
```
|
|
@@ -154,7 +154,7 @@ setPageParams: (params: any) => void;
|
|
|
154
154
|
setGlobalParams: (params: any) => void;
|
|
155
155
|
getGlobalParams: () => any;
|
|
156
156
|
setBtnState: setBtnStateFn;
|
|
157
|
-
setReadMode: (key: string, readMode: boolean) => void;
|
|
157
|
+
setReadMode: (key: string, readMode: boolean, formItemKeys?: string[]) => void;
|
|
158
158
|
getParentPageFun: () => {
|
|
159
159
|
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
160
160
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
@@ -182,7 +182,7 @@ setPageParams: (params: any) => void;
|
|
|
182
182
|
setGlobalParams: (params: any) => void;
|
|
183
183
|
getGlobalParams: () => any;
|
|
184
184
|
setBtnState: setBtnStateFn;
|
|
185
|
-
setReadMode: (key: string, readMode: boolean) => void;
|
|
185
|
+
setReadMode: (key: string, readMode: boolean, formItemKeys?: string[]) => void;
|
|
186
186
|
getParentPageFun: any;
|
|
187
187
|
setPageMask: (mask: boolean) => void;
|
|
188
188
|
} | undefined;
|
|
@@ -345,10 +345,11 @@ declare type BtnItemType = {
|
|
|
345
345
|
isPlainBtn?: boolean;
|
|
346
346
|
onClick?: string;
|
|
347
347
|
disabled?: boolean;
|
|
348
|
-
hidden?: boolean;
|
|
348
|
+
hidden?: boolean | string;
|
|
349
349
|
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
350
350
|
color?: string;
|
|
351
351
|
orange?: boolean;
|
|
352
|
+
hasBorder?: boolean;
|
|
352
353
|
isReverse?: boolean;
|
|
353
354
|
icon?: {
|
|
354
355
|
name: string;
|
|
@@ -641,10 +642,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
641
642
|
readonly isPlainBtn?: boolean | undefined;
|
|
642
643
|
readonly onClick?: string | undefined;
|
|
643
644
|
readonly disabled?: boolean | undefined;
|
|
644
|
-
readonly hidden?: boolean | undefined;
|
|
645
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
645
646
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
646
647
|
readonly color?: string | undefined;
|
|
647
648
|
readonly orange?: boolean | undefined;
|
|
649
|
+
readonly hasBorder?: boolean | undefined;
|
|
648
650
|
readonly isReverse?: boolean | undefined;
|
|
649
651
|
readonly icon?: {
|
|
650
652
|
readonly name: string;
|
|
@@ -666,10 +668,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
666
668
|
readonly isPlainBtn?: boolean | undefined;
|
|
667
669
|
readonly onClick?: string | undefined;
|
|
668
670
|
readonly disabled?: boolean | undefined;
|
|
669
|
-
readonly hidden?: boolean | undefined;
|
|
671
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
670
672
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
671
673
|
readonly color?: string | undefined;
|
|
672
674
|
readonly orange?: boolean | undefined;
|
|
675
|
+
readonly hasBorder?: boolean | undefined;
|
|
673
676
|
readonly isReverse?: boolean | undefined;
|
|
674
677
|
readonly icon?: {
|
|
675
678
|
readonly name: string;
|
|
@@ -689,10 +692,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
689
692
|
readonly isPlainBtn?: boolean | undefined;
|
|
690
693
|
readonly onClick?: string | undefined;
|
|
691
694
|
readonly disabled?: boolean | undefined;
|
|
692
|
-
readonly hidden?: boolean | undefined;
|
|
695
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
693
696
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
694
697
|
readonly color?: string | undefined;
|
|
695
698
|
readonly orange?: boolean | undefined;
|
|
699
|
+
readonly hasBorder?: boolean | undefined;
|
|
696
700
|
readonly isReverse?: boolean | undefined;
|
|
697
701
|
readonly icon?: {
|
|
698
702
|
readonly name: string;
|
|
@@ -714,10 +718,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
714
718
|
readonly isPlainBtn?: boolean | undefined;
|
|
715
719
|
readonly onClick?: string | undefined;
|
|
716
720
|
readonly disabled?: boolean | undefined;
|
|
717
|
-
readonly hidden?: boolean | undefined;
|
|
721
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
718
722
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
719
723
|
readonly color?: string | undefined;
|
|
720
724
|
readonly orange?: boolean | undefined;
|
|
725
|
+
readonly hasBorder?: boolean | undefined;
|
|
721
726
|
readonly isReverse?: boolean | undefined;
|
|
722
727
|
readonly icon?: {
|
|
723
728
|
readonly name: string;
|
|
@@ -787,10 +792,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
787
792
|
readonly isPlainBtn?: boolean | undefined;
|
|
788
793
|
readonly onClick?: string | undefined;
|
|
789
794
|
readonly disabled?: boolean | undefined;
|
|
790
|
-
readonly hidden?: boolean | undefined;
|
|
795
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
791
796
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
792
797
|
readonly color?: string | undefined;
|
|
793
798
|
readonly orange?: boolean | undefined;
|
|
799
|
+
readonly hasBorder?: boolean | undefined;
|
|
794
800
|
readonly isReverse?: boolean | undefined;
|
|
795
801
|
readonly icon?: {
|
|
796
802
|
readonly name: string;
|
|
@@ -812,10 +818,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
812
818
|
readonly isPlainBtn?: boolean | undefined;
|
|
813
819
|
readonly onClick?: string | undefined;
|
|
814
820
|
readonly disabled?: boolean | undefined;
|
|
815
|
-
readonly hidden?: boolean | undefined;
|
|
821
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
816
822
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
817
823
|
readonly color?: string | undefined;
|
|
818
824
|
readonly orange?: boolean | undefined;
|
|
825
|
+
readonly hasBorder?: boolean | undefined;
|
|
819
826
|
readonly isReverse?: boolean | undefined;
|
|
820
827
|
readonly icon?: {
|
|
821
828
|
readonly name: string;
|
|
@@ -835,10 +842,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
835
842
|
readonly isPlainBtn?: boolean | undefined;
|
|
836
843
|
readonly onClick?: string | undefined;
|
|
837
844
|
readonly disabled?: boolean | undefined;
|
|
838
|
-
readonly hidden?: boolean | undefined;
|
|
845
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
839
846
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
840
847
|
readonly color?: string | undefined;
|
|
841
848
|
readonly orange?: boolean | undefined;
|
|
849
|
+
readonly hasBorder?: boolean | undefined;
|
|
842
850
|
readonly isReverse?: boolean | undefined;
|
|
843
851
|
readonly icon?: {
|
|
844
852
|
readonly name: string;
|
|
@@ -860,10 +868,11 @@ readonly isLinkBtn?: boolean | undefined;
|
|
|
860
868
|
readonly isPlainBtn?: boolean | undefined;
|
|
861
869
|
readonly onClick?: string | undefined;
|
|
862
870
|
readonly disabled?: boolean | undefined;
|
|
863
|
-
readonly hidden?: boolean | undefined;
|
|
871
|
+
readonly hidden?: (boolean | string) | undefined;
|
|
864
872
|
readonly type?: ("primary" | "success" | "warning" | "danger" | "info") | undefined;
|
|
865
873
|
readonly color?: string | undefined;
|
|
866
874
|
readonly orange?: boolean | undefined;
|
|
875
|
+
readonly hasBorder?: boolean | undefined;
|
|
867
876
|
readonly isReverse?: boolean | undefined;
|
|
868
877
|
readonly icon?: {
|
|
869
878
|
readonly name: string;
|
|
@@ -1551,7 +1560,7 @@ declare const methodMap: {
|
|
|
1551
1560
|
setGlobalParams: (params: any) => void;
|
|
1552
1561
|
getGlobalParams: () => any;
|
|
1553
1562
|
setBtnState: setBtnStateFn;
|
|
1554
|
-
setReadMode: (key: string, readMode: boolean) => void;
|
|
1563
|
+
setReadMode: (key: string, readMode: boolean, formItemKeys?: string[]) => void;
|
|
1555
1564
|
getParentPageFun: () => {
|
|
1556
1565
|
findRef: <T extends keyof FindRefTypeMap, R = FindRefType<T>>(key: string) => R;
|
|
1557
1566
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
@@ -1579,7 +1588,7 @@ declare const methodMap: {
|
|
|
1579
1588
|
setGlobalParams: (params: any) => void;
|
|
1580
1589
|
getGlobalParams: () => any;
|
|
1581
1590
|
setBtnState: setBtnStateFn;
|
|
1582
|
-
setReadMode: (key: string, readMode: boolean) => void;
|
|
1591
|
+
setReadMode: (key: string, readMode: boolean, formItemKeys?: string[]) => void;
|
|
1583
1592
|
getParentPageFun: any;
|
|
1584
1593
|
setPageMask: (mask: boolean) => void;
|
|
1585
1594
|
} | undefined;
|
|
@@ -1693,6 +1702,7 @@ declare interface SelectProps {
|
|
|
1693
1702
|
dependentFields?: string[];
|
|
1694
1703
|
name: string;
|
|
1695
1704
|
onChange?: string;
|
|
1705
|
+
onClear?: string;
|
|
1696
1706
|
read?: boolean;
|
|
1697
1707
|
readTextColor?: string;
|
|
1698
1708
|
filters?: (string | number | boolean)[];
|
|
@@ -1914,6 +1924,7 @@ declare type TableSchema = {
|
|
|
1914
1924
|
onPollChange?: string;
|
|
1915
1925
|
showPollCheckbox?: boolean;
|
|
1916
1926
|
cardStyle?: StyleValue;
|
|
1927
|
+
smallPagination?: boolean;
|
|
1917
1928
|
};
|
|
1918
1929
|
|
|
1919
1930
|
declare type TabsSchema = {
|
|
@@ -1969,6 +1980,7 @@ styleType?: "modal" | "normal";
|
|
|
1969
1980
|
name: string;
|
|
1970
1981
|
showCheckbox?: boolean;
|
|
1971
1982
|
filter?: string;
|
|
1983
|
+
defaultExpandAll?: boolean;
|
|
1972
1984
|
}>>, {
|
|
1973
1985
|
getCurrentNode: () => any;
|
|
1974
1986
|
getCheckedNodes: () => any;
|
|
@@ -1989,6 +2001,7 @@ styleType?: "modal" | "normal";
|
|
|
1989
2001
|
name: string;
|
|
1990
2002
|
showCheckbox?: boolean;
|
|
1991
2003
|
filter?: string;
|
|
2004
|
+
defaultExpandAll?: boolean;
|
|
1992
2005
|
}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1993
2006
|
|
|
1994
2007
|
export declare const useComponentRef: (key: string, instance: any) => () => void;
|
package/dist/asiaint-lowcode.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './style.css';
|
|
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-
|
|
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-DWGVoK0b.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import "vue";
|
|
5
5
|
export {
|