@bagelink/vue 0.0.736 → 0.0.740

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) 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.map +1 -1
  10. package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/PasswordInput.vue.d.ts +18 -43
  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/SelectInput.vue.d.ts.map +1 -1
  15. package/dist/components/form/inputs/index.d.ts +1 -0
  16. package/dist/components/form/inputs/index.d.ts.map +1 -1
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/index.d.ts.map +1 -1
  19. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  20. package/dist/index.cjs +563 -338
  21. package/dist/index.mjs +563 -338
  22. package/dist/style.css +1157 -424
  23. package/dist/utils/index.d.ts +2 -0
  24. package/dist/utils/index.d.ts.map +1 -1
  25. package/package.json +4 -3
  26. package/src/components/AddressSearch.vue +41 -0
  27. package/src/components/Badge.vue +1 -1
  28. package/src/components/Btn.vue +9 -7
  29. package/src/components/Card.vue +2 -2
  30. package/src/components/ListItem.vue +1 -1
  31. package/src/components/MapEmbed.vue +143 -104
  32. package/src/components/Modal.vue +5 -2
  33. package/src/components/ModalConfirm.vue +1 -1
  34. package/src/components/NavBar.vue +9 -9
  35. package/src/components/TableSchema.vue +3 -3
  36. package/src/components/form/inputs/Checkbox.vue +1 -1
  37. package/src/components/form/inputs/DatePicker.vue +5 -5
  38. package/src/components/form/inputs/FileUpload.vue +3 -3
  39. package/src/components/form/inputs/PasswordInput.vue +25 -0
  40. package/src/components/form/inputs/RadioGroup.vue +1 -1
  41. package/src/components/form/inputs/RadioPillsInput.vue +2 -2
  42. package/src/components/form/inputs/RichText.vue +3 -3
  43. package/src/components/form/inputs/RichText2/index.vue +8 -2
  44. package/src/components/form/inputs/SelectInput.vue +11 -4
  45. package/src/components/form/inputs/TableField.vue +3 -3
  46. package/src/components/form/inputs/TextInput.vue +3 -3
  47. package/src/components/form/inputs/ToggleInput.vue +1 -1
  48. package/src/components/form/inputs/index.ts +1 -0
  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 +24 -18
  58. package/src/styles/appearance.css +16 -0
  59. package/src/styles/bagel.css +2 -1
  60. package/src/styles/inputs.css +3 -3
  61. package/src/styles/loginCard.css +1 -1
  62. package/src/styles/modal.css +2 -2
  63. package/src/styles/scrollbar.css +1 -1
  64. package/src/styles/text.css +8 -0
  65. package/src/styles/theme.css +68 -41
  66. 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,24 +5177,24 @@ class Bagel {
5145
5177
  return data2;
5146
5178
  }
5147
5179
  }
5148
- const _hoisted_1$N = { class: "bgl-lightbox-item" };
5149
- const _hoisted_2$C = ["src"];
5150
- const _hoisted_3$q = ["src", "title"];
5151
- const _hoisted_4$i = {
5180
+ const _hoisted_1$P = {
5181
+ key: 0,
5182
+ class: "navigation flex space-between px-3 w-100 absolute"
5183
+ };
5184
+ const _hoisted_2$C = { class: "bgl-lightbox-item" };
5185
+ const _hoisted_3$q = ["src"];
5186
+ const _hoisted_4$i = ["src", "title"];
5187
+ const _hoisted_5$g = {
5152
5188
  key: 3,
5153
5189
  class: "file-info txt-white"
5154
5190
  };
5155
- const _hoisted_5$g = ["href"];
5156
- const _hoisted_6$b = {
5191
+ const _hoisted_6$b = ["href"];
5192
+ const _hoisted_7$6 = {
5157
5193
  key: 0,
5158
- class: "navigation flex space-between w-100 absolute"
5159
- };
5160
- const _hoisted_7$5 = {
5161
- key: 1,
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$R = /* @__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);
@@ -5174,7 +5206,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5174
5206
  currentItem.value = item;
5175
5207
  if (!groupItems.length) return;
5176
5208
  group.value = groupItems;
5177
- currentIndex.value = groupItems.indexOf(item);
5209
+ currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
5178
5210
  document.addEventListener("keydown", handleKeydown);
5179
5211
  }
5180
5212
  function close2() {
@@ -5231,8 +5263,20 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5231
5263
  ],
5232
5264
  onClick: close2
5233
5265
  }, [
5266
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
5267
+ createVNode(unref(Btn), {
5268
+ class: "navigation-btn oval",
5269
+ icon: "arrow_back",
5270
+ onClick: prev
5271
+ }),
5272
+ createVNode(unref(Btn), {
5273
+ class: "navigation-btn oval",
5274
+ icon: "arrow_forward",
5275
+ onClick: next
5276
+ })
5277
+ ])) : createCommentVNode("", true),
5234
5278
  createElementVNode("div", {
5235
- class: "bgl-lightbox relative vw90 txt-center",
5279
+ class: "bgl-lightbox relative txt-center",
5236
5280
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
5237
5281
  }, ["stop"]))
5238
5282
  }, [
@@ -5242,56 +5286,47 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5242
5286
  icon: "close",
5243
5287
  onClick: close2
5244
5288
  }),
5245
- createElementVNode("div", _hoisted_1$N, [
5289
+ createElementVNode("div", _hoisted_2$C, [
5246
5290
  ((_a2 = unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (openBlock(), createElementBlock("img", {
5247
5291
  key: 0,
5248
5292
  src: (_b = unref(currentItem)) == null ? void 0 : _b.src,
5249
- alt: "Preview"
5250
- }, null, 8, _hoisted_2$C)) : ((_c = unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
5293
+ alt: "Preview",
5294
+ class: "vw90 lightbox-image"
5295
+ }, null, 8, _hoisted_3$q)) : ((_c = unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
5251
5296
  key: 1,
5252
5297
  src: (_d = unref(currentItem)) == null ? void 0 : _d.src,
5253
5298
  autoplay: "",
5254
- controls: ""
5299
+ controls: "",
5300
+ class: "vw90"
5255
5301
  }, null, 8, ["src"])) : ((_e2 = unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
5256
5302
  key: 2,
5257
5303
  src: normalizeURL((_f = unref(currentItem)) == null ? void 0 : _f.src),
5258
5304
  type: "application/pdf",
5259
5305
  width: "100%",
5260
5306
  height: "1080",
5261
- title: (_g = unref(currentItem)) == null ? void 0 : _g.name
5262
- }, null, 8, _hoisted_3$q)) : (openBlock(), createElementBlock("div", _hoisted_4$i, [
5307
+ title: (_g = unref(currentItem)) == null ? void 0 : _g.name,
5308
+ class: "vw90"
5309
+ }, null, 8, _hoisted_4$i)) : (openBlock(), createElementBlock("div", _hoisted_5$g, [
5263
5310
  createElementVNode("p", null, "File: " + toDisplayString((_h = unref(currentItem)) == null ? void 0 : _h.name), 1),
5264
5311
  createElementVNode("p", null, "Type: " + toDisplayString((_i = unref(currentItem)) == null ? void 0 : _i.type), 1),
5265
5312
  createElementVNode("a", {
5266
5313
  href: (_j = unref(currentItem)) == null ? void 0 : _j.src,
5267
5314
  target: "_blank"
5268
- }, "Open file", 8, _hoisted_5$g)
5315
+ }, "Open file", 8, _hoisted_6$b)
5269
5316
  ]))
5270
5317
  ]),
5271
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
5272
- createVNode(unref(Btn), {
5273
- class: "navigation-btn oval user-select-none",
5274
- icon: "arrow_back",
5275
- onClick: prev
5276
- }),
5277
- createVNode(unref(Btn), {
5278
- class: "navigation-btn oval user-select-none",
5279
- icon: "arrow_forward",
5280
- onClick: next
5281
- })
5282
- ])) : createCommentVNode("", true),
5283
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_7$5, [
5318
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_7$6, [
5284
5319
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(group), (item, index2) => {
5285
5320
  return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
5286
5321
  item.type === "image" ? (openBlock(), createElementBlock("img", {
5287
5322
  key: 0,
5288
- 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 }]),
5289
5324
  src: item.src,
5290
5325
  alt: "",
5291
5326
  onClick: ($event) => selectItem(index2)
5292
- }, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$Q), {
5327
+ }, null, 10, _hoisted_8$3)) : (openBlock(), createBlock(unref(_sfc_main$S), {
5293
5328
  key: 1,
5294
- 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 }]),
5295
5330
  icon: "description",
5296
5331
  onClick: ($event) => selectItem(index2)
5297
5332
  }, null, 8, ["class", "onClick"]))
@@ -5314,7 +5349,7 @@ const _export_sfc = (sfc, props2) => {
5314
5349
  }
5315
5350
  return target;
5316
5351
  };
5317
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-c3c26420"]]);
5352
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-562f0f36"]]);
5318
5353
  const groups = {};
5319
5354
  const lightboxDirective = {
5320
5355
  mounted(el, binding) {
@@ -5524,7 +5559,7 @@ function frmRow(...children2) {
5524
5559
  function bglForm(idOrField, ...schema) {
5525
5560
  if (typeof idOrField === "string") {
5526
5561
  return {
5527
- $el: markRaw(_sfc_main$s),
5562
+ $el: markRaw(_sfc_main$t),
5528
5563
  id: idOrField,
5529
5564
  attrs: {
5530
5565
  schema: [idOrField, ...schema]
@@ -5532,7 +5567,7 @@ function bglForm(idOrField, ...schema) {
5532
5567
  };
5533
5568
  }
5534
5569
  return {
5535
- $el: markRaw(_sfc_main$s),
5570
+ $el: markRaw(_sfc_main$t),
5536
5571
  attrs: {
5537
5572
  schema: [idOrField, ...schema]
5538
5573
  }
@@ -5663,6 +5698,22 @@ function getFallbackSchema(data2, showFields) {
5663
5698
  );
5664
5699
  return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
5665
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
+ }
5666
5717
  const bagelInjectionKey = Symbol("bagel");
5667
5718
  const i18nTInjectionKey = Symbol("bagel");
5668
5719
  function useBagel() {
@@ -5753,9 +5804,9 @@ const ModalPlugin = {
5753
5804
  return h$2(ModalForm, props2, modal.componentSlots);
5754
5805
  }
5755
5806
  if (modal.modalType === "confirm") {
5756
- return h$2(_sfc_main$v, props2, {});
5807
+ return h$2(_sfc_main$x, props2, {});
5757
5808
  }
5758
- return h$2(_sfc_main$N, props2, modal.componentSlots);
5809
+ return h$2(_sfc_main$P, props2, modal.componentSlots);
5759
5810
  });
5760
5811
  }
5761
5812
  });
@@ -5781,7 +5832,7 @@ function useLocalStorage(key, initialValue) {
5781
5832
  }, { immediate: true, deep: true });
5782
5833
  return value;
5783
5834
  }
5784
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5835
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5785
5836
  __name: "MaterialIcon",
5786
5837
  props: {
5787
5838
  icon: {},
@@ -5799,13 +5850,13 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5799
5850
  };
5800
5851
  }
5801
5852
  });
5802
- const _hoisted_1$M = { class: "full-nav" };
5853
+ const _hoisted_1$O = { class: "full-nav" };
5803
5854
  const _hoisted_2$B = { class: "nav-scroll" };
5804
5855
  const _hoisted_3$p = { class: "nav-links-wrapper" };
5805
5856
  const _hoisted_4$h = { class: "tooltip" };
5806
5857
  const _hoisted_5$f = { class: "bot-buttons-wrapper" };
5807
5858
  const _hoisted_6$a = { class: "tooltip" };
5808
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
5859
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5809
5860
  __name: "NavBar",
5810
5861
  props: {
5811
5862
  footerLinks: { default: () => [] },
@@ -5830,12 +5881,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5830
5881
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
5831
5882
  onKeypress: _cache[1] || (_cache[1] = withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
5832
5883
  }, [
5833
- createVNode(unref(_sfc_main$Q), {
5884
+ createVNode(unref(_sfc_main$S), {
5834
5885
  icon: "chevron_right",
5835
5886
  class: "top-arrow"
5836
5887
  })
5837
5888
  ], 32),
5838
- createElementVNode("div", _hoisted_1$M, [
5889
+ createElementVNode("div", _hoisted_1$O, [
5839
5890
  createElementVNode("div", _hoisted_2$B, [
5840
5891
  createElementVNode("div", _hoisted_3$p, [
5841
5892
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.links, (link) => {
@@ -5849,7 +5900,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5849
5900
  }
5850
5901
  }, {
5851
5902
  default: withCtx(() => [
5852
- createVNode(unref(_sfc_main$Q), {
5903
+ createVNode(unref(_sfc_main$S), {
5853
5904
  icon: link.icon
5854
5905
  }, null, 8, ["icon"]),
5855
5906
  createElementVNode("div", _hoisted_4$h, toDisplayString(link.label), 1)
@@ -5871,7 +5922,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5871
5922
  }
5872
5923
  }, {
5873
5924
  default: withCtx(() => [
5874
- createVNode(unref(_sfc_main$Q), {
5925
+ createVNode(unref(_sfc_main$S), {
5875
5926
  icon: link.icon
5876
5927
  }, null, 8, ["icon"]),
5877
5928
  createElementVNode("div", _hoisted_6$a, toDisplayString(link.label), 1)
@@ -5886,8 +5937,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5886
5937
  };
5887
5938
  }
5888
5939
  });
5889
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-776cab4a"]]);
5890
- const _hoisted_1$L = {
5940
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-bc4e49f9"]]);
5941
+ const _hoisted_1$N = {
5891
5942
  key: 0,
5892
5943
  class: "loading"
5893
5944
  };
@@ -5895,7 +5946,7 @@ const _hoisted_2$A = {
5895
5946
  key: 1,
5896
5947
  class: "bgl_btn-flex"
5897
5948
  };
5898
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
5949
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5899
5950
  __name: "Btn",
5900
5951
  props: {
5901
5952
  disabled: { type: Boolean, default: false },
@@ -5919,8 +5970,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5919
5970
  },
5920
5971
  setup(__props) {
5921
5972
  useCssVars((_ctx) => ({
5922
- "5953bce2": computedBackgroundColor.value,
5923
- "7b3cc0ac": cumputedTextColor.value
5973
+ "616bd948": computedBackgroundColor.value,
5974
+ "796e2f37": cumputedTextColor.value
5924
5975
  }));
5925
5976
  const props2 = __props;
5926
5977
  const isComponent = computed(() => {
@@ -5938,7 +5989,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5938
5989
  const computedDefaultColors = computed(
5939
5990
  () => ({
5940
5991
  backgroundColor: "var(--bgl-primary)",
5941
- color: props2.flat ? "var(--bgl-black)" : "var(--bgl-white)"
5992
+ color: props2.flat ? "var(--bgl-text-color)" : "var(--bgl-light-text)"
5942
5993
  })
5943
5994
  );
5944
5995
  function getThemeColors(theme) {
@@ -5989,8 +6040,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5989
6040
  onClick: withModifiers(_ctx.onClick, ["stop"])
5990
6041
  }, {
5991
6042
  default: withCtx(() => [
5992
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$L)) : (openBlock(), createElementBlock("div", _hoisted_2$A, [
5993
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
6043
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$N)) : (openBlock(), createElementBlock("div", _hoisted_2$A, [
6044
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
5994
6045
  key: 0,
5995
6046
  icon: _ctx.icon
5996
6047
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -5998,7 +6049,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5998
6049
  !unref(slots).default && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
5999
6050
  createTextVNode(toDisplayString(_ctx.value), 1)
6000
6051
  ], 64)) : createCommentVNode("", true),
6001
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$Q), {
6052
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
6002
6053
  key: 2,
6003
6054
  icon: props2["icon.end"]
6004
6055
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -6009,20 +6060,20 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6009
6060
  };
6010
6061
  }
6011
6062
  });
6012
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-895cf824"]]);
6013
- const _hoisted_1$K = {
6063
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-86bf4080"]]);
6064
+ const _hoisted_1$M = {
6014
6065
  key: 0,
6015
6066
  class: "tool-bar"
6016
6067
  };
6017
6068
  const _hoisted_2$z = {
6018
6069
  key: 1,
6019
- class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6070
+ class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
6020
6071
  };
6021
6072
  const _hoisted_3$o = {
6022
6073
  key: 2,
6023
6074
  class: "modal-footer mt-1"
6024
6075
  };
6025
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
6076
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
6026
6077
  __name: "Modal",
6027
6078
  props: {
6028
6079
  side: { type: Boolean },
@@ -6078,7 +6129,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6078
6129
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
6079
6130
  onKeydown: withKeys(closeModal, ["esc"])
6080
6131
  }, [
6081
- createVNode(unref(_sfc_main$D), {
6132
+ createVNode(unref(_sfc_main$F), {
6082
6133
  class: "modal",
6083
6134
  style: normalizeStyle({ ...maxWidth.value }),
6084
6135
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -6087,7 +6138,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6087
6138
  default: withCtx(() => {
6088
6139
  var _a2;
6089
6140
  return [
6090
- unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$K, [
6141
+ unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$M, [
6091
6142
  renderSlot(_ctx.$slots, "toolbar"),
6092
6143
  createVNode(unref(Btn), {
6093
6144
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -6095,7 +6146,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6095
6146
  icon: "close",
6096
6147
  onClick: closeModal
6097
6148
  }, null, 8, ["style"]),
6098
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$B), {
6149
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
6099
6150
  key: 0,
6100
6151
  class: "modal-title",
6101
6152
  tag: "h3",
@@ -6103,7 +6154,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6103
6154
  }, null, 8, ["label"])) : createCommentVNode("", true)
6104
6155
  ])) : (openBlock(), createElementBlock("div", _hoisted_2$z, [
6105
6156
  createVNode(unref(Btn), {
6106
- class: "color-black position-start",
6157
+ class: "position-start",
6107
6158
  icon: "close",
6108
6159
  thin: "",
6109
6160
  color: "white",
@@ -6129,7 +6180,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6129
6180
  };
6130
6181
  }
6131
6182
  });
6132
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
6183
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
6133
6184
  __name: "ModalForm",
6134
6185
  props: /* @__PURE__ */ mergeModels({
6135
6186
  side: { type: Boolean },
@@ -6190,7 +6241,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6190
6241
  }
6191
6242
  __expose({ setFormValues });
6192
6243
  return (_ctx, _cache) => {
6193
- return openBlock(), createBlock(unref(_sfc_main$N), {
6244
+ return openBlock(), createBlock(unref(_sfc_main$P), {
6194
6245
  ref_key: "modal",
6195
6246
  ref: modal,
6196
6247
  side: _ctx.side,
@@ -6201,7 +6252,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6201
6252
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
6202
6253
  }, createSlots({
6203
6254
  default: withCtx(() => [
6204
- createVNode(unref(_sfc_main$s), {
6255
+ createVNode(unref(_sfc_main$t), {
6205
6256
  ref_key: "form",
6206
6257
  ref: form,
6207
6258
  modelValue: formData.value,
@@ -6243,12 +6294,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
6243
6294
  };
6244
6295
  }
6245
6296
  });
6246
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-083a1b2d"]]);
6247
- const _hoisted_1$J = { class: "accordion-item" };
6297
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-083a1b2d"]]);
6298
+ const _hoisted_1$L = { class: "accordion-item" };
6248
6299
  const _hoisted_2$y = ["aria-expanded", "aria-controls"];
6249
6300
  const _hoisted_3$n = { class: "accordion-label" };
6250
6301
  const _hoisted_4$g = ["id", "aria-hidden"];
6251
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
6302
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
6252
6303
  __name: "AccordionItem",
6253
6304
  props: {
6254
6305
  label: {},
@@ -6285,7 +6336,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6285
6336
  else if (accordionState.openItem === id) accordionState.openItem = null;
6286
6337
  }
6287
6338
  return (_ctx, _cache) => {
6288
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
6339
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
6289
6340
  createElementVNode("button", {
6290
6341
  "aria-expanded": unref(isOpen) ? "true" : "false",
6291
6342
  class: "accordion-head",
@@ -6298,7 +6349,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6298
6349
  createElementVNode("div", {
6299
6350
  class: normalizeClass(["accordion-icon", { open: unref(isOpen) }])
6300
6351
  }, [
6301
- createVNode(unref(_sfc_main$Q), { icon: "expand_more" })
6352
+ createVNode(unref(_sfc_main$S), { icon: "expand_more" })
6302
6353
  ], 2)
6303
6354
  ], 8, _hoisted_2$y),
6304
6355
  createVNode(Transition, { name: "expand" }, {
@@ -6318,13 +6369,13 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6318
6369
  };
6319
6370
  }
6320
6371
  });
6321
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-f87b579d"]]);
6322
- const _sfc_main$K = {};
6323
- const _hoisted_1$I = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6372
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-f87b579d"]]);
6373
+ const _sfc_main$M = {};
6374
+ const _hoisted_1$K = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
6324
6375
  const _hoisted_2$x = { class: "p-1" };
6325
6376
  const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
6326
6377
  function _sfc_render$2(_ctx, _cache) {
6327
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
6378
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
6328
6379
  createElementVNode("div", _hoisted_2$x, [
6329
6380
  renderSlot(_ctx.$slots, "header")
6330
6381
  ]),
@@ -6333,10 +6384,10 @@ function _sfc_render$2(_ctx, _cache) {
6333
6384
  ])
6334
6385
  ]);
6335
6386
  }
6336
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$2]]);
6337
- const _hoisted_1$H = { class: "no-margin ellipsis line-height-14 pb-025" };
6387
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$2]]);
6388
+ const _hoisted_1$J = { class: "no-margin ellipsis line-height-14 pb-025" };
6338
6389
  const _hoisted_2$w = { class: "txt12 no-margin txt-gray ellipsis" };
6339
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
6390
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
6340
6391
  __name: "ListItem",
6341
6392
  props: {
6342
6393
  src: {},
@@ -6363,14 +6414,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6363
6414
  src: _ctx.src,
6364
6415
  size: 40
6365
6416
  }, null, 8, ["name", "src"])) : createCommentVNode("", true),
6366
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
6417
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
6367
6418
  key: 1,
6368
6419
  size: "1.2",
6369
6420
  class: "color-primary",
6370
6421
  icon: _ctx.icon
6371
6422
  }, null, 8, ["icon"])) : createCommentVNode("", true),
6372
6423
  createElementVNode("div", null, [
6373
- createElementVNode("p", _hoisted_1$H, [
6424
+ createElementVNode("p", _hoisted_1$J, [
6374
6425
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
6375
6426
  renderSlot(_ctx.$slots, "default")
6376
6427
  ]),
@@ -6385,9 +6436,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6385
6436
  };
6386
6437
  }
6387
6438
  });
6388
- const _hoisted_1$G = { class: "page-top" };
6439
+ const _hoisted_1$I = { class: "page-top" };
6389
6440
  const _hoisted_2$v = { class: "top-title m-0" };
6390
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
6441
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6391
6442
  __name: "PageTitle",
6392
6443
  props: {
6393
6444
  value: {
@@ -6397,7 +6448,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6397
6448
  },
6398
6449
  setup(__props) {
6399
6450
  return (_ctx, _cache) => {
6400
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
6451
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
6401
6452
  createElementVNode("h1", _hoisted_2$v, [
6402
6453
  renderSlot(_ctx.$slots, "default"),
6403
6454
  createTextVNode(" " + toDisplayString(__props.value), 1)
@@ -6720,8 +6771,8 @@ function useVerticalVirtualList(options, list) {
6720
6771
  containerRef
6721
6772
  };
6722
6773
  }
6723
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-5441d9cd"), n2 = n2(), popScopeId(), n2);
6724
- const _hoisted_1$F = {
6774
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-bd90dc89"), n2 = n2(), popScopeId(), n2);
6775
+ const _hoisted_1$H = {
6725
6776
  key: 0,
6726
6777
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
6727
6778
  };
@@ -6732,13 +6783,13 @@ const _hoisted_3$l = [
6732
6783
  const _hoisted_4$f = { class: "infinite-wrapper" };
6733
6784
  const _hoisted_5$e = { class: "row first-row" };
6734
6785
  const _hoisted_6$9 = { key: 0 };
6735
- const _hoisted_7$4 = ["onClick"];
6786
+ const _hoisted_7$5 = ["onClick"];
6736
6787
  const _hoisted_8$2 = { class: "flex" };
6737
6788
  const _hoisted_9$2 = ["onClick"];
6738
6789
  const _hoisted_10$1 = { key: 0 };
6739
6790
  const _hoisted_11$1 = ["value"];
6740
6791
  const _hoisted_12$1 = { key: 1 };
6741
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
6792
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6742
6793
  __name: "TableSchema",
6743
6794
  props: /* @__PURE__ */ mergeModels({
6744
6795
  selectedItems: {},
@@ -6754,7 +6805,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6754
6805
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6755
6806
  setup(__props, { emit: __emit }) {
6756
6807
  useCssVars((_ctx) => ({
6757
- "efa9c80e": unref(computedItemHiehgt)
6808
+ "38e39900": unref(computedItemHiehgt)
6758
6809
  }));
6759
6810
  const props2 = __props;
6760
6811
  const emit2 = __emit;
@@ -6875,7 +6926,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6875
6926
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
6876
6927
  class: { "loading-table": loading.value }
6877
6928
  }), [
6878
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$F, _hoisted_3$l)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
6929
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, _hoisted_3$l)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
6879
6930
  createElementVNode("table", _hoisted_4$f, [
6880
6931
  createElementVNode("thead", _hoisted_5$e, [
6881
6932
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$9, [
@@ -6899,13 +6950,13 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6899
6950
  createElementVNode("div", {
6900
6951
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
6901
6952
  }, [
6902
- createVNode(unref(_sfc_main$Q), {
6953
+ createVNode(unref(_sfc_main$S), {
6903
6954
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
6904
6955
  icon: "keyboard_arrow_up"
6905
6956
  }, null, 8, ["class"])
6906
6957
  ], 2)
6907
6958
  ])
6908
- ], 8, _hoisted_7$4);
6959
+ ], 8, _hoisted_7$5);
6909
6960
  }), 128))
6910
6961
  ]),
6911
6962
  createElementVNode("tbody", null, [
@@ -6939,7 +6990,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6939
6990
  row,
6940
6991
  field
6941
6992
  }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_12$1, [
6942
- createVNode(unref(_sfc_main$r), {
6993
+ createVNode(unref(_sfc_main$s), {
6943
6994
  class: "embedded-field",
6944
6995
  field,
6945
6996
  modelValue: row,
@@ -6957,16 +7008,16 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6957
7008
  };
6958
7009
  }
6959
7010
  });
6960
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-5441d9cd"]]);
6961
- const _sfc_main$G = {};
6962
- const _hoisted_1$E = { class: "flex space-between" };
7011
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-bd90dc89"]]);
7012
+ const _sfc_main$I = {};
7013
+ const _hoisted_1$G = { class: "flex space-between" };
6963
7014
  function _sfc_render$1(_ctx, _cache) {
6964
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
7015
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
6965
7016
  renderSlot(_ctx.$slots, "default")
6966
7017
  ]);
6967
7018
  }
6968
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$1]]);
6969
- const _sfc_main$F = {};
7019
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$1]]);
7020
+ const _sfc_main$H = {};
6970
7021
  function _sfc_render(_ctx, _cache) {
6971
7022
  const _component_router_view = resolveComponent("router-view");
6972
7023
  return openBlock(), createBlock(_component_router_view, null, {
@@ -6988,8 +7039,8 @@ function _sfc_render(_ctx, _cache) {
6988
7039
  _: 1
6989
7040
  });
6990
7041
  }
6991
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render]]);
6992
- const _hoisted_1$D = {
7042
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render]]);
7043
+ const _hoisted_1$F = {
6993
7044
  key: 0,
6994
7045
  class: "data"
6995
7046
  };
@@ -7004,13 +7055,13 @@ const _hoisted_6$8 = {
7004
7055
  key: 0,
7005
7056
  class: "data-row"
7006
7057
  };
7007
- const _hoisted_7$3 = { class: "key" };
7058
+ const _hoisted_7$4 = { class: "key" };
7008
7059
  const _hoisted_8$1 = { class: "m-0" };
7009
7060
  const _hoisted_9$1 = {
7010
7061
  key: 0,
7011
7062
  class: "m-0"
7012
7063
  };
7013
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
7064
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
7014
7065
  __name: "DataPreview",
7015
7066
  props: /* @__PURE__ */ mergeModels({
7016
7067
  showFields: {},
@@ -7046,8 +7097,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7046
7097
  const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
7047
7098
  return (_ctx, _cache) => {
7048
7099
  var _a2;
7049
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
7050
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$B), {
7100
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
7101
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$D), {
7051
7102
  key: 0,
7052
7103
  label: _ctx.title
7053
7104
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -7059,7 +7110,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7059
7110
  createElementVNode("div", _hoisted_3$k, [
7060
7111
  createElementVNode("p", _hoisted_4$e, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
7061
7112
  ]),
7062
- createVNode(unref(_sfc_main$r), {
7113
+ createVNode(unref(_sfc_main$s), {
7063
7114
  modelValue: itemData.value,
7064
7115
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
7065
7116
  label: "",
@@ -7073,7 +7124,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7073
7124
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, ({ id, label }) => {
7074
7125
  return openBlock(), createElementBlock(Fragment$1, { key: id }, [
7075
7126
  !isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$8, [
7076
- createElementVNode("div", _hoisted_7$3, [
7127
+ createElementVNode("div", _hoisted_7$4, [
7077
7128
  createElementVNode("p", _hoisted_8$1, toDisplayString(label), 1)
7078
7129
  ]),
7079
7130
  createElementVNode("div", null, [
@@ -7088,12 +7139,12 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7088
7139
  };
7089
7140
  }
7090
7141
  });
7091
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-4d174f13"]]);
7092
- const _hoisted_1$C = {
7142
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4d174f13"]]);
7143
+ const _hoisted_1$E = {
7093
7144
  key: 0,
7094
7145
  class: "card_label"
7095
7146
  };
7096
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
7147
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
7097
7148
  __name: "Card",
7098
7149
  props: {
7099
7150
  label: {},
@@ -7121,7 +7172,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7121
7172
  }])
7122
7173
  }, {
7123
7174
  default: withCtx(() => [
7124
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$C, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
7175
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
7125
7176
  renderSlot(_ctx.$slots, "default")
7126
7177
  ]),
7127
7178
  _: 3
@@ -7129,8 +7180,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7129
7180
  };
7130
7181
  }
7131
7182
  });
7132
- const _hoisted_1$B = ["src", "alt"];
7133
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
7183
+ const _hoisted_1$D = ["src", "alt"];
7184
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
7134
7185
  __name: "Avatar",
7135
7186
  props: {
7136
7187
  fallback: {},
@@ -7148,7 +7199,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7148
7199
  key: 0,
7149
7200
  src: _ctx.src,
7150
7201
  alt: _ctx.name
7151
- }, null, 8, _hoisted_1$B)) : (openBlock(), createElementBlock("p", {
7202
+ }, null, 8, _hoisted_1$D)) : (openBlock(), createElementBlock("p", {
7152
7203
  key: 1,
7153
7204
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
7154
7205
  }, toDisplayString(_ctx.fallback || unref(initials)(_ctx.name || "")), 5))
@@ -7156,8 +7207,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7156
7207
  };
7157
7208
  }
7158
7209
  });
7159
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-dd2f6734"]]);
7160
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
7210
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-dd2f6734"]]);
7211
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
7161
7212
  __name: "Title",
7162
7213
  props: {
7163
7214
  value: {
@@ -7185,7 +7236,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7185
7236
  };
7186
7237
  }
7187
7238
  });
7188
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
7239
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
7189
7240
  __name: "Accordion",
7190
7241
  setup(__props) {
7191
7242
  const state2 = reactive({
@@ -7199,9 +7250,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7199
7250
  };
7200
7251
  }
7201
7252
  });
7202
- const _hoisted_1$A = ["dismissable"];
7253
+ const _hoisted_1$C = ["dismissable"];
7203
7254
  const _hoisted_2$s = { class: "m-0" };
7204
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
7255
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
7205
7256
  __name: "Alert",
7206
7257
  props: {
7207
7258
  message: {},
@@ -7222,7 +7273,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7222
7273
  class: normalizeClass(["alert", [_ctx.type]]),
7223
7274
  dismissable: _ctx.dismissable
7224
7275
  }, [
7225
- _ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$Q), {
7276
+ _ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$S), {
7226
7277
  key: 0,
7227
7278
  class: "alert_icon",
7228
7279
  icon: _ctx.icon || _ctx.type,
@@ -7237,12 +7288,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7237
7288
  icon: "close",
7238
7289
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
7239
7290
  })
7240
- ], 10, _hoisted_1$A)) : createCommentVNode("", true);
7291
+ ], 10, _hoisted_1$C)) : createCommentVNode("", true);
7241
7292
  };
7242
7293
  }
7243
7294
  });
7244
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-1322d9e1"]]);
7245
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
7295
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1322d9e1"]]);
7296
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
7246
7297
  __name: "Badge",
7247
7298
  props: {
7248
7299
  color: {},
@@ -7258,13 +7309,13 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7258
7309
  return openBlock(), createElementBlock("div", {
7259
7310
  class: normalizeClass(["pill", [_ctx.color]])
7260
7311
  }, [
7261
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
7312
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
7262
7313
  key: 0,
7263
7314
  class: "inline",
7264
7315
  icon: _ctx.icon
7265
7316
  }, null, 8, ["icon"])) : createCommentVNode("", true),
7266
7317
  createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
7267
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$Q), {
7318
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$S), {
7268
7319
  key: 1,
7269
7320
  class: "inline",
7270
7321
  icon: props2["icon.end"]
@@ -7273,10 +7324,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7273
7324
  };
7274
7325
  }
7275
7326
  });
7276
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-532b36ae"]]);
7277
- const _hoisted_1$z = ["src"];
7327
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-40a0b03a"]]);
7328
+ const _hoisted_1$B = ["src"];
7278
7329
  const _hoisted_2$r = ["src", "autoplay", "muted", "loop", "controls"];
7279
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
7330
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
7280
7331
  __name: "BglVideo",
7281
7332
  props: {
7282
7333
  src: {},
@@ -7331,7 +7382,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7331
7382
  allowfullscreen: "",
7332
7383
  title: "Video",
7333
7384
  allow: "autoplay"
7334
- }, null, 12, _hoisted_1$z)) : _ctx.src ? (openBlock(), createElementBlock("video", {
7385
+ }, null, 12, _hoisted_1$B)) : _ctx.src ? (openBlock(), createElementBlock("video", {
7335
7386
  key: 1,
7336
7387
  src: _ctx.src,
7337
7388
  autoplay: _ctx.autoplay,
@@ -7345,13 +7396,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7345
7396
  };
7346
7397
  }
7347
7398
  });
7348
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-8495afe2"]]);
7349
- const _hoisted_1$y = {
7399
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-8495afe2"]]);
7400
+ const _hoisted_1$A = {
7350
7401
  key: 0,
7351
7402
  class: "blocker"
7352
7403
  };
7353
7404
  const _hoisted_2$q = { class: "Handlers" };
7354
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
7405
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
7355
7406
  __name: "Carousel",
7356
7407
  props: {
7357
7408
  autoHeight: {
@@ -7499,7 +7550,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7499
7550
  onScrollend: scrollEnd,
7500
7551
  onMousedown: startDragging
7501
7552
  }, [
7502
- unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$y)) : createCommentVNode("", true),
7553
+ unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$A)) : createCommentVNode("", true),
7503
7554
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
7504
7555
  ], 34),
7505
7556
  createElementVNode("div", _hoisted_2$q, [
@@ -7520,10 +7571,10 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7520
7571
  };
7521
7572
  }
7522
7573
  });
7523
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1f9c6644"]]);
7524
- const _hoisted_1$x = { class: "m-0" };
7574
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1f9c6644"]]);
7575
+ const _hoisted_1$z = { class: "m-0" };
7525
7576
  const _hoisted_2$p = { class: "px-1 py-1 pretty m-0" };
7526
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
7577
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
7527
7578
  __name: "ModalConfirm",
7528
7579
  props: {
7529
7580
  title: {},
@@ -7539,10 +7590,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7539
7590
  emit2("update:visible");
7540
7591
  }
7541
7592
  return (_ctx, _cache) => {
7542
- return openBlock(), createBlock(unref(_sfc_main$N), {
7593
+ return openBlock(), createBlock(unref(_sfc_main$P), {
7543
7594
  width: "380px",
7544
7595
  dismissable: false,
7545
- class: "color-black txt-center"
7596
+ class: "txt-center"
7546
7597
  }, {
7547
7598
  footer: withCtx(() => [
7548
7599
  createVNode(unref(Btn), {
@@ -7558,7 +7609,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7558
7609
  })
7559
7610
  ]),
7560
7611
  default: withCtx(() => [
7561
- createElementVNode("h3", _hoisted_1$x, toDisplayString(_ctx.title), 1),
7612
+ createElementVNode("h3", _hoisted_1$z, toDisplayString(_ctx.title), 1),
7562
7613
  createElementVNode("p", _hoisted_2$p, toDisplayString(_ctx.message), 1)
7563
7614
  ]),
7564
7615
  _: 1
@@ -7566,16 +7617,83 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7566
7617
  };
7567
7618
  }
7568
7619
  });
7569
- const _hoisted_1$w = { class: "map-test" };
7570
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
7620
+ const _hoisted_1$y = ["id"];
7621
+ const defaultMarkerSVG = '<svg id="eCJDQPwuXje1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="ac827abc0a8c4922b76bac4df7bd7646" export-id="2cc86932ccbc4825a31fd063b3e75478" cached="false"><style><![CDATA[#eCJDQPwuXje3_ts {animation: eCJDQPwuXje3_ts__ts 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_ts__ts { 0% {transform: translate(18px,18px) scale(1,1)} 3.333333% {transform: translate(18px,18px) scale(1,1);animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {transform: translate(18px,18px) scale(1.8,1.8)}} #eCJDQPwuXje3 {animation: eCJDQPwuXje3_c_o 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_c_o { 0% {opacity: 0} 3.333333% {opacity: 1;animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {opacity: 0}}]]></style><ellipse rx="10.049312" ry="10.049312" transform="translate(18 18)" fill="#2e5bff" stroke-width="0"/><g id="eCJDQPwuXje3_ts" transform="translate(18,18) scale(1,1)"><ellipse id="eCJDQPwuXje3" rx="10.049312" ry="10.049312" transform="translate(0,0)" opacity="0" fill="#2e5bff" stroke-width="0"/></g></svg>';
7622
+ const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
7623
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
7571
7624
  __name: "MapEmbed",
7625
+ props: {
7626
+ center: { default: () => [31.7683, 35.2137] },
7627
+ zoom: { default: 13 },
7628
+ height: { default: 400 },
7629
+ zoomControl: { type: Boolean, default: true },
7630
+ markers: {},
7631
+ markerIcon: { default: "" }
7632
+ },
7572
7633
  setup(__props) {
7634
+ const props2 = __props;
7635
+ let L2 = ref();
7636
+ let map4 = ref();
7637
+ const _markers = ref([]);
7638
+ const id = ref(Math.random().toString(36).substring(2, 10));
7639
+ function loadGlobalL() {
7640
+ return new Promise(async (resolve) => {
7641
+ while (!window.L) await sleep(100);
7642
+ resolve(window.L);
7643
+ });
7644
+ }
7645
+ async function initializeMap() {
7646
+ await appendScript(leafletScriptUrl);
7647
+ L2.value = await loadGlobalL();
7648
+ if (!map4.value) {
7649
+ map4.value = L2.value.map(id.value, {
7650
+ center: props2.center,
7651
+ zoom: props2.zoom,
7652
+ zoomControl: props2.zoomControl
7653
+ });
7654
+ L2.value.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 }).addTo(map4.value);
7655
+ }
7656
+ }
7657
+ function addMarker(L22, latlng) {
7658
+ const iconSVG = props2.markerIcon || defaultMarkerSVG;
7659
+ const customIcon = L22.icon({
7660
+ iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
7661
+ iconSize: [32, 32]
7662
+ });
7663
+ const marker = L22.marker(latlng, { icon: customIcon }).addTo(map4.value);
7664
+ _markers.value.push(marker);
7665
+ }
7666
+ function fitMarkers(L22) {
7667
+ var _a2;
7668
+ if (_markers.value.length > 0) {
7669
+ (_a2 = map4.value) == null ? void 0 : _a2.fitBounds(L22.featureGroup(_markers.value).getBounds());
7670
+ }
7671
+ }
7672
+ watch(
7673
+ () => props2.markers,
7674
+ async (markers) => {
7675
+ _markers.value.forEach((marker) => marker.remove());
7676
+ if (!markers) return;
7677
+ for (const marker of markers) {
7678
+ const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon];
7679
+ if (!map4.value) initializeMap();
7680
+ addMarker(L2.value, [lat, lon]);
7681
+ fitMarkers(L2.value);
7682
+ }
7683
+ },
7684
+ { immediate: true }
7685
+ );
7686
+ onMounted(initializeMap);
7573
7687
  return (_ctx, _cache) => {
7574
- return openBlock(), createElementBlock("div", _hoisted_1$w);
7688
+ return openBlock(), createElementBlock("div", {
7689
+ id: id.value,
7690
+ class: "leaflet-map",
7691
+ style: normalizeStyle({ height: `${props2.height || 400}px` })
7692
+ }, null, 12, _hoisted_1$y);
7575
7693
  };
7576
7694
  }
7577
7695
  });
7578
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
7696
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
7579
7697
  __name: "Flag",
7580
7698
  props: {
7581
7699
  country: {},
@@ -7605,8 +7723,68 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
7605
7723
  };
7606
7724
  }
7607
7725
  });
7608
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-f99f1900"]]);
7609
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
7726
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f99f1900"]]);
7727
+ const _hoisted_1$x = { class: "relative" };
7728
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
7729
+ __name: "AddressSearch",
7730
+ emits: ["addressSelected"],
7731
+ setup(__props, { emit: __emit }) {
7732
+ const emit2 = __emit;
7733
+ let addressInput = ref("");
7734
+ let searchResults = ref([]);
7735
+ const suggestion = ref();
7736
+ function emitAddress(address) {
7737
+ emit2("addressSelected", address);
7738
+ searchResults.value = [];
7739
+ addressInput.value = "";
7740
+ }
7741
+ async function searchAddresses() {
7742
+ var _a2;
7743
+ const addressURL = addressInput.value.replace(/\s+/g, "+");
7744
+ const geocodeUrl = `https://nominatim.openstreetmap.org/search?format=json&q=${encodeURI(addressURL)}`;
7745
+ const res = await fetch(geocodeUrl);
7746
+ searchResults.value = await res.json() || [];
7747
+ console.log(suggestion.value);
7748
+ (_a2 = suggestion.value) == null ? void 0 : _a2.show();
7749
+ }
7750
+ return (_ctx, _cache) => {
7751
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
7752
+ createVNode(unref(kt$1), {
7753
+ ref_key: "suggestion",
7754
+ ref: suggestion,
7755
+ noAutoFocus: true,
7756
+ placement: "bottom-start"
7757
+ }, {
7758
+ popper: withCtx(() => [
7759
+ createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
7760
+ default: withCtx(() => [
7761
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(searchResults), (result2, index2) => {
7762
+ return openBlock(), createBlock(unref(_sfc_main$L), {
7763
+ key: index2,
7764
+ icon: "location_on",
7765
+ title: result2.display_name,
7766
+ onClick: ($event) => emitAddress(result2)
7767
+ }, null, 8, ["title", "onClick"]);
7768
+ }), 128))
7769
+ ]),
7770
+ _: 1
7771
+ })
7772
+ ]),
7773
+ default: withCtx(() => [
7774
+ createVNode(unref(TextInput), {
7775
+ modelValue: unref(addressInput),
7776
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(addressInput) ? addressInput.value = $event : addressInput = $event),
7777
+ placeholder: "Enter address",
7778
+ onDebounce: searchAddresses
7779
+ }, null, 8, ["modelValue"])
7780
+ ]),
7781
+ _: 1
7782
+ }, 512)
7783
+ ]);
7784
+ };
7785
+ }
7786
+ });
7787
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
7610
7788
  __name: "BglForm",
7611
7789
  props: {
7612
7790
  label: {},
@@ -7698,13 +7876,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
7698
7876
  return (_ctx, _cache) => {
7699
7877
  return openBlock(), createElementBlock(Fragment$1, null, [
7700
7878
  _ctx.id ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
7701
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$B), {
7879
+ _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
7702
7880
  key: 0,
7703
7881
  tag: "h4",
7704
7882
  label: _ctx.label
7705
7883
  }, null, 8, ["label"])) : createCommentVNode("", true),
7706
7884
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field, i2) => {
7707
- return openBlock(), createBlock(unref(_sfc_main$r), {
7885
+ return openBlock(), createBlock(unref(_sfc_main$s), {
7708
7886
  key: field.id || `${i2}p`,
7709
7887
  modelValue: unref(data2),
7710
7888
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
@@ -7722,13 +7900,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
7722
7900
  ref: form,
7723
7901
  onSubmit: withModifiers(runSubmit, ["prevent"])
7724
7902
  }, [
7725
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$B), {
7903
+ _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$D), {
7726
7904
  key: 0,
7727
7905
  tag: "h4",
7728
7906
  label: _ctx.label
7729
7907
  }, null, 8, ["label"])) : createCommentVNode("", true),
7730
7908
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field, i2) => {
7731
- return openBlock(), createBlock(unref(_sfc_main$r), {
7909
+ return openBlock(), createBlock(unref(_sfc_main$s), {
7732
7910
  key: field.id || `${i2}p`,
7733
7911
  modelValue: unref(data2),
7734
7912
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
@@ -7747,7 +7925,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
7747
7925
  };
7748
7926
  }
7749
7927
  });
7750
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
7928
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
7751
7929
  __name: "BglField",
7752
7930
  props: {
7753
7931
  field: {},
@@ -7762,8 +7940,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
7762
7940
  if (props2.field.$el === "select") return SelectInput;
7763
7941
  if (props2.field.$el === "toggle") return ToggleInput;
7764
7942
  if (props2.field.$el === "check") return CheckInput;
7765
- if (props2.field.$el === "richtext") return _sfc_main$d;
7766
- if (props2.field.$el === "date") return _sfc_main$o;
7943
+ if (props2.field.$el === "richtext") return _sfc_main$e;
7944
+ if (props2.field.$el === "date") return _sfc_main$p;
7767
7945
  return props2.field.$el ?? "div";
7768
7946
  });
7769
7947
  const formData = computed({
@@ -7847,8 +8025,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
7847
8025
  };
7848
8026
  }
7849
8027
  });
7850
- const _hoisted_1$v = { key: 0 };
7851
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
8028
+ const _hoisted_1$w = { key: 0 };
8029
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
7852
8030
  __name: "BglMultiStepForm",
7853
8031
  props: /* @__PURE__ */ mergeModels({
7854
8032
  bagelFormProps: { default: () => ({}) },
@@ -7915,8 +8093,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
7915
8093
  mode: "out-in"
7916
8094
  }, {
7917
8095
  default: withCtx(() => [
7918
- !unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
7919
- createVNode(unref(_sfc_main$s), mergeProps({
8096
+ !unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
8097
+ createVNode(unref(_sfc_main$t), mergeProps({
7920
8098
  ref_key: "formRef",
7921
8099
  ref: formRef,
7922
8100
  modelValue: formData.value,
@@ -7955,10 +8133,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
7955
8133
  };
7956
8134
  }
7957
8135
  });
7958
- const _hoisted_1$u = ["title"];
8136
+ const _hoisted_1$v = ["title"];
7959
8137
  const _hoisted_2$o = ["id", "required"];
7960
8138
  const _hoisted_3$j = ["for"];
7961
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
8139
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
7962
8140
  __name: "CheckInput",
7963
8141
  props: /* @__PURE__ */ mergeModels({
7964
8142
  label: {},
@@ -7998,11 +8176,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
7998
8176
  createTextVNode(toDisplayString(_ctx.label), 1)
7999
8177
  ], true)
8000
8178
  ], 8, _hoisted_3$j)
8001
- ], 10, _hoisted_1$u);
8179
+ ], 10, _hoisted_1$v);
8002
8180
  };
8003
8181
  }
8004
8182
  });
8005
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-c0868d55"]]);
8183
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-c0868d55"]]);
8006
8184
  function toDate(argument) {
8007
8185
  const argStr = Object.prototype.toString.call(argument);
8008
8186
  if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
@@ -16442,9 +16620,9 @@ const eo = ({
16442
16620
  Object.entries(go).forEach(([e, t]) => {
16443
16621
  e !== "default" && (Hn[e] = t);
16444
16622
  });
16445
- const _hoisted_1$t = ["title"];
16623
+ const _hoisted_1$u = ["title"];
16446
16624
  const _hoisted_2$n = { key: 0 };
16447
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
16625
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
16448
16626
  __name: "DateInput",
16449
16627
  props: {
16450
16628
  required: { type: Boolean },
@@ -16502,14 +16680,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
16502
16680
  "minutes-grid-increment": _ctx.minutesGridIncrement,
16503
16681
  "start-time": { hours: 8, minutes: 0 }
16504
16682
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
16505
- ], 10, _hoisted_1$t);
16683
+ ], 10, _hoisted_1$u);
16506
16684
  };
16507
16685
  }
16508
16686
  });
16509
- const _hoisted_1$s = ["title"];
16687
+ const _hoisted_1$t = ["title"];
16510
16688
  const _hoisted_2$m = { key: 0 };
16511
16689
  const _hoisted_3$i = ["value", "placeholder"];
16512
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
16690
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
16513
16691
  __name: "JSONInput",
16514
16692
  props: {
16515
16693
  description: { default: "" },
@@ -16541,12 +16719,12 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16541
16719
  placeholder: _ctx.placeholder,
16542
16720
  onInput: handleInput
16543
16721
  }, null, 42, _hoisted_3$i)
16544
- ], 10, _hoisted_1$s);
16722
+ ], 10, _hoisted_1$t);
16545
16723
  };
16546
16724
  }
16547
16725
  });
16548
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1cbaeab2"]]);
16549
- const _hoisted_1$r = { class: "flex gap-05" };
16726
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1cbaeab2"]]);
16727
+ const _hoisted_1$s = { class: "flex gap-05" };
16550
16728
  const _hoisted_2$l = ["disabled"];
16551
16729
  const _hoisted_3$h = { key: 1 };
16552
16730
  const _hoisted_4$d = {
@@ -16555,7 +16733,8 @@ const _hoisted_4$d = {
16555
16733
  };
16556
16734
  const _hoisted_5$c = ["value"];
16557
16735
  const _hoisted_6$7 = ["aria-selected", "onClick", "onKeydown"];
16558
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
16736
+ const _hoisted_7$3 = { class: "block" };
16737
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
16559
16738
  __name: "SelectInput",
16560
16739
  props: {
16561
16740
  options: {},
@@ -16704,7 +16883,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16704
16883
  onHide: _cache[5] || (_cache[5] = ($event) => updateOpen(false))
16705
16884
  }, {
16706
16885
  popper: withCtx(() => [
16707
- createVNode(unref(_sfc_main$D), {
16886
+ createVNode(unref(_sfc_main$F), {
16708
16887
  class: "p-05",
16709
16888
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
16710
16889
  }, {
@@ -16725,7 +16904,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16725
16904
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(filteredOptions.value, (option2, i2) => {
16726
16905
  return openBlock(), createElementBlock("div", {
16727
16906
  key: `${option2}${i2}`,
16728
- class: normalizeClass(["selectinput-option hover gap-1", { selected: isSelected(option2) }]),
16907
+ class: normalizeClass(["selectinput-option hover gap-1 align-items-center", { selected: isSelected(option2) }]),
16729
16908
  role: "option",
16730
16909
  tabindex: "0",
16731
16910
  "aria-selected": isSelected(option2),
@@ -16733,17 +16912,19 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16733
16912
  onKeydown: withKeys(($event) => select2(option2), ["enter"])
16734
16913
  }, [
16735
16914
  _ctx.multiselect ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
16736
- isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$Q), {
16915
+ isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
16737
16916
  key: 0,
16917
+ size: 1.1,
16738
16918
  icon: "select_check_box"
16739
16919
  })) : createCommentVNode("", true),
16740
- !isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$Q), {
16920
+ !isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$S), {
16741
16921
  key: 1,
16742
16922
  class: "opacity-3",
16743
- icon: "check_box_outline_blank"
16923
+ icon: "check_box_outline_blank",
16924
+ size: 1.1
16744
16925
  })) : createCommentVNode("", true)
16745
16926
  ], 64)) : createCommentVNode("", true),
16746
- createElementVNode("span", null, toDisplayString(getLabel(option2)), 1)
16927
+ createElementVNode("span", _hoisted_7$3, toDisplayString(getLabel(option2)), 1)
16747
16928
  ], 42, _hoisted_6$7);
16748
16929
  }), 128))
16749
16930
  ], 2),
@@ -16755,7 +16936,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16755
16936
  default: withCtx(() => [
16756
16937
  createElementVNode("label", null, [
16757
16938
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
16758
- createElementVNode("div", _hoisted_1$r, [
16939
+ createElementVNode("div", _hoisted_1$s, [
16759
16940
  createElementVNode("button", {
16760
16941
  disabled: _ctx.disabled,
16761
16942
  type: "button",
@@ -16763,7 +16944,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16763
16944
  onKeydown: openOptions,
16764
16945
  onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
16765
16946
  }, [
16766
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
16947
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
16767
16948
  key: 0,
16768
16949
  icon: _ctx.icon
16769
16950
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -16780,7 +16961,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16780
16961
  })
16781
16962
  })
16782
16963
  ])) : createCommentVNode("", true),
16783
- !_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$Q), mergeProps({
16964
+ !_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$S), mergeProps({
16784
16965
  key: 3,
16785
16966
  thin: ""
16786
16967
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
@@ -16801,7 +16982,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16801
16982
  };
16802
16983
  }
16803
16984
  });
16804
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-25fde24f"]]);
16985
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-be6303fe"]]);
16805
16986
  /*!
16806
16987
  * vue-draggable-next v2.2.0
16807
16988
  * (c) 2023 Anish George
@@ -19281,13 +19462,13 @@ const VueDraggableNext = defineComponent({
19281
19462
  }
19282
19463
  }
19283
19464
  });
19284
- const _hoisted_1$q = ["title"];
19465
+ const _hoisted_1$r = ["title"];
19285
19466
  const _hoisted_2$k = { class: "bagel-input" };
19286
19467
  const _hoisted_3$g = { class: "table-side-scroll" };
19287
19468
  const _hoisted_4$c = { class: "table-header" };
19288
19469
  const _hoisted_5$b = { class: "table-reorder" };
19289
19470
  const _hoisted_6$6 = { class: "table-action" };
19290
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
19471
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19291
19472
  __name: "TableField",
19292
19473
  props: {
19293
19474
  description: { default: "" },
@@ -19384,7 +19565,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19384
19565
  class: "flex table-row"
19385
19566
  }, [
19386
19567
  createElementVNode("div", _hoisted_5$b, [
19387
- createVNode(unref(_sfc_main$Q), { icon: "more_vert" })
19568
+ createVNode(unref(_sfc_main$S), { icon: "more_vert" })
19388
19569
  ]),
19389
19570
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
19390
19571
  return openBlock(), createElementBlock("div", {
@@ -19401,7 +19582,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19401
19582
  ], 2);
19402
19583
  }), 128)),
19403
19584
  createElementVNode("div", _hoisted_6$6, [
19404
- createVNode(unref(_sfc_main$Q), {
19585
+ createVNode(unref(_sfc_main$S), {
19405
19586
  icon: "delete",
19406
19587
  onClick: ($event) => removeRow2(index2)
19407
19588
  }, null, 8, ["onClick"])
@@ -19427,17 +19608,17 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19427
19608
  ]),
19428
19609
  _: 1
19429
19610
  })
19430
- ], 8, _hoisted_1$q);
19611
+ ], 8, _hoisted_1$r);
19431
19612
  };
19432
19613
  }
19433
19614
  });
19434
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-515f5dc9"]]);
19435
- const _hoisted_1$p = ["title"];
19615
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0b2280e0"]]);
19616
+ const _hoisted_1$q = ["title"];
19436
19617
  const _hoisted_2$j = ["for"];
19437
19618
  const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
19438
19619
  const _hoisted_4$b = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
19439
19620
  const _hoisted_5$a = { key: 2 };
19440
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
19621
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
19441
19622
  __name: "TextInput",
19442
19623
  props: {
19443
19624
  id: {},
@@ -19558,22 +19739,22 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19558
19739
  ]),
19559
19740
  _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$a, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
19560
19741
  ], 8, _hoisted_2$j),
19561
- _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$Q), {
19742
+ _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$S), {
19562
19743
  key: 0,
19563
19744
  class: "iconStart",
19564
19745
  icon: _ctx.iconStart
19565
19746
  }, null, 8, ["icon"])) : createCommentVNode("", true),
19566
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
19747
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
19567
19748
  key: 1,
19568
19749
  icon: _ctx.icon
19569
19750
  }, null, 8, ["icon"])) : createCommentVNode("", true)
19570
- ], 10, _hoisted_1$p);
19751
+ ], 10, _hoisted_1$q);
19571
19752
  };
19572
19753
  }
19573
19754
  });
19574
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-edac341b"]]);
19575
- const _hoisted_1$o = { class: "primary-checkbox" };
19576
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
19755
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-81f5dea4"]]);
19756
+ const _hoisted_1$p = { class: "primary-checkbox" };
19757
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19577
19758
  __name: "Checkbox",
19578
19759
  props: {
19579
19760
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -19583,7 +19764,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
19583
19764
  setup(__props) {
19584
19765
  const val = useModel(__props, "modelValue");
19585
19766
  return (_ctx, _cache) => {
19586
- return openBlock(), createElementBlock("label", _hoisted_1$o, [
19767
+ return openBlock(), createElementBlock("label", _hoisted_1$p, [
19587
19768
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
19588
19769
  withDirectives(createElementVNode("input", {
19589
19770
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -19595,10 +19776,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
19595
19776
  };
19596
19777
  }
19597
19778
  });
19598
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-032d6226"]]);
19599
- const _hoisted_1$n = ["title"];
19779
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-73f1d9ad"]]);
19780
+ const _hoisted_1$o = ["title"];
19600
19781
  const _hoisted_2$i = ["id", "placeholder", "required"];
19601
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
19782
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
19602
19783
  __name: "ColorPicker",
19603
19784
  props: {
19604
19785
  label: {},
@@ -19640,11 +19821,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
19640
19821
  [vModelText, inputVal.value]
19641
19822
  ])
19642
19823
  ])
19643
- ], 10, _hoisted_1$n)) : createCommentVNode("", true);
19824
+ ], 10, _hoisted_1$o)) : createCommentVNode("", true);
19644
19825
  };
19645
19826
  }
19646
19827
  });
19647
- const _hoisted_1$m = { class: "datetime-wrap" };
19828
+ const _hoisted_1$n = { class: "datetime-wrap" };
19648
19829
  const _hoisted_2$h = { class: "date-wrap" };
19649
19830
  const _hoisted_3$e = {
19650
19831
  key: 0,
@@ -19652,7 +19833,7 @@ const _hoisted_3$e = {
19652
19833
  };
19653
19834
  const _hoisted_4$a = ["id", "name", "value"];
19654
19835
  const _hoisted_5$9 = ["for"];
19655
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
19836
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
19656
19837
  __name: "DatePicker",
19657
19838
  props: {
19658
19839
  label: {},
@@ -19681,7 +19862,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19681
19862
  return `${hour}:${minute}`;
19682
19863
  });
19683
19864
  return (_ctx, _cache) => {
19684
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
19865
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
19685
19866
  createElementVNode("div", _hoisted_2$h, [
19686
19867
  createVNode(unref(Hn), mergeProps({
19687
19868
  modelValue: selectedDate.value,
@@ -19722,12 +19903,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19722
19903
  };
19723
19904
  }
19724
19905
  });
19725
- const _hoisted_1$l = { class: "bagel-input" };
19906
+ const _hoisted_1$m = { class: "bagel-input" };
19726
19907
  const _hoisted_2$g = { class: "pb-025" };
19727
19908
  const _hoisted_3$d = { class: "flex gap-05 flex-wrap" };
19728
19909
  const _hoisted_4$9 = ["id", "name", "value", "checked"];
19729
19910
  const _hoisted_5$8 = ["for"];
19730
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
19911
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19731
19912
  __name: "RadioPillsInput",
19732
19913
  props: {
19733
19914
  options: {},
@@ -19768,7 +19949,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19768
19949
  selectedValue.value = props2.modelValue;
19769
19950
  });
19770
19951
  return (_ctx, _cache) => {
19771
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
19952
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
19772
19953
  createElementVNode("label", _hoisted_2$g, toDisplayString(_ctx.label), 1),
19773
19954
  createElementVNode("div", _hoisted_3$d, [
19774
19955
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (option2, index2) => {
@@ -19794,8 +19975,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19794
19975
  };
19795
19976
  }
19796
19977
  });
19797
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-d86ce838"]]);
19798
- const _hoisted_1$k = { class: "bagel-input" };
19978
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8cdfe758"]]);
19979
+ const _hoisted_1$l = { class: "bagel-input" };
19799
19980
  const _hoisted_2$f = {
19800
19981
  key: 0,
19801
19982
  class: "bgl-multi-preview"
@@ -19818,8 +19999,8 @@ const _hoisted_10 = {
19818
19999
  class: "progress"
19819
20000
  };
19820
20001
  const _hoisted_11 = ["src"];
19821
- const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder" };
19822
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
20002
+ const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20003
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19823
20004
  __name: "FileUpload",
19824
20005
  props: {
19825
20006
  label: {},
@@ -19968,7 +20149,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19968
20149
  }
19969
20150
  return (_ctx, _cache) => {
19970
20151
  const _directive_lightbox = resolveDirective("lightbox");
19971
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
20152
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
19972
20153
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
19973
20154
  createElementVNode("div", {
19974
20155
  class: normalizeClass(["fileUploadWrap", {
@@ -19999,7 +20180,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19999
20180
  alt: ""
20000
20181
  }, null, 8, _hoisted_3$c)), [
20001
20182
  [_directive_lightbox]
20002
- ]) : (openBlock(), createBlock(unref(_sfc_main$Q), {
20183
+ ]) : (openBlock(), createBlock(unref(_sfc_main$S), {
20003
20184
  key: 1,
20004
20185
  icon: "draft",
20005
20186
  class: "multi-preview"
@@ -20027,7 +20208,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20027
20208
  src: fileToUrl(fileQ.file),
20028
20209
  alt: ""
20029
20210
  }, null, 8, _hoisted_5$7)) : createCommentVNode("", true)
20030
- ], 64)) : (openBlock(), createBlock(unref(_sfc_main$Q), {
20211
+ ], 64)) : (openBlock(), createBlock(unref(_sfc_main$S), {
20031
20212
  key: 1,
20032
20213
  icon: "draft",
20033
20214
  class: "multi-preview"
@@ -20038,7 +20219,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20038
20219
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20039
20220
  }, [
20040
20221
  fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
20041
- createVNode(unref(_sfc_main$Q), {
20222
+ createVNode(unref(_sfc_main$S), {
20042
20223
  class: "success",
20043
20224
  icon: "check"
20044
20225
  })
@@ -20046,7 +20227,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20046
20227
  ]);
20047
20228
  }), 128))
20048
20229
  ])) : createCommentVNode("", true),
20049
- !_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8, [
20230
+ !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_8, [
20050
20231
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(storageFiles.value, (file) => {
20051
20232
  return openBlock(), createElementBlock("div", {
20052
20233
  key: file.id,
@@ -20059,7 +20240,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20059
20240
  alt: ""
20060
20241
  }, null, 8, _hoisted_9)), [
20061
20242
  [_directive_lightbox]
20062
- ]) : (openBlock(), createBlock(unref(_sfc_main$Q), {
20243
+ ]) : (openBlock(), createBlock(unref(_sfc_main$S), {
20063
20244
  key: 1,
20064
20245
  size: 4,
20065
20246
  weight: "2",
@@ -20078,7 +20259,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20078
20259
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
20079
20260
  }, [
20080
20261
  fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
20081
- createVNode(unref(_sfc_main$Q), {
20262
+ createVNode(unref(_sfc_main$S), {
20082
20263
  class: "success",
20083
20264
  icon: "check"
20084
20265
  })
@@ -20100,7 +20281,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20100
20281
  browse
20101
20282
  }, () => [
20102
20283
  createElementVNode("p", _hoisted_12, [
20103
- createVNode(unref(_sfc_main$Q), { icon: "upload_2" }),
20284
+ createVNode(unref(_sfc_main$S), { icon: "upload_2" }),
20104
20285
  createTextVNode(" Drop files here or click to upload ")
20105
20286
  ])
20106
20287
  ], true) : createCommentVNode("", true)
@@ -20109,16 +20290,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20109
20290
  };
20110
20291
  }
20111
20292
  });
20112
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a0ae528d"]]);
20113
- const _withScopeId$1 = (n2) => (pushScopeId("data-v-06b95183"), n2 = n2(), popScopeId(), n2);
20114
- const _hoisted_1$j = ["title"];
20293
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-298b3d5b"]]);
20294
+ const _withScopeId$1 = (n2) => (pushScopeId("data-v-0a2b089d"), n2 = n2(), popScopeId(), n2);
20295
+ const _hoisted_1$k = ["title"];
20115
20296
  const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
20116
20297
  const _hoisted_3$b = [
20117
20298
  _hoisted_2$e
20118
20299
  ];
20119
20300
  const _hoisted_4$7 = ["id", "required"];
20120
20301
  const _hoisted_5$6 = ["for"];
20121
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
20302
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
20122
20303
  __name: "ToggleInput",
20123
20304
  props: /* @__PURE__ */ mergeModels({
20124
20305
  label: {},
@@ -20160,11 +20341,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
20160
20341
  createTextVNode(toDisplayString(_ctx.label), 1)
20161
20342
  ], true)
20162
20343
  ], 8, _hoisted_5$6)
20163
- ], 10, _hoisted_1$j);
20344
+ ], 10, _hoisted_1$k);
20164
20345
  };
20165
20346
  }
20166
20347
  });
20167
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-06b95183"]]);
20348
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-0a2b089d"]]);
20168
20349
  function OrderedMap(content) {
20169
20350
  this.content = content;
20170
20351
  }
@@ -33499,7 +33680,11 @@ function createNodeFromContent(content, schema, options) {
33499
33680
  if (isArrayContent) {
33500
33681
  return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
33501
33682
  }
33502
- return schema.nodeFromJSON(content);
33683
+ const node = schema.nodeFromJSON(content);
33684
+ if (options.errorOnInvalidContent) {
33685
+ node.check();
33686
+ }
33687
+ return node;
33503
33688
  } catch (error) {
33504
33689
  if (options.errorOnInvalidContent) {
33505
33690
  throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
@@ -43979,12 +44164,12 @@ const TableHeader = Node$2.create({
43979
44164
  return ["th", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
43980
44165
  }
43981
44166
  });
43982
- const _hoisted_1$i = { class: "RichText" };
44167
+ const _hoisted_1$j = { class: "RichText" };
43983
44168
  const _hoisted_2$d = {
43984
44169
  key: 0,
43985
44170
  class: "RichText-tools"
43986
44171
  };
43987
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
44172
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
43988
44173
  __name: "RichText",
43989
44174
  props: {
43990
44175
  modelValue: {}
@@ -44209,7 +44394,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
44209
44394
  });
44210
44395
  return (_ctx, _cache) => {
44211
44396
  const _directive_tooltip = resolveDirective("tooltip");
44212
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
44397
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
44213
44398
  unref(editor) ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
44214
44399
  (openBlock(), createElementBlock(Fragment$1, null, renderList(config, (item) => {
44215
44400
  var _a2;
@@ -46317,13 +46502,13 @@ function parsePhoneNumber$1() {
46317
46502
  function parsePhoneNumber() {
46318
46503
  return withMetadataArgument(parsePhoneNumber$1, arguments);
46319
46504
  }
46320
- const _hoisted_1$h = ["aria-expanded"];
46505
+ const _hoisted_1$i = ["aria-expanded"];
46321
46506
  const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
46322
46507
  const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
46323
46508
  const _hoisted_4$6 = { class: "tel-country" };
46324
46509
  const _hoisted_5$5 = { key: 1 };
46325
46510
  const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
46326
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
46511
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
46327
46512
  __name: "TelInput",
46328
46513
  props: /* @__PURE__ */ mergeModels({
46329
46514
  label: {},
@@ -46632,7 +46817,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46632
46817
  class: "flex gap-05",
46633
46818
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(open) ? open.value = true : open = true)
46634
46819
  }, [
46635
- createVNode(unref(_sfc_main$Q), {
46820
+ createVNode(unref(_sfc_main$S), {
46636
46821
  icon: unref(open) ? "collapse_all" : "expand_all"
46637
46822
  }, null, 8, ["icon"]),
46638
46823
  computedDropDownOptions.value.showFlags && unref(activeCountryCode) ? (openBlock(), createBlock(unref(Flag), {
@@ -46670,15 +46855,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46670
46855
  }, null, 44, _hoisted_6$4), [
46671
46856
  [vModelText, phone.value]
46672
46857
  ])
46673
- ], 40, _hoisted_1$h)
46858
+ ], 40, _hoisted_1$i)
46674
46859
  ])
46675
46860
  ], 2);
46676
46861
  };
46677
46862
  }
46678
46863
  });
46679
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9d176183"]]);
46864
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-9d176183"]]);
46680
46865
  /*!
46681
- * Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
46866
+ * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
46682
46867
  * (c) 2024 Szymon Nowak | Released under the MIT license
46683
46868
  */
46684
46869
  class Point {
@@ -46718,7 +46903,7 @@ class Bezier {
46718
46903
  const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
46719
46904
  const dxm = m1.x - m2.x;
46720
46905
  const dym = m1.y - m2.y;
46721
- const k2 = l2 / (l1 + l2);
46906
+ const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
46722
46907
  const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
46723
46908
  const tx = s2.x - cm.x;
46724
46909
  const ty = s2.y - cm.y;
@@ -47270,8 +47455,8 @@ class SignaturePad extends SignatureEventTarget {
47270
47455
  return svg.outerHTML;
47271
47456
  }
47272
47457
  }
47273
- const _hoisted_1$g = ["disabled"];
47274
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
47458
+ const _hoisted_1$h = ["disabled"];
47459
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
47275
47460
  __name: "SignaturePad",
47276
47461
  props: {
47277
47462
  sigOption: {},
@@ -47403,16 +47588,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
47403
47588
  ref: vCanvas,
47404
47589
  class: "canvas",
47405
47590
  disabled: _ctx.disabled
47406
- }, null, 8, _hoisted_1$g)
47591
+ }, null, 8, _hoisted_1$h)
47407
47592
  ], 34);
47408
47593
  };
47409
47594
  }
47410
47595
  });
47411
- const _hoisted_1$f = {
47596
+ const _hoisted_1$g = {
47412
47597
  class: "toolbar flex gap-025 pb-05 flex-wrap",
47413
47598
  role: "toolbar"
47414
47599
  };
47415
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
47600
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
47416
47601
  __name: "Toolbar",
47417
47602
  props: {
47418
47603
  config: {}
@@ -47442,7 +47627,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
47442
47627
  }
47443
47628
  return (_ctx, _cache) => {
47444
47629
  const _directive_tooltip = resolveDirective("tooltip");
47445
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
47630
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
47446
47631
  createVNode(SelectInput, {
47447
47632
  class: "m-0 w150",
47448
47633
  options: ["Text", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Blockquote", "Code"],
@@ -47643,14 +47828,14 @@ function createTable() {
47643
47828
  }
47644
47829
  }
47645
47830
  }
47646
- const _hoisted_1$e = { class: "rich-text-editor round pt-05 px-1 pb-1" };
47831
+ const _hoisted_1$f = { class: "rich-text-editor round pt-05 px-1 pb-1" };
47647
47832
  const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
47648
- const _hoisted_3$9 = { class: "content-area rounded p-1 bg-white shadow-light w-100 grid" };
47833
+ const _hoisted_3$9 = { class: "content-area rounded p-1 shadow-light w-100 grid" };
47649
47834
  const _hoisted_4$5 = {
47650
47835
  key: 0,
47651
- class: "preview-area bg-black color-white w-100 rounded p-1"
47836
+ class: "preview-area w-100 rounded p-1"
47652
47837
  };
47653
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47838
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
47654
47839
  __name: "index",
47655
47840
  props: {
47656
47841
  modelValue: {},
@@ -47777,8 +47962,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47777
47962
  }
47778
47963
  }
47779
47964
  return (_ctx, _cache) => {
47780
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
47781
- createVNode(_sfc_main$a, {
47965
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
47966
+ createVNode(_sfc_main$b, {
47782
47967
  config: config.value,
47783
47968
  onAction: handleToolbarAction
47784
47969
  }, null, 8, ["config"]),
@@ -47809,8 +47994,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47809
47994
  };
47810
47995
  }
47811
47996
  });
47812
- const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-c9729efd"]]);
47813
- const _hoisted_1$d = ["for"];
47997
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-da6236c8"]]);
47998
+ const _hoisted_1$e = ["for"];
47814
47999
  const _hoisted_2$a = ["id", "name", "value"];
47815
48000
  const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
47816
48001
  const _hoisted_4$4 = ["src", "alt"];
@@ -47823,7 +48008,7 @@ const _hoisted_7$1 = {
47823
48008
  key: 1,
47824
48009
  class: "txt-gray txt-12 m-0"
47825
48010
  };
47826
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
48011
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47827
48012
  __name: "RadioGroup",
47828
48013
  props: /* @__PURE__ */ mergeModels({
47829
48014
  groupName: {},
@@ -47857,7 +48042,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47857
48042
  createElementVNode("div", _hoisted_3$8, [
47858
48043
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
47859
48044
  key: 0,
47860
- class: "bg-white shadow-light py-025 rounded m_w40",
48045
+ class: "bg-popup shadow-light py-025 rounded m_w40",
47861
48046
  width: "60",
47862
48047
  src: opt.imgSrc,
47863
48048
  alt: opt.imgAlt
@@ -47876,13 +48061,49 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47876
48061
  icon: "delete",
47877
48062
  onClick: ($event) => _ctx.$emit("delete", opt)
47878
48063
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
47879
- ], 8, _hoisted_1$d);
48064
+ ], 8, _hoisted_1$e);
47880
48065
  }), 128))
47881
48066
  ]);
47882
48067
  };
47883
48068
  }
47884
48069
  });
47885
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-ac3dc0e2"]]);
48070
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3ae8f4d3"]]);
48071
+ const _hoisted_1$d = { class: "relative" };
48072
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
48073
+ __name: "PasswordInput",
48074
+ props: /* @__PURE__ */ mergeModels({
48075
+ txtInputProps: {}
48076
+ }, {
48077
+ "modelValue": {},
48078
+ "modelModifiers": {},
48079
+ "showPwd": { type: Boolean, ...{ default: false } },
48080
+ "showPwdModifiers": {}
48081
+ }),
48082
+ emits: ["update:modelValue", "update:showPwd"],
48083
+ setup(__props) {
48084
+ const password = useModel(__props, "modelValue");
48085
+ const showPwd = useModel(__props, "showPwd");
48086
+ const toggleShowPwdIcon = computed(() => showPwd.value ? "visibility_off" : "visibility");
48087
+ const inputType = computed(() => showPwd.value ? "text" : "password");
48088
+ return (_ctx, _cache) => {
48089
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
48090
+ createVNode(unref(TextInput), mergeProps({
48091
+ modelValue: password.value,
48092
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event),
48093
+ class: "mb-0",
48094
+ type: inputType.value
48095
+ }, _ctx.txtInputProps), null, 16, ["modelValue", "type"]),
48096
+ createVNode(unref(Btn), {
48097
+ flat: "",
48098
+ thin: "",
48099
+ class: "m-05 position-bottom-end",
48100
+ icon: toggleShowPwdIcon.value,
48101
+ onClick: _cache[1] || (_cache[1] = ($event) => showPwd.value = !showPwd.value)
48102
+ }, null, 8, ["icon"])
48103
+ ]);
48104
+ };
48105
+ }
48106
+ });
47886
48107
  function _isPlaceholder(a2) {
47887
48108
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
47888
48109
  }
@@ -54025,7 +54246,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
54025
54246
  }
54026
54247
  });
54027
54248
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-f1781965"]]);
54028
- const _withScopeId = (n2) => (pushScopeId("data-v-8fdf4035"), n2 = n2(), popScopeId(), n2);
54249
+ const _withScopeId = (n2) => (pushScopeId("data-v-d15c030d"), n2 = n2(), popScopeId(), n2);
54029
54250
  const _hoisted_1$5 = { class: "w-100 px-075" };
54030
54251
  const _hoisted_2$1 = { key: 0 };
54031
54252
  const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "flex-grow": "1" } }, null, -1));
@@ -54048,7 +54269,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54048
54269
  }
54049
54270
  return (_ctx, _cache) => {
54050
54271
  const _directive_tooltip = resolveDirective("tooltip");
54051
- return openBlock(), createBlock(unref(_sfc_main$D), {
54272
+ return openBlock(), createBlock(unref(_sfc_main$F), {
54052
54273
  class: normalizeClass(["flex column gap-05 pt-1 bgl_sidebar", { wideNav: unref(isOpen) }])
54053
54274
  }, {
54054
54275
  default: withCtx(() => [
@@ -54071,7 +54292,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54071
54292
  class: "nav-button px-075"
54072
54293
  }, {
54073
54294
  default: withCtx(() => [
54074
- createVNode(unref(_sfc_main$Q), {
54295
+ createVNode(unref(_sfc_main$S), {
54075
54296
  icon: nav2.icon,
54076
54297
  size: 1.4
54077
54298
  }, null, 8, ["icon"]),
@@ -54099,7 +54320,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54099
54320
  };
54100
54321
  }
54101
54322
  });
54102
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8fdf4035"]]);
54323
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-d15c030d"]]);
54103
54324
  const _hoisted_1$4 = { class: "m-0 pb-025 txt14 line-height-1" };
54104
54325
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54105
54326
  __name: "BottomMenu",
@@ -54108,7 +54329,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54108
54329
  },
54109
54330
  setup(__props) {
54110
54331
  return (_ctx, _cache) => {
54111
- return openBlock(), createBlock(unref(_sfc_main$D), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54332
+ return openBlock(), createBlock(unref(_sfc_main$F), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
54112
54333
  default: withCtx(() => [
54113
54334
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
54114
54335
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.navLinks, (nav2, i2) => {
@@ -54119,7 +54340,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54119
54340
  onClick: nav2.onClick
54120
54341
  }, {
54121
54342
  default: withCtx(() => [
54122
- createVNode(unref(_sfc_main$Q), {
54343
+ createVNode(unref(_sfc_main$S), {
54123
54344
  icon: nav2.icon,
54124
54345
  size: 1.4,
54125
54346
  class: "m-0"
@@ -54135,7 +54356,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54135
54356
  };
54136
54357
  }
54137
54358
  });
54138
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-d8a5051a"]]);
54359
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-564c7855"]]);
54139
54360
  const state = reactive(/* @__PURE__ */ new Map());
54140
54361
  function useTabs(group) {
54141
54362
  if (!state.has(group)) {
@@ -54272,7 +54493,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
54272
54493
  class: normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
54273
54494
  onClick: ($event) => selectTab(tab)
54274
54495
  }, [
54275
- typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$Q), {
54496
+ typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$S), {
54276
54497
  key: 0,
54277
54498
  icon: tab.icon
54278
54499
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -54283,7 +54504,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
54283
54504
  };
54284
54505
  }
54285
54506
  });
54286
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-4b4c19a0"]]);
54507
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d4d64201"]]);
54287
54508
  const _hoisted_1$1 = { key: 0 };
54288
54509
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
54289
54510
  __name: "TabsBody",
@@ -54691,54 +54912,56 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
54691
54912
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
54692
54913
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
54693
54914
  export {
54694
- _sfc_main$A as Accordion,
54915
+ _sfc_main$C as Accordion,
54695
54916
  AccordionItem,
54917
+ _sfc_main$u as AddressSearch,
54696
54918
  Alert,
54697
54919
  Avatar,
54698
54920
  Badge,
54699
- _sfc_main$s as BagelForm,
54921
+ _sfc_main$t as BagelForm,
54700
54922
  BagelVue,
54701
- _sfc_main$r as BglField,
54702
- _sfc_main$s as BglForm,
54703
- _sfc_main$q as BglMultiStepForm,
54923
+ _sfc_main$s as BglField,
54924
+ _sfc_main$t as BglForm,
54925
+ _sfc_main$r as BglMultiStepForm,
54704
54926
  BglVideo,
54705
54927
  BottomMenu,
54706
54928
  Btn,
54707
- _sfc_main$D as Card,
54929
+ _sfc_main$F as Card,
54708
54930
  Carousel,
54709
54931
  CheckInput,
54710
54932
  Checkbox,
54711
- _sfc_main$i as ColorPicker,
54933
+ _sfc_main$j as ColorPicker,
54712
54934
  DataPreview,
54713
- _sfc_main$o as DateInput,
54714
- _sfc_main$h as DatePicker,
54935
+ _sfc_main$p as DateInput,
54936
+ _sfc_main$i as DatePicker,
54715
54937
  kt$1 as Dropdown,
54716
54938
  $el as FileUpload,
54717
54939
  Flag,
54718
54940
  IMAGE_FORMATS,
54719
54941
  IMAGE_FORMATS_REGEXP,
54720
- _sfc_main$Q as Icon,
54942
+ _sfc_main$S as Icon,
54721
54943
  JSONInput,
54722
54944
  Layout,
54723
54945
  _sfc_main$7 as Lineart,
54724
- _sfc_main$J as ListItem,
54946
+ _sfc_main$L as ListItem,
54725
54947
  ListView,
54726
- _sfc_main$u as MapEmbed,
54727
- _sfc_main$Q as MaterialIcon,
54728
- _sfc_main$N as Modal,
54729
- _sfc_main$v as ModalConfirm,
54948
+ _sfc_main$w as MapEmbed,
54949
+ _sfc_main$S as MaterialIcon,
54950
+ _sfc_main$P as Modal,
54951
+ _sfc_main$x as ModalConfirm,
54730
54952
  ModalForm,
54731
54953
  ModalPlugin,
54732
54954
  NavBar,
54733
- _sfc_main$I as PageTitle,
54955
+ _sfc_main$K as PageTitle,
54956
+ _sfc_main$8 as PasswordInput,
54734
54957
  RadioGroup,
54735
54958
  RadioPillsInput,
54736
- _sfc_main$d as RichText,
54959
+ _sfc_main$e as RichText,
54737
54960
  index as RichText2,
54738
54961
  RouterWrapper,
54739
54962
  SelectInput,
54740
54963
  SidebarMenu,
54741
- _sfc_main$b as SignaturePad,
54964
+ _sfc_main$c as SignaturePad,
54742
54965
  TabbedLayout,
54743
54966
  TableField,
54744
54967
  TableSchema,
@@ -54747,12 +54970,13 @@ export {
54747
54970
  TabsNav,
54748
54971
  TelInput,
54749
54972
  TextInput,
54750
- _sfc_main$B as Title,
54973
+ _sfc_main$D as Title,
54751
54974
  ToggleInput,
54752
54975
  TopBar,
54753
54976
  VIDEO_FORMATS,
54754
54977
  VIDEO_FORMATS_REGEXP,
54755
54978
  allCountries,
54979
+ appendScript,
54756
54980
  bagelFormUtils,
54757
54981
  bagelInjectionKey,
54758
54982
  bindAttrs,
@@ -54767,6 +54991,7 @@ export {
54767
54991
  initials,
54768
54992
  isDate$1 as isDate,
54769
54993
  keyToLabel,
54994
+ sleep,
54770
54995
  useBagel,
54771
54996
  useBglSchema,
54772
54997
  useEscape,