@ts-core/angular 15.0.2 → 15.0.4
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/VIModule.d.ts +53 -0
- package/application/ApplicationComponent.d.ts +1 -3
- package/esm2020/VIModule.mjs +175 -0
- package/esm2020/application/ApplicationComponent.mjs +2 -3
- package/esm2020/application/MessageBaseComponent.mjs +1 -1
- package/esm2020/language/LanguageModule.mjs +1 -8
- package/esm2020/pipe/CamelCasePipe.mjs +4 -12
- package/esm2020/pipe/StartCasePipe.mjs +4 -5
- package/esm2020/pipe/TimePipe.mjs +3 -2
- package/esm2020/pipe/TruncatePipe.mjs +3 -5
- package/esm2020/public-api.mjs +2 -69
- package/esm2020/service/PipeBaseService.mjs +1 -1
- package/esm2020/theme/ThemeAssetDirective.mjs +1 -1
- package/fesm2015/ts-core-angular.mjs +3023 -7419
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +3005 -7399
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +3 -9
- package/pipe/CamelCasePipe.d.ts +0 -1
- package/public-api.d.ts +1 -61
- package/style/_core.scss +120 -0
- package/style/_text.scss +9 -1
- package/VICommonModule.d.ts +0 -56
- package/application/ShellBaseComponent.d.ts +0 -20
- package/bottomSheet/BottomSheetImpl.d.ts +0 -66
- package/bottomSheet/BottomSheetModule.d.ts +0 -13
- package/bottomSheet/BottomSheetService.d.ts +0 -31
- package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -8
- package/component/VIComponentModule.d.ts +0 -33
- package/component/cdk-table/CdkTableBaseComponent.d.ts +0 -60
- package/component/cdk-table/CdkTableDataSource.d.ts +0 -13
- package/component/cdk-table/CdkTableFilterableMapCollection.d.ts +0 -14
- package/component/cdk-table/CdkTablePaginableBookmarkMapCollection.d.ts +0 -11
- package/component/cdk-table/CdkTablePaginableMapCollection.d.ts +0 -13
- package/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.d.ts +0 -9
- package/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.d.ts +0 -18
- package/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.d.ts +0 -9
- package/component/cdk-table/cell/CdkTableCellClassNamePipe.d.ts +0 -8
- package/component/cdk-table/cell/CdkTableCellStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/cell/CdkTableCellValuePipe.d.ts +0 -17
- package/component/cdk-table/cell/CdkTableCellValuePipePure.d.ts +0 -8
- package/component/cdk-table/column/CdkTableColumnClassNamePipe.d.ts +0 -8
- package/component/cdk-table/column/CdkTableColumnStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/column/ICdkTableColumn.d.ts +0 -25
- package/component/cdk-table/row/CdkTableRowClassNamePipe.d.ts +0 -8
- package/component/cdk-table/row/CdkTableRowStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/row/ICdkTableRow.d.ts +0 -8
- package/component/language/language-selector/language-selector.component.d.ts +0 -19
- package/component/menu-list/menu-list.component.d.ts +0 -9
- package/component/select-list/select-list.component.d.ts +0 -9
- package/component/tab-group/tab-group.component.d.ts +0 -18
- package/directive/MenuTriggerForDirective.d.ts +0 -11
- package/error/WindowClosedError.d.ts +0 -6
- package/esm2020/VICommonModule.mjs +0 -185
- package/esm2020/application/ShellBaseComponent.mjs +0 -78
- package/esm2020/bottomSheet/BottomSheetImpl.mjs +0 -228
- package/esm2020/bottomSheet/BottomSheetModule.mjs +0 -37
- package/esm2020/bottomSheet/BottomSheetService.mjs +0 -107
- package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +0 -44
- package/esm2020/component/VIComponentModule.mjs +0 -117
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +0 -192
- package/esm2020/component/cdk-table/CdkTableDataSource.mjs +0 -58
- package/esm2020/component/cdk-table/CdkTableFilterableMapCollection.mjs +0 -94
- package/esm2020/component/cdk-table/CdkTablePaginableBookmarkMapCollection.mjs +0 -49
- package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +0 -57
- package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +0 -37
- package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +0 -65
- package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +0 -37
- package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +0 -25
- package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +0 -77
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +0 -22
- package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/column/ICdkTableColumn.mjs +0 -2
- package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/row/ICdkTableRow.mjs +0 -2
- package/esm2020/component/language/language-selector/language-selector.component.mjs +0 -79
- package/esm2020/component/menu-list/menu-list.component.mjs +0 -16
- package/esm2020/component/select-list/select-list.component.mjs +0 -16
- package/esm2020/component/tab-group/tab-group.component.mjs +0 -82
- package/esm2020/directive/MenuTriggerForDirective.mjs +0 -55
- package/esm2020/error/WindowClosedError.mjs +0 -19
- package/esm2020/language/LanguageMatPaginatorIntl.mjs +0 -60
- package/esm2020/language/LanguageMomentDateAdapter.mjs +0 -13
- package/esm2020/notification/INotification.mjs +0 -7
- package/esm2020/notification/INotificationContent.mjs +0 -132
- package/esm2020/notification/NotificationConfig.mjs +0 -16
- package/esm2020/notification/NotificationFactory.mjs +0 -19
- package/esm2020/notification/NotificationImpl.mjs +0 -139
- package/esm2020/notification/NotificationModule.mjs +0 -53
- package/esm2020/notification/NotificationProperties.mjs +0 -2
- package/esm2020/notification/NotificationService.mjs +0 -239
- package/esm2020/notification/component/NotificationBaseComponent.mjs +0 -4
- package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +0 -50
- package/esm2020/notification/component/notification/notification.component.mjs +0 -61
- package/esm2020/service/BootstrapBreakpointService.mjs +0 -116
- package/esm2020/window/IWindow.mjs +0 -33
- package/esm2020/window/IWindowContent.mjs +0 -132
- package/esm2020/window/WindowBase.mjs +0 -168
- package/esm2020/window/WindowConfig.mjs +0 -232
- package/esm2020/window/WindowFactory.mjs +0 -27
- package/esm2020/window/WindowImpl.mjs +0 -354
- package/esm2020/window/WindowModule.mjs +0 -58
- package/esm2020/window/WindowProperties.mjs +0 -2
- package/esm2020/window/WindowService.mjs +0 -366
- package/esm2020/window/WindowServiceEvent.mjs +0 -9
- package/esm2020/window/component/WindowBaseComponent.mjs +0 -75
- package/esm2020/window/component/WindowDragAreaDirective.mjs +0 -97
- package/esm2020/window/component/WindowDragable.mjs +0 -69
- package/esm2020/window/component/WindowElement.mjs +0 -95
- package/esm2020/window/component/WindowQuestionBaseComponent.mjs +0 -17
- package/esm2020/window/component/WindowResizeable.mjs +0 -88
- package/esm2020/window/component/window-close-element/window-close-element.component.mjs +0 -55
- package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +0 -56
- package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +0 -75
- package/esm2020/window/component/window-question/window-question.component.mjs +0 -50
- package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +0 -56
- package/language/LanguageMatPaginatorIntl.d.ts +0 -20
- package/language/LanguageMomentDateAdapter.d.ts +0 -5
- package/notification/INotification.d.ts +0 -26
- package/notification/INotificationContent.d.ts +0 -31
- package/notification/NotificationConfig.d.ts +0 -13
- package/notification/NotificationFactory.d.ts +0 -11
- package/notification/NotificationImpl.d.ts +0 -38
- package/notification/NotificationModule.d.ts +0 -18
- package/notification/NotificationProperties.d.ts +0 -9
- package/notification/NotificationService.d.ts +0 -56
- package/notification/component/NotificationBaseComponent.d.ts +0 -3
- package/notification/component/NotificationQuestionBaseComponent.d.ts +0 -10
- package/notification/component/notification/notification.component.d.ts +0 -14
- package/service/BootstrapBreakpointService.d.ts +0 -45
- package/style/mat/_core.scss +0 -317
- package/style/mat/_index.scss +0 -169
- package/style/mat/_variables.scss +0 -1
- package/style/mat/bootstrap/_background.scss +0 -28
- package/style/mat/bootstrap/_border.scss +0 -202
- package/style/mat/bootstrap/_index.scss +0 -27
- package/style/mat/bootstrap/_text.scss +0 -47
- package/style/mat/helper/_theme.scss +0 -96
- package/style/mat/helper/_typography.scss +0 -15
- package/window/IWindow.d.ts +0 -42
- package/window/IWindowContent.d.ts +0 -34
- package/window/WindowBase.d.ts +0 -33
- package/window/WindowConfig.d.ts +0 -64
- package/window/WindowFactory.d.ts +0 -12
- package/window/WindowImpl.d.ts +0 -88
- package/window/WindowModule.d.ts +0 -20
- package/window/WindowProperties.d.ts +0 -9
- package/window/WindowService.d.ts +0 -71
- package/window/WindowServiceEvent.d.ts +0 -7
- package/window/component/WindowBaseComponent.d.ts +0 -20
- package/window/component/WindowDragAreaDirective.d.ts +0 -19
- package/window/component/WindowDragable.d.ts +0 -13
- package/window/component/WindowElement.d.ts +0 -22
- package/window/component/WindowQuestionBaseComponent.d.ts +0 -5
- package/window/component/WindowResizeable.d.ts +0 -10
- package/window/component/window-close-element/window-close-element.component.d.ts +0 -12
- package/window/component/window-expand-element/window-expand-element.component.d.ts +0 -12
- package/window/component/window-minimize-element/window-minimize-element.component.d.ts +0 -15
- package/window/component/window-question/window-question.component.d.ts +0 -12
- package/window/component/window-resize-element/window-resize-element.component.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-core/angular",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.4",
|
|
4
4
|
"description": "Modules for frontend based on angular",
|
|
5
5
|
"main": "public-api.js",
|
|
6
6
|
"author": {
|
|
@@ -10,26 +10,20 @@
|
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@angular/animations": "^15.0.4",
|
|
13
|
-
"@angular/cdk": "^15.0.3",
|
|
14
|
-
"@angular/cli": "^15.0.4",
|
|
15
13
|
"@angular/common": "^15.0.4",
|
|
16
14
|
"@angular/compiler": "^15.0.4",
|
|
17
15
|
"@angular/core": "^15.0.4",
|
|
18
16
|
"@angular/forms": "^15.0.4",
|
|
19
|
-
"@angular/material": "^15.0.3",
|
|
20
|
-
"@angular/material-moment-adapter": "^15.0.3",
|
|
21
17
|
"@angular/platform-browser": "^15.0.4",
|
|
22
18
|
"@angular/platform-browser-dynamic": "^15.0.4",
|
|
23
|
-
"@angular/router": "^15.0.4",
|
|
24
19
|
"@nguniversal/express-engine": "^15.0.0",
|
|
20
|
+
"@angular/router": "^15.0.4",
|
|
25
21
|
"@ts-core/common": "^3.0.11",
|
|
26
22
|
"@ts-core/frontend": "^3.0.9",
|
|
27
23
|
"@types/numeral": "^2.0.2",
|
|
28
|
-
"bootstrap": "^5.2.3",
|
|
29
|
-
"csshake": "^1.7.0",
|
|
30
|
-
"interactjs": "1.10.11",
|
|
31
24
|
"moment": "^2.29.4",
|
|
32
25
|
"ngx-cookie": "^4.0.1",
|
|
26
|
+
"interactjs": "1.10.11",
|
|
33
27
|
"numeral": "^2.0.6",
|
|
34
28
|
"rxjs": "^7.8.0",
|
|
35
29
|
"zone.js": "^0.12.0"
|
package/pipe/CamelCasePipe.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CamelCasePipe implements PipeTransform {
|
|
4
4
|
transform(value: any): string;
|
|
5
|
-
constructor();
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CamelCasePipe, never>;
|
|
7
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<CamelCasePipe, "viCamelCase", false>;
|
|
8
7
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export * from './application/ApplicationBaseComponent';
|
|
2
2
|
export * from './application/ApplicationComponent';
|
|
3
3
|
export * from './application/MessageBaseComponent';
|
|
4
|
-
export * from './application/ShellBaseComponent';
|
|
5
4
|
export * from './ApplicationInjector';
|
|
6
|
-
export * from './error/WindowClosedError';
|
|
7
5
|
export * from './asset/AssetBackgroundDirective';
|
|
8
6
|
export * from './asset/AssetBackgroundPipe';
|
|
9
7
|
export * from './asset/AssetIconPipe';
|
|
@@ -12,29 +10,6 @@ export * from './asset/AssetVideoPipe';
|
|
|
12
10
|
export * from './asset/AssetSoundPipe';
|
|
13
11
|
export * from './asset/AssetImagePipe';
|
|
14
12
|
export * from './asset/AssetModule';
|
|
15
|
-
export * from './component/VIComponentModule';
|
|
16
|
-
export * from './component/tab-group/tab-group.component';
|
|
17
|
-
export * from './component/menu-list/menu-list.component';
|
|
18
|
-
export * from './component/select-list/select-list.component';
|
|
19
|
-
export * from './component/language/language-selector/language-selector.component';
|
|
20
|
-
export * from './component/cdk-table/CdkTableBaseComponent';
|
|
21
|
-
export * from './component/cdk-table/CdkTableDataSource';
|
|
22
|
-
export * from './component/cdk-table/CdkTablePaginableMapCollection';
|
|
23
|
-
export * from './component/cdk-table/CdkTableFilterableMapCollection';
|
|
24
|
-
export * from './component/cdk-table/CdkTablePaginableBookmarkMapCollection';
|
|
25
|
-
export * from './component/cdk-table/row/ICdkTableRow';
|
|
26
|
-
export * from './component/cdk-table/row/CdkTableRowClassNamePipe';
|
|
27
|
-
export * from './component/cdk-table/row/CdkTableRowStyleNamePipe';
|
|
28
|
-
export * from './component/cdk-table/cell/CdkTableCellValuePipe';
|
|
29
|
-
export * from './component/cdk-table/cell/CdkTableCellValuePipePure';
|
|
30
|
-
export * from './component/cdk-table/cell/CdkTableCellClassNamePipe';
|
|
31
|
-
export * from './component/cdk-table/cell/CdkTableCellStyleNamePipe';
|
|
32
|
-
export * from './component/cdk-table/column/ICdkTableColumn';
|
|
33
|
-
export * from './component/cdk-table/column/CdkTableColumnClassNamePipe';
|
|
34
|
-
export * from './component/cdk-table/column/CdkTableColumnStyleNamePipe';
|
|
35
|
-
export * from './component/cdk-table/cdk-table-paginable/cdk-table-paginable.component';
|
|
36
|
-
export * from './component/cdk-table/cdk-table-filterable/cdk-table-filterable.component';
|
|
37
|
-
export * from './component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component';
|
|
38
13
|
export * from './cookie/CookieModule';
|
|
39
14
|
export * from './cookie/CookieOptions';
|
|
40
15
|
export * from './cookie/CookieService';
|
|
@@ -48,16 +23,13 @@ export * from './directive/InfiniteScrollDirective';
|
|
|
48
23
|
export * from './directive/ResizeDirective';
|
|
49
24
|
export * from './directive/ScrollDirective';
|
|
50
25
|
export * from './directive/ScrollCheckDirective';
|
|
51
|
-
export * from './directive/MenuTriggerForDirective';
|
|
52
26
|
export * from './directive/HTMLTitleDirective';
|
|
53
27
|
export * from './directive/HTMLContentTitleDirective';
|
|
54
28
|
export * from './directive/IsBrowserDirective';
|
|
55
29
|
export * from './directive/IsServerDirective';
|
|
56
30
|
export * from './form/FormElementAsync';
|
|
57
31
|
export * from './form/FormElementSync';
|
|
58
|
-
export * from './language/LanguageMatPaginatorIntl';
|
|
59
32
|
export * from './language/LanguageModule';
|
|
60
|
-
export * from './language/LanguageMomentDateAdapter';
|
|
61
33
|
export * from './language/LanguagePipe';
|
|
62
34
|
export * from './language/LanguagePipePure';
|
|
63
35
|
export * from './language/LanguagePipeHas';
|
|
@@ -84,18 +56,6 @@ export * from './list/ListItems';
|
|
|
84
56
|
export * from './list/select/ISelectListItem';
|
|
85
57
|
export * from './list/select/SelectListItem';
|
|
86
58
|
export * from './list/select/SelectListItems';
|
|
87
|
-
export * from './notification/INotification';
|
|
88
|
-
export * from './notification/INotificationContent';
|
|
89
|
-
export * from './notification/NotificationConfig';
|
|
90
|
-
export * from './notification/NotificationFactory';
|
|
91
|
-
export * from './notification/NotificationModule';
|
|
92
|
-
export * from './notification/NotificationProperties';
|
|
93
|
-
export * from './notification/NotificationService';
|
|
94
|
-
export * from './notification/component/NotificationBaseComponent';
|
|
95
|
-
export * from './notification/component/notification/notification.component';
|
|
96
|
-
export * from './bottomSheet/BottomSheetModule';
|
|
97
|
-
export * from './bottomSheet/BottomSheetService';
|
|
98
|
-
export * from './bottomSheet/component/BottomSheetBaseComponent';
|
|
99
59
|
export * from './pipe/CamelCasePipe';
|
|
100
60
|
export * from './pipe/FinancePipe';
|
|
101
61
|
export * from './pipe/MomentDateAdaptivePipe';
|
|
@@ -111,7 +71,6 @@ export * from './pipe/TimePipe';
|
|
|
111
71
|
export * from './question/IQuestion';
|
|
112
72
|
export * from './question/QuestionManager';
|
|
113
73
|
export * from './service/PipeBaseService';
|
|
114
|
-
export * from './service/BootstrapBreakpointService';
|
|
115
74
|
export * from './service/PlatformService';
|
|
116
75
|
export * from './service/RouterBaseService';
|
|
117
76
|
export * from './service/route/CanDeactivateGuard';
|
|
@@ -131,23 +90,4 @@ export * from './transport/TransportLazy';
|
|
|
131
90
|
export * from './transport/TransportLazyModule';
|
|
132
91
|
export * from './transport/TransportLazyModuleLoadedEvent';
|
|
133
92
|
export * from './util/ViewUtil';
|
|
134
|
-
export * from './
|
|
135
|
-
export * from './window/IWindow';
|
|
136
|
-
export * from './window/WindowImpl';
|
|
137
|
-
export * from './window/WindowBase';
|
|
138
|
-
export * from './window/WindowConfig';
|
|
139
|
-
export * from './window/WindowFactory';
|
|
140
|
-
export * from './window/WindowModule';
|
|
141
|
-
export * from './window/IWindowContent';
|
|
142
|
-
export * from './window/WindowService';
|
|
143
|
-
export * from './window/WindowProperties';
|
|
144
|
-
export * from './window/WindowServiceEvent';
|
|
145
|
-
export * from './window/component/WindowElement';
|
|
146
|
-
export * from './window/component/WindowBaseComponent';
|
|
147
|
-
export * from './window/component/WindowDragAreaDirective';
|
|
148
|
-
export * from './window/component/WindowQuestionBaseComponent';
|
|
149
|
-
export * from './window/component/window-question/window-question.component';
|
|
150
|
-
export * from './window/component/window-close-element/window-close-element.component';
|
|
151
|
-
export * from './window/component/window-resize-element/window-resize-element.component';
|
|
152
|
-
export * from './window/component/window-expand-element/window-expand-element.component';
|
|
153
|
-
export * from './window/component/window-minimize-element/window-minimize-element.component';
|
|
93
|
+
export * from './VIModule';
|
package/style/_core.scss
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'variables' as var;
|
|
3
|
+
|
|
4
|
+
@use '../text' as text;
|
|
5
|
+
@use '../mouse' as mouse;
|
|
6
|
+
@use '../scroll' as scroll;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// Scrollbar
|
|
10
|
+
@mixin scrollbar() {
|
|
11
|
+
::-webkit-scrollbar {
|
|
12
|
+
width: 14px;
|
|
13
|
+
height: 14px;
|
|
14
|
+
}
|
|
15
|
+
::-webkit-scrollbar-thumb {
|
|
16
|
+
height: 6px;
|
|
17
|
+
min-height: 16px;
|
|
18
|
+
border: 4px solid;
|
|
19
|
+
background-clip: padding-box;
|
|
20
|
+
-webkit-border-radius: 7px;
|
|
21
|
+
}
|
|
22
|
+
::-webkit-scrollbar-thumb {
|
|
23
|
+
border-color: transparent;
|
|
24
|
+
-webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
|
|
25
|
+
}
|
|
26
|
+
::-webkit-scrollbar-corner {
|
|
27
|
+
background-color: transparent;
|
|
28
|
+
}
|
|
29
|
+
::-webkit-scrollbar-button {
|
|
30
|
+
width: 0;
|
|
31
|
+
height: 0;
|
|
32
|
+
display: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
// Text
|
|
36
|
+
@mixin text() {
|
|
37
|
+
.text-underline {
|
|
38
|
+
text-decoration: underline !important;
|
|
39
|
+
}
|
|
40
|
+
.text-one-line {
|
|
41
|
+
@include text.one-line();
|
|
42
|
+
}
|
|
43
|
+
.text-multi-line {
|
|
44
|
+
@include text.word-wrap-break-word();
|
|
45
|
+
@include text.word-break-break-all();
|
|
46
|
+
}
|
|
47
|
+
.text-word-wrap-break-word {
|
|
48
|
+
@include text.word-wrap-break-word();
|
|
49
|
+
}
|
|
50
|
+
.text-word-break-break-all {
|
|
51
|
+
@include text.word-break-break-all();
|
|
52
|
+
}
|
|
53
|
+
.text-no-select {
|
|
54
|
+
@include text.no-select();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
// Scroll
|
|
58
|
+
@mixin scroll() {
|
|
59
|
+
.scroll-no {
|
|
60
|
+
@include scroll.no();
|
|
61
|
+
}
|
|
62
|
+
.scroll-auto {
|
|
63
|
+
@include scroll.auto();
|
|
64
|
+
}
|
|
65
|
+
.scroll-vertical {
|
|
66
|
+
@include scroll.vertical();
|
|
67
|
+
}
|
|
68
|
+
.scroll-horizontal {
|
|
69
|
+
@include scroll.horizontal();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// Mouse
|
|
73
|
+
@mixin mouse() {
|
|
74
|
+
.mouse-help {
|
|
75
|
+
@include mouse.help();
|
|
76
|
+
}
|
|
77
|
+
.mouse-wait {
|
|
78
|
+
@include mouse.wait();
|
|
79
|
+
}
|
|
80
|
+
.mouse-active {
|
|
81
|
+
@include mouse.active();
|
|
82
|
+
}
|
|
83
|
+
.mouse-enabled {
|
|
84
|
+
@include mouse.enabled();
|
|
85
|
+
}
|
|
86
|
+
.mouse-disabled {
|
|
87
|
+
@include mouse.disabled();
|
|
88
|
+
}
|
|
89
|
+
.mouse-inactive {
|
|
90
|
+
@include mouse.inactive();
|
|
91
|
+
}
|
|
92
|
+
.mouse-disabled {
|
|
93
|
+
@include mouse.disabled();
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@mixin core() {
|
|
98
|
+
@include text();
|
|
99
|
+
@include mouse();
|
|
100
|
+
@include scroll();
|
|
101
|
+
@include scrollbar();
|
|
102
|
+
|
|
103
|
+
p,
|
|
104
|
+
h1,
|
|
105
|
+
h2,
|
|
106
|
+
h3,
|
|
107
|
+
h4,
|
|
108
|
+
h5,
|
|
109
|
+
h6,
|
|
110
|
+
body {
|
|
111
|
+
padding: 0;
|
|
112
|
+
margin: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
a:focus,
|
|
116
|
+
div:focus,
|
|
117
|
+
button:focus {
|
|
118
|
+
outline: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
package/style/_text.scss
CHANGED
|
@@ -9,4 +9,12 @@
|
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
white-space: nowrap;
|
|
11
11
|
text-overflow: ellipsis;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
|
+
@mixin no-select() {
|
|
14
|
+
-webkit-touch-callout: none;
|
|
15
|
+
-webkit-user-select: none;
|
|
16
|
+
-khtml-user-select: none;
|
|
17
|
+
-moz-user-select: none;
|
|
18
|
+
-ms-user-select: none;
|
|
19
|
+
user-select: none;
|
|
20
|
+
}
|
package/VICommonModule.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, ModuleWithProviders, RendererFactory2 } from '@angular/core';
|
|
2
|
-
import { ILogger, LoggerLevel } from '@ts-core/common';
|
|
3
|
-
import { ICookieOptions } from '@ts-core/frontend';
|
|
4
|
-
import { ILanguageServiceOptions } from '@ts-core/frontend';
|
|
5
|
-
import { NativeWindowService } from '@ts-core/frontend';
|
|
6
|
-
import { IThemeServiceOptions } from '@ts-core/frontend';
|
|
7
|
-
import { ViewUtil } from './util/ViewUtil';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "./pipe/TimePipe";
|
|
10
|
-
import * as i2 from "./pipe/FinancePipe";
|
|
11
|
-
import * as i3 from "./pipe/SanitizePipe";
|
|
12
|
-
import * as i4 from "./pipe/TruncatePipe";
|
|
13
|
-
import * as i5 from "./pipe/PrettifyPipe";
|
|
14
|
-
import * as i6 from "./pipe/CamelCasePipe";
|
|
15
|
-
import * as i7 from "./pipe/StartCasePipe";
|
|
16
|
-
import * as i8 from "./pipe/NgModelErrorPipe";
|
|
17
|
-
import * as i9 from "./directive/IsServerDirective";
|
|
18
|
-
import * as i10 from "./directive/IsBrowserDirective";
|
|
19
|
-
import * as i11 from "./pipe/MomentDatePipe";
|
|
20
|
-
import * as i12 from "./pipe/MomentTimePipe";
|
|
21
|
-
import * as i13 from "./pipe/MomentDateFromNowPipe";
|
|
22
|
-
import * as i14 from "./pipe/MomentDateAdaptivePipe";
|
|
23
|
-
import * as i15 from "./directive/FocusDirective";
|
|
24
|
-
import * as i16 from "./directive/ResizeDirective";
|
|
25
|
-
import * as i17 from "./directive/ScrollDirective";
|
|
26
|
-
import * as i18 from "./directive/ScrollCheckDirective";
|
|
27
|
-
import * as i19 from "./directive/ClickToCopyDirective";
|
|
28
|
-
import * as i20 from "./directive/SelectOnFocusDirective";
|
|
29
|
-
import * as i21 from "./directive/ClickToSelectDirective";
|
|
30
|
-
import * as i22 from "./directive/MenuTriggerForDirective";
|
|
31
|
-
import * as i23 from "./directive/InfiniteScrollDirective";
|
|
32
|
-
import * as i24 from "./directive/HTMLTitleDirective";
|
|
33
|
-
import * as i25 from "./directive/HTMLContentTitleDirective";
|
|
34
|
-
import * as i26 from "./directive/AutoScrollBottomDirective";
|
|
35
|
-
import * as i27 from "./directive/AspectRatioResizeDirective";
|
|
36
|
-
import * as i28 from "./cookie/CookieModule";
|
|
37
|
-
import * as i29 from "./theme/ThemeModule";
|
|
38
|
-
import * as i30 from "./language/LanguageModule";
|
|
39
|
-
import * as i31 from "./asset/AssetModule";
|
|
40
|
-
import * as i32 from "./window/WindowModule";
|
|
41
|
-
import * as i33 from "./notification/NotificationModule";
|
|
42
|
-
export declare class VICommonModule {
|
|
43
|
-
static forRoot(options?: IVICommonOptions): ModuleWithProviders<VICommonModule>;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VICommonModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VICommonModule, [typeof i1.TimePipe, typeof i2.FinancePipe, typeof i3.SanitizePipe, typeof i4.TruncatePipe, typeof i5.PrettifyPipe, typeof i6.CamelCasePipe, typeof i7.StartCasePipe, typeof i8.NgModelErrorPipe, typeof i9.IsServerDirective, typeof i10.IsBrowserDirective, typeof i11.MomentDatePipe, typeof i12.MomentTimePipe, typeof i13.MomentDateFromNowPipe, typeof i14.MomentDateAdaptivePipe, typeof i15.FocusDirective, typeof i16.ResizeDirective, typeof i17.ScrollDirective, typeof i18.ScrollCheckDirective, typeof i19.ClickToCopyDirective, typeof i20.SelectOnFocusDirective, typeof i21.ClickToSelectDirective, typeof i22.MenuTriggerForDirective, typeof i23.InfiniteScrollDirective, typeof i24.HTMLTitleDirective, typeof i25.HTMLContentTitleDirective, typeof i26.AutoScrollBottomDirective, typeof i27.AspectRatioResizeDirective], [typeof i28.CookieModule, typeof i29.ThemeModule, typeof i30.LanguageModule, typeof i31.AssetModule, typeof i32.WindowModule, typeof i33.NotificationModule], [typeof i28.CookieModule, typeof i29.ThemeModule, typeof i30.LanguageModule, typeof i31.AssetModule, typeof i32.WindowModule, typeof i33.NotificationModule, typeof i1.TimePipe, typeof i2.FinancePipe, typeof i3.SanitizePipe, typeof i4.TruncatePipe, typeof i5.PrettifyPipe, typeof i6.CamelCasePipe, typeof i7.StartCasePipe, typeof i8.NgModelErrorPipe, typeof i9.IsServerDirective, typeof i10.IsBrowserDirective, typeof i11.MomentDatePipe, typeof i12.MomentTimePipe, typeof i13.MomentDateFromNowPipe, typeof i14.MomentDateAdaptivePipe, typeof i15.FocusDirective, typeof i16.ResizeDirective, typeof i17.ScrollDirective, typeof i18.ScrollCheckDirective, typeof i19.ClickToCopyDirective, typeof i20.SelectOnFocusDirective, typeof i21.ClickToSelectDirective, typeof i22.MenuTriggerForDirective, typeof i23.InfiniteScrollDirective, typeof i24.HTMLTitleDirective, typeof i25.HTMLContentTitleDirective, typeof i26.AutoScrollBottomDirective, typeof i27.AspectRatioResizeDirective]>;
|
|
46
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<VICommonModule>;
|
|
47
|
-
}
|
|
48
|
-
export declare class IVICommonOptions extends ICookieOptions {
|
|
49
|
-
loggerLevel?: LoggerLevel;
|
|
50
|
-
themeOptions?: IThemeServiceOptions;
|
|
51
|
-
languageOptions?: ILanguageServiceOptions;
|
|
52
|
-
}
|
|
53
|
-
export declare function initializerFactory(nativeWindow: NativeWindowService, rendererFactory2: RendererFactory2): ViewUtil;
|
|
54
|
-
export declare function loggerServiceFactory(options: IVICommonOptions): ILogger;
|
|
55
|
-
export declare function nativeWindowServiceFactory(document: Document): NativeWindowService;
|
|
56
|
-
export declare const VI_ANGULAR_OPTIONS: InjectionToken<IVICommonOptions>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { NotificationConfig } from '../notification/NotificationConfig';
|
|
4
|
-
import { NotificationService } from '../notification/NotificationService';
|
|
5
|
-
export declare class ShellBaseComponent extends DestroyableContainer {
|
|
6
|
-
notifications: NotificationService;
|
|
7
|
-
breakpointObserver: BreakpointObserver;
|
|
8
|
-
isNeedSide: boolean;
|
|
9
|
-
isHasNotifications: boolean;
|
|
10
|
-
isShowMenu: boolean;
|
|
11
|
-
isShowNotifications: boolean;
|
|
12
|
-
constructor(notifications: NotificationService, breakpointObserver: BreakpointObserver);
|
|
13
|
-
protected initialize(): void;
|
|
14
|
-
protected isHasNotificationsCheck(): void;
|
|
15
|
-
protected isNeedSideCheck(): void;
|
|
16
|
-
toggleMenu(): void;
|
|
17
|
-
toggleNotifications(): void;
|
|
18
|
-
protected get sideMediaQueryToCheck(): string;
|
|
19
|
-
get notificationItems(): Array<NotificationConfig>;
|
|
20
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Observable, Subject, Subscription } from 'rxjs';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
4
|
-
import { WindowConfig } from '../window/WindowConfig';
|
|
5
|
-
import { IWindow } from '../window/IWindow';
|
|
6
|
-
import { IWindowContent } from '../window/IWindowContent';
|
|
7
|
-
import { WindowProperties } from '../window/WindowProperties';
|
|
8
|
-
import { WindowElement } from '../window/component/WindowElement';
|
|
9
|
-
import { ComponentRef } from '@angular/core';
|
|
10
|
-
export declare class BottomSheetImpl<T = any> extends DestroyableContainer implements IWindow {
|
|
11
|
-
private _wrapper;
|
|
12
|
-
private _backdrop;
|
|
13
|
-
private _container;
|
|
14
|
-
private _isDisabled;
|
|
15
|
-
protected elements: Array<ComponentRef<WindowElement>>;
|
|
16
|
-
protected properties: WindowProperties;
|
|
17
|
-
protected observer: Subject<string>;
|
|
18
|
-
protected subscription: Subscription;
|
|
19
|
-
constructor(properties: WindowProperties);
|
|
20
|
-
protected elementsCreate(): void;
|
|
21
|
-
protected elementsDestroy(): void;
|
|
22
|
-
protected elementAdd(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
23
|
-
protected elementRemove(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
24
|
-
protected elementDestroy(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
25
|
-
protected setClosed: () => void;
|
|
26
|
-
protected setOpened: () => void;
|
|
27
|
-
protected setProperties(): void;
|
|
28
|
-
protected commitIsDisabledProperties(): void;
|
|
29
|
-
protected getConfig(): WindowConfig;
|
|
30
|
-
protected getContainer(): HTMLElement;
|
|
31
|
-
protected getReference(): MatBottomSheetRef<IWindowContent<T>>;
|
|
32
|
-
protected isNeedClickStopPropagation(event: MouseEvent): boolean;
|
|
33
|
-
protected mouseDownHandler(event: MouseEvent): void;
|
|
34
|
-
protected mouseClickHandler(event: MouseEvent): void;
|
|
35
|
-
private mouseDownHandlerProxy;
|
|
36
|
-
private mouseClickHandlerProxy;
|
|
37
|
-
emit(event: string): void;
|
|
38
|
-
close(): void;
|
|
39
|
-
destroy(): void;
|
|
40
|
-
blink(): void;
|
|
41
|
-
shake(): void;
|
|
42
|
-
setOnTop(): void;
|
|
43
|
-
getWidth(): number;
|
|
44
|
-
getHeight(): number;
|
|
45
|
-
setWidth(value: number, isNeedNotify?: boolean): void;
|
|
46
|
-
setHeight(value: number, isNeedNotify?: boolean): void;
|
|
47
|
-
setSize(width: number, height: number): void;
|
|
48
|
-
getX(): number;
|
|
49
|
-
setX(value: number, isNeedNotify?: boolean): void;
|
|
50
|
-
getY(): number;
|
|
51
|
-
setY(value: number, isNeedNotify?: boolean): void;
|
|
52
|
-
move(x: number, y: number): void;
|
|
53
|
-
protected get reference(): MatBottomSheetRef<IWindowContent<T>>;
|
|
54
|
-
get events(): Observable<string>;
|
|
55
|
-
get config(): WindowConfig;
|
|
56
|
-
get content(): IWindowContent;
|
|
57
|
-
get container(): HTMLElement;
|
|
58
|
-
get wrapper(): HTMLElement;
|
|
59
|
-
get backdrop(): HTMLElement;
|
|
60
|
-
get isOnTop(): boolean;
|
|
61
|
-
set isOnTop(value: boolean);
|
|
62
|
-
get isMinimized(): boolean;
|
|
63
|
-
set isMinimized(value: boolean);
|
|
64
|
-
get isDisabled(): boolean;
|
|
65
|
-
set isDisabled(value: boolean);
|
|
66
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "@angular/forms";
|
|
5
|
-
import * as i3 from "@angular/material/bottom-sheet";
|
|
6
|
-
import * as i4 from "@angular/material/button";
|
|
7
|
-
import * as i5 from "../language/LanguageModule";
|
|
8
|
-
export declare class BottomSheetModule {
|
|
9
|
-
static forRoot(): ModuleWithProviders<BottomSheetModule>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BottomSheetModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatBottomSheetModule, typeof i4.MatButtonModule, typeof i5.LanguageModule], never>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BottomSheetModule>;
|
|
13
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
3
|
-
import { Destroyable } from '@ts-core/common';
|
|
4
|
-
import { ObservableData } from '@ts-core/common';
|
|
5
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { WindowFactory } from '../window/WindowFactory';
|
|
8
|
-
import { IWindow } from '../window/IWindow';
|
|
9
|
-
import { WindowConfig, WindowConfigOptions } from '../window/WindowConfig';
|
|
10
|
-
import { IWindowContent } from '../window/IWindowContent';
|
|
11
|
-
import { WindowServiceEvent } from '../window/WindowServiceEvent';
|
|
12
|
-
import { IQuestion, IQuestionOptions } from '../question/IQuestion';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class BottomSheetService extends Destroyable {
|
|
15
|
-
factory: WindowFactory<IWindow>;
|
|
16
|
-
questionComponent: ComponentType<IWindowContent>;
|
|
17
|
-
protected _window: IWindow;
|
|
18
|
-
protected dialog: MatBottomSheet;
|
|
19
|
-
protected language: LanguageService;
|
|
20
|
-
private observer;
|
|
21
|
-
constructor(dialog: MatBottomSheet, language: LanguageService);
|
|
22
|
-
open<T extends IWindowContent>(component: ComponentType<T>, config: WindowConfig): T;
|
|
23
|
-
removeAll(): void;
|
|
24
|
-
destroy(): void;
|
|
25
|
-
info(translationId?: string, translation?: any, questionOptions?: IQuestionOptions, configOptions?: WindowConfigOptions): IQuestion;
|
|
26
|
-
question(translationId?: string, translation?: any, questionOptions?: IQuestionOptions, configOptions?: WindowConfigOptions): IQuestion;
|
|
27
|
-
get window(): IWindow;
|
|
28
|
-
get events(): Observable<ObservableData<WindowServiceEvent, IWindow>>;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BottomSheetService>;
|
|
31
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BottomSheetImpl } from '../BottomSheetImpl';
|
|
2
|
-
export declare class BottomSheetBaseComponent extends BottomSheetImpl {
|
|
3
|
-
static CLOSE_COMPONENT: typeof import("@ts-core/angular").WindowCloseElementComponent;
|
|
4
|
-
static EXPAND_COMPONENT: typeof import("@ts-core/angular").WindowExpandElementComponent;
|
|
5
|
-
protected elementsCreate(): void;
|
|
6
|
-
protected commitIsDisabledProperties(): void;
|
|
7
|
-
protected get disabledClass(): string;
|
|
8
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cdk-table/cell/CdkTableCellValuePipe";
|
|
3
|
-
import * as i2 from "./cdk-table/cell/CdkTableCellValuePipePure";
|
|
4
|
-
import * as i3 from "./cdk-table/cell/CdkTableCellClassNamePipe";
|
|
5
|
-
import * as i4 from "./cdk-table/cell/CdkTableCellStyleNamePipe";
|
|
6
|
-
import * as i5 from "./cdk-table/column/CdkTableColumnClassNamePipe";
|
|
7
|
-
import * as i6 from "./cdk-table/column/CdkTableColumnStyleNamePipe";
|
|
8
|
-
import * as i7 from "./cdk-table/row/CdkTableRowStyleNamePipe";
|
|
9
|
-
import * as i8 from "./cdk-table/row/CdkTableRowClassNamePipe";
|
|
10
|
-
import * as i9 from "./language/language-selector/language-selector.component";
|
|
11
|
-
import * as i10 from "./tab-group/tab-group.component";
|
|
12
|
-
import * as i11 from "./menu-list/menu-list.component";
|
|
13
|
-
import * as i12 from "./select-list/select-list.component";
|
|
14
|
-
import * as i13 from "./cdk-table/cdk-table-paginable/cdk-table-paginable.component";
|
|
15
|
-
import * as i14 from "./cdk-table/cdk-table-filterable/cdk-table-filterable.component";
|
|
16
|
-
import * as i15 from "./cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component";
|
|
17
|
-
import * as i16 from "@angular/common";
|
|
18
|
-
import * as i17 from "@angular/forms";
|
|
19
|
-
import * as i18 from "@angular/material/tabs";
|
|
20
|
-
import * as i19 from "@angular/material/list";
|
|
21
|
-
import * as i20 from "@angular/material/menu";
|
|
22
|
-
import * as i21 from "@angular/material/select";
|
|
23
|
-
import * as i22 from "@angular/material/button";
|
|
24
|
-
import * as i23 from "@angular/material/sort";
|
|
25
|
-
import * as i24 from "@angular/material/table";
|
|
26
|
-
import * as i25 from "@angular/material/paginator";
|
|
27
|
-
import * as i26 from "@angular/material/progress-bar";
|
|
28
|
-
import * as i27 from "../VICommonModule";
|
|
29
|
-
export declare class VIComponentModule {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VIComponentModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VIComponentModule, [typeof i1.CdkTableCellValuePipe, typeof i2.CdkTableCellValuePipePure, typeof i3.CdkTableCellClassNamePipe, typeof i4.CdkTableCellStyleNamePipe, typeof i5.CdkTableColumnClassNamePipe, typeof i6.CdkTableColumnStyleNamePipe, typeof i7.CdkTableRowStyleNamePipe, typeof i8.CdkTableRowClassNamePipe, typeof i9.LanguageSelectorComponent, typeof i10.TabGroupComponent, typeof i11.MenuListComponent, typeof i12.SelectListComponent, typeof i13.CdkTablePaginableComponent, typeof i14.CdkTableFilterableComponent, typeof i15.CdkTablePaginableBookmarkComponent], [typeof i16.CommonModule, typeof i17.FormsModule, typeof i18.MatTabsModule, typeof i19.MatListModule, typeof i20.MatMenuModule, typeof i21.MatSelectModule, typeof i22.MatButtonModule, typeof i23.MatSortModule, typeof i24.MatTableModule, typeof i25.MatPaginatorModule, typeof i26.MatProgressBarModule, typeof i27.VICommonModule], [typeof i1.CdkTableCellValuePipe, typeof i2.CdkTableCellValuePipePure, typeof i3.CdkTableCellClassNamePipe, typeof i4.CdkTableCellStyleNamePipe, typeof i5.CdkTableColumnClassNamePipe, typeof i6.CdkTableColumnStyleNamePipe, typeof i7.CdkTableRowStyleNamePipe, typeof i8.CdkTableRowClassNamePipe, typeof i9.LanguageSelectorComponent, typeof i10.TabGroupComponent, typeof i11.MenuListComponent, typeof i12.SelectListComponent, typeof i13.CdkTablePaginableComponent, typeof i14.CdkTableFilterableComponent, typeof i15.CdkTablePaginableBookmarkComponent]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<VIComponentModule>;
|
|
33
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { ICdkTableRow } from './row/ICdkTableRow';
|
|
4
|
-
import { ICdkTableColumn } from './column/ICdkTableColumn';
|
|
5
|
-
import { CdkTablePaginableMapCollection } from './CdkTablePaginableMapCollection';
|
|
6
|
-
import { CdkTableFilterableMapCollection } from './CdkTableFilterableMapCollection';
|
|
7
|
-
import { SortDirection } from '@angular/material/sort';
|
|
8
|
-
import { CdkTablePaginableBookmarkMapCollection } from './CdkTablePaginableBookmarkMapCollection';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare abstract class CdkTableBaseComponent<T extends CdkTablePaginableMapCollection<U, V> | CdkTableFilterableMapCollection<U, V> | CdkTablePaginableBookmarkMapCollection<U, V>, U, V> extends DestroyableContainer {
|
|
11
|
-
protected _table: T;
|
|
12
|
-
protected _settings: ICdkTableSettings<U>;
|
|
13
|
-
protected _rows: ICdkTableRow<U>;
|
|
14
|
-
protected _columns: Array<ICdkTableColumn<U>>;
|
|
15
|
-
protected _columnNames: Array<keyof U>;
|
|
16
|
-
protected _selectedRow: U;
|
|
17
|
-
protected _selectedRows: Array<U>;
|
|
18
|
-
rowClicked: EventEmitter<ICdkTableRowEvent<U>>;
|
|
19
|
-
cellClicked: EventEmitter<ICdkTableCellEvent<U>>;
|
|
20
|
-
sortActive: string;
|
|
21
|
-
sortDirection: SortDirection;
|
|
22
|
-
constructor();
|
|
23
|
-
protected commitTableProperties(): void;
|
|
24
|
-
protected commitColumnsProperties(): void;
|
|
25
|
-
protected commitSelectedRowsProperties(): void;
|
|
26
|
-
protected commitSettingsProperties(): void;
|
|
27
|
-
protected commitRowProperties(): void;
|
|
28
|
-
columnTrackBy(index: number, item: ICdkTableColumn<U>): string;
|
|
29
|
-
destroy(): void;
|
|
30
|
-
rowClickHandler(item: U, event: MouseEvent): void;
|
|
31
|
-
cellClickHandler(item: U, column: ICdkTableColumn<U>, event: MouseEvent): void;
|
|
32
|
-
get table(): T;
|
|
33
|
-
set table(value: T);
|
|
34
|
-
get selectedRows(): Array<U>;
|
|
35
|
-
set selectedRows(value: Array<U>);
|
|
36
|
-
get selectedRow(): U;
|
|
37
|
-
set selectedRow(value: U);
|
|
38
|
-
get rows(): ICdkTableRow<U>;
|
|
39
|
-
set rows(value: ICdkTableRow<U>);
|
|
40
|
-
get columns(): Array<ICdkTableColumn<U>>;
|
|
41
|
-
set columns(value: Array<ICdkTableColumn<U>>);
|
|
42
|
-
get settings(): ICdkTableSettings<U>;
|
|
43
|
-
set settings(value: ICdkTableSettings<U>);
|
|
44
|
-
get columnNames(): Array<keyof U>;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableBaseComponent<any, any, any>, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkTableBaseComponent<any, any, any>, "ng-component", never, { "table": "table"; "selectedRows": "selectedRows"; "selectedRow": "selectedRow"; "rows": "rows"; "columns": "columns"; "settings": "settings"; }, { "rowClicked": "rowClicked"; "cellClicked": "cellClicked"; }, never, never, false, never>;
|
|
47
|
-
}
|
|
48
|
-
export interface ICdkTableRowEvent<U> {
|
|
49
|
-
data: U;
|
|
50
|
-
event: MouseEvent;
|
|
51
|
-
}
|
|
52
|
-
export interface ICdkTableCellEvent<U> extends ICdkTableRowEvent<U> {
|
|
53
|
-
column: string;
|
|
54
|
-
}
|
|
55
|
-
export interface ICdkTableSettings<U> {
|
|
56
|
-
noDataId?: string;
|
|
57
|
-
isInteractive?: boolean;
|
|
58
|
-
rows?: ICdkTableRow<U>;
|
|
59
|
-
columns?: Array<ICdkTableColumn<U>>;
|
|
60
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DataSourceMapCollection } from '@ts-core/common';
|
|
2
|
-
import { Subscription, BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
4
|
-
export declare class CdkTableDataSource<U> extends DestroyableContainer {
|
|
5
|
-
protected map: DataSourceMapCollection<U>;
|
|
6
|
-
protected subject: BehaviorSubject<Array<U>>;
|
|
7
|
-
protected subscription: Subscription;
|
|
8
|
-
constructor(map: DataSourceMapCollection<U>);
|
|
9
|
-
protected parseResponse(): void;
|
|
10
|
-
protected parseParsedResponse(): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
get dataSource(): Observable<Array<U>>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
2
|
-
import { FilterableDataSourceMapCollection } from '@ts-core/common';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
export declare abstract class CdkTableFilterableMapCollection<U, V, T = any> extends FilterableDataSourceMapCollection<U, V, T> {
|
|
5
|
-
static getSort<U, V = any, T = any>(collection: FilterableDataSourceMapCollection<U, V, T>): Sort;
|
|
6
|
-
static applySortEvent<U, V = any>(item: FilterableDataSourceMapCollection<U, V>, event: Sort): boolean;
|
|
7
|
-
protected _table: CdkTableDataSource<U>;
|
|
8
|
-
protected initialize(): void;
|
|
9
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
10
|
-
sortEventHandler(event: Sort): void;
|
|
11
|
-
protected sortFunction(first: U, second: U, event: Sort): number;
|
|
12
|
-
destroy(): void;
|
|
13
|
-
get table(): CdkTableDataSource<U>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PaginableBookmarkDataSourceMapCollection } from '@ts-core/common';
|
|
2
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
export declare abstract class CdkTablePaginableBookmarkMapCollection<U, V> extends PaginableBookmarkDataSourceMapCollection<U, V> {
|
|
5
|
-
protected _table: CdkTableDataSource<U>;
|
|
6
|
-
protected initialize(): void;
|
|
7
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
8
|
-
sortEventHandler(event: Sort): void;
|
|
9
|
-
destroy(): void;
|
|
10
|
-
get table(): CdkTableDataSource<U>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
2
|
-
import { PaginableDataSourceMapCollection } from '@ts-core/common';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
5
|
-
export declare abstract class CdkTablePaginableMapCollection<U, V, T = any> extends PaginableDataSourceMapCollection<U, V, T> {
|
|
6
|
-
protected _table: CdkTableDataSource<U>;
|
|
7
|
-
protected initialize(): void;
|
|
8
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
9
|
-
sortEventHandler(event: Sort): void;
|
|
10
|
-
pageEventHandler(event: PageEvent): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
get table(): CdkTableDataSource<U>;
|
|
13
|
-
}
|