@forizi-tecnologia/ui 0.0.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/LICENSE +21 -0
- package/README.md +220 -0
- package/dist/chunks/components/buttons-FzIconToolTip-D_cBN1TN.js +53 -0
- package/dist/chunks/components/buttons-FzIconToolTip-D_cBN1TN.js.map +1 -0
- package/dist/chunks/components/inputs-FzEmailField-B07tsUyr.js +86 -0
- package/dist/chunks/components/inputs-FzEmailField-B07tsUyr.js.map +1 -0
- package/dist/chunks/components/inputs-FzFullAddress-e05j6MFg.js +195 -0
- package/dist/chunks/components/inputs-FzFullAddress-e05j6MFg.js.map +1 -0
- package/dist/chunks/components/inputs-FzMoneyField-BxAg9Bd_.js +106 -0
- package/dist/chunks/components/inputs-FzMoneyField-BxAg9Bd_.js.map +1 -0
- package/dist/chunks/components/inputs-FzNumberField-BAPRZpBo.js +107 -0
- package/dist/chunks/components/inputs-FzNumberField-BAPRZpBo.js.map +1 -0
- package/dist/chunks/components/inputs-FzPhoneField-DKMx53pK.js +272 -0
- package/dist/chunks/components/inputs-FzPhoneField-DKMx53pK.js.map +1 -0
- package/dist/chunks/components/inputs-FzZipCodeField-kkCMb3t9.js +102 -0
- package/dist/chunks/components/inputs-FzZipCodeField-kkCMb3t9.js.map +1 -0
- package/dist/chunks/components/layout-FzLoadingOverlay-DbVh5Ncb.js +58 -0
- package/dist/chunks/components/layout-FzLoadingOverlay-DbVh5Ncb.js.map +1 -0
- package/dist/chunks/components/messages-FzConfirmDialog-kcpokBc2.js +18 -0
- package/dist/chunks/components/messages-FzConfirmDialog-kcpokBc2.js.map +1 -0
- package/dist/chunks/components/messages-FzCustomConfirmDialog-CttE2KMh.js +107 -0
- package/dist/chunks/components/messages-FzCustomConfirmDialog-CttE2KMh.js.map +1 -0
- package/dist/chunks/components/messages-FzFloatingNotify-BdlkCu5i.js +96 -0
- package/dist/chunks/components/messages-FzFloatingNotify-BdlkCu5i.js.map +1 -0
- package/dist/chunks/components/modals-FzModalBase-C4wU9yAp.js +131 -0
- package/dist/chunks/components/modals-FzModalBase-C4wU9yAp.js.map +1 -0
- package/dist/chunks/composables/useBreakpoint-DnFIVluv.js +13 -0
- package/dist/chunks/composables/useBreakpoint-DnFIVluv.js.map +1 -0
- package/dist/chunks/composables/useGlobals-AagqYKoP.js +15 -0
- package/dist/chunks/composables/useGlobals-AagqYKoP.js.map +1 -0
- package/dist/chunks/composables/useLoading-Cu1i2QIr.js +20 -0
- package/dist/chunks/composables/useLoading-Cu1i2QIr.js.map +1 -0
- package/dist/chunks/composables/useNumericInput-DGw52-Ds.js +71 -0
- package/dist/chunks/composables/useNumericInput-DGw52-Ds.js.map +1 -0
- package/dist/chunks/index-Bu6SLmX_.js +31 -0
- package/dist/chunks/index-Bu6SLmX_.js.map +1 -0
- package/dist/chunks/utils/api-N1Cju-89.js +26 -0
- package/dist/chunks/utils/api-N1Cju-89.js.map +1 -0
- package/dist/chunks/utils/confirm-DiGEPjua.js +18 -0
- package/dist/chunks/utils/confirm-DiGEPjua.js.map +1 -0
- package/dist/chunks/utils/loading-dXhCGa6R.js +17 -0
- package/dist/chunks/utils/loading-dXhCGa6R.js.map +1 -0
- package/dist/chunks/utils/notify-CE_gbk11.js +65 -0
- package/dist/chunks/utils/notify-CE_gbk11.js.map +1 -0
- package/dist/chunks/utils/types-DV6li0y5.js +6 -0
- package/dist/chunks/utils/types-DV6li0y5.js.map +1 -0
- package/dist/chunks/utils/vuetify-check-DRI6ZYnO.js +21 -0
- package/dist/chunks/utils/vuetify-check-DRI6ZYnO.js.map +1 -0
- package/dist/components/buttons/FzIconToolTip.vue.d.ts +22 -0
- package/dist/components/buttons/FzIconToolTip.vue.d.ts.map +1 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +27 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/inputs/FzEmailField.vue.d.ts +49 -0
- package/dist/components/inputs/FzEmailField.vue.d.ts.map +1 -0
- package/dist/components/inputs/FzFullAddress.vue.d.ts +40 -0
- package/dist/components/inputs/FzFullAddress.vue.d.ts.map +1 -0
- package/dist/components/inputs/FzMoneyField.vue.d.ts +47 -0
- package/dist/components/inputs/FzMoneyField.vue.d.ts.map +1 -0
- package/dist/components/inputs/FzNumberField.vue.d.ts +49 -0
- package/dist/components/inputs/FzNumberField.vue.d.ts.map +1 -0
- package/dist/components/inputs/FzPhoneField.vue.d.ts +38 -0
- package/dist/components/inputs/FzPhoneField.vue.d.ts.map +1 -0
- package/dist/components/inputs/FzZipCodeField.vue.d.ts +50 -0
- package/dist/components/inputs/FzZipCodeField.vue.d.ts.map +1 -0
- package/dist/components/layout/FzLoadingOverlay.vue.d.ts +13 -0
- package/dist/components/layout/FzLoadingOverlay.vue.d.ts.map +1 -0
- package/dist/components/messages/FzConfirmDialog.vue.d.ts +7 -0
- package/dist/components/messages/FzConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/messages/FzCustomConfirmDialog.vue.d.ts +7 -0
- package/dist/components/messages/FzCustomConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/messages/FzFloatingNotify.vue.d.ts +4 -0
- package/dist/components/messages/FzFloatingNotify.vue.d.ts.map +1 -0
- package/dist/components/modals/FzModalBase.vue.d.ts +45 -0
- package/dist/components/modals/FzModalBase.vue.d.ts.map +1 -0
- package/dist/composables/index.d.ts +5 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/index.js +13 -0
- package/dist/composables/index.js.map +1 -0
- package/dist/composables/useBreakpoint.d.ts +5 -0
- package/dist/composables/useBreakpoint.d.ts.map +1 -0
- package/dist/composables/useGlobals.d.ts +9 -0
- package/dist/composables/useGlobals.d.ts.map +1 -0
- package/dist/composables/useLoading.d.ts +7 -0
- package/dist/composables/useLoading.d.ts.map +1 -0
- package/dist/composables/useNumericInput.d.ts +14 -0
- package/dist/composables/useNumericInput.d.ts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +94 -0
- package/dist/index.js.map +1 -0
- package/dist/plugins/globals.d.ts +16 -0
- package/dist/plugins/globals.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +2 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +12 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/ui.css +1 -0
- package/dist/utils/api.d.ts +8 -0
- package/dist/utils/api.d.ts.map +1 -0
- package/dist/utils/confirm.d.ts +15 -0
- package/dist/utils/confirm.d.ts.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/loading.d.ts +12 -0
- package/dist/utils/loading.d.ts.map +1 -0
- package/dist/utils/notify.d.ts +40 -0
- package/dist/utils/notify.d.ts.map +1 -0
- package/dist/utils/types.d.ts +21 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/vuetify-check.d.ts +4 -0
- package/dist/utils/vuetify-check.d.ts.map +1 -0
- package/dist/vuetifyComponents.d.ts +22 -0
- package/dist/vuetifyComponents.d.ts.map +1 -0
- package/package.json +111 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { TextFieldVariant } from '@/utils/types';
|
|
2
|
+
type ValidationRule = (value: string) => boolean | string;
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
rules?: ValidationRule[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hint?: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
variant?: TextFieldVariant;
|
|
11
|
+
}
|
|
12
|
+
declare var __VLS_16: {}, __VLS_19: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
prepend?: (props: typeof __VLS_16) => any;
|
|
15
|
+
} & {
|
|
16
|
+
append?: (props: typeof __VLS_19) => any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: string) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
icon: string;
|
|
24
|
+
modelValue: string;
|
|
25
|
+
label: string;
|
|
26
|
+
variant: TextFieldVariant;
|
|
27
|
+
rules: ValidationRule[];
|
|
28
|
+
hint: string;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=FzPhoneField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzPhoneField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzPhoneField.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC;AAI1D,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAC3B;AAkID,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;UA5IP,MAAM;gBALA,MAAM;WACX,MAAM;aAKJ,gBAAgB;WAJlB,cAAc,EAAE;UAEjB,MAAM;6EAiJb,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { TextFieldVariant } from '@/utils/types';
|
|
2
|
+
type ValidationRule = (value: string) => boolean | string;
|
|
3
|
+
export interface ZipCodeResponse {
|
|
4
|
+
zipCode: string;
|
|
5
|
+
street: string;
|
|
6
|
+
complement: string;
|
|
7
|
+
neighborhood: string;
|
|
8
|
+
city: string;
|
|
9
|
+
state: string;
|
|
10
|
+
error?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface Props {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
rules?: ValidationRule[];
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
hint?: string;
|
|
18
|
+
variant?: TextFieldVariant;
|
|
19
|
+
}
|
|
20
|
+
declare var __VLS_16: {}, __VLS_19: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
prepend?: (props: typeof __VLS_16) => any;
|
|
23
|
+
} & {
|
|
24
|
+
append?: (props: typeof __VLS_19) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (value: string) => any;
|
|
28
|
+
"zip-code-found": (address: ZipCodeResponse) => any;
|
|
29
|
+
"zip-code-not-found": () => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
|
+
"onZip-code-found"?: ((address: ZipCodeResponse) => any) | undefined;
|
|
33
|
+
"onZip-code-not-found"?: (() => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
modelValue: string;
|
|
37
|
+
label: string;
|
|
38
|
+
variant: TextFieldVariant;
|
|
39
|
+
rules: ValidationRule[];
|
|
40
|
+
hint: string;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=FzZipCodeField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzZipCodeField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzZipCodeField.vue"],"names":[],"mappings":"AAoJA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAYD,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAC3B;AAuLD,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;cAlMH,OAAO;gBAHL,MAAM;WACX,MAAM;aAIJ,gBAAgB;WAHlB,cAAc,EAAE;UAEjB,MAAM;6EAqMb,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
isLoading?: boolean;
|
|
3
|
+
message?: string;
|
|
4
|
+
delay?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
message: string;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
delay: number;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=FzLoadingOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzLoadingOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/FzLoadingOverlay.vue"],"names":[],"mappings":"AA8FA,UAAU,KAAK;IACb,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AA0ID,QAAA,MAAM,YAAY;aA5IN,MAAM;eADJ,OAAO;WAEX,MAAM;6EA8Id,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ConfirmOptions } from '@/utils/types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
|
+
confirmDialog: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=FzConfirmDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/messages/FzConfirmDialog.vue"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAuCpD,QAAA,MAAM,YAAY;2BAnCY,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;0OAqChG,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ConfirmOptions } from '@/utils/types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
3
|
+
confirmDialog: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=FzCustomConfirmDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzCustomConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/messages/FzCustomConfirmDialog.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAsSpD,QAAA,MAAM,YAAY;2BAzRY,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;0OA2RhG,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=FzFloatingNotify.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzFloatingNotify.vue.d.ts","sourceRoot":"","sources":["../../../src/components/messages/FzFloatingNotify.vue"],"names":[],"mappings":"AAkaA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface ModalAction {
|
|
2
|
+
text: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
variant?: 'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain';
|
|
6
|
+
handler?: () => void | Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
modelValue: boolean;
|
|
10
|
+
title?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
maxWidth?: string | number;
|
|
13
|
+
persistent?: boolean;
|
|
14
|
+
actions?: ModalAction[];
|
|
15
|
+
contentClass?: string;
|
|
16
|
+
fullscreen?: boolean;
|
|
17
|
+
titleIcon?: string;
|
|
18
|
+
}
|
|
19
|
+
declare var __VLS_34: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_34) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: boolean) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
persistent: boolean;
|
|
29
|
+
maxWidth: string | number;
|
|
30
|
+
contentClass: string;
|
|
31
|
+
title: string;
|
|
32
|
+
message: string;
|
|
33
|
+
actions: ModalAction[];
|
|
34
|
+
fullscreen: boolean;
|
|
35
|
+
titleIcon: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=FzModalBase.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzModalBase.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modals/FzModalBase.vue"],"names":[],"mappings":"AAoLA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC;IACxE,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtC;AAED,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0SD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;gBAtTD,OAAO;cADT,MAAM,GAAG,MAAM;kBAGX,MAAM;WALb,MAAM;aACJ,MAAM;aAGN,WAAW,EAAE;gBAEV,OAAO;eACR,MAAM;6EAsTlB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { useGlobals } from './useGlobals';
|
|
2
|
+
export { useBreakpoint } from './useBreakpoint';
|
|
3
|
+
export { useLoading } from './useLoading';
|
|
4
|
+
export { useNumericInput, NAVIGATION_KEYS, createNumericKeydownHandler } from './useNumericInput';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { u as o } from "../chunks/composables/useGlobals-AagqYKoP.js";
|
|
2
|
+
import { u as s } from "../chunks/composables/useBreakpoint-DnFIVluv.js";
|
|
3
|
+
import { u as t } from "../chunks/composables/useLoading-Cu1i2QIr.js";
|
|
4
|
+
import { N as p, c as n, u as N } from "../chunks/composables/useNumericInput-DGw52-Ds.js";
|
|
5
|
+
export {
|
|
6
|
+
p as NAVIGATION_KEYS,
|
|
7
|
+
n as createNumericKeydownHandler,
|
|
8
|
+
s as useBreakpoint,
|
|
9
|
+
o as useGlobals,
|
|
10
|
+
t as useLoading,
|
|
11
|
+
N as useNumericInput
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpoint.d.ts","sourceRoot":"","sources":["../../src/composables/useBreakpoint.ts"],"names":[],"mappings":"AAGA,wBAAgB,aAAa;;;EAU5B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { notify as notifyFn } from '../utils/notify';
|
|
2
|
+
import type { loading as loadingFn } from '../utils/loading';
|
|
3
|
+
import type { confirm as confirmFn } from '../utils/confirm';
|
|
4
|
+
export declare function useGlobals(): {
|
|
5
|
+
notify: typeof notifyFn;
|
|
6
|
+
loading: typeof loadingFn;
|
|
7
|
+
confirm: typeof confirmFn;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useGlobals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGlobals.d.ts","sourceRoot":"","sources":["../../src/composables/useGlobals.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7D,wBAAgB,UAAU;YAUH,OAAO,QAAQ;aACb,OAAO,SAAS;aAChB,OAAO,SAAS;EAExC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLoading.d.ts","sourceRoot":"","sources":["../../src/composables/useLoading.ts"],"names":[],"mappings":"AAEA,wBAAgB,UAAU;;;iBAIJ,MAAM;;EAe3B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export declare const NAVIGATION_KEYS: string[];
|
|
3
|
+
export declare function useNumericInput(modelValue: Ref<number | null | undefined>, emit: (value: number) => void, format: (value: number) => string, parse: (input: string) => number): {
|
|
4
|
+
formattedValue: Ref<string, string>;
|
|
5
|
+
moveCursorToEnd: () => void;
|
|
6
|
+
handleInput: (value: string) => void;
|
|
7
|
+
handleFocus: () => void;
|
|
8
|
+
handleClick: () => void;
|
|
9
|
+
};
|
|
10
|
+
export interface NumericKeydownOptions {
|
|
11
|
+
allowNegative?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function createNumericKeydownHandler(formattedValue: Ref<string>, updateValue: (value: number) => void, computeFromDigits: (digits: string, isNegative: boolean) => number, getOptions?: () => NumericKeydownOptions): (event: KeyboardEvent) => void;
|
|
14
|
+
//# sourceMappingURL=useNumericInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNumericInput.d.ts","sourceRoot":"","sources":["../../src/composables/useNumericInput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAErD,eAAO,MAAM,eAAe,UAA2E,CAAC;AAExG,wBAAgB,eAAe,CAC7B,UAAU,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,EAC1C,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EAC7B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,EACjC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;yBAcJ,MAAM;;;EAkCnC;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,2BAA2B,CACzC,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,EAC3B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EACpC,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,MAAM,EAClE,UAAU,CAAC,EAAE,MAAM,qBAAqB,GACvC,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAsDhC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import * as componentExports from './components';
|
|
3
|
+
export declare const components: typeof componentExports;
|
|
4
|
+
export * from './components';
|
|
5
|
+
export * from './utils';
|
|
6
|
+
export * from './composables';
|
|
7
|
+
export { globalsPlugin } from './plugins';
|
|
8
|
+
export { requiredVuetifyComponents } from './vuetifyComponents';
|
|
9
|
+
export default function registerLibComponents(app: App): void;
|
|
10
|
+
export declare function registerLibPlugins(app: App): void;
|
|
11
|
+
export declare function setupLib(app: App): void;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,gBAAgB,MAAM,cAAc,CAAC;AAIjD,eAAO,MAAM,UAAU,yBAAmB,CAAC;AAE3C,cAAc,cAAc,CAAC;AAE7B,cAAc,SAAS,CAAC;AAExB,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,GAAG,EAAE,GAAG,QAIrD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,GAAG,QAE1C;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,QAKhC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { c as t } from "./chunks/index-Bu6SLmX_.js";
|
|
2
|
+
import { globalsPlugin as s } from "./plugins/index.js";
|
|
3
|
+
import { e as a } from "./chunks/utils/vuetify-check-DRI6ZYnO.js";
|
|
4
|
+
import { d as D } from "./chunks/utils/vuetify-check-DRI6ZYnO.js";
|
|
5
|
+
import { n as B, u as R } from "./chunks/utils/notify-CE_gbk11.js";
|
|
6
|
+
import { l as w, u as G } from "./chunks/utils/loading-dXhCGa6R.js";
|
|
7
|
+
import { c as U, u as Y } from "./chunks/utils/confirm-DiGEPjua.js";
|
|
8
|
+
import { a as k, c as q } from "./chunks/utils/api-N1Cju-89.js";
|
|
9
|
+
import { A as H, N as Z } from "./chunks/utils/types-DV6li0y5.js";
|
|
10
|
+
import { u as Q } from "./chunks/composables/useGlobals-AagqYKoP.js";
|
|
11
|
+
import { u as X } from "./chunks/composables/useBreakpoint-DnFIVluv.js";
|
|
12
|
+
import { u as oo } from "./chunks/composables/useLoading-Cu1i2QIr.js";
|
|
13
|
+
import { N as ro, c as to, u as so } from "./chunks/composables/useNumericInput-DGw52-Ds.js";
|
|
14
|
+
import { VTooltip as i, VTextField as n, VSpacer as m, VSelect as f, VRow as p, VProgressCircular as u, VMenu as l, VIcon as F, VDialog as c, VCol as x, VCardTitle as d, VCardText as V, VCardActions as g, VCard as C, VBtn as z, VAlert as N } from "vuetify/components";
|
|
15
|
+
import { _ as io } from "./chunks/components/buttons-FzIconToolTip-D_cBN1TN.js";
|
|
16
|
+
import { _ as mo } from "./chunks/components/messages-FzConfirmDialog-kcpokBc2.js";
|
|
17
|
+
import { _ as po } from "./chunks/components/inputs-FzEmailField-B07tsUyr.js";
|
|
18
|
+
import { _ as lo } from "./chunks/components/inputs-FzPhoneField-DKMx53pK.js";
|
|
19
|
+
import { _ as co } from "./chunks/components/inputs-FzZipCodeField-kkCMb3t9.js";
|
|
20
|
+
import { _ as Vo } from "./chunks/components/inputs-FzFullAddress-e05j6MFg.js";
|
|
21
|
+
import { F as Co } from "./chunks/components/modals-FzModalBase-C4wU9yAp.js";
|
|
22
|
+
import { F as No } from "./chunks/components/messages-FzCustomConfirmDialog-CttE2KMh.js";
|
|
23
|
+
import { F as Io } from "./chunks/components/messages-FzFloatingNotify-BdlkCu5i.js";
|
|
24
|
+
import { F as Ao } from "./chunks/components/layout-FzLoadingOverlay-DbVh5Ncb.js";
|
|
25
|
+
import { F as bo } from "./chunks/components/inputs-FzMoneyField-BxAg9Bd_.js";
|
|
26
|
+
import { F as Oo } from "./chunks/components/inputs-FzNumberField-BAPRZpBo.js";
|
|
27
|
+
const O = {
|
|
28
|
+
VAlert: N,
|
|
29
|
+
VBtn: z,
|
|
30
|
+
VCard: C,
|
|
31
|
+
VCardActions: g,
|
|
32
|
+
VCardText: V,
|
|
33
|
+
VCardTitle: d,
|
|
34
|
+
VCol: x,
|
|
35
|
+
VDialog: c,
|
|
36
|
+
VIcon: F,
|
|
37
|
+
VMenu: l,
|
|
38
|
+
VProgressCircular: u,
|
|
39
|
+
VRow: p,
|
|
40
|
+
VSelect: f,
|
|
41
|
+
VSpacer: m,
|
|
42
|
+
VTextField: n,
|
|
43
|
+
VTooltip: i
|
|
44
|
+
}, T = t;
|
|
45
|
+
function I(o) {
|
|
46
|
+
Object.entries(T).forEach(([e, r]) => {
|
|
47
|
+
o.component(e, r);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function y(o) {
|
|
51
|
+
o.use(s);
|
|
52
|
+
}
|
|
53
|
+
function E(o) {
|
|
54
|
+
a(o), I(o), y(o);
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
H as API_TIMEOUT,
|
|
58
|
+
mo as FzConfirmDialog,
|
|
59
|
+
No as FzCustomConfirmDialog,
|
|
60
|
+
po as FzEmailField,
|
|
61
|
+
Io as FzFloatingNotify,
|
|
62
|
+
Vo as FzFullAddress,
|
|
63
|
+
io as FzIconToolTip,
|
|
64
|
+
Ao as FzLoadingOverlay,
|
|
65
|
+
Co as FzModalBase,
|
|
66
|
+
bo as FzMoneyField,
|
|
67
|
+
Oo as FzNumberField,
|
|
68
|
+
lo as FzPhoneField,
|
|
69
|
+
co as FzZipCodeField,
|
|
70
|
+
ro as NAVIGATION_KEYS,
|
|
71
|
+
Z as NOTIFY_DURATION,
|
|
72
|
+
k as api,
|
|
73
|
+
T as components,
|
|
74
|
+
q as configureApi,
|
|
75
|
+
U as confirm,
|
|
76
|
+
to as createNumericKeydownHandler,
|
|
77
|
+
D as debugVuetifyInstances,
|
|
78
|
+
I as default,
|
|
79
|
+
a as ensureVuetify,
|
|
80
|
+
s as globalsPlugin,
|
|
81
|
+
w as loading,
|
|
82
|
+
B as notify,
|
|
83
|
+
y as registerLibPlugins,
|
|
84
|
+
O as requiredVuetifyComponents,
|
|
85
|
+
E as setupLib,
|
|
86
|
+
X as useBreakpoint,
|
|
87
|
+
Y as useConfirmStore,
|
|
88
|
+
Q as useGlobals,
|
|
89
|
+
oo as useLoading,
|
|
90
|
+
G as useLoadingRefs,
|
|
91
|
+
R as useNotifyStore,
|
|
92
|
+
so as useNumericInput
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/vuetifyComponents.ts","../src/index.ts"],"sourcesContent":["/**\n * Vuetify components required by this library.\n *\n * Use this when configuring Vuetify in the consumer project to\n * register only the components this library needs, avoiding a\n * full import of `vuetify/components`.\n *\n * @example\n * // consumer's vuetify.ts\n * import { requiredVuetifyComponents } from '@forizi/ui'\n * import { ... } from 'vuetify/components' // your own components\n *\n * export default createVuetify({\n * components: {\n * ...requiredVuetifyComponents,\n * // ...your other components\n * },\n * })\n */\nimport type { Component } from 'vue';\nimport {\n VAlert,\n VBtn,\n VCard,\n VCardActions,\n VCardText,\n VCardTitle,\n VCol,\n VDialog,\n VIcon,\n VMenu,\n VProgressCircular,\n VRow,\n VSelect,\n VSpacer,\n VTextField,\n VTooltip,\n} from 'vuetify/components';\n\nexport const requiredVuetifyComponents: Record<string, Component> = {\n VAlert,\n VBtn,\n VCard,\n VCardActions,\n VCardText,\n VCardTitle,\n VCol,\n VDialog,\n VIcon,\n VMenu,\n VProgressCircular,\n VRow,\n VSelect,\n VSpacer,\n VTextField,\n VTooltip,\n};\n","import type { App } from 'vue';\nimport * as componentExports from './components';\nimport { globalsPlugin } from './plugins';\nimport { ensureVuetify } from './utils/vuetify-check';\n\nexport const components = componentExports;\n\nexport * from './components';\n\nexport * from './utils';\n\nexport * from './composables';\n\nexport { globalsPlugin } from './plugins';\n\nexport { requiredVuetifyComponents } from './vuetifyComponents';\n\nexport default function registerLibComponents(app: App) {\n Object.entries(components).forEach(([name, component]) => {\n app.component(name, component);\n });\n}\n\nexport function registerLibPlugins(app: App) {\n app.use(globalsPlugin);\n}\n\nexport function setupLib(app: App) {\n ensureVuetify(app);\n\n registerLibComponents(app);\n registerLibPlugins(app);\n}\n"],"names":["requiredVuetifyComponents","VAlert","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCol","VDialog","VIcon","VMenu","VProgressCircular","VRow","VSelect","VSpacer","VTextField","VTooltip","components","componentExports","registerLibComponents","app","name","component","registerLibPlugins","globalsPlugin","setupLib","ensureVuetify"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAuCO,MAAMA,IAAuD;AAAA,EAClE,QAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,mBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,SAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,GCnDaC,IAAaC;AAY1B,SAAwBC,EAAsBC,GAAU;AACtD,SAAO,QAAQH,CAAU,EAAE,QAAQ,CAAC,CAACI,GAAMC,CAAS,MAAM;AACxD,IAAAF,EAAI,UAAUC,GAAMC,CAAS;AAAA,EAC/B,CAAC;AACH;AAEO,SAASC,EAAmBH,GAAU;AAC3C,EAAAA,EAAI,IAAII,CAAa;AACvB;AAEO,SAASC,EAASL,GAAU;AACjC,EAAAM,EAAcN,CAAG,GAEjBD,EAAsBC,CAAG,GACzBG,EAAmBH,CAAG;AACxB;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import { notify } from '../utils/notify';
|
|
3
|
+
import { loading } from '../utils/loading';
|
|
4
|
+
import { confirm } from '../utils/confirm';
|
|
5
|
+
declare module 'vue' {
|
|
6
|
+
interface ComponentCustomProperties {
|
|
7
|
+
$notify: typeof notify;
|
|
8
|
+
$loading: typeof loading;
|
|
9
|
+
$confirm: typeof confirm;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
declare const _default: {
|
|
13
|
+
install(app: App): void;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=globals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["../../src/plugins/globals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,OAAO,QAAQ,KAAK,CAAC;IACnB,UAAU,yBAAyB;QACjC,OAAO,EAAE,OAAO,MAAM,CAAC;QACvB,QAAQ,EAAE,OAAO,OAAO,CAAC;QACzB,QAAQ,EAAE,OAAO,OAAO,CAAC;KAC1B;CACF;;iBAGc,GAAG;;AADlB,wBAME"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { n as i } from "../chunks/utils/notify-CE_gbk11.js";
|
|
2
|
+
import { l as r } from "../chunks/utils/loading-dXhCGa6R.js";
|
|
3
|
+
import { c as l } from "../chunks/utils/confirm-DiGEPjua.js";
|
|
4
|
+
const g = {
|
|
5
|
+
install(o) {
|
|
6
|
+
o.config.globalProperties.$notify = i, o.config.globalProperties.$loading = r, o.config.globalProperties.$confirm = l;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
g as globalsPlugin
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/plugins/globals.ts"],"sourcesContent":["import type { App } from 'vue';\nimport { notify } from '../utils/notify';\nimport { loading } from '../utils/loading';\nimport { confirm } from '../utils/confirm';\n\ndeclare module 'vue' {\n interface ComponentCustomProperties {\n $notify: typeof notify;\n $loading: typeof loading;\n $confirm: typeof confirm;\n }\n}\n\nexport default {\n install(app: App) {\n app.config.globalProperties.$notify = notify;\n app.config.globalProperties.$loading = loading;\n app.config.globalProperties.$confirm = confirm;\n },\n};\n"],"names":["globalsPlugin","app","notify","loading","confirm"],"mappings":";;;AAaA,MAAAA,IAAe;AAAA,EACb,QAAQC,GAAU;AAChB,IAAAA,EAAI,OAAO,iBAAiB,UAAUC,GACtCD,EAAI,OAAO,iBAAiB,WAAWE,GACvCF,EAAI,OAAO,iBAAiB,WAAWG;AAAA,EACzC;AACF;"}
|
package/dist/ui.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-80e32b79] input{text-align:right}.modal-title[data-v-e2905dad]{word-break:break-word;white-space:normal}.v-overlay-container .v-menu>.v-overlay__content,.v-overlay-container .v-select__content,.v-overlay-container .v-autocomplete__content{z-index:2500}.custom-dialog-overlay[data-v-ecb0e1a5]{position:fixed;inset:0;background-color:#00000080;z-index:2400}.dialog-fade-enter-active[data-v-ecb0e1a5],.dialog-fade-leave-active[data-v-ecb0e1a5]{transition:opacity .2s ease}.dialog-fade-enter-from[data-v-ecb0e1a5],.dialog-fade-leave-to[data-v-ecb0e1a5]{opacity:0}.dialog-fade-enter-active .v-card[data-v-ecb0e1a5],.dialog-fade-leave-active .v-card[data-v-ecb0e1a5]{transition:transform .2s ease}.dialog-fade-enter-from .v-card[data-v-ecb0e1a5],.dialog-fade-leave-to .v-card[data-v-ecb0e1a5]{transform:scale(.9)}.floating-notify[data-v-b4d8014f]{position:fixed;top:20px;right:20px;min-width:300px;max-width:500px;z-index:9999;border-radius:4px;overflow:hidden}.floating-notify[data-v-b4d8014f] .v-alert--border{border-inline-start-width:0}.progress-track[data-v-b4d8014f]{height:3px}.progress-fill[data-v-b4d8014f]{height:100%;transition:width .1s linear}.slide-fade-enter-active[data-v-b4d8014f]{transition:all .3s ease-out}.slide-fade-leave-active[data-v-b4d8014f]{transition:all .3s ease-in}.slide-fade-enter-from[data-v-b4d8014f],.slide-fade-leave-to[data-v-b4d8014f]{transform:translate(100%);opacity:0}.loading-overlay[data-v-7110b861]{position:fixed;inset:0;background-color:#000000b3;z-index:9998}.fade-enter-active[data-v-7110b861],.fade-leave-active[data-v-7110b861]{transition:opacity .2s ease}.fade-enter-from[data-v-7110b861],.fade-leave-to[data-v-7110b861]{opacity:0}.fade-delayed-enter-active[data-v-7110b861]{transition:opacity .3s ease .1s}.fade-delayed-leave-active[data-v-7110b861]{transition:opacity .2s ease}.fade-delayed-enter-from[data-v-7110b861],.fade-delayed-leave-to[data-v-7110b861]{opacity:0}[data-v-1b1e7d4e] input{text-align:right}[data-v-1b1e7d4e] input[type=number]::-webkit-inner-spin-button,[data-v-1b1e7d4e] input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}[data-v-1b1e7d4e] input[type=number]{-moz-appearance:textfield;appearance:textfield}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/utils/api.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AASD,QAAA,MAAM,GAAG,+BAMP,CAAC;AAEH,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS,CAAC,QAMtD;AAOD,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ConfirmComponentRef, ConfirmOptions } from './types';
|
|
2
|
+
export declare const useConfirmStore: import("pinia").StoreDefinition<"confirm", Pick<{
|
|
3
|
+
setConfirmRef: (instance: ConfirmComponentRef) => void;
|
|
4
|
+
show: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
5
|
+
}, never>, Pick<{
|
|
6
|
+
setConfirmRef: (instance: ConfirmComponentRef) => void;
|
|
7
|
+
show: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
8
|
+
}, never>, Pick<{
|
|
9
|
+
setConfirmRef: (instance: ConfirmComponentRef) => void;
|
|
10
|
+
show: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
11
|
+
}, "setConfirmRef" | "show">>;
|
|
12
|
+
export declare const confirm: {
|
|
13
|
+
show: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=confirm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../src/utils/confirm.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEnE,eAAO,MAAM,eAAe;8BAGO,mBAAmB;kBAI/B,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;;8BAJxD,mBAAmB;kBAI/B,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;;8BAJxD,mBAAmB;kBAI/B,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;6BAUzF,CAAC;AAEH,eAAO,MAAM,OAAO;kBACJ,MAAM,WAAW,MAAM,YAAY,cAAc,KAAG,OAAO,CAAC,OAAO,CAAC;CAKnF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { notify, useNotifyStore } from './notify';
|
|
2
|
+
export { loading, useLoadingRefs } from './loading';
|
|
3
|
+
export { confirm, useConfirmStore } from './confirm';
|
|
4
|
+
export { default as api, configureApi } from './api';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export { ensureVuetify, debugVuetifyInstances } from './vuetify-check';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErD,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { n as i, u as f } from "../chunks/utils/notify-CE_gbk11.js";
|
|
2
|
+
import { l as p, u } from "../chunks/utils/loading-dXhCGa6R.js";
|
|
3
|
+
import { c as x, u as c } from "../chunks/utils/confirm-DiGEPjua.js";
|
|
4
|
+
import { a as d, c as g } from "../chunks/utils/api-N1Cju-89.js";
|
|
5
|
+
import { A, N } from "../chunks/utils/types-DV6li0y5.js";
|
|
6
|
+
import { d as O, e as l } from "../chunks/utils/vuetify-check-DRI6ZYnO.js";
|
|
7
|
+
import "../chunks/composables/useGlobals-AagqYKoP.js";
|
|
8
|
+
import "../chunks/composables/useBreakpoint-DnFIVluv.js";
|
|
9
|
+
import "../chunks/composables/useLoading-Cu1i2QIr.js";
|
|
10
|
+
import "../chunks/composables/useNumericInput-DGw52-Ds.js";
|
|
11
|
+
export {
|
|
12
|
+
A as API_TIMEOUT,
|
|
13
|
+
N as NOTIFY_DURATION,
|
|
14
|
+
d as api,
|
|
15
|
+
g as configureApi,
|
|
16
|
+
x as confirm,
|
|
17
|
+
O as debugVuetifyInstances,
|
|
18
|
+
l as ensureVuetify,
|
|
19
|
+
p as loading,
|
|
20
|
+
i as notify,
|
|
21
|
+
c as useConfirmStore,
|
|
22
|
+
u as useLoadingRefs,
|
|
23
|
+
f as useNotifyStore
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const loading: {
|
|
2
|
+
show: (message?: string) => void;
|
|
3
|
+
hide: () => void;
|
|
4
|
+
};
|
|
5
|
+
/** Returns the singleton loading instance refs for template binding */
|
|
6
|
+
export declare function useLoadingRefs(): {
|
|
7
|
+
isActive: import("vue").Ref<boolean, boolean>;
|
|
8
|
+
message: import("vue").Ref<string, string>;
|
|
9
|
+
show: (msg?: string) => void;
|
|
10
|
+
hide: () => void;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading.d.ts","sourceRoot":"","sources":["../../src/utils/loading.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO;qBACD,MAAM;;CAExB,CAAC;AAEF,uEAAuE;AACvE,wBAAgB,cAAc;;;;;EAE7B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { NotifyType } from './types';
|
|
2
|
+
export declare const useNotifyStore: import("pinia").StoreDefinition<"notify", Pick<{
|
|
3
|
+
isVisible: import("vue").Ref<boolean, boolean>;
|
|
4
|
+
type: import("vue").Ref<NotifyType, NotifyType>;
|
|
5
|
+
title: import("vue").Ref<string, string>;
|
|
6
|
+
message: import("vue").Ref<string, string>;
|
|
7
|
+
show: (notifyType: NotifyType, notifyTitle: string, notifyMessage?: string) => void;
|
|
8
|
+
hide: () => void;
|
|
9
|
+
pause: () => void;
|
|
10
|
+
resume: () => void;
|
|
11
|
+
cleanup: () => void;
|
|
12
|
+
}, "type" | "title" | "message" | "isVisible">, Pick<{
|
|
13
|
+
isVisible: import("vue").Ref<boolean, boolean>;
|
|
14
|
+
type: import("vue").Ref<NotifyType, NotifyType>;
|
|
15
|
+
title: import("vue").Ref<string, string>;
|
|
16
|
+
message: import("vue").Ref<string, string>;
|
|
17
|
+
show: (notifyType: NotifyType, notifyTitle: string, notifyMessage?: string) => void;
|
|
18
|
+
hide: () => void;
|
|
19
|
+
pause: () => void;
|
|
20
|
+
resume: () => void;
|
|
21
|
+
cleanup: () => void;
|
|
22
|
+
}, never>, Pick<{
|
|
23
|
+
isVisible: import("vue").Ref<boolean, boolean>;
|
|
24
|
+
type: import("vue").Ref<NotifyType, NotifyType>;
|
|
25
|
+
title: import("vue").Ref<string, string>;
|
|
26
|
+
message: import("vue").Ref<string, string>;
|
|
27
|
+
show: (notifyType: NotifyType, notifyTitle: string, notifyMessage?: string) => void;
|
|
28
|
+
hide: () => void;
|
|
29
|
+
pause: () => void;
|
|
30
|
+
resume: () => void;
|
|
31
|
+
cleanup: () => void;
|
|
32
|
+
}, "show" | "hide" | "pause" | "resume" | "cleanup">>;
|
|
33
|
+
export declare const notify: {
|
|
34
|
+
show: (type: NotifyType, title: string, message?: string) => void;
|
|
35
|
+
success: (title: string, message?: string) => void;
|
|
36
|
+
error: (title: string, message?: string) => void;
|
|
37
|
+
warning: (title: string, message?: string) => void;
|
|
38
|
+
info: (title: string, message?: string) => void;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=notify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../src/utils/notify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,eAAO,MAAM,cAAc;;;;;uBAiBC,UAAU,eAAe,MAAM;;;;;;;;;;uBAA/B,UAAU,eAAe,MAAM;;;;;;;;;;uBAA/B,UAAU,eAAe,MAAM;;;;;qDA4DzD,CAAC;AAEH,eAAO,MAAM,MAAM;iBACJ,UAAU,SAAS,MAAM,YAAY,MAAM;qBAIvC,MAAM,YAAY,MAAM;mBAI1B,MAAM,YAAY,MAAM;qBAItB,MAAM,YAAY,MAAM;kBAI3B,MAAM,YAAY,MAAM;CAIvC,CAAC"}
|