asiaint-lowcode 3.1.52 → 3.1.53
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 +124 -124
- package/dist/lazy/{Card-lVLvxZWw.js → Card-CHP6m_FL.js} +1 -1
- package/dist/lazy/{Cascader-CwOfprl0.js → Cascader-D4v4jTd7.js} +1 -1
- package/dist/lazy/{Checkbox-Dh2OO89D.js → Checkbox-DeqEMK_I.js} +2 -2
- package/dist/lazy/{Collapse-ClD5Cxs1.js → Collapse-CMRE5R18.js} +1 -1
- package/dist/lazy/{Component-DLa6um_n.js → Component-B5AKTiZd.js} +1 -1
- package/dist/lazy/{Component-eMr3rRUB.js → Component-B7GkeIvh.js} +1 -1
- package/dist/lazy/{Component-UdDyAxnf.js → Component-BKbN98Hy.js} +1 -1
- package/dist/lazy/{Component-B04szSD6.js → Component-CgcQ_-aC.js} +1 -1
- package/dist/lazy/{Component-DXuFDBu2.js → Component-DnLmaI5e.js} +1 -1
- package/dist/lazy/{Component-BqEjXQia.js → Component-DqS8Lajh.js} +1 -1
- package/dist/lazy/{CurdCard-DQ8FooiP.js → CurdCard-BshihU98.js} +1 -1
- package/dist/lazy/{Custom-j7zaNxzW.js → Custom-C9XWjp3i.js} +1 -1
- package/dist/lazy/{DatePicker-DPCVC-x_.js → DatePicker-CFZTlXYz.js} +1 -1
- package/dist/lazy/{DragList-CBVI2mKH.js → DragList-BOKd3Nkn.js} +1 -1
- package/dist/lazy/{FilterSearch-C2h02c7V.js → FilterSearch-B0Iq08r0.js} +1 -1
- package/dist/lazy/{FormList-IN-zW8nh.js → FormList-BztLtlVo.js} +1 -1
- package/dist/lazy/{Grid-B6wzcPWr.js → Grid-BmR2UoLY.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Z-GVBlxV.js → InfiniteScroll-22k8G62g.js} +1 -1
- package/dist/lazy/{Inline-C8h45R8u.js → Inline-D7rR7Pe0.js} +1 -1
- package/dist/lazy/{JsonEdit-B8sbqyyS.js → JsonEdit-BT7UmaFI.js} +1 -1
- package/dist/lazy/{LogList-zfMyKWCO.js → LogList-DgVl5B0a.js} +1 -1
- package/dist/lazy/{ObjGroup-K4Y7hQc7.js → ObjGroup-DZyF0y4y.js} +1 -1
- package/dist/lazy/{OfferDetails-RtrQpLV7.js → OfferDetails-Cgq4TeYp.js} +1 -1
- package/dist/lazy/{Pagination-B4z5P9Ke.js → Pagination-DI4P8FrF.js} +1 -1
- package/dist/lazy/{Progress-DZKTCadU.js → Progress-C4KMGyaM.js} +1 -1
- package/dist/lazy/{Radio-Cq4c-qsi.js → Radio-DpX3IV6R.js} +2 -2
- package/dist/lazy/{SearchSelect-3TehxKw1.js → SearchSelect-C5YOidJU.js} +2 -2
- package/dist/lazy/Select-VD9Evc28.js +144 -0
- package/dist/lazy/{Table-p9KJ4_9d.js → Table-DPg4KMuG.js} +1 -1
- package/dist/lazy/{Tabs-CdG-hdJ1.js → Tabs-CgOdONLp.js} +1 -1
- package/dist/lazy/{TextArea-BEjDKBp4.js → TextArea-CeDrv6Ro.js} +1 -1
- package/dist/lazy/{Wrapper-y8fF35Bp.js → Wrapper-t4g2_GEM.js} +1 -1
- package/dist/lazy/{index-GRIBKt5D.js → index-C8n3bw0x.js} +32 -32
- package/dist/lazy/{useSelect-B8sNW_9o.js → useSelect-B-Y7wxFa.js} +1 -1
- package/package.json +1 -1
- package/dist/lazy/Select-G2Lm7UZd.js +0 -128
|
@@ -10106,7 +10106,7 @@ onClick: ${B.onClick}`);
|
|
|
10106
10106
|
type: "basic",
|
|
10107
10107
|
order: 2,
|
|
10108
10108
|
attrSchema: mv,
|
|
10109
|
-
render: Ie(() => import("./TextArea-
|
|
10109
|
+
render: Ie(() => import("./TextArea-CeDrv6Ro.js"))
|
|
10110
10110
|
}, fv = {
|
|
10111
10111
|
size: "small",
|
|
10112
10112
|
labelPosition: "top",
|
|
@@ -10260,7 +10260,7 @@ onClick: ${B.onClick}`);
|
|
|
10260
10260
|
}, Nv = {
|
|
10261
10261
|
title: "卡片",
|
|
10262
10262
|
component: "Card",
|
|
10263
|
-
render: Ie(() => import("./Card-
|
|
10263
|
+
render: Ie(() => import("./Card-CHP6m_FL.js")),
|
|
10264
10264
|
icon: YA(xA, { name: "card" }),
|
|
10265
10265
|
type: "layout",
|
|
10266
10266
|
order: 1,
|
|
@@ -10493,7 +10493,7 @@ onClick: ${B.onClick}`);
|
|
|
10493
10493
|
component: "Cascader",
|
|
10494
10494
|
attrSchema: Gv,
|
|
10495
10495
|
order: 7,
|
|
10496
|
-
render: Ie(() => import("./Cascader-
|
|
10496
|
+
render: Ie(() => import("./Cascader-D4v4jTd7.js"))
|
|
10497
10497
|
}, Rv = {
|
|
10498
10498
|
size: "small",
|
|
10499
10499
|
labelPosition: "top",
|
|
@@ -10537,7 +10537,7 @@ onClick: ${B.onClick}`);
|
|
|
10537
10537
|
type: "basic",
|
|
10538
10538
|
order: 14,
|
|
10539
10539
|
attrSchema: Rv,
|
|
10540
|
-
render: Ie(() => import("./JsonEdit-
|
|
10540
|
+
render: Ie(() => import("./JsonEdit-BT7UmaFI.js"))
|
|
10541
10541
|
}, Hv = {
|
|
10542
10542
|
size: "small",
|
|
10543
10543
|
labelPosition: "top",
|
|
@@ -10637,7 +10637,7 @@ onClick: ${B.onClick}`);
|
|
|
10637
10637
|
icon: YA(xA, { name: "checkbox" }),
|
|
10638
10638
|
type: "basic",
|
|
10639
10639
|
component: "Checkbox",
|
|
10640
|
-
render: Ie(() => import("./Checkbox-
|
|
10640
|
+
render: Ie(() => import("./Checkbox-DeqEMK_I.js")),
|
|
10641
10641
|
order: 4,
|
|
10642
10642
|
attrSchema: Hv
|
|
10643
10643
|
}, Sv = {
|
|
@@ -10784,7 +10784,7 @@ onClick: ${B.onClick}`);
|
|
|
10784
10784
|
}, Ov = {
|
|
10785
10785
|
title: "自定义组件",
|
|
10786
10786
|
component: "Custom",
|
|
10787
|
-
render: Ie(() => import("./Custom-
|
|
10787
|
+
render: Ie(() => import("./Custom-C9XWjp3i.js")),
|
|
10788
10788
|
icon: YA(xA, { name: "custom" }),
|
|
10789
10789
|
type: "high",
|
|
10790
10790
|
order: 99,
|
|
@@ -10850,7 +10850,7 @@ onClick: ${B.onClick}`);
|
|
|
10850
10850
|
}, Tv = {
|
|
10851
10851
|
title: "日期选择器",
|
|
10852
10852
|
component: "DatePicker",
|
|
10853
|
-
render: Ie(() => import("./DatePicker-
|
|
10853
|
+
render: Ie(() => import("./DatePicker-CFZTlXYz.js")),
|
|
10854
10854
|
icon: YA(xA, { name: "datePicker" }),
|
|
10855
10855
|
type: "basic",
|
|
10856
10856
|
order: 9,
|
|
@@ -10975,7 +10975,7 @@ onClick: ${B.onClick}`);
|
|
|
10975
10975
|
}, $v = {
|
|
10976
10976
|
title: "电子签名",
|
|
10977
10977
|
component: "Esign",
|
|
10978
|
-
render: Ie(() => import("./Component-
|
|
10978
|
+
render: Ie(() => import("./Component-DnLmaI5e.js")),
|
|
10979
10979
|
icon: YA(xA, { name: "esign" }),
|
|
10980
10980
|
type: "basic",
|
|
10981
10981
|
order: 11,
|
|
@@ -11077,7 +11077,7 @@ onClick: ${B.onClick}`);
|
|
|
11077
11077
|
icon: YA(xA, { name: "radio" }),
|
|
11078
11078
|
type: "basic",
|
|
11079
11079
|
component: "Radio",
|
|
11080
|
-
render: Ie(() => import("./Radio-
|
|
11080
|
+
render: Ie(() => import("./Radio-DpX3IV6R.js")),
|
|
11081
11081
|
order: 3.5,
|
|
11082
11082
|
attrSchema: Wv
|
|
11083
11083
|
}, Xv = {
|
|
@@ -11166,7 +11166,7 @@ onClick: ${B.onClick}`);
|
|
|
11166
11166
|
}, A_ = {
|
|
11167
11167
|
title: "自增容器",
|
|
11168
11168
|
component: "FormList",
|
|
11169
|
-
render: Ie(() => import("./FormList-
|
|
11169
|
+
render: Ie(() => import("./FormList-BztLtlVo.js")),
|
|
11170
11170
|
icon: YA(xA, { name: "formList" }),
|
|
11171
11171
|
type: "high",
|
|
11172
11172
|
order: 20,
|
|
@@ -11176,7 +11176,7 @@ onClick: ${B.onClick}`);
|
|
|
11176
11176
|
type: "layout",
|
|
11177
11177
|
icon: YA(xA, { name: "grid" }),
|
|
11178
11178
|
component: "Grid",
|
|
11179
|
-
render: Ie(() => import("./Grid-
|
|
11179
|
+
render: Ie(() => import("./Grid-BmR2UoLY.js")),
|
|
11180
11180
|
order: 3,
|
|
11181
11181
|
lbTitle: !0,
|
|
11182
11182
|
attrSchema: {
|
|
@@ -11218,7 +11218,7 @@ onClick: ${B.onClick}`);
|
|
|
11218
11218
|
icon: YA(xA, { name: "inline" }),
|
|
11219
11219
|
type: "layout",
|
|
11220
11220
|
component: "Inline",
|
|
11221
|
-
render: Ie(() => import("./Inline-
|
|
11221
|
+
render: Ie(() => import("./Inline-D7rR7Pe0.js")),
|
|
11222
11222
|
order: 2,
|
|
11223
11223
|
lbTitle: !0,
|
|
11224
11224
|
attrSchema: {
|
|
@@ -11337,7 +11337,7 @@ onClick: ${B.onClick}`);
|
|
|
11337
11337
|
type: "basic",
|
|
11338
11338
|
order: 5,
|
|
11339
11339
|
component: "InputNumber",
|
|
11340
|
-
render: Ie(() => import("./Component-
|
|
11340
|
+
render: Ie(() => import("./Component-BKbN98Hy.js")),
|
|
11341
11341
|
attrSchema: n_
|
|
11342
11342
|
}, i_ = {
|
|
11343
11343
|
size: "small",
|
|
@@ -11565,7 +11565,7 @@ onClick: ${B.onClick}`);
|
|
|
11565
11565
|
type: "basic",
|
|
11566
11566
|
icon: YA(xA, { name: "select" }),
|
|
11567
11567
|
component: "Select",
|
|
11568
|
-
render: Ie(() => import("./Select-
|
|
11568
|
+
render: Ie(() => import("./Select-VD9Evc28.js")),
|
|
11569
11569
|
order: 3,
|
|
11570
11570
|
attrSchema: g_
|
|
11571
11571
|
}, Q_ = {
|
|
@@ -11908,7 +11908,7 @@ onClick: ${B.onClick}`);
|
|
|
11908
11908
|
]
|
|
11909
11909
|
}, I_ = {
|
|
11910
11910
|
title: "开关",
|
|
11911
|
-
render: Ie(() => import("./Component-
|
|
11911
|
+
render: Ie(() => import("./Component-B7GkeIvh.js")),
|
|
11912
11912
|
component: "Switch",
|
|
11913
11913
|
icon: YA(xA, { name: "switch" }),
|
|
11914
11914
|
type: "basic",
|
|
@@ -12085,7 +12085,7 @@ onClick: ${B.onClick}`);
|
|
|
12085
12085
|
}, D_ = {
|
|
12086
12086
|
title: "上传",
|
|
12087
12087
|
component: "Upload",
|
|
12088
|
-
render: Ie(() => import("./Component-
|
|
12088
|
+
render: Ie(() => import("./Component-CgcQ_-aC.js")),
|
|
12089
12089
|
icon: YA(xA, { name: "upload" }),
|
|
12090
12090
|
type: "basic",
|
|
12091
12091
|
order: 10,
|
|
@@ -12121,7 +12121,7 @@ onClick: ${B.onClick}`);
|
|
|
12121
12121
|
}, b_ = {
|
|
12122
12122
|
title: "图形验证码",
|
|
12123
12123
|
component: "VerifyCode",
|
|
12124
|
-
render: Ie(() => import("./Component-
|
|
12124
|
+
render: Ie(() => import("./Component-B5AKTiZd.js")),
|
|
12125
12125
|
icon: YA(xA, { name: "verifyCode" }),
|
|
12126
12126
|
type: "high",
|
|
12127
12127
|
order: 18,
|
|
@@ -12129,7 +12129,7 @@ onClick: ${B.onClick}`);
|
|
|
12129
12129
|
}, y_ = {
|
|
12130
12130
|
title: "折叠面板",
|
|
12131
12131
|
component: "Collapse",
|
|
12132
|
-
render: Ie(() => import("./Collapse-
|
|
12132
|
+
render: Ie(() => import("./Collapse-CMRE5R18.js")),
|
|
12133
12133
|
icon: YA(xA, { name: "collapse" }),
|
|
12134
12134
|
type: "layout",
|
|
12135
12135
|
order: 4,
|
|
@@ -12184,7 +12184,7 @@ onClick: ${B.onClick}`);
|
|
|
12184
12184
|
}, v_ = {
|
|
12185
12185
|
title: "选项卡",
|
|
12186
12186
|
component: "Tabs",
|
|
12187
|
-
render: Ie(() => import("./Tabs-
|
|
12187
|
+
render: Ie(() => import("./Tabs-CgOdONLp.js")),
|
|
12188
12188
|
icon: YA(xA, { name: "tabs" }),
|
|
12189
12189
|
type: "layout",
|
|
12190
12190
|
order: 4,
|
|
@@ -12300,7 +12300,7 @@ onClick: ${B.onClick}`);
|
|
|
12300
12300
|
icon: YA(xA, { name: "itemGroup" }),
|
|
12301
12301
|
type: "high",
|
|
12302
12302
|
component: "ObjGroup",
|
|
12303
|
-
render: Ie(() => import("./ObjGroup-
|
|
12303
|
+
render: Ie(() => import("./ObjGroup-DZyF0y4y.js")),
|
|
12304
12304
|
order: 2,
|
|
12305
12305
|
lbTitle: !0,
|
|
12306
12306
|
attrSchema: {
|
|
@@ -12782,7 +12782,7 @@ onClear: ${e.onClear}`);
|
|
|
12782
12782
|
type: "high",
|
|
12783
12783
|
icon: YA(xA, { name: "searchSelect" }),
|
|
12784
12784
|
component: "SearchSelect",
|
|
12785
|
-
render: Ie(() => import("./SearchSelect-
|
|
12785
|
+
render: Ie(() => import("./SearchSelect-C5YOidJU.js")),
|
|
12786
12786
|
order: 3,
|
|
12787
12787
|
attrSchema: U_
|
|
12788
12788
|
}, J_ = {
|
|
@@ -12964,7 +12964,7 @@ onClick: ${A.onClick}`);
|
|
|
12964
12964
|
}, q_ = {
|
|
12965
12965
|
title: "树",
|
|
12966
12966
|
component: "Tree",
|
|
12967
|
-
render: Ie(() => import("./Component-
|
|
12967
|
+
render: Ie(() => import("./Component-DqS8Lajh.js")),
|
|
12968
12968
|
icon: YA(xA, { name: "tree" }),
|
|
12969
12969
|
type: "assist",
|
|
12970
12970
|
order: 7,
|
|
@@ -13025,11 +13025,11 @@ onClick: ${A.onClick}`);
|
|
|
13025
13025
|
type: "assist",
|
|
13026
13026
|
order: 8,
|
|
13027
13027
|
attrSchema: j_,
|
|
13028
|
-
render: Ie(() => import("./Table-
|
|
13028
|
+
render: Ie(() => import("./Table-DPg4KMuG.js"))
|
|
13029
13029
|
}, W_ = {
|
|
13030
13030
|
title: "curd模版卡片",
|
|
13031
13031
|
component: "CurdCard",
|
|
13032
|
-
render: Ie(() => import("./CurdCard-
|
|
13032
|
+
render: Ie(() => import("./CurdCard-BshihU98.js")),
|
|
13033
13033
|
icon: YA(xA, { name: "card" }),
|
|
13034
13034
|
type: "layout",
|
|
13035
13035
|
order: 6,
|
|
@@ -13059,7 +13059,7 @@ onClick: ${A.onClick}`);
|
|
|
13059
13059
|
}, V_ = {
|
|
13060
13060
|
title: "普通div容器",
|
|
13061
13061
|
component: "Wrapper",
|
|
13062
|
-
render: Ie(() => import("./Wrapper-
|
|
13062
|
+
render: Ie(() => import("./Wrapper-t4g2_GEM.js")),
|
|
13063
13063
|
icon: YA(xA, { name: "card" }),
|
|
13064
13064
|
type: "layout",
|
|
13065
13065
|
order: 7,
|
|
@@ -13357,7 +13357,7 @@ onClick: ${A.onClick}`);
|
|
|
13357
13357
|
}, mM = {
|
|
13358
13358
|
title: "定制化组件(OfferDetails)",
|
|
13359
13359
|
component: "OfferDetails",
|
|
13360
|
-
render: Ie(() => import("./OfferDetails-
|
|
13360
|
+
render: Ie(() => import("./OfferDetails-Cgq4TeYp.js")),
|
|
13361
13361
|
icon: YA(xA, { name: "card" }),
|
|
13362
13362
|
type: "assist",
|
|
13363
13363
|
order: 1,
|
|
@@ -13369,7 +13369,7 @@ onClick: ${A.onClick}`);
|
|
|
13369
13369
|
}, DM = {
|
|
13370
13370
|
title: "定制化组件(Progress)",
|
|
13371
13371
|
component: "Progress",
|
|
13372
|
-
render: Ie(() => import("./Progress-
|
|
13372
|
+
render: Ie(() => import("./Progress-C4KMGyaM.js")),
|
|
13373
13373
|
icon: YA(xA, { name: "card" }),
|
|
13374
13374
|
type: "assist",
|
|
13375
13375
|
order: 1,
|
|
@@ -13381,7 +13381,7 @@ onClick: ${A.onClick}`);
|
|
|
13381
13381
|
}, fM = {
|
|
13382
13382
|
title: "日志列表",
|
|
13383
13383
|
component: "LogList",
|
|
13384
|
-
render: Ie(() => import("./LogList-
|
|
13384
|
+
render: Ie(() => import("./LogList-DgVl5B0a.js")),
|
|
13385
13385
|
icon: YA(xA, { name: "card" }),
|
|
13386
13386
|
type: "assist",
|
|
13387
13387
|
order: 12,
|
|
@@ -13395,7 +13395,7 @@ onClick: ${A.onClick}`);
|
|
|
13395
13395
|
icon: YA(xA, { name: "inline" }),
|
|
13396
13396
|
type: "layout",
|
|
13397
13397
|
component: "DragList",
|
|
13398
|
-
render: Ie(() => import("./DragList-
|
|
13398
|
+
render: Ie(() => import("./DragList-BOKd3Nkn.js")),
|
|
13399
13399
|
order: 9,
|
|
13400
13400
|
lbTitle: !0,
|
|
13401
13401
|
attrSchema: {
|
|
@@ -25325,7 +25325,7 @@ onClick: ${i.beforeEnter}`);
|
|
|
25325
25325
|
icon: YA(xA, { name: "library" }),
|
|
25326
25326
|
type: "assist",
|
|
25327
25327
|
order: 10,
|
|
25328
|
-
render: Ie(() => import("./Pagination-
|
|
25328
|
+
render: Ie(() => import("./Pagination-DI4P8FrF.js"))
|
|
25329
25329
|
}, fL = /* @__PURE__ */ ZA({
|
|
25330
25330
|
__name: "Menu",
|
|
25331
25331
|
props: {
|
|
@@ -25389,14 +25389,14 @@ onClick: ${i.beforeEnter}`);
|
|
|
25389
25389
|
}, vL = {
|
|
25390
25390
|
title: "筛选搜索",
|
|
25391
25391
|
component: "FilterSearch",
|
|
25392
|
-
render: Ie(() => import("./FilterSearch-
|
|
25392
|
+
render: Ie(() => import("./FilterSearch-B0Iq08r0.js")),
|
|
25393
25393
|
icon: YA(xA, { name: "card" }),
|
|
25394
25394
|
type: "layout",
|
|
25395
25395
|
order: 10
|
|
25396
25396
|
}, _L = {
|
|
25397
25397
|
title: "无限滚动",
|
|
25398
25398
|
component: "InfiniteScroll",
|
|
25399
|
-
render: Ie(() => import("./InfiniteScroll-
|
|
25399
|
+
render: Ie(() => import("./InfiniteScroll-22k8G62g.js")),
|
|
25400
25400
|
icon: YA(xA, { name: "card" }),
|
|
25401
25401
|
type: "layout",
|
|
25402
25402
|
order: 10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject as A, ref as h, toRaw as y, onMounted as O, watch as o } from "vue";
|
|
2
|
-
import { $ as S, u as V, l as F, i as I } from "./index-
|
|
2
|
+
import { $ as S, u as V, l as F, i as I } from "./index-C8n3bw0x.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const D = () => {
|
|
5
5
|
const { fetchOptionsFn: e } = A(S);
|
package/package.json
CHANGED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, mergeModels as F, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
|
|
2
|
-
import { u as E } from "./index-GRIBKt5D.js";
|
|
3
|
-
import { u as I } from "./useSelect-B8sNW_9o.js";
|
|
4
|
-
const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ D({
|
|
5
|
-
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */ F({
|
|
7
|
-
options: { default: () => [] },
|
|
8
|
-
defaultOptions: {},
|
|
9
|
-
multiple: { type: Boolean, default: !1 },
|
|
10
|
-
mode: { default: "static" },
|
|
11
|
-
labelKey: { default: "label" },
|
|
12
|
-
valueKey: { default: "value" },
|
|
13
|
-
disabledKey: { default: "disabled" },
|
|
14
|
-
env: {},
|
|
15
|
-
apiParams: {},
|
|
16
|
-
dependentFields: {},
|
|
17
|
-
name: { default: "" },
|
|
18
|
-
onChange: {},
|
|
19
|
-
read: { type: Boolean },
|
|
20
|
-
readTextColor: {},
|
|
21
|
-
filters: {},
|
|
22
|
-
refreshFlag: { type: Boolean },
|
|
23
|
-
clearable: { type: Boolean, default: !0 },
|
|
24
|
-
width: {}
|
|
25
|
-
}, {
|
|
26
|
-
modelValue: { type: [String, Number, Boolean, Array] },
|
|
27
|
-
modelModifiers: {}
|
|
28
|
-
}),
|
|
29
|
-
emits: ["update:modelValue"],
|
|
30
|
-
setup(y) {
|
|
31
|
-
const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => l.read || c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
|
|
32
|
-
const { valueKey: t = "value", multiple: n, name: o } = l;
|
|
33
|
-
let a = {};
|
|
34
|
-
if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, c.selectData && o && c.updateSelectData(o, a), l.onChange && f)
|
|
35
|
-
try {
|
|
36
|
-
f[l.onChange](k, e, a);
|
|
37
|
-
} catch (u) {
|
|
38
|
-
console.error(u + `
|
|
39
|
-
onChange: ${l.onChange}`);
|
|
40
|
-
}
|
|
41
|
-
}, { currentOptions: s, loading: w } = I(l), S = p(() => {
|
|
42
|
-
var t;
|
|
43
|
-
if (l.multiple)
|
|
44
|
-
return s.value.filter(
|
|
45
|
-
(o) => d.value.includes(o[l.valueKey])
|
|
46
|
-
).map((o) => o[l.labelKey]).join(",");
|
|
47
|
-
const e = (t = s.value.find((n) => n[l.valueKey] === d.value)) == null ? void 0 : t[l.labelKey];
|
|
48
|
-
return !e || `${e}`.trim().length === 0 ? "--" : e;
|
|
49
|
-
});
|
|
50
|
-
return (e, t) => {
|
|
51
|
-
const n = b("el-option"), o = b("el-select");
|
|
52
|
-
return M.value ? (i(), g("span", {
|
|
53
|
-
key: 0,
|
|
54
|
-
style: A({ color: e.readTextColor })
|
|
55
|
-
}, h(S.value), 5)) : (i(), C(o, N({
|
|
56
|
-
key: 1,
|
|
57
|
-
modelValue: d.value,
|
|
58
|
-
"onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
|
|
59
|
-
}, e.$attrs, {
|
|
60
|
-
onChange: B,
|
|
61
|
-
multiple: e.multiple,
|
|
62
|
-
clearable: V.value,
|
|
63
|
-
filterable: "",
|
|
64
|
-
"fallback-placements": ["bottom"],
|
|
65
|
-
loading: K(w),
|
|
66
|
-
placeholder: "",
|
|
67
|
-
style: { width: e.width }
|
|
68
|
-
}), {
|
|
69
|
-
loading: m(() => t[1] || (t[1] = [
|
|
70
|
-
r("svg", {
|
|
71
|
-
class: "circular",
|
|
72
|
-
viewBox: "0 0 20 20"
|
|
73
|
-
}, [
|
|
74
|
-
r("g", {
|
|
75
|
-
class: "path2 loading-path",
|
|
76
|
-
"stroke-width": "0",
|
|
77
|
-
style: { animation: "none", stroke: "none" }
|
|
78
|
-
}, [
|
|
79
|
-
r("circle", {
|
|
80
|
-
r: "3.375",
|
|
81
|
-
class: "dot1",
|
|
82
|
-
rx: "0",
|
|
83
|
-
ry: "0"
|
|
84
|
-
}),
|
|
85
|
-
r("circle", {
|
|
86
|
-
r: "3.375",
|
|
87
|
-
class: "dot2",
|
|
88
|
-
rx: "0",
|
|
89
|
-
ry: "0"
|
|
90
|
-
}),
|
|
91
|
-
r("circle", {
|
|
92
|
-
r: "3.375",
|
|
93
|
-
class: "dot4",
|
|
94
|
-
rx: "0",
|
|
95
|
-
ry: "0"
|
|
96
|
-
}),
|
|
97
|
-
r("circle", {
|
|
98
|
-
r: "3.375",
|
|
99
|
-
class: "dot3",
|
|
100
|
-
rx: "0",
|
|
101
|
-
ry: "0"
|
|
102
|
-
})
|
|
103
|
-
])
|
|
104
|
-
], -1)
|
|
105
|
-
])),
|
|
106
|
-
default: m(() => [
|
|
107
|
-
r("div", O, [
|
|
108
|
-
(i(!0), g(T, null, $(K(s), (a) => (i(), C(n, {
|
|
109
|
-
key: a[e.valueKey],
|
|
110
|
-
label: a[e.labelKey],
|
|
111
|
-
value: a[e.valueKey],
|
|
112
|
-
disabled: a[e.disabledKey]
|
|
113
|
-
}, {
|
|
114
|
-
default: m(() => [
|
|
115
|
-
j(h(a[e.labelKey]), 1)
|
|
116
|
-
]),
|
|
117
|
-
_: 2
|
|
118
|
-
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
119
|
-
])
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}, 16, ["modelValue", "multiple", "clearable", "loading", "style"]));
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
export {
|
|
127
|
-
R as default
|
|
128
|
-
};
|