@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.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
- response && (this.response = response);
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.response && this.response.status ? this.response.status : null
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 hasStandardBrowserEnv = ((product) => {
3243
- return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
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
- let controller = new AbortController();
4144
- let aborted;
4145
- const onabort = function(cancel) {
4146
- if (!aborted) {
4147
- aborted = true;
4148
- unsubscribe();
4149
- const err = cancel instanceof Error ? cancel : this.reason;
4150
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
4151
- }
4152
- };
4153
- let timer = timeout2 && setTimeout(() => {
4154
- onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
4155
- }, timeout2);
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
- signals.forEach((signal2) => {
4161
- signal2 && (signal2.removeEventListener ? signal2.removeEventListener("abort", onabort) : signal2.unsubscribe(onabort));
4162
- });
4163
- signals = null;
4164
- }
4165
- };
4166
- signals.forEach((signal2) => signal2 && signal2.addEventListener && signal2.addEventListener("abort", onabort));
4167
- const { signal } = controller;
4168
- signal.unsubscribe = unsubscribe;
4169
- return [signal, () => {
4170
- timer && clearTimeout(timer);
4171
- timer = null;
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, encode2) {
4189
- for await (const chunk of iterable) {
4190
- yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : await encode2(String(chunk)), chunkSize);
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 trackStream = (stream, chunkSize, onProgress, onFinish, encode2) => {
4194
- const iterator = readBytes(stream, chunkSize, encode2);
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
- return (await new Request(body).arrayBuffer()).byteLength;
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 [composedSignal, stopTimeout] = signal || cancelToken || timeout2 ? composeSignals([signal, cancelToken], timeout2) : [];
4306
- let finished, request;
4307
- const onFinish = () => {
4308
- !finished && setTimeout(() => {
4309
- composedSignal && composedSignal.unsubscribe();
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, encodeText);
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
- isStreamResponse && onFinish();
4361
- }, encodeText),
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 && onFinish();
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
- onFinish();
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.4";
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,11 +5179,11 @@ class Bagel {
5147
5179
  return data2;
5148
5180
  }
5149
5181
  }
5150
- const _hoisted_1$O = {
5182
+ const _hoisted_1$P = {
5151
5183
  key: 0,
5152
5184
  class: "navigation flex space-between px-3 w-100 absolute"
5153
5185
  };
5154
- const _hoisted_2$C = { class: "bgl-lightbox-item" };
5186
+ const _hoisted_2$B = { class: "bgl-lightbox-item" };
5155
5187
  const _hoisted_3$q = ["src"];
5156
5188
  const _hoisted_4$i = ["src", "title"];
5157
5189
  const _hoisted_5$g = {
@@ -5164,7 +5196,7 @@ const _hoisted_7$6 = {
5164
5196
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
5165
5197
  };
5166
5198
  const _hoisted_8$3 = ["src", "onClick"];
5167
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
5199
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
5168
5200
  __name: "Lightbox",
5169
5201
  setup(__props, { expose: __expose }) {
5170
5202
  let isOpen = vue.ref(false);
@@ -5233,7 +5265,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
5233
5265
  ],
5234
5266
  onClick: close2
5235
5267
  }, [
5236
- vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
5268
+ vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
5237
5269
  vue.createVNode(vue.unref(Btn), {
5238
5270
  class: "navigation-btn oval",
5239
5271
  icon: "arrow_back",
@@ -5256,7 +5288,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
5256
5288
  icon: "close",
5257
5289
  onClick: close2
5258
5290
  }),
5259
- vue.createElementVNode("div", _hoisted_2$C, [
5291
+ vue.createElementVNode("div", _hoisted_2$B, [
5260
5292
  ((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
5261
5293
  key: 0,
5262
5294
  src: (_b = vue.unref(currentItem)) == null ? void 0 : _b.src,
@@ -5290,13 +5322,13 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
5290
5322
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
5291
5323
  item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
5292
5324
  key: 0,
5293
- class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
5325
+ class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
5294
5326
  src: item.src,
5295
5327
  alt: "",
5296
5328
  onClick: ($event) => selectItem(index2)
5297
- }, null, 10, _hoisted_8$3)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
5329
+ }, null, 10, _hoisted_8$3)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
5298
5330
  key: 1,
5299
- class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
5331
+ class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
5300
5332
  icon: "description",
5301
5333
  onClick: ($event) => selectItem(index2)
5302
5334
  }, null, 8, ["class", "onClick"]))
@@ -5319,7 +5351,7 @@ const _export_sfc = (sfc, props2) => {
5319
5351
  }
5320
5352
  return target;
5321
5353
  };
5322
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-c061443c"]]);
5354
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
5323
5355
  const groups = {};
5324
5356
  const lightboxDirective = {
5325
5357
  mounted(el, binding) {
@@ -5668,6 +5700,22 @@ function getFallbackSchema(data2, showFields) {
5668
5700
  );
5669
5701
  return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
5670
5702
  }
5703
+ const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
5704
+ function appendScript(src) {
5705
+ return new Promise((resolve, reject3) => {
5706
+ if (document.querySelector(`script[src="${src}"]`)) {
5707
+ resolve();
5708
+ return;
5709
+ }
5710
+ const script2 = document.createElement("script");
5711
+ script2.src = src;
5712
+ script2.onload = () => {
5713
+ resolve();
5714
+ };
5715
+ script2.onerror = reject3;
5716
+ document.head.appendChild(script2);
5717
+ });
5718
+ }
5671
5719
  const bagelInjectionKey = Symbol("bagel");
5672
5720
  const i18nTInjectionKey = Symbol("bagel");
5673
5721
  function useBagel() {
@@ -5716,29 +5764,32 @@ const ModalPlugin = {
5716
5764
  const hideModal = (index2) => {
5717
5765
  modalStack.value.splice(index2, 1);
5718
5766
  };
5719
- const modalConfirm = async (options) => new Promise(
5720
- (resolve) => {
5721
- if (typeof options === "string") options = { title: "", message: options };
5767
+ const confirmModal = (options) => {
5768
+ return new Promise((resolve) => {
5769
+ const confirmOptions = typeof options === "string" ? { title: "", message: options } : options;
5722
5770
  modalStack.value.push({
5723
- modalOptions: { ...options, resolve },
5724
- modalType: "confirm",
5771
+ modalOptions: { ...confirmOptions, resolve },
5772
+ modalType: "confirmModal",
5725
5773
  componentSlots: {}
5726
5774
  });
5727
- }
5728
- );
5775
+ });
5776
+ };
5729
5777
  const showModal = (modalType, options, slots = {}) => {
5730
- modalStack.value.push({
5778
+ const modalComponent = {
5731
5779
  modalOptions: options,
5732
5780
  modalType,
5733
5781
  componentSlots: slots
5734
- });
5735
- if (modalType === "modalForm") return modalStack.value.at(-1);
5736
- return modalStack.value.at(-1);
5782
+ };
5783
+ modalStack.value.push(modalComponent);
5784
+ if (modalType === "modalForm") {
5785
+ return modalComponent;
5786
+ }
5787
+ return modalComponent;
5737
5788
  };
5738
5789
  app.provide(ModalSymbol, {
5739
5790
  showModal: (options, slots) => showModal("modal", options, slots),
5740
5791
  showModalForm: (options, slots) => showModal("modalForm", options, slots),
5741
- confirmModal: async (userOptions) => modalConfirm(userOptions),
5792
+ confirmModal: (options) => confirmModal(options),
5742
5793
  hideModal: (index2 = modalStack.value.length - 1) => {
5743
5794
  hideModal(index2);
5744
5795
  }
@@ -5754,13 +5805,14 @@ const ModalPlugin = {
5754
5805
  hideModal(index2);
5755
5806
  }
5756
5807
  };
5757
- if (modal.modalType === "modalForm") {
5758
- return vue.h(ModalForm, props2, modal.componentSlots);
5759
- }
5760
- if (modal.modalType === "confirm") {
5761
- return vue.h(_sfc_main$w, props2, {});
5808
+ switch (modal.modalType) {
5809
+ case "modalForm":
5810
+ return vue.h(ModalForm, props2, modal.componentSlots);
5811
+ case "confirmModal":
5812
+ return vue.h(_sfc_main$x, props2, {});
5813
+ default:
5814
+ return vue.h(_sfc_main$P, props2, modal.componentSlots);
5762
5815
  }
5763
- return vue.h(_sfc_main$O, props2, modal.componentSlots);
5764
5816
  });
5765
5817
  }
5766
5818
  });
@@ -5786,7 +5838,7 @@ function useLocalStorage(key, initialValue) {
5786
5838
  }, { immediate: true, deep: true });
5787
5839
  return value;
5788
5840
  }
5789
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
5841
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
5790
5842
  __name: "MaterialIcon",
5791
5843
  props: {
5792
5844
  icon: {},
@@ -5804,13 +5856,13 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
5804
5856
  };
5805
5857
  }
5806
5858
  });
5807
- const _hoisted_1$N = { class: "full-nav" };
5808
- const _hoisted_2$B = { class: "nav-scroll" };
5859
+ const _hoisted_1$O = { class: "full-nav" };
5860
+ const _hoisted_2$A = { class: "nav-scroll" };
5809
5861
  const _hoisted_3$p = { class: "nav-links-wrapper" };
5810
5862
  const _hoisted_4$h = { class: "tooltip" };
5811
5863
  const _hoisted_5$f = { class: "bot-buttons-wrapper" };
5812
5864
  const _hoisted_6$a = { class: "tooltip" };
5813
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5865
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
5814
5866
  __name: "NavBar",
5815
5867
  props: {
5816
5868
  footerLinks: { default: () => [] },
@@ -5835,13 +5887,13 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5835
5887
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
5836
5888
  onKeypress: _cache[1] || (_cache[1] = vue.withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
5837
5889
  }, [
5838
- vue.createVNode(vue.unref(_sfc_main$R), {
5890
+ vue.createVNode(vue.unref(_sfc_main$S), {
5839
5891
  icon: "chevron_right",
5840
5892
  class: "top-arrow"
5841
5893
  })
5842
5894
  ], 32),
5843
- vue.createElementVNode("div", _hoisted_1$N, [
5844
- vue.createElementVNode("div", _hoisted_2$B, [
5895
+ vue.createElementVNode("div", _hoisted_1$O, [
5896
+ vue.createElementVNode("div", _hoisted_2$A, [
5845
5897
  vue.createElementVNode("div", _hoisted_3$p, [
5846
5898
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
5847
5899
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
@@ -5854,7 +5906,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5854
5906
  }
5855
5907
  }, {
5856
5908
  default: vue.withCtx(() => [
5857
- vue.createVNode(vue.unref(_sfc_main$R), {
5909
+ vue.createVNode(vue.unref(_sfc_main$S), {
5858
5910
  icon: link.icon
5859
5911
  }, null, 8, ["icon"]),
5860
5912
  vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(link.label), 1)
@@ -5876,7 +5928,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5876
5928
  }
5877
5929
  }, {
5878
5930
  default: vue.withCtx(() => [
5879
- vue.createVNode(vue.unref(_sfc_main$R), {
5931
+ vue.createVNode(vue.unref(_sfc_main$S), {
5880
5932
  icon: link.icon
5881
5933
  }, null, 8, ["icon"]),
5882
5934
  vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
@@ -5891,16 +5943,16 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5891
5943
  };
5892
5944
  }
5893
5945
  });
5894
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-776cab4a"]]);
5895
- const _hoisted_1$M = {
5946
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
5947
+ const _hoisted_1$N = {
5896
5948
  key: 0,
5897
5949
  class: "loading"
5898
5950
  };
5899
- const _hoisted_2$A = {
5951
+ const _hoisted_2$z = {
5900
5952
  key: 1,
5901
5953
  class: "bgl_btn-flex"
5902
5954
  };
5903
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5955
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
5904
5956
  __name: "Btn",
5905
5957
  props: {
5906
5958
  disabled: { type: Boolean, default: false },
@@ -5924,8 +5976,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5924
5976
  },
5925
5977
  setup(__props) {
5926
5978
  vue.useCssVars((_ctx) => ({
5927
- "5953bce2": computedBackgroundColor.value,
5928
- "7b3cc0ac": cumputedTextColor.value
5979
+ "616bd948": computedBackgroundColor.value,
5980
+ "796e2f37": cumputedTextColor.value
5929
5981
  }));
5930
5982
  const props2 = __props;
5931
5983
  const isComponent = vue.computed(() => {
@@ -5943,7 +5995,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5943
5995
  const computedDefaultColors = vue.computed(
5944
5996
  () => ({
5945
5997
  backgroundColor: "var(--bgl-primary)",
5946
- color: props2.flat ? "var(--bgl-black)" : "var(--bgl-white)"
5998
+ color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
5947
5999
  })
5948
6000
  );
5949
6001
  function getThemeColors(theme) {
@@ -5994,8 +6046,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
5994
6046
  onClick: vue.withModifiers(_ctx.onClick, ["stop"])
5995
6047
  }, {
5996
6048
  default: vue.withCtx(() => [
5997
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A, [
5998
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
6049
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
6050
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
5999
6051
  key: 0,
6000
6052
  icon: _ctx.icon
6001
6053
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -6003,7 +6055,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6003
6055
  !vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
6004
6056
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
6005
6057
  ], 64)) : vue.createCommentVNode("", true),
6006
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
6058
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
6007
6059
  key: 2,
6008
6060
  icon: props2["icon.end"]
6009
6061
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -6014,20 +6066,20 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6014
6066
  };
6015
6067
  }
6016
6068
  });
6017
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-895cf824"]]);
6018
- const _hoisted_1$L = {
6069
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
6070
+ const _hoisted_1$M = {
6019
6071
  key: 0,
6020
6072
  class: "tool-bar"
6021
6073
  };
6022
- const _hoisted_2$z = {
6074
+ const _hoisted_2$y = {
6023
6075
  key: 1,
6024
- class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6076
+ class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6025
6077
  };
6026
6078
  const _hoisted_3$o = {
6027
6079
  key: 2,
6028
6080
  class: "modal-footer mt-1"
6029
6081
  };
6030
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6082
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6031
6083
  __name: "Modal",
6032
6084
  props: {
6033
6085
  side: { type: Boolean },
@@ -6083,7 +6135,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6083
6135
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
6084
6136
  onKeydown: vue.withKeys(closeModal, ["esc"])
6085
6137
  }, [
6086
- vue.createVNode(vue.unref(_sfc_main$E), {
6138
+ vue.createVNode(vue.unref(_sfc_main$F), {
6087
6139
  class: "modal",
6088
6140
  style: vue.normalizeStyle({ ...maxWidth.value }),
6089
6141
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -6092,7 +6144,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6092
6144
  default: vue.withCtx(() => {
6093
6145
  var _a2;
6094
6146
  return [
6095
- vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$L, [
6147
+ vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$M, [
6096
6148
  vue.renderSlot(_ctx.$slots, "toolbar"),
6097
6149
  vue.createVNode(vue.unref(Btn), {
6098
6150
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -6100,15 +6152,15 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6100
6152
  icon: "close",
6101
6153
  onClick: closeModal
6102
6154
  }, null, 8, ["style"]),
6103
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
6155
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
6104
6156
  key: 0,
6105
6157
  class: "modal-title",
6106
6158
  tag: "h3",
6107
6159
  label: _ctx.title
6108
6160
  }, null, 8, ["label"])) : vue.createCommentVNode("", true)
6109
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
6161
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
6110
6162
  vue.createVNode(vue.unref(Btn), {
6111
- class: "color-black position-start",
6163
+ class: "position-start",
6112
6164
  icon: "close",
6113
6165
  thin: "",
6114
6166
  color: "white",
@@ -6134,7 +6186,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6134
6186
  };
6135
6187
  }
6136
6188
  });
6137
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6189
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6138
6190
  __name: "ModalForm",
6139
6191
  props: /* @__PURE__ */ vue.mergeModels({
6140
6192
  side: { type: Boolean },
@@ -6195,7 +6247,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6195
6247
  }
6196
6248
  __expose({ setFormValues });
6197
6249
  return (_ctx, _cache) => {
6198
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
6250
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
6199
6251
  ref_key: "modal",
6200
6252
  ref: modal,
6201
6253
  side: _ctx.side,
@@ -6248,12 +6300,12 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6248
6300
  };
6249
6301
  }
6250
6302
  });
6251
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-083a1b2d"]]);
6252
- const _hoisted_1$K = { class: "accordion-item" };
6253
- const _hoisted_2$y = ["aria-expanded", "aria-controls"];
6303
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
6304
+ const _hoisted_1$L = { class: "accordion-item" };
6305
+ const _hoisted_2$x = ["aria-expanded", "aria-controls"];
6254
6306
  const _hoisted_3$n = { class: "accordion-label" };
6255
6307
  const _hoisted_4$g = ["id", "aria-hidden"];
6256
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6308
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6257
6309
  __name: "AccordionItem",
6258
6310
  props: {
6259
6311
  label: {},
@@ -6290,7 +6342,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6290
6342
  else if (accordionState.openItem === id) accordionState.openItem = null;
6291
6343
  }
6292
6344
  return (_ctx, _cache) => {
6293
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
6345
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
6294
6346
  vue.createElementVNode("button", {
6295
6347
  "aria-expanded": vue.unref(isOpen) ? "true" : "false",
6296
6348
  class: "accordion-head",
@@ -6303,9 +6355,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6303
6355
  vue.createElementVNode("div", {
6304
6356
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
6305
6357
  }, [
6306
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "expand_more" })
6358
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "expand_more" })
6307
6359
  ], 2)
6308
- ], 8, _hoisted_2$y),
6360
+ ], 8, _hoisted_2$x),
6309
6361
  vue.createVNode(vue.Transition, { name: "expand" }, {
6310
6362
  default: vue.withCtx(() => [
6311
6363
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -6323,14 +6375,14 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
6323
6375
  };
6324
6376
  }
6325
6377
  });
6326
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-f87b579d"]]);
6327
- const _sfc_main$L = {};
6328
- const _hoisted_1$J = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6329
- const _hoisted_2$x = { class: "p-1" };
6378
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f87b579d"]]);
6379
+ const _sfc_main$M = {};
6380
+ const _hoisted_1$K = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6381
+ const _hoisted_2$w = { class: "p-1" };
6330
6382
  const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
6331
6383
  function _sfc_render$2(_ctx, _cache) {
6332
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
6333
- vue.createElementVNode("div", _hoisted_2$x, [
6384
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
6385
+ vue.createElementVNode("div", _hoisted_2$w, [
6334
6386
  vue.renderSlot(_ctx.$slots, "header")
6335
6387
  ]),
6336
6388
  vue.createElementVNode("div", _hoisted_3$m, [
@@ -6338,10 +6390,10 @@ function _sfc_render$2(_ctx, _cache) {
6338
6390
  ])
6339
6391
  ]);
6340
6392
  }
6341
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$2]]);
6342
- const _hoisted_1$I = { class: "no-margin ellipsis line-height-14 pb-025" };
6343
- const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
6344
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6393
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$2]]);
6394
+ const _hoisted_1$J = { class: "no-margin ellipsis line-height-14 pb-025" };
6395
+ const _hoisted_2$v = { class: "txt12 no-margin txt-gray ellipsis" };
6396
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6345
6397
  __name: "ListItem",
6346
6398
  props: {
6347
6399
  src: {},
@@ -6368,18 +6420,18 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6368
6420
  src: _ctx.src,
6369
6421
  size: 40
6370
6422
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
6371
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
6423
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
6372
6424
  key: 1,
6373
6425
  size: "1.2",
6374
6426
  class: "color-primary",
6375
6427
  icon: _ctx.icon
6376
6428
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
6377
6429
  vue.createElementVNode("div", null, [
6378
- vue.createElementVNode("p", _hoisted_1$I, [
6430
+ vue.createElementVNode("p", _hoisted_1$J, [
6379
6431
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
6380
6432
  vue.renderSlot(_ctx.$slots, "default")
6381
6433
  ]),
6382
- vue.createElementVNode("p", _hoisted_2$w, [
6434
+ vue.createElementVNode("p", _hoisted_2$v, [
6383
6435
  vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
6384
6436
  vue.renderSlot(_ctx.$slots, "subtitle")
6385
6437
  ])
@@ -6390,9 +6442,9 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6390
6442
  };
6391
6443
  }
6392
6444
  });
6393
- const _hoisted_1$H = { class: "page-top" };
6394
- const _hoisted_2$v = { class: "top-title m-0" };
6395
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6445
+ const _hoisted_1$I = { class: "page-top" };
6446
+ const _hoisted_2$u = { class: "top-title m-0" };
6447
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6396
6448
  __name: "PageTitle",
6397
6449
  props: {
6398
6450
  value: {
@@ -6402,8 +6454,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6402
6454
  },
6403
6455
  setup(__props) {
6404
6456
  return (_ctx, _cache) => {
6405
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
6406
- vue.createElementVNode("h1", _hoisted_2$v, [
6457
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
6458
+ vue.createElementVNode("h1", _hoisted_2$u, [
6407
6459
  vue.renderSlot(_ctx.$slots, "default"),
6408
6460
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
6409
6461
  ])
@@ -6725,14 +6777,14 @@ function useVerticalVirtualList(options, list) {
6725
6777
  containerRef
6726
6778
  };
6727
6779
  }
6728
- const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-5441d9cd"), n2 = n2(), vue.popScopeId(), n2);
6729
- const _hoisted_1$G = {
6780
+ const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-bd90dc89"), n2 = n2(), vue.popScopeId(), n2);
6781
+ const _hoisted_1$H = {
6730
6782
  key: 0,
6731
6783
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
6732
6784
  };
6733
- const _hoisted_2$u = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1));
6785
+ const _hoisted_2$t = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1));
6734
6786
  const _hoisted_3$l = [
6735
- _hoisted_2$u
6787
+ _hoisted_2$t
6736
6788
  ];
6737
6789
  const _hoisted_4$f = { class: "infinite-wrapper" };
6738
6790
  const _hoisted_5$e = { class: "row first-row" };
@@ -6743,7 +6795,7 @@ const _hoisted_9$2 = ["onClick"];
6743
6795
  const _hoisted_10$1 = { key: 0 };
6744
6796
  const _hoisted_11$1 = ["value"];
6745
6797
  const _hoisted_12$1 = { key: 1 };
6746
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6798
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6747
6799
  __name: "TableSchema",
6748
6800
  props: /* @__PURE__ */ vue.mergeModels({
6749
6801
  selectedItems: {},
@@ -6759,7 +6811,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6759
6811
  emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6760
6812
  setup(__props, { emit: __emit }) {
6761
6813
  vue.useCssVars((_ctx) => ({
6762
- "efa9c80e": vue.unref(computedItemHiehgt)
6814
+ "38e39900": vue.unref(computedItemHiehgt)
6763
6815
  }));
6764
6816
  const props2 = __props;
6765
6817
  const emit2 = __emit;
@@ -6880,7 +6932,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6880
6932
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
6881
6933
  class: { "loading-table": loading.value }
6882
6934
  }), [
6883
- loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, _hoisted_3$l)) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
6935
+ loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, _hoisted_3$l)) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
6884
6936
  vue.createElementVNode("table", _hoisted_4$f, [
6885
6937
  vue.createElementVNode("thead", _hoisted_5$e, [
6886
6938
  vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$9, [
@@ -6904,7 +6956,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6904
6956
  vue.createElementVNode("div", {
6905
6957
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
6906
6958
  }, [
6907
- vue.createVNode(vue.unref(_sfc_main$R), {
6959
+ vue.createVNode(vue.unref(_sfc_main$S), {
6908
6960
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
6909
6961
  icon: "keyboard_arrow_up"
6910
6962
  }, null, 8, ["class"])
@@ -6962,16 +7014,16 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
6962
7014
  };
6963
7015
  }
6964
7016
  });
6965
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-5441d9cd"]]);
6966
- const _sfc_main$H = {};
6967
- const _hoisted_1$F = { class: "flex space-between" };
7017
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-bd90dc89"]]);
7018
+ const _sfc_main$I = {};
7019
+ const _hoisted_1$G = { class: "flex space-between" };
6968
7020
  function _sfc_render$1(_ctx, _cache) {
6969
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
7021
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
6970
7022
  vue.renderSlot(_ctx.$slots, "default")
6971
7023
  ]);
6972
7024
  }
6973
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$1]]);
6974
- const _sfc_main$G = {};
7025
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
7026
+ const _sfc_main$H = {};
6975
7027
  function _sfc_render(_ctx, _cache) {
6976
7028
  const _component_router_view = vue.resolveComponent("router-view");
6977
7029
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -6993,12 +7045,12 @@ function _sfc_render(_ctx, _cache) {
6993
7045
  _: 1
6994
7046
  });
6995
7047
  }
6996
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render]]);
6997
- const _hoisted_1$E = {
7048
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
7049
+ const _hoisted_1$F = {
6998
7050
  key: 0,
6999
7051
  class: "data"
7000
7052
  };
7001
- const _hoisted_2$t = {
7053
+ const _hoisted_2$s = {
7002
7054
  key: 0,
7003
7055
  class: "data-row m_py-05"
7004
7056
  };
@@ -7015,7 +7067,7 @@ const _hoisted_9$1 = {
7015
7067
  key: 0,
7016
7068
  class: "m-0"
7017
7069
  };
7018
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7070
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
7019
7071
  __name: "DataPreview",
7020
7072
  props: /* @__PURE__ */ vue.mergeModels({
7021
7073
  showFields: {},
@@ -7051,8 +7103,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7051
7103
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
7052
7104
  return (_ctx, _cache) => {
7053
7105
  var _a2;
7054
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
7055
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
7106
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
7107
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
7056
7108
  key: 0,
7057
7109
  label: _ctx.title
7058
7110
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -7060,7 +7112,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7060
7112
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
7061
7113
  key: field.id
7062
7114
  }, [
7063
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$t, [
7115
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, [
7064
7116
  vue.createElementVNode("div", _hoisted_3$k, [
7065
7117
  vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7066
7118
  ]),
@@ -7093,12 +7145,12 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7093
7145
  };
7094
7146
  }
7095
7147
  });
7096
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-4d174f13"]]);
7097
- const _hoisted_1$D = {
7148
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
7149
+ const _hoisted_1$E = {
7098
7150
  key: 0,
7099
7151
  class: "card_label"
7100
7152
  };
7101
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7153
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
7102
7154
  __name: "Card",
7103
7155
  props: {
7104
7156
  label: {},
@@ -7126,7 +7178,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7126
7178
  }])
7127
7179
  }, {
7128
7180
  default: vue.withCtx(() => [
7129
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$D, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
7181
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$E, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
7130
7182
  vue.renderSlot(_ctx.$slots, "default")
7131
7183
  ]),
7132
7184
  _: 3
@@ -7134,8 +7186,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7134
7186
  };
7135
7187
  }
7136
7188
  });
7137
- const _hoisted_1$C = ["src", "alt"];
7138
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7189
+ const _hoisted_1$D = ["src", "alt"];
7190
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
7139
7191
  __name: "Avatar",
7140
7192
  props: {
7141
7193
  fallback: {},
@@ -7153,16 +7205,16 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7153
7205
  key: 0,
7154
7206
  src: _ctx.src,
7155
7207
  alt: _ctx.name
7156
- }, null, 8, _hoisted_1$C)) : (vue.openBlock(), vue.createElementBlock("p", {
7208
+ }, null, 8, _hoisted_1$D)) : (vue.openBlock(), vue.createElementBlock("p", {
7157
7209
  key: 1,
7158
7210
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
7159
- }, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
7211
+ }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
7160
7212
  ], 4);
7161
7213
  };
7162
7214
  }
7163
7215
  });
7164
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-dd2f6734"]]);
7165
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7216
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-46ad8c25"]]);
7217
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
7166
7218
  __name: "Title",
7167
7219
  props: {
7168
7220
  value: {
@@ -7190,7 +7242,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7190
7242
  };
7191
7243
  }
7192
7244
  });
7193
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7245
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
7194
7246
  __name: "Accordion",
7195
7247
  setup(__props) {
7196
7248
  const state2 = vue.reactive({
@@ -7204,9 +7256,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7204
7256
  };
7205
7257
  }
7206
7258
  });
7207
- const _hoisted_1$B = ["dismissable"];
7208
- const _hoisted_2$s = { class: "m-0" };
7209
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7259
+ const _hoisted_1$C = ["dismissable"];
7260
+ const _hoisted_2$r = { class: "m-0" };
7261
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
7210
7262
  __name: "Alert",
7211
7263
  props: {
7212
7264
  message: {},
@@ -7227,14 +7279,14 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7227
7279
  class: vue.normalizeClass(["alert", [_ctx.type]]),
7228
7280
  dismissable: _ctx.dismissable
7229
7281
  }, [
7230
- _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
7282
+ _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
7231
7283
  key: 0,
7232
7284
  class: "alert_icon",
7233
7285
  icon: _ctx.icon || _ctx.type,
7234
7286
  size: 2,
7235
7287
  color: color2[_ctx.type]
7236
7288
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
7237
- vue.createElementVNode("p", _hoisted_2$s, vue.toDisplayString(_ctx.message), 1),
7289
+ vue.createElementVNode("p", _hoisted_2$r, vue.toDisplayString(_ctx.message), 1),
7238
7290
  vue.createVNode(Btn, {
7239
7291
  flat: "",
7240
7292
  thin: "",
@@ -7242,12 +7294,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7242
7294
  icon: "close",
7243
7295
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
7244
7296
  })
7245
- ], 10, _hoisted_1$B)) : vue.createCommentVNode("", true);
7297
+ ], 10, _hoisted_1$C)) : vue.createCommentVNode("", true);
7246
7298
  };
7247
7299
  }
7248
7300
  });
7249
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-1322d9e1"]]);
7250
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7301
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
7302
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
7251
7303
  __name: "Badge",
7252
7304
  props: {
7253
7305
  color: {},
@@ -7263,13 +7315,13 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7263
7315
  return vue.openBlock(), vue.createElementBlock("div", {
7264
7316
  class: vue.normalizeClass(["pill", [_ctx.color]])
7265
7317
  }, [
7266
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
7318
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
7267
7319
  key: 0,
7268
7320
  class: "inline",
7269
7321
  icon: _ctx.icon
7270
7322
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
7271
7323
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
7272
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
7324
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
7273
7325
  key: 1,
7274
7326
  class: "inline",
7275
7327
  icon: props2["icon.end"]
@@ -7278,10 +7330,10 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7278
7330
  };
7279
7331
  }
7280
7332
  });
7281
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-532b36ae"]]);
7282
- const _hoisted_1$A = ["src"];
7283
- const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
7284
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7333
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
7334
+ const _hoisted_1$B = ["src"];
7335
+ const _hoisted_2$q = ["src", "autoplay", "muted", "loop", "controls"];
7336
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
7285
7337
  __name: "BglVideo",
7286
7338
  props: {
7287
7339
  src: {},
@@ -7336,7 +7388,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7336
7388
  allowfullscreen: "",
7337
7389
  title: "Video",
7338
7390
  allow: "autoplay"
7339
- }, null, 12, _hoisted_1$A)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
7391
+ }, null, 12, _hoisted_1$B)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
7340
7392
  key: 1,
7341
7393
  src: _ctx.src,
7342
7394
  autoplay: _ctx.autoplay,
@@ -7345,18 +7397,18 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7345
7397
  style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
7346
7398
  controls: _ctx.controls,
7347
7399
  playsinline: ""
7348
- }, null, 12, _hoisted_2$r)) : vue.createCommentVNode("", true)
7400
+ }, null, 12, _hoisted_2$q)) : vue.createCommentVNode("", true)
7349
7401
  ], 2);
7350
7402
  };
7351
7403
  }
7352
7404
  });
7353
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-8495afe2"]]);
7354
- const _hoisted_1$z = {
7405
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
7406
+ const _hoisted_1$A = {
7355
7407
  key: 0,
7356
7408
  class: "blocker"
7357
7409
  };
7358
- const _hoisted_2$q = { class: "Handlers" };
7359
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7410
+ const _hoisted_2$p = { class: "Handlers" };
7411
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
7360
7412
  __name: "Carousel",
7361
7413
  props: {
7362
7414
  autoHeight: {
@@ -7504,10 +7556,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7504
7556
  onScrollend: scrollEnd,
7505
7557
  onMousedown: startDragging
7506
7558
  }, [
7507
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z)) : vue.createCommentVNode("", true),
7559
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A)) : vue.createCommentVNode("", true),
7508
7560
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
7509
7561
  ], 34),
7510
- vue.createElementVNode("div", _hoisted_2$q, [
7562
+ vue.createElementVNode("div", _hoisted_2$p, [
7511
7563
  vue.createElementVNode("span", { onClick: prev }, [
7512
7564
  vue.renderSlot(_ctx.$slots, "prev", {
7513
7565
  prev,
@@ -7525,10 +7577,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7525
7577
  };
7526
7578
  }
7527
7579
  });
7528
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1f9c6644"]]);
7529
- const _hoisted_1$y = { class: "m-0" };
7530
- const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
7531
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7580
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
7581
+ const _hoisted_1$z = { class: "pb-05 pretty" };
7582
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
7532
7583
  __name: "ModalConfirm",
7533
7584
  props: {
7534
7585
  title: {},
@@ -7544,10 +7595,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7544
7595
  emit2("update:visible");
7545
7596
  }
7546
7597
  return (_ctx, _cache) => {
7547
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$O), {
7598
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$P), {
7599
+ title: _ctx.title,
7548
7600
  width: "380px",
7549
7601
  dismissable: false,
7550
- class: "color-black txt-center"
7602
+ class: "txt-center"
7551
7603
  }, {
7552
7604
  footer: vue.withCtx(() => [
7553
7605
  vue.createVNode(vue.unref(Btn), {
@@ -7563,24 +7615,90 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7563
7615
  })
7564
7616
  ]),
7565
7617
  default: vue.withCtx(() => [
7566
- vue.createElementVNode("h3", _hoisted_1$y, vue.toDisplayString(_ctx.title), 1),
7567
- vue.createElementVNode("p", _hoisted_2$p, vue.toDisplayString(_ctx.message), 1)
7618
+ vue.createElementVNode("p", _hoisted_1$z, vue.toDisplayString(_ctx.message), 1)
7568
7619
  ]),
7569
7620
  _: 1
7570
- });
7621
+ }, 8, ["title"]);
7571
7622
  };
7572
7623
  }
7573
7624
  });
7574
- const _hoisted_1$x = { class: "map-test" };
7575
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7625
+ const _hoisted_1$y = ["id"];
7626
+ 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>';
7627
+ const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
7628
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
7576
7629
  __name: "MapEmbed",
7630
+ props: {
7631
+ center: { default: () => [31.7683, 35.2137] },
7632
+ zoom: { default: 13 },
7633
+ height: { default: 400 },
7634
+ zoomControl: { type: Boolean, default: true },
7635
+ markers: {},
7636
+ markerIcon: { default: "" }
7637
+ },
7577
7638
  setup(__props) {
7639
+ const props2 = __props;
7640
+ let L2 = vue.ref();
7641
+ let map4 = vue.ref();
7642
+ const _markers = vue.ref([]);
7643
+ const id = vue.ref(Math.random().toString(36).substring(2, 10));
7644
+ function loadGlobalL() {
7645
+ return new Promise(async (resolve) => {
7646
+ while (!window.L) await sleep(100);
7647
+ resolve(window.L);
7648
+ });
7649
+ }
7650
+ async function initializeMap() {
7651
+ await appendScript(leafletScriptUrl);
7652
+ L2.value = await loadGlobalL();
7653
+ if (!map4.value) {
7654
+ map4.value = L2.value.map(id.value, {
7655
+ center: props2.center,
7656
+ zoom: props2.zoom,
7657
+ zoomControl: props2.zoomControl
7658
+ });
7659
+ L2.value.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
7660
+ }
7661
+ }
7662
+ function addMarker(L22, latlng) {
7663
+ const iconSVG = props2.markerIcon || defaultMarkerSVG;
7664
+ const customIcon = L22.icon({
7665
+ iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
7666
+ iconSize: [32, 32]
7667
+ });
7668
+ const marker = L22.marker(latlng, { icon: customIcon }).addTo(map4.value);
7669
+ _markers.value.push(marker);
7670
+ }
7671
+ function fitMarkers(L22) {
7672
+ var _a2;
7673
+ if (_markers.value.length > 0) {
7674
+ (_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L22.featureGroup(_markers.value).getBounds());
7675
+ }
7676
+ }
7677
+ vue.watch(
7678
+ () => props2.markers,
7679
+ async (markers) => {
7680
+ _markers.value.forEach((marker) => marker.remove());
7681
+ if (!markers) return;
7682
+ for (const marker of markers) {
7683
+ const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon];
7684
+ if (!map4.value) initializeMap();
7685
+ addMarker(L2.value, [lat, lon]);
7686
+ fitMarkers(L2.value);
7687
+ }
7688
+ },
7689
+ { immediate: true }
7690
+ );
7691
+ vue.onMounted(initializeMap);
7578
7692
  return (_ctx, _cache) => {
7579
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x);
7693
+ return vue.openBlock(), vue.createElementBlock("div", {
7694
+ id: id.value,
7695
+ class: "leaflet-map",
7696
+ style: vue.normalizeStyle({ height: `${props2.height || 400}px` })
7697
+ }, null, 12, _hoisted_1$y);
7580
7698
  };
7581
7699
  }
7582
7700
  });
7583
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7701
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
7584
7702
  __name: "Flag",
7585
7703
  props: {
7586
7704
  country: {},
@@ -7610,7 +7728,67 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7610
7728
  };
7611
7729
  }
7612
7730
  });
7613
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-f99f1900"]]);
7731
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f99f1900"]]);
7732
+ const _hoisted_1$x = { class: "relative" };
7733
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
7734
+ __name: "AddressSearch",
7735
+ emits: ["addressSelected"],
7736
+ setup(__props, { emit: __emit }) {
7737
+ const emit2 = __emit;
7738
+ let addressInput = vue.ref("");
7739
+ let searchResults = vue.ref([]);
7740
+ const suggestion = vue.ref();
7741
+ function emitAddress(address) {
7742
+ emit2("addressSelected", address);
7743
+ searchResults.value = [];
7744
+ addressInput.value = "";
7745
+ }
7746
+ async function searchAddresses() {
7747
+ var _a2;
7748
+ const addressURL = addressInput.value.replace(/\s+/g, "+");
7749
+ const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(addressURL)}`;
7750
+ const res = await fetch(geocodeUrl);
7751
+ searchResults.value = await res.json() || [];
7752
+ console.log(suggestion.value);
7753
+ (_a2 = suggestion.value) == null ? void 0 : _a2.show();
7754
+ }
7755
+ return (_ctx, _cache) => {
7756
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
7757
+ vue.createVNode(vue.unref(kt$1), {
7758
+ ref_key: "suggestion",
7759
+ ref: suggestion,
7760
+ noAutoFocus: true,
7761
+ placement: "bottom-start"
7762
+ }, {
7763
+ popper: vue.withCtx(() => [
7764
+ vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
7765
+ default: vue.withCtx(() => [
7766
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
7767
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
7768
+ key: index2,
7769
+ icon: "location_on",
7770
+ title: result2.display_name,
7771
+ onClick: ($event) => emitAddress(result2)
7772
+ }, null, 8, ["title", "onClick"]);
7773
+ }), 128))
7774
+ ]),
7775
+ _: 1
7776
+ })
7777
+ ]),
7778
+ default: vue.withCtx(() => [
7779
+ vue.createVNode(vue.unref(TextInput), {
7780
+ modelValue: vue.unref(addressInput),
7781
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(addressInput) ? addressInput.value = $event : addressInput = $event),
7782
+ placeholder: "Enter address",
7783
+ onDebounce: searchAddresses
7784
+ }, null, 8, ["modelValue"])
7785
+ ]),
7786
+ _: 1
7787
+ }, 512)
7788
+ ]);
7789
+ };
7790
+ }
7791
+ });
7614
7792
  const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7615
7793
  __name: "BglForm",
7616
7794
  props: {
@@ -7703,7 +7881,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7703
7881
  return (_ctx, _cache) => {
7704
7882
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
7705
7883
  _ctx.id ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
7706
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
7884
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
7707
7885
  key: 0,
7708
7886
  tag: "h4",
7709
7887
  label: _ctx.label
@@ -7727,7 +7905,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
7727
7905
  ref: form,
7728
7906
  onSubmit: vue.withModifiers(runSubmit, ["prevent"])
7729
7907
  }, [
7730
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
7908
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
7731
7909
  key: 0,
7732
7910
  tag: "h4",
7733
7911
  label: _ctx.label
@@ -16710,7 +16888,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
16710
16888
  onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
16711
16889
  }, {
16712
16890
  popper: vue.withCtx(() => [
16713
- vue.createVNode(vue.unref(_sfc_main$E), {
16891
+ vue.createVNode(vue.unref(_sfc_main$F), {
16714
16892
  class: "p-05",
16715
16893
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
16716
16894
  }, {
@@ -16739,12 +16917,12 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
16739
16917
  onKeydown: vue.withKeys(($event) => select2(option2), ["enter"])
16740
16918
  }, [
16741
16919
  _ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
16742
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
16920
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
16743
16921
  key: 0,
16744
16922
  size: 1.1,
16745
16923
  icon: "select_check_box"
16746
16924
  })) : vue.createCommentVNode("", true),
16747
- !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
16925
+ !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
16748
16926
  key: 1,
16749
16927
  class: "opacity-3",
16750
16928
  icon: "check_box_outline_blank",
@@ -16771,7 +16949,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
16771
16949
  onKeydown: openOptions,
16772
16950
  onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
16773
16951
  }, [
16774
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
16952
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
16775
16953
  key: 0,
16776
16954
  icon: _ctx.icon
16777
16955
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -16788,7 +16966,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
16788
16966
  })
16789
16967
  })
16790
16968
  ])) : vue.createCommentVNode("", true),
16791
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), vue.mergeProps({
16969
+ !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), vue.mergeProps({
16792
16970
  key: 3,
16793
16971
  thin: ""
16794
16972
  }, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
@@ -19392,7 +19570,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
19392
19570
  class: "flex table-row"
19393
19571
  }, [
19394
19572
  vue.createElementVNode("div", _hoisted_5$b, [
19395
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "more_vert" })
19573
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "more_vert" })
19396
19574
  ]),
19397
19575
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
19398
19576
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -19409,7 +19587,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
19409
19587
  ], 2);
19410
19588
  }), 128)),
19411
19589
  vue.createElementVNode("div", _hoisted_6$6, [
19412
- vue.createVNode(vue.unref(_sfc_main$R), {
19590
+ vue.createVNode(vue.unref(_sfc_main$S), {
19413
19591
  icon: "delete",
19414
19592
  onClick: ($event) => removeRow2(index2)
19415
19593
  }, null, 8, ["onClick"])
@@ -19439,7 +19617,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
19439
19617
  };
19440
19618
  }
19441
19619
  });
19442
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-515f5dc9"]]);
19620
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
19443
19621
  const _hoisted_1$q = ["title"];
19444
19622
  const _hoisted_2$j = ["for"];
19445
19623
  const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
@@ -19566,12 +19744,12 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
19566
19744
  ]),
19567
19745
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$a, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
19568
19746
  ], 8, _hoisted_2$j),
19569
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
19747
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
19570
19748
  key: 0,
19571
19749
  class: "iconStart",
19572
19750
  icon: _ctx.iconStart
19573
19751
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
19574
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
19752
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
19575
19753
  key: 1,
19576
19754
  icon: _ctx.icon
19577
19755
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -19579,7 +19757,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
19579
19757
  };
19580
19758
  }
19581
19759
  });
19582
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-edac341b"]]);
19760
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
19583
19761
  const _hoisted_1$p = { class: "primary-checkbox" };
19584
19762
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
19585
19763
  __name: "Checkbox",
@@ -19603,7 +19781,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
19603
19781
  };
19604
19782
  }
19605
19783
  });
19606
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-032d6226"]]);
19784
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
19607
19785
  const _hoisted_1$o = ["title"];
19608
19786
  const _hoisted_2$i = ["id", "placeholder", "required"];
19609
19787
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
@@ -19802,7 +19980,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
19802
19980
  };
19803
19981
  }
19804
19982
  });
19805
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-d86ce838"]]);
19983
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
19806
19984
  const _hoisted_1$l = { class: "bagel-input" };
19807
19985
  const _hoisted_2$f = {
19808
19986
  key: 0,
@@ -20007,7 +20185,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20007
20185
  alt: ""
20008
20186
  }, null, 8, _hoisted_3$c)), [
20009
20187
  [_directive_lightbox]
20010
- ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
20188
+ ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
20011
20189
  key: 1,
20012
20190
  icon: "draft",
20013
20191
  class: "multi-preview"
@@ -20035,7 +20213,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20035
20213
  src: fileToUrl(fileQ.file),
20036
20214
  alt: ""
20037
20215
  }, null, 8, _hoisted_5$7)) : vue.createCommentVNode("", true)
20038
- ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
20216
+ ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
20039
20217
  key: 1,
20040
20218
  icon: "draft",
20041
20219
  class: "multi-preview"
@@ -20046,7 +20224,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20046
20224
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20047
20225
  }, [
20048
20226
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
20049
- vue.createVNode(vue.unref(_sfc_main$R), {
20227
+ vue.createVNode(vue.unref(_sfc_main$S), {
20050
20228
  class: "success",
20051
20229
  icon: "check"
20052
20230
  })
@@ -20067,7 +20245,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20067
20245
  alt: ""
20068
20246
  }, null, 8, _hoisted_9)), [
20069
20247
  [_directive_lightbox]
20070
- ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
20248
+ ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
20071
20249
  key: 1,
20072
20250
  size: 4,
20073
20251
  weight: "2",
@@ -20086,7 +20264,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20086
20264
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20087
20265
  }, [
20088
20266
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
20089
- vue.createVNode(vue.unref(_sfc_main$R), {
20267
+ vue.createVNode(vue.unref(_sfc_main$S), {
20090
20268
  class: "success",
20091
20269
  icon: "check"
20092
20270
  })
@@ -20108,7 +20286,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20108
20286
  browse
20109
20287
  }, () => [
20110
20288
  vue.createElementVNode("p", _hoisted_12, [
20111
- vue.createVNode(vue.unref(_sfc_main$R), { icon: "upload_2" }),
20289
+ vue.createVNode(vue.unref(_sfc_main$S), { icon: "upload_2" }),
20112
20290
  vue.createTextVNode(" Drop files here or click to upload ")
20113
20291
  ])
20114
20292
  ], true) : vue.createCommentVNode("", true)
@@ -20117,8 +20295,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
20117
20295
  };
20118
20296
  }
20119
20297
  });
20120
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e8b1219f"]]);
20121
- const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-06b95183"), n2 = n2(), vue.popScopeId(), n2);
20298
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-298b3d5b"]]);
20299
+ const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-0a2b089d"), n2 = n2(), vue.popScopeId(), n2);
20122
20300
  const _hoisted_1$k = ["title"];
20123
20301
  const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
20124
20302
  const _hoisted_3$b = [
@@ -20172,7 +20350,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
20172
20350
  };
20173
20351
  }
20174
20352
  });
20175
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-06b95183"]]);
20353
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
20176
20354
  function OrderedMap(content) {
20177
20355
  this.content = content;
20178
20356
  }
@@ -33507,7 +33685,11 @@ function createNodeFromContent(content, schema, options) {
33507
33685
  if (isArrayContent) {
33508
33686
  return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
33509
33687
  }
33510
- return schema.nodeFromJSON(content);
33688
+ const node = schema.nodeFromJSON(content);
33689
+ if (options.errorOnInvalidContent) {
33690
+ node.check();
33691
+ }
33692
+ return node;
33511
33693
  } catch (error) {
33512
33694
  if (options.errorOnInvalidContent) {
33513
33695
  throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
@@ -46402,8 +46584,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
46402
46584
  "name": "",
46403
46585
  "readonly": false,
46404
46586
  "tabindex": 0,
46405
- "style": "",
46406
- "placeholder": "Enter a phone number"
46587
+ "style": ""
46588
+ // 'placeholder': 'Enter a phone number',
46407
46589
  };
46408
46590
  const computedDropDownOptions = vue.computed(() => ({
46409
46591
  ...defaultDropdownOptions,
@@ -46640,7 +46822,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
46640
46822
  class: "flex gap-05",
46641
46823
  onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(open) ? open.value = true : open = true)
46642
46824
  }, [
46643
- vue.createVNode(vue.unref(_sfc_main$R), {
46825
+ vue.createVNode(vue.unref(_sfc_main$S), {
46644
46826
  icon: vue.unref(open) ? "collapse_all" : "expand_all"
46645
46827
  }, null, 8, ["icon"]),
46646
46828
  computedDropDownOptions.value.showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
@@ -46655,7 +46837,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
46655
46837
  id: _ctx.id,
46656
46838
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => phone.value = $event),
46657
46839
  required: _ctx.required,
46658
- placeholder: computedInputOptions.value.placeholder,
46840
+ placeholder: props2.placeholder || "Enter a phone number",
46659
46841
  disabled: _ctx.disabled,
46660
46842
  type: "tel",
46661
46843
  autocomplete: _ctx.autocomplete,
@@ -46684,9 +46866,9 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
46684
46866
  };
46685
46867
  }
46686
46868
  });
46687
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
46869
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-17a4fdd5"]]);
46688
46870
  /*!
46689
- * Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
46871
+ * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
46690
46872
  * (c) 2024 Szymon Nowak | Released under the MIT license
46691
46873
  */
46692
46874
  class Point {
@@ -46726,7 +46908,7 @@ class Bezier {
46726
46908
  const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
46727
46909
  const dxm = m1.x - m2.x;
46728
46910
  const dym = m1.y - m2.y;
46729
- const k2 = l2 / (l1 + l2);
46911
+ const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
46730
46912
  const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
46731
46913
  const tx = s2.x - cm.x;
46732
46914
  const ty = s2.y - cm.y;
@@ -47653,10 +47835,10 @@ function createTable() {
47653
47835
  }
47654
47836
  const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
47655
47837
  const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
47656
- const _hoisted_3$9 = { class: "content-area rounded p-1 bg-white shadow-light w-100 grid" };
47838
+ const _hoisted_3$9 = { class: "content-area rounded p-1 shadow-light w-100 grid" };
47657
47839
  const _hoisted_4$5 = {
47658
47840
  key: 0,
47659
- class: "preview-area bg-black color-white w-100 rounded p-1"
47841
+ class: "preview-area w-100 rounded p-1"
47660
47842
  };
47661
47843
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
47662
47844
  __name: "index",
@@ -47817,7 +47999,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
47817
47999
  };
47818
48000
  }
47819
48001
  });
47820
- const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c9729efd"]]);
48002
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
47821
48003
  const _hoisted_1$e = ["for"];
47822
48004
  const _hoisted_2$a = ["id", "name", "value"];
47823
48005
  const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
@@ -47865,7 +48047,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
47865
48047
  vue.createElementVNode("div", _hoisted_3$8, [
47866
48048
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
47867
48049
  key: 0,
47868
- class: "bg-white shadow-light py-025 rounded m_w40",
48050
+ class: "bg-popup shadow-light py-025 rounded m_w40",
47869
48051
  width: "60",
47870
48052
  src: opt.imgSrc,
47871
48053
  alt: opt.imgAlt
@@ -47890,7 +48072,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
47890
48072
  };
47891
48073
  }
47892
48074
  });
47893
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ac3dc0e2"]]);
48075
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
47894
48076
  const _hoisted_1$d = { class: "relative" };
47895
48077
  const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
47896
48078
  __name: "PasswordInput",
@@ -47899,7 +48081,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
47899
48081
  }, {
47900
48082
  "modelValue": {},
47901
48083
  "modelModifiers": {},
47902
- "showPwd": { default: false },
48084
+ "showPwd": { type: Boolean, ...{ default: false } },
47903
48085
  "showPwdModifiers": {}
47904
48086
  }),
47905
48087
  emits: ["update:modelValue", "update:showPwd"],
@@ -54069,7 +54251,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
54069
54251
  }
54070
54252
  });
54071
54253
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
54072
- const _withScopeId = (n2) => (vue.pushScopeId("data-v-8fdf4035"), n2 = n2(), vue.popScopeId(), n2);
54254
+ const _withScopeId = (n2) => (vue.pushScopeId("data-v-d15c030d"), n2 = n2(), vue.popScopeId(), n2);
54073
54255
  const _hoisted_1$5 = { class: "w-100 px-075" };
54074
54256
  const _hoisted_2$1 = { key: 0 };
54075
54257
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
@@ -54092,7 +54274,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
54092
54274
  }
54093
54275
  return (_ctx, _cache) => {
54094
54276
  const _directive_tooltip = vue.resolveDirective("tooltip");
54095
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
54277
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
54096
54278
  class: vue.normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: vue.unref(isOpen) }])
54097
54279
  }, {
54098
54280
  default: vue.withCtx(() => [
@@ -54115,7 +54297,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
54115
54297
  class: "nav-button px-075"
54116
54298
  }, {
54117
54299
  default: vue.withCtx(() => [
54118
- vue.createVNode(vue.unref(_sfc_main$R), {
54300
+ vue.createVNode(vue.unref(_sfc_main$S), {
54119
54301
  icon: nav2.icon,
54120
54302
  size: 1.4
54121
54303
  }, null, 8, ["icon"]),
@@ -54143,7 +54325,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
54143
54325
  };
54144
54326
  }
54145
54327
  });
54146
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8fdf4035"]]);
54328
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
54147
54329
  const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
54148
54330
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54149
54331
  __name: "BottomMenu",
@@ -54152,7 +54334,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54152
54334
  },
54153
54335
  setup(__props) {
54154
54336
  return (_ctx, _cache) => {
54155
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54337
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54156
54338
  default: vue.withCtx(() => [
54157
54339
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
54158
54340
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
@@ -54163,7 +54345,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54163
54345
  onClick: nav2.onClick
54164
54346
  }, {
54165
54347
  default: vue.withCtx(() => [
54166
- vue.createVNode(vue.unref(_sfc_main$R), {
54348
+ vue.createVNode(vue.unref(_sfc_main$S), {
54167
54349
  icon: nav2.icon,
54168
54350
  size: 1.4,
54169
54351
  class: "m-0"
@@ -54179,7 +54361,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54179
54361
  };
54180
54362
  }
54181
54363
  });
54182
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d8a5051a"]]);
54364
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
54183
54365
  const state = vue.reactive(/* @__PURE__ */ new Map());
54184
54366
  function useTabs(group) {
54185
54367
  if (!state.has(group)) {
@@ -54316,7 +54498,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
54316
54498
  class: vue.normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
54317
54499
  onClick: ($event) => selectTab(tab)
54318
54500
  }, [
54319
- typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
54501
+ typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
54320
54502
  key: 0,
54321
54503
  icon: tab.icon
54322
54504
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -54327,7 +54509,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
54327
54509
  };
54328
54510
  }
54329
54511
  });
54330
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-4b4c19a0"]]);
54512
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
54331
54513
  const _hoisted_1$1 = { key: 0 };
54332
54514
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
54333
54515
  __name: "TabsBody",
@@ -54734,8 +54916,9 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
54734
54916
  const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
54735
54917
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
54736
54918
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
54737
- exports.Accordion = _sfc_main$B;
54919
+ exports.Accordion = _sfc_main$C;
54738
54920
  exports.AccordionItem = AccordionItem;
54921
+ exports.AddressSearch = _sfc_main$u;
54739
54922
  exports.Alert = Alert;
54740
54923
  exports.Avatar = Avatar;
54741
54924
  exports.Badge = Badge;
@@ -54747,7 +54930,7 @@ exports.BglMultiStepForm = _sfc_main$r;
54747
54930
  exports.BglVideo = BglVideo;
54748
54931
  exports.BottomMenu = BottomMenu;
54749
54932
  exports.Btn = Btn;
54750
- exports.Card = _sfc_main$E;
54933
+ exports.Card = _sfc_main$F;
54751
54934
  exports.Carousel = Carousel;
54752
54935
  exports.CheckInput = CheckInput;
54753
54936
  exports.Checkbox = Checkbox;
@@ -54760,20 +54943,20 @@ exports.FileUpload = $el;
54760
54943
  exports.Flag = Flag;
54761
54944
  exports.IMAGE_FORMATS = IMAGE_FORMATS;
54762
54945
  exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
54763
- exports.Icon = _sfc_main$R;
54946
+ exports.Icon = _sfc_main$S;
54764
54947
  exports.JSONInput = JSONInput;
54765
54948
  exports.Layout = Layout;
54766
54949
  exports.Lineart = _sfc_main$7;
54767
- exports.ListItem = _sfc_main$K;
54950
+ exports.ListItem = _sfc_main$L;
54768
54951
  exports.ListView = ListView;
54769
- exports.MapEmbed = _sfc_main$v;
54770
- exports.MaterialIcon = _sfc_main$R;
54771
- exports.Modal = _sfc_main$O;
54772
- exports.ModalConfirm = _sfc_main$w;
54952
+ exports.MapEmbed = _sfc_main$w;
54953
+ exports.MaterialIcon = _sfc_main$S;
54954
+ exports.Modal = _sfc_main$P;
54955
+ exports.ModalConfirm = _sfc_main$x;
54773
54956
  exports.ModalForm = ModalForm;
54774
54957
  exports.ModalPlugin = ModalPlugin;
54775
54958
  exports.NavBar = NavBar;
54776
- exports.PageTitle = _sfc_main$J;
54959
+ exports.PageTitle = _sfc_main$K;
54777
54960
  exports.PasswordInput = _sfc_main$8;
54778
54961
  exports.RadioGroup = RadioGroup;
54779
54962
  exports.RadioPillsInput = RadioPillsInput;
@@ -54791,12 +54974,13 @@ exports.TabsBody = _sfc_main$1;
54791
54974
  exports.TabsNav = TabsNav;
54792
54975
  exports.TelInput = TelInput;
54793
54976
  exports.TextInput = TextInput;
54794
- exports.Title = _sfc_main$C;
54977
+ exports.Title = _sfc_main$D;
54795
54978
  exports.ToggleInput = ToggleInput;
54796
54979
  exports.TopBar = TopBar;
54797
54980
  exports.VIDEO_FORMATS = VIDEO_FORMATS;
54798
54981
  exports.VIDEO_FORMATS_REGEXP = VIDEO_FORMATS_REGEXP;
54799
54982
  exports.allCountries = allCountries;
54983
+ exports.appendScript = appendScript;
54800
54984
  exports.bagelFormUtils = bagelFormUtils;
54801
54985
  exports.bagelInjectionKey = bagelInjectionKey;
54802
54986
  exports.bindAttrs = bindAttrs;
@@ -54811,6 +54995,7 @@ exports.iffer = iffer;
54811
54995
  exports.initials = initials;
54812
54996
  exports.isDate = isDate$1;
54813
54997
  exports.keyToLabel = keyToLabel;
54998
+ exports.sleep = sleep;
54814
54999
  exports.useBagel = useBagel;
54815
55000
  exports.useBglSchema = useBglSchema;
54816
55001
  exports.useEscape = useEscape;