@bagelink/vue 0.0.677 → 0.0.679
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/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/DropDown.vue.d.ts +3 -3
- package/dist/components/FormSchema.vue.d.ts +4 -5
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ModalBglForm.vue.d.ts +20 -21
- package/dist/components/PersonPreview.vue.d.ts +4 -5
- package/dist/components/PersonPreviewFormkit.vue.d.ts +3 -4
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/TabbedLayout.vue.d.ts +4 -5
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/form/ItemRef.vue.d.ts +3 -5
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +3 -4
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- 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/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- 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/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +8 -6
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- 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/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +73 -129
- package/dist/index.mjs +73 -129
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/utils/objects.d.ts +0 -1
- package/package.json +1 -1
- package/src/components/form/inputs/SignaturePad.vue +1 -1
- package/dist/components/Accordion.d.ts +0 -12
- package/dist/components/Accordion.d.ts.map +0 -1
- package/dist/components/AccordionItem.d.ts +0 -34
- package/dist/components/AccordionItem.d.ts.map +0 -1
- package/dist/components/Alert.d.ts +0 -34
- package/dist/components/Alert.d.ts.map +0 -1
- package/dist/components/Avatar.d.ts +0 -36
- package/dist/components/Avatar.d.ts.map +0 -1
- package/dist/components/Badge.d.ts +0 -22
- package/dist/components/Badge.d.ts.map +0 -1
- package/dist/components/BglVideo.d.ts +0 -20
- package/dist/components/BglVideo.d.ts.map +0 -1
- package/dist/components/Btn.d.ts +0 -99
- package/dist/components/Btn.d.ts.map +0 -1
- package/dist/components/Card.d.ts +0 -39
- package/dist/components/Card.d.ts.map +0 -1
- package/dist/components/Carousel.d.ts +0 -74
- package/dist/components/Carousel.d.ts.map +0 -1
- package/dist/components/DataPreview.d.ts +0 -42
- package/dist/components/DataPreview.d.ts.map +0 -1
- package/dist/components/Drop.vue.d.ts +0 -34
- package/dist/components/Drop.vue.d.ts.map +0 -1
- package/dist/components/FileUploader.vue.d.ts +0 -60
- package/dist/components/FileUploader.vue.d.ts.map +0 -1
- package/dist/components/Flag.d.ts +0 -20
- package/dist/components/Flag.d.ts.map +0 -1
- package/dist/components/ListItem.d.ts +0 -34
- package/dist/components/ListItem.d.ts.map +0 -1
- package/dist/components/ListView.d.ts +0 -13
- package/dist/components/ListView.d.ts.map +0 -1
- package/dist/components/MapEmbed.d.ts +0 -3
- package/dist/components/MapEmbed.d.ts.map +0 -1
- package/dist/components/MaterialIcon.d.ts +0 -26
- package/dist/components/MaterialIcon.d.ts.map +0 -1
- package/dist/components/Modal.d.ts +0 -46
- package/dist/components/Modal.d.ts.map +0 -1
- package/dist/components/ModalConfirm.d.ts +0 -24
- package/dist/components/ModalConfirm.d.ts.map +0 -1
- package/dist/components/ModalForm.d.ts +0 -78
- package/dist/components/ModalForm.d.ts.map +0 -1
- package/dist/components/NavBar.d.ts +0 -64
- package/dist/components/NavBar.d.ts.map +0 -1
- package/dist/components/PageTitle.d.ts +0 -24
- package/dist/components/PageTitle.d.ts.map +0 -1
- package/dist/components/RouterWrapper.d.ts +0 -3
- package/dist/components/RouterWrapper.d.ts.map +0 -1
- package/dist/components/TableSchema.d.ts +0 -35
- package/dist/components/TableSchema.d.ts.map +0 -1
- package/dist/components/Title.d.ts +0 -42
- package/dist/components/Title.d.ts.map +0 -1
- package/dist/components/TopBar.d.ts +0 -12
- package/dist/components/TopBar.d.ts.map +0 -1
- package/dist/components/dashboard/Lineart.d.ts +0 -20
- package/dist/components/dashboard/Lineart.d.ts.map +0 -1
- package/dist/components/form/BglField.d.ts +0 -25
- package/dist/components/form/BglField.d.ts.map +0 -1
- package/dist/components/form/BglForm.d.ts +0 -75
- package/dist/components/form/BglForm.d.ts.map +0 -1
- package/dist/components/form/inputs/CheckInput.d.ts +0 -56
- package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
- package/dist/components/form/inputs/Checkbox.d.ts +0 -16
- package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
- package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
- package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
- package/dist/components/form/inputs/DateInput.d.ts +0 -64
- package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
- package/dist/components/form/inputs/DatePicker.d.ts +0 -33
- package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
- package/dist/components/form/inputs/FileUpload.d.ts +0 -108
- package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
- package/dist/components/form/inputs/JSONInput.d.ts +0 -53
- package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
- package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText.d.ts +0 -20
- package/dist/components/form/inputs/RichText.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
- package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
- package/dist/components/form/inputs/SelectInput.d.ts +0 -55
- package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
- package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
- package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
- package/dist/components/form/inputs/TableField.d.ts +0 -45
- package/dist/components/form/inputs/TableField.d.ts.map +0 -1
- package/dist/components/form/inputs/TelInput.d.ts +0 -241
- package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
- package/dist/components/form/inputs/TextInput.d.ts +0 -90
- package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
- package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
- package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
- package/dist/components/layout/BottomMenu.d.ts +0 -27
- package/dist/components/layout/BottomMenu.d.ts.map +0 -1
- package/dist/components/layout/Layout.d.ts +0 -58
- package/dist/components/layout/Layout.d.ts.map +0 -1
- package/dist/components/layout/SidebarMenu.d.ts +0 -38
- package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
- package/dist/components/layout/TabbedLayout.d.ts +0 -42
- package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
- package/dist/components/layout/Tabs.d.ts +0 -31
- package/dist/components/layout/Tabs.d.ts.map +0 -1
- package/dist/components/layout/TabsBody.d.ts +0 -23
- package/dist/components/layout/TabsBody.d.ts.map +0 -1
- package/dist/components/layout/TabsNav.d.ts +0 -35
- package/dist/components/layout/TabsNav.d.ts.map +0 -1
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { SelectBagelField } from '../../..';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
|
|
1
|
+
import { type SelectBagelField } from '../../..';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
|
|
4
3
|
editMode?: boolean | undefined;
|
|
5
4
|
field: SelectBagelField;
|
|
6
5
|
modelValue: any;
|
|
7
6
|
small?: boolean | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
description?: string | undefined;
|
|
8
9
|
}>, {
|
|
9
10
|
description: string;
|
|
10
11
|
editMode: boolean;
|
|
11
12
|
label: string;
|
|
12
13
|
placeholder: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import(
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
15
|
"update:modelValue": (...args: any[]) => void;
|
|
15
16
|
selected: (...args: any[]) => void;
|
|
16
|
-
}, string, import(
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
|
|
17
18
|
editMode?: boolean | undefined;
|
|
18
19
|
field: SelectBagelField;
|
|
19
20
|
modelValue: any;
|
|
20
21
|
small?: boolean | undefined;
|
|
22
|
+
label?: string | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
21
24
|
}>, {
|
|
22
25
|
description: string;
|
|
23
26
|
editMode: boolean;
|
|
@@ -29,7 +32,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
29
32
|
}, {
|
|
30
33
|
description: string;
|
|
31
34
|
label: string;
|
|
32
|
-
placeholder: string;
|
|
33
35
|
editMode: boolean;
|
|
34
36
|
}, {}>;
|
|
35
37
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;
|
|
1
|
+
{"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;WAiV5C,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;;WADR,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;iBAGD,MAAM;WADZ,MAAM;cAJH,OAAO;;AANrB,wBAcG;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;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"}
|
|
@@ -11,7 +11,7 @@ interface WaterMark {
|
|
|
11
11
|
strokeStyle: string;
|
|
12
12
|
style: string;
|
|
13
13
|
}
|
|
14
|
-
type FormatType = 'image/png' | 'image/jpeg' | 'image/svg+xml';
|
|
14
|
+
type FormatType = 'image/png' | 'image/jpg' | 'image/jpeg' | 'image/svg+xml';
|
|
15
15
|
declare function save(format?: FormatType): string | undefined;
|
|
16
16
|
declare function undo(): void;
|
|
17
17
|
declare function addWaterMark(data: WaterMark): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignaturePad.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SignaturePad.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAMnE,UAAU,SAAS;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACb;AAED,KAAK,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"SignaturePad.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SignaturePad.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAMnE,UAAU,SAAS;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACb;AAED,KAAK,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;AAuB5E,iBAAS,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU,sBAGhC;AAKD,iBAAS,IAAI,SAMZ;AAiBD,iBAAS,YAAY,CAAC,IAAI,EAAE,SAAS,QA0BpC;;gBA6IY,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;gBACP,OAAO;;;;;;;;;uBA1MM,MAAM;;gBAiMnB,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;gBACP,OAAO;;;;eAAP,OAAO;;AAhBpB,wBAkBG;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;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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
description?: string | undefined;
|
|
3
3
|
label?: string | undefined;
|
|
4
4
|
modelValue: any;
|
|
@@ -13,9 +13,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
editMode: boolean;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
label: string;
|
|
16
|
-
}>, {}, unknown, {}, {}, import(
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (...args: any[]) => void;
|
|
18
|
-
}, string, import(
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
19
|
description?: string | undefined;
|
|
20
20
|
label?: string | undefined;
|
|
21
21
|
modelValue: any;
|
|
@@ -17,9 +17,9 @@ export interface AddressArrContext {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare const _default: import(
|
|
20
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
21
21
|
context: AddressArrContext;
|
|
22
|
-
}>, {}, unknown, {}, {}, import(
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
23
|
context: AddressArrContext;
|
|
24
24
|
}>>>, {}, {}>;
|
|
25
25
|
export default _default;
|
|
@@ -19,9 +19,9 @@ export interface BankDetailsContext {
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
declare const _default: import(
|
|
22
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
23
23
|
context: BankDetailsContext;
|
|
24
|
-
}>, {}, unknown, {}, {}, import(
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
25
25
|
context: BankDetailsContext;
|
|
26
26
|
}>>>, {}, {}>;
|
|
27
27
|
export default _default;
|
|
@@ -15,9 +15,9 @@ export interface ContactArrContext {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
declare const _default: import(
|
|
18
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
19
19
|
context: ContactArrContext;
|
|
20
|
-
}>, {}, unknown, {}, {}, import(
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
21
|
context: ContactArrContext;
|
|
22
22
|
}>>>, {}, {}>;
|
|
23
23
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
context: Record<string, any>;
|
|
3
3
|
dragDropLabel?: string | undefined;
|
|
4
4
|
browseLabel?: string | undefined;
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
dragDropLabel: string;
|
|
8
8
|
browseLabel: string;
|
|
9
9
|
multiple: boolean;
|
|
10
|
-
}>, {}, unknown, {}, {}, import(
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
context: Record<string, any>;
|
|
12
12
|
dragDropLabel?: string | undefined;
|
|
13
13
|
browseLabel?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
context: Record<string, any>;
|
|
3
3
|
addBtnLabel: string;
|
|
4
|
-
}>, {}, unknown, {}, {}, import(
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
context: Record<string, any>;
|
|
6
6
|
addBtnLabel: string;
|
|
7
7
|
}>>>, {}, {}>;
|
|
@@ -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;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
|
1
|
+
import type { RouteLocationNormalizedLoaded, Router } from 'vue-router';
|
|
2
2
|
import { BglFormSchemaT } from '../../..';
|
|
3
3
|
import { LocalTemplateData } from '../interfaces';
|
|
4
|
-
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
5
|
whatsappTemplateSchema: BglFormSchemaT<LocalTemplateData>;
|
|
7
6
|
router: Router;
|
|
8
7
|
route: RouteLocationNormalizedLoaded;
|
|
9
8
|
previewLabel?: string | undefined;
|
|
10
9
|
}>, {
|
|
11
10
|
previewLabel: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import(
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
12
|
whatsappTemplateSchema: BglFormSchemaT<LocalTemplateData>;
|
|
14
13
|
router: Router;
|
|
15
14
|
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,26 +2847,6 @@ 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;
|
|
2870
2850
|
const utils$1 = {
|
|
2871
2851
|
isArray,
|
|
2872
2852
|
isArrayBuffer,
|
|
@@ -2923,9 +2903,7 @@ const utils$1 = {
|
|
|
2923
2903
|
isSpecCompliantForm,
|
|
2924
2904
|
toJSONObject,
|
|
2925
2905
|
isAsyncFn,
|
|
2926
|
-
isThenable
|
|
2927
|
-
setImmediate: _setImmediate,
|
|
2928
|
-
asap
|
|
2906
|
+
isThenable
|
|
2929
2907
|
};
|
|
2930
2908
|
function AxiosError(message2, code2, config, request, response) {
|
|
2931
2909
|
Error.call(this);
|
|
@@ -3760,35 +3738,27 @@ function speedometer(samplesCount, min2) {
|
|
|
3760
3738
|
}
|
|
3761
3739
|
function throttle$2(fn3, freq) {
|
|
3762
3740
|
let timestamp = 0;
|
|
3763
|
-
|
|
3764
|
-
let
|
|
3765
|
-
|
|
3766
|
-
|
|
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) => {
|
|
3741
|
+
const threshold = 1e3 / freq;
|
|
3742
|
+
let timer = null;
|
|
3743
|
+
return function throttled() {
|
|
3744
|
+
const force = this === true;
|
|
3776
3745
|
const now = Date.now();
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
lastArgs = args;
|
|
3782
|
-
if (!timer) {
|
|
3783
|
-
timer = setTimeout(() => {
|
|
3784
|
-
timer = null;
|
|
3785
|
-
invoke(lastArgs);
|
|
3786
|
-
}, threshold - passed);
|
|
3746
|
+
if (force || now - timestamp > threshold) {
|
|
3747
|
+
if (timer) {
|
|
3748
|
+
clearTimeout(timer);
|
|
3749
|
+
timer = null;
|
|
3787
3750
|
}
|
|
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));
|
|
3788
3760
|
}
|
|
3789
3761
|
};
|
|
3790
|
-
const flush = () => lastArgs && invoke(lastArgs);
|
|
3791
|
-
return [throttled, flush];
|
|
3792
3762
|
}
|
|
3793
3763
|
const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
3794
3764
|
let bytesNotified = 0;
|
|
@@ -3808,21 +3778,12 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
3808
3778
|
rate: rate ? rate : void 0,
|
|
3809
3779
|
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
3810
3780
|
event: e,
|
|
3811
|
-
lengthComputable: total != null
|
|
3812
|
-
[isDownloadStream ? "download" : "upload"]: true
|
|
3781
|
+
lengthComputable: total != null
|
|
3813
3782
|
};
|
|
3783
|
+
data2[isDownloadStream ? "download" : "upload"] = true;
|
|
3814
3784
|
listener(data2);
|
|
3815
3785
|
}, freq);
|
|
3816
3786
|
};
|
|
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));
|
|
3826
3787
|
const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
3827
3788
|
// Standard browser envs have full support of the APIs needed to test
|
|
3828
3789
|
// whether the request URL is of the same origin as current location.
|
|
@@ -4020,15 +3981,15 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4020
3981
|
const _config = resolveConfig(config);
|
|
4021
3982
|
let requestData = _config.data;
|
|
4022
3983
|
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
4023
|
-
let { responseType
|
|
3984
|
+
let { responseType } = _config;
|
|
4024
3985
|
let onCanceled;
|
|
4025
|
-
let uploadThrottled, downloadThrottled;
|
|
4026
|
-
let flushUpload, flushDownload;
|
|
4027
3986
|
function done() {
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
3987
|
+
if (_config.cancelToken) {
|
|
3988
|
+
_config.cancelToken.unsubscribe(onCanceled);
|
|
3989
|
+
}
|
|
3990
|
+
if (_config.signal) {
|
|
3991
|
+
_config.signal.removeEventListener("abort", onCanceled);
|
|
3992
|
+
}
|
|
4032
3993
|
}
|
|
4033
3994
|
let request = new XMLHttpRequest();
|
|
4034
3995
|
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
@@ -4075,11 +4036,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4075
4036
|
if (!request) {
|
|
4076
4037
|
return;
|
|
4077
4038
|
}
|
|
4078
|
-
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED,
|
|
4039
|
+
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED, _config, request));
|
|
4079
4040
|
request = null;
|
|
4080
4041
|
};
|
|
4081
4042
|
request.onerror = function handleError() {
|
|
4082
|
-
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK,
|
|
4043
|
+
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK, _config, request));
|
|
4083
4044
|
request = null;
|
|
4084
4045
|
};
|
|
4085
4046
|
request.ontimeout = function handleTimeout() {
|
|
@@ -4091,7 +4052,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4091
4052
|
reject3(new AxiosError(
|
|
4092
4053
|
timeoutErrorMessage,
|
|
4093
4054
|
transitional2.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
4094
|
-
|
|
4055
|
+
_config,
|
|
4095
4056
|
request
|
|
4096
4057
|
));
|
|
4097
4058
|
request = null;
|
|
@@ -4108,14 +4069,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4108
4069
|
if (responseType && responseType !== "json") {
|
|
4109
4070
|
request.responseType = _config.responseType;
|
|
4110
4071
|
}
|
|
4111
|
-
if (onDownloadProgress) {
|
|
4112
|
-
|
|
4113
|
-
request.addEventListener("progress", downloadThrottled);
|
|
4072
|
+
if (typeof _config.onDownloadProgress === "function") {
|
|
4073
|
+
request.addEventListener("progress", progressEventReducer(_config.onDownloadProgress, true));
|
|
4114
4074
|
}
|
|
4115
|
-
if (onUploadProgress && request.upload) {
|
|
4116
|
-
|
|
4117
|
-
request.upload.addEventListener("progress", uploadThrottled);
|
|
4118
|
-
request.upload.addEventListener("loadend", flushUpload);
|
|
4075
|
+
if (typeof _config.onUploadProgress === "function" && request.upload) {
|
|
4076
|
+
request.upload.addEventListener("progress", progressEventReducer(_config.onUploadProgress));
|
|
4119
4077
|
}
|
|
4120
4078
|
if (_config.cancelToken || _config.signal) {
|
|
4121
4079
|
onCanceled = (cancel) => {
|
|
@@ -4193,52 +4151,39 @@ const readBytes = async function* (iterable, chunkSize, encode2) {
|
|
|
4193
4151
|
const trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
|
|
4194
4152
|
const iterator = readBytes(stream, chunkSize, encode2);
|
|
4195
4153
|
let bytes = 0;
|
|
4196
|
-
let done;
|
|
4197
|
-
let _onFinish = (e) => {
|
|
4198
|
-
if (!done) {
|
|
4199
|
-
done = true;
|
|
4200
|
-
onFinish && onFinish(e);
|
|
4201
|
-
}
|
|
4202
|
-
};
|
|
4203
4154
|
return new ReadableStream({
|
|
4155
|
+
type: "bytes",
|
|
4204
4156
|
async pull(controller) {
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
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;
|
|
4157
|
+
const { done, value } = await iterator.next();
|
|
4158
|
+
if (done) {
|
|
4159
|
+
controller.close();
|
|
4160
|
+
onFinish();
|
|
4161
|
+
return;
|
|
4221
4162
|
}
|
|
4163
|
+
let len = value.byteLength;
|
|
4164
|
+
onProgress && onProgress(bytes += len);
|
|
4165
|
+
controller.enqueue(new Uint8Array(value));
|
|
4222
4166
|
},
|
|
4223
4167
|
cancel(reason) {
|
|
4224
|
-
|
|
4168
|
+
onFinish(reason);
|
|
4225
4169
|
return iterator.return();
|
|
4226
4170
|
}
|
|
4227
4171
|
}, {
|
|
4228
4172
|
highWaterMark: 2
|
|
4229
4173
|
});
|
|
4230
4174
|
};
|
|
4175
|
+
const fetchProgressDecorator = (total, fn3) => {
|
|
4176
|
+
const lengthComputable = total != null;
|
|
4177
|
+
return (loaded) => setTimeout(() => fn3({
|
|
4178
|
+
lengthComputable,
|
|
4179
|
+
total,
|
|
4180
|
+
loaded
|
|
4181
|
+
}));
|
|
4182
|
+
};
|
|
4231
4183
|
const isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
4232
4184
|
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
4233
4185
|
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
4234
|
-
const
|
|
4235
|
-
try {
|
|
4236
|
-
return !!fn3(...args);
|
|
4237
|
-
} catch (e) {
|
|
4238
|
-
return false;
|
|
4239
|
-
}
|
|
4240
|
-
};
|
|
4241
|
-
const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
4186
|
+
const supportsRequestStream = isReadableStreamSupported && (() => {
|
|
4242
4187
|
let duplexAccessed = false;
|
|
4243
4188
|
const hasContentType = new Request(platform.origin, {
|
|
4244
4189
|
body: new ReadableStream(),
|
|
@@ -4249,9 +4194,14 @@ const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
|
4249
4194
|
}
|
|
4250
4195
|
}).headers.has("Content-Type");
|
|
4251
4196
|
return duplexAccessed && !hasContentType;
|
|
4252
|
-
});
|
|
4197
|
+
})();
|
|
4253
4198
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
4254
|
-
const supportsResponseStream = isReadableStreamSupported &&
|
|
4199
|
+
const supportsResponseStream = isReadableStreamSupported && !!(() => {
|
|
4200
|
+
try {
|
|
4201
|
+
return utils$1.isReadableStream(new Response("").body);
|
|
4202
|
+
} catch (err) {
|
|
4203
|
+
}
|
|
4204
|
+
})();
|
|
4255
4205
|
const resolvers = {
|
|
4256
4206
|
stream: supportsResponseStream && ((res) => res.body)
|
|
4257
4207
|
};
|
|
@@ -4272,7 +4222,7 @@ const getBodyLength = async (body) => {
|
|
|
4272
4222
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4273
4223
|
return (await new Request(body).arrayBuffer()).byteLength;
|
|
4274
4224
|
}
|
|
4275
|
-
if (utils$1.isArrayBufferView(body)
|
|
4225
|
+
if (utils$1.isArrayBufferView(body)) {
|
|
4276
4226
|
return body.byteLength;
|
|
4277
4227
|
}
|
|
4278
4228
|
if (utils$1.isURLSearchParams(body)) {
|
|
@@ -4323,15 +4273,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4323
4273
|
headers.setContentType(contentTypeHeader);
|
|
4324
4274
|
}
|
|
4325
4275
|
if (_request.body) {
|
|
4326
|
-
|
|
4276
|
+
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(
|
|
4327
4277
|
requestContentLength,
|
|
4328
|
-
progressEventReducer(
|
|
4329
|
-
);
|
|
4330
|
-
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
|
4278
|
+
progressEventReducer(onUploadProgress)
|
|
4279
|
+
), null, encodeText);
|
|
4331
4280
|
}
|
|
4332
4281
|
}
|
|
4333
4282
|
if (!utils$1.isString(withCredentials)) {
|
|
4334
|
-
withCredentials = withCredentials ? "
|
|
4283
|
+
withCredentials = withCredentials ? "cors" : "omit";
|
|
4335
4284
|
}
|
|
4336
4285
|
request = new Request(url, {
|
|
4337
4286
|
...fetchOptions,
|
|
@@ -4340,7 +4289,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4340
4289
|
headers: headers.normalize().toJSON(),
|
|
4341
4290
|
body: data2,
|
|
4342
4291
|
duplex: "half",
|
|
4343
|
-
|
|
4292
|
+
withCredentials
|
|
4344
4293
|
});
|
|
4345
4294
|
let response = await fetch(request);
|
|
4346
4295
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
@@ -4350,15 +4299,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4350
4299
|
options[prop3] = response[prop3];
|
|
4351
4300
|
});
|
|
4352
4301
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
4353
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
4354
|
-
responseContentLength,
|
|
4355
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
4356
|
-
) || [];
|
|
4357
4302
|
response = new Response(
|
|
4358
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE,
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4303
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(
|
|
4304
|
+
responseContentLength,
|
|
4305
|
+
progressEventReducer(onDownloadProgress, true)
|
|
4306
|
+
), isStreamResponse && onFinish, encodeText),
|
|
4362
4307
|
options
|
|
4363
4308
|
);
|
|
4364
4309
|
}
|
|
@@ -4484,7 +4429,7 @@ function dispatchRequest(config) {
|
|
|
4484
4429
|
return Promise.reject(reason);
|
|
4485
4430
|
});
|
|
4486
4431
|
}
|
|
4487
|
-
const VERSION = "1.7.
|
|
4432
|
+
const VERSION = "1.7.2";
|
|
4488
4433
|
const validators$1 = {};
|
|
4489
4434
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
|
|
4490
4435
|
validators$1[type3] = function validator2(thing) {
|
|
@@ -5136,7 +5081,6 @@ class Bagel {
|
|
|
5136
5081
|
const formData = new FormData();
|
|
5137
5082
|
formData.append("file", file);
|
|
5138
5083
|
let url = "/static_files/upload";
|
|
5139
|
-
console.log(options == null ? void 0 : options.topic);
|
|
5140
5084
|
if (options == null ? void 0 : options.topic)
|
|
5141
5085
|
url = `/static_files/upload?topic=${options.topic}`;
|
|
5142
5086
|
const { data: data2 } = await axios.post(url, formData, {
|
|
@@ -48170,10 +48114,10 @@ var omit = /* @__PURE__ */ _curry2(function omit2(names, obj) {
|
|
|
48170
48114
|
return result2;
|
|
48171
48115
|
});
|
|
48172
48116
|
var omit$1 = omit;
|
|
48173
|
-
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(
|
|
48117
|
+
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(test, obj) {
|
|
48174
48118
|
var result2 = {};
|
|
48175
48119
|
for (var prop3 in obj) {
|
|
48176
|
-
if (
|
|
48120
|
+
if (test(obj[prop3], prop3, obj)) {
|
|
48177
48121
|
result2[prop3] = obj[prop3];
|
|
48178
48122
|
}
|
|
48179
48123
|
}
|