element-less 0.0.31 → 0.0.32
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/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-C8Fm5vpG.js → index-BI89BNeA.js} +35 -49
- package/index-BO55iFtS.cjs +1 -0
- package/{inner-DP1FUWPG.cjs → inner-BvNVMJAk.cjs} +1 -1
- package/{inner-BOUBmW3w.js → inner-wfALB2Xi.js} +1 -1
- package/{innerItem-Csv2v9fY.cjs → innerItem-B4-Ei2zz.cjs} +1 -1
- package/{innerItem-g5cb8TOs.js → innerItem-CjEXcxPQ.js} +1 -1
- package/{mode-csharp-DSQ1JdeM.js → mode-csharp-CFrOHziI.js} +1 -1
- package/{mode-csharp-BPQieMAq.cjs → mode-csharp-pcSYh5ef.cjs} +1 -1
- package/{mode-css-CbsLjzWP.js → mode-css-7U33znGJ.js} +1 -1
- package/{mode-css-DJSn9ugw.cjs → mode-css-BAryeYKj.cjs} +1 -1
- package/{mode-javascript-BgrFiX2V.cjs → mode-javascript-TuVk8v3B.cjs} +1 -1
- package/{mode-javascript-BTj58qX0.js → mode-javascript-fhG4KxFO.js} +1 -1
- package/{mode-json-C0UdulLK.cjs → mode-json-B79fV6z1.cjs} +1 -1
- package/{mode-json-DtlBl_cb.js → mode-json-BVtwLN-c.js} +1 -1
- package/{mode-mysql-D0kSGJGV.cjs → mode-mysql-B9BdkXi7.cjs} +1 -1
- package/{mode-mysql-BfBY--7J.js → mode-mysql-ZefAWbv4.js} +1 -1
- package/package.json +1 -1
- package/index-qgyf9W8h.cjs +0 -1
|
@@ -4500,7 +4500,7 @@ function useTree(props = {}, dataTree, defaultEmits, componentName) {
|
|
|
4500
4500
|
label: ele[props.labelField],
|
|
4501
4501
|
value: ele[props.valueField],
|
|
4502
4502
|
disabled: props.disabledField ? ele[props.disabledField] : false,
|
|
4503
|
-
children:
|
|
4503
|
+
children: ele.children ? ele.children : [],
|
|
4504
4504
|
sourceData: ele
|
|
4505
4505
|
};
|
|
4506
4506
|
});
|
|
@@ -15288,7 +15288,6 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15288
15288
|
__name: "menuTool",
|
|
15289
15289
|
props: menuToolProps,
|
|
15290
15290
|
setup(__props, { expose: __expose }) {
|
|
15291
|
-
getCurrentInstance();
|
|
15292
15291
|
const container = useContainer();
|
|
15293
15292
|
const props = __props;
|
|
15294
15293
|
const menuConfig = utils.getMenuConfig();
|
|
@@ -15305,9 +15304,6 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15305
15304
|
const menuData = reactive([]);
|
|
15306
15305
|
const foldMenuData = reactive([]);
|
|
15307
15306
|
const lastMenuData = reactive([]);
|
|
15308
|
-
const isPlain = ref(false);
|
|
15309
|
-
const isRound = ref(false);
|
|
15310
|
-
const isCircle = ref(false);
|
|
15311
15307
|
const dialogLogVisible = ref(false);
|
|
15312
15308
|
const dialogDocVisible = ref(false);
|
|
15313
15309
|
const dialogNoteVisible = ref(false);
|
|
@@ -15316,15 +15312,6 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15316
15312
|
previewImg: "",
|
|
15317
15313
|
uploadUrl: ""
|
|
15318
15314
|
});
|
|
15319
|
-
if (props.buttonType == "Plain") {
|
|
15320
|
-
isPlain.value = true;
|
|
15321
|
-
}
|
|
15322
|
-
if (props.buttonType == "Round") {
|
|
15323
|
-
isRound.value = true;
|
|
15324
|
-
}
|
|
15325
|
-
if (props.buttonType == "Circle") {
|
|
15326
|
-
isCircle.value = true;
|
|
15327
|
-
}
|
|
15328
15315
|
watch(() => props.url, (val) => {
|
|
15329
15316
|
if (val) {
|
|
15330
15317
|
val.post({}).then((res) => {
|
|
@@ -15444,17 +15431,16 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15444
15431
|
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
15445
15432
|
createElementVNode("div", _hoisted_2$W, [
|
|
15446
15433
|
(openBlock(true), createElementBlock(Fragment, null, renderList(menuData, (menu) => {
|
|
15447
|
-
return openBlock(), createBlock(_component_el_button, {
|
|
15434
|
+
return openBlock(), createBlock(_component_el_button, mergeProps({
|
|
15448
15435
|
type: menu[unref(buttonColorFieldname)],
|
|
15449
15436
|
icon: menu[unref(iconFieldname)] ? menu[unref(iconFieldname)].replace("el-icon-", "") : "",
|
|
15437
|
+
ref_for: true
|
|
15438
|
+
}, _ctx.$attrs, {
|
|
15450
15439
|
key: menu[unref(idFieldname)],
|
|
15451
15440
|
"native-type": menu[unref(actionFieldname)] == "Search" || menu[unref(actionFieldname)] == "Save" ? "submit" : "button",
|
|
15452
|
-
plain: isPlain.value,
|
|
15453
|
-
round: isRound.value,
|
|
15454
|
-
circle: isCircle.value,
|
|
15455
15441
|
loading: menu.IsLoading,
|
|
15456
15442
|
onClick: ($event) => menuCommand(menu)
|
|
15457
|
-
}, createSlots({
|
|
15443
|
+
}), createSlots({
|
|
15458
15444
|
default: withCtx(() => [
|
|
15459
15445
|
createTextVNode(" " + toDisplayString(_ctx.showMenuName ? menu[unref(nameFieldname)] : ""), 1)
|
|
15460
15446
|
]),
|
|
@@ -15470,7 +15456,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15470
15456
|
]),
|
|
15471
15457
|
key: "0"
|
|
15472
15458
|
} : void 0
|
|
15473
|
-
]),
|
|
15459
|
+
]), 1040, ["type", "icon", "native-type", "loading", "onClick"]);
|
|
15474
15460
|
}), 128)),
|
|
15475
15461
|
(openBlock(true), createElementBlock(Fragment, null, renderList(foldMenuData, (foldData, cindex) => {
|
|
15476
15462
|
return openBlock(), createBlock(_component_el_dropdown, {
|
|
@@ -15499,10 +15485,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15499
15485
|
}, 1024)
|
|
15500
15486
|
]),
|
|
15501
15487
|
default: withCtx(() => [
|
|
15502
|
-
createVNode(_component_el_button, {
|
|
15488
|
+
createVNode(_component_el_button, mergeProps({
|
|
15503
15489
|
type: "primary",
|
|
15504
|
-
icon: "Menu"
|
|
15505
|
-
|
|
15490
|
+
icon: "Menu",
|
|
15491
|
+
ref_for: true
|
|
15492
|
+
}, _ctx.$attrs), {
|
|
15506
15493
|
default: withCtx(() => [
|
|
15507
15494
|
createTextVNode(toDisplayString(foldData.key), 1),
|
|
15508
15495
|
createVNode(_component_el_icon, null, {
|
|
@@ -15513,24 +15500,23 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15513
15500
|
})
|
|
15514
15501
|
]),
|
|
15515
15502
|
_: 2
|
|
15516
|
-
},
|
|
15503
|
+
}, 1040)
|
|
15517
15504
|
]),
|
|
15518
15505
|
_: 2
|
|
15519
15506
|
}, 1024);
|
|
15520
15507
|
}), 128)),
|
|
15521
15508
|
renderSlot(_ctx.$slots, "default"),
|
|
15522
15509
|
(openBlock(true), createElementBlock(Fragment, null, renderList(lastMenuData, (menu) => {
|
|
15523
|
-
return openBlock(), createBlock(_component_el_button, {
|
|
15510
|
+
return openBlock(), createBlock(_component_el_button, mergeProps({
|
|
15524
15511
|
type: menu[unref(buttonColorFieldname)],
|
|
15525
15512
|
key: menu[unref(idFieldname)],
|
|
15526
15513
|
icon: menu[unref(iconFieldname)] ? menu[unref(iconFieldname)].replace("el-icon-", "") : "",
|
|
15527
15514
|
"native-type": menu[unref(actionFieldname)] == "Search" || menu[unref(actionFieldname)] == "Save" ? "submit" : "button",
|
|
15528
|
-
|
|
15529
|
-
|
|
15530
|
-
circle: isCircle.value,
|
|
15515
|
+
ref_for: true
|
|
15516
|
+
}, _ctx.$attrs, {
|
|
15531
15517
|
loading: menu.IsLoading,
|
|
15532
15518
|
onClick: ($event) => menuCommand(menu)
|
|
15533
|
-
}, createSlots({
|
|
15519
|
+
}), createSlots({
|
|
15534
15520
|
default: withCtx(() => [
|
|
15535
15521
|
createTextVNode(" " + toDisplayString(_ctx.showMenuName ? menu[unref(nameFieldname)] : ""), 1)
|
|
15536
15522
|
]),
|
|
@@ -15546,7 +15532,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15546
15532
|
]),
|
|
15547
15533
|
key: "0"
|
|
15548
15534
|
} : void 0
|
|
15549
|
-
]),
|
|
15535
|
+
]), 1040, ["type", "icon", "native-type", "loading", "onClick"]);
|
|
15550
15536
|
}), 128))
|
|
15551
15537
|
]),
|
|
15552
15538
|
_ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$F, [
|
|
@@ -15556,31 +15542,31 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15556
15542
|
content: "可以双击指定行单独编辑"
|
|
15557
15543
|
}, {
|
|
15558
15544
|
default: withCtx(() => [
|
|
15559
|
-
!isTableEdit.value ? (openBlock(), createBlock(_component_el_button, {
|
|
15545
|
+
!isTableEdit.value ? (openBlock(), createBlock(_component_el_button, mergeProps({
|
|
15560
15546
|
key: 0,
|
|
15561
15547
|
onClick: handleEditTable,
|
|
15562
15548
|
type: "primary"
|
|
15563
|
-
}, {
|
|
15549
|
+
}, _ctx.$attrs), {
|
|
15564
15550
|
default: withCtx(() => [
|
|
15565
15551
|
_hoisted_4$z,
|
|
15566
15552
|
createTextVNode("批量编辑 ")
|
|
15567
15553
|
]),
|
|
15568
15554
|
_: 1
|
|
15569
|
-
})) : createCommentVNode("", true)
|
|
15555
|
+
}, 16)) : createCommentVNode("", true)
|
|
15570
15556
|
]),
|
|
15571
15557
|
_: 1
|
|
15572
15558
|
})) : _ctx.mutiSaveUrl ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
15573
|
-
createVNode(_component_el_button, {
|
|
15559
|
+
createVNode(_component_el_button, mergeProps({
|
|
15574
15560
|
onClick: handleSaveTable,
|
|
15575
15561
|
type: "success",
|
|
15576
15562
|
loading: saveDataLoading.value
|
|
15577
|
-
}, {
|
|
15563
|
+
}, _ctx.$attrs), {
|
|
15578
15564
|
default: withCtx(() => [
|
|
15579
15565
|
_hoisted_5$m,
|
|
15580
15566
|
createTextVNode("批量保存 ")
|
|
15581
15567
|
]),
|
|
15582
15568
|
_: 1
|
|
15583
|
-
},
|
|
15569
|
+
}, 16, ["loading"]),
|
|
15584
15570
|
createVNode(_component_el_button, {
|
|
15585
15571
|
onClick: handleUnEditTable,
|
|
15586
15572
|
type: "info"
|
|
@@ -15631,10 +15617,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15631
15617
|
})
|
|
15632
15618
|
]),
|
|
15633
15619
|
default: withCtx(() => [
|
|
15634
|
-
createVNode(_component_el_button, {
|
|
15620
|
+
createVNode(_component_el_button, mergeProps({
|
|
15635
15621
|
type: "primary",
|
|
15636
15622
|
icon: "menu"
|
|
15637
|
-
}, {
|
|
15623
|
+
}, _ctx.$attrs), {
|
|
15638
15624
|
default: withCtx(() => [
|
|
15639
15625
|
createTextVNode("更多"),
|
|
15640
15626
|
createVNode(_component_el_icon, null, {
|
|
@@ -15645,7 +15631,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
15645
15631
|
})
|
|
15646
15632
|
]),
|
|
15647
15633
|
_: 1
|
|
15648
|
-
})
|
|
15634
|
+
}, 16)
|
|
15649
15635
|
]),
|
|
15650
15636
|
_: 1
|
|
15651
15637
|
})) : createCommentVNode("", true)
|
|
@@ -38406,7 +38392,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
38406
38392
|
emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
|
|
38407
38393
|
setup(__props, { emit: __emit }) {
|
|
38408
38394
|
const DynamicDesignerInnerItem = defineAsyncComponent(() => {
|
|
38409
|
-
return import("./innerItem-
|
|
38395
|
+
return import("./innerItem-CjEXcxPQ.js");
|
|
38410
38396
|
});
|
|
38411
38397
|
const { getValue: getValue2 } = useProps();
|
|
38412
38398
|
const tagID = getValue2("tagID");
|
|
@@ -39256,10 +39242,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
39256
39242
|
emits: ["update:modelValue"],
|
|
39257
39243
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39258
39244
|
const DynamicRenderInner = defineAsyncComponent(() => {
|
|
39259
|
-
return import("./inner-
|
|
39245
|
+
return import("./inner-wfALB2Xi.js").then((n) => n.i);
|
|
39260
39246
|
});
|
|
39261
39247
|
const DynamicRenderForm = defineAsyncComponent(() => {
|
|
39262
|
-
return import("./inner-
|
|
39248
|
+
return import("./inner-wfALB2Xi.js").then((n) => n.f);
|
|
39263
39249
|
});
|
|
39264
39250
|
const props = __props;
|
|
39265
39251
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -39489,10 +39475,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
39489
39475
|
emits: ["update:modelValue"],
|
|
39490
39476
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39491
39477
|
const DynamicRenderInnerAsync = defineAsyncComponent(() => {
|
|
39492
|
-
return import("./inner-
|
|
39478
|
+
return import("./inner-wfALB2Xi.js").then((n) => n.i);
|
|
39493
39479
|
});
|
|
39494
39480
|
const DynamicRenderFormAsync = defineAsyncComponent(() => {
|
|
39495
|
-
return import("./inner-
|
|
39481
|
+
return import("./inner-wfALB2Xi.js").then((n) => n.f);
|
|
39496
39482
|
});
|
|
39497
39483
|
const props = __props;
|
|
39498
39484
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -44301,31 +44287,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
|
|
|
44301
44287
|
__publicField(this, "editor", ref());
|
|
44302
44288
|
onMounted(() => {
|
|
44303
44289
|
if (props.language === "json") {
|
|
44304
|
-
const currModule = import("./mode-json-
|
|
44290
|
+
const currModule = import("./mode-json-BVtwLN-c.js").then((n) => n.m);
|
|
44305
44291
|
currModule.then((res) => {
|
|
44306
44292
|
ace.config.setModuleUrl("ace/mode/json", res);
|
|
44307
44293
|
this.init();
|
|
44308
44294
|
});
|
|
44309
44295
|
} else if (props.language === "javascript") {
|
|
44310
|
-
const currModule = import("./mode-javascript-
|
|
44296
|
+
const currModule = import("./mode-javascript-fhG4KxFO.js").then((n) => n.m);
|
|
44311
44297
|
currModule.then((res) => {
|
|
44312
44298
|
ace.config.setModuleUrl("ace/mode/javascript", res);
|
|
44313
44299
|
this.init();
|
|
44314
44300
|
});
|
|
44315
44301
|
} else if (props.language === "csharp") {
|
|
44316
|
-
const currModule = import("./mode-csharp-
|
|
44302
|
+
const currModule = import("./mode-csharp-CFrOHziI.js").then((n) => n.m);
|
|
44317
44303
|
currModule.then((res) => {
|
|
44318
44304
|
ace.config.setModuleUrl("ace/mode/csharp", res);
|
|
44319
44305
|
this.init();
|
|
44320
44306
|
});
|
|
44321
44307
|
} else if (props.language === "mysql") {
|
|
44322
|
-
const currModule = import("./mode-mysql-
|
|
44308
|
+
const currModule = import("./mode-mysql-ZefAWbv4.js").then((n) => n.m);
|
|
44323
44309
|
currModule.then((res) => {
|
|
44324
44310
|
ace.config.setModuleUrl("ace/mode/mysql", res);
|
|
44325
44311
|
this.init();
|
|
44326
44312
|
});
|
|
44327
44313
|
} else if (props.language === "css") {
|
|
44328
|
-
const currModule = import("./mode-css-
|
|
44314
|
+
const currModule = import("./mode-css-7U33znGJ.js").then((n) => n.m);
|
|
44329
44315
|
currModule.then((res) => {
|
|
44330
44316
|
ace.config.setModuleUrl("ace/mode/css", res);
|
|
44331
44317
|
this.init();
|