element-less 0.0.41 → 0.0.42
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/custom/dynamic/common/propertys/pic.d.ts +178 -7
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +1 -1
- package/element-less.umd.cjs +1 -1
- package/{index-axBVZo7r.js → index-BqEISu3M.js} +136 -71
- package/index-DtJpTuu3.cjs +1 -0
- package/{inner-DYbpSx_L.js → inner-DyK5h15a.js} +1 -1
- package/{inner-BbfmNHd2.cjs → inner-ls9wGnL9.cjs} +1 -1
- package/{innerItem-BtEuQAy1.js → innerItem-Bvj4GHa3.js} +1 -1
- package/{innerItem-BcRQ1KpN.cjs → innerItem-C9zzpO9k.cjs} +1 -1
- package/{mode-csharp-DkXONiai.cjs → mode-csharp-Bs4QQG_r.cjs} +1 -1
- package/{mode-csharp-7SJhUtBp.js → mode-csharp-Dgq2kShz.js} +1 -1
- package/{mode-css-CuUa_k9O.cjs → mode-css-B5RYoKMd.cjs} +1 -1
- package/{mode-css-ORldWOUH.js → mode-css-CScIFYQf.js} +1 -1
- package/{mode-javascript-CGKaSktq.cjs → mode-javascript-BJzNrPT1.cjs} +1 -1
- package/{mode-javascript-DH3o0boO.js → mode-javascript-C9rw2J37.js} +1 -1
- package/{mode-json-DTUcO83z.js → mode-json-C0xziyfR.js} +1 -1
- package/{mode-json-CQ1plwqZ.cjs → mode-json-hMarzVpt.cjs} +1 -1
- package/{mode-mysql-DXFB7DI9.cjs → mode-mysql-B0yi8VgG.cjs} +1 -1
- package/{mode-mysql-zPVTdkUW.js → mode-mysql-TmVyatzM.js} +1 -1
- package/package.json +65 -65
- package/index-DK7UBAKH.cjs +0 -1
|
@@ -13389,6 +13389,8 @@ let Upload$2 = class Upload extends TBaseFormItem {
|
|
|
13389
13389
|
}
|
|
13390
13390
|
return props.drag;
|
|
13391
13391
|
});
|
|
13392
|
+
const axiosInstance2 = getAxiosInstance();
|
|
13393
|
+
const currHeader = props.headers ? props.headers : axiosInstance2.defaults.headers.common;
|
|
13392
13394
|
return createVNode(Fragment, null, [createVNode("div", {
|
|
13393
13395
|
"class": "els_upload_container"
|
|
13394
13396
|
}, [createVNode(resolveComponent("el-upload"), mergeProps({
|
|
@@ -13407,6 +13409,7 @@ let Upload$2 = class Upload extends TBaseFormItem {
|
|
|
13407
13409
|
"before-upload": this.handleBeforeUpload,
|
|
13408
13410
|
"on-preview": this.handlePreview,
|
|
13409
13411
|
"showFileList": showFileList.value,
|
|
13412
|
+
"headers": currHeader,
|
|
13410
13413
|
"listType": props.type == "Pic" && props.multiple || props.type == "MutiPic" ? "picture-card" : "text",
|
|
13411
13414
|
"disabled": this.uploadLoading.value
|
|
13412
13415
|
}), {
|
|
@@ -21567,8 +21570,7 @@ const property_pic = [
|
|
|
21567
21570
|
"arrayConfig": {}
|
|
21568
21571
|
},
|
|
21569
21572
|
"componentType": "Input",
|
|
21570
|
-
"dataType": "String"
|
|
21571
|
-
"formItem": true
|
|
21573
|
+
"dataType": "String"
|
|
21572
21574
|
},
|
|
21573
21575
|
{
|
|
21574
21576
|
"keyID": "d1dbb0e693a82a2e813338c4b5f7a8fe",
|
|
@@ -21608,8 +21610,7 @@ const property_pic = [
|
|
|
21608
21610
|
"arrayConfig": {}
|
|
21609
21611
|
},
|
|
21610
21612
|
"componentType": "Input",
|
|
21611
|
-
"dataType": "String"
|
|
21612
|
-
"formItem": true
|
|
21613
|
+
"dataType": "String"
|
|
21613
21614
|
},
|
|
21614
21615
|
{
|
|
21615
21616
|
"keyID": "81704d07c46be9883f52fff36096c470",
|
|
@@ -21666,8 +21667,7 @@ const property_pic = [
|
|
|
21666
21667
|
"arrayConfig": {}
|
|
21667
21668
|
},
|
|
21668
21669
|
"componentType": "Radio",
|
|
21669
|
-
"dataType": "String"
|
|
21670
|
-
"formItem": true
|
|
21670
|
+
"dataType": "String"
|
|
21671
21671
|
},
|
|
21672
21672
|
{
|
|
21673
21673
|
"keyID": "b0c58a556779de8a47657b5d3edef014",
|
|
@@ -21712,8 +21712,7 @@ const property_pic = [
|
|
|
21712
21712
|
"arrayConfig": {}
|
|
21713
21713
|
},
|
|
21714
21714
|
"componentType": "Input",
|
|
21715
|
-
"dataType": "String"
|
|
21716
|
-
"formItem": true
|
|
21715
|
+
"dataType": "String"
|
|
21717
21716
|
},
|
|
21718
21717
|
{
|
|
21719
21718
|
"keyID": "1941031bd3d8bdd983a7c61913ac3d5f",
|
|
@@ -21753,8 +21752,7 @@ const property_pic = [
|
|
|
21753
21752
|
"arrayConfig": {}
|
|
21754
21753
|
},
|
|
21755
21754
|
"componentType": "Input",
|
|
21756
|
-
"dataType": "String"
|
|
21757
|
-
"formItem": true
|
|
21755
|
+
"dataType": "String"
|
|
21758
21756
|
}
|
|
21759
21757
|
],
|
|
21760
21758
|
"config": {
|
|
@@ -21774,8 +21772,7 @@ const property_pic = [
|
|
|
21774
21772
|
"arrayConfig": {}
|
|
21775
21773
|
},
|
|
21776
21774
|
"componentType": "Row",
|
|
21777
|
-
"dataType": "None"
|
|
21778
|
-
"formItem": false
|
|
21775
|
+
"dataType": "None"
|
|
21779
21776
|
},
|
|
21780
21777
|
{
|
|
21781
21778
|
"keyID": "6883b83615ea250e48565d57b2d35129",
|
|
@@ -21820,8 +21817,7 @@ const property_pic = [
|
|
|
21820
21817
|
"arrayConfig": {}
|
|
21821
21818
|
},
|
|
21822
21819
|
"componentType": "Input",
|
|
21823
|
-
"dataType": "String"
|
|
21824
|
-
"formItem": true
|
|
21820
|
+
"dataType": "String"
|
|
21825
21821
|
},
|
|
21826
21822
|
{
|
|
21827
21823
|
"keyID": "61f4392caabdb4e90c59c255cb086457",
|
|
@@ -21861,8 +21857,7 @@ const property_pic = [
|
|
|
21861
21857
|
"arrayConfig": {}
|
|
21862
21858
|
},
|
|
21863
21859
|
"componentType": "Input",
|
|
21864
|
-
"dataType": "String"
|
|
21865
|
-
"formItem": true
|
|
21860
|
+
"dataType": "String"
|
|
21866
21861
|
}
|
|
21867
21862
|
],
|
|
21868
21863
|
"config": {
|
|
@@ -21882,49 +21877,123 @@ const property_pic = [
|
|
|
21882
21877
|
"arrayConfig": {}
|
|
21883
21878
|
},
|
|
21884
21879
|
"componentType": "Row",
|
|
21885
|
-
"dataType": "None"
|
|
21886
|
-
"formItem": false
|
|
21880
|
+
"dataType": "None"
|
|
21887
21881
|
},
|
|
21888
21882
|
{
|
|
21889
|
-
"keyID": "
|
|
21890
|
-
"keyName": "
|
|
21891
|
-
"keyCode": "
|
|
21892
|
-
"children": [
|
|
21893
|
-
|
|
21894
|
-
|
|
21895
|
-
"
|
|
21896
|
-
"
|
|
21897
|
-
"
|
|
21898
|
-
"
|
|
21899
|
-
|
|
21900
|
-
|
|
21901
|
-
|
|
21883
|
+
"keyID": "id_3048",
|
|
21884
|
+
"keyName": "栅格行",
|
|
21885
|
+
"keyCode": "",
|
|
21886
|
+
"children": [
|
|
21887
|
+
{
|
|
21888
|
+
"keyID": "7a9f6a9ff34b9e589df040d2d2bf2767",
|
|
21889
|
+
"keyName": "文件类型",
|
|
21890
|
+
"keyCode": "fileTypes",
|
|
21891
|
+
"children": [],
|
|
21892
|
+
"config": {
|
|
21893
|
+
"formConfig": {
|
|
21894
|
+
"labelWidth": "",
|
|
21895
|
+
"required": false,
|
|
21896
|
+
"requiredMessage": "",
|
|
21897
|
+
"validType": "",
|
|
21898
|
+
"validExpression": "",
|
|
21899
|
+
"validMessage": "",
|
|
21900
|
+
"validMethod": ""
|
|
21901
|
+
},
|
|
21902
|
+
"baseConfig": {
|
|
21903
|
+
"width": "",
|
|
21904
|
+
"placeholder": "",
|
|
21905
|
+
"prefixIcon": "",
|
|
21906
|
+
"suffixIcon": "",
|
|
21907
|
+
"prefixTag": "",
|
|
21908
|
+
"suffixTag": "",
|
|
21909
|
+
"maxlength": "",
|
|
21910
|
+
"showWordLimit": false,
|
|
21911
|
+
"clearable": false,
|
|
21912
|
+
"isPassword": false,
|
|
21913
|
+
"isTrim": false,
|
|
21914
|
+
"encode": false
|
|
21915
|
+
},
|
|
21916
|
+
"advancedConfig": {
|
|
21917
|
+
"style": "",
|
|
21918
|
+
"vif": "",
|
|
21919
|
+
"disabled": "",
|
|
21920
|
+
"eventChange": ""
|
|
21921
|
+
},
|
|
21922
|
+
"arrayConfig": {}
|
|
21923
|
+
},
|
|
21924
|
+
"componentType": "Input",
|
|
21925
|
+
"dataType": "String"
|
|
21902
21926
|
},
|
|
21927
|
+
{
|
|
21928
|
+
"keyID": "id_8846",
|
|
21929
|
+
"keyName": "值类型",
|
|
21930
|
+
"keyCode": "valueType",
|
|
21931
|
+
"children": [],
|
|
21932
|
+
"dataType": "String",
|
|
21933
|
+
"arrayDataType": "",
|
|
21934
|
+
"componentTypeLabel": "下拉列表",
|
|
21935
|
+
"componentType": "Select",
|
|
21936
|
+
"icon": "select",
|
|
21937
|
+
"operateType": "picker",
|
|
21938
|
+
"slots": [
|
|
21939
|
+
{
|
|
21940
|
+
"name": "header",
|
|
21941
|
+
"children": []
|
|
21942
|
+
},
|
|
21943
|
+
{
|
|
21944
|
+
"name": "default",
|
|
21945
|
+
"children": []
|
|
21946
|
+
},
|
|
21947
|
+
{
|
|
21948
|
+
"name": "label",
|
|
21949
|
+
"children": []
|
|
21950
|
+
}
|
|
21951
|
+
],
|
|
21952
|
+
"config": {
|
|
21953
|
+
"formConfig": {},
|
|
21954
|
+
"baseConfig": {
|
|
21955
|
+
"dataType": 1,
|
|
21956
|
+
"placeholder": "",
|
|
21957
|
+
"data": [
|
|
21958
|
+
{
|
|
21959
|
+
"label": "String",
|
|
21960
|
+
"value": "String"
|
|
21961
|
+
},
|
|
21962
|
+
{
|
|
21963
|
+
"label": "Array",
|
|
21964
|
+
"value": "Array"
|
|
21965
|
+
}
|
|
21966
|
+
],
|
|
21967
|
+
"filterable": true,
|
|
21968
|
+
"width": "",
|
|
21969
|
+
"height": "",
|
|
21970
|
+
"clearable": true,
|
|
21971
|
+
"teleported": true,
|
|
21972
|
+
"optionDirection": "",
|
|
21973
|
+
"no-match-text": ""
|
|
21974
|
+
},
|
|
21975
|
+
"advancedConfig": {},
|
|
21976
|
+
"arrayConfig": {}
|
|
21977
|
+
}
|
|
21978
|
+
}
|
|
21979
|
+
],
|
|
21980
|
+
"dataType": "None",
|
|
21981
|
+
"arrayDataType": "",
|
|
21982
|
+
"componentTypeLabel": "栅格行",
|
|
21983
|
+
"componentType": "Row",
|
|
21984
|
+
"icon": "layout-two",
|
|
21985
|
+
"slots": [],
|
|
21986
|
+
"config": {
|
|
21987
|
+
"formConfig": {},
|
|
21903
21988
|
"baseConfig": {
|
|
21904
|
-
"
|
|
21905
|
-
"
|
|
21906
|
-
"
|
|
21907
|
-
"
|
|
21908
|
-
"prefixTag": "",
|
|
21909
|
-
"suffixTag": "",
|
|
21910
|
-
"maxlength": "",
|
|
21911
|
-
"showWordLimit": false,
|
|
21912
|
-
"clearable": false,
|
|
21913
|
-
"isPassword": false,
|
|
21914
|
-
"isTrim": false,
|
|
21915
|
-
"encode": false
|
|
21916
|
-
},
|
|
21917
|
-
"advancedConfig": {
|
|
21918
|
-
"style": "",
|
|
21919
|
-
"vif": "",
|
|
21920
|
-
"disabled": "",
|
|
21921
|
-
"eventChange": ""
|
|
21989
|
+
"gutter": 10,
|
|
21990
|
+
"justify": "start",
|
|
21991
|
+
"align": "",
|
|
21992
|
+
"tag": "div"
|
|
21922
21993
|
},
|
|
21994
|
+
"advancedConfig": {},
|
|
21923
21995
|
"arrayConfig": {}
|
|
21924
|
-
}
|
|
21925
|
-
"componentType": "Input",
|
|
21926
|
-
"dataType": "String",
|
|
21927
|
-
"formItem": true
|
|
21996
|
+
}
|
|
21928
21997
|
},
|
|
21929
21998
|
{
|
|
21930
21999
|
"keyID": "e5041a10342b4f1a233398c4241c0450",
|
|
@@ -21961,8 +22030,7 @@ const property_pic = [
|
|
|
21961
22030
|
"arrayConfig": {}
|
|
21962
22031
|
},
|
|
21963
22032
|
"componentType": "Switch",
|
|
21964
|
-
"dataType": "Bool"
|
|
21965
|
-
"formItem": true
|
|
22033
|
+
"dataType": "Bool"
|
|
21966
22034
|
},
|
|
21967
22035
|
{
|
|
21968
22036
|
"keyID": "45821220bef3c5ef1ac3bfa11af3bb38",
|
|
@@ -21994,8 +22062,7 @@ const property_pic = [
|
|
|
21994
22062
|
"arrayConfig": {}
|
|
21995
22063
|
},
|
|
21996
22064
|
"componentType": "Switch",
|
|
21997
|
-
"dataType": "Bool"
|
|
21998
|
-
"formItem": true
|
|
22065
|
+
"dataType": "Bool"
|
|
21999
22066
|
}
|
|
22000
22067
|
],
|
|
22001
22068
|
"config": {
|
|
@@ -22015,8 +22082,7 @@ const property_pic = [
|
|
|
22015
22082
|
"arrayConfig": {}
|
|
22016
22083
|
},
|
|
22017
22084
|
"componentType": "Row",
|
|
22018
|
-
"dataType": "None"
|
|
22019
|
-
"formItem": false
|
|
22085
|
+
"dataType": "None"
|
|
22020
22086
|
}
|
|
22021
22087
|
],
|
|
22022
22088
|
"dataType": "None",
|
|
@@ -22045,8 +22111,7 @@ const property_pic = [
|
|
|
22045
22111
|
"eventChange": ""
|
|
22046
22112
|
},
|
|
22047
22113
|
"arrayConfig": {}
|
|
22048
|
-
}
|
|
22049
|
-
"formItem": false
|
|
22114
|
+
}
|
|
22050
22115
|
}
|
|
22051
22116
|
];
|
|
22052
22117
|
const property_textarea = [
|
|
@@ -38512,7 +38577,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
38512
38577
|
emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
|
|
38513
38578
|
setup(__props, { emit: __emit }) {
|
|
38514
38579
|
const DynamicDesignerInnerItem = defineAsyncComponent(() => {
|
|
38515
|
-
return import("./innerItem-
|
|
38580
|
+
return import("./innerItem-Bvj4GHa3.js");
|
|
38516
38581
|
});
|
|
38517
38582
|
const { getValue: getValue2 } = useProps();
|
|
38518
38583
|
const tagID = getValue2("tagID");
|
|
@@ -39362,10 +39427,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
39362
39427
|
emits: ["update:modelValue"],
|
|
39363
39428
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39364
39429
|
const DynamicRenderInner = defineAsyncComponent(() => {
|
|
39365
|
-
return import("./inner-
|
|
39430
|
+
return import("./inner-DyK5h15a.js").then((n) => n.i);
|
|
39366
39431
|
});
|
|
39367
39432
|
const DynamicRenderForm = defineAsyncComponent(() => {
|
|
39368
|
-
return import("./inner-
|
|
39433
|
+
return import("./inner-DyK5h15a.js").then((n) => n.f);
|
|
39369
39434
|
});
|
|
39370
39435
|
const props = __props;
|
|
39371
39436
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -39595,10 +39660,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
39595
39660
|
emits: ["update:modelValue"],
|
|
39596
39661
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39597
39662
|
const DynamicRenderInnerAsync = defineAsyncComponent(() => {
|
|
39598
|
-
return import("./inner-
|
|
39663
|
+
return import("./inner-DyK5h15a.js").then((n) => n.i);
|
|
39599
39664
|
});
|
|
39600
39665
|
const DynamicRenderFormAsync = defineAsyncComponent(() => {
|
|
39601
|
-
return import("./inner-
|
|
39666
|
+
return import("./inner-DyK5h15a.js").then((n) => n.f);
|
|
39602
39667
|
});
|
|
39603
39668
|
const props = __props;
|
|
39604
39669
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -44407,31 +44472,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
|
|
|
44407
44472
|
__publicField(this, "editor", ref());
|
|
44408
44473
|
onMounted(() => {
|
|
44409
44474
|
if (props.language === "json") {
|
|
44410
|
-
const currModule = import("./mode-json-
|
|
44475
|
+
const currModule = import("./mode-json-C0xziyfR.js").then((n) => n.m);
|
|
44411
44476
|
currModule.then((res) => {
|
|
44412
44477
|
ace.config.setModuleUrl("ace/mode/json", res);
|
|
44413
44478
|
this.init();
|
|
44414
44479
|
});
|
|
44415
44480
|
} else if (props.language === "javascript") {
|
|
44416
|
-
const currModule = import("./mode-javascript-
|
|
44481
|
+
const currModule = import("./mode-javascript-C9rw2J37.js").then((n) => n.m);
|
|
44417
44482
|
currModule.then((res) => {
|
|
44418
44483
|
ace.config.setModuleUrl("ace/mode/javascript", res);
|
|
44419
44484
|
this.init();
|
|
44420
44485
|
});
|
|
44421
44486
|
} else if (props.language === "csharp") {
|
|
44422
|
-
const currModule = import("./mode-csharp-
|
|
44487
|
+
const currModule = import("./mode-csharp-Dgq2kShz.js").then((n) => n.m);
|
|
44423
44488
|
currModule.then((res) => {
|
|
44424
44489
|
ace.config.setModuleUrl("ace/mode/csharp", res);
|
|
44425
44490
|
this.init();
|
|
44426
44491
|
});
|
|
44427
44492
|
} else if (props.language === "mysql") {
|
|
44428
|
-
const currModule = import("./mode-mysql-
|
|
44493
|
+
const currModule = import("./mode-mysql-TmVyatzM.js").then((n) => n.m);
|
|
44429
44494
|
currModule.then((res) => {
|
|
44430
44495
|
ace.config.setModuleUrl("ace/mode/mysql", res);
|
|
44431
44496
|
this.init();
|
|
44432
44497
|
});
|
|
44433
44498
|
} else if (props.language === "css") {
|
|
44434
|
-
const currModule = import("./mode-css-
|
|
44499
|
+
const currModule = import("./mode-css-CScIFYQf.js").then((n) => n.m);
|
|
44435
44500
|
currModule.then((res) => {
|
|
44436
44501
|
ace.config.setModuleUrl("ace/mode/css", res);
|
|
44437
44502
|
this.init();
|