@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,20 @@
|
|
|
1
|
+
import { ref as n } from "vue";
|
|
2
|
+
function u() {
|
|
3
|
+
const e = n(!1), a = n("Carregando...");
|
|
4
|
+
function o(s) {
|
|
5
|
+
a.value = s ?? "Carregando...", e.value = !0;
|
|
6
|
+
}
|
|
7
|
+
function r() {
|
|
8
|
+
e.value = !1;
|
|
9
|
+
}
|
|
10
|
+
return {
|
|
11
|
+
isActive: e,
|
|
12
|
+
message: a,
|
|
13
|
+
show: o,
|
|
14
|
+
hide: r
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
u
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=useLoading-Cu1i2QIr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLoading-Cu1i2QIr.js","sources":["../../../src/composables/useLoading.ts"],"sourcesContent":["import { ref } from 'vue';\n\nexport function useLoading() {\n const isActive = ref(false);\n const message = ref('Carregando...');\n\n function show(msg?: string) {\n message.value = msg ?? 'Carregando...';\n isActive.value = true;\n }\n\n function hide() {\n isActive.value = false;\n }\n\n return {\n isActive,\n message,\n show,\n hide,\n };\n}\n"],"names":["useLoading","isActive","ref","message","show","msg","hide"],"mappings":";AAEO,SAASA,IAAa;AAC3B,QAAMC,IAAWC,EAAI,EAAK,GACpBC,IAAUD,EAAI,eAAe;AAEnC,WAASE,EAAKC,GAAc;AAC1B,IAAAF,EAAQ,QAAQE,KAAO,iBACvBJ,EAAS,QAAQ;AAAA,EACnB;AAEA,WAASK,IAAO;AACd,IAAAL,EAAS,QAAQ;AAAA,EACnB;AAEA,SAAO;AAAA,IACL,UAAAA;AAAA,IACA,SAAAE;AAAA,IACA,MAAAC;AAAA,IACA,MAAAE;AAAA,EAAA;AAEJ;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ref as y, watch as D, nextTick as v } from "vue";
|
|
2
|
+
const N = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Home", "End"];
|
|
3
|
+
function K(n, a, c, u) {
|
|
4
|
+
const e = y("");
|
|
5
|
+
function i() {
|
|
6
|
+
const t = document.activeElement;
|
|
7
|
+
v(() => {
|
|
8
|
+
!t || t.value == null || t.setSelectionRange(t.value.length, t.value.length);
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function f(t) {
|
|
12
|
+
const s = u(t);
|
|
13
|
+
a(s), v(() => {
|
|
14
|
+
e.value = c(s);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function w() {
|
|
18
|
+
i();
|
|
19
|
+
}
|
|
20
|
+
function l() {
|
|
21
|
+
i();
|
|
22
|
+
}
|
|
23
|
+
return D(
|
|
24
|
+
() => n.value,
|
|
25
|
+
(t) => {
|
|
26
|
+
const s = t ?? 0;
|
|
27
|
+
e.value = c(s);
|
|
28
|
+
},
|
|
29
|
+
{ immediate: !0 }
|
|
30
|
+
), {
|
|
31
|
+
formattedValue: e,
|
|
32
|
+
moveCursorToEnd: i,
|
|
33
|
+
handleInput: f,
|
|
34
|
+
handleFocus: w,
|
|
35
|
+
handleClick: l
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function d(n, a, c, u) {
|
|
39
|
+
return (e) => {
|
|
40
|
+
const { allowNegative: i = !0 } = u?.() ?? {};
|
|
41
|
+
if (!e.target) return;
|
|
42
|
+
if (N.includes(e.key) || e.ctrlKey || e.metaKey) {
|
|
43
|
+
if (e.key === "Backspace" || e.key === "Delete") {
|
|
44
|
+
e.preventDefault();
|
|
45
|
+
const r = n.value.replace(/\D/g, "");
|
|
46
|
+
if (r.length === 0) return;
|
|
47
|
+
const o = i && n.value.startsWith("-"), g = r.slice(0, -1), p = c(g, o);
|
|
48
|
+
a(p);
|
|
49
|
+
}
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (!/[\d-]/.test(e.key)) {
|
|
53
|
+
e.preventDefault();
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
if (e.preventDefault(), e.key === "-") {
|
|
57
|
+
if (!i) return;
|
|
58
|
+
const r = n.value.replace(/\D/g, ""), o = !n.value.startsWith("-"), g = c(r, o);
|
|
59
|
+
a(g);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const l = n.value.replace(/\D/g, ""), t = i && n.value.startsWith("-"), s = l + e.key, h = c(s, t);
|
|
63
|
+
a(h);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
N,
|
|
68
|
+
d as c,
|
|
69
|
+
K as u
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=useNumericInput-DGw52-Ds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNumericInput-DGw52-Ds.js","sources":["../../../src/composables/useNumericInput.ts"],"sourcesContent":["import { ref, watch, nextTick, type Ref } from 'vue';\n\nexport const NAVIGATION_KEYS = ['Backspace', 'Delete', 'ArrowLeft', 'ArrowRight', 'Tab', 'Home', 'End'];\n\nexport function useNumericInput(\n modelValue: Ref<number | null | undefined>,\n emit: (value: number) => void,\n format: (value: number) => string,\n parse: (input: string) => number,\n) {\n const formattedValue = ref('');\n\n function moveCursorToEnd() {\n const input = document.activeElement as HTMLInputElement | null;\n\n nextTick(() => {\n if (!input || input.value == null) return;\n\n input.setSelectionRange(input.value.length, input.value.length);\n });\n }\n\n function handleInput(value: string) {\n const numericValue = parse(value);\n\n emit(numericValue);\n\n nextTick(() => {\n formattedValue.value = format(numericValue);\n });\n }\n\n function handleFocus() {\n moveCursorToEnd();\n }\n\n function handleClick() {\n moveCursorToEnd();\n }\n\n watch(\n () => modelValue.value,\n (newVal) => {\n const value = newVal ?? 0;\n formattedValue.value = format(value);\n },\n { immediate: true },\n );\n\n return {\n formattedValue,\n moveCursorToEnd,\n handleInput,\n handleFocus,\n handleClick,\n };\n}\n\nexport interface NumericKeydownOptions {\n allowNegative?: boolean;\n}\n\nexport function createNumericKeydownHandler(\n formattedValue: Ref<string>,\n updateValue: (value: number) => void,\n computeFromDigits: (digits: string, isNegative: boolean) => number,\n getOptions?: () => NumericKeydownOptions,\n): (event: KeyboardEvent) => void {\n return (event: KeyboardEvent) => {\n const { allowNegative = true } = getOptions?.() ?? {};\n const input = event.target as HTMLInputElement | null;\n\n if (!input) return;\n\n const isNavigationKey = NAVIGATION_KEYS.includes(event.key) || event.ctrlKey || event.metaKey;\n\n if (isNavigationKey) {\n if (event.key === 'Backspace' || event.key === 'Delete') {\n event.preventDefault();\n\n const rawDigits = formattedValue.value.replace(/\\D/g, '');\n\n if (rawDigits.length === 0) return;\n\n const isNegative = allowNegative && formattedValue.value.startsWith('-');\n const newDigits = rawDigits.slice(0, -1);\n const newValue = computeFromDigits(newDigits, isNegative);\n\n updateValue(newValue);\n }\n\n return;\n }\n\n if (!/[\\d-]/.test(event.key)) {\n event.preventDefault();\n\n return;\n }\n\n event.preventDefault();\n\n if (event.key === '-') {\n if (!allowNegative) return;\n\n const rawDigits = formattedValue.value.replace(/\\D/g, '');\n const newIsNegative = !formattedValue.value.startsWith('-');\n const newValue = computeFromDigits(rawDigits, newIsNegative);\n\n updateValue(newValue);\n\n return;\n }\n\n const rawDigits = formattedValue.value.replace(/\\D/g, '');\n const isNegative = allowNegative && formattedValue.value.startsWith('-');\n const newDigits = rawDigits + event.key;\n const newValue = computeFromDigits(newDigits, isNegative);\n\n updateValue(newValue);\n };\n}\n"],"names":["NAVIGATION_KEYS","useNumericInput","modelValue","emit","format","parse","formattedValue","ref","moveCursorToEnd","input","nextTick","handleInput","value","numericValue","handleFocus","handleClick","watch","newVal","createNumericKeydownHandler","updateValue","computeFromDigits","getOptions","event","allowNegative","rawDigits","isNegative","newDigits","newValue","newIsNegative"],"mappings":";AAEO,MAAMA,IAAkB,CAAC,aAAa,UAAU,aAAa,cAAc,OAAO,QAAQ,KAAK;AAE/F,SAASC,EACdC,GACAC,GACAC,GACAC,GACA;AACA,QAAMC,IAAiBC,EAAI,EAAE;AAE7B,WAASC,IAAkB;AACzB,UAAMC,IAAQ,SAAS;AAEvB,IAAAC,EAAS,MAAM;AACb,MAAI,CAACD,KAASA,EAAM,SAAS,QAE7BA,EAAM,kBAAkBA,EAAM,MAAM,QAAQA,EAAM,MAAM,MAAM;AAAA,IAChE,CAAC;AAAA,EACH;AAEA,WAASE,EAAYC,GAAe;AAClC,UAAMC,IAAeR,EAAMO,CAAK;AAEhC,IAAAT,EAAKU,CAAY,GAEjBH,EAAS,MAAM;AACb,MAAAJ,EAAe,QAAQF,EAAOS,CAAY;AAAA,IAC5C,CAAC;AAAA,EACH;AAEA,WAASC,IAAc;AACrB,IAAAN,EAAA;AAAA,EACF;AAEA,WAASO,IAAc;AACrB,IAAAP,EAAA;AAAA,EACF;AAEA,SAAAQ;AAAA,IACE,MAAMd,EAAW;AAAA,IACjB,CAACe,MAAW;AACV,YAAML,IAAQK,KAAU;AACxB,MAAAX,EAAe,QAAQF,EAAOQ,CAAK;AAAA,IACrC;AAAA,IACA,EAAE,WAAW,GAAA;AAAA,EAAK,GAGb;AAAA,IACL,gBAAAN;AAAA,IACA,iBAAAE;AAAA,IACA,aAAAG;AAAA,IACA,aAAAG;AAAA,IACA,aAAAC;AAAA,EAAA;AAEJ;AAMO,SAASG,EACdZ,GACAa,GACAC,GACAC,GACgC;AAChC,SAAO,CAACC,MAAyB;AAC/B,UAAM,EAAE,eAAAC,IAAgB,OAASF,IAAA,KAAkB,CAAA;AAGnD,QAAI,CAFUC,EAAM,OAER;AAIZ,QAFwBtB,EAAgB,SAASsB,EAAM,GAAG,KAAKA,EAAM,WAAWA,EAAM,SAEjE;AACnB,UAAIA,EAAM,QAAQ,eAAeA,EAAM,QAAQ,UAAU;AACvD,QAAAA,EAAM,eAAA;AAEN,cAAME,IAAYlB,EAAe,MAAM,QAAQ,OAAO,EAAE;AAExD,YAAIkB,EAAU,WAAW,EAAG;AAE5B,cAAMC,IAAaF,KAAiBjB,EAAe,MAAM,WAAW,GAAG,GACjEoB,IAAYF,EAAU,MAAM,GAAG,EAAE,GACjCG,IAAWP,EAAkBM,GAAWD,CAAU;AAExD,QAAAN,EAAYQ,CAAQ;AAAA,MACtB;AAEA;AAAA,IACF;AAEA,QAAI,CAAC,QAAQ,KAAKL,EAAM,GAAG,GAAG;AAC5B,MAAAA,EAAM,eAAA;AAEN;AAAA,IACF;AAIA,QAFAA,EAAM,eAAA,GAEFA,EAAM,QAAQ,KAAK;AACrB,UAAI,CAACC,EAAe;AAEpB,YAAMC,IAAYlB,EAAe,MAAM,QAAQ,OAAO,EAAE,GAClDsB,IAAgB,CAACtB,EAAe,MAAM,WAAW,GAAG,GACpDqB,IAAWP,EAAkBI,GAAWI,CAAa;AAE3D,MAAAT,EAAYQ,CAAQ;AAEpB;AAAA,IACF;AAEA,UAAMH,IAAYlB,EAAe,MAAM,QAAQ,OAAO,EAAE,GAClDmB,IAAaF,KAAiBjB,EAAe,MAAM,WAAW,GAAG,GACjEoB,IAAYF,IAAYF,EAAM,KAC9BK,IAAWP,EAAkBM,GAAWD,CAAU;AAExD,IAAAN,EAAYQ,CAAQ;AAAA,EACtB;AACF;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { _ as o } from "./components/buttons-FzIconToolTip-D_cBN1TN.js";
|
|
2
|
+
import { F as m } from "./components/modals-FzModalBase-C4wU9yAp.js";
|
|
3
|
+
import { _ as r } from "./components/messages-FzConfirmDialog-kcpokBc2.js";
|
|
4
|
+
import { F as i } from "./components/messages-FzCustomConfirmDialog-CttE2KMh.js";
|
|
5
|
+
import { F as a } from "./components/messages-FzFloatingNotify-BdlkCu5i.js";
|
|
6
|
+
import { F as s } from "./components/layout-FzLoadingOverlay-DbVh5Ncb.js";
|
|
7
|
+
import { F as t } from "./components/inputs-FzMoneyField-BxAg9Bd_.js";
|
|
8
|
+
import { _ as F } from "./components/inputs-FzEmailField-B07tsUyr.js";
|
|
9
|
+
import { F as e } from "./components/inputs-FzNumberField-BAPRZpBo.js";
|
|
10
|
+
import { _ as f } from "./components/inputs-FzPhoneField-DKMx53pK.js";
|
|
11
|
+
import { _ } from "./components/inputs-FzZipCodeField-kkCMb3t9.js";
|
|
12
|
+
import { _ as l } from "./components/inputs-FzFullAddress-e05j6MFg.js";
|
|
13
|
+
const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14
|
+
__proto__: null,
|
|
15
|
+
FzConfirmDialog: r,
|
|
16
|
+
FzCustomConfirmDialog: i,
|
|
17
|
+
FzEmailField: F,
|
|
18
|
+
FzFloatingNotify: a,
|
|
19
|
+
FzFullAddress: l,
|
|
20
|
+
FzIconToolTip: o,
|
|
21
|
+
FzLoadingOverlay: s,
|
|
22
|
+
FzModalBase: m,
|
|
23
|
+
FzMoneyField: t,
|
|
24
|
+
FzNumberField: e,
|
|
25
|
+
FzPhoneField: f,
|
|
26
|
+
FzZipCodeField: _
|
|
27
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
28
|
+
export {
|
|
29
|
+
O as c
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index-Bu6SLmX_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Bu6SLmX_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import a from "axios";
|
|
2
|
+
import { A as o } from "./types-DV6li0y5.js";
|
|
3
|
+
const i = {
|
|
4
|
+
baseURL: "/api",
|
|
5
|
+
timeout: o
|
|
6
|
+
};
|
|
7
|
+
let t = { ...i };
|
|
8
|
+
const s = a.create({
|
|
9
|
+
baseURL: t.baseURL,
|
|
10
|
+
timeout: t.timeout,
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
function m(e) {
|
|
16
|
+
t = { ...t, ...e }, e.baseURL && (s.defaults.baseURL = e.baseURL), e.timeout && (s.defaults.timeout = e.timeout);
|
|
17
|
+
}
|
|
18
|
+
s.interceptors.response.use(
|
|
19
|
+
(e) => e,
|
|
20
|
+
(e) => Promise.reject(e)
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
s as a,
|
|
24
|
+
m as c
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=api-N1Cju-89.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-N1Cju-89.js","sources":["../../../src/utils/api.ts"],"sourcesContent":["import axios, { type AxiosError, type AxiosResponse } from 'axios';\nimport { API_TIMEOUT } from './types';\n\nexport interface ApiConfig {\n baseURL?: string;\n timeout?: number;\n}\n\nconst defaultConfig: ApiConfig = {\n baseURL: '/api',\n timeout: API_TIMEOUT,\n};\n\nlet currentConfig = { ...defaultConfig };\n\nconst api = axios.create({\n baseURL: currentConfig.baseURL,\n timeout: currentConfig.timeout,\n headers: {\n 'Content-Type': 'application/json',\n },\n});\n\nexport function configureApi(config: Partial<ApiConfig>) {\n currentConfig = { ...currentConfig, ...config };\n\n if (config.baseURL) api.defaults.baseURL = config.baseURL;\n\n if (config.timeout) api.defaults.timeout = config.timeout;\n}\n\napi.interceptors.response.use(\n (response: AxiosResponse) => response,\n (error: AxiosError) => Promise.reject(error),\n);\n\nexport default api;\n"],"names":["defaultConfig","API_TIMEOUT","currentConfig","api","axios","configureApi","config","response","error"],"mappings":";;AAQA,MAAMA,IAA2B;AAAA,EAC/B,SAAS;AAAA,EACT,SAASC;AACX;AAEA,IAAIC,IAAgB,EAAE,GAAGF,EAAA;AAEzB,MAAMG,IAAMC,EAAM,OAAO;AAAA,EACvB,SAASF,EAAc;AAAA,EACvB,SAASA,EAAc;AAAA,EACvB,SAAS;AAAA,IACP,gBAAgB;AAAA,EAAA;AAEpB,CAAC;AAEM,SAASG,EAAaC,GAA4B;AACvD,EAAAJ,IAAgB,EAAE,GAAGA,GAAe,GAAGI,EAAA,GAEnCA,EAAO,YAASH,EAAI,SAAS,UAAUG,EAAO,UAE9CA,EAAO,YAASH,EAAI,SAAS,UAAUG,EAAO;AACpD;AAEAH,EAAI,aAAa,SAAS;AAAA,EACxB,CAACI,MAA4BA;AAAA,EAC7B,CAACC,MAAsB,QAAQ,OAAOA,CAAK;AAC7C;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineStore as f } from "pinia";
|
|
2
|
+
import { ref as i } from "vue";
|
|
3
|
+
const m = f("confirm", () => {
|
|
4
|
+
const o = i(null);
|
|
5
|
+
return {
|
|
6
|
+
setConfirmRef: (r) => {
|
|
7
|
+
o.value = r;
|
|
8
|
+
},
|
|
9
|
+
show: (r, n, t) => o.value ? o.value.confirmDialog(r, n, t) : Promise.resolve(!1)
|
|
10
|
+
};
|
|
11
|
+
}), l = {
|
|
12
|
+
show: (o, e, s) => m().show(o, e, s)
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
l as c,
|
|
16
|
+
m as u
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=confirm-DiGEPjua.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-DiGEPjua.js","sources":["../../../src/utils/confirm.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { ref } from 'vue';\nimport type { ConfirmComponentRef, ConfirmOptions } from './types';\n\nexport const useConfirmStore = defineStore('confirm', () => {\n const confirmRef = ref<ConfirmComponentRef | null>(null);\n\n const setConfirmRef = (instance: ConfirmComponentRef) => {\n confirmRef.value = instance;\n };\n\n const show = (title: string, message: string, options?: ConfirmOptions): Promise<boolean> => {\n if (!confirmRef.value) return Promise.resolve(false);\n\n return confirmRef.value.confirmDialog(title, message, options);\n };\n\n return {\n setConfirmRef,\n show,\n };\n});\n\nexport const confirm = {\n show: (title: string, message: string, options?: ConfirmOptions): Promise<boolean> => {\n const store = useConfirmStore();\n\n return store.show(title, message, options);\n },\n};\n"],"names":["useConfirmStore","defineStore","confirmRef","ref","instance","title","message","options","confirm"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAY,WAAW,MAAM;AAC1D,QAAMC,IAAaC,EAAgC,IAAI;AAYvD,SAAO;AAAA,IACL,eAXoB,CAACC,MAAkC;AACvD,MAAAF,EAAW,QAAQE;AAAA,IACrB;AAAA,IAUE,MARW,CAACC,GAAeC,GAAiBC,MACvCL,EAAW,QAETA,EAAW,MAAM,cAAcG,GAAOC,GAASC,CAAO,IAF/B,QAAQ,QAAQ,EAAK;AAAA,EAOnD;AAEJ,CAAC,GAEYC,IAAU;AAAA,EACrB,MAAM,CAACH,GAAeC,GAAiBC,MACvBP,EAAA,EAED,KAAKK,GAAOC,GAASC,CAAO;AAE7C;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { u as e } from "../composables/useLoading-Cu1i2QIr.js";
|
|
2
|
+
let n = null;
|
|
3
|
+
function o() {
|
|
4
|
+
return n || (n = e()), n;
|
|
5
|
+
}
|
|
6
|
+
const t = {
|
|
7
|
+
show: (i) => o().show(i),
|
|
8
|
+
hide: () => o().hide()
|
|
9
|
+
};
|
|
10
|
+
function u() {
|
|
11
|
+
return o();
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
t as l,
|
|
15
|
+
u
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=loading-dXhCGa6R.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-dXhCGa6R.js","sources":["../../../src/utils/loading.ts"],"sourcesContent":["import { useLoading } from '../composables/useLoading';\n\nlet _loading: ReturnType<typeof useLoading> | null = null;\n\nfunction getLoading() {\n if (!_loading) _loading = useLoading();\n\n return _loading;\n}\n\nexport const loading = {\n show: (message?: string) => getLoading().show(message),\n hide: () => getLoading().hide(),\n};\n\n/** Returns the singleton loading instance refs for template binding */\nexport function useLoadingRefs() {\n return getLoading();\n}\n"],"names":["_loading","getLoading","useLoading","loading","message","useLoadingRefs"],"mappings":";AAEA,IAAIA,IAAiD;AAErD,SAASC,IAAa;AACpB,SAAKD,MAAUA,IAAWE,EAAA,IAEnBF;AACT;AAEO,MAAMG,IAAU;AAAA,EACrB,MAAM,CAACC,MAAqBH,EAAA,EAAa,KAAKG,CAAO;AAAA,EACrD,MAAM,MAAMH,EAAA,EAAa,KAAA;AAC3B;AAGO,SAASI,IAAiB;AAC/B,SAAOJ,EAAA;AACT;"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineStore as g } from "pinia";
|
|
2
|
+
import { ref as u } from "vue";
|
|
3
|
+
import { N as f } from "./types-DV6li0y5.js";
|
|
4
|
+
const r = g("notify", () => {
|
|
5
|
+
const e = u(!1), t = u("info"), n = u(""), c = u("");
|
|
6
|
+
let o = null, a = 0, s = f;
|
|
7
|
+
function m(i) {
|
|
8
|
+
a = Date.now() + i, o = setTimeout(() => {
|
|
9
|
+
l();
|
|
10
|
+
}, i);
|
|
11
|
+
}
|
|
12
|
+
function w(i, d, v = "") {
|
|
13
|
+
o && clearTimeout(o), t.value = i, n.value = d, c.value = v, e.value = !0, s = f, m(f);
|
|
14
|
+
}
|
|
15
|
+
function l() {
|
|
16
|
+
e.value = !1, o && (clearTimeout(o), o = null);
|
|
17
|
+
}
|
|
18
|
+
function h() {
|
|
19
|
+
if (o) {
|
|
20
|
+
if (s = a - Date.now(), s <= 0) {
|
|
21
|
+
l();
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
clearTimeout(o), o = null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function T() {
|
|
28
|
+
o || s <= 0 || m(s);
|
|
29
|
+
}
|
|
30
|
+
function p() {
|
|
31
|
+
o && (clearTimeout(o), o = null);
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
isVisible: e,
|
|
35
|
+
type: t,
|
|
36
|
+
title: n,
|
|
37
|
+
message: c,
|
|
38
|
+
show: w,
|
|
39
|
+
hide: l,
|
|
40
|
+
pause: h,
|
|
41
|
+
resume: T,
|
|
42
|
+
cleanup: p
|
|
43
|
+
};
|
|
44
|
+
}), I = {
|
|
45
|
+
show: (e, t, n) => {
|
|
46
|
+
r().show(e, t, n);
|
|
47
|
+
},
|
|
48
|
+
success: (e, t) => {
|
|
49
|
+
r().show("success", e, t);
|
|
50
|
+
},
|
|
51
|
+
error: (e, t) => {
|
|
52
|
+
r().show("error", e, t);
|
|
53
|
+
},
|
|
54
|
+
warning: (e, t) => {
|
|
55
|
+
r().show("warning", e, t);
|
|
56
|
+
},
|
|
57
|
+
info: (e, t) => {
|
|
58
|
+
r().show("info", e, t);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
I as n,
|
|
63
|
+
r as u
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=notify-CE_gbk11.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notify-CE_gbk11.js","sources":["../../../src/utils/notify.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { ref } from 'vue';\nimport type { NotifyType } from './types';\nimport { NOTIFY_DURATION } from './types';\n\nexport const useNotifyStore = defineStore('notify', () => {\n const isVisible = ref(false);\n const type = ref<NotifyType>('info');\n const title = ref('');\n const message = ref('');\n let timeoutId: ReturnType<typeof setTimeout> | null = null;\n let deadline = 0;\n let remainingMs = NOTIFY_DURATION;\n\n function scheduleTimeout(delay: number) {\n deadline = Date.now() + delay;\n\n timeoutId = setTimeout(() => {\n hide();\n }, delay);\n }\n\n function show(notifyType: NotifyType, notifyTitle: string, notifyMessage = '') {\n if (timeoutId) clearTimeout(timeoutId);\n\n type.value = notifyType;\n title.value = notifyTitle;\n message.value = notifyMessage;\n isVisible.value = true;\n remainingMs = NOTIFY_DURATION;\n\n scheduleTimeout(NOTIFY_DURATION);\n }\n\n function hide() {\n isVisible.value = false;\n\n if (!timeoutId) return;\n\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n\n function pause() {\n if (!timeoutId) return;\n\n remainingMs = deadline - Date.now();\n\n if (remainingMs <= 0) {\n hide();\n\n return;\n }\n\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n\n function resume() {\n if (timeoutId || remainingMs <= 0) return;\n\n scheduleTimeout(remainingMs);\n }\n\n function cleanup() {\n if (!timeoutId) return;\n\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n\n return {\n isVisible,\n type,\n title,\n message,\n show,\n hide,\n pause,\n resume,\n cleanup,\n };\n});\n\nexport const notify = {\n show: (type: NotifyType, title: string, message?: string) => {\n const store = useNotifyStore();\n store.show(type, title, message);\n },\n success: (title: string, message?: string) => {\n const store = useNotifyStore();\n store.show('success', title, message);\n },\n error: (title: string, message?: string) => {\n const store = useNotifyStore();\n store.show('error', title, message);\n },\n warning: (title: string, message?: string) => {\n const store = useNotifyStore();\n store.show('warning', title, message);\n },\n info: (title: string, message?: string) => {\n const store = useNotifyStore();\n store.show('info', title, message);\n },\n};\n"],"names":["useNotifyStore","defineStore","isVisible","ref","type","title","message","timeoutId","deadline","remainingMs","NOTIFY_DURATION","scheduleTimeout","delay","hide","show","notifyType","notifyTitle","notifyMessage","pause","resume","cleanup","notify"],"mappings":";;;AAKO,MAAMA,IAAiBC,EAAY,UAAU,MAAM;AACxD,QAAMC,IAAYC,EAAI,EAAK,GACrBC,IAAOD,EAAgB,MAAM,GAC7BE,IAAQF,EAAI,EAAE,GACdG,IAAUH,EAAI,EAAE;AACtB,MAAII,IAAkD,MAClDC,IAAW,GACXC,IAAcC;AAElB,WAASC,EAAgBC,GAAe;AACtC,IAAAJ,IAAW,KAAK,QAAQI,GAExBL,IAAY,WAAW,MAAM;AAC3B,MAAAM,EAAA;AAAA,IACF,GAAGD,CAAK;AAAA,EACV;AAEA,WAASE,EAAKC,GAAwBC,GAAqBC,IAAgB,IAAI;AAC7E,IAAIV,kBAAwBA,CAAS,GAErCH,EAAK,QAAQW,GACbV,EAAM,QAAQW,GACdV,EAAQ,QAAQW,GAChBf,EAAU,QAAQ,IAClBO,IAAcC,GAEdC,EAAgBD,CAAe;AAAA,EACjC;AAEA,WAASG,IAAO;AAGd,IAFAX,EAAU,QAAQ,IAEbK,MAEL,aAAaA,CAAS,GACtBA,IAAY;AAAA,EACd;AAEA,WAASW,IAAQ;AACf,QAAKX,GAIL;AAAA,UAFAE,IAAcD,IAAW,KAAK,IAAA,GAE1BC,KAAe,GAAG;AACpB,QAAAI,EAAA;AAEA;AAAA,MACF;AAEA,mBAAaN,CAAS,GACtBA,IAAY;AAAA;AAAA,EACd;AAEA,WAASY,IAAS;AAChB,IAAIZ,KAAaE,KAAe,KAEhCE,EAAgBF,CAAW;AAAA,EAC7B;AAEA,WAASW,IAAU;AACjB,IAAKb,MAEL,aAAaA,CAAS,GACtBA,IAAY;AAAA,EACd;AAEA,SAAO;AAAA,IACL,WAAAL;AAAA,IACA,MAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,IACA,MAAAQ;AAAA,IACA,MAAAD;AAAA,IACA,OAAAK;AAAA,IACA,QAAAC;AAAA,IACA,SAAAC;AAAA,EAAA;AAEJ,CAAC,GAEYC,IAAS;AAAA,EACpB,MAAM,CAACjB,GAAkBC,GAAeC,MAAqB;AAE3D,IADcN,EAAA,EACR,KAAKI,GAAMC,GAAOC,CAAO;AAAA,EACjC;AAAA,EACA,SAAS,CAACD,GAAeC,MAAqB;AAE5C,IADcN,EAAA,EACR,KAAK,WAAWK,GAAOC,CAAO;AAAA,EACtC;AAAA,EACA,OAAO,CAACD,GAAeC,MAAqB;AAE1C,IADcN,EAAA,EACR,KAAK,SAASK,GAAOC,CAAO;AAAA,EACpC;AAAA,EACA,SAAS,CAACD,GAAeC,MAAqB;AAE5C,IADcN,EAAA,EACR,KAAK,WAAWK,GAAOC,CAAO;AAAA,EACtC;AAAA,EACA,MAAM,CAACD,GAAeC,MAAqB;AAEzC,IADcN,EAAA,EACR,KAAK,QAAQK,GAAOC,CAAO;AAAA,EACnC;AACF;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-DV6li0y5.js","sources":["../../../src/utils/types.ts"],"sourcesContent":["export interface ConfirmOptions {\n persistent?: boolean;\n confirmText?: string;\n cancelText?: string;\n confirmColor?: string;\n cancelColor?: string;\n}\n\nexport interface ConfirmComponentRef {\n confirmDialog: (title: string, message: string, options?: ConfirmOptions) => Promise<boolean>;\n}\n\nexport type NotifyType = 'success' | 'error' | 'warning' | 'info';\n\nexport interface NotifyOptions {\n type: NotifyType;\n title: string;\n message?: string;\n duration?: number;\n}\n\nexport const NOTIFY_DURATION = 3000;\n\nexport const API_TIMEOUT = 30000;\n\nexport type TextFieldVariant = 'outlined' | 'filled' | 'plain' | 'solo' | 'solo-filled' | 'solo-inverted' | 'underlined';\n"],"names":["NOTIFY_DURATION","API_TIMEOUT"],"mappings":"AAqBO,MAAMA,IAAkB,KAElBC,IAAc;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function a(e) {
|
|
2
|
+
const o = e._context, t = o?.provides, n = e.config.globalProperties, s = t?.vuetify || t?.$vuetify || n.$vuetify || n.vuetify, i = t && Object.getOwnPropertySymbols(t).some((l) => {
|
|
3
|
+
const c = l.toString();
|
|
4
|
+
return c.includes("vuetify") || c.includes("Vuetify");
|
|
5
|
+
}), u = o?.components && Object.keys(o.components).some((l) => l.startsWith("V"));
|
|
6
|
+
}
|
|
7
|
+
function y() {
|
|
8
|
+
const e = document.querySelectorAll(".v-overlay-container"), o = document.querySelectorAll(".v-application"), t = document.querySelectorAll(".v-overlay"), n = document.querySelectorAll(".v-menu"), s = document.querySelectorAll(".v-select");
|
|
9
|
+
console.group("Vuetify Debug Info"), console.log("Overlay containers found:", e.length), console.log("v-application found:", o.length), console.log("Active overlays:", t.length), console.log("Menus found:", n.length), console.log("v-select found:", s.length), e.length > 1 && console.warn(
|
|
10
|
+
`Multiple overlay containers detected. This may indicate multiple Vuetify instances.
|
|
11
|
+
Ensure only one Vuetify instance is registered.`
|
|
12
|
+
), e.length === 0 && console.warn(
|
|
13
|
+
`No overlay container found. Vuetify may not be initialized correctly.
|
|
14
|
+
Check that app.use(vuetify) is called in main.ts`
|
|
15
|
+
), console.groupEnd();
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
y as d,
|
|
19
|
+
a as e
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=vuetify-check-DRI6ZYnO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vuetify-check-DRI6ZYnO.js","sources":["../../../src/utils/vuetify-check.ts"],"sourcesContent":["import type { App } from 'vue';\n\ninterface VueAppInternal {\n _context?: {\n provides?: Record<string | symbol, unknown>;\n components?: Record<string, unknown>;\n };\n}\n\nexport function ensureVuetify(app: App): void {\n const appContext = (app as unknown as VueAppInternal)._context;\n const provides = appContext?.provides;\n const globalProperties = app.config.globalProperties;\n\n const hasVuetifyDirect =\n provides?.vuetify || provides?.$vuetify || globalProperties.$vuetify || (globalProperties as Record<string, unknown>).vuetify;\n\n const hasVuetifySymbol =\n provides &&\n Object.getOwnPropertySymbols(provides).some((sym) => {\n const symbolStr = sym.toString();\n\n return symbolStr.includes('vuetify') || symbolStr.includes('Vuetify');\n });\n\n const hasVuetifyComponents =\n appContext?.components && Object.keys(appContext.components).some((name) => name.startsWith('V'));\n\n const hasVuetify = hasVuetifyDirect || hasVuetifySymbol || hasVuetifyComponents;\n\n if (hasVuetify) return;\n\n if (import.meta.env.DEV) {\n console.warn(\n '[BaseLib] Vuetify not detected. Ensure app.use(vuetify) is called before setupLib(app).\\n' +\n 'Example:\\n' +\n \" import { createVuetify } from 'vuetify'\\n\" +\n ' const vuetify = createVuetify()\\n' +\n ' app.use(vuetify)\\n' +\n ' setupLib(app)',\n );\n }\n}\n\nexport function debugVuetifyInstances(): void {\n const overlayContainers = document.querySelectorAll('.v-overlay-container');\n const vApps = document.querySelectorAll('.v-application');\n const overlays = document.querySelectorAll('.v-overlay');\n const menus = document.querySelectorAll('.v-menu');\n const selects = document.querySelectorAll('.v-select');\n\n console.group('Vuetify Debug Info');\n console.log('Overlay containers found:', overlayContainers.length);\n console.log('v-application found:', vApps.length);\n console.log('Active overlays:', overlays.length);\n console.log('Menus found:', menus.length);\n console.log('v-select found:', selects.length);\n\n if (overlayContainers.length > 1) {\n console.warn(\n 'Multiple overlay containers detected. This may indicate multiple Vuetify instances.\\n' +\n 'Ensure only one Vuetify instance is registered.',\n );\n }\n\n if (overlayContainers.length === 0) {\n console.warn(\n 'No overlay container found. Vuetify may not be initialized correctly.\\n' +\n 'Check that app.use(vuetify) is called in main.ts',\n );\n }\n\n console.groupEnd();\n}\n"],"names":["ensureVuetify","app","appContext","provides","globalProperties","hasVuetifyDirect","hasVuetifySymbol","sym","symbolStr","hasVuetifyComponents","name","debugVuetifyInstances","overlayContainers","vApps","overlays","menus","selects"],"mappings":"AASO,SAASA,EAAcC,GAAgB;AAC5C,QAAMC,IAAcD,EAAkC,UAChDE,IAAWD,GAAY,UACvBE,IAAmBH,EAAI,OAAO,kBAE9BI,IACJF,GAAU,WAAWA,GAAU,YAAYC,EAAiB,YAAaA,EAA6C,SAElHE,IACJH,KACA,OAAO,sBAAsBA,CAAQ,EAAE,KAAK,CAACI,MAAQ;AACnD,UAAMC,IAAYD,EAAI,SAAA;AAEtB,WAAOC,EAAU,SAAS,SAAS,KAAKA,EAAU,SAAS,SAAS;AAAA,EACtE,CAAC,GAEGC,IACJP,GAAY,cAAc,OAAO,KAAKA,EAAW,UAAU,EAAE,KAAK,CAACQ,MAASA,EAAK,WAAW,GAAG,CAAC;AAgBpG;AAEO,SAASC,IAA8B;AAC5C,QAAMC,IAAoB,SAAS,iBAAiB,sBAAsB,GACpEC,IAAQ,SAAS,iBAAiB,gBAAgB,GAClDC,IAAW,SAAS,iBAAiB,YAAY,GACjDC,IAAQ,SAAS,iBAAiB,SAAS,GAC3CC,IAAU,SAAS,iBAAiB,WAAW;AAErD,UAAQ,MAAM,oBAAoB,GAClC,QAAQ,IAAI,6BAA6BJ,EAAkB,MAAM,GACjE,QAAQ,IAAI,wBAAwBC,EAAM,MAAM,GAChD,QAAQ,IAAI,oBAAoBC,EAAS,MAAM,GAC/C,QAAQ,IAAI,gBAAgBC,EAAM,MAAM,GACxC,QAAQ,IAAI,mBAAmBC,EAAQ,MAAM,GAEzCJ,EAAkB,SAAS,KAC7B,QAAQ;AAAA,IACN;AAAA;AAAA,EAAA,GAKAA,EAAkB,WAAW,KAC/B,QAAQ;AAAA,IACN;AAAA;AAAA,EAAA,GAKJ,QAAQ,SAAA;AACV;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
icon: string;
|
|
3
|
+
tooltip?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
asButton?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
disabledTooltip?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
click: (event: MouseEvent) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
tooltip: string;
|
|
15
|
+
color: string;
|
|
16
|
+
asButton: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
disabledTooltip: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=FzIconToolTip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzIconToolTip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/FzIconToolTip.vue"],"names":[],"mappings":"AAuEA,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAqJD,QAAA,MAAM,YAAY;;;;;aA1JN,MAAM;WACR,MAAM;cACH,OAAO;cACP,OAAO;qBACA,MAAM;6EA0JxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as FzIconToolTip } from './buttons/FzIconToolTip.vue';
|
|
2
|
+
export { default as FzModalBase, type ModalAction } from './modals/FzModalBase.vue';
|
|
3
|
+
export { default as FzConfirmDialog } from './messages/FzConfirmDialog.vue';
|
|
4
|
+
export { default as FzCustomConfirmDialog } from './messages/FzCustomConfirmDialog.vue';
|
|
5
|
+
export { default as FzFloatingNotify } from './messages/FzFloatingNotify.vue';
|
|
6
|
+
export { default as FzLoadingOverlay } from './layout/FzLoadingOverlay.vue';
|
|
7
|
+
export { default as FzMoneyField } from './inputs/FzMoneyField.vue';
|
|
8
|
+
export { default as FzEmailField } from './inputs/FzEmailField.vue';
|
|
9
|
+
export { default as FzNumberField } from './inputs/FzNumberField.vue';
|
|
10
|
+
export { default as FzPhoneField } from './inputs/FzPhoneField.vue';
|
|
11
|
+
export { default as FzZipCodeField, type ZipCodeResponse } from './inputs/FzZipCodeField.vue';
|
|
12
|
+
export { default as FzFullAddress, type Address, type AddressLabels } from './inputs/FzFullAddress.vue';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEvE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEpF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAExF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9F,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { _ as F } from "../chunks/components/buttons-FzIconToolTip-D_cBN1TN.js";
|
|
2
|
+
import { F as a } from "../chunks/components/modals-FzModalBase-C4wU9yAp.js";
|
|
3
|
+
import { _ as s } from "../chunks/components/messages-FzConfirmDialog-kcpokBc2.js";
|
|
4
|
+
import { F as i } from "../chunks/components/messages-FzCustomConfirmDialog-CttE2KMh.js";
|
|
5
|
+
import { F as l } from "../chunks/components/messages-FzFloatingNotify-BdlkCu5i.js";
|
|
6
|
+
import { F as x } from "../chunks/components/layout-FzLoadingOverlay-DbVh5Ncb.js";
|
|
7
|
+
import { F as d } from "../chunks/components/inputs-FzMoneyField-BxAg9Bd_.js";
|
|
8
|
+
import { _ } from "../chunks/components/inputs-FzEmailField-B07tsUyr.js";
|
|
9
|
+
import { F as C } from "../chunks/components/inputs-FzNumberField-BAPRZpBo.js";
|
|
10
|
+
import { _ as y } from "../chunks/components/inputs-FzPhoneField-DKMx53pK.js";
|
|
11
|
+
import { _ as M } from "../chunks/components/inputs-FzZipCodeField-kkCMb3t9.js";
|
|
12
|
+
import { _ as T } from "../chunks/components/inputs-FzFullAddress-e05j6MFg.js";
|
|
13
|
+
export {
|
|
14
|
+
s as FzConfirmDialog,
|
|
15
|
+
i as FzCustomConfirmDialog,
|
|
16
|
+
_ as FzEmailField,
|
|
17
|
+
l as FzFloatingNotify,
|
|
18
|
+
T as FzFullAddress,
|
|
19
|
+
F as FzIconToolTip,
|
|
20
|
+
x as FzLoadingOverlay,
|
|
21
|
+
a as FzModalBase,
|
|
22
|
+
d as FzMoneyField,
|
|
23
|
+
C as FzNumberField,
|
|
24
|
+
y as FzPhoneField,
|
|
25
|
+
M as FzZipCodeField
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
required?: boolean;
|
|
10
|
+
validateOnBlur?: boolean;
|
|
11
|
+
requiredMessage?: string;
|
|
12
|
+
invalidMessage?: string;
|
|
13
|
+
variant?: TextFieldVariant;
|
|
14
|
+
maxlength?: number;
|
|
15
|
+
}
|
|
16
|
+
declare var __VLS_11: {}, __VLS_14: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
prepend?: (props: typeof __VLS_11) => any;
|
|
19
|
+
} & {
|
|
20
|
+
append?: (props: typeof __VLS_14) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: string) => any;
|
|
24
|
+
isValid: (value: boolean) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
+
onIsValid?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
modelValue: string;
|
|
31
|
+
label: string;
|
|
32
|
+
variant: TextFieldVariant;
|
|
33
|
+
required: boolean;
|
|
34
|
+
rules: ValidationRule[];
|
|
35
|
+
hint: string;
|
|
36
|
+
validateOnBlur: boolean;
|
|
37
|
+
requiredMessage: string;
|
|
38
|
+
invalidMessage: string;
|
|
39
|
+
maxlength: number;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=FzEmailField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzEmailField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzEmailField.vue"],"names":[],"mappings":"AAkHA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC;AAE1D,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,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA0LD,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;;;;;;;cA1MH,OAAO;gBAHL,MAAM;WACX,MAAM;aAQJ,gBAAgB;cAJf,OAAO;WAHV,cAAc,EAAE;UAEjB,MAAM;oBAEI,OAAO;qBACN,MAAM;oBACP,MAAM;eAEX,MAAM;6EAuMlB,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,40 @@
|
|
|
1
|
+
import type { TextFieldVariant } from '@/utils/types';
|
|
2
|
+
export interface Address {
|
|
3
|
+
zipCode: string;
|
|
4
|
+
street: string;
|
|
5
|
+
number: string;
|
|
6
|
+
complement: string;
|
|
7
|
+
neighborhood: string;
|
|
8
|
+
city: string;
|
|
9
|
+
state: string;
|
|
10
|
+
}
|
|
11
|
+
export interface AddressLabels {
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
street?: string;
|
|
14
|
+
number?: string;
|
|
15
|
+
complement?: string;
|
|
16
|
+
neighborhood?: string;
|
|
17
|
+
city?: string;
|
|
18
|
+
state?: string;
|
|
19
|
+
}
|
|
20
|
+
interface Props {
|
|
21
|
+
modelValue?: Partial<Address>;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
disabledFields?: boolean;
|
|
24
|
+
labels?: AddressLabels;
|
|
25
|
+
variant?: TextFieldVariant;
|
|
26
|
+
}
|
|
27
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: Address) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value: Address) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
modelValue: Partial<Address>;
|
|
34
|
+
variant: TextFieldVariant;
|
|
35
|
+
labels: AddressLabels;
|
|
36
|
+
disabledFields: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
//# sourceMappingURL=FzFullAddress.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzFullAddress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzFullAddress.vue"],"names":[],"mappings":"AAoMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAC3B;AAoYD,QAAA,MAAM,YAAY;;;;;cAxYL,OAAO;gBADL,OAAO,CAAC,OAAO,CAAC;aAInB,gBAAgB;YADjB,aAAa;oBADL,OAAO;6EA2YxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { TextFieldVariant } from '@/utils/types';
|
|
2
|
+
type ValidationRule = (value: string) => boolean | string;
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: number | null;
|
|
5
|
+
label?: string;
|
|
6
|
+
rules?: ValidationRule[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hint?: string;
|
|
9
|
+
persistentHint?: boolean;
|
|
10
|
+
currency?: string;
|
|
11
|
+
locale?: string;
|
|
12
|
+
variant?: TextFieldVariant;
|
|
13
|
+
max?: number;
|
|
14
|
+
min?: number;
|
|
15
|
+
}
|
|
16
|
+
declare var __VLS_14: {}, __VLS_17: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
prepend?: (props: typeof __VLS_14) => any;
|
|
19
|
+
} & {
|
|
20
|
+
append?: (props: typeof __VLS_17) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: number) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
modelValue: number | null;
|
|
29
|
+
label: string;
|
|
30
|
+
variant: TextFieldVariant;
|
|
31
|
+
rules: ValidationRule[];
|
|
32
|
+
hint: string;
|
|
33
|
+
persistentHint: boolean;
|
|
34
|
+
currency: string;
|
|
35
|
+
locale: string;
|
|
36
|
+
max: number;
|
|
37
|
+
min: number;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
|
+
declare const _default: typeof __VLS_export;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=FzMoneyField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzMoneyField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzMoneyField.vue"],"names":[],"mappings":"AA+IA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC;AAE1D,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,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,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAoMD,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;;;;;cApNH,OAAO;gBAHL,MAAM,GAAG,IAAI;WAClB,MAAM;aAOJ,gBAAgB;WANlB,cAAc,EAAE;UAEjB,MAAM;oBACI,OAAO;cACb,MAAM;YACR,MAAM;SAET,MAAM;SACN,MAAM;6EAiNZ,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,49 @@
|
|
|
1
|
+
import type { TextFieldVariant } from '@/utils/types';
|
|
2
|
+
type ValidationRule = (value: string) => boolean | string;
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: number | null;
|
|
5
|
+
label?: string;
|
|
6
|
+
rules?: ValidationRule[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
hint?: string;
|
|
9
|
+
persistentHint?: boolean;
|
|
10
|
+
decimalPlaces?: number;
|
|
11
|
+
locale?: string;
|
|
12
|
+
allowNegative?: boolean;
|
|
13
|
+
variant?: TextFieldVariant;
|
|
14
|
+
max?: number;
|
|
15
|
+
min?: number;
|
|
16
|
+
}
|
|
17
|
+
declare var __VLS_14: {}, __VLS_17: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
prepend?: (props: typeof __VLS_14) => any;
|
|
20
|
+
} & {
|
|
21
|
+
append?: (props: typeof __VLS_17) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: number) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
modelValue: number | null;
|
|
30
|
+
label: string;
|
|
31
|
+
variant: TextFieldVariant;
|
|
32
|
+
allowNegative: boolean;
|
|
33
|
+
rules: ValidationRule[];
|
|
34
|
+
hint: string;
|
|
35
|
+
persistentHint: boolean;
|
|
36
|
+
locale: string;
|
|
37
|
+
max: number;
|
|
38
|
+
min: number;
|
|
39
|
+
decimalPlaces: number;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=FzNumberField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FzNumberField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/FzNumberField.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,KAAK,cAAc,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,MAAM,CAAC;AAE1D,UAAU,KAAK;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,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,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AA2MD,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;;;;;cA5NH,OAAO;gBAHL,MAAM,GAAG,IAAI;WAClB,MAAM;aAQJ,gBAAgB;mBADV,OAAO;WANf,cAAc,EAAE;UAEjB,MAAM;oBACI,OAAO;YAEf,MAAM;SAGT,MAAM;SACN,MAAM;mBALI,MAAM;6EA6NtB,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"}
|