@messaia/cdk 13.3.5 → 13.3.6-rc01
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/esm2020/lib/base/base.module.mjs +26 -8
- package/esm2020/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +93 -0
- package/esm2020/lib/base/components/generic-list.component.mjs +22 -2
- package/esm2020/lib/forms/components/generic-form/generic-form.component.mjs +9 -2
- package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +97 -21
- package/esm2020/lib/table/components/filter-clear.component.mjs +3 -3
- package/esm2020/lib/table/components/filter-date.component.mjs +3 -3
- package/esm2020/lib/table/components/filter-input.component.mjs +3 -3
- package/esm2020/lib/table/components/filter-select.component.mjs +3 -3
- package/esm2020/lib/table/functions/decorators.mjs +5 -3
- package/esm2020/lib/table/functions/functions.mjs +2 -2
- package/esm2020/lib/table/models/table-column-config.mjs +63 -0
- package/esm2020/lib/table/models/table-column.mjs +2 -1
- package/esm2020/lib/table/table.module.mjs +2 -1
- package/fesm2015/messaia-cdk.mjs +3014 -2751
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +2993 -2735
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/base.module.d.ts +14 -5
- package/lib/base/components/dynamic-table-config-dialog.comnponent.d.ts +39 -0
- package/lib/base/components/generic-list.component.d.ts +4 -0
- package/lib/common/styles/_layout.scss +149 -92
- package/lib/forms/components/generic-form/generic-form.component.d.ts +5 -1
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +47 -9
- package/lib/table/components/filter-clear.component.d.ts +1 -1
- package/lib/table/components/filter-date.component.d.ts +1 -1
- package/lib/table/components/filter-input.component.d.ts +1 -1
- package/lib/table/components/filter-select.component.d.ts +1 -1
- package/lib/table/models/table-column-config.d.ts +30 -0
- package/lib/table/models/table-column.d.ts +2 -0
- package/lib/table/table.module.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseComponent } from './components/base.component';
|
|
2
|
+
import { VdDynamicTableConfigDialogComponent } from './components/dynamic-table-config-dialog.comnponent';
|
|
2
3
|
import { GenericFormBaseComponent } from './components/generic-form-base.component';
|
|
3
4
|
import { GenericFormComponent } from './components/generic-form.component';
|
|
4
5
|
import { GenericListComponent } from './components/generic-list.component';
|
|
@@ -14,12 +15,20 @@ import { FileService } from './services/file.service';
|
|
|
14
15
|
import { LoadingScreenService } from './services/loading-screen.service';
|
|
15
16
|
import { PrintService } from './services/print.service';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "@angular/
|
|
18
|
-
import * as i2 from "
|
|
19
|
-
import * as i3 from "@angular/
|
|
20
|
-
|
|
18
|
+
import * as i1 from "@angular/material/button";
|
|
19
|
+
import * as i2 from "./components/dynamic-table-config-dialog.comnponent";
|
|
20
|
+
import * as i3 from "@angular/common";
|
|
21
|
+
import * as i4 from "@angular/forms";
|
|
22
|
+
import * as i5 from "@angular/material/dialog";
|
|
23
|
+
import * as i6 from "../table/table.module";
|
|
24
|
+
export { AuthUser, MessageType, AuthHelper, BaseComponent, GenericListComponent, GenericFormComponent, GenericFormBaseComponent, GenericReactiveFormComponent, VdDynamicTableConfigDialogComponent, BaseInterceptor, CachingInterceptor, LoadingScreenInterceptor, FileService, LoadingScreenService, PrintService, Common };
|
|
25
|
+
export declare class MaterialModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, never, [typeof i1.MatButtonModule]>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
|
|
29
|
+
}
|
|
21
30
|
export declare class VdBaseModule {
|
|
22
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdBaseModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdBaseModule,
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VdBaseModule, [typeof i2.VdDynamicTableConfigDialogComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.MatDialogModule, typeof i6.VdTableModule, typeof MaterialModule], [typeof i2.VdDynamicTableConfigDialogComponent]>;
|
|
24
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<VdBaseModule>;
|
|
25
34
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { VdDynamicTableComponent } from '../../table/components/dynamic-table/dynamic-table.component';
|
|
5
|
+
import { TableColumnConfig } from '../../table/models/table-column-config';
|
|
6
|
+
import { BaseComponent } from './base.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class VdDynamicTableConfigDialogComponent extends BaseComponent {
|
|
9
|
+
protected route: ActivatedRoute;
|
|
10
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
11
|
+
dialogRef: MatDialogRef<VdDynamicTableConfigDialogComponent>;
|
|
12
|
+
dynamicTable: VdDynamicTableComponent;
|
|
13
|
+
/**
|
|
14
|
+
* columns: TableColumn[]
|
|
15
|
+
*/
|
|
16
|
+
columns: TableColumnConfig[];
|
|
17
|
+
/**
|
|
18
|
+
* classType: typeof TableColumnConfig
|
|
19
|
+
*/
|
|
20
|
+
classType: typeof TableColumnConfig;
|
|
21
|
+
/**
|
|
22
|
+
* Constructor
|
|
23
|
+
*/
|
|
24
|
+
constructor(route: ActivatedRoute, changeDetectorRef: ChangeDetectorRef, dialogRef: MatDialogRef<VdDynamicTableConfigDialogComponent>, dynamicTable: VdDynamicTableComponent);
|
|
25
|
+
/**
|
|
26
|
+
* Saves config
|
|
27
|
+
*/
|
|
28
|
+
save(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Applies config
|
|
31
|
+
*/
|
|
32
|
+
apply(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Updates the columns
|
|
35
|
+
*/
|
|
36
|
+
updateColumns(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VdDynamicTableConfigDialogComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableConfigDialogComponent, "vd-dynamic-table-config-dialog", never, {}, {}, never, never>;
|
|
39
|
+
}
|
|
@@ -219,6 +219,10 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
|
|
|
219
219
|
* @param item
|
|
220
220
|
*/
|
|
221
221
|
trackById(_: number, item: any): any;
|
|
222
|
+
/**
|
|
223
|
+
* Opens the config dialog
|
|
224
|
+
*/
|
|
225
|
+
openConfigDialog(): void;
|
|
222
226
|
/**
|
|
223
227
|
* Includes some navigations
|
|
224
228
|
* @param inc
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// ------------------------------
|
|
5
5
|
|
|
6
6
|
$baseline-grid: 8px !default;
|
|
7
|
-
$layout-gutter-width: (
|
|
7
|
+
$layout-gutter-width: (
|
|
8
|
+
$baseline-grid * 2) !default;
|
|
8
9
|
|
|
9
10
|
$layout-breakpoint-xs: 600px !default;
|
|
10
11
|
$layout-breakpoint-sm: 960px !default;
|
|
@@ -21,7 +22,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
@mixin flex-order-for-name($sizes: null) {
|
|
24
|
-
@if $sizes ==
|
|
25
|
+
@if $sizes ==null {
|
|
25
26
|
$sizes: '';
|
|
26
27
|
|
|
27
28
|
[flex-order] {
|
|
@@ -34,9 +35,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
34
35
|
$suffix: '';
|
|
35
36
|
|
|
36
37
|
@each $s in $sizes {
|
|
37
|
-
@if $s
|
|
38
|
+
@if $s !='' {
|
|
38
39
|
$suffix: '-#{$s}="#{$i}"';
|
|
39
|
-
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@else {
|
|
40
43
|
$suffix: '="#{$i}"';
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -50,7 +53,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
@mixin offset-for-name($sizes: null) {
|
|
53
|
-
@if $sizes ==
|
|
56
|
+
@if $sizes ==null {
|
|
54
57
|
$sizes: '';
|
|
55
58
|
}
|
|
56
59
|
|
|
@@ -59,9 +62,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
59
62
|
$suffix: '';
|
|
60
63
|
|
|
61
64
|
@each $s in $sizes {
|
|
62
|
-
@if $s
|
|
65
|
+
@if $s !='' {
|
|
63
66
|
$suffix: '-#{$s}="#{$i * 5}"';
|
|
64
|
-
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@else {
|
|
65
70
|
$suffix: '="#{$i * 5}"';
|
|
66
71
|
}
|
|
67
72
|
|
|
@@ -78,9 +83,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
78
83
|
$suffix: '';
|
|
79
84
|
|
|
80
85
|
@each $s in $sizes {
|
|
81
|
-
@if $s
|
|
86
|
+
@if $s !='' {
|
|
82
87
|
$suffix: '-#{$s}="#{$i}"';
|
|
83
|
-
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@else {
|
|
84
91
|
$suffix: '="#{$i}"';
|
|
85
92
|
}
|
|
86
93
|
|
|
@@ -88,35 +95,39 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
88
95
|
}
|
|
89
96
|
|
|
90
97
|
#{$offsets} {
|
|
91
|
-
margin-left: calc(100% / 3
|
|
92
|
-
|
|
98
|
+
margin-left: calc(100% / 3
|
|
99
|
+
);
|
|
93
100
|
}
|
|
101
|
+
}
|
|
94
102
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
@each $s in $sizes {
|
|
100
|
-
@if $s != '' {
|
|
101
|
-
$suffix: '-#{$s}="#{$i}"';
|
|
102
|
-
} @else {
|
|
103
|
-
$suffix: '="#{$i}"';
|
|
104
|
-
}
|
|
103
|
+
@each $i in 66 {
|
|
104
|
+
$offsets: '';
|
|
105
|
+
$suffix: '';
|
|
105
106
|
|
|
106
|
-
|
|
107
|
+
@each $s in $sizes {
|
|
108
|
+
@if $s !='' {
|
|
109
|
+
$suffix: '-#{$s}="#{$i}"';
|
|
107
110
|
}
|
|
108
111
|
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
@else {
|
|
113
|
+
$suffix: '="#{$i}"';
|
|
111
114
|
}
|
|
115
|
+
|
|
116
|
+
$offsets: '[flex-offset#{$suffix}]';
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#{$offsets} {
|
|
120
|
+
margin-left: calc(200% / 3);
|
|
112
121
|
}
|
|
113
122
|
}
|
|
123
|
+
}
|
|
114
124
|
|
|
115
125
|
@mixin layout-for-name($name: null) {
|
|
116
|
-
@if $name ==
|
|
126
|
+
@if $name ==null {
|
|
117
127
|
$name: '';
|
|
118
128
|
}
|
|
119
|
-
|
|
129
|
+
|
|
130
|
+
@if $name !='' {
|
|
120
131
|
$name: '-#{$name}';
|
|
121
132
|
}
|
|
122
133
|
|
|
@@ -130,9 +141,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
130
141
|
display: -ms-flexbox;
|
|
131
142
|
display: flex;
|
|
132
143
|
}
|
|
144
|
+
|
|
133
145
|
[layout#{$name}='column'] {
|
|
134
146
|
flex-direction: column;
|
|
135
147
|
}
|
|
148
|
+
|
|
136
149
|
[layout#{$name}='row'] {
|
|
137
150
|
flex-direction: row;
|
|
138
151
|
}
|
|
@@ -140,10 +153,13 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
140
153
|
|
|
141
154
|
@mixin flex-properties-for-name($name: null) {
|
|
142
155
|
$flexName: 'flex';
|
|
143
|
-
|
|
156
|
+
|
|
157
|
+
@if $name !=null {
|
|
144
158
|
$flexName: 'flex-#{$name}';
|
|
145
159
|
$name: '-#{$name}';
|
|
146
|
-
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@else {
|
|
147
163
|
$name: '';
|
|
148
164
|
}
|
|
149
165
|
|
|
@@ -151,6 +167,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
151
167
|
flex: 1;
|
|
152
168
|
box-sizing: border-box;
|
|
153
169
|
}
|
|
170
|
+
|
|
154
171
|
// === flex: 1 1 0%;
|
|
155
172
|
|
|
156
173
|
// IE mediaQuery hack for 8,9,10 to set the flex-basis properly for 'flex' values
|
|
@@ -169,26 +186,31 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
169
186
|
flex: 1 1 100%;
|
|
170
187
|
box-sizing: border-box;
|
|
171
188
|
}
|
|
189
|
+
|
|
172
190
|
[#{$flexName}='initial'],
|
|
173
191
|
[#{$flexName}-initial] {
|
|
174
192
|
flex: 0 1 auto;
|
|
175
193
|
box-sizing: border-box;
|
|
176
194
|
}
|
|
195
|
+
|
|
177
196
|
[#{$flexName}='auto'],
|
|
178
197
|
[#{$flexName}-auto] {
|
|
179
198
|
flex: 1 1 auto;
|
|
180
199
|
box-sizing: border-box;
|
|
181
200
|
}
|
|
201
|
+
|
|
182
202
|
[#{$flexName}='none'],
|
|
183
203
|
[#{$flexName}-none] {
|
|
184
204
|
flex: 0 0 auto;
|
|
185
205
|
box-sizing: border-box;
|
|
186
206
|
}
|
|
207
|
+
|
|
187
208
|
[#{$flexName}='noshrink'],
|
|
188
209
|
[#{$flexName}-noshrink] {
|
|
189
210
|
flex: 1 0 auto;
|
|
190
211
|
box-sizing: border-box;
|
|
191
212
|
}
|
|
213
|
+
|
|
192
214
|
[#{$flexName}='nogrow'],
|
|
193
215
|
[#{$flexName}-nogrow] {
|
|
194
216
|
flex: 0 1 auto;
|
|
@@ -206,16 +228,16 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
206
228
|
box-sizing: border-box;
|
|
207
229
|
}
|
|
208
230
|
|
|
209
|
-
[layout='row']
|
|
210
|
-
[layout#{$name}='row']
|
|
231
|
+
[layout='row']>[#{$flexName}='#{$i * 5}'],
|
|
232
|
+
[layout#{$name}='row']>[#{$flexName}='#{$i * 5}'] {
|
|
211
233
|
flex: 1 1 #{$value};
|
|
212
234
|
max-width: #{$value};
|
|
213
235
|
max-height: 100%;
|
|
214
236
|
box-sizing: border-box;
|
|
215
237
|
}
|
|
216
238
|
|
|
217
|
-
[layout='column']
|
|
218
|
-
[layout#{$name}='column']
|
|
239
|
+
[layout='column']>[#{$flexName}='#{$i * 5}'],
|
|
240
|
+
[layout#{$name}='column']>[#{$flexName}='#{$i * 5}'] {
|
|
219
241
|
flex: 1 1 #{$value};
|
|
220
242
|
max-width: 100%;
|
|
221
243
|
max-height: #{$value};
|
|
@@ -225,60 +247,69 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
225
247
|
|
|
226
248
|
[layout='row'],
|
|
227
249
|
[layout#{$name}='row'] {
|
|
228
|
-
|
|
229
|
-
>
|
|
250
|
+
|
|
251
|
+
>[#{$flexName}='33'],
|
|
252
|
+
>[#{$flexName}='33'] {
|
|
230
253
|
flex: 1 1 33%;
|
|
231
254
|
max-width: calc(100% / 3);
|
|
232
255
|
max-height: 100%;
|
|
233
256
|
box-sizing: border-box;
|
|
234
257
|
}
|
|
235
|
-
|
|
236
|
-
>
|
|
258
|
+
|
|
259
|
+
>[#{$flexName}='34'],
|
|
260
|
+
>[#{$flexName}='34'] {
|
|
237
261
|
flex: 1 1 34%;
|
|
238
262
|
max-width: 34%;
|
|
239
263
|
max-height: 100%;
|
|
240
264
|
box-sizing: border-box;
|
|
241
265
|
}
|
|
242
|
-
|
|
243
|
-
>
|
|
266
|
+
|
|
267
|
+
>[#{$flexName}='66'],
|
|
268
|
+
>[#{$flexName}='66'] {
|
|
244
269
|
flex: 1 1 66%;
|
|
245
270
|
max-width: calc(200% / 3);
|
|
246
271
|
max-height: 100%;
|
|
247
272
|
box-sizing: border-box;
|
|
248
273
|
}
|
|
249
|
-
|
|
250
|
-
>
|
|
274
|
+
|
|
275
|
+
>[#{$flexName}='67'],
|
|
276
|
+
>[#{$flexName}='67'] {
|
|
251
277
|
flex: 1 1 67%;
|
|
252
278
|
max-width: 67%;
|
|
253
279
|
max-height: 100%;
|
|
254
280
|
box-sizing: border-box;
|
|
255
281
|
}
|
|
256
282
|
}
|
|
283
|
+
|
|
257
284
|
[layout='column'],
|
|
258
285
|
[layout#{$name}='column'] {
|
|
259
|
-
|
|
260
|
-
>
|
|
286
|
+
|
|
287
|
+
>[#{$flexName}='33'],
|
|
288
|
+
>[#{$flexName}='33'] {
|
|
261
289
|
flex: 1 1 33%;
|
|
262
290
|
max-width: 100%;
|
|
263
291
|
max-height: calc(100% / 3);
|
|
264
292
|
box-sizing: border-box;
|
|
265
293
|
}
|
|
266
|
-
|
|
267
|
-
>
|
|
294
|
+
|
|
295
|
+
>[#{$flexName}='34'],
|
|
296
|
+
>[#{$flexName}='34'] {
|
|
268
297
|
flex: 1 1 34%;
|
|
269
298
|
max-width: 100%;
|
|
270
299
|
max-height: 34%;
|
|
271
300
|
box-sizing: border-box;
|
|
272
301
|
}
|
|
273
|
-
|
|
274
|
-
>
|
|
302
|
+
|
|
303
|
+
>[#{$flexName}='66'],
|
|
304
|
+
>[#{$flexName}='66'] {
|
|
275
305
|
flex: 1 1 66%;
|
|
276
306
|
max-width: 100%;
|
|
277
307
|
max-height: calc(200% / 3);
|
|
278
308
|
box-sizing: border-box;
|
|
279
309
|
}
|
|
280
|
-
|
|
281
|
-
>
|
|
310
|
+
|
|
311
|
+
>[#{$flexName}='67'],
|
|
312
|
+
>[#{$flexName}='67'] {
|
|
282
313
|
flex: 1 1 67%;
|
|
283
314
|
max-width: 100%;
|
|
284
315
|
max-height: 67%;
|
|
@@ -295,17 +326,20 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
295
326
|
// ------------------------------
|
|
296
327
|
|
|
297
328
|
$name: 'layout-align';
|
|
298
|
-
|
|
329
|
+
|
|
330
|
+
@if $suffix !=null {
|
|
299
331
|
$name: 'layout-align-#{$suffix}';
|
|
300
332
|
}
|
|
301
333
|
|
|
302
334
|
[#{$name}],
|
|
303
|
-
|
|
304
|
-
|
|
335
|
+
[#{$name}="start stretch"] // defaults
|
|
336
|
+
|
|
337
|
+
{
|
|
305
338
|
justify-content: flex-start;
|
|
306
339
|
align-content: stretch;
|
|
307
340
|
align-items: stretch;
|
|
308
341
|
}
|
|
342
|
+
|
|
309
343
|
// Main Axis Center
|
|
310
344
|
[#{$name}='start'],
|
|
311
345
|
[#{$name}='start start'],
|
|
@@ -325,29 +359,32 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
325
359
|
}
|
|
326
360
|
|
|
327
361
|
// Main Axis End
|
|
328
|
-
[#{$name}="end"],
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
362
|
+
[#{$name}="end"],
|
|
363
|
+
//stretch
|
|
364
|
+
[#{$name}="end center"],
|
|
365
|
+
[#{$name}="end start"],
|
|
366
|
+
[#{$name}="end end"],
|
|
367
|
+
[#{$name}="end stretch"] {
|
|
333
368
|
justify-content: flex-end;
|
|
334
369
|
}
|
|
335
370
|
|
|
336
371
|
// Main Axis Space Around
|
|
337
|
-
[#{$name}="space-around"],
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
372
|
+
[#{$name}="space-around"],
|
|
373
|
+
//stretch
|
|
374
|
+
[#{$name}="space-around center"],
|
|
375
|
+
[#{$name}="space-around start"],
|
|
376
|
+
[#{$name}="space-around end"],
|
|
377
|
+
[#{$name}="space-around stretch"] {
|
|
342
378
|
justify-content: space-around;
|
|
343
379
|
}
|
|
344
380
|
|
|
345
381
|
// Main Axis Space Between
|
|
346
|
-
[#{$name}="space-between"],
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
382
|
+
[#{$name}="space-between"],
|
|
383
|
+
//stretch
|
|
384
|
+
[#{$name}="space-between center"],
|
|
385
|
+
[#{$name}="space-between start"],
|
|
386
|
+
[#{$name}="space-between end"],
|
|
387
|
+
[#{$name}="space-between stretch"] {
|
|
351
388
|
justify-content: space-between;
|
|
352
389
|
}
|
|
353
390
|
|
|
@@ -377,18 +414,18 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
377
414
|
max-width: 100%;
|
|
378
415
|
|
|
379
416
|
// IE11 overflow https://github.com/philipwalton/flexbugs#2-column-flex-items-set-to-align-itemscenter-overflow-their-container
|
|
380
|
-
|
|
417
|
+
&>* {
|
|
381
418
|
max-width: 100%;
|
|
382
419
|
box-sizing: border-box;
|
|
383
420
|
}
|
|
384
421
|
}
|
|
385
422
|
|
|
386
423
|
// Cross Axis Center IE overflow fix
|
|
387
|
-
[#{$name}='start center']
|
|
388
|
-
[#{$name}='center center']
|
|
389
|
-
[#{$name}='end center']
|
|
390
|
-
[#{$name}='space-between center']
|
|
391
|
-
[#{$name}='space-around center']
|
|
424
|
+
[#{$name}='start center']>*,
|
|
425
|
+
[#{$name}='center center']>*,
|
|
426
|
+
[#{$name}='end center']>*,
|
|
427
|
+
[#{$name}='space-between center']>*,
|
|
428
|
+
[#{$name}='space-around center']>* {
|
|
392
429
|
max-width: 100%;
|
|
393
430
|
box-sizing: border-box;
|
|
394
431
|
}
|
|
@@ -415,37 +452,40 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
415
452
|
}
|
|
416
453
|
|
|
417
454
|
@mixin layout-padding-margin() {
|
|
418
|
-
|
|
419
|
-
[layout-padding]
|
|
455
|
+
|
|
456
|
+
[layout-padding]>[flex-sm],
|
|
457
|
+
[layout-padding]>[flex-lt-md] {
|
|
420
458
|
padding: math.div($layout-gutter-width, 4);
|
|
421
459
|
}
|
|
460
|
+
|
|
422
461
|
[layout-padding],
|
|
423
|
-
[layout-padding]
|
|
424
|
-
[layout-padding]
|
|
425
|
-
[layout-padding]
|
|
426
|
-
[layout-padding]
|
|
462
|
+
[layout-padding]>[flex],
|
|
463
|
+
[layout-padding]>[flex-gt-sm],
|
|
464
|
+
[layout-padding]>[flex-md],
|
|
465
|
+
[layout-padding]>[flex-lt-lg] {
|
|
427
466
|
padding: math.div($layout-gutter-width, 2);
|
|
428
467
|
}
|
|
429
|
-
|
|
430
|
-
[layout-padding]
|
|
468
|
+
|
|
469
|
+
[layout-padding]>[flex-gt-md],
|
|
470
|
+
[layout-padding]>[flex-lg] {
|
|
431
471
|
padding: math.div($layout-gutter-width, 1);
|
|
432
472
|
}
|
|
433
473
|
|
|
434
|
-
[layout-margin]
|
|
435
|
-
[layout-margin]
|
|
474
|
+
[layout-margin]>[flex-sm],
|
|
475
|
+
[layout-margin]>[flex-lt-md] {
|
|
436
476
|
margin: math.div($layout-gutter-width, 4);
|
|
437
477
|
}
|
|
438
478
|
|
|
439
479
|
[layout-margin],
|
|
440
|
-
[layout-margin]
|
|
441
|
-
[layout-margin]
|
|
442
|
-
[layout-margin]
|
|
443
|
-
[layout-margin]
|
|
480
|
+
[layout-margin]>[flex],
|
|
481
|
+
[layout-margin]>[flex-gt-sm],
|
|
482
|
+
[layout-margin]>[flex-md],
|
|
483
|
+
[layout-margin]>[flex-lt-lg] {
|
|
444
484
|
margin: math.div($layout-gutter-width, 2);
|
|
445
485
|
}
|
|
446
486
|
|
|
447
|
-
[layout-margin]
|
|
448
|
-
[layout-margin]
|
|
487
|
+
[layout-margin]>[flex-gt-md],
|
|
488
|
+
[layout-margin]>[flex-lg] {
|
|
449
489
|
margin: math.div($layout-gutter-width, 1);
|
|
450
490
|
}
|
|
451
491
|
|
|
@@ -494,7 +534,8 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
494
534
|
* $layout-breakpoint-md: 1280px !default;
|
|
495
535
|
* $layout-breakpoint-lg: 1920px !default;
|
|
496
536
|
*/
|
|
497
|
-
@media (max-width: $layout-breakpoint-xs - 1) {
|
|
537
|
+
@media (max-width: ($layout-breakpoint-xs - 1)) {
|
|
538
|
+
|
|
498
539
|
// Xtra-SMALL SCREEN
|
|
499
540
|
[hide-xs],
|
|
500
541
|
[hide] {
|
|
@@ -502,6 +543,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
502
543
|
display: none;
|
|
503
544
|
}
|
|
504
545
|
}
|
|
546
|
+
|
|
505
547
|
@include layouts_for_breakpoint(xs);
|
|
506
548
|
}
|
|
507
549
|
|
|
@@ -510,7 +552,8 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
510
552
|
@include layouts_for_breakpoint(gt-xs);
|
|
511
553
|
}
|
|
512
554
|
|
|
513
|
-
@media (min-width: $layout-breakpoint-xs) and (max-width: $layout-breakpoint-sm - 1) {
|
|
555
|
+
@media (min-width: $layout-breakpoint-xs) and (max-width: ($layout-breakpoint-sm - 1)) {
|
|
556
|
+
|
|
514
557
|
// SMALL SCREEN
|
|
515
558
|
[hide-sm],
|
|
516
559
|
[hide-gt-xs] {
|
|
@@ -518,9 +561,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
518
561
|
display: none;
|
|
519
562
|
}
|
|
520
563
|
}
|
|
564
|
+
|
|
521
565
|
[hide-sm]:not([show-sm]):not([show]) {
|
|
522
566
|
display: none;
|
|
523
567
|
}
|
|
568
|
+
|
|
524
569
|
@include layouts_for_breakpoint(sm);
|
|
525
570
|
}
|
|
526
571
|
|
|
@@ -529,7 +574,8 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
529
574
|
@include layouts_for_breakpoint(gt-sm);
|
|
530
575
|
}
|
|
531
576
|
|
|
532
|
-
@media (min-width: $layout-breakpoint-sm) and (max-width: $layout-breakpoint-md - 1) {
|
|
577
|
+
@media (min-width: $layout-breakpoint-sm) and (max-width: ($layout-breakpoint-md - 1)) {
|
|
578
|
+
|
|
533
579
|
// MEDIUM SCREEN
|
|
534
580
|
[hide],
|
|
535
581
|
[hide-gt-xs],
|
|
@@ -538,9 +584,11 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
538
584
|
display: none;
|
|
539
585
|
}
|
|
540
586
|
}
|
|
587
|
+
|
|
541
588
|
[hide-md]:not([show-md]):not([show]) {
|
|
542
589
|
display: none;
|
|
543
590
|
}
|
|
591
|
+
|
|
544
592
|
@include layouts_for_breakpoint(md);
|
|
545
593
|
}
|
|
546
594
|
|
|
@@ -549,7 +597,8 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
549
597
|
@include layouts_for_breakpoint(gt-md);
|
|
550
598
|
}
|
|
551
599
|
|
|
552
|
-
@media (min-width: $layout-breakpoint-md) and (max-width: $layout-breakpoint-lg - 1) {
|
|
600
|
+
@media (min-width: $layout-breakpoint-md) and (max-width: ($layout-breakpoint-lg - 1)) {
|
|
601
|
+
|
|
553
602
|
// LARGE SCREEN
|
|
554
603
|
[hide],
|
|
555
604
|
[hide-gt-xs],
|
|
@@ -559,6 +608,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
559
608
|
display: none;
|
|
560
609
|
}
|
|
561
610
|
}
|
|
611
|
+
|
|
562
612
|
[hide-lg]:not([show-lg]):not([show]) {
|
|
563
613
|
display: none;
|
|
564
614
|
}
|
|
@@ -581,8 +631,15 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
581
631
|
display: none;
|
|
582
632
|
}
|
|
583
633
|
}
|
|
634
|
+
|
|
584
635
|
[hide-xl]:not([show-xl]):not([show-gt-lg]):not([show]) {
|
|
585
636
|
display: none;
|
|
586
637
|
}
|
|
587
638
|
}
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.flat-dialog {
|
|
642
|
+
.mat-dialog-container {
|
|
643
|
+
padding: 0 !important;
|
|
644
|
+
}
|
|
588
645
|
}
|
|
@@ -44,6 +44,10 @@ export declare class VdGenericFormComponent implements OnInit {
|
|
|
44
44
|
* form: FormGroup
|
|
45
45
|
*/
|
|
46
46
|
formGroup: FormGroup;
|
|
47
|
+
/**
|
|
48
|
+
* classType: any
|
|
49
|
+
*/
|
|
50
|
+
classType: any;
|
|
47
51
|
/**
|
|
48
52
|
* fieldGroups: FormFieldGroup[]
|
|
49
53
|
*/
|
|
@@ -134,5 +138,5 @@ export declare class VdGenericFormComponent implements OnInit {
|
|
|
134
138
|
*/
|
|
135
139
|
isFunction(obj: any): boolean;
|
|
136
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdGenericFormComponent, never>;
|
|
137
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": "formGroup"; "fieldGroups": "fieldGroups"; "groupName": "groupName"; "context": "context"; "separatorKeysCodes": "separatorKeysCodes"; }, {}, ["editorTemplate", "codeTemplate", "fileTemplate", "customTemplate"], never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": "formGroup"; "classType": "classType"; "fieldGroups": "fieldGroups"; "groupName": "groupName"; "context": "context"; "separatorKeysCodes": "separatorKeysCodes"; }, {}, ["editorTemplate", "codeTemplate", "fileTemplate", "customTemplate"], never>;
|
|
138
142
|
}
|