urnovl-web-components 0.0.178 → 0.0.180
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/loader.cjs.js +1 -1
- package/dist/cjs/ur-novl-carousel.cjs.entry.js +1 -2
- package/dist/cjs/ur-page-carousel.cjs.entry.js +89 -0
- package/dist/cjs/ur-page-profile-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-page-profile.cjs.entry.js +1 -1
- package/dist/cjs/ur-page-shared-list-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-page.cjs.entry.js +31 -4
- package/dist/cjs/ur-profile.cjs.entry.js +3 -3
- package/dist/cjs/ur-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ur-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ur-read-mobile-top-app-bar.cjs.entry.js +1 -1
- package/dist/cjs/ur-read-rail-mobile.cjs.entry.js +2 -2
- package/dist/cjs/ur-read-rail.cjs.entry.js +2 -2
- package/dist/cjs/ur-read-top-app-bar.cjs.entry.js +1 -1
- package/dist/cjs/ur-segment-button.cjs.entry.js +1 -1
- package/dist/cjs/ur-select.cjs.entry.js +1 -1
- package/dist/cjs/ur-switch.cjs.entry.js +1 -1
- package/dist/cjs/ur-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-text-field.cjs.entry.js +1 -1
- package/dist/cjs/ur-thumbs-rating.cjs.entry.js +3 -3
- package/dist/cjs/ur-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ur-top-app-bar.cjs.entry.js +2 -2
- package/dist/cjs/ur-user-carousel.cjs.entry.js +89 -0
- package/dist/cjs/ur-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/ur-user.cjs.entry.js +23 -4
- package/dist/cjs/ur-wizard-step.cjs.entry.js +1 -1
- package/dist/cjs/urnovl-web-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ur-novl-carousel/ur-novl-carousel.js +1 -2
- package/dist/collection/components/ur-page/ur-page.css +85 -0
- package/dist/collection/components/ur-page/ur-page.js +138 -12
- package/dist/collection/components/ur-page-carousel/ur-page-carousel.css +66 -0
- package/dist/collection/components/ur-page-carousel/ur-page-carousel.js +285 -0
- package/dist/collection/components/ur-page-profile/ur-page-profile.js +1 -1
- package/dist/collection/components/ur-page-profile-tabs/ur-page-profile-tabs.js +1 -1
- package/dist/collection/components/ur-page-shared-list-tabs/ur-page-shared-list-tabs.js +1 -1
- package/dist/collection/components/ur-profile/ur-profile.js +3 -3
- package/dist/collection/components/ur-radio-button/ur-radio-button.js +1 -1
- package/dist/collection/components/ur-radio-group/ur-radio-group.js +1 -1
- package/dist/collection/components/ur-read-mobile-top-app-bar/ur-read-mobile-top-app-bar.js +1 -1
- package/dist/collection/components/ur-read-rail/ur-read-rail.js +2 -2
- package/dist/collection/components/ur-read-rail-mobile/ur-read-rail-mobile.js +2 -2
- package/dist/collection/components/ur-read-top-app-bar/ur-read-top-app-bar.js +1 -1
- package/dist/collection/components/ur-segment-button/ur-segment-button.js +1 -1
- package/dist/collection/components/ur-select/ur-select.js +1 -1
- package/dist/collection/components/ur-switch/ur-switch.js +1 -1
- package/dist/collection/components/ur-tabs/ur-tabs.js +1 -1
- package/dist/collection/components/ur-text-field/ur-text-field.js +1 -1
- package/dist/collection/components/ur-thumbs-rating/ur-thumbs-rating.js +3 -3
- package/dist/collection/components/ur-tooltip/ur-tooltip.js +1 -1
- package/dist/collection/components/ur-top-app-bar/ur-top-app-bar.js +2 -2
- package/dist/collection/components/ur-user/ur-user.css +87 -1
- package/dist/collection/components/ur-user/ur-user.js +123 -11
- package/dist/collection/components/ur-user-carousel/ur-user-carousel.css +66 -0
- package/dist/collection/components/ur-user-carousel/ur-user-carousel.js +285 -0
- package/dist/collection/components/ur-user-profile/ur-user-profile.js +1 -1
- package/dist/collection/components/ur-wizard-step/ur-wizard-step.js +1 -1
- package/dist/collection/data/page-carousel.js +1 -0
- package/dist/collection/data/page.js +143 -0
- package/dist/collection/data/user-carousel.js +1 -0
- package/dist/collection/data/user.js +136 -0
- package/dist/collection/models/page.js +3 -1
- package/dist/collection/models/user.js +3 -1
- package/dist/collection/stories/Page.stories.js +6 -1
- package/dist/collection/stories/PageCarousel.stories.js +200 -0
- package/dist/collection/stories/User.stories.js +6 -1
- package/dist/collection/stories/UserCarousel.stories.js +200 -0
- package/dist/components/{p-45c5910b.js → p-0b2f377c.js} +1 -1
- package/dist/components/p-216efa36.js +80 -0
- package/dist/components/p-9c39e316.js +88 -0
- package/dist/components/{p-14d78f7d.js → p-d9a9b867.js} +1 -1
- package/dist/components/ur-comment-form.js +1 -1
- package/dist/components/ur-main-menu.js +1 -1
- package/dist/components/ur-novl-carousel.js +1 -2
- package/dist/components/ur-page-carousel.d.ts +11 -0
- package/dist/components/ur-page-carousel.js +135 -0
- package/dist/components/ur-page-profile-tabs.js +1 -1
- package/dist/components/ur-page-profile.js +1 -1
- package/dist/components/ur-page-shared-list-tabs.js +1 -1
- package/dist/components/ur-page.js +1 -55
- package/dist/components/ur-profile.js +3 -3
- package/dist/components/ur-radio-button.js +1 -1
- package/dist/components/ur-radio-group.js +1 -1
- package/dist/components/ur-read-mobile-top-app-bar.js +1 -1
- package/dist/components/ur-read-rail-mobile.js +2 -2
- package/dist/components/ur-read-rail.js +3 -3
- package/dist/components/ur-read-top-app-bar.js +1 -1
- package/dist/components/ur-reader.js +1 -1
- package/dist/components/ur-segment-button.js +1 -1
- package/dist/components/ur-select.js +1 -1
- package/dist/components/ur-switch.js +1 -1
- package/dist/components/ur-tabs.js +1 -1
- package/dist/components/ur-text-field.js +1 -1
- package/dist/components/ur-thumbs-rating.js +3 -3
- package/dist/components/ur-tooltip.js +1 -1
- package/dist/components/ur-top-app-bar.js +2 -2
- package/dist/components/ur-user-carousel.d.ts +11 -0
- package/dist/components/ur-user-carousel.js +135 -0
- package/dist/components/ur-user-profile.js +1 -1
- package/dist/components/ur-user.js +1 -55
- package/dist/components/ur-wizard-step.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ur-novl-carousel.entry.js +1 -2
- package/dist/esm/ur-page-carousel.entry.js +85 -0
- package/dist/esm/ur-page-profile-tabs.entry.js +1 -1
- package/dist/esm/ur-page-profile.entry.js +1 -1
- package/dist/esm/ur-page-shared-list-tabs.entry.js +1 -1
- package/dist/esm/ur-page.entry.js +32 -5
- package/dist/esm/ur-profile.entry.js +3 -3
- package/dist/esm/ur-radio-button.entry.js +1 -1
- package/dist/esm/ur-radio-group.entry.js +1 -1
- package/dist/esm/ur-read-mobile-top-app-bar.entry.js +1 -1
- package/dist/esm/ur-read-rail-mobile.entry.js +2 -2
- package/dist/esm/ur-read-rail.entry.js +2 -2
- package/dist/esm/ur-read-top-app-bar.entry.js +1 -1
- package/dist/esm/ur-segment-button.entry.js +1 -1
- package/dist/esm/ur-select.entry.js +1 -1
- package/dist/esm/ur-switch.entry.js +1 -1
- package/dist/esm/ur-tabs.entry.js +1 -1
- package/dist/esm/ur-text-field.entry.js +1 -1
- package/dist/esm/ur-thumbs-rating.entry.js +3 -3
- package/dist/esm/ur-tooltip.entry.js +1 -1
- package/dist/esm/ur-top-app-bar.entry.js +2 -2
- package/dist/esm/ur-user-carousel.entry.js +85 -0
- package/dist/esm/ur-user-profile.entry.js +1 -1
- package/dist/esm/ur-user.entry.js +24 -5
- package/dist/esm/ur-wizard-step.entry.js +1 -1
- package/dist/esm/urnovl-web-components.js +1 -1
- package/dist/types/components/ur-page/ur-page.d.ts +14 -3
- package/dist/types/components/ur-page-carousel/ur-page-carousel.d.ts +26 -0
- package/dist/types/components/ur-user/ur-user.d.ts +13 -3
- package/dist/types/components/ur-user-carousel/ur-user-carousel.d.ts +26 -0
- package/dist/types/components.d.ts +130 -12
- package/dist/types/data/page-carousel.d.ts +20 -0
- package/dist/types/data/user-carousel.d.ts +20 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/page.d.ts +16 -2
- package/dist/types/models/user.d.ts +11 -1
- package/dist/types/stories/Page.stories.d.ts +53 -9
- package/dist/types/stories/PageCarousel.stories.d.ts +168 -0
- package/dist/types/stories/User.stories.d.ts +49 -5
- package/dist/types/stories/UserCarousel.stories.d.ts +168 -0
- package/dist/urnovl-web-components/{p-375956f0.entry.js → p-08764dd8.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-10912fec.entry.js → p-0c61a885.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-a3d16fe2.entry.js → p-0da124b7.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-b0bf85eb.entry.js → p-102be018.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-3196a408.entry.js → p-12a6f1cf.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-9c7d4900.entry.js → p-148ae70b.entry.js} +1 -1
- package/{www/build/p-d2432037.entry.js → dist/urnovl-web-components/p-224d666f.entry.js} +2 -2
- package/{www/build/p-f3ba1016.entry.js → dist/urnovl-web-components/p-34818734.entry.js} +1 -1
- package/{www/build/p-013a389e.entry.js → dist/urnovl-web-components/p-3bfcdeb8.entry.js} +1 -1
- package/dist/urnovl-web-components/p-40cff2c9.entry.js +1 -0
- package/dist/urnovl-web-components/{p-236bde2a.entry.js → p-516d9012.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-b8de596d.entry.js → p-60392976.entry.js} +1 -1
- package/dist/urnovl-web-components/p-66d81d57.entry.js +1 -0
- package/dist/urnovl-web-components/{p-48405e5d.entry.js → p-7a9d23d4.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-5507da43.entry.js → p-7ae5d458.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-fa572f09.entry.js → p-7c1a3823.entry.js} +1 -1
- package/{www/build/p-df3b2cfe.entry.js → dist/urnovl-web-components/p-7d6276a7.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-e779e006.entry.js → p-88a2c82d.entry.js} +1 -1
- package/dist/urnovl-web-components/p-8b4e64af.entry.js +1 -0
- package/dist/urnovl-web-components/p-a790a471.entry.js +1 -0
- package/dist/urnovl-web-components/{p-947da621.entry.js → p-b0604671.entry.js} +1 -1
- package/dist/urnovl-web-components/p-bb47ae74.entry.js +1 -0
- package/dist/urnovl-web-components/{p-428bd47e.entry.js → p-c47eb26c.entry.js} +1 -1
- package/dist/urnovl-web-components/p-e67bdc6e.entry.js +1 -0
- package/dist/urnovl-web-components/{p-34af45c0.entry.js → p-f34d47d5.entry.js} +1 -1
- package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-375956f0.entry.js → p-08764dd8.entry.js} +1 -1
- package/www/build/{p-10912fec.entry.js → p-0c61a885.entry.js} +1 -1
- package/www/build/{p-a3d16fe2.entry.js → p-0da124b7.entry.js} +1 -1
- package/www/build/{p-b0bf85eb.entry.js → p-102be018.entry.js} +1 -1
- package/www/build/{p-3196a408.entry.js → p-12a6f1cf.entry.js} +1 -1
- package/www/build/{p-9c7d4900.entry.js → p-148ae70b.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-d2432037.entry.js → www/build/p-224d666f.entry.js} +2 -2
- package/www/build/p-232081b1.js +1 -0
- package/{dist/urnovl-web-components/p-f3ba1016.entry.js → www/build/p-34818734.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-013a389e.entry.js → www/build/p-3bfcdeb8.entry.js} +1 -1
- package/www/build/p-40cff2c9.entry.js +1 -0
- package/www/build/{p-236bde2a.entry.js → p-516d9012.entry.js} +1 -1
- package/www/build/{p-b8de596d.entry.js → p-60392976.entry.js} +1 -1
- package/www/build/p-66d81d57.entry.js +1 -0
- package/www/build/{p-48405e5d.entry.js → p-7a9d23d4.entry.js} +1 -1
- package/www/build/{p-5507da43.entry.js → p-7ae5d458.entry.js} +1 -1
- package/www/build/{p-fa572f09.entry.js → p-7c1a3823.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-df3b2cfe.entry.js → www/build/p-7d6276a7.entry.js} +1 -1
- package/www/build/{p-e779e006.entry.js → p-88a2c82d.entry.js} +1 -1
- package/www/build/p-8b4e64af.entry.js +1 -0
- package/www/build/p-a790a471.entry.js +1 -0
- package/www/build/{p-947da621.entry.js → p-b0604671.entry.js} +1 -1
- package/www/build/p-bb47ae74.entry.js +1 -0
- package/www/build/{p-428bd47e.entry.js → p-c47eb26c.entry.js} +1 -1
- package/www/build/p-e67bdc6e.entry.js +1 -0
- package/www/build/{p-34af45c0.entry.js → p-f34d47d5.entry.js} +1 -1
- package/www/build/urnovl-web-components.esm.js +1 -1
- package/dist/urnovl-web-components/p-0c667af5.entry.js +0 -1
- package/dist/urnovl-web-components/p-432cc5f2.entry.js +0 -1
- package/dist/urnovl-web-components/p-68391ed7.entry.js +0 -1
- package/dist/urnovl-web-components/p-9f113e3a.entry.js +0 -1
- package/www/build/p-01a838b5.js +0 -1
- package/www/build/p-0c667af5.entry.js +0 -1
- package/www/build/p-432cc5f2.entry.js +0 -1
- package/www/build/p-68391ed7.entry.js +0 -1
- package/www/build/p-9f113e3a.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"ur-main-menu.cjs\",[[1,\"ur-main-menu\",{\"opened\":[4],\"loggedIn\":[4,\"logged-in\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"],\"userAvatar\":[1,\"user-avatar\"],\"badgeCount\":[2,\"badge-count\"],\"termsText\":[1,\"terms-text\"],\"rulesText\":[1,\"rules-text\"],\"privacyText\":[1,\"privacy-text\"],\"paymentText\":[1,\"payment-text\"],\"acceptableUseText\":[1,\"acceptable-use-text\"],\"partnershipText\":[1,\"partnership-text\"],\"homeText\":[1,\"home-text\"],\"storiesText\":[1,\"stories-text\"],\"pagesText\":[1,\"pages-text\"],\"competitionsText\":[1,\"competitions-text\"],\"notificationText\":[1,\"notification-text\"],\"facebookText\":[1,\"facebook-text\"],\"xText\":[1,\"x-text\"],\"discordText\":[1,\"discord-text\"],\"contactUsText\":[1,\"contact-us-text\"],\"signUpText\":[1,\"sign-up-text\"],\"premiumText\":[1,\"premium-text\"],\"whatsNewText\":[1,\"whats-new-text\"],\"faqsText\":[1,\"faqs-text\"],\"currentRoute\":[1,\"current-route\"],\"notificationCenterOpened\":[4,\"notification-center-opened\"],\"expanded\":[32],\"parentHeight\":[32],\"updateCounter\":[32]},null,{\"opened\":[\"watchOpenedHandler\"],\"userName\":[\"watchUserNameHandler\"],\"userRole\":[\"watchUserRoleHandler\"],\"userAvatar\":[\"watchUserAvatarHandler\"],\"badgeCount\":[\"watchBadgeCountHandler\"],\"currentRoute\":[\"watchCurrentRouteHandler\"],\"notificationCenterOpened\":[\"watchNotificationCenterOpenedHandler\"]}]]],[\"ur-comment-form.cjs\",[[1,\"ur-comment-form\",{\"user\":[16],\"isServer\":[4,\"is-server\"],\"placeholder\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"disabled\":[4],\"variant\":[1],\"formState\":[32]}]]],[\"ur-main-desktop-top-app-bar.cjs\",[[1,\"ur-main-desktop-top-app-bar\",{\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"fontColor\":[1,\"font-color\"],\"quillText\":[1,\"quill-text\"],\"deviceVariant\":[1,\"device-variant\"],\"searchText\":[1,\"search-text\"],\"quillCount\":[2,\"quill-count\"]}]]],[\"ur-novl-carousel.cjs\",[[1,\"ur-novl-carousel\",{\"novls\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addNovls\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-page-profile.cjs\",[[1,\"ur-page-profile\",{\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"pageCreatedText\":[1,\"page-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"websiteText\":[1,\"website-text\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isPageOwner\":[4,\"is-page-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"pageType\":[1,\"page-type\"],\"pageCreationDate\":[8,\"page-creation-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"membersText\":[1,\"members-text\"],\"followText\":[1,\"follow-text\"],\"becomeMemberText\":[1,\"become-member-text\"],\"inviteMembersText\":[1,\"invite-members-text\"],\"donateText\":[1,\"donate-text\"],\"sendMessageText\":[1,\"send-message-text\"]}]]],[\"ur-read-rail.cjs\",[[1,\"ur-read-rail\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[2],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"mode\":[1],\"isFollowed\":[4,\"is-followed\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isPaidChapter\":[4,\"is-paid-chapter\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"isHostSmall\":[4,\"is-host-small\"],\"isVisible\":[4,\"is-visible\"],\"isLiked\":[32],\"isDisliked\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isPaidChapter\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isHostSmall\":[\"handlePropChange\",\"handleHostSmallChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-reader.cjs\",[[1,\"ur-reader\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"loading\":[4],\"chapterLocked\":[4,\"chapter-locked\"],\"storyTitle\":[1,\"story-title\"],\"chapterTitle\":[1,\"chapter-title\"],\"chapterContent\":[1,\"chapter-content\"],\"fontSize\":[1,\"font-size\"],\"chapterSequence\":[2,\"chapter-sequence\"],\"fontType\":[1,\"font-type\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"minutesText\":[1,\"minutes-text\"],\"likes\":[1],\"comments\":[2],\"dislike\":[1],\"donate\":[1],\"share\":[1],\"isVisible\":[4,\"is-visible\"],\"readingTimePerWord\":[2,\"reading-time-per-word\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"hasPreviousChapter\":[4,\"has-previous-chapter\"],\"hasNextChapter\":[4,\"has-next-chapter\"],\"lockedMessage\":[1,\"locked-message\"],\"nextChapterText\":[1,\"next-chapter-text\"],\"previousChapterText\":[1,\"previous-chapter-text\"],\"unlockButtonLabel\":[1,\"unlock-button-label\"],\"isSmallContainer\":[32],\"baseFontSize\":[32],\"fontStyles\":[32],\"isHostSmall\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"storyTitle\":[\"handlePropChange\"],\"chapterTitle\":[\"handlePropChange\"],\"chapterContent\":[\"handlePropChange\"],\"fontSize\":[\"handlePropChange\"],\"fontType\":[\"handlePropChange\"],\"loading\":[\"handlePropChange\"],\"chapterLocked\":[\"handlePropChange\"],\"chapterSequence\":[\"handlePropChange\"],\"hasPreviousChapter\":[\"handlePropChange\"],\"hasNextChapter\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-read-rail-mobile.cjs\",[[1,\"ur-read-rail-mobile\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[1],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"isFollowed\":[4,\"is-followed\"],\"isVisible\":[4,\"is-visible\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-checkbox-group.cjs\",[[1,\"ur-checkbox-group\",{\"name\":[1],\"values\":[1040],\"required\":[4],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"maxSelectable\":[2,\"max-selectable\"],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-hero.cjs\",[[1,\"ur-hero\",{\"heroTitle\":[1,\"hero-title\"],\"heroSubtitle\":[1,\"hero-subtitle\"],\"ctaText\":[1,\"cta-text\"],\"backgroundImage\":[1,\"background-image\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"backgroundJustification\":[1,\"background-justification\"],\"backgroundAlignment\":[1,\"background-alignment\"],\"heroTitleColor\":[1,\"hero-title-color\"],\"heroSubtitleColor\":[1,\"hero-subtitle-color\"],\"widthClass\":[32]}]]],[\"ur-locale-filter-panel.cjs\",[[1,\"ur-locale-filter-panel\",{\"showHeader\":[4,\"show-header\"],\"showFooter\":[4,\"show-footer\"],\"locales\":[16],\"disabledLocales\":[16],\"mutableLocales\":[32]}]]],[\"ur-page.cjs\",[[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\"]}]]],[\"ur-read-mobile-top-app-bar.cjs\",[[1,\"ur-read-mobile-top-app-bar\",{\"variant\":[1],\"headerTitle\":[1,\"header-title\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-read-top-app-bar.cjs\",[[1,\"ur-read-top-app-bar\",{\"variant\":[1],\"novelTitle\":[1,\"novel-title\"],\"isChapterOwner\":[4,\"is-chapter-owner\"],\"deviceVariant\":[1,\"device-variant\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"topValue\":[32]}]]],[\"ur-thumbs-rating.cjs\",[[1,\"ur-thumbs-rating\",{\"likesCount\":[2,\"likes-count\"],\"dislikeText\":[1,\"dislike-text\"],\"isLiked\":[1028,\"is-liked\"],\"isDisliked\":[1028,\"is-disliked\"]}]]],[\"ur-top-app-bar.cjs\",[[1,\"ur-top-app-bar\",{\"headerTitle\":[1,\"header-title\"],\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-user.cjs\",[[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\"]}]]],[\"ur-wizard-step.cjs\",[[1,\"ur-wizard-step\",{\"step\":[2],\"stepTitle\":[1,\"step-title\"],\"subtitle\":[1],\"showPrevious\":[4,\"show-previous\"],\"showNext\":[4,\"show-next\"],\"previousButtonTitle\":[1,\"previous-button-title\"],\"nextButtonTitle\":[1,\"next-button-title\"],\"isSkippable\":[4,\"is-skippable\"],\"isValid\":[1028,\"is-valid\"],\"validationMessage\":[1,\"validation-message\"],\"customClass\":[1,\"custom-class\"],\"submitStepForm\":[64],\"resetStepForm\":[64]},[[0,\"formValid\",\"handleFormValid\"],[0,\"formInvalid\",\"handleFormInvalid\"]]]]],[\"ur-bottom-sheet.cjs\",[[1,\"ur-bottom-sheet\",{\"open\":[4],\"selectedDetent\":[1,\"selected-detent\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"currentDetent\":[32],\"dragPosition\":[32],\"isVisible\":[32],\"showSheet\":[64],\"hideSheet\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"ur-dialog.cjs\",[[1,\"ur-dialog\",{\"description\":[1],\"open\":[4],\"fullscreen\":[4],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showHeader\":[4,\"show-header\"],\"variant\":[1],\"borderRadius\":[1,\"border-radius\"],\"openDialog\":[64],\"closeDialog\":[64]}]]],[\"ur-form.cjs\",[[1,\"ur-form\",{\"submitForm\":[64],\"resetForm\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"errorStateChanged\",\"handleErrorStateChanged\"]]]]],[\"ur-linear-progress.cjs\",[[1,\"ur-linear-progress\",{\"value\":[2],\"max\":[514]},null,{\"value\":[\"validateValue\"]}]]],[\"ur-list-subheader.cjs\",[[1,\"ur-list-subheader\",{\"text\":[1]}]]],[\"ur-loader.cjs\",[[1,\"ur-loader\"]]],[\"ur-locale-filter-button.cjs\",[[1,\"ur-locale-filter-button\",{\"count\":[2],\"selected\":[4]}]]],[\"ur-menu-item.cjs\",[[1,\"ur-menu-item\",{\"value\":[1],\"label\":[1],\"disabled\":[4],\"selected\":[4],\"size\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"fullWidth\":[4,\"full-width\"],\"leftAligned\":[4,\"left-aligned\"],\"heightNumber\":[514,\"height-number\"],\"isHovered\":[32]},null,{\"selected\":[\"selectedChanged\"],\"disabled\":[\"disabledChanged\"],\"heightNumber\":[\"heightNumberChanged\"]}]]],[\"ur-navigation-drawer.cjs\",[[1,\"ur-navigation-drawer\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contained\":[4],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-navigation-drawer-global.cjs\",[[1,\"ur-navigation-drawer-global\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contentHeight\":[32],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-page-profile-tabs.cjs\",[[1,\"ur-page-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-page-shared-list-tabs.cjs\",[[1,\"ur-page-shared-list-tabs\",{\"activeTab\":[1,\"active-tab\"],\"followersTabText\":[1,\"followers-tab-text\"],\"membersTabText\":[1,\"members-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-profile.cjs\",[[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]}]]],[\"ur-radio-button.cjs\",[[1,\"ur-radio-button\",{\"disabled\":[4],\"checked\":[4],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-radio-group.cjs\",[[1,\"ur-radio-group\",{\"name\":[1],\"value\":[1025],\"required\":[4],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-segment-button.cjs\",[[1,\"ur-segment-button\",{\"likeLabel\":[1,\"like-label\"]}]]],[\"ur-select.cjs\",[[1,\"ur-select\",{\"value\":[1],\"name\":[1],\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"variant\":[1],\"usage\":[1],\"multiple\":[4],\"clearable\":[4],\"disabled\":[4],\"required\":[4],\"readonly\":[4],\"size\":[1],\"placement\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"flex\":[4],\"suffix\":[1],\"clearIcon\":[1,\"clear-icon\"]},null,{\"value\":[\"handleValueChange\"]}]]],[\"ur-switch.cjs\",[[1,\"ur-switch\",{\"disabled\":[4],\"checked\":[4]}]]],[\"ur-tabs.cjs\",[[1,\"ur-tabs\",{\"tabs\":[16],\"panels\":[16]}]]],[\"ur-user-profile.cjs\",[[1,\"ur-user-profile\"]]],[\"ur-checkbox.cjs\",[[1,\"ur-checkbox\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-chip.cjs\",[[1,\"ur-chip\",{\"label\":[1],\"border\":[1],\"radius\":[1],\"size\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"loading\":[4],\"disabled\":[4],\"clickable\":[4]}]]],[\"ur-novl.cjs\",[[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\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-text-field.cjs\",[[1,\"ur-text-field\",{\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"disabled\":[4],\"required\":[4],\"variant\":[1],\"value\":[1025],\"name\":[1],\"endIcon\":[1,\"end-icon\"],\"rows\":[2],\"autosize\":[4],\"minRows\":[2,\"min-rows\"],\"maxRows\":[2,\"max-rows\"],\"minlength\":[2],\"maxlength\":[2],\"counter\":[4],\"type\":[1],\"pattern\":[1],\"min\":[8],\"max\":[8],\"step\":[8],\"error\":[1540],\"errorMessage\":[1537,\"error-message\"]}]]],[\"ur-button-arrow-left_2.cjs\",[[1,\"ur-button-arrow-left\",{\"disabled\":[4]}],[1,\"ur-button-arrow-right\",{\"disabled\":[4]}]]],[\"ur-list_3.cjs\",[[1,\"ur-menu-profile\",{\"userAvatar\":[1,\"user-avatar\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"]}],[1,\"ur-list\"],[1,\"ur-list-item\",{\"content\":[1],\"disabled\":[4],\"active\":[4],\"nonclickable\":[4],\"rounded\":[4],\"alignment\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"description\":[1],\"href\":[1],\"target\":[1],\"rel\":[1]}]]],[\"ur-logo.cjs\",[[1,\"ur-logo\",{\"width\":[1],\"height\":[1],\"color\":[1],\"rotation\":[2],\"opacity\":[2]}]]],[\"ur-tooltip.cjs\",[[1,\"ur-tooltip\",{\"content\":[1],\"variant\":[1],\"placement\":[1],\"openDelay\":[2,\"open-delay\"],\"closeDelay\":[2,\"close-delay\"],\"trigger\":[1],\"colorScheme\":[1,\"color-scheme\"],\"disabled\":[4],\"isVisible\":[32]}]]],[\"ur-avatar.cjs\",[[1,\"ur-avatar\",{\"size\":[1],\"src\":[1],\"name\":[1],\"border\":[1],\"radius\":[1]}]]],[\"ur-button.cjs\",[[1,\"ur-button\",{\"disabled\":[4],\"variant\":[1],\"icon\":[8],\"endIcon\":[8,\"end-icon\"],\"fullWidth\":[4,\"full-width\"],\"loading\":[4],\"fontColor\":[1,\"font-color\"],\"buttonHeight\":[1,\"button-height\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-button-icon.cjs\",[[1,\"ur-button-icon\",{\"disabled\":[4],\"loading\":[4],\"variant\":[1],\"icon\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"selected\":[4],\"active\":[4],\"borderRadius\":[1,\"border-radius\"],\"buttonWidth\":[1,\"button-width\"],\"buttonHeight\":[1,\"button-height\"],\"fontColor\":[1,\"font-color\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"ur-main-menu.cjs\",[[1,\"ur-main-menu\",{\"opened\":[4],\"loggedIn\":[4,\"logged-in\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"],\"userAvatar\":[1,\"user-avatar\"],\"badgeCount\":[2,\"badge-count\"],\"termsText\":[1,\"terms-text\"],\"rulesText\":[1,\"rules-text\"],\"privacyText\":[1,\"privacy-text\"],\"paymentText\":[1,\"payment-text\"],\"acceptableUseText\":[1,\"acceptable-use-text\"],\"partnershipText\":[1,\"partnership-text\"],\"homeText\":[1,\"home-text\"],\"storiesText\":[1,\"stories-text\"],\"pagesText\":[1,\"pages-text\"],\"competitionsText\":[1,\"competitions-text\"],\"notificationText\":[1,\"notification-text\"],\"facebookText\":[1,\"facebook-text\"],\"xText\":[1,\"x-text\"],\"discordText\":[1,\"discord-text\"],\"contactUsText\":[1,\"contact-us-text\"],\"signUpText\":[1,\"sign-up-text\"],\"premiumText\":[1,\"premium-text\"],\"whatsNewText\":[1,\"whats-new-text\"],\"faqsText\":[1,\"faqs-text\"],\"currentRoute\":[1,\"current-route\"],\"notificationCenterOpened\":[4,\"notification-center-opened\"],\"expanded\":[32],\"parentHeight\":[32],\"updateCounter\":[32]},null,{\"opened\":[\"watchOpenedHandler\"],\"userName\":[\"watchUserNameHandler\"],\"userRole\":[\"watchUserRoleHandler\"],\"userAvatar\":[\"watchUserAvatarHandler\"],\"badgeCount\":[\"watchBadgeCountHandler\"],\"currentRoute\":[\"watchCurrentRouteHandler\"],\"notificationCenterOpened\":[\"watchNotificationCenterOpenedHandler\"]}]]],[\"ur-comment-form.cjs\",[[1,\"ur-comment-form\",{\"user\":[16],\"isServer\":[4,\"is-server\"],\"placeholder\":[1],\"maxLength\":[2,\"max-length\"],\"minLength\":[2,\"min-length\"],\"disabled\":[4],\"variant\":[1],\"formState\":[32]}]]],[\"ur-page-carousel.cjs\",[[1,\"ur-page-carousel\",{\"pages\":[16],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4]}]]],[\"ur-user-carousel.cjs\",[[1,\"ur-user-carousel\",{\"users\":[16],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4]}]]],[\"ur-main-desktop-top-app-bar.cjs\",[[1,\"ur-main-desktop-top-app-bar\",{\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"fontColor\":[1,\"font-color\"],\"quillText\":[1,\"quill-text\"],\"deviceVariant\":[1,\"device-variant\"],\"searchText\":[1,\"search-text\"],\"quillCount\":[2,\"quill-count\"]}]]],[\"ur-novl-carousel.cjs\",[[1,\"ur-novl-carousel\",{\"novls\":[16],\"loading\":[32],\"breakpoints\":[16],\"grid\":[16],\"slidesPerView\":[8,\"slides-per-view\"],\"spaceBetween\":[8,\"space-between\"],\"navigation\":[4],\"destroyListeners\":[4,\"destroy-listeners\"],\"debug\":[4],\"disabledPrev\":[32],\"disabledNext\":[32],\"addNovls\":[64],\"updateNovlsByIndex\":[64],\"reset\":[64]}]]],[\"ur-page-profile.cjs\",[[1,\"ur-page-profile\",{\"platform\":[1],\"avatar\":[8],\"name\":[8],\"about\":[8],\"location\":[8],\"facebook_url\":[8],\"twitter_url\":[8],\"linkedin_url\":[8],\"email\":[8],\"phone\":[8],\"website\":[8],\"stories\":[2],\"views\":[2],\"pageCreatedText\":[1,\"page-created-text\"],\"following\":[2],\"followers\":[2],\"members\":[2],\"showFollow\":[4,\"show-follow\"],\"websiteText\":[1,\"website-text\"],\"showBecomeMember\":[4,\"show-become-member\"],\"showDonate\":[4,\"show-donate\"],\"showSendMessage\":[4,\"show-send-message\"],\"languages\":[1],\"genres\":[1],\"literatureTypes\":[1,\"literature-types\"],\"isPageOwner\":[4,\"is-page-owner\"],\"pageCreatorName\":[8,\"page-creator-name\"],\"pageCreatorImage\":[8,\"page-creator-image\"],\"pageType\":[1,\"page-type\"],\"pageCreationDate\":[8,\"page-creation-date\"],\"createdByText\":[1,\"created-by-text\"],\"literatureTypesText\":[1,\"literature-types-text\"],\"genresText\":[1,\"genres-text\"],\"languagesText\":[1,\"languages-text\"],\"viewsText\":[1,\"views-text\"],\"storiesText\":[1,\"stories-text\"],\"followersText\":[1,\"followers-text\"],\"membersText\":[1,\"members-text\"],\"followText\":[1,\"follow-text\"],\"becomeMemberText\":[1,\"become-member-text\"],\"inviteMembersText\":[1,\"invite-members-text\"],\"donateText\":[1,\"donate-text\"],\"sendMessageText\":[1,\"send-message-text\"]}]]],[\"ur-read-rail.cjs\",[[1,\"ur-read-rail\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[2],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"mode\":[1],\"isFollowed\":[4,\"is-followed\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isPaidChapter\":[4,\"is-paid-chapter\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"isHostSmall\":[4,\"is-host-small\"],\"isVisible\":[4,\"is-visible\"],\"isLiked\":[32],\"isDisliked\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isPaidChapter\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isHostSmall\":[\"handlePropChange\",\"handleHostSmallChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-reader.cjs\",[[1,\"ur-reader\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"loading\":[4],\"chapterLocked\":[4,\"chapter-locked\"],\"storyTitle\":[1,\"story-title\"],\"chapterTitle\":[1,\"chapter-title\"],\"chapterContent\":[1,\"chapter-content\"],\"fontSize\":[1,\"font-size\"],\"chapterSequence\":[2,\"chapter-sequence\"],\"fontType\":[1,\"font-type\"],\"readingDurationText\":[1,\"reading-duration-text\"],\"minutesText\":[1,\"minutes-text\"],\"likes\":[1],\"comments\":[2],\"dislike\":[1],\"donate\":[1],\"share\":[1],\"isVisible\":[4,\"is-visible\"],\"readingTimePerWord\":[2,\"reading-time-per-word\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"],\"hasPreviousChapter\":[4,\"has-previous-chapter\"],\"hasNextChapter\":[4,\"has-next-chapter\"],\"lockedMessage\":[1,\"locked-message\"],\"nextChapterText\":[1,\"next-chapter-text\"],\"previousChapterText\":[1,\"previous-chapter-text\"],\"unlockButtonLabel\":[1,\"unlock-button-label\"],\"isSmallContainer\":[32],\"baseFontSize\":[32],\"fontStyles\":[32],\"isHostSmall\":[32]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"storyTitle\":[\"handlePropChange\"],\"chapterTitle\":[\"handlePropChange\"],\"chapterContent\":[\"handlePropChange\"],\"fontSize\":[\"handlePropChange\"],\"fontType\":[\"handlePropChange\"],\"loading\":[\"handlePropChange\"],\"chapterLocked\":[\"handlePropChange\"],\"chapterSequence\":[\"handlePropChange\"],\"hasPreviousChapter\":[\"handlePropChange\"],\"hasNextChapter\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-read-rail-mobile.cjs\",[[1,\"ur-read-rail-mobile\",{\"avatarSrc\":[1,\"avatar-src\"],\"avatarName\":[1,\"avatar-name\"],\"likes\":[1],\"dislike\":[1],\"comments\":[2],\"donate\":[1],\"share\":[1],\"isFollowed\":[4,\"is-followed\"],\"isVisible\":[4,\"is-visible\"],\"isOwnChapter\":[4,\"is-own-chapter\"],\"isChapterPurchased\":[4,\"is-chapter-purchased\"],\"isNovlDeleted\":[4,\"is-novl-deleted\"],\"isAuthorFollowed\":[4,\"is-author-followed\"],\"isAuthorPro\":[4,\"is-author-pro\"],\"isDonationsEnabled\":[4,\"is-donations-enabled\"]},null,{\"avatarSrc\":[\"handlePropChange\"],\"avatarName\":[\"handlePropChange\"],\"likes\":[\"handlePropChange\"],\"dislike\":[\"handlePropChange\"],\"comments\":[\"handlePropChange\"],\"donate\":[\"handlePropChange\"],\"share\":[\"handlePropChange\"],\"isVisible\":[\"handlePropChange\"],\"isOwnChapter\":[\"handlePropChange\"],\"isChapterPurchased\":[\"handlePropChange\"],\"isNovlDeleted\":[\"handlePropChange\"],\"isAuthorFollowed\":[\"handlePropChange\"],\"isAuthorPro\":[\"handlePropChange\"],\"isDonationsEnabled\":[\"handlePropChange\"]}]]],[\"ur-checkbox-group.cjs\",[[1,\"ur-checkbox-group\",{\"name\":[1],\"values\":[1040],\"required\":[4],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"maxSelectable\":[2,\"max-selectable\"],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-hero.cjs\",[[1,\"ur-hero\",{\"heroTitle\":[1,\"hero-title\"],\"heroSubtitle\":[1,\"hero-subtitle\"],\"ctaText\":[1,\"cta-text\"],\"backgroundImage\":[1,\"background-image\"],\"backgroundColor\":[1,\"background-color\"],\"layout\":[1],\"backgroundJustification\":[1,\"background-justification\"],\"backgroundAlignment\":[1,\"background-alignment\"],\"heroTitleColor\":[1,\"hero-title-color\"],\"heroSubtitleColor\":[1,\"hero-subtitle-color\"],\"widthClass\":[32]}]]],[\"ur-locale-filter-panel.cjs\",[[1,\"ur-locale-filter-panel\",{\"showHeader\":[4,\"show-header\"],\"showFooter\":[4,\"show-footer\"],\"locales\":[16],\"disabledLocales\":[16],\"mutableLocales\":[32]}]]],[\"ur-read-mobile-top-app-bar.cjs\",[[1,\"ur-read-mobile-top-app-bar\",{\"variant\":[1],\"headerTitle\":[1,\"header-title\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-read-top-app-bar.cjs\",[[1,\"ur-read-top-app-bar\",{\"variant\":[1],\"novelTitle\":[1,\"novel-title\"],\"isChapterOwner\":[4,\"is-chapter-owner\"],\"deviceVariant\":[1,\"device-variant\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"],\"topValue\":[32]}]]],[\"ur-thumbs-rating.cjs\",[[1,\"ur-thumbs-rating\",{\"likesCount\":[2,\"likes-count\"],\"dislikeText\":[1,\"dislike-text\"],\"isLiked\":[1028,\"is-liked\"],\"isDisliked\":[1028,\"is-disliked\"]}]]],[\"ur-top-app-bar.cjs\",[[1,\"ur-top-app-bar\",{\"headerTitle\":[1,\"header-title\"],\"variant\":[1],\"logoRotation\":[2,\"logo-rotation\"],\"logoOpacity\":[2,\"logo-opacity\"],\"scrollBehavior\":[1,\"scroll-behavior\"],\"scrollThreshold\":[2,\"scroll-threshold\"]}]]],[\"ur-wizard-step.cjs\",[[1,\"ur-wizard-step\",{\"step\":[2],\"stepTitle\":[1,\"step-title\"],\"subtitle\":[1],\"showPrevious\":[4,\"show-previous\"],\"showNext\":[4,\"show-next\"],\"previousButtonTitle\":[1,\"previous-button-title\"],\"nextButtonTitle\":[1,\"next-button-title\"],\"isSkippable\":[4,\"is-skippable\"],\"isValid\":[1028,\"is-valid\"],\"validationMessage\":[1,\"validation-message\"],\"customClass\":[1,\"custom-class\"],\"submitStepForm\":[64],\"resetStepForm\":[64]},[[0,\"formValid\",\"handleFormValid\"],[0,\"formInvalid\",\"handleFormInvalid\"]]]]],[\"ur-bottom-sheet.cjs\",[[1,\"ur-bottom-sheet\",{\"open\":[4],\"selectedDetent\":[1,\"selected-detent\"],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"currentDetent\":[32],\"dragPosition\":[32],\"isVisible\":[32],\"showSheet\":[64],\"hideSheet\":[64]},null,{\"open\":[\"watchOpen\"]}]]],[\"ur-dialog.cjs\",[[1,\"ur-dialog\",{\"description\":[1],\"open\":[4],\"fullscreen\":[4],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"showHeader\":[4,\"show-header\"],\"variant\":[1],\"borderRadius\":[1,\"border-radius\"],\"openDialog\":[64],\"closeDialog\":[64]}]]],[\"ur-form.cjs\",[[1,\"ur-form\",{\"submitForm\":[64],\"resetForm\":[64]},[[0,\"valueChanged\",\"handleValueChanged\"],[0,\"errorStateChanged\",\"handleErrorStateChanged\"]]]]],[\"ur-linear-progress.cjs\",[[1,\"ur-linear-progress\",{\"value\":[2],\"max\":[514]},null,{\"value\":[\"validateValue\"]}]]],[\"ur-list-subheader.cjs\",[[1,\"ur-list-subheader\",{\"text\":[1]}]]],[\"ur-loader.cjs\",[[1,\"ur-loader\"]]],[\"ur-locale-filter-button.cjs\",[[1,\"ur-locale-filter-button\",{\"count\":[2],\"selected\":[4]}]]],[\"ur-menu-item.cjs\",[[1,\"ur-menu-item\",{\"value\":[1],\"label\":[1],\"disabled\":[4],\"selected\":[4],\"size\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"fullWidth\":[4,\"full-width\"],\"leftAligned\":[4,\"left-aligned\"],\"heightNumber\":[514,\"height-number\"],\"isHovered\":[32]},null,{\"selected\":[\"selectedChanged\"],\"disabled\":[\"disabledChanged\"],\"heightNumber\":[\"heightNumberChanged\"]}]]],[\"ur-navigation-drawer.cjs\",[[1,\"ur-navigation-drawer\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contained\":[4],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-navigation-drawer-global.cjs\",[[1,\"ur-navigation-drawer-global\",{\"open\":[4],\"placement\":[1],\"closeOnEsc\":[4,\"close-on-esc\"],\"closeOnOverlayClick\":[4,\"close-on-overlay-click\"],\"contentHeight\":[32],\"openDrawer\":[64],\"closeDrawer\":[64]}]]],[\"ur-page-profile-tabs.cjs\",[[1,\"ur-page-profile-tabs\",{\"activeTab\":[1,\"active-tab\"],\"storiesTabText\":[1,\"stories-tab-text\"],\"libraryTabText\":[1,\"library-tab-text\"],\"transactionsTabText\":[1,\"transactions-tab-text\"],\"statisticsTabText\":[1,\"statistics-tab-text\"],\"settingsTabText\":[1,\"settings-tab-text\"],\"aboutTabText\":[1,\"about-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-page-shared-list-tabs.cjs\",[[1,\"ur-page-shared-list-tabs\",{\"activeTab\":[1,\"active-tab\"],\"followersTabText\":[1,\"followers-tab-text\"],\"membersTabText\":[1,\"members-tab-text\"],\"isOwner\":[4,\"is-owner\"],\"fullWidthTabs\":[4,\"full-width-tabs\"],\"isMobile\":[4,\"is-mobile\"]}]]],[\"ur-profile.cjs\",[[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]}]]],[\"ur-radio-button.cjs\",[[1,\"ur-radio-button\",{\"disabled\":[4],\"checked\":[4],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-radio-group.cjs\",[[1,\"ur-radio-group\",{\"name\":[1],\"value\":[1025],\"required\":[4],\"options\":[32],\"validate\":[64],\"reset\":[64]}]]],[\"ur-segment-button.cjs\",[[1,\"ur-segment-button\",{\"likeLabel\":[1,\"like-label\"]}]]],[\"ur-select.cjs\",[[1,\"ur-select\",{\"value\":[1],\"name\":[1],\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"variant\":[1],\"usage\":[1],\"multiple\":[4],\"clearable\":[4],\"disabled\":[4],\"required\":[4],\"readonly\":[4],\"size\":[1],\"placement\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"flex\":[4],\"suffix\":[1],\"clearIcon\":[1,\"clear-icon\"]},null,{\"value\":[\"handleValueChange\"]}]]],[\"ur-switch.cjs\",[[1,\"ur-switch\",{\"disabled\":[4],\"checked\":[4]}]]],[\"ur-tabs.cjs\",[[1,\"ur-tabs\",{\"tabs\":[16],\"panels\":[16]}]]],[\"ur-user-profile.cjs\",[[1,\"ur-user-profile\"]]],[\"ur-button.cjs\",[[1,\"ur-button\",{\"disabled\":[4],\"variant\":[1],\"icon\":[8],\"endIcon\":[8,\"end-icon\"],\"fullWidth\":[4,\"full-width\"],\"loading\":[4],\"fontColor\":[1,\"font-color\"],\"buttonHeight\":[1,\"button-height\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-page.cjs\",[[1,\"ur-page\",{\"pageId\":[513,\"page-id\"],\"loading\":[4],\"followStatus\":[4,\"follow-status\"],\"pageTitle\":[1,\"page-title\"],\"pageCover\":[1,\"page-cover\"],\"pageCoverFallback\":[1,\"page-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"pageDescription\":[1,\"page-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-user.cjs\",[[1,\"ur-user\",{\"userId\":[513,\"user-id\"],\"loading\":[4],\"followStatus\":[4,\"follow-status\"],\"userTitle\":[1,\"user-title\"],\"userCover\":[1,\"user-cover\"],\"userCoverFallback\":[1,\"user-cover-fallback\"],\"followers\":[2],\"showStats\":[4,\"show-stats\"],\"userDescription\":[1,\"user-description\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-checkbox.cjs\",[[1,\"ur-checkbox\",{\"disabled\":[4],\"checked\":[1540],\"value\":[1],\"name\":[1]},null,{\"checked\":[\"watchChecked\"]}]]],[\"ur-chip.cjs\",[[1,\"ur-chip\",{\"label\":[1],\"border\":[1],\"radius\":[1],\"size\":[1],\"backColor\":[1,\"back-color\"],\"fontColor\":[1,\"font-color\"],\"loading\":[4],\"disabled\":[4],\"clickable\":[4]}]]],[\"ur-novl.cjs\",[[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\"],\"borderRadius\":[1,\"border-radius\"]}]]],[\"ur-text-field.cjs\",[[1,\"ur-text-field\",{\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"disabled\":[4],\"required\":[4],\"variant\":[1],\"value\":[1025],\"name\":[1],\"endIcon\":[1,\"end-icon\"],\"rows\":[2],\"autosize\":[4],\"minRows\":[2,\"min-rows\"],\"maxRows\":[2,\"max-rows\"],\"minlength\":[2],\"maxlength\":[2],\"counter\":[4],\"type\":[1],\"pattern\":[1],\"min\":[8],\"max\":[8],\"step\":[8],\"error\":[1540],\"errorMessage\":[1537,\"error-message\"]}]]],[\"ur-list_3.cjs\",[[1,\"ur-menu-profile\",{\"userAvatar\":[1,\"user-avatar\"],\"userName\":[1,\"user-name\"],\"userRole\":[1,\"user-role\"]}],[1,\"ur-list\"],[1,\"ur-list-item\",{\"content\":[1],\"disabled\":[4],\"active\":[4],\"nonclickable\":[4],\"rounded\":[4],\"alignment\":[1],\"icon\":[1],\"endIcon\":[1,\"end-icon\"],\"description\":[1],\"href\":[1],\"target\":[1],\"rel\":[1]}]]],[\"ur-logo.cjs\",[[1,\"ur-logo\",{\"width\":[1],\"height\":[1],\"color\":[1],\"rotation\":[2],\"opacity\":[2]}]]],[\"ur-tooltip.cjs\",[[1,\"ur-tooltip\",{\"content\":[1],\"variant\":[1],\"placement\":[1],\"openDelay\":[2,\"open-delay\"],\"closeDelay\":[2,\"close-delay\"],\"trigger\":[1],\"colorScheme\":[1,\"color-scheme\"],\"disabled\":[4],\"isVisible\":[32]}]]],[\"ur-button-arrow-left_2.cjs\",[[1,\"ur-button-arrow-left\",{\"disabled\":[4]}],[1,\"ur-button-arrow-right\",{\"disabled\":[4]}]]],[\"ur-avatar.cjs\",[[1,\"ur-avatar\",{\"size\":[1],\"src\":[1],\"name\":[1],\"border\":[1],\"radius\":[1]}]]],[\"ur-button-icon.cjs\",[[1,\"ur-button-icon\",{\"disabled\":[4],\"loading\":[4],\"variant\":[1],\"icon\":[1],\"selectedIcon\":[1,\"selected-icon\"],\"selected\":[4],\"active\":[4],\"borderRadius\":[1,\"border-radius\"],\"buttonWidth\":[1,\"button-width\"],\"buttonHeight\":[1,\"button-height\"],\"fontColor\":[1,\"font-color\"]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -56,7 +56,6 @@ const UrNovlCarousel = class {
|
|
|
56
56
|
this.debug = false;
|
|
57
57
|
}
|
|
58
58
|
async addNovls(novls) {
|
|
59
|
-
console.log('>> add novls', novls);
|
|
60
59
|
this.novls = this.novls.concat(...novls);
|
|
61
60
|
index.forceUpdate(this);
|
|
62
61
|
}
|
|
@@ -133,7 +132,7 @@ const UrNovlCarousel = class {
|
|
|
133
132
|
return (index.h("swiper-slide", null, this.debug && index.h("span", { class: "index" }, index$1 + 1), index.h("ur-novl", Object.assign({}, novl))));
|
|
134
133
|
}
|
|
135
134
|
render() {
|
|
136
|
-
return (index.h(index.Host, { key: '
|
|
135
|
+
return (index.h(index.Host, { key: '5d56bf03973d70007294cc2c4fa4737928afec1e' }, index.h("div", { key: '80fa67523366b12a8e7ef9bdedecc75fe664b998', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: 'e6ab1cb5f108a5fd7e6f026464154c09c9e84adf', disabled: this.disabledPrev })), this.navigation && (index.h("ur-button-arrow-right", { key: '0dd43c1bf0f35c5a1c477cac50a21554a9bf032d', disabled: this.loading || this.disabledNext })), index.h("swiper-container", { key: '12fdef097f42f41759a5a868c6b239226e0c483a', init: true, observer: true, "observe-slide-children": true, "slides-per-group-auto": true, "watch-slides-progress": true, "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.novls.map((novl, index) => this.renderNovl(novl, index))))));
|
|
137
136
|
}
|
|
138
137
|
get el() { return index.getElement(this); }
|
|
139
138
|
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-8ef53368.js');
|
|
6
|
+
|
|
7
|
+
const is_custom_data = (data) => {
|
|
8
|
+
return data && !!data.content && typeof data.content === 'function';
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const urPageCarouselCss = ":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)}}";
|
|
12
|
+
const UrPageCarouselStyle0 = urPageCarouselCss;
|
|
13
|
+
|
|
14
|
+
const UrPageCarousel = class {
|
|
15
|
+
constructor(hostRef) {
|
|
16
|
+
index.registerInstance(this, hostRef);
|
|
17
|
+
this.intersectionUpdated = index.createEvent(this, "intersectionUpdated", 7);
|
|
18
|
+
this.prevClicked = index.createEvent(this, "prevClicked", 7);
|
|
19
|
+
this.nextClicked = index.createEvent(this, "nextClicked", 7);
|
|
20
|
+
this.onIntersection = async (entries) => {
|
|
21
|
+
this.intersectionUpdated.emit(entries);
|
|
22
|
+
};
|
|
23
|
+
this.onSlideChange = () => {
|
|
24
|
+
var _a, _b, _c, _d, _e, _f;
|
|
25
|
+
(_a = this.leftArrow) === null || _a === void 0 ? void 0 : _a.setAttribute('disabled', (_c = (_b = this.swiperContainer) === null || _b === void 0 ? void 0 : _b.swiper) === null || _c === void 0 ? void 0 : _c.isBeginning);
|
|
26
|
+
(_d = this.rightArrow) === null || _d === void 0 ? void 0 : _d.setAttribute('disabled', (_f = (_e = this.swiperContainer) === null || _e === void 0 ? void 0 : _e.swiper) === null || _f === void 0 ? void 0 : _f.isEnd);
|
|
27
|
+
};
|
|
28
|
+
this.onLeftClick = () => {
|
|
29
|
+
var _a, _b;
|
|
30
|
+
(_b = (_a = this.swiperContainer) === null || _a === void 0 ? void 0 : _a.swiper) === null || _b === void 0 ? void 0 : _b.slidePrev();
|
|
31
|
+
this.prevClicked.emit();
|
|
32
|
+
};
|
|
33
|
+
this.onRightClick = () => {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
(_b = (_a = this.swiperContainer) === null || _a === void 0 ? void 0 : _a.swiper) === null || _b === void 0 ? void 0 : _b.slideNext();
|
|
36
|
+
this.nextClicked.emit();
|
|
37
|
+
};
|
|
38
|
+
this.pages = [];
|
|
39
|
+
this.breakpoints = {
|
|
40
|
+
// add default
|
|
41
|
+
};
|
|
42
|
+
this.grid = {
|
|
43
|
+
rows: 1,
|
|
44
|
+
fill: 'row'
|
|
45
|
+
};
|
|
46
|
+
this.slidesPerView = 'auto';
|
|
47
|
+
this.spaceBetween = '0';
|
|
48
|
+
this.navigation = false;
|
|
49
|
+
}
|
|
50
|
+
componentDidLoad() {
|
|
51
|
+
var _a;
|
|
52
|
+
this.swiperContainer = this.el.shadowRoot.querySelector('swiper-container');
|
|
53
|
+
if (this.navigation) {
|
|
54
|
+
this.leftArrow = this.el.shadowRoot.querySelector('ur-button-arrow-left');
|
|
55
|
+
this.rightArrow = this.el.shadowRoot.querySelector('ur-button-arrow-right');
|
|
56
|
+
this.leftArrow.setAttribute('disabled', 'true');
|
|
57
|
+
this.rightArrow.setAttribute('disabled', `${this.pages.length === 0}`);
|
|
58
|
+
this.leftArrow.addEventListener('click', this.onLeftClick);
|
|
59
|
+
this.rightArrow.addEventListener('click', this.onRightClick);
|
|
60
|
+
(_a = this.swiperContainer) === null || _a === void 0 ? void 0 : _a.swiper.on('slideChange', this.onSlideChange);
|
|
61
|
+
}
|
|
62
|
+
const pages = this.el.shadowRoot.querySelectorAll('ur-page');
|
|
63
|
+
this.observer = new IntersectionObserver(this.onIntersection);
|
|
64
|
+
pages.forEach(page => {
|
|
65
|
+
this.observer.observe(page);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
disconnectedCallback() {
|
|
69
|
+
var _a, _b, _c;
|
|
70
|
+
(_a = this.leftArrow) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', this.onLeftClick);
|
|
71
|
+
(_b = this.rightArrow) === null || _b === void 0 ? void 0 : _b.removeEventListener('click', this.onRightClick);
|
|
72
|
+
(_c = this.swiperContainer) === null || _c === void 0 ? void 0 : _c.swiper.destroy(true, true);
|
|
73
|
+
this.observer.disconnect();
|
|
74
|
+
}
|
|
75
|
+
render() {
|
|
76
|
+
return (index.h(index.Host, { key: '7191630ce5b1f7f9054fe579f5663bd886a87d51' }, index.h("div", { key: '196f55707308eb75dc9bcb0f1bd9b71d95ae69c1', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: '9af7a2d83dec56c3fdb7d018e8fb863302ff5a3e', disabled: true })), this.navigation && (index.h("ur-button-arrow-right", { key: 'ea325472afd3dde12f2d27d4ea1a384f6f36b2a6', disabled: true })), index.h("swiper-container", { key: '39e7e792d010fc31172b29bce1e2eca40f299207', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.pages.map((page, index$1) => {
|
|
77
|
+
if (is_custom_data(page)) {
|
|
78
|
+
return (index.h("swiper-slide", null, index.h("div", { class: "custom", innerHTML: page.content(index$1) })));
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return (index.h("swiper-slide", null, index.h("ur-page", Object.assign({}, page))));
|
|
82
|
+
}
|
|
83
|
+
})))));
|
|
84
|
+
}
|
|
85
|
+
get el() { return index.getElement(this); }
|
|
86
|
+
};
|
|
87
|
+
UrPageCarousel.style = UrPageCarouselStyle0;
|
|
88
|
+
|
|
89
|
+
exports.ur_page_carousel = UrPageCarousel;
|
|
@@ -94,7 +94,7 @@ const UrPageProfileTabs = class {
|
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
96
|
const visibleTabs = this.getVisibleTabs();
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
97
|
+
return (index.h(index.Host, { key: '4ce2a56c7579837c44f9f40a31aaa6f1aa84fbce' }, index.h("mdui-tabs", { key: '527e0c9c0891985b40a9c5e6402e38bc98bae7a5', value: this.activeTab, onChange: this.handleTabChange, "full-width-tabs": this.fullWidthTabs }, visibleTabs.map(tab => (index.h("mdui-tab", { key: tab.value, value: tab.value }, tab.text()))), visibleTabs.map(tab => (index.h("mdui-tab-panel", { key: tab.value, slot: "panel", value: tab.value }, index.h("slot", { name: tab.value })))))));
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
UrPageProfileTabs.style = UrPageProfileTabsStyle0;
|
|
@@ -154,7 +154,7 @@ const UrPageProfile = class {
|
|
|
154
154
|
'profile--mobile-main': this.platform === 'mobile-main',
|
|
155
155
|
'profile--mobile-secondary': this.platform === 'mobile-secondary',
|
|
156
156
|
};
|
|
157
|
-
return (index.h(index.Host, { key: '
|
|
157
|
+
return (index.h(index.Host, { key: 'da8e72cdc04fe732cef76469f32bd7c923df622a', class: classes }, index.h("div", { key: '2807e50fe2b31b2b1afdeebd32bc2c09f7bec8dc', class: classes }, this.platform === 'desktop' && (index.h("div", { key: '64c78262973a366a2b10602059df2e553a020c42', class: "desktop-content" }, index.h("div", { key: '93463a1158f129e5edc9ce56eea8c25a8e1c313b', class: "avatar" }, index.h("ur-avatar", { key: '903a1ce35e286f950ec40607fb9651c1dfe9253a', border: "4px", radius: "25px", size: "96px", src: this.avatar, name: this.name })), index.h("div", { key: '659339e2b644eb2749cf9efee70ae885ea8e88c4', class: "info" }, index.h("div", { key: '9c483fe72fe553f132c56c52cc444a7808dccb1f', class: "name" }, this.name), this.renderPageType(), this.about && index.h("div", { key: 'b6ade089ca629132633c5a3c0bc7001565e11618', class: "about" }, this.about), this.location && index.h("div", { key: '37e1b0b7a74813f5229d9cbe7497549e296077fd', class: "location" }, this.location), this.renderSocialLinks(), this.renderWebsite()), this.renderActions())), this.platform === 'mobile-main' && (index.h("div", { key: '89b83ee9293e626d6ea4439350fe2947e2a6e288', class: "mobile-main-content" }, index.h("div", { key: '76b907a27b81a99d00d19b1166523445e73dc06b', class: "avatar" }, index.h("ur-avatar", { key: 'c6c30b1593813c4bfd99c8a6ce4063528a9feabb', border: "4px", radius: "25px", size: "96px", src: this.avatar, name: this.name })), index.h("div", { key: 'da2f801f3a20145af8c167d5fcc97c9a0d967532', class: "info" }, index.h("div", { key: 'eeb702f9de6de0ced90594ee4340b31271ef7c0d', class: "name" }, this.name), this.renderPageType(), this.about && index.h("div", { key: '06f224d8ee8cd9df3ca503e290cd499cb5a87df5', class: "about" }, this.about)), this.renderActions())), this.platform !== 'mobile-main' && [
|
|
158
158
|
this.renderStats(),
|
|
159
159
|
this.renderLanguages(),
|
|
160
160
|
this.renderGenres(),
|
|
@@ -69,7 +69,7 @@ const UrPageSharedListTabs = class {
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const visibleTabs = this.getVisibleTabs();
|
|
72
|
-
return (index.h(index.Host, { key: '
|
|
72
|
+
return (index.h(index.Host, { key: 'fcbd69746c3fb4c878324236dd1172942233411c' }, index.h("mdui-tabs", { key: '10d0e8eee2969cbcb8cbca443a7ed6e410e5f301', value: this.activeTab, onChange: this.handleTabChange, "full-width-tabs": this.fullWidthTabs }, visibleTabs.map(tab => (index.h("mdui-tab", { key: tab.value, value: tab.value }, tab.text()))), visibleTabs.map(tab => (index.h("mdui-tab-panel", { key: tab.value, slot: "panel", value: tab.value }, index.h("slot", { name: tab.value })))))));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
UrPageSharedListTabs.style = UrPageSharedListTabsStyle0;
|
|
@@ -6,26 +6,53 @@ const index = require('./index-8ef53368.js');
|
|
|
6
6
|
|
|
7
7
|
const PAGE_COVER_FALLBACK = 'data:image/webp;base64,UklGRtQAAABXRUJQVlA4TMgAAAAv/8f/EQfQla70pPIBIUHi/+9mIvqf8Z///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7vAQ==';
|
|
8
8
|
|
|
9
|
-
const urPageCss = ":host {\n --page-width: 100%;\n --page-border-radius: 8px;\n --ur-color-on-background: var(--mdui-color-on-background);\n --ur-color-background: var(--mdui-color-background);\n --ur-color-on-container-lite-dark: var(--mdui-color-on-container-lite-dark);\n}\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: content-box;\n container-type: inline-size;\n container-name: page;\n}\n\n:host .page {\n overflow: hidden;\n width: var(--page-width);\n border-radius: var(--page-border-radius);\n}\n\n:host .cover {\n aspect-ratio: 1;\n background-color: rgb(var(--ur-color-on-background));\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n position: relative;\n}\n\n:host .info {\n display: flex;\n flex-direction: column;\n padding: 8px;\n row-gap: 8px;\n background: rgb(var(--ur-color-background));\n box-sizing: border-box;\n}\n\n:host .info .title {\n color: rgb(var(--ur-color-on-background));\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* Number of lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host .info .stats {\n font-size: 12px;\n font-weight: 400;\n line-height: 12px;\n display: flex;\n flex-direction: row;\n color: rgb(var(--ur-color-on-background));\n}\n\n:host .info .stats b {\n font-weight: 700;\n}\n\n:host .info .stats .followers {\n display: flex;\n}\n\n:host .page .actions {\n padding-top: 10px;\n}\n\n:host .page .actions ur-button {\n width: 100%;\n padding-bottom: 5px;\n}\n\n:host .follow {\n display: flex;\n width: 100%;\n}\n\n:host .info .description {\n color: rgb(var(--ur-color-on-container-lite-dark));\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 163.636% */\n display: -webkit-box;\n -webkit-line-clamp: 2; /* Number of lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n@container page (max-width: 300px) {\n :host .info .title {\n font-size: 14px;\n line-height: 1.2rem;\n }\n\n :host .info .stats {\n font-size: 11px;\n }\n\n :host .info .description{\n font-size: 11px;\n }\n\n :host .info {\n row-gap: 4px;\n padding: 4px;\n }\n}\n";
|
|
9
|
+
const urPageCss = ":host {\n --page-width: 100%;\n --page-border-radius: 8px;\n --ur-color-on-background: var(--mdui-color-on-background);\n --ur-color-background: var(--mdui-color-background);\n --ur-color-on-container-lite-dark: var(--mdui-color-on-container-lite-dark);\n --ur-color-on-container-primary: var(--mdui-color-primary-container);\n --ur-color-primary: var(--mdui-color-primary);\n}\n\n@keyframes placeholderAnimate {\n 0%{ background-position: -650px 0; }\n 100%{ background-position: 650px 0; }\n}\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: content-box;\n container-type: inline-size;\n container-name: page;\n}\n\n:host .page {\n overflow: hidden;\n width: var(--page-width);\n border-radius: var(--page-border-radius);\n cursor: pointer;\n}\n\n:host .page.loading {\n cursor: default;\n}\n\n:host .cover {\n aspect-ratio: 1;\n background-color: rgb(var(--ur-color-on-background));\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n position: relative;\n}\n\n:host .cover.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: #f6f7f8;\n background: linear-gradient(to right, #eee 2%, #ddd 18%, #eee 33%);\n background-size: 1000px;\n}\n\n:host .info {\n display: flex;\n flex-direction: column;\n padding: 8px;\n row-gap: 8px;\n background: rgb(var(--ur-color-background));\n box-sizing: border-box;\n}\n\n:host .info:has(.loading) {\n padding-left: 0;\n padding-right: 0;\n}\n\n:host .info .title {\n color: rgb(var(--ur-color-on-background));\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* Number of lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host .info .title.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: #f6f7f8;\n background: linear-gradient(to right, #eee 2%, #ddd 18%, #eee 33%);\n background-size: 1000px;\n}\n\n:host .info .stats {\n font-size: 12px;\n font-weight: 400;\n line-height: 12px;\n display: flex;\n flex-direction: row;\n color: rgb(var(--ur-color-on-background));\n}\n\n:host .info .stats.loading {\n height: 12px;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: #f6f7f8;\n background: linear-gradient(to right, #eee 2%, #ddd 18%, #eee 33%);\n background-size: 1000px;\n}\n\n:host .info .stats b {\n font-weight: 700;\n}\n\n:host .info .stats .followers {\n display: flex;\n}\n\n:host .page .actions {\n padding-top: 10px;\n}\n\n:host .info .actions.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: #f6f7f8;\n background: linear-gradient(to right, #eee 2%, #ddd 18%, #eee 33%);\n background-size: 1000px;\n}\n\n:host .page .actions ur-button {\n width: 100%;\n padding-bottom: 5px;\n}\n\n:host .follow {\n display: flex;\n width: 100%;\n}\n\n:host .info .description {\n color: rgb(var(--ur-color-on-container-lite-dark));\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 163.636% */\n display: -webkit-box;\n -webkit-line-clamp: 2; /* Number of lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host .info .description.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: #f6f7f8;\n background: linear-gradient(to right, #eee 2%, #ddd 18%, #eee 33%);\n background-size: 1000px;\n}\n\n@container page (max-width: 300px) {\n :host .info .title {\n font-size: 14px;\n line-height: 1.2rem;\n }\n\n :host .info .stats {\n font-size: 11px;\n }\n\n :host .info .description{\n font-size: 11px;\n }\n\n :host .info {\n row-gap: 4px;\n padding: 4px;\n }\n\n :host .info .title.loading {\n margin: 0 4px;\n }\n\n :host .info .stats.loading {\n margin: 0 4px;\n }\n\n :host .info .description.loading {\n margin: 0 4px;\n }\n}\n";
|
|
10
10
|
const UrPageStyle0 = urPageCss;
|
|
11
11
|
|
|
12
12
|
const UrPage = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
|
+
this.pageClicked = index.createEvent(this, "pageClicked", 7);
|
|
15
16
|
this.pageFollowClicked = index.createEvent(this, "pageFollowClicked", 7);
|
|
17
|
+
this.pageId = undefined;
|
|
18
|
+
this.loading = false;
|
|
19
|
+
this.followStatus = false;
|
|
16
20
|
this.pageTitle = 'Page title';
|
|
17
21
|
this.pageCover = undefined;
|
|
18
22
|
this.pageCoverFallback = PAGE_COVER_FALLBACK;
|
|
19
23
|
this.followers = 0;
|
|
20
24
|
this.showStats = true;
|
|
21
25
|
this.pageDescription = undefined;
|
|
26
|
+
this.borderRadius = '8px';
|
|
27
|
+
}
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.el.style.setProperty("--page-border-radius", this.borderRadius);
|
|
30
|
+
}
|
|
31
|
+
handleFollowClicked(event) {
|
|
32
|
+
event.stopPropagation(); // Prevent the click from bubbling to the page click handler
|
|
33
|
+
this.followStatus = !this.followStatus;
|
|
34
|
+
this.pageFollowClicked.emit({
|
|
35
|
+
pageId: this.pageId,
|
|
36
|
+
followStatus: this.followStatus
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
renderLoading() {
|
|
40
|
+
return index.h(index.Host, null, index.h("div", { class: "page loading" }, index.h("section", { class: "cover loading" }), index.h("section", { class: "info" }, index.h("div", { class: "title loading" }, "\u00A0"), index.h("div", { class: "description loading" }, "\u00A0"), index.h("div", { class: "stats loading" }), index.h("div", { class: "actions loading" }))));
|
|
22
41
|
}
|
|
23
42
|
render() {
|
|
24
|
-
|
|
43
|
+
if (this.loading) {
|
|
44
|
+
return this.renderLoading();
|
|
45
|
+
}
|
|
46
|
+
return (index.h(index.Host, null, index.h("div", { class: "page", onClick: () => {
|
|
47
|
+
this.pageClicked.emit(this.pageId);
|
|
48
|
+
} }, index.h("section", { class: 'cover', style: {
|
|
25
49
|
backgroundImage: this.pageCover ? `url(${this.pageCover})` : `url(${this.pageCoverFallback})`
|
|
26
|
-
} }), index.h("section", {
|
|
27
|
-
index.h("div", {
|
|
50
|
+
} }), index.h("section", { class: 'info' }, index.h("div", { class: 'title' }, this.pageTitle), index.h("div", { class: "description" }, this.pageDescription), this.showStats &&
|
|
51
|
+
index.h("div", { class: 'stats' }, index.h("div", { class: "followers" }, index.h("div", null, index.h("b", null, this.followers), " ", this.followers === 1 ? 'Follower' : 'Followers'))), index.h("div", { class: "actions" }, index.h("ur-button", { class: "follow", variant: "outlined", onClick: (event) => {
|
|
52
|
+
this.handleFollowClicked(event);
|
|
53
|
+
} }, this.followStatus ? 'Unfollow' : 'Follow'))))));
|
|
28
54
|
}
|
|
55
|
+
get el() { return index.getElement(this); }
|
|
29
56
|
};
|
|
30
57
|
UrPage.style = UrPageStyle0;
|
|
31
58
|
|
|
@@ -113,11 +113,11 @@ const UrProfile = class {
|
|
|
113
113
|
this.member_since = 'May 25, 20215';
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (index.h(index.Host, { key: '
|
|
116
|
+
return (index.h(index.Host, { key: '7c753bd7803f7c40b3edfeee18886c206561feae' }, index.h("div", { key: 'e2e9c3a2d641757249a90d191471f8af36ddf2ff', class: "profile" }, index.h("div", { key: '6eb0b64db3ce970659f328b9108348596810206c', class: "name" }, this.name), this.description && index.h("div", { key: '96e1def8d2d2a0fdb9066c330a85f51d29cafbb1', class: "description" }, this.description), this.location && index.h("div", { key: '4e085faabeeaaf68c6c592505cc791b70f38a49f', class: "location" }, this.location), index.h("div", { key: '150fd6a040d88637ae049b75c93daf240d721b31', class: "social" }, this.facebook_url && index.h("a", { key: '4f6b75edac8cb0e050bfe85c84e17d624eee1c97', href: this.facebook_url, title: "facebook", target: "_blank" }, index.h("span", { key: 'b01beff260b49645b87a50e06b2ef569535a114e', class: "icon", innerHTML: Icons.facebook })), this.twitter_url && index.h("a", { key: '6faca627d8b2bcc00fb7a644a18b3c0cbfdc02f8', href: this.twitter_url, title: "twitter", target: "_blank" }, index.h("span", { key: 'ba011e830251b11802c22db3616ad47097e80c14', class: "icon", innerHTML: Icons.twitter })), this.linkedin_url && index.h("a", { key: '141a02f54c57b062794226b5233270101a3b520c', href: this.linkedin_url, title: "linkedin", target: "_blank" }, index.h("span", { key: 'ee231b552965d6269bf00a3118382e5b4a323cef', class: "icon", innerHTML: Icons.linkedin })), this.email && index.h("a", { key: '9840d4e402ed90fc0e09ccbd7543a87c1417e248', href: "mailto:" + this.email, title: "email", target: "_blank" }, index.h("span", { key: '1f933eee23a35958d32e0455329f2fd71c7f84f1', class: "icon", innerHTML: Icons.email })), this.phone && index.h("a", { key: '4ffe45c1817e3c5e796210f6f1aac3022c4594ab', href: "tel:" + this.phone, title: "phone", target: "_blank" }, index.h("span", { key: '95ad4981f023269c436e67c871f969c195077b59', class: "icon", innerHTML: Icons.phone }))), this.website && index.h("a", { key: 'b7842d528bc3e6ac198a70e86f50a8cccad16481', class: "website", href: this.website, title: "website", target: "_blank" }, index.h("span", { key: 'b22842496c21deddff118fdf77e64dfa339d197d', class: "icon", innerHTML: Icons.website }), this.website), this.show_follow && index.h("div", { key: '1614a7d993482ee55d969fe9a7f17c61672c228a', class: "follow-action action" }, index.h("mdui-button", { key: '8391f7f5602373d8efea8554b326e2db41d61d4d' }, "Follow")), this.show_donate && index.h("div", { key: 'a54e310974931f73c05649f0e86bf2e29ba88c70', class: "donate-action action" }, index.h("mdui-button", { key: '6b679315b190e61be0fb9f9154113cf6e34be21c', variant: "outlined" }, "Donate")), this.show_become_member && index.h("div", { key: '4a079f2d1bb0d2b92b90e0538ebcb9efec1b4bec', class: "member-action action" }, index.h("mdui-button", { key: '4c273d97e25e8233bf16e2f1c3668cd0bbdf2946', variant: "outlined" }, "Become Member")), this.show_send_message && index.h("div", { key: '5beb79e026150fd83911020e46a680b500273fb7', class: "message-action action" }, index.h("mdui-button", { key: '992731df1aea2051dd8cf2401e868622bd5b693d', variant: "outlined" }, "Message")), this.show_stats && index.h("div", { key: 'ab4897ac01033fd66103f9d7cf86d7eb39e4189b', class: "stats" }, index.h("div", { key: 'e1a9cb00c832ca6718eb0d010b28a39b587e4a79', class: "stat" }, index.h("span", { key: '75f373f88445d5af0e961ebc85f7785b1ac1dbfb', class: "label" }, "Stories"), index.h("span", { key: '62d4de93030c6da7335df7525b94742c0da69920', class: "value" }, this.stories_count)), index.h("div", { key: '387e50e169deb224372dda45145b248bb8bdf89b', class: "stat" }, index.h("span", { key: 'bab9005250853b3d3666c23913c7bda79d70ad0d', class: "label" }, "Views"), index.h("span", { key: 'e9e4bc53b4c00770a70741c15ba60303858cde67', class: "value" }, this.views_count)), index.h("div", { key: '5937736aff6425b427050defa0aae8cb5af13833', class: "stat" }, index.h("span", { key: '685104a518c6638d22309556262139ec73604d96', class: "label" }, "Followers"), index.h("span", { key: 'd301fdee2cd1de9c07e0f9baa8f90509b34e7df9', class: "value" }, this.followers_count)), index.h("div", { key: '74c1673578798feb46bd45029987899435862597', class: "stat" }, index.h("span", { key: 'd0d441b2b5eb36102551faf237908eb0e3919dcf', class: "label" }, "Writers"), index.h("span", { key: 'afd44d2856cafc1646e17e209692397f0248ecf3', class: "value" }, this.writers_count))), this.show_languages && this.languages.trim().length > 0 && index.h("div", { key: 'be161edc4825251650f16a015680529bc898e504', class: "languages" }, index.h("div", { key: 'b643d4175cb9ee1baa52deff3793f4a142180760', class: "title" }, "Languages"), index.h("div", { key: '76917308b97bb67548085bf46207da877d362154', class: "pills" }, this.languages.split(',').map((language) => {
|
|
117
117
|
return index.h("div", { class: "pill" }, language.trim());
|
|
118
|
-
}))), this.show_genres && this.genres.trim().length > 0 && index.h("div", { key: '
|
|
118
|
+
}))), this.show_genres && this.genres.trim().length > 0 && index.h("div", { key: '05fd42ee223df26af9a19c60159fa71077208cfe', class: "genres" }, index.h("div", { key: '9308b3f76bf9508bb0b7d53b72ddb790c1c8334d', class: "title" }, "Genres"), index.h("div", { key: '35c1d079b351b463221fb6f41fb30fb476cbe1d3', class: "pills" }, this.genres.split(',').map((genre) => {
|
|
119
119
|
return index.h("div", { class: "pill" }, genre.trim());
|
|
120
|
-
}))), this.show_member_since && this.member_since.trim().length > 0 && index.h("div", { key: '
|
|
120
|
+
}))), this.show_member_since && this.member_since.trim().length > 0 && index.h("div", { key: 'fddb4a980df90af2be3d060e79e5061b505f646e', class: "member_since" }, "Member Since: ", this.member_since.trim()))));
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
UrProfile.style = UrProfileStyle0;
|
|
@@ -40,7 +40,7 @@ const UrRadioButton = class {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(index.Host, { key: '
|
|
43
|
+
return (index.h(index.Host, { key: 'f648d583c07be31a8ec1cd8b44426611b260e549' }, index.h("mdui-radio", { key: '53b67b9e44472c7ff49f0bbdadaa71a42199f425', checked: this.checked ? 'true' : undefined, disabled: this.disabled ? 'true' : undefined, name: this.name, onClick: this.handleClick }, index.h("slot", { key: '0d992d6097bd20daaa443ef8e4b420b34d6ebf51' }))));
|
|
44
44
|
}
|
|
45
45
|
static get watchers() { return {
|
|
46
46
|
"checked": ["watchChecked"]
|
|
@@ -360,7 +360,7 @@ const UrRadioGroup = class {
|
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
render() {
|
|
363
|
-
return (index.h(index.Host, { key: '
|
|
363
|
+
return (index.h(index.Host, { key: '52378dbeba7a446676134cd2bc61c6ef4815ba65' }, index.h("mdui-radio-group", { key: 'c9a00425cc4a128e4e8085fee0a30a2d0f962e0b' }, index.h("slot", { key: 'ad029de4a330206d16e99f763639243096573053', onSlotchange: this.onSlotChange }))));
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
366
|
UrRadioGroup.style = UrRadioGroupStyle0;
|
|
@@ -38,7 +38,7 @@ const UrMainDesktopTopAppBar = class {
|
|
|
38
38
|
this.scrollThreshold = 30;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: 'f3e0c2bb43a270579c2d54874bc6005bc613d5e7' }, index.h("mdui-top-app-bar", { key: '3ed1480dafcf286a527381c076a28f54fe898c3f', variant: this.variant, "scroll-target": ".example-scroll-target", "scroll-behavior": this.scrollBehavior, "scroll-threshold": this.scrollThreshold }, index.h("ur-button-icon", { key: '254a6272e7031779ca515fda2b4ea5a27dc06625', icon: "arrow_back", variant: "standard", "aria-label": "Back", onClick: this.handleBackClick }), index.h("mdui-top-app-bar-title", { key: 'bc685b8249a4baf1603ce8549cd2d89074b5b99c' }, this.headerTitle), index.h("ur-button-icon", { key: 'd87e34e3e0b222d7931bf04fc11dc4ee2d4bc6ae', icon: "library_books--outlined", variant: "standard", "aria-label": "Chapters", onClick: this.handleChaptersClick }), index.h("ur-button-icon", { key: '5210cdac428f9cbfa4e5ba4c3936e636b48536c4', icon: "text_format--outlined", variant: "standard", "aria-label": "Reading Settings", onClick: this.handleReadingSettingsClick }))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
UrMainDesktopTopAppBar.style = UrReadMobileTopAppBarStyle0;
|
|
@@ -84,10 +84,10 @@ const UrReadRailMobile = class {
|
|
|
84
84
|
this.updateVisibility();
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (index.h(index.Host, { key: '
|
|
87
|
+
return (index.h(index.Host, { key: '2c728a74a088ff7424d2d08fba4d030b89af4860', class: {
|
|
88
88
|
'ur-read-rail': true,
|
|
89
89
|
'hidden': !this.isVisible, // Apply hidden class when isVisible is false
|
|
90
|
-
} }, index.h("div", { key: '
|
|
90
|
+
} }, index.h("div", { key: 'daf48016d3c0e750c29a3a954129d801b2ad4fe8', class: "profile-holder" }, index.h("ur-avatar", { key: 'e5baaa6ad6e27bc2674506fb1e164ddf80ab4565', class: "avatar-button", src: this.avatarSrc, border: "4px", size: "56px", name: this.avatarName, onClick: () => this.handleViewProfile() }), !this.isFollowed && index.h("ur-button-icon", { key: 'c4a3ffedee9b5d57006478ef294fe1e646652594', class: "follow-btn", icon: "add", variant: "filled", onClick: () => this.handleFollow() })), index.h("div", { key: '0bcda9e2558b035e032cc25cded5d20ac5a7395b', class: "actions-holder" }, index.h("div", { key: '48e5c608c24dab82c0759b04bc0a50f51fd40d4e', class: "action" }, index.h("ur-button-icon", { key: 'a93ebd78e25e6cb8b3ed9d9a21708692cd8600fa', icon: "thumb_up--outlined", variant: "standard", onClick: () => this.handleLike() }), index.h("span", { key: '058a759e73a5c043932914a04d4ce7537e08969d', class: "action-label" }, this.likes)), index.h("div", { key: '8d1ee807803e21a2a07af37f2f4cd5dcd56a7d1b', class: "action" }, index.h("ur-button-icon", { key: '5ada00fa36ae13279dbce7f07566c4bf3411fec8', icon: "thumb_down--outlined", variant: "standard", onClick: () => this.handleDislike() }), index.h("span", { key: 'a5d26997d6d38208816257b2cb8e054ee510efa1', class: "action-label" }, this.dislike)), index.h("div", { key: 'f72e7af271b4a0e1369f4e7274321e4cb0cdc97b', class: "action" }, index.h("ur-button-icon", { key: 'e6a80d786cac7a7f6b78b9d6a7c0f333abc7c480', icon: "comment--outlined", variant: "standard", onClick: () => this.handleComment() }), index.h("span", { key: 'c8c7266d3fc1cca94de3e1cc5f45b7aa048af90b', class: "action-label" }, this.comments)), index.h("div", { key: 'bc207c8f1034b1792eafd76d18fcf376936160d5', class: "action" }, index.h("ur-button-icon", { key: '0ddb33b04acc1e1a0929e54d28ae92f7d30a2733', icon: "volunteer_activism--outlined", variant: "standard", onClick: () => this.handleDonate() }), index.h("span", { key: '972a775e277a31bbe6e51d9be7f032ab48efa597', class: "action-label" }, this.donate)), index.h("div", { key: '7b7876c22ec11b0f0fc4011b5be26be139564c75', class: "action" }, index.h("ur-button-icon", { key: '2e968c994fc4661236186f80ea7ef02f1405e795', icon: "share--outlined", variant: "standard", onClick: () => this.handleShare() }), index.h("span", { key: 'b4e73cd38662fda18b4fbc348a473dcaa645ccdb', class: "action-label" }, this.share)))));
|
|
91
91
|
}
|
|
92
92
|
get el() { return index.getElement(this); }
|
|
93
93
|
static get watchers() { return {
|
|
@@ -108,10 +108,10 @@ const UrReadRail = class {
|
|
|
108
108
|
this.updateVisibility();
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (index.h(index.Host, { key: '
|
|
111
|
+
return (index.h(index.Host, { key: '3cfd28e6a4477685c7da24d39c524eefba5c911d', class: {
|
|
112
112
|
'ur-read-rail': true,
|
|
113
113
|
'hidden': !this.isVisible, // Apply hidden class when isVisible is false
|
|
114
|
-
} }, index.h("div", { key: '
|
|
114
|
+
} }, index.h("div", { key: '38810a93ad0593abf5f61bdae4029ce027e2d03b', class: "profile-holder" }, index.h("ur-avatar", { key: '5144d1935a6d752ffc9404541e40bff92e06d8bf', class: "avatar-button", src: this.avatarSrc, border: "4px", size: "56px", name: this.avatarName, onClick: () => this.handleViewProfile() }), !this.isFollowed && !this.isOwnChapter && index.h("ur-button-icon", { key: 'ccc58f4f921b40653741ee6d49b2fbe6d33b90b9', class: "follow-btn", icon: "add", variant: "filled", onClick: () => this.handleFollow() })), index.h("div", { key: 'ee560f83a6473ffb2a4bd52e62730ced94fd4d8f', class: "actions-holder" }, index.h("slot", { key: '430e152cc7f9e245dba0e6fdb78c3fccdf2654c1', name: "thumbs-rating" }), index.h("div", { key: 'b365951749e04c8bb852e2bd0d0cb06bb8e5f9a1', class: "action" }, index.h("ur-button-icon", { key: '677b3db3fd7ce160bc78712f2c8b1a89a1ab9e07', icon: "comment--outlined", variant: "standard", onClick: () => this.handleComment() }), index.h("span", { key: '1665588916c0bce0f7336ac07c198618fc076a84', class: "action-label" }, this.comments)), this.isDonationsEnabled && !this.isPaidChapter && !this.isOwnChapter && this.isAuthorPro && (index.h("div", { key: '48e0cd17e55e3794b70128e8effd792b35c01ce8', class: "action" }, index.h("ur-button-icon", { key: 'de56fd62bdd3c9db68bee51e8fc3c66f0c4fa34a', icon: "volunteer_activism--outlined", variant: "standard", onClick: () => this.handleDonate() }), index.h("span", { key: '79e1d8f67e1c9bfbacb17afeb4a9e44b1f39a186', class: "action-label" }, this.donate))), this.renderShareButton())));
|
|
115
115
|
}
|
|
116
116
|
get el() { return index.getElement(this); }
|
|
117
117
|
static get watchers() { return {
|
|
@@ -103,7 +103,7 @@ const UrReadTopAppBar = class {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (index.h(index.Host, { key: '
|
|
106
|
+
return (index.h(index.Host, { key: 'f0a458e87bd9782dc7def75b529f6906f3f1d99b' }, index.h("mdui-top-app-bar", { key: '556c733e6cf8472cfe73e21fb14f831d68ead13b', variant: this.variant, "scroll-target": ".example-scroll-target", "scroll-behavior": this.scrollBehavior, "scroll-threshold": this.scrollThreshold, style: { top: this.topValue } }, index.h("mdui-top-app-bar-title", { key: '332d33d72c8d91d549577c115deb454d96b36585' }, this.novelTitle), this.isChapterOwner && index.h("ur-button-icon", { key: 'b3da09842f5fdcbf51a9441729bace498c708163', icon: "edit", variant: "standard", "aria-label": "Edit Chapter", onClick: this.handleEditChapterClick }), this.deviceVariant === 'desktop' && index.h("slot", { key: 'fc8b00e894fafda93305c7bbb699b1dff4bae2ae', name: "chapter-select" }), this.deviceVariant === 'mobile' && (index.h("ur-button-icon", { key: '015283d50ec1a784a9ee4b4d1f9ddb6b5ffb9f64', icon: "list", variant: "standard", "aria-label": "Select Chapter", onClick: this.handleChapterButtonClick })), index.h("ur-button-icon", { key: '39ddd677351c773fa619004422de8c6f6d5009c7', icon: "info_outline", variant: "standard", "aria-label": "Story Summary", onClick: this.handleStorySummaryClick }), index.h("ur-button-icon", { key: 'd15a471c82a1ead9677d7ff8660faa2b8be7247d', icon: "text_format--outlined", variant: "standard", "aria-label": "Reading Settings", onClick: this.handleReadingSettingsClick }), index.h("div", { key: '3ba037d173d1bb09b406ca815280598e4aa0db63', class: "read-progress" }, index.h("slot", { key: '5467231d4384afe5b73014592258bd19c52df049', name: "read-progress" })))));
|
|
107
107
|
}
|
|
108
108
|
get el() { return index.getElement(this); }
|
|
109
109
|
};
|
|
@@ -563,7 +563,7 @@ const UrSegment = class {
|
|
|
563
563
|
this.likeLabel = '2.5k';
|
|
564
564
|
}
|
|
565
565
|
render() {
|
|
566
|
-
return (index.h(index.Host, { key: '
|
|
566
|
+
return (index.h(index.Host, { key: '523382658da4aa95498a67149c6f259817bd881c' }, index.h("mdui-segmented-button-group", { key: 'f42afac977cde7e0476b5729935091640bef4a2b', selects: "single" }, index.h("mdui-segmented-button", { key: '5cdcc37f8e7342ef14b906d6737ad66f6dba4df8', icon: "thumb_up--outlined", "selected-icon": "thumb_up", value: "like" }, this.likeLabel), index.h("mdui-segmented-button", { key: 'ff2787802fd1415e016b4f350750f403860f839c', icon: "thumb_down--outlined", "selected-icon": "thumb_down", value: "dislike" }))));
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
UrSegment.style = UrSegmentButtonStyle0;
|
|
@@ -1631,7 +1631,7 @@ const UrSelect = class {
|
|
|
1631
1631
|
maxWidth: this.usage === 'topBar' ? '350px' : 'initial',
|
|
1632
1632
|
fontSize: '10px',
|
|
1633
1633
|
};
|
|
1634
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1634
|
+
return (index$1.h(index$1.Host, { key: '6bfb213233a522fabc1513fe0c3a7ba4d3a49cff', style: selectStyles }, index$1.h("mdui-select", { key: '7b16a360985f67d885f76a2fbbfee810e7708c75', name: this.name, value: this.value, variant: this.variant, usage: this.usage, multiple: this.multiple, class: !this.multiple ? 'single-select' : '', flex: this.flex, clearable: this.clearable, disabled: this.disabled, required: this.required, readonly: this.readonly, placement: this.placement, placeholder: this.placeholder, "end-icon": this.endIcon, onChange: this.handleChange, style: selectStyles }, this.icon && (index$1.h("span", { key: 'f5d69e61d1628b2938dd8c018de8b86672597c00', slot: "icon" }, this.icon)), this.endIcon && (index$1.h("span", { key: '8b29a0c821f91b732f0fbfd54beced96bb6535fe', slot: "end-icon" }, this.endIcon)), this.suffix && index$1.h("span", { key: 'acae38106ab386cdbdf9134b6373d6d35604aa60', slot: "suffix" }, this.suffix), index$1.h("slot", { key: '602958337e8a25c439eea29d3a59cea9137b0579' }), this.helper && index$1.h("span", { key: '11511be7915a4dc7901cf2df313a6bad91cfe967', slot: "helper" }, this.helper))));
|
|
1635
1635
|
}
|
|
1636
1636
|
get host() {
|
|
1637
1637
|
return this; // Casting this component instance as an HTMLElement
|
|
@@ -255,7 +255,7 @@ const UrSwitch = class {
|
|
|
255
255
|
this.checked = false;
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
|
-
return (index.h(index.Host, { key: '
|
|
258
|
+
return (index.h(index.Host, { key: 'f0e55acc1130384cd5d4134117df429db940c839' }, index.h("mdui-switch", { key: '00e916fca28930cd189ebfd65f74e0b3c880b183', checked: this.checked, disabled: this.disabled })));
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
UrSwitch.style = UrSwitchStyle0;
|
|
@@ -31,7 +31,7 @@ const UrTabs = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
var _a;
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '44acf1418ab23c1eaeffd92eea60df6e182268e8' }, index.h("mdui-tabs", { key: '2832226cf4ef9983a0204a4ff70fcdc3f17ece53', value: ((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.value) || 'tab-1' }, " ", this.tabs.map(tab => (index.h("mdui-tab", { value: tab.value }, tab.label))), this.panels.map(panel => (index.h("mdui-tab-panel", { value: panel.value }, index.h("slot", { name: `panel-${panel.value}` }, panel.content), " "))))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
UrTabs.style = UrTabsStyle0;
|
|
@@ -133,7 +133,7 @@ const UrTextField = class {
|
|
|
133
133
|
this.errorStateChanged.emit({ name: this.name, error, message });
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (index.h(index.Host, { key: '
|
|
136
|
+
return (index.h(index.Host, { key: 'f72d2f867f23a75f797b716a3fcc0a6631666a44' }, index.h("mdui-text-field", { key: '5f8eaa4f537fdf2a77e9b2adcea42d2d7fa1d37d', variant: this.variant, disabled: this.disabled, required: this.required, value: this.value, name: this.name, label: this.label || '', helper: this.helper || '', "end-icon": this.endIcon, placeholder: this.placeholder || '', rows: this.rows !== null ? this.rows : undefined, autosize: this.autosize ? 'true' : undefined, "min-rows": this.minRows !== null ? this.minRows : undefined, "max-rows": this.maxRows !== null ? this.maxRows : undefined, minlength: this.minlength !== null ? this.minlength : undefined, maxlength: this.maxlength !== null ? this.maxlength : undefined, counter: this.counter ? 'true' : undefined, type: this.type, pattern: this.pattern || undefined, min: this.min !== null ? this.min : undefined, max: this.max !== null ? this.max : undefined, step: this.step !== null ? this.step : undefined, onInput: this.handleInput })));
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
UrTextField.style = UrTextFieldStyle0;
|