@mediusinc/mng-commons 0.0.1-rc.2 → 0.2.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 (436) hide show
  1. package/README.md +97 -2
  2. package/assets/i18n/en.json +156 -0
  3. package/assets/i18n/sl.json +156 -0
  4. package/assets/images/effect-ondark.png +0 -0
  5. package/assets/images/effect-ondark.svg +38 -0
  6. package/assets/images/effect-ondark@2x.png +0 -0
  7. package/assets/images/effect-onlight.png +0 -0
  8. package/assets/images/effect-onlight.svg +38 -0
  9. package/assets/images/effect-onlight@2x.png +0 -0
  10. package/assets/images/pages/exception-ondark.png +0 -0
  11. package/assets/images/pages/exception-onlight.png +0 -0
  12. package/assets/images/pages/login-ondark.png +0 -0
  13. package/assets/images/pages/login-onlight.png +0 -0
  14. package/assets/templates/tableview-route.component.html +5 -0
  15. package/esm2020/lib/api/models/builders/query-param.builder.mjs +9 -10
  16. package/esm2020/lib/api/models/filter-match-type.model.mjs +14 -12
  17. package/esm2020/lib/api/models/filter-param.model.mjs +6 -6
  18. package/esm2020/lib/api/models/mappers.mjs +12 -12
  19. package/esm2020/lib/api/models/query-mode.model.mjs +7 -7
  20. package/esm2020/lib/api/models/query-param.model.mjs +5 -5
  21. package/esm2020/lib/api/models/query-result.model.mjs +15 -15
  22. package/esm2020/lib/api/services/{abstract-crud-api.service.mjs → crud-api.abstract.service.mjs} +2 -2
  23. package/esm2020/lib/api/services/index.mjs +2 -2
  24. package/esm2020/lib/api/utils/medius-rest.util.mjs +99 -47
  25. package/esm2020/lib/api/utils/object-serializer.util.mjs +1 -1
  26. package/esm2020/lib/components/action/action.component.mjs +10 -8
  27. package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +24 -24
  28. package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -0
  29. package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -0
  30. package/esm2020/lib/components/action/models/index.mjs +3 -0
  31. package/esm2020/lib/components/action/route/action-route.component.mjs +9 -9
  32. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -0
  33. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -0
  34. package/esm2020/lib/components/form/editor/form-editor.component.mjs +24 -23
  35. package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +9 -48
  36. package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +9 -41
  37. package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +5 -5
  38. package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +5 -5
  39. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +33 -18
  40. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +11 -13
  41. package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +5 -5
  42. package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +5 -5
  43. package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +5 -5
  44. package/esm2020/lib/components/form/index.mjs +3 -1
  45. package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -0
  46. package/esm2020/lib/components/form/models/index.mjs +2 -0
  47. package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -0
  48. package/esm2020/lib/components/layout/footer.component.mjs +17 -0
  49. package/esm2020/lib/components/layout/index.mjs +7 -7
  50. package/esm2020/lib/components/layout/main-layout.component.mjs +54 -0
  51. package/esm2020/lib/components/layout/menu-item.component.mjs +173 -0
  52. package/esm2020/lib/components/layout/menu.component.mjs +20 -0
  53. package/esm2020/lib/components/layout/services/index.mjs +2 -0
  54. package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -0
  55. package/esm2020/lib/components/layout/topbar.component.mjs +59 -0
  56. package/esm2020/lib/components/tableview/index.mjs +3 -1
  57. package/esm2020/lib/components/tableview/models/index.mjs +2 -0
  58. package/esm2020/lib/components/tableview/models/table.event.mjs +16 -0
  59. package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +2 -9
  60. package/esm2020/lib/components/tableview/services/index.mjs +2 -0
  61. package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +17 -0
  62. package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +74 -0
  63. package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -0
  64. package/esm2020/lib/components/tableview/table/table.component.mjs +180 -46
  65. package/esm2020/lib/components/tableview/tableview.component.mjs +13 -13
  66. package/esm2020/lib/config/formly.config.mjs +35 -64
  67. package/esm2020/lib/{models/config → config/models}/index.mjs +1 -1
  68. package/esm2020/lib/config/models/mng-config.model.mjs +2 -0
  69. package/esm2020/lib/data-providers/base.data-provider.mjs +24 -0
  70. package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -0
  71. package/esm2020/lib/data-providers/index.mjs +6 -0
  72. package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -0
  73. package/esm2020/lib/data-providers/table.data-provider.mjs +2 -0
  74. package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -0
  75. package/esm2020/lib/descriptors/action.descriptor.mjs +332 -0
  76. package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -0
  77. package/esm2020/lib/descriptors/field.validator.mjs +21 -0
  78. package/esm2020/lib/descriptors/index.mjs +8 -0
  79. package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -0
  80. package/esm2020/lib/descriptors/model.descriptor.mjs +34 -0
  81. package/esm2020/lib/descriptors/table.descriptor.mjs +401 -0
  82. package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -0
  83. package/esm2020/lib/directives/component.directive.mjs +23 -0
  84. package/esm2020/lib/directives/index.mjs +2 -1
  85. package/esm2020/lib/directives/template.directive.mjs +11 -7
  86. package/esm2020/lib/mng-commons.module.mjs +201 -129
  87. package/esm2020/lib/models/index.mjs +3 -0
  88. package/esm2020/lib/models/router.model.mjs +2 -0
  89. package/esm2020/lib/models/user.model.mjs +2 -0
  90. package/esm2020/lib/pipes/boolean.pipe.mjs +22 -0
  91. package/esm2020/lib/pipes/index.mjs +2 -1
  92. package/esm2020/lib/pipes/property-path.pipe.mjs +5 -5
  93. package/esm2020/lib/services/action.service.mjs +55 -25
  94. package/esm2020/lib/services/commons.service.mjs +353 -0
  95. package/esm2020/lib/services/configuration.service.mjs +8 -7
  96. package/esm2020/lib/services/index.mjs +2 -4
  97. package/esm2020/lib/services/navigation.service.mjs +5 -6
  98. package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -0
  99. package/esm2020/lib/services/providers/config-service.provider.mjs +14 -6
  100. package/esm2020/lib/services/providers/formly-config.provider.mjs +2 -2
  101. package/esm2020/lib/services/providers/index.mjs +2 -1
  102. package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -0
  103. package/esm2020/lib/services/tokens/index.mjs +3 -0
  104. package/esm2020/lib/services/tokens/module-config.token.mjs +3 -0
  105. package/esm2020/lib/types/index.mjs +3 -0
  106. package/esm2020/lib/types/type.decorator.mjs +7 -0
  107. package/esm2020/lib/types/type.model.mjs +2 -0
  108. package/esm2020/lib/utils/editor-formly.util.mjs +23 -12
  109. package/esm2020/lib/utils/i18n.util.mjs +63 -13
  110. package/esm2020/lib/utils/index.mjs +2 -1
  111. package/esm2020/lib/utils/model.util.mjs +20 -1
  112. package/esm2020/lib/utils/toast.util.mjs +39 -0
  113. package/esm2020/lib/utils/type.util.mjs +2 -6
  114. package/esm2020/public-api.mjs +12 -9
  115. package/fesm2015/mediusinc-mng-commons.mjs +4552 -3358
  116. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  117. package/fesm2020/mediusinc-mng-commons.mjs +4520 -3356
  118. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  119. package/lib/api/models/builders/query-param.builder.d.ts +9 -9
  120. package/lib/api/models/filter-match-type.model.d.ts +7 -5
  121. package/lib/api/models/filter-param.model.d.ts +3 -3
  122. package/lib/api/models/query-mode.model.d.ts +1 -1
  123. package/lib/api/models/query-param.model.d.ts +5 -5
  124. package/lib/api/models/query-result.model.d.ts +5 -5
  125. package/lib/api/services/{abstract-crud-api.service.d.ts → crud-api.abstract.service.d.ts} +4 -4
  126. package/lib/api/services/index.d.ts +1 -1
  127. package/lib/api/utils/medius-rest.util.d.ts +9 -3
  128. package/lib/api/utils/object-serializer.util.d.ts +1 -1
  129. package/lib/components/action/action.component.d.ts +10 -10
  130. package/lib/components/action/dialog/action-dialog.component.d.ts +13 -15
  131. package/lib/{models/interfaces/confirmation-service.model.d.ts → components/action/models/action-confirmation-service.model.d.ts} +2 -2
  132. package/lib/{models/action/action.model.d.ts → components/action/models/action-execution.model.d.ts} +3 -3
  133. package/lib/components/action/models/index.d.ts +2 -0
  134. package/lib/components/action/route/action-route.component.d.ts +8 -8
  135. package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -0
  136. package/lib/components/form/dropdown/dropdown.component.d.ts +34 -0
  137. package/lib/components/form/editor/form-editor.component.d.ts +9 -7
  138. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +4 -14
  139. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +4 -12
  140. package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +3 -3
  141. package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +4 -4
  142. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +4 -4
  143. package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +7 -7
  144. package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +3 -3
  145. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +3 -3
  146. package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +3 -3
  147. package/lib/components/form/index.d.ts +2 -0
  148. package/lib/components/form/models/form-editor.event.d.ts +5 -0
  149. package/lib/components/form/models/index.d.ts +1 -0
  150. package/lib/components/layout/breadcrumb.component.d.ts +8 -0
  151. package/lib/components/layout/footer.component.d.ts +9 -0
  152. package/lib/components/layout/index.d.ts +6 -6
  153. package/lib/components/layout/main-layout.component.d.ts +21 -0
  154. package/lib/components/layout/menu-item.component.d.ts +29 -0
  155. package/lib/components/layout/menu.component.d.ts +10 -0
  156. package/lib/components/layout/services/index.d.ts +1 -0
  157. package/lib/components/layout/services/main-layout.component.service.d.ts +65 -0
  158. package/lib/components/layout/topbar.component.d.ts +25 -0
  159. package/lib/components/tableview/index.d.ts +2 -0
  160. package/lib/components/tableview/models/index.d.ts +1 -0
  161. package/lib/{models/events/table-event.model.d.ts → components/tableview/models/table.event.d.ts} +5 -5
  162. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +2 -3
  163. package/lib/components/tableview/services/index.d.ts +1 -0
  164. package/lib/components/tableview/{tableview.component.service.d.ts → services/tableview.component.service.d.ts} +4 -2
  165. package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +22 -0
  166. package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -0
  167. package/lib/components/tableview/table/table.component.d.ts +45 -13
  168. package/lib/components/tableview/tableview.component.d.ts +11 -12
  169. package/lib/config/formly.config.d.ts +8 -2
  170. package/lib/{models/config → config/models}/index.d.ts +0 -0
  171. package/lib/config/models/mng-config.model.d.ts +34 -0
  172. package/lib/data-providers/base.data-provider.d.ts +17 -0
  173. package/lib/data-providers/editor.data-provider.d.ts +25 -0
  174. package/lib/data-providers/index.d.ts +5 -0
  175. package/lib/data-providers/lookup.data-provider.d.ts +14 -0
  176. package/lib/data-providers/table.data-provider.d.ts +6 -0
  177. package/lib/data-providers/tableview.data-provider.d.ts +15 -0
  178. package/lib/{models/descriptors/action-descriptor.model.d.ts → descriptors/action.descriptor.d.ts} +27 -3
  179. package/lib/{models/descriptors/editor-descriptor.model.d.ts → descriptors/editor.descriptor.d.ts} +18 -11
  180. package/lib/{models/validators → descriptors}/field.validator.d.ts +0 -0
  181. package/lib/descriptors/index.d.ts +7 -0
  182. package/lib/descriptors/lookup.descriptor.d.ts +17 -0
  183. package/lib/{models/descriptors/model-descriptor.model.d.ts → descriptors/model.descriptor.d.ts} +0 -0
  184. package/lib/descriptors/table.descriptor.d.ts +164 -0
  185. package/lib/{models/descriptors/tableview-descriptor.model.d.ts → descriptors/tableview.descriptor.d.ts} +7 -6
  186. package/lib/directives/component.directive.d.ts +11 -0
  187. package/lib/directives/index.d.ts +1 -0
  188. package/lib/directives/template.directive.d.ts +7 -5
  189. package/lib/mng-commons.module.d.ts +70 -65
  190. package/lib/models/index.d.ts +2 -0
  191. package/lib/models/router.model.d.ts +14 -0
  192. package/lib/models/user.model.d.ts +8 -0
  193. package/lib/pipes/boolean.pipe.d.ts +7 -0
  194. package/lib/pipes/index.d.ts +1 -0
  195. package/lib/pipes/property-path.pipe.d.ts +3 -3
  196. package/lib/services/action.service.d.ts +10 -10
  197. package/lib/services/commons.service.d.ts +72 -0
  198. package/lib/services/configuration.service.d.ts +3 -3
  199. package/lib/services/index.d.ts +1 -3
  200. package/lib/services/navigation.service.d.ts +3 -3
  201. package/lib/services/providers/commons-init.provider.d.ts +2 -0
  202. package/lib/services/providers/config-service.provider.d.ts +4 -4
  203. package/lib/services/providers/formly-config.provider.d.ts +2 -2
  204. package/lib/services/providers/index.d.ts +1 -0
  205. package/lib/services/tokens/browser-storage.token.d.ts +2 -0
  206. package/lib/services/tokens/index.d.ts +2 -0
  207. package/lib/services/tokens/module-config.token.d.ts +3 -0
  208. package/lib/{models/types → types}/index.d.ts +0 -0
  209. package/lib/{models/types → types}/type.decorator.d.ts +0 -0
  210. package/lib/{models/types → types}/type.model.d.ts +0 -0
  211. package/lib/utils/editor-formly.util.d.ts +1 -1
  212. package/lib/utils/i18n.util.d.ts +8 -4
  213. package/lib/utils/index.d.ts +1 -0
  214. package/lib/utils/model.util.d.ts +3 -1
  215. package/lib/utils/toast.util.d.ts +13 -0
  216. package/lib/utils/type.util.d.ts +1 -1
  217. package/mediusinc-mng-commons-0.2.0.tgz +0 -0
  218. package/package.json +4 -4
  219. package/public-api.d.ts +10 -7
  220. package/scss/common/layout/_breadcrumb.scss +96 -0
  221. package/scss/common/layout/_config.scss +101 -0
  222. package/scss/common/layout/_dashboard.scss +16 -0
  223. package/scss/common/layout/_exception.scss +131 -0
  224. package/scss/common/layout/_footer.scss +29 -0
  225. package/scss/common/layout/_help.scss +157 -0
  226. package/scss/common/layout/_inlinemenu.scss +55 -0
  227. package/scss/common/layout/_invoice.scss +176 -0
  228. package/scss/common/layout/_landing.scss +639 -0
  229. package/scss/common/layout/_layout_dark.scss +23 -0
  230. package/scss/common/layout/_layout_light.scss +23 -0
  231. package/scss/common/layout/_loader.scss +18 -0
  232. package/scss/common/layout/_login.scss +106 -0
  233. package/scss/common/layout/_main.scss +45 -0
  234. package/scss/common/layout/_mixins.scss +214 -0
  235. package/scss/common/layout/_rightmenu.scss +125 -0
  236. package/scss/common/layout/_topbar.scss +189 -0
  237. package/scss/common/layout/_typography.scss +63 -0
  238. package/scss/common/layout/_utils.scss +96 -0
  239. package/scss/common/layout/_widgets.scss +391 -0
  240. package/scss/common/layout/menu/_menu.scss +7 -0
  241. package/scss/common/layout/menu/_menu_common.scss +183 -0
  242. package/scss/common/layout/menu/_menu_overlay.scss +52 -0
  243. package/scss/common/layout/menu/_menu_sidebar.scss +232 -0
  244. package/scss/common/layout/menu/_menu_slim.scss +138 -0
  245. package/scss/common/layout/menu/_menu_static.scss +70 -0
  246. package/scss/common/layout/menu/_menu_theme.scss +365 -0
  247. package/scss/common/theme/_theme_dark.scss +5 -0
  248. package/scss/common/theme/_theme_light.scss +5 -0
  249. package/scss/common/theme/designer/_colors.scss +18 -0
  250. package/scss/common/theme/designer/_common.scss +40 -0
  251. package/scss/common/theme/designer/_components.scss +101 -0
  252. package/scss/common/theme/designer/_mixins.scss +174 -0
  253. package/scss/common/theme/designer/components/button/_button.scss +560 -0
  254. package/scss/common/theme/designer/components/button/_speeddial.scss +79 -0
  255. package/scss/common/theme/designer/components/button/_splitbutton.scss +1 -0
  256. package/scss/common/theme/designer/components/data/_carousel.scss +37 -0
  257. package/scss/common/theme/designer/components/data/_datatable.scss +266 -0
  258. package/scss/common/theme/designer/components/data/_dataview.scss +55 -0
  259. package/scss/common/theme/designer/components/data/_filter.scss +138 -0
  260. package/scss/common/theme/designer/components/data/_fullcalendar.scss +324 -0
  261. package/scss/common/theme/designer/components/data/_orderlist.scss +91 -0
  262. package/scss/common/theme/designer/components/data/_organizationchart.scss +50 -0
  263. package/scss/common/theme/designer/components/data/_paginator.scss +83 -0
  264. package/scss/common/theme/designer/components/data/_picklist.scss +91 -0
  265. package/scss/common/theme/designer/components/data/_timeline.scss +38 -0
  266. package/scss/common/theme/designer/components/data/_tree.scss +144 -0
  267. package/scss/common/theme/designer/components/data/_treetable.scss +242 -0
  268. package/scss/common/theme/designer/components/data/_virtualscroller.scss +28 -0
  269. package/scss/common/theme/designer/components/file/_fileupload.scss +58 -0
  270. package/scss/common/theme/designer/components/input/_autocomplete.scss +103 -0
  271. package/scss/common/theme/designer/components/input/_calendar.scss +212 -0
  272. package/scss/common/theme/designer/components/input/_cascadeselect.scss +98 -0
  273. package/scss/common/theme/designer/components/input/_checkbox.scss +85 -0
  274. package/scss/common/theme/designer/components/input/_chips.scss +41 -0
  275. package/scss/common/theme/designer/components/input/_colorpicker.scss +19 -0
  276. package/scss/common/theme/designer/components/input/_dropdown.scss +136 -0
  277. package/scss/common/theme/designer/components/input/_editor.scss +122 -0
  278. package/scss/common/theme/designer/components/input/_inputgroup.scss +69 -0
  279. package/scss/common/theme/designer/components/input/_inputmask.scss +3 -0
  280. package/scss/common/theme/designer/components/input/_inputnumber.scss +3 -0
  281. package/scss/common/theme/designer/components/input/_inputswitch.scss +58 -0
  282. package/scss/common/theme/designer/components/input/_inputtext.scss +97 -0
  283. package/scss/common/theme/designer/components/input/_listbox.scss +82 -0
  284. package/scss/common/theme/designer/components/input/_multiselect.scss +164 -0
  285. package/scss/common/theme/designer/components/input/_password.scss +33 -0
  286. package/scss/common/theme/designer/components/input/_radiobutton.scss +78 -0
  287. package/scss/common/theme/designer/components/input/_rating.scss +48 -0
  288. package/scss/common/theme/designer/components/input/_selectbutton.scss +50 -0
  289. package/scss/common/theme/designer/components/input/_slider.scss +69 -0
  290. package/scss/common/theme/designer/components/input/_togglebutton.scss +48 -0
  291. package/scss/common/theme/designer/components/input/_treeselect.scss +89 -0
  292. package/scss/common/theme/designer/components/menu/_breadcrumb.scss +42 -0
  293. package/scss/common/theme/designer/components/menu/_contextmenu.scss +50 -0
  294. package/scss/common/theme/designer/components/menu/_dock.scss +51 -0
  295. package/scss/common/theme/designer/components/menu/_megamenu.scss +102 -0
  296. package/scss/common/theme/designer/components/menu/_menu.scss +41 -0
  297. package/scss/common/theme/designer/components/menu/_menubar.scss +179 -0
  298. package/scss/common/theme/designer/components/menu/_panelmenu.scss +137 -0
  299. package/scss/common/theme/designer/components/menu/_slidemenu.scss +55 -0
  300. package/scss/common/theme/designer/components/menu/_steps.scss +55 -0
  301. package/scss/common/theme/designer/components/menu/_tabmenu.scss +49 -0
  302. package/scss/common/theme/designer/components/menu/_tieredmenu.scss +56 -0
  303. package/scss/common/theme/designer/components/messages/_inlinemessage.scss +64 -0
  304. package/scss/common/theme/designer/components/messages/_message.scss +102 -0
  305. package/scss/common/theme/designer/components/messages/_toast.scss +95 -0
  306. package/scss/common/theme/designer/components/misc/_avatar.scss +30 -0
  307. package/scss/common/theme/designer/components/misc/_badge.scss +48 -0
  308. package/scss/common/theme/designer/components/misc/_blockui.scss +3 -0
  309. package/scss/common/theme/designer/components/misc/_chip.scss +36 -0
  310. package/scss/common/theme/designer/components/misc/_inplace.scss +17 -0
  311. package/scss/common/theme/designer/components/misc/_progressbar.scss +17 -0
  312. package/scss/common/theme/designer/components/misc/_scrolltop.scss +20 -0
  313. package/scss/common/theme/designer/components/misc/_skeleton.scss +8 -0
  314. package/scss/common/theme/designer/components/misc/_tag.scss +33 -0
  315. package/scss/common/theme/designer/components/misc/_terminal.scss +11 -0
  316. package/scss/common/theme/designer/components/multimedia/_galleria.scss +141 -0
  317. package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +67 -0
  318. package/scss/common/theme/designer/components/overlay/_dialog.scss +63 -0
  319. package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +62 -0
  320. package/scss/common/theme/designer/components/overlay/_sidebar.scss +27 -0
  321. package/scss/common/theme/designer/components/overlay/_tooltip.scss +33 -0
  322. package/scss/common/theme/designer/components/panel/_accordion.scss +119 -0
  323. package/scss/common/theme/designer/components/panel/_card.scss +30 -0
  324. package/scss/common/theme/designer/components/panel/_divider.scss +31 -0
  325. package/scss/common/theme/designer/components/panel/_fieldset.scss +47 -0
  326. package/scss/common/theme/designer/components/panel/_panel.scss +42 -0
  327. package/scss/common/theme/designer/components/panel/_scrollpanel.scss +6 -0
  328. package/scss/common/theme/designer/components/panel/_splitter.scss +19 -0
  329. package/scss/common/theme/designer/components/panel/_tabview.scss +66 -0
  330. package/scss/common/theme/designer/components/panel/_toolbar.scss +10 -0
  331. package/scss/common/theme/extensions/_button.scss +99 -0
  332. package/scss/common/theme/extensions/_calendar.scss +18 -0
  333. package/scss/common/theme/extensions/_card.scss +6 -0
  334. package/scss/common/theme/extensions/_carousel.scss +13 -0
  335. package/scss/common/theme/extensions/_checkbox.scss +10 -0
  336. package/scss/common/theme/extensions/_contextmenu.scss +16 -0
  337. package/scss/common/theme/extensions/_datatable.scss +83 -0
  338. package/scss/common/theme/extensions/_dialog.scss +14 -0
  339. package/scss/common/theme/extensions/_fieldset.scss +6 -0
  340. package/scss/common/theme/extensions/_galleria.scss +25 -0
  341. package/scss/common/theme/extensions/_megamenu.scss +18 -0
  342. package/scss/common/theme/extensions/_menu.scss +14 -0
  343. package/scss/common/theme/extensions/_menubar.scss +14 -0
  344. package/scss/common/theme/extensions/_orderlist.scss +38 -0
  345. package/scss/common/theme/extensions/_paginator.scss +19 -0
  346. package/scss/common/theme/extensions/_panelmenu.scss +20 -0
  347. package/scss/common/theme/extensions/_password.scss +5 -0
  348. package/scss/common/theme/extensions/_picklist.scss +38 -0
  349. package/scss/common/theme/extensions/_radiobutton.scss +8 -0
  350. package/scss/common/theme/extensions/_sidebar.scss +19 -0
  351. package/scss/common/theme/extensions/_slidemenu.scss +10 -0
  352. package/scss/common/theme/extensions/_slider.scss +6 -0
  353. package/scss/common/theme/extensions/_steps.scss +50 -0
  354. package/scss/common/theme/extensions/_tieredmenu.scss +14 -0
  355. package/scss/common/theme/extensions/_toast.scss +6 -0
  356. package/scss/common/theme/extensions/_tree.scss +36 -0
  357. package/scss/common/theme/extensions/_treetable.scss +35 -0
  358. package/scss/common/theme/extensions/_vendor_extensions.scss +27 -0
  359. package/scss/common/variables/layout/_common.scss +12 -0
  360. package/scss/common/variables/layout/_layout_dark.scss +71 -0
  361. package/scss/common/variables/layout/_layout_light.scss +71 -0
  362. package/scss/common/variables/theme/_theme_dark.scss +897 -0
  363. package/scss/common/variables/theme/_theme_light.scss +885 -0
  364. package/scss/layout/default/_mng-variables-layout-dark.scss +2 -0
  365. package/scss/layout/default/_mng-variables-layout-light.scss +2 -0
  366. package/scss/layout/default/layout-dark.scss +2 -0
  367. package/scss/layout/default/layout-light.scss +2 -0
  368. package/scss/mng-commons-dark.scss +5 -0
  369. package/scss/mng-commons-light.scss +5 -0
  370. package/scss/mng-overrides/_layout_action.scss +3 -0
  371. package/scss/mng-overrides/_layout_dialog.scss +34 -0
  372. package/scss/mng-overrides/_layout_forms.scss +31 -0
  373. package/scss/mng-overrides/_layout_radio.scss +3 -0
  374. package/scss/mng-overrides/_layout_styles.scss +4 -0
  375. package/scss/mng-overrides/_theme_datatable.scss +9 -0
  376. package/scss/mng-overrides/_theme_dialog.scss +9 -0
  377. package/scss/mng-overrides/_theme_dropdown.scss +6 -0
  378. package/scss/mng-overrides/_theme_styles.scss +9 -0
  379. package/scss/mng-overrides/_theme_tableview.scss +94 -0
  380. package/scss/theme/default/_mng-variables-theme-dark.scss +8 -0
  381. package/scss/theme/default/_mng-variables-theme-light.scss +8 -0
  382. package/scss/theme/default/theme-dark.scss +2 -0
  383. package/scss/theme/default/theme-light.scss +2 -0
  384. package/esm2020/lib/components/layout/app.breadcrumb.component.mjs +0 -27
  385. package/esm2020/lib/components/layout/app.footer.component.mjs +0 -35
  386. package/esm2020/lib/components/layout/app.main.component.mjs +0 -25
  387. package/esm2020/lib/components/layout/app.main.component.service.mjs +0 -133
  388. package/esm2020/lib/components/layout/app.menu.component.mjs +0 -38
  389. package/esm2020/lib/components/layout/app.menuitem.component.mjs +0 -243
  390. package/esm2020/lib/components/layout/app.topbar.component.mjs +0 -135
  391. package/esm2020/lib/components/tableview/tableview.component.service.mjs +0 -18
  392. package/esm2020/lib/models/action/action.model.mjs +0 -58
  393. package/esm2020/lib/models/action/index.mjs +0 -2
  394. package/esm2020/lib/models/config/mng-config.model.mjs +0 -3
  395. package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +0 -283
  396. package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +0 -647
  397. package/esm2020/lib/models/descriptors/index.mjs +0 -6
  398. package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +0 -34
  399. package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +0 -123
  400. package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +0 -124
  401. package/esm2020/lib/models/events/editor-event.model.mjs +0 -14
  402. package/esm2020/lib/models/events/index.mjs +0 -3
  403. package/esm2020/lib/models/events/table-event.model.mjs +0 -16
  404. package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +0 -2
  405. package/esm2020/lib/models/interfaces/index.mjs +0 -2
  406. package/esm2020/lib/models/providers/data-provider.model.mjs +0 -86
  407. package/esm2020/lib/models/providers/index.mjs +0 -2
  408. package/esm2020/lib/models/types/index.mjs +0 -3
  409. package/esm2020/lib/models/types/type.decorator.mjs +0 -8
  410. package/esm2020/lib/models/types/type.model.mjs +0 -2
  411. package/esm2020/lib/models/validators/field.validator.mjs +0 -21
  412. package/esm2020/lib/models/validators/index.mjs +0 -2
  413. package/esm2020/lib/services/breadcrumb.service.mjs +0 -21
  414. package/esm2020/lib/services/menu.service.mjs +0 -26
  415. package/esm2020/lib/services/settings.service.mjs +0 -40
  416. package/lib/components/layout/app.breadcrumb.component.d.ts +0 -16
  417. package/lib/components/layout/app.footer.component.d.ts +0 -8
  418. package/lib/components/layout/app.main.component.d.ts +0 -12
  419. package/lib/components/layout/app.main.component.service.d.ts +0 -40
  420. package/lib/components/layout/app.menu.component.d.ts +0 -14
  421. package/lib/components/layout/app.menuitem.component.d.ts +0 -31
  422. package/lib/components/layout/app.topbar.component.d.ts +0 -16
  423. package/lib/models/action/index.d.ts +0 -1
  424. package/lib/models/config/mng-config.model.d.ts +0 -19
  425. package/lib/models/descriptors/index.d.ts +0 -5
  426. package/lib/models/descriptors/table-descriptor.model.d.ts +0 -45
  427. package/lib/models/events/editor-event.model.d.ts +0 -11
  428. package/lib/models/events/index.d.ts +0 -2
  429. package/lib/models/interfaces/index.d.ts +0 -1
  430. package/lib/models/providers/data-provider.model.d.ts +0 -62
  431. package/lib/models/providers/index.d.ts +0 -1
  432. package/lib/models/validators/index.d.ts +0 -1
  433. package/lib/services/breadcrumb.service.d.ts +0 -9
  434. package/lib/services/menu.service.d.ts +0 -11
  435. package/lib/services/settings.service.d.ts +0 -18
  436. package/mediusinc-mng-commons-0.0.1-rc.2.tgz +0 -0
@@ -0,0 +1,212 @@
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
+ select {
41
+ transition: $formElementTransition;
42
+
43
+ &:focus {
44
+ @include focused-input();
45
+ }
46
+ }
47
+
48
+ .p-datepicker-month {
49
+ margin-right: $inlineSpacing;
50
+ }
51
+ }
52
+ }
53
+
54
+ table {
55
+ font-size: $fontSize;
56
+ margin: $calendarTableMargin;
57
+
58
+ th {
59
+ padding: $calendarHeaderCellPadding;
60
+
61
+ > span {
62
+ width: $calendarCellDateWidth;
63
+ height: $calendarCellDateHeight;
64
+ }
65
+ }
66
+
67
+ td {
68
+ padding: $calendarCellDatePadding;
69
+
70
+ > span {
71
+ width: $calendarCellDateWidth;
72
+ height: $calendarCellDateHeight;
73
+ border-radius: $calendarCellDateBorderRadius;
74
+ transition: $listItemTransition;
75
+ border: $calendarCellDateBorder;
76
+
77
+ &.p-highlight {
78
+ color: $highlightTextColor;
79
+ background: $highlightBg;
80
+ }
81
+
82
+ &:focus {
83
+ @include focused();
84
+ }
85
+ }
86
+
87
+ &.p-datepicker-today {
88
+ > span {
89
+ background: $calendarCellDateTodayBg;
90
+ color: $calendarCellDateTodayTextColor;
91
+ border-color: $calendarCellDateTodayBorderColor;
92
+
93
+ &.p-highlight {
94
+ color: $highlightTextColor;
95
+ background: $highlightBg;
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+
102
+ .p-datepicker-buttonbar {
103
+ padding: $calendarButtonBarPadding;
104
+ border-top: $divider;
105
+
106
+ .p-button {
107
+ width: auto;
108
+ }
109
+ }
110
+
111
+ .p-timepicker {
112
+ border-top: $divider;
113
+ padding: $calendarTimePickerPadding;
114
+
115
+ button {
116
+ @include action-icon();
117
+
118
+ &:last-child {
119
+ margin-top: .2em;
120
+ }
121
+ }
122
+
123
+ span {
124
+ font-size: $calendarTimePickerTimeFontSize;
125
+ }
126
+
127
+ > div {
128
+ padding: $calendarTimePickerElementPadding;
129
+ }
130
+ }
131
+
132
+ &.p-datepicker-timeonly {
133
+ .p-timepicker {
134
+ border-top: 0 none;
135
+ }
136
+ }
137
+
138
+ .p-monthpicker {
139
+ margin: $calendarTableMargin;
140
+
141
+ .p-monthpicker-month {
142
+ padding: $calendarCellDatePadding;
143
+ transition: $listItemTransition;
144
+ border-radius: $borderRadius;
145
+
146
+ &.p-highlight {
147
+ color: $highlightTextColor;
148
+ background: $highlightBg;
149
+ }
150
+ }
151
+ }
152
+
153
+ &.p-datepicker-multiple-month {
154
+ .p-datepicker-group {
155
+ border-right: $divider;
156
+ padding-right: $calendarPadding;
157
+ padding-left: $calendarPadding;
158
+ padding-top: 0;
159
+ padding-bottom: 0;
160
+
161
+ &:first-child {
162
+ padding-left: 0;
163
+ }
164
+
165
+ &:last-child {
166
+ padding-right: 0;
167
+ border-right: 0 none;
168
+ }
169
+ }
170
+ }
171
+
172
+ &:not(.p-disabled) {
173
+ table {
174
+ td {
175
+ span:not(.p-highlight):not(.p-disabled) {
176
+ &:hover {
177
+ background: $calendarCellDateHoverBg;
178
+ }
179
+
180
+ &:focus {
181
+ @include focused();
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ .p-monthpicker {
188
+ .p-monthpicker-month {
189
+ &:not(.p-highlight):not(.p-disabled) {
190
+ &:hover {
191
+ background: $calendarCellDateHoverBg;
192
+ }
193
+
194
+ &:focus {
195
+ @include focused();
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
201
+
202
+ }
203
+
204
+ @media screen and (max-width: $calendarBreakpoint) {
205
+ .p-datepicker {
206
+ table {
207
+ th, td {
208
+ padding: $calendarCellDatePaddingSM;
209
+ }
210
+ }
211
+ }
212
+ }
@@ -0,0 +1,98 @@
1
+ .p-cascadeselect {
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-cascadeselect-label {
16
+ background: transparent;
17
+ border: 0 none;
18
+ padding: $inputPadding;
19
+
20
+ &.p-placeholder {
21
+ color: $inputPlaceholderTextColor;
22
+ }
23
+
24
+ &:enabled:focus {
25
+ outline: 0 none;
26
+ box-shadow: none;
27
+ }
28
+ }
29
+
30
+ .p-cascadeselect-trigger {
31
+ background: transparent;
32
+ color: $inputIconColor;
33
+ width: $inputGroupAddOnMinWidth;
34
+ border-top-right-radius: $borderRadius;
35
+ border-bottom-right-radius: $borderRadius;
36
+ }
37
+ }
38
+
39
+ .p-cascadeselect-panel {
40
+ background: $inputOverlayBg;
41
+ color: $inputListTextColor;
42
+ border: $inputOverlayBorder;
43
+ border-radius: $borderRadius;
44
+ box-shadow: $inputOverlayShadow;
45
+
46
+ .p-cascadeselect-items {
47
+ padding: $inputListPadding;
48
+
49
+ .p-cascadeselect-item {
50
+ margin: $inputListItemMargin;
51
+ border: $inputListItemBorder;
52
+ color: $inputListItemTextColor;
53
+ background: $inputListItemBg;
54
+ transition: $listItemTransition;
55
+ border-radius: $inputListItemBorderRadius;
56
+
57
+ .p-cascadeselect-item-content {
58
+ padding: $inputListItemPadding;
59
+
60
+ &:focus {
61
+ @include focused-listitem();
62
+ }
63
+ }
64
+
65
+ &.p-highlight {
66
+ color: $highlightTextColor;
67
+ background: $highlightBg;
68
+ }
69
+
70
+ &:not(.p-highlight):not(.p-disabled):hover {
71
+ color: $inputListItemTextHoverColor;
72
+ background: $inputListItemHoverBg;
73
+ }
74
+
75
+ .p-cascadeselect-group-icon {
76
+ font-size: $menuitemSubmenuIconFontSize;
77
+ }
78
+ }
79
+ }
80
+ }
81
+
82
+ p-cascadeselect.ng-dirty.ng-invalid > .p-cascadeselect {
83
+ @include invalid-input();
84
+ }
85
+
86
+ .p-input-filled {
87
+ .p-cascadeselect {
88
+ background: $inputFilledBg;
89
+
90
+ &:not(.p-disabled):hover {
91
+ background-color: $inputFilledHoverBg;
92
+ }
93
+
94
+ &:not(.p-disabled).p-focus {
95
+ background-color: $inputFilledFocusBg;
96
+ }
97
+ }
98
+ }
@@ -0,0 +1,85 @@
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-highlight {
21
+ border-color: $checkboxActiveBorderColor;
22
+ background: $checkboxActiveBg;
23
+ }
24
+ }
25
+
26
+ &:not(.p-checkbox-disabled) {
27
+ .p-checkbox-box {
28
+ &:hover {
29
+ border-color: $inputHoverBorderColor;
30
+ }
31
+
32
+ &.p-focus {
33
+ @include focused-input();
34
+ }
35
+
36
+ &.p-highlight:hover {
37
+ border-color: $checkboxActiveHoverBorderColor;
38
+ background: $checkboxActiveHoverBg;
39
+ color: $checkboxIconActiveHoverColor;
40
+ }
41
+ }
42
+ }
43
+ }
44
+
45
+ p-checkbox.ng-dirty.ng-invalid > .p-checkbox > .p-checkbox-box {
46
+ @include invalid-input();
47
+ }
48
+
49
+ .p-input-filled {
50
+ .p-checkbox {
51
+ .p-checkbox-box {
52
+ background-color: $inputFilledBg;
53
+
54
+ &.p-highlight {
55
+ background: $checkboxActiveBg;
56
+ }
57
+ }
58
+
59
+ &:not(.p-checkbox-disabled) {
60
+ .p-checkbox-box {
61
+ &:hover {
62
+ background-color: $inputFilledHoverBg;
63
+ }
64
+
65
+ &.p-highlight:hover {
66
+ background: $checkboxActiveHoverBg;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ .p-checkbox-label {
74
+ margin-left: $inlineSpacing;
75
+ }
76
+
77
+ @if ($highlightBg == $checkboxActiveBg) {
78
+ .p-highlight {
79
+ .p-checkbox {
80
+ .p-checkbox-box {
81
+ border-color: $checkboxIconActiveColor;
82
+ }
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,41 @@
1
+ .p-chips {
2
+ .p-chips-multiple-container {
3
+ padding: nth($inputPadding, 1)/2 nth($inputPadding, 2);
4
+
5
+ &:not(.p-disabled):hover {
6
+ border-color: $inputHoverBorderColor;
7
+ }
8
+
9
+ &:not(.p-disabled).p-focus {
10
+ @include focused-input();
11
+ }
12
+
13
+ .p-chips-token {
14
+ padding: nth($inputPadding, 1)/2 nth($inputPadding, 2);
15
+ margin-right: $inlineSpacing;
16
+ background: $highlightBg;
17
+ color: $highlightTextColor;
18
+ border-radius: $borderRadius;
19
+
20
+ .p-chips-token-icon {
21
+ margin-left: $inlineSpacing;
22
+ }
23
+ }
24
+
25
+ .p-chips-input-token {
26
+ padding: nth($inputPadding, 1)/2 0;
27
+
28
+ input {
29
+ font-family: $fontFamily;
30
+ font-size: $fontSize;
31
+ color: $textColor;
32
+ padding: 0;
33
+ margin: 0;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+ p-chips.ng-dirty.ng-invalid > .p-chips > .p-inputtext {
40
+ @include invalid-input();
41
+ }
@@ -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-color: $colorPickerBorderColor;
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,136 @@
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
+ }
68
+
69
+ .p-dropdown-filter-icon {
70
+ right: nth($inputPadding, 2);
71
+ color: $inputIconColor;
72
+ }
73
+ }
74
+
75
+ .p-dropdown-items {
76
+ &:not(.p-dropdown-virtualscroll) {
77
+ padding: $inputListPadding;
78
+ }
79
+
80
+ &.p-dropdown-virtualscroll .cdk-virtual-scroll-content-wrapper {
81
+ padding: $inputListPadding;
82
+ }
83
+
84
+ .p-dropdown-item {
85
+ margin: $inputListItemMargin;
86
+ padding: $inputListItemPadding;
87
+ border: $inputListItemBorder;
88
+ color: $inputListItemTextColor;
89
+ background: $inputListItemBg;
90
+ transition: $listItemTransition;
91
+ border-radius: $inputListItemBorderRadius;
92
+
93
+ &.p-highlight {
94
+ color: $highlightTextColor;
95
+ background: $highlightBg;
96
+ }
97
+
98
+ &:not(.p-highlight):not(.p-disabled):hover {
99
+ color: $inputListItemTextHoverColor;
100
+ background: $inputListItemHoverBg;
101
+ }
102
+ }
103
+
104
+ .p-dropdown-empty-message {
105
+ padding: $inputListItemPadding;
106
+ color: $inputListItemTextColor;
107
+ background: $inputListItemBg;
108
+ }
109
+
110
+ .p-dropdown-item-group {
111
+ margin: $submenuHeaderMargin;
112
+ padding: $submenuHeaderPadding;
113
+ color: $submenuHeaderTextColor;
114
+ background: $submenuHeaderBg;
115
+ font-weight: $submenuHeaderFontWeight;
116
+ }
117
+ }
118
+ }
119
+
120
+ p-dropdown.ng-dirty.ng-invalid > .p-dropdown {
121
+ @include invalid-input();
122
+ }
123
+
124
+ .p-input-filled {
125
+ .p-dropdown {
126
+ background: $inputFilledBg;
127
+
128
+ &:not(.p-disabled):hover {
129
+ background-color: $inputFilledHoverBg;
130
+ }
131
+
132
+ &:not(.p-disabled).p-focus {
133
+ background-color: $inputFilledFocusBg;
134
+ }
135
+ }
136
+ }
@@ -0,0 +1,122 @@
1
+ .p-editor-container {
2
+ .p-editor-toolbar {
3
+ background: $editorToolbarBg;
4
+ border-top-right-radius: $borderRadius;
5
+ border-top-left-radius: $borderRadius;
6
+
7
+ &.ql-snow {
8
+ border: $editorToolbarBorder;
9
+
10
+ .ql-stroke {
11
+ stroke: $editorToolbarIconColor;
12
+ }
13
+
14
+ .ql-fill {
15
+ fill: $editorToolbarIconColor;
16
+ }
17
+
18
+ .ql-picker {
19
+ .ql-picker-label {
20
+ border: 0 none;
21
+ color: $editorToolbarIconColor;
22
+
23
+ &:hover {
24
+ color: $editorToolbarIconHoverColor;
25
+
26
+ .ql-stroke {
27
+ stroke: $editorToolbarIconHoverColor;
28
+ }
29
+
30
+ .ql-fill {
31
+ fill: $editorToolbarIconHoverColor;
32
+ }
33
+ }
34
+ }
35
+
36
+ &.ql-expanded {
37
+ .ql-picker-label {
38
+ color: $editorToolbarIconHoverColor;
39
+
40
+ .ql-stroke {
41
+ stroke: $editorToolbarIconHoverColor;
42
+ }
43
+
44
+ .ql-fill {
45
+ fill: $editorToolbarIconHoverColor;
46
+ }
47
+ }
48
+
49
+ .ql-picker-options {
50
+ background: $inputOverlayBg;
51
+ border:$inputOverlayBorder;
52
+ box-shadow:$inputOverlayShadow;
53
+ border-radius: $borderRadius;
54
+ padding: $inputListPadding;
55
+
56
+ .ql-picker-item {
57
+ color: $inputListItemTextColor;
58
+
59
+ &:hover {
60
+ color: $inputListItemTextHoverColor;
61
+ background: $inputListItemHoverBg;
62
+ }
63
+ }
64
+ }
65
+
66
+ &:not(.ql-icon-picker) {
67
+ .ql-picker-item {
68
+ padding: $inputListItemPadding;
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+ .p-editor-content {
77
+ border-bottom-right-radius: $borderRadius;
78
+ border-bottom-left-radius: $borderRadius;
79
+
80
+ &.ql-snow {
81
+ border: $editorContentBorder;
82
+ }
83
+
84
+ .ql-editor {
85
+ background: $inputBg;
86
+ color: $inputTextColor;
87
+ border-bottom-right-radius: $borderRadius;
88
+ border-bottom-left-radius: $borderRadius;
89
+ }
90
+ }
91
+
92
+ .ql-snow.ql-toolbar button:hover,
93
+ .ql-snow.ql-toolbar button:focus {
94
+ color: $editorToolbarIconHoverColor;
95
+
96
+ .ql-stroke {
97
+ stroke: $editorToolbarIconHoverColor;
98
+ }
99
+
100
+ .ql-fill {
101
+ fill: $editorToolbarIconHoverColor;
102
+ }
103
+ }
104
+
105
+ .ql-snow.ql-toolbar button.ql-active,
106
+ .ql-snow.ql-toolbar .ql-picker-label.ql-active,
107
+ .ql-snow.ql-toolbar .ql-picker-item.ql-selected {
108
+ color: $editorIconActiveColor;
109
+
110
+ .ql-stroke {
111
+ stroke: $editorIconActiveColor;
112
+ }
113
+
114
+ .ql-fill {
115
+ fill: $editorIconActiveColor;
116
+ }
117
+
118
+ .ql-picker-label {
119
+ color: $editorIconActiveColor;
120
+ }
121
+ }
122
+ }