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.
Files changed (632) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/radio-DWksGWLi.js +170 -0
  3. package/dist/cjs/{tab-panel-BS_8ksq9.js → tab-BVwUIXQ4.js} +0 -49
  4. package/dist/cjs/tab-panel-KdoHPsyE.js +54 -0
  5. package/dist/cjs/ur-ad-banner.cjs.entry.js +3 -3
  6. package/dist/cjs/ur-author-page-profile.cjs.entry.js +3 -3
  7. package/dist/cjs/ur-autosave-drawer.cjs.entry.js +1 -1
  8. package/dist/cjs/{ur-avatar-COaGB2q6.js → ur-avatar-BV3tq4vp.js} +13 -6
  9. package/dist/cjs/ur-avatar_3.cjs.entry.js +1 -1
  10. package/dist/cjs/ur-bottom-sheet.cjs.entry.js +1 -1
  11. package/dist/cjs/ur-button-arrow-left_2.cjs.entry.js +2 -2
  12. package/dist/cjs/ur-button-icon.cjs.entry.js +1 -1
  13. package/dist/cjs/ur-button.cjs.entry.js +3 -1
  14. package/dist/cjs/ur-chapter-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ur-checkbox-group.cjs.entry.js +1 -1
  16. package/dist/cjs/ur-circular-progress.cjs.entry.js +1 -1
  17. package/dist/cjs/ur-comment-form.cjs.entry.js +5 -2
  18. package/dist/cjs/ur-competition-carousel.cjs.entry.js +1 -1
  19. package/dist/cjs/ur-competition-novl-card_2.cjs.entry.js +8 -8
  20. package/dist/cjs/ur-competition-overview.cjs.entry.js +3 -2
  21. package/dist/cjs/ur-competition.cjs.entry.js +5 -5
  22. package/dist/cjs/ur-dialog.cjs.entry.js +3 -3
  23. package/dist/cjs/ur-dropdown_2.cjs.entry.js +1 -1
  24. package/dist/cjs/ur-editor.cjs.entry.js +2 -2
  25. package/dist/cjs/ur-form.cjs.entry.js +1 -1
  26. package/dist/cjs/ur-grid-col.cjs.entry.js +1 -1
  27. package/dist/cjs/ur-grid-row.cjs.entry.js +1 -1
  28. package/dist/cjs/ur-grid.cjs.entry.js +2 -2
  29. package/dist/cjs/ur-hero.cjs.entry.js +4 -4
  30. package/dist/cjs/ur-icon.cjs.entry.js +1 -1
  31. package/dist/cjs/ur-image-uploader.cjs.entry.js +1 -1
  32. package/dist/cjs/ur-library-shelf-creator.cjs.entry.js +1 -1
  33. package/dist/cjs/ur-library-shelf-selector.cjs.entry.js +1 -1
  34. package/dist/cjs/ur-linear-progress.cjs.entry.js +2 -2
  35. package/dist/cjs/ur-list-subheader.cjs.entry.js +1 -1
  36. package/dist/cjs/ur-list.cjs.entry.js +1 -1
  37. package/dist/cjs/ur-loader.cjs.entry.js +1 -1
  38. package/dist/cjs/ur-locale-filter-button.cjs.entry.js +2 -2
  39. package/dist/cjs/ur-locale-filter-panel.cjs.entry.js +2 -2
  40. package/dist/cjs/ur-logo.cjs.entry.js +1 -1
  41. package/dist/cjs/ur-main-desktop-top-app-bar.cjs.entry.js +2 -2
  42. package/dist/cjs/ur-main-menu.cjs.entry.js +1 -1
  43. package/dist/cjs/ur-menu-item.cjs.entry.js +2 -2
  44. package/dist/cjs/ur-menu-profile.cjs.entry.js +1 -1
  45. package/dist/cjs/ur-navigation-bar.cjs.entry.js +1 -1
  46. package/dist/cjs/ur-navigation-drawer-global.cjs.entry.js +1 -1
  47. package/dist/cjs/ur-navigation-drawer.cjs.entry.js +1 -1
  48. package/dist/cjs/ur-notification-tabs.cjs.entry.js +3 -2
  49. package/dist/cjs/ur-novl-carousel.cjs.entry.js +1 -1
  50. package/dist/cjs/ur-novl-overview-info.cjs.entry.js +5 -5
  51. package/dist/cjs/ur-novl-summary.cjs.entry.js +4 -4
  52. package/dist/cjs/ur-page-carousel.cjs.entry.js +1 -1
  53. package/dist/cjs/ur-page-profile-tabs.cjs.entry.js +9 -2
  54. package/dist/cjs/ur-page-profile.cjs.entry.js +3 -3
  55. package/dist/cjs/ur-page-shared-list-tabs.cjs.entry.js +3 -2
  56. package/dist/cjs/ur-player.cjs.entry.js +3 -3
  57. package/dist/cjs/ur-post-card.cjs.entry.js +311 -0
  58. package/dist/cjs/ur-post-detail.cjs.entry.js +286 -0
  59. package/dist/cjs/ur-post-editor.cjs.entry.js +388 -0
  60. package/dist/cjs/ur-post-prompt.cjs.entry.js +55 -0
  61. package/dist/cjs/ur-profile-card.cjs.entry.js +2 -2
  62. package/dist/cjs/ur-profile.cjs.entry.js +3 -3
  63. package/dist/cjs/ur-radio-button.cjs.entry.js +57 -0
  64. package/dist/cjs/{ur-radio-button_2.cjs.entry.js → ur-radio-group.cjs.entry.js} +9 -199
  65. package/dist/cjs/ur-read-mobile-top-app-bar.cjs.entry.js +1 -1
  66. package/dist/cjs/ur-read-rail-mobile.cjs.entry.js +2 -2
  67. package/dist/cjs/ur-read-rail.cjs.entry.js +2 -2
  68. package/dist/cjs/ur-read-top-app-bar.cjs.entry.js +1 -1
  69. package/dist/cjs/ur-segment-button.cjs.entry.js +1 -1
  70. package/dist/cjs/ur-select.cjs.entry.js +2 -2
  71. package/dist/cjs/ur-snackbar.cjs.entry.js +2 -2
  72. package/dist/cjs/ur-stepper.cjs.entry.js +1 -1
  73. package/dist/cjs/ur-subscription-card.cjs.entry.js +1 -1
  74. package/dist/cjs/ur-subscription-tiers-carousel.cjs.entry.js +1 -1
  75. package/dist/cjs/ur-switch.cjs.entry.js +1 -1
  76. package/dist/cjs/ur-tabs.cjs.entry.js +3 -2
  77. package/dist/cjs/ur-thumbs-rating.cjs.entry.js +3 -3
  78. package/dist/cjs/ur-time-ago.cjs.entry.js +1 -1
  79. package/dist/cjs/ur-top-app-bar.cjs.entry.js +2 -2
  80. package/dist/cjs/ur-user-carousel.cjs.entry.js +1 -1
  81. package/dist/cjs/ur-user-page-profile.cjs.entry.js +3 -3
  82. package/dist/cjs/ur-user-partnership-application.cjs.entry.js +1 -1
  83. package/dist/cjs/ur-user-profile-settings-form.cjs.entry.js +27 -2
  84. package/dist/cjs/ur-user-profile-tabs.cjs.entry.js +9 -2
  85. package/dist/cjs/ur-user-profile.cjs.entry.js +1 -1
  86. package/dist/cjs/ur-work-overview.cjs.entry.js +6 -6
  87. package/dist/cjs/urnovl-web-components.cjs.js +1 -1
  88. package/dist/collection/collection-manifest.json +6 -2
  89. package/dist/collection/components/ur-ad-banner/ur-ad-banner.js +3 -3
  90. package/dist/collection/components/ur-author-page-profile/ur-author-page-profile.js +2 -2
  91. package/dist/collection/components/ur-autosave-drawer/ur-autosave-drawer.js +1 -1
  92. package/dist/collection/components/ur-avatar/ur-avatar.js +14 -8
  93. package/dist/collection/components/ur-bottom-sheet/ur-bottom-sheet.js +1 -1
  94. package/dist/collection/components/ur-button/ur-button.js +22 -1
  95. package/dist/collection/components/ur-button-arrow-left/ur-button-arrow-left.js +1 -1
  96. package/dist/collection/components/ur-button-arrow-right/ur-button-arrow-right.js +1 -1
  97. package/dist/collection/components/ur-button-icon/ur-button-icon.js +1 -1
  98. package/dist/collection/components/ur-chapter-item/ur-chapter-item.js +1 -1
  99. package/dist/collection/components/ur-checkbox-group/ur-checkbox-group.js +1 -1
  100. package/dist/collection/components/ur-circular-progress/ur-circular-progress.js +1 -1
  101. package/dist/collection/components/ur-comment-form/ur-comment-form.css +14 -3
  102. package/dist/collection/components/ur-comment-form/ur-comment-form.js +64 -1
  103. package/dist/collection/components/ur-competition/ur-competition.js +5 -5
  104. package/dist/collection/components/ur-competition-carousel/ur-competition-carousel.js +1 -1
  105. package/dist/collection/components/ur-competition-novl-card/ur-competition-novl-card.js +6 -6
  106. package/dist/collection/components/ur-competition-overview/ur-competition-overview.js +1 -1
  107. package/dist/collection/components/ur-dialog/ur-dialog.js +3 -3
  108. package/dist/collection/components/ur-dropdown/ur-dropdown.js +1 -1
  109. package/dist/collection/components/ur-editor/ur-editor.js +2 -2
  110. package/dist/collection/components/ur-form/ur-form.js +1 -1
  111. package/dist/collection/components/ur-grid/ur-grid-col.js +1 -1
  112. package/dist/collection/components/ur-grid/ur-grid-row.js +1 -1
  113. package/dist/collection/components/ur-grid/ur-grid.js +2 -2
  114. package/dist/collection/components/ur-hero/ur-hero.js +4 -4
  115. package/dist/collection/components/ur-icon/ur-icon.js +1 -1
  116. package/dist/collection/components/ur-image-uploader/ur-image-uploader.js +1 -1
  117. package/dist/collection/components/ur-library-shelf-creator/ur-library-shelf-creator.js +1 -1
  118. package/dist/collection/components/ur-library-shelf-selector/ur-library-shelf-selector.js +1 -1
  119. package/dist/collection/components/ur-linear-progress/ur-linear-progress.js +2 -2
  120. package/dist/collection/components/ur-list/ur-list.js +1 -1
  121. package/dist/collection/components/ur-list-subheader/ur-list-subheader.js +1 -1
  122. package/dist/collection/components/ur-loader/ur-loader.js +1 -1
  123. package/dist/collection/components/ur-locale-filter-button/ur-locale-filter-button.js +2 -2
  124. package/dist/collection/components/ur-locale-filter-panel/ur-locale-filter-panel.js +2 -2
  125. package/dist/collection/components/ur-logo/ur-logo.js +1 -1
  126. package/dist/collection/components/ur-main-desktop-top-app-bar/ur-main-desktop-top-app-bar.js +2 -2
  127. package/dist/collection/components/ur-main-menu/ur-main-menu.js +1 -1
  128. package/dist/collection/components/ur-menu-item/ur-menu-item.js +2 -2
  129. package/dist/collection/components/ur-menu-profile/ur-menu-profile.js +1 -1
  130. package/dist/collection/components/ur-navigation-bar/ur-navigation-bar.js +1 -1
  131. package/dist/collection/components/ur-navigation-drawer/ur-navigation-drawer.js +1 -1
  132. package/dist/collection/components/ur-navigation-drawer-global/ur-navigation-drawer-global.js +1 -1
  133. package/dist/collection/components/ur-notification-tabs/ur-notification-tabs.js +1 -1
  134. package/dist/collection/components/ur-novl-carousel/ur-novl-carousel.js +1 -1
  135. package/dist/collection/components/ur-novl-overview-info/ur-novl-overview-info.js +4 -4
  136. package/dist/collection/components/ur-novl-summary/ur-novl-summary.js +3 -3
  137. package/dist/collection/components/ur-page-carousel/ur-page-carousel.js +1 -1
  138. package/dist/collection/components/ur-page-profile/ur-page-profile.js +2 -2
  139. package/dist/collection/components/ur-page-profile-tabs/ur-page-profile-tabs.js +27 -1
  140. package/dist/collection/components/ur-page-shared-list-tabs/ur-page-shared-list-tabs.js +1 -1
  141. package/dist/collection/components/ur-player/ur-player.js +3 -3
  142. package/dist/collection/components/ur-post-card/ur-post-card.css +651 -0
  143. package/dist/collection/components/ur-post-card/ur-post-card.js +996 -0
  144. package/dist/collection/components/ur-post-card/ur-post-card.types.js +1 -0
  145. package/dist/collection/components/ur-post-detail/ur-post-detail.css +439 -0
  146. package/dist/collection/components/ur-post-detail/ur-post-detail.js +865 -0
  147. package/dist/collection/components/ur-post-detail/ur-post-detail.types.js +1 -0
  148. package/dist/collection/components/ur-post-editor/ur-post-editor.css +425 -0
  149. package/dist/collection/components/ur-post-editor/ur-post-editor.js +1371 -0
  150. package/dist/collection/components/ur-post-prompt/ur-post-prompt.css +53 -0
  151. package/dist/collection/components/ur-post-prompt/ur-post-prompt.js +283 -0
  152. package/dist/collection/components/ur-profile/ur-profile.js +3 -3
  153. package/dist/collection/components/ur-profile-card/ur-profile-card.js +1 -1
  154. package/dist/collection/components/ur-radio-button/ur-radio-button.js +12 -8
  155. package/dist/collection/components/ur-radio-group/ur-radio-group.js +1 -1
  156. package/dist/collection/components/ur-read-mobile-top-app-bar/ur-read-mobile-top-app-bar.js +1 -1
  157. package/dist/collection/components/ur-read-rail/ur-read-rail.js +2 -2
  158. package/dist/collection/components/ur-read-rail-mobile/ur-read-rail-mobile.js +2 -2
  159. package/dist/collection/components/ur-read-top-app-bar/ur-read-top-app-bar.js +1 -1
  160. package/dist/collection/components/ur-segment-button/ur-segment-button.js +1 -1
  161. package/dist/collection/components/ur-select/ur-select.css +5 -2
  162. package/dist/collection/components/ur-select/ur-select.js +1 -1
  163. package/dist/collection/components/ur-snackbar/ur-snackbar.js +2 -2
  164. package/dist/collection/components/ur-stats/ur-stats.js +2 -2
  165. package/dist/collection/components/ur-stepper/ur-stepper.js +1 -1
  166. package/dist/collection/components/ur-subscription-card/ur-subscription-card.js +1 -1
  167. package/dist/collection/components/ur-subscription-tiers-carousel/ur-subscription-tiers-carousel.js +1 -1
  168. package/dist/collection/components/ur-switch/ur-switch.js +1 -1
  169. package/dist/collection/components/ur-tabs/ur-tabs.js +1 -1
  170. package/dist/collection/components/ur-thumbs-rating/ur-thumbs-rating.js +3 -3
  171. package/dist/collection/components/ur-time-ago/ur-time-ago.js +1 -1
  172. package/dist/collection/components/ur-top-app-bar/ur-top-app-bar.js +2 -2
  173. package/dist/collection/components/ur-user-carousel/ur-user-carousel.js +1 -1
  174. package/dist/collection/components/ur-user-page-profile/ur-user-page-profile.js +2 -2
  175. package/dist/collection/components/ur-user-partnership-application/ur-user-partnership-application.js +1 -1
  176. package/dist/collection/components/ur-user-profile/ur-user-profile.js +1 -1
  177. package/dist/collection/components/ur-user-profile-settings-form/ur-user-profile-settings-form.css +54 -0
  178. package/dist/collection/components/ur-user-profile-settings-form/ur-user-profile-settings-form.js +263 -2
  179. package/dist/collection/components/ur-user-profile-tabs/ur-user-profile-tabs.js +27 -1
  180. package/dist/collection/components/ur-work-overview/ur-work-overview.js +5 -5
  181. package/dist/collection/stories/CommentForm.stories.js +22 -0
  182. package/dist/collection/stories/PostCard.stories.js +770 -0
  183. package/dist/collection/stories/PostDetail.stories.js +406 -0
  184. package/dist/collection/stories/PostEditor.stories.js +416 -0
  185. package/dist/collection/stories/PostPrompt.stories.js +185 -0
  186. package/dist/collection/stories/UserProfileSettingsForm.stories.js +70 -0
  187. package/dist/components/{p-BKchntfo.js → p-03wkTPxQ.js} +1 -1
  188. package/dist/components/{p-Bfz4JsuD.js → p-2DKsUy-2.js} +0 -49
  189. package/dist/components/{p-Bx6fE2l3.js → p-BY4DFbqH.js} +4 -1
  190. package/dist/components/{p-D614DE4A.js → p-BprsjaxF.js} +1 -1
  191. package/dist/components/{p-DSQlUWyM.js → p-BxphUdOx.js} +1 -1
  192. package/dist/components/{p-m3l6rpTl.js → p-C8X80qyp.js} +1 -1
  193. package/dist/components/{p-C3v4NYCZ.js → p-C92dQzDo.js} +1 -1
  194. package/dist/components/p-CC8esrW-.js +52 -0
  195. package/dist/components/{p-DV782yr8.js → p-CFJcUF9w.js} +1 -1
  196. package/dist/components/{p-zT_m5cqn.js → p-CVMqpnJb.js} +1 -1
  197. package/dist/components/{p-DIsqN2af.js → p-CcsOJD5k.js} +3 -3
  198. package/dist/components/{p-viReDfYk.js → p-Ce3HFAVh.js} +1 -1
  199. package/dist/components/{p-DUoVib83.js → p-CfldtLQf.js} +13 -6
  200. package/dist/components/{p-KEnip_eJ.js → p-CiihVtnt.js} +2 -2
  201. package/dist/components/{p-hq0QnQ__.js → p-CvIyrJOF.js} +1 -1
  202. package/dist/components/{p-BZPQ9A0k.js → p-DE-Ebb0W.js} +1 -1
  203. package/dist/components/{p-CMaS5_FI.js → p-DIrqGiUJ.js} +2 -2
  204. package/dist/components/{p-CYZhNTeP.js → p-DNOMxgVq.js} +1 -1
  205. package/dist/components/{p-DvK12rWN.js → p-DQohMME6.js} +1 -1
  206. package/dist/components/{p-ByNX7rB1.js → p-DR_e7_h1.js} +6 -6
  207. package/dist/components/{p-DWw8j4-8.js → p-DmcTV8ow.js} +1 -1
  208. package/dist/components/p-E7oF2Ho9.js +533 -0
  209. package/dist/components/{p-Bpxw55nt.js → p-GadDdSTq.js} +5 -5
  210. package/dist/components/{p-C3xJtl8A.js → p-K79NbcgI.js} +6 -6
  211. package/dist/components/{p-DodTpF-h.js → p-YHtvjamV.js} +13 -9
  212. package/dist/components/{p-DQR9IkCh.js → p-Yub-kvNT.js} +2 -2
  213. package/dist/components/{p-CAPHCTJl.js → p-cEpNt5Cx.js} +1 -1
  214. package/dist/components/{p-DnPjaZVg.js → p-qe3zXShw.js} +1 -1
  215. package/dist/components/ur-ad-banner.js +3 -3
  216. package/dist/components/ur-author-page-profile.js +4 -4
  217. package/dist/components/ur-autosave-drawer.js +3 -3
  218. package/dist/components/ur-avatar.js +1 -1
  219. package/dist/components/ur-bottom-sheet.js +1 -1
  220. package/dist/components/ur-bravo.js +1 -1
  221. package/dist/components/ur-button-arrow-left.js +1 -1
  222. package/dist/components/ur-button-arrow-right.js +1 -1
  223. package/dist/components/ur-button-icon.js +1 -1
  224. package/dist/components/ur-button.js +1 -1
  225. package/dist/components/ur-chapter-item.js +4 -4
  226. package/dist/components/ur-checkbox-group.js +1 -1
  227. package/dist/components/ur-circular-progress.js +1 -1
  228. package/dist/components/ur-comment-form.js +11 -5
  229. package/dist/components/ur-comment.js +2 -2
  230. package/dist/components/ur-competition-carousel.js +5 -5
  231. package/dist/components/ur-competition-novl-card.js +1 -1
  232. package/dist/components/ur-competition-overview.js +10 -9
  233. package/dist/components/ur-competition.js +1 -1
  234. package/dist/components/ur-data-list.js +2 -2
  235. package/dist/components/ur-dialog.js +3 -3
  236. package/dist/components/ur-dropdown.js +1 -1
  237. package/dist/components/ur-editor.js +3 -3
  238. package/dist/components/ur-feedback.js +3 -3
  239. package/dist/components/ur-form.js +1 -1
  240. package/dist/components/ur-grid-col.js +1 -1
  241. package/dist/components/ur-grid-row.js +1 -1
  242. package/dist/components/ur-grid.js +3 -3
  243. package/dist/components/ur-hero.js +5 -5
  244. package/dist/components/ur-icon.js +1 -1
  245. package/dist/components/ur-image-uploader.js +1 -1
  246. package/dist/components/ur-library-shelf-creator.js +3 -3
  247. package/dist/components/ur-library-shelf-selector.js +4 -4
  248. package/dist/components/ur-linear-progress.js +1 -1
  249. package/dist/components/ur-list-subheader.js +1 -1
  250. package/dist/components/ur-list.js +1 -1
  251. package/dist/components/ur-loader.js +1 -1
  252. package/dist/components/ur-locale-filter-button.js +2 -2
  253. package/dist/components/ur-locale-filter-panel.js +3 -3
  254. package/dist/components/ur-logo.js +1 -1
  255. package/dist/components/ur-main-desktop-top-app-bar.js +5 -5
  256. package/dist/components/ur-main-menu.js +7 -7
  257. package/dist/components/ur-menu-item.js +2 -2
  258. package/dist/components/ur-menu-profile.js +1 -1
  259. package/dist/components/ur-navigation-bar.js +1 -1
  260. package/dist/components/ur-navigation-drawer-global.js +1 -1
  261. package/dist/components/ur-navigation-drawer.js +1 -1
  262. package/dist/components/ur-notification-tabs.js +3 -2
  263. package/dist/components/ur-notification.js +4 -4
  264. package/dist/components/ur-novl-carousel.js +5 -5
  265. package/dist/components/ur-novl-overview-info.js +11 -11
  266. package/dist/components/ur-novl-summary.js +6 -6
  267. package/dist/components/ur-novl.js +1 -1
  268. package/dist/components/ur-page-carousel.js +5 -5
  269. package/dist/components/ur-page-list.js +1 -1
  270. package/dist/components/ur-page-partnership-application.js +3 -3
  271. package/dist/components/ur-page-profile-tabs.js +10 -2
  272. package/dist/components/ur-page-profile.js +6 -6
  273. package/dist/components/ur-page-shared-list-tabs.js +3 -2
  274. package/dist/components/ur-page.js +1 -1
  275. package/dist/components/ur-player.js +5 -5
  276. package/dist/components/ur-post-card.d.ts +11 -0
  277. package/dist/components/ur-post-card.js +371 -0
  278. package/dist/components/ur-post-detail.d.ts +11 -0
  279. package/dist/components/ur-post-detail.js +343 -0
  280. package/dist/components/ur-post-editor.d.ts +11 -0
  281. package/dist/components/ur-post-editor.js +458 -0
  282. package/dist/components/ur-post-prompt.d.ts +11 -0
  283. package/dist/components/ur-post-prompt.js +103 -0
  284. package/dist/components/ur-pricing-card.js +1 -1
  285. package/dist/components/ur-profile-card.js +1 -1
  286. package/dist/components/ur-profile-completion-card.js +1 -1
  287. package/dist/components/ur-profile-completion-fab.js +6 -6
  288. package/dist/components/ur-profile.js +3 -3
  289. package/dist/components/ur-radio-button.js +1 -1
  290. package/dist/components/ur-radio-group.js +1 -1
  291. package/dist/components/ur-read-mobile-top-app-bar.js +2 -2
  292. package/dist/components/ur-read-rail-mobile.js +4 -4
  293. package/dist/components/ur-read-rail.js +4 -4
  294. package/dist/components/ur-read-top-app-bar.js +2 -2
  295. package/dist/components/ur-reader.js +2 -2
  296. package/dist/components/ur-segment-button.js +1 -1
  297. package/dist/components/ur-select.js +1 -531
  298. package/dist/components/ur-shelf-card.js +1 -1
  299. package/dist/components/ur-snackbar.js +2 -2
  300. package/dist/components/ur-stats.js +1 -1
  301. package/dist/components/ur-stepper.js +2 -2
  302. package/dist/components/ur-subscription-card.js +2 -2
  303. package/dist/components/ur-subscription-tier-editor.js +1 -1
  304. package/dist/components/ur-subscription-tiers-carousel.js +5 -5
  305. package/dist/components/ur-switch.js +1 -1
  306. package/dist/components/ur-tabs.js +3 -2
  307. package/dist/components/ur-thumbs-rating.js +4 -4
  308. package/dist/components/ur-time-ago.js +1 -1
  309. package/dist/components/ur-top-app-bar.js +3 -3
  310. package/dist/components/ur-user-carousel.js +5 -5
  311. package/dist/components/ur-user-page-profile.js +7 -7
  312. package/dist/components/ur-user-partnership-application.js +4 -4
  313. package/dist/components/ur-user-profile-settings-form.js +41 -6
  314. package/dist/components/ur-user-profile-tabs.js +10 -2
  315. package/dist/components/ur-user-profile.js +1 -1
  316. package/dist/components/ur-user.js +1 -1
  317. package/dist/components/ur-work-overview.js +9 -9
  318. package/dist/components/ur-work.js +1 -1
  319. package/dist/esm/loader.js +1 -1
  320. package/dist/esm/radio-B2MeJZg9.js +168 -0
  321. package/dist/esm/{tab-panel-YMLschUK.js → tab-JcwwlhqJ.js} +0 -49
  322. package/dist/esm/tab-panel-mttybgVa.js +52 -0
  323. package/dist/esm/ur-ad-banner.entry.js +3 -3
  324. package/dist/esm/ur-author-page-profile.entry.js +3 -3
  325. package/dist/esm/ur-autosave-drawer.entry.js +1 -1
  326. package/dist/esm/{ur-avatar-n6L9PEnR.js → ur-avatar-DXF3lVCQ.js} +13 -6
  327. package/dist/esm/ur-avatar_3.entry.js +1 -1
  328. package/dist/esm/ur-bottom-sheet.entry.js +1 -1
  329. package/dist/esm/ur-button-arrow-left_2.entry.js +2 -2
  330. package/dist/esm/ur-button-icon.entry.js +1 -1
  331. package/dist/esm/ur-button.entry.js +3 -1
  332. package/dist/esm/ur-chapter-item.entry.js +1 -1
  333. package/dist/esm/ur-checkbox-group.entry.js +1 -1
  334. package/dist/esm/ur-circular-progress.entry.js +1 -1
  335. package/dist/esm/ur-comment-form.entry.js +5 -2
  336. package/dist/esm/ur-competition-carousel.entry.js +1 -1
  337. package/dist/esm/ur-competition-novl-card_2.entry.js +8 -8
  338. package/dist/esm/ur-competition-overview.entry.js +3 -2
  339. package/dist/esm/ur-competition.entry.js +5 -5
  340. package/dist/esm/ur-dialog.entry.js +3 -3
  341. package/dist/esm/ur-dropdown_2.entry.js +1 -1
  342. package/dist/esm/ur-editor.entry.js +2 -2
  343. package/dist/esm/ur-form.entry.js +1 -1
  344. package/dist/esm/ur-grid-col.entry.js +1 -1
  345. package/dist/esm/ur-grid-row.entry.js +1 -1
  346. package/dist/esm/ur-grid.entry.js +2 -2
  347. package/dist/esm/ur-hero.entry.js +4 -4
  348. package/dist/esm/ur-icon.entry.js +1 -1
  349. package/dist/esm/ur-image-uploader.entry.js +1 -1
  350. package/dist/esm/ur-library-shelf-creator.entry.js +1 -1
  351. package/dist/esm/ur-library-shelf-selector.entry.js +1 -1
  352. package/dist/esm/ur-linear-progress.entry.js +2 -2
  353. package/dist/esm/ur-list-subheader.entry.js +1 -1
  354. package/dist/esm/ur-list.entry.js +1 -1
  355. package/dist/esm/ur-loader.entry.js +1 -1
  356. package/dist/esm/ur-locale-filter-button.entry.js +2 -2
  357. package/dist/esm/ur-locale-filter-panel.entry.js +2 -2
  358. package/dist/esm/ur-logo.entry.js +1 -1
  359. package/dist/esm/ur-main-desktop-top-app-bar.entry.js +2 -2
  360. package/dist/esm/ur-main-menu.entry.js +1 -1
  361. package/dist/esm/ur-menu-item.entry.js +2 -2
  362. package/dist/esm/ur-menu-profile.entry.js +1 -1
  363. package/dist/esm/ur-navigation-bar.entry.js +1 -1
  364. package/dist/esm/ur-navigation-drawer-global.entry.js +1 -1
  365. package/dist/esm/ur-navigation-drawer.entry.js +1 -1
  366. package/dist/esm/ur-notification-tabs.entry.js +3 -2
  367. package/dist/esm/ur-novl-carousel.entry.js +1 -1
  368. package/dist/esm/ur-novl-overview-info.entry.js +5 -5
  369. package/dist/esm/ur-novl-summary.entry.js +4 -4
  370. package/dist/esm/ur-page-carousel.entry.js +1 -1
  371. package/dist/esm/ur-page-profile-tabs.entry.js +9 -2
  372. package/dist/esm/ur-page-profile.entry.js +3 -3
  373. package/dist/esm/ur-page-shared-list-tabs.entry.js +3 -2
  374. package/dist/esm/ur-player.entry.js +3 -3
  375. package/dist/esm/ur-post-card.entry.js +309 -0
  376. package/dist/esm/ur-post-detail.entry.js +284 -0
  377. package/dist/esm/ur-post-editor.entry.js +386 -0
  378. package/dist/esm/ur-post-prompt.entry.js +53 -0
  379. package/dist/esm/ur-profile-card.entry.js +2 -2
  380. package/dist/esm/ur-profile.entry.js +3 -3
  381. package/dist/esm/ur-radio-button.entry.js +55 -0
  382. package/dist/esm/{ur-radio-button_2.entry.js → ur-radio-group.entry.js} +19 -208
  383. package/dist/esm/ur-read-mobile-top-app-bar.entry.js +1 -1
  384. package/dist/esm/ur-read-rail-mobile.entry.js +2 -2
  385. package/dist/esm/ur-read-rail.entry.js +2 -2
  386. package/dist/esm/ur-read-top-app-bar.entry.js +1 -1
  387. package/dist/esm/ur-segment-button.entry.js +1 -1
  388. package/dist/esm/ur-select.entry.js +2 -2
  389. package/dist/esm/ur-snackbar.entry.js +2 -2
  390. package/dist/esm/ur-stepper.entry.js +1 -1
  391. package/dist/esm/ur-subscription-card.entry.js +1 -1
  392. package/dist/esm/ur-subscription-tiers-carousel.entry.js +1 -1
  393. package/dist/esm/ur-switch.entry.js +1 -1
  394. package/dist/esm/ur-tabs.entry.js +3 -2
  395. package/dist/esm/ur-thumbs-rating.entry.js +3 -3
  396. package/dist/esm/ur-time-ago.entry.js +1 -1
  397. package/dist/esm/ur-top-app-bar.entry.js +2 -2
  398. package/dist/esm/ur-user-carousel.entry.js +1 -1
  399. package/dist/esm/ur-user-page-profile.entry.js +3 -3
  400. package/dist/esm/ur-user-partnership-application.entry.js +1 -1
  401. package/dist/esm/ur-user-profile-settings-form.entry.js +28 -3
  402. package/dist/esm/ur-user-profile-tabs.entry.js +9 -2
  403. package/dist/esm/ur-user-profile.entry.js +1 -1
  404. package/dist/esm/ur-work-overview.entry.js +6 -6
  405. package/dist/esm/urnovl-web-components.js +1 -1
  406. package/dist/types/components/ur-avatar/ur-avatar.d.ts +1 -0
  407. package/dist/types/components/ur-button/ur-button.d.ts +1 -0
  408. package/dist/types/components/ur-comment-form/ur-comment-form.d.ts +3 -0
  409. package/dist/types/components/ur-page-profile-tabs/ur-page-profile-tabs.d.ts +1 -0
  410. package/dist/types/components/ur-post-card/ur-post-card.d.ts +76 -0
  411. package/dist/types/components/ur-post-card/ur-post-card.types.d.ts +46 -0
  412. package/dist/types/components/ur-post-detail/ur-post-detail.d.ts +72 -0
  413. package/dist/types/components/ur-post-detail/ur-post-detail.types.d.ts +40 -0
  414. package/dist/types/components/ur-post-editor/ur-post-editor.d.ts +158 -0
  415. package/dist/types/components/ur-post-prompt/ur-post-prompt.d.ts +22 -0
  416. package/dist/types/components/ur-radio-button/ur-radio-button.d.ts +2 -1
  417. package/dist/types/components/ur-user-profile-settings-form/ur-user-profile-settings-form.d.ts +20 -0
  418. package/dist/types/components/ur-user-profile-tabs/ur-user-profile-tabs.d.ts +1 -0
  419. package/dist/types/components.d.ts +4832 -3682
  420. package/dist/types/stories/CommentForm.stories.d.ts +30 -0
  421. package/dist/types/stories/PostCard.stories.d.ts +578 -0
  422. package/dist/types/stories/PostDetail.stories.d.ts +350 -0
  423. package/dist/types/stories/PostEditor.stories.d.ts +417 -0
  424. package/dist/types/stories/PostPrompt.stories.d.ts +12 -0
  425. package/dist/types/stories/UserProfileSettingsForm.stories.d.ts +33 -0
  426. package/dist/urnovl-web-components/p-01757565.entry.js +1 -1
  427. package/dist/urnovl-web-components/{p-65bec9fc.entry.js → p-06bbc9fe.entry.js} +2 -2
  428. package/{www/build/p-d56433f6.entry.js → dist/urnovl-web-components/p-0fc280ea.entry.js} +1 -1
  429. package/dist/urnovl-web-components/{p-ccf5473e.entry.js → p-11473976.entry.js} +1 -1
  430. package/dist/urnovl-web-components/{p-2e35d885.entry.js → p-1491f43a.entry.js} +1 -1
  431. package/dist/urnovl-web-components/{p-04e00f30.entry.js → p-16250027.entry.js} +1 -1
  432. package/{www/build/p-2462786c.entry.js → dist/urnovl-web-components/p-178828b9.entry.js} +1 -1
  433. package/{www/build/p-981382ab.entry.js → dist/urnovl-web-components/p-1afbea38.entry.js} +1 -1
  434. package/dist/urnovl-web-components/{p-4aa0540c.entry.js → p-1f152f8a.entry.js} +1 -1
  435. package/dist/urnovl-web-components/{p-f4681bcd.entry.js → p-1f60a6be.entry.js} +1 -1
  436. package/dist/urnovl-web-components/{p-a712a3df.entry.js → p-240289e9.entry.js} +1 -1
  437. package/dist/urnovl-web-components/{p-624543fe.entry.js → p-2444c265.entry.js} +1 -1
  438. package/{www/build/p-baef18c0.entry.js → dist/urnovl-web-components/p-2472848c.entry.js} +1 -1
  439. package/{www/build/p-56a033f3.entry.js → dist/urnovl-web-components/p-257815b1.entry.js} +1 -1
  440. package/dist/urnovl-web-components/{p-be46aea1.entry.js → p-283a26c0.entry.js} +1 -1
  441. package/dist/urnovl-web-components/p-30980b12.entry.js +1 -0
  442. package/{www/build/p-d8a58171.entry.js → dist/urnovl-web-components/p-30ef8fce.entry.js} +1 -1
  443. package/dist/urnovl-web-components/{p-abc5b014.entry.js → p-343ad683.entry.js} +1 -1
  444. package/{www/build/p-76fd07ad.entry.js → dist/urnovl-web-components/p-343d4de6.entry.js} +1 -1
  445. package/{www/build/p-4bd2dfab.entry.js → dist/urnovl-web-components/p-346853b2.entry.js} +1 -1
  446. package/dist/urnovl-web-components/{p-c39f0b47.entry.js → p-35d81850.entry.js} +1 -1
  447. package/dist/urnovl-web-components/{p-1c69e7f0.entry.js → p-37c2f592.entry.js} +1 -1
  448. package/{www/build/p-d8e1e17f.entry.js → dist/urnovl-web-components/p-38c450cb.entry.js} +1 -1
  449. package/dist/urnovl-web-components/p-3a956b23.entry.js +1 -0
  450. package/dist/urnovl-web-components/{p-da9fd305.entry.js → p-3d11160e.entry.js} +1 -1
  451. package/dist/urnovl-web-components/p-403f60d4.entry.js +1 -0
  452. package/{www/build/p-b086c8e2.entry.js → dist/urnovl-web-components/p-4118c49f.entry.js} +1 -1
  453. package/dist/urnovl-web-components/{p-88bac6fe.entry.js → p-4420499c.entry.js} +1 -1
  454. package/dist/urnovl-web-components/p-44c8ac2e.entry.js +1 -0
  455. package/dist/urnovl-web-components/{p-f0b2862a.entry.js → p-45126fa8.entry.js} +1 -1
  456. package/{www/build/p-f82dd515.entry.js → dist/urnovl-web-components/p-4bd4960f.entry.js} +1 -1
  457. package/dist/urnovl-web-components/{p-4d1821af.entry.js → p-5c8253d7.entry.js} +1 -1
  458. package/dist/urnovl-web-components/{p-5c9578ac.entry.js → p-5f0ca3b4.entry.js} +1 -1
  459. package/dist/urnovl-web-components/p-60481eb4.entry.js +1 -0
  460. package/{www/build/p-7e1ac458.entry.js → dist/urnovl-web-components/p-6ff378f1.entry.js} +1 -1
  461. package/dist/urnovl-web-components/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
  462. package/dist/urnovl-web-components/{p-f1b1525f.entry.js → p-72d505c7.entry.js} +1 -1
  463. package/dist/urnovl-web-components/{p-ee1599b6.entry.js → p-72f4fb72.entry.js} +1 -1
  464. package/{www/build/p-c80dfc35.entry.js → dist/urnovl-web-components/p-74534238.entry.js} +1 -1
  465. package/dist/urnovl-web-components/{p-8076962b.entry.js → p-75483926.entry.js} +1 -1
  466. package/dist/urnovl-web-components/{p-3586bdaf.entry.js → p-7f8a77e0.entry.js} +1 -1
  467. package/dist/urnovl-web-components/p-852ff3f7.entry.js +1 -0
  468. package/{www/build/p-5566b17c.entry.js → dist/urnovl-web-components/p-88e526fb.entry.js} +1 -1
  469. package/dist/urnovl-web-components/{p-68391a31.entry.js → p-89ac2a2c.entry.js} +1 -1
  470. package/dist/urnovl-web-components/{p-593c5f5d.entry.js → p-8c7af8f6.entry.js} +1 -1
  471. package/dist/urnovl-web-components/p-8e3404f8.entry.js +1 -0
  472. package/dist/urnovl-web-components/p-910ae64b.entry.js +1 -0
  473. package/dist/urnovl-web-components/{p-0cf7981e.entry.js → p-96018122.entry.js} +1 -1
  474. package/dist/urnovl-web-components/{p-CWeg8sEj.js → p-BnHMCPA5.js} +1 -1
  475. package/dist/urnovl-web-components/p-FXZebMHX.js +1 -0
  476. package/dist/urnovl-web-components/p-YvOYo-vb.js +1 -0
  477. package/{www/build/p-6d29e790.entry.js → dist/urnovl-web-components/p-a02a44c5.entry.js} +1 -1
  478. package/dist/urnovl-web-components/{p-1e41d132.entry.js → p-a07f78d9.entry.js} +1 -1
  479. package/dist/urnovl-web-components/p-aa9b5fb1.entry.js +1 -0
  480. package/dist/urnovl-web-components/p-ac784ceb.entry.js +1 -1
  481. package/dist/urnovl-web-components/{p-bf80387d.entry.js → p-b1da8f4f.entry.js} +1 -1
  482. package/dist/urnovl-web-components/p-b629cb93.entry.js +1 -0
  483. package/dist/urnovl-web-components/{p-67316cbc.entry.js → p-b6778ee0.entry.js} +1 -1
  484. package/dist/urnovl-web-components/{p-700b9b7e.entry.js → p-bb369731.entry.js} +1 -1
  485. package/dist/urnovl-web-components/p-bbf6cece.entry.js +1 -0
  486. package/dist/urnovl-web-components/{p-bb83fdf6.entry.js → p-bbf6f750.entry.js} +1 -1
  487. package/dist/urnovl-web-components/{p-8f055e80.entry.js → p-c057f347.entry.js} +1 -1
  488. package/{www/build/p-bb145920.entry.js → dist/urnovl-web-components/p-c33254fb.entry.js} +1 -1
  489. package/dist/urnovl-web-components/{p-28a77b70.entry.js → p-c7666b66.entry.js} +1 -1
  490. package/{www/build/p-c21abd37.entry.js → dist/urnovl-web-components/p-c7983e8a.entry.js} +1 -1
  491. package/{www/build/p-82997757.entry.js → dist/urnovl-web-components/p-c873abca.entry.js} +1 -1
  492. package/{www/build/p-86f826f4.entry.js → dist/urnovl-web-components/p-c8818032.entry.js} +1 -1
  493. package/{www/build/p-c14f3e7b.entry.js → dist/urnovl-web-components/p-c8f68cfe.entry.js} +1 -1
  494. package/dist/urnovl-web-components/p-caaac073.entry.js +1 -0
  495. package/dist/urnovl-web-components/p-cb516edc.entry.js +1 -0
  496. package/dist/urnovl-web-components/p-cb79d059.entry.js +1 -1
  497. package/dist/urnovl-web-components/{p-9e19f4e8.entry.js → p-cd1dcff4.entry.js} +1 -1
  498. package/dist/urnovl-web-components/p-ce268bc2.entry.js +1 -0
  499. package/dist/urnovl-web-components/p-cf90d565.entry.js +1 -0
  500. package/{www/build/p-f044459d.entry.js → dist/urnovl-web-components/p-d210bed2.entry.js} +1 -1
  501. package/dist/urnovl-web-components/{p-b50e8cad.entry.js → p-d348963a.entry.js} +1 -1
  502. package/dist/urnovl-web-components/{p-e659d21c.entry.js → p-d4da4e68.entry.js} +1 -1
  503. package/dist/urnovl-web-components/p-d6e78266.entry.js +1 -0
  504. package/{www/build/p-693b5b1e.entry.js → dist/urnovl-web-components/p-db9079e2.entry.js} +1 -1
  505. package/dist/urnovl-web-components/{p-7f399549.entry.js → p-dfa6c13e.entry.js} +1 -1
  506. package/dist/urnovl-web-components/{p-cfedfdac.entry.js → p-e2518029.entry.js} +1 -1
  507. package/{www/build/p-7d403b3e.entry.js → dist/urnovl-web-components/p-e3982059.entry.js} +1 -1
  508. package/{www/build/p-d02abe61.entry.js → dist/urnovl-web-components/p-e3b98dfd.entry.js} +1 -1
  509. package/dist/urnovl-web-components/{p-0588ba08.entry.js → p-e659c8bb.entry.js} +1 -1
  510. package/dist/urnovl-web-components/p-ec006f46.entry.js +1 -1
  511. package/dist/urnovl-web-components/{p-dbde8c6e.entry.js → p-ed59b299.entry.js} +1 -1
  512. package/dist/urnovl-web-components/{p-d11cd455.entry.js → p-f16c01bf.entry.js} +1 -1
  513. package/dist/urnovl-web-components/{p-73fca060.entry.js → p-fb6cbf1d.entry.js} +1 -1
  514. package/dist/urnovl-web-components/p-pLhWehn7.js +1 -0
  515. package/dist/urnovl-web-components/urnovl-web-components.esm.js +1 -1
  516. package/package.json +1 -1
  517. package/www/build/p-01757565.entry.js +1 -1
  518. package/www/build/p-018dfa52.js +1 -0
  519. package/www/build/{p-65bec9fc.entry.js → p-06bbc9fe.entry.js} +2 -2
  520. package/{dist/urnovl-web-components/p-d56433f6.entry.js → www/build/p-0fc280ea.entry.js} +1 -1
  521. package/www/build/{p-ccf5473e.entry.js → p-11473976.entry.js} +1 -1
  522. package/www/build/{p-2e35d885.entry.js → p-1491f43a.entry.js} +1 -1
  523. package/www/build/{p-04e00f30.entry.js → p-16250027.entry.js} +1 -1
  524. package/{dist/urnovl-web-components/p-2462786c.entry.js → www/build/p-178828b9.entry.js} +1 -1
  525. package/{dist/urnovl-web-components/p-981382ab.entry.js → www/build/p-1afbea38.entry.js} +1 -1
  526. package/www/build/{p-4aa0540c.entry.js → p-1f152f8a.entry.js} +1 -1
  527. package/www/build/{p-f4681bcd.entry.js → p-1f60a6be.entry.js} +1 -1
  528. package/www/build/{p-a712a3df.entry.js → p-240289e9.entry.js} +1 -1
  529. package/www/build/{p-624543fe.entry.js → p-2444c265.entry.js} +1 -1
  530. package/{dist/urnovl-web-components/p-baef18c0.entry.js → www/build/p-2472848c.entry.js} +1 -1
  531. package/{dist/urnovl-web-components/p-56a033f3.entry.js → www/build/p-257815b1.entry.js} +1 -1
  532. package/www/build/{p-be46aea1.entry.js → p-283a26c0.entry.js} +1 -1
  533. package/www/build/p-30980b12.entry.js +1 -0
  534. package/{dist/urnovl-web-components/p-d8a58171.entry.js → www/build/p-30ef8fce.entry.js} +1 -1
  535. package/www/build/{p-abc5b014.entry.js → p-343ad683.entry.js} +1 -1
  536. package/{dist/urnovl-web-components/p-76fd07ad.entry.js → www/build/p-343d4de6.entry.js} +1 -1
  537. package/{dist/urnovl-web-components/p-4bd2dfab.entry.js → www/build/p-346853b2.entry.js} +1 -1
  538. package/www/build/{p-c39f0b47.entry.js → p-35d81850.entry.js} +1 -1
  539. package/www/build/{p-1c69e7f0.entry.js → p-37c2f592.entry.js} +1 -1
  540. package/{dist/urnovl-web-components/p-d8e1e17f.entry.js → www/build/p-38c450cb.entry.js} +1 -1
  541. package/www/build/p-3a956b23.entry.js +1 -0
  542. package/www/build/{p-da9fd305.entry.js → p-3d11160e.entry.js} +1 -1
  543. package/www/build/p-403f60d4.entry.js +1 -0
  544. package/{dist/urnovl-web-components/p-b086c8e2.entry.js → www/build/p-4118c49f.entry.js} +1 -1
  545. package/www/build/{p-88bac6fe.entry.js → p-4420499c.entry.js} +1 -1
  546. package/www/build/p-44c8ac2e.entry.js +1 -0
  547. package/www/build/{p-f0b2862a.entry.js → p-45126fa8.entry.js} +1 -1
  548. package/{dist/urnovl-web-components/p-f82dd515.entry.js → www/build/p-4bd4960f.entry.js} +1 -1
  549. package/www/build/{p-4d1821af.entry.js → p-5c8253d7.entry.js} +1 -1
  550. package/www/build/{p-5c9578ac.entry.js → p-5f0ca3b4.entry.js} +1 -1
  551. package/www/build/p-60481eb4.entry.js +1 -0
  552. package/{dist/urnovl-web-components/p-7e1ac458.entry.js → www/build/p-6ff378f1.entry.js} +1 -1
  553. package/www/build/{p-6ba85c1c.entry.js → p-71de6e85.entry.js} +1 -1
  554. package/www/build/{p-f1b1525f.entry.js → p-72d505c7.entry.js} +1 -1
  555. package/www/build/{p-ee1599b6.entry.js → p-72f4fb72.entry.js} +1 -1
  556. package/{dist/urnovl-web-components/p-c80dfc35.entry.js → www/build/p-74534238.entry.js} +1 -1
  557. package/www/build/{p-8076962b.entry.js → p-75483926.entry.js} +1 -1
  558. package/www/build/{p-3586bdaf.entry.js → p-7f8a77e0.entry.js} +1 -1
  559. package/www/build/p-852ff3f7.entry.js +1 -0
  560. package/{dist/urnovl-web-components/p-5566b17c.entry.js → www/build/p-88e526fb.entry.js} +1 -1
  561. package/www/build/{p-68391a31.entry.js → p-89ac2a2c.entry.js} +1 -1
  562. package/www/build/{p-593c5f5d.entry.js → p-8c7af8f6.entry.js} +1 -1
  563. package/www/build/p-8e3404f8.entry.js +1 -0
  564. package/www/build/p-910ae64b.entry.js +1 -0
  565. package/www/build/{p-0cf7981e.entry.js → p-96018122.entry.js} +1 -1
  566. package/www/build/{p-CWeg8sEj.js → p-BnHMCPA5.js} +1 -1
  567. package/www/build/p-FXZebMHX.js +1 -0
  568. package/www/build/p-YvOYo-vb.js +1 -0
  569. package/{dist/urnovl-web-components/p-6d29e790.entry.js → www/build/p-a02a44c5.entry.js} +1 -1
  570. package/www/build/{p-1e41d132.entry.js → p-a07f78d9.entry.js} +1 -1
  571. package/www/build/p-aa9b5fb1.entry.js +1 -0
  572. package/www/build/p-ac784ceb.entry.js +1 -1
  573. package/www/build/{p-bf80387d.entry.js → p-b1da8f4f.entry.js} +1 -1
  574. package/www/build/p-b629cb93.entry.js +1 -0
  575. package/www/build/{p-67316cbc.entry.js → p-b6778ee0.entry.js} +1 -1
  576. package/www/build/{p-700b9b7e.entry.js → p-bb369731.entry.js} +1 -1
  577. package/www/build/p-bbf6cece.entry.js +1 -0
  578. package/www/build/{p-bb83fdf6.entry.js → p-bbf6f750.entry.js} +1 -1
  579. package/www/build/{p-8f055e80.entry.js → p-c057f347.entry.js} +1 -1
  580. package/{dist/urnovl-web-components/p-bb145920.entry.js → www/build/p-c33254fb.entry.js} +1 -1
  581. package/www/build/{p-28a77b70.entry.js → p-c7666b66.entry.js} +1 -1
  582. package/{dist/urnovl-web-components/p-c21abd37.entry.js → www/build/p-c7983e8a.entry.js} +1 -1
  583. package/{dist/urnovl-web-components/p-82997757.entry.js → www/build/p-c873abca.entry.js} +1 -1
  584. package/{dist/urnovl-web-components/p-86f826f4.entry.js → www/build/p-c8818032.entry.js} +1 -1
  585. package/{dist/urnovl-web-components/p-c14f3e7b.entry.js → www/build/p-c8f68cfe.entry.js} +1 -1
  586. package/www/build/p-caaac073.entry.js +1 -0
  587. package/www/build/p-cb516edc.entry.js +1 -0
  588. package/www/build/p-cb79d059.entry.js +1 -1
  589. package/www/build/{p-9e19f4e8.entry.js → p-cd1dcff4.entry.js} +1 -1
  590. package/www/build/p-ce268bc2.entry.js +1 -0
  591. package/www/build/p-cf90d565.entry.js +1 -0
  592. package/{dist/urnovl-web-components/p-f044459d.entry.js → www/build/p-d210bed2.entry.js} +1 -1
  593. package/www/build/{p-b50e8cad.entry.js → p-d348963a.entry.js} +1 -1
  594. package/www/build/{p-e659d21c.entry.js → p-d4da4e68.entry.js} +1 -1
  595. package/www/build/p-d6e78266.entry.js +1 -0
  596. package/{dist/urnovl-web-components/p-693b5b1e.entry.js → www/build/p-db9079e2.entry.js} +1 -1
  597. package/www/build/{p-7f399549.entry.js → p-dfa6c13e.entry.js} +1 -1
  598. package/www/build/{p-cfedfdac.entry.js → p-e2518029.entry.js} +1 -1
  599. package/{dist/urnovl-web-components/p-7d403b3e.entry.js → www/build/p-e3982059.entry.js} +1 -1
  600. package/{dist/urnovl-web-components/p-d02abe61.entry.js → www/build/p-e3b98dfd.entry.js} +1 -1
  601. package/www/build/{p-0588ba08.entry.js → p-e659c8bb.entry.js} +1 -1
  602. package/www/build/p-ec006f46.entry.js +1 -1
  603. package/www/build/{p-dbde8c6e.entry.js → p-ed59b299.entry.js} +1 -1
  604. package/www/build/{p-d11cd455.entry.js → p-f16c01bf.entry.js} +1 -1
  605. package/www/build/{p-73fca060.entry.js → p-fb6cbf1d.entry.js} +1 -1
  606. package/www/build/p-pLhWehn7.js +1 -0
  607. package/www/build/urnovl-web-components.esm.js +1 -1
  608. package/dist/urnovl-web-components/p-2d6036d2.entry.js +0 -1
  609. package/dist/urnovl-web-components/p-49a4a16e.entry.js +0 -1
  610. package/dist/urnovl-web-components/p-5f8d9c20.entry.js +0 -1
  611. package/dist/urnovl-web-components/p-6f5e2c16.entry.js +0 -1
  612. package/dist/urnovl-web-components/p-95669140.entry.js +0 -1
  613. package/dist/urnovl-web-components/p-DieZm0eP.js +0 -1
  614. package/dist/urnovl-web-components/p-a66d6eed.entry.js +0 -1
  615. package/dist/urnovl-web-components/p-c35bfee6.entry.js +0 -1
  616. package/dist/urnovl-web-components/p-de47e53f.entry.js +0 -1
  617. package/dist/urnovl-web-components/p-e5fbc770.entry.js +0 -1
  618. package/dist/urnovl-web-components/p-f1b64b86.entry.js +0 -1
  619. package/dist/urnovl-web-components/p-fc668d06.entry.js +0 -1
  620. package/www/build/p-2d6036d2.entry.js +0 -1
  621. package/www/build/p-49a4a16e.entry.js +0 -1
  622. package/www/build/p-5f8d9c20.entry.js +0 -1
  623. package/www/build/p-6f5e2c16.entry.js +0 -1
  624. package/www/build/p-95669140.entry.js +0 -1
  625. package/www/build/p-9e272440.js +0 -1
  626. package/www/build/p-DieZm0eP.js +0 -1
  627. package/www/build/p-a66d6eed.entry.js +0 -1
  628. package/www/build/p-c35bfee6.entry.js +0 -1
  629. package/www/build/p-de47e53f.entry.js +0 -1
  630. package/www/build/p-e5fbc770.entry.js +0 -1
  631. package/www/build/p-f1b64b86.entry.js +0 -1
  632. package/www/build/p-fc668d06.entry.js +0 -1
@@ -0,0 +1,388 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DlgBfuIH.js');
4
+ require('./index-DqsOXF7F.js');
5
+ require('./tab-BVwUIXQ4.js');
6
+ require('./ur-text-field.cjs.entry.js');
7
+ require('./ur-checkbox.cjs.entry.js');
8
+ require('./ur-radio-button.cjs.entry.js');
9
+ require('./ur-button.cjs.entry.js');
10
+ require('./ur-button-icon.cjs.entry.js');
11
+ require('./component-style-BC5DdXyd.js');
12
+ require('./directive-CxKj9eM_.js');
13
+ require('./extend-DbPiqimt.js');
14
+ require('./get-DihLFVsH.js');
15
+ require('./has-slot-CDodaVHS.js');
16
+ require('./state-BClMM5R0.js');
17
+ require('./query-assigned-elements-BJgmzm6i.js');
18
+ require('./class-map-Epaosh8c.js');
19
+ require('./ref-Dnp-_rKJ.js');
20
+ require('./children-B1QguDFM.js');
21
+ require('./attr-D_LyPdSc.js');
22
+ require('./watch-MAiBzcfm.js');
23
+ require('./observeResize-CIGibYBb.js');
24
+ require('./uniqueId-CMEDvi2z.js');
25
+ require('./when-CKWo9geR.js');
26
+ require('./template-X5q71k2a.js');
27
+ require('./ripple-mixin-CsKjDjw-.js');
28
+ require('./appendTo-DN8OV-GK.js');
29
+ require('./index-D9tgr8W-.js');
30
+ require('./if-defined-CSIrgCHw.js');
31
+ require('./live-_ZxdDKuu.js');
32
+ require('./localize-BBHKPixn.js');
33
+ require('./form-DQ4661h-.js');
34
+ require('./default-value-DCmiPaS8.js');
35
+ require('./svg-tag-BC3DRit2.js');
36
+ require('./index-DIMJXlQp.js');
37
+ require('./button-base-l-itW3Wo.js');
38
+ require('./anchor-B2WOhfFL.js');
39
+ require('./index-CealG8gc.js');
40
+ require('./index-C90fgX4g.js');
41
+ require('./radio-DWksGWLi.js');
42
+ require('./index-DjZZ27FG.js');
43
+
44
+ const urPostEditorCss = ":host{display:block}:host .editor-container{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:550px}:host .tabs-wrapper{margin-bottom:0.5rem}:host .tabs-wrapper mdui-tab{font-size:14px}:host .tabs-wrapper.edit-mode mdui-tab:not([active]){display:none}:host .tabs-wrapper.edit-mode mdui-tab[active]{pointer-events:none}:host .tab-content{display:flex;flex-direction:column;gap:1.5rem}: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 .media-upload-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.75rem;padding:2.5rem 1rem;border:2px dashed rgba(var(--mdui-color-outline), 0.5);border-radius:12px;cursor:pointer;transition:all 0.2s ease;background:rgba(var(--mdui-color-surface-variant), 0.2)}:host .media-upload-area:hover{border-color:rgb(var(--mdui-color-primary));background:rgba(var(--mdui-color-primary), 0.05)}:host .media-upload-area mdui-icon{font-size:48px;color:rgb(var(--mdui-color-on-surface-variant));opacity:0.6}:host .media-upload-text{font-size:14px;font-weight:500;color:rgb(var(--mdui-color-on-surface))}:host .media-upload-hint{font-size:12px;color:rgb(var(--mdui-color-on-surface-variant))}:host .media-preview-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:0.5rem}:host .media-preview-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:rgba(var(--mdui-color-surface-variant), 0.3)}:host .media-preview-item img{width:100%;height:100%;object-fit:cover}:host .media-preview-video{position:relative;width:100%;height:100%}:host .media-preview-video img{width:100%;height:100%;object-fit:cover}:host .media-preview-video .video-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;text-shadow:0 2px 4px rgba(0, 0, 0, 0.3)}:host .media-preview-video .video-indicator mdui-icon{font-size:40px}:host .media-remove-btn{position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:50%;background:rgba(0, 0, 0, 0.6);color:white;cursor:pointer;transition:background-color 0.2s}:host .media-remove-btn:hover{background:rgba(var(--mdui-color-error), 0.9)}:host .media-remove-btn mdui-icon{font-size:18px}:host .poll-options{display:flex;flex-direction:column;gap:0.5rem}:host .poll-options-list{display:flex;flex-direction:column;gap:0.75rem}:host .poll-option-row{display:flex;align-items:flex-start;gap:0.5rem}:host .poll-option-row ur-text-field{flex:1}:host .poll-option-row .remove-option-btn{margin-top:8px;flex-shrink:0}:host .add-option-btn{display:inline-flex;align-items:center;justify-content:flex-start;gap:0.25rem;padding:0.5rem 0;border:none;background:transparent;cursor:pointer;font-size:14px;font-weight:500;color:rgb(var(--mdui-color-primary));transition:opacity 0.2s}:host .add-option-btn:hover{opacity:0.8}:host .add-option-btn mdui-icon{font-size:20px}:host .checkbox-section{padding:0}: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 .audience-options{display:flex;flex-direction:column;gap:0.5rem}:host .audience-option{display:flex;align-items:center;gap:0.75rem;padding:0.75rem 1rem;background:rgba(var(--mdui-color-surface-variant), 0.3);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all 0.2s ease;text-align:left}:host .audience-option:hover{background:rgba(var(--mdui-color-surface-variant), 0.5)}:host .audience-option.selected{background:rgba(var(--mdui-color-primary), 0.1);border-color:rgb(var(--mdui-color-primary))}:host .audience-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:rgba(var(--mdui-color-on-surface), 0.08);color:rgb(var(--mdui-color-on-surface-variant));flex-shrink:0;transition:all 0.2s ease}:host .audience-option.selected .audience-icon{background:rgb(var(--mdui-color-primary));color:rgb(var(--mdui-color-on-primary))}:host .audience-icon mdui-icon{font-size:18px}:host .audience-text{display:flex;flex-direction:column;gap:0.125rem;flex:1}:host .audience-label{font-size:14px;font-weight:500;line-height:20px;color:rgb(var(--mdui-color-on-surface))}:host .audience-hint{font-size:12px;line-height:16px;color:rgb(var(--mdui-color-on-surface-variant))}:host .tier-selector{margin-top:-0.5rem;padding-left:1rem;border-left:3px solid rgba(var(--mdui-color-primary), 0.3)}:host .tier-mode-options{display:flex;flex-direction:column;gap:0.25rem}:host .tier-mode-content{display:flex;flex-direction:column;gap:0.125rem}:host .tier-mode-label{font-size:14px;font-weight:500;line-height:20px;color:rgb(var(--mdui-color-on-surface))}:host .tier-mode-hint{font-size:12px;line-height:16px;color:rgb(var(--mdui-color-on-surface-variant))}:host .tier-list{display:flex;flex-direction:column;gap:0.25rem;margin-top:0.5rem;padding-left:0.25rem}:host .tier-item-content{display:flex;align-items:center;justify-content:space-between;flex:1;gap:0.5rem}:host .tier-name{font-size:13px;font-weight:500;color:rgb(var(--mdui-color-on-surface))}:host .tier-price{font-size:12px;font-weight:500;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}@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-tabs{height:48px;width:100%;border-radius:8px}:host .skeleton-field{height:56px;width:100%;border-radius:8px}:host .skeleton-field.tall{height:120px}:host .skeleton-button{height:40px;width:100px;border-radius:20px}";
45
+
46
+ const UrPostEditor = class {
47
+ constructor(hostRef) {
48
+ index.registerInstance(this, hostRef);
49
+ this.postSaved = index.createEvent(this, "postSaved");
50
+ this.postCancelled = index.createEvent(this, "postCancelled");
51
+ this.mediaUploadClicked = index.createEvent(this, "mediaUploadClicked");
52
+ this.mediaRemoveClicked = index.createEvent(this, "mediaRemoveClicked");
53
+ /**
54
+ * The post data to edit (null for create mode)
55
+ */
56
+ this.post = null;
57
+ /**
58
+ * Mode: 'create' or 'edit'
59
+ */
60
+ this.mode = 'create';
61
+ /**
62
+ * Show skeleton loading state
63
+ */
64
+ this.skeleton = false;
65
+ /**
66
+ * Loading state for save button
67
+ */
68
+ this.saving = false;
69
+ /**
70
+ * Whether the owner has subscription tiers (to show subscribers option)
71
+ */
72
+ this.hasSubscribers = false;
73
+ /**
74
+ * Available subscription tiers for the owner
75
+ */
76
+ this.tiers = [];
77
+ /**
78
+ * Uploaded media items (for media posts)
79
+ */
80
+ this.media = [];
81
+ /**
82
+ * Maximum number of media items allowed
83
+ */
84
+ this.maxMedia = 4;
85
+ // Tab text props for i18n
86
+ this.textTabText = 'Text';
87
+ this.mediaTabText = 'Images & Video';
88
+ this.linkTabText = 'Link';
89
+ this.pollTabText = 'Poll';
90
+ // Text props for i18n
91
+ this.titleLabelText = 'Title';
92
+ this.titlePlaceholderText = "What's on your mind?";
93
+ this.bodyLabelText = 'Body (optional)';
94
+ this.bodyPlaceholderText = 'Share more details...';
95
+ this.linkUrlLabelText = 'Link URL';
96
+ this.linkUrlPlaceholderText = 'https://...';
97
+ this.mediaUploadText = 'Drag and drop or click to upload';
98
+ this.mediaHintText = 'Images up to 4MB';
99
+ this.spoilerLabelText = 'Spoiler';
100
+ this.spoilerHintText = 'May ruin a surprise';
101
+ this.audienceLabelText = 'Who can see this?';
102
+ this.publicText = 'Public';
103
+ this.publicHintText = 'Anyone can see';
104
+ this.followersText = 'Followers';
105
+ this.followersHintText = 'Only your followers';
106
+ this.subscribersText = 'Subscribers';
107
+ this.subscribersHintText = 'Only your paying subscribers';
108
+ this.privateText = 'Private';
109
+ this.privateHintText = 'Only you can see';
110
+ // Tier selector text props
111
+ this.selectTiersText = 'Select tiers';
112
+ this.allTiersText = 'All tiers';
113
+ this.allTiersHintText = 'All paying subscribers can see';
114
+ this.specificTiersText = 'Specific tiers';
115
+ this.specificTiersHintText = 'Only selected tiers can see';
116
+ this.postBtnText = 'Post';
117
+ this.saveBtnText = 'Post';
118
+ this.savingBtnText = 'Posting...';
119
+ this.cancelBtnText = 'Cancel';
120
+ // Poll text props
121
+ this.pollOptionsLabelText = 'Poll options';
122
+ this.pollOptionPlaceholderText = 'Option';
123
+ this.addOptionText = 'Add another option';
124
+ this.maxPollOptions = 6;
125
+ /**
126
+ * Default tab to open when creating a post
127
+ */
128
+ this.defaultTab = 'text';
129
+ // Internal state
130
+ this.activeTab = 'text';
131
+ this.title = '';
132
+ this.body = '';
133
+ this.linkUrl = '';
134
+ this.pollOptions = ['', ''];
135
+ this.isSpoiler = false;
136
+ this.audience = 'public';
137
+ this.tierSelectionMode = 'all';
138
+ this.selectedTierIds = [];
139
+ this.handleTabChange = (e) => {
140
+ var _a;
141
+ // Block tab switching in edit mode
142
+ if (this.mode === 'edit') {
143
+ e.preventDefault();
144
+ e.stopPropagation();
145
+ return;
146
+ }
147
+ const newTab = (_a = e.target) === null || _a === void 0 ? void 0 : _a.value;
148
+ if (newTab) {
149
+ this.activeTab = newTab;
150
+ }
151
+ };
152
+ this.handleTitleChange = (e) => {
153
+ this.title = e.detail.value;
154
+ };
155
+ this.handleBodyChange = (e) => {
156
+ this.body = e.detail.value;
157
+ };
158
+ this.handleLinkUrlChange = (e) => {
159
+ this.linkUrl = e.detail.value;
160
+ };
161
+ this.handleSpoilerChange = (e) => {
162
+ this.isSpoiler = e.detail.checked;
163
+ };
164
+ this.handleAudienceChange = (audience) => {
165
+ this.audience = audience;
166
+ // Reset tier selection when switching away from subscribers
167
+ if (audience !== 'subscribers') {
168
+ this.tierSelectionMode = 'all';
169
+ this.selectedTierIds = [];
170
+ }
171
+ };
172
+ this.handleTierSelectionModeChange = (mode) => {
173
+ this.tierSelectionMode = mode;
174
+ if (mode === 'all') {
175
+ this.selectedTierIds = [];
176
+ }
177
+ };
178
+ this.handlePollOptionChange = (index, e) => {
179
+ const newOptions = [...this.pollOptions];
180
+ newOptions[index] = e.detail.value;
181
+ this.pollOptions = newOptions;
182
+ };
183
+ this.handleRemovePollOption = (index) => {
184
+ if (this.pollOptions.length > 2) {
185
+ this.pollOptions = this.pollOptions.filter((_, i) => i !== index);
186
+ }
187
+ };
188
+ this.handleAddPollOption = () => {
189
+ if (this.pollOptions.length < this.maxPollOptions) {
190
+ this.pollOptions = [...this.pollOptions, ''];
191
+ }
192
+ };
193
+ this.handleMediaUploadClick = () => {
194
+ this.mediaUploadClicked.emit();
195
+ };
196
+ this.handleMediaRemove = (index) => {
197
+ this.mediaRemoveClicked.emit({ index, media: this.media[index] });
198
+ };
199
+ this.handleSave = () => {
200
+ var _a;
201
+ if (!this.isValid())
202
+ return;
203
+ const postData = {
204
+ _id: (_a = this.post) === null || _a === void 0 ? void 0 : _a._id,
205
+ type: this.activeTab,
206
+ title: this.title.trim(),
207
+ body: (this.activeTab === 'text' || this.activeTab === 'link' || this.activeTab === 'media')
208
+ ? (this.body.trim() || undefined)
209
+ : undefined,
210
+ linkUrl: this.activeTab === 'link' ? (this.linkUrl.trim() || undefined) : undefined,
211
+ pollOptions: this.activeTab === 'poll'
212
+ ? this.pollOptions.filter(o => o.trim()).map(text => ({ text: text.trim() }))
213
+ : undefined,
214
+ media: (this.activeTab === 'media' && this.media && this.media.length > 0)
215
+ ? this.media
216
+ : undefined,
217
+ isSpoiler: this.isSpoiler,
218
+ audience: this.audience,
219
+ // Only include audienceTiers for subscribers audience with specific tiers selected
220
+ audienceTiers: (this.audience === 'subscribers' && this.tierSelectionMode === 'specific' && this.selectedTierIds.length > 0)
221
+ ? this.selectedTierIds
222
+ : undefined,
223
+ };
224
+ this.postSaved.emit(postData);
225
+ };
226
+ this.handleCancel = () => {
227
+ this.postCancelled.emit();
228
+ };
229
+ this.handleTierModeRadioChange = (e) => {
230
+ const mode = e.detail.value;
231
+ this.handleTierSelectionModeChange(mode);
232
+ };
233
+ this.handleTierCheckboxChange = (tierId, e) => {
234
+ const checked = e.detail.checked;
235
+ if (checked && !this.selectedTierIds.includes(tierId)) {
236
+ this.selectedTierIds = [...this.selectedTierIds, tierId];
237
+ }
238
+ else if (!checked && this.selectedTierIds.includes(tierId)) {
239
+ this.selectedTierIds = this.selectedTierIds.filter(id => id !== tierId);
240
+ }
241
+ };
242
+ }
243
+ postChanged(newPost) {
244
+ this.initializeFromPost(newPost);
245
+ }
246
+ defaultTabChanged(newTab) {
247
+ // Only update activeTab if we're in create mode and no post is set
248
+ if (!this.post && this.mode === 'create') {
249
+ this.activeTab = newTab;
250
+ }
251
+ }
252
+ componentWillLoad() {
253
+ this.initializeFromPost(this.post);
254
+ }
255
+ initializeFromPost(post) {
256
+ var _a;
257
+ if (post) {
258
+ this.activeTab = post.type || this.defaultTab;
259
+ this.title = post.title || '';
260
+ this.body = post.body || '';
261
+ this.linkUrl = post.linkUrl || '';
262
+ this.pollOptions = ((_a = post.pollOptions) === null || _a === void 0 ? void 0 : _a.map(o => o.text)) || ['', ''];
263
+ this.isSpoiler = post.isSpoiler || false;
264
+ this.audience = post.audience || 'public';
265
+ // Handle tier selection
266
+ if (post.audienceTiers && post.audienceTiers.length > 0) {
267
+ this.tierSelectionMode = 'specific';
268
+ this.selectedTierIds = [...post.audienceTiers];
269
+ }
270
+ else {
271
+ this.tierSelectionMode = 'all';
272
+ this.selectedTierIds = [];
273
+ }
274
+ }
275
+ else {
276
+ // Default values for create mode
277
+ this.activeTab = this.defaultTab;
278
+ this.title = '';
279
+ this.body = '';
280
+ this.linkUrl = '';
281
+ this.pollOptions = ['', ''];
282
+ this.isSpoiler = false;
283
+ this.audience = 'public';
284
+ this.tierSelectionMode = 'all';
285
+ this.selectedTierIds = [];
286
+ }
287
+ }
288
+ isValid() {
289
+ if (!this.title.trim())
290
+ return false;
291
+ switch (this.activeTab) {
292
+ case 'text':
293
+ return true;
294
+ case 'media':
295
+ // For now, just require title (media upload is handled externally)
296
+ return true;
297
+ case 'link':
298
+ // Require a valid URL
299
+ return this.linkUrl.trim().length > 0;
300
+ case 'poll':
301
+ // Need at least 2 non-empty options
302
+ const validOptions = this.pollOptions.filter(o => o.trim());
303
+ return validOptions.length >= 2;
304
+ default:
305
+ return false;
306
+ }
307
+ }
308
+ renderSkeleton() {
309
+ return (index.h(index.Host, null, index.h("div", { class: "editor-container" }, index.h("div", { class: "skeleton-tabs loading" }), index.h("div", { class: "form-section" }, index.h("div", { class: "skeleton-field loading" }), index.h("div", { class: "skeleton-field tall loading" })), index.h("div", { class: "form-actions" }, index.h("div", { class: "skeleton-button loading" }), index.h("div", { class: "skeleton-button loading" })))));
310
+ }
311
+ renderPollOptions() {
312
+ const isEditMode = this.mode === 'edit';
313
+ const canAddMore = !isEditMode && this.pollOptions.length < this.maxPollOptions;
314
+ const canRemove = !isEditMode && this.pollOptions.length > 2;
315
+ return (index.h("div", { class: "poll-options" }, index.h("label", { class: "section-label" }, this.pollOptionsLabelText), index.h("div", { class: "poll-options-list" }, this.pollOptions.map((option, index$1) => (index.h("div", { class: "poll-option-row", key: index$1 }, index.h("ur-text-field", { label: `${this.pollOptionPlaceholderText} ${index$1 + 1}`, value: option, name: `pollOption${index$1}`, maxlength: 65, counter: !isEditMode, disabled: isEditMode, onValueChanged: (e) => this.handlePollOptionChange(index$1, e) }), canRemove && (index.h("ur-button-icon", { icon: "close", class: "remove-option-btn", onClick: () => this.handleRemovePollOption(index$1) }))))), canAddMore && (index.h("button", { type: "button", class: "add-option-btn", onClick: this.handleAddPollOption }, index.h("mdui-icon", { name: "add" }), this.addOptionText)))));
316
+ }
317
+ renderTextContent() {
318
+ return (index.h("div", { class: "form-section" }, index.h("ur-text-field", { label: this.bodyLabelText, placeholder: this.bodyPlaceholderText, value: this.body, name: "body", maxlength: 5000, counter: true, rows: 4, autosize: true, minRows: 3, onValueChanged: this.handleBodyChange })));
319
+ }
320
+ renderMediaContent() {
321
+ const hasMedia = this.media && this.media.length > 0;
322
+ const canAddMore = !this.media || this.media.length < this.maxMedia;
323
+ return [
324
+ // Uploaded media grid
325
+ hasMedia && (index.h("div", { class: "form-section" }, index.h("div", { class: "media-preview-grid" }, this.media.map((item, index$1) => (index.h("div", { class: "media-preview-item", key: index$1 }, item.type === 'video' ? (index.h("div", { class: "media-preview-video" }, index.h("img", { src: item.thumbnailUrl || item.url, alt: "" }), index.h("div", { class: "video-indicator" }, index.h("mdui-icon", { name: "play_circle" })))) : (index.h("img", { src: item.url, alt: "" })), index.h("button", { type: "button", class: "media-remove-btn", onClick: () => this.handleMediaRemove(index$1), "aria-label": "Remove" }, index.h("mdui-icon", { name: "close" })))))))),
326
+ // Media upload area (only if can add more)
327
+ canAddMore && (index.h("div", { class: "form-section" }, index.h("div", { class: "media-upload-area", onClick: this.handleMediaUploadClick }, index.h("mdui-icon", { name: "cloud_upload" }), index.h("span", { class: "media-upload-text" }, this.mediaUploadText), index.h("span", { class: "media-upload-hint" }, this.mediaHintText)))),
328
+ // Body (optional description)
329
+ index.h("div", { class: "form-section" }, index.h("ur-text-field", { label: this.bodyLabelText, placeholder: this.bodyPlaceholderText, value: this.body, name: "body", maxlength: 5000, counter: true, rows: 3, autosize: true, minRows: 2, onValueChanged: this.handleBodyChange }))
330
+ ];
331
+ }
332
+ renderLinkContent() {
333
+ return [
334
+ // Link URL input
335
+ index.h("div", { class: "form-section" }, index.h("ur-text-field", { label: this.linkUrlLabelText, placeholder: this.linkUrlPlaceholderText, value: this.linkUrl, name: "linkUrl", type: "url", required: true, onValueChanged: this.handleLinkUrlChange })),
336
+ // Body (optional description)
337
+ index.h("div", { class: "form-section" }, index.h("ur-text-field", { label: this.bodyLabelText, placeholder: this.bodyPlaceholderText, value: this.body, name: "body", maxlength: 5000, counter: true, rows: 3, autosize: true, minRows: 2, onValueChanged: this.handleBodyChange }))
338
+ ];
339
+ }
340
+ renderPollContent() {
341
+ return (index.h("div", { class: "form-section" }, this.renderPollOptions()));
342
+ }
343
+ renderTabContent() {
344
+ switch (this.activeTab) {
345
+ case 'text':
346
+ return this.renderTextContent();
347
+ case 'media':
348
+ return this.renderMediaContent();
349
+ case 'link':
350
+ return this.renderLinkContent();
351
+ case 'poll':
352
+ return this.renderPollContent();
353
+ default:
354
+ return null;
355
+ }
356
+ }
357
+ formatTierPrice(tier) {
358
+ var _a;
359
+ const price = (tier.pricePerMonth / 100).toFixed(2);
360
+ const currency = ((_a = tier.currency) === null || _a === void 0 ? void 0 : _a.toUpperCase()) || 'EUR';
361
+ const symbol = currency === 'EUR' ? '€' : currency === 'USD' ? '$' : currency;
362
+ return `${symbol}${price}/mo`;
363
+ }
364
+ renderTierSelector() {
365
+ if (this.audience !== 'subscribers' || !this.tiers || this.tiers.length === 0) {
366
+ return null;
367
+ }
368
+ return (index.h("div", { class: "form-section tier-selector" }, index.h("label", { class: "section-label" }, this.selectTiersText), index.h("div", { class: "tier-mode-options" }, index.h("ur-radio-button", { name: "tierMode", value: "all", checked: this.tierSelectionMode === 'all', onValueSelected: this.handleTierModeRadioChange, fullWidth: true }, index.h("div", { class: "tier-mode-content" }, index.h("span", { class: "tier-mode-label" }, this.allTiersText), index.h("span", { class: "tier-mode-hint" }, this.allTiersHintText))), index.h("ur-radio-button", { name: "tierMode", value: "specific", checked: this.tierSelectionMode === 'specific', onValueSelected: this.handleTierModeRadioChange, fullWidth: true }, index.h("div", { class: "tier-mode-content" }, index.h("span", { class: "tier-mode-label" }, this.specificTiersText), index.h("span", { class: "tier-mode-hint" }, this.specificTiersHintText)))), this.tierSelectionMode === 'specific' && (index.h("div", { class: "tier-list" }, this.tiers.map(tier => (index.h("ur-checkbox", { key: tier._id, value: tier._id, checked: this.selectedTierIds.includes(tier._id), onValueChanged: (e) => this.handleTierCheckboxChange(tier._id, e), fullWidth: true }, index.h("div", { class: "tier-item-content" }, index.h("span", { class: "tier-name" }, tier.name), index.h("span", { class: "tier-price" }, this.formatTierPrice(tier))))))))));
369
+ }
370
+ renderAudienceSelector() {
371
+ return (index.h("div", { class: "form-section" }, index.h("label", { class: "section-label" }, this.audienceLabelText), index.h("div", { class: "audience-options" }, index.h("button", { type: "button", class: `audience-option ${this.audience === 'public' ? 'selected' : ''}`, onClick: () => this.handleAudienceChange('public') }, index.h("span", { class: "audience-icon" }, index.h("mdui-icon", { name: "public" })), index.h("span", { class: "audience-text" }, index.h("span", { class: "audience-label" }, this.publicText), index.h("span", { class: "audience-hint" }, this.publicHintText))), index.h("button", { type: "button", class: `audience-option ${this.audience === 'private' ? 'selected' : ''}`, onClick: () => this.handleAudienceChange('private') }, index.h("span", { class: "audience-icon" }, index.h("mdui-icon", { name: "lock" })), index.h("span", { class: "audience-text" }, index.h("span", { class: "audience-label" }, this.privateText), index.h("span", { class: "audience-hint" }, this.privateHintText))), index.h("button", { type: "button", class: `audience-option ${this.audience === 'followers' ? 'selected' : ''}`, onClick: () => this.handleAudienceChange('followers') }, index.h("span", { class: "audience-icon" }, index.h("mdui-icon", { name: "group" })), index.h("span", { class: "audience-text" }, index.h("span", { class: "audience-label" }, this.followersText), index.h("span", { class: "audience-hint" }, this.followersHintText))), this.hasSubscribers && (index.h("button", { type: "button", class: `audience-option ${this.audience === 'subscribers' ? 'selected' : ''}`, onClick: () => this.handleAudienceChange('subscribers') }, index.h("span", { class: "audience-icon" }, index.h("mdui-icon", { name: "loyalty" })), index.h("span", { class: "audience-text" }, index.h("span", { class: "audience-label" }, this.subscribersText), index.h("span", { class: "audience-hint" }, this.subscribersHintText)))))));
372
+ }
373
+ render() {
374
+ if (this.skeleton) {
375
+ return this.renderSkeleton();
376
+ }
377
+ const isCreateMode = this.mode === 'create';
378
+ const submitBtnText = isCreateMode ? this.postBtnText : this.saveBtnText;
379
+ return (index.h(index.Host, null, index.h("div", { class: "editor-container" }, index.h("div", { class: { 'tabs-wrapper': true, 'edit-mode': !isCreateMode } }, index.h("mdui-tabs", { value: this.activeTab, variant: "primary", onChange: this.handleTabChange }, index.h("mdui-tab", { value: "text" }, index.h("mdui-icon", { slot: "icon", name: "edit_note" }), this.textTabText), index.h("mdui-tab", { value: "media" }, index.h("mdui-icon", { slot: "icon", name: "image" }), this.mediaTabText), index.h("mdui-tab", { value: "link" }, index.h("mdui-icon", { slot: "icon", name: "link" }), this.linkTabText), index.h("mdui-tab", { value: "poll" }, index.h("mdui-icon", { slot: "icon", name: "poll" }), this.pollTabText))), index.h("div", { class: "form-section" }, index.h("ur-text-field", { label: this.titleLabelText, placeholder: this.titlePlaceholderText, value: this.title, name: "title", maxlength: 200, counter: true, required: true, onValueChanged: this.handleTitleChange })), index.h("div", { class: "tab-content" }, this.renderTabContent()), index.h("div", { class: "form-section checkbox-section" }, index.h("ur-checkbox", { checked: this.isSpoiler, onValueChanged: this.handleSpoilerChange }, index.h("div", { class: "checkbox-content" }, index.h("span", { class: "checkbox-label" }, this.spoilerLabelText), index.h("span", { class: "checkbox-hint" }, this.spoilerHintText)))), this.renderAudienceSelector(), this.renderTierSelector(), index.h("div", { class: "form-actions" }, index.h("ur-button", { variant: "text", onClick: this.handleCancel, disabled: this.saving }, this.cancelBtnText), index.h("ur-button", { variant: "filled", onClick: this.handleSave, disabled: !this.isValid() || this.saving }, this.saving ? this.savingBtnText : submitBtnText)))));
380
+ }
381
+ static get watchers() { return {
382
+ "post": ["postChanged"],
383
+ "defaultTab": ["defaultTabChanged"]
384
+ }; }
385
+ };
386
+ UrPostEditor.style = urPostEditorCss;
387
+
388
+ exports.ur_post_editor = UrPostEditor;
@@ -0,0 +1,55 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DlgBfuIH.js');
4
+
5
+ const urPostPromptCss = ":host{display:block;width:100%;--ur-color-surface:var(--mdui-color-surface);--ur-color-surface-container:var(--mdui-color-surface-container);--ur-color-surface-container-high:var(--mdui-color-surface-container-high);--ur-color-on-surface-variant:var(--mdui-color-on-surface-variant);--ur-color-outline-variant:var(--mdui-color-outline-variant)}:host .post-prompt{display:flex;align-items:center;gap:12px;background:rgb(var(--ur-color-surface));border-radius:12px}:host .post-prompt.disabled{opacity:0.5;pointer-events:none}:host .input-area{flex:1;min-height:40px;padding:4px 16px;background:rgba(var(--mdui-color-surface-variant), 0.3);border-radius:25px;display:flex;align-items:center;cursor:pointer;transition:background-color 0.2s ease}:host .input-area:hover{background:rgba(var(--mdui-color-surface-variant), 0.5)}:host .placeholder{color:rgb(var(--ur-color-on-surface-variant));font-size:14px;user-select:none}:host .action-buttons{display:flex;gap:4px;flex-shrink:0;position:relative;top:2px}";
6
+
7
+ const UrPostPrompt = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.promptClick = index.createEvent(this, "promptClick");
11
+ // Placeholder text
12
+ this.placeholder = "What's on your mind?";
13
+ // Disabled state
14
+ this.disabled = false;
15
+ // Avatar variant (for pages vs users)
16
+ this.avatarVariant = 'user';
17
+ // Mobile layout
18
+ this.mobile = false;
19
+ // Padding
20
+ this.padding = '8px';
21
+ // Tooltip text props (i18n)
22
+ this.linkTooltip = 'Add link';
23
+ this.mediaTooltip = 'Add images';
24
+ this.pollTooltip = 'Create poll';
25
+ this.handleInputClick = () => {
26
+ if (this.disabled)
27
+ return;
28
+ this.promptClick.emit({ tab: 'text' });
29
+ };
30
+ this.handleLinkClick = (e) => {
31
+ e.stopPropagation();
32
+ if (this.disabled)
33
+ return;
34
+ this.promptClick.emit({ tab: 'link' });
35
+ };
36
+ this.handleMediaClick = (e) => {
37
+ e.stopPropagation();
38
+ if (this.disabled)
39
+ return;
40
+ this.promptClick.emit({ tab: 'media' });
41
+ };
42
+ this.handlePollClick = (e) => {
43
+ e.stopPropagation();
44
+ if (this.disabled)
45
+ return;
46
+ this.promptClick.emit({ tab: 'poll' });
47
+ };
48
+ }
49
+ render() {
50
+ return (index.h("div", { key: '3e296f57f4e4c44ad12152a2a3c47f346a6abade', class: { 'post-prompt': true, 'disabled': this.disabled, 'mobile': this.mobile }, style: { padding: this.padding } }, index.h("ur-avatar", { key: '1d92b2ceb74554433c6a13c4fb2fe3d97b975a43', src: this.userPicture, name: this.userName, size: "40px", variant: this.avatarVariant }), index.h("div", { key: '796a70ac57738707ce54ba99a8aeb6d7fc35c5fd', class: "input-area", onClick: this.handleInputClick }, index.h("span", { key: '29f3c5bf8eaa6e6987095dc3f48dc52d1a9fdcc9', class: "placeholder" }, this.placeholder)), index.h("div", { key: '44ae382d0f0576412d89921614b1b92d6f7e7f5f', class: "action-buttons" }, index.h("ur-tooltip", { key: '1aadd8a7768364684856c2c7cbb4c067de978fac', content: this.mediaTooltip, placement: "bottom", disabled: this.mobile }, index.h("ur-button-icon", { key: '6c6122084b6cd49d27d449379a32c8b809dd67af', icon: "image", variant: "standard", onClick: this.handleMediaClick, disabled: this.disabled })), !this.mobile && (index.h("ur-tooltip", { key: 'd5375424d9bf47e472833aed180b40470de1ba24', content: this.linkTooltip, placement: "bottom" }, index.h("ur-button-icon", { key: 'dfe7d92e784130daf66d2bfd75227330148f6059', icon: "link", variant: "standard", onClick: this.handleLinkClick, disabled: this.disabled }))), !this.mobile && (index.h("ur-tooltip", { key: 'b86d97786207a2cad2360a4a43688499c8d722d4', content: this.pollTooltip, placement: "bottom" }, index.h("ur-button-icon", { key: 'e611a21f1839d3b4d6f1e82f40799464b82dbd08', icon: "ballot", variant: "standard", onClick: this.handlePollClick, disabled: this.disabled }))))));
51
+ }
52
+ };
53
+ UrPostPrompt.style = urPostPromptCss;
54
+
55
+ exports.ur_post_prompt = UrPostPrompt;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DlgBfuIH.js');
4
- require('./ur-avatar-COaGB2q6.js');
4
+ require('./ur-avatar-BV3tq4vp.js');
5
5
  require('./ur-button.cjs.entry.js');
6
6
  require('./ur-button-icon.cjs.entry.js');
7
7
  require('./ur-tooltip-8JU9DWrs.js');
@@ -91,7 +91,7 @@ const UrProfileCard = class {
91
91
  const actualAvatarSize = this.big ? '150px' : this.avatarSize;
92
92
  const actualBorderRadius = this.big ? '12px' : (this.profileType === 'page' ? '12px' : '50%');
93
93
  const actualNameFontSize = this.big ? '18px' : this.nameFontSize;
94
- return (index.h(index.Host, { key: 'd7748b1bb65d9a1505a8da9aa41f9ed66a5dedfe' }, index.h("div", { key: '2a05397ad882121a0b767195f2d242098ebb1924', class: `profile-card ${this.big ? 'big' : ''}` }, index.h("div", { key: 'bc384dffa8bf268b68c325032d5fcf258c0b1b12', class: "profile-container" }, index.h("a", { key: '98c8819b27b37564e8daaefa3c2f79a24196bc49', href: this.profileHref, class: "avatar-link", onClick: (e) => { e.preventDefault(); this.handleProfileLink(); } }, index.h("ur-avatar", { key: '68c33dfa97fb0f20d310b4f70600410dd262f920', size: actualAvatarSize, class: "avatar", variant: this.profileType, radius: actualBorderRadius, src: this.avatarSrc, name: this.name, skeleton: this.skeleton })), index.h("span", { key: '1ae014b677a7cf0bd4d016534ad71a1e94135089', class: "profile-info" }, this.skeleton ? (index.h("span", { class: "name-skeleton loading", style: { width: '80px', height: actualNameFontSize } })) : (index.h("div", { class: "name-container" }, index.h("a", { href: this.profileHref, class: "name-link", onClick: (e) => { e.preventDefault(); this.handleProfileLink(); } }, index.h("span", { class: "name", style: { fontSize: actualNameFontSize } }, this.name), this.isPartner && index.h("ur-icon", { class: "partner-badge", name: "verified", size: "14px" })), this.metadata && (index.h("span", { class: "metadata" }, this.metadata)))), this.showDescription && (index.h("div", { key: '913810cd9f4185e17bf568384a879b9c93d7240e', class: "description-container" }, this.skeleton ? (index.h("span", { class: "description-skeleton loading", style: { width: '120px', height: '10px' } })) : this.big ? (index.h("ur-long-description", { description: this.description, showMoreText: this.showMoreText, showLessText: this.showLessText, markdown: this.markdown })) : (index.h("span", { class: "description-text" }, this.description)))))), index.h("div", { key: 'a9f733bc63204837d84bc75653746e9b915ec083', class: "actions-container" }, !this.isOwner && !this.hideFollowActions && (index.h("ur-button", { key: 'db8332b6235ad4c69734e07dc8bef628c400515f', buttonHeight: this.buttonHeight, class: "follow-button", onClick: this.isFollowing ? this.onUnfollow : this.onFollow, variant: this.isFollowing ? 'text' : 'outlined', skeleton: this.skeleton }, this.isFollowing ? this.unfollowButtonText : this.followButtonText)), this.profileType === 'user' && this.showMemberActions && !this.skeleton && (index.h("ur-tooltip", { key: '4413f3e9cb29dfa6f5ef6e73770683e964c79492', content: this.memberActionsTooltipText, placement: "bottom", trigger: "hover", colorScheme: "dark", "open-delay": "200", "close-delay": "100" }, index.h("ur-button-icon", { key: '8ba7fd113f43d6d70e1f30c1782c84463c1f4501', buttonHeight: this.buttonHeight, buttonWidth: this.buttonWidth, class: "member-actions-button", icon: "close", onClick: this.onRemoveMember }))), this.profileType === 'page' && this.showPageActions && !this.skeleton && (index.h("ur-tooltip", { key: 'a483284151933e9ceabd46a2363c38f267103bdf', content: this.pageActionsTooltipText, placement: "bottom", trigger: "hover", colorScheme: "dark", "open-delay": "200", "close-delay": "100" }, index.h("ur-button-icon", { key: '01f2401e1a01946036ad684c43338897e92906e5', buttonHeight: this.buttonHeight, buttonWidth: this.buttonWidth, class: "page-actions-button", icon: "close", onClick: this.onRemovePage })))))));
94
+ return (index.h(index.Host, { key: '2377b213dcc9cdeae0ad202c4bdb8a6040164be0' }, index.h("div", { key: '7a60adf5328b7fd2ad5f0e6e9c4cfef2954098e2', class: `profile-card ${this.big ? 'big' : ''}` }, index.h("div", { key: 'ed311462c30b9380c32425c7784eeff77f344438', class: "profile-container" }, index.h("a", { key: '1f64d2dea7e01faa6507e7bd4df3c0903f8a3719', href: this.profileHref, class: "avatar-link", onClick: (e) => { e.preventDefault(); this.handleProfileLink(); } }, index.h("ur-avatar", { key: '457ac5c718c63fdf80224941617fa6f14618c22e', size: actualAvatarSize, class: "avatar", variant: this.profileType, radius: actualBorderRadius, src: this.avatarSrc, name: this.name, skeleton: this.skeleton })), index.h("span", { key: 'f7af9fd8a3a9c37f9ab720a28690c4903bb46ed6', class: "profile-info" }, this.skeleton ? (index.h("span", { class: "name-skeleton loading", style: { width: '80px', height: actualNameFontSize } })) : (index.h("div", { class: "name-container" }, index.h("a", { href: this.profileHref, class: "name-link", onClick: (e) => { e.preventDefault(); this.handleProfileLink(); } }, index.h("span", { class: "name", style: { fontSize: actualNameFontSize } }, this.name), this.isPartner && index.h("ur-icon", { class: "partner-badge", name: "verified", size: "14px" })), this.metadata && (index.h("span", { class: "metadata" }, this.metadata)))), this.showDescription && (index.h("div", { key: 'e2e829ce64f05ed27a761f21272dea962571e73a', class: "description-container" }, this.skeleton ? (index.h("span", { class: "description-skeleton loading", style: { width: '120px', height: '10px' } })) : this.big ? (index.h("ur-long-description", { description: this.description, showMoreText: this.showMoreText, showLessText: this.showLessText, markdown: this.markdown })) : (index.h("span", { class: "description-text" }, this.description)))))), index.h("div", { key: 'f9cca6e2c4fcdaa71b7ce7427804f923d7bfa148', class: "actions-container" }, !this.isOwner && !this.hideFollowActions && (index.h("ur-button", { key: 'c26fef214c706736af2e3542a502b7fd986c134b', buttonHeight: this.buttonHeight, class: "follow-button", onClick: this.isFollowing ? this.onUnfollow : this.onFollow, variant: this.isFollowing ? 'text' : 'outlined', skeleton: this.skeleton }, this.isFollowing ? this.unfollowButtonText : this.followButtonText)), this.profileType === 'user' && this.showMemberActions && !this.skeleton && (index.h("ur-tooltip", { key: '76e15aec3816342291903b9fcb0a2ae7c2eb8170', content: this.memberActionsTooltipText, placement: "bottom", trigger: "hover", colorScheme: "dark", "open-delay": "200", "close-delay": "100" }, index.h("ur-button-icon", { key: '60eea5405fcfc3d80dfb1a7bb7b39bb1920cf69d', buttonHeight: this.buttonHeight, buttonWidth: this.buttonWidth, class: "member-actions-button", icon: "close", onClick: this.onRemoveMember }))), this.profileType === 'page' && this.showPageActions && !this.skeleton && (index.h("ur-tooltip", { key: '985d9bf5d01b23425b4722aada0a6834535275af', content: this.pageActionsTooltipText, placement: "bottom", trigger: "hover", colorScheme: "dark", "open-delay": "200", "close-delay": "100" }, index.h("ur-button-icon", { key: 'ba06ca8dd1434972e2ecd8dc197bd7092a2b6dee', buttonHeight: this.buttonHeight, buttonWidth: this.buttonWidth, class: "page-actions-button", icon: "close", onClick: this.onRemovePage })))))));
95
95
  }
96
96
  get el() { return index.getElement(this); }
97
97
  static get watchers() { return {
@@ -114,11 +114,11 @@ const UrProfile = class {
114
114
  this.member_since = 'May 25, 20215';
115
115
  }
116
116
  render() {
117
- return (index.h(index.Host, { key: 'd639f31e4910315b84656991dfd1b831531057a9' }, index.h("div", { key: '52b8dce89f07d859d41165f874f55b625bf6b1c9', class: "profile" }, index.h("div", { key: '2170c1c3257260137f12e1258c03c7c7d878a818', class: "name" }, this.name), this.description && index.h("div", { key: '512974b6af7485fbaf8cbfd0e0b3e44a2efedf2e', class: "description" }, this.description), this.location && index.h("div", { key: 'de15dfde3f67c1c0f0fc4efb182740acaf0ed9ea', class: "location" }, this.location), index.h("div", { key: '28aaddd49593e6120fc6b3d9edde53b1d25f9ff2', class: "social" }, this.facebook_url && index.h("a", { key: 'c2f3f97a41b425d66a64174034ebc4fe73b3332d', href: this.facebook_url, title: "facebook", target: "_blank" }, index.h("span", { key: '5aac86c3b9ced58c09d8e712ed8c6c398e7ba0c9', class: "icon", innerHTML: Icons.facebook })), this.twitter_url && index.h("a", { key: '5e18703b059978dae56f1eddc22d2e10c4cf0d02', href: this.twitter_url, title: "twitter", target: "_blank" }, index.h("span", { key: 'bb0ecc9f2fb4537eaf86669227c1f442e3d1783b', class: "icon", innerHTML: Icons.twitter })), this.linkedin_url && index.h("a", { key: '6256c406f626c80740b3828ad796c2d9c6a2dd12', href: this.linkedin_url, title: "linkedin", target: "_blank" }, index.h("span", { key: '578f3967d86bf8f74188fc3224db8fe1ab16d7af', class: "icon", innerHTML: Icons.linkedin })), this.email && index.h("a", { key: 'b2500492b6166a38d03ed55cc2fa579bb8799492', href: "mailto:" + this.email, title: "email", target: "_blank" }, index.h("span", { key: 'd50edc4439ac7f7b112ab5bc5b338f4924daf65c', class: "icon", innerHTML: Icons.email })), this.phone && index.h("a", { key: '7ab9e6c89afeb905671372ee7aae9a1e9f06a1a2', href: "tel:" + this.phone, title: "phone", target: "_blank" }, index.h("span", { key: 'faaeb7a9792cd2f3e128fd0f66fe5ca83a964344', class: "icon", innerHTML: Icons.phone }))), this.website && index.h("a", { key: '81c55436f9485deb14d4c14013ad546a38ebee2e', class: "website", href: this.website, title: "website", target: "_blank" }, index.h("span", { key: '0f5b9ee00b590ed091c7d5c8d78bd53626b478ed', class: "icon", innerHTML: Icons.website }), this.website), this.show_follow && index.h("div", { key: 'de868cf709263d9186ba8e0583a6ea91325b54a5', class: "follow-action action" }, index.h("mdui-button", { key: 'b3703cf0f7e5a859ae86ce089f406d8bbaaace56' }, "Follow")), this.show_donate && index.h("div", { key: '8b369c0c89e07b83d9213dc400515f9f07445717', class: "donate-action action" }, index.h("mdui-button", { key: 'b07dae9b1858b8e8c3c74d4eb71d5c1393b9a6f4', variant: "outlined" }, "Donate")), this.show_become_member && index.h("div", { key: '415f6d63d4ff690142235f1839c834ad064cfbd0', class: "member-action action" }, index.h("mdui-button", { key: '5a8e11a1d60f64632b03a499f4c1661a8f0a2654', variant: "outlined" }, "Become Member")), this.show_send_message && index.h("div", { key: 'f4adb5e511c005c95b49fa5d9949187c19cca56b', class: "message-action action" }, index.h("mdui-button", { key: 'c939b0ff17e6016b626b0ce3de8a097ec09ed4b7', variant: "outlined" }, "Message")), this.show_stats && index.h("div", { key: '99e9fa639f38ecf8d866e22759a221d674c5f238', class: "stats" }, index.h("div", { key: '2502af7fe674e4ad0075ae7757031c38e066f40c', class: "stat" }, index.h("span", { key: '7d1a4874d3ab38fea5f5939c17d0e3a5a58ef9e4', class: "label" }, "Stories"), index.h("span", { key: '77ad010ed54e7365db39900967d8c548abaace29', class: "value" }, this.stories_count)), index.h("div", { key: 'cfd7d114851a2968eb1341ecf0e7bd32114f3498', class: "stat" }, index.h("span", { key: '7de7392a30c3709ee0e0af5a0677a679596d6544', class: "label" }, "Views"), index.h("span", { key: '49e4d206ebb6568a8c717bfef3a935d960dee24e', class: "value" }, this.views_count)), index.h("div", { key: '5d6b7ebc5904a39a219c138fdda8edadf15385ca', class: "stat" }, index.h("span", { key: 'f4edc920e1df2aeed6373ee0f01d5d4e4cb1e855', class: "label" }, "Followers"), index.h("span", { key: '505780cccbd88403a21232f931d2d1b009c6d6a9', class: "value" }, this.followers_count)), index.h("div", { key: '85a4da15bd3bb8ff8e3ddf671ca24b1f30a80031', class: "stat" }, index.h("span", { key: '428d9e401eb85df7071c39fb20225d3356ea1d38', class: "label" }, "Writers"), index.h("span", { key: 'e5e6da6667bfe76d4c65a5cb483bbf3250fd613b', class: "value" }, this.writers_count))), this.show_languages && this.languages.trim().length > 0 && index.h("div", { key: '55985eacd6e0144c13af83e63ad3bc0e6d7cc276', class: "languages" }, index.h("div", { key: '2b511a64cb5fe6ae6e4ed5679496c542a7e0888b', class: "title" }, "Languages"), index.h("div", { key: '60da68797c121c2124554e7fd625c74a626600fb', class: "pills" }, this.languages.split(',').map((language) => {
117
+ return (index.h(index.Host, { key: '5d67f7430ac063ab4130e44d872e96861869ff49' }, index.h("div", { key: '0a4407109ecc5510681192eddb59e01ac9a48ed6', class: "profile" }, index.h("div", { key: '67172778f1cd4c13111a1d89bc6d4c4ef9bf6707', class: "name" }, this.name), this.description && index.h("div", { key: 'e8641878e800019fc393d478662d6d0e935c8435', class: "description" }, this.description), this.location && index.h("div", { key: '1fb01a18c10d01f2200f4d17a5eafcce621fe139', class: "location" }, this.location), index.h("div", { key: '4e6e00384d21e05bc79cdba68fe4e69db0e9e2d6', class: "social" }, this.facebook_url && index.h("a", { key: 'a7bf20b5720747ce453a16cf8cae6612a1947d12', href: this.facebook_url, title: "facebook", target: "_blank" }, index.h("span", { key: 'e0b7de355d66cfccf4c8d7c989418ff500768a17', class: "icon", innerHTML: Icons.facebook })), this.twitter_url && index.h("a", { key: 'd202b950303a181b1e5e3d7231f1d21d404123f8', href: this.twitter_url, title: "twitter", target: "_blank" }, index.h("span", { key: '50cb83feb41ee8807855bb04612655d463b8e973', class: "icon", innerHTML: Icons.twitter })), this.linkedin_url && index.h("a", { key: '9ba30186191d46d93739ca89cd2dbe5f3f16735c', href: this.linkedin_url, title: "linkedin", target: "_blank" }, index.h("span", { key: 'aa90042d97e2696a664a2c2b4bed2fddd5b85ad2', class: "icon", innerHTML: Icons.linkedin })), this.email && index.h("a", { key: '1964d9113092dc68bd891b0c6f4e72c8daf98f19', href: "mailto:" + this.email, title: "email", target: "_blank" }, index.h("span", { key: 'fb492c3af46fa363f7e2b94fc696ff490dd9ad3d', class: "icon", innerHTML: Icons.email })), this.phone && index.h("a", { key: '460f2f347ddd9df7202e481f9ffae333cf611e0f', href: "tel:" + this.phone, title: "phone", target: "_blank" }, index.h("span", { key: '0e4e5723112eeb62deeb597685de33d40a4b8113', class: "icon", innerHTML: Icons.phone }))), this.website && index.h("a", { key: '10fe61545fef58405fdf94a0df5bac7d7a0d67eb', class: "website", href: this.website, title: "website", target: "_blank" }, index.h("span", { key: '2dbc3f42678806bfac36140ebe2a95b6d46104ab', class: "icon", innerHTML: Icons.website }), this.website), this.show_follow && index.h("div", { key: 'fcbf95c540c24c4b3f24397128ea9a5b60439f5d', class: "follow-action action" }, index.h("mdui-button", { key: '506b2bc1e3fa5c13a364947c807f7f28c56be4ae' }, "Follow")), this.show_donate && index.h("div", { key: '1152f24d79243f43294be81d25e081f4b39ed5ba', class: "donate-action action" }, index.h("mdui-button", { key: 'ec3d12b4365a1fae71527338895b6a010a5c6fdd', variant: "outlined" }, "Donate")), this.show_become_member && index.h("div", { key: 'd72972fe2ad850146a8caf7b7fef4d56c13b09d0', class: "member-action action" }, index.h("mdui-button", { key: 'a348761a9f3ce9c996aa5b45342d50ca07c84987', variant: "outlined" }, "Become Member")), this.show_send_message && index.h("div", { key: 'e85db3e4ac705eb7a20f46c7ba5ef846168ad95c', class: "message-action action" }, index.h("mdui-button", { key: '7f0feb17bd3beda95451d1b5765c41da0b3850f2', variant: "outlined" }, "Message")), this.show_stats && index.h("div", { key: 'e6c01688fe4d37273ab3d1bb10ce548dc2ab093d', class: "stats" }, index.h("div", { key: '151b8ac31d51f1daa59ed553fc3cea92e06c2f3b', class: "stat" }, index.h("span", { key: '7618898d58386b218bddab8d1ab04e1513f4d737', class: "label" }, "Stories"), index.h("span", { key: '0d9e4f914f7810637c24cb7f331635ffcc9743c7', class: "value" }, this.stories_count)), index.h("div", { key: '66fbc4ad7c56270de74e9f803aca72a60b73763b', class: "stat" }, index.h("span", { key: 'b5a995eb158cec61c55a5599ad5279d33289e7db', class: "label" }, "Views"), index.h("span", { key: '5afbe4d930a051f6cf69f74227876c7ea67b0c85', class: "value" }, this.views_count)), index.h("div", { key: '79a3c6cdff0bacd6ae242af0a543aa8cab6d6b0e', class: "stat" }, index.h("span", { key: 'bfe4c2cb54aef07d51732c3fb52715ff1f268f13', class: "label" }, "Followers"), index.h("span", { key: 'f6796ee0352ff0dc07dbe73b918fdfa1c4909658', class: "value" }, this.followers_count)), index.h("div", { key: 'cc0dbd846dd9414d50a778cf9baf0643101f31ae', class: "stat" }, index.h("span", { key: '32bad76197438152ab8344a0229db9d71c262692', class: "label" }, "Writers"), index.h("span", { key: '298209d09f9cf3114e7a456320525b8d5a1b0b83', class: "value" }, this.writers_count))), this.show_languages && this.languages.trim().length > 0 && index.h("div", { key: '25c0d536429f007798baff6d792f058c354d37ff', class: "languages" }, index.h("div", { key: '2b112c72e4c7f261c8f54e37d3f832051e19d700', class: "title" }, "Languages"), index.h("div", { key: '187f600961963a812a009f50304eb95ad33c9002', class: "pills" }, this.languages.split(',').map((language) => {
118
118
  return index.h("div", { class: "pill" }, language.trim());
119
- }))), this.show_genres && this.genres.trim().length > 0 && index.h("div", { key: 'c4b7f1d5fa94041f5e5da220d84f1072820ce327', class: "genres" }, index.h("div", { key: '51c68c0b54b0218629b843255f555be23beb4c0d', class: "title" }, "Genres"), index.h("div", { key: '702cc49e448ac040eb71c5d3c35ae56688ba78e3', class: "pills" }, this.genres.split(',').map((genre) => {
119
+ }))), this.show_genres && this.genres.trim().length > 0 && index.h("div", { key: 'e59274c475bb6af4f4718d312978f6cbdd2ea186', class: "genres" }, index.h("div", { key: 'aedbc84e90ed4419f64332352bca9dfc28918d98', class: "title" }, "Genres"), index.h("div", { key: '87633f47f8b4d9da11a867cf2aa529f78bec43dd', class: "pills" }, this.genres.split(',').map((genre) => {
120
120
  return index.h("div", { class: "pill" }, genre.trim());
121
- }))), this.show_member_since && this.member_since.trim().length > 0 && index.h("div", { key: 'a2bccf4bcb25a6e25665bcaca8541ddc847303df', class: "member_since" }, "Member Since: ", this.member_since.trim()))));
121
+ }))), this.show_member_since && this.member_since.trim().length > 0 && index.h("div", { key: 'd903c0ea88b5bdd0f32a810d61fdaa14d3465d1e', class: "member_since" }, "Member Since: ", this.member_since.trim()))));
122
122
  }
123
123
  };
124
124
  UrProfile.style = urProfileCss;
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DlgBfuIH.js');
4
+ require('./radio-DWksGWLi.js');
5
+ require('./component-style-BC5DdXyd.js');
6
+ require('./directive-CxKj9eM_.js');
7
+ require('./state-BClMM5R0.js');
8
+ require('./class-map-Epaosh8c.js');
9
+ require('./ref-Dnp-_rKJ.js');
10
+ require('./get-DihLFVsH.js');
11
+ require('./watch-MAiBzcfm.js');
12
+ require('./attr-D_LyPdSc.js');
13
+ require('./svg-tag-BC3DRit2.js');
14
+ require('./index-DqsOXF7F.js');
15
+ require('./extend-DbPiqimt.js');
16
+ require('./has-slot-CDodaVHS.js');
17
+ require('./ripple-mixin-CsKjDjw-.js');
18
+ require('./children-B1QguDFM.js');
19
+ require('./appendTo-DN8OV-GK.js');
20
+
21
+ const urRadioButtonCss = ":host{display:block}:host mdui-radio.full-width{width:100%}";
22
+
23
+ const UrRadioButton = class {
24
+ constructor(hostRef) {
25
+ index.registerInstance(this, hostRef);
26
+ this.valueSelected = index.createEvent(this, "valueSelected");
27
+ this.disabled = false;
28
+ this.checked = false;
29
+ this.value = '';
30
+ this.name = ''; // Name of the group
31
+ this.fullWidth = false;
32
+ this.handleClick = () => {
33
+ if (!this.disabled && !this.checked) {
34
+ // Emit event to let parent handle state change
35
+ this.valueSelected.emit({ value: this.value });
36
+ }
37
+ };
38
+ }
39
+ // Sync checked state with mdui-radio when prop changes
40
+ checkedChanged(newValue) {
41
+ var _a;
42
+ const radio = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('mdui-radio');
43
+ if (radio && radio.checked !== newValue) {
44
+ radio.checked = newValue;
45
+ }
46
+ }
47
+ render() {
48
+ return (index.h(index.Host, { key: '3a3fd806f9f6f0217cf62562e3410f46c9c1eeeb' }, index.h("mdui-radio", { key: '8189d97fe9a40a9cf88656fc6e90c5d926bc1f30', checked: this.checked, disabled: this.disabled, name: this.name, onClick: this.handleClick, class: this.fullWidth ? 'full-width' : '' }, index.h("slot", { key: '53faebb679e1e74094454d4e7eb923efceda58e3' }))));
49
+ }
50
+ get el() { return index.getElement(this); }
51
+ static get watchers() { return {
52
+ "checked": ["checkedChanged"]
53
+ }; }
54
+ };
55
+ UrRadioButton.style = urRadioButtonCss;
56
+
57
+ exports.ur_radio_button = UrRadioButton;