@ts-core/angular 15.0.1 → 15.0.3

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 (173) hide show
  1. package/VICommonModule.d.ts +10 -13
  2. package/application/ApplicationComponent.d.ts +1 -3
  3. package/directive/ResizeDirective.d.ts +2 -2
  4. package/directive/SelectOnFocusDirective.d.ts +1 -1
  5. package/esm2020/VICommonModule.mjs +4 -14
  6. package/esm2020/application/ApplicationComponent.mjs +2 -3
  7. package/esm2020/application/MessageBaseComponent.mjs +1 -1
  8. package/esm2020/directive/AutoScrollBottomDirective.mjs +2 -2
  9. package/esm2020/directive/ResizeDirective.mjs +5 -5
  10. package/esm2020/directive/SelectOnFocusDirective.mjs +2 -2
  11. package/esm2020/language/LanguageModule.mjs +1 -8
  12. package/esm2020/manager/ResizeManager.mjs +3 -11
  13. package/esm2020/pipe/CamelCasePipe.mjs +4 -12
  14. package/esm2020/pipe/StartCasePipe.mjs +4 -5
  15. package/esm2020/pipe/TimePipe.mjs +3 -2
  16. package/esm2020/pipe/TruncatePipe.mjs +3 -5
  17. package/esm2020/public-api.mjs +1 -68
  18. package/esm2020/service/PipeBaseService.mjs +1 -1
  19. package/esm2020/theme/ThemeAssetDirective.mjs +1 -1
  20. package/esm2020/theme/ThemeStyleDirective.mjs +2 -2
  21. package/esm2020/util/ViewUtil.mjs +1 -1
  22. package/fesm2015/ts-core-angular.mjs +3091 -7551
  23. package/fesm2015/ts-core-angular.mjs.map +1 -1
  24. package/fesm2020/ts-core-angular.mjs +3057 -7515
  25. package/fesm2020/ts-core-angular.mjs.map +1 -1
  26. package/htdocs/common.js +3 -3
  27. package/manager/ResizeManager.d.ts +1 -1
  28. package/package.json +3 -10
  29. package/pipe/CamelCasePipe.d.ts +0 -1
  30. package/public-api.d.ts +0 -60
  31. package/style/_core.scss +120 -0
  32. package/style/_filter.scss +14 -0
  33. package/style/_mouse.scss +27 -0
  34. package/style/_scroll.scss +20 -0
  35. package/style/_text.scss +20 -0
  36. package/application/ShellBaseComponent.d.ts +0 -20
  37. package/bottomSheet/BottomSheetImpl.d.ts +0 -77
  38. package/bottomSheet/BottomSheetModule.d.ts +0 -13
  39. package/bottomSheet/BottomSheetService.d.ts +0 -31
  40. package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -13
  41. package/component/VIComponentModule.d.ts +0 -33
  42. package/component/cdk-table/CdkTableBaseComponent.d.ts +0 -60
  43. package/component/cdk-table/CdkTableDataSource.d.ts +0 -13
  44. package/component/cdk-table/CdkTableFilterableMapCollection.d.ts +0 -14
  45. package/component/cdk-table/CdkTablePaginableBookmarkMapCollection.d.ts +0 -11
  46. package/component/cdk-table/CdkTablePaginableMapCollection.d.ts +0 -13
  47. package/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.d.ts +0 -9
  48. package/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.d.ts +0 -18
  49. package/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.d.ts +0 -9
  50. package/component/cdk-table/cell/CdkTableCellClassNamePipe.d.ts +0 -8
  51. package/component/cdk-table/cell/CdkTableCellStyleNamePipe.d.ts +0 -10
  52. package/component/cdk-table/cell/CdkTableCellValuePipe.d.ts +0 -17
  53. package/component/cdk-table/cell/CdkTableCellValuePipePure.d.ts +0 -8
  54. package/component/cdk-table/column/CdkTableColumnClassNamePipe.d.ts +0 -8
  55. package/component/cdk-table/column/CdkTableColumnStyleNamePipe.d.ts +0 -10
  56. package/component/cdk-table/column/ICdkTableColumn.d.ts +0 -25
  57. package/component/cdk-table/row/CdkTableRowClassNamePipe.d.ts +0 -8
  58. package/component/cdk-table/row/CdkTableRowStyleNamePipe.d.ts +0 -10
  59. package/component/cdk-table/row/ICdkTableRow.d.ts +0 -8
  60. package/component/language/language-selector/language-selector.component.d.ts +0 -19
  61. package/component/menu-list/menu-list.component.d.ts +0 -9
  62. package/component/select-list/select-list.component.d.ts +0 -9
  63. package/component/tab-group/tab-group.component.d.ts +0 -16
  64. package/directive/MenuTriggerForDirective.d.ts +0 -11
  65. package/error/WindowClosedError.d.ts +0 -6
  66. package/esm2020/application/ShellBaseComponent.mjs +0 -78
  67. package/esm2020/bottomSheet/BottomSheetImpl.mjs +0 -273
  68. package/esm2020/bottomSheet/BottomSheetModule.mjs +0 -37
  69. package/esm2020/bottomSheet/BottomSheetService.mjs +0 -107
  70. package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +0 -59
  71. package/esm2020/component/VIComponentModule.mjs +0 -117
  72. package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +0 -192
  73. package/esm2020/component/cdk-table/CdkTableDataSource.mjs +0 -58
  74. package/esm2020/component/cdk-table/CdkTableFilterableMapCollection.mjs +0 -94
  75. package/esm2020/component/cdk-table/CdkTablePaginableBookmarkMapCollection.mjs +0 -49
  76. package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +0 -57
  77. package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +0 -37
  78. package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +0 -65
  79. package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +0 -37
  80. package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +0 -25
  81. package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +0 -22
  82. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +0 -77
  83. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +0 -22
  84. package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +0 -22
  85. package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +0 -22
  86. package/esm2020/component/cdk-table/column/ICdkTableColumn.mjs +0 -2
  87. package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +0 -22
  88. package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +0 -22
  89. package/esm2020/component/cdk-table/row/ICdkTableRow.mjs +0 -2
  90. package/esm2020/component/language/language-selector/language-selector.component.mjs +0 -79
  91. package/esm2020/component/menu-list/menu-list.component.mjs +0 -16
  92. package/esm2020/component/select-list/select-list.component.mjs +0 -16
  93. package/esm2020/component/tab-group/tab-group.component.mjs +0 -71
  94. package/esm2020/directive/MenuTriggerForDirective.mjs +0 -53
  95. package/esm2020/error/WindowClosedError.mjs +0 -19
  96. package/esm2020/language/LanguageMatPaginatorIntl.mjs +0 -62
  97. package/esm2020/language/LanguageMomentDateAdapter.mjs +0 -13
  98. package/esm2020/notification/INotification.mjs +0 -7
  99. package/esm2020/notification/INotificationContent.mjs +0 -132
  100. package/esm2020/notification/NotificationConfig.mjs +0 -16
  101. package/esm2020/notification/NotificationFactory.mjs +0 -19
  102. package/esm2020/notification/NotificationImpl.mjs +0 -139
  103. package/esm2020/notification/NotificationModule.mjs +0 -53
  104. package/esm2020/notification/NotificationProperties.mjs +0 -2
  105. package/esm2020/notification/NotificationService.mjs +0 -239
  106. package/esm2020/notification/component/NotificationBaseComponent.mjs +0 -4
  107. package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +0 -50
  108. package/esm2020/notification/component/notification/notification.component.mjs +0 -61
  109. package/esm2020/service/BootstrapBreakpointService.mjs +0 -116
  110. package/esm2020/window/IWindow.mjs +0 -32
  111. package/esm2020/window/IWindowContent.mjs +0 -132
  112. package/esm2020/window/WindowBase.mjs +0 -168
  113. package/esm2020/window/WindowConfig.mjs +0 -232
  114. package/esm2020/window/WindowFactory.mjs +0 -27
  115. package/esm2020/window/WindowImpl.mjs +0 -361
  116. package/esm2020/window/WindowModule.mjs +0 -58
  117. package/esm2020/window/WindowProperties.mjs +0 -2
  118. package/esm2020/window/WindowService.mjs +0 -366
  119. package/esm2020/window/WindowServiceEvent.mjs +0 -9
  120. package/esm2020/window/component/WindowBaseComponent.mjs +0 -75
  121. package/esm2020/window/component/WindowDragAreaDirective.mjs +0 -97
  122. package/esm2020/window/component/WindowDragable.mjs +0 -69
  123. package/esm2020/window/component/WindowElement.mjs +0 -95
  124. package/esm2020/window/component/WindowQuestionBaseComponent.mjs +0 -17
  125. package/esm2020/window/component/WindowResizeable.mjs +0 -88
  126. package/esm2020/window/component/window-close-element/window-close-element.component.mjs +0 -55
  127. package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +0 -56
  128. package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +0 -75
  129. package/esm2020/window/component/window-question/window-question.component.mjs +0 -50
  130. package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +0 -56
  131. package/language/LanguageMatPaginatorIntl.d.ts +0 -20
  132. package/language/LanguageMomentDateAdapter.d.ts +0 -5
  133. package/notification/INotification.d.ts +0 -26
  134. package/notification/INotificationContent.d.ts +0 -31
  135. package/notification/NotificationConfig.d.ts +0 -13
  136. package/notification/NotificationFactory.d.ts +0 -11
  137. package/notification/NotificationImpl.d.ts +0 -38
  138. package/notification/NotificationModule.d.ts +0 -18
  139. package/notification/NotificationProperties.d.ts +0 -9
  140. package/notification/NotificationService.d.ts +0 -56
  141. package/notification/component/NotificationBaseComponent.d.ts +0 -3
  142. package/notification/component/NotificationQuestionBaseComponent.d.ts +0 -10
  143. package/notification/component/notification/notification.component.d.ts +0 -14
  144. package/service/BootstrapBreakpointService.d.ts +0 -45
  145. package/style/mat/bootstrap/_background.scss +0 -10
  146. package/style/mat/bootstrap/_border.scss +0 -207
  147. package/style/mat/bootstrap/_text.scss +0 -43
  148. package/style/mat/bootstrap/_variables.scss +0 -8
  149. package/style/mat/vi-mat-bootstrap.scss +0 -50
  150. package/style/mat/vi-mat.scss +0 -570
  151. package/style/mixin.scss +0 -69
  152. package/style/mouse.scss +0 -47
  153. package/window/IWindow.d.ts +0 -41
  154. package/window/IWindowContent.d.ts +0 -34
  155. package/window/WindowBase.d.ts +0 -33
  156. package/window/WindowConfig.d.ts +0 -64
  157. package/window/WindowFactory.d.ts +0 -12
  158. package/window/WindowImpl.d.ts +0 -89
  159. package/window/WindowModule.d.ts +0 -20
  160. package/window/WindowProperties.d.ts +0 -9
  161. package/window/WindowService.d.ts +0 -71
  162. package/window/WindowServiceEvent.d.ts +0 -7
  163. package/window/component/WindowBaseComponent.d.ts +0 -20
  164. package/window/component/WindowDragAreaDirective.d.ts +0 -19
  165. package/window/component/WindowDragable.d.ts +0 -13
  166. package/window/component/WindowElement.d.ts +0 -22
  167. package/window/component/WindowQuestionBaseComponent.d.ts +0 -5
  168. package/window/component/WindowResizeable.d.ts +0 -10
  169. package/window/component/window-close-element/window-close-element.component.d.ts +0 -12
  170. package/window/component/window-expand-element/window-expand-element.component.d.ts +0 -12
  171. package/window/component/window-minimize-element/window-minimize-element.component.d.ts +0 -15
  172. package/window/component/window-question/window-question.component.d.ts +0 -12
  173. package/window/component/window-resize-element/window-resize-element.component.d.ts +0 -12
package/htdocs/common.js CHANGED
@@ -15,10 +15,10 @@ function cookieGet(name) {
15
15
  //
16
16
  //--------------------------------------------------------------------------
17
17
 
18
- function setTheme(cookieName) {
19
- var theme = cookieGet(cookieName);
18
+ function themeSet(themeCookieName) {
19
+ var theme = cookieGet(themeCookieName);
20
20
  if (theme) {
21
- document.body.className = theme;
21
+ document.body.className = `${theme}-theme mat-app-background`;
22
22
  }
23
23
  }
24
24
 
@@ -8,7 +8,7 @@ export declare class ResizeManager implements IDestroyable {
8
8
  protected subject: BehaviorSubject<ISize>;
9
9
  protected element: HTMLElement;
10
10
  constructor(element: IViewElement);
11
- protected handler: (item: ISize) => void;
11
+ protected handlerItem: (item: ISize) => void;
12
12
  protected handler2: (items: Array<ResizeObserverEntry>) => void;
13
13
  get changed(): Observable<ISize>;
14
14
  get value(): ISize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "15.0.1",
3
+ "version": "15.0.3",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
@@ -10,27 +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
- "css-element-queries": "^1.2.3",
30
- "csshake": "^1.7.0",
31
- "interactjs": "1.10.11",
32
24
  "moment": "^2.29.4",
33
25
  "ngx-cookie": "^4.0.1",
26
+ "interactjs": "1.10.11",
34
27
  "numeral": "^2.0.6",
35
28
  "rxjs": "^7.8.0",
36
29
  "zone.js": "^0.12.0"
@@ -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';
@@ -132,22 +91,3 @@ export * from './transport/TransportLazyModule';
132
91
  export * from './transport/TransportLazyModuleLoadedEvent';
133
92
  export * from './util/ViewUtil';
134
93
  export * from './VICommonModule';
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';
@@ -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
+ }
@@ -0,0 +1,14 @@
1
+ @mixin grayscale($value) {
2
+ filter: none;
3
+ -o-filter: grayscale($value);
4
+ -ms-filter: grayscale($value);
5
+ -moz-filter: grayscale($value);
6
+ -webkit-filter: grayscale($value);
7
+ }
8
+ @mixin invert($value) {
9
+ filter: none;
10
+ -o-filter: invert($value);
11
+ -ms-filter: invert($value);
12
+ -moz-filter: invert($value);
13
+ -webkit-filter: invert($value);
14
+ }
@@ -0,0 +1,27 @@
1
+ @mixin active() {
2
+ @include cursor-mixin(pointer);
3
+ }
4
+ @mixin inactive() {
5
+ @include cursor-mixin(default);
6
+ }
7
+ @mixin move(){
8
+ @include cursor-mixin(move);
9
+ }
10
+ @mixin help(){
11
+ @include cursor-mixin(help);
12
+ }
13
+ @mixin wait(){
14
+ @include cursor-mixin(wait);
15
+ }
16
+ @mixin enabled() {
17
+ @include pointer-events-mixin(auto);
18
+ }
19
+ @mixin disabled() {
20
+ @include pointer-events-mixin(none);
21
+ }
22
+ @mixin cursor-mixin($value) {
23
+ cursor: $value !important;
24
+ }
25
+ @mixin pointer-events-mixin($value) {
26
+ pointer-events: $value !important;
27
+ }
@@ -0,0 +1,20 @@
1
+ @mixin no() {
2
+ overflow-y: hidden;
3
+ overflow-x: hidden;
4
+ -webkit-overflow-scrolling: touch;
5
+ }
6
+ @mixin auto() {
7
+ overflow-y: auto;
8
+ overflow-x: auto;
9
+ -webkit-overflow-scrolling: touch;
10
+ }
11
+ @mixin vertical() {
12
+ overflow-y: auto;
13
+ overflow-x: hidden;
14
+ -webkit-overflow-scrolling: touch;
15
+ }
16
+ @mixin horizontal() {
17
+ overflow-y: hidden;
18
+ overflow-x: auto;
19
+ -webkit-overflow-scrolling: touch;
20
+ }
@@ -0,0 +1,20 @@
1
+ @mixin word-wrap-break-word() {
2
+ word-wrap: break-word;
3
+ }
4
+ @mixin word-break-break-all() {
5
+ word-break: break-all;
6
+ }
7
+ @mixin one-line() {
8
+ min-width: 0;
9
+ overflow: hidden;
10
+ white-space: nowrap;
11
+ text-overflow: ellipsis;
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
+ }
@@ -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,77 +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
- static BLINK_DELAY: number;
12
- static SHAKE_DELAY: number;
13
- private _isBlink;
14
- private blinkTimer;
15
- private _wrapper;
16
- private _backdrop;
17
- private _container;
18
- private _isDisabled;
19
- protected elements: Array<ComponentRef<WindowElement>>;
20
- protected properties: WindowProperties;
21
- protected observer: Subject<string>;
22
- protected subscription: Subscription;
23
- constructor(properties: WindowProperties);
24
- protected elementsCreate(): void;
25
- protected elementsDestroy(): void;
26
- protected elementAdd(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
27
- protected elementRemove(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
28
- protected elementDestroy(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
29
- protected setClosed: () => void;
30
- protected setOpened: () => void;
31
- protected blinkToggle: () => void;
32
- protected setProperties(): void;
33
- protected commitIsBlinkProperties(): void;
34
- protected commitIsDisabledProperties(): void;
35
- protected getConfig(): WindowConfig;
36
- protected getContainer(): HTMLElement;
37
- protected getReference(): MatBottomSheetRef<IWindowContent<T>>;
38
- protected isNeedClickStopPropagation(event: MouseEvent): boolean;
39
- private stopBlinkIfNeed;
40
- protected mouseDownHandler(event: MouseEvent): void;
41
- protected mouseClickHandler(event: MouseEvent): void;
42
- private mouseDownHandlerProxy;
43
- private mouseClickHandlerProxy;
44
- emit(event: string): void;
45
- close(): void;
46
- destroy(): void;
47
- blink(): void;
48
- shake(): void;
49
- setOnTop(): void;
50
- getWidth(): number;
51
- getHeight(): number;
52
- setWidth(value: number, isNeedNotify?: boolean): void;
53
- setHeight(value: number, isNeedNotify?: boolean): void;
54
- setSize(width: number, height: number): void;
55
- getX(): number;
56
- setX(value: number, isNeedNotify?: boolean): void;
57
- getY(): number;
58
- setY(value: number, isNeedNotify?: boolean): void;
59
- move(x: number, y: number): void;
60
- protected get reference(): MatBottomSheetRef<IWindowContent<T>>;
61
- protected get isBlink(): boolean;
62
- protected set isBlink(value: boolean);
63
- protected get isShaking(): boolean;
64
- protected set isShaking(value: boolean);
65
- get events(): Observable<string>;
66
- get config(): WindowConfig;
67
- get content(): IWindowContent;
68
- get container(): HTMLElement;
69
- get wrapper(): HTMLElement;
70
- get backdrop(): HTMLElement;
71
- get isOnTop(): boolean;
72
- set isOnTop(value: boolean);
73
- get isMinimized(): boolean;
74
- set isMinimized(value: boolean);
75
- get isDisabled(): boolean;
76
- set isDisabled(value: boolean);
77
- }
@@ -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,13 +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 commitIsBlinkProperties(): void;
7
- protected commitIsDisabledProperties(): void;
8
- protected commitIsShakingProperties(): void;
9
- protected get blinkClass(): string;
10
- protected get disabledClass(): string;
11
- protected get minimizedClass(): string;
12
- protected get shakingClass(): string;
13
- }
@@ -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
- }