st-common-ui-vue3
Version:
小尾巴通用 Vue3 UI 组件库
909 lines (908 loc) • 226 kB
TypeScript
import { Swiper as SwiperType } from 'swiper/types';
/**
* 组件参数
*/
declare let __VLS_typeProps: {
width?: string | number;
height?: string | number;
initialSlide?: number;
direction?: 'horizontal' | 'vertical';
slidesPerView?: number;
slidesOffsetBefore?: number;
slidesOffsetAfter?: number;
mousewheel?: boolean;
navigation?: boolean;
navDirection?: 'horizontal' | 'vertical';
navAlign?: 'center' | 'start' | 'end';
navSize?: string | number;
navColor?: string;
navDisabledColor?: string;
transitionFun?: string;
transitionSpeed?: number;
transitionDelay?: number | string;
controlSwiper?: SwiperType | SwiperType[];
swiperOverflow?: string;
enableSlideClick?: boolean;
slideClickHandler?: (swiper: SwiperType) => void;
};
type __VLS_PublicProps = {
'activeSlideIdx'?: number;
} & typeof __VLS_typeProps;
declare function __VLS_template(): {
slots: {
default?(_: {
currentSlideIdx: number;
activeSlideIdx: number;
}): any;
prev?(_: {}): any;
next?(_: {}): any;
};
refs: {
stSwiperContainerRef: HTMLDivElement;
};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
swiper: import('vue').Ref<{
params: {
modules?: import('swiper/types').SwiperModule[] | undefined;
injectStyles?: string[] | undefined;
injectStylesUrls?: string[] | undefined;
init?: boolean | undefined;
enabled?: boolean | undefined;
updateOnWindowResize?: boolean | undefined;
resizeObserver?: boolean | undefined;
initialSlide?: number | undefined;
direction?: ("horizontal" | "vertical") | undefined;
oneWayMovement?: boolean | undefined;
swiperElementNodeName?: string | undefined;
speed?: number | undefined;
setWrapperSize?: boolean | undefined;
virtualTranslate?: boolean | undefined;
width?: (number | null) | undefined;
height?: (number | null) | undefined;
autoHeight?: boolean | undefined;
roundLengths?: boolean | undefined;
nested?: boolean | undefined;
createElements?: boolean | undefined;
eventsPrefix?: string | undefined;
focusableElements?: string | undefined;
uniqueNavElements?: boolean | undefined;
effect?: ("slide" | "fade" | "cube" | "coverflow" | "flip" | "creative" | "cards" | string) | undefined;
runCallbacksOnInit?: boolean | undefined;
watchOverflow?: boolean | undefined;
userAgent?: (string | null) | undefined;
url?: (string | null) | undefined;
on?: {
init?: ((swiper: SwiperType) => any) | undefined;
beforeDestroy?: ((swiper: SwiperType) => void) | undefined;
slidesUpdated?: ((swiper: SwiperType) => void) | undefined;
slideChange?: ((swiper: SwiperType) => void) | undefined;
slideChangeTransitionStart?: ((swiper: SwiperType) => void) | undefined;
slideChangeTransitionEnd?: ((swiper: SwiperType) => void) | undefined;
slideNextTransitionStart?: ((swiper: SwiperType) => void) | undefined;
slideNextTransitionEnd?: ((swiper: SwiperType) => void) | undefined;
slidePrevTransitionStart?: ((swiper: SwiperType) => void) | undefined;
slidePrevTransitionEnd?: ((swiper: SwiperType) => void) | undefined;
transitionStart?: ((swiper: SwiperType) => void) | undefined;
transitionEnd?: ((swiper: SwiperType) => void) | undefined;
touchStart?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
touchMove?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
touchMoveOpposite?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
sliderMove?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
touchEnd?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
click?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
tap?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
doubleTap?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
progress?: ((swiper: SwiperType, progress: number) => void) | undefined;
reachBeginning?: ((swiper: SwiperType) => void) | undefined;
reachEnd?: ((swiper: SwiperType) => void) | undefined;
toEdge?: ((swiper: SwiperType) => void) | undefined;
fromEdge?: ((swiper: SwiperType) => void) | undefined;
setTranslate?: ((swiper: SwiperType, translate: number) => void) | undefined;
setTransition?: ((swiper: SwiperType, transition: number) => void) | undefined;
resize?: ((swiper: SwiperType) => void) | undefined;
observerUpdate?: ((swiper: SwiperType) => void) | undefined;
beforeLoopFix?: ((swiper: SwiperType) => void) | undefined;
loopFix?: ((swiper: SwiperType) => void) | undefined;
breakpoint?: ((swiper: SwiperType, breakpointParams: import('swiper/types').SwiperOptions) => void) | undefined;
_beforeBreakpoint?: ((swiper: SwiperType, breakpointParams: import('swiper/types').SwiperOptions) => void) | undefined;
_containerClasses?: ((swiper: SwiperType, classNames: string) => void) | undefined;
_slideClass?: ((swiper: SwiperType, slideEl: HTMLElement, classNames: string) => void) | undefined;
_slideClasses?: ((swiper: SwiperType, slides: {
slideEl: HTMLElement;
classNames: string;
index: number;
}[]) => void) | undefined;
_swiper?: ((swiper: SwiperType) => void) | undefined;
_freeModeNoMomentumRelease?: ((swiper: SwiperType) => void) | undefined;
activeIndexChange?: ((swiper: SwiperType) => void) | undefined;
snapIndexChange?: ((swiper: SwiperType) => void) | undefined;
realIndexChange?: ((swiper: SwiperType) => void) | undefined;
afterInit?: ((swiper: SwiperType) => void) | undefined;
beforeInit?: ((swiper: SwiperType) => void) | undefined;
beforeResize?: ((swiper: SwiperType) => void) | undefined;
beforeSlideChangeStart?: ((swiper: SwiperType) => void) | undefined;
beforeTransitionStart?: ((swiper: SwiperType, speed: number, internal: any) => void) | undefined;
changeDirection?: ((swiper: SwiperType) => void) | undefined;
doubleClick?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
destroy?: ((swiper: SwiperType) => void) | undefined;
momentumBounce?: ((swiper: SwiperType) => void) | undefined;
orientationchange?: ((swiper: SwiperType) => void) | undefined;
slideResetTransitionStart?: ((swiper: SwiperType) => void) | undefined;
slideResetTransitionEnd?: ((swiper: SwiperType) => void) | undefined;
sliderFirstMove?: ((swiper: SwiperType, event: TouchEvent) => void) | undefined;
slidesLengthChange?: ((swiper: SwiperType) => void) | undefined;
slidesGridLengthChange?: ((swiper: SwiperType) => void) | undefined;
snapGridLengthChange?: ((swiper: SwiperType) => void) | undefined;
update?: ((swiper: SwiperType) => void) | undefined;
lock?: ((swiper: SwiperType) => void) | undefined;
unlock?: ((swiper: SwiperType) => void) | undefined;
autoplayStart?: ((swiper: SwiperType) => void) | undefined;
autoplayStop?: ((swiper: SwiperType) => void) | undefined;
autoplayPause?: ((swiper: SwiperType) => void) | undefined;
autoplayResume?: ((swiper: SwiperType) => void) | undefined;
autoplayTimeLeft?: ((swiper: SwiperType, timeLeft: number, percentage: number) => void) | undefined;
autoplay?: ((swiper: SwiperType) => void) | undefined;
hashChange?: ((swiper: SwiperType) => void) | undefined;
hashSet?: ((swiper: SwiperType) => void) | undefined;
keyPress?: ((swiper: SwiperType, keyCode: string) => void) | undefined;
scroll?: ((swiper: SwiperType, event: WheelEvent) => void) | undefined;
navigationHide?: ((swiper: SwiperType) => void) | undefined;
navigationShow?: ((swiper: SwiperType) => void) | undefined;
navigationPrev?: ((swiper: SwiperType) => void) | undefined;
navigationNext?: ((swiper: SwiperType) => void) | undefined;
paginationRender?: ((swiper: SwiperType, paginationEl: HTMLElement) => void) | undefined;
paginationUpdate?: ((swiper: SwiperType, paginationEl: HTMLElement) => void) | undefined;
paginationHide?: ((swiper: SwiperType) => void) | undefined;
paginationShow?: ((swiper: SwiperType) => void) | undefined;
scrollbarDragStart?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
scrollbarDragMove?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
scrollbarDragEnd?: ((swiper: SwiperType, event: MouseEvent | TouchEvent | PointerEvent) => void) | undefined;
zoomChange?: ((swiper: SwiperType, scale: number, imageEl: HTMLElement, slideEl: HTMLElement) => void) | undefined;
} | undefined;
onAny?: ((handler: (eventName: string, ...args: any[]) => void) => void) | undefined;
cssMode?: boolean | undefined;
spaceBetween?: (number | string) | undefined;
slidesPerView?: (number | "auto") | undefined;
maxBackfaceHiddenSlides?: number | undefined;
slidesPerGroup?: number | undefined;
slidesPerGroupSkip?: number | undefined;
slidesPerGroupAuto?: boolean | undefined;
centeredSlides?: boolean | undefined;
centeredSlidesBounds?: boolean | undefined;
slidesOffsetBefore?: number | undefined;
slidesOffsetAfter?: number | undefined;
normalizeSlideIndex?: boolean | undefined;
centerInsufficientSlides?: boolean | undefined;
grabCursor?: boolean | undefined;
touchEventsTarget?: ("container" | "wrapper") | undefined;
touchRatio?: number | undefined;
touchAngle?: number | undefined;
simulateTouch?: boolean | undefined;
shortSwipes?: boolean | undefined;
longSwipes?: boolean | undefined;
longSwipesRatio?: number | undefined;
longSwipesMs?: number | undefined;
followFinger?: boolean | undefined;
allowTouchMove?: boolean | undefined;
threshold?: number | undefined;
touchStartPreventDefault?: boolean | undefined;
touchStartForcePreventDefault?: boolean | undefined;
touchMoveStopPropagation?: boolean | undefined;
edgeSwipeDetection?: (boolean | string) | undefined;
edgeSwipeThreshold?: number | undefined;
touchReleaseOnEdges?: boolean | undefined;
passiveListeners?: boolean | undefined;
resistance?: boolean | undefined;
resistanceRatio?: number | undefined;
preventInteractionOnTransition?: boolean | undefined;
allowSlidePrev?: boolean | undefined;
allowSlideNext?: boolean | undefined;
noSwiping?: boolean | undefined;
noSwipingClass?: string | undefined;
noSwipingSelector?: string | undefined;
swipeHandler?: HTMLElement | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string) => string;
padEnd: (maxLength: number, fillString?: string) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
[Symbol.iterator]: () => StringIterator<string>;
at: (index: number) => string | undefined;
} | null | undefined;
preventClicks?: boolean | undefined;
preventClicksPropagation?: boolean | undefined;
slideToClickedSlide?: boolean | undefined;
watchSlidesProgress?: boolean | undefined;
loop?: boolean | undefined;
loopAddBlankSlides?: boolean | undefined;
loopAdditionalSlides?: number | undefined;
loopPreventsSliding?: boolean | undefined;
rewind?: boolean | undefined;
breakpoints?: {
[width: number]: import('swiper/types').SwiperOptions;
[ratio: string]: import('swiper/types').SwiperOptions;
} | undefined;
breakpointsBase?: ("window" | "container") | undefined;
observer?: boolean | undefined;
observeSlideChildren?: boolean | undefined;
observeParents?: boolean | undefined;
containerModifierClass?: string | undefined;
slideClass?: string | undefined;
slideActiveClass?: string | undefined;
slideVisibleClass?: string | undefined;
slideFullyVisibleClass?: string | undefined;
slideBlankClass?: string | undefined;
slideNextClass?: string | undefined;
slidePrevClass?: string | undefined;
wrapperClass?: string | undefined;
lazyPreloaderClass?: string | undefined;
lazyPreloadPrevNext?: number | undefined;
a11y?: {
enabled?: boolean | undefined;
prevSlideMessage?: string | undefined;
nextSlideMessage?: string | undefined;
firstSlideMessage?: string | undefined;
lastSlideMessage?: string | undefined;
paginationBulletMessage?: string | undefined;
notificationClass?: string | undefined;
containerMessage?: (string | null) | undefined;
containerRoleDescriptionMessage?: (string | null) | undefined;
containerRole?: (string | null) | undefined;
itemRoleDescriptionMessage?: (string | null) | undefined;
slideLabelMessage?: string | undefined;
slideRole?: string | undefined;
id?: (string | number | null) | undefined;
scrollOnFocus?: boolean | undefined;
} | undefined;
autoplay?: boolean | {
delay?: number | undefined;
stopOnLastSlide?: boolean | undefined;
disableOnInteraction?: boolean | undefined;
reverseDirection?: boolean | undefined;
waitForTransition?: boolean | undefined;
pauseOnMouseEnter?: boolean | undefined;
} | undefined;
controller?: {
control?: string | HTMLElement | any | any[] | null | undefined;
inverse?: boolean | undefined;
by?: ("slide" | "container") | undefined;
} | undefined;
coverflowEffect?: {
slideShadows?: boolean | undefined;
rotate?: number | undefined;
stretch?: number | undefined;
depth?: number | undefined;
scale?: number | undefined;
modifier?: number | undefined;
} | undefined;
cubeEffect?: {
slideShadows?: boolean | undefined;
shadow?: boolean | undefined;
shadowOffset?: number | undefined;
shadowScale?: number | undefined;
} | undefined;
fadeEffect?: {
crossFade?: boolean | undefined;
} | undefined;
flipEffect?: {
slideShadows?: boolean | undefined;
limitRotation?: boolean | undefined;
} | undefined;
creativeEffect?: {
prev?: {
translate?: (string | number)[] | undefined;
rotate?: number[] | undefined;
opacity?: number | undefined;
scale?: number | undefined;
shadow?: boolean | undefined;
origin?: string | undefined;
} | undefined;
next?: {
translate?: (string | number)[] | undefined;
rotate?: number[] | undefined;
opacity?: number | undefined;
scale?: number | undefined;
shadow?: boolean | undefined;
origin?: string | undefined;
} | undefined;
limitProgress?: number | undefined;
shadowPerProgress?: boolean | undefined;
progressMultiplier?: number | undefined;
perspective?: boolean | undefined;
} | undefined;
cardsEffect?: {
slideShadows?: boolean | undefined;
rotate?: boolean | undefined;
perSlideRotate?: number | undefined;
perSlideOffset?: number | undefined;
} | undefined;
hashNavigation?: boolean | {
watchState?: boolean | undefined;
replaceState?: boolean | undefined;
getSlideIndex?: ((swiper: SwiperType, hash: string) => number) | undefined;
} | undefined;
history?: boolean | {
enabled?: boolean | undefined;
root?: string | undefined;
replaceState?: boolean | undefined;
key?: string | undefined;
keepQuery?: boolean | undefined;
} | undefined;
keyboard?: boolean | {
enabled?: boolean | undefined;
onlyInViewport?: boolean | undefined;
pageUpDown?: boolean | undefined;
} | undefined;
mousewheel?: boolean | {
enabled?: boolean | undefined;
forceToAxis?: boolean | undefined;
releaseOnEdges?: boolean | undefined;
invert?: boolean | undefined;
sensitivity?: number | undefined;
eventsTarget?: HTMLElement | "container" | "wrapper" | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string) => string;
padEnd: (maxLength: number, fillString?: string) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
[Symbol.iterator]: () => StringIterator<string>;
at: (index: number) => string | undefined;
} | undefined;
thresholdDelta?: (number | null) | undefined;
thresholdTime?: (number | null) | undefined;
noMousewheelClass?: string | undefined;
} | undefined;
navigation?: boolean | {
enabled?: boolean | undefined;
nextEl?: HTMLElement | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string) => string;
padEnd: (maxLength: number, fillString?: string) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
[Symbol.iterator]: () => StringIterator<string>;
at: (index: number) => string | undefined;
} | null | undefined;
prevEl?: HTMLElement | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string) => string;
padEnd: (maxLength: number, fillString?: string) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
[Symbol.iterator]: () => StringIterator<string>;
at: (index: number) => string | undefined;
} | null | undefined;
hideOnClick?: boolean | undefined;
disabledClass?: string | undefined;
hiddenClass?: string | undefined;
lockClass?: string | undefined;
navigationDisabledClass?: string | undefined;
} | undefined;
pagination?: boolean | {
enabled?: boolean | undefined;
el?: HTMLElement | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;
big: () => string;
blink: () => string;
bold: () => string;
fixed: () => string;
fontcolor: (color: string) => string;
fontsize: {
(size: number): string;
(size: string): string;
};
italics: () => string;
link: (url: string) => string;
small: () => string;
strike: () => string;
sub: () => string;
sup: () => string;
padStart: (maxLength: number, fillString?: string) => string;
padEnd: (maxLength: number, fillString?: string) => string;
trimEnd: () => string;
trimStart: () => string;
trimLeft: () => string;
trimRight: () => string;
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
[Symbol.iterator]: () => StringIterator<string>;
at: (index: number) => string | undefined;
} | null | undefined;
type?: ("bullets" | "fraction" | "progressbar" | "custom") | undefined;
bulletElement?: string | undefined;
dynamicBullets?: boolean | undefined;
dynamicMainBullets?: number | undefined;
hideOnClick?: boolean | undefined;
clickable?: boolean | undefined;
progressbarOpposite?: boolean | undefined;
formatFractionCurrent?: ((number: number) => number | string) | undefined;
formatFractionTotal?: ((number: number) => number | string) | undefined;
renderBullet?: ((index: number, className: string) => string) | undefined;
renderFraction?: ((currentClass: string, totalClass: string) => string) | undefined;
renderProgressbar?: ((progressbarFillClass: string) => string) | undefined;
renderCustom?: ((swiper: SwiperType, current: number, total: number) => string) | undefined;
bulletClass?: string | undefined;
bulletActiveClass?: string | undefined;
modifierClass?: string | undefined;
currentClass?: string | undefined;
totalClass?: string | undefined;
hiddenClass?: string | undefined;
progressbarFillClass?: string | undefined;
progressbarOppositeClass?: string | undefined;
clickableClass?: string | undefined;
lockClass?: string | undefined;
horizontalClass?: string | undefined;
verticalClass?: string | undefined;
paginationDisabledClass?: string | undefined;
} | undefined;
parallax?: boolean | {
enabled?: boolean | undefined;
} | undefined;
scrollbar?: boolean | {
enabled?: boolean | undefined;
el?: HTMLElement | {
readonly [x: number]: string;
toString: () => string;
charAt: (pos: number) => string;
charCodeAt: (index: number) => number;
concat: (...strings: string[]) => string;
indexOf: (searchString: string, position?: number) => number;
lastIndexOf: (searchString: string, position?: number) => number;
localeCompare: {
(that: string): number;
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
};
match: {
(regexp: string | RegExp): RegExpMatchArray | null;
(matcher: {
[Symbol.match](string: string): RegExpMatchArray | null;
}): RegExpMatchArray | null;
};
replace: {
(searchValue: string | RegExp, replaceValue: string): string;
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
(searchValue: {
[Symbol.replace](string: string, replaceValue: string): string;
}, replaceValue: string): string;
(searchValue: {
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
}, replacer: (substring: string, ...args: any[]) => string): string;
};
search: {
(regexp: string | RegExp): number;
(searcher: {
[Symbol.search](string: string): number;
}): number;
};
slice: (start?: number, end?: number) => string;
split: {
(separator: string | RegExp, limit?: number): string[];
(splitter: {
[Symbol.split](string: string, limit?: number): string[];
}, limit?: number): string[];
};
substring: (start: number, end?: number) => string;
toLowerCase: () => string;
toLocaleLowerCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
toUpperCase: () => string;
toLocaleUpperCase: {
(locales?: string | string[]): string;
(locales?: Intl.LocalesArgument): string;
};
trim: () => string;
readonly length: number;
substr: (from: number, length?: number) => string;
valueOf: () => string;
codePointAt: (pos: number) => number | undefined;
includes: (searchString: string, position?: number) => boolean;
endsWith: (searchString: string, endPosition?: number) => boolean;
normalize: {
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
(form?: string): string;
};
repeat: (count: number) => string;
startsWith: (searchString: string, position?: number) => boolean;
anchor: (name: string) => string;