urnovl-web-components 0.0.260 → 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-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 +3 -3
- 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 +3 -3
- 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-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-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 +1 -1
- package/dist/cjs/ur-subscription-tiers-carousel.cjs.entry.js +1 -1
- 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 +3 -3
- 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 +6 -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-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.js +3 -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 +2 -2
- 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-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-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.js +1 -1
- package/dist/collection/components/ur-subscription-tiers-carousel/ur-subscription-tiers-carousel.js +1 -1
- package/dist/collection/components/ur-switch/ur-switch.js +1 -1
- package/dist/collection/components/ur-tabs/ur-tabs.js +1 -1
- package/dist/collection/components/ur-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 +2 -2
- 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/stories/CommentForm.stories.js +22 -0
- 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/UserProfileSettingsForm.stories.js +70 -0
- package/dist/components/{p-BKchntfo.js → p-03wkTPxQ.js} +1 -1
- 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-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 +1 -1
- 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 +3 -3
- 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 +6 -6
- 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 -1
- 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-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 +2 -2
- package/dist/components/ur-subscription-tier-editor.js +1 -1
- package/dist/components/ur-subscription-tiers-carousel.js +5 -5
- 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 +7 -7
- 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-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 +3 -3
- 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 +3 -3
- 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-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-snackbar.entry.js +2 -2
- package/dist/esm/ur-stepper.entry.js +1 -1
- package/dist/esm/ur-subscription-card.entry.js +1 -1
- package/dist/esm/ur-subscription-tiers-carousel.entry.js +1 -1
- 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 +3 -3
- 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-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-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-radio-button/ur-radio-button.d.ts +2 -1
- 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 +4832 -3682
- package/dist/types/stories/CommentForm.stories.d.ts +30 -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/UserProfileSettingsForm.stories.d.ts +33 -0
- package/dist/urnovl-web-components/p-01757565.entry.js +1 -1
- 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-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/{www/build/p-baef18c0.entry.js → dist/urnovl-web-components/p-2472848c.entry.js} +1 -1
- package/{www/build/p-56a033f3.entry.js → dist/urnovl-web-components/p-257815b1.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-be46aea1.entry.js → 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/{www/build/p-4bd2dfab.entry.js → dist/urnovl-web-components/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/{www/build/p-b086c8e2.entry.js → dist/urnovl-web-components/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/{www/build/p-f82dd515.entry.js → dist/urnovl-web-components/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/{www/build/p-7e1ac458.entry.js → dist/urnovl-web-components/p-6ff378f1.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-f1b1525f.entry.js → 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-8076962b.entry.js → p-75483926.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-3586bdaf.entry.js → 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/{www/build/p-6d29e790.entry.js → dist/urnovl-web-components/p-a02a44c5.entry.js} +1 -1
- 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 -1
- 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-8f055e80.entry.js → p-c057f347.entry.js} +1 -1
- package/{www/build/p-bb145920.entry.js → dist/urnovl-web-components/p-c33254fb.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-28a77b70.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/{www/build/p-86f826f4.entry.js → dist/urnovl-web-components/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 -1
- 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/dist/urnovl-web-components/{p-7f399549.entry.js → p-dfa6c13e.entry.js} +1 -1
- package/dist/urnovl-web-components/{p-cfedfdac.entry.js → p-e2518029.entry.js} +1 -1
- package/{www/build/p-7d403b3e.entry.js → dist/urnovl-web-components/p-e3982059.entry.js} +1 -1
- package/{www/build/p-d02abe61.entry.js → dist/urnovl-web-components/p-e3b98dfd.entry.js} +1 -1
- 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 -1
- 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-a712a3df.entry.js → p-240289e9.entry.js} +1 -1
- package/www/build/{p-624543fe.entry.js → p-2444c265.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-baef18c0.entry.js → www/build/p-2472848c.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-56a033f3.entry.js → www/build/p-257815b1.entry.js} +1 -1
- package/www/build/{p-be46aea1.entry.js → 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/{dist/urnovl-web-components/p-4bd2dfab.entry.js → www/build/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/{dist/urnovl-web-components/p-b086c8e2.entry.js → www/build/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/{dist/urnovl-web-components/p-f82dd515.entry.js → www/build/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/{dist/urnovl-web-components/p-7e1ac458.entry.js → www/build/p-6ff378f1.entry.js} +1 -1
- package/www/build/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
- package/www/build/{p-f1b1525f.entry.js → 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-8076962b.entry.js → p-75483926.entry.js} +1 -1
- package/www/build/{p-3586bdaf.entry.js → 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/{dist/urnovl-web-components/p-6d29e790.entry.js → www/build/p-a02a44c5.entry.js} +1 -1
- 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 -1
- 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-8f055e80.entry.js → p-c057f347.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-bb145920.entry.js → www/build/p-c33254fb.entry.js} +1 -1
- package/www/build/{p-28a77b70.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/{dist/urnovl-web-components/p-86f826f4.entry.js → www/build/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 -1
- 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/www/build/{p-7f399549.entry.js → p-dfa6c13e.entry.js} +1 -1
- package/www/build/{p-cfedfdac.entry.js → p-e2518029.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-7d403b3e.entry.js → www/build/p-e3982059.entry.js} +1 -1
- package/{dist/urnovl-web-components/p-d02abe61.entry.js → www/build/p-e3b98dfd.entry.js} +1 -1
- 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-2d6036d2.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-6f5e2c16.entry.js +0 -1
- package/dist/urnovl-web-components/p-95669140.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-c35bfee6.entry.js +0 -1
- package/dist/urnovl-web-components/p-de47e53f.entry.js +0 -1
- package/dist/urnovl-web-components/p-e5fbc770.entry.js +0 -1
- package/dist/urnovl-web-components/p-f1b64b86.entry.js +0 -1
- package/dist/urnovl-web-components/p-fc668d06.entry.js +0 -1
- package/www/build/p-2d6036d2.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-6f5e2c16.entry.js +0 -1
- package/www/build/p-95669140.entry.js +0 -1
- package/www/build/p-9e272440.js +0 -1
- package/www/build/p-DieZm0eP.js +0 -1
- package/www/build/p-a66d6eed.entry.js +0 -1
- package/www/build/p-c35bfee6.entry.js +0 -1
- package/www/build/p-de47e53f.entry.js +0 -1
- package/www/build/p-e5fbc770.entry.js +0 -1
- package/www/build/p-f1b64b86.entry.js +0 -1
- package/www/build/p-fc668d06.entry.js +0 -1
|
@@ -1,534 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as i, M as MduiElement, x, E, c as componentStyle, _ as __decorate, t } from './p-zh2SzAzp.js';
|
|
3
|
-
import { c as isString, n as n$2 } from './p-BtLRMsoz.js';
|
|
4
|
-
import { r } from './p-cjRIIF9K.js';
|
|
5
|
-
import { o as o$2 } from './p-DmwpJ3Xb.js';
|
|
6
|
-
import { o as o$1 } from './p-BnvqNZ1a.js';
|
|
7
|
-
import { o } from './p-M47DLKJl.js';
|
|
8
|
-
import { e, D as DefinedController, n, b as booleanConverter } from './p-Do4Bpujz.js';
|
|
9
|
-
import { n as n$1 } from './p-DEJm_QN9.js';
|
|
10
|
-
import { F as FormController, f as formResets } from './p-DC-VXAjA.js';
|
|
11
|
-
import { H as HasSlotController } from './p-BU8BvdHB.js';
|
|
12
|
-
import { d as defaultValue } from './p-D3EjEfoI.js';
|
|
13
|
-
import { o as observeResize } from './p-DuseCl0q.js';
|
|
14
|
-
import { F as FocusableMixin } from './p-QRV_KyyP.js';
|
|
15
|
-
import './p-sO4Hyn_2.js';
|
|
16
|
-
import './p-EPyjQGT1.js';
|
|
17
|
-
import './p-B3ewam1a.js';
|
|
18
|
-
import './p-fu4W7bFN.js';
|
|
19
|
-
import './p-DRMQwXMs.js';
|
|
20
|
-
|
|
21
|
-
const style = i `:host{display:inline-block;width:100%}.hidden-input{display:none}.text-field{cursor:pointer}.chips{display:flex;flex-wrap:wrap;margin:-.5rem -.25rem;min-height:2.5rem}:host([variant=filled][label]) .chips{margin:0 -.25rem -1rem -.25rem}.chip{margin:.25rem}mdui-menu{max-width:none}`;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @summary 选择框组件。需配合 `<mdui-menu-item>` 组件使用
|
|
25
|
-
*
|
|
26
|
-
* ```html
|
|
27
|
-
* <mdui-select>
|
|
28
|
-
* ..<mdui-menu-item value="item-1">Item 1</mdui-menu-item>
|
|
29
|
-
* ..<mdui-menu-item value="item-2">Item 2</mdui-menu-item>
|
|
30
|
-
* </mdui-select>
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @event focus - 获得焦点时触发
|
|
34
|
-
* @event blur - 失去焦点时触发
|
|
35
|
-
* @event change - 选中的值变更时触发
|
|
36
|
-
* @event invalid - 表单字段验证未通过时触发
|
|
37
|
-
* @event clear - 在点击由 `clearable` 属性生成的清空按钮时触发。可以通过调用 `event.preventDefault()` 阻止清空选择框
|
|
38
|
-
*
|
|
39
|
-
* @slot - `<mdui-menu-item>` 元素
|
|
40
|
-
* @slot icon - 左侧图标
|
|
41
|
-
* @slot end-icon - 右侧图标
|
|
42
|
-
* @slot error-icon - 验证失败状态的右侧图标
|
|
43
|
-
* @slot prefix - 左侧文本
|
|
44
|
-
* @slot suffix - 右侧文本
|
|
45
|
-
* @slot clear-button - 清空按钮
|
|
46
|
-
* @slot clear-icon - 清空按钮中的图标
|
|
47
|
-
* @slot helper - 底部的帮助文本
|
|
48
|
-
*
|
|
49
|
-
* @csspart chips - 多选时,放置选中值对应的 chip 的容器
|
|
50
|
-
* @csspart chip - 多选时,每一个选中的值对应的 chip
|
|
51
|
-
* @csspart chip__button - chip 内部的 `<button>` 元素
|
|
52
|
-
* @csspart chip__label - chip 内部的文本
|
|
53
|
-
* @csspart chip__delete-icon - chip 内部的删除图标
|
|
54
|
-
* @csspart text-field - 文本框,即 [`<mdui-text-field>`](/docs/2/components/text-field) 元素
|
|
55
|
-
* @csspart text-field__container - text-field 内部的文本框容器
|
|
56
|
-
* @csspart text-field__icon - text-field 内部的左侧图标
|
|
57
|
-
* @csspart text-field__end-icon - text-field 内部的右侧图标
|
|
58
|
-
* @csspart text-field__error-icon - text-field 内部的验证失败状态的右侧图标
|
|
59
|
-
* @csspart text-field__prefix - text-field 内部的左侧文本
|
|
60
|
-
* @csspart text-field__suffix - text-field 内部的右侧文本
|
|
61
|
-
* @csspart text-field__label - text-field 内部的标签文本
|
|
62
|
-
* @csspart text-field__input - text-field 内部的 `<input>` 元素
|
|
63
|
-
* @csspart text-field__clear-button - text-field 内部的清空按钮
|
|
64
|
-
* @csspart text-field__clear-icon - text-field 内部的清空按钮中的图标
|
|
65
|
-
* @csspart text-field__supporting - text-field 内部的底部辅助信息容器,包括 helper 和 error
|
|
66
|
-
* @csspart text-field__helper - text-field 内部的底部帮助文本
|
|
67
|
-
* @csspart text-field__error - text-field 内部的底部错误描述文本
|
|
68
|
-
* @csspart menu - 下拉菜单,即 [`<mdui-menu>`](/docs/2/components/menu) 元素
|
|
69
|
-
*/
|
|
70
|
-
let Select = class Select extends FocusableMixin(MduiElement) {
|
|
71
|
-
constructor() {
|
|
72
|
-
super(...arguments);
|
|
73
|
-
/**
|
|
74
|
-
* 选择框的样式。可选值包括:
|
|
75
|
-
*
|
|
76
|
-
* * `filled`:带背景色的选择框,视觉效果较强
|
|
77
|
-
* * `outlined`:带边框的选择框,视觉效果较弱
|
|
78
|
-
*/
|
|
79
|
-
this.variant = 'filled';
|
|
80
|
-
/**
|
|
81
|
-
* 是否支持多选
|
|
82
|
-
*/
|
|
83
|
-
this.multiple = false;
|
|
84
|
-
/**
|
|
85
|
-
* 选择框的名称,将与表单数据一起提交
|
|
86
|
-
*/
|
|
87
|
-
this.name = '';
|
|
88
|
-
/**
|
|
89
|
-
* 选择框的值,将与表单数据一起提交。
|
|
90
|
-
*
|
|
91
|
-
* 如果未指定 `multiple` 属性,该值为字符串;如果指定了 `multiple` 属性,该值为字符串数组。HTML 属性只能设置字符串值;如果需要设置数组值,请通过 JavaScript 属性设置。
|
|
92
|
-
*/
|
|
93
|
-
this.value = '';
|
|
94
|
-
/**
|
|
95
|
-
* 默认选中的值。在重置表单时,将重置为该默认值。该属性只能通过 JavaScript 属性设置
|
|
96
|
-
*/
|
|
97
|
-
this.defaultValue = '';
|
|
98
|
-
/**
|
|
99
|
-
* 是否可以清空选择框
|
|
100
|
-
*/
|
|
101
|
-
this.clearable = false;
|
|
102
|
-
/**
|
|
103
|
-
* 选择框的位置。可选值包括:
|
|
104
|
-
*
|
|
105
|
-
* * `auto`:自动判断位置
|
|
106
|
-
* * `bottom`:位于下方
|
|
107
|
-
* * `top`:位于上方
|
|
108
|
-
*/
|
|
109
|
-
this.placement = 'auto';
|
|
110
|
-
/**
|
|
111
|
-
* 文本是否右对齐
|
|
112
|
-
*/
|
|
113
|
-
this.endAligned = false;
|
|
114
|
-
/**
|
|
115
|
-
* 是否为只读状态
|
|
116
|
-
*/
|
|
117
|
-
this.readonly = false;
|
|
118
|
-
/**
|
|
119
|
-
* 是否为禁用状态
|
|
120
|
-
*/
|
|
121
|
-
this.disabled = false;
|
|
122
|
-
/**
|
|
123
|
-
* 提交表单时,是否必须填写该字段
|
|
124
|
-
*/
|
|
125
|
-
this.required = false;
|
|
126
|
-
/**
|
|
127
|
-
* 是否验证未通过
|
|
128
|
-
*
|
|
129
|
-
* 该验证为浏览器原生验证 API,基于 `required` 属性的验证结果
|
|
130
|
-
*/
|
|
131
|
-
this.invalid = false;
|
|
132
|
-
this.menuRef = e();
|
|
133
|
-
this.textFieldRef = e();
|
|
134
|
-
this.hiddenInputRef = e();
|
|
135
|
-
this.formController = new FormController(this);
|
|
136
|
-
this.hasSlotController = new HasSlotController(this, 'icon', 'end-icon', 'error-icon', 'prefix', 'suffix', 'clear-button', 'clear-icon', 'helper');
|
|
137
|
-
this.definedController = new DefinedController(this, {
|
|
138
|
-
relatedElements: ['mdui-menu-item'],
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* 表单验证状态对象,具体参见 [`ValidityState`](https://developer.mozilla.org/zh-CN/docs/Web/API/ValidityState)
|
|
143
|
-
*/
|
|
144
|
-
get validity() {
|
|
145
|
-
return this.hiddenInputRef.value.validity;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* 如果表单验证未通过,此属性将包含提示信息。如果验证通过,此属性将为空字符串
|
|
149
|
-
*/
|
|
150
|
-
get validationMessage() {
|
|
151
|
-
return this.hiddenInputRef.value.validationMessage;
|
|
152
|
-
}
|
|
153
|
-
get focusElement() {
|
|
154
|
-
return this.textFieldRef.value;
|
|
155
|
-
}
|
|
156
|
-
get focusDisabled() {
|
|
157
|
-
return this.disabled;
|
|
158
|
-
}
|
|
159
|
-
connectedCallback() {
|
|
160
|
-
super.connectedCallback();
|
|
161
|
-
this.value =
|
|
162
|
-
this.multiple && isString(this.value)
|
|
163
|
-
? this.value
|
|
164
|
-
? [this.value]
|
|
165
|
-
: []
|
|
166
|
-
: this.value;
|
|
167
|
-
this.defaultValue = this.multiple ? [] : '';
|
|
168
|
-
// 首次渲染时,slot 中的 mdui-menu-item 还未渲染完成,无法读取到其中的文本值
|
|
169
|
-
// 所以需要在首次更新后,再次重新渲染,此时 mdui-menu-item 已渲染完成,可以读取到文本值
|
|
170
|
-
this.definedController.whenDefined().then(() => {
|
|
171
|
-
this.requestUpdate();
|
|
172
|
-
});
|
|
173
|
-
this.updateComplete.then(() => {
|
|
174
|
-
this.observeResize = observeResize(this.textFieldRef.value, () => this.resizeMenu());
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
disconnectedCallback() {
|
|
178
|
-
super.disconnectedCallback();
|
|
179
|
-
this.observeResize?.unobserve();
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* 检查表单字段是否通过验证。如果未通过,返回 `false` 并触发 `invalid` 事件;如果通过,返回 `true`
|
|
183
|
-
*/
|
|
184
|
-
checkValidity() {
|
|
185
|
-
const valid = this.hiddenInputRef.value.checkValidity();
|
|
186
|
-
if (!valid) {
|
|
187
|
-
this.emit('invalid', {
|
|
188
|
-
bubbles: false,
|
|
189
|
-
cancelable: true,
|
|
190
|
-
composed: false,
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
return valid;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* 检查表单字段是否通过验证。如果未通过,返回 `false` 并触发 `invalid` 事件;如果通过,返回 `true`。
|
|
197
|
-
*
|
|
198
|
-
* 如果验证未通过,还会在组件上显示验证失败的提示。
|
|
199
|
-
*/
|
|
200
|
-
reportValidity() {
|
|
201
|
-
this.invalid = !this.hiddenInputRef.value.reportValidity();
|
|
202
|
-
if (this.invalid) {
|
|
203
|
-
this.emit('invalid', {
|
|
204
|
-
bubbles: false,
|
|
205
|
-
cancelable: true,
|
|
206
|
-
composed: false,
|
|
207
|
-
});
|
|
208
|
-
this.focus();
|
|
209
|
-
}
|
|
210
|
-
return !this.invalid;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* 设置自定义的错误提示文本。只要这个文本不为空,就表示字段未通过验证
|
|
214
|
-
*
|
|
215
|
-
* @param message 自定义的错误提示文本
|
|
216
|
-
*/
|
|
217
|
-
setCustomValidity(message) {
|
|
218
|
-
this.hiddenInputRef.value.setCustomValidity(message);
|
|
219
|
-
this.invalid = !this.hiddenInputRef.value.checkValidity();
|
|
220
|
-
}
|
|
221
|
-
render() {
|
|
222
|
-
const hasSelection = this.multiple ? !!this.value.length : !!this.value;
|
|
223
|
-
return x `${this.multiple
|
|
224
|
-
? x `<select ${n(this.hiddenInputRef)} class="hidden-input" name="${o$1(this.name)}" value="${o$1(this.value)}" .required="${this.required}" .disabled="${this.disabled}" multiple="multiple" tabindex="-1">${o(this.value, (value) => x `<option selected="selected" value="${value}"></option>`)}</select>`
|
|
225
|
-
: x `<input ${n(this.hiddenInputRef)} type="radio" class="hidden-input" name="${o$1(this.name)}" value="${o$1(this.value)}" .required="${this.required}" .disabled="${this.disabled}" .checked="${hasSelection}" tabindex="-1">`}<mdui-dropdown .stayOpenOnClick="${this.multiple}" .disabled="${this.readonly || this.disabled}" .placement="${this.placement === 'top'
|
|
226
|
-
? 'top-start'
|
|
227
|
-
: this.placement === 'bottom'
|
|
228
|
-
? 'bottom-start'
|
|
229
|
-
: 'auto'}" @open="${this.onDropdownOpen}" @close="${this.onDropdownClose}"><mdui-text-field ${n(this.textFieldRef)} slot="trigger" part="text-field" class="text-field" exportparts="${[
|
|
230
|
-
'container',
|
|
231
|
-
'icon',
|
|
232
|
-
'end-icon',
|
|
233
|
-
'error-icon',
|
|
234
|
-
'prefix',
|
|
235
|
-
'suffix',
|
|
236
|
-
'label',
|
|
237
|
-
'input',
|
|
238
|
-
'clear-button',
|
|
239
|
-
'clear-icon',
|
|
240
|
-
'supporting',
|
|
241
|
-
'helper',
|
|
242
|
-
'error',
|
|
243
|
-
]
|
|
244
|
-
.map((v) => `${v}:text-field__${v}`)
|
|
245
|
-
.join(',')}" readonly="readonly" .readonlyButClearable="${true}" .variant="${this.variant}" .name="${this.name}" .value="${this.multiple
|
|
246
|
-
? this.value.length
|
|
247
|
-
? ' '
|
|
248
|
-
: ''
|
|
249
|
-
: this.getMenuItemLabelByValue(this.value)}" .label="${this.label}" .placeholder="${this.placeholder}" .helper="${this.helper}" .error="${this.hiddenInputRef.value?.validationMessage}" .clearable="${this.clearable}" .clearIcon="${this.clearIcon}" .endAligned="${this.endAligned}" .prefix="${this.prefix}" .suffix="${this.suffix}" .icon="${this.icon}" .endIcon="${this.endIcon}" .errorIcon="${this.errorIcon}" .form="${this.form}" .disabled="${this.disabled}" .required="${this.required}" .invalidStyle="${this.invalid}" @clear="${this.onClear}" @change="${(e) => e.stopPropagation()}" @keydown="${this.onTextFieldKeyDown}">${o([
|
|
250
|
-
'icon',
|
|
251
|
-
'end-icon',
|
|
252
|
-
'error-icon',
|
|
253
|
-
'prefix',
|
|
254
|
-
'suffix',
|
|
255
|
-
'clear-button',
|
|
256
|
-
'clear-icon',
|
|
257
|
-
'helper',
|
|
258
|
-
], (slotName) => this.hasSlotController.test(slotName)
|
|
259
|
-
? x `<slot name="${slotName}" slot="${slotName}"></slot>`
|
|
260
|
-
: E)} ${n$1(this.multiple && this.value.length, () => x `<div slot="input" class="chips" part="chips">${o(this.value, (valueItem) => x `<mdui-chip class="chip" part="chip" exportparts="${['button', 'label', 'delete-icon']
|
|
261
|
-
.map((v) => `${v}:chip__${v}`)
|
|
262
|
-
.join(',')}" variant="input" deletable tabindex="-1" @delete="${() => this.onDeleteOneValue(valueItem)}">${this.getMenuItemLabelByValue(valueItem)}</mdui-chip>`)}</div>`)}</mdui-text-field><mdui-menu ${n(this.menuRef)} part="menu" .selects="${this.multiple ? 'multiple' : 'single'}" .value="${this.value}" @change="${this.onValueChange}"><slot></slot></mdui-menu></mdui-dropdown>`;
|
|
263
|
-
}
|
|
264
|
-
getMenuItemLabelByValue(valueItem) {
|
|
265
|
-
if (!this.menuItems.length) {
|
|
266
|
-
return valueItem;
|
|
267
|
-
}
|
|
268
|
-
return (this.menuItems
|
|
269
|
-
.find((item) => item.value === valueItem)
|
|
270
|
-
?.textContent?.trim() || valueItem);
|
|
271
|
-
}
|
|
272
|
-
resizeMenu() {
|
|
273
|
-
this.menuRef.value.style.width = `${this.textFieldRef.value.clientWidth}px`;
|
|
274
|
-
}
|
|
275
|
-
async onDropdownOpen() {
|
|
276
|
-
// @ts-ignore
|
|
277
|
-
this.textFieldRef.value.focusedStyle = true;
|
|
278
|
-
}
|
|
279
|
-
onDropdownClose() {
|
|
280
|
-
// @ts-ignore
|
|
281
|
-
this.textFieldRef.value.focusedStyle = false;
|
|
282
|
-
// 如果焦点在 <mdui-select> 组件内的元素上,则焦点回到 <mdui-select> 上
|
|
283
|
-
if (this.contains(document.activeElement) ||
|
|
284
|
-
this.contains(document.activeElement?.assignedSlot ?? null)) {
|
|
285
|
-
setTimeout(() => {
|
|
286
|
-
this.focus();
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
async onValueChange(e) {
|
|
291
|
-
const menu = e.target;
|
|
292
|
-
this.value = this.multiple
|
|
293
|
-
? menu.value.map((v) => v ?? '')
|
|
294
|
-
: (menu.value ?? '');
|
|
295
|
-
await this.updateComplete;
|
|
296
|
-
// reset 引起的值变更,不执行验证;直接修改值引起的变更,需要进行验证
|
|
297
|
-
const form = this.formController.getForm();
|
|
298
|
-
if (form && formResets.get(form)?.has(this)) {
|
|
299
|
-
this.invalid = false;
|
|
300
|
-
formResets.get(form).delete(this);
|
|
301
|
-
}
|
|
302
|
-
else {
|
|
303
|
-
this.invalid = !this.hiddenInputRef.value.checkValidity();
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* multiple 为 true 时,点 chip 的删除按钮,删除其中一个值
|
|
308
|
-
*/
|
|
309
|
-
onDeleteOneValue(valueItem) {
|
|
310
|
-
const value = [...this.value];
|
|
311
|
-
if (value.includes(valueItem)) {
|
|
312
|
-
value.splice(value.indexOf(valueItem), 1);
|
|
313
|
-
}
|
|
314
|
-
this.value = value;
|
|
315
|
-
}
|
|
316
|
-
onClear() {
|
|
317
|
-
this.value = this.multiple ? [] : '';
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* 焦点在 text-field 上时,按下回车键,打开下拉选项
|
|
321
|
-
*/
|
|
322
|
-
onTextFieldKeyDown(event) {
|
|
323
|
-
if (event.key === 'Enter') {
|
|
324
|
-
event.preventDefault();
|
|
325
|
-
this.textFieldRef.value.click();
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
Select.styles = [componentStyle, style];
|
|
330
|
-
__decorate([
|
|
331
|
-
n$2({ reflect: true })
|
|
332
|
-
], Select.prototype, "variant", void 0);
|
|
333
|
-
__decorate([
|
|
334
|
-
n$2({
|
|
335
|
-
type: Boolean,
|
|
336
|
-
reflect: true,
|
|
337
|
-
converter: booleanConverter,
|
|
338
|
-
})
|
|
339
|
-
], Select.prototype, "multiple", void 0);
|
|
340
|
-
__decorate([
|
|
341
|
-
n$2({ reflect: true })
|
|
342
|
-
], Select.prototype, "name", void 0);
|
|
343
|
-
__decorate([
|
|
344
|
-
n$2()
|
|
345
|
-
], Select.prototype, "value", void 0);
|
|
346
|
-
__decorate([
|
|
347
|
-
defaultValue()
|
|
348
|
-
], Select.prototype, "defaultValue", void 0);
|
|
349
|
-
__decorate([
|
|
350
|
-
n$2({ reflect: true })
|
|
351
|
-
], Select.prototype, "label", void 0);
|
|
352
|
-
__decorate([
|
|
353
|
-
n$2({ reflect: true })
|
|
354
|
-
], Select.prototype, "placeholder", void 0);
|
|
355
|
-
__decorate([
|
|
356
|
-
n$2({ reflect: true })
|
|
357
|
-
], Select.prototype, "helper", void 0);
|
|
358
|
-
__decorate([
|
|
359
|
-
n$2({
|
|
360
|
-
type: Boolean,
|
|
361
|
-
reflect: true,
|
|
362
|
-
converter: booleanConverter,
|
|
363
|
-
})
|
|
364
|
-
], Select.prototype, "clearable", void 0);
|
|
365
|
-
__decorate([
|
|
366
|
-
n$2({ reflect: true, attribute: 'clear-icon' })
|
|
367
|
-
], Select.prototype, "clearIcon", void 0);
|
|
368
|
-
__decorate([
|
|
369
|
-
n$2({ reflect: true })
|
|
370
|
-
], Select.prototype, "placement", void 0);
|
|
371
|
-
__decorate([
|
|
372
|
-
n$2({
|
|
373
|
-
type: Boolean,
|
|
374
|
-
reflect: true,
|
|
375
|
-
converter: booleanConverter,
|
|
376
|
-
attribute: 'end-aligned',
|
|
377
|
-
})
|
|
378
|
-
], Select.prototype, "endAligned", void 0);
|
|
379
|
-
__decorate([
|
|
380
|
-
n$2({ reflect: true })
|
|
381
|
-
], Select.prototype, "prefix", void 0);
|
|
382
|
-
__decorate([
|
|
383
|
-
n$2({ reflect: true })
|
|
384
|
-
], Select.prototype, "suffix", void 0);
|
|
385
|
-
__decorate([
|
|
386
|
-
n$2({ reflect: true })
|
|
387
|
-
], Select.prototype, "icon", void 0);
|
|
388
|
-
__decorate([
|
|
389
|
-
n$2({ reflect: true, attribute: 'end-icon' })
|
|
390
|
-
], Select.prototype, "endIcon", void 0);
|
|
391
|
-
__decorate([
|
|
392
|
-
n$2({ reflect: true, attribute: 'error-icon' })
|
|
393
|
-
], Select.prototype, "errorIcon", void 0);
|
|
394
|
-
__decorate([
|
|
395
|
-
n$2({ reflect: true })
|
|
396
|
-
], Select.prototype, "form", void 0);
|
|
397
|
-
__decorate([
|
|
398
|
-
n$2({
|
|
399
|
-
type: Boolean,
|
|
400
|
-
reflect: true,
|
|
401
|
-
converter: booleanConverter,
|
|
402
|
-
})
|
|
403
|
-
], Select.prototype, "readonly", void 0);
|
|
404
|
-
__decorate([
|
|
405
|
-
n$2({
|
|
406
|
-
type: Boolean,
|
|
407
|
-
reflect: true,
|
|
408
|
-
converter: booleanConverter,
|
|
409
|
-
})
|
|
410
|
-
], Select.prototype, "disabled", void 0);
|
|
411
|
-
__decorate([
|
|
412
|
-
n$2({
|
|
413
|
-
type: Boolean,
|
|
414
|
-
reflect: true,
|
|
415
|
-
converter: booleanConverter,
|
|
416
|
-
})
|
|
417
|
-
], Select.prototype, "required", void 0);
|
|
418
|
-
__decorate([
|
|
419
|
-
r()
|
|
420
|
-
], Select.prototype, "invalid", void 0);
|
|
421
|
-
__decorate([
|
|
422
|
-
o$2({ flatten: true, selector: 'mdui-menu-item' })
|
|
423
|
-
], Select.prototype, "menuItems", void 0);
|
|
424
|
-
Select = __decorate([
|
|
425
|
-
t('mdui-select')
|
|
426
|
-
], Select);
|
|
427
|
-
|
|
428
|
-
const urSelectCss = ":host{display:block}:host mdui-select{font-size:12px;border:0}:host mdui-select::part(text-field){font-size:14px;background:transparent}:host mdui-select::part(text-field__container){background:transparent}:host mdui-select::part(text-field__input){font-size:14px;background:transparent;min-height:44px}:host mdui-select::part(chips){margin:-0.875rem -0.25rem}:host mdui-select[multiple]::part(chips){margin:-0.35rem -0.25rem -0.575rem -0.25rem}:host mdui-select::part(menu){max-height:300px;overflow-y:auto;padding:0}:host mdui-select::slotted(mdui-dropdown){margin:0;padding:0}:host mdui-select::part(container){border-radius:var(--mdui-shape-corner-small)}:host mdui-select::part(text-field__container){border-radius:var(--mdui-shape-corner-small)}:host mdui-select::part(menu){position:absolute !important;transform:none !important}";
|
|
429
|
-
|
|
430
|
-
const UrSelect$1 = /*@__PURE__*/ proxyCustomElement(class UrSelect extends H {
|
|
431
|
-
constructor(registerHost) {
|
|
432
|
-
super();
|
|
433
|
-
if (registerHost !== false) {
|
|
434
|
-
this.__registerHost();
|
|
435
|
-
}
|
|
436
|
-
this.__attachShadow();
|
|
437
|
-
this.valueChanged = createEvent(this, "valueChanged");
|
|
438
|
-
this.selectionChanged = createEvent(this, "selectionChanged");
|
|
439
|
-
this.value = ''; // Selected value(s)
|
|
440
|
-
this.displayText = ''; // Text to display for selected value
|
|
441
|
-
this.name = ''; // Name of the select
|
|
442
|
-
this.label = ''; // Label text
|
|
443
|
-
this.placeholder = ''; // Placeholder text
|
|
444
|
-
this.helper = ''; // Helper text
|
|
445
|
-
this.variant = 'filled'; // Variant of the select
|
|
446
|
-
this.usage = 'standard';
|
|
447
|
-
this.multiple = false; // Enable multi-select
|
|
448
|
-
this.clearable = false; // Enable clear button
|
|
449
|
-
this.disabled = false; // Disable the select
|
|
450
|
-
this.required = false; // Mark as required
|
|
451
|
-
this.readonly = false; // Make the select read-only
|
|
452
|
-
this.size = 'normal';
|
|
453
|
-
this.placement = 'bottom'; // Dropdown position
|
|
454
|
-
this.icon = ''; // Left icon
|
|
455
|
-
this.endIcon = 'arrow_drop_down'; // Right icon - default dropdown arrow
|
|
456
|
-
this.flex = true; // New fullWidth prop
|
|
457
|
-
this.suffix = ''; // Suffix text or icon
|
|
458
|
-
this.clearIcon = 'close'; // Icon for the clear button
|
|
459
|
-
this.handleChange = (event) => {
|
|
460
|
-
const target = event.target;
|
|
461
|
-
// Only handle direct changes from mdui-select
|
|
462
|
-
if (target && target.tagName === 'MDUI-SELECT') {
|
|
463
|
-
this.value = target.value;
|
|
464
|
-
}
|
|
465
|
-
};
|
|
466
|
-
}
|
|
467
|
-
handleMenuItemChange(event) {
|
|
468
|
-
event.stopPropagation();
|
|
469
|
-
this.value = event.detail.value;
|
|
470
|
-
this.displayText = event.detail.label;
|
|
471
|
-
// Emit selection change for ur-menu-item components to listen
|
|
472
|
-
this.selectionChanged.emit({ selectedValue: this.value });
|
|
473
|
-
}
|
|
474
|
-
handleValueChange(newValue) {
|
|
475
|
-
this.valueChanged.emit({ value: newValue });
|
|
476
|
-
}
|
|
477
|
-
componentDidLoad() {
|
|
478
|
-
// Simple initialization without debugging code
|
|
479
|
-
}
|
|
480
|
-
render() {
|
|
481
|
-
const selectStyles = {
|
|
482
|
-
flex: this.flex ? '1' : '0 1 auto',
|
|
483
|
-
maxWidth: this.usage === 'topBar' ? '350px' : 'initial',
|
|
484
|
-
fontSize: '10px',
|
|
485
|
-
};
|
|
486
|
-
// For multi-select, always use this.value directly, for single-select use displayText fallback
|
|
487
|
-
const selectValue = this.multiple ? this.value : (this.displayText || this.value);
|
|
488
|
-
return (h(Host, { key: '60d1f66b1983e77c5992a26a4214cd4755b04f56', style: selectStyles }, h("mdui-select", { key: '5b4c8a1d4b1ecf165ec99d7f454aac3c5acd20f0', 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 && (h("mdui-icon", { key: 'e3263e18ee85c2729c94c52d140595560b97da1c', slot: "icon", name: this.icon })), this.endIcon && (h("mdui-icon", { key: '06d38a9b468cd81b3c24c08437c96583f810f8eb', slot: "end-icon", name: this.endIcon })), this.suffix && h("span", { key: 'f86cab0230835e0a034defef2eac69e6cc8904ab', slot: "suffix" }, this.suffix), h("slot", { key: '903b9e091a7e1e9d1ae708c6bb5550014fae1a66' }), this.helper && h("span", { key: '0cd5e0c311dbc5d05a2fdbd2bc77453576142073', slot: "helper" }, this.helper))));
|
|
489
|
-
}
|
|
490
|
-
static get watchers() { return {
|
|
491
|
-
"value": ["handleValueChange"]
|
|
492
|
-
}; }
|
|
493
|
-
static get style() { return urSelectCss; }
|
|
494
|
-
}, [257, "ur-select", {
|
|
495
|
-
"value": [1],
|
|
496
|
-
"name": [1],
|
|
497
|
-
"label": [1],
|
|
498
|
-
"placeholder": [1],
|
|
499
|
-
"helper": [1],
|
|
500
|
-
"variant": [1],
|
|
501
|
-
"usage": [1],
|
|
502
|
-
"multiple": [4],
|
|
503
|
-
"clearable": [4],
|
|
504
|
-
"disabled": [4],
|
|
505
|
-
"required": [4],
|
|
506
|
-
"readonly": [4],
|
|
507
|
-
"size": [1],
|
|
508
|
-
"placement": [1],
|
|
509
|
-
"icon": [1],
|
|
510
|
-
"endIcon": [1, "end-icon"],
|
|
511
|
-
"flex": [4],
|
|
512
|
-
"suffix": [1],
|
|
513
|
-
"clearIcon": [1, "clear-icon"],
|
|
514
|
-
"displayText": [32]
|
|
515
|
-
}, [[0, "menuItemChange", "handleMenuItemChange"]], {
|
|
516
|
-
"value": ["handleValueChange"]
|
|
517
|
-
}]);
|
|
518
|
-
function defineCustomElement$1() {
|
|
519
|
-
if (typeof customElements === "undefined") {
|
|
520
|
-
return;
|
|
521
|
-
}
|
|
522
|
-
const components = ["ur-select"];
|
|
523
|
-
components.forEach(tagName => { switch (tagName) {
|
|
524
|
-
case "ur-select":
|
|
525
|
-
if (!customElements.get(tagName)) {
|
|
526
|
-
customElements.define(tagName, UrSelect$1);
|
|
527
|
-
}
|
|
528
|
-
break;
|
|
529
|
-
} });
|
|
530
|
-
}
|
|
531
|
-
defineCustomElement$1();
|
|
1
|
+
import { U as UrSelect$1, d as defineCustomElement$1 } from './p-E7oF2Ho9.js';
|
|
532
2
|
|
|
533
3
|
const UrSelect = UrSelect$1;
|
|
534
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
2
|
import { N as NOVL_COVER_FALLBACK } from './p-bzE6bm1n.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
+
import { d as defineCustomElement$3 } from './p-CfldtLQf.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-Au3FsgZW.js';
|
|
5
5
|
|
|
6
6
|
const urShelfCardCss = ":host {\n --shelf-card-width: 100%;\n --shelf-card-border-radius: 8px;\n --ur-color-on-background: var(--mdui-color-on-background);\n --ur-color-background: var(--mdui-color-background);\n}\n\n@keyframes placeholderAnimate {\n 0% {\n background-position: -650px 0;\n }\n 100% {\n background-position: 650px 0;\n }\n}\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: content-box;\n container-type: inline-size;\n container-name: shelf;\n position: relative;\n}\n\n:host .shelf-card {\n width: var(--shelf-card-width);\n border-radius: var(--shelf-card-border-radius);\n cursor: pointer;\n position: relative;\n overflow: hidden;\n}\n\n:host .shelf-card:hover {\n background: rgba(var(--ur-color-on-background), 0.12);\n}\n\n:host .stacked-effect-01 {\n position: absolute;\n top: -3px;\n left: 10px;\n width: calc(100% - 20px);\n height: 3px;\n border-radius: var(--shelf-card-border-radius) var(--shelf-card-border-radius) 0 0;\n background-color: rgba(var(--ur-color-on-background), 0.34);\n}\n\n:host .stacked-effect-02 {\n position: absolute;\n top: -6px;\n left: 16px;\n width: calc(100% - 32px);\n height: 3px;\n background-color: rgba(var(--ur-color-on-background), 0.24);\n border-radius: var(--shelf-card-border-radius) var(--shelf-card-border-radius) 0 0;\n}\n\n:host .shelf-card.loading {\n cursor: default;\n}\n\n:host .cover {\n aspect-ratio: 2.25;\n background-repeat: no-repeat;\n background-size: cover;\n background-position: center;\n position: relative;\n background-color: rgba(var(--ur-color-on-background), 0.4);\n}\n\n:host .shelf-card:hover .card-hover {\n background-color: rgba(0, 0, 0, 0.24);\n visibility: visible;\n}\n\n:host .cover .card-hover {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n font-weight: 600;\n color: rgb(255, 255, 255);\n visibility: hidden;\n border-radius: var(--shelf-card-border-radius) var(--shelf-card-border-radius) 0 0;\n padding: 8px;\n box-sizing: border-box;\n}\n\n:host .cover.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: linear-gradient(\n to right,\n rgba(var(--ur-color-on-background), 0.04) 2%,\n rgba(var(--ur-color-on-background), 0.12) 18%,\n rgba(var(--ur-color-on-background), 0.04) 33%\n );\n background-size: 1000px;\n}\n\n:host .cover .price {\n position: absolute;\n top: 8px;\n right: 8px;\n border-radius: 25px;\n background: rgba(43, 43, 39, 0.55);\n padding: 9px 16px;\n box-sizing: border-box;\n line-height: 14px;\n font-weight: 700;\n font-size: 14px;\n color: #fff;\n}\n\n:host .cover .avatar-holder {\n left: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n align-items: center;\n padding: 0 4px;\n box-sizing: border-box;\n column-gap: 8px;\n transform: translateY(50%);\n}\n\n:host .cover .avatar-holder ur-avatar.author-avatar {\n display: block;\n}\n\n:host .cover .avatar-holder .publisher-avatar-container {\n position: absolute;\n bottom: 2px;\n right: -6px;\n height: 18px;\n width: 18px;\n}\n\n:host .cover .avatar-holder ur-avatar.publisher-avatar {\n display: block;\n}\n\n:host .txt-info-holder .publisher-info {\n display: flex;\n flex-direction: row;\n align-items: center;\n column-gap: 4px;\n}\n\n:host .cover .avatar-holder .name {\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 12px; /* 100% */\n color: #fff;\n}\n\n:host .info {\n display: flex;\n flex-direction: column;\n padding: 24px 8px 8px 8px;\n row-gap: 8px;\n box-sizing: border-box;\n}\n\n:host .info:has(.loading) {\n padding-left: 0;\n padding-right: 0;\n}\n\n:host .info .title {\n color: rgb(var(--ur-color-on-background));\n font-size: 16px;\n font-style: normal;\n font-weight: 700;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* Number of lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host .info .title.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: linear-gradient(\n to right,\n rgba(var(--ur-color-on-background), 0.04) 2%,\n rgba(var(--ur-color-on-background), 0.12) 18%,\n rgba(var(--ur-color-on-background), 0.04) 33%\n );\n background-size: 1000px;\n}\n\n:host .info .stats {\n font-size: 12px;\n font-weight: 400;\n line-height: 12px;\n display: flex;\n flex-direction: row;\n color: rgb(var(--ur-color-on-background));\n}\n\n:host .info .stats.loading {\n height: 12px;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: linear-gradient(\n to right,\n rgba(var(--ur-color-on-background), 0.04) 2%,\n rgba(var(--ur-color-on-background), 0.12) 18%,\n rgba(var(--ur-color-on-background), 0.04) 33%\n );\n background-size: 1000px;\n}\n\n:host .info .stats b {\n font-weight: 700;\n}\n\n:host .info .stats .followers {\n display: flex;\n}\n\n:host .info .stats .dot {\n margin-left: 4px;\n}\n\n:host .info .stats .stories-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n column-gap: 4px;\n}\n\n:host .info .stats .stories {\n display: flex;\n}\n\n:host .info .txt-info-holder {\n display: flex;\n align-items: center;\n font-size: 11px;\n font-style: normal;\n font-weight: 600;\n color: rgb(var(--ur-color-on-background));\n cursor: pointer;\n column-gap: 4px;\n}\n\n:host .info .txt-info-holder .avatar {\n height: 32px;\n width: 32px;\n border-radius: 50%;\n background-size: cover;\n}\n\n:host .info .txt-info-holder .avatar.loading {\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: linear-gradient(\n to right,\n rgba(var(--ur-color-on-background), 0.04) 2%,\n rgba(var(--ur-color-on-background), 0.12) 18%,\n rgba(var(--ur-color-on-background), 0.04) 33%\n );\n background-size: 1000px;\n}\n\n:host .info .txt-info-holder .name {\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 12px;\n}\n\n:host .info .txt-info-holder .name.loading {\n height: 12px;\n width: 50%;\n animation-duration: 1.7s;\n animation-fill-mode: forwards;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n animation-name: placeholderAnimate;\n background: linear-gradient(\n to right,\n rgba(var(--ur-color-on-background), 0.04) 2%,\n rgba(var(--ur-color-on-background), 0.12) 18%,\n rgba(var(--ur-color-on-background), 0.04) 33%\n );\n background-size: 1000px;\n}\n\n@container shelf (max-width: 300px) {\n :host .info .title {\n font-size: 14px;\n line-height: 1.2rem;\n }\n\n :host .info .txt-info-holder .avatar {\n height: 24px;\n width: 24px;\n }\n\n :host .cover .publisher {\n height: 40px;\n padding: 0 4px;\n }\n\n :host .cover .publisher .name {\n font-size: 11px;\n }\n\n :host .info .txt-info-holder .name {\n font-size: 11px;\n }\n\n :host .cover .ongoing {\n width: 24px;\n height: 24px;\n left: 4px;\n }\n\n :host .cover .price {\n padding: 5px 8px;\n font-size: 12px;\n }\n\n :host .info .stats {\n font-size: 11px;\n }\n\n :host .info .description {\n font-size: 11px;\n }\n\n :host .info {\n row-gap: 4px;\n padding: 8px;\n padding-top: 22px;\n }\n\n :host .info .title.loading {\n margin: 0 4px;\n }\n\n :host .info .stats.loading {\n margin: 0 4px;\n }\n\n :host .info .description.loading {\n margin: 0 4px;\n }\n\n :host .info .txt-info-holder.loading {\n margin: 0 4px;\n }\n}\n";
|
|
@@ -425,12 +425,12 @@ const UrSnackbar$1 = /*@__PURE__*/ proxyCustomElement(class UrSnackbar extends H
|
|
|
425
425
|
};
|
|
426
426
|
}
|
|
427
427
|
render() {
|
|
428
|
-
return (h(Host, { key: '
|
|
428
|
+
return (h(Host, { key: 'ffb037f37e00a20933d13b5df681705c3b0f207b' }, h("mdui-snackbar", { key: '85b83426c89374deb849f820f15b4cd8b492f28b', 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: {
|
|
429
429
|
'--z-index': this.zIndex,
|
|
430
430
|
'--shape-corner': this.radius,
|
|
431
431
|
'background-color': this.backColor,
|
|
432
432
|
'color': this.fontColor,
|
|
433
|
-
} }, this.message, h("slot", { key: '
|
|
433
|
+
} }, this.message, h("slot", { key: 'c2551a3a53c0f5824d7330dfaf5bbe8fd0145853' }), h("slot", { key: '1be53de168a3795638ac73fc3ede76dc62cbdd15', name: "action", slot: "action" }), h("slot", { key: 'e4f5591dd91148f7719c91738375ab18d0136aea', name: "close-button", slot: "close-button" }), h("slot", { key: 'c2ec307a02be37dc6a21662ad626c870b084d89b', name: "close-icon", slot: "close-icon" }))));
|
|
434
434
|
}
|
|
435
435
|
static get style() { return urSnackbarCss; }
|
|
436
436
|
}, [257, "ur-snackbar", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-BY4DFbqH.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './p-BQj9UX8Z.js';
|
|
4
4
|
|
|
5
5
|
const urStepperCss = ":host{display:block;width:100%;--ur-color-background:var(--mdui-color-background);--ur-color-on-background:var(--mdui-color-on-background);--ur-color-on-complete-surface:#1a5100;--ur-color-complete-surface:#c6f4d0;--ur-color-primary:var(--mdui-color-primary);--ur-color-primary-container:var(--mdui-color-primary-container);--ur-color-on-surface-lite:var(--mdui-color-on-surface-lite);--ur-color-surface-container-high:var(--mdui-color-surface-container-high)}:host .stepper-container{display:flex;flex-direction:column;width:100%;max-width:800px}:host .step-indicator{display:flex;flex-direction:column;width:100%;position:relative;margin-bottom:8px;transition:all 0.3s ease}:host .step-inline-info-holder{display:flex;flex-direction:row;align-items:center;gap:8px;cursor:pointer}:host .step-indicator-header{display:flex;flex-direction:row;align-items:center;padding:1rem 0}:host .step-marker{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background-color:rgb(var(--mdui-color-secondary));color:rgb(var(--mdui-color-on-secondary));font-weight:600;font-size:0.875rem;transition:all 0.3s ease;flex-shrink:0;z-index:2;position:relative}:host .step-indicator.active .step-marker{background-color:rgb(var(--mdui-color-primary)) !important;border-color:rgb(var(--mdui-color-primary)) !important;color:rgb(var(--mdui-color-on-primary)) !important;box-shadow:0 2px 8px rgba(var(--mdui-color-primary), 0.4) !important}:host .step-indicator.completed .step-marker{background-color:rgb(var(--mdui-color-primary));border-color:rgb(var(--mdui-color-primary));color:rgb(var(--mdui-color-on-primary))}:host .step-indicator.skipped .step-marker{background-color:rgb(var(--mdui-color-error-container));border-color:rgb(var(--mdui-color-error));color:rgb(var(--mdui-color-on-error-container))}:host .step-number{line-height:1}:host .step-marker mdui-icon{font-size:1.25rem}:host .step-content{margin-top:8px;margin-left:16px;flex:1;border-left:2px solid rgb(var(--mdui-color-outline-variant))}:host .step-indicator.active .step-content{border-left:2px solid rgb(var(--mdui-color-primary))}:host .step-title{font-size:0.875rem;font-weight:600;color:rgb(var(--mdui-color-on-surface));line-height:1.25;margin-bottom:0.25rem}:host .step-indicator.active .step-title{color:rgb(var(--mdui-color-primary))}:host .step-indicator.completed .step-title{color:rgb(var(--mdui-color-primary))}:host .step-description{font-size:0.75rem;color:rgb(var(--mdui-color-on-surface-variant));line-height:1.4;max-width:200px}:host .step-connector{position:absolute;left:1.25rem;top:3.5rem;width:2px;height:calc(100% + 1rem);background-color:rgb(var(--mdui-color-outline-variant));transition:background-color 0.3s ease;z-index:1}:host .step-indicator.completed .step-connector{background-color:rgb(var(--mdui-color-primary))}:host .step-indicator:last-child .step-connector{display:none}:host .step-indicator.completed .step-marker{background-color:var(--ur-color-complete-surface);color:var(--ur-color-on-complete-surface)}:host .step-slot-content{margin-left:22px;margin-top:8px;margin-bottom:8px;padding:16px;background-color:rgb(var(--mdui-color-surface-container-low));border-radius:8px;animation:slideDown 0.3s ease-out}:host .step-actions{display:flex;justify-content:flex-start;gap:12px;padding-top:16px}@keyframes slideDown{from{opacity:0;transform:translateY(-10px);max-height:0}to{opacity:1;transform:translateY(0);max-height:1000px}}";
|
|
@@ -199,7 +199,7 @@ const UrStepper$1 = /*@__PURE__*/ proxyCustomElement(class UrStepper extends H {
|
|
|
199
199
|
this.updateStepVisibility();
|
|
200
200
|
}
|
|
201
201
|
render() {
|
|
202
|
-
return (h(Host, { key: '
|
|
202
|
+
return (h(Host, { key: '379d47e3c8ad0eae8961604743c74aba15b84926', class: this.customClass }, h("div", { key: 'ab2164b3d4595492f3e2ec21fa5b6c177dcbb347', class: "stepper-container" }, Array.from({ length: this.stepCount }, (_, index) => this.renderStepIndicator(index + 1)))));
|
|
203
203
|
}
|
|
204
204
|
get el() { return this; }
|
|
205
205
|
static get style() { return urStepperCss; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
|
|
2
2
|
import './p-CZtE3KBu.js';
|
|
3
3
|
import './p-DRMQwXMs.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-BY4DFbqH.js';
|
|
5
5
|
|
|
6
6
|
const urSubscriptionCardCss = ":host{display:block;width:100%}:host .card{padding:16px;width:100%;box-sizing:border-box}:host .card-content{display:flex;flex-direction:column;gap:12px}:host .row{display:flex;justify-content:space-between;align-items:center}:host .label{font-size:14px;color:rgb(var(--mdui-color-on-surface-variant))}:host .value{font-size:14px;font-weight:600;color:rgb(var(--mdui-color-on-surface));display:flex;align-items:center;gap:4px}:host .value.premium{color:rgb(var(--mdui-color-primary))}:host .premium-icon{font-size:18px}:host .status-active{color:rgb(var(--mdui-color-primary))}:host .status-cancelled{color:rgb(var(--mdui-color-error))}:host .status-past_due{color:rgb(var(--mdui-color-error))}:host .status-expired{color:rgb(var(--mdui-color-on-surface-variant))}:host .actions{margin-top:8px;display:flex;justify-content:flex-end}:host .tier-header{display:flex;align-items:center;gap:12px;margin-bottom:4px}:host .tier-avatar{width:48px;height:48px;border-radius:50%;background:rgb(var(--mdui-color-surface-container-highest));display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}:host .tier-avatar img{width:100%;height:100%;object-fit:cover}:host .tier-avatar mdui-icon{font-size:24px;color:rgb(var(--mdui-color-on-surface-variant))}:host .tier-owner-info{display:flex;flex-direction:column;min-width:0}:host .tier-owner-name{font-size:16px;font-weight:600;color:rgb(var(--mdui-color-on-surface));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .tier-name{font-size:14px;color:rgb(var(--mdui-color-on-surface-variant));margin-top:2px}:host .tier-actions{display:flex;gap:8px;justify-content:flex-end}";
|
|
7
7
|
|
|
@@ -94,7 +94,7 @@ const UrSubscriptionCard$1 = /*@__PURE__*/ proxyCustomElement(class UrSubscripti
|
|
|
94
94
|
return (h("mdui-card", { variant: "outlined", class: "card tier-card" }, h("div", { class: "card-content" }, h("div", { class: "tier-header" }, h("div", { class: "tier-avatar" }, this.ownerAvatar ? (h("img", { src: this.ownerAvatar, alt: "" })) : (h("mdui-icon", { name: iconName }))), h("div", { class: "tier-owner-info" }, h("span", { class: "tier-owner-name" }, this.ownerName || 'Unknown'), h("span", { class: "tier-name" }, this.tierName, " \u00B7 ", this.tierPrice))), h("div", { class: "row" }, h("span", { class: "label" }, this.statusLabel), h("span", { class: `value status-${this.status}` }, this.getStatusDisplayName())), this.periodEnd && (h("div", { class: "row" }, h("span", { class: "label" }, dateLabel), h("span", { class: "value" }, this.formatDate(this.periodEnd)))), h("div", { class: "actions tier-actions" }, h("ur-button", { variant: "text", onClick: this.handleViewProfileClick }, this.viewProfileText), this.status === 'active' && !this.cancelAtPeriodEnd && (h("ur-button", { variant: "text", onClick: this.handleCancelClick }, this.cancelButtonText)), this.status === 'active' && this.cancelAtPeriodEnd && (h("ur-button", { variant: "text", onClick: this.handleCancelNowClick }, this.cancelNowButtonText)), h("ur-button", { variant: "tonal", onClick: this.handleManageClick }, this.manageButtonText)))));
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: '63e01de6e0bd41fdac1710743666d3377223490d' }, this.mode === 'tier' ? this.renderTierCard() : this.renderPremiumCard()));
|
|
98
98
|
}
|
|
99
99
|
static get style() { return urSubscriptionCardCss; }
|
|
100
100
|
}, [257, "ur-subscription-card", {
|
|
@@ -2,7 +2,7 @@ import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './in
|
|
|
2
2
|
import './p-DRMQwXMs.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './p-BqPt3V8I.js';
|
|
4
4
|
import { d as defineCustomElement$3 } from './p-x3Fhy6xl.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './p-
|
|
5
|
+
import { d as defineCustomElement$4 } from './p-BY4DFbqH.js';
|
|
6
6
|
|
|
7
7
|
const urSubscriptionTierEditorCss = ":host{display:block;--ur-color-error:var(--mdui-color-error)}:host .editor-container{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:550px}:host .editor-subtitle{font-size:14px;line-height:20px;letter-spacing:0.1px;margin:0 0 0.5rem 0;color:rgb(var(--mdui-color-on-surface-variant))}:host .form-section{display:flex;flex-direction:column;gap:0.5rem}:host .section-label{font-size:14px;font-weight:600;line-height:20px;letter-spacing:0.1px;color:rgb(var(--mdui-color-on-surface));margin-bottom:0.25rem}:host .benefits-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.5rem}:host .benefit-item{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 1rem;background:rgba(var(--mdui-color-surface-variant), 0.5);border-radius:8px;animation:fadeIn 0.2s ease-in-out;transition:all 0.2s ease;border:2px solid transparent}:host .benefit-item.dragging{opacity:0.5;background:rgba(var(--mdui-color-primary), 0.1)}:host .benefit-item.drag-over{border-color:rgb(var(--mdui-color-primary));background:rgba(var(--mdui-color-primary), 0.05)}:host .drag-handle{display:flex;align-items:center;justify-content:center;cursor:grab;color:rgba(var(--mdui-color-on-surface), 0.4);transition:color 0.2s ease, background-color 0.2s ease;flex-shrink:0;min-width:44px;min-height:44px;margin:-0.75rem -0.5rem -0.75rem -1rem;padding:0.75rem 0.5rem 0.75rem 1rem;border-radius:8px 0 0 8px;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}:host .drag-handle:hover{color:rgba(var(--mdui-color-on-surface), 0.7);background:rgba(var(--mdui-color-on-surface), 0.04)}:host .drag-handle:active{cursor:grabbing;background:rgba(var(--mdui-color-primary), 0.08);color:rgb(var(--mdui-color-primary))}:host .drag-handle mdui-icon{font-size:20px}:host .benefit-badge{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgb(var(--mdui-color-primary));color:rgb(var(--mdui-color-on-primary));flex-shrink:0}:host .benefit-badge mdui-icon{font-size:16px}:host .benefit-text{font-size:14px;line-height:20px;color:rgb(var(--mdui-color-on-surface));flex:1;word-break:break-word}:host .remove-benefit-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;cursor:pointer;border-radius:50%;color:rgb(var(--mdui-color-on-surface-variant));transition:background-color 0.2s, color 0.2s;flex-shrink:0;margin-left:0.5rem}:host .remove-benefit-btn:hover{background:rgba(var(--mdui-color-error), 0.1);color:rgb(var(--mdui-color-error))}:host .remove-benefit-btn mdui-icon{--mdui-comp-icon-size:18px}:host .benefits-count{font-size:12px;color:rgb(var(--mdui-color-on-surface-variant));text-align:right;display:block}:host .max-benefits-notice{font-size:12px;color:rgb(var(--mdui-color-on-surface-variant));margin:0.25rem 0 0 0;font-style:italic}:host .checkbox-section{padding:0}:host .checkbox-section+.checkbox-section{margin-top:-1rem}:host .checkbox-content{display:flex;flex-direction:column;gap:0.125rem}:host .checkbox-label{font-size:14px;font-weight:500;line-height:20px;color:rgb(var(--mdui-color-on-surface))}:host .checkbox-hint{font-size:12px;line-height:16px;color:rgb(var(--mdui-color-on-surface-variant))}:host .form-actions{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid rgba(var(--mdui-color-outline-variant), 0.5);margin-top:0.5rem}:host .actions-left{display:flex;align-items:center;gap:0.5rem}:host .actions-right{display:flex;align-items:center;gap:0.5rem}@keyframes fadeIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@keyframes skeleton-loading{0%{background-position:-650px 0}100%{background-position:650px 0}}:host .loading{animation-duration:1.7s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:skeleton-loading;background:linear-gradient(\n to right,\n rgba(var(--mdui-color-on-background), 0.04) 2%,\n rgba(var(--mdui-color-on-background), 0.12) 18%,\n rgba(var(--mdui-color-on-background), 0.04) 33%\n );background-size:1000px;border-radius:4px}:host .skeleton-title{height:28px;width:200px;margin-bottom:1rem}:host .skeleton-field{height:56px;width:100%;margin-bottom:1rem;border-radius:8px}:host .skeleton-button{height:40px;width:100px;border-radius:20px}:host .benefit-picker .picker-header{display:flex;align-items:center;gap:0.5rem;margin-bottom:1rem}:host .benefit-picker .picker-header .editor-title{margin:0}:host .benefit-picker .form-section ur-button{margin-top:0.5rem}:host .back-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:transparent;cursor:pointer;border-radius:50%;color:rgb(var(--mdui-color-on-surface));transition:background-color 0.2s}:host .back-btn:hover{background:rgba(var(--mdui-color-on-surface), 0.08)}:host .back-btn mdui-icon{--mdui-comp-icon-size:24px}:host .picker-divider{display:flex;align-items:center;gap:1rem;margin:1.5rem 0}:host .picker-divider::before,:host .picker-divider::after{content:'';flex:1;height:1px;background:rgba(var(--mdui-color-outline-variant), 0.5)}:host .picker-divider span{font-size:12px;color:rgb(var(--mdui-color-on-surface-variant));white-space:nowrap}:host .preconfigured-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.5rem}:host .preconfigured-item{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 1rem;background:rgba(var(--mdui-color-surface-variant), 0.3);border-radius:8px;transition:background-color 0.2s}:host .preconfigured-item:hover{background:rgba(var(--mdui-color-surface-variant), 0.5)}:host .preconfigured-item.added{opacity:0.6}:host .preconfigured-badge{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:rgb(var(--mdui-color-primary));color:rgb(var(--mdui-color-on-primary));flex-shrink:0}:host .preconfigured-badge mdui-icon{font-size:16px}:host .preconfigured-text{font-size:14px;line-height:20px;color:rgb(var(--mdui-color-on-surface));flex:1}:host .preconfigured-item ur-button{flex-shrink:0}";
|
|
8
8
|
|