@ngstarter-ui/components 1.0.21

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 (415) hide show
  1. package/README.md +0 -0
  2. package/fesm2022/ngstarter-ui-components-action-required.mjs +42 -0
  3. package/fesm2022/ngstarter-ui-components-action-required.mjs.map +1 -0
  4. package/fesm2022/ngstarter-ui-components-alert.mjs +132 -0
  5. package/fesm2022/ngstarter-ui-components-alert.mjs.map +1 -0
  6. package/fesm2022/ngstarter-ui-components-announcement.mjs +86 -0
  7. package/fesm2022/ngstarter-ui-components-announcement.mjs.map +1 -0
  8. package/fesm2022/ngstarter-ui-components-autocomplete.mjs +360 -0
  9. package/fesm2022/ngstarter-ui-components-autocomplete.mjs.map +1 -0
  10. package/fesm2022/ngstarter-ui-components-avatar.mjs +235 -0
  11. package/fesm2022/ngstarter-ui-components-avatar.mjs.map +1 -0
  12. package/fesm2022/ngstarter-ui-components-badge.mjs +97 -0
  13. package/fesm2022/ngstarter-ui-components-badge.mjs.map +1 -0
  14. package/fesm2022/ngstarter-ui-components-block-loader.mjs +48 -0
  15. package/fesm2022/ngstarter-ui-components-block-loader.mjs.map +1 -0
  16. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs +327 -0
  17. package/fesm2022/ngstarter-ui-components-bottom-sheet.mjs.map +1 -0
  18. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs +209 -0
  19. package/fesm2022/ngstarter-ui-components-breadcrumbs.mjs.map +1 -0
  20. package/fesm2022/ngstarter-ui-components-button-toggle.mjs +175 -0
  21. package/fesm2022/ngstarter-ui-components-button-toggle.mjs.map +1 -0
  22. package/fesm2022/ngstarter-ui-components-button.mjs +70 -0
  23. package/fesm2022/ngstarter-ui-components-button.mjs.map +1 -0
  24. package/fesm2022/ngstarter-ui-components-card-overlay.mjs +49 -0
  25. package/fesm2022/ngstarter-ui-components-card-overlay.mjs.map +1 -0
  26. package/fesm2022/ngstarter-ui-components-card.mjs +199 -0
  27. package/fesm2022/ngstarter-ui-components-card.mjs.map +1 -0
  28. package/fesm2022/ngstarter-ui-components-carousel.mjs +614 -0
  29. package/fesm2022/ngstarter-ui-components-carousel.mjs.map +1 -0
  30. package/fesm2022/ngstarter-ui-components-checkbox.mjs +300 -0
  31. package/fesm2022/ngstarter-ui-components-checkbox.mjs.map +1 -0
  32. package/fesm2022/ngstarter-ui-components-chips.mjs +589 -0
  33. package/fesm2022/ngstarter-ui-components-chips.mjs.map +1 -0
  34. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs +347 -0
  35. package/fesm2022/ngstarter-ui-components-code-highlighter.mjs.map +1 -0
  36. package/fesm2022/ngstarter-ui-components-color-picker.mjs +713 -0
  37. package/fesm2022/ngstarter-ui-components-color-picker.mjs.map +1 -0
  38. package/fesm2022/ngstarter-ui-components-color-scheme.mjs +106 -0
  39. package/fesm2022/ngstarter-ui-components-color-scheme.mjs.map +1 -0
  40. package/fesm2022/ngstarter-ui-components-color-switcher.mjs +72 -0
  41. package/fesm2022/ngstarter-ui-components-color-switcher.mjs.map +1 -0
  42. package/fesm2022/ngstarter-ui-components-command-bar.mjs +57 -0
  43. package/fesm2022/ngstarter-ui-components-command-bar.mjs.map +1 -0
  44. package/fesm2022/ngstarter-ui-components-comment-editor.mjs +1024 -0
  45. package/fesm2022/ngstarter-ui-components-comment-editor.mjs.map +1 -0
  46. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs +177 -0
  47. package/fesm2022/ngstarter-ui-components-comparison-slider.mjs.map +1 -0
  48. package/fesm2022/ngstarter-ui-components-confirm.mjs +85 -0
  49. package/fesm2022/ngstarter-ui-components-confirm.mjs.map +1 -0
  50. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs +173 -0
  51. package/fesm2022/ngstarter-ui-components-content-editor-code-block.component-Bk6QTli8.mjs.map +1 -0
  52. package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs +124 -0
  53. package/fesm2022/ngstarter-ui-components-content-editor-content-editor-content-editable.directive-Bvfa2dqh.mjs.map +1 -0
  54. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs +99 -0
  55. package/fesm2022/ngstarter-ui-components-content-editor-cursor-controller-4Ak8VqGX.mjs.map +1 -0
  56. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs +33 -0
  57. package/fesm2022/ngstarter-ui-components-content-editor-divider-block.component-C_iRTCPH.mjs.map +1 -0
  58. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs +354 -0
  59. package/fesm2022/ngstarter-ui-components-content-editor-embed-block-BbkC_t86.mjs.map +1 -0
  60. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs +114 -0
  61. package/fesm2022/ngstarter-ui-components-content-editor-heading-block.component-D9_CxTY1.mjs.map +1 -0
  62. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs +146 -0
  63. package/fesm2022/ngstarter-ui-components-content-editor-image-block.component-B4zJyUg1.mjs.map +1 -0
  64. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs +215 -0
  65. package/fesm2022/ngstarter-ui-components-content-editor-list-block.component-Cv6wx5Xe.mjs.map +1 -0
  66. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs +2548 -0
  67. package/fesm2022/ngstarter-ui-components-content-editor-ngstarter-ui-components-content-editor-1Zi2nAX5.mjs.map +1 -0
  68. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs +110 -0
  69. package/fesm2022/ngstarter-ui-components-content-editor-paragraph-block.component-C9bQvDYU.mjs.map +1 -0
  70. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs +141 -0
  71. package/fesm2022/ngstarter-ui-components-content-editor-quote-block.component-BbHds2r2.mjs.map +1 -0
  72. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs +1604 -0
  73. package/fesm2022/ngstarter-ui-components-content-editor-table-block.component-DlDh7Fnn.mjs.map +1 -0
  74. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs +175 -0
  75. package/fesm2022/ngstarter-ui-components-content-editor-video-block.component-m4DTihP2.mjs.map +1 -0
  76. package/fesm2022/ngstarter-ui-components-content-editor.mjs +2 -0
  77. package/fesm2022/ngstarter-ui-components-content-editor.mjs.map +1 -0
  78. package/fesm2022/ngstarter-ui-components-content-fade.mjs +35 -0
  79. package/fesm2022/ngstarter-ui-components-content-fade.mjs.map +1 -0
  80. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs +107 -0
  81. package/fesm2022/ngstarter-ui-components-cookie-popup.mjs.map +1 -0
  82. package/fesm2022/ngstarter-ui-components-core.mjs +1330 -0
  83. package/fesm2022/ngstarter-ui-components-core.mjs.map +1 -0
  84. package/fesm2022/ngstarter-ui-components-country-select.mjs +489 -0
  85. package/fesm2022/ngstarter-ui-components-country-select.mjs.map +1 -0
  86. package/fesm2022/ngstarter-ui-components-crop.mjs +183 -0
  87. package/fesm2022/ngstarter-ui-components-crop.mjs.map +1 -0
  88. package/fesm2022/ngstarter-ui-components-currency-select.mjs +397 -0
  89. package/fesm2022/ngstarter-ui-components-currency-select.mjs.map +1 -0
  90. package/fesm2022/ngstarter-ui-components-data-view.mjs +1494 -0
  91. package/fesm2022/ngstarter-ui-components-data-view.mjs.map +1 -0
  92. package/fesm2022/ngstarter-ui-components-date-format-select.mjs +154 -0
  93. package/fesm2022/ngstarter-ui-components-date-format-select.mjs.map +1 -0
  94. package/fesm2022/ngstarter-ui-components-datepicker.mjs +1159 -0
  95. package/fesm2022/ngstarter-ui-components-datepicker.mjs.map +1 -0
  96. package/fesm2022/ngstarter-ui-components-dialog.mjs +357 -0
  97. package/fesm2022/ngstarter-ui-components-dialog.mjs.map +1 -0
  98. package/fesm2022/ngstarter-ui-components-divider.mjs +42 -0
  99. package/fesm2022/ngstarter-ui-components-divider.mjs.map +1 -0
  100. package/fesm2022/ngstarter-ui-components-drawer.mjs +132 -0
  101. package/fesm2022/ngstarter-ui-components-drawer.mjs.map +1 -0
  102. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs +245 -0
  103. package/fesm2022/ngstarter-ui-components-emoji-picker.mjs.map +1 -0
  104. package/fesm2022/ngstarter-ui-components-empty-state.mjs +75 -0
  105. package/fesm2022/ngstarter-ui-components-empty-state.mjs.map +1 -0
  106. package/fesm2022/ngstarter-ui-components-expand.mjs +56 -0
  107. package/fesm2022/ngstarter-ui-components-expand.mjs.map +1 -0
  108. package/fesm2022/ngstarter-ui-components-expansion.mjs +193 -0
  109. package/fesm2022/ngstarter-ui-components-expansion.mjs.map +1 -0
  110. package/fesm2022/ngstarter-ui-components-filter-builder.mjs +333 -0
  111. package/fesm2022/ngstarter-ui-components-filter-builder.mjs.map +1 -0
  112. package/fesm2022/ngstarter-ui-components-form-field.mjs +230 -0
  113. package/fesm2022/ngstarter-ui-components-form-field.mjs.map +1 -0
  114. package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs +124 -0
  115. package/fesm2022/ngstarter-ui-components-form-renderer-autocomplete-many-field-BKQVlZHV.mjs.map +1 -0
  116. package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs +22 -0
  117. package/fesm2022/ngstarter-ui-components-form-renderer-checkbox-field-CoyKdvhV.mjs.map +1 -0
  118. package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs +44 -0
  119. package/fesm2022/ngstarter-ui-components-form-renderer-datepicker-field-Bzc0TPO9.mjs.map +1 -0
  120. package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs +17 -0
  121. package/fesm2022/ngstarter-ui-components-form-renderer-divider-content-CwGzDCZv.mjs.map +1 -0
  122. package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs +17 -0
  123. package/fesm2022/ngstarter-ui-components-form-renderer-image-content-ICTwkZPa.mjs.map +1 -0
  124. package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs +35 -0
  125. package/fesm2022/ngstarter-ui-components-form-renderer-input-field-RYxi-Mpw.mjs.map +1 -0
  126. package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs +38 -0
  127. package/fesm2022/ngstarter-ui-components-form-renderer-radio-group-field-Cv3AGpoq.mjs.map +1 -0
  128. package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs +39 -0
  129. package/fesm2022/ngstarter-ui-components-form-renderer-select-field-eLcwI-BY.mjs.map +1 -0
  130. package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs +24 -0
  131. package/fesm2022/ngstarter-ui-components-form-renderer-text-content-BjzH_M3-.mjs.map +1 -0
  132. package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs +37 -0
  133. package/fesm2022/ngstarter-ui-components-form-renderer-textarea-field-4zH7FTQ1.mjs.map +1 -0
  134. package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs +35 -0
  135. package/fesm2022/ngstarter-ui-components-form-renderer-timezone-field-BpH65Hd-.mjs.map +1 -0
  136. package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs +22 -0
  137. package/fesm2022/ngstarter-ui-components-form-renderer-toggle-field-iyqUrWxt.mjs.map +1 -0
  138. package/fesm2022/ngstarter-ui-components-form-renderer.mjs +317 -0
  139. package/fesm2022/ngstarter-ui-components-form-renderer.mjs.map +1 -0
  140. package/fesm2022/ngstarter-ui-components-gauge.mjs +44 -0
  141. package/fesm2022/ngstarter-ui-components-gauge.mjs.map +1 -0
  142. package/fesm2022/ngstarter-ui-components-grid.mjs +78 -0
  143. package/fesm2022/ngstarter-ui-components-grid.mjs.map +1 -0
  144. package/fesm2022/ngstarter-ui-components-guided-tour.mjs +736 -0
  145. package/fesm2022/ngstarter-ui-components-guided-tour.mjs.map +1 -0
  146. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs +192 -0
  147. package/fesm2022/ngstarter-ui-components-headless-stepper.mjs.map +1 -0
  148. package/fesm2022/ngstarter-ui-components-icon.mjs +61 -0
  149. package/fesm2022/ngstarter-ui-components-icon.mjs.map +1 -0
  150. package/fesm2022/ngstarter-ui-components-image-designer.mjs +4016 -0
  151. package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -0
  152. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs +20 -0
  153. package/fesm2022/ngstarter-ui-components-image-placeholder.mjs.map +1 -0
  154. package/fesm2022/ngstarter-ui-components-image-resizer.mjs +151 -0
  155. package/fesm2022/ngstarter-ui-components-image-resizer.mjs.map +1 -0
  156. package/fesm2022/ngstarter-ui-components-image-viewer.mjs +349 -0
  157. package/fesm2022/ngstarter-ui-components-image-viewer.mjs.map +1 -0
  158. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs +162 -0
  159. package/fesm2022/ngstarter-ui-components-image-zoom-viewer.mjs.map +1 -0
  160. package/fesm2022/ngstarter-ui-components-incidents.mjs +257 -0
  161. package/fesm2022/ngstarter-ui-components-incidents.mjs.map +1 -0
  162. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs +179 -0
  163. package/fesm2022/ngstarter-ui-components-inline-text-edit.mjs.map +1 -0
  164. package/fesm2022/ngstarter-ui-components-input-mask.mjs +180 -0
  165. package/fesm2022/ngstarter-ui-components-input-mask.mjs.map +1 -0
  166. package/fesm2022/ngstarter-ui-components-input-validator.mjs +24 -0
  167. package/fesm2022/ngstarter-ui-components-input-validator.mjs.map +1 -0
  168. package/fesm2022/ngstarter-ui-components-input.mjs +152 -0
  169. package/fesm2022/ngstarter-ui-components-input.mjs.map +1 -0
  170. package/fesm2022/ngstarter-ui-components-kanban-board.mjs +156 -0
  171. package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -0
  172. package/fesm2022/ngstarter-ui-components-kbd.mjs +31 -0
  173. package/fesm2022/ngstarter-ui-components-kbd.mjs.map +1 -0
  174. package/fesm2022/ngstarter-ui-components-layout.mjs +199 -0
  175. package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -0
  176. package/fesm2022/ngstarter-ui-components-list.mjs +279 -0
  177. package/fesm2022/ngstarter-ui-components-list.mjs.map +1 -0
  178. package/fesm2022/ngstarter-ui-components-logo.mjs +51 -0
  179. package/fesm2022/ngstarter-ui-components-logo.mjs.map +1 -0
  180. package/fesm2022/ngstarter-ui-components-marquee.mjs +76 -0
  181. package/fesm2022/ngstarter-ui-components-marquee.mjs.map +1 -0
  182. package/fesm2022/ngstarter-ui-components-menu.mjs +851 -0
  183. package/fesm2022/ngstarter-ui-components-menu.mjs.map +1 -0
  184. package/fesm2022/ngstarter-ui-components-micro-chart.mjs +928 -0
  185. package/fesm2022/ngstarter-ui-components-micro-chart.mjs.map +1 -0
  186. package/fesm2022/ngstarter-ui-components-navigation.mjs +439 -0
  187. package/fesm2022/ngstarter-ui-components-navigation.mjs.map +1 -0
  188. package/fesm2022/ngstarter-ui-components-notifications.mjs +181 -0
  189. package/fesm2022/ngstarter-ui-components-notifications.mjs.map +1 -0
  190. package/fesm2022/ngstarter-ui-components-number-input.mjs +293 -0
  191. package/fesm2022/ngstarter-ui-components-number-input.mjs.map +1 -0
  192. package/fesm2022/ngstarter-ui-components-option.mjs +157 -0
  193. package/fesm2022/ngstarter-ui-components-option.mjs.map +1 -0
  194. package/fesm2022/ngstarter-ui-components-overlay.mjs +112 -0
  195. package/fesm2022/ngstarter-ui-components-overlay.mjs.map +1 -0
  196. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs +77 -0
  197. package/fesm2022/ngstarter-ui-components-page-loading-bar.mjs.map +1 -0
  198. package/fesm2022/ngstarter-ui-components-paginator.mjs +297 -0
  199. package/fesm2022/ngstarter-ui-components-paginator.mjs.map +1 -0
  200. package/fesm2022/ngstarter-ui-components-panel.mjs +123 -0
  201. package/fesm2022/ngstarter-ui-components-panel.mjs.map +1 -0
  202. package/fesm2022/ngstarter-ui-components-password-strength.mjs +335 -0
  203. package/fesm2022/ngstarter-ui-components-password-strength.mjs.map +1 -0
  204. package/fesm2022/ngstarter-ui-components-phone-input.mjs +651 -0
  205. package/fesm2022/ngstarter-ui-components-phone-input.mjs.map +1 -0
  206. package/fesm2022/ngstarter-ui-components-pin-input.mjs +193 -0
  207. package/fesm2022/ngstarter-ui-components-pin-input.mjs.map +1 -0
  208. package/fesm2022/ngstarter-ui-components-popover.mjs +302 -0
  209. package/fesm2022/ngstarter-ui-components-popover.mjs.map +1 -0
  210. package/fesm2022/ngstarter-ui-components-progress-bar.mjs +68 -0
  211. package/fesm2022/ngstarter-ui-components-progress-bar.mjs.map +1 -0
  212. package/fesm2022/ngstarter-ui-components-radio-card.mjs +102 -0
  213. package/fesm2022/ngstarter-ui-components-radio-card.mjs.map +1 -0
  214. package/fesm2022/ngstarter-ui-components-radio.mjs +147 -0
  215. package/fesm2022/ngstarter-ui-components-radio.mjs.map +1 -0
  216. package/fesm2022/ngstarter-ui-components-rail-nav.mjs +87 -0
  217. package/fesm2022/ngstarter-ui-components-rail-nav.mjs.map +1 -0
  218. package/fesm2022/ngstarter-ui-components-resizable-container.mjs +74 -0
  219. package/fesm2022/ngstarter-ui-components-resizable-container.mjs.map +1 -0
  220. package/fesm2022/ngstarter-ui-components-screen-loader.mjs +95 -0
  221. package/fesm2022/ngstarter-ui-components-screen-loader.mjs.map +1 -0
  222. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +219 -0
  223. package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -0
  224. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs +459 -0
  225. package/fesm2022/ngstarter-ui-components-scrollbar-area.mjs.map +1 -0
  226. package/fesm2022/ngstarter-ui-components-segmented.mjs +218 -0
  227. package/fesm2022/ngstarter-ui-components-segmented.mjs.map +1 -0
  228. package/fesm2022/ngstarter-ui-components-select.mjs +496 -0
  229. package/fesm2022/ngstarter-ui-components-select.mjs.map +1 -0
  230. package/fesm2022/ngstarter-ui-components-side-panel.mjs +107 -0
  231. package/fesm2022/ngstarter-ui-components-side-panel.mjs.map +1 -0
  232. package/fesm2022/ngstarter-ui-components-sidebar.mjs +435 -0
  233. package/fesm2022/ngstarter-ui-components-sidebar.mjs.map +1 -0
  234. package/fesm2022/ngstarter-ui-components-sidenav.mjs +354 -0
  235. package/fesm2022/ngstarter-ui-components-sidenav.mjs.map +1 -0
  236. package/fesm2022/ngstarter-ui-components-signature-pad.mjs +452 -0
  237. package/fesm2022/ngstarter-ui-components-signature-pad.mjs.map +1 -0
  238. package/fesm2022/ngstarter-ui-components-skeleton.mjs +22 -0
  239. package/fesm2022/ngstarter-ui-components-skeleton.mjs.map +1 -0
  240. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs +93 -0
  241. package/fesm2022/ngstarter-ui-components-slide-toggle.mjs.map +1 -0
  242. package/fesm2022/ngstarter-ui-components-slider.mjs +481 -0
  243. package/fesm2022/ngstarter-ui-components-slider.mjs.map +1 -0
  244. package/fesm2022/ngstarter-ui-components-snack-bar.mjs +354 -0
  245. package/fesm2022/ngstarter-ui-components-snack-bar.mjs.map +1 -0
  246. package/fesm2022/ngstarter-ui-components-sort.mjs +140 -0
  247. package/fesm2022/ngstarter-ui-components-sort.mjs.map +1 -0
  248. package/fesm2022/ngstarter-ui-components-spinner.mjs +75 -0
  249. package/fesm2022/ngstarter-ui-components-spinner.mjs.map +1 -0
  250. package/fesm2022/ngstarter-ui-components-splash-screen.mjs +93 -0
  251. package/fesm2022/ngstarter-ui-components-splash-screen.mjs.map +1 -0
  252. package/fesm2022/ngstarter-ui-components-split.mjs +948 -0
  253. package/fesm2022/ngstarter-ui-components-split.mjs.map +1 -0
  254. package/fesm2022/ngstarter-ui-components-stepper.mjs +103 -0
  255. package/fesm2022/ngstarter-ui-components-stepper.mjs.map +1 -0
  256. package/fesm2022/ngstarter-ui-components-suggestions.mjs +72 -0
  257. package/fesm2022/ngstarter-ui-components-suggestions.mjs.map +1 -0
  258. package/fesm2022/ngstarter-ui-components-tab-panel.mjs +265 -0
  259. package/fesm2022/ngstarter-ui-components-tab-panel.mjs.map +1 -0
  260. package/fesm2022/ngstarter-ui-components-table.mjs +648 -0
  261. package/fesm2022/ngstarter-ui-components-table.mjs.map +1 -0
  262. package/fesm2022/ngstarter-ui-components-tabs.mjs +591 -0
  263. package/fesm2022/ngstarter-ui-components-tabs.mjs.map +1 -0
  264. package/fesm2022/ngstarter-ui-components-text-editor.mjs +1012 -0
  265. package/fesm2022/ngstarter-ui-components-text-editor.mjs.map +1 -0
  266. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs +212 -0
  267. package/fesm2022/ngstarter-ui-components-thumbnail-maker.mjs.map +1 -0
  268. package/fesm2022/ngstarter-ui-components-tiles.mjs +634 -0
  269. package/fesm2022/ngstarter-ui-components-tiles.mjs.map +1 -0
  270. package/fesm2022/ngstarter-ui-components-timeline.mjs +122 -0
  271. package/fesm2022/ngstarter-ui-components-timeline.mjs.map +1 -0
  272. package/fesm2022/ngstarter-ui-components-timepicker.mjs +486 -0
  273. package/fesm2022/ngstarter-ui-components-timepicker.mjs.map +1 -0
  274. package/fesm2022/ngstarter-ui-components-timezone-select.mjs +371 -0
  275. package/fesm2022/ngstarter-ui-components-timezone-select.mjs.map +1 -0
  276. package/fesm2022/ngstarter-ui-components-toolbar.mjs +299 -0
  277. package/fesm2022/ngstarter-ui-components-toolbar.mjs.map +1 -0
  278. package/fesm2022/ngstarter-ui-components-tooltip.mjs +506 -0
  279. package/fesm2022/ngstarter-ui-components-tooltip.mjs.map +1 -0
  280. package/fesm2022/ngstarter-ui-components-tree.mjs +200 -0
  281. package/fesm2022/ngstarter-ui-components-tree.mjs.map +1 -0
  282. package/fesm2022/ngstarter-ui-components-upload.mjs +330 -0
  283. package/fesm2022/ngstarter-ui-components-upload.mjs.map +1 -0
  284. package/fesm2022/ngstarter-ui-components-video-player.mjs +516 -0
  285. package/fesm2022/ngstarter-ui-components-video-player.mjs.map +1 -0
  286. package/fesm2022/ngstarter-ui-components-video-viewer.mjs +218 -0
  287. package/fesm2022/ngstarter-ui-components-video-viewer.mjs.map +1 -0
  288. package/fesm2022/ngstarter-ui-components-visual-builder.mjs +18 -0
  289. package/fesm2022/ngstarter-ui-components-visual-builder.mjs.map +1 -0
  290. package/fesm2022/ngstarter-ui-components.mjs +6 -0
  291. package/fesm2022/ngstarter-ui-components.mjs.map +1 -0
  292. package/package.json +535 -0
  293. package/styles/_common.scss +456 -0
  294. package/styles/_global.scss +91 -0
  295. package/styles/themes/default.scss +2 -0
  296. package/types/ngstarter-ui-components-action-required.d.ts +14 -0
  297. package/types/ngstarter-ui-components-alert.d.ts +50 -0
  298. package/types/ngstarter-ui-components-announcement.d.ts +59 -0
  299. package/types/ngstarter-ui-components-autocomplete.d.ts +83 -0
  300. package/types/ngstarter-ui-components-avatar.d.ts +69 -0
  301. package/types/ngstarter-ui-components-badge.d.ts +38 -0
  302. package/types/ngstarter-ui-components-block-loader.d.ts +21 -0
  303. package/types/ngstarter-ui-components-bottom-sheet.d.ts +149 -0
  304. package/types/ngstarter-ui-components-breadcrumbs.d.ts +104 -0
  305. package/types/ngstarter-ui-components-button-toggle.d.ts +54 -0
  306. package/types/ngstarter-ui-components-button.d.ts +27 -0
  307. package/types/ngstarter-ui-components-card-overlay.d.ts +20 -0
  308. package/types/ngstarter-ui-components-card.d.ts +85 -0
  309. package/types/ngstarter-ui-components-carousel.d.ts +76 -0
  310. package/types/ngstarter-ui-components-checkbox.d.ts +94 -0
  311. package/types/ngstarter-ui-components-chips.d.ts +189 -0
  312. package/types/ngstarter-ui-components-code-highlighter.d.ts +28 -0
  313. package/types/ngstarter-ui-components-color-picker.d.ts +92 -0
  314. package/types/ngstarter-ui-components-color-scheme.d.ts +44 -0
  315. package/types/ngstarter-ui-components-color-switcher.d.ts +26 -0
  316. package/types/ngstarter-ui-components-command-bar.d.ts +28 -0
  317. package/types/ngstarter-ui-components-comment-editor.d.ts +194 -0
  318. package/types/ngstarter-ui-components-comparison-slider.d.ts +42 -0
  319. package/types/ngstarter-ui-components-confirm.d.ts +34 -0
  320. package/types/ngstarter-ui-components-content-editor.d.ts +321 -0
  321. package/types/ngstarter-ui-components-content-fade.d.ts +17 -0
  322. package/types/ngstarter-ui-components-cookie-popup.d.ts +41 -0
  323. package/types/ngstarter-ui-components-core.d.ts +421 -0
  324. package/types/ngstarter-ui-components-country-select.d.ts +78 -0
  325. package/types/ngstarter-ui-components-crop.d.ts +59 -0
  326. package/types/ngstarter-ui-components-currency-select.d.ts +82 -0
  327. package/types/ngstarter-ui-components-data-view.d.ts +391 -0
  328. package/types/ngstarter-ui-components-date-format-select.d.ts +59 -0
  329. package/types/ngstarter-ui-components-datepicker.d.ts +384 -0
  330. package/types/ngstarter-ui-components-dialog.d.ts +115 -0
  331. package/types/ngstarter-ui-components-divider.d.ts +18 -0
  332. package/types/ngstarter-ui-components-drawer.d.ts +32 -0
  333. package/types/ngstarter-ui-components-emoji-picker.d.ts +49 -0
  334. package/types/ngstarter-ui-components-empty-state.d.ts +33 -0
  335. package/types/ngstarter-ui-components-expand.d.ts +26 -0
  336. package/types/ngstarter-ui-components-expansion.d.ts +68 -0
  337. package/types/ngstarter-ui-components-filter-builder.d.ts +106 -0
  338. package/types/ngstarter-ui-components-form-field.d.ts +107 -0
  339. package/types/ngstarter-ui-components-form-renderer.d.ts +121 -0
  340. package/types/ngstarter-ui-components-gauge.d.ts +21 -0
  341. package/types/ngstarter-ui-components-grid.d.ts +45 -0
  342. package/types/ngstarter-ui-components-guided-tour.d.ts +227 -0
  343. package/types/ngstarter-ui-components-headless-stepper.d.ts +65 -0
  344. package/types/ngstarter-ui-components-icon.d.ts +17 -0
  345. package/types/ngstarter-ui-components-image-designer.d.ts +357 -0
  346. package/types/ngstarter-ui-components-image-placeholder.d.ts +8 -0
  347. package/types/ngstarter-ui-components-image-resizer.d.ts +35 -0
  348. package/types/ngstarter-ui-components-image-viewer.d.ts +63 -0
  349. package/types/ngstarter-ui-components-image-zoom-viewer.d.ts +34 -0
  350. package/types/ngstarter-ui-components-incidents.d.ts +119 -0
  351. package/types/ngstarter-ui-components-inline-text-edit.d.ts +39 -0
  352. package/types/ngstarter-ui-components-input-mask.d.ts +36 -0
  353. package/types/ngstarter-ui-components-input-validator.d.ts +5 -0
  354. package/types/ngstarter-ui-components-input.d.ts +53 -0
  355. package/types/ngstarter-ui-components-kanban-board.d.ts +68 -0
  356. package/types/ngstarter-ui-components-kbd.d.ts +13 -0
  357. package/types/ngstarter-ui-components-layout.d.ts +83 -0
  358. package/types/ngstarter-ui-components-list.d.ts +98 -0
  359. package/types/ngstarter-ui-components-logo.d.ts +26 -0
  360. package/types/ngstarter-ui-components-marquee.d.ts +27 -0
  361. package/types/ngstarter-ui-components-menu.d.ts +199 -0
  362. package/types/ngstarter-ui-components-micro-chart.d.ts +195 -0
  363. package/types/ngstarter-ui-components-navigation.d.ts +136 -0
  364. package/types/ngstarter-ui-components-notifications.d.ts +84 -0
  365. package/types/ngstarter-ui-components-number-input.d.ts +99 -0
  366. package/types/ngstarter-ui-components-option.d.ts +61 -0
  367. package/types/ngstarter-ui-components-overlay.d.ts +12 -0
  368. package/types/ngstarter-ui-components-page-loading-bar.d.ts +20 -0
  369. package/types/ngstarter-ui-components-paginator.d.ts +145 -0
  370. package/types/ngstarter-ui-components-panel.d.ts +59 -0
  371. package/types/ngstarter-ui-components-password-strength.d.ts +109 -0
  372. package/types/ngstarter-ui-components-phone-input.d.ts +103 -0
  373. package/types/ngstarter-ui-components-pin-input.d.ts +48 -0
  374. package/types/ngstarter-ui-components-popover.d.ts +94 -0
  375. package/types/ngstarter-ui-components-progress-bar.d.ts +30 -0
  376. package/types/ngstarter-ui-components-radio-card.d.ts +37 -0
  377. package/types/ngstarter-ui-components-radio.d.ts +45 -0
  378. package/types/ngstarter-ui-components-rail-nav.d.ts +36 -0
  379. package/types/ngstarter-ui-components-resizable-container.d.ts +25 -0
  380. package/types/ngstarter-ui-components-screen-loader.d.ts +34 -0
  381. package/types/ngstarter-ui-components-scroll-spy.d.ts +63 -0
  382. package/types/ngstarter-ui-components-scrollbar-area.d.ts +67 -0
  383. package/types/ngstarter-ui-components-segmented.d.ts +65 -0
  384. package/types/ngstarter-ui-components-select.d.ts +126 -0
  385. package/types/ngstarter-ui-components-side-panel.d.ts +42 -0
  386. package/types/ngstarter-ui-components-sidebar.d.ts +143 -0
  387. package/types/ngstarter-ui-components-sidenav.d.ts +86 -0
  388. package/types/ngstarter-ui-components-signature-pad.d.ts +49 -0
  389. package/types/ngstarter-ui-components-skeleton.d.ts +9 -0
  390. package/types/ngstarter-ui-components-slide-toggle.d.ts +41 -0
  391. package/types/ngstarter-ui-components-slider.d.ts +85 -0
  392. package/types/ngstarter-ui-components-snack-bar.d.ts +142 -0
  393. package/types/ngstarter-ui-components-sort.d.ts +66 -0
  394. package/types/ngstarter-ui-components-spinner.d.ts +28 -0
  395. package/types/ngstarter-ui-components-splash-screen.d.ts +31 -0
  396. package/types/ngstarter-ui-components-split.d.ts +210 -0
  397. package/types/ngstarter-ui-components-stepper.d.ts +44 -0
  398. package/types/ngstarter-ui-components-suggestions.d.ts +32 -0
  399. package/types/ngstarter-ui-components-tab-panel.d.ts +96 -0
  400. package/types/ngstarter-ui-components-table.d.ts +277 -0
  401. package/types/ngstarter-ui-components-tabs.d.ts +145 -0
  402. package/types/ngstarter-ui-components-text-editor.d.ts +191 -0
  403. package/types/ngstarter-ui-components-thumbnail-maker.d.ts +35 -0
  404. package/types/ngstarter-ui-components-tiles.d.ts +109 -0
  405. package/types/ngstarter-ui-components-timeline.d.ts +57 -0
  406. package/types/ngstarter-ui-components-timepicker.d.ts +115 -0
  407. package/types/ngstarter-ui-components-timezone-select.d.ts +75 -0
  408. package/types/ngstarter-ui-components-toolbar.d.ts +74 -0
  409. package/types/ngstarter-ui-components-tooltip.d.ts +52 -0
  410. package/types/ngstarter-ui-components-tree.d.ts +60 -0
  411. package/types/ngstarter-ui-components-upload.d.ts +134 -0
  412. package/types/ngstarter-ui-components-video-player.d.ts +67 -0
  413. package/types/ngstarter-ui-components-video-viewer.d.ts +98 -0
  414. package/types/ngstarter-ui-components-visual-builder.d.ts +8 -0
  415. package/types/ngstarter-ui-components.d.ts +2 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngstarter-ui-components-video-player.mjs","sources":["../../../projects/components/video-player/src/video-player.service.ts","../../../projects/components/video-player/src/video-player/video-player.ts","../../../projects/components/video-player/src/video-player/video-player.html","../../../projects/components/video-player/ngstarter-ui-components-video-player.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\n\nexport interface VideoPlayerInterface {\n pause(): void;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class VideoPlayerService {\n private activePlayer = signal<VideoPlayerInterface | null>(null);\n\n setActivePlayer(player: VideoPlayerInterface) {\n const currentActive = this.activePlayer();\n if (currentActive && currentActive !== player) {\n currentActive.pause();\n }\n this.activePlayer.set(player);\n }\n\n clearActivePlayer(player: VideoPlayerInterface) {\n if (this.activePlayer() === player) {\n this.activePlayer.set(null);\n }\n }\n}\n","import {\n AfterViewInit,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n OnDestroy,\n signal,\n viewChild,\n ChangeDetectionStrategy, untracked, booleanAttribute, output, PLATFORM_ID\n} from '@angular/core';\nimport videojs from 'video.js';\nimport { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { Button } from '@ngstarter-ui/components/button';\nimport { Slider, SliderThumb } from '@ngstarter-ui/components/slider';\nimport { ProgressSpinner } from '@ngstarter-ui/components/spinner';\nimport { fromEvent, Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { VideoPlayerService } from '../video-player.service';\n\nexport type VideoPlayerOrientation = 'landscape' | 'portrait' | 'square' | string;\n\n@Component({\n selector: 'ngs-video-player',\n exportAs: 'ngsVideoPlayer',\n standalone: true,\n imports: [\n Icon,\n Button,\n Slider,\n SliderThumb,\n ProgressSpinner\n ],\n templateUrl: './video-player.html',\n styleUrl: './video-player.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n 'class': 'ngs-video-player not-prose',\n '[class.aspect-video]': 'finalOrientation() === \"landscape\"',\n '[class.aspect-square]': 'finalOrientation() === \"square\"',\n '[class.aspect-portrait]': 'finalOrientation() === \"portrait\"',\n '[class.is-loaded]': 'loaded()'\n }\n})\nexport class VideoPlayer implements AfterViewInit, OnDestroy {\n private readonly document = inject(DOCUMENT);\n private readonly destroyRef = inject(DestroyRef);\n private readonly videoPlayerService = inject(VideoPlayerService);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly isBrowser = isPlatformBrowser(this.platformId);\n\n src = input<string | null>(null);\n thumbnailUrl = input<string | null | undefined>(null);\n payload = input<any | null>(null);\n orientation = input<VideoPlayerOrientation | undefined>(undefined);\n autoPlay = input(false, {\n transform: booleanAttribute\n });\n showPlayButton = input(true, {\n transform: booleanAttribute\n });\n showSpeaker = input(true, {\n transform: booleanAttribute\n });\n showFullscreen = input(true, {\n transform: booleanAttribute\n });\n showDurationSlider = input(true, {\n transform: booleanAttribute\n });\n disableClickToPlay = input(false, {\n transform: booleanAttribute\n });\n muted = input(false, {\n transform: booleanAttribute\n });\n withCredentials = input(false, {\n transform: booleanAttribute\n });\n\n videoContainer = viewChild.required<ElementRef<HTMLDivElement>>('videoContainer');\n private videoElement: HTMLVideoElement | null = null;\n loaded = signal(false);\n isLoading = computed(() => !this.loaded() && !this.error());\n isPlaying = signal(false);\n isPaused = computed(() => !this.isPlaying());\n hasStarted = signal(false);\n currentTime = signal(0);\n duration = signal(0);\n volume = signal(1);\n isMuted = signal(false);\n isFullscreen = signal(false);\n error = signal<any>(null);\n\n onPlay = output<void>({ alias: 'play' });\n onPause = output<void>({ alias: 'pause' });\n onEnded = output<void>({ alias: 'ended' });\n onLoaded = output<void>({ alias: 'loaded' });\n onError = output<any>({ alias: 'error' });\n\n finalOrientation = computed(() => {\n return this.orientation() || this.payload()?.orientation;\n });\n\n private player: any | null = null;\n private readonly elementEventsCleanup$ = new Subject<void>();\n\n private isViewInitialized = false;\n\n constructor() {\n effect(() => {\n this.isMuted.set(this.muted());\n });\n\n effect(() => {\n const src = this.src();\n\n if (this.isViewInitialized) {\n untracked(() => {\n // Only reset loaded state if the source actually changed\n // This prevents \"appearing then disappearing\" if src is set to the same value\n // video.js might have changed the src, or it might be different format\n const currentSrc = this.player ? this.player.currentSrc() : this.videoElement?.src;\n\n // Basic comparison, might need improvement for relative URLs\n if (src && currentSrc !== src && !currentSrc?.endsWith(src)) {\n this.loaded.set(false);\n this.isPlaying.set(false);\n this.hasStarted.set(false);\n this.error.set(null);\n this.updateSrc(src);\n } else if (!src) {\n this.loaded.set(false);\n this.isPlaying.set(false);\n this.hasStarted.set(false);\n this.error.set(null);\n this.initPlayer();\n }\n });\n }\n });\n\n effect(() => {\n const isMuted = this.isMuted();\n\n if (this.videoElement) {\n this.videoElement.muted = isMuted;\n }\n });\n\n effect(() => {\n const isPlaying = this.isPlaying();\n\n if (isPlaying) {\n untracked(() => {\n this.videoPlayerService.setActivePlayer(this);\n });\n }\n });\n }\n\n ngAfterViewInit() {\n if (this.isBrowser) {\n this.isViewInitialized = true;\n this.initPlayer();\n }\n }\n\n private onLoadedData = () => {\n this.loaded.set(true);\n if (this.videoElement && this.duration() === 0) {\n const nativeDuration = this.videoElement.duration;\n if (nativeDuration && !isNaN(nativeDuration)) {\n this.duration.set(nativeDuration);\n }\n }\n this.onLoaded.emit();\n };\n\n private onTimeUpdate = () => {\n if (this.player) {\n const time = this.player.currentTime();\n this.currentTime.set(time);\n if (time > 0.1 && !this.hasStarted()) {\n this.hasStarted.set(true);\n }\n return;\n }\n if (this.videoElement) {\n const time = this.videoElement.currentTime;\n this.currentTime.set(time);\n if (time > 0.1 && !this.hasStarted()) {\n this.hasStarted.set(true);\n }\n }\n };\n\n private onLoadedMetadata = () => {\n if (this.player) {\n this.duration.set(this.player.duration());\n return;\n }\n if (this.videoElement) {\n this.duration.set(this.videoElement.duration);\n }\n };\n\n private onPlayInternal = () => {\n this.isPlaying.set(true);\n // Explicitly set hasStarted to true when playback actually begins\n if (!this.hasStarted()) {\n this.hasStarted.set(true);\n }\n };\n\n private onPauseInternal = () => {\n this.isPlaying.set(false);\n this.videoPlayerService.clearActivePlayer(this);\n // Note: we don't reset hasStarted on pause\n };\n\n private setupEvents() {\n if (!this.videoElement) {\n return;\n }\n\n this.elementEventsCleanup$.next();\n const nativeElement = this.videoElement;\n\n // If the video is already loaded or in a state where it can be played, trigger onLoadedData\n if (nativeElement.readyState >= 2) {\n setTimeout(() => {\n this.onLoadedData();\n this.onLoadedMetadata();\n });\n }\n\n fromEvent(nativeElement, 'loadeddata')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onLoadedData();\n });\n\n fromEvent(nativeElement, 'canplay')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onLoadedData();\n });\n\n fromEvent(nativeElement, 'error')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((e) => {\n // If Video.js is active, ignore native element errors as they might be redundant or misleading\n if (this.player) {\n return;\n }\n const error = (nativeElement).error;\n console.error('VideoPlayer: element error', error);\n this.error.set(error);\n this.onError.emit(error);\n });\n\n fromEvent(nativeElement, 'timeupdate')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => this.onTimeUpdate());\n\n fromEvent(nativeElement, 'loadedmetadata')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => this.onLoadedMetadata());\n\n fromEvent(nativeElement, 'play')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onPlayInternal();\n this.onPlay.emit();\n });\n\n fromEvent(nativeElement, 'playing')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onPlayInternal();\n });\n\n fromEvent(nativeElement, 'pause')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onPauseInternal();\n this.onPause.emit();\n });\n\n fromEvent(nativeElement, 'ended')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => {\n this.onPauseInternal();\n this.onEnded.emit();\n });\n\n fromEvent(this.document, 'fullscreenchange')\n .pipe(\n takeUntil(this.elementEventsCleanup$),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe(() => this.onFullscreenChange());\n }\n\n private onFullscreenChange = () => {\n this.isFullscreen.set(!!this.document.fullscreenElement);\n };\n\n toggleFullscreen() {\n const container = this.videoContainer().nativeElement;\n if (!container) return;\n\n if (!this.document.fullscreenElement) {\n container.requestFullscreen().catch(err => {\n console.error(`Error attempting to enable full-screen mode: ${err.message}`);\n });\n } else {\n this.document.exitFullscreen();\n }\n }\n\n pause() {\n if (this.player) {\n this.player.pause();\n } else if (this.videoElement) {\n this.videoElement.pause();\n }\n }\n\n togglePlay() {\n if (this.error()) {\n return;\n }\n\n if (this.player) {\n if (this.player.paused()) {\n const playPromise = this.player.play();\n if (playPromise !== undefined && typeof playPromise.then === 'function') {\n playPromise.then(() => {\n this.hasStarted.set(true);\n this.videoPlayerService.setActivePlayer(this);\n }).catch((err: any) => {\n console.error('VideoPlayer: error attempting to play video via player:', err);\n });\n } else {\n this.hasStarted.set(true);\n this.videoPlayerService.setActivePlayer(this);\n }\n } else {\n this.player.pause();\n }\n return;\n }\n\n if (this.videoElement) {\n if (this.videoElement.paused) {\n // If it's the first play, we might need to initialize video.js\n // but if the user wants it \"like this\" with [src], let's try native play first\n const playPromise = this.videoElement.play();\n if (playPromise !== undefined && typeof playPromise.then === 'function') {\n playPromise.then(() => {\n this.hasStarted.set(true);\n this.videoPlayerService.setActivePlayer(this);\n }).catch(err => {\n console.error('VideoPlayer: error attempting to play video via native element:', err);\n // Fallback to initPlayer if native play fails (e.g. needs video.js)\n this.initPlayer().then(() => {\n if (this.player) {\n this.player.play().catch((e: any) => console.error('VideoPlayer: retry play failed', e));\n }\n });\n });\n } else {\n this.hasStarted.set(true);\n this.videoPlayerService.setActivePlayer(this);\n }\n } else {\n this.videoElement.pause();\n }\n }\n }\n\n seek(event: any) {\n if (this.error()) {\n return;\n }\n\n if (this.player) {\n this.player.currentTime(event.target.value);\n } else if (this.videoElement) {\n this.videoElement.currentTime = event.target.value;\n }\n }\n\n toggleMute() {\n if (this.player) {\n const isMuted = !this.player.muted();\n this.player.muted(isMuted);\n this.isMuted.set(isMuted);\n } else if (this.videoElement) {\n this.videoElement.muted = !this.videoElement.muted;\n this.isMuted.set(this.videoElement.muted);\n }\n\n if (!this.hasStarted()) {\n this.togglePlay();\n }\n }\n\n private async initPlayer() {\n if (!this.isViewInitialized || !this.isBrowser) {\n return;\n }\n\n if (!this.videoElement) {\n this.videoElement = this.document.createElement('video');\n this.videoElement.className = 'video-js not-prose w-full h-full object-contain relative z-[1] block';\n this.videoContainer().nativeElement.prepend(this.videoElement);\n this.setupEvents();\n }\n\n const src = this.src();\n if (!src) {\n if (this.player) {\n this.player.dispose();\n this.player = null;\n this.videoElement = null;\n } else if (this.videoElement) {\n this.videoElement.src = '';\n }\n return;\n }\n\n const finalSrc = src as string;\n const autoPlay = this.autoPlay();\n\n if (this.player) {\n const el = this.videoElement;\n this.player.dispose();\n this.player = null;\n\n // After dispose(), video.js removes the element from DOM.\n // We also need to make sure we don't have any dangling references or pending browser actions\n if (el) {\n try {\n el.removeAttribute('src');\n el.load();\n } catch (e) {}\n }\n\n this.videoElement = this.document.createElement('video');\n this.videoElement.className = 'video-js not-prose w-full h-full object-contain relative z-[1] block';\n this.videoContainer().nativeElement.prepend(this.videoElement);\n this.setupEvents();\n }\n\n this.error.set(null);\n\n const type = finalSrc.split('?')[0].toLowerCase().endsWith('.m3u8') ? 'application/x-mpegURL' : undefined;\n\n const options = {\n autoplay: autoPlay,\n muted: this.muted(),\n controls: false,\n controlBar: false,\n bigPlayButton: false,\n errorDisplay: false,\n textTrackSettings: false,\n fluid: false,\n responsive: false,\n html5: {\n vhs: {\n withCredentials: this.withCredentials()\n }\n },\n sources: [{\n src: finalSrc,\n type: type\n }]\n };\n\n this.player = videojs(this.videoElement, options, () => {\n if (autoPlay) {\n this.videoPlayerService.setActivePlayer(this);\n }\n // Re-trigger events after videojs takes over\n this.onLoadedMetadata();\n this.onLoadedData();\n\n // Ensure the video element inside is actually visible\n const tech = this.videoElement?.querySelector('.vjs-tech');\n if (tech) {\n (tech as HTMLElement).style.display = 'block';\n }\n });\n\n // Make sure we have a way to see the video if it's already there\n this.videoElement.style.display = 'block';\n\n this.player.on('loadeddata', () => {\n this.onLoadedData();\n this.onLoadedMetadata();\n // If it was supposed to autoplay but hadn't yet, try again\n if (this.autoPlay() && this.player.paused()) {\n this.player.play().catch(() => {});\n }\n });\n this.player.on('canplay', () => this.onLoadedData());\n this.player.on('timeupdate', () => this.onTimeUpdate());\n this.player.on('loadedmetadata', () => this.onLoadedMetadata());\n this.player.on('play', () => {\n this.onPlayInternal();\n this.onPlay.emit();\n });\n this.player.on('playing', () => {\n this.onPlayInternal();\n });\n this.player.on('pause', () => {\n this.onPauseInternal();\n this.onPause.emit();\n });\n this.player.on('ended', () => {\n this.isPlaying.set(false);\n this.onEnded.emit();\n });\n this.player.on('error', (e: any) => {\n const error = this.player.error();\n console.error('VideoPlayer: player error', error);\n this.error.set(error);\n this.onError.emit(error);\n });\n }\n\n private async updateSrc(src: string) {\n if (this.player) {\n const type = src.split('?')[0].toLowerCase().endsWith('.m3u8') ? 'application/x-mpegURL' : undefined;\n\n this.player.src({ src, type });\n if (this.autoPlay()) {\n this.player.play().catch(() => {});\n this.videoPlayerService.setActivePlayer(this);\n }\n } else {\n this.initPlayer();\n }\n }\n\n ngOnDestroy() {\n this.videoPlayerService.clearActivePlayer(this);\n this.elementEventsCleanup$.next();\n this.elementEventsCleanup$.complete();\n\n if (this.player) {\n const el = this.videoElement;\n this.player.dispose();\n this.player = null;\n\n if (el) {\n try {\n el.removeAttribute('src');\n el.load();\n } catch (e) {}\n }\n }\n }\n}\n","<div #videoContainer class=\"video-container group/video w-full h-full bg-surface-container relative\"\n [class.is-playing]=\"isPlaying()\"\n [class.is-fullscreen]=\"isFullscreen()\"\n [class.has-started]=\"hasStarted()\"\n (click)=\"!disableClickToPlay() && togglePlay()\">\n\n @if (isLoading()) {\n <div class=\"loader-container\">\n <ngs-progress-spinner mode=\"indeterminate\" [diameter]=\"48\" />\n </div>\n }\n\n @if (thumbnailUrl()) {\n <img [src]=\"thumbnailUrl()\" class=\"thumbnail-preview absolute inset-0 w-full h-full object-contain z-0\" alt=\"Video thumbnail\">\n }\n\n @if (error()) {\n <div class=\"error-container absolute inset-0 flex items-center justify-center bg-black/60 text-white z-20 p-4 text-center\">\n <div class=\"flex flex-col items-center gap-2\">\n <ngs-icon name=\"fluent:error-circle-24-filled\" class=\"text-red-500 text-4xl\" />\n <p class=\"text-sm font-medium\">The media could not be loaded, either because the server or network failed or because the format is not supported.</p>\n </div>\n </div>\n }\n\n @if (showPlayButton()) {\n <div class=\"controls-overlay absolute inset-0 w-full h-full flex flex-col bg-black/30 transition-all\n duration-300 z-[10] pointer-events-auto opacity-100 [&.has-started]:opacity-0 [&.is-paused]:group-hover/video:opacity-100\"\n [class.has-started]=\"hasStarted()\"\n [class.is-paused]=\"isPaused()\"\n [class.hidden]=\"(isFullscreen() && hasStarted() && !isPaused()) || error()\">\n <div class=\"center-controls flex-1 flex justify-center items-center pointer-events-none absolute inset-0\">\n <button\n class=\"play-button size-[80px] rounded-full bg-red-500 backdrop-blur-[4px] text-white flex justify-center items-center cursor-pointer transition-[transform,background-color] duration-200 pointer-events-auto hover:scale-110 hover:bg-red-600 active:scale-95\"\n (click)=\"togglePlay(); $event.stopPropagation()\"\n >\n @if (!isPaused()) {\n <ngs-icon name=\"fluent:pause-24-filled\" class=\"text-[44px] w-[44px] h-[44px]\"/>\n } @else {\n <ngs-icon name=\"fluent:play-24-filled\" class=\"text-[44px] w-[44px] h-[44px]\"/>\n }\n </button>\n </div>\n </div>\n }\n\n @if ((hasStarted() || !showPlayButton()) && !error()) {\n <div\n class=\"bottom-controls min-h-[80px] p-4 pb-2 flex items-center justify-between bg-gradient-to-t from-black/70 to-transparent gap-2 absolute bottom-0 left-0 right-0 invisible opacity-0 translate-y-2 transition-all\n duration-300 z-[11] pointer-events-none group-hover/video:visible group-hover/video:opacity-100\n group-hover/video:translate-y-0 group-hover/video:pointer-events-auto\"\n (click)=\"$event.stopPropagation()\">\n @if (showDurationSlider() || isFullscreen()) {\n <div class=\"seek-bar-container flex-grow w-full h-10 flex items-center\">\n <ngs-slider min=\"0\" [max]=\"duration()\" step=\"0.1\">\n <input ngsSliderThumb [value]=\"currentTime()\" (input)=\"seek($event)\">\n </ngs-slider>\n </div>\n } @else {\n <div class=\"flex-1\"></div>\n }\n\n @if (showSpeaker() || showFullscreen()) {\n <div class=\"actions flex-none flex items-center h-12\" (click)=\"$event.stopPropagation()\">\n <div class=\"flex-1\"></div>\n @if (showSpeaker()) {\n <button ngsIconButton (click)=\"toggleMute()\">\n @if (isMuted() || volume() === 0) {\n <ngs-icon name=\"fluent:speaker-off-24-regular\" class=\"text-white\"/>\n } @else {\n <ngs-icon name=\"fluent:speaker-2-24-regular\" class=\"text-white\"/>\n }\n </button>\n }\n\n @if (showFullscreen()) {\n <button ngsIconButton (click)=\"toggleFullscreen()\">\n @if (isFullscreen()) {\n <ngs-icon name=\"fluent:full-screen-minimize-24-regular\" class=\"text-white\"/>\n } @else {\n <ngs-icon name=\"fluent:full-screen-maximize-24-regular\" class=\"text-white\"/>\n }\n </button>\n }\n </div>\n }\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MASa,kBAAkB,CAAA;AACrB,IAAA,YAAY,GAAG,MAAM,CAA8B,IAAI,mFAAC;AAEhE,IAAA,eAAe,CAAC,MAA4B,EAAA;AAC1C,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,YAAY,EAAE;AACzC,QAAA,IAAI,aAAa,IAAI,aAAa,KAAK,MAAM,EAAE;YAC7C,aAAa,CAAC,KAAK,EAAE;QACvB;AACA,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC;IAC/B;AAEA,IAAA,iBAAiB,CAAC,MAA4B,EAAA;AAC5C,QAAA,IAAI,IAAI,CAAC,YAAY,EAAE,KAAK,MAAM,EAAE;AAClC,YAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC;QAC7B;IACF;uGAfW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA;;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCyCY,WAAW,CAAA;AAC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AAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,OAAO,EAAE,4BAA4B;AACrC,wBAAA,sBAAsB,EAAE,oCAAoC;AAC5D,wBAAA,uBAAuB,EAAE,iCAAiC;AAC1D,wBAAA,yBAAyB,EAAE,mCAAmC;AAC9D,wBAAA,mBAAmB,EAAE;AACtB,qBAAA,EAAA,QAAA,EAAA,qvIAAA,EAAA,MAAA,EAAA,CAAA,87/CAAA,CAAA,EAAA;szCAsC+D,gBAAgB,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AErFlF;;AAEG;;;;"}
@@ -0,0 +1,218 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, inject, signal, computed, Component, EventEmitter, Injector, DestroyRef, Directive, TemplateRef, contentChild, input, booleanAttribute } from '@angular/core';
3
+ import { Icon } from '@ngstarter-ui/components/icon';
4
+ import { VideoPlayer } from '@ngstarter-ui/components/video-player';
5
+ import { ProgressSpinner } from '@ngstarter-ui/components/spinner';
6
+ import { NgTemplateOutlet } from '@angular/common';
7
+ import { Overlay } from '@angular/cdk/overlay';
8
+ import { ComponentPortal } from '@angular/cdk/portal';
9
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
10
+
11
+ const VIDEO_VIEWER = new InjectionToken('VIDEO_VIEWER');
12
+ const VIDEO_VIEWER_REF = new InjectionToken('VIDEO_VIEWER_REF');
13
+ const VIDEO_VIEWER_DATA = new InjectionToken('VIDEO_VIEWER_DATA');
14
+
15
+ class VideoViewer {
16
+ videoViewerRef = inject(VIDEO_VIEWER_REF);
17
+ data = inject(VIDEO_VIEWER_DATA);
18
+ loaded = signal(false, ...(ngDevMode ? [{ debugName: "loaded" }] : /* istanbul ignore next */ []));
19
+ hasTitle = computed(() => {
20
+ return !!(this.data.title || this.data.titleTplRef);
21
+ }, ...(ngDevMode ? [{ debugName: "hasTitle" }] : /* istanbul ignore next */ []));
22
+ hasAside = computed(() => {
23
+ return !!(this.data.caption || this.data.description || this.data.captionTplRef || this.data.descriptionTplRef);
24
+ }, ...(ngDevMode ? [{ debugName: "hasAside" }] : /* istanbul ignore next */ []));
25
+ onBackdropClick() {
26
+ this.videoViewerRef.close();
27
+ }
28
+ onPreventClick(event) {
29
+ event.preventDefault();
30
+ event.stopPropagation();
31
+ }
32
+ onVideoLoaded() {
33
+ setTimeout(() => {
34
+ this.loaded.set(true);
35
+ }, 250);
36
+ }
37
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewer, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: VideoViewer, isStandalone: true, selector: "ngs-video-viewer", host: { classAttribute: "ngs-video-viewer" }, exportAs: ["ngsVideoViewer"], ngImport: i0, template: "@if (hasTitle()) {\n <div class=\"title-container\">\n <div class=\"title\">\n @if (data.titleTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.titleTplRef\" />\n } @else {\n {{ data.title }}\n }\n </div>\n </div>\n}\n<div class=\"controls\" (click)=\"onPreventClick($event)\">\n <div class=\"w-max\">\n <button (click)=\"videoViewerRef.close()\" class=\"close\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n</div>\n<div class=\"content\" (click)=\"onBackdropClick()\">\n <div class=\"video-container\" [class.is-loaded]=\"loaded()\">\n @if (!loaded()) {\n <div class=\"absolute top-1/2 start-1/2 -transform-1/2 z-[1]\">\n <ngs-progress-spinner/>\n </div>\n }\n <ngs-video-player [src]=\"data.sourceUrl\"\n [payload]=\"data.payload\"\n [orientation]=\"data.orientation\"\n [autoPlay]=\"data.autoPlay ?? true\"\n [showPlayButton]=\"data.showPlayButton ?? true\"\n [showSpeaker]=\"data.showSpeaker ?? true\"\n [showFullscreen]=\"data.showFullscreen ?? true\"\n [showDurationSlider]=\"data.showDurationSlider ?? true\"\n [muted]=\"data.muted ?? false\"\n (loaded)=\"onVideoLoaded()\"\n (click)=\"onPreventClick($event)\"/>\n </div>\n @if (hasAside()) {\n <aside class=\"aside\" (click)=\"onPreventClick($event)\">\n <div class=\"aside-header\">\n @if (data.captionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.captionTplRef\" />\n } @else if (data.caption) {\n {{ data.caption }}\n }\n </div>\n <div class=\"aside-body\">\n <div class=\"aside-body-scroll\">\n @if (data.descriptionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.descriptionTplRef\" />\n } @else if (data.description) {\n {{ data.description }}\n }\n </div>\n </div>\n </aside>\n }\n</div>\n", styles: [":host{width:100vw;height:100vh;display:flex;flex-direction:column}:host .title-container{position:absolute;inset-inline-start:calc(var(--spacing, .25rem) * 4);top:calc(var(--spacing, .25rem) * 4);z-index:3}:host .controls{position:absolute;inset-inline-end:calc(var(--spacing, .25rem) * 4);top:calc(var(--spacing, .25rem) * 4);z-index:3;display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4)}:host .content{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;z-index:2;display:flex;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 8);width:100vw;height:100vh}:host:has(.aside) .content{padding-inline-end:420px}:host .title{font-weight:500;height:calc(var(--spacing, .25rem) * 10);border-radius:calc(infinity * 1px);padding-left:calc(var(--spacing, .25rem) * 4);padding-right:calc(var(--spacing, .25rem) * 4);font-size:var(--text-tiny);display:flex;align-items:center;background:var(--color-neutral-700);color:var(--color-neutral-300)}:host .close{width:calc(var(--spacing, .25rem) * 10);height:calc(var(--spacing, .25rem) * 10);border-radius:calc(infinity * 1px);cursor:pointer;display:flex;flex:none;align-items:center;justify-content:center;background:var(--color-neutral-700);color:var(--color-neutral-300)}:host .close:hover{background:var(--color-neutral-800);color:var(--color-neutral-200)}:host .close:active{background:var(--color-neutral-950);color:var(--color-neutral-100)}:host .aside{width:420px;position:absolute;inset-inline-end:0;top:0;bottom:0;flex:none;background:var(--color-neutral-50);display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 5);height:100%;padding-inline-end:calc(var(--spacing, .25rem) * 10)}:host .aside-header{font-weight:700;padding-left:calc(var(--spacing, .25rem) * 8);padding-right:calc(var(--spacing, .25rem) * 8);padding-top:calc(var(--spacing, .25rem) * 8)}:host .aside-body{position:relative;flex-grow:1;font-size:.875rem;color:var(--color-neutral-600);line-height:var(--leading-relaxed)}:host .aside-body-scroll{position:absolute;inset:0;overflow-y:auto;padding-left:calc(var(--spacing, .25rem) * 8);padding-right:calc(var(--spacing, .25rem) * 8);padding-bottom:calc(var(--spacing, .25rem) * 8)}:host .video-container{position:relative;display:flex;align-items:center;justify-content:center;height:90%;width:90%;max-height:90%;max-width:90%}:host .video-container ngs-video-player{opacity:0}:host .video-container.is-loaded ngs-video-player{opacity:100}:host .video-container .loader-container{position:absolute;inset:calc(var(--spacing, .25rem) * 0);z-index:5;display:flex;align-items:center;justify-content:center}:host .video-container ngs-video-player{max-height:90%;max-width:90%;transition:opacity .3s ease-in-out}:host-context(html.dark) .title{background:var(--color-neutral-100);color:var(--color-neutral-600)}:host-context(html.dark) .close{background:var(--color-neutral-100);color:var(--color-neutral-600)}:host-context(html.dark) .close:hover{background:var(--color-neutral-200);color:var(--color-neutral-700)}:host-context(html.dark) .close:active{background:var(--color-neutral-300);color:var(--color-neutral-900)}:host-context(html.dark) .aside{background:var(--color-neutral-900)}:host-context(html.dark) .aside-body{color:var(--color-neutral-400)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: Icon, selector: "ngs-icon", inputs: ["name"], exportAs: ["ngsIcon"] }, { kind: "component", type: VideoPlayer, selector: "ngs-video-player", inputs: ["src", "thumbnailUrl", "payload", "orientation", "autoPlay", "showPlayButton", "showSpeaker", "showFullscreen", "showDurationSlider", "disableClickToPlay", "muted", "withCredentials"], outputs: ["play", "pause", "ended", "loaded", "error"], exportAs: ["ngsVideoPlayer"] }, { kind: "component", type: ProgressSpinner, selector: "ngs-progress-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["ngsProgressSpinner"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewer, decorators: [{
41
+ type: Component,
42
+ args: [{ selector: 'ngs-video-viewer', exportAs: 'ngsVideoViewer', standalone: true, imports: [
43
+ Icon,
44
+ VideoPlayer,
45
+ ProgressSpinner,
46
+ NgTemplateOutlet
47
+ ], host: {
48
+ 'class': 'ngs-video-viewer',
49
+ }, template: "@if (hasTitle()) {\n <div class=\"title-container\">\n <div class=\"title\">\n @if (data.titleTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.titleTplRef\" />\n } @else {\n {{ data.title }}\n }\n </div>\n </div>\n}\n<div class=\"controls\" (click)=\"onPreventClick($event)\">\n <div class=\"w-max\">\n <button (click)=\"videoViewerRef.close()\" class=\"close\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n</div>\n<div class=\"content\" (click)=\"onBackdropClick()\">\n <div class=\"video-container\" [class.is-loaded]=\"loaded()\">\n @if (!loaded()) {\n <div class=\"absolute top-1/2 start-1/2 -transform-1/2 z-[1]\">\n <ngs-progress-spinner/>\n </div>\n }\n <ngs-video-player [src]=\"data.sourceUrl\"\n [payload]=\"data.payload\"\n [orientation]=\"data.orientation\"\n [autoPlay]=\"data.autoPlay ?? true\"\n [showPlayButton]=\"data.showPlayButton ?? true\"\n [showSpeaker]=\"data.showSpeaker ?? true\"\n [showFullscreen]=\"data.showFullscreen ?? true\"\n [showDurationSlider]=\"data.showDurationSlider ?? true\"\n [muted]=\"data.muted ?? false\"\n (loaded)=\"onVideoLoaded()\"\n (click)=\"onPreventClick($event)\"/>\n </div>\n @if (hasAside()) {\n <aside class=\"aside\" (click)=\"onPreventClick($event)\">\n <div class=\"aside-header\">\n @if (data.captionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.captionTplRef\" />\n } @else if (data.caption) {\n {{ data.caption }}\n }\n </div>\n <div class=\"aside-body\">\n <div class=\"aside-body-scroll\">\n @if (data.descriptionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.descriptionTplRef\" />\n } @else if (data.description) {\n {{ data.description }}\n }\n </div>\n </div>\n </aside>\n }\n</div>\n", styles: [":host{width:100vw;height:100vh;display:flex;flex-direction:column}:host .title-container{position:absolute;inset-inline-start:calc(var(--spacing, .25rem) * 4);top:calc(var(--spacing, .25rem) * 4);z-index:3}:host .controls{position:absolute;inset-inline-end:calc(var(--spacing, .25rem) * 4);top:calc(var(--spacing, .25rem) * 4);z-index:3;display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 4)}:host .content{box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;z-index:2;display:flex;align-items:center;justify-content:center;gap:calc(var(--spacing, .25rem) * 8);width:100vw;height:100vh}:host:has(.aside) .content{padding-inline-end:420px}:host .title{font-weight:500;height:calc(var(--spacing, .25rem) * 10);border-radius:calc(infinity * 1px);padding-left:calc(var(--spacing, .25rem) * 4);padding-right:calc(var(--spacing, .25rem) * 4);font-size:var(--text-tiny);display:flex;align-items:center;background:var(--color-neutral-700);color:var(--color-neutral-300)}:host .close{width:calc(var(--spacing, .25rem) * 10);height:calc(var(--spacing, .25rem) * 10);border-radius:calc(infinity * 1px);cursor:pointer;display:flex;flex:none;align-items:center;justify-content:center;background:var(--color-neutral-700);color:var(--color-neutral-300)}:host .close:hover{background:var(--color-neutral-800);color:var(--color-neutral-200)}:host .close:active{background:var(--color-neutral-950);color:var(--color-neutral-100)}:host .aside{width:420px;position:absolute;inset-inline-end:0;top:0;bottom:0;flex:none;background:var(--color-neutral-50);display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * 5);height:100%;padding-inline-end:calc(var(--spacing, .25rem) * 10)}:host .aside-header{font-weight:700;padding-left:calc(var(--spacing, .25rem) * 8);padding-right:calc(var(--spacing, .25rem) * 8);padding-top:calc(var(--spacing, .25rem) * 8)}:host .aside-body{position:relative;flex-grow:1;font-size:.875rem;color:var(--color-neutral-600);line-height:var(--leading-relaxed)}:host .aside-body-scroll{position:absolute;inset:0;overflow-y:auto;padding-left:calc(var(--spacing, .25rem) * 8);padding-right:calc(var(--spacing, .25rem) * 8);padding-bottom:calc(var(--spacing, .25rem) * 8)}:host .video-container{position:relative;display:flex;align-items:center;justify-content:center;height:90%;width:90%;max-height:90%;max-width:90%}:host .video-container ngs-video-player{opacity:0}:host .video-container.is-loaded ngs-video-player{opacity:100}:host .video-container .loader-container{position:absolute;inset:calc(var(--spacing, .25rem) * 0);z-index:5;display:flex;align-items:center;justify-content:center}:host .video-container ngs-video-player{max-height:90%;max-width:90%;transition:opacity .3s ease-in-out}:host-context(html.dark) .title{background:var(--color-neutral-100);color:var(--color-neutral-600)}:host-context(html.dark) .close{background:var(--color-neutral-100);color:var(--color-neutral-600)}:host-context(html.dark) .close:hover{background:var(--color-neutral-200);color:var(--color-neutral-700)}:host-context(html.dark) .close:active{background:var(--color-neutral-300);color:var(--color-neutral-900)}:host-context(html.dark) .aside{background:var(--color-neutral-900)}:host-context(html.dark) .aside-body{color:var(--color-neutral-400)}\n/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n"] }]
50
+ }] });
51
+
52
+ class VideoViewerRef {
53
+ closed = new EventEmitter();
54
+ close() {
55
+ this.closed.emit();
56
+ }
57
+ }
58
+
59
+ class VideoViewerDirective {
60
+ _overlay = inject(Overlay);
61
+ _injector = inject(Injector);
62
+ _destroyRef = inject(DestroyRef);
63
+ get api() {
64
+ return {
65
+ open: (options) => this._open(options)
66
+ };
67
+ }
68
+ _open(options) {
69
+ const videoViewerRef = new VideoViewerRef();
70
+ const overlayRef = this._overlay.create({
71
+ positionStrategy: this._overlay.position().global(),
72
+ hasBackdrop: true
73
+ });
74
+ const injector = Injector.create({
75
+ providers: [
76
+ {
77
+ provide: VIDEO_VIEWER_REF,
78
+ useValue: videoViewerRef
79
+ },
80
+ {
81
+ provide: VIDEO_VIEWER_DATA,
82
+ useValue: options
83
+ }
84
+ ],
85
+ parent: this._injector
86
+ });
87
+ const portal = new ComponentPortal(VideoViewer, null, injector);
88
+ overlayRef.attach(portal);
89
+ videoViewerRef.closed.pipe(takeUntilDestroyed(this._destroyRef)).subscribe(() => {
90
+ overlayRef.detach();
91
+ });
92
+ return videoViewerRef;
93
+ }
94
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
95
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VideoViewerDirective, isStandalone: true, selector: "[ngsVideoViewer]", host: { classAttribute: "ngs-video-viewer" }, exportAs: ["ngsVideoViewer"], ngImport: i0 });
96
+ }
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerDirective, decorators: [{
98
+ type: Directive,
99
+ args: [{
100
+ selector: '[ngsVideoViewer]',
101
+ exportAs: 'ngsVideoViewer',
102
+ standalone: true,
103
+ host: {
104
+ 'class': 'ngs-video-viewer',
105
+ }
106
+ }]
107
+ }] });
108
+
109
+ class VideoViewerVideoCaptionDirective {
110
+ templateRef = inject(TemplateRef);
111
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoCaptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
112
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VideoViewerVideoCaptionDirective, isStandalone: true, selector: "[ngsVideoViewerVideoCaption]", ngImport: i0 });
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoCaptionDirective, decorators: [{
115
+ type: Directive,
116
+ args: [{
117
+ selector: '[ngsVideoViewerVideoCaption]',
118
+ standalone: true,
119
+ }]
120
+ }] });
121
+
122
+ class VideoViewerVideoDescriptionDirective {
123
+ templateRef = inject(TemplateRef);
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
125
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VideoViewerVideoDescriptionDirective, isStandalone: true, selector: "[ngsVideoViewerVideoDescription]", ngImport: i0 });
126
+ }
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoDescriptionDirective, decorators: [{
128
+ type: Directive,
129
+ args: [{
130
+ selector: '[ngsVideoViewerVideoDescription]',
131
+ standalone: true,
132
+ }]
133
+ }] });
134
+
135
+ class VideoViewerVideoTitleDirective {
136
+ templateRef = inject(TemplateRef);
137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
138
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: VideoViewerVideoTitleDirective, isStandalone: true, selector: "[ngsVideoViewerVideoTitle]", ngImport: i0 });
139
+ }
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoTitleDirective, decorators: [{
141
+ type: Directive,
142
+ args: [{
143
+ selector: '[ngsVideoViewerVideoTitle]',
144
+ standalone: true,
145
+ }]
146
+ }] });
147
+
148
+ class VideoViewerVideoDirective {
149
+ _videoViewer = inject(VideoViewerDirective);
150
+ _titleTplRef = contentChild(VideoViewerVideoTitleDirective, ...(ngDevMode ? [{ debugName: "_titleTplRef" }] : /* istanbul ignore next */ []));
151
+ _captionTplRef = contentChild(VideoViewerVideoCaptionDirective, ...(ngDevMode ? [{ debugName: "_captionTplRef" }] : /* istanbul ignore next */ []));
152
+ _descriptionTplRef = contentChild(VideoViewerVideoDescriptionDirective, ...(ngDevMode ? [{ debugName: "_descriptionTplRef" }] : /* istanbul ignore next */ []));
153
+ sourceUrl = input.required(...(ngDevMode ? [{ debugName: "sourceUrl" }] : /* istanbul ignore next */ []));
154
+ caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : /* istanbul ignore next */ []));
155
+ title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : /* istanbul ignore next */ []));
156
+ description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : /* istanbul ignore next */ []));
157
+ payload = input(null, ...(ngDevMode ? [{ debugName: "payload" }] : /* istanbul ignore next */ []));
158
+ orientation = input(undefined, ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
159
+ autoPlay = input(false, { ...(ngDevMode ? { debugName: "autoPlay" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
160
+ showPlayButton = input(true, { ...(ngDevMode ? { debugName: "showPlayButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
161
+ showSpeaker = input(true, { ...(ngDevMode ? { debugName: "showSpeaker" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
162
+ showFullscreen = input(true, { ...(ngDevMode ? { debugName: "showFullscreen" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
163
+ showDurationSlider = input(true, { ...(ngDevMode ? { debugName: "showDurationSlider" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
164
+ muted = input(false, { ...(ngDevMode ? { debugName: "muted" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
165
+ onClick(event) {
166
+ event.preventDefault();
167
+ event.stopPropagation();
168
+ this._videoViewer.api.open({
169
+ sourceUrl: this.sourceUrl(),
170
+ title: this.title(),
171
+ caption: this.caption(),
172
+ description: this.description(),
173
+ titleTplRef: this._titleTplRef()?.templateRef,
174
+ captionTplRef: this._captionTplRef()?.templateRef,
175
+ descriptionTplRef: this._descriptionTplRef()?.templateRef,
176
+ payload: this.payload(),
177
+ orientation: this.orientation(),
178
+ autoPlay: this.autoPlay(),
179
+ showPlayButton: this.showPlayButton(),
180
+ showSpeaker: this.showSpeaker(),
181
+ showFullscreen: this.showFullscreen(),
182
+ showDurationSlider: this.showDurationSlider(),
183
+ muted: this.muted()
184
+ });
185
+ }
186
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
187
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.4", type: VideoViewerVideoDirective, isStandalone: true, selector: "[ngsVideoViewerVideo]", inputs: { sourceUrl: { classPropertyName: "sourceUrl", publicName: "sourceUrl", isSignal: true, isRequired: true, transformFunction: null }, caption: { classPropertyName: "caption", publicName: "caption", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, payload: { classPropertyName: "payload", publicName: "payload", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, autoPlay: { classPropertyName: "autoPlay", publicName: "autoPlay", isSignal: true, isRequired: false, transformFunction: null }, showPlayButton: { classPropertyName: "showPlayButton", publicName: "showPlayButton", isSignal: true, isRequired: false, transformFunction: null }, showSpeaker: { classPropertyName: "showSpeaker", publicName: "showSpeaker", isSignal: true, isRequired: false, transformFunction: null }, showFullscreen: { classPropertyName: "showFullscreen", publicName: "showFullscreen", isSignal: true, isRequired: false, transformFunction: null }, showDurationSlider: { classPropertyName: "showDurationSlider", publicName: "showDurationSlider", isSignal: true, isRequired: false, transformFunction: null }, muted: { classPropertyName: "muted", publicName: "muted", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)" }, classAttribute: "ngs-video-viewer-video" }, providers: [
188
+ {
189
+ provide: VIDEO_VIEWER,
190
+ useExisting: VideoViewerVideoDirective
191
+ }
192
+ ], queries: [{ propertyName: "_titleTplRef", first: true, predicate: VideoViewerVideoTitleDirective, descendants: true, isSignal: true }, { propertyName: "_captionTplRef", first: true, predicate: VideoViewerVideoCaptionDirective, descendants: true, isSignal: true }, { propertyName: "_descriptionTplRef", first: true, predicate: VideoViewerVideoDescriptionDirective, descendants: true, isSignal: true }], exportAs: ["ngsVideoViewerVideo"], ngImport: i0 });
193
+ }
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VideoViewerVideoDirective, decorators: [{
195
+ type: Directive,
196
+ args: [{
197
+ selector: '[ngsVideoViewerVideo]',
198
+ exportAs: 'ngsVideoViewerVideo',
199
+ standalone: true,
200
+ providers: [
201
+ {
202
+ provide: VIDEO_VIEWER,
203
+ useExisting: VideoViewerVideoDirective
204
+ }
205
+ ],
206
+ host: {
207
+ 'class': 'ngs-video-viewer-video',
208
+ '(click)': 'onClick($event)'
209
+ }
210
+ }]
211
+ }], propDecorators: { _titleTplRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => VideoViewerVideoTitleDirective), { isSignal: true }] }], _captionTplRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => VideoViewerVideoCaptionDirective), { isSignal: true }] }], _descriptionTplRef: [{ type: i0.ContentChild, args: [i0.forwardRef(() => VideoViewerVideoDescriptionDirective), { isSignal: true }] }], sourceUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceUrl", required: true }] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], payload: [{ type: i0.Input, args: [{ isSignal: true, alias: "payload", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], autoPlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoPlay", required: false }] }], showPlayButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPlayButton", required: false }] }], showSpeaker: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSpeaker", required: false }] }], showFullscreen: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFullscreen", required: false }] }], showDurationSlider: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDurationSlider", required: false }] }], muted: [{ type: i0.Input, args: [{ isSignal: true, alias: "muted", required: false }] }] } });
212
+
213
+ /**
214
+ * Generated bundle index. Do not edit.
215
+ */
216
+
217
+ export { VIDEO_VIEWER, VIDEO_VIEWER_DATA, VIDEO_VIEWER_REF, VideoViewer, VideoViewerDirective, VideoViewerRef, VideoViewerVideoCaptionDirective, VideoViewerVideoDescriptionDirective, VideoViewerVideoDirective, VideoViewerVideoTitleDirective };
218
+ //# sourceMappingURL=ngstarter-ui-components-video-viewer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngstarter-ui-components-video-viewer.mjs","sources":["../../../projects/components/video-viewer/src/types.ts","../../../projects/components/video-viewer/src/video-viewer/video-viewer.ts","../../../projects/components/video-viewer/src/video-viewer/video-viewer.html","../../../projects/components/video-viewer/src/video-viewer-ref.ts","../../../projects/components/video-viewer/src/video-viewer.directive.ts","../../../projects/components/video-viewer/src/video-viewer-video-caption.directive.ts","../../../projects/components/video-viewer/src/video-viewer-video-description.directive.ts","../../../projects/components/video-viewer/src/video-viewer-video-title.directive.ts","../../../projects/components/video-viewer/src/video-viewer-video.directive.ts","../../../projects/components/video-viewer/ngstarter-ui-components-video-viewer.ts"],"sourcesContent":["import { InjectionToken, TemplateRef } from '@angular/core';\nimport { VideoViewerRef } from './video-viewer-ref';\n\nexport type VideoViewerOrientation = 'landscape' | 'portrait' | 'square' | string;\n\nexport interface VideoViewerOptions {\n sourceUrl: string;\n title?: string | undefined;\n caption?: string | undefined;\n description?: string | undefined;\n titleTplRef?: TemplateRef<any> | undefined;\n captionTplRef?: TemplateRef<any> | undefined;\n descriptionTplRef?: TemplateRef<any> | undefined;\n // Video player options\n payload?: any | null;\n orientation?: VideoViewerOrientation | undefined;\n autoPlay?: boolean;\n showPlayButton?: boolean;\n showSpeaker?: boolean;\n showFullscreen?: boolean;\n showDurationSlider?: boolean;\n muted?: boolean;\n}\n\nexport const VIDEO_VIEWER = new InjectionToken('VIDEO_VIEWER');\nexport const VIDEO_VIEWER_REF = new InjectionToken<VideoViewerRef>('VIDEO_VIEWER_REF');\nexport const VIDEO_VIEWER_DATA = new InjectionToken<VideoViewerOptions>('VIDEO_VIEWER_DATA');\n","import { Component, computed, inject, signal } from '@angular/core';\nimport { VIDEO_VIEWER_DATA, VIDEO_VIEWER_REF } from '../types';\nimport { Icon } from '@ngstarter-ui/components/icon';\nimport { VideoPlayer } from '@ngstarter-ui/components/video-player';\nimport { ProgressSpinner } from '@ngstarter-ui/components/spinner';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'ngs-video-viewer',\n exportAs: 'ngsVideoViewer',\n standalone: true,\n imports: [\n Icon,\n VideoPlayer,\n ProgressSpinner,\n NgTemplateOutlet\n ],\n templateUrl: './video-viewer.html',\n styleUrl: './video-viewer.scss',\n host: {\n 'class': 'ngs-video-viewer',\n }\n})\nexport class VideoViewer {\n readonly videoViewerRef = inject(VIDEO_VIEWER_REF);\n readonly data = inject(VIDEO_VIEWER_DATA);\n\n loaded = signal(false);\n\n hasTitle = computed(() => {\n return !!(this.data.title || this.data.titleTplRef);\n });\n\n hasAside = computed(() => {\n return !!(this.data.caption || this.data.description || this.data.captionTplRef || this.data.descriptionTplRef);\n });\n\n onBackdropClick(): void {\n this.videoViewerRef.close();\n }\n\n onPreventClick(event: MouseEvent) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n onVideoLoaded() {\n setTimeout(() => {\n this.loaded.set(true);\n }, 250);\n }\n}\n","@if (hasTitle()) {\n <div class=\"title-container\">\n <div class=\"title\">\n @if (data.titleTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.titleTplRef\" />\n } @else {\n {{ data.title }}\n }\n </div>\n </div>\n}\n<div class=\"controls\" (click)=\"onPreventClick($event)\">\n <div class=\"w-max\">\n <button (click)=\"videoViewerRef.close()\" class=\"close\">\n <ngs-icon name=\"fluent:dismiss-24-regular\"/>\n </button>\n </div>\n</div>\n<div class=\"content\" (click)=\"onBackdropClick()\">\n <div class=\"video-container\" [class.is-loaded]=\"loaded()\">\n @if (!loaded()) {\n <div class=\"absolute top-1/2 start-1/2 -transform-1/2 z-[1]\">\n <ngs-progress-spinner/>\n </div>\n }\n <ngs-video-player [src]=\"data.sourceUrl\"\n [payload]=\"data.payload\"\n [orientation]=\"data.orientation\"\n [autoPlay]=\"data.autoPlay ?? true\"\n [showPlayButton]=\"data.showPlayButton ?? true\"\n [showSpeaker]=\"data.showSpeaker ?? true\"\n [showFullscreen]=\"data.showFullscreen ?? true\"\n [showDurationSlider]=\"data.showDurationSlider ?? true\"\n [muted]=\"data.muted ?? false\"\n (loaded)=\"onVideoLoaded()\"\n (click)=\"onPreventClick($event)\"/>\n </div>\n @if (hasAside()) {\n <aside class=\"aside\" (click)=\"onPreventClick($event)\">\n <div class=\"aside-header\">\n @if (data.captionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.captionTplRef\" />\n } @else if (data.caption) {\n {{ data.caption }}\n }\n </div>\n <div class=\"aside-body\">\n <div class=\"aside-body-scroll\">\n @if (data.descriptionTplRef) {\n <ng-container [ngTemplateOutlet]=\"data.descriptionTplRef\" />\n } @else if (data.description) {\n {{ data.description }}\n }\n </div>\n </div>\n </aside>\n }\n</div>\n","import { EventEmitter } from '@angular/core';\n\nexport class VideoViewerRef {\n readonly closed = new EventEmitter();\n\n close(): void {\n this.closed.emit();\n }\n}\n","import { DestroyRef, Directive, inject, Injector } from '@angular/core';\nimport { Overlay } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { VideoViewerRef } from './video-viewer-ref';\nimport { VideoViewer } from './video-viewer/video-viewer';\nimport { VIDEO_VIEWER_DATA, VIDEO_VIEWER_REF, VideoViewerOptions } from './types';\n\n@Directive({\n selector: '[ngsVideoViewer]',\n exportAs: 'ngsVideoViewer',\n standalone: true,\n host: {\n 'class': 'ngs-video-viewer',\n }\n})\nexport class VideoViewerDirective {\n private _overlay = inject(Overlay);\n private _injector = inject(Injector);\n private _destroyRef = inject(DestroyRef);\n\n get api() {\n return {\n open: (options: VideoViewerOptions): VideoViewerRef => this._open(options)\n }\n }\n\n private _open(options: VideoViewerOptions): VideoViewerRef {\n const videoViewerRef = new VideoViewerRef();\n const overlayRef = this._overlay.create({\n positionStrategy: this._overlay.position().global(),\n hasBackdrop: true\n });\n const injector = Injector.create({\n providers: [\n {\n provide: VIDEO_VIEWER_REF,\n useValue: videoViewerRef\n },\n {\n provide: VIDEO_VIEWER_DATA,\n useValue: options\n }\n ],\n parent: this._injector\n });\n const portal = new ComponentPortal(VideoViewer, null, injector);\n overlayRef.attach(portal);\n videoViewerRef.closed.pipe(\n takeUntilDestroyed(this._destroyRef)\n ).subscribe(() => {\n overlayRef.detach();\n });\n return videoViewerRef;\n }\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n selector: '[ngsVideoViewerVideoCaption]',\n standalone: true,\n})\nexport class VideoViewerVideoCaptionDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n selector: '[ngsVideoViewerVideoDescription]',\n standalone: true,\n})\nexport class VideoViewerVideoDescriptionDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n selector: '[ngsVideoViewerVideoTitle]',\n standalone: true,\n})\nexport class VideoViewerVideoTitleDirective {\n readonly templateRef = inject(TemplateRef);\n}\n","import { booleanAttribute, contentChild, Directive, inject, input } from '@angular/core';\nimport { VIDEO_VIEWER, VideoViewerOrientation } from './types';\nimport { VideoViewerDirective } from './video-viewer.directive';\nimport { VideoViewerVideoCaptionDirective } from './video-viewer-video-caption.directive';\nimport { VideoViewerVideoDescriptionDirective } from './video-viewer-video-description.directive';\nimport { VideoViewerVideoTitleDirective } from './video-viewer-video-title.directive';\n\n@Directive({\n selector: '[ngsVideoViewerVideo]',\n exportAs: 'ngsVideoViewerVideo',\n standalone: true,\n providers: [\n {\n provide: VIDEO_VIEWER,\n useExisting: VideoViewerVideoDirective\n }\n ],\n host: {\n 'class': 'ngs-video-viewer-video',\n '(click)': 'onClick($event)'\n }\n})\nexport class VideoViewerVideoDirective {\n private _videoViewer = inject(VideoViewerDirective);\n private _titleTplRef = contentChild(VideoViewerVideoTitleDirective);\n private _captionTplRef = contentChild(VideoViewerVideoCaptionDirective);\n private _descriptionTplRef = contentChild(VideoViewerVideoDescriptionDirective);\n\n sourceUrl = input.required<string>();\n caption = input<string>();\n title = input<string>();\n description = input<string>();\n\n payload = input<any | null>(null);\n orientation = input<VideoViewerOrientation | undefined>(undefined);\n autoPlay = input(false, {\n transform: booleanAttribute\n });\n showPlayButton = input(true, {\n transform: booleanAttribute\n });\n showSpeaker = input(true, {\n transform: booleanAttribute\n });\n showFullscreen = input(true, {\n transform: booleanAttribute\n });\n showDurationSlider = input(true, {\n transform: booleanAttribute\n });\n muted = input(false, {\n transform: booleanAttribute\n });\n\n protected onClick(event: MouseEvent) {\n event.preventDefault();\n event.stopPropagation();\n this._videoViewer.api.open({\n sourceUrl: this.sourceUrl(),\n title: this.title(),\n caption: this.caption(),\n description: this.description(),\n titleTplRef: this._titleTplRef()?.templateRef,\n captionTplRef: this._captionTplRef()?.templateRef,\n descriptionTplRef: this._descriptionTplRef()?.templateRef,\n payload: this.payload(),\n orientation: this.orientation(),\n autoPlay: this.autoPlay(),\n showPlayButton: this.showPlayButton(),\n showSpeaker: this.showSpeaker(),\n showFullscreen: this.showFullscreen(),\n showDurationSlider: this.showDurationSlider(),\n muted: this.muted()\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAwBa,YAAY,GAAG,IAAI,cAAc,CAAC,cAAc;MAChD,gBAAgB,GAAG,IAAI,cAAc,CAAiB,kBAAkB;MACxE,iBAAiB,GAAG,IAAI,cAAc,CAAqB,mBAAmB;;MCH9E,WAAW,CAAA;AACb,IAAA,cAAc,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACzC,IAAA,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAEzC,IAAA,MAAM,GAAG,MAAM,CAAC,KAAK,6EAAC;AAEtB,IAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;AACvB,QAAA,OAAO,CAAC,EAA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AAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,UAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,oBAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AC1BhF;;AAEG;;;;"}
@@ -0,0 +1,18 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component } from '@angular/core';
3
+
4
+ class VisualBuilder {
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VisualBuilder, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: VisualBuilder, isStandalone: true, selector: "ngs-visual-builder", ngImport: i0, template: "<p>visual-builder works!</p>\n", styles: [""] });
7
+ }
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: VisualBuilder, decorators: [{
9
+ type: Component,
10
+ args: [{ selector: 'ngs-visual-builder', imports: [], template: "<p>visual-builder works!</p>\n" }]
11
+ }] });
12
+
13
+ /**
14
+ * Generated bundle index. Do not edit.
15
+ */
16
+
17
+ export { VisualBuilder };
18
+ //# sourceMappingURL=ngstarter-ui-components-visual-builder.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngstarter-ui-components-visual-builder.mjs","sources":["../../../projects/components/visual-builder/src/visual-builder/visual-builder.ts","../../../projects/components/visual-builder/src/visual-builder/visual-builder.html","../../../projects/components/visual-builder/ngstarter-ui-components-visual-builder.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'ngs-visual-builder',\n imports: [],\n templateUrl: './visual-builder.html',\n styleUrl: './visual-builder.scss',\n})\nexport class VisualBuilder {\n\n}\n","<p>visual-builder works!</p>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,aAAa,CAAA;uGAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,8ECR1B,gCACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FDOa,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WACrB,EAAE,EAAA,QAAA,EAAA,gCAAA,EAAA;;;AEJb;;AAEG;;;;"}
@@ -0,0 +1,6 @@
1
+ var index = null;
2
+
3
+ /**
4
+ * Generated bundle index. Do not edit.
5
+ */
6
+ //# sourceMappingURL=ngstarter-ui-components.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngstarter-ui-components.mjs","sources":["../../../projects/components/index.ts","../../../projects/components/ngstarter-ui-components.ts"],"sourcesContent":["export default null;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA,YAAe,IAAI;;ACAnB;;AAEG"}