@bagelink/vue 0.0.673 → 0.0.675
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/ModalConfirm.vue.d.ts +10 -1
- package/dist/components/ModalConfirm.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/TabbedLayout.vue.d.ts +4 -5
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/form/BglForm.vue.d.ts +1 -0
- 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/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/RadioGroup.vue.d.ts +2 -2
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- 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/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.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/TabbedLayout.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/index.cjs +88 -138
- package/dist/index.mjs +88 -138
- package/dist/style.css +65 -65
- 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/ModalConfirm.vue +1 -0
- package/src/components/TableSchema.vue +0 -2
- package/src/components/form/BglForm.vue +1 -0
- package/src/components/form/inputs/RadioGroup.vue +1 -2
- package/src/components/form/inputs/TextInput.vue +1 -0
- package/src/components/form/inputs/index.ts +1 -1
- package/src/components/layout/TabbedLayout.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
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, {
|
|
@@ -6417,7 +6361,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
6417
6361
|
containerRef
|
|
6418
6362
|
};
|
|
6419
6363
|
}
|
|
6420
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-
|
|
6364
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-6653fb41"), n2 = n2(), popScopeId(), n2);
|
|
6421
6365
|
const _hoisted_1$D = {
|
|
6422
6366
|
key: 0,
|
|
6423
6367
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
@@ -6451,7 +6395,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
6451
6395
|
emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6452
6396
|
setup(__props, { emit: __emit }) {
|
|
6453
6397
|
useCssVars((_ctx) => ({
|
|
6454
|
-
"
|
|
6398
|
+
"96a68704": unref(computedItemHiehgt)
|
|
6455
6399
|
}));
|
|
6456
6400
|
const props2 = __props;
|
|
6457
6401
|
const emit2 = __emit;
|
|
@@ -6656,7 +6600,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
6656
6600
|
};
|
|
6657
6601
|
}
|
|
6658
6602
|
});
|
|
6659
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
6603
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-6653fb41"]]);
|
|
6660
6604
|
const _sfc_main$F = {};
|
|
6661
6605
|
const _hoisted_1$C = { class: "flex space-between" };
|
|
6662
6606
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -7251,9 +7195,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
7251
7195
|
})
|
|
7252
7196
|
]),
|
|
7253
7197
|
default: withCtx(() => [
|
|
7254
|
-
createTextVNode(toDisplayString(_ctx.message) + " ", 1)
|
|
7198
|
+
createTextVNode(toDisplayString(_ctx.message) + " ", 1),
|
|
7199
|
+
renderSlot(_ctx.$slots, "default")
|
|
7255
7200
|
]),
|
|
7256
|
-
_:
|
|
7201
|
+
_: 3
|
|
7257
7202
|
}, 8, ["title"]);
|
|
7258
7203
|
};
|
|
7259
7204
|
}
|
|
@@ -7378,6 +7323,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
7378
7323
|
);
|
|
7379
7324
|
}
|
|
7380
7325
|
__expose({
|
|
7326
|
+
submit: runSubmit,
|
|
7381
7327
|
validateForm,
|
|
7382
7328
|
deleteItem,
|
|
7383
7329
|
isDirty: isDirty.value,
|
|
@@ -19108,7 +19054,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19108
19054
|
disabled: _ctx.disabled,
|
|
19109
19055
|
required: _ctx.required,
|
|
19110
19056
|
pattern: _ctx.pattern
|
|
19111
|
-
}, _ctx.nativeInputAttrs, {
|
|
19057
|
+
}, _ctx.nativeInputAttrs, {
|
|
19058
|
+
onInput: updateInputVal,
|
|
19059
|
+
onFocusout: _cache[3] || (_cache[3] = //@ts-ignore
|
|
19060
|
+
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
|
|
19061
|
+
}), null, 16, _hoisted_4$a)), [
|
|
19112
19062
|
[vModelText, unref(inputVal)]
|
|
19113
19063
|
]),
|
|
19114
19064
|
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$a, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
|
|
@@ -19126,7 +19076,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19126
19076
|
};
|
|
19127
19077
|
}
|
|
19128
19078
|
});
|
|
19129
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19079
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-edac341b"]]);
|
|
19130
19080
|
const _hoisted_1$o = { class: "primary-checkbox" };
|
|
19131
19081
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
19132
19082
|
__name: "Checkbox",
|
|
@@ -47348,7 +47298,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47348
47298
|
};
|
|
47349
47299
|
}
|
|
47350
47300
|
});
|
|
47351
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
47301
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ac3dc0e2"]]);
|
|
47352
47302
|
function _isPlaceholder(a2) {
|
|
47353
47303
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
47354
47304
|
}
|
|
@@ -48154,10 +48104,10 @@ var omit = /* @__PURE__ */ _curry2(function omit2(names, obj) {
|
|
|
48154
48104
|
return result2;
|
|
48155
48105
|
});
|
|
48156
48106
|
var omit$1 = omit;
|
|
48157
|
-
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(
|
|
48107
|
+
var pickBy = /* @__PURE__ */ _curry2(function pickBy2(test, obj) {
|
|
48158
48108
|
var result2 = {};
|
|
48159
48109
|
for (var prop3 in obj) {
|
|
48160
|
-
if (
|
|
48110
|
+
if (test(obj[prop3], prop3, obj)) {
|
|
48161
48111
|
result2[prop3] = obj[prop3];
|
|
48162
48112
|
}
|
|
48163
48113
|
}
|
|
@@ -53827,7 +53777,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53827
53777
|
};
|
|
53828
53778
|
}
|
|
53829
53779
|
});
|
|
53830
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
53780
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0a54cdeb"]]);
|
|
53831
53781
|
const countryArray = [
|
|
53832
53782
|
["Afghanistan (افغانستان)", "AF", "93"],
|
|
53833
53783
|
["Albania (Shqipëri)", "AL", "355"],
|