@streamscloud/embeddable 15.1.0 → 16.0.0

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 (368) hide show
  1. package/dist/ads/ad-card/cmp.ad-card.svelte +18 -29
  2. package/dist/ads/ad-card/cmp.ad-card.svelte.d.ts +0 -2
  3. package/dist/core/graphql.d.ts +1 -1
  4. package/dist/core/graphql.js +4 -9
  5. package/dist/core/media/index.d.ts +0 -2
  6. package/dist/core/media/index.js +0 -2
  7. package/dist/external-api/data-providers/internal-short-video-player-items-provider.d.ts +1 -1
  8. package/dist/external-api/data-providers/internal-short-video-player-items-provider.js +2 -2
  9. package/dist/external-api/data-providers/internal-streams-player-data-provider.js +2 -2
  10. package/dist/external-api/media-page/index.d.ts +1 -1
  11. package/dist/external-api/short-videos-player/index.d.ts +1 -1
  12. package/dist/external-api/streams-player/index.d.ts +1 -1
  13. package/dist/media-center/media-center/cmp.media-center-proxy.svelte +4 -4
  14. package/dist/media-center/media-center/discover/community-features-localization.d.ts +4 -6
  15. package/dist/media-center/media-center/discover/community-features-localization.js +12 -10
  16. package/dist/media-center/media-center/discover/community-features.svelte +10 -21
  17. package/dist/media-center/media-center/discover/community-features.svelte.d.ts +0 -2
  18. package/dist/media-center/media-center/discover/discover-header.svelte +14 -25
  19. package/dist/media-center/media-center/discover/discover-view-handler.svelte.d.ts +1 -1
  20. package/dist/media-center/media-center/discover/discover-view-handler.svelte.js +1 -1
  21. package/dist/media-center/media-center/discover/discover-view-localization.d.ts +2 -5
  22. package/dist/media-center/media-center/discover/discover-view-localization.js +6 -8
  23. package/dist/media-center/media-center/discover/discover-view.svelte +6 -19
  24. package/dist/media-center/media-center/footer/media-center-footer.svelte +7 -18
  25. package/dist/media-center/media-center/handlers/media-center-settings-handler.svelte.d.ts +1 -1
  26. package/dist/media-center/media-center/header/media-center-header-localization.d.ts +2 -4
  27. package/dist/media-center/media-center/header/media-center-header-localization.js +12 -12
  28. package/dist/media-center/media-center/header/media-center-header-mobile.svelte +8 -19
  29. package/dist/media-center/media-center/header/media-center-header-mobile.svelte.d.ts +0 -2
  30. package/dist/media-center/media-center/header/media-center-header.svelte +12 -23
  31. package/dist/media-center/media-center/media-center-context.svelte.d.ts +1 -1
  32. package/dist/media-center/media-center/media-center-context.svelte.js +1 -1
  33. package/dist/media-center/media-center/media-center-settings.svelte.d.ts +1 -1
  34. package/dist/media-center/media-center/media-center-view.svelte +4 -15
  35. package/dist/media-center/media-center/menu/category-following-wrapper.svelte +5 -16
  36. package/dist/media-center/media-center/menu/menu-localization.d.ts +5 -8
  37. package/dist/media-center/media-center/menu/menu-localization.js +15 -14
  38. package/dist/media-center/media-center/menu/menu.svelte +15 -26
  39. package/dist/media-center/media-center/moments/cmp.moments-circle.svelte +6 -17
  40. package/dist/media-center/media-center/moments/moments-feed-handler.svelte.d.ts +1 -1
  41. package/dist/media-center/media-center/moments/moments-feed-handler.svelte.js +1 -1
  42. package/dist/media-center/media-center/moments/moments-state.svelte.d.ts +1 -1
  43. package/dist/media-center/media-center/posts-feed/feed-providers-generator.d.ts +1 -1
  44. package/dist/media-center/media-center/posts-feed/feed-providers-generator.js +2 -2
  45. package/dist/media-center/media-center/posts-feed/posts-feed-handler.svelte.d.ts +2 -2
  46. package/dist/media-center/media-center/posts-feed/posts-feed-handler.svelte.js +2 -2
  47. package/dist/media-center/media-center/streams-feed/feed-providers-generator.js +2 -2
  48. package/dist/media-center/media-center/streams-feed/streams-feed-handler.svelte.d.ts +1 -1
  49. package/dist/media-center/media-center/streams-feed/streams-feed-handler.svelte.js +1 -1
  50. package/dist/media-center/media-center/streams-in-category/streams-in-category-panel.svelte +1 -12
  51. package/dist/media-center/media-center/types.d.ts +2 -2
  52. package/dist/media-page/index.d.ts +2 -2
  53. package/dist/posts/attachments/cmp.attachments.svelte +2 -15
  54. package/dist/posts/attachments/cmp.attachments.svelte.d.ts +0 -2
  55. package/dist/posts/controls/post-actions-handler.svelte.d.ts +1 -1
  56. package/dist/posts/controls/post-actions-handler.svelte.js +2 -3
  57. package/dist/posts/post-viewer/attachments-horizontal.svelte +10 -21
  58. package/dist/posts/post-viewer/cmp.post-viewer.svelte +7 -18
  59. package/dist/posts/post-viewer/cmp.post-viewer.svelte.d.ts +1 -3
  60. package/dist/posts/post-viewer/heading.svelte +8 -20
  61. package/dist/posts/post-viewer/media/post-media.svelte +11 -22
  62. package/dist/posts/post-viewer/media/post-media.svelte.d.ts +0 -2
  63. package/dist/posts/post-viewer/post-texts.svelte +6 -17
  64. package/dist/posts/post-viewer/post-viewer-localization.d.ts +2 -5
  65. package/dist/posts/post-viewer/post-viewer-localization.js +6 -8
  66. package/dist/posts/posts-player/cmp.posts-player.svelte.d.ts +2 -2
  67. package/dist/posts/posts-player/index.d.ts +1 -1
  68. package/dist/posts/posts-player/posts-player-proxy.svelte +5 -1
  69. package/dist/posts/posts-player/posts-player-proxy.svelte.d.ts +2 -2
  70. package/dist/posts/posts-player/posts-player-view.svelte +34 -30
  71. package/dist/posts/posts-player/types.d.ts +2 -2
  72. package/dist/products/price-helper.js +1 -1
  73. package/dist/products/product-card/cmp.product-card.svelte +16 -30
  74. package/dist/products/product-card/cmp.product-card.svelte.d.ts +0 -2
  75. package/dist/products/product-card/product-card-localization.d.ts +1 -3
  76. package/dist/products/product-card/product-card-localization.js +3 -4
  77. package/dist/short-videos/short-video-card/cmp.short-video-card.svelte +19 -35
  78. package/dist/short-videos/short-video-card/cmp.short-video-card.svelte.d.ts +0 -2
  79. package/dist/short-videos/short-video-card/localization.d.ts +1 -3
  80. package/dist/short-videos/short-video-card/localization.js +3 -4
  81. package/dist/streams/layout/cmp.layout.svelte +3 -14
  82. package/dist/streams/layout/cmp.slot-content.svelte +5 -16
  83. package/dist/streams/layout/cmp.slot-content.svelte.d.ts +0 -2
  84. package/dist/streams/layout/cmp.slot.svelte +1 -12
  85. package/dist/streams/layout/element-views/cmp.annotation-stream-element.svelte +2 -2
  86. package/dist/streams/layout/element-views/cmp.container-stream-element.svelte +2 -3
  87. package/dist/streams/layout/element-views/cmp.container-stream-element.svelte.d.ts +0 -2
  88. package/dist/streams/layout/element-views/cmp.image-ref-stream-element.svelte +1 -12
  89. package/dist/streams/layout/element-views/cmp.images-stream-element.svelte +3 -14
  90. package/dist/streams/layout/element-views/cmp.price-stream-element.svelte +2 -2
  91. package/dist/streams/layout/element-views/cmp.price-stream-element.svelte.d.ts +0 -2
  92. package/dist/streams/layout/element-views/cmp.products-slider-stream-element.svelte +4 -9
  93. package/dist/streams/layout/element-views/cmp.products-slider-stream-element.svelte.d.ts +0 -2
  94. package/dist/streams/layout/element-views/cmp.short-video-stream-element.svelte +1 -4
  95. package/dist/streams/layout/element-views/cmp.short-video-stream-element.svelte.d.ts +0 -2
  96. package/dist/streams/layout/element-views/cmp.spacer-stream-element.svelte +3 -14
  97. package/dist/streams/layout/element-views/cmp.stock-stream-element.svelte +3 -14
  98. package/dist/streams/layout/element-views/cmp.stock-stream-element.svelte.d.ts +0 -2
  99. package/dist/streams/layout/element-views/cmp.stream-element.svelte +7 -8
  100. package/dist/streams/layout/element-views/cmp.stream-element.svelte.d.ts +0 -2
  101. package/dist/streams/layout/element-views/cmp.text-ref-stream-element.svelte +5 -5
  102. package/dist/streams/layout/element-views/cmp.text-ref-stream-element.svelte.d.ts +0 -2
  103. package/dist/streams/layout/element-views/cmp.text-stream-element.svelte +5 -5
  104. package/dist/streams/layout/element-views/cmp.text-stream-element.svelte.d.ts +0 -2
  105. package/dist/streams/layout/element-views/cmp.web-view-stream-element.svelte +1 -12
  106. package/dist/streams/layout/element-views/price-element-view.svelte +7 -18
  107. package/dist/streams/layout/element-views/price-stream-element-localization.d.ts +2 -5
  108. package/dist/streams/layout/element-views/price-stream-element-localization.js +6 -8
  109. package/dist/streams/layout/element-views/stock-stream-element-localization.d.ts +1 -3
  110. package/dist/streams/layout/element-views/stock-stream-element-localization.js +3 -4
  111. package/dist/streams/layout/index.d.ts +1 -1
  112. package/dist/streams/layout/index.js +1 -1
  113. package/dist/streams/layout/serializer.svelte.js +5 -6
  114. package/dist/streams/layout/styles-transformer.d.ts +3 -3
  115. package/dist/streams/layout/styles-transformer.js +1 -1
  116. package/dist/streams/stream-card/cmp.stream-card.svelte +6 -20
  117. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte +6 -19
  118. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte.d.ts +1 -3
  119. package/dist/streams/streams-player/cmp.streams-player.svelte.d.ts +1 -1
  120. package/dist/streams/streams-player/index.d.ts +1 -1
  121. package/dist/streams/streams-player/stream-overview.svelte +5 -16
  122. package/dist/streams/streams-player/stream-player-localization.d.ts +1 -4
  123. package/dist/streams/streams-player/stream-player-localization.js +3 -6
  124. package/dist/streams/streams-player/streams-player-buffer.svelte.d.ts +1 -1
  125. package/dist/streams/streams-player/streams-player-buffer.svelte.js +1 -1
  126. package/dist/streams/streams-player/streams-player-proxy.svelte +5 -1
  127. package/dist/streams/streams-player/streams-player-proxy.svelte.d.ts +1 -1
  128. package/dist/streams/streams-player/streams-player-view.svelte +71 -79
  129. package/dist/streams/streams-player/types.d.ts +1 -1
  130. package/dist/ui/media-item-view/cmp.media-item-view.svelte +5 -16
  131. package/dist/ui/media-items-gallery/cmp.media-items-gallery.svelte +2 -16
  132. package/dist/ui/media-items-gallery/types.js +2 -1
  133. package/dist/ui/player/player/cmp.player.svelte +19 -28
  134. package/dist/ui/player/player/cmp.player.svelte.d.ts +1 -1
  135. package/dist/ui/player/player/controls-and-attachments.svelte +16 -32
  136. package/dist/ui/player/player/controls-and-attachments.svelte.d.ts +1 -1
  137. package/dist/ui/player/player/overview-panel.svelte +27 -36
  138. package/dist/ui/player/player/player-config.svelte.d.ts +4 -4
  139. package/dist/ui/player/player/player-config.svelte.js +3 -3
  140. package/dist/ui/player/player/player-settings.svelte.d.ts +1 -1
  141. package/dist/ui/player/progress/cmp.chunks-progress.svelte +1 -12
  142. package/dist/ui/shadow-dom/cmp.shadow-root.svelte +9 -14
  143. package/dist/ui/shadow-dom/cmp.shadow-root.svelte.d.ts +2 -0
  144. package/dist/ui/shadow-dom/colors.scss +2 -2
  145. package/dist/ui/shadow-dom/shadow-root-service.js +2 -2
  146. package/package.json +13 -25
  147. package/dist/core/actions/horizontal-wheel-scroll.d.ts +0 -5
  148. package/dist/core/actions/horizontal-wheel-scroll.js +0 -20
  149. package/dist/core/actions/index.d.ts +0 -2
  150. package/dist/core/actions/index.js +0 -2
  151. package/dist/core/actions/swallow-touch.d.ts +0 -2
  152. package/dist/core/actions/swallow-touch.js +0 -17
  153. package/dist/core/browser.d.ts +0 -1
  154. package/dist/core/browser.js +0 -1
  155. package/dist/core/continuation-token.d.ts +0 -11
  156. package/dist/core/continuation-token.js +0 -35
  157. package/dist/core/cursor-result.d.ts +0 -9
  158. package/dist/core/cursor-result.js +0 -1
  159. package/dist/core/data-loaders/cursor-data-loader.svelte.d.ts +0 -14
  160. package/dist/core/data-loaders/cursor-data-loader.svelte.js +0 -35
  161. package/dist/core/data-loaders/data-loader.d.ts +0 -4
  162. package/dist/core/data-loaders/data-loader.js +0 -1
  163. package/dist/core/data-loaders/index.d.ts +0 -2
  164. package/dist/core/data-loaders/index.js +0 -1
  165. package/dist/core/deferred.d.ts +0 -6
  166. package/dist/core/deferred.js +0 -13
  167. package/dist/core/document.event-handlers.d.ts +0 -2
  168. package/dist/core/document.event-handlers.js +0 -8
  169. package/dist/core/image-preloader.d.ts +0 -1
  170. package/dist/core/image-preloader.js +0 -10
  171. package/dist/core/locale.d.ts +0 -4
  172. package/dist/core/locale.js +0 -1
  173. package/dist/core/media/image-helper.d.ts +0 -10
  174. package/dist/core/media/image-helper.js +0 -30
  175. package/dist/core/media/images-size-detector.service.d.ts +0 -6
  176. package/dist/core/media/images-size-detector.service.js +0 -15
  177. package/dist/core/toastr.d.ts +0 -1
  178. package/dist/core/toastr.js +0 -26
  179. package/dist/core/transitions/index.d.ts +0 -1
  180. package/dist/core/transitions/index.js +0 -1
  181. package/dist/core/transitions/slide-horizontally.d.ts +0 -7
  182. package/dist/core/transitions/slide-horizontally.js +0 -55
  183. package/dist/core/utils/array-helper.d.ts +0 -23
  184. package/dist/core/utils/array-helper.js +0 -148
  185. package/dist/core/utils/compact-number.d.ts +0 -8
  186. package/dist/core/utils/compact-number.js +0 -48
  187. package/dist/core/utils/date-helper.d.ts +0 -29
  188. package/dist/core/utils/date-helper.js +0 -146
  189. package/dist/core/utils/dom-helper.d.ts +0 -12
  190. package/dist/core/utils/dom-helper.js +0 -76
  191. package/dist/core/utils/html-helper.d.ts +0 -42
  192. package/dist/core/utils/html-helper.js +0 -104
  193. package/dist/core/utils/index.d.ts +0 -3
  194. package/dist/core/utils/index.js +0 -3
  195. package/dist/core/utils/number-helper.d.ts +0 -6
  196. package/dist/core/utils/number-helper.js +0 -28
  197. package/dist/core/utils/string-generator.d.ts +0 -2
  198. package/dist/core/utils/string-generator.js +0 -15
  199. package/dist/core/utils/string-helper.d.ts +0 -10
  200. package/dist/core/utils/string-helper.js +0 -53
  201. package/dist/core/utils/url-helper.d.ts +0 -3
  202. package/dist/core/utils/url-helper.js +0 -13
  203. package/dist/core/utils/utils.d.ts +0 -29
  204. package/dist/core/utils/utils.js +0 -104
  205. package/dist/streams/layout/element-views/short-video-stream-element-localization.d.ts +0 -5
  206. package/dist/streams/layout/element-views/short-video-stream-element-localization.js +0 -7
  207. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.d.ts +0 -5
  208. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.js +0 -7
  209. package/dist/ui/button/cmp.button.svelte +0 -10
  210. package/dist/ui/button/cmp.button.svelte.d.ts +0 -16
  211. package/dist/ui/button/cmp.options-button.svelte +0 -123
  212. package/dist/ui/button/cmp.options-button.svelte.d.ts +0 -20
  213. package/dist/ui/button/index.d.ts +0 -3
  214. package/dist/ui/button/index.js +0 -3
  215. package/dist/ui/button/resources/button-base.svelte +0 -84
  216. package/dist/ui/button/resources/button-base.svelte.d.ts +0 -13
  217. package/dist/ui/button/resources/button-theme.svelte +0 -53
  218. package/dist/ui/button/resources/button-theme.svelte.d.ts +0 -10
  219. package/dist/ui/button/resources/button-types.d.ts +0 -20
  220. package/dist/ui/button/resources/button-types.js +0 -22
  221. package/dist/ui/card-actions/card-action-container.d.ts +0 -2
  222. package/dist/ui/card-actions/card-action-container.js +0 -17
  223. package/dist/ui/card-actions/cmp.card-action.svelte +0 -28
  224. package/dist/ui/card-actions/cmp.card-action.svelte.d.ts +0 -10
  225. package/dist/ui/card-actions/cmp.card-actions.svelte +0 -71
  226. package/dist/ui/card-actions/cmp.card-actions.svelte.d.ts +0 -9
  227. package/dist/ui/card-actions/index.d.ts +0 -4
  228. package/dist/ui/card-actions/index.js +0 -3
  229. package/dist/ui/card-actions/types.d.ts +0 -9
  230. package/dist/ui/card-actions/types.js +0 -1
  231. package/dist/ui/dropdown/cmp.dropdown.svelte +0 -184
  232. package/dist/ui/dropdown/cmp.dropdown.svelte.d.ts +0 -23
  233. package/dist/ui/dropdown/dropdown-ignore.d.ts +0 -6
  234. package/dist/ui/dropdown/dropdown-ignore.js +0 -11
  235. package/dist/ui/dropdown/index.d.ts +0 -3
  236. package/dist/ui/dropdown/index.js +0 -2
  237. package/dist/ui/dynamic-component/cmp.dynamic-component.svelte +0 -5
  238. package/dist/ui/dynamic-component/cmp.dynamic-component.svelte.d.ts +0 -7
  239. package/dist/ui/dynamic-component/index.d.ts +0 -2
  240. package/dist/ui/dynamic-component/index.js +0 -2
  241. package/dist/ui/dynamic-component/types.svelte.d.ts +0 -11
  242. package/dist/ui/dynamic-component/types.svelte.js +0 -13
  243. package/dist/ui/icon/cmp.icon.svelte +0 -75
  244. package/dist/ui/icon/cmp.icon.svelte.d.ts +0 -8
  245. package/dist/ui/icon/index.d.ts +0 -2
  246. package/dist/ui/icon/index.js +0 -2
  247. package/dist/ui/icon/types.d.ts +0 -9
  248. package/dist/ui/icon/types.js +0 -10
  249. package/dist/ui/image/cmp.image-round.svelte +0 -41
  250. package/dist/ui/image/cmp.image-round.svelte.d.ts +0 -11
  251. package/dist/ui/image/cmp.image-rounded.svelte +0 -64
  252. package/dist/ui/image/cmp.image-rounded.svelte.d.ts +0 -11
  253. package/dist/ui/image/cmp.image-stub.svelte +0 -31
  254. package/dist/ui/image/cmp.image-stub.svelte.d.ts +0 -18
  255. package/dist/ui/image/cmp.image.svelte +0 -79
  256. package/dist/ui/image/cmp.image.svelte.d.ts +0 -13
  257. package/dist/ui/image/image-state.d.ts +0 -6
  258. package/dist/ui/image/image-state.js +0 -17
  259. package/dist/ui/image/index.d.ts +0 -4
  260. package/dist/ui/image/index.js +0 -4
  261. package/dist/ui/infinite-scrolling/cmp.infinite-scrolling.svelte +0 -75
  262. package/dist/ui/infinite-scrolling/cmp.infinite-scrolling.svelte.d.ts +0 -11
  263. package/dist/ui/infinite-scrolling/index.d.ts +0 -1
  264. package/dist/ui/infinite-scrolling/index.js +0 -1
  265. package/dist/ui/line-clamp/cmp.line-clamp-auto.svelte +0 -119
  266. package/dist/ui/line-clamp/cmp.line-clamp-auto.svelte.d.ts +0 -10
  267. package/dist/ui/line-clamp/cmp.line-clamp.svelte +0 -84
  268. package/dist/ui/line-clamp/cmp.line-clamp.svelte.d.ts +0 -11
  269. package/dist/ui/line-clamp/index.d.ts +0 -2
  270. package/dist/ui/line-clamp/index.js +0 -2
  271. package/dist/ui/line-clamp/line-clamp-localization.d.ts +0 -6
  272. package/dist/ui/line-clamp/line-clamp-localization.js +0 -19
  273. package/dist/ui/line-clamp/line-clamp-types.d.ts +0 -3
  274. package/dist/ui/line-clamp/line-clamp-types.js +0 -1
  275. package/dist/ui/line-clamp/line-clamp-utils.d.ts +0 -8
  276. package/dist/ui/line-clamp/line-clamp-utils.js +0 -33
  277. package/dist/ui/loading/cmp.loading.svelte +0 -94
  278. package/dist/ui/loading/cmp.loading.svelte.d.ts +0 -9
  279. package/dist/ui/loading/index.d.ts +0 -1
  280. package/dist/ui/loading/index.js +0 -1
  281. package/dist/ui/media-playback/index.d.ts +0 -2
  282. package/dist/ui/media-playback/index.js +0 -2
  283. package/dist/ui/media-playback/playback-manager.svelte.d.ts +0 -25
  284. package/dist/ui/media-playback/playback-manager.svelte.js +0 -62
  285. package/dist/ui/media-playback/volume-manager.svelte.d.ts +0 -10
  286. package/dist/ui/media-playback/volume-manager.svelte.js +0 -27
  287. package/dist/ui/player/button/cmp.mobile-player-buttons.svelte +0 -37
  288. package/dist/ui/player/button/cmp.mobile-player-buttons.svelte.d.ts +0 -7
  289. package/dist/ui/player/button/cmp.player-buttons.svelte +0 -127
  290. package/dist/ui/player/button/cmp.player-buttons.svelte.d.ts +0 -9
  291. package/dist/ui/player/button/cmp.responsive-player-buttons.svelte +0 -32
  292. package/dist/ui/player/button/cmp.responsive-player-buttons.svelte.d.ts +0 -8
  293. package/dist/ui/player/button/index.d.ts +0 -4
  294. package/dist/ui/player/button/index.js +0 -3
  295. package/dist/ui/player/button/types.d.ts +0 -7
  296. package/dist/ui/player/button/types.js +0 -1
  297. package/dist/ui/player/providers/chunks-player-buffer/index.d.ts +0 -2
  298. package/dist/ui/player/providers/chunks-player-buffer/index.js +0 -2
  299. package/dist/ui/player/providers/chunks-player-buffer/player-chunk-item.svelte.d.ts +0 -9
  300. package/dist/ui/player/providers/chunks-player-buffer/player-chunk-item.svelte.js +0 -9
  301. package/dist/ui/player/providers/chunks-player-buffer/player-chunk.svelte.d.ts +0 -30
  302. package/dist/ui/player/providers/chunks-player-buffer/player-chunk.svelte.js +0 -73
  303. package/dist/ui/player/providers/chunks-player-buffer/player-chunks-manager.svelte.d.ts +0 -23
  304. package/dist/ui/player/providers/chunks-player-buffer/player-chunks-manager.svelte.js +0 -220
  305. package/dist/ui/player/providers/default-chunks-player-buffer.svelte.d.ts +0 -23
  306. package/dist/ui/player/providers/default-chunks-player-buffer.svelte.js +0 -71
  307. package/dist/ui/player/providers/default-feed-player-buffer.svelte.d.ts +0 -29
  308. package/dist/ui/player/providers/default-feed-player-buffer.svelte.js +0 -121
  309. package/dist/ui/player/providers/index.d.ts +0 -3
  310. package/dist/ui/player/providers/index.js +0 -2
  311. package/dist/ui/player/providers/service.d.ts +0 -2
  312. package/dist/ui/player/providers/service.js +0 -13
  313. package/dist/ui/player/providers/types.d.ts +0 -54
  314. package/dist/ui/player/providers/types.js +0 -1
  315. package/dist/ui/player/slider/cmp.player-slider.svelte +0 -218
  316. package/dist/ui/player/slider/cmp.player-slider.svelte.d.ts +0 -34
  317. package/dist/ui/player/slider/index.d.ts +0 -2
  318. package/dist/ui/player/slider/index.js +0 -2
  319. package/dist/ui/player/slider/prevent-slider-scroll.d.ts +0 -5
  320. package/dist/ui/player/slider/prevent-slider-scroll.js +0 -11
  321. package/dist/ui/player/slider/types.d.ts +0 -16
  322. package/dist/ui/player/slider/types.js +0 -1
  323. package/dist/ui/player/slider/wheel-gestures-adapter.d.ts +0 -17
  324. package/dist/ui/player/slider/wheel-gestures-adapter.js +0 -79
  325. package/dist/ui/player/slider-horizontal/cmp.slider.svelte +0 -424
  326. package/dist/ui/player/slider-horizontal/cmp.slider.svelte.d.ts +0 -31
  327. package/dist/ui/player/slider-horizontal/index.d.ts +0 -2
  328. package/dist/ui/player/slider-horizontal/index.js +0 -2
  329. package/dist/ui/player/slider-horizontal/slider-localization.d.ts +0 -5
  330. package/dist/ui/player/slider-horizontal/slider-localization.js +0 -13
  331. package/dist/ui/player/slider-horizontal/types.d.ts +0 -11
  332. package/dist/ui/player/slider-horizontal/types.js +0 -8
  333. package/dist/ui/player/utils/index.d.ts +0 -1
  334. package/dist/ui/player/utils/index.js +0 -1
  335. package/dist/ui/player/utils/touch-synchronizer.d.ts +0 -7
  336. package/dist/ui/player/utils/touch-synchronizer.js +0 -21
  337. package/dist/ui/progress/cmp.progress.svelte +0 -40
  338. package/dist/ui/progress/cmp.progress.svelte.d.ts +0 -6
  339. package/dist/ui/progress/index.d.ts +0 -1
  340. package/dist/ui/progress/index.js +0 -1
  341. package/dist/ui/proportional-container/cmp.proportional-container.svelte +0 -39
  342. package/dist/ui/proportional-container/cmp.proportional-container.svelte.d.ts +0 -8
  343. package/dist/ui/proportional-container/index.d.ts +0 -1
  344. package/dist/ui/proportional-container/index.js +0 -1
  345. package/dist/ui/seek-bar/cmp.seek-bar.svelte +0 -167
  346. package/dist/ui/seek-bar/cmp.seek-bar.svelte.d.ts +0 -15
  347. package/dist/ui/seek-bar/index.d.ts +0 -1
  348. package/dist/ui/seek-bar/index.js +0 -1
  349. package/dist/ui/shadow-dom/normalize-shadow.css +0 -350
  350. package/dist/ui/shadow-dom/reset-shadow.css +0 -176
  351. package/dist/ui/swipe-indicator/cmp.swipe-indicator.svelte +0 -124
  352. package/dist/ui/swipe-indicator/cmp.swipe-indicator.svelte.d.ts +0 -8
  353. package/dist/ui/swipe-indicator/index.d.ts +0 -1
  354. package/dist/ui/swipe-indicator/index.js +0 -1
  355. package/dist/ui/swipe-indicator/swipe-indicator-localization.d.ts +0 -5
  356. package/dist/ui/swipe-indicator/swipe-indicator-localization.js +0 -13
  357. package/dist/ui/time-ago/cmp.time-ago.svelte +0 -69
  358. package/dist/ui/time-ago/cmp.time-ago.svelte.d.ts +0 -9
  359. package/dist/ui/time-ago/index.d.ts +0 -1
  360. package/dist/ui/time-ago/index.js +0 -1
  361. package/dist/ui/time-ago/time-ago-localization.d.ts +0 -12
  362. package/dist/ui/time-ago/time-ago-localization.js +0 -55
  363. package/dist/ui/video/cmp.video.svelte +0 -387
  364. package/dist/ui/video/cmp.video.svelte.d.ts +0 -27
  365. package/dist/ui/video/index.d.ts +0 -2
  366. package/dist/ui/video/index.js +0 -2
  367. package/dist/ui/video/types.d.ts +0 -4
  368. package/dist/ui/video/types.js +0 -5
@@ -1,167 +0,0 @@
1
- <script lang="ts">let { value, listenParentClicks = false, on } = $props();
2
- let seekBarRef;
3
- let scrubberRef;
4
- let progressRef;
5
- let isDragging = $state(false);
6
- const cssValue = $derived(`${100 * (value <= 1 ? value : 1)}%`);
7
- const handleSeek = (e) => {
8
- if (!progressRef) {
9
- return;
10
- }
11
- e.stopPropagation();
12
- const { left, width } = progressRef.getBoundingClientRect();
13
- const x = e.clientX - left;
14
- const percent = Math.max(0, Math.min(1, x / width));
15
- on?.seek(percent);
16
- };
17
- const handleParentClick = (e) => {
18
- e.preventDefault();
19
- e.stopPropagation();
20
- if (!progressRef || !seekBarRef || isDragging) {
21
- return;
22
- }
23
- const seekBarRect = progressRef.getBoundingClientRect();
24
- if (e.clientX >= seekBarRect.left && e.clientX <= seekBarRect.right) {
25
- const x = e.clientX - seekBarRect.left;
26
- const percent = Math.max(0, Math.min(1, x / seekBarRect.width));
27
- on?.seek(percent);
28
- }
29
- };
30
- const onMouseMove = (e) => {
31
- if (isDragging) {
32
- handleSeek(e);
33
- }
34
- };
35
- const onMouseUp = () => {
36
- isDragging = false;
37
- window.removeEventListener('mousemove', onMouseMove);
38
- window.removeEventListener('mouseup', onMouseUp);
39
- scrubberRef?.blur();
40
- on?.dragEnd?.();
41
- };
42
- const onMouseDown = (e) => {
43
- isDragging = true;
44
- on?.dragStart?.();
45
- handleSeek(e);
46
- window.addEventListener('mousemove', onMouseMove);
47
- window.addEventListener('mouseup', onMouseUp);
48
- scrubberRef?.blur();
49
- };
50
- const handleScrubberKeyDown = (event) => {
51
- const step = 0.05;
52
- let newValue;
53
- if (event.key === 'ArrowLeft') {
54
- newValue = Math.max(0, value - step);
55
- }
56
- else if (event.key === 'ArrowRight') {
57
- newValue = Math.min(1, value + step);
58
- }
59
- else if (event.key === 'Home') {
60
- newValue = 0;
61
- }
62
- else if (event.key === 'End') {
63
- newValue = 1;
64
- }
65
- if (newValue !== undefined) {
66
- event.preventDefault();
67
- on?.seek(newValue);
68
- }
69
- };
70
- $effect(() => {
71
- let parent = null;
72
- if (listenParentClicks && seekBarRef) {
73
- parent = seekBarRef.parentElement;
74
- if (parent) {
75
- parent.addEventListener('click', handleParentClick);
76
- }
77
- }
78
- return () => {
79
- if (parent) {
80
- parent.removeEventListener('click', handleParentClick);
81
- }
82
- };
83
- });
84
- $effect(() => {
85
- return () => {
86
- window.removeEventListener('mousemove', onMouseMove);
87
- window.removeEventListener('mouseup', onMouseUp);
88
- };
89
- });
90
- </script>
91
-
92
- <div class="seek-bar" onmousedown={onMouseDown} onkeydown={() => ({})} role="none" bind:this={seekBarRef}>
93
- <div class="seek-bar__container" bind:this={progressRef}>
94
- <span class="seek-bar__value" style="width: {cssValue}"> &nbsp; </span>
95
- <div
96
- class="seek-bar__scrubber"
97
- bind:this={scrubberRef}
98
- class:is-dragging={isDragging}
99
- style="left: {cssValue}"
100
- role="slider"
101
- tabindex="0"
102
- aria-valuemin="0"
103
- aria-valuemax="1"
104
- aria-valuenow={value}
105
- aria-label="Media position slider"
106
- onkeydown={handleScrubberKeyDown}>
107
- </div>
108
- </div>
109
- </div>
110
-
111
- <style>@keyframes fadeIn {
112
- 0% {
113
- opacity: 1;
114
- }
115
- 50% {
116
- opacity: 0.4;
117
- }
118
- 100% {
119
- opacity: 1;
120
- }
121
- }
122
- .seek-bar {
123
- cursor: pointer;
124
- position: relative;
125
- padding: 0.3125rem 0;
126
- --_seek-bar--container-color: var(--seek-bar--container-color, #b0b0b0);
127
- --_seek-bar--value-color: var(--seek-bar--value-color, #ffffff);
128
- --_seek-bar--scrubber-color: var(--seek-bar--scrubber-color, #ffffff);
129
- --_seek-bar--scrubber-border-color: var(--seek-bar--scrubber-border-color, #b0b0b0);
130
- --_seek-bar--scrubber-opacity: 0;
131
- }
132
- .seek-bar:hover {
133
- --_seek-bar--scrubber-opacity: 1;
134
- }
135
- .seek-bar__container {
136
- width: 100%;
137
- background: var(--_seek-bar--container-color);
138
- height: 0.3125rem;
139
- position: relative;
140
- }
141
- .seek-bar__value {
142
- background: var(--_seek-bar--value-color);
143
- border-color: var(--_seek-bar--container-color);
144
- border-width: 0.0625rem;
145
- display: inline-block;
146
- height: 100%;
147
- }
148
- .seek-bar__scrubber {
149
- position: absolute;
150
- top: 50%;
151
- width: 0.75rem;
152
- height: 0.75rem;
153
- background: var(--_seek-bar--scrubber-color);
154
- border-color: var(--_seek-bar--scrubber-border-color);
155
- border-width: 0.0625rem;
156
- border-radius: 50%;
157
- transform: translate(-50%, -50%);
158
- z-index: 1;
159
- opacity: var(--_seek-bar--scrubber-opacity);
160
- transition: opacity 0.2s ease-in-out;
161
- }
162
- .seek-bar__scrubber.is-dragging, .seek-bar__scrubber:focus {
163
- --_seek-bar--scrubber-opacity: 1;
164
- }
165
- .seek-bar__scrubber:focus-visible {
166
- outline: none;
167
- }</style>
@@ -1,15 +0,0 @@
1
- type Props = {
2
- /**
3
- * 0-1
4
- * */
5
- value: number;
6
- listenParentClicks?: boolean;
7
- on: {
8
- seek: (e: number) => void;
9
- dragStart?: () => void;
10
- dragEnd?: () => void;
11
- };
12
- };
13
- declare const Cmp: import("svelte").Component<Props, {}, "">;
14
- type Cmp = ReturnType<typeof Cmp>;
15
- export default Cmp;
@@ -1 +0,0 @@
1
- export { default as SeekBar } from './cmp.seek-bar.svelte';
@@ -1 +0,0 @@
1
- export { default as SeekBar } from './cmp.seek-bar.svelte';
@@ -1,350 +0,0 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
-
3
- /* Document
4
- ========================================================================== */
5
-
6
- /**
7
- * 1. Correct the line height in all browsers.
8
- * 2. Prevent adjustments of font size after orientation changes in iOS.
9
- */
10
-
11
- html {
12
- line-height: 1.15; /* 1 */
13
- -webkit-text-size-adjust: 100%; /* 2 */
14
- }
15
-
16
- /* Sections
17
- ========================================================================== */
18
-
19
- /**
20
- * Remove the margin in all browsers.
21
- */
22
-
23
- body {
24
- margin: 0;
25
- }
26
-
27
- /**
28
- * Render the `main` element consistently in IE.
29
- */
30
-
31
- main {
32
- display: block;
33
- }
34
-
35
- /**
36
- * Correct the font size and margin on `h1` elements within `section` and
37
- * `article` contexts in Chrome, Firefox, and Safari.
38
- */
39
-
40
- h1 {
41
- font-size: 2em;
42
- margin: 0.67em 0;
43
- }
44
-
45
- /* Grouping content
46
- ========================================================================== */
47
-
48
- /**
49
- * 1. Add the correct box sizing in Firefox.
50
- * 2. Show the overflow in Edge and IE.
51
- */
52
-
53
- hr {
54
- box-sizing: content-box; /* 1 */
55
- height: 0; /* 1 */
56
- overflow: visible; /* 2 */
57
- }
58
-
59
- /**
60
- * 1. Correct the inheritance and scaling of font size in all browsers.
61
- * 2. Correct the odd `em` font sizing in all browsers.
62
- */
63
-
64
- pre {
65
- font-family: monospace, monospace; /* 1 */
66
- font-size: 1em; /* 2 */
67
- }
68
-
69
- /* Text-level semantics
70
- ========================================================================== */
71
-
72
- /**
73
- * Remove the gray background on active links in IE 10.
74
- */
75
-
76
- a {
77
- background-color: transparent;
78
- }
79
-
80
- /**
81
- * 1. Remove the bottom border in Chrome 57-
82
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
83
- */
84
-
85
- abbr[title] {
86
- border-bottom: none; /* 1 */
87
- text-decoration: underline dotted; /* 2 */
88
- }
89
-
90
- /**
91
- * Add the correct font weight in Chrome, Edge, and Safari.
92
- */
93
-
94
- b,
95
- strong {
96
- font-weight: bolder;
97
- }
98
-
99
- /**
100
- * 1. Correct the inheritance and scaling of font size in all browsers.
101
- * 2. Correct the odd `em` font sizing in all browsers.
102
- */
103
-
104
- code,
105
- kbd,
106
- samp {
107
- font-family: monospace, monospace; /* 1 */
108
- font-size: 1em; /* 2 */
109
- }
110
-
111
- /**
112
- * Add the correct font size in all browsers.
113
- */
114
-
115
- small {
116
- font-size: 80%;
117
- }
118
-
119
- /**
120
- * Prevent `sub` and `sup` elements from affecting the line height in
121
- * all browsers.
122
- */
123
-
124
- sub,
125
- sup {
126
- font-size: 75%;
127
- line-height: 0;
128
- position: relative;
129
- vertical-align: baseline;
130
- }
131
-
132
- sub {
133
- bottom: -0.25em;
134
- }
135
-
136
- sup {
137
- top: -0.5em;
138
- }
139
-
140
- /* Embedded content
141
- ========================================================================== */
142
-
143
- /**
144
- * Remove the border on images inside links in IE 10.
145
- */
146
-
147
- img {
148
- border-style: none;
149
- }
150
-
151
- /* Forms
152
- ========================================================================== */
153
-
154
- /**
155
- * 1. Change the font styles in all browsers.
156
- * 2. Remove the margin in Firefox and Safari.
157
- */
158
-
159
- button,
160
- input,
161
- optgroup,
162
- select,
163
- textarea {
164
- font-family: inherit; /* 1 */
165
- font-size: 100%; /* 1 */
166
- line-height: 1.15; /* 1 */
167
- margin: 0; /* 2 */
168
- }
169
-
170
- /**
171
- * Show the overflow in IE.
172
- * 1. Show the overflow in Edge.
173
- */
174
-
175
- button,
176
- input {
177
- /* 1 */
178
- overflow: visible;
179
- }
180
-
181
- /**
182
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
183
- * 1. Remove the inheritance of text transform in Firefox.
184
- */
185
-
186
- button,
187
- select {
188
- /* 1 */
189
- text-transform: none;
190
- }
191
-
192
- /**
193
- * Correct the inability to style clickable types in iOS and Safari.
194
- */
195
-
196
- button,
197
- [type='button'],
198
- [type='reset'],
199
- [type='submit'] {
200
- -webkit-appearance: button;
201
- }
202
-
203
- /**
204
- * Remove the inner border and padding in Firefox.
205
- */
206
-
207
- button::-moz-focus-inner,
208
- [type='button']::-moz-focus-inner,
209
- [type='reset']::-moz-focus-inner,
210
- [type='submit']::-moz-focus-inner {
211
- border-style: none;
212
- padding: 0;
213
- }
214
-
215
- /**
216
- * Restore the focus styles unset by the previous rule.
217
- */
218
-
219
- button:-moz-focusring,
220
- [type='button']:-moz-focusring,
221
- [type='reset']:-moz-focusring,
222
- [type='submit']:-moz-focusring {
223
- outline: 1px dotted ButtonText;
224
- }
225
-
226
- /**
227
- * Correct the padding in Firefox.
228
- */
229
-
230
- fieldset {
231
- padding: 0.35em 0.75em 0.625em;
232
- }
233
-
234
- /**
235
- * 1. Correct the text wrapping in Edge and IE.
236
- * 2. Correct the color inheritance from `fieldset` elements in IE.
237
- * 3. Remove the padding so developers are not caught out when they zero out
238
- * `fieldset` elements in all browsers.
239
- */
240
-
241
- legend {
242
- box-sizing: border-box; /* 1 */
243
- color: inherit; /* 2 */
244
- display: table; /* 1 */
245
- max-width: 100%; /* 1 */
246
- padding: 0; /* 3 */
247
- white-space: normal; /* 1 */
248
- }
249
-
250
- /**
251
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
252
- */
253
-
254
- progress {
255
- vertical-align: baseline;
256
- }
257
-
258
- /**
259
- * Remove the default vertical scrollbar in IE 10+.
260
- */
261
-
262
- textarea {
263
- overflow: auto;
264
- }
265
-
266
- /**
267
- * 1. Add the correct box sizing in IE 10.
268
- * 2. Remove the padding in IE 10.
269
- */
270
-
271
- [type='checkbox'],
272
- [type='radio'] {
273
- box-sizing: border-box; /* 1 */
274
- padding: 0; /* 2 */
275
- }
276
-
277
- /**
278
- * Correct the cursor style of increment and decrement buttons in Chrome.
279
- */
280
-
281
- [type='number']::-webkit-inner-spin-button,
282
- [type='number']::-webkit-outer-spin-button {
283
- height: auto;
284
- }
285
-
286
- /**
287
- * 1. Correct the odd appearance in Chrome and Safari.
288
- * 2. Correct the outline style in Safari.
289
- */
290
-
291
- [type='search'] {
292
- -webkit-appearance: textfield; /* 1 */
293
- outline-offset: -2px; /* 2 */
294
- }
295
-
296
- /**
297
- * Remove the inner padding in Chrome and Safari on macOS.
298
- */
299
-
300
- [type='search']::-webkit-search-decoration {
301
- -webkit-appearance: none;
302
- }
303
-
304
- /**
305
- * 1. Correct the inability to style clickable types in iOS and Safari.
306
- * 2. Change font properties to `inherit` in Safari.
307
- */
308
-
309
- ::-webkit-file-upload-button {
310
- -webkit-appearance: button; /* 1 */
311
- font: inherit; /* 2 */
312
- }
313
-
314
- /* Interactive
315
- ========================================================================== */
316
-
317
- /*
318
- * Add the correct display in Edge, IE 10+, and Firefox.
319
- */
320
-
321
- details {
322
- display: block;
323
- }
324
-
325
- /*
326
- * Add the correct display in all browsers.
327
- */
328
-
329
- summary {
330
- display: list-item;
331
- }
332
-
333
- /* Misc
334
- ========================================================================== */
335
-
336
- /**
337
- * Add the correct display in IE 10+.
338
- */
339
-
340
- template {
341
- display: none;
342
- }
343
-
344
- /**
345
- * Add the correct display in IE 10.
346
- */
347
-
348
- [hidden] {
349
- display: none;
350
- }
@@ -1,176 +0,0 @@
1
- /*Default margins and paddings are removed*/
2
- a,
3
- article,
4
- aside,
5
- blockquote,
6
- body,
7
- dd,
8
- div,
9
- dl,
10
- dt,
11
- figcaption,
12
- figure,
13
- footer,
14
- form,
15
- h1,
16
- h2,
17
- h3,
18
- h4,
19
- h5,
20
- h6,
21
- header,
22
- html,
23
- img,
24
- li,
25
- nav,
26
- ol,
27
- p,
28
- section,
29
- table,
30
- td,
31
- ul {
32
- margin: 0;
33
- padding: 0;
34
- }
35
-
36
- header,
37
- section,
38
- footer,
39
- aside,
40
- nav,
41
- article,
42
- figure,
43
- figcaption {
44
- display: block;
45
- }
46
- /*Images are block-level*/
47
- img,
48
- svg,
49
- video,
50
- canvas,
51
- audio,
52
- iframe,
53
- embed,
54
- object {
55
- display: block;
56
- vertical-align: middle;
57
- max-width: 100%;
58
- }
59
-
60
- table {
61
- border-collapse: collapse;
62
- }
63
-
64
- img {
65
- border: none;
66
- height: auto;
67
- }
68
-
69
- video {
70
- outline: none;
71
- }
72
-
73
- /*Lists are unstyled*/
74
- ul,
75
- ol {
76
- list-style: none;
77
- margin: 0;
78
- padding: 0;
79
- }
80
-
81
- li {
82
- list-style: inherit;
83
- }
84
-
85
- input {
86
- vertical-align: middle;
87
- min-width: 0;
88
- }
89
-
90
- input::placeholder {
91
- color: #c1c1c1 !important;
92
- }
93
- input:-webkit-autofill,
94
- input:-webkit-autofill:hover,
95
- input:-webkit-autofill:focus {
96
- -webkit-background-clip: text;
97
- }
98
- /* Chrome, Safari, Edge, Opera */
99
- input::-webkit-outer-spin-button,
100
- input::-webkit-inner-spin-button {
101
- -webkit-appearance: none;
102
- margin: 0;
103
- }
104
- input[type='number'] {
105
- -moz-appearance: textfield;
106
- }
107
-
108
- textarea {
109
- vertical-align: top;
110
- resize: vertical;
111
- scrollbar-color: #7d7d7d transparent;
112
- scrollbar-width: thin;
113
- }
114
-
115
- textarea::-webkit-scrollbar {
116
- width: 3px;
117
- height: 3px;
118
-
119
- background: transparent;
120
- }
121
- textarea::-webkit-scrollbar-thumb {
122
- background: #7d7d7d;
123
- }
124
- textarea::placeholder {
125
- color: #c1c1c1 !important;
126
- }
127
-
128
- input:focus,
129
- textarea:focus {
130
- outline: none;
131
- }
132
-
133
- button,
134
- input[type='submit'] {
135
- cursor: pointer;
136
- -webkit-appearance: none;
137
- background-color: transparent;
138
- padding: 0;
139
- text-align: left;
140
- font: inherit;
141
- color: inherit;
142
- box-sizing: border-box;
143
- &:disabled {
144
- cursor: default;
145
- }
146
- }
147
-
148
- details {
149
- summary {
150
- list-style: none;
151
- &::-webkit-details-marker {
152
- display: none;
153
- }
154
- }
155
- > * {
156
- box-sizing: border-box;
157
- }
158
- }
159
-
160
- a {
161
- color: inherit;
162
- text-decoration: none;
163
- transition: color linear 0.2s;
164
- }
165
-
166
- html {
167
- box-sizing: border-box;
168
- }
169
-
170
- *,
171
- *:before,
172
- *:after {
173
- box-sizing: inherit;
174
- border-width: 0;
175
- border-style: solid;
176
- }