@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.
- package/esm2020/VICommonModule.mjs +4 -4
- package/esm2020/application/ApplicationBaseComponent.mjs +3 -3
- package/esm2020/asset/AssetBackgroundDirective.mjs +3 -3
- package/esm2020/asset/AssetBackgroundPipe.mjs +3 -3
- package/esm2020/asset/AssetFilePipe.mjs +3 -3
- package/esm2020/asset/AssetIconPipe.mjs +3 -3
- package/esm2020/asset/AssetImagePipe.mjs +3 -3
- package/esm2020/asset/AssetModule.mjs +4 -4
- package/esm2020/asset/AssetSoundPipe.mjs +3 -3
- package/esm2020/asset/AssetVideoPipe.mjs +3 -3
- package/esm2020/bottomSheet/BottomSheetModule.mjs +4 -4
- package/esm2020/bottomSheet/BottomSheetService.mjs +3 -3
- package/esm2020/component/VIComponentModule.mjs +4 -4
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +3 -3
- package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +3 -3
- package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +3 -3
- package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +3 -3
- package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +3 -3
- package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +3 -3
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +3 -3
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +3 -3
- package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +3 -3
- package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +3 -3
- package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +3 -3
- package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +3 -3
- package/esm2020/component/language/language-selector/language-selector.component.mjs +3 -3
- package/esm2020/component/menu-list/menu-list.component.mjs +3 -3
- package/esm2020/component/select-list/select-list.component.mjs +3 -3
- package/esm2020/component/tab-group/tab-group.component.mjs +3 -3
- package/esm2020/cookie/CookieModule.mjs +4 -4
- package/esm2020/directive/AspectRatioResizeDirective.mjs +3 -3
- package/esm2020/directive/AutoScrollBottomDirective.mjs +3 -3
- package/esm2020/directive/ClickToCopyDirective.mjs +3 -3
- package/esm2020/directive/ClickToSelectDirective.mjs +3 -3
- package/esm2020/directive/FocusDirective.mjs +3 -3
- package/esm2020/directive/HTMLContentTitleDirective.mjs +3 -3
- package/esm2020/directive/HTMLTitleDirective.mjs +3 -3
- package/esm2020/directive/InfiniteScrollDirective.mjs +3 -3
- package/esm2020/directive/IsBrowserDirective.mjs +3 -3
- package/esm2020/directive/IsServerDirective.mjs +3 -3
- package/esm2020/directive/MenuTriggerForDirective.mjs +3 -3
- package/esm2020/directive/ResizeDirective.mjs +3 -3
- package/esm2020/directive/ScrollCheckDirective.mjs +3 -3
- package/esm2020/directive/ScrollDirective.mjs +3 -3
- package/esm2020/directive/SelectOnFocusDirective.mjs +3 -3
- package/esm2020/form/FormElementSync.mjs +3 -3
- package/esm2020/language/LanguageDirective.mjs +3 -3
- package/esm2020/language/LanguageHasDirective.mjs +3 -3
- package/esm2020/language/LanguageMatPaginatorIntl.mjs +3 -3
- package/esm2020/language/LanguageModule.mjs +4 -4
- package/esm2020/language/LanguagePipe.mjs +3 -3
- package/esm2020/language/LanguagePipeHas.mjs +3 -3
- package/esm2020/language/LanguagePipeHasPure.mjs +3 -3
- package/esm2020/language/LanguagePipePure.mjs +3 -3
- package/esm2020/language/LanguageResolver.mjs +3 -3
- package/esm2020/login/LoginGuard.mjs +3 -3
- package/esm2020/login/LoginIfCanGuard.mjs +3 -3
- package/esm2020/login/LoginNotGuard.mjs +3 -3
- package/esm2020/login/LoginResolver.mjs +3 -3
- package/esm2020/module/LazyModuleLoader.mjs +3 -3
- package/esm2020/notification/INotificationContent.mjs +3 -3
- package/esm2020/notification/NotificationModule.mjs +4 -4
- package/esm2020/notification/NotificationService.mjs +3 -3
- package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +3 -3
- package/esm2020/notification/component/notification/notification.component.mjs +3 -3
- package/esm2020/pipe/CamelCasePipe.mjs +3 -3
- package/esm2020/pipe/FinancePipe.mjs +3 -3
- package/esm2020/pipe/MomentDateAdaptivePipe.mjs +3 -3
- package/esm2020/pipe/MomentDateFromNowPipe.mjs +3 -3
- package/esm2020/pipe/MomentDatePipe.mjs +3 -3
- package/esm2020/pipe/MomentTimePipe.mjs +3 -3
- package/esm2020/pipe/NgModelErrorPipe.mjs +3 -3
- package/esm2020/pipe/PrettifyPipe.mjs +3 -3
- package/esm2020/pipe/SanitizePipe.mjs +3 -3
- package/esm2020/pipe/StartCasePipe.mjs +3 -3
- package/esm2020/pipe/TimePipe.mjs +3 -3
- package/esm2020/pipe/TruncatePipe.mjs +3 -3
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/service/BootstrapBreakpointService.mjs +3 -3
- package/esm2020/service/PlatformService.mjs +3 -3
- package/esm2020/theme/ThemeAssetBackgroundDirective.mjs +21 -6
- package/esm2020/theme/ThemeAssetDirective.mjs +3 -3
- package/esm2020/theme/ThemeAssetIconDirective.mjs +48 -0
- package/esm2020/theme/ThemeAssetImageDirective.mjs +21 -6
- package/esm2020/theme/ThemeModule.mjs +24 -6
- package/esm2020/theme/ThemeStyleDirective.mjs +3 -3
- package/esm2020/theme/ThemeStyleHoverDirective.mjs +3 -3
- package/esm2020/theme/ThemeToggleDirective.mjs +3 -3
- package/esm2020/util/ViewUtil.mjs +1 -1
- package/esm2020/window/IWindowContent.mjs +3 -3
- package/esm2020/window/WindowModule.mjs +4 -4
- package/esm2020/window/WindowService.mjs +3 -3
- package/esm2020/window/component/WindowDragAreaDirective.mjs +3 -3
- package/esm2020/window/component/WindowElement.mjs +3 -3
- package/esm2020/window/component/window-close-element/window-close-element.component.mjs +3 -3
- package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +3 -3
- package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +3 -3
- package/esm2020/window/component/window-question/window-question.component.mjs +3 -3
- package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +3 -3
- package/fesm2015/ts-core-angular.mjs +392 -301
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +392 -301
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/theme/ThemeAssetBackgroundDirective.d.ts +3 -1
- package/theme/ThemeAssetIconDirective.d.ts +13 -0
- package/theme/ThemeAssetImageDirective.d.ts +3 -1
- package/theme/ThemeModule.d.ts +6 -5
- package/util/ViewUtil.d.ts +1 -1
package/package.json
CHANGED
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
|
}
|
package/theme/ThemeModule.d.ts
CHANGED
|
@@ -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 "./
|
|
8
|
-
import * as i4 from "./
|
|
9
|
-
import * as i5 from "./
|
|
10
|
-
import * as i6 from "
|
|
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.
|
|
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;
|
package/util/ViewUtil.d.ts
CHANGED
|
@@ -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):
|
|
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;
|