asiaint-lowcode 3.1.124 → 3.1.126
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 +21 -0
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +204 -203
- package/dist/lazy/{Card-C3kpBdLQ.js → Card-B5IKPHRH.js} +8 -8
- package/dist/lazy/{Cascader-C90FEXcW.js → Cascader-DV-go3_z.js} +1 -1
- package/dist/lazy/Checkbox-DlxDVy46.js +101 -0
- package/dist/lazy/{Collapse-jKV6far-.js → Collapse-Bq90aeJS.js} +1 -1
- package/dist/lazy/{Component-DCrZrXze.js → Component--3Al5ml6.js} +1 -1
- package/dist/lazy/{Component-TDgjMyU_.js → Component-CsgFBQFt.js} +2 -2
- package/dist/lazy/{Component-nHI51gCH.js → Component-D-49XqXx.js} +2 -2
- package/dist/lazy/{Component-ByrOyzcu.js → Component-DKmvE5tM.js} +2 -2
- package/dist/lazy/Component-DmZGe9pd.js +45 -0
- package/dist/lazy/{CurdCard-BT17Dj27.js → CurdCard-Durkiy_U.js} +2 -2
- package/dist/lazy/Custom-sjlWTHOh.js +26 -0
- package/dist/lazy/{DatePicker-DNvU39mm.js → DatePicker-DStcGaxe.js} +1 -1
- package/dist/lazy/{DragList-BFpd1I6Y.js → DragList-DQ4zU1IM.js} +13 -13
- package/dist/lazy/{FilterSearch-Bh0Jsp1x.js → FilterSearch-BqmQcTqy.js} +2 -2
- package/dist/lazy/{FloatCurd-pQkhaiXp.js → FloatCurd-Dwlrxqk5.js} +2 -2
- package/dist/lazy/{FormList-B530bd2X.js → FormList-DglG5S_e.js} +1 -1
- package/dist/lazy/{Grid-BmiG4ZzT.js → Grid-GWnwehbc.js} +1 -1
- package/dist/lazy/{InfiniteScroll-rn1Gi4_Z.js → InfiniteScroll-CK8bRrXK.js} +4 -4
- package/dist/lazy/{Inline-YBd4VRXq.js → Inline-dl8Ykro0.js} +3 -3
- package/dist/lazy/{JsonEdit-Bs6wTmWc.js → JsonEdit-Chgkl2or.js} +3 -3
- package/dist/lazy/{LogList-BYeyjvBM.js → LogList-CSi1kxq0.js} +7 -7
- package/dist/lazy/{ObjGroup-DL0UBLW5.js → ObjGroup-jllfxhNe.js} +1 -1
- package/dist/lazy/{OfferDetails-C51y9eGl.js → OfferDetails-CZj6-Sa2.js} +13 -13
- package/dist/lazy/{Pagination-1ymRBbEV.js → Pagination-BndPvE9a.js} +7 -7
- package/dist/lazy/{Progress-D7st7BYV.js → Progress-DIkRUYK1.js} +15 -15
- package/dist/lazy/{Radio-8Ltzylre.js → Radio-Crrq9xYb.js} +3 -3
- package/dist/lazy/{SearchSelect-CvwYURhY.js → SearchSelect-cqwnNj_m.js} +6 -6
- package/dist/lazy/{Select-BR3F3elT.js → Select-Teg7mHaV.js} +2 -2
- package/dist/lazy/Table-DtkvwA_c.js +659 -0
- package/dist/lazy/{Tabs-Dv_FHXcn.js → Tabs-DTVVaepi.js} +7 -7
- package/dist/lazy/{TextArea-Bs_r2iyM.js → TextArea-CBdcgEaN.js} +3 -3
- package/dist/lazy/{Wrapper-DswKesIN.js → Wrapper-BIoBvUyx.js} +4 -4
- package/dist/lazy/{index-BQJEI0Bg.js → index-YOMQLeuq.js} +7529 -7454
- package/dist/lazy/{useSelect-BVuW-6jY.js → useSelect-CTPuy38a.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +1 -1
- package/dist/lazy/Checkbox-BSJ6OJ7n.js +0 -88
- package/dist/lazy/Component-ChK0_8V9.js +0 -35
- package/dist/lazy/Custom-D4CmyIvg.js +0 -26
- package/dist/lazy/Table-Bt5sLA1a.js +0 -652
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
|
+
```
|
|
@@ -72,6 +72,7 @@ getFieldValue: (key: string) => any;
|
|
|
72
72
|
refreshDynamicListBox: (key: string) => void;
|
|
73
73
|
setHidden: (value: boolean) => void;
|
|
74
74
|
clearValidate: (name?: string | string[]) => void;
|
|
75
|
+
setLoading: (value: boolean) => void;
|
|
75
76
|
rootRef: unknown;
|
|
76
77
|
type: "form";
|
|
77
78
|
schema: FormSchema;
|
|
@@ -1696,6 +1697,8 @@ declare type setBtnStateFn = (params: {
|
|
|
1696
1697
|
btnKey: string;
|
|
1697
1698
|
}, stateType: 'hidden' | 'disabled', state: boolean) => void;
|
|
1698
1699
|
|
|
1700
|
+
declare function setMaxTableHeight(val?: number): void;
|
|
1701
|
+
|
|
1699
1702
|
declare type tabItem = {
|
|
1700
1703
|
label: string;
|
|
1701
1704
|
name: string;
|
|
@@ -1733,6 +1736,13 @@ type: PropType<TableSchema & {
|
|
|
1733
1736
|
cardless?: boolean;
|
|
1734
1737
|
shadowless?: boolean;
|
|
1735
1738
|
style?: StyleValue;
|
|
1739
|
+
headerInput?: {
|
|
1740
|
+
label: string;
|
|
1741
|
+
key: string;
|
|
1742
|
+
onChange?: string;
|
|
1743
|
+
onSearch?: string;
|
|
1744
|
+
};
|
|
1745
|
+
heightDifference?: number;
|
|
1736
1746
|
}>;
|
|
1737
1747
|
};
|
|
1738
1748
|
modelValue: PropType<Array<any>>;
|
|
@@ -1791,6 +1801,10 @@ mounted: () => Promise<void>;
|
|
|
1791
1801
|
activated: () => Promise<void>;
|
|
1792
1802
|
toggleSelection: (rowKey: string, selected?: boolean) => void;
|
|
1793
1803
|
setLoading: (loading: boolean) => void;
|
|
1804
|
+
getColumns: () => TableColumn[];
|
|
1805
|
+
setHeaderInputValue: (value: string) => void;
|
|
1806
|
+
getHeaderInputValue: () => any;
|
|
1807
|
+
setMaxTableHeight: typeof setMaxTableHeight;
|
|
1794
1808
|
type: "table";
|
|
1795
1809
|
design: boolean;
|
|
1796
1810
|
read: boolean;
|
|
@@ -1803,6 +1817,13 @@ type: PropType<TableSchema & {
|
|
|
1803
1817
|
cardless?: boolean;
|
|
1804
1818
|
shadowless?: boolean;
|
|
1805
1819
|
style?: StyleValue;
|
|
1820
|
+
headerInput?: {
|
|
1821
|
+
label: string;
|
|
1822
|
+
key: string;
|
|
1823
|
+
onChange?: string;
|
|
1824
|
+
onSearch?: string;
|
|
1825
|
+
};
|
|
1826
|
+
heightDifference?: number;
|
|
1806
1827
|
}>;
|
|
1807
1828
|
};
|
|
1808
1829
|
modelValue: PropType<Array<any>>;
|
package/dist/asiaint-lowcode.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './style.css';
|
|
2
|
-
import { $ as o, D as n, d as t, P as m, E as d, H as i, z as f, f as p, G as u, u as R, c as g } from "./lazy/index-
|
|
2
|
+
import { $ as o, D as n, d as t, P as m, E as d, H as i, z as f, f as p, G as u, u as R, c as g } from "./lazy/index-YOMQLeuq.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import "vue";
|
|
5
5
|
export {
|