urnovl-web-components 0.0.140 → 0.0.141
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/cjs/ur-novl-carousel.cjs.entry.js +5 -1
- package/dist/collection/components/ur-novl-carousel/ur-novl-carousel.js +33 -1
- package/dist/components/ur-novl-carousel.js +5 -1
- package/dist/esm/ur-novl-carousel.entry.js +5 -1
- package/dist/types/components/ur-novl-carousel/ur-novl-carousel.d.ts +2 -0
- package/dist/types/components.d.ts +4 -0
- package/dist/urnovl-web-components/p-017f32e2.entry.js +1 -0
- package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-017f32e2.entry.js +1 -0
- package/www/build/{p-731af93b.js → p-3a1210bb.js} +1 -1
- package/www/build/urnovl-web-components.esm.js +1 -1
- package/dist/urnovl-web-components/p-aa846dc1.entry.js +0 -1
- package/www/build/p-aa846dc1.entry.js +0 -1
|
@@ -11,6 +11,8 @@ const UrNovlCarousel = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.intersectionUpdated = index.createEvent(this, "intersectionUpdated", 7);
|
|
14
|
+
this.prevClicked = index.createEvent(this, "prevClicked", 7);
|
|
15
|
+
this.nextClicked = index.createEvent(this, "nextClicked", 7);
|
|
14
16
|
this.onIntersection = async (entries) => {
|
|
15
17
|
this.intersectionUpdated.emit(entries);
|
|
16
18
|
};
|
|
@@ -32,10 +34,12 @@ const UrNovlCarousel = class {
|
|
|
32
34
|
this.el.shadowRoot.querySelector('ur-button-arrow-left').addEventListener('click', () => {
|
|
33
35
|
var _a;
|
|
34
36
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
|
37
|
+
this.prevClicked.emit();
|
|
35
38
|
});
|
|
36
39
|
this.el.shadowRoot.querySelector('ur-button-arrow-right').addEventListener('click', () => {
|
|
37
40
|
var _a;
|
|
38
41
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slideNext();
|
|
42
|
+
this.nextClicked.emit();
|
|
39
43
|
});
|
|
40
44
|
}
|
|
41
45
|
const novls = this.el.shadowRoot.querySelectorAll('ur-novl');
|
|
@@ -45,7 +49,7 @@ const UrNovlCarousel = class {
|
|
|
45
49
|
});
|
|
46
50
|
}
|
|
47
51
|
render() {
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: '36c9f704d604933d7191830adf511d47b24a3899' }, index.h("div", { key: '69ad51107fc94a5742e794a9305b87d0674e7eaa', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: 'ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d' })), this.navigation && (index.h("ur-button-arrow-right", { key: '811a986d47da611b3dc8afc740e649eea7c07e39' })), index.h("swiper-container", { key: 'b5816b1f8231950cf294af03f2540ac47d895428', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.novls.map(novl => {
|
|
49
53
|
return (index.h("swiper-slide", null, index.h("ur-novl", Object.assign({}, novl))));
|
|
50
54
|
})))));
|
|
51
55
|
}
|
|
@@ -22,10 +22,12 @@ export class UrNovlCarousel {
|
|
|
22
22
|
this.el.shadowRoot.querySelector('ur-button-arrow-left').addEventListener('click', () => {
|
|
23
23
|
var _a;
|
|
24
24
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
|
25
|
+
this.prevClicked.emit();
|
|
25
26
|
});
|
|
26
27
|
this.el.shadowRoot.querySelector('ur-button-arrow-right').addEventListener('click', () => {
|
|
27
28
|
var _a;
|
|
28
29
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slideNext();
|
|
30
|
+
this.nextClicked.emit();
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
33
|
const novls = this.el.shadowRoot.querySelectorAll('ur-novl');
|
|
@@ -35,7 +37,7 @@ export class UrNovlCarousel {
|
|
|
35
37
|
});
|
|
36
38
|
}
|
|
37
39
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '36c9f704d604933d7191830adf511d47b24a3899' }, h("div", { key: '69ad51107fc94a5742e794a9305b87d0674e7eaa', class: "carousel" }, this.navigation && (h("ur-button-arrow-left", { key: 'ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d' })), this.navigation && (h("ur-button-arrow-right", { key: '811a986d47da611b3dc8afc740e649eea7c07e39' })), h("swiper-container", { key: 'b5816b1f8231950cf294af03f2540ac47d895428', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.novls.map(novl => {
|
|
39
41
|
return (h("swiper-slide", null, h("ur-novl", Object.assign({}, novl))));
|
|
40
42
|
})))));
|
|
41
43
|
}
|
|
@@ -204,6 +206,36 @@ export class UrNovlCarousel {
|
|
|
204
206
|
}
|
|
205
207
|
}
|
|
206
208
|
}
|
|
209
|
+
}, {
|
|
210
|
+
"method": "prevClicked",
|
|
211
|
+
"name": "prevClicked",
|
|
212
|
+
"bubbles": true,
|
|
213
|
+
"cancelable": true,
|
|
214
|
+
"composed": true,
|
|
215
|
+
"docs": {
|
|
216
|
+
"tags": [],
|
|
217
|
+
"text": ""
|
|
218
|
+
},
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "void",
|
|
221
|
+
"resolved": "void",
|
|
222
|
+
"references": {}
|
|
223
|
+
}
|
|
224
|
+
}, {
|
|
225
|
+
"method": "nextClicked",
|
|
226
|
+
"name": "nextClicked",
|
|
227
|
+
"bubbles": true,
|
|
228
|
+
"cancelable": true,
|
|
229
|
+
"composed": true,
|
|
230
|
+
"docs": {
|
|
231
|
+
"tags": [],
|
|
232
|
+
"text": ""
|
|
233
|
+
},
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "void",
|
|
236
|
+
"resolved": "void",
|
|
237
|
+
"references": {}
|
|
238
|
+
}
|
|
207
239
|
}];
|
|
208
240
|
}
|
|
209
241
|
static get elementRef() { return "el"; }
|
|
@@ -12,6 +12,8 @@ const UrNovlCarousel$1 = /*@__PURE__*/ proxyCustomElement(class UrNovlCarousel e
|
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
14
|
this.intersectionUpdated = createEvent(this, "intersectionUpdated", 7);
|
|
15
|
+
this.prevClicked = createEvent(this, "prevClicked", 7);
|
|
16
|
+
this.nextClicked = createEvent(this, "nextClicked", 7);
|
|
15
17
|
this.onIntersection = async (entries) => {
|
|
16
18
|
this.intersectionUpdated.emit(entries);
|
|
17
19
|
};
|
|
@@ -33,10 +35,12 @@ const UrNovlCarousel$1 = /*@__PURE__*/ proxyCustomElement(class UrNovlCarousel e
|
|
|
33
35
|
this.el.shadowRoot.querySelector('ur-button-arrow-left').addEventListener('click', () => {
|
|
34
36
|
var _a;
|
|
35
37
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
|
38
|
+
this.prevClicked.emit();
|
|
36
39
|
});
|
|
37
40
|
this.el.shadowRoot.querySelector('ur-button-arrow-right').addEventListener('click', () => {
|
|
38
41
|
var _a;
|
|
39
42
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slideNext();
|
|
43
|
+
this.nextClicked.emit();
|
|
40
44
|
});
|
|
41
45
|
}
|
|
42
46
|
const novls = this.el.shadowRoot.querySelectorAll('ur-novl');
|
|
@@ -46,7 +50,7 @@ const UrNovlCarousel$1 = /*@__PURE__*/ proxyCustomElement(class UrNovlCarousel e
|
|
|
46
50
|
});
|
|
47
51
|
}
|
|
48
52
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '36c9f704d604933d7191830adf511d47b24a3899' }, h("div", { key: '69ad51107fc94a5742e794a9305b87d0674e7eaa', class: "carousel" }, this.navigation && (h("ur-button-arrow-left", { key: 'ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d' })), this.navigation && (h("ur-button-arrow-right", { key: '811a986d47da611b3dc8afc740e649eea7c07e39' })), h("swiper-container", { key: 'b5816b1f8231950cf294af03f2540ac47d895428', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.novls.map(novl => {
|
|
50
54
|
return (h("swiper-slide", null, h("ur-novl", Object.assign({}, novl))));
|
|
51
55
|
})))));
|
|
52
56
|
}
|
|
@@ -7,6 +7,8 @@ const UrNovlCarousel = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.intersectionUpdated = createEvent(this, "intersectionUpdated", 7);
|
|
10
|
+
this.prevClicked = createEvent(this, "prevClicked", 7);
|
|
11
|
+
this.nextClicked = createEvent(this, "nextClicked", 7);
|
|
10
12
|
this.onIntersection = async (entries) => {
|
|
11
13
|
this.intersectionUpdated.emit(entries);
|
|
12
14
|
};
|
|
@@ -28,10 +30,12 @@ const UrNovlCarousel = class {
|
|
|
28
30
|
this.el.shadowRoot.querySelector('ur-button-arrow-left').addEventListener('click', () => {
|
|
29
31
|
var _a;
|
|
30
32
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slidePrev();
|
|
33
|
+
this.prevClicked.emit();
|
|
31
34
|
});
|
|
32
35
|
this.el.shadowRoot.querySelector('ur-button-arrow-right').addEventListener('click', () => {
|
|
33
36
|
var _a;
|
|
34
37
|
(_a = container === null || container === void 0 ? void 0 : container.swiper) === null || _a === void 0 ? void 0 : _a.slideNext();
|
|
38
|
+
this.nextClicked.emit();
|
|
35
39
|
});
|
|
36
40
|
}
|
|
37
41
|
const novls = this.el.shadowRoot.querySelectorAll('ur-novl');
|
|
@@ -41,7 +45,7 @@ const UrNovlCarousel = class {
|
|
|
41
45
|
});
|
|
42
46
|
}
|
|
43
47
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '36c9f704d604933d7191830adf511d47b24a3899' }, h("div", { key: '69ad51107fc94a5742e794a9305b87d0674e7eaa', class: "carousel" }, this.navigation && (h("ur-button-arrow-left", { key: 'ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d' })), this.navigation && (h("ur-button-arrow-right", { key: '811a986d47da611b3dc8afc740e649eea7c07e39' })), h("swiper-container", { key: 'b5816b1f8231950cf294af03f2540ac47d895428', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.novls.map(novl => {
|
|
45
49
|
return (h("swiper-slide", null, h("ur-novl", Object.assign({}, novl))));
|
|
46
50
|
})))));
|
|
47
51
|
}
|
|
@@ -11,6 +11,8 @@ export declare class UrNovlCarousel {
|
|
|
11
11
|
spaceBetween?: number | string;
|
|
12
12
|
navigation?: boolean;
|
|
13
13
|
intersectionUpdated: EventEmitter<Array<IntersectionObserverEntry>>;
|
|
14
|
+
prevClicked: EventEmitter<void>;
|
|
15
|
+
nextClicked: EventEmitter<void>;
|
|
14
16
|
private onIntersection;
|
|
15
17
|
componentDidLoad(): void;
|
|
16
18
|
render(): any;
|
|
@@ -397,6 +397,8 @@ declare global {
|
|
|
397
397
|
};
|
|
398
398
|
interface HTMLUrNovlCarouselElementEventMap {
|
|
399
399
|
"intersectionUpdated": Array<IntersectionObserverEntry>;
|
|
400
|
+
"prevClicked": void;
|
|
401
|
+
"nextClicked": void;
|
|
400
402
|
}
|
|
401
403
|
interface HTMLUrNovlCarouselElement extends Components.UrNovlCarousel, HTMLStencilElement {
|
|
402
404
|
addEventListener<K extends keyof HTMLUrNovlCarouselElementEventMap>(type: K, listener: (this: HTMLUrNovlCarouselElement, ev: UrNovlCarouselCustomEvent<HTMLUrNovlCarouselElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -645,6 +647,8 @@ declare namespace LocalJSX {
|
|
|
645
647
|
"navigation"?: boolean;
|
|
646
648
|
"novls"?: Array<Novl>;
|
|
647
649
|
"onIntersectionUpdated"?: (event: UrNovlCarouselCustomEvent<Array<IntersectionObserverEntry>>) => void;
|
|
650
|
+
"onNextClicked"?: (event: UrNovlCarouselCustomEvent<void>) => void;
|
|
651
|
+
"onPrevClicked"?: (event: UrNovlCarouselCustomEvent<void>) => void;
|
|
648
652
|
"slidesPerView"?: number | 'auto';
|
|
649
653
|
"spaceBetween"?: number | string;
|
|
650
654
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as t,h as s,H as e,g as r}from"./p-ac3a60fb.js";const o=class{constructor(s){i(this,s),this.intersectionUpdated=t(this,"intersectionUpdated",7),this.prevClicked=t(this,"prevClicked",7),this.nextClicked=t(this,"nextClicked",7),this.onIntersection=async i=>{this.intersectionUpdated.emit(i)},this.novls=[],this.breakpoints={},this.grid={rows:1,fill:"row"},this.slidesPerView="auto",this.spaceBetween="0",this.navigation=!1}componentDidLoad(){const i=this.el.shadowRoot.querySelector("swiper-container");this.navigation&&(this.el.shadowRoot.querySelector("ur-button-arrow-left").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slidePrev(),this.prevClicked.emit()})),this.el.shadowRoot.querySelector("ur-button-arrow-right").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slideNext(),this.nextClicked.emit()})));const t=this.el.shadowRoot.querySelectorAll("ur-novl");this.observer=new IntersectionObserver(this.onIntersection),t.forEach((i=>{this.observer.observe(i)}))}render(){return s(e,{key:"36c9f704d604933d7191830adf511d47b24a3899"},s("div",{key:"69ad51107fc94a5742e794a9305b87d0674e7eaa",class:"carousel"},this.navigation&&s("ur-button-arrow-left",{key:"ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d"}),this.navigation&&s("ur-button-arrow-right",{key:"811a986d47da611b3dc8afc740e649eea7c07e39"}),s("swiper-container",{key:"b5816b1f8231950cf294af03f2540ac47d895428","breakpoint-base":"container",grid:this.grid,breakpoints:this.breakpoints,"slides-per-view":this.slidesPerView,"space-between":this.spaceBetween},this.novls.map((i=>s("swiper-slide",null,s("ur-novl",Object.assign({},i))))))))}get el(){return r(this)}};o.style=":host{--swiper-slide-width:100%}:host{display:block;box-sizing:border-box;position:relative}:host .carousel{position:relative}:host swiper-slide{width:var(--swiper-slide-width)}:host ur-button-arrow-left,:host ur-button-arrow-right{position:absolute;top:calc(50% - 34px);left:-17px;z-index:2}:host ur-button-arrow-right{left:auto;right:-17px}@media (min-width: 0px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 321px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 640px){:host swiper-slide{width:calc(90% / 3)}}@media (min-width: 1150px){:host swiper-slide{width:calc(90% / 4)}}@media (min-width: 1770px){:host swiper-slide{width:calc(90% / 5)}}@media (min-width: 2140px){:host swiper-slide{width:calc(90% / 6)}}";export{o as ur_novl_carousel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-
|
|
1
|
+
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-017f32e2",[[1,"ur-novl-carousel",{novls:[16],breakpoints:[16],grid:[16],slidesPerView:[8,"slides-per-view"],spaceBetween:[8,"space-between"],navigation:[4]}]]],["p-a6f19c49",[[1,"ur-page-profile",{avatar:[8],name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],stories:[2],views:[2],following:[2],followers:[2],members:[2],showFollow:[4,"show-follow"],showBecomeMember:[4,"show-become-member"],showDonate:[4,"show-donate"],showSendMessage:[4,"show-send-message"],languages:[1],genres:[1],literatureTypes:[1,"literature-types"],pageCreatorName:[8,"page-creator-name"],pageCreatorImage:[8,"page-creator-image"],pageCreationDate:[8,"page-creation-date"]}]]],["p-1e5b0a5e",[[1,"ur-page",{pageTitle:[1,"page-title"],pageCover:[8,"page-cover"],pageCoverFallback:[1,"page-cover-fallback"],followers:[2],showStats:[4,"show-stats"],pageDescription:[8,"page-description"]}]]],["p-6aac1e32",[[1,"ur-select",{label:[1],name:[1],value:[1],placeholder:[1],helper:[1],readonly:[4],disabled:[4],clearable:[4],multiple:[4],endAligned:[4,"end-aligned"],variant:[1],placement:[1],icon:[1],endIcon:[1,"end-icon"],form:[1],items:[16],selectedValue:[32]},null,{value:["valueChanged"]}]]],["p-d72f4ffb",[[1,"ur-user",{userTitle:[1,"user-title"],userCover:[8,"user-cover"],userCoverFallback:[1,"user-cover-fallback"],followers:[2],showStats:[4,"show-stats"],userDescription:[8,"user-description"]}]]],["p-d51bf2a4",[[1,"ur-button-icon",{disabled:[4],loading:[4],variant:[1],icon:[1],selectedIcon:[1,"selected-icon"],selected:[4]}]]],["p-522a3f46",[[1,"ur-checkbox",{disabled:[4],checked:[4]}]]],["p-53183478",[[0,"ur-chip",{label:[1],border:[1],radius:[1],size:[1],backColor:[1,"back-color"],fontColor:[1,"font-color"],loading:[4],disabled:[4]}]]],["p-ccdddced",[[1,"ur-dialog",{description:[1],open:[4],fullscreen:[4],closeOnEsc:[4,"close-on-esc"],closeOnOverlayClick:[4,"close-on-overlay-click"],borderRadius:[1,"border-radius"],openDialog:[64],closeDialog:[64]}]]],["p-b55502c9",[[1,"ur-loader"]]],["p-5bdf98b3",[[1,"ur-locale-filter-button",{count:[2]}]]],["p-2b18a2a6",[[1,"ur-locale-filter-panel",{showHeader:[4,"show-header"],showFooter:[4,"show-footer"],locales:[16]}]]],["p-b16182c0",[[1,"ur-profile",{name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],show_follow:[4],show_donate:[4],show_become_member:[4],show_send_message:[4],show_stats:[4],stories_count:[2],views_count:[2],followers_count:[2],writers_count:[2],show_languages:[4],languages:[1],show_genres:[4],genres:[1],show_member_since:[4],member_since:[1]}]]],["p-7737130d",[[1,"ur-radio-button",{disabled:[4],checked:[4],text:[1]}]]],["p-46ebdb1e",[[1,"ur-segment-button",{likeLabel:[1,"like-label"]}]]],["p-f3604f59",[[1,"ur-switch",{disabled:[4],checked:[4]}]]],["p-85180f29",[[1,"ur-tabs",{tabs:[16],panels:[16]}]]],["p-b1e24cdb",[[1,"ur-text-field",{label:[1],placeholder:[1],helper:[1],disabled:[4],variant:[1],value:[1],endIcon:[8,"end-icon"]}]]],["p-6e9d7d8e",[[1,"ur-user-profile"]]],["p-336f78b8",[[1,"ur-avatar",{size:[1],src:[1],name:[1],border:[1],radius:[1]}]]],["p-cbf240ee",[[1,"ur-menu-item",{value:[1],label:[1],disabled:[4]}]]],["p-49b16dba",[[1,"ur-novl",{novlId:[520,"novl-id"],loading:[4],novlTitle:[1,"novl-title"],novlCover:[8,"novl-cover"],novlCoverFallback:[1,"novl-cover-fallback"],likes:[2],views:[2],showStats:[4,"show-stats"],novlDescription:[8,"novl-description"],authorAvatar:[8,"author-avatar"],authorName:[8,"author-name"],published:[4],price:[1],publisherAvatar:[1,"publisher-avatar"],publisherName:[1,"publisher-name"]}]]],["p-2e0cd1ef",[[1,"ur-button-arrow-left"],[1,"ur-button-arrow-right"]]],["p-e7e47ef1",[[1,"ur-button",{disabled:[4],variant:[1],icon:[8],endIcon:[8,"end-icon"]}]]]],e))));
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as t,h as s,H as e,g as r}from"./p-ac3a60fb.js";const o=class{constructor(s){i(this,s),this.intersectionUpdated=t(this,"intersectionUpdated",7),this.prevClicked=t(this,"prevClicked",7),this.nextClicked=t(this,"nextClicked",7),this.onIntersection=async i=>{this.intersectionUpdated.emit(i)},this.novls=[],this.breakpoints={},this.grid={rows:1,fill:"row"},this.slidesPerView="auto",this.spaceBetween="0",this.navigation=!1}componentDidLoad(){const i=this.el.shadowRoot.querySelector("swiper-container");this.navigation&&(this.el.shadowRoot.querySelector("ur-button-arrow-left").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slidePrev(),this.prevClicked.emit()})),this.el.shadowRoot.querySelector("ur-button-arrow-right").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slideNext(),this.nextClicked.emit()})));const t=this.el.shadowRoot.querySelectorAll("ur-novl");this.observer=new IntersectionObserver(this.onIntersection),t.forEach((i=>{this.observer.observe(i)}))}render(){return s(e,{key:"36c9f704d604933d7191830adf511d47b24a3899"},s("div",{key:"69ad51107fc94a5742e794a9305b87d0674e7eaa",class:"carousel"},this.navigation&&s("ur-button-arrow-left",{key:"ad8f7fc95943acf5a83e7d7ddba0b97e55335e2d"}),this.navigation&&s("ur-button-arrow-right",{key:"811a986d47da611b3dc8afc740e649eea7c07e39"}),s("swiper-container",{key:"b5816b1f8231950cf294af03f2540ac47d895428","breakpoint-base":"container",grid:this.grid,breakpoints:this.breakpoints,"slides-per-view":this.slidesPerView,"space-between":this.spaceBetween},this.novls.map((i=>s("swiper-slide",null,s("ur-novl",Object.assign({},i))))))))}get el(){return r(this)}};o.style=":host{--swiper-slide-width:100%}:host{display:block;box-sizing:border-box;position:relative}:host .carousel{position:relative}:host swiper-slide{width:var(--swiper-slide-width)}:host ur-button-arrow-left,:host ur-button-arrow-right{position:absolute;top:calc(50% - 34px);left:-17px;z-index:2}:host ur-button-arrow-right{left:auto;right:-17px}@media (min-width: 0px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 321px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 640px){:host swiper-slide{width:calc(90% / 3)}}@media (min-width: 1150px){:host swiper-slide{width:calc(90% / 4)}}@media (min-width: 1770px){:host swiper-slide{width:calc(90% / 5)}}@media (min-width: 2140px){:host swiper-slide{width:calc(90% / 6)}}";export{o as ur_novl_carousel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-
|
|
1
|
+
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-017f32e2",[[1,"ur-novl-carousel",{novls:[16],breakpoints:[16],grid:[16],slidesPerView:[8,"slides-per-view"],spaceBetween:[8,"space-between"],navigation:[4]}]]],["p-a6f19c49",[[1,"ur-page-profile",{avatar:[8],name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],stories:[2],views:[2],following:[2],followers:[2],members:[2],showFollow:[4,"show-follow"],showBecomeMember:[4,"show-become-member"],showDonate:[4,"show-donate"],showSendMessage:[4,"show-send-message"],languages:[1],genres:[1],literatureTypes:[1,"literature-types"],pageCreatorName:[8,"page-creator-name"],pageCreatorImage:[8,"page-creator-image"],pageCreationDate:[8,"page-creation-date"]}]]],["p-1e5b0a5e",[[1,"ur-page",{pageTitle:[1,"page-title"],pageCover:[8,"page-cover"],pageCoverFallback:[1,"page-cover-fallback"],followers:[2],showStats:[4,"show-stats"],pageDescription:[8,"page-description"]}]]],["p-6aac1e32",[[1,"ur-select",{label:[1],name:[1],value:[1],placeholder:[1],helper:[1],readonly:[4],disabled:[4],clearable:[4],multiple:[4],endAligned:[4,"end-aligned"],variant:[1],placement:[1],icon:[1],endIcon:[1,"end-icon"],form:[1],items:[16],selectedValue:[32]},null,{value:["valueChanged"]}]]],["p-d72f4ffb",[[1,"ur-user",{userTitle:[1,"user-title"],userCover:[8,"user-cover"],userCoverFallback:[1,"user-cover-fallback"],followers:[2],showStats:[4,"show-stats"],userDescription:[8,"user-description"]}]]],["p-d51bf2a4",[[1,"ur-button-icon",{disabled:[4],loading:[4],variant:[1],icon:[1],selectedIcon:[1,"selected-icon"],selected:[4]}]]],["p-522a3f46",[[1,"ur-checkbox",{disabled:[4],checked:[4]}]]],["p-53183478",[[0,"ur-chip",{label:[1],border:[1],radius:[1],size:[1],backColor:[1,"back-color"],fontColor:[1,"font-color"],loading:[4],disabled:[4]}]]],["p-ccdddced",[[1,"ur-dialog",{description:[1],open:[4],fullscreen:[4],closeOnEsc:[4,"close-on-esc"],closeOnOverlayClick:[4,"close-on-overlay-click"],borderRadius:[1,"border-radius"],openDialog:[64],closeDialog:[64]}]]],["p-b55502c9",[[1,"ur-loader"]]],["p-5bdf98b3",[[1,"ur-locale-filter-button",{count:[2]}]]],["p-2b18a2a6",[[1,"ur-locale-filter-panel",{showHeader:[4,"show-header"],showFooter:[4,"show-footer"],locales:[16]}]]],["p-b16182c0",[[1,"ur-profile",{name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],show_follow:[4],show_donate:[4],show_become_member:[4],show_send_message:[4],show_stats:[4],stories_count:[2],views_count:[2],followers_count:[2],writers_count:[2],show_languages:[4],languages:[1],show_genres:[4],genres:[1],show_member_since:[4],member_since:[1]}]]],["p-7737130d",[[1,"ur-radio-button",{disabled:[4],checked:[4],text:[1]}]]],["p-46ebdb1e",[[1,"ur-segment-button",{likeLabel:[1,"like-label"]}]]],["p-f3604f59",[[1,"ur-switch",{disabled:[4],checked:[4]}]]],["p-85180f29",[[1,"ur-tabs",{tabs:[16],panels:[16]}]]],["p-b1e24cdb",[[1,"ur-text-field",{label:[1],placeholder:[1],helper:[1],disabled:[4],variant:[1],value:[1],endIcon:[8,"end-icon"]}]]],["p-6e9d7d8e",[[1,"ur-user-profile"]]],["p-336f78b8",[[1,"ur-avatar",{size:[1],src:[1],name:[1],border:[1],radius:[1]}]]],["p-cbf240ee",[[1,"ur-menu-item",{value:[1],label:[1],disabled:[4]}]]],["p-49b16dba",[[1,"ur-novl",{novlId:[520,"novl-id"],loading:[4],novlTitle:[1,"novl-title"],novlCover:[8,"novl-cover"],novlCoverFallback:[1,"novl-cover-fallback"],likes:[2],views:[2],showStats:[4,"show-stats"],novlDescription:[8,"novl-description"],authorAvatar:[8,"author-avatar"],authorName:[8,"author-name"],published:[4],price:[1],publisherAvatar:[1,"publisher-avatar"],publisherName:[1,"publisher-name"]}]]],["p-2e0cd1ef",[[1,"ur-button-arrow-left"],[1,"ur-button-arrow-right"]]],["p-e7e47ef1",[[1,"ur-button",{disabled:[4],variant:[1],icon:[8],endIcon:[8,"end-icon"]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-
|
|
1
|
+
import{p as e,b as o}from"./p-ac3a60fb.js";export{s as setNonce}from"./p-ac3a60fb.js";import{g as a}from"./p-e1255160.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((async e=>(await a(),o([["p-017f32e2",[[1,"ur-novl-carousel",{novls:[16],breakpoints:[16],grid:[16],slidesPerView:[8,"slides-per-view"],spaceBetween:[8,"space-between"],navigation:[4]}]]],["p-a6f19c49",[[1,"ur-page-profile",{avatar:[8],name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],stories:[2],views:[2],following:[2],followers:[2],members:[2],showFollow:[4,"show-follow"],showBecomeMember:[4,"show-become-member"],showDonate:[4,"show-donate"],showSendMessage:[4,"show-send-message"],languages:[1],genres:[1],literatureTypes:[1,"literature-types"],pageCreatorName:[8,"page-creator-name"],pageCreatorImage:[8,"page-creator-image"],pageCreationDate:[8,"page-creation-date"]}]]],["p-1e5b0a5e",[[1,"ur-page",{pageTitle:[1,"page-title"],pageCover:[8,"page-cover"],pageCoverFallback:[1,"page-cover-fallback"],followers:[2],showStats:[4,"show-stats"],pageDescription:[8,"page-description"]}]]],["p-6aac1e32",[[1,"ur-select",{label:[1],name:[1],value:[1],placeholder:[1],helper:[1],readonly:[4],disabled:[4],clearable:[4],multiple:[4],endAligned:[4,"end-aligned"],variant:[1],placement:[1],icon:[1],endIcon:[1,"end-icon"],form:[1],items:[16],selectedValue:[32]},null,{value:["valueChanged"]}]]],["p-d72f4ffb",[[1,"ur-user",{userTitle:[1,"user-title"],userCover:[8,"user-cover"],userCoverFallback:[1,"user-cover-fallback"],followers:[2],showStats:[4,"show-stats"],userDescription:[8,"user-description"]}]]],["p-d51bf2a4",[[1,"ur-button-icon",{disabled:[4],loading:[4],variant:[1],icon:[1],selectedIcon:[1,"selected-icon"],selected:[4]}]]],["p-522a3f46",[[1,"ur-checkbox",{disabled:[4],checked:[4]}]]],["p-53183478",[[0,"ur-chip",{label:[1],border:[1],radius:[1],size:[1],backColor:[1,"back-color"],fontColor:[1,"font-color"],loading:[4],disabled:[4]}]]],["p-ccdddced",[[1,"ur-dialog",{description:[1],open:[4],fullscreen:[4],closeOnEsc:[4,"close-on-esc"],closeOnOverlayClick:[4,"close-on-overlay-click"],borderRadius:[1,"border-radius"],openDialog:[64],closeDialog:[64]}]]],["p-b55502c9",[[1,"ur-loader"]]],["p-5bdf98b3",[[1,"ur-locale-filter-button",{count:[2]}]]],["p-2b18a2a6",[[1,"ur-locale-filter-panel",{showHeader:[4,"show-header"],showFooter:[4,"show-footer"],locales:[16]}]]],["p-b16182c0",[[1,"ur-profile",{name:[8],description:[8],location:[8],facebook_url:[8],twitter_url:[8],linkedin_url:[8],email:[8],phone:[8],website:[8],show_follow:[4],show_donate:[4],show_become_member:[4],show_send_message:[4],show_stats:[4],stories_count:[2],views_count:[2],followers_count:[2],writers_count:[2],show_languages:[4],languages:[1],show_genres:[4],genres:[1],show_member_since:[4],member_since:[1]}]]],["p-7737130d",[[1,"ur-radio-button",{disabled:[4],checked:[4],text:[1]}]]],["p-46ebdb1e",[[1,"ur-segment-button",{likeLabel:[1,"like-label"]}]]],["p-f3604f59",[[1,"ur-switch",{disabled:[4],checked:[4]}]]],["p-85180f29",[[1,"ur-tabs",{tabs:[16],panels:[16]}]]],["p-b1e24cdb",[[1,"ur-text-field",{label:[1],placeholder:[1],helper:[1],disabled:[4],variant:[1],value:[1],endIcon:[8,"end-icon"]}]]],["p-6e9d7d8e",[[1,"ur-user-profile"]]],["p-336f78b8",[[1,"ur-avatar",{size:[1],src:[1],name:[1],border:[1],radius:[1]}]]],["p-cbf240ee",[[1,"ur-menu-item",{value:[1],label:[1],disabled:[4]}]]],["p-49b16dba",[[1,"ur-novl",{novlId:[520,"novl-id"],loading:[4],novlTitle:[1,"novl-title"],novlCover:[8,"novl-cover"],novlCoverFallback:[1,"novl-cover-fallback"],likes:[2],views:[2],showStats:[4,"show-stats"],novlDescription:[8,"novl-description"],authorAvatar:[8,"author-avatar"],authorName:[8,"author-name"],published:[4],price:[1],publisherAvatar:[1,"publisher-avatar"],publisherName:[1,"publisher-name"]}]]],["p-2e0cd1ef",[[1,"ur-button-arrow-left"],[1,"ur-button-arrow-right"]]],["p-e7e47ef1",[[1,"ur-button",{disabled:[4],variant:[1],icon:[8],endIcon:[8,"end-icon"]}]]]],e))));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as e,g as r}from"./p-ac3a60fb.js";const o=class{constructor(s){i(this,s),this.intersectionUpdated=t(this,"intersectionUpdated",7),this.onIntersection=async i=>{this.intersectionUpdated.emit(i)},this.novls=[],this.breakpoints={},this.grid={rows:1,fill:"row"},this.slidesPerView="auto",this.spaceBetween="0",this.navigation=!1}componentDidLoad(){const i=this.el.shadowRoot.querySelector("swiper-container");this.navigation&&(this.el.shadowRoot.querySelector("ur-button-arrow-left").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slidePrev()})),this.el.shadowRoot.querySelector("ur-button-arrow-right").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slideNext()})));const t=this.el.shadowRoot.querySelectorAll("ur-novl");this.observer=new IntersectionObserver(this.onIntersection),t.forEach((i=>{this.observer.observe(i)}))}render(){return s(e,{key:"3804c1cb4b528b085791039d448e73c544024dce"},s("div",{key:"da64a552249ee01a891ad7c4458673132a67fcb3",class:"carousel"},this.navigation&&s("ur-button-arrow-left",{key:"b5d1dbbad8bf13898262d257b4cb679687edf84c"}),this.navigation&&s("ur-button-arrow-right",{key:"4220d23cc715db8937b3060f582092d24a3d63f6"}),s("swiper-container",{key:"691c89fd486a0aec9552c8e240618e31daa86ff7","breakpoint-base":"container",grid:this.grid,breakpoints:this.breakpoints,"slides-per-view":this.slidesPerView,"space-between":this.spaceBetween},this.novls.map((i=>s("swiper-slide",null,s("ur-novl",Object.assign({},i))))))))}get el(){return r(this)}};o.style=":host{--swiper-slide-width:100%}:host{display:block;box-sizing:border-box;position:relative}:host .carousel{position:relative}:host swiper-slide{width:var(--swiper-slide-width)}:host ur-button-arrow-left,:host ur-button-arrow-right{position:absolute;top:calc(50% - 34px);left:-17px;z-index:2}:host ur-button-arrow-right{left:auto;right:-17px}@media (min-width: 0px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 321px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 640px){:host swiper-slide{width:calc(90% / 3)}}@media (min-width: 1150px){:host swiper-slide{width:calc(90% / 4)}}@media (min-width: 1770px){:host swiper-slide{width:calc(90% / 5)}}@media (min-width: 2140px){:host swiper-slide{width:calc(90% / 6)}}";export{o as ur_novl_carousel}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as e,g as r}from"./p-ac3a60fb.js";const o=class{constructor(s){i(this,s),this.intersectionUpdated=t(this,"intersectionUpdated",7),this.onIntersection=async i=>{this.intersectionUpdated.emit(i)},this.novls=[],this.breakpoints={},this.grid={rows:1,fill:"row"},this.slidesPerView="auto",this.spaceBetween="0",this.navigation=!1}componentDidLoad(){const i=this.el.shadowRoot.querySelector("swiper-container");this.navigation&&(this.el.shadowRoot.querySelector("ur-button-arrow-left").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slidePrev()})),this.el.shadowRoot.querySelector("ur-button-arrow-right").addEventListener("click",(()=>{var t;null===(t=null==i?void 0:i.swiper)||void 0===t||t.slideNext()})));const t=this.el.shadowRoot.querySelectorAll("ur-novl");this.observer=new IntersectionObserver(this.onIntersection),t.forEach((i=>{this.observer.observe(i)}))}render(){return s(e,{key:"3804c1cb4b528b085791039d448e73c544024dce"},s("div",{key:"da64a552249ee01a891ad7c4458673132a67fcb3",class:"carousel"},this.navigation&&s("ur-button-arrow-left",{key:"b5d1dbbad8bf13898262d257b4cb679687edf84c"}),this.navigation&&s("ur-button-arrow-right",{key:"4220d23cc715db8937b3060f582092d24a3d63f6"}),s("swiper-container",{key:"691c89fd486a0aec9552c8e240618e31daa86ff7","breakpoint-base":"container",grid:this.grid,breakpoints:this.breakpoints,"slides-per-view":this.slidesPerView,"space-between":this.spaceBetween},this.novls.map((i=>s("swiper-slide",null,s("ur-novl",Object.assign({},i))))))))}get el(){return r(this)}};o.style=":host{--swiper-slide-width:100%}:host{display:block;box-sizing:border-box;position:relative}:host .carousel{position:relative}:host swiper-slide{width:var(--swiper-slide-width)}:host ur-button-arrow-left,:host ur-button-arrow-right{position:absolute;top:calc(50% - 34px);left:-17px;z-index:2}:host ur-button-arrow-right{left:auto;right:-17px}@media (min-width: 0px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 321px){:host swiper-slide{width:calc(90% / 2)}}@media (min-width: 640px){:host swiper-slide{width:calc(90% / 3)}}@media (min-width: 1150px){:host swiper-slide{width:calc(90% / 4)}}@media (min-width: 1770px){:host swiper-slide{width:calc(90% / 5)}}@media (min-width: 2140px){:host swiper-slide{width:calc(90% / 6)}}";export{o as ur_novl_carousel}
|