@unifylib/ui-lib 1.0.3 → 1.1.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.
- package/ng-package.json +7 -7
- package/package.json +14 -12
- package/src/lib/base-model/SearchStrConfig.ts +12 -12
- package/src/lib/base-model/api-response.ts +23 -23
- package/src/lib/base-model/audit-log-entry.ts +7 -7
- package/src/lib/base-model/button-action-settings.ts +29 -25
- package/src/lib/base-model/column-def.model.ts +34 -34
- package/src/lib/base-model/do-action-request.ts +11 -11
- package/src/lib/base-model/feature-item.ts +9 -0
- package/src/lib/base-model/field-action.ts +7 -7
- package/src/lib/base-model/field-filter.model.ts +7 -14
- package/src/lib/base-model/field-info.ts +102 -98
- package/src/lib/base-model/field-predicate.model.ts +7 -7
- package/src/lib/base-model/filter-request.ts +27 -27
- package/src/lib/base-model/filter.model.ts +49 -49
- package/src/lib/base-model/get-items-list.ts +24 -24
- package/src/lib/base-model/index.ts +11 -11
- package/src/lib/base-model/items-total.model.ts +12 -0
- package/src/lib/base-model/line-item.model.ts +18 -0
- package/src/lib/base-model/lookupItem.ts +21 -21
- package/src/lib/base-model/null-snackmessage.ts +9 -9
- package/src/lib/base-model/page-info.ts +54 -51
- package/src/lib/base-model/report-request.model.ts +33 -33
- package/src/lib/base-model/response-envelop.model.ts +15 -15
- package/src/lib/base-model/snack-message.model.ts +14 -14
- package/src/lib/base-model/snackmessage-interface.ts +7 -7
- package/src/lib/base-model/table-column.interface.ts +29 -29
- package/src/lib/base-model/table-page-user-action.interface.ts +33 -33
- package/src/lib/base-model/workflow/workflow-steps.model.ts +9 -9
- package/src/lib/base-model/workflow/workflow.model.ts +52 -52
- package/src/lib/components/action-comment/action-comment.component.css +52 -0
- package/src/lib/components/action-comment/action-comment.component.html +47 -0
- package/src/lib/components/{rejection-comment → action-comment}/action-comment.component.spec.ts +23 -23
- package/src/lib/components/{rejection-comment → action-comment}/action-comment.component.ts +102 -86
- package/src/lib/components/action-confirmation/action-confirmation.component.css +46 -34
- package/src/lib/components/action-confirmation/action-confirmation.component.html +32 -18
- package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +23 -23
- package/src/lib/components/action-confirmation/action-confirmation.component.ts +58 -58
- package/src/lib/components/activity-report-form/activity-report-form.component.html +110 -109
- package/src/lib/components/activity-report-form/activity-report-form.component.scss +69 -0
- package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +25 -25
- package/src/lib/components/activity-report-form/activity-report-form.component.ts +616 -605
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.html +8 -0
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.scss +0 -0
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.spec.ts +25 -0
- package/src/lib/components/advanced-filter/field-filter/field-filter.component.ts +55 -0
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.html +36 -0
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.scss +130 -0
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.spec.ts +25 -0
- package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.ts +186 -0
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +51 -51
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +23 -23
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +23 -23
- package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +69 -69
- package/src/lib/components/audit-log-list/audit-log.component.html +26 -23
- package/src/lib/components/audit-log-list/audit-log.component.scss +50 -0
- package/src/lib/components/audit-log-list/audit-log.component.spec.ts +25 -25
- package/src/lib/components/audit-log-list/audit-log.component.ts +114 -116
- package/src/lib/components/auto-complete/auto-complete.component.css +55 -14
- package/src/lib/components/auto-complete/auto-complete.component.html +45 -29
- package/src/lib/components/auto-complete/auto-complete.component.spec.ts +23 -23
- package/src/lib/components/auto-complete/auto-complete.component.ts +331 -330
- package/src/lib/components/base-form/base-form.component.html +59 -58
- package/src/lib/components/base-form/base-form.component.scss +68 -0
- package/src/lib/components/base-form/base-form.component.spec.ts +25 -25
- package/src/lib/components/base-form/base-form.component.ts +323 -305
- package/src/lib/components/base-form-canvas/base-form-canvas.component.css +196 -22
- package/src/lib/components/base-form-canvas/base-form-canvas.component.html +1095 -1006
- package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +23 -23
- package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +680 -573
- package/src/lib/components/base-input-dialog/base-input-dialog.component.css +67 -0
- package/src/lib/components/base-input-dialog/base-input-dialog.component.html +47 -42
- package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +23 -23
- package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +77 -78
- package/src/lib/components/base-table/base-table.component.html +268 -242
- package/src/lib/components/base-table/base-table.component.scss +140 -31
- package/src/lib/components/base-table/base-table.component.spec.ts +25 -25
- package/src/lib/components/base-table/base-table.component.ts +621 -568
- package/src/lib/components/button-actions/button-actions.component.html +27 -28
- package/src/lib/components/button-actions/button-actions.component.scss +101 -6
- package/src/lib/components/button-actions/button-actions.component.spec.ts +23 -23
- package/src/lib/components/button-actions/button-actions.component.ts +70 -72
- package/src/lib/components/editable-base-table/editable-base-table.component.html +337 -372
- package/src/lib/components/editable-base-table/editable-base-table.component.scss +126 -44
- package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +25 -25
- package/src/lib/components/editable-base-table/editable-base-table.component.ts +579 -570
- package/src/lib/components/equation-builder/equation-builder.component.css +39 -0
- package/src/lib/components/equation-builder/equation-builder.component.html +31 -31
- package/src/lib/components/equation-builder/equation-builder.component.spec.ts +23 -23
- package/src/lib/components/equation-builder/equation-builder.component.ts +119 -121
- package/src/lib/components/item-line-editor/item-line-editor.component.html +102 -0
- package/src/lib/components/item-line-editor/item-line-editor.component.scss +152 -0
- package/src/lib/components/item-line-editor/item-line-editor.component.spec.ts +23 -0
- package/src/lib/components/item-line-editor/item-line-editor.component.ts +306 -0
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +19 -11
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +38 -38
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +23 -23
- package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +315 -317
- package/src/lib/components/paginator/paginator.component.css +65 -25
- package/src/lib/components/paginator/paginator.component.html +30 -34
- package/src/lib/components/paginator/paginator.component.ts +87 -94
- package/src/lib/components/report-details-dialog/report-details-dialog.component.css +17 -17
- package/src/lib/components/report-details-dialog/report-details-dialog.component.html +16 -16
- package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +23 -23
- package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +111 -113
- package/src/lib/components/report-form/report-form.component.html +92 -94
- package/src/lib/components/report-form/report-form.component.scss +51 -0
- package/src/lib/components/report-form/report-form.component.spec.ts +25 -25
- package/src/lib/components/report-form/report-form.component.ts +599 -588
- package/src/lib/components/search-bar/search-bar.component.html +51 -62
- package/src/lib/components/search-bar/search-bar.component.scss +63 -8
- package/src/lib/components/search-bar/search-bar.component.spec.ts +25 -25
- package/src/lib/components/search-bar/search-bar.component.ts +68 -70
- package/src/lib/components/section-form-canvas/section-form-canvas.component.html +43 -0
- package/src/lib/components/section-form-canvas/section-form-canvas.component.scss +81 -0
- package/src/lib/components/section-form-canvas/section-form-canvas.component.spec.ts +23 -0
- package/src/lib/components/section-form-canvas/section-form-canvas.component.ts +67 -0
- package/src/lib/components/shared/action-button/action-button.component.html +12 -0
- package/src/lib/components/shared/action-button/action-button.component.scss +45 -0
- package/src/lib/components/shared/action-button/action-button.component.ts +51 -0
- package/src/lib/components/shared/action-card/action-card.component.html +78 -0
- package/src/lib/components/shared/action-card/action-card.component.scss +238 -0
- package/src/lib/components/shared/action-card/action-card.component.ts +56 -0
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +135 -54
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +36 -22
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +23 -23
- package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +71 -45
- package/src/lib/components/shared-list/shared-list.component.html +17 -17
- package/src/lib/components/shared-list/shared-list.component.spec.ts +23 -23
- package/src/lib/components/shared-list/shared-list.component.ts +53 -53
- package/src/lib/components/snackbar-static/snackbar-static.component.html +20 -0
- package/src/lib/components/snackbar-static/snackbar-static.component.scss +135 -0
- package/src/lib/components/snackbar-static/snackbar-static.component.ts +26 -0
- package/src/lib/components/title-bar/title-bar.component.html +35 -31
- package/src/lib/components/title-bar/title-bar.component.scss +126 -23
- package/src/lib/components/title-bar/title-bar.component.spec.ts +23 -23
- package/src/lib/components/title-bar/title-bar.component.ts +126 -119
- package/src/lib/services/backend-service.ts +287 -286
- package/src/lib/services/index.ts +3 -3
- package/src/lib/services/top-panel.ts +17 -17
- package/src/lib/services/trigger-form.service.ts +11 -11
- package/src/lib/share-module/shared-module.ts +10 -10
- package/src/lib/utils/base-utils.ts +102 -102
- package/src/lib/validators/date-range-validator.ts +31 -31
- package/src/lib/validators/index.ts +3 -3
- package/src/lib/validators/match-list.validator.ts +10 -10
- package/src/lib/validators/multi-email-validator.ts +15 -15
- package/src/public-api.ts +29 -21
- package/tsconfig.lib.json +15 -15
- package/tsconfig.lib.prod.json +11 -11
- package/tsconfig.spec.json +15 -15
- package/src/lib/components/rejection-comment/action-comment.component.css +0 -33
- package/src/lib/components/rejection-comment/action-comment.component.html +0 -46
- package/src/lib/styles/invoiceq-theme.scss +0 -252
- package/src/lib/styles/styles.scss +0 -1723
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
@include mat.core();
|
|
4
|
-
|
|
5
|
-
//@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
|
|
6
|
-
|
|
7
|
-
// Define a custom typography config that overrides the font-family as well as the
|
|
8
|
-
// `headlines` and `body-1` levels.
|
|
9
|
-
|
|
10
|
-
$custom-typography: mat.define-typography-config(
|
|
11
|
-
$font-family: 'Cairo',
|
|
12
|
-
$headline-1: mat.define-typography-level(112px, 112px, 300),
|
|
13
|
-
$headline-2: mat.define-typography-level(56px, 56px, 400),
|
|
14
|
-
$headline-3: mat.define-typography-level(45px, 48px, 400),
|
|
15
|
-
$headline-4: mat.define-typography-level(34px, 40px, 400),
|
|
16
|
-
$headline-5: mat.define-typography-level(24px, 32px, 400),
|
|
17
|
-
$headline-6: mat.define-typography-level(20px, 32px, 500),
|
|
18
|
-
$subtitle-2: mat.define-typography-level(16px, 28px, 400),
|
|
19
|
-
$subtitle-1: mat.define-typography-level(15px, 24px, 400),
|
|
20
|
-
$body-2: mat.define-typography-level(14px, 24px, 500),
|
|
21
|
-
$body-1: mat.define-typography-level(14px, 20px, 400),
|
|
22
|
-
$caption: mat.define-typography-level(12px, 20px, 400),
|
|
23
|
-
$button: mat.define-typography-level(14px, 14px, 500),
|
|
24
|
-
$overline: mat.define-typography-level(inherit, 1.125, 400)
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
@include mat.all-component-themes($custom-typography);
|
|
28
|
-
// Override typography for all Angular Material, including mat-base-typography and all components.
|
|
29
|
-
@include mat.all-component-typographies($custom-typography);
|
|
30
|
-
|
|
31
|
-
@include mat.core-theme($custom-typography);
|
|
32
|
-
|
|
33
|
-
/* For use in src/lib/core/theming/_palette.scss */
|
|
34
|
-
$md-primary: (
|
|
35
|
-
50 : #e3f4f5,
|
|
36
|
-
100 : #b8e4e6,
|
|
37
|
-
200 : #89d2d5,
|
|
38
|
-
300 : #59bfc4,
|
|
39
|
-
400 : #36b2b8,
|
|
40
|
-
500 : var(--primary-color),
|
|
41
|
-
600 : #109ca4,
|
|
42
|
-
700 : #0d929a,
|
|
43
|
-
800 : #0a8991,
|
|
44
|
-
900 : #057880,
|
|
45
|
-
A100 : #aef9ff,
|
|
46
|
-
A200 : #7bf4ff,
|
|
47
|
-
A400 : #48f0ff,
|
|
48
|
-
A700 : #2feeff,
|
|
49
|
-
contrast: (
|
|
50
|
-
50 : #000000,
|
|
51
|
-
100 : #000000,
|
|
52
|
-
200 : #000000,
|
|
53
|
-
300 : #000000,
|
|
54
|
-
400 : #000000,
|
|
55
|
-
500 : #ffffff,
|
|
56
|
-
600 : #ffffff,
|
|
57
|
-
700 : #ffffff,
|
|
58
|
-
800 : #ffffff,
|
|
59
|
-
900 : #ffffff,
|
|
60
|
-
A100 : #000000,
|
|
61
|
-
A200 : #000000,
|
|
62
|
-
A400 : #000000,
|
|
63
|
-
A700 : #000000,
|
|
64
|
-
)
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
$md-accent: (
|
|
68
|
-
50 : #e0e0e0,
|
|
69
|
-
100 : #b3b3b3,
|
|
70
|
-
200 : #808080,
|
|
71
|
-
300 : #4d4d4d,
|
|
72
|
-
400 : #262626,
|
|
73
|
-
500 : var(--accent-color),
|
|
74
|
-
600 : #000000,
|
|
75
|
-
700 : #000000,
|
|
76
|
-
800 : #000000,
|
|
77
|
-
900 : #000000,
|
|
78
|
-
A100 : #a6a6a6,
|
|
79
|
-
A200 : #8c8c8c,
|
|
80
|
-
A400 : #737373,
|
|
81
|
-
A700 : #666666,
|
|
82
|
-
contrast: (
|
|
83
|
-
50 : #000000,
|
|
84
|
-
100 : #000000,
|
|
85
|
-
200 : #000000,
|
|
86
|
-
300 : #ffffff,
|
|
87
|
-
400 : #ffffff,
|
|
88
|
-
500 : #ffffff,
|
|
89
|
-
600 : #ffffff,
|
|
90
|
-
700 : #ffffff,
|
|
91
|
-
800 : #ffffff,
|
|
92
|
-
900 : #ffffff,
|
|
93
|
-
A100 : #000000,
|
|
94
|
-
A200 : #000000,
|
|
95
|
-
A400 : #ffffff,
|
|
96
|
-
A700 : #ffffff,
|
|
97
|
-
)
|
|
98
|
-
);
|
|
99
|
-
|
|
100
|
-
$md-warn: (
|
|
101
|
-
50 : #f9e0e0,
|
|
102
|
-
100 : #f0b3b3,
|
|
103
|
-
200 : #e68080,
|
|
104
|
-
300 : #db4d4d,
|
|
105
|
-
400 : #d42626,
|
|
106
|
-
500 : #cc0000,
|
|
107
|
-
600 : #c70000,
|
|
108
|
-
700 : #c00000,
|
|
109
|
-
800 : #b90000,
|
|
110
|
-
900 : #ad0000,
|
|
111
|
-
A100 : #ffd7d7,
|
|
112
|
-
A200 : #ffa4a4,
|
|
113
|
-
A400 : #ff7171,
|
|
114
|
-
A700 : #ff5858,
|
|
115
|
-
contrast: (
|
|
116
|
-
50 : #000000,
|
|
117
|
-
100 : #000000,
|
|
118
|
-
200 : #000000,
|
|
119
|
-
300 : #ffffff,
|
|
120
|
-
400 : #ffffff,
|
|
121
|
-
500 : #ffffff,
|
|
122
|
-
600 : #ffffff,
|
|
123
|
-
700 : #ffffff,
|
|
124
|
-
800 : #ffffff,
|
|
125
|
-
900 : #ffffff,
|
|
126
|
-
A100 : #000000,
|
|
127
|
-
A200 : #000000,
|
|
128
|
-
A400 : #000000,
|
|
129
|
-
A700 : #000000,
|
|
130
|
-
)
|
|
131
|
-
);
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
$my-theme-primary: mat.define-palette($md-primary);
|
|
135
|
-
$my-theme-accent: mat.define-palette($md-accent);
|
|
136
|
-
//the third, for the warn color, is the predefined material red palette
|
|
137
|
-
$my-theme-warn: mat.define-palette(mat.$red-palette);
|
|
138
|
-
|
|
139
|
-
$invoiceq-theme: mat.define-light-theme($my-theme-primary, $my-theme-accent, $my-theme-warn);
|
|
140
|
-
|
|
141
|
-
@include mat.all-component-themes($invoiceq-theme);
|
|
142
|
-
|
|
143
|
-
:root {
|
|
144
|
-
--primary-color: #00A8C4;
|
|
145
|
-
--background-color: white;
|
|
146
|
-
--accent-color: #222222;
|
|
147
|
-
--primary-color-2nd: #1C355E;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.primpary-color-a40 {
|
|
151
|
-
background-color: rgba(var(--primary-color), 0.4);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.mat-button-toggle {
|
|
155
|
-
background-color: mat.get-color-from-palette($md-primary);
|
|
156
|
-
color: mat.get-color-from-palette($md-primary, default-contrast);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.mat-sort-header-arrow {
|
|
160
|
-
color: white !important;
|
|
161
|
-
}
|
|
162
|
-
.mat-button-toggle-checked {
|
|
163
|
-
background-color: mat.get-color-from-palette($md-accent);
|
|
164
|
-
color: mat.get-color-from-palette($md-accent, default-contrast);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.mat-checkbox-layout { white-space: normal !important; }
|
|
168
|
-
.mat-form-field-wrapper {
|
|
169
|
-
padding-bottom: 0.25em;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.mat-form-field-prefix {
|
|
173
|
-
align-self: center;
|
|
174
|
-
margin-top: -2px;
|
|
175
|
-
font-weight: bold;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.mat-form-field {
|
|
179
|
-
font-size: 14px;
|
|
180
|
-
//font-weight: bold;
|
|
181
|
-
//border-radius: 12px !important;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.mat-form-field-appearance-outline .mat-form-field-outline {
|
|
185
|
-
background-color: white;
|
|
186
|
-
border-radius: 5px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.mat-list-option[aria-selected="true"] {
|
|
190
|
-
background: transparent !important;
|
|
191
|
-
color: var(--primary-color);
|
|
192
|
-
}
|
|
193
|
-
.mat-list-option {
|
|
194
|
-
background: transparent !important;
|
|
195
|
-
margin-top: 1px;
|
|
196
|
-
}
|
|
197
|
-
.mat-select-panel {
|
|
198
|
-
font-size: 18px;
|
|
199
|
-
width: 50%;
|
|
200
|
-
}
|
|
201
|
-
.mat-list-option:hover {
|
|
202
|
-
font-weight: bold;
|
|
203
|
-
background-color: transparent !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.mat-drawer-container {
|
|
207
|
-
background-color: transparent !important;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
tr.mat-row:hover {
|
|
211
|
-
font-weight: bold;
|
|
212
|
-
box-shadow: 1px 3px 3px rgba(0,0,0,0.25);
|
|
213
|
-
|
|
214
|
-
transform: scale(1);
|
|
215
|
-
}
|
|
216
|
-
.mat-flat-button.mat-accent, .mat-raised-button.mat-accent, .mat-fab.mat-accent, .mat-mini-fab.mat-accent {
|
|
217
|
-
background-color: var(--accent-color);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.no-data {
|
|
221
|
-
pointer-events: none;
|
|
222
|
-
}
|
|
223
|
-
.allow-no-data {
|
|
224
|
-
color: red;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
.iq_loading {
|
|
229
|
-
position: absolute;
|
|
230
|
-
top: 0;
|
|
231
|
-
left: 0;
|
|
232
|
-
right: 0;
|
|
233
|
-
background: rgba(0, 0, 0, 0.15);
|
|
234
|
-
z-index: 1000;
|
|
235
|
-
display: flex;
|
|
236
|
-
align-items: center;
|
|
237
|
-
justify-content: center;
|
|
238
|
-
width: 100%;
|
|
239
|
-
height: 100%;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.primary-chip {
|
|
243
|
-
background-color: var(--primary-color);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.accent-chip {
|
|
247
|
-
background-color: var(--accent-color);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
//.mat-sidenav-container { background-color: transparent!important; }
|