eoss-ui 0.5.30 → 0.5.31

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.
Files changed (56) hide show
  1. package/lib/button-group.js +12 -0
  2. package/lib/button.js +12 -0
  3. package/lib/cascader.js +18 -15
  4. package/lib/checkbox-group.js +31 -8
  5. package/lib/data-table-form.js +12 -0
  6. package/lib/data-table.js +26 -13
  7. package/lib/date-picker.js +12 -0
  8. package/lib/dialog.js +12 -0
  9. package/lib/eoss-ui.common.js +1793 -1797
  10. package/lib/flow-group.js +14 -2
  11. package/lib/flow-list.js +12 -0
  12. package/lib/flow.js +12 -0
  13. package/lib/form.js +42 -11
  14. package/lib/handle-user.js +12 -0
  15. package/lib/handler.js +12 -0
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +12 -0
  18. package/lib/input.js +28 -7
  19. package/lib/login.js +37 -123
  20. package/lib/main.js +12 -0
  21. package/lib/nav.js +12 -0
  22. package/lib/page.js +12 -0
  23. package/lib/player.js +12 -0
  24. package/lib/qr-code.js +12 -0
  25. package/lib/radio-group.js +15 -3
  26. package/lib/retrial-auth.js +12 -0
  27. package/lib/select-ganged.js +12 -0
  28. package/lib/select.js +12 -0
  29. package/lib/selector-panel.js +12 -0
  30. package/lib/selector.js +15 -3
  31. package/lib/sizer.js +12 -0
  32. package/lib/steps.js +12 -0
  33. package/lib/switch.js +12 -0
  34. package/lib/table-form.js +12 -0
  35. package/lib/tabs.js +1619 -1568
  36. package/lib/tips.js +12 -0
  37. package/lib/tree-group.js +12 -0
  38. package/lib/tree.js +12 -0
  39. package/lib/upload.js +12 -0
  40. package/lib/utils/util.js +12 -0
  41. package/lib/wujie.js +12 -0
  42. package/lib/wxlogin.js +12 -0
  43. package/package.json +2 -2
  44. package/packages/cascader/src/main.vue +24 -19
  45. package/packages/checkbox-group/src/main.vue +14 -9
  46. package/packages/data-table/src/column.vue +9 -7
  47. package/packages/flow-group/src/main.vue +1 -1
  48. package/packages/form/src/main.vue +8 -1
  49. package/packages/input/src/main.vue +20 -16
  50. package/packages/login/src/main.vue +8 -3
  51. package/packages/login/src/resetPassword.vue +11 -114
  52. package/packages/radio-group/src/main.vue +1 -1
  53. package/packages/selector/src/main.vue +1 -1
  54. package/packages/tabs/src/main.vue +563 -542
  55. package/src/index.js +1 -1
  56. package/src/utils/util.js +12 -0
package/lib/tabs.js CHANGED
@@ -1915,6 +1915,17 @@ var indexOfObj = function indexOfObj(arry, target, key) {
1915
1915
  return -1;
1916
1916
  };
1917
1917
 
1918
+ /**
1919
+ * isExist
1920
+ * @desc:判断是否存在
1921
+ * @author huangbo
1922
+ * @date 2022年5月7日
1923
+ * @param {Object} [obj] -
1924
+ **/
1925
+ var isExist = function isExist(obj) {
1926
+ return obj !== undefined && obj !== null && obj === '';
1927
+ };
1928
+
1918
1929
  /**
1919
1930
  * isFunction
1920
1931
  * @desc:判断是否是函数
@@ -2939,6 +2950,7 @@ var watermark = function watermark(option) {
2939
2950
  hsvTorgb: hsvTorgb,
2940
2951
  identical: identical,
2941
2952
  indexOfObj: indexOfObj,
2953
+ isExist: isExist,
2942
2954
  isFunction: isFunction,
2943
2955
  isLogged: isLogged,
2944
2956
  isLogined: isLogined,
@@ -3467,7 +3479,7 @@ module.exports = require("json-bigint");
3467
3479
  // ESM COMPAT FLAG
3468
3480
  __webpack_require__.r(__webpack_exports__);
3469
3481
 
3470
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=6c10896a&
3482
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
3471
3483
  var render = function () {
3472
3484
  var _vm = this
3473
3485
  var _h = _vm.$createElement
@@ -3497,1682 +3509,1700 @@ var render = function () {
3497
3509
  _vm.$listeners
3498
3510
  ),
3499
3511
  [
3500
- _vm._t("default"),
3501
- _vm._l(_vm.tabs, function (items, indexs) {
3502
- return [
3503
- !items.hide
3504
- ? _c(
3505
- "el-tab-pane",
3506
- {
3507
- key: indexs,
3508
- attrs: {
3509
- label: items.label,
3510
- immediate: items.immediate,
3511
- name: items.name || String(indexs),
3512
- },
3513
- scopedSlots: _vm._u([
3514
- {
3515
- key: "default",
3516
- fn: function (ref) {
3517
- var loaded = ref.loaded
3518
- return [
3519
- _c(
3520
- "es-tabs-panel",
3521
- _vm._b(
3522
- {
3523
- attrs: { show: loaded },
3524
- scopedSlots: _vm._u([
3525
- {
3526
- key: "default",
3527
- fn: function (ref) {
3528
- var contents = ref.contents
3529
- var average = ref.average
3530
- var data = ref.data
3531
- var title = ref.title
3532
- var show = ref.show
3533
- var isShow = ref.isShow
3534
- return [
3535
- Array.isArray(contents)
3536
- ? [
3537
- _vm._l(
3538
- contents,
3539
- function (item, index) {
3540
- return [
3541
- average
3542
- ? _c(
3543
- "div",
3544
- {
3545
- key: index,
3546
- staticClass:
3547
- "es-tab-pane-list",
3548
- },
3549
- [
3550
- _c(
3551
- "div",
3552
- {
3553
- staticClass:
3554
- "es-tab-pane-main",
3555
- },
3556
- [
3557
- item.htmlType
3558
- ? [
3559
- item.htmlType ===
3560
- "h1"
3561
- ? [
3562
- item.html
3563
- ? _c(
3564
- "h1",
3565
- {
3566
- style:
3567
- item.style,
3568
- domProps:
3569
- {
3570
- innerHTML:
3571
- _vm._s(
3572
- item.html
3573
- ),
3574
- },
3575
- }
3576
- )
3577
- : _c(
3578
- "h1",
3579
- {
3580
- style:
3581
- item.style,
3582
- },
3583
- [
3584
- _vm._v(
3585
- "\n " +
3586
- _vm._s(
3587
- item.text
3588
- ) +
3589
- "\n "
3590
- ),
3591
- ]
3592
- ),
3593
- ]
3594
- : _vm._e(),
3595
- item.htmlType ===
3596
- "h2"
3597
- ? [
3598
- item.html
3599
- ? _c(
3600
- "h2",
3601
- {
3602
- style:
3603
- item.style,
3604
- domProps:
3605
- {
3606
- innerHTML:
3512
+ _vm._t("default", [
3513
+ _vm._l(_vm.tabs, function (items, indexs) {
3514
+ return [
3515
+ !items.hide
3516
+ ? _c(
3517
+ "el-tab-pane",
3518
+ {
3519
+ key: indexs,
3520
+ attrs: {
3521
+ label: items.label,
3522
+ immediate: items.immediate,
3523
+ name: items.name || String(indexs),
3524
+ },
3525
+ scopedSlots: _vm._u([
3526
+ {
3527
+ key: "default",
3528
+ fn: function (ref) {
3529
+ var loaded = ref.loaded
3530
+ return [
3531
+ _c(
3532
+ "es-tabs-panel",
3533
+ _vm._b(
3534
+ {
3535
+ attrs: { show: loaded },
3536
+ scopedSlots: _vm._u([
3537
+ {
3538
+ key: "default",
3539
+ fn: function (ref) {
3540
+ var contents = ref.contents
3541
+ var average = ref.average
3542
+ var data = ref.data
3543
+ var title = ref.title
3544
+ var show = ref.show
3545
+ var isShow = ref.isShow
3546
+ return [
3547
+ Array.isArray(contents)
3548
+ ? [
3549
+ _vm._l(
3550
+ contents,
3551
+ function (item, index) {
3552
+ return [
3553
+ average
3554
+ ? _c(
3555
+ "div",
3556
+ {
3557
+ key: index,
3558
+ staticClass:
3559
+ "es-tab-pane-list",
3560
+ },
3561
+ [
3562
+ _c(
3563
+ "div",
3564
+ {
3565
+ staticClass:
3566
+ "es-tab-pane-main",
3567
+ },
3568
+ [
3569
+ item.htmlType
3570
+ ? [
3571
+ item.htmlType ===
3572
+ "h1"
3573
+ ? [
3574
+ item.html
3575
+ ? _c(
3576
+ "h1",
3577
+ {
3578
+ style:
3579
+ item.style,
3580
+ domProps:
3581
+ {
3582
+ innerHTML:
3583
+ _vm._s(
3584
+ item.html
3585
+ ),
3586
+ },
3587
+ }
3588
+ )
3589
+ : _c(
3590
+ "h1",
3591
+ {
3592
+ style:
3593
+ item.style,
3594
+ },
3595
+ [
3596
+ _vm._v(
3597
+ "\n " +
3607
3598
  _vm._s(
3608
- item.html
3609
- ),
3610
- },
3611
- }
3612
- )
3613
- : _c(
3614
- "h2",
3615
- {
3616
- style:
3617
- item.style,
3618
- },
3619
- [
3620
- _vm._v(
3621
- "\n " +
3622
- _vm._s(
3623
- item.text
3624
- ) +
3625
- "\n "
3626
- ),
3627
- ]
3628
- ),
3629
- ]
3630
- : _vm._e(),
3631
- item.htmlType ===
3632
- "ul"
3633
- ? _c(
3634
- "ul",
3635
- {
3636
- style:
3637
- item.style,
3638
- },
3639
- [
3640
- _vm._l(
3641
- data,
3642
- function (
3643
- liItem,
3644
- liIndex
3645
- ) {
3646
- return [
3647
- _vm
3648
- .liitems
3649
- .html
3650
- ? _c(
3651
- "li",
3652
- {
3653
- key: liIndex,
3654
- domProps:
3655
- {
3656
- innerHTML:
3657
- _vm._s(
3658
- _vm
3659
- .liitems
3660
- .html
3661
- ),
3662
- },
3663
- }
3664
- )
3665
- : _c(
3666
- "li",
3667
- {
3668
- key: liIndex,
3669
- },
3670
- [
3671
- _vm._v(
3672
- "\n " +
3673
- _vm._s(
3674
- liItem
3675
- ) +
3676
- "\n "
3599
+ item.text
3600
+ ) +
3601
+ "\n "
3602
+ ),
3603
+ ]
3604
+ ),
3605
+ ]
3606
+ : _vm._e(),
3607
+ item.htmlType ===
3608
+ "h2"
3609
+ ? [
3610
+ item.html
3611
+ ? _c(
3612
+ "h2",
3613
+ {
3614
+ style:
3615
+ item.style,
3616
+ domProps:
3617
+ {
3618
+ innerHTML:
3619
+ _vm._s(
3620
+ item.html
3677
3621
  ),
3678
- ]
3679
- ),
3680
- ]
3681
- }
3682
- ),
3683
- ],
3684
- 2
3685
- )
3686
- : _vm._e(),
3687
- item.htmlType ===
3688
- "image" ||
3689
- item.htmlType ===
3690
- "img"
3691
- ? _c(
3692
- "img",
3693
- {
3694
- style:
3695
- item.style,
3696
- attrs:
3697
- {
3698
- src: item.url,
3699
- },
3700
- }
3701
- )
3702
- : _vm._e(),
3703
- item.htmlType ===
3704
- "p"
3705
- ? [
3706
- item.html
3707
- ? _c(
3708
- "p",
3709
- {
3710
- style:
3711
- item.style,
3712
- domProps:
3713
- {
3714
- innerHTML:
3622
+ },
3623
+ }
3624
+ )
3625
+ : _c(
3626
+ "h2",
3627
+ {
3628
+ style:
3629
+ item.style,
3630
+ },
3631
+ [
3632
+ _vm._v(
3633
+ "\n " +
3715
3634
  _vm._s(
3716
- item.html
3635
+ item.text
3636
+ ) +
3637
+ "\n "
3638
+ ),
3639
+ ]
3640
+ ),
3641
+ ]
3642
+ : _vm._e(),
3643
+ item.htmlType ===
3644
+ "ul"
3645
+ ? _c(
3646
+ "ul",
3647
+ {
3648
+ style:
3649
+ item.style,
3650
+ },
3651
+ [
3652
+ _vm._l(
3653
+ data,
3654
+ function (
3655
+ liItem,
3656
+ liIndex
3657
+ ) {
3658
+ return [
3659
+ _vm
3660
+ .liitems
3661
+ .html
3662
+ ? _c(
3663
+ "li",
3664
+ {
3665
+ key: liIndex,
3666
+ domProps:
3667
+ {
3668
+ innerHTML:
3669
+ _vm._s(
3670
+ _vm
3671
+ .liitems
3672
+ .html
3673
+ ),
3674
+ },
3675
+ }
3676
+ )
3677
+ : _c(
3678
+ "li",
3679
+ {
3680
+ key: liIndex,
3681
+ },
3682
+ [
3683
+ _vm._v(
3684
+ "\n " +
3685
+ _vm._s(
3686
+ liItem
3687
+ ) +
3688
+ "\n "
3689
+ ),
3690
+ ]
3717
3691
  ),
3718
- },
3692
+ ]
3719
3693
  }
3720
- )
3721
- : _c(
3722
- "p",
3723
- {
3724
- style:
3725
- item.style,
3726
- },
3727
- [
3728
- _vm._v(
3729
- "\n " +
3730
- _vm._s(
3731
- item.text
3732
- ) +
3733
- "\n "
3734
- ),
3735
- ]
3736
3694
  ),
3737
- ]
3738
- : _vm._e(),
3739
- item.htmlType ===
3740
- "div"
3741
- ? [
3742
- item.html
3743
- ? _c(
3744
- "div",
3745
- {
3746
- style:
3747
- item.style,
3748
- domProps:
3749
- {
3750
- innerHTML:
3751
- _vm._s(
3752
- item.html
3753
- ),
3754
- },
3755
- }
3756
- )
3757
- : _c(
3758
- "div",
3695
+ ],
3696
+ 2
3697
+ )
3698
+ : _vm._e(),
3699
+ item.htmlType ===
3700
+ "image" ||
3701
+ item.htmlType ===
3702
+ "img"
3703
+ ? _c(
3704
+ "img",
3705
+ {
3706
+ style:
3707
+ item.style,
3708
+ attrs:
3759
3709
  {
3760
- style:
3761
- item.style,
3710
+ src: item.url,
3762
3711
  },
3763
- [
3764
- _vm._v(
3765
- "\n " +
3766
- _vm._s(
3767
- item.text
3768
- ) +
3769
- "\n "
3770
- ),
3771
- ]
3772
- ),
3773
- ]
3774
- : _vm._e(),
3775
- ]
3776
- : [
3777
- item.type ===
3778
- "data-table" ||
3779
- item.type ===
3780
- "dataTable" ||
3781
- item.type ===
3782
- "flow-list" ||
3783
- item.type ===
3784
- "flowList"
3785
- ? _c(
3786
- "es-data-table",
3787
- _vm._g(
3788
- _vm._b(
3789
- {
3790
- class:
3712
+ }
3713
+ )
3714
+ : _vm._e(),
3715
+ item.htmlType ===
3716
+ "p"
3717
+ ? [
3718
+ item.html
3719
+ ? _c(
3720
+ "p",
3721
+ {
3722
+ style:
3723
+ item.style,
3724
+ domProps:
3725
+ {
3726
+ innerHTML:
3727
+ _vm._s(
3728
+ item.html
3729
+ ),
3730
+ },
3731
+ }
3732
+ )
3733
+ : _c(
3734
+ "p",
3791
3735
  {
3792
- "es-flow-group-data-table":
3793
- item.type ===
3794
- "data-table" ||
3795
- item.type ===
3796
- "dataTable",
3797
- "es-flow-list":
3798
- item.type ===
3799
- "flow-list" ||
3800
- item.type ===
3801
- "flowList",
3736
+ style:
3737
+ item.style,
3802
3738
  },
3803
- attrs:
3739
+ [
3740
+ _vm._v(
3741
+ "\n " +
3742
+ _vm._s(
3743
+ item.text
3744
+ ) +
3745
+ "\n "
3746
+ ),
3747
+ ]
3748
+ ),
3749
+ ]
3750
+ : _vm._e(),
3751
+ item.htmlType ===
3752
+ "div"
3753
+ ? [
3754
+ item.html
3755
+ ? _c(
3756
+ "div",
3757
+ {
3758
+ style:
3759
+ item.style,
3760
+ domProps:
3761
+ {
3762
+ innerHTML:
3763
+ _vm._s(
3764
+ item.html
3765
+ ),
3766
+ },
3767
+ }
3768
+ )
3769
+ : _c(
3770
+ "div",
3804
3771
  {
3805
- display:
3806
- show,
3772
+ style:
3773
+ item.style,
3807
3774
  },
3808
- },
3809
- "es-data-table",
3810
- _vm.handleExclAttribute(
3775
+ [
3776
+ _vm._v(
3777
+ "\n " +
3778
+ _vm._s(
3779
+ item.text
3780
+ ) +
3781
+ "\n "
3782
+ ),
3783
+ ]
3784
+ ),
3785
+ ]
3786
+ : _vm._e(),
3787
+ ]
3788
+ : [
3789
+ item.type ===
3790
+ "data-table" ||
3791
+ item.type ===
3792
+ "dataTable" ||
3793
+ item.type ===
3794
+ "flow-list" ||
3795
+ item.type ===
3796
+ "flowList"
3797
+ ? _c(
3798
+ "es-data-table",
3799
+ _vm._g(
3800
+ _vm._b(
3811
3801
  {
3812
- data: item,
3802
+ class:
3803
+ {
3804
+ "es-flow-group-data-table":
3805
+ item.type ===
3806
+ "data-table" ||
3807
+ item.type ===
3808
+ "dataTable",
3809
+ "es-flow-list":
3810
+ item.type ===
3811
+ "flow-list" ||
3812
+ item.type ===
3813
+ "flowList",
3814
+ },
3813
3815
  attrs:
3814
- [
3815
- "events",
3816
- "visible",
3817
- "type",
3818
- ],
3819
- }
3816
+ {
3817
+ display:
3818
+ show,
3819
+ },
3820
+ },
3821
+ "es-data-table",
3822
+ _vm.handleExclAttribute(
3823
+ {
3824
+ data: item,
3825
+ attrs:
3826
+ [
3827
+ "events",
3828
+ "visible",
3829
+ "type",
3830
+ ],
3831
+ }
3832
+ ),
3833
+ false
3820
3834
  ),
3821
- false
3835
+ item.events
3822
3836
  ),
3823
- item.events
3824
- ),
3825
- [
3826
- item.dialog
3827
- ? _c(
3828
- "template",
3829
- {
3830
- slot: "dialog",
3831
- },
3832
- [
3833
- Array.isArray(
3834
- item.dialog
3835
- )
3836
- ? _vm._l(
3837
- item.dialog,
3838
- function (
3839
- ele,
3840
- ids
3841
- ) {
3842
- return _c(
3843
- "es-dialog",
3844
- _vm._g(
3845
- _vm._b(
3846
- {
3847
- key: ids,
3848
- attrs:
3849
- {
3850
- isReload: true,
3851
- visible:
3852
- ele.visible,
3853
- },
3854
- on: {
3855
- "update:visible":
3856
- function (
3857
- $event
3858
- ) {
3859
- _vm.$set(
3860
- ele,
3861
- "visible",
3862
- $event
3863
- )
3864
- },
3865
- },
3866
- },
3867
- "es-dialog",
3868
- _vm.handleExclAttribute(
3837
+ [
3838
+ item.dialog
3839
+ ? _c(
3840
+ "template",
3841
+ {
3842
+ slot: "dialog",
3843
+ },
3844
+ [
3845
+ Array.isArray(
3846
+ item.dialog
3847
+ )
3848
+ ? _vm._l(
3849
+ item.dialog,
3850
+ function (
3851
+ ele,
3852
+ ids
3853
+ ) {
3854
+ return _c(
3855
+ "es-dialog",
3856
+ _vm._g(
3857
+ _vm._b(
3869
3858
  {
3870
- data: ele,
3859
+ key: ids,
3871
3860
  attrs:
3872
- [
3873
- "visible",
3874
- ],
3875
- }
3861
+ {
3862
+ isReload: true,
3863
+ visible:
3864
+ ele.visible,
3865
+ },
3866
+ on: {
3867
+ "update:visible":
3868
+ function (
3869
+ $event
3870
+ ) {
3871
+ _vm.$set(
3872
+ ele,
3873
+ "visible",
3874
+ $event
3875
+ )
3876
+ },
3877
+ },
3878
+ },
3879
+ "es-dialog",
3880
+ _vm.handleExclAttribute(
3881
+ {
3882
+ data: ele,
3883
+ attrs:
3884
+ [
3885
+ "visible",
3886
+ ],
3887
+ }
3888
+ ),
3889
+ false
3876
3890
  ),
3877
- false
3878
- ),
3879
- Object.assign(
3880
- {},
3881
- ele.events
3891
+ Object.assign(
3892
+ {},
3893
+ ele.events
3894
+ )
3882
3895
  )
3883
3896
  )
3884
- )
3885
- }
3886
- )
3887
- : _c(
3888
- "es-dialog",
3889
- _vm._g(
3890
- _vm._b(
3891
- {
3892
- attrs:
3893
- {
3894
- isReload: true,
3895
- visible:
3896
- item
3897
- .dialog
3898
- .visible,
3899
- },
3900
- on: {
3901
- "update:visible":
3902
- function (
3903
- $event
3904
- ) {
3905
- _vm.$set(
3906
- item.dialog,
3907
- "visible",
3908
- $event
3909
- )
3910
- },
3911
- },
3912
- },
3913
- "es-dialog",
3914
- _vm.handleExclAttribute(
3897
+ }
3898
+ )
3899
+ : _c(
3900
+ "es-dialog",
3901
+ _vm._g(
3902
+ _vm._b(
3915
3903
  {
3916
- data: item.dialog,
3917
3904
  attrs:
3918
- [
3919
- "visible",
3920
- ],
3921
- }
3922
- ),
3923
- false
3924
- ),
3925
- Object.assign(
3926
- {},
3927
- item
3928
- .dialog
3929
- .events
3930
- )
3931
- )
3932
- ),
3933
- ],
3934
- 2
3935
- )
3936
- : _vm._e(),
3937
- ],
3938
- 2
3939
- )
3940
- : _vm._e(),
3941
- item.type ===
3942
- "tree-group" ||
3943
- item.type ===
3944
- "treeGroup"
3945
- ? _c(
3946
- "es-tree-group",
3947
- _vm._g(
3948
- _vm._b(
3949
- {
3950
- attrs:
3951
- {
3952
- display:
3953
- show,
3954
- },
3955
- },
3956
- "es-tree-group",
3957
- _vm.handleExclAttribute(
3958
- {
3959
- data: item,
3960
- attrs:
3961
- [
3962
- "events",
3963
- "visible",
3964
- "type",
3905
+ {
3906
+ isReload: true,
3907
+ visible:
3908
+ item
3909
+ .dialog
3910
+ .visible,
3911
+ },
3912
+ on: {
3913
+ "update:visible":
3914
+ function (
3915
+ $event
3916
+ ) {
3917
+ _vm.$set(
3918
+ item.dialog,
3919
+ "visible",
3920
+ $event
3921
+ )
3922
+ },
3923
+ },
3924
+ },
3925
+ "es-dialog",
3926
+ _vm.handleExclAttribute(
3927
+ {
3928
+ data: item.dialog,
3929
+ attrs:
3930
+ [
3931
+ "visible",
3932
+ ],
3933
+ }
3934
+ ),
3935
+ false
3936
+ ),
3937
+ Object.assign(
3938
+ {},
3939
+ item
3940
+ .dialog
3941
+ .events
3942
+ )
3943
+ )
3944
+ ),
3965
3945
  ],
3966
- }
3967
- ),
3968
- false
3969
- ),
3970
- Object.assign(
3971
- {},
3972
- item.events
3973
- )
3946
+ 2
3947
+ )
3948
+ : _vm._e(),
3949
+ ],
3950
+ 2
3974
3951
  )
3975
- )
3976
- : _vm._e(),
3977
- item.type ===
3978
- "iframe" &&
3979
- !item.blank
3980
- ? _c(
3981
- "iframe",
3982
- {
3983
- attrs:
3984
- {
3985
- id:
3986
- item.id ||
3987
- item.name,
3988
- name: item.name,
3989
- frameborder:
3990
- "0",
3991
- width:
3992
- "100%",
3993
- height:
3994
- "100%",
3995
- src: _vm.handleUrlJoinParams(
3952
+ : _vm._e(),
3953
+ item.type ===
3954
+ "tree-group" ||
3955
+ item.type ===
3956
+ "treeGroup"
3957
+ ? _c(
3958
+ "es-tree-group",
3959
+ _vm._g(
3960
+ _vm._b(
3961
+ {
3962
+ attrs:
3963
+ {
3964
+ display:
3965
+ show,
3966
+ },
3967
+ },
3968
+ "es-tree-group",
3969
+ _vm.handleExclAttribute(
3996
3970
  {
3997
- url: item.url,
3998
- param:
3999
- item.param ||
4000
- {},
3971
+ data: item,
3972
+ attrs:
3973
+ [
3974
+ "events",
3975
+ "visible",
3976
+ "type",
3977
+ ],
4001
3978
  }
4002
3979
  ),
4003
- },
4004
- }
4005
- )
4006
- : _vm._e(),
4007
- item.type ===
4008
- "attachment"
4009
- ? _c(
4010
- "es-upload",
4011
- _vm._g(
4012
- _vm._b(
4013
- {
4014
- staticClass:
4015
- "es-attachment",
4016
- attrs:
4017
- {
4018
- "file-count":
4019
- title.count,
4020
- height:
4021
- "auto",
4022
- display:
4023
- show,
4024
- },
4025
- on: {
4026
- "update:fileCount":
4027
- function (
4028
- $event
4029
- ) {
4030
- _vm.$set(
4031
- title,
4032
- "count",
4033
- $event
4034
- )
4035
- },
3980
+ false
3981
+ ),
3982
+ Object.assign(
3983
+ {},
3984
+ item.events
3985
+ )
3986
+ )
3987
+ )
3988
+ : _vm._e(),
3989
+ item.type ===
3990
+ "iframe" &&
3991
+ !item.blank
3992
+ ? _c(
3993
+ "iframe",
3994
+ {
3995
+ attrs:
3996
+ {
3997
+ id:
3998
+ item.id ||
3999
+ item.name,
4000
+ name: item.name,
4001
+ frameborder:
4002
+ "0",
4003
+ width:
4004
+ "100%",
4005
+ height:
4006
+ "100%",
4007
+ src: _vm.handleUrlJoinParams(
4008
+ {
4009
+ url: item.url,
4010
+ param:
4011
+ item.param ||
4012
+ {},
4013
+ }
4014
+ ),
4036
4015
  },
4037
- },
4038
- "es-upload",
4039
- _vm.handleExclAttribute(
4016
+ }
4017
+ )
4018
+ : _vm._e(),
4019
+ item.type ===
4020
+ "attachment"
4021
+ ? _c(
4022
+ "es-upload",
4023
+ _vm._g(
4024
+ _vm._b(
4040
4025
  {
4041
- data: item,
4026
+ staticClass:
4027
+ "es-attachment",
4042
4028
  attrs:
4043
- [
4044
- "events",
4045
- "type",
4046
- ],
4047
- }
4029
+ {
4030
+ "file-count":
4031
+ title.count,
4032
+ height:
4033
+ "auto",
4034
+ display:
4035
+ show,
4036
+ },
4037
+ on: {
4038
+ "update:fileCount":
4039
+ function (
4040
+ $event
4041
+ ) {
4042
+ _vm.$set(
4043
+ title,
4044
+ "count",
4045
+ $event
4046
+ )
4047
+ },
4048
+ },
4049
+ },
4050
+ "es-upload",
4051
+ _vm.handleExclAttribute(
4052
+ {
4053
+ data: item,
4054
+ attrs:
4055
+ [
4056
+ "events",
4057
+ "type",
4058
+ ],
4059
+ }
4060
+ ),
4061
+ false
4048
4062
  ),
4049
- false
4050
- ),
4051
- Object.assign(
4052
- {},
4053
- item.events
4063
+ Object.assign(
4064
+ {},
4065
+ item.events
4066
+ )
4054
4067
  )
4055
4068
  )
4056
- )
4057
- : _vm._e(),
4058
- ],
4059
- ],
4060
- 2
4061
- ),
4062
- ]
4063
- )
4064
- : [
4065
- item.htmlType === "h1"
4066
- ? [
4067
- item.html
4068
- ? _c(
4069
- "h1",
4070
- _vm._b(
4071
- {
4072
- key: index,
4073
- domProps:
4074
- {
4075
- innerHTML:
4076
- _vm._s(
4077
- item.html
4078
- ),
4079
- },
4080
- },
4069
+ : _vm._e(),
4070
+ ],
4071
+ ],
4072
+ 2
4073
+ ),
4074
+ ]
4075
+ )
4076
+ : [
4077
+ item.htmlType ===
4078
+ "h1"
4079
+ ? [
4080
+ item.html
4081
+ ? _c(
4081
4082
  "h1",
4082
- _vm.handleExclAttribute(
4083
+ _vm._b(
4083
4084
  {
4084
- data: item,
4085
- attrs:
4086
- [
4087
- "html",
4088
- "htmlType",
4089
- ],
4090
- }
4091
- ),
4092
- false
4085
+ key: index,
4086
+ domProps:
4087
+ {
4088
+ innerHTML:
4089
+ _vm._s(
4090
+ item.html
4091
+ ),
4092
+ },
4093
+ },
4094
+ "h1",
4095
+ _vm.handleExclAttribute(
4096
+ {
4097
+ data: item,
4098
+ attrs:
4099
+ [
4100
+ "html",
4101
+ "htmlType",
4102
+ ],
4103
+ }
4104
+ ),
4105
+ false
4106
+ )
4093
4107
  )
4094
- )
4095
- : _c(
4096
- "h1",
4097
- _vm._b(
4098
- {
4099
- key: index,
4100
- },
4108
+ : _c(
4101
4109
  "h1",
4102
- _vm.handleExclAttribute(
4110
+ _vm._b(
4103
4111
  {
4104
- data: item,
4105
- attrs:
4106
- [
4107
- "html",
4108
- "htmlType",
4109
- ],
4110
- }
4112
+ key: index,
4113
+ },
4114
+ "h1",
4115
+ _vm.handleExclAttribute(
4116
+ {
4117
+ data: item,
4118
+ attrs:
4119
+ [
4120
+ "html",
4121
+ "htmlType",
4122
+ ],
4123
+ }
4124
+ ),
4125
+ false
4111
4126
  ),
4112
- false
4127
+ [
4128
+ _vm._v(
4129
+ "\n " +
4130
+ _vm._s(
4131
+ item.text
4132
+ ) +
4133
+ "\n "
4134
+ ),
4135
+ ]
4113
4136
  ),
4114
- [
4115
- _vm._v(
4116
- "\n " +
4117
- _vm._s(
4118
- item.text
4119
- ) +
4120
- "\n "
4121
- ),
4122
- ]
4123
- ),
4124
- ]
4125
- : _vm._e(),
4126
- item.htmlType === "h2"
4127
- ? [
4128
- item.html
4129
- ? _c(
4130
- "h2",
4131
- _vm._b(
4132
- {
4133
- key: index,
4134
- domProps:
4135
- {
4136
- innerHTML:
4137
- _vm._s(
4138
- item.html
4139
- ),
4140
- },
4141
- },
4137
+ ]
4138
+ : _vm._e(),
4139
+ item.htmlType ===
4140
+ "h2"
4141
+ ? [
4142
+ item.html
4143
+ ? _c(
4142
4144
  "h2",
4143
- _vm.handleExclAttribute(
4145
+ _vm._b(
4144
4146
  {
4145
- data: item,
4146
- attrs:
4147
- [
4148
- "html",
4149
- "htmlType",
4150
- ],
4151
- }
4152
- ),
4153
- false
4147
+ key: index,
4148
+ domProps:
4149
+ {
4150
+ innerHTML:
4151
+ _vm._s(
4152
+ item.html
4153
+ ),
4154
+ },
4155
+ },
4156
+ "h2",
4157
+ _vm.handleExclAttribute(
4158
+ {
4159
+ data: item,
4160
+ attrs:
4161
+ [
4162
+ "html",
4163
+ "htmlType",
4164
+ ],
4165
+ }
4166
+ ),
4167
+ false
4168
+ )
4154
4169
  )
4155
- )
4156
- : _c(
4157
- "h2",
4158
- _vm._b(
4159
- {
4160
- key: index,
4161
- },
4170
+ : _c(
4162
4171
  "h2",
4163
- _vm.handleExclAttribute(
4172
+ _vm._b(
4164
4173
  {
4165
- data: item,
4166
- attrs:
4167
- [
4168
- "html",
4169
- "htmlType",
4170
- ],
4171
- }
4174
+ key: index,
4175
+ },
4176
+ "h2",
4177
+ _vm.handleExclAttribute(
4178
+ {
4179
+ data: item,
4180
+ attrs:
4181
+ [
4182
+ "html",
4183
+ "htmlType",
4184
+ ],
4185
+ }
4186
+ ),
4187
+ false
4172
4188
  ),
4173
- false
4189
+ [
4190
+ _vm._v(
4191
+ "\n " +
4192
+ _vm._s(
4193
+ item.text
4194
+ ) +
4195
+ "\n "
4196
+ ),
4197
+ ]
4174
4198
  ),
4175
- [
4176
- _vm._v(
4177
- "\n " +
4178
- _vm._s(
4179
- item.text
4180
- ) +
4181
- "\n "
4182
- ),
4183
- ]
4184
- ),
4185
- ]
4186
- : _vm._e(),
4187
- item.htmlType === "ul"
4188
- ? [
4189
- item.html
4190
- ? _c(
4191
- "ul",
4192
- _vm._b(
4193
- {
4194
- key: index,
4195
- domProps:
4196
- {
4197
- innerHTML:
4198
- _vm._s(
4199
- item.html
4200
- ),
4201
- },
4202
- },
4199
+ ]
4200
+ : _vm._e(),
4201
+ item.htmlType ===
4202
+ "ul"
4203
+ ? [
4204
+ item.html
4205
+ ? _c(
4203
4206
  "ul",
4204
- _vm.handleExclAttribute(
4207
+ _vm._b(
4205
4208
  {
4206
- data: item,
4207
- attrs:
4208
- [
4209
- "html",
4210
- "htmlType",
4211
- ],
4212
- }
4213
- ),
4214
- false
4209
+ key: index,
4210
+ domProps:
4211
+ {
4212
+ innerHTML:
4213
+ _vm._s(
4214
+ item.html
4215
+ ),
4216
+ },
4217
+ },
4218
+ "ul",
4219
+ _vm.handleExclAttribute(
4220
+ {
4221
+ data: item,
4222
+ attrs:
4223
+ [
4224
+ "html",
4225
+ "htmlType",
4226
+ ],
4227
+ }
4228
+ ),
4229
+ false
4230
+ )
4215
4231
  )
4216
- )
4217
- : _c(
4218
- "ul",
4219
- _vm._b(
4220
- {
4221
- key: index,
4222
- },
4232
+ : _c(
4223
4233
  "ul",
4224
- _vm.handleExclAttribute(
4234
+ _vm._b(
4225
4235
  {
4226
- data: item,
4227
- attrs:
4228
- [
4229
- "html",
4230
- "htmlType",
4231
- ],
4232
- }
4236
+ key: index,
4237
+ },
4238
+ "ul",
4239
+ _vm.handleExclAttribute(
4240
+ {
4241
+ data: item,
4242
+ attrs:
4243
+ [
4244
+ "html",
4245
+ "htmlType",
4246
+ ],
4247
+ }
4248
+ ),
4249
+ false
4233
4250
  ),
4234
- false
4235
- ),
4236
- [
4237
- _vm._l(
4238
- data,
4239
- function (
4240
- liItem,
4241
- liIndex
4242
- ) {
4243
- return [
4244
- _vm
4245
- .liitems
4246
- .html
4247
- ? _c(
4248
- "li",
4249
- {
4250
- key: liIndex,
4251
- domProps:
4252
- {
4253
- innerHTML:
4251
+ [
4252
+ _vm._l(
4253
+ data,
4254
+ function (
4255
+ liItem,
4256
+ liIndex
4257
+ ) {
4258
+ return [
4259
+ _vm
4260
+ .liitems
4261
+ .html
4262
+ ? _c(
4263
+ "li",
4264
+ {
4265
+ key: liIndex,
4266
+ domProps:
4267
+ {
4268
+ innerHTML:
4269
+ _vm._s(
4270
+ _vm
4271
+ .liitems
4272
+ .html
4273
+ ),
4274
+ },
4275
+ }
4276
+ )
4277
+ : _c(
4278
+ "li",
4279
+ {
4280
+ key: liIndex,
4281
+ },
4282
+ [
4283
+ _vm._v(
4284
+ "\n " +
4254
4285
  _vm._s(
4255
- _vm
4256
- .liitems
4257
- .html
4258
- ),
4259
- },
4260
- }
4261
- )
4262
- : _c(
4263
- "li",
4264
- {
4265
- key: liIndex,
4266
- },
4267
- [
4268
- _vm._v(
4269
- "\n " +
4270
- _vm._s(
4271
- liItem
4272
- ) +
4273
- "\n "
4274
- ),
4275
- ]
4276
- ),
4277
- ]
4278
- }
4279
- ),
4280
- ],
4281
- 2
4282
- ),
4283
- ]
4284
- : _vm._e(),
4285
- item.htmlType ===
4286
- "image" ||
4287
- item.htmlType ===
4288
- "img"
4289
- ? [
4290
- _c(
4291
- "img",
4292
- _vm._b(
4293
- {
4294
- key: index,
4295
- attrs: {
4296
- src:
4297
- item.url ||
4298
- item.src,
4299
- },
4300
- },
4286
+ liItem
4287
+ ) +
4288
+ "\n "
4289
+ ),
4290
+ ]
4291
+ ),
4292
+ ]
4293
+ }
4294
+ ),
4295
+ ],
4296
+ 2
4297
+ ),
4298
+ ]
4299
+ : _vm._e(),
4300
+ item.htmlType ===
4301
+ "image" ||
4302
+ item.htmlType ===
4303
+ "img"
4304
+ ? [
4305
+ _c(
4301
4306
  "img",
4302
- _vm.handleExclAttribute(
4307
+ _vm._b(
4303
4308
  {
4304
- data: item,
4305
- attrs: [
4306
- "html",
4307
- "htmlType",
4308
- "src",
4309
- ],
4310
- }
4311
- ),
4312
- false
4313
- )
4314
- ),
4315
- ]
4316
- : _vm._e(),
4317
- item.htmlType === "p"
4318
- ? [
4319
- item.html
4320
- ? _c(
4321
- "p",
4322
- _vm._b(
4323
- {
4324
- key: index,
4325
- domProps:
4326
- {
4327
- innerHTML:
4328
- _vm._s(
4329
- item.html
4330
- ),
4331
- },
4309
+ key: index,
4310
+ attrs: {
4311
+ src:
4312
+ item.url ||
4313
+ item.src,
4332
4314
  },
4315
+ },
4316
+ "img",
4317
+ _vm.handleExclAttribute(
4318
+ {
4319
+ data: item,
4320
+ attrs:
4321
+ [
4322
+ "html",
4323
+ "htmlType",
4324
+ "src",
4325
+ ],
4326
+ }
4327
+ ),
4328
+ false
4329
+ )
4330
+ ),
4331
+ ]
4332
+ : _vm._e(),
4333
+ item.htmlType ===
4334
+ "p"
4335
+ ? [
4336
+ item.html
4337
+ ? _c(
4333
4338
  "p",
4334
- _vm.handleExclAttribute(
4339
+ _vm._b(
4335
4340
  {
4336
- data: item,
4337
- attrs:
4338
- [
4339
- "html",
4340
- "htmlType",
4341
- ],
4342
- }
4343
- ),
4344
- false
4341
+ key: index,
4342
+ domProps:
4343
+ {
4344
+ innerHTML:
4345
+ _vm._s(
4346
+ item.html
4347
+ ),
4348
+ },
4349
+ },
4350
+ "p",
4351
+ _vm.handleExclAttribute(
4352
+ {
4353
+ data: item,
4354
+ attrs:
4355
+ [
4356
+ "html",
4357
+ "htmlType",
4358
+ ],
4359
+ }
4360
+ ),
4361
+ false
4362
+ )
4345
4363
  )
4346
- )
4347
- : _c(
4348
- "p",
4349
- _vm._b(
4350
- {
4351
- key: index,
4352
- },
4364
+ : _c(
4353
4365
  "p",
4354
- _vm.handleExclAttribute(
4366
+ _vm._b(
4355
4367
  {
4356
- data: item,
4357
- attrs:
4358
- [
4359
- "text",
4360
- "htmlType",
4361
- ],
4362
- }
4368
+ key: index,
4369
+ },
4370
+ "p",
4371
+ _vm.handleExclAttribute(
4372
+ {
4373
+ data: item,
4374
+ attrs:
4375
+ [
4376
+ "text",
4377
+ "htmlType",
4378
+ ],
4379
+ }
4380
+ ),
4381
+ false
4363
4382
  ),
4364
- false
4383
+ [
4384
+ _vm._v(
4385
+ "\n " +
4386
+ _vm._s(
4387
+ item.text
4388
+ ) +
4389
+ "\n "
4390
+ ),
4391
+ ]
4365
4392
  ),
4366
- [
4367
- _vm._v(
4368
- "\n " +
4369
- _vm._s(
4370
- item.text
4371
- ) +
4372
- "\n "
4373
- ),
4374
- ]
4375
- ),
4376
- ]
4377
- : _vm._e(),
4378
- item.htmlType ===
4379
- "div"
4380
- ? [
4381
- item.html
4382
- ? _c(
4383
- "div",
4384
- _vm._b(
4385
- {
4386
- key: index,
4387
- domProps:
4388
- {
4389
- innerHTML:
4390
- _vm._s(
4391
- item.html
4392
- ),
4393
- },
4394
- },
4393
+ ]
4394
+ : _vm._e(),
4395
+ item.htmlType ===
4396
+ "div"
4397
+ ? [
4398
+ item.html
4399
+ ? _c(
4395
4400
  "div",
4396
- _vm.handleExclAttribute(
4401
+ _vm._b(
4397
4402
  {
4398
- data: item,
4399
- attrs:
4400
- [
4401
- "html",
4402
- "htmlType",
4403
- ],
4404
- }
4405
- ),
4406
- false
4403
+ key: index,
4404
+ domProps:
4405
+ {
4406
+ innerHTML:
4407
+ _vm._s(
4408
+ item.html
4409
+ ),
4410
+ },
4411
+ },
4412
+ "div",
4413
+ _vm.handleExclAttribute(
4414
+ {
4415
+ data: item,
4416
+ attrs:
4417
+ [
4418
+ "html",
4419
+ "htmlType",
4420
+ ],
4421
+ }
4422
+ ),
4423
+ false
4424
+ )
4407
4425
  )
4408
- )
4409
- : _c(
4410
- "div",
4411
- _vm._b(
4412
- {
4413
- key: index,
4414
- },
4426
+ : _c(
4415
4427
  "div",
4416
- _vm.handleExclAttribute(
4428
+ _vm._b(
4417
4429
  {
4418
- data: item,
4419
- attrs:
4420
- [
4421
- "html",
4422
- "htmlType",
4423
- ],
4424
- }
4430
+ key: index,
4431
+ },
4432
+ "div",
4433
+ _vm.handleExclAttribute(
4434
+ {
4435
+ data: item,
4436
+ attrs:
4437
+ [
4438
+ "html",
4439
+ "htmlType",
4440
+ ],
4441
+ }
4442
+ ),
4443
+ false
4425
4444
  ),
4426
- false
4445
+ [
4446
+ _vm._v(
4447
+ "\n " +
4448
+ _vm._s(
4449
+ item.text
4450
+ ) +
4451
+ "\n "
4452
+ ),
4453
+ ]
4427
4454
  ),
4428
- [
4429
- _vm._v(
4430
- "\n " +
4431
- _vm._s(
4432
- item.text
4433
- ) +
4434
- "\n "
4435
- ),
4436
- ]
4437
- ),
4438
- ]
4439
- : _vm._e(),
4440
- item.type === "form"
4441
- ? _c(
4442
- "es-form",
4443
- _vm._g(
4444
- _vm._b(
4445
- {
4446
- key: index,
4447
- ref: "esFlowForm",
4448
- refInFor: true,
4449
- attrs: {
4450
- full: "",
4451
- model:
4452
- item.model,
4453
- display:
4454
- show,
4455
- closeDialog: false,
4456
- },
4457
- on: {
4458
- "update:model":
4459
- function (
4460
- $event
4461
- ) {
4462
- _vm.$set(
4463
- item,
4464
- "model",
4455
+ ]
4456
+ : _vm._e(),
4457
+ item.type === "form"
4458
+ ? _c(
4459
+ "es-form",
4460
+ _vm._g(
4461
+ _vm._b(
4462
+ {
4463
+ key: index,
4464
+ ref: "esFlowForm",
4465
+ refInFor: true,
4466
+ attrs: {
4467
+ full: "",
4468
+ model:
4469
+ item.model,
4470
+ display:
4471
+ show,
4472
+ closeDialog: false,
4473
+ },
4474
+ on: {
4475
+ "update:model":
4476
+ function (
4465
4477
  $event
4466
- )
4467
- },
4478
+ ) {
4479
+ _vm.$set(
4480
+ item,
4481
+ "model",
4482
+ $event
4483
+ )
4484
+ },
4485
+ },
4468
4486
  },
4469
- },
4470
- "es-form",
4471
- _vm.handleExclAttribute(
4472
- {
4473
- data: item,
4474
- attrs: [
4475
- "events",
4476
- "visible",
4477
- "model",
4478
- "type",
4479
- "ref",
4480
- ],
4481
- }
4487
+ "es-form",
4488
+ _vm.handleExclAttribute(
4489
+ {
4490
+ data: item,
4491
+ attrs:
4492
+ [
4493
+ "events",
4494
+ "visible",
4495
+ "model",
4496
+ "type",
4497
+ "ref",
4498
+ ],
4499
+ }
4500
+ ),
4501
+ false
4482
4502
  ),
4483
- false
4484
- ),
4485
- Object.assign(
4486
- {},
4487
- item.events
4503
+ Object.assign(
4504
+ {},
4505
+ item.events
4506
+ )
4488
4507
  )
4489
4508
  )
4490
- )
4491
- : _vm._e(),
4492
- item.type ===
4493
- "data-table" ||
4494
- item.type ===
4495
- "dataTable" ||
4496
- item.type ===
4497
- "flow-list" ||
4498
- item.type ===
4499
- "flowList"
4500
- ? _c(
4501
- "es-data-table",
4502
- _vm._g(
4503
- _vm._b(
4504
- {
4505
- key: index,
4506
- class: {
4507
- "es-flow-group-data-table":
4508
- item.type ===
4509
- "data-table" ||
4510
- item.type ===
4511
- "dataTable",
4512
- "es-flow-list":
4513
- item.type ===
4514
- "flow-list" ||
4515
- item.type ===
4516
- "flowList",
4517
- },
4518
- attrs: {
4519
- display:
4520
- show,
4521
- },
4522
- },
4523
- "es-data-table",
4524
- _vm.handleExclAttribute(
4509
+ : _vm._e(),
4510
+ item.type ===
4511
+ "data-table" ||
4512
+ item.type ===
4513
+ "dataTable" ||
4514
+ item.type ===
4515
+ "flow-list" ||
4516
+ item.type ===
4517
+ "flowList"
4518
+ ? _c(
4519
+ "es-data-table",
4520
+ _vm._g(
4521
+ _vm._b(
4525
4522
  {
4526
- data: item,
4527
- attrs: [
4528
- "events",
4529
- "visible",
4530
- "type",
4531
- ],
4532
- }
4523
+ key: index,
4524
+ class: {
4525
+ "es-flow-group-data-table":
4526
+ item.type ===
4527
+ "data-table" ||
4528
+ item.type ===
4529
+ "dataTable",
4530
+ "es-flow-list":
4531
+ item.type ===
4532
+ "flow-list" ||
4533
+ item.type ===
4534
+ "flowList",
4535
+ },
4536
+ attrs: {
4537
+ display:
4538
+ show,
4539
+ },
4540
+ },
4541
+ "es-data-table",
4542
+ _vm.handleExclAttribute(
4543
+ {
4544
+ data: item,
4545
+ attrs:
4546
+ [
4547
+ "events",
4548
+ "visible",
4549
+ "type",
4550
+ ],
4551
+ }
4552
+ ),
4553
+ false
4533
4554
  ),
4534
- false
4555
+ item.events
4535
4556
  ),
4536
- item.events
4537
- ),
4538
- [
4539
- item.dialog
4540
- ? _c(
4541
- "template",
4542
- {
4543
- slot: "dialog",
4544
- },
4545
- [
4546
- Array.isArray(
4547
- item.dialog
4548
- )
4549
- ? _vm._l(
4550
- item.dialog,
4551
- function (
4552
- ele,
4553
- ids
4554
- ) {
4555
- return _c(
4556
- "es-dialog",
4557
- _vm._g(
4558
- _vm._b(
4559
- {
4560
- key: ids,
4561
- attrs:
4562
- {
4563
- isReload: true,
4564
- visible:
4565
- ele.visible,
4557
+ [
4558
+ item.dialog
4559
+ ? _c(
4560
+ "template",
4561
+ {
4562
+ slot: "dialog",
4563
+ },
4564
+ [
4565
+ Array.isArray(
4566
+ item.dialog
4567
+ )
4568
+ ? _vm._l(
4569
+ item.dialog,
4570
+ function (
4571
+ ele,
4572
+ ids
4573
+ ) {
4574
+ return _c(
4575
+ "es-dialog",
4576
+ _vm._g(
4577
+ _vm._b(
4578
+ {
4579
+ key: ids,
4580
+ attrs:
4581
+ {
4582
+ isReload: true,
4583
+ visible:
4584
+ ele.visible,
4585
+ },
4586
+ on: {
4587
+ "update:visible":
4588
+ function (
4589
+ $event
4590
+ ) {
4591
+ _vm.$set(
4592
+ ele,
4593
+ "visible",
4594
+ $event
4595
+ )
4596
+ },
4566
4597
  },
4567
- on: {
4568
- "update:visible":
4569
- function (
4570
- $event
4571
- ) {
4572
- _vm.$set(
4573
- ele,
4598
+ },
4599
+ "es-dialog",
4600
+ _vm.handleExclAttribute(
4601
+ {
4602
+ data: ele,
4603
+ attrs:
4604
+ [
4574
4605
  "visible",
4575
- $event
4576
- )
4577
- },
4606
+ ],
4607
+ }
4608
+ ),
4609
+ false
4610
+ ),
4611
+ Object.assign(
4612
+ {},
4613
+ ele.events
4614
+ )
4615
+ )
4616
+ )
4617
+ }
4618
+ )
4619
+ : _c(
4620
+ "es-dialog",
4621
+ _vm._g(
4622
+ _vm._b(
4623
+ {
4624
+ attrs:
4625
+ {
4626
+ isReload: true,
4627
+ visible:
4628
+ item
4629
+ .dialog
4630
+ .visible,
4578
4631
  },
4632
+ on: {
4633
+ "update:visible":
4634
+ function (
4635
+ $event
4636
+ ) {
4637
+ _vm.$set(
4638
+ item.dialog,
4639
+ "visible",
4640
+ $event
4641
+ )
4642
+ },
4579
4643
  },
4580
- "es-dialog",
4581
- _vm.handleExclAttribute(
4582
- {
4583
- data: ele,
4584
- attrs:
4585
- [
4586
- "visible",
4587
- ],
4588
- }
4589
- ),
4590
- false
4591
- ),
4592
- Object.assign(
4593
- {},
4594
- ele.events
4595
- )
4596
- )
4597
- )
4598
- }
4599
- )
4600
- : _c(
4601
- "es-dialog",
4602
- _vm._g(
4603
- _vm._b(
4604
- {
4605
- attrs:
4644
+ },
4645
+ "es-dialog",
4646
+ _vm.handleExclAttribute(
4606
4647
  {
4607
- isReload: true,
4608
- visible:
4609
- item
4610
- .dialog
4611
- .visible,
4612
- },
4613
- on: {
4614
- "update:visible":
4615
- function (
4616
- $event
4617
- ) {
4618
- _vm.$set(
4619
- item.dialog,
4648
+ data: item.dialog,
4649
+ attrs:
4650
+ [
4620
4651
  "visible",
4621
- $event
4622
- )
4623
- },
4624
- },
4625
- },
4626
- "es-dialog",
4627
- _vm.handleExclAttribute(
4628
- {
4629
- data: item.dialog,
4630
- attrs:
4631
- [
4632
- "visible",
4633
- ],
4634
- }
4652
+ ],
4653
+ }
4654
+ ),
4655
+ false
4635
4656
  ),
4636
- false
4637
- ),
4638
- Object.assign(
4639
- {},
4640
- item
4641
- .dialog
4642
- .events
4657
+ Object.assign(
4658
+ {},
4659
+ item
4660
+ .dialog
4661
+ .events
4662
+ )
4643
4663
  )
4644
- )
4645
- ),
4646
- ],
4647
- 2
4648
- )
4649
- : _vm._e(),
4650
- ],
4651
- 2
4652
- )
4653
- : _vm._e(),
4654
- item.type ===
4655
- "tree-group" ||
4656
- item.type ===
4657
- "treeGroup"
4658
- ? _c(
4659
- "es-tree-group",
4660
- _vm._g(
4661
- _vm._b(
4662
- {
4663
- key: index,
4664
- attrs: {
4665
- display:
4666
- show,
4667
- },
4668
- },
4669
- "es-tree-group",
4670
- _vm.handleExclAttribute(
4664
+ ),
4665
+ ],
4666
+ 2
4667
+ )
4668
+ : _vm._e(),
4669
+ ],
4670
+ 2
4671
+ )
4672
+ : _vm._e(),
4673
+ item.type ===
4674
+ "tree-group" ||
4675
+ item.type ===
4676
+ "treeGroup"
4677
+ ? _c(
4678
+ "es-tree-group",
4679
+ _vm._g(
4680
+ _vm._b(
4671
4681
  {
4672
- data: item,
4673
- attrs: [
4674
- "events",
4675
- "visible",
4676
- "type",
4677
- ],
4678
- }
4682
+ key: index,
4683
+ attrs: {
4684
+ display:
4685
+ show,
4686
+ },
4687
+ },
4688
+ "es-tree-group",
4689
+ _vm.handleExclAttribute(
4690
+ {
4691
+ data: item,
4692
+ attrs:
4693
+ [
4694
+ "events",
4695
+ "visible",
4696
+ "type",
4697
+ ],
4698
+ }
4699
+ ),
4700
+ false
4679
4701
  ),
4680
- false
4681
- ),
4682
- Object.assign(
4683
- {},
4684
- item.events
4702
+ Object.assign(
4703
+ {},
4704
+ item.events
4705
+ )
4685
4706
  )
4686
4707
  )
4687
- )
4688
- : _vm._e(),
4689
- item.type ===
4690
- "iframe" &&
4691
- !item.blank
4692
- ? _c("iframe", {
4693
- key: index,
4694
- attrs: {
4695
- frameborder:
4696
- "0",
4697
- width: "100%",
4698
- height:
4699
- "100%",
4700
- id:
4701
- item.id ||
4702
- item.name,
4703
- name: item.name,
4704
- src: _vm.handleUrlJoinParams(
4705
- {
4706
- url: item.url,
4707
- param:
4708
- item.param ||
4709
- {},
4710
- }
4711
- ),
4712
- },
4713
- })
4714
- : _vm._e(),
4715
- item.type ===
4716
- "attachment"
4717
- ? _c(
4718
- "es-upload",
4719
- _vm._g(
4720
- _vm._b(
4721
- {
4722
- key: index,
4723
- staticClass:
4724
- "es-attachment",
4725
- attrs: {
4726
- height:
4727
- "auto",
4728
- "file-count":
4729
- title.count,
4730
- display:
4731
- show,
4732
- },
4733
- on: {
4734
- "update:fileCount":
4735
- function (
4736
- $event
4737
- ) {
4738
- _vm.$set(
4739
- title,
4740
- "count",
4741
- $event
4742
- )
4743
- },
4744
- },
4745
- },
4746
- "es-upload",
4747
- _vm.handleExclAttribute(
4708
+ : _vm._e(),
4709
+ item.type ===
4710
+ "iframe" &&
4711
+ !item.blank
4712
+ ? _c("iframe", {
4713
+ key: index,
4714
+ attrs: {
4715
+ frameborder:
4716
+ "0",
4717
+ width:
4718
+ "100%",
4719
+ height:
4720
+ "100%",
4721
+ id:
4722
+ item.id ||
4723
+ item.name,
4724
+ name: item.name,
4725
+ src: _vm.handleUrlJoinParams(
4748
4726
  {
4749
- data: item,
4750
- attrs: [
4751
- "events",
4752
- "type",
4753
- ],
4727
+ url: item.url,
4728
+ param:
4729
+ item.param ||
4730
+ {},
4754
4731
  }
4755
4732
  ),
4756
- false
4757
- ),
4758
- Object.assign(
4759
- {},
4760
- item.events
4733
+ },
4734
+ })
4735
+ : _vm._e(),
4736
+ item.type ===
4737
+ "attachment"
4738
+ ? _c(
4739
+ "es-upload",
4740
+ _vm._g(
4741
+ _vm._b(
4742
+ {
4743
+ key: index,
4744
+ staticClass:
4745
+ "es-attachment",
4746
+ attrs: {
4747
+ height:
4748
+ "auto",
4749
+ "file-count":
4750
+ title.count,
4751
+ display:
4752
+ show,
4753
+ },
4754
+ on: {
4755
+ "update:fileCount":
4756
+ function (
4757
+ $event
4758
+ ) {
4759
+ _vm.$set(
4760
+ title,
4761
+ "count",
4762
+ $event
4763
+ )
4764
+ },
4765
+ },
4766
+ },
4767
+ "es-upload",
4768
+ _vm.handleExclAttribute(
4769
+ {
4770
+ data: item,
4771
+ attrs:
4772
+ [
4773
+ "events",
4774
+ "type",
4775
+ ],
4776
+ }
4777
+ ),
4778
+ false
4779
+ ),
4780
+ Object.assign(
4781
+ {},
4782
+ item.events
4783
+ )
4761
4784
  )
4762
4785
  )
4763
- )
4764
- : _vm._e(),
4765
- item.type === "dialog"
4766
- ? _c(
4767
- "es-dialog",
4768
- _vm._g(
4769
- _vm._b(
4770
- {
4771
- key: index,
4772
- attrs: {
4773
- isReload: true,
4774
- visible:
4775
- item.visible,
4776
- },
4777
- on: {
4778
- "update:visible":
4779
- function (
4780
- $event
4781
- ) {
4782
- _vm.$set(
4783
- item,
4784
- "visible",
4786
+ : _vm._e(),
4787
+ item.type ===
4788
+ "dialog"
4789
+ ? _c(
4790
+ "es-dialog",
4791
+ _vm._g(
4792
+ _vm._b(
4793
+ {
4794
+ key: index,
4795
+ attrs: {
4796
+ isReload: true,
4797
+ visible:
4798
+ item.visible,
4799
+ },
4800
+ on: {
4801
+ "update:visible":
4802
+ function (
4785
4803
  $event
4786
- )
4787
- },
4804
+ ) {
4805
+ _vm.$set(
4806
+ item,
4807
+ "visible",
4808
+ $event
4809
+ )
4810
+ },
4811
+ },
4788
4812
  },
4789
- },
4790
- "es-dialog",
4791
- _vm.handleExclAttribute(
4792
- {
4793
- data: item,
4794
- attrs: [
4795
- "visible",
4796
- "type",
4797
- ],
4798
- }
4813
+ "es-dialog",
4814
+ _vm.handleExclAttribute(
4815
+ {
4816
+ data: item,
4817
+ attrs:
4818
+ [
4819
+ "visible",
4820
+ "type",
4821
+ ],
4822
+ }
4823
+ ),
4824
+ false
4799
4825
  ),
4800
- false
4801
- ),
4802
- Object.assign(
4803
- {},
4804
- item.events
4826
+ Object.assign(
4827
+ {},
4828
+ item.events
4829
+ )
4805
4830
  )
4806
4831
  )
4807
- )
4808
- : _vm._e(),
4809
- ],
4810
- ]
4811
- }
4812
- ),
4813
- ]
4814
- : [
4815
- contents.type === "form"
4816
- ? _c(
4817
- "es-form",
4818
- _vm._g(
4819
- _vm._b(
4820
- {
4821
- ref: "esFlowForm",
4822
- refInFor: true,
4823
- attrs: {
4824
- full: "",
4825
- model:
4826
- contents.model,
4827
- display: show,
4828
- closeDialog: false,
4829
- },
4830
- on: {
4831
- "update:model":
4832
- function (
4833
- $event
4834
- ) {
4835
- _vm.$set(
4836
- contents,
4837
- "model",
4832
+ : _vm._e(),
4833
+ ],
4834
+ ]
4835
+ }
4836
+ ),
4837
+ ]
4838
+ : [
4839
+ contents.type === "form"
4840
+ ? _c(
4841
+ "es-form",
4842
+ _vm._g(
4843
+ _vm._b(
4844
+ {
4845
+ ref: "esFlowForm",
4846
+ refInFor: true,
4847
+ attrs: {
4848
+ full: "",
4849
+ model:
4850
+ contents.model,
4851
+ display: show,
4852
+ closeDialog: false,
4853
+ },
4854
+ on: {
4855
+ "update:model":
4856
+ function (
4838
4857
  $event
4839
- )
4840
- },
4858
+ ) {
4859
+ _vm.$set(
4860
+ contents,
4861
+ "model",
4862
+ $event
4863
+ )
4864
+ },
4865
+ },
4841
4866
  },
4842
- },
4843
- "es-form",
4844
- _vm.handleExclAttribute(
4845
- {
4846
- data: contents,
4847
- attrs: [
4848
- "events",
4849
- "visible",
4850
- "model",
4851
- "type",
4852
- "ref",
4853
- ],
4854
- }
4867
+ "es-form",
4868
+ _vm.handleExclAttribute(
4869
+ {
4870
+ data: contents,
4871
+ attrs: [
4872
+ "events",
4873
+ "visible",
4874
+ "model",
4875
+ "type",
4876
+ "ref",
4877
+ ],
4878
+ }
4879
+ ),
4880
+ false
4855
4881
  ),
4856
- false
4857
- ),
4858
- Object.assign(
4859
- {},
4860
- contents.events
4882
+ Object.assign(
4883
+ {},
4884
+ contents.events
4885
+ )
4861
4886
  )
4862
4887
  )
4863
- )
4864
- : _vm._e(),
4865
- contents.type === "data-table" ||
4866
- contents.type === "dataTable" ||
4867
- contents.type === "flow-list" ||
4868
- items.contents.type === "flowList"
4869
- ? _c(
4870
- "es-data-table",
4871
- _vm._g(
4872
- _vm._b(
4873
- {
4874
- class: {
4875
- "es-flow-group-data-table":
4876
- contents.type ===
4877
- "data-table" ||
4878
- items.contents
4879
- .type ===
4880
- "dataTable",
4881
- "es-flow-list":
4882
- contents.type ===
4883
- "flow-list" ||
4884
- contents.type ===
4885
- "flowList",
4886
- },
4887
- attrs: {
4888
- display: show,
4889
- },
4890
- },
4891
- "es-data-table",
4892
- _vm.handleExclAttribute(
4888
+ : _vm._e(),
4889
+ contents.type ===
4890
+ "data-table" ||
4891
+ contents.type === "dataTable" ||
4892
+ contents.type === "flow-list" ||
4893
+ items.contents.type ===
4894
+ "flowList"
4895
+ ? _c(
4896
+ "es-data-table",
4897
+ _vm._g(
4898
+ _vm._b(
4893
4899
  {
4894
- data: contents,
4895
- attrs: [
4896
- "events",
4897
- "visible",
4898
- "type",
4899
- ],
4900
- }
4900
+ class: {
4901
+ "es-flow-group-data-table":
4902
+ contents.type ===
4903
+ "data-table" ||
4904
+ items.contents
4905
+ .type ===
4906
+ "dataTable",
4907
+ "es-flow-list":
4908
+ contents.type ===
4909
+ "flow-list" ||
4910
+ contents.type ===
4911
+ "flowList",
4912
+ },
4913
+ attrs: {
4914
+ display: show,
4915
+ },
4916
+ },
4917
+ "es-data-table",
4918
+ _vm.handleExclAttribute(
4919
+ {
4920
+ data: contents,
4921
+ attrs: [
4922
+ "events",
4923
+ "visible",
4924
+ "type",
4925
+ ],
4926
+ }
4927
+ ),
4928
+ false
4901
4929
  ),
4902
- false
4930
+ contents.events
4903
4931
  ),
4904
- contents.events
4905
- ),
4906
- [
4907
- contents.dialog
4908
- ? _c(
4909
- "template",
4910
- { slot: "dialog" },
4911
- [
4912
- Array.isArray(
4913
- contents.dialog
4914
- )
4915
- ? _vm._l(
4916
- contents.dialog,
4917
- function (
4918
- ele,
4919
- ids
4920
- ) {
4921
- return _c(
4922
- "es-dialog",
4923
- _vm._g(
4924
- _vm._b(
4925
- {
4926
- key: ids,
4927
- attrs:
4928
- {
4929
- isReload: true,
4930
- visible:
4931
- ele.visible,
4932
- },
4933
- on: {
4934
- "update:visible":
4935
- function (
4936
- $event
4937
- ) {
4938
- _vm.$set(
4939
- ele,
4940
- "visible",
4941
- $event
4942
- )
4943
- },
4944
- },
4945
- },
4946
- "es-dialog",
4947
- _vm.handleExclAttribute(
4932
+ [
4933
+ contents.dialog
4934
+ ? _c(
4935
+ "template",
4936
+ {
4937
+ slot: "dialog",
4938
+ },
4939
+ [
4940
+ Array.isArray(
4941
+ contents.dialog
4942
+ )
4943
+ ? _vm._l(
4944
+ contents.dialog,
4945
+ function (
4946
+ ele,
4947
+ ids
4948
+ ) {
4949
+ return _c(
4950
+ "es-dialog",
4951
+ _vm._g(
4952
+ _vm._b(
4948
4953
  {
4949
- data: ele,
4954
+ key: ids,
4950
4955
  attrs:
4951
- [
4952
- "visible",
4953
- ],
4954
- }
4956
+ {
4957
+ isReload: true,
4958
+ visible:
4959
+ ele.visible,
4960
+ },
4961
+ on: {
4962
+ "update:visible":
4963
+ function (
4964
+ $event
4965
+ ) {
4966
+ _vm.$set(
4967
+ ele,
4968
+ "visible",
4969
+ $event
4970
+ )
4971
+ },
4972
+ },
4973
+ },
4974
+ "es-dialog",
4975
+ _vm.handleExclAttribute(
4976
+ {
4977
+ data: ele,
4978
+ attrs:
4979
+ [
4980
+ "visible",
4981
+ ],
4982
+ }
4983
+ ),
4984
+ false
4955
4985
  ),
4956
- false
4957
- ),
4958
- Object.assign(
4959
- {},
4960
- ele.events
4986
+ Object.assign(
4987
+ {},
4988
+ ele.events
4989
+ )
4961
4990
  )
4962
4991
  )
4963
- )
4964
- }
4965
- )
4966
- : _c(
4967
- "es-dialog",
4968
- _vm._g(
4969
- _vm._b(
4970
- {
4971
- attrs:
4972
- {
4973
- isReload: true,
4974
- visible:
4975
- contents
4976
- .dialog
4977
- .visible,
4978
- },
4979
- on: {
4980
- "update:visible":
4981
- function (
4982
- $event
4983
- ) {
4984
- _vm.$set(
4985
- contents.dialog,
4986
- "visible",
4987
- $event
4988
- )
4989
- },
4990
- },
4991
- },
4992
- "es-dialog",
4993
- _vm.handleExclAttribute(
4992
+ }
4993
+ )
4994
+ : _c(
4995
+ "es-dialog",
4996
+ _vm._g(
4997
+ _vm._b(
4994
4998
  {
4995
- data: contents.dialog,
4996
4999
  attrs:
4997
- [
4998
- "visible",
4999
- ],
5000
- }
5000
+ {
5001
+ isReload: true,
5002
+ visible:
5003
+ contents
5004
+ .dialog
5005
+ .visible,
5006
+ },
5007
+ on: {
5008
+ "update:visible":
5009
+ function (
5010
+ $event
5011
+ ) {
5012
+ _vm.$set(
5013
+ contents.dialog,
5014
+ "visible",
5015
+ $event
5016
+ )
5017
+ },
5018
+ },
5019
+ },
5020
+ "es-dialog",
5021
+ _vm.handleExclAttribute(
5022
+ {
5023
+ data: contents.dialog,
5024
+ attrs:
5025
+ [
5026
+ "visible",
5027
+ ],
5028
+ }
5029
+ ),
5030
+ false
5001
5031
  ),
5002
- false
5003
- ),
5004
- Object.assign(
5005
- {},
5006
- contents
5007
- .dialog
5008
- .events
5032
+ Object.assign(
5033
+ {},
5034
+ contents
5035
+ .dialog
5036
+ .events
5037
+ )
5009
5038
  )
5010
- )
5011
- ),
5012
- ],
5013
- 2
5014
- )
5015
- : _vm._e(),
5016
- ],
5017
- 2
5018
- )
5019
- : _vm._e(),
5020
- contents.type === "tree-group" ||
5021
- contents.type === "treeGroup"
5022
- ? _c(
5023
- "es-tree-group",
5024
- _vm._g(
5025
- _vm._b(
5026
- {
5027
- attrs: {
5028
- display: show,
5029
- },
5030
- },
5031
- "es-tree-group",
5032
- _vm.handleExclAttribute(
5039
+ ),
5040
+ ],
5041
+ 2
5042
+ )
5043
+ : _vm._e(),
5044
+ ],
5045
+ 2
5046
+ )
5047
+ : _vm._e(),
5048
+ contents.type ===
5049
+ "tree-group" ||
5050
+ contents.type === "treeGroup"
5051
+ ? _c(
5052
+ "es-tree-group",
5053
+ _vm._g(
5054
+ _vm._b(
5033
5055
  {
5034
- data: contents,
5035
- attrs: [
5036
- "events",
5037
- "visible",
5038
- "type",
5039
- ],
5040
- }
5056
+ attrs: {
5057
+ display: show,
5058
+ },
5059
+ },
5060
+ "es-tree-group",
5061
+ _vm.handleExclAttribute(
5062
+ {
5063
+ data: contents,
5064
+ attrs: [
5065
+ "events",
5066
+ "visible",
5067
+ "type",
5068
+ ],
5069
+ }
5070
+ ),
5071
+ false
5041
5072
  ),
5042
- false
5043
- ),
5044
- Object.assign(
5045
- {},
5046
- contents.events
5073
+ Object.assign(
5074
+ {},
5075
+ contents.events
5076
+ )
5047
5077
  )
5048
5078
  )
5049
- )
5050
- : _vm._e(),
5051
- contents.type === "iframe" &&
5052
- !contents.blank
5053
- ? _c("iframe", {
5054
- attrs: {
5055
- id:
5056
- contents.id ||
5057
- contents.name,
5058
- name: contents.name,
5059
- frameborder: "0",
5060
- width: "100%",
5061
- height: "100%",
5062
- src: _vm.handleUrlJoinParams(
5063
- {
5064
- url: contents.url,
5065
- param:
5066
- contents.param ||
5067
- {},
5068
- }
5069
- ),
5070
- },
5071
- })
5072
- : _vm._e(),
5073
- contents.type === "attachment"
5074
- ? _c(
5075
- "es-upload",
5076
- _vm._g(
5077
- _vm._b(
5078
- {
5079
- staticClass:
5080
- "es-attachment",
5081
- attrs: {
5082
- display: show,
5083
- "file-count":
5084
- title.count,
5085
- height: "auto",
5086
- },
5087
- on: {
5088
- "update:fileCount":
5089
- function (
5090
- $event
5091
- ) {
5092
- _vm.$set(
5093
- title,
5094
- "count",
5095
- $event
5096
- )
5097
- },
5098
- },
5099
- },
5100
- "es-upload",
5101
- _vm.handleExclAttribute(
5079
+ : _vm._e(),
5080
+ contents.type === "iframe" &&
5081
+ !contents.blank
5082
+ ? _c("iframe", {
5083
+ attrs: {
5084
+ id:
5085
+ contents.id ||
5086
+ contents.name,
5087
+ name: contents.name,
5088
+ frameborder: "0",
5089
+ width: "100%",
5090
+ height: "100%",
5091
+ src: _vm.handleUrlJoinParams(
5102
5092
  {
5103
- data: contents,
5104
- attrs: [
5105
- "events",
5106
- "type",
5107
- ],
5093
+ url: contents.url,
5094
+ param:
5095
+ contents.param ||
5096
+ {},
5108
5097
  }
5109
5098
  ),
5110
- false
5111
- ),
5112
- Object.assign(
5113
- {},
5114
- contents.events
5099
+ },
5100
+ })
5101
+ : _vm._e(),
5102
+ contents.type === "attachment"
5103
+ ? _c(
5104
+ "es-upload",
5105
+ _vm._g(
5106
+ _vm._b(
5107
+ {
5108
+ staticClass:
5109
+ "es-attachment",
5110
+ attrs: {
5111
+ display: show,
5112
+ "file-count":
5113
+ title.count,
5114
+ height: "auto",
5115
+ },
5116
+ on: {
5117
+ "update:fileCount":
5118
+ function (
5119
+ $event
5120
+ ) {
5121
+ _vm.$set(
5122
+ title,
5123
+ "count",
5124
+ $event
5125
+ )
5126
+ },
5127
+ },
5128
+ },
5129
+ "es-upload",
5130
+ _vm.handleExclAttribute(
5131
+ {
5132
+ data: contents,
5133
+ attrs: [
5134
+ "events",
5135
+ "type",
5136
+ ],
5137
+ }
5138
+ ),
5139
+ false
5140
+ ),
5141
+ Object.assign(
5142
+ {},
5143
+ contents.events
5144
+ )
5115
5145
  )
5116
5146
  )
5117
- )
5118
- : _vm._e(),
5119
- ],
5120
- ]
5147
+ : _vm._e(),
5148
+ ],
5149
+ ]
5150
+ },
5121
5151
  },
5122
- },
5123
- ]),
5124
- },
5125
- "es-tabs-panel",
5126
- items,
5127
- false
5128
- )
5129
- ),
5130
- ]
5152
+ ]),
5153
+ },
5154
+ "es-tabs-panel",
5155
+ items,
5156
+ false
5157
+ )
5158
+ ),
5159
+ ]
5160
+ },
5131
5161
  },
5132
- },
5133
- ]),
5134
- },
5135
- [
5136
- items.title
5137
- ? _c("template", { slot: "label" }, [
5138
- _c(
5139
- "span",
5140
- [
5141
- typeof items.title === "object"
5142
- ? [
5143
- items.title.icon
5144
- ? _c("i", { class: items.title.icon })
5145
- : _vm._e(),
5146
- Object.prototype.hasOwnProperty.call(
5147
- items.title,
5148
- "count"
5149
- )
5150
- ? _c("el-badge", {
5151
- attrs: {
5152
- type: "primary",
5153
- value: items.title.count,
5154
- max: 99,
5155
- },
5156
- })
5157
- : _vm._e(),
5158
- _vm._v(
5159
- "\n " +
5160
- _vm._s(items.title.text) +
5161
- "\n "
5162
- ),
5163
- ]
5164
- : [_vm._v(_vm._s(items.title))],
5165
- ],
5166
- 2
5167
- ),
5168
- ])
5169
- : _vm._e(),
5170
- ],
5171
- 2
5172
- )
5173
- : _vm._e(),
5174
- ]
5175
- }),
5162
+ ]),
5163
+ },
5164
+ [
5165
+ items.title
5166
+ ? _c("template", { slot: "label" }, [
5167
+ _c(
5168
+ "span",
5169
+ [
5170
+ typeof items.title === "object"
5171
+ ? [
5172
+ items.title.icon
5173
+ ? _c("i", { class: items.title.icon })
5174
+ : _vm._e(),
5175
+ Object.prototype.hasOwnProperty.call(
5176
+ items.title,
5177
+ "count"
5178
+ )
5179
+ ? _c("el-badge", {
5180
+ attrs: {
5181
+ type: "primary",
5182
+ value: items.title.count,
5183
+ max: 99,
5184
+ },
5185
+ })
5186
+ : _vm._e(),
5187
+ _vm._v(
5188
+ "\n " +
5189
+ _vm._s(items.title.text) +
5190
+ "\n "
5191
+ ),
5192
+ ]
5193
+ : [_vm._v(_vm._s(items.title))],
5194
+ ],
5195
+ 2
5196
+ ),
5197
+ ])
5198
+ : _vm._e(),
5199
+ ],
5200
+ 2
5201
+ )
5202
+ : _vm._e(),
5203
+ ]
5204
+ }),
5205
+ ]),
5176
5206
  ],
5177
5207
  2
5178
5208
  )
@@ -5181,7 +5211,7 @@ var staticRenderFns = []
5181
5211
  render._withStripped = true
5182
5212
 
5183
5213
 
5184
- // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=6c10896a&
5214
+ // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
5185
5215
 
5186
5216
  // EXTERNAL MODULE: ./src/utils/util.js
5187
5217
  var util = __webpack_require__(0);
@@ -5804,6 +5834,10 @@ var util = __webpack_require__(0);
5804
5834
  //
5805
5835
  //
5806
5836
  //
5837
+ //
5838
+ //
5839
+ //
5840
+ //
5807
5841
 
5808
5842
 
5809
5843
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -5834,7 +5868,8 @@ var util = __webpack_require__(0);
5834
5868
  default: function _default() {
5835
5869
  return [];
5836
5870
  }
5837
- }
5871
+ },
5872
+ states: [Array, Object]
5838
5873
  },
5839
5874
  watch: {
5840
5875
  activeName: function activeName(val) {
@@ -5845,26 +5880,20 @@ var util = __webpack_require__(0);
5845
5880
  immediate: true,
5846
5881
  deep: true,
5847
5882
  handler: function handler(val) {
5848
- var _this = this;
5849
-
5850
5883
  if (val.length) {
5851
- if (this.isSubmit) {
5852
- var obj = {};
5853
- val.forEach(function (item, index) {
5854
- var key = item.name || String(index);
5855
- if (Array.isArray(item.contents)) {
5856
- obj[key] = true;
5857
- for (var i = 0; i < item.contents.length; i++) {
5858
- if (item.contents[i].type === 'form') {
5859
- obj[key] = Object.prototype.hasOwnProperty.call(item.contents[i], 'isSubmit') ? item.contents[i].isSubmit : _this.isSubmit ? false : true;
5860
- break;
5861
- }
5862
- }
5863
- } else {
5864
- obj[key] = item.contents.type === 'form' ? obj[key] = Object.prototype.hasOwnProperty.call(item.contents, 'isSubmit') ? item.contents.isSubmit : _this.isSubmit ? false : true : true;
5865
- }
5866
- });
5867
- this.state = obj;
5884
+ this.getState(val);
5885
+ }
5886
+ }
5887
+ },
5888
+ states: {
5889
+ immediate: true,
5890
+ deep: true,
5891
+ handler: function handler(val) {
5892
+ if (val) {
5893
+ if (Array.isArray(val) && val.length) {
5894
+ this.getState(val);
5895
+ } else if (Object.keys(val).length) {
5896
+ this.state = val;
5868
5897
  }
5869
5898
  }
5870
5899
  }
@@ -5898,6 +5927,28 @@ var util = __webpack_require__(0);
5898
5927
  },
5899
5928
 
5900
5929
  methods: {
5930
+ getState: function getState(val) {
5931
+ var _this = this;
5932
+
5933
+ if (this.isSubmit) {
5934
+ var obj = {};
5935
+ val.forEach(function (item, index) {
5936
+ var key = item.name || String(index);
5937
+ if (Array.isArray(item.contents)) {
5938
+ obj[key] = true;
5939
+ for (var i = 0; i < item.contents.length; i++) {
5940
+ if (item.contents[i].type === 'form') {
5941
+ obj[key] = Object.prototype.hasOwnProperty.call(item.contents[i], 'isSubmit') ? item.contents[i].isSubmit : _this.isSubmit ? false : true;
5942
+ break;
5943
+ }
5944
+ }
5945
+ } else {
5946
+ obj[key] = item.contents.type === 'form' ? obj[key] = Object.prototype.hasOwnProperty.call(item.contents, 'isSubmit') ? item.contents.isSubmit : _this.isSubmit ? false : true : true;
5947
+ }
5948
+ });
5949
+ this.state = obj;
5950
+ }
5951
+ },
5901
5952
  handleExclAttribute: function handleExclAttribute(_ref) {
5902
5953
  var data = _ref.data,
5903
5954
  attrs = _ref.attrs;