aaa-ui-test 1.0.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.

Potentially problematic release.


This version of aaa-ui-test might be problematic. Click here for more details.

Files changed (189) hide show
  1. package/README.md +62 -0
  2. package/babel-plugin-on-demand-load/index.js +74 -0
  3. package/babel-plugin-on-demand-load/report.js +49 -0
  4. package/lib/address/index.js +19 -0
  5. package/lib/address/src/address.js +340 -0
  6. package/lib/amount/index.js +19 -0
  7. package/lib/amount/src/amount.js +206 -0
  8. package/lib/button/index.js +19 -0
  9. package/lib/button/src/button.js +75 -0
  10. package/lib/button-group/index.js +19 -0
  11. package/lib/button-group/src/button-group.js +53 -0
  12. package/lib/checkbox/index.js +22 -0
  13. package/lib/checkbox/src/checkbox-group.js +85 -0
  14. package/lib/checkbox/src/checkbox.js +228 -0
  15. package/lib/components/address/index.js +19 -0
  16. package/lib/components/amount/index.js +19 -0
  17. package/lib/components/button/index.js +19 -0
  18. package/lib/components/button-group/index.js +19 -0
  19. package/lib/components/checkbox/index.js +22 -0
  20. package/lib/components/date-selecter/index.js +19 -0
  21. package/lib/components/default/index.js +19 -0
  22. package/lib/components/dialog/index.js +204 -0
  23. package/lib/components/field/index.js +19 -0
  24. package/lib/components/input/index.js +19 -0
  25. package/lib/components/list/index.js +19 -0
  26. package/lib/components/list-item/index.js +19 -0
  27. package/lib/components/loading/index.js +116 -0
  28. package/lib/components/mask/index.js +19 -0
  29. package/lib/components/notice/index.js +19 -0
  30. package/lib/components/overlay/index.js +19 -0
  31. package/lib/components/picker/index.js +19 -0
  32. package/lib/components/popup/index.js +19 -0
  33. package/lib/components/popup-header/index.js +19 -0
  34. package/lib/components/radio/index.js +19 -0
  35. package/lib/components/select/index.js +19 -0
  36. package/lib/components/swiper/index.js +19 -0
  37. package/lib/components/switch/index.js +19 -0
  38. package/lib/components/tabs/index.js +22 -0
  39. package/lib/components/textarea/index.js +19 -0
  40. package/lib/components/toast/index.js +60 -0
  41. package/lib/date-selecter/index.js +19 -0
  42. package/lib/date-selecter/src/dateselecter.js +544 -0
  43. package/lib/default/index.js +19 -0
  44. package/lib/default/src/default.js +61 -0
  45. package/lib/dialog/index.js +204 -0
  46. package/lib/dialog/src/dialog.js +258 -0
  47. package/lib/field/index.js +19 -0
  48. package/lib/field/src/field.js +91 -0
  49. package/lib/index.css +2213 -0
  50. package/lib/index.js +10083 -0
  51. package/lib/input/index.js +19 -0
  52. package/lib/input/src/input.js +365 -0
  53. package/lib/list/index.js +19 -0
  54. package/lib/list/src/list.js +54 -0
  55. package/lib/list-item/index.js +19 -0
  56. package/lib/list-item/src/list-item.js +122 -0
  57. package/lib/loading/index.js +116 -0
  58. package/lib/loading/src/loading.js +80 -0
  59. package/lib/mask/index.js +19 -0
  60. package/lib/mask/src/mask.js +94 -0
  61. package/lib/mixins/emitter.js +43 -0
  62. package/lib/mixins/visible.js +29 -0
  63. package/lib/notice/index.js +19 -0
  64. package/lib/notice/src/notice.js +188 -0
  65. package/lib/overlay/index.js +19 -0
  66. package/lib/overlay/src/overlay.js +153 -0
  67. package/lib/picker/index.js +19 -0
  68. package/lib/picker/src/picker.js +218 -0
  69. package/lib/popup/index.js +19 -0
  70. package/lib/popup/src/popup.js +170 -0
  71. package/lib/popup-header/index.js +19 -0
  72. package/lib/popup-header/src/popup-header.js +93 -0
  73. package/lib/radio/index.js +19 -0
  74. package/lib/radio/src/radio.js +102 -0
  75. package/lib/select/index.js +19 -0
  76. package/lib/select/src/select.js +136 -0
  77. package/lib/swiper/index.js +19 -0
  78. package/lib/swiper/src/swiper.js +270 -0
  79. package/lib/switch/index.js +19 -0
  80. package/lib/switch/src/switch.js +143 -0
  81. package/lib/tabs/index.js +22 -0
  82. package/lib/tabs/src/tab-item.js +72 -0
  83. package/lib/tabs/src/tabs.js +171 -0
  84. package/lib/textarea/index.js +19 -0
  85. package/lib/textarea/src/textarea.js +219 -0
  86. package/lib/toast/index.js +60 -0
  87. package/lib/toast/src/toast.js +59 -0
  88. package/lib/utils/clickoutside.js +45 -0
  89. package/lib/utils/fix-body.js +57 -0
  90. package/lib/utils/utils.js +74 -0
  91. package/package.json +73 -0
  92. package/src/assets/css/common/_mixin.scss +130 -0
  93. package/src/assets/css/common/_var.scss +69 -0
  94. package/src/components/address/index.js +8 -0
  95. package/src/components/address/index.scss +72 -0
  96. package/src/components/address/src/address.vue +238 -0
  97. package/src/components/amount/index.js +6 -0
  98. package/src/components/amount/index.scss +88 -0
  99. package/src/components/amount/src/amount.vue +143 -0
  100. package/src/components/button/__tests__/__snapshots__/index.test.js.snap +7 -0
  101. package/src/components/button/__tests__/index.test.js +39 -0
  102. package/src/components/button/index.js +7 -0
  103. package/src/components/button/index.scss +83 -0
  104. package/src/components/button/src/button.vue +39 -0
  105. package/src/components/button-group/index.js +8 -0
  106. package/src/components/button-group/index.scss +37 -0
  107. package/src/components/button-group/src/button-group.vue +21 -0
  108. package/src/components/checkbox/index.js +8 -0
  109. package/src/components/checkbox/index.scss +47 -0
  110. package/src/components/checkbox/src/checkbox-group.vue +53 -0
  111. package/src/components/checkbox/src/checkbox.vue +153 -0
  112. package/src/components/date-selecter/index.js +6 -0
  113. package/src/components/date-selecter/index.scss +190 -0
  114. package/src/components/date-selecter/src/dateselecter.vue +387 -0
  115. package/src/components/default/index.js +6 -0
  116. package/src/components/default/index.scss +25 -0
  117. package/src/components/default/src/default.vue +23 -0
  118. package/src/components/dialog/index.js +146 -0
  119. package/src/components/dialog/index.scss +250 -0
  120. package/src/components/dialog/src/dialog.vue +153 -0
  121. package/src/components/field/index.js +8 -0
  122. package/src/components/field/index.scss +93 -0
  123. package/src/components/field/src/field.vue +57 -0
  124. package/src/components/input/__tests__/__snapshots__/index.test.js.snap +10 -0
  125. package/src/components/input/__tests__/index.test.js +63 -0
  126. package/src/components/input/index.js +8 -0
  127. package/src/components/input/index.scss +91 -0
  128. package/src/components/input/src/input.vue +214 -0
  129. package/src/components/list/index.js +8 -0
  130. package/src/components/list/index.scss +21 -0
  131. package/src/components/list/src/list.vue +16 -0
  132. package/src/components/list-item/index.js +8 -0
  133. package/src/components/list-item/index.scss +126 -0
  134. package/src/components/list-item/src/list-item.vue +59 -0
  135. package/src/components/loading/__tests__/__snapshots__/index.test.js.snap +9 -0
  136. package/src/components/loading/__tests__/index.test.js +30 -0
  137. package/src/components/loading/index.js +128 -0
  138. package/src/components/loading/index.scss +33 -0
  139. package/src/components/loading/src/loading.vue +23 -0
  140. package/src/components/mask/index.js +9 -0
  141. package/src/components/mask/index.scss +16 -0
  142. package/src/components/mask/src/mask.vue +52 -0
  143. package/src/components/notice/index.js +6 -0
  144. package/src/components/notice/index.scss +81 -0
  145. package/src/components/notice/src/notice.vue +128 -0
  146. package/src/components/overlay/index.js +8 -0
  147. package/src/components/overlay/index.scss +119 -0
  148. package/src/components/overlay/src/overlay.vue +72 -0
  149. package/src/components/picker/index.js +7 -0
  150. package/src/components/picker/index.scss +49 -0
  151. package/src/components/picker/src/picker.vue +205 -0
  152. package/src/components/popup/index.js +8 -0
  153. package/src/components/popup/index.scss +79 -0
  154. package/src/components/popup/src/popup.vue +88 -0
  155. package/src/components/popup-header/index.js +8 -0
  156. package/src/components/popup-header/index.scss +45 -0
  157. package/src/components/popup-header/src/popup-header.vue +41 -0
  158. package/src/components/radio/index.js +8 -0
  159. package/src/components/radio/index.scss +19 -0
  160. package/src/components/radio/src/radio.vue +51 -0
  161. package/src/components/select/index.js +8 -0
  162. package/src/components/select/index.scss +51 -0
  163. package/src/components/select/src/select.vue +86 -0
  164. package/src/components/swiper/index.js +6 -0
  165. package/src/components/swiper/index.scss +49 -0
  166. package/src/components/swiper/src/swiper.vue +211 -0
  167. package/src/components/switch/__tests__/__snapshots__/index.test.js.snap +15 -0
  168. package/src/components/switch/__tests__/index.test.js +44 -0
  169. package/src/components/switch/index.js +8 -0
  170. package/src/components/switch/index.scss +85 -0
  171. package/src/components/switch/src/switch.vue +60 -0
  172. package/src/components/tabs/index.js +8 -0
  173. package/src/components/tabs/index.scss +73 -0
  174. package/src/components/tabs/src/tab-item.vue +40 -0
  175. package/src/components/tabs/src/tabs.vue +121 -0
  176. package/src/components/textarea/index.js +8 -0
  177. package/src/components/textarea/index.scss +41 -0
  178. package/src/components/textarea/src/textarea.vue +140 -0
  179. package/src/components/toast/__tests__/__snapshots__/index.test.js.snap +3 -0
  180. package/src/components/toast/__tests__/index.test.js +25 -0
  181. package/src/components/toast/index.js +53 -0
  182. package/src/components/toast/index.scss +102 -0
  183. package/src/components/toast/src/toast.vue +19 -0
  184. package/src/index.js +87 -0
  185. package/src/mixins/emitter.js +33 -0
  186. package/src/mixins/visible.js +23 -0
  187. package/src/utils/clickoutside.js +42 -0
  188. package/src/utils/fix-body.js +46 -0
  189. package/src/utils/utils.js +71 -0
@@ -0,0 +1,544 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ var _popup = _interopRequireDefault(require("../../popup"));
13
+
14
+ var _picker = _interopRequireDefault(require("../../picker"));
15
+
16
+ var _visible = _interopRequireDefault(require("../../mixins/visible"));
17
+
18
+ //
19
+ //
20
+ //
21
+ //
22
+ //
23
+ //
24
+ //
25
+ //
26
+ //
27
+ //
28
+ //
29
+ //
30
+ //
31
+ //
32
+ //
33
+ //
34
+ //
35
+ //
36
+ //
37
+ //
38
+ //
39
+ //
40
+ //
41
+ //
42
+ //
43
+ //
44
+ //
45
+ //
46
+ //
47
+ //
48
+ //
49
+ //
50
+ //
51
+ //
52
+ //
53
+ //
54
+ //
55
+ //
56
+ //
57
+ //
58
+ //
59
+ //
60
+ //
61
+ //
62
+ //
63
+ //
64
+ //
65
+ //
66
+ //
67
+ //
68
+ //
69
+ //
70
+ //
71
+ //
72
+ //
73
+ //
74
+ //
75
+ //
76
+ //
77
+ //
78
+ //
79
+ //
80
+ //
81
+ //
82
+ //
83
+ //
84
+ //
85
+ //
86
+ //
87
+ //
88
+ //
89
+ //
90
+ //
91
+ //
92
+ var TIME_INTERVAL = 5 * 365 * 24 * 60 * 60 * 1000;
93
+ var __script__ = {
94
+ name: "JddDateSelecter",
95
+ mixins: [_visible.default],
96
+ props: {
97
+ type: {
98
+ type: String,
99
+ default: "YMD"
100
+ },
101
+ startDate: {
102
+ type: Date,
103
+ default: function _default() {
104
+ return new Date(new Date().getTime() - TIME_INTERVAL);
105
+ }
106
+ },
107
+ endDate: {
108
+ type: Date,
109
+ default: function _default() {
110
+ return new Date(new Date().getTime() + TIME_INTERVAL);
111
+ }
112
+ },
113
+ value: {
114
+ type: Date,
115
+ default: function _default() {
116
+ return new Date();
117
+ }
118
+ }
119
+ },
120
+ data: function data() {
121
+ return {
122
+ year: [],
123
+ month: [],
124
+ splits: [],
125
+ hours: [],
126
+ minutes: [],
127
+ yearIndex: 0,
128
+ monthIndex: 0,
129
+ dayIndex: 0,
130
+ hIndex: 0,
131
+ mIndex: 0,
132
+ sIndex: 0,
133
+ selfDay: [],
134
+ upDown: ["上午", "下午"]
135
+ };
136
+ },
137
+ components: {
138
+ JddPicker: _picker.default,
139
+ JddPopup: _popup.default
140
+ },
141
+ created: function created() {
142
+ var beginYear = this.startDate.getFullYear();
143
+ var endYear = this.endDate.getFullYear();
144
+ var currentYear = this.yearValue = this.value.getFullYear();
145
+ var currentMonth = this.value.getMonth() + 1;
146
+ var currentDay = this.value.getDate();
147
+
148
+ if (this.type.indexOf("Y") !== -1) {
149
+ var years = [];
150
+
151
+ for (var i = beginYear; i <= endYear; i++) {
152
+ years.push(i);
153
+ }
154
+
155
+ this.year = years;
156
+ }
157
+
158
+ if (this.type.indexOf("M") !== -1) {
159
+ this.setMonths(currentYear, currentMonth);
160
+ }
161
+
162
+ if (this.type.indexOf("D") !== -1) {
163
+ this.setDays(currentYear, currentMonth);
164
+ }
165
+
166
+ if (this.type === "Hm") {
167
+ var _years = ["上午", "下午"];
168
+ var hours = [];
169
+
170
+ for (var _i = 1; _i <= 12; _i++) {
171
+ hours.push(_i);
172
+ }
173
+
174
+ var minutes = [];
175
+
176
+ for (var _i2 = 0; _i2 < 60; _i2++) {
177
+ minutes.push(_i2);
178
+ }
179
+
180
+ this.hours = hours;
181
+ this.minutes = minutes;
182
+ this.years = _years; // this.splits = [":"];
183
+ }
184
+
185
+ if (this.year.length > 0) {
186
+ for (var _i3 = 0; _i3 < this.year.length; _i3++) {
187
+ if (this.year[_i3] == currentYear) {
188
+ this.yearIndex = _i3;
189
+ }
190
+ }
191
+ }
192
+
193
+ if (this.month.length > 0) {
194
+ for (var _i4 = 0; _i4 < this.month.length; _i4++) {
195
+ if (this.month[_i4] == currentMonth) {
196
+ this.monthIndex = _i4;
197
+ }
198
+ }
199
+ }
200
+
201
+ if (this.selfDay.length > 0) {
202
+ for (var _i5 = 0; _i5 < this.selfDay.length; _i5++) {
203
+ if (this.selfDay[_i5] == currentDay) {
204
+ this.dayIndex = _i5;
205
+ }
206
+ }
207
+ }
208
+ },
209
+ computed: {
210
+ filterYear: function filterYear() {
211
+ return this.year.map(function (item) {
212
+ return item + "年";
213
+ });
214
+ },
215
+ filterMonth: function filterMonth() {
216
+ return this.month.map(function (item) {
217
+ return item + "月";
218
+ });
219
+ },
220
+ filterDay: function filterDay() {
221
+ return this.selfDay.map(function (item) {
222
+ return item + "日";
223
+ });
224
+ }
225
+ },
226
+ methods: {
227
+ setMonths: function setMonths(year, month) {
228
+ var startYear = this.startDate.getFullYear();
229
+ var endYear = this.endDate.getFullYear();
230
+ var startMonth = this.startDate.getMonth() + 1;
231
+ var endMonth = this.endDate.getMonth() + 1;
232
+ var begin = 1;
233
+ var end = 12;
234
+
235
+ if (year == startYear) {
236
+ begin = Math.max(1, startMonth);
237
+ }
238
+
239
+ if (year == endYear) {
240
+ end = Math.min(12, endMonth);
241
+ }
242
+
243
+ var months = [];
244
+
245
+ for (var i = begin; i <= end; i++) {
246
+ months.push(i);
247
+ }
248
+
249
+ this.month = months;
250
+ var curIndex = month || this.monthIndex + 1;
251
+
252
+ if (curIndex > end) {
253
+ curIndex = end;
254
+ }
255
+
256
+ if (curIndex < begin) {
257
+ curIndex = begin;
258
+ }
259
+
260
+ if (this.type.indexOf('D') !== -1) {
261
+ this.setDays(year, curIndex);
262
+ }
263
+ },
264
+ setDays: function setDays(year, month) {
265
+ var _this$getDaysByYearAn = this.getDaysByYearAndMonth(year, month),
266
+ begin = _this$getDaysByYearAn.begin,
267
+ end = _this$getDaysByYearAn.end;
268
+
269
+ var dayArray = [];
270
+
271
+ for (var i = begin; i <= end; i++) {
272
+ dayArray.push(i);
273
+ }
274
+
275
+ this.selfDay = dayArray;
276
+ },
277
+ getDaysByYearAndMonth: function getDaysByYearAndMonth(year, month) {
278
+ var startYear = this.startDate.getFullYear();
279
+ var endYear = this.endDate.getFullYear();
280
+ var startMonth = this.startDate.getMonth() + 1;
281
+ var endMonth = this.endDate.getMonth() + 1;
282
+ var startDay = this.startDate.getDate();
283
+ var endDay = this.endDate.getDate();
284
+ year = parseInt(year);
285
+ month = parseInt(month);
286
+ var begin = 1;
287
+ var end = 30;
288
+
289
+ if (year == startYear && month == startMonth) {
290
+ begin = Math.max(1, startDay);
291
+ }
292
+
293
+ if (month == 2) {
294
+ if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) {
295
+ end = 29;
296
+ } else {
297
+ end = 28;
298
+ }
299
+ } else if (month == 4 || month == 6 || month == 9 || month == 11) {
300
+ end = 30;
301
+ } else {
302
+ end = 31;
303
+ }
304
+
305
+ if (year == endYear && month == endMonth) {
306
+ end = endDay;
307
+ }
308
+
309
+ return {
310
+ begin: begin,
311
+ end: end
312
+ };
313
+ },
314
+ changeYear: function changeYear(changeObj) {
315
+ // this.yearIndex = changeObj.index;
316
+ if (this.type.indexOf('M') !== -1) {
317
+ this.setMonths(this.year[changeObj.index]);
318
+ }
319
+ },
320
+ changeMonth: function changeMonth(changeObj) {
321
+ //this.monthIndex = changeObj.index;
322
+ if (this.type == "MD" || this.type == "YMD") {
323
+ this.changeday(changeObj);
324
+ }
325
+ },
326
+ changeday: function changeday(changeObj) {
327
+ // if (changeObj.type == "year") {
328
+ // this.yearIndex = changeObj.index;
329
+ // }
330
+ // if (changeObj.type == "month") {
331
+ // this.monthIndex = changeObj.index;
332
+ // }
333
+ // if (changeObj.type == "day") {
334
+ // this.dayIndex = changeObj.index;
335
+ // }
336
+ // console.log(this.year[this.yearIndex]);
337
+ // console.log(this.month[this.monthIndex]);
338
+ // console.log(this.day[this.dayIndex]);
339
+ // this.selfDay = [1,2,3,4,5]
340
+ if (this.type == "YMD" || this.type == "MD") {
341
+ var curYear = this.value.getFullYear();
342
+
343
+ if (this.type == "YMD") {
344
+ curYear = this.year[this.yearIndex];
345
+ }
346
+
347
+ this.setDays(curYear, this.month[this.monthIndex]); // const { begin, end } = this.getDaysByYearAndMonth(
348
+ // curYear,
349
+ // this.month[this.monthIndex]
350
+ // );
351
+ // var dayArray = [];
352
+ // for (var i = begin; i <= end; i++) {
353
+ // dayArray.push(i);
354
+ // }
355
+ // this.selfDay = dayArray;
356
+ // this.dayIndex = 0;
357
+ // debugger;
358
+ }
359
+ },
360
+ cancelFn: function cancelFn() {
361
+ this.$emit("update:visible", false);
362
+ this.$emit("cancel");
363
+ },
364
+ confirmFn: function confirmFn() {
365
+ var str = "";
366
+
367
+ if (this.year.length > 0) {
368
+ str = this.year[this.yearIndex];
369
+ }
370
+
371
+ if (this.month.length > 0) {
372
+ str = this.month[this.monthIndex];
373
+ }
374
+
375
+ if (this.selfDay.length > 0) {
376
+ str = this.selfDay[this.dayIndex];
377
+ }
378
+
379
+ if (this.minutes.length > 0) {
380
+ str = this.minutes[this.mIndex];
381
+ }
382
+
383
+ if (this.hours.length > 0) {
384
+ str = this.hours[this.hIndex];
385
+ }
386
+
387
+ if (this.year.length > 0 && this.month.length > 0) {
388
+ str = this.year[this.yearIndex] + "-" + this.month[this.monthIndex];
389
+ }
390
+
391
+ if (this.month.length > 0 && this.selfDay.length > 0) {
392
+ str = this.month[this.monthIndex] + "-" + this.selfDay[this.dayIndex];
393
+ }
394
+
395
+ if (this.year.length > 0 && this.month.length > 0 && this.selfDay.length > 0) {
396
+ str = this.year[this.yearIndex] + "-" + this.month[this.monthIndex] + "-" + this.selfDay[this.dayIndex];
397
+ }
398
+
399
+ if (this.minutes.length > 0) {
400
+ var day = this.upDown[this.dayIndex];
401
+ str = day + "-" + this.hours[this.hIndex] + "-" + this.minutes[this.mIndex];
402
+ }
403
+
404
+ this.$emit("input", new Date(str));
405
+ this.$emit("confirm", str);
406
+ this.$emit("update:visible", false);
407
+ }
408
+ }
409
+ };
410
+
411
+ var render = function render() {
412
+ var _vm = this;
413
+
414
+ var _h = _vm.$createElement;
415
+
416
+ var _c = _vm._self._c || _h;
417
+
418
+ return _c('jdd-popup', {
419
+ attrs: {
420
+ "visible": _vm.isVisible
421
+ },
422
+ on: {
423
+ "update:visible": function updateVisible($event) {
424
+ _vm.isVisible = $event;
425
+ }
426
+ }
427
+ }, [_c('div', {
428
+ staticClass: "jdd-dateselecter-title"
429
+ }, [_c('span', {
430
+ staticClass: "cancel",
431
+ on: {
432
+ "click": function click($event) {
433
+ $event.stopPropagation();
434
+ return _vm.cancelFn($event);
435
+ }
436
+ }
437
+ }, [_vm._v("取消")]), _vm._v(" "), _c('span', {
438
+ staticClass: "confirm",
439
+ on: {
440
+ "click": function click($event) {
441
+ $event.stopPropagation();
442
+ return _vm.confirmFn($event);
443
+ }
444
+ }
445
+ }, [_vm._v("确定")])]), _vm._v(" "), _c('div', {
446
+ staticClass: "jdd-dateselecter-content"
447
+ }, [_c('div', {
448
+ staticClass: "jdd-select-date-scrollerbox-n jdd-fs36"
449
+ }, [_c('div', {
450
+ class: [_vm.type === 'Hm' ? 'jdd-select-date-hms' : 'jdd-select-date-ymd', 'jdd-select-date-scroller-n']
451
+ }, [_vm.type.indexOf('Hm') !== -1 ? _c('jdd-picker', {
452
+ attrs: {
453
+ "type": "day",
454
+ "data": _vm.upDown,
455
+ "outindex": _vm.dayIndex
456
+ },
457
+ on: {
458
+ "update:outindex": function updateOutindex($event) {
459
+ _vm.dayIndex = $event;
460
+ }
461
+ }
462
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('Y') !== -1 ? _c('jdd-picker', {
463
+ attrs: {
464
+ "data": _vm.filterYear,
465
+ "outindex": _vm.yearIndex
466
+ },
467
+ on: {
468
+ "update:outindex": function updateOutindex($event) {
469
+ _vm.yearIndex = $event;
470
+ },
471
+ "change": _vm.changeYear
472
+ }
473
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('M') !== -1 ? _c('jdd-picker', {
474
+ attrs: {
475
+ "type": "month",
476
+ "data": _vm.filterMonth,
477
+ "outindex": _vm.monthIndex
478
+ },
479
+ on: {
480
+ "update:outindex": function updateOutindex($event) {
481
+ _vm.monthIndex = $event;
482
+ },
483
+ "change": _vm.changeMonth
484
+ }
485
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('D') !== -1 ? _c('jdd-picker', {
486
+ attrs: {
487
+ "type": "day",
488
+ "data": _vm.filterDay,
489
+ "outindex": _vm.dayIndex
490
+ },
491
+ on: {
492
+ "update:outindex": function updateOutindex($event) {
493
+ _vm.dayIndex = $event;
494
+ },
495
+ "change": _vm.changeday
496
+ }
497
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('H') !== -1 ? _c('jdd-picker', {
498
+ attrs: {
499
+ "type": "day",
500
+ "data": _vm.hours,
501
+ "outindex": _vm.hIndex
502
+ },
503
+ on: {
504
+ "update:outindex": function updateOutindex($event) {
505
+ _vm.hIndex = $event;
506
+ }
507
+ }
508
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('H') !== -1 ? _c('jdd-picker', {
509
+ staticClass: "split",
510
+ attrs: {
511
+ "type": "day",
512
+ "data": _vm.splits,
513
+ "outindex": _vm.hIndex
514
+ },
515
+ on: {
516
+ "update:outindex": function updateOutindex($event) {
517
+ _vm.hIndex = $event;
518
+ }
519
+ }
520
+ }) : _vm._e(), _vm._v(" "), _vm.type.indexOf('m') !== -1 ? _c('jdd-picker', {
521
+ attrs: {
522
+ "type": "day",
523
+ "data": _vm.minutes,
524
+ "outindex": _vm.mIndex
525
+ },
526
+ on: {
527
+ "update:outindex": function updateOutindex($event) {
528
+ _vm.mIndex = $event;
529
+ }
530
+ }
531
+ }) : _vm._e()], 1), _vm._v(" "), _c('p', {
532
+ staticClass: "jdd-select-value"
533
+ })])])]);
534
+ };
535
+
536
+ var staticRenderFns = [];
537
+ var __template__ = {
538
+ render: render,
539
+ staticRenderFns: staticRenderFns
540
+ };
541
+
542
+ var _default2 = (0, _extends2.default)({}, __script__, __template__);
543
+
544
+ exports.default = _default2;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _default2 = _interopRequireDefault(require("./src/default"));
11
+
12
+ require("./index.css");
13
+
14
+ _default2.default.install = function (Vue) {
15
+ Vue.component(_default2.default.name, _default2.default);
16
+ };
17
+
18
+ var _default = _default2.default;
19
+ exports.default = _default;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ //
13
+ //
14
+ //
15
+ //
16
+ //
17
+ //
18
+ //
19
+ //
20
+ //
21
+ //
22
+ var __script__ = {
23
+ name: "JddDefault",
24
+ props: {
25
+ imgUrl: {
26
+ type: String
27
+ },
28
+ text: {
29
+ type: String
30
+ }
31
+ }
32
+ };
33
+
34
+ var render = function render() {
35
+ var _vm = this;
36
+
37
+ var _h = _vm.$createElement;
38
+
39
+ var _c = _vm._self._c || _h;
40
+
41
+ return _c('div', {
42
+ staticClass: "jdd-default"
43
+ }, [_c('div', {
44
+ staticClass: "jdd-default-img"
45
+ }, [_c('img', {
46
+ attrs: {
47
+ "src": _vm.imgUrl,
48
+ "alt": ""
49
+ }
50
+ })]), _vm._v(" "), _c('p', [_vm._v(_vm._s(_vm.text))]), _vm._v(" "), _vm._t("default")], 2);
51
+ };
52
+
53
+ var staticRenderFns = [];
54
+ var __template__ = {
55
+ render: render,
56
+ staticRenderFns: staticRenderFns
57
+ };
58
+
59
+ var _default = (0, _extends2.default)({}, __script__, __template__);
60
+
61
+ exports.default = _default;