@ts-core/angular 15.0.2 → 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 (161) hide show
  1. package/VICommonModule.d.ts +10 -13
  2. package/application/ApplicationComponent.d.ts +1 -3
  3. package/esm2020/VICommonModule.mjs +4 -14
  4. package/esm2020/application/ApplicationComponent.mjs +2 -3
  5. package/esm2020/application/MessageBaseComponent.mjs +1 -1
  6. package/esm2020/language/LanguageModule.mjs +1 -8
  7. package/esm2020/pipe/CamelCasePipe.mjs +4 -12
  8. package/esm2020/pipe/StartCasePipe.mjs +4 -5
  9. package/esm2020/pipe/TimePipe.mjs +3 -2
  10. package/esm2020/pipe/TruncatePipe.mjs +3 -5
  11. package/esm2020/public-api.mjs +1 -68
  12. package/esm2020/service/PipeBaseService.mjs +1 -1
  13. package/esm2020/theme/ThemeAssetDirective.mjs +1 -1
  14. package/fesm2015/ts-core-angular.mjs +3023 -7419
  15. package/fesm2015/ts-core-angular.mjs.map +1 -1
  16. package/fesm2020/ts-core-angular.mjs +3003 -7397
  17. package/fesm2020/ts-core-angular.mjs.map +1 -1
  18. package/package.json +3 -9
  19. package/pipe/CamelCasePipe.d.ts +0 -1
  20. package/public-api.d.ts +0 -60
  21. package/style/_core.scss +120 -0
  22. package/style/_text.scss +9 -1
  23. package/application/ShellBaseComponent.d.ts +0 -20
  24. package/bottomSheet/BottomSheetImpl.d.ts +0 -66
  25. package/bottomSheet/BottomSheetModule.d.ts +0 -13
  26. package/bottomSheet/BottomSheetService.d.ts +0 -31
  27. package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -8
  28. package/component/VIComponentModule.d.ts +0 -33
  29. package/component/cdk-table/CdkTableBaseComponent.d.ts +0 -60
  30. package/component/cdk-table/CdkTableDataSource.d.ts +0 -13
  31. package/component/cdk-table/CdkTableFilterableMapCollection.d.ts +0 -14
  32. package/component/cdk-table/CdkTablePaginableBookmarkMapCollection.d.ts +0 -11
  33. package/component/cdk-table/CdkTablePaginableMapCollection.d.ts +0 -13
  34. package/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.d.ts +0 -9
  35. package/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.d.ts +0 -18
  36. package/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.d.ts +0 -9
  37. package/component/cdk-table/cell/CdkTableCellClassNamePipe.d.ts +0 -8
  38. package/component/cdk-table/cell/CdkTableCellStyleNamePipe.d.ts +0 -10
  39. package/component/cdk-table/cell/CdkTableCellValuePipe.d.ts +0 -17
  40. package/component/cdk-table/cell/CdkTableCellValuePipePure.d.ts +0 -8
  41. package/component/cdk-table/column/CdkTableColumnClassNamePipe.d.ts +0 -8
  42. package/component/cdk-table/column/CdkTableColumnStyleNamePipe.d.ts +0 -10
  43. package/component/cdk-table/column/ICdkTableColumn.d.ts +0 -25
  44. package/component/cdk-table/row/CdkTableRowClassNamePipe.d.ts +0 -8
  45. package/component/cdk-table/row/CdkTableRowStyleNamePipe.d.ts +0 -10
  46. package/component/cdk-table/row/ICdkTableRow.d.ts +0 -8
  47. package/component/language/language-selector/language-selector.component.d.ts +0 -19
  48. package/component/menu-list/menu-list.component.d.ts +0 -9
  49. package/component/select-list/select-list.component.d.ts +0 -9
  50. package/component/tab-group/tab-group.component.d.ts +0 -18
  51. package/directive/MenuTriggerForDirective.d.ts +0 -11
  52. package/error/WindowClosedError.d.ts +0 -6
  53. package/esm2020/application/ShellBaseComponent.mjs +0 -78
  54. package/esm2020/bottomSheet/BottomSheetImpl.mjs +0 -228
  55. package/esm2020/bottomSheet/BottomSheetModule.mjs +0 -37
  56. package/esm2020/bottomSheet/BottomSheetService.mjs +0 -107
  57. package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +0 -44
  58. package/esm2020/component/VIComponentModule.mjs +0 -117
  59. package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +0 -192
  60. package/esm2020/component/cdk-table/CdkTableDataSource.mjs +0 -58
  61. package/esm2020/component/cdk-table/CdkTableFilterableMapCollection.mjs +0 -94
  62. package/esm2020/component/cdk-table/CdkTablePaginableBookmarkMapCollection.mjs +0 -49
  63. package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +0 -57
  64. package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +0 -37
  65. package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +0 -65
  66. package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +0 -37
  67. package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +0 -25
  68. package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +0 -22
  69. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +0 -77
  70. package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +0 -22
  71. package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +0 -22
  72. package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +0 -22
  73. package/esm2020/component/cdk-table/column/ICdkTableColumn.mjs +0 -2
  74. package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +0 -22
  75. package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +0 -22
  76. package/esm2020/component/cdk-table/row/ICdkTableRow.mjs +0 -2
  77. package/esm2020/component/language/language-selector/language-selector.component.mjs +0 -79
  78. package/esm2020/component/menu-list/menu-list.component.mjs +0 -16
  79. package/esm2020/component/select-list/select-list.component.mjs +0 -16
  80. package/esm2020/component/tab-group/tab-group.component.mjs +0 -82
  81. package/esm2020/directive/MenuTriggerForDirective.mjs +0 -55
  82. package/esm2020/error/WindowClosedError.mjs +0 -19
  83. package/esm2020/language/LanguageMatPaginatorIntl.mjs +0 -60
  84. package/esm2020/language/LanguageMomentDateAdapter.mjs +0 -13
  85. package/esm2020/notification/INotification.mjs +0 -7
  86. package/esm2020/notification/INotificationContent.mjs +0 -132
  87. package/esm2020/notification/NotificationConfig.mjs +0 -16
  88. package/esm2020/notification/NotificationFactory.mjs +0 -19
  89. package/esm2020/notification/NotificationImpl.mjs +0 -139
  90. package/esm2020/notification/NotificationModule.mjs +0 -53
  91. package/esm2020/notification/NotificationProperties.mjs +0 -2
  92. package/esm2020/notification/NotificationService.mjs +0 -239
  93. package/esm2020/notification/component/NotificationBaseComponent.mjs +0 -4
  94. package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +0 -50
  95. package/esm2020/notification/component/notification/notification.component.mjs +0 -61
  96. package/esm2020/service/BootstrapBreakpointService.mjs +0 -116
  97. package/esm2020/window/IWindow.mjs +0 -33
  98. package/esm2020/window/IWindowContent.mjs +0 -132
  99. package/esm2020/window/WindowBase.mjs +0 -168
  100. package/esm2020/window/WindowConfig.mjs +0 -232
  101. package/esm2020/window/WindowFactory.mjs +0 -27
  102. package/esm2020/window/WindowImpl.mjs +0 -354
  103. package/esm2020/window/WindowModule.mjs +0 -58
  104. package/esm2020/window/WindowProperties.mjs +0 -2
  105. package/esm2020/window/WindowService.mjs +0 -366
  106. package/esm2020/window/WindowServiceEvent.mjs +0 -9
  107. package/esm2020/window/component/WindowBaseComponent.mjs +0 -75
  108. package/esm2020/window/component/WindowDragAreaDirective.mjs +0 -97
  109. package/esm2020/window/component/WindowDragable.mjs +0 -69
  110. package/esm2020/window/component/WindowElement.mjs +0 -95
  111. package/esm2020/window/component/WindowQuestionBaseComponent.mjs +0 -17
  112. package/esm2020/window/component/WindowResizeable.mjs +0 -88
  113. package/esm2020/window/component/window-close-element/window-close-element.component.mjs +0 -55
  114. package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +0 -56
  115. package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +0 -75
  116. package/esm2020/window/component/window-question/window-question.component.mjs +0 -50
  117. package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +0 -56
  118. package/language/LanguageMatPaginatorIntl.d.ts +0 -20
  119. package/language/LanguageMomentDateAdapter.d.ts +0 -5
  120. package/notification/INotification.d.ts +0 -26
  121. package/notification/INotificationContent.d.ts +0 -31
  122. package/notification/NotificationConfig.d.ts +0 -13
  123. package/notification/NotificationFactory.d.ts +0 -11
  124. package/notification/NotificationImpl.d.ts +0 -38
  125. package/notification/NotificationModule.d.ts +0 -18
  126. package/notification/NotificationProperties.d.ts +0 -9
  127. package/notification/NotificationService.d.ts +0 -56
  128. package/notification/component/NotificationBaseComponent.d.ts +0 -3
  129. package/notification/component/NotificationQuestionBaseComponent.d.ts +0 -10
  130. package/notification/component/notification/notification.component.d.ts +0 -14
  131. package/service/BootstrapBreakpointService.d.ts +0 -45
  132. package/style/mat/_core.scss +0 -317
  133. package/style/mat/_index.scss +0 -169
  134. package/style/mat/_variables.scss +0 -1
  135. package/style/mat/bootstrap/_background.scss +0 -28
  136. package/style/mat/bootstrap/_border.scss +0 -202
  137. package/style/mat/bootstrap/_index.scss +0 -27
  138. package/style/mat/bootstrap/_text.scss +0 -47
  139. package/style/mat/helper/_theme.scss +0 -96
  140. package/style/mat/helper/_typography.scss +0 -15
  141. package/window/IWindow.d.ts +0 -42
  142. package/window/IWindowContent.d.ts +0 -34
  143. package/window/WindowBase.d.ts +0 -33
  144. package/window/WindowConfig.d.ts +0 -64
  145. package/window/WindowFactory.d.ts +0 -12
  146. package/window/WindowImpl.d.ts +0 -88
  147. package/window/WindowModule.d.ts +0 -20
  148. package/window/WindowProperties.d.ts +0 -9
  149. package/window/WindowService.d.ts +0 -71
  150. package/window/WindowServiceEvent.d.ts +0 -7
  151. package/window/component/WindowBaseComponent.d.ts +0 -20
  152. package/window/component/WindowDragAreaDirective.d.ts +0 -19
  153. package/window/component/WindowDragable.d.ts +0 -13
  154. package/window/component/WindowElement.d.ts +0 -22
  155. package/window/component/WindowQuestionBaseComponent.d.ts +0 -5
  156. package/window/component/WindowResizeable.d.ts +0 -10
  157. package/window/component/window-close-element/window-close-element.component.d.ts +0 -12
  158. package/window/component/window-expand-element/window-expand-element.component.d.ts +0 -12
  159. package/window/component/window-minimize-element/window-minimize-element.component.d.ts +0 -15
  160. package/window/component/window-question/window-question.component.d.ts +0 -12
  161. package/window/component/window-resize-element/window-resize-element.component.d.ts +0 -12
@@ -1,317 +0,0 @@
1
- @use 'sass:map';
2
- @use 'variables' as var;
3
- @use '@angular/material' as mat;
4
-
5
- @use '../text' as text;
6
- @use '../mouse' as mouse;
7
- @use '../scroll' as scroll;
8
- @use 'bootstrap' as bootstrap;
9
-
10
- @import 'bootstrap/scss/functions';
11
- @import 'bootstrap/scss/variables';
12
- @import 'bootstrap/scss/mixins/breakpoints';
13
-
14
- @mixin core() {
15
- @include mat.core();
16
- @include bootstrap.core();
17
-
18
- // Common
19
- p,
20
- h1,
21
- h2,
22
- h3,
23
- h4,
24
- h5,
25
- h6,
26
- body {
27
- padding: 0;
28
- margin: 0;
29
- }
30
-
31
- a:focus,
32
- div:focus,
33
- button:focus {
34
- outline: 0;
35
- }
36
- textarea {
37
- &.cdk-textarea-autosize {
38
- overflow-y: hidden !important;
39
- }
40
- }
41
-
42
- // Material
43
-
44
- mat-chip:focus,
45
- mat-tab-group {
46
- outline: 0;
47
- }
48
- mat-dialog-container {
49
- &:hover:not(.minimized) {
50
- vi-window-resize-element {
51
- display: block !important;
52
- }
53
- }
54
- vi-window-resize-element {
55
- width: 32px;
56
- right: -16px;
57
- bottom: -16px;
58
- display: none !important;
59
- pointer-events: none;
60
- }
61
- }
62
- mat-bottom-sheet-container {
63
- padding: 0 !important;
64
- overflow: visible !important;
65
- & > :first-child {
66
- height: 100%;
67
- border-radius: var.$border-radius;
68
- @include scroll.vertical();
69
- }
70
- }
71
- mat-form-field {
72
- &.no-underline {
73
- .mdc-text-field {
74
- border-bottom-left-radius: var.$border-radius;
75
- border-bottom-right-radius: var.$border-radius;
76
- .mdc-line-ripple {
77
- display: none;
78
- }
79
- }
80
- }
81
- }
82
- mat-dialog-container,
83
- mat-bottom-sheet-container {
84
- vi-window-close-element,
85
- vi-window-expand-element,
86
- vi-window-minimize-element {
87
- top: -16px;
88
- width: 32px;
89
- height: 32px;
90
- }
91
- vi-window-close-element {
92
- right: -16px;
93
- }
94
- vi-window-expand-element,
95
- vi-window-minimize-element {
96
- right: 24px;
97
- }
98
- @include media-breakpoint-down(lg) {
99
- vi-window-close-element {
100
- right: 16px;
101
- }
102
- vi-window-expand-element,
103
- vi-window-minimize-element {
104
- right: 56px;
105
- }
106
- }
107
- }
108
- mat-cell {
109
- color: inherit !important;
110
- }
111
- mat-header-cell {
112
- &:not(:hover),
113
- &.mat-sort-header-disabled {
114
- color: inherit !important;
115
- }
116
- }
117
-
118
- mat-expansion-panel {
119
- border-radius: 0 !important;
120
- border-bottom-width: 1px;
121
- border-bottom-style: solid;
122
- &:last-child {
123
- border-bottom: none !important;
124
- }
125
- &:not([class*='mat-elevation-z']) {
126
- box-shadow: none !important;
127
- }
128
- &.mat-expansion-panel-spacing {
129
- margin: 0 !important;
130
- }
131
- mat-expansion-panel-header {
132
- height: auto !important;
133
- padding: 1rem !important;
134
- &.mat-expanded {
135
- height: auto !important;
136
- }
137
- }
138
- .mat-expansion-panel-body {
139
- padding: 0 !important;
140
- }
141
- }
142
-
143
- mat-progress-bar {
144
- &.border {
145
- height: 1px;
146
- border: none !important;
147
- .mdc-linear-progress__buffer {
148
- .mdc-linear-progress__buffer-dots {
149
- display: none;
150
- }
151
- }
152
- }
153
- &.transparent {
154
- .mdc-linear-progress__buffer {
155
- .mdc-linear-progress__buffer-dots {
156
- display: none;
157
- }
158
- }
159
- }
160
- }
161
- mat-table {
162
- background: none !important;
163
- }
164
- mat-paginator {
165
- background: none !important;
166
- }
167
- .mat-icon {
168
- width: unset !important;
169
- height: unset !important;
170
- }
171
- .cdk-global-scrollblock {
172
- overflow-y: auto;
173
- }
174
- .cdk-overlay-pane {
175
- &.vi-window,
176
- &.vi-notification {
177
- position: absolute !important;
178
- }
179
- &.vi-draggable,
180
- &.vi-resizeable {
181
- border-radius: var.$border-radius;
182
- }
183
- &.vi-window {
184
- border: 2px solid transparent;
185
- }
186
- &.minimized {
187
- height: auto !important;
188
- min-height: 40px !important;
189
- }
190
- &.vi-blink {
191
- border-width: 2px;
192
- border-style: solid;
193
- animation: blink 1s;
194
- animation-iteration-count: 3;
195
- // @keyframes blink { 50% { border-color:#fff ; } }
196
- }
197
- .mat-mdc-select-panel {
198
- padding: 0 !important;
199
- border-style: solid;
200
- border-width: 1px;
201
- border-radius: var.$border-radius;
202
- }
203
- .mat-mdc-menu-content {
204
- padding: 0 !important;
205
- }
206
- .mat-mdc-menu-panel {
207
- max-width: none !important;
208
- max-height: none !important;
209
- min-height: 0px !important;
210
- }
211
- }
212
- .mdc-tooltip__surface {
213
- max-height: inherit !important;
214
- }
215
- .mat-mdc-paginator-range-label {
216
- margin-left: 1rem;
217
- margin-right: 1rem;
218
- }
219
-
220
- // Text
221
- .mat-h1,
222
- .mat-h2,
223
- .mat-h3,
224
- .mat-h4,
225
- .mat-h5,
226
- .mat-h6,
227
- .mat-body,
228
- .mat-body-1,
229
- .mat-body-2,
230
- .mat-body-strong,
231
- .mat-small,
232
- .mat-caption,
233
- .mat-subtitle-1,
234
- .mat-subtitle-2,
235
- .mat-headline-1,
236
- .mat-headline-2,
237
- .mat-headline-3,
238
- .mat-headline-4,
239
- .mat-headline-5,
240
- .mat-headline-6 {
241
- margin: 0;
242
- }
243
-
244
- .text-underline {
245
- text-decoration: underline !important;
246
- }
247
- .text-one-line {
248
- @include text.one-line();
249
- }
250
- .text-multi-line {
251
- @include text.word-wrap-break-word();
252
- @include text.word-break-break-all();
253
- }
254
- .text-word-wrap-break-word {
255
- @include text.word-wrap-break-word();
256
- }
257
- .text-word-break-break-all {
258
- @include text.word-break-break-all();
259
- }
260
- .scroll-no {
261
- @include scroll.no();
262
- }
263
- .scroll-auto {
264
- @include scroll.auto();
265
- }
266
- .scroll-vertical {
267
- @include scroll.vertical();
268
- }
269
- .scroll-horizontal {
270
- @include scroll.horizontal();
271
- }
272
- .mouse-help {
273
- @include mouse.help();
274
- }
275
- .mouse-wait {
276
- @include mouse.wait();
277
- }
278
- .mouse-active {
279
- @include mouse.active();
280
- }
281
- .mouse-enabled {
282
- @include mouse.enabled();
283
- }
284
- .mouse-disabled {
285
- @include mouse.disabled();
286
- }
287
- .mouse-inactive {
288
- @include mouse.inactive();
289
- }
290
- .mouse-disabled {
291
- @include mouse.disabled();
292
- }
293
-
294
- ::-webkit-scrollbar {
295
- width: 14px;
296
- height: 14px;
297
- }
298
- ::-webkit-scrollbar-thumb {
299
- height: 6px;
300
- min-height: 16px;
301
- border: 4px solid;
302
- background-clip: padding-box;
303
- -webkit-border-radius: 7px;
304
- }
305
- ::-webkit-scrollbar-thumb {
306
- border-color: transparent;
307
- -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
308
- }
309
- ::-webkit-scrollbar-corner {
310
- background-color: transparent;
311
- }
312
- ::-webkit-scrollbar-button {
313
- width: 0;
314
- height: 0;
315
- display: none;
316
- }
317
- }
@@ -1,169 +0,0 @@
1
- @forward '../filter' as filter-*;
2
- @forward '../scroll' as scroll-*;
3
- @forward '../mouse' as mouse-*;
4
- @forward '../text' as text-*;
5
-
6
- @forward 'helper/typography' as typography-*;
7
- @forward 'helper/theme' as theme-*;
8
- @forward 'core' show core;
9
-
10
- @use 'sass:map';
11
- @use '@angular/material' as mat;
12
-
13
- @use 'variables' as var;
14
- @use 'bootstrap' as bootstrap;
15
- @use 'helper/typography' as typography;
16
-
17
- @mixin color($theme) {
18
- @include bootstrap.color($theme);
19
-
20
- $primary: map.get($theme, 'primary');
21
- $foreground: map.get($theme, 'foreground');
22
- $background: map.get($theme, 'background');
23
- $border-color: map.get($foreground, 'divider');
24
-
25
- $text-primary: mat.get-color-from-palette($primary);
26
-
27
- body {
28
- color: map.get($foreground, 'text');
29
- background-color: map.get($background, 'body');
30
- }
31
- mat-form-field {
32
- .mdc-text-field {
33
- .mdc-line-ripple::before {
34
- border-bottom-color: $border-color !important;
35
- }
36
- }
37
- .mdc-text-field--outlined {
38
- &:not(.mdc-text-field--disabled) {
39
- .mdc-notched-outline__notch,
40
- .mdc-notched-outline__leading,
41
- .mdc-notched-outline__trailing {
42
- border-color: $border-color !important;
43
- }
44
- &:hover {
45
- .mdc-notched-outline__notch,
46
- .mdc-notched-outline__leading,
47
- .mdc-notched-outline__trailing {
48
- border-color: mat.get-color-from-palette($foreground, 'base') !important;
49
- }
50
- }
51
- &.mdc-text-field--focused {
52
- .mdc-notched-outline__notch,
53
- .mdc-notched-outline__leading,
54
- .mdc-notched-outline__trailing {
55
- border-color: mat.get-color-from-palette($primary) !important;
56
- }
57
- }
58
- }
59
- }
60
- }
61
- mat-expansion-panel {
62
- border-bottom-color: $border-color;
63
- }
64
- mat-progress-bar {
65
- &.border {
66
- &:not(.transparent) {
67
- .mdc-linear-progress__buffer {
68
- .mdc-linear-progress__buffer-bar {
69
- background-color: $border-color !important;
70
- }
71
- }
72
- }
73
- }
74
- &.transparent {
75
- .mdc-linear-progress__buffer {
76
- .mdc-linear-progress__buffer-bar {
77
- background-color: transparent !important;
78
- }
79
- }
80
- }
81
- }
82
- mat-cell {
83
- border-bottom-color: $border-color !important;
84
- &:last-child {
85
- border-bottom-color: transparent;
86
- }
87
- &.active {
88
- background-color: map.get($background, 'hover') !important;
89
- }
90
- }
91
- .cdk-overlay-pane {
92
- &.vi-blink {
93
- border-color: $text-primary;
94
- }
95
- .mat-mdc-select-panel {
96
- border-color: $border-color;
97
- }
98
- }
99
- .cdk-overlay-dark-backdrop {
100
- background: rgba(0, 0, 0, 0.32);
101
- }
102
-
103
- $thumb-color: rgba(0, 0, 0, 0.15);
104
- @if map.get($theme, 'is-dark') {
105
- $thumb-color: rgba(255, 255, 255, 0.1);
106
- .mat-drawer-backdrop {
107
- &.mat-drawer-shown {
108
- background-color: rgba(0, 0, 0, 0.8);
109
- }
110
- }
111
- }
112
- ::-webkit-scrollbar-thumb {
113
- background-color: $thumb-color;
114
- }
115
- }
116
-
117
- @mixin typography($typography) {
118
- @include bootstrap.typography($typography);
119
-
120
- body {
121
- @include typography.level($typography, 'body-1', false);
122
- }
123
- .mat-headline-1 {
124
- @include typography.level($typography, 'headline-1');
125
- }
126
- .mat-headline-2 {
127
- @include typography.level($typography, 'headline-2');
128
- }
129
- .mat-headline-3 {
130
- @include typography.level($typography, 'headline-3');
131
- }
132
- .mat-headline-4 {
133
- @include typography.level($typography, 'headline-4');
134
- }
135
- .mat-headline-5 {
136
- @include typography.level($typography, 'headline-5');
137
- }
138
- .mat-headline-6 {
139
- @include typography.level($typography, 'headline-6');
140
- }
141
- .mat-subtitle-2 {
142
- @include typography.level($typography, 'subtitle-2');
143
- }
144
- .mat-subtitle-1 {
145
- @include typography.level($typography, 'subtitle-1');
146
- }
147
- .mat-body-2 {
148
- @include typography.level($typography, 'body-2');
149
- }
150
- .mat-body-1 {
151
- @include typography.level($typography, 'body-1');
152
- }
153
- .mat-caption {
154
- @include typography.level($typography, 'caption');
155
- }
156
- .mat-button {
157
- @include typography.level($typography, 'button');
158
- }
159
- }
160
- @mixin theme($theme, $typography) {
161
- $color: mat.get-color-config($theme);
162
- @if $color != null {
163
- @include color($theme);
164
- }
165
- @if $typography != null {
166
- @include typography($typography);
167
- }
168
- }
169
-
@@ -1 +0,0 @@
1
- $border-radius: 4px !default;
@@ -1,28 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin color($theme) {
5
- $color: mat.get-color-config($theme);
6
- $primary: map.get($color, 'primary');
7
- $foreground: map.get($color, 'foreground');
8
- $background: map.get($color, 'background');
9
-
10
- .background {
11
- background-color: map.get($background, 'background') !important;
12
- }
13
- .background-body {
14
- background-color: map.get($background, 'body') !important;
15
- }
16
- }
17
-
18
- @mixin typography($typography) {
19
- }
20
- @mixin theme($theme, $typography) {
21
- $color: mat.get-color-config($theme);
22
- @if $color != null {
23
- @include color($theme);
24
- }
25
- @if $typography != null {
26
- @include typography($typography);
27
- }
28
- }
@@ -1,202 +0,0 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use '../variables' as var;
4
-
5
- @import 'bootstrap/scss/functions';
6
- @import 'bootstrap/scss/variables';
7
- @import 'bootstrap/scss/mixins/breakpoints';
8
-
9
- @mixin core() {
10
- $border-radius: var.$border-radius;
11
- // Rounded
12
- .rounded {
13
- border-radius: $border-radius !important;
14
- }
15
- .rounded-top {
16
- border-top-left-radius: $border-radius !important;
17
- border-top-right-radius: $border-radius !important;
18
- }
19
- .rounded-right {
20
- border-top-right-radius: $border-radius !important;
21
- border-bottom-right-radius: $border-radius !important;
22
- }
23
- .rounded-bottom {
24
- border-bottom-right-radius: $border-radius !important;
25
- border-bottom-left-radius: $border-radius !important;
26
- }
27
- .rounded-left {
28
- border-top-left-radius: $border-radius !important;
29
- border-bottom-left-radius: $border-radius !important;
30
- }
31
- .rounded-circle {
32
- border-radius: 50% !important;
33
- }
34
- }
35
-
36
- @mixin color($theme) {
37
- $warn: map.get($theme, 'warn');
38
- $accent: map.get($theme, 'accent');
39
- $primary: map.get($theme, 'primary');
40
- $is-dark: map.get($theme, 'is-dark');
41
- $foreground: map.get($theme, 'foreground');
42
-
43
- $base-color: map.get($foreground, 'base');
44
- $base-color-invert: map.get($foreground, 'base-invert');
45
-
46
- $border-color: map.get($foreground, 'divider');
47
-
48
- $warn-color: mat.get-color-from-palette($warn);
49
- $accent-color: mat.get-color-from-palette($accent);
50
- $primary-color: mat.get-color-from-palette($primary);
51
-
52
- $border-width: 1px;
53
-
54
- @each $breakpoint in map-keys($grid-breakpoints) {
55
- @include media-breakpoint-up($breakpoint) {
56
- $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
57
- @include border-mixin($infix, $border-width, $border-color);
58
- }
59
- }
60
-
61
- // Main colors
62
- .border-warn {
63
- border-color: $warn-color !important;
64
- }
65
- .border-warn-hover {
66
- &:hover {
67
- border-color: $warn-color !important;
68
- }
69
- }
70
- .border-accent {
71
- border-color: $accent-color !important;
72
- }
73
- .border-accent-hover {
74
- &:hover {
75
- border-color: $accent-color !important;
76
- }
77
- }
78
- .border-primary {
79
- border-color: $primary-color !important;
80
- }
81
- .border-primary-hover {
82
- &:hover {
83
- border-color: $primary-color !important;
84
- }
85
- }
86
- .border-base {
87
- border-color: $base-color !important;
88
- }
89
- .border-base-hover {
90
- &:hover {
91
- border-color: $base-color !important;
92
- }
93
- }
94
- .border-base-invert {
95
- border-color: $base-color-invert !important;
96
- }
97
- .border-base-invert-hover {
98
- &:hover {
99
- border-color: $base-color-invert !important;
100
- }
101
- }
102
- }
103
-
104
- @mixin border-mixin($infix, $width, $color) {
105
- // Transparent
106
- .border-transparent {
107
- border-width: $width;
108
- border-color: transparent !important;
109
- border-style: solid !important;
110
- }
111
- // Top
112
- .border#{$infix}-top {
113
- border-top-width: $width;
114
- border-top-color: $color !important;
115
- border-top-style: solid !important;
116
- }
117
- .border#{$infix}-top-0 {
118
- border-top-style: none !important;
119
- }
120
- // Right
121
- .border#{$infix}-right {
122
- border-right-width: $width;
123
- border-right-color: $color !important;
124
- border-right-style: solid !important;
125
- }
126
- .border#{$infix}-right-0 {
127
- border-right-style: none !important;
128
- }
129
- // Bottom
130
- .border#{$infix}-bottom {
131
- border-bottom-width: $width;
132
- border-bottom-color: $color !important;
133
- border-bottom-style: solid !important;
134
- }
135
- .border#{$infix}-bottom-0 {
136
- border-bottom-style: none !important;
137
- }
138
- // Left
139
- .border#{$infix}-left {
140
- border-left-width: $width;
141
- border-left-color: $color !important;
142
- border-left-style: solid !important;
143
- }
144
- .border#{$infix}-left-0 {
145
- border-left-style: none !important;
146
- }
147
-
148
- // X
149
- .border#{$infix}-x {
150
- border-left-width: $width;
151
- border-left-color: $color !important;
152
- border-left-style: solid !important;
153
-
154
- border-right-width: $width;
155
- border-right-color: $color !important;
156
- border-right-style: solid !important;
157
- }
158
- .border#{$infix}-x-0 {
159
- border-left-style: none !important;
160
- border-right-style: none !important;
161
- }
162
-
163
- // Default
164
- .border#{$infix} {
165
- border-width: $width;
166
- border-color: $color !important;
167
- border-style: solid !important;
168
- &.dashed {
169
- border-style: dashed !important;
170
- }
171
- }
172
- .border#{$infix}-0 {
173
- border-style: none !important;
174
- }
175
-
176
- // Y
177
- .border#{$infix}-y {
178
- border-top-width: $width;
179
- border-top-color: $color !important;
180
- border-top-style: solid !important;
181
-
182
- border-bottom-width: $width;
183
- border-bottom-color: $color;
184
- border-bottom-style: solid !important;
185
- }
186
- .border#{$infix}-x-0 {
187
- border-top-style: none !important;
188
- border-bottom-style: none !important;
189
- }
190
- }
191
-
192
- @mixin typography($typography) {
193
- }
194
- @mixin theme($theme, $typography) {
195
- $color: mat.get-color-config($theme);
196
- @if $color != null {
197
- @include color($theme);
198
- }
199
- @if $typography != null {
200
- @include typography($typography);
201
- }
202
- }