urnovl-web-components 0.0.247 → 0.0.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ur-novl-overview-info.cjs.entry.js +4 -4
- package/dist/cjs/ur-novl-summary.cjs.entry.js +3 -3
- package/dist/cjs/ur-page-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ur-page-profile-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-page-profile.cjs.entry.js +2 -2
- package/dist/cjs/ur-page-shared-list-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-player.cjs.entry.js +3 -3
- package/dist/cjs/ur-profile.cjs.entry.js +3 -3
- package/dist/cjs/ur-radio-button_2.cjs.entry.js +2 -2
- 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-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/ur-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ur-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-thumbs-rating.cjs.entry.js +3 -3
- package/dist/cjs/ur-top-app-bar.cjs.entry.js +2 -2
- package/dist/cjs/ur-user-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ur-user-page-profile.cjs.entry.js +2 -2
- package/dist/cjs/ur-user-profile-settings-form.cjs.entry.js +1 -1
- package/dist/cjs/ur-user-profile-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ur-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/ur-work-overview.cjs.entry.js +5 -5
- package/dist/collection/components/ur-novl-overview-info/ur-novl-overview-info.js +4 -4
- package/dist/collection/components/ur-novl-summary/ur-novl-summary.js +3 -3
- package/dist/collection/components/ur-page-carousel/ur-page-carousel.js +1 -1
- package/dist/collection/components/ur-page-profile/ur-page-profile.js +2 -2
- 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-player/ur-player.js +3 -3
- 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-snackbar/ur-snackbar.js +2 -2
- package/dist/collection/components/ur-stepper/ur-stepper.js +1 -1
- package/dist/collection/components/ur-tabs/ur-tabs.js +1 -1
- package/dist/collection/components/ur-thumbs-rating/ur-thumbs-rating.js +3 -3
- package/dist/collection/components/ur-top-app-bar/ur-top-app-bar.js +2 -2
- package/dist/collection/components/ur-user-carousel/ur-user-carousel.js +1 -1
- package/dist/collection/components/ur-user-page-profile/ur-user-page-profile.js +2 -2
- package/dist/collection/components/ur-user-profile/ur-user-profile.js +1 -1
- package/dist/collection/components/ur-user-profile-settings-form/ur-user-profile-settings-form.js +1 -1
- package/dist/collection/components/ur-user-profile-tabs/ur-user-profile-tabs.js +1 -1
- package/dist/collection/components/ur-work-overview/ur-work-overview.js +5 -5
- package/dist/components/{p-BIxW9rbq.js → p-FOnvY_hC.js} +1 -1
- package/dist/components/{p-K7pVKqMJ.js → p-K2Pb7oQG.js} +1 -1
- package/dist/components/ur-feedback.js +2 -2
- package/dist/components/ur-novl-overview-info.js +4 -4
- package/dist/components/ur-novl-summary.js +3 -3
- package/dist/components/ur-page-carousel.js +1 -1
- package/dist/components/ur-page-profile-tabs.js +1 -1
- package/dist/components/ur-page-profile.js +2 -2
- package/dist/components/ur-page-shared-list-tabs.js +1 -1
- package/dist/components/ur-player.js +3 -3
- 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 +2 -2
- package/dist/components/ur-read-top-app-bar.js +1 -1
- package/dist/components/ur-segment-button.js +1 -1
- package/dist/components/ur-select.js +1 -1
- package/dist/components/ur-snackbar.js +2 -2
- package/dist/components/ur-stepper.js +1 -1
- package/dist/components/ur-tabs.js +1 -1
- package/dist/components/ur-thumbs-rating.js +3 -3
- package/dist/components/ur-top-app-bar.js +2 -2
- package/dist/components/ur-user-carousel.js +1 -1
- package/dist/components/ur-user-page-profile.js +2 -2
- package/dist/components/ur-user-profile-settings-form.js +1 -1
- package/dist/components/ur-user-profile-tabs.js +1 -1
- package/dist/components/ur-user-profile.js +1 -1
- package/dist/components/ur-work-overview.js +5 -5
- package/dist/esm/ur-novl-overview-info.entry.js +4 -4
- package/dist/esm/ur-novl-summary.entry.js +3 -3
- package/dist/esm/ur-page-carousel.entry.js +1 -1
- package/dist/esm/ur-page-profile-tabs.entry.js +1 -1
- package/dist/esm/ur-page-profile.entry.js +2 -2
- package/dist/esm/ur-page-shared-list-tabs.entry.js +1 -1
- package/dist/esm/ur-player.entry.js +3 -3
- package/dist/esm/ur-profile.entry.js +3 -3
- package/dist/esm/ur-radio-button_2.entry.js +2 -2
- 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-snackbar.entry.js +2 -2
- package/dist/esm/ur-stepper.entry.js +1 -1
- package/dist/esm/ur-tabs.entry.js +1 -1
- package/dist/esm/ur-thumbs-rating.entry.js +3 -3
- package/dist/esm/ur-top-app-bar.entry.js +2 -2
- package/dist/esm/ur-user-carousel.entry.js +1 -1
- package/dist/esm/ur-user-page-profile.entry.js +2 -2
- package/dist/esm/ur-user-profile-settings-form.entry.js +1 -1
- package/dist/esm/ur-user-profile-tabs.entry.js +1 -1
- package/dist/esm/ur-user-profile.entry.js +1 -1
- package/dist/esm/ur-work-overview.entry.js +5 -5
- package/{www/build/p-f8f91b08.entry.js → dist/urnovl-web-components/p-07d91366.entry.js} +1 -1
- package/{www/build/p-07249895.entry.js → dist/urnovl-web-components/p-0bdfafe9.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-173bf294.entry.js → p-2adfba60.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-248e9dc6.entry.js → p-348ddcd3.entry.js} +1 -1
- package/{www/build/p-9781599d.entry.js → dist/urnovl-web-components/p-48f063f4.entry.js} +1 -1
- package/dist/urnovl-web-components/p-522f5c18.entry.js +3 -0
- package/dist/urnovl-web-components/p-66f8c933.entry.js +1 -0
- package/{www/build/p-850ac986.entry.js → dist/urnovl-web-components/p-67644291.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-fcabccc7.entry.js → p-7279f0b7.entry.js} +1 -1
- package/{www/build/p-e7707740.entry.js → dist/urnovl-web-components/p-871956f3.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-02882874.entry.js → p-88572a55.entry.js} +1 -1
- package/dist/urnovl-web-components/p-8a0e49de.entry.js +1 -0
- package/{www/build/p-526a5b8f.entry.js → dist/urnovl-web-components/p-a9bf4579.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-fef4f220.entry.js → p-abae4e15.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-bbf7ce65.entry.js → p-bbf81587.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-32e80f8a.entry.js → p-c00f0b7b.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-6bcccf46.entry.js → p-c1b56ebc.entry.js} +1 -1
- package/dist/urnovl-web-components/p-c69e36fc.entry.js +1 -0
- package/dist/urnovl-web-components/{p-e129423f.entry.js → p-d076f8cc.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-c3fbd4e6.entry.js → p-dc382cff.entry.js} +1 -1
- package/{www/build/p-a4d2eeec.entry.js → dist/urnovl-web-components/p-dc81aea9.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-423f20f2.entry.js → p-dd0333e2.entry.js} +1 -1
- package/{www/build/p-68e9ec3e.entry.js → dist/urnovl-web-components/p-e8c203be.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-f54f643f.entry.js → p-f9ce18f4.entry.js} +1 -1
- package/{www/build/p-4f9c8bbc.entry.js → dist/urnovl-web-components/p-fb213b44.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-42dda618.entry.js → p-fc66db61.entry.js} +1 -1
- package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/{dist/urnovl-web-components/p-f8f91b08.entry.js → www/build/p-07d91366.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-07249895.entry.js → www/build/p-0bdfafe9.entry.js} +1 -1
- package/www/build/{p-173bf294.entry.js → p-2adfba60.entry.js} +1 -1
- package/www/build/{p-248e9dc6.entry.js → p-348ddcd3.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-9781599d.entry.js → www/build/p-48f063f4.entry.js} +1 -1
- package/www/build/{p-93fcf02f.js → p-4db0b127.js} +1 -1
- package/www/build/p-522f5c18.entry.js +3 -0
- package/www/build/p-66f8c933.entry.js +1 -0
- package/{dist/urnovl-web-components/p-850ac986.entry.js → www/build/p-67644291.entry.js} +1 -1
- package/www/build/{p-fcabccc7.entry.js → p-7279f0b7.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-e7707740.entry.js → www/build/p-871956f3.entry.js} +1 -1
- package/www/build/{p-02882874.entry.js → p-88572a55.entry.js} +1 -1
- package/www/build/p-8a0e49de.entry.js +1 -0
- package/{dist/urnovl-web-components/p-526a5b8f.entry.js → www/build/p-a9bf4579.entry.js} +1 -1
- package/www/build/{p-fef4f220.entry.js → p-abae4e15.entry.js} +1 -1
- package/www/build/{p-bbf7ce65.entry.js → p-bbf81587.entry.js} +1 -1
- package/www/build/{p-32e80f8a.entry.js → p-c00f0b7b.entry.js} +1 -1
- package/www/build/{p-6bcccf46.entry.js → p-c1b56ebc.entry.js} +1 -1
- package/www/build/p-c69e36fc.entry.js +1 -0
- package/www/build/{p-e129423f.entry.js → p-d076f8cc.entry.js} +1 -1
- package/www/build/{p-c3fbd4e6.entry.js → p-dc382cff.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-a4d2eeec.entry.js → www/build/p-dc81aea9.entry.js} +1 -1
- package/www/build/{p-423f20f2.entry.js → p-dd0333e2.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-68e9ec3e.entry.js → www/build/p-e8c203be.entry.js} +1 -1
- package/www/build/{p-f54f643f.entry.js → p-f9ce18f4.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-4f9c8bbc.entry.js → www/build/p-fb213b44.entry.js} +1 -1
- package/www/build/{p-42dda618.entry.js → p-fc66db61.entry.js} +1 -1
- package/www/build/urnovl-web-components.esm.js +1 -1
- package/dist/urnovl-web-components/p-776a209a.entry.js +0 -1
- package/dist/urnovl-web-components/p-a8da2f7c.entry.js +0 -3
- package/dist/urnovl-web-components/p-c31484bb.entry.js +0 -1
- package/dist/urnovl-web-components/p-f228397c.entry.js +0 -1
- package/www/build/p-776a209a.entry.js +0 -1
- package/www/build/p-a8da2f7c.entry.js +0 -3
- package/www/build/p-c31484bb.entry.js +0 -1
- package/www/build/p-f228397c.entry.js +0 -1
|
@@ -155,7 +155,7 @@ const UrNovlOverviewInfo = class {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (index.h(index.Host, { key: 'af6107110ba2f2dbf6271f65c2a1e21ad05be56a' }, this.deviceSize === 'large' && (index.h("div", { key: '01a7c349db9ba84be90b00c7fb9192cdfa967a6f', class: "cover-total", style: { backgroundImage: `url(${this.coverImage})` } }, index.h("div", { key: '0c68d49b2cf5e7daacc97eaf6421098077fe155a', class: "cover-blur-overlay" }), index.h("div", { key: '57e47f13cd1a49586a494701df1af6511ab8c740', class: "cover-gradient-overlay" }))), index.h("div", { key: 'eb01b0e5b15efd05969a433de42ca4e4e04c361e', class: `overview ${this.deviceSize === 'small' ? 'small-device' : 'large-device'}` }, index.h("div", { key: 'f88302a6106ae37ca5273f516b6bcf9e0c091ed6', class: "cover" }, index.h("div", { key: 'acad1dfdb53adc2a905284afecad0b28a55b46a6', class: "inner-cover-hld" }, index.h("div", { key: '771ce2c5157b39f3e961d0fbcf0eb90346463dc7', class: "inner-cover" }, this.skeleton ? (index.h("div", { class: "cover-skeleton loading" })) : (index.h("img", { class: "cover-image", src: this.coverImage, alt: "Novl Cover" }))), !this.skeleton && this.isOwner && this.renderVisibilitySwitch())), index.h("div", { key: '
|
|
158
|
+
return (index.h(index.Host, { key: 'af6107110ba2f2dbf6271f65c2a1e21ad05be56a' }, this.deviceSize === 'large' && (index.h("div", { key: '01a7c349db9ba84be90b00c7fb9192cdfa967a6f', class: "cover-total", style: { backgroundImage: `url(${this.coverImage})` } }, index.h("div", { key: '0c68d49b2cf5e7daacc97eaf6421098077fe155a', class: "cover-blur-overlay" }), index.h("div", { key: '57e47f13cd1a49586a494701df1af6511ab8c740', class: "cover-gradient-overlay" }))), index.h("div", { key: 'eb01b0e5b15efd05969a433de42ca4e4e04c361e', class: `overview ${this.deviceSize === 'small' ? 'small-device' : 'large-device'}` }, index.h("div", { key: 'f88302a6106ae37ca5273f516b6bcf9e0c091ed6', class: "cover" }, index.h("div", { key: 'acad1dfdb53adc2a905284afecad0b28a55b46a6', class: "inner-cover-hld" }, index.h("div", { key: '771ce2c5157b39f3e961d0fbcf0eb90346463dc7', class: "inner-cover" }, this.skeleton ? (index.h("div", { class: "cover-skeleton loading" })) : (index.h("img", { class: "cover-image", src: this.coverImage, alt: "Novl Cover" }))), !this.skeleton && this.isOwner && this.renderVisibilitySwitch()), index.h("slot", { key: '7f9fde79de7b34f204e677f32bc43a47f10b8da1', name: "ad-slot-left" })), index.h("div", { key: '6dfe49c72ee8e6eb456ad37de7610b0eded2c783', class: "novl-content" }, index.h("div", { key: 'd38bb2266b48a85fc180a99139d5399c4ee7299f', class: "main-content" }, index.h("div", { key: '916072b07837bdd8b3f1843c0f1a3a3814d81550', class: "upper-hld" }, this.renderStatusChips(), index.h("div", { key: 'eec3e7038a96c967ba7c9fe5d0bad2778d42f2b3', class: "upper-right" }, this.renderEditInfoButton())), index.h("div", { key: 'b315a90ad3d415fe0b5afc25016fa2ef1a68524e', class: "main-content-inner" }, index.h("div", { key: 'e73d5cb8c6761b0bdfef4bb5dfd4c704f9a18cdf', class: "title-hld" }, this.skeleton ? (index.h("h1", { class: "title-text title-skeleton loading" }, "\u00A0")) : (index.h("h1", { class: "title-text" }, this.novlTitle)))), this.skeleton ? (index.h("span", { class: "story-stats stats-skeleton loading" }, "\u00A0")) : (index.h("span", { class: "story-stats" }, this.likes > 0 && (index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.likes), index.h("span", { class: "story-stat-label" }, this.likesText))), this.likes > 0 && index.h("span", { class: "story-stat-separator" }, "\u00B7"), this.views > 0 && (index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.views), index.h("span", { class: "story-stat-label" }, this.viewsText))), this.views > 0 && index.h("span", { class: "story-stat-separator" }, "\u00B7"), index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.readingDuration === '-1' ? 'N/A' : this.readingDuration), index.h("span", { class: "story-stat-label" }, this.readingDurationText)))), index.h("div", { key: '78bb1f9ed46344325d51fbd5d9a5239a3d9fa075', class: "novl-details" }, this.skeleton ? ([
|
|
159
159
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
160
160
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
161
161
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
@@ -164,7 +164,7 @@ const UrNovlOverviewInfo = class {
|
|
|
164
164
|
...this.languages.split(',').map(language => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: language }))),
|
|
165
165
|
...this.literatureTypes.split(',').map(litType => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: litType }))),
|
|
166
166
|
...this.genres.split(',').map(genre => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: genre })))
|
|
167
|
-
])), index.h("div", { key: '
|
|
167
|
+
])), index.h("div", { key: 'f28a0683ed3ac49a136178cd35357490c792267f', class: "actions-holder" }, this.skeleton ? ([
|
|
168
168
|
index.h("ur-button", { skeleton: true, class: "summary-action", "full-width": this.deviceSize === 'large' ? false : true }),
|
|
169
169
|
index.h("ur-button", { skeleton: true, class: "summary-action" })
|
|
170
170
|
]) : ([
|
|
@@ -175,13 +175,13 @@ const UrNovlOverviewInfo = class {
|
|
|
175
175
|
this.novlPaid &&
|
|
176
176
|
(this.novlPurchasedAt ? (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onReadStory() }, this.readStoryText)) : (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onBuyStory() }, this.buyStoryText, "\u00A0", index.h("span", { class: "buy-price" }, this.novlPrice)))),
|
|
177
177
|
this.isUserLoggedIn && (index.h("ur-button", { class: "summary-action", icon: "collections_bookmark--outlined", variant: "text", onClick: () => this.onToggleLibrary() }, this.addToLibraryText))
|
|
178
|
-
].filter(Boolean)))), index.h("div", { key: '
|
|
178
|
+
].filter(Boolean)))), index.h("div", { key: 'd30b3277cf6a0b010abbc95cf0dfc38910dd45d0', class: "description" }, index.h("div", { key: 'ddb63d56292aea4b01cefdf007833d1bec458464', class: "description-header" }, this.skeleton ? (index.h("span", { class: "label label-skeleton loading" }, "\u00A0")) : (index.h("span", { class: "label" }, this.descriptionText))), this.skeleton ? (index.h("ur-long-description", { skeleton: true })) : (index.h("slot", { name: "description" }))), index.h("div", { key: '9fa597689a3010c57dc79a32ab0ad5c68a0f21b7', class: "owner-holder" }, this.skeleton ? ([
|
|
179
179
|
index.h("ur-profile-card", { skeleton: true, profileType: "user", avatarSize: "40px" }),
|
|
180
180
|
index.h("ur-profile-card", { skeleton: true, profileType: "page", avatarSize: "40px" })
|
|
181
181
|
]) : ([
|
|
182
182
|
index.h("slot", { name: "owner" }),
|
|
183
183
|
index.h("slot", { name: "owner-page" })
|
|
184
|
-
])), index.h("slot", { key: '
|
|
184
|
+
])), index.h("slot", { key: 'a1b5bb3520675070f090e4e1f374f28adb9d8302', name: "chapters" })), index.h("div", { key: '16506642808ae60144aef4bb89de21fad5bede53', class: "ad-space" }, index.h("slot", { key: '6cc0a8b8007fa5f9d77e804c9ee2539f6d3b5bf6', name: "ad-slot-right" })))));
|
|
185
185
|
}
|
|
186
186
|
renderStatusChips() {
|
|
187
187
|
return (index.h("div", { class: `status ${this.deviceSize === 'small' ? 'small-device' : 'large-device'}` }, this.skeleton ? (index.h("ur-chip", { skeleton: true, size: "32px", class: "status-chip", radius: "50px", border: "2px" })) : (this.storyCompleteStatus ? (index.h("ur-chip", { fontColor: "#1A5100", backColor: "#C6F4D0", radius: "50px", border: "2px", size: "32px", class: "status-chip", clickable: false, label: this.completeText })) : (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-primary))", backColor: "rgb(var(--ur-color-primary-container))", size: "32px", class: "status-chip", border: "2px", radius: "50px", clickable: false, label: this.ongoingText })))));
|
|
@@ -88,7 +88,7 @@ const UrNovlSummary = class {
|
|
|
88
88
|
this.expanded = false;
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (index.h(index.Host, { key: '
|
|
91
|
+
return (index.h(index.Host, { key: 'c4cc261d763eebad38e4515dd16160e28710859a', class: { 'skeleton': this.skeleton } }, index.h("div", { key: '236036f606a6b2dc5f255281df317c97901cd9ab', class: "cover" }, this.skeleton ? (index.h("div", { class: "cover-skeleton loading" })) : (index.h("img", { class: "cover-image", src: this.coverImage, alt: "Novl Cover" }))), index.h("div", { key: 'ecfcbf3c902dbdd16f5335e2d9343a0897c72a04', class: "novl-content" }, index.h("div", { key: 'ba9623eccefb1b2416ccc83a32d9aab5a96fe1ea', class: "status" }, this.skeleton ? (index.h("ur-chip", { skeleton: true, size: "32px", class: "status-chip", radius: "50px", border: "2px" })) : (this.storyCompleteStatus ? (index.h("ur-chip", { fontColor: "#1A5100", backColor: "#C6F4D0", radius: "50px", border: "2px", size: "32px", class: "status-chip", clickable: false, label: this.completeText })) : (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-primary))", backColor: "rgb(var(--ur-color-primary-container))", size: "32px", class: "status-chip", border: "2px", radius: "50px", clickable: false, label: this.ongoingText })))), index.h("div", { key: '310baf98028001f0eed80327da7f06383c064729', class: "main-content" }, this.skeleton ? (index.h("h1", { class: "title-text title-skeleton loading" }, "\u00A0")) : (index.h("h1", { class: "title-text" }, this.novlTitle)), this.skeleton ? (index.h("span", { class: "story-stats stats-skeleton loading" }, "\u00A0")) : (index.h("span", { class: "story-stats" }, this.likes > 0 && (index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.likes), index.h("span", { class: "story-stat-label" }, this.likesText))), this.likes > 0 && index.h("span", { class: "story-stat-separator" }, "\u00B7"), this.views > 0 && (index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.views), index.h("span", { class: "story-stat-label" }, this.viewsText))), this.views > 0 && index.h("span", { class: "story-stat-separator" }, "\u00B7"), index.h("span", { class: "story-stat" }, index.h("span", { class: "story-stat-value" }, this.readingDuration === '-1' ? 'N/A' : this.readingDuration), index.h("span", { class: "story-stat-label" }, this.readingDurationText))))), index.h("div", { key: '0d323096863409f49c447517de80c22c84c6cb19', class: "novl-details" }, this.skeleton ? ([
|
|
92
92
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
93
93
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
94
94
|
index.h("ur-chip", { skeleton: true, size: "28px", class: "info-chip" }),
|
|
@@ -97,7 +97,7 @@ const UrNovlSummary = class {
|
|
|
97
97
|
...this.languages.split(',').map(language => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: language }))),
|
|
98
98
|
...this.literatureTypes.split(',').map(litType => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: litType }))),
|
|
99
99
|
...this.genres.split(',').map(genre => (index.h("ur-chip", { fontColor: "rgb(var(--ur-color-on-surface-lite))", backColor: "rgb(var(--ur-color-surface-container-high))", size: "28px", class: "info-chip", clickable: false, label: genre })))
|
|
100
|
-
])), index.h("div", { key: '
|
|
100
|
+
])), index.h("div", { key: '3749cf7ffaaa01158d5619f928b8975ca6bdc9d0', class: "description" }, index.h("slot", { key: 'ebfe2e41c1320543b9837b801e1899dec773b0e0', name: "description" })), index.h("div", { key: 'dce26c659dff84b579ea4508a6045e8079ed2888', class: "actions-holder" }, this.skeleton ? ([
|
|
101
101
|
index.h("ur-button", { skeleton: true, class: "summary-action", "full-width": true }),
|
|
102
102
|
index.h("ur-button", { skeleton: true, class: "summary-action", "full-width": true }),
|
|
103
103
|
index.h("ur-button", { skeleton: true, class: "summary-action" })
|
|
@@ -108,7 +108,7 @@ const UrNovlSummary = class {
|
|
|
108
108
|
(this.novlPurchasedAt ? (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onReadStory() }, this.readStoryText)) : (index.h("ur-button", { class: "summary-action", variant: "filled", fullWidth: true, onClick: () => this.onBuyStory() }, this.buyStoryText, "\u00A0", index.h("span", { class: "buy-price" }, this.novlPrice)))),
|
|
109
109
|
index.h("ur-button", { class: "summary-action", variant: "outlined", fullWidth: true, onClick: () => this.onLearnMore() }, this.learnMoreText),
|
|
110
110
|
this.isUserLoggedIn && (index.h("ur-button", { class: "summary-action", icon: "collections_bookmark--outlined", variant: "text", onClick: () => this.onToggleLibrary() }, this.addToLibraryText))
|
|
111
|
-
].filter(Boolean))), index.h("div", { key: '
|
|
111
|
+
].filter(Boolean))), index.h("div", { key: '4b96b6dae064b2d7a8b5b1e257811810037a4c95', class: "owner-holder" }, index.h("slot", { key: 'bb8e0610825d0e999e414e3f377f5c21f362f48d', name: "owner" }), index.h("slot", { key: '8c307494f8727460f6361fe7909d0fb958145fab', name: "owner-page" })))));
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
UrNovlSummary.style = urNovlSummaryCss;
|
|
@@ -133,7 +133,7 @@ const UrPageCarousel = class {
|
|
|
133
133
|
return (index.h("swiper-slide", null, this.debug && index.h("span", { class: "index" }, index$1 + 1), index.h("ur-page", Object.assign({}, page, { followLabel: this.followLabel, followingLabel: this.followingLabel, followerLabel: this.followerLabel, followersLabel: this.followersLabel }))));
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (index.h(index.Host, { key: '
|
|
136
|
+
return (index.h(index.Host, { key: 'c0d3747bf1712f5713b57f3a8482f36d4edd35ea' }, index.h("div", { key: 'b742a119c42ae80651947329267b25cca2f112c8', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: 'e558008412bbdb23d8fba208d8eec639584ce4dc', disabled: this.disabledPrev })), this.navigation && (index.h("ur-button-arrow-right", { key: 'bf25fc1fd7d49ea9217a98d760d10134a4208dd5', disabled: this.loading || this.disabledNext })), index.h("swiper-container", { key: 'b15005550fc32c042a4a26f4664a9167d950bc72', 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.pages.map((page, index) => this.renderPage(page, index))))));
|
|
137
137
|
}
|
|
138
138
|
get el() { return index.getElement(this); }
|
|
139
139
|
};
|
|
@@ -104,7 +104,7 @@ const UrPageProfileTabs = class {
|
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
106
|
const visibleTabs = this.getVisibleTabs();
|
|
107
|
-
return (index.h(index.Host, { key: '
|
|
107
|
+
return (index.h(index.Host, { key: 'c281a447dac172060d567e20f9735b05a72605b2' }, index.h("mdui-tabs", { key: '480a127e0079b5129f05cab6b2b97c41db9b1019', 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 })))))));
|
|
108
108
|
}
|
|
109
109
|
static get watchers() { return {
|
|
110
110
|
"activeTab": ["activeTabChanged"]
|
|
@@ -227,14 +227,14 @@ const UrPageProfile = class {
|
|
|
227
227
|
'profile-mobile-main': this.platform === 'mobile-main',
|
|
228
228
|
'profile-mobile-secondary': this.platform === 'mobile-secondary',
|
|
229
229
|
};
|
|
230
|
-
return (index.h(index.Host, { key: '
|
|
230
|
+
return (index.h(index.Host, { key: 'b043caff9517bfd1e050299d5a8393359e677e69', class: classes }, index.h("div", { key: '8c2a766d9e50b7064ace7828ffc914fb724be798', class: classes }, this.platform === 'desktop' && (index.h("div", { key: '473dbefc5a74c3f11546ca40ac51c91153762448', class: "desktop-content" }, index.h("div", { key: 'bb25b2f679d9974c9439dfedb5c5d942196725be', class: "avatar" }, index.h("ur-avatar", { key: 'f420b4c88bf98e3488c1fb3daf22dc663a6d944c', border: "4px", radius: "8px", size: "96px", src: this.avatar, name: this.name, variant: "page", skeleton: this.skeleton })), index.h("div", { key: '6435c1c0564d6d544df9c91fe5bf27ad5ce78c8f', class: "info" }, index.h("div", { key: '11c04aff1103165622cf57a20cd52ac8813fe80f', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '200px', height: '22px' } }) : this.name), this.renderPageType(), this.skeleton ? index.h("ur-long-description", { class: "about", skeleton: true }) : this.about && index.h("ur-long-description", { class: "about", description: this.about }), this.renderLocation(), this.renderSocialLinks(), this.renderWebsite()), this.renderActions())), this.platform === 'desktop' && [
|
|
231
231
|
this.renderStats(),
|
|
232
232
|
this.renderLanguages(),
|
|
233
233
|
this.renderGenres(),
|
|
234
234
|
this.renderLiteratureTypes(),
|
|
235
235
|
this.renderPageCreator(),
|
|
236
236
|
this.renderPageCreationDate(),
|
|
237
|
-
], this.platform === 'mobile-main' && (index.h("div", { key: '
|
|
237
|
+
], this.platform === 'mobile-main' && (index.h("div", { key: 'd8d408472d262ed2c2f9a01dc8b508ab77af62f2', class: "mobile-main-content" }, index.h("div", { key: 'b4de788dbd1de6dfd5675927b92e93f1f9a18c8b', class: "avatar" }, index.h("ur-avatar", { key: 'b3d0f4ae9c6cfc0f87170014adbfa2ca3a841a9f', border: "4px", radius: "8px", size: "96px", src: this.avatar, name: this.name, variant: "page", skeleton: this.skeleton })), index.h("div", { key: 'ab0e40d8bd4a1b75127cf563477f8264de36bcf3', class: "info" }, index.h("div", { key: 'bf2df8fc590c613cf7a9bd5158191e284e44805c', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '200px', height: '22px' } }) : this.name), this.renderPageType(), this.skeleton ? index.h("ur-long-description", { class: "about", skeleton: true }) : this.about && index.h("ur-long-description", { class: "about", description: this.about })), this.renderActions())), this.platform === 'mobile-secondary' && [
|
|
238
238
|
this.renderLocation(),
|
|
239
239
|
this.renderSocialLinks(),
|
|
240
240
|
this.renderWebsite(),
|
|
@@ -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: 'f84fb8dd89ca68866302b4492ac252bca7f56a92' }, index.h("mdui-tabs", { key: '756430f965a79d28997695048bcd88ded7649e7d', 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 = urPageSharedListTabsCss;
|
|
@@ -258,13 +258,13 @@ const UrPlayer = class {
|
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
260
|
const themeClass = this.darkMode ? 'dark-theme' : 'light-theme';
|
|
261
|
-
return (index.h(index.Host, { key: '
|
|
261
|
+
return (index.h(index.Host, { key: 'ad414bcfb88436b3554f10d29a15b83ee63687bd', class: themeClass, ref: el => (this.element = el) }, index.h("audio", { key: 'f5bbbda08714c5d1f9ab81d29d0603a10469f69b', ref: el => (this.audioRef = el), src: this.src, preload: "auto", onTimeUpdate: this.onTimeUpdate, onLoadedMetaData: this.onLoadedMetadata, onProgress: this.onProgress, onEnded: this.onEnded, onPlay: this.onPlay, onPause: this.onPause, onError: this.onError, style: { display: 'none' } }), index.h("div", { key: 'a350c54310725d10a50e0b353ecbcb91147705d7', class: "player-container" }, index.h("div", { key: '69c88b940e068fd172d205d1fac5e3d0402fcca6', class: "player-header" }, this.coverImage && (index.h("div", { key: 'b36c063c9af1436c5439b61624452eff34de35bc', class: "cover-image" }, index.h("img", { key: '1171d1e9764270156b34b0879f39151069300d96', src: this.coverImage, alt: `${this.storyTitle} cover` }))), index.h("div", { key: '01cea0b90ad226e3aa82f016d39a2874dda648f8', class: "player-info" }, index.h("h2", { key: '6bb7f37214918a606ec11e4ff27bbceb5145c0e4', class: "title" }, this.storyTitle), index.h("p", { key: '257dcda0d1ebd60ffba0e9f827eac324e5ae67ec', class: "author" }, this.author), index.h("p", { key: '7fb1b15be79b0e43ae6eb0b8e2634e5f81701a4e', class: "chapter" }, this.chapterName))), index.h("div", { key: '018b61b230e42b08039f7f37e9c1e3abf2f44716', class: "progress-container" }, index.h("div", { key: '1ede43bcb64771d9751d189e3105312ded0fe7c8', class: "progress-bar", onClick: this.handleProgressClick }, index.h("ur-linear-progress", { key: '5209c1e2a5bc1e753f9ecab7bd614757abccedb1', value: this.currentTime, max: this.duration }), index.h("div", { key: '93243265e85bebc7b48c506ecc8dcdde8d0d0c5f', class: "progress-thumb", style: {
|
|
262
262
|
left: `${(this.currentTime / (this.duration || 1)) * 100}%`,
|
|
263
263
|
display: this.duration > 0 ? 'block' : 'none',
|
|
264
|
-
}, onMouseDown: this.handleThumbMouseDown })), index.h("div", { key: '
|
|
264
|
+
}, onMouseDown: this.handleThumbMouseDown })), index.h("div", { key: '4bf4fb578ca001c3d0114740db5eba3c5719976d', class: "time-display" }, index.h("span", { key: 'c35e405c379ced6a53a54347a456154ffbb5ad9c', class: "current-time" }, this.formatTime(this.currentTime)), index.h("span", { key: '579be9219a4b117543df8f959dffdc491405e1c7', class: "duration" }, this.formatTime(this.duration)))), this.showControls && (index.h("div", { key: 'cf5d2a4d2431cfa48dc656022c2b8176cc3d38e6', class: "controls" }, index.h("div", { key: '40a2a087d899d473a4947b97df75e85fd75e2614', class: "main-controls" }, index.h("ur-button-icon", { key: 'cb02a8cfa6452faf94b2549a75b2428c0d688df4', icon: "skip_previous", variant: "standard", buttonHeight: "44px", buttonWidth: "44px", onClick: this.handleSkipBackward, "aria-label": this.backwardText }), index.h("ur-button-icon", { key: '9dd35dcdc4cb987138689a6bbd996a0db1ee9874', class: "play-pause-button", icon: this.isPlaying ? 'pause' : 'play_arrow', variant: "filled", buttonHeight: "56px", buttonWidth: "56px", onClick: this.handlePlayPause, "aria-label": this.isPlaying ? this.pauseText : this.playText }), index.h("ur-button-icon", { key: 'c1b97a8a1740bac243c40e98b1bfc5565bd27097', icon: "skip_next", variant: "standard", buttonHeight: "44px", buttonWidth: "44px", onClick: this.handleSkipForward, "aria-label": this.forwardText })), index.h("div", { key: 'ce63edad946e1dfc0fc58707dce3cdbe672a6ea3', class: "secondary-controls" }, index.h("div", { key: 'c7c1e3776dadfdfc5c5768d6637f5b0b45b7b288', class: "speed-control" }, index.h("ur-tooltip", { key: '15ed2478980c1b0f2c9eb7db548dd75ba46c26fb', variant: "rich", placement: "top", trigger: "click" }, index.h("ur-button-icon", { key: 'c5e2ca0286bb5cd5a6c0752e73a915fb2f8c6a8d', slot: "", icon: "speed", variant: "standard", buttonHeight: "36px", buttonWidth: "36px", "aria-label": this.speedText }), index.h("div", { key: '3106ca40262b063426304b7a5aa7d6dc4bc8e133', slot: "rich-content", class: "speed-options" }, [0.5, 0.75, 1.0, 1.25, 1.5, 2.0].map(rate => (index.h("button", { class: {
|
|
265
265
|
'speed-option': true,
|
|
266
266
|
'active': this.playbackRate === rate,
|
|
267
|
-
}, onClick: () => this.handlePlaybackRateChange(rate) }, rate, "x")))))), index.h("div", { key: '
|
|
267
|
+
}, onClick: () => this.handlePlaybackRateChange(rate) }, rate, "x")))))), index.h("div", { key: 'a78bd7abaf7d7d7a995fda08c76c5e67376a9475', class: "volume-control" }, index.h("ur-button-icon", { key: '569efdd4a0a9e78943a997040b4751caf7f9fad9', icon: this.volume === 0 ? 'volume_off' : this.volume < 0.5 ? 'volume_down' : 'volume_up', variant: "standard", buttonHeight: "36px", buttonWidth: "36px", onClick: this.handleVolumeChange, "aria-label": this.volumeText }), index.h("div", { key: '045a43965d9733fff4176663832510d72dc4ff1c', class: "volume-slider-container" }, index.h("input", { key: '28b365c998a11c376756aa66afe6943cabb36d12', title: "Volume", type: "range", min: "0", max: "1", step: "0.01", value: this.volume, class: "volume-slider", onInput: this.handleVolumeChange })))))))));
|
|
268
268
|
}
|
|
269
269
|
static get watchers() { return {
|
|
270
270
|
"src": ["onSourceChange"]
|
|
@@ -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: '02c1b02a214a18dd7f4ddb57a61ef8077684f2b3' }, index.h("div", { key: '0a3dd05791f0951f79f28dc2006e8f4b3ce1ac82', class: "profile" }, index.h("div", { key: 'a1ff5850a4f7f75fa8499bdea4c003c9627fa1a7', class: "name" }, this.name), this.description && index.h("div", { key: '519edc5d85be8b1851ed30b16d7ea6a2d86bc127', class: "description" }, this.description), this.location && index.h("div", { key: '12652d011d9d3d7821c4d4c409e12a4dd246aa37', class: "location" }, this.location), index.h("div", { key: 'a0d120bd9a8647b8a9b051d1f19e8a76dc651590', class: "social" }, this.facebook_url && index.h("a", { key: 'bf4f1197094787163eeb46ceb12d82db7d2c9022', href: this.facebook_url, title: "facebook", target: "_blank" }, index.h("span", { key: 'aef9c00b0ea34be38f113b86664c29ee5024c15c', class: "icon", innerHTML: Icons.facebook })), this.twitter_url && index.h("a", { key: 'e77d42c443bed810943f3b235cbcac4028a23ae1', href: this.twitter_url, title: "twitter", target: "_blank" }, index.h("span", { key: '9c943a6a820e409825670d5f862d2f405d5110bf', class: "icon", innerHTML: Icons.twitter })), this.linkedin_url && index.h("a", { key: '0dc2843672345773c2aa497ebfcdebee572b17a4', href: this.linkedin_url, title: "linkedin", target: "_blank" }, index.h("span", { key: 'ad53e09ce1ad21fe3d59e585ed1407cfe3849456', class: "icon", innerHTML: Icons.linkedin })), this.email && index.h("a", { key: '9d3740b9f141c94bafc3e812a5eb384f19260c2a', href: "mailto:" + this.email, title: "email", target: "_blank" }, index.h("span", { key: 'ee47bf0778f92e54573a88a9e2f2caa051bd66f7', class: "icon", innerHTML: Icons.email })), this.phone && index.h("a", { key: 'e55fd16d285ae6681f01aa17ee943c108e5d22af', href: "tel:" + this.phone, title: "phone", target: "_blank" }, index.h("span", { key: 'ecf0c898ae7d287b978ef23f3d95a9be78d76b14', class: "icon", innerHTML: Icons.phone }))), this.website && index.h("a", { key: '2a0743ebfcdf29de63aeeef3aa0e4bf2803152c9', class: "website", href: this.website, title: "website", target: "_blank" }, index.h("span", { key: '8d508100124ba10d474c32b1eeaf28edf621dabe', class: "icon", innerHTML: Icons.website }), this.website), this.show_follow && index.h("div", { key: '42460b4c2ef50e179833bbd3cc2d69180bcf76b3', class: "follow-action action" }, index.h("mdui-button", { key: '01d4d59f571ea83c920ccd2585a11e1f5d54a69b' }, "Follow")), this.show_donate && index.h("div", { key: 'f3dd1c07589103dc435bd97b0914e659f9a50436', class: "donate-action action" }, index.h("mdui-button", { key: '3c73ec8b919a7c3f1e3cbb0859aee97792ec95e8', variant: "outlined" }, "Donate")), this.show_become_member && index.h("div", { key: '6f7e616bc0c7d7b4b96bba92046481dc1f8b5017', class: "member-action action" }, index.h("mdui-button", { key: 'd044e01663562a226e4640ee0067fcd37c33f560', variant: "outlined" }, "Become Member")), this.show_send_message && index.h("div", { key: 'e88b2f7db1fb909d2c15784256d093ab05f2f749', class: "message-action action" }, index.h("mdui-button", { key: '28ca481b39c5a0aeff4ecba4a9380e98fa23cbbe', variant: "outlined" }, "Message")), this.show_stats && index.h("div", { key: 'c7bd3fb2e57e0341d4393d6bf4de636e9b82d7bd', class: "stats" }, index.h("div", { key: '75fa63843c2c9896c12847c459fd0e69492b8f77', class: "stat" }, index.h("span", { key: '0e3ec824c579a5fa4da8502e62f9f156024f89ca', class: "label" }, "Stories"), index.h("span", { key: 'c20e6dbbc36cc68b5d28c2ca7a733a02a4653a94', class: "value" }, this.stories_count)), index.h("div", { key: '2769b1c4ece4c545ac4c45f1f234423c24087625', class: "stat" }, index.h("span", { key: '89f53a4583aaf6eb3b58d1dbb589ab49be15b0ac', class: "label" }, "Views"), index.h("span", { key: '2dd2b8826a3fac9ef034ac15bc71a8761e321822', class: "value" }, this.views_count)), index.h("div", { key: 'f63c1661b2186a2221f75f9bdecf1edfa6e3404c', class: "stat" }, index.h("span", { key: '0a5d80c56d46465b742fbf4b9a882cc2d59446d8', class: "label" }, "Followers"), index.h("span", { key: 'f1cb7ef721547801494ae5b28c3b9fd5cb7caa27', class: "value" }, this.followers_count)), index.h("div", { key: '593ba1bf72c71502f7f4adf998456fc36b40b6a2', class: "stat" }, index.h("span", { key: '9dde03f573314ae1dff6cf94003ddca0d61d3471', class: "label" }, "Writers"), index.h("span", { key: '9a8f13057d53ca4971bbe01db5895dcfe76025c8', class: "value" }, this.writers_count))), this.show_languages && this.languages.trim().length > 0 && index.h("div", { key: 'fa00c9bef5ab933dbbdff324faaf72e2dc9e8001', class: "languages" }, index.h("div", { key: 'f0b1ece6094797f942dd10bd02ec9afe4504549a', class: "title" }, "Languages"), index.h("div", { key: '9d823f4edc7f805f5772d09797077ce407949fb8', 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: '74587026da21d9536e5696a90977f43e3982e32f', class: "genres" }, index.h("div", { key: 'fec9a23bf43be8ad87fa4f73ccab42773e8234d9', class: "title" }, "Genres"), index.h("div", { key: 'a8dcd81957591ff9b1da3fa044ec6d54a5704d75', 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: '8cba8c447bcede8e9c7d20cb5293d279ba55cdcd', class: "member_since" }, "Member Since: ", this.member_since.trim()))));
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
UrProfile.style = urProfileCss;
|
|
@@ -201,7 +201,7 @@ const UrRadioButton = class {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
render() {
|
|
204
|
-
return (index.h(index.Host, { key: '
|
|
204
|
+
return (index.h(index.Host, { key: '62bd549534e6a98bb304a62b26d79ae1c2d547ca' }, index.h("mdui-radio", { key: 'af4deb4e29d0d21babe3f5a7bce4f728d6e7a2ef', checked: this.checked, disabled: this.disabled, name: this.name, onClick: this.handleClick, class: this.fullWidth ? 'full-width' : '' }, index.h("slot", { key: 'd6c89e2b41c18bd774e5d731151b550b3f938067' }))));
|
|
205
205
|
}
|
|
206
206
|
static get watchers() { return {
|
|
207
207
|
"checked": ["watchChecked"]
|
|
@@ -544,7 +544,7 @@ const UrRadioGroup = class {
|
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
546
|
render() {
|
|
547
|
-
return (index.h(index.Host, { key: '
|
|
547
|
+
return (index.h(index.Host, { key: '0f0f5e86ea4a892238f6dc3676a0f7852673346b' }, index.h("mdui-radio-group", { key: '249fff1d1e6cd225b93d9446ab83724779b75efc' }, index.h("slot", { key: '3ff1d3f38b7a867a37e5d50fe4ed156b0130ce10', onSlotchange: this.onSlotChange }))));
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
550
|
UrRadioGroup.style = urRadioGroupCss;
|
|
@@ -38,7 +38,7 @@ const UrMainDesktopTopAppBar = class {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '98c1c3a99594cf5a58e1bb830464e6a8f3b2592f' }, index.h("mdui-top-app-bar", { key: 'ebf1ed80d41d5438795eda1909994ddb32617971', variant: this.variant, "scroll-target": ".example-scroll-target", "scroll-behavior": this.scrollBehavior, "scroll-threshold": this.scrollThreshold }, index.h("ur-button-icon", { key: '1ebcde1084720e936e79f118d5b4b057dd0b9ca7', icon: "arrow_back", variant: "standard", "aria-label": "Back", onClick: this.handleBackClick }), index.h("mdui-top-app-bar-title", { key: 'a69508cba72f4361d2f4c07a7685be8f2908ea71' }, this.headerTitle), index.h("ur-button-icon", { key: '9702ba73dcbb8668681969778e1015d5c860ff7d', icon: "library_books--outlined", variant: "standard", "aria-label": "Chapters", onClick: this.handleChaptersClick }), index.h("ur-button-icon", { key: '6c83de7c0943f490eebc234ccd3fb60afa0b88f6', icon: "text_format--outlined", variant: "standard", "aria-label": "Reading Settings", onClick: this.handleReadingSettingsClick }))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
UrMainDesktopTopAppBar.style = urReadMobileTopAppBarCss;
|
|
@@ -82,10 +82,10 @@ const UrReadRailMobile = class {
|
|
|
82
82
|
this.updateVisibility();
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (index.h(index.Host, { key: '
|
|
85
|
+
return (index.h(index.Host, { key: '47370a65f557a433379cd167d414e0d6b41b2956', class: {
|
|
86
86
|
'ur-read-rail': true,
|
|
87
87
|
'hidden': !this.isVisible, // Apply hidden class when isVisible is false
|
|
88
|
-
} }, index.h("div", { key: '
|
|
88
|
+
} }, index.h("div", { key: '37ec3820ce2ec1d3cc04d3f116918b33c9336d78', class: "profile-holder" }, index.h("ur-avatar", { key: '68818a6fcf1ce625ec7bc11ce1e0c8d1c4fff27b', class: "avatar-button", src: this.avatarSrc, border: "4px", size: "56px", name: this.avatarName, onClick: () => this.handleViewProfile() }), !this.isFollowed && index.h("ur-button-icon", { key: 'fcd3cf9f345bf081e05cf8d6ff8e3468d324af18', class: "follow-btn", icon: "add", variant: "filled", onClick: () => this.handleFollow() })), index.h("div", { key: '2678258df533de96f8de4de6bd71ea8d2d41eb77', class: "actions-holder" }, index.h("div", { key: '9f07ef72d9d32726d784497a69faa6e07123bbd6', class: "action" }, index.h("ur-button-icon", { key: '1aee1f604fcca261c253d08c3743109485863b67', icon: "thumb_up--outlined", variant: "standard", onClick: () => this.handleLike() }), index.h("span", { key: 'feb13385f4841ca6b3cd099b7b61909bfb9b89ed', class: "action-label" }, this.likes)), index.h("div", { key: '6371fca3c7f60227db6e93867b42de29f26f81a6', class: "action" }, index.h("ur-button-icon", { key: '5ac7c44f9da61576e0f6c9d1b355611b22693a41', icon: "thumb_down--outlined", variant: "standard", onClick: () => this.handleDislike() }), index.h("span", { key: '87d8b21752d9a4e7f5e60aca066eb77b54235594', class: "action-label" }, this.dislike)), index.h("div", { key: 'd6027264a7944a694bb9b740a925e49d1c5650d6', class: "action" }, index.h("ur-button-icon", { key: 'cb8c2a78ea0c774e187c9b2f4c723ba360c40a49', icon: "comment--outlined", variant: "standard", onClick: () => this.handleComment() }), index.h("span", { key: '5f29172fc300d205788c27b0f2d0e2dbfc0eb05f', class: "action-label" }, this.comments)), index.h("div", { key: '87a7e7514f8c6b97725badee3b87340bc5de80d9', class: "action" }, index.h("ur-button-icon", { key: '8e01af5932a3a514e99e95a564f0b48838ed5e7a', icon: "volunteer_activism--outlined", variant: "standard", onClick: () => this.handleDonate() }), index.h("span", { key: '9705005c96e249083cf87b5903eaf011dc6be125', class: "action-label" }, this.donate)), index.h("div", { key: '6b891828f34a8f470b249717c65815eda6d5c6d5', class: "action" }, index.h("ur-button-icon", { key: '485b80f7865f60a04d0104d53e369c4126ac132c', icon: "share--outlined", variant: "standard", onClick: () => this.handleShare() }), index.h("span", { key: '334a14f5e3d1184e40771816f9d01636a45a54be', class: "action-label" }, this.share)))));
|
|
89
89
|
}
|
|
90
90
|
get el() { return index.getElement(this); }
|
|
91
91
|
static get watchers() { return {
|
|
@@ -112,10 +112,10 @@ const UrReadRail = class {
|
|
|
112
112
|
this.updateVisibility();
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '29df4bbe6b53dacd96fa6d39fea78d5777891cad', class: {
|
|
116
116
|
'ur-read-rail': true,
|
|
117
117
|
'hidden': !this.isVisible, // Apply hidden class when isVisible is false
|
|
118
|
-
} }, index.h("div", { key: '
|
|
118
|
+
} }, index.h("div", { key: 'a41ca0f57ca58ab805725516013ede61577c4c87', class: "profile-holder" }, index.h("ur-avatar", { key: 'a34b18fbc3b92b64ab815c564d2be7b56a2b1d9d', 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: '7e7b85623c6608455eeabc27e83114cef9d0fd05', class: "follow-btn", icon: "add", variant: "filled", onClick: () => this.handleFollow() })), this.pageId && this.pageName && (index.h("div", { key: '5dae92649635e2265c8efaa5f0c446e823e448bb', class: "profile-holder page-profile" }, index.h("ur-avatar", { key: 'be2d95a469bbac11a20a559771d25a6f0bc51f87', class: "avatar-button", src: this.pageSrc, border: "4px", size: "56px", name: this.pageName, variant: "page", radius: "8px", onClick: () => this.handleViewPageProfile() }), !this.isPageFollowed && index.h("ur-button-icon", { key: '980e1d5fef1996de0232b109715e13434062365a', class: "follow-btn", icon: "add", variant: "filled", onClick: () => this.handlePageFollow() }))), index.h("div", { key: '69b3334c650926905bbba172c2e36563f0d5b468', class: "actions-holder" }, index.h("slot", { key: '9f679457a9ad418162f2db6d8d1c3137a954a6f1', name: "thumbs-rating" }), index.h("div", { key: '0a57b678aace832485bb58957c698dddb42a440e', class: "action" }, index.h("ur-button-icon", { key: 'f3e7380ef2c7e010b83d25a9578cc941d8d303ac', icon: "comment--outlined", variant: "standard", onClick: () => this.handleComment() }), index.h("span", { key: '9cfc9b69dd9fb8f7607d09fe7afffe9c2a62df2b', class: "action-label" }, this.comments)), this.isDonationsEnabled && !this.isPaidChapter && !this.isOwnChapter && this.isAuthorPro && (index.h("div", { key: '389827afcf5f89366eca436816df870f309e9efb', class: "action" }, index.h("ur-button-icon", { key: 'd70ea1f44fd0ef81f6ae2655f0f8f1cce6b20634', icon: "volunteer_activism--outlined", variant: "standard", onClick: () => this.handleDonate() }), index.h("span", { key: '20b64fc924c0a8292f53b71355fb38176d76b485', class: "action-label" }, this.donate))), this.renderShareButton())));
|
|
119
119
|
}
|
|
120
120
|
get el() { return index.getElement(this); }
|
|
121
121
|
static get watchers() { return {
|
|
@@ -112,7 +112,7 @@ const UrReadTopAppBar = class {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '90f73c0dac81541dbbeb5753592fe41bee28a2b1' }, index.h("mdui-top-app-bar", { key: 'aa33aaa714944f1221dccb4f245a794c1bd34cc2', 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: 'f32eb964cc85f6669228dd48bb6324ac88df6c44' }, this.novelTitle), this.isChapterOwner && (index.h("ur-tooltip", { key: 'cbeca37f88591286e79c5b3113b9b09f4f6e5d43', content: this.editChapterTooltip, placement: "bottom", trigger: "hover", colorScheme: "dark" }, index.h("ur-button-icon", { key: 'c5706a29853bcf77181bbd7c16a1da2bd6e9a205', icon: "edit", variant: "standard", "aria-label": "Edit Chapter", onClick: this.handleEditChapterClick }))), this.deviceVariant === 'desktop' && index.h("slot", { key: '1d56ffa366c8347f739a278831d57887a560967c', name: "chapter-select" }), this.deviceVariant === 'mobile' && (index.h("ur-tooltip", { key: '094b4c1f22715ffc9e4d81c7a6d574bb7a21f4e3', content: this.selectChapterTooltip, placement: "bottom", trigger: "hover", colorScheme: "dark" }, index.h("ur-button-icon", { key: 'c15acf537ee9201520be8b23482abff899354fa8', icon: "list", variant: "standard", "aria-label": "Select Chapter", onClick: this.handleChapterButtonClick }))), index.h("ur-tooltip", { key: 'dd81a05b9fd969bc107b8dddffafb127326bde5e', content: this.storySummaryTooltip, placement: "bottom", trigger: "hover", colorScheme: "dark" }, index.h("ur-button-icon", { key: '1798d70f3fc41089be4fc3d22290ca179a634797', icon: "info_outline", variant: "standard", "aria-label": "Story Summary", onClick: this.handleStorySummaryClick })), index.h("ur-tooltip", { key: '039d09af3a74da0133d85e67644ec6d796e81e6e', content: this.readingSettingsTooltip, placement: "bottom-left", trigger: "hover", colorScheme: "dark" }, index.h("ur-button-icon", { key: '3f59e0423ce80891ffe4a6b3940196135db77415', icon: "text_format--outlined", variant: "standard", "aria-label": "Reading Settings", onClick: this.handleReadingSettingsClick })), index.h("div", { key: '0e206a54a18a99fac316974412a82e8ac8f2a791', class: "read-progress" }, index.h("slot", { key: '96950143c8ac22712a73cd656c3df9018ef1f8d7', name: "read-progress" })))));
|
|
116
116
|
}
|
|
117
117
|
get el() { return index.getElement(this); }
|
|
118
118
|
};
|
|
@@ -565,7 +565,7 @@ const UrSegment = class {
|
|
|
565
565
|
this.likeLabel = '2.5k'; // Default label is 'Like'
|
|
566
566
|
}
|
|
567
567
|
render() {
|
|
568
|
-
return (index.h(index.Host, { key: '
|
|
568
|
+
return (index.h(index.Host, { key: 'ca7d34d8c7dfa6e45c7ed431c2e9cd39e9494bde' }, index.h("mdui-segmented-button-group", { key: '0e995de4f387adb2b27af437522f48e5e7c8b190', selects: "single" }, index.h("mdui-segmented-button", { key: 'e0036bf1058b660f7f5d614e1846659ab1f76919', icon: "thumb_up--outlined", "selected-icon": "thumb_up", value: "like" }, this.likeLabel), index.h("mdui-segmented-button", { key: '644e878c99f419d6d3c122663d6a30ef36069467', icon: "thumb_down--outlined", "selected-icon": "thumb_down", value: "dislike" }))));
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
571
|
UrSegment.style = urSegmentButtonCss;
|
|
@@ -502,7 +502,7 @@ const UrSelect = class {
|
|
|
502
502
|
};
|
|
503
503
|
// For multi-select, always use this.value directly, for single-select use displayText fallback
|
|
504
504
|
const selectValue = this.multiple ? this.value : (this.displayText || this.value);
|
|
505
|
-
return (index.h(index.Host, { key: '
|
|
505
|
+
return (index.h(index.Host, { key: 'c1d447eacac7364d7a659a4a0659a3c7fbe78b0f', style: selectStyles }, index.h("mdui-select", { key: 'd2f29886437be87f29ea2218e4d7fb863961a9ae', name: this.name, value: selectValue, label: this.label || '', 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, onChange: this.handleChange }, this.icon && (index.h("mdui-icon", { key: '1975acb70344af747191ffb5059b55f1917fac8e', slot: "icon", name: this.icon })), this.endIcon && (index.h("mdui-icon", { key: '6b7f9efef214bb58cb93625376ad633527c9b2a0', slot: "end-icon", name: this.endIcon })), this.suffix && index.h("span", { key: 'da2ba489a3c2117efbe131bcea07ba0d8e34ac84', slot: "suffix" }, this.suffix), index.h("slot", { key: '2270aa6dfdf100c675f928a13d8fb04295941843' }), this.helper && index.h("span", { key: 'ddbc29171704274c6e01cf2c00d6f7265e914774', slot: "helper" }, this.helper))));
|
|
506
506
|
}
|
|
507
507
|
static get watchers() { return {
|
|
508
508
|
"value": ["handleValueChange"]
|
|
@@ -438,12 +438,12 @@ const UrSnackbar = class {
|
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
render() {
|
|
441
|
-
return (index.h(index.Host, { key: '
|
|
441
|
+
return (index.h(index.Host, { key: '1845eebfbab437a61120ceb628b6a5b205a74d82' }, index.h("mdui-snackbar", { key: 'fc739be6dd3b604974cc3cdffb3e9860a714c184', open: this.open, placement: this.placement, action: this.action, "action-loading": this.actionLoading, closeable: this.closeable, "close-icon": this.closeIcon, "message-line": this.messageLine, "auto-close-delay": this.autoCloseDelay, "close-on-outside-click": this.closeOnOutsideClick, onOpen: this.handleOpen, onOpened: this.handleOpened, onClose: this.handleClose, onClosed: this.handleClosed, "onAction-click": this.handleActionClick, style: {
|
|
442
442
|
'--z-index': this.zIndex,
|
|
443
443
|
'--shape-corner': this.radius,
|
|
444
444
|
'background-color': this.backColor,
|
|
445
445
|
'color': this.fontColor,
|
|
446
|
-
} }, this.message, index.h("slot", { key: '
|
|
446
|
+
} }, this.message, index.h("slot", { key: 'a2b6c5005cb1ef14940aee5655d7a47ae988e58a' }), index.h("slot", { key: '1cd1e0c3274016c43a7a24c4321810e0ae4b4f80', name: "action", slot: "action" }), index.h("slot", { key: 'a46ac6ccd8a10059a9228e9b0fcdb438e570357c', name: "close-button", slot: "close-button" }), index.h("slot", { key: 'a14b7ec74bf6580a1082c816c0b18d9a816b53da', name: "close-icon", slot: "close-icon" }))));
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
UrSnackbar.style = urSnackbarCss;
|
|
@@ -221,7 +221,7 @@ const UrStepper = class {
|
|
|
221
221
|
this.updateStepVisibility();
|
|
222
222
|
}
|
|
223
223
|
render() {
|
|
224
|
-
return (index.h(index.Host, { key: '
|
|
224
|
+
return (index.h(index.Host, { key: '804c2d55d3ecf24303aae4295d41b6a11fb9e04f', class: this.customClass }, index.h("div", { key: '2f2ac6b517044d102ef6115c9f5df8d4123960d0', class: "stepper-container" }, Array.from({ length: this.stepCount }, (_, index) => this.renderStepIndicator(index + 1)))));
|
|
225
225
|
}
|
|
226
226
|
get el() { return index.getElement(this); }
|
|
227
227
|
};
|
|
@@ -55,7 +55,7 @@ const UrTabs = class {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a;
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
58
|
+
return (index.h(index.Host, { key: '9002d34bf55af5c68d2e0e691a762a9e1ff0b11b' }, index.h("div", { key: '223e1db6d334b70b35fc938f41662ab36c0b3c1f', class: "tabs-container" }, index.h("mdui-tabs", { key: 'c2197748ecf160dfd58c7a1c085fef797c2741f9', value: this.value || ((_a = this.tabs[0]) === null || _a === void 0 ? void 0 : _a.value) }, this.tabs.map(tab => (index.h("mdui-tab", { value: tab.value }, tab.label)))), index.h("div", { key: '70e52d083c856b027dba2a5a4f2b7123caca7c38', class: "panels-container" }, this.panels.map(panel => (index.h("mdui-tab-panel", { value: panel.value }, index.h("slot", { name: `panel-${panel.value}` }, panel.content))))))));
|
|
59
59
|
}
|
|
60
60
|
get el() { return index.getElement(this); }
|
|
61
61
|
};
|
|
@@ -23,15 +23,15 @@ const UrThumbsRating = class {
|
|
|
23
23
|
this.thumbsDown.emit();
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: 'fb6822cdfbcd44e22f1de2a40d86415921b7f528' }, index.h("div", { key: '3a08adeda71737ae7f541fd7717b2a91645288ad', class: "action" }, index.h("ur-button-icon", { key: '858199b06eda98100e9137a9415b3557611a8476', class: {
|
|
27
27
|
'thumbs': true,
|
|
28
28
|
'thumbs-up': true,
|
|
29
29
|
'active': this.isLiked,
|
|
30
|
-
}, icon: this.isLiked ? 'thumb_up' : 'thumb_up--outlined', selectedIcon: "thumb_up", selected: this.isLiked, onClick: () => this.handleThumbsUp() }), index.h("span", { key: '
|
|
30
|
+
}, icon: this.isLiked ? 'thumb_up' : 'thumb_up--outlined', selectedIcon: "thumb_up", selected: this.isLiked, onClick: () => this.handleThumbsUp() }), index.h("span", { key: 'cb00defb218aca8c943ff962b07d2008bfd84ff7', class: "action-text" }, this.likesCount)), index.h("div", { key: '2008d1af58b8c473eb4d125b30880e9553b0bcb9', class: "action" }, index.h("ur-button-icon", { key: 'c22a9d621575f452adffca08a3b2e6538e520c9f', class: {
|
|
31
31
|
'thumbs': true,
|
|
32
32
|
'thumbs-down': true,
|
|
33
33
|
'active': this.isDisliked,
|
|
34
|
-
}, icon: this.isDisliked ? 'thumb_down' : 'thumb_down--outlined', selectedIcon: "thumb_down", selected: this.isDisliked, onClick: () => this.handleThumbsDown() }), index.h("span", { key: '
|
|
34
|
+
}, icon: this.isDisliked ? 'thumb_down' : 'thumb_down--outlined', selectedIcon: "thumb_down", selected: this.isDisliked, onClick: () => this.handleThumbsDown() }), index.h("span", { key: '705231189c0d35b48087b452c53480c9d22e6683', class: "action-text" }, this.dislikeText))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
UrThumbsRating.style = urThumbsRatingCss;
|
|
@@ -121,13 +121,13 @@ const UrTopAppBar = class {
|
|
|
121
121
|
this.scrollThreshold = 30; // Default value
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (index.h(index.Host, { key: '
|
|
124
|
+
return (index.h(index.Host, { key: 'f1acf445fe45e190317cccb91c6d068be3b79dee' }, index.h("mdui-top-app-bar", { key: '232b7a44b9a514f4dab55e95a7013bb84eb2ca77', variant: this.variant, "scroll-target": ".example-scroll-target", "scroll-behavior": this.scrollBehavior, "scroll-threshold": this.scrollThreshold }, index.h("ur-logo", { key: '06611a1fa6b67cc3c0d1bc5f62cb69acfdebad6e', width: "70" // Custom width for the logo
|
|
125
125
|
,
|
|
126
126
|
height: "19" // Custom height for the logo
|
|
127
127
|
,
|
|
128
128
|
color: "currentColor" // Dynamic fill color of the logo
|
|
129
129
|
,
|
|
130
|
-
rotation: this.logoRotation, opacity: this.logoOpacity }), index.h("mdui-top-app-bar-title", { key: '
|
|
130
|
+
rotation: this.logoRotation, opacity: this.logoOpacity }), index.h("mdui-top-app-bar-title", { key: '18eb1d3740398412bd22bcd13cf60bd09daa4443' }, this.headerTitle))));
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
UrTopAppBar.style = urTopAppBarCss;
|
|
@@ -74,7 +74,7 @@ const UrUserCarousel = class {
|
|
|
74
74
|
this.observer.disconnect();
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
77
|
+
return (index.h(index.Host, { key: '8d3d756467fb1a8d1df2365d549fbd8375295775' }, index.h("div", { key: 'c0748d7337bcb2e24aaeb44404080e5e5b212031', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: '0aa95de76cbda0826fe76b7f6119d3cd5ec6c2bc', disabled: true })), this.navigation && (index.h("ur-button-arrow-right", { key: 'e80026ca4345908ca265985da7b5d3d1339f142c', disabled: true })), index.h("swiper-container", { key: 'ff62b4a029dcf727998e034d0a1cf1b008f40868', "breakpoint-base": "container", grid: this.grid, breakpoints: this.breakpoints, "slides-per-view": this.slidesPerView, "space-between": this.spaceBetween }, this.users.map((user, index$1) => {
|
|
78
78
|
if (is_custom_data(user)) {
|
|
79
79
|
return (index.h("swiper-slide", null, index.h("div", { class: "custom", innerHTML: user.content(index$1) })));
|
|
80
80
|
}
|
|
@@ -162,11 +162,11 @@ const UrUserPageProfile = class {
|
|
|
162
162
|
'profile-mobile-main': this.platform === 'mobile-main',
|
|
163
163
|
'profile-mobile-secondary': this.platform === 'mobile-secondary',
|
|
164
164
|
};
|
|
165
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index.h(index.Host, { key: 'a2524fc9dc35487e2827e50bc12e6eb5fd755ab8', class: classes }, index.h("div", { key: 'c012b1230533a7559ed41d41bc49a94e9d8cfe4c', class: classes }, this.platform === 'desktop' && (index.h("div", { key: '03621bd8a3576c2c32c1711313b8f448fc2a3bab', class: "desktop-content" }, index.h("div", { key: '2d0442bd3ea5a093cccd61ba026fe8b5616a7624', class: "avatar" }, index.h("ur-avatar", { key: '556d164bb0562b5076052a278e4732e2cc7fbfa8', border: "4px", radius: "50px", size: "96px", src: this.avatar, name: this.name, skeleton: this.skeleton })), index.h("div", { key: '3e705beb779038d23417e0237a1b80ea06026cd6', class: "info" }, index.h("div", { key: '8768ffa175c9154d8283ba258b4cd047a6d5eed4', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '180px', height: '22px' } }) : this.name), this.renderProfileType(), this.skeleton ? index.h("ur-long-description", { class: "about", skeleton: true }) : this.about && index.h("ur-long-description", { class: "about", description: this.about }), this.renderLocation(), this.renderSocialLinks(), this.renderWebsite()), this.isLoggedIn && this.renderActions())), this.platform === 'desktop' && [
|
|
166
166
|
this.renderStats(),
|
|
167
167
|
this.renderUserCreationDate(),
|
|
168
168
|
this.renderLogoutAction(),
|
|
169
|
-
], this.platform === 'mobile-main' && (index.h("div", { key: '
|
|
169
|
+
], this.platform === 'mobile-main' && (index.h("div", { key: '8c0263a651dbdf89b4eec834c6848c8575e031f3', class: "mobile-main-content" }, index.h("div", { key: '7105f66fb8533e170ec007ede37d59441845abf8', class: "avatar" }, index.h("ur-avatar", { key: '16df193febd57d9d1e0377c64dfe371dbbe819b2', border: "4px", radius: "50px", size: "96px", src: this.avatar, name: this.name, skeleton: this.skeleton })), index.h("div", { key: '0cee88dadb6b2c14a837bd7f4fed1868ad23b424', class: "info" }, index.h("div", { key: '3fcf3ee0b239ba880889317537d9c49605cf9c62', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '180px', height: '22px' } }) : this.name), this.renderProfileType(), this.skeleton ? index.h("ur-long-description", { class: "about", skeleton: true }) : this.about && index.h("ur-long-description", { class: "about", description: this.about })), this.isLoggedIn && this.renderActions())), this.platform === 'mobile-secondary' && [
|
|
170
170
|
this.renderLocation(),
|
|
171
171
|
this.renderSocialLinks(),
|
|
172
172
|
this.renderWebsite(),
|