maz-ui 3.8.0 → 3.10.0
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/MazAvatar.mjs +23 -185
- package/components/MazAvatar.umd.js +2 -2
- package/components/MazBackdrop.mjs +1 -1
- package/components/MazBackdrop.umd.js +1 -1
- package/components/MazBadge.mjs +3 -3
- package/components/MazBadge.umd.js +2 -2
- package/components/MazBottomSheet.mjs +60 -33
- package/components/MazBottomSheet.umd.js +2 -2
- package/components/MazBtn.mjs +25 -20
- package/components/MazBtn.umd.js +2 -2
- package/components/MazCard.mjs +312 -301
- package/components/MazCard.umd.js +2 -2
- package/components/MazCarousel.mjs +93 -38
- package/components/MazCarousel.umd.js +2 -2
- package/components/MazChart.mjs +79 -120
- package/components/MazChart.umd.js +1 -2
- package/components/MazCheckbox.mjs +3 -3
- package/components/MazCheckbox.umd.js +2 -2
- package/components/MazDialog.mjs +61 -34
- package/components/MazDialog.umd.js +2 -2
- package/components/MazDialogPromise.mjs +75 -58
- package/components/MazDialogPromise.umd.js +2 -2
- package/components/MazDrawer.mjs +57 -30
- package/components/MazDrawer.umd.js +2 -2
- package/components/MazDropzone.mjs +4 -4
- package/components/MazDropzone.umd.js +2 -2
- package/components/MazGallery.mjs +114 -292
- package/components/MazGallery.umd.js +2 -2
- package/components/MazIcon.mjs +7 -2
- package/components/MazIcon.umd.js +2 -2
- package/components/MazInput.mjs +46 -40
- package/components/MazInput.umd.js +2 -2
- package/components/MazInputNumber.mjs +175 -125
- package/components/MazInputNumber.umd.js +2 -2
- package/components/MazInputPrice.mjs +97 -91
- package/components/MazInputPrice.umd.js +2 -2
- package/components/MazInputTags.mjs +135 -107
- package/components/MazInputTags.umd.js +2 -2
- package/components/MazLazyImg.mjs +10 -9
- package/components/MazLazyImg.umd.js +2 -2
- package/components/MazPhoneNumberInput.mjs +165 -90
- package/components/MazPhoneNumberInput.umd.js +2 -2
- package/components/MazPicker.mjs +349 -261
- package/components/MazPicker.umd.js +2 -2
- package/components/MazRadioButtons.mjs +3 -3
- package/components/MazRadioButtons.umd.js +2 -2
- package/components/MazSelect.mjs +155 -80
- package/components/MazSelect.umd.js +2 -2
- package/components/MazSlider.mjs +6 -6
- package/components/MazSlider.umd.js +2 -2
- package/components/MazSpinner.mjs +4 -4
- package/components/MazSpinner.umd.js +2 -2
- package/components/MazStepper.mjs +16 -11
- package/components/MazStepper.umd.js +2 -2
- package/components/MazSwitch.mjs +6 -6
- package/components/MazSwitch.umd.js +2 -2
- package/components/MazTabsBar.mjs +29 -24
- package/components/MazTabsBar.umd.js +2 -2
- package/components/MazTabsContent.mjs +7 -2
- package/components/MazTabsContent.umd.js +2 -2
- package/components/MazTabsContentItem.mjs +5 -6
- package/components/MazTabsContentItem.umd.js +2 -2
- package/components/MazTextarea.mjs +26 -17
- package/components/MazTextarea.umd.js +2 -2
- package/components/MazTransitionExpand.mjs +3 -3
- package/components/MazTransitionExpand.umd.js +2 -2
- package/components/assets/check-ac2fdfbb.mjs +31 -0
- package/components/assets/eye-ac35bb54.mjs +44 -0
- package/components/assets/eye-off-4a5fd13d.mjs +31 -0
- package/components/assets/no-photography-7a1e4d68.mjs +36 -0
- package/components/assets/pencil-c1aa23f9.mjs +31 -0
- package/modules/assets/no-photography-7a1e4d68.mjs +36 -0
- package/modules/{maz-ui.mjs → index.mjs} +131 -191
- package/modules/index.umd.js +2 -0
- package/nuxt/index.ts +130 -0
- package/nuxt/runtime/composables/use-toast.ts +8 -0
- package/nuxt/runtime/plugins/toaster.ts +26 -0
- package/package.json +94 -65
- package/tailwindcss/{tailwind.config.js → tailwind.config.ts} +13 -9
- package/tailwindcss/tailwind.css +4 -0
- package/tailwindcss/utils/colors.ts +20 -0
- package/tailwindcss/variables/{breakpoints.js → breakpoints.ts} +1 -1
- package/tailwindcss/variables/colors.ts +44 -0
- package/tailwindcss/variables/{utilities.js → utilities.ts} +1 -1
- package/tailwindcss/variables/{z-indexes.js → z-indexes.ts} +1 -1
- package/components/MazAvatar.d.ts +0 -156
- package/components/MazBackdrop.d.ts +0 -91
- package/components/MazBadge.d.ts +0 -73
- package/components/MazBottomSheet.d.ts +0 -36
- package/components/MazBtn.d.ts +0 -178
- package/components/MazCard.d.ts +0 -194
- package/components/MazCarousel.d.ts +0 -24
- package/components/MazChart/includes.d.ts +0 -11
- package/components/MazChart.d.ts +0 -83
- package/components/MazCheckbox.d.ts +0 -54
- package/components/MazDialog.d.ts +0 -91
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +0 -30
- package/components/MazDialogPromise.d.ts +0 -72
- package/components/MazDrawer.d.ts +0 -69
- package/components/MazDropzone.d.ts +0 -128
- package/components/MazGallery.d.ts +0 -144
- package/components/MazIcon.d.ts +0 -64
- package/components/MazInput.d.ts +0 -276
- package/components/MazInputNumber.d.ts +0 -65
- package/components/MazInputPrice.d.ts +0 -69
- package/components/MazInputTags.d.ts +0 -94
- package/components/MazLazyImg.d.ts +0 -77
- package/components/MazPhoneNumberInput/constantes/locales.d.ts +0 -12
- package/components/MazPhoneNumberInput/types.d.ts +0 -21
- package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +0 -2
- package/components/MazPhoneNumberInput/utils/index.d.ts +0 -12
- package/components/MazPhoneNumberInput.d.ts +0 -253
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +0 -135
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +0 -20
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +0 -112
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +0 -122
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +0 -36
- package/components/MazPicker/MazPickerContainer.vue.d.ts +0 -210
- package/components/MazPicker/MazPickerFooter.vue.d.ts +0 -16
- package/components/MazPicker/MazPickerHeader.vue.d.ts +0 -82
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +0 -41
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +0 -60
- package/components/MazPicker/MazPickerTime.vue.d.ts +0 -127
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +0 -33
- package/components/MazPicker/types.d.ts +0 -15
- package/components/MazPicker/utils.d.ts +0 -54
- package/components/MazPicker.d.ts +0 -311
- package/components/MazRadioButtons.d.ts +0 -77
- package/components/MazSelect.d.ts +0 -186
- package/components/MazSlider/utils.d.ts +0 -15
- package/components/MazSlider.d.ts +0 -94
- package/components/MazSpinner.d.ts +0 -28
- package/components/MazStepper.d.ts +0 -114
- package/components/MazSwitch.d.ts +0 -54
- package/components/MazTabsBar.d.ts +0 -47
- package/components/MazTabsContent.d.ts +0 -21
- package/components/MazTabsContentItem.d.ts +0 -19
- package/components/MazTextarea/textarea-autogrow.d.ts +0 -9
- package/components/MazTextarea.d.ts +0 -123
- package/components/MazTransitionExpand.d.ts +0 -9
- package/components/assets/no-photography-584c6185.mjs +0 -4
- package/components/index.d.ts +0 -33
- package/components/index.mjs +0 -35
- package/components/types.d.ts +0 -17
- package/css/aos.css +0 -1
- package/css/main.css +0 -1
- package/maz-ui.d.ts +0 -313
- package/modules/assets/no-photography-584c6185.mjs +0 -4
- package/modules/maz-ui.umd.js +0 -2
- package/tailwindcss/utils/colors.js +0 -26
- package/tailwindcss/variables/colors.js +0 -44
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@-webkit-keyframes maz-spin-34f40819{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes maz-spin-34f40819{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.m-spinner[data-v-34f40819]{-webkit-animation:maz-spin-34f40819 1s linear infinite;animation:maz-spin-34f40819 1s linear infinite;fill:currentColor;margin:0!important}.m-spinner--normal[data-v-34f40819]{color:var(--maz-color-text)}.m-spinner--primary[data-v-34f40819]{color:var(--maz-color-primary)}.m-spinner--secondary[data-v-34f40819]{color:var(--maz-color-secondary)}.m-spinner--info[data-v-34f40819]{color:var(--maz-color-info)}.m-spinner--warning[data-v-34f40819]{color:var(--maz-color-warning)}.m-spinner--danger[data-v-34f40819]{color:var(--maz-color-danger)}.m-spinner--success[data-v-34f40819]{color:var(--maz-color-success)}.m-spinner--black[data-v-34f40819]{color:var(--maz-color-black)}.m-spinner--white[data-v-34f40819],.m-spinner--transparent[data-v-34f40819]{color:var(--maz-color-white)}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}.maz-dropzone{margin:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:auto;border-radius:var(--maz-border-radius);border-width:var(--maz-border-width);border-style:dashed;border-color:var(--maz-color-bg-light);background-color:var(--maz-color-bg);padding:1rem;text-align:center;outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);min-height:245px}.maz-dropzone:not(.dz-clickable){background-color:var(--maz-color-bg-light)}.maz-dropzone.dz-clickable,.maz-dropzone.dz-clickable.dz-message,.maz-dropzone.dz-clickable.dz-message *{cursor:pointer}.maz-dropzone .dz-message{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.maz-dropzone.dz-clickable:hover,.maz-dropzone.dz-clickable:focus{border-color:var(--maz-color-bg-lighter);background-color:var(--maz-color-bg-light)}.maz-dropzone.dz-clickable:hover .maz-dropzone__main-icon,.maz-dropzone.dz-clickable:focus .maz-dropzone__main-icon{color:var(--maz-color-primary);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.maz-dropzone.dz-started .dz-message{display:none}.maz-dropzone.dz-drag-hover{border-style:solid}.maz-dropzone.dz-drag-hover .dz-message{opacity:.5}.maz-dropzone .dz-message .dz-button{cursor:pointer;border-style:none;background-color:transparent;padding:0}.maz-dropzone .dz-details{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:20;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:var(--maz-border-radius);padding:2rem 1rem;text-align:center;line-height:2.5rem;color:var(--maz-color-white);opacity:0;background-color:var(--maz-color-primary-alpha);-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.maz-dropzone .dz-details .dz-size span{font-size:1rem;line-height:1.5rem;color:var(--maz-color-white)}.maz-dropzone .dz-details .dz-filename{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.maz-dropzone .dz-details .dz-filename span{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.maz-dropzone .dz-image{overflow:hidden;position:relative;display:block;z-index:10;width:100%;height:100%;margin:0 auto;border-radius:var(--maz-border-radius);border-color:var(--maz-color-bg-lighter)}.maz-dropzone .dz-image img{display:block}.maz-dropzone .dz-image>div[data-dz-thumbnail-bg]{width:inherit;height:inherit;background-size:cover;background-repeat:no-repeat;background-position:center}.maz-dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:0;min-height:auto;height:100%;background:transparent;max-width:200px;overflow:hidden}.maz-dropzone .dz-preview:not(:last-child){margin-right:.5rem}.maz-dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));background:linear-gradient(to bottom,#eee,#ddd)}.maz-dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.maz-dropzone .dz-preview.dz-image-preview{background-color:transparent}.maz-dropzone .dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.maz-dropzone .dz-preview .dz-remove{text-align:center;display:block;cursor:pointer;position:absolute;z-index:30;color:#fff;top:inherit;left:5px;right:5px;bottom:5px;padding:10px 5px;border:2px white solid;text-decoration:none;text-transform:uppercase;font-size:.8rem;opacity:0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:var(--maz-border-radius)}.maz-dropzone .dz-preview .dz-remove:hover{background-color:var(--maz-color-white);color:var(--maz-color-primary)}.maz-dropzone .dz-preview:hover{z-index:1000}.maz-dropzone .dz-preview:hover .dz-details,.maz-dropzone .dz-preview:hover .dz-remove{opacity:1}.maz-dropzone .dz-preview:hover .dz-image img{-webkit-transform:scale(1.05,1.05);transform:scale(1.05);-webkit-filter:blur(8px);filter:blur(8px)}.maz-dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;border-radius:8px;top:130px;background:#be2626;background:-webkit-gradient(linear,left top,left bottom,from(#be2626),to(#a92222));background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;color:#fff;margin-left:auto;margin-right:auto;left:0;width:100%;text-align:center}.maz-dropzone .dz-preview .dz-success-mark,.maz-dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;margin-left:auto;margin-top:auto;width:100%;top:30%;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.maz-dropzone .dz-preview .dz-success-mark .material-icons,.maz-dropzone .dz-preview .dz-error-mark .material-icons{background-color:var(--maz-color-success-alpha);border-radius:50%;color:#fff;font-size:70px}.maz-dropzone .dz-preview .dz-error-mark .material-icons{background-color:var(--maz-color-danger-alpha)}.maz-dropzone .dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.maz-dropzone .dz-preview.dz-error .dz-error-message{display:block}.maz-dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.maz-dropzone .dz-preview.dz-error .dz-details{background-color:var(--maz-color-danger-alpha)}.maz-dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.maz-dropzone .dz-preview.dz-error .dz-remove:hover{color:var(--maz-color-danger)}.maz-dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:1rem;top:50%;margin-top:-.5rem;-webkit-transform:scale(1);transform:scale(1);overflow:visible;width:50%;left:25%;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.maz-dropzone .dz-preview .dz-progress .dz-upload{-webkit-transition:width .3s ease-in-out;transition:width .3s ease-in-out;position:absolute;top:0px;right:0px;bottom:0px;left:0px;width:0px;border-radius:9999px;background-color:var(--maz-color-success)}.maz-dropzone .dz-preview .dz-progress .progress-title{display:inline-block;position:relative;top:-30px}.maz-dropzone .dz-preview.dz-processing .dz-progress{opacity:1;-webkit-transition:all .2s linear;transition:all .2s linear}.maz-dropzone .dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.maz-dropzone .dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).MazDropzone={},e.Vue)}(this,(function(e,t){"use strict";const o=["width","height"],n=[(e=>(t.pushScopeId("data-v-
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@-webkit-keyframes maz-spin-d10311cd{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes maz-spin-d10311cd{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.m-spinner[data-v-d10311cd]{-webkit-animation:maz-spin-d10311cd 1s linear infinite;animation:maz-spin-d10311cd 1s linear infinite;fill:currentColor;margin:0!important}.m-spinner--normal[data-v-d10311cd]{color:var(--maz-color-text)}.m-spinner--primary[data-v-d10311cd]{color:var(--maz-color-primary)}.m-spinner--secondary[data-v-d10311cd]{color:var(--maz-color-secondary)}.m-spinner--info[data-v-d10311cd]{color:var(--maz-color-info)}.m-spinner--warning[data-v-d10311cd]{color:var(--maz-color-warning)}.m-spinner--danger[data-v-d10311cd]{color:var(--maz-color-danger)}.m-spinner--success[data-v-d10311cd]{color:var(--maz-color-success)}.m-spinner--black[data-v-d10311cd]{color:var(--maz-color-black)}.m-spinner--white[data-v-d10311cd],.m-spinner--transparent[data-v-d10311cd]{color:var(--maz-color-white)}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}.maz-dropzone{margin:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:auto;border-radius:var(--maz-border-radius);border-width:var(--maz-border-width);border-style:dashed;border-color:var(--maz-color-bg-light);background-color:var(--maz-color-bg);padding:1rem;text-align:center;outline:2px solid transparent;outline-offset:2px;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1);min-height:245px}.maz-dropzone:not(.dz-clickable){background-color:var(--maz-color-bg-light)}.maz-dropzone.dz-clickable,.maz-dropzone.dz-clickable.dz-message,.maz-dropzone.dz-clickable.dz-message *{cursor:pointer}.maz-dropzone .dz-message{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.maz-dropzone.dz-clickable:hover,.maz-dropzone.dz-clickable:focus{border-color:var(--maz-color-bg-lighter);background-color:var(--maz-color-bg-light)}.maz-dropzone.dz-clickable:hover .maz-dropzone__main-icon,.maz-dropzone.dz-clickable:focus .maz-dropzone__main-icon{color:var(--maz-color-primary);-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.maz-dropzone.dz-started .dz-message{display:none}.maz-dropzone.dz-drag-hover{border-style:solid}.maz-dropzone.dz-drag-hover .dz-message{opacity:.5}.maz-dropzone .dz-message .dz-button{cursor:pointer;border-style:none;background-color:transparent;padding:0}.maz-dropzone .dz-details{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:var(--maz-border-radius);padding:2rem 1rem;text-align:center;line-height:2.5rem;color:var(--maz-color-white);opacity:0;background-color:var(--maz-color-primary-alpha);-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.maz-dropzone .dz-details .dz-size span{font-size:1rem;line-height:1.5rem;color:var(--maz-color-white)}.maz-dropzone .dz-details .dz-filename{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.maz-dropzone .dz-details .dz-filename span{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.maz-dropzone .dz-image{overflow:hidden;position:relative;display:block;z-index:10;width:100%;height:100%;margin:0 auto;border-radius:var(--maz-border-radius);border-color:var(--maz-color-bg-lighter)}.maz-dropzone .dz-image img{display:block}.maz-dropzone .dz-image>div[data-dz-thumbnail-bg]{width:inherit;height:inherit;background-size:cover;background-repeat:no-repeat;background-position:center}.maz-dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:0;min-height:auto;height:100%;background:transparent;max-width:200px;overflow:hidden}.maz-dropzone .dz-preview:not(:last-child){margin-right:.5rem}.maz-dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));background:linear-gradient(to bottom,#eee,#ddd)}.maz-dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.maz-dropzone .dz-preview.dz-image-preview{background-color:transparent}.maz-dropzone .dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.maz-dropzone .dz-preview .dz-remove{text-align:center;display:block;cursor:pointer;position:absolute;z-index:30;color:#fff;top:inherit;left:5px;right:5px;bottom:5px;padding:10px 5px;border:2px white solid;text-decoration:none;text-transform:uppercase;font-size:.8rem;opacity:0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:var(--maz-border-radius)}.maz-dropzone .dz-preview .dz-remove:hover{background-color:var(--maz-color-white);color:var(--maz-color-primary)}.maz-dropzone .dz-preview:hover{z-index:1000}.maz-dropzone .dz-preview:hover .dz-details,.maz-dropzone .dz-preview:hover .dz-remove{opacity:1}.maz-dropzone .dz-preview:hover .dz-image img{-webkit-transform:scale(1.05,1.05);transform:scale(1.05);-webkit-filter:blur(8px);filter:blur(8px)}.maz-dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;border-radius:8px;top:130px;background:#be2626;background:-webkit-gradient(linear,left top,left bottom,from(#be2626),to(#a92222));background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;color:#fff;margin-left:auto;margin-right:auto;left:0;width:100%;text-align:center}.maz-dropzone .dz-preview .dz-success-mark,.maz-dropzone .dz-preview .dz-error-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;margin-left:auto;margin-top:auto;width:100%;top:30%;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.maz-dropzone .dz-preview .dz-success-mark .material-icons,.maz-dropzone .dz-preview .dz-error-mark .material-icons{background-color:var(--maz-color-success-alpha);border-radius:50%;color:#fff;font-size:70px}.maz-dropzone .dz-preview .dz-error-mark .material-icons{background-color:var(--maz-color-danger-alpha)}.maz-dropzone .dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.maz-dropzone .dz-preview.dz-error .dz-error-message{display:block}.maz-dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.maz-dropzone .dz-preview.dz-error .dz-details{background-color:var(--maz-color-danger-alpha)}.maz-dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.maz-dropzone .dz-preview.dz-error .dz-remove:hover{color:var(--maz-color-danger)}.maz-dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:1rem;top:50%;margin-top:-.5rem;-webkit-transform:scale(1);transform:scale(1);overflow:visible;width:50%;left:25%;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.maz-dropzone .dz-preview .dz-progress .dz-upload{-webkit-transition:width .3s ease-in-out;transition:width .3s ease-in-out;position:absolute;top:0;right:0;bottom:0;left:0;width:0px;border-radius:9999px;background-color:var(--maz-color-success)}.maz-dropzone .dz-preview .dz-progress .progress-title{display:inline-block;position:relative;top:-30px}.maz-dropzone .dz-preview.dz-processing .dz-progress{opacity:1;-webkit-transition:all .2s linear;transition:all .2s linear}.maz-dropzone .dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.maz-dropzone .dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}")),document.head.appendChild(e)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).MazDropzone={},e.Vue)}(this,(function(e,t){"use strict";const o=["width","height"],n=[(e=>(t.pushScopeId("data-v-d10311cd"),e=e(),t.popScopeId(),e))((()=>t.createElementVNode("path",{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"},null,-1)))],s=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o},l=s(t.defineComponent({__name:"MazSpinner",props:{size:{type:String,default:"2em"},color:{type:String,default:"normal",validator:e=>["normal","info","white","success","warning","danger","primary","black","secondary","transparent"].includes(e)}},setup:e=>(s,l)=>(t.openBlock(),t.createElementBlock("svg",{width:e.size,height:e.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 50 50","xml:space":"preserve",class:t.normalizeClass(["m-spinner",`m-spinner--${e.color}`]),style:{"enable-background":"new 0 0 50 50"}},n,10,o))}),[["__scopeId","data-v-d10311cd"]]),a=t.defineComponent({name:"MazDropzone",components:{MazSpinner:l},props:{options:{type:Object,required:!0},height:{type:[Number,String],default:"245px"},width:{type:[Number,String],default:"100%"},noDestroyOnUnmount:{type:Boolean,default:!1}},emits:["thumbnail","error","drop","dragstart","dragend","dragenter","dragover","dragleave","paste","addedfile","addedfiles","removedfile","success","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","canceled","canceledmultiple","complete","completemultiple","maxfilesexceeded","maxfilesreached","queuecomplete","reset"],setup(e,{emit:o}){const n=t.ref(),s=t.ref(!1);let l;const a=t.ref(),r=t.computed((()=>({width:"number"==typeof e.width?`${e.width}px`:e.width,height:"number"==typeof e.height?`${e.height}px`:e.height}))),i=(e,t)=>{let n;o("thumbnail",{file:e,dataUrl:t}),e.previewElement.classList.remove("dz-file-preview");e.previewElement.querySelectorAll("[data-dz-thumbnail-bg]").forEach((o=>{n=o,n.alt=e.name,n.style.backgroundImage=`url('${t}')`})),"success"===e.status&&l.emit("complete",e)},d=(e,t,n)=>{o("error",{file:e,message:t,xhr:n}),l.options.autoRemoveOnError&&setTimeout((()=>l.removeFile(e)),3e3)},p=(e,t,n)=>{o("error",{files:e,message:t,xhr:n}),l.options.autoRemoveOnError&&setTimeout((()=>{for(const t of e)l.removeFile(t)}),3e3)};t.onMounted((async()=>{const t={parallelUploads:e.options.maxFiles,previewTemplate:'<div class="dz-preview dz-file-preview maz-flex-1">\n <div class="dz-image">\n <div data-dz-thumbnail-bg></div>\n </div>\n <div class="dz-details">\n <div class="dz-filename"><span data-dz-name></span></div>\n <div class="dz-size"><span data-dz-size></span></div>\n </div>\n <div class="dz-progress">\n <span class="dz-upload" data-dz-uploadprogress></span>\n </div>\n <div class="dz-success-mark">\n <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" height="6rem" viewBox="0 0 24 24" width="6rem" fill="currentColor"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>\n </div>\n <div class="dz-error-mark">\n <svg class="material-icons" xmlns="http://www.w3.org/2000/svg" height="6rem" viewBox="0 0 24 24" width="6rem" fill="currentColor"><path d="M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>\n </div>\n</div>',addRemoveLinks:!0};if(n.value){const{default:r}=await import("dropzone");l=new r(n.value,{...t,...e.options}),l&&(a.value=l.options,s.value=!0,l.on("thumbnail",i),l.on("error",d),l.on("errormultiple",p),l.on("drop",(e=>o("drop",e))),l.on("dragstart",(e=>o("dragstart",e))),l.on("dragend",(e=>o("dragend",e))),l.on("dragenter",(e=>o("dragenter",e))),l.on("dragover",(e=>o("dragover",e))),l.on("dragleave",(e=>o("dragleave",e))),l.on("paste",(e=>o("paste",e))),l.on("addedfile",(e=>o("addedfile",e))),l.on("addedfiles",(e=>o("addedfiles",e))),l.on("removedfile",(e=>o("removedfile",e))),l.on("success",((e,t)=>o("success",{file:e,response:t}))),l.on("successmultiple",((e,t)=>o("success",{files:e,responseText:t}))),l.on("processing",(e=>o("processing",e))),l.on("processingmultiple",(e=>o("processingmultiple",e))),l.on("uploadprogress",((e,t,n)=>o("uploadprogress",{file:e,progress:t,bytesSent:n}))),l.on("totaluploadprogress",((e,t,n)=>o("totaluploadprogress",{totalProgress:e,totalBytes:t,totalBytesSent:n}))),l.on("sending",((e,t,n)=>o("sending",{file:e,xhr:t,formData:n}))),l.on("sendingmultiple",((e,t,n)=>o("sendingmultiple",{files:e,xhr:t,formData:n}))),l.on("canceled",(e=>o("canceled",e))),l.on("canceledmultiple",(e=>o("canceledmultiple",e))),l.on("complete",(e=>o("complete",e))),l.on("completemultiple",(e=>o("completemultiple",e))),l.on("maxfilesexceeded",(e=>o("maxfilesexceeded",e))),l.on("maxfilesreached",(e=>o("maxfilesreached",e))),l.on("queuecomplete",(()=>{c().every((e=>e.manuallyAdded))||o("queuecomplete")})),l.on("reset",(()=>o("reset"))))}}));const c=()=>l.getAcceptedFiles();return t.onBeforeUnmount((()=>{e.noDestroyOnUnmount||l.destroy()})),{ButtonElement:n,dropzoneReady:s,dropzoneOptions:a,dropzoneStyle:r,setOption:(e,t)=>(l.options={...l.options,[e]:t},l.options),manuallyAddFile:(e,t)=>{l.emit("addedfile",e),l.emit("thumbnail",e,t),l.files.push(e)},removeAllFiles:e=>l.removeAllFiles(e),processQueue:()=>l.processQueue(),destroy:()=>l.destroy(),disable:()=>l.disable(),enable:()=>l.enable(),accept:(e,t)=>l.accept(e,t),addFile:e=>l.addFile(e),resizeImage:(e,t,o,n,s)=>l.resizeImage(e,t,o,n,s),cancelUpload:e=>l.cancelUpload(e),getAcceptedFiles:c,getRejectedFiles:()=>l.getRejectedFiles(),getFilesWithStatus:()=>l.getFilesWithStatus(status),getQueuedFiles:()=>l.getQueuedFiles(),getUploadingFiles:()=>l.getUploadingFiles(),getAddedFiles:()=>l.getAddedFiles(),getActiveFiles:()=>l.getActiveFiles()}}}),r={class:"dz-message"},i=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",height:"2em",width:"2em",viewBox:"0 0 24 24",fill:"currentColor",class:"maz-dropzone__main-icon maz-text-normal","aria-hidden":"true"},[t.createElementVNode("path",{d:"M0 0h24v24H0V0z",fill:"none"}),t.createElementVNode("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3zM8 13h2.55v3h2.9v-3H16l-4-4z"})],-1),d={class:"maz-my-2 maz-text-normal"},p={class:"maz-my-0 maz-text-muted"};const c=s(a,[["render",function(e,o,n,s,l,a){const c=t.resolveComponent("MazSpinner");return t.openBlock(),t.createElementBlock("button",{ref:"ButtonElement",type:"button",name:"maz-dropzone",class:"maz-dropzone",style:t.normalizeStyle([e.dropzoneStyle])},[e.dropzoneReady?t.renderSlot(e.$slots,"default",{key:0,options:e.dropzoneOptions},(()=>{var o,n;return[t.createElementVNode("div",r,[t.renderSlot(e.$slots,"icon",{},(()=>[i])),t.createElementVNode("p",d,t.toDisplayString(null==(o=e.dropzoneOptions)?void 0:o.dictDefaultMessage),1),t.createElementVNode("p",p,t.toDisplayString(null==(n=e.dropzoneOptions)?void 0:n.dictFilesDescriptions),1)])]})):(t.openBlock(),t.createBlock(c,{key:1}))],4)}]]);e.default=c,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode(".m-gallery[data-v-aaef0414]{position:relative;overflow:hidden}.m-gallery__hidden[data-v-aaef0414]{display:none}.m-gallery__item[data-v-aaef0414]{position:absolute;top:0;margin:0;height:50%;width:100%;overflow:hidden;border-left-width:2px;border-color:transparent;padding:0}.m-gallery__item--1[data-v-aaef0414]{left:0;height:100%}.m-gallery__item--1[data-v-aaef0414]:not(:last-child){width:50%}.m-gallery__item--2[data-v-aaef0414]{left:50%;width:50%;height:50%}.m-gallery__item--2[data-v-aaef0414]:last-child{height:100%}.m-gallery__item--2[data-v-aaef0414]:nth-last-child(4){width:25%}.m-gallery__item--3[data-v-aaef0414]{top:50%;left:50%;width:25%}.m-gallery__item--3[data-v-aaef0414]:last-child{width:50%}.m-gallery__item--3[data-v-aaef0414]:nth-last-child(3){top:0;left:75%}.m-gallery__item--4[data-v-aaef0414]{border-top-width:2px;border-color:transparent;top:50%;left:50%;width:25%}.m-gallery__item--4[data-v-aaef0414]:last-child{left:75%;width:25%}.m-gallery__item--5[data-v-aaef0414]{border-top-width:2px;border-color:transparent;top:50%;left:75%;width:25%}.m-gallery__item[data-v-aaef0414]:first-child{border-left:0}.m-gallery__item--3[data-v-aaef0414]:last-child,.m-gallery__item--3[data-v-aaef0414]:nth-last-child(2),.m-gallery__item--4[data-v-aaef0414]:last-child,.m-gallery__item--5[data-v-aaef0414]{border-top-width:2px;border-color:transparent}.m-gallery__item__image[data-v-aaef0414]{height:100%;max-width:100%;width:100%;background-position:center center;background-size:cover;background-repeat:no-repeat;background-color:#0000007f}.m-gallery__remaining-layer[data-v-aaef0414]{position:absolute;top:0;right:0;bottom:0;left:0}.m-gallery__remaining-layer a span[data-v-aaef0414]{color:#fff;font-size:2rem}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => {
|
|
5
5
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
6
|
return value;
|
|
7
7
|
};
|
|
8
|
-
import {
|
|
8
|
+
import { defineComponent, defineAsyncComponent, onBeforeMount, computed, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, withDirectives, unref, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
9
9
|
const style = `
|
|
10
10
|
.maz-zoom-img {
|
|
11
11
|
position: fixed;
|
|
@@ -413,7 +413,7 @@ class LazyImg {
|
|
|
413
413
|
this.onImgErrorCallback = this.imageHasError.bind(this);
|
|
414
414
|
}
|
|
415
415
|
async loadErrorPhoto() {
|
|
416
|
-
const { default: photo } = await
|
|
416
|
+
const { default: photo } = await import("./assets/no-photography-7a1e4d68.mjs");
|
|
417
417
|
return photo;
|
|
418
418
|
}
|
|
419
419
|
buildOptions(opts) {
|
|
@@ -470,6 +470,7 @@ class LazyImg {
|
|
|
470
470
|
const dataSrc = this.getImgElement(el).getAttribute("data-src");
|
|
471
471
|
if (dataSrc)
|
|
472
472
|
return dataSrc;
|
|
473
|
+
binding.value;
|
|
473
474
|
const bindingSrc = typeof binding.value === "object" ? binding.value.src : binding.value;
|
|
474
475
|
if (!bindingSrc)
|
|
475
476
|
console.warn(`[maz-ui][MazLazyImg] src url is not defined`);
|
|
@@ -626,177 +627,16 @@ const vLazyImg = {
|
|
|
626
627
|
instance.remove(el, binding);
|
|
627
628
|
}
|
|
628
629
|
};
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
}
|
|
636
|
-
const
|
|
637
|
-
const _sfc_main
|
|
638
|
-
__name: "
|
|
639
|
-
props: {
|
|
640
|
-
src: { type: String, default: void 0 },
|
|
641
|
-
path: { type: String, default: void 0 },
|
|
642
|
-
name: { type: String, default: void 0 },
|
|
643
|
-
size: { type: String, default: "1.5rem" },
|
|
644
|
-
title: { type: String, default: void 0 },
|
|
645
|
-
transformSource: {
|
|
646
|
-
type: Function,
|
|
647
|
-
default: (svg) => svg
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
emits: ["loaded", "unloaded", "error"],
|
|
651
|
-
setup(__props, { emit: emits }) {
|
|
652
|
-
const props = __props;
|
|
653
|
-
const cache = {};
|
|
654
|
-
const svgElSource = ref();
|
|
655
|
-
const svgElem = ref();
|
|
656
|
-
const getMazIconPath = () => {
|
|
657
|
-
try {
|
|
658
|
-
return injectStrict("mazIconPath");
|
|
659
|
-
} catch {
|
|
660
|
-
return void 0;
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
const iconPath = computed(() => props.path ?? getMazIconPath());
|
|
664
|
-
const fullSrc = computed(() => {
|
|
665
|
-
if (props.src) {
|
|
666
|
-
return props.src;
|
|
667
|
-
} else if (iconPath.value) {
|
|
668
|
-
return `${iconPath.value}/${props.name}.svg`;
|
|
669
|
-
} else {
|
|
670
|
-
return `/${props.name}.svg`;
|
|
671
|
-
}
|
|
672
|
-
});
|
|
673
|
-
onMounted(() => {
|
|
674
|
-
if (!props.name && !props.src) {
|
|
675
|
-
console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
|
|
676
|
-
}
|
|
677
|
-
});
|
|
678
|
-
const setTitle = (svg, title) => {
|
|
679
|
-
const titleTags = svg.querySelectorAll("title");
|
|
680
|
-
if (titleTags.length > 0) {
|
|
681
|
-
titleTags[0].textContent = title;
|
|
682
|
-
} else {
|
|
683
|
-
const titleEl = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
|
684
|
-
titleEl.textContent = title;
|
|
685
|
-
svg.append(titleEl);
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
|
-
const filterAttrs = (attrs) => {
|
|
689
|
-
return Object.keys(attrs).reduce((result, key) => {
|
|
690
|
-
if (attrs[key] !== false && attrs[key] !== null && attrs[key] !== void 0) {
|
|
691
|
-
result[key] = attrs[key];
|
|
692
|
-
}
|
|
693
|
-
return result;
|
|
694
|
-
}, {});
|
|
695
|
-
};
|
|
696
|
-
const getSvgAttrs = (svgEl) => {
|
|
697
|
-
const svgAttrs = {};
|
|
698
|
-
const attrs = svgEl.attributes;
|
|
699
|
-
if (!attrs) {
|
|
700
|
-
return svgAttrs;
|
|
701
|
-
}
|
|
702
|
-
for (let i = attrs.length - 1; i >= 0; i--) {
|
|
703
|
-
svgAttrs[attrs[i].name] = attrs[i].value;
|
|
704
|
-
}
|
|
705
|
-
return svgAttrs;
|
|
706
|
-
};
|
|
707
|
-
const getSvgContent = (svgEl) => {
|
|
708
|
-
let svgElNode = svgEl.cloneNode(true);
|
|
709
|
-
svgElNode = props.transformSource(svgEl);
|
|
710
|
-
if (props.title) {
|
|
711
|
-
setTitle(svgElNode, props.title);
|
|
712
|
-
}
|
|
713
|
-
return svgEl.innerHTML;
|
|
714
|
-
};
|
|
715
|
-
const getSource = async (src) => {
|
|
716
|
-
if (!cache[src]) {
|
|
717
|
-
cache[src] = download(src);
|
|
718
|
-
}
|
|
719
|
-
try {
|
|
720
|
-
svgElSource.value = await cache[src];
|
|
721
|
-
await nextTick();
|
|
722
|
-
emits("loaded", svgElem.value);
|
|
723
|
-
} catch (error) {
|
|
724
|
-
if (svgElSource.value) {
|
|
725
|
-
svgElSource.value = void 0;
|
|
726
|
-
emits("unloaded");
|
|
727
|
-
}
|
|
728
|
-
delete cache[src];
|
|
729
|
-
emits("error", error);
|
|
730
|
-
}
|
|
731
|
-
};
|
|
732
|
-
const download = (url) => {
|
|
733
|
-
return new Promise((resolve, reject) => {
|
|
734
|
-
const request = new XMLHttpRequest();
|
|
735
|
-
request.open("GET", url, true);
|
|
736
|
-
request.addEventListener("load", () => {
|
|
737
|
-
if (request.status >= 200 && request.status < 400) {
|
|
738
|
-
try {
|
|
739
|
-
const parser = new DOMParser();
|
|
740
|
-
const result = parser.parseFromString(request.responseText, "text/xml");
|
|
741
|
-
let svgEl = result.querySelectorAll("svg")[0];
|
|
742
|
-
if (svgEl) {
|
|
743
|
-
svgEl = props.transformSource(svgEl);
|
|
744
|
-
resolve(svgEl);
|
|
745
|
-
} else {
|
|
746
|
-
reject(new Error('Loaded file is not valid SVG"'));
|
|
747
|
-
}
|
|
748
|
-
} catch (error) {
|
|
749
|
-
reject(error);
|
|
750
|
-
}
|
|
751
|
-
} else {
|
|
752
|
-
reject(new Error("Error loading SVG"));
|
|
753
|
-
}
|
|
754
|
-
});
|
|
755
|
-
request.addEventListener("error", () => reject());
|
|
756
|
-
request.send();
|
|
757
|
-
});
|
|
758
|
-
};
|
|
759
|
-
watchEffect(() => getSource(fullSrc.value));
|
|
760
|
-
return (_ctx, _cache) => {
|
|
761
|
-
return openBlock(), createElementBlock(
|
|
762
|
-
Fragment,
|
|
763
|
-
null,
|
|
764
|
-
[
|
|
765
|
-
createCommentVNode(" eslint-disable vue/no-v-html "),
|
|
766
|
-
createCommentVNode(" eslint-disable vue/html-self-closing "),
|
|
767
|
-
svgElSource.value ? (openBlock(), createElementBlock("svg", mergeProps({
|
|
768
|
-
key: 0,
|
|
769
|
-
ref_key: "svgElem",
|
|
770
|
-
ref: svgElem,
|
|
771
|
-
width: "1em",
|
|
772
|
-
height: "1em"
|
|
773
|
-
}, {
|
|
774
|
-
...getSvgAttrs(svgElSource.value),
|
|
775
|
-
...filterAttrs(_ctx.$attrs)
|
|
776
|
-
}, {
|
|
777
|
-
style: `font-size: ${__props.size}`,
|
|
778
|
-
innerHTML: getSvgContent(svgElSource.value)
|
|
779
|
-
}), null, 16, _hoisted_1$1)) : createCommentVNode("v-if", true),
|
|
780
|
-
createCommentVNode(" eslint-enable vue/no-v-html "),
|
|
781
|
-
createCommentVNode(" eslint-enable vue/html-self-closing ")
|
|
782
|
-
],
|
|
783
|
-
2112
|
|
784
|
-
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
785
|
-
);
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
});
|
|
789
|
-
const NoPhotographyIcon = "data:image/svg+xml;base64,PHN2ZwogIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICB2aWV3Qm94PSIwIDAgMjQgMjQiCiAgc3Ryb2tlPSJub25lIgogIGZpbGw9ImN1cnJlbnRDb2xvciIKICBhcmlhLWhpZGRlbj0idHJ1ZSIKPgogIDxnPgogICAgPHJlY3QgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyNCIgd2lkdGg9IjI0IiAvPgogICAgPGc+CiAgICAgIDxwYXRoCiAgICAgICAgZD0iTTguOSw2LjA3TDcuNDgsNC42Nkw5LDNoNmwxLjgzLDJIMjBjMS4xLDAsMiwwLjksMiwydjEyYzAsMC4wNS0wLjAxLDAuMS0wLjAyLDAuMTZMMjAsMTcuMTdWN2gtNC4wNWwtMS44My0ySDkuODggTDguOSw2LjA3eiBNMjAuNDksMjMuMzFMMTguMTcsMjFINGMtMS4xLDAtMi0wLjktMi0yVjdjMC0wLjU5LDAuMjctMS4xMiwwLjY4LTEuNDlsLTItMkwyLjEsMi4xbDE5LjgsMTkuOEwyMC40OSwyMy4zMXogTTkuMTksMTIuMDJDOS4wOCwxMi4zMyw5LDEyLjY1LDksMTNjMCwxLjY2LDEuMzQsMywzLDNjMC4zNSwwLDAuNjctMC4wOCwwLjk4LTAuMTlMOS4xOSwxMi4wMnogTTE2LjE3LDE5bC0xLjY4LTEuNjggQzEzLjc2LDE3Ljc1LDEyLjkxLDE4LDEyLDE4Yy0yLjc2LDAtNS0yLjI0LTUtNWMwLTAuOTEsMC4yNS0xLjc2LDAuNjgtMi40OUw0LjE3LDdINHYxMkgxNi4xN3ogTTE0LjgxLDExLjk4bDIuMDcsMi4wNyBDMTYuOTYsMTMuNzEsMTcsMTMuMzYsMTcsMTNjMC0yLjc2LTIuMjQtNS01LTVjLTAuMzYsMC0wLjcxLDAuMDQtMS4wNiwwLjEybDIuMDcsMi4wN0MxMy44NSwxMC40OSwxNC41MSwxMS4xNSwxNC44MSwxMS45OHoiCiAgICAgIC8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K";
|
|
790
|
-
const noPhotography = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
791
|
-
__proto__: null,
|
|
792
|
-
default: NoPhotographyIcon
|
|
793
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
794
|
-
const _sfc_main = defineComponent({
|
|
795
|
-
components: { MazIcon: _sfc_main$1 },
|
|
796
|
-
directives: {
|
|
797
|
-
"zoom-img": vZoomImg,
|
|
798
|
-
"lazy-img": vLazyImg
|
|
799
|
-
},
|
|
630
|
+
const _hoisted_1 = { class: "m-gallery__wrapper maz-flex maz-flex-1" };
|
|
631
|
+
const _hoisted_2 = ["alt"];
|
|
632
|
+
const _hoisted_3 = {
|
|
633
|
+
key: 0,
|
|
634
|
+
class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
|
|
635
|
+
};
|
|
636
|
+
const _hoisted_4 = { class: "maz-text-2xl maz-text-white" };
|
|
637
|
+
const lazyImgArgument = "bg-image";
|
|
638
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
639
|
+
__name: "MazGallery",
|
|
800
640
|
props: {
|
|
801
641
|
// Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
|
|
802
642
|
images: {
|
|
@@ -828,7 +668,11 @@ const _sfc_main = defineComponent({
|
|
|
828
668
|
// Scale animation effect on image hover
|
|
829
669
|
scale: { type: Boolean, default: true }
|
|
830
670
|
},
|
|
831
|
-
setup(
|
|
671
|
+
setup(__props) {
|
|
672
|
+
const props = __props;
|
|
673
|
+
const NoPhotographyIcon = defineAsyncComponent(
|
|
674
|
+
() => import("./assets/no-photography-7a1e4d68.mjs")
|
|
675
|
+
);
|
|
832
676
|
onBeforeMount(() => {
|
|
833
677
|
if (props.imagesShownCount > 5)
|
|
834
678
|
console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
|
|
@@ -866,18 +710,103 @@ const _sfc_main = defineComponent({
|
|
|
866
710
|
const shouldHaveRemainingLayer = (index) => {
|
|
867
711
|
return numberImagesRemaining.value && index + 1 === imagesShown.value.length && !props.noRemaining;
|
|
868
712
|
};
|
|
869
|
-
return {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
713
|
+
return (_ctx, _cache) => {
|
|
714
|
+
return __props.images.length > 0 || __props.hasEmptyLayer ? (openBlock(), createElementBlock(
|
|
715
|
+
"div",
|
|
716
|
+
{
|
|
717
|
+
key: 0,
|
|
718
|
+
class: normalizeClass(["m-gallery maz-flex", { "maz-rounded": !__props.noRadius }]),
|
|
719
|
+
style: normalizeStyle([sizeStyle.value])
|
|
720
|
+
},
|
|
721
|
+
[
|
|
722
|
+
createElementVNode("section", _hoisted_1, [
|
|
723
|
+
(openBlock(true), createElementBlock(
|
|
724
|
+
Fragment,
|
|
725
|
+
null,
|
|
726
|
+
renderList(imagesShown.value, (image, i) => {
|
|
727
|
+
return openBlock(), createElementBlock(
|
|
728
|
+
"figure",
|
|
729
|
+
{
|
|
730
|
+
key: i,
|
|
731
|
+
class: normalizeClass(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${i + 1}`]])
|
|
732
|
+
},
|
|
733
|
+
[
|
|
734
|
+
withDirectives(createElementVNode("img", {
|
|
735
|
+
class: "m-gallery__item__image maz-flex-1",
|
|
736
|
+
src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
|
|
737
|
+
alt: image.alt,
|
|
738
|
+
loading: "lazy"
|
|
739
|
+
}, null, 8, _hoisted_2), [
|
|
740
|
+
[unref(vZoomImg), {
|
|
741
|
+
src: image.src,
|
|
742
|
+
alt: image.alt,
|
|
743
|
+
disabled: __props.noZoom || shouldHaveRemainingLayer(i),
|
|
744
|
+
blur: __props.blur,
|
|
745
|
+
scale: __props.scale
|
|
746
|
+
}],
|
|
747
|
+
[unref(vLazyImg), { src: image.src, disabled: !__props.lazy }, lazyImgArgument]
|
|
748
|
+
]),
|
|
749
|
+
shouldHaveRemainingLayer(i) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
750
|
+
createElementVNode(
|
|
751
|
+
"span",
|
|
752
|
+
_hoisted_4,
|
|
753
|
+
"+" + toDisplayString(numberImagesRemaining.value),
|
|
754
|
+
1
|
|
755
|
+
/* TEXT */
|
|
756
|
+
)
|
|
757
|
+
])), [
|
|
758
|
+
[unref(vZoomImg), {
|
|
759
|
+
src: image.src,
|
|
760
|
+
alt: image.alt,
|
|
761
|
+
disabled: __props.noZoom,
|
|
762
|
+
blur: false,
|
|
763
|
+
scale: __props.scale
|
|
764
|
+
}]
|
|
765
|
+
]) : createCommentVNode("v-if", true)
|
|
766
|
+
],
|
|
767
|
+
2
|
|
768
|
+
/* CLASS */
|
|
769
|
+
);
|
|
770
|
+
}),
|
|
771
|
+
128
|
|
772
|
+
/* KEYED_FRAGMENT */
|
|
773
|
+
)),
|
|
774
|
+
__props.hasEmptyLayer && __props.images.length === 0 ? (openBlock(), createElementBlock(
|
|
775
|
+
"div",
|
|
776
|
+
{
|
|
777
|
+
key: 0,
|
|
778
|
+
class: normalizeClass(["maz-flex maz-w-full maz-bg-color-light maz-text-normal maz-flex-center", { "maz-rounded-xl": !__props.noRadius }]),
|
|
779
|
+
style: normalizeStyle([sizeStyle.value])
|
|
780
|
+
},
|
|
781
|
+
[
|
|
782
|
+
createVNode(unref(NoPhotographyIcon), { class: "maz-h-8 maz-w-8" })
|
|
783
|
+
],
|
|
784
|
+
6
|
|
785
|
+
/* CLASS, STYLE */
|
|
786
|
+
)) : createCommentVNode("v-if", true)
|
|
787
|
+
]),
|
|
788
|
+
(openBlock(true), createElementBlock(
|
|
789
|
+
Fragment,
|
|
790
|
+
null,
|
|
791
|
+
renderList(imagesHidden.value, (image, i) => {
|
|
792
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
793
|
+
key: i,
|
|
794
|
+
class: "m-gallery__hidden"
|
|
795
|
+
})), [
|
|
796
|
+
[unref(vZoomImg), { src: image.src, disabled: __props.noZoom }]
|
|
797
|
+
]);
|
|
798
|
+
}),
|
|
799
|
+
128
|
|
800
|
+
/* KEYED_FRAGMENT */
|
|
801
|
+
))
|
|
802
|
+
],
|
|
803
|
+
6
|
|
804
|
+
/* CLASS, STYLE */
|
|
805
|
+
)) : createCommentVNode("v-if", true);
|
|
877
806
|
};
|
|
878
807
|
}
|
|
879
808
|
});
|
|
880
|
-
const
|
|
809
|
+
const MazGallery_vue_vue_type_style_index_0_scoped_aaef0414_lang = "";
|
|
881
810
|
const _export_sfc = (sfc, props) => {
|
|
882
811
|
const target = sfc.__vccOpts || sfc;
|
|
883
812
|
for (const [key, val] of props) {
|
|
@@ -885,114 +814,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
885
814
|
}
|
|
886
815
|
return target;
|
|
887
816
|
};
|
|
888
|
-
const
|
|
889
|
-
const _hoisted_2 = ["alt"];
|
|
890
|
-
const _hoisted_3 = {
|
|
891
|
-
key: 0,
|
|
892
|
-
class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
|
|
893
|
-
};
|
|
894
|
-
const _hoisted_4 = { class: "maz-text-2xl maz-text-white" };
|
|
895
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
896
|
-
const _component_MazIcon = resolveComponent("MazIcon");
|
|
897
|
-
const _directive_zoom_img = resolveDirective("zoom-img");
|
|
898
|
-
const _directive_lazy_img = resolveDirective("lazy-img");
|
|
899
|
-
return _ctx.images.length > 0 || _ctx.hasEmptyLayer ? (openBlock(), createElementBlock(
|
|
900
|
-
"div",
|
|
901
|
-
{
|
|
902
|
-
key: 0,
|
|
903
|
-
class: normalizeClass(["m-gallery maz-flex", { "maz-rounded": !_ctx.noRadius }]),
|
|
904
|
-
style: normalizeStyle([_ctx.sizeStyle])
|
|
905
|
-
},
|
|
906
|
-
[
|
|
907
|
-
createElementVNode("section", _hoisted_1, [
|
|
908
|
-
(openBlock(true), createElementBlock(
|
|
909
|
-
Fragment,
|
|
910
|
-
null,
|
|
911
|
-
renderList(_ctx.imagesShown, (image, i) => {
|
|
912
|
-
return openBlock(), createElementBlock(
|
|
913
|
-
"figure",
|
|
914
|
-
{
|
|
915
|
-
key: i,
|
|
916
|
-
class: normalizeClass(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${i + 1}`]])
|
|
917
|
-
},
|
|
918
|
-
[
|
|
919
|
-
withDirectives(createElementVNode("img", {
|
|
920
|
-
class: "m-gallery__item__image maz-flex-1",
|
|
921
|
-
src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
|
|
922
|
-
alt: image.alt,
|
|
923
|
-
loading: "lazy"
|
|
924
|
-
}, null, 8, _hoisted_2), [
|
|
925
|
-
[_directive_zoom_img, {
|
|
926
|
-
src: image.src,
|
|
927
|
-
alt: image.alt,
|
|
928
|
-
disabled: _ctx.noZoom || _ctx.shouldHaveRemainingLayer(i),
|
|
929
|
-
blur: _ctx.blur,
|
|
930
|
-
scale: _ctx.scale
|
|
931
|
-
}],
|
|
932
|
-
[_directive_lazy_img, { src: image.src, disabled: !_ctx.lazy }, "bg-image"]
|
|
933
|
-
]),
|
|
934
|
-
_ctx.shouldHaveRemainingLayer(i) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
935
|
-
createElementVNode(
|
|
936
|
-
"span",
|
|
937
|
-
_hoisted_4,
|
|
938
|
-
"+" + toDisplayString(_ctx.numberImagesRemaining),
|
|
939
|
-
1
|
|
940
|
-
/* TEXT */
|
|
941
|
-
)
|
|
942
|
-
])), [
|
|
943
|
-
[_directive_zoom_img, {
|
|
944
|
-
src: image.src,
|
|
945
|
-
alt: image.alt,
|
|
946
|
-
disabled: _ctx.noZoom,
|
|
947
|
-
blur: false,
|
|
948
|
-
scale: _ctx.scale
|
|
949
|
-
}]
|
|
950
|
-
]) : createCommentVNode("v-if", true)
|
|
951
|
-
],
|
|
952
|
-
2
|
|
953
|
-
/* CLASS */
|
|
954
|
-
);
|
|
955
|
-
}),
|
|
956
|
-
128
|
|
957
|
-
/* KEYED_FRAGMENT */
|
|
958
|
-
)),
|
|
959
|
-
_ctx.hasEmptyLayer && _ctx.images.length === 0 ? (openBlock(), createElementBlock(
|
|
960
|
-
"div",
|
|
961
|
-
{
|
|
962
|
-
key: 0,
|
|
963
|
-
class: normalizeClass(["flex-center maz-flex maz-w-full maz-bg-color-light maz-text-normal", { "maz-rounded-xl": !_ctx.noRadius }]),
|
|
964
|
-
style: normalizeStyle([_ctx.sizeStyle])
|
|
965
|
-
},
|
|
966
|
-
[
|
|
967
|
-
createVNode(_component_MazIcon, {
|
|
968
|
-
src: _ctx.NoPhotographyIcon,
|
|
969
|
-
size: "2rem"
|
|
970
|
-
}, null, 8, ["src"])
|
|
971
|
-
],
|
|
972
|
-
6
|
|
973
|
-
/* CLASS, STYLE */
|
|
974
|
-
)) : createCommentVNode("v-if", true)
|
|
975
|
-
]),
|
|
976
|
-
(openBlock(true), createElementBlock(
|
|
977
|
-
Fragment,
|
|
978
|
-
null,
|
|
979
|
-
renderList(_ctx.imagesHidden, (image, i) => {
|
|
980
|
-
return withDirectives((openBlock(), createElementBlock("div", {
|
|
981
|
-
key: i,
|
|
982
|
-
class: "m-gallery__hidden"
|
|
983
|
-
})), [
|
|
984
|
-
[_directive_zoom_img, { src: image.src, disabled: _ctx.noZoom }]
|
|
985
|
-
]);
|
|
986
|
-
}),
|
|
987
|
-
128
|
|
988
|
-
/* KEYED_FRAGMENT */
|
|
989
|
-
))
|
|
990
|
-
],
|
|
991
|
-
6
|
|
992
|
-
/* CLASS, STYLE */
|
|
993
|
-
)) : createCommentVNode("v-if", true);
|
|
994
|
-
}
|
|
995
|
-
const MazGallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-e9dc5a9e"]]);
|
|
817
|
+
const MazGallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aaef0414"]]);
|
|
996
818
|
export {
|
|
997
819
|
MazGallery as default
|
|
998
820
|
};
|