@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
|
@@ -1,228 +1,65 @@
|
|
|
1
1
|
@mixin vd-general-utilities() {
|
|
2
2
|
body {
|
|
3
|
-
|
|
4
3
|
// Angular 4 added tabindex to everything, this style removes the outline:
|
|
5
4
|
[tabindex]:focus {
|
|
6
5
|
outline: none;
|
|
7
6
|
}
|
|
8
|
-
|
|
9
7
|
.radius-none {
|
|
10
8
|
border-radius: 0;
|
|
11
9
|
}
|
|
12
|
-
|
|
13
10
|
.overflow-hidden {
|
|
14
11
|
overflow: hidden;
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
.overflow-auto {
|
|
18
14
|
overflow: auto;
|
|
19
15
|
}
|
|
20
|
-
|
|
21
16
|
.overflow-visible {
|
|
22
17
|
overflow: visible;
|
|
23
18
|
}
|
|
24
|
-
|
|
25
19
|
.block {
|
|
26
20
|
display: block;
|
|
27
21
|
}
|
|
28
|
-
|
|
29
22
|
.inline-block {
|
|
30
23
|
display: inline-block;
|
|
31
24
|
}
|
|
32
|
-
|
|
33
25
|
.relative {
|
|
34
26
|
position: relative;
|
|
35
27
|
}
|
|
36
|
-
|
|
37
28
|
.fixed {
|
|
38
29
|
position: fixed;
|
|
39
30
|
}
|
|
40
|
-
|
|
41
31
|
.height-auto {
|
|
42
32
|
min-height: 0;
|
|
43
33
|
}
|
|
44
|
-
|
|
45
34
|
.z-3 {
|
|
46
35
|
z-index: 3;
|
|
47
36
|
}
|
|
48
|
-
|
|
49
37
|
.z-2 {
|
|
50
38
|
z-index: 2;
|
|
51
39
|
}
|
|
52
|
-
|
|
53
40
|
.z-1 {
|
|
54
41
|
z-index: 1;
|
|
55
42
|
}
|
|
56
|
-
|
|
57
43
|
.focus-weight:focus {
|
|
58
44
|
outline: 0;
|
|
59
45
|
font-weight: 700;
|
|
60
46
|
}
|
|
61
|
-
|
|
62
47
|
.cursor-pointer:hover {
|
|
63
48
|
cursor: pointer;
|
|
64
49
|
}
|
|
65
50
|
}
|
|
66
51
|
}
|
|
67
52
|
|
|
68
|
-
.table-empty {
|
|
69
|
-
min-height: 48px;
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
padding-left: 24px;
|
|
74
|
-
|
|
75
|
-
.mat-cell {
|
|
76
|
-
font-style: italic;
|
|
77
|
-
color: #8c8c8c;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.loading-progress {
|
|
82
|
-
height: 3px;
|
|
83
|
-
|
|
84
|
-
.mat-progress-bar {
|
|
85
|
-
height: 3px;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* #region Layout & Commons */
|
|
90
|
-
|
|
91
|
-
.main-container {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
position: absolute;
|
|
95
|
-
top: 0;
|
|
96
|
-
bottom: 0;
|
|
97
|
-
left: 0;
|
|
98
|
-
right: 0;
|
|
99
|
-
|
|
100
|
-
.main-toolbar {
|
|
101
|
-
z-index: 2;
|
|
102
|
-
|
|
103
|
-
.mat-icon-button {
|
|
104
|
-
margin-left: 0;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.main-sidenav.mat-drawer-side,
|
|
109
|
-
.mat-drawer-container {
|
|
110
|
-
background-color: #e8e8e8;
|
|
111
|
-
border-right: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.main-sidenav {
|
|
115
|
-
max-width: 290px;
|
|
116
|
-
min-width: 290px;
|
|
117
|
-
display: flex;
|
|
118
|
-
|
|
119
|
-
.mat-drawer-inner-container {
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.mat-nav-list {
|
|
125
|
-
padding-top: 16px;
|
|
126
|
-
|
|
127
|
-
a {
|
|
128
|
-
font-size: 14px;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.mat-list-item-content {
|
|
133
|
-
mat-icon {
|
|
134
|
-
margin-left: 4px;
|
|
135
|
-
margin-right: 18px;
|
|
136
|
-
color: #737373;
|
|
137
|
-
fill: #737373;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.main-footer {
|
|
142
|
-
font-size: 13px;
|
|
143
|
-
margin: 12px 15px 12px 24px;
|
|
144
|
-
color: #909090;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.app-name {
|
|
149
|
-
margin-left: 8px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.sidenav-container {
|
|
153
|
-
flex: 1;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.content-center {
|
|
157
|
-
margin: 0 auto;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&.mobile {
|
|
161
|
-
.main-toolbar {
|
|
162
|
-
position: fixed;
|
|
163
|
-
z-index: 2;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.sidenav-container {
|
|
167
|
-
flex: 1 0 auto;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.panel-wrap {
|
|
173
|
-
padding: 8px;
|
|
174
|
-
background: #e0e0e0;
|
|
175
|
-
|
|
176
|
-
.mat-expansion-panel-spacing {
|
|
177
|
-
margin: 8px 0;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
vd-layout-footer-inner {
|
|
182
|
-
.mat-paginator {
|
|
183
|
-
background-color: transparent;
|
|
184
|
-
min-height: 48px;
|
|
185
|
-
|
|
186
|
-
.mat-paginator-page-size {
|
|
187
|
-
@media (max-width: 599px) {
|
|
188
|
-
display: none;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&.pagination {
|
|
194
|
-
&.vd-layout-footer {
|
|
195
|
-
padding: 0;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.mat-fab-bottom-left {
|
|
199
|
-
bottom: 28px;
|
|
200
|
-
|
|
201
|
-
&.mat-mini-fab {
|
|
202
|
-
bottom: 36px;
|
|
203
|
-
left: 22px;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/* #endregion */
|
|
210
|
-
|
|
211
|
-
/* #region MatFormField */
|
|
212
|
-
|
|
213
53
|
mat-form-field {
|
|
214
|
-
min-width: auto !important;
|
|
215
|
-
|
|
216
|
-
.mat-form-field-infix {
|
|
217
|
-
width: auto;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
54
|
&.mat-form-field-appearance-outline {
|
|
221
|
-
|
|
222
55
|
&.mat-form-field-disabled,
|
|
223
56
|
&.mat-form-field-readonly {
|
|
57
|
+
.mat-form-field-outline {
|
|
58
|
+
color: rgba(0, 0, 0, 0.1);
|
|
59
|
+
}
|
|
60
|
+
|
|
224
61
|
.mat-form-field-label {
|
|
225
|
-
|
|
62
|
+
color: rgba(0, 0, 0, 0.38);
|
|
226
63
|
}
|
|
227
64
|
|
|
228
65
|
.mat-form-field-flex:hover {
|
|
@@ -237,266 +74,8 @@ mat-form-field {
|
|
|
237
74
|
}
|
|
238
75
|
|
|
239
76
|
.mat-input-element {
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.mat-input-element,
|
|
244
|
-
.mat-form-field-infix::after {
|
|
245
|
-
cursor: default;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&.icon-select {
|
|
250
|
-
.mat-form-field-flex {
|
|
251
|
-
min-height: 55.56px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
&.mat-form-field-should-float {
|
|
255
|
-
.mat-form-field-infix {
|
|
256
|
-
padding: 0.59em 0 0.58em 0;
|
|
257
|
-
|
|
258
|
-
.mat-select-arrow-wrapper {
|
|
259
|
-
transform: translateY(-15%);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/* #endregion */
|
|
268
|
-
|
|
269
|
-
/* #region MatToolbar */
|
|
270
|
-
|
|
271
|
-
mat-toolbar {
|
|
272
|
-
&[dense] {
|
|
273
|
-
height: 52px;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
[mat-icon-button] {
|
|
277
|
-
&.vd-layout-menu-button {
|
|
278
|
-
margin-right: 0px;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/* #endregion */
|
|
284
|
-
|
|
285
|
-
/* #region MatExpansionPanel */
|
|
286
|
-
|
|
287
|
-
mat-expansion-panel {
|
|
288
|
-
.mat-expansion-panel-header {
|
|
289
|
-
padding: 0 16px;
|
|
290
|
-
|
|
291
|
-
&.new-panel {
|
|
292
|
-
background-color: #fff1d9;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.mat-expansion-panel-header-title {
|
|
296
|
-
align-items: center;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
@media (max-width: 599px) {
|
|
301
|
-
.mat-expansion-panel-body {
|
|
302
|
-
padding: 0 8px 8px;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.mat-expansion-panel-body {
|
|
307
|
-
padding: 0 8px 16px;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.mat-action-row {
|
|
311
|
-
padding: 8px 8px 8px 8px;
|
|
312
|
-
|
|
313
|
-
&.pagination {
|
|
314
|
-
padding: 0;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
&.wrap {
|
|
319
|
-
>.mat-expansion-panel-content {
|
|
320
|
-
>.mat-expansion-panel-body {
|
|
321
|
-
background: #e0e0e0;
|
|
322
|
-
padding: 10px;
|
|
323
|
-
|
|
324
|
-
.panel-content {
|
|
325
|
-
background: white;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.mat-card {
|
|
329
|
-
margin-left: 0;
|
|
330
|
-
margin-right: 0;
|
|
331
|
-
|
|
332
|
-
.mat-card-title {
|
|
333
|
-
font-size: 20px;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
77
|
+
color: rgba(0, 0, 0, 0.64);
|
|
336
78
|
}
|
|
337
79
|
}
|
|
338
80
|
}
|
|
339
|
-
|
|
340
|
-
&.flat,
|
|
341
|
-
&.no-margin {
|
|
342
|
-
>.mat-expansion-panel-content {
|
|
343
|
-
>.mat-expansion-panel-body {
|
|
344
|
-
padding: 0;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/* #endregion */
|
|
351
|
-
|
|
352
|
-
/* #region MatStep */
|
|
353
|
-
|
|
354
|
-
.mat-step {
|
|
355
|
-
font-size: 0.9rem;
|
|
356
|
-
|
|
357
|
-
.wrap {
|
|
358
|
-
mat-card-content {
|
|
359
|
-
padding: 8px;
|
|
360
|
-
background: #e0e0e0;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.mat-step-label {
|
|
365
|
-
display: flex;
|
|
366
|
-
width: 100%;
|
|
367
|
-
|
|
368
|
-
.mat-step-text-label {
|
|
369
|
-
display: flex;
|
|
370
|
-
align-items: center;
|
|
371
|
-
width: 100%;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.sub-card {
|
|
376
|
-
.mat-card {
|
|
377
|
-
.mat-card-title {
|
|
378
|
-
font-size: 20px;
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
@media (max-width: 599px) {
|
|
384
|
-
.mat-vertical-stepper-header {
|
|
385
|
-
padding: 24px 8px;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
.mat-vertical-content-container {
|
|
389
|
-
margin-left: 20px;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.mat-vertical-content {
|
|
393
|
-
padding: 0 8px 8px 8px;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/* #endregion */
|
|
399
|
-
|
|
400
|
-
/* #region MatCard */
|
|
401
|
-
|
|
402
|
-
mat-card {
|
|
403
|
-
|
|
404
|
-
.mat-card-actions,
|
|
405
|
-
.mat-card-content,
|
|
406
|
-
.mat-card-subtitle,
|
|
407
|
-
.mat-card-title {
|
|
408
|
-
display: block;
|
|
409
|
-
margin-bottom: 16px;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.mat-card-title {
|
|
413
|
-
font-size: 24px;
|
|
414
|
-
font-weight: 400;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/* #endregion */
|
|
419
|
-
|
|
420
|
-
/* #region MatDialog */
|
|
421
|
-
|
|
422
|
-
.dialog-full-screen {
|
|
423
|
-
@media (max-width: 599px) {
|
|
424
|
-
max-width: 100% !important;
|
|
425
|
-
height: 100%;
|
|
426
|
-
|
|
427
|
-
.mat-dialog-container {
|
|
428
|
-
max-width: 100vw;
|
|
429
|
-
max-height: 100vh;
|
|
430
|
-
height: 100%;
|
|
431
|
-
width: 100%;
|
|
432
|
-
|
|
433
|
-
.mat-dialog-content {
|
|
434
|
-
max-height: 100% !important;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
/* #endregion */
|
|
441
|
-
|
|
442
|
-
/* #region MatSidenav */
|
|
443
|
-
|
|
444
|
-
mat-sidenav {
|
|
445
|
-
.mat-toolbar {
|
|
446
|
-
padding-right: 0;
|
|
447
|
-
font-size: 1.1em;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.mat-drawer-inner-container {
|
|
451
|
-
display: flex;
|
|
452
|
-
flex-direction: column;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/* #endregion */
|
|
457
|
-
|
|
458
|
-
/* #region MatSidenavContent */
|
|
459
|
-
|
|
460
|
-
mat-sidenav-content {
|
|
461
|
-
.mat-toolbar {
|
|
462
|
-
font-size: 1.1em;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/* #endregion */
|
|
467
|
-
|
|
468
|
-
/* #region MatDialog */
|
|
469
|
-
|
|
470
|
-
.mat-dialog-container {
|
|
471
|
-
.mat-form-field-appearance-outline {
|
|
472
|
-
.mat-form-field-infix {
|
|
473
|
-
padding: 0.77em 0 0.77em 0;
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/* #endregion */
|
|
479
|
-
|
|
480
|
-
/* #region MatPaginator */
|
|
481
|
-
|
|
482
|
-
mat-paginator {
|
|
483
|
-
.mat-paginator-container {
|
|
484
|
-
.mat-form-field-appearance-outline {
|
|
485
|
-
margin: 4px 0 0 4px;
|
|
486
|
-
|
|
487
|
-
.mat-form-field-wrapper {
|
|
488
|
-
padding-bottom: 0;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.mat-form-field-infix {
|
|
492
|
-
padding: 0.7em 0 0.7em 0;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.mat-form-field-flex {
|
|
496
|
-
padding: 0 .45em 0 .45em;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
/* #endregion */
|
|
81
|
+
}
|
|
@@ -5,7 +5,7 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
|
5
5
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
6
6
|
import { FormFieldType } from '../../enums/form-field-type';
|
|
7
7
|
import { FormFieldDefinition } from '../../models/form-field-definition';
|
|
8
|
-
import {
|
|
8
|
+
import { FormFieldGroup } from '../../models/form-field-group';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
11
|
* VdEditorDirective class
|
|
@@ -44,14 +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;
|
|
51
47
|
/**
|
|
52
48
|
* fieldGroups: FormFieldGroup[]
|
|
53
49
|
*/
|
|
54
|
-
fieldGroups:
|
|
50
|
+
fieldGroups: FormFieldGroup[];
|
|
55
51
|
/**
|
|
56
52
|
* Group name
|
|
57
53
|
*/
|
|
@@ -131,12 +127,6 @@ export declare class VdGenericFormComponent implements OnInit {
|
|
|
131
127
|
* @param value
|
|
132
128
|
*/
|
|
133
129
|
private _addChip;
|
|
134
|
-
/**
|
|
135
|
-
* Check if the specified object is a function
|
|
136
|
-
* @param obj
|
|
137
|
-
* @returns
|
|
138
|
-
*/
|
|
139
|
-
isFunction(obj: any): boolean;
|
|
140
130
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdGenericFormComponent, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": "formGroup"; "
|
|
131
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdGenericFormComponent, "vd-generic-form", never, { "formGroup": "formGroup"; "fieldGroups": "fieldGroups"; "groupName": "groupName"; "context": "context"; "separatorKeysCodes": "separatorKeysCodes"; }, {}, ["editorTemplate", "codeTemplate", "fileTemplate", "customTemplate"], never>;
|
|
142
132
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const formFieldGroupsMetadataKey = "custom:vdFormFieldGroups";
|
|
1
|
+
export declare const formFieldGroupMetadataKey: unique symbol;
|
|
@@ -23,14 +23,14 @@ import * as i18 from "@angular/material/slide-toggle";
|
|
|
23
23
|
import * as i19 from "@angular/material/core";
|
|
24
24
|
import * as i20 from "@angular/material/autocomplete";
|
|
25
25
|
import * as i21 from "@angular/material/chips";
|
|
26
|
-
export {
|
|
26
|
+
export { formFieldGroupMetadataKey } from './constants/constants';
|
|
27
27
|
export { FormFieldType } from './enums/form-field-type';
|
|
28
|
-
export { FormField,
|
|
28
|
+
export { FormField, FormGroup } from './functions/decorators';
|
|
29
29
|
export { getFormGroups } from './functions/functions';
|
|
30
30
|
export { AbstractMatFormField } from './helpers/abstract-mat-form-field';
|
|
31
31
|
export { ValueAccessorBase } from './helpers/value-accessor-base';
|
|
32
32
|
export { FormFieldDefinition } from './models/form-field-definition';
|
|
33
|
-
export {
|
|
33
|
+
export { FormFieldGroup } from './models/form-field-group';
|
|
34
34
|
export { EqualValidator } from './validators/equal-validator.directive';
|
|
35
35
|
export { NativeElementInjectorDirective, UniqueValidatorDirective, MatFormFieldEditorDirective };
|
|
36
36
|
export declare class VdFormsModule {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { Type } from "@angular/core";
|
|
2
2
|
import { FormFieldDefinition } from "../models/form-field-definition";
|
|
3
|
-
import { FormFieldGroupDefinition } from "../models/form-field-group-definition";
|
|
4
3
|
/**
|
|
5
4
|
* Property decorator to create form fields
|
|
6
5
|
* @param args
|
|
7
6
|
* @returns
|
|
8
7
|
*/
|
|
9
|
-
export declare function
|
|
8
|
+
export declare function FormFieldOld(args: Partial<FormFieldDefinition>): Function;
|
|
10
9
|
/**
|
|
11
10
|
* Property decorator to create form fields
|
|
12
11
|
* @param args
|
|
13
12
|
* @returns
|
|
14
13
|
*/
|
|
15
|
-
export declare function
|
|
14
|
+
export declare function FormField(args: Partial<FormFieldDefinition>): Function;
|
|
15
|
+
/**
|
|
16
|
+
* Property decorator to create form fields
|
|
17
|
+
* @param args
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export declare function FormGroup<T>(type: Type<T>, header: string, name?: string): Function;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormFieldGroup } from "../models/form-field-group";
|
|
2
2
|
/**
|
|
3
3
|
* Gets poperties decoarated with @FormField grouped by row
|
|
4
4
|
* @param origin
|
|
5
5
|
* @returns
|
|
6
6
|
* @deprecated
|
|
7
7
|
*/
|
|
8
|
-
export declare function getFormGroupsOld(origin: object):
|
|
8
|
+
export declare function getFormGroupsOld(origin: object): FormFieldGroup[];
|
|
9
9
|
/**
|
|
10
10
|
* Gets poperties decoarated with @FormField grouped by row
|
|
11
11
|
* @param origin
|
|
12
12
|
* @returns
|
|
13
13
|
*/
|
|
14
|
-
export declare function getFormGroups(origin: object):
|
|
14
|
+
export declare function getFormGroups(origin: object): FormFieldGroup[];
|
|
@@ -1,33 +1,24 @@
|
|
|
1
1
|
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
2
|
-
import {
|
|
2
|
+
import { DoCheck, ElementRef, OnDestroy } from "@angular/core";
|
|
3
3
|
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from "@angular/forms";
|
|
4
4
|
import { ErrorStateMatcher } from "@angular/material/core";
|
|
5
5
|
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
6
|
-
import { Subject } from "rxjs";
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Form control bound to the component.
|
|
21
|
-
* Implemented as part of `MatFormFieldControl`.
|
|
22
|
-
* @docs-private
|
|
23
|
-
*/
|
|
24
|
-
ngControl: NgControl;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
7
|
+
/**
|
|
8
|
+
* _AbstractMatFormField class
|
|
9
|
+
*/
|
|
10
|
+
declare class _AbstractMatFormField {
|
|
11
|
+
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
12
|
+
_parentForm: NgForm;
|
|
13
|
+
_parentFormGroup: FormGroupDirective;
|
|
14
|
+
ngControl: NgControl;
|
|
15
|
+
constructor(_defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl);
|
|
16
|
+
}
|
|
17
|
+
declare const AbstractMatFormField_base: import("@angular/material/core")._Constructor<import("@angular/material/core").CanUpdateErrorState> & import("@angular/material/core")._AbstractConstructor<import("@angular/material/core").CanUpdateErrorState> & typeof _AbstractMatFormField;
|
|
27
18
|
/**
|
|
28
19
|
* AbstractMatFormField class
|
|
29
20
|
*/
|
|
30
|
-
export declare abstract class AbstractMatFormField<T> extends
|
|
21
|
+
export declare abstract class AbstractMatFormField<T> extends AbstractMatFormField_base implements DoCheck, OnDestroy, ControlValueAccessor, MatFormFieldControl<T> {
|
|
31
22
|
readonly controlType: string;
|
|
32
23
|
readonly ngControl: NgControl;
|
|
33
24
|
readonly _parentForm: NgForm;
|
|
@@ -35,7 +26,6 @@ export declare abstract class AbstractMatFormField<T> extends _AbstractMatFormFi
|
|
|
35
26
|
readonly _defaultErrorStateMatcher: ErrorStateMatcher;
|
|
36
27
|
protected readonly _focusMonitor: FocusMonitor;
|
|
37
28
|
protected readonly _elementRef: ElementRef;
|
|
38
|
-
protected readonly changeDetectorRef: ChangeDetectorRef;
|
|
39
29
|
/**
|
|
40
30
|
* The value of the control.
|
|
41
31
|
*/
|
|
@@ -126,7 +116,7 @@ export declare abstract class AbstractMatFormField<T> extends _AbstractMatFormFi
|
|
|
126
116
|
* @param _focusMonitor
|
|
127
117
|
* @param _elementRef
|
|
128
118
|
*/
|
|
129
|
-
constructor(controlType: string, ngControl: NgControl, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _defaultErrorStateMatcher: ErrorStateMatcher, _focusMonitor: FocusMonitor, _elementRef: ElementRef
|
|
119
|
+
constructor(controlType: string, ngControl: NgControl, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _defaultErrorStateMatcher: ErrorStateMatcher, _focusMonitor: FocusMonitor, _elementRef: ElementRef);
|
|
130
120
|
/**
|
|
131
121
|
* Registers a function called when the control value changes.
|
|
132
122
|
*/
|
|
@@ -151,10 +141,6 @@ export declare abstract class AbstractMatFormField<T> extends _AbstractMatFormFi
|
|
|
151
141
|
* Whether the control is focused.
|
|
152
142
|
*/
|
|
153
143
|
focused: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Whether the control is touched.
|
|
156
|
-
*/
|
|
157
|
-
touched: boolean;
|
|
158
144
|
/**
|
|
159
145
|
* Whether the control is focused.
|
|
160
146
|
*/
|