@yoooloo42/joker 1.0.212 → 1.0.213
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 +145 -141
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +145 -141
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -24545,211 +24545,215 @@ return (_ctx, _cache) => {
|
|
|
24545
24545
|
const _component_el_sub_menu = vue.resolveComponent("el-sub-menu");
|
|
24546
24546
|
const _component_el_menu = vue.resolveComponent("el-menu");
|
|
24547
24547
|
|
|
24548
|
-
return (vue.openBlock(), vue.
|
|
24549
|
-
|
|
24550
|
-
"
|
|
24551
|
-
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24548
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
24549
|
+
vue.createElementVNode("pre", null, vue.toDisplayString(myProps_box), 1 /* TEXT */),
|
|
24550
|
+
vue.createElementVNode("pre", null, vue.toDisplayString(myProps_box.menu), 1 /* TEXT */),
|
|
24551
|
+
vue.createVNode(_component_el_menu, {
|
|
24552
|
+
mode: myProps_box.mode,
|
|
24553
|
+
"default-active": myProps_box.defaultActive,
|
|
24554
|
+
onOpen: handleOpen,
|
|
24555
|
+
onClose: handleClose,
|
|
24556
|
+
onSelect: handleSelect,
|
|
24557
|
+
"background-color": myProps_box.backgroundColor,
|
|
24558
|
+
"text-color": myProps_box.textColor,
|
|
24559
|
+
"active-text-color": myProps_box.activeTextColor,
|
|
24560
|
+
"menu-trigger": "hover",
|
|
24561
|
+
style: vue.normalizeStyle('--el-menu-horizontal-height: ' + myProps_box.horizontalHeight + '; ' +
|
|
24559
24562
|
myProps_box.styleBase + ' ' +
|
|
24560
24563
|
myProps_box.style)
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24569
|
-
|
|
24570
|
-
|
|
24571
|
-
|
|
24572
|
-
|
|
24564
|
+
}, {
|
|
24565
|
+
default: vue.withCtx(() => [
|
|
24566
|
+
vue.createCommentVNode(" 第1层 "),
|
|
24567
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(myProps_box.menu, (item, index) => {
|
|
24568
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
24569
|
+
key: item.index ? item.index : String(index)
|
|
24570
|
+
}, [
|
|
24571
|
+
(!item.menu || item.menu.length === 0)
|
|
24572
|
+
? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24573
|
+
key: 0,
|
|
24574
|
+
index: item.index ? item.index : String(index),
|
|
24575
|
+
disabled:
|
|
24573
24576
|
'disabled' in item
|
|
24574
24577
|
? item.disabled
|
|
24575
24578
|
: 'hdlDisabled' in item
|
|
24576
24579
|
? item.hdlDisabled(scopeThis_box, item, index)
|
|
24577
24580
|
: false
|
|
24578
24581
|
|
|
24579
|
-
|
|
24580
|
-
|
|
24581
|
-
|
|
24582
|
-
|
|
24583
|
-
|
|
24584
|
-
|
|
24585
|
-
|
|
24586
|
-
|
|
24587
|
-
|
|
24588
|
-
|
|
24589
|
-
|
|
24590
|
-
|
|
24591
|
-
|
|
24592
|
-
|
|
24593
|
-
|
|
24594
|
-
|
|
24595
|
-
|
|
24596
|
-
|
|
24597
|
-
|
|
24598
|
-
|
|
24599
|
-
|
|
24600
|
-
|
|
24601
|
-
|
|
24582
|
+
}, {
|
|
24583
|
+
default: vue.withCtx(() => [
|
|
24584
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1 /* TEXT */)
|
|
24585
|
+
]),
|
|
24586
|
+
_: 2 /* DYNAMIC */
|
|
24587
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24588
|
+
: (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
24589
|
+
key: 1,
|
|
24590
|
+
index: item.index ? item.index : String(index)
|
|
24591
|
+
}, {
|
|
24592
|
+
title: vue.withCtx(() => [
|
|
24593
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1 /* TEXT */)
|
|
24594
|
+
]),
|
|
24595
|
+
default: vue.withCtx(() => [
|
|
24596
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.menu, (item0, index0) => {
|
|
24597
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
24598
|
+
key: item0.index ? item0.index : String(index) + '-' + String(index0)
|
|
24599
|
+
}, [
|
|
24600
|
+
(!item0.menu || item0.menu.length === 0)
|
|
24601
|
+
? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24602
|
+
key: 0,
|
|
24603
|
+
index: item0.index ? item0.index : String(index) + '-' + String(index0),
|
|
24604
|
+
disabled:
|
|
24602
24605
|
'disabled' in item0
|
|
24603
24606
|
? item0.disabled
|
|
24604
24607
|
: 'hdlDisabled' in item0
|
|
24605
24608
|
? item0.hdlDisabled(scopeThis_box, item0, index0)
|
|
24606
24609
|
: false
|
|
24607
24610
|
|
|
24608
|
-
|
|
24609
|
-
|
|
24610
|
-
|
|
24611
|
-
|
|
24612
|
-
|
|
24613
|
-
|
|
24614
|
-
|
|
24615
|
-
|
|
24616
|
-
|
|
24617
|
-
|
|
24618
|
-
|
|
24619
|
-
|
|
24620
|
-
|
|
24621
|
-
|
|
24622
|
-
|
|
24623
|
-
|
|
24624
|
-
|
|
24611
|
+
}, {
|
|
24612
|
+
default: vue.withCtx(() => [
|
|
24613
|
+
vue.createTextVNode(vue.toDisplayString(item0.title), 1 /* TEXT */)
|
|
24614
|
+
]),
|
|
24615
|
+
_: 2 /* DYNAMIC */
|
|
24616
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24617
|
+
: (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
24618
|
+
key: 1,
|
|
24619
|
+
index: item0.index ? item0.index : String(index) + '-' + String(index0)
|
|
24620
|
+
}, {
|
|
24621
|
+
title: vue.withCtx(() => [
|
|
24622
|
+
vue.createTextVNode(vue.toDisplayString(item0.title), 1 /* TEXT */)
|
|
24623
|
+
]),
|
|
24624
|
+
default: vue.withCtx(() => [
|
|
24625
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item0.menu, (item1, index1) => {
|
|
24626
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
24627
|
+
key:
|
|
24625
24628
|
item1.index
|
|
24626
24629
|
? item1.index
|
|
24627
24630
|
: String(index) + '-' + String(index0) + '-' + String(index1)
|
|
24628
24631
|
|
|
24629
|
-
|
|
24630
|
-
|
|
24631
|
-
|
|
24632
|
-
|
|
24633
|
-
|
|
24632
|
+
}, [
|
|
24633
|
+
(!item1.menu || item1.menu.length === 0)
|
|
24634
|
+
? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24635
|
+
key: 0,
|
|
24636
|
+
index:
|
|
24634
24637
|
item1.index
|
|
24635
24638
|
? item1.index
|
|
24636
24639
|
: String(index) + '-' + String(index0) + '-' + String(index1)
|
|
24637
24640
|
,
|
|
24638
|
-
|
|
24641
|
+
disabled:
|
|
24639
24642
|
'disabled' in item1
|
|
24640
24643
|
? item1.disabled
|
|
24641
24644
|
: 'hdlDisabled' in item1
|
|
24642
24645
|
? item1.hdlDisabled(scopeThis_box, item1, index1)
|
|
24643
24646
|
: false
|
|
24644
24647
|
|
|
24645
|
-
|
|
24646
|
-
|
|
24647
|
-
|
|
24648
|
-
|
|
24649
|
-
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
|
|
24653
|
-
|
|
24648
|
+
}, {
|
|
24649
|
+
default: vue.withCtx(() => [
|
|
24650
|
+
vue.createTextVNode(vue.toDisplayString(item1.title), 1 /* TEXT */)
|
|
24651
|
+
]),
|
|
24652
|
+
_: 2 /* DYNAMIC */
|
|
24653
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24654
|
+
: (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
24655
|
+
key: 1,
|
|
24656
|
+
index:
|
|
24654
24657
|
item1.index
|
|
24655
24658
|
? item1.index
|
|
24656
24659
|
: String(index) + '-' + String(index0) + '-' + String(index1)
|
|
24657
24660
|
|
|
24658
|
-
|
|
24659
|
-
|
|
24660
|
-
|
|
24661
|
-
|
|
24662
|
-
|
|
24663
|
-
|
|
24664
|
-
|
|
24665
|
-
|
|
24661
|
+
}, {
|
|
24662
|
+
title: vue.withCtx(() => [
|
|
24663
|
+
vue.createTextVNode(vue.toDisplayString(item1.title), 1 /* TEXT */)
|
|
24664
|
+
]),
|
|
24665
|
+
default: vue.withCtx(() => [
|
|
24666
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item1.menu, (item2, index2) => {
|
|
24667
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
24668
|
+
key:
|
|
24666
24669
|
item2.index
|
|
24667
24670
|
? item2.index
|
|
24668
24671
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
|
|
24669
24672
|
|
|
24670
|
-
|
|
24671
|
-
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24673
|
+
}, [
|
|
24674
|
+
(!item2.menu || item2.menu.length === 0)
|
|
24675
|
+
? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24676
|
+
key: 0,
|
|
24677
|
+
index:
|
|
24675
24678
|
item2.index
|
|
24676
24679
|
? item2.index
|
|
24677
24680
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
|
|
24678
24681
|
,
|
|
24679
|
-
|
|
24682
|
+
disabled:
|
|
24680
24683
|
'disabled' in item2
|
|
24681
24684
|
? item2.disabled
|
|
24682
24685
|
: 'hdlDisabled' in item2
|
|
24683
24686
|
? item2.hdlDisabled(scopeThis_box, item2, index2)
|
|
24684
24687
|
: false
|
|
24685
24688
|
|
|
24686
|
-
|
|
24687
|
-
|
|
24688
|
-
|
|
24689
|
-
|
|
24690
|
-
|
|
24691
|
-
|
|
24692
|
-
|
|
24693
|
-
|
|
24694
|
-
|
|
24689
|
+
}, {
|
|
24690
|
+
default: vue.withCtx(() => [
|
|
24691
|
+
vue.createTextVNode(vue.toDisplayString(item2.title), 1 /* TEXT */)
|
|
24692
|
+
]),
|
|
24693
|
+
_: 2 /* DYNAMIC */
|
|
24694
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24695
|
+
: (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
|
|
24696
|
+
key: 1,
|
|
24697
|
+
index:
|
|
24695
24698
|
item2.index
|
|
24696
24699
|
? item2.index
|
|
24697
24700
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
|
|
24698
24701
|
|
|
24699
|
-
|
|
24700
|
-
|
|
24701
|
-
|
|
24702
|
-
|
|
24703
|
-
|
|
24704
|
-
|
|
24705
|
-
|
|
24706
|
-
|
|
24702
|
+
}, {
|
|
24703
|
+
title: vue.withCtx(() => [
|
|
24704
|
+
vue.createTextVNode(vue.toDisplayString(item2.title), 1 /* TEXT */)
|
|
24705
|
+
]),
|
|
24706
|
+
default: vue.withCtx(() => [
|
|
24707
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item2.menu, (item3, index3) => {
|
|
24708
|
+
return (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
|
|
24709
|
+
key:
|
|
24707
24710
|
item3.index
|
|
24708
24711
|
? item3.index
|
|
24709
24712
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24710
24713
|
,
|
|
24711
|
-
|
|
24714
|
+
index:
|
|
24712
24715
|
item3.index
|
|
24713
24716
|
? item3.index
|
|
24714
24717
|
: String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
|
|
24715
24718
|
,
|
|
24716
|
-
|
|
24719
|
+
disabled:
|
|
24717
24720
|
'disabled' in item3
|
|
24718
24721
|
? item3.disabled
|
|
24719
24722
|
: 'hdlDisabled' in item3
|
|
24720
24723
|
? item3.hdlDisabled(scopeThis_box, item3, index3)
|
|
24721
24724
|
: false
|
|
24722
24725
|
|
|
24723
|
-
|
|
24724
|
-
|
|
24725
|
-
|
|
24726
|
-
|
|
24727
|
-
|
|
24728
|
-
|
|
24729
|
-
|
|
24730
|
-
|
|
24731
|
-
|
|
24732
|
-
|
|
24733
|
-
|
|
24734
|
-
|
|
24735
|
-
|
|
24736
|
-
|
|
24737
|
-
|
|
24738
|
-
|
|
24739
|
-
|
|
24740
|
-
|
|
24741
|
-
|
|
24742
|
-
|
|
24743
|
-
|
|
24744
|
-
|
|
24745
|
-
|
|
24746
|
-
|
|
24747
|
-
|
|
24748
|
-
|
|
24749
|
-
|
|
24750
|
-
|
|
24751
|
-
|
|
24752
|
-
|
|
24726
|
+
}, {
|
|
24727
|
+
default: vue.withCtx(() => [
|
|
24728
|
+
vue.createTextVNode(vue.toDisplayString(item3.title), 1 /* TEXT */)
|
|
24729
|
+
]),
|
|
24730
|
+
_: 2 /* DYNAMIC */
|
|
24731
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
|
|
24732
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24733
|
+
]),
|
|
24734
|
+
_: 2 /* DYNAMIC */
|
|
24735
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24736
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
24737
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24738
|
+
]),
|
|
24739
|
+
_: 2 /* DYNAMIC */
|
|
24740
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24741
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
24742
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24743
|
+
]),
|
|
24744
|
+
_: 2 /* DYNAMIC */
|
|
24745
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24746
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
24747
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24748
|
+
]),
|
|
24749
|
+
_: 2 /* DYNAMIC */
|
|
24750
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
|
|
24751
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
24752
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
24753
|
+
]),
|
|
24754
|
+
_: 1 /* STABLE */
|
|
24755
|
+
}, 8 /* PROPS */, ["mode", "default-active", "background-color", "text-color", "active-text-color", "style"])
|
|
24756
|
+
], 64 /* STABLE_FRAGMENT */))
|
|
24753
24757
|
}
|
|
24754
24758
|
}
|
|
24755
24759
|
|