@kms-ngx-ui/presentational 0.0.1

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.
Files changed (122) hide show
  1. package/README.md +24 -0
  2. package/bundles/kms-ngx-ui-presentational.umd.js +2441 -0
  3. package/bundles/kms-ngx-ui-presentational.umd.js.map +1 -0
  4. package/bundles/kms-ngx-ui-presentational.umd.min.js +38 -0
  5. package/bundles/kms-ngx-ui-presentational.umd.min.js.map +1 -0
  6. package/esm2015/kms-ngx-ui-presentational.js +37 -0
  7. package/esm2015/lib/kms-ngx-ui-presentational.component.js +18 -0
  8. package/esm2015/lib/kms-ngx-ui-presentational.module.js +98 -0
  9. package/esm2015/lib/kms-ngx-ui-presentational.service.js +13 -0
  10. package/esm2015/lib/models/address.model.js +6 -0
  11. package/esm2015/lib/models/iconSize.enum.js +17 -0
  12. package/esm2015/lib/models/index.js +5 -0
  13. package/esm2015/lib/models/is-value.function.js +17 -0
  14. package/esm2015/lib/models/salutation.enum.js +8 -0
  15. package/esm2015/lib/models/types/attached-file-dto.model.js +6 -0
  16. package/esm2015/lib/models/types/nullable.type.js +5 -0
  17. package/esm2015/lib/parent-components/actions.component.js +48 -0
  18. package/esm2015/lib/parent-components/form-control.component.js +73 -0
  19. package/esm2015/lib/parent-components/form.component.js +77 -0
  20. package/esm2015/lib/pipes/custom-pipes.module.js +45 -0
  21. package/esm2015/lib/pipes/decode-uri.pipe.js +15 -0
  22. package/esm2015/lib/pipes/encode-uri.pipe.js +15 -0
  23. package/esm2015/lib/pipes/integer-currency.pipe.js +29 -0
  24. package/esm2015/lib/pipes/safe-html.pipe.js +22 -0
  25. package/esm2015/lib/pipes/safe-style.pipe.js +22 -0
  26. package/esm2015/lib/pipes/safe-url.pipe.js +22 -0
  27. package/esm2015/lib/pipes/to-number.pipe.js +19 -0
  28. package/esm2015/lib/pipes/trim.pipe.js +16 -0
  29. package/esm2015/lib/pipes/typeof.pipe.js +12 -0
  30. package/esm2015/lib/services/viewport.service.js +213 -0
  31. package/esm2015/lib/ui/back-to-top/back-to-top.component.js +46 -0
  32. package/esm2015/lib/ui/button-with-confirm-dialog/button-response-types.enum.js +6 -0
  33. package/esm2015/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.js +56 -0
  34. package/esm2015/lib/ui/button-with-confirm-dialog/dialog-data.model.js +2 -0
  35. package/esm2015/lib/ui/checkbox/checkbox.component.js +63 -0
  36. package/esm2015/lib/ui/color-input/color-input.component.js +63 -0
  37. package/esm2015/lib/ui/enum-radiogroup/enum-radiogroup.component.js +46 -0
  38. package/esm2015/lib/ui/file-input/file-input.component.js +215 -0
  39. package/esm2015/lib/ui/flyout/flyout.component.js +84 -0
  40. package/esm2015/lib/ui/generic-dialog/generic-dialog.component.js +54 -0
  41. package/esm2015/lib/ui/icon/icon.component.js +47 -0
  42. package/esm2015/lib/ui/icon/iconSize.enum.js +17 -0
  43. package/esm2015/lib/ui/kms-accordion-item/kms-accordion-item.component.js +36 -0
  44. package/esm2015/lib/ui/loader/loader.component.js +21 -0
  45. package/esm2015/lib/ui/map/map.component.js +137 -0
  46. package/esm2015/lib/ui/radiobutton/radiobutton.component.js +66 -0
  47. package/esm2015/lib/ui/salutation-dropdown/salutation-dropdown.component.js +49 -0
  48. package/esm2015/lib/ui/salutation-radiogroup/salutation-radiogroup.component.js +44 -0
  49. package/esm2015/lib/ui/time-input/time-input.component.js +80 -0
  50. package/esm2015/lib/ui/tooltip/tooltip.component.js +17 -0
  51. package/esm2015/lib/ui/tooltip-icon/tooltip-icon.component.js +29 -0
  52. package/esm2015/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.js +74 -0
  53. package/esm2015/public-api.js +12 -0
  54. package/fesm2015/kms-ngx-ui-presentational.js +1962 -0
  55. package/fesm2015/kms-ngx-ui-presentational.js.map +1 -0
  56. package/kms-ngx-ui-presentational.d.ts +37 -0
  57. package/kms-ngx-ui-presentational.metadata.json +1 -0
  58. package/lib/kms-ngx-ui-presentational.component.d.ts +5 -0
  59. package/lib/kms-ngx-ui-presentational.module.d.ts +2 -0
  60. package/lib/kms-ngx-ui-presentational.service.d.ts +3 -0
  61. package/lib/models/address.model.d.ts +14 -0
  62. package/lib/models/iconSize.enum.d.ts +15 -0
  63. package/lib/models/index.d.ts +4 -0
  64. package/lib/models/is-value.function.d.ts +9 -0
  65. package/lib/models/salutation.enum.d.ts +5 -0
  66. package/lib/models/types/attached-file-dto.model.d.ts +11 -0
  67. package/lib/models/types/nullable.type.d.ts +4 -0
  68. package/lib/parent-components/actions.component.d.ts +28 -0
  69. package/lib/parent-components/form-control.component.d.ts +24 -0
  70. package/lib/parent-components/form.component.d.ts +31 -0
  71. package/lib/pipes/custom-pipes.module.d.ts +5 -0
  72. package/lib/pipes/decode-uri.pipe.d.ts +7 -0
  73. package/lib/pipes/encode-uri.pipe.d.ts +7 -0
  74. package/lib/pipes/integer-currency.pipe.d.ts +10 -0
  75. package/lib/pipes/safe-html.pipe.d.ts +10 -0
  76. package/lib/pipes/safe-style.pipe.d.ts +10 -0
  77. package/lib/pipes/safe-url.pipe.d.ts +10 -0
  78. package/lib/pipes/to-number.pipe.d.ts +7 -0
  79. package/lib/pipes/trim.pipe.d.ts +7 -0
  80. package/lib/pipes/typeof.pipe.d.ts +4 -0
  81. package/lib/services/viewport.service.d.ts +74 -0
  82. package/lib/ui/back-to-top/back-to-top.component.d.ts +10 -0
  83. package/lib/ui/button-with-confirm-dialog/button-response-types.enum.d.ts +4 -0
  84. package/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.d.ts +16 -0
  85. package/lib/ui/button-with-confirm-dialog/dialog-data.model.d.ts +9 -0
  86. package/lib/ui/checkbox/checkbox.component.d.ts +28 -0
  87. package/lib/ui/color-input/color-input.component.d.ts +15 -0
  88. package/lib/ui/enum-radiogroup/enum-radiogroup.component.d.ts +14 -0
  89. package/lib/ui/file-input/file-input.component.d.ts +86 -0
  90. package/lib/ui/flyout/flyout.component.d.ts +32 -0
  91. package/lib/ui/generic-dialog/generic-dialog.component.d.ts +23 -0
  92. package/lib/ui/icon/icon.component.d.ts +39 -0
  93. package/lib/ui/icon/iconSize.enum.d.ts +15 -0
  94. package/lib/ui/kms-accordion-item/kms-accordion-item.component.d.ts +18 -0
  95. package/lib/ui/loader/loader.component.d.ts +6 -0
  96. package/lib/ui/map/map.component.d.ts +70 -0
  97. package/lib/ui/radiobutton/radiobutton.component.d.ts +23 -0
  98. package/lib/ui/salutation-dropdown/salutation-dropdown.component.d.ts +14 -0
  99. package/lib/ui/salutation-radiogroup/salutation-radiogroup.component.d.ts +12 -0
  100. package/lib/ui/time-input/time-input.component.d.ts +19 -0
  101. package/lib/ui/tooltip/tooltip.component.d.ts +3 -0
  102. package/lib/ui/tooltip-icon/tooltip-icon.component.d.ts +10 -0
  103. package/lib/ui/yes-no-radiogroup/yes-no-radiogroup.component.d.ts +24 -0
  104. package/package.json +25 -0
  105. package/public-api.d.ts +6 -0
  106. package/src/lib/ui/back-to-top/back-to-top.component.scss +47 -0
  107. package/src/lib/ui/button-with-confirm-dialog/button-with-confirm-dialog.component.scss +0 -0
  108. package/src/lib/ui/checkbox/checkbox.component.scss +57 -0
  109. package/src/lib/ui/color-input/color-input.component.scss +38 -0
  110. package/src/lib/ui/file-input/file-input.component.scss +0 -0
  111. package/src/lib/ui/flyout/flyout.component.scss +34 -0
  112. package/src/lib/ui/generic-dialog/generic-dialog.component.scss +59 -0
  113. package/src/lib/ui/icon/icon.component.scss +149 -0
  114. package/src/lib/ui/kms-accordion-item/kms-accordion-item.component.scss +95 -0
  115. package/src/lib/ui/loader/loader.component.scss +0 -0
  116. package/src/lib/ui/map/map.component.scss +0 -0
  117. package/src/lib/ui/radiobutton/radiobutton.component.scss +30 -0
  118. package/src/lib/ui/time-input/time-input.component.scss +10 -0
  119. package/src/lib/ui/tooltip/tooltip.component.scss +27 -0
  120. package/src/lib/ui/tooltip-icon/tooltip-icon.component.scss +2 -0
  121. package/src/styles/mixins.scss +9 -0
  122. package/src/styles/styles.scss +30 -0
@@ -0,0 +1,23 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import { ActionsParentComponent } from '../../parent-components/actions.component';
3
+ export declare class RadioButtonComponent extends ActionsParentComponent implements ControlValueAccessor {
4
+ /**
5
+ * Internal description name. All radio buttons with the same name belong to the same group.
6
+ * User can select exactly one of the radio buttons from the same group.
7
+ */
8
+ name: string;
9
+ /**
10
+ * Internal description id. Will be send in the output event when the radio button is selected.
11
+ */
12
+ id: string;
13
+ formControl: any;
14
+ selectAction(id: string): void;
15
+ constructor();
16
+ onChange: any;
17
+ onTouch: any;
18
+ get value(): boolean;
19
+ set value(value: boolean);
20
+ writeValue(value: any): void;
21
+ registerOnChange(fn: any): void;
22
+ registerOnTouched(fn: any): void;
23
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor, FormBuilder } from '@angular/forms';
3
+ import { NullAble } from '../../models';
4
+ import { SalutationEnum } from '../../models/salutation.enum';
5
+ import { FormControlParentComponent } from './../../parent-components/form-control.component';
6
+ export declare class SalutationDropdownComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
7
+ formBuilder: FormBuilder;
8
+ renderer: Renderer2;
9
+ placeholder: NullAble<String>;
10
+ SalutationEnum: typeof SalutationEnum;
11
+ Object: ObjectConstructor;
12
+ constructor(formBuilder: FormBuilder, renderer: Renderer2);
13
+ ngOnInit(): void;
14
+ }
@@ -0,0 +1,12 @@
1
+ import { OnInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor, FormBuilder } from '@angular/forms';
3
+ import { SalutationEnum } from '../../models/salutation.enum';
4
+ import { FormControlParentComponent } from '../../parent-components/form-control.component';
5
+ export declare class SalutationRadiogroupComponent extends FormControlParentComponent implements OnInit, ControlValueAccessor {
6
+ formBuilder: FormBuilder;
7
+ renderer: Renderer2;
8
+ SalutationEnum: typeof SalutationEnum;
9
+ Object: ObjectConstructor;
10
+ constructor(formBuilder: FormBuilder, renderer: Renderer2);
11
+ ngOnInit(): void;
12
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
3
+ export declare class TimeInputComponent implements OnInit, ControlValueAccessor {
4
+ formBuilder: FormBuilder;
5
+ form: FormGroup;
6
+ h: string;
7
+ m: string;
8
+ constructor(formBuilder: FormBuilder);
9
+ get value(): string;
10
+ set value(value: string);
11
+ writeValue(value: string): void;
12
+ ngOnInit(): void;
13
+ getNewOrDefault(): string;
14
+ registerOnChange(fn: any): void;
15
+ registerOnTouched(fn: any): void;
16
+ onChange: any;
17
+ onTouch: any;
18
+ onTouched: any;
19
+ }
@@ -0,0 +1,3 @@
1
+ export declare class TooltipComponent {
2
+ tooltipTitle: string;
3
+ }
@@ -0,0 +1,10 @@
1
+ import { IconSize } from '../../models';
2
+ export declare class TooltipIconComponent {
3
+ tooltipTitle: string;
4
+ tooltipText: string;
5
+ tooltipLinkText: string;
6
+ tooltipLinkUrl: string;
7
+ placement: string;
8
+ delay: number;
9
+ IconSize: typeof IconSize;
10
+ }
@@ -0,0 +1,24 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import { ControlValueAccessor, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { NullAble } from '../../models';
4
+ export declare class YesNoRadiogroupComponent implements OnInit, ControlValueAccessor {
5
+ formBuilder: FormBuilder;
6
+ renderer: Renderer2;
7
+ header: NullAble<String>;
8
+ disabled: boolean;
9
+ textYes: string;
10
+ textNo: string;
11
+ form: FormGroup;
12
+ child?: ElementRef<HTMLInputElement>;
13
+ internalValue: NullAble<boolean>;
14
+ onChange: any;
15
+ onTouch: any;
16
+ get value(): NullAble<boolean>;
17
+ set value(value: NullAble<boolean>);
18
+ writeValue(value: any): void;
19
+ registerOnChange(fn: any): void;
20
+ registerOnTouched(fn: any): void;
21
+ setDisabledState?(isDisabled: boolean): void;
22
+ constructor(formBuilder: FormBuilder, renderer: Renderer2);
23
+ ngOnInit(): void;
24
+ }
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@kms-ngx-ui/presentational",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^11.2.14",
6
+ "@angular/core": "^11.2.14",
7
+ "@angular/cdk": "~11.2.11",
8
+ "@angular/forms": "^11.2.14",
9
+ "@angular/material": "^12.2.13",
10
+ "@angular/google-maps": "^14.2.6"
11
+ },
12
+ "dependencies": {
13
+ "@angular/google-maps": "^14.2.6",
14
+ "ngx-translate": "0.0.1-security",
15
+ "tslib": "^2.0.0"
16
+ },
17
+ "main": "bundles/kms-ngx-ui-presentational.umd.js",
18
+ "module": "fesm2015/kms-ngx-ui-presentational.js",
19
+ "es2015": "fesm2015/kms-ngx-ui-presentational.js",
20
+ "esm2015": "esm2015/kms-ngx-ui-presentational.js",
21
+ "fesm2015": "fesm2015/kms-ngx-ui-presentational.js",
22
+ "typings": "kms-ngx-ui-presentational.d.ts",
23
+ "metadata": "kms-ngx-ui-presentational.metadata.json",
24
+ "sideEffects": false
25
+ }
@@ -0,0 +1,6 @@
1
+ export * from './lib/kms-ngx-ui-presentational.service';
2
+ export * from './lib/kms-ngx-ui-presentational.component';
3
+ export * from './lib/kms-ngx-ui-presentational.module';
4
+ export * from './lib/models/iconSize.enum';
5
+ export * from './lib/models/salutation.enum';
6
+ export * from './lib/ui/generic-dialog/generic-dialog.component';
@@ -0,0 +1,47 @@
1
+ @mixin back-to-top-theme($theme) {
2
+ $size: 48px;
3
+
4
+ .scrollToTop {
5
+ position: fixed;
6
+ bottom: $size;
7
+ right: $size;
8
+
9
+ transition: all .2s ease-in-out;
10
+ text-align: center;
11
+ cursor: pointer;
12
+ align-items: center;
13
+ z-index: 999999;
14
+ background-color: white;
15
+ border-radius: 50%;
16
+
17
+ width: $size;
18
+ height: $size;
19
+ &-inner{
20
+ margin: 2px;
21
+ border-radius: 50%;
22
+ background-color: var(--primaryColor);
23
+
24
+ width: calc(#{$size} - 4px);
25
+ height: calc(#{$size} - 4px);
26
+ }
27
+ &.show {
28
+ display: flex;
29
+ opacity: 0.75;
30
+ transition: all .2s ease-in-out;
31
+ }
32
+
33
+ }
34
+ @media (max-width: $responsive-breakpoint) {
35
+ .scrollToTop {
36
+ bottom: calc(#{$size} / 2);
37
+ right: calc(#{$size} / 2);
38
+
39
+ width: calc(#{$size} / 2);
40
+ height: calc(#{$size} / 2);
41
+ &-inner{
42
+ width: calc(#{$size} / 2 - 2px);
43
+ height: calc(#{$size} / 2 - 2px);
44
+ }
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,57 @@
1
+ .test{
2
+ color: mediumblue;
3
+ }
4
+ @mixin checkbox-theme(){
5
+ .test{
6
+ color: mediumblue;
7
+ }
8
+ .wrapper {
9
+ cursor: pointer;
10
+ padding-left: 0px;
11
+ display: inline-block;
12
+ position: relative;
13
+ user-select: none;
14
+ -webkit-user-select: none;
15
+ -moz-user-select: none;
16
+ -ms-user-select: none;
17
+ color: aqua;
18
+ &:before {
19
+ }
20
+
21
+ &:hover:before {
22
+
23
+ }
24
+
25
+ input {
26
+ display: none;
27
+ }
28
+
29
+ input:checked ~ .checkmark {
30
+ display: block;
31
+ }
32
+
33
+ &.disabled {
34
+ cursor: default;
35
+ pointer-events: none;
36
+
37
+ &:before {
38
+ }
39
+ }
40
+ }
41
+
42
+ .checkmark {
43
+
44
+ &.disabled {
45
+ }
46
+ }
47
+
48
+ .info {
49
+ display: block;
50
+ margin-top: 6px;
51
+ cursor: default;
52
+
53
+ &.disabled {
54
+ color: lightgray;
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,38 @@
1
+
2
+ .colorInput{
3
+ position: relative;
4
+ input[type='color']{
5
+ display: block;
6
+ position: absolute;
7
+ width: 20px;
8
+ height: 20px;
9
+ left: 0;
10
+ bottom: 10px;
11
+ padding: 0;
12
+ margin: 0;
13
+ border: 1px solid transparent;
14
+ }
15
+ input.my-inValid[type='color']{
16
+ border: 1px dotted red;
17
+ }
18
+ input[type='text']{
19
+ padding-left: 30px;
20
+ }
21
+ input.my-inValid[type='text']{
22
+ color: red;
23
+ }
24
+ kms-tooltip-icon{
25
+ position: absolute;
26
+ right: 0;
27
+ top: -10px;
28
+ }
29
+
30
+ .mat-form-field-label{
31
+ padding-left: 30px;
32
+ }
33
+ .mat-form-field-can-float.mat-focused{
34
+ .mat-form-label{
35
+ padding-left: 0;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,34 @@
1
+
2
+ .flyout{
3
+ position: relative;
4
+ display: block;
5
+ padding: 20px 45px;
6
+
7
+ &-header{
8
+ &-more{
9
+ font: normal normal normal 16px/25px var(--fontName-text03);
10
+ letter-spacing: 0.26px;
11
+ color: var(--primaryColor);
12
+ cursor: pointer;
13
+ kms-icon{
14
+ .icon{
15
+ width: 16px !important;
16
+ height: 20px !important;
17
+ svg {
18
+ width: 16px !important;
19
+ height: 20px !important;
20
+ use{
21
+ fill: var(--primaryColor);
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ &-body {
29
+ padding: 0;
30
+ margin: 0;
31
+ overflow: hidden;
32
+ outline: none;
33
+ }
34
+ }
@@ -0,0 +1,59 @@
1
+ @mixin generic-dialog-component-theme($theme) {
2
+ .mat-dialog-container {
3
+ padding: 44px 40px;
4
+ width: 560px !important;
5
+
6
+ .mat-dialog-title {
7
+ height: 24px !important;
8
+ padding-bottom: 20px;
9
+ padding-left: 24px;
10
+ padding-top: 20px;
11
+
12
+ h3 {
13
+ margin: 0;
14
+ }
15
+ }
16
+
17
+ .mat-dialog-content {
18
+ margin: 0;
19
+ }
20
+
21
+ .custom-dialog-actions {
22
+ align-items: center;
23
+ display: flex;
24
+ height: 64px;
25
+ justify-content: flex-end;
26
+ padding-right: 24px;
27
+
28
+ button:first-of-type {
29
+ margin-right: 8px;
30
+ }
31
+ }
32
+
33
+ .dialog-col {
34
+ padding-top: 0;
35
+ }
36
+ }
37
+ .big{
38
+ .mat-dialog-container {
39
+ width: 1084px !important;
40
+ height: 90vh;
41
+ padding: 44px 40px;
42
+ @media (max-width: $responsive-breakpoint) {
43
+ padding: 10px 10px;
44
+ }
45
+ }
46
+ }
47
+ .middle{
48
+ .mat-dialog-container {
49
+ width: 600px !important;
50
+ height: 95vh;
51
+ }
52
+ }
53
+ .small{
54
+ .mat-dialog-container {
55
+ width: 450px !important;
56
+ height: auto !important;
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,149 @@
1
+
2
+ @import '../../../styles/mixins.scss';
3
+ @mixin icon-theme($theme){
4
+ .icon {
5
+ display: inline-block;
6
+ height: inherit;
7
+ outline-color: transparent;
8
+ transition: transform 0.2s ease-in-out;
9
+ position: relative;
10
+ @include iconSize(100%);
11
+
12
+ &.size{
13
+ &-full {
14
+ @include iconSize(100%);
15
+ }
16
+ &-16{
17
+ @include iconSize(16px);
18
+ }
19
+ &-20{
20
+ @include iconSize(20px);
21
+ }
22
+ &-32{
23
+ @include iconSize(32px);
24
+ }
25
+ &-64{
26
+ @include iconSize(64px);
27
+ }
28
+ &-128{
29
+ @include iconSize(64px);
30
+ }
31
+ &-256{
32
+ @include iconSize(256px);
33
+ }
34
+ }
35
+
36
+ svg, use{
37
+ fill: black;
38
+ position: relative;
39
+ transform: translate(0, 0) !important;
40
+ }
41
+
42
+ &_hoverable {
43
+ cursor: pointer;
44
+ &:hover,
45
+ &:focus {
46
+ svg use{
47
+ fill: var(--primaryColor);
48
+ }
49
+ }
50
+ }
51
+
52
+ &_active {
53
+ cursor: pointer;
54
+ fill: var(--primaryColor) !important;
55
+
56
+ &:hover, &:focus {
57
+ fill: var(--primaryColor02) !important;
58
+ }
59
+ }
60
+
61
+ &.color{
62
+ &-primary svg use{
63
+ fill: var(--primaryColor);
64
+ }
65
+ &-secondary svg use{
66
+ fill: var(--primaryColor);
67
+ }
68
+ &-disabled svg use{
69
+ fill: var(--gray04);
70
+ }
71
+ &-white svg use{
72
+ fill: var(--white);
73
+ }
74
+ &-blackish svg use{
75
+ fill: var(--gray09);
76
+ }
77
+ &-warn svg use{
78
+ fill: #BF2F2F;
79
+ }
80
+ &-success svg use{
81
+ fill: #39B948;
82
+ }
83
+ &-info svg use{
84
+ fill: #E5C936;
85
+ }
86
+ &-grey1 svg use{
87
+ fill: #646260;
88
+ }
89
+ &-grey2 svg use{
90
+ fill: #918F8E;
91
+ }
92
+ &-grey3 svg use{
93
+ fill: var(--gray04);
94
+ }
95
+ &-grey4 svg use{
96
+ fill: #E4E4E4;
97
+ }
98
+ &-grey5 svg use{
99
+ fill: #F2F2F2;
100
+ }
101
+ &-grey6 svg use{
102
+ fill: var(--gray07);
103
+ }
104
+ &-inactive{
105
+ fill: #bdbcbb;
106
+ }
107
+ }
108
+
109
+ // IE 11 with win7 fix that caused an application freeze.
110
+ svg use {
111
+ pointer-events: none;
112
+ }
113
+
114
+ &.is-rotating45 {
115
+ animation-name: spinanimation;
116
+ animation-duration: 3000ms;
117
+ transform: rotate(45deg);
118
+ }
119
+
120
+ &.is-rotating90 {
121
+ animation-name: spinanimation;
122
+ animation-duration: 3000ms;
123
+ transform: rotate(90deg);
124
+ }
125
+
126
+ &.is-rotating180 {
127
+ animation-name: spinanimation180;
128
+ animation-duration: 3000ms;
129
+ }
130
+
131
+ &.is-rotating45Anti {
132
+ animation-name: spinanimation;
133
+ animation-duration: 3000ms;
134
+ transform: rotate(-45deg);
135
+ }
136
+
137
+ &.is-rotating90Anti {
138
+ animation-name: spinanimation;
139
+ animation-duration: 3000ms;
140
+ transform: rotate(-90deg);
141
+ }
142
+
143
+ &.is-rotating180Anti {
144
+ animation-name: spinanimation;
145
+ animation-duration: 3000ms;
146
+ transform: rotate(-180deg);
147
+ }
148
+ }
149
+ }
@@ -0,0 +1,95 @@
1
+ @mixin kms-accordion-item-theme($theme) {
2
+ .accordion-item {
3
+ &.showFlat{
4
+ background-color: transparent;
5
+ box-shadow: none !important;
6
+ border-radius: unset !important;
7
+ border-top: solid rgba(189, 188, 187, 0.5);
8
+ }
9
+ &.isSmall{
10
+ .accordion-item-header{
11
+ height: 42px;
12
+ padding-top: 0;
13
+ padding-bottom: 0;
14
+
15
+ .accordion-item-title{
16
+ font-size: 16px !important;
17
+ font-weight: 300;
18
+ }
19
+
20
+ .accordion-item-header-icon-wrapper{
21
+ kms-icon{
22
+
23
+ svg{
24
+ height: 16px;
25
+ width: 16px;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ }
31
+
32
+ .accordion-item-header{
33
+ height: auto;
34
+ padding-top: $base-spacing-hoz;
35
+ padding-bottom: $base-spacing-hoz;
36
+
37
+ .accordion-item-title{
38
+ text-align: left;
39
+ font: 600 22px/38px var(--fontName-text);
40
+ letter-spacing: 0.53px;
41
+ color: var(--gray09);
42
+ margin: 0px;
43
+
44
+ @media (max-width: $responsive-breakpoint) {
45
+ font: 15 18px/23px var(--fontName-text);
46
+ letter-spacing: 0.29px;
47
+ color: var(--gray10);
48
+ //height: 3em;
49
+ }
50
+
51
+ span{
52
+ display: inline;
53
+
54
+ @media (max-width: $responsive-breakpoint) {
55
+ display: block;
56
+ }
57
+ }
58
+ }
59
+
60
+ .accordion-item-header-icon-wrapper{
61
+ align-self: center;
62
+
63
+ kms-icon{
64
+ svg {
65
+ height: 22px;
66
+ width: 22px;
67
+ use{
68
+ fill: var(--primaryColor);
69
+ }
70
+ }
71
+ }
72
+
73
+ &-desktop{
74
+ display: block;
75
+ @media (max-width: $responsive-breakpoint) {
76
+ display: none;
77
+ }
78
+ }
79
+
80
+ &-mobile{
81
+ display: none;
82
+ @media (max-width: $responsive-breakpoint) {
83
+ display: block;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ mat-expansion-panel-header{
91
+ @media (max-width: $responsive-breakpoint) {
92
+ height: auto !important;
93
+ }
94
+ }
95
+ }
File without changes
File without changes
@@ -0,0 +1,30 @@
1
+ .wrapper {
2
+ position: relative;
3
+ display: inline-block;
4
+ padding-left: 35px;
5
+ cursor: pointer;
6
+
7
+ &:before {
8
+
9
+ }
10
+
11
+ &:hover:before {
12
+ }
13
+
14
+ // Hide the browser's default radio button
15
+ input {
16
+ position: absolute;
17
+ opacity: 0;
18
+ cursor: pointer;
19
+ height: 0;
20
+ width: 0;
21
+ }
22
+
23
+ input:checked {
24
+
25
+ }
26
+
27
+ &.disabled {
28
+ cursor: default;
29
+ }
30
+ }
@@ -0,0 +1,10 @@
1
+
2
+ .timeInput {
3
+ display: inline;
4
+ input{
5
+ width: 2em;
6
+ margin-right: 4px;
7
+ margin-left: 4px;
8
+ font-size: 16px;
9
+ }
10
+ }