@mediusinc/mng-commons 0.2.5 → 0.2.9

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 (265) hide show
  1. package/README.md +46 -0
  2. package/assets/i18n/en.json +202 -147
  3. package/assets/i18n/sl.json +202 -147
  4. package/esm2020/lib/api/models/builders/query-param.builder.mjs +1 -1
  5. package/esm2020/lib/api/models/filter-match-type.model.mjs +1 -1
  6. package/esm2020/lib/api/models/filter-param.model.mjs +16 -27
  7. package/esm2020/lib/api/models/mappers.mjs +7 -7
  8. package/esm2020/lib/api/models/query-mode.model.mjs +1 -1
  9. package/esm2020/lib/api/models/query-param.model.mjs +38 -37
  10. package/esm2020/lib/api/models/query-result.model.mjs +14 -13
  11. package/esm2020/lib/api/services/crud-api.abstract.service.mjs +28 -21
  12. package/esm2020/lib/api/utils/medius-rest.util.mjs +11 -7
  13. package/esm2020/lib/api/utils/object-serializer.util.mjs +34 -27
  14. package/esm2020/lib/components/action/action.component.mjs +10 -7
  15. package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +17 -14
  16. package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +1 -1
  17. package/esm2020/lib/components/action/models/action-execution.model.mjs +1 -1
  18. package/esm2020/lib/components/action/route/action-route.component.mjs +8 -6
  19. package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +16 -14
  20. package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +16 -15
  21. package/esm2020/lib/components/form/editor/form-editor.component.mjs +21 -24
  22. package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +3 -3
  23. package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +3 -3
  24. package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +4 -4
  25. package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +8 -4
  26. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +13 -14
  27. package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +12 -11
  28. package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +4 -4
  29. package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +1 -3
  30. package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +1 -3
  31. package/esm2020/lib/components/form/models/form-editor.event.mjs +1 -1
  32. package/esm2020/lib/components/layout/breadcrumb.component.mjs +3 -3
  33. package/esm2020/lib/components/layout/footer.component.mjs +3 -3
  34. package/esm2020/lib/components/layout/main-layout.component.mjs +4 -4
  35. package/esm2020/lib/components/layout/menu-item.component.mjs +36 -34
  36. package/esm2020/lib/components/layout/menu.component.mjs +3 -3
  37. package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +4 -1
  38. package/esm2020/lib/components/layout/topbar.component.mjs +5 -4
  39. package/esm2020/lib/components/tableview/index.mjs +2 -1
  40. package/esm2020/lib/components/tableview/models/table.event.mjs +1 -1
  41. package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +4 -4
  42. package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +33 -0
  43. package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +9 -5
  44. package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +4 -3
  45. package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +1 -1
  46. package/esm2020/lib/components/tableview/table/table.component.mjs +29 -27
  47. package/esm2020/lib/components/tableview/tableview.component.mjs +11 -3
  48. package/esm2020/lib/config/formly.config.mjs +30 -22
  49. package/esm2020/lib/config/models/mng-config.model.mjs +1 -1
  50. package/esm2020/lib/data-providers/base.data-provider.mjs +1 -8
  51. package/esm2020/lib/data-providers/editor.data-provider.mjs +2 -2
  52. package/esm2020/lib/data-providers/lookup.data-provider.mjs +1 -1
  53. package/esm2020/lib/data-providers/tableview.data-provider.mjs +2 -2
  54. package/esm2020/lib/descriptors/action.descriptor.mjs +3 -5
  55. package/esm2020/lib/descriptors/editor.descriptor.mjs +105 -72
  56. package/esm2020/lib/descriptors/field.validator.mjs +1 -1
  57. package/esm2020/lib/descriptors/lookup.descriptor.mjs +1 -1
  58. package/esm2020/lib/descriptors/model.descriptor.mjs +3 -3
  59. package/esm2020/lib/descriptors/table.descriptor.mjs +52 -43
  60. package/esm2020/lib/descriptors/tableview.descriptor.mjs +7 -7
  61. package/esm2020/lib/directives/component.directive.mjs +2 -2
  62. package/esm2020/lib/directives/template.directive.mjs +2 -3
  63. package/esm2020/lib/mng-commons.module.mjs +36 -41
  64. package/esm2020/lib/models/enum.model.mjs +2 -0
  65. package/esm2020/lib/models/index.mjs +2 -2
  66. package/esm2020/lib/models/user.model.mjs +1 -1
  67. package/esm2020/lib/pipes/boolean.pipe.mjs +1 -1
  68. package/esm2020/lib/pipes/i18n-property.pipe.mjs +18 -0
  69. package/esm2020/lib/pipes/index.mjs +2 -1
  70. package/esm2020/lib/pipes/property-path.pipe.mjs +1 -1
  71. package/esm2020/lib/router/index.mjs +2 -0
  72. package/esm2020/lib/router/models/index.mjs +2 -0
  73. package/esm2020/lib/router/models/router.model.mjs +2 -0
  74. package/esm2020/lib/router/route-builder.mjs +293 -0
  75. package/esm2020/lib/services/action.service.mjs +19 -15
  76. package/esm2020/lib/services/commons.service.mjs +15 -23
  77. package/esm2020/lib/services/configuration.service.mjs +3 -4
  78. package/esm2020/lib/services/navigation.service.mjs +2 -2
  79. package/esm2020/lib/services/providers/config-service.provider.mjs +2 -2
  80. package/esm2020/lib/services/providers/formly-config.provider.mjs +1 -1
  81. package/esm2020/lib/services/tokens/browser-storage.token.mjs +1 -1
  82. package/esm2020/lib/types/type.decorator.mjs +7 -1
  83. package/esm2020/lib/types/type.model.mjs +1 -1
  84. package/esm2020/lib/utils/editor-formly.util.mjs +10 -21
  85. package/esm2020/lib/utils/enum.util.mjs +61 -0
  86. package/esm2020/lib/utils/i18n.util.mjs +39 -27
  87. package/esm2020/lib/utils/index.mjs +2 -1
  88. package/esm2020/lib/utils/model.util.mjs +1 -1
  89. package/esm2020/lib/utils/route.util.mjs +24 -0
  90. package/esm2020/lib/utils/toast.util.mjs +3 -2
  91. package/esm2020/lib/utils/type.util.mjs +40 -2
  92. package/esm2020/public-api.mjs +2 -1
  93. package/fesm2015/mediusinc-mng-commons.mjs +3138 -2599
  94. package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
  95. package/fesm2020/mediusinc-mng-commons.mjs +3129 -2589
  96. package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
  97. package/lib/api/models/filter-param.model.d.ts +1 -1
  98. package/lib/api/services/crud-api.abstract.service.d.ts +6 -6
  99. package/lib/api/utils/medius-rest.util.d.ts +1 -1
  100. package/lib/api/utils/object-serializer.util.d.ts +6 -5
  101. package/lib/components/action/action.component.d.ts +3 -3
  102. package/lib/components/action/dialog/action-dialog.component.d.ts +9 -8
  103. package/lib/components/action/models/action-execution.model.d.ts +1 -1
  104. package/lib/components/action/route/action-route.component.d.ts +2 -2
  105. package/lib/components/form/autocomplete/autocomplete.component.d.ts +4 -3
  106. package/lib/components/form/dropdown/dropdown.component.d.ts +4 -3
  107. package/lib/components/form/editor/form-editor.component.d.ts +7 -6
  108. package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +2 -1
  109. package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +2 -1
  110. package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +1 -1
  111. package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +1 -3
  112. package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +1 -3
  113. package/lib/components/layout/main-layout.component.d.ts +3 -3
  114. package/lib/components/layout/menu-item.component.d.ts +7 -7
  115. package/lib/components/layout/services/main-layout.component.service.d.ts +1 -1
  116. package/lib/components/layout/topbar.component.d.ts +4 -4
  117. package/lib/components/tableview/index.d.ts +1 -0
  118. package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +4 -3
  119. package/lib/components/tableview/route/tableview-route.component.d.ts +15 -0
  120. package/lib/components/tableview/services/tableview.component.service.d.ts +3 -2
  121. package/lib/components/tableview/table/table.component.d.ts +21 -19
  122. package/lib/components/tableview/tableview.component.d.ts +6 -4
  123. package/lib/config/formly.config.d.ts +2 -1
  124. package/lib/data-providers/base.data-provider.d.ts +0 -3
  125. package/lib/descriptors/action.descriptor.d.ts +2 -2
  126. package/lib/descriptors/editor.descriptor.d.ts +40 -33
  127. package/lib/descriptors/lookup.descriptor.d.ts +1 -1
  128. package/lib/descriptors/table.descriptor.d.ts +19 -16
  129. package/lib/descriptors/tableview.descriptor.d.ts +9 -9
  130. package/lib/mng-commons.module.d.ts +68 -65
  131. package/lib/models/enum.model.d.ts +5 -0
  132. package/lib/models/index.d.ts +1 -1
  133. package/lib/pipes/i18n-property.pipe.d.ts +8 -0
  134. package/lib/pipes/index.d.ts +1 -0
  135. package/lib/router/index.d.ts +1 -0
  136. package/lib/router/models/index.d.ts +1 -0
  137. package/lib/router/models/router.model.d.ts +22 -0
  138. package/lib/router/route-builder.d.ts +66 -0
  139. package/lib/services/action.service.d.ts +3 -3
  140. package/lib/services/commons.service.d.ts +6 -6
  141. package/lib/services/navigation.service.d.ts +1 -1
  142. package/lib/services/providers/formly-config.provider.d.ts +1 -1
  143. package/lib/types/type.decorator.d.ts +2 -0
  144. package/lib/types/type.model.d.ts +2 -2
  145. package/lib/utils/editor-formly.util.d.ts +1 -1
  146. package/lib/utils/enum.util.d.ts +39 -0
  147. package/lib/utils/i18n.util.d.ts +6 -2
  148. package/lib/utils/index.d.ts +1 -0
  149. package/lib/utils/model.util.d.ts +1 -1
  150. package/lib/utils/route.util.d.ts +4 -0
  151. package/lib/utils/toast.util.d.ts +1 -1
  152. package/lib/utils/type.util.d.ts +22 -1
  153. package/package.json +2 -2
  154. package/public-api.d.ts +1 -0
  155. package/scss/common/layout/_breadcrumb.scss +6 -6
  156. package/scss/common/layout/_config.scss +7 -8
  157. package/scss/common/layout/_exception.scss +12 -11
  158. package/scss/common/layout/_footer.scss +3 -3
  159. package/scss/common/layout/_help.scss +8 -9
  160. package/scss/common/layout/_inlinemenu.scss +3 -3
  161. package/scss/common/layout/_invoice.scss +16 -16
  162. package/scss/common/layout/_landing.scss +57 -60
  163. package/scss/common/layout/_loader.scss +0 -1
  164. package/scss/common/layout/_login.scss +3 -4
  165. package/scss/common/layout/_main.scss +3 -3
  166. package/scss/common/layout/_mixins.scss +28 -20
  167. package/scss/common/layout/_rightmenu.scss +5 -5
  168. package/scss/common/layout/_topbar.scss +7 -5
  169. package/scss/common/layout/_typography.scss +11 -6
  170. package/scss/common/layout/_utils.scss +1 -1
  171. package/scss/common/layout/_widgets.scss +20 -19
  172. package/scss/common/layout/menu/_menu_common.scss +6 -6
  173. package/scss/common/layout/menu/_menu_overlay.scss +1 -1
  174. package/scss/common/layout/menu/_menu_sidebar.scss +6 -5
  175. package/scss/common/layout/menu/_menu_slim.scss +2 -3
  176. package/scss/common/layout/menu/_menu_static.scss +1 -1
  177. package/scss/common/layout/menu/_menu_theme.scss +2 -3
  178. package/scss/common/theme/designer/_colors.scss +11 -12
  179. package/scss/common/theme/designer/_common.scss +4 -3
  180. package/scss/common/theme/designer/_mixins.scss +56 -56
  181. package/scss/common/theme/designer/components/button/_button.scss +32 -20
  182. package/scss/common/theme/designer/components/button/_speeddial.scss +1 -1
  183. package/scss/common/theme/designer/components/button/_splitbutton.scss +2 -1
  184. package/scss/common/theme/designer/components/data/_carousel.scss +1 -1
  185. package/scss/common/theme/designer/components/data/_datatable.scss +5 -5
  186. package/scss/common/theme/designer/components/data/_filter.scss +2 -3
  187. package/scss/common/theme/designer/components/data/_fullcalendar.scss +10 -10
  188. package/scss/common/theme/designer/components/data/_orderlist.scss +2 -2
  189. package/scss/common/theme/designer/components/data/_paginator.scss +1 -1
  190. package/scss/common/theme/designer/components/data/_picklist.scss +1 -1
  191. package/scss/common/theme/designer/components/data/_timeline.scss +3 -6
  192. package/scss/common/theme/designer/components/data/_tree.scss +2 -2
  193. package/scss/common/theme/designer/components/data/_treetable.scss +2 -3
  194. package/scss/common/theme/designer/components/input/_autocomplete.scss +8 -8
  195. package/scss/common/theme/designer/components/input/_calendar.scss +6 -6
  196. package/scss/common/theme/designer/components/input/_cascadeselect.scss +1 -1
  197. package/scss/common/theme/designer/components/input/_checkbox.scss +4 -4
  198. package/scss/common/theme/designer/components/input/_chips.scss +4 -4
  199. package/scss/common/theme/designer/components/input/_colorpicker.scss +2 -2
  200. package/scss/common/theme/designer/components/input/_dropdown.scss +2 -2
  201. package/scss/common/theme/designer/components/input/_editor.scss +7 -7
  202. package/scss/common/theme/designer/components/input/_inputgroup.scss +1 -1
  203. package/scss/common/theme/designer/components/input/_inputmask.scss +1 -1
  204. package/scss/common/theme/designer/components/input/_inputnumber.scss +1 -1
  205. package/scss/common/theme/designer/components/input/_inputswitch.scss +2 -2
  206. package/scss/common/theme/designer/components/input/_inputtext.scss +3 -3
  207. package/scss/common/theme/designer/components/input/_listbox.scss +1 -1
  208. package/scss/common/theme/designer/components/input/_multiselect.scss +5 -6
  209. package/scss/common/theme/designer/components/input/_radiobutton.scss +2 -2
  210. package/scss/common/theme/designer/components/input/_rating.scss +1 -1
  211. package/scss/common/theme/designer/components/input/_selectbutton.scss +1 -1
  212. package/scss/common/theme/designer/components/input/_togglebutton.scss +1 -1
  213. package/scss/common/theme/designer/components/input/_treeselect.scss +2 -2
  214. package/scss/common/theme/designer/components/menu/_contextmenu.scss +3 -2
  215. package/scss/common/theme/designer/components/menu/_dock.scss +4 -4
  216. package/scss/common/theme/designer/components/menu/_megamenu.scss +10 -9
  217. package/scss/common/theme/designer/components/menu/_menu.scss +2 -2
  218. package/scss/common/theme/designer/components/menu/_menubar.scss +12 -11
  219. package/scss/common/theme/designer/components/menu/_panelmenu.scss +1 -2
  220. package/scss/common/theme/designer/components/menu/_slidemenu.scss +3 -2
  221. package/scss/common/theme/designer/components/menu/_steps.scss +1 -2
  222. package/scss/common/theme/designer/components/menu/_tieredmenu.scss +3 -2
  223. package/scss/common/theme/designer/components/messages/_message.scss +1 -1
  224. package/scss/common/theme/designer/components/messages/_toast.scss +1 -2
  225. package/scss/common/theme/designer/components/misc/_avatar.scss +1 -1
  226. package/scss/common/theme/designer/components/misc/_badge.scss +1 -1
  227. package/scss/common/theme/designer/components/misc/_blockui.scss +1 -1
  228. package/scss/common/theme/designer/components/misc/_chip.scss +2 -2
  229. package/scss/common/theme/designer/components/misc/_inplace.scss +0 -1
  230. package/scss/common/theme/designer/components/misc/_scrolltop.scss +1 -1
  231. package/scss/common/theme/designer/components/misc/_skeleton.scss +1 -1
  232. package/scss/common/theme/designer/components/misc/_tag.scss +1 -1
  233. package/scss/common/theme/designer/components/misc/_terminal.scss +8 -8
  234. package/scss/common/theme/designer/components/multimedia/_galleria.scss +1 -1
  235. package/scss/common/theme/designer/components/overlay/_confirmpopup.scss +2 -4
  236. package/scss/common/theme/designer/components/overlay/_dialog.scss +3 -3
  237. package/scss/common/theme/designer/components/overlay/_overlaypanel.scss +2 -4
  238. package/scss/common/theme/designer/components/panel/_accordion.scss +2 -2
  239. package/scss/common/theme/designer/components/panel/_divider.scss +1 -1
  240. package/scss/common/theme/designer/components/panel/_scrollpanel.scss +1 -1
  241. package/scss/common/theme/designer/components/panel/_splitter.scss +1 -1
  242. package/scss/common/theme/extensions/_button.scss +18 -6
  243. package/scss/common/theme/extensions/_orderlist.scss +0 -1
  244. package/scss/common/theme/extensions/_picklist.scss +0 -1
  245. package/scss/common/theme/extensions/_tree.scss +0 -1
  246. package/scss/common/variables/layout/_common.scss +9 -9
  247. package/scss/common/variables/layout/_layout_dark.scss +12 -12
  248. package/scss/common/variables/layout/_layout_light.scss +13 -13
  249. package/scss/common/variables/theme/_theme_dark.scss +76 -76
  250. package/scss/common/variables/theme/_theme_light.scss +80 -80
  251. package/scss/layout/default/_mng-variables-layout-dark.scss +1 -1
  252. package/scss/mng-commons-dark.scss +2 -2
  253. package/scss/mng-commons-light.scss +2 -2
  254. package/scss/mng-overrides/_layout_dialog.scss +4 -3
  255. package/scss/mng-overrides/_layout_forms.scss +6 -1
  256. package/scss/mng-overrides/_layout_radio.scss +1 -1
  257. package/scss/mng-overrides/_theme_datepicker.scss +7 -0
  258. package/scss/mng-overrides/_theme_dialog.scss +0 -1
  259. package/scss/mng-overrides/_theme_dropdown.scss +0 -1
  260. package/scss/mng-overrides/_theme_styles.scss +1 -0
  261. package/scss/mng-overrides/_theme_tableview.scss +6 -6
  262. package/scss/theme/default/_mng-variables-theme-dark.scss +2 -1
  263. package/scss/theme/default/_mng-variables-theme-light.scss +2 -1
  264. package/esm2020/lib/models/router.model.mjs +0 -2
  265. package/lib/models/router.model.d.ts +0 -14
@@ -37,7 +37,7 @@
37
37
  border-radius: 6px;
38
38
  background-color: $topbarIconBg;
39
39
  color: $topbarTextColor;
40
- @include transition(color .3s);
40
+ @include transition(color 0.3s);
41
41
 
42
42
  &:hover {
43
43
  color: $topbarTextHoverColor;
@@ -75,7 +75,7 @@
75
75
  width: 36px;
76
76
  height: 36px;
77
77
  margin: 0 0.4rem;
78
- padding: .75rem .5rem;
78
+ padding: 0.75rem 0.5rem;
79
79
  border-radius: $borderRadius;
80
80
 
81
81
  &:hover {
@@ -85,7 +85,7 @@
85
85
 
86
86
  .topbar-icon {
87
87
  font-size: 1.5rem;
88
- @include transition(color .3s);
88
+ @include transition(color 0.3s);
89
89
  }
90
90
 
91
91
  .topbar-item-name {
@@ -130,7 +130,7 @@
130
130
  right: 0;
131
131
  display: none;
132
132
  min-width: 12rem;
133
- animation-duration: .5s;
133
+ animation-duration: 0.5s;
134
134
  list-style-type: none;
135
135
  margin: 0;
136
136
  z-index: 1;
@@ -153,7 +153,9 @@
153
153
  margin-right: 8px;
154
154
  }
155
155
 
156
- i, img, span {
156
+ i,
157
+ img,
158
+ span {
157
159
  vertical-align: middle;
158
160
  }
159
161
 
@@ -1,4 +1,9 @@
1
- h1, h2, h3, h4, h5, h6 {
1
+ h1,
2
+ h2,
3
+ h3,
4
+ h4,
5
+ h5,
6
+ h6 {
2
7
  margin: 1.5rem 0 1rem 0;
3
8
  font-family: inherit;
4
9
  font-weight: 600;
@@ -35,8 +40,8 @@ h6 {
35
40
  }
36
41
 
37
42
  mark {
38
- background: #FFF8E1;
39
- padding: .25rem .4rem;
43
+ background: #fff8e1;
44
+ padding: 0.25rem 0.4rem;
40
45
  border-radius: $borderRadius;
41
46
  font-family: monospace;
42
47
  }
@@ -44,13 +49,13 @@ mark {
44
49
  blockquote {
45
50
  margin: 1rem 0;
46
51
  padding: 0 2rem;
47
- border-left: 4px solid #90A4AE;
52
+ border-left: 4px solid #90a4ae;
48
53
  }
49
54
 
50
55
  hr {
51
56
  border-top: solid $dividerColor;
52
57
  border-width: 1px 0 0 0;
53
- margin: 1rem 0;
58
+ margin: 1rem 0;
54
59
  }
55
60
 
56
61
  p {
@@ -60,4 +65,4 @@ p {
60
65
  &:last-child {
61
66
  margin-bottom: 0;
62
67
  }
63
- }
68
+ }
@@ -1,6 +1,6 @@
1
1
  /* Utils */
2
2
  .clearfix:after {
3
- content: " ";
3
+ content: ' ';
4
4
  display: block;
5
5
  clear: both;
6
6
  }
@@ -20,8 +20,8 @@
20
20
  height: 32px;
21
21
  width: 70px;
22
22
  border-radius: 6px;
23
- padding: .5em;
24
- margin-top: .5em;
23
+ padding: 0.5em;
24
+ margin-top: 0.5em;
25
25
  margin-right: 12px;
26
26
 
27
27
  i {
@@ -41,7 +41,7 @@
41
41
 
42
42
  &.widget-overview-box-1 {
43
43
  .overview-badge {
44
- background-color: #FC6161;
44
+ background-color: #fc6161;
45
45
  box-shadow: 0px 6px 20px rgba(252, 97, 97, 0.3);
46
46
  }
47
47
  }
@@ -49,14 +49,14 @@
49
49
  &.widget-overview-box-2 {
50
50
  .overview-badge {
51
51
  margin-right: 12px;
52
- background-color: #0BD18A;
52
+ background-color: #0bd18a;
53
53
  box-shadow: 0px 6px 20px rgba(11, 209, 138, 0.3);
54
54
  }
55
55
  }
56
56
 
57
57
  &.widget-overview-box-3 {
58
58
  .overview-badge {
59
- background-color: #00D0DE;
59
+ background-color: #00d0de;
60
60
  box-shadow: 0px 6px 20px rgba(0, 208, 222, 0.3);
61
61
  }
62
62
  }
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  i {
79
- margin-left: .5rem;
79
+ margin-left: 0.5rem;
80
80
  }
81
81
  }
82
82
  }
@@ -115,7 +115,7 @@
115
115
 
116
116
  .header-icons {
117
117
  i {
118
- margin-left: .5rem;
118
+ margin-left: 0.5rem;
119
119
  }
120
120
  }
121
121
  }
@@ -129,7 +129,8 @@
129
129
  }
130
130
 
131
131
  .p-timeline-event-content {
132
- p, h6 {
132
+ p,
133
+ h6 {
133
134
  margin: 0;
134
135
  }
135
136
 
@@ -145,7 +146,7 @@
145
146
 
146
147
  .custom-marker {
147
148
  border-radius: 50%;
148
- padding: .25rem;
149
+ padding: 0.25rem;
149
150
  width: 24px;
150
151
  height: 24px;
151
152
  text-align: center;
@@ -185,7 +186,7 @@
185
186
  width: 24px;
186
187
  height: 24px;
187
188
  border-radius: 4px;
188
- margin-right: .5rem;
189
+ margin-right: 0.5rem;
189
190
  }
190
191
  }
191
192
  }
@@ -202,7 +203,7 @@
202
203
  align-items: center;
203
204
 
204
205
  i {
205
- margin-left: .5rem;
206
+ margin-left: 0.5rem;
206
207
  }
207
208
  }
208
209
  }
@@ -242,7 +243,7 @@
242
243
  }
243
244
 
244
245
  .person-info {
245
- margin-left: .5rem;
246
+ margin-left: 0.5rem;
246
247
 
247
248
  .amount {
248
249
  font-size: 18px;
@@ -268,7 +269,7 @@
268
269
 
269
270
  .actions {
270
271
  i {
271
- margin-left: .5rem;
272
+ margin-left: 0.5rem;
272
273
  }
273
274
  }
274
275
  }
@@ -287,7 +288,7 @@
287
288
  }
288
289
 
289
290
  p {
290
- margin-left: .5rem;
291
+ margin-left: 0.5rem;
291
292
  color: $textThirdColor;
292
293
  font-size: 12px;
293
294
  line-height: 1rem;
@@ -305,7 +306,7 @@
305
306
  .rate {
306
307
  font-size: 13px;
307
308
  line-height: 1rem;
308
- color: #0BD18A;
309
+ color: #0bd18a;
309
310
 
310
311
  i {
311
312
  font-size: 12px;
@@ -321,7 +322,7 @@
321
322
  margin-top: 1.5rem;
322
323
  min-height: 235px;
323
324
  position: relative;
324
- color: #FC6161;
325
+ color: #fc6161;
325
326
  display: flex;
326
327
  justify-content: space-between;
327
328
 
@@ -348,14 +349,14 @@
348
349
 
349
350
  &.success {
350
351
  span:first-child {
351
- color: #0BD18A;
352
+ color: #0bd18a;
352
353
  }
353
354
 
354
355
  .p-progressbar {
355
356
  box-shadow: 0px 0px 10px rgba(11, 209, 138, 0.3);
356
357
 
357
358
  .p-progressbar-value {
358
- background-color: #0BD18A;
359
+ background-color: #0bd18a;
359
360
  }
360
361
  }
361
362
  }
@@ -368,7 +369,7 @@
368
369
  background-color: $progressBarBg;
369
370
 
370
371
  .p-progressbar-value {
371
- background-color: #FC6161;
372
+ background-color: #fc6161;
372
373
  box-shadow: 0px 0px 10px rgba(252, 97, 97, 0.3);
373
374
  }
374
375
  }
@@ -68,11 +68,11 @@
68
68
  &.layout-root-menuitem {
69
69
  > div {
70
70
  padding-left: 1.5rem;
71
- margin-bottom: .5rem;
71
+ margin-bottom: 0.5rem;
72
72
  font-size: 12px;
73
73
 
74
74
  > .layout-menuitem-text {
75
- font-size: .857rem;
75
+ font-size: 0.857rem;
76
76
  font-weight: 600;
77
77
  text-transform: uppercase;
78
78
  }
@@ -82,7 +82,7 @@
82
82
  > a {
83
83
  display: flex;
84
84
  align-items: center;
85
- padding: .5rem 1rem;
85
+ padding: 0.5rem 1rem;
86
86
  cursor: pointer;
87
87
  user-select: none;
88
88
  border-radius: 8px;
@@ -117,13 +117,13 @@
117
117
 
118
118
  li {
119
119
  ul {
120
- padding: 0 0 .25rem;
120
+ padding: 0 0 0.25rem;
121
121
  overflow: hidden;
122
122
  }
123
123
  }
124
124
 
125
125
  > li {
126
- margin-top: .2rem;
126
+ margin-top: 0.2rem;
127
127
 
128
128
  &.layout-root-menuitem {
129
129
  > a {
@@ -168,7 +168,7 @@
168
168
  padding: 6px;
169
169
 
170
170
  > a {
171
- padding: .75rem 1.25rem;
171
+ padding: 0.75rem 1.25rem;
172
172
  }
173
173
  }
174
174
  }
@@ -29,7 +29,7 @@
29
29
  padding: 6px;
30
30
 
31
31
  > a {
32
- padding: .75rem 1rem;
32
+ padding: 0.75rem 1rem;
33
33
  }
34
34
  }
35
35
  }
@@ -81,7 +81,8 @@
81
81
 
82
82
  .layout-inline-menu {
83
83
  .layout-inline-menu-action {
84
- .layout-inline-menu-text, .layout-inline-menu-icon {
84
+ .layout-inline-menu-text,
85
+ .layout-inline-menu-icon {
85
86
  visibility: visible;
86
87
  }
87
88
 
@@ -113,7 +114,6 @@
113
114
  overflow: hidden;
114
115
 
115
116
  > li {
116
-
117
117
  .layout-menuitem-root-text {
118
118
  display: none;
119
119
  }
@@ -147,7 +147,7 @@
147
147
  cursor: pointer;
148
148
 
149
149
  > span {
150
- margin: 0 .5rem;
150
+ margin: 0 0.5rem;
151
151
  margin-left: 1rem;
152
152
  visibility: hidden;
153
153
  white-space: nowrap;
@@ -160,7 +160,7 @@
160
160
  &.layout-submenu-toggler {
161
161
  @include transition(transform $transitionDuration);
162
162
  margin-left: auto;
163
- font-size:12px ;
163
+ font-size: 12px;
164
164
  visibility: hidden;
165
165
  }
166
166
  }
@@ -205,7 +205,8 @@
205
205
 
206
206
  .layout-inline-menu {
207
207
  .layout-inline-menu-action {
208
- .layout-inline-menu-text, .layout-inline-menu-icon {
208
+ .layout-inline-menu-text,
209
+ .layout-inline-menu-icon {
209
210
  white-space: nowrap;
210
211
  visibility: hidden;
211
212
  }
@@ -82,7 +82,7 @@
82
82
  min-height: 32px;
83
83
 
84
84
  .layout-menuitem-text {
85
- margin-left: .5rem;
85
+ margin-left: 0.5rem;
86
86
  }
87
87
 
88
88
  > span {
@@ -97,7 +97,6 @@
97
97
  }
98
98
  @include nested-submenu-indents(8, 2, 8);
99
99
  }
100
-
101
100
  }
102
101
  }
103
102
  }
@@ -111,7 +110,7 @@
111
110
  }
112
111
 
113
112
  .layout-inline-menu-action-panel {
114
- padding: 0 .5rem;
113
+ padding: 0 0.5rem;
115
114
  padding-left: 1.5rem;
116
115
 
117
116
  .layout-inline-menu-action-item {
@@ -10,7 +10,7 @@
10
10
  border-radius: 6px;
11
11
  background-color: $topbarIconBg;
12
12
  color: $topbarTextColor;
13
- @include transition(color .3s);
13
+ @include transition(color 0.3s);
14
14
 
15
15
  &:hover {
16
16
  color: $topbarTextHoverColor;
@@ -134,7 +134,6 @@
134
134
  .layout-menu-container {
135
135
  .layout-menu {
136
136
  > li {
137
-
138
137
  &.layout-root-menuitem {
139
138
  > div {
140
139
  color: $rootMenuItemTextColor;
@@ -156,7 +155,8 @@
156
155
  }
157
156
  }
158
157
 
159
- &.layout-overlay, &.layout-sidebar {
158
+ &.layout-overlay,
159
+ &.layout-sidebar {
160
160
  .layout-menu-wrapper {
161
161
  background: $menuBg;
162
162
 
@@ -176,7 +176,6 @@
176
176
  background: $overlayMenuActiveBg;
177
177
 
178
178
  > a {
179
-
180
179
  i {
181
180
  color: $rootMenuItemTextColor;
182
181
  }
@@ -1,18 +1,17 @@
1
1
  :root {
2
- @if variable-exists(colors) {
3
- @each $name, $color in $colors {
4
- @for $i from 0 through 5 {
5
- @if ($i == 0) {
6
- --#{$name}-50:#{tint($color, (5 - $i) * 19%)};
2
+ @if variable-exists(colors) {
3
+ @each $name, $color in $colors {
4
+ @for $i from 0 through 5 {
5
+ @if ($i == 0) {
6
+ --#{$name}-50: #{tint($color, (5 - $i) * 19%)};
7
+ } @else {
8
+ --#{$name}-#{$i * 100}: #{tint($color, (5 - $i) * 19%)};
9
+ }
7
10
  }
8
- @else {
9
- --#{$name}-#{$i * 100}:#{tint($color, (5 - $i) * 19%)};
10
- }
11
- }
12
11
 
13
- @for $i from 1 through 4 {
14
- --#{$name}-#{($i + 5) * 100}:#{shade($color, $i * 15%)};
12
+ @for $i from 1 through 4 {
13
+ --#{$name}-#{($i + 5) * 100}: #{shade($color, $i * 15%)};
14
+ }
15
15
  }
16
16
  }
17
- }
18
17
  }
@@ -1,5 +1,5 @@
1
1
  * {
2
- box-sizing: border-box;
2
+ box-sizing: border-box;
3
3
  }
4
4
 
5
5
  .p-component {
@@ -13,7 +13,8 @@
13
13
  transition-duration: $transitionDuration;
14
14
  }
15
15
 
16
- .p-disabled, .p-component:disabled {
16
+ .p-disabled,
17
+ .p-component:disabled {
17
18
  opacity: $disabledOpacity;
18
19
  }
19
20
 
@@ -37,4 +38,4 @@
37
38
  &:focus {
38
39
  @include focused();
39
40
  }
40
- }
41
+ }
@@ -1,85 +1,85 @@
1
1
  @mixin icon-override($icon) {
2
- &:before {
3
- content: $icon;
4
- }
2
+ &:before {
3
+ content: $icon;
4
+ }
5
5
  }
6
6
 
7
7
  @mixin focused() {
8
- outline: $focusOutline;
8
+ outline: $focusOutline;
9
9
  outline-offset: $focusOutlineOffset;
10
10
  box-shadow: $focusShadow;
11
11
  }
12
12
 
13
13
  @mixin focused-input() {
14
- @include focused();
15
- border-color: $inputFocusBorderColor;
14
+ @include focused();
15
+ border-color: $inputFocusBorderColor;
16
16
  }
17
17
 
18
18
  @mixin focused-listitem() {
19
- outline: $focusOutline;
19
+ outline: $focusOutline;
20
20
  outline-offset: $focusOutlineOffset;
21
21
  box-shadow: $inputListItemFocusShadow;
22
22
  }
23
23
 
24
24
  @mixin invalid-input() {
25
- border-color: $inputErrorBorderColor;
25
+ border-color: $inputErrorBorderColor;
26
26
  }
27
27
 
28
28
  @mixin menuitem-link {
29
- padding: $menuitemPadding;
30
- color: $menuitemTextColor;
29
+ padding: $menuitemPadding;
30
+ color: $menuitemTextColor;
31
31
  border-radius: $menuitemBorderRadius;
32
32
  transition: $listItemTransition;
33
33
  user-select: none;
34
34
 
35
- .p-menuitem-text {
35
+ .p-menuitem-text {
36
36
  color: $menuitemTextColor;
37
- }
37
+ }
38
38
 
39
- .p-menuitem-icon {
40
- color: $menuitemIconColor;
41
- margin-right: $inlineSpacing;
39
+ .p-menuitem-icon {
40
+ color: $menuitemIconColor;
41
+ margin-right: $inlineSpacing;
42
42
  }
43
43
 
44
44
  .p-submenu-icon {
45
45
  color: $menuitemIconColor;
46
46
  }
47
47
 
48
- &:not(.p-disabled):hover {
49
- background: $menuitemHoverBg;
48
+ &:not(.p-disabled):hover {
49
+ background: $menuitemHoverBg;
50
50
 
51
- .p-menuitem-text {
52
- color: $menuitemTextHoverColor;
53
- }
51
+ .p-menuitem-text {
52
+ color: $menuitemTextHoverColor;
53
+ }
54
54
 
55
- .p-menuitem-icon {
56
- color: $menuitemIconHoverColor;
55
+ .p-menuitem-icon {
56
+ color: $menuitemIconHoverColor;
57
57
  }
58
58
 
59
59
  .p-submenu-icon {
60
60
  color: $menuitemIconHoverColor;
61
61
  }
62
- }
62
+ }
63
63
 
64
- &:focus {
65
- @include focused-listitem();
66
- }
64
+ &:focus {
65
+ @include focused-listitem();
66
+ }
67
67
  }
68
68
 
69
69
  @mixin horizontal-rootmenuitem-link {
70
- padding: $horizontalMenuRootMenuitemPadding;
71
- color: $horizontalMenuRootMenuitemTextColor;
70
+ padding: $horizontalMenuRootMenuitemPadding;
71
+ color: $horizontalMenuRootMenuitemTextColor;
72
72
  border-radius: $horizontalMenuRootMenuitemBorderRadius;
73
73
  transition: $listItemTransition;
74
74
  user-select: none;
75
75
 
76
- .p-menuitem-text {
76
+ .p-menuitem-text {
77
77
  color: $horizontalMenuRootMenuitemTextColor;
78
- }
78
+ }
79
79
 
80
- .p-menuitem-icon {
81
- color: $horizontalMenuRootMenuitemIconColor;
82
- margin-right: $inlineSpacing;
80
+ .p-menuitem-icon {
81
+ color: $horizontalMenuRootMenuitemIconColor;
82
+ margin-right: $inlineSpacing;
83
83
  }
84
84
 
85
85
  .p-submenu-icon {
@@ -87,40 +87,40 @@
87
87
  margin-left: $inlineSpacing;
88
88
  }
89
89
 
90
- &:not(.p-disabled):hover {
91
- background: $horizontalMenuRootMenuitemHoverBg;
90
+ &:not(.p-disabled):hover {
91
+ background: $horizontalMenuRootMenuitemHoverBg;
92
92
 
93
- .p-menuitem-text {
94
- color: $horizontalMenuRootMenuitemTextHoverColor;
95
- }
93
+ .p-menuitem-text {
94
+ color: $horizontalMenuRootMenuitemTextHoverColor;
95
+ }
96
96
 
97
- .p-menuitem-icon {
98
- color: $horizontalMenuRootMenuitemIconHoverColor;
97
+ .p-menuitem-icon {
98
+ color: $horizontalMenuRootMenuitemIconHoverColor;
99
99
  }
100
100
 
101
101
  .p-submenu-icon {
102
102
  color: $horizontalMenuRootMenuitemIconHoverColor;
103
103
  }
104
- }
104
+ }
105
105
 
106
- &:focus {
107
- @include focused-listitem();
108
- }
106
+ &:focus {
107
+ @include focused-listitem();
108
+ }
109
109
  }
110
110
 
111
111
  @mixin placeholder {
112
- ::-webkit-input-placeholder {
113
- @content
114
- }
115
- :-moz-placeholder {
116
- @content
117
- }
118
- ::-moz-placeholder {
119
- @content
120
- }
121
- :-ms-input-placeholder {
122
- @content
123
- }
112
+ ::-webkit-input-placeholder {
113
+ @content;
114
+ }
115
+ :-moz-placeholder {
116
+ @content;
117
+ }
118
+ ::-moz-placeholder {
119
+ @content;
120
+ }
121
+ :-ms-input-placeholder {
122
+ @content;
123
+ }
124
124
  }
125
125
 
126
126
  @mixin scaledPadding($val, $scale) {