@yoooloo42/joker 1.0.61 → 1.0.63
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/index.cjs.js +103 -106
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +104 -107
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRouter } from 'vue-router';
|
|
2
|
-
import {
|
|
2
|
+
import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, unref } from 'vue';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
m.forEach(function (e) {
|
|
@@ -22414,23 +22414,19 @@ var styleModule = {
|
|
|
22414
22414
|
|
|
22415
22415
|
var script$h = {
|
|
22416
22416
|
__name: 'LabelBox',
|
|
22417
|
-
props: ["myProps", "dataBox", "item"],
|
|
22417
|
+
props: ["scopeThis", "myProps", "dataBox", "item"],
|
|
22418
22418
|
setup(__props) {
|
|
22419
22419
|
|
|
22420
22420
|
const props = __props;
|
|
22421
22421
|
|
|
22422
|
-
const style = {
|
|
22423
|
-
box:
|
|
22424
|
-
|
|
22425
|
-
|
|
22426
|
-
label: computed(()=>{
|
|
22427
|
-
return styleModule.label.label(props.item)
|
|
22428
|
-
}),
|
|
22429
|
-
};
|
|
22422
|
+
const style = ref({
|
|
22423
|
+
box: styleModule.label.box(props.item),
|
|
22424
|
+
label: styleModule.label.label(props.item),
|
|
22425
|
+
});
|
|
22430
22426
|
|
|
22431
22427
|
const hdlClick = () => {
|
|
22432
22428
|
if(props.item.hdlLabelClick){
|
|
22433
|
-
props.item.hdlLabelClick(props.dataBox.fieldsValue, props.item);
|
|
22429
|
+
props.item.hdlLabelClick(props.scopeThis, props.dataBox.fieldsValue, props.item);
|
|
22434
22430
|
}
|
|
22435
22431
|
};
|
|
22436
22432
|
|
|
@@ -22438,11 +22434,11 @@ return (_ctx, _cache) => {
|
|
|
22438
22434
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
22439
22435
|
createCommentVNode(" label-box "),
|
|
22440
22436
|
createElementVNode("div", {
|
|
22441
|
-
style: normalizeStyle(style.box),
|
|
22437
|
+
style: normalizeStyle(style.value.box),
|
|
22442
22438
|
onClick: hdlClick
|
|
22443
22439
|
}, [
|
|
22444
22440
|
createElementVNode("span", {
|
|
22445
|
-
style: normalizeStyle(style.label)
|
|
22441
|
+
style: normalizeStyle(style.value.label)
|
|
22446
22442
|
}, toDisplayString(__props.item.label), 5 /* TEXT, STYLE */)
|
|
22447
22443
|
], 4 /* STYLE */)
|
|
22448
22444
|
], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */))
|
|
@@ -22485,7 +22481,7 @@ const _hoisted_28 = { key: 30 };
|
|
|
22485
22481
|
|
|
22486
22482
|
var script$g = {
|
|
22487
22483
|
__name: 'InputBox',
|
|
22488
|
-
props: ["myProps", "dataBox", "item"],
|
|
22484
|
+
props: ["scopeThis", "myProps", "dataBox", "item"],
|
|
22489
22485
|
setup(__props) {
|
|
22490
22486
|
|
|
22491
22487
|
const props = __props;
|
|
@@ -22515,7 +22511,7 @@ const select = reactive({
|
|
|
22515
22511
|
}),
|
|
22516
22512
|
hdlChange: value => {
|
|
22517
22513
|
if (props.item.hdlChange) {
|
|
22518
|
-
props.item.hdlChange(props.dataBox.fieldsValue, props.item, value);
|
|
22514
|
+
props.item.hdlChange(props.scopeThis, props.dataBox.fieldsValue, props.item, value);
|
|
22519
22515
|
}
|
|
22520
22516
|
}
|
|
22521
22517
|
});
|
|
@@ -22547,7 +22543,7 @@ const datePicker = reactive({
|
|
|
22547
22543
|
}),
|
|
22548
22544
|
hdlChange: value => {
|
|
22549
22545
|
if (props.item.hdlChange) {
|
|
22550
|
-
props.item.hdlChange(props.dataBox.fieldsValue, props.item, value);
|
|
22546
|
+
props.item.hdlChange(props.scopeThis, props.dataBox.fieldsValue, props.item, value);
|
|
22551
22547
|
}
|
|
22552
22548
|
}
|
|
22553
22549
|
});
|
|
@@ -22555,7 +22551,7 @@ const datePicker = reactive({
|
|
|
22555
22551
|
const ly0switch = reactive({
|
|
22556
22552
|
hdlChange: value => {
|
|
22557
22553
|
if (props.item.hdlChange) {
|
|
22558
|
-
props.item.hdlChange(props.dataBox.fieldsValue, props.item, value);
|
|
22554
|
+
props.item.hdlChange(props.scopeThis, props.dataBox.fieldsValue, props.item, value);
|
|
22559
22555
|
}
|
|
22560
22556
|
}
|
|
22561
22557
|
});
|
|
@@ -22563,7 +22559,7 @@ const ly0switch = reactive({
|
|
|
22563
22559
|
const radioGroup = reactive({
|
|
22564
22560
|
hdlChange: value => {
|
|
22565
22561
|
if (props.item.hdlChange) {
|
|
22566
|
-
props.item.hdlChange(props.dataBox.fieldsValue, props.item, value);
|
|
22562
|
+
props.item.hdlChange(props.scopeThis, props.dataBox.fieldsValue, props.item, value);
|
|
22567
22563
|
}
|
|
22568
22564
|
}
|
|
22569
22565
|
});
|
|
@@ -22966,7 +22962,7 @@ return (_ctx, _cache) => {
|
|
|
22966
22962
|
plain: style.button_group(__props.item, item0, item1).button.facade.plain,
|
|
22967
22963
|
round: style.button_group(__props.item, item0, item1).button.facade.round,
|
|
22968
22964
|
circle: style.button_group(__props.item, item0, item1).button.facade.circle,
|
|
22969
|
-
onClick: $event => (item1.hdlClick ? item1.hdlClick(__props.dataBox.fieldsValue, __props.item) : null),
|
|
22965
|
+
onClick: $event => (item1.hdlClick ? item1.hdlClick(__props.scopeThis, __props.dataBox.fieldsValue, __props.item) : null),
|
|
22970
22966
|
key: index1
|
|
22971
22967
|
}, {
|
|
22972
22968
|
default: withCtx(() => [
|
|
@@ -23280,7 +23276,7 @@ const _hoisted_4$6 = ["colspan"];
|
|
|
23280
23276
|
|
|
23281
23277
|
var script$f = {
|
|
23282
23278
|
__name: 'Form',
|
|
23283
|
-
props: ["myProps", "dataBox"],
|
|
23279
|
+
props: ["scopeThis", "myProps", "dataBox"],
|
|
23284
23280
|
setup(__props) {
|
|
23285
23281
|
|
|
23286
23282
|
const style = reactive({
|
|
@@ -23303,8 +23299,9 @@ return (_ctx, _cache) => {
|
|
|
23303
23299
|
(__props.myProps.menu && __props.myProps.menu.menu && __props.myProps.menu.menu.length > 0)
|
|
23304
23300
|
? (openBlock(), createBlock(_component_ly0Menu, {
|
|
23305
23301
|
key: 0,
|
|
23302
|
+
scopeThis: __props.scopeThis,
|
|
23306
23303
|
myProps: __props.myProps.menu
|
|
23307
|
-
}, null, 8 /* PROPS */, ["myProps"]))
|
|
23304
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps"]))
|
|
23308
23305
|
: createCommentVNode("v-if", true),
|
|
23309
23306
|
createCommentVNode(" 表单区域可以分为多个列 "),
|
|
23310
23307
|
createElementVNode("div", {
|
|
@@ -23316,7 +23313,7 @@ return (_ctx, _cache) => {
|
|
|
23316
23313
|
createElementVNode("tbody", null, [
|
|
23317
23314
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (item0, index0) => {
|
|
23318
23315
|
return (openBlock(), createElementBlock(Fragment, { key: index0 }, [
|
|
23319
|
-
(item0.hdlVisible ? item0.hdlVisible(__props.dataBox.fieldsValue) : true)
|
|
23316
|
+
(item0.hdlVisible ? item0.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
|
|
23320
23317
|
? (openBlock(), createElementBlock("tr", _hoisted_1$d, [
|
|
23321
23318
|
(!!item0.label)
|
|
23322
23319
|
? (openBlock(), createElementBlock("td", {
|
|
@@ -23324,10 +23321,11 @@ return (_ctx, _cache) => {
|
|
|
23324
23321
|
style: normalizeStyle(style.field_box.left)
|
|
23325
23322
|
}, [
|
|
23326
23323
|
createVNode(script$h, {
|
|
23324
|
+
scopeThis: __props.scopeThis,
|
|
23327
23325
|
myProps: __props.myProps,
|
|
23328
23326
|
dataBox: __props.dataBox,
|
|
23329
23327
|
item: item0
|
|
23330
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox", "item"])
|
|
23328
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23331
23329
|
], 4 /* STYLE */))
|
|
23332
23330
|
: createCommentVNode("v-if", true),
|
|
23333
23331
|
createElementVNode("td", {
|
|
@@ -23348,7 +23346,7 @@ return (_ctx, _cache) => {
|
|
|
23348
23346
|
default: withCtx(() => [
|
|
23349
23347
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item0.items, (item1, index1) => {
|
|
23350
23348
|
return (openBlock(), createElementBlock(Fragment, { key: index1 }, [
|
|
23351
|
-
(item1.hdlVisible ? item1.hdlVisible(__props.dataBox.fieldsValue) : true)
|
|
23349
|
+
(item1.hdlVisible ? item1.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue) : true)
|
|
23352
23350
|
? (openBlock(), createBlock(_component_el_collapse_item, {
|
|
23353
23351
|
key: 0,
|
|
23354
23352
|
title: item1.title,
|
|
@@ -23362,7 +23360,7 @@ return (_ctx, _cache) => {
|
|
|
23362
23360
|
return (openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
23363
23361
|
(
|
|
23364
23362
|
item2.hdlVisible
|
|
23365
|
-
? item2.hdlVisible(__props.dataBox.fieldsValue)
|
|
23363
|
+
? item2.hdlVisible(__props.scopeThis, __props.dataBox.fieldsValue)
|
|
23366
23364
|
: true
|
|
23367
23365
|
)
|
|
23368
23366
|
? (openBlock(), createElementBlock("tr", _hoisted_3$7, [
|
|
@@ -23372,10 +23370,11 @@ return (_ctx, _cache) => {
|
|
|
23372
23370
|
style: normalizeStyle(style.field_box.left)
|
|
23373
23371
|
}, [
|
|
23374
23372
|
createVNode(script$h, {
|
|
23373
|
+
scopeThis: __props.scopeThis,
|
|
23375
23374
|
myProps: __props.myProps,
|
|
23376
23375
|
dataBox: __props.dataBox,
|
|
23377
23376
|
item: item2
|
|
23378
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox", "item"])
|
|
23377
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23379
23378
|
], 4 /* STYLE */))
|
|
23380
23379
|
: createCommentVNode("v-if", true),
|
|
23381
23380
|
createElementVNode("td", {
|
|
@@ -23383,10 +23382,11 @@ return (_ctx, _cache) => {
|
|
|
23383
23382
|
colspan: style.no_field_label(item2)
|
|
23384
23383
|
}, [
|
|
23385
23384
|
createVNode(script$g, {
|
|
23385
|
+
scopeThis: __props.scopeThis,
|
|
23386
23386
|
myProps: __props.myProps,
|
|
23387
23387
|
dataBox: __props.dataBox,
|
|
23388
23388
|
item: item2
|
|
23389
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox", "item"])
|
|
23389
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"])
|
|
23390
23390
|
], 12 /* STYLE, PROPS */, _hoisted_4$6)
|
|
23391
23391
|
]))
|
|
23392
23392
|
: createCommentVNode("v-if", true)
|
|
@@ -23404,10 +23404,11 @@ return (_ctx, _cache) => {
|
|
|
23404
23404
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["accordion", "modelValue", "onUpdate:modelValue", "style"]))
|
|
23405
23405
|
: (openBlock(), createBlock(script$g, {
|
|
23406
23406
|
key: 1,
|
|
23407
|
+
scopeThis: __props.scopeThis,
|
|
23407
23408
|
myProps: __props.myProps,
|
|
23408
23409
|
dataBox: __props.dataBox,
|
|
23409
23410
|
item: item0
|
|
23410
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox", "item"]))
|
|
23411
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox", "item"]))
|
|
23411
23412
|
], 12 /* STYLE, PROPS */, _hoisted_2$c)
|
|
23412
23413
|
]))
|
|
23413
23414
|
: createCommentVNode("v-if", true)
|
|
@@ -23431,7 +23432,7 @@ return (_ctx, _cache) => {
|
|
|
23431
23432
|
type: style.submit_box.button.facade.type,
|
|
23432
23433
|
plain: style.submit_box.button.facade.plain,
|
|
23433
23434
|
style: normalizeStyle(style.submit_box.button.style),
|
|
23434
|
-
onClick: _cache[0] || (_cache[0] = $event => (__props.dataBox.hdlSubmit(__props.dataBox.fieldsValue)))
|
|
23435
|
+
onClick: _cache[0] || (_cache[0] = $event => (__props.dataBox.hdlSubmit(__props.scopeThis, __props.dataBox.fieldsValue)))
|
|
23435
23436
|
}, {
|
|
23436
23437
|
default: withCtx(() => [...(_cache[1] || (_cache[1] = [
|
|
23437
23438
|
createTextVNode("提交", -1 /* CACHED */)
|
|
@@ -23503,7 +23504,7 @@ var ly0default$2 = {
|
|
|
23503
23504
|
|
|
23504
23505
|
var script$e = {
|
|
23505
23506
|
__name: 'index',
|
|
23506
|
-
props: ["myProps", "dataBox"],
|
|
23507
|
+
props: ["scopeThis", "myProps", "dataBox"],
|
|
23507
23508
|
setup(__props) {
|
|
23508
23509
|
|
|
23509
23510
|
const props = __props;
|
|
@@ -23529,9 +23530,10 @@ return (_ctx, _cache) => {
|
|
|
23529
23530
|
(myProps0.value)
|
|
23530
23531
|
? (openBlock(), createBlock(script$f, {
|
|
23531
23532
|
key: 0,
|
|
23533
|
+
scopeThis: __props.scopeThis,
|
|
23532
23534
|
myProps: myProps0.value,
|
|
23533
23535
|
dataBox: __props.dataBox
|
|
23534
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox"]))
|
|
23536
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox"]))
|
|
23535
23537
|
: createCommentVNode("v-if", true)
|
|
23536
23538
|
]),
|
|
23537
23539
|
_: 1 /* STABLE */
|
|
@@ -23539,9 +23541,10 @@ return (_ctx, _cache) => {
|
|
|
23539
23541
|
: (myProps0.value)
|
|
23540
23542
|
? (openBlock(), createBlock(script$f, {
|
|
23541
23543
|
key: 1,
|
|
23544
|
+
scopeThis: __props.scopeThis,
|
|
23542
23545
|
myProps: myProps0.value,
|
|
23543
23546
|
dataBox: __props.dataBox
|
|
23544
|
-
}, null, 8 /* PROPS */, ["myProps", "dataBox"]))
|
|
23547
|
+
}, null, 8 /* PROPS */, ["scopeThis", "myProps", "dataBox"]))
|
|
23545
23548
|
: createCommentVNode("v-if", true)
|
|
23546
23549
|
}
|
|
23547
23550
|
}
|
|
@@ -23565,87 +23568,79 @@ var ly0default$1 = {
|
|
|
23565
23568
|
};
|
|
23566
23569
|
|
|
23567
23570
|
var script$d = {
|
|
23568
|
-
|
|
23569
|
-
|
|
23570
|
-
|
|
23571
|
-
|
|
23571
|
+
__name: 'index',
|
|
23572
|
+
props: ["scopeThis", "myProps"],
|
|
23573
|
+
setup(__props) {
|
|
23574
|
+
|
|
23575
|
+
const props = __props;
|
|
23576
|
+
const myProps0 = ref(Object.assign({}, ly0default$1.myProps, props.myProps));
|
|
23577
|
+
|
|
23578
|
+
const handleRun = (
|
|
23579
|
+
index, // 目标索引
|
|
23580
|
+
menu, // 当前菜单
|
|
23581
|
+
indexFather, // 父节点索引
|
|
23582
|
+
) => {
|
|
23583
|
+
let result = false;
|
|
23584
|
+
// 遍历菜单节点
|
|
23585
|
+
for (let i = 0; i < menu.length; i++) {
|
|
23586
|
+
// 内部索引继承
|
|
23587
|
+
let index0 = indexFather ? indexFather + '-' + i : '' + i;
|
|
23588
|
+
// 节点存在自定义索引
|
|
23589
|
+
if (!!menu[i].index && index === menu[i].index) {
|
|
23590
|
+
if (menu[i].handle) {
|
|
23591
|
+
menu[i].handle(props.scopeThis, index);
|
|
23592
|
+
}
|
|
23593
|
+
result = true;
|
|
23594
|
+
break
|
|
23572
23595
|
}
|
|
23573
|
-
|
|
23574
|
-
|
|
23575
|
-
|
|
23576
|
-
|
|
23577
|
-
// keyPath
|
|
23578
|
-
) {
|
|
23579
|
-
this.handleRun(key, this.myProps.menu, '');
|
|
23580
|
-
},
|
|
23581
|
-
handleOpen() {},
|
|
23582
|
-
// key,
|
|
23583
|
-
// keyPath
|
|
23584
|
-
handleClose() {},
|
|
23585
|
-
// key,
|
|
23586
|
-
// keyPath
|
|
23587
|
-
// 执行菜单句柄
|
|
23588
|
-
handleRun(
|
|
23589
|
-
index, // 目标索引
|
|
23590
|
-
menu, // 当前菜单
|
|
23591
|
-
indexFather, // 父节点索引
|
|
23592
|
-
) {
|
|
23593
|
-
let result = false;
|
|
23594
|
-
// 遍历菜单节点
|
|
23595
|
-
for (let i = 0; i < menu.length; i++) {
|
|
23596
|
-
// 内部索引继承
|
|
23597
|
-
let index0 = indexFather ? indexFather + '-' + i : '' + i;
|
|
23598
|
-
// 节点存在自定义索引
|
|
23599
|
-
if (!!menu[i].index && index === menu[i].index) {
|
|
23600
|
-
if (menu[i].handle) {
|
|
23601
|
-
menu[i].handle(index);
|
|
23602
|
-
}
|
|
23603
|
-
result = true;
|
|
23604
|
-
break
|
|
23605
|
-
}
|
|
23606
|
-
// 节点不存在自定义索引
|
|
23607
|
-
if (index === index0) {
|
|
23608
|
-
if (menu[i].handle) {
|
|
23609
|
-
menu[i].handle(index);
|
|
23610
|
-
}
|
|
23611
|
-
result = true;
|
|
23612
|
-
break
|
|
23613
|
-
}
|
|
23614
|
-
// 存在子节点,递归调用
|
|
23615
|
-
if (!!menu[i].menu && menu[i].menu.length > 0) {
|
|
23616
|
-
result = this.handleRun(index, menu[i].menu, index0);
|
|
23617
|
-
if (!!result) {
|
|
23618
|
-
break
|
|
23619
|
-
}
|
|
23620
|
-
}
|
|
23596
|
+
// 节点不存在自定义索引
|
|
23597
|
+
if (index === index0) {
|
|
23598
|
+
if (menu[i].handle) {
|
|
23599
|
+
menu[i].handle(props.scopeThis, index);
|
|
23621
23600
|
}
|
|
23622
|
-
|
|
23623
|
-
|
|
23624
|
-
|
|
23601
|
+
result = true;
|
|
23602
|
+
break
|
|
23603
|
+
}
|
|
23604
|
+
// 存在子节点,递归调用
|
|
23605
|
+
if (!!menu[i].menu && menu[i].menu.length > 0) {
|
|
23606
|
+
result = handleRun(index, menu[i].menu, index0);
|
|
23607
|
+
if (!!result) {
|
|
23608
|
+
break
|
|
23609
|
+
}
|
|
23610
|
+
}
|
|
23611
|
+
}
|
|
23612
|
+
return result
|
|
23625
23613
|
};
|
|
23626
23614
|
|
|
23627
|
-
|
|
23615
|
+
const handleSelect = key=>{
|
|
23616
|
+
handleRun(key, this.myProps.menu, '');
|
|
23617
|
+
};
|
|
23618
|
+
|
|
23619
|
+
const handleOpen = key=>{};
|
|
23620
|
+
const handleClose = key=> {};
|
|
23621
|
+
|
|
23622
|
+
return (_ctx, _cache) => {
|
|
23628
23623
|
const _component_el_menu_item = resolveComponent("el-menu-item");
|
|
23629
23624
|
const _component_el_sub_menu = resolveComponent("el-sub-menu");
|
|
23630
23625
|
const _component_el_menu = resolveComponent("el-menu");
|
|
23631
23626
|
|
|
23632
23627
|
return (openBlock(), createBlock(_component_el_menu, {
|
|
23633
|
-
mode:
|
|
23634
|
-
"default-active":
|
|
23635
|
-
onOpen:
|
|
23636
|
-
onClose:
|
|
23637
|
-
onSelect:
|
|
23638
|
-
"background-color":
|
|
23639
|
-
"text-color":
|
|
23640
|
-
"active-text-color":
|
|
23628
|
+
mode: myProps0.value.mode,
|
|
23629
|
+
"default-active": myProps0.value.defaultActive,
|
|
23630
|
+
onOpen: handleOpen,
|
|
23631
|
+
onClose: handleClose,
|
|
23632
|
+
onSelect: handleSelect,
|
|
23633
|
+
"background-color": myProps0.value.backgroundColor,
|
|
23634
|
+
"text-color": myProps0.value.textColor,
|
|
23635
|
+
"active-text-color": myProps0.value.activeTextColor,
|
|
23641
23636
|
"menu-trigger": "hover",
|
|
23642
|
-
style: normalizeStyle('--el-menu-horizontal-height: ' +
|
|
23643
|
-
|
|
23644
|
-
|
|
23637
|
+
style: normalizeStyle('--el-menu-horizontal-height: ' + myProps0.value.horizontalHeight + '; ' +
|
|
23638
|
+
myProps0.value.styleBase + ' ' +
|
|
23639
|
+
myProps0.value.style)
|
|
23645
23640
|
}, {
|
|
23646
23641
|
default: withCtx(() => [
|
|
23647
23642
|
createCommentVNode(" 第1层 "),
|
|
23648
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
23643
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.myProps.menu, (item, index) => {
|
|
23649
23644
|
return (openBlock(), createElementBlock(Fragment, {
|
|
23650
23645
|
key: item.index ? item.index : String(index)
|
|
23651
23646
|
}, [
|
|
@@ -23657,7 +23652,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23657
23652
|
'disabled' in item
|
|
23658
23653
|
? item.disabled
|
|
23659
23654
|
: 'hdlDisabled' in item
|
|
23660
|
-
? item.hdlDisabled(item, index)
|
|
23655
|
+
? item.hdlDisabled(__props.scopeThis, item, index)
|
|
23661
23656
|
: false
|
|
23662
23657
|
|
|
23663
23658
|
}, {
|
|
@@ -23686,7 +23681,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23686
23681
|
'disabled' in item0
|
|
23687
23682
|
? item0.disabled
|
|
23688
23683
|
: 'hdlDisabled' in item0
|
|
23689
|
-
? item0.hdlDisabled(item0, index0)
|
|
23684
|
+
? item0.hdlDisabled(__props.scopeThis, item0, index0)
|
|
23690
23685
|
: false
|
|
23691
23686
|
|
|
23692
23687
|
}, {
|
|
@@ -23723,7 +23718,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23723
23718
|
'disabled' in item1
|
|
23724
23719
|
? item1.disabled
|
|
23725
23720
|
: 'hdlDisabled' in item1
|
|
23726
|
-
? item1.hdlDisabled(item1, index1)
|
|
23721
|
+
? item1.hdlDisabled(__props.scopeThis, item1, index1)
|
|
23727
23722
|
: false
|
|
23728
23723
|
|
|
23729
23724
|
}, {
|
|
@@ -23764,7 +23759,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23764
23759
|
'disabled' in item2
|
|
23765
23760
|
? item2.disabled
|
|
23766
23761
|
: 'hdlDisabled' in item2
|
|
23767
|
-
? item2.hdlDisabled(item2, index2)
|
|
23762
|
+
? item2.hdlDisabled(__props.scopeThis, item2, index2)
|
|
23768
23763
|
: false
|
|
23769
23764
|
|
|
23770
23765
|
}, {
|
|
@@ -23802,7 +23797,7 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23802
23797
|
'disabled' in item3
|
|
23803
23798
|
? item3.disabled
|
|
23804
23799
|
: 'hdlDisabled' in item3
|
|
23805
|
-
? item3.hdlDisabled(item3, index3)
|
|
23800
|
+
? item3.hdlDisabled(__props.scopeThis, item3, index3)
|
|
23806
23801
|
: false
|
|
23807
23802
|
|
|
23808
23803
|
}, {
|
|
@@ -23834,10 +23829,12 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23834
23829
|
}), 128 /* KEYED_FRAGMENT */))
|
|
23835
23830
|
]),
|
|
23836
23831
|
_: 1 /* STABLE */
|
|
23837
|
-
}, 8 /* PROPS */, ["mode", "default-active", "
|
|
23832
|
+
}, 8 /* PROPS */, ["mode", "default-active", "background-color", "text-color", "active-text-color", "style"]))
|
|
23838
23833
|
}
|
|
23834
|
+
}
|
|
23835
|
+
|
|
23836
|
+
};
|
|
23839
23837
|
|
|
23840
|
-
script$d.render = render$6;
|
|
23841
23838
|
script$d.__file = "src/menu/index.vue";
|
|
23842
23839
|
|
|
23843
23840
|
var quill$1 = {exports: {}};
|