@mediusinc/mng-commons 3.6.0-rc.3 → 3.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/README.md +6 -5
  2. package/esm2022/index.mjs +6 -3
  3. package/esm2022/lib/api/models/filter-param.model.mjs +1 -1
  4. package/esm2022/lib/api/models/index.mjs +1 -3
  5. package/esm2022/lib/api/models/query-param.model.mjs +1 -1
  6. package/esm2022/lib/api/models/query-result.model.mjs +12 -1
  7. package/esm2022/lib/api/services/api.abstract.service.mjs +2 -2
  8. package/esm2022/lib/api/services/get-all-api.abstract.service.mjs +1 -1
  9. package/esm2022/lib/api/utils/index.mjs +2 -2
  10. package/esm2022/lib/api/utils/object-serializer.util.mjs +53 -137
  11. package/esm2022/lib/components/action/action.component.mjs +17 -16
  12. package/esm2022/lib/components/action/editor/action-editor.component.mjs +12 -12
  13. package/esm2022/lib/components/action/localization/data-language-dropdown.component.mjs +7 -7
  14. package/esm2022/lib/components/action/models/action-component.model.mjs +1 -1
  15. package/esm2022/lib/components/action/models/action-confirmation-service.model.mjs +1 -1
  16. package/esm2022/lib/components/action/models/action-execution.model.mjs +5 -5
  17. package/esm2022/lib/components/action/route/action-route.component.mjs +6 -6
  18. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +74 -65
  19. package/esm2022/lib/components/form/date-range/date-range.component.mjs +6 -7
  20. package/esm2022/lib/components/form/dropdown/dropdown.component.mjs +39 -39
  21. package/esm2022/lib/components/form/editor/form-editor.component.mjs +14 -16
  22. package/esm2022/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.mjs +6 -6
  23. package/esm2022/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +5 -5
  24. package/esm2022/lib/components/form/formly/fields/formly-field-custom/formly-custom-field-base.model.mjs +3 -3
  25. package/esm2022/lib/components/form/formly/fields/formly-field-custom/formly-field-custom.component.mjs +3 -3
  26. package/esm2022/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +5 -5
  27. package/esm2022/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +5 -6
  28. package/esm2022/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +10 -13
  29. package/esm2022/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.mjs +3 -3
  30. package/esm2022/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +13 -13
  31. package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +26 -15
  32. package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +14 -14
  33. package/esm2022/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +5 -6
  34. package/esm2022/lib/components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.mjs +5 -6
  35. package/esm2022/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +39 -18
  36. package/esm2022/lib/components/layout/breadcrumb.component.mjs +4 -4
  37. package/esm2022/lib/components/layout/footer.component.mjs +4 -4
  38. package/esm2022/lib/components/layout/main-layout.component.mjs +8 -8
  39. package/esm2022/lib/components/layout/menu-item.component.mjs +8 -8
  40. package/esm2022/lib/components/layout/menu.component.mjs +7 -7
  41. package/esm2022/lib/components/layout/services/main-layout.component.service.mjs +4 -4
  42. package/esm2022/lib/components/layout/topbar-user.component.mjs +9 -9
  43. package/esm2022/lib/components/layout/topbar.component.mjs +8 -8
  44. package/esm2022/lib/components/layout/version.component.mjs +11 -11
  45. package/esm2022/lib/components/layoutV2/breadcrumb.component.mjs +6 -6
  46. package/esm2022/lib/components/layoutV2/footer.component.mjs +3 -3
  47. package/esm2022/lib/components/layoutV2/main-layout.component.mjs +14 -11
  48. package/esm2022/lib/components/layoutV2/menu-item.component.mjs +12 -9
  49. package/esm2022/lib/components/layoutV2/menu.component.mjs +5 -6
  50. package/esm2022/lib/components/layoutV2/model/layout-state.model.mjs +1 -1
  51. package/esm2022/lib/components/layoutV2/services/main-layout.component.service.mjs +30 -21
  52. package/esm2022/lib/components/layoutV2/services/menu.service.mjs +3 -3
  53. package/esm2022/lib/components/layoutV2/sidebar.component.mjs +18 -9
  54. package/esm2022/lib/components/layoutV2/topbar-user.component.mjs +6 -6
  55. package/esm2022/lib/components/layoutV2/topbar.component.mjs +6 -7
  56. package/esm2022/lib/components/layoutV2/version.component.mjs +11 -11
  57. package/esm2022/lib/components/pages/error/error.page.component.mjs +4 -4
  58. package/esm2022/lib/components/pages/not-found/not-found.page.component.mjs +4 -4
  59. package/esm2022/lib/components/tableview/index.mjs +1 -2
  60. package/esm2022/lib/components/tableview/models/table.event.mjs +1 -1
  61. package/esm2022/lib/components/tableview/route/tableview-route.abstract.component.mjs +18 -18
  62. package/esm2022/lib/components/tableview/route/tableview-route.component.mjs +5 -5
  63. package/esm2022/lib/components/tableview/table/column-filter-full/column-filter-full.component.mjs +8 -12
  64. package/esm2022/lib/components/tableview/table/column-value/column-value.component.mjs +9 -32
  65. package/esm2022/lib/components/tableview/table/table.component.mjs +20 -25
  66. package/esm2022/lib/components/tableview/tableview.component.mjs +8 -10
  67. package/esm2022/lib/data-providers/base.data-provider.mjs +43 -12
  68. package/esm2022/lib/data-providers/editor.data-provider.mjs +82 -14
  69. package/esm2022/lib/data-providers/lookup.data-provider.mjs +38 -9
  70. package/esm2022/lib/data-providers/table.data-provider.mjs +41 -14
  71. package/esm2022/lib/data-providers/tableview-crud.data-provider.mjs +14 -6
  72. package/esm2022/lib/data-providers/tableview.data-provider.mjs +89 -29
  73. package/esm2022/lib/descriptors/action/action-confirmation.descriptor.mjs +2 -2
  74. package/esm2022/lib/descriptors/action/action-editor.descriptor.mjs +262 -0
  75. package/esm2022/lib/descriptors/action/action-link.descriptor.mjs +90 -0
  76. package/esm2022/lib/descriptors/action/action.descriptor.mjs +91 -352
  77. package/esm2022/lib/descriptors/action/index.mjs +3 -1
  78. package/esm2022/lib/descriptors/editor/editor.descriptor.mjs +215 -102
  79. package/esm2022/lib/descriptors/editor/field-action.descriptor.mjs +50 -0
  80. package/esm2022/lib/descriptors/editor/field-base.descriptor.mjs +293 -0
  81. package/esm2022/lib/descriptors/editor/field-group.descriptor.mjs +97 -0
  82. package/esm2022/lib/descriptors/editor/field-lookup.descriptor.mjs +211 -0
  83. package/esm2022/lib/descriptors/editor/field-many.descriptor.mjs +153 -0
  84. package/esm2022/lib/descriptors/editor/field.descriptor.mjs +81 -852
  85. package/esm2022/lib/descriptors/editor/index.mjs +6 -1
  86. package/esm2022/lib/descriptors/editor/internal/editor-fields.model.mjs +2 -0
  87. package/esm2022/lib/descriptors/editor/internal/editor.model.mjs +2 -0
  88. package/esm2022/lib/descriptors/filter/filter-lookup.descriptor.mjs +210 -0
  89. package/esm2022/lib/descriptors/filter/filter.descriptor.mjs +2 -208
  90. package/esm2022/lib/descriptors/filter/index.mjs +2 -1
  91. package/esm2022/lib/descriptors/interfaces/lookup-descriptor.interface.mjs +1 -1
  92. package/esm2022/lib/descriptors/model/index.mjs +2 -0
  93. package/esm2022/lib/descriptors/model/model.descriptor.mjs +70 -0
  94. package/esm2022/lib/descriptors/table/column.descriptor.mjs +38 -49
  95. package/esm2022/lib/descriptors/table/internal/table-columns.model.mjs +2 -0
  96. package/esm2022/lib/descriptors/table/internal/table.model.mjs +2 -0
  97. package/esm2022/lib/descriptors/table/table.descriptor.mjs +143 -124
  98. package/esm2022/lib/descriptors/tableview/internal/tableview.model.mjs +2 -0
  99. package/esm2022/lib/descriptors/tableview/tableview.descriptor.mjs +240 -131
  100. package/esm2022/lib/directives/component.directive.mjs +11 -11
  101. package/esm2022/lib/directives/dialog-keydown-handler.directive.mjs +3 -3
  102. package/esm2022/lib/directives/template.directive.mjs +9 -9
  103. package/esm2022/lib/helpers/coercion.mjs +45 -0
  104. package/esm2022/lib/models/class.model.mjs +2 -0
  105. package/esm2022/lib/models/enum.model.mjs +1 -1
  106. package/esm2022/lib/models/index.mjs +4 -1
  107. package/esm2022/lib/models/radio.model.mjs +2 -0
  108. package/esm2022/lib/models/tableview-attr.model.mjs +1 -1
  109. package/esm2022/lib/models/type-registry.model.mjs +2 -0
  110. package/esm2022/lib/models/view-container.model.mjs +1 -1
  111. package/esm2022/lib/pipes/boolean.pipe.mjs +3 -3
  112. package/esm2022/lib/pipes/class-map.pipe.mjs +3 -3
  113. package/esm2022/lib/pipes/enum.pipe.mjs +6 -6
  114. package/esm2022/lib/pipes/enumerate-async.pipe.mjs +5 -5
  115. package/esm2022/lib/pipes/enumerate.pipe.mjs +5 -5
  116. package/esm2022/lib/pipes/getter.pipe.mjs +5 -5
  117. package/esm2022/lib/pipes/i18n-property.pipe.mjs +4 -4
  118. package/esm2022/lib/pipes/json-path.pipe.mjs +3 -3
  119. package/esm2022/lib/pipes/locale-default-row-class.pipe.mjs +5 -5
  120. package/esm2022/lib/pipes/parametrize.pipe.mjs +3 -3
  121. package/esm2022/lib/pipes/template.pipe.mjs +4 -4
  122. package/esm2022/lib/provide-commons.mjs +4 -4
  123. package/esm2022/lib/registry/type.registry.mjs +114 -0
  124. package/esm2022/lib/router/models/router.model.mjs +1 -1
  125. package/esm2022/lib/router/tableview-route-builder.mjs +5 -5
  126. package/esm2022/lib/security/authorization.service.mjs +9 -11
  127. package/esm2022/lib/services/action-executor.service.mjs +14 -12
  128. package/esm2022/lib/services/commons-init.service.mjs +3 -3
  129. package/esm2022/lib/services/commons.service.mjs +6 -5
  130. package/esm2022/lib/services/mng-localstorage-config.service.mjs +4 -4
  131. package/esm2022/lib/services/navigation.service.mjs +5 -5
  132. package/esm2022/lib/services/router.service.mjs +4 -4
  133. package/esm2022/lib/services/version.service.mjs +5 -5
  134. package/esm2022/lib/services/view-container.component.service.mjs +5 -5
  135. package/esm2022/lib/styles/styles.util.mjs +1 -1
  136. package/esm2022/lib/types/action-descriptor.types.mjs +2 -0
  137. package/esm2022/lib/types/data-provider.types.mjs +2 -0
  138. package/esm2022/lib/types/getter.type.mjs +2 -0
  139. package/esm2022/lib/types/index.mjs +5 -2
  140. package/esm2022/lib/types/localstorage-config-value.type.mjs +2 -0
  141. package/esm2022/lib/types/type.decorator.mjs +4 -14
  142. package/esm2022/lib/types/type.model.mjs +1 -1
  143. package/esm2022/lib/utils/action-data-provider.util.mjs +14 -8
  144. package/esm2022/lib/utils/decorator-metadata.util.mjs +61 -0
  145. package/esm2022/lib/utils/editor-formly.util.mjs +6 -5
  146. package/esm2022/lib/utils/enum.util.mjs +1 -1
  147. package/esm2022/lib/utils/export.util.mjs +5 -4
  148. package/esm2022/lib/utils/i18n.util.mjs +22 -22
  149. package/esm2022/lib/utils/index.mjs +2 -3
  150. package/esm2022/lib/utils/model.util.mjs +40 -36
  151. package/esm2022/lib/utils/notification.util.mjs +1 -1
  152. package/esm2022/lib/utils/tableview.util.mjs +17 -17
  153. package/fesm2022/mediusinc-mng-commons.mjs +11491 -11384
  154. package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
  155. package/index.d.ts +3 -2
  156. package/lib/api/models/filter-param.model.d.ts +3 -3
  157. package/lib/api/models/index.d.ts +0 -2
  158. package/lib/api/models/query-param.model.d.ts +3 -3
  159. package/lib/api/models/query-result.model.d.ts +3 -3
  160. package/lib/api/services/api.abstract.service.d.ts +1 -1
  161. package/lib/api/utils/index.d.ts +1 -1
  162. package/lib/api/utils/object-serializer.util.d.ts +3 -19
  163. package/lib/components/action/action.component.d.ts +5 -5
  164. package/lib/components/action/editor/action-editor.component.d.ts +7 -7
  165. package/lib/components/action/localization/data-language-dropdown.component.d.ts +6 -6
  166. package/lib/components/action/models/action-component.model.d.ts +4 -4
  167. package/lib/components/action/models/action-confirmation-service.model.d.ts +2 -2
  168. package/lib/components/action/models/action-execution.model.d.ts +14 -14
  169. package/lib/components/action/route/action-route.component.d.ts +2 -2
  170. package/lib/components/form/autocomplete/autocomplete.component.d.ts +15 -18
  171. package/lib/components/form/dropdown/dropdown.component.d.ts +9 -9
  172. package/lib/components/form/editor/form-editor.component.d.ts +8 -11
  173. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +4 -0
  174. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +4 -4
  175. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +3 -2
  176. package/lib/components/layout/topbar-user.component.d.ts +2 -2
  177. package/lib/components/layout/version.component.d.ts +2 -2
  178. package/lib/components/layoutV2/model/layout-state.model.d.ts +8 -9
  179. package/lib/components/layoutV2/services/main-layout.component.service.d.ts +1 -1
  180. package/lib/components/layoutV2/version.component.d.ts +2 -2
  181. package/lib/components/tableview/index.d.ts +0 -1
  182. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +20 -20
  183. package/lib/components/tableview/route/tableview-route.component.d.ts +7 -7
  184. package/lib/components/tableview/table/table.component.d.ts +9 -9
  185. package/lib/components/tableview/tableview.component.d.ts +8 -8
  186. package/lib/data-providers/base.data-provider.d.ts +30 -12
  187. package/lib/data-providers/editor.data-provider.d.ts +86 -23
  188. package/lib/data-providers/lookup.data-provider.d.ts +24 -11
  189. package/lib/data-providers/table.data-provider.d.ts +30 -17
  190. package/lib/data-providers/tableview-crud.data-provider.d.ts +8 -4
  191. package/lib/data-providers/tableview.data-provider.d.ts +41 -29
  192. package/lib/descriptors/action/action-confirmation.descriptor.d.ts +3 -3
  193. package/lib/descriptors/action/action-editor.descriptor.d.ts +115 -0
  194. package/lib/descriptors/action/action-link.descriptor.d.ts +34 -0
  195. package/lib/descriptors/action/action.descriptor.d.ts +74 -160
  196. package/lib/descriptors/action/index.d.ts +2 -0
  197. package/lib/descriptors/editor/editor.descriptor.d.ts +131 -79
  198. package/lib/descriptors/editor/field-action.descriptor.d.ts +23 -0
  199. package/lib/descriptors/editor/field-base.descriptor.d.ts +126 -0
  200. package/lib/descriptors/editor/field-group.descriptor.d.ts +42 -0
  201. package/lib/descriptors/editor/field-lookup.descriptor.d.ts +80 -0
  202. package/lib/descriptors/editor/field-many.descriptor.d.ts +63 -0
  203. package/lib/descriptors/editor/field.descriptor.d.ts +100 -326
  204. package/lib/descriptors/editor/index.d.ts +5 -0
  205. package/lib/descriptors/editor/internal/editor-fields.model.d.ts +32 -0
  206. package/lib/descriptors/editor/internal/editor.model.d.ts +15 -0
  207. package/lib/descriptors/filter/filter-lookup.descriptor.d.ts +69 -0
  208. package/lib/descriptors/filter/filter.descriptor.d.ts +9 -67
  209. package/lib/descriptors/filter/index.d.ts +1 -0
  210. package/lib/descriptors/interfaces/lookup-descriptor.interface.d.ts +11 -16
  211. package/lib/descriptors/model/model.descriptor.d.ts +22 -0
  212. package/lib/descriptors/table/column.descriptor.d.ts +45 -33
  213. package/lib/descriptors/table/internal/table-columns.model.d.ts +11 -0
  214. package/lib/descriptors/table/internal/table.model.d.ts +9 -0
  215. package/lib/descriptors/table/table.descriptor.d.ts +82 -71
  216. package/lib/descriptors/tableview/internal/tableview.model.d.ts +11 -0
  217. package/lib/descriptors/tableview/tableview.descriptor.d.ts +106 -74
  218. package/lib/directives/component.directive.d.ts +5 -6
  219. package/lib/directives/template.directive.d.ts +2 -3
  220. package/lib/helpers/coercion.d.ts +9 -0
  221. package/lib/models/class.model.d.ts +6 -0
  222. package/lib/models/enum.model.d.ts +3 -2
  223. package/lib/models/index.d.ts +3 -0
  224. package/lib/models/radio.model.d.ts +6 -0
  225. package/lib/models/tableview-attr.model.d.ts +2 -2
  226. package/lib/models/type-registry.model.d.ts +7 -0
  227. package/lib/models/view-container.model.d.ts +6 -6
  228. package/lib/pipes/getter.pipe.d.ts +2 -1
  229. package/lib/pipes/i18n-property.pipe.d.ts +1 -1
  230. package/lib/pipes/locale-default-row-class.pipe.d.ts +2 -2
  231. package/lib/registry/type.registry.d.ts +25 -0
  232. package/lib/router/models/router.model.d.ts +5 -5
  233. package/lib/router/tableview-route-builder.d.ts +6 -6
  234. package/lib/security/authorization.service.d.ts +4 -7
  235. package/lib/services/action-executor.service.d.ts +7 -7
  236. package/lib/services/mng-localstorage-config.service.d.ts +3 -3
  237. package/lib/services/view-container.component.service.d.ts +3 -3
  238. package/lib/styles/styles.util.d.ts +5 -5
  239. package/lib/types/action-descriptor.types.d.ts +4 -0
  240. package/lib/types/data-provider.types.d.ts +3 -0
  241. package/lib/types/getter.type.d.ts +2 -0
  242. package/lib/types/index.d.ts +4 -1
  243. package/lib/types/localstorage-config-value.type.d.ts +1 -0
  244. package/lib/types/type.decorator.d.ts +0 -2
  245. package/lib/types/type.model.d.ts +12 -2
  246. package/lib/utils/action-data-provider.util.d.ts +6 -5
  247. package/lib/utils/{type.util.d.ts → decorator-metadata.util.d.ts} +2 -26
  248. package/lib/utils/editor-formly.util.d.ts +2 -2
  249. package/lib/utils/enum.util.d.ts +2 -2
  250. package/lib/utils/export.util.d.ts +2 -2
  251. package/lib/utils/i18n.util.d.ts +10 -11
  252. package/lib/utils/index.d.ts +1 -2
  253. package/lib/utils/model.util.d.ts +5 -3
  254. package/lib/utils/notification.util.d.ts +4 -4
  255. package/lib/utils/tableview.util.d.ts +6 -6
  256. package/openapi/templates/model.mustache +15 -2
  257. package/openapi/templates/models.mustache +0 -44
  258. package/package.json +10 -10
  259. package/scss/mng-commons-dark-v2.scss +2 -2
  260. package/scss/mng-commons-light-v2.scss +1 -1
  261. package/scss/v2/theme/{theme-base/components/data → extensions}/_fullcalendar.scss +14 -15
  262. package/scss/v2/theme/theme-base/_colors.scss +11 -12
  263. package/scss/v2/theme/theme-base/_common.scss +8 -5
  264. package/scss/v2/theme/theme-base/_components.scss +93 -89
  265. package/scss/v2/theme/theme-base/_mixins.scss +205 -71
  266. package/scss/v2/theme/theme-base/components/button/_button.scss +80 -68
  267. package/scss/v2/theme/theme-base/components/button/_speeddial.scss +11 -1
  268. package/scss/v2/theme/theme-base/components/button/_splitbutton.scss +128 -161
  269. package/scss/v2/theme/theme-base/components/data/_carousel.scss +1 -1
  270. package/scss/v2/theme/theme-base/components/data/_datatable.scss +3 -3
  271. package/scss/v2/theme/theme-base/components/data/_dataview.scss +0 -9
  272. package/scss/v2/theme/theme-base/components/data/_filter.scss +5 -6
  273. package/scss/v2/theme/theme-base/components/data/_orderlist.scss +15 -4
  274. package/scss/v2/theme/theme-base/components/data/_organizationchart.scss +1 -1
  275. package/scss/v2/theme/theme-base/components/data/_picklist.scss +14 -3
  276. package/scss/v2/theme/theme-base/components/data/_timeline.scss +3 -6
  277. package/scss/v2/theme/theme-base/components/data/_tree.scss +7 -6
  278. package/scss/v2/theme/theme-base/components/data/_treetable.scss +3 -4
  279. package/scss/v2/theme/theme-base/components/file/_fileupload.scss +6 -0
  280. package/scss/v2/theme/theme-base/components/input/_autocomplete.scss +43 -24
  281. package/scss/v2/theme/theme-base/components/input/_calendar.scss +9 -5
  282. package/scss/v2/theme/theme-base/components/input/_cascadeselect.scss +25 -20
  283. package/scss/v2/theme/theme-base/components/input/_checkbox.scss +9 -5
  284. package/scss/v2/theme/theme-base/components/input/_chips.scss +24 -13
  285. package/scss/v2/theme/theme-base/components/input/_dropdown.scss +29 -13
  286. package/scss/v2/theme/theme-base/components/input/_editor.scss +7 -7
  287. package/scss/v2/theme/theme-base/components/input/_inputgroup.scss +1 -2
  288. package/scss/v2/theme/theme-base/components/input/_inputmask.scss +2 -2
  289. package/scss/v2/theme/theme-base/components/input/_inputnumber.scss +7 -7
  290. package/scss/v2/theme/theme-base/components/input/_inputswitch.scss +3 -3
  291. package/scss/v2/theme/theme-base/components/input/_inputtext.scss +4 -3
  292. package/scss/v2/theme/theme-base/components/input/_listbox.scss +23 -8
  293. package/scss/v2/theme/theme-base/components/input/_multiselect.scss +31 -27
  294. package/scss/v2/theme/theme-base/components/input/_radiobutton.scss +2 -2
  295. package/scss/v2/theme/theme-base/components/input/_rating.scss +33 -28
  296. package/scss/v2/theme/theme-base/components/input/_treeselect.scss +6 -6
  297. package/scss/v2/theme/theme-base/components/menu/_breadcrumb.scss +3 -3
  298. package/scss/v2/theme/theme-base/components/menu/_contextmenu.scss +8 -30
  299. package/scss/v2/theme/theme-base/components/menu/_dock.scss +11 -2
  300. package/scss/v2/theme/theme-base/components/menu/_megamenu.scss +14 -65
  301. package/scss/v2/theme/theme-base/components/menu/_menu.scss +5 -13
  302. package/scss/v2/theme/theme-base/components/menu/_menubar.scss +32 -80
  303. package/scss/v2/theme/theme-base/components/menu/_panelmenu.scss +52 -39
  304. package/scss/v2/theme/theme-base/components/menu/_slidemenu.scss +15 -20
  305. package/scss/v2/theme/theme-base/components/menu/_steps.scss +2 -2
  306. package/scss/v2/theme/theme-base/components/menu/_tabmenu.scss +1 -2
  307. package/scss/v2/theme/theme-base/components/menu/_tieredmenu.scss +10 -32
  308. package/scss/v2/theme/theme-base/components/messages/_message.scss +2 -2
  309. package/scss/v2/theme/theme-base/components/messages/_toast.scss +2 -3
  310. package/scss/v2/theme/theme-base/components/misc/_chip.scss +7 -3
  311. package/scss/v2/theme/theme-base/components/misc/_inplace.scss +0 -1
  312. package/scss/v2/theme/theme-base/components/misc/_terminal.scss +9 -8
  313. package/scss/v2/theme/theme-base/components/multimedia/_galleria.scss +6 -0
  314. package/scss/v2/theme/theme-base/components/overlay/_confirmpopup.scss +3 -5
  315. package/scss/v2/theme/theme-base/components/panel/_accordion.scss +4 -4
  316. package/scss/v2/theme/theme-base/components/panel/_fieldset.scss +1 -1
  317. package/scss/v2/theme/theme-base/components/panel/_panel.scss +10 -5
  318. package/scss/v2/theme/theme-base/components/panel/_tabview.scss +6 -2
  319. package/scss/v2/theme/theme-dark/_variables.scss +756 -765
  320. package/scss/v2/theme/theme-dark/blue/theme.scss +1 -0
  321. package/scss/v2/theme/theme-light/_variables.scss +81 -94
  322. package/scss/v2/theme/theme-light/blue/theme.scss +1 -0
  323. package/esm2022/lib/api/models/mappers.mjs +0 -13
  324. package/esm2022/lib/api/models/serialization.model.mjs +0 -2
  325. package/esm2022/lib/components/tableview/table/column-filter/column-filter.component.mjs +0 -121
  326. package/esm2022/lib/descriptors/index.mjs +0 -2
  327. package/esm2022/lib/descriptors/model.descriptor.mjs +0 -45
  328. package/esm2022/lib/mng-commons.module.mjs +0 -472
  329. package/esm2022/lib/types/mng-localstorage-config-value.type.mjs +0 -2
  330. package/esm2022/lib/utils/coercion.util.mjs +0 -6
  331. package/esm2022/lib/utils/type.util.mjs +0 -94
  332. package/lib/api/models/mappers.d.ts +0 -6
  333. package/lib/api/models/serialization.model.d.ts +0 -9
  334. package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +0 -37
  335. package/lib/descriptors/model.descriptor.d.ts +0 -18
  336. package/lib/mng-commons.module.d.ts +0 -105
  337. package/lib/types/mng-localstorage-config-value.type.d.ts +0 -1
  338. package/lib/utils/coercion.util.d.ts +0 -2
  339. package/openapi/templates/serializer-registration/model.mustache +0 -97
  340. package/openapi/templates/serializer-registration/models.mustache +0 -6
  341. /package/lib/descriptors/{index.d.ts → model/index.d.ts} +0 -0
@@ -9,7 +9,7 @@
9
9
  border-radius: 0;
10
10
  }
11
11
 
12
- .p-treetable-header {
12
+ .p-treetable-header {
13
13
  background: $tableHeaderBg;
14
14
  color: $tableHeaderTextColor;
15
15
  border: $tableHeaderBorder;
@@ -109,7 +109,7 @@
109
109
 
110
110
  p-treetablecheckbox .p-checkbox {
111
111
  margin-right: $inlineSpacing;
112
-
112
+
113
113
  .p-indeterminate {
114
114
  .p-checkbox-icon {
115
115
  color: $textColor;
@@ -118,7 +118,7 @@
118
118
  }
119
119
  }
120
120
 
121
- &:focus {
121
+ &:focus-visible {
122
122
  outline: 0.15rem solid $focusOutlineColor;
123
123
  outline-offset: -0.15rem;
124
124
  }
@@ -133,7 +133,6 @@
133
133
  &:hover {
134
134
  color: $highlightTextColor;
135
135
  }
136
-
137
136
  }
138
137
  }
139
138
  }
@@ -24,6 +24,12 @@
24
24
  color: $panelContentTextColor;
25
25
  border-bottom-right-radius: $borderRadius;
26
26
  border-bottom-left-radius: $borderRadius;
27
+
28
+ &.p-fileupload-highlight {
29
+ border-color: $fileUploadContentHoverBorder;
30
+ border-style: dashed;
31
+ background-color: $highlightBg;
32
+ }
27
33
  }
28
34
 
29
35
  .p-progressbar {
@@ -11,24 +11,29 @@
11
11
  }
12
12
  }
13
13
 
14
- .p-autocomplete-multiple-container {
15
- padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
16
- gap: $inlineSpacing;
17
-
18
- &:not(.p-disabled):hover {
14
+ &:not(.p-disabled):hover {
15
+ .p-autocomplete-multiple-container {
19
16
  border-color: $inputHoverBorderColor;
20
17
  }
18
+ }
21
19
 
22
- &:not(.p-disabled).p-focus {
20
+ &:not(.p-disabled).p-focus {
21
+ .p-autocomplete-multiple-container {
23
22
  @include focused-input();
24
23
  }
24
+ }
25
+
26
+ .p-autocomplete-multiple-container {
27
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
28
+ gap: $inlineSpacing;
25
29
 
26
30
  .p-autocomplete-input-token {
27
31
  padding: math.div(nth($inputPadding, 1), 2) 0;
28
32
 
29
33
  input {
30
- font-family: $fontFamily;
31
- font-size: $fontSize;
34
+ font-family: var(--font-family);
35
+ font-feature-settings: var(--font-feature-settings, normal);
36
+ font-size: $inputTextFontSize;
32
37
  color: $textColor;
33
38
  padding: 0;
34
39
  margin: 0;
@@ -37,19 +42,24 @@
37
42
 
38
43
  .p-autocomplete-token {
39
44
  padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
40
- background: $highlightBg;
41
- color: $highlightTextColor;
42
- border-radius: $borderRadius;
45
+ background: $chipBg;
46
+ color: $chipTextColor;
47
+ border-radius: $chipBorderRadius;
43
48
 
44
49
  .p-autocomplete-token-icon {
45
50
  margin-left: $inlineSpacing;
46
51
  }
52
+
53
+ &.p-focus {
54
+ background: $chipFocusBg;
55
+ color: $chipFocusTextColor;
56
+ }
47
57
  }
48
58
  }
49
- }
50
59
 
51
- p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
52
- @include invalid-input();
60
+ &.p-invalid.p-component > .p-inputtext {
61
+ @include invalid-input();
62
+ }
53
63
  }
54
64
 
55
65
  .p-autocomplete-panel {
@@ -71,21 +81,26 @@ p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
71
81
  transition: $listItemTransition;
72
82
  border-radius: $inputListItemBorderRadius;
73
83
 
74
- &:hover {
75
- color: $inputListItemTextHoverColor;
76
- background: $inputListItemHoverBg;
77
- }
78
-
79
84
  &.p-highlight {
80
85
  color: $highlightTextColor;
81
86
  background: $highlightBg;
87
+
88
+ &.p-focus {
89
+ background: $highlightFocusBg;
90
+ }
82
91
  }
83
- }
84
92
 
85
- .p-autocomplete-empty-message {
86
- padding: $inputListItemPadding;
87
- color: $inputListItemTextColor;
88
- background: $inputListItemBg;
93
+ &:not(.p-highlight):not(.p-disabled) {
94
+ &.p-focus {
95
+ color: $inputListItemTextFocusColor;
96
+ background: $inputListItemFocusBg;
97
+ }
98
+
99
+ &:hover {
100
+ color: $inputListItemTextHoverColor;
101
+ background: $inputListItemHoverBg;
102
+ }
103
+ }
89
104
  }
90
105
 
91
106
  .p-autocomplete-item-group {
@@ -98,6 +113,10 @@ p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
98
113
  }
99
114
  }
100
115
 
116
+ p-autocomplete.ng-dirty.ng-invalid > .p-autocomplete > .p-inputtext {
117
+ @include invalid-input();
118
+ }
119
+
101
120
  p-autocomplete.p-autocomplete-clearable {
102
121
  .p-inputtext {
103
122
  padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
@@ -2,6 +2,10 @@ p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
2
2
  @include invalid-input();
3
3
  }
4
4
 
5
+ .p-calendar:not(.p-calendar-disabled).p-focus > .p-inputtext {
6
+ @include focused-input();
7
+ }
8
+
5
9
  .p-datepicker {
6
10
  padding: $calendarPadding;
7
11
  background: $calendarInlineBg;
@@ -120,7 +124,7 @@ p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
120
124
  @include action-icon();
121
125
 
122
126
  &:last-child {
123
- margin-top: .2em;
127
+ margin-top: 0.2em;
124
128
  }
125
129
  }
126
130
 
@@ -231,21 +235,20 @@ p-calendar.ng-dirty.ng-invalid > .p-calendar > .p-inputtext {
231
235
  }
232
236
  }
233
237
  }
234
-
235
238
  }
236
239
 
237
240
  p-calendar.p-calendar-clearable {
238
241
  .p-inputtext {
239
242
  padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
240
243
  }
241
-
244
+
242
245
  .p-calendar-clear-icon {
243
246
  color: $inputIconColor;
244
247
  right: nth($inputPadding, 2);
245
248
  }
246
249
  }
247
250
 
248
- p-calendar.p-calendar-clearable.p-calendar-w-btn {
251
+ p-calendar.p-calendar-clearable .p-calendar-w-btn {
249
252
  .p-calendar-clear-icon {
250
253
  color: $inputIconColor;
251
254
  right: $buttonIconOnlyWidth + nth($inputPadding, 2);
@@ -255,7 +258,8 @@ p-calendar.p-calendar-clearable.p-calendar-w-btn {
255
258
  @media screen and (max-width: $calendarBreakpoint) {
256
259
  .p-datepicker {
257
260
  table {
258
- th, td {
261
+ th,
262
+ td {
259
263
  padding: $calendarCellDatePaddingSM;
260
264
  }
261
265
  }
@@ -1,5 +1,4 @@
1
1
  @use 'sass:math';
2
-
3
2
  .p-cascadeselect {
4
3
  background: $inputBg;
5
4
  border: $inputBorder;
@@ -36,6 +35,10 @@
36
35
  border-top-right-radius: $borderRadius;
37
36
  border-bottom-right-radius: $borderRadius;
38
37
  }
38
+
39
+ &.p-invalid.p-component {
40
+ @include invalid-input();
41
+ }
39
42
  }
40
43
 
41
44
  .p-cascadeselect-panel {
@@ -56,40 +59,38 @@
56
59
  transition: $listItemTransition;
57
60
  border-radius: $inputListItemBorderRadius;
58
61
 
59
- .p-cascadeselect-item-content {
60
- padding: $inputListItemPadding;
62
+ &.p-highlight {
63
+ color: $highlightTextColor;
64
+ background: $highlightBg;
61
65
 
62
- &:focus {
63
- @include focused-listitem();
66
+ &.p-focus {
67
+ background: $highlightFocusBg;
64
68
  }
65
69
  }
66
70
 
67
- &.p-highlight {
68
- color: $highlightTextColor;
69
- background: $highlightBg;
71
+ &:not(.p-highlight):not(.p-disabled) {
72
+ &.p-focus {
73
+ color: $inputListItemTextFocusColor;
74
+ background: $inputListItemFocusBg;
75
+ }
76
+
77
+ &:hover {
78
+ color: $inputListItemTextHoverColor;
79
+ background: $inputListItemHoverBg;
80
+ }
70
81
  }
71
82
 
72
- &:not(.p-highlight):not(.p-disabled):hover {
73
- color: $inputListItemTextHoverColor;
74
- background: $inputListItemHoverBg;
83
+ .p-cascadeselect-item-content {
84
+ padding: $inputListItemPadding;
75
85
  }
76
86
 
77
87
  .p-cascadeselect-group-icon {
78
88
  font-size: $menuitemSubmenuIconFontSize;
79
89
  }
80
-
81
- .p-icon {
82
- width: $menuitemSubmenuIconFontSize;
83
- height: $menuitemSubmenuIconFontSize;
84
- }
85
90
  }
86
91
  }
87
92
  }
88
93
 
89
- p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
90
- @include invalid-input();
91
- }
92
-
93
94
  .p-input-filled {
94
95
  .p-cascadeselect {
95
96
  background: $inputFilledBg;
@@ -104,6 +105,10 @@ p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
104
105
  }
105
106
  }
106
107
 
108
+ p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
109
+ @include invalid-input();
110
+ }
111
+
107
112
  p-cascadeselect.p-cascadeselect-clearable {
108
113
  .p-cascadeselect-label {
109
114
  padding-right: nth($inputPadding, 2);
@@ -16,7 +16,7 @@
16
16
  color: $checkboxIconActiveColor;
17
17
  font-size: $checkboxIconFontSize;
18
18
  }
19
-
19
+
20
20
  .p-icon {
21
21
  width: $checkboxIconFontSize;
22
22
  height: $checkboxIconFontSize;
@@ -38,7 +38,7 @@
38
38
  @include focused-input();
39
39
  }
40
40
 
41
- &.p-highlight:hover {
41
+ &.p-highlight:hover {
42
42
  border-color: $checkboxActiveHoverBorderColor;
43
43
  background: $checkboxActiveHoverBg;
44
44
  color: $checkboxIconActiveHoverColor;
@@ -66,8 +66,8 @@ p-checkbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
66
66
  &:hover {
67
67
  background-color: $inputFilledHoverBg;
68
68
  }
69
-
70
- &.p-highlight:hover {
69
+
70
+ &.p-highlight:hover {
71
71
  background: $checkboxActiveHoverBg;
72
72
  }
73
73
  }
@@ -87,4 +87,8 @@ p-checkbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
87
87
  }
88
88
  }
89
89
  }
90
- }
90
+ }
91
+
92
+ p-tristatecheckbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
93
+ @include invalid-input();
94
+ }
@@ -1,23 +1,33 @@
1
1
  @use 'sass:math';
2
2
 
3
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 {
4
+ &:not(.p-disabled):hover {
5
+ .p-chips-multiple-container {
9
6
  border-color: $inputHoverBorderColor;
10
7
  }
8
+ }
11
9
 
12
- &:not(.p-disabled).p-focus {
10
+ &:not(.p-disabled).p-focus {
11
+ .p-chips-multiple-container {
13
12
  @include focused-input();
14
13
  }
14
+ }
15
+
16
+ .p-chips-multiple-container {
17
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
18
+ gap: $inlineSpacing;
15
19
 
16
20
  .p-chips-token {
17
21
  padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
18
- background: $highlightBg;
19
- color: $highlightTextColor;
20
- border-radius: $borderRadius;
22
+ margin-right: $inlineSpacing;
23
+ background: $chipBg;
24
+ color: $chipTextColor;
25
+ border-radius: $chipBorderRadius;
26
+
27
+ &.p-focus {
28
+ background: $chipFocusBg;
29
+ color: $chipFocusTextColor;
30
+ }
21
31
 
22
32
  .p-chips-token-icon {
23
33
  margin-left: $inlineSpacing;
@@ -26,10 +36,11 @@
26
36
 
27
37
  .p-chips-input-token {
28
38
  padding: math.div(nth($inputPadding, 1), 2) 0;
29
-
39
+
30
40
  input {
31
- font-family: $fontFamily;
32
- font-size: $fontSize;
41
+ font-family: var(--font-family);
42
+ font-feature-settings: var(--font-feature-settings, normal);
43
+ font-size: $inputTextFontSize;
33
44
  color: $textColor;
34
45
  padding: 0;
35
46
  margin: 0;
@@ -50,5 +61,5 @@ p-chips.p-chips-clearable {
50
61
  .p-chips-clear-icon {
51
62
  color: $inputIconColor;
52
63
  right: nth($inputPadding, 2);
53
- }
64
+ }
54
65
  }
@@ -26,6 +26,7 @@
26
26
  color: $inputPlaceholderTextColor;
27
27
  }
28
28
 
29
+ &:focus,
29
30
  &:enabled:focus {
30
31
  outline: 0 none;
31
32
  box-shadow: none;
@@ -44,6 +45,10 @@
44
45
  color: $inputIconColor;
45
46
  right: $inputGroupAddOnMinWidth;
46
47
  }
48
+
49
+ &.p-invalid.p-component {
50
+ @include invalid-input();
51
+ }
47
52
  }
48
53
 
49
54
  .p-dropdown-panel {
@@ -88,18 +93,23 @@
88
93
  &.p-highlight {
89
94
  color: $highlightTextColor;
90
95
  background: $highlightBg;
91
- }
92
96
 
93
- &:not(.p-highlight):not(.p-disabled):hover {
94
- color: $inputListItemTextHoverColor;
95
- background: $inputListItemHoverBg;
97
+ &.p-focus {
98
+ background: $highlightFocusBg;
99
+ }
96
100
  }
97
- }
98
101
 
99
- .p-dropdown-empty-message {
100
- padding: $inputListItemPadding;
101
- color: $inputListItemTextColor;
102
- background: $inputListItemBg;
102
+ &:not(.p-highlight):not(.p-disabled) {
103
+ &.p-focus {
104
+ color: $inputListItemTextFocusColor;
105
+ background: $inputListItemFocusBg;
106
+ }
107
+
108
+ &:hover {
109
+ color: $inputListItemTextHoverColor;
110
+ background: $inputListItemHoverBg;
111
+ }
112
+ }
103
113
  }
104
114
 
105
115
  .p-dropdown-item-group {
@@ -109,11 +119,13 @@
109
119
  background: $submenuHeaderBg;
110
120
  font-weight: $submenuHeaderFontWeight;
111
121
  }
112
- }
113
- }
114
122
 
115
- p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
116
- @include invalid-input();
123
+ .p-dropdown-empty-message {
124
+ padding: $inputListItemPadding;
125
+ color: $inputListItemTextColor;
126
+ background: $inputListItemBg;
127
+ }
128
+ }
117
129
  }
118
130
 
119
131
  .p-input-filled {
@@ -133,3 +145,7 @@ p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
133
145
  }
134
146
  }
135
147
  }
148
+
149
+ p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
150
+ @include invalid-input();
151
+ }
@@ -10,11 +10,11 @@
10
10
  .ql-stroke {
11
11
  stroke: $editorToolbarIconColor;
12
12
  }
13
-
13
+
14
14
  .ql-fill {
15
15
  fill: $editorToolbarIconColor;
16
16
  }
17
-
17
+
18
18
  .ql-picker {
19
19
  .ql-picker-label {
20
20
  border: 0 none;
@@ -26,7 +26,7 @@
26
26
  .ql-stroke {
27
27
  stroke: $editorToolbarIconHoverColor;
28
28
  }
29
-
29
+
30
30
  .ql-fill {
31
31
  fill: $editorToolbarIconHoverColor;
32
32
  }
@@ -40,7 +40,7 @@
40
40
  .ql-stroke {
41
41
  stroke: $editorToolbarIconHoverColor;
42
42
  }
43
-
43
+
44
44
  .ql-fill {
45
45
  fill: $editorToolbarIconHoverColor;
46
46
  }
@@ -48,14 +48,14 @@
48
48
 
49
49
  .ql-picker-options {
50
50
  background: $inputOverlayBg;
51
- border:$inputOverlayBorder;
52
- box-shadow:$inputOverlayShadow;
51
+ border: $inputOverlayBorder;
52
+ box-shadow: $inputOverlayShadow;
53
53
  border-radius: $borderRadius;
54
54
  padding: $inputListPadding;
55
55
 
56
56
  .ql-picker-item {
57
57
  color: $inputListItemTextColor;
58
-
58
+
59
59
  &:hover {
60
60
  color: $inputListItemTextHoverColor;
61
61
  background: $inputListItemHoverBg;
@@ -14,8 +14,7 @@
14
14
 
15
15
  .p-inputgroup {
16
16
  > .p-component,
17
- > .p-element,
18
- > .p-inputwrapper > .p-component > .p-inputtext,
17
+ > .p-inputwrapper > .p-inputtext,
19
18
  > .p-float-label > .p-component {
20
19
  border-radius: 0;
21
20
  margin: 0;
@@ -8,9 +8,9 @@ p-inputmask.p-inputmask-clearable {
8
8
  .p-inputtext {
9
9
  padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
10
10
  }
11
-
11
+
12
12
  .p-inputmask-clear-icon {
13
13
  color: $inputIconColor;
14
14
  right: nth($inputPadding, 2);
15
15
  }
16
- }
16
+ }
@@ -6,7 +6,7 @@ p-inputnumber.p-inputnumber-clearable {
6
6
  .p-inputnumber-input {
7
7
  padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
8
8
  }
9
-
9
+
10
10
  .p-inputnumber-clear-icon {
11
11
  color: $inputIconColor;
12
12
  right: nth($inputPadding, 2);
@@ -14,15 +14,15 @@ p-inputnumber.p-inputnumber-clearable {
14
14
  }
15
15
 
16
16
  p-inputnumber.p-inputnumber-clearable {
17
- .p-inputnumber-buttons-stacked{
17
+ .p-inputnumber-buttons-stacked {
18
18
  .p-inputnumber-clear-icon {
19
- right: $buttonIconOnlyWidth + nth($inputPadding, 2);
19
+ right: $buttonIconOnlyWidth + nth($inputPadding, 2);
20
20
  }
21
21
  }
22
-
23
- .p-inputnumber-buttons-horizontal{
22
+
23
+ .p-inputnumber-buttons-horizontal {
24
24
  .p-inputnumber-clear-icon {
25
- right: $buttonIconOnlyWidth + nth($inputPadding, 2);
25
+ right: $buttonIconOnlyWidth + nth($inputPadding, 2);
26
26
  }
27
27
  }
28
- }
28
+ }
@@ -44,7 +44,7 @@
44
44
 
45
45
  &:before {
46
46
  background: $inputSwitchHandleOnBg;
47
- }
47
+ }
48
48
  }
49
49
 
50
50
  &:not(.p-disabled):hover {
@@ -55,6 +55,6 @@
55
55
  }
56
56
  }
57
57
 
58
- p-inputswitch.ng-dirty.ng-invalid > .p-inputswitch {
58
+ p-inputswitch.ng-dirty.ng-invalid > .p-inputswitch > .p-inputswitch-slider {
59
59
  @include invalid-input();
60
- }
60
+ }
@@ -1,5 +1,6 @@
1
1
  .p-inputtext {
2
- font-family: $fontFamily;
2
+ font-family: var(--font-family);
3
+ font-feature-settings: var(--font-feature-settings, normal);
3
4
  font-size: $inputTextFontSize;
4
5
  color: $inputTextColor;
5
6
  background: $inputBg;
@@ -67,8 +68,8 @@
67
68
  }
68
69
 
69
70
  @include placeholder {
70
- color: $inputPlaceholderTextColor
71
- };
71
+ color: $inputPlaceholderTextColor;
72
+ }
72
73
 
73
74
  .p-input-filled {
74
75
  .p-inputtext {
@@ -3,6 +3,7 @@
3
3
  color: $inputListTextColor;
4
4
  border: $inputListBorder;
5
5
  border-radius: $borderRadius;
6
+ transition: $formElementTransition;
6
7
 
7
8
  .p-listbox-header {
8
9
  padding: $inputListHeaderPadding;
@@ -29,6 +30,7 @@
29
30
 
30
31
  .p-listbox-list {
31
32
  padding: $inputListPadding;
33
+ outline: 0 none;
32
34
 
33
35
  .p-listbox-item {
34
36
  margin: $inputListItemMargin;
@@ -43,10 +45,6 @@
43
45
  background: $highlightBg;
44
46
  }
45
47
 
46
- &:focus {
47
- @include focused-listitem();
48
- }
49
-
50
48
  .p-checkbox {
51
49
  margin-right: $inlineSpacing;
52
50
  }
@@ -69,14 +67,31 @@
69
67
 
70
68
  &:not(.p-disabled) {
71
69
  .p-listbox-item {
72
- &:not(.p-highlight):not(.p-disabled):hover {
73
- color: $inputListItemTextHoverColor;
74
- background: $inputListItemHoverBg;
70
+ &.p-highlight {
71
+ &.p-focus {
72
+ background: $highlightFocusBg;
73
+ }
74
+ }
75
+
76
+ &:not(.p-highlight):not(.p-disabled) {
77
+ &.p-focus {
78
+ color: $inputListItemTextFocusColor;
79
+ background: $inputListItemFocusBg;
80
+ }
81
+
82
+ &:hover {
83
+ color: $inputListItemTextHoverColor;
84
+ background: $inputListItemHoverBg;
85
+ }
75
86
  }
76
87
  }
77
88
  }
89
+
90
+ &.p-focus {
91
+ @include focused-input();
92
+ }
78
93
  }
79
94
 
80
95
  p-listbox.ng-dirty.ng-invalid > .p-listbox {
81
96
  @include invalid-input();
82
- }
97
+ }