@kengic/uni 0.5.1 → 0.5.2-beta.1

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 (146) hide show
  1. package/dist/uni/uni-ui/uni-badge/uni-badge.vue +222 -219
  2. package/dist/uni/uni-ui/uni-breadcrumb/uni-breadcrumb.vue +29 -29
  3. package/dist/uni/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue +88 -88
  4. package/dist/uni/uni-ui/uni-calendar/calendar.js +936 -532
  5. package/dist/uni/uni-ui/uni-calendar/i18n/en.json +10 -10
  6. package/dist/uni/uni-ui/uni-calendar/i18n/index.js +8 -7
  7. package/dist/uni/uni-ui/uni-calendar/i18n/zh-Hans.json +10 -10
  8. package/dist/uni/uni-ui/uni-calendar/i18n/zh-Hant.json +10 -10
  9. package/dist/uni/uni-ui/uni-calendar/uni-calendar-item.vue +190 -168
  10. package/dist/uni/uni-ui/uni-calendar/uni-calendar.vue +459 -459
  11. package/dist/uni/uni-ui/uni-calendar/util.js +324 -340
  12. package/dist/uni/uni-ui/uni-card/uni-card.vue +8 -1
  13. package/dist/uni/uni-ui/uni-col/uni-col.vue +294 -287
  14. package/dist/uni/uni-ui/uni-collapse/uni-collapse.vue +139 -140
  15. package/dist/uni/uni-ui/uni-collapse-item/uni-collapse-item.vue +381 -378
  16. package/dist/uni/uni-ui/uni-combox/uni-combox.vue +280 -272
  17. package/dist/uni/uni-ui/uni-countdown/i18n/en.json +4 -4
  18. package/dist/uni/uni-ui/uni-countdown/i18n/index.js +8 -7
  19. package/dist/uni/uni-ui/uni-countdown/i18n/zh-Hans.json +4 -4
  20. package/dist/uni/uni-ui/uni-countdown/i18n/zh-Hant.json +4 -4
  21. package/dist/uni/uni-ui/uni-countdown/uni-countdown.vue +249 -257
  22. package/dist/uni/uni-ui/uni-data-checkbox/uni-data-checkbox.vue +832 -813
  23. package/dist/uni/uni-ui/uni-data-picker/keypress.js +42 -42
  24. package/dist/uni/uni-ui/uni-data-picker/uni-data-picker.vue +535 -516
  25. package/dist/uni/uni-ui/uni-data-pickerview/uni-data-picker.js +623 -618
  26. package/dist/uni/uni-ui/uni-data-pickerview/uni-data-pickerview.vue +293 -288
  27. package/dist/uni/uni-ui/uni-data-select/uni-data-select.vue +495 -509
  28. package/dist/uni/uni-ui/uni-dateformat/date-format.js +181 -184
  29. package/dist/uni/uni-ui/uni-dateformat/uni-dateformat.vue +81 -82
  30. package/dist/uni/uni-ui/uni-datetime-picker/calendar-item.vue +176 -170
  31. package/dist/uni/uni-ui/uni-datetime-picker/calendar.vue +926 -920
  32. package/dist/uni/uni-ui/uni-datetime-picker/i18n/en.json +20 -20
  33. package/dist/uni/uni-ui/uni-datetime-picker/i18n/index.js +8 -7
  34. package/dist/uni/uni-ui/uni-datetime-picker/i18n/zh-Hans.json +21 -21
  35. package/dist/uni/uni-ui/uni-datetime-picker/i18n/zh-Hant.json +21 -21
  36. package/dist/uni/uni-ui/uni-datetime-picker/time-picker.vue +921 -926
  37. package/dist/uni/uni-ui/uni-datetime-picker/uni-datetime-picker.vue +1059 -1012
  38. package/dist/uni/uni-ui/uni-datetime-picker/util.js +366 -377
  39. package/dist/uni/uni-ui/uni-drawer/keypress.js +42 -42
  40. package/dist/uni/uni-ui/uni-drawer/uni-drawer.vue +176 -167
  41. package/dist/uni/uni-ui/uni-easyinput/common.js +40 -42
  42. package/dist/uni/uni-ui/uni-easyinput/uni-easyinput.vue +628 -547
  43. package/dist/uni/uni-ui/uni-fab/uni-fab.vue +507 -483
  44. package/dist/uni/uni-ui/uni-fav/i18n/en.json +2 -2
  45. package/dist/uni/uni-ui/uni-fav/i18n/index.js +8 -7
  46. package/dist/uni/uni-ui/uni-fav/i18n/zh-Hans.json +2 -2
  47. package/dist/uni/uni-ui/uni-fav/i18n/zh-Hant.json +2 -2
  48. package/dist/uni/uni-ui/uni-fav/uni-fav.vue +155 -147
  49. package/dist/uni/uni-ui/uni-file-picker/choose-and-upload-file.js +172 -198
  50. package/dist/uni/uni-ui/uni-file-picker/uni-file-picker.vue +636 -634
  51. package/dist/uni/uni-ui/uni-file-picker/upload-file.vue +294 -293
  52. package/dist/uni/uni-ui/uni-file-picker/upload-image.vue +267 -270
  53. package/dist/uni/uni-ui/uni-file-picker/utils.js +81 -82
  54. package/dist/uni/uni-ui/uni-forms/uni-forms.vue +360 -372
  55. package/dist/uni/uni-ui/uni-forms/utils.js +170 -174
  56. package/dist/uni/uni-ui/uni-forms/validate.js +447 -456
  57. package/dist/uni/uni-ui/uni-forms-item/uni-forms-item.vue +497 -497
  58. package/dist/uni/uni-ui/uni-goods-nav/i18n/en.json +4 -4
  59. package/dist/uni/uni-ui/uni-goods-nav/i18n/index.js +8 -7
  60. package/dist/uni/uni-ui/uni-goods-nav/i18n/zh-Hans.json +4 -4
  61. package/dist/uni/uni-ui/uni-goods-nav/i18n/zh-Hant.json +4 -4
  62. package/dist/uni/uni-ui/uni-goods-nav/uni-goods-nav.vue +238 -222
  63. package/dist/uni/uni-ui/uni-grid/uni-grid.vue +134 -134
  64. package/dist/uni/uni-ui/uni-grid-item/uni-grid-item.vue +121 -119
  65. package/dist/uni/uni-ui/uni-group/uni-group.vue +121 -121
  66. package/dist/uni/uni-ui/uni-icons/icons.js +1170 -1168
  67. package/dist/uni/uni-ui/uni-icons/uni-icons.vue +91 -86
  68. package/dist/uni/uni-ui/uni-icons/uniicons.css +166 -166
  69. package/dist/uni/uni-ui/uni-indexed-list/uni-indexed-list-item.vue +129 -129
  70. package/dist/uni/uni-ui/uni-indexed-list/uni-indexed-list.vue +352 -347
  71. package/dist/uni/uni-ui/uni-link/uni-link.vue +134 -119
  72. package/dist/uni/uni-ui/uni-list/uni-list.vue +119 -110
  73. package/dist/uni/uni-ui/uni-list/uni-refresh.vue +14 -14
  74. package/dist/uni/uni-ui/uni-list/uni-refresh.wxs +14 -14
  75. package/dist/uni/uni-ui/uni-list-ad/uni-list-ad.vue +101 -95
  76. package/dist/uni/uni-ui/uni-list-chat/uni-list-chat.scss +18 -18
  77. package/dist/uni/uni-ui/uni-list-chat/uni-list-chat.vue +602 -586
  78. package/dist/uni/uni-ui/uni-list-item/uni-list-item.vue +507 -503
  79. package/dist/uni/uni-ui/uni-load-more/i18n/en.json +3 -3
  80. package/dist/uni/uni-ui/uni-load-more/i18n/index.js +8 -7
  81. package/dist/uni/uni-ui/uni-load-more/i18n/zh-Hans.json +3 -3
  82. package/dist/uni/uni-ui/uni-load-more/i18n/zh-Hant.json +3 -3
  83. package/dist/uni/uni-ui/uni-load-more/uni-load-more.vue +402 -392
  84. package/dist/uni/uni-ui/uni-nav-bar/uni-nav-bar.vue +328 -330
  85. package/dist/uni/uni-ui/uni-nav-bar/uni-status-bar.vue +17 -17
  86. package/dist/uni/uni-ui/uni-notice-bar/uni-notice-bar.vue +422 -401
  87. package/dist/uni/uni-ui/uni-number-box/uni-number-box.vue +211 -205
  88. package/dist/uni/uni-ui/uni-pagination/i18n/en.json +3 -3
  89. package/dist/uni/uni-ui/uni-pagination/i18n/es.json +3 -3
  90. package/dist/uni/uni-ui/uni-pagination/i18n/fr.json +3 -3
  91. package/dist/uni/uni-ui/uni-pagination/i18n/index.js +12 -11
  92. package/dist/uni/uni-ui/uni-pagination/i18n/zh-Hans.json +3 -3
  93. package/dist/uni/uni-ui/uni-pagination/i18n/zh-Hant.json +3 -3
  94. package/dist/uni/uni-ui/uni-pagination/uni-pagination.vue +450 -433
  95. package/dist/uni/uni-ui/uni-popup/uni-popup.vue +404 -404
  96. package/dist/uni/uni-ui/uni-popup-dialog/keypress.js +42 -42
  97. package/dist/uni/uni-ui/uni-popup-dialog/uni-popup-dialog.vue +1 -0
  98. package/dist/uni/uni-ui/uni-popup-message/uni-popup-message.vue +126 -125
  99. package/dist/uni/uni-ui/uni-popup-share/uni-popup-share.vue +172 -172
  100. package/dist/uni/uni-ui/uni-rate/uni-rate.vue +343 -347
  101. package/dist/uni/uni-ui/uni-row/uni-row.vue +180 -182
  102. package/dist/uni/uni-ui/uni-scss/changelog.md +11 -4
  103. package/dist/uni/uni-ui/uni-scss/package.json +73 -73
  104. package/dist/uni/uni-ui/uni-scss/readme.md +2 -1
  105. package/dist/uni/uni-ui/uni-scss/styles/setting/_border.scss +2 -2
  106. package/dist/uni/uni-ui/uni-scss/styles/setting/_color.scss +46 -47
  107. package/dist/uni/uni-ui/uni-scss/styles/setting/_radius.scss +49 -49
  108. package/dist/uni/uni-ui/uni-scss/styles/setting/_space.scss +52 -53
  109. package/dist/uni/uni-ui/uni-scss/styles/setting/_styles.scss +142 -147
  110. package/dist/uni/uni-ui/uni-scss/styles/setting/_text.scss +20 -20
  111. package/dist/uni/uni-ui/uni-scss/styles/setting/_variables.scss +111 -95
  112. package/dist/uni/uni-ui/uni-scss/styles/tools/functions.scss +28 -18
  113. package/dist/uni/uni-ui/uni-scss/theme.scss +10 -7
  114. package/dist/uni/uni-ui/uni-scss/variables.scss +42 -24
  115. package/dist/uni/uni-ui/uni-search-bar/i18n/en.json +3 -3
  116. package/dist/uni/uni-ui/uni-search-bar/i18n/index.js +8 -7
  117. package/dist/uni/uni-ui/uni-search-bar/i18n/zh-Hans.json +2 -2
  118. package/dist/uni/uni-ui/uni-search-bar/i18n/zh-Hant.json +2 -2
  119. package/dist/uni/uni-ui/uni-search-bar/uni-search-bar.vue +290 -281
  120. package/dist/uni/uni-ui/uni-section/uni-section.vue +149 -146
  121. package/dist/uni/uni-ui/uni-segmented-control/uni-segmented-control.vue +141 -131
  122. package/dist/uni/uni-ui/uni-steps/uni-steps.vue +255 -236
  123. package/dist/uni/uni-ui/uni-swipe-action/uni-swipe-action.vue +51 -51
  124. package/dist/uni/uni-ui/uni-swipe-action-item/bindingx.js +276 -282
  125. package/dist/uni/uni-ui/uni-swipe-action-item/isPC.js +10 -10
  126. package/dist/uni/uni-ui/uni-swipe-action-item/mpalipay.js +182 -187
  127. package/dist/uni/uni-ui/uni-swipe-action-item/mpother.js +235 -244
  128. package/dist/uni/uni-ui/uni-swipe-action-item/mpwxs.js +70 -75
  129. package/dist/uni/uni-ui/uni-swipe-action-item/render.js +238 -247
  130. package/dist/uni/uni-ui/uni-swipe-action-item/uni-swipe-action-item.vue +387 -313
  131. package/dist/uni/uni-ui/uni-swipe-action-item/wx.wxs +206 -215
  132. package/dist/uni/uni-ui/uni-swiper-dot/uni-swiper-dot.vue +241 -197
  133. package/dist/uni/uni-ui/uni-table/uni-table.vue +445 -447
  134. package/dist/uni/uni-ui/uni-tag/uni-tag.vue +234 -244
  135. package/dist/uni/uni-ui/uni-tbody/uni-tbody.vue +20 -23
  136. package/dist/uni/uni-ui/uni-td/uni-td.vue +79 -80
  137. package/dist/uni/uni-ui/uni-th/filter-dropdown.vue +510 -503
  138. package/dist/uni/uni-ui/uni-th/uni-th.vue +289 -273
  139. package/dist/uni/uni-ui/uni-thead/uni-thead.vue +115 -114
  140. package/dist/uni/uni-ui/uni-title/uni-title.vue +151 -154
  141. package/dist/uni/uni-ui/uni-tooltip/uni-tooltip.vue +55 -60
  142. package/dist/uni/uni-ui/uni-tr/table-checkbox.vue +162 -163
  143. package/dist/uni/uni-ui/uni-tr/uni-tr.vue +158 -157
  144. package/dist/uni/uni-ui/uni-transition/createAnimation.js +130 -113
  145. package/dist/uni/uni-ui/uni-transition/uni-transition.vue +274 -272
  146. package/package.json +1 -1
@@ -1,195 +1,190 @@
1
1
  export default {
2
- data() {
3
- return {
4
- x: 0,
5
- transition: false,
6
- width: 0,
7
- viewWidth: 0,
8
- swipeShow: 0
9
- }
10
- },
11
- watch: {
12
- show(newVal) {
13
- if (this.autoClose) return
14
- if (newVal && newVal !== 'none') {
15
- this.transition = true
16
- this.open(newVal)
17
- } else {
18
- this.close()
19
- }
20
- }
21
- },
22
- created() {
23
- this.swipeaction = this.getSwipeAction()
24
- if (this.swipeaction && Array.isArray(this.swipeaction.children)) {
25
- this.swipeaction.children.push(this)
26
- }
27
- },
28
- mounted() {
29
- this.isopen = false
30
- setTimeout(() => {
31
- this.getQuerySelect()
32
- }, 50)
33
- },
34
- methods: {
35
- appTouchStart(e) {
36
- const {
37
- clientX
38
- } = e.changedTouches[0]
39
- this.clientX = clientX
40
- this.timestamp = new Date().getTime()
41
- },
42
- appTouchEnd(e, index, item, position) {
43
- const {
44
- clientX
45
- } = e.changedTouches[0]
46
- // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
47
- let diff = Math.abs(this.clientX - clientX)
48
- let time = (new Date().getTime()) - this.timestamp
49
- if (diff < 40 && time < 300) {
50
- this.$emit('click', {
51
- content: item,
52
- index,
53
- position
54
- })
55
- }
56
- },
57
- /**
58
- * 移动触发
59
- * @param {Object} e
60
- */
61
- onChange(e) {
62
- this.moveX = e.detail.x
63
- this.isclose = false
64
- },
65
- touchstart(e) {
66
- this.transition = false
67
- this.isclose = true
68
- if (this.autoClose && this.swipeaction) {
69
- this.swipeaction.closeOther(this)
70
- }
71
- },
72
- touchmove(e) {},
73
- touchend(e) {
74
- // 0的位置什么都不执行
75
- if (this.isclose && this.isopen === 'none') return
76
- if (this.isclose && this.isopen !== 'none') {
77
- this.transition = true
78
- this.close()
79
- } else {
80
- this.move(this.moveX + this.leftWidth)
81
- }
82
- },
2
+ data() {
3
+ return {
4
+ x: 0,
5
+ transition: false,
6
+ width: 0,
7
+ viewWidth: 0,
8
+ swipeShow: 0,
9
+ };
10
+ },
11
+ watch: {
12
+ show(newVal) {
13
+ if (this.autoClose) return;
14
+ if (newVal && newVal !== 'none') {
15
+ this.transition = true;
16
+ this.open(newVal);
17
+ } else {
18
+ this.close();
19
+ }
20
+ },
21
+ },
22
+ created() {
23
+ this.swipeaction = this.getSwipeAction();
24
+ if (this.swipeaction && Array.isArray(this.swipeaction.children)) {
25
+ this.swipeaction.children.push(this);
26
+ }
27
+ },
28
+ mounted() {
29
+ this.isopen = false;
30
+ setTimeout(() => {
31
+ this.getQuerySelect();
32
+ }, 50);
33
+ },
34
+ methods: {
35
+ appTouchStart(e) {
36
+ const { clientX } = e.changedTouches[0];
37
+ this.clientX = clientX;
38
+ this.timestamp = new Date().getTime();
39
+ },
40
+ appTouchEnd(e, index, item, position) {
41
+ const { clientX } = e.changedTouches[0];
42
+ // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题
43
+ let diff = Math.abs(this.clientX - clientX);
44
+ let time = new Date().getTime() - this.timestamp;
45
+ if (diff < 40 && time < 300) {
46
+ this.$emit('click', {
47
+ content: item,
48
+ index,
49
+ position,
50
+ });
51
+ }
52
+ },
53
+ /**
54
+ * 移动触发
55
+ * @param {Object} e
56
+ */
57
+ onChange(e) {
58
+ this.moveX = e.detail.x;
59
+ this.isclose = false;
60
+ },
61
+ touchstart(e) {
62
+ this.transition = false;
63
+ this.isclose = true;
64
+ if (this.autoClose && this.swipeaction) {
65
+ this.swipeaction.closeOther(this);
66
+ }
67
+ },
68
+ touchmove(e) {},
69
+ touchend(e) {
70
+ // 0的位置什么都不执行
71
+ if (this.isclose && this.isopen === 'none') return;
72
+ if (this.isclose && this.isopen !== 'none') {
73
+ this.transition = true;
74
+ this.close();
75
+ } else {
76
+ this.move(this.moveX + this.leftWidth);
77
+ }
78
+ },
83
79
 
84
- /**
85
- * 移动
86
- * @param {Object} moveX
87
- */
88
- move(moveX) {
89
- // 打开关闭的处理逻辑不太一样
90
- this.transition = true
91
- // 未打开状态
92
- if (!this.isopen || this.isopen === 'none') {
93
- if (moveX > this.threshold) {
94
- this.open('left')
95
- } else if (moveX < -this.threshold) {
96
- this.open('right')
97
- } else {
98
- this.close()
99
- }
100
- } else {
101
- if (moveX < 0 && moveX < this.rightWidth) {
102
- const rightX = this.rightWidth + moveX
103
- if (rightX < this.threshold) {
104
- this.open('right')
105
- } else {
106
- this.close()
107
- }
108
- } else if (moveX > 0 && moveX < this.leftWidth) {
109
- const leftX = this.leftWidth - moveX
110
- if (leftX < this.threshold) {
111
- this.open('left')
112
- } else {
113
- this.close()
114
- }
115
- }
80
+ /**
81
+ * 移动
82
+ * @param {Object} moveX
83
+ */
84
+ move(moveX) {
85
+ // 打开关闭的处理逻辑不太一样
86
+ this.transition = true;
87
+ // 未打开状态
88
+ if (!this.isopen || this.isopen === 'none') {
89
+ if (moveX > this.threshold) {
90
+ this.open('left');
91
+ } else if (moveX < -this.threshold) {
92
+ this.open('right');
93
+ } else {
94
+ this.close();
95
+ }
96
+ } else {
97
+ if (moveX < 0 && moveX < this.rightWidth) {
98
+ const rightX = this.rightWidth + moveX;
99
+ if (rightX < this.threshold) {
100
+ this.open('right');
101
+ } else {
102
+ this.close();
103
+ }
104
+ } else if (moveX > 0 && moveX < this.leftWidth) {
105
+ const leftX = this.leftWidth - moveX;
106
+ if (leftX < this.threshold) {
107
+ this.open('left');
108
+ } else {
109
+ this.close();
110
+ }
111
+ }
112
+ }
113
+ },
116
114
 
117
- }
115
+ /**
116
+ * 打开
117
+ */
118
+ open(type) {
119
+ this.x = this.moveX;
120
+ this.animation(type);
121
+ },
118
122
 
119
- },
123
+ /**
124
+ * 关闭
125
+ */
126
+ close() {
127
+ this.x = this.moveX;
128
+ // TODO 解决 x 值不更新的问题,所以会多触发一次 nextTick ,待优化
129
+ this.$nextTick(() => {
130
+ this.x = -this.leftWidth;
131
+ if (this.isopen !== 'none') {
132
+ this.$emit('change', 'none');
133
+ }
134
+ this.isopen = 'none';
135
+ });
136
+ },
120
137
 
121
- /**
122
- * 打开
123
- */
124
- open(type) {
125
- this.x = this.moveX
126
- this.animation(type)
127
- },
138
+ /**
139
+ * 执行结束动画
140
+ * @param {Object} type
141
+ */
142
+ animation(type) {
143
+ this.$nextTick(() => {
144
+ if (type === 'left') {
145
+ this.x = 0;
146
+ } else {
147
+ this.x = -this.rightWidth - this.leftWidth;
148
+ }
128
149
 
129
- /**
130
- * 关闭
131
- */
132
- close() {
133
- this.x = this.moveX
134
- // TODO 解决 x 值不更新的问题,所以会多触发一次 nextTick ,待优化
135
- this.$nextTick(() => {
136
- this.x = -this.leftWidth
137
- if (this.isopen !== 'none') {
138
- this.$emit('change', 'none')
139
- }
140
- this.isopen = 'none'
141
- })
142
- },
150
+ if (this.isopen !== type) {
151
+ this.$emit('change', type);
152
+ }
153
+ this.isopen = type;
154
+ });
155
+ },
156
+ getSlide(x) {},
157
+ getQuerySelect() {
158
+ const query = uni.createSelectorQuery().in(this);
159
+ query
160
+ .selectAll('.movable-view--hock')
161
+ .boundingClientRect((data) => {
162
+ this.leftWidth = data[1].width;
163
+ this.rightWidth = data[2].width;
164
+ this.width = data[0].width;
165
+ this.viewWidth = this.width + this.rightWidth + this.leftWidth;
166
+ if (this.leftWidth === 0) {
167
+ // TODO 疑似bug ,初始化的时候如果x 是0,会导致移动位置错误,所以让元素超出一点
168
+ this.x = -0.1;
169
+ } else {
170
+ this.x = -this.leftWidth;
171
+ }
172
+ this.moveX = this.x;
173
+ this.$nextTick(() => {
174
+ this.swipeShow = 1;
175
+ });
143
176
 
144
- /**
145
- * 执行结束动画
146
- * @param {Object} type
147
- */
148
- animation(type) {
149
- this.$nextTick(() => {
150
- if (type === 'left') {
151
- this.x = 0
152
- } else {
153
- this.x = -this.rightWidth - this.leftWidth
154
- }
177
+ if (!this.buttonWidth) {
178
+ this.disabledView = true;
179
+ }
155
180
 
156
- if (this.isopen !== type) {
157
- this.$emit('change', type)
158
- }
159
- this.isopen = type
160
- })
161
-
162
- },
163
- getSlide(x) {},
164
- getQuerySelect() {
165
- const query = uni.createSelectorQuery().in(this);
166
- query.selectAll('.movable-view--hock').boundingClientRect(data => {
167
- this.leftWidth = data[1].width
168
- this.rightWidth = data[2].width
169
- this.width = data[0].width
170
- this.viewWidth = this.width + this.rightWidth + this.leftWidth
171
- if (this.leftWidth === 0) {
172
- // TODO 疑似bug ,初始化的时候如果x 是0,会导致移动位置错误,所以让元素超出一点
173
- this.x = -0.1
174
- } else {
175
- this.x = -this.leftWidth
176
- }
177
- this.moveX = this.x
178
- this.$nextTick(() => {
179
- this.swipeShow = 1
180
- })
181
-
182
- if (!this.buttonWidth) {
183
- this.disabledView = true
184
- }
185
-
186
- if (this.autoClose) return
187
- if (this.show !== 'none') {
188
- this.transition = true
189
- this.open(this.shows)
190
- }
191
- }).exec();
192
-
193
- }
194
- }
195
- }
181
+ if (this.autoClose) return;
182
+ if (this.show !== 'none') {
183
+ this.transition = true;
184
+ this.open(this.shows);
185
+ }
186
+ })
187
+ .exec();
188
+ },
189
+ },
190
+ };