taon-ui 21.0.55 → 21.0.56

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 (181) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +4 -4
  2. package/bin/start.js +37 -37
  3. package/browser/README.md +24 -24
  4. package/browser/fesm2022/{taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs → taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs} +5 -1
  5. package/browser/fesm2022/taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs.map +1 -0
  6. package/browser/fesm2022/{taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs → taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs} +6 -1
  7. package/browser/fesm2022/taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs.map +1 -0
  8. package/browser/fesm2022/{taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs → taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-BvWzPc-J.mjs} +11 -3
  9. package/browser/fesm2022/taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-BvWzPc-J.mjs.map +1 -0
  10. package/browser/fesm2022/{taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs → taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-BGKH8jX_.mjs} +13 -3
  11. package/browser/fesm2022/taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-BGKH8jX_.mjs.map +1 -0
  12. package/browser/fesm2022/taon-ui-browser.mjs +41 -37
  13. package/browser/fesm2022/taon-ui-browser.mjs.map +1 -1
  14. package/browser/package.json +1 -1
  15. package/browser/types/taon-ui-browser.d.ts +6 -2
  16. package/browser-prod/README.md +24 -24
  17. package/browser-prod/fesm2022/{taon-ui-browser-prod-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs → taon-ui-browser-prod-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs} +5 -1
  18. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs.map +1 -0
  19. package/browser-prod/fesm2022/{taon-ui-browser-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs → taon-ui-browser-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs} +6 -1
  20. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs.map +1 -0
  21. package/browser-prod/fesm2022/{taon-ui-browser-prod-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs → taon-ui-browser-prod-taon-lang-selector.component.html.en-US.i18n.data-BvWzPc-J.mjs} +11 -3
  22. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-lang-selector.component.html.en-US.i18n.data-BvWzPc-J.mjs.map +1 -0
  23. package/browser-prod/fesm2022/{taon-ui-browser-prod-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs → taon-ui-browser-prod-taon-lang-selector.component.html.pl-PL.i18n.data-BGKH8jX_.mjs} +13 -3
  24. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-lang-selector.component.html.pl-PL.i18n.data-BGKH8jX_.mjs.map +1 -0
  25. package/browser-prod/fesm2022/taon-ui-browser-prod.mjs +41 -37
  26. package/browser-prod/fesm2022/taon-ui-browser-prod.mjs.map +1 -1
  27. package/browser-prod/package.json +1 -1
  28. package/browser-prod/types/taon-ui-browser-prod.d.ts +6 -2
  29. package/html/lib/ui/taon-lang-selector/taon-lang-selector.component.html +24 -14
  30. package/lib/build-info._auto-generated_.d.ts +1 -1
  31. package/lib/build-info._auto-generated_.js +1 -1
  32. package/lib/layouts/taon-bootstrap-navbar/index.js +2 -2
  33. package/lib/package.json +1 -1
  34. package/lib/ui/anonymize-text/index.js +2 -2
  35. package/lib/ui/directives/index.js +2 -2
  36. package/lib/ui/index.js +2 -2
  37. package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
  38. package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
  39. package/lib/ui/taon-iframe-sync/index.js +2 -2
  40. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.d.ts +1 -0
  41. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js +4 -0
  42. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js.map +1 -1
  43. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.d.ts +1 -0
  44. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js +5 -0
  45. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js.map +1 -1
  46. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.d.ts +1 -0
  47. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js +9 -1
  48. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js.map +1 -1
  49. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.d.ts +1 -0
  50. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js +12 -2
  51. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js.map +1 -1
  52. package/lib/ui/taon-lang-selector/index.js +2 -2
  53. package/lib/ui/taon-lang-selector/taon-lang-selector.component.d.ts +1 -1
  54. package/lib/ui/taon-progress-bar/index.js +2 -2
  55. package/lib/ui/taon-session-passcode/index.js +2 -2
  56. package/lib/ui/taon-settings/index.js +2 -2
  57. package/lib/ui/taon-table/index.js +2 -2
  58. package/lib-esm/app.electron.d.ts +1 -1
  59. package/lib-esm/app.electron.js +1 -1
  60. package/lib-esm/app.hosts.d.ts +2 -2
  61. package/lib-esm/app.hosts.js +4 -4
  62. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  63. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  64. package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
  65. package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.js +1 -1
  66. package/lib-esm/lib/ui/anonymize-text/index.d.ts +1 -1
  67. package/lib-esm/lib/ui/anonymize-text/index.js +1 -1
  68. package/lib-esm/lib/ui/directives/index.d.ts +1 -1
  69. package/lib-esm/lib/ui/directives/index.js +1 -1
  70. package/lib-esm/lib/ui/index.d.ts +1 -1
  71. package/lib-esm/lib/ui/index.js +1 -1
  72. package/lib-esm/lib/ui/taon-github-fork-me-corner/index.d.ts +1 -1
  73. package/lib-esm/lib/ui/taon-github-fork-me-corner/index.js +1 -1
  74. package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
  75. package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.js +1 -1
  76. package/lib-esm/lib/ui/taon-iframe-sync/index.d.ts +1 -1
  77. package/lib-esm/lib/ui/taon-iframe-sync/index.js +1 -1
  78. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.d.ts +1 -0
  79. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js +4 -0
  80. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js.map +1 -1
  81. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.d.ts +1 -0
  82. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js +5 -0
  83. package/lib-esm/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js.map +1 -1
  84. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.d.ts +1 -0
  85. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js +9 -1
  86. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js.map +1 -1
  87. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.d.ts +1 -0
  88. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js +12 -2
  89. package/lib-esm/lib/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js.map +1 -1
  90. package/lib-esm/lib/ui/taon-lang-selector/index.d.ts +1 -1
  91. package/lib-esm/lib/ui/taon-lang-selector/index.js +1 -1
  92. package/lib-esm/lib/ui/taon-progress-bar/index.d.ts +1 -1
  93. package/lib-esm/lib/ui/taon-progress-bar/index.js +1 -1
  94. package/lib-esm/lib/ui/taon-session-passcode/index.d.ts +1 -1
  95. package/lib-esm/lib/ui/taon-session-passcode/index.js +1 -1
  96. package/lib-esm/lib/ui/taon-settings/index.d.ts +1 -1
  97. package/lib-esm/lib/ui/taon-settings/index.js +1 -1
  98. package/lib-esm/lib/ui/taon-table/index.d.ts +1 -1
  99. package/lib-esm/lib/ui/taon-table/index.js +1 -1
  100. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  101. package/lib-prod/build-info._auto-generated_.js +1 -1
  102. package/lib-prod/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
  103. package/lib-prod/layouts/taon-bootstrap-navbar/index.js +1 -1
  104. package/lib-prod/package.json +1 -1
  105. package/lib-prod/ui/anonymize-text/index.d.ts +1 -1
  106. package/lib-prod/ui/anonymize-text/index.js +1 -1
  107. package/lib-prod/ui/directives/index.d.ts +1 -1
  108. package/lib-prod/ui/directives/index.js +1 -1
  109. package/lib-prod/ui/index.d.ts +1 -1
  110. package/lib-prod/ui/index.js +1 -1
  111. package/lib-prod/ui/taon-github-fork-me-corner/index.d.ts +1 -1
  112. package/lib-prod/ui/taon-github-fork-me-corner/index.js +1 -1
  113. package/lib-prod/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
  114. package/lib-prod/ui/taon-github-fork-me-ribbon/index.js +1 -1
  115. package/lib-prod/ui/taon-iframe-sync/index.d.ts +1 -1
  116. package/lib-prod/ui/taon-iframe-sync/index.js +1 -1
  117. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.d.ts +1 -0
  118. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js +4 -0
  119. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.en-US.i18n.data.js.map +1 -1
  120. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.d.ts +1 -0
  121. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js +5 -0
  122. package/lib-prod/ui/taon-kv-authorization/i18n/taon-kv-authorization.component.ts.pl-PL.i18n.data.js.map +1 -1
  123. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.d.ts +1 -0
  124. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js +9 -1
  125. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.en-US.i18n.data.js.map +1 -1
  126. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.d.ts +1 -0
  127. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js +12 -2
  128. package/lib-prod/ui/taon-lang-selector/i18n/taon-lang-selector.component.html.pl-PL.i18n.data.js.map +1 -1
  129. package/lib-prod/ui/taon-lang-selector/index.d.ts +1 -1
  130. package/lib-prod/ui/taon-lang-selector/index.js +1 -1
  131. package/lib-prod/ui/taon-progress-bar/index.d.ts +1 -1
  132. package/lib-prod/ui/taon-progress-bar/index.js +1 -1
  133. package/lib-prod/ui/taon-session-passcode/index.d.ts +1 -1
  134. package/lib-prod/ui/taon-session-passcode/index.js +1 -1
  135. package/lib-prod/ui/taon-settings/index.d.ts +1 -1
  136. package/lib-prod/ui/taon-settings/index.js +1 -1
  137. package/lib-prod/ui/taon-table/index.d.ts +1 -1
  138. package/lib-prod/ui/taon-table/index.js +1 -1
  139. package/package.json +1 -1
  140. package/websql/README.md +24 -24
  141. package/websql/fesm2022/{taon-ui-websql-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs → taon-ui-websql-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs} +5 -1
  142. package/websql/fesm2022/taon-ui-websql-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs.map +1 -0
  143. package/websql/fesm2022/{taon-ui-websql-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs → taon-ui-websql-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs} +6 -1
  144. package/websql/fesm2022/taon-ui-websql-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs.map +1 -0
  145. package/websql/fesm2022/{taon-ui-websql-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs → taon-ui-websql-taon-lang-selector.component.html.en-US.i18n.data-AvBh0X6D.mjs} +10 -2
  146. package/websql/fesm2022/taon-ui-websql-taon-lang-selector.component.html.en-US.i18n.data-AvBh0X6D.mjs.map +1 -0
  147. package/websql/fesm2022/{taon-ui-websql-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs → taon-ui-websql-taon-lang-selector.component.html.pl-PL.i18n.data-BcEDgtVN.mjs} +13 -3
  148. package/websql/fesm2022/taon-ui-websql-taon-lang-selector.component.html.pl-PL.i18n.data-BcEDgtVN.mjs.map +1 -0
  149. package/websql/fesm2022/taon-ui-websql.mjs +41 -37
  150. package/websql/fesm2022/taon-ui-websql.mjs.map +1 -1
  151. package/websql/package.json +1 -1
  152. package/websql/types/taon-ui-websql.d.ts +6 -2
  153. package/websql-prod/README.md +24 -24
  154. package/websql-prod/fesm2022/{taon-ui-websql-prod-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs → taon-ui-websql-prod-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs} +5 -1
  155. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs.map +1 -0
  156. package/websql-prod/fesm2022/{taon-ui-websql-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs → taon-ui-websql-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs} +6 -1
  157. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs.map +1 -0
  158. package/websql-prod/fesm2022/{taon-ui-websql-prod-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs → taon-ui-websql-prod-taon-lang-selector.component.html.en-US.i18n.data-AvBh0X6D.mjs} +10 -2
  159. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-lang-selector.component.html.en-US.i18n.data-AvBh0X6D.mjs.map +1 -0
  160. package/websql-prod/fesm2022/{taon-ui-websql-prod-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs → taon-ui-websql-prod-taon-lang-selector.component.html.pl-PL.i18n.data-BcEDgtVN.mjs} +13 -3
  161. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-lang-selector.component.html.pl-PL.i18n.data-BcEDgtVN.mjs.map +1 -0
  162. package/websql-prod/fesm2022/taon-ui-websql-prod.mjs +41 -37
  163. package/websql-prod/fesm2022/taon-ui-websql-prod.mjs.map +1 -1
  164. package/websql-prod/package.json +1 -1
  165. package/websql-prod/types/taon-ui-websql-prod.d.ts +6 -2
  166. package/browser/fesm2022/taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs.map +0 -1
  167. package/browser/fesm2022/taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs.map +0 -1
  168. package/browser/fesm2022/taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs.map +0 -1
  169. package/browser/fesm2022/taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs.map +0 -1
  170. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs.map +0 -1
  171. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs.map +0 -1
  172. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs.map +0 -1
  173. package/browser-prod/fesm2022/taon-ui-browser-prod-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs.map +0 -1
  174. package/websql/fesm2022/taon-ui-websql-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs.map +0 -1
  175. package/websql/fesm2022/taon-ui-websql-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs.map +0 -1
  176. package/websql/fesm2022/taon-ui-websql-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs.map +0 -1
  177. package/websql/fesm2022/taon-ui-websql-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs.map +0 -1
  178. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs.map +0 -1
  179. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs.map +0 -1
  180. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs.map +0 -1
  181. package/websql-prod/fesm2022/taon-ui-websql-prod-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs.map +0 -1
@@ -52,7 +52,7 @@ import { MatToolbarModule } from '@angular/material/toolbar';
52
52
  import { MatTooltipModule } from '@angular/material/tooltip';
53
53
  import { MatTreeModule } from '@angular/material/tree';
54
54
  import * as i1 from '@angular/common';
55
- import { CommonModule, NgIf, AsyncPipe, isPlatformBrowser, JsonPipe, NgStyle } from '@angular/common';
55
+ import { CommonModule, NgIf, AsyncPipe, JsonPipe, isPlatformBrowser, NgStyle } from '@angular/common';
56
56
  import * as i2 from '@ng-bootstrap/ng-bootstrap';
57
57
  import { NgbCollapseModule } from '@ng-bootstrap/ng-bootstrap';
58
58
  import { ModalModule } from 'ngx-bootstrap/modal';
@@ -64,7 +64,7 @@ import * as i2$1 from '@angular/forms';
64
64
  import { FormGroup, FormControl, ReactiveFormsModule, FormsModule, Validators } from '@angular/forms';
65
65
  import * as i3 from 'ngx-scrollbar';
66
66
  import { NgScrollbarModule } from 'ngx-scrollbar';
67
- import { interval, tap, Subject, Observable, BehaviorSubject, map, distinctUntilChanged, shareReplay, take, of, Subscription, defer, fromEvent, debounceTime, share } from 'rxjs';
67
+ import { interval, tap, Subject, Observable, BehaviorSubject, map, distinctUntilChanged, shareReplay, take, withLatestFrom, Subscription, defer, fromEvent, debounceTime, share } from 'rxjs';
68
68
  import * as i4$1 from 'static-columns/browser';
69
69
  import { StaticColumnsModule } from 'static-columns/browser';
70
70
  import { TaonAdminPanelMode, TaonAdminService, Symbols } from 'taon/browser';
@@ -110,7 +110,7 @@ const CURRENT_PACKAGE_TAON_VERSION = 'v21';
110
110
  /**
111
111
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
112
112
  */
113
- const CURRENT_PACKAGE_VERSION = '21.0.55';
113
+ const CURRENT_PACKAGE_VERSION = '21.0.56';
114
114
  // THIS FILE IS GENERATED - DO NOT MODIFY
115
115
 
116
116
  function myOrgProj() { }
@@ -866,11 +866,11 @@ class TaonSessionPasscodeComponent {
866
866
  }
867
867
  }
868
868
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSessionPasscodeComponent, deps: [{ token: i0.ElementRef, self: true }, { token: i1$1.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
869
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonSessionPasscodeComponent, isStandalone: true, selector: "taon-session-passcode", inputs: { passcode: "passcode", message: "message" }, host: { properties: { "style.display": "this.display" } }, ngImport: i0, template: "<form\n [formGroup]=\"form\"\n content=\"notranslate\"\n autocomplete=\"off\"\n (click)=\"focus()\"\n (ngSubmit)=\"submit(form.value)\"\n class=\"flex flex-col items-center w-full h-full\">\n <div class=\"flex content-center w-full justify-center mt-8\">\n <p\n class=\"p-3 max-w-[400px] min-h-[100px]\"\n [innerHtml]=\"safeMessage\"></p>\n </div>\n\n <input\n type=\"password\"\n class=\"text-5xl md:text-8xl pointer-events-none\"\n #taonpasscode\n (keyup)=\"onKeyup($event)\"\n formControlName=\"passcode\" />\n</form>\n", styles: [":host{position:fixed;background-color:#9f9f9f57;z-index:2147483647;backdrop-filter:blur(50px);width:100%;height:100%;display:none}input{background:#fff;border-radius:6px;outline:0px;border:0px;color:gray;text-align:center;width:500px}\n"], dependencies: [{ kind: "ngmodule", type: PasswordModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }] }); }
869
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonSessionPasscodeComponent, isStandalone: true, selector: "taon-session-passcode", inputs: { passcode: "passcode", message: "message" }, host: { properties: { "style.display": "this.display" } }, ngImport: i0, template: "<form\n [formGroup]=\"form\"\n content=\"notranslate\"\n autocomplete=\"off\"\n (click)=\"focus()\"\n (ngSubmit)=\"submit(form.value)\"\n class=\"flex flex-col items-center w-full h-full\">\n <div class=\"flex content-center w-full justify-center mt-8\">\n <p\n class=\"p-3 max-w-[400px] min-h-[100px]\"\n [innerHtml]=\"safeMessage\"></p>\n </div>\n\n <input\n type=\"password\"\n class=\"text-5xl md:text-8xl pointer-events-none\"\n #taonpasscode\n (keyup)=\"onKeyup($event)\"\n formControlName=\"passcode\" />\n</form>", styles: [":host{position:fixed;background-color:#9f9f9f57;z-index:2147483647;backdrop-filter:blur(50px);width:100%;height:100%;display:none}input{background:#fff;border-radius:6px;outline:0px;border:0px;color:gray;text-align:center;width:500px}\n"], dependencies: [{ kind: "ngmodule", type: PasswordModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }] }); }
870
870
  }
871
871
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSessionPasscodeComponent, decorators: [{
872
872
  type: Component,
873
- args: [{ selector: 'taon-session-passcode', standalone: true, imports: [PasswordModule, CommonModule, ReactiveFormsModule, FormsModule], template: "<form\n [formGroup]=\"form\"\n content=\"notranslate\"\n autocomplete=\"off\"\n (click)=\"focus()\"\n (ngSubmit)=\"submit(form.value)\"\n class=\"flex flex-col items-center w-full h-full\">\n <div class=\"flex content-center w-full justify-center mt-8\">\n <p\n class=\"p-3 max-w-[400px] min-h-[100px]\"\n [innerHtml]=\"safeMessage\"></p>\n </div>\n\n <input\n type=\"password\"\n class=\"text-5xl md:text-8xl pointer-events-none\"\n #taonpasscode\n (keyup)=\"onKeyup($event)\"\n formControlName=\"passcode\" />\n</form>\n", styles: [":host{position:fixed;background-color:#9f9f9f57;z-index:2147483647;backdrop-filter:blur(50px);width:100%;height:100%;display:none}input{background:#fff;border-radius:6px;outline:0px;border:0px;color:gray;text-align:center;width:500px}\n"] }]
873
+ args: [{ selector: 'taon-session-passcode', standalone: true, imports: [PasswordModule, CommonModule, ReactiveFormsModule, FormsModule], template: "<form\n [formGroup]=\"form\"\n content=\"notranslate\"\n autocomplete=\"off\"\n (click)=\"focus()\"\n (ngSubmit)=\"submit(form.value)\"\n class=\"flex flex-col items-center w-full h-full\">\n <div class=\"flex content-center w-full justify-center mt-8\">\n <p\n class=\"p-3 max-w-[400px] min-h-[100px]\"\n [innerHtml]=\"safeMessage\"></p>\n </div>\n\n <input\n type=\"password\"\n class=\"text-5xl md:text-8xl pointer-events-none\"\n #taonpasscode\n (keyup)=\"onKeyup($event)\"\n formControlName=\"passcode\" />\n</form>", styles: [":host{position:fixed;background-color:#9f9f9f57;z-index:2147483647;backdrop-filter:blur(50px);width:100%;height:100%;display:none}input{background:#fff;border-radius:6px;outline:0px;border:0px;color:gray;text-align:center;width:500px}\n"] }]
874
874
  }], ctorParameters: () => [{ type: i0.ElementRef, decorators: [{
875
875
  type: Self
876
876
  }] }, { type: i1$1.DomSanitizer }, { type: i0.ChangeDetectorRef }], propDecorators: { passcode: [{
@@ -976,7 +976,7 @@ class TaonAdminModeConfigurationComponent {
976
976
  }
977
977
  }
978
978
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonAdminModeConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
979
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonAdminModeConfigurationComponent, isStandalone: true, selector: "taon-admin-mode-configuration", inputs: { scrollableEnabled: "scrollableEnabled", showPasscode: "showPasscode", passcode: "passcode", message: "message" }, host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<!-- #region basic global components -->\n<taon-session-passcode\n *ngIf=\"showPasscode\"\n [passcode]=\"passcode\"\n [message]=\"message\" />\n<!-- <taon-progress-bar [taonAdminService.isDesktop()]=\"taonAdminService.isDesktop()\"></taon-progress-bar> -->\n<!-- <taon-notifications></taon-notifications> -->\n<button\n mat-fab\n class=\"fab-button\"\n color=\"accent\"\n aria-label=\"Taon Admin Mode\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.ICON &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe\n \"\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\">\n <mat-icon>build</mat-icon>\n</button>\n<!-- #endregion -->\n\n<!-- #region small hidden button -->\n<!-- <button class=\"admin-show-button\"\n *ngIf=\"!taonAdminService.draggablePopupMode && taonAdminService.isDesktop()\"\n (click)=\"toogle()\"> Admin </button> -->\n<!-- #endregion -->\n\n<!-- #region content or content with scrollbar-->\n<ng-template #contentNoScroll>\n <ng-content> </ng-content>\n</ng-template>\n\n<ng-template #content>\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"contentNoScroll\"></ng-container>\n </ng-scrollbar>\n</ng-template>\n<!-- #endregion-->\n\n<!-- #region admin tabs -->\n<ng-template #adminTabs>\n <!-- #region admin tabs / header -->\n\n <div\n class=\"bg-white taon-header-admin overflow-hidden w-full flex flex-row align-items-center align-content-center justify-content-between\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <img\n class=\"p-2 flex\"\n style=\"height: 45px\"\n src=\"assets/assets-for/taon-ui/assets/shared/logo-header-admin-mode.png\" />\n\n <div class=\"flex flex-row\">\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.NONE)\"\n class=\"\">\n <mat-icon>close</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.ICON)\"\n class=\"\">\n <mat-icon>minimize</mat-icon>\n </button>\n\n <button\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"\n taonAdminService.adminPanelMode.set(TaonAdminPanelMode.FULL_SCREEN)\n \"\n class=\"\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>close_fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"taonAdminService.adminPanelMode() !== TaonAdminPanelMode.SIDE\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.SIDE)\"\n class=\"\">\n <mat-icon style=\"transform: rotate(180deg)\">login</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.POPUP &&\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>launch</mat-icon>\n </button>\n </div>\n </div>\n <!-- #endregion -->\n\n <div\n class=\"w-full flex flex-row align-items-center\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <div class=\"w-full\">\n <!-- (wheel)=\"scrollTabs($event)\" -->\n <mat-tab-group\n dynamicHeight\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndex.set($event)\">\n <mat-tab label=\"Settings\">\n <section>\n <mat-card>\n <mat-card-header>\n <mat-card-subtitle>WEBSQL MODE</mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <mat-checkbox\n [disabled]=\"!isWebSQLMode\"\n [ngModel]=\"taonAdminService.keepWebsqlDbDataAfterReload()\"\n (change)=\"\n taonAdminService.keepWebsqlDbDataAfterReload.set(\n $event.checked\n )\n \">\n Don't remove data when re-loading\n </mat-checkbox>\n </mat-card-content>\n </mat-card>\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n\n @for (\n additonalTab of taonAdminService.additionalTabs();\n track additonalTab.name\n ) {\n <mat-tab [label]=\"additonalTab.name\">\n <section>\n @if (isLink(additonalTab.templateOrIframeLink)) {\n <iframe\n class=\"block w-full\"\n [src]=\"additonalTab.templateOrIframeLink\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n } @else {\n <div class=\"block w-full\">\n <ng-container\n *ngTemplateOutlet=\"\n additonalTab.templateOrIframeLink\n \"></ng-container>\n </div>\n }\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n </div>\n</ng-template>\n<!-- #endregion -->\n\n<!-- #region small/mobile draggable popup windows -->\n<div\n class=\"draggable-popup-mode-window\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPosition\"\n (cdkDragEnded)=\"moved($event)\">\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </ng-scrollbar>\n</div>\n<!-- #endregion -->\n\n<!-- #region fullscreen draggable popup window -->\n<div\n class=\"draggable-popup-mode-window-full\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPositionZero\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n</div>\n<!-- #endregion -->\n\n<!-- #region content in side mode -->\n<!-- <mat-drawer-container (backdropClick)=\"opened = false\" -->\n<!-- [style.height.px]=\"height\" -->\n<mat-drawer-container\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n class=\"example-container h-screen\"\n style=\"background-color: transparent\"\n [hasBackdrop]=\"false\">\n <mat-drawer\n #drawer\n style=\"width: 450px\"\n [opened]=\"true\"\n [mode]=\"'side'\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </mat-drawer>\n <mat-drawer-content style=\"overflow: hidden\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n </mat-drawer-content>\n</mat-drawer-container>\n<!-- #endregion -->\n\n<!-- #region content in any other mode than side side mode -->\n<div\n [style.height.px]=\"height\"\n *ngIf=\"\n !(\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n )\n \"\n style=\"width: 100%; display: block\"\n class=\"content\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n</div>\n<!-- #endregion -->\n", styles: ["section{display:block;padding:15px}section>*{margin-top:0!important;margin-bottom:10px!important}section>*:last-child{margin-bottom:0!important}:host{display:block}.admin-show-button{position:fixed;bottom:100px;left:-15px;z-index:2147483647;transform:rotate(90deg);border:0px;color:#fff;background:gray;opacity:.1;cursor:pointer}.admin-show-button:hover{opacity:1}.taon-ui-super-admin-mode{font-family:JosefinSans-Bold;text-align:right;margin-right:10px}mat-drawer{margin:0;background-color:#dcdcdc!important}.draggable-popup-mode-window{width:600px;height:500px;border:solid 1px #ccc;color:#000000de;cursor:move;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important;transition:box-shadow .2s cubic-bezier(0,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.draggable-popup-mode-window:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.draggable-popup-mode-window-full{width:100%;height:100%;overflow:scroll;color:#000000de;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important}.fab-button{position:fixed;right:110px;bottom:100px;z-index:10;background-color:#dcdcdc;color:#8f8f8f}.full-tabs{padding:10px}.mat-drawer-container-full-screen{background-color:red}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: StaticColumnsModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NgScrollbarModule }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar:not([externalViewport]), [ngScrollbar]", exportAs: ["ngScrollbar"] }, { kind: "ngmodule", type: TaonProgressBarModule }, { kind: "ngmodule", type: TaonNotificationsModule }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i4.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i4.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i4.MatDrawerContent, selector: "mat-drawer-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i7.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i7.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i7.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i7.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i8.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i3$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i10.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type:
979
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonAdminModeConfigurationComponent, isStandalone: true, selector: "taon-admin-mode-configuration", inputs: { scrollableEnabled: "scrollableEnabled", showPasscode: "showPasscode", passcode: "passcode", message: "message" }, host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<!-- #region basic global components -->\n<taon-session-passcode\n *ngIf=\"showPasscode\"\n [passcode]=\"passcode\"\n [message]=\"message\" />\n<!-- <taon-progress-bar [taonAdminService.isDesktop()]=\"taonAdminService.isDesktop()\"></taon-progress-bar> -->\n<!-- <taon-notifications></taon-notifications> -->\n<button\n mat-fab\n class=\"fab-button\"\n color=\"accent\"\n aria-label=\"Taon Admin Mode\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.ICON &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe\n \"\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\">\n <mat-icon>build</mat-icon>\n</button>\n<!-- #endregion -->\n\n<!-- #region small hidden button -->\n<!-- <button class=\"admin-show-button\"\n *ngIf=\"!taonAdminService.draggablePopupMode && taonAdminService.isDesktop()\"\n (click)=\"toogle()\"> Admin </button> -->\n<!-- #endregion -->\n\n<!-- #region content or content with scrollbar-->\n<ng-template #contentNoScroll>\n <ng-content> </ng-content>\n</ng-template>\n\n<ng-template #content>\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"contentNoScroll\"></ng-container>\n </ng-scrollbar>\n</ng-template>\n<!-- #endregion-->\n\n<!-- #region admin tabs -->\n<ng-template #adminTabs>\n <!-- #region admin tabs / header -->\n\n <div\n class=\"bg-white taon-header-admin overflow-hidden w-full flex flex-row align-items-center align-content-center justify-content-between\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <img\n class=\"p-2 flex\"\n style=\"height: 45px\"\n src=\"assets/assets-for/taon-ui/assets/shared/logo-header-admin-mode.png\" />\n\n <div class=\"flex flex-row\">\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.NONE)\"\n class=\"\">\n <mat-icon>close</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.ICON)\"\n class=\"\">\n <mat-icon>minimize</mat-icon>\n </button>\n\n <button\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"\n taonAdminService.adminPanelMode.set(TaonAdminPanelMode.FULL_SCREEN)\n \"\n class=\"\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>close_fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"taonAdminService.adminPanelMode() !== TaonAdminPanelMode.SIDE\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.SIDE)\"\n class=\"\">\n <mat-icon style=\"transform: rotate(180deg)\">login</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.POPUP &&\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>launch</mat-icon>\n </button>\n </div>\n </div>\n <!-- #endregion -->\n\n <div\n class=\"w-full flex flex-row align-items-center\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <div class=\"w-full\">\n <!-- (wheel)=\"scrollTabs($event)\" -->\n <mat-tab-group\n dynamicHeight\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndex.set($event)\">\n <mat-tab label=\"Settings\">\n <section>\n <mat-card>\n <mat-card-header>\n <mat-card-subtitle>WEBSQL MODE</mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <mat-checkbox\n [disabled]=\"!isWebSQLMode\"\n [ngModel]=\"taonAdminService.keepWebsqlDbDataAfterReload()\"\n (change)=\"\n taonAdminService.keepWebsqlDbDataAfterReload.set(\n $event.checked\n )\n \">\n Don't remove data when re-loading\n </mat-checkbox>\n </mat-card-content>\n </mat-card>\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n\n @for (\n additonalTab of taonAdminService.additionalTabs();\n track additonalTab.name\n ) {\n <mat-tab [label]=\"additonalTab.name\">\n <section>\n @if (isLink(additonalTab.templateOrIframeLink)) {\n <iframe\n class=\"block w-full\"\n [src]=\"additonalTab.templateOrIframeLink\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n } @else {\n <div class=\"block w-full\">\n <ng-container\n *ngTemplateOutlet=\"\n additonalTab.templateOrIframeLink\n \"></ng-container>\n </div>\n }\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n </div>\n</ng-template>\n<!-- #endregion -->\n\n<!-- #region small/mobile draggable popup windows -->\n<div\n class=\"draggable-popup-mode-window\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPosition\"\n (cdkDragEnded)=\"moved($event)\">\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </ng-scrollbar>\n</div>\n<!-- #endregion -->\n\n<!-- #region fullscreen draggable popup window -->\n<div\n class=\"draggable-popup-mode-window-full\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPositionZero\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n</div>\n<!-- #endregion -->\n\n<!-- #region content in side mode -->\n<!-- <mat-drawer-container (backdropClick)=\"opened = false\" -->\n<!-- [style.height.px]=\"height\" -->\n<mat-drawer-container\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n class=\"example-container h-screen\"\n style=\"background-color: transparent\"\n [hasBackdrop]=\"false\">\n <mat-drawer\n #drawer\n style=\"width: 450px\"\n [opened]=\"true\"\n [mode]=\"'side'\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </mat-drawer>\n <mat-drawer-content style=\"overflow: hidden\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n </mat-drawer-content>\n</mat-drawer-container>\n<!-- #endregion -->\n\n<!-- #region content in any other mode than side side mode -->\n<div\n [style.height.px]=\"height\"\n *ngIf=\"\n !(\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n )\n \"\n style=\"width: 100%; display: block\"\n class=\"content\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n</div>\n<!-- #endregion -->", styles: ["section{display:block;padding:15px}section>*{margin-top:0!important;margin-bottom:10px!important}section>*:last-child{margin-bottom:0!important}:host{display:block}.admin-show-button{position:fixed;bottom:100px;left:-15px;z-index:2147483647;transform:rotate(90deg);border:0px;color:#fff;background:gray;opacity:.1;cursor:pointer}.admin-show-button:hover{opacity:1}.taon-ui-super-admin-mode{font-family:JosefinSans-Bold;text-align:right;margin-right:10px}mat-drawer{margin:0;background-color:#dcdcdc!important}.draggable-popup-mode-window{width:600px;height:500px;border:solid 1px #ccc;color:#000000de;cursor:move;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important;transition:box-shadow .2s cubic-bezier(0,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.draggable-popup-mode-window:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.draggable-popup-mode-window-full{width:100%;height:100%;overflow:scroll;color:#000000de;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important}.fab-button{position:fixed;right:110px;bottom:100px;z-index:10;background-color:#dcdcdc;color:#8f8f8f}.full-tabs{padding:10px}.mat-drawer-container-full-screen{background-color:red}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: StaticColumnsModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NgScrollbarModule }, { kind: "component", type: i3.NgScrollbar, selector: "ng-scrollbar:not([externalViewport]), [ngScrollbar]", exportAs: ["ngScrollbar"] }, { kind: "ngmodule", type: TaonProgressBarModule }, { kind: "ngmodule", type: TaonNotificationsModule }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i4.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i4.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i4.MatDrawerContent, selector: "mat-drawer-content" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i7.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i7.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i7.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i7.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i8.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$2.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass", "id"], exportAs: ["matTab"] }, { kind: "component", type: i3$2.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i10.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type:
980
980
  // TaonDbAdminComponent,
981
981
  TaonSessionPasscodeComponent, selector: "taon-session-passcode", inputs: ["passcode", "message"] }] }); }
982
982
  }
@@ -1000,7 +1000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1000
1000
  DragDropModule,
1001
1001
  // TaonDbAdminComponent,
1002
1002
  TaonSessionPasscodeComponent,
1003
- ], template: "<!-- #region basic global components -->\n<taon-session-passcode\n *ngIf=\"showPasscode\"\n [passcode]=\"passcode\"\n [message]=\"message\" />\n<!-- <taon-progress-bar [taonAdminService.isDesktop()]=\"taonAdminService.isDesktop()\"></taon-progress-bar> -->\n<!-- <taon-notifications></taon-notifications> -->\n<button\n mat-fab\n class=\"fab-button\"\n color=\"accent\"\n aria-label=\"Taon Admin Mode\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.ICON &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe\n \"\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\">\n <mat-icon>build</mat-icon>\n</button>\n<!-- #endregion -->\n\n<!-- #region small hidden button -->\n<!-- <button class=\"admin-show-button\"\n *ngIf=\"!taonAdminService.draggablePopupMode && taonAdminService.isDesktop()\"\n (click)=\"toogle()\"> Admin </button> -->\n<!-- #endregion -->\n\n<!-- #region content or content with scrollbar-->\n<ng-template #contentNoScroll>\n <ng-content> </ng-content>\n</ng-template>\n\n<ng-template #content>\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"contentNoScroll\"></ng-container>\n </ng-scrollbar>\n</ng-template>\n<!-- #endregion-->\n\n<!-- #region admin tabs -->\n<ng-template #adminTabs>\n <!-- #region admin tabs / header -->\n\n <div\n class=\"bg-white taon-header-admin overflow-hidden w-full flex flex-row align-items-center align-content-center justify-content-between\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <img\n class=\"p-2 flex\"\n style=\"height: 45px\"\n src=\"assets/assets-for/taon-ui/assets/shared/logo-header-admin-mode.png\" />\n\n <div class=\"flex flex-row\">\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.NONE)\"\n class=\"\">\n <mat-icon>close</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.ICON)\"\n class=\"\">\n <mat-icon>minimize</mat-icon>\n </button>\n\n <button\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"\n taonAdminService.adminPanelMode.set(TaonAdminPanelMode.FULL_SCREEN)\n \"\n class=\"\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>close_fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"taonAdminService.adminPanelMode() !== TaonAdminPanelMode.SIDE\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.SIDE)\"\n class=\"\">\n <mat-icon style=\"transform: rotate(180deg)\">login</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.POPUP &&\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>launch</mat-icon>\n </button>\n </div>\n </div>\n <!-- #endregion -->\n\n <div\n class=\"w-full flex flex-row align-items-center\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <div class=\"w-full\">\n <!-- (wheel)=\"scrollTabs($event)\" -->\n <mat-tab-group\n dynamicHeight\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndex.set($event)\">\n <mat-tab label=\"Settings\">\n <section>\n <mat-card>\n <mat-card-header>\n <mat-card-subtitle>WEBSQL MODE</mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <mat-checkbox\n [disabled]=\"!isWebSQLMode\"\n [ngModel]=\"taonAdminService.keepWebsqlDbDataAfterReload()\"\n (change)=\"\n taonAdminService.keepWebsqlDbDataAfterReload.set(\n $event.checked\n )\n \">\n Don't remove data when re-loading\n </mat-checkbox>\n </mat-card-content>\n </mat-card>\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n\n @for (\n additonalTab of taonAdminService.additionalTabs();\n track additonalTab.name\n ) {\n <mat-tab [label]=\"additonalTab.name\">\n <section>\n @if (isLink(additonalTab.templateOrIframeLink)) {\n <iframe\n class=\"block w-full\"\n [src]=\"additonalTab.templateOrIframeLink\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n } @else {\n <div class=\"block w-full\">\n <ng-container\n *ngTemplateOutlet=\"\n additonalTab.templateOrIframeLink\n \"></ng-container>\n </div>\n }\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n </div>\n</ng-template>\n<!-- #endregion -->\n\n<!-- #region small/mobile draggable popup windows -->\n<div\n class=\"draggable-popup-mode-window\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPosition\"\n (cdkDragEnded)=\"moved($event)\">\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </ng-scrollbar>\n</div>\n<!-- #endregion -->\n\n<!-- #region fullscreen draggable popup window -->\n<div\n class=\"draggable-popup-mode-window-full\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPositionZero\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n</div>\n<!-- #endregion -->\n\n<!-- #region content in side mode -->\n<!-- <mat-drawer-container (backdropClick)=\"opened = false\" -->\n<!-- [style.height.px]=\"height\" -->\n<mat-drawer-container\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n class=\"example-container h-screen\"\n style=\"background-color: transparent\"\n [hasBackdrop]=\"false\">\n <mat-drawer\n #drawer\n style=\"width: 450px\"\n [opened]=\"true\"\n [mode]=\"'side'\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </mat-drawer>\n <mat-drawer-content style=\"overflow: hidden\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n </mat-drawer-content>\n</mat-drawer-container>\n<!-- #endregion -->\n\n<!-- #region content in any other mode than side side mode -->\n<div\n [style.height.px]=\"height\"\n *ngIf=\"\n !(\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n )\n \"\n style=\"width: 100%; display: block\"\n class=\"content\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n</div>\n<!-- #endregion -->\n", styles: ["section{display:block;padding:15px}section>*{margin-top:0!important;margin-bottom:10px!important}section>*:last-child{margin-bottom:0!important}:host{display:block}.admin-show-button{position:fixed;bottom:100px;left:-15px;z-index:2147483647;transform:rotate(90deg);border:0px;color:#fff;background:gray;opacity:.1;cursor:pointer}.admin-show-button:hover{opacity:1}.taon-ui-super-admin-mode{font-family:JosefinSans-Bold;text-align:right;margin-right:10px}mat-drawer{margin:0;background-color:#dcdcdc!important}.draggable-popup-mode-window{width:600px;height:500px;border:solid 1px #ccc;color:#000000de;cursor:move;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important;transition:box-shadow .2s cubic-bezier(0,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.draggable-popup-mode-window:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.draggable-popup-mode-window-full{width:100%;height:100%;overflow:scroll;color:#000000de;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important}.fab-button{position:fixed;right:110px;bottom:100px;z-index:10;background-color:#dcdcdc;color:#8f8f8f}.full-tabs{padding:10px}.mat-drawer-container-full-screen{background-color:red}\n"] }]
1003
+ ], template: "<!-- #region basic global components -->\n<taon-session-passcode\n *ngIf=\"showPasscode\"\n [passcode]=\"passcode\"\n [message]=\"message\" />\n<!-- <taon-progress-bar [taonAdminService.isDesktop()]=\"taonAdminService.isDesktop()\"></taon-progress-bar> -->\n<!-- <taon-notifications></taon-notifications> -->\n<button\n mat-fab\n class=\"fab-button\"\n color=\"accent\"\n aria-label=\"Taon Admin Mode\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.ICON &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe\n \"\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\">\n <mat-icon>build</mat-icon>\n</button>\n<!-- #endregion -->\n\n<!-- #region small hidden button -->\n<!-- <button class=\"admin-show-button\"\n *ngIf=\"!taonAdminService.draggablePopupMode && taonAdminService.isDesktop()\"\n (click)=\"toogle()\"> Admin </button> -->\n<!-- #endregion -->\n\n<!-- #region content or content with scrollbar-->\n<ng-template #contentNoScroll>\n <ng-content> </ng-content>\n</ng-template>\n\n<ng-template #content>\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"contentNoScroll\"></ng-container>\n </ng-scrollbar>\n</ng-template>\n<!-- #endregion-->\n\n<!-- #region admin tabs -->\n<ng-template #adminTabs>\n <!-- #region admin tabs / header -->\n\n <div\n class=\"bg-white taon-header-admin overflow-hidden w-full flex flex-row align-items-center align-content-center justify-content-between\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <img\n class=\"p-2 flex\"\n style=\"height: 45px\"\n src=\"assets/assets-for/taon-ui/assets/shared/logo-header-admin-mode.png\" />\n\n <div class=\"flex flex-row\">\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.NONE)\"\n class=\"\">\n <mat-icon>close</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.ICON)\"\n class=\"\">\n <mat-icon>minimize</mat-icon>\n </button>\n\n <button\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"\n taonAdminService.adminPanelMode.set(TaonAdminPanelMode.FULL_SCREEN)\n \"\n class=\"\">\n <mat-icon>fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>close_fullscreen</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"taonAdminService.adminPanelMode() !== TaonAdminPanelMode.SIDE\"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.SIDE)\"\n class=\"\">\n <mat-icon style=\"transform: rotate(180deg)\">login</mat-icon>\n </button>\n\n <button\n style=\"width: 40px\"\n *ngIf=\"\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.POPUP &&\n taonAdminService.adminPanelMode() !== TaonAdminPanelMode.FULL_SCREEN\n \"\n mat-icon-button\n (click)=\"taonAdminService.adminPanelMode.set(TaonAdminPanelMode.POPUP)\"\n class=\"\">\n <mat-icon>launch</mat-icon>\n </button>\n </div>\n </div>\n <!-- #endregion -->\n\n <div\n class=\"w-full flex flex-row align-items-center\"\n [ngClass]=\"{\n 'block w-full':\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP,\n }\">\n <div class=\"w-full\">\n <!-- (wheel)=\"scrollTabs($event)\" -->\n <mat-tab-group\n dynamicHeight\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndex.set($event)\">\n <mat-tab label=\"Settings\">\n <section>\n <mat-card>\n <mat-card-header>\n <mat-card-subtitle>WEBSQL MODE</mat-card-subtitle>\n </mat-card-header>\n <mat-card-content>\n <mat-checkbox\n [disabled]=\"!isWebSQLMode\"\n [ngModel]=\"taonAdminService.keepWebsqlDbDataAfterReload()\"\n (change)=\"\n taonAdminService.keepWebsqlDbDataAfterReload.set(\n $event.checked\n )\n \">\n Don't remove data when re-loading\n </mat-checkbox>\n </mat-card-content>\n </mat-card>\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n\n @for (\n additonalTab of taonAdminService.additionalTabs();\n track additonalTab.name\n ) {\n <mat-tab [label]=\"additonalTab.name\">\n <section>\n @if (isLink(additonalTab.templateOrIframeLink)) {\n <iframe\n class=\"block w-full\"\n [src]=\"additonalTab.templateOrIframeLink\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n } @else {\n <div class=\"block w-full\">\n <ng-container\n *ngTemplateOutlet=\"\n additonalTab.templateOrIframeLink\n \"></ng-container>\n </div>\n }\n </section>\n <br />\n <taon-db-admin />\n </mat-tab>\n }\n </mat-tab-group>\n </div>\n </div>\n</ng-template>\n<!-- #endregion -->\n\n<!-- #region small/mobile draggable popup windows -->\n<div\n class=\"draggable-popup-mode-window\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.POPUP &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPosition\"\n (cdkDragEnded)=\"moved($event)\">\n <ng-scrollbar>\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </ng-scrollbar>\n</div>\n<!-- #endregion -->\n\n<!-- #region fullscreen draggable popup window -->\n<div\n class=\"draggable-popup-mode-window-full\"\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.FULL_SCREEN &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n cdkDrag\n [cdkDragFreeDragPosition]=\"dragPositionZero\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n</div>\n<!-- #endregion -->\n\n<!-- #region content in side mode -->\n<!-- <mat-drawer-container (backdropClick)=\"opened = false\" -->\n<!-- [style.height.px]=\"height\" -->\n<mat-drawer-container\n *ngIf=\"\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n \"\n class=\"example-container h-screen\"\n style=\"background-color: transparent\"\n [hasBackdrop]=\"false\">\n <mat-drawer\n #drawer\n style=\"width: 450px\"\n [opened]=\"true\"\n [mode]=\"'side'\">\n <ng-container [ngTemplateOutlet]=\"adminTabs\"></ng-container>\n </mat-drawer>\n <mat-drawer-content style=\"overflow: hidden\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n </mat-drawer-content>\n</mat-drawer-container>\n<!-- #endregion -->\n\n<!-- #region content in any other mode than side side mode -->\n<div\n [style.height.px]=\"height\"\n *ngIf=\"\n !(\n taonAdminService.adminPanelMode() === TaonAdminPanelMode.SIDE &&\n taonAdminService.isDesktop() &&\n !taonAdminService.isIframe &&\n !reloading()\n )\n \"\n style=\"width: 100%; display: block\"\n class=\"content\">\n <ng-container\n [ngTemplateOutlet]=\"\n scrollableEnabled ? content : contentNoScroll\n \"></ng-container>\n</div>\n<!-- #endregion -->", styles: ["section{display:block;padding:15px}section>*{margin-top:0!important;margin-bottom:10px!important}section>*:last-child{margin-bottom:0!important}:host{display:block}.admin-show-button{position:fixed;bottom:100px;left:-15px;z-index:2147483647;transform:rotate(90deg);border:0px;color:#fff;background:gray;opacity:.1;cursor:pointer}.admin-show-button:hover{opacity:1}.taon-ui-super-admin-mode{font-family:JosefinSans-Bold;text-align:right;margin-right:10px}mat-drawer{margin:0;background-color:#dcdcdc!important}.draggable-popup-mode-window{width:600px;height:500px;border:solid 1px #ccc;color:#000000de;cursor:move;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important;transition:box-shadow .2s cubic-bezier(0,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.draggable-popup-mode-window:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.draggable-popup-mode-window-full{width:100%;height:100%;overflow:scroll;color:#000000de;justify-content:center;align-items:center;background:#fff;border-radius:4px;position:fixed;z-index:105;background-color:#dcdcdc!important}.fab-button{position:fixed;right:110px;bottom:100px;z-index:10;background-color:#dcdcdc;color:#8f8f8f}.full-tabs{padding:10px}.mat-drawer-container-full-screen{background-color:red}\n"] }]
1004
1004
  }], propDecorators: { scrollableEnabled: [{
1005
1005
  type: Input
1006
1006
  }], showPasscode: [{
@@ -1280,7 +1280,7 @@ class AuthDialogComponent {
1280
1280
  });
1281
1281
  }
1282
1282
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1283
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: AuthDialogComponent, isStandalone: true, selector: "app-auth-dialog", inputs: { googleClientId: "googleClientId", microsoftClientId: "microsoftClientId" }, viewQueries: [{ propertyName: "emailLoginBtn", first: true, predicate: ["emailLoginBtn"], descendants: true, static: true }, { propertyName: "googleBtn", first: true, predicate: ["googleBtn"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"auth-dialog p-5\">\n <h4\n class=\"mb-3\"\n translate [translate-t]=\"t\">\n Login or Register\n </h4>\n\n <div\n class=\"w-full pt-3\"\n #emailLoginBtn>\n <form\n [formGroup]=\"form\"\n (ngSubmit)=\"loginByEmail()\"\n class=\"w-full\">\n <mat-form-field\n appearance=\"outline\"\n class=\"w-full email-field\">\n <mat-label *ngIf=\"!diableLoginByEmail\">Email</mat-label>\n\n <input\n matInput\n formControlName=\"email\"\n class=\"pl-1\"\n type=\"email\"\n [placeholder]=\"\n diableLoginByEmail ? t.gettext('Login by email (disabled)') : ''\n \" />\n\n <button\n mat-icon-button\n [disabled]=\"diableLoginByEmail\"\n matSuffix\n color=\"primary\">\n <mat-icon>mail</mat-icon>\n </button>\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('pattern') && form.get('email')?.touched\n \"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n Please enter a valid email address\n </mat-error>\n\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('required') &&\n form.get('email')?.touched\n \">\n {{ t.gettext('Email is') }} <strong translate [translate-t]=\"t\">required</strong>\n </mat-error>\n </mat-form-field>\n </form>\n\n <div class=\"divider\">\n <span translate [translate-t]=\"t\">or</span>\n </div>\n\n <!-- GOOGLE BUTTON -->\n <div\n #googleBtn\n class=\"google-container\">\n <span\n *ngIf=\"!googleButtonLoaded\"\n class=\"text-300 p-2\"\n translate\n [translate-t]=\"t\" [translate-t]=\"t\">loading google button..</span\n >\n <mat-progress-bar\n *ngIf=\"!googleButtonLoaded\"\n mode=\"indeterminate\"\n class=\"auth-progress\" />\n </div>\n\n <!-- MICROSOFT BUTTON -->\n <div\n *ngIf=\"microsoftClientId\"\n #microsoftBtn\n class=\"microsoft-container\">\n <button\n mat-stroked-button\n color=\"primary\"\n class=\"w-full microsoft-btn\"\n (click)=\"loginWithMicrosoft()\">\n <mat-icon class=\"mr-2\">login</mat-icon>\n {{ t.gettext('Continue with Microsoft') }}\n </button>\n </div>\n </div>\n\n <br />\n\n <div class=\"flex justify-content-end\">\n <button\n mat-button\n mat-dialog-close>\n {{ t.gettext('Cancel') }}\n </button>\n </div>\n</div>\n", styles: [".auth-dialog{width:100%}.google-container{width:100%;height:50px;border-color:#9ca3af!important}.microsoft-container{width:100%}.microsoft-btn{height:40px;border-radius:4px!important;border-color:#9ca3af!important;background-color:#fff}:host::ng-deep .email-field .mdc-notched-outline__trailing,:host::ng-deep .email-field .mdc-notched-outline__leading,:host::ng-deep .email-field .mdc-notched-outline__notch{border-color:#9ca3af!important}:host ::ng-deep .auth-progress .mdc-linear-progress__bar-inner{border-color:#9ca3af!important}.divider{display:flex;align-items:center;text-align:center;width:100%;margin:1rem 0}.divider:before,.divider:after{content:\"\";flex:1;border-bottom:1px solid #ccc}.divider span{padding:0 10px;color:#666;font-size:14px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i2$3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MtxLoaderModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1283
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: AuthDialogComponent, isStandalone: true, selector: "app-auth-dialog", inputs: { googleClientId: "googleClientId", microsoftClientId: "microsoftClientId" }, viewQueries: [{ propertyName: "emailLoginBtn", first: true, predicate: ["emailLoginBtn"], descendants: true, static: true }, { propertyName: "googleBtn", first: true, predicate: ["googleBtn"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"auth-dialog p-5\">\n <h4\n class=\"mb-3\"\n translate [translate-t]=\"t\">\n Login or Register\n </h4>\n\n <div\n class=\"w-full pt-3\"\n #emailLoginBtn>\n <form\n [formGroup]=\"form\"\n (ngSubmit)=\"loginByEmail()\"\n class=\"w-full\">\n <mat-form-field\n appearance=\"outline\"\n class=\"w-full email-field\">\n <mat-label *ngIf=\"!diableLoginByEmail\">Email</mat-label>\n\n <input\n matInput\n formControlName=\"email\"\n class=\"pl-1\"\n type=\"email\"\n [placeholder]=\"\n diableLoginByEmail ? t.gettext('Login by email (disabled)') : ''\n \" />\n\n <button\n mat-icon-button\n [disabled]=\"diableLoginByEmail\"\n matSuffix\n color=\"primary\">\n <mat-icon>mail</mat-icon>\n </button>\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('pattern') && form.get('email')?.touched\n \"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n Please enter a valid email address\n </mat-error>\n\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('required') &&\n form.get('email')?.touched\n \">\n {{ t.gettext('Email is') }} <strong translate [translate-t]=\"t\">required</strong>\n </mat-error>\n </mat-form-field>\n </form>\n\n <div class=\"divider\">\n <span translate [translate-t]=\"t\">or</span>\n </div>\n\n <!-- GOOGLE BUTTON -->\n <div\n #googleBtn\n class=\"google-container\">\n <span\n *ngIf=\"!googleButtonLoaded\"\n class=\"text-300 p-2\"\n translate\n [translate-t]=\"t\" [translate-t]=\"t\">loading google button..</span\n >\n <mat-progress-bar\n *ngIf=\"!googleButtonLoaded\"\n mode=\"indeterminate\"\n class=\"auth-progress\" />\n </div>\n\n <!-- MICROSOFT BUTTON -->\n <div\n *ngIf=\"microsoftClientId\"\n #microsoftBtn\n class=\"microsoft-container\">\n <button\n mat-stroked-button\n color=\"primary\"\n class=\"w-full microsoft-btn\"\n (click)=\"loginWithMicrosoft()\">\n <mat-icon class=\"mr-2\">login</mat-icon>\n {{ t.gettext('Continue with Microsoft') }}\n </button>\n </div>\n </div>\n\n <br />\n\n <div class=\"flex justify-content-end\">\n <button\n mat-button\n mat-dialog-close>\n {{ t.gettext('Cancel') }}\n </button>\n </div>\n</div>", styles: [".auth-dialog{width:100%}.google-container{width:100%;height:50px;border-color:#9ca3af!important}.microsoft-container{width:100%}.microsoft-btn{height:40px;border-radius:4px!important;border-color:#9ca3af!important;background-color:#fff}:host::ng-deep .email-field .mdc-notched-outline__trailing,:host::ng-deep .email-field .mdc-notched-outline__leading,:host::ng-deep .email-field .mdc-notched-outline__notch{border-color:#9ca3af!important}:host ::ng-deep .auth-progress .mdc-linear-progress__bar-inner{border-color:#9ca3af!important}.divider{display:flex;align-items:center;text-align:center;width:100%;margin:1rem 0}.divider:before,.divider:after{content:\"\";flex:1;border-bottom:1px solid #ccc}.divider span{padding:0 10px;color:#666;font-size:14px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i2$3.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i6.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MtxLoaderModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1284
1284
  }
1285
1285
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthDialogComponent, decorators: [{
1286
1286
  type: Component,
@@ -1300,7 +1300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1300
1300
  ReactiveFormsModule,
1301
1301
  FormsModule,
1302
1302
  TranslateDirective,
1303
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"auth-dialog p-5\">\n <h4\n class=\"mb-3\"\n translate [translate-t]=\"t\">\n Login or Register\n </h4>\n\n <div\n class=\"w-full pt-3\"\n #emailLoginBtn>\n <form\n [formGroup]=\"form\"\n (ngSubmit)=\"loginByEmail()\"\n class=\"w-full\">\n <mat-form-field\n appearance=\"outline\"\n class=\"w-full email-field\">\n <mat-label *ngIf=\"!diableLoginByEmail\">Email</mat-label>\n\n <input\n matInput\n formControlName=\"email\"\n class=\"pl-1\"\n type=\"email\"\n [placeholder]=\"\n diableLoginByEmail ? t.gettext('Login by email (disabled)') : ''\n \" />\n\n <button\n mat-icon-button\n [disabled]=\"diableLoginByEmail\"\n matSuffix\n color=\"primary\">\n <mat-icon>mail</mat-icon>\n </button>\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('pattern') && form.get('email')?.touched\n \"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n Please enter a valid email address\n </mat-error>\n\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('required') &&\n form.get('email')?.touched\n \">\n {{ t.gettext('Email is') }} <strong translate [translate-t]=\"t\">required</strong>\n </mat-error>\n </mat-form-field>\n </form>\n\n <div class=\"divider\">\n <span translate [translate-t]=\"t\">or</span>\n </div>\n\n <!-- GOOGLE BUTTON -->\n <div\n #googleBtn\n class=\"google-container\">\n <span\n *ngIf=\"!googleButtonLoaded\"\n class=\"text-300 p-2\"\n translate\n [translate-t]=\"t\" [translate-t]=\"t\">loading google button..</span\n >\n <mat-progress-bar\n *ngIf=\"!googleButtonLoaded\"\n mode=\"indeterminate\"\n class=\"auth-progress\" />\n </div>\n\n <!-- MICROSOFT BUTTON -->\n <div\n *ngIf=\"microsoftClientId\"\n #microsoftBtn\n class=\"microsoft-container\">\n <button\n mat-stroked-button\n color=\"primary\"\n class=\"w-full microsoft-btn\"\n (click)=\"loginWithMicrosoft()\">\n <mat-icon class=\"mr-2\">login</mat-icon>\n {{ t.gettext('Continue with Microsoft') }}\n </button>\n </div>\n </div>\n\n <br />\n\n <div class=\"flex justify-content-end\">\n <button\n mat-button\n mat-dialog-close>\n {{ t.gettext('Cancel') }}\n </button>\n </div>\n</div>\n", styles: [".auth-dialog{width:100%}.google-container{width:100%;height:50px;border-color:#9ca3af!important}.microsoft-container{width:100%}.microsoft-btn{height:40px;border-radius:4px!important;border-color:#9ca3af!important;background-color:#fff}:host::ng-deep .email-field .mdc-notched-outline__trailing,:host::ng-deep .email-field .mdc-notched-outline__leading,:host::ng-deep .email-field .mdc-notched-outline__notch{border-color:#9ca3af!important}:host ::ng-deep .auth-progress .mdc-linear-progress__bar-inner{border-color:#9ca3af!important}.divider{display:flex;align-items:center;text-align:center;width:100%;margin:1rem 0}.divider:before,.divider:after{content:\"\";flex:1;border-bottom:1px solid #ccc}.divider span{padding:0 10px;color:#666;font-size:14px}\n"] }]
1303
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"auth-dialog p-5\">\n <h4\n class=\"mb-3\"\n translate [translate-t]=\"t\">\n Login or Register\n </h4>\n\n <div\n class=\"w-full pt-3\"\n #emailLoginBtn>\n <form\n [formGroup]=\"form\"\n (ngSubmit)=\"loginByEmail()\"\n class=\"w-full\">\n <mat-form-field\n appearance=\"outline\"\n class=\"w-full email-field\">\n <mat-label *ngIf=\"!diableLoginByEmail\">Email</mat-label>\n\n <input\n matInput\n formControlName=\"email\"\n class=\"pl-1\"\n type=\"email\"\n [placeholder]=\"\n diableLoginByEmail ? t.gettext('Login by email (disabled)') : ''\n \" />\n\n <button\n mat-icon-button\n [disabled]=\"diableLoginByEmail\"\n matSuffix\n color=\"primary\">\n <mat-icon>mail</mat-icon>\n </button>\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('pattern') && form.get('email')?.touched\n \"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n Please enter a valid email address\n </mat-error>\n\n <mat-error\n *ngIf=\"\n form.get('email')?.hasError('required') &&\n form.get('email')?.touched\n \">\n {{ t.gettext('Email is') }} <strong translate [translate-t]=\"t\">required</strong>\n </mat-error>\n </mat-form-field>\n </form>\n\n <div class=\"divider\">\n <span translate [translate-t]=\"t\">or</span>\n </div>\n\n <!-- GOOGLE BUTTON -->\n <div\n #googleBtn\n class=\"google-container\">\n <span\n *ngIf=\"!googleButtonLoaded\"\n class=\"text-300 p-2\"\n translate\n [translate-t]=\"t\" [translate-t]=\"t\">loading google button..</span\n >\n <mat-progress-bar\n *ngIf=\"!googleButtonLoaded\"\n mode=\"indeterminate\"\n class=\"auth-progress\" />\n </div>\n\n <!-- MICROSOFT BUTTON -->\n <div\n *ngIf=\"microsoftClientId\"\n #microsoftBtn\n class=\"microsoft-container\">\n <button\n mat-stroked-button\n color=\"primary\"\n class=\"w-full microsoft-btn\"\n (click)=\"loginWithMicrosoft()\">\n <mat-icon class=\"mr-2\">login</mat-icon>\n {{ t.gettext('Continue with Microsoft') }}\n </button>\n </div>\n </div>\n\n <br />\n\n <div class=\"flex justify-content-end\">\n <button\n mat-button\n mat-dialog-close>\n {{ t.gettext('Cancel') }}\n </button>\n </div>\n</div>", styles: [".auth-dialog{width:100%}.google-container{width:100%;height:50px;border-color:#9ca3af!important}.microsoft-container{width:100%}.microsoft-btn{height:40px;border-radius:4px!important;border-color:#9ca3af!important;background-color:#fff}:host::ng-deep .email-field .mdc-notched-outline__trailing,:host::ng-deep .email-field .mdc-notched-outline__leading,:host::ng-deep .email-field .mdc-notched-outline__notch{border-color:#9ca3af!important}:host ::ng-deep .auth-progress .mdc-linear-progress__bar-inner{border-color:#9ca3af!important}.divider{display:flex;align-items:center;text-align:center;width:100%;margin:1rem 0}.divider:before,.divider:after{content:\"\";flex:1;border-bottom:1px solid #ccc}.divider span{padding:0 10px;color:#666;font-size:14px}\n"] }]
1304
1304
  }], propDecorators: { googleClientId: [{
1305
1305
  type: Input
1306
1306
  }], microsoftClientId: [{
@@ -1350,11 +1350,11 @@ class AuthButtonComponent {
1350
1350
  : true;
1351
1351
  }
1352
1352
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1353
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: AuthButtonComponent, isStandalone: true, selector: "taon-auth-button", inputs: { linkToDashboard: "linkToDashboard", googleClientId: "googleClientId", microsoftClientId: "microsoftClientId", displayDashboardButton: "displayDashboardButton" }, ngImport: i0, template: "<div class=\"flex align-items-center gap-2\">\n <ng-container *ngIf=\"(session.isLoggedIn$ | async) === false; else loggedIn\">\n <button\n mat-button\n (click)=\"openLogin()\">\n Login\n </button>\n </ng-container>\n\n <ng-template #loggedIn>\n <button\n *ngIf=\"displayDashboardButton\"\n mat-button\n color=\"primary\"\n class=\"auth-btn\"\n (click)=\"goDashboard()\">\n <mat-icon>dashboard</mat-icon>\n Dashboard\n </button>\n\n <button\n mat-button\n class=\"ml-2\"\n (click)=\"logout()\">\n Logout ({{ (session.data$ | async)?.displayName }})\n </button>\n </ng-template>\n</div>\n", styles: [":host{display:inline-flex}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
1353
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: AuthButtonComponent, isStandalone: true, selector: "taon-auth-button", inputs: { linkToDashboard: "linkToDashboard", googleClientId: "googleClientId", microsoftClientId: "microsoftClientId", displayDashboardButton: "displayDashboardButton" }, ngImport: i0, template: "<div class=\"flex align-items-center gap-2\">\n <ng-container *ngIf=\"(session.isLoggedIn$ | async) === false; else loggedIn\">\n <button\n mat-button\n (click)=\"openLogin()\">\n Login\n </button>\n </ng-container>\n\n <ng-template #loggedIn>\n <button\n *ngIf=\"displayDashboardButton\"\n mat-button\n color=\"primary\"\n class=\"auth-btn\"\n (click)=\"goDashboard()\">\n <mat-icon>dashboard</mat-icon>\n Dashboard\n </button>\n\n <button\n mat-button\n class=\"ml-2\"\n (click)=\"logout()\">\n Logout ({{ (session.data$ | async)?.displayName }})\n </button>\n </ng-template>\n</div>", styles: [":host{display:inline-flex}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
1354
1354
  }
1355
1355
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthButtonComponent, decorators: [{
1356
1356
  type: Component,
1357
- args: [{ selector: 'taon-auth-button', standalone: true, imports: [CommonModule, MatButtonModule, ButtonModule, MatIconModule], template: "<div class=\"flex align-items-center gap-2\">\n <ng-container *ngIf=\"(session.isLoggedIn$ | async) === false; else loggedIn\">\n <button\n mat-button\n (click)=\"openLogin()\">\n Login\n </button>\n </ng-container>\n\n <ng-template #loggedIn>\n <button\n *ngIf=\"displayDashboardButton\"\n mat-button\n color=\"primary\"\n class=\"auth-btn\"\n (click)=\"goDashboard()\">\n <mat-icon>dashboard</mat-icon>\n Dashboard\n </button>\n\n <button\n mat-button\n class=\"ml-2\"\n (click)=\"logout()\">\n Logout ({{ (session.data$ | async)?.displayName }})\n </button>\n </ng-template>\n</div>\n", styles: [":host{display:inline-flex}\n"] }]
1357
+ args: [{ selector: 'taon-auth-button', standalone: true, imports: [CommonModule, MatButtonModule, ButtonModule, MatIconModule], template: "<div class=\"flex align-items-center gap-2\">\n <ng-container *ngIf=\"(session.isLoggedIn$ | async) === false; else loggedIn\">\n <button\n mat-button\n (click)=\"openLogin()\">\n Login\n </button>\n </ng-container>\n\n <ng-template #loggedIn>\n <button\n *ngIf=\"displayDashboardButton\"\n mat-button\n color=\"primary\"\n class=\"auth-btn\"\n (click)=\"goDashboard()\">\n <mat-icon>dashboard</mat-icon>\n Dashboard\n </button>\n\n <button\n mat-button\n class=\"ml-2\"\n (click)=\"logout()\">\n Logout ({{ (session.data$ | async)?.displayName }})\n </button>\n </ng-template>\n</div>", styles: [":host{display:inline-flex}\n"] }]
1358
1358
  }], propDecorators: { linkToDashboard: [{
1359
1359
  type: Input,
1360
1360
  args: [{ required: true }]
@@ -1637,7 +1637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1637
1637
 
1638
1638
  //#region import
1639
1639
  //#endregion
1640
- const t$4 = Translation.for('src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.ts', { "src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.html": { "en-US": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.html.en-US.i18n.data-C8oLV101.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.html.pl-PL.i18n.data-DIy8LL8b.mjs')).default }, "src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.ts": { "en-US": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-CQWIs9wW.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-2Tqg8qKV.mjs')).default } }, {
1640
+ const t$4 = Translation.for('src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.ts', { "src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.html": { "en-US": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.html.en-US.i18n.data-C8oLV101.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.html.pl-PL.i18n.data-DIy8LL8b.mjs')).default }, "src/lib/ui/taon-kv-authorization/taon-kv-authorization.component.ts": { "en-US": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.ts.en-US.i18n.data-DN8soZSJ.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-kv-authorization.component.ts.pl-PL.i18n.data-BXH1x3RS.mjs')).default } }, {
1641
1641
  // debug: true,
1642
1642
  });
1643
1643
  class TaonKvAuthorizationComponent {
@@ -1700,11 +1700,11 @@ class TaonKvAuthorizationComponent {
1700
1700
  return this.authorizedProductsData().filter(p => p.authorized).length;
1701
1701
  }
1702
1702
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonKvAuthorizationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1703
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonKvAuthorizationComponent, isStandalone: true, selector: "taon-kv-authorization", inputs: { email: "email", url: "url", products: "products" }, outputs: { authorizedProducts: "authorizedProducts" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"taon-kv-authorization\">\n <div *ngIf=\"loading()\">{{ infoMsg() }}</div>\n\n <div *ngIf=\"!loading()\">\n <div\n *ngIf=\"authorizedCount() === 0\"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n You did not purchase any products\n </div>\n\n <div *ngIf=\"authorizedCount() > 0\">\n <span translate [translate-t]=\"t\">You purchased </span> {{ authorizedCount() }}\n <span translate [translate-t]=\"t\">products</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1703
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonKvAuthorizationComponent, isStandalone: true, selector: "taon-kv-authorization", inputs: { email: "email", url: "url", products: "products" }, outputs: { authorizedProducts: "authorizedProducts" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"taon-kv-authorization\">\n <div *ngIf=\"loading()\">{{ infoMsg() }}</div>\n\n <div *ngIf=\"!loading()\">\n <div\n *ngIf=\"authorizedCount() === 0\"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n You did not purchase any products\n </div>\n\n <div *ngIf=\"authorizedCount() > 0\">\n <span translate [translate-t]=\"t\">You purchased </span> {{ authorizedCount() }}\n <span translate [translate-t]=\"t\">products</span>\n </div>\n </div>\n</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1704
1704
  }
1705
1705
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonKvAuthorizationComponent, decorators: [{
1706
1706
  type: Component,
1707
- args: [{ selector: 'taon-kv-authorization', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, TranslateDirective], template: "<div class=\"taon-kv-authorization\">\n <div *ngIf=\"loading()\">{{ infoMsg() }}</div>\n\n <div *ngIf=\"!loading()\">\n <div\n *ngIf=\"authorizedCount() === 0\"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n You did not purchase any products\n </div>\n\n <div *ngIf=\"authorizedCount() > 0\">\n <span translate [translate-t]=\"t\">You purchased </span> {{ authorizedCount() }}\n <span translate [translate-t]=\"t\">products</span>\n </div>\n </div>\n</div>\n" }]
1707
+ args: [{ selector: 'taon-kv-authorization', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, TranslateDirective], template: "<div class=\"taon-kv-authorization\">\n <div *ngIf=\"loading()\">{{ infoMsg() }}</div>\n\n <div *ngIf=\"!loading()\">\n <div\n *ngIf=\"authorizedCount() === 0\"\n translate [translate-t]=\"t\" [translate-t]=\"t\">\n You did not purchase any products\n </div>\n\n <div *ngIf=\"authorizedCount() > 0\">\n <span translate [translate-t]=\"t\">You purchased </span> {{ authorizedCount() }}\n <span translate [translate-t]=\"t\">products</span>\n </div>\n </div>\n</div>" }]
1708
1708
  }], propDecorators: { email: [{
1709
1709
  type: Input,
1710
1710
  args: [{ required: true }]
@@ -1720,36 +1720,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1720
1720
 
1721
1721
  //#region imports
1722
1722
  //#endregion
1723
- const t$3 = Translation.for('src/lib/ui/taon-lang-selector/taon-lang-selector.component.ts', { "src/lib/ui/taon-lang-selector/taon-lang-selector.component.html": { "en-US": async () => (await import('./taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-CA40eqtb.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-zvYqVx6M.mjs')).default } });
1723
+ const t$3 = Translation.for('src/lib/ui/taon-lang-selector/taon-lang-selector.component.ts', { "src/lib/ui/taon-lang-selector/taon-lang-selector.component.html": { "en-US": async () => (await import('./taon-ui-browser-taon-lang-selector.component.html.en-US.i18n.data-BvWzPc-J.mjs')).default, "pl-PL": async () => (await import('./taon-ui-browser-taon-lang-selector.component.html.pl-PL.i18n.data-BGKH8jX_.mjs')).default } });
1724
1724
  class TaonLangSelectorComponent {
1725
1725
  constructor() {
1726
1726
  this.t = t$3.for(this);
1727
1727
  this.translateService = inject(TranslateService);
1728
- this.availableLangs$ = this.translateService.manager.availableLangs$.pipe(tap(availableLangs => {
1729
- // console.log({ availableLangs });
1728
+ this.availableLangs$ = this.translateService.manager.availableLangs$.pipe(
1729
+ // tap(availableLangs => {
1730
+ // console.log({ availableLangs });
1731
+ // }),
1732
+ );
1733
+ this.currentGlobalLanguage$ = this.translateService.manager.currentGlobalLanguage$.pipe(withLatestFrom(this.availableLangs$), map(([currentGlobalLanguage, availableLangs]) => {
1734
+ return availableLangs.find(c => c.code === currentGlobalLanguage)?.code;
1730
1735
  }));
1731
- this.currentGlobalLanguage$ = this.translateService.currentGlobalLanguage$;
1732
- this.isLoading$ = of(false); // this.langSelectorService.isLoading$;
1736
+ this.isDisabled$ = this.availableLangs$.pipe(map(c => c.length <= 1));
1733
1737
  }
1734
1738
  async changeLanguage(event) {
1735
1739
  const select = event.target;
1736
1740
  await this.translateService.changeGlobalLang(select.value);
1737
1741
  }
1738
1742
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonLangSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1739
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonLangSelectorComponent, isStandalone: true, selector: "taon-lang-selector", ngImport: i0, template: "<label class=\"taon-lang-selector\">\n <span class=\"taon-lang-selector__label\">{{\n t.gettext('Select Language')\n }}</span>\n\n <select\n class=\"taon-lang-selector__select\"\n [value]=\"currentGlobalLanguage$ | async\"\n [disabled]=\"isLoading$ | async\"\n (change)=\"changeLanguage($event)\">\n @for (lang of availableLangs$ | async; track lang.code) {\n <option [value]=\"lang.code\">\n {{ lang.label }}\n </option>\n }\n </select>\n</label>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1743
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonLangSelectorComponent, isStandalone: true, selector: "taon-lang-selector", ngImport: i0, template: "<label class=\"taon-lang-selector\">\n <span class=\"taon-lang-selector__label\">\n {{\n t.gettext('Select Language') +\n ' ' +\n ((isDisabled$ | async) ? t.gettext('(disabled)') : '')\n }}\n </span>\n\n @if (currentGlobalLanguage$ | async; as currentLang) {\n <!-- currentLang = {{ currentLang | json }} -->\n\n <select\n class=\"taon-lang-selector__select\"\n [value]=\"currentLang\"\n [disabled]=\"isDisabled$ | async\"\n (change)=\"changeLanguage($event)\">\n @for (lang of availableLangs$ | async; track lang.code) {\n <option\n [value]=\"lang.code\"\n [selected]=\"lang.code === currentLang\">\n {{ lang.label }}\n </option>\n }\n </select>\n }\n</label>", styles: [":host{display:block}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1740
1744
  }
1741
1745
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonLangSelectorComponent, decorators: [{
1742
1746
  type: Component,
1743
- args: [{ selector: 'taon-lang-selector', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AsyncPipe, TranslateDirective], template: "<label class=\"taon-lang-selector\">\n <span class=\"taon-lang-selector__label\">{{\n t.gettext('Select Language')\n }}</span>\n\n <select\n class=\"taon-lang-selector__select\"\n [value]=\"currentGlobalLanguage$ | async\"\n [disabled]=\"isLoading$ | async\"\n (change)=\"changeLanguage($event)\">\n @for (lang of availableLangs$ | async; track lang.code) {\n <option [value]=\"lang.code\">\n {{ lang.label }}\n </option>\n }\n </select>\n</label>\n", styles: [":host{display:block}\n"] }]
1747
+ args: [{ selector: 'taon-lang-selector', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AsyncPipe, TranslateDirective, JsonPipe], template: "<label class=\"taon-lang-selector\">\n <span class=\"taon-lang-selector__label\">\n {{\n t.gettext('Select Language') +\n ' ' +\n ((isDisabled$ | async) ? t.gettext('(disabled)') : '')\n }}\n </span>\n\n @if (currentGlobalLanguage$ | async; as currentLang) {\n <!-- currentLang = {{ currentLang | json }} -->\n\n <select\n class=\"taon-lang-selector__select\"\n [value]=\"currentLang\"\n [disabled]=\"isDisabled$ | async\"\n (change)=\"changeLanguage($event)\">\n @for (lang of availableLangs$ | async; track lang.code) {\n <option\n [value]=\"lang.code\"\n [selected]=\"lang.code === currentLang\">\n {{ lang.label }}\n </option>\n }\n </select>\n }\n</label>", styles: [":host{display:block}\n"] }]
1744
1748
  }], ctorParameters: () => [] });
1745
1749
 
1746
1750
  class TaonNotFoundComponent {
1747
1751
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1748
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonNotFoundComponent, isStandalone: true, selector: "taon-not-found", ngImport: i0, template: "<div class=\"flex align-items-center justify-content-center min-h-screen px-3\">\n <div\n class=\"text-center surface-card p-5 border-round shadow-2 w-full\"\n style=\"max-width: 600px\">\n <h1 class=\"text-6xl font-bold mb-3 text-red-500\">404</h1>\n\n <h2 class=\"text-2xl mb-3\">Page not found</h2>\n\n <p class=\"text-color-secondary mb-4\">\n The page you are looking for does not exist or has been moved.\n </p>\n\n <a\n routerLink=\"/\"\n class=\"p-button p-component no-underline\">\n <span class=\"p-button-label text-primary no-underline\">Go to Home</span>\n </a>\n\n <br />\n <br />\n <br />\n\n <h4\n class=\"flex flex-row align-content-center justify-content-center align-items-center\">\n <img\n height=\"20px\"\n src=\"assets/assets-for/taon-ui/assets/shared/taon-small-logo-for-not-found.png\"\n alt=\"\" />\n\n <span class=\"p-2 text-gray-200\"\n >Powered by\n <a\n class=\"text-gray-200\"\n href=\"https://taon.dev\">\n Taon.Dev\n </a></span\n >\n </h4>\n </div>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1752
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonNotFoundComponent, isStandalone: true, selector: "taon-not-found", ngImport: i0, template: "<div class=\"flex align-items-center justify-content-center min-h-screen px-3\">\n <div\n class=\"text-center surface-card p-5 border-round shadow-2 w-full\"\n style=\"max-width: 600px\">\n <h1 class=\"text-6xl font-bold mb-3 text-red-500\">404</h1>\n\n <h2 class=\"text-2xl mb-3\">Page not found</h2>\n\n <p class=\"text-color-secondary mb-4\">\n The page you are looking for does not exist or has been moved.\n </p>\n\n <a\n routerLink=\"/\"\n class=\"p-button p-component no-underline\">\n <span class=\"p-button-label text-primary no-underline\">Go to Home</span>\n </a>\n\n <br />\n <br />\n <br />\n\n <h4\n class=\"flex flex-row align-content-center justify-content-center align-items-center\">\n <img\n height=\"20px\"\n src=\"assets/assets-for/taon-ui/assets/shared/taon-small-logo-for-not-found.png\"\n alt=\"\" />\n\n <span class=\"p-2 text-gray-200\"\n >Powered by\n <a\n class=\"text-gray-200\"\n href=\"https://taon.dev\">\n Taon.Dev\n </a></span\n >\n </h4>\n </div>\n</div>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1749
1753
  }
1750
1754
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonNotFoundComponent, decorators: [{
1751
1755
  type: Component,
1752
- args: [{ selector: 'taon-not-found', standalone: true, imports: [RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex align-items-center justify-content-center min-h-screen px-3\">\n <div\n class=\"text-center surface-card p-5 border-round shadow-2 w-full\"\n style=\"max-width: 600px\">\n <h1 class=\"text-6xl font-bold mb-3 text-red-500\">404</h1>\n\n <h2 class=\"text-2xl mb-3\">Page not found</h2>\n\n <p class=\"text-color-secondary mb-4\">\n The page you are looking for does not exist or has been moved.\n </p>\n\n <a\n routerLink=\"/\"\n class=\"p-button p-component no-underline\">\n <span class=\"p-button-label text-primary no-underline\">Go to Home</span>\n </a>\n\n <br />\n <br />\n <br />\n\n <h4\n class=\"flex flex-row align-content-center justify-content-center align-items-center\">\n <img\n height=\"20px\"\n src=\"assets/assets-for/taon-ui/assets/shared/taon-small-logo-for-not-found.png\"\n alt=\"\" />\n\n <span class=\"p-2 text-gray-200\"\n >Powered by\n <a\n class=\"text-gray-200\"\n href=\"https://taon.dev\">\n Taon.Dev\n </a></span\n >\n </h4>\n </div>\n</div>\n", styles: [":host{display:block}\n"] }]
1756
+ args: [{ selector: 'taon-not-found', standalone: true, imports: [RouterLink], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex align-items-center justify-content-center min-h-screen px-3\">\n <div\n class=\"text-center surface-card p-5 border-round shadow-2 w-full\"\n style=\"max-width: 600px\">\n <h1 class=\"text-6xl font-bold mb-3 text-red-500\">404</h1>\n\n <h2 class=\"text-2xl mb-3\">Page not found</h2>\n\n <p class=\"text-color-secondary mb-4\">\n The page you are looking for does not exist or has been moved.\n </p>\n\n <a\n routerLink=\"/\"\n class=\"p-button p-component no-underline\">\n <span class=\"p-button-label text-primary no-underline\">Go to Home</span>\n </a>\n\n <br />\n <br />\n <br />\n\n <h4\n class=\"flex flex-row align-content-center justify-content-center align-items-center\">\n <img\n height=\"20px\"\n src=\"assets/assets-for/taon-ui/assets/shared/taon-small-logo-for-not-found.png\"\n alt=\"\" />\n\n <span class=\"p-2 text-gray-200\"\n >Powered by\n <a\n class=\"text-gray-200\"\n href=\"https://taon.dev\">\n Taon.Dev\n </a></span\n >\n </h4>\n </div>\n</div>", styles: [":host{display:block}\n"] }]
1753
1757
  }] });
1754
1758
 
1755
1759
  class TaonRumbleComponent {
@@ -1784,11 +1788,11 @@ class TaonRumbleComponent {
1784
1788
  return this.state === 'video-preview-private';
1785
1789
  }
1786
1790
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonRumbleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1787
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonRumbleComponent, isStandalone: true, selector: "taon-rumble", inputs: { title: "title", clipId: "clipId", picturePreviewUrl: "picturePreviewUrl", state: "state" }, outputs: { paddlockClicked: "paddlockClicked", previewClicked: "previewClicked" }, ngImport: i0, template: "<div class=\"taon-rumble\">\n <!-- PREVIEW MODE -->\n <div\n *ngIf=\"isPreview()\"\n class=\"preview\"\n (click)=\"onPreviewClick()\">\n <img\n class=\"preview-img\"\n [src]=\"picturePreviewUrl\"\n [alt]=\"title\" />\n\n <div class=\"title\">\n {{ title }}\n </div>\n\n <!-- PLAY BUTTON -->\n <div class=\"play-button\">\u25B6</div>\n\n <!-- LOCK -->\n <div\n *ngIf=\"isLocked()\"\n class=\"lock\"\n (click)=\"onPadlockClick($event)\">\n \uD83D\uDD12\n </div>\n </div>\n\n <!-- VIDEO OPEN -->\n <div\n *ngIf=\"isVideoOpen()\"\n class=\"video\">\n <iframe\n class=\"rumble-frame\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n </div>\n\n <!-- PRIVATE VIDEO -->\n <div\n *ngIf=\"isPrivate()\"\n class=\"private\">\n <div class=\"private-box\">\uD83D\uDD12 Private video</div>\n </div>\n</div>\n", styles: [".taon-rumble{width:100%;max-width:640px;margin:auto;position:relative;font-family:inherit}.preview{position:relative;cursor:pointer;overflow:hidden;border-radius:10px}.preview-img{width:100%;display:block}.title{position:absolute;left:0;bottom:0;right:0;padding:10px 14px;background:linear-gradient(transparent,#000c);color:#fff;font-size:14px}.play-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;color:#fff;background:#00000080;width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%}.lock{position:absolute;top:10px;right:10px;font-size:20px;background:#0009;color:#fff;padding:6px 8px;border-radius:6px}.video{position:relative;padding-top:56.25%}.rumble-frame{position:absolute;top:0;left:0;width:100%;height:100%}.private{display:flex;align-items:center;justify-content:center;height:200px;background:#111;color:#fff}.private-box{opacity:.7}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1791
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonRumbleComponent, isStandalone: true, selector: "taon-rumble", inputs: { title: "title", clipId: "clipId", picturePreviewUrl: "picturePreviewUrl", state: "state" }, outputs: { paddlockClicked: "paddlockClicked", previewClicked: "previewClicked" }, ngImport: i0, template: "<div class=\"taon-rumble\">\n <!-- PREVIEW MODE -->\n <div\n *ngIf=\"isPreview()\"\n class=\"preview\"\n (click)=\"onPreviewClick()\">\n <img\n class=\"preview-img\"\n [src]=\"picturePreviewUrl\"\n [alt]=\"title\" />\n\n <div class=\"title\">\n {{ title }}\n </div>\n\n <!-- PLAY BUTTON -->\n <div class=\"play-button\">\u25B6</div>\n\n <!-- LOCK -->\n <div\n *ngIf=\"isLocked()\"\n class=\"lock\"\n (click)=\"onPadlockClick($event)\">\n \uD83D\uDD12\n </div>\n </div>\n\n <!-- VIDEO OPEN -->\n <div\n *ngIf=\"isVideoOpen()\"\n class=\"video\">\n <iframe\n class=\"rumble-frame\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n </div>\n\n <!-- PRIVATE VIDEO -->\n <div\n *ngIf=\"isPrivate()\"\n class=\"private\">\n <div class=\"private-box\">\uD83D\uDD12 Private video</div>\n </div>\n</div>", styles: [".taon-rumble{width:100%;max-width:640px;margin:auto;position:relative;font-family:inherit}.preview{position:relative;cursor:pointer;overflow:hidden;border-radius:10px}.preview-img{width:100%;display:block}.title{position:absolute;left:0;bottom:0;right:0;padding:10px 14px;background:linear-gradient(transparent,#000c);color:#fff;font-size:14px}.play-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;color:#fff;background:#00000080;width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%}.lock{position:absolute;top:10px;right:10px;font-size:20px;background:#0009;color:#fff;padding:6px 8px;border-radius:6px}.video{position:relative;padding-top:56.25%}.rumble-frame{position:absolute;top:0;left:0;width:100%;height:100%}.private{display:flex;align-items:center;justify-content:center;height:200px;background:#111;color:#fff}.private-box{opacity:.7}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
1788
1792
  }
1789
1793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonRumbleComponent, decorators: [{
1790
1794
  type: Component,
1791
- args: [{ selector: 'taon-rumble', standalone: true, imports: [NgIf], template: "<div class=\"taon-rumble\">\n <!-- PREVIEW MODE -->\n <div\n *ngIf=\"isPreview()\"\n class=\"preview\"\n (click)=\"onPreviewClick()\">\n <img\n class=\"preview-img\"\n [src]=\"picturePreviewUrl\"\n [alt]=\"title\" />\n\n <div class=\"title\">\n {{ title }}\n </div>\n\n <!-- PLAY BUTTON -->\n <div class=\"play-button\">\u25B6</div>\n\n <!-- LOCK -->\n <div\n *ngIf=\"isLocked()\"\n class=\"lock\"\n (click)=\"onPadlockClick($event)\">\n \uD83D\uDD12\n </div>\n </div>\n\n <!-- VIDEO OPEN -->\n <div\n *ngIf=\"isVideoOpen()\"\n class=\"video\">\n <iframe\n class=\"rumble-frame\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n </div>\n\n <!-- PRIVATE VIDEO -->\n <div\n *ngIf=\"isPrivate()\"\n class=\"private\">\n <div class=\"private-box\">\uD83D\uDD12 Private video</div>\n </div>\n</div>\n", styles: [".taon-rumble{width:100%;max-width:640px;margin:auto;position:relative;font-family:inherit}.preview{position:relative;cursor:pointer;overflow:hidden;border-radius:10px}.preview-img{width:100%;display:block}.title{position:absolute;left:0;bottom:0;right:0;padding:10px 14px;background:linear-gradient(transparent,#000c);color:#fff;font-size:14px}.play-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;color:#fff;background:#00000080;width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%}.lock{position:absolute;top:10px;right:10px;font-size:20px;background:#0009;color:#fff;padding:6px 8px;border-radius:6px}.video{position:relative;padding-top:56.25%}.rumble-frame{position:absolute;top:0;left:0;width:100%;height:100%}.private{display:flex;align-items:center;justify-content:center;height:200px;background:#111;color:#fff}.private-box{opacity:.7}\n"] }]
1795
+ args: [{ selector: 'taon-rumble', standalone: true, imports: [NgIf], template: "<div class=\"taon-rumble\">\n <!-- PREVIEW MODE -->\n <div\n *ngIf=\"isPreview()\"\n class=\"preview\"\n (click)=\"onPreviewClick()\">\n <img\n class=\"preview-img\"\n [src]=\"picturePreviewUrl\"\n [alt]=\"title\" />\n\n <div class=\"title\">\n {{ title }}\n </div>\n\n <!-- PLAY BUTTON -->\n <div class=\"play-button\">\u25B6</div>\n\n <!-- LOCK -->\n <div\n *ngIf=\"isLocked()\"\n class=\"lock\"\n (click)=\"onPadlockClick($event)\">\n \uD83D\uDD12\n </div>\n </div>\n\n <!-- VIDEO OPEN -->\n <div\n *ngIf=\"isVideoOpen()\"\n class=\"video\">\n <iframe\n class=\"rumble-frame\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n </div>\n\n <!-- PRIVATE VIDEO -->\n <div\n *ngIf=\"isPrivate()\"\n class=\"private\">\n <div class=\"private-box\">\uD83D\uDD12 Private video</div>\n </div>\n</div>", styles: [".taon-rumble{width:100%;max-width:640px;margin:auto;position:relative;font-family:inherit}.preview{position:relative;cursor:pointer;overflow:hidden;border-radius:10px}.preview-img{width:100%;display:block}.title{position:absolute;left:0;bottom:0;right:0;padding:10px 14px;background:linear-gradient(transparent,#000c);color:#fff;font-size:14px}.play-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;color:#fff;background:#00000080;width:70px;height:70px;display:flex;align-items:center;justify-content:center;border-radius:50%}.lock{position:absolute;top:10px;right:10px;font-size:20px;background:#0009;color:#fff;padding:6px 8px;border-radius:6px}.video{position:relative;padding-top:56.25%}.rumble-frame{position:absolute;top:0;left:0;width:100%;height:100%}.private{display:flex;align-items:center;justify-content:center;height:200px;background:#111;color:#fff}.private-box{opacity:.7}\n"] }]
1792
1796
  }], propDecorators: { title: [{
1793
1797
  type: Input,
1794
1798
  args: [{
@@ -1909,7 +1913,7 @@ class TaonSettingsComponent {
1909
1913
  this.dialogRef.close();
1910
1914
  }
1911
1915
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1912
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonSettingsComponent, isStandalone: true, selector: "taon-settings", ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\" translate [translate-t]=\"t\">Language Settings</h3>\n <taon-lang-selector />\n\n <br />\n <hr />\n <br />\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: TaonLangSelectorComponent, selector: "taon-lang-selector" }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1916
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonSettingsComponent, isStandalone: true, selector: "taon-settings", ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\" translate [translate-t]=\"t\">Language Settings</h3>\n <taon-lang-selector />\n\n <br />\n <hr />\n <br />\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: TaonLangSelectorComponent, selector: "taon-lang-selector" }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: TranslateDirective, selector: "[translate]", inputs: ["translate-t", "translate-params", "translate-context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1913
1917
  }
1914
1918
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSettingsComponent, decorators: [{
1915
1919
  type: Component,
@@ -1922,7 +1926,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1922
1926
  MatButtonModule,
1923
1927
  MatDialogModule,
1924
1928
  TranslateDirective,
1925
- ], template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\" translate [translate-t]=\"t\">Language Settings</h3>\n <taon-lang-selector />\n\n <br />\n <hr />\n <br />\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>\n", styles: [":host{display:block}\n"] }]
1929
+ ], template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\" translate [translate-t]=\"t\">Language Settings</h3>\n <taon-lang-selector />\n\n <br />\n <hr />\n <br />\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>", styles: [":host{display:block}\n"] }]
1926
1930
  }] });
1927
1931
 
1928
1932
  //#region imports
@@ -1942,7 +1946,7 @@ class TaonThemeComponent {
1942
1946
  this.dialogRef.close();
1943
1947
  }
1944
1948
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonThemeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1945
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonThemeComponent, isStandalone: true, selector: "taon-theme", ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }] }); }
1949
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonThemeComponent, isStandalone: true, selector: "taon-theme", ngImport: i0, template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>", dependencies: [{ kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatDialogModule }] }); }
1946
1950
  }
1947
1951
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonThemeComponent, decorators: [{
1948
1952
  type: Component,
@@ -1952,7 +1956,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1952
1956
  MatButtonModule,
1953
1957
  MatDialogModule,
1954
1958
  TranslateDirective,
1955
- ], template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>\n" }]
1959
+ ], template: "<div class=\"absolute top-2 right-2\">\n <button\n mat-icon-button\n aria-label=\"Close dialog\"\n (click)=\"close()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"p-4\">\n <h3 class=\"bold\">\n {{ t.gettext('Theme settings') }}\n {{ taonTheme.pernamentMode ? t.gettext(\"Settings can't ba changed\") : '' }}\n </h3>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isAuto()\"\n [disabled]=\"taonTheme.pernamentMode\"\n (change)=\"taonTheme.toogleAuto($event.checked)\">\n {{ t.gettext('Sync colors with system') }}\n </mat-slide-toggle>\n\n <mat-slide-toggle\n class=\"p-2\"\n [checked]=\"taonTheme.isDark()\"\n [disabled]=\"taonTheme.isAuto() || taonTheme.pernamentMode\"\n (change)=\"taonTheme.setDark($event.checked)\">\n {{ t.gettext('Dark mode') }}\n </mat-slide-toggle>\n</div>" }]
1956
1960
  }] });
1957
1961
 
1958
1962
  //#region imports
@@ -1975,7 +1979,7 @@ class TaonSimpleLayoutComponent {
1975
1979
  });
1976
1980
  }
1977
1981
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSimpleLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1978
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonSimpleLayoutComponent, isStandalone: true, selector: "taon-simple-layout", inputs: { hideThemeSettings: { classPropertyName: "hideThemeSettings", publicName: "hideThemeSettings", isSignal: false, isRequired: false, transformFunction: null }, hideHeader: { classPropertyName: "hideHeader", publicName: "hideHeader", isSignal: false, isRequired: false, transformFunction: null }, navItems: { classPropertyName: "navItems", publicName: "navItems", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (!hideHeader) {\n <header\n class=\"shadow-1 inline-flex w-full justify-content-end align-items-center flex-row\">\n <div class=\"flex-grow-1 align-items-center justify-content-center flex-row\">\n @if (navItems()?.length > 0) {\n <nav\n mat-tab-nav-bar\n [tabPanel]=\"tabPanel\">\n @for (item of navItems(); track item.path) {\n <a\n mat-tab-link\n href=\"javascript:void(0)\"\n [style.text-decoration]=\"\n (activePath === item.path && !forceShowBaseRootApp) ||\n ('/' === item.path && forceShowBaseRootApp)\n ? 'underline'\n : 'none'\n \"\n (click)=\"navigateTo(item)\">\n @if (item.path === '/') {\n <mat-icon\n aria-hidden=\"false\"\n aria-label=\"Example home icon\"\n fontIcon=\"home\"></mat-icon>\n } @else {\n {{ item.label }}\n }\n </a>\n }\n </nav>\n }\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div\n class=\"flex-grow-0 flex align-items-center justify-content-center flex-row\">\n <!-- <taon-theme class=\"right-0\" /> -->\n <ng-content select=\"[buttons]\"></ng-content>\n @if (!hideThemeSettings) {\n <button\n class=\"flex mr-2\"\n (click)=\"openDialog(200, 200)\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n }\n </div>\n </header>\n}\n\n<mat-tab-nav-panel\n #tabPanel\n class=\"pt-2\">\n <div class=\"projected-wrapper\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"fallback-message\">\n Please add your component inside\n <br />\n <pre>\n <code class=\"surface-100 block\">\n &lt;taon-simple-layout class=&quot;p-4&quot;&gt;\n &lt;header\n header\n class=&quot;flex-item&quot;&gt;\n &lt;img\n class=&quot;border-round&quot;\n src=&quot;assets/assets-for/taon-ui/assets/images/pluszka-logo.png&quot;\n height=&quot;50px&quot; /&gt;\n &lt;/header&gt;\n &lt;br /&gt;\n &lt;h3 class=&quot;text-blue-200&quot;&gt;Welcome to hamster store.&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Buy cheap hamster videos for free!&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Subscribe more hamsters video daily!&lt;/h3&gt;\n\n &lt;ng-container buttons&gt;\n &lt;button\n mat-button\n class=&quot;flex align-items-center&quot;&gt;\n Hello friend!\n &lt;/button&gt;\n &lt;/ng-container&gt;\n &lt;/taon-simple-layout&gt;\n </code>\n </pre>\n </div>\n</mat-tab-nav-panel>\n", styles: [":host{display:block}:host header{z-index:999}:host header nav{max-width:400px}.projected-wrapper:not(:empty)+.fallback-message{display:none}.projected-wrapper:empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatListModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$2.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i3$2.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i3$2.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: MatDialogModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1982
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: TaonSimpleLayoutComponent, isStandalone: true, selector: "taon-simple-layout", inputs: { hideThemeSettings: { classPropertyName: "hideThemeSettings", publicName: "hideThemeSettings", isSignal: false, isRequired: false, transformFunction: null }, hideHeader: { classPropertyName: "hideHeader", publicName: "hideHeader", isSignal: false, isRequired: false, transformFunction: null }, navItems: { classPropertyName: "navItems", publicName: "navItems", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (!hideHeader) {\n <header\n class=\"shadow-1 inline-flex w-full justify-content-end align-items-center flex-row\">\n <div class=\"flex-grow-1 align-items-center justify-content-center flex-row\">\n @if (navItems()?.length > 0) {\n <nav\n mat-tab-nav-bar\n [tabPanel]=\"tabPanel\">\n @for (item of navItems(); track item.path) {\n <a\n mat-tab-link\n href=\"javascript:void(0)\"\n [style.text-decoration]=\"\n (activePath === item.path && !forceShowBaseRootApp) ||\n ('/' === item.path && forceShowBaseRootApp)\n ? 'underline'\n : 'none'\n \"\n (click)=\"navigateTo(item)\">\n @if (item.path === '/') {\n <mat-icon\n aria-hidden=\"false\"\n aria-label=\"Example home icon\"\n fontIcon=\"home\"></mat-icon>\n } @else {\n {{ item.label }}\n }\n </a>\n }\n </nav>\n }\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div\n class=\"flex-grow-0 flex align-items-center justify-content-center flex-row\">\n <!-- <taon-theme class=\"right-0\" /> -->\n <ng-content select=\"[buttons]\"></ng-content>\n @if (!hideThemeSettings) {\n <button\n class=\"flex mr-2\"\n (click)=\"openDialog(200, 200)\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n }\n </div>\n </header>\n}\n\n<mat-tab-nav-panel\n #tabPanel\n class=\"pt-2\">\n <div class=\"projected-wrapper\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"fallback-message\">\n Please add your component inside\n <br />\n <pre>\n <code class=\"surface-100 block\">\n &lt;taon-simple-layout class=&quot;p-4&quot;&gt;\n &lt;header\n header\n class=&quot;flex-item&quot;&gt;\n &lt;img\n class=&quot;border-round&quot;\n src=&quot;assets/assets-for/taon-ui/assets/images/pluszka-logo.png&quot;\n height=&quot;50px&quot; /&gt;\n &lt;/header&gt;\n &lt;br /&gt;\n &lt;h3 class=&quot;text-blue-200&quot;&gt;Welcome to hamster store.&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Buy cheap hamster videos for free!&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Subscribe more hamsters video daily!&lt;/h3&gt;\n\n &lt;ng-container buttons&gt;\n &lt;button\n mat-button\n class=&quot;flex align-items-center&quot;&gt;\n Hello friend!\n &lt;/button&gt;\n &lt;/ng-container&gt;\n &lt;/taon-simple-layout&gt;\n </code>\n </pre>\n </div>\n</mat-tab-nav-panel>", styles: [":host{display:block}:host header{z-index:999}:host header nav{max-width:400px}.projected-wrapper:not(:empty)+.fallback-message{display:none}.projected-wrapper:empty{display:none}\n"], dependencies: [{ kind: "ngmodule", type: MatCardModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatListModule }, { kind: "ngmodule", type: MatTabsModule }, { kind: "component", type: i3$2.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i3$2.MatTabNavPanel, selector: "mat-tab-nav-panel", inputs: ["id"], exportAs: ["matTabNavPanel"] }, { kind: "component", type: i3$2.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "ngmodule", type: RouterModule }, { kind: "ngmodule", type: MatDialogModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1979
1983
  }
1980
1984
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonSimpleLayoutComponent, decorators: [{
1981
1985
  type: Component,
@@ -1992,7 +1996,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
1992
1996
  MatDialogModule,
1993
1997
  JsonPipe,
1994
1998
  TaonThemeComponent,
1995
- ], template: "@if (!hideHeader) {\n <header\n class=\"shadow-1 inline-flex w-full justify-content-end align-items-center flex-row\">\n <div class=\"flex-grow-1 align-items-center justify-content-center flex-row\">\n @if (navItems()?.length > 0) {\n <nav\n mat-tab-nav-bar\n [tabPanel]=\"tabPanel\">\n @for (item of navItems(); track item.path) {\n <a\n mat-tab-link\n href=\"javascript:void(0)\"\n [style.text-decoration]=\"\n (activePath === item.path && !forceShowBaseRootApp) ||\n ('/' === item.path && forceShowBaseRootApp)\n ? 'underline'\n : 'none'\n \"\n (click)=\"navigateTo(item)\">\n @if (item.path === '/') {\n <mat-icon\n aria-hidden=\"false\"\n aria-label=\"Example home icon\"\n fontIcon=\"home\"></mat-icon>\n } @else {\n {{ item.label }}\n }\n </a>\n }\n </nav>\n }\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div\n class=\"flex-grow-0 flex align-items-center justify-content-center flex-row\">\n <!-- <taon-theme class=\"right-0\" /> -->\n <ng-content select=\"[buttons]\"></ng-content>\n @if (!hideThemeSettings) {\n <button\n class=\"flex mr-2\"\n (click)=\"openDialog(200, 200)\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n }\n </div>\n </header>\n}\n\n<mat-tab-nav-panel\n #tabPanel\n class=\"pt-2\">\n <div class=\"projected-wrapper\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"fallback-message\">\n Please add your component inside\n <br />\n <pre>\n <code class=\"surface-100 block\">\n &lt;taon-simple-layout class=&quot;p-4&quot;&gt;\n &lt;header\n header\n class=&quot;flex-item&quot;&gt;\n &lt;img\n class=&quot;border-round&quot;\n src=&quot;assets/assets-for/taon-ui/assets/images/pluszka-logo.png&quot;\n height=&quot;50px&quot; /&gt;\n &lt;/header&gt;\n &lt;br /&gt;\n &lt;h3 class=&quot;text-blue-200&quot;&gt;Welcome to hamster store.&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Buy cheap hamster videos for free!&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Subscribe more hamsters video daily!&lt;/h3&gt;\n\n &lt;ng-container buttons&gt;\n &lt;button\n mat-button\n class=&quot;flex align-items-center&quot;&gt;\n Hello friend!\n &lt;/button&gt;\n &lt;/ng-container&gt;\n &lt;/taon-simple-layout&gt;\n </code>\n </pre>\n </div>\n</mat-tab-nav-panel>\n", styles: [":host{display:block}:host header{z-index:999}:host header nav{max-width:400px}.projected-wrapper:not(:empty)+.fallback-message{display:none}.projected-wrapper:empty{display:none}\n"] }]
1999
+ ], template: "@if (!hideHeader) {\n <header\n class=\"shadow-1 inline-flex w-full justify-content-end align-items-center flex-row\">\n <div class=\"flex-grow-1 align-items-center justify-content-center flex-row\">\n @if (navItems()?.length > 0) {\n <nav\n mat-tab-nav-bar\n [tabPanel]=\"tabPanel\">\n @for (item of navItems(); track item.path) {\n <a\n mat-tab-link\n href=\"javascript:void(0)\"\n [style.text-decoration]=\"\n (activePath === item.path && !forceShowBaseRootApp) ||\n ('/' === item.path && forceShowBaseRootApp)\n ? 'underline'\n : 'none'\n \"\n (click)=\"navigateTo(item)\">\n @if (item.path === '/') {\n <mat-icon\n aria-hidden=\"false\"\n aria-label=\"Example home icon\"\n fontIcon=\"home\"></mat-icon>\n } @else {\n {{ item.label }}\n }\n </a>\n }\n </nav>\n }\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div\n class=\"flex-grow-0 flex align-items-center justify-content-center flex-row\">\n <!-- <taon-theme class=\"right-0\" /> -->\n <ng-content select=\"[buttons]\"></ng-content>\n @if (!hideThemeSettings) {\n <button\n class=\"flex mr-2\"\n (click)=\"openDialog(200, 200)\"\n mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n }\n </div>\n </header>\n}\n\n<mat-tab-nav-panel\n #tabPanel\n class=\"pt-2\">\n <div class=\"projected-wrapper\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"fallback-message\">\n Please add your component inside\n <br />\n <pre>\n <code class=\"surface-100 block\">\n &lt;taon-simple-layout class=&quot;p-4&quot;&gt;\n &lt;header\n header\n class=&quot;flex-item&quot;&gt;\n &lt;img\n class=&quot;border-round&quot;\n src=&quot;assets/assets-for/taon-ui/assets/images/pluszka-logo.png&quot;\n height=&quot;50px&quot; /&gt;\n &lt;/header&gt;\n &lt;br /&gt;\n &lt;h3 class=&quot;text-blue-200&quot;&gt;Welcome to hamster store.&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Buy cheap hamster videos for free!&lt;/h3&gt;\n &lt;h3 class=&quot;text-blue-300&quot;&gt;Subscribe more hamsters video daily!&lt;/h3&gt;\n\n &lt;ng-container buttons&gt;\n &lt;button\n mat-button\n class=&quot;flex align-items-center&quot;&gt;\n Hello friend!\n &lt;/button&gt;\n &lt;/ng-container&gt;\n &lt;/taon-simple-layout&gt;\n </code>\n </pre>\n </div>\n</mat-tab-nav-panel>", styles: [":host{display:block}:host header{z-index:999}:host header nav{max-width:400px}.projected-wrapper:not(:empty)+.fallback-message{display:none}.projected-wrapper:empty{display:none}\n"] }]
1996
2000
  }], propDecorators: { hideThemeSettings: [{
1997
2001
  type: Input
1998
2002
  }], hideHeader: [{
@@ -2071,11 +2075,11 @@ class TaonStripeBuyButtonComponent {
2071
2075
  }
2072
2076
  }
2073
2077
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonStripeBuyButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2074
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonStripeBuyButtonComponent, isStandalone: true, selector: "taon-stripe-buy-button", inputs: { priceId: "priceId", productId: "productId", promotionPreviousPrice: "promotionPreviousPrice", workerUrl: "workerUrl", email: "email", successUrl: "successUrl", cancelUrl: "cancelUrl" }, ngImport: i0, template: "<button\n type=\"button\"\n matButton=\"filled\"\n (click)=\"buy()\"\n [disabled]=\"loading\">\n <span *ngIf=\"!loading\">\n {{ label() }}\n </span>\n <span\n class=\"line-through absolute bg-red-500 p-1 border-round white-space-nowrap\"\n style=\"margin-top: -25px\"\n *ngIf=\"promotionPreviousPrice\">\n {{ promotionPreviousPrice }}\n </span>\n\n <span *ngIf=\"loading\"> Redirecting to Stripe... </span>\n</button>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] }); }
2078
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonStripeBuyButtonComponent, isStandalone: true, selector: "taon-stripe-buy-button", inputs: { priceId: "priceId", productId: "productId", promotionPreviousPrice: "promotionPreviousPrice", workerUrl: "workerUrl", email: "email", successUrl: "successUrl", cancelUrl: "cancelUrl" }, ngImport: i0, template: "<button\n type=\"button\"\n matButton=\"filled\"\n (click)=\"buy()\"\n [disabled]=\"loading\">\n <span *ngIf=\"!loading\">\n {{ label() }}\n </span>\n <span\n class=\"line-through absolute bg-red-500 p-1 border-round white-space-nowrap\"\n style=\"margin-top: -25px\"\n *ngIf=\"promotionPreviousPrice\">\n {{ promotionPreviousPrice }}\n </span>\n\n <span *ngIf=\"loading\"> Redirecting to Stripe... </span>\n</button>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] }); }
2075
2079
  }
2076
2080
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonStripeBuyButtonComponent, decorators: [{
2077
2081
  type: Component,
2078
- args: [{ selector: 'taon-stripe-buy-button', imports: [CommonModule, MatButtonModule], template: "<button\n type=\"button\"\n matButton=\"filled\"\n (click)=\"buy()\"\n [disabled]=\"loading\">\n <span *ngIf=\"!loading\">\n {{ label() }}\n </span>\n <span\n class=\"line-through absolute bg-red-500 p-1 border-round white-space-nowrap\"\n style=\"margin-top: -25px\"\n *ngIf=\"promotionPreviousPrice\">\n {{ promotionPreviousPrice }}\n </span>\n\n <span *ngIf=\"loading\"> Redirecting to Stripe... </span>\n</button>\n" }]
2082
+ args: [{ selector: 'taon-stripe-buy-button', imports: [CommonModule, MatButtonModule], template: "<button\n type=\"button\"\n matButton=\"filled\"\n (click)=\"buy()\"\n [disabled]=\"loading\">\n <span *ngIf=\"!loading\">\n {{ label() }}\n </span>\n <span\n class=\"line-through absolute bg-red-500 p-1 border-round white-space-nowrap\"\n style=\"margin-top: -25px\"\n *ngIf=\"promotionPreviousPrice\">\n {{ promotionPreviousPrice }}\n </span>\n\n <span *ngIf=\"loading\"> Redirecting to Stripe... </span>\n</button>" }]
2079
2083
  }], propDecorators: { priceId: [{
2080
2084
  type: Input,
2081
2085
  args: [{ required: true }]
@@ -2275,11 +2279,11 @@ class TaonTableComponent {
2275
2279
  log.i('context menu event', e);
2276
2280
  }
2277
2281
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2278
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonTableComponent, isStandalone: false, selector: "taon-table", inputs: { pageNumber: "pageNumber", pageSize: "pageSize", allowedColumns: "allowedColumns", expansionTemplate: "expansionTemplate", rows: "rows", entityCrudController: "entityCrudController", columns: "columns", pageSizeOptions: "pageSizeOptions", hideSearch: "hideSearch" }, outputs: { expansionChange: "expansionChange", addingItem: "addingItem" }, viewQueries: [{ propertyName: "search", first: true, predicate: ["search"], descendants: true, static: true }], ngImport: i0, template: "<br />\n<columns-container *ngIf=\"!hideSearch\">\n <column grow>\n <mat-form-field class=\"search-input\">\n <input\n matInput\n placeholder=\"Type to search table...\"\n #search />\n </mat-form-field>\n </column>\n <column [width]=\"80\">\n <button\n mat-fab\n [ngClass]=\"{ 'half-opacity': !search.value }\"\n class=\"undo-button\"\n color=\"secondary\"\n (click)=\"search.value = ''\">\n <mat-icon>close </mat-icon>\n </button>\n </column>\n\n <column [width]=\"80\">\n <button\n mat-fab\n (click)=\"addingItem.next()\"\n class=\"undo-button\"\n color=\"primary\">\n <mat-icon>add</mat-icon>\n </button>\n </column>\n</columns-container>\n\n<mtx-grid\n *ngIf=\"rows && columns\"\n [data]=\"rows\"\n [columns]=\"columns\"\n [expandable]=\"expandable\"\n [expansionTemplate]=\"expansionTemplate\"\n (expansionChange)=\"expansionRow($event)\"\n [length]=\"totalElements\"\n\n [pageOnFront]=\"false\"\n [pageIndex]=\"pageNumber - 1\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [showPaginator]=\"showPaginator\"\n (page)=\"getNextPage($event)\">\n</mtx-grid>\n\n<!-- [loading]=\"isLoading\" -->\n", styles: [":host{min-height:250px}.search-input{width:100%}.undo-button{margin-left:10px}.half-opacity{opacity:.2}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3$3.MtxGrid, selector: "mtx-grid", inputs: ["displayedColumns", "columns", "data", "length", "loading", "trackBy", "columnResizable", "emptyValuePlaceholder", "pageOnFront", "showPaginator", "pageDisabled", "showFirstLastButtons", "pageIndex", "pageSize", "pageSizeOptions", "hidePageSize", "paginationTemplate", "sortOnFront", "sortActive", "sortDirection", "sortDisableClear", "sortDisabled", "sortStart", "rowHover", "rowStriped", "expandable", "expansionTemplate", "multiSelectable", "multiSelectionWithClick", "rowSelectable", "hideRowSelectionCheckbox", "disableRowClickSelection", "rowSelectionFormatter", "rowClassFormatter", "rowSelected", "cellSelectable", "showToolbar", "toolbarTitle", "toolbarTemplate", "columnHideable", "columnHideableChecked", "columnSortable", "columnPinnable", "columnPinOptions", "showColumnMenuButton", "columnMenuButtonText", "columnMenuButtonType", "columnMenuButtonColor", "columnMenuButtonClass", "columnMenuButtonIcon", "columnMenuButtonFontIcon", "columnMenuButtonSvgIcon", "showColumnMenuHeader", "columnMenuHeaderText", "columnMenuHeaderTemplate", "showColumnMenuFooter", "columnMenuFooterText", "columnMenuFooterTemplate", "noResultText", "noResultTemplate", "headerTemplate", "headerExtraTemplate", "cellTemplate", "useContentRowTemplate", "useContentHeaderRowTemplate", "useContentFooterRowTemplate", "showSummary", "summaryTemplate", "showSidebar", "sidebarTemplate", "showStatusbar", "statusbarTemplate"], outputs: ["page", "sortChange", "rowClick", "rowContextMenu", "expansionChange", "rowSelectedChange", "cellSelectedChange", "columnChange"], exportAs: ["mtxGrid"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.ColumnsComponent, selector: "columns-container" }, { kind: "component", type: i4$1.ColumnComponent, selector: "column", inputs: ["width"] }, { kind: "directive", type: i4$1.DirectiveGrow, selector: "[grow]" }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }] }); }
2282
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonTableComponent, isStandalone: false, selector: "taon-table", inputs: { pageNumber: "pageNumber", pageSize: "pageSize", allowedColumns: "allowedColumns", expansionTemplate: "expansionTemplate", rows: "rows", entityCrudController: "entityCrudController", columns: "columns", pageSizeOptions: "pageSizeOptions", hideSearch: "hideSearch" }, outputs: { expansionChange: "expansionChange", addingItem: "addingItem" }, viewQueries: [{ propertyName: "search", first: true, predicate: ["search"], descendants: true, static: true }], ngImport: i0, template: "<br />\n<columns-container *ngIf=\"!hideSearch\">\n <column grow>\n <mat-form-field class=\"search-input\">\n <input\n matInput\n placeholder=\"Type to search table...\"\n #search />\n </mat-form-field>\n </column>\n <column [width]=\"80\">\n <button\n mat-fab\n [ngClass]=\"{ 'half-opacity': !search.value }\"\n class=\"undo-button\"\n color=\"secondary\"\n (click)=\"search.value = ''\">\n <mat-icon>close </mat-icon>\n </button>\n </column>\n\n <column [width]=\"80\">\n <button\n mat-fab\n (click)=\"addingItem.next()\"\n class=\"undo-button\"\n color=\"primary\">\n <mat-icon>add</mat-icon>\n </button>\n </column>\n</columns-container>\n\n<mtx-grid\n *ngIf=\"rows && columns\"\n [data]=\"rows\"\n [columns]=\"columns\"\n [expandable]=\"expandable\"\n [expansionTemplate]=\"expansionTemplate\"\n (expansionChange)=\"expansionRow($event)\"\n [length]=\"totalElements\"\n\n [pageOnFront]=\"false\"\n [pageIndex]=\"pageNumber - 1\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [showPaginator]=\"showPaginator\"\n (page)=\"getNextPage($event)\">\n</mtx-grid>\n\n<!-- [loading]=\"isLoading\" -->", styles: [":host{min-height:250px}.search-input{width:100%}.undo-button{margin-left:10px}.half-opacity{opacity:.2}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i3$3.MtxGrid, selector: "mtx-grid", inputs: ["displayedColumns", "columns", "data", "length", "loading", "trackBy", "columnResizable", "emptyValuePlaceholder", "pageOnFront", "showPaginator", "pageDisabled", "showFirstLastButtons", "pageIndex", "pageSize", "pageSizeOptions", "hidePageSize", "paginationTemplate", "sortOnFront", "sortActive", "sortDirection", "sortDisableClear", "sortDisabled", "sortStart", "rowHover", "rowStriped", "expandable", "expansionTemplate", "multiSelectable", "multiSelectionWithClick", "rowSelectable", "hideRowSelectionCheckbox", "disableRowClickSelection", "rowSelectionFormatter", "rowClassFormatter", "rowSelected", "cellSelectable", "showToolbar", "toolbarTitle", "toolbarTemplate", "columnHideable", "columnHideableChecked", "columnSortable", "columnPinnable", "columnPinOptions", "showColumnMenuButton", "columnMenuButtonText", "columnMenuButtonType", "columnMenuButtonColor", "columnMenuButtonClass", "columnMenuButtonIcon", "columnMenuButtonFontIcon", "columnMenuButtonSvgIcon", "showColumnMenuHeader", "columnMenuHeaderText", "columnMenuHeaderTemplate", "showColumnMenuFooter", "columnMenuFooterText", "columnMenuFooterTemplate", "noResultText", "noResultTemplate", "headerTemplate", "headerExtraTemplate", "cellTemplate", "useContentRowTemplate", "useContentHeaderRowTemplate", "useContentFooterRowTemplate", "showSummary", "summaryTemplate", "showSidebar", "sidebarTemplate", "showStatusbar", "statusbarTemplate"], outputs: ["page", "sortChange", "rowClick", "rowContextMenu", "expansionChange", "rowSelectedChange", "cellSelectedChange", "columnChange"], exportAs: ["mtxGrid"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i4$1.ColumnsComponent, selector: "columns-container" }, { kind: "component", type: i4$1.ColumnComponent, selector: "column", inputs: ["width"] }, { kind: "directive", type: i4$1.DirectiveGrow, selector: "[grow]" }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }] }); }
2279
2283
  }
2280
2284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonTableComponent, decorators: [{
2281
2285
  type: Component,
2282
- args: [{ selector: 'taon-table', standalone: false, template: "<br />\n<columns-container *ngIf=\"!hideSearch\">\n <column grow>\n <mat-form-field class=\"search-input\">\n <input\n matInput\n placeholder=\"Type to search table...\"\n #search />\n </mat-form-field>\n </column>\n <column [width]=\"80\">\n <button\n mat-fab\n [ngClass]=\"{ 'half-opacity': !search.value }\"\n class=\"undo-button\"\n color=\"secondary\"\n (click)=\"search.value = ''\">\n <mat-icon>close </mat-icon>\n </button>\n </column>\n\n <column [width]=\"80\">\n <button\n mat-fab\n (click)=\"addingItem.next()\"\n class=\"undo-button\"\n color=\"primary\">\n <mat-icon>add</mat-icon>\n </button>\n </column>\n</columns-container>\n\n<mtx-grid\n *ngIf=\"rows && columns\"\n [data]=\"rows\"\n [columns]=\"columns\"\n [expandable]=\"expandable\"\n [expansionTemplate]=\"expansionTemplate\"\n (expansionChange)=\"expansionRow($event)\"\n [length]=\"totalElements\"\n\n [pageOnFront]=\"false\"\n [pageIndex]=\"pageNumber - 1\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [showPaginator]=\"showPaginator\"\n (page)=\"getNextPage($event)\">\n</mtx-grid>\n\n<!-- [loading]=\"isLoading\" -->\n", styles: [":host{min-height:250px}.search-input{width:100%}.undo-button{margin-left:10px}.half-opacity{opacity:.2}\n"] }]
2286
+ args: [{ selector: 'taon-table', standalone: false, template: "<br />\n<columns-container *ngIf=\"!hideSearch\">\n <column grow>\n <mat-form-field class=\"search-input\">\n <input\n matInput\n placeholder=\"Type to search table...\"\n #search />\n </mat-form-field>\n </column>\n <column [width]=\"80\">\n <button\n mat-fab\n [ngClass]=\"{ 'half-opacity': !search.value }\"\n class=\"undo-button\"\n color=\"secondary\"\n (click)=\"search.value = ''\">\n <mat-icon>close </mat-icon>\n </button>\n </column>\n\n <column [width]=\"80\">\n <button\n mat-fab\n (click)=\"addingItem.next()\"\n class=\"undo-button\"\n color=\"primary\">\n <mat-icon>add</mat-icon>\n </button>\n </column>\n</columns-container>\n\n<mtx-grid\n *ngIf=\"rows && columns\"\n [data]=\"rows\"\n [columns]=\"columns\"\n [expandable]=\"expandable\"\n [expansionTemplate]=\"expansionTemplate\"\n (expansionChange)=\"expansionRow($event)\"\n [length]=\"totalElements\"\n\n [pageOnFront]=\"false\"\n [pageIndex]=\"pageNumber - 1\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [showPaginator]=\"showPaginator\"\n (page)=\"getNextPage($event)\">\n</mtx-grid>\n\n<!-- [loading]=\"isLoading\" -->", styles: [":host{min-height:250px}.search-input{width:100%}.undo-button{margin-left:10px}.half-opacity{opacity:.2}\n"] }]
2283
2287
  }], propDecorators: { pageNumber: [{
2284
2288
  type: Input
2285
2289
  }], pageSize: [{
@@ -2500,11 +2504,11 @@ class TaonYoutubeVideoComponent {
2500
2504
  this.postCommand('pauseVideo');
2501
2505
  }
2502
2506
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonYoutubeVideoComponent, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
2503
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonYoutubeVideoComponent, isStandalone: true, selector: "taon-youtube-video", inputs: { videoId: "videoId", title: "title", height: "height", state: "state" }, outputs: { paddlockClicked: "paddlockClicked", previewClicked: "previewClicked" }, viewQueries: [{ propertyName: "iframeRef", first: true, predicate: ["ytFrame"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"yt-container\"\n [ngClass]=\"state\"\n [ngStyle]=\"containerStyle\">\n <!-- PREVIEW IMAGE -->\n <img\n *ngIf=\"state === 'preview-picture' || state === 'preview-picture-locked'\"\n class=\"yt-media\"\n [src]=\"previewImage()\"\n [alt]=\"displayTitle\"\n (click)=\"onPreviewClick()\" />\n\n <!-- VIDEO -->\n <iframe\n #ytFrame\n *ngIf=\"state === 'video-preview-open' || state === 'video-preview-private'\"\n class=\"yt-media\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n\n <!-- PRIVATE OVERLAY -->\n <div\n (contextmenu)=\"onRightClick($event)\"\n (dblclick)=\"clicked($event)\"\n *ngIf=\"\n state === 'video-preview-private' && allowedToBeDisplayedVideoOveraly()\n \"\n (click)=\"clicked($event)\"\n class=\"yt-overlay-video\">\n <h1 class=\"text-center\" >Thanks for buying <br>this video</h1>\n </div>\n\n <!-- LOCK OVERLAY -->\n <div\n *ngIf=\"state === 'preview-picture-locked'\"\n class=\"yt-overlay yt-lock\"\n (click)=\"onLockClick($event)\">\n <mat-icon>lock</mat-icon>\n </div>\n</div>\n\n<!-- CONTROLS BELOW VIDEO -->\n<!-- <div\n *ngIf=\"state === 'video-preview-private'\"\n class=\"yt-controls\">\n <button\n mat-icon-button\n (click)=\"play()\">\n <mat-icon>play_arrow</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"pause()\">\n <mat-icon>pause</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"restart()\">\n <mat-icon>replay</mat-icon>\n </button>\n</div> -->\n<div class=\"w-full mb-1\"></div>\n<div\n class=\"yt-title\"\n *ngIf=\"displayTitle\">\n {{ displayTitle }}\n</div>\n", styles: [".yt-container{position:relative;overflow:hidden;border-radius:8px;border:1px solid var(--surface-border)}.yt-container:not([style*=height]){aspect-ratio:16/9}.yt-media{width:100%;height:100%;display:block;object-fit:cover;position:relative;z-index:1}iframe.yt-media{border:none}.yt-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center}.yt-overlay-video{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#c8c8c880}.yt-lock{background:#0000008c;cursor:pointer}.yt-lock mat-icon{height:60px;width:60px;font-size:56px;color:#fff}.yt-private{background:transparent;pointer-events:all}.yt-title{margin-top:.5rem;font-size:.9rem;font-weight:500}.yt-play-button{width:80px;height:80px;border-radius:50%;background:#ff0000d9;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.yt-play-button mat-icon{font-size:48px;color:#fff;width:48px;height:48px}.yt-play-button:hover{transform:scale(1.1)}.yt-controls{display:flex;gap:8px;margin-top:8px}.yt-controls button{background:#00000014}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2507
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: TaonYoutubeVideoComponent, isStandalone: true, selector: "taon-youtube-video", inputs: { videoId: "videoId", title: "title", height: "height", state: "state" }, outputs: { paddlockClicked: "paddlockClicked", previewClicked: "previewClicked" }, viewQueries: [{ propertyName: "iframeRef", first: true, predicate: ["ytFrame"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"yt-container\"\n [ngClass]=\"state\"\n [ngStyle]=\"containerStyle\">\n <!-- PREVIEW IMAGE -->\n <img\n *ngIf=\"state === 'preview-picture' || state === 'preview-picture-locked'\"\n class=\"yt-media\"\n [src]=\"previewImage()\"\n [alt]=\"displayTitle\"\n (click)=\"onPreviewClick()\" />\n\n <!-- VIDEO -->\n <iframe\n #ytFrame\n *ngIf=\"state === 'video-preview-open' || state === 'video-preview-private'\"\n class=\"yt-media\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n\n <!-- PRIVATE OVERLAY -->\n <div\n (contextmenu)=\"onRightClick($event)\"\n (dblclick)=\"clicked($event)\"\n *ngIf=\"\n state === 'video-preview-private' && allowedToBeDisplayedVideoOveraly()\n \"\n (click)=\"clicked($event)\"\n class=\"yt-overlay-video\">\n <h1 class=\"text-center\" >Thanks for buying <br>this video</h1>\n </div>\n\n <!-- LOCK OVERLAY -->\n <div\n *ngIf=\"state === 'preview-picture-locked'\"\n class=\"yt-overlay yt-lock\"\n (click)=\"onLockClick($event)\">\n <mat-icon>lock</mat-icon>\n </div>\n</div>\n\n<!-- CONTROLS BELOW VIDEO -->\n<!-- <div\n *ngIf=\"state === 'video-preview-private'\"\n class=\"yt-controls\">\n <button\n mat-icon-button\n (click)=\"play()\">\n <mat-icon>play_arrow</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"pause()\">\n <mat-icon>pause</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"restart()\">\n <mat-icon>replay</mat-icon>\n </button>\n</div> -->\n<div class=\"w-full mb-1\"></div>\n<div\n class=\"yt-title\"\n *ngIf=\"displayTitle\">\n {{ displayTitle }}\n</div>", styles: [".yt-container{position:relative;overflow:hidden;border-radius:8px;border:1px solid var(--surface-border)}.yt-container:not([style*=height]){aspect-ratio:16/9}.yt-media{width:100%;height:100%;display:block;object-fit:cover;position:relative;z-index:1}iframe.yt-media{border:none}.yt-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center}.yt-overlay-video{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#c8c8c880}.yt-lock{background:#0000008c;cursor:pointer}.yt-lock mat-icon{height:60px;width:60px;font-size:56px;color:#fff}.yt-private{background:transparent;pointer-events:all}.yt-title{margin-top:.5rem;font-size:.9rem;font-weight:500}.yt-play-button{width:80px;height:80px;border-radius:50%;background:#ff0000d9;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.yt-play-button mat-icon{font-size:48px;color:#fff;width:48px;height:48px}.yt-play-button:hover{transform:scale(1.1)}.yt-controls{display:flex;gap:8px;margin-top:8px}.yt-controls button{background:#00000014}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2504
2508
  }
2505
2509
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TaonYoutubeVideoComponent, decorators: [{
2506
2510
  type: Component,
2507
- args: [{ selector: 'taon-youtube-video', standalone: true, imports: [NgIf, NgStyle, MatIconModule, CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"yt-container\"\n [ngClass]=\"state\"\n [ngStyle]=\"containerStyle\">\n <!-- PREVIEW IMAGE -->\n <img\n *ngIf=\"state === 'preview-picture' || state === 'preview-picture-locked'\"\n class=\"yt-media\"\n [src]=\"previewImage()\"\n [alt]=\"displayTitle\"\n (click)=\"onPreviewClick()\" />\n\n <!-- VIDEO -->\n <iframe\n #ytFrame\n *ngIf=\"state === 'video-preview-open' || state === 'video-preview-private'\"\n class=\"yt-media\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n\n <!-- PRIVATE OVERLAY -->\n <div\n (contextmenu)=\"onRightClick($event)\"\n (dblclick)=\"clicked($event)\"\n *ngIf=\"\n state === 'video-preview-private' && allowedToBeDisplayedVideoOveraly()\n \"\n (click)=\"clicked($event)\"\n class=\"yt-overlay-video\">\n <h1 class=\"text-center\" >Thanks for buying <br>this video</h1>\n </div>\n\n <!-- LOCK OVERLAY -->\n <div\n *ngIf=\"state === 'preview-picture-locked'\"\n class=\"yt-overlay yt-lock\"\n (click)=\"onLockClick($event)\">\n <mat-icon>lock</mat-icon>\n </div>\n</div>\n\n<!-- CONTROLS BELOW VIDEO -->\n<!-- <div\n *ngIf=\"state === 'video-preview-private'\"\n class=\"yt-controls\">\n <button\n mat-icon-button\n (click)=\"play()\">\n <mat-icon>play_arrow</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"pause()\">\n <mat-icon>pause</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"restart()\">\n <mat-icon>replay</mat-icon>\n </button>\n</div> -->\n<div class=\"w-full mb-1\"></div>\n<div\n class=\"yt-title\"\n *ngIf=\"displayTitle\">\n {{ displayTitle }}\n</div>\n", styles: [".yt-container{position:relative;overflow:hidden;border-radius:8px;border:1px solid var(--surface-border)}.yt-container:not([style*=height]){aspect-ratio:16/9}.yt-media{width:100%;height:100%;display:block;object-fit:cover;position:relative;z-index:1}iframe.yt-media{border:none}.yt-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center}.yt-overlay-video{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#c8c8c880}.yt-lock{background:#0000008c;cursor:pointer}.yt-lock mat-icon{height:60px;width:60px;font-size:56px;color:#fff}.yt-private{background:transparent;pointer-events:all}.yt-title{margin-top:.5rem;font-size:.9rem;font-weight:500}.yt-play-button{width:80px;height:80px;border-radius:50%;background:#ff0000d9;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.yt-play-button mat-icon{font-size:48px;color:#fff;width:48px;height:48px}.yt-play-button:hover{transform:scale(1.1)}.yt-controls{display:flex;gap:8px;margin-top:8px}.yt-controls button{background:#00000014}\n"] }]
2511
+ args: [{ selector: 'taon-youtube-video', standalone: true, imports: [NgIf, NgStyle, MatIconModule, CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"yt-container\"\n [ngClass]=\"state\"\n [ngStyle]=\"containerStyle\">\n <!-- PREVIEW IMAGE -->\n <img\n *ngIf=\"state === 'preview-picture' || state === 'preview-picture-locked'\"\n class=\"yt-media\"\n [src]=\"previewImage()\"\n [alt]=\"displayTitle\"\n (click)=\"onPreviewClick()\" />\n\n <!-- VIDEO -->\n <iframe\n #ytFrame\n *ngIf=\"state === 'video-preview-open' || state === 'video-preview-private'\"\n class=\"yt-media\"\n [src]=\"embedUrl()\"\n frameborder=\"0\"\n allowfullscreen>\n </iframe>\n\n <!-- PRIVATE OVERLAY -->\n <div\n (contextmenu)=\"onRightClick($event)\"\n (dblclick)=\"clicked($event)\"\n *ngIf=\"\n state === 'video-preview-private' && allowedToBeDisplayedVideoOveraly()\n \"\n (click)=\"clicked($event)\"\n class=\"yt-overlay-video\">\n <h1 class=\"text-center\" >Thanks for buying <br>this video</h1>\n </div>\n\n <!-- LOCK OVERLAY -->\n <div\n *ngIf=\"state === 'preview-picture-locked'\"\n class=\"yt-overlay yt-lock\"\n (click)=\"onLockClick($event)\">\n <mat-icon>lock</mat-icon>\n </div>\n</div>\n\n<!-- CONTROLS BELOW VIDEO -->\n<!-- <div\n *ngIf=\"state === 'video-preview-private'\"\n class=\"yt-controls\">\n <button\n mat-icon-button\n (click)=\"play()\">\n <mat-icon>play_arrow</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"pause()\">\n <mat-icon>pause</mat-icon>\n </button>\n\n <button\n mat-icon-button\n (click)=\"restart()\">\n <mat-icon>replay</mat-icon>\n </button>\n</div> -->\n<div class=\"w-full mb-1\"></div>\n<div\n class=\"yt-title\"\n *ngIf=\"displayTitle\">\n {{ displayTitle }}\n</div>", styles: [".yt-container{position:relative;overflow:hidden;border-radius:8px;border:1px solid var(--surface-border)}.yt-container:not([style*=height]){aspect-ratio:16/9}.yt-media{width:100%;height:100%;display:block;object-fit:cover;position:relative;z-index:1}iframe.yt-media{border:none}.yt-overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center}.yt-overlay-video{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;background:#c8c8c880}.yt-lock{background:#0000008c;cursor:pointer}.yt-lock mat-icon{height:60px;width:60px;font-size:56px;color:#fff}.yt-private{background:transparent;pointer-events:all}.yt-title{margin-top:.5rem;font-size:.9rem;font-weight:500}.yt-play-button{width:80px;height:80px;border-radius:50%;background:#ff0000d9;display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.yt-play-button mat-icon{font-size:48px;color:#fff;width:48px;height:48px}.yt-play-button:hover{transform:scale(1.1)}.yt-controls{display:flex;gap:8px;margin-top:8px}.yt-controls button{background:#00000014}\n"] }]
2508
2512
  }], ctorParameters: () => [{ type: i1$1.DomSanitizer }], propDecorators: { videoId: [{
2509
2513
  type: Input,
2510
2514
  args: [{ required: true }]