added sale-price

This commit is contained in:
2026-03-07 16:09:22 +03:30
parent 2e4389e311
commit d4ddc1f987
4991 changed files with 489998 additions and 7072 deletions
+14
View File
@@ -0,0 +1,14 @@
import { g as getSlideTransformEl, c as createElement } from './utils.mjs';
function createShadow(suffix, slideEl, side) {
const shadowClass = `swiper-slide-shadow${side ? `-${side}` : ''}${suffix ? ` swiper-slide-shadow-${suffix}` : ''}`;
const shadowContainer = getSlideTransformEl(slideEl);
let shadowEl = shadowContainer.querySelector(`.${shadowClass.split(' ').join('.')}`);
if (!shadowEl) {
shadowEl = createElement('div', shadowClass.split(' '));
shadowContainer.append(shadowEl);
}
return shadowEl;
}
export { createShadow as c };