@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.mjs
CHANGED
|
@@ -2937,7 +2937,10 @@ function AxiosError(message2, code2, config, request, response) {
|
|
|
2937
2937
|
code2 && (this.code = code2);
|
|
2938
2938
|
config && (this.config = config);
|
|
2939
2939
|
request && (this.request = request);
|
|
2940
|
-
|
|
2940
|
+
if (response) {
|
|
2941
|
+
this.response = response;
|
|
2942
|
+
this.status = response.status ? response.status : null;
|
|
2943
|
+
}
|
|
2941
2944
|
}
|
|
2942
2945
|
utils$1.inherits(AxiosError, Error, {
|
|
2943
2946
|
toJSON: function toJSON() {
|
|
@@ -2956,7 +2959,7 @@ utils$1.inherits(AxiosError, Error, {
|
|
|
2956
2959
|
// Axios
|
|
2957
2960
|
config: utils$1.toJSONObject(this.config),
|
|
2958
2961
|
code: this.code,
|
|
2959
|
-
status: this.
|
|
2962
|
+
status: this.status
|
|
2960
2963
|
};
|
|
2961
2964
|
}
|
|
2962
2965
|
});
|
|
@@ -3237,9 +3240,8 @@ const platform$1 = {
|
|
|
3237
3240
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
3238
3241
|
};
|
|
3239
3242
|
const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
3240
|
-
const
|
|
3241
|
-
|
|
3242
|
-
})(typeof navigator !== "undefined" && navigator.product);
|
|
3243
|
+
const _navigator = typeof navigator === "object" && navigator || void 0;
|
|
3244
|
+
const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
|
|
3243
3245
|
const hasStandardBrowserWebWorkerEnv = (() => {
|
|
3244
3246
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
3245
3247
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
@@ -3250,6 +3252,7 @@ const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
3250
3252
|
hasBrowserEnv,
|
|
3251
3253
|
hasStandardBrowserEnv,
|
|
3252
3254
|
hasStandardBrowserWebWorkerEnv,
|
|
3255
|
+
navigator: _navigator,
|
|
3253
3256
|
origin
|
|
3254
3257
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3255
3258
|
const platform = {
|
|
@@ -3825,7 +3828,7 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
|
3825
3828
|
// Standard browser envs have full support of the APIs needed to test
|
|
3826
3829
|
// whether the request URL is of the same origin as current location.
|
|
3827
3830
|
function standardBrowserEnv() {
|
|
3828
|
-
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
3831
|
+
const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent);
|
|
3829
3832
|
const urlParsingNode = document.createElement("a");
|
|
3830
3833
|
let originURL;
|
|
3831
3834
|
function resolveURL(url) {
|
|
@@ -4138,36 +4141,37 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
|
|
|
4138
4141
|
});
|
|
4139
4142
|
};
|
|
4140
4143
|
const composeSignals = (signals, timeout2) => {
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
const unsubscribe = () => {
|
|
4155
|
-
if (signals) {
|
|
4156
|
-
timer && clearTimeout(timer);
|
|
4144
|
+
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
4145
|
+
if (timeout2 || length) {
|
|
4146
|
+
let controller = new AbortController();
|
|
4147
|
+
let aborted;
|
|
4148
|
+
const onabort = function(reason) {
|
|
4149
|
+
if (!aborted) {
|
|
4150
|
+
aborted = true;
|
|
4151
|
+
unsubscribe();
|
|
4152
|
+
const err = reason instanceof Error ? reason : this.reason;
|
|
4153
|
+
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
4154
|
+
}
|
|
4155
|
+
};
|
|
4156
|
+
let timer = timeout2 && setTimeout(() => {
|
|
4157
4157
|
timer = null;
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
signals
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4158
|
+
onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
|
|
4159
|
+
}, timeout2);
|
|
4160
|
+
const unsubscribe = () => {
|
|
4161
|
+
if (signals) {
|
|
4162
|
+
timer && clearTimeout(timer);
|
|
4163
|
+
timer = null;
|
|
4164
|
+
signals.forEach((signal2) => {
|
|
4165
|
+
signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
|
|
4166
|
+
});
|
|
4167
|
+
signals = null;
|
|
4168
|
+
}
|
|
4169
|
+
};
|
|
4170
|
+
signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
|
|
4171
|
+
const { signal } = controller;
|
|
4172
|
+
signal.unsubscribe = () => utils$1.asap(unsubscribe);
|
|
4173
|
+
return signal;
|
|
4174
|
+
}
|
|
4171
4175
|
};
|
|
4172
4176
|
const streamChunk = function* (chunk, chunkSize) {
|
|
4173
4177
|
let len = chunk.byteLength;
|
|
@@ -4183,13 +4187,31 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
4183
4187
|
pos = end2;
|
|
4184
4188
|
}
|
|
4185
4189
|
};
|
|
4186
|
-
const readBytes = async function* (iterable, chunkSize
|
|
4187
|
-
for await (const chunk of iterable) {
|
|
4188
|
-
yield* streamChunk(
|
|
4190
|
+
const readBytes = async function* (iterable, chunkSize) {
|
|
4191
|
+
for await (const chunk of readStream(iterable)) {
|
|
4192
|
+
yield* streamChunk(chunk, chunkSize);
|
|
4193
|
+
}
|
|
4194
|
+
};
|
|
4195
|
+
const readStream = async function* (stream) {
|
|
4196
|
+
if (stream[Symbol.asyncIterator]) {
|
|
4197
|
+
yield* stream;
|
|
4198
|
+
return;
|
|
4199
|
+
}
|
|
4200
|
+
const reader = stream.getReader();
|
|
4201
|
+
try {
|
|
4202
|
+
for (; ; ) {
|
|
4203
|
+
const { done, value } = await reader.read();
|
|
4204
|
+
if (done) {
|
|
4205
|
+
break;
|
|
4206
|
+
}
|
|
4207
|
+
yield value;
|
|
4208
|
+
}
|
|
4209
|
+
} finally {
|
|
4210
|
+
await reader.cancel();
|
|
4189
4211
|
}
|
|
4190
4212
|
};
|
|
4191
|
-
const trackStream = (stream, chunkSize, onProgress, onFinish
|
|
4192
|
-
const iterator = readBytes(stream, chunkSize
|
|
4213
|
+
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
4214
|
+
const iterator = readBytes(stream, chunkSize);
|
|
4193
4215
|
let bytes = 0;
|
|
4194
4216
|
let done;
|
|
4195
4217
|
let _onFinish = (e) => {
|
|
@@ -4268,7 +4290,11 @@ const getBodyLength = async (body) => {
|
|
|
4268
4290
|
return body.size;
|
|
4269
4291
|
}
|
|
4270
4292
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4271
|
-
|
|
4293
|
+
const _request = new Request(platform.origin, {
|
|
4294
|
+
method: "POST",
|
|
4295
|
+
body
|
|
4296
|
+
});
|
|
4297
|
+
return (await _request.arrayBuffer()).byteLength;
|
|
4272
4298
|
}
|
|
4273
4299
|
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
4274
4300
|
return body.byteLength;
|
|
@@ -4300,14 +4326,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4300
4326
|
fetchOptions
|
|
4301
4327
|
} = resolveConfig(config);
|
|
4302
4328
|
responseType = responseType ? (responseType + "").toLowerCase() : "text";
|
|
4303
|
-
let
|
|
4304
|
-
let
|
|
4305
|
-
const
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
});
|
|
4309
|
-
finished = true;
|
|
4310
|
-
};
|
|
4329
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout2);
|
|
4330
|
+
let request;
|
|
4331
|
+
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
4332
|
+
composedSignal.unsubscribe();
|
|
4333
|
+
});
|
|
4311
4334
|
let requestContentLength;
|
|
4312
4335
|
try {
|
|
4313
4336
|
if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data2)) !== 0) {
|
|
@@ -4325,12 +4348,13 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4325
4348
|
requestContentLength,
|
|
4326
4349
|
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
4327
4350
|
);
|
|
4328
|
-
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush
|
|
4351
|
+
data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
4329
4352
|
}
|
|
4330
4353
|
}
|
|
4331
4354
|
if (!utils$1.isString(withCredentials)) {
|
|
4332
4355
|
withCredentials = withCredentials ? "include" : "omit";
|
|
4333
4356
|
}
|
|
4357
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
4334
4358
|
request = new Request(url, {
|
|
4335
4359
|
...fetchOptions,
|
|
4336
4360
|
signal: composedSignal,
|
|
@@ -4338,11 +4362,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4338
4362
|
headers: headers.normalize().toJSON(),
|
|
4339
4363
|
body: data2,
|
|
4340
4364
|
duplex: "half",
|
|
4341
|
-
credentials: withCredentials
|
|
4365
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
4342
4366
|
});
|
|
4343
4367
|
let response = await fetch(request);
|
|
4344
4368
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
4345
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
4369
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
4346
4370
|
const options = {};
|
|
4347
4371
|
["status", "statusText", "headers"].forEach((prop3) => {
|
|
4348
4372
|
options[prop3] = response[prop3];
|
|
@@ -4355,15 +4379,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4355
4379
|
response = new Response(
|
|
4356
4380
|
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
4357
4381
|
flush && flush();
|
|
4358
|
-
|
|
4359
|
-
}
|
|
4382
|
+
unsubscribe && unsubscribe();
|
|
4383
|
+
}),
|
|
4360
4384
|
options
|
|
4361
4385
|
);
|
|
4362
4386
|
}
|
|
4363
4387
|
responseType = responseType || "text";
|
|
4364
4388
|
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
|
|
4365
|
-
!isStreamResponse &&
|
|
4366
|
-
stopTimeout && stopTimeout();
|
|
4389
|
+
!isStreamResponse && unsubscribe && unsubscribe();
|
|
4367
4390
|
return await new Promise((resolve, reject3) => {
|
|
4368
4391
|
settle(resolve, reject3, {
|
|
4369
4392
|
data: responseData,
|
|
@@ -4375,7 +4398,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
4375
4398
|
});
|
|
4376
4399
|
});
|
|
4377
4400
|
} catch (err) {
|
|
4378
|
-
|
|
4401
|
+
unsubscribe && unsubscribe();
|
|
4379
4402
|
if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
|
|
4380
4403
|
throw Object.assign(
|
|
4381
4404
|
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
@@ -4482,7 +4505,7 @@ function dispatchRequest(config) {
|
|
|
4482
4505
|
return Promise.reject(reason);
|
|
4483
4506
|
});
|
|
4484
4507
|
}
|
|
4485
|
-
const VERSION = "1.7.
|
|
4508
|
+
const VERSION = "1.7.7";
|
|
4486
4509
|
const validators$1 = {};
|
|
4487
4510
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
|
|
4488
4511
|
validators$1[type3] = function validator2(thing) {
|
|
@@ -4770,6 +4793,15 @@ class CancelToken {
|
|
|
4770
4793
|
this._listeners.splice(index2, 1);
|
|
4771
4794
|
}
|
|
4772
4795
|
}
|
|
4796
|
+
toAbortSignal() {
|
|
4797
|
+
const controller = new AbortController();
|
|
4798
|
+
const abort = (err) => {
|
|
4799
|
+
controller.abort(err);
|
|
4800
|
+
};
|
|
4801
|
+
this.subscribe(abort);
|
|
4802
|
+
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
4803
|
+
return controller.signal;
|
|
4804
|
+
}
|
|
4773
4805
|
/**
|
|
4774
4806
|
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
4775
4807
|
* cancels the `CancelToken`.
|
|
@@ -5145,7 +5177,7 @@ class Bagel {
|
|
|
5145
5177
|
return data2;
|
|
5146
5178
|
}
|
|
5147
5179
|
}
|
|
5148
|
-
const _hoisted_1$
|
|
5180
|
+
const _hoisted_1$P = {
|
|
5149
5181
|
key: 0,
|
|
5150
5182
|
class: "navigation flex space-between px-3 w-100 absolute"
|
|
5151
5183
|
};
|
|
@@ -5162,7 +5194,7 @@ const _hoisted_7$6 = {
|
|
|
5162
5194
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
5163
5195
|
};
|
|
5164
5196
|
const _hoisted_8$3 = ["src", "onClick"];
|
|
5165
|
-
const _sfc_main$
|
|
5197
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
5166
5198
|
__name: "Lightbox",
|
|
5167
5199
|
setup(__props, { expose: __expose }) {
|
|
5168
5200
|
let isOpen = ref(false);
|
|
@@ -5231,7 +5263,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5231
5263
|
],
|
|
5232
5264
|
onClick: close2
|
|
5233
5265
|
}, [
|
|
5234
|
-
unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5266
|
+
unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
5235
5267
|
createVNode(unref(Btn), {
|
|
5236
5268
|
class: "navigation-btn oval",
|
|
5237
5269
|
icon: "arrow_back",
|
|
@@ -5288,13 +5320,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
5288
5320
|
return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
|
|
5289
5321
|
item.type === "image" ? (openBlock(), createElementBlock("img", {
|
|
5290
5322
|
key: 0,
|
|
5291
|
-
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-
|
|
5323
|
+
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
|
|
5292
5324
|
src: item.src,
|
|
5293
5325
|
alt: "",
|
|
5294
5326
|
onClick: ($event) => selectItem(index2)
|
|
5295
|
-
}, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
5327
|
+
}, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
5296
5328
|
key: 1,
|
|
5297
|
-
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-
|
|
5329
|
+
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
|
|
5298
5330
|
icon: "description",
|
|
5299
5331
|
onClick: ($event) => selectItem(index2)
|
|
5300
5332
|
}, null, 8, ["class", "onClick"]))
|
|
@@ -5317,7 +5349,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
5317
5349
|
}
|
|
5318
5350
|
return target;
|
|
5319
5351
|
};
|
|
5320
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5352
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
|
|
5321
5353
|
const groups = {};
|
|
5322
5354
|
const lightboxDirective = {
|
|
5323
5355
|
mounted(el, binding) {
|
|
@@ -5666,6 +5698,22 @@ function getFallbackSchema(data2, showFields) {
|
|
|
5666
5698
|
);
|
|
5667
5699
|
return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
|
|
5668
5700
|
}
|
|
5701
|
+
const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
5702
|
+
function appendScript(src) {
|
|
5703
|
+
return new Promise((resolve, reject3) => {
|
|
5704
|
+
if (document.querySelector(`script[src="${src}"]`)) {
|
|
5705
|
+
resolve();
|
|
5706
|
+
return;
|
|
5707
|
+
}
|
|
5708
|
+
const script2 = document.createElement("script");
|
|
5709
|
+
script2.src = src;
|
|
5710
|
+
script2.onload = () => {
|
|
5711
|
+
resolve();
|
|
5712
|
+
};
|
|
5713
|
+
script2.onerror = reject3;
|
|
5714
|
+
document.head.appendChild(script2);
|
|
5715
|
+
});
|
|
5716
|
+
}
|
|
5669
5717
|
const bagelInjectionKey = Symbol("bagel");
|
|
5670
5718
|
const i18nTInjectionKey = Symbol("bagel");
|
|
5671
5719
|
function useBagel() {
|
|
@@ -5756,9 +5804,9 @@ const ModalPlugin = {
|
|
|
5756
5804
|
return h$2(ModalForm, props2, modal.componentSlots);
|
|
5757
5805
|
}
|
|
5758
5806
|
if (modal.modalType === "confirm") {
|
|
5759
|
-
return h$2(_sfc_main$
|
|
5807
|
+
return h$2(_sfc_main$x, props2, {});
|
|
5760
5808
|
}
|
|
5761
|
-
return h$2(_sfc_main$
|
|
5809
|
+
return h$2(_sfc_main$P, props2, modal.componentSlots);
|
|
5762
5810
|
});
|
|
5763
5811
|
}
|
|
5764
5812
|
});
|
|
@@ -5784,7 +5832,7 @@ function useLocalStorage(key, initialValue) {
|
|
|
5784
5832
|
}, { immediate: true, deep: true });
|
|
5785
5833
|
return value;
|
|
5786
5834
|
}
|
|
5787
|
-
const _sfc_main$
|
|
5835
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
5788
5836
|
__name: "MaterialIcon",
|
|
5789
5837
|
props: {
|
|
5790
5838
|
icon: {},
|
|
@@ -5802,13 +5850,13 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
5802
5850
|
};
|
|
5803
5851
|
}
|
|
5804
5852
|
});
|
|
5805
|
-
const _hoisted_1$
|
|
5853
|
+
const _hoisted_1$O = { class: "full-nav" };
|
|
5806
5854
|
const _hoisted_2$B = { class: "nav-scroll" };
|
|
5807
5855
|
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
5808
5856
|
const _hoisted_4$h = { class: "tooltip" };
|
|
5809
5857
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5810
5858
|
const _hoisted_6$a = { class: "tooltip" };
|
|
5811
|
-
const _sfc_main$
|
|
5859
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
5812
5860
|
__name: "NavBar",
|
|
5813
5861
|
props: {
|
|
5814
5862
|
footerLinks: { default: () => [] },
|
|
@@ -5833,12 +5881,12 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5833
5881
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
|
|
5834
5882
|
onKeypress: _cache[1] || (_cache[1] = withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
|
|
5835
5883
|
}, [
|
|
5836
|
-
createVNode(unref(_sfc_main$
|
|
5884
|
+
createVNode(unref(_sfc_main$S), {
|
|
5837
5885
|
icon: "chevron_right",
|
|
5838
5886
|
class: "top-arrow"
|
|
5839
5887
|
})
|
|
5840
5888
|
], 32),
|
|
5841
|
-
createElementVNode("div", _hoisted_1$
|
|
5889
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
5842
5890
|
createElementVNode("div", _hoisted_2$B, [
|
|
5843
5891
|
createElementVNode("div", _hoisted_3$p, [
|
|
5844
5892
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
|
|
@@ -5852,7 +5900,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5852
5900
|
}
|
|
5853
5901
|
}, {
|
|
5854
5902
|
default: withCtx(() => [
|
|
5855
|
-
createVNode(unref(_sfc_main$
|
|
5903
|
+
createVNode(unref(_sfc_main$S), {
|
|
5856
5904
|
icon: link.icon
|
|
5857
5905
|
}, null, 8, ["icon"]),
|
|
5858
5906
|
createElementVNode("div", _hoisted_4$h, toDisplayString(link.label), 1)
|
|
@@ -5874,7 +5922,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5874
5922
|
}
|
|
5875
5923
|
}, {
|
|
5876
5924
|
default: withCtx(() => [
|
|
5877
|
-
createVNode(unref(_sfc_main$
|
|
5925
|
+
createVNode(unref(_sfc_main$S), {
|
|
5878
5926
|
icon: link.icon
|
|
5879
5927
|
}, null, 8, ["icon"]),
|
|
5880
5928
|
createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
|
|
@@ -5889,8 +5937,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
5889
5937
|
};
|
|
5890
5938
|
}
|
|
5891
5939
|
});
|
|
5892
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5893
|
-
const _hoisted_1$
|
|
5940
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
|
|
5941
|
+
const _hoisted_1$N = {
|
|
5894
5942
|
key: 0,
|
|
5895
5943
|
class: "loading"
|
|
5896
5944
|
};
|
|
@@ -5898,7 +5946,7 @@ const _hoisted_2$A = {
|
|
|
5898
5946
|
key: 1,
|
|
5899
5947
|
class: "bgl_btn-flex"
|
|
5900
5948
|
};
|
|
5901
|
-
const _sfc_main$
|
|
5949
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
5902
5950
|
__name: "Btn",
|
|
5903
5951
|
props: {
|
|
5904
5952
|
disabled: { type: Boolean, default: false },
|
|
@@ -5922,8 +5970,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5922
5970
|
},
|
|
5923
5971
|
setup(__props) {
|
|
5924
5972
|
useCssVars((_ctx) => ({
|
|
5925
|
-
"
|
|
5926
|
-
"
|
|
5973
|
+
"616bd948": computedBackgroundColor.value,
|
|
5974
|
+
"796e2f37": cumputedTextColor.value
|
|
5927
5975
|
}));
|
|
5928
5976
|
const props2 = __props;
|
|
5929
5977
|
const isComponent = computed(() => {
|
|
@@ -5941,7 +5989,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5941
5989
|
const computedDefaultColors = computed(
|
|
5942
5990
|
() => ({
|
|
5943
5991
|
backgroundColor: "var(--bgl-primary)",
|
|
5944
|
-
color: props2.flat ? "var(--bgl-
|
|
5992
|
+
color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
|
|
5945
5993
|
})
|
|
5946
5994
|
);
|
|
5947
5995
|
function getThemeColors(theme) {
|
|
@@ -5992,8 +6040,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
5992
6040
|
onClick: withModifiers(_ctx.onClick, ["stop"])
|
|
5993
6041
|
}, {
|
|
5994
6042
|
default: withCtx(() => [
|
|
5995
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5996
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6043
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$N)) : (openBlock(), createElementBlock("div", _hoisted_2$A, [
|
|
6044
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
5997
6045
|
key: 0,
|
|
5998
6046
|
icon: _ctx.icon
|
|
5999
6047
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -6001,7 +6049,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6001
6049
|
!unref(slots).default && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
|
|
6002
6050
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
6003
6051
|
], 64)) : createCommentVNode("", true),
|
|
6004
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6052
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
6005
6053
|
key: 2,
|
|
6006
6054
|
icon: props2["icon.end"]
|
|
6007
6055
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -6012,20 +6060,20 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
6012
6060
|
};
|
|
6013
6061
|
}
|
|
6014
6062
|
});
|
|
6015
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6016
|
-
const _hoisted_1$
|
|
6063
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
|
|
6064
|
+
const _hoisted_1$M = {
|
|
6017
6065
|
key: 0,
|
|
6018
6066
|
class: "tool-bar"
|
|
6019
6067
|
};
|
|
6020
6068
|
const _hoisted_2$z = {
|
|
6021
6069
|
key: 1,
|
|
6022
|
-
class: "sticky bg-
|
|
6070
|
+
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
6023
6071
|
};
|
|
6024
6072
|
const _hoisted_3$o = {
|
|
6025
6073
|
key: 2,
|
|
6026
6074
|
class: "modal-footer mt-1"
|
|
6027
6075
|
};
|
|
6028
|
-
const _sfc_main$
|
|
6076
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
6029
6077
|
__name: "Modal",
|
|
6030
6078
|
props: {
|
|
6031
6079
|
side: { type: Boolean },
|
|
@@ -6081,7 +6129,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6081
6129
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
6082
6130
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
6083
6131
|
}, [
|
|
6084
|
-
createVNode(unref(_sfc_main$
|
|
6132
|
+
createVNode(unref(_sfc_main$F), {
|
|
6085
6133
|
class: "modal",
|
|
6086
6134
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
6087
6135
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -6090,7 +6138,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6090
6138
|
default: withCtx(() => {
|
|
6091
6139
|
var _a2;
|
|
6092
6140
|
return [
|
|
6093
|
-
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
6141
|
+
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$M, [
|
|
6094
6142
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
6095
6143
|
createVNode(unref(Btn), {
|
|
6096
6144
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -6098,7 +6146,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6098
6146
|
icon: "close",
|
|
6099
6147
|
onClick: closeModal
|
|
6100
6148
|
}, null, 8, ["style"]),
|
|
6101
|
-
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6149
|
+
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
|
|
6102
6150
|
key: 0,
|
|
6103
6151
|
class: "modal-title",
|
|
6104
6152
|
tag: "h3",
|
|
@@ -6106,7 +6154,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6106
6154
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
6107
6155
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
6108
6156
|
createVNode(unref(Btn), {
|
|
6109
|
-
class: "
|
|
6157
|
+
class: "position-start",
|
|
6110
6158
|
icon: "close",
|
|
6111
6159
|
thin: "",
|
|
6112
6160
|
color: "white",
|
|
@@ -6132,7 +6180,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
6132
6180
|
};
|
|
6133
6181
|
}
|
|
6134
6182
|
});
|
|
6135
|
-
const _sfc_main$
|
|
6183
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
6136
6184
|
__name: "ModalForm",
|
|
6137
6185
|
props: /* @__PURE__ */ mergeModels({
|
|
6138
6186
|
side: { type: Boolean },
|
|
@@ -6193,7 +6241,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
6193
6241
|
}
|
|
6194
6242
|
__expose({ setFormValues });
|
|
6195
6243
|
return (_ctx, _cache) => {
|
|
6196
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6244
|
+
return openBlock(), createBlock(unref(_sfc_main$P), {
|
|
6197
6245
|
ref_key: "modal",
|
|
6198
6246
|
ref: modal,
|
|
6199
6247
|
side: _ctx.side,
|
|
@@ -6246,12 +6294,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
6246
6294
|
};
|
|
6247
6295
|
}
|
|
6248
6296
|
});
|
|
6249
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6250
|
-
const _hoisted_1$
|
|
6297
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
|
|
6298
|
+
const _hoisted_1$L = { class: "accordion-item" };
|
|
6251
6299
|
const _hoisted_2$y = ["aria-expanded", "aria-controls"];
|
|
6252
6300
|
const _hoisted_3$n = { class: "accordion-label" };
|
|
6253
6301
|
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
6254
|
-
const _sfc_main$
|
|
6302
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
6255
6303
|
__name: "AccordionItem",
|
|
6256
6304
|
props: {
|
|
6257
6305
|
label: {},
|
|
@@ -6288,7 +6336,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6288
6336
|
else if (accordionState.openItem === id) accordionState.openItem = null;
|
|
6289
6337
|
}
|
|
6290
6338
|
return (_ctx, _cache) => {
|
|
6291
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6339
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
6292
6340
|
createElementVNode("button", {
|
|
6293
6341
|
"aria-expanded": unref(isOpen) ? "true" : "false",
|
|
6294
6342
|
class: "accordion-head",
|
|
@@ -6301,7 +6349,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6301
6349
|
createElementVNode("div", {
|
|
6302
6350
|
class: normalizeClass(["accordion-icon", { open: unref(isOpen) }])
|
|
6303
6351
|
}, [
|
|
6304
|
-
createVNode(unref(_sfc_main$
|
|
6352
|
+
createVNode(unref(_sfc_main$S), { icon: "expand_more" })
|
|
6305
6353
|
], 2)
|
|
6306
6354
|
], 8, _hoisted_2$y),
|
|
6307
6355
|
createVNode(Transition, { name: "expand" }, {
|
|
@@ -6321,13 +6369,13 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6321
6369
|
};
|
|
6322
6370
|
}
|
|
6323
6371
|
});
|
|
6324
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6325
|
-
const _sfc_main$
|
|
6326
|
-
const _hoisted_1$
|
|
6372
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f87b579d"]]);
|
|
6373
|
+
const _sfc_main$M = {};
|
|
6374
|
+
const _hoisted_1$K = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
|
|
6327
6375
|
const _hoisted_2$x = { class: "p-1" };
|
|
6328
6376
|
const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
6329
6377
|
function _sfc_render$2(_ctx, _cache) {
|
|
6330
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6378
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
6331
6379
|
createElementVNode("div", _hoisted_2$x, [
|
|
6332
6380
|
renderSlot(_ctx.$slots, "header")
|
|
6333
6381
|
]),
|
|
@@ -6336,10 +6384,10 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
6336
6384
|
])
|
|
6337
6385
|
]);
|
|
6338
6386
|
}
|
|
6339
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6340
|
-
const _hoisted_1$
|
|
6387
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$2]]);
|
|
6388
|
+
const _hoisted_1$J = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
6341
6389
|
const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
6342
|
-
const _sfc_main$
|
|
6390
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
6343
6391
|
__name: "ListItem",
|
|
6344
6392
|
props: {
|
|
6345
6393
|
src: {},
|
|
@@ -6366,14 +6414,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
6366
6414
|
src: _ctx.src,
|
|
6367
6415
|
size: 40
|
|
6368
6416
|
}, null, 8, ["name", "src"])) : createCommentVNode("", true),
|
|
6369
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6417
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
6370
6418
|
key: 1,
|
|
6371
6419
|
size: "1.2",
|
|
6372
6420
|
class: "color-primary",
|
|
6373
6421
|
icon: _ctx.icon
|
|
6374
6422
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
6375
6423
|
createElementVNode("div", null, [
|
|
6376
|
-
createElementVNode("p", _hoisted_1$
|
|
6424
|
+
createElementVNode("p", _hoisted_1$J, [
|
|
6377
6425
|
createTextVNode(toDisplayString(_ctx.title) + " ", 1),
|
|
6378
6426
|
renderSlot(_ctx.$slots, "default")
|
|
6379
6427
|
]),
|
|
@@ -6388,9 +6436,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
6388
6436
|
};
|
|
6389
6437
|
}
|
|
6390
6438
|
});
|
|
6391
|
-
const _hoisted_1$
|
|
6439
|
+
const _hoisted_1$I = { class: "page-top" };
|
|
6392
6440
|
const _hoisted_2$v = { class: "top-title m-0" };
|
|
6393
|
-
const _sfc_main$
|
|
6441
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
6394
6442
|
__name: "PageTitle",
|
|
6395
6443
|
props: {
|
|
6396
6444
|
value: {
|
|
@@ -6400,7 +6448,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
6400
6448
|
},
|
|
6401
6449
|
setup(__props) {
|
|
6402
6450
|
return (_ctx, _cache) => {
|
|
6403
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6451
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
6404
6452
|
createElementVNode("h1", _hoisted_2$v, [
|
|
6405
6453
|
renderSlot(_ctx.$slots, "default"),
|
|
6406
6454
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
@@ -6723,8 +6771,8 @@ function useVerticalVirtualList(options, list) {
|
|
|
6723
6771
|
containerRef
|
|
6724
6772
|
};
|
|
6725
6773
|
}
|
|
6726
|
-
const _withScopeId$2 = (n2) => (pushScopeId("data-v-
|
|
6727
|
-
const _hoisted_1$
|
|
6774
|
+
const _withScopeId$2 = (n2) => (pushScopeId("data-v-bd90dc89"), n2 = n2(), popScopeId(), n2);
|
|
6775
|
+
const _hoisted_1$H = {
|
|
6728
6776
|
key: 0,
|
|
6729
6777
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
6730
6778
|
};
|
|
@@ -6741,7 +6789,7 @@ const _hoisted_9$2 = ["onClick"];
|
|
|
6741
6789
|
const _hoisted_10$1 = { key: 0 };
|
|
6742
6790
|
const _hoisted_11$1 = ["value"];
|
|
6743
6791
|
const _hoisted_12$1 = { key: 1 };
|
|
6744
|
-
const _sfc_main$
|
|
6792
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
6745
6793
|
__name: "TableSchema",
|
|
6746
6794
|
props: /* @__PURE__ */ mergeModels({
|
|
6747
6795
|
selectedItems: {},
|
|
@@ -6757,7 +6805,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6757
6805
|
emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6758
6806
|
setup(__props, { emit: __emit }) {
|
|
6759
6807
|
useCssVars((_ctx) => ({
|
|
6760
|
-
"
|
|
6808
|
+
"38e39900": unref(computedItemHiehgt)
|
|
6761
6809
|
}));
|
|
6762
6810
|
const props2 = __props;
|
|
6763
6811
|
const emit2 = __emit;
|
|
@@ -6878,7 +6926,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6878
6926
|
return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
|
|
6879
6927
|
class: { "loading-table": loading.value }
|
|
6880
6928
|
}), [
|
|
6881
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6929
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, _hoisted_3$l)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
|
|
6882
6930
|
createElementVNode("table", _hoisted_4$f, [
|
|
6883
6931
|
createElementVNode("thead", _hoisted_5$e, [
|
|
6884
6932
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$9, [
|
|
@@ -6902,7 +6950,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6902
6950
|
createElementVNode("div", {
|
|
6903
6951
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
|
|
6904
6952
|
}, [
|
|
6905
|
-
createVNode(unref(_sfc_main$
|
|
6953
|
+
createVNode(unref(_sfc_main$S), {
|
|
6906
6954
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
6907
6955
|
icon: "keyboard_arrow_up"
|
|
6908
6956
|
}, null, 8, ["class"])
|
|
@@ -6960,16 +7008,16 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
6960
7008
|
};
|
|
6961
7009
|
}
|
|
6962
7010
|
});
|
|
6963
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6964
|
-
const _sfc_main$
|
|
6965
|
-
const _hoisted_1$
|
|
7011
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-bd90dc89"]]);
|
|
7012
|
+
const _sfc_main$I = {};
|
|
7013
|
+
const _hoisted_1$G = { class: "flex space-between" };
|
|
6966
7014
|
function _sfc_render$1(_ctx, _cache) {
|
|
6967
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7015
|
+
return openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
6968
7016
|
renderSlot(_ctx.$slots, "default")
|
|
6969
7017
|
]);
|
|
6970
7018
|
}
|
|
6971
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6972
|
-
const _sfc_main$
|
|
7019
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
|
|
7020
|
+
const _sfc_main$H = {};
|
|
6973
7021
|
function _sfc_render(_ctx, _cache) {
|
|
6974
7022
|
const _component_router_view = resolveComponent("router-view");
|
|
6975
7023
|
return openBlock(), createBlock(_component_router_view, null, {
|
|
@@ -6991,8 +7039,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
6991
7039
|
_: 1
|
|
6992
7040
|
});
|
|
6993
7041
|
}
|
|
6994
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6995
|
-
const _hoisted_1$
|
|
7042
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
|
|
7043
|
+
const _hoisted_1$F = {
|
|
6996
7044
|
key: 0,
|
|
6997
7045
|
class: "data"
|
|
6998
7046
|
};
|
|
@@ -7013,7 +7061,7 @@ const _hoisted_9$1 = {
|
|
|
7013
7061
|
key: 0,
|
|
7014
7062
|
class: "m-0"
|
|
7015
7063
|
};
|
|
7016
|
-
const _sfc_main$
|
|
7064
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
7017
7065
|
__name: "DataPreview",
|
|
7018
7066
|
props: /* @__PURE__ */ mergeModels({
|
|
7019
7067
|
showFields: {},
|
|
@@ -7049,8 +7097,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7049
7097
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7050
7098
|
return (_ctx, _cache) => {
|
|
7051
7099
|
var _a2;
|
|
7052
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7053
|
-
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7100
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
7101
|
+
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
|
|
7054
7102
|
key: 0,
|
|
7055
7103
|
label: _ctx.title
|
|
7056
7104
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
@@ -7091,12 +7139,12 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7091
7139
|
};
|
|
7092
7140
|
}
|
|
7093
7141
|
});
|
|
7094
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7095
|
-
const _hoisted_1$
|
|
7142
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
|
|
7143
|
+
const _hoisted_1$E = {
|
|
7096
7144
|
key: 0,
|
|
7097
7145
|
class: "card_label"
|
|
7098
7146
|
};
|
|
7099
|
-
const _sfc_main$
|
|
7147
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
7100
7148
|
__name: "Card",
|
|
7101
7149
|
props: {
|
|
7102
7150
|
label: {},
|
|
@@ -7124,7 +7172,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7124
7172
|
}])
|
|
7125
7173
|
}, {
|
|
7126
7174
|
default: withCtx(() => [
|
|
7127
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
7175
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
7128
7176
|
renderSlot(_ctx.$slots, "default")
|
|
7129
7177
|
]),
|
|
7130
7178
|
_: 3
|
|
@@ -7132,8 +7180,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
7132
7180
|
};
|
|
7133
7181
|
}
|
|
7134
7182
|
});
|
|
7135
|
-
const _hoisted_1$
|
|
7136
|
-
const _sfc_main$
|
|
7183
|
+
const _hoisted_1$D = ["src", "alt"];
|
|
7184
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
7137
7185
|
__name: "Avatar",
|
|
7138
7186
|
props: {
|
|
7139
7187
|
fallback: {},
|
|
@@ -7151,7 +7199,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7151
7199
|
key: 0,
|
|
7152
7200
|
src: _ctx.src,
|
|
7153
7201
|
alt: _ctx.name
|
|
7154
|
-
}, null, 8, _hoisted_1$
|
|
7202
|
+
}, null, 8, _hoisted_1$D)) : (openBlock(), createElementBlock("p", {
|
|
7155
7203
|
key: 1,
|
|
7156
7204
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
7157
7205
|
}, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
|
|
@@ -7159,8 +7207,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7159
7207
|
};
|
|
7160
7208
|
}
|
|
7161
7209
|
});
|
|
7162
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7163
|
-
const _sfc_main$
|
|
7210
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dd2f6734"]]);
|
|
7211
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
7164
7212
|
__name: "Title",
|
|
7165
7213
|
props: {
|
|
7166
7214
|
value: {
|
|
@@ -7188,7 +7236,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
7188
7236
|
};
|
|
7189
7237
|
}
|
|
7190
7238
|
});
|
|
7191
|
-
const _sfc_main$
|
|
7239
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
7192
7240
|
__name: "Accordion",
|
|
7193
7241
|
setup(__props) {
|
|
7194
7242
|
const state2 = reactive({
|
|
@@ -7202,9 +7250,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
7202
7250
|
};
|
|
7203
7251
|
}
|
|
7204
7252
|
});
|
|
7205
|
-
const _hoisted_1$
|
|
7253
|
+
const _hoisted_1$C = ["dismissable"];
|
|
7206
7254
|
const _hoisted_2$s = { class: "m-0" };
|
|
7207
|
-
const _sfc_main$
|
|
7255
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
7208
7256
|
__name: "Alert",
|
|
7209
7257
|
props: {
|
|
7210
7258
|
message: {},
|
|
@@ -7225,7 +7273,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
7225
7273
|
class: normalizeClass(["alert", [_ctx.type]]),
|
|
7226
7274
|
dismissable: _ctx.dismissable
|
|
7227
7275
|
}, [
|
|
7228
|
-
_ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7276
|
+
_ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
7229
7277
|
key: 0,
|
|
7230
7278
|
class: "alert_icon",
|
|
7231
7279
|
icon: _ctx.icon || _ctx.type,
|
|
@@ -7240,12 +7288,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
7240
7288
|
icon: "close",
|
|
7241
7289
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
7242
7290
|
})
|
|
7243
|
-
], 10, _hoisted_1$
|
|
7291
|
+
], 10, _hoisted_1$C)) : createCommentVNode("", true);
|
|
7244
7292
|
};
|
|
7245
7293
|
}
|
|
7246
7294
|
});
|
|
7247
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7248
|
-
const _sfc_main$
|
|
7295
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
|
|
7296
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
7249
7297
|
__name: "Badge",
|
|
7250
7298
|
props: {
|
|
7251
7299
|
color: {},
|
|
@@ -7261,13 +7309,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7261
7309
|
return openBlock(), createElementBlock("div", {
|
|
7262
7310
|
class: normalizeClass(["pill", [_ctx.color]])
|
|
7263
7311
|
}, [
|
|
7264
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7312
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
7265
7313
|
key: 0,
|
|
7266
7314
|
class: "inline",
|
|
7267
7315
|
icon: _ctx.icon
|
|
7268
7316
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
7269
7317
|
createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
|
|
7270
|
-
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7318
|
+
props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
7271
7319
|
key: 1,
|
|
7272
7320
|
class: "inline",
|
|
7273
7321
|
icon: props2["icon.end"]
|
|
@@ -7276,10 +7324,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
7276
7324
|
};
|
|
7277
7325
|
}
|
|
7278
7326
|
});
|
|
7279
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7280
|
-
const _hoisted_1$
|
|
7327
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
|
|
7328
|
+
const _hoisted_1$B = ["src"];
|
|
7281
7329
|
const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
|
|
7282
|
-
const _sfc_main$
|
|
7330
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
7283
7331
|
__name: "BglVideo",
|
|
7284
7332
|
props: {
|
|
7285
7333
|
src: {},
|
|
@@ -7334,7 +7382,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7334
7382
|
allowfullscreen: "",
|
|
7335
7383
|
title: "Video",
|
|
7336
7384
|
allow: "autoplay"
|
|
7337
|
-
}, null, 12, _hoisted_1$
|
|
7385
|
+
}, null, 12, _hoisted_1$B)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
7338
7386
|
key: 1,
|
|
7339
7387
|
src: _ctx.src,
|
|
7340
7388
|
autoplay: _ctx.autoplay,
|
|
@@ -7348,13 +7396,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7348
7396
|
};
|
|
7349
7397
|
}
|
|
7350
7398
|
});
|
|
7351
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7352
|
-
const _hoisted_1$
|
|
7399
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
|
|
7400
|
+
const _hoisted_1$A = {
|
|
7353
7401
|
key: 0,
|
|
7354
7402
|
class: "blocker"
|
|
7355
7403
|
};
|
|
7356
7404
|
const _hoisted_2$q = { class: "Handlers" };
|
|
7357
|
-
const _sfc_main$
|
|
7405
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
7358
7406
|
__name: "Carousel",
|
|
7359
7407
|
props: {
|
|
7360
7408
|
autoHeight: {
|
|
@@ -7502,7 +7550,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
7502
7550
|
onScrollend: scrollEnd,
|
|
7503
7551
|
onMousedown: startDragging
|
|
7504
7552
|
}, [
|
|
7505
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7553
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$A)) : createCommentVNode("", true),
|
|
7506
7554
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
7507
7555
|
], 34),
|
|
7508
7556
|
createElementVNode("div", _hoisted_2$q, [
|
|
@@ -7523,10 +7571,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
7523
7571
|
};
|
|
7524
7572
|
}
|
|
7525
7573
|
});
|
|
7526
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7527
|
-
const _hoisted_1$
|
|
7574
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
|
|
7575
|
+
const _hoisted_1$z = { class: "m-0" };
|
|
7528
7576
|
const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
|
|
7529
|
-
const _sfc_main$
|
|
7577
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
7530
7578
|
__name: "ModalConfirm",
|
|
7531
7579
|
props: {
|
|
7532
7580
|
title: {},
|
|
@@ -7542,10 +7590,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
7542
7590
|
emit2("update:visible");
|
|
7543
7591
|
}
|
|
7544
7592
|
return (_ctx, _cache) => {
|
|
7545
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
7593
|
+
return openBlock(), createBlock(unref(_sfc_main$P), {
|
|
7546
7594
|
width: "380px",
|
|
7547
7595
|
dismissable: false,
|
|
7548
|
-
class: "
|
|
7596
|
+
class: "txt-center"
|
|
7549
7597
|
}, {
|
|
7550
7598
|
footer: withCtx(() => [
|
|
7551
7599
|
createVNode(unref(Btn), {
|
|
@@ -7561,7 +7609,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
7561
7609
|
})
|
|
7562
7610
|
]),
|
|
7563
7611
|
default: withCtx(() => [
|
|
7564
|
-
createElementVNode("h3", _hoisted_1$
|
|
7612
|
+
createElementVNode("h3", _hoisted_1$z, toDisplayString(_ctx.title), 1),
|
|
7565
7613
|
createElementVNode("p", _hoisted_2$p, toDisplayString(_ctx.message), 1)
|
|
7566
7614
|
]),
|
|
7567
7615
|
_: 1
|
|
@@ -7569,16 +7617,83 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
7569
7617
|
};
|
|
7570
7618
|
}
|
|
7571
7619
|
});
|
|
7572
|
-
const _hoisted_1$
|
|
7573
|
-
const
|
|
7620
|
+
const _hoisted_1$y = ["id"];
|
|
7621
|
+
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>';
|
|
7622
|
+
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
7623
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
7574
7624
|
__name: "MapEmbed",
|
|
7625
|
+
props: {
|
|
7626
|
+
center: { default: () => [31.7683, 35.2137] },
|
|
7627
|
+
zoom: { default: 13 },
|
|
7628
|
+
height: { default: 400 },
|
|
7629
|
+
zoomControl: { type: Boolean, default: true },
|
|
7630
|
+
markers: {},
|
|
7631
|
+
markerIcon: { default: "" }
|
|
7632
|
+
},
|
|
7575
7633
|
setup(__props) {
|
|
7634
|
+
const props2 = __props;
|
|
7635
|
+
let L2 = ref();
|
|
7636
|
+
let map4 = ref();
|
|
7637
|
+
const _markers = ref([]);
|
|
7638
|
+
const id = ref(Math.random().toString(36).substring(2, 10));
|
|
7639
|
+
function loadGlobalL() {
|
|
7640
|
+
return new Promise(async (resolve) => {
|
|
7641
|
+
while (!window.L) await sleep(100);
|
|
7642
|
+
resolve(window.L);
|
|
7643
|
+
});
|
|
7644
|
+
}
|
|
7645
|
+
async function initializeMap() {
|
|
7646
|
+
await appendScript(leafletScriptUrl);
|
|
7647
|
+
L2.value = await loadGlobalL();
|
|
7648
|
+
if (!map4.value) {
|
|
7649
|
+
map4.value = L2.value.map(id.value, {
|
|
7650
|
+
center: props2.center,
|
|
7651
|
+
zoom: props2.zoom,
|
|
7652
|
+
zoomControl: props2.zoomControl
|
|
7653
|
+
});
|
|
7654
|
+
L2.value.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
|
|
7655
|
+
}
|
|
7656
|
+
}
|
|
7657
|
+
function addMarker(L22, latlng) {
|
|
7658
|
+
const iconSVG = props2.markerIcon || defaultMarkerSVG;
|
|
7659
|
+
const customIcon = L22.icon({
|
|
7660
|
+
iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
|
|
7661
|
+
iconSize: [32, 32]
|
|
7662
|
+
});
|
|
7663
|
+
const marker = L22.marker(latlng, { icon: customIcon }).addTo(map4.value);
|
|
7664
|
+
_markers.value.push(marker);
|
|
7665
|
+
}
|
|
7666
|
+
function fitMarkers(L22) {
|
|
7667
|
+
var _a2;
|
|
7668
|
+
if (_markers.value.length > 0) {
|
|
7669
|
+
(_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L22.featureGroup(_markers.value).getBounds());
|
|
7670
|
+
}
|
|
7671
|
+
}
|
|
7672
|
+
watch(
|
|
7673
|
+
() => props2.markers,
|
|
7674
|
+
async (markers) => {
|
|
7675
|
+
_markers.value.forEach((marker) => marker.remove());
|
|
7676
|
+
if (!markers) return;
|
|
7677
|
+
for (const marker of markers) {
|
|
7678
|
+
const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon];
|
|
7679
|
+
if (!map4.value) initializeMap();
|
|
7680
|
+
addMarker(L2.value, [lat, lon]);
|
|
7681
|
+
fitMarkers(L2.value);
|
|
7682
|
+
}
|
|
7683
|
+
},
|
|
7684
|
+
{ immediate: true }
|
|
7685
|
+
);
|
|
7686
|
+
onMounted(initializeMap);
|
|
7576
7687
|
return (_ctx, _cache) => {
|
|
7577
|
-
return openBlock(), createElementBlock("div",
|
|
7688
|
+
return openBlock(), createElementBlock("div", {
|
|
7689
|
+
id: id.value,
|
|
7690
|
+
class: "leaflet-map",
|
|
7691
|
+
style: normalizeStyle({ height: `${props2.height || 400}px` })
|
|
7692
|
+
}, null, 12, _hoisted_1$y);
|
|
7578
7693
|
};
|
|
7579
7694
|
}
|
|
7580
7695
|
});
|
|
7581
|
-
const _sfc_main$
|
|
7696
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
7582
7697
|
__name: "Flag",
|
|
7583
7698
|
props: {
|
|
7584
7699
|
country: {},
|
|
@@ -7608,7 +7723,67 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
7608
7723
|
};
|
|
7609
7724
|
}
|
|
7610
7725
|
});
|
|
7611
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7726
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f99f1900"]]);
|
|
7727
|
+
const _hoisted_1$x = { class: "relative" };
|
|
7728
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
7729
|
+
__name: "AddressSearch",
|
|
7730
|
+
emits: ["addressSelected"],
|
|
7731
|
+
setup(__props, { emit: __emit }) {
|
|
7732
|
+
const emit2 = __emit;
|
|
7733
|
+
let addressInput = ref("");
|
|
7734
|
+
let searchResults = ref([]);
|
|
7735
|
+
const suggestion = ref();
|
|
7736
|
+
function emitAddress(address) {
|
|
7737
|
+
emit2("addressSelected", address);
|
|
7738
|
+
searchResults.value = [];
|
|
7739
|
+
addressInput.value = "";
|
|
7740
|
+
}
|
|
7741
|
+
async function searchAddresses() {
|
|
7742
|
+
var _a2;
|
|
7743
|
+
const addressURL = addressInput.value.replace(/\s+/g, "+");
|
|
7744
|
+
const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(addressURL)}`;
|
|
7745
|
+
const res = await fetch(geocodeUrl);
|
|
7746
|
+
searchResults.value = await res.json() || [];
|
|
7747
|
+
console.log(suggestion.value);
|
|
7748
|
+
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
7749
|
+
}
|
|
7750
|
+
return (_ctx, _cache) => {
|
|
7751
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
7752
|
+
createVNode(unref(kt$1), {
|
|
7753
|
+
ref_key: "suggestion",
|
|
7754
|
+
ref: suggestion,
|
|
7755
|
+
noAutoFocus: true,
|
|
7756
|
+
placement: "bottom-start"
|
|
7757
|
+
}, {
|
|
7758
|
+
popper: withCtx(() => [
|
|
7759
|
+
createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
7760
|
+
default: withCtx(() => [
|
|
7761
|
+
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(searchResults), (result2, index2) => {
|
|
7762
|
+
return openBlock(), createBlock(unref(_sfc_main$L), {
|
|
7763
|
+
key: index2,
|
|
7764
|
+
icon: "location_on",
|
|
7765
|
+
title: result2.display_name,
|
|
7766
|
+
onClick: ($event) => emitAddress(result2)
|
|
7767
|
+
}, null, 8, ["title", "onClick"]);
|
|
7768
|
+
}), 128))
|
|
7769
|
+
]),
|
|
7770
|
+
_: 1
|
|
7771
|
+
})
|
|
7772
|
+
]),
|
|
7773
|
+
default: withCtx(() => [
|
|
7774
|
+
createVNode(unref(TextInput), {
|
|
7775
|
+
modelValue: unref(addressInput),
|
|
7776
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(addressInput) ? addressInput.value = $event : addressInput = $event),
|
|
7777
|
+
placeholder: "Enter address",
|
|
7778
|
+
onDebounce: searchAddresses
|
|
7779
|
+
}, null, 8, ["modelValue"])
|
|
7780
|
+
]),
|
|
7781
|
+
_: 1
|
|
7782
|
+
}, 512)
|
|
7783
|
+
]);
|
|
7784
|
+
};
|
|
7785
|
+
}
|
|
7786
|
+
});
|
|
7612
7787
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
7613
7788
|
__name: "BglForm",
|
|
7614
7789
|
props: {
|
|
@@ -7701,7 +7876,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
7701
7876
|
return (_ctx, _cache) => {
|
|
7702
7877
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
7703
7878
|
_ctx.id ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
7704
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7879
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
|
|
7705
7880
|
key: 0,
|
|
7706
7881
|
tag: "h4",
|
|
7707
7882
|
label: _ctx.label
|
|
@@ -7725,7 +7900,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
7725
7900
|
ref: form,
|
|
7726
7901
|
onSubmit: withModifiers(runSubmit, ["prevent"])
|
|
7727
7902
|
}, [
|
|
7728
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
7903
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
|
|
7729
7904
|
key: 0,
|
|
7730
7905
|
tag: "h4",
|
|
7731
7906
|
label: _ctx.label
|
|
@@ -16708,7 +16883,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16708
16883
|
onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
|
|
16709
16884
|
}, {
|
|
16710
16885
|
popper: withCtx(() => [
|
|
16711
|
-
createVNode(unref(_sfc_main$
|
|
16886
|
+
createVNode(unref(_sfc_main$F), {
|
|
16712
16887
|
class: "p-05",
|
|
16713
16888
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
16714
16889
|
}, {
|
|
@@ -16737,12 +16912,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16737
16912
|
onKeydown: withKeys(($event) => select2(option2), ["enter"])
|
|
16738
16913
|
}, [
|
|
16739
16914
|
_ctx.multiselect ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
|
|
16740
|
-
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16915
|
+
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
16741
16916
|
key: 0,
|
|
16742
16917
|
size: 1.1,
|
|
16743
16918
|
icon: "select_check_box"
|
|
16744
16919
|
})) : createCommentVNode("", true),
|
|
16745
|
-
!isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16920
|
+
!isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
16746
16921
|
key: 1,
|
|
16747
16922
|
class: "opacity-3",
|
|
16748
16923
|
icon: "check_box_outline_blank",
|
|
@@ -16769,7 +16944,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16769
16944
|
onKeydown: openOptions,
|
|
16770
16945
|
onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
|
|
16771
16946
|
}, [
|
|
16772
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16947
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
16773
16948
|
key: 0,
|
|
16774
16949
|
icon: _ctx.icon
|
|
16775
16950
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -16786,7 +16961,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16786
16961
|
})
|
|
16787
16962
|
})
|
|
16788
16963
|
])) : createCommentVNode("", true),
|
|
16789
|
-
!_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16964
|
+
!_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$S), mergeProps({
|
|
16790
16965
|
key: 3,
|
|
16791
16966
|
thin: ""
|
|
16792
16967
|
}, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
|
|
@@ -19390,7 +19565,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19390
19565
|
class: "flex table-row"
|
|
19391
19566
|
}, [
|
|
19392
19567
|
createElementVNode("div", _hoisted_5$b, [
|
|
19393
|
-
createVNode(unref(_sfc_main$
|
|
19568
|
+
createVNode(unref(_sfc_main$S), { icon: "more_vert" })
|
|
19394
19569
|
]),
|
|
19395
19570
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
19396
19571
|
return openBlock(), createElementBlock("div", {
|
|
@@ -19407,7 +19582,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19407
19582
|
], 2);
|
|
19408
19583
|
}), 128)),
|
|
19409
19584
|
createElementVNode("div", _hoisted_6$6, [
|
|
19410
|
-
createVNode(unref(_sfc_main$
|
|
19585
|
+
createVNode(unref(_sfc_main$S), {
|
|
19411
19586
|
icon: "delete",
|
|
19412
19587
|
onClick: ($event) => removeRow2(index2)
|
|
19413
19588
|
}, null, 8, ["onClick"])
|
|
@@ -19437,7 +19612,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19437
19612
|
};
|
|
19438
19613
|
}
|
|
19439
19614
|
});
|
|
19440
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
19615
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
|
|
19441
19616
|
const _hoisted_1$q = ["title"];
|
|
19442
19617
|
const _hoisted_2$j = ["for"];
|
|
19443
19618
|
const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -19564,12 +19739,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19564
19739
|
]),
|
|
19565
19740
|
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$a, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
|
|
19566
19741
|
], 8, _hoisted_2$j),
|
|
19567
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19742
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
19568
19743
|
key: 0,
|
|
19569
19744
|
class: "iconStart",
|
|
19570
19745
|
icon: _ctx.iconStart
|
|
19571
19746
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
19572
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19747
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
19573
19748
|
key: 1,
|
|
19574
19749
|
icon: _ctx.icon
|
|
19575
19750
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
@@ -19577,7 +19752,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
19577
19752
|
};
|
|
19578
19753
|
}
|
|
19579
19754
|
});
|
|
19580
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
19755
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
|
|
19581
19756
|
const _hoisted_1$p = { class: "primary-checkbox" };
|
|
19582
19757
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
19583
19758
|
__name: "Checkbox",
|
|
@@ -19601,7 +19776,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
19601
19776
|
};
|
|
19602
19777
|
}
|
|
19603
19778
|
});
|
|
19604
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
19779
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
19605
19780
|
const _hoisted_1$o = ["title"];
|
|
19606
19781
|
const _hoisted_2$i = ["id", "placeholder", "required"];
|
|
19607
19782
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
@@ -19800,7 +19975,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
19800
19975
|
};
|
|
19801
19976
|
}
|
|
19802
19977
|
});
|
|
19803
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
19978
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
|
|
19804
19979
|
const _hoisted_1$l = { class: "bagel-input" };
|
|
19805
19980
|
const _hoisted_2$f = {
|
|
19806
19981
|
key: 0,
|
|
@@ -20005,7 +20180,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20005
20180
|
alt: ""
|
|
20006
20181
|
}, null, 8, _hoisted_3$c)), [
|
|
20007
20182
|
[_directive_lightbox]
|
|
20008
|
-
]) : (openBlock(), createBlock(unref(_sfc_main$
|
|
20183
|
+
]) : (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
20009
20184
|
key: 1,
|
|
20010
20185
|
icon: "draft",
|
|
20011
20186
|
class: "multi-preview"
|
|
@@ -20033,7 +20208,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20033
20208
|
src: fileToUrl(fileQ.file),
|
|
20034
20209
|
alt: ""
|
|
20035
20210
|
}, null, 8, _hoisted_5$7)) : createCommentVNode("", true)
|
|
20036
|
-
], 64)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
20211
|
+
], 64)) : (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
20037
20212
|
key: 1,
|
|
20038
20213
|
icon: "draft",
|
|
20039
20214
|
class: "multi-preview"
|
|
@@ -20044,7 +20219,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20044
20219
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20045
20220
|
}, [
|
|
20046
20221
|
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
20047
|
-
createVNode(unref(_sfc_main$
|
|
20222
|
+
createVNode(unref(_sfc_main$S), {
|
|
20048
20223
|
class: "success",
|
|
20049
20224
|
icon: "check"
|
|
20050
20225
|
})
|
|
@@ -20065,7 +20240,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20065
20240
|
alt: ""
|
|
20066
20241
|
}, null, 8, _hoisted_9)), [
|
|
20067
20242
|
[_directive_lightbox]
|
|
20068
|
-
]) : (openBlock(), createBlock(unref(_sfc_main$
|
|
20243
|
+
]) : (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
20069
20244
|
key: 1,
|
|
20070
20245
|
size: 4,
|
|
20071
20246
|
weight: "2",
|
|
@@ -20084,7 +20259,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20084
20259
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20085
20260
|
}, [
|
|
20086
20261
|
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
20087
|
-
createVNode(unref(_sfc_main$
|
|
20262
|
+
createVNode(unref(_sfc_main$S), {
|
|
20088
20263
|
class: "success",
|
|
20089
20264
|
icon: "check"
|
|
20090
20265
|
})
|
|
@@ -20106,7 +20281,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20106
20281
|
browse
|
|
20107
20282
|
}, () => [
|
|
20108
20283
|
createElementVNode("p", _hoisted_12, [
|
|
20109
|
-
createVNode(unref(_sfc_main$
|
|
20284
|
+
createVNode(unref(_sfc_main$S), { icon: "upload_2" }),
|
|
20110
20285
|
createTextVNode(" Drop files here or click to upload ")
|
|
20111
20286
|
])
|
|
20112
20287
|
], true) : createCommentVNode("", true)
|
|
@@ -20115,8 +20290,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
20115
20290
|
};
|
|
20116
20291
|
}
|
|
20117
20292
|
});
|
|
20118
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
20119
|
-
const _withScopeId$1 = (n2) => (pushScopeId("data-v-
|
|
20293
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-298b3d5b"]]);
|
|
20294
|
+
const _withScopeId$1 = (n2) => (pushScopeId("data-v-0a2b089d"), n2 = n2(), popScopeId(), n2);
|
|
20120
20295
|
const _hoisted_1$k = ["title"];
|
|
20121
20296
|
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
|
|
20122
20297
|
const _hoisted_3$b = [
|
|
@@ -20170,7 +20345,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
20170
20345
|
};
|
|
20171
20346
|
}
|
|
20172
20347
|
});
|
|
20173
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
20348
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
|
|
20174
20349
|
function OrderedMap(content) {
|
|
20175
20350
|
this.content = content;
|
|
20176
20351
|
}
|
|
@@ -33505,7 +33680,11 @@ function createNodeFromContent(content, schema, options) {
|
|
|
33505
33680
|
if (isArrayContent) {
|
|
33506
33681
|
return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
|
|
33507
33682
|
}
|
|
33508
|
-
|
|
33683
|
+
const node = schema.nodeFromJSON(content);
|
|
33684
|
+
if (options.errorOnInvalidContent) {
|
|
33685
|
+
node.check();
|
|
33686
|
+
}
|
|
33687
|
+
return node;
|
|
33509
33688
|
} catch (error) {
|
|
33510
33689
|
if (options.errorOnInvalidContent) {
|
|
33511
33690
|
throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
|
|
@@ -46638,7 +46817,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
46638
46817
|
class: "flex gap-05",
|
|
46639
46818
|
onClick: _cache[0] || (_cache[0] = ($event) => isRef(open) ? open.value = true : open = true)
|
|
46640
46819
|
}, [
|
|
46641
|
-
createVNode(unref(_sfc_main$
|
|
46820
|
+
createVNode(unref(_sfc_main$S), {
|
|
46642
46821
|
icon: unref(open) ? "collapse_all" : "expand_all"
|
|
46643
46822
|
}, null, 8, ["icon"]),
|
|
46644
46823
|
computedDropDownOptions.value.showFlags && unref(activeCountryCode) ? (openBlock(), createBlock(unref(Flag), {
|
|
@@ -46684,7 +46863,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
46684
46863
|
});
|
|
46685
46864
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
|
|
46686
46865
|
/*!
|
|
46687
|
-
* Signature Pad v5.0.
|
|
46866
|
+
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
46688
46867
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
46689
46868
|
*/
|
|
46690
46869
|
class Point {
|
|
@@ -46724,7 +46903,7 @@ class Bezier {
|
|
|
46724
46903
|
const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
|
|
46725
46904
|
const dxm = m1.x - m2.x;
|
|
46726
46905
|
const dym = m1.y - m2.y;
|
|
46727
|
-
const k2 = l2 / (l1 + l2);
|
|
46906
|
+
const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
|
|
46728
46907
|
const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
|
|
46729
46908
|
const tx = s2.x - cm.x;
|
|
46730
46909
|
const ty = s2.y - cm.y;
|
|
@@ -47651,10 +47830,10 @@ function createTable() {
|
|
|
47651
47830
|
}
|
|
47652
47831
|
const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
|
|
47653
47832
|
const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
47654
|
-
const _hoisted_3$9 = { class: "content-area rounded p-1
|
|
47833
|
+
const _hoisted_3$9 = { class: "content-area rounded p-1 shadow-light w-100 grid" };
|
|
47655
47834
|
const _hoisted_4$5 = {
|
|
47656
47835
|
key: 0,
|
|
47657
|
-
class: "preview-area
|
|
47836
|
+
class: "preview-area w-100 rounded p-1"
|
|
47658
47837
|
};
|
|
47659
47838
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
47660
47839
|
__name: "index",
|
|
@@ -47815,7 +47994,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
47815
47994
|
};
|
|
47816
47995
|
}
|
|
47817
47996
|
});
|
|
47818
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
47997
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
|
|
47819
47998
|
const _hoisted_1$e = ["for"];
|
|
47820
47999
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47821
48000
|
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
@@ -47863,7 +48042,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
47863
48042
|
createElementVNode("div", _hoisted_3$8, [
|
|
47864
48043
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
47865
48044
|
key: 0,
|
|
47866
|
-
class: "bg-
|
|
48045
|
+
class: "bg-popup shadow-light py-025 rounded m_w40",
|
|
47867
48046
|
width: "60",
|
|
47868
48047
|
src: opt.imgSrc,
|
|
47869
48048
|
alt: opt.imgAlt
|
|
@@ -47888,7 +48067,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
47888
48067
|
};
|
|
47889
48068
|
}
|
|
47890
48069
|
});
|
|
47891
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
48070
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
|
|
47892
48071
|
const _hoisted_1$d = { class: "relative" };
|
|
47893
48072
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
47894
48073
|
__name: "PasswordInput",
|
|
@@ -47897,7 +48076,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
47897
48076
|
}, {
|
|
47898
48077
|
"modelValue": {},
|
|
47899
48078
|
"modelModifiers": {},
|
|
47900
|
-
"showPwd": { default: false },
|
|
48079
|
+
"showPwd": { type: Boolean, ...{ default: false } },
|
|
47901
48080
|
"showPwdModifiers": {}
|
|
47902
48081
|
}),
|
|
47903
48082
|
emits: ["update:modelValue", "update:showPwd"],
|
|
@@ -54067,7 +54246,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
54067
54246
|
}
|
|
54068
54247
|
});
|
|
54069
54248
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
|
|
54070
|
-
const _withScopeId = (n2) => (pushScopeId("data-v-
|
|
54249
|
+
const _withScopeId = (n2) => (pushScopeId("data-v-d15c030d"), n2 = n2(), popScopeId(), n2);
|
|
54071
54250
|
const _hoisted_1$5 = { class: "w-100 px-075" };
|
|
54072
54251
|
const _hoisted_2$1 = { key: 0 };
|
|
54073
54252
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
|
|
@@ -54090,7 +54269,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
54090
54269
|
}
|
|
54091
54270
|
return (_ctx, _cache) => {
|
|
54092
54271
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
54093
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
54272
|
+
return openBlock(), createBlock(unref(_sfc_main$F), {
|
|
54094
54273
|
class: normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: unref(isOpen) }])
|
|
54095
54274
|
}, {
|
|
54096
54275
|
default: withCtx(() => [
|
|
@@ -54113,7 +54292,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
54113
54292
|
class: "nav-button px-075"
|
|
54114
54293
|
}, {
|
|
54115
54294
|
default: withCtx(() => [
|
|
54116
|
-
createVNode(unref(_sfc_main$
|
|
54295
|
+
createVNode(unref(_sfc_main$S), {
|
|
54117
54296
|
icon: nav2.icon,
|
|
54118
54297
|
size: 1.4
|
|
54119
54298
|
}, null, 8, ["icon"]),
|
|
@@ -54141,7 +54320,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
54141
54320
|
};
|
|
54142
54321
|
}
|
|
54143
54322
|
});
|
|
54144
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
54323
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
|
|
54145
54324
|
const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
54146
54325
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
54147
54326
|
__name: "BottomMenu",
|
|
@@ -54150,7 +54329,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
54150
54329
|
},
|
|
54151
54330
|
setup(__props) {
|
|
54152
54331
|
return (_ctx, _cache) => {
|
|
54153
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
54332
|
+
return openBlock(), createBlock(unref(_sfc_main$F), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
54154
54333
|
default: withCtx(() => [
|
|
54155
54334
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
54156
54335
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.navLinks, (nav2, i2) => {
|
|
@@ -54161,7 +54340,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
54161
54340
|
onClick: nav2.onClick
|
|
54162
54341
|
}, {
|
|
54163
54342
|
default: withCtx(() => [
|
|
54164
|
-
createVNode(unref(_sfc_main$
|
|
54343
|
+
createVNode(unref(_sfc_main$S), {
|
|
54165
54344
|
icon: nav2.icon,
|
|
54166
54345
|
size: 1.4,
|
|
54167
54346
|
class: "m-0"
|
|
@@ -54177,7 +54356,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
54177
54356
|
};
|
|
54178
54357
|
}
|
|
54179
54358
|
});
|
|
54180
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
54359
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
|
|
54181
54360
|
const state = reactive(/* @__PURE__ */ new Map());
|
|
54182
54361
|
function useTabs(group) {
|
|
54183
54362
|
if (!state.has(group)) {
|
|
@@ -54314,7 +54493,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
54314
54493
|
class: normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
|
|
54315
54494
|
onClick: ($event) => selectTab(tab)
|
|
54316
54495
|
}, [
|
|
54317
|
-
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
54496
|
+
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
54318
54497
|
key: 0,
|
|
54319
54498
|
icon: tab.icon
|
|
54320
54499
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -54325,7 +54504,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
54325
54504
|
};
|
|
54326
54505
|
}
|
|
54327
54506
|
});
|
|
54328
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
54507
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
|
|
54329
54508
|
const _hoisted_1$1 = { key: 0 };
|
|
54330
54509
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
54331
54510
|
__name: "TabsBody",
|
|
@@ -54733,8 +54912,9 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
|
54733
54912
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
54734
54913
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
54735
54914
|
export {
|
|
54736
|
-
_sfc_main$
|
|
54915
|
+
_sfc_main$C as Accordion,
|
|
54737
54916
|
AccordionItem,
|
|
54917
|
+
_sfc_main$u as AddressSearch,
|
|
54738
54918
|
Alert,
|
|
54739
54919
|
Avatar,
|
|
54740
54920
|
Badge,
|
|
@@ -54746,7 +54926,7 @@ export {
|
|
|
54746
54926
|
BglVideo,
|
|
54747
54927
|
BottomMenu,
|
|
54748
54928
|
Btn,
|
|
54749
|
-
_sfc_main$
|
|
54929
|
+
_sfc_main$F as Card,
|
|
54750
54930
|
Carousel,
|
|
54751
54931
|
CheckInput,
|
|
54752
54932
|
Checkbox,
|
|
@@ -54759,20 +54939,20 @@ export {
|
|
|
54759
54939
|
Flag,
|
|
54760
54940
|
IMAGE_FORMATS,
|
|
54761
54941
|
IMAGE_FORMATS_REGEXP,
|
|
54762
|
-
_sfc_main$
|
|
54942
|
+
_sfc_main$S as Icon,
|
|
54763
54943
|
JSONInput,
|
|
54764
54944
|
Layout,
|
|
54765
54945
|
_sfc_main$7 as Lineart,
|
|
54766
|
-
_sfc_main$
|
|
54946
|
+
_sfc_main$L as ListItem,
|
|
54767
54947
|
ListView,
|
|
54768
|
-
_sfc_main$
|
|
54769
|
-
_sfc_main$
|
|
54770
|
-
_sfc_main$
|
|
54771
|
-
_sfc_main$
|
|
54948
|
+
_sfc_main$w as MapEmbed,
|
|
54949
|
+
_sfc_main$S as MaterialIcon,
|
|
54950
|
+
_sfc_main$P as Modal,
|
|
54951
|
+
_sfc_main$x as ModalConfirm,
|
|
54772
54952
|
ModalForm,
|
|
54773
54953
|
ModalPlugin,
|
|
54774
54954
|
NavBar,
|
|
54775
|
-
_sfc_main$
|
|
54955
|
+
_sfc_main$K as PageTitle,
|
|
54776
54956
|
_sfc_main$8 as PasswordInput,
|
|
54777
54957
|
RadioGroup,
|
|
54778
54958
|
RadioPillsInput,
|
|
@@ -54790,12 +54970,13 @@ export {
|
|
|
54790
54970
|
TabsNav,
|
|
54791
54971
|
TelInput,
|
|
54792
54972
|
TextInput,
|
|
54793
|
-
_sfc_main$
|
|
54973
|
+
_sfc_main$D as Title,
|
|
54794
54974
|
ToggleInput,
|
|
54795
54975
|
TopBar,
|
|
54796
54976
|
VIDEO_FORMATS,
|
|
54797
54977
|
VIDEO_FORMATS_REGEXP,
|
|
54798
54978
|
allCountries,
|
|
54979
|
+
appendScript,
|
|
54799
54980
|
bagelFormUtils,
|
|
54800
54981
|
bagelInjectionKey,
|
|
54801
54982
|
bindAttrs,
|
|
@@ -54810,6 +54991,7 @@ export {
|
|
|
54810
54991
|
initials,
|
|
54811
54992
|
isDate$1 as isDate,
|
|
54812
54993
|
keyToLabel,
|
|
54994
|
+
sleep,
|
|
54813
54995
|
useBagel,
|
|
54814
54996
|
useBglSchema,
|
|
54815
54997
|
useEscape,
|