@gipisistemas/ng-core 1.1.11 → 1.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. package/assets/styles/colors.scss +228 -211
  2. package/assets/styles/styles.scss +54 -5
  3. package/bundles/gipisistemas-ng-core.umd.js +3516 -146
  4. package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
  5. package/bundles/gipisistemas-ng-core.umd.min.js +9 -9
  6. package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
  7. package/core/gipi-components/components/abstract-find.component.d.ts +1 -0
  8. package/core/gipi-components/components/abstract.component.d.ts +1 -0
  9. package/esm2015/core/gipi-components/components/abstract-find.component.js +22 -1
  10. package/esm2015/core/gipi-components/components/abstract.component.js +5 -2
  11. package/esm2015/gipi-components.js +19 -6
  12. package/esm2015/gipisistemas-ng-core.js +3 -1
  13. package/esm2015/shared/components/button/button.component.js +2 -2
  14. package/esm2015/shared/components/icon/icon.component.js +2 -4
  15. package/esm2015/shared/gipi-components/button/button.component.js +2 -2
  16. package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
  17. package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +3 -3
  18. package/esm2015/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +1 -1
  19. package/esm2015/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +1 -1
  20. package/esm2015/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.js +158 -0
  21. package/esm2015/shared/gipi-components/datetime-picker/datetime-picker.module.js +82 -0
  22. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.js +116 -0
  23. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.js +676 -0
  24. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.js +306 -0
  25. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.js +30 -0
  26. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.js +7 -0
  27. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.js +7 -0
  28. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.js +346 -0
  29. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.js +83 -0
  30. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.js +1 -0
  31. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.js +451 -0
  32. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.js +151 -0
  33. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.js +230 -0
  34. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.js +43 -0
  35. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.js +139 -0
  36. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.js +3 -0
  37. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.js +138 -0
  38. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.js +20 -0
  39. package/esm2015/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.js +141 -0
  40. package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
  41. package/esm2015/shared/gipi-components/form-field/form-field.component.js +8 -3
  42. package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +1 -1
  43. package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
  44. package/esm2015/shared/gipi-components/input-select/input-select.component.js +1 -1
  45. package/esm2015/shared/gipi-components/input-select-enum/input-select-enum.component.js +20 -6
  46. package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +1 -1
  47. package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +1 -1
  48. package/esm2015/shared/gipi-components/range-page/range-page.component.js +1 -1
  49. package/esm2015/shared/gipi-components/range-slider/range-slider.component.js +1 -1
  50. package/esm2015/shared/gipi-components/select-button/select-button.component.js +1 -1
  51. package/esm2015/shared/gipi-components/split-button/split-button.component.js +2 -2
  52. package/esm2015/shared/gipi-components/tabs/tab-group/tab-group.component.js +5 -2
  53. package/esm2015/shared/gipi-components/textarea/textarea.component.js +1 -1
  54. package/esm2015/shared/shared.module.js +51 -3
  55. package/esm5/core/gipi-components/components/abstract-find.component.js +22 -1
  56. package/esm5/core/gipi-components/components/abstract.component.js +5 -2
  57. package/esm5/gipi-components.js +19 -6
  58. package/esm5/gipisistemas-ng-core.js +3 -1
  59. package/esm5/shared/components/button/button.component.js +2 -2
  60. package/esm5/shared/components/icon/icon.component.js +2 -4
  61. package/esm5/shared/gipi-components/button/button.component.js +2 -2
  62. package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
  63. package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +3 -3
  64. package/esm5/shared/gipi-components/datepicker/mat-datepicker/calendar-body.js +1 -1
  65. package/esm5/shared/gipi-components/datepicker/mat-datepicker/date-range-input.js +1 -1
  66. package/esm5/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.js +176 -0
  67. package/esm5/shared/gipi-components/datetime-picker/datetime-picker.module.js +85 -0
  68. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.js +119 -0
  69. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.js +747 -0
  70. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.js +332 -0
  71. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.js +30 -0
  72. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.js +7 -0
  73. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.js +7 -0
  74. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.js +377 -0
  75. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.js +89 -0
  76. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.js +1 -0
  77. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.js +495 -0
  78. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.js +160 -0
  79. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.js +248 -0
  80. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.js +49 -0
  81. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.js +145 -0
  82. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.js +3 -0
  83. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.js +141 -0
  84. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.js +20 -0
  85. package/esm5/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.js +151 -0
  86. package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
  87. package/esm5/shared/gipi-components/form-field/form-field.component.js +8 -3
  88. package/esm5/shared/gipi-components/input-currency/input-currency.component.js +1 -1
  89. package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
  90. package/esm5/shared/gipi-components/input-select/input-select.component.js +1 -1
  91. package/esm5/shared/gipi-components/input-select-enum/input-select-enum.component.js +25 -6
  92. package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +1 -1
  93. package/esm5/shared/gipi-components/radio-group/radio-group.component.js +1 -1
  94. package/esm5/shared/gipi-components/range-page/range-page.component.js +1 -1
  95. package/esm5/shared/gipi-components/range-slider/range-slider.component.js +1 -1
  96. package/esm5/shared/gipi-components/select-button/select-button.component.js +1 -1
  97. package/esm5/shared/gipi-components/split-button/split-button.component.js +2 -2
  98. package/esm5/shared/gipi-components/tabs/tab-group/tab-group.component.js +5 -2
  99. package/esm5/shared/gipi-components/textarea/textarea.component.js +1 -1
  100. package/esm5/shared/shared.module.js +51 -3
  101. package/fesm2015/gipisistemas-ng-core.js +3244 -157
  102. package/fesm2015/gipisistemas-ng-core.js.map +1 -1
  103. package/fesm5/gipisistemas-ng-core.js +3494 -152
  104. package/fesm5/gipisistemas-ng-core.js.map +1 -1
  105. package/gipi-components.d.ts +16 -0
  106. package/gipisistemas-ng-core.d.ts +2 -0
  107. package/gipisistemas-ng-core.metadata.json +1 -1
  108. package/package.json +4 -4
  109. package/shared/components/icon/icon.component.d.ts +1 -3
  110. package/shared/gipi-components/datetime-picker/datetime-picker/datetime-picker.component.d.ts +40 -0
  111. package/shared/gipi-components/datetime-picker/datetime-picker.module.d.ts +2 -0
  112. package/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar-body.d.ts +50 -0
  113. package/shared/gipi-components/datetime-picker/mat-datetime-picker/calendar.d.ts +140 -0
  114. package/shared/gipi-components/datetime-picker/mat-datetime-picker/clock.d.ts +66 -0
  115. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-animations.d.ts +8 -0
  116. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-errors.d.ts +2 -0
  117. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-filtertype.d.ts +5 -0
  118. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-input.d.ts +98 -0
  119. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-toggle.d.ts +20 -0
  120. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker-type.d.ts +1 -0
  121. package/shared/gipi-components/datetime-picker/mat-datetime-picker/datetimepicker.d.ts +133 -0
  122. package/shared/gipi-components/datetime-picker/mat-datetime-picker/month-view.d.ts +53 -0
  123. package/shared/gipi-components/datetime-picker/mat-datetime-picker/multi-year-view.d.ts +80 -0
  124. package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/adapter.module.d.ts +4 -0
  125. package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-adapter.d.ts +46 -0
  126. package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/datetime-formats.d.ts +20 -0
  127. package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-adapter.d.ts +36 -0
  128. package/shared/gipi-components/datetime-picker/mat-datetime-picker/shared/adapter/native-datetime-formats.d.ts +2 -0
  129. package/shared/gipi-components/datetime-picker/mat-datetime-picker/year-view.d.ts +52 -0
  130. package/shared/gipi-components/form-field/form-field.component.d.ts +1 -0
  131. package/shared/gipi-components/input-select-enum/input-select-enum.component.d.ts +4 -2
@@ -1,253 +1,270 @@
1
1
  // Cores provisórias ---------------------------
2
- $gipi-input-border-provisory: rgba(0, 0, 0, .12);
2
+ $gipi-input-border-provisory: #0000001f;
3
3
  $gipi-input-color-provisory: #696969;
4
4
  // ---------------------------------------------
5
5
 
6
6
  // Box shadow
7
- $gipi-box-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
8
- $gipi-box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
7
+ $gipi-box-shadow-sm:
8
+ 0 1px 3px 0 rgba(0, 0, 0, 0.1),
9
+ 0 1px 2px -1px rgba(0, 0, 0, 0.1);
10
+ $gipi-box-shadow-md:
11
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1),
12
+ 0 2px 4px -2px rgba(0, 0, 0, 0.1);
13
+
9
14
  // Primary
10
- $gipi-primary-50 : #fceaec;
11
- $gipi-primary-100 : #f5bfc3;
12
- $gipi-primary-200 : #f1a0a6;
13
- $gipi-primary-300 : #ea757e;
14
- $gipi-primary-400 : #e65a65;
15
- $gipi-primary-500 : #e0313e; // Is default
16
- $gipi-primary-600 : #cc2d38;
17
- $gipi-primary-700 : #9f232c;
18
- $gipi-primary-800 : #7b1b22;
19
- $gipi-primary-900 : #5e151a;
15
+ $gipi-primary-50: #fceaec;
16
+ $gipi-primary-100: #f5bfc3;
17
+ $gipi-primary-200: #f1a0a6;
18
+ $gipi-primary-300: #ea757e;
19
+ $gipi-primary-400: #e65a65;
20
+ $gipi-primary-500: #e0313e; // Is default
21
+ $gipi-primary-600: #cc2d38;
22
+ $gipi-primary-700: #9f232c;
23
+ $gipi-primary-800: #7b1b22;
24
+ $gipi-primary-900: #5e151a;
25
+
20
26
  // Secondary
21
- $gipi-secondary-50 : #f5f5f6;
22
- $gipi-secondary-100 : #e0e1e2;
23
- $gipi-secondary-200 : #d1d2d4;
24
- $gipi-secondary-300 : #bbbdc1;
25
- $gipi-secondary-400 : #aeb1b5;
26
- $gipi-secondary-500 : #9a9da2; // Is default
27
- $gipi-secondary-600 : #8c8f93;
28
- $gipi-secondary-700 : #6d6f73;
29
- $gipi-secondary-800 : #555659;
30
- $gipi-secondary-900 : #414244;
27
+ $gipi-secondary-50: #f5f5f6;
28
+ $gipi-secondary-100: #e0e1e2;
29
+ $gipi-secondary-200: #d1d2d4;
30
+ $gipi-secondary-300: #bbbdc1;
31
+ $gipi-secondary-400: #aeb1b5;
32
+ $gipi-secondary-500: #9a9da2; // Is default
33
+ $gipi-secondary-600: #8c8f93;
34
+ $gipi-secondary-700: #6d6f73;
35
+ $gipi-secondary-800: #555659;
36
+ $gipi-secondary-900: #414244;
37
+
31
38
  // Success
32
- $gipi-success-100 : #bbdcb6;
33
- $gipi-success-300 : #6db362;
34
- $gipi-success-400 : #51a543;
35
- $gipi-success-500 : #258e14; // Is default
36
- $gipi-success-600 : #228112;
37
- $gipi-success-700 : #1a650e;
38
- $gipi-success-900 : #103c08;
39
+ $gipi-success-100: #bbdcb6;
40
+ $gipi-success-300: #6db362;
41
+ $gipi-success-400: #51a543;
42
+ $gipi-success-500: #258e14; // Is default
43
+ $gipi-success-600: #228112;
44
+ $gipi-success-700: #1a650e;
45
+ $gipi-success-900: #103c08;
46
+
39
47
  // Information
40
- $gipi-info-100 : #b0d8ef;
41
- $gipi-info-300 : #54aadb;
42
- $gipi-info-400 : #3399d5;
43
- $gipi-info-500 : #0080ca; // Is default
44
- $gipi-info-600 : #0074b8;
45
- $gipi-info-700 : #005b8f;
46
- $gipi-info-900 : #003655;
48
+ $gipi-info-100: #b0d8ef;
49
+ $gipi-info-300: #54aadb;
50
+ $gipi-info-400: #3399d5;
51
+ $gipi-info-500: #0080ca; // Is default
52
+ $gipi-info-600: #0074b8;
53
+ $gipi-info-700: #005b8f;
54
+ $gipi-info-900: #003655;
55
+
47
56
  // Warning
48
- $gipi-warning-100 : #f2e2b0;
49
- $gipi-warning-300 : #e4bf54;
50
- $gipi-warning-400 : #deb333;
51
- $gipi-warning-500 : #d6a000; // Is default
52
- $gipi-warning-600 : #c39200;
53
- $gipi-warning-700 : #987200;
54
- $gipi-warning-900 : #5a4300;
57
+ $gipi-warning-100: #f2e2b0;
58
+ $gipi-warning-300: #e4bf54;
59
+ $gipi-warning-400: #deb333;
60
+ $gipi-warning-500: #d6a000; // Is default
61
+ $gipi-warning-600: #c39200;
62
+ $gipi-warning-700: #987200;
63
+ $gipi-warning-900: #5a4300;
64
+
55
65
  // Danger
56
- $gipi-danger-100 : #f1c4b6;
57
- $gipi-danger-300 : #e07f62;
58
- $gipi-danger-400 : #da6643;
59
- $gipi-danger-500 : #d14014; // Is default
60
- $gipi-danger-600 : #be3a12;
61
- $gipi-danger-700 : #942d0e;
62
- $gipi-danger-900 : #581b08;
66
+ $gipi-danger-100: #f1c4b6;
67
+ $gipi-danger-300: #e07f62;
68
+ $gipi-danger-400: #da6643;
69
+ $gipi-danger-500: #d14014; // Is default
70
+ $gipi-danger-600: #be3a12;
71
+ $gipi-danger-700: #942d0e;
72
+ $gipi-danger-900: #581b08;
73
+
63
74
  // White
64
- $gipi-common-white-100 : #ffffff; // Is default
65
- $gipi-common-white-200 : #fcfcfc;
66
- $gipi-common-white-300 : #f5f5f5;
67
- $gipi-common-white-400 : #f0f0f0;
75
+ $gipi-common-white-100: #ffffff; // Is default
76
+ $gipi-common-white-200: #fcfcfc;
77
+ $gipi-common-white-300: #f5f5f5;
78
+ $gipi-common-white-400: #f0f0f0;
79
+
68
80
  // Black
69
- $gipi-common-black-100 : #131313; // Is default
70
- $gipi-common-black-200 : #262626;
71
- $gipi-common-black-300 : #595959;
72
- $gipi-common-black-400 : #bfbfbf;
81
+ $gipi-common-black-100: #131313; // Is default
82
+ $gipi-common-black-200: #262626;
83
+ $gipi-common-black-300: #595959;
84
+ $gipi-common-black-400: #bfbfbf;
85
+
73
86
  // Gray
74
- $gipi-common-gray-50 : #f5f5f6;
75
- $gipi-common-gray-100 : #e0e1e2;
76
- $gipi-common-gray-200 : #d1d2d4;
77
- $gipi-common-gray-300 : #bbbdc1;
78
- $gipi-common-gray-400 : #aeb1b5;
79
- $gipi-common-gray-500 : #9a9da2; // Is default
80
- $gipi-common-gray-600 : #8c8f93;
81
- $gipi-common-gray-700 : #6d6f73;
82
- $gipi-common-gray-800 : #555659;
83
- $gipi-common-gray-900 : #414244;
87
+ $gipi-common-gray-50: #f5f5f6;
88
+ $gipi-common-gray-100: #e0e1e2;
89
+ $gipi-common-gray-200: #d1d2d4;
90
+ $gipi-common-gray-300: #bbbdc1;
91
+ $gipi-common-gray-400: #aeb1b5;
92
+ $gipi-common-gray-500: #9a9da2; // Is default
93
+ $gipi-common-gray-600: #8c8f93;
94
+ $gipi-common-gray-700: #6d6f73;
95
+ $gipi-common-gray-800: #555659;
96
+ $gipi-common-gray-900: #414244;
97
+
84
98
  // Pastels - No default color
85
- $gipi-common-pastels-primary : #f3e7e7;
86
- $gipi-common-pastels-secondary : #e7ebee;
87
- $gipi-common-pastels-success : #e9f4e8;
88
- $gipi-common-pastels-info : #e6f2fa;
89
- $gipi-common-pastels-warning : #fbf6e6;
90
- $gipi-common-pastels-danger : #faece8;
91
- //
99
+ $gipi-common-pastels-primary: #f3e7e7;
100
+ $gipi-common-pastels-secondary: #e7ebee;
101
+ $gipi-common-pastels-success: #e9f4e8;
102
+ $gipi-common-pastels-info: #e6f2fa;
103
+ $gipi-common-pastels-warning: #fbf6e6;
104
+ $gipi-common-pastels-danger: #faece8;
105
+
92
106
  $gipi-palette-primary: (
93
- 50 : $gipi-primary-50,
94
- 100 : $gipi-primary-100,
95
- 200 : $gipi-primary-200,
96
- 300 : $gipi-primary-300,
97
- 400 : $gipi-primary-400,
98
- 500 : $gipi-primary-500,
99
- 600 : $gipi-primary-600,
100
- 700 : $gipi-primary-700,
101
- 800 : $gipi-primary-800,
102
- 900 : $gipi-primary-900,
103
- contrast: ( //
104
- 50 : $gipi-common-black-100,
105
- 100 : $gipi-common-black-100,
106
- 200 : $gipi-common-black-100,
107
- 300 : $gipi-common-black-100,
108
- 400 : $gipi-common-black-100,
109
- 500 : $gipi-common-white-100,
110
- 600 : $gipi-common-white-100,
111
- 700 : $gipi-common-white-100,
112
- 800 : $gipi-common-white-100,
113
- 900 : $gipi-common-white-100,
107
+ 50: $gipi-primary-50,
108
+ 100: $gipi-primary-100,
109
+ 200: $gipi-primary-200,
110
+ 300: $gipi-primary-300,
111
+ 400: $gipi-primary-400,
112
+ 500: $gipi-primary-500,
113
+ 600: $gipi-primary-600,
114
+ 700: $gipi-primary-700,
115
+ 800: $gipi-primary-800,
116
+ 900: $gipi-primary-900,
117
+ contrast: (
118
+ 50: $gipi-common-black-100,
119
+ 100: $gipi-common-black-100,
120
+ 200: $gipi-common-black-100,
121
+ 300: $gipi-common-black-100,
122
+ 400: $gipi-common-black-100,
123
+ 500: $gipi-common-white-100,
124
+ 600: $gipi-common-white-100,
125
+ 700: $gipi-common-white-100,
126
+ 800: $gipi-common-white-100,
127
+ 900: $gipi-common-white-100
114
128
  )
115
129
  );
116
- //
130
+
117
131
  $gipi-palette-secondary: (
118
- 100 : $gipi-secondary-100,
119
- 300 : $gipi-secondary-300,
120
- 400 : $gipi-secondary-400,
121
- 500 : $gipi-secondary-500,
122
- 600 : $gipi-secondary-600,
123
- 700 : $gipi-secondary-700,
124
- 900 : $gipi-secondary-900,
125
- contrast: ( //
126
- 50 : $gipi-common-black-100,
127
- 100 : $gipi-common-black-100,
128
- 200 : $gipi-common-black-100,
129
- 300 : $gipi-common-black-100,
130
- 400 : $gipi-common-black-100,
131
- 500 : $gipi-common-black-100,
132
- 600 : $gipi-common-black-100,
133
- 700 : $gipi-common-white-100,
134
- 800 : $gipi-common-white-100,
135
- 900 : $gipi-common-white-100,
132
+ 100: $gipi-secondary-100,
133
+ 300: $gipi-secondary-300,
134
+ 400: $gipi-secondary-400,
135
+ 500: $gipi-secondary-500,
136
+ 600: $gipi-secondary-600,
137
+ 700: $gipi-secondary-700,
138
+ 900: $gipi-secondary-900,
139
+ contrast: (
140
+ 50: $gipi-common-black-100,
141
+ 100: $gipi-common-black-100,
142
+ 200: $gipi-common-black-100,
143
+ 300: $gipi-common-black-100,
144
+ 400: $gipi-common-black-100,
145
+ 500: $gipi-common-black-100,
146
+ 600: $gipi-common-black-100,
147
+ 700: $gipi-common-white-100,
148
+ 800: $gipi-common-white-100,
149
+ 900: $gipi-common-white-100
136
150
  )
137
151
  );
138
- //
152
+
139
153
  $gipi-palette-success: (
140
- 100 : $gipi-success-100,
141
- 300 : $gipi-success-300,
142
- 400 : $gipi-success-400,
143
- 500 : $gipi-success-500,
144
- 600 : $gipi-success-600,
145
- 700 : $gipi-success-700,
146
- 900 : $gipi-success-900,
147
- contrast: ( //
148
- 100 : $gipi-common-black-100,
149
- 300 : $gipi-common-black-100,
150
- 400 : $gipi-common-black-100,
151
- 500 : $gipi-common-white-100,
152
- 600 : $gipi-common-white-100,
153
- 700 : $gipi-common-white-100,
154
- 900 : $gipi-common-white-100,
154
+ 100: $gipi-success-100,
155
+ 300: $gipi-success-300,
156
+ 400: $gipi-success-400,
157
+ 500: $gipi-success-500,
158
+ 600: $gipi-success-600,
159
+ 700: $gipi-success-700,
160
+ 900: $gipi-success-900,
161
+ contrast: (
162
+ 100: $gipi-common-black-100,
163
+ 300: $gipi-common-black-100,
164
+ 400: $gipi-common-black-100,
165
+ 500: $gipi-common-white-100,
166
+ 600: $gipi-common-white-100,
167
+ 700: $gipi-common-white-100,
168
+ 900: $gipi-common-white-100
155
169
  )
156
170
  );
157
- //
171
+
158
172
  $gipi-palette-info: (
159
- 100 : $gipi-info-100,
160
- 300 : $gipi-info-300,
161
- 400 : $gipi-info-400,
162
- 500 : $gipi-info-500,
163
- 600 : $gipi-info-600,
164
- 700 : $gipi-info-700,
165
- 900 : $gipi-info-900,
166
- contrast: ( //
167
- 100 : $gipi-common-black-100,
168
- 300 : $gipi-common-black-100,
169
- 400 : $gipi-common-black-100,
170
- 500 : $gipi-common-white-100,
171
- 600 : $gipi-common-white-100,
172
- 700 : $gipi-common-white-100,
173
- 900 : $gipi-common-white-100,
173
+ 100: $gipi-info-100,
174
+ 300: $gipi-info-300,
175
+ 400: $gipi-info-400,
176
+ 500: $gipi-info-500,
177
+ 600: $gipi-info-600,
178
+ 700: $gipi-info-700,
179
+ 900: $gipi-info-900,
180
+ contrast: (
181
+ 100: $gipi-common-black-100,
182
+ 300: $gipi-common-black-100,
183
+ 400: $gipi-common-black-100,
184
+ 500: $gipi-common-white-100,
185
+ 600: $gipi-common-white-100,
186
+ 700: $gipi-common-white-100,
187
+ 900: $gipi-common-white-100
174
188
  )
175
189
  );
176
- //
190
+
177
191
  $gipi-palette-warning: (
178
- 100 : $gipi-warning-100,
179
- 300 : $gipi-warning-300,
180
- 400 : $gipi-warning-400,
181
- 500 : $gipi-warning-500,
182
- 600 : $gipi-warning-600,
183
- 700 : $gipi-warning-700,
184
- 900 : $gipi-warning-900,
185
- contrast: ( //
186
- 100 : $gipi-common-black-100,
187
- 300 : $gipi-common-black-100,
188
- 400 : $gipi-common-black-100,
189
- 500 : $gipi-common-white-100,
190
- 600 : $gipi-common-white-100,
191
- 700 : $gipi-common-white-100,
192
- 900 : $gipi-common-white-100,
192
+ 100: $gipi-warning-100,
193
+ 300: $gipi-warning-300,
194
+ 400: $gipi-warning-400,
195
+ 500: $gipi-warning-500,
196
+ 600: $gipi-warning-600,
197
+ 700: $gipi-warning-700,
198
+ 900: $gipi-warning-900,
199
+ contrast: (
200
+ 100: $gipi-common-black-100,
201
+ 300: $gipi-common-black-100,
202
+ 400: $gipi-common-black-100,
203
+ 500: $gipi-common-white-100,
204
+ 600: $gipi-common-white-100,
205
+ 700: $gipi-common-white-100,
206
+ 900: $gipi-common-white-100
193
207
  )
194
208
  );
195
- //
209
+
196
210
  $gipi-palette-danger: (
197
- 100 : $gipi-danger-100,
198
- 300 : $gipi-danger-300,
199
- 400 : $gipi-danger-400,
200
- 500 : $gipi-danger-500,
201
- 600 : $gipi-danger-600,
202
- 700 : $gipi-danger-700,
203
- 900 : $gipi-danger-900,
204
- contrast: ( //
205
- 100 : $gipi-common-black-100,
206
- 300 : $gipi-common-black-100,
207
- 400 : $gipi-common-black-100,
208
- 500 : $gipi-common-white-100,
209
- 600 : $gipi-common-white-100,
210
- 700 : $gipi-common-white-100,
211
- 900 : $gipi-common-white-100,
211
+ 100: $gipi-danger-100,
212
+ 300: $gipi-danger-300,
213
+ 400: $gipi-danger-400,
214
+ 500: $gipi-danger-500,
215
+ 600: $gipi-danger-600,
216
+ 700: $gipi-danger-700,
217
+ 900: $gipi-danger-900,
218
+ contrast: (
219
+ 100: $gipi-common-black-100,
220
+ 300: $gipi-common-black-100,
221
+ 400: $gipi-common-black-100,
222
+ 500: $gipi-common-white-100,
223
+ 600: $gipi-common-white-100,
224
+ 700: $gipi-common-white-100,
225
+ 900: $gipi-common-white-100
212
226
  )
213
227
  );
214
- //
228
+
215
229
  $gipi-palette-common: (
216
- white : ( // 100 is default
217
- 100 : $gipi-common-white-100,
218
- 200 : $gipi-common-white-200,
219
- 300 : $gipi-common-white-300,
220
- 400 : $gipi-common-white-400,
230
+ white: (
231
+ // 100 is default
232
+ 100: $gipi-common-white-100,
233
+ 200: $gipi-common-white-200,
234
+ 300: $gipi-common-white-300,
235
+ 400: $gipi-common-white-400
221
236
  ),
222
- black : ( // 100 is default
223
- 100 : $gipi-common-black-100,
224
- 200 : $gipi-common-black-200,
225
- 300 : $gipi-common-black-300,
226
- 400 : $gipi-common-black-400,
237
+ black: (
238
+ // 100 is default
239
+ 100: $gipi-common-black-100,
240
+ 200: $gipi-common-black-200,
241
+ 300: $gipi-common-black-300,
242
+ 400: $gipi-common-black-400
227
243
  ),
228
- gray : ( // 500 is default
229
- 50 : $gipi-common-gray-50,
230
- 100 : $gipi-common-gray-100,
231
- 200 : $gipi-common-gray-200,
232
- 300 : $gipi-common-gray-300,
233
- 400 : $gipi-common-gray-400,
234
- 500 : $gipi-common-gray-500,
235
- 600 : $gipi-common-gray-600,
236
- 700 : $gipi-common-gray-700,
237
- 800 : $gipi-common-gray-800,
238
- 900 : $gipi-common-gray-900,
239
- ),
240
- pastels : ( // No default color
241
- primary : $gipi-common-pastels-primary,
242
- secondary : $gipi-common-pastels-secondary,
243
- success : $gipi-common-pastels-success,
244
- info : $gipi-common-pastels-info,
245
- warning : $gipi-common-pastels-warning,
246
- danger : $gipi-common-pastels-danger,
244
+ gray: (
245
+ // 500 is default
246
+ 50: $gipi-common-gray-50,
247
+ 100: $gipi-common-gray-100,
248
+ 200: $gipi-common-gray-200,
249
+ 300: $gipi-common-gray-300,
250
+ 400: $gipi-common-gray-400,
251
+ 500: $gipi-common-gray-500,
252
+ 600: $gipi-common-gray-600,
253
+ 700: $gipi-common-gray-700,
254
+ 800: $gipi-common-gray-800,
255
+ 900: $gipi-common-gray-900
247
256
  ),
257
+ pastels: (
258
+ // No default color
259
+ primary: $gipi-common-pastels-primary,
260
+ secondary: $gipi-common-pastels-secondary,
261
+ success: $gipi-common-pastels-success,
262
+ info: $gipi-common-pastels-info,
263
+ warning: $gipi-common-pastels-warning,
264
+ danger: $gipi-common-pastels-danger
265
+ )
248
266
  );
249
267
 
250
- //
251
268
  @function gipi-colors($color, $tone) {
252
269
  @if map-has-key($gipi-palette-common, $color) {
253
270
  $lColor: map-get($gipi-palette-common, $color);
@@ -1,5 +1,5 @@
1
- @import url("https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp");
2
- @import "~@angular/material/theming";
1
+ @import url('https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp');
2
+ @import '~@angular/material/theming';
3
3
 
4
4
  @import './colors.scss';
5
5
  @import './variable.scss';
@@ -13,7 +13,9 @@ $gipi-danger: mat-palette($gipi-palette-danger, 500, 500);
13
13
  $gipi-theme: mat-light-theme($gipi-primary, $gipi-accent, $gipi-danger);
14
14
  @include angular-material-theme($gipi-theme);
15
15
  // Font
16
- $gipi-typography : mat-typography-config($font-family: "'Nunito', sans-serif");
16
+ $gipi-typography: mat-typography-config(
17
+ $font-family: "'Nunito', sans-serif"
18
+ );
17
19
  @include angular-material-typography($gipi-typography);
18
20
 
19
21
  :root,
@@ -37,10 +39,14 @@ body {
37
39
  font-size: 1.3rem;
38
40
  }
39
41
 
40
- input[type="search"]::-webkit-search-cancel-button {
42
+ input[type='search']::-webkit-search-cancel-button {
41
43
  display: none !important;
42
44
  }
43
45
 
46
+ .mattooltip-line-break {
47
+ white-space: pre-wrap;
48
+ }
49
+
44
50
  .select-input-search {
45
51
  .mat-form-field-wrapper {
46
52
  margin-left: 10px !important;
@@ -146,4 +152,47 @@ mat-icon {
146
152
  -moz-user-select: none;
147
153
  -ms-user-select: none;
148
154
  user-select: none;
149
- }
155
+ }
156
+
157
+ /** DatetimePicker */
158
+ $gipi-mat-datetime-picker-selected-today-box-shadow-width: 1px;
159
+
160
+ .gipi-mat-datetime-picker-calendar-body-cell-content {
161
+ &.gipi-mat-datetime-picker-calendar-body-selected {
162
+ background-color: $gipi-primary-500;
163
+ color: $gipi-common-white-100;
164
+ }
165
+
166
+ &.gipi-mat-datetime-picker-calendar-body-disabled > .gipi-mat-datetime-picker-calendar-body-selected {
167
+ background-color: rgba($gipi-primary-500, 0.4);
168
+ }
169
+
170
+ &.gipi-mat-datetime-picker-calendar-body-today {
171
+ &:not(.gipi-mat-datetime-picker-calendar-body-selected) {
172
+ border-color: $gipi-primary-500;
173
+ }
174
+
175
+ // &.gipi-mat-datetime-picker-calendar-body-selected {
176
+ // box-shadow: inset 0 0 0 $gipi-mat-datetime-picker-selected-today-box-shadow-width
177
+ // mat-color($gipi-primary-500, default-contrast);
178
+ // }
179
+ }
180
+ }
181
+
182
+ .gipi-mat-datetime-picker-clock-center {
183
+ background-color: $gipi-primary-500;
184
+ }
185
+
186
+ .gipi-mat-datetime-picker-clock-hand {
187
+ background-color: $gipi-primary-500;
188
+
189
+ &::before {
190
+ background-color: $gipi-primary-500;
191
+ }
192
+ }
193
+
194
+ .gipi-mat-datetime-picker-clock-cell {
195
+ &.gipi-mat-datetime-picker-clock-cell-selected {
196
+ background-color: lighten($gipi-primary-500, 5);
197
+ }
198
+ }