@bagelink/vue 0.0.738 → 0.0.740
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/AddressSaerch.vue.d.ts +7 -0
- package/dist/components/AddressSaerch.vue.d.ts.map +1 -0
- package/dist/components/AddressSearch.vue.d.ts +7 -0
- package/dist/components/AddressSearch.vue.d.ts.map +1 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts +55 -1
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +6 -6
- package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +399 -217
- package/dist/index.mjs +399 -217
- package/dist/style.css +1137 -417
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/components/AddressSearch.vue +41 -0
- package/src/components/Badge.vue +1 -1
- package/src/components/Btn.vue +9 -7
- package/src/components/Card.vue +2 -2
- package/src/components/ListItem.vue +1 -1
- package/src/components/MapEmbed.vue +143 -104
- package/src/components/Modal.vue +5 -2
- package/src/components/ModalConfirm.vue +1 -1
- package/src/components/NavBar.vue +9 -9
- package/src/components/TableSchema.vue +3 -3
- package/src/components/form/inputs/Checkbox.vue +1 -1
- package/src/components/form/inputs/DatePicker.vue +5 -5
- package/src/components/form/inputs/FileUpload.vue +1 -1
- package/src/components/form/inputs/PasswordInput.vue +9 -10
- package/src/components/form/inputs/RadioGroup.vue +1 -1
- package/src/components/form/inputs/RadioPillsInput.vue +2 -2
- package/src/components/form/inputs/RichText.vue +3 -3
- package/src/components/form/inputs/RichText2/index.vue +8 -2
- package/src/components/form/inputs/TableField.vue +3 -3
- package/src/components/form/inputs/TextInput.vue +3 -3
- package/src/components/form/inputs/ToggleInput.vue +1 -1
- package/src/components/formkit/FileUploader.vue +1 -1
- package/src/components/formkit/MiscFields.vue +1 -1
- package/src/components/formkit/Toggle.vue +4 -4
- package/src/components/index.ts +1 -0
- package/src/components/layout/BottomMenu.vue +2 -2
- package/src/components/layout/SidebarMenu.vue +1 -1
- package/src/components/layout/TabsNav.vue +1 -1
- package/src/components/leaflet/leaflet.css +661 -0
- package/src/components/lightbox/Lightbox.vue +2 -2
- package/src/styles/appearance.css +16 -0
- package/src/styles/bagel.css +2 -1
- package/src/styles/inputs.css +3 -3
- package/src/styles/loginCard.css +1 -1
- package/src/styles/modal.css +2 -2
- package/src/styles/scrollbar.css +1 -1
- package/src/styles/theme.css +68 -41
- package/src/utils/index.ts +16 -0
package/dist/index.cjs
CHANGED
|
@@ -2939,7 +2939,10 @@ function AxiosError(message2, code2, config, request, response) {
|
|
|
2939
2939
|
code2 && (this.code = code2);
|
|
2940
2940
|
config && (this.config = config);
|
|
2941
2941
|
request && (this.request = request);
|
|
2942
|
-
|
|
2942
|
+
if (response) {
|
|
2943
|
+
this.response = response;
|
|
2944
|
+
this.status = response.status ? response.status : null;
|
|
2945
|
+
}
|
|
2943
2946
|
}
|
|
2944
2947
|
utils$1.inherits(AxiosError, Error, {
|
|
2945
2948
|
toJSON: function toJSON() {
|
|
@@ -2958,7 +2961,7 @@ utils$1.inherits(AxiosError, Error, {
|
|
|
2958
2961
|
// Axios
|
|
2959
2962
|
config: utils$1.toJSONObject(this.config),
|
|
2960
2963
|
code: this.code,
|
|
2961
|
-
status: this.
|
|
2964
|
+
status: this.status
|
|
2962
2965
|
};
|
|
2963
2966
|
}
|
|
2964
2967
|
});
|
|
@@ -3239,9 +3242,8 @@ const platform$1 = {
|
|
|
3239
3242
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
3240
3243
|
};
|
|
3241
3244
|
const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
3242
|
-
const
|
|
3243
|
-
|
|
3244
|
-
})(typeof navigator !== "undefined" && navigator.product);
|
|
3245
|
+
const _navigator = typeof navigator === "object" && navigator || void 0;
|
|
3246
|
+
const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
|
|
3245
3247
|
const hasStandardBrowserWebWorkerEnv = (() => {
|
|
3246
3248
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
3247
3249
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
@@ -3252,6 +3254,7 @@ const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
3252
3254
|
hasBrowserEnv,
|
|
3253
3255
|
hasStandardBrowserEnv,
|
|
3254
3256
|
hasStandardBrowserWebWorkerEnv,
|
|
3257
|
+
navigator: _navigator,
|
|
3255
3258
|
origin
|
|
3256
3259
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3257
3260
|
const platform = {
|
|
@@ -3827,7 +3830,7 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
|
3827
3830
|
// Standard browser envs have full support of the APIs needed to test
|
|
3828
3831
|
// whether the request URL is of the same origin as current location.
|
|
3829
3832
|
function standardBrowserEnv() {
|
|
3830
|
-
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
3833
|
+
const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent);
|
|
3831
3834
|
const urlParsingNode = document.createElement("a");
|
|
3832
3835
|
let originURL;
|
|
3833
3836
|
function resolveURL(url) {
|
|
@@ -4140,36 +4143,37 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4140
4143
|
});
|
|
4141
4144
|
};
|
|
4142
4145
|
const composeSignals = (signals, timeout2) => {
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
const unsubscribe = () => {
|
|
4157
|
-
if (signals) {
|
|
4158
|
-
timer && clearTimeout(timer);
|
|
4146
|
+
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
4147
|
+
if (timeout2 || length) {
|
|
4148
|
+
let controller = new AbortController();
|
|
4149
|
+
let aborted;
|
|
4150
|
+
const onabort = function(reason) {
|
|
4151
|
+
if (!aborted) {
|
|
4152
|
+
aborted = true;
|
|
4153
|
+
unsubscribe();
|
|
4154
|
+
const err = reason instanceof Error ? reason : this.reason;
|
|
4155
|
+
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
4156
|
+
}
|
|
4157
|
+
};
|
|
4158
|
+
let timer = timeout2 && setTimeout(() => {
|
|
4159
4159
|
timer = null;
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
signals
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4160
|
+
onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
4161
|
+
}, timeout2);
|
|
4162
|
+
const unsubscribe = () => {
|
|
4163
|
+
if (signals) {
|
|
4164
|
+
timer && clearTimeout(timer);
|
|
4165
|
+
timer = null;
|
|
4166
|
+
signals.forEach((signal2) => {
|
|
4167
|
+
signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
|
|
4168
|
+
});
|
|
4169
|
+
signals = null;
|
|
4170
|
+
}
|
|
4171
|
+
};
|
|
4172
|
+
signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
|
|
4173
|
+
const { signal } = controller;
|
|
4174
|
+
signal.unsubscribe = () => utils$1.asap(unsubscribe);
|
|
4175
|
+
return signal;
|
|
4176
|
+
}
|
|
4173
4177
|
};
|
|
4174
4178
|
const streamChunk = function* (chunk, chunkSize) {
|
|
4175
4179
|
let len = chunk.byteLength;
|
|
@@ -4185,13 +4189,31 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
4185
4189
|
pos = end2;
|
|
4186
4190
|
}
|
|
4187
4191
|
};
|
|
4188
|
-
const readBytes = async function* (iterable, chunkSize
|
|
4189
|
-
for await (const chunk of iterable) {
|
|
4190
|
-
yield* streamChunk(
|
|
4192
|
+
const readBytes = async function* (iterable, chunkSize) {
|
|
4193
|
+
for await (const chunk of readStream(iterable)) {
|
|
4194
|
+
yield* streamChunk(chunk, chunkSize);
|
|
4195
|
+
}
|
|
4196
|
+
};
|
|
4197
|
+
const readStream = async function* (stream) {
|
|
4198
|
+
if (stream[Symbol.asyncIterator]) {
|
|
4199
|
+
yield* stream;
|
|
4200
|
+
return;
|
|
4201
|
+
}
|
|
4202
|
+
const reader = stream.getReader();
|
|
4203
|
+
try {
|
|
4204
|
+
for (; ; ) {
|
|
4205
|
+
const { done, value } = await reader.read();
|
|
4206
|
+
if (done) {
|
|
4207
|
+
break;
|
|
4208
|
+
}
|
|
4209
|
+
yield value;
|
|
4210
|
+
}
|
|
4211
|
+
} finally {
|
|
4212
|
+
await reader.cancel();
|
|
4191
4213
|
}
|
|
4192
4214
|
};
|
|
4193
|
-
const trackStream = (stream, chunkSize, onProgress, onFinish
|
|
4194
|
-
const iterator = readBytes(stream, chunkSize
|
|
4215
|
+
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
4216
|
+
const iterator = readBytes(stream, chunkSize);
|
|
4195
4217
|
let bytes = 0;
|
|
4196
4218
|
let done;
|
|
4197
4219
|
let _onFinish = (e) => {
|
|
@@ -4270,7 +4292,11 @@ const getBodyLength = async (body) => {
|
|
|
4270
4292
|
return body.size;
|
|
4271
4293
|
}
|
|
4272
4294
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4273
|
-
|
|
4295
|
+
const _request = new Request(platform.origin, {
|
|
4296
|
+
method: "POST",
|
|
4297
|
+
body
|
|
4298
|
+
});
|
|
4299
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
4274
4300
|
}
|
|
4275
4301
|
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
4276
4302
|
return body.byteLength;
|
|
@@ -4302,14 +4328,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4302
4328
|
fetchOptions
|
|
4303
4329
|
} = resolveConfig(config);
|
|
4304
4330
|
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
4305
|
-
let
|
|
4306
|
-
let
|
|
4307
|
-
const
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
});
|
|
4311
|
-
finished = true;
|
|
4312
|
-
};
|
|
4331
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout2);
|
|
4332
|
+
let request;
|
|
4333
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
4334
|
+
composedSignal.unsubscribe();
|
|
4335
|
+
});
|
|
4313
4336
|
let requestContentLength;
|
|
4314
4337
|
try {
|
|
4315
4338
|
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data2)) !== 0) {
|
|
@@ -4327,12 +4350,13 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4327
4350
|
requestContentLength,
|
|
4328
4351
|
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
4329
4352
|
);
|
|
4330
|
-
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush
|
|
4353
|
+
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
4331
4354
|
}
|
|
4332
4355
|
}
|
|
4333
4356
|
if (!utils$1.isString(withCredentials)) {
|
|
4334
4357
|
withCredentials = withCredentials ? "include" : "omit";
|
|
4335
4358
|
}
|
|
4359
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
4336
4360
|
request = new Request(url, {
|
|
4337
4361
|
...fetchOptions,
|
|
4338
4362
|
signal: composedSignal,
|
|
@@ -4340,11 +4364,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4340
4364
|
headers: headers.normalize().toJSON(),
|
|
4341
4365
|
body: data2,
|
|
4342
4366
|
duplex: "half",
|
|
4343
|
-
credentials: withCredentials
|
|
4367
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
4344
4368
|
});
|
|
4345
4369
|
let response = await fetch(request);
|
|
4346
4370
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
4347
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
4371
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
4348
4372
|
const options = {};
|
|
4349
4373
|
["status", "statusText", "headers"].forEach((prop3) => {
|
|
4350
4374
|
options[prop3] = response[prop3];
|
|
@@ -4357,15 +4381,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4357
4381
|
response = new Response(
|
|
4358
4382
|
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
4359
4383
|
flush && flush();
|
|
4360
|
-
|
|
4361
|
-
}
|
|
4384
|
+
unsubscribe && unsubscribe();
|
|
4385
|
+
}),
|
|
4362
4386
|
options
|
|
4363
4387
|
);
|
|
4364
4388
|
}
|
|
4365
4389
|
responseType = responseType || "text";
|
|
4366
4390
|
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
4367
|
-
!isStreamResponse &&
|
|
4368
|
-
stopTimeout && stopTimeout();
|
|
4391
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
4369
4392
|
return await new Promise((resolve, reject3) => {
|
|
4370
4393
|
settle(resolve, reject3, {
|
|
4371
4394
|
data: responseData,
|
|
@@ -4377,7 +4400,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4377
4400
|
});
|
|
4378
4401
|
});
|
|
4379
4402
|
} catch (err) {
|
|
4380
|
-
|
|
4403
|
+
unsubscribe && unsubscribe();
|
|
4381
4404
|
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
4382
4405
|
throw Object.assign(
|
|
4383
4406
|
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
@@ -4484,7 +4507,7 @@ function dispatchRequest(config) {
|
|
|
4484
4507
|
return Promise.reject(reason);
|
|
4485
4508
|
});
|
|
4486
4509
|
}
|
|
4487
|
-
const VERSION = "1.7.
|
|
4510
|
+
const VERSION = "1.7.7";
|
|
4488
4511
|
const validators$1 = {};
|
|
4489
4512
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
|
|
4490
4513
|
validators$1[type3] = function validator2(thing) {
|
|
@@ -4772,6 +4795,15 @@ class CancelToken {
|
|
|
4772
4795
|
this._listeners.splice(index2, 1);
|
|
4773
4796
|
}
|
|
4774
4797
|
}
|
|
4798
|
+
toAbortSignal() {
|
|
4799
|
+
const controller = new AbortController();
|
|
4800
|
+
const abort = (err) => {
|
|
4801
|
+
controller.abort(err);
|
|
4802
|
+
};
|
|
4803
|
+
this.subscribe(abort);
|
|
4804
|
+
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
4805
|
+
return controller.signal;
|
|
4806
|
+
}
|
|
4775
4807
|
/**
|
|
4776
4808
|
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
4777
4809
|
* cancels the `CancelToken`.
|
|
@@ -5147,7 +5179,7 @@ class Bagel {
|
|
|
5147
5179
|
return data2;
|
|
5148
5180
|
}
|
|
5149
5181
|
}
|
|
5150
|
-
const _hoisted_1$
|
|
5182
|
+
const _hoisted_1$P = {
|
|
5151
5183
|
key: 0,
|
|
5152
5184
|
class: "navigation flex space-between px-3 w-100 absolute"
|
|
5153
5185
|
};
|
|
@@ -5164,7 +5196,7 @@ const _hoisted_7$6 = {
|
|
|
5164
5196
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
5165
5197
|
};
|
|
5166
5198
|
const _hoisted_8$3 = ["src", "onClick"];
|
|
5167
|
-
const _sfc_main$
|
|
5199
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
5168
5200
|
__name: "Lightbox",
|
|
5169
5201
|
setup(__props, { expose: __expose }) {
|
|
5170
5202
|
let isOpen = vue.ref(false);
|
|
@@ -5233,7 +5265,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
5233
5265
|
],
|
|
5234
5266
|
onClick: close2
|
|
5235
5267
|
}, [
|
|
5236
|
-
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5268
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
|
|
5237
5269
|
vue.createVNode(vue.unref(Btn), {
|
|
5238
5270
|
class: "navigation-btn oval",
|
|
5239
5271
|
icon: "arrow_back",
|
|
@@ -5290,13 +5322,13 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
5290
5322
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
5291
5323
|
item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5292
5324
|
key: 0,
|
|
5293
|
-
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-
|
|
5325
|
+
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
5294
5326
|
src: item.src,
|
|
5295
5327
|
alt: "",
|
|
5296
5328
|
onClick: ($event) => selectItem(index2)
|
|
5297
|
-
}, null, 10, _hoisted_8$3)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
5329
|
+
}, null, 10, _hoisted_8$3)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
5298
5330
|
key: 1,
|
|
5299
|
-
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-
|
|
5331
|
+
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
5300
5332
|
icon: "description",
|
|
5301
5333
|
onClick: ($event) => selectItem(index2)
|
|
5302
5334
|
}, null, 8, ["class", "onClick"]))
|
|
@@ -5319,7 +5351,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
5319
5351
|
}
|
|
5320
5352
|
return target;
|
|
5321
5353
|
};
|
|
5322
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5354
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
|
|
5323
5355
|
const groups = {};
|
|
5324
5356
|
const lightboxDirective = {
|
|
5325
5357
|
mounted(el, binding) {
|
|
@@ -5668,6 +5700,22 @@ function getFallbackSchema(data2, showFields) {
|
|
|
5668
5700
|
);
|
|
5669
5701
|
return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
|
|
5670
5702
|
}
|
|
5703
|
+
const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
5704
|
+
function appendScript(src) {
|
|
5705
|
+
return new Promise((resolve, reject3) => {
|
|
5706
|
+
if (document.querySelector(`script[src="${src}"]`)) {
|
|
5707
|
+
resolve();
|
|
5708
|
+
return;
|
|
5709
|
+
}
|
|
5710
|
+
const script2 = document.createElement("script");
|
|
5711
|
+
script2.src = src;
|
|
5712
|
+
script2.onload = () => {
|
|
5713
|
+
resolve();
|
|
5714
|
+
};
|
|
5715
|
+
script2.onerror = reject3;
|
|
5716
|
+
document.head.appendChild(script2);
|
|
5717
|
+
});
|
|
5718
|
+
}
|
|
5671
5719
|
const bagelInjectionKey = Symbol("bagel");
|
|
5672
5720
|
const i18nTInjectionKey = Symbol("bagel");
|
|
5673
5721
|
function useBagel() {
|
|
@@ -5758,9 +5806,9 @@ const ModalPlugin = {
|
|
|
5758
5806
|
return vue.h(ModalForm, props2, modal.componentSlots);
|
|
5759
5807
|
}
|
|
5760
5808
|
if (modal.modalType === "confirm") {
|
|
5761
|
-
return vue.h(_sfc_main$
|
|
5809
|
+
return vue.h(_sfc_main$x, props2, {});
|
|
5762
5810
|
}
|
|
5763
|
-
return vue.h(_sfc_main$
|
|
5811
|
+
return vue.h(_sfc_main$P, props2, modal.componentSlots);
|
|
5764
5812
|
});
|
|
5765
5813
|
}
|
|
5766
5814
|
});
|
|
@@ -5786,7 +5834,7 @@ function useLocalStorage(key, initialValue) {
|
|
|
5786
5834
|
}, { immediate: true, deep: true });
|
|
5787
5835
|
return value;
|
|
5788
5836
|
}
|
|
5789
|
-
const _sfc_main$
|
|
5837
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
5790
5838
|
__name: "MaterialIcon",
|
|
5791
5839
|
props: {
|
|
5792
5840
|
icon: {},
|
|
@@ -5804,13 +5852,13 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
5804
5852
|
};
|
|
5805
5853
|
}
|
|
5806
5854
|
});
|
|
5807
|
-
const _hoisted_1$
|
|
5855
|
+
const _hoisted_1$O = { class: "full-nav" };
|
|
5808
5856
|
const _hoisted_2$B = { class: "nav-scroll" };
|
|
5809
5857
|
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
5810
5858
|
const _hoisted_4$h = { class: "tooltip" };
|
|
5811
5859
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5812
5860
|
const _hoisted_6$a = { class: "tooltip" };
|
|
5813
|
-
const _sfc_main$
|
|
5861
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
5814
5862
|
__name: "NavBar",
|
|
5815
5863
|
props: {
|
|
5816
5864
|
footerLinks: { default: () => [] },
|
|
@@ -5835,12 +5883,12 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5835
5883
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
|
|
5836
5884
|
onKeypress: _cache[1] || (_cache[1] = vue.withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
|
|
5837
5885
|
}, [
|
|
5838
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5886
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5839
5887
|
icon: "chevron_right",
|
|
5840
5888
|
class: "top-arrow"
|
|
5841
5889
|
})
|
|
5842
5890
|
], 32),
|
|
5843
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
5891
|
+
vue.createElementVNode("div", _hoisted_1$O, [
|
|
5844
5892
|
vue.createElementVNode("div", _hoisted_2$B, [
|
|
5845
5893
|
vue.createElementVNode("div", _hoisted_3$p, [
|
|
5846
5894
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
@@ -5854,7 +5902,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5854
5902
|
}
|
|
5855
5903
|
}, {
|
|
5856
5904
|
default: vue.withCtx(() => [
|
|
5857
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5905
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5858
5906
|
icon: link.icon
|
|
5859
5907
|
}, null, 8, ["icon"]),
|
|
5860
5908
|
vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(link.label), 1)
|
|
@@ -5876,7 +5924,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5876
5924
|
}
|
|
5877
5925
|
}, {
|
|
5878
5926
|
default: vue.withCtx(() => [
|
|
5879
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5927
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5880
5928
|
icon: link.icon
|
|
5881
5929
|
}, null, 8, ["icon"]),
|
|
5882
5930
|
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
@@ -5891,8 +5939,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5891
5939
|
};
|
|
5892
5940
|
}
|
|
5893
5941
|
});
|
|
5894
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5895
|
-
const _hoisted_1$
|
|
5942
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
|
|
5943
|
+
const _hoisted_1$N = {
|
|
5896
5944
|
key: 0,
|
|
5897
5945
|
class: "loading"
|
|
5898
5946
|
};
|
|
@@ -5900,7 +5948,7 @@ const _hoisted_2$A = {
|
|
|
5900
5948
|
key: 1,
|
|
5901
5949
|
class: "bgl_btn-flex"
|
|
5902
5950
|
};
|
|
5903
|
-
const _sfc_main$
|
|
5951
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
5904
5952
|
__name: "Btn",
|
|
5905
5953
|
props: {
|
|
5906
5954
|
disabled: { type: Boolean, default: false },
|
|
@@ -5924,8 +5972,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5924
5972
|
},
|
|
5925
5973
|
setup(__props) {
|
|
5926
5974
|
vue.useCssVars((_ctx) => ({
|
|
5927
|
-
"
|
|
5928
|
-
"
|
|
5975
|
+
"616bd948": computedBackgroundColor.value,
|
|
5976
|
+
"796e2f37": cumputedTextColor.value
|
|
5929
5977
|
}));
|
|
5930
5978
|
const props2 = __props;
|
|
5931
5979
|
const isComponent = vue.computed(() => {
|
|
@@ -5943,7 +5991,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5943
5991
|
const computedDefaultColors = vue.computed(
|
|
5944
5992
|
() => ({
|
|
5945
5993
|
backgroundColor: "var(--bgl-primary)",
|
|
5946
|
-
color: props2.flat ? "var(--bgl-
|
|
5994
|
+
color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
|
|
5947
5995
|
})
|
|
5948
5996
|
);
|
|
5949
5997
|
function getThemeColors(theme) {
|
|
@@ -5994,8 +6042,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5994
6042
|
onClick: vue.withModifiers(_ctx.onClick, ["stop"])
|
|
5995
6043
|
}, {
|
|
5996
6044
|
default: vue.withCtx(() => [
|
|
5997
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5998
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6045
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A, [
|
|
6046
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
5999
6047
|
key: 0,
|
|
6000
6048
|
icon: _ctx.icon
|
|
6001
6049
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -6003,7 +6051,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
6003
6051
|
!vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
6004
6052
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
6005
6053
|
], 64)) : vue.createCommentVNode("", true),
|
|
6006
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6054
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
6007
6055
|
key: 2,
|
|
6008
6056
|
icon: props2["icon.end"]
|
|
6009
6057
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -6014,20 +6062,20 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
6014
6062
|
};
|
|
6015
6063
|
}
|
|
6016
6064
|
});
|
|
6017
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6018
|
-
const _hoisted_1$
|
|
6065
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
|
|
6066
|
+
const _hoisted_1$M = {
|
|
6019
6067
|
key: 0,
|
|
6020
6068
|
class: "tool-bar"
|
|
6021
6069
|
};
|
|
6022
6070
|
const _hoisted_2$z = {
|
|
6023
6071
|
key: 1,
|
|
6024
|
-
class: "sticky bg-
|
|
6072
|
+
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
6025
6073
|
};
|
|
6026
6074
|
const _hoisted_3$o = {
|
|
6027
6075
|
key: 2,
|
|
6028
6076
|
class: "modal-footer mt-1"
|
|
6029
6077
|
};
|
|
6030
|
-
const _sfc_main$
|
|
6078
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
6031
6079
|
__name: "Modal",
|
|
6032
6080
|
props: {
|
|
6033
6081
|
side: { type: Boolean },
|
|
@@ -6083,7 +6131,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6083
6131
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
6084
6132
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
6085
6133
|
}, [
|
|
6086
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6134
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
6087
6135
|
class: "modal",
|
|
6088
6136
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
6089
6137
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -6092,7 +6140,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6092
6140
|
default: vue.withCtx(() => {
|
|
6093
6141
|
var _a2;
|
|
6094
6142
|
return [
|
|
6095
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
6143
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$M, [
|
|
6096
6144
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
6097
6145
|
vue.createVNode(vue.unref(Btn), {
|
|
6098
6146
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -6100,7 +6148,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6100
6148
|
icon: "close",
|
|
6101
6149
|
onClick: closeModal
|
|
6102
6150
|
}, null, 8, ["style"]),
|
|
6103
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6151
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
6104
6152
|
key: 0,
|
|
6105
6153
|
class: "modal-title",
|
|
6106
6154
|
tag: "h3",
|
|
@@ -6108,7 +6156,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6108
6156
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
6109
6157
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
6110
6158
|
vue.createVNode(vue.unref(Btn), {
|
|
6111
|
-
class: "
|
|
6159
|
+
class: "position-start",
|
|
6112
6160
|
icon: "close",
|
|
6113
6161
|
thin: "",
|
|
6114
6162
|
color: "white",
|
|
@@ -6134,7 +6182,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6134
6182
|
};
|
|
6135
6183
|
}
|
|
6136
6184
|
});
|
|
6137
|
-
const _sfc_main$
|
|
6185
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
6138
6186
|
__name: "ModalForm",
|
|
6139
6187
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6140
6188
|
side: { type: Boolean },
|
|
@@ -6195,7 +6243,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6195
6243
|
}
|
|
6196
6244
|
__expose({ setFormValues });
|
|
6197
6245
|
return (_ctx, _cache) => {
|
|
6198
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6246
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
6199
6247
|
ref_key: "modal",
|
|
6200
6248
|
ref: modal,
|
|
6201
6249
|
side: _ctx.side,
|
|
@@ -6248,12 +6296,12 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6248
6296
|
};
|
|
6249
6297
|
}
|
|
6250
6298
|
});
|
|
6251
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6252
|
-
const _hoisted_1$
|
|
6299
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
|
|
6300
|
+
const _hoisted_1$L = { class: "accordion-item" };
|
|
6253
6301
|
const _hoisted_2$y = ["aria-expanded", "aria-controls"];
|
|
6254
6302
|
const _hoisted_3$n = { class: "accordion-label" };
|
|
6255
6303
|
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
6256
|
-
const _sfc_main$
|
|
6304
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
6257
6305
|
__name: "AccordionItem",
|
|
6258
6306
|
props: {
|
|
6259
6307
|
label: {},
|
|
@@ -6290,7 +6338,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6290
6338
|
else if (accordionState.openItem === id) accordionState.openItem = null;
|
|
6291
6339
|
}
|
|
6292
6340
|
return (_ctx, _cache) => {
|
|
6293
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6341
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
6294
6342
|
vue.createElementVNode("button", {
|
|
6295
6343
|
"aria-expanded": vue.unref(isOpen) ? "true" : "false",
|
|
6296
6344
|
class: "accordion-head",
|
|
@@ -6303,7 +6351,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6303
6351
|
vue.createElementVNode("div", {
|
|
6304
6352
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
|
|
6305
6353
|
}, [
|
|
6306
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6354
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "expand_more" })
|
|
6307
6355
|
], 2)
|
|
6308
6356
|
], 8, _hoisted_2$y),
|
|
6309
6357
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
@@ -6323,13 +6371,13 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6323
6371
|
};
|
|
6324
6372
|
}
|
|
6325
6373
|
});
|
|
6326
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6327
|
-
const _sfc_main$
|
|
6328
|
-
const _hoisted_1$
|
|
6374
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f87b579d"]]);
|
|
6375
|
+
const _sfc_main$M = {};
|
|
6376
|
+
const _hoisted_1$K = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
|
|
6329
6377
|
const _hoisted_2$x = { class: "p-1" };
|
|
6330
6378
|
const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
6331
6379
|
function _sfc_render$2(_ctx, _cache) {
|
|
6332
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6380
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
|
|
6333
6381
|
vue.createElementVNode("div", _hoisted_2$x, [
|
|
6334
6382
|
vue.renderSlot(_ctx.$slots, "header")
|
|
6335
6383
|
]),
|
|
@@ -6338,10 +6386,10 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
6338
6386
|
])
|
|
6339
6387
|
]);
|
|
6340
6388
|
}
|
|
6341
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6342
|
-
const _hoisted_1$
|
|
6389
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$2]]);
|
|
6390
|
+
const _hoisted_1$J = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
6343
6391
|
const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
6344
|
-
const _sfc_main$
|
|
6392
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
6345
6393
|
__name: "ListItem",
|
|
6346
6394
|
props: {
|
|
6347
6395
|
src: {},
|
|
@@ -6368,14 +6416,14 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
6368
6416
|
src: _ctx.src,
|
|
6369
6417
|
size: 40
|
|
6370
6418
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
6371
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6419
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
6372
6420
|
key: 1,
|
|
6373
6421
|
size: "1.2",
|
|
6374
6422
|
class: "color-primary",
|
|
6375
6423
|
icon: _ctx.icon
|
|
6376
6424
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
6377
6425
|
vue.createElementVNode("div", null, [
|
|
6378
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
6426
|
+
vue.createElementVNode("p", _hoisted_1$J, [
|
|
6379
6427
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
6380
6428
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6381
6429
|
]),
|
|
@@ -6390,9 +6438,9 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
6390
6438
|
};
|
|
6391
6439
|
}
|
|
6392
6440
|
});
|
|
6393
|
-
const _hoisted_1$
|
|
6441
|
+
const _hoisted_1$I = { class: "page-top" };
|
|
6394
6442
|
const _hoisted_2$v = { class: "top-title m-0" };
|
|
6395
|
-
const _sfc_main$
|
|
6443
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
6396
6444
|
__name: "PageTitle",
|
|
6397
6445
|
props: {
|
|
6398
6446
|
value: {
|
|
@@ -6402,7 +6450,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
6402
6450
|
},
|
|
6403
6451
|
setup(__props) {
|
|
6404
6452
|
return (_ctx, _cache) => {
|
|
6405
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6453
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
6406
6454
|
vue.createElementVNode("h1", _hoisted_2$v, [
|
|
6407
6455
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
6408
6456
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
@@ -6725,8 +6773,8 @@ function useVerticalVirtualList(options, list) {
|
|
|
6725
6773
|
containerRef
|
|
6726
6774
|
};
|
|
6727
6775
|
}
|
|
6728
|
-
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-
|
|
6729
|
-
const _hoisted_1$
|
|
6776
|
+
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-bd90dc89"), n2 = n2(), vue.popScopeId(), n2);
|
|
6777
|
+
const _hoisted_1$H = {
|
|
6730
6778
|
key: 0,
|
|
6731
6779
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
6732
6780
|
};
|
|
@@ -6743,7 +6791,7 @@ const _hoisted_9$2 = ["onClick"];
|
|
|
6743
6791
|
const _hoisted_10$1 = { key: 0 };
|
|
6744
6792
|
const _hoisted_11$1 = ["value"];
|
|
6745
6793
|
const _hoisted_12$1 = { key: 1 };
|
|
6746
|
-
const _sfc_main$
|
|
6794
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
6747
6795
|
__name: "TableSchema",
|
|
6748
6796
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6749
6797
|
selectedItems: {},
|
|
@@ -6759,7 +6807,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
6759
6807
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6760
6808
|
setup(__props, { emit: __emit }) {
|
|
6761
6809
|
vue.useCssVars((_ctx) => ({
|
|
6762
|
-
"
|
|
6810
|
+
"38e39900": vue.unref(computedItemHiehgt)
|
|
6763
6811
|
}));
|
|
6764
6812
|
const props2 = __props;
|
|
6765
6813
|
const emit2 = __emit;
|
|
@@ -6880,7 +6928,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
6880
6928
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
6881
6929
|
class: { "loading-table": loading.value }
|
|
6882
6930
|
}), [
|
|
6883
|
-
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6931
|
+
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, _hoisted_3$l)) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
6884
6932
|
vue.createElementVNode("table", _hoisted_4$f, [
|
|
6885
6933
|
vue.createElementVNode("thead", _hoisted_5$e, [
|
|
6886
6934
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$9, [
|
|
@@ -6904,7 +6952,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
6904
6952
|
vue.createElementVNode("div", {
|
|
6905
6953
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
6906
6954
|
}, [
|
|
6907
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6955
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
6908
6956
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
6909
6957
|
icon: "keyboard_arrow_up"
|
|
6910
6958
|
}, null, 8, ["class"])
|
|
@@ -6962,16 +7010,16 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
6962
7010
|
};
|
|
6963
7011
|
}
|
|
6964
7012
|
});
|
|
6965
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6966
|
-
const _sfc_main$
|
|
6967
|
-
const _hoisted_1$
|
|
7013
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-bd90dc89"]]);
|
|
7014
|
+
const _sfc_main$I = {};
|
|
7015
|
+
const _hoisted_1$G = { class: "flex space-between" };
|
|
6968
7016
|
function _sfc_render$1(_ctx, _cache) {
|
|
6969
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7017
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
6970
7018
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6971
7019
|
]);
|
|
6972
7020
|
}
|
|
6973
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6974
|
-
const _sfc_main$
|
|
7021
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
|
|
7022
|
+
const _sfc_main$H = {};
|
|
6975
7023
|
function _sfc_render(_ctx, _cache) {
|
|
6976
7024
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
6977
7025
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -6993,8 +7041,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
6993
7041
|
_: 1
|
|
6994
7042
|
});
|
|
6995
7043
|
}
|
|
6996
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6997
|
-
const _hoisted_1$
|
|
7044
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
|
|
7045
|
+
const _hoisted_1$F = {
|
|
6998
7046
|
key: 0,
|
|
6999
7047
|
class: "data"
|
|
7000
7048
|
};
|
|
@@ -7015,7 +7063,7 @@ const _hoisted_9$1 = {
|
|
|
7015
7063
|
key: 0,
|
|
7016
7064
|
class: "m-0"
|
|
7017
7065
|
};
|
|
7018
|
-
const _sfc_main$
|
|
7066
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
7019
7067
|
__name: "DataPreview",
|
|
7020
7068
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7021
7069
|
showFields: {},
|
|
@@ -7051,8 +7099,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
7051
7099
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7052
7100
|
return (_ctx, _cache) => {
|
|
7053
7101
|
var _a2;
|
|
7054
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7055
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7102
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
7103
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
7056
7104
|
key: 0,
|
|
7057
7105
|
label: _ctx.title
|
|
7058
7106
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -7093,12 +7141,12 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
7093
7141
|
};
|
|
7094
7142
|
}
|
|
7095
7143
|
});
|
|
7096
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7097
|
-
const _hoisted_1$
|
|
7144
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
|
|
7145
|
+
const _hoisted_1$E = {
|
|
7098
7146
|
key: 0,
|
|
7099
7147
|
class: "card_label"
|
|
7100
7148
|
};
|
|
7101
|
-
const _sfc_main$
|
|
7149
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
7102
7150
|
__name: "Card",
|
|
7103
7151
|
props: {
|
|
7104
7152
|
label: {},
|
|
@@ -7126,7 +7174,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7126
7174
|
}])
|
|
7127
7175
|
}, {
|
|
7128
7176
|
default: vue.withCtx(() => [
|
|
7129
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
7177
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$E, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
7130
7178
|
vue.renderSlot(_ctx.$slots, "default")
|
|
7131
7179
|
]),
|
|
7132
7180
|
_: 3
|
|
@@ -7134,8 +7182,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7134
7182
|
};
|
|
7135
7183
|
}
|
|
7136
7184
|
});
|
|
7137
|
-
const _hoisted_1$
|
|
7138
|
-
const _sfc_main$
|
|
7185
|
+
const _hoisted_1$D = ["src", "alt"];
|
|
7186
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
7139
7187
|
__name: "Avatar",
|
|
7140
7188
|
props: {
|
|
7141
7189
|
fallback: {},
|
|
@@ -7153,7 +7201,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
7153
7201
|
key: 0,
|
|
7154
7202
|
src: _ctx.src,
|
|
7155
7203
|
alt: _ctx.name
|
|
7156
|
-
}, null, 8, _hoisted_1$
|
|
7204
|
+
}, null, 8, _hoisted_1$D)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
7157
7205
|
key: 1,
|
|
7158
7206
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
7159
7207
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -7161,8 +7209,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
7161
7209
|
};
|
|
7162
7210
|
}
|
|
7163
7211
|
});
|
|
7164
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7165
|
-
const _sfc_main$
|
|
7212
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dd2f6734"]]);
|
|
7213
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
7166
7214
|
__name: "Title",
|
|
7167
7215
|
props: {
|
|
7168
7216
|
value: {
|
|
@@ -7190,7 +7238,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
7190
7238
|
};
|
|
7191
7239
|
}
|
|
7192
7240
|
});
|
|
7193
|
-
const _sfc_main$
|
|
7241
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
7194
7242
|
__name: "Accordion",
|
|
7195
7243
|
setup(__props) {
|
|
7196
7244
|
const state2 = vue.reactive({
|
|
@@ -7204,9 +7252,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
7204
7252
|
};
|
|
7205
7253
|
}
|
|
7206
7254
|
});
|
|
7207
|
-
const _hoisted_1$
|
|
7255
|
+
const _hoisted_1$C = ["dismissable"];
|
|
7208
7256
|
const _hoisted_2$s = { class: "m-0" };
|
|
7209
|
-
const _sfc_main$
|
|
7257
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
7210
7258
|
__name: "Alert",
|
|
7211
7259
|
props: {
|
|
7212
7260
|
message: {},
|
|
@@ -7227,7 +7275,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
7227
7275
|
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
7228
7276
|
dismissable: _ctx.dismissable
|
|
7229
7277
|
}, [
|
|
7230
|
-
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7278
|
+
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7231
7279
|
key: 0,
|
|
7232
7280
|
class: "alert_icon",
|
|
7233
7281
|
icon: _ctx.icon || _ctx.type,
|
|
@@ -7242,12 +7290,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
7242
7290
|
icon: "close",
|
|
7243
7291
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
7244
7292
|
})
|
|
7245
|
-
], 10, _hoisted_1$
|
|
7293
|
+
], 10, _hoisted_1$C)) : vue.createCommentVNode("", true);
|
|
7246
7294
|
};
|
|
7247
7295
|
}
|
|
7248
7296
|
});
|
|
7249
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7250
|
-
const _sfc_main$
|
|
7297
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
|
|
7298
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
7251
7299
|
__name: "Badge",
|
|
7252
7300
|
props: {
|
|
7253
7301
|
color: {},
|
|
@@ -7263,13 +7311,13 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7263
7311
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7264
7312
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
7265
7313
|
}, [
|
|
7266
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7314
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7267
7315
|
key: 0,
|
|
7268
7316
|
class: "inline",
|
|
7269
7317
|
icon: _ctx.icon
|
|
7270
7318
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
7271
7319
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
7272
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7320
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7273
7321
|
key: 1,
|
|
7274
7322
|
class: "inline",
|
|
7275
7323
|
icon: props2["icon.end"]
|
|
@@ -7278,10 +7326,10 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7278
7326
|
};
|
|
7279
7327
|
}
|
|
7280
7328
|
});
|
|
7281
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7282
|
-
const _hoisted_1$
|
|
7329
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
|
|
7330
|
+
const _hoisted_1$B = ["src"];
|
|
7283
7331
|
const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
|
|
7284
|
-
const _sfc_main$
|
|
7332
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
7285
7333
|
__name: "BglVideo",
|
|
7286
7334
|
props: {
|
|
7287
7335
|
src: {},
|
|
@@ -7336,7 +7384,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7336
7384
|
allowfullscreen: "",
|
|
7337
7385
|
title: "Video",
|
|
7338
7386
|
allow: "autoplay"
|
|
7339
|
-
}, null, 12, _hoisted_1$
|
|
7387
|
+
}, null, 12, _hoisted_1$B)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
7340
7388
|
key: 1,
|
|
7341
7389
|
src: _ctx.src,
|
|
7342
7390
|
autoplay: _ctx.autoplay,
|
|
@@ -7350,13 +7398,13 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7350
7398
|
};
|
|
7351
7399
|
}
|
|
7352
7400
|
});
|
|
7353
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7354
|
-
const _hoisted_1$
|
|
7401
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
|
|
7402
|
+
const _hoisted_1$A = {
|
|
7355
7403
|
key: 0,
|
|
7356
7404
|
class: "blocker"
|
|
7357
7405
|
};
|
|
7358
7406
|
const _hoisted_2$q = { class: "Handlers" };
|
|
7359
|
-
const _sfc_main$
|
|
7407
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
7360
7408
|
__name: "Carousel",
|
|
7361
7409
|
props: {
|
|
7362
7410
|
autoHeight: {
|
|
@@ -7504,7 +7552,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7504
7552
|
onScrollend: scrollEnd,
|
|
7505
7553
|
onMousedown: startDragging
|
|
7506
7554
|
}, [
|
|
7507
|
-
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7555
|
+
vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A)) : vue.createCommentVNode("", true),
|
|
7508
7556
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
7509
7557
|
], 34),
|
|
7510
7558
|
vue.createElementVNode("div", _hoisted_2$q, [
|
|
@@ -7525,10 +7573,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7525
7573
|
};
|
|
7526
7574
|
}
|
|
7527
7575
|
});
|
|
7528
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7529
|
-
const _hoisted_1$
|
|
7576
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
|
|
7577
|
+
const _hoisted_1$z = { class: "m-0" };
|
|
7530
7578
|
const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
|
|
7531
|
-
const _sfc_main$
|
|
7579
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
7532
7580
|
__name: "ModalConfirm",
|
|
7533
7581
|
props: {
|
|
7534
7582
|
title: {},
|
|
@@ -7544,10 +7592,10 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
7544
7592
|
emit2("update:visible");
|
|
7545
7593
|
}
|
|
7546
7594
|
return (_ctx, _cache) => {
|
|
7547
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7595
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
7548
7596
|
width: "380px",
|
|
7549
7597
|
dismissable: false,
|
|
7550
|
-
class: "
|
|
7598
|
+
class: "txt-center"
|
|
7551
7599
|
}, {
|
|
7552
7600
|
footer: vue.withCtx(() => [
|
|
7553
7601
|
vue.createVNode(vue.unref(Btn), {
|
|
@@ -7563,7 +7611,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
7563
7611
|
})
|
|
7564
7612
|
]),
|
|
7565
7613
|
default: vue.withCtx(() => [
|
|
7566
|
-
vue.createElementVNode("h3", _hoisted_1$
|
|
7614
|
+
vue.createElementVNode("h3", _hoisted_1$z, vue.toDisplayString(_ctx.title), 1),
|
|
7567
7615
|
vue.createElementVNode("p", _hoisted_2$p, vue.toDisplayString(_ctx.message), 1)
|
|
7568
7616
|
]),
|
|
7569
7617
|
_: 1
|
|
@@ -7571,16 +7619,83 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
7571
7619
|
};
|
|
7572
7620
|
}
|
|
7573
7621
|
});
|
|
7574
|
-
const _hoisted_1$
|
|
7575
|
-
const
|
|
7622
|
+
const _hoisted_1$y = ["id"];
|
|
7623
|
+
const defaultMarkerSVG = '<svg id="eCJDQPwuXje1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="ac827abc0a8c4922b76bac4df7bd7646" export-id="2cc86932ccbc4825a31fd063b3e75478" cached="false"><style><![CDATA[#eCJDQPwuXje3_ts {animation: eCJDQPwuXje3_ts__ts 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_ts__ts { 0% {transform: translate(18px,18px) scale(1,1)} 3.333333% {transform: translate(18px,18px) scale(1,1);animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {transform: translate(18px,18px) scale(1.8,1.8)}} #eCJDQPwuXje3 {animation: eCJDQPwuXje3_c_o 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_c_o { 0% {opacity: 0} 3.333333% {opacity: 1;animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {opacity: 0}}]]></style><ellipse rx="10.049312" ry="10.049312" transform="translate(18 18)" fill="#2e5bff" stroke-width="0"/><g id="eCJDQPwuXje3_ts" transform="translate(18,18) scale(1,1)"><ellipse id="eCJDQPwuXje3" rx="10.049312" ry="10.049312" transform="translate(0,0)" opacity="0" fill="#2e5bff" stroke-width="0"/></g></svg>';
|
|
7624
|
+
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
7625
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
7576
7626
|
__name: "MapEmbed",
|
|
7627
|
+
props: {
|
|
7628
|
+
center: { default: () => [31.7683, 35.2137] },
|
|
7629
|
+
zoom: { default: 13 },
|
|
7630
|
+
height: { default: 400 },
|
|
7631
|
+
zoomControl: { type: Boolean, default: true },
|
|
7632
|
+
markers: {},
|
|
7633
|
+
markerIcon: { default: "" }
|
|
7634
|
+
},
|
|
7577
7635
|
setup(__props) {
|
|
7636
|
+
const props2 = __props;
|
|
7637
|
+
let L2 = vue.ref();
|
|
7638
|
+
let map4 = vue.ref();
|
|
7639
|
+
const _markers = vue.ref([]);
|
|
7640
|
+
const id = vue.ref(Math.random().toString(36).substring(2, 10));
|
|
7641
|
+
function loadGlobalL() {
|
|
7642
|
+
return new Promise(async (resolve) => {
|
|
7643
|
+
while (!window.L) await sleep(100);
|
|
7644
|
+
resolve(window.L);
|
|
7645
|
+
});
|
|
7646
|
+
}
|
|
7647
|
+
async function initializeMap() {
|
|
7648
|
+
await appendScript(leafletScriptUrl);
|
|
7649
|
+
L2.value = await loadGlobalL();
|
|
7650
|
+
if (!map4.value) {
|
|
7651
|
+
map4.value = L2.value.map(id.value, {
|
|
7652
|
+
center: props2.center,
|
|
7653
|
+
zoom: props2.zoom,
|
|
7654
|
+
zoomControl: props2.zoomControl
|
|
7655
|
+
});
|
|
7656
|
+
L2.value.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
|
|
7657
|
+
}
|
|
7658
|
+
}
|
|
7659
|
+
function addMarker(L22, latlng) {
|
|
7660
|
+
const iconSVG = props2.markerIcon || defaultMarkerSVG;
|
|
7661
|
+
const customIcon = L22.icon({
|
|
7662
|
+
iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
|
|
7663
|
+
iconSize: [32, 32]
|
|
7664
|
+
});
|
|
7665
|
+
const marker = L22.marker(latlng, { icon: customIcon }).addTo(map4.value);
|
|
7666
|
+
_markers.value.push(marker);
|
|
7667
|
+
}
|
|
7668
|
+
function fitMarkers(L22) {
|
|
7669
|
+
var _a2;
|
|
7670
|
+
if (_markers.value.length > 0) {
|
|
7671
|
+
(_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L22.featureGroup(_markers.value).getBounds());
|
|
7672
|
+
}
|
|
7673
|
+
}
|
|
7674
|
+
vue.watch(
|
|
7675
|
+
() => props2.markers,
|
|
7676
|
+
async (markers) => {
|
|
7677
|
+
_markers.value.forEach((marker) => marker.remove());
|
|
7678
|
+
if (!markers) return;
|
|
7679
|
+
for (const marker of markers) {
|
|
7680
|
+
const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon];
|
|
7681
|
+
if (!map4.value) initializeMap();
|
|
7682
|
+
addMarker(L2.value, [lat, lon]);
|
|
7683
|
+
fitMarkers(L2.value);
|
|
7684
|
+
}
|
|
7685
|
+
},
|
|
7686
|
+
{ immediate: true }
|
|
7687
|
+
);
|
|
7688
|
+
vue.onMounted(initializeMap);
|
|
7578
7689
|
return (_ctx, _cache) => {
|
|
7579
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
7690
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7691
|
+
id: id.value,
|
|
7692
|
+
class: "leaflet-map",
|
|
7693
|
+
style: vue.normalizeStyle({ height: `${props2.height || 400}px` })
|
|
7694
|
+
}, null, 12, _hoisted_1$y);
|
|
7580
7695
|
};
|
|
7581
7696
|
}
|
|
7582
7697
|
});
|
|
7583
|
-
const _sfc_main$
|
|
7698
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
7584
7699
|
__name: "Flag",
|
|
7585
7700
|
props: {
|
|
7586
7701
|
country: {},
|
|
@@ -7610,7 +7725,67 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
7610
7725
|
};
|
|
7611
7726
|
}
|
|
7612
7727
|
});
|
|
7613
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7728
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f99f1900"]]);
|
|
7729
|
+
const _hoisted_1$x = { class: "relative" };
|
|
7730
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
7731
|
+
__name: "AddressSearch",
|
|
7732
|
+
emits: ["addressSelected"],
|
|
7733
|
+
setup(__props, { emit: __emit }) {
|
|
7734
|
+
const emit2 = __emit;
|
|
7735
|
+
let addressInput = vue.ref("");
|
|
7736
|
+
let searchResults = vue.ref([]);
|
|
7737
|
+
const suggestion = vue.ref();
|
|
7738
|
+
function emitAddress(address) {
|
|
7739
|
+
emit2("addressSelected", address);
|
|
7740
|
+
searchResults.value = [];
|
|
7741
|
+
addressInput.value = "";
|
|
7742
|
+
}
|
|
7743
|
+
async function searchAddresses() {
|
|
7744
|
+
var _a2;
|
|
7745
|
+
const addressURL = addressInput.value.replace(/\s+/g, "+");
|
|
7746
|
+
const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(addressURL)}`;
|
|
7747
|
+
const res = await fetch(geocodeUrl);
|
|
7748
|
+
searchResults.value = await res.json() || [];
|
|
7749
|
+
console.log(suggestion.value);
|
|
7750
|
+
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
7751
|
+
}
|
|
7752
|
+
return (_ctx, _cache) => {
|
|
7753
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
7754
|
+
vue.createVNode(vue.unref(kt$1), {
|
|
7755
|
+
ref_key: "suggestion",
|
|
7756
|
+
ref: suggestion,
|
|
7757
|
+
noAutoFocus: true,
|
|
7758
|
+
placement: "bottom-start"
|
|
7759
|
+
}, {
|
|
7760
|
+
popper: vue.withCtx(() => [
|
|
7761
|
+
vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
7762
|
+
default: vue.withCtx(() => [
|
|
7763
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
|
|
7764
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
|
|
7765
|
+
key: index2,
|
|
7766
|
+
icon: "location_on",
|
|
7767
|
+
title: result2.display_name,
|
|
7768
|
+
onClick: ($event) => emitAddress(result2)
|
|
7769
|
+
}, null, 8, ["title", "onClick"]);
|
|
7770
|
+
}), 128))
|
|
7771
|
+
]),
|
|
7772
|
+
_: 1
|
|
7773
|
+
})
|
|
7774
|
+
]),
|
|
7775
|
+
default: vue.withCtx(() => [
|
|
7776
|
+
vue.createVNode(vue.unref(TextInput), {
|
|
7777
|
+
modelValue: vue.unref(addressInput),
|
|
7778
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(addressInput) ? addressInput.value = $event : addressInput = $event),
|
|
7779
|
+
placeholder: "Enter address",
|
|
7780
|
+
onDebounce: searchAddresses
|
|
7781
|
+
}, null, 8, ["modelValue"])
|
|
7782
|
+
]),
|
|
7783
|
+
_: 1
|
|
7784
|
+
}, 512)
|
|
7785
|
+
]);
|
|
7786
|
+
};
|
|
7787
|
+
}
|
|
7788
|
+
});
|
|
7614
7789
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
7615
7790
|
__name: "BglForm",
|
|
7616
7791
|
props: {
|
|
@@ -7703,7 +7878,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
7703
7878
|
return (_ctx, _cache) => {
|
|
7704
7879
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
7705
7880
|
_ctx.id ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
7706
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7881
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
7707
7882
|
key: 0,
|
|
7708
7883
|
tag: "h4",
|
|
7709
7884
|
label: _ctx.label
|
|
@@ -7727,7 +7902,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
7727
7902
|
ref: form,
|
|
7728
7903
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
7729
7904
|
}, [
|
|
7730
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7905
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
7731
7906
|
key: 0,
|
|
7732
7907
|
tag: "h4",
|
|
7733
7908
|
label: _ctx.label
|
|
@@ -16710,7 +16885,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16710
16885
|
onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
|
|
16711
16886
|
}, {
|
|
16712
16887
|
popper: vue.withCtx(() => [
|
|
16713
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16888
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
16714
16889
|
class: "p-05",
|
|
16715
16890
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
16716
16891
|
}, {
|
|
@@ -16739,12 +16914,12 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16739
16914
|
onKeydown: vue.withKeys(($event) => select2(option2), ["enter"])
|
|
16740
16915
|
}, [
|
|
16741
16916
|
_ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
16742
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16917
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16743
16918
|
key: 0,
|
|
16744
16919
|
size: 1.1,
|
|
16745
16920
|
icon: "select_check_box"
|
|
16746
16921
|
})) : vue.createCommentVNode("", true),
|
|
16747
|
-
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16922
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16748
16923
|
key: 1,
|
|
16749
16924
|
class: "opacity-3",
|
|
16750
16925
|
icon: "check_box_outline_blank",
|
|
@@ -16771,7 +16946,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16771
16946
|
onKeydown: openOptions,
|
|
16772
16947
|
onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
|
|
16773
16948
|
}, [
|
|
16774
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16949
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16775
16950
|
key: 0,
|
|
16776
16951
|
icon: _ctx.icon
|
|
16777
16952
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -16788,7 +16963,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16788
16963
|
})
|
|
16789
16964
|
})
|
|
16790
16965
|
])) : vue.createCommentVNode("", true),
|
|
16791
|
-
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16966
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), vue.mergeProps({
|
|
16792
16967
|
key: 3,
|
|
16793
16968
|
thin: ""
|
|
16794
16969
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
@@ -19392,7 +19567,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
19392
19567
|
class: "flex table-row"
|
|
19393
19568
|
}, [
|
|
19394
19569
|
vue.createElementVNode("div", _hoisted_5$b, [
|
|
19395
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19570
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "more_vert" })
|
|
19396
19571
|
]),
|
|
19397
19572
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
19398
19573
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -19409,7 +19584,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
19409
19584
|
], 2);
|
|
19410
19585
|
}), 128)),
|
|
19411
19586
|
vue.createElementVNode("div", _hoisted_6$6, [
|
|
19412
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19587
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
19413
19588
|
icon: "delete",
|
|
19414
19589
|
onClick: ($event) => removeRow2(index2)
|
|
19415
19590
|
}, null, 8, ["onClick"])
|
|
@@ -19439,7 +19614,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
19439
19614
|
};
|
|
19440
19615
|
}
|
|
19441
19616
|
});
|
|
19442
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
19617
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
|
|
19443
19618
|
const _hoisted_1$q = ["title"];
|
|
19444
19619
|
const _hoisted_2$j = ["for"];
|
|
19445
19620
|
const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -19566,12 +19741,12 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19566
19741
|
]),
|
|
19567
19742
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$a, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
19568
19743
|
], 8, _hoisted_2$j),
|
|
19569
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19744
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
19570
19745
|
key: 0,
|
|
19571
19746
|
class: "iconStart",
|
|
19572
19747
|
icon: _ctx.iconStart
|
|
19573
19748
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
19574
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19749
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
19575
19750
|
key: 1,
|
|
19576
19751
|
icon: _ctx.icon
|
|
19577
19752
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -19579,7 +19754,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19579
19754
|
};
|
|
19580
19755
|
}
|
|
19581
19756
|
});
|
|
19582
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19757
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
|
|
19583
19758
|
const _hoisted_1$p = { class: "primary-checkbox" };
|
|
19584
19759
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
19585
19760
|
__name: "Checkbox",
|
|
@@ -19603,7 +19778,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
19603
19778
|
};
|
|
19604
19779
|
}
|
|
19605
19780
|
});
|
|
19606
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19781
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
19607
19782
|
const _hoisted_1$o = ["title"];
|
|
19608
19783
|
const _hoisted_2$i = ["id", "placeholder", "required"];
|
|
19609
19784
|
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -19802,7 +19977,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19802
19977
|
};
|
|
19803
19978
|
}
|
|
19804
19979
|
});
|
|
19805
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
19980
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
|
|
19806
19981
|
const _hoisted_1$l = { class: "bagel-input" };
|
|
19807
19982
|
const _hoisted_2$f = {
|
|
19808
19983
|
key: 0,
|
|
@@ -20007,7 +20182,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20007
20182
|
alt: ""
|
|
20008
20183
|
}, null, 8, _hoisted_3$c)), [
|
|
20009
20184
|
[_directive_lightbox]
|
|
20010
|
-
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20185
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20011
20186
|
key: 1,
|
|
20012
20187
|
icon: "draft",
|
|
20013
20188
|
class: "multi-preview"
|
|
@@ -20035,7 +20210,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20035
20210
|
src: fileToUrl(fileQ.file),
|
|
20036
20211
|
alt: ""
|
|
20037
20212
|
}, null, 8, _hoisted_5$7)) : vue.createCommentVNode("", true)
|
|
20038
|
-
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20213
|
+
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20039
20214
|
key: 1,
|
|
20040
20215
|
icon: "draft",
|
|
20041
20216
|
class: "multi-preview"
|
|
@@ -20046,7 +20221,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20046
20221
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20047
20222
|
}, [
|
|
20048
20223
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
20049
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20224
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
20050
20225
|
class: "success",
|
|
20051
20226
|
icon: "check"
|
|
20052
20227
|
})
|
|
@@ -20067,7 +20242,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20067
20242
|
alt: ""
|
|
20068
20243
|
}, null, 8, _hoisted_9)), [
|
|
20069
20244
|
[_directive_lightbox]
|
|
20070
|
-
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20245
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20071
20246
|
key: 1,
|
|
20072
20247
|
size: 4,
|
|
20073
20248
|
weight: "2",
|
|
@@ -20086,7 +20261,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20086
20261
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20087
20262
|
}, [
|
|
20088
20263
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
20089
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20264
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
20090
20265
|
class: "success",
|
|
20091
20266
|
icon: "check"
|
|
20092
20267
|
})
|
|
@@ -20108,7 +20283,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20108
20283
|
browse
|
|
20109
20284
|
}, () => [
|
|
20110
20285
|
vue.createElementVNode("p", _hoisted_12, [
|
|
20111
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20286
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "upload_2" }),
|
|
20112
20287
|
vue.createTextVNode(" Drop files here or click to upload ")
|
|
20113
20288
|
])
|
|
20114
20289
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -20117,8 +20292,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
20117
20292
|
};
|
|
20118
20293
|
}
|
|
20119
20294
|
});
|
|
20120
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20121
|
-
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-
|
|
20295
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-298b3d5b"]]);
|
|
20296
|
+
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-0a2b089d"), n2 = n2(), vue.popScopeId(), n2);
|
|
20122
20297
|
const _hoisted_1$k = ["title"];
|
|
20123
20298
|
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
20124
20299
|
const _hoisted_3$b = [
|
|
@@ -20172,7 +20347,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20172
20347
|
};
|
|
20173
20348
|
}
|
|
20174
20349
|
});
|
|
20175
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
20350
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
|
|
20176
20351
|
function OrderedMap(content) {
|
|
20177
20352
|
this.content = content;
|
|
20178
20353
|
}
|
|
@@ -33507,7 +33682,11 @@ function createNodeFromContent(content, schema, options) {
|
|
|
33507
33682
|
if (isArrayContent) {
|
|
33508
33683
|
return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
|
|
33509
33684
|
}
|
|
33510
|
-
|
|
33685
|
+
const node = schema.nodeFromJSON(content);
|
|
33686
|
+
if (options.errorOnInvalidContent) {
|
|
33687
|
+
node.check();
|
|
33688
|
+
}
|
|
33689
|
+
return node;
|
|
33511
33690
|
} catch (error) {
|
|
33512
33691
|
if (options.errorOnInvalidContent) {
|
|
33513
33692
|
throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
|
|
@@ -46640,7 +46819,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
46640
46819
|
class: "flex gap-05",
|
|
46641
46820
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(open) ? open.value = true : open = true)
|
|
46642
46821
|
}, [
|
|
46643
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
46822
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
46644
46823
|
icon: vue.unref(open) ? "collapse_all" : "expand_all"
|
|
46645
46824
|
}, null, 8, ["icon"]),
|
|
46646
46825
|
computedDropDownOptions.value.showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
|
|
@@ -46686,7 +46865,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
46686
46865
|
});
|
|
46687
46866
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
|
|
46688
46867
|
/*!
|
|
46689
|
-
* Signature Pad v5.0.
|
|
46868
|
+
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
46690
46869
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
46691
46870
|
*/
|
|
46692
46871
|
class Point {
|
|
@@ -46726,7 +46905,7 @@ class Bezier {
|
|
|
46726
46905
|
const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
|
|
46727
46906
|
const dxm = m1.x - m2.x;
|
|
46728
46907
|
const dym = m1.y - m2.y;
|
|
46729
|
-
const k2 = l2 / (l1 + l2);
|
|
46908
|
+
const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
|
|
46730
46909
|
const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
|
|
46731
46910
|
const tx = s2.x - cm.x;
|
|
46732
46911
|
const ty = s2.y - cm.y;
|
|
@@ -47653,10 +47832,10 @@ function createTable() {
|
|
|
47653
47832
|
}
|
|
47654
47833
|
const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
|
|
47655
47834
|
const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
47656
|
-
const _hoisted_3$9 = { class: "content-area rounded p-1
|
|
47835
|
+
const _hoisted_3$9 = { class: "content-area rounded p-1 shadow-light w-100 grid" };
|
|
47657
47836
|
const _hoisted_4$5 = {
|
|
47658
47837
|
key: 0,
|
|
47659
|
-
class: "preview-area
|
|
47838
|
+
class: "preview-area w-100 rounded p-1"
|
|
47660
47839
|
};
|
|
47661
47840
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
47662
47841
|
__name: "index",
|
|
@@ -47817,7 +47996,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
47817
47996
|
};
|
|
47818
47997
|
}
|
|
47819
47998
|
});
|
|
47820
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
47999
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
|
|
47821
48000
|
const _hoisted_1$e = ["for"];
|
|
47822
48001
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47823
48002
|
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
@@ -47865,7 +48044,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47865
48044
|
vue.createElementVNode("div", _hoisted_3$8, [
|
|
47866
48045
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
47867
48046
|
key: 0,
|
|
47868
|
-
class: "bg-
|
|
48047
|
+
class: "bg-popup shadow-light py-025 rounded m_w40",
|
|
47869
48048
|
width: "60",
|
|
47870
48049
|
src: opt.imgSrc,
|
|
47871
48050
|
alt: opt.imgAlt
|
|
@@ -47890,7 +48069,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47890
48069
|
};
|
|
47891
48070
|
}
|
|
47892
48071
|
});
|
|
47893
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
48072
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
|
|
47894
48073
|
const _hoisted_1$d = { class: "relative" };
|
|
47895
48074
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
47896
48075
|
__name: "PasswordInput",
|
|
@@ -47899,7 +48078,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47899
48078
|
}, {
|
|
47900
48079
|
"modelValue": {},
|
|
47901
48080
|
"modelModifiers": {},
|
|
47902
|
-
"showPwd": { default: false },
|
|
48081
|
+
"showPwd": { type: Boolean, ...{ default: false } },
|
|
47903
48082
|
"showPwdModifiers": {}
|
|
47904
48083
|
}),
|
|
47905
48084
|
emits: ["update:modelValue", "update:showPwd"],
|
|
@@ -54069,7 +54248,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54069
54248
|
}
|
|
54070
54249
|
});
|
|
54071
54250
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
|
|
54072
|
-
const _withScopeId = (n2) => (vue.pushScopeId("data-v-
|
|
54251
|
+
const _withScopeId = (n2) => (vue.pushScopeId("data-v-d15c030d"), n2 = n2(), vue.popScopeId(), n2);
|
|
54073
54252
|
const _hoisted_1$5 = { class: "w-100 px-075" };
|
|
54074
54253
|
const _hoisted_2$1 = { key: 0 };
|
|
54075
54254
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
|
|
@@ -54092,7 +54271,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54092
54271
|
}
|
|
54093
54272
|
return (_ctx, _cache) => {
|
|
54094
54273
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
54095
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
54274
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
54096
54275
|
class: vue.normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: vue.unref(isOpen) }])
|
|
54097
54276
|
}, {
|
|
54098
54277
|
default: vue.withCtx(() => [
|
|
@@ -54115,7 +54294,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54115
54294
|
class: "nav-button px-075"
|
|
54116
54295
|
}, {
|
|
54117
54296
|
default: vue.withCtx(() => [
|
|
54118
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
54297
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
54119
54298
|
icon: nav2.icon,
|
|
54120
54299
|
size: 1.4
|
|
54121
54300
|
}, null, 8, ["icon"]),
|
|
@@ -54143,7 +54322,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54143
54322
|
};
|
|
54144
54323
|
}
|
|
54145
54324
|
});
|
|
54146
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
54325
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
|
|
54147
54326
|
const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
54148
54327
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
54149
54328
|
__name: "BottomMenu",
|
|
@@ -54152,7 +54331,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54152
54331
|
},
|
|
54153
54332
|
setup(__props) {
|
|
54154
54333
|
return (_ctx, _cache) => {
|
|
54155
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
54334
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
54156
54335
|
default: vue.withCtx(() => [
|
|
54157
54336
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
54158
54337
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
|
|
@@ -54163,7 +54342,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54163
54342
|
onClick: nav2.onClick
|
|
54164
54343
|
}, {
|
|
54165
54344
|
default: vue.withCtx(() => [
|
|
54166
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
54345
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
54167
54346
|
icon: nav2.icon,
|
|
54168
54347
|
size: 1.4,
|
|
54169
54348
|
class: "m-0"
|
|
@@ -54179,7 +54358,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54179
54358
|
};
|
|
54180
54359
|
}
|
|
54181
54360
|
});
|
|
54182
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
54361
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
|
|
54183
54362
|
const state = vue.reactive(/* @__PURE__ */ new Map());
|
|
54184
54363
|
function useTabs(group) {
|
|
54185
54364
|
if (!state.has(group)) {
|
|
@@ -54316,7 +54495,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54316
54495
|
class: vue.normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
|
|
54317
54496
|
onClick: ($event) => selectTab(tab)
|
|
54318
54497
|
}, [
|
|
54319
|
-
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
54498
|
+
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
54320
54499
|
key: 0,
|
|
54321
54500
|
icon: tab.icon
|
|
54322
54501
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -54327,7 +54506,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54327
54506
|
};
|
|
54328
54507
|
}
|
|
54329
54508
|
});
|
|
54330
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
54509
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
|
|
54331
54510
|
const _hoisted_1$1 = { key: 0 };
|
|
54332
54511
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
54333
54512
|
__name: "TabsBody",
|
|
@@ -54734,8 +54913,9 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
|
|
|
54734
54913
|
const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
54735
54914
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
54736
54915
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
54737
|
-
exports.Accordion = _sfc_main$
|
|
54916
|
+
exports.Accordion = _sfc_main$C;
|
|
54738
54917
|
exports.AccordionItem = AccordionItem;
|
|
54918
|
+
exports.AddressSearch = _sfc_main$u;
|
|
54739
54919
|
exports.Alert = Alert;
|
|
54740
54920
|
exports.Avatar = Avatar;
|
|
54741
54921
|
exports.Badge = Badge;
|
|
@@ -54747,7 +54927,7 @@ exports.BglMultiStepForm = _sfc_main$r;
|
|
|
54747
54927
|
exports.BglVideo = BglVideo;
|
|
54748
54928
|
exports.BottomMenu = BottomMenu;
|
|
54749
54929
|
exports.Btn = Btn;
|
|
54750
|
-
exports.Card = _sfc_main$
|
|
54930
|
+
exports.Card = _sfc_main$F;
|
|
54751
54931
|
exports.Carousel = Carousel;
|
|
54752
54932
|
exports.CheckInput = CheckInput;
|
|
54753
54933
|
exports.Checkbox = Checkbox;
|
|
@@ -54760,20 +54940,20 @@ exports.FileUpload = $el;
|
|
|
54760
54940
|
exports.Flag = Flag;
|
|
54761
54941
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
54762
54942
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
54763
|
-
exports.Icon = _sfc_main$
|
|
54943
|
+
exports.Icon = _sfc_main$S;
|
|
54764
54944
|
exports.JSONInput = JSONInput;
|
|
54765
54945
|
exports.Layout = Layout;
|
|
54766
54946
|
exports.Lineart = _sfc_main$7;
|
|
54767
|
-
exports.ListItem = _sfc_main$
|
|
54947
|
+
exports.ListItem = _sfc_main$L;
|
|
54768
54948
|
exports.ListView = ListView;
|
|
54769
|
-
exports.MapEmbed = _sfc_main$
|
|
54770
|
-
exports.MaterialIcon = _sfc_main$
|
|
54771
|
-
exports.Modal = _sfc_main$
|
|
54772
|
-
exports.ModalConfirm = _sfc_main$
|
|
54949
|
+
exports.MapEmbed = _sfc_main$w;
|
|
54950
|
+
exports.MaterialIcon = _sfc_main$S;
|
|
54951
|
+
exports.Modal = _sfc_main$P;
|
|
54952
|
+
exports.ModalConfirm = _sfc_main$x;
|
|
54773
54953
|
exports.ModalForm = ModalForm;
|
|
54774
54954
|
exports.ModalPlugin = ModalPlugin;
|
|
54775
54955
|
exports.NavBar = NavBar;
|
|
54776
|
-
exports.PageTitle = _sfc_main$
|
|
54956
|
+
exports.PageTitle = _sfc_main$K;
|
|
54777
54957
|
exports.PasswordInput = _sfc_main$8;
|
|
54778
54958
|
exports.RadioGroup = RadioGroup;
|
|
54779
54959
|
exports.RadioPillsInput = RadioPillsInput;
|
|
@@ -54791,12 +54971,13 @@ exports.TabsBody = _sfc_main$1;
|
|
|
54791
54971
|
exports.TabsNav = TabsNav;
|
|
54792
54972
|
exports.TelInput = TelInput;
|
|
54793
54973
|
exports.TextInput = TextInput;
|
|
54794
|
-
exports.Title = _sfc_main$
|
|
54974
|
+
exports.Title = _sfc_main$D;
|
|
54795
54975
|
exports.ToggleInput = ToggleInput;
|
|
54796
54976
|
exports.TopBar = TopBar;
|
|
54797
54977
|
exports.VIDEO_FORMATS = VIDEO_FORMATS;
|
|
54798
54978
|
exports.VIDEO_FORMATS_REGEXP = VIDEO_FORMATS_REGEXP;
|
|
54799
54979
|
exports.allCountries = allCountries;
|
|
54980
|
+
exports.appendScript = appendScript;
|
|
54800
54981
|
exports.bagelFormUtils = bagelFormUtils;
|
|
54801
54982
|
exports.bagelInjectionKey = bagelInjectionKey;
|
|
54802
54983
|
exports.bindAttrs = bindAttrs;
|
|
@@ -54811,6 +54992,7 @@ exports.iffer = iffer;
|
|
|
54811
54992
|
exports.initials = initials;
|
|
54812
54993
|
exports.isDate = isDate$1;
|
|
54813
54994
|
exports.keyToLabel = keyToLabel;
|
|
54995
|
+
exports.sleep = sleep;
|
|
54814
54996
|
exports.useBagel = useBagel;
|
|
54815
54997
|
exports.useBglSchema = useBglSchema;
|
|
54816
54998
|
exports.useEscape = useEscape;
|