@messaia/cdk 13.3.10 → 13.4.0-legacy
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 +10 -32
- package/esm2020/lib/base/components/base.component.mjs +9 -61
- package/esm2020/lib/base/components/generic-form-base.component.mjs +23 -27
- package/esm2020/lib/base/components/generic-form.component.mjs +3 -3
- package/esm2020/lib/base/components/generic-list.component.mjs +31 -152
- package/esm2020/lib/base/components/generic-reactive-form.component.mjs +3 -6
- package/esm2020/lib/base/interceptors/base.interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/caching-interceptor.mjs +3 -3
- package/esm2020/lib/base/interceptors/loading.interceptor.mjs +3 -3
- package/esm2020/lib/base/services/file.service.mjs +3 -3
- package/esm2020/lib/base/services/loading-screen.service.mjs +3 -3
- package/esm2020/lib/base/services/print.service.mjs +3 -3
- package/esm2020/lib/chips/chips.module.mjs +8 -21
- package/esm2020/lib/chips/components/chips.component.mjs +179 -243
- package/esm2020/lib/common/common.module.mjs +5 -6
- package/esm2020/lib/common/constants/constants.mjs +2 -3
- package/esm2020/lib/common/directives/disable-control.directive.mjs +3 -3
- package/esm2020/lib/common/functions/decorators.mjs +3 -3
- package/esm2020/lib/common/functions/functions.mjs +2 -3
- package/esm2020/lib/common/functions/utils.mjs +3 -17
- package/esm2020/lib/common/helpers/app-storage.mjs +7 -31
- package/esm2020/lib/common/helpers/dynamic-builder.mjs +3 -3
- package/esm2020/lib/common/helpers/dynamic-component-compiler.mjs +3 -3
- package/esm2020/lib/common/models/action-menu-item.mjs +1 -1
- package/esm2020/lib/common/models/app-setting.mjs +3 -3
- package/esm2020/lib/common/pipes/data-source.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/enum.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/file-size.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/filter.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/first-letter.mjs +3 -3
- package/esm2020/lib/common/pipes/keys.mjs +3 -3
- package/esm2020/lib/common/pipes/month-name.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/only-number.mjs +3 -3
- package/esm2020/lib/common/pipes/order.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/placeholder.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/time.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/titlecase.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/truncate.pipe.mjs +3 -3
- package/esm2020/lib/common/pipes/values.mjs +3 -3
- package/esm2020/lib/common/services/base.service.mjs +3 -3
- package/esm2020/lib/common/services/enum.service.mjs +3 -3
- package/esm2020/lib/dialogs/alert-dialog/alert-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/dialog.component.mjs +9 -9
- package/esm2020/lib/dialogs/dialogs.module.mjs +4 -4
- package/esm2020/lib/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2020/lib/dialogs/services/dialog.service.mjs +3 -3
- package/esm2020/lib/file/file-input.component.mjs +3 -3
- package/esm2020/lib/file/file.module.mjs +4 -4
- package/esm2020/lib/form-validators/directives/base-directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/control-host.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/html-control-template.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/rx-form.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/async-validation.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/base-validator.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/control-expression-process.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/image-file-control.directive.mjs +3 -3
- package/esm2020/lib/form-validators/directives/template-validations/rxformcontrol.directive.mjs +3 -3
- package/esm2020/lib/form-validators/domain/element-processor/decimal.provider.mjs +3 -3
- package/esm2020/lib/form-validators/services/reactive-form.module.mjs +7 -7
- package/esm2020/lib/form-validators/services/rx-form-builder.mjs +3 -3
- package/esm2020/lib/form-validators/services/typed-form-builder.mjs +3 -3
- package/esm2020/lib/forms/components/generic-form/generic-form.component.mjs +13 -30
- package/esm2020/lib/forms/constants/constants.mjs +2 -3
- package/esm2020/lib/forms/directives/mat-form-field-editor.directive.mjs +3 -3
- package/esm2020/lib/forms/directives/mat-form-field-readonly.directive.mjs +3 -3
- package/esm2020/lib/forms/forms.module.mjs +7 -7
- package/esm2020/lib/forms/functions/decorators.mjs +116 -36
- package/esm2020/lib/forms/functions/functions.mjs +7 -17
- package/esm2020/lib/forms/helpers/abstract-mat-form-field.mjs +15 -41
- package/esm2020/lib/forms/helpers/value-accessor-base.mjs +3 -3
- package/esm2020/lib/forms/models/form-field-definition.mjs +6 -7
- package/esm2020/lib/forms/models/form-field-group.mjs +12 -0
- package/esm2020/lib/forms/validators/equal-validator.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/native-element-injector.directive.mjs +3 -3
- package/esm2020/lib/forms/validators/unique-validator-directive.mjs +3 -3
- package/esm2020/lib/http/http.module.mjs +4 -4
- package/esm2020/lib/layout/form-toolbar/form-toolbar.component.mjs +3 -3
- package/esm2020/lib/layout/form-toolbar-menu/form-toolbar-menu.component.mjs +3 -3
- package/esm2020/lib/layout/layout-card-over/layout-card-over.component.mjs +4 -4
- package/esm2020/lib/layout/layout-footer/layout-footer.component.mjs +3 -3
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
- package/esm2020/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +7 -7
- package/esm2020/lib/layout/layout-nav/layout-nav.component.mjs +3 -3
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.component.mjs +32 -21
- package/esm2020/lib/layout/layout-nav-list/layout-nav-list.directives.mjs +26 -50
- package/esm2020/lib/layout/layout-toggle.class.mjs +3 -3
- package/esm2020/lib/layout/layout.component.mjs +3 -3
- package/esm2020/lib/layout/layout.directives.mjs +7 -7
- package/esm2020/lib/layout/layout.module.mjs +9 -9
- package/esm2020/lib/layout/list-toolbar/list-toolbar.component.mjs +9 -20
- package/esm2020/lib/layout/list-toolbar-menu/list-toolbar-menu.component.mjs +19 -0
- package/esm2020/lib/layout/navigation-drawer/navigation-drawer.component.mjs +8 -8
- package/esm2020/lib/media/directives/media-toggle.directive.mjs +3 -3
- package/esm2020/lib/media/media.module.mjs +4 -4
- package/esm2020/lib/media/services/media.service.mjs +3 -3
- package/esm2020/lib/menu/components/menu.component.mjs +3 -3
- package/esm2020/lib/menu/menu.module.mjs +4 -4
- package/esm2020/lib/menu/services/menu-items.service.mjs +3 -3
- package/esm2020/lib/menu/services/menu.resolve.mjs +5 -5
- package/esm2020/lib/menu/services/menu.service.mjs +3 -3
- package/esm2020/lib/search/search.module.mjs +4 -4
- package/esm2020/lib/search/vd-search-box/vd-search-box.component.mjs +3 -3
- package/esm2020/lib/search/vd-search-input/vd-search-input.component.mjs +3 -3
- package/esm2020/lib/select/components/select.component.mjs +11 -28
- package/esm2020/lib/select/directives/vd-select-option.directive.mjs +3 -3
- package/esm2020/lib/select/directives/vd-select-trigger.directive.mjs +3 -3
- package/esm2020/lib/select/public_api.mjs +2 -1
- package/esm2020/lib/select/select.module.mjs +4 -4
- package/esm2020/lib/table/components/dynamic-table/dynamic-table.component.mjs +43 -117
- package/esm2020/lib/table/components/filter-clear.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-date.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-input.component.mjs +4 -4
- package/esm2020/lib/table/components/filter-select.component.mjs +6 -6
- package/esm2020/lib/table/directives/data-source-filter.directive.mjs +3 -3
- package/esm2020/lib/table/enums/table-column-type.mjs +1 -2
- package/esm2020/lib/table/functions/decorators.mjs +45 -38
- package/esm2020/lib/table/functions/functions.mjs +5 -18
- package/esm2020/lib/table/models/table-column.mjs +1 -2
- package/esm2020/lib/table/models/table-definition.mjs +1 -1
- package/esm2020/lib/table/models/table-menu-item.mjs +1 -1
- package/esm2020/lib/table/paginator-intl.mjs +3 -3
- package/esm2020/lib/table/table.data-source.mjs +15 -49
- package/esm2020/lib/table/table.module.mjs +4 -11
- package/fesm2015/messaia-cdk.mjs +9541 -10197
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +8052 -8695
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/base.module.d.ts +5 -18
- package/lib/base/components/base.component.d.ts +4 -31
- package/lib/base/components/generic-form-base.component.d.ts +7 -9
- package/lib/base/components/generic-list.component.d.ts +8 -55
- package/lib/chips/chips.module.d.ts +10 -18
- package/lib/chips/components/chips.component.d.ts +73 -131
- package/lib/common/common.module.d.ts +1 -2
- package/lib/common/constants/constants.d.ts +1 -2
- package/lib/common/functions/utils.d.ts +0 -7
- package/lib/common/helpers/app-storage.d.ts +1 -12
- package/lib/common/models/action-menu-item.d.ts +16 -7
- package/lib/common/styles/_common-theme.scss +5 -10
- package/lib/common/styles/_layout.scss +92 -149
- package/lib/common/styles/utilities/_general.scss +7 -428
- package/lib/forms/components/generic-form/generic-form.component.d.ts +3 -13
- package/lib/forms/constants/constants.d.ts +1 -2
- package/lib/forms/forms.module.d.ts +3 -3
- package/lib/forms/functions/decorators.d.ts +8 -3
- package/lib/forms/functions/functions.d.ts +3 -3
- package/lib/forms/helpers/abstract-mat-form-field.d.ts +14 -28
- package/lib/forms/models/form-field-definition.d.ts +34 -41
- package/lib/forms/models/form-field-group.d.ts +12 -0
- package/lib/layout/_layout-theme.scss +79 -114
- package/lib/layout/layout-nav-list/layout-nav-list.component.d.ts +9 -12
- package/lib/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -36
- package/lib/layout/layout.module.d.ts +4 -4
- package/lib/layout/list-toolbar/list-toolbar.component.d.ts +4 -13
- package/lib/layout/list-toolbar-menu/list-toolbar-menu.component.d.ts +14 -0
- package/lib/select/components/select.component.d.ts +8 -15
- package/lib/select/public_api.d.ts +1 -0
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +12 -58
- 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/enums/table-column-type.d.ts +1 -2
- package/lib/table/functions/decorators.d.ts +5 -3
- package/lib/table/models/table-column.d.ts +34 -39
- package/lib/table/models/table-definition.d.ts +5 -8
- package/lib/table/models/table-menu-item.d.ts +2 -2
- package/lib/table/table.data-source.d.ts +4 -26
- package/lib/table/table.module.d.ts +19 -23
- package/package.json +1 -1
- package/esm2020/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +0 -96
- package/esm2020/lib/base/interfaces/ibase-component.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-form-base.mjs +0 -2
- package/esm2020/lib/base/interfaces/igeneric-list-component.mjs +0 -2
- package/esm2020/lib/chips/directives/autocomplete-option.directive.mjs +0 -18
- package/esm2020/lib/chips/directives/chip.directive.mjs +0 -18
- package/esm2020/lib/common/models/action-menu.mjs +0 -12
- package/esm2020/lib/forms/models/form-field-group-definition.mjs +0 -12
- package/esm2020/lib/layout/dynamic-menu/dynamic-menu.component.mjs +0 -40
- package/esm2020/lib/table/constants/constants.mjs +0 -3
- package/esm2020/lib/table/models/table-column-config.mjs +0 -63
- package/esm2020/lib/table/models/table-menu.mjs +0 -12
- package/lib/base/components/dynamic-table-config-dialog.comnponent.d.ts +0 -39
- package/lib/base/interfaces/ibase-component.d.ts +0 -87
- package/lib/base/interfaces/igeneric-form-base.d.ts +0 -81
- package/lib/base/interfaces/igeneric-list-component.d.ts +0 -80
- package/lib/chips/directives/autocomplete-option.directive.d.ts +0 -11
- package/lib/chips/directives/chip.directive.d.ts +0 -11
- package/lib/common/models/action-menu.d.ts +0 -16
- package/lib/forms/models/form-field-group-definition.d.ts +0 -16
- package/lib/layout/dynamic-menu/dynamic-menu.component.d.ts +0 -29
- package/lib/table/constants/constants.d.ts +0 -2
- package/lib/table/models/table-column-config.d.ts +0 -30
- package/lib/table/models/table-menu.d.ts +0 -8
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
// ------------------------------
|
|
5
5
|
|
|
6
6
|
$baseline-grid: 8px !default;
|
|
7
|
-
$layout-gutter-width: (
|
|
8
|
-
$baseline-grid * 2) !default;
|
|
7
|
+
$layout-gutter-width: ($baseline-grid * 2) !default;
|
|
9
8
|
|
|
10
9
|
$layout-breakpoint-xs: 600px !default;
|
|
11
10
|
$layout-breakpoint-sm: 960px !default;
|
|
@@ -22,7 +21,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
@mixin flex-order-for-name($sizes: null) {
|
|
25
|
-
@if $sizes ==null {
|
|
24
|
+
@if $sizes == null {
|
|
26
25
|
$sizes: '';
|
|
27
26
|
|
|
28
27
|
[flex-order] {
|
|
@@ -35,11 +34,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
35
34
|
$suffix: '';
|
|
36
35
|
|
|
37
36
|
@each $s in $sizes {
|
|
38
|
-
@if $s
|
|
37
|
+
@if $s != '' {
|
|
39
38
|
$suffix: '-#{$s}="#{$i}"';
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@else {
|
|
39
|
+
} @else {
|
|
43
40
|
$suffix: '="#{$i}"';
|
|
44
41
|
}
|
|
45
42
|
|
|
@@ -53,7 +50,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
53
50
|
}
|
|
54
51
|
|
|
55
52
|
@mixin offset-for-name($sizes: null) {
|
|
56
|
-
@if $sizes ==null {
|
|
53
|
+
@if $sizes == null {
|
|
57
54
|
$sizes: '';
|
|
58
55
|
}
|
|
59
56
|
|
|
@@ -62,11 +59,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
62
59
|
$suffix: '';
|
|
63
60
|
|
|
64
61
|
@each $s in $sizes {
|
|
65
|
-
@if $s
|
|
62
|
+
@if $s != '' {
|
|
66
63
|
$suffix: '-#{$s}="#{$i * 5}"';
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@else {
|
|
64
|
+
} @else {
|
|
70
65
|
$suffix: '="#{$i * 5}"';
|
|
71
66
|
}
|
|
72
67
|
|
|
@@ -83,11 +78,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
83
78
|
$suffix: '';
|
|
84
79
|
|
|
85
80
|
@each $s in $sizes {
|
|
86
|
-
@if $s
|
|
81
|
+
@if $s != '' {
|
|
87
82
|
$suffix: '-#{$s}="#{$i}"';
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@else {
|
|
83
|
+
} @else {
|
|
91
84
|
$suffix: '="#{$i}"';
|
|
92
85
|
}
|
|
93
86
|
|
|
@@ -95,39 +88,35 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
95
88
|
}
|
|
96
89
|
|
|
97
90
|
#{$offsets} {
|
|
98
|
-
margin-left: calc(100% / 3
|
|
99
|
-
|
|
91
|
+
margin-left: calc(100% / 3);
|
|
92
|
+
}
|
|
100
93
|
}
|
|
101
|
-
}
|
|
102
94
|
|
|
103
|
-
@each $i in 66 {
|
|
104
|
-
|
|
105
|
-
|
|
95
|
+
@each $i in 66 {
|
|
96
|
+
$offsets: '';
|
|
97
|
+
$suffix: '';
|
|
106
98
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
99
|
+
@each $s in $sizes {
|
|
100
|
+
@if $s != '' {
|
|
101
|
+
$suffix: '-#{$s}="#{$i}"';
|
|
102
|
+
} @else {
|
|
103
|
+
$suffix: '="#{$i}"';
|
|
104
|
+
}
|
|
111
105
|
|
|
112
|
-
|
|
113
|
-
$suffix: '="#{$i}"';
|
|
106
|
+
$offsets: '[flex-offset#{$suffix}]';
|
|
114
107
|
}
|
|
115
108
|
|
|
116
|
-
$offsets
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
#{$offsets} {
|
|
120
|
-
margin-left: calc(200% / 3);
|
|
109
|
+
#{$offsets} {
|
|
110
|
+
margin-left: calc(200% / 3);
|
|
111
|
+
}
|
|
121
112
|
}
|
|
122
113
|
}
|
|
123
|
-
}
|
|
124
114
|
|
|
125
115
|
@mixin layout-for-name($name: null) {
|
|
126
|
-
@if $name ==null {
|
|
116
|
+
@if $name == null {
|
|
127
117
|
$name: '';
|
|
128
118
|
}
|
|
129
|
-
|
|
130
|
-
@if $name !='' {
|
|
119
|
+
@if $name != '' {
|
|
131
120
|
$name: '-#{$name}';
|
|
132
121
|
}
|
|
133
122
|
|
|
@@ -141,11 +130,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
141
130
|
display: -ms-flexbox;
|
|
142
131
|
display: flex;
|
|
143
132
|
}
|
|
144
|
-
|
|
145
133
|
[layout#{$name}='column'] {
|
|
146
134
|
flex-direction: column;
|
|
147
135
|
}
|
|
148
|
-
|
|
149
136
|
[layout#{$name}='row'] {
|
|
150
137
|
flex-direction: row;
|
|
151
138
|
}
|
|
@@ -153,13 +140,10 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
153
140
|
|
|
154
141
|
@mixin flex-properties-for-name($name: null) {
|
|
155
142
|
$flexName: 'flex';
|
|
156
|
-
|
|
157
|
-
@if $name !=null {
|
|
143
|
+
@if $name != null {
|
|
158
144
|
$flexName: 'flex-#{$name}';
|
|
159
145
|
$name: '-#{$name}';
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@else {
|
|
146
|
+
} @else {
|
|
163
147
|
$name: '';
|
|
164
148
|
}
|
|
165
149
|
|
|
@@ -167,7 +151,6 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
167
151
|
flex: 1;
|
|
168
152
|
box-sizing: border-box;
|
|
169
153
|
}
|
|
170
|
-
|
|
171
154
|
// === flex: 1 1 0%;
|
|
172
155
|
|
|
173
156
|
// IE mediaQuery hack for 8,9,10 to set the flex-basis properly for 'flex' values
|
|
@@ -186,31 +169,26 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
186
169
|
flex: 1 1 100%;
|
|
187
170
|
box-sizing: border-box;
|
|
188
171
|
}
|
|
189
|
-
|
|
190
172
|
[#{$flexName}='initial'],
|
|
191
173
|
[#{$flexName}-initial] {
|
|
192
174
|
flex: 0 1 auto;
|
|
193
175
|
box-sizing: border-box;
|
|
194
176
|
}
|
|
195
|
-
|
|
196
177
|
[#{$flexName}='auto'],
|
|
197
178
|
[#{$flexName}-auto] {
|
|
198
179
|
flex: 1 1 auto;
|
|
199
180
|
box-sizing: border-box;
|
|
200
181
|
}
|
|
201
|
-
|
|
202
182
|
[#{$flexName}='none'],
|
|
203
183
|
[#{$flexName}-none] {
|
|
204
184
|
flex: 0 0 auto;
|
|
205
185
|
box-sizing: border-box;
|
|
206
186
|
}
|
|
207
|
-
|
|
208
187
|
[#{$flexName}='noshrink'],
|
|
209
188
|
[#{$flexName}-noshrink] {
|
|
210
189
|
flex: 1 0 auto;
|
|
211
190
|
box-sizing: border-box;
|
|
212
191
|
}
|
|
213
|
-
|
|
214
192
|
[#{$flexName}='nogrow'],
|
|
215
193
|
[#{$flexName}-nogrow] {
|
|
216
194
|
flex: 0 1 auto;
|
|
@@ -228,16 +206,16 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
228
206
|
box-sizing: border-box;
|
|
229
207
|
}
|
|
230
208
|
|
|
231
|
-
[layout='row']>[#{$flexName}='#{$i * 5}'],
|
|
232
|
-
[layout#{$name}='row']>[#{$flexName}='#{$i * 5}'] {
|
|
209
|
+
[layout='row'] > [#{$flexName}='#{$i * 5}'],
|
|
210
|
+
[layout#{$name}='row'] > [#{$flexName}='#{$i * 5}'] {
|
|
233
211
|
flex: 1 1 #{$value};
|
|
234
212
|
max-width: #{$value};
|
|
235
213
|
max-height: 100%;
|
|
236
214
|
box-sizing: border-box;
|
|
237
215
|
}
|
|
238
216
|
|
|
239
|
-
[layout='column']>[#{$flexName}='#{$i * 5}'],
|
|
240
|
-
[layout#{$name}='column']>[#{$flexName}='#{$i * 5}'] {
|
|
217
|
+
[layout='column'] > [#{$flexName}='#{$i * 5}'],
|
|
218
|
+
[layout#{$name}='column'] > [#{$flexName}='#{$i * 5}'] {
|
|
241
219
|
flex: 1 1 #{$value};
|
|
242
220
|
max-width: 100%;
|
|
243
221
|
max-height: #{$value};
|
|
@@ -247,69 +225,60 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
247
225
|
|
|
248
226
|
[layout='row'],
|
|
249
227
|
[layout#{$name}='row'] {
|
|
250
|
-
|
|
251
|
-
>[#{$flexName}='33']
|
|
252
|
-
>[#{$flexName}='33'] {
|
|
228
|
+
> [#{$flexName}='33'],
|
|
229
|
+
> [#{$flexName}='33'] {
|
|
253
230
|
flex: 1 1 33%;
|
|
254
231
|
max-width: calc(100% / 3);
|
|
255
232
|
max-height: 100%;
|
|
256
233
|
box-sizing: border-box;
|
|
257
234
|
}
|
|
258
|
-
|
|
259
|
-
>[#{$flexName}='34']
|
|
260
|
-
>[#{$flexName}='34'] {
|
|
235
|
+
> [#{$flexName}='34'],
|
|
236
|
+
> [#{$flexName}='34'] {
|
|
261
237
|
flex: 1 1 34%;
|
|
262
238
|
max-width: 34%;
|
|
263
239
|
max-height: 100%;
|
|
264
240
|
box-sizing: border-box;
|
|
265
241
|
}
|
|
266
|
-
|
|
267
|
-
>[#{$flexName}='66']
|
|
268
|
-
>[#{$flexName}='66'] {
|
|
242
|
+
> [#{$flexName}='66'],
|
|
243
|
+
> [#{$flexName}='66'] {
|
|
269
244
|
flex: 1 1 66%;
|
|
270
245
|
max-width: calc(200% / 3);
|
|
271
246
|
max-height: 100%;
|
|
272
247
|
box-sizing: border-box;
|
|
273
248
|
}
|
|
274
|
-
|
|
275
|
-
>[#{$flexName}='67']
|
|
276
|
-
>[#{$flexName}='67'] {
|
|
249
|
+
> [#{$flexName}='67'],
|
|
250
|
+
> [#{$flexName}='67'] {
|
|
277
251
|
flex: 1 1 67%;
|
|
278
252
|
max-width: 67%;
|
|
279
253
|
max-height: 100%;
|
|
280
254
|
box-sizing: border-box;
|
|
281
255
|
}
|
|
282
256
|
}
|
|
283
|
-
|
|
284
257
|
[layout='column'],
|
|
285
258
|
[layout#{$name}='column'] {
|
|
286
|
-
|
|
287
|
-
>[#{$flexName}='33']
|
|
288
|
-
>[#{$flexName}='33'] {
|
|
259
|
+
> [#{$flexName}='33'],
|
|
260
|
+
> [#{$flexName}='33'] {
|
|
289
261
|
flex: 1 1 33%;
|
|
290
262
|
max-width: 100%;
|
|
291
263
|
max-height: calc(100% / 3);
|
|
292
264
|
box-sizing: border-box;
|
|
293
265
|
}
|
|
294
|
-
|
|
295
|
-
>[#{$flexName}='34']
|
|
296
|
-
>[#{$flexName}='34'] {
|
|
266
|
+
> [#{$flexName}='34'],
|
|
267
|
+
> [#{$flexName}='34'] {
|
|
297
268
|
flex: 1 1 34%;
|
|
298
269
|
max-width: 100%;
|
|
299
270
|
max-height: 34%;
|
|
300
271
|
box-sizing: border-box;
|
|
301
272
|
}
|
|
302
|
-
|
|
303
|
-
>[#{$flexName}='66']
|
|
304
|
-
>[#{$flexName}='66'] {
|
|
273
|
+
> [#{$flexName}='66'],
|
|
274
|
+
> [#{$flexName}='66'] {
|
|
305
275
|
flex: 1 1 66%;
|
|
306
276
|
max-width: 100%;
|
|
307
277
|
max-height: calc(200% / 3);
|
|
308
278
|
box-sizing: border-box;
|
|
309
279
|
}
|
|
310
|
-
|
|
311
|
-
>[#{$flexName}='67']
|
|
312
|
-
>[#{$flexName}='67'] {
|
|
280
|
+
> [#{$flexName}='67'],
|
|
281
|
+
> [#{$flexName}='67'] {
|
|
313
282
|
flex: 1 1 67%;
|
|
314
283
|
max-width: 100%;
|
|
315
284
|
max-height: 67%;
|
|
@@ -326,20 +295,17 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
326
295
|
// ------------------------------
|
|
327
296
|
|
|
328
297
|
$name: 'layout-align';
|
|
329
|
-
|
|
330
|
-
@if $suffix !=null {
|
|
298
|
+
@if $suffix != null {
|
|
331
299
|
$name: 'layout-align-#{$suffix}';
|
|
332
300
|
}
|
|
333
301
|
|
|
334
302
|
[#{$name}],
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
{
|
|
303
|
+
[#{$name}="start stretch"] // defaults
|
|
304
|
+
{
|
|
338
305
|
justify-content: flex-start;
|
|
339
306
|
align-content: stretch;
|
|
340
307
|
align-items: stretch;
|
|
341
308
|
}
|
|
342
|
-
|
|
343
309
|
// Main Axis Center
|
|
344
310
|
[#{$name}='start'],
|
|
345
311
|
[#{$name}='start start'],
|
|
@@ -359,32 +325,29 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
359
325
|
}
|
|
360
326
|
|
|
361
327
|
// Main Axis End
|
|
362
|
-
[#{$name}="end"],
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
[#{$name}="end stretch"] {
|
|
328
|
+
[#{$name}="end"], //stretch
|
|
329
|
+
[#{$name}="end center"],
|
|
330
|
+
[#{$name}="end start"],
|
|
331
|
+
[#{$name}="end end"],
|
|
332
|
+
[#{$name}="end stretch"] {
|
|
368
333
|
justify-content: flex-end;
|
|
369
334
|
}
|
|
370
335
|
|
|
371
336
|
// Main Axis Space Around
|
|
372
|
-
[#{$name}="space-around"],
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
[#{$name}="space-around stretch"] {
|
|
337
|
+
[#{$name}="space-around"], //stretch
|
|
338
|
+
[#{$name}="space-around center"],
|
|
339
|
+
[#{$name}="space-around start"],
|
|
340
|
+
[#{$name}="space-around end"],
|
|
341
|
+
[#{$name}="space-around stretch"] {
|
|
378
342
|
justify-content: space-around;
|
|
379
343
|
}
|
|
380
344
|
|
|
381
345
|
// Main Axis Space Between
|
|
382
|
-
[#{$name}="space-between"],
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
[#{$name}="space-between stretch"] {
|
|
346
|
+
[#{$name}="space-between"], //stretch
|
|
347
|
+
[#{$name}="space-between center"],
|
|
348
|
+
[#{$name}="space-between start"],
|
|
349
|
+
[#{$name}="space-between end"],
|
|
350
|
+
[#{$name}="space-between stretch"] {
|
|
388
351
|
justify-content: space-between;
|
|
389
352
|
}
|
|
390
353
|
|
|
@@ -414,18 +377,18 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
414
377
|
max-width: 100%;
|
|
415
378
|
|
|
416
379
|
// IE11 overflow https://github.com/philipwalton/flexbugs#2-column-flex-items-set-to-align-itemscenter-overflow-their-container
|
|
417
|
-
|
|
380
|
+
& > * {
|
|
418
381
|
max-width: 100%;
|
|
419
382
|
box-sizing: border-box;
|
|
420
383
|
}
|
|
421
384
|
}
|
|
422
385
|
|
|
423
386
|
// Cross Axis Center IE overflow fix
|
|
424
|
-
[#{$name}='start center']
|
|
425
|
-
[#{$name}='center center']
|
|
426
|
-
[#{$name}='end center']
|
|
427
|
-
[#{$name}='space-between center']
|
|
428
|
-
[#{$name}='space-around center']
|
|
387
|
+
[#{$name}='start center'] > *,
|
|
388
|
+
[#{$name}='center center'] > *,
|
|
389
|
+
[#{$name}='end center'] > *,
|
|
390
|
+
[#{$name}='space-between center'] > *,
|
|
391
|
+
[#{$name}='space-around center'] > * {
|
|
429
392
|
max-width: 100%;
|
|
430
393
|
box-sizing: border-box;
|
|
431
394
|
}
|
|
@@ -452,40 +415,37 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
452
415
|
}
|
|
453
416
|
|
|
454
417
|
@mixin layout-padding-margin() {
|
|
455
|
-
|
|
456
|
-
[layout-padding]>[flex-
|
|
457
|
-
[layout-padding]>[flex-lt-md] {
|
|
418
|
+
[layout-padding] > [flex-sm],
|
|
419
|
+
[layout-padding] > [flex-lt-md] {
|
|
458
420
|
padding: math.div($layout-gutter-width, 4);
|
|
459
421
|
}
|
|
460
|
-
|
|
461
422
|
[layout-padding],
|
|
462
|
-
[layout-padding]>[flex],
|
|
463
|
-
[layout-padding]>[flex-gt-sm],
|
|
464
|
-
[layout-padding]>[flex-md],
|
|
465
|
-
[layout-padding]>[flex-lt-lg] {
|
|
423
|
+
[layout-padding] > [flex],
|
|
424
|
+
[layout-padding] > [flex-gt-sm],
|
|
425
|
+
[layout-padding] > [flex-md],
|
|
426
|
+
[layout-padding] > [flex-lt-lg] {
|
|
466
427
|
padding: math.div($layout-gutter-width, 2);
|
|
467
428
|
}
|
|
468
|
-
|
|
469
|
-
[layout-padding]>[flex-
|
|
470
|
-
[layout-padding]>[flex-lg] {
|
|
429
|
+
[layout-padding] > [flex-gt-md],
|
|
430
|
+
[layout-padding] > [flex-lg] {
|
|
471
431
|
padding: math.div($layout-gutter-width, 1);
|
|
472
432
|
}
|
|
473
433
|
|
|
474
|
-
[layout-margin]>[flex-sm],
|
|
475
|
-
[layout-margin]>[flex-lt-md] {
|
|
434
|
+
[layout-margin] > [flex-sm],
|
|
435
|
+
[layout-margin] > [flex-lt-md] {
|
|
476
436
|
margin: math.div($layout-gutter-width, 4);
|
|
477
437
|
}
|
|
478
438
|
|
|
479
439
|
[layout-margin],
|
|
480
|
-
[layout-margin]>[flex],
|
|
481
|
-
[layout-margin]>[flex-gt-sm],
|
|
482
|
-
[layout-margin]>[flex-md],
|
|
483
|
-
[layout-margin]>[flex-lt-lg] {
|
|
440
|
+
[layout-margin] > [flex],
|
|
441
|
+
[layout-margin] > [flex-gt-sm],
|
|
442
|
+
[layout-margin] > [flex-md],
|
|
443
|
+
[layout-margin] > [flex-lt-lg] {
|
|
484
444
|
margin: math.div($layout-gutter-width, 2);
|
|
485
445
|
}
|
|
486
446
|
|
|
487
|
-
[layout-margin]>[flex-gt-md],
|
|
488
|
-
[layout-margin]>[flex-lg] {
|
|
447
|
+
[layout-margin] > [flex-gt-md],
|
|
448
|
+
[layout-margin] > [flex-lg] {
|
|
489
449
|
margin: math.div($layout-gutter-width, 1);
|
|
490
450
|
}
|
|
491
451
|
|
|
@@ -534,8 +494,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
534
494
|
* $layout-breakpoint-md: 1280px !default;
|
|
535
495
|
* $layout-breakpoint-lg: 1920px !default;
|
|
536
496
|
*/
|
|
537
|
-
@media (max-width:
|
|
538
|
-
|
|
497
|
+
@media (max-width: $layout-breakpoint-xs - 1) {
|
|
539
498
|
// Xtra-SMALL SCREEN
|
|
540
499
|
[hide-xs],
|
|
541
500
|
[hide] {
|
|
@@ -543,7 +502,6 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
543
502
|
display: none;
|
|
544
503
|
}
|
|
545
504
|
}
|
|
546
|
-
|
|
547
505
|
@include layouts_for_breakpoint(xs);
|
|
548
506
|
}
|
|
549
507
|
|
|
@@ -552,8 +510,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
552
510
|
@include layouts_for_breakpoint(gt-xs);
|
|
553
511
|
}
|
|
554
512
|
|
|
555
|
-
@media (min-width: $layout-breakpoint-xs) and (max-width:
|
|
556
|
-
|
|
513
|
+
@media (min-width: $layout-breakpoint-xs) and (max-width: $layout-breakpoint-sm - 1) {
|
|
557
514
|
// SMALL SCREEN
|
|
558
515
|
[hide-sm],
|
|
559
516
|
[hide-gt-xs] {
|
|
@@ -561,11 +518,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
561
518
|
display: none;
|
|
562
519
|
}
|
|
563
520
|
}
|
|
564
|
-
|
|
565
521
|
[hide-sm]:not([show-sm]):not([show]) {
|
|
566
522
|
display: none;
|
|
567
523
|
}
|
|
568
|
-
|
|
569
524
|
@include layouts_for_breakpoint(sm);
|
|
570
525
|
}
|
|
571
526
|
|
|
@@ -574,8 +529,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
574
529
|
@include layouts_for_breakpoint(gt-sm);
|
|
575
530
|
}
|
|
576
531
|
|
|
577
|
-
@media (min-width: $layout-breakpoint-sm) and (max-width:
|
|
578
|
-
|
|
532
|
+
@media (min-width: $layout-breakpoint-sm) and (max-width: $layout-breakpoint-md - 1) {
|
|
579
533
|
// MEDIUM SCREEN
|
|
580
534
|
[hide],
|
|
581
535
|
[hide-gt-xs],
|
|
@@ -584,11 +538,9 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
584
538
|
display: none;
|
|
585
539
|
}
|
|
586
540
|
}
|
|
587
|
-
|
|
588
541
|
[hide-md]:not([show-md]):not([show]) {
|
|
589
542
|
display: none;
|
|
590
543
|
}
|
|
591
|
-
|
|
592
544
|
@include layouts_for_breakpoint(md);
|
|
593
545
|
}
|
|
594
546
|
|
|
@@ -597,8 +549,7 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
597
549
|
@include layouts_for_breakpoint(gt-md);
|
|
598
550
|
}
|
|
599
551
|
|
|
600
|
-
@media (min-width: $layout-breakpoint-md) and (max-width:
|
|
601
|
-
|
|
552
|
+
@media (min-width: $layout-breakpoint-md) and (max-width: $layout-breakpoint-lg - 1) {
|
|
602
553
|
// LARGE SCREEN
|
|
603
554
|
[hide],
|
|
604
555
|
[hide-gt-xs],
|
|
@@ -608,7 +559,6 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
608
559
|
display: none;
|
|
609
560
|
}
|
|
610
561
|
}
|
|
611
|
-
|
|
612
562
|
[hide-lg]:not([show-lg]):not([show]) {
|
|
613
563
|
display: none;
|
|
614
564
|
}
|
|
@@ -631,15 +581,8 @@ $layout-breakpoint-lg: 1920px !default;
|
|
|
631
581
|
display: none;
|
|
632
582
|
}
|
|
633
583
|
}
|
|
634
|
-
|
|
635
584
|
[hide-xl]:not([show-xl]):not([show-gt-lg]):not([show]) {
|
|
636
585
|
display: none;
|
|
637
586
|
}
|
|
638
587
|
}
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.flat-dialog {
|
|
642
|
-
.mat-dialog-container {
|
|
643
|
-
padding: 0 !important;
|
|
644
|
-
}
|
|
645
588
|
}
|