maz-ui 2.3.8 → 2.3.12

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 (74) hide show
  1. package/lib/css/base.css +1 -1
  2. package/lib/css/index.css +1 -1
  3. package/lib/css/maz-avatar.css +1 -1
  4. package/lib/css/maz-bottom-sheet.css +1 -1
  5. package/lib/css/maz-btn-group.css +1 -1
  6. package/lib/css/maz-card.css +1 -1
  7. package/lib/css/maz-carousel.css +1 -1
  8. package/lib/css/maz-checkbox.css +1 -1
  9. package/lib/css/maz-collapse.css +1 -1
  10. package/lib/css/maz-dialog.css +1 -1
  11. package/lib/css/maz-draggable-list.css +1 -1
  12. package/lib/css/maz-dropdown.css +1 -1
  13. package/lib/css/maz-dropzone.css +1 -1
  14. package/lib/css/maz-img.css +1 -1
  15. package/lib/css/maz-input-tags.css +1 -1
  16. package/lib/css/maz-list-item.css +1 -1
  17. package/lib/css/maz-list.css +1 -1
  18. package/lib/css/maz-pagination.css +1 -1
  19. package/lib/css/maz-phone-number-input.css +1 -1
  20. package/lib/css/maz-picker.css +1 -1
  21. package/lib/css/maz-progress-bar.css +1 -1
  22. package/lib/css/maz-radio.css +1 -1
  23. package/lib/css/maz-read-more.css +1 -1
  24. package/lib/css/maz-responsive-menu.css +1 -1
  25. package/lib/css/maz-search.css +1 -1
  26. package/lib/css/maz-sidebar.css +1 -1
  27. package/lib/css/maz-slider.css +1 -1
  28. package/lib/css/maz-stepper.css +1 -1
  29. package/lib/css/maz-switch.css +1 -1
  30. package/lib/css/maz-tabs-bar.css +1 -1
  31. package/lib/css/maz-tabs-content-item.css +1 -1
  32. package/lib/css/maz-tabs-content.css +1 -1
  33. package/lib/index.js +1 -1
  34. package/lib/maz-avatar.js +15 -15
  35. package/lib/maz-bottom-sheet.js +71 -66
  36. package/lib/maz-btn-group.js +47 -44
  37. package/lib/maz-btn.js +40 -37
  38. package/lib/maz-card.js +45 -42
  39. package/lib/maz-carousel.js +97 -91
  40. package/lib/maz-checkbox.js +7 -7
  41. package/lib/maz-collapse.js +68 -59
  42. package/lib/maz-dialog.js +124 -110
  43. package/lib/maz-draggable-list.js +25 -21
  44. package/lib/maz-dropdown.js +19 -19
  45. package/lib/maz-dropzone.js +9 -9
  46. package/lib/maz-flex.js +1 -1
  47. package/lib/maz-gallery.js +30 -31
  48. package/lib/maz-img.js +19 -20
  49. package/lib/maz-input-tags.js +75 -72
  50. package/lib/maz-input.js +73 -69
  51. package/lib/maz-list-item.js +5 -5
  52. package/lib/maz-list.js +5 -5
  53. package/lib/maz-loader.js +6 -6
  54. package/lib/maz-pagination.js +69 -66
  55. package/lib/maz-phone-number-input.js +300 -276
  56. package/lib/maz-picker.js +363 -336
  57. package/lib/maz-plotly.js +4 -4
  58. package/lib/maz-progress-bar.js +13 -13
  59. package/lib/maz-radio.js +8 -8
  60. package/lib/maz-read-more.js +7 -7
  61. package/lib/maz-responsive-menu.js +17 -17
  62. package/lib/maz-search.js +136 -126
  63. package/lib/maz-select.js +248 -231
  64. package/lib/maz-sidebar.js +44 -38
  65. package/lib/maz-slider.js +27 -27
  66. package/lib/maz-spinner.js +8 -9
  67. package/lib/maz-stepper.js +53 -50
  68. package/lib/maz-switch.js +5 -5
  69. package/lib/maz-tabs-bar.js +10 -10
  70. package/lib/maz-tabs-content-item.js +5 -5
  71. package/lib/maz-tabs-content.js +2 -2
  72. package/lib/maz-transition-expand.js +2 -2
  73. package/lib/maz-ui.common.js +1228 -1141
  74. package/package.json +31 -30
@@ -202,7 +202,7 @@ function normalizeComponent (
202
202
  __webpack_require__.r(__webpack_exports__);
203
203
 
204
204
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazTransitionExpand/_main.vue?vue&type=template&id=2b2d746e&
205
- var render = function() {
205
+ var render = function () {
206
206
  var _vm = this
207
207
  var _h = _vm.$createElement
208
208
  var _c = _vm._self._c || _h
@@ -211,7 +211,7 @@ var render = function() {
211
211
  {
212
212
  staticClass: "maz-base-component maz-transition-expand",
213
213
  attrs: { name: "maz-expand" },
214
- on: { enter: _vm.enter, "after-enter": _vm.afterEnter, leave: _vm.leave }
214
+ on: { enter: _vm.enter, "after-enter": _vm.afterEnter, leave: _vm.leave },
215
215
  },
216
216
  [_vm._t("default")],
217
217
  2
@@ -351,7 +351,7 @@ _main.install = function (Vue) {
351
351
  __webpack_require__.r(__webpack_exports__);
352
352
 
353
353
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazCollapse/_main.vue?vue&type=template&id=64aa90a7&
354
- var render = function() {
354
+ var render = function () {
355
355
  var _vm = this
356
356
  var _h = _vm.$createElement
357
357
  var _c = _vm._self._c || _h
@@ -361,8 +361,8 @@ var render = function() {
361
361
  staticClass: "maz-base-component maz-collapse maz-position-relative",
362
362
  class: {
363
363
  "maz-is-dark": _vm.dark,
364
- "is-open": _vm.isOpen
365
- }
364
+ "is-open": _vm.isOpen,
365
+ },
366
366
  },
367
367
  [
368
368
  _c(
@@ -371,18 +371,20 @@ var render = function() {
371
371
  staticClass:
372
372
  "maz-collapse__header-btn maz-flex maz-flex-center maz-border-radius-0",
373
373
  attrs: { color: "transparent", size: "md", "no-shadow": "" },
374
- on: { click: _vm.openContent }
374
+ on: { click: _vm.openContent },
375
375
  },
376
376
  [
377
- _vm._t("header-text", [_vm._v("\n Default Header\n ")]),
377
+ _vm._t("header-text", function () {
378
+ return [_vm._v("\n Default Header\n ")]
379
+ }),
378
380
  _c("ArrowIcon", {
379
381
  staticClass: "maz-collapse__header-btn__arrow maz-ml-2",
380
382
  attrs: {
381
383
  white: _vm.dark,
382
384
  color: _vm.arrowColor,
383
- orientation: _vm.isOpen ? "up" : null
384
- }
385
- })
385
+ orientation: _vm.isOpen ? "up" : null,
386
+ },
387
+ }),
386
388
  ],
387
389
  2
388
390
  ),
@@ -395,14 +397,18 @@ var render = function() {
395
397
  name: "show",
396
398
  rawName: "v-show",
397
399
  value: _vm.hasContentOpen,
398
- expression: "hasContentOpen"
399
- }
400
- ]
400
+ expression: "hasContentOpen",
401
+ },
402
+ ],
401
403
  },
402
- [_vm._t("default", [_c("p", [_vm._v("Default Content")])])],
404
+ [
405
+ _vm._t("default", function () {
406
+ return [_c("p", [_vm._v("Default Content")])]
407
+ }),
408
+ ],
403
409
  2
404
- )
405
- ])
410
+ ),
411
+ ]),
406
412
  ],
407
413
  1
408
414
  )
@@ -569,7 +575,7 @@ _main.install = function (Vue) {
569
575
  __webpack_require__.r(__webpack_exports__);
570
576
 
571
577
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazBtn/_main.vue?vue&type=template&id=247f3a44&
572
- var render = function() {
578
+ var render = function () {
573
579
  var _vm = this
574
580
  var _h = _vm.$createElement
575
581
  var _c = _vm._self._c || _h
@@ -582,31 +588,31 @@ var render = function() {
582
588
  class: [
583
589
  _vm.classes,
584
590
  {
585
- "maz-text-hidden": _vm.loading
586
- }
591
+ "maz-text-hidden": _vm.loading,
592
+ },
587
593
  ],
588
594
  attrs: {
589
595
  id: _vm.uniqueId,
590
596
  type: _vm.isLink ? null : _vm.type,
591
- disabled: _vm.isLink ? null : _vm.isDisabled
597
+ disabled: _vm.isLink ? null : _vm.isDisabled,
592
598
  },
593
599
  on: {
594
- click: function($event) {
600
+ click: function ($event) {
595
601
  return _vm.handleClick($event)
596
602
  },
597
- mouseenter: function($event) {
603
+ mouseenter: function ($event) {
598
604
  return _vm.emitMouseEnter($event)
599
605
  },
600
- mouseleave: function($event) {
606
+ mouseleave: function ($event) {
601
607
  return _vm.emitMouseLeave($event)
602
608
  },
603
- focus: function($event) {
609
+ focus: function ($event) {
604
610
  return _vm.emitFocus($event)
605
611
  },
606
- blur: function($event) {
612
+ blur: function ($event) {
607
613
  return _vm.emitBlur($event)
608
- }
609
- }
614
+ },
615
+ },
610
616
  },
611
617
  "component",
612
618
  _vm.$attrs,
@@ -619,15 +625,17 @@ var render = function() {
619
625
  {
620
626
  staticClass: "maz-flex maz-flex-center maz-btn__icon-left",
621
627
  class: {
622
- "maz-mr-2": !_vm.fab && _vm.hasSlotDefault()
623
- }
628
+ "maz-mr-2": !_vm.fab && _vm.hasSlotDefault(),
629
+ },
624
630
  },
625
631
  [
626
- _vm._t("icon-left" || false, [
627
- _c("i", { staticClass: "material-icons" }, [
628
- _vm._v(_vm._s(_vm.leftIconName || _vm.iconName))
629
- ])
630
- ])
632
+ _vm._t("icon-left" || false, function () {
633
+ return [
634
+ _c("i", { staticClass: "material-icons" }, [
635
+ _vm._v(_vm._s(_vm.leftIconName || _vm.iconName)),
636
+ ]),
637
+ ]
638
+ }),
631
639
  ],
632
640
  2
633
641
  )
@@ -637,7 +645,7 @@ var render = function() {
637
645
  {
638
646
  staticClass:
639
647
  "maz-flex maz-align-center maz-h-100 maz-overflow-hidden",
640
- class: [_vm.textClasses, { "maz-flex-1": _vm.hasSlotDefault() }]
648
+ class: [_vm.textClasses, { "maz-flex-1": _vm.hasSlotDefault() }],
641
649
  },
642
650
  [_vm._t("default")],
643
651
  2
@@ -648,15 +656,17 @@ var render = function() {
648
656
  {
649
657
  staticClass: "maz-flex maz-flex-center maz-btn__icon-right",
650
658
  class: {
651
- "maz-ml-2": !_vm.fab && _vm.hasSlotDefault()
652
- }
659
+ "maz-ml-2": !_vm.fab && _vm.hasSlotDefault(),
660
+ },
653
661
  },
654
662
  [
655
- _vm._t("icon-right", [
656
- _c("i", { staticClass: "material-icons" }, [
657
- _vm._v(_vm._s(_vm.rightIconName))
658
- ])
659
- ])
663
+ _vm._t("icon-right", function () {
664
+ return [
665
+ _c("i", { staticClass: "material-icons" }, [
666
+ _vm._v(_vm._s(_vm.rightIconName)),
667
+ ]),
668
+ ]
669
+ }),
660
670
  ],
661
671
  2
662
672
  )
@@ -668,7 +678,7 @@ var render = function() {
668
678
  [_c("MazSpinner", { attrs: { size: 25, color: _vm.color } })],
669
679
  1
670
680
  )
671
- : _vm._e()
681
+ : _vm._e(),
672
682
  ]
673
683
  )
674
684
  }
@@ -691,7 +701,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
691
701
 
692
702
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
693
703
 
694
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
704
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
695
705
 
696
706
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
697
707
 
@@ -986,7 +996,7 @@ _main.install = function (Vue) {
986
996
  __webpack_require__.r(__webpack_exports__);
987
997
 
988
998
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazSpinner/_main.vue?vue&type=template&id=67a8ca41&
989
- var render = function() {
999
+ var render = function () {
990
1000
  var _vm = this
991
1001
  var _h = _vm.$createElement
992
1002
  var _c = _vm._self._c || _h
@@ -996,9 +1006,9 @@ var render = function() {
996
1006
  staticClass: "maz-base-component maz-spinner maz-spinner-anim",
997
1007
  class: [
998
1008
  {
999
- "spinner-anim__white": _vm.dark
1009
+ "spinner-anim__white": _vm.dark,
1000
1010
  },
1001
- _vm.fillColorClass
1011
+ _vm.fillColorClass,
1002
1012
  ],
1003
1013
  staticStyle: { "enable-background": "new 0 0 50 50" },
1004
1014
  attrs: {
@@ -1009,16 +1019,15 @@ var render = function() {
1009
1019
  x: "0px",
1010
1020
  y: "0px",
1011
1021
  viewBox: "0 0 50 50",
1012
- "xml:space": "preserve"
1013
- }
1022
+ "xml:space": "preserve",
1023
+ },
1014
1024
  },
1015
1025
  [
1016
1026
  _c("path", {
1017
1027
  attrs: {
1018
- d:
1019
- "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"
1020
- }
1021
- })
1028
+ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z",
1029
+ },
1030
+ }),
1022
1031
  ]
1023
1032
  )
1024
1033
  }
@@ -1116,7 +1125,7 @@ _main.install = function (Vue) {
1116
1125
  "use strict";
1117
1126
 
1118
1127
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/_subs/ArrowIcon/index.vue?vue&type=template&id=1c91afda&
1119
- var render = function() {
1128
+ var render = function () {
1120
1129
  var _vm = this
1121
1130
  var _h = _vm.$createElement
1122
1131
  var _c = _vm._self._c || _h
@@ -1129,8 +1138,8 @@ var render = function() {
1129
1138
  mlns: "http://www.w3.org/2000/svg",
1130
1139
  width: _vm.size,
1131
1140
  height: _vm.size,
1132
- viewBox: "0 0 24 24"
1133
- }
1141
+ viewBox: "0 0 24 24",
1142
+ },
1134
1143
  },
1135
1144
  [
1136
1145
  _c("path", {
@@ -1138,10 +1147,10 @@ var render = function() {
1138
1147
  class: [_vm.color],
1139
1148
  attrs: {
1140
1149
  fill: _vm.color,
1141
- d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"
1142
- }
1150
+ d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",
1151
+ },
1143
1152
  }),
1144
- _c("path", { attrs: { fill: "none", d: "M0 0h24v24H0V0z" } })
1153
+ _c("path", { attrs: { fill: "none", d: "M0 0h24v24H0V0z" } }),
1145
1154
  ]
1146
1155
  )
1147
1156
  }