urnovl-web-components 0.0.259 → 0.0.261
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/radio-DWksGWLi.js +170 -0
- package/dist/cjs/{tab-panel-BS_8ksq9.js → tab-BVwUIXQ4.js} +0 -49
- package/dist/cjs/tab-panel-KdoHPsyE.js +54 -0
- package/dist/cjs/ur-ad-banner.cjs.entry.js +3 -3
- package/dist/cjs/ur-author-page-profile.cjs.entry.js +3 -3
- package/dist/cjs/ur-autosave-drawer.cjs.entry.js +1 -1
- package/dist/cjs/{ur-avatar-COaGB2q6.js → ur-avatar-BV3tq4vp.js} +13 -6
- package/dist/cjs/ur-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ur-bottom-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ur-bravo.cjs.entry.js +2 -2
- package/dist/cjs/ur-button-arrow-left_2.cjs.entry.js +2 -2
- package/dist/cjs/ur-button-icon.cjs.entry.js +1 -1
- package/dist/cjs/ur-button.cjs.entry.js +3 -1
- package/dist/cjs/ur-chapter-item.cjs.entry.js +1 -1
- package/dist/cjs/ur-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ur-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/ur-comment-form.cjs.entry.js +5 -2
- package/dist/cjs/ur-competition-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ur-competition-novl-card_2.cjs.entry.js +8 -8
- package/dist/cjs/ur-competition-overview.cjs.entry.js +3 -2
- package/dist/cjs/ur-competition.cjs.entry.js +5 -5
- package/dist/cjs/ur-dialog.cjs.entry.js +8 -4
- package/dist/cjs/ur-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ur-editor.cjs.entry.js +2 -2
- package/dist/cjs/ur-form.cjs.entry.js +1 -1
- package/dist/cjs/ur-grid-col.cjs.entry.js +1 -1
- package/dist/cjs/ur-grid-row.cjs.entry.js +1 -1
- package/dist/cjs/ur-grid.cjs.entry.js +2 -2
- package/dist/cjs/ur-hero.cjs.entry.js +4 -4
- package/dist/cjs/ur-icon.cjs.entry.js +1 -1
- package/dist/cjs/ur-image-uploader.cjs.entry.js +1 -1
- package/dist/cjs/ur-library-shelf-creator.cjs.entry.js +1 -1
- package/dist/cjs/ur-library-shelf-selector.cjs.entry.js +1 -1
- package/dist/cjs/ur-linear-progress.cjs.entry.js +2 -2
- package/dist/cjs/ur-list-subheader.cjs.entry.js +1 -1
- package/dist/cjs/ur-list.cjs.entry.js +1 -1
- package/dist/cjs/ur-loader.cjs.entry.js +1 -1
- package/dist/cjs/ur-locale-filter-button.cjs.entry.js +2 -2
- package/dist/cjs/ur-locale-filter-panel.cjs.entry.js +2 -2
- package/dist/cjs/ur-logo.cjs.entry.js +1 -1
- package/dist/cjs/ur-main-desktop-top-app-bar.cjs.entry.js +2 -2
- package/dist/cjs/ur-main-menu.cjs.entry.js +1 -1
- package/dist/cjs/ur-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/ur-menu-profile.cjs.entry.js +1 -1
- package/dist/cjs/ur-navigation-bar.cjs.entry.js +1 -1
- package/dist/cjs/ur-navigation-drawer-global.cjs.entry.js +1 -1
- package/dist/cjs/ur-navigation-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ur-notification-tabs.cjs.entry.js +3 -2
- package/dist/cjs/ur-novl-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ur-novl-overview-info.cjs.entry.js +5 -5
- package/dist/cjs/ur-novl-summary.cjs.entry.js +4 -4
- package/dist/cjs/ur-page-carousel.cjs.entry.js +1 -1
- package/dist/cjs/ur-page-profile-tabs.cjs.entry.js +9 -2
- package/dist/cjs/ur-page-profile.cjs.entry.js +11 -4
- package/dist/cjs/ur-page-shared-list-tabs.cjs.entry.js +3 -2
- package/dist/cjs/ur-player.cjs.entry.js +3 -3
- package/dist/cjs/ur-post-card.cjs.entry.js +311 -0
- package/dist/cjs/ur-post-detail.cjs.entry.js +286 -0
- package/dist/cjs/ur-post-editor.cjs.entry.js +388 -0
- package/dist/cjs/ur-post-prompt.cjs.entry.js +55 -0
- package/dist/cjs/ur-pricing-card.cjs.entry.js +46 -6
- package/dist/cjs/ur-profile-card.cjs.entry.js +2 -2
- package/dist/cjs/ur-profile.cjs.entry.js +3 -3
- package/dist/cjs/ur-radio-button.cjs.entry.js +57 -0
- package/dist/cjs/{ur-radio-button_2.cjs.entry.js → ur-radio-group.cjs.entry.js} +9 -199
- 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 +2 -2
- package/dist/cjs/ur-slider.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-subscription-card.cjs.entry.js +30 -3
- package/dist/cjs/ur-subscription-tier-editor.cjs.entry.js +363 -0
- package/dist/cjs/ur-subscription-tiers-carousel.cjs.entry.js +146 -0
- package/dist/cjs/ur-switch.cjs.entry.js +1 -1
- package/dist/cjs/ur-tabs.cjs.entry.js +3 -2
- package/dist/cjs/ur-thumbs-rating.cjs.entry.js +3 -3
- package/dist/cjs/ur-time-ago.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 +1 -1
- package/dist/cjs/ur-user-page-profile.cjs.entry.js +11 -4
- package/dist/cjs/ur-user-partnership-application.cjs.entry.js +1 -1
- package/dist/cjs/ur-user-profile-settings-form.cjs.entry.js +27 -2
- package/dist/cjs/ur-user-profile-tabs.cjs.entry.js +9 -2
- package/dist/cjs/ur-user-profile.cjs.entry.js +1 -1
- package/dist/cjs/ur-work-overview.cjs.entry.js +6 -6
- package/dist/cjs/urnovl-web-components.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +8 -2
- package/dist/collection/components/ur-ad-banner/ur-ad-banner.js +3 -3
- package/dist/collection/components/ur-author-page-profile/ur-author-page-profile.js +2 -2
- package/dist/collection/components/ur-autosave-drawer/ur-autosave-drawer.js +1 -1
- package/dist/collection/components/ur-avatar/ur-avatar.js +14 -8
- package/dist/collection/components/ur-bottom-sheet/ur-bottom-sheet.js +1 -1
- package/dist/collection/components/ur-bravo/ur-bravo.js +2 -2
- package/dist/collection/components/ur-button/ur-button.js +22 -1
- package/dist/collection/components/ur-button-arrow-left/ur-button-arrow-left.js +1 -1
- package/dist/collection/components/ur-button-arrow-right/ur-button-arrow-right.js +1 -1
- package/dist/collection/components/ur-button-icon/ur-button-icon.js +1 -1
- package/dist/collection/components/ur-chapter-item/ur-chapter-item.js +1 -1
- package/dist/collection/components/ur-checkbox-group/ur-checkbox-group.js +1 -1
- package/dist/collection/components/ur-circular-progress/ur-circular-progress.js +1 -1
- package/dist/collection/components/ur-comment-form/ur-comment-form.css +14 -3
- package/dist/collection/components/ur-comment-form/ur-comment-form.js +64 -1
- package/dist/collection/components/ur-competition/ur-competition.js +5 -5
- package/dist/collection/components/ur-competition-carousel/ur-competition-carousel.js +1 -1
- package/dist/collection/components/ur-competition-novl-card/ur-competition-novl-card.js +6 -6
- package/dist/collection/components/ur-competition-overview/ur-competition-overview.js +1 -1
- package/dist/collection/components/ur-dialog/ur-dialog.css +11 -0
- package/dist/collection/components/ur-dialog/ur-dialog.js +27 -3
- package/dist/collection/components/ur-dropdown/ur-dropdown.js +1 -1
- package/dist/collection/components/ur-editor/ur-editor.js +2 -2
- package/dist/collection/components/ur-form/ur-form.js +1 -1
- package/dist/collection/components/ur-grid/ur-grid-col.js +1 -1
- package/dist/collection/components/ur-grid/ur-grid-row.js +1 -1
- package/dist/collection/components/ur-grid/ur-grid.js +2 -2
- package/dist/collection/components/ur-hero/ur-hero.js +4 -4
- package/dist/collection/components/ur-icon/ur-icon.js +1 -1
- package/dist/collection/components/ur-image-uploader/ur-image-uploader.js +1 -1
- package/dist/collection/components/ur-library-shelf-creator/ur-library-shelf-creator.js +1 -1
- package/dist/collection/components/ur-library-shelf-selector/ur-library-shelf-selector.js +1 -1
- package/dist/collection/components/ur-linear-progress/ur-linear-progress.js +2 -2
- package/dist/collection/components/ur-list/ur-list.js +1 -1
- package/dist/collection/components/ur-list-subheader/ur-list-subheader.js +1 -1
- package/dist/collection/components/ur-loader/ur-loader.js +1 -1
- package/dist/collection/components/ur-locale-filter-button/ur-locale-filter-button.js +2 -2
- package/dist/collection/components/ur-locale-filter-panel/ur-locale-filter-panel.js +2 -2
- package/dist/collection/components/ur-logo/ur-logo.js +1 -1
- package/dist/collection/components/ur-main-desktop-top-app-bar/ur-main-desktop-top-app-bar.js +2 -2
- package/dist/collection/components/ur-main-menu/ur-main-menu.js +1 -1
- package/dist/collection/components/ur-menu-item/ur-menu-item.js +2 -2
- package/dist/collection/components/ur-menu-profile/ur-menu-profile.js +1 -1
- package/dist/collection/components/ur-navigation-bar/ur-navigation-bar.js +1 -1
- package/dist/collection/components/ur-navigation-drawer/ur-navigation-drawer.js +1 -1
- package/dist/collection/components/ur-navigation-drawer-global/ur-navigation-drawer-global.js +1 -1
- package/dist/collection/components/ur-notification-tabs/ur-notification-tabs.js +1 -1
- package/dist/collection/components/ur-novl-carousel/ur-novl-carousel.js +1 -1
- 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 +124 -3
- package/dist/collection/components/ur-page-profile-tabs/ur-page-profile-tabs.js +27 -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-post-card/ur-post-card.css +651 -0
- package/dist/collection/components/ur-post-card/ur-post-card.js +996 -0
- package/dist/collection/components/ur-post-card/ur-post-card.types.js +1 -0
- package/dist/collection/components/ur-post-detail/ur-post-detail.css +439 -0
- package/dist/collection/components/ur-post-detail/ur-post-detail.js +865 -0
- package/dist/collection/components/ur-post-detail/ur-post-detail.types.js +1 -0
- package/dist/collection/components/ur-post-editor/ur-post-editor.css +425 -0
- package/dist/collection/components/ur-post-editor/ur-post-editor.js +1371 -0
- package/dist/collection/components/ur-post-prompt/ur-post-prompt.css +53 -0
- package/dist/collection/components/ur-post-prompt/ur-post-prompt.js +283 -0
- package/dist/collection/components/ur-pricing-card/ur-pricing-card.css +52 -0
- package/dist/collection/components/ur-pricing-card/ur-pricing-card.js +245 -5
- package/dist/collection/components/ur-profile/ur-profile.js +3 -3
- package/dist/collection/components/ur-profile-card/ur-profile-card.js +1 -1
- package/dist/collection/components/ur-radio-button/ur-radio-button.js +12 -8
- 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.css +5 -2
- package/dist/collection/components/ur-select/ur-select.js +1 -1
- package/dist/collection/components/ur-slider/ur-slider.js +26 -1
- package/dist/collection/components/ur-snackbar/ur-snackbar.js +2 -2
- package/dist/collection/components/ur-stats/ur-stats.js +2 -2
- package/dist/collection/components/ur-stepper/ur-stepper.js +1 -1
- package/dist/collection/components/ur-subscription-card/ur-subscription-card.css +58 -0
- package/dist/collection/components/ur-subscription-card/ur-subscription-card.js +247 -2
- package/dist/collection/components/ur-subscription-tier-editor/ur-subscription-tier-editor.css +389 -0
- package/dist/collection/components/ur-subscription-tier-editor/ur-subscription-tier-editor.js +982 -0
- package/dist/collection/components/ur-subscription-tiers-carousel/ur-subscription-tiers-carousel.css +42 -0
- package/dist/collection/components/ur-subscription-tiers-carousel/ur-subscription-tiers-carousel.js +661 -0
- 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-thumbs-rating/ur-thumbs-rating.js +3 -3
- package/dist/collection/components/ur-time-ago/ur-time-ago.js +1 -1
- 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 +124 -3
- package/dist/collection/components/ur-user-partnership-application/ur-user-partnership-application.js +1 -1
- 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.css +54 -0
- package/dist/collection/components/ur-user-profile-settings-form/ur-user-profile-settings-form.js +263 -2
- package/dist/collection/components/ur-user-profile-tabs/ur-user-profile-tabs.js +27 -1
- package/dist/collection/components/ur-work-overview/ur-work-overview.js +5 -5
- package/dist/collection/data/subscription-tier-carousel.js +1 -0
- package/dist/collection/models/subscription-tier.js +3 -0
- package/dist/collection/stories/CommentForm.stories.js +22 -0
- package/dist/collection/stories/DataList.stories.js +88 -0
- package/dist/collection/stories/PageProfile.stories.js +90 -1
- package/dist/collection/stories/PostCard.stories.js +770 -0
- package/dist/collection/stories/PostDetail.stories.js +406 -0
- package/dist/collection/stories/PostEditor.stories.js +416 -0
- package/dist/collection/stories/PostPrompt.stories.js +185 -0
- package/dist/collection/stories/PricingCard.stories.js +152 -2
- package/dist/collection/stories/SubscriptionCard.stories.js +75 -0
- package/dist/collection/stories/SubscriptionTierEditor.stories.js +116 -0
- package/dist/collection/stories/SubscriptionTiersCarousel.stories.js +256 -0
- package/dist/collection/stories/UserProfile.stories.js +63 -1
- package/dist/collection/stories/UserProfileSettingsForm.stories.js +70 -0
- package/dist/components/p-03wkTPxQ.js +184 -0
- package/dist/components/{p-Bfz4JsuD.js → p-2DKsUy-2.js} +0 -49
- package/dist/components/{p-Bx6fE2l3.js → p-BY4DFbqH.js} +4 -1
- package/dist/components/{p-D614DE4A.js → p-BprsjaxF.js} +1 -1
- package/dist/components/{p-DSQlUWyM.js → p-BxphUdOx.js} +1 -1
- package/dist/components/{p-m3l6rpTl.js → p-C8X80qyp.js} +1 -1
- package/dist/components/{p-C3v4NYCZ.js → p-C92dQzDo.js} +1 -1
- package/dist/components/p-CC8esrW-.js +52 -0
- package/dist/components/{p-DV782yr8.js → p-CFJcUF9w.js} +1 -1
- package/dist/components/{p-zT_m5cqn.js → p-CVMqpnJb.js} +1 -1
- package/dist/components/{p-DIsqN2af.js → p-CcsOJD5k.js} +3 -3
- package/dist/components/{p-viReDfYk.js → p-Ce3HFAVh.js} +1 -1
- package/dist/components/{p-DUoVib83.js → p-CfldtLQf.js} +13 -6
- package/dist/components/{p-DXGmAhay.js → p-ChZfA6_A.js} +3 -2
- package/dist/components/{p-KEnip_eJ.js → p-CiihVtnt.js} +2 -2
- package/dist/components/{p-hq0QnQ__.js → p-CvIyrJOF.js} +1 -1
- package/dist/components/{p-BZPQ9A0k.js → p-DE-Ebb0W.js} +1 -1
- package/dist/components/{p-CMaS5_FI.js → p-DIrqGiUJ.js} +2 -2
- package/dist/components/{p-CYZhNTeP.js → p-DNOMxgVq.js} +1 -1
- package/dist/components/{p-DvK12rWN.js → p-DQohMME6.js} +1 -1
- package/dist/components/{p-ByNX7rB1.js → p-DR_e7_h1.js} +6 -6
- package/dist/components/{p-DWw8j4-8.js → p-DmcTV8ow.js} +1 -1
- package/dist/components/p-E7oF2Ho9.js +533 -0
- package/dist/components/{p-Bpxw55nt.js → p-GadDdSTq.js} +5 -5
- package/dist/components/{p-C3xJtl8A.js → p-K79NbcgI.js} +6 -6
- package/dist/components/{p-DodTpF-h.js → p-YHtvjamV.js} +13 -9
- package/dist/components/{p-DQR9IkCh.js → p-Yub-kvNT.js} +2 -2
- package/dist/components/{p-CAPHCTJl.js → p-cEpNt5Cx.js} +1 -1
- package/dist/components/{p-DnPjaZVg.js → p-qe3zXShw.js} +1 -1
- package/dist/components/ur-ad-banner.js +3 -3
- package/dist/components/ur-author-page-profile.js +4 -4
- package/dist/components/ur-autosave-drawer.js +3 -3
- package/dist/components/ur-avatar.js +1 -1
- package/dist/components/ur-bottom-sheet.js +1 -1
- package/dist/components/ur-bravo.js +4 -4
- package/dist/components/ur-button-arrow-left.js +1 -1
- package/dist/components/ur-button-arrow-right.js +1 -1
- package/dist/components/ur-button-icon.js +1 -1
- package/dist/components/ur-button.js +1 -1
- package/dist/components/ur-chapter-item.js +4 -4
- package/dist/components/ur-checkbox-group.js +1 -1
- package/dist/components/ur-circular-progress.js +1 -1
- package/dist/components/ur-comment-form.js +11 -5
- package/dist/components/ur-comment.js +2 -2
- package/dist/components/ur-competition-carousel.js +5 -5
- package/dist/components/ur-competition-novl-card.js +1 -1
- package/dist/components/ur-competition-overview.js +10 -9
- package/dist/components/ur-competition.js +1 -1
- package/dist/components/ur-data-list.js +2 -2
- package/dist/components/ur-dialog.js +9 -4
- package/dist/components/ur-dropdown.js +1 -1
- package/dist/components/ur-editor.js +3 -3
- package/dist/components/ur-feedback.js +3 -3
- package/dist/components/ur-form.js +1 -1
- package/dist/components/ur-grid-col.js +1 -1
- package/dist/components/ur-grid-row.js +1 -1
- package/dist/components/ur-grid.js +3 -3
- package/dist/components/ur-hero.js +5 -5
- package/dist/components/ur-icon.js +1 -1
- package/dist/components/ur-image-uploader.js +1 -1
- package/dist/components/ur-library-shelf-creator.js +3 -3
- package/dist/components/ur-library-shelf-selector.js +4 -4
- package/dist/components/ur-linear-progress.js +1 -1
- package/dist/components/ur-list-subheader.js +1 -1
- package/dist/components/ur-list.js +1 -1
- package/dist/components/ur-loader.js +1 -1
- package/dist/components/ur-locale-filter-button.js +2 -2
- package/dist/components/ur-locale-filter-panel.js +3 -3
- package/dist/components/ur-logo.js +1 -1
- package/dist/components/ur-main-desktop-top-app-bar.js +5 -5
- package/dist/components/ur-main-menu.js +7 -7
- package/dist/components/ur-menu-item.js +2 -2
- package/dist/components/ur-menu-profile.js +1 -1
- package/dist/components/ur-navigation-bar.js +1 -1
- package/dist/components/ur-navigation-drawer-global.js +1 -1
- package/dist/components/ur-navigation-drawer.js +1 -1
- package/dist/components/ur-notification-tabs.js +3 -2
- package/dist/components/ur-notification.js +4 -4
- package/dist/components/ur-novl-carousel.js +5 -5
- package/dist/components/ur-novl-overview-info.js +11 -11
- package/dist/components/ur-novl-summary.js +6 -6
- package/dist/components/ur-novl.js +1 -1
- package/dist/components/ur-page-carousel.js +5 -5
- package/dist/components/ur-page-list.js +1 -1
- package/dist/components/ur-page-partnership-application.js +3 -3
- package/dist/components/ur-page-profile-tabs.js +10 -2
- package/dist/components/ur-page-profile.js +19 -7
- package/dist/components/ur-page-shared-list-tabs.js +3 -2
- package/dist/components/ur-page.js +1 -1
- package/dist/components/ur-player.js +5 -5
- package/dist/components/ur-post-card.d.ts +11 -0
- package/dist/components/ur-post-card.js +371 -0
- package/dist/components/ur-post-detail.d.ts +11 -0
- package/dist/components/ur-post-detail.js +343 -0
- package/dist/components/ur-post-editor.d.ts +11 -0
- package/dist/components/ur-post-editor.js +458 -0
- package/dist/components/ur-post-prompt.d.ts +11 -0
- package/dist/components/ur-post-prompt.js +103 -0
- package/dist/components/ur-pricing-card.js +1 -132
- package/dist/components/ur-profile-card.js +1 -1
- package/dist/components/ur-profile-completion-card.js +1 -1
- package/dist/components/ur-profile-completion-fab.js +6 -6
- 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 +2 -2
- package/dist/components/ur-read-rail-mobile.js +4 -4
- package/dist/components/ur-read-rail.js +4 -4
- package/dist/components/ur-read-top-app-bar.js +2 -2
- package/dist/components/ur-reader.js +2 -2
- package/dist/components/ur-segment-button.js +1 -1
- package/dist/components/ur-select.js +1 -531
- package/dist/components/ur-shelf-card.js +1 -1
- package/dist/components/ur-slider.js +1 -1
- package/dist/components/ur-snackbar.js +2 -2
- package/dist/components/ur-stats.js +1 -1
- package/dist/components/ur-stepper.js +2 -2
- package/dist/components/ur-subscription-card.js +41 -5
- package/dist/components/ur-subscription-tier-editor.d.ts +11 -0
- package/dist/components/ur-subscription-tier-editor.js +413 -0
- package/dist/components/ur-subscription-tiers-carousel.d.ts +11 -0
- package/dist/components/ur-subscription-tiers-carousel.js +213 -0
- package/dist/components/ur-switch.js +1 -1
- package/dist/components/ur-tabs.js +3 -2
- package/dist/components/ur-thumbs-rating.js +4 -4
- package/dist/components/ur-time-ago.js +1 -1
- package/dist/components/ur-top-app-bar.js +3 -3
- package/dist/components/ur-user-carousel.js +5 -5
- package/dist/components/ur-user-page-profile.js +21 -9
- package/dist/components/ur-user-partnership-application.js +4 -4
- package/dist/components/ur-user-profile-settings-form.js +41 -6
- package/dist/components/ur-user-profile-tabs.js +10 -2
- package/dist/components/ur-user-profile.js +1 -1
- package/dist/components/ur-user.js +1 -1
- package/dist/components/ur-work-overview.js +9 -9
- package/dist/components/ur-work.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/radio-B2MeJZg9.js +168 -0
- package/dist/esm/{tab-panel-YMLschUK.js → tab-JcwwlhqJ.js} +0 -49
- package/dist/esm/tab-panel-mttybgVa.js +52 -0
- package/dist/esm/ur-ad-banner.entry.js +3 -3
- package/dist/esm/ur-author-page-profile.entry.js +3 -3
- package/dist/esm/ur-autosave-drawer.entry.js +1 -1
- package/dist/esm/{ur-avatar-n6L9PEnR.js → ur-avatar-DXF3lVCQ.js} +13 -6
- package/dist/esm/ur-avatar_3.entry.js +1 -1
- package/dist/esm/ur-bottom-sheet.entry.js +1 -1
- package/dist/esm/ur-bravo.entry.js +2 -2
- package/dist/esm/ur-button-arrow-left_2.entry.js +2 -2
- package/dist/esm/ur-button-icon.entry.js +1 -1
- package/dist/esm/ur-button.entry.js +3 -1
- package/dist/esm/ur-chapter-item.entry.js +1 -1
- package/dist/esm/ur-checkbox-group.entry.js +1 -1
- package/dist/esm/ur-circular-progress.entry.js +1 -1
- package/dist/esm/ur-comment-form.entry.js +5 -2
- package/dist/esm/ur-competition-carousel.entry.js +1 -1
- package/dist/esm/ur-competition-novl-card_2.entry.js +8 -8
- package/dist/esm/ur-competition-overview.entry.js +3 -2
- package/dist/esm/ur-competition.entry.js +5 -5
- package/dist/esm/ur-dialog.entry.js +8 -4
- package/dist/esm/ur-dropdown_2.entry.js +1 -1
- package/dist/esm/ur-editor.entry.js +2 -2
- package/dist/esm/ur-form.entry.js +1 -1
- package/dist/esm/ur-grid-col.entry.js +1 -1
- package/dist/esm/ur-grid-row.entry.js +1 -1
- package/dist/esm/ur-grid.entry.js +2 -2
- package/dist/esm/ur-hero.entry.js +4 -4
- package/dist/esm/ur-icon.entry.js +1 -1
- package/dist/esm/ur-image-uploader.entry.js +1 -1
- package/dist/esm/ur-library-shelf-creator.entry.js +1 -1
- package/dist/esm/ur-library-shelf-selector.entry.js +1 -1
- package/dist/esm/ur-linear-progress.entry.js +2 -2
- package/dist/esm/ur-list-subheader.entry.js +1 -1
- package/dist/esm/ur-list.entry.js +1 -1
- package/dist/esm/ur-loader.entry.js +1 -1
- package/dist/esm/ur-locale-filter-button.entry.js +2 -2
- package/dist/esm/ur-locale-filter-panel.entry.js +2 -2
- package/dist/esm/ur-logo.entry.js +1 -1
- package/dist/esm/ur-main-desktop-top-app-bar.entry.js +2 -2
- package/dist/esm/ur-main-menu.entry.js +1 -1
- package/dist/esm/ur-menu-item.entry.js +2 -2
- package/dist/esm/ur-menu-profile.entry.js +1 -1
- package/dist/esm/ur-navigation-bar.entry.js +1 -1
- package/dist/esm/ur-navigation-drawer-global.entry.js +1 -1
- package/dist/esm/ur-navigation-drawer.entry.js +1 -1
- package/dist/esm/ur-notification-tabs.entry.js +3 -2
- package/dist/esm/ur-novl-carousel.entry.js +1 -1
- package/dist/esm/ur-novl-overview-info.entry.js +5 -5
- package/dist/esm/ur-novl-summary.entry.js +4 -4
- package/dist/esm/ur-page-carousel.entry.js +1 -1
- package/dist/esm/ur-page-profile-tabs.entry.js +9 -2
- package/dist/esm/ur-page-profile.entry.js +11 -4
- package/dist/esm/ur-page-shared-list-tabs.entry.js +3 -2
- package/dist/esm/ur-player.entry.js +3 -3
- package/dist/esm/ur-post-card.entry.js +309 -0
- package/dist/esm/ur-post-detail.entry.js +284 -0
- package/dist/esm/ur-post-editor.entry.js +386 -0
- package/dist/esm/ur-post-prompt.entry.js +53 -0
- package/dist/esm/ur-pricing-card.entry.js +46 -6
- package/dist/esm/ur-profile-card.entry.js +2 -2
- package/dist/esm/ur-profile.entry.js +3 -3
- package/dist/esm/ur-radio-button.entry.js +55 -0
- package/dist/esm/{ur-radio-button_2.entry.js → ur-radio-group.entry.js} +19 -208
- 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 +2 -2
- package/dist/esm/ur-slider.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-subscription-card.entry.js +30 -3
- package/dist/esm/ur-subscription-tier-editor.entry.js +361 -0
- package/dist/esm/ur-subscription-tiers-carousel.entry.js +144 -0
- package/dist/esm/ur-switch.entry.js +1 -1
- package/dist/esm/ur-tabs.entry.js +3 -2
- package/dist/esm/ur-thumbs-rating.entry.js +3 -3
- package/dist/esm/ur-time-ago.entry.js +1 -1
- 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 +11 -4
- package/dist/esm/ur-user-partnership-application.entry.js +1 -1
- package/dist/esm/ur-user-profile-settings-form.entry.js +28 -3
- package/dist/esm/ur-user-profile-tabs.entry.js +9 -2
- package/dist/esm/ur-user-profile.entry.js +1 -1
- package/dist/esm/ur-work-overview.entry.js +6 -6
- package/dist/esm/urnovl-web-components.js +1 -1
- package/dist/types/components/ur-avatar/ur-avatar.d.ts +1 -0
- package/dist/types/components/ur-bravo/ur-bravo.d.ts +1 -1
- package/dist/types/components/ur-button/ur-button.d.ts +1 -0
- package/dist/types/components/ur-comment-form/ur-comment-form.d.ts +3 -0
- package/dist/types/components/ur-dialog/ur-dialog.d.ts +1 -0
- package/dist/types/components/ur-page-profile/ur-page-profile.d.ts +6 -0
- package/dist/types/components/ur-page-profile-tabs/ur-page-profile-tabs.d.ts +1 -0
- package/dist/types/components/ur-post-card/ur-post-card.d.ts +76 -0
- package/dist/types/components/ur-post-card/ur-post-card.types.d.ts +46 -0
- package/dist/types/components/ur-post-detail/ur-post-detail.d.ts +72 -0
- package/dist/types/components/ur-post-detail/ur-post-detail.types.d.ts +40 -0
- package/dist/types/components/ur-post-editor/ur-post-editor.d.ts +158 -0
- package/dist/types/components/ur-post-prompt/ur-post-prompt.d.ts +22 -0
- package/dist/types/components/ur-pricing-card/ur-pricing-card.d.ts +14 -0
- package/dist/types/components/ur-radio-button/ur-radio-button.d.ts +2 -1
- package/dist/types/components/ur-slider/ur-slider.d.ts +1 -1
- package/dist/types/components/ur-subscription-card/ur-subscription-card.d.ts +17 -0
- package/dist/types/components/ur-subscription-tier-editor/ur-subscription-tier-editor.d.ts +120 -0
- package/dist/types/components/ur-subscription-tiers-carousel/ur-subscription-tiers-carousel.d.ts +53 -0
- package/dist/types/components/ur-user-page-profile/ur-user-page-profile.d.ts +7 -0
- package/dist/types/components/ur-user-profile-settings-form/ur-user-profile-settings-form.d.ts +20 -0
- package/dist/types/components/ur-user-profile-tabs/ur-user-profile-tabs.d.ts +1 -0
- package/dist/types/components.d.ts +5413 -3555
- package/dist/types/data/subscription-tier-carousel.d.ts +18 -0
- package/dist/types/models/subscription-tier.d.ts +25 -0
- package/dist/types/stories/CommentForm.stories.d.ts +30 -0
- package/dist/types/stories/DataList.stories.d.ts +8 -0
- package/dist/types/stories/PageProfile.stories.d.ts +14 -0
- package/dist/types/stories/PostCard.stories.d.ts +578 -0
- package/dist/types/stories/PostDetail.stories.d.ts +350 -0
- package/dist/types/stories/PostEditor.stories.d.ts +417 -0
- package/dist/types/stories/PostPrompt.stories.d.ts +12 -0
- package/dist/types/stories/PricingCard.stories.d.ts +104 -0
- package/dist/types/stories/SubscriptionCard.stories.d.ts +54 -0
- package/dist/types/stories/SubscriptionTierEditor.stories.d.ts +79 -0
- package/dist/types/stories/SubscriptionTiersCarousel.stories.d.ts +350 -0
- package/dist/types/stories/UserProfile.stories.d.ts +10 -0
- package/dist/types/stories/UserProfileSettingsForm.stories.d.ts +33 -0
- package/dist/urnovl-web-components/p-01757565.entry.js +1 -0
- package/dist/urnovl-web-components/{p-65bec9fc.entry.js → p-06bbc9fe.entry.js} +2 -2
- package/{www/build/p-d56433f6.entry.js → dist/urnovl-web-components/p-0fc280ea.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-ccf5473e.entry.js → p-11473976.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-2e35d885.entry.js → p-1491f43a.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-04e00f30.entry.js → p-16250027.entry.js} +1 -1
- package/{www/build/p-2462786c.entry.js → dist/urnovl-web-components/p-178828b9.entry.js} +1 -1
- package/{www/build/p-981382ab.entry.js → dist/urnovl-web-components/p-1afbea38.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-4aa0540c.entry.js → p-1f152f8a.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-f4681bcd.entry.js → p-1f60a6be.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-11bbeb98.entry.js → p-230565bc.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-a712a3df.entry.js → p-240289e9.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-624543fe.entry.js → p-2444c265.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-5d667756.entry.js → p-2472848c.entry.js} +1 -1
- package/{www/build/p-56a033f3.entry.js → dist/urnovl-web-components/p-257815b1.entry.js} +1 -1
- package/{www/build/p-be46aea1.entry.js → dist/urnovl-web-components/p-283a26c0.entry.js} +1 -1
- package/dist/urnovl-web-components/p-30980b12.entry.js +1 -0
- package/{www/build/p-d8a58171.entry.js → dist/urnovl-web-components/p-30ef8fce.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-abc5b014.entry.js → p-343ad683.entry.js} +1 -1
- package/{www/build/p-76fd07ad.entry.js → dist/urnovl-web-components/p-343d4de6.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-4bd2dfab.entry.js → p-346853b2.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-c39f0b47.entry.js → p-35d81850.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-1c69e7f0.entry.js → p-37c2f592.entry.js} +1 -1
- package/{www/build/p-d8e1e17f.entry.js → dist/urnovl-web-components/p-38c450cb.entry.js} +1 -1
- package/dist/urnovl-web-components/p-3a956b23.entry.js +1 -0
- package/dist/urnovl-web-components/{p-da9fd305.entry.js → p-3d11160e.entry.js} +1 -1
- package/dist/urnovl-web-components/p-403f60d4.entry.js +1 -0
- package/dist/urnovl-web-components/{p-b086c8e2.entry.js → p-4118c49f.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-88bac6fe.entry.js → p-4420499c.entry.js} +1 -1
- package/dist/urnovl-web-components/p-44c8ac2e.entry.js +1 -0
- package/dist/urnovl-web-components/{p-f0b2862a.entry.js → p-45126fa8.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-f82dd515.entry.js → p-4bd4960f.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-4d1821af.entry.js → p-5c8253d7.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-5c9578ac.entry.js → p-5f0ca3b4.entry.js} +1 -1
- package/dist/urnovl-web-components/p-60481eb4.entry.js +1 -0
- package/dist/urnovl-web-components/p-6ff378f1.entry.js +1 -0
- package/dist/urnovl-web-components/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
- package/{www/build/p-f1b1525f.entry.js → dist/urnovl-web-components/p-72d505c7.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-ee1599b6.entry.js → p-72f4fb72.entry.js} +1 -1
- package/{www/build/p-c80dfc35.entry.js → dist/urnovl-web-components/p-74534238.entry.js} +1 -1
- package/dist/urnovl-web-components/p-75483926.entry.js +1 -0
- package/{www/build/p-e0061d99.entry.js → dist/urnovl-web-components/p-7f8a77e0.entry.js} +1 -1
- package/dist/urnovl-web-components/p-852ff3f7.entry.js +1 -0
- package/{www/build/p-5566b17c.entry.js → dist/urnovl-web-components/p-88e526fb.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-68391a31.entry.js → p-89ac2a2c.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-593c5f5d.entry.js → p-8c7af8f6.entry.js} +1 -1
- package/dist/urnovl-web-components/p-8e3404f8.entry.js +1 -0
- package/dist/urnovl-web-components/p-910ae64b.entry.js +1 -0
- package/dist/urnovl-web-components/{p-0cf7981e.entry.js → p-96018122.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-CWeg8sEj.js → p-BnHMCPA5.js} +1 -1
- package/dist/urnovl-web-components/p-FXZebMHX.js +1 -0
- package/dist/urnovl-web-components/p-YvOYo-vb.js +1 -0
- package/dist/urnovl-web-components/p-a02a44c5.entry.js +1 -0
- package/dist/urnovl-web-components/{p-1e41d132.entry.js → p-a07f78d9.entry.js} +1 -1
- package/dist/urnovl-web-components/p-aa9b5fb1.entry.js +1 -0
- package/dist/urnovl-web-components/p-ac784ceb.entry.js +1 -0
- package/dist/urnovl-web-components/{p-bf80387d.entry.js → p-b1da8f4f.entry.js} +1 -1
- package/dist/urnovl-web-components/p-b629cb93.entry.js +1 -0
- package/dist/urnovl-web-components/{p-67316cbc.entry.js → p-b6778ee0.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-700b9b7e.entry.js → p-bb369731.entry.js} +1 -1
- package/dist/urnovl-web-components/p-bbf6cece.entry.js +1 -0
- package/dist/urnovl-web-components/{p-bb83fdf6.entry.js → p-bbf6f750.entry.js} +1 -1
- package/dist/urnovl-web-components/p-c057f347.entry.js +1 -0
- package/{www/build/p-bb145920.entry.js → dist/urnovl-web-components/p-c33254fb.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-49267cdf.entry.js → p-c7666b66.entry.js} +1 -1
- package/{www/build/p-c21abd37.entry.js → dist/urnovl-web-components/p-c7983e8a.entry.js} +1 -1
- package/{www/build/p-82997757.entry.js → dist/urnovl-web-components/p-c873abca.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-86f826f4.entry.js → p-c8818032.entry.js} +1 -1
- package/{www/build/p-c14f3e7b.entry.js → dist/urnovl-web-components/p-c8f68cfe.entry.js} +1 -1
- package/dist/urnovl-web-components/p-caaac073.entry.js +1 -0
- package/dist/urnovl-web-components/p-cb516edc.entry.js +1 -0
- package/dist/urnovl-web-components/p-cb79d059.entry.js +1 -0
- package/dist/urnovl-web-components/{p-9e19f4e8.entry.js → p-cd1dcff4.entry.js} +1 -1
- package/dist/urnovl-web-components/p-ce268bc2.entry.js +1 -0
- package/dist/urnovl-web-components/p-cf90d565.entry.js +1 -0
- package/{www/build/p-f044459d.entry.js → dist/urnovl-web-components/p-d210bed2.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-b50e8cad.entry.js → p-d348963a.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-e659d21c.entry.js → p-d4da4e68.entry.js} +1 -1
- package/dist/urnovl-web-components/p-d6e78266.entry.js +1 -0
- package/{www/build/p-693b5b1e.entry.js → dist/urnovl-web-components/p-db9079e2.entry.js} +1 -1
- package/{www/build/p-7f399549.entry.js → dist/urnovl-web-components/p-dfa6c13e.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-ab659a01.entry.js → p-e2518029.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-7d403b3e.entry.js → p-e3982059.entry.js} +1 -1
- package/dist/urnovl-web-components/p-e3b98dfd.entry.js +1 -0
- package/dist/urnovl-web-components/{p-0588ba08.entry.js → p-e659c8bb.entry.js} +1 -1
- package/dist/urnovl-web-components/p-ec006f46.entry.js +1 -1
- package/dist/urnovl-web-components/{p-dbde8c6e.entry.js → p-ed59b299.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-d11cd455.entry.js → p-f16c01bf.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-73fca060.entry.js → p-fb6cbf1d.entry.js} +1 -1
- package/dist/urnovl-web-components/p-pLhWehn7.js +1 -0
- package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/p-01757565.entry.js +1 -0
- package/www/build/p-018dfa52.js +1 -0
- package/www/build/{p-65bec9fc.entry.js → p-06bbc9fe.entry.js} +2 -2
- package/{dist/urnovl-web-components/p-d56433f6.entry.js → www/build/p-0fc280ea.entry.js} +1 -1
- package/www/build/{p-ccf5473e.entry.js → p-11473976.entry.js} +1 -1
- package/www/build/{p-2e35d885.entry.js → p-1491f43a.entry.js} +1 -1
- package/www/build/{p-04e00f30.entry.js → p-16250027.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-2462786c.entry.js → www/build/p-178828b9.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-981382ab.entry.js → www/build/p-1afbea38.entry.js} +1 -1
- package/www/build/{p-4aa0540c.entry.js → p-1f152f8a.entry.js} +1 -1
- package/www/build/{p-f4681bcd.entry.js → p-1f60a6be.entry.js} +1 -1
- package/www/build/{p-11bbeb98.entry.js → p-230565bc.entry.js} +1 -1
- package/www/build/{p-a712a3df.entry.js → p-240289e9.entry.js} +1 -1
- package/www/build/{p-624543fe.entry.js → p-2444c265.entry.js} +1 -1
- package/www/build/{p-5d667756.entry.js → p-2472848c.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-56a033f3.entry.js → www/build/p-257815b1.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-be46aea1.entry.js → www/build/p-283a26c0.entry.js} +1 -1
- package/www/build/p-30980b12.entry.js +1 -0
- package/{dist/urnovl-web-components/p-d8a58171.entry.js → www/build/p-30ef8fce.entry.js} +1 -1
- package/www/build/{p-abc5b014.entry.js → p-343ad683.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-76fd07ad.entry.js → www/build/p-343d4de6.entry.js} +1 -1
- package/www/build/{p-4bd2dfab.entry.js → p-346853b2.entry.js} +1 -1
- package/www/build/{p-c39f0b47.entry.js → p-35d81850.entry.js} +1 -1
- package/www/build/{p-1c69e7f0.entry.js → p-37c2f592.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-d8e1e17f.entry.js → www/build/p-38c450cb.entry.js} +1 -1
- package/www/build/p-3a956b23.entry.js +1 -0
- package/www/build/{p-da9fd305.entry.js → p-3d11160e.entry.js} +1 -1
- package/www/build/p-403f60d4.entry.js +1 -0
- package/www/build/{p-b086c8e2.entry.js → p-4118c49f.entry.js} +1 -1
- package/www/build/{p-88bac6fe.entry.js → p-4420499c.entry.js} +1 -1
- package/www/build/p-44c8ac2e.entry.js +1 -0
- package/www/build/{p-f0b2862a.entry.js → p-45126fa8.entry.js} +1 -1
- package/www/build/{p-f82dd515.entry.js → p-4bd4960f.entry.js} +1 -1
- package/www/build/{p-4d1821af.entry.js → p-5c8253d7.entry.js} +1 -1
- package/www/build/{p-5c9578ac.entry.js → p-5f0ca3b4.entry.js} +1 -1
- package/www/build/p-60481eb4.entry.js +1 -0
- package/www/build/p-6ff378f1.entry.js +1 -0
- package/www/build/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-f1b1525f.entry.js → www/build/p-72d505c7.entry.js} +1 -1
- package/www/build/{p-ee1599b6.entry.js → p-72f4fb72.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-c80dfc35.entry.js → www/build/p-74534238.entry.js} +1 -1
- package/www/build/p-75483926.entry.js +1 -0
- package/{dist/urnovl-web-components/p-e0061d99.entry.js → www/build/p-7f8a77e0.entry.js} +1 -1
- package/www/build/p-852ff3f7.entry.js +1 -0
- package/{dist/urnovl-web-components/p-5566b17c.entry.js → www/build/p-88e526fb.entry.js} +1 -1
- package/www/build/{p-68391a31.entry.js → p-89ac2a2c.entry.js} +1 -1
- package/www/build/{p-593c5f5d.entry.js → p-8c7af8f6.entry.js} +1 -1
- package/www/build/p-8e3404f8.entry.js +1 -0
- package/www/build/p-910ae64b.entry.js +1 -0
- package/www/build/{p-0cf7981e.entry.js → p-96018122.entry.js} +1 -1
- package/www/build/{p-CWeg8sEj.js → p-BnHMCPA5.js} +1 -1
- package/www/build/p-FXZebMHX.js +1 -0
- package/www/build/p-YvOYo-vb.js +1 -0
- package/www/build/p-a02a44c5.entry.js +1 -0
- package/www/build/{p-1e41d132.entry.js → p-a07f78d9.entry.js} +1 -1
- package/www/build/p-aa9b5fb1.entry.js +1 -0
- package/www/build/p-ac784ceb.entry.js +1 -0
- package/www/build/{p-bf80387d.entry.js → p-b1da8f4f.entry.js} +1 -1
- package/www/build/p-b629cb93.entry.js +1 -0
- package/www/build/{p-67316cbc.entry.js → p-b6778ee0.entry.js} +1 -1
- package/www/build/{p-700b9b7e.entry.js → p-bb369731.entry.js} +1 -1
- package/www/build/p-bbf6cece.entry.js +1 -0
- package/www/build/{p-bb83fdf6.entry.js → p-bbf6f750.entry.js} +1 -1
- package/www/build/p-c057f347.entry.js +1 -0
- package/{dist/urnovl-web-components/p-bb145920.entry.js → www/build/p-c33254fb.entry.js} +1 -1
- package/www/build/{p-49267cdf.entry.js → p-c7666b66.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-c21abd37.entry.js → www/build/p-c7983e8a.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-82997757.entry.js → www/build/p-c873abca.entry.js} +1 -1
- package/www/build/{p-86f826f4.entry.js → p-c8818032.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-c14f3e7b.entry.js → www/build/p-c8f68cfe.entry.js} +1 -1
- package/www/build/p-caaac073.entry.js +1 -0
- package/www/build/p-cb516edc.entry.js +1 -0
- package/www/build/p-cb79d059.entry.js +1 -0
- package/www/build/{p-9e19f4e8.entry.js → p-cd1dcff4.entry.js} +1 -1
- package/www/build/p-ce268bc2.entry.js +1 -0
- package/www/build/p-cf90d565.entry.js +1 -0
- package/{dist/urnovl-web-components/p-f044459d.entry.js → www/build/p-d210bed2.entry.js} +1 -1
- package/www/build/{p-b50e8cad.entry.js → p-d348963a.entry.js} +1 -1
- package/www/build/{p-e659d21c.entry.js → p-d4da4e68.entry.js} +1 -1
- package/www/build/p-d6e78266.entry.js +1 -0
- package/{dist/urnovl-web-components/p-693b5b1e.entry.js → www/build/p-db9079e2.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-7f399549.entry.js → www/build/p-dfa6c13e.entry.js} +1 -1
- package/www/build/{p-ab659a01.entry.js → p-e2518029.entry.js} +1 -1
- package/www/build/{p-7d403b3e.entry.js → p-e3982059.entry.js} +1 -1
- package/www/build/p-e3b98dfd.entry.js +1 -0
- package/www/build/{p-0588ba08.entry.js → p-e659c8bb.entry.js} +1 -1
- package/www/build/p-ec006f46.entry.js +1 -1
- package/www/build/{p-dbde8c6e.entry.js → p-ed59b299.entry.js} +1 -1
- package/www/build/{p-d11cd455.entry.js → p-f16c01bf.entry.js} +1 -1
- package/www/build/{p-73fca060.entry.js → p-fb6cbf1d.entry.js} +1 -1
- package/www/build/p-pLhWehn7.js +1 -0
- package/www/build/urnovl-web-components.esm.js +1 -1
- package/dist/urnovl-web-components/p-03bea226.entry.js +0 -1
- package/dist/urnovl-web-components/p-11a39a97.entry.js +0 -1
- package/dist/urnovl-web-components/p-2d6036d2.entry.js +0 -1
- package/dist/urnovl-web-components/p-3e8edb4b.entry.js +0 -1
- package/dist/urnovl-web-components/p-49a4a16e.entry.js +0 -1
- package/dist/urnovl-web-components/p-5f8d9c20.entry.js +0 -1
- package/dist/urnovl-web-components/p-6e274199.entry.js +0 -1
- package/dist/urnovl-web-components/p-9454a017.entry.js +0 -1
- package/dist/urnovl-web-components/p-95669140.entry.js +0 -1
- package/dist/urnovl-web-components/p-99903b64.entry.js +0 -1
- package/dist/urnovl-web-components/p-9bd5cb92.entry.js +0 -1
- package/dist/urnovl-web-components/p-DieZm0eP.js +0 -1
- package/dist/urnovl-web-components/p-a66d6eed.entry.js +0 -1
- package/dist/urnovl-web-components/p-d27c7d58.entry.js +0 -1
- package/dist/urnovl-web-components/p-d7123398.entry.js +0 -1
- package/dist/urnovl-web-components/p-de47e53f.entry.js +0 -1
- package/dist/urnovl-web-components/p-ec83ed45.entry.js +0 -1
- package/dist/urnovl-web-components/p-fc668d06.entry.js +0 -1
- package/www/build/p-03bea226.entry.js +0 -1
- package/www/build/p-11a39a97.entry.js +0 -1
- package/www/build/p-2d6036d2.entry.js +0 -1
- package/www/build/p-37c19696.js +0 -1
- package/www/build/p-3e8edb4b.entry.js +0 -1
- package/www/build/p-49a4a16e.entry.js +0 -1
- package/www/build/p-5f8d9c20.entry.js +0 -1
- package/www/build/p-6e274199.entry.js +0 -1
- package/www/build/p-9454a017.entry.js +0 -1
- package/www/build/p-95669140.entry.js +0 -1
- package/www/build/p-99903b64.entry.js +0 -1
- package/www/build/p-9bd5cb92.entry.js +0 -1
- package/www/build/p-DieZm0eP.js +0 -1
- package/www/build/p-a66d6eed.entry.js +0 -1
- package/www/build/p-d27c7d58.entry.js +0 -1
- package/www/build/p-d7123398.entry.js +0 -1
- package/www/build/p-de47e53f.entry.js +0 -1
- package/www/build/p-ec83ed45.entry.js +0 -1
- package/www/build/p-fc668d06.entry.js +0 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var componentStyle = require('./component-style-BC5DdXyd.js');
|
|
4
|
+
var directive = require('./directive-CxKj9eM_.js');
|
|
5
|
+
var state = require('./state-BClMM5R0.js');
|
|
6
|
+
var classMap = require('./class-map-Epaosh8c.js');
|
|
7
|
+
var ref = require('./ref-Dnp-_rKJ.js');
|
|
8
|
+
var watch = require('./watch-MAiBzcfm.js');
|
|
9
|
+
var attr = require('./attr-D_LyPdSc.js');
|
|
10
|
+
var svgTag = require('./svg-tag-BC3DRit2.js');
|
|
11
|
+
var rippleMixin = require('./ripple-mixin-CsKjDjw-.js');
|
|
12
|
+
require('./index-DqsOXF7F.js');
|
|
13
|
+
|
|
14
|
+
let IconCircle = class IconCircle extends componentStyle.i {
|
|
15
|
+
render() {
|
|
16
|
+
return svgTag.svgTag('<path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z"/>');
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
IconCircle.styles = svgTag.style;
|
|
20
|
+
IconCircle = componentStyle.__decorate([
|
|
21
|
+
componentStyle.t('mdui-icon-circle')
|
|
22
|
+
], IconCircle);
|
|
23
|
+
|
|
24
|
+
let IconRadioButtonUnchecked = class IconRadioButtonUnchecked extends componentStyle.i {
|
|
25
|
+
render() {
|
|
26
|
+
return svgTag.svgTag('<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>');
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
IconRadioButtonUnchecked.styles = svgTag.style;
|
|
30
|
+
IconRadioButtonUnchecked = componentStyle.__decorate([
|
|
31
|
+
componentStyle.t('mdui-icon-radio-button-unchecked')
|
|
32
|
+
], IconRadioButtonUnchecked);
|
|
33
|
+
|
|
34
|
+
const radioStyle = componentStyle.i$1 `:host{position:relative;display:inline-flex;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;zoom:1;-webkit-user-drag:none;border-radius:.125rem;font-size:var(--mdui-typescale-label-large-size);font-weight:var(--mdui-typescale-label-large-weight);letter-spacing:var(--mdui-typescale-label-large-tracking);line-height:var(--mdui-typescale-label-large-line-height)}.icon{display:flex;position:absolute;font-size:1.5rem}:not(.initial) .icon{transition-duration:var(--mdui-motion-duration-short4);transition-timing-function:var(--mdui-motion-easing-standard)}.unchecked-icon{transition-property:color;color:rgb(var(--mdui-color-on-surface-variant))}:host([focused]) .unchecked-icon,:host([hover]) .unchecked-icon,:host([pressed]) .unchecked-icon{color:rgb(var(--mdui-color-on-surface))}.checked-icon{opacity:0;transform:scale(.2);transition-property:color,opacity,transform;color:rgb(var(--mdui-color-primary))}.icon .i,::slotted([slot=checked-icon]),::slotted([slot=unchecked-icon]){color:inherit;font-size:inherit}i{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border-radius:50%;width:2.5rem;height:2.5rem;--mdui-comp-ripple-state-layer-color:var(--mdui-color-on-surface)}.label{display:flex;width:100%;padding-top:.625rem;padding-bottom:.625rem;color:rgb(var(--mdui-color-on-surface))}.label:not(.initial){transition:color var(--mdui-motion-duration-short4) var(--mdui-motion-easing-standard)}:host([checked]:not([checked=false i])) i{--mdui-comp-ripple-state-layer-color:var(--mdui-color-primary)}:host([checked]:not([checked=false i])) .icon{color:rgb(var(--mdui-color-primary))}:host([checked]:not([checked=false i])) .checked-icon{opacity:1;transform:scale(.5)}i.invalid{--mdui-comp-ripple-state-layer-color:var(--mdui-color-error)}i.invalid .icon{color:rgb(var(--mdui-color-error))}.label.invalid{color:rgb(var(--mdui-color-error))}:host([disabled]:not([disabled=false i])),:host([group-disabled]){cursor:default;pointer-events:none}:host([disabled]:not([disabled=false i])) .icon,:host([group-disabled]) .icon{color:rgba(var(--mdui-color-on-surface),38%)}:host([disabled]:not([disabled=false i])) .label,:host([group-disabled]) .label{color:rgba(var(--mdui-color-on-surface),38%)}`;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @summary 单选框组件。需配合 `<mdui-radio-group>` 组件使用
|
|
38
|
+
*
|
|
39
|
+
* ```html
|
|
40
|
+
* <mdui-radio-group value="chinese">
|
|
41
|
+
* ..<mdui-radio value="chinese">Chinese</mdui-radio>
|
|
42
|
+
* ..<mdui-radio value="english">English</mdui-radio>
|
|
43
|
+
* </mdui-radio-group>
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @event focus - 获得焦点时触发
|
|
47
|
+
* @event blur - 失去焦点时触发
|
|
48
|
+
* @event change - 选中该单选项时触发
|
|
49
|
+
*
|
|
50
|
+
* @slot - 文本内容
|
|
51
|
+
* @slot unchecked-icon - 未选中状态的图标
|
|
52
|
+
* @slot checked-icon - 选中状态的图标
|
|
53
|
+
*
|
|
54
|
+
* @csspart control - 左侧图标容器
|
|
55
|
+
* @csspart unchecked-icon 未选中状态的图标
|
|
56
|
+
* @csspart checked-icon 选中状态的图标
|
|
57
|
+
* @csspart label - 文本内容
|
|
58
|
+
*/
|
|
59
|
+
let Radio = class Radio extends rippleMixin.RippleMixin(rippleMixin.FocusableMixin(componentStyle.MduiElement)) {
|
|
60
|
+
constructor() {
|
|
61
|
+
super(...arguments);
|
|
62
|
+
/**
|
|
63
|
+
* 当前单选项的值
|
|
64
|
+
*/
|
|
65
|
+
this.value = '';
|
|
66
|
+
/**
|
|
67
|
+
* 是否禁用当前单选项
|
|
68
|
+
*/
|
|
69
|
+
this.disabled = false;
|
|
70
|
+
/**
|
|
71
|
+
* 当前单选项是否已选中
|
|
72
|
+
*/
|
|
73
|
+
this.checked = false;
|
|
74
|
+
// 是否验证未通过。由 <mdui-radio-group> 控制该参数
|
|
75
|
+
this.invalid = false;
|
|
76
|
+
// 父组件中是否设置了禁用。由 <mdui-radio-group> 控制该参数
|
|
77
|
+
this.groupDisabled = false;
|
|
78
|
+
// 是否可聚焦。
|
|
79
|
+
// 单独使用该组件时,默认可聚焦。
|
|
80
|
+
// 如果放在 <mdui-radio-group> 组件中使用,则由 <mdui-radio-group> 控制该参数
|
|
81
|
+
this.focusable = true;
|
|
82
|
+
// 是否是初始状态,不显示动画。由 <mdui-radio-group> 组件控制该参数
|
|
83
|
+
this.isInitial = true;
|
|
84
|
+
this.rippleRef = ref.e();
|
|
85
|
+
}
|
|
86
|
+
get rippleElement() {
|
|
87
|
+
return this.rippleRef.value;
|
|
88
|
+
}
|
|
89
|
+
get rippleDisabled() {
|
|
90
|
+
return this.isDisabled();
|
|
91
|
+
}
|
|
92
|
+
get focusElement() {
|
|
93
|
+
return this;
|
|
94
|
+
}
|
|
95
|
+
get focusDisabled() {
|
|
96
|
+
return this.isDisabled() || !this.focusable;
|
|
97
|
+
}
|
|
98
|
+
onCheckedChange() {
|
|
99
|
+
this.emit('change');
|
|
100
|
+
}
|
|
101
|
+
firstUpdated(_changedProperties) {
|
|
102
|
+
super.firstUpdated(_changedProperties);
|
|
103
|
+
this.addEventListener('click', () => {
|
|
104
|
+
if (!this.isDisabled()) {
|
|
105
|
+
this.checked = true;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
render() {
|
|
110
|
+
const className = classMap.e({
|
|
111
|
+
invalid: this.invalid,
|
|
112
|
+
initial: this.isInitial,
|
|
113
|
+
});
|
|
114
|
+
return componentStyle.x `<i part="control" class="${className}"><mdui-ripple ${ref.n(this.rippleRef)} .noRipple="${this.noRipple}"></mdui-ripple><slot name="unchecked-icon" part="unchecked-icon" class="icon unchecked-icon">${this.uncheckedIcon
|
|
115
|
+
? componentStyle.x `<mdui-icon name="${this.uncheckedIcon}" class="i"></mdui-icon>`
|
|
116
|
+
: componentStyle.x `<mdui-icon-radio-button-unchecked class="i"></mdui-icon-radio-button-unchecked>`}</slot><slot name="checked-icon" part="checked-icon" class="icon checked-icon">${this.checkedIcon
|
|
117
|
+
? componentStyle.x `<mdui-icon name="${this.checkedIcon}" class="i"></mdui-icon>`
|
|
118
|
+
: componentStyle.x `<mdui-icon-circle class="i"></mdui-icon-circle>`}</slot></i><slot part="label" class="label ${className}"></slot>`;
|
|
119
|
+
}
|
|
120
|
+
isDisabled() {
|
|
121
|
+
return this.disabled || this.groupDisabled;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
Radio.styles = [componentStyle.componentStyle, radioStyle];
|
|
125
|
+
componentStyle.__decorate([
|
|
126
|
+
directive.n({ reflect: true })
|
|
127
|
+
], Radio.prototype, "value", void 0);
|
|
128
|
+
componentStyle.__decorate([
|
|
129
|
+
directive.n({
|
|
130
|
+
type: Boolean,
|
|
131
|
+
reflect: true,
|
|
132
|
+
converter: attr.booleanConverter,
|
|
133
|
+
})
|
|
134
|
+
], Radio.prototype, "disabled", void 0);
|
|
135
|
+
componentStyle.__decorate([
|
|
136
|
+
directive.n({
|
|
137
|
+
type: Boolean,
|
|
138
|
+
reflect: true,
|
|
139
|
+
converter: attr.booleanConverter,
|
|
140
|
+
})
|
|
141
|
+
], Radio.prototype, "checked", void 0);
|
|
142
|
+
componentStyle.__decorate([
|
|
143
|
+
directive.n({ reflect: true, attribute: 'unchecked-icon' })
|
|
144
|
+
], Radio.prototype, "uncheckedIcon", void 0);
|
|
145
|
+
componentStyle.__decorate([
|
|
146
|
+
directive.n({ reflect: true, attribute: 'checked-icon' })
|
|
147
|
+
], Radio.prototype, "checkedIcon", void 0);
|
|
148
|
+
componentStyle.__decorate([
|
|
149
|
+
state.r()
|
|
150
|
+
], Radio.prototype, "invalid", void 0);
|
|
151
|
+
componentStyle.__decorate([
|
|
152
|
+
directive.n({
|
|
153
|
+
type: Boolean,
|
|
154
|
+
reflect: true,
|
|
155
|
+
converter: attr.booleanConverter,
|
|
156
|
+
attribute: 'group-disabled',
|
|
157
|
+
})
|
|
158
|
+
], Radio.prototype, "groupDisabled", void 0);
|
|
159
|
+
componentStyle.__decorate([
|
|
160
|
+
state.r()
|
|
161
|
+
], Radio.prototype, "focusable", void 0);
|
|
162
|
+
componentStyle.__decorate([
|
|
163
|
+
state.r()
|
|
164
|
+
], Radio.prototype, "isInitial", void 0);
|
|
165
|
+
componentStyle.__decorate([
|
|
166
|
+
watch.watch('checked', true)
|
|
167
|
+
], Radio.prototype, "onCheckedChange", null);
|
|
168
|
+
Radio = componentStyle.__decorate([
|
|
169
|
+
componentStyle.t('mdui-radio')
|
|
170
|
+
], Radio);
|
|
@@ -345,52 +345,3 @@ componentStyle.__decorate([
|
|
|
345
345
|
Tab = componentStyle.__decorate([
|
|
346
346
|
componentStyle.t('mdui-tab')
|
|
347
347
|
], Tab);
|
|
348
|
-
|
|
349
|
-
const tabPanelStyle = componentStyle.i$1 `:host{display:block;overflow-y:auto;flex:1 1 auto}:host(:not([active])){display:none}`;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* @summary 选项卡面板项组件。需配合 `<mdui-tabs>` 和 `<mdui-tab>` 组件使用
|
|
353
|
-
*
|
|
354
|
-
* ```html
|
|
355
|
-
* <mdui-tabs value="tab-1">
|
|
356
|
-
* ..<mdui-tab value="tab-1">Tab 1</mdui-tab>
|
|
357
|
-
* ..<mdui-tab value="tab-2">Tab 2</mdui-tab>
|
|
358
|
-
* ..<mdui-tab value="tab-3">Tab 3</mdui-tab>
|
|
359
|
-
*
|
|
360
|
-
* ..<mdui-tab-panel slot="panel" value="tab-1">Panel 1</mdui-tab-panel>
|
|
361
|
-
* ..<mdui-tab-panel slot="panel" value="tab-2">Panel 2</mdui-tab-panel>
|
|
362
|
-
* ..<mdui-tab-panel slot="panel" value="tab-3">Panel 3</mdui-tab-panel>
|
|
363
|
-
* </mdui-tabs>
|
|
364
|
-
* ```
|
|
365
|
-
*
|
|
366
|
-
* @slot - 选项卡面板项内容
|
|
367
|
-
*/
|
|
368
|
-
let TabPanel = class TabPanel extends componentStyle.MduiElement {
|
|
369
|
-
constructor() {
|
|
370
|
-
super(...arguments);
|
|
371
|
-
/**
|
|
372
|
-
* 是否为激活状态,由 `<mdui-tabs>` 组件控制该状态
|
|
373
|
-
*/
|
|
374
|
-
this.active = false;
|
|
375
|
-
}
|
|
376
|
-
render() {
|
|
377
|
-
return componentStyle.x `<slot></slot>`;
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
TabPanel.styles = [
|
|
381
|
-
componentStyle.componentStyle,
|
|
382
|
-
tabPanelStyle,
|
|
383
|
-
];
|
|
384
|
-
componentStyle.__decorate([
|
|
385
|
-
directive.n({ reflect: true })
|
|
386
|
-
], TabPanel.prototype, "value", void 0);
|
|
387
|
-
componentStyle.__decorate([
|
|
388
|
-
directive.n({
|
|
389
|
-
type: Boolean,
|
|
390
|
-
reflect: true,
|
|
391
|
-
converter: attr.booleanConverter,
|
|
392
|
-
})
|
|
393
|
-
], TabPanel.prototype, "active", void 0);
|
|
394
|
-
TabPanel = componentStyle.__decorate([
|
|
395
|
-
componentStyle.t('mdui-tab-panel')
|
|
396
|
-
], TabPanel);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var componentStyle = require('./component-style-BC5DdXyd.js');
|
|
4
|
+
var directive = require('./directive-CxKj9eM_.js');
|
|
5
|
+
var attr = require('./attr-D_LyPdSc.js');
|
|
6
|
+
|
|
7
|
+
const tabPanelStyle = componentStyle.i$1 `:host{display:block;overflow-y:auto;flex:1 1 auto}:host(:not([active])){display:none}`;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @summary 选项卡面板项组件。需配合 `<mdui-tabs>` 和 `<mdui-tab>` 组件使用
|
|
11
|
+
*
|
|
12
|
+
* ```html
|
|
13
|
+
* <mdui-tabs value="tab-1">
|
|
14
|
+
* ..<mdui-tab value="tab-1">Tab 1</mdui-tab>
|
|
15
|
+
* ..<mdui-tab value="tab-2">Tab 2</mdui-tab>
|
|
16
|
+
* ..<mdui-tab value="tab-3">Tab 3</mdui-tab>
|
|
17
|
+
*
|
|
18
|
+
* ..<mdui-tab-panel slot="panel" value="tab-1">Panel 1</mdui-tab-panel>
|
|
19
|
+
* ..<mdui-tab-panel slot="panel" value="tab-2">Panel 2</mdui-tab-panel>
|
|
20
|
+
* ..<mdui-tab-panel slot="panel" value="tab-3">Panel 3</mdui-tab-panel>
|
|
21
|
+
* </mdui-tabs>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @slot - 选项卡面板项内容
|
|
25
|
+
*/
|
|
26
|
+
let TabPanel = class TabPanel extends componentStyle.MduiElement {
|
|
27
|
+
constructor() {
|
|
28
|
+
super(...arguments);
|
|
29
|
+
/**
|
|
30
|
+
* 是否为激活状态,由 `<mdui-tabs>` 组件控制该状态
|
|
31
|
+
*/
|
|
32
|
+
this.active = false;
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
return componentStyle.x `<slot></slot>`;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
TabPanel.styles = [
|
|
39
|
+
componentStyle.componentStyle,
|
|
40
|
+
tabPanelStyle,
|
|
41
|
+
];
|
|
42
|
+
componentStyle.__decorate([
|
|
43
|
+
directive.n({ reflect: true })
|
|
44
|
+
], TabPanel.prototype, "value", void 0);
|
|
45
|
+
componentStyle.__decorate([
|
|
46
|
+
directive.n({
|
|
47
|
+
type: Boolean,
|
|
48
|
+
reflect: true,
|
|
49
|
+
converter: attr.booleanConverter,
|
|
50
|
+
})
|
|
51
|
+
], TabPanel.prototype, "active", void 0);
|
|
52
|
+
TabPanel = componentStyle.__decorate([
|
|
53
|
+
componentStyle.t('mdui-tab-panel')
|
|
54
|
+
], TabPanel);
|
|
@@ -80,13 +80,13 @@ const UrAdBanner = class {
|
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
82
|
const isAnchor = this.adFormat === 'anchor';
|
|
83
|
-
return (index.h(index.Host, { key: '
|
|
83
|
+
return (index.h(index.Host, { key: 'a72f771341ac759c41643b0ea31dc58fb130cab2', class: {
|
|
84
84
|
'ur-ad-banner': true,
|
|
85
85
|
[`ur-ad-banner--${this.position}`]: true,
|
|
86
86
|
'ur-ad-banner--anchor': isAnchor,
|
|
87
|
-
} }, this.showLabel && !isAnchor && (index.h("div", { key: '
|
|
87
|
+
} }, this.showLabel && !isAnchor && (index.h("div", { key: '6408d0cc2597766f186fe4a7ac0de08e17427050', class: "ur-ad-banner__label" }, index.h("span", { key: '8827ad938f9671fa1e2f9fbe2b4c53c31c844df4', class: "ur-ad-banner__label-text" }, "Advertisement"))), index.h("ins", { key: '5f1da5aa0d9f5dbcae5ebf3eda22eb74cb6e0481', class: "adsbygoogle", style: {
|
|
88
88
|
display: 'block',
|
|
89
|
-
}, "data-ad-client": this.adClient, "data-ad-slot": this.adSlot, "data-ad-format": this.adFormat, "data-full-width-responsive": this.fullWidthResponsive ? 'true' : 'false' }), this.showGoAdFree && !isAnchor && (index.h("div", { key: '
|
|
89
|
+
}, "data-ad-client": this.adClient, "data-ad-slot": this.adSlot, "data-ad-format": this.adFormat, "data-full-width-responsive": this.fullWidthResponsive ? 'true' : 'false' }), this.showGoAdFree && !isAnchor && (index.h("div", { key: '3f7622634c6d17522e3abea7ab3352695f9060bb', class: "ur-ad-banner__cta" }, index.h("button", { key: '63aded45da7bc021c6b6d7f3fb68de9d46914e8f', class: "ur-ad-banner__cta-button", onClick: () => this.handleGoAdFree(), type: "button" }, index.h("svg", { key: 'bd7fa595be7b34d5585b7cb9eddbb5d9a241ee8f', class: "ur-ad-banner__cta-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2" }, index.h("path", { key: '47e284a3ce66b69440c36a076efb9acf217b32a3', d: "M13 2L3 14h9l-1 8 10-12h-9l1-8z" })), index.h("span", { key: 'f69569d74b751f6e10f420518a823eb9dc53f972' }, "Go Ad-Free"))))));
|
|
90
90
|
}
|
|
91
91
|
get el() { return index.getElement(this); }
|
|
92
92
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DlgBfuIH.js');
|
|
4
|
-
require('./ur-avatar-
|
|
4
|
+
require('./ur-avatar-BV3tq4vp.js');
|
|
5
5
|
require('./ur-button.cjs.entry.js');
|
|
6
6
|
require('./ur-long-description.cjs.entry.js');
|
|
7
7
|
require('./ur-chip.cjs.entry.js');
|
|
@@ -89,13 +89,13 @@ const UrAuthorPageProfile = class {
|
|
|
89
89
|
'profile-mobile-main': this.platform === 'mobile-main',
|
|
90
90
|
'profile-mobile-secondary': this.platform === 'mobile-secondary',
|
|
91
91
|
};
|
|
92
|
-
return (index.h(index.Host, { key: '
|
|
92
|
+
return (index.h(index.Host, { key: 'a2d154dea6cb406e660e662f9e30aaf6a035555e', class: classes }, index.h("div", { key: 'f897c3e1f92bf0d6cd1098c9c114df31a2f1b028', class: classes }, this.platform === 'desktop' && (index.h("div", { key: '8f0f1ae2dc1647c0905b3b54789a4ad43eea309d', class: "desktop-content" }, index.h("div", { key: '45b223eb1ac66fff5d29b63ce9edab5357fab60f', class: "avatar" }, index.h("ur-avatar", { key: 'b2f811286f72a844a7581312bd403bbc43b75395', border: "4px", radius: "50px", size: "96px", src: this.avatar, name: this.name, skeleton: this.skeleton })), index.h("div", { key: '34a6d8e6299bf25e255a125a70db1955d48b7441', class: "info" }, index.h("div", { key: 'e7d2e44375f193b8c5e63a650200d7c4cbd573b0', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '180px', height: '22px' } }) : this.name), index.h("div", { key: '6c8cbd36c60c9858777e7c6448b6b2ad077dad28', class: "author-label" }, this.authorText), this.skeleton ? index.h("ur-long-description", { class: "bio", skeleton: true }) : this.bio && index.h("ur-long-description", { class: "bio", description: this.bio, markdown: this.markdown, showLessText: this.showLessText, showMoreText: this.showMoreText }), this.renderLocation(), this.renderAllLinks()))), this.platform === 'desktop' && [
|
|
93
93
|
this.renderStats(),
|
|
94
94
|
this.renderTopWork(),
|
|
95
95
|
this.renderGenres(),
|
|
96
96
|
this.renderAlternateNames(),
|
|
97
97
|
this.renderLifeDates(),
|
|
98
|
-
], this.platform === 'mobile-main' && (index.h("div", { key: '
|
|
98
|
+
], this.platform === 'mobile-main' && (index.h("div", { key: '360e7e7673a11e22aee7c75728a61e18e297429b', class: "mobile-main-content" }, index.h("div", { key: 'b517e0e40ac1d0f4716f1c0e24fc8956965416e1', class: "avatar" }, index.h("ur-avatar", { key: 'e8299f83dbf52c838b84ae7d207846bc7fa76951', border: "4px", radius: "50px", size: "96px", src: this.avatar, name: this.name, skeleton: this.skeleton })), index.h("div", { key: '71eb777b0186e84b4e92187c129fe3ff16af4230', class: "info" }, index.h("div", { key: 'e51858945e9fbaf85a3d17d879042f453df64e34', class: "name" }, this.skeleton ? index.h("div", { class: "skeleton-line loading", style: { width: '180px', height: '22px' } }) : this.name), index.h("div", { key: '9bf0608b4840640c5aafb2e4f912ae5ebd3b3593', class: "author-label" }, this.authorText), this.skeleton ? index.h("ur-long-description", { class: "bio", skeleton: true }) : this.bio && index.h("ur-long-description", { class: "bio", description: this.bio, markdown: this.markdown, showLessText: this.showLessText, showMoreText: this.showMoreText }), this.renderLocation(), this.renderAllLinks()))), this.platform === 'mobile-secondary' && [
|
|
99
99
|
this.renderStats(),
|
|
100
100
|
this.renderTopWork(),
|
|
101
101
|
this.renderGenres(),
|
|
@@ -107,7 +107,7 @@ const UrAutosaveDrawer = class {
|
|
|
107
107
|
return (index.h("div", { class: "confirmation-content" }, index.h("div", { class: "confirmation-title" }, this.deleteConfirmMessage), index.h("div", { class: "confirmation-buttons" }, index.h("ur-button-icon", { icon: "check", variant: "standard", buttonHeight: "32px", buttonWidth: "32px", onClick: event => this.handleDeleteConfirm(event, autosave) }), index.h("ur-button-icon", { icon: "close", variant: "standard", buttonHeight: "32px", buttonWidth: "32px", onClick: event => this.handleDeleteCancel(event, autosave) }))));
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (index.h(index.Host, { key: '
|
|
110
|
+
return (index.h(index.Host, { key: 'b9b9e18edcf0157f821fafd71e6e22d88dd6378d' }, index.h("div", { key: 'bb07dcbdc4c8333455291049158b6057c80a7c7c', class: "drawer" }, this.autosaves && this.autosaves.length > 0 && (index.h("div", { key: 'aa07506ed6a09bb93c984ec8f12243b23460a3d0', class: "autosaves-container" }, index.h("div", { key: '1619d8e7c1a8ff0f841b56f1a0e27ec9cbe02597', class: "autosaves-title" }, this.autosavesTitle), index.h("ur-list", { key: '1fdcd75b4480fc8ca003edf5bc94d6e9d8bc8457' }, this.autosaves.map((autosave, index$1) => autosave.showOptions ? (index.h("ur-list-item", { key: autosave.id || autosave._id || index$1, nonclickable: true, class: "confirmation-item" }, this.renderDeleteConfirmation(autosave))) : (index.h("div", { class: "autosave-item" }, index.h("ur-list-item", { key: autosave.id || autosave._id || index$1, onClick: event => this.handleOpenAutosave(event, autosave) }, this.renderAutosaveContent(autosave)), index.h("ur-button-icon", { class: "delete-button", icon: "delete", variant: "standard", buttonHeight: "40px", buttonWidth: "40px", onClick: event => this.handleDeleteRequest(event, autosave) }))))))))));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"autosaves": ["autosavesChanged"]
|
|
@@ -9,7 +9,6 @@ const UrAvatar = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
this.size = '32px';
|
|
11
11
|
this.border = '0';
|
|
12
|
-
this.radius = '50%';
|
|
13
12
|
this.variant = 'user';
|
|
14
13
|
this.skeleton = false;
|
|
15
14
|
this.imageError = false;
|
|
@@ -20,6 +19,14 @@ const UrAvatar = class {
|
|
|
20
19
|
this.updateImageSrc();
|
|
21
20
|
};
|
|
22
21
|
}
|
|
22
|
+
get effectiveRadius() {
|
|
23
|
+
// If radius is explicitly set, use it
|
|
24
|
+
if (this.radius) {
|
|
25
|
+
return this.radius;
|
|
26
|
+
}
|
|
27
|
+
// Otherwise, use default based on variant
|
|
28
|
+
return this.variant === 'page' ? '8px' : '50%';
|
|
29
|
+
}
|
|
23
30
|
componentWillLoad() {
|
|
24
31
|
this.updateImageSrc();
|
|
25
32
|
}
|
|
@@ -40,20 +47,20 @@ const UrAvatar = class {
|
|
|
40
47
|
if (this.skeleton) {
|
|
41
48
|
return (index.h(index.Host, { style: {
|
|
42
49
|
background: 'rgb(var(--ur-color-background))',
|
|
43
|
-
borderRadius: this.
|
|
50
|
+
borderRadius: this.effectiveRadius,
|
|
44
51
|
height: this.size,
|
|
45
52
|
width: this.size,
|
|
46
53
|
minHeight: this.size,
|
|
47
54
|
minWidth: this.size
|
|
48
55
|
} }, index.h("div", { class: "avatar-skeleton loading", style: {
|
|
49
|
-
borderRadius: this.
|
|
56
|
+
borderRadius: this.effectiveRadius,
|
|
50
57
|
height: this.size,
|
|
51
58
|
width: this.size
|
|
52
59
|
} })));
|
|
53
60
|
}
|
|
54
61
|
return (index.h(index.Host, { style: {
|
|
55
62
|
background: 'rgb(var(--ur-color-background))',
|
|
56
|
-
borderRadius: this.
|
|
63
|
+
borderRadius: this.effectiveRadius,
|
|
57
64
|
height: this.size,
|
|
58
65
|
width: this.size,
|
|
59
66
|
minHeight: this.size,
|
|
@@ -61,10 +68,10 @@ const UrAvatar = class {
|
|
|
61
68
|
borderWidth: this.border,
|
|
62
69
|
borderStyle: 'solid',
|
|
63
70
|
borderColor: 'rgb(var(--ur-color-background))'
|
|
64
|
-
} }, this.imageSrc && (index.h("img", { class: "avatar", src: this.imageSrc, onError: this.handleImageError, style: { height: this.size, width: this.size, borderRadius: this.
|
|
71
|
+
} }, this.imageSrc && (index.h("img", { class: "avatar", src: this.imageSrc, onError: this.handleImageError, style: { height: this.size, width: this.size, borderRadius: this.effectiveRadius }, alt: this.name || (this.variant === 'page' ? 'Page Avatar' : 'User Avatar') })), !this.imageSrc && this.name && (index.h("div", { class: "avatar-initials", style: {
|
|
65
72
|
height: this.size,
|
|
66
73
|
width: this.size,
|
|
67
|
-
borderRadius: this.
|
|
74
|
+
borderRadius: this.effectiveRadius,
|
|
68
75
|
display: 'flex',
|
|
69
76
|
alignItems: 'center',
|
|
70
77
|
justifyContent: 'center',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var urAvatar = require('./ur-avatar-
|
|
3
|
+
var urAvatar = require('./ur-avatar-BV3tq4vp.js');
|
|
4
4
|
var index = require('./index-DlgBfuIH.js');
|
|
5
5
|
var novls = require('./novls-BHGdrCzu.js');
|
|
6
6
|
var urTooltip = require('./ur-tooltip-8JU9DWrs.js');
|
|
@@ -137,7 +137,7 @@ const UrBottomSheet = class {
|
|
|
137
137
|
// Stop click from reaching backdrop
|
|
138
138
|
e.stopPropagation();
|
|
139
139
|
};
|
|
140
|
-
return (index.h("div", { key: '
|
|
140
|
+
return (index.h("div", { key: 'b048d3e9457c71cb3cfca7a05fcb0075e89f6345', class: backdropClasses, onClick: this.handleBackdropClick, "aria-hidden": !this.isVisible }, index.h("div", { key: '0b4da4b6e04a5654510d1b1e1d40cbdc963f6889', class: sheetClasses, ref: el => (this.sheetElement = el), onClick: handleSheetClick }, index.h("div", { key: '59c174b6d2a504b96d03d89c9bcf4fa735091cbf', class: "sheet-header", ref: el => (this.headerElement = el), onMouseDown: this.handlePointerDown, onTouchStart: this.handlePointerDown, role: "banner" }, index.h("div", { key: 'a3ec116754a5941777778f579fdb4451d173e3a4', class: "sheet-handle" }), index.h("slot", { key: 'a437eb1797f3ff9373c8b8ed5182f286cf548e8d', name: "header" })), index.h("div", { key: 'bed60fb4c40640cb7702ff82fc0ff2262ddec1ee', class: "sheet-content", role: "main" }, index.h("slot", { key: 'ba73f010973f018e167e47315d358116b765c3eb' })), index.h("div", { key: '451dd45d0228b0ac350478a962a661b71c0d11ef', class: "sheet-footer", role: "contentinfo" }, index.h("slot", { key: 'a35c721e40ac4d8661260c496e78fd2e42511620', name: "footer" })))));
|
|
141
141
|
}
|
|
142
142
|
get el() { return index.getElement(this); }
|
|
143
143
|
static get watchers() { return {
|
|
@@ -120,12 +120,12 @@ const UrBravo = class {
|
|
|
120
120
|
return AMOUNTS.indexOf(this.selectedAmount);
|
|
121
121
|
}
|
|
122
122
|
;
|
|
123
|
-
componentDidLoad() {
|
|
123
|
+
async componentDidLoad() {
|
|
124
124
|
var _a;
|
|
125
125
|
// Set up the label formatter for the slider
|
|
126
126
|
const slider = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('ur-slider');
|
|
127
127
|
if (slider) {
|
|
128
|
-
slider.setLabelFormatter((index) => {
|
|
128
|
+
await slider.setLabelFormatter((index) => {
|
|
129
129
|
return `${this.currencySymbol}${AMOUNTS[index]}`;
|
|
130
130
|
});
|
|
131
131
|
}
|
|
@@ -32,7 +32,7 @@ const UrButtonArrowLeft = class {
|
|
|
32
32
|
this.disabled = false;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: '0876cbf47f77b9edc80233202c64819fd7cac909' }, index.h("mdui-button-icon", { key: 'e0df47737417fb00ab9cd369be6efc2cba62c4ec', borderRadius: "12px", disabled: this.disabled, onClick: () => this.leftClicked.emit() }, index.h("svg", { key: '270586c8074388d9ee653caf119bbda0dc5518df', xmlns: "http://www.w3.org/2000/svg", width: "29", height: "28", viewBox: "0 0 29 28", fill: "none" }, index.h("g", { key: 'f4d3c9cc895da81cfbab009fe001fb094de925bf' }, index.h("path", { key: '984e155c115c8888f550a88ea173aad9bc30bc12', d: "M22.6667 13.9998L6.33334 13.9998M6.33334 13.9998L14.5 22.1665M6.33334 13.9998L14.5 5.83317", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
UrButtonArrowLeft.style = urButtonArrowLeftCss;
|
|
@@ -46,7 +46,7 @@ const UrButtonArrowRight = class {
|
|
|
46
46
|
this.disabled = false;
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
49
|
+
return (index.h(index.Host, { key: '0b1893e70c1329e2544898baf6f0bf7bfd31750a' }, index.h("mdui-button-icon", { key: '547d288d9fe9a0832b80823b3e370ce1d0e061c2', disabled: this.disabled, onClick: () => this.rightClicked.emit() }, index.h("svg", { key: '064cc987eb29b044ae482613eee76c432c36e3a8', width: "29", height: "28", viewBox: "0 0 29 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: 'f63405a6bf7969caaeea899143461773675f009a', id: "Arrow right" }, index.h("path", { key: '75bd491be3977c7427cf240654c278070a8ffc57', id: "Icon", d: "M6.33331 14.0002H22.6666M22.6666 14.0002L14.5 5.8335M22.6666 14.0002L14.5 22.1668", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
UrButtonArrowRight.style = urButtonArrowRightCss;
|
|
@@ -54,7 +54,7 @@ const UrButtonIcon = class {
|
|
|
54
54
|
'ur-button-icon': true,
|
|
55
55
|
'ur-button-icon--active': this.active
|
|
56
56
|
};
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '4d97e8c25953d7c643692cc7897b435dd7783d8c', style: { borderRadius: this.borderRadius, color: this.fontColor, width: this.buttonWidth, height: this.buttonHeight, backgroundColor: this.backgroundColor } }, index.h("mdui-button-icon", { key: 'eb2c9fd72ad1c8f27d8f20aecc408664fc585c21', style: { borderRadius: this.borderRadius, color: this.fontColor, width: this.buttonWidth, height: this.buttonHeight, backgroundColor: this.backgroundColor }, class: classes, variant: this.variant, loading: this.loading, disabled: this.disabled, selected: this.selected }, index.h("slot", { key: 'a04233ad72004ec631db6f839c4c12c77dfc5e9a' }, this.renderIcon()))));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
UrButtonIcon.style = urButtonIconCss;
|
|
@@ -54,7 +54,9 @@ const UrButton = class {
|
|
|
54
54
|
display: this.maxWidth ? 'inline-block' : (this.fullWidth ? 'block' : 'inline-block')
|
|
55
55
|
};
|
|
56
56
|
const buttonStyle = {
|
|
57
|
-
color: this.fontColor,
|
|
57
|
+
color: this.color || this.fontColor,
|
|
58
|
+
'--mdui-comp-button-text-button-label-text-color': this.color,
|
|
59
|
+
'--mdui-comp-button-text-button-icon-color': this.color,
|
|
58
60
|
height: this.buttonHeight,
|
|
59
61
|
borderRadius: this.borderRadius,
|
|
60
62
|
backgroundColor: this.backgroundColor,
|
|
@@ -56,7 +56,7 @@ const UrChapterItem = class {
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (index.h(index.Host, { key: '
|
|
59
|
+
return (index.h(index.Host, { key: 'f90c3f66435e92f8fde8738d8f58a06dc42ff134' }, index.h("div", { key: '05fed758df81d762d9d8410c6e0615bf4532e537', class: "chapter-container" }, index.h("div", { key: '714a9f5bcfbbac0eeda10c36d8c8b3f2fcae1a92', class: `chapter ${this.isBound ? 'bound' : ''}` }, index.h("div", { key: '5b5bdc3908c4707cdcd0c7c9f26a2879b8be30e2', class: "chapter-card" }, index.h("div", { key: '58fc7e60048d71f953db5667ebf172b0a1424f69', class: "top-hld" }, index.h("div", { key: 'e3fbdb9944919246d75e469f2fd7fb7f5b4c36b8', class: "txt-hld" }, index.h("span", { key: 'a1ad83de4204c8bb23921591f90a142c7a668056', class: "chapter-number" }, this.chapterNumber), index.h("span", { key: '92dd28796b2df95eb09d8c2d74db022b213fb730', class: "main-holder" }, index.h("span", { key: '69c118590986430dcf349f71052ca68c7d5f3645', class: "chapter-title", onClick: () => this.onReadChapter(this.chapterId) }, this.chapterTitle), index.h("span", { key: '4bcb5459ca2b6c0c8542ffce4c930c9cc46e3090', class: "story-stats" }, this.likes > 0 && (index.h("span", { key: '28ce8ffc11b1e2d00435917ae9e342dc08e642c9', class: "story-stat" }, index.h("span", { key: '0e9cfb7ec95339ea1cffef348f8b319371d57c56', class: "story-stat-value" }, this.likes), index.h("span", { key: 'fcc6a389bbc9efef4ae52c6b5d8a4aca3282eb2d', class: "story-stat-label" }, this.likesText))), this.likes > 0 && index.h("span", { key: 'e0aec9eb5083ddc4cacd460780aed40d86e87df6', class: "story-stat-separator" }, "\u00B7"), this.views > 0 && (index.h("span", { key: '58886d2ebe07b87ed86fa14a306aeffc5a1d10f4', class: "story-stat" }, index.h("span", { key: '768b0742715af745024b7733393f64c2a4c1c1c1', class: "story-stat-value" }, this.views), index.h("span", { key: 'f72422cd7c15452c5df8391d60c54d832c4e8fe4', class: "story-stat-label" }, this.viewsText))), this.views > 0 && index.h("span", { key: '7519ae3d5012286db128a0f5152c154748e9a826', class: "story-stat-separator" }, "\u00B7"), index.h("span", { key: '1a38075c0658632dbe2921be48ffe2efd5dfca8c', class: "story-stat" }, index.h("span", { key: '6661717b5a859441dd44fa6d7b4ca36444813b24', class: "story-stat-value" }, this.readingDuration === -1 ? 'N/A' : this.readingDuration), index.h("span", { key: '010b7d820ef82ede24034fa96adadba10219c437', class: "story-stat-label" }, this.readingDurationText))), index.h("ur-time-ago", { key: 'cbfb7631bf37a6fdb5a3719e94213b2c7cd92f55', class: "when", date: this.createdAt, locale: this.locale }))))), index.h("div", { key: 'b66f8da5b8fef9ff379b9cc7a3c5c33109d9ecf6', class: "action-buttons" }, this.isOwner && (index.h("ur-button", { key: 'd6ff29861ad50fdbf3aebe6809f11397863bc407', class: "action-button", disabled: this.loading, variant: "text", onClick: () => this.onReadChapter(this.chapterId) }, this.readChapterText)), !this.isLocked && !this.isOwner && (index.h("ur-button", { key: 'f2da39f0780472edb327e82d6db3ce0c803e2e37', class: "action-button", disabled: this.loading, variant: "text", onClick: () => this.onReadChapter(this.chapterId) }, this.readChapterText)), this.isOwner && !this.isStoryCompleted && this.isLastChapter && (index.h("ur-button-icon", { key: 'd02aa74dd1b2f0ce49d3ae7985a8d9b9544bbb82', fontColor: "rgb(var(--ur-color-primary))", class: "menu-button", icon: "delete", onClick: () => this.onChapterDelete(this.chapterId, this.chapterTitle) })), this.isLocked && (index.h("ur-button-icon", { key: '26d4b1f29c3a55433b92dd1fd2475c23c911f4d3', disabled: true, class: "menu-button", icon: "lock" })))))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return index.getElement(this); }
|
|
62
62
|
};
|
|
@@ -154,7 +154,7 @@ const UrCheckboxGroup = class {
|
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
156
|
const showSelectAll = this.selectAll && this.maxSelectable === null;
|
|
157
|
-
return (index.h(index.Host, { key: '
|
|
157
|
+
return (index.h(index.Host, { key: 'a7f98ba1fdd3118e527e7c674f647b4b7e88a02c' }, showSelectAll && (index.h("ur-checkbox", { key: '3cb7b3d88c2366fe346aaa796f7778b3baca3d74', value: "select-all", onValueChanged: this.handleValueChange }, this.selectAllText)), index.h("slot", { key: '7eacc3dec4e83bc18b4358f1615e72ff2f72dd61', onSlotchange: this.onSlotChange })));
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
UrCheckboxGroup.style = urCheckboxGroupCss;
|
|
@@ -21,7 +21,7 @@ const UrCircularProgress = class {
|
|
|
21
21
|
* Render the circular progress component.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: 'a071ba1203ad287b202400f583f7093bc364c5a8' }, index.h("mdui-circular-progress", { key: '69bc9d2ad827bb86b2ce4fed02a7f8561b563878', max: this.max, value: this.value !== undefined ? this.value : undefined, style: { "width": this.width, "height": this.height } })));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
UrCircularProgress.style = urCircularProgressCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-DlgBfuIH.js');
|
|
4
4
|
|
|
5
|
-
const urCommentFormCss = ":host{display:block;width:100%}:host .form-content{display:flex;gap:12px
|
|
5
|
+
const urCommentFormCss = ":host{display:block;width:100%}:host .form-content{display:flex;gap:12px}:host .form-main{flex:1;display:flex;flex-direction:column;gap:12px}:host .input-container{width:100%;position:relative}:host .button-container{display:flex;justify-content:flex-end;gap:8px}:host .mobile-form ur-text-field{margin-right:4px;flex:1;}:host .mobile-form ur-button-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center}:host .mobile-form{gap:4px;display:flex;flex-direction:row;align-items:center}:host([mobile-stretch-alignment]) .mobile-form{align-items:stretch}:host([mobile-stretch-alignment]) .mobile-form ur-avatar{align-self:flex-start}:host([mobile-stretch-alignment]) .mobile-form ur-button-icon{align-self:flex-end}:host([variant=\"mobile\"]) .form-content{flex-direction:row;align-items:center;gap:4px}:host([variant=\"mobile\"]) .form-main{flex-direction:row;gap:4px;align-items:center}:host([variant=\"mobile\"]) .input-container{flex:1}:host([variant=\"mobile\"]) ur-text-field{--ur-text-field-padding:4px;--ur-text-field-font-size:14px}:host([variant=\"mobile\"]) .button-container{flex-shrink:0;margin:0;padding:0}";
|
|
6
6
|
|
|
7
7
|
const UrCommentForm = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -22,6 +22,9 @@ const UrCommentForm = class {
|
|
|
22
22
|
this.submitButtonText = 'Post';
|
|
23
23
|
this.showCancelButton = false;
|
|
24
24
|
this.cancelButtonText = 'Cancel';
|
|
25
|
+
this.mobileAvatarSize = '56px';
|
|
26
|
+
this.mobileGap = '4px';
|
|
27
|
+
this.mobileStretchAlignment = false;
|
|
25
28
|
// Internal state
|
|
26
29
|
this.formState = {
|
|
27
30
|
text: '',
|
|
@@ -69,7 +72,7 @@ const UrCommentForm = class {
|
|
|
69
72
|
if (this.isServer) {
|
|
70
73
|
return null;
|
|
71
74
|
}
|
|
72
|
-
return (index.h("div", { class: `comment-form ${this.variant}` }, this.variant === 'desktop' ? (index.h("div", { class: "form-content" }, this.user && index.h("ur-avatar", { src: this.user.picture, name: this.user.displayName, size: "40px" }), index.h("div", { class: "form-main" }, index.h("div", { class: "input-container" }, index.h("ur-text-field", { label: "", placeholder: this.placeholder, maxlength: this.maxLength, rows: 3, autosize: true, counter: true, disabled: this.disabled, error: !!this.formState.error, errorMessage: this.formState.error, value: this.formState.text, onValueChanged: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur })), index.h("div", { class: "button-container" }, this.showCancelButton && (index.h("ur-button", { variant: "text", onClick: this.handleCancel }, this.cancelButtonText)), index.h("ur-button", { variant: "filled", "end-icon": "send", disabled: !this.isFormValid(), onClick: this.handleSubmit }, this.submitButtonText))))) : (index.h("div", { class: "mobile-form" }, this.user && index.h("ur-avatar", { src: this.user.picture, name: this.user.displayName, size:
|
|
75
|
+
return (index.h("div", { class: `comment-form ${this.variant}` }, this.variant === 'desktop' ? (index.h("div", { class: "form-content" }, this.user && index.h("ur-avatar", { src: this.user.picture, name: this.user.displayName, size: "40px" }), index.h("div", { class: "form-main" }, index.h("div", { class: "input-container" }, index.h("ur-text-field", { label: "", placeholder: this.placeholder, maxlength: this.maxLength, rows: 3, autosize: true, counter: true, disabled: this.disabled, error: !!this.formState.error, errorMessage: this.formState.error, value: this.formState.text, onValueChanged: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur })), index.h("div", { class: "button-container" }, this.showCancelButton && (index.h("ur-button", { variant: "text", onClick: this.handleCancel }, this.cancelButtonText)), index.h("ur-button", { variant: "filled", "end-icon": "send", disabled: !this.isFormValid(), onClick: this.handleSubmit }, this.submitButtonText))))) : (index.h("div", { class: "mobile-form", style: { gap: this.mobileGap } }, this.user && index.h("ur-avatar", { src: this.user.picture, name: this.user.displayName, size: this.mobileAvatarSize }), index.h("ur-text-field", { label: "", placeholder: this.placeholder, maxlength: this.maxLength, rows: 1, autosize: true, counter: false, disabled: this.disabled, error: !!this.formState.error, errorMessage: this.formState.error, value: this.formState.text, onValueChanged: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur }), index.h("ur-button-icon", { buttonWidth: this.mobileAvatarSize, buttonHeight: this.mobileAvatarSize, icon: "send", variant: "filled", disabled: !this.isFormValid(), onClick: this.handleSubmit })))));
|
|
73
76
|
}
|
|
74
77
|
get el() { return index.getElement(this); }
|
|
75
78
|
};
|
|
@@ -150,7 +150,7 @@ const UrCompetitionCarousel = class {
|
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
152
|
const displayCompetitions = this.skeleton ? this.generateSkeletonCompetitions() : this.competitions;
|
|
153
|
-
return (index.h(index.Host, { key: '
|
|
153
|
+
return (index.h(index.Host, { key: '11138abc0d17c0c4897948b35acd2ef4225a99fb', class: { skeleton: this.skeleton } }, index.h("div", { key: '8dbedc3dc039b4126a4c78a9bea00c4d3989a890', class: "carousel" }, this.navigation && (index.h("ur-button-arrow-left", { key: '94ed3585708ff272dd3933264b0a99589bffaa1a', disabled: this.skeleton || this.disabledPrev })), this.navigation && (index.h("ur-button-arrow-right", { key: 'ba7b6b30e9753b3ac0257905937e0979fd66945b', disabled: this.skeleton || this.loading || this.disabledNext })), index.h("swiper-container", { key: '27c2efeef8d0777047f2efe83988cac468eb0470', 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 }, displayCompetitions.map((competition, index) => this.renderCompetition(competition, index))))));
|
|
154
154
|
}
|
|
155
155
|
get el() { return index.getElement(this); }
|
|
156
156
|
};
|