@bagelink/vue 0.0.738 → 0.0.742

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.
Files changed (67) hide show
  1. package/dist/components/AddressSaerch.vue.d.ts +7 -0
  2. package/dist/components/AddressSaerch.vue.d.ts.map +1 -0
  3. package/dist/components/AddressSearch.vue.d.ts +7 -0
  4. package/dist/components/AddressSearch.vue.d.ts.map +1 -0
  5. package/dist/components/Btn.vue.d.ts.map +1 -1
  6. package/dist/components/MapEmbed.vue.d.ts +55 -1
  7. package/dist/components/MapEmbed.vue.d.ts.map +1 -1
  8. package/dist/components/Modal.vue.d.ts.map +1 -1
  9. package/dist/components/ModalConfirm.vue.d.ts +4 -4
  10. package/dist/components/ModalConfirm.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/PasswordInput.vue.d.ts +6 -6
  12. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  14. package/dist/components/form/inputs/TelInput.vue.d.ts +0 -1
  15. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  16. package/dist/components/index.d.ts +1 -0
  17. package/dist/components/index.d.ts.map +1 -1
  18. package/dist/index.cjs +451 -266
  19. package/dist/index.mjs +451 -266
  20. package/dist/plugins/modal.d.ts +9 -13
  21. package/dist/plugins/modal.d.ts.map +1 -1
  22. package/dist/style.css +1238 -427
  23. package/dist/utils/index.d.ts +2 -0
  24. package/dist/utils/index.d.ts.map +1 -1
  25. package/package.json +5 -4
  26. package/src/components/AddressSearch.vue +41 -0
  27. package/src/components/Avatar.vue +1 -1
  28. package/src/components/Badge.vue +1 -1
  29. package/src/components/Btn.vue +9 -7
  30. package/src/components/Card.vue +2 -2
  31. package/src/components/ListItem.vue +1 -1
  32. package/src/components/MapEmbed.vue +143 -104
  33. package/src/components/Modal.vue +5 -2
  34. package/src/components/ModalConfirm.vue +4 -7
  35. package/src/components/NavBar.vue +9 -9
  36. package/src/components/TableSchema.vue +3 -3
  37. package/src/components/form/inputs/Checkbox.vue +1 -1
  38. package/src/components/form/inputs/DatePicker.vue +5 -5
  39. package/src/components/form/inputs/FileUpload.vue +1 -1
  40. package/src/components/form/inputs/PasswordInput.vue +9 -10
  41. package/src/components/form/inputs/RadioGroup.vue +1 -1
  42. package/src/components/form/inputs/RadioPillsInput.vue +2 -2
  43. package/src/components/form/inputs/RichText.vue +3 -3
  44. package/src/components/form/inputs/RichText2/index.vue +8 -2
  45. package/src/components/form/inputs/TableField.vue +3 -3
  46. package/src/components/form/inputs/TelInput.vue +2 -2
  47. package/src/components/form/inputs/TextInput.vue +3 -3
  48. package/src/components/form/inputs/ToggleInput.vue +1 -1
  49. package/src/components/formkit/FileUploader.vue +1 -1
  50. package/src/components/formkit/MiscFields.vue +1 -1
  51. package/src/components/formkit/Toggle.vue +4 -4
  52. package/src/components/index.ts +1 -0
  53. package/src/components/layout/BottomMenu.vue +2 -2
  54. package/src/components/layout/SidebarMenu.vue +1 -1
  55. package/src/components/layout/TabsNav.vue +1 -1
  56. package/src/components/leaflet/leaflet.css +661 -0
  57. package/src/components/lightbox/Lightbox.vue +2 -2
  58. package/src/plugins/modal.ts +44 -61
  59. package/src/styles/appearance.css +30 -0
  60. package/src/styles/bagel.css +2 -1
  61. package/src/styles/inputs.css +10 -3
  62. package/src/styles/loginCard.css +1 -1
  63. package/src/styles/modal.css +2 -2
  64. package/src/styles/scrollbar.css +1 -1
  65. package/src/styles/text.css +82 -0
  66. package/src/styles/theme.css +68 -41
  67. package/src/utils/index.ts +16 -0
package/dist/index.mjs CHANGED
@@ -2937,7 +2937,10 @@ function AxiosError(message2, code2, config, request, response) {
2937
2937
  code2 && (this.code = code2);
2938
2938
  config && (this.config = config);
2939
2939
  request && (this.request = request);
2940
- response && (this.response = response);
2940
+ if (response) {
2941
+ this.response = response;
2942
+ this.status = response.status ? response.status : null;
2943
+ }
2941
2944
  }
2942
2945
  utils$1.inherits(AxiosError, Error, {
2943
2946
  toJSON: function toJSON() {
@@ -2956,7 +2959,7 @@ utils$1.inherits(AxiosError, Error, {
2956
2959
  // Axios
2957
2960
  config: utils$1.toJSONObject(this.config),
2958
2961
  code: this.code,
2959
- status: this.response && this.response.status ? this.response.status : null
2962
+ status: this.status
2960
2963
  };
2961
2964
  }
2962
2965
  });
@@ -3237,9 +3240,8 @@ const platform$1 = {
3237
3240
  protocols: ["http", "https", "file", "blob", "url", "data"]
3238
3241
  };
3239
3242
  const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
3240
- const hasStandardBrowserEnv = ((product) => {
3241
- return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
3242
- })(typeof navigator !== "undefined" && navigator.product);
3243
+ const _navigator = typeof navigator === "object" && navigator || void 0;
3244
+ const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
3243
3245
  const hasStandardBrowserWebWorkerEnv = (() => {
3244
3246
  return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
3245
3247
  self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
@@ -3250,6 +3252,7 @@ const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
3250
3252
  hasBrowserEnv,
3251
3253
  hasStandardBrowserEnv,
3252
3254
  hasStandardBrowserWebWorkerEnv,
3255
+ navigator: _navigator,
3253
3256
  origin
3254
3257
  }, Symbol.toStringTag, { value: "Module" }));
3255
3258
  const platform = {
@@ -3825,7 +3828,7 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
3825
3828
  // Standard browser envs have full support of the APIs needed to test
3826
3829
  // whether the request URL is of the same origin as current location.
3827
3830
  function standardBrowserEnv() {
3828
- const msie = /(msie|trident)/i.test(navigator.userAgent);
3831
+ const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent);
3829
3832
  const urlParsingNode = document.createElement("a");
3830
3833
  let originURL;
3831
3834
  function resolveURL(url) {
@@ -4138,36 +4141,37 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
4138
4141
  });
4139
4142
  };
4140
4143
  const composeSignals = (signals, timeout2) => {
4141
- let controller = new AbortController();
4142
- let aborted;
4143
- const onabort = function(cancel) {
4144
- if (!aborted) {
4145
- aborted = true;
4146
- unsubscribe();
4147
- const err = cancel instanceof Error ? cancel : this.reason;
4148
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
4149
- }
4150
- };
4151
- let timer = timeout2 && setTimeout(() => {
4152
- onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
4153
- }, timeout2);
4154
- const unsubscribe = () => {
4155
- if (signals) {
4156
- timer && clearTimeout(timer);
4144
+ const { length } = signals = signals ? signals.filter(Boolean) : [];
4145
+ if (timeout2 || length) {
4146
+ let controller = new AbortController();
4147
+ let aborted;
4148
+ const onabort = function(reason) {
4149
+ if (!aborted) {
4150
+ aborted = true;
4151
+ unsubscribe();
4152
+ const err = reason instanceof Error ? reason : this.reason;
4153
+ controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
4154
+ }
4155
+ };
4156
+ let timer = timeout2 && setTimeout(() => {
4157
4157
  timer = null;
4158
- signals.forEach((signal2) => {
4159
- signal2 && (signal2.removeEventListener ? signal2.removeEventListener("abort", onabort) : signal2.unsubscribe(onabort));
4160
- });
4161
- signals = null;
4162
- }
4163
- };
4164
- signals.forEach((signal2) => signal2 && signal2.addEventListener && signal2.addEventListener("abort", onabort));
4165
- const { signal } = controller;
4166
- signal.unsubscribe = unsubscribe;
4167
- return [signal, () => {
4168
- timer && clearTimeout(timer);
4169
- timer = null;
4170
- }];
4158
+ onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
4159
+ }, timeout2);
4160
+ const unsubscribe = () => {
4161
+ if (signals) {
4162
+ timer && clearTimeout(timer);
4163
+ timer = null;
4164
+ signals.forEach((signal2) => {
4165
+ signal2.unsubscribe ? signal2.unsubscribe(onabort) : signal2.removeEventListener("abort", onabort);
4166
+ });
4167
+ signals = null;
4168
+ }
4169
+ };
4170
+ signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
4171
+ const { signal } = controller;
4172
+ signal.unsubscribe = () => utils$1.asap(unsubscribe);
4173
+ return signal;
4174
+ }
4171
4175
  };
4172
4176
  const streamChunk = function* (chunk, chunkSize) {
4173
4177
  let len = chunk.byteLength;
@@ -4183,13 +4187,31 @@ const streamChunk = function* (chunk, chunkSize) {
4183
4187
  pos = end2;
4184
4188
  }
4185
4189
  };
4186
- const readBytes = async function* (iterable, chunkSize, encode2) {
4187
- for await (const chunk of iterable) {
4188
- yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : await encode2(String(chunk)), chunkSize);
4190
+ const readBytes = async function* (iterable, chunkSize) {
4191
+ for await (const chunk of readStream(iterable)) {
4192
+ yield* streamChunk(chunk, chunkSize);
4189
4193
  }
4190
4194
  };
4191
- const trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
4192
- const iterator = readBytes(stream, chunkSize, encode2);
4195
+ const readStream = async function* (stream) {
4196
+ if (stream[Symbol.asyncIterator]) {
4197
+ yield* stream;
4198
+ return;
4199
+ }
4200
+ const reader = stream.getReader();
4201
+ try {
4202
+ for (; ; ) {
4203
+ const { done, value } = await reader.read();
4204
+ if (done) {
4205
+ break;
4206
+ }
4207
+ yield value;
4208
+ }
4209
+ } finally {
4210
+ await reader.cancel();
4211
+ }
4212
+ };
4213
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
4214
+ const iterator = readBytes(stream, chunkSize);
4193
4215
  let bytes = 0;
4194
4216
  let done;
4195
4217
  let _onFinish = (e) => {
@@ -4268,7 +4290,11 @@ const getBodyLength = async (body) => {
4268
4290
  return body.size;
4269
4291
  }
4270
4292
  if (utils$1.isSpecCompliantForm(body)) {
4271
- return (await new Request(body).arrayBuffer()).byteLength;
4293
+ const _request = new Request(platform.origin, {
4294
+ method: "POST",
4295
+ body
4296
+ });
4297
+ return (await _request.arrayBuffer()).byteLength;
4272
4298
  }
4273
4299
  if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
4274
4300
  return body.byteLength;
@@ -4300,14 +4326,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4300
4326
  fetchOptions
4301
4327
  } = resolveConfig(config);
4302
4328
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
4303
- let [composedSignal, stopTimeout] = signal || cancelToken || timeout2 ? composeSignals([signal, cancelToken], timeout2) : [];
4304
- let finished, request;
4305
- const onFinish = () => {
4306
- !finished && setTimeout(() => {
4307
- composedSignal && composedSignal.unsubscribe();
4308
- });
4309
- finished = true;
4310
- };
4329
+ let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout2);
4330
+ let request;
4331
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
4332
+ composedSignal.unsubscribe();
4333
+ });
4311
4334
  let requestContentLength;
4312
4335
  try {
4313
4336
  if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data2)) !== 0) {
@@ -4325,12 +4348,13 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4325
4348
  requestContentLength,
4326
4349
  progressEventReducer(asyncDecorator(onUploadProgress))
4327
4350
  );
4328
- data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
4351
+ data2 = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
4329
4352
  }
4330
4353
  }
4331
4354
  if (!utils$1.isString(withCredentials)) {
4332
4355
  withCredentials = withCredentials ? "include" : "omit";
4333
4356
  }
4357
+ const isCredentialsSupported = "credentials" in Request.prototype;
4334
4358
  request = new Request(url, {
4335
4359
  ...fetchOptions,
4336
4360
  signal: composedSignal,
@@ -4338,11 +4362,11 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4338
4362
  headers: headers.normalize().toJSON(),
4339
4363
  body: data2,
4340
4364
  duplex: "half",
4341
- credentials: withCredentials
4365
+ credentials: isCredentialsSupported ? withCredentials : void 0
4342
4366
  });
4343
4367
  let response = await fetch(request);
4344
4368
  const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
4345
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
4369
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
4346
4370
  const options = {};
4347
4371
  ["status", "statusText", "headers"].forEach((prop3) => {
4348
4372
  options[prop3] = response[prop3];
@@ -4355,15 +4379,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4355
4379
  response = new Response(
4356
4380
  trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
4357
4381
  flush && flush();
4358
- isStreamResponse && onFinish();
4359
- }, encodeText),
4382
+ unsubscribe && unsubscribe();
4383
+ }),
4360
4384
  options
4361
4385
  );
4362
4386
  }
4363
4387
  responseType = responseType || "text";
4364
4388
  let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
4365
- !isStreamResponse && onFinish();
4366
- stopTimeout && stopTimeout();
4389
+ !isStreamResponse && unsubscribe && unsubscribe();
4367
4390
  return await new Promise((resolve, reject3) => {
4368
4391
  settle(resolve, reject3, {
4369
4392
  data: responseData,
@@ -4375,7 +4398,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4375
4398
  });
4376
4399
  });
4377
4400
  } catch (err) {
4378
- onFinish();
4401
+ unsubscribe && unsubscribe();
4379
4402
  if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
4380
4403
  throw Object.assign(
4381
4404
  new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
@@ -4482,7 +4505,7 @@ function dispatchRequest(config) {
4482
4505
  return Promise.reject(reason);
4483
4506
  });
4484
4507
  }
4485
- const VERSION = "1.7.4";
4508
+ const VERSION = "1.7.7";
4486
4509
  const validators$1 = {};
4487
4510
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
4488
4511
  validators$1[type3] = function validator2(thing) {
@@ -4770,6 +4793,15 @@ class CancelToken {
4770
4793
  this._listeners.splice(index2, 1);
4771
4794
  }
4772
4795
  }
4796
+ toAbortSignal() {
4797
+ const controller = new AbortController();
4798
+ const abort = (err) => {
4799
+ controller.abort(err);
4800
+ };
4801
+ this.subscribe(abort);
4802
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
4803
+ return controller.signal;
4804
+ }
4773
4805
  /**
4774
4806
  * Returns an object that contains a new `CancelToken` and a function that, when called,
4775
4807
  * cancels the `CancelToken`.
@@ -5145,11 +5177,11 @@ class Bagel {
5145
5177
  return data2;
5146
5178
  }
5147
5179
  }
5148
- const _hoisted_1$O = {
5180
+ const _hoisted_1$P = {
5149
5181
  key: 0,
5150
5182
  class: "navigation flex space-between px-3 w-100 absolute"
5151
5183
  };
5152
- const _hoisted_2$C = { class: "bgl-lightbox-item" };
5184
+ const _hoisted_2$B = { class: "bgl-lightbox-item" };
5153
5185
  const _hoisted_3$q = ["src"];
5154
5186
  const _hoisted_4$i = ["src", "title"];
5155
5187
  const _hoisted_5$g = {
@@ -5162,7 +5194,7 @@ const _hoisted_7$6 = {
5162
5194
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
5163
5195
  };
5164
5196
  const _hoisted_8$3 = ["src", "onClick"];
5165
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
5197
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
5166
5198
  __name: "Lightbox",
5167
5199
  setup(__props, { expose: __expose }) {
5168
5200
  let isOpen = ref(false);
@@ -5231,7 +5263,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5231
5263
  ],
5232
5264
  onClick: close2
5233
5265
  }, [
5234
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$O, [
5266
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
5235
5267
  createVNode(unref(Btn), {
5236
5268
  class: "navigation-btn oval",
5237
5269
  icon: "arrow_back",
@@ -5254,7 +5286,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5254
5286
  icon: "close",
5255
5287
  onClick: close2
5256
5288
  }),
5257
- createElementVNode("div", _hoisted_2$C, [
5289
+ createElementVNode("div", _hoisted_2$B, [
5258
5290
  ((_a2 = unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (openBlock(), createElementBlock("img", {
5259
5291
  key: 0,
5260
5292
  src: (_b = unref(currentItem)) == null ? void 0 : _b.src,
@@ -5288,13 +5320,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5288
5320
  return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
5289
5321
  item.type === "image" ? (openBlock(), createElementBlock("img", {
5290
5322
  key: 0,
5291
- class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
5323
+ class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
5292
5324
  src: item.src,
5293
5325
  alt: "",
5294
5326
  onClick: ($event) => selectItem(index2)
5295
- }, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$R), {
5327
+ }, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$S), {
5296
5328
  key: 1,
5297
- class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
5329
+ class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
5298
5330
  icon: "description",
5299
5331
  onClick: ($event) => selectItem(index2)
5300
5332
  }, null, 8, ["class", "onClick"]))
@@ -5317,7 +5349,7 @@ const _export_sfc = (sfc, props2) => {
5317
5349
  }
5318
5350
  return target;
5319
5351
  };
5320
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c061443c"]]);
5352
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
5321
5353
  const groups = {};
5322
5354
  const lightboxDirective = {
5323
5355
  mounted(el, binding) {
@@ -5666,6 +5698,22 @@ function getFallbackSchema(data2, showFields) {
5666
5698
  );
5667
5699
  return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
5668
5700
  }
5701
+ const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
5702
+ function appendScript(src) {
5703
+ return new Promise((resolve, reject3) => {
5704
+ if (document.querySelector(`script[src="${src}"]`)) {
5705
+ resolve();
5706
+ return;
5707
+ }
5708
+ const script2 = document.createElement("script");
5709
+ script2.src = src;
5710
+ script2.onload = () => {
5711
+ resolve();
5712
+ };
5713
+ script2.onerror = reject3;
5714
+ document.head.appendChild(script2);
5715
+ });
5716
+ }
5669
5717
  const bagelInjectionKey = Symbol("bagel");
5670
5718
  const i18nTInjectionKey = Symbol("bagel");
5671
5719
  function useBagel() {
@@ -5714,29 +5762,32 @@ const ModalPlugin = {
5714
5762
  const hideModal = (index2) => {
5715
5763
  modalStack.value.splice(index2, 1);
5716
5764
  };
5717
- const modalConfirm = async (options) => new Promise(
5718
- (resolve) => {
5719
- if (typeof options === "string") options = { title: "", message: options };
5765
+ const confirmModal = (options) => {
5766
+ return new Promise((resolve) => {
5767
+ const confirmOptions = typeof options === "string" ? { title: "", message: options } : options;
5720
5768
  modalStack.value.push({
5721
- modalOptions: { ...options, resolve },
5722
- modalType: "confirm",
5769
+ modalOptions: { ...confirmOptions, resolve },
5770
+ modalType: "confirmModal",
5723
5771
  componentSlots: {}
5724
5772
  });
5725
- }
5726
- );
5773
+ });
5774
+ };
5727
5775
  const showModal = (modalType, options, slots = {}) => {
5728
- modalStack.value.push({
5776
+ const modalComponent = {
5729
5777
  modalOptions: options,
5730
5778
  modalType,
5731
5779
  componentSlots: slots
5732
- });
5733
- if (modalType === "modalForm") return modalStack.value.at(-1);
5734
- return modalStack.value.at(-1);
5780
+ };
5781
+ modalStack.value.push(modalComponent);
5782
+ if (modalType === "modalForm") {
5783
+ return modalComponent;
5784
+ }
5785
+ return modalComponent;
5735
5786
  };
5736
5787
  app.provide(ModalSymbol, {
5737
5788
  showModal: (options, slots) => showModal("modal", options, slots),
5738
5789
  showModalForm: (options, slots) => showModal("modalForm", options, slots),
5739
- confirmModal: async (userOptions) => modalConfirm(userOptions),
5790
+ confirmModal: (options) => confirmModal(options),
5740
5791
  hideModal: (index2 = modalStack.value.length - 1) => {
5741
5792
  hideModal(index2);
5742
5793
  }
@@ -5752,13 +5803,14 @@ const ModalPlugin = {
5752
5803
  hideModal(index2);
5753
5804
  }
5754
5805
  };
5755
- if (modal.modalType === "modalForm") {
5756
- return h$2(ModalForm, props2, modal.componentSlots);
5757
- }
5758
- if (modal.modalType === "confirm") {
5759
- return h$2(_sfc_main$w, props2, {});
5806
+ switch (modal.modalType) {
5807
+ case "modalForm":
5808
+ return h$2(ModalForm, props2, modal.componentSlots);
5809
+ case "confirmModal":
5810
+ return h$2(_sfc_main$x, props2, {});
5811
+ default:
5812
+ return h$2(_sfc_main$P, props2, modal.componentSlots);
5760
5813
  }
5761
- return h$2(_sfc_main$O, props2, modal.componentSlots);
5762
5814
  });
5763
5815
  }
5764
5816
  });
@@ -5784,7 +5836,7 @@ function useLocalStorage(key, initialValue) {
5784
5836
  }, { immediate: true, deep: true });
5785
5837
  return value;
5786
5838
  }
5787
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
5839
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5788
5840
  __name: "MaterialIcon",
5789
5841
  props: {
5790
5842
  icon: {},
@@ -5802,13 +5854,13 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5802
5854
  };
5803
5855
  }
5804
5856
  });
5805
- const _hoisted_1$N = { class: "full-nav" };
5806
- const _hoisted_2$B = { class: "nav-scroll" };
5857
+ const _hoisted_1$O = { class: "full-nav" };
5858
+ const _hoisted_2$A = { class: "nav-scroll" };
5807
5859
  const _hoisted_3$p = { class: "nav-links-wrapper" };
5808
5860
  const _hoisted_4$h = { class: "tooltip" };
5809
5861
  const _hoisted_5$f = { class: "bot-buttons-wrapper" };
5810
5862
  const _hoisted_6$a = { class: "tooltip" };
5811
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5863
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5812
5864
  __name: "NavBar",
5813
5865
  props: {
5814
5866
  footerLinks: { default: () => [] },
@@ -5833,13 +5885,13 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5833
5885
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
5834
5886
  onKeypress: _cache[1] || (_cache[1] = withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
5835
5887
  }, [
5836
- createVNode(unref(_sfc_main$R), {
5888
+ createVNode(unref(_sfc_main$S), {
5837
5889
  icon: "chevron_right",
5838
5890
  class: "top-arrow"
5839
5891
  })
5840
5892
  ], 32),
5841
- createElementVNode("div", _hoisted_1$N, [
5842
- createElementVNode("div", _hoisted_2$B, [
5893
+ createElementVNode("div", _hoisted_1$O, [
5894
+ createElementVNode("div", _hoisted_2$A, [
5843
5895
  createElementVNode("div", _hoisted_3$p, [
5844
5896
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
5845
5897
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
@@ -5852,7 +5904,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5852
5904
  }
5853
5905
  }, {
5854
5906
  default: withCtx(() => [
5855
- createVNode(unref(_sfc_main$R), {
5907
+ createVNode(unref(_sfc_main$S), {
5856
5908
  icon: link.icon
5857
5909
  }, null, 8, ["icon"]),
5858
5910
  createElementVNode("div", _hoisted_4$h, toDisplayString(link.label), 1)
@@ -5874,7 +5926,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5874
5926
  }
5875
5927
  }, {
5876
5928
  default: withCtx(() => [
5877
- createVNode(unref(_sfc_main$R), {
5929
+ createVNode(unref(_sfc_main$S), {
5878
5930
  icon: link.icon
5879
5931
  }, null, 8, ["icon"]),
5880
5932
  createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
@@ -5889,16 +5941,16 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5889
5941
  };
5890
5942
  }
5891
5943
  });
5892
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-776cab4a"]]);
5893
- const _hoisted_1$M = {
5944
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
5945
+ const _hoisted_1$N = {
5894
5946
  key: 0,
5895
5947
  class: "loading"
5896
5948
  };
5897
- const _hoisted_2$A = {
5949
+ const _hoisted_2$z = {
5898
5950
  key: 1,
5899
5951
  class: "bgl_btn-flex"
5900
5952
  };
5901
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
5953
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5902
5954
  __name: "Btn",
5903
5955
  props: {
5904
5956
  disabled: { type: Boolean, default: false },
@@ -5922,8 +5974,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5922
5974
  },
5923
5975
  setup(__props) {
5924
5976
  useCssVars((_ctx) => ({
5925
- "5953bce2": computedBackgroundColor.value,
5926
- "7b3cc0ac": cumputedTextColor.value
5977
+ "616bd948": computedBackgroundColor.value,
5978
+ "796e2f37": cumputedTextColor.value
5927
5979
  }));
5928
5980
  const props2 = __props;
5929
5981
  const isComponent = computed(() => {
@@ -5941,7 +5993,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5941
5993
  const computedDefaultColors = computed(
5942
5994
  () => ({
5943
5995
  backgroundColor: "var(--bgl-primary)",
5944
- color: props2.flat ? "var(--bgl-black)" : "var(--bgl-white)"
5996
+ color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
5945
5997
  })
5946
5998
  );
5947
5999
  function getThemeColors(theme) {
@@ -5992,8 +6044,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5992
6044
  onClick: withModifiers(_ctx.onClick, ["stop"])
5993
6045
  }, {
5994
6046
  default: withCtx(() => [
5995
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$M)) : (openBlock(), createElementBlock("div", _hoisted_2$A, [
5996
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
6047
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$N)) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
6048
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
5997
6049
  key: 0,
5998
6050
  icon: _ctx.icon
5999
6051
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -6001,7 +6053,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
6001
6053
  !unref(slots).default && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
6002
6054
  createTextVNode(toDisplayString(_ctx.value), 1)
6003
6055
  ], 64)) : createCommentVNode("", true),
6004
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$R), {
6056
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
6005
6057
  key: 2,
6006
6058
  icon: props2["icon.end"]
6007
6059
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -6012,20 +6064,20 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
6012
6064
  };
6013
6065
  }
6014
6066
  });
6015
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-895cf824"]]);
6016
- const _hoisted_1$L = {
6067
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
6068
+ const _hoisted_1$M = {
6017
6069
  key: 0,
6018
6070
  class: "tool-bar"
6019
6071
  };
6020
- const _hoisted_2$z = {
6072
+ const _hoisted_2$y = {
6021
6073
  key: 1,
6022
- class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6074
+ class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6023
6075
  };
6024
6076
  const _hoisted_3$o = {
6025
6077
  key: 2,
6026
6078
  class: "modal-footer mt-1"
6027
6079
  };
6028
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
6080
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
6029
6081
  __name: "Modal",
6030
6082
  props: {
6031
6083
  side: { type: Boolean },
@@ -6081,7 +6133,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6081
6133
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
6082
6134
  onKeydown: withKeys(closeModal, ["esc"])
6083
6135
  }, [
6084
- createVNode(unref(_sfc_main$E), {
6136
+ createVNode(unref(_sfc_main$F), {
6085
6137
  class: "modal",
6086
6138
  style: normalizeStyle({ ...maxWidth.value }),
6087
6139
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -6090,7 +6142,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6090
6142
  default: withCtx(() => {
6091
6143
  var _a2;
6092
6144
  return [
6093
- unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$L, [
6145
+ unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$M, [
6094
6146
  renderSlot(_ctx.$slots, "toolbar"),
6095
6147
  createVNode(unref(Btn), {
6096
6148
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -6098,15 +6150,15 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6098
6150
  icon: "close",
6099
6151
  onClick: closeModal
6100
6152
  }, null, 8, ["style"]),
6101
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$C), {
6153
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
6102
6154
  key: 0,
6103
6155
  class: "modal-title",
6104
6156
  tag: "h3",
6105
6157
  label: _ctx.title
6106
6158
  }, null, 8, ["label"])) : createCommentVNode("", true)
6107
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
6159
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$y, [
6108
6160
  createVNode(unref(Btn), {
6109
- class: "color-black position-start",
6161
+ class: "position-start",
6110
6162
  icon: "close",
6111
6163
  thin: "",
6112
6164
  color: "white",
@@ -6132,7 +6184,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6132
6184
  };
6133
6185
  }
6134
6186
  });
6135
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
6187
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6136
6188
  __name: "ModalForm",
6137
6189
  props: /* @__PURE__ */ mergeModels({
6138
6190
  side: { type: Boolean },
@@ -6193,7 +6245,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6193
6245
  }
6194
6246
  __expose({ setFormValues });
6195
6247
  return (_ctx, _cache) => {
6196
- return openBlock(), createBlock(unref(_sfc_main$O), {
6248
+ return openBlock(), createBlock(unref(_sfc_main$P), {
6197
6249
  ref_key: "modal",
6198
6250
  ref: modal,
6199
6251
  side: _ctx.side,
@@ -6246,12 +6298,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6246
6298
  };
6247
6299
  }
6248
6300
  });
6249
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-083a1b2d"]]);
6250
- const _hoisted_1$K = { class: "accordion-item" };
6251
- const _hoisted_2$y = ["aria-expanded", "aria-controls"];
6301
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
6302
+ const _hoisted_1$L = { class: "accordion-item" };
6303
+ const _hoisted_2$x = ["aria-expanded", "aria-controls"];
6252
6304
  const _hoisted_3$n = { class: "accordion-label" };
6253
6305
  const _hoisted_4$g = ["id", "aria-hidden"];
6254
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
6306
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6255
6307
  __name: "AccordionItem",
6256
6308
  props: {
6257
6309
  label: {},
@@ -6288,7 +6340,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6288
6340
  else if (accordionState.openItem === id) accordionState.openItem = null;
6289
6341
  }
6290
6342
  return (_ctx, _cache) => {
6291
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
6343
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
6292
6344
  createElementVNode("button", {
6293
6345
  "aria-expanded": unref(isOpen) ? "true" : "false",
6294
6346
  class: "accordion-head",
@@ -6301,9 +6353,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6301
6353
  createElementVNode("div", {
6302
6354
  class: normalizeClass(["accordion-icon", { open: unref(isOpen) }])
6303
6355
  }, [
6304
- createVNode(unref(_sfc_main$R), { icon: "expand_more" })
6356
+ createVNode(unref(_sfc_main$S), { icon: "expand_more" })
6305
6357
  ], 2)
6306
- ], 8, _hoisted_2$y),
6358
+ ], 8, _hoisted_2$x),
6307
6359
  createVNode(Transition, { name: "expand" }, {
6308
6360
  default: withCtx(() => [
6309
6361
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
@@ -6321,14 +6373,14 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6321
6373
  };
6322
6374
  }
6323
6375
  });
6324
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-f87b579d"]]);
6325
- const _sfc_main$L = {};
6326
- const _hoisted_1$J = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6327
- const _hoisted_2$x = { class: "p-1" };
6376
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f87b579d"]]);
6377
+ const _sfc_main$M = {};
6378
+ const _hoisted_1$K = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6379
+ const _hoisted_2$w = { class: "p-1" };
6328
6380
  const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
6329
6381
  function _sfc_render$2(_ctx, _cache) {
6330
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
6331
- createElementVNode("div", _hoisted_2$x, [
6382
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
6383
+ createElementVNode("div", _hoisted_2$w, [
6332
6384
  renderSlot(_ctx.$slots, "header")
6333
6385
  ]),
6334
6386
  createElementVNode("div", _hoisted_3$m, [
@@ -6336,10 +6388,10 @@ function _sfc_render$2(_ctx, _cache) {
6336
6388
  ])
6337
6389
  ]);
6338
6390
  }
6339
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$2]]);
6340
- const _hoisted_1$I = { class: "no-margin ellipsis line-height-14 pb-025" };
6341
- const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
6342
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
6391
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$2]]);
6392
+ const _hoisted_1$J = { class: "no-margin ellipsis line-height-14 pb-025" };
6393
+ const _hoisted_2$v = { class: "txt12 no-margin txt-gray ellipsis" };
6394
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6343
6395
  __name: "ListItem",
6344
6396
  props: {
6345
6397
  src: {},
@@ -6366,18 +6418,18 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6366
6418
  src: _ctx.src,
6367
6419
  size: 40
6368
6420
  }, null, 8, ["name", "src"])) : createCommentVNode("", true),
6369
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
6421
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
6370
6422
  key: 1,
6371
6423
  size: "1.2",
6372
6424
  class: "color-primary",
6373
6425
  icon: _ctx.icon
6374
6426
  }, null, 8, ["icon"])) : createCommentVNode("", true),
6375
6427
  createElementVNode("div", null, [
6376
- createElementVNode("p", _hoisted_1$I, [
6428
+ createElementVNode("p", _hoisted_1$J, [
6377
6429
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
6378
6430
  renderSlot(_ctx.$slots, "default")
6379
6431
  ]),
6380
- createElementVNode("p", _hoisted_2$w, [
6432
+ createElementVNode("p", _hoisted_2$v, [
6381
6433
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
6382
6434
  renderSlot(_ctx.$slots, "subtitle")
6383
6435
  ])
@@ -6388,9 +6440,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6388
6440
  };
6389
6441
  }
6390
6442
  });
6391
- const _hoisted_1$H = { class: "page-top" };
6392
- const _hoisted_2$v = { class: "top-title m-0" };
6393
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
6443
+ const _hoisted_1$I = { class: "page-top" };
6444
+ const _hoisted_2$u = { class: "top-title m-0" };
6445
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6394
6446
  __name: "PageTitle",
6395
6447
  props: {
6396
6448
  value: {
@@ -6400,8 +6452,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6400
6452
  },
6401
6453
  setup(__props) {
6402
6454
  return (_ctx, _cache) => {
6403
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
6404
- createElementVNode("h1", _hoisted_2$v, [
6455
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
6456
+ createElementVNode("h1", _hoisted_2$u, [
6405
6457
  renderSlot(_ctx.$slots, "default"),
6406
6458
  createTextVNode(" " + toDisplayString(__props.value), 1)
6407
6459
  ])
@@ -6723,14 +6775,14 @@ function useVerticalVirtualList(options, list) {
6723
6775
  containerRef
6724
6776
  };
6725
6777
  }
6726
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-5441d9cd"), n2 = n2(), popScopeId(), n2);
6727
- const _hoisted_1$G = {
6778
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-bd90dc89"), n2 = n2(), popScopeId(), n2);
6779
+ const _hoisted_1$H = {
6728
6780
  key: 0,
6729
6781
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
6730
6782
  };
6731
- const _hoisted_2$u = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1));
6783
+ const _hoisted_2$t = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1));
6732
6784
  const _hoisted_3$l = [
6733
- _hoisted_2$u
6785
+ _hoisted_2$t
6734
6786
  ];
6735
6787
  const _hoisted_4$f = { class: "infinite-wrapper" };
6736
6788
  const _hoisted_5$e = { class: "row first-row" };
@@ -6741,7 +6793,7 @@ const _hoisted_9$2 = ["onClick"];
6741
6793
  const _hoisted_10$1 = { key: 0 };
6742
6794
  const _hoisted_11$1 = ["value"];
6743
6795
  const _hoisted_12$1 = { key: 1 };
6744
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
6796
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6745
6797
  __name: "TableSchema",
6746
6798
  props: /* @__PURE__ */ mergeModels({
6747
6799
  selectedItems: {},
@@ -6757,7 +6809,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6757
6809
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6758
6810
  setup(__props, { emit: __emit }) {
6759
6811
  useCssVars((_ctx) => ({
6760
- "efa9c80e": unref(computedItemHiehgt)
6812
+ "38e39900": unref(computedItemHiehgt)
6761
6813
  }));
6762
6814
  const props2 = __props;
6763
6815
  const emit2 = __emit;
@@ -6878,7 +6930,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6878
6930
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
6879
6931
  class: { "loading-table": loading.value }
6880
6932
  }), [
6881
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, _hoisted_3$l)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
6933
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, _hoisted_3$l)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
6882
6934
  createElementVNode("table", _hoisted_4$f, [
6883
6935
  createElementVNode("thead", _hoisted_5$e, [
6884
6936
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$9, [
@@ -6902,7 +6954,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6902
6954
  createElementVNode("div", {
6903
6955
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
6904
6956
  }, [
6905
- createVNode(unref(_sfc_main$R), {
6957
+ createVNode(unref(_sfc_main$S), {
6906
6958
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
6907
6959
  icon: "keyboard_arrow_up"
6908
6960
  }, null, 8, ["class"])
@@ -6960,16 +7012,16 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6960
7012
  };
6961
7013
  }
6962
7014
  });
6963
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-5441d9cd"]]);
6964
- const _sfc_main$H = {};
6965
- const _hoisted_1$F = { class: "flex space-between" };
7015
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-bd90dc89"]]);
7016
+ const _sfc_main$I = {};
7017
+ const _hoisted_1$G = { class: "flex space-between" };
6966
7018
  function _sfc_render$1(_ctx, _cache) {
6967
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
7019
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
6968
7020
  renderSlot(_ctx.$slots, "default")
6969
7021
  ]);
6970
7022
  }
6971
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$1]]);
6972
- const _sfc_main$G = {};
7023
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
7024
+ const _sfc_main$H = {};
6973
7025
  function _sfc_render(_ctx, _cache) {
6974
7026
  const _component_router_view = resolveComponent("router-view");
6975
7027
  return openBlock(), createBlock(_component_router_view, null, {
@@ -6991,12 +7043,12 @@ function _sfc_render(_ctx, _cache) {
6991
7043
  _: 1
6992
7044
  });
6993
7045
  }
6994
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render]]);
6995
- const _hoisted_1$E = {
7046
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
7047
+ const _hoisted_1$F = {
6996
7048
  key: 0,
6997
7049
  class: "data"
6998
7050
  };
6999
- const _hoisted_2$t = {
7051
+ const _hoisted_2$s = {
7000
7052
  key: 0,
7001
7053
  class: "data-row m_py-05"
7002
7054
  };
@@ -7013,7 +7065,7 @@ const _hoisted_9$1 = {
7013
7065
  key: 0,
7014
7066
  class: "m-0"
7015
7067
  };
7016
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
7068
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7017
7069
  __name: "DataPreview",
7018
7070
  props: /* @__PURE__ */ mergeModels({
7019
7071
  showFields: {},
@@ -7049,8 +7101,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7049
7101
  const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
7050
7102
  return (_ctx, _cache) => {
7051
7103
  var _a2;
7052
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
7053
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$C), {
7104
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
7105
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
7054
7106
  key: 0,
7055
7107
  label: _ctx.title
7056
7108
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -7058,7 +7110,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7058
7110
  return openBlock(), createElementBlock(Fragment$1, {
7059
7111
  key: field.id
7060
7112
  }, [
7061
- unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
7113
+ unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
7062
7114
  createElementVNode("div", _hoisted_3$k, [
7063
7115
  createElementVNode("p", _hoisted_4$e, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
7064
7116
  ]),
@@ -7091,12 +7143,12 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7091
7143
  };
7092
7144
  }
7093
7145
  });
7094
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-4d174f13"]]);
7095
- const _hoisted_1$D = {
7146
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
7147
+ const _hoisted_1$E = {
7096
7148
  key: 0,
7097
7149
  class: "card_label"
7098
7150
  };
7099
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
7151
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7100
7152
  __name: "Card",
7101
7153
  props: {
7102
7154
  label: {},
@@ -7124,7 +7176,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7124
7176
  }])
7125
7177
  }, {
7126
7178
  default: withCtx(() => [
7127
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
7179
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
7128
7180
  renderSlot(_ctx.$slots, "default")
7129
7181
  ]),
7130
7182
  _: 3
@@ -7132,8 +7184,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7132
7184
  };
7133
7185
  }
7134
7186
  });
7135
- const _hoisted_1$C = ["src", "alt"];
7136
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
7187
+ const _hoisted_1$D = ["src", "alt"];
7188
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7137
7189
  __name: "Avatar",
7138
7190
  props: {
7139
7191
  fallback: {},
@@ -7151,16 +7203,16 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7151
7203
  key: 0,
7152
7204
  src: _ctx.src,
7153
7205
  alt: _ctx.name
7154
- }, null, 8, _hoisted_1$C)) : (openBlock(), createElementBlock("p", {
7206
+ }, null, 8, _hoisted_1$D)) : (openBlock(), createElementBlock("p", {
7155
7207
  key: 1,
7156
7208
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
7157
- }, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
7209
+ }, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
7158
7210
  ], 4);
7159
7211
  };
7160
7212
  }
7161
7213
  });
7162
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-dd2f6734"]]);
7163
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
7214
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-46ad8c25"]]);
7215
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7164
7216
  __name: "Title",
7165
7217
  props: {
7166
7218
  value: {
@@ -7188,7 +7240,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7188
7240
  };
7189
7241
  }
7190
7242
  });
7191
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
7243
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7192
7244
  __name: "Accordion",
7193
7245
  setup(__props) {
7194
7246
  const state2 = reactive({
@@ -7202,9 +7254,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7202
7254
  };
7203
7255
  }
7204
7256
  });
7205
- const _hoisted_1$B = ["dismissable"];
7206
- const _hoisted_2$s = { class: "m-0" };
7207
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
7257
+ const _hoisted_1$C = ["dismissable"];
7258
+ const _hoisted_2$r = { class: "m-0" };
7259
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7208
7260
  __name: "Alert",
7209
7261
  props: {
7210
7262
  message: {},
@@ -7225,14 +7277,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7225
7277
  class: normalizeClass(["alert", [_ctx.type]]),
7226
7278
  dismissable: _ctx.dismissable
7227
7279
  }, [
7228
- _ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$R), {
7280
+ _ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$S), {
7229
7281
  key: 0,
7230
7282
  class: "alert_icon",
7231
7283
  icon: _ctx.icon || _ctx.type,
7232
7284
  size: 2,
7233
7285
  color: color2[_ctx.type]
7234
7286
  }, null, 8, ["icon", "color"])) : createCommentVNode("", true),
7235
- createElementVNode("p", _hoisted_2$s, toDisplayString(_ctx.message), 1),
7287
+ createElementVNode("p", _hoisted_2$r, toDisplayString(_ctx.message), 1),
7236
7288
  createVNode(Btn, {
7237
7289
  flat: "",
7238
7290
  thin: "",
@@ -7240,12 +7292,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7240
7292
  icon: "close",
7241
7293
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
7242
7294
  })
7243
- ], 10, _hoisted_1$B)) : createCommentVNode("", true);
7295
+ ], 10, _hoisted_1$C)) : createCommentVNode("", true);
7244
7296
  };
7245
7297
  }
7246
7298
  });
7247
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-1322d9e1"]]);
7248
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
7299
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
7300
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7249
7301
  __name: "Badge",
7250
7302
  props: {
7251
7303
  color: {},
@@ -7261,13 +7313,13 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7261
7313
  return openBlock(), createElementBlock("div", {
7262
7314
  class: normalizeClass(["pill", [_ctx.color]])
7263
7315
  }, [
7264
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
7316
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
7265
7317
  key: 0,
7266
7318
  class: "inline",
7267
7319
  icon: _ctx.icon
7268
7320
  }, null, 8, ["icon"])) : createCommentVNode("", true),
7269
7321
  createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
7270
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$R), {
7322
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
7271
7323
  key: 1,
7272
7324
  class: "inline",
7273
7325
  icon: props2["icon.end"]
@@ -7276,10 +7328,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7276
7328
  };
7277
7329
  }
7278
7330
  });
7279
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-532b36ae"]]);
7280
- const _hoisted_1$A = ["src"];
7281
- const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
7282
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
7331
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
7332
+ const _hoisted_1$B = ["src"];
7333
+ const _hoisted_2$q = ["src", "autoplay", "muted", "loop", "controls"];
7334
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7283
7335
  __name: "BglVideo",
7284
7336
  props: {
7285
7337
  src: {},
@@ -7334,7 +7386,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7334
7386
  allowfullscreen: "",
7335
7387
  title: "Video",
7336
7388
  allow: "autoplay"
7337
- }, null, 12, _hoisted_1$A)) : _ctx.src ? (openBlock(), createElementBlock("video", {
7389
+ }, null, 12, _hoisted_1$B)) : _ctx.src ? (openBlock(), createElementBlock("video", {
7338
7390
  key: 1,
7339
7391
  src: _ctx.src,
7340
7392
  autoplay: _ctx.autoplay,
@@ -7343,18 +7395,18 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7343
7395
  style: normalizeStyle({ aspectRatio: aspectRatio.value }),
7344
7396
  controls: _ctx.controls,
7345
7397
  playsinline: ""
7346
- }, null, 12, _hoisted_2$r)) : createCommentVNode("", true)
7398
+ }, null, 12, _hoisted_2$q)) : createCommentVNode("", true)
7347
7399
  ], 2);
7348
7400
  };
7349
7401
  }
7350
7402
  });
7351
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-8495afe2"]]);
7352
- const _hoisted_1$z = {
7403
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
7404
+ const _hoisted_1$A = {
7353
7405
  key: 0,
7354
7406
  class: "blocker"
7355
7407
  };
7356
- const _hoisted_2$q = { class: "Handlers" };
7357
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
7408
+ const _hoisted_2$p = { class: "Handlers" };
7409
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7358
7410
  __name: "Carousel",
7359
7411
  props: {
7360
7412
  autoHeight: {
@@ -7502,10 +7554,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7502
7554
  onScrollend: scrollEnd,
7503
7555
  onMousedown: startDragging
7504
7556
  }, [
7505
- unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$z)) : createCommentVNode("", true),
7557
+ unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$A)) : createCommentVNode("", true),
7506
7558
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7507
7559
  ], 34),
7508
- createElementVNode("div", _hoisted_2$q, [
7560
+ createElementVNode("div", _hoisted_2$p, [
7509
7561
  createElementVNode("span", { onClick: prev }, [
7510
7562
  renderSlot(_ctx.$slots, "prev", {
7511
7563
  prev,
@@ -7523,10 +7575,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7523
7575
  };
7524
7576
  }
7525
7577
  });
7526
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1f9c6644"]]);
7527
- const _hoisted_1$y = { class: "m-0" };
7528
- const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
7529
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
7578
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
7579
+ const _hoisted_1$z = { class: "pb-05 pretty" };
7580
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7530
7581
  __name: "ModalConfirm",
7531
7582
  props: {
7532
7583
  title: {},
@@ -7542,10 +7593,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7542
7593
  emit2("update:visible");
7543
7594
  }
7544
7595
  return (_ctx, _cache) => {
7545
- return openBlock(), createBlock(unref(_sfc_main$O), {
7596
+ return openBlock(), createBlock(unref(_sfc_main$P), {
7597
+ title: _ctx.title,
7546
7598
  width: "380px",
7547
7599
  dismissable: false,
7548
- class: "color-black txt-center"
7600
+ class: "txt-center"
7549
7601
  }, {
7550
7602
  footer: withCtx(() => [
7551
7603
  createVNode(unref(Btn), {
@@ -7561,24 +7613,90 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7561
7613
  })
7562
7614
  ]),
7563
7615
  default: withCtx(() => [
7564
- createElementVNode("h3", _hoisted_1$y, toDisplayString(_ctx.title), 1),
7565
- createElementVNode("p", _hoisted_2$p, toDisplayString(_ctx.message), 1)
7616
+ createElementVNode("p", _hoisted_1$z, toDisplayString(_ctx.message), 1)
7566
7617
  ]),
7567
7618
  _: 1
7568
- });
7619
+ }, 8, ["title"]);
7569
7620
  };
7570
7621
  }
7571
7622
  });
7572
- const _hoisted_1$x = { class: "map-test" };
7573
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
7623
+ const _hoisted_1$y = ["id"];
7624
+ 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>';
7625
+ const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
7626
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7574
7627
  __name: "MapEmbed",
7628
+ props: {
7629
+ center: { default: () => [31.7683, 35.2137] },
7630
+ zoom: { default: 13 },
7631
+ height: { default: 400 },
7632
+ zoomControl: { type: Boolean, default: true },
7633
+ markers: {},
7634
+ markerIcon: { default: "" }
7635
+ },
7575
7636
  setup(__props) {
7637
+ const props2 = __props;
7638
+ let L2 = ref();
7639
+ let map4 = ref();
7640
+ const _markers = ref([]);
7641
+ const id = ref(Math.random().toString(36).substring(2, 10));
7642
+ function loadGlobalL() {
7643
+ return new Promise(async (resolve) => {
7644
+ while (!window.L) await sleep(100);
7645
+ resolve(window.L);
7646
+ });
7647
+ }
7648
+ async function initializeMap() {
7649
+ await appendScript(leafletScriptUrl);
7650
+ L2.value = await loadGlobalL();
7651
+ if (!map4.value) {
7652
+ map4.value = L2.value.map(id.value, {
7653
+ center: props2.center,
7654
+ zoom: props2.zoom,
7655
+ zoomControl: props2.zoomControl
7656
+ });
7657
+ L2.value.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
7658
+ }
7659
+ }
7660
+ function addMarker(L22, latlng) {
7661
+ const iconSVG = props2.markerIcon || defaultMarkerSVG;
7662
+ const customIcon = L22.icon({
7663
+ iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
7664
+ iconSize: [32, 32]
7665
+ });
7666
+ const marker = L22.marker(latlng, { icon: customIcon }).addTo(map4.value);
7667
+ _markers.value.push(marker);
7668
+ }
7669
+ function fitMarkers(L22) {
7670
+ var _a2;
7671
+ if (_markers.value.length > 0) {
7672
+ (_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L22.featureGroup(_markers.value).getBounds());
7673
+ }
7674
+ }
7675
+ watch(
7676
+ () => props2.markers,
7677
+ async (markers) => {
7678
+ _markers.value.forEach((marker) => marker.remove());
7679
+ if (!markers) return;
7680
+ for (const marker of markers) {
7681
+ const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon];
7682
+ if (!map4.value) initializeMap();
7683
+ addMarker(L2.value, [lat, lon]);
7684
+ fitMarkers(L2.value);
7685
+ }
7686
+ },
7687
+ { immediate: true }
7688
+ );
7689
+ onMounted(initializeMap);
7576
7690
  return (_ctx, _cache) => {
7577
- return openBlock(), createElementBlock("div", _hoisted_1$x);
7691
+ return openBlock(), createElementBlock("div", {
7692
+ id: id.value,
7693
+ class: "leaflet-map",
7694
+ style: normalizeStyle({ height: `${props2.height || 400}px` })
7695
+ }, null, 12, _hoisted_1$y);
7578
7696
  };
7579
7697
  }
7580
7698
  });
7581
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
7699
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7582
7700
  __name: "Flag",
7583
7701
  props: {
7584
7702
  country: {},
@@ -7608,7 +7726,67 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
7608
7726
  };
7609
7727
  }
7610
7728
  });
7611
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-f99f1900"]]);
7729
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f99f1900"]]);
7730
+ const _hoisted_1$x = { class: "relative" };
7731
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
7732
+ __name: "AddressSearch",
7733
+ emits: ["addressSelected"],
7734
+ setup(__props, { emit: __emit }) {
7735
+ const emit2 = __emit;
7736
+ let addressInput = ref("");
7737
+ let searchResults = ref([]);
7738
+ const suggestion = ref();
7739
+ function emitAddress(address) {
7740
+ emit2("addressSelected", address);
7741
+ searchResults.value = [];
7742
+ addressInput.value = "";
7743
+ }
7744
+ async function searchAddresses() {
7745
+ var _a2;
7746
+ const addressURL = addressInput.value.replace(/\s+/g, "+");
7747
+ const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(addressURL)}`;
7748
+ const res = await fetch(geocodeUrl);
7749
+ searchResults.value = await res.json() || [];
7750
+ console.log(suggestion.value);
7751
+ (_a2 = suggestion.value) == null ? void 0 : _a2.show();
7752
+ }
7753
+ return (_ctx, _cache) => {
7754
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
7755
+ createVNode(unref(kt$1), {
7756
+ ref_key: "suggestion",
7757
+ ref: suggestion,
7758
+ noAutoFocus: true,
7759
+ placement: "bottom-start"
7760
+ }, {
7761
+ popper: withCtx(() => [
7762
+ createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
7763
+ default: withCtx(() => [
7764
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(searchResults), (result2, index2) => {
7765
+ return openBlock(), createBlock(unref(_sfc_main$L), {
7766
+ key: index2,
7767
+ icon: "location_on",
7768
+ title: result2.display_name,
7769
+ onClick: ($event) => emitAddress(result2)
7770
+ }, null, 8, ["title", "onClick"]);
7771
+ }), 128))
7772
+ ]),
7773
+ _: 1
7774
+ })
7775
+ ]),
7776
+ default: withCtx(() => [
7777
+ createVNode(unref(TextInput), {
7778
+ modelValue: unref(addressInput),
7779
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(addressInput) ? addressInput.value = $event : addressInput = $event),
7780
+ placeholder: "Enter address",
7781
+ onDebounce: searchAddresses
7782
+ }, null, 8, ["modelValue"])
7783
+ ]),
7784
+ _: 1
7785
+ }, 512)
7786
+ ]);
7787
+ };
7788
+ }
7789
+ });
7612
7790
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
7613
7791
  __name: "BglForm",
7614
7792
  props: {
@@ -7701,7 +7879,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
7701
7879
  return (_ctx, _cache) => {
7702
7880
  return openBlock(), createElementBlock(Fragment$1, null, [
7703
7881
  _ctx.id ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
7704
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$C), {
7882
+ _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
7705
7883
  key: 0,
7706
7884
  tag: "h4",
7707
7885
  label: _ctx.label
@@ -7725,7 +7903,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
7725
7903
  ref: form,
7726
7904
  onSubmit: withModifiers(runSubmit, ["prevent"])
7727
7905
  }, [
7728
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$C), {
7906
+ _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
7729
7907
  key: 0,
7730
7908
  tag: "h4",
7731
7909
  label: _ctx.label
@@ -16708,7 +16886,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16708
16886
  onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
16709
16887
  }, {
16710
16888
  popper: withCtx(() => [
16711
- createVNode(unref(_sfc_main$E), {
16889
+ createVNode(unref(_sfc_main$F), {
16712
16890
  class: "p-05",
16713
16891
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
16714
16892
  }, {
@@ -16737,12 +16915,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16737
16915
  onKeydown: withKeys(($event) => select2(option2), ["enter"])
16738
16916
  }, [
16739
16917
  _ctx.multiselect ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
16740
- isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$R), {
16918
+ isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
16741
16919
  key: 0,
16742
16920
  size: 1.1,
16743
16921
  icon: "select_check_box"
16744
16922
  })) : createCommentVNode("", true),
16745
- !isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$R), {
16923
+ !isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
16746
16924
  key: 1,
16747
16925
  class: "opacity-3",
16748
16926
  icon: "check_box_outline_blank",
@@ -16769,7 +16947,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16769
16947
  onKeydown: openOptions,
16770
16948
  onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
16771
16949
  }, [
16772
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
16950
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
16773
16951
  key: 0,
16774
16952
  icon: _ctx.icon
16775
16953
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -16786,7 +16964,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16786
16964
  })
16787
16965
  })
16788
16966
  ])) : createCommentVNode("", true),
16789
- !_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$R), mergeProps({
16967
+ !_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$S), mergeProps({
16790
16968
  key: 3,
16791
16969
  thin: ""
16792
16970
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
@@ -19390,7 +19568,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19390
19568
  class: "flex table-row"
19391
19569
  }, [
19392
19570
  createElementVNode("div", _hoisted_5$b, [
19393
- createVNode(unref(_sfc_main$R), { icon: "more_vert" })
19571
+ createVNode(unref(_sfc_main$S), { icon: "more_vert" })
19394
19572
  ]),
19395
19573
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
19396
19574
  return openBlock(), createElementBlock("div", {
@@ -19407,7 +19585,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19407
19585
  ], 2);
19408
19586
  }), 128)),
19409
19587
  createElementVNode("div", _hoisted_6$6, [
19410
- createVNode(unref(_sfc_main$R), {
19588
+ createVNode(unref(_sfc_main$S), {
19411
19589
  icon: "delete",
19412
19590
  onClick: ($event) => removeRow2(index2)
19413
19591
  }, null, 8, ["onClick"])
@@ -19437,7 +19615,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19437
19615
  };
19438
19616
  }
19439
19617
  });
19440
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-515f5dc9"]]);
19618
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
19441
19619
  const _hoisted_1$q = ["title"];
19442
19620
  const _hoisted_2$j = ["for"];
19443
19621
  const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
@@ -19564,12 +19742,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19564
19742
  ]),
19565
19743
  _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$a, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
19566
19744
  ], 8, _hoisted_2$j),
19567
- _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$R), {
19745
+ _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$S), {
19568
19746
  key: 0,
19569
19747
  class: "iconStart",
19570
19748
  icon: _ctx.iconStart
19571
19749
  }, null, 8, ["icon"])) : createCommentVNode("", true),
19572
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
19750
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
19573
19751
  key: 1,
19574
19752
  icon: _ctx.icon
19575
19753
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -19577,7 +19755,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19577
19755
  };
19578
19756
  }
19579
19757
  });
19580
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-edac341b"]]);
19758
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
19581
19759
  const _hoisted_1$p = { class: "primary-checkbox" };
19582
19760
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
19583
19761
  __name: "Checkbox",
@@ -19601,7 +19779,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19601
19779
  };
19602
19780
  }
19603
19781
  });
19604
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-032d6226"]]);
19782
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
19605
19783
  const _hoisted_1$o = ["title"];
19606
19784
  const _hoisted_2$i = ["id", "placeholder", "required"];
19607
19785
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
@@ -19800,7 +19978,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19800
19978
  };
19801
19979
  }
19802
19980
  });
19803
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-d86ce838"]]);
19981
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
19804
19982
  const _hoisted_1$l = { class: "bagel-input" };
19805
19983
  const _hoisted_2$f = {
19806
19984
  key: 0,
@@ -20005,7 +20183,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20005
20183
  alt: ""
20006
20184
  }, null, 8, _hoisted_3$c)), [
20007
20185
  [_directive_lightbox]
20008
- ]) : (openBlock(), createBlock(unref(_sfc_main$R), {
20186
+ ]) : (openBlock(), createBlock(unref(_sfc_main$S), {
20009
20187
  key: 1,
20010
20188
  icon: "draft",
20011
20189
  class: "multi-preview"
@@ -20033,7 +20211,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20033
20211
  src: fileToUrl(fileQ.file),
20034
20212
  alt: ""
20035
20213
  }, null, 8, _hoisted_5$7)) : createCommentVNode("", true)
20036
- ], 64)) : (openBlock(), createBlock(unref(_sfc_main$R), {
20214
+ ], 64)) : (openBlock(), createBlock(unref(_sfc_main$S), {
20037
20215
  key: 1,
20038
20216
  icon: "draft",
20039
20217
  class: "multi-preview"
@@ -20044,7 +20222,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20044
20222
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20045
20223
  }, [
20046
20224
  fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
20047
- createVNode(unref(_sfc_main$R), {
20225
+ createVNode(unref(_sfc_main$S), {
20048
20226
  class: "success",
20049
20227
  icon: "check"
20050
20228
  })
@@ -20065,7 +20243,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20065
20243
  alt: ""
20066
20244
  }, null, 8, _hoisted_9)), [
20067
20245
  [_directive_lightbox]
20068
- ]) : (openBlock(), createBlock(unref(_sfc_main$R), {
20246
+ ]) : (openBlock(), createBlock(unref(_sfc_main$S), {
20069
20247
  key: 1,
20070
20248
  size: 4,
20071
20249
  weight: "2",
@@ -20084,7 +20262,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20084
20262
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20085
20263
  }, [
20086
20264
  fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
20087
- createVNode(unref(_sfc_main$R), {
20265
+ createVNode(unref(_sfc_main$S), {
20088
20266
  class: "success",
20089
20267
  icon: "check"
20090
20268
  })
@@ -20106,7 +20284,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20106
20284
  browse
20107
20285
  }, () => [
20108
20286
  createElementVNode("p", _hoisted_12, [
20109
- createVNode(unref(_sfc_main$R), { icon: "upload_2" }),
20287
+ createVNode(unref(_sfc_main$S), { icon: "upload_2" }),
20110
20288
  createTextVNode(" Drop files here or click to upload ")
20111
20289
  ])
20112
20290
  ], true) : createCommentVNode("", true)
@@ -20115,8 +20293,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
20115
20293
  };
20116
20294
  }
20117
20295
  });
20118
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e8b1219f"]]);
20119
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-06b95183"), n2 = n2(), popScopeId(), n2);
20296
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-298b3d5b"]]);
20297
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-0a2b089d"), n2 = n2(), popScopeId(), n2);
20120
20298
  const _hoisted_1$k = ["title"];
20121
20299
  const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
20122
20300
  const _hoisted_3$b = [
@@ -20170,7 +20348,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20170
20348
  };
20171
20349
  }
20172
20350
  });
20173
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-06b95183"]]);
20351
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
20174
20352
  function OrderedMap(content) {
20175
20353
  this.content = content;
20176
20354
  }
@@ -33505,7 +33683,11 @@ function createNodeFromContent(content, schema, options) {
33505
33683
  if (isArrayContent) {
33506
33684
  return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
33507
33685
  }
33508
- return schema.nodeFromJSON(content);
33686
+ const node = schema.nodeFromJSON(content);
33687
+ if (options.errorOnInvalidContent) {
33688
+ node.check();
33689
+ }
33690
+ return node;
33509
33691
  } catch (error) {
33510
33692
  if (options.errorOnInvalidContent) {
33511
33693
  throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
@@ -46400,8 +46582,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
46400
46582
  "name": "",
46401
46583
  "readonly": false,
46402
46584
  "tabindex": 0,
46403
- "style": "",
46404
- "placeholder": "Enter a phone number"
46585
+ "style": ""
46586
+ // 'placeholder': 'Enter a phone number',
46405
46587
  };
46406
46588
  const computedDropDownOptions = computed(() => ({
46407
46589
  ...defaultDropdownOptions,
@@ -46638,7 +46820,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
46638
46820
  class: "flex gap-05",
46639
46821
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(open) ? open.value = true : open = true)
46640
46822
  }, [
46641
- createVNode(unref(_sfc_main$R), {
46823
+ createVNode(unref(_sfc_main$S), {
46642
46824
  icon: unref(open) ? "collapse_all" : "expand_all"
46643
46825
  }, null, 8, ["icon"]),
46644
46826
  computedDropDownOptions.value.showFlags && unref(activeCountryCode) ? (openBlock(), createBlock(unref(Flag), {
@@ -46653,7 +46835,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
46653
46835
  id: _ctx.id,
46654
46836
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phone.value = $event),
46655
46837
  required: _ctx.required,
46656
- placeholder: computedInputOptions.value.placeholder,
46838
+ placeholder: props2.placeholder || "Enter a phone number",
46657
46839
  disabled: _ctx.disabled,
46658
46840
  type: "tel",
46659
46841
  autocomplete: _ctx.autocomplete,
@@ -46682,9 +46864,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
46682
46864
  };
46683
46865
  }
46684
46866
  });
46685
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
46867
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-17a4fdd5"]]);
46686
46868
  /*!
46687
- * Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
46869
+ * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
46688
46870
  * (c) 2024 Szymon Nowak | Released under the MIT license
46689
46871
  */
46690
46872
  class Point {
@@ -46724,7 +46906,7 @@ class Bezier {
46724
46906
  const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
46725
46907
  const dxm = m1.x - m2.x;
46726
46908
  const dym = m1.y - m2.y;
46727
- const k2 = l2 / (l1 + l2);
46909
+ const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
46728
46910
  const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
46729
46911
  const tx = s2.x - cm.x;
46730
46912
  const ty = s2.y - cm.y;
@@ -47651,10 +47833,10 @@ function createTable() {
47651
47833
  }
47652
47834
  const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
47653
47835
  const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
47654
- const _hoisted_3$9 = { class: "content-area rounded p-1 bg-white shadow-light w-100 grid" };
47836
+ const _hoisted_3$9 = { class: "content-area rounded p-1 shadow-light w-100 grid" };
47655
47837
  const _hoisted_4$5 = {
47656
47838
  key: 0,
47657
- class: "preview-area bg-black color-white w-100 rounded p-1"
47839
+ class: "preview-area w-100 rounded p-1"
47658
47840
  };
47659
47841
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
47660
47842
  __name: "index",
@@ -47815,7 +47997,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
47815
47997
  };
47816
47998
  }
47817
47999
  });
47818
- const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c9729efd"]]);
48000
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
47819
48001
  const _hoisted_1$e = ["for"];
47820
48002
  const _hoisted_2$a = ["id", "name", "value"];
47821
48003
  const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
@@ -47863,7 +48045,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47863
48045
  createElementVNode("div", _hoisted_3$8, [
47864
48046
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
47865
48047
  key: 0,
47866
- class: "bg-white shadow-light py-025 rounded m_w40",
48048
+ class: "bg-popup shadow-light py-025 rounded m_w40",
47867
48049
  width: "60",
47868
48050
  src: opt.imgSrc,
47869
48051
  alt: opt.imgAlt
@@ -47888,7 +48070,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47888
48070
  };
47889
48071
  }
47890
48072
  });
47891
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ac3dc0e2"]]);
48073
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
47892
48074
  const _hoisted_1$d = { class: "relative" };
47893
48075
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47894
48076
  __name: "PasswordInput",
@@ -47897,7 +48079,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47897
48079
  }, {
47898
48080
  "modelValue": {},
47899
48081
  "modelModifiers": {},
47900
- "showPwd": { default: false },
48082
+ "showPwd": { type: Boolean, ...{ default: false } },
47901
48083
  "showPwdModifiers": {}
47902
48084
  }),
47903
48085
  emits: ["update:modelValue", "update:showPwd"],
@@ -54067,7 +54249,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
54067
54249
  }
54068
54250
  });
54069
54251
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
54070
- const _withScopeId = (n2) => (pushScopeId("data-v-8fdf4035"), n2 = n2(), popScopeId(), n2);
54252
+ const _withScopeId = (n2) => (pushScopeId("data-v-d15c030d"), n2 = n2(), popScopeId(), n2);
54071
54253
  const _hoisted_1$5 = { class: "w-100 px-075" };
54072
54254
  const _hoisted_2$1 = { key: 0 };
54073
54255
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
@@ -54090,7 +54272,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54090
54272
  }
54091
54273
  return (_ctx, _cache) => {
54092
54274
  const _directive_tooltip = resolveDirective("tooltip");
54093
- return openBlock(), createBlock(unref(_sfc_main$E), {
54275
+ return openBlock(), createBlock(unref(_sfc_main$F), {
54094
54276
  class: normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: unref(isOpen) }])
54095
54277
  }, {
54096
54278
  default: withCtx(() => [
@@ -54113,7 +54295,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54113
54295
  class: "nav-button px-075"
54114
54296
  }, {
54115
54297
  default: withCtx(() => [
54116
- createVNode(unref(_sfc_main$R), {
54298
+ createVNode(unref(_sfc_main$S), {
54117
54299
  icon: nav2.icon,
54118
54300
  size: 1.4
54119
54301
  }, null, 8, ["icon"]),
@@ -54141,7 +54323,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54141
54323
  };
54142
54324
  }
54143
54325
  });
54144
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8fdf4035"]]);
54326
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
54145
54327
  const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
54146
54328
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54147
54329
  __name: "BottomMenu",
@@ -54150,7 +54332,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54150
54332
  },
54151
54333
  setup(__props) {
54152
54334
  return (_ctx, _cache) => {
54153
- return openBlock(), createBlock(unref(_sfc_main$E), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54335
+ return openBlock(), createBlock(unref(_sfc_main$F), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54154
54336
  default: withCtx(() => [
54155
54337
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
54156
54338
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.navLinks, (nav2, i2) => {
@@ -54161,7 +54343,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54161
54343
  onClick: nav2.onClick
54162
54344
  }, {
54163
54345
  default: withCtx(() => [
54164
- createVNode(unref(_sfc_main$R), {
54346
+ createVNode(unref(_sfc_main$S), {
54165
54347
  icon: nav2.icon,
54166
54348
  size: 1.4,
54167
54349
  class: "m-0"
@@ -54177,7 +54359,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54177
54359
  };
54178
54360
  }
54179
54361
  });
54180
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d8a5051a"]]);
54362
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
54181
54363
  const state = reactive(/* @__PURE__ */ new Map());
54182
54364
  function useTabs(group) {
54183
54365
  if (!state.has(group)) {
@@ -54314,7 +54496,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
54314
54496
  class: normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
54315
54497
  onClick: ($event) => selectTab(tab)
54316
54498
  }, [
54317
- typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
54499
+ typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
54318
54500
  key: 0,
54319
54501
  icon: tab.icon
54320
54502
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -54325,7 +54507,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
54325
54507
  };
54326
54508
  }
54327
54509
  });
54328
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-4b4c19a0"]]);
54510
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
54329
54511
  const _hoisted_1$1 = { key: 0 };
54330
54512
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
54331
54513
  __name: "TabsBody",
@@ -54733,8 +54915,9 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
54733
54915
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
54734
54916
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
54735
54917
  export {
54736
- _sfc_main$B as Accordion,
54918
+ _sfc_main$C as Accordion,
54737
54919
  AccordionItem,
54920
+ _sfc_main$u as AddressSearch,
54738
54921
  Alert,
54739
54922
  Avatar,
54740
54923
  Badge,
@@ -54746,7 +54929,7 @@ export {
54746
54929
  BglVideo,
54747
54930
  BottomMenu,
54748
54931
  Btn,
54749
- _sfc_main$E as Card,
54932
+ _sfc_main$F as Card,
54750
54933
  Carousel,
54751
54934
  CheckInput,
54752
54935
  Checkbox,
@@ -54759,20 +54942,20 @@ export {
54759
54942
  Flag,
54760
54943
  IMAGE_FORMATS,
54761
54944
  IMAGE_FORMATS_REGEXP,
54762
- _sfc_main$R as Icon,
54945
+ _sfc_main$S as Icon,
54763
54946
  JSONInput,
54764
54947
  Layout,
54765
54948
  _sfc_main$7 as Lineart,
54766
- _sfc_main$K as ListItem,
54949
+ _sfc_main$L as ListItem,
54767
54950
  ListView,
54768
- _sfc_main$v as MapEmbed,
54769
- _sfc_main$R as MaterialIcon,
54770
- _sfc_main$O as Modal,
54771
- _sfc_main$w as ModalConfirm,
54951
+ _sfc_main$w as MapEmbed,
54952
+ _sfc_main$S as MaterialIcon,
54953
+ _sfc_main$P as Modal,
54954
+ _sfc_main$x as ModalConfirm,
54772
54955
  ModalForm,
54773
54956
  ModalPlugin,
54774
54957
  NavBar,
54775
- _sfc_main$J as PageTitle,
54958
+ _sfc_main$K as PageTitle,
54776
54959
  _sfc_main$8 as PasswordInput,
54777
54960
  RadioGroup,
54778
54961
  RadioPillsInput,
@@ -54790,12 +54973,13 @@ export {
54790
54973
  TabsNav,
54791
54974
  TelInput,
54792
54975
  TextInput,
54793
- _sfc_main$C as Title,
54976
+ _sfc_main$D as Title,
54794
54977
  ToggleInput,
54795
54978
  TopBar,
54796
54979
  VIDEO_FORMATS,
54797
54980
  VIDEO_FORMATS_REGEXP,
54798
54981
  allCountries,
54982
+ appendScript,
54799
54983
  bagelFormUtils,
54800
54984
  bagelInjectionKey,
54801
54985
  bindAttrs,
@@ -54810,6 +54994,7 @@ export {
54810
54994
  initials,
54811
54995
  isDate$1 as isDate,
54812
54996
  keyToLabel,
54997
+ sleep,
54813
54998
  useBagel,
54814
54999
  useBglSchema,
54815
55000
  useEscape,