maz-ui 2.3.10 → 2.3.13

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 (42) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/maz-avatar.js +15 -15
  3. package/lib/maz-bottom-sheet.js +56 -57
  4. package/lib/maz-btn-group.js +41 -42
  5. package/lib/maz-btn.js +34 -35
  6. package/lib/maz-card.js +19 -18
  7. package/lib/maz-carousel.js +35 -35
  8. package/lib/maz-checkbox.js +7 -7
  9. package/lib/maz-collapse.js +57 -58
  10. package/lib/maz-dialog.js +73 -73
  11. package/lib/maz-draggable-list.js +19 -19
  12. package/lib/maz-dropdown.js +19 -19
  13. package/lib/maz-dropzone.js +8 -8
  14. package/lib/maz-flex.js +1 -1
  15. package/lib/maz-gallery.js +30 -31
  16. package/lib/maz-img.js +19 -20
  17. package/lib/maz-input-tags.js +67 -68
  18. package/lib/maz-input.js +66 -66
  19. package/lib/maz-list-item.js +5 -5
  20. package/lib/maz-list.js +5 -5
  21. package/lib/maz-loader.js +6 -6
  22. package/lib/maz-pagination.js +63 -64
  23. package/lib/maz-phone-number-input.js +254 -256
  24. package/lib/maz-picker.js +315 -313
  25. package/lib/maz-plotly.js +4 -4
  26. package/lib/maz-progress-bar.js +13 -13
  27. package/lib/maz-radio.js +8 -8
  28. package/lib/maz-read-more.js +7 -7
  29. package/lib/maz-responsive-menu.js +17 -17
  30. package/lib/maz-search.js +103 -103
  31. package/lib/maz-select.js +179 -182
  32. package/lib/maz-sidebar.js +38 -38
  33. package/lib/maz-slider.js +27 -27
  34. package/lib/maz-spinner.js +8 -9
  35. package/lib/maz-stepper.js +47 -48
  36. package/lib/maz-switch.js +5 -5
  37. package/lib/maz-tabs-bar.js +10 -10
  38. package/lib/maz-tabs-content-item.js +5 -5
  39. package/lib/maz-tabs-content.js +2 -2
  40. package/lib/maz-transition-expand.js +2 -2
  41. package/lib/maz-ui.common.js +959 -957
  42. package/package.json +1 -1
@@ -220,7 +220,7 @@ function normalizeComponent (
220
220
  __webpack_require__.r(__webpack_exports__);
221
221
 
222
222
  // 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&
223
- var render = function() {
223
+ var render = function () {
224
224
  var _vm = this
225
225
  var _h = _vm.$createElement
226
226
  var _c = _vm._self._c || _h
@@ -233,31 +233,31 @@ var render = function() {
233
233
  class: [
234
234
  _vm.classes,
235
235
  {
236
- "maz-text-hidden": _vm.loading
237
- }
236
+ "maz-text-hidden": _vm.loading,
237
+ },
238
238
  ],
239
239
  attrs: {
240
240
  id: _vm.uniqueId,
241
241
  type: _vm.isLink ? null : _vm.type,
242
- disabled: _vm.isLink ? null : _vm.isDisabled
242
+ disabled: _vm.isLink ? null : _vm.isDisabled,
243
243
  },
244
244
  on: {
245
- click: function($event) {
245
+ click: function ($event) {
246
246
  return _vm.handleClick($event)
247
247
  },
248
- mouseenter: function($event) {
248
+ mouseenter: function ($event) {
249
249
  return _vm.emitMouseEnter($event)
250
250
  },
251
- mouseleave: function($event) {
251
+ mouseleave: function ($event) {
252
252
  return _vm.emitMouseLeave($event)
253
253
  },
254
- focus: function($event) {
254
+ focus: function ($event) {
255
255
  return _vm.emitFocus($event)
256
256
  },
257
- blur: function($event) {
257
+ blur: function ($event) {
258
258
  return _vm.emitBlur($event)
259
- }
260
- }
259
+ },
260
+ },
261
261
  },
262
262
  "component",
263
263
  _vm.$attrs,
@@ -270,17 +270,17 @@ var render = function() {
270
270
  {
271
271
  staticClass: "maz-flex maz-flex-center maz-btn__icon-left",
272
272
  class: {
273
- "maz-mr-2": !_vm.fab && _vm.hasSlotDefault()
274
- }
273
+ "maz-mr-2": !_vm.fab && _vm.hasSlotDefault(),
274
+ },
275
275
  },
276
276
  [
277
- _vm._t("icon-left" || false, function() {
277
+ _vm._t("icon-left" || false, function () {
278
278
  return [
279
279
  _c("i", { staticClass: "material-icons" }, [
280
- _vm._v(_vm._s(_vm.leftIconName || _vm.iconName))
281
- ])
280
+ _vm._v(_vm._s(_vm.leftIconName || _vm.iconName)),
281
+ ]),
282
282
  ]
283
- })
283
+ }),
284
284
  ],
285
285
  2
286
286
  )
@@ -290,7 +290,7 @@ var render = function() {
290
290
  {
291
291
  staticClass:
292
292
  "maz-flex maz-align-center maz-h-100 maz-overflow-hidden",
293
- class: [_vm.textClasses, { "maz-flex-1": _vm.hasSlotDefault() }]
293
+ class: [_vm.textClasses, { "maz-flex-1": _vm.hasSlotDefault() }],
294
294
  },
295
295
  [_vm._t("default")],
296
296
  2
@@ -301,17 +301,17 @@ var render = function() {
301
301
  {
302
302
  staticClass: "maz-flex maz-flex-center maz-btn__icon-right",
303
303
  class: {
304
- "maz-ml-2": !_vm.fab && _vm.hasSlotDefault()
305
- }
304
+ "maz-ml-2": !_vm.fab && _vm.hasSlotDefault(),
305
+ },
306
306
  },
307
307
  [
308
- _vm._t("icon-right", function() {
308
+ _vm._t("icon-right", function () {
309
309
  return [
310
310
  _c("i", { staticClass: "material-icons" }, [
311
- _vm._v(_vm._s(_vm.rightIconName))
312
- ])
311
+ _vm._v(_vm._s(_vm.rightIconName)),
312
+ ]),
313
313
  ]
314
- })
314
+ }),
315
315
  ],
316
316
  2
317
317
  )
@@ -323,7 +323,7 @@ var render = function() {
323
323
  [_c("MazSpinner", { attrs: { size: 25, color: _vm.color } })],
324
324
  1
325
325
  )
326
- : _vm._e()
326
+ : _vm._e(),
327
327
  ]
328
328
  )
329
329
  }
@@ -346,7 +346,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
346
346
 
347
347
  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); }
348
348
 
349
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
349
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
350
350
 
351
351
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
352
352
 
@@ -641,7 +641,7 @@ _main.install = function (Vue) {
641
641
  __webpack_require__.r(__webpack_exports__);
642
642
 
643
643
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazInputTags/_main.vue?vue&type=template&id=f4f57e2a&
644
- var render = function() {
644
+ var render = function () {
645
645
  var _vm = this
646
646
  var _h = _vm.$createElement
647
647
  var _c = _vm._self._c || _h
@@ -657,29 +657,29 @@ var render = function() {
657
657
  "has-value": _vm.value,
658
658
  "has-error": _vm.error,
659
659
  "is-disabled": _vm.disabled,
660
- "maz-is-dark": _vm.dark
660
+ "maz-is-dark": _vm.dark,
661
661
  },
662
662
  "maz-input-tags--" + _vm.size,
663
- "maz-input-tags--" + _vm.color
663
+ "maz-input-tags--" + _vm.color,
664
664
  ],
665
665
  on: {
666
- "!focus": function($event) {
666
+ "!focus": function ($event) {
667
667
  _vm.isFocus = true
668
668
  },
669
- "!blur": function($event) {
669
+ "!blur": function ($event) {
670
670
  _vm.isFocus = false
671
- }
672
- }
671
+ },
672
+ },
673
673
  },
674
674
  [
675
675
  _c(
676
676
  "transition-group",
677
677
  {
678
678
  staticClass: "maz-flex maz-flex-wrap maz-align-center maz-flex-1",
679
- attrs: { tag: "div", name: "maz-tags" }
679
+ attrs: { tag: "div", name: "maz-tags" },
680
680
  },
681
681
  [
682
- _vm._l(_vm.tags, function(tag, i) {
682
+ _vm._l(_vm.tags, function (tag, i) {
683
683
  return _c(
684
684
  "MazBtn",
685
685
  {
@@ -688,24 +688,24 @@ var render = function() {
688
688
  attrs: {
689
689
  disabled: _vm.disabled,
690
690
  color: _vm.color,
691
- size: _vm.size
691
+ size: _vm.size,
692
692
  },
693
693
  on: {
694
- click: function($event) {
694
+ click: function ($event) {
695
695
  $event.stopPropagation()
696
696
  return _vm.removeTag(i)
697
- }
698
- }
697
+ },
698
+ },
699
699
  },
700
700
  [
701
701
  _c("span", { staticClass: "maz-input-tags__tag__text" }, [
702
- _vm._v("\n " + _vm._s(tag) + "\n ")
702
+ _vm._v("\n " + _vm._s(tag) + "\n "),
703
703
  ]),
704
704
  _c(
705
705
  "i",
706
706
  { staticClass: "maz-input-tags__tag__clear material-icons" },
707
707
  [_vm._v("\n close\n ")]
708
- )
708
+ ),
709
709
  ]
710
710
  )
711
711
  }),
@@ -718,8 +718,8 @@ var render = function() {
718
718
  name: "model",
719
719
  rawName: "v-model",
720
720
  value: _vm.inputValue,
721
- expression: "inputValue"
722
- }
721
+ expression: "inputValue",
722
+ },
723
723
  ],
724
724
  key: "input-tags",
725
725
  staticClass: "maz-input-tags__input maz-flex-1",
@@ -728,12 +728,12 @@ var render = function() {
728
728
  placeholder: _vm.placeholder,
729
729
  "aria-label": _vm.placeholder,
730
730
  disabled: _vm.disabled,
731
- readonly: _vm.readonly
731
+ readonly: _vm.readonly,
732
732
  },
733
733
  domProps: { value: _vm.inputValue },
734
734
  on: {
735
735
  keydown: [
736
- function($event) {
736
+ function ($event) {
737
737
  if (
738
738
  !$event.type.indexOf("key") &&
739
739
  _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")
@@ -743,27 +743,27 @@ var render = function() {
743
743
  $event.preventDefault()
744
744
  return _vm.addTags.apply(null, arguments)
745
745
  },
746
- function($event) {
746
+ function ($event) {
747
747
  if (
748
748
  !$event.type.indexOf("key") &&
749
749
  _vm._k($event.keyCode, "delete", [8, 46], $event.key, [
750
750
  "Backspace",
751
751
  "Delete",
752
- "Del"
752
+ "Del",
753
753
  ])
754
754
  ) {
755
755
  return null
756
756
  }
757
757
  return _vm.removeLastTag.apply(null, arguments)
758
- }
758
+ },
759
759
  ],
760
- input: function($event) {
760
+ input: function ($event) {
761
761
  if ($event.target.composing) {
762
762
  return
763
763
  }
764
764
  _vm.inputValue = $event.target.value
765
- }
766
- }
765
+ },
766
+ },
767
767
  },
768
768
  "input",
769
769
  _vm.$attrs,
@@ -781,33 +781,33 @@ var render = function() {
781
781
  title: "clear",
782
782
  type: "button",
783
783
  tabindex: "-1",
784
- disabled: _vm.disabled
784
+ disabled: _vm.disabled,
785
785
  },
786
- on: { click: _vm.cleanTags }
786
+ on: { click: _vm.cleanTags },
787
787
  },
788
788
  [
789
789
  _c("span", {
790
- staticClass: "maz-input-tags__toggle-btn__effect"
790
+ staticClass: "maz-input-tags__toggle-btn__effect",
791
791
  }),
792
792
  _c(
793
793
  "i",
794
794
  {
795
795
  staticClass:
796
- "maz-input-tags__toggle-btn__icon material-icons"
796
+ "maz-input-tags__toggle-btn__icon material-icons",
797
797
  },
798
798
  [_vm._v("\n close\n ")]
799
- )
799
+ ),
800
800
  ]
801
801
  )
802
- : _vm._e()
802
+ : _vm._e(),
803
803
  ],
804
804
  2
805
805
  ),
806
806
  _vm.loading
807
807
  ? _c("div", { staticClass: "maz-input-tags__loader" }, [
808
- _c("div", { staticClass: "maz-input__loader__progress-bar" })
808
+ _c("div", { staticClass: "maz-input__loader__progress-bar" }),
809
809
  ])
810
- : _vm._e()
810
+ : _vm._e(),
811
811
  ],
812
812
  1
813
813
  )
@@ -1081,7 +1081,7 @@ _main.install = function (Vue) {
1081
1081
  __webpack_require__.r(__webpack_exports__);
1082
1082
 
1083
1083
  // 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&
1084
- var render = function() {
1084
+ var render = function () {
1085
1085
  var _vm = this
1086
1086
  var _h = _vm.$createElement
1087
1087
  var _c = _vm._self._c || _h
@@ -1091,9 +1091,9 @@ var render = function() {
1091
1091
  staticClass: "maz-base-component maz-spinner maz-spinner-anim",
1092
1092
  class: [
1093
1093
  {
1094
- "spinner-anim__white": _vm.dark
1094
+ "spinner-anim__white": _vm.dark,
1095
1095
  },
1096
- _vm.fillColorClass
1096
+ _vm.fillColorClass,
1097
1097
  ],
1098
1098
  staticStyle: { "enable-background": "new 0 0 50 50" },
1099
1099
  attrs: {
@@ -1104,16 +1104,15 @@ var render = function() {
1104
1104
  x: "0px",
1105
1105
  y: "0px",
1106
1106
  viewBox: "0 0 50 50",
1107
- "xml:space": "preserve"
1108
- }
1107
+ "xml:space": "preserve",
1108
+ },
1109
1109
  },
1110
1110
  [
1111
1111
  _c("path", {
1112
1112
  attrs: {
1113
- d:
1114
- "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"
1115
- }
1116
- })
1113
+ 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",
1114
+ },
1115
+ }),
1117
1116
  ]
1118
1117
  )
1119
1118
  }