@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.
- package/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +1204 -1208
- package/dist/martyrs/dist/{main-BfEQkhXS.js → main-EZaj64lH.js} +78 -78
- package/dist/martyrs/dist/main-EZaj64lH.js.map +1 -0
- package/dist/martyrs/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +2 -2
- package/dist/martyrs/dist/{web-BqTV9va1.js.map → web-ClbcbWYJ.js.map} +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +3 -3
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +3 -3
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js → SelectMulti.vue.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +1 -0
- package/dist/martyrs/src/components/Slider/Slider.vue.js +91 -97
- package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -1
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Upload/{Upload.vue2.js → Upload.vue.js} +2 -2
- package/dist/martyrs/src/components/Upload/Upload.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/martyrs.es.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/style.css +3 -5
- package/dist/{web-BqTV9va1.js → web-ClbcbWYJ.js} +1 -1
- package/package.json +17 -17
- package/src/components/Slider/Slider.vue +111 -150
- package/dist/martyrs/dist/main-BfEQkhXS.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/components/Upload/Upload.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- 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((
|
|
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
|
|
290
|
-
if (
|
|
291
|
-
return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`),
|
|
292
|
-
const
|
|
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
|
|
295
|
-
var O,
|
|
296
|
-
if (
|
|
297
|
-
const D =
|
|
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,
|
|
300
|
-
if (
|
|
301
|
-
return (O =
|
|
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 (
|
|
304
|
-
return (
|
|
305
|
-
throw new yt(`"${m}" plugin is not implemented on ${
|
|
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
|
-
},
|
|
307
|
+
}, v = (N) => {
|
|
308
308
|
let J;
|
|
309
|
-
const O = (...
|
|
310
|
-
const D =
|
|
311
|
-
const
|
|
312
|
-
if (
|
|
313
|
-
const le =
|
|
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}.${
|
|
316
|
+
throw new yt(`"${m}.${N}()" is not implemented on ${b}`, ze.Unimplemented);
|
|
317
317
|
});
|
|
318
|
-
return
|
|
318
|
+
return N === "addListener" && (D.remove = async () => J()), D;
|
|
319
319
|
};
|
|
320
|
-
return O.toString = () => `${
|
|
321
|
-
value:
|
|
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
|
-
},
|
|
326
|
-
const O =
|
|
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
|
-
|
|
329
|
-
eventName:
|
|
328
|
+
w({
|
|
329
|
+
eventName: N,
|
|
330
330
|
callbackId: T
|
|
331
331
|
}, J);
|
|
332
|
-
}, D = new Promise((T) => O.then(() => T({ remove:
|
|
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
|
|
334
|
+
console.warn("Using addListener() without 'await' is deprecated."), await k();
|
|
335
335
|
}, D;
|
|
336
|
-
},
|
|
337
|
-
get(
|
|
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
|
|
345
|
+
return C ? z : g;
|
|
346
346
|
case "removeListener":
|
|
347
|
-
return
|
|
347
|
+
return w;
|
|
348
348
|
default:
|
|
349
|
-
return
|
|
349
|
+
return v(J);
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
});
|
|
353
|
-
return a[m] =
|
|
353
|
+
return a[m] = V, d.set(m, {
|
|
354
354
|
name: m,
|
|
355
|
-
proxy:
|
|
356
|
-
platforms: /* @__PURE__ */ new Set([...Object.keys(f), ...
|
|
357
|
-
}),
|
|
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-
|
|
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
|
-
},
|
|
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,
|
|
747
|
+
}, null, 8, Mi)
|
|
748
748
|
]);
|
|
749
749
|
}
|
|
750
|
-
const
|
|
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(
|
|
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%"),
|
|
824
|
-
t.vertical && (
|
|
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%",
|
|
827
|
-
if (
|
|
828
|
-
if (t.vertical && "clientHeight" in
|
|
829
|
-
|
|
830
|
-
const
|
|
831
|
-
return r.value = isFinite(
|
|
832
|
-
} else if (!t.vertical && "clientWidth" in
|
|
833
|
-
|
|
834
|
-
const
|
|
835
|
-
return r.value = isFinite(
|
|
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%",
|
|
837
|
+
return f.value = "100%", C.value = "100%", 0;
|
|
838
838
|
else
|
|
839
|
-
return f.value = "100%",
|
|
839
|
+
return f.value = "100%", C.value = "100%", 0;
|
|
840
840
|
else
|
|
841
|
-
return f.value = "100%",
|
|
841
|
+
return f.value = "100%", C.value = "100%", 0;
|
|
842
842
|
};
|
|
843
|
-
T(), typeof ResizeObserver < "u" &&
|
|
844
|
-
const le =
|
|
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(
|
|
848
|
+
}), s.value.observe(w.value)) : (d.value && clearInterval(d.value), d.value = setTimeout(() => {
|
|
849
849
|
T(), d.value = null;
|
|
850
850
|
}, 500));
|
|
851
|
-
},
|
|
851
|
+
}, V = () => {
|
|
852
852
|
t.pauseOnHover && a("onPause");
|
|
853
|
-
},
|
|
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
|
-
},
|
|
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 &&
|
|
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": `${
|
|
870
|
+
"--min-height": `${C.value}`,
|
|
871
871
|
"--orientation": t.vertical ? "scrollY" : "scrollX"
|
|
872
872
|
})), D = async () => {
|
|
873
|
-
t.vertical ? (
|
|
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,
|
|
884
|
-
T !==
|
|
883
|
+
(T, H) => {
|
|
884
|
+
T !== H && a(T ? "onPause" : "onResume");
|
|
885
885
|
}
|
|
886
|
-
), (T,
|
|
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(
|
|
890
|
-
onMouseenter:
|
|
891
|
-
onMouseleave:
|
|
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:
|
|
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:
|
|
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-
|
|
925
|
+
//# sourceMappingURL=main-EZaj64lH.js.map
|