@ozdao/martyrs 0.2.576 → 0.2.577

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 (165) hide show
  1. package/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +1204 -1208
  2. package/dist/martyrs/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +78 -78
  3. package/dist/martyrs/dist/main-EZaj64lH.js.map +1 -0
  4. package/dist/martyrs/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +2 -2
  5. package/dist/martyrs/dist/{web-BqTV9va1.js.map → web-ClbcbWYJ.js.map} +1 -1
  6. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +3 -3
  7. package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
  8. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
  9. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
  10. package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
  11. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
  12. package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
  13. package/dist/martyrs/src/components/Feed/Feed.vue.js +3 -3
  14. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  15. package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
  16. package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
  17. package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
  18. package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
  19. package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js → SelectMulti.vue.js} +2 -2
  20. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +1 -0
  21. package/dist/martyrs/src/components/Slider/Slider.vue.js +91 -97
  22. package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -1
  23. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
  24. package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.js.map +1 -0
  25. package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
  26. package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -0
  27. package/dist/martyrs/src/components/Upload/{Upload.vue2.js → Upload.vue.js} +2 -2
  28. package/dist/martyrs/src/components/Upload/Upload.vue.js.map +1 -0
  29. package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
  30. package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  32. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  33. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  34. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  35. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  39. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  40. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  41. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  42. package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  43. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  44. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  45. package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  46. package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.js +1 -1
  47. package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  48. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
  49. package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
  50. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +2 -2
  51. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +2 -2
  52. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +1 -1
  53. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
  54. package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
  55. package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
  56. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
  57. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
  58. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  59. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  60. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +5 -5
  61. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  62. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
  63. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  64. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  65. package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
  66. package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
  67. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  68. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  69. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
  70. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  71. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  72. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
  73. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
  74. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  75. package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
  76. package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
  77. package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +2 -2
  78. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  79. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  80. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  81. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  82. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  83. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  84. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  85. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  86. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
  87. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
  88. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
  89. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  90. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +3 -3
  91. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
  92. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +3 -3
  93. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  94. package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
  95. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  96. package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
  97. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
  98. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
  99. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  100. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  101. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +2 -2
  102. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  103. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  104. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  105. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  106. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  107. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  108. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  109. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  110. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  111. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  112. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
  113. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  114. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
  115. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  116. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  117. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  118. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  119. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  120. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  121. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  122. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  123. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  124. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  125. package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
  126. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  127. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +4 -4
  128. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  129. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  130. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
  131. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  132. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  133. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  134. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  135. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  136. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  137. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  138. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
  139. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  140. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  141. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  142. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  143. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  144. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
  145. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  146. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  147. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  148. package/dist/martyrs.es.js +1 -1
  149. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  150. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  151. package/dist/style.css +3 -5
  152. package/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +1 -1
  153. package/package.json +17 -17
  154. package/src/components/Slider/Slider.vue +111 -150
  155. package/dist/martyrs/dist/main-BfEQkhXS.js.map +0 -1
  156. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  157. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
  158. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
  159. package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
  160. package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +0 -1
  161. package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
  162. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
  163. package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +0 -1
  164. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
  165. package/src/modules/governance/reactcode/package-lock.json +0 -4229
@@ -284,57 +284,57 @@ const ws = (e) => {
284
284
  return !!(f?.platforms.has(l()) || i(m));
285
285
  }, i = (m) => {
286
286
  var f;
287
- return (f = t.PluginHeaders) === null || f === void 0 ? void 0 : f.find((h2) => h2.name === m);
287
+ return (f = t.PluginHeaders) === null || f === void 0 ? void 0 : f.find((p) => p.name === m);
288
288
  }, s = (m) => e.console.error(m), d = /* @__PURE__ */ new Map(), c = (m, f = {}) => {
289
- const h2 = d.get(m);
290
- if (h2)
291
- return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`), h2.proxy;
292
- const g = l(), b = i(m);
289
+ const p = d.get(m);
290
+ if (p)
291
+ return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`), p.proxy;
292
+ const b = l(), C = i(m);
293
293
  let L;
294
- const E = async () => (!L && g in f ? L = typeof f[g] == "function" ? L = await f[g]() : L = f[g] : n !== null && !L && "web" in f && (L = typeof f.web == "function" ? L = await f.web() : L = f.web), L), _ = (j, J) => {
295
- var O, S;
296
- if (b) {
297
- const D = b?.methods.find((T) => J === T.name);
294
+ const M = async () => (!L && b in f ? L = typeof f[b] == "function" ? L = await f[b]() : L = f[b] : n !== null && !L && "web" in f && (L = typeof f.web == "function" ? L = await f.web() : L = f.web), L), _ = (N, J) => {
295
+ var O, k;
296
+ if (C) {
297
+ const D = C?.methods.find((T) => J === T.name);
298
298
  if (D)
299
- return D.rtype === "promise" ? (T) => t.nativePromise(m, J.toString(), T) : (T, V) => t.nativeCallback(m, J.toString(), T, V);
300
- if (j)
301
- return (O = j[J]) === null || O === void 0 ? void 0 : O.bind(j);
299
+ return D.rtype === "promise" ? (T) => t.nativePromise(m, J.toString(), T) : (T, H) => t.nativeCallback(m, J.toString(), T, H);
300
+ if (N)
301
+ return (O = N[J]) === null || O === void 0 ? void 0 : O.bind(N);
302
302
  } else {
303
- if (j)
304
- return (S = j[J]) === null || S === void 0 ? void 0 : S.bind(j);
305
- throw new yt(`"${m}" plugin is not implemented on ${g}`, ze.Unimplemented);
303
+ if (N)
304
+ return (k = N[J]) === null || k === void 0 ? void 0 : k.bind(N);
305
+ throw new yt(`"${m}" plugin is not implemented on ${b}`, ze.Unimplemented);
306
306
  }
307
- }, p = (j) => {
307
+ }, v = (N) => {
308
308
  let J;
309
- const O = (...S) => {
310
- const D = E().then((T) => {
311
- const V = _(T, j);
312
- if (V) {
313
- const le = V(...S);
309
+ const O = (...k) => {
310
+ const D = M().then((T) => {
311
+ const H = _(T, N);
312
+ if (H) {
313
+ const le = H(...k);
314
314
  return J = le?.remove, le;
315
315
  } else
316
- throw new yt(`"${m}.${j}()" is not implemented on ${g}`, ze.Unimplemented);
316
+ throw new yt(`"${m}.${N}()" is not implemented on ${b}`, ze.Unimplemented);
317
317
  });
318
- return j === "addListener" && (D.remove = async () => J()), D;
318
+ return N === "addListener" && (D.remove = async () => J()), D;
319
319
  };
320
- return O.toString = () => `${j.toString()}() { [capacitor code] }`, Object.defineProperty(O, "name", {
321
- value: j,
320
+ return O.toString = () => `${N.toString()}() { [capacitor code] }`, Object.defineProperty(O, "name", {
321
+ value: N,
322
322
  writable: false,
323
323
  configurable: false
324
324
  }), O;
325
- }, C = p("addListener"), k = p("removeListener"), K = (j, J) => {
326
- const O = C({ eventName: j }, J), S = async () => {
325
+ }, g = v("addListener"), w = v("removeListener"), z = (N, J) => {
326
+ const O = g({ eventName: N }, J), k = async () => {
327
327
  const T = await O;
328
- k({
329
- eventName: j,
328
+ w({
329
+ eventName: N,
330
330
  callbackId: T
331
331
  }, J);
332
- }, D = new Promise((T) => O.then(() => T({ remove: S })));
332
+ }, D = new Promise((T) => O.then(() => T({ remove: k })));
333
333
  return D.remove = async () => {
334
- console.warn("Using addListener() without 'await' is deprecated."), await S();
334
+ console.warn("Using addListener() without 'await' is deprecated."), await k();
335
335
  }, D;
336
- }, G = new Proxy({}, {
337
- get(j, J) {
336
+ }, V = new Proxy({}, {
337
+ get(N, J) {
338
338
  switch (J) {
339
339
  // https://github.com/facebook/react/issues/20030
340
340
  case "$$typeof":
@@ -342,19 +342,19 @@ const ws = (e) => {
342
342
  case "toJSON":
343
343
  return () => ({});
344
344
  case "addListener":
345
- return b ? K : C;
345
+ return C ? z : g;
346
346
  case "removeListener":
347
- return k;
347
+ return w;
348
348
  default:
349
- return p(J);
349
+ return v(J);
350
350
  }
351
351
  }
352
352
  });
353
- return a[m] = G, d.set(m, {
353
+ return a[m] = V, d.set(m, {
354
354
  name: m,
355
- proxy: G,
356
- platforms: /* @__PURE__ */ new Set([...Object.keys(f), ...b ? [g] : []])
357
- }), G;
355
+ proxy: V,
356
+ platforms: /* @__PURE__ */ new Set([...Object.keys(f), ...C ? [b] : []])
357
+ }), V;
358
358
  };
359
359
  return t.convertFileSrc || (t.convertFileSrc = (m) => m), t.getPlatform = l, t.handleError = s, t.isNativePlatform = r, t.isPluginAvailable = o, t.registerPlugin = c, t.Exception = yt, t.DEBUG = !!t.DEBUG, t.isLoggingEnabled = !!t.isLoggingEnabled, t;
360
360
  }, Ss = (e) => e.Capacitor = xs(e), Tt = /* @__PURE__ */ Ss(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), Vt = Tt.registerPlugin;
@@ -585,7 +585,7 @@ Vt("CapacitorHttp", {
585
585
  web: () => new Is()
586
586
  });
587
587
  const bn = Vt("Preferences", {
588
- web: () => import("./web-BqTV9va1.js").then((e) => new e.PreferencesWeb())
588
+ web: () => import("./web-ClbcbWYJ.js").then((e) => new e.PreferencesWeb())
589
589
  });
590
590
  class Ls {
591
591
  constructor(n) {
@@ -738,16 +738,16 @@ const Ii = {
738
738
  height: "80",
739
739
  viewBox: "0 0 80 80",
740
740
  fill: "none"
741
- }, Ei = ["fill"];
741
+ }, Mi = ["fill"];
742
742
  function Di(e, n, t, a, l, r) {
743
743
  return openBlock(), createElementBlock("svg", Li, [
744
744
  createElementVNode("path", {
745
745
  fill: t.fill,
746
746
  d: "M25.2765 9.37509L29.0265 5.93759C30.589 4.53134 32.9327 4.68759 34.339 6.25009L63.2453 37.8126C64.339 39.0626 64.339 40.9376 63.2453 42.1876L34.339 73.7501C32.9327 75.3126 30.589 75.4689 29.0265 74.0626L25.2765 70.6251C23.714 69.3751 23.5577 66.8751 24.964 65.4689L48.4015 40.0001L24.964 14.5313C23.5577 13.1251 23.714 10.6251 25.2765 9.37509Z"
747
- }, null, 8, Ei)
747
+ }, null, 8, Mi)
748
748
  ]);
749
749
  }
750
- const Mi = /* @__PURE__ */ fe(Ii, [["render", Di]]);
750
+ const Ei = /* @__PURE__ */ fe(Ii, [["render", Di]]);
751
751
  defineComponent({
752
752
  props: {},
753
753
  setup(e, { slots: n }) {
@@ -793,7 +793,7 @@ defineComponent({
793
793
  )
794
794
  ]
795
795
  ),
796
- h(Mi, { class: "i-medium mn-r-medium", type: "chevron" })
796
+ h(Ei, { class: "i-medium mn-r-medium", type: "chevron" })
797
797
  ]
798
798
  );
799
799
  };
@@ -820,57 +820,57 @@ const uu = {
820
820
  },
821
821
  emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
822
822
  setup(e, { emit: n }) {
823
- const t = e, a = n, l = ref(false), r = ref(0), o = ref(0), i = ref(null), s = ref(null), d = ref(null), c = ref(null), m = ref({ width: 0, height: 0 }), f = ref("100%"), h2 = ref(0), g = ref(0), b = ref("100%"), L = ref(0), E = ref(0), _ = ref("200px"), p = ref(false), C = ref(null), k = ref(null), K = async () => {
824
- t.vertical && (p.value = true), await nextTick();
823
+ const t = e, a = n, l = ref(false), r = ref(0), o = ref(0), i = ref(null), s = ref(null), d = ref(null), c = ref(null), m = ref({ width: 0, height: 0 }), f = ref("100%"), p = ref(0), b = ref(0), C = ref("100%"), L = ref(0), M = ref(0), _ = ref("200px"), v = ref(false), g = ref(null), w = ref(null), z = async () => {
824
+ t.vertical && (v.value = true), await nextTick();
825
825
  const T = () => {
826
- if (f.value = "0%", b.value = "0%", C.value !== null && k.value !== null)
827
- if (C.value && k.value)
828
- if (t.vertical && "clientHeight" in C.value && "clientHeight" in k.value) {
829
- E.value = C.value.clientHeight, L.value = k.value.clientHeight;
830
- const V = Math.ceil(L.value / E.value);
831
- return r.value = isFinite(V) ? V : 0, p.value = false, r.value;
832
- } else if (!t.vertical && "clientWidth" in C.value && "clientWidth" in k.value) {
833
- g.value = C.value.clientWidth, h2.value = k.value.clientWidth;
834
- const V = Math.ceil(h2.value / g.value);
835
- return r.value = isFinite(V) ? V : 0, r.value;
826
+ if (f.value = "0%", C.value = "0%", g.value !== null && w.value !== null)
827
+ if (g.value && w.value)
828
+ if (t.vertical && "clientHeight" in g.value && "clientHeight" in w.value) {
829
+ M.value = g.value.clientHeight, L.value = w.value.clientHeight;
830
+ const H = Math.ceil(L.value / M.value);
831
+ return r.value = isFinite(H) ? H : 0, v.value = false, r.value;
832
+ } else if (!t.vertical && "clientWidth" in g.value && "clientWidth" in w.value) {
833
+ b.value = g.value.clientWidth, p.value = w.value.clientWidth;
834
+ const H = Math.ceil(p.value / b.value);
835
+ return r.value = isFinite(H) ? H : 0, r.value;
836
836
  } else
837
- return f.value = "100%", b.value = "100%", 0;
837
+ return f.value = "100%", C.value = "100%", 0;
838
838
  else
839
- return f.value = "100%", b.value = "100%", 0;
839
+ return f.value = "100%", C.value = "100%", 0;
840
840
  else
841
- return f.value = "100%", b.value = "100%", 0;
841
+ return f.value = "100%", C.value = "100%", 0;
842
842
  };
843
- T(), typeof ResizeObserver < "u" && k.value ? (s.value && s.value.disconnect(), s.value = new ResizeObserver((V) => {
844
- const le = V[0], ne = le.contentRect.width, oe = le.contentRect.height, be = Math.abs(ne - m.value.width) > 1, Fe = Math.abs(oe - m.value.height) > 1;
843
+ T(), typeof ResizeObserver < "u" && w.value ? (s.value && s.value.disconnect(), s.value = new ResizeObserver((H) => {
844
+ const le = H[0], ne = le.contentRect.width, oe = le.contentRect.height, be = Math.abs(ne - m.value.width) > 1, Fe = Math.abs(oe - m.value.height) > 1;
845
845
  (be || Fe) && (m.value = { width: ne, height: oe }, clearTimeout(c.value), c.value = setTimeout(() => {
846
846
  T();
847
847
  }, 300));
848
- }), s.value.observe(k.value)) : (d.value && clearInterval(d.value), d.value = setTimeout(() => {
848
+ }), s.value.observe(w.value)) : (d.value && clearInterval(d.value), d.value = setTimeout(() => {
849
849
  T(), d.value = null;
850
850
  }, 500));
851
- }, G = () => {
851
+ }, V = () => {
852
852
  t.pauseOnHover && a("onPause");
853
- }, j = () => {
853
+ }, N = () => {
854
854
  t.pauseOnHover && a("onResume");
855
855
  }, J = () => {
856
856
  t.pauseOnClick && a("onPause");
857
857
  }, O = () => {
858
858
  t.pauseOnClick && a("onResume");
859
- }, S = computed(() => ({
859
+ }, k = computed(() => ({
860
860
  "--loops": `${t.loop === 0 ? "infinite" : t.loop}`,
861
861
  "--duration": `${t.duration}s`,
862
862
  "--delay": `${t.delay}s`,
863
863
  "--direction": `${t.direction}`,
864
864
  "--pauseOnHover": `${t.pauseOnHover ? "paused" : "running"}`,
865
865
  "--pauseOnClick": `${t.pauseOnClick ? "paused" : "running"}`,
866
- "--pauseAnimation": `${t.vertical && p.value || t.pause ? "paused" : "running"}`,
866
+ "--pauseAnimation": `${t.vertical && v.value || t.pause ? "paused" : "running"}`,
867
867
  "--gradient-color": t.gradientColor,
868
868
  "--gradient-length": `${_.value}`,
869
869
  "--min-width": `${f.value}`,
870
- "--min-height": `${b.value}`,
870
+ "--min-height": `${C.value}`,
871
871
  "--orientation": t.vertical ? "scrollY" : "scrollX"
872
872
  })), D = async () => {
873
- t.vertical ? (b.value = "100%", f.value = "auto") : (b.value = "auto", f.value = "100%"), t.gradient && t.gradientLength && (_.value = t.gradientLength), t.clone && await K(), l.value = true;
873
+ t.vertical ? (C.value = "100%", f.value = "auto") : (C.value = "auto", f.value = "100%"), t.gradient && t.gradientLength && (_.value = t.gradientLength), t.clone && await z(), l.value = true;
874
874
  };
875
875
  return onMounted(async () => {
876
876
  D(), i.value = setInterval(() => {
@@ -880,28 +880,28 @@ const uu = {
880
880
  clearInterval(i.value), s.value && (s.value.disconnect(), s.value = null), d.value && (clearInterval(d.value), d.value = null), c.value && (clearTimeout(c.value), c.value = null);
881
881
  }), watch(
882
882
  () => t.pause,
883
- (T, V) => {
884
- T !== V && a(T ? "onPause" : "onResume");
883
+ (T, H) => {
884
+ T !== H && a(T ? "onPause" : "onResume");
885
885
  }
886
- ), (T, V) => l.value ? (openBlock(), createElementBlock("div", {
886
+ ), (T, H) => l.value ? (openBlock(), createElementBlock("div", {
887
887
  key: 0,
888
888
  class: normalizeClass(["vue3-marquee", { vertical: e.vertical, horizontal: !e.vertical }]),
889
- style: normalizeStyle(S.value),
890
- onMouseenter: G,
891
- onMouseleave: j,
889
+ style: normalizeStyle(k.value),
890
+ onMouseenter: V,
891
+ onMouseleave: N,
892
892
  onMousedown: J,
893
893
  onMouseup: O
894
894
  }, [
895
895
  createElementVNode("div", {
896
896
  class: normalizeClass(["transparent-overlay", { vertical: e.vertical, horizontal: !e.vertical, overlay: e.gradient }]),
897
897
  ref_key: "marqueeOverlayContainer",
898
- ref: k,
898
+ ref: w,
899
899
  "aria-hidden": true
900
900
  }, null, 2),
901
901
  createElementVNode("div", {
902
902
  class: "marquee",
903
903
  ref_key: "marqueeContent",
904
- ref: C
904
+ ref: g
905
905
  }, [
906
906
  renderSlot(T.$slots, "default")
907
907
  ], 512),
@@ -922,4 +922,4 @@ export {
922
922
  Rn as W,
923
923
  cu as r
924
924
  };
925
- //# sourceMappingURL=main-BfEQkhXS.js.map
925
+ //# sourceMappingURL=main-EZaj64lH.js.map