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