@bagelink/vue 0.0.736 → 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/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/PasswordInput.vue.d.ts +18 -43
- 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/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/index.cjs +563 -338
- package/dist/index.mjs +563 -338
- package/dist/style.css +1157 -424
- 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 +3 -3
- package/src/components/form/inputs/PasswordInput.vue +25 -0
- 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/SelectInput.vue +11 -4
- 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/form/inputs/index.ts +1 -0
- 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 +24 -18
- 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/text.css +8 -0
- 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);
|
|
4191
4195
|
}
|
|
4192
4196
|
};
|
|
4193
|
-
const
|
|
4194
|
-
|
|
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();
|
|
4213
|
+
}
|
|
4214
|
+
};
|
|
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,24 +5179,24 @@ class Bagel {
|
|
|
5147
5179
|
return data2;
|
|
5148
5180
|
}
|
|
5149
5181
|
}
|
|
5150
|
-
const _hoisted_1$
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5182
|
+
const _hoisted_1$P = {
|
|
5183
|
+
key: 0,
|
|
5184
|
+
class: "navigation flex space-between px-3 w-100 absolute"
|
|
5185
|
+
};
|
|
5186
|
+
const _hoisted_2$C = { class: "bgl-lightbox-item" };
|
|
5187
|
+
const _hoisted_3$q = ["src"];
|
|
5188
|
+
const _hoisted_4$i = ["src", "title"];
|
|
5189
|
+
const _hoisted_5$g = {
|
|
5154
5190
|
key: 3,
|
|
5155
5191
|
class: "file-info txt-white"
|
|
5156
5192
|
};
|
|
5157
|
-
const
|
|
5158
|
-
const
|
|
5193
|
+
const _hoisted_6$b = ["href"];
|
|
5194
|
+
const _hoisted_7$6 = {
|
|
5159
5195
|
key: 0,
|
|
5160
|
-
class: "navigation flex space-between w-100 absolute"
|
|
5161
|
-
};
|
|
5162
|
-
const _hoisted_7$5 = {
|
|
5163
|
-
key: 1,
|
|
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);
|
|
@@ -5176,7 +5208,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
5176
5208
|
currentItem.value = item;
|
|
5177
5209
|
if (!groupItems.length) return;
|
|
5178
5210
|
group.value = groupItems;
|
|
5179
|
-
currentIndex.value = groupItems.
|
|
5211
|
+
currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
|
|
5180
5212
|
document.addEventListener("keydown", handleKeydown);
|
|
5181
5213
|
}
|
|
5182
5214
|
function close2() {
|
|
@@ -5233,8 +5265,20 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
5233
5265
|
],
|
|
5234
5266
|
onClick: close2
|
|
5235
5267
|
}, [
|
|
5268
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
|
|
5269
|
+
vue.createVNode(vue.unref(Btn), {
|
|
5270
|
+
class: "navigation-btn oval",
|
|
5271
|
+
icon: "arrow_back",
|
|
5272
|
+
onClick: prev
|
|
5273
|
+
}),
|
|
5274
|
+
vue.createVNode(vue.unref(Btn), {
|
|
5275
|
+
class: "navigation-btn oval",
|
|
5276
|
+
icon: "arrow_forward",
|
|
5277
|
+
onClick: next
|
|
5278
|
+
})
|
|
5279
|
+
])) : vue.createCommentVNode("", true),
|
|
5236
5280
|
vue.createElementVNode("div", {
|
|
5237
|
-
class: "bgl-lightbox relative
|
|
5281
|
+
class: "bgl-lightbox relative txt-center",
|
|
5238
5282
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
5239
5283
|
}, ["stop"]))
|
|
5240
5284
|
}, [
|
|
@@ -5244,56 +5288,47 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
5244
5288
|
icon: "close",
|
|
5245
5289
|
onClick: close2
|
|
5246
5290
|
}),
|
|
5247
|
-
vue.createElementVNode("div",
|
|
5291
|
+
vue.createElementVNode("div", _hoisted_2$C, [
|
|
5248
5292
|
((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5249
5293
|
key: 0,
|
|
5250
5294
|
src: (_b = vue.unref(currentItem)) == null ? void 0 : _b.src,
|
|
5251
|
-
alt: "Preview"
|
|
5252
|
-
|
|
5295
|
+
alt: "Preview",
|
|
5296
|
+
class: "vw90 lightbox-image"
|
|
5297
|
+
}, null, 8, _hoisted_3$q)) : ((_c = vue.unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
|
|
5253
5298
|
key: 1,
|
|
5254
5299
|
src: (_d = vue.unref(currentItem)) == null ? void 0 : _d.src,
|
|
5255
5300
|
autoplay: "",
|
|
5256
|
-
controls: ""
|
|
5301
|
+
controls: "",
|
|
5302
|
+
class: "vw90"
|
|
5257
5303
|
}, null, 8, ["src"])) : ((_e2 = vue.unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
|
|
5258
5304
|
key: 2,
|
|
5259
5305
|
src: normalizeURL((_f = vue.unref(currentItem)) == null ? void 0 : _f.src),
|
|
5260
5306
|
type: "application/pdf",
|
|
5261
5307
|
width: "100%",
|
|
5262
5308
|
height: "1080",
|
|
5263
|
-
title: (_g = vue.unref(currentItem)) == null ? void 0 : _g.name
|
|
5264
|
-
|
|
5309
|
+
title: (_g = vue.unref(currentItem)) == null ? void 0 : _g.name,
|
|
5310
|
+
class: "vw90"
|
|
5311
|
+
}, null, 8, _hoisted_4$i)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
|
|
5265
5312
|
vue.createElementVNode("p", null, "File: " + vue.toDisplayString((_h = vue.unref(currentItem)) == null ? void 0 : _h.name), 1),
|
|
5266
5313
|
vue.createElementVNode("p", null, "Type: " + vue.toDisplayString((_i = vue.unref(currentItem)) == null ? void 0 : _i.type), 1),
|
|
5267
5314
|
vue.createElementVNode("a", {
|
|
5268
5315
|
href: (_j = vue.unref(currentItem)) == null ? void 0 : _j.src,
|
|
5269
5316
|
target: "_blank"
|
|
5270
|
-
}, "Open file", 8,
|
|
5317
|
+
}, "Open file", 8, _hoisted_6$b)
|
|
5271
5318
|
]))
|
|
5272
5319
|
]),
|
|
5273
|
-
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div",
|
|
5274
|
-
vue.createVNode(vue.unref(Btn), {
|
|
5275
|
-
class: "navigation-btn oval user-select-none",
|
|
5276
|
-
icon: "arrow_back",
|
|
5277
|
-
onClick: prev
|
|
5278
|
-
}),
|
|
5279
|
-
vue.createVNode(vue.unref(Btn), {
|
|
5280
|
-
class: "navigation-btn oval user-select-none",
|
|
5281
|
-
icon: "arrow_forward",
|
|
5282
|
-
onClick: next
|
|
5283
|
-
})
|
|
5284
|
-
])) : vue.createCommentVNode("", true),
|
|
5285
|
-
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [
|
|
5320
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$6, [
|
|
5286
5321
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
|
|
5287
5322
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
5288
5323
|
item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5289
5324
|
key: 0,
|
|
5290
|
-
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 }]),
|
|
5291
5326
|
src: item.src,
|
|
5292
5327
|
alt: "",
|
|
5293
5328
|
onClick: ($event) => selectItem(index2)
|
|
5294
|
-
}, 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), {
|
|
5295
5330
|
key: 1,
|
|
5296
|
-
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 }]),
|
|
5297
5332
|
icon: "description",
|
|
5298
5333
|
onClick: ($event) => selectItem(index2)
|
|
5299
5334
|
}, null, 8, ["class", "onClick"]))
|
|
@@ -5316,7 +5351,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
5316
5351
|
}
|
|
5317
5352
|
return target;
|
|
5318
5353
|
};
|
|
5319
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5354
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
|
|
5320
5355
|
const groups = {};
|
|
5321
5356
|
const lightboxDirective = {
|
|
5322
5357
|
mounted(el, binding) {
|
|
@@ -5526,7 +5561,7 @@ function frmRow(...children2) {
|
|
|
5526
5561
|
function bglForm(idOrField, ...schema) {
|
|
5527
5562
|
if (typeof idOrField === "string") {
|
|
5528
5563
|
return {
|
|
5529
|
-
$el: vue.markRaw(_sfc_main$
|
|
5564
|
+
$el: vue.markRaw(_sfc_main$t),
|
|
5530
5565
|
id: idOrField,
|
|
5531
5566
|
attrs: {
|
|
5532
5567
|
schema: [idOrField, ...schema]
|
|
@@ -5534,7 +5569,7 @@ function bglForm(idOrField, ...schema) {
|
|
|
5534
5569
|
};
|
|
5535
5570
|
}
|
|
5536
5571
|
return {
|
|
5537
|
-
$el: vue.markRaw(_sfc_main$
|
|
5572
|
+
$el: vue.markRaw(_sfc_main$t),
|
|
5538
5573
|
attrs: {
|
|
5539
5574
|
schema: [idOrField, ...schema]
|
|
5540
5575
|
}
|
|
@@ -5665,6 +5700,22 @@ function getFallbackSchema(data2, showFields) {
|
|
|
5665
5700
|
);
|
|
5666
5701
|
return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
|
|
5667
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
|
+
}
|
|
5668
5719
|
const bagelInjectionKey = Symbol("bagel");
|
|
5669
5720
|
const i18nTInjectionKey = Symbol("bagel");
|
|
5670
5721
|
function useBagel() {
|
|
@@ -5755,9 +5806,9 @@ const ModalPlugin = {
|
|
|
5755
5806
|
return vue.h(ModalForm, props2, modal.componentSlots);
|
|
5756
5807
|
}
|
|
5757
5808
|
if (modal.modalType === "confirm") {
|
|
5758
|
-
return vue.h(_sfc_main$
|
|
5809
|
+
return vue.h(_sfc_main$x, props2, {});
|
|
5759
5810
|
}
|
|
5760
|
-
return vue.h(_sfc_main$
|
|
5811
|
+
return vue.h(_sfc_main$P, props2, modal.componentSlots);
|
|
5761
5812
|
});
|
|
5762
5813
|
}
|
|
5763
5814
|
});
|
|
@@ -5783,7 +5834,7 @@ function useLocalStorage(key, initialValue) {
|
|
|
5783
5834
|
}, { immediate: true, deep: true });
|
|
5784
5835
|
return value;
|
|
5785
5836
|
}
|
|
5786
|
-
const _sfc_main$
|
|
5837
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
5787
5838
|
__name: "MaterialIcon",
|
|
5788
5839
|
props: {
|
|
5789
5840
|
icon: {},
|
|
@@ -5801,13 +5852,13 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5801
5852
|
};
|
|
5802
5853
|
}
|
|
5803
5854
|
});
|
|
5804
|
-
const _hoisted_1$
|
|
5855
|
+
const _hoisted_1$O = { class: "full-nav" };
|
|
5805
5856
|
const _hoisted_2$B = { class: "nav-scroll" };
|
|
5806
5857
|
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
5807
5858
|
const _hoisted_4$h = { class: "tooltip" };
|
|
5808
5859
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5809
5860
|
const _hoisted_6$a = { class: "tooltip" };
|
|
5810
|
-
const _sfc_main$
|
|
5861
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
5811
5862
|
__name: "NavBar",
|
|
5812
5863
|
props: {
|
|
5813
5864
|
footerLinks: { default: () => [] },
|
|
@@ -5832,12 +5883,12 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5832
5883
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
|
|
5833
5884
|
onKeypress: _cache[1] || (_cache[1] = vue.withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
|
|
5834
5885
|
}, [
|
|
5835
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5886
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5836
5887
|
icon: "chevron_right",
|
|
5837
5888
|
class: "top-arrow"
|
|
5838
5889
|
})
|
|
5839
5890
|
], 32),
|
|
5840
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
5891
|
+
vue.createElementVNode("div", _hoisted_1$O, [
|
|
5841
5892
|
vue.createElementVNode("div", _hoisted_2$B, [
|
|
5842
5893
|
vue.createElementVNode("div", _hoisted_3$p, [
|
|
5843
5894
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
@@ -5851,7 +5902,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5851
5902
|
}
|
|
5852
5903
|
}, {
|
|
5853
5904
|
default: vue.withCtx(() => [
|
|
5854
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5905
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5855
5906
|
icon: link.icon
|
|
5856
5907
|
}, null, 8, ["icon"]),
|
|
5857
5908
|
vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(link.label), 1)
|
|
@@ -5873,7 +5924,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5873
5924
|
}
|
|
5874
5925
|
}, {
|
|
5875
5926
|
default: vue.withCtx(() => [
|
|
5876
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
5927
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
5877
5928
|
icon: link.icon
|
|
5878
5929
|
}, null, 8, ["icon"]),
|
|
5879
5930
|
vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
|
|
@@ -5888,8 +5939,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5888
5939
|
};
|
|
5889
5940
|
}
|
|
5890
5941
|
});
|
|
5891
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5892
|
-
const _hoisted_1$
|
|
5942
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
|
|
5943
|
+
const _hoisted_1$N = {
|
|
5893
5944
|
key: 0,
|
|
5894
5945
|
class: "loading"
|
|
5895
5946
|
};
|
|
@@ -5897,7 +5948,7 @@ const _hoisted_2$A = {
|
|
|
5897
5948
|
key: 1,
|
|
5898
5949
|
class: "bgl_btn-flex"
|
|
5899
5950
|
};
|
|
5900
|
-
const _sfc_main$
|
|
5951
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
5901
5952
|
__name: "Btn",
|
|
5902
5953
|
props: {
|
|
5903
5954
|
disabled: { type: Boolean, default: false },
|
|
@@ -5921,8 +5972,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
5921
5972
|
},
|
|
5922
5973
|
setup(__props) {
|
|
5923
5974
|
vue.useCssVars((_ctx) => ({
|
|
5924
|
-
"
|
|
5925
|
-
"
|
|
5975
|
+
"616bd948": computedBackgroundColor.value,
|
|
5976
|
+
"796e2f37": cumputedTextColor.value
|
|
5926
5977
|
}));
|
|
5927
5978
|
const props2 = __props;
|
|
5928
5979
|
const isComponent = vue.computed(() => {
|
|
@@ -5940,7 +5991,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
5940
5991
|
const computedDefaultColors = vue.computed(
|
|
5941
5992
|
() => ({
|
|
5942
5993
|
backgroundColor: "var(--bgl-primary)",
|
|
5943
|
-
color: props2.flat ? "var(--bgl-
|
|
5994
|
+
color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
|
|
5944
5995
|
})
|
|
5945
5996
|
);
|
|
5946
5997
|
function getThemeColors(theme) {
|
|
@@ -5991,8 +6042,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
5991
6042
|
onClick: vue.withModifiers(_ctx.onClick, ["stop"])
|
|
5992
6043
|
}, {
|
|
5993
6044
|
default: vue.withCtx(() => [
|
|
5994
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
5995
|
-
_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), {
|
|
5996
6047
|
key: 0,
|
|
5997
6048
|
icon: _ctx.icon
|
|
5998
6049
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -6000,7 +6051,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6000
6051
|
!vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
6001
6052
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
6002
6053
|
], 64)) : vue.createCommentVNode("", true),
|
|
6003
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6054
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
6004
6055
|
key: 2,
|
|
6005
6056
|
icon: props2["icon.end"]
|
|
6006
6057
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
@@ -6011,20 +6062,20 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
6011
6062
|
};
|
|
6012
6063
|
}
|
|
6013
6064
|
});
|
|
6014
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6015
|
-
const _hoisted_1$
|
|
6065
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
|
|
6066
|
+
const _hoisted_1$M = {
|
|
6016
6067
|
key: 0,
|
|
6017
6068
|
class: "tool-bar"
|
|
6018
6069
|
};
|
|
6019
6070
|
const _hoisted_2$z = {
|
|
6020
6071
|
key: 1,
|
|
6021
|
-
class: "sticky bg-
|
|
6072
|
+
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
6022
6073
|
};
|
|
6023
6074
|
const _hoisted_3$o = {
|
|
6024
6075
|
key: 2,
|
|
6025
6076
|
class: "modal-footer mt-1"
|
|
6026
6077
|
};
|
|
6027
|
-
const _sfc_main$
|
|
6078
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
6028
6079
|
__name: "Modal",
|
|
6029
6080
|
props: {
|
|
6030
6081
|
side: { type: Boolean },
|
|
@@ -6080,7 +6131,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6080
6131
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
6081
6132
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
6082
6133
|
}, [
|
|
6083
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6134
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
6084
6135
|
class: "modal",
|
|
6085
6136
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
6086
6137
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -6089,7 +6140,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6089
6140
|
default: vue.withCtx(() => {
|
|
6090
6141
|
var _a2;
|
|
6091
6142
|
return [
|
|
6092
|
-
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, [
|
|
6093
6144
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
6094
6145
|
vue.createVNode(vue.unref(Btn), {
|
|
6095
6146
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -6097,7 +6148,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6097
6148
|
icon: "close",
|
|
6098
6149
|
onClick: closeModal
|
|
6099
6150
|
}, null, 8, ["style"]),
|
|
6100
|
-
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6151
|
+
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
6101
6152
|
key: 0,
|
|
6102
6153
|
class: "modal-title",
|
|
6103
6154
|
tag: "h3",
|
|
@@ -6105,7 +6156,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6105
6156
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
6106
6157
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
6107
6158
|
vue.createVNode(vue.unref(Btn), {
|
|
6108
|
-
class: "
|
|
6159
|
+
class: "position-start",
|
|
6109
6160
|
icon: "close",
|
|
6110
6161
|
thin: "",
|
|
6111
6162
|
color: "white",
|
|
@@ -6131,7 +6182,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6131
6182
|
};
|
|
6132
6183
|
}
|
|
6133
6184
|
});
|
|
6134
|
-
const _sfc_main$
|
|
6185
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
6135
6186
|
__name: "ModalForm",
|
|
6136
6187
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6137
6188
|
side: { type: Boolean },
|
|
@@ -6192,7 +6243,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6192
6243
|
}
|
|
6193
6244
|
__expose({ setFormValues });
|
|
6194
6245
|
return (_ctx, _cache) => {
|
|
6195
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6246
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
6196
6247
|
ref_key: "modal",
|
|
6197
6248
|
ref: modal,
|
|
6198
6249
|
side: _ctx.side,
|
|
@@ -6203,7 +6254,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6203
6254
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
6204
6255
|
}, vue.createSlots({
|
|
6205
6256
|
default: vue.withCtx(() => [
|
|
6206
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6257
|
+
vue.createVNode(vue.unref(_sfc_main$t), {
|
|
6207
6258
|
ref_key: "form",
|
|
6208
6259
|
ref: form,
|
|
6209
6260
|
modelValue: formData.value,
|
|
@@ -6245,12 +6296,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6245
6296
|
};
|
|
6246
6297
|
}
|
|
6247
6298
|
});
|
|
6248
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6249
|
-
const _hoisted_1$
|
|
6299
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
|
|
6300
|
+
const _hoisted_1$L = { class: "accordion-item" };
|
|
6250
6301
|
const _hoisted_2$y = ["aria-expanded", "aria-controls"];
|
|
6251
6302
|
const _hoisted_3$n = { class: "accordion-label" };
|
|
6252
6303
|
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
6253
|
-
const _sfc_main$
|
|
6304
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
6254
6305
|
__name: "AccordionItem",
|
|
6255
6306
|
props: {
|
|
6256
6307
|
label: {},
|
|
@@ -6287,7 +6338,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
6287
6338
|
else if (accordionState.openItem === id) accordionState.openItem = null;
|
|
6288
6339
|
}
|
|
6289
6340
|
return (_ctx, _cache) => {
|
|
6290
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6341
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
6291
6342
|
vue.createElementVNode("button", {
|
|
6292
6343
|
"aria-expanded": vue.unref(isOpen) ? "true" : "false",
|
|
6293
6344
|
class: "accordion-head",
|
|
@@ -6300,7 +6351,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
6300
6351
|
vue.createElementVNode("div", {
|
|
6301
6352
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
|
|
6302
6353
|
}, [
|
|
6303
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6354
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "expand_more" })
|
|
6304
6355
|
], 2)
|
|
6305
6356
|
], 8, _hoisted_2$y),
|
|
6306
6357
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
@@ -6320,13 +6371,13 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
6320
6371
|
};
|
|
6321
6372
|
}
|
|
6322
6373
|
});
|
|
6323
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6324
|
-
const _sfc_main$
|
|
6325
|
-
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" };
|
|
6326
6377
|
const _hoisted_2$x = { class: "p-1" };
|
|
6327
6378
|
const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
6328
6379
|
function _sfc_render$2(_ctx, _cache) {
|
|
6329
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6380
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
|
|
6330
6381
|
vue.createElementVNode("div", _hoisted_2$x, [
|
|
6331
6382
|
vue.renderSlot(_ctx.$slots, "header")
|
|
6332
6383
|
]),
|
|
@@ -6335,10 +6386,10 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
6335
6386
|
])
|
|
6336
6387
|
]);
|
|
6337
6388
|
}
|
|
6338
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6339
|
-
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" };
|
|
6340
6391
|
const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
6341
|
-
const _sfc_main$
|
|
6392
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
6342
6393
|
__name: "ListItem",
|
|
6343
6394
|
props: {
|
|
6344
6395
|
src: {},
|
|
@@ -6365,14 +6416,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
6365
6416
|
src: _ctx.src,
|
|
6366
6417
|
size: 40
|
|
6367
6418
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
6368
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
6419
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
6369
6420
|
key: 1,
|
|
6370
6421
|
size: "1.2",
|
|
6371
6422
|
class: "color-primary",
|
|
6372
6423
|
icon: _ctx.icon
|
|
6373
6424
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
6374
6425
|
vue.createElementVNode("div", null, [
|
|
6375
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
6426
|
+
vue.createElementVNode("p", _hoisted_1$J, [
|
|
6376
6427
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
6377
6428
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6378
6429
|
]),
|
|
@@ -6387,9 +6438,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
6387
6438
|
};
|
|
6388
6439
|
}
|
|
6389
6440
|
});
|
|
6390
|
-
const _hoisted_1$
|
|
6441
|
+
const _hoisted_1$I = { class: "page-top" };
|
|
6391
6442
|
const _hoisted_2$v = { class: "top-title m-0" };
|
|
6392
|
-
const _sfc_main$
|
|
6443
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
6393
6444
|
__name: "PageTitle",
|
|
6394
6445
|
props: {
|
|
6395
6446
|
value: {
|
|
@@ -6399,7 +6450,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
6399
6450
|
},
|
|
6400
6451
|
setup(__props) {
|
|
6401
6452
|
return (_ctx, _cache) => {
|
|
6402
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
6453
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
6403
6454
|
vue.createElementVNode("h1", _hoisted_2$v, [
|
|
6404
6455
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
6405
6456
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
@@ -6722,8 +6773,8 @@ function useVerticalVirtualList(options, list) {
|
|
|
6722
6773
|
containerRef
|
|
6723
6774
|
};
|
|
6724
6775
|
}
|
|
6725
|
-
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-
|
|
6726
|
-
const _hoisted_1$
|
|
6776
|
+
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-bd90dc89"), n2 = n2(), vue.popScopeId(), n2);
|
|
6777
|
+
const _hoisted_1$H = {
|
|
6727
6778
|
key: 0,
|
|
6728
6779
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
6729
6780
|
};
|
|
@@ -6734,13 +6785,13 @@ const _hoisted_3$l = [
|
|
|
6734
6785
|
const _hoisted_4$f = { class: "infinite-wrapper" };
|
|
6735
6786
|
const _hoisted_5$e = { class: "row first-row" };
|
|
6736
6787
|
const _hoisted_6$9 = { key: 0 };
|
|
6737
|
-
const _hoisted_7$
|
|
6788
|
+
const _hoisted_7$5 = ["onClick"];
|
|
6738
6789
|
const _hoisted_8$2 = { class: "flex" };
|
|
6739
6790
|
const _hoisted_9$2 = ["onClick"];
|
|
6740
6791
|
const _hoisted_10$1 = { key: 0 };
|
|
6741
6792
|
const _hoisted_11$1 = ["value"];
|
|
6742
6793
|
const _hoisted_12$1 = { key: 1 };
|
|
6743
|
-
const _sfc_main$
|
|
6794
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
6744
6795
|
__name: "TableSchema",
|
|
6745
6796
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6746
6797
|
selectedItems: {},
|
|
@@ -6756,7 +6807,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6756
6807
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6757
6808
|
setup(__props, { emit: __emit }) {
|
|
6758
6809
|
vue.useCssVars((_ctx) => ({
|
|
6759
|
-
"
|
|
6810
|
+
"38e39900": vue.unref(computedItemHiehgt)
|
|
6760
6811
|
}));
|
|
6761
6812
|
const props2 = __props;
|
|
6762
6813
|
const emit2 = __emit;
|
|
@@ -6877,7 +6928,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6877
6928
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
6878
6929
|
class: { "loading-table": loading.value }
|
|
6879
6930
|
}), [
|
|
6880
|
-
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))), [
|
|
6881
6932
|
vue.createElementVNode("table", _hoisted_4$f, [
|
|
6882
6933
|
vue.createElementVNode("thead", _hoisted_5$e, [
|
|
6883
6934
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$9, [
|
|
@@ -6901,13 +6952,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6901
6952
|
vue.createElementVNode("div", {
|
|
6902
6953
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
|
|
6903
6954
|
}, [
|
|
6904
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6955
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
6905
6956
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
6906
6957
|
icon: "keyboard_arrow_up"
|
|
6907
6958
|
}, null, 8, ["class"])
|
|
6908
6959
|
], 2)
|
|
6909
6960
|
])
|
|
6910
|
-
], 8, _hoisted_7$
|
|
6961
|
+
], 8, _hoisted_7$5);
|
|
6911
6962
|
}), 128))
|
|
6912
6963
|
]),
|
|
6913
6964
|
vue.createElementVNode("tbody", null, [
|
|
@@ -6941,7 +6992,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6941
6992
|
row,
|
|
6942
6993
|
field
|
|
6943
6994
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
|
|
6944
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
6995
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
6945
6996
|
class: "embedded-field",
|
|
6946
6997
|
field,
|
|
6947
6998
|
modelValue: row,
|
|
@@ -6959,16 +7010,16 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6959
7010
|
};
|
|
6960
7011
|
}
|
|
6961
7012
|
});
|
|
6962
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6963
|
-
const _sfc_main$
|
|
6964
|
-
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" };
|
|
6965
7016
|
function _sfc_render$1(_ctx, _cache) {
|
|
6966
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7017
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
6967
7018
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6968
7019
|
]);
|
|
6969
7020
|
}
|
|
6970
|
-
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6971
|
-
const _sfc_main$
|
|
7021
|
+
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
|
|
7022
|
+
const _sfc_main$H = {};
|
|
6972
7023
|
function _sfc_render(_ctx, _cache) {
|
|
6973
7024
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
6974
7025
|
return vue.openBlock(), vue.createBlock(_component_router_view, null, {
|
|
@@ -6990,8 +7041,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
6990
7041
|
_: 1
|
|
6991
7042
|
});
|
|
6992
7043
|
}
|
|
6993
|
-
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6994
|
-
const _hoisted_1$
|
|
7044
|
+
const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
|
|
7045
|
+
const _hoisted_1$F = {
|
|
6995
7046
|
key: 0,
|
|
6996
7047
|
class: "data"
|
|
6997
7048
|
};
|
|
@@ -7006,13 +7057,13 @@ const _hoisted_6$8 = {
|
|
|
7006
7057
|
key: 0,
|
|
7007
7058
|
class: "data-row"
|
|
7008
7059
|
};
|
|
7009
|
-
const _hoisted_7$
|
|
7060
|
+
const _hoisted_7$4 = { class: "key" };
|
|
7010
7061
|
const _hoisted_8$1 = { class: "m-0" };
|
|
7011
7062
|
const _hoisted_9$1 = {
|
|
7012
7063
|
key: 0,
|
|
7013
7064
|
class: "m-0"
|
|
7014
7065
|
};
|
|
7015
|
-
const _sfc_main$
|
|
7066
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
7016
7067
|
__name: "DataPreview",
|
|
7017
7068
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7018
7069
|
showFields: {},
|
|
@@ -7048,8 +7099,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7048
7099
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7049
7100
|
return (_ctx, _cache) => {
|
|
7050
7101
|
var _a2;
|
|
7051
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7052
|
-
_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), {
|
|
7053
7104
|
key: 0,
|
|
7054
7105
|
label: _ctx.title
|
|
7055
7106
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -7061,7 +7112,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7061
7112
|
vue.createElementVNode("div", _hoisted_3$k, [
|
|
7062
7113
|
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
7063
7114
|
]),
|
|
7064
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
7115
|
+
vue.createVNode(vue.unref(_sfc_main$s), {
|
|
7065
7116
|
modelValue: itemData.value,
|
|
7066
7117
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
7067
7118
|
label: "",
|
|
@@ -7075,7 +7126,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7075
7126
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
|
|
7076
7127
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
|
|
7077
7128
|
!isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
|
|
7078
|
-
vue.createElementVNode("div", _hoisted_7$
|
|
7129
|
+
vue.createElementVNode("div", _hoisted_7$4, [
|
|
7079
7130
|
vue.createElementVNode("p", _hoisted_8$1, vue.toDisplayString(label), 1)
|
|
7080
7131
|
]),
|
|
7081
7132
|
vue.createElementVNode("div", null, [
|
|
@@ -7090,12 +7141,12 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7090
7141
|
};
|
|
7091
7142
|
}
|
|
7092
7143
|
});
|
|
7093
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7094
|
-
const _hoisted_1$
|
|
7144
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
|
|
7145
|
+
const _hoisted_1$E = {
|
|
7095
7146
|
key: 0,
|
|
7096
7147
|
class: "card_label"
|
|
7097
7148
|
};
|
|
7098
|
-
const _sfc_main$
|
|
7149
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
7099
7150
|
__name: "Card",
|
|
7100
7151
|
props: {
|
|
7101
7152
|
label: {},
|
|
@@ -7123,7 +7174,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
7123
7174
|
}])
|
|
7124
7175
|
}, {
|
|
7125
7176
|
default: vue.withCtx(() => [
|
|
7126
|
-
_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),
|
|
7127
7178
|
vue.renderSlot(_ctx.$slots, "default")
|
|
7128
7179
|
]),
|
|
7129
7180
|
_: 3
|
|
@@ -7131,8 +7182,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
7131
7182
|
};
|
|
7132
7183
|
}
|
|
7133
7184
|
});
|
|
7134
|
-
const _hoisted_1$
|
|
7135
|
-
const _sfc_main$
|
|
7185
|
+
const _hoisted_1$D = ["src", "alt"];
|
|
7186
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
7136
7187
|
__name: "Avatar",
|
|
7137
7188
|
props: {
|
|
7138
7189
|
fallback: {},
|
|
@@ -7150,7 +7201,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
7150
7201
|
key: 0,
|
|
7151
7202
|
src: _ctx.src,
|
|
7152
7203
|
alt: _ctx.name
|
|
7153
|
-
}, null, 8, _hoisted_1$
|
|
7204
|
+
}, null, 8, _hoisted_1$D)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
7154
7205
|
key: 1,
|
|
7155
7206
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
7156
7207
|
}, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
|
|
@@ -7158,8 +7209,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
7158
7209
|
};
|
|
7159
7210
|
}
|
|
7160
7211
|
});
|
|
7161
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7162
|
-
const _sfc_main$
|
|
7212
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dd2f6734"]]);
|
|
7213
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
7163
7214
|
__name: "Title",
|
|
7164
7215
|
props: {
|
|
7165
7216
|
value: {
|
|
@@ -7187,7 +7238,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
7187
7238
|
};
|
|
7188
7239
|
}
|
|
7189
7240
|
});
|
|
7190
|
-
const _sfc_main$
|
|
7241
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
7191
7242
|
__name: "Accordion",
|
|
7192
7243
|
setup(__props) {
|
|
7193
7244
|
const state2 = vue.reactive({
|
|
@@ -7201,9 +7252,9 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
7201
7252
|
};
|
|
7202
7253
|
}
|
|
7203
7254
|
});
|
|
7204
|
-
const _hoisted_1$
|
|
7255
|
+
const _hoisted_1$C = ["dismissable"];
|
|
7205
7256
|
const _hoisted_2$s = { class: "m-0" };
|
|
7206
|
-
const _sfc_main$
|
|
7257
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
7207
7258
|
__name: "Alert",
|
|
7208
7259
|
props: {
|
|
7209
7260
|
message: {},
|
|
@@ -7224,7 +7275,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7224
7275
|
class: vue.normalizeClass(["alert", [_ctx.type]]),
|
|
7225
7276
|
dismissable: _ctx.dismissable
|
|
7226
7277
|
}, [
|
|
7227
|
-
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7278
|
+
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7228
7279
|
key: 0,
|
|
7229
7280
|
class: "alert_icon",
|
|
7230
7281
|
icon: _ctx.icon || _ctx.type,
|
|
@@ -7239,12 +7290,12 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7239
7290
|
icon: "close",
|
|
7240
7291
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
7241
7292
|
})
|
|
7242
|
-
], 10, _hoisted_1$
|
|
7293
|
+
], 10, _hoisted_1$C)) : vue.createCommentVNode("", true);
|
|
7243
7294
|
};
|
|
7244
7295
|
}
|
|
7245
7296
|
});
|
|
7246
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7247
|
-
const _sfc_main$
|
|
7297
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
|
|
7298
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
7248
7299
|
__name: "Badge",
|
|
7249
7300
|
props: {
|
|
7250
7301
|
color: {},
|
|
@@ -7260,13 +7311,13 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7260
7311
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7261
7312
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
7262
7313
|
}, [
|
|
7263
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7314
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7264
7315
|
key: 0,
|
|
7265
7316
|
class: "inline",
|
|
7266
7317
|
icon: _ctx.icon
|
|
7267
7318
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
7268
7319
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
7269
|
-
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7320
|
+
props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
7270
7321
|
key: 1,
|
|
7271
7322
|
class: "inline",
|
|
7272
7323
|
icon: props2["icon.end"]
|
|
@@ -7275,10 +7326,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7275
7326
|
};
|
|
7276
7327
|
}
|
|
7277
7328
|
});
|
|
7278
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7279
|
-
const _hoisted_1$
|
|
7329
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
|
|
7330
|
+
const _hoisted_1$B = ["src"];
|
|
7280
7331
|
const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
|
|
7281
|
-
const _sfc_main$
|
|
7332
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
7282
7333
|
__name: "BglVideo",
|
|
7283
7334
|
props: {
|
|
7284
7335
|
src: {},
|
|
@@ -7333,7 +7384,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7333
7384
|
allowfullscreen: "",
|
|
7334
7385
|
title: "Video",
|
|
7335
7386
|
allow: "autoplay"
|
|
7336
|
-
}, null, 12, _hoisted_1$
|
|
7387
|
+
}, null, 12, _hoisted_1$B)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
7337
7388
|
key: 1,
|
|
7338
7389
|
src: _ctx.src,
|
|
7339
7390
|
autoplay: _ctx.autoplay,
|
|
@@ -7347,13 +7398,13 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7347
7398
|
};
|
|
7348
7399
|
}
|
|
7349
7400
|
});
|
|
7350
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7351
|
-
const _hoisted_1$
|
|
7401
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
|
|
7402
|
+
const _hoisted_1$A = {
|
|
7352
7403
|
key: 0,
|
|
7353
7404
|
class: "blocker"
|
|
7354
7405
|
};
|
|
7355
7406
|
const _hoisted_2$q = { class: "Handlers" };
|
|
7356
|
-
const _sfc_main$
|
|
7407
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
7357
7408
|
__name: "Carousel",
|
|
7358
7409
|
props: {
|
|
7359
7410
|
autoHeight: {
|
|
@@ -7501,7 +7552,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
7501
7552
|
onScrollend: scrollEnd,
|
|
7502
7553
|
onMousedown: startDragging
|
|
7503
7554
|
}, [
|
|
7504
|
-
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),
|
|
7505
7556
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
7506
7557
|
], 34),
|
|
7507
7558
|
vue.createElementVNode("div", _hoisted_2$q, [
|
|
@@ -7522,10 +7573,10 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
7522
7573
|
};
|
|
7523
7574
|
}
|
|
7524
7575
|
});
|
|
7525
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7526
|
-
const _hoisted_1$
|
|
7576
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
|
|
7577
|
+
const _hoisted_1$z = { class: "m-0" };
|
|
7527
7578
|
const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
|
|
7528
|
-
const _sfc_main$
|
|
7579
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
7529
7580
|
__name: "ModalConfirm",
|
|
7530
7581
|
props: {
|
|
7531
7582
|
title: {},
|
|
@@ -7541,10 +7592,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
7541
7592
|
emit2("update:visible");
|
|
7542
7593
|
}
|
|
7543
7594
|
return (_ctx, _cache) => {
|
|
7544
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7595
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
|
|
7545
7596
|
width: "380px",
|
|
7546
7597
|
dismissable: false,
|
|
7547
|
-
class: "
|
|
7598
|
+
class: "txt-center"
|
|
7548
7599
|
}, {
|
|
7549
7600
|
footer: vue.withCtx(() => [
|
|
7550
7601
|
vue.createVNode(vue.unref(Btn), {
|
|
@@ -7560,7 +7611,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
7560
7611
|
})
|
|
7561
7612
|
]),
|
|
7562
7613
|
default: vue.withCtx(() => [
|
|
7563
|
-
vue.createElementVNode("h3", _hoisted_1$
|
|
7614
|
+
vue.createElementVNode("h3", _hoisted_1$z, vue.toDisplayString(_ctx.title), 1),
|
|
7564
7615
|
vue.createElementVNode("p", _hoisted_2$p, vue.toDisplayString(_ctx.message), 1)
|
|
7565
7616
|
]),
|
|
7566
7617
|
_: 1
|
|
@@ -7568,16 +7619,83 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
7568
7619
|
};
|
|
7569
7620
|
}
|
|
7570
7621
|
});
|
|
7571
|
-
const _hoisted_1$
|
|
7572
|
-
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({
|
|
7573
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
|
+
},
|
|
7574
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);
|
|
7575
7689
|
return (_ctx, _cache) => {
|
|
7576
|
-
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);
|
|
7577
7695
|
};
|
|
7578
7696
|
}
|
|
7579
7697
|
});
|
|
7580
|
-
const _sfc_main$
|
|
7698
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
7581
7699
|
__name: "Flag",
|
|
7582
7700
|
props: {
|
|
7583
7701
|
country: {},
|
|
@@ -7607,8 +7725,68 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
7607
7725
|
};
|
|
7608
7726
|
}
|
|
7609
7727
|
});
|
|
7610
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7611
|
-
const
|
|
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
|
+
});
|
|
7789
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
7612
7790
|
__name: "BglForm",
|
|
7613
7791
|
props: {
|
|
7614
7792
|
label: {},
|
|
@@ -7700,13 +7878,13 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
7700
7878
|
return (_ctx, _cache) => {
|
|
7701
7879
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
7702
7880
|
_ctx.id ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
7703
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7881
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
7704
7882
|
key: 0,
|
|
7705
7883
|
tag: "h4",
|
|
7706
7884
|
label: _ctx.label
|
|
7707
7885
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
7708
7886
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
7709
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7887
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
7710
7888
|
key: field.id || `${i2}p`,
|
|
7711
7889
|
modelValue: vue.unref(data2),
|
|
7712
7890
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -7724,13 +7902,13 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
7724
7902
|
ref: form,
|
|
7725
7903
|
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
7726
7904
|
}, [
|
|
7727
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7905
|
+
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
|
|
7728
7906
|
key: 0,
|
|
7729
7907
|
tag: "h4",
|
|
7730
7908
|
label: _ctx.label
|
|
7731
7909
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
7732
7910
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
7733
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
7911
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
7734
7912
|
key: field.id || `${i2}p`,
|
|
7735
7913
|
modelValue: vue.unref(data2),
|
|
7736
7914
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -7749,7 +7927,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
7749
7927
|
};
|
|
7750
7928
|
}
|
|
7751
7929
|
});
|
|
7752
|
-
const _sfc_main$
|
|
7930
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
7753
7931
|
__name: "BglField",
|
|
7754
7932
|
props: {
|
|
7755
7933
|
field: {},
|
|
@@ -7764,8 +7942,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
7764
7942
|
if (props2.field.$el === "select") return SelectInput;
|
|
7765
7943
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
7766
7944
|
if (props2.field.$el === "check") return CheckInput;
|
|
7767
|
-
if (props2.field.$el === "richtext") return _sfc_main$
|
|
7768
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
7945
|
+
if (props2.field.$el === "richtext") return _sfc_main$e;
|
|
7946
|
+
if (props2.field.$el === "date") return _sfc_main$p;
|
|
7769
7947
|
return props2.field.$el ?? "div";
|
|
7770
7948
|
});
|
|
7771
7949
|
const formData = vue.computed({
|
|
@@ -7849,8 +8027,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
7849
8027
|
};
|
|
7850
8028
|
}
|
|
7851
8029
|
});
|
|
7852
|
-
const _hoisted_1$
|
|
7853
|
-
const _sfc_main$
|
|
8030
|
+
const _hoisted_1$w = { key: 0 };
|
|
8031
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
7854
8032
|
__name: "BglMultiStepForm",
|
|
7855
8033
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7856
8034
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -7917,8 +8095,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7917
8095
|
mode: "out-in"
|
|
7918
8096
|
}, {
|
|
7919
8097
|
default: vue.withCtx(() => [
|
|
7920
|
-
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7921
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
8098
|
+
!vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
8099
|
+
vue.createVNode(vue.unref(_sfc_main$t), vue.mergeProps({
|
|
7922
8100
|
ref_key: "formRef",
|
|
7923
8101
|
ref: formRef,
|
|
7924
8102
|
modelValue: formData.value,
|
|
@@ -7957,10 +8135,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7957
8135
|
};
|
|
7958
8136
|
}
|
|
7959
8137
|
});
|
|
7960
|
-
const _hoisted_1$
|
|
8138
|
+
const _hoisted_1$v = ["title"];
|
|
7961
8139
|
const _hoisted_2$o = ["id", "required"];
|
|
7962
8140
|
const _hoisted_3$j = ["for"];
|
|
7963
|
-
const _sfc_main$
|
|
8141
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
7964
8142
|
__name: "CheckInput",
|
|
7965
8143
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7966
8144
|
label: {},
|
|
@@ -8000,11 +8178,11 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
8000
8178
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
8001
8179
|
], true)
|
|
8002
8180
|
], 8, _hoisted_3$j)
|
|
8003
|
-
], 10, _hoisted_1$
|
|
8181
|
+
], 10, _hoisted_1$v);
|
|
8004
8182
|
};
|
|
8005
8183
|
}
|
|
8006
8184
|
});
|
|
8007
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8185
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c0868d55"]]);
|
|
8008
8186
|
function toDate(argument) {
|
|
8009
8187
|
const argStr = Object.prototype.toString.call(argument);
|
|
8010
8188
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -16444,9 +16622,9 @@ const eo = ({
|
|
|
16444
16622
|
Object.entries(go).forEach(([e, t]) => {
|
|
16445
16623
|
e !== "default" && (Hn[e] = t);
|
|
16446
16624
|
});
|
|
16447
|
-
const _hoisted_1$
|
|
16625
|
+
const _hoisted_1$u = ["title"];
|
|
16448
16626
|
const _hoisted_2$n = { key: 0 };
|
|
16449
|
-
const _sfc_main$
|
|
16627
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
16450
16628
|
__name: "DateInput",
|
|
16451
16629
|
props: {
|
|
16452
16630
|
required: { type: Boolean },
|
|
@@ -16504,14 +16682,14 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
16504
16682
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
16505
16683
|
"start-time": { hours: 8, minutes: 0 }
|
|
16506
16684
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
16507
|
-
], 10, _hoisted_1$
|
|
16685
|
+
], 10, _hoisted_1$u);
|
|
16508
16686
|
};
|
|
16509
16687
|
}
|
|
16510
16688
|
});
|
|
16511
|
-
const _hoisted_1$
|
|
16689
|
+
const _hoisted_1$t = ["title"];
|
|
16512
16690
|
const _hoisted_2$m = { key: 0 };
|
|
16513
16691
|
const _hoisted_3$i = ["value", "placeholder"];
|
|
16514
|
-
const _sfc_main$
|
|
16692
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
16515
16693
|
__name: "JSONInput",
|
|
16516
16694
|
props: {
|
|
16517
16695
|
description: { default: "" },
|
|
@@ -16543,12 +16721,12 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16543
16721
|
placeholder: _ctx.placeholder,
|
|
16544
16722
|
onInput: handleInput
|
|
16545
16723
|
}, null, 42, _hoisted_3$i)
|
|
16546
|
-
], 10, _hoisted_1$
|
|
16724
|
+
], 10, _hoisted_1$t);
|
|
16547
16725
|
};
|
|
16548
16726
|
}
|
|
16549
16727
|
});
|
|
16550
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16551
|
-
const _hoisted_1$
|
|
16728
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
16729
|
+
const _hoisted_1$s = { class: "flex gap-05" };
|
|
16552
16730
|
const _hoisted_2$l = ["disabled"];
|
|
16553
16731
|
const _hoisted_3$h = { key: 1 };
|
|
16554
16732
|
const _hoisted_4$d = {
|
|
@@ -16557,7 +16735,8 @@ const _hoisted_4$d = {
|
|
|
16557
16735
|
};
|
|
16558
16736
|
const _hoisted_5$c = ["value"];
|
|
16559
16737
|
const _hoisted_6$7 = ["aria-selected", "onClick", "onKeydown"];
|
|
16560
|
-
const
|
|
16738
|
+
const _hoisted_7$3 = { class: "block" };
|
|
16739
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
16561
16740
|
__name: "SelectInput",
|
|
16562
16741
|
props: {
|
|
16563
16742
|
options: {},
|
|
@@ -16706,7 +16885,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16706
16885
|
onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
|
|
16707
16886
|
}, {
|
|
16708
16887
|
popper: vue.withCtx(() => [
|
|
16709
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16888
|
+
vue.createVNode(vue.unref(_sfc_main$F), {
|
|
16710
16889
|
class: "p-05",
|
|
16711
16890
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
16712
16891
|
}, {
|
|
@@ -16727,7 +16906,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16727
16906
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(filteredOptions.value, (option2, i2) => {
|
|
16728
16907
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
16729
16908
|
key: `${option2}${i2}`,
|
|
16730
|
-
class: vue.normalizeClass(["selectinput-option hover gap-1", { selected: isSelected(option2) }]),
|
|
16909
|
+
class: vue.normalizeClass(["selectinput-option hover gap-1 align-items-center", { selected: isSelected(option2) }]),
|
|
16731
16910
|
role: "option",
|
|
16732
16911
|
tabindex: "0",
|
|
16733
16912
|
"aria-selected": isSelected(option2),
|
|
@@ -16735,17 +16914,19 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16735
16914
|
onKeydown: vue.withKeys(($event) => select2(option2), ["enter"])
|
|
16736
16915
|
}, [
|
|
16737
16916
|
_ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
16738
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16917
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16739
16918
|
key: 0,
|
|
16919
|
+
size: 1.1,
|
|
16740
16920
|
icon: "select_check_box"
|
|
16741
16921
|
})) : vue.createCommentVNode("", true),
|
|
16742
|
-
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16922
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16743
16923
|
key: 1,
|
|
16744
16924
|
class: "opacity-3",
|
|
16745
|
-
icon: "check_box_outline_blank"
|
|
16925
|
+
icon: "check_box_outline_blank",
|
|
16926
|
+
size: 1.1
|
|
16746
16927
|
})) : vue.createCommentVNode("", true)
|
|
16747
16928
|
], 64)) : vue.createCommentVNode("", true),
|
|
16748
|
-
vue.createElementVNode("span",
|
|
16929
|
+
vue.createElementVNode("span", _hoisted_7$3, vue.toDisplayString(getLabel(option2)), 1)
|
|
16749
16930
|
], 42, _hoisted_6$7);
|
|
16750
16931
|
}), 128))
|
|
16751
16932
|
], 2),
|
|
@@ -16757,7 +16938,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16757
16938
|
default: vue.withCtx(() => [
|
|
16758
16939
|
vue.createElementVNode("label", null, [
|
|
16759
16940
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
16760
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
16941
|
+
vue.createElementVNode("div", _hoisted_1$s, [
|
|
16761
16942
|
vue.createElementVNode("button", {
|
|
16762
16943
|
disabled: _ctx.disabled,
|
|
16763
16944
|
type: "button",
|
|
@@ -16765,7 +16946,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16765
16946
|
onKeydown: openOptions,
|
|
16766
16947
|
onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
|
|
16767
16948
|
}, [
|
|
16768
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16949
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
16769
16950
|
key: 0,
|
|
16770
16951
|
icon: _ctx.icon
|
|
16771
16952
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -16782,7 +16963,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16782
16963
|
})
|
|
16783
16964
|
})
|
|
16784
16965
|
])) : vue.createCommentVNode("", true),
|
|
16785
|
-
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16966
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), vue.mergeProps({
|
|
16786
16967
|
key: 3,
|
|
16787
16968
|
thin: ""
|
|
16788
16969
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
@@ -16803,7 +16984,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16803
16984
|
};
|
|
16804
16985
|
}
|
|
16805
16986
|
});
|
|
16806
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16987
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-be6303fe"]]);
|
|
16807
16988
|
/*!
|
|
16808
16989
|
* vue-draggable-next v2.2.0
|
|
16809
16990
|
* (c) 2023 Anish George
|
|
@@ -19283,13 +19464,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
19283
19464
|
}
|
|
19284
19465
|
}
|
|
19285
19466
|
});
|
|
19286
|
-
const _hoisted_1$
|
|
19467
|
+
const _hoisted_1$r = ["title"];
|
|
19287
19468
|
const _hoisted_2$k = { class: "bagel-input" };
|
|
19288
19469
|
const _hoisted_3$g = { class: "table-side-scroll" };
|
|
19289
19470
|
const _hoisted_4$c = { class: "table-header" };
|
|
19290
19471
|
const _hoisted_5$b = { class: "table-reorder" };
|
|
19291
19472
|
const _hoisted_6$6 = { class: "table-action" };
|
|
19292
|
-
const _sfc_main$
|
|
19473
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
19293
19474
|
__name: "TableField",
|
|
19294
19475
|
props: {
|
|
19295
19476
|
description: { default: "" },
|
|
@@ -19386,7 +19567,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19386
19567
|
class: "flex table-row"
|
|
19387
19568
|
}, [
|
|
19388
19569
|
vue.createElementVNode("div", _hoisted_5$b, [
|
|
19389
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19570
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "more_vert" })
|
|
19390
19571
|
]),
|
|
19391
19572
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
|
|
19392
19573
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -19403,7 +19584,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19403
19584
|
], 2);
|
|
19404
19585
|
}), 128)),
|
|
19405
19586
|
vue.createElementVNode("div", _hoisted_6$6, [
|
|
19406
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19587
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
19407
19588
|
icon: "delete",
|
|
19408
19589
|
onClick: ($event) => removeRow2(index2)
|
|
19409
19590
|
}, null, 8, ["onClick"])
|
|
@@ -19429,17 +19610,17 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19429
19610
|
]),
|
|
19430
19611
|
_: 1
|
|
19431
19612
|
})
|
|
19432
|
-
], 8, _hoisted_1$
|
|
19613
|
+
], 8, _hoisted_1$r);
|
|
19433
19614
|
};
|
|
19434
19615
|
}
|
|
19435
19616
|
});
|
|
19436
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19437
|
-
const _hoisted_1$
|
|
19617
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
|
|
19618
|
+
const _hoisted_1$q = ["title"];
|
|
19438
19619
|
const _hoisted_2$j = ["for"];
|
|
19439
19620
|
const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
19440
19621
|
const _hoisted_4$b = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
19441
19622
|
const _hoisted_5$a = { key: 2 };
|
|
19442
|
-
const _sfc_main$
|
|
19623
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
19443
19624
|
__name: "TextInput",
|
|
19444
19625
|
props: {
|
|
19445
19626
|
id: {},
|
|
@@ -19560,22 +19741,22 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
19560
19741
|
]),
|
|
19561
19742
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$a, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
19562
19743
|
], 8, _hoisted_2$j),
|
|
19563
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19744
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
19564
19745
|
key: 0,
|
|
19565
19746
|
class: "iconStart",
|
|
19566
19747
|
icon: _ctx.iconStart
|
|
19567
19748
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
19568
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19749
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
19569
19750
|
key: 1,
|
|
19570
19751
|
icon: _ctx.icon
|
|
19571
19752
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
19572
|
-
], 10, _hoisted_1$
|
|
19753
|
+
], 10, _hoisted_1$q);
|
|
19573
19754
|
};
|
|
19574
19755
|
}
|
|
19575
19756
|
});
|
|
19576
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19577
|
-
const _hoisted_1$
|
|
19578
|
-
const _sfc_main$
|
|
19757
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
|
|
19758
|
+
const _hoisted_1$p = { class: "primary-checkbox" };
|
|
19759
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
19579
19760
|
__name: "Checkbox",
|
|
19580
19761
|
props: {
|
|
19581
19762
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -19585,7 +19766,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
19585
19766
|
setup(__props) {
|
|
19586
19767
|
const val = vue.useModel(__props, "modelValue");
|
|
19587
19768
|
return (_ctx, _cache) => {
|
|
19588
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
19769
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$p, [
|
|
19589
19770
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
19590
19771
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
19591
19772
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -19597,10 +19778,10 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
19597
19778
|
};
|
|
19598
19779
|
}
|
|
19599
19780
|
});
|
|
19600
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19601
|
-
const _hoisted_1$
|
|
19781
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
19782
|
+
const _hoisted_1$o = ["title"];
|
|
19602
19783
|
const _hoisted_2$i = ["id", "placeholder", "required"];
|
|
19603
|
-
const _sfc_main$
|
|
19784
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
19604
19785
|
__name: "ColorPicker",
|
|
19605
19786
|
props: {
|
|
19606
19787
|
label: {},
|
|
@@ -19642,11 +19823,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
19642
19823
|
[vue.vModelText, inputVal.value]
|
|
19643
19824
|
])
|
|
19644
19825
|
])
|
|
19645
|
-
], 10, _hoisted_1$
|
|
19826
|
+
], 10, _hoisted_1$o)) : vue.createCommentVNode("", true);
|
|
19646
19827
|
};
|
|
19647
19828
|
}
|
|
19648
19829
|
});
|
|
19649
|
-
const _hoisted_1$
|
|
19830
|
+
const _hoisted_1$n = { class: "datetime-wrap" };
|
|
19650
19831
|
const _hoisted_2$h = { class: "date-wrap" };
|
|
19651
19832
|
const _hoisted_3$e = {
|
|
19652
19833
|
key: 0,
|
|
@@ -19654,7 +19835,7 @@ const _hoisted_3$e = {
|
|
|
19654
19835
|
};
|
|
19655
19836
|
const _hoisted_4$a = ["id", "name", "value"];
|
|
19656
19837
|
const _hoisted_5$9 = ["for"];
|
|
19657
|
-
const _sfc_main$
|
|
19838
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
19658
19839
|
__name: "DatePicker",
|
|
19659
19840
|
props: {
|
|
19660
19841
|
label: {},
|
|
@@ -19683,7 +19864,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19683
19864
|
return `${hour}:${minute}`;
|
|
19684
19865
|
});
|
|
19685
19866
|
return (_ctx, _cache) => {
|
|
19686
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19867
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
|
|
19687
19868
|
vue.createElementVNode("div", _hoisted_2$h, [
|
|
19688
19869
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
19689
19870
|
modelValue: selectedDate.value,
|
|
@@ -19724,12 +19905,12 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19724
19905
|
};
|
|
19725
19906
|
}
|
|
19726
19907
|
});
|
|
19727
|
-
const _hoisted_1$
|
|
19908
|
+
const _hoisted_1$m = { class: "bagel-input" };
|
|
19728
19909
|
const _hoisted_2$g = { class: "pb-025" };
|
|
19729
19910
|
const _hoisted_3$d = { class: "flex gap-05 flex-wrap" };
|
|
19730
19911
|
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
19731
19912
|
const _hoisted_5$8 = ["for"];
|
|
19732
|
-
const _sfc_main$
|
|
19913
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
19733
19914
|
__name: "RadioPillsInput",
|
|
19734
19915
|
props: {
|
|
19735
19916
|
options: {},
|
|
@@ -19770,7 +19951,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19770
19951
|
selectedValue.value = props2.modelValue;
|
|
19771
19952
|
});
|
|
19772
19953
|
return (_ctx, _cache) => {
|
|
19773
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19954
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
19774
19955
|
vue.createElementVNode("label", _hoisted_2$g, vue.toDisplayString(_ctx.label), 1),
|
|
19775
19956
|
vue.createElementVNode("div", _hoisted_3$d, [
|
|
19776
19957
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
@@ -19796,8 +19977,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19796
19977
|
};
|
|
19797
19978
|
}
|
|
19798
19979
|
});
|
|
19799
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19800
|
-
const _hoisted_1$
|
|
19980
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
|
|
19981
|
+
const _hoisted_1$l = { class: "bagel-input" };
|
|
19801
19982
|
const _hoisted_2$f = {
|
|
19802
19983
|
key: 0,
|
|
19803
19984
|
class: "bgl-multi-preview"
|
|
@@ -19820,8 +20001,8 @@ const _hoisted_10 = {
|
|
|
19820
20001
|
class: "progress"
|
|
19821
20002
|
};
|
|
19822
20003
|
const _hoisted_11 = ["src"];
|
|
19823
|
-
const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder" };
|
|
19824
|
-
const _sfc_main$
|
|
20004
|
+
const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
20005
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
19825
20006
|
__name: "FileUpload",
|
|
19826
20007
|
props: {
|
|
19827
20008
|
label: {},
|
|
@@ -19970,7 +20151,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19970
20151
|
}
|
|
19971
20152
|
return (_ctx, _cache) => {
|
|
19972
20153
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
19973
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20154
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
19974
20155
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
19975
20156
|
vue.createElementVNode("div", {
|
|
19976
20157
|
class: vue.normalizeClass(["fileUploadWrap", {
|
|
@@ -20001,7 +20182,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20001
20182
|
alt: ""
|
|
20002
20183
|
}, null, 8, _hoisted_3$c)), [
|
|
20003
20184
|
[_directive_lightbox]
|
|
20004
|
-
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20185
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20005
20186
|
key: 1,
|
|
20006
20187
|
icon: "draft",
|
|
20007
20188
|
class: "multi-preview"
|
|
@@ -20029,7 +20210,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20029
20210
|
src: fileToUrl(fileQ.file),
|
|
20030
20211
|
alt: ""
|
|
20031
20212
|
}, null, 8, _hoisted_5$7)) : vue.createCommentVNode("", true)
|
|
20032
|
-
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20213
|
+
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20033
20214
|
key: 1,
|
|
20034
20215
|
icon: "draft",
|
|
20035
20216
|
class: "multi-preview"
|
|
@@ -20040,7 +20221,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20040
20221
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20041
20222
|
}, [
|
|
20042
20223
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
20043
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20224
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
20044
20225
|
class: "success",
|
|
20045
20226
|
icon: "check"
|
|
20046
20227
|
})
|
|
@@ -20048,7 +20229,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20048
20229
|
]);
|
|
20049
20230
|
}), 128))
|
|
20050
20231
|
])) : vue.createCommentVNode("", true),
|
|
20051
|
-
!_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
20232
|
+
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
20052
20233
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
20053
20234
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20054
20235
|
key: file.id,
|
|
@@ -20061,7 +20242,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20061
20242
|
alt: ""
|
|
20062
20243
|
}, null, 8, _hoisted_9)), [
|
|
20063
20244
|
[_directive_lightbox]
|
|
20064
|
-
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
20245
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
20065
20246
|
key: 1,
|
|
20066
20247
|
size: 4,
|
|
20067
20248
|
weight: "2",
|
|
@@ -20080,7 +20261,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20080
20261
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
20081
20262
|
}, [
|
|
20082
20263
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
20083
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20264
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
20084
20265
|
class: "success",
|
|
20085
20266
|
icon: "check"
|
|
20086
20267
|
})
|
|
@@ -20102,7 +20283,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20102
20283
|
browse
|
|
20103
20284
|
}, () => [
|
|
20104
20285
|
vue.createElementVNode("p", _hoisted_12, [
|
|
20105
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
20286
|
+
vue.createVNode(vue.unref(_sfc_main$S), { icon: "upload_2" }),
|
|
20106
20287
|
vue.createTextVNode(" Drop files here or click to upload ")
|
|
20107
20288
|
])
|
|
20108
20289
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -20111,16 +20292,16 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20111
20292
|
};
|
|
20112
20293
|
}
|
|
20113
20294
|
});
|
|
20114
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20115
|
-
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-
|
|
20116
|
-
const _hoisted_1$
|
|
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);
|
|
20297
|
+
const _hoisted_1$k = ["title"];
|
|
20117
20298
|
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
20118
20299
|
const _hoisted_3$b = [
|
|
20119
20300
|
_hoisted_2$e
|
|
20120
20301
|
];
|
|
20121
20302
|
const _hoisted_4$7 = ["id", "required"];
|
|
20122
20303
|
const _hoisted_5$6 = ["for"];
|
|
20123
|
-
const _sfc_main$
|
|
20304
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
20124
20305
|
__name: "ToggleInput",
|
|
20125
20306
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
20126
20307
|
label: {},
|
|
@@ -20162,11 +20343,11 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
20162
20343
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
20163
20344
|
], true)
|
|
20164
20345
|
], 8, _hoisted_5$6)
|
|
20165
|
-
], 10, _hoisted_1$
|
|
20346
|
+
], 10, _hoisted_1$k);
|
|
20166
20347
|
};
|
|
20167
20348
|
}
|
|
20168
20349
|
});
|
|
20169
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20350
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
|
|
20170
20351
|
function OrderedMap(content) {
|
|
20171
20352
|
this.content = content;
|
|
20172
20353
|
}
|
|
@@ -33501,7 +33682,11 @@ function createNodeFromContent(content, schema, options) {
|
|
|
33501
33682
|
if (isArrayContent) {
|
|
33502
33683
|
return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
|
|
33503
33684
|
}
|
|
33504
|
-
|
|
33685
|
+
const node = schema.nodeFromJSON(content);
|
|
33686
|
+
if (options.errorOnInvalidContent) {
|
|
33687
|
+
node.check();
|
|
33688
|
+
}
|
|
33689
|
+
return node;
|
|
33505
33690
|
} catch (error) {
|
|
33506
33691
|
if (options.errorOnInvalidContent) {
|
|
33507
33692
|
throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
|
|
@@ -43981,12 +44166,12 @@ const TableHeader = Node$2.create({
|
|
|
43981
44166
|
return ["th", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
|
|
43982
44167
|
}
|
|
43983
44168
|
});
|
|
43984
|
-
const _hoisted_1$
|
|
44169
|
+
const _hoisted_1$j = { class: "RichText" };
|
|
43985
44170
|
const _hoisted_2$d = {
|
|
43986
44171
|
key: 0,
|
|
43987
44172
|
class: "RichText-tools"
|
|
43988
44173
|
};
|
|
43989
|
-
const _sfc_main$
|
|
44174
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
43990
44175
|
__name: "RichText",
|
|
43991
44176
|
props: {
|
|
43992
44177
|
modelValue: {}
|
|
@@ -44211,7 +44396,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
44211
44396
|
});
|
|
44212
44397
|
return (_ctx, _cache) => {
|
|
44213
44398
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
44214
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
44399
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
44215
44400
|
vue.unref(editor) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
|
|
44216
44401
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(config, (item) => {
|
|
44217
44402
|
var _a2;
|
|
@@ -46319,13 +46504,13 @@ function parsePhoneNumber$1() {
|
|
|
46319
46504
|
function parsePhoneNumber() {
|
|
46320
46505
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
46321
46506
|
}
|
|
46322
|
-
const _hoisted_1$
|
|
46507
|
+
const _hoisted_1$i = ["aria-expanded"];
|
|
46323
46508
|
const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
|
|
46324
46509
|
const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
|
|
46325
46510
|
const _hoisted_4$6 = { class: "tel-country" };
|
|
46326
46511
|
const _hoisted_5$5 = { key: 1 };
|
|
46327
46512
|
const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
46328
|
-
const _sfc_main$
|
|
46513
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
46329
46514
|
__name: "TelInput",
|
|
46330
46515
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
46331
46516
|
label: {},
|
|
@@ -46634,7 +46819,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
46634
46819
|
class: "flex gap-05",
|
|
46635
46820
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(open) ? open.value = true : open = true)
|
|
46636
46821
|
}, [
|
|
46637
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
46822
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
46638
46823
|
icon: vue.unref(open) ? "collapse_all" : "expand_all"
|
|
46639
46824
|
}, null, 8, ["icon"]),
|
|
46640
46825
|
computedDropDownOptions.value.showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
|
|
@@ -46672,15 +46857,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
46672
46857
|
}, null, 44, _hoisted_6$4), [
|
|
46673
46858
|
[vue.vModelText, phone.value]
|
|
46674
46859
|
])
|
|
46675
|
-
], 40, _hoisted_1$
|
|
46860
|
+
], 40, _hoisted_1$i)
|
|
46676
46861
|
])
|
|
46677
46862
|
], 2);
|
|
46678
46863
|
};
|
|
46679
46864
|
}
|
|
46680
46865
|
});
|
|
46681
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
46866
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
|
|
46682
46867
|
/*!
|
|
46683
|
-
* Signature Pad v5.0.
|
|
46868
|
+
* Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
|
|
46684
46869
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
46685
46870
|
*/
|
|
46686
46871
|
class Point {
|
|
@@ -46720,7 +46905,7 @@ class Bezier {
|
|
|
46720
46905
|
const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
|
|
46721
46906
|
const dxm = m1.x - m2.x;
|
|
46722
46907
|
const dym = m1.y - m2.y;
|
|
46723
|
-
const k2 = l2 / (l1 + l2);
|
|
46908
|
+
const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
|
|
46724
46909
|
const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
|
|
46725
46910
|
const tx = s2.x - cm.x;
|
|
46726
46911
|
const ty = s2.y - cm.y;
|
|
@@ -47272,8 +47457,8 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
47272
47457
|
return svg.outerHTML;
|
|
47273
47458
|
}
|
|
47274
47459
|
}
|
|
47275
|
-
const _hoisted_1$
|
|
47276
|
-
const _sfc_main$
|
|
47460
|
+
const _hoisted_1$h = ["disabled"];
|
|
47461
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
47277
47462
|
__name: "SignaturePad",
|
|
47278
47463
|
props: {
|
|
47279
47464
|
sigOption: {},
|
|
@@ -47405,16 +47590,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
47405
47590
|
ref: vCanvas,
|
|
47406
47591
|
class: "canvas",
|
|
47407
47592
|
disabled: _ctx.disabled
|
|
47408
|
-
}, null, 8, _hoisted_1$
|
|
47593
|
+
}, null, 8, _hoisted_1$h)
|
|
47409
47594
|
], 34);
|
|
47410
47595
|
};
|
|
47411
47596
|
}
|
|
47412
47597
|
});
|
|
47413
|
-
const _hoisted_1$
|
|
47598
|
+
const _hoisted_1$g = {
|
|
47414
47599
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
47415
47600
|
role: "toolbar"
|
|
47416
47601
|
};
|
|
47417
|
-
const _sfc_main$
|
|
47602
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
47418
47603
|
__name: "Toolbar",
|
|
47419
47604
|
props: {
|
|
47420
47605
|
config: {}
|
|
@@ -47444,7 +47629,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
47444
47629
|
}
|
|
47445
47630
|
return (_ctx, _cache) => {
|
|
47446
47631
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
47447
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
47632
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
|
|
47448
47633
|
vue.createVNode(SelectInput, {
|
|
47449
47634
|
class: "m-0 w150",
|
|
47450
47635
|
options: ["Text", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Blockquote", "Code"],
|
|
@@ -47645,14 +47830,14 @@ function createTable() {
|
|
|
47645
47830
|
}
|
|
47646
47831
|
}
|
|
47647
47832
|
}
|
|
47648
|
-
const _hoisted_1$
|
|
47833
|
+
const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
|
|
47649
47834
|
const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
47650
|
-
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" };
|
|
47651
47836
|
const _hoisted_4$5 = {
|
|
47652
47837
|
key: 0,
|
|
47653
|
-
class: "preview-area
|
|
47838
|
+
class: "preview-area w-100 rounded p-1"
|
|
47654
47839
|
};
|
|
47655
|
-
const _sfc_main$
|
|
47840
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
47656
47841
|
__name: "index",
|
|
47657
47842
|
props: {
|
|
47658
47843
|
modelValue: {},
|
|
@@ -47779,8 +47964,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47779
47964
|
}
|
|
47780
47965
|
}
|
|
47781
47966
|
return (_ctx, _cache) => {
|
|
47782
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
47783
|
-
vue.createVNode(_sfc_main$
|
|
47967
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
47968
|
+
vue.createVNode(_sfc_main$b, {
|
|
47784
47969
|
config: config.value,
|
|
47785
47970
|
onAction: handleToolbarAction
|
|
47786
47971
|
}, null, 8, ["config"]),
|
|
@@ -47811,8 +47996,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47811
47996
|
};
|
|
47812
47997
|
}
|
|
47813
47998
|
});
|
|
47814
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
47815
|
-
const _hoisted_1$
|
|
47999
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
|
|
48000
|
+
const _hoisted_1$e = ["for"];
|
|
47816
48001
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47817
48002
|
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
47818
48003
|
const _hoisted_4$4 = ["src", "alt"];
|
|
@@ -47825,7 +48010,7 @@ const _hoisted_7$1 = {
|
|
|
47825
48010
|
key: 1,
|
|
47826
48011
|
class: "txt-gray txt-12 m-0"
|
|
47827
48012
|
};
|
|
47828
|
-
const _sfc_main$
|
|
48013
|
+
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
47829
48014
|
__name: "RadioGroup",
|
|
47830
48015
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
47831
48016
|
groupName: {},
|
|
@@ -47859,7 +48044,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47859
48044
|
vue.createElementVNode("div", _hoisted_3$8, [
|
|
47860
48045
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
47861
48046
|
key: 0,
|
|
47862
|
-
class: "bg-
|
|
48047
|
+
class: "bg-popup shadow-light py-025 rounded m_w40",
|
|
47863
48048
|
width: "60",
|
|
47864
48049
|
src: opt.imgSrc,
|
|
47865
48050
|
alt: opt.imgAlt
|
|
@@ -47878,13 +48063,49 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47878
48063
|
icon: "delete",
|
|
47879
48064
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
47880
48065
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
47881
|
-
], 8, _hoisted_1$
|
|
48066
|
+
], 8, _hoisted_1$e);
|
|
47882
48067
|
}), 128))
|
|
47883
48068
|
]);
|
|
47884
48069
|
};
|
|
47885
48070
|
}
|
|
47886
48071
|
});
|
|
47887
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
48072
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
|
|
48073
|
+
const _hoisted_1$d = { class: "relative" };
|
|
48074
|
+
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
48075
|
+
__name: "PasswordInput",
|
|
48076
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
48077
|
+
txtInputProps: {}
|
|
48078
|
+
}, {
|
|
48079
|
+
"modelValue": {},
|
|
48080
|
+
"modelModifiers": {},
|
|
48081
|
+
"showPwd": { type: Boolean, ...{ default: false } },
|
|
48082
|
+
"showPwdModifiers": {}
|
|
48083
|
+
}),
|
|
48084
|
+
emits: ["update:modelValue", "update:showPwd"],
|
|
48085
|
+
setup(__props) {
|
|
48086
|
+
const password = vue.useModel(__props, "modelValue");
|
|
48087
|
+
const showPwd = vue.useModel(__props, "showPwd");
|
|
48088
|
+
const toggleShowPwdIcon = vue.computed(() => showPwd.value ? "visibility_off" : "visibility");
|
|
48089
|
+
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
48090
|
+
return (_ctx, _cache) => {
|
|
48091
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
48092
|
+
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
48093
|
+
modelValue: password.value,
|
|
48094
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event),
|
|
48095
|
+
class: "mb-0",
|
|
48096
|
+
type: inputType.value
|
|
48097
|
+
}, _ctx.txtInputProps), null, 16, ["modelValue", "type"]),
|
|
48098
|
+
vue.createVNode(vue.unref(Btn), {
|
|
48099
|
+
flat: "",
|
|
48100
|
+
thin: "",
|
|
48101
|
+
class: "m-05 position-bottom-end",
|
|
48102
|
+
icon: toggleShowPwdIcon.value,
|
|
48103
|
+
onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
|
|
48104
|
+
}, null, 8, ["icon"])
|
|
48105
|
+
]);
|
|
48106
|
+
};
|
|
48107
|
+
}
|
|
48108
|
+
});
|
|
47888
48109
|
function _isPlaceholder(a2) {
|
|
47889
48110
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
47890
48111
|
}
|
|
@@ -54027,7 +54248,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54027
54248
|
}
|
|
54028
54249
|
});
|
|
54029
54250
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
|
|
54030
|
-
const _withScopeId = (n2) => (vue.pushScopeId("data-v-
|
|
54251
|
+
const _withScopeId = (n2) => (vue.pushScopeId("data-v-d15c030d"), n2 = n2(), vue.popScopeId(), n2);
|
|
54031
54252
|
const _hoisted_1$5 = { class: "w-100 px-075" };
|
|
54032
54253
|
const _hoisted_2$1 = { key: 0 };
|
|
54033
54254
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
|
|
@@ -54050,7 +54271,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54050
54271
|
}
|
|
54051
54272
|
return (_ctx, _cache) => {
|
|
54052
54273
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
54053
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
54274
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
|
|
54054
54275
|
class: vue.normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: vue.unref(isOpen) }])
|
|
54055
54276
|
}, {
|
|
54056
54277
|
default: vue.withCtx(() => [
|
|
@@ -54073,7 +54294,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54073
54294
|
class: "nav-button px-075"
|
|
54074
54295
|
}, {
|
|
54075
54296
|
default: vue.withCtx(() => [
|
|
54076
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
54297
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
54077
54298
|
icon: nav2.icon,
|
|
54078
54299
|
size: 1.4
|
|
54079
54300
|
}, null, 8, ["icon"]),
|
|
@@ -54101,7 +54322,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54101
54322
|
};
|
|
54102
54323
|
}
|
|
54103
54324
|
});
|
|
54104
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
54325
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
|
|
54105
54326
|
const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
|
|
54106
54327
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
54107
54328
|
__name: "BottomMenu",
|
|
@@ -54110,7 +54331,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54110
54331
|
},
|
|
54111
54332
|
setup(__props) {
|
|
54112
54333
|
return (_ctx, _cache) => {
|
|
54113
|
-
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" }, {
|
|
54114
54335
|
default: vue.withCtx(() => [
|
|
54115
54336
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
54116
54337
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
|
|
@@ -54121,7 +54342,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54121
54342
|
onClick: nav2.onClick
|
|
54122
54343
|
}, {
|
|
54123
54344
|
default: vue.withCtx(() => [
|
|
54124
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
54345
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
54125
54346
|
icon: nav2.icon,
|
|
54126
54347
|
size: 1.4,
|
|
54127
54348
|
class: "m-0"
|
|
@@ -54137,7 +54358,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54137
54358
|
};
|
|
54138
54359
|
}
|
|
54139
54360
|
});
|
|
54140
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
54361
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
|
|
54141
54362
|
const state = vue.reactive(/* @__PURE__ */ new Map());
|
|
54142
54363
|
function useTabs(group) {
|
|
54143
54364
|
if (!state.has(group)) {
|
|
@@ -54274,7 +54495,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54274
54495
|
class: vue.normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
|
|
54275
54496
|
onClick: ($event) => selectTab(tab)
|
|
54276
54497
|
}, [
|
|
54277
|
-
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), {
|
|
54278
54499
|
key: 0,
|
|
54279
54500
|
icon: tab.icon
|
|
54280
54501
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -54285,7 +54506,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
54285
54506
|
};
|
|
54286
54507
|
}
|
|
54287
54508
|
});
|
|
54288
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
54509
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
|
|
54289
54510
|
const _hoisted_1$1 = { key: 0 };
|
|
54290
54511
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
54291
54512
|
__name: "TabsBody",
|
|
@@ -54692,54 +54913,56 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
|
|
|
54692
54913
|
const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
54693
54914
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
54694
54915
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
54695
|
-
exports.Accordion = _sfc_main$
|
|
54916
|
+
exports.Accordion = _sfc_main$C;
|
|
54696
54917
|
exports.AccordionItem = AccordionItem;
|
|
54918
|
+
exports.AddressSearch = _sfc_main$u;
|
|
54697
54919
|
exports.Alert = Alert;
|
|
54698
54920
|
exports.Avatar = Avatar;
|
|
54699
54921
|
exports.Badge = Badge;
|
|
54700
|
-
exports.BagelForm = _sfc_main$
|
|
54922
|
+
exports.BagelForm = _sfc_main$t;
|
|
54701
54923
|
exports.BagelVue = BagelVue;
|
|
54702
|
-
exports.BglField = _sfc_main$
|
|
54703
|
-
exports.BglForm = _sfc_main$
|
|
54704
|
-
exports.BglMultiStepForm = _sfc_main$
|
|
54924
|
+
exports.BglField = _sfc_main$s;
|
|
54925
|
+
exports.BglForm = _sfc_main$t;
|
|
54926
|
+
exports.BglMultiStepForm = _sfc_main$r;
|
|
54705
54927
|
exports.BglVideo = BglVideo;
|
|
54706
54928
|
exports.BottomMenu = BottomMenu;
|
|
54707
54929
|
exports.Btn = Btn;
|
|
54708
|
-
exports.Card = _sfc_main$
|
|
54930
|
+
exports.Card = _sfc_main$F;
|
|
54709
54931
|
exports.Carousel = Carousel;
|
|
54710
54932
|
exports.CheckInput = CheckInput;
|
|
54711
54933
|
exports.Checkbox = Checkbox;
|
|
54712
|
-
exports.ColorPicker = _sfc_main$
|
|
54934
|
+
exports.ColorPicker = _sfc_main$j;
|
|
54713
54935
|
exports.DataPreview = DataPreview;
|
|
54714
|
-
exports.DateInput = _sfc_main$
|
|
54715
|
-
exports.DatePicker = _sfc_main$
|
|
54936
|
+
exports.DateInput = _sfc_main$p;
|
|
54937
|
+
exports.DatePicker = _sfc_main$i;
|
|
54716
54938
|
exports.Dropdown = kt$1;
|
|
54717
54939
|
exports.FileUpload = $el;
|
|
54718
54940
|
exports.Flag = Flag;
|
|
54719
54941
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
54720
54942
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
54721
|
-
exports.Icon = _sfc_main$
|
|
54943
|
+
exports.Icon = _sfc_main$S;
|
|
54722
54944
|
exports.JSONInput = JSONInput;
|
|
54723
54945
|
exports.Layout = Layout;
|
|
54724
54946
|
exports.Lineart = _sfc_main$7;
|
|
54725
|
-
exports.ListItem = _sfc_main$
|
|
54947
|
+
exports.ListItem = _sfc_main$L;
|
|
54726
54948
|
exports.ListView = ListView;
|
|
54727
|
-
exports.MapEmbed = _sfc_main$
|
|
54728
|
-
exports.MaterialIcon = _sfc_main$
|
|
54729
|
-
exports.Modal = _sfc_main$
|
|
54730
|
-
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;
|
|
54731
54953
|
exports.ModalForm = ModalForm;
|
|
54732
54954
|
exports.ModalPlugin = ModalPlugin;
|
|
54733
54955
|
exports.NavBar = NavBar;
|
|
54734
|
-
exports.PageTitle = _sfc_main$
|
|
54956
|
+
exports.PageTitle = _sfc_main$K;
|
|
54957
|
+
exports.PasswordInput = _sfc_main$8;
|
|
54735
54958
|
exports.RadioGroup = RadioGroup;
|
|
54736
54959
|
exports.RadioPillsInput = RadioPillsInput;
|
|
54737
|
-
exports.RichText = _sfc_main$
|
|
54960
|
+
exports.RichText = _sfc_main$e;
|
|
54738
54961
|
exports.RichText2 = index;
|
|
54739
54962
|
exports.RouterWrapper = RouterWrapper;
|
|
54740
54963
|
exports.SelectInput = SelectInput;
|
|
54741
54964
|
exports.SidebarMenu = SidebarMenu;
|
|
54742
|
-
exports.SignaturePad = _sfc_main$
|
|
54965
|
+
exports.SignaturePad = _sfc_main$c;
|
|
54743
54966
|
exports.TabbedLayout = TabbedLayout;
|
|
54744
54967
|
exports.TableField = TableField;
|
|
54745
54968
|
exports.TableSchema = TableSchema;
|
|
@@ -54748,12 +54971,13 @@ exports.TabsBody = _sfc_main$1;
|
|
|
54748
54971
|
exports.TabsNav = TabsNav;
|
|
54749
54972
|
exports.TelInput = TelInput;
|
|
54750
54973
|
exports.TextInput = TextInput;
|
|
54751
|
-
exports.Title = _sfc_main$
|
|
54974
|
+
exports.Title = _sfc_main$D;
|
|
54752
54975
|
exports.ToggleInput = ToggleInput;
|
|
54753
54976
|
exports.TopBar = TopBar;
|
|
54754
54977
|
exports.VIDEO_FORMATS = VIDEO_FORMATS;
|
|
54755
54978
|
exports.VIDEO_FORMATS_REGEXP = VIDEO_FORMATS_REGEXP;
|
|
54756
54979
|
exports.allCountries = allCountries;
|
|
54980
|
+
exports.appendScript = appendScript;
|
|
54757
54981
|
exports.bagelFormUtils = bagelFormUtils;
|
|
54758
54982
|
exports.bagelInjectionKey = bagelInjectionKey;
|
|
54759
54983
|
exports.bindAttrs = bindAttrs;
|
|
@@ -54768,6 +54992,7 @@ exports.iffer = iffer;
|
|
|
54768
54992
|
exports.initials = initials;
|
|
54769
54993
|
exports.isDate = isDate$1;
|
|
54770
54994
|
exports.keyToLabel = keyToLabel;
|
|
54995
|
+
exports.sleep = sleep;
|
|
54771
54996
|
exports.useBagel = useBagel;
|
|
54772
54997
|
exports.useBglSchema = useBglSchema;
|
|
54773
54998
|
exports.useEscape = useEscape;
|