@ts-core/angular 13.0.1 → 13.0.5
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/VICommonModule.d.ts +15 -14
- package/application/ApplicationBaseComponent.d.ts +1 -1
- package/component/cdk-table/CdkTableBaseComponent.d.ts +1 -1
- package/directive/ScrollCheckDirective.d.ts +15 -0
- package/directive/ScrollDirective.d.ts +2 -4
- package/esm2020/VICommonModule.mjs +5 -1
- package/esm2020/application/ApplicationBaseComponent.mjs +6 -5
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +6 -5
- package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +1 -1
- package/esm2020/directive/ScrollCheckDirective.mjs +71 -0
- package/esm2020/directive/ScrollDirective.mjs +5 -15
- package/esm2020/form/FormElementSync.mjs +5 -5
- package/esm2020/notification/INotificationContent.mjs +6 -5
- package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +6 -5
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/theme/ThemeAssetDirective.mjs +5 -5
- package/esm2020/window/IWindowContent.mjs +10 -6
- package/esm2020/window/component/WindowElement.mjs +6 -5
- package/fesm2015/ts-core-angular.mjs +110 -43
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +110 -43
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/form/FormElementSync.d.ts +1 -1
- package/notification/INotificationContent.d.ts +1 -1
- package/notification/component/NotificationQuestionBaseComponent.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/style/mat/vi-mat.scss +48 -1
- package/theme/ThemeAssetDirective.d.ts +1 -1
- package/window/IWindowContent.d.ts +4 -3
- package/window/component/WindowElement.d.ts +1 -1
|
@@ -18,5 +18,5 @@ export declare abstract class FormElementSync<T> extends ValueAccessor<T> implem
|
|
|
18
18
|
ngAfterContentInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormElementSync<any>, never>;
|
|
21
|
-
static
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormElementSync<any>, never, never, {}, {}, never>;
|
|
22
22
|
}
|
|
@@ -27,5 +27,5 @@ export declare abstract class INotificationContent<T = any> extends DestroyableC
|
|
|
27
27
|
set config(value: NotificationConfig<T>);
|
|
28
28
|
get config(): NotificationConfig<T>;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<INotificationContent<any>, never>;
|
|
30
|
-
static
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<INotificationContent<any>, "ng-component", never, { "config": "config"; }, {}, never, never>;
|
|
31
31
|
}
|
|
@@ -6,5 +6,5 @@ export declare abstract class NotificationQuestionBaseComponent extends INotific
|
|
|
6
6
|
clickHandler(): void;
|
|
7
7
|
protected get isInfo(): boolean;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationQuestionBaseComponent, never>;
|
|
9
|
-
static
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationQuestionBaseComponent, "ng-component", never, {}, {}, never, never>;
|
|
10
10
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './directive/SelectOnFocusDirective';
|
|
|
43
43
|
export * from './directive/InfiniteScrollDirective';
|
|
44
44
|
export * from './directive/ResizeDirective';
|
|
45
45
|
export * from './directive/ScrollDirective';
|
|
46
|
+
export * from './directive/ScrollCheckDirective';
|
|
46
47
|
export * from './directive/HTMLContentTitleDirective';
|
|
47
48
|
export * from './form/FormElementAsync';
|
|
48
49
|
export * from './form/FormElementSync';
|
package/style/mat/vi-mat.scss
CHANGED
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
$thumb-color: rgba(0, 0, 0, 0.15);
|
|
448
448
|
|
|
449
449
|
@if map-get($theme, is-dark) {
|
|
450
|
-
$thumb-color: rgba(255, 255, 255, 0.
|
|
450
|
+
$thumb-color: rgba(255, 255, 255, 0.10);
|
|
451
451
|
.mat-drawer-backdrop.mat-drawer-shown {
|
|
452
452
|
background-color: rgba(0, 0, 0, 0.8);
|
|
453
453
|
}
|
|
@@ -466,3 +466,50 @@
|
|
|
466
466
|
margin-top: 3px !important;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
+
|
|
470
|
+
/*--------------------------------------------------------------------------
|
|
471
|
+
//
|
|
472
|
+
// Functions
|
|
473
|
+
//
|
|
474
|
+
//-------------------------------------------------------------------------*/
|
|
475
|
+
|
|
476
|
+
@function vi-mat-theme-background-change($theme, $name, $value) {
|
|
477
|
+
$modified-theme: $theme;
|
|
478
|
+
$theme-color: map-get($theme, color);
|
|
479
|
+
$color-background-palette: map-get($theme-color, background);
|
|
480
|
+
@if $color-background-palette {
|
|
481
|
+
$color-background-palette: map-merge($color-background-palette, ($name: $value));
|
|
482
|
+
}
|
|
483
|
+
@if $color-background-palette {
|
|
484
|
+
$modified-theme: map-merge($modified-theme, (color: (background: $color-background-palette)));
|
|
485
|
+
}
|
|
486
|
+
$background-palette: map-get($theme, background);
|
|
487
|
+
@if $background-palette {
|
|
488
|
+
$background-palette: map-merge($background-palette,($name: $value));
|
|
489
|
+
}
|
|
490
|
+
@if $background-palette {
|
|
491
|
+
$modified-theme: map-merge($modified-theme,(background: $background-palette));
|
|
492
|
+
}
|
|
493
|
+
@return $modified-theme;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@function vi-mat-theme-foreground-change($theme, $name, $value) {
|
|
497
|
+
$modified-theme: $theme;
|
|
498
|
+
$theme-color: map-get($theme, color);
|
|
499
|
+
$color-foreground-palette: map-get($theme-color, foreground);
|
|
500
|
+
@if $color-foreground-palette {
|
|
501
|
+
$color-foreground-palette: map-merge($color-foreground-palette, ($name: $value));
|
|
502
|
+
}
|
|
503
|
+
@if $color-foreground-palette {
|
|
504
|
+
$modified-theme: map-merge($modified-theme, (color: (foreground: $color-foreground-palette)));
|
|
505
|
+
}
|
|
506
|
+
$foreground-palette: map-get($theme, foreground);
|
|
507
|
+
@if $foreground-palette {
|
|
508
|
+
$foreground-palette: map-merge($foreground-palette,($name: $value));
|
|
509
|
+
}
|
|
510
|
+
@if $foreground-palette {
|
|
511
|
+
$modified-theme: map-merge($modified-theme,(foreground: $foreground-palette));
|
|
512
|
+
}
|
|
513
|
+
@return $modified-theme;
|
|
514
|
+
}
|
|
515
|
+
|
|
@@ -43,5 +43,5 @@ export declare abstract class ThemeAssetDirective<T extends HTMLElement = HTMLEl
|
|
|
43
43
|
get extension(): string;
|
|
44
44
|
set extension(value: string);
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeAssetDirective<any>, never>;
|
|
46
|
-
static
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThemeAssetDirective<any>, never, never, { "isSound": "isSound"; "isVideo": "isVideo"; "isFile": "isFile"; "isImage": "isImage"; "isBackground": "isBackground"; "isIgnoreTheme": "isIgnoreTheme"; "name": "name"; "extension": "extension"; }, {}, never>;
|
|
47
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, ViewContainerRef, InjectionToken } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { DestroyableContainer } from '@ts-core/common';
|
|
4
4
|
import { IWindow } from './IWindow';
|
|
@@ -27,7 +27,8 @@ export declare abstract class IWindowContent<T = any> extends DestroyableContain
|
|
|
27
27
|
get config(): WindowConfig<T>;
|
|
28
28
|
get window(): IWindow<T>;
|
|
29
29
|
set window(value: IWindow<T>);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IWindowContent<any>,
|
|
31
|
-
static
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IWindowContent<any>, [{ optional: true; }]>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IWindowContent<any>, "ng-component", never, {}, {}, never, never>;
|
|
32
32
|
}
|
|
33
33
|
export declare type WindowContentContainer = ElementRef | ViewContainerRef;
|
|
34
|
+
export declare const WINDOW_CONTENT_CONTAINER: InjectionToken<WindowContentContainer>;
|
|
@@ -17,5 +17,5 @@ export declare class WindowElement extends DestroyableContainer implements After
|
|
|
17
17
|
get window(): IWindow;
|
|
18
18
|
set window(value: IWindow);
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowElement, never>;
|
|
20
|
-
static
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WindowElement, "ng-component", never, {}, {}, never, never>;
|
|
21
21
|
}
|