maz-ui 3.44.0 → 3.44.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/MazAccordion.mjs +25 -25
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +9 -9
- package/components/MazCarousel.mjs +1 -1
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.mjs +22 -22
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazReadingProgressBar.mjs +1 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/MazTextarea.mjs +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/chunks/{MazAvatar-BU1nJFcV.mjs → MazAvatar-CoT6WIl0.mjs} +1 -1
- package/components/chunks/{MazBottomSheet-DUOIusEi.mjs → MazBottomSheet-DpI8wFgc.mjs} +1 -1
- package/components/chunks/MazBtn-BIVlttu0.mjs +150 -0
- package/components/chunks/MazBtn-BQ7aH6Qe.mjs +158 -0
- package/components/chunks/{MazBtn-5BSKOcqG.mjs → MazBtn-BXDpaXn1.mjs} +44 -44
- package/components/chunks/MazBtn-C7RDTnn-.mjs +150 -0
- package/components/chunks/{MazBtn-BY8WCtM7.mjs → MazBtn-CPkNymJj.mjs} +44 -44
- package/components/chunks/{MazBtn-C5G78zLg.mjs → MazBtn-CQSo596y.mjs} +44 -44
- package/components/chunks/MazBtn-D2tIsob2.mjs +150 -0
- package/components/chunks/MazBtn-DRTBFUgW.mjs +150 -0
- package/components/chunks/{MazBtn-f1mBXJeU.mjs → MazBtn-Dfz-5FeI.mjs} +23 -26
- package/components/chunks/{MazBtn-CeVwyYR5.mjs → MazBtn-Vas62hFD.mjs} +44 -44
- package/components/chunks/MazBtn-gE-drZkE.mjs +150 -0
- package/components/chunks/{MazCard-BWxV_Z-i.mjs → MazCard-BBwohtCJ.mjs} +1 -1
- package/components/chunks/{MazCarousel-D5EmW7Sa.mjs → MazCarousel-DJ_nQfy4.mjs} +1 -1
- package/components/chunks/{MazCheckbox-D3PXkt75.mjs → MazCheckbox-BK1MX0uq.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BWiMbecz.mjs → MazCheckbox-D3Fm-BFu.mjs} +1 -1
- package/components/chunks/{MazDialog-CLWKCphI.mjs → MazDialog-DXaeCp-b.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-DVOJwdVp.mjs → MazDialogPromise-Bgxjg9ss.mjs} +2 -2
- package/components/chunks/{MazDropzone-Dm2IirHm.mjs → MazDropzone-D0W0dlgY.mjs} +2 -3
- package/components/chunks/{MazGallery-Bn9p1gNb.mjs → MazGallery-CBE4wD7D.mjs} +3 -4
- package/components/chunks/{MazGallery-BlfPe8WG.mjs → MazGallery-Din0Z37d.mjs} +4 -5
- package/components/chunks/{MazIcon-D3umgnku.mjs → MazIcon-CTjWIkTp.mjs} +1 -1
- package/components/chunks/{MazIcon-B8A0hQAH.mjs → MazIcon-CUOwXGOK.mjs} +1 -1
- package/components/chunks/{MazInput-BpsE-mdg.mjs → MazInput-D177bUMh.mjs} +44 -44
- package/components/chunks/{MazInputNumber-DGBYbDSX.mjs → MazInputNumber-CstQGS8u.mjs} +121 -121
- package/components/chunks/{MazInputPrice-j2BNMeFp.mjs → MazInputPrice-Bp7ie9jm.mjs} +48 -48
- package/components/chunks/{MazInputTags-CJofVaj5.mjs → MazInputTags-C7nZucYu.mjs} +63 -63
- package/components/chunks/{MazLazyImg-Dboc6Xfz.mjs → MazLazyImg-DADMg49z.mjs} +3 -4
- package/components/chunks/{MazLazyImg-BFG6FIJZ.mjs → MazLazyImg-xLPMdfif.mjs} +4 -5
- package/components/chunks/{MazPagination-C6ZehQSZ.mjs → MazPagination-NbHR41CQ.mjs} +44 -44
- package/components/chunks/{MazPhoneNumberInput-DpWoNQfx.mjs → MazPhoneNumberInput-BGo-vcnD.mjs} +61 -61
- package/components/chunks/{MazPicker-ia2BEmm5.mjs → MazPicker-CJBezF2t.mjs} +173 -198
- package/components/chunks/{MazPickerMonthSwitcher-CKtfZ_m-.mjs → MazPickerMonthSwitcher-DZPHWTJt.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Cc9VoqBw.mjs → MazPickerShortcuts-CBEmYjPG.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-0b5Wrem9.mjs → MazPickerYearSwitcher-Ynp2qf3F.mjs} +1 -1
- package/components/chunks/{MazSelect-COJoKXbV.mjs → MazSelect-D4TuCHwj.mjs} +29 -29
- package/components/chunks/{MazSpinner-BaAMq7LI.mjs → MazSpinner--h9DYpGx.mjs} +1 -1
- package/components/chunks/{MazSpinner-BZOjTZBN.mjs → MazSpinner-6pxbKImG.mjs} +1 -1
- package/components/chunks/{MazSpinner-RvDGcBng.mjs → MazSpinner-BVd7-OTu.mjs} +1 -1
- package/components/chunks/MazSpinner-C6T_enKo.mjs +37 -0
- package/components/chunks/{MazSpinner-DkXequnp.mjs → MazSpinner-C8x7LsHq.mjs} +1 -1
- package/components/chunks/{MazSpinner-V-bFi71W.mjs → MazSpinner-CLz4ccD0.mjs} +1 -1
- package/components/chunks/MazSpinner-CmJlBqgH.mjs +37 -0
- package/components/chunks/MazSpinner-D4gpZ7vL.mjs +37 -0
- package/components/chunks/{MazSpinner-CNIlbDfg.mjs → MazSpinner-D8k_MENa.mjs} +1 -1
- package/components/chunks/MazSpinner-DGxqly6h.mjs +37 -0
- package/components/chunks/{MazSpinner-9Jue6cel.mjs → MazSpinner-DVkxyBoy.mjs} +1 -1
- package/components/chunks/{MazSpinner-BGPOws6a.mjs → MazSpinner-DjR5FVqo.mjs} +1 -1
- package/components/chunks/MazSpinner-DnVHWljy.mjs +37 -0
- package/components/chunks/{MazSpinner-C41VyUup.mjs → MazSpinner-DneKNmrs.mjs} +1 -1
- package/components/chunks/MazSpinner-Q02SOFkL.mjs +37 -0
- package/components/chunks/{MazSpinner-EA5ejB8F.mjs → MazSpinner-T1t1bpbm.mjs} +1 -1
- package/components/chunks/{MazSpinner-BWYdqSMP.mjs → MazSpinner-dFnsq52G.mjs} +1 -1
- package/components/chunks/MazSpinner-iA4Rz7K5.mjs +37 -0
- package/components/chunks/{MazSpinner-DHQH6Bhz.mjs → MazSpinner-rAqBu92m.mjs} +1 -1
- package/components/chunks/MazSpinner-va5G9enA.mjs +37 -0
- package/components/chunks/{MazTable-DRUj_PZp.mjs → MazTable-BPMuTZbS.mjs} +305 -305
- package/components/chunks/{MazTransitionExpand-B08cSrmL.mjs → MazTransitionExpand-CYyEf_hd.mjs} +1 -1
- package/css/main.css +2 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-1g7UvzQ_.mjs +150 -0
- package/modules/chunks/{MazBtn-BbCGGxkK.cjs → MazBtn-BKk3IsoH.cjs} +2 -2
- package/modules/chunks/{MazIcon-BDSXZYZ8.cjs → MazIcon-BEnQqDG6.cjs} +1 -1
- package/modules/chunks/{MazIcon-C2ch3jUS.mjs → MazIcon-BdDO3aVl.mjs} +1 -1
- package/modules/chunks/{MazSpinner-C9_xSbZZ.mjs → MazSpinner--BVvGFIO.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BiyFRA4w.cjs → MazSpinner-PMlxvkWb.cjs} +1 -1
- package/modules/chunks/index-D5F2dSFa.cjs +124 -0
- package/modules/chunks/{index-Cwbjspv3.mjs → index-D7R1dvsf.mjs} +347 -347
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +3 -3
- package/nuxt/index.mjs +1 -1
- package/nuxt/types.d.mts +6 -12
- package/nuxt/types.d.ts +6 -12
- package/package.json +10 -10
- package/types/modules/composables/use-timer.d.ts +6 -1
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +2 -2
- package/components/chunks/MazBtn-B1-sTc7F.mjs +0 -155
- package/components/chunks/MazBtn-ColLVUca.mjs +0 -150
- package/components/chunks/MazBtn-DJhQqzja.mjs +0 -150
- package/components/chunks/MazBtn-DuY28-0U.mjs +0 -150
- package/components/chunks/MazBtn-h3WmmaEO.mjs +0 -150
- package/components/chunks/MazBtn-zyRLUViT.mjs +0 -150
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +0 -37
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +0 -37
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +0 -37
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +0 -37
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +0 -37
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +0 -37
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +0 -37
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +0 -37
- package/modules/chunks/MazBtn-UBHTKqaN.mjs +0 -150
- package/modules/chunks/index-tnjajVkX.cjs +0 -124
package/modules/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-D5F2dSFa.cjs");exports.AosHandler=e.AosHandler;exports.IdleTimeout=e.IdleTimeout;exports.ScriptLoader=e.ScriptLoader;exports.Swipe=e.Swipe;exports.ToasterHandler=e.ToasterHandler;exports.UserVisibility=e.UserVisibility;exports.WaitHandler=e.WaitHandler;exports.capitalize=e.capitalize;exports.countryCodeToUnicodeFlag=e.countryCodeToUnicodeFlag;exports.currency=e.currency;exports.date=e.date;exports.debounce=e.debounce;exports.getAosInstance=e.getInstance;exports.injectStrict=e.injectStrict;exports.installAos=e.plugin$8;exports.installDirectives=e.plugin;exports.installFilters=e.installFilters;exports.installToaster=e.installToaster;exports.installWait=e.plugin$7;exports.isClient=e.isClient;exports.mount=e.mount;exports.normalizeString=e.normalizeString;exports.number=e.number;exports.sleep=e.sleep;exports.throttle=e.throttle;exports.truthyFilter=e.truthyFilter;exports.useAos=e.useAos;exports.useBreakpoints=e.useBreakpoints;exports.useIdleTimeout=e.useIdleTimeout;exports.useInstanceUniqId=e.useInstanceUniqId;exports.useReadingTime=e.useReadingTime;exports.useStringMatching=e.useStringMatching;exports.useSwipe=e.useSwipe;exports.useThemeHandler=e.useThemeHandler;exports.useTimer=e.useTimer;exports.useToast=e.useToast;exports.useUserVisibility=e.useUserVisibility;exports.useWait=e.useWait;exports.useWindowSize=e.useWindowSize;exports.vClickOutside=e.directive;exports.vClickOutsideInstall=e.plugin$1;exports.vClosable=e.directive$3;exports.vClosableInstall=e.plugin$5;exports.vFullscreenImg=e.directive$2;exports.vFullscreenImgInstall=e.plugin$4;exports.vLazyImg=e.directive$1;exports.vLazyImgInstall=e.plugin$2;exports.vTooltip=e.directive$4;exports.vTooltipInstall=e.plugin$6;exports.vZoomImg=e.vZoomImg;exports.vZoomImgInstall=e.plugin$3;exports.waitInstance=e.instance;
|
package/modules/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as e, I as t, S as i, b as l, T as n, U as o, W as r, y as u, c, z as I, A as m, d, H as v, i as g, G as T, p, x as y, C as S, D as b, a as C, m as z, n as F, B as h, s as w, e as A, t as H, L as U, R as W, O as k, K as L, Y as O, Z as V, X as Z, J as f, Q as j, N as q, P as x, M as B, V as D, f as M, g as R, q as E, r as G, o as J, l as K, j as N, h as P, w as Q, u as X, v as Y, k as _, E as $ } from "./chunks/index-
|
|
1
|
+
import { F as e, I as t, S as i, b as l, T as n, U as o, W as r, y as u, c, z as I, A as m, d, H as v, i as g, G as T, p, x as y, C as S, D as b, a as C, m as z, n as F, B as h, s as w, e as A, t as H, L as U, R as W, O as k, K as L, Y as O, Z as V, X as Z, J as f, Q as j, N as q, P as x, M as B, V as D, f as M, g as R, q as E, r as G, o as J, l as K, j as N, h as P, w as Q, u as X, v as Y, k as _, E as $ } from "./chunks/index-D7R1dvsf.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AosHandler,
|
|
4
4
|
t as IdleTimeout,
|
package/nuxt/index.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "maz-ui",
|
|
3
3
|
"configKey": "mazUi",
|
|
4
4
|
"compatibility": {
|
|
5
|
-
"nuxt": "
|
|
5
|
+
"nuxt": ">=3.0.0"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.44.
|
|
7
|
+
"version": "3.44.2",
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "0.7.
|
|
9
|
+
"@nuxt/module-builder": "0.7.1",
|
|
10
10
|
"unbuild": "2.0.0"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/nuxt/index.mjs
CHANGED
package/nuxt/types.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import type { } from './index.js'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
4
|
export interface ModuleOptions {
|
|
7
5
|
/** @default true */
|
|
8
6
|
devtools: boolean,
|
|
@@ -13,19 +11,15 @@ declare module '@nuxt/schema' {
|
|
|
13
11
|
/** @default true */
|
|
14
12
|
injectComponents: boolean,
|
|
15
13
|
}
|
|
14
|
+
|
|
15
|
+
declare module '@nuxt/schema' {
|
|
16
|
+
interface NuxtConfig { ['mazUi']?: Partial<ModuleOptions> }
|
|
17
|
+
interface NuxtOptions { ['mazUi']?: ModuleOptions }
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
declare module 'nuxt/schema' {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
devtools: boolean,
|
|
22
|
-
|
|
23
|
-
/** @default true */
|
|
24
|
-
injectCss: boolean,
|
|
25
|
-
|
|
26
|
-
/** @default true */
|
|
27
|
-
injectComponents: boolean,
|
|
28
|
-
}
|
|
21
|
+
interface NuxtConfig { ['mazUi']?: Partial<ModuleOptions> }
|
|
22
|
+
interface NuxtOptions { ['mazUi']?: ModuleOptions }
|
|
29
23
|
}
|
|
30
24
|
|
|
31
25
|
|
package/nuxt/types.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import type { } from './index'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
4
|
export interface ModuleOptions {
|
|
7
5
|
/** @default true */
|
|
8
6
|
devtools: boolean,
|
|
@@ -13,19 +11,15 @@ declare module '@nuxt/schema' {
|
|
|
13
11
|
/** @default true */
|
|
14
12
|
injectComponents: boolean,
|
|
15
13
|
}
|
|
14
|
+
|
|
15
|
+
declare module '@nuxt/schema' {
|
|
16
|
+
interface NuxtConfig { ['mazUi']?: Partial<ModuleOptions> }
|
|
17
|
+
interface NuxtOptions { ['mazUi']?: ModuleOptions }
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
declare module 'nuxt/schema' {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
devtools: boolean,
|
|
22
|
-
|
|
23
|
-
/** @default true */
|
|
24
|
-
injectCss: boolean,
|
|
25
|
-
|
|
26
|
-
/** @default true */
|
|
27
|
-
injectComponents: boolean,
|
|
28
|
-
}
|
|
21
|
+
interface NuxtConfig { ['mazUi']?: Partial<ModuleOptions> }
|
|
22
|
+
interface NuxtOptions { ['mazUi']?: ModuleOptions }
|
|
29
23
|
}
|
|
30
24
|
|
|
31
25
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.44.
|
|
4
|
+
"version": "3.44.2",
|
|
5
5
|
"description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -125,17 +125,17 @@
|
|
|
125
125
|
"@babel/core": "^7.24.7",
|
|
126
126
|
"@babel/preset-env": "^7.24.7",
|
|
127
127
|
"@babel/preset-typescript": "^7.24.7",
|
|
128
|
-
"@nuxt/kit": "^3.
|
|
129
|
-
"@nuxt/schema": "^3.
|
|
128
|
+
"@nuxt/kit": "^3.12.2",
|
|
129
|
+
"@nuxt/schema": "^3.12.2",
|
|
130
130
|
"@types/dropzone": "^5.7.8",
|
|
131
|
-
"@types/google.maps": "^3.55.
|
|
131
|
+
"@types/google.maps": "^3.55.10",
|
|
132
132
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
133
133
|
"@vitest/coverage-v8": "^1.6.0",
|
|
134
|
-
"@vue/compiler-sfc": "^3.4.
|
|
134
|
+
"@vue/compiler-sfc": "^3.4.29",
|
|
135
135
|
"@vue/test-utils": "^2.4.6",
|
|
136
136
|
"@vue/tsconfig": "^0.5.1",
|
|
137
137
|
"autoprefixer": "^10.4.19",
|
|
138
|
-
"c8": "^
|
|
138
|
+
"c8": "^10.1.2",
|
|
139
139
|
"chalk": "5.3.0",
|
|
140
140
|
"chart.js": "^4.4.3",
|
|
141
141
|
"dayjs": "^1.11.11",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"json-templater": "^1.2.0",
|
|
148
148
|
"libphonenumber-js": "^1.11.3",
|
|
149
149
|
"minimist": "^1.2.8",
|
|
150
|
-
"nuxt": "^3.
|
|
150
|
+
"nuxt": "^3.12.2",
|
|
151
151
|
"onchange": "^7.1.0",
|
|
152
152
|
"path": "^0.12.7",
|
|
153
153
|
"postcss": "^8.4.38",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"postcss-url": "^10.1.3",
|
|
159
159
|
"replace-in-file": "^7.2.0",
|
|
160
160
|
"rimraf": "^5.0.7",
|
|
161
|
-
"sass": "^1.77.
|
|
161
|
+
"sass": "^1.77.6",
|
|
162
162
|
"semver": "^7.6.2",
|
|
163
163
|
"sirv": "^2.0.4",
|
|
164
164
|
"stylelint": "^16.6.1",
|
|
@@ -168,14 +168,14 @@
|
|
|
168
168
|
"stylelint-config-tailwindcss": "^0.0.7",
|
|
169
169
|
"tailwindcss": "^3.4.4",
|
|
170
170
|
"unplugin-vue-components": "^0.27.0",
|
|
171
|
-
"vite": "^5.
|
|
171
|
+
"vite": "^5.3.1",
|
|
172
172
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
173
173
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
174
174
|
"vite-plugin-static-copy": "^1.0.5",
|
|
175
175
|
"vite-svg-loader": "^5.1.0",
|
|
176
176
|
"vitest": "^1.6.0",
|
|
177
177
|
"vitest-canvas-mock": "^0.3.3",
|
|
178
|
-
"vue": "^3.4.
|
|
178
|
+
"vue": "^3.4.29",
|
|
179
179
|
"vue-chartjs": "^5.3.1",
|
|
180
180
|
"vue-loader": "^17.4.2",
|
|
181
181
|
"vue-router": "^4.3.3",
|
|
@@ -14,8 +14,13 @@ export interface TimerOptions {
|
|
|
14
14
|
* @default 200
|
|
15
15
|
*/
|
|
16
16
|
remainingTimeUpdate?: number;
|
|
17
|
+
/**
|
|
18
|
+
* The offset time to execute the callback
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
callbackOffsetTime?: number;
|
|
17
22
|
}
|
|
18
|
-
export declare function useTimer({ timeout, callback, remainingTimeUpdate }: TimerOptions): {
|
|
23
|
+
export declare function useTimer({ timeout, callback, remainingTimeUpdate, callbackOffsetTime }: TimerOptions): {
|
|
19
24
|
remainingTime: import("vue").Ref<number>;
|
|
20
25
|
start: (timeout?: number) => void;
|
|
21
26
|
pause: () => void;
|
|
@@ -13,7 +13,7 @@ export interface Props {
|
|
|
13
13
|
persistent?: boolean;
|
|
14
14
|
icon?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare function
|
|
16
|
+
declare function closeToast(): void;
|
|
17
17
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
18
|
position: string;
|
|
19
19
|
maxToasts: boolean;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
24
24
|
action: undefined;
|
|
25
25
|
icon: boolean;
|
|
26
26
|
}>, {
|
|
27
|
-
|
|
27
|
+
closeToast: typeof closeToast;
|
|
28
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
click: (...args: any[]) => void;
|
|
30
30
|
close: (...args: any[]) => void;
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as z, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as c, normalizeClass as r, withCtx as D, createElementBlock as f, createCommentVNode as t, renderSlot as v, unref as p } from "vue";
|
|
2
|
-
import '../assets/MazBtn.css';const L = /* @__PURE__ */ E({
|
|
3
|
-
__name: "MazBtn",
|
|
4
|
-
props: {
|
|
5
|
-
variant: { default: "button" },
|
|
6
|
-
size: { default: "md" },
|
|
7
|
-
color: { default: "primary" },
|
|
8
|
-
type: { default: "button" },
|
|
9
|
-
rounded: { type: Boolean },
|
|
10
|
-
roundedSize: { default: "lg" },
|
|
11
|
-
noRounded: { type: Boolean },
|
|
12
|
-
outline: { type: Boolean },
|
|
13
|
-
pastel: { type: Boolean },
|
|
14
|
-
block: { type: Boolean },
|
|
15
|
-
noUnderline: { type: Boolean },
|
|
16
|
-
loading: { type: Boolean },
|
|
17
|
-
disabled: { type: Boolean },
|
|
18
|
-
fab: { type: Boolean },
|
|
19
|
-
icon: { default: void 0 },
|
|
20
|
-
leftIcon: { default: void 0 },
|
|
21
|
-
rightIcon: { default: void 0 },
|
|
22
|
-
noPadding: { type: Boolean },
|
|
23
|
-
noElevation: { type: Boolean },
|
|
24
|
-
contentClass: { default: void 0 }
|
|
25
|
-
},
|
|
26
|
-
setup(u) {
|
|
27
|
-
const e = u, d = z(() => import("./MazSpinner-DHQH6Bhz.mjs")), i = z(() => import("./MazIcon-BDGxCy9M.mjs")), { href: b, to: B } = R(), m = w();
|
|
28
|
-
A(() => {
|
|
29
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
30
|
-
});
|
|
31
|
-
const y = l(() => b ? "a" : B ? "router-link" : "button"), I = l(
|
|
32
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
33
|
-
), h = l(
|
|
34
|
-
() => (e.loading || e.disabled) && y.value === "button"
|
|
35
|
-
), C = l(() => h.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), s = l(() => e.loading && e.variant === "button"), g = l(() => !!m["left-icon"] || e.leftIcon), k = l(() => !!m["right-icon"] || e.rightIcon), M = l(() => g.value || k.value), S = l(() => e.fab && (e.icon || !!m.icon)), T = l(() => y.value === "button" ? e.type : void 0);
|
|
36
|
-
return (o, U) => (n(), a(c(y.value), {
|
|
37
|
-
disabled: h.value || void 0,
|
|
38
|
-
class: r(["m-btn", [
|
|
39
|
-
`--${o.size}`,
|
|
40
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
41
|
-
I.value,
|
|
42
|
-
C.value,
|
|
43
|
-
$.value,
|
|
44
|
-
{
|
|
45
|
-
"--block": o.block,
|
|
46
|
-
"--no-underline": o.noUnderline,
|
|
47
|
-
"--fab": o.fab,
|
|
48
|
-
"--loading": o.loading,
|
|
49
|
-
"--disabled": h.value,
|
|
50
|
-
"--icon": M.value,
|
|
51
|
-
"--rounded": o.rounded,
|
|
52
|
-
"--no-rounded": o.noRounded,
|
|
53
|
-
"--no-padding": o.noPadding,
|
|
54
|
-
"--no-elevation": o.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: T.value
|
|
58
|
-
}, {
|
|
59
|
-
default: D(() => [
|
|
60
|
-
g.value ? (n(), f(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
key: 0,
|
|
64
|
-
class: r(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": s.value }])
|
|
65
|
-
},
|
|
66
|
-
[
|
|
67
|
-
t(`
|
|
68
|
-
@slot left-icon - The icon to display on the left of the button
|
|
69
|
-
`),
|
|
70
|
-
v(o.$slots, "left-icon", {}, () => [
|
|
71
|
-
typeof o.leftIcon == "string" ? (n(), a(p(i), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: o.leftIcon
|
|
74
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(c(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
75
|
-
], !0)
|
|
76
|
-
],
|
|
77
|
-
2
|
|
78
|
-
/* CLASS */
|
|
79
|
-
)) : t("v-if", !0),
|
|
80
|
-
S.value ? (n(), f(
|
|
81
|
-
"div",
|
|
82
|
-
{
|
|
83
|
-
key: 1,
|
|
84
|
-
class: r(["m-btn__icon", { "maz-invisible": s.value }])
|
|
85
|
-
},
|
|
86
|
-
[
|
|
87
|
-
t(`
|
|
88
|
-
@slot icon - The icon to display on the fab button
|
|
89
|
-
`),
|
|
90
|
-
v(o.$slots, "icon", {}, () => [
|
|
91
|
-
typeof o.icon == "string" ? (n(), a(p(i), {
|
|
92
|
-
key: 0,
|
|
93
|
-
name: o.icon
|
|
94
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(c(o.icon), { key: 1 })) : t("v-if", !0)
|
|
95
|
-
], !0)
|
|
96
|
-
],
|
|
97
|
-
2
|
|
98
|
-
/* CLASS */
|
|
99
|
-
)) : t("v-if", !0),
|
|
100
|
-
o.$slots.default ? (n(), f(
|
|
101
|
-
"span",
|
|
102
|
-
{
|
|
103
|
-
key: 2,
|
|
104
|
-
class: r([{ "maz-invisible": s.value }, o.contentClass])
|
|
105
|
-
},
|
|
106
|
-
[
|
|
107
|
-
t(`
|
|
108
|
-
@slot default - The content of the button
|
|
109
|
-
`),
|
|
110
|
-
v(o.$slots, "default", {}, void 0, !0)
|
|
111
|
-
],
|
|
112
|
-
2
|
|
113
|
-
/* CLASS */
|
|
114
|
-
)) : t("v-if", !0),
|
|
115
|
-
k.value ? (n(), f(
|
|
116
|
-
"div",
|
|
117
|
-
{
|
|
118
|
-
key: 3,
|
|
119
|
-
class: r(["m-btn__icon-right", { "maz-invisible": s.value }])
|
|
120
|
-
},
|
|
121
|
-
[
|
|
122
|
-
t(`
|
|
123
|
-
@slot right-icon - The icon to display on the right of the button
|
|
124
|
-
`),
|
|
125
|
-
v(o.$slots, "right-icon", {}, () => [
|
|
126
|
-
typeof o.rightIcon == "string" ? (n(), a(p(i), {
|
|
127
|
-
key: 0,
|
|
128
|
-
name: o.rightIcon
|
|
129
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(c(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
130
|
-
], !0)
|
|
131
|
-
],
|
|
132
|
-
2
|
|
133
|
-
/* CLASS */
|
|
134
|
-
)) : t("v-if", !0),
|
|
135
|
-
s.value ? (n(), a(p(d), {
|
|
136
|
-
key: 4,
|
|
137
|
-
class: "m-btn-loader",
|
|
138
|
-
size: "2em",
|
|
139
|
-
color: o.color
|
|
140
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
141
|
-
]),
|
|
142
|
-
_: 3
|
|
143
|
-
/* FORWARDED */
|
|
144
|
-
}, 8, ["disabled", "class", "type"]));
|
|
145
|
-
}
|
|
146
|
-
}), P = (u, e) => {
|
|
147
|
-
const d = u.__vccOpts || u;
|
|
148
|
-
for (const [i, b] of e)
|
|
149
|
-
d[i] = b;
|
|
150
|
-
return d;
|
|
151
|
-
}, N = /* @__PURE__ */ P(L, [["__scopeId", "data-v-48f14785"]]);
|
|
152
|
-
export {
|
|
153
|
-
N as M,
|
|
154
|
-
P as _
|
|
155
|
-
};
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
2
|
-
import { _ as L } from "./MazDialog-CLWKCphI.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
4
|
-
__name: "MazBtn",
|
|
5
|
-
props: {
|
|
6
|
-
variant: { default: "button" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
color: { default: "primary" },
|
|
9
|
-
type: { default: "button" },
|
|
10
|
-
rounded: { type: Boolean },
|
|
11
|
-
roundedSize: { default: "lg" },
|
|
12
|
-
noRounded: { type: Boolean },
|
|
13
|
-
outline: { type: Boolean },
|
|
14
|
-
pastel: { type: Boolean },
|
|
15
|
-
block: { type: Boolean },
|
|
16
|
-
noUnderline: { type: Boolean },
|
|
17
|
-
loading: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
fab: { type: Boolean },
|
|
20
|
-
icon: { default: void 0 },
|
|
21
|
-
leftIcon: { default: void 0 },
|
|
22
|
-
rightIcon: { default: void 0 },
|
|
23
|
-
noPadding: { type: Boolean },
|
|
24
|
-
noElevation: { type: Boolean },
|
|
25
|
-
contentClass: { default: void 0 }
|
|
26
|
-
},
|
|
27
|
-
setup(g) {
|
|
28
|
-
const e = g, z = h(() => import("./MazSpinner-BWYdqSMP.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
|
|
29
|
-
A(() => {
|
|
30
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
|
-
});
|
|
32
|
-
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
), b = l(
|
|
35
|
-
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
-
return (o, U) => (n(), a(r(v.value), {
|
|
38
|
-
disabled: b.value || void 0,
|
|
39
|
-
class: s(["m-btn", [
|
|
40
|
-
`--${o.size}`,
|
|
41
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
42
|
-
I.value,
|
|
43
|
-
C.value,
|
|
44
|
-
$.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": o.block,
|
|
47
|
-
"--no-underline": o.noUnderline,
|
|
48
|
-
"--fab": o.fab,
|
|
49
|
-
"--loading": o.loading,
|
|
50
|
-
"--disabled": b.value,
|
|
51
|
-
"--icon": M.value,
|
|
52
|
-
"--rounded": o.rounded,
|
|
53
|
-
"--no-rounded": o.noRounded,
|
|
54
|
-
"--no-padding": o.noPadding,
|
|
55
|
-
"--no-elevation": o.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: D(() => [
|
|
61
|
-
m.value ? (n(), u(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
key: 0,
|
|
65
|
-
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
66
|
-
},
|
|
67
|
-
[
|
|
68
|
-
t(`
|
|
69
|
-
@slot left-icon - The icon to display on the left of the button
|
|
70
|
-
`),
|
|
71
|
-
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
73
|
-
key: 0,
|
|
74
|
-
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
|
-
], !0)
|
|
77
|
-
],
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(), u(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
key: 1,
|
|
85
|
-
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
86
|
-
},
|
|
87
|
-
[
|
|
88
|
-
t(`
|
|
89
|
-
@slot icon - The icon to display on the fab button
|
|
90
|
-
`),
|
|
91
|
-
d(o.$slots, "icon", {}, () => [
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
93
|
-
key: 0,
|
|
94
|
-
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
|
-
], !0)
|
|
97
|
-
],
|
|
98
|
-
2
|
|
99
|
-
/* CLASS */
|
|
100
|
-
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(), u(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
key: 2,
|
|
105
|
-
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
106
|
-
},
|
|
107
|
-
[
|
|
108
|
-
t(`
|
|
109
|
-
@slot default - The content of the button
|
|
110
|
-
`),
|
|
111
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
112
|
-
],
|
|
113
|
-
2
|
|
114
|
-
/* CLASS */
|
|
115
|
-
)) : t("v-if", !0),
|
|
116
|
-
y.value ? (n(), u(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
key: 3,
|
|
120
|
-
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
121
|
-
},
|
|
122
|
-
[
|
|
123
|
-
t(`
|
|
124
|
-
@slot right-icon - The icon to display on the right of the button
|
|
125
|
-
`),
|
|
126
|
-
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
128
|
-
key: 0,
|
|
129
|
-
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
|
-
], !0)
|
|
132
|
-
],
|
|
133
|
-
2
|
|
134
|
-
/* CLASS */
|
|
135
|
-
)) : t("v-if", !0),
|
|
136
|
-
i.value ? (n(), a(c(z), {
|
|
137
|
-
key: 4,
|
|
138
|
-
class: "m-btn-loader",
|
|
139
|
-
size: "2em",
|
|
140
|
-
color: o.color
|
|
141
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
/* FORWARDED */
|
|
145
|
-
}, 8, ["disabled", "class", "type"]));
|
|
146
|
-
}
|
|
147
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
148
|
-
export {
|
|
149
|
-
V as default
|
|
150
|
-
};
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
2
|
-
import { _ as L } from "./MazInput-BpsE-mdg.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
4
|
-
__name: "MazBtn",
|
|
5
|
-
props: {
|
|
6
|
-
variant: { default: "button" },
|
|
7
|
-
size: { default: "md" },
|
|
8
|
-
color: { default: "primary" },
|
|
9
|
-
type: { default: "button" },
|
|
10
|
-
rounded: { type: Boolean },
|
|
11
|
-
roundedSize: { default: "lg" },
|
|
12
|
-
noRounded: { type: Boolean },
|
|
13
|
-
outline: { type: Boolean },
|
|
14
|
-
pastel: { type: Boolean },
|
|
15
|
-
block: { type: Boolean },
|
|
16
|
-
noUnderline: { type: Boolean },
|
|
17
|
-
loading: { type: Boolean },
|
|
18
|
-
disabled: { type: Boolean },
|
|
19
|
-
fab: { type: Boolean },
|
|
20
|
-
icon: { default: void 0 },
|
|
21
|
-
leftIcon: { default: void 0 },
|
|
22
|
-
rightIcon: { default: void 0 },
|
|
23
|
-
noPadding: { type: Boolean },
|
|
24
|
-
noElevation: { type: Boolean },
|
|
25
|
-
contentClass: { default: void 0 }
|
|
26
|
-
},
|
|
27
|
-
setup(g) {
|
|
28
|
-
const e = g, z = h(() => import("./MazSpinner-EA5ejB8F.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
|
|
29
|
-
A(() => {
|
|
30
|
-
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
|
-
});
|
|
32
|
-
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
|
-
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
), b = l(
|
|
35
|
-
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
-
return (o, U) => (n(), a(r(v.value), {
|
|
38
|
-
disabled: b.value || void 0,
|
|
39
|
-
class: s(["m-btn", [
|
|
40
|
-
`--${o.size}`,
|
|
41
|
-
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
42
|
-
I.value,
|
|
43
|
-
C.value,
|
|
44
|
-
$.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": o.block,
|
|
47
|
-
"--no-underline": o.noUnderline,
|
|
48
|
-
"--fab": o.fab,
|
|
49
|
-
"--loading": o.loading,
|
|
50
|
-
"--disabled": b.value,
|
|
51
|
-
"--icon": M.value,
|
|
52
|
-
"--rounded": o.rounded,
|
|
53
|
-
"--no-rounded": o.noRounded,
|
|
54
|
-
"--no-padding": o.noPadding,
|
|
55
|
-
"--no-elevation": o.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: D(() => [
|
|
61
|
-
m.value ? (n(), u(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
key: 0,
|
|
65
|
-
class: s(["m-btn__icon-left maz-flex maz-flex-center", { "maz-invisible": i.value }])
|
|
66
|
-
},
|
|
67
|
-
[
|
|
68
|
-
t(`
|
|
69
|
-
@slot left-icon - The icon to display on the left of the button
|
|
70
|
-
`),
|
|
71
|
-
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
73
|
-
key: 0,
|
|
74
|
-
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
|
-
], !0)
|
|
77
|
-
],
|
|
78
|
-
2
|
|
79
|
-
/* CLASS */
|
|
80
|
-
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(), u(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
key: 1,
|
|
85
|
-
class: s(["m-btn__icon", { "maz-invisible": i.value }])
|
|
86
|
-
},
|
|
87
|
-
[
|
|
88
|
-
t(`
|
|
89
|
-
@slot icon - The icon to display on the fab button
|
|
90
|
-
`),
|
|
91
|
-
d(o.$slots, "icon", {}, () => [
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
93
|
-
key: 0,
|
|
94
|
-
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
|
-
], !0)
|
|
97
|
-
],
|
|
98
|
-
2
|
|
99
|
-
/* CLASS */
|
|
100
|
-
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(), u(
|
|
102
|
-
"span",
|
|
103
|
-
{
|
|
104
|
-
key: 2,
|
|
105
|
-
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
106
|
-
},
|
|
107
|
-
[
|
|
108
|
-
t(`
|
|
109
|
-
@slot default - The content of the button
|
|
110
|
-
`),
|
|
111
|
-
d(o.$slots, "default", {}, void 0, !0)
|
|
112
|
-
],
|
|
113
|
-
2
|
|
114
|
-
/* CLASS */
|
|
115
|
-
)) : t("v-if", !0),
|
|
116
|
-
y.value ? (n(), u(
|
|
117
|
-
"div",
|
|
118
|
-
{
|
|
119
|
-
key: 3,
|
|
120
|
-
class: s(["m-btn__icon-right", { "maz-invisible": i.value }])
|
|
121
|
-
},
|
|
122
|
-
[
|
|
123
|
-
t(`
|
|
124
|
-
@slot right-icon - The icon to display on the right of the button
|
|
125
|
-
`),
|
|
126
|
-
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
128
|
-
key: 0,
|
|
129
|
-
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
|
-
], !0)
|
|
132
|
-
],
|
|
133
|
-
2
|
|
134
|
-
/* CLASS */
|
|
135
|
-
)) : t("v-if", !0),
|
|
136
|
-
i.value ? (n(), a(c(z), {
|
|
137
|
-
key: 4,
|
|
138
|
-
class: "m-btn-loader",
|
|
139
|
-
size: "2em",
|
|
140
|
-
color: o.color
|
|
141
|
-
}, null, 8, ["color"])) : t("v-if", !0)
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
/* FORWARDED */
|
|
145
|
-
}, 8, ["disabled", "class", "type"]));
|
|
146
|
-
}
|
|
147
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
148
|
-
export {
|
|
149
|
-
V as default
|
|
150
|
-
};
|