@bagelink/vue 0.0.671 → 0.0.673
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/dist/components/Accordion.d.ts +12 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/AccordionItem.d.ts +34 -0
- package/dist/components/AccordionItem.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +34 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +36 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +22 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/BglVideo.d.ts +20 -0
- package/dist/components/BglVideo.d.ts.map +1 -0
- package/dist/components/Btn.d.ts +99 -0
- package/dist/components/Btn.d.ts.map +1 -0
- package/dist/components/Card.d.ts +39 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Carousel.d.ts +74 -0
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/DataPreview.d.ts +42 -0
- package/dist/components/DataPreview.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +3 -3
- package/dist/components/DropDown.vue.d.ts +3 -3
- package/dist/components/FileUploader.vue.d.ts +3 -3
- package/dist/components/Flag.d.ts +20 -0
- package/dist/components/Flag.d.ts.map +1 -0
- package/dist/components/FormSchema.vue.d.ts +5 -4
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.d.ts +34 -0
- package/dist/components/ListItem.d.ts.map +1 -0
- package/dist/components/ListView.d.ts +13 -0
- package/dist/components/ListView.d.ts.map +1 -0
- package/dist/components/MapEmbed.d.ts +3 -0
- package/dist/components/MapEmbed.d.ts.map +1 -0
- package/dist/components/MaterialIcon.d.ts +26 -0
- package/dist/components/MaterialIcon.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +46 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalBglForm.vue.d.ts +21 -20
- package/dist/components/ModalConfirm.d.ts +24 -0
- package/dist/components/ModalConfirm.d.ts.map +1 -0
- package/dist/components/ModalForm.d.ts +78 -0
- package/dist/components/ModalForm.d.ts.map +1 -0
- package/dist/components/NavBar.d.ts +64 -0
- package/dist/components/NavBar.d.ts.map +1 -0
- package/dist/components/PageTitle.d.ts +24 -0
- package/dist/components/PageTitle.d.ts.map +1 -0
- package/dist/components/PersonPreview.vue.d.ts +5 -4
- package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/RouterWrapper.d.ts +3 -0
- package/dist/components/RouterWrapper.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -4
- package/dist/components/TableSchema.d.ts +35 -0
- package/dist/components/TableSchema.d.ts.map +1 -0
- package/dist/components/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +12 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.d.ts +20 -0
- package/dist/components/dashboard/Lineart.d.ts.map +1 -0
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- package/dist/components/form/ItemRef.vue.d.ts +4 -3
- package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.d.ts +56 -0
- package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Checkbox.d.ts +16 -0
- package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
- package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.d.ts +64 -0
- package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
- package/dist/components/form/inputs/DatePicker.d.ts +33 -0
- package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/FileUpload.d.ts +108 -0
- package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/JSONInput.d.ts +53 -0
- package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
- package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/Password.vue.d.ts +3 -3
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
- package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.d.ts +20 -0
- package/dist/components/form/inputs/RichText.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +5 -4
- package/dist/components/form/inputs/SelectInput.d.ts +55 -0
- package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
- package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
- package/dist/components/form/inputs/TableField.d.ts +45 -0
- package/dist/components/form/inputs/TableField.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.d.ts +241 -0
- package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.d.ts +90 -0
- package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
- package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
- package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
- package/dist/components/formkit/Toggle.vue.d.ts +2 -2
- package/dist/components/layout/BottomMenu.d.ts +27 -0
- package/dist/components/layout/BottomMenu.d.ts.map +1 -0
- package/dist/components/layout/Layout.d.ts +58 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/TabsBody.d.ts +23 -0
- package/dist/components/layout/TabsBody.d.ts.map +1 -0
- package/dist/components/layout/TabsNav.d.ts +35 -0
- package/dist/components/layout/TabsNav.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +129 -74
- package/dist/index.mjs +129 -74
- package/dist/style.css +2 -2
- package/dist/utils/objects.d.ts +1 -0
- package/package.json +3 -3
- package/src/components/form/inputs/RadioGroup.vue +3 -3
- package/src/components/form/inputs/index.ts +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
interface LayoutProrps {
|
|
2
|
+
gap?: number;
|
|
3
|
+
h100?: boolean;
|
|
4
|
+
columns?: string[];
|
|
5
|
+
mColumns?: string[];
|
|
6
|
+
mRows?: string[];
|
|
7
|
+
rows?: string[];
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LayoutProrps>, {
|
|
13
|
+
gap: number;
|
|
14
|
+
h100: boolean;
|
|
15
|
+
columns: () => never[];
|
|
16
|
+
rows: () => never[];
|
|
17
|
+
mColumns: () => never[];
|
|
18
|
+
mRows: () => never[];
|
|
19
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LayoutProrps>, {
|
|
20
|
+
gap: number;
|
|
21
|
+
h100: boolean;
|
|
22
|
+
columns: () => never[];
|
|
23
|
+
rows: () => never[];
|
|
24
|
+
mColumns: () => never[];
|
|
25
|
+
mRows: () => never[];
|
|
26
|
+
}>>>, {
|
|
27
|
+
h100: boolean;
|
|
28
|
+
rows: string[];
|
|
29
|
+
gap: number;
|
|
30
|
+
columns: string[];
|
|
31
|
+
mColumns: string[];
|
|
32
|
+
mRows: string[];
|
|
33
|
+
}, {}>;
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
+
} : {
|
|
41
|
+
type: import('vue').PropType<T[K]>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_WithDefaults<P, D> = {
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
+
default: D[K];
|
|
48
|
+
}> : P[K];
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Prettify<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=Layout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Layout.vue"],"names":[],"mappings":"AAIA,UAAU,YAAY;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CACf;AAoCD,iBAAS,cAAc;qBA8CM,GAAG;EAK/B;AAaD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;UAzGb,OAAO;UAIP,MAAM,EAAE;SALT,MAAM;aAEF,MAAM,EAAE;cACP,MAAM,EAAE;WACX,MAAM,EAAE;MA4Gf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NavLink } from '../..';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
brand?(_: {}): any;
|
|
5
|
+
"brand-open"?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
navLinks?: NavLink[];
|
|
11
|
+
expandable?: boolean;
|
|
12
|
+
open: boolean;
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:open": (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
navLinks?: NavLink[];
|
|
17
|
+
expandable?: boolean;
|
|
18
|
+
open: boolean;
|
|
19
|
+
}>>> & {
|
|
20
|
+
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=SidebarMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SidebarMenu.vue"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAwB5C,iBAAS,cAAc;mBA+LK,GAAG;0BACI,GAAG;qBACR,GAAG;oBACJ,GAAG;EAG/B;AAmBD,QAAA,MAAM,eAAe;eAMT,OAAO,EAAE;iBACP,OAAO;UACd,OAAO;;;;eAFF,OAAO,EAAE;iBACP,OAAO;UACd,OAAO;;;UAGZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Router } from 'vue-router';
|
|
2
|
+
import { Raw } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
5
|
+
key: string;
|
|
6
|
+
}) => any>> & {
|
|
7
|
+
"top-section"?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
title?: string;
|
|
11
|
+
tabs: string[];
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
router?: Raw<Router>;
|
|
14
|
+
sideTabs?: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
title?: string;
|
|
19
|
+
tabs: string[];
|
|
20
|
+
modelValue?: string;
|
|
21
|
+
router?: Raw<Router>;
|
|
22
|
+
sideTabs?: boolean;
|
|
23
|
+
}>>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {}, {}>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=TabbedLayout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabbedLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabbedLayout.vue"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAa,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAqCzC,iBAAS,cAAc;;MAmI+D,GAAG;2BAErD,GAAG;EAGtC;AAiBD,QAAA,MAAM,eAAe;YAMZ,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;;YAJV,MAAM;UACR,MAAM,EAAE;iBACD,MAAM;aACV,GAAG,CAAC,MAAM,CAAC;eACT,OAAO;;;UAGjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Tab } from '../..';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): Partial<Record<any, (_: {}) => any>>;
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
tabs: Tab[];
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
tabs: Tab[];
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/Tabs.vue"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAAW,MAAM,eAAe,CAAA;AAuCjD,iBAAS,cAAc,mCAoE+D,GAAG,GAIxF;AAkBD,QAAA,MAAM,eAAe;UAMd,GAAG,EAAE;iBACE,MAAM;;;;UADb,GAAG,EAAE;iBACE,MAAM;;;UAGlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): Partial<Record<any, (_: {}) => any>>;
|
|
2
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
group: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
group: string;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=TabsBody.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabsBody.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsBody.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc,mCAyC6D,GAAG,GAItF;AAWD,QAAA,MAAM,eAAe;WAMb,MAAM;;WAAN,MAAM;aAEZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MaterialIcons } from '../..';
|
|
2
|
+
|
|
3
|
+
interface TabType {
|
|
4
|
+
id?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
icon?: MaterialIcons;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
title?: string;
|
|
10
|
+
tabs: (TabType | string)[];
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
sideTabs?: boolean;
|
|
13
|
+
group: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
title?: string;
|
|
18
|
+
tabs: (TabType | string)[];
|
|
19
|
+
modelValue?: string;
|
|
20
|
+
sideTabs?: boolean;
|
|
21
|
+
group: string;
|
|
22
|
+
}>>> & {
|
|
23
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=TabsNav.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabsNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layout/TabsNav.vue"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AAMxD,UAAU,OAAO;IAChB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,aAAa,CAAA;CACpB;;YA8KQ,MAAM;UACR,CAAC,OAAO,GAAG,MAAM,CAAC,EAAE;iBACb,MAAM;eACR,OAAO;WACX,MAAM;;;;YAJL,MAAM;UACR,CAAC,OAAO,GAAG,MAAM,CAAC,EAAE;iBACb,MAAM;eACR,OAAO;WACX,MAAM;;;;AAVd,wBAaG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
|
2
2
|
import { BglFormSchemaT } from '../../..';
|
|
3
3
|
import { LocalTemplateData } from '../interfaces';
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
6
|
whatsappTemplateSchema: BglFormSchemaT<LocalTemplateData>;
|
|
6
7
|
router: Router;
|
|
7
8
|
route: RouteLocationNormalizedLoaded;
|
|
8
9
|
previewLabel?: string | undefined;
|
|
9
10
|
}>, {
|
|
10
11
|
previewLabel: string;
|
|
11
|
-
}>, {}, unknown, {}, {}, import(
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
13
|
whatsappTemplateSchema: BglFormSchemaT<LocalTemplateData>;
|
|
13
14
|
router: Router;
|
|
14
15
|
route: RouteLocationNormalizedLoaded;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
context: ObjectConstructor;
|
|
3
|
-
}, {}, unknown, {}, {}, import(
|
|
3
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
4
|
context: ObjectConstructor;
|
|
5
5
|
}>>, {}, {}>;
|
|
6
6
|
export default _default;
|
package/dist/index.cjs
CHANGED
|
@@ -2847,6 +2847,26 @@ const toJSONObject = (obj) => {
|
|
|
2847
2847
|
};
|
|
2848
2848
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
2849
2849
|
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
2850
|
+
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
2851
|
+
if (setImmediateSupported) {
|
|
2852
|
+
return setImmediate;
|
|
2853
|
+
}
|
|
2854
|
+
return postMessageSupported ? ((token, callbacks) => {
|
|
2855
|
+
_global.addEventListener("message", ({ source, data: data2 }) => {
|
|
2856
|
+
if (source === _global && data2 === token) {
|
|
2857
|
+
callbacks.length && callbacks.shift()();
|
|
2858
|
+
}
|
|
2859
|
+
}, false);
|
|
2860
|
+
return (cb) => {
|
|
2861
|
+
callbacks.push(cb);
|
|
2862
|
+
_global.postMessage(token, "*");
|
|
2863
|
+
};
|
|
2864
|
+
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
2865
|
+
})(
|
|
2866
|
+
typeof setImmediate === "function",
|
|
2867
|
+
isFunction$1(_global.postMessage)
|
|
2868
|
+
);
|
|
2869
|
+
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
2850
2870
|
const utils$1 = {
|
|
2851
2871
|
isArray,
|
|
2852
2872
|
isArrayBuffer,
|
|
@@ -2903,7 +2923,9 @@ const utils$1 = {
|
|
|
2903
2923
|
isSpecCompliantForm,
|
|
2904
2924
|
toJSONObject,
|
|
2905
2925
|
isAsyncFn,
|
|
2906
|
-
isThenable
|
|
2926
|
+
isThenable,
|
|
2927
|
+
setImmediate: _setImmediate,
|
|
2928
|
+
asap
|
|
2907
2929
|
};
|
|
2908
2930
|
function AxiosError(message2, code2, config, request, response) {
|
|
2909
2931
|
Error.call(this);
|
|
@@ -3738,27 +3760,35 @@ function speedometer(samplesCount, min2) {
|
|
|
3738
3760
|
}
|
|
3739
3761
|
function throttle$2(fn3, freq) {
|
|
3740
3762
|
let timestamp = 0;
|
|
3741
|
-
|
|
3742
|
-
let
|
|
3743
|
-
|
|
3744
|
-
|
|
3763
|
+
let threshold = 1e3 / freq;
|
|
3764
|
+
let lastArgs;
|
|
3765
|
+
let timer;
|
|
3766
|
+
const invoke = (args, now = Date.now()) => {
|
|
3767
|
+
timestamp = now;
|
|
3768
|
+
lastArgs = null;
|
|
3769
|
+
if (timer) {
|
|
3770
|
+
clearTimeout(timer);
|
|
3771
|
+
timer = null;
|
|
3772
|
+
}
|
|
3773
|
+
fn3.apply(null, args);
|
|
3774
|
+
};
|
|
3775
|
+
const throttled = (...args) => {
|
|
3745
3776
|
const now = Date.now();
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3777
|
+
const passed = now - timestamp;
|
|
3778
|
+
if (passed >= threshold) {
|
|
3779
|
+
invoke(args, now);
|
|
3780
|
+
} else {
|
|
3781
|
+
lastArgs = args;
|
|
3782
|
+
if (!timer) {
|
|
3783
|
+
timer = setTimeout(() => {
|
|
3784
|
+
timer = null;
|
|
3785
|
+
invoke(lastArgs);
|
|
3786
|
+
}, threshold - passed);
|
|
3750
3787
|
}
|
|
3751
|
-
timestamp = now;
|
|
3752
|
-
return fn3.apply(null, arguments);
|
|
3753
|
-
}
|
|
3754
|
-
if (!timer) {
|
|
3755
|
-
timer = setTimeout(() => {
|
|
3756
|
-
timer = null;
|
|
3757
|
-
timestamp = Date.now();
|
|
3758
|
-
return fn3.apply(null, arguments);
|
|
3759
|
-
}, threshold - (now - timestamp));
|
|
3760
3788
|
}
|
|
3761
3789
|
};
|
|
3790
|
+
const flush = () => lastArgs && invoke(lastArgs);
|
|
3791
|
+
return [throttled, flush];
|
|
3762
3792
|
}
|
|
3763
3793
|
const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
3764
3794
|
let bytesNotified = 0;
|
|
@@ -3778,12 +3808,21 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
3778
3808
|
rate: rate ? rate : void 0,
|
|
3779
3809
|
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
3780
3810
|
event: e,
|
|
3781
|
-
lengthComputable: total != null
|
|
3811
|
+
lengthComputable: total != null,
|
|
3812
|
+
[isDownloadStream ? "download" : "upload"]: true
|
|
3782
3813
|
};
|
|
3783
|
-
data2[isDownloadStream ? "download" : "upload"] = true;
|
|
3784
3814
|
listener(data2);
|
|
3785
3815
|
}, freq);
|
|
3786
3816
|
};
|
|
3817
|
+
const progressEventDecorator = (total, throttled) => {
|
|
3818
|
+
const lengthComputable = total != null;
|
|
3819
|
+
return [(loaded) => throttled[0]({
|
|
3820
|
+
lengthComputable,
|
|
3821
|
+
total,
|
|
3822
|
+
loaded
|
|
3823
|
+
}), throttled[1]];
|
|
3824
|
+
};
|
|
3825
|
+
const asyncDecorator = (fn3) => (...args) => utils$1.asap(() => fn3(...args));
|
|
3787
3826
|
const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
3788
3827
|
// Standard browser envs have full support of the APIs needed to test
|
|
3789
3828
|
// whether the request URL is of the same origin as current location.
|
|
@@ -3981,15 +4020,15 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
3981
4020
|
const _config = resolveConfig(config);
|
|
3982
4021
|
let requestData = _config.data;
|
|
3983
4022
|
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
3984
|
-
let { responseType } = _config;
|
|
4023
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
3985
4024
|
let onCanceled;
|
|
4025
|
+
let uploadThrottled, downloadThrottled;
|
|
4026
|
+
let flushUpload, flushDownload;
|
|
3986
4027
|
function done() {
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
_config.signal.removeEventListener("abort", onCanceled);
|
|
3992
|
-
}
|
|
4028
|
+
flushUpload && flushUpload();
|
|
4029
|
+
flushDownload && flushDownload();
|
|
4030
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
4031
|
+
_config.signal && _config.signal.removeEventListener("abort", onCanceled);
|
|
3993
4032
|
}
|
|
3994
4033
|
let request = new XMLHttpRequest();
|
|
3995
4034
|
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
@@ -4036,11 +4075,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4036
4075
|
if (!request) {
|
|
4037
4076
|
return;
|
|
4038
4077
|
}
|
|
4039
|
-
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED,
|
|
4078
|
+
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
4040
4079
|
request = null;
|
|
4041
4080
|
};
|
|
4042
4081
|
request.onerror = function handleError() {
|
|
4043
|
-
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK,
|
|
4082
|
+
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request));
|
|
4044
4083
|
request = null;
|
|
4045
4084
|
};
|
|
4046
4085
|
request.ontimeout = function handleTimeout() {
|
|
@@ -4052,7 +4091,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4052
4091
|
reject3(new AxiosError(
|
|
4053
4092
|
timeoutErrorMessage,
|
|
4054
4093
|
transitional2.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
4055
|
-
|
|
4094
|
+
config,
|
|
4056
4095
|
request
|
|
4057
4096
|
));
|
|
4058
4097
|
request = null;
|
|
@@ -4069,11 +4108,14 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4069
4108
|
if (responseType && responseType !== "json") {
|
|
4070
4109
|
request.responseType = _config.responseType;
|
|
4071
4110
|
}
|
|
4072
|
-
if (
|
|
4073
|
-
|
|
4111
|
+
if (onDownloadProgress) {
|
|
4112
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
4113
|
+
request.addEventListener("progress", downloadThrottled);
|
|
4074
4114
|
}
|
|
4075
|
-
if (
|
|
4076
|
-
|
|
4115
|
+
if (onUploadProgress && request.upload) {
|
|
4116
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
4117
|
+
request.upload.addEventListener("progress", uploadThrottled);
|
|
4118
|
+
request.upload.addEventListener("loadend", flushUpload);
|
|
4077
4119
|
}
|
|
4078
4120
|
if (_config.cancelToken || _config.signal) {
|
|
4079
4121
|
onCanceled = (cancel) => {
|
|
@@ -4151,39 +4193,52 @@ const readBytes = async function* (iterable, chunkSize, encode2) {
|
|
|
4151
4193
|
const trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
|
|
4152
4194
|
const iterator = readBytes(stream, chunkSize, encode2);
|
|
4153
4195
|
let bytes = 0;
|
|
4196
|
+
let done;
|
|
4197
|
+
let _onFinish = (e) => {
|
|
4198
|
+
if (!done) {
|
|
4199
|
+
done = true;
|
|
4200
|
+
onFinish && onFinish(e);
|
|
4201
|
+
}
|
|
4202
|
+
};
|
|
4154
4203
|
return new ReadableStream({
|
|
4155
|
-
type: "bytes",
|
|
4156
4204
|
async pull(controller) {
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4205
|
+
try {
|
|
4206
|
+
const { done: done2, value } = await iterator.next();
|
|
4207
|
+
if (done2) {
|
|
4208
|
+
_onFinish();
|
|
4209
|
+
controller.close();
|
|
4210
|
+
return;
|
|
4211
|
+
}
|
|
4212
|
+
let len = value.byteLength;
|
|
4213
|
+
if (onProgress) {
|
|
4214
|
+
let loadedBytes = bytes += len;
|
|
4215
|
+
onProgress(loadedBytes);
|
|
4216
|
+
}
|
|
4217
|
+
controller.enqueue(new Uint8Array(value));
|
|
4218
|
+
} catch (err) {
|
|
4219
|
+
_onFinish(err);
|
|
4220
|
+
throw err;
|
|
4162
4221
|
}
|
|
4163
|
-
let len = value.byteLength;
|
|
4164
|
-
onProgress && onProgress(bytes += len);
|
|
4165
|
-
controller.enqueue(new Uint8Array(value));
|
|
4166
4222
|
},
|
|
4167
4223
|
cancel(reason) {
|
|
4168
|
-
|
|
4224
|
+
_onFinish(reason);
|
|
4169
4225
|
return iterator.return();
|
|
4170
4226
|
}
|
|
4171
4227
|
}, {
|
|
4172
4228
|
highWaterMark: 2
|
|
4173
4229
|
});
|
|
4174
4230
|
};
|
|
4175
|
-
const fetchProgressDecorator = (total, fn3) => {
|
|
4176
|
-
const lengthComputable = total != null;
|
|
4177
|
-
return (loaded) => setTimeout(() => fn3({
|
|
4178
|
-
lengthComputable,
|
|
4179
|
-
total,
|
|
4180
|
-
loaded
|
|
4181
|
-
}));
|
|
4182
|
-
};
|
|
4183
4231
|
const isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
4184
4232
|
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
4185
4233
|
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
4186
|
-
const
|
|
4234
|
+
const test = (fn3, ...args) => {
|
|
4235
|
+
try {
|
|
4236
|
+
return !!fn3(...args);
|
|
4237
|
+
} catch (e) {
|
|
4238
|
+
return false;
|
|
4239
|
+
}
|
|
4240
|
+
};
|
|
4241
|
+
const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
4187
4242
|
let duplexAccessed = false;
|
|
4188
4243
|
const hasContentType = new Request(platform.origin, {
|
|
4189
4244
|
body: new ReadableStream(),
|
|
@@ -4194,14 +4249,9 @@ const supportsRequestStream = isReadableStreamSupported && (() => {
|
|
|
4194
4249
|
}
|
|
4195
4250
|
}).headers.has("Content-Type");
|
|
4196
4251
|
return duplexAccessed && !hasContentType;
|
|
4197
|
-
})
|
|
4252
|
+
});
|
|
4198
4253
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
4199
|
-
const supportsResponseStream = isReadableStreamSupported &&
|
|
4200
|
-
try {
|
|
4201
|
-
return utils$1.isReadableStream(new Response("").body);
|
|
4202
|
-
} catch (err) {
|
|
4203
|
-
}
|
|
4204
|
-
})();
|
|
4254
|
+
const supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
4205
4255
|
const resolvers = {
|
|
4206
4256
|
stream: supportsResponseStream && ((res) => res.body)
|
|
4207
4257
|
};
|
|
@@ -4222,7 +4272,7 @@ const getBodyLength = async (body) => {
|
|
|
4222
4272
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4223
4273
|
return (await new Request(body).arrayBuffer()).byteLength;
|
|
4224
4274
|
}
|
|
4225
|
-
if (utils$1.isArrayBufferView(body)) {
|
|
4275
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
4226
4276
|
return body.byteLength;
|
|
4227
4277
|
}
|
|
4228
4278
|
if (utils$1.isURLSearchParams(body)) {
|
|
@@ -4273,14 +4323,15 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4273
4323
|
headers.setContentType(contentTypeHeader);
|
|
4274
4324
|
}
|
|
4275
4325
|
if (_request.body) {
|
|
4276
|
-
|
|
4326
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
4277
4327
|
requestContentLength,
|
|
4278
|
-
progressEventReducer(onUploadProgress)
|
|
4279
|
-
)
|
|
4328
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
4329
|
+
);
|
|
4330
|
+
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
|
4280
4331
|
}
|
|
4281
4332
|
}
|
|
4282
4333
|
if (!utils$1.isString(withCredentials)) {
|
|
4283
|
-
withCredentials = withCredentials ? "
|
|
4334
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
4284
4335
|
}
|
|
4285
4336
|
request = new Request(url, {
|
|
4286
4337
|
...fetchOptions,
|
|
@@ -4289,7 +4340,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4289
4340
|
headers: headers.normalize().toJSON(),
|
|
4290
4341
|
body: data2,
|
|
4291
4342
|
duplex: "half",
|
|
4292
|
-
withCredentials
|
|
4343
|
+
credentials: withCredentials
|
|
4293
4344
|
});
|
|
4294
4345
|
let response = await fetch(request);
|
|
4295
4346
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
@@ -4299,11 +4350,15 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4299
4350
|
options[prop3] = response[prop3];
|
|
4300
4351
|
});
|
|
4301
4352
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
4353
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
4354
|
+
responseContentLength,
|
|
4355
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
4356
|
+
) || [];
|
|
4302
4357
|
response = new Response(
|
|
4303
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE,
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4358
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
4359
|
+
flush && flush();
|
|
4360
|
+
isStreamResponse && onFinish();
|
|
4361
|
+
}, encodeText),
|
|
4307
4362
|
options
|
|
4308
4363
|
);
|
|
4309
4364
|
}
|
|
@@ -4429,7 +4484,7 @@ function dispatchRequest(config) {
|
|
|
4429
4484
|
return Promise.reject(reason);
|
|
4430
4485
|
});
|
|
4431
4486
|
}
|
|
4432
|
-
const VERSION = "1.7.
|
|
4487
|
+
const VERSION = "1.7.3";
|
|
4433
4488
|
const validators$1 = {};
|
|
4434
4489
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
|
|
4435
4490
|
validators$1[type3] = function validator2(thing) {
|
|
@@ -47295,7 +47350,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47295
47350
|
};
|
|
47296
47351
|
}
|
|
47297
47352
|
});
|
|
47298
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
47353
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-cd8cd92f"]]);
|
|
47299
47354
|
function _isPlaceholder(a2) {
|
|
47300
47355
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
47301
47356
|
}
|
|
@@ -48101,10 +48156,10 @@ var omit = /* @__PURE__ */ _curry2(function omit2(names, obj) {
|
|
|
48101
48156
|
return result2;
|
|
48102
48157
|
});
|
|
48103
48158
|
var omit$1 = omit;
|
|
48104
|
-
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(
|
|
48159
|
+
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(test2, obj) {
|
|
48105
48160
|
var result2 = {};
|
|
48106
48161
|
for (var prop3 in obj) {
|
|
48107
|
-
if (
|
|
48162
|
+
if (test2(obj[prop3], prop3, obj)) {
|
|
48108
48163
|
result2[prop3] = obj[prop3];
|
|
48109
48164
|
}
|
|
48110
48165
|
}
|