maz-ui 3.46.1-beta.6 → 3.47.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/MazAccordion.mjs +30 -30
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +15 -15
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChecklist.d.ts +79 -0
- package/components/MazChecklist.mjs +4 -0
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +2 -0
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.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/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazChecklist.css +1 -0
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazDropdown.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/chunks/{MazBottomSheet-DeAah_or.mjs → MazBottomSheet-BvdiOa8P.mjs} +1 -1
- package/components/chunks/{MazBtn-CESOVC-a.mjs → MazBtn-4g56EBmg.mjs} +1 -1
- package/components/chunks/{MazBtn-CRpqDW12.mjs → MazBtn-4jMQE2G-.mjs} +3 -3
- package/components/chunks/MazBtn-B3i4Ypas.mjs +118 -0
- package/components/chunks/MazBtn-B7rKmEGw.mjs +118 -0
- package/components/chunks/{MazBtn-BV212IYv.mjs → MazBtn-BAxR_dt3.mjs} +3 -3
- package/components/chunks/{MazBtn-C2htID_X.mjs → MazBtn-BF48_wJx.mjs} +3 -3
- package/components/chunks/{MazBtn-BXvObcWn.mjs → MazBtn-BRdMg4tc.mjs} +3 -3
- package/components/chunks/{MazBtn-C5IbN0rp.mjs → MazBtn-BvirhKh3.mjs} +11 -11
- package/components/chunks/{MazBtn-C2dJYsnq.mjs → MazBtn-CEOWwReA.mjs} +3 -3
- package/components/chunks/MazBtn-CGYoHDXm.mjs +118 -0
- package/components/chunks/{MazBtn-zMzxqcCs.mjs → MazBtn-CVDDOeLF.mjs} +11 -11
- package/components/chunks/MazBtn-D6T9wOxO.mjs +118 -0
- package/components/chunks/{MazBtn-CEFfMm7k.mjs → MazBtn-DYMxHlYa.mjs} +3 -3
- package/components/chunks/{MazBtn-C4xZC-A2.mjs → MazBtn-D_IQO-P2.mjs} +3 -3
- package/components/chunks/{MazCard-BF-2_gZV.mjs → MazCard-StYuQv11.mjs} +1 -1
- package/components/chunks/{MazCarousel-DVBUt8NL.mjs → MazCarousel-DEO7Tz8F.mjs} +1 -1
- package/components/chunks/{MazCheckbox-mgtQBs4K.mjs → MazCheckbox-CtiUQoBe.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CeVxgVY8.mjs → MazCheckbox-D9RW0OPf.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CEfJco3U.mjs → MazCheckbox-TiwCiE2s.mjs} +1 -1
- package/components/chunks/MazChecklist-B9bw1Mn4.mjs +484 -0
- package/components/chunks/{MazDialog-fn7vXgBg.mjs → MazDialog-C3urFx7y.mjs} +50 -54
- package/components/chunks/{MazDialogPromise-C8dpQb5k.mjs → MazDialogPromise-BuOWwo6n.mjs} +40 -44
- package/components/chunks/{MazGallery-CXJsK5ve.mjs → MazGallery-DLNvXEka.mjs} +2 -2
- package/components/chunks/{MazIcon-BXX3RaoN.mjs → MazIcon-DyrYf9Sl.mjs} +1 -1
- package/components/chunks/{MazInput-Dnwxraz4.mjs → MazInput-BZ2U145p.mjs} +1 -1
- package/components/chunks/MazInput-Bq_SbBRE.mjs +290 -0
- package/components/chunks/{MazInput-AcA93-8Q.mjs → MazInput-_rEW9XWJ.mjs} +2 -2
- package/components/chunks/{MazInputNumber-OY_UqCMs.mjs → MazInputNumber-G8880Neu.mjs} +2 -2
- package/components/chunks/{MazInputPrice-DvVAZa12.mjs → MazInputPrice-DROLM9PX.mjs} +1 -1
- package/components/chunks/{MazInputTags-DKlGT2IB.mjs → MazInputTags-BRmcZBo4.mjs} +2 -2
- package/components/chunks/{MazLoadingBar-By1umvdC.mjs → MazLoadingBar-DHFjKEEm.mjs} +1 -1
- package/components/chunks/{MazPagination-BL9LU84U.mjs → MazPagination-6MyYnTer.mjs} +2 -2
- package/components/chunks/{MazPhoneNumberInput-C7gUk5lg.mjs → MazPhoneNumberInput-r6OjPeRI.mjs} +3 -3
- package/components/chunks/{MazPicker-Dhm3u2MN.mjs → MazPicker-B28fQccE.mjs} +3 -3
- package/components/chunks/{MazPickerMonthSwitcher-ck8cl1-N.mjs → MazPickerMonthSwitcher-DrtbXCca.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-hEpUqVC-.mjs → MazPickerShortcuts-TbhHaKoJ.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-CmMxOc69.mjs → MazPickerYearSwitcher-KwUBj6Cb.mjs} +1 -1
- package/components/chunks/{MazSelect-ed445MXs.mjs → MazSelect-BvC9QQ6M.mjs} +2 -2
- package/components/chunks/{MazSelect-CGsMRdr7.mjs → MazSelect-DyQC9j4n.mjs} +3 -3
- package/components/chunks/{MazSpinner-Akyx5wgU.mjs → MazSpinner-3vO8e4FF.mjs} +1 -1
- package/components/chunks/MazSpinner-B0291afs.mjs +37 -0
- package/components/chunks/MazSpinner-B0aGd8rG.mjs +37 -0
- package/components/chunks/{MazSpinner-DbaTlD5B.mjs → MazSpinner-BziSiJFV.mjs} +1 -1
- package/components/chunks/MazSpinner-CKX-8iim.mjs +37 -0
- package/components/chunks/MazSpinner-CQ2XrZIS.mjs +37 -0
- package/components/chunks/{MazSpinner-B2dsE23u.mjs → MazSpinner-CRW667yE.mjs} +1 -1
- package/components/chunks/{MazSpinner-BCOeuzTB.mjs → MazSpinner-D-7IOf2L.mjs} +1 -1
- package/components/chunks/MazSpinner-D0t4IJyq.mjs +37 -0
- package/components/chunks/{MazSpinner-C9meLNrb.mjs → MazSpinner-D5hiFgo4.mjs} +1 -1
- package/components/chunks/{MazSpinner-CKOy0M1T.mjs → MazSpinner-DkXUB0w5.mjs} +1 -1
- package/components/chunks/{MazSpinner-BakExtKd.mjs → MazSpinner-DyVjCwmM.mjs} +1 -1
- package/components/chunks/MazSpinner-HZYglQFY.mjs +37 -0
- package/components/chunks/MazSpinner-JpzVmSvW.mjs +37 -0
- package/components/chunks/MazSpinner-Nu5h2A6E.mjs +37 -0
- package/components/chunks/MazSpinner-S6Bx7B15.mjs +37 -0
- package/components/chunks/MazSpinner-wR0F3mAY.mjs +37 -0
- package/components/chunks/{MazTable-QwG-Kh88.mjs → MazTable-DozpABdn.mjs} +1 -1
- package/components/chunks/{MazTableCell-BSNyqTSX.mjs → MazTableCell-DPgvJ7vY.mjs} +1 -1
- package/components/chunks/{MazTableRow-CgubMdrX.mjs → MazTableRow-CCcjwAV1.mjs} +1 -1
- package/components/chunks/{MazTableTitle-h4dattYD.mjs → MazTableTitle-Df7F9Cjh.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-BvqRDM9d.mjs → MazTransitionExpand--vHzXjx7.mjs} +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.mjs +1 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-DvffpPyV.mjs → MazBtn-BVxI1WwF.mjs} +3 -3
- package/modules/chunks/{MazBtn-DeAZcD0R.cjs → MazBtn-DrB5FzZN.cjs} +2 -2
- package/modules/chunks/{MazIcon-BiwOZEZl.cjs → MazIcon-BMJqOZnG.cjs} +1 -1
- package/modules/chunks/{MazIcon-D2B0umvn.mjs → MazIcon-b8WRy8OV.mjs} +1 -1
- package/modules/chunks/{MazSpinner-CZIYnX05.cjs → MazSpinner-6H0uaGkV.cjs} +1 -1
- package/modules/chunks/{MazSpinner-Csgl_Uho.mjs → MazSpinner-B-Tki1aV.mjs} +1 -1
- package/modules/chunks/{index-C34aEXzu.mjs → index-Ch4k74ro.mjs} +1066 -875
- package/modules/chunks/index-G8fhXnFU.cjs +149 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +37 -35
- package/nuxt/index.d.mts +20 -20
- package/nuxt/index.d.ts +20 -20
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +26 -5
- package/package.json +1 -1
- package/resolvers/index.cjs +1 -1
- package/resolvers/index.mjs +3 -1
- package/types/components/MazChecklist.vue.d.ts +79 -0
- package/types/components/MazDialogPromise.vue.d.ts +2 -0
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/index.d.ts +1 -0
- package/types/modules/composables/index.d.ts +1 -0
- package/types/modules/composables/useLanguageDisplayNames.d.ts +17 -0
- package/types/modules/helpers/normalize-string.d.ts +1 -2
- package/components/chunks/MazBtn-CLFly8Ie.mjs +0 -118
- package/components/chunks/MazBtn-D2H26ExI.mjs +0 -118
- package/components/chunks/MazBtn-y4vRRWDg.mjs +0 -118
- package/components/chunks/MazSpinner-CL6orjX7.mjs +0 -37
- package/components/chunks/MazSpinner-CQTq0J6f.mjs +0 -37
- package/components/chunks/MazSpinner-CeZk8jA9.mjs +0 -37
- package/components/chunks/MazSpinner-CqS3onAE.mjs +0 -37
- package/components/chunks/MazSpinner-D1zj-581.mjs +0 -37
- package/components/chunks/MazSpinner-DJ2t85tY.mjs +0 -37
- package/components/chunks/MazSpinner-DgJ9tVv_.mjs +0 -37
- package/components/chunks/MazSpinner-DoKvoICM.mjs +0 -37
- package/components/chunks/MazSpinner-Oy4E193R.mjs +0 -37
- package/modules/chunks/index-B6Pf_QhC.cjs +0 -149
package/nuxt/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface MazUiNuxtOptions {
|
|
|
9
9
|
injectCss?: boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Install aos plugin and enable auto-import of useAos composable
|
|
12
|
-
* @default
|
|
12
|
+
* @default true
|
|
13
13
|
*/
|
|
14
14
|
injectAos?: boolean | (Omit<AosOptions, 'router'> & {
|
|
15
15
|
/**
|
|
@@ -25,92 +25,92 @@ interface MazUiNuxtOptions {
|
|
|
25
25
|
});
|
|
26
26
|
/**
|
|
27
27
|
* Install toaster plugin and enable auto-import of useToast composable
|
|
28
|
-
* @default
|
|
28
|
+
* @default true
|
|
29
29
|
*/
|
|
30
30
|
injectUseToast?: boolean | ToasterOptions;
|
|
31
31
|
/**
|
|
32
32
|
* Install dialog plugin and enable auto-import of useToast composable
|
|
33
|
-
* @default
|
|
33
|
+
* @default true
|
|
34
34
|
*/
|
|
35
35
|
injectUseDialog?: boolean | DialogOptions;
|
|
36
36
|
/**
|
|
37
37
|
* Install wait plugin and enable auto-import of useWait composable
|
|
38
|
-
* @default
|
|
38
|
+
* @default true
|
|
39
39
|
*/
|
|
40
40
|
injectUseWait?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* Enable auto-import of useSwipe composable
|
|
43
|
-
* @default
|
|
43
|
+
* @default true
|
|
44
44
|
*/
|
|
45
45
|
injectUseSwiper?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* Enable auto-import of useThemeHandler composable
|
|
48
|
-
* @default
|
|
48
|
+
* @default true
|
|
49
49
|
*/
|
|
50
50
|
injectUseThemeHandler?: boolean | ThemeHandlerOptions;
|
|
51
51
|
/**
|
|
52
52
|
* Enable auto-import of useIdleTimeout composable
|
|
53
|
-
* @default
|
|
53
|
+
* @default true
|
|
54
54
|
*/
|
|
55
55
|
injectUseIdleTimeout?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* Enable auto-import of useUserVisibility composable
|
|
58
|
-
* @default
|
|
58
|
+
* @default true
|
|
59
59
|
*/
|
|
60
60
|
injectUseUserVisibility?: boolean;
|
|
61
61
|
/**
|
|
62
62
|
* Enable auto-import of useTimer composable
|
|
63
|
-
* @default
|
|
63
|
+
* @default true
|
|
64
64
|
*/
|
|
65
65
|
injectUseTimer?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* Enable auto-import of useWindowSize composable
|
|
68
|
-
* @default
|
|
68
|
+
* @default true
|
|
69
69
|
*/
|
|
70
70
|
injectUseWindowSize?: boolean;
|
|
71
71
|
/**
|
|
72
72
|
* Enable auto-import of useBreakpoints composable
|
|
73
|
-
* @default
|
|
73
|
+
* @default true
|
|
74
74
|
*/
|
|
75
75
|
injectUseBreakpoints?: boolean;
|
|
76
76
|
/**
|
|
77
77
|
* Enable auto-import of useReadingTime composable
|
|
78
|
-
* @default
|
|
78
|
+
* @default true
|
|
79
79
|
*/
|
|
80
80
|
injectUseReadingTime?: boolean;
|
|
81
81
|
/**
|
|
82
82
|
* Enable auto-import of useStringMatching composable
|
|
83
|
-
* @default
|
|
83
|
+
* @default true
|
|
84
84
|
*/
|
|
85
85
|
injectUseStringMatching?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
* Enable auto-import of useFormValidator and useFormField composables
|
|
88
|
-
* @default
|
|
88
|
+
* @default true
|
|
89
89
|
*/
|
|
90
90
|
injectUseFormValidator?: boolean;
|
|
91
91
|
/**
|
|
92
92
|
* Globally install of v-zoom-img directive
|
|
93
|
-
* @default
|
|
93
|
+
* @default true
|
|
94
94
|
*/
|
|
95
95
|
installVZoomImg?: boolean;
|
|
96
96
|
/**
|
|
97
97
|
* Globally install of v-click-outside directive
|
|
98
|
-
* @default
|
|
98
|
+
* @default true
|
|
99
99
|
*/
|
|
100
100
|
installVClickOutside?: boolean;
|
|
101
101
|
/**
|
|
102
102
|
* Globally install of v-fullscreen-img directive
|
|
103
|
-
* @default
|
|
103
|
+
* @default true
|
|
104
104
|
*/
|
|
105
105
|
installVFullscreenImg?: boolean;
|
|
106
106
|
/**
|
|
107
107
|
* Globally install of v-lazy-img directive
|
|
108
|
-
* @default
|
|
108
|
+
* @default true
|
|
109
109
|
*/
|
|
110
110
|
installVLazyImg?: boolean | vLazyImgOptions;
|
|
111
111
|
/**
|
|
112
112
|
* Globally install of v-tooltip directive
|
|
113
|
-
* @default
|
|
113
|
+
* @default true
|
|
114
114
|
*/
|
|
115
115
|
installVTooltip?: boolean | vTooltipOptions;
|
|
116
116
|
/**
|
|
@@ -120,7 +120,7 @@ interface MazUiNuxtOptions {
|
|
|
120
120
|
injectComponents?: boolean;
|
|
121
121
|
/**
|
|
122
122
|
* Default path to public svg icons folder for `<MazIcon />` component
|
|
123
|
-
* @default
|
|
123
|
+
* @default ''
|
|
124
124
|
*/
|
|
125
125
|
defaultMazIconPath?: string;
|
|
126
126
|
/**
|
package/nuxt/index.json
CHANGED
package/nuxt/index.mjs
CHANGED
|
@@ -79,6 +79,31 @@ async function getComponentList() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
const _dirname = dirname(fileURLToPath(import.meta.url));
|
|
82
|
+
const defaults = {
|
|
83
|
+
defaultMazIconPath: "",
|
|
84
|
+
devtools: true,
|
|
85
|
+
injectAos: true,
|
|
86
|
+
injectComponents: true,
|
|
87
|
+
injectCss: true,
|
|
88
|
+
injectUseDialog: true,
|
|
89
|
+
injectUseIdleTimeout: true,
|
|
90
|
+
injectUseReadingTime: true,
|
|
91
|
+
injectUseWindowSize: true,
|
|
92
|
+
injectUseBreakpoints: true,
|
|
93
|
+
injectUseUserVisibility: true,
|
|
94
|
+
injectUseStringMatching: true,
|
|
95
|
+
injectUseTimer: true,
|
|
96
|
+
injectUseThemeHandler: true,
|
|
97
|
+
injectUseToast: true,
|
|
98
|
+
injectUseWait: true,
|
|
99
|
+
injectUseSwiper: true,
|
|
100
|
+
installVClickOutside: true,
|
|
101
|
+
installVFullscreenImg: true,
|
|
102
|
+
installVLazyImg: true,
|
|
103
|
+
installVTooltip: true,
|
|
104
|
+
installVZoomImg: true,
|
|
105
|
+
injectUseFormValidator: true
|
|
106
|
+
};
|
|
82
107
|
const module = defineNuxtModule({
|
|
83
108
|
meta: {
|
|
84
109
|
name: "maz-ui",
|
|
@@ -87,11 +112,7 @@ const module = defineNuxtModule({
|
|
|
87
112
|
nuxt: ">=3.0.0"
|
|
88
113
|
}
|
|
89
114
|
},
|
|
90
|
-
defaults
|
|
91
|
-
devtools: true,
|
|
92
|
-
injectCss: true,
|
|
93
|
-
injectComponents: true
|
|
94
|
-
},
|
|
115
|
+
defaults,
|
|
95
116
|
async setup(options, nuxt) {
|
|
96
117
|
const { resolve } = createResolver(import.meta.url);
|
|
97
118
|
nuxt.options.build.transpile = ["maz-ui", ...nuxt.options.build.transpile];
|
package/package.json
CHANGED
package/resolvers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(){return{type:"directive",resolve:e=>({from:"maz-ui",as:`v${e}`,name:`v${e}`})}}const r=["capitalize","checkAvailability","countryCodeToUnicodeFlag","currency","date","debounce","injectStrict","isClient","normalizeString","number","sleep","throttle","truthyFilter","useAos","useBreakpoints","useFormField","useFormValidator","useIdleTimeout","useInstanceUniqId","useReadingTime","useStringMatching","useSwipe","useThemeHandler","useTimer","useToast","useUserVisibility","useWait","useWindowSize","useFormValidator","useFormField"];function n(){return e=>{if(r.includes(e))return{from:"maz-ui",name:e}}}function u(e){return e.replaceAll(/-(\w)/g,(a,i)=>i?i.toUpperCase():"")}function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e){return o(u(e))}function l(){return{type:"component",resolve:e=>{if(/^(Maz[A-Z])/.test(e))return{from:`maz-ui/components/${e}`};if(/^(maz-[a-z])/.test(e))return{from:`maz-ui/components/${s(e)}`}}}}exports.UnpluginDirectivesResolver=t;exports.UnpluginModulesResolver=n;exports.UnpluginVueComponentsResolver=l;
|
package/resolvers/index.mjs
CHANGED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { Color, Props as MazInputProps } from './MazInput.vue';
|
|
2
|
+
import { type NormalizeStringOptions } from '../modules/helpers/normalize-string';
|
|
3
|
+
export type ItemOption = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
} & Record<string, any>;
|
|
7
|
+
export interface MazCheckListProps<T, O> {
|
|
8
|
+
/**
|
|
9
|
+
* The model value of the checklist (selected items)
|
|
10
|
+
*/
|
|
11
|
+
modelValue?: T[];
|
|
12
|
+
/**
|
|
13
|
+
* The query to filter the items (model)
|
|
14
|
+
*/
|
|
15
|
+
query?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The list of items to display
|
|
18
|
+
*/
|
|
19
|
+
items?: O[];
|
|
20
|
+
/**
|
|
21
|
+
* The title of the checklist
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Add elevation to the card
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
elevation?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The search input options
|
|
31
|
+
* @default { enabled: false }
|
|
32
|
+
*/
|
|
33
|
+
search?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
} & MazInputProps<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The options to normalize the search query
|
|
38
|
+
*/
|
|
39
|
+
searchOptions?: NormalizeStringOptions;
|
|
40
|
+
/**
|
|
41
|
+
* The color of the checklist (card, checkbox and search input)
|
|
42
|
+
* @default primary
|
|
43
|
+
*/
|
|
44
|
+
color?: Color;
|
|
45
|
+
}
|
|
46
|
+
export type { NormalizeStringOptions } from '../modules/helpers/normalize-string';
|
|
47
|
+
export type { Color } from './MazInput.vue';
|
|
48
|
+
declare const _default: <T extends string, O extends ItemOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
49
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
50
|
+
readonly "onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
|
|
51
|
+
readonly "onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
|
|
52
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{
|
|
53
|
+
"onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
|
|
54
|
+
"onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
|
|
55
|
+
}>, never>, "onUpdate:model-value" | "onUpdate:query"> & MazCheckListProps<T, O>> & import("vue").PublicProps;
|
|
56
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
57
|
+
attrs: any;
|
|
58
|
+
slots: {
|
|
59
|
+
title?(_: {}): any;
|
|
60
|
+
"no-results"?(_: {}): any;
|
|
61
|
+
"no-results-text"?(_: {}): any;
|
|
62
|
+
item?(_: {
|
|
63
|
+
selectedValues: T[];
|
|
64
|
+
item: {
|
|
65
|
+
label: string;
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
}): any;
|
|
69
|
+
};
|
|
70
|
+
emit: ((evt: "update:model-value", value?: T[] | undefined) => void) & ((evt: "update:query", value?: string | undefined) => void);
|
|
71
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}> & {
|
|
74
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
75
|
+
};
|
|
76
|
+
export default _default;
|
|
77
|
+
type __VLS_PrettifyLocal<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -23,6 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
|
|
|
23
23
|
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
data: DialogData;
|
|
26
|
+
message: string;
|
|
27
|
+
identifier: string;
|
|
26
28
|
buttons: DialogCustomButton[];
|
|
27
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
28
30
|
title?(_: {}): any;
|
|
@@ -93,9 +93,9 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
93
93
|
format: string;
|
|
94
94
|
modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
|
|
95
95
|
open: boolean;
|
|
96
|
+
locale: string;
|
|
96
97
|
double: boolean;
|
|
97
98
|
inline: boolean;
|
|
98
|
-
locale: string;
|
|
99
99
|
placeholder: string;
|
|
100
100
|
noUseBrowserLocale: boolean;
|
|
101
101
|
minDate: string;
|
|
@@ -10,6 +10,7 @@ export { default as MazCardSpotlight } from './MazCardSpotlight.vue';
|
|
|
10
10
|
export { default as MazCarousel } from './MazCarousel.vue';
|
|
11
11
|
export { default as MazChart } from './MazChart.vue';
|
|
12
12
|
export { default as MazCheckbox } from './MazCheckbox.vue';
|
|
13
|
+
export { default as MazChecklist } from './MazChecklist.vue';
|
|
13
14
|
export { default as MazCircularProgressBar } from './MazCircularProgressBar.vue';
|
|
14
15
|
export { default as MazDialog } from './MazDialog.vue';
|
|
15
16
|
export { default as MazDialogPromise } from './MazDialogPromise.vue';
|
|
@@ -4,6 +4,7 @@ export * from './useDialog';
|
|
|
4
4
|
export * from './useFormValidator';
|
|
5
5
|
export * from './useIdleTimeout';
|
|
6
6
|
export * from './useInstanceUniqId';
|
|
7
|
+
export * from './useLanguageDisplayNames';
|
|
7
8
|
export * from './useReadingTime';
|
|
8
9
|
export * from './useStringMatching';
|
|
9
10
|
export * from './useSwipe';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
+
export declare const isoCodes: readonly ["af-ZA", "sq-AL", "ar-DZ", "ar-BH", "ar-EG", "ar-IQ", "ar-JO", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-OM", "ar-QA", "ar-SA", "ar-SY", "ar-TN", "ar-AE", "ar-YE", "hy-AM", "Cy-az-AZ", "Lt-az-AZ", "eu-ES", "be-BY", "bg-BG", "ca-ES", "zh-CN", "zh-HK", "zh-MO", "zh-SG", "zh-TW", "zh-CHS", "zh-CHT", "hr-HR", "cs-CZ", "da-DK", "div-MV", "nl-BE", "nl-NL", "en-AU", "en-BZ", "en-CA", "en-CB", "en-IE", "en-JM", "en-NZ", "en-PH", "en-ZA", "en-TT", "en-GB", "en-US", "en-ZW", "et-EE", "fo-FO", "fa-IR", "fi-FI", "fr-BE", "fr-CA", "fr-FR", "fr-LU", "fr-MC", "fr-CH", "gl-ES", "ka-GE", "de-AT", "de-DE", "de-LI", "de-LU", "de-CH", "el-GR", "gu-IN", "he-IL", "hi-IN", "hu-HU", "is-IS", "id-ID", "it-IT", "it-CH", "ja-JP", "kn-IN", "kk-KZ", "kok-IN", "ko-KR", "ky-KZ", "lv-LV", "lt-LT", "mk-MK", "ms-BN", "ms-MY", "mr-IN", "mn-MN", "nb-NO", "nn-NO", "pl-PL", "pt-BR", "pt-PT", "pa-IN", "ro-RO", "ru-RU", "sa-IN", "Cy-sr-SP", "Lt-sr-SP", "sk-SK", "sl-SI", "es-AR", "es-BO", "es-CL", "es-CO", "es-CR", "es-DO", "es-EC", "es-SV", "es-GT", "es-HN", "es-MX", "es-NI", "es-PA", "es-PY", "es-PE", "es-PR", "es-ES", "es-UY", "es-VE", "sw-KE", "sv-FI", "sv-SE", "syr-SY", "ta-IN", "tt-RU", "te-IN", "th-TH", "tr-TR", "uk-UA", "ur-PK", "Cy-uz-UZ", "Lt-uz-UZ", "vi-VN"];
|
|
3
|
+
export type IsoCode = (typeof isoCodes)[number];
|
|
4
|
+
export declare function useLanguageDisplayNames(mainLocale?: MaybeRefOrGetter<string>): {
|
|
5
|
+
getLanguageDisplayName: ({ isoCode, locale }: {
|
|
6
|
+
isoCode?: MaybeRefOrGetter<string>;
|
|
7
|
+
locale?: MaybeRefOrGetter<string>;
|
|
8
|
+
}) => import("vue").ComputedRef<string | undefined>;
|
|
9
|
+
getAllPossibleLanguages: (locale?: MaybeRefOrGetter<string>) => import("vue").ComputedRef<{
|
|
10
|
+
language: string;
|
|
11
|
+
code: string;
|
|
12
|
+
}[]>;
|
|
13
|
+
getLanguageDisplayNamesForIsoCodes: (locale?: MaybeRefOrGetter<string>) => import("vue").ComputedRef<({
|
|
14
|
+
language: string;
|
|
15
|
+
code: "af-ZA" | "sq-AL" | "ar-DZ" | "ar-BH" | "ar-EG" | "ar-IQ" | "ar-JO" | "ar-KW" | "ar-LB" | "ar-LY" | "ar-MA" | "ar-OM" | "ar-QA" | "ar-SA" | "ar-SY" | "ar-TN" | "ar-AE" | "ar-YE" | "hy-AM" | "Cy-az-AZ" | "Lt-az-AZ" | "eu-ES" | "be-BY" | "bg-BG" | "ca-ES" | "zh-CN" | "zh-HK" | "zh-MO" | "zh-SG" | "zh-TW" | "zh-CHS" | "zh-CHT" | "hr-HR" | "cs-CZ" | "da-DK" | "div-MV" | "nl-BE" | "nl-NL" | "en-AU" | "en-BZ" | "en-CA" | "en-CB" | "en-IE" | "en-JM" | "en-NZ" | "en-PH" | "en-ZA" | "en-TT" | "en-GB" | "en-US" | "en-ZW" | "et-EE" | "fo-FO" | "fa-IR" | "fi-FI" | "fr-BE" | "fr-CA" | "fr-FR" | "fr-LU" | "fr-MC" | "fr-CH" | "gl-ES" | "ka-GE" | "de-AT" | "de-DE" | "de-LI" | "de-LU" | "de-CH" | "el-GR" | "gu-IN" | "he-IL" | "hi-IN" | "hu-HU" | "is-IS" | "id-ID" | "it-IT" | "it-CH" | "ja-JP" | "kn-IN" | "kk-KZ" | "kok-IN" | "ko-KR" | "ky-KZ" | "lv-LV" | "lt-LT" | "mk-MK" | "ms-BN" | "ms-MY" | "mr-IN" | "mn-MN" | "nb-NO" | "nn-NO" | "pl-PL" | "pt-BR" | "pt-PT" | "pa-IN" | "ro-RO" | "ru-RU" | "sa-IN" | "Cy-sr-SP" | "Lt-sr-SP" | "sk-SK" | "sl-SI" | "es-AR" | "es-BO" | "es-CL" | "es-CO" | "es-CR" | "es-DO" | "es-EC" | "es-SV" | "es-GT" | "es-HN" | "es-MX" | "es-NI" | "es-PA" | "es-PY" | "es-PE" | "es-PR" | "es-ES" | "es-UY" | "es-VE" | "sw-KE" | "sv-FI" | "sv-SE" | "syr-SY" | "ta-IN" | "tt-RU" | "te-IN" | "th-TH" | "tr-TR" | "uk-UA" | "ur-PK" | "Cy-uz-UZ" | "Lt-uz-UZ" | "vi-VN";
|
|
16
|
+
} | undefined)[]>;
|
|
17
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface NormalizeStringOptions {
|
|
1
|
+
export interface NormalizeStringOptions {
|
|
2
2
|
/**
|
|
3
3
|
* Remove accents from the string
|
|
4
4
|
* @default true
|
|
@@ -45,4 +45,3 @@ interface NormalizeStringOptions {
|
|
|
45
45
|
customNormalizationForms?: string[];
|
|
46
46
|
}
|
|
47
47
|
export declare function normalizeString(input: string | number | boolean, options?: NormalizeStringOptions): string;
|
|
48
|
-
export {};
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazDialogPromise-C8dpQb5k.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(b) {
|
|
31
|
-
const n = b, z = v(() => import("./MazSpinner-CqS3onAE.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), p = o(
|
|
34
|
-
() => (n.loading || n.disabled) && y.value === "button"
|
|
35
|
-
), I = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), m = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || m.value), $ = o(() => n.icon || !!f.icon), T = o(() => y.value === "button" ? n.type : void 0), i = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), F = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, P) => (l(), a(r(y.value), {
|
|
37
|
-
disabled: p.value || void 0,
|
|
38
|
-
class: s(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
j.value,
|
|
42
|
-
I.value,
|
|
43
|
-
k.value,
|
|
44
|
-
F.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": p.value,
|
|
51
|
-
"--icon": S.value,
|
|
52
|
-
"--rounded": e.rounded,
|
|
53
|
-
"--no-rounded": e.noRounded,
|
|
54
|
-
"--no-padding": e.noPadding,
|
|
55
|
-
"--no-elevation": e.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: O(() => [
|
|
61
|
-
t(`
|
|
62
|
-
@slot left-icon - The icon to display on the left of the button
|
|
63
|
-
`),
|
|
64
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
65
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
66
|
-
key: 0,
|
|
67
|
-
name: e.leftIcon,
|
|
68
|
-
class: s([i.value])
|
|
69
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
70
|
-
key: 1,
|
|
71
|
-
class: s([i.value])
|
|
72
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
73
|
-
], !0),
|
|
74
|
-
t(`
|
|
75
|
-
@slot icon - The icon to display on the fab button
|
|
76
|
-
`),
|
|
77
|
-
$.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
78
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
79
|
-
key: 0,
|
|
80
|
-
name: e.icon,
|
|
81
|
-
class: s([i.value])
|
|
82
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
83
|
-
key: 1,
|
|
84
|
-
class: s([i.value])
|
|
85
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
86
|
-
], !0) : t("v-if", !0),
|
|
87
|
-
t(`
|
|
88
|
-
@slot default - The content of the button
|
|
89
|
-
`),
|
|
90
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
91
|
-
t(`
|
|
92
|
-
@slot left-icon - The icon to display on the left of the button
|
|
93
|
-
`),
|
|
94
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
95
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
96
|
-
key: 0,
|
|
97
|
-
name: e.rightIcon,
|
|
98
|
-
class: s([i.value])
|
|
99
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
100
|
-
key: 1,
|
|
101
|
-
class: s([i.value])
|
|
102
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
103
|
-
], !0) : t("v-if", !0),
|
|
104
|
-
B.value ? (l(), R("div", L, [
|
|
105
|
-
A(d(z), {
|
|
106
|
-
size: "2em",
|
|
107
|
-
color: e.color
|
|
108
|
-
}, null, 8, ["color"])
|
|
109
|
-
])) : t("v-if", !0)
|
|
110
|
-
]),
|
|
111
|
-
_: 3
|
|
112
|
-
/* FORWARDED */
|
|
113
|
-
}, 8, ["disabled", "class", "type"]));
|
|
114
|
-
}
|
|
115
|
-
}), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-5aedac30"]]);
|
|
116
|
-
export {
|
|
117
|
-
q as default
|
|
118
|
-
};
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
|
|
2
|
-
import { _ as D } from "./MazBottomSheet-DeAah_or.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const L = {
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, N = /* @__PURE__ */ M({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(b) {
|
|
31
|
-
const n = b, z = v(() => import("./MazSpinner-CeZk8jA9.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), p = o(
|
|
34
|
-
() => (n.loading || n.disabled) && y.value === "button"
|
|
35
|
-
), I = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), m = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || m.value), $ = o(() => n.icon || !!f.icon), T = o(() => y.value === "button" ? n.type : void 0), i = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), F = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, P) => (l(), a(r(y.value), {
|
|
37
|
-
disabled: p.value || void 0,
|
|
38
|
-
class: s(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
j.value,
|
|
42
|
-
I.value,
|
|
43
|
-
k.value,
|
|
44
|
-
F.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": p.value,
|
|
51
|
-
"--icon": S.value,
|
|
52
|
-
"--rounded": e.rounded,
|
|
53
|
-
"--no-rounded": e.noRounded,
|
|
54
|
-
"--no-padding": e.noPadding,
|
|
55
|
-
"--no-elevation": e.noElevation
|
|
56
|
-
}
|
|
57
|
-
]]),
|
|
58
|
-
type: T.value
|
|
59
|
-
}, {
|
|
60
|
-
default: O(() => [
|
|
61
|
-
t(`
|
|
62
|
-
@slot left-icon - The icon to display on the left of the button
|
|
63
|
-
`),
|
|
64
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
65
|
-
typeof e.leftIcon == "string" ? (l(), a(d(c), {
|
|
66
|
-
key: 0,
|
|
67
|
-
name: e.leftIcon,
|
|
68
|
-
class: s([i.value])
|
|
69
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
|
|
70
|
-
key: 1,
|
|
71
|
-
class: s([i.value])
|
|
72
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
73
|
-
], !0),
|
|
74
|
-
t(`
|
|
75
|
-
@slot icon - The icon to display on the fab button
|
|
76
|
-
`),
|
|
77
|
-
$.value ? u(e.$slots, "icon", { key: 0 }, () => [
|
|
78
|
-
typeof e.icon == "string" ? (l(), a(d(c), {
|
|
79
|
-
key: 0,
|
|
80
|
-
name: e.icon,
|
|
81
|
-
class: s([i.value])
|
|
82
|
-
}, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
|
|
83
|
-
key: 1,
|
|
84
|
-
class: s([i.value])
|
|
85
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
86
|
-
], !0) : t("v-if", !0),
|
|
87
|
-
t(`
|
|
88
|
-
@slot default - The content of the button
|
|
89
|
-
`),
|
|
90
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
91
|
-
t(`
|
|
92
|
-
@slot left-icon - The icon to display on the left of the button
|
|
93
|
-
`),
|
|
94
|
-
m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
|
|
95
|
-
typeof e.rightIcon == "string" ? (l(), a(d(c), {
|
|
96
|
-
key: 0,
|
|
97
|
-
name: e.rightIcon,
|
|
98
|
-
class: s([i.value])
|
|
99
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
|
|
100
|
-
key: 1,
|
|
101
|
-
class: s([i.value])
|
|
102
|
-
}, null, 8, ["class"])) : t("v-if", !0)
|
|
103
|
-
], !0) : t("v-if", !0),
|
|
104
|
-
B.value ? (l(), R("div", L, [
|
|
105
|
-
A(d(z), {
|
|
106
|
-
size: "2em",
|
|
107
|
-
color: e.color
|
|
108
|
-
}, null, 8, ["color"])
|
|
109
|
-
])) : t("v-if", !0)
|
|
110
|
-
]),
|
|
111
|
-
_: 3
|
|
112
|
-
/* FORWARDED */
|
|
113
|
-
}, 8, ["disabled", "class", "type"]));
|
|
114
|
-
}
|
|
115
|
-
}), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-5aedac30"]]);
|
|
116
|
-
export {
|
|
117
|
-
q as default
|
|
118
|
-
};
|