@bagelink/vue 0.0.683 → 0.0.687
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.vue.d.ts.map +1 -1
- package/dist/components/AccordionItem.vue.d.ts +8 -8
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Alert.vue.d.ts +12 -11
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +11 -11
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Badge.vue.d.ts +3 -2
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/BglVideo.vue.d.ts +2 -2
- package/dist/components/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +13 -12
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +8 -8
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- 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.vue.d.ts +30 -23
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/DropDown.vue.d.ts +3 -3
- package/dist/components/Flag.vue.d.ts +3 -2
- package/dist/components/Flag.vue.d.ts.map +1 -1
- package/dist/components/FormSchema.vue.d.ts +4 -5
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.vue.d.ts +8 -8
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/MaterialIcon.vue.d.ts +4 -4
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +9 -8
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalBglForm.vue.d.ts +20 -21
- package/dist/components/ModalConfirm.vue.d.ts +8 -8
- package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts +69 -29
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +12 -11
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- 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/RouterWrapper.vue.d.ts.map +1 -1
- package/dist/components/TabbedLayout.vue.d.ts +4 -5
- package/dist/components/TableSchema.vue.d.ts +9 -15
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.vue.d.ts +1 -1
- package/dist/components/Title.vue.d.ts.map +1 -1
- package/dist/components/TopBar.vue.d.ts.map +1 -1
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.vue.d.ts +4 -3
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts +6 -5
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +13 -12
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- 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/CheckInput.vue.d.ts +43 -37
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts +5 -17
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts +11 -11
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.vue.d.ts +12 -11
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +4 -3
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- 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.vue.d.ts +9 -8
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- 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.vue.d.ts +11 -11
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- 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.vue.d.ts +7 -12
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +13 -12
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RichText.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts +4 -3
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +4 -3
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- 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/SelectInput.vue.d.ts +9 -8
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +12 -11
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts +11 -11
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +206 -112
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.vue.d.ts +12 -11
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts +45 -37
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- 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.vue.d.ts +9 -8
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Layout.vue.d.ts +11 -11
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts +9 -8
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts +9 -8
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +9 -8
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsBody.vue.d.ts +8 -8
- package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +4 -3
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/composables/index.d.ts +1 -0
- package/dist/index.cjs +112 -171
- package/dist/index.mjs +112 -171
- package/dist/plugins/bagel.d.ts +1 -0
- package/dist/plugins/modal.d.ts +1 -0
- package/dist/style.css +108 -40
- package/dist/types/BagelForm.d.ts +1 -0
- package/dist/types/BtnOptions.d.ts +1 -0
- package/dist/types/NavLink.d.ts +1 -0
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/utils/BagelFormUtils.d.ts +1 -0
- package/dist/utils/allCountries.d.ts +1 -0
- package/dist/utils/clickOutside.d.ts +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/objects.d.ts +0 -1
- package/package.json +1 -1
- package/src/components/form/inputs/DatePicker.vue +1 -1
- package/src/components/form/inputs/TelInput.vue +74 -53
- package/src/styles/layout.css +50 -17
- package/src/styles/mobilLayout.css +47 -16
- package/src/styles/text.css +8 -0
- 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
package/dist/index.mjs
CHANGED
|
@@ -2845,26 +2845,6 @@ const toJSONObject = (obj) => {
|
|
|
2845
2845
|
};
|
|
2846
2846
|
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
2847
2847
|
const isThenable = (thing) => thing && (isObject$1(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
2848
|
-
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
2849
|
-
if (setImmediateSupported) {
|
|
2850
|
-
return setImmediate;
|
|
2851
|
-
}
|
|
2852
|
-
return postMessageSupported ? ((token, callbacks) => {
|
|
2853
|
-
_global.addEventListener("message", ({ source, data: data2 }) => {
|
|
2854
|
-
if (source === _global && data2 === token) {
|
|
2855
|
-
callbacks.length && callbacks.shift()();
|
|
2856
|
-
}
|
|
2857
|
-
}, false);
|
|
2858
|
-
return (cb) => {
|
|
2859
|
-
callbacks.push(cb);
|
|
2860
|
-
_global.postMessage(token, "*");
|
|
2861
|
-
};
|
|
2862
|
-
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
2863
|
-
})(
|
|
2864
|
-
typeof setImmediate === "function",
|
|
2865
|
-
isFunction$1(_global.postMessage)
|
|
2866
|
-
);
|
|
2867
|
-
const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
2868
2848
|
const utils$1 = {
|
|
2869
2849
|
isArray,
|
|
2870
2850
|
isArrayBuffer,
|
|
@@ -2921,9 +2901,7 @@ const utils$1 = {
|
|
|
2921
2901
|
isSpecCompliantForm,
|
|
2922
2902
|
toJSONObject,
|
|
2923
2903
|
isAsyncFn,
|
|
2924
|
-
isThenable
|
|
2925
|
-
setImmediate: _setImmediate,
|
|
2926
|
-
asap
|
|
2904
|
+
isThenable
|
|
2927
2905
|
};
|
|
2928
2906
|
function AxiosError(message2, code2, config, request, response) {
|
|
2929
2907
|
Error.call(this);
|
|
@@ -3758,35 +3736,27 @@ function speedometer(samplesCount, min2) {
|
|
|
3758
3736
|
}
|
|
3759
3737
|
function throttle$2(fn3, freq) {
|
|
3760
3738
|
let timestamp = 0;
|
|
3761
|
-
|
|
3762
|
-
let
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
timestamp = now;
|
|
3766
|
-
lastArgs = null;
|
|
3767
|
-
if (timer) {
|
|
3768
|
-
clearTimeout(timer);
|
|
3769
|
-
timer = null;
|
|
3770
|
-
}
|
|
3771
|
-
fn3.apply(null, args);
|
|
3772
|
-
};
|
|
3773
|
-
const throttled = (...args) => {
|
|
3739
|
+
const threshold = 1e3 / freq;
|
|
3740
|
+
let timer = null;
|
|
3741
|
+
return function throttled() {
|
|
3742
|
+
const force = this === true;
|
|
3774
3743
|
const now = Date.now();
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
lastArgs = args;
|
|
3780
|
-
if (!timer) {
|
|
3781
|
-
timer = setTimeout(() => {
|
|
3782
|
-
timer = null;
|
|
3783
|
-
invoke(lastArgs);
|
|
3784
|
-
}, threshold - passed);
|
|
3744
|
+
if (force || now - timestamp > threshold) {
|
|
3745
|
+
if (timer) {
|
|
3746
|
+
clearTimeout(timer);
|
|
3747
|
+
timer = null;
|
|
3785
3748
|
}
|
|
3749
|
+
timestamp = now;
|
|
3750
|
+
return fn3.apply(null, arguments);
|
|
3751
|
+
}
|
|
3752
|
+
if (!timer) {
|
|
3753
|
+
timer = setTimeout(() => {
|
|
3754
|
+
timer = null;
|
|
3755
|
+
timestamp = Date.now();
|
|
3756
|
+
return fn3.apply(null, arguments);
|
|
3757
|
+
}, threshold - (now - timestamp));
|
|
3786
3758
|
}
|
|
3787
3759
|
};
|
|
3788
|
-
const flush = () => lastArgs && invoke(lastArgs);
|
|
3789
|
-
return [throttled, flush];
|
|
3790
3760
|
}
|
|
3791
3761
|
const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
3792
3762
|
let bytesNotified = 0;
|
|
@@ -3806,21 +3776,12 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
3806
3776
|
rate: rate ? rate : void 0,
|
|
3807
3777
|
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
3808
3778
|
event: e,
|
|
3809
|
-
lengthComputable: total != null
|
|
3810
|
-
[isDownloadStream ? "download" : "upload"]: true
|
|
3779
|
+
lengthComputable: total != null
|
|
3811
3780
|
};
|
|
3781
|
+
data2[isDownloadStream ? "download" : "upload"] = true;
|
|
3812
3782
|
listener(data2);
|
|
3813
3783
|
}, freq);
|
|
3814
3784
|
};
|
|
3815
|
-
const progressEventDecorator = (total, throttled) => {
|
|
3816
|
-
const lengthComputable = total != null;
|
|
3817
|
-
return [(loaded) => throttled[0]({
|
|
3818
|
-
lengthComputable,
|
|
3819
|
-
total,
|
|
3820
|
-
loaded
|
|
3821
|
-
}), throttled[1]];
|
|
3822
|
-
};
|
|
3823
|
-
const asyncDecorator = (fn3) => (...args) => utils$1.asap(() => fn3(...args));
|
|
3824
3785
|
const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
3825
3786
|
// Standard browser envs have full support of the APIs needed to test
|
|
3826
3787
|
// whether the request URL is of the same origin as current location.
|
|
@@ -4018,15 +3979,15 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4018
3979
|
const _config = resolveConfig(config);
|
|
4019
3980
|
let requestData = _config.data;
|
|
4020
3981
|
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
4021
|
-
let { responseType
|
|
3982
|
+
let { responseType } = _config;
|
|
4022
3983
|
let onCanceled;
|
|
4023
|
-
let uploadThrottled, downloadThrottled;
|
|
4024
|
-
let flushUpload, flushDownload;
|
|
4025
3984
|
function done() {
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
3985
|
+
if (_config.cancelToken) {
|
|
3986
|
+
_config.cancelToken.unsubscribe(onCanceled);
|
|
3987
|
+
}
|
|
3988
|
+
if (_config.signal) {
|
|
3989
|
+
_config.signal.removeEventListener("abort", onCanceled);
|
|
3990
|
+
}
|
|
4030
3991
|
}
|
|
4031
3992
|
let request = new XMLHttpRequest();
|
|
4032
3993
|
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
@@ -4073,11 +4034,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4073
4034
|
if (!request) {
|
|
4074
4035
|
return;
|
|
4075
4036
|
}
|
|
4076
|
-
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED,
|
|
4037
|
+
reject3(new AxiosError("Request aborted", AxiosError.ECONNABORTED, _config, request));
|
|
4077
4038
|
request = null;
|
|
4078
4039
|
};
|
|
4079
4040
|
request.onerror = function handleError() {
|
|
4080
|
-
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK,
|
|
4041
|
+
reject3(new AxiosError("Network Error", AxiosError.ERR_NETWORK, _config, request));
|
|
4081
4042
|
request = null;
|
|
4082
4043
|
};
|
|
4083
4044
|
request.ontimeout = function handleTimeout() {
|
|
@@ -4089,7 +4050,7 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4089
4050
|
reject3(new AxiosError(
|
|
4090
4051
|
timeoutErrorMessage,
|
|
4091
4052
|
transitional2.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
4092
|
-
|
|
4053
|
+
_config,
|
|
4093
4054
|
request
|
|
4094
4055
|
));
|
|
4095
4056
|
request = null;
|
|
@@ -4106,14 +4067,11 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4106
4067
|
if (responseType && responseType !== "json") {
|
|
4107
4068
|
request.responseType = _config.responseType;
|
|
4108
4069
|
}
|
|
4109
|
-
if (onDownloadProgress) {
|
|
4110
|
-
|
|
4111
|
-
request.addEventListener("progress", downloadThrottled);
|
|
4070
|
+
if (typeof _config.onDownloadProgress === "function") {
|
|
4071
|
+
request.addEventListener("progress", progressEventReducer(_config.onDownloadProgress, true));
|
|
4112
4072
|
}
|
|
4113
|
-
if (onUploadProgress && request.upload) {
|
|
4114
|
-
|
|
4115
|
-
request.upload.addEventListener("progress", uploadThrottled);
|
|
4116
|
-
request.upload.addEventListener("loadend", flushUpload);
|
|
4073
|
+
if (typeof _config.onUploadProgress === "function" && request.upload) {
|
|
4074
|
+
request.upload.addEventListener("progress", progressEventReducer(_config.onUploadProgress));
|
|
4117
4075
|
}
|
|
4118
4076
|
if (_config.cancelToken || _config.signal) {
|
|
4119
4077
|
onCanceled = (cancel) => {
|
|
@@ -4191,52 +4149,39 @@ const readBytes = async function* (iterable, chunkSize, encode2) {
|
|
|
4191
4149
|
const trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
|
|
4192
4150
|
const iterator = readBytes(stream, chunkSize, encode2);
|
|
4193
4151
|
let bytes = 0;
|
|
4194
|
-
let done;
|
|
4195
|
-
let _onFinish = (e) => {
|
|
4196
|
-
if (!done) {
|
|
4197
|
-
done = true;
|
|
4198
|
-
onFinish && onFinish(e);
|
|
4199
|
-
}
|
|
4200
|
-
};
|
|
4201
4152
|
return new ReadableStream({
|
|
4153
|
+
type: "bytes",
|
|
4202
4154
|
async pull(controller) {
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
return;
|
|
4209
|
-
}
|
|
4210
|
-
let len = value.byteLength;
|
|
4211
|
-
if (onProgress) {
|
|
4212
|
-
let loadedBytes = bytes += len;
|
|
4213
|
-
onProgress(loadedBytes);
|
|
4214
|
-
}
|
|
4215
|
-
controller.enqueue(new Uint8Array(value));
|
|
4216
|
-
} catch (err) {
|
|
4217
|
-
_onFinish(err);
|
|
4218
|
-
throw err;
|
|
4155
|
+
const { done, value } = await iterator.next();
|
|
4156
|
+
if (done) {
|
|
4157
|
+
controller.close();
|
|
4158
|
+
onFinish();
|
|
4159
|
+
return;
|
|
4219
4160
|
}
|
|
4161
|
+
let len = value.byteLength;
|
|
4162
|
+
onProgress && onProgress(bytes += len);
|
|
4163
|
+
controller.enqueue(new Uint8Array(value));
|
|
4220
4164
|
},
|
|
4221
4165
|
cancel(reason) {
|
|
4222
|
-
|
|
4166
|
+
onFinish(reason);
|
|
4223
4167
|
return iterator.return();
|
|
4224
4168
|
}
|
|
4225
4169
|
}, {
|
|
4226
4170
|
highWaterMark: 2
|
|
4227
4171
|
});
|
|
4228
4172
|
};
|
|
4173
|
+
const fetchProgressDecorator = (total, fn3) => {
|
|
4174
|
+
const lengthComputable = total != null;
|
|
4175
|
+
return (loaded) => setTimeout(() => fn3({
|
|
4176
|
+
lengthComputable,
|
|
4177
|
+
total,
|
|
4178
|
+
loaded
|
|
4179
|
+
}));
|
|
4180
|
+
};
|
|
4229
4181
|
const isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
4230
4182
|
const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
4231
4183
|
const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
4232
|
-
const
|
|
4233
|
-
try {
|
|
4234
|
-
return !!fn3(...args);
|
|
4235
|
-
} catch (e) {
|
|
4236
|
-
return false;
|
|
4237
|
-
}
|
|
4238
|
-
};
|
|
4239
|
-
const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
4184
|
+
const supportsRequestStream = isReadableStreamSupported && (() => {
|
|
4240
4185
|
let duplexAccessed = false;
|
|
4241
4186
|
const hasContentType = new Request(platform.origin, {
|
|
4242
4187
|
body: new ReadableStream(),
|
|
@@ -4247,9 +4192,14 @@ const supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
|
4247
4192
|
}
|
|
4248
4193
|
}).headers.has("Content-Type");
|
|
4249
4194
|
return duplexAccessed && !hasContentType;
|
|
4250
|
-
});
|
|
4195
|
+
})();
|
|
4251
4196
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
4252
|
-
const supportsResponseStream = isReadableStreamSupported &&
|
|
4197
|
+
const supportsResponseStream = isReadableStreamSupported && !!(() => {
|
|
4198
|
+
try {
|
|
4199
|
+
return utils$1.isReadableStream(new Response("").body);
|
|
4200
|
+
} catch (err) {
|
|
4201
|
+
}
|
|
4202
|
+
})();
|
|
4253
4203
|
const resolvers = {
|
|
4254
4204
|
stream: supportsResponseStream && ((res) => res.body)
|
|
4255
4205
|
};
|
|
@@ -4270,7 +4220,7 @@ const getBodyLength = async (body) => {
|
|
|
4270
4220
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4271
4221
|
return (await new Request(body).arrayBuffer()).byteLength;
|
|
4272
4222
|
}
|
|
4273
|
-
if (utils$1.isArrayBufferView(body)
|
|
4223
|
+
if (utils$1.isArrayBufferView(body)) {
|
|
4274
4224
|
return body.byteLength;
|
|
4275
4225
|
}
|
|
4276
4226
|
if (utils$1.isURLSearchParams(body)) {
|
|
@@ -4321,15 +4271,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4321
4271
|
headers.setContentType(contentTypeHeader);
|
|
4322
4272
|
}
|
|
4323
4273
|
if (_request.body) {
|
|
4324
|
-
|
|
4274
|
+
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(
|
|
4325
4275
|
requestContentLength,
|
|
4326
|
-
progressEventReducer(
|
|
4327
|
-
);
|
|
4328
|
-
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
|
4276
|
+
progressEventReducer(onUploadProgress)
|
|
4277
|
+
), null, encodeText);
|
|
4329
4278
|
}
|
|
4330
4279
|
}
|
|
4331
4280
|
if (!utils$1.isString(withCredentials)) {
|
|
4332
|
-
withCredentials = withCredentials ? "
|
|
4281
|
+
withCredentials = withCredentials ? "cors" : "omit";
|
|
4333
4282
|
}
|
|
4334
4283
|
request = new Request(url, {
|
|
4335
4284
|
...fetchOptions,
|
|
@@ -4338,7 +4287,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4338
4287
|
headers: headers.normalize().toJSON(),
|
|
4339
4288
|
body: data2,
|
|
4340
4289
|
duplex: "half",
|
|
4341
|
-
|
|
4290
|
+
withCredentials
|
|
4342
4291
|
});
|
|
4343
4292
|
let response = await fetch(request);
|
|
4344
4293
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
@@ -4348,15 +4297,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4348
4297
|
options[prop3] = response[prop3];
|
|
4349
4298
|
});
|
|
4350
4299
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
4351
|
-
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
4352
|
-
responseContentLength,
|
|
4353
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
4354
|
-
) || [];
|
|
4355
4300
|
response = new Response(
|
|
4356
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE,
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4301
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(
|
|
4302
|
+
responseContentLength,
|
|
4303
|
+
progressEventReducer(onDownloadProgress, true)
|
|
4304
|
+
), isStreamResponse && onFinish, encodeText),
|
|
4360
4305
|
options
|
|
4361
4306
|
);
|
|
4362
4307
|
}
|
|
@@ -4482,7 +4427,7 @@ function dispatchRequest(config) {
|
|
|
4482
4427
|
return Promise.reject(reason);
|
|
4483
4428
|
});
|
|
4484
4429
|
}
|
|
4485
|
-
const VERSION = "1.7.
|
|
4430
|
+
const VERSION = "1.7.2";
|
|
4486
4431
|
const validators$1 = {};
|
|
4487
4432
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
|
|
4488
4433
|
validators$1[type3] = function validator2(thing) {
|
|
@@ -5134,7 +5079,6 @@ class Bagel {
|
|
|
5134
5079
|
const formData = new FormData();
|
|
5135
5080
|
formData.append("file", file);
|
|
5136
5081
|
let url = "/static_files/upload";
|
|
5137
|
-
console.log(options == null ? void 0 : options.topic);
|
|
5138
5082
|
if (options == null ? void 0 : options.topic)
|
|
5139
5083
|
url = `/static_files/upload?topic=${options.topic}`;
|
|
5140
5084
|
const { data: data2 } = await axios.post(url, formData, {
|
|
@@ -32307,7 +32251,7 @@ function pasteRulesPlugin(props2) {
|
|
|
32307
32251
|
}
|
|
32308
32252
|
function findDuplicates(items) {
|
|
32309
32253
|
const filtered = items.filter((el, index2) => items.indexOf(el) !== index2);
|
|
32310
|
-
return
|
|
32254
|
+
return [...new Set(filtered)];
|
|
32311
32255
|
}
|
|
32312
32256
|
class ExtensionManager {
|
|
32313
32257
|
constructor(extensions, editor) {
|
|
@@ -33498,7 +33442,7 @@ function getMarksBetween(from2, to2, doc2) {
|
|
|
33498
33442
|
const marks = [];
|
|
33499
33443
|
if (from2 === to2) {
|
|
33500
33444
|
doc2.resolve(from2).marks().forEach((mark) => {
|
|
33501
|
-
const $pos = doc2.resolve(from2);
|
|
33445
|
+
const $pos = doc2.resolve(from2 - 1);
|
|
33502
33446
|
const range2 = getMarkRange($pos, mark.type);
|
|
33503
33447
|
if (!range2) {
|
|
33504
33448
|
return;
|
|
@@ -33612,36 +33556,27 @@ function isList(name, extensions) {
|
|
|
33612
33556
|
}
|
|
33613
33557
|
return group.split(" ").includes("list");
|
|
33614
33558
|
}
|
|
33615
|
-
function isNodeEmpty(node, { checkChildren
|
|
33616
|
-
var _a2;
|
|
33617
|
-
if (ignoreWhitespace) {
|
|
33618
|
-
if (node.type.name === "hardBreak") {
|
|
33619
|
-
return true;
|
|
33620
|
-
}
|
|
33621
|
-
if (node.isText) {
|
|
33622
|
-
return /^\s*$/m.test((_a2 = node.text) !== null && _a2 !== void 0 ? _a2 : "");
|
|
33623
|
-
}
|
|
33624
|
-
}
|
|
33559
|
+
function isNodeEmpty(node, { checkChildren } = { checkChildren: true }) {
|
|
33625
33560
|
if (node.isText) {
|
|
33626
33561
|
return !node.text;
|
|
33627
33562
|
}
|
|
33628
|
-
if (node.isAtom || node.isLeaf) {
|
|
33629
|
-
return false;
|
|
33630
|
-
}
|
|
33631
33563
|
if (node.content.childCount === 0) {
|
|
33632
33564
|
return true;
|
|
33633
33565
|
}
|
|
33566
|
+
if (node.isLeaf) {
|
|
33567
|
+
return false;
|
|
33568
|
+
}
|
|
33634
33569
|
if (checkChildren) {
|
|
33635
|
-
let
|
|
33570
|
+
let hasSameContent = true;
|
|
33636
33571
|
node.content.forEach((childNode) => {
|
|
33637
|
-
if (
|
|
33572
|
+
if (hasSameContent === false) {
|
|
33638
33573
|
return;
|
|
33639
33574
|
}
|
|
33640
|
-
if (!isNodeEmpty(childNode
|
|
33641
|
-
|
|
33575
|
+
if (!isNodeEmpty(childNode)) {
|
|
33576
|
+
hasSameContent = false;
|
|
33642
33577
|
}
|
|
33643
33578
|
});
|
|
33644
|
-
return
|
|
33579
|
+
return hasSameContent;
|
|
33645
33580
|
}
|
|
33646
33581
|
return false;
|
|
33647
33582
|
}
|
|
@@ -35637,7 +35572,6 @@ const CodeBlock = Node$2.create({
|
|
|
35637
35572
|
languageClassPrefix: "language-",
|
|
35638
35573
|
exitOnTripleEnter: true,
|
|
35639
35574
|
exitOnArrowDown: true,
|
|
35640
|
-
defaultLanguage: null,
|
|
35641
35575
|
HTMLAttributes: {}
|
|
35642
35576
|
};
|
|
35643
35577
|
},
|
|
@@ -35649,7 +35583,7 @@ const CodeBlock = Node$2.create({
|
|
|
35649
35583
|
addAttributes() {
|
|
35650
35584
|
return {
|
|
35651
35585
|
language: {
|
|
35652
|
-
default:
|
|
35586
|
+
default: null,
|
|
35653
35587
|
parseHTML: (element) => {
|
|
35654
35588
|
var _a2;
|
|
35655
35589
|
const { languageClassPrefix } = this.options;
|
|
@@ -45864,18 +45798,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
45864
45798
|
searchable: true
|
|
45865
45799
|
};
|
|
45866
45800
|
const defaultInputOptions = {
|
|
45867
|
-
|
|
45868
|
-
|
|
45801
|
+
showDialCode: true,
|
|
45802
|
+
autofocus: false,
|
|
45869
45803
|
"aria-describedby": "",
|
|
45870
|
-
|
|
45871
|
-
|
|
45872
|
-
|
|
45873
|
-
|
|
45874
|
-
|
|
45875
|
-
|
|
45876
|
-
|
|
45877
|
-
|
|
45878
|
-
|
|
45804
|
+
id: "",
|
|
45805
|
+
maxlength: 25,
|
|
45806
|
+
minlength: 9,
|
|
45807
|
+
pattern: void 0,
|
|
45808
|
+
name: "",
|
|
45809
|
+
readonly: false,
|
|
45810
|
+
tabindex: 0,
|
|
45811
|
+
style: "",
|
|
45812
|
+
placeholder: "Enter a phone number"
|
|
45879
45813
|
};
|
|
45880
45814
|
const computedDropDownOptions = computed(() => ({
|
|
45881
45815
|
...defaultDropdownOptions,
|
|
@@ -45968,6 +45902,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
45968
45902
|
}
|
|
45969
45903
|
);
|
|
45970
45904
|
async function initializeCountry() {
|
|
45905
|
+
if (props2.modelValue.includes("+")) {
|
|
45906
|
+
const sanitized = `${props2.modelValue}`.replace(/[\+\-\s]/gi, "");
|
|
45907
|
+
const twoDigits = sanitized.slice(0, 2);
|
|
45908
|
+
const threeDigits = sanitized.slice(0, 3);
|
|
45909
|
+
const country = findCountryByDialCode(+threeDigits) || findCountryByDialCode(+twoDigits);
|
|
45910
|
+
if (country) {
|
|
45911
|
+
chooseCountry(country.iso2);
|
|
45912
|
+
return;
|
|
45913
|
+
}
|
|
45914
|
+
}
|
|
45971
45915
|
if (props2.defaultCountry) {
|
|
45972
45916
|
if (typeof props2.defaultCountry === "string") {
|
|
45973
45917
|
chooseCountry(props2.defaultCountry);
|
|
@@ -46005,7 +45949,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
46005
45949
|
return countryList;
|
|
46006
45950
|
}
|
|
46007
45951
|
function findCountryByDialCode(dialCode) {
|
|
46008
|
-
return filteredCountries.value.find(
|
|
45952
|
+
return filteredCountries.value.find(
|
|
45953
|
+
(country) => Number(country.dialCode) === dialCode
|
|
45954
|
+
);
|
|
46009
45955
|
}
|
|
46010
45956
|
function chooseCountry(country) {
|
|
46011
45957
|
var _a2;
|
|
@@ -46033,9 +45979,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
46033
45979
|
emit2("space");
|
|
46034
45980
|
}
|
|
46035
45981
|
function reset() {
|
|
46036
|
-
selectedIndex.value = sortedCountries.value.findIndex(
|
|
46037
|
-
(c2) => c2.iso2 === activeCountryCode.value
|
|
46038
|
-
);
|
|
45982
|
+
selectedIndex.value = sortedCountries.value.findIndex((c2) => c2.iso2 === activeCountryCode.value);
|
|
46039
45983
|
open.value = false;
|
|
46040
45984
|
}
|
|
46041
45985
|
function handleInput(e) {
|
|
@@ -46091,10 +46035,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
46091
46035
|
class: "flex gap-075",
|
|
46092
46036
|
tabindex: "-1",
|
|
46093
46037
|
"aria-selected": unref(activeCountryCode) === pb.iso2 && !isPreferred(pb),
|
|
46094
|
-
onClick: ($event) =>
|
|
46095
|
-
chooseCountry(pb.iso2);
|
|
46096
|
-
hide2();
|
|
46097
|
-
},
|
|
46038
|
+
onClick: ($event) => hide2() && chooseCountry(pb.iso2),
|
|
46098
46039
|
onMousemove: ($event) => isRef(selectedIndex) ? selectedIndex.value = index2 : selectedIndex = index2
|
|
46099
46040
|
}, [
|
|
46100
46041
|
computedDropDownOptions.value.showFlags ? (openBlock(), createBlock(unref(Flag), {
|
|
@@ -46157,7 +46098,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
46157
46098
|
};
|
|
46158
46099
|
}
|
|
46159
46100
|
});
|
|
46160
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
46101
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-27c14f9f"]]);
|
|
46161
46102
|
/*!
|
|
46162
46103
|
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
|
|
46163
46104
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -48184,10 +48125,10 @@ var omit = /* @__PURE__ */ _curry2(function omit2(names, obj) {
|
|
|
48184
48125
|
return result2;
|
|
48185
48126
|
});
|
|
48186
48127
|
var omit$1 = omit;
|
|
48187
|
-
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(
|
|
48128
|
+
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(test, obj) {
|
|
48188
48129
|
var result2 = {};
|
|
48189
48130
|
for (var prop3 in obj) {
|
|
48190
|
-
if (
|
|
48131
|
+
if (test(obj[prop3], prop3, obj)) {
|
|
48191
48132
|
result2[prop3] = obj[prop3];
|
|
48192
48133
|
}
|
|
48193
48134
|
}
|
package/dist/plugins/bagel.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InjectionKey, Plugin } from 'vue';
|
|
2
2
|
import { Bagel } from '../../../sdk/src/index.ts';
|
|
3
|
+
|
|
3
4
|
export declare const bagelInjectionKey: InjectionKey<Bagel>;
|
|
4
5
|
export declare const i18nTInjectionKey: InjectionKey<(key: string) => string>;
|
|
5
6
|
export declare function useBagel(): Bagel;
|