@vality/matez 19.0.0
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/README.md +8 -0
- package/_index.scss +9 -0
- package/fesm2022/vality-matez.mjs +3809 -0
- package/fesm2022/vality-matez.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/lib/components/actions/actions.component.d.ts +5 -0
- package/lib/components/actions/actions.module.d.ts +7 -0
- package/lib/components/actions/index.d.ts +2 -0
- package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +16 -0
- package/lib/components/confirm-dialog/confirm-dialog.module.d.ts +14 -0
- package/lib/components/confirm-dialog/index.d.ts +2 -0
- package/lib/components/content-loading/content-loading.component.d.ts +8 -0
- package/lib/components/content-loading/index.d.ts +1 -0
- package/lib/components/date-range-field/date-range-field.component.d.ts +16 -0
- package/lib/components/date-range-field/date-range-field.module.d.ts +13 -0
- package/lib/components/date-range-field/index.d.ts +5 -0
- package/lib/components/date-range-field/types/date-range.d.ts +4 -0
- package/lib/components/date-range-field/utils/create-date-range-to-today.d.ts +2 -0
- package/lib/components/date-range-field/utils/is-equal-date-range.d.ts +2 -0
- package/lib/components/datetime-field/datetime-field.component.d.ts +19 -0
- package/lib/components/datetime-field/datetime-field.module.d.ts +11 -0
- package/lib/components/datetime-field/index.d.ts +2 -0
- package/lib/components/dialog/components/dialog-actions/dialog-actions.component.d.ts +5 -0
- package/lib/components/dialog/dialog.component.d.ts +28 -0
- package/lib/components/dialog/dialog.module.d.ts +16 -0
- package/lib/components/dialog/index.d.ts +8 -0
- package/lib/components/dialog/services/dialog.service.d.ts +23 -0
- package/lib/components/dialog/tokens.d.ts +8 -0
- package/lib/components/dialog/types/dialog-response-status.d.ts +5 -0
- package/lib/components/dialog/types/dialog-response.d.ts +6 -0
- package/lib/components/dialog/utils/dialog-superclass.d.ts +13 -0
- package/lib/components/error-page/error-page-routing.module.d.ts +7 -0
- package/lib/components/error-page/error-page.component.d.ts +5 -0
- package/lib/components/error-page/error-page.module.d.ts +9 -0
- package/lib/components/error-page/index.d.ts +2 -0
- package/lib/components/file-upload/file-upload.component.d.ts +14 -0
- package/lib/components/file-upload/file-upload.module.d.ts +9 -0
- package/lib/components/file-upload/index.d.ts +3 -0
- package/lib/components/file-upload/utils/load-file-content.d.ts +3 -0
- package/lib/components/filters/components/filters-dialog/filters-dialog.component.d.ts +10 -0
- package/lib/components/filters/components/main-filters/main-filters.directive.d.ts +8 -0
- package/lib/components/filters/components/more-filters-button/more-filters-button.component.d.ts +7 -0
- package/lib/components/filters/components/other-filters/other-filters.directive.d.ts +8 -0
- package/lib/components/filters/filters.component.d.ts +29 -0
- package/lib/components/filters/filters.module.d.ts +19 -0
- package/lib/components/filters/index.d.ts +5 -0
- package/lib/components/index.d.ts +18 -0
- package/lib/components/input-field/index.d.ts +2 -0
- package/lib/components/input-field/input-field.component.d.ts +14 -0
- package/lib/components/input-field/input-field.module.d.ts +12 -0
- package/lib/components/list-field/index.d.ts +2 -0
- package/lib/components/list-field/list-field.component.d.ts +12 -0
- package/lib/components/list-field/list-field.module.d.ts +10 -0
- package/lib/components/nav/index.d.ts +1 -0
- package/lib/components/nav/nav.component.d.ts +16 -0
- package/lib/components/number-range-field/index.d.ts +2 -0
- package/lib/components/number-range-field/number-range-field.component.d.ts +18 -0
- package/lib/components/number-range-field/number-range-field.module.d.ts +9 -0
- package/lib/components/progress/index.d.ts +3 -0
- package/lib/components/progress/progress.component.d.ts +9 -0
- package/lib/components/progress/progress.module.d.ts +9 -0
- package/lib/components/progress/utils/get-progress-by-count.d.ts +1 -0
- package/lib/components/select-autocomplete/autocomplete-field/autocomplete-field.component.d.ts +23 -0
- package/lib/components/select-autocomplete/autocomplete-field/autocomplete-field.module.d.ts +13 -0
- package/lib/components/select-autocomplete/autocomplete-field/index.d.ts +2 -0
- package/lib/components/select-autocomplete/index.d.ts +3 -0
- package/lib/components/select-autocomplete/select-field/index.d.ts +2 -0
- package/lib/components/select-autocomplete/select-field/select-field.component.d.ts +26 -0
- package/lib/components/select-autocomplete/select-field/select-field.module.d.ts +12 -0
- package/lib/components/select-autocomplete/types/index.d.ts +1 -0
- package/lib/components/select-autocomplete/types/option.d.ts +6 -0
- package/lib/components/select-autocomplete/utils/find-option-by-value.d.ts +2 -0
- package/lib/components/select-autocomplete/utils/get-hint-text.d.ts +5 -0
- package/lib/components/select-autocomplete/utils/index.d.ts +2 -0
- package/lib/components/select-autocomplete/utils/search-options.d.ts +3 -0
- package/lib/components/switch-button/index.d.ts +2 -0
- package/lib/components/switch-button/switch-button.component.d.ts +24 -0
- package/lib/components/switch-button/switch-button.module.d.ts +11 -0
- package/lib/components/table/components/base-column.component.d.ts +17 -0
- package/lib/components/table/components/customize/customize.component.d.ts +17 -0
- package/lib/components/table/components/dnd-column.component.d.ts +7 -0
- package/lib/components/table/components/infinity-scroll.directive.d.ts +12 -0
- package/lib/components/table/components/no-records.component.d.ts +7 -0
- package/lib/components/table/components/select-column.component.d.ts +21 -0
- package/lib/components/table/components/table-actions.component.d.ts +5 -0
- package/lib/components/table/components/table-info-bar/table-info-bar.component.d.ts +33 -0
- package/lib/components/table/components/table-inputs.component.d.ts +5 -0
- package/lib/components/table/components/table-progress-bar.component.d.ts +6 -0
- package/lib/components/table/consts.d.ts +8 -0
- package/lib/components/table/index.d.ts +10 -0
- package/lib/components/table/presets/create-menu-column.d.ts +6 -0
- package/lib/components/table/presets/index.d.ts +1 -0
- package/lib/components/table/table.component.d.ts +81 -0
- package/lib/components/table/table.module.d.ts +34 -0
- package/lib/components/table/tree-data/index.d.ts +2 -0
- package/lib/components/table/tree-data/tree-data-item-to-inline-data-item.d.ts +10 -0
- package/lib/components/table/tree-data/tree-data.d.ts +10 -0
- package/lib/components/table/types/column.d.ts +34 -0
- package/lib/components/table/types/drag-drop.d.ts +10 -0
- package/lib/components/table/types/index.d.ts +3 -0
- package/lib/components/table/types/update-options.d.ts +3 -0
- package/lib/components/table/utils/cached-head-map.d.ts +2 -0
- package/lib/components/table/utils/correct-priorities.d.ts +5 -0
- package/lib/components/table/utils/create-column.d.ts +6 -0
- package/lib/components/table/utils/create-intersection-observer.d.ts +2 -0
- package/lib/components/table/utils/create-unique-column-def.d.ts +1 -0
- package/lib/components/table/utils/filter-sort.d.ts +14 -0
- package/lib/components/table/utils/normalize-string.d.ts +2 -0
- package/lib/components/table/utils/table-data-source.d.ts +31 -0
- package/lib/components/table/utils/table-to-csv-object.d.ts +3 -0
- package/lib/components/table/utils/to-columns-data.d.ts +26 -0
- package/lib/components/tag/index.d.ts +2 -0
- package/lib/components/tag/tag.component.d.ts +10 -0
- package/lib/components/tag/tag.module.d.ts +10 -0
- package/lib/components/value/components/menu-value.component.d.ts +15 -0
- package/lib/components/value/components/toggle-value.component.d.ts +8 -0
- package/lib/components/value/components/value-list.component.d.ts +7 -0
- package/lib/components/value/index.d.ts +4 -0
- package/lib/components/value/types/base-type.d.ts +21 -0
- package/lib/components/value/types/value.d.ts +10 -0
- package/lib/components/value/utils/currency-amount-value-to-string.d.ts +8 -0
- package/lib/components/value/utils/datetime-value-to-string.d.ts +4 -0
- package/lib/components/value/utils/unknown-to-string.d.ts +1 -0
- package/lib/components/value/utils/value-to-string.d.ts +2 -0
- package/lib/components/value/value.component.d.ts +27 -0
- package/lib/directives/highlight.directive.d.ts +15 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/tooltip.directive.d.ts +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/pipes/amount-currency.pipe.d.ts +10 -0
- package/lib/pipes/enum-key-values.pipe.d.ts +10 -0
- package/lib/pipes/enum-key.pipe.d.ts +8 -0
- package/lib/pipes/enum-keys.pipe.d.ts +7 -0
- package/lib/pipes/humanized-duration.pipe.d.ts +13 -0
- package/lib/pipes/index.d.ts +8 -0
- package/lib/pipes/inline-json.pipe.d.ts +7 -0
- package/lib/pipes/pipes.module.d.ts +14 -0
- package/lib/pipes/select.pipe.d.ts +12 -0
- package/lib/services/config/config.service.d.ts +12 -0
- package/lib/services/config/index.d.ts +1 -0
- package/lib/services/fetch-superclass/fetch-superclass.d.ts +39 -0
- package/lib/services/fetch-superclass/index.d.ts +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/log/index.d.ts +2 -0
- package/lib/services/log/log-error.d.ts +12 -0
- package/lib/services/log/log.module.d.ts +7 -0
- package/lib/services/log/notify-log.service.d.ts +17 -0
- package/lib/services/log/types/operation.d.ts +1 -0
- package/lib/services/query-params/index.d.ts +4 -0
- package/lib/services/query-params/query-params.module.d.ts +6 -0
- package/lib/services/query-params/query-params.service.d.ts +37 -0
- package/lib/services/query-params/types/serializer.d.ts +6 -0
- package/lib/services/query-params/utils/date-query-params-serializers.d.ts +2 -0
- package/lib/services/query-params/utils/deserialize-query-param.d.ts +2 -0
- package/lib/services/query-params/utils/index.d.ts +2 -0
- package/lib/services/query-params/utils/query-params-serializers.d.ts +3 -0
- package/lib/services/query-params/utils/serialize-query-param.d.ts +2 -0
- package/lib/services/url.service.d.ts +12 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/types/color.d.ts +4 -0
- package/lib/types/progressable.d.ts +3 -0
- package/lib/utils/async/async-transform.d.ts +20 -0
- package/lib/utils/async/get-possibly-async-observable.d.ts +3 -0
- package/lib/utils/async/index.d.ts +3 -0
- package/lib/utils/async/is-async.d.ts +4 -0
- package/lib/utils/clean/clean.d.ts +2 -0
- package/lib/utils/clean/index.d.ts +1 -0
- package/lib/utils/compare/compare-different-types.d.ts +4 -0
- package/lib/utils/compare/index.d.ts +1 -0
- package/lib/utils/component/component-changes.d.ts +8 -0
- package/lib/utils/component/index.d.ts +1 -0
- package/lib/utils/create-storage-value.d.ts +11 -0
- package/lib/utils/csv/create-csv.d.ts +1 -0
- package/lib/utils/csv/index.d.ts +3 -0
- package/lib/utils/csv/parse-csv.d.ts +2 -0
- package/lib/utils/csv/utils/remove-line-breaks.d.ts +1 -0
- package/lib/utils/csv/utils/unify-csv-items.d.ts +1 -0
- package/lib/utils/currency/format-currency.d.ts +1 -0
- package/lib/utils/currency/get-currency-exponent.d.ts +1 -0
- package/lib/utils/currency/index.d.ts +4 -0
- package/lib/utils/currency/to-major.d.ts +2 -0
- package/lib/utils/currency/to-minor.d.ts +2 -0
- package/lib/utils/date/get-no-time-zone-iso-string.d.ts +2 -0
- package/lib/utils/date/index.d.ts +1 -0
- package/lib/utils/decorators/debounce-time.d.ts +1 -0
- package/lib/utils/decorators/index.d.ts +1 -0
- package/lib/utils/empty/index.d.ts +3 -0
- package/lib/utils/empty/is-empty-primitive.d.ts +1 -0
- package/lib/utils/empty/is-empty.d.ts +1 -0
- package/lib/utils/empty/types/nil.d.ts +1 -0
- package/lib/utils/enum/get-enum-keys.d.ts +11 -0
- package/lib/utils/enum/index.d.ts +2 -0
- package/lib/utils/enum/types/enum.d.ts +2 -0
- package/lib/utils/enum/types/union-enum.d.ts +2 -0
- package/lib/utils/file/download-file.d.ts +8 -0
- package/lib/utils/file/index.d.ts +1 -0
- package/lib/utils/form/create-controls.d.ts +4 -0
- package/lib/utils/form/form-wrappers/abstract-control-superclass.d.ts +17 -0
- package/lib/utils/form/form-wrappers/form-component-superclass.directive.d.ts +14 -0
- package/lib/utils/form/form-wrappers/form-control-superclass.directive.d.ts +8 -0
- package/lib/utils/form/form-wrappers/form-group-superclass.directive.d.ts +11 -0
- package/lib/utils/form/form-wrappers/index.d.ts +5 -0
- package/lib/utils/form/form-wrappers/utils/create-control-providers.d.ts +2 -0
- package/lib/utils/form/form-wrappers/utils/get-errors-tree.d.ts +6 -0
- package/lib/utils/form/form-wrappers/utils/provide-validators.d.ts +2 -0
- package/lib/utils/form/form-wrappers/utils/provide-value-accessor.d.ts +2 -0
- package/lib/utils/form/get-valid-value-changes.d.ts +3 -0
- package/lib/utils/form/get-value-changes.d.ts +3 -0
- package/lib/utils/form/get-value.d.ts +2 -0
- package/lib/utils/form/has-controls.d.ts +2 -0
- package/lib/utils/form/index.d.ts +8 -0
- package/lib/utils/form/set-disabled.d.ts +2 -0
- package/lib/utils/form/types/form-group-by-value.d.ts +4 -0
- package/lib/utils/import/get-import-value.d.ts +2 -0
- package/lib/utils/import/index.d.ts +1 -0
- package/lib/utils/index.d.ts +19 -0
- package/lib/utils/json/index.d.ts +1 -0
- package/lib/utils/json/inline-json.d.ts +1 -0
- package/lib/utils/object/count-changed.d.ts +3 -0
- package/lib/utils/object/count-props.d.ts +1 -0
- package/lib/utils/object/index.d.ts +3 -0
- package/lib/utils/object/select.d.ts +3 -0
- package/lib/utils/operators/async-start-with.d.ts +2 -0
- package/lib/utils/operators/debounce-time-with-first.d.ts +2 -0
- package/lib/utils/operators/fork-join-to-result.d.ts +20 -0
- package/lib/utils/operators/get-observable.d.ts +3 -0
- package/lib/utils/operators/handle-error.d.ts +3 -0
- package/lib/utils/operators/in-progress-from.d.ts +2 -0
- package/lib/utils/operators/index.d.ts +8 -0
- package/lib/utils/operators/pass-error.d.ts +2 -0
- package/lib/utils/operators/progress-to.d.ts +2 -0
- package/lib/utils/operators/switch-combine-with.d.ts +6 -0
- package/lib/utils/string/index.d.ts +1 -0
- package/lib/utils/string/split-by-separators.d.ts +1 -0
- package/lib/utils/transform-attribute/array-attribute.d.ts +3 -0
- package/lib/utils/transform-attribute/index.d.ts +1 -0
- package/package.json +44 -0
- package/src/lib/components/actions/actions.component.scss +20 -0
- package/src/lib/components/content-loading/content-loading.component.scss +26 -0
- package/src/lib/components/date-range-field/date-range-field.component.scss +19 -0
- package/src/lib/components/datetime-field/datetime-field.component.scss +11 -0
- package/src/lib/components/dialog/_dialog-theme.scss +9 -0
- package/src/lib/components/dialog/dialog.component.scss +71 -0
- package/src/lib/components/error-page/error-page.component.scss +19 -0
- package/src/lib/components/file-upload/file-upload.component.scss +12 -0
- package/src/lib/components/filters/components/filters-dialog/filters-dialog.component.scss +19 -0
- package/src/lib/components/filters/components/more-filters-button/more-filters-button.component.scss +0 -0
- package/src/lib/components/filters/filters.component.scss +23 -0
- package/src/lib/components/input-field/_input-field-theme.scss +7 -0
- package/src/lib/components/input-field/input-field.component.scss +21 -0
- package/src/lib/components/nav/_nav-theme.scss +33 -0
- package/src/lib/components/nav/nav.component.scss +32 -0
- package/src/lib/components/number-range-field/number-range-field.component.scss +5 -0
- package/src/lib/components/select-autocomplete/autocomplete-field/autocomplete-field.component.scss +5 -0
- package/src/lib/components/select-autocomplete/select-field/select-field.component.scss +26 -0
- package/src/lib/components/table/_table-theme.scss +11 -0
- package/src/lib/components/table/components/table-info-bar/table-info-bar.component.scss +45 -0
- package/src/lib/components/table/table.component.scss +84 -0
- package/src/lib/components/tag/_tag-theme.scss +30 -0
- package/src/lib/components/tag/tag.component.scss +40 -0
- package/src/lib/components/value/_value-theme.scss +10 -0
- package/src/lib/components/value/value.component.scss +42 -0
- package/src/lib/styles/_all-component-themes.scss +23 -0
- package/src/lib/styles/_app.scss +10 -0
- package/src/lib/styles/_core.scss +8 -0
- package/src/lib/styles/_mat-component-variants.scss +65 -0
- package/src/lib/styles/_select-theme.scss +6 -0
- package/src/lib/styles/_typography-hierarchy.scss +37 -0
- package/src/lib/styles/_v-tokens.scss +11 -0
- package/src/lib/styles/utils/create-palette.scss +84 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
$base-padding: 24px;
|
|
2
|
+
$max-height-mobile: 100vh;
|
|
3
|
+
$max-height-desktop: 90vh;
|
|
4
|
+
|
|
5
|
+
:host {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
flex-grow: 1;
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dialog {
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1 1 100%;
|
|
17
|
+
max-height: calc(#{$max-height-desktop} - #{$base-padding * 2}) !important;
|
|
18
|
+
|
|
19
|
+
@media screen and (max-width: 959px) {
|
|
20
|
+
max-height: calc(#{$max-height-mobile} - #{$base-padding * 2}) !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.full-size {
|
|
24
|
+
min-height: calc(#{$max-height-desktop} - #{$base-padding * 2}) !important;
|
|
25
|
+
@media screen and (max-width: 959px) {
|
|
26
|
+
min-height: calc(#{$max-height-mobile} - #{$base-padding * 2}) !important;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-title {
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
display: flex;
|
|
34
|
+
place-content: center space-between;
|
|
35
|
+
align-items: center;
|
|
36
|
+
padding: $base-padding;
|
|
37
|
+
|
|
38
|
+
h1,
|
|
39
|
+
h2,
|
|
40
|
+
h3,
|
|
41
|
+
h4,
|
|
42
|
+
h5,
|
|
43
|
+
h6 {
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-close {
|
|
48
|
+
&#{&} {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
font-size: 24px;
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
opacity: 0.5;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-content {
|
|
60
|
+
// instead of flex="grow". Don't need wrong rule "max-height": 100% to support scroll content
|
|
61
|
+
flex: 1 1 100%;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
padding: $base-padding;
|
|
64
|
+
overflow: auto;
|
|
65
|
+
display: grid;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&-actions {
|
|
69
|
+
padding: $base-padding;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.error {
|
|
2
|
+
margin: 0 auto;
|
|
3
|
+
padding: 96px 24px;
|
|
4
|
+
text-align: center;
|
|
5
|
+
|
|
6
|
+
.title {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 16px;
|
|
12
|
+
|
|
13
|
+
mat-icon {
|
|
14
|
+
font-size: 40px;
|
|
15
|
+
width: auto;
|
|
16
|
+
height: auto;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
$max-columns: 5;
|
|
2
|
+
$rows: 1;
|
|
3
|
+
|
|
4
|
+
.filters {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1fr;
|
|
7
|
+
|
|
8
|
+
.other-filters {
|
|
9
|
+
display: block !important;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@for $i from 1 through $max-columns {
|
|
14
|
+
::ng-deep .v-filters-dialog-cols-#{$i} {
|
|
15
|
+
& > *:nth-child(-n + #{$i * $rows}) {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
package/src/lib/components/filters/components/more-filters-button/more-filters-button.component.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$max-columns: 5;
|
|
2
|
+
$rows: 1;
|
|
3
|
+
|
|
4
|
+
.filters {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-column-gap: 8px;
|
|
7
|
+
margin-bottom: -22px;
|
|
8
|
+
padding: 22px !important;
|
|
9
|
+
|
|
10
|
+
::ng-deep & > * {
|
|
11
|
+
min-width: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@for $i from 1 through $max-columns {
|
|
16
|
+
::ng-deep .v-filters-cols-#{$i} {
|
|
17
|
+
grid-template-columns: repeat($i, 1fr);
|
|
18
|
+
|
|
19
|
+
& > *:nth-child(n + #{($i * $rows) + 1}) {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.v-input-field {
|
|
2
|
+
.postfix {
|
|
3
|
+
white-space: nowrap;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__small {
|
|
7
|
+
::ng-deep .mat-icon {
|
|
8
|
+
transform: scale(0.75) !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__outline {
|
|
13
|
+
.postfix {
|
|
14
|
+
padding-right: 4px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.prefix {
|
|
18
|
+
padding-left: 4px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin theme($theme) {
|
|
4
|
+
.v-nav {
|
|
5
|
+
.item {
|
|
6
|
+
&:hover {
|
|
7
|
+
background-color: mat.get-theme-color($theme, primary, 95);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__active {
|
|
11
|
+
background-color: mat.get-theme-color($theme, primary, 90);
|
|
12
|
+
|
|
13
|
+
&:hover {
|
|
14
|
+
background-color: mat.get-theme-color($theme, primary, 90);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__secondary {
|
|
20
|
+
.item {
|
|
21
|
+
border-color: mat.get-theme-color($theme, neutral, 80) !important;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
border-color: mat.get-theme-color($theme, primary) !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__active {
|
|
28
|
+
border-color: mat.get-theme-color($theme, primary) !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
$bold: 500;
|
|
2
|
+
|
|
3
|
+
.v-nav {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
|
|
7
|
+
.item {
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
padding: 12px 24px 12px 12px;
|
|
10
|
+
|
|
11
|
+
&__active {
|
|
12
|
+
font-weight: $bold;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Normal text used the same width as bold text so that the width would not change when switching
|
|
16
|
+
&::after {
|
|
17
|
+
display: block;
|
|
18
|
+
content: attr(title);
|
|
19
|
+
font-weight: $bold;
|
|
20
|
+
height: 0;
|
|
21
|
+
color: transparent;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
visibility: hidden;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__secondary {
|
|
28
|
+
.item {
|
|
29
|
+
border-left: solid 4px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
::ng-deep .mat-mdc-form-field {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
& > * {
|
|
5
|
+
max-height: 56px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ng-value-container {
|
|
9
|
+
flex-wrap: nowrap !important;
|
|
10
|
+
overflow-x: hidden;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
::ng-deep .ng-dropdown-panel.ng-select-bottom {
|
|
15
|
+
margin-top: -4px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.checkbox-option {
|
|
19
|
+
margin: -12px 0 -12px -8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.label,
|
|
23
|
+
.description {
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
text-overflow: ellipsis;
|
|
26
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.inputs {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.inputs:not(:empty) {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.header-wrapper {
|
|
16
|
+
display: flex;
|
|
17
|
+
gap: 16px;
|
|
18
|
+
|
|
19
|
+
::ng-deep & > * {
|
|
20
|
+
flex: 1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.details {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
|
|
28
|
+
::ng-deep button {
|
|
29
|
+
margin: -6px 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.count {
|
|
34
|
+
align-self: anchor-center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.filter {
|
|
38
|
+
&__extended {
|
|
39
|
+
max-width: 200px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
::ng-deep .mat-mdc-form-field-subscript-wrapper {
|
|
43
|
+
height: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
min-height: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.wrapper {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: 1fr;
|
|
8
|
+
grid-template-rows: max-content;
|
|
9
|
+
gap: 24px;
|
|
10
|
+
height: 100%;
|
|
11
|
+
|
|
12
|
+
.card {
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
min-height: 300px;
|
|
16
|
+
overflow: auto;
|
|
17
|
+
transform: translateZ(0);
|
|
18
|
+
|
|
19
|
+
::ng-deep .mdc-data-table__row:last-child .mat-mdc-cell {
|
|
20
|
+
border-bottom-color: var(
|
|
21
|
+
--mat-table-row-item-outline-color,
|
|
22
|
+
rgba(0, 0, 0, 0.12)
|
|
23
|
+
) !important;
|
|
24
|
+
border-bottom-width: var(--mat-table-row-item-outline-width, 1px) !important;
|
|
25
|
+
border-bottom-style: solid !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
table,
|
|
31
|
+
::ng-deep .cdk-drag-preview {
|
|
32
|
+
::ng-deep .cdk-drag-placeholder {
|
|
33
|
+
background: #eee;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.column {
|
|
37
|
+
max-width: max(20px, 30vw);
|
|
38
|
+
|
|
39
|
+
&__sticky-start,
|
|
40
|
+
&__sticky-end {
|
|
41
|
+
width: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__sticky-start {
|
|
45
|
+
border-right: 1px solid;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__sticky-end {
|
|
49
|
+
border-left: 1px solid;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.row__hidden {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Drag
|
|
59
|
+
|
|
60
|
+
::ng-deep .cdk-drag-preview {
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
box-shadow:
|
|
64
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
65
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
66
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
67
|
+
background: white !important;
|
|
68
|
+
display: flex !important;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
::ng-deep .cdk-drag-animating {
|
|
73
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
::ng-deep .cdk-drop-list-dragging ::ng-deep .mat-mdc-row:not(.cdk-drag-placeholder) {
|
|
77
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
::ng-deep .cdk-drag-preview {
|
|
81
|
+
::ng-deep td {
|
|
82
|
+
border: none !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
@mixin theme($theme) {
|
|
5
|
+
.v-tag {
|
|
6
|
+
.tag {
|
|
7
|
+
background-color: mat.get-theme-color($theme, primary, 90);
|
|
8
|
+
|
|
9
|
+
&.color-pending,
|
|
10
|
+
&.color-success,
|
|
11
|
+
&.color-warn {
|
|
12
|
+
* {
|
|
13
|
+
color: #fff !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.color-pending {
|
|
18
|
+
background-color: map.get(mat.$orange-palette, 70);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.color-success {
|
|
22
|
+
background-color: map.get(mat.$green-palette, 50);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.color-warn {
|
|
26
|
+
background-color: mat.get-theme-color($theme, error, 50);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
::ng-deep {
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.action ::ng-deep {
|
|
7
|
+
pointer-events: auto;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
|
|
10
|
+
button {
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
::ng-deep *::before {
|
|
16
|
+
border: none !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@keyframes content-loading-animation {
|
|
21
|
+
0% {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
opacity: 0.5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.tag {
|
|
35
|
+
transition: all 300ms ease-in-out;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.loading {
|
|
39
|
+
animation: content-loading-animation 1.5s ease-in-out infinite;
|
|
40
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
cursor: default;
|
|
3
|
+
text-align: left;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
::ng-deep .inline {
|
|
7
|
+
&,
|
|
8
|
+
& * {
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tooltip {
|
|
14
|
+
text-decoration: underline;
|
|
15
|
+
text-decoration-style: dotted;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.wrapper {
|
|
19
|
+
&__action {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.value {
|
|
25
|
+
&__click {
|
|
26
|
+
&:hover {
|
|
27
|
+
text-decoration: underline;
|
|
28
|
+
text-decoration-style: dashed;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__link {
|
|
33
|
+
&:hover {
|
|
34
|
+
text-decoration: underline;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.description {
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '@ng-matero/extensions' as mtx;
|
|
3
|
+
|
|
4
|
+
@use '../components/table/table-theme';
|
|
5
|
+
@use '../components/value/value-theme';
|
|
6
|
+
@use '../components/dialog/dialog-theme';
|
|
7
|
+
@use '../components/tag/tag-theme';
|
|
8
|
+
@use '../components/input-field/input-field-theme';
|
|
9
|
+
@use '../components/nav/nav-theme';
|
|
10
|
+
|
|
11
|
+
// Include theme styles for core and each component used in your app.
|
|
12
|
+
// Alternatively, you can import and @include the theme mixins for each component
|
|
13
|
+
// that you are using.
|
|
14
|
+
@mixin all-component-themes($theme) {
|
|
15
|
+
@include mtx.select-theme($theme);
|
|
16
|
+
|
|
17
|
+
@include table-theme.theme($theme);
|
|
18
|
+
@include value-theme.theme($theme);
|
|
19
|
+
@include dialog-theme.theme($theme);
|
|
20
|
+
@include tag-theme.theme($theme);
|
|
21
|
+
@include input-field-theme.theme($theme);
|
|
22
|
+
@include nav-theme.theme($theme);
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
@mixin core() {
|
|
4
|
+
// Include the common styles for Angular Material. We include this here so that you only
|
|
5
|
+
// have to load a single css file for Angular Material in your app.
|
|
6
|
+
// Be sure that you only ever include this mixin once!
|
|
7
|
+
@include mat.core();
|
|
8
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@use 'sass:meta';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
$variants: ('primary', 'secondary', 'tertiary', 'error');
|
|
5
|
+
$components: (
|
|
6
|
+
// 'badge',
|
|
7
|
+
'button',
|
|
8
|
+
// 'checkbox',
|
|
9
|
+
// 'chips',
|
|
10
|
+
// 'datepicker',
|
|
11
|
+
// 'form-field',
|
|
12
|
+
// 'fab',
|
|
13
|
+
// 'icon',
|
|
14
|
+
// 'option',
|
|
15
|
+
// 'progress-bar',
|
|
16
|
+
// 'progress-spinner',
|
|
17
|
+
// 'pseudo-checkbox',
|
|
18
|
+
// 'radio',
|
|
19
|
+
// 'select',
|
|
20
|
+
// 'slide-toggle',
|
|
21
|
+
// 'slider',
|
|
22
|
+
// 'stepper',
|
|
23
|
+
// 'tabs'
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
@mixin mat-component-variants($theme) {
|
|
27
|
+
@each $variant in $variants {
|
|
28
|
+
.matv-#{$variant} {
|
|
29
|
+
@each $component in $components {
|
|
30
|
+
@if (is-variant-supported($variant, $component)) {
|
|
31
|
+
@include meta.apply(
|
|
32
|
+
meta.get-mixin('#{$component}-color', mat),
|
|
33
|
+
$theme,
|
|
34
|
+
$color-variant: $variant
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
// @each $component in $components {
|
|
40
|
+
// @if (is-variant-supported($variant, $component)) {
|
|
41
|
+
// .#{$variant}-#{$component} {
|
|
42
|
+
// @include meta.apply(
|
|
43
|
+
// meta.get-mixin('#{$component}-color', mat),
|
|
44
|
+
// $theme,
|
|
45
|
+
// $color-variant: $variant
|
|
46
|
+
// );
|
|
47
|
+
// }
|
|
48
|
+
// }
|
|
49
|
+
// }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.matv-primary {
|
|
53
|
+
@include mat.toolbar-overrides(
|
|
54
|
+
(
|
|
55
|
+
container-background-color: mat.get-theme-color($theme, primary, 40),
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@function is-variant-supported($variant, $component) {
|
|
61
|
+
@if ($variant == 'error' and $component == 'fab') {
|
|
62
|
+
@return false;
|
|
63
|
+
}
|
|
64
|
+
@return true;
|
|
65
|
+
}
|