@mediusinc/mng-commons 3.6.0-rc.0 → 3.6.0-rc.2

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 (210) hide show
  1. package/assets/fonts/poppins-v20-latin-500.woff +0 -0
  2. package/assets/fonts/poppins-v20-latin-500.woff2 +0 -0
  3. package/assets/fonts/poppins-v20-latin-600.woff +0 -0
  4. package/assets/fonts/poppins-v20-latin-600.woff2 +0 -0
  5. package/assets/fonts/poppins-v20-latin-700.woff +0 -0
  6. package/assets/fonts/poppins-v20-latin-700.woff2 +0 -0
  7. package/assets/fonts/poppins-v20-latin-regular.woff +0 -0
  8. package/assets/fonts/poppins-v20-latin-regular.woff2 +0 -0
  9. package/esm2022/lib/components/action/action.component.mjs +3 -3
  10. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +5 -5
  11. package/esm2022/lib/components/form/date-range/date-range.component.mjs +11 -6
  12. package/esm2022/lib/components/form/dropdown/dropdown.component.mjs +2 -2
  13. package/esm2022/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.mjs +2 -2
  14. package/esm2022/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +2 -2
  15. package/esm2022/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +2 -2
  16. package/esm2022/lib/components/layout/topbar.component.mjs +2 -2
  17. package/esm2022/lib/components/layoutV2/breadcrumb.component.mjs +30 -0
  18. package/esm2022/lib/components/layoutV2/footer.component.mjs +19 -0
  19. package/esm2022/lib/components/layoutV2/index.mjs +8 -0
  20. package/esm2022/lib/components/layoutV2/main-layout.component.mjs +89 -0
  21. package/esm2022/lib/components/layoutV2/menu-item.component.mjs +229 -0
  22. package/esm2022/lib/components/layoutV2/menu.component.mjs +31 -0
  23. package/esm2022/lib/components/layoutV2/model/index.mjs +3 -0
  24. package/esm2022/lib/components/layoutV2/model/layout-state.model.mjs +2 -0
  25. package/esm2022/lib/components/layoutV2/model/menu.model.mjs +2 -0
  26. package/esm2022/lib/components/layoutV2/services/index.mjs +3 -0
  27. package/esm2022/lib/components/layoutV2/services/main-layout.component.service.mjs +53 -0
  28. package/esm2022/lib/components/layoutV2/services/menu.service.mjs +122 -0
  29. package/esm2022/lib/components/layoutV2/sidebar.component.mjs +54 -0
  30. package/esm2022/lib/components/layoutV2/topbar-user.component.mjs +40 -0
  31. package/esm2022/lib/components/layoutV2/topbar.component.mjs +75 -0
  32. package/esm2022/lib/components/layoutV2/version.component.mjs +63 -0
  33. package/esm2022/lib/components/pages/error/error.page.component.mjs +3 -3
  34. package/esm2022/lib/components/pages/not-found/not-found.page.component.mjs +3 -3
  35. package/esm2022/lib/components/tableview/table/column-filter/column-filter.component.mjs +2 -2
  36. package/esm2022/lib/components/tableview/table/column-filter-full/column-filter-full.component.mjs +2 -2
  37. package/esm2022/lib/components/tableview/table/column-value/column-value.component.mjs +2 -2
  38. package/esm2022/lib/components/tableview/table/table.component.mjs +3 -3
  39. package/esm2022/lib/models/config.model.mjs +1 -1
  40. package/esm2022/lib/models/index.mjs +2 -1
  41. package/esm2022/lib/models/menu-config.model.mjs +2 -0
  42. package/esm2022/lib/models/menu.model.mjs +1 -1
  43. package/esm2022/lib/router/route-builder.mjs +14 -2
  44. package/esm2022/lib/router/routes-builder.mjs +9 -1
  45. package/esm2022/lib/services/action-executor.service.mjs +3 -4
  46. package/esm2022/lib/utils/route.util.mjs +25 -1
  47. package/fesm2022/mediusinc-mng-commons.mjs +831 -88
  48. package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
  49. package/lib/components/form/autocomplete/autocomplete.component.d.ts +4 -3
  50. package/lib/components/form/date-range/date-range.component.d.ts +2 -1
  51. package/lib/components/layoutV2/breadcrumb.component.d.ts +10 -0
  52. package/lib/components/layoutV2/footer.component.d.ts +8 -0
  53. package/lib/components/layoutV2/index.d.ts +7 -0
  54. package/lib/components/layoutV2/main-layout.component.d.ts +23 -0
  55. package/lib/components/layoutV2/menu-item.component.d.ts +38 -0
  56. package/lib/components/layoutV2/menu.component.d.ts +12 -0
  57. package/lib/components/layoutV2/model/index.d.ts +2 -0
  58. package/lib/components/layoutV2/model/layout-state.model.d.ts +11 -0
  59. package/lib/components/layoutV2/model/menu.model.d.ts +4 -0
  60. package/lib/components/layoutV2/services/index.d.ts +2 -0
  61. package/lib/components/layoutV2/services/main-layout.component.service.d.ts +14 -0
  62. package/lib/components/layoutV2/services/menu.service.d.ts +22 -0
  63. package/lib/components/layoutV2/sidebar.component.d.ts +19 -0
  64. package/lib/components/layoutV2/topbar-user.component.d.ts +16 -0
  65. package/lib/components/layoutV2/topbar.component.d.ts +23 -0
  66. package/lib/components/layoutV2/version.component.d.ts +19 -0
  67. package/lib/models/config.model.d.ts +9 -8
  68. package/lib/models/index.d.ts +1 -0
  69. package/lib/models/menu-config.model.d.ts +15 -0
  70. package/lib/models/menu.model.d.ts +2 -0
  71. package/lib/router/route-builder.d.ts +6 -1
  72. package/lib/router/routes-builder.d.ts +5 -0
  73. package/lib/utils/route.util.d.ts +19 -30
  74. package/package.json +2 -2
  75. package/scss/common/layout/_breadcrumb.scss +0 -1
  76. package/scss/mng-commons-dark-v2.scss +9 -0
  77. package/scss/mng-commons-light-v2.scss +9 -0
  78. package/scss/v2/layout/_animation.scss +53 -0
  79. package/scss/v2/layout/_breadcrumb.scss +97 -0
  80. package/scss/v2/layout/_config.scss +42 -0
  81. package/scss/v2/layout/_content.scss +3 -0
  82. package/scss/v2/layout/_fonts.scss +32 -0
  83. package/scss/v2/layout/_layout_dark.scss +12 -0
  84. package/scss/v2/layout/_layout_light.scss +12 -0
  85. package/scss/v2/layout/_main.scss +54 -0
  86. package/scss/v2/layout/_profile.scss +10 -0
  87. package/scss/v2/layout/_responsive.scss +131 -0
  88. package/scss/v2/layout/_sidebar_drawer.scss +283 -0
  89. package/scss/v2/layout/_sidebar_horizontal.scss +168 -0
  90. package/scss/v2/layout/_sidebar_reveal.scss +201 -0
  91. package/scss/v2/layout/_sidebar_slim.scss +157 -0
  92. package/scss/v2/layout/_sidebar_slim_plus.scss +167 -0
  93. package/scss/v2/layout/_sidebar_vertical.scss +176 -0
  94. package/scss/v2/layout/_topbar.scss +174 -0
  95. package/scss/v2/layout/_typography.scss +62 -0
  96. package/scss/v2/layout/_utils.scss +33 -0
  97. package/scss/v2/layout/layout.scss +24 -0
  98. package/scss/v2/layout/mng/_mng_layout_footer.scss +33 -0
  99. package/scss/v2/layout/mng/_mng_layout_menu.scss +10 -0
  100. package/scss/v2/layout/mng/_mng_layout_styles.scss +3 -0
  101. package/scss/v2/layout/mng/_mng_layout_topbar.scss +16 -0
  102. package/scss/v2/layout/preloading.scss +84 -0
  103. package/scss/v2/theme/theme-base/_colors.scss +18 -0
  104. package/scss/v2/theme/theme-base/_common.scss +73 -0
  105. package/scss/v2/theme/theme-base/_components.scss +106 -0
  106. package/scss/v2/theme/theme-base/_mixins.scss +203 -0
  107. package/scss/v2/theme/theme-base/components/button/_button.scss +564 -0
  108. package/scss/v2/theme/theme-base/components/button/_speeddial.scss +86 -0
  109. package/scss/v2/theme/theme-base/components/button/_splitbutton.scss +381 -0
  110. package/scss/v2/theme/theme-base/components/data/_carousel.scss +37 -0
  111. package/scss/v2/theme/theme-base/components/data/_datatable.scss +338 -0
  112. package/scss/v2/theme/theme-base/components/data/_dataview.scss +55 -0
  113. package/scss/v2/theme/theme-base/components/data/_filter.scss +138 -0
  114. package/scss/v2/theme/theme-base/components/data/_fullcalendar.scss +329 -0
  115. package/scss/v2/theme/theme-base/components/data/_orderlist.scss +103 -0
  116. package/scss/v2/theme/theme-base/components/data/_organizationchart.scss +50 -0
  117. package/scss/v2/theme/theme-base/components/data/_paginator.scss +92 -0
  118. package/scss/v2/theme/theme-base/components/data/_picklist.scss +103 -0
  119. package/scss/v2/theme/theme-base/components/data/_timeline.scss +38 -0
  120. package/scss/v2/theme/theme-base/components/data/_tree.scss +149 -0
  121. package/scss/v2/theme/theme-base/components/data/_treetable.scss +256 -0
  122. package/scss/v2/theme/theme-base/components/data/_virtualscroller.scss +28 -0
  123. package/scss/v2/theme/theme-base/components/file/_fileupload.scss +58 -0
  124. package/scss/v2/theme/theme-base/components/input/_autocomplete.scss +117 -0
  125. package/scss/v2/theme/theme-base/components/input/_calendar.scss +263 -0
  126. package/scss/v2/theme/theme-base/components/input/_cascadeselect.scss +130 -0
  127. package/scss/v2/theme/theme-base/components/input/_checkbox.scss +90 -0
  128. package/scss/v2/theme/theme-base/components/input/_chips.scss +54 -0
  129. package/scss/v2/theme/theme-base/components/input/_colorpicker.scss +19 -0
  130. package/scss/v2/theme/theme-base/components/input/_dropdown.scss +135 -0
  131. package/scss/v2/theme/theme-base/components/input/_editor.scss +122 -0
  132. package/scss/v2/theme/theme-base/components/input/_inputgroup.scss +75 -0
  133. package/scss/v2/theme/theme-base/components/input/_inputmask.scss +16 -0
  134. package/scss/v2/theme/theme-base/components/input/_inputnumber.scss +28 -0
  135. package/scss/v2/theme/theme-base/components/input/_inputswitch.scss +60 -0
  136. package/scss/v2/theme/theme-base/components/input/_inputtext.scss +99 -0
  137. package/scss/v2/theme/theme-base/components/input/_listbox.scss +82 -0
  138. package/scss/v2/theme/theme-base/components/input/_multiselect.scss +173 -0
  139. package/scss/v2/theme/theme-base/components/input/_password.scss +52 -0
  140. package/scss/v2/theme/theme-base/components/input/_radiobutton.scss +78 -0
  141. package/scss/v2/theme/theme-base/components/input/_rating.scss +55 -0
  142. package/scss/v2/theme/theme-base/components/input/_selectbutton.scss +50 -0
  143. package/scss/v2/theme/theme-base/components/input/_slider.scss +71 -0
  144. package/scss/v2/theme/theme-base/components/input/_togglebutton.scss +48 -0
  145. package/scss/v2/theme/theme-base/components/input/_treeselect.scss +139 -0
  146. package/scss/v2/theme/theme-base/components/menu/_breadcrumb.scss +42 -0
  147. package/scss/v2/theme/theme-base/components/menu/_contextmenu.scss +61 -0
  148. package/scss/v2/theme/theme-base/components/menu/_dock.scss +86 -0
  149. package/scss/v2/theme/theme-base/components/menu/_megamenu.scss +106 -0
  150. package/scss/v2/theme/theme-base/components/menu/_menu.scss +45 -0
  151. package/scss/v2/theme/theme-base/components/menu/_menubar.scss +188 -0
  152. package/scss/v2/theme/theme-base/components/menu/_panelmenu.scss +140 -0
  153. package/scss/v2/theme/theme-base/components/menu/_slidemenu.scss +64 -0
  154. package/scss/v2/theme/theme-base/components/menu/_steps.scss +56 -0
  155. package/scss/v2/theme/theme-base/components/menu/_tabmenu.scss +74 -0
  156. package/scss/v2/theme/theme-base/components/menu/_tieredmenu.scss +65 -0
  157. package/scss/v2/theme/theme-base/components/messages/_inlinemessage.scss +69 -0
  158. package/scss/v2/theme/theme-base/components/messages/_message.scss +107 -0
  159. package/scss/v2/theme/theme-base/components/messages/_toast.scss +100 -0
  160. package/scss/v2/theme/theme-base/components/misc/_avatar.scss +30 -0
  161. package/scss/v2/theme/theme-base/components/misc/_badge.scss +48 -0
  162. package/scss/v2/theme/theme-base/components/misc/_blockui.scss +0 -0
  163. package/scss/v2/theme/theme-base/components/misc/_chip.scss +38 -0
  164. package/scss/v2/theme/theme-base/components/misc/_inplace.scss +17 -0
  165. package/scss/v2/theme/theme-base/components/misc/_progressbar.scss +17 -0
  166. package/scss/v2/theme/theme-base/components/misc/_scrolltop.scss +25 -0
  167. package/scss/v2/theme/theme-base/components/misc/_skeleton.scss +8 -0
  168. package/scss/v2/theme/theme-base/components/misc/_tag.scss +40 -0
  169. package/scss/v2/theme/theme-base/components/misc/_terminal.scss +11 -0
  170. package/scss/v2/theme/theme-base/components/multimedia/_galleria.scss +149 -0
  171. package/scss/v2/theme/theme-base/components/multimedia/_image.scss +49 -0
  172. package/scss/v2/theme/theme-base/components/overlay/_confirmpopup.scss +72 -0
  173. package/scss/v2/theme/theme-base/components/overlay/_dialog.scss +69 -0
  174. package/scss/v2/theme/theme-base/components/overlay/_overlaypanel.scss +64 -0
  175. package/scss/v2/theme/theme-base/components/overlay/_sidebar.scss +27 -0
  176. package/scss/v2/theme/theme-base/components/overlay/_tooltip.scss +33 -0
  177. package/scss/v2/theme/theme-base/components/panel/_accordion.scss +119 -0
  178. package/scss/v2/theme/theme-base/components/panel/_card.scss +30 -0
  179. package/scss/v2/theme/theme-base/components/panel/_divider.scss +31 -0
  180. package/scss/v2/theme/theme-base/components/panel/_fieldset.scss +47 -0
  181. package/scss/v2/theme/theme-base/components/panel/_panel.scss +58 -0
  182. package/scss/v2/theme/theme-base/components/panel/_scrollpanel.scss +6 -0
  183. package/scss/v2/theme/theme-base/components/panel/_splitter.scss +19 -0
  184. package/scss/v2/theme/theme-base/components/panel/_tabview.scss +78 -0
  185. package/scss/v2/theme/theme-base/components/panel/_toolbar.scss +11 -0
  186. package/scss/v2/theme/theme-base/mng/_mng_mixins.scss +69 -0
  187. package/scss/v2/theme/theme-base/mng/_mng_theme_autocomplete.scss +34 -0
  188. package/scss/v2/theme/theme-base/mng/_mng_theme_button.scss +68 -0
  189. package/scss/v2/theme/theme-base/mng/_mng_theme_datatable.scss +146 -0
  190. package/scss/v2/theme/theme-base/mng/_mng_theme_datepicker.scss +21 -0
  191. package/scss/v2/theme/theme-base/mng/_mng_theme_dialog.scss +206 -0
  192. package/scss/v2/theme/theme-base/mng/_mng_theme_dropdown.scss +22 -0
  193. package/scss/v2/theme/theme-base/mng/_mng_theme_fileupload.scss +24 -0
  194. package/scss/v2/theme/theme-base/mng/_mng_theme_forms.scss +66 -0
  195. package/scss/v2/theme/theme-base/mng/_mng_theme_image.scss +27 -0
  196. package/scss/v2/theme/theme-base/mng/_mng_theme_input.scss +31 -0
  197. package/scss/v2/theme/theme-base/mng/_mng_theme_menu.scss +5 -0
  198. package/scss/v2/theme/theme-base/mng/_mng_theme_multiselect.scss +20 -0
  199. package/scss/v2/theme/theme-base/mng/_mng_theme_styles.scss +17 -0
  200. package/scss/v2/theme/theme-base/mng/_mng_theme_tableview.scss +97 -0
  201. package/scss/v2/theme/theme-base/mng/_mng_theme_tabview.scss +11 -0
  202. package/scss/v2/theme/theme-base/mng/_mng_theme_toast.scss +3 -0
  203. package/scss/v2/theme/theme-base/mng/_mng_theme_toolbar.scss +5 -0
  204. package/scss/v2/theme/theme-base/mng/_mng_variables.scss +15 -0
  205. package/scss/v2/theme/theme-dark/_extensions.scss +100 -0
  206. package/scss/v2/theme/theme-dark/_variables.scss +937 -0
  207. package/scss/v2/theme/theme-dark/blue/theme.scss +13 -0
  208. package/scss/v2/theme/theme-light/_extensions.scss +100 -0
  209. package/scss/v2/theme/theme-light/_variables.scss +937 -0
  210. package/scss/v2/theme/theme-light/blue/theme.scss +13 -0
@@ -0,0 +1,263 @@
1
+ p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
2
+ @include invalid-input();
3
+ }
4
+
5
+ .p-datepicker {
6
+ padding: $calendarPadding;
7
+ background: $calendarInlineBg;
8
+ color: $calendarTextColor;
9
+ border: $calendarBorder;
10
+ border-radius: $borderRadius;
11
+
12
+ &:not(.p-datepicker-inline) {
13
+ background: $calendarBg;
14
+ border: $calendarOverlayBorder;
15
+ box-shadow: $inputOverlayShadow;
16
+
17
+ .p-datepicker-header {
18
+ background: $calendarHeaderBg;
19
+ }
20
+ }
21
+
22
+ .p-datepicker-header {
23
+ padding: $calendarHeaderPadding;
24
+ color: $calendarHeaderTextColor;
25
+ background: $calendarInlineHeaderBg;
26
+ font-weight: $calendarHeaderFontWeight;
27
+ margin: $inputListHeaderMargin;
28
+ border-bottom: $calendarHeaderBorder;
29
+ border-top-right-radius: $borderRadius;
30
+ border-top-left-radius: $borderRadius;
31
+
32
+ .p-datepicker-prev,
33
+ .p-datepicker-next {
34
+ @include action-icon();
35
+ }
36
+
37
+ .p-datepicker-title {
38
+ line-height: $actionIconHeight;
39
+
40
+ .p-datepicker-year,
41
+ .p-datepicker-month {
42
+ color: $calendarHeaderTextColor;
43
+ transition: $actionIconTransition;
44
+ font-weight: $calendarHeaderFontWeight;
45
+ padding: $calendarHeaderCellPadding;
46
+
47
+ &:enabled:hover {
48
+ color: $calendarMonthYearHeaderHoverTextColor;
49
+ }
50
+ }
51
+
52
+ .p-datepicker-month {
53
+ margin-right: $inlineSpacing;
54
+ }
55
+ }
56
+ }
57
+
58
+ table {
59
+ font-size: $fontSize;
60
+ margin: $calendarTableMargin;
61
+
62
+ th {
63
+ padding: $calendarHeaderCellPadding;
64
+
65
+ > span {
66
+ width: $calendarCellDateWidth;
67
+ height: $calendarCellDateHeight;
68
+ }
69
+ }
70
+
71
+ td {
72
+ padding: $calendarCellDatePadding;
73
+
74
+ > span {
75
+ width: $calendarCellDateWidth;
76
+ height: $calendarCellDateHeight;
77
+ border-radius: $calendarCellDateBorderRadius;
78
+ transition: $listItemTransition;
79
+ border: $calendarCellDateBorder;
80
+
81
+ &.p-highlight {
82
+ color: $highlightTextColor;
83
+ background: $highlightBg;
84
+ }
85
+
86
+ &:focus {
87
+ @include focused();
88
+ }
89
+ }
90
+
91
+ &.p-datepicker-today {
92
+ > span {
93
+ background: $calendarCellDateTodayBg;
94
+ color: $calendarCellDateTodayTextColor;
95
+ border-color: $calendarCellDateTodayBorderColor;
96
+
97
+ &.p-highlight {
98
+ color: $highlightTextColor;
99
+ background: $highlightBg;
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+
106
+ .p-datepicker-buttonbar {
107
+ padding: $calendarButtonBarPadding;
108
+ border-top: $divider;
109
+
110
+ .p-button {
111
+ width: auto;
112
+ }
113
+ }
114
+
115
+ .p-timepicker {
116
+ border-top: $divider;
117
+ padding: $calendarTimePickerPadding;
118
+
119
+ button {
120
+ @include action-icon();
121
+
122
+ &:last-child {
123
+ margin-top: .2em;
124
+ }
125
+ }
126
+
127
+ span {
128
+ font-size: $calendarTimePickerTimeFontSize;
129
+ }
130
+
131
+ > div {
132
+ padding: $calendarTimePickerElementPadding;
133
+ }
134
+ }
135
+
136
+ &.p-datepicker-timeonly {
137
+ .p-timepicker {
138
+ border-top: 0 none;
139
+ }
140
+ }
141
+
142
+ .p-monthpicker {
143
+ margin: $calendarTableMargin;
144
+
145
+ .p-monthpicker-month {
146
+ padding: $calendarCellDatePadding;
147
+ transition: $listItemTransition;
148
+ border-radius: $borderRadius;
149
+
150
+ &.p-highlight {
151
+ color: $highlightTextColor;
152
+ background: $highlightBg;
153
+ }
154
+ }
155
+ }
156
+
157
+ .p-yearpicker {
158
+ margin: $calendarTableMargin;
159
+
160
+ .p-yearpicker-year {
161
+ padding: $calendarCellDatePadding;
162
+ transition: $listItemTransition;
163
+ border-radius: $borderRadius;
164
+
165
+ &.p-highlight {
166
+ color: $highlightTextColor;
167
+ background: $highlightBg;
168
+ }
169
+ }
170
+ }
171
+
172
+ &.p-datepicker-multiple-month {
173
+ .p-datepicker-group {
174
+ border-left: $divider;
175
+ padding-right: $calendarPadding;
176
+ padding-left: $calendarPadding;
177
+ padding-top: 0;
178
+ padding-bottom: 0;
179
+
180
+ &:first-child {
181
+ padding-left: 0;
182
+ border-left: 0 none;
183
+ }
184
+
185
+ &:last-child {
186
+ padding-right: 0;
187
+ }
188
+ }
189
+ }
190
+
191
+ &:not(.p-disabled) {
192
+ table {
193
+ td {
194
+ span:not(.p-highlight):not(.p-disabled) {
195
+ &:hover {
196
+ background: $calendarCellDateHoverBg;
197
+ }
198
+
199
+ &:focus {
200
+ @include focused();
201
+ }
202
+ }
203
+ }
204
+ }
205
+
206
+ .p-monthpicker {
207
+ .p-monthpicker-month {
208
+ &:not(.p-disabled) {
209
+ &:not(.p-highlight):hover {
210
+ background: $calendarCellDateHoverBg;
211
+ }
212
+
213
+ &:focus {
214
+ @include focused();
215
+ }
216
+ }
217
+ }
218
+ }
219
+
220
+ .p-yearpicker {
221
+ .p-yearpicker-year {
222
+ &:not(.p-disabled) {
223
+ &:not(.p-highlight):hover {
224
+ background: $calendarCellDateHoverBg;
225
+ }
226
+
227
+ &:focus {
228
+ @include focused();
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
234
+
235
+ }
236
+
237
+ p-calendar.p-calendar-clearable {
238
+ .p-inputtext {
239
+ padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
240
+ }
241
+
242
+ .p-calendar-clear-icon {
243
+ color: $inputIconColor;
244
+ right: nth($inputPadding, 2);
245
+ }
246
+ }
247
+
248
+ p-calendar.p-calendar-clearable.p-calendar-w-btn {
249
+ .p-calendar-clear-icon {
250
+ color: $inputIconColor;
251
+ right: $buttonIconOnlyWidth + nth($inputPadding, 2);
252
+ }
253
+ }
254
+
255
+ @media screen and (max-width: $calendarBreakpoint) {
256
+ .p-datepicker {
257
+ table {
258
+ th, td {
259
+ padding: $calendarCellDatePaddingSM;
260
+ }
261
+ }
262
+ }
263
+ }
@@ -0,0 +1,130 @@
1
+ @use 'sass:math';
2
+
3
+ .p-cascadeselect {
4
+ background: $inputBg;
5
+ border: $inputBorder;
6
+ transition: $formElementTransition;
7
+ border-radius: $borderRadius;
8
+
9
+ &:not(.p-disabled):hover {
10
+ border-color: $inputHoverBorderColor;
11
+ }
12
+
13
+ &:not(.p-disabled).p-focus {
14
+ @include focused-input();
15
+ }
16
+
17
+ .p-cascadeselect-label {
18
+ background: transparent;
19
+ border: 0 none;
20
+ padding: $inputPadding;
21
+
22
+ &.p-placeholder {
23
+ color: $inputPlaceholderTextColor;
24
+ }
25
+
26
+ &:enabled:focus {
27
+ outline: 0 none;
28
+ box-shadow: none;
29
+ }
30
+ }
31
+
32
+ .p-cascadeselect-trigger {
33
+ background: transparent;
34
+ color: $inputIconColor;
35
+ width: $inputGroupAddOnMinWidth;
36
+ border-top-right-radius: $borderRadius;
37
+ border-bottom-right-radius: $borderRadius;
38
+ }
39
+ }
40
+
41
+ .p-cascadeselect-panel {
42
+ background: $inputOverlayBg;
43
+ color: $inputListTextColor;
44
+ border: $inputOverlayBorder;
45
+ border-radius: $borderRadius;
46
+ box-shadow: $inputOverlayShadow;
47
+
48
+ .p-cascadeselect-items {
49
+ padding: $inputListPadding;
50
+
51
+ .p-cascadeselect-item {
52
+ margin: $inputListItemMargin;
53
+ border: $inputListItemBorder;
54
+ color: $inputListItemTextColor;
55
+ background: $inputListItemBg;
56
+ transition: $listItemTransition;
57
+ border-radius: $inputListItemBorderRadius;
58
+
59
+ .p-cascadeselect-item-content {
60
+ padding: $inputListItemPadding;
61
+
62
+ &:focus {
63
+ @include focused-listitem();
64
+ }
65
+ }
66
+
67
+ &.p-highlight {
68
+ color: $highlightTextColor;
69
+ background: $highlightBg;
70
+ }
71
+
72
+ &:not(.p-highlight):not(.p-disabled):hover {
73
+ color: $inputListItemTextHoverColor;
74
+ background: $inputListItemHoverBg;
75
+ }
76
+
77
+ .p-cascadeselect-group-icon {
78
+ font-size: $menuitemSubmenuIconFontSize;
79
+ }
80
+
81
+ .p-icon {
82
+ width: $menuitemSubmenuIconFontSize;
83
+ height: $menuitemSubmenuIconFontSize;
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
90
+ @include invalid-input();
91
+ }
92
+
93
+ .p-input-filled {
94
+ .p-cascadeselect {
95
+ background: $inputFilledBg;
96
+
97
+ &:not(.p-disabled):hover {
98
+ background-color: $inputFilledHoverBg;
99
+ }
100
+
101
+ &:not(.p-disabled).p-focus {
102
+ background-color: $inputFilledFocusBg;
103
+ }
104
+ }
105
+ }
106
+
107
+ p-cascadeselect.p-cascadeselect-clearable {
108
+ .p-cascadeselect-label {
109
+ padding-right: nth($inputPadding, 2);
110
+ }
111
+
112
+ .p-cascadeselect-clear-icon {
113
+ color: $inputIconColor;
114
+ right: $inputGroupAddOnMinWidth;
115
+ }
116
+ }
117
+
118
+ .p-overlay-modal {
119
+ .p-cascadeselect-sublist {
120
+ .p-cascadeselect-panel {
121
+ box-shadow: none;
122
+ border-radius: 0;
123
+ padding: math.div($inlineSpacing, 2) 0 math.div($inlineSpacing, 2) $inlineSpacing;
124
+ }
125
+ }
126
+
127
+ .p-cascadeselect-item-active > .p-cascadeselect-item-content .p-cascadeselect-group-icon {
128
+ transform: rotate(90deg);
129
+ }
130
+ }
@@ -0,0 +1,90 @@
1
+ .p-checkbox {
2
+ width: $checkboxWidth;
3
+ height: $checkboxHeight;
4
+
5
+ .p-checkbox-box {
6
+ border: $checkboxBorder;
7
+ background: $inputBg;
8
+ width: $checkboxWidth;
9
+ height: $checkboxHeight;
10
+ color: $textColor;
11
+ border-radius: $borderRadius;
12
+ transition: $formElementTransition;
13
+
14
+ .p-checkbox-icon {
15
+ transition-duration: $transitionDuration;
16
+ color: $checkboxIconActiveColor;
17
+ font-size: $checkboxIconFontSize;
18
+ }
19
+
20
+ .p-icon {
21
+ width: $checkboxIconFontSize;
22
+ height: $checkboxIconFontSize;
23
+ }
24
+
25
+ &.p-highlight {
26
+ border-color: $checkboxActiveBorderColor;
27
+ background: $checkboxActiveBg;
28
+ }
29
+ }
30
+
31
+ &:not(.p-checkbox-disabled) {
32
+ .p-checkbox-box {
33
+ &:hover {
34
+ border-color: $inputHoverBorderColor;
35
+ }
36
+
37
+ &.p-focus {
38
+ @include focused-input();
39
+ }
40
+
41
+ &.p-highlight:hover {
42
+ border-color: $checkboxActiveHoverBorderColor;
43
+ background: $checkboxActiveHoverBg;
44
+ color: $checkboxIconActiveHoverColor;
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ p-checkbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
51
+ @include invalid-input();
52
+ }
53
+
54
+ .p-input-filled {
55
+ .p-checkbox {
56
+ .p-checkbox-box {
57
+ background-color: $inputFilledBg;
58
+
59
+ &.p-highlight {
60
+ background: $checkboxActiveBg;
61
+ }
62
+ }
63
+
64
+ &:not(.p-checkbox-disabled) {
65
+ .p-checkbox-box {
66
+ &:hover {
67
+ background-color: $inputFilledHoverBg;
68
+ }
69
+
70
+ &.p-highlight:hover {
71
+ background: $checkboxActiveHoverBg;
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ .p-checkbox-label {
79
+ margin-left: $inlineSpacing;
80
+ }
81
+
82
+ @if ($highlightBg == $checkboxActiveBg) {
83
+ .p-highlight {
84
+ .p-checkbox {
85
+ .p-checkbox-box {
86
+ border-color: $checkboxIconActiveColor;
87
+ }
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,54 @@
1
+ @use 'sass:math';
2
+
3
+ .p-chips {
4
+ .p-chips-multiple-container {
5
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
6
+ gap: $inlineSpacing;
7
+
8
+ &:not(.p-disabled):hover {
9
+ border-color: $inputHoverBorderColor;
10
+ }
11
+
12
+ &:not(.p-disabled).p-focus {
13
+ @include focused-input();
14
+ }
15
+
16
+ .p-chips-token {
17
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
18
+ background: $highlightBg;
19
+ color: $highlightTextColor;
20
+ border-radius: $borderRadius;
21
+
22
+ .p-chips-token-icon {
23
+ margin-left: $inlineSpacing;
24
+ }
25
+ }
26
+
27
+ .p-chips-input-token {
28
+ padding: math.div(nth($inputPadding, 1), 2) 0;
29
+
30
+ input {
31
+ font-family: $fontFamily;
32
+ font-size: $fontSize;
33
+ color: $textColor;
34
+ padding: 0;
35
+ margin: 0;
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ p-chips.ng-dirty.ng-invalid > .p-chips > .p-inputtext {
42
+ @include invalid-input();
43
+ }
44
+
45
+ p-chips.p-chips-clearable {
46
+ .p-inputtext {
47
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
48
+ }
49
+
50
+ .p-chips-clear-icon {
51
+ color: $inputIconColor;
52
+ right: nth($inputPadding, 2);
53
+ }
54
+ }
@@ -0,0 +1,19 @@
1
+ .p-colorpicker-preview,
2
+ .p-fluid .p-colorpicker-preview.p-inputtext {
3
+ width: $colorPickerPreviewWidth;
4
+ height: $colorPickerPreviewHeight;
5
+ }
6
+
7
+ .p-colorpicker-panel {
8
+ background: $colorPickerBg;
9
+ border: $colorPickerBorder;
10
+
11
+ .p-colorpicker-color-handle,
12
+ .p-colorpicker-hue-handle {
13
+ border-color: $colorPickerHandleColor;
14
+ }
15
+ }
16
+
17
+ .p-colorpicker-overlay-panel {
18
+ box-shadow: $inputOverlayShadow;
19
+ }
@@ -0,0 +1,135 @@
1
+ .p-dropdown {
2
+ background: $inputBg;
3
+ border: $inputBorder;
4
+ transition: $formElementTransition;
5
+ border-radius: $borderRadius;
6
+
7
+ &:not(.p-disabled):hover {
8
+ border-color: $inputHoverBorderColor;
9
+ }
10
+
11
+ &:not(.p-disabled).p-focus {
12
+ @include focused-input();
13
+ }
14
+
15
+ &.p-dropdown-clearable {
16
+ .p-dropdown-label {
17
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
18
+ }
19
+ }
20
+
21
+ .p-dropdown-label {
22
+ background: transparent;
23
+ border: 0 none;
24
+
25
+ &.p-placeholder {
26
+ color: $inputPlaceholderTextColor;
27
+ }
28
+
29
+ &:enabled:focus {
30
+ outline: 0 none;
31
+ box-shadow: none;
32
+ }
33
+ }
34
+
35
+ .p-dropdown-trigger {
36
+ background: transparent;
37
+ color: $inputIconColor;
38
+ width: $inputGroupAddOnMinWidth;
39
+ border-top-right-radius: $borderRadius;
40
+ border-bottom-right-radius: $borderRadius;
41
+ }
42
+
43
+ .p-dropdown-clear-icon {
44
+ color: $inputIconColor;
45
+ right: $inputGroupAddOnMinWidth;
46
+ }
47
+ }
48
+
49
+ .p-dropdown-panel {
50
+ background: $inputOverlayBg;
51
+ color: $inputListTextColor;
52
+ border: $inputOverlayBorder;
53
+ border-radius: $borderRadius;
54
+ box-shadow: $inputOverlayShadow;
55
+
56
+ .p-dropdown-header {
57
+ padding: $inputListHeaderPadding;
58
+ border-bottom: $inputListHeaderBorder;
59
+ color: $inputListHeaderTextColor;
60
+ background: $inputOverlayHeaderBg;
61
+ margin: $inputListHeaderMargin;
62
+ border-top-right-radius: $borderRadius;
63
+ border-top-left-radius: $borderRadius;
64
+
65
+ .p-dropdown-filter {
66
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
67
+ margin-right: -1 * (nth($inputPadding, 2) + $primeIconFontSize);
68
+ }
69
+
70
+ .p-dropdown-filter-icon {
71
+ right: nth($inputPadding, 2);
72
+ color: $inputIconColor;
73
+ }
74
+ }
75
+
76
+ .p-dropdown-items {
77
+ padding: $inputListPadding;
78
+
79
+ .p-dropdown-item {
80
+ margin: $inputListItemMargin;
81
+ padding: $inputListItemPadding;
82
+ border: $inputListItemBorder;
83
+ color: $inputListItemTextColor;
84
+ background: $inputListItemBg;
85
+ transition: $listItemTransition;
86
+ border-radius: $inputListItemBorderRadius;
87
+
88
+ &.p-highlight {
89
+ color: $highlightTextColor;
90
+ background: $highlightBg;
91
+ }
92
+
93
+ &:not(.p-highlight):not(.p-disabled):hover {
94
+ color: $inputListItemTextHoverColor;
95
+ background: $inputListItemHoverBg;
96
+ }
97
+ }
98
+
99
+ .p-dropdown-empty-message {
100
+ padding: $inputListItemPadding;
101
+ color: $inputListItemTextColor;
102
+ background: $inputListItemBg;
103
+ }
104
+
105
+ .p-dropdown-item-group {
106
+ margin: $submenuHeaderMargin;
107
+ padding: $submenuHeaderPadding;
108
+ color: $submenuHeaderTextColor;
109
+ background: $submenuHeaderBg;
110
+ font-weight: $submenuHeaderFontWeight;
111
+ }
112
+ }
113
+ }
114
+
115
+ p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
116
+ @include invalid-input();
117
+ }
118
+
119
+ .p-input-filled {
120
+ .p-dropdown {
121
+ background: $inputFilledBg;
122
+
123
+ &:not(.p-disabled):hover {
124
+ background-color: $inputFilledHoverBg;
125
+ }
126
+
127
+ &:not(.p-disabled).p-focus {
128
+ background-color: $inputFilledFocusBg;
129
+
130
+ .p-inputtext {
131
+ background-color: transparent;
132
+ }
133
+ }
134
+ }
135
+ }