maz-ui 2.3.13 → 2.4.2
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.
- package/components/MazArrowIcon.d.ts +43 -0
- package/components/MazArrowIcon.js +1 -0
- package/components/MazAvatar.d.ts +149 -0
- package/components/MazAvatar.js +3 -0
- package/components/MazBackdrop.d.ts +89 -0
- package/components/MazBackdrop.js +3 -0
- package/components/MazBadge.d.ts +68 -0
- package/components/MazBadge.js +1 -0
- package/components/MazBottomSheet.d.ts +29 -0
- package/components/MazBottomSheet.js +3 -0
- package/components/MazBtn.d.ts +171 -0
- package/components/MazBtn.js +3 -0
- package/components/MazCard.d.ts +183 -0
- package/components/MazCard.js +3 -0
- package/components/MazCarousel.d.ts +16 -0
- package/components/MazCarousel.js +3 -0
- package/components/MazChart/includes.d.ts +11 -0
- package/components/MazChart.d.ts +114 -0
- package/components/MazChart.js +1 -0
- package/components/MazCheckbox.d.ts +49 -0
- package/components/MazCheckbox.js +1 -0
- package/components/MazDialog.d.ts +29 -0
- package/components/MazDialog.js +3 -0
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
- package/components/MazDialogPromise.d.ts +28 -0
- package/components/MazDialogPromise.js +3 -0
- package/components/MazDrawer.d.ts +59 -0
- package/components/MazDrawer.js +3 -0
- package/components/MazDropzone.d.ts +128 -0
- package/components/MazDropzone.js +3 -0
- package/components/MazGallery.d.ts +144 -0
- package/components/MazGallery.js +3 -0
- package/components/MazIcon.d.ts +66 -0
- package/components/MazIcon.js +3 -0
- package/components/MazInput.d.ts +276 -0
- package/components/MazInput.js +3 -0
- package/components/MazInputNumber.d.ts +67 -0
- package/components/MazInputNumber.js +3 -0
- package/components/MazInputPrice.d.ts +64 -0
- package/components/MazInputPrice.js +3 -0
- package/components/MazInputTags.d.ts +96 -0
- package/components/MazInputTags.js +3 -0
- package/components/MazLazyImg.d.ts +80 -0
- package/components/MazLazyImg.js +3 -0
- package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
- package/components/MazPhoneNumberInput/types.d.ts +21 -0
- package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
- package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
- package/components/MazPhoneNumberInput.d.ts +255 -0
- package/components/MazPhoneNumberInput.js +3 -0
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +137 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +22 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +114 -0
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +124 -0
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +38 -0
- package/components/MazPicker/MazPickerContainer.vue.d.ts +212 -0
- package/components/MazPicker/MazPickerHeader.vue.d.ts +84 -0
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +43 -0
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +62 -0
- package/components/MazPicker/MazPickerTime.vue.d.ts +129 -0
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +35 -0
- package/components/MazPicker/types.d.ts +15 -0
- package/components/MazPicker/utils.d.ts +54 -0
- package/components/MazPicker.d.ts +313 -0
- package/components/MazPicker.js +3 -0
- package/components/MazRadioButtons.d.ts +69 -0
- package/components/MazRadioButtons.js +1 -0
- package/components/MazSelect.d.ts +176 -0
- package/components/MazSelect.js +3 -0
- package/components/MazSlider/utils.d.ts +15 -0
- package/components/MazSlider.d.ts +96 -0
- package/components/MazSlider.js +3 -0
- package/components/MazSpinner.d.ts +30 -0
- package/components/MazSpinner.js +1 -0
- package/components/MazStepper.d.ts +73 -0
- package/components/MazStepper.js +1 -0
- package/components/MazSwitch.d.ts +56 -0
- package/components/MazSwitch.js +1 -0
- package/components/MazTabsBar.d.ts +49 -0
- package/components/MazTabsBar.js +3 -0
- package/components/MazTabsContent.d.ts +16 -0
- package/components/MazTabsContent.js +1 -0
- package/components/MazTabsContentItem.d.ts +14 -0
- package/components/MazTabsContentItem.js +3 -0
- package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
- package/components/MazTextarea.d.ts +125 -0
- package/components/MazTextarea.js +1 -0
- package/components/MazTransitionExpand.d.ts +4 -0
- package/components/MazTransitionExpand.js +1 -0
- package/components/index.d.ts +34 -0
- package/components/index.js +36 -0
- package/components/no_photo-a72545e4.js +1 -0
- package/components/types.d.ts +17 -0
- package/css/aos.css +1 -0
- package/css/main.css +1 -0
- package/maz-ui.d.ts +307 -0
- package/modules/index.js +3 -0
- package/modules/no_photo-a72545e4.js +1 -0
- package/package.json +145 -81
- package/tailwindcss/tailwind.config.js +65 -0
- package/tailwindcss/utils/colors.js +28 -0
- package/tailwindcss/variables/breakpoints.js +15 -0
- package/tailwindcss/variables/colors.js +44 -0
- package/tailwindcss/variables/utilities.js +20 -0
- package/tailwindcss/variables/z-indexes.js +15 -0
- package/LICENSE +0 -21
- package/README.md +0 -66
- package/bin/index.js +0 -63
- package/bin/lib/_constantes/default-colors.js +0 -69
- package/bin/lib/index.d.ts +0 -2
- package/bin/lib/index.js +0 -145
- package/bin/lib/methods/generate-root-css.js +0 -49
- package/bin/lib/methods/get-theme-settings.js +0 -58
- package/bin/lib/methods/set-css-vars.js +0 -11
- package/lib/css/base.css +0 -1
- package/lib/css/index.css +0 -1
- package/lib/css/maz-avatar.css +0 -1
- package/lib/css/maz-bottom-sheet.css +0 -1
- package/lib/css/maz-btn-group.css +0 -1
- package/lib/css/maz-btn.css +0 -0
- package/lib/css/maz-card.css +0 -1
- package/lib/css/maz-carousel.css +0 -1
- package/lib/css/maz-checkbox.css +0 -1
- package/lib/css/maz-collapse.css +0 -1
- package/lib/css/maz-dialog.css +0 -1
- package/lib/css/maz-draggable-list.css +0 -1
- package/lib/css/maz-dropdown.css +0 -1
- package/lib/css/maz-dropzone.css +0 -1
- package/lib/css/maz-flex.css +0 -0
- package/lib/css/maz-gallery.css +0 -0
- package/lib/css/maz-img.css +0 -1
- package/lib/css/maz-input-tags.css +0 -1
- package/lib/css/maz-input.css +0 -0
- package/lib/css/maz-list-item.css +0 -1
- package/lib/css/maz-list.css +0 -1
- package/lib/css/maz-loader.css +0 -0
- package/lib/css/maz-pagination.css +0 -1
- package/lib/css/maz-phone-number-input.css +0 -1
- package/lib/css/maz-picker.css +0 -1
- package/lib/css/maz-plotly.css +0 -0
- package/lib/css/maz-progress-bar.css +0 -1
- package/lib/css/maz-radio.css +0 -1
- package/lib/css/maz-read-more.css +0 -1
- package/lib/css/maz-responsive-menu.css +0 -1
- package/lib/css/maz-search.css +0 -1
- package/lib/css/maz-select.css +0 -0
- package/lib/css/maz-sidebar.css +0 -1
- package/lib/css/maz-slider.css +0 -1
- package/lib/css/maz-spinner.css +0 -0
- package/lib/css/maz-stepper.css +0 -1
- package/lib/css/maz-switch.css +0 -1
- package/lib/css/maz-tabs-bar.css +0 -1
- package/lib/css/maz-tabs-content-item.css +0 -1
- package/lib/css/maz-tabs-content.css +0 -1
- package/lib/css/maz-transition-expand.css +0 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/maz-avatar.d.ts +0 -3
- package/lib/maz-avatar.js +0 -430
- package/lib/maz-bottom-sheet.d.ts +0 -3
- package/lib/maz-bottom-sheet.js +0 -1045
- package/lib/maz-btn-group.d.ts +0 -3
- package/lib/maz-btn-group.js +0 -907
- package/lib/maz-btn.d.ts +0 -3
- package/lib/maz-btn.js +0 -764
- package/lib/maz-card.d.ts +0 -3
- package/lib/maz-card.js +0 -572
- package/lib/maz-carousel.d.ts +0 -3
- package/lib/maz-carousel.js +0 -569
- package/lib/maz-checkbox.d.ts +0 -3
- package/lib/maz-checkbox.js +0 -359
- package/lib/maz-collapse.d.ts +0 -3
- package/lib/maz-collapse.js +0 -1238
- package/lib/maz-dialog.d.ts +0 -3
- package/lib/maz-dialog.js +0 -1315
- package/lib/maz-draggable-list.d.ts +0 -3
- package/lib/maz-draggable-list.js +0 -439
- package/lib/maz-dropdown.d.ts +0 -3
- package/lib/maz-dropdown.js +0 -438
- package/lib/maz-dropzone.d.ts +0 -3
- package/lib/maz-dropzone.js +0 -664
- package/lib/maz-flex.d.ts +0 -3
- package/lib/maz-flex.js +0 -427
- package/lib/maz-gallery.d.ts +0 -3
- package/lib/maz-gallery.js +0 -672
- package/lib/maz-img.d.ts +0 -3
- package/lib/maz-img.js +0 -612
- package/lib/maz-input-tags.d.ts +0 -3
- package/lib/maz-input-tags.js +0 -1207
- package/lib/maz-input.d.ts +0 -3
- package/lib/maz-input.js +0 -1076
- package/lib/maz-list-item.d.ts +0 -3
- package/lib/maz-list-item.js +0 -304
- package/lib/maz-list.d.ts +0 -3
- package/lib/maz-list.js +0 -331
- package/lib/maz-loader.d.ts +0 -3
- package/lib/maz-loader.js +0 -304
- package/lib/maz-pagination.d.ts +0 -3
- package/lib/maz-pagination.js +0 -1414
- package/lib/maz-phone-number-input.d.ts +0 -3
- package/lib/maz-phone-number-input.js +0 -3776
- package/lib/maz-picker.d.ts +0 -3
- package/lib/maz-picker.js +0 -6474
- package/lib/maz-plotly.d.ts +0 -3
- package/lib/maz-plotly.js +0 -500
- package/lib/maz-progress-bar.d.ts +0 -3
- package/lib/maz-progress-bar.js +0 -398
- package/lib/maz-radio.d.ts +0 -3
- package/lib/maz-radio.js +0 -358
- package/lib/maz-read-more.d.ts +0 -3
- package/lib/maz-read-more.js +0 -344
- package/lib/maz-responsive-menu.d.ts +0 -3
- package/lib/maz-responsive-menu.js +0 -438
- package/lib/maz-search.d.ts +0 -3
- package/lib/maz-search.js +0 -1590
- package/lib/maz-select.d.ts +0 -3
- package/lib/maz-select.js +0 -2740
- package/lib/maz-sidebar.d.ts +0 -3
- package/lib/maz-sidebar.js +0 -815
- package/lib/maz-slider.d.ts +0 -3
- package/lib/maz-slider.js +0 -1014
- package/lib/maz-spinner.d.ts +0 -3
- package/lib/maz-spinner.js +0 -328
- package/lib/maz-stepper.d.ts +0 -3
- package/lib/maz-stepper.js +0 -1011
- package/lib/maz-switch.d.ts +0 -3
- package/lib/maz-switch.js +0 -375
- package/lib/maz-tabs-bar.d.ts +0 -3
- package/lib/maz-tabs-bar.js +0 -428
- package/lib/maz-tabs-content-item.d.ts +0 -3
- package/lib/maz-tabs-content-item.js +0 -376
- package/lib/maz-tabs-content.d.ts +0 -3
- package/lib/maz-tabs-content.js +0 -367
- package/lib/maz-transition-expand.d.ts +0 -3
- package/lib/maz-transition-expand.js +0 -328
- package/lib/maz-ui.common.d.ts +0 -1
- package/lib/maz-ui.common.js +0 -17202
package/lib/maz-pagination.js
DELETED
|
@@ -1,1414 +0,0 @@
|
|
|
1
|
-
module.exports =
|
|
2
|
-
/******/ (function(modules) { // webpackBootstrap
|
|
3
|
-
/******/ // The module cache
|
|
4
|
-
/******/ var installedModules = {};
|
|
5
|
-
/******/
|
|
6
|
-
/******/ // The require function
|
|
7
|
-
/******/ function __webpack_require__(moduleId) {
|
|
8
|
-
/******/
|
|
9
|
-
/******/ // Check if module is in cache
|
|
10
|
-
/******/ if(installedModules[moduleId]) {
|
|
11
|
-
/******/ return installedModules[moduleId].exports;
|
|
12
|
-
/******/ }
|
|
13
|
-
/******/ // Create a new module (and put it into the cache)
|
|
14
|
-
/******/ var module = installedModules[moduleId] = {
|
|
15
|
-
/******/ i: moduleId,
|
|
16
|
-
/******/ l: false,
|
|
17
|
-
/******/ exports: {}
|
|
18
|
-
/******/ };
|
|
19
|
-
/******/
|
|
20
|
-
/******/ // Execute the module function
|
|
21
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
22
|
-
/******/
|
|
23
|
-
/******/ // Flag the module as loaded
|
|
24
|
-
/******/ module.l = true;
|
|
25
|
-
/******/
|
|
26
|
-
/******/ // Return the exports of the module
|
|
27
|
-
/******/ return module.exports;
|
|
28
|
-
/******/ }
|
|
29
|
-
/******/
|
|
30
|
-
/******/
|
|
31
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
32
|
-
/******/ __webpack_require__.m = modules;
|
|
33
|
-
/******/
|
|
34
|
-
/******/ // expose the module cache
|
|
35
|
-
/******/ __webpack_require__.c = installedModules;
|
|
36
|
-
/******/
|
|
37
|
-
/******/ // define getter function for harmony exports
|
|
38
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
39
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
40
|
-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
41
|
-
/******/ }
|
|
42
|
-
/******/ };
|
|
43
|
-
/******/
|
|
44
|
-
/******/ // define __esModule on exports
|
|
45
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
46
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
47
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
50
|
-
/******/ };
|
|
51
|
-
/******/
|
|
52
|
-
/******/ // create a fake namespace object
|
|
53
|
-
/******/ // mode & 1: value is a module id, require it
|
|
54
|
-
/******/ // mode & 2: merge all properties of value into the ns
|
|
55
|
-
/******/ // mode & 4: return value when already ns object
|
|
56
|
-
/******/ // mode & 8|1: behave like require
|
|
57
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
58
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
59
|
-
/******/ if(mode & 8) return value;
|
|
60
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
61
|
-
/******/ var ns = Object.create(null);
|
|
62
|
-
/******/ __webpack_require__.r(ns);
|
|
63
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
64
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
65
|
-
/******/ return ns;
|
|
66
|
-
/******/ };
|
|
67
|
-
/******/
|
|
68
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
69
|
-
/******/ __webpack_require__.n = function(module) {
|
|
70
|
-
/******/ var getter = module && module.__esModule ?
|
|
71
|
-
/******/ function getDefault() { return module['default']; } :
|
|
72
|
-
/******/ function getModuleExports() { return module; };
|
|
73
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
74
|
-
/******/ return getter;
|
|
75
|
-
/******/ };
|
|
76
|
-
/******/
|
|
77
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
78
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
79
|
-
/******/
|
|
80
|
-
/******/ // __webpack_public_path__
|
|
81
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
82
|
-
/******/
|
|
83
|
-
/******/
|
|
84
|
-
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s = 23);
|
|
86
|
-
/******/ })
|
|
87
|
-
/************************************************************************/
|
|
88
|
-
/******/ ({
|
|
89
|
-
|
|
90
|
-
/***/ 0:
|
|
91
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
-
|
|
93
|
-
"use strict";
|
|
94
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
95
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
96
|
-
|
|
97
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
98
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
99
|
-
// be included in the final webpack user bundle.
|
|
100
|
-
|
|
101
|
-
function normalizeComponent (
|
|
102
|
-
scriptExports,
|
|
103
|
-
render,
|
|
104
|
-
staticRenderFns,
|
|
105
|
-
functionalTemplate,
|
|
106
|
-
injectStyles,
|
|
107
|
-
scopeId,
|
|
108
|
-
moduleIdentifier, /* server only */
|
|
109
|
-
shadowMode /* vue-cli only */
|
|
110
|
-
) {
|
|
111
|
-
// Vue.extend constructor export interop
|
|
112
|
-
var options = typeof scriptExports === 'function'
|
|
113
|
-
? scriptExports.options
|
|
114
|
-
: scriptExports
|
|
115
|
-
|
|
116
|
-
// render functions
|
|
117
|
-
if (render) {
|
|
118
|
-
options.render = render
|
|
119
|
-
options.staticRenderFns = staticRenderFns
|
|
120
|
-
options._compiled = true
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// functional template
|
|
124
|
-
if (functionalTemplate) {
|
|
125
|
-
options.functional = true
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// scopedId
|
|
129
|
-
if (scopeId) {
|
|
130
|
-
options._scopeId = 'data-v-' + scopeId
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
var hook
|
|
134
|
-
if (moduleIdentifier) { // server build
|
|
135
|
-
hook = function (context) {
|
|
136
|
-
// 2.3 injection
|
|
137
|
-
context =
|
|
138
|
-
context || // cached call
|
|
139
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
140
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
141
|
-
// 2.2 with runInNewContext: true
|
|
142
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
143
|
-
context = __VUE_SSR_CONTEXT__
|
|
144
|
-
}
|
|
145
|
-
// inject component styles
|
|
146
|
-
if (injectStyles) {
|
|
147
|
-
injectStyles.call(this, context)
|
|
148
|
-
}
|
|
149
|
-
// register component module identifier for async chunk inferrence
|
|
150
|
-
if (context && context._registeredComponents) {
|
|
151
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// used by ssr in case component is cached and beforeCreate
|
|
155
|
-
// never gets called
|
|
156
|
-
options._ssrRegister = hook
|
|
157
|
-
} else if (injectStyles) {
|
|
158
|
-
hook = shadowMode
|
|
159
|
-
? function () {
|
|
160
|
-
injectStyles.call(
|
|
161
|
-
this,
|
|
162
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
163
|
-
)
|
|
164
|
-
}
|
|
165
|
-
: injectStyles
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (hook) {
|
|
169
|
-
if (options.functional) {
|
|
170
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
171
|
-
// go through the normalizer
|
|
172
|
-
options._injectStyles = hook
|
|
173
|
-
// register for functional component in vue file
|
|
174
|
-
var originalRender = options.render
|
|
175
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
176
|
-
hook.call(context)
|
|
177
|
-
return originalRender(h, context)
|
|
178
|
-
}
|
|
179
|
-
} else {
|
|
180
|
-
// inject component registration as beforeCreate hook
|
|
181
|
-
var existing = options.beforeCreate
|
|
182
|
-
options.beforeCreate = existing
|
|
183
|
-
? [].concat(existing, hook)
|
|
184
|
-
: [hook]
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
return {
|
|
189
|
-
exports: scriptExports,
|
|
190
|
-
options: options
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
/***/ }),
|
|
196
|
-
|
|
197
|
-
/***/ 2:
|
|
198
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
199
|
-
|
|
200
|
-
"use strict";
|
|
201
|
-
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
202
|
-
data: function data() {
|
|
203
|
-
return {
|
|
204
|
-
uniqueId: null
|
|
205
|
-
};
|
|
206
|
-
},
|
|
207
|
-
mounted: function mounted() {
|
|
208
|
-
var id = this.id || this.$attrs.id;
|
|
209
|
-
this.uniqueId = id ? "".concat(id) : "".concat(this.$options.name, "-").concat(this._uid);
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
/***/ }),
|
|
214
|
-
|
|
215
|
-
/***/ 23:
|
|
216
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
217
|
-
|
|
218
|
-
"use strict";
|
|
219
|
-
// ESM COMPAT FLAG
|
|
220
|
-
__webpack_require__.r(__webpack_exports__);
|
|
221
|
-
|
|
222
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_main.vue?vue&type=template&id=133dee14&
|
|
223
|
-
var render = function () {
|
|
224
|
-
var _vm = this
|
|
225
|
-
var _h = _vm.$createElement
|
|
226
|
-
var _c = _vm._self._c || _h
|
|
227
|
-
return _c(
|
|
228
|
-
"div",
|
|
229
|
-
{
|
|
230
|
-
staticClass: "maz-base-component maz-pagination maz-flex maz-flex-center",
|
|
231
|
-
class: { "maz-is-dark": _vm.dark },
|
|
232
|
-
},
|
|
233
|
-
[
|
|
234
|
-
_c(
|
|
235
|
-
"div",
|
|
236
|
-
{ staticClass: "maz-pagination__container maz-flex maz-align-center" },
|
|
237
|
-
[
|
|
238
|
-
_c("PaginationArrowBtn", {
|
|
239
|
-
attrs: { dark: _vm.dark },
|
|
240
|
-
on: { click: _vm.previous },
|
|
241
|
-
}),
|
|
242
|
-
_vm._l(_vm.pages, function (ref, i) {
|
|
243
|
-
var number = ref.number
|
|
244
|
-
var isActive = ref.isActive
|
|
245
|
-
var disabled = ref.disabled
|
|
246
|
-
var divider = ref.divider
|
|
247
|
-
return [
|
|
248
|
-
divider
|
|
249
|
-
? _c("PaginationDotsDivider", {
|
|
250
|
-
key: "pagination-btn-" + number + "-" + i,
|
|
251
|
-
})
|
|
252
|
-
: _c(
|
|
253
|
-
"PaginationNumberBtn",
|
|
254
|
-
{
|
|
255
|
-
key: "pagination-btn-" + number + "-" + i,
|
|
256
|
-
attrs: { disabled: disabled, active: isActive },
|
|
257
|
-
on: {
|
|
258
|
-
click: function ($event) {
|
|
259
|
-
return _vm.emitPageValue(number)
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
[_vm._v("\n " + _vm._s(number) + "\n ")]
|
|
264
|
-
),
|
|
265
|
-
]
|
|
266
|
-
}),
|
|
267
|
-
_c("PaginationArrowBtn", {
|
|
268
|
-
attrs: { dark: _vm.dark, right: "" },
|
|
269
|
-
on: { click: _vm.next },
|
|
270
|
-
}),
|
|
271
|
-
],
|
|
272
|
-
2
|
|
273
|
-
),
|
|
274
|
-
]
|
|
275
|
-
)
|
|
276
|
-
}
|
|
277
|
-
var staticRenderFns = []
|
|
278
|
-
render._withStripped = true
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_main.vue?vue&type=template&id=133dee14&
|
|
282
|
-
|
|
283
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue?vue&type=template&id=a85da87e&
|
|
284
|
-
var PaginationArrowBtnvue_type_template_id_a85da87e_render = function () {
|
|
285
|
-
var _vm = this
|
|
286
|
-
var _h = _vm.$createElement
|
|
287
|
-
var _c = _vm._self._c || _h
|
|
288
|
-
return _c(
|
|
289
|
-
"MazBtn",
|
|
290
|
-
{
|
|
291
|
-
staticClass:
|
|
292
|
-
"pagination-arrow-btn maz-flex maz-flex-center maz-flex-fixed",
|
|
293
|
-
attrs: { size: "sm", fab: "" },
|
|
294
|
-
on: { click: _vm.handleClick },
|
|
295
|
-
},
|
|
296
|
-
[
|
|
297
|
-
_c("ArrowIcon", {
|
|
298
|
-
attrs: {
|
|
299
|
-
color: "#6F6A6A",
|
|
300
|
-
orientation: _vm.right ? "right" : "left",
|
|
301
|
-
dark: _vm.dark,
|
|
302
|
-
size: 28,
|
|
303
|
-
},
|
|
304
|
-
}),
|
|
305
|
-
],
|
|
306
|
-
1
|
|
307
|
-
)
|
|
308
|
-
}
|
|
309
|
-
var PaginationArrowBtnvue_type_template_id_a85da87e_staticRenderFns = []
|
|
310
|
-
PaginationArrowBtnvue_type_template_id_a85da87e_render._withStripped = true
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue?vue&type=template&id=a85da87e&
|
|
314
|
-
|
|
315
|
-
// EXTERNAL MODULE: ./packages/components/_subs/ArrowIcon/index.vue + 4 modules
|
|
316
|
-
var ArrowIcon = __webpack_require__(7);
|
|
317
|
-
|
|
318
|
-
// EXTERNAL MODULE: ./packages/components/MazBtn/index.js + 5 modules
|
|
319
|
-
var MazBtn = __webpack_require__(4);
|
|
320
|
-
|
|
321
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue?vue&type=script&lang=js&
|
|
322
|
-
//
|
|
323
|
-
//
|
|
324
|
-
//
|
|
325
|
-
//
|
|
326
|
-
//
|
|
327
|
-
//
|
|
328
|
-
//
|
|
329
|
-
//
|
|
330
|
-
//
|
|
331
|
-
//
|
|
332
|
-
//
|
|
333
|
-
//
|
|
334
|
-
//
|
|
335
|
-
//
|
|
336
|
-
//
|
|
337
|
-
//
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
/* harmony default export */ var PaginationArrowBtnvue_type_script_lang_js_ = ({
|
|
341
|
-
name: 'PaginationArrowBtn',
|
|
342
|
-
components: {
|
|
343
|
-
ArrowIcon: ArrowIcon["a" /* default */],
|
|
344
|
-
MazBtn: MazBtn["default"]
|
|
345
|
-
},
|
|
346
|
-
props: {
|
|
347
|
-
right: {
|
|
348
|
-
type: Boolean,
|
|
349
|
-
default: false
|
|
350
|
-
},
|
|
351
|
-
dark: {
|
|
352
|
-
type: Boolean,
|
|
353
|
-
default: false
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
methods: {
|
|
357
|
-
handleClick: function handleClick(e) {
|
|
358
|
-
this.$emit('click', e);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue?vue&type=script&lang=js&
|
|
363
|
-
/* harmony default export */ var _subs_PaginationArrowBtnvue_type_script_lang_js_ = (PaginationArrowBtnvue_type_script_lang_js_);
|
|
364
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
365
|
-
var componentNormalizer = __webpack_require__(0);
|
|
366
|
-
|
|
367
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
/* normalize component */
|
|
374
|
-
|
|
375
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
376
|
-
_subs_PaginationArrowBtnvue_type_script_lang_js_,
|
|
377
|
-
PaginationArrowBtnvue_type_template_id_a85da87e_render,
|
|
378
|
-
PaginationArrowBtnvue_type_template_id_a85da87e_staticRenderFns,
|
|
379
|
-
false,
|
|
380
|
-
null,
|
|
381
|
-
null,
|
|
382
|
-
null
|
|
383
|
-
|
|
384
|
-
)
|
|
385
|
-
|
|
386
|
-
/* hot reload */
|
|
387
|
-
if (false) { var api; }
|
|
388
|
-
component.options.__file = "packages/components/MazPagination/_subs/PaginationArrowBtn/index.vue"
|
|
389
|
-
/* harmony default export */ var PaginationArrowBtn = (component.exports);
|
|
390
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue?vue&type=template&id=4a6bf93b&
|
|
391
|
-
var PaginationNumberBtnvue_type_template_id_4a6bf93b_render = function () {
|
|
392
|
-
var _vm = this
|
|
393
|
-
var _h = _vm.$createElement
|
|
394
|
-
var _c = _vm._self._c || _h
|
|
395
|
-
return _c(
|
|
396
|
-
"MazBtn",
|
|
397
|
-
{
|
|
398
|
-
staticClass:
|
|
399
|
-
"pagination-number-btn maz-flex maz-flex-center maz-flex-fixed",
|
|
400
|
-
class: {
|
|
401
|
-
active: _vm.active,
|
|
402
|
-
},
|
|
403
|
-
attrs: { disabled: _vm.disabled, fab: "", size: "sm" },
|
|
404
|
-
on: { click: _vm.handleClick },
|
|
405
|
-
},
|
|
406
|
-
[_vm._t("default")],
|
|
407
|
-
2
|
|
408
|
-
)
|
|
409
|
-
}
|
|
410
|
-
var PaginationNumberBtnvue_type_template_id_4a6bf93b_staticRenderFns = []
|
|
411
|
-
PaginationNumberBtnvue_type_template_id_4a6bf93b_render._withStripped = true
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue?vue&type=template&id=4a6bf93b&
|
|
415
|
-
|
|
416
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue?vue&type=script&lang=js&
|
|
417
|
-
//
|
|
418
|
-
//
|
|
419
|
-
//
|
|
420
|
-
//
|
|
421
|
-
//
|
|
422
|
-
//
|
|
423
|
-
//
|
|
424
|
-
//
|
|
425
|
-
//
|
|
426
|
-
//
|
|
427
|
-
//
|
|
428
|
-
//
|
|
429
|
-
//
|
|
430
|
-
//
|
|
431
|
-
//
|
|
432
|
-
|
|
433
|
-
/* harmony default export */ var PaginationNumberBtnvue_type_script_lang_js_ = ({
|
|
434
|
-
name: 'PaginationNumberBtn',
|
|
435
|
-
components: {
|
|
436
|
-
MazBtn: MazBtn["default"]
|
|
437
|
-
},
|
|
438
|
-
props: {
|
|
439
|
-
active: {
|
|
440
|
-
type: Boolean,
|
|
441
|
-
default: false
|
|
442
|
-
},
|
|
443
|
-
disabled: {
|
|
444
|
-
type: Boolean,
|
|
445
|
-
default: false
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
methods: {
|
|
449
|
-
handleClick: function handleClick(evt) {
|
|
450
|
-
this.$emit('click', evt);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
});
|
|
454
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue?vue&type=script&lang=js&
|
|
455
|
-
/* harmony default export */ var _subs_PaginationNumberBtnvue_type_script_lang_js_ = (PaginationNumberBtnvue_type_script_lang_js_);
|
|
456
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
/* normalize component */
|
|
463
|
-
|
|
464
|
-
var PaginationNumberBtn_component = Object(componentNormalizer["a" /* default */])(
|
|
465
|
-
_subs_PaginationNumberBtnvue_type_script_lang_js_,
|
|
466
|
-
PaginationNumberBtnvue_type_template_id_4a6bf93b_render,
|
|
467
|
-
PaginationNumberBtnvue_type_template_id_4a6bf93b_staticRenderFns,
|
|
468
|
-
false,
|
|
469
|
-
null,
|
|
470
|
-
null,
|
|
471
|
-
null
|
|
472
|
-
|
|
473
|
-
)
|
|
474
|
-
|
|
475
|
-
/* hot reload */
|
|
476
|
-
if (false) { var PaginationNumberBtn_api; }
|
|
477
|
-
PaginationNumberBtn_component.options.__file = "packages/components/MazPagination/_subs/PaginationNumberBtn/index.vue"
|
|
478
|
-
/* harmony default export */ var PaginationNumberBtn = (PaginationNumberBtn_component.exports);
|
|
479
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue?vue&type=template&id=e551c7d2&
|
|
480
|
-
var PaginationDotsDividervue_type_template_id_e551c7d2_render = function () {
|
|
481
|
-
var _vm = this
|
|
482
|
-
var _h = _vm.$createElement
|
|
483
|
-
var _c = _vm._self._c || _h
|
|
484
|
-
return _c(
|
|
485
|
-
"div",
|
|
486
|
-
{
|
|
487
|
-
staticClass:
|
|
488
|
-
"pagination-dots-divider maz-flex maz-flex-center maz-flex-fixed",
|
|
489
|
-
},
|
|
490
|
-
[_vm._v("\n ...\n")]
|
|
491
|
-
)
|
|
492
|
-
}
|
|
493
|
-
var PaginationDotsDividervue_type_template_id_e551c7d2_staticRenderFns = []
|
|
494
|
-
PaginationDotsDividervue_type_template_id_e551c7d2_render._withStripped = true
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue?vue&type=template&id=e551c7d2&
|
|
498
|
-
|
|
499
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue?vue&type=script&lang=js&
|
|
500
|
-
//
|
|
501
|
-
//
|
|
502
|
-
//
|
|
503
|
-
//
|
|
504
|
-
//
|
|
505
|
-
//
|
|
506
|
-
/* harmony default export */ var PaginationDotsDividervue_type_script_lang_js_ = ({
|
|
507
|
-
name: 'PaginationDotsDivider'
|
|
508
|
-
});
|
|
509
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue?vue&type=script&lang=js&
|
|
510
|
-
/* harmony default export */ var _subs_PaginationDotsDividervue_type_script_lang_js_ = (PaginationDotsDividervue_type_script_lang_js_);
|
|
511
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
/* normalize component */
|
|
518
|
-
|
|
519
|
-
var PaginationDotsDivider_component = Object(componentNormalizer["a" /* default */])(
|
|
520
|
-
_subs_PaginationDotsDividervue_type_script_lang_js_,
|
|
521
|
-
PaginationDotsDividervue_type_template_id_e551c7d2_render,
|
|
522
|
-
PaginationDotsDividervue_type_template_id_e551c7d2_staticRenderFns,
|
|
523
|
-
false,
|
|
524
|
-
null,
|
|
525
|
-
null,
|
|
526
|
-
null
|
|
527
|
-
|
|
528
|
-
)
|
|
529
|
-
|
|
530
|
-
/* hot reload */
|
|
531
|
-
if (false) { var PaginationDotsDivider_api; }
|
|
532
|
-
PaginationDotsDivider_component.options.__file = "packages/components/MazPagination/_subs/PaginationDotsDivider/index.vue"
|
|
533
|
-
/* harmony default export */ var PaginationDotsDivider = (PaginationDotsDivider_component.exports);
|
|
534
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazPagination/_main.vue?vue&type=script&lang=js&
|
|
535
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
536
|
-
|
|
537
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
538
|
-
|
|
539
|
-
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); }
|
|
540
|
-
|
|
541
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
542
|
-
|
|
543
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
544
|
-
|
|
545
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
546
|
-
|
|
547
|
-
//
|
|
548
|
-
//
|
|
549
|
-
//
|
|
550
|
-
//
|
|
551
|
-
//
|
|
552
|
-
//
|
|
553
|
-
//
|
|
554
|
-
//
|
|
555
|
-
//
|
|
556
|
-
//
|
|
557
|
-
//
|
|
558
|
-
//
|
|
559
|
-
//
|
|
560
|
-
//
|
|
561
|
-
//
|
|
562
|
-
//
|
|
563
|
-
//
|
|
564
|
-
//
|
|
565
|
-
//
|
|
566
|
-
//
|
|
567
|
-
//
|
|
568
|
-
//
|
|
569
|
-
//
|
|
570
|
-
//
|
|
571
|
-
//
|
|
572
|
-
//
|
|
573
|
-
//
|
|
574
|
-
//
|
|
575
|
-
//
|
|
576
|
-
//
|
|
577
|
-
//
|
|
578
|
-
//
|
|
579
|
-
//
|
|
580
|
-
//
|
|
581
|
-
//
|
|
582
|
-
//
|
|
583
|
-
//
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
var divider = [{
|
|
588
|
-
divider: true
|
|
589
|
-
}];
|
|
590
|
-
/* harmony default export */ var _mainvue_type_script_lang_js_ = ({
|
|
591
|
-
name: 'MazPagination',
|
|
592
|
-
components: {
|
|
593
|
-
PaginationArrowBtn: PaginationArrowBtn,
|
|
594
|
-
PaginationNumberBtn: PaginationNumberBtn,
|
|
595
|
-
PaginationDotsDivider: PaginationDotsDivider
|
|
596
|
-
},
|
|
597
|
-
props: {
|
|
598
|
-
value: {
|
|
599
|
-
type: Number,
|
|
600
|
-
required: true
|
|
601
|
-
},
|
|
602
|
-
pageCount: {
|
|
603
|
-
type: Number,
|
|
604
|
-
required: true
|
|
605
|
-
},
|
|
606
|
-
pageRange: {
|
|
607
|
-
type: Number,
|
|
608
|
-
default: 3
|
|
609
|
-
},
|
|
610
|
-
dark: {
|
|
611
|
-
type: Boolean,
|
|
612
|
-
default: false
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
computed: {
|
|
616
|
-
currentPage: {
|
|
617
|
-
get: function get() {
|
|
618
|
-
return this.value;
|
|
619
|
-
},
|
|
620
|
-
set: function set(n) {
|
|
621
|
-
this.$emit('input', n);
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
allPages: function allPages() {
|
|
625
|
-
var pageCount = this.pageCount,
|
|
626
|
-
currentPage = this.currentPage;
|
|
627
|
-
return Array.from({
|
|
628
|
-
length: pageCount
|
|
629
|
-
}, function (x, i) {
|
|
630
|
-
var itemNumber = i + 1;
|
|
631
|
-
return {
|
|
632
|
-
number: itemNumber,
|
|
633
|
-
isActive: itemNumber === currentPage
|
|
634
|
-
};
|
|
635
|
-
});
|
|
636
|
-
},
|
|
637
|
-
halfPageRange: function halfPageRange() {
|
|
638
|
-
return Math.floor(this.pageRange / 2);
|
|
639
|
-
},
|
|
640
|
-
firstOne: function firstOne() {
|
|
641
|
-
var allPages = this.allPages,
|
|
642
|
-
halfPageRange = this.halfPageRange,
|
|
643
|
-
currentPage = this.currentPage;
|
|
644
|
-
return currentPage - halfPageRange > 1 ? allPages.slice(0, 1) : [];
|
|
645
|
-
},
|
|
646
|
-
lastOne: function lastOne() {
|
|
647
|
-
var allPages = this.allPages,
|
|
648
|
-
halfPageRange = this.halfPageRange,
|
|
649
|
-
currentPage = this.currentPage,
|
|
650
|
-
pageCount = this.pageCount;
|
|
651
|
-
return currentPage < pageCount - halfPageRange ? allPages.slice(-1) : [];
|
|
652
|
-
},
|
|
653
|
-
rangeStartAt: function rangeStartAt() {
|
|
654
|
-
var currentPage = this.currentPage,
|
|
655
|
-
halfPageRange = this.halfPageRange,
|
|
656
|
-
pageRange = this.pageRange,
|
|
657
|
-
pageCount = this.pageCount;
|
|
658
|
-
return currentPage - halfPageRange - 1 < 0 ? 0 : currentPage - halfPageRange - 1 > pageCount - pageRange ? pageCount - pageRange : currentPage - halfPageRange - 1;
|
|
659
|
-
},
|
|
660
|
-
rangeEndAt: function rangeEndAt() {
|
|
661
|
-
var currentPage = this.currentPage,
|
|
662
|
-
halfPageRange = this.halfPageRange,
|
|
663
|
-
pageCount = this.pageCount,
|
|
664
|
-
pageRange = this.pageRange;
|
|
665
|
-
return currentPage + halfPageRange > pageCount ? pageCount : currentPage + halfPageRange < pageRange ? pageRange : currentPage + halfPageRange;
|
|
666
|
-
},
|
|
667
|
-
range: function range() {
|
|
668
|
-
var allPages = this.allPages,
|
|
669
|
-
rangeStartAt = this.rangeStartAt,
|
|
670
|
-
rangeEndAt = this.rangeEndAt;
|
|
671
|
-
return allPages.slice(rangeStartAt, rangeEndAt);
|
|
672
|
-
},
|
|
673
|
-
firstDivider: function firstDivider() {
|
|
674
|
-
var currentPage = this.currentPage,
|
|
675
|
-
halfPageRange = this.halfPageRange;
|
|
676
|
-
return currentPage - halfPageRange > 2 ? divider : [];
|
|
677
|
-
},
|
|
678
|
-
lastDivider: function lastDivider() {
|
|
679
|
-
var currentPage = this.currentPage,
|
|
680
|
-
halfPageRange = this.halfPageRange,
|
|
681
|
-
pageCount = this.pageCount;
|
|
682
|
-
return currentPage < pageCount - halfPageRange - 1 ? divider : [];
|
|
683
|
-
},
|
|
684
|
-
pages: function pages() {
|
|
685
|
-
var firstOne = this.firstOne,
|
|
686
|
-
lastOne = this.lastOne,
|
|
687
|
-
range = this.range,
|
|
688
|
-
firstDivider = this.firstDivider,
|
|
689
|
-
lastDivider = this.lastDivider;
|
|
690
|
-
return [].concat(_toConsumableArray(firstOne), _toConsumableArray(firstDivider), _toConsumableArray(range), _toConsumableArray(lastDivider), _toConsumableArray(lastOne));
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
methods: {
|
|
694
|
-
emitPageValue: function emitPageValue(v) {
|
|
695
|
-
this.$emit('input', v);
|
|
696
|
-
this.$emit('page', v);
|
|
697
|
-
},
|
|
698
|
-
previous: function previous() {
|
|
699
|
-
if (this.currentPage > 1) {
|
|
700
|
-
this.emitPageValue(this.currentPage - 1);
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
next: function next() {
|
|
704
|
-
if (this.currentPage < this.pageCount) {
|
|
705
|
-
this.emitPageValue(this.currentPage + 1);
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
});
|
|
710
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_main.vue?vue&type=script&lang=js&
|
|
711
|
-
/* harmony default export */ var MazPagination_mainvue_type_script_lang_js_ = (_mainvue_type_script_lang_js_);
|
|
712
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/_main.vue
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
/* normalize component */
|
|
719
|
-
|
|
720
|
-
var _main_component = Object(componentNormalizer["a" /* default */])(
|
|
721
|
-
MazPagination_mainvue_type_script_lang_js_,
|
|
722
|
-
render,
|
|
723
|
-
staticRenderFns,
|
|
724
|
-
false,
|
|
725
|
-
null,
|
|
726
|
-
null,
|
|
727
|
-
null
|
|
728
|
-
|
|
729
|
-
)
|
|
730
|
-
|
|
731
|
-
/* hot reload */
|
|
732
|
-
if (false) { var _main_api; }
|
|
733
|
-
_main_component.options.__file = "packages/components/MazPagination/_main.vue"
|
|
734
|
-
/* harmony default export */ var _main = (_main_component.exports);
|
|
735
|
-
// CONCATENATED MODULE: ./packages/components/MazPagination/index.js
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
_main.install = function (Vue) {
|
|
739
|
-
Vue.component(_main.name, _main);
|
|
740
|
-
};
|
|
741
|
-
|
|
742
|
-
/* harmony default export */ var MazPagination = __webpack_exports__["default"] = (_main);
|
|
743
|
-
|
|
744
|
-
/***/ }),
|
|
745
|
-
|
|
746
|
-
/***/ 4:
|
|
747
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
748
|
-
|
|
749
|
-
"use strict";
|
|
750
|
-
// ESM COMPAT FLAG
|
|
751
|
-
__webpack_require__.r(__webpack_exports__);
|
|
752
|
-
|
|
753
|
-
// 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&
|
|
754
|
-
var render = function () {
|
|
755
|
-
var _vm = this
|
|
756
|
-
var _h = _vm.$createElement
|
|
757
|
-
var _c = _vm._self._c || _h
|
|
758
|
-
return _c(
|
|
759
|
-
_vm.componentType,
|
|
760
|
-
_vm._b(
|
|
761
|
-
{
|
|
762
|
-
tag: "component",
|
|
763
|
-
staticClass: "maz-base-component maz-btn maz-inline-flex",
|
|
764
|
-
class: [
|
|
765
|
-
_vm.classes,
|
|
766
|
-
{
|
|
767
|
-
"maz-text-hidden": _vm.loading,
|
|
768
|
-
},
|
|
769
|
-
],
|
|
770
|
-
attrs: {
|
|
771
|
-
id: _vm.uniqueId,
|
|
772
|
-
type: _vm.isLink ? null : _vm.type,
|
|
773
|
-
disabled: _vm.isLink ? null : _vm.isDisabled,
|
|
774
|
-
},
|
|
775
|
-
on: {
|
|
776
|
-
click: function ($event) {
|
|
777
|
-
return _vm.handleClick($event)
|
|
778
|
-
},
|
|
779
|
-
mouseenter: function ($event) {
|
|
780
|
-
return _vm.emitMouseEnter($event)
|
|
781
|
-
},
|
|
782
|
-
mouseleave: function ($event) {
|
|
783
|
-
return _vm.emitMouseLeave($event)
|
|
784
|
-
},
|
|
785
|
-
focus: function ($event) {
|
|
786
|
-
return _vm.emitFocus($event)
|
|
787
|
-
},
|
|
788
|
-
blur: function ($event) {
|
|
789
|
-
return _vm.emitBlur($event)
|
|
790
|
-
},
|
|
791
|
-
},
|
|
792
|
-
},
|
|
793
|
-
"component",
|
|
794
|
-
_vm.$attrs,
|
|
795
|
-
false
|
|
796
|
-
),
|
|
797
|
-
[
|
|
798
|
-
_vm.hasLeftIcon() || _vm.hasMainIcon()
|
|
799
|
-
? _c(
|
|
800
|
-
"div",
|
|
801
|
-
{
|
|
802
|
-
staticClass: "maz-flex maz-flex-center maz-btn__icon-left",
|
|
803
|
-
class: {
|
|
804
|
-
"maz-mr-2": !_vm.fab && _vm.hasSlotDefault(),
|
|
805
|
-
},
|
|
806
|
-
},
|
|
807
|
-
[
|
|
808
|
-
_vm._t("icon-left" || false, function () {
|
|
809
|
-
return [
|
|
810
|
-
_c("i", { staticClass: "material-icons" }, [
|
|
811
|
-
_vm._v(_vm._s(_vm.leftIconName || _vm.iconName)),
|
|
812
|
-
]),
|
|
813
|
-
]
|
|
814
|
-
}),
|
|
815
|
-
],
|
|
816
|
-
2
|
|
817
|
-
)
|
|
818
|
-
: _vm._e(),
|
|
819
|
-
_c(
|
|
820
|
-
"span",
|
|
821
|
-
{
|
|
822
|
-
staticClass:
|
|
823
|
-
"maz-flex maz-align-center maz-h-100 maz-overflow-hidden",
|
|
824
|
-
class: [_vm.textClasses, { "maz-flex-1": _vm.hasSlotDefault() }],
|
|
825
|
-
},
|
|
826
|
-
[_vm._t("default")],
|
|
827
|
-
2
|
|
828
|
-
),
|
|
829
|
-
_vm.hasRightIcon()
|
|
830
|
-
? _c(
|
|
831
|
-
"div",
|
|
832
|
-
{
|
|
833
|
-
staticClass: "maz-flex maz-flex-center maz-btn__icon-right",
|
|
834
|
-
class: {
|
|
835
|
-
"maz-ml-2": !_vm.fab && _vm.hasSlotDefault(),
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
[
|
|
839
|
-
_vm._t("icon-right", function () {
|
|
840
|
-
return [
|
|
841
|
-
_c("i", { staticClass: "material-icons" }, [
|
|
842
|
-
_vm._v(_vm._s(_vm.rightIconName)),
|
|
843
|
-
]),
|
|
844
|
-
]
|
|
845
|
-
}),
|
|
846
|
-
],
|
|
847
|
-
2
|
|
848
|
-
)
|
|
849
|
-
: _vm._e(),
|
|
850
|
-
_vm.loading
|
|
851
|
-
? _c(
|
|
852
|
-
"div",
|
|
853
|
-
{ staticClass: "maz-btn__spinner maz-flex maz-flex-center" },
|
|
854
|
-
[_c("MazSpinner", { attrs: { size: 25, color: _vm.color } })],
|
|
855
|
-
1
|
|
856
|
-
)
|
|
857
|
-
: _vm._e(),
|
|
858
|
-
]
|
|
859
|
-
)
|
|
860
|
-
}
|
|
861
|
-
var staticRenderFns = []
|
|
862
|
-
render._withStripped = true
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
// CONCATENATED MODULE: ./packages/components/MazBtn/_main.vue?vue&type=template&id=247f3a44&
|
|
866
|
-
|
|
867
|
-
// EXTERNAL MODULE: ./packages/components/MazSpinner/index.js + 5 modules
|
|
868
|
-
var MazSpinner = __webpack_require__(5);
|
|
869
|
-
|
|
870
|
-
// EXTERNAL MODULE: ./packages/mixins/uniqueId.js
|
|
871
|
-
var uniqueId = __webpack_require__(2);
|
|
872
|
-
|
|
873
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazBtn/_main.vue?vue&type=script&lang=js&
|
|
874
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
875
|
-
|
|
876
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
877
|
-
|
|
878
|
-
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); }
|
|
879
|
-
|
|
880
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
881
|
-
|
|
882
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
883
|
-
|
|
884
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
885
|
-
|
|
886
|
-
//
|
|
887
|
-
//
|
|
888
|
-
//
|
|
889
|
-
//
|
|
890
|
-
//
|
|
891
|
-
//
|
|
892
|
-
//
|
|
893
|
-
//
|
|
894
|
-
//
|
|
895
|
-
//
|
|
896
|
-
//
|
|
897
|
-
//
|
|
898
|
-
//
|
|
899
|
-
//
|
|
900
|
-
//
|
|
901
|
-
//
|
|
902
|
-
//
|
|
903
|
-
//
|
|
904
|
-
//
|
|
905
|
-
//
|
|
906
|
-
//
|
|
907
|
-
//
|
|
908
|
-
//
|
|
909
|
-
//
|
|
910
|
-
//
|
|
911
|
-
//
|
|
912
|
-
//
|
|
913
|
-
//
|
|
914
|
-
//
|
|
915
|
-
//
|
|
916
|
-
//
|
|
917
|
-
//
|
|
918
|
-
//
|
|
919
|
-
//
|
|
920
|
-
//
|
|
921
|
-
//
|
|
922
|
-
//
|
|
923
|
-
//
|
|
924
|
-
//
|
|
925
|
-
//
|
|
926
|
-
//
|
|
927
|
-
//
|
|
928
|
-
//
|
|
929
|
-
//
|
|
930
|
-
//
|
|
931
|
-
//
|
|
932
|
-
//
|
|
933
|
-
//
|
|
934
|
-
//
|
|
935
|
-
//
|
|
936
|
-
//
|
|
937
|
-
//
|
|
938
|
-
//
|
|
939
|
-
//
|
|
940
|
-
//
|
|
941
|
-
//
|
|
942
|
-
//
|
|
943
|
-
//
|
|
944
|
-
//
|
|
945
|
-
//
|
|
946
|
-
//
|
|
947
|
-
//
|
|
948
|
-
//
|
|
949
|
-
//
|
|
950
|
-
//
|
|
951
|
-
//
|
|
952
|
-
//
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* > Simple button component
|
|
957
|
-
*/
|
|
958
|
-
|
|
959
|
-
/* harmony default export */ var _mainvue_type_script_lang_js_ = ({
|
|
960
|
-
name: 'MazBtn',
|
|
961
|
-
components: {
|
|
962
|
-
MazSpinner: MazSpinner["default"]
|
|
963
|
-
},
|
|
964
|
-
mixins: [uniqueId["a" /* default */]],
|
|
965
|
-
inheritAttrs: false,
|
|
966
|
-
props: {
|
|
967
|
-
// is the id of the button
|
|
968
|
-
id: {
|
|
969
|
-
type: String,
|
|
970
|
-
default: null
|
|
971
|
-
},
|
|
972
|
-
// is color type (`primary` / `secondary` / `third` / `success` / `danger` / `grey` / `info` / `warning` / `light` / `dark` / `default` / `white` / `black`)
|
|
973
|
-
color: {
|
|
974
|
-
type: String,
|
|
975
|
-
default: 'primary'
|
|
976
|
-
},
|
|
977
|
-
// is the button type (button, submit or something else)
|
|
978
|
-
type: {
|
|
979
|
-
type: String,
|
|
980
|
-
default: 'button'
|
|
981
|
-
},
|
|
982
|
-
// button size (`xl`, `lg` / `md` / `sm` / `mini`)
|
|
983
|
-
size: {
|
|
984
|
-
type: String,
|
|
985
|
-
default: 'md'
|
|
986
|
-
},
|
|
987
|
-
// is a `boolean` to show the loader & disable it
|
|
988
|
-
loading: {
|
|
989
|
-
type: Boolean,
|
|
990
|
-
default: false
|
|
991
|
-
},
|
|
992
|
-
// is a `boolean` to disable the button
|
|
993
|
-
disabled: {
|
|
994
|
-
type: Boolean,
|
|
995
|
-
default: false
|
|
996
|
-
},
|
|
997
|
-
// apply the outline style
|
|
998
|
-
outline: {
|
|
999
|
-
type: Boolean,
|
|
1000
|
-
default: false
|
|
1001
|
-
},
|
|
1002
|
-
// apply the rounded style
|
|
1003
|
-
rounded: {
|
|
1004
|
-
type: Boolean,
|
|
1005
|
-
default: false
|
|
1006
|
-
},
|
|
1007
|
-
// apply the fab style
|
|
1008
|
-
fab: {
|
|
1009
|
-
type: Boolean,
|
|
1010
|
-
default: false
|
|
1011
|
-
},
|
|
1012
|
-
// apply the focus style
|
|
1013
|
-
active: {
|
|
1014
|
-
type: Boolean,
|
|
1015
|
-
default: false
|
|
1016
|
-
},
|
|
1017
|
-
// take 100% of the width
|
|
1018
|
-
block: {
|
|
1019
|
-
type: Boolean,
|
|
1020
|
-
default: false
|
|
1021
|
-
},
|
|
1022
|
-
// remove shadow/elevation
|
|
1023
|
-
noShadow: {
|
|
1024
|
-
type: Boolean,
|
|
1025
|
-
default: false
|
|
1026
|
-
},
|
|
1027
|
-
// should be a [material icon](https://material.io/resources/icons/) name (usefull with fab buttons)
|
|
1028
|
-
iconName: {
|
|
1029
|
-
type: String,
|
|
1030
|
-
default: null
|
|
1031
|
-
},
|
|
1032
|
-
// should be a [material icon](https://material.io/resources/icons/) name
|
|
1033
|
-
leftIconName: {
|
|
1034
|
-
type: String,
|
|
1035
|
-
default: null
|
|
1036
|
-
},
|
|
1037
|
-
// should be a [material icon](https://material.io/resources/icons/) name
|
|
1038
|
-
rightIconName: {
|
|
1039
|
-
type: String,
|
|
1040
|
-
default: null
|
|
1041
|
-
},
|
|
1042
|
-
// align text to left (for block button)
|
|
1043
|
-
justifyStart: {
|
|
1044
|
-
type: Boolean,
|
|
1045
|
-
default: false
|
|
1046
|
-
},
|
|
1047
|
-
// align text to right (for block button)
|
|
1048
|
-
justifyEnd: {
|
|
1049
|
-
type: Boolean,
|
|
1050
|
-
default: false
|
|
1051
|
-
}
|
|
1052
|
-
},
|
|
1053
|
-
computed: {
|
|
1054
|
-
componentType: function componentType() {
|
|
1055
|
-
var _this$$attrs = this.$attrs,
|
|
1056
|
-
href = _this$$attrs.href,
|
|
1057
|
-
to = _this$$attrs.to;
|
|
1058
|
-
if (href) return 'a';else if (to) return 'router-link';
|
|
1059
|
-
return 'button';
|
|
1060
|
-
},
|
|
1061
|
-
isLink: function isLink() {
|
|
1062
|
-
return this.componentType === 'a';
|
|
1063
|
-
},
|
|
1064
|
-
isDisabled: function isDisabled() {
|
|
1065
|
-
var disabled = this.disabled,
|
|
1066
|
-
loading = this.loading;
|
|
1067
|
-
return loading || disabled;
|
|
1068
|
-
},
|
|
1069
|
-
classes: function classes() {
|
|
1070
|
-
var color = this.color,
|
|
1071
|
-
size = this.size,
|
|
1072
|
-
outline = this.outline,
|
|
1073
|
-
rounded = this.rounded,
|
|
1074
|
-
fab = this.fab,
|
|
1075
|
-
active = this.active,
|
|
1076
|
-
block = this.block,
|
|
1077
|
-
noShadow = this.noShadow,
|
|
1078
|
-
hasRightIcon = this.hasRightIcon,
|
|
1079
|
-
hasLeftIcon = this.hasLeftIcon,
|
|
1080
|
-
hasIcon = this.hasIcon,
|
|
1081
|
-
hasSlotDefault = this.hasSlotDefault;
|
|
1082
|
-
return [].concat(_toConsumableArray(color ? ["maz-btn--".concat(color)] : [null]), _toConsumableArray(size ? ["maz-btn--".concat(size)] : [null]), _toConsumableArray(outline ? ['maz-btn--outline'] : [null]), _toConsumableArray(rounded ? ['maz-btn--rounded'] : [null]), _toConsumableArray(block ? ['maz-btn--block'] : [null]), _toConsumableArray(fab ? ['maz-btn--fab'] : [null]), _toConsumableArray(active ? ['maz-active'] : [null]), _toConsumableArray(noShadow ? ['maz-no-shadow'] : [null]), _toConsumableArray(hasLeftIcon() ? ['maz-btn--icon--left'] : [null]), _toConsumableArray(hasRightIcon() ? ['maz-btn--icon--right'] : [null]), _toConsumableArray(hasIcon() ? ['maz-btn--icon'] : [null]), _toConsumableArray(!hasSlotDefault() ? ['maz-btn--no-text'] : [null]));
|
|
1083
|
-
},
|
|
1084
|
-
textClasses: function textClasses() {
|
|
1085
|
-
var justifyStart = this.justifyStart,
|
|
1086
|
-
justifyEnd = this.justifyEnd;
|
|
1087
|
-
return [].concat(_toConsumableArray(justifyStart ? ['maz-justify-start'] : [null]), _toConsumableArray(justifyEnd ? ['maz-justify-end'] : [null]), _toConsumableArray(!justifyStart && !justifyEnd ? ['maz-justify-center'] : [null]));
|
|
1088
|
-
}
|
|
1089
|
-
},
|
|
1090
|
-
methods: {
|
|
1091
|
-
hasSlotDefault: function hasSlotDefault() {
|
|
1092
|
-
return this.$slots['default'];
|
|
1093
|
-
},
|
|
1094
|
-
hasIcon: function hasIcon() {
|
|
1095
|
-
return this.hasLeftIcon() || this.hasRightIcon() || this.hasMainIcon();
|
|
1096
|
-
},
|
|
1097
|
-
hasMainIcon: function hasMainIcon() {
|
|
1098
|
-
return this.iconName || this.$slots['icon'];
|
|
1099
|
-
},
|
|
1100
|
-
hasLeftIcon: function hasLeftIcon() {
|
|
1101
|
-
return this.leftIconName || this.$slots['icon-left'];
|
|
1102
|
-
},
|
|
1103
|
-
hasRightIcon: function hasRightIcon() {
|
|
1104
|
-
return this.rightIconName || this.$slots['icon-right'];
|
|
1105
|
-
},
|
|
1106
|
-
handleClick: function handleClick(e) {
|
|
1107
|
-
// return click event
|
|
1108
|
-
this.$emit('click', e);
|
|
1109
|
-
},
|
|
1110
|
-
emitMouseEnter: function emitMouseEnter(e) {
|
|
1111
|
-
// return mouseenter event
|
|
1112
|
-
this.$emit('mouseenter', e);
|
|
1113
|
-
},
|
|
1114
|
-
emitMouseLeave: function emitMouseLeave(e) {
|
|
1115
|
-
// return mouseleave event
|
|
1116
|
-
this.$emit('mouseleave', e);
|
|
1117
|
-
},
|
|
1118
|
-
emitFocus: function emitFocus(e) {
|
|
1119
|
-
// return focus event
|
|
1120
|
-
this.$emit('focus', e);
|
|
1121
|
-
},
|
|
1122
|
-
emitBlur: function emitBlur(e) {
|
|
1123
|
-
// return blur event
|
|
1124
|
-
this.$emit('blur', e);
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
});
|
|
1128
|
-
// CONCATENATED MODULE: ./packages/components/MazBtn/_main.vue?vue&type=script&lang=js&
|
|
1129
|
-
/* harmony default export */ var MazBtn_mainvue_type_script_lang_js_ = (_mainvue_type_script_lang_js_);
|
|
1130
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1131
|
-
var componentNormalizer = __webpack_require__(0);
|
|
1132
|
-
|
|
1133
|
-
// CONCATENATED MODULE: ./packages/components/MazBtn/_main.vue
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
/* normalize component */
|
|
1140
|
-
|
|
1141
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
1142
|
-
MazBtn_mainvue_type_script_lang_js_,
|
|
1143
|
-
render,
|
|
1144
|
-
staticRenderFns,
|
|
1145
|
-
false,
|
|
1146
|
-
null,
|
|
1147
|
-
null,
|
|
1148
|
-
null
|
|
1149
|
-
|
|
1150
|
-
)
|
|
1151
|
-
|
|
1152
|
-
/* hot reload */
|
|
1153
|
-
if (false) { var api; }
|
|
1154
|
-
component.options.__file = "packages/components/MazBtn/_main.vue"
|
|
1155
|
-
/* harmony default export */ var _main = (component.exports);
|
|
1156
|
-
// CONCATENATED MODULE: ./packages/components/MazBtn/index.js
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
_main.install = function (Vue) {
|
|
1160
|
-
Vue.component(_main.name, _main);
|
|
1161
|
-
};
|
|
1162
|
-
|
|
1163
|
-
/* harmony default export */ var MazBtn = __webpack_exports__["default"] = (_main);
|
|
1164
|
-
|
|
1165
|
-
/***/ }),
|
|
1166
|
-
|
|
1167
|
-
/***/ 5:
|
|
1168
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1169
|
-
|
|
1170
|
-
"use strict";
|
|
1171
|
-
// ESM COMPAT FLAG
|
|
1172
|
-
__webpack_require__.r(__webpack_exports__);
|
|
1173
|
-
|
|
1174
|
-
// 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&
|
|
1175
|
-
var render = function () {
|
|
1176
|
-
var _vm = this
|
|
1177
|
-
var _h = _vm.$createElement
|
|
1178
|
-
var _c = _vm._self._c || _h
|
|
1179
|
-
return _c(
|
|
1180
|
-
"svg",
|
|
1181
|
-
{
|
|
1182
|
-
staticClass: "maz-base-component maz-spinner maz-spinner-anim",
|
|
1183
|
-
class: [
|
|
1184
|
-
{
|
|
1185
|
-
"spinner-anim__white": _vm.dark,
|
|
1186
|
-
},
|
|
1187
|
-
_vm.fillColorClass,
|
|
1188
|
-
],
|
|
1189
|
-
staticStyle: { "enable-background": "new 0 0 50 50" },
|
|
1190
|
-
attrs: {
|
|
1191
|
-
width: _vm.size + "px",
|
|
1192
|
-
height: _vm.size + "px",
|
|
1193
|
-
version: "1.1",
|
|
1194
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1195
|
-
x: "0px",
|
|
1196
|
-
y: "0px",
|
|
1197
|
-
viewBox: "0 0 50 50",
|
|
1198
|
-
"xml:space": "preserve",
|
|
1199
|
-
},
|
|
1200
|
-
},
|
|
1201
|
-
[
|
|
1202
|
-
_c("path", {
|
|
1203
|
-
attrs: {
|
|
1204
|
-
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",
|
|
1205
|
-
},
|
|
1206
|
-
}),
|
|
1207
|
-
]
|
|
1208
|
-
)
|
|
1209
|
-
}
|
|
1210
|
-
var staticRenderFns = []
|
|
1211
|
-
render._withStripped = true
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
// CONCATENATED MODULE: ./packages/components/MazSpinner/_main.vue?vue&type=template&id=67a8ca41&
|
|
1215
|
-
|
|
1216
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/MazSpinner/_main.vue?vue&type=script&lang=js&
|
|
1217
|
-
//
|
|
1218
|
-
//
|
|
1219
|
-
//
|
|
1220
|
-
//
|
|
1221
|
-
//
|
|
1222
|
-
//
|
|
1223
|
-
//
|
|
1224
|
-
//
|
|
1225
|
-
//
|
|
1226
|
-
//
|
|
1227
|
-
//
|
|
1228
|
-
//
|
|
1229
|
-
//
|
|
1230
|
-
//
|
|
1231
|
-
//
|
|
1232
|
-
//
|
|
1233
|
-
//
|
|
1234
|
-
//
|
|
1235
|
-
//
|
|
1236
|
-
//
|
|
1237
|
-
/* harmony default export */ var _mainvue_type_script_lang_js_ = ({
|
|
1238
|
-
name: 'MazSpinner',
|
|
1239
|
-
props: {
|
|
1240
|
-
size: {
|
|
1241
|
-
type: Number,
|
|
1242
|
-
default: 40
|
|
1243
|
-
},
|
|
1244
|
-
dark: {
|
|
1245
|
-
type: Boolean,
|
|
1246
|
-
default: false
|
|
1247
|
-
},
|
|
1248
|
-
color: {
|
|
1249
|
-
type: String,
|
|
1250
|
-
default: 'primary'
|
|
1251
|
-
}
|
|
1252
|
-
},
|
|
1253
|
-
computed: {
|
|
1254
|
-
fillColorClass: function fillColorClass() {
|
|
1255
|
-
return "maz-fill-".concat(this.color);
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
});
|
|
1259
|
-
// CONCATENATED MODULE: ./packages/components/MazSpinner/_main.vue?vue&type=script&lang=js&
|
|
1260
|
-
/* harmony default export */ var MazSpinner_mainvue_type_script_lang_js_ = (_mainvue_type_script_lang_js_);
|
|
1261
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1262
|
-
var componentNormalizer = __webpack_require__(0);
|
|
1263
|
-
|
|
1264
|
-
// CONCATENATED MODULE: ./packages/components/MazSpinner/_main.vue
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
/* normalize component */
|
|
1271
|
-
|
|
1272
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
1273
|
-
MazSpinner_mainvue_type_script_lang_js_,
|
|
1274
|
-
render,
|
|
1275
|
-
staticRenderFns,
|
|
1276
|
-
false,
|
|
1277
|
-
null,
|
|
1278
|
-
null,
|
|
1279
|
-
null
|
|
1280
|
-
|
|
1281
|
-
)
|
|
1282
|
-
|
|
1283
|
-
/* hot reload */
|
|
1284
|
-
if (false) { var api; }
|
|
1285
|
-
component.options.__file = "packages/components/MazSpinner/_main.vue"
|
|
1286
|
-
/* harmony default export */ var _main = (component.exports);
|
|
1287
|
-
// CONCATENATED MODULE: ./packages/components/MazSpinner/index.js
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
_main.install = function (Vue) {
|
|
1291
|
-
Vue.component(_main.name, _main);
|
|
1292
|
-
};
|
|
1293
|
-
|
|
1294
|
-
/* harmony default export */ var MazSpinner = __webpack_exports__["default"] = (_main);
|
|
1295
|
-
|
|
1296
|
-
/***/ }),
|
|
1297
|
-
|
|
1298
|
-
/***/ 7:
|
|
1299
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1300
|
-
|
|
1301
|
-
"use strict";
|
|
1302
|
-
|
|
1303
|
-
// 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&
|
|
1304
|
-
var render = function () {
|
|
1305
|
-
var _vm = this
|
|
1306
|
-
var _h = _vm.$createElement
|
|
1307
|
-
var _c = _vm._self._c || _h
|
|
1308
|
-
return _c(
|
|
1309
|
-
"svg",
|
|
1310
|
-
{
|
|
1311
|
-
staticClass: "maz-arrow-icon",
|
|
1312
|
-
class: [{ "is-white": _vm.dark }, _vm.orientation],
|
|
1313
|
-
attrs: {
|
|
1314
|
-
mlns: "http://www.w3.org/2000/svg",
|
|
1315
|
-
width: _vm.size,
|
|
1316
|
-
height: _vm.size,
|
|
1317
|
-
viewBox: "0 0 24 24",
|
|
1318
|
-
},
|
|
1319
|
-
},
|
|
1320
|
-
[
|
|
1321
|
-
_c("path", {
|
|
1322
|
-
staticClass: "arrow",
|
|
1323
|
-
class: [_vm.color],
|
|
1324
|
-
attrs: {
|
|
1325
|
-
fill: _vm.color,
|
|
1326
|
-
d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",
|
|
1327
|
-
},
|
|
1328
|
-
}),
|
|
1329
|
-
_c("path", { attrs: { fill: "none", d: "M0 0h24v24H0V0z" } }),
|
|
1330
|
-
]
|
|
1331
|
-
)
|
|
1332
|
-
}
|
|
1333
|
-
var staticRenderFns = []
|
|
1334
|
-
render._withStripped = true
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
// CONCATENATED MODULE: ./packages/components/_subs/ArrowIcon/index.vue?vue&type=template&id=1c91afda&
|
|
1338
|
-
|
|
1339
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/_subs/ArrowIcon/index.vue?vue&type=script&lang=js&
|
|
1340
|
-
//
|
|
1341
|
-
//
|
|
1342
|
-
//
|
|
1343
|
-
//
|
|
1344
|
-
//
|
|
1345
|
-
//
|
|
1346
|
-
//
|
|
1347
|
-
//
|
|
1348
|
-
//
|
|
1349
|
-
//
|
|
1350
|
-
//
|
|
1351
|
-
//
|
|
1352
|
-
//
|
|
1353
|
-
//
|
|
1354
|
-
//
|
|
1355
|
-
//
|
|
1356
|
-
//
|
|
1357
|
-
//
|
|
1358
|
-
//
|
|
1359
|
-
//
|
|
1360
|
-
//
|
|
1361
|
-
//
|
|
1362
|
-
/* harmony default export */ var ArrowIconvue_type_script_lang_js_ = ({
|
|
1363
|
-
name: 'ArrowIcon',
|
|
1364
|
-
props: {
|
|
1365
|
-
dark: {
|
|
1366
|
-
type: Boolean,
|
|
1367
|
-
default: false
|
|
1368
|
-
},
|
|
1369
|
-
color: {
|
|
1370
|
-
type: String,
|
|
1371
|
-
default: null
|
|
1372
|
-
},
|
|
1373
|
-
size: {
|
|
1374
|
-
type: Number,
|
|
1375
|
-
default: 24
|
|
1376
|
-
},
|
|
1377
|
-
orientation: {
|
|
1378
|
-
type: String,
|
|
1379
|
-
default: 'bottom'
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
});
|
|
1383
|
-
// CONCATENATED MODULE: ./packages/components/_subs/ArrowIcon/index.vue?vue&type=script&lang=js&
|
|
1384
|
-
/* harmony default export */ var _subs_ArrowIconvue_type_script_lang_js_ = (ArrowIconvue_type_script_lang_js_);
|
|
1385
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1386
|
-
var componentNormalizer = __webpack_require__(0);
|
|
1387
|
-
|
|
1388
|
-
// CONCATENATED MODULE: ./packages/components/_subs/ArrowIcon/index.vue
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
/* normalize component */
|
|
1395
|
-
|
|
1396
|
-
var component = Object(componentNormalizer["a" /* default */])(
|
|
1397
|
-
_subs_ArrowIconvue_type_script_lang_js_,
|
|
1398
|
-
render,
|
|
1399
|
-
staticRenderFns,
|
|
1400
|
-
false,
|
|
1401
|
-
null,
|
|
1402
|
-
null,
|
|
1403
|
-
null
|
|
1404
|
-
|
|
1405
|
-
)
|
|
1406
|
-
|
|
1407
|
-
/* hot reload */
|
|
1408
|
-
if (false) { var api; }
|
|
1409
|
-
component.options.__file = "packages/components/_subs/ArrowIcon/index.vue"
|
|
1410
|
-
/* harmony default export */ var ArrowIcon = __webpack_exports__["a"] = (component.exports);
|
|
1411
|
-
|
|
1412
|
-
/***/ })
|
|
1413
|
-
|
|
1414
|
-
/******/ });
|