@bagelink/vue 0.0.716 → 0.0.726

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 (187) hide show
  1. package/dist/components/Btn.vue.d.ts +3 -3
  2. package/dist/components/Btn.vue.d.ts.map +1 -1
  3. package/dist/components/Carousel.vue.d.ts +1 -1
  4. package/dist/components/ComboBox.vue.d.ts +3 -3
  5. package/dist/components/Comments.vue.d.ts +2 -2
  6. package/dist/components/ContactSubmissions.vue.d.ts +2 -2
  7. package/dist/components/DropDown.vue.d.ts +3 -3
  8. package/dist/components/FormSchema.vue.d.ts +4 -5
  9. package/dist/components/LangText.vue.d.ts +2 -2
  10. package/dist/components/MaterialIcon.vue.d.ts +0 -1
  11. package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
  12. package/dist/components/ModalBglForm.vue.d.ts +20 -21
  13. package/dist/components/PersonPreview.vue.d.ts +4 -5
  14. package/dist/components/PersonPreviewFormkit.vue.d.ts +3 -4
  15. package/dist/components/Popover.vue.d.ts +10 -0
  16. package/dist/components/Popover.vue.d.ts.map +1 -0
  17. package/dist/components/RTXEditor.vue.d.ts +3 -3
  18. package/dist/components/TabbedLayout.vue.d.ts +4 -5
  19. package/dist/components/charts/BarChart.vue.d.ts +2 -2
  20. package/dist/components/form/BglForm.vue.d.ts +1 -1
  21. package/dist/components/form/BglMultiStepForm.vue.d.ts +11 -11
  22. package/dist/components/form/ItemRef.vue.d.ts +3 -5
  23. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  24. package/dist/components/form/MaterialIcon.vue.d.ts +3 -4
  25. package/dist/components/form/PlainInputField.vue.d.ts +3 -3
  26. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
  27. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
  28. package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
  29. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
  30. package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
  31. package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
  32. package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
  33. package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
  34. package/dist/components/form/inputs/JSONInput.vue.d.ts +1 -1
  35. package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
  36. package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
  37. package/dist/components/form/inputs/Password.vue.d.ts +3 -3
  38. package/dist/components/form/inputs/PasswordInput.vue.d.ts +3 -3
  39. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  40. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +1 -1
  41. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
  42. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  43. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  44. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  45. package/dist/components/form/inputs/SelectField.vue.d.ts +8 -6
  46. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  47. package/dist/components/form/inputs/TelInput.vue.d.ts +5 -5
  48. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  49. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  50. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  51. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  52. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  53. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  54. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  55. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  56. package/dist/components/lightbox/Lightbox.vue.d.ts +10 -0
  57. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -0
  58. package/dist/components/lightbox/index.d.ts +6 -0
  59. package/dist/components/lightbox/index.d.ts.map +1 -0
  60. package/dist/components/lightbox/lightbox.types.d.ts +7 -0
  61. package/dist/components/lightbox/lightbox.types.d.ts.map +1 -0
  62. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
  63. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  64. package/dist/index.cjs +271 -53
  65. package/dist/index.mjs +272 -54
  66. package/dist/plugins/bagel.d.ts.map +1 -1
  67. package/dist/style.css +142 -44
  68. package/dist/types/materialIcon.d.ts +2 -0
  69. package/dist/types/materialIcon.d.ts.map +1 -0
  70. package/dist/utils/BagelFormUtils.d.ts +48 -48
  71. package/dist/utils/objects.d.ts +0 -1
  72. package/package.json +1 -1
  73. package/src/components/form/inputs/FileUpload.vue +2 -2
  74. package/src/components/form/inputs/RichText2/FontWithASyntaxHighlighter-Regular.woff2 +0 -0
  75. package/src/components/form/inputs/RichText2/index.vue +31 -11
  76. package/src/components/lightbox/Lightbox.vue +228 -0
  77. package/src/components/lightbox/index.ts +63 -0
  78. package/src/components/lightbox/lightbox.types.ts +6 -0
  79. package/src/plugins/bagel.ts +2 -2
  80. package/dist/components/Accordion.d.ts +0 -12
  81. package/dist/components/Accordion.d.ts.map +0 -1
  82. package/dist/components/AccordionItem.d.ts +0 -34
  83. package/dist/components/AccordionItem.d.ts.map +0 -1
  84. package/dist/components/Alert.d.ts +0 -34
  85. package/dist/components/Alert.d.ts.map +0 -1
  86. package/dist/components/Avatar.d.ts +0 -36
  87. package/dist/components/Avatar.d.ts.map +0 -1
  88. package/dist/components/Badge.d.ts +0 -22
  89. package/dist/components/Badge.d.ts.map +0 -1
  90. package/dist/components/BglVideo.d.ts +0 -20
  91. package/dist/components/BglVideo.d.ts.map +0 -1
  92. package/dist/components/Btn.d.ts +0 -99
  93. package/dist/components/Btn.d.ts.map +0 -1
  94. package/dist/components/Card.d.ts +0 -39
  95. package/dist/components/Card.d.ts.map +0 -1
  96. package/dist/components/Carousel.d.ts +0 -74
  97. package/dist/components/Carousel.d.ts.map +0 -1
  98. package/dist/components/DataPreview.d.ts +0 -42
  99. package/dist/components/DataPreview.d.ts.map +0 -1
  100. package/dist/components/Drop.vue.d.ts +0 -34
  101. package/dist/components/Drop.vue.d.ts.map +0 -1
  102. package/dist/components/FileUploader.vue.d.ts +0 -60
  103. package/dist/components/FileUploader.vue.d.ts.map +0 -1
  104. package/dist/components/Flag.d.ts +0 -20
  105. package/dist/components/Flag.d.ts.map +0 -1
  106. package/dist/components/ListItem.d.ts +0 -34
  107. package/dist/components/ListItem.d.ts.map +0 -1
  108. package/dist/components/ListView.d.ts +0 -13
  109. package/dist/components/ListView.d.ts.map +0 -1
  110. package/dist/components/MapEmbed.d.ts +0 -3
  111. package/dist/components/MapEmbed.d.ts.map +0 -1
  112. package/dist/components/MaterialIcon.d.ts +0 -26
  113. package/dist/components/MaterialIcon.d.ts.map +0 -1
  114. package/dist/components/Modal.d.ts +0 -46
  115. package/dist/components/Modal.d.ts.map +0 -1
  116. package/dist/components/ModalConfirm.d.ts +0 -24
  117. package/dist/components/ModalConfirm.d.ts.map +0 -1
  118. package/dist/components/ModalForm.d.ts +0 -78
  119. package/dist/components/ModalForm.d.ts.map +0 -1
  120. package/dist/components/NavBar.d.ts +0 -64
  121. package/dist/components/NavBar.d.ts.map +0 -1
  122. package/dist/components/PageTitle.d.ts +0 -24
  123. package/dist/components/PageTitle.d.ts.map +0 -1
  124. package/dist/components/RouterWrapper.d.ts +0 -3
  125. package/dist/components/RouterWrapper.d.ts.map +0 -1
  126. package/dist/components/TableSchema.d.ts +0 -35
  127. package/dist/components/TableSchema.d.ts.map +0 -1
  128. package/dist/components/Title.d.ts +0 -42
  129. package/dist/components/Title.d.ts.map +0 -1
  130. package/dist/components/TopBar.d.ts +0 -12
  131. package/dist/components/TopBar.d.ts.map +0 -1
  132. package/dist/components/dashboard/Lineart.d.ts +0 -20
  133. package/dist/components/dashboard/Lineart.d.ts.map +0 -1
  134. package/dist/components/form/BglField.d.ts +0 -25
  135. package/dist/components/form/BglField.d.ts.map +0 -1
  136. package/dist/components/form/BglForm.d.ts +0 -75
  137. package/dist/components/form/BglForm.d.ts.map +0 -1
  138. package/dist/components/form/inputs/CheckInput.d.ts +0 -56
  139. package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
  140. package/dist/components/form/inputs/Checkbox.d.ts +0 -16
  141. package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
  142. package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
  143. package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
  144. package/dist/components/form/inputs/DateInput.d.ts +0 -64
  145. package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
  146. package/dist/components/form/inputs/DatePicker.d.ts +0 -33
  147. package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
  148. package/dist/components/form/inputs/FileUpload.d.ts +0 -108
  149. package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
  150. package/dist/components/form/inputs/JSONInput.d.ts +0 -53
  151. package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
  152. package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
  153. package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
  154. package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
  155. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
  156. package/dist/components/form/inputs/RichText.d.ts +0 -20
  157. package/dist/components/form/inputs/RichText.d.ts.map +0 -1
  158. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
  159. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
  160. package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
  161. package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
  162. package/dist/components/form/inputs/SelectInput.d.ts +0 -55
  163. package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
  164. package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
  165. package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
  166. package/dist/components/form/inputs/TableField.d.ts +0 -45
  167. package/dist/components/form/inputs/TableField.d.ts.map +0 -1
  168. package/dist/components/form/inputs/TelInput.d.ts +0 -241
  169. package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
  170. package/dist/components/form/inputs/TextInput.d.ts +0 -90
  171. package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
  172. package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
  173. package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
  174. package/dist/components/layout/BottomMenu.d.ts +0 -27
  175. package/dist/components/layout/BottomMenu.d.ts.map +0 -1
  176. package/dist/components/layout/Layout.d.ts +0 -58
  177. package/dist/components/layout/Layout.d.ts.map +0 -1
  178. package/dist/components/layout/SidebarMenu.d.ts +0 -38
  179. package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
  180. package/dist/components/layout/TabbedLayout.d.ts +0 -42
  181. package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
  182. package/dist/components/layout/Tabs.d.ts +0 -31
  183. package/dist/components/layout/Tabs.d.ts.map +0 -1
  184. package/dist/components/layout/TabsBody.d.ts +0 -23
  185. package/dist/components/layout/TabsBody.d.ts.map +0 -1
  186. package/dist/components/layout/TabsNav.d.ts +0 -35
  187. package/dist/components/layout/TabsNav.d.ts.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  var __defProp2 = Object.defineProperty;
2
2
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { pushScopeId, popScopeId, defineComponent, nextTick, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h as h$2, toDisplayString, markRaw, reactive, computed, inject, watch, unref, renderList, resolveDynamicComponent, useCssVars, useSlots, withModifiers, createTextVNode, onMounted, onUnmounted, mergeModels, useModel, createSlots, Transition, getCurrentScope, onScopeDispose, getCurrentInstance, shallowRef, withDirectives, isRef, vModelCheckbox, provide, toRef, Teleport, render as render$f, onBeforeUpdate, vShow, TransitionGroup, vModelDynamic, vModelText, vModelRadio, onBeforeUnmount, watchEffect, customRef, resolveDirective } from "vue";
4
+ import { pushScopeId, popScopeId, defineComponent, nextTick, openBlock, createBlock, createElementBlock, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, withScopeId, resolveComponent, normalizeStyle, withKeys, createElementVNode, Fragment as Fragment$1, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h as h$2, toDisplayString, watch, unref, withModifiers, renderList, markRaw, reactive, computed, inject, resolveDynamicComponent, useCssVars, useSlots, createTextVNode, onMounted, onUnmounted, mergeModels, useModel, createSlots, Transition, getCurrentScope, onScopeDispose, getCurrentInstance, shallowRef, withDirectives, isRef, vModelCheckbox, provide, toRef, Teleport, render as render$f, onBeforeUpdate, vShow, TransitionGroup, vModelDynamic, vModelText, vModelRadio, resolveDirective, onBeforeUnmount, watchEffect, customRef } from "vue";
5
5
  const sides = ["top", "right", "bottom", "left"];
6
6
  const alignments = ["start", "end"];
7
7
  const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -2937,10 +2937,7 @@ 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
- if (response) {
2941
- this.response = response;
2942
- this.status = response.status ? response.status : null;
2943
- }
2940
+ response && (this.response = response);
2944
2941
  }
2945
2942
  utils$1.inherits(AxiosError, Error, {
2946
2943
  toJSON: function toJSON() {
@@ -2959,7 +2956,7 @@ utils$1.inherits(AxiosError, Error, {
2959
2956
  // Axios
2960
2957
  config: utils$1.toJSONObject(this.config),
2961
2958
  code: this.code,
2962
- status: this.status
2959
+ status: this.response && this.response.status ? this.response.status : null
2963
2960
  };
2964
2961
  }
2965
2962
  });
@@ -3240,8 +3237,9 @@ const platform$1 = {
3240
3237
  protocols: ["http", "https", "file", "blob", "url", "data"]
3241
3238
  };
3242
3239
  const hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
3243
- const _navigator = typeof navigator === "object" && navigator || void 0;
3244
- const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
3240
+ const hasStandardBrowserEnv = ((product) => {
3241
+ return hasBrowserEnv && ["ReactNative", "NativeScript", "NS"].indexOf(product) < 0;
3242
+ })(typeof navigator !== "undefined" && navigator.product);
3245
3243
  const hasStandardBrowserWebWorkerEnv = (() => {
3246
3244
  return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
3247
3245
  self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
@@ -3252,7 +3250,6 @@ const utils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
3252
3250
  hasBrowserEnv,
3253
3251
  hasStandardBrowserEnv,
3254
3252
  hasStandardBrowserWebWorkerEnv,
3255
- navigator: _navigator,
3256
3253
  origin
3257
3254
  }, Symbol.toStringTag, { value: "Module" }));
3258
3255
  const platform = {
@@ -3828,7 +3825,7 @@ const isURLSameOrigin = platform.hasStandardBrowserEnv ? (
3828
3825
  // Standard browser envs have full support of the APIs needed to test
3829
3826
  // whether the request URL is of the same origin as current location.
3830
3827
  function standardBrowserEnv() {
3831
- const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent);
3828
+ const msie = /(msie|trident)/i.test(navigator.userAgent);
3832
3829
  const urlParsingNode = document.createElement("a");
3833
3830
  let originURL;
3834
3831
  function resolveURL(url) {
@@ -4334,7 +4331,6 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4334
4331
  if (!utils$1.isString(withCredentials)) {
4335
4332
  withCredentials = withCredentials ? "include" : "omit";
4336
4333
  }
4337
- const isCredentialsSupported = "credentials" in Request.prototype;
4338
4334
  request = new Request(url, {
4339
4335
  ...fetchOptions,
4340
4336
  signal: composedSignal,
@@ -4342,7 +4338,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
4342
4338
  headers: headers.normalize().toJSON(),
4343
4339
  body: data2,
4344
4340
  duplex: "half",
4345
- credentials: isCredentialsSupported ? withCredentials : void 0
4341
+ credentials: withCredentials
4346
4342
  });
4347
4343
  let response = await fetch(request);
4348
4344
  const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
@@ -4486,7 +4482,7 @@ function dispatchRequest(config) {
4486
4482
  return Promise.reject(reason);
4487
4483
  });
4488
4484
  }
4489
- const VERSION = "1.7.5";
4485
+ const VERSION = "1.7.4";
4490
4486
  const validators$1 = {};
4491
4487
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type3, i2) => {
4492
4488
  validators$1[type3] = function validator2(thing) {
@@ -5149,6 +5145,233 @@ class Bagel {
5149
5145
  return data2;
5150
5146
  }
5151
5147
  }
5148
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-c003c59a"), n2 = n2(), popScopeId(), n2);
5149
+ const _hoisted_1$N = { class: "lightbox-item" };
5150
+ const _hoisted_2$C = ["src"];
5151
+ const _hoisted_3$p = {
5152
+ key: 1,
5153
+ controls: "",
5154
+ autoplay: ""
5155
+ };
5156
+ const _hoisted_4$h = ["src"];
5157
+ const _hoisted_5$g = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("track", {
5158
+ kind: "captions",
5159
+ src: "#",
5160
+ srclang: "en",
5161
+ label: "English"
5162
+ }, null, -1));
5163
+ const _hoisted_6$b = ["src", "title"];
5164
+ const _hoisted_7$5 = {
5165
+ key: 3,
5166
+ class: "file-info txt-white"
5167
+ };
5168
+ const _hoisted_8$3 = ["href"];
5169
+ const _hoisted_9$3 = { class: "navigation" };
5170
+ const _hoisted_10$2 = {
5171
+ key: 0,
5172
+ class: "thumbnails"
5173
+ };
5174
+ const _hoisted_11$2 = ["src", "onClick"];
5175
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5176
+ __name: "Lightbox",
5177
+ setup(__props, { expose: __expose }) {
5178
+ let isOpen = ref(false);
5179
+ let currentItem = ref();
5180
+ let group = ref([]);
5181
+ let currentIndex = ref(0);
5182
+ function open(item, groupItems = []) {
5183
+ isOpen.value = true;
5184
+ currentItem.value = item;
5185
+ if (!groupItems.length) return;
5186
+ group.value = groupItems;
5187
+ currentIndex.value = groupItems.indexOf(item);
5188
+ document.addEventListener("keydown", handleKeydown);
5189
+ }
5190
+ function close2() {
5191
+ isOpen.value = false;
5192
+ document.removeEventListener("keydown", handleKeydown);
5193
+ }
5194
+ function next() {
5195
+ if (group.value.length > 1) {
5196
+ currentIndex.value = (currentIndex.value + 1) % group.value.length;
5197
+ currentItem.value = group.value[currentIndex.value];
5198
+ }
5199
+ }
5200
+ function prev() {
5201
+ if (group.value.length > 1) {
5202
+ currentIndex.value = (currentIndex.value - 1 + group.value.length) % group.value.length;
5203
+ currentItem.value = group.value[currentIndex.value];
5204
+ }
5205
+ }
5206
+ function selectItem(index2) {
5207
+ currentIndex.value = index2;
5208
+ currentItem.value = group.value[index2];
5209
+ }
5210
+ watch(() => isOpen.value, (val) => {
5211
+ if (val) document.body.style.overflow = "hidden";
5212
+ else document.body.style.overflow = "";
5213
+ });
5214
+ function normalizeURL(url) {
5215
+ if (url.startsWith("https://")) return url;
5216
+ url = url.replace(/http:\/\//, "");
5217
+ return `//${url}`;
5218
+ }
5219
+ function handleKeydown(event) {
5220
+ if (event.key === "Escape") {
5221
+ close2();
5222
+ } else if (event.key === "ArrowLeft") {
5223
+ prev();
5224
+ } else if (event.key === "ArrowRight") {
5225
+ next();
5226
+ }
5227
+ }
5228
+ __expose({ open, close: close2 });
5229
+ return (_ctx, _cache) => {
5230
+ var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j;
5231
+ return unref(isOpen) ? (openBlock(), createElementBlock("div", {
5232
+ key: 0,
5233
+ class: "lightbox-overlay",
5234
+ onKeydown: [
5235
+ withKeys(close2, ["esc"]),
5236
+ withKeys(prev, ["left"]),
5237
+ withKeys(next, ["right"])
5238
+ ],
5239
+ onClick: close2
5240
+ }, [
5241
+ createElementVNode("div", {
5242
+ class: "lightbox",
5243
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
5244
+ }, ["stop"]))
5245
+ }, [
5246
+ createVNode(unref(Btn), {
5247
+ flat: "",
5248
+ class: "close-button color-white",
5249
+ icon: "close",
5250
+ onClick: close2
5251
+ }),
5252
+ createElementVNode("div", _hoisted_1$N, [
5253
+ ((_a2 = unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (openBlock(), createElementBlock("img", {
5254
+ key: 0,
5255
+ src: (_b = unref(currentItem)) == null ? void 0 : _b.src,
5256
+ alt: "Preview"
5257
+ }, null, 8, _hoisted_2$C)) : ((_c = unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (openBlock(), createElementBlock("video", _hoisted_3$p, [
5258
+ createElementVNode("source", {
5259
+ src: (_d = unref(currentItem)) == null ? void 0 : _d.src,
5260
+ type: "video/mp4"
5261
+ }, null, 8, _hoisted_4$h),
5262
+ _hoisted_5$g
5263
+ ])) : ((_e2 = unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
5264
+ key: 2,
5265
+ src: normalizeURL((_f = unref(currentItem)) == null ? void 0 : _f.src),
5266
+ type: "application/pdf",
5267
+ width: "100%",
5268
+ height: "1080",
5269
+ title: (_g = unref(currentItem)) == null ? void 0 : _g.name
5270
+ }, null, 8, _hoisted_6$b)) : (openBlock(), createElementBlock("div", _hoisted_7$5, [
5271
+ createElementVNode("p", null, "File: " + toDisplayString((_h = unref(currentItem)) == null ? void 0 : _h.name), 1),
5272
+ createElementVNode("p", null, "Type: " + toDisplayString((_i = unref(currentItem)) == null ? void 0 : _i.type), 1),
5273
+ createElementVNode("a", {
5274
+ href: (_j = unref(currentItem)) == null ? void 0 : _j.src,
5275
+ target: "_blank"
5276
+ }, "Open file", 8, _hoisted_8$3)
5277
+ ]))
5278
+ ]),
5279
+ createElementVNode("div", _hoisted_9$3, [
5280
+ createVNode(unref(Btn), {
5281
+ class: "navigation-btn",
5282
+ icon: "arrow_back",
5283
+ onClick: prev
5284
+ }),
5285
+ createVNode(unref(Btn), {
5286
+ class: "navigation-btn",
5287
+ icon: "arrow_forward",
5288
+ onClick: next
5289
+ })
5290
+ ]),
5291
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_10$2, [
5292
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(group), (item, index2) => {
5293
+ return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
5294
+ item.type === "image" ? (openBlock(), createElementBlock("img", {
5295
+ key: 0,
5296
+ class: "thumbnail",
5297
+ src: item.src,
5298
+ alt: "",
5299
+ onClick: ($event) => selectItem(index2)
5300
+ }, null, 8, _hoisted_11$2)) : (openBlock(), createBlock(unref(_sfc_main$Q), {
5301
+ key: 1,
5302
+ class: "thumbnail",
5303
+ icon: "description",
5304
+ onClick: ($event) => selectItem(index2)
5305
+ }, null, 8, ["onClick"]))
5306
+ ], 64);
5307
+ }), 128))
5308
+ ])) : createCommentVNode("", true)
5309
+ ])
5310
+ ], 32)) : createCommentVNode("", true);
5311
+ };
5312
+ }
5313
+ });
5314
+ const _export_sfc = (sfc, props2) => {
5315
+ const target = sfc.__vccOpts || sfc;
5316
+ for (const [key, val] of props2) {
5317
+ target[key] = val;
5318
+ }
5319
+ return target;
5320
+ };
5321
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-c003c59a"]]);
5322
+ const groups = {};
5323
+ const lightboxDirective = {
5324
+ mounted(el, binding) {
5325
+ const lightboxInstance = createLightboxInstance();
5326
+ if (!lightboxInstance || !lightboxInstance.open) return;
5327
+ if (binding.value.group) {
5328
+ if (!groups[binding.value.group]) groups[binding.value.group] = [];
5329
+ const src = binding.value.src || binding.value || el.getAttribute("src") || "";
5330
+ groups[binding.value.group].push({
5331
+ src,
5332
+ type: binding.value.type || determineFileType(src),
5333
+ name: binding.value.name || ""
5334
+ });
5335
+ }
5336
+ el.addEventListener("click", (e) => {
5337
+ e.stopPropagation();
5338
+ const group = binding.value.group || null;
5339
+ const item = {
5340
+ src: binding.value.src || binding.value,
5341
+ type: binding.value.type || determineFileType(binding.value.src || binding.value),
5342
+ name: binding.value.name || "",
5343
+ thumbnail: binding.value.thumbnail || ""
5344
+ };
5345
+ const lightboxInstance2 = createLightboxInstance();
5346
+ if (!lightboxInstance2 || !lightboxInstance2.open) return;
5347
+ if (binding.value.group) {
5348
+ if (!groups[binding.value.group]) groups[binding.value.group] = [];
5349
+ groups[binding.value.group].push(item);
5350
+ }
5351
+ const open = lightboxInstance2.open;
5352
+ open(item, groups[group]);
5353
+ });
5354
+ }
5355
+ };
5356
+ function determineFileType(url) {
5357
+ var _a2;
5358
+ const extension = ((_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase()) || "";
5359
+ if (IMAGE_FORMATS_REGEXP.test(extension)) return "image";
5360
+ if (VIDEO_FORMATS_REGEXP.test(extension)) return "video";
5361
+ if (["pdf"].includes(extension)) return "pdf";
5362
+ return "unknown";
5363
+ }
5364
+ function createLightboxInstance() {
5365
+ const lightboxEl = document.createElement("div");
5366
+ document.body.prepend(lightboxEl);
5367
+ const app = createApp(Lightbox$1);
5368
+ return app.mount(lightboxEl);
5369
+ }
5370
+ const Lightbox = {
5371
+ install(app) {
5372
+ app.directive("lightbox", lightboxDirective);
5373
+ }
5374
+ };
5152
5375
  const clickOutside = {
5153
5376
  beforeMount(el, binding) {
5154
5377
  el.clickOutsideEvent = (event) => {
@@ -5440,6 +5663,7 @@ const BagelVue = {
5440
5663
  install: (app, options) => {
5441
5664
  const bagel = new Bagel({ host: options.host, onError: options.onError });
5442
5665
  app.directive("click-outside", clickOutside);
5666
+ app.use(Lightbox);
5443
5667
  app.use(Gt$1, {
5444
5668
  themes: {
5445
5669
  "bgl-theme": {
@@ -5646,13 +5870,6 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5646
5870
  };
5647
5871
  }
5648
5872
  });
5649
- const _export_sfc = (sfc, props2) => {
5650
- const target = sfc.__vccOpts || sfc;
5651
- for (const [key, val] of props2) {
5652
- target[key] = val;
5653
- }
5654
- return target;
5655
- };
5656
5873
  const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-776cab4a"]]);
5657
5874
  const _hoisted_1$L = {
5658
5875
  key: 0,
@@ -19717,6 +19934,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19717
19934
  flushQueue();
19718
19935
  }
19719
19936
  return (_ctx, _cache) => {
19937
+ const _directive_lightbox = resolveDirective("lightbox");
19720
19938
  return openBlock(), createElementBlock("div", _hoisted_1$k, [
19721
19939
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
19722
19940
  createElementVNode("div", {
@@ -19741,12 +19959,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19741
19959
  key: file.id,
19742
19960
  class: "multi-image-item-preview"
19743
19961
  }, [
19744
- isImage(file.extension || file.url) ? (openBlock(), createElementBlock("img", {
19962
+ isImage(file.extension || file.url) ? withDirectives((openBlock(), createElementBlock("img", {
19745
19963
  key: 0,
19746
19964
  class: "multi-preview",
19747
19965
  src: file.url,
19748
19966
  alt: ""
19749
- }, null, 8, _hoisted_3$b)) : (openBlock(), createBlock(unref(_sfc_main$Q), {
19967
+ }, null, 8, _hoisted_3$b)), [
19968
+ [_directive_lightbox]
19969
+ ]) : (openBlock(), createBlock(unref(_sfc_main$Q), {
19750
19970
  key: 1,
19751
19971
  icon: "draft",
19752
19972
  class: "multi-preview"
@@ -19799,12 +20019,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19799
20019
  key: file.id,
19800
20020
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
19801
20021
  }, [
19802
- isImage(file.extension || file.url) ? (openBlock(), createElementBlock("img", {
20022
+ isImage(file.extension || file.url) ? withDirectives((openBlock(), createElementBlock("img", {
19803
20023
  key: 0,
19804
20024
  class: "single-preview",
19805
20025
  src: file.url,
19806
20026
  alt: ""
19807
- }, null, 8, _hoisted_9)) : (openBlock(), createBlock(unref(_sfc_main$Q), {
20027
+ }, null, 8, _hoisted_9)), [
20028
+ [_directive_lightbox]
20029
+ ]) : (openBlock(), createBlock(unref(_sfc_main$Q), {
19808
20030
  key: 1,
19809
20031
  size: 4,
19810
20032
  weight: "2",
@@ -19854,7 +20076,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19854
20076
  };
19855
20077
  }
19856
20078
  });
19857
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5911e10d"]]);
20079
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d4a17ec6"]]);
19858
20080
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-06b95183"), n2 = n2(), popScopeId(), n2);
19859
20081
  const _hoisted_1$j = ["title"];
19860
20082
  const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
@@ -33244,11 +33466,7 @@ function createNodeFromContent(content, schema, options) {
33244
33466
  if (isArrayContent) {
33245
33467
  return Fragment.fromArray(content.map((item) => schema.nodeFromJSON(item)));
33246
33468
  }
33247
- const node = schema.nodeFromJSON(content);
33248
- if (options.errorOnInvalidContent) {
33249
- node.check();
33250
- }
33251
- return node;
33469
+ return schema.nodeFromJSON(content);
33252
33470
  } catch (error) {
33253
33471
  if (options.errorOnInvalidContent) {
33254
33472
  throw new Error("[tiptap error]: Invalid JSON content", { cause: error });
@@ -46427,7 +46645,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46427
46645
  });
46428
46646
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-9d176183"]]);
46429
46647
  /*!
46430
- * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
46648
+ * Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
46431
46649
  * (c) 2024 Szymon Nowak | Released under the MIT license
46432
46650
  */
46433
46651
  class Point {
@@ -46467,7 +46685,7 @@ class Bezier {
46467
46685
  const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);
46468
46686
  const dxm = m1.x - m2.x;
46469
46687
  const dym = m1.y - m2.y;
46470
- const k2 = l1 + l2 == 0 ? 0 : l2 / (l1 + l2);
46688
+ const k2 = l2 / (l1 + l2);
46471
46689
  const cm = { x: m2.x + dxm * k2, y: m2.y + dym * k2 };
46472
46690
  const tx = s2.x - cm.x;
46473
46691
  const ty = s2.y - cm.y;
@@ -47551,7 +47769,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47551
47769
  };
47552
47770
  }
47553
47771
  });
47554
- const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-d3f64de7"]]);
47772
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ee96aa53"]]);
47555
47773
  const _hoisted_1$d = ["for"];
47556
47774
  const _hoisted_2$a = ["id", "name", "value"];
47557
47775
  const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
@@ -50720,8 +50938,8 @@ function selector(selector2) {
50720
50938
  }
50721
50939
  function selection_select(select2) {
50722
50940
  if (typeof select2 !== "function") select2 = selector(select2);
50723
- for (var groups = this._groups, m2 = groups.length, subgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
50724
- for (var group = groups[j2], n2 = group.length, subgroup = subgroups[j2] = new Array(n2), node, subnode, i2 = 0; i2 < n2; ++i2) {
50941
+ for (var groups2 = this._groups, m2 = groups2.length, subgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
50942
+ for (var group = groups2[j2], n2 = group.length, subgroup = subgroups[j2] = new Array(n2), node, subnode, i2 = 0; i2 < n2; ++i2) {
50725
50943
  if ((node = group[i2]) && (subnode = select2.call(node, node.__data__, i2, group))) {
50726
50944
  if ("__data__" in node) subnode.__data__ = node.__data__;
50727
50945
  subgroup[i2] = subnode;
@@ -50749,8 +50967,8 @@ function arrayAll(select2) {
50749
50967
  function selection_selectAll(select2) {
50750
50968
  if (typeof select2 === "function") select2 = arrayAll(select2);
50751
50969
  else select2 = selectorAll(select2);
50752
- for (var groups = this._groups, m2 = groups.length, subgroups = [], parents = [], j2 = 0; j2 < m2; ++j2) {
50753
- for (var group = groups[j2], n2 = group.length, node, i2 = 0; i2 < n2; ++i2) {
50970
+ for (var groups2 = this._groups, m2 = groups2.length, subgroups = [], parents = [], j2 = 0; j2 < m2; ++j2) {
50971
+ for (var group = groups2[j2], n2 = group.length, node, i2 = 0; i2 < n2; ++i2) {
50754
50972
  if (node = group[i2]) {
50755
50973
  subgroups.push(select2.call(node, node.__data__, i2, group));
50756
50974
  parents.push(node);
@@ -50795,8 +51013,8 @@ function selection_selectChildren(match2) {
50795
51013
  }
50796
51014
  function selection_filter(match2) {
50797
51015
  if (typeof match2 !== "function") match2 = matcher(match2);
50798
- for (var groups = this._groups, m2 = groups.length, subgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
50799
- for (var group = groups[j2], n2 = group.length, subgroup = subgroups[j2] = [], node, i2 = 0; i2 < n2; ++i2) {
51016
+ for (var groups2 = this._groups, m2 = groups2.length, subgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
51017
+ for (var group = groups2[j2], n2 = group.length, subgroup = subgroups[j2] = [], node, i2 = 0; i2 < n2; ++i2) {
50800
51018
  if ((node = group[i2]) && match2.call(node, node.__data__, i2, group)) {
50801
51019
  subgroup.push(node);
50802
51020
  }
@@ -50886,10 +51104,10 @@ function datum(node) {
50886
51104
  }
50887
51105
  function selection_data(value, key) {
50888
51106
  if (!arguments.length) return Array.from(this, datum);
50889
- var bind3 = key ? bindKey : bindIndex, parents = this._parents, groups = this._groups;
51107
+ var bind3 = key ? bindKey : bindIndex, parents = this._parents, groups2 = this._groups;
50890
51108
  if (typeof value !== "function") value = constant$1(value);
50891
- for (var m2 = groups.length, update = new Array(m2), enter2 = new Array(m2), exit = new Array(m2), j2 = 0; j2 < m2; ++j2) {
50892
- var parent = parents[j2], group = groups[j2], groupLength = group.length, data2 = arraylike(value.call(parent, parent && parent.__data__, j2, parents)), dataLength = data2.length, enterGroup = enter2[j2] = new Array(dataLength), updateGroup = update[j2] = new Array(dataLength), exitGroup = exit[j2] = new Array(groupLength);
51109
+ for (var m2 = groups2.length, update = new Array(m2), enter2 = new Array(m2), exit = new Array(m2), j2 = 0; j2 < m2; ++j2) {
51110
+ var parent = parents[j2], group = groups2[j2], groupLength = group.length, data2 = arraylike(value.call(parent, parent && parent.__data__, j2, parents)), dataLength = data2.length, enterGroup = enter2[j2] = new Array(dataLength), updateGroup = update[j2] = new Array(dataLength), exitGroup = exit[j2] = new Array(groupLength);
50893
51111
  bind3(parent, group, enterGroup, updateGroup, exitGroup, data2, key);
50894
51112
  for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {
50895
51113
  if (previous = enterGroup[i0]) {
@@ -50941,8 +51159,8 @@ function selection_merge(context) {
50941
51159
  return new Selection(merges, this._parents);
50942
51160
  }
50943
51161
  function selection_order() {
50944
- for (var groups = this._groups, j2 = -1, m2 = groups.length; ++j2 < m2; ) {
50945
- for (var group = groups[j2], i2 = group.length - 1, next = group[i2], node; --i2 >= 0; ) {
51162
+ for (var groups2 = this._groups, j2 = -1, m2 = groups2.length; ++j2 < m2; ) {
51163
+ for (var group = groups2[j2], i2 = group.length - 1, next = group[i2], node; --i2 >= 0; ) {
50946
51164
  if (node = group[i2]) {
50947
51165
  if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
50948
51166
  next = node;
@@ -50956,8 +51174,8 @@ function selection_sort(compare2) {
50956
51174
  function compareNode(a2, b2) {
50957
51175
  return a2 && b2 ? compare2(a2.__data__, b2.__data__) : !a2 - !b2;
50958
51176
  }
50959
- for (var groups = this._groups, m2 = groups.length, sortgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
50960
- for (var group = groups[j2], n2 = group.length, sortgroup = sortgroups[j2] = new Array(n2), node, i2 = 0; i2 < n2; ++i2) {
51177
+ for (var groups2 = this._groups, m2 = groups2.length, sortgroups = new Array(m2), j2 = 0; j2 < m2; ++j2) {
51178
+ for (var group = groups2[j2], n2 = group.length, sortgroup = sortgroups[j2] = new Array(n2), node, i2 = 0; i2 < n2; ++i2) {
50961
51179
  if (node = group[i2]) {
50962
51180
  sortgroup[i2] = node;
50963
51181
  }
@@ -50979,8 +51197,8 @@ function selection_nodes() {
50979
51197
  return Array.from(this);
50980
51198
  }
50981
51199
  function selection_node() {
50982
- for (var groups = this._groups, j2 = 0, m2 = groups.length; j2 < m2; ++j2) {
50983
- for (var group = groups[j2], i2 = 0, n2 = group.length; i2 < n2; ++i2) {
51200
+ for (var groups2 = this._groups, j2 = 0, m2 = groups2.length; j2 < m2; ++j2) {
51201
+ for (var group = groups2[j2], i2 = 0, n2 = group.length; i2 < n2; ++i2) {
50984
51202
  var node = group[i2];
50985
51203
  if (node) return node;
50986
51204
  }
@@ -50996,8 +51214,8 @@ function selection_empty() {
50996
51214
  return !this.node();
50997
51215
  }
50998
51216
  function selection_each(callback) {
50999
- for (var groups = this._groups, j2 = 0, m2 = groups.length; j2 < m2; ++j2) {
51000
- for (var group = groups[j2], i2 = 0, n2 = group.length, node; i2 < n2; ++i2) {
51217
+ for (var groups2 = this._groups, j2 = 0, m2 = groups2.length; j2 < m2; ++j2) {
51218
+ for (var group = groups2[j2], i2 = 0, n2 = group.length, node; i2 < n2; ++i2) {
51001
51219
  if (node = group[i2]) callback.call(node, node.__data__, i2, group);
51002
51220
  }
51003
51221
  }
@@ -51320,15 +51538,15 @@ function selection_dispatch(type3, params) {
51320
51538
  return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type3, params));
51321
51539
  }
51322
51540
  function* selection_iterator() {
51323
- for (var groups = this._groups, j2 = 0, m2 = groups.length; j2 < m2; ++j2) {
51324
- for (var group = groups[j2], i2 = 0, n2 = group.length, node; i2 < n2; ++i2) {
51541
+ for (var groups2 = this._groups, j2 = 0, m2 = groups2.length; j2 < m2; ++j2) {
51542
+ for (var group = groups2[j2], i2 = 0, n2 = group.length, node; i2 < n2; ++i2) {
51325
51543
  if (node = group[i2]) yield node;
51326
51544
  }
51327
51545
  }
51328
51546
  }
51329
51547
  var root = [null];
51330
- function Selection(groups, parents) {
51331
- this._groups = groups;
51548
+ function Selection(groups2, parents) {
51549
+ this._groups = groups2;
51332
51550
  this._parents = parents;
51333
51551
  }
51334
51552
  function selection_selection() {
@@ -1 +1 @@
1
- {"version":3,"file":"bagel.d.ts","sourceRoot":"","sources":["../../src/plugins/bagel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAIrC,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,KAAK,CAAC,CAAA;AACvE,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;AAEzF,wBAAgB,QAAQ,UAKvB;AAED,wBAAgB,QAAQ,UAT+C,MAAM,KAAK,MAAM,CAcvF;AAED,MAAM,WAAW,YAAY;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IAEZ,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAA;IAE9B,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;CAC/B;AACD,eAAO,MAAM,QAAQ,EAAE,MAwBtB,CAAA"}
1
+ {"version":3,"file":"bagel.d.ts","sourceRoot":"","sources":["../../src/plugins/bagel.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAKrC,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,KAAK,CAAC,CAAA;AACvE,eAAO,MAAM,iBAAiB,EAAsB,YAAY,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC,CAAA;AAEzF,wBAAgB,QAAQ,UAKvB;AAED,wBAAgB,QAAQ,UAT+C,MAAM,KAAK,MAAM,CAcvF;AAED,MAAM,WAAW,YAAY;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IAEZ,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAA;IAE9B,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;CAC/B;AACD,eAAO,MAAM,QAAQ,EAAE,MAwBtB,CAAA"}