@ts-core/angular 13.1.35 → 13.1.37

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 (110) hide show
  1. package/esm2020/VICommonModule.mjs +4 -4
  2. package/esm2020/application/ApplicationBaseComponent.mjs +3 -3
  3. package/esm2020/asset/AssetBackgroundDirective.mjs +3 -3
  4. package/esm2020/asset/AssetBackgroundPipe.mjs +3 -3
  5. package/esm2020/asset/AssetFilePipe.mjs +3 -3
  6. package/esm2020/asset/AssetIconPipe.mjs +3 -3
  7. package/esm2020/asset/AssetImagePipe.mjs +3 -3
  8. package/esm2020/asset/AssetModule.mjs +4 -4
  9. package/esm2020/asset/AssetSoundPipe.mjs +3 -3
  10. package/esm2020/asset/AssetVideoPipe.mjs +3 -3
  11. package/esm2020/bottomSheet/BottomSheetModule.mjs +4 -4
  12. package/esm2020/bottomSheet/BottomSheetService.mjs +3 -3
  13. package/esm2020/component/VIComponentModule.mjs +4 -4
  14. package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +3 -3
  15. package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +3 -3
  16. package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +3 -3
  17. package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +3 -3
  18. package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +3 -3
  19. package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +3 -3
  20. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +3 -3
  21. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +3 -3
  22. package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +3 -3
  23. package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +3 -3
  24. package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +3 -3
  25. package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +3 -3
  26. package/esm2020/component/language/language-selector/language-selector.component.mjs +3 -3
  27. package/esm2020/component/menu-list/menu-list.component.mjs +3 -3
  28. package/esm2020/component/select-list/select-list.component.mjs +3 -3
  29. package/esm2020/component/tab-group/tab-group.component.mjs +3 -3
  30. package/esm2020/cookie/CookieModule.mjs +4 -4
  31. package/esm2020/directive/AspectRatioResizeDirective.mjs +3 -3
  32. package/esm2020/directive/AutoScrollBottomDirective.mjs +3 -3
  33. package/esm2020/directive/ClickToCopyDirective.mjs +3 -3
  34. package/esm2020/directive/ClickToSelectDirective.mjs +3 -3
  35. package/esm2020/directive/FocusDirective.mjs +3 -3
  36. package/esm2020/directive/HTMLContentTitleDirective.mjs +3 -3
  37. package/esm2020/directive/HTMLTitleDirective.mjs +3 -3
  38. package/esm2020/directive/InfiniteScrollDirective.mjs +3 -3
  39. package/esm2020/directive/IsBrowserDirective.mjs +3 -3
  40. package/esm2020/directive/IsServerDirective.mjs +3 -3
  41. package/esm2020/directive/MenuTriggerForDirective.mjs +3 -3
  42. package/esm2020/directive/ResizeDirective.mjs +3 -3
  43. package/esm2020/directive/ScrollCheckDirective.mjs +3 -3
  44. package/esm2020/directive/ScrollDirective.mjs +3 -3
  45. package/esm2020/directive/SelectOnFocusDirective.mjs +3 -3
  46. package/esm2020/form/FormElementSync.mjs +3 -3
  47. package/esm2020/language/LanguageDirective.mjs +3 -3
  48. package/esm2020/language/LanguageHasDirective.mjs +3 -3
  49. package/esm2020/language/LanguageMatPaginatorIntl.mjs +3 -3
  50. package/esm2020/language/LanguageModule.mjs +4 -4
  51. package/esm2020/language/LanguagePipe.mjs +3 -3
  52. package/esm2020/language/LanguagePipeHas.mjs +3 -3
  53. package/esm2020/language/LanguagePipeHasPure.mjs +3 -3
  54. package/esm2020/language/LanguagePipePure.mjs +3 -3
  55. package/esm2020/language/LanguageResolver.mjs +3 -3
  56. package/esm2020/login/LoginGuard.mjs +3 -3
  57. package/esm2020/login/LoginIfCanGuard.mjs +3 -3
  58. package/esm2020/login/LoginNotGuard.mjs +3 -3
  59. package/esm2020/login/LoginResolver.mjs +3 -3
  60. package/esm2020/module/LazyModuleLoader.mjs +3 -3
  61. package/esm2020/notification/INotificationContent.mjs +3 -3
  62. package/esm2020/notification/NotificationModule.mjs +4 -4
  63. package/esm2020/notification/NotificationService.mjs +3 -3
  64. package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +3 -3
  65. package/esm2020/notification/component/notification/notification.component.mjs +3 -3
  66. package/esm2020/pipe/CamelCasePipe.mjs +3 -3
  67. package/esm2020/pipe/FinancePipe.mjs +3 -3
  68. package/esm2020/pipe/MomentDateAdaptivePipe.mjs +3 -3
  69. package/esm2020/pipe/MomentDateFromNowPipe.mjs +3 -3
  70. package/esm2020/pipe/MomentDatePipe.mjs +3 -3
  71. package/esm2020/pipe/MomentTimePipe.mjs +3 -3
  72. package/esm2020/pipe/NgModelErrorPipe.mjs +3 -3
  73. package/esm2020/pipe/PrettifyPipe.mjs +3 -3
  74. package/esm2020/pipe/SanitizePipe.mjs +3 -3
  75. package/esm2020/pipe/StartCasePipe.mjs +3 -3
  76. package/esm2020/pipe/TimePipe.mjs +3 -3
  77. package/esm2020/pipe/TruncatePipe.mjs +3 -3
  78. package/esm2020/public-api.mjs +2 -1
  79. package/esm2020/service/BootstrapBreakpointService.mjs +3 -3
  80. package/esm2020/service/PlatformService.mjs +3 -3
  81. package/esm2020/theme/ThemeAssetBackgroundDirective.mjs +21 -6
  82. package/esm2020/theme/ThemeAssetDirective.mjs +3 -3
  83. package/esm2020/theme/ThemeAssetIconDirective.mjs +48 -0
  84. package/esm2020/theme/ThemeAssetImageDirective.mjs +21 -6
  85. package/esm2020/theme/ThemeModule.mjs +24 -6
  86. package/esm2020/theme/ThemeStyleDirective.mjs +3 -3
  87. package/esm2020/theme/ThemeStyleHoverDirective.mjs +3 -3
  88. package/esm2020/theme/ThemeToggleDirective.mjs +3 -3
  89. package/esm2020/util/ViewUtil.mjs +1 -1
  90. package/esm2020/window/IWindowContent.mjs +3 -3
  91. package/esm2020/window/WindowModule.mjs +4 -4
  92. package/esm2020/window/WindowService.mjs +3 -3
  93. package/esm2020/window/component/WindowDragAreaDirective.mjs +3 -3
  94. package/esm2020/window/component/WindowElement.mjs +3 -3
  95. package/esm2020/window/component/window-close-element/window-close-element.component.mjs +3 -3
  96. package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +3 -3
  97. package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +3 -3
  98. package/esm2020/window/component/window-question/window-question.component.mjs +3 -3
  99. package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +3 -3
  100. package/fesm2015/ts-core-angular.mjs +392 -301
  101. package/fesm2015/ts-core-angular.mjs.map +1 -1
  102. package/fesm2020/ts-core-angular.mjs +392 -301
  103. package/fesm2020/ts-core-angular.mjs.map +1 -1
  104. package/package.json +1 -1
  105. package/public-api.d.ts +1 -0
  106. package/theme/ThemeAssetBackgroundDirective.d.ts +3 -1
  107. package/theme/ThemeAssetIconDirective.d.ts +13 -0
  108. package/theme/ThemeAssetImageDirective.d.ts +3 -1
  109. package/theme/ThemeModule.d.ts +6 -5
  110. package/util/ViewUtil.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "13.1.35",
3
+ "version": "13.1.37",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
package/public-api.d.ts CHANGED
@@ -120,6 +120,7 @@ export * from './theme/ThemeStyleHoverDirective';
120
120
  export * from './theme/ThemeStyleDirective';
121
121
  export * from './theme/ThemeAssetBackgroundDirective';
122
122
  export * from './theme/ThemeAssetImageDirective';
123
+ export * from './theme/ThemeAssetIconDirective';
123
124
  export * from './theme/ThemeAssetDirective';
124
125
  export * from './theme/ThemeModule';
125
126
  export * from './theme/ThemeToggleDirective';
@@ -6,6 +6,8 @@ export declare class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
6
6
  constructor(element: ElementRef, theme: ThemeService, themeAsset: ThemeAssetService);
7
7
  protected commitSourceProperties(): void;
8
8
  protected removeSourceProperties(): void;
9
+ set name(value: string);
10
+ get name(): string;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeAssetBackgroundDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetBackgroundDirective, "[vi-theme-background]", never, {}, {}, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetBackgroundDirective, "[vi-theme-background]", never, { "name": "vi-theme-background"; }, {}, never>;
11
13
  }
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ThemeAssetService, ThemeService } from '@ts-core/frontend';
3
+ import { ThemeAssetDirective } from './ThemeAssetDirective';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ThemeAssetIconDirective extends ThemeAssetDirective<HTMLImageElement> {
6
+ constructor(element: ElementRef, theme: ThemeService, themeAsset: ThemeAssetService);
7
+ protected commitSourceProperties(): void;
8
+ protected removeSourceProperties(): void;
9
+ set name(value: string);
10
+ get name(): string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeAssetIconDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetIconDirective, "[vi-theme-icon]", never, { "name": "vi-theme-icon"; }, {}, never>;
13
+ }
@@ -6,6 +6,8 @@ export declare class ThemeAssetImageDirective extends ThemeAssetDirective<HTMLIm
6
6
  constructor(element: ElementRef, theme: ThemeService, themeAsset: ThemeAssetService);
7
7
  protected commitSourceProperties(): void;
8
8
  protected removeSourceProperties(): void;
9
+ set name(value: string);
10
+ get name(): string;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeAssetImageDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetImageDirective, "[vi-theme-image]", never, {}, {}, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetImageDirective, "[vi-theme-image]", never, { "name": "vi-theme-image"; }, {}, never>;
11
13
  }
@@ -4,14 +4,15 @@ import { IThemeServiceOptions, ThemeService, ThemeAssetService } from '@ts-core/
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "./ThemeToggleDirective";
6
6
  import * as i2 from "./ThemeAssetImageDirective";
7
- import * as i3 from "./ThemeAssetBackgroundDirective";
8
- import * as i4 from "./ThemeStyleDirective";
9
- import * as i5 from "./ThemeStyleHoverDirective";
10
- import * as i6 from "../cookie/CookieModule";
7
+ import * as i3 from "./ThemeAssetIconDirective";
8
+ import * as i4 from "./ThemeAssetBackgroundDirective";
9
+ import * as i5 from "./ThemeStyleDirective";
10
+ import * as i6 from "./ThemeStyleHoverDirective";
11
+ import * as i7 from "../cookie/CookieModule";
11
12
  export declare class ThemeModule {
12
13
  static forRoot(options?: IThemeServiceOptions): ModuleWithProviders<ThemeModule>;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeModule, [typeof i1.ThemeToggleDirective, typeof i2.ThemeAssetImageDirective, typeof i3.ThemeAssetBackgroundDirective, typeof i4.ThemeStyleDirective, typeof i5.ThemeStyleHoverDirective], [typeof i6.CookieModule], [typeof i1.ThemeToggleDirective, typeof i2.ThemeAssetImageDirective, typeof i3.ThemeAssetBackgroundDirective, typeof i4.ThemeStyleDirective, typeof i5.ThemeStyleHoverDirective]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeModule, [typeof i1.ThemeToggleDirective, typeof i2.ThemeAssetImageDirective, typeof i3.ThemeAssetIconDirective, typeof i4.ThemeAssetBackgroundDirective, typeof i5.ThemeStyleDirective, typeof i6.ThemeStyleHoverDirective], [typeof i7.CookieModule], [typeof i1.ThemeToggleDirective, typeof i2.ThemeAssetImageDirective, typeof i3.ThemeAssetIconDirective, typeof i4.ThemeAssetBackgroundDirective, typeof i5.ThemeStyleDirective, typeof i6.ThemeStyleHoverDirective]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<ThemeModule>;
16
17
  }
17
18
  export declare function themeServiceFactory(nativeWindow: NativeWindowService, cookie: ICookieService, options?: IThemeServiceOptions): ThemeService;
@@ -12,7 +12,7 @@ export declare class ViewUtil {
12
12
  static createBase64(element: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement): string;
13
13
  static selectContent(container: IViewElement, isNeedCopyToClipboard?: boolean): void;
14
14
  static setBackground(container: IViewElement, image: string, repeat?: string): void;
15
- static createElement(name: string, className?: string, innerHTML?: string): any;
15
+ static createElement<T = any>(name: string, className?: string, innerHTML?: string): T;
16
16
  static appendChild(parent: any, child: any): void;
17
17
  static removeChild(parent: any, child: any): void;
18
18
  static toggleChild(container: Node, child: Node, value: boolean): void;