taon-ui 21.0.70 → 21.0.72

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 (225) hide show
  1. package/VERIFIED-BUILD-DATA.jsonc +3 -3
  2. package/browser/fesm2022/taon-ui-browser.mjs +1 -1
  3. package/browser/fesm2022/taon-ui-browser.mjs.map +1 -1
  4. package/browser/package.json +1 -1
  5. package/browser/types/taon-ui-browser.d.ts +1 -1
  6. package/browser-prod/fesm2022/taon-ui-browser-prod.mjs +1 -1
  7. package/browser-prod/fesm2022/taon-ui-browser-prod.mjs.map +1 -1
  8. package/browser-prod/package.json +1 -1
  9. package/browser-prod/types/taon-ui-browser-prod.d.ts +1 -1
  10. package/full-dts/build-info._auto-generated_.d.ts +1 -1
  11. package/full-dts/layouts/taon-bootstrap-navbar/taon-bootstrap-navbar.component.d.ts +6 -0
  12. package/full-dts/ui/anonymize-text/anonymize-text.directive.d.ts +10 -0
  13. package/full-dts/ui/directives/safe.pipe.d.ts +7 -0
  14. package/full-dts/ui/directives/taon-inject-html.directive.d.ts +6 -0
  15. package/full-dts/ui/directives/taon-long-press.directive.d.ts +21 -0
  16. package/full-dts/ui/taon-auth/auth-button.component.d.ts +15 -0
  17. package/full-dts/ui/taon-auth/auth-dialog.component.d.ts +26 -0
  18. package/full-dts/ui/taon-auth/auth.guard.d.ts +9 -0
  19. package/full-dts/ui/taon-auth/google-auth.service.d.ts +9 -0
  20. package/full-dts/ui/taon-auth/microsoft-auth.service.d.ts +5 -0
  21. package/full-dts/ui/taon-auth/session.service.d.ts +25 -0
  22. package/full-dts/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.component.d.ts +3 -0
  23. package/full-dts/ui/taon-github-fork-me-corner/taon-github-fork-me-corner.module.d.ts +2 -0
  24. package/full-dts/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.component.d.ts +3 -0
  25. package/full-dts/ui/taon-github-fork-me-ribbon/taon-github-fork-me-ribbon.module.d.ts +2 -0
  26. package/full-dts/ui/taon-iframe-sync/taon-iframe-sync.component.d.ts +28 -0
  27. package/full-dts/ui/taon-kv-authorization/taon-kv-authorization.component.d.ts +19 -0
  28. package/full-dts/ui/taon-lang-selector/taon-lang-selector.component.d.ts +16 -0
  29. package/full-dts/ui/taon-not-found/taon-not-found.component.d.ts +2 -0
  30. package/full-dts/ui/taon-progress-bar/taon-progress-bar.component.d.ts +16 -0
  31. package/full-dts/ui/taon-progress-bar/taon-progress-bar.module.d.ts +2 -0
  32. package/full-dts/ui/taon-rumble/taon-rumble.component.d.ts +19 -0
  33. package/full-dts/ui/taon-session-passcode/taon-session-passcode.component.d.ts +35 -0
  34. package/full-dts/ui/taon-settings/taon-settings.component.d.ts +9 -0
  35. package/full-dts/ui/taon-simple-layout/taon-simple-layout.component.d.ts +17 -0
  36. package/full-dts/ui/taon-slide-content/taon-slide-content-child.component.d.ts +3 -0
  37. package/full-dts/ui/taon-slide-content/taon-slide-content.component.d.ts +19 -0
  38. package/full-dts/ui/taon-stripe-buy-button/taon-stripe-buy-button.component.d.ts +31 -0
  39. package/full-dts/ui/taon-theme/taon-theme.component.d.ts +12 -0
  40. package/full-dts/ui/taon-theme/taon-theme.service.d.ts +23 -0
  41. package/full-dts/ui/taon-youtube-video/taon-youtube-video.component.d.ts +52 -0
  42. package/lib/build-info._auto-generated_.d.ts +1 -1
  43. package/lib/build-info._auto-generated_.js +1 -1
  44. package/lib/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
  45. package/lib/layouts/taon-bootstrap-navbar/index.js +2 -2
  46. package/lib/package.json +1 -1
  47. package/lib/taon.models.d.ts +2 -2
  48. package/lib/ui/anonymize-text/index.d.ts +1 -1
  49. package/lib/ui/anonymize-text/index.js +2 -2
  50. package/lib/ui/directives/index.d.ts +1 -1
  51. package/lib/ui/directives/index.js +2 -2
  52. package/lib/ui/index.d.ts +1 -1
  53. package/lib/ui/index.js +2 -2
  54. package/lib/ui/taon-auth/i18n/taon-auth.translation.d.ts +2 -2
  55. package/lib/ui/taon-github-fork-me-corner/index.d.ts +1 -1
  56. package/lib/ui/taon-github-fork-me-corner/index.js +2 -2
  57. package/lib/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
  58. package/lib/ui/taon-github-fork-me-ribbon/index.js +2 -2
  59. package/lib/ui/taon-iframe-sync/index.d.ts +1 -1
  60. package/lib/ui/taon-iframe-sync/index.js +2 -2
  61. package/lib/ui/taon-kv-authorization/i18n/taon-kv-authorization.translation.d.ts +2 -2
  62. package/lib/ui/taon-lang-selector/i18n/taon-lang-selector.translation.d.ts +2 -2
  63. package/lib/ui/taon-lang-selector/index.d.ts +1 -1
  64. package/lib/ui/taon-lang-selector/index.js +2 -2
  65. package/lib/ui/taon-progress-bar/index.d.ts +1 -1
  66. package/lib/ui/taon-progress-bar/index.js +2 -2
  67. package/lib/ui/taon-session-passcode/index.d.ts +1 -1
  68. package/lib/ui/taon-session-passcode/index.js +2 -2
  69. package/lib/ui/taon-settings/i18n/taon-settings.translation.d.ts +2 -2
  70. package/lib/ui/taon-settings/index.d.ts +1 -1
  71. package/lib/ui/taon-settings/index.js +2 -2
  72. package/lib/ui/taon-slide-content/index.d.ts +1 -1
  73. package/lib/ui/taon-slide-content/index.js +2 -2
  74. package/lib/ui/taon-stripe-buy-button/i18n/taon-stripe-buy-button.translation.d.ts +2 -2
  75. package/lib/ui/taon-theme/i18n/taon-theme.translation.d.ts +2 -2
  76. package/lib-esm/lib/build-info._auto-generated_.d.ts +1 -1
  77. package/lib-esm/lib/build-info._auto-generated_.js +1 -1
  78. package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
  79. package/lib-esm/lib/layouts/taon-bootstrap-navbar/index.js +1 -1
  80. package/lib-esm/lib/ui/anonymize-text/index.d.ts +1 -1
  81. package/lib-esm/lib/ui/anonymize-text/index.js +1 -1
  82. package/lib-esm/lib/ui/directives/index.d.ts +1 -1
  83. package/lib-esm/lib/ui/directives/index.js +1 -1
  84. package/lib-esm/lib/ui/index.d.ts +1 -1
  85. package/lib-esm/lib/ui/index.js +1 -1
  86. package/lib-esm/lib/ui/taon-github-fork-me-corner/index.d.ts +1 -1
  87. package/lib-esm/lib/ui/taon-github-fork-me-corner/index.js +1 -1
  88. package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
  89. package/lib-esm/lib/ui/taon-github-fork-me-ribbon/index.js +1 -1
  90. package/lib-esm/lib/ui/taon-iframe-sync/index.d.ts +1 -1
  91. package/lib-esm/lib/ui/taon-iframe-sync/index.js +1 -1
  92. package/lib-esm/lib/ui/taon-lang-selector/index.d.ts +1 -1
  93. package/lib-esm/lib/ui/taon-lang-selector/index.js +1 -1
  94. package/lib-esm/lib/ui/taon-progress-bar/index.d.ts +1 -1
  95. package/lib-esm/lib/ui/taon-progress-bar/index.js +1 -1
  96. package/lib-esm/lib/ui/taon-session-passcode/index.d.ts +1 -1
  97. package/lib-esm/lib/ui/taon-session-passcode/index.js +1 -1
  98. package/lib-esm/lib/ui/taon-settings/index.d.ts +1 -1
  99. package/lib-esm/lib/ui/taon-settings/index.js +1 -1
  100. package/lib-esm/lib/ui/taon-slide-content/index.d.ts +1 -1
  101. package/lib-esm/lib/ui/taon-slide-content/index.js +1 -1
  102. package/lib-prod/build-info._auto-generated_.d.ts +1 -1
  103. package/lib-prod/build-info._auto-generated_.js +1 -1
  104. package/lib-prod/env/index.d.ts +0 -2
  105. package/lib-prod/env/index.js +0 -2
  106. package/lib-prod/env/index.js.map +1 -1
  107. package/lib-prod/layouts/taon-bootstrap-navbar/index.d.ts +1 -1
  108. package/lib-prod/layouts/taon-bootstrap-navbar/index.js +1 -1
  109. package/lib-prod/package.json +1 -1
  110. package/lib-prod/ui/anonymize-text/index.d.ts +1 -1
  111. package/lib-prod/ui/anonymize-text/index.js +1 -1
  112. package/lib-prod/ui/directives/index.d.ts +1 -1
  113. package/lib-prod/ui/directives/index.js +1 -1
  114. package/lib-prod/ui/index.d.ts +1 -1
  115. package/lib-prod/ui/index.js +1 -1
  116. package/lib-prod/ui/taon-github-fork-me-corner/index.d.ts +1 -1
  117. package/lib-prod/ui/taon-github-fork-me-corner/index.js +1 -1
  118. package/lib-prod/ui/taon-github-fork-me-ribbon/index.d.ts +1 -1
  119. package/lib-prod/ui/taon-github-fork-me-ribbon/index.js +1 -1
  120. package/lib-prod/ui/taon-iframe-sync/index.d.ts +1 -1
  121. package/lib-prod/ui/taon-iframe-sync/index.js +1 -1
  122. package/lib-prod/ui/taon-lang-selector/index.d.ts +1 -1
  123. package/lib-prod/ui/taon-lang-selector/index.js +1 -1
  124. package/lib-prod/ui/taon-progress-bar/index.d.ts +1 -1
  125. package/lib-prod/ui/taon-progress-bar/index.js +1 -1
  126. package/lib-prod/ui/taon-session-passcode/index.d.ts +1 -1
  127. package/lib-prod/ui/taon-session-passcode/index.js +1 -1
  128. package/lib-prod/ui/taon-settings/index.d.ts +1 -1
  129. package/lib-prod/ui/taon-settings/index.js +1 -1
  130. package/lib-prod/ui/taon-slide-content/index.d.ts +1 -1
  131. package/lib-prod/ui/taon-slide-content/index.js +1 -1
  132. package/package.json +1 -1
  133. package/websql/fesm2022/taon-ui-websql.mjs +1 -1
  134. package/websql/fesm2022/taon-ui-websql.mjs.map +1 -1
  135. package/websql/package.json +1 -1
  136. package/websql/types/taon-ui-websql.d.ts +1 -1
  137. package/websql-prod/fesm2022/taon-ui-websql-prod.mjs +1 -1
  138. package/websql-prod/fesm2022/taon-ui-websql-prod.mjs.map +1 -1
  139. package/websql-prod/package.json +1 -1
  140. package/websql-prod/types/taon-ui-websql-prod.d.ts +1 -1
  141. package/full-dts/env/env.angular-node-app.d.ts +0 -67
  142. package/full-dts/env/env.docs-webapp.d.ts +0 -67
  143. package/full-dts/env/env.electron-app.d.ts +0 -67
  144. package/full-dts/env/env.mobile-app.d.ts +0 -67
  145. package/full-dts/env/env.npm-lib-and-cli-tool.d.ts +0 -67
  146. package/full-dts/env/env.vscode-plugin.d.ts +0 -67
  147. package/full-dts/env/index.d.ts +0 -6
  148. package/lib/env/env.angular-node-app.d.ts +0 -67
  149. package/lib/env/env.angular-node-app.js +0 -143
  150. package/lib/env/env.angular-node-app.js.map +0 -1
  151. package/lib/env/env.docs-webapp.d.ts +0 -67
  152. package/lib/env/env.docs-webapp.js +0 -143
  153. package/lib/env/env.docs-webapp.js.map +0 -1
  154. package/lib/env/env.electron-app.d.ts +0 -67
  155. package/lib/env/env.electron-app.js +0 -143
  156. package/lib/env/env.electron-app.js.map +0 -1
  157. package/lib/env/env.mobile-app.d.ts +0 -67
  158. package/lib/env/env.mobile-app.js +0 -143
  159. package/lib/env/env.mobile-app.js.map +0 -1
  160. package/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -67
  161. package/lib/env/env.npm-lib-and-cli-tool.js +0 -143
  162. package/lib/env/env.npm-lib-and-cli-tool.js.map +0 -1
  163. package/lib/env/env.vscode-plugin.d.ts +0 -67
  164. package/lib/env/env.vscode-plugin.js +0 -143
  165. package/lib/env/env.vscode-plugin.js.map +0 -1
  166. package/lib/env/index.d.ts +0 -6
  167. package/lib/env/index.js +0 -23
  168. package/lib/env/index.js.map +0 -1
  169. package/lib-esm/app/translation-app/i18n/translation-app.container.html.de-DE.i18n.data.d.ts +0 -0
  170. package/lib-esm/app/translation-app/i18n/translation-app.container.html.de-DE.i18n.data.js +0 -2
  171. package/lib-esm/app/translation-app/i18n/translation-app.container.html.de-DE.i18n.data.js.map +0 -1
  172. package/lib-esm/app/translation-app/i18n/translation-app.container.html.en-US.i18n.data.d.ts +0 -0
  173. package/lib-esm/app/translation-app/i18n/translation-app.container.html.en-US.i18n.data.js +0 -2
  174. package/lib-esm/app/translation-app/i18n/translation-app.container.html.en-US.i18n.data.js.map +0 -1
  175. package/lib-esm/app/translation-app/i18n/translation-app.container.html.pl-PL.i18n.data.d.ts +0 -0
  176. package/lib-esm/app/translation-app/i18n/translation-app.container.html.pl-PL.i18n.data.js +0 -2
  177. package/lib-esm/app/translation-app/i18n/translation-app.container.html.pl-PL.i18n.data.js.map +0 -1
  178. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.de-DE.i18n.data.d.ts +0 -0
  179. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.de-DE.i18n.data.js +0 -2
  180. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.de-DE.i18n.data.js.map +0 -1
  181. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.en-US.i18n.data.d.ts +0 -0
  182. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.en-US.i18n.data.js +0 -2
  183. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.en-US.i18n.data.js.map +0 -1
  184. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.pl-PL.i18n.data.d.ts +0 -0
  185. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.pl-PL.i18n.data.js +0 -2
  186. package/lib-esm/app/translation-app/i18n/translation-app.container.ts.pl-PL.i18n.data.js.map +0 -1
  187. package/lib-esm/app/translation-app/i18n/translation-app.translation.d.ts +0 -0
  188. package/lib-esm/app/translation-app/i18n/translation-app.translation.js +0 -2
  189. package/lib-esm/app/translation-app/i18n/translation-app.translation.js.map +0 -1
  190. package/lib-esm/app/translation-app/translation-app.active.context.d.ts +0 -0
  191. package/lib-esm/app/translation-app/translation-app.active.context.js +0 -2
  192. package/lib-esm/app/translation-app/translation-app.active.context.js.map +0 -1
  193. package/lib-esm/app/translation-app/translation-app.container.d.ts +0 -0
  194. package/lib-esm/app/translation-app/translation-app.container.js +0 -2
  195. package/lib-esm/app/translation-app/translation-app.container.js.map +0 -1
  196. package/lib-esm/app/translation-app/translation-app.routes.d.ts +0 -0
  197. package/lib-esm/app/translation-app/translation-app.routes.js +0 -2
  198. package/lib-esm/app/translation-app/translation-app.routes.js.map +0 -1
  199. package/lib-esm/lib/env/env.angular-node-app.d.ts +0 -67
  200. package/lib-esm/lib/env/env.angular-node-app.js +0 -138
  201. package/lib-esm/lib/env/env.angular-node-app.js.map +0 -1
  202. package/lib-esm/lib/env/env.docs-webapp.d.ts +0 -67
  203. package/lib-esm/lib/env/env.docs-webapp.js +0 -138
  204. package/lib-esm/lib/env/env.docs-webapp.js.map +0 -1
  205. package/lib-esm/lib/env/env.electron-app.d.ts +0 -67
  206. package/lib-esm/lib/env/env.electron-app.js +0 -138
  207. package/lib-esm/lib/env/env.electron-app.js.map +0 -1
  208. package/lib-esm/lib/env/env.mobile-app.d.ts +0 -67
  209. package/lib-esm/lib/env/env.mobile-app.js +0 -138
  210. package/lib-esm/lib/env/env.mobile-app.js.map +0 -1
  211. package/lib-esm/lib/env/env.npm-lib-and-cli-tool.d.ts +0 -67
  212. package/lib-esm/lib/env/env.npm-lib-and-cli-tool.js +0 -138
  213. package/lib-esm/lib/env/env.npm-lib-and-cli-tool.js.map +0 -1
  214. package/lib-esm/lib/env/env.vscode-plugin.d.ts +0 -67
  215. package/lib-esm/lib/env/env.vscode-plugin.js +0 -138
  216. package/lib-esm/lib/env/env.vscode-plugin.js.map +0 -1
  217. package/lib-esm/lib/env/index.d.ts +0 -6
  218. package/lib-esm/lib/env/index.js +0 -7
  219. package/lib-esm/lib/env/index.js.map +0 -1
  220. package/lib-prod/env/env.docs-webapp.d.ts +0 -67
  221. package/lib-prod/env/env.docs-webapp.js +0 -138
  222. package/lib-prod/env/env.docs-webapp.js.map +0 -1
  223. package/lib-prod/env/env.npm-lib-and-cli-tool.d.ts +0 -67
  224. package/lib-prod/env/env.npm-lib-and-cli-tool.js +0 -138
  225. package/lib-prod/env/env.npm-lib-and-cli-tool.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taon-ui/browser-prod",
3
- "version": "21.0.70",
3
+ "version": "21.0.72",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0"
@@ -35,7 +35,7 @@ declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
35
35
  /**
36
36
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
37
37
  */
38
- declare const CURRENT_PACKAGE_VERSION = "21.0.70";
38
+ declare const CURRENT_PACKAGE_VERSION = "21.0.72";
39
39
 
40
40
  declare function myOrgProj(): void;
41
41
 
@@ -21,4 +21,4 @@ export declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
21
21
  /**
22
22
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
23
23
  */
24
- export declare const CURRENT_PACKAGE_VERSION = "21.0.70";
24
+ export declare const CURRENT_PACKAGE_VERSION = "21.0.72";
@@ -0,0 +1,6 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class TaonBootstrapNavbarComponent implements OnInit {
3
+ isLoggedIn: boolean;
4
+ isCollapsed: boolean;
5
+ ngOnInit(): void;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class AnonymizeTextDirective implements OnInit {
3
+ private el;
4
+ private encodedValue;
5
+ private revealed;
6
+ anonymizeText?: string;
7
+ ngOnInit(): void;
8
+ toggle(): void;
9
+ private maskText;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
3
+ export declare class SafePipe implements PipeTransform {
4
+ protected sanitizer: DomSanitizer;
5
+ constructor(sanitizer: DomSanitizer);
6
+ transform(value: any, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { ElementRef } from '@angular/core';
2
+ export declare class TaonInjectHTMLDirective {
3
+ private host;
4
+ set taonInjectHTML(content: string);
5
+ constructor(host: ElementRef);
6
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ export declare class TaonLongPress {
3
+ pressDuration: number;
4
+ onLongPress: EventEmitter<any>;
5
+ onLongPressing: EventEmitter<any>;
6
+ onLongPressEnd: EventEmitter<any>;
7
+ private pressing;
8
+ private longPressing;
9
+ private timeout;
10
+ private mouseX;
11
+ private mouseY;
12
+ get press(): boolean;
13
+ get longPress(): boolean;
14
+ allowTrigger: boolean;
15
+ triggerEnd: (() => void) & import("lodash").Cancelable;
16
+ onMouseDown(event: any): void;
17
+ onMouseMove(event: any): void;
18
+ loop(event: any): void;
19
+ endPress(emit?: boolean): void;
20
+ onMouseUp(): void;
21
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SessionService } from './session.service';
3
+ export declare class AuthButtonComponent implements OnInit {
4
+ linkToDashboard: string;
5
+ googleClientId?: string;
6
+ microsoftClientId?: string;
7
+ displayDashboardButton: boolean;
8
+ readonly session: SessionService;
9
+ private readonly dialog;
10
+ private readonly router;
11
+ openLogin(): void;
12
+ goDashboard(): void;
13
+ logout(): void;
14
+ ngOnInit(): void;
15
+ }
@@ -0,0 +1,26 @@
1
+ import { AfterViewInit, ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { Translation, Translatable } from '@taon-dev/i18n/src';
4
+ export declare class AuthDialogComponent implements AfterViewInit, OnInit, Translatable {
5
+ t: Translation;
6
+ cdr: ChangeDetectorRef;
7
+ emailRegex: RegExp;
8
+ form: FormGroup<{
9
+ email: FormControl<string>;
10
+ }>;
11
+ googleClientId?: string;
12
+ microsoftClientId?: string;
13
+ emailLoginBtn: ElementRef<HTMLDivElement>;
14
+ googleBtn: ElementRef<HTMLDivElement>;
15
+ diableLoginByEmail: boolean;
16
+ private readonly dialogRef;
17
+ private readonly googleAuth;
18
+ private readonly microsoftAuth;
19
+ private readonly session;
20
+ googleButtonLoaded: boolean;
21
+ close(): void;
22
+ loginWithMicrosoft(): void;
23
+ loginByEmail(): void;
24
+ ngOnInit(): void;
25
+ ngAfterViewInit(): void;
26
+ }
@@ -0,0 +1,9 @@
1
+ import { CanActivate, Router, UrlTree } from '@angular/router';
2
+ import { Observable } from 'rxjs';
3
+ import { SessionService } from './session.service';
4
+ export declare class AuthGuard implements CanActivate {
5
+ private readonly session;
6
+ private readonly router;
7
+ constructor(session: SessionService, router: Router);
8
+ canActivate(): Observable<boolean | UrlTree>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { NgZone } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ export declare class GoogleAuthService {
4
+ private zone;
5
+ constructor(zone: NgZone);
6
+ loadScript(): Promise<void>;
7
+ renderButton(container: HTMLElement, clientId: string, width: number): Observable<any>;
8
+ private decodeJwt;
9
+ }
@@ -0,0 +1,5 @@
1
+ import { Observable } from 'rxjs';
2
+ export declare class MicrosoftAuthService {
3
+ login(clientId: string): Observable<any>;
4
+ private decodeJwt;
5
+ }
@@ -0,0 +1,25 @@
1
+ import { MicrosoftAuthService } from './microsoft-auth.service';
2
+ export interface SessionState {
3
+ isLoggedIn: boolean;
4
+ email?: string;
5
+ emailVerified?: boolean;
6
+ displayName?: string;
7
+ pictureUrl?: string;
8
+ }
9
+ export declare class SessionService {
10
+ microsoftLogin: MicrosoftAuthService;
11
+ private readonly state$;
12
+ data$: import("rxjs").Observable<SessionState>;
13
+ readonly isLoggedIn$: import("rxjs").Observable<boolean>;
14
+ readonly emailConfirmed$: import("rxjs").Observable<boolean>;
15
+ readonly email$: import("rxjs").Observable<string>;
16
+ get snapshot(): SessionState;
17
+ loginWithGoogle(data: {
18
+ email: string;
19
+ emailVerified: boolean;
20
+ displayName?: string;
21
+ pictureUrl?: string;
22
+ }): void;
23
+ logout(): void;
24
+ private load;
25
+ }
@@ -0,0 +1,3 @@
1
+ export declare class TaonGithubForkMeCornerComponent {
2
+ url: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TaonGithubForkMeCornerModule {
2
+ }
@@ -0,0 +1,3 @@
1
+ export declare class TaonGithubForkMeRibbonComponent {
2
+ url: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TaonGithubForkMeRibbonModule {
2
+ }
@@ -0,0 +1,28 @@
1
+ import { OnDestroy, ElementRef, AfterViewInit } from '@angular/core';
2
+ import { SafeResourceUrl } from '@angular/platform-browser';
3
+ export declare class TaonIframeSyncComponent implements AfterViewInit, OnDestroy {
4
+ #private;
5
+ loaderBackgroundColor: string;
6
+ private destroy$;
7
+ private iframeWin;
8
+ isReady: boolean;
9
+ private hasInitialSync;
10
+ iframeRef: ElementRef<HTMLIFrameElement>;
11
+ set iframeSrc(v: string);
12
+ get iframeSrc(): string;
13
+ queryParamKey: string;
14
+ initialPath: string | null;
15
+ targetOrigin?: string;
16
+ safeSrc: SafeResourceUrl;
17
+ private router;
18
+ private route;
19
+ private sanitizer;
20
+ ngAfterViewInit(): void;
21
+ private setupSync;
22
+ onIframeLoad(): void;
23
+ private sendNavigateIfReady;
24
+ private isValidUrl;
25
+ private getSafeOrigin;
26
+ private handleIframeMessage;
27
+ ngOnDestroy(): void;
28
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnInit, ChangeDetectorRef, SimpleChanges, OnChanges } from '@angular/core';
2
+ import { Translation } from '@taon-dev/i18n/src';
3
+ import { TaonKvAuthorizationProduct } from './taon-kv-authorization.models';
4
+ export declare class TaonKvAuthorizationComponent implements OnInit, OnChanges {
5
+ t: Translation;
6
+ infoMsg: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
7
+ cdr: ChangeDetectorRef;
8
+ email: string;
9
+ url: string;
10
+ products: TaonKvAuthorizationProduct[];
11
+ authorizedProducts: EventEmitter<TaonKvAuthorizationProduct[]>;
12
+ protected loading: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
13
+ protected authorizedProductsData: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonKvAuthorizationProduct[]>;
14
+ protected authorizationCheckingInProgress: boolean;
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ checkIfProducstsAuthorized(): Promise<void>;
18
+ protected authorizedCount(): number;
19
+ }
@@ -0,0 +1,16 @@
1
+ import { Translatable, Translation } from '@taon-dev/i18n/src';
2
+ import { Subscription } from 'rxjs';
3
+ import { UtilsI18n } from 'tnp-core/src';
4
+ export declare class TaonLangSelectorComponent implements Translatable {
5
+ t: Translation;
6
+ private translateService;
7
+ readonly availableLangs$: import("rxjs").Observable<UtilsI18n.LangOption[]>;
8
+ currentLang: UtilsI18n.CommonLocaleCode;
9
+ readonly currentGlobalLanguage$: import("rxjs").Observable<"pl-PL" | "en-US" | "en-GB" | "de-DE" | "fr-FR" | "es-ES" | "zh-CN">;
10
+ readonly isDisabled$: import("rxjs").Observable<boolean>;
11
+ constructor();
12
+ sub: Subscription;
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ changeLanguage(event: Event): Promise<void>;
16
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TaonNotFoundComponent {
2
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
2
+ import { Subscription } from 'rxjs';
3
+ /**
4
+ * @deprecated
5
+ */
6
+ export declare class TaonProgressBarComponent implements OnInit, OnDestroy, AfterViewInit {
7
+ labProgress: any;
8
+ isDesktop: boolean;
9
+ admin: any;
10
+ handlers: Subscription[];
11
+ constructor();
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ ngAfterViewInit(): void;
15
+ loadProgressBar(config: any): void;
16
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TaonProgressBarModule {
2
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ export type TaonRumbleState = 'preview-picture' | 'preview-picture-locked' | 'video-preview-open' | 'video-preview-private';
4
+ export declare class TaonRumbleComponent {
5
+ sanitizer: DomSanitizer;
6
+ title: string;
7
+ clipId: string;
8
+ picturePreviewUrl: string;
9
+ state: TaonRumbleState;
10
+ paddlockClicked: EventEmitter<void>;
11
+ previewClicked: EventEmitter<void>;
12
+ embedUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<SafeResourceUrl>;
13
+ onPreviewClick(): void;
14
+ onPadlockClick(event: MouseEvent): void;
15
+ isPreview(): boolean;
16
+ isLocked(): boolean;
17
+ isVideoOpen(): boolean;
18
+ isPrivate(): boolean;
19
+ }
@@ -0,0 +1,35 @@
1
+ import { ChangeDetectorRef, DestroyRef, ElementRef, OnInit, AfterViewInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
+ export interface TaonSessionPasscodeModel {
5
+ passcode: string;
6
+ }
7
+ export type TaonSessionPasscodeForm = {
8
+ [prop in keyof TaonSessionPasscodeModel]: FormControl<TaonSessionPasscodeModel[prop]>;
9
+ };
10
+ export declare class TaonSessionPasscodeComponent implements OnInit, AfterViewInit {
11
+ private element;
12
+ private domSanitizer;
13
+ private cdr;
14
+ destroyRef: DestroyRef;
15
+ passcode: string;
16
+ message: string;
17
+ safeMessage: SafeHtml;
18
+ private lastPasscode;
19
+ display: string;
20
+ form: FormGroup<TaonSessionPasscodeForm>;
21
+ constructor(element: ElementRef<HTMLElement>, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef);
22
+ ngOnInit(): Promise<void>;
23
+ submit({ passcode }: Partial<TaonSessionPasscodeModel>): void;
24
+ private isPasscodeOK;
25
+ ngAfterViewInit(): void;
26
+ focus(): void;
27
+ hide(): void;
28
+ show(): void;
29
+ clear(): void;
30
+ onKeyup(event: KeyboardEvent & {
31
+ target: {
32
+ value: string;
33
+ };
34
+ }): void;
35
+ }
@@ -0,0 +1,9 @@
1
+ import { Translatable, Translation } from '@taon-dev/i18n/src';
2
+ import { TaonThemeMode, TaonThemeService } from '../taon-theme/taon-theme.service';
3
+ export declare class TaonSettingsComponent implements Translatable {
4
+ t: Translation;
5
+ TaonThemeMode: typeof TaonThemeMode;
6
+ private readonly dialogRef;
7
+ close(): void;
8
+ taonTheme: TaonThemeService;
9
+ }
@@ -0,0 +1,17 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { Router } from '@angular/router';
3
+ import { TaonThemeService } from '../taon-theme/taon-theme.service';
4
+ import { TaonSimpleLayoutNavItem } from './taon-simple-layout.model';
5
+ export declare class TaonSimpleLayoutComponent {
6
+ protected router: Router;
7
+ protected dialog: MatDialog;
8
+ protected theme: TaonThemeService;
9
+ hideThemeSettings: boolean;
10
+ hideHeader: boolean;
11
+ navItems: import("@angular/core", { with: { "resolution-mode": "import" } }).InputSignal<TaonSimpleLayoutNavItem[]>;
12
+ protected readonly mobileMenuOpen: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
13
+ navigateToMobile(item: TaonSimpleLayoutNavItem): void;
14
+ protected openSettingsFromMobileMenu(): void;
15
+ navigateTo(item: TaonSimpleLayoutNavItem): void;
16
+ openDialog(enterAnimationDuration: string | number, exitAnimationDuration: string | number): void;
17
+ }
@@ -0,0 +1,3 @@
1
+ export declare class TaonSlideContentContentChildComponent {
2
+ assignToState: unknown;
3
+ }
@@ -0,0 +1,19 @@
1
+ import { AfterContentInit } from '@angular/core';
2
+ export declare class TaonSlideContentComponent implements AfterContentInit {
3
+ private slides;
4
+ /**
5
+ * Defines which state transitions should be animated.
6
+ *
7
+ * Example:
8
+ * LOGIN -> ENTER_PASSWORD = animated
9
+ * ENTER_PASSWORD -> LOGIN = instant
10
+ */
11
+ whenAllowedAnimationMap?: Map<unknown, unknown[]>;
12
+ private readonly activeIndex;
13
+ private readonly currentState;
14
+ readonly shouldAnimate: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
15
+ readonly transform: () => string;
16
+ ngAfterContentInit(): void;
17
+ goTo(state: unknown): void;
18
+ private isAnimationAllowed;
19
+ }
@@ -0,0 +1,31 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Translation, Translatable } from '@taon-dev/i18n/src';
3
+ export declare class TaonStripeBuyButtonComponent implements OnInit, Translatable {
4
+ t: Translation;
5
+ /**
6
+ * Stripe price id (NOT product id)
7
+ * example: price_1Qabc123456
8
+ */
9
+ priceId: string;
10
+ productId: string;
11
+ promotionPreviousPrice: string;
12
+ /**
13
+ * Cloudflare worker url that creates checkout session
14
+ * example: https://super-73d1b.darekf77.workers.dev
15
+ */
16
+ workerUrl: string;
17
+ /**
18
+ * email of logged user
19
+ * (used later for KV authorization)
20
+ */
21
+ email: string;
22
+ successUrl: string;
23
+ cancelUrl: string;
24
+ /**
25
+ * optional label for buy button
26
+ */
27
+ label: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<string>;
28
+ loading: boolean;
29
+ ngOnInit(): void;
30
+ buy(): Promise<void>;
31
+ }
@@ -0,0 +1,12 @@
1
+ import { TaonThemeMode, TaonThemeService } from './taon-theme.service';
2
+ import { Translatable, Translation } from '@taon-dev/i18n/src';
3
+ /**
4
+ * @deprecated use TaonSettings
5
+ */
6
+ export declare class TaonThemeComponent implements Translatable {
7
+ t: Translation;
8
+ TaonThemeMode: typeof TaonThemeMode;
9
+ private readonly dialogRef;
10
+ close(): void;
11
+ taonTheme: TaonThemeService;
12
+ }
@@ -0,0 +1,23 @@
1
+ export declare enum TaonThemeMode {
2
+ AUTO = "auto",
3
+ LIGHT = "light",
4
+ DARK = "dark"
5
+ }
6
+ export declare class TaonThemeService {
7
+ private readonly TAON_THEME_KEY;
8
+ private platformId;
9
+ private isBrowser;
10
+ private mediaQuery;
11
+ pernamentMode: boolean;
12
+ mode: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<TaonThemeMode>;
13
+ isDark: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
14
+ constructor();
15
+ private apply;
16
+ setMode(mode: TaonThemeMode, options?: {
17
+ pernamentMode?: boolean;
18
+ }): void;
19
+ toogleAuto(auto: boolean): void;
20
+ setDark(yes: boolean): void;
21
+ toggle(): void;
22
+ isAuto(): boolean;
23
+ }
@@ -0,0 +1,52 @@
1
+ import { EventEmitter, OnChanges, AfterViewInit, ElementRef, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
2
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
+ import { TaonYoutubeState } from './taon-youtube.models';
4
+ export declare class TaonYoutubeVideoComponent implements OnChanges, AfterViewInit, OnInit, OnDestroy {
5
+ private sanitizer;
6
+ videoId: string;
7
+ title?: string;
8
+ height?: string;
9
+ state: TaonYoutubeState;
10
+ paddlockClicked: EventEmitter<void>;
11
+ previewClicked: EventEmitter<void>;
12
+ iframeRef?: ElementRef<HTMLIFrameElement>;
13
+ /**
14
+ * > controls=0 Hides bottom control bar
15
+ * > modestbranding=1 Reduces YouTube logo
16
+ * > rel=0 Disables related videos from other channels
17
+ * > disablekb=1 Disables keyboard controls
18
+ * > fs=0 Disables fullscreen button
19
+ * > playsinline=1 Prevents fullscreen auto behavior on iOS
20
+ */
21
+ embedUrl: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<SafeResourceUrl>;
22
+ private readonly PS;
23
+ currentVideoState: keyof typeof this.PS;
24
+ videoActivated: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
25
+ isInViewport: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
26
+ previewImage: import("@angular/core", { with: { "resolution-mode": "import" } }).Signal<string>;
27
+ cdr: ChangeDetectorRef;
28
+ allowedToBeDisplayedVideoOveraly: import("@angular/core", { with: { "resolution-mode": "import" } }).WritableSignal<boolean>;
29
+ private player;
30
+ private readonly el;
31
+ private observer?;
32
+ private videoIdSignal;
33
+ get containerStyle(): {
34
+ height: string;
35
+ };
36
+ get displayTitle(): string;
37
+ constructor(sanitizer: DomSanitizer);
38
+ onRightClick(event: any): void;
39
+ onThumbnailError(event: Event): void;
40
+ clicked(event: any): void;
41
+ restart(): void;
42
+ ngOnInit(): void;
43
+ ngOnDestroy(): void;
44
+ ngAfterViewInit(): Promise<void>;
45
+ private handleStateChange;
46
+ ngOnChanges(): void;
47
+ onLockClick(event: MouseEvent): void;
48
+ onPreviewClick(): void;
49
+ play(): void;
50
+ pause(): void;
51
+ private postCommand;
52
+ }
@@ -21,4 +21,4 @@ export declare const CURRENT_PACKAGE_TAON_VERSION = "v21";
21
21
  /**
22
22
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
23
23
  */
24
- export declare const CURRENT_PACKAGE_VERSION = "21.0.70";
24
+ export declare const CURRENT_PACKAGE_VERSION = "21.0.72";
@@ -25,6 +25,6 @@ exports.CURRENT_PACKAGE_TAON_VERSION = 'v21';
25
25
  /**
26
26
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
27
27
  */
28
- exports.CURRENT_PACKAGE_VERSION = '21.0.70';
28
+ exports.CURRENT_PACKAGE_VERSION = '21.0.72';
29
29
  // THIS FILE IS GENERATED - DO NOT MODIFY
30
30
  //# sourceMappingURL=build-info._auto-generated_.js.map
@@ -1 +1 @@
1
- export declare function dummy1791746177156(): void;
1
+ export declare function dummy1791759342153(): void;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1791746177156 = dummy1791746177156;
4
- function dummy1791746177156() { }
3
+ exports.dummy1791759342153 = dummy1791759342153;
4
+ function dummy1791759342153() { }
5
5
  //# sourceMappingURL=index.js.map
package/lib/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "taon-ui/lib",
3
- "version": "21.0.70"
3
+ "version": "21.0.72"
4
4
  }
@@ -1,4 +1,4 @@
1
- import { CoreModels } from 'tnp-core/lib';
1
+ import { CoreModels } from 'tnp-core';
2
2
  export type TaonDisplayMode = 'view' | 'edit';
3
3
  export interface TaonUploadedFile {
4
4
  data: Buffer;
@@ -8,4 +8,4 @@ export interface TaonUploadedFile {
8
8
  mv: (path: any, callback: any) => any;
9
9
  name: string;
10
10
  truncated: boolean;
11
- }
11
+ }
@@ -1 +1 @@
1
- export declare function dummy1791746177164(): void;
1
+ export declare function dummy1791759342161(): void;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1791746177164 = dummy1791746177164;
4
- function dummy1791746177164() { }
3
+ exports.dummy1791759342161 = dummy1791759342161;
4
+ function dummy1791759342161() { }
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export declare function dummy1791746177165(): void;
1
+ export declare function dummy1791759342162(): void;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1791746177165 = dummy1791746177165;
4
- function dummy1791746177165() { }
3
+ exports.dummy1791759342162 = dummy1791759342162;
4
+ function dummy1791759342162() { }
5
5
  //# sourceMappingURL=index.js.map
package/lib/ui/index.d.ts CHANGED
@@ -1 +1 @@
1
- export declare function dummy1791746176679(): void;
1
+ export declare function dummy1791759341697(): void;
package/lib/ui/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.dummy1791746176679 = dummy1791746176679;
4
- function dummy1791746176679() { }
3
+ exports.dummy1791759341697 = dummy1791759341697;
4
+ function dummy1791759341697() { }
5
5
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,8 @@
1
- import { CoreModels } from 'tnp-core/lib';
1
+ import { CoreModels } from 'tnp-core';
2
2
  import { EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml } from './auth-dialog.component.html.en-US.i18n.data';
3
3
  import { PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml } from './auth-dialog.component.html.pl-PL.i18n.data';
4
4
  import { DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml } from './auth-dialog.component.html.de-DE.i18n.data';
5
5
  import { EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs } from './auth-dialog.component.ts.en-US.i18n.data';
6
6
  import { PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs } from './auth-dialog.component.ts.pl-PL.i18n.data';
7
7
  import { DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs } from './auth-dialog.component.ts.de-DE.i18n.data';
8
- export type TaonAuthOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs | PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs | DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs>;
8
+ export type TaonAuthOverride = CoreModels.DeepPartial<EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentHtml | EnUsTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs | PlPlTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs | DeDeTraslationOverrideSrcLibUiTaonAuthAuthDialogComponentTs>;
@@ -1 +1 @@
1
- export declare function dummy1791746177198(): void;
1
+ export declare function dummy1791759342190(): void;