@ts-core/angular 13.0.2 → 13.0.6
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/application/ApplicationComponent.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 +9 -5
- package/esm2020/application/ApplicationBaseComponent.mjs +7 -6
- package/esm2020/application/ApplicationComponent.mjs +2 -2
- 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/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.mjs +3 -3
- package/esm2020/component/VIComponentModule.mjs +4 -4
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +7 -6
- package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +1 -1
- 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/column/CdkTableCellClassNamePipe.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/column/CdkTableColumnValuePipe.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/InfiniteScrollDirective.mjs +3 -3
- package/esm2020/directive/ResizeDirective.mjs +3 -3
- package/esm2020/directive/ScrollCheckDirective.mjs +71 -0
- package/esm2020/directive/ScrollDirective.mjs +7 -17
- package/esm2020/directive/SelectOnFocusDirective.mjs +3 -3
- package/esm2020/form/FormElementSync.mjs +6 -6
- 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/LoginRedirectResolver.mjs +3 -3
- package/esm2020/login/LoginResolver.mjs +3 -3
- package/esm2020/module/LazyModuleLoader.mjs +3 -3
- package/esm2020/notification/INotificationContent.mjs +7 -6
- package/esm2020/notification/NotificationModule.mjs +4 -4
- package/esm2020/notification/NotificationService.mjs +3 -3
- package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +7 -6
- 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/theme/ThemeAssetBackgroundDirective.mjs +3 -3
- package/esm2020/theme/ThemeAssetDirective.mjs +6 -6
- package/esm2020/theme/ThemeAssetImageDirective.mjs +3 -3
- package/esm2020/theme/ThemeModule.mjs +4 -4
- package/esm2020/theme/ThemeStyleDirective.mjs +3 -3
- package/esm2020/theme/ThemeStyleHoverDirective.mjs +3 -3
- package/esm2020/theme/ThemeToggleDirective.mjs +3 -3
- package/esm2020/window/IWindowContent.mjs +11 -7
- 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 +7 -6
- package/esm2020/window/component/window-close-element/window-close-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 +361 -294
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +361 -294
- 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/bootstrap/_border.scss +21 -1
- 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';
|
|
@@ -122,6 +122,9 @@
|
|
|
122
122
|
border-right-width: $width;
|
|
123
123
|
border-right-color: $color !important;
|
|
124
124
|
border-right-style: solid !important;
|
|
125
|
+
&.dashed {
|
|
126
|
+
border-right-style: dashed !important;
|
|
127
|
+
}
|
|
125
128
|
}
|
|
126
129
|
.border#{$infix}-right-0 {
|
|
127
130
|
border-right-style: none !important;
|
|
@@ -131,6 +134,9 @@
|
|
|
131
134
|
border-bottom-width: $width;
|
|
132
135
|
border-bottom-color: $color !important;
|
|
133
136
|
border-bottom-style: solid !important;
|
|
137
|
+
&.dashed {
|
|
138
|
+
border-bottom-style: dashed !important;
|
|
139
|
+
}
|
|
134
140
|
}
|
|
135
141
|
.border#{$infix}-bottom-0 {
|
|
136
142
|
border-bottom-style: none !important;
|
|
@@ -140,6 +146,9 @@
|
|
|
140
146
|
border-left-width: $width;
|
|
141
147
|
border-left-color: $color !important;
|
|
142
148
|
border-left-style: solid !important;
|
|
149
|
+
&.dashed {
|
|
150
|
+
border-left-style: dashed !important;
|
|
151
|
+
}
|
|
143
152
|
}
|
|
144
153
|
.border#{$infix}-left-0 {
|
|
145
154
|
border-left-style: none !important;
|
|
@@ -154,6 +163,10 @@
|
|
|
154
163
|
border-right-width: $width;
|
|
155
164
|
border-right-color: $color !important;
|
|
156
165
|
border-right-style: solid !important;
|
|
166
|
+
&.dashed {
|
|
167
|
+
border-left-style: dashed !important;
|
|
168
|
+
border-right-style: dashed !important;
|
|
169
|
+
}
|
|
157
170
|
}
|
|
158
171
|
.border#{$infix}-x-0 {
|
|
159
172
|
border-left-style: none !important;
|
|
@@ -165,13 +178,16 @@
|
|
|
165
178
|
border-width: $width;
|
|
166
179
|
border-color: $color !important;
|
|
167
180
|
border-style: solid !important;
|
|
181
|
+
&.dashed {
|
|
182
|
+
border-style: dashed !important;
|
|
183
|
+
}
|
|
168
184
|
}
|
|
169
185
|
.border#{$infix}-0 {
|
|
170
186
|
border-style: none !important;
|
|
171
187
|
}
|
|
172
188
|
|
|
173
189
|
// Y
|
|
174
|
-
.border#{$infix}-
|
|
190
|
+
.border#{$infix}-y {
|
|
175
191
|
border-top-width: $width;
|
|
176
192
|
border-top-color: $color !important;
|
|
177
193
|
border-top-style: solid !important;
|
|
@@ -179,6 +195,10 @@
|
|
|
179
195
|
border-bottom-width: $width;
|
|
180
196
|
border-bottom-color: $color;
|
|
181
197
|
border-bottom-style: solid !important;
|
|
198
|
+
&.dashed {
|
|
199
|
+
border-top-style: dashed !important;
|
|
200
|
+
border-bottom-style: dashed !important;
|
|
201
|
+
}
|
|
182
202
|
}
|
|
183
203
|
.border#{$infix}-x-0 {
|
|
184
204
|
border-top-style: none !important;
|
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
|
}
|