@yoooloo42/joker 1.0.211 → 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 CHANGED
@@ -24545,212 +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.createBlock(_component_el_menu, {
24549
- mode: myProps_box.mode,
24550
- "default-active": myProps_box.defaultActive,
24551
- onOpen: handleOpen,
24552
- onClose: handleClose,
24553
- onSelect: handleSelect,
24554
- "background-color": myProps_box.backgroundColor,
24555
- "text-color": myProps_box.textColor,
24556
- "active-text-color": myProps_box.activeTextColor,
24557
- "menu-trigger": "hover",
24558
- style: vue.normalizeStyle('--el-menu-horizontal-height: ' + myProps_box.horizontalHeight + '; ' +
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
- default: vue.withCtx(() => [
24563
- vue.createCommentVNode(" 第1层 "),
24564
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(myProps_box.menu, (item, index) => {
24565
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
24566
- key: item.index ? item.index : String(index)
24567
- }, [
24568
- (!item.menu || item.menu.length === 0)
24569
- ? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
24570
- key: 0,
24571
- index: item.index ? item.index : String(index),
24572
- disabled:
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
- default: vue.withCtx(() => [
24581
- vue.createTextVNode(vue.toDisplayString(item.title), 1 /* TEXT */)
24582
- ]),
24583
- _: 2 /* DYNAMIC */
24584
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
24585
- : (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
24586
- key: 1,
24587
- index: item.index ? item.index : String(index)
24588
- }, {
24589
- title: vue.withCtx(() => [
24590
- vue.createTextVNode(vue.toDisplayString(item.title), 1 /* TEXT */)
24591
- ]),
24592
- default: vue.withCtx(() => [
24593
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.menu, (item0, index0) => {
24594
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
24595
- key: item0.index ? item0.index : String(index) + '-' + String(index0)
24596
- }, [
24597
- (!item0.menu || item0.menu.length === 0)
24598
- ? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
24599
- key: 0,
24600
- index: item0.index ? item0.index : String(index) + '-' + String(index0),
24601
- disabled:
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
- default: vue.withCtx(() => [
24610
- vue.createTextVNode(vue.toDisplayString(item0.title), 1 /* TEXT */)
24611
- ]),
24612
- _: 2 /* DYNAMIC */
24613
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
24614
- : (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
24615
- key: 1,
24616
- index: item0.index ? item0.index : String(index) + '-' + String(index0)
24617
- }, {
24618
- title: vue.withCtx(() => [
24619
- vue.createTextVNode(vue.toDisplayString(item0.title), 1 /* TEXT */)
24620
- ]),
24621
- default: vue.withCtx(() => [
24622
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item0.menu, (item1, index1) => {
24623
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
24624
- key:
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
- (!item1.menu || item1.menu.length === 0)
24631
- ? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
24632
- key: 0,
24633
- index:
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
- disabled:
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
- default: vue.withCtx(() => [
24647
- vue.createTextVNode(vue.toDisplayString(item1.title), 1 /* TEXT */)
24648
- ]),
24649
- _: 2 /* DYNAMIC */
24650
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
24651
- : (vue.openBlock(), vue.createBlock(_component_el_sub_menu, {
24652
- key: 1,
24653
- index:
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
- title: vue.withCtx(() => [
24660
- vue.createTextVNode(vue.toDisplayString(item1.title), 1 /* TEXT */)
24661
- ]),
24662
- default: vue.withCtx(() => [
24663
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item1.menu, (item2, index2) => {
24664
- return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
24665
- key:
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
- (!item2.menu || item2.menu.length === 0)
24672
- ? (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
24673
- key: 0,
24674
- index:
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
- disabled:
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
- default: vue.withCtx(() => [
24688
- vue.createTextVNode(vue.toDisplayString(item2.title), 1 /* TEXT */)
24689
- ]),
24690
- _: 2 /* DYNAMIC */
24691
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
24692
- : vue.createCommentVNode("v-if", true),
24693
- vue.createVNode(_component_el_sub_menu, {
24694
- else: "",
24695
- index:
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:
24696
24698
  item2.index
24697
24699
  ? item2.index
24698
24700
  : String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2)
24699
24701
 
24700
- }, {
24701
- title: vue.withCtx(() => [
24702
- vue.createTextVNode(vue.toDisplayString(item2.title), 1 /* TEXT */)
24703
- ]),
24704
- default: vue.withCtx(() => [
24705
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item2.menu, (item3, index3) => {
24706
- return (vue.openBlock(), vue.createBlock(_component_el_menu_item, {
24707
- key:
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:
24708
24710
  item3.index
24709
24711
  ? item3.index
24710
24712
  : String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
24711
24713
  ,
24712
- index:
24714
+ index:
24713
24715
  item3.index
24714
24716
  ? item3.index
24715
24717
  : String(index) + '-' + String(index0) + '-' + String(index1) + '-' + String(index2) + '-' + String(index3)
24716
24718
  ,
24717
- disabled:
24719
+ disabled:
24718
24720
  'disabled' in item3
24719
24721
  ? item3.disabled
24720
24722
  : 'hdlDisabled' in item3
24721
24723
  ? item3.hdlDisabled(scopeThis_box, item3, index3)
24722
24724
  : false
24723
24725
 
24724
- }, {
24725
- default: vue.withCtx(() => [
24726
- vue.createTextVNode(vue.toDisplayString(item3.title), 1 /* TEXT */)
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 */))
24727
24733
  ]),
24728
24734
  _: 2 /* DYNAMIC */
24729
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index", "disabled"]))
24730
- }), 128 /* KEYED_FRAGMENT */))
24731
- ]),
24732
- _: 2 /* DYNAMIC */
24733
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"])
24734
- ], 64 /* STABLE_FRAGMENT */))
24735
- }), 128 /* KEYED_FRAGMENT */))
24736
- ]),
24737
- _: 2 /* DYNAMIC */
24738
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
24739
- ], 64 /* STABLE_FRAGMENT */))
24740
- }), 128 /* KEYED_FRAGMENT */))
24741
- ]),
24742
- _: 2 /* DYNAMIC */
24743
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
24744
- ], 64 /* STABLE_FRAGMENT */))
24745
- }), 128 /* KEYED_FRAGMENT */))
24746
- ]),
24747
- _: 2 /* DYNAMIC */
24748
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["index"]))
24749
- ], 64 /* STABLE_FRAGMENT */))
24750
- }), 128 /* KEYED_FRAGMENT */))
24751
- ]),
24752
- _: 1 /* STABLE */
24753
- }, 8 /* PROPS */, ["mode", "default-active", "background-color", "text-color", "active-text-color", "style"]))
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 */))
24754
24757
  }
24755
24758
  }
24756
24759