@messaia/cdk 17.1.5 → 18.0.0-rc02
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/esm2022/lib/base/base.module.mjs +8 -8
- package/esm2022/lib/base/components/base.component.mjs +4 -4
- package/esm2022/lib/base/components/dynamic-table-config-dialog.comnponent.mjs +3 -3
- package/esm2022/lib/base/components/generic-form-base.component.mjs +4 -4
- package/esm2022/lib/base/components/generic-form.component.mjs +3 -3
- package/esm2022/lib/base/components/generic-list.component.mjs +4 -4
- package/esm2022/lib/base/components/generic-reactive-form.component.mjs +4 -4
- package/esm2022/lib/base/constants/common.mjs +2 -2
- package/esm2022/lib/base/helpers/auth-helper.mjs +1 -1
- package/esm2022/lib/base/interceptors/base.interceptor.mjs +4 -4
- package/esm2022/lib/base/interceptors/caching-interceptor.mjs +4 -4
- package/esm2022/lib/base/interceptors/loading.interceptor.mjs +4 -4
- package/esm2022/lib/base/services/file.service.mjs +3 -3
- package/esm2022/lib/base/services/loading-screen.service.mjs +3 -3
- package/esm2022/lib/base/services/print.service.mjs +3 -3
- package/esm2022/lib/chips/chips.module.mjs +4 -4
- package/esm2022/lib/chips/components/chips.component.mjs +4 -4
- package/esm2022/lib/chips/directives/autocomplete-option.directive.mjs +3 -3
- package/esm2022/lib/chips/directives/chip.directive.mjs +3 -3
- package/esm2022/lib/common/behaviors/control-value-accesor.mixin.mjs +1 -1
- package/esm2022/lib/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2022/lib/common/common.module.mjs +4 -4
- package/esm2022/lib/common/directives/delayed-hover.directive.mjs +4 -4
- package/esm2022/lib/common/directives/disable-control.directive.mjs +4 -4
- package/esm2022/lib/common/functions/utils.mjs +4 -4
- package/esm2022/lib/common/helpers/app-storage.mjs +4 -4
- package/esm2022/lib/common/helpers/dynamic-builder.mjs +4 -4
- package/esm2022/lib/common/helpers/dynamic-component-compiler.mjs +3 -3
- package/esm2022/lib/common/models/app-setting.mjs +3 -3
- package/esm2022/lib/common/pipes/data-source.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/enum.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/file-size.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/filter.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/first-letter.mjs +3 -3
- package/esm2022/lib/common/pipes/form-array.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/form-control.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/form-group.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/func.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/join.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/keys.mjs +4 -4
- package/esm2022/lib/common/pipes/month-name.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/nested-property.mjs +3 -3
- package/esm2022/lib/common/pipes/only-number.mjs +4 -4
- package/esm2022/lib/common/pipes/order.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/placeholder.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/property-join.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/safe-html.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/split.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/time.pipe.mjs +4 -4
- package/esm2022/lib/common/pipes/titlecase.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/truncate.pipe.mjs +3 -3
- package/esm2022/lib/common/pipes/values.mjs +3 -3
- package/esm2022/lib/common/services/base.service.mjs +3 -3
- package/esm2022/lib/common/services/enum.service.mjs +4 -4
- package/esm2022/lib/common/services/event-queue.service.mjs +3 -3
- package/esm2022/lib/dialogs/alert-dialog/alert-dialog.component.mjs +3 -3
- package/esm2022/lib/dialogs/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/dialogs/dialog.component.mjs +13 -13
- package/esm2022/lib/dialogs/dialogs.module.mjs +4 -4
- package/esm2022/lib/dialogs/prompt-dialog/prompt-dialog.component.mjs +3 -3
- package/esm2022/lib/dialogs/services/dialog.service.mjs +4 -4
- package/esm2022/lib/file/file-input.component.mjs +4 -4
- package/esm2022/lib/file/file.module.mjs +4 -4
- package/esm2022/lib/form-validators/algorithm/luhn-algorithm.mjs +1 -1
- package/esm2022/lib/form-validators/core/default-container.mjs +10 -10
- package/esm2022/lib/form-validators/directives/base-directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/control-host.directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/html-control-template.directive.mjs +3 -3
- package/esm2022/lib/form-validators/directives/rx-form.directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/template-validations/async-validation.directive.mjs +3 -3
- package/esm2022/lib/form-validators/directives/template-validations/base-validator.directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/template-validations/control-expression-process.mjs +4 -4
- package/esm2022/lib/form-validators/directives/template-validations/file-control.directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/template-validations/image-file-control.directive.mjs +4 -4
- package/esm2022/lib/form-validators/directives/template-validations/rxformcontrol.directive.mjs +4 -4
- package/esm2022/lib/form-validators/domain/disable-provider.mjs +1 -1
- package/esm2022/lib/form-validators/domain/element-processor/decimal.provider.mjs +4 -4
- package/esm2022/lib/form-validators/domain/element-processor/mask.provider.mjs +1 -1
- package/esm2022/lib/form-validators/domain/form-data.mjs +1 -1
- package/esm2022/lib/form-validators/models/form-builder-configuration.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/allOf.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/and.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/async/base.async.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/choice.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/compare.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/compose.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/conditional-change.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/contains.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/credit-card.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/cusip.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/custom.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/different.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/endsWith.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/even.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/extension.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/factor.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/file.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/fileSize.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/grid.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/iban.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/image.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/ip.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/json.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/latLong.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/leapYear.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/lowercase.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/mask.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/maxLength.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/maxNumber.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/minLength.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/minNumber.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/noneOf.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/not.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/notEmpty.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/numeric.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/odd.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/oneOf.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/or.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/password.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/pattern.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/port.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/primeNumber.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/range.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/required.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/requiredTrue.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/rule.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/startsWith.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/time.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/unique.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/uppercase.validator.mjs +1 -1
- package/esm2022/lib/form-validators/reactive-form-validators/url.validator.mjs +1 -1
- package/esm2022/lib/form-validators/services/base-form-builder.mjs +1 -1
- package/esm2022/lib/form-validators/services/entity.service.mjs +1 -1
- package/esm2022/lib/form-validators/services/form-control.mjs +1 -1
- package/esm2022/lib/form-validators/services/reactive-form.module.mjs +8 -8
- package/esm2022/lib/form-validators/services/rx-form-array.mjs +1 -1
- package/esm2022/lib/form-validators/services/rx-form-builder.mjs +4 -4
- package/esm2022/lib/form-validators/services/rx-form-group.mjs +1 -1
- package/esm2022/lib/form-validators/services/typed-form-builder.mjs +3 -3
- package/esm2022/lib/form-validators/util/app-util.mjs +1 -1
- package/esm2022/lib/form-validators/util/check-length.mjs +1 -1
- package/esm2022/lib/form-validators/util/config-provider.mjs +1 -1
- package/esm2022/lib/form-validators/util/date-checker.function.mjs +1 -1
- package/esm2022/lib/form-validators/util/date-provider.mjs +1 -1
- package/esm2022/lib/form-validators/util/form-provider.mjs +1 -1
- package/esm2022/lib/form-validators/util/instance-provider.function.mjs +1 -1
- package/esm2022/lib/form-validators/util/ip-checker.mjs +1 -1
- package/esm2022/lib/form-validators/util/linq.mjs +1 -1
- package/esm2022/lib/form-validators/util/object-maker.mjs +1 -1
- package/esm2022/lib/form-validators/util/reactive-form-config.mjs +1 -1
- package/esm2022/lib/form-validators/util/regex-validator.mjs +1 -1
- package/esm2022/lib/form-validators/util/relational-checker.function.mjs +1 -1
- package/esm2022/lib/form-validators/util/reset-form.mjs +1 -1
- package/esm2022/lib/form-validators/util/sanitizers.mjs +1 -1
- package/esm2022/lib/form-validators/util/time-checker.function.mjs +1 -1
- package/esm2022/lib/form-validators/util/validator-value-checker.mjs +1 -1
- package/esm2022/lib/form-validators/validators-extension/base-validator.function.mjs +1 -1
- package/esm2022/lib/form-validators/validators-function/alpha-validation.function.mjs +1 -1
- package/esm2022/lib/form-validators/validators-function/regex-validation.function.mjs +1 -1
- package/esm2022/lib/forms/components/datepicker/datepicker-header.component.mjs +3 -3
- package/esm2022/lib/forms/components/generic-form/generic-form.component.mjs +16 -16
- package/esm2022/lib/forms/directives/mat-form-field-editor.directive.mjs +4 -4
- package/esm2022/lib/forms/directives/mat-form-field-readonly.directive.mjs +4 -4
- package/esm2022/lib/forms/directives/nested-property-ng-model.directive.mjs +4 -4
- package/esm2022/lib/forms/directives/vd-generic-form-custom-field.directive.mjs +3 -3
- package/esm2022/lib/forms/forms.module.mjs +4 -4
- package/esm2022/lib/forms/functions/decorators.mjs +1 -1
- package/esm2022/lib/forms/functions/functions.mjs +1 -1
- package/esm2022/lib/forms/helpers/abstract-mat-form-field.mjs +4 -4
- package/esm2022/lib/forms/helpers/abstract-select-form-field.component.mjs +4 -4
- package/esm2022/lib/forms/helpers/value-accessor-base.mjs +3 -3
- package/esm2022/lib/forms/pipes/group-filter.pipe.mjs +4 -4
- package/esm2022/lib/forms/validators/empty-string-reset.directive.mjs +4 -4
- package/esm2022/lib/forms/validators/equal-validator.directive.mjs +4 -4
- package/esm2022/lib/forms/validators/native-element-injector.directive.mjs +4 -4
- package/esm2022/lib/forms/validators/unique-validator-directive.mjs +4 -4
- package/esm2022/lib/http/http.module.mjs +7 -11
- package/esm2022/lib/http/services/generic.service.mjs +1 -1
- package/esm2022/lib/layout/dynamic-menu/dynamic-menu.component.mjs +3 -3
- package/esm2022/lib/layout/layout-card-over/layout-card-over.component.mjs +3 -3
- package/esm2022/lib/layout/layout-compact/layout-compact.component.mjs +4 -4
- package/esm2022/lib/layout/layout-footer/layout-footer.component.mjs +4 -4
- package/esm2022/lib/layout/layout-manage-list/layout-manage-list.component.mjs +4 -4
- package/esm2022/lib/layout/layout-manage-list/layout-manage-list.directives.mjs +9 -9
- package/esm2022/lib/layout/layout-nav/layout-nav.component.mjs +5 -5
- package/esm2022/lib/layout/layout-nav-list/layout-nav-list.component.mjs +4 -4
- package/esm2022/lib/layout/layout-nav-list/layout-nav-list.directives.mjs +9 -9
- package/esm2022/lib/layout/layout-toggle.class.mjs +4 -4
- package/esm2022/lib/layout/layout.component.mjs +4 -4
- package/esm2022/lib/layout/layout.directives.mjs +9 -9
- package/esm2022/lib/layout/layout.module.mjs +4 -4
- package/esm2022/lib/layout/list-toolbar/list-toolbar.component.mjs +3 -3
- package/esm2022/lib/layout/navigation-drawer/navigation-drawer.component.mjs +10 -10
- package/esm2022/lib/list/components/list.component.mjs +3 -3
- package/esm2022/lib/list/directives/vd-list-option.directive.mjs +3 -3
- package/esm2022/lib/list/list.module.mjs +4 -4
- package/esm2022/lib/media/directives/media-toggle.directive.mjs +4 -4
- package/esm2022/lib/media/media.module.mjs +4 -4
- package/esm2022/lib/media/services/media.service.mjs +4 -4
- package/esm2022/lib/menu/components/menu.component.mjs +4 -4
- package/esm2022/lib/menu/menu.module.mjs +4 -4
- package/esm2022/lib/menu/resolvers/menu-form-includes.resolve.mjs +4 -4
- package/esm2022/lib/menu/resolvers/menu-item-form-includes.resolve.mjs +4 -4
- package/esm2022/lib/menu/resolvers/menu-list-projection.resolve.mjs +4 -4
- package/esm2022/lib/menu/resolvers/menu-settings.resolve.mjs +3 -3
- package/esm2022/lib/menu/services/menu-items.service.mjs +3 -3
- package/esm2022/lib/menu/services/menu.resolve.mjs +7 -7
- package/esm2022/lib/menu/services/menu.service.mjs +3 -3
- package/esm2022/lib/search/search.module.mjs +4 -4
- package/esm2022/lib/select/components/select.component.mjs +4 -4
- package/esm2022/lib/select/directives/vd-select-option.directive.mjs +3 -3
- package/esm2022/lib/select/directives/vd-select-trigger.directive.mjs +3 -3
- package/esm2022/lib/select/select.module.mjs +4 -4
- package/esm2022/lib/table/components/dynamic-table/dynamic-table.component.mjs +4 -4
- package/esm2022/lib/table/components/filter-clear.component.mjs +4 -4
- package/esm2022/lib/table/components/filter-date.component.mjs +4 -4
- package/esm2022/lib/table/components/filter-input.component.mjs +4 -4
- package/esm2022/lib/table/components/filter-select.component.mjs +7 -7
- package/esm2022/lib/table/directives/data-source-filter.directive.mjs +4 -4
- package/esm2022/lib/table/directives/vd-table-field.directive.mjs +3 -3
- package/esm2022/lib/table/functions/decorators.mjs +1 -1
- package/esm2022/lib/table/functions/functions.mjs +1 -1
- package/esm2022/lib/table/paginator-intl.mjs +4 -4
- package/esm2022/lib/table/table.data-source.mjs +1 -1
- package/esm2022/lib/table/table.module.mjs +4 -4
- package/esm2022/lib/table/table.static-data-source.mjs +1 -1
- package/fesm2022/messaia-cdk.mjs +486 -490
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/styles/_theme-functions.scss +0 -23
- package/lib/common/styles/colors/_colors-dark.scss +1350 -345
- package/lib/common/styles/colors/_colors-light.scss +3157 -829
- package/lib/common/styles/core/_button.scss +35 -29
- package/lib/common/styles/{_common-theme.scss → m2/_common-theme.scss} +6 -6
- package/lib/common/styles/m2/_theme-functions.scss +21 -0
- package/lib/common/styles/m3/_common-theme.scss +47 -0
- package/lib/common/styles/m3/_theme-functions.scss +21 -0
- package/lib/common/styles/platform.scss +1 -1
- package/lib/common/theming/_all-theme.scss +1 -1
- package/lib/common/theming/_m2-all-theme.scss +27 -0
- package/lib/http/http.module.d.ts +1 -2
- package/lib/layout/{_layout-theme.scss → _m2-layout-theme.scss} +11 -10
- package/package.json +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @use "sass:math";
|
|
2
1
|
@import '../theme-functions';
|
|
3
2
|
@import '../rtl';
|
|
4
3
|
|
|
@@ -23,37 +22,44 @@ $mat-icon-button-width: rem(4.000) !default;
|
|
|
23
22
|
$mat-icon-button-margin: rem(0.600) !default;
|
|
24
23
|
$mat-icon-border-radius: $mat-fab-border-radius;
|
|
25
24
|
|
|
25
|
+
@function rem($multiplier) {
|
|
26
|
+
$font-size: 10px;
|
|
27
|
+
@return $multiplier * $font-size;
|
|
28
|
+
}
|
|
29
|
+
|
|
26
30
|
/** Mixin to create distinct classes for fab positions, e.g. ".mat-fab-position-bottom-right". */
|
|
27
31
|
@mixin mat-fab-position($spot, $top: auto, $right: auto, $bottom: auto, $left: auto) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
|
|
33
|
+
[mat-fab].mat-mdc-fab-position-#{$spot},
|
|
34
|
+
.mat-fab.mat-fab-position-#{$spot},
|
|
35
|
+
[mat-fab].mat-fab-#{$spot},
|
|
36
|
+
.mat-fab.mat-fab-#{$spot} {
|
|
37
|
+
top: $top;
|
|
38
|
+
@include rtl(right, $right, $left);
|
|
39
|
+
@include rtl(left, $left, $right);
|
|
40
|
+
bottom: $bottom;
|
|
41
|
+
position: absolute;
|
|
42
|
+
|
|
43
|
+
&.fixed {
|
|
44
|
+
position: fixed;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
@mixin vd-button-utilities() {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
$mat-fab-pos-offset: math.div(($mat-fab-size - $mat-fab-padding), 2);
|
|
51
|
+
@include mat-fab-position(bottom-right, auto, $mat-fab-pos-offset, $mat-fab-pos-offset, auto);
|
|
52
|
+
@include mat-fab-position(bottom-left, auto, auto, $mat-fab-pos-offset, $mat-fab-pos-offset);
|
|
53
|
+
@include mat-fab-position(top-right, $mat-fab-pos-offset, $mat-fab-pos-offset, auto, auto);
|
|
54
|
+
@include mat-fab-position(top-left, $mat-fab-pos-offset, auto, auto, $mat-fab-pos-offset);
|
|
55
|
+
|
|
56
|
+
button {
|
|
57
|
+
&[mat-icon-button] {
|
|
58
|
+
&.mat-icon-button-mini {
|
|
59
|
+
height: 24px;
|
|
60
|
+
line-height: 24px;
|
|
61
|
+
width: 24px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
59
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @use '~@angular/material' as mat;
|
|
2
|
-
@import 'theme-functions';
|
|
2
|
+
@import '../theme-functions';
|
|
3
3
|
|
|
4
4
|
@mixin vd-common-theme($theme) {
|
|
5
5
|
$warn: map-get($theme, warn);
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
.mdc-list-item,
|
|
11
11
|
.mat-list-item-content {
|
|
12
12
|
mat-icon {
|
|
13
|
-
color: mat.get-color-from-palette($foreground, icon);
|
|
13
|
+
color: mat.m2-get-color-from-palette($foreground, icon);
|
|
14
14
|
|
|
15
15
|
&[matListAvatar] {
|
|
16
|
-
background-color: mat.get-color-from-palette($background, hover);
|
|
16
|
+
background-color: mat.m2-get-color-from-palette($background, hover);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.mat-list-text {
|
|
22
22
|
p {
|
|
23
|
-
color: mat.get-color-from-palette($foreground, disabled);
|
|
23
|
+
color: mat.m2-get-color-from-palette($foreground, disabled);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
opacity: if($is-dark, 0.8, 1);
|
|
29
29
|
|
|
30
30
|
.mat-mdc-list-item-icon {
|
|
31
|
-
color: mat.get-color-from-palette($foreground, icon);
|
|
31
|
+
color: mat.m2-get-color-from-palette($foreground, icon);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.mdc-list-item__content {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
.mat-autocomplete-panel {
|
|
43
43
|
.mat-mdc-paginator {
|
|
44
|
-
background-color: mat.get-color-from-palette($background, app-bar);
|
|
44
|
+
background-color: mat.m2-get-color-from-palette($background, app-bar);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Gets a color from a theme palette (the output of mat-palette).
|
|
2
|
+
// The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
|
|
3
|
+
// hues (default, lighter, darker), or any of the aforementioned prefixed with "-contrast".
|
|
4
|
+
//
|
|
5
|
+
// @param $color-map The theme palette (output of mat-palette).
|
|
6
|
+
// @param $hue The hue from the palette to use. If this is a value between 0 and 1, it will
|
|
7
|
+
// be treated as opacity.
|
|
8
|
+
// @param $opacity The alpha channel value for the color.
|
|
9
|
+
@function mat-color($palette, $hue: default, $opacity: null) {
|
|
10
|
+
|
|
11
|
+
// If hueKey is a number between zero and one, then it actually contains an
|
|
12
|
+
// opacity value, so recall this function with the default hue and that given opacity.
|
|
13
|
+
@if type-of($hue)==number and $hue >=0 and $hue <=1 {
|
|
14
|
+
@return mat.m2-get-color-from-palette($palette, default, $hue);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
$color: map-get($palette, $hue);
|
|
18
|
+
$opacity: if($opacity ==null, opacity($color), $opacity);
|
|
19
|
+
|
|
20
|
+
@return rgba($color, $opacity);
|
|
21
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @use '~@angular/material' as mat;
|
|
2
|
+
@import '../theme-functions';
|
|
3
|
+
|
|
4
|
+
@mixin vd-common-theme($theme) {
|
|
5
|
+
$warn: map-get($theme, warn);
|
|
6
|
+
$foreground: map-get($theme, foreground);
|
|
7
|
+
$background: map-get($theme, background);
|
|
8
|
+
$is-dark: map.get($theme, is-dark);
|
|
9
|
+
|
|
10
|
+
.mdc-list-item,
|
|
11
|
+
.mat-list-item-content {
|
|
12
|
+
mat-icon {
|
|
13
|
+
// color: mat.get-color-from-palette($foreground, icon);
|
|
14
|
+
|
|
15
|
+
&[matListAvatar] {
|
|
16
|
+
// background-color: mat.m2-get-color-from-palette($background, hover);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.mat-list-text {
|
|
22
|
+
p {
|
|
23
|
+
// color: mat.m2-get-color-from-palette($foreground, disabled);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.mdc-list-item {
|
|
28
|
+
opacity: if($is-dark, 0.8, 1);
|
|
29
|
+
|
|
30
|
+
.mat-mdc-list-item-icon {
|
|
31
|
+
// color: mat.m2-get-color-from-palette($foreground, icon);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mdc-list-item__content {
|
|
35
|
+
.mdc-list-item__primary-text {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.mat-autocomplete-panel {
|
|
43
|
+
.mat-mdc-paginator {
|
|
44
|
+
// background-color: mat.m2-get-color-from-palette($background, app-bar);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Gets a color from a theme palette (the output of mat-palette).
|
|
2
|
+
// The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
|
|
3
|
+
// hues (default, lighter, darker), or any of the aforementioned prefixed with "-contrast".
|
|
4
|
+
//
|
|
5
|
+
// @param $color-map The theme palette (output of mat-palette).
|
|
6
|
+
// @param $hue The hue from the palette to use. If this is a value between 0 and 1, it will
|
|
7
|
+
// be treated as opacity.
|
|
8
|
+
// @param $opacity The alpha channel value for the color.
|
|
9
|
+
@function mat-color($palette, $hue: default, $opacity: null) {
|
|
10
|
+
|
|
11
|
+
// If hueKey is a number between zero and one, then it actually contains an
|
|
12
|
+
// opacity value, so recall this function with the default hue and that given opacity.
|
|
13
|
+
@if type-of($hue)==number and $hue >=0 and $hue <=1 {
|
|
14
|
+
@return mat.m2-get-color-from-palette($palette, default, $hue);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
$color: map-get($palette, $hue);
|
|
18
|
+
$opacity: if($opacity ==null, opacity($color), $opacity);
|
|
19
|
+
|
|
20
|
+
@return rgba($color, $opacity);
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
3
|
+
@use '@material/theme/color-palette' as mdc-color-palette;
|
|
4
|
+
@use "sass:math";
|
|
5
|
+
@use 'sass:color';
|
|
6
|
+
@use 'sass:map';
|
|
7
|
+
|
|
8
|
+
@import '../styles/m2/common-theme';
|
|
9
|
+
@import '../../layout/m2-layout-theme';
|
|
10
|
+
@import '../styles/styles';
|
|
11
|
+
@import '../typography/all-typography';
|
|
12
|
+
|
|
13
|
+
/* Overrides the background colors */
|
|
14
|
+
@function vd-custom-background($theme, $config) {
|
|
15
|
+
$palette-color : map.get($theme, color);
|
|
16
|
+
$background: map.get($palette-color, background);
|
|
17
|
+
$background: map.merge($background, $config);
|
|
18
|
+
$palette-color: map.merge($palette-color, (background: $background));
|
|
19
|
+
@return map.merge($theme, (color: $palette-color));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* Creates a theme */
|
|
23
|
+
@mixin vd-theme($theme, $config: null) {
|
|
24
|
+
@include vd-typography($config);
|
|
25
|
+
@include vd-common-theme($theme);
|
|
26
|
+
@include vd-layout-theme($theme);
|
|
27
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common/http";
|
|
3
2
|
export { GenericService } from './services/generic.service';
|
|
4
3
|
export declare class VdHttpModule {
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdHttpModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdHttpModule, never,
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VdHttpModule, never, never, never>;
|
|
7
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<VdHttpModule>;
|
|
8
7
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
//@use '~@angular/material' as mat;
|
|
2
2
|
@import '../common/styles/elevation';
|
|
3
3
|
@import '../common/styles/theme-functions';
|
|
4
|
+
@import '../common/styles/m2/theme-functions';
|
|
4
5
|
@import '../common/styles/typography-functions';
|
|
5
6
|
|
|
6
7
|
@mixin vd-layout-typography($config) {
|
|
@@ -45,13 +46,13 @@
|
|
|
45
46
|
$foreground: map-get($theme, foreground);
|
|
46
47
|
$is-dark: map.get($theme, is-dark);
|
|
47
48
|
|
|
48
|
-
$background-color: mat.get-color-from-palette($background, app-bar);
|
|
49
|
+
$background-color: mat.m2-get-color-from-palette($background, app-bar);
|
|
49
50
|
|
|
50
51
|
$primary-color: mat-color($primary);
|
|
51
52
|
$accent-color: mat-color($accent);
|
|
52
53
|
|
|
53
54
|
.mat-drawer-container {
|
|
54
|
-
background-color: mat.get-color-from-palette($background, if($is-dark, app-bar, status-bar)) !important;
|
|
55
|
+
background-color: mat.m2-get-color-from-palette($background, if($is-dark, app-bar, status-bar)) !important;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
[mat-icon-button].vd-layout-menu-button {
|
|
@@ -104,34 +105,34 @@
|
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
.vd-layout-footer {
|
|
107
|
-
background: mat.get-color-from-palette($background, app-bar);
|
|
108
|
-
color: mat.get-color-from-palette($foreground, text);
|
|
108
|
+
background: mat.m2-get-color-from-palette($background, app-bar);
|
|
109
|
+
color: mat.m2-get-color-from-palette($foreground, text);
|
|
109
110
|
@include mat.elevation(2);
|
|
110
111
|
|
|
111
112
|
&.mat-primary {
|
|
112
|
-
background: mat.get-color-from-palette($primary);
|
|
113
|
+
background: mat.m2-get-color-from-palette($primary);
|
|
113
114
|
|
|
114
115
|
&,
|
|
115
116
|
mat-icon {
|
|
116
|
-
color: mat.get-color-from-palette($primary, default-contrast);
|
|
117
|
+
color: mat.m2-get-color-from-palette($primary, default-contrast);
|
|
117
118
|
}
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
&.mat-accent {
|
|
121
|
-
background: mat.get-color-from-palette($accent);
|
|
122
|
+
background: mat.m2-get-color-from-palette($accent);
|
|
122
123
|
|
|
123
124
|
&,
|
|
124
125
|
mat-icon {
|
|
125
|
-
color: mat.get-color-from-palette($accent, default-contrast);
|
|
126
|
+
color: mat.m2-get-color-from-palette($accent, default-contrast);
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
&.mat-warn {
|
|
130
|
-
background: mat.get-color-from-palette($warn);
|
|
131
|
+
background: mat.m2-get-color-from-palette($warn);
|
|
131
132
|
|
|
132
133
|
&,
|
|
133
134
|
mat-icon {
|
|
134
|
-
color: mat.get-color-from-palette($warn, default-contrast);
|
|
135
|
+
color: mat.m2-get-color-from-palette($warn, default-contrast);
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
138
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@messaia/cdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0-rc02",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^18.0.6",
|
|
6
|
+
"@angular/core": "^18.0.6"
|
|
7
7
|
},
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"registry": "https://registry.npmjs.org"
|