@pepperi-addons/ngx-lib 0.2.61 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/address/address.component.theme.scss +4 -7
  2. package/address/pepperi-addons-ngx-lib-address.metadata.json +1 -1
  3. package/attachment/attachment.component.d.ts +1 -0
  4. package/attachment/attachment.component.theme.scss +3 -2
  5. package/attachment/pepperi-addons-ngx-lib-attachment.metadata.json +1 -1
  6. package/bread-crumbs/bread-crumbs.component.theme.scss +7 -7
  7. package/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.metadata.json +1 -1
  8. package/bundles/pepperi-addons-ngx-lib-address.umd.js +1 -1
  9. package/bundles/pepperi-addons-ngx-lib-address.umd.js.map +1 -1
  10. package/bundles/pepperi-addons-ngx-lib-attachment.umd.js +7 -2
  11. package/bundles/pepperi-addons-ngx-lib-attachment.umd.js.map +1 -1
  12. package/bundles/pepperi-addons-ngx-lib-bread-crumbs.umd.js +1 -1
  13. package/bundles/pepperi-addons-ngx-lib-bread-crumbs.umd.js.map +1 -1
  14. package/bundles/pepperi-addons-ngx-lib-button.umd.js +1 -1
  15. package/bundles/pepperi-addons-ngx-lib-button.umd.js.map +1 -1
  16. package/bundles/pepperi-addons-ngx-lib-checkbox.umd.js +4 -1
  17. package/bundles/pepperi-addons-ngx-lib-checkbox.umd.js.map +1 -1
  18. package/bundles/pepperi-addons-ngx-lib-color.umd.js +8 -3
  19. package/bundles/pepperi-addons-ngx-lib-color.umd.js.map +1 -1
  20. package/bundles/pepperi-addons-ngx-lib-date.umd.js +4 -1
  21. package/bundles/pepperi-addons-ngx-lib-date.umd.js.map +1 -1
  22. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js +1 -1
  23. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js.map +1 -1
  24. package/bundles/pepperi-addons-ngx-lib-field-title.umd.js +1 -1
  25. package/bundles/pepperi-addons-ngx-lib-field-title.umd.js.map +1 -1
  26. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js +1 -1
  27. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js.map +1 -1
  28. package/bundles/pepperi-addons-ngx-lib-form.umd.js +19 -16
  29. package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
  30. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js +1 -1
  31. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js.map +1 -1
  32. package/bundles/pepperi-addons-ngx-lib-image.umd.js +7 -2
  33. package/bundles/pepperi-addons-ngx-lib-image.umd.js.map +1 -1
  34. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js +7 -2
  35. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js.map +1 -1
  36. package/bundles/pepperi-addons-ngx-lib-list.umd.js +3 -3
  37. package/bundles/pepperi-addons-ngx-lib-list.umd.js.map +1 -1
  38. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js +7 -2
  39. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js.map +1 -1
  40. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js +1104 -0
  41. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js.map +1 -0
  42. package/bundles/pepperi-addons-ngx-lib-rich-html-textarea.umd.js +7 -2
  43. package/bundles/pepperi-addons-ngx-lib-rich-html-textarea.umd.js.map +1 -1
  44. package/bundles/pepperi-addons-ngx-lib-select.umd.js +7 -2
  45. package/bundles/pepperi-addons-ngx-lib-select.umd.js.map +1 -1
  46. package/bundles/pepperi-addons-ngx-lib-separator.umd.js +9 -1
  47. package/bundles/pepperi-addons-ngx-lib-separator.umd.js.map +1 -1
  48. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js +1 -1
  49. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js.map +1 -1
  50. package/bundles/pepperi-addons-ngx-lib-signature.umd.js +7 -2
  51. package/bundles/pepperi-addons-ngx-lib-signature.umd.js.map +1 -1
  52. package/bundles/pepperi-addons-ngx-lib-slider.umd.js +1 -1
  53. package/bundles/pepperi-addons-ngx-lib-slider.umd.js.map +1 -1
  54. package/bundles/pepperi-addons-ngx-lib-smart-filters.umd.js +306 -39
  55. package/bundles/pepperi-addons-ngx-lib-smart-filters.umd.js.map +1 -1
  56. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js +7 -2
  57. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js.map +1 -1
  58. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js +5 -3
  59. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js.map +1 -1
  60. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js +1 -1
  61. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js.map +1 -1
  62. package/bundles/pepperi-addons-ngx-lib.umd.js +3 -1
  63. package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
  64. package/button/button.component.theme.scss +0 -2
  65. package/button/pepperi-addons-ngx-lib-button.metadata.json +1 -1
  66. package/checkbox/checkbox.component.theme.scss +0 -2
  67. package/checkbox/pepperi-addons-ngx-lib-checkbox.metadata.json +1 -1
  68. package/color/color-picker.component.theme.scss +122 -128
  69. package/color/color.component.d.ts +1 -0
  70. package/color/color.component.theme.scss +0 -7
  71. package/color/pepperi-addons-ngx-lib-color.metadata.json +1 -1
  72. package/core/customization/customization.service.d.ts +1 -0
  73. package/date/date.component.theme.scss +163 -169
  74. package/date/pepperi-addons-ngx-lib-date.metadata.json +1 -1
  75. package/dialog/dialog.component.theme.scss +4 -4
  76. package/dialog/pepperi-addons-ngx-lib-dialog.metadata.json +1 -1
  77. package/esm2015/address/address.component.js +2 -2
  78. package/esm2015/attachment/attachment.component.js +8 -3
  79. package/esm2015/bread-crumbs/bread-crumbs.component.js +2 -2
  80. package/esm2015/button/button.component.js +2 -2
  81. package/esm2015/checkbox/checkbox.component.js +5 -2
  82. package/esm2015/color/color-picker.component.js +2 -2
  83. package/esm2015/color/color.component.js +8 -3
  84. package/esm2015/core/customization/customization.service.js +4 -2
  85. package/esm2015/date/date.component.js +5 -2
  86. package/esm2015/dialog/dialog.component.js +2 -2
  87. package/esm2015/field-title/field-title.component.js +2 -2
  88. package/esm2015/files-uploader/files-uploader.component.js +2 -2
  89. package/esm2015/form/indicators.component.js +2 -2
  90. package/esm2015/form/internal-button.component.js +20 -17
  91. package/esm2015/group-buttons/group-buttons.component.js +2 -2
  92. package/esm2015/image/image.component.js +8 -3
  93. package/esm2015/images-filmstrip/images-filmstrip.component.js +8 -3
  94. package/esm2015/list/list-total.component.js +2 -2
  95. package/esm2015/list/virtual-scroller.js +3 -3
  96. package/esm2015/quantity-selector/quantity-selector.component.js +8 -3
  97. package/esm2015/query-builder/common/model/field.js +2 -0
  98. package/esm2015/query-builder/common/model/filter.js +2 -0
  99. package/esm2015/query-builder/common/model/legacy.js +2 -0
  100. package/esm2015/query-builder/common/model/operator-unit.js +42 -0
  101. package/esm2015/query-builder/common/model/operator.js +207 -0
  102. package/esm2015/query-builder/common/model/structure.js +2 -0
  103. package/esm2015/query-builder/common/model/type-map.js +27 -0
  104. package/esm2015/query-builder/common/model/type.js +6 -0
  105. package/esm2015/query-builder/common/services/output-query.service.js +111 -0
  106. package/esm2015/query-builder/common/services/type-convertor.service.js +40 -0
  107. package/esm2015/query-builder/pepperi-addons-ngx-lib-query-builder.js +9 -0
  108. package/esm2015/query-builder/public-api.js +8 -0
  109. package/esm2015/query-builder/query-builder-item/query-builder-item.component.js +116 -0
  110. package/esm2015/query-builder/query-builder-section/query-builder-section.component.js +64 -0
  111. package/esm2015/query-builder/query-builder.component.js +104 -0
  112. package/esm2015/query-builder/query-builder.module.js +35 -0
  113. package/esm2015/query-builder/query-builder.service.js +282 -0
  114. package/esm2015/rich-html-textarea/rich-html-textarea.component.js +8 -3
  115. package/esm2015/select/select.component.js +8 -3
  116. package/esm2015/separator/separator.component.js +10 -2
  117. package/esm2015/side-bar/side-bar.component.js +2 -2
  118. package/esm2015/signature/signature.component.js +8 -3
  119. package/esm2015/slider/slider.component.js +2 -2
  120. package/esm2015/smart-filters/boolean-filter/boolean-filter.component.js +23 -3
  121. package/esm2015/smart-filters/common/model/base-filter-component.js +35 -8
  122. package/esm2015/smart-filters/common/model/creator.js +8 -2
  123. package/esm2015/smart-filters/common/model/field.js +12 -1
  124. package/esm2015/smart-filters/common/model/operator.js +8 -8
  125. package/esm2015/smart-filters/common/model/type.js +1 -1
  126. package/esm2015/smart-filters/date-filter/date-filter.component.js +45 -2
  127. package/esm2015/smart-filters/multi-select-filter/multi-select-filter.component.js +53 -14
  128. package/esm2015/smart-filters/number-filter/number-filter.component.js +27 -2
  129. package/esm2015/smart-filters/public-api.js +2 -1
  130. package/esm2015/smart-filters/smart-filters.component.js +2 -2
  131. package/esm2015/smart-filters/smart-filters.module.js +16 -3
  132. package/esm2015/smart-filters/text-filter/text-filter.component.js +79 -0
  133. package/esm2015/textarea/textarea.component.js +8 -3
  134. package/esm2015/textbox/textbox.component.js +6 -4
  135. package/esm2015/top-bar/top-bar.component.js +2 -2
  136. package/fesm2015/pepperi-addons-ngx-lib-address.js +1 -1
  137. package/fesm2015/pepperi-addons-ngx-lib-address.js.map +1 -1
  138. package/fesm2015/pepperi-addons-ngx-lib-attachment.js +7 -2
  139. package/fesm2015/pepperi-addons-ngx-lib-attachment.js.map +1 -1
  140. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js +1 -1
  141. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js.map +1 -1
  142. package/fesm2015/pepperi-addons-ngx-lib-button.js +1 -1
  143. package/fesm2015/pepperi-addons-ngx-lib-button.js.map +1 -1
  144. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js +4 -1
  145. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js.map +1 -1
  146. package/fesm2015/pepperi-addons-ngx-lib-color.js +8 -3
  147. package/fesm2015/pepperi-addons-ngx-lib-color.js.map +1 -1
  148. package/fesm2015/pepperi-addons-ngx-lib-date.js +4 -1
  149. package/fesm2015/pepperi-addons-ngx-lib-date.js.map +1 -1
  150. package/fesm2015/pepperi-addons-ngx-lib-dialog.js +1 -1
  151. package/fesm2015/pepperi-addons-ngx-lib-dialog.js.map +1 -1
  152. package/fesm2015/pepperi-addons-ngx-lib-field-title.js +1 -1
  153. package/fesm2015/pepperi-addons-ngx-lib-field-title.js.map +1 -1
  154. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js +1 -1
  155. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js.map +1 -1
  156. package/fesm2015/pepperi-addons-ngx-lib-form.js +19 -16
  157. package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
  158. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js +1 -1
  159. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js.map +1 -1
  160. package/fesm2015/pepperi-addons-ngx-lib-image.js +7 -2
  161. package/fesm2015/pepperi-addons-ngx-lib-image.js.map +1 -1
  162. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js +7 -2
  163. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js.map +1 -1
  164. package/fesm2015/pepperi-addons-ngx-lib-list.js +3 -3
  165. package/fesm2015/pepperi-addons-ngx-lib-list.js.map +1 -1
  166. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js +7 -2
  167. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js.map +1 -1
  168. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js +1014 -0
  169. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js.map +1 -0
  170. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js +7 -2
  171. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js.map +1 -1
  172. package/fesm2015/pepperi-addons-ngx-lib-select.js +7 -2
  173. package/fesm2015/pepperi-addons-ngx-lib-select.js.map +1 -1
  174. package/fesm2015/pepperi-addons-ngx-lib-separator.js +9 -1
  175. package/fesm2015/pepperi-addons-ngx-lib-separator.js.map +1 -1
  176. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js +1 -1
  177. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js.map +1 -1
  178. package/fesm2015/pepperi-addons-ngx-lib-signature.js +7 -2
  179. package/fesm2015/pepperi-addons-ngx-lib-signature.js.map +1 -1
  180. package/fesm2015/pepperi-addons-ngx-lib-slider.js +1 -1
  181. package/fesm2015/pepperi-addons-ngx-lib-slider.js.map +1 -1
  182. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js +293 -36
  183. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js.map +1 -1
  184. package/fesm2015/pepperi-addons-ngx-lib-textarea.js +7 -2
  185. package/fesm2015/pepperi-addons-ngx-lib-textarea.js.map +1 -1
  186. package/fesm2015/pepperi-addons-ngx-lib-textbox.js +5 -3
  187. package/fesm2015/pepperi-addons-ngx-lib-textbox.js.map +1 -1
  188. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js +1 -1
  189. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js.map +1 -1
  190. package/fesm2015/pepperi-addons-ngx-lib.js +3 -1
  191. package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
  192. package/field-title/field-title.component.theme.scss +0 -2
  193. package/field-title/pepperi-addons-ngx-lib-field-title.metadata.json +1 -1
  194. package/files-uploader/files-uploader.component.theme.scss +3 -2
  195. package/files-uploader/pepperi-addons-ngx-lib-files-uploader.metadata.json +1 -1
  196. package/form/indicators.component.theme.scss +5 -5
  197. package/form/internal-button.component.d.ts +0 -1
  198. package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
  199. package/group-buttons/group-buttons.component.theme.scss +11 -11
  200. package/group-buttons/pepperi-addons-ngx-lib-group-buttons.metadata.json +1 -1
  201. package/image/image.component.d.ts +1 -0
  202. package/image/image.component.theme.scss +28 -27
  203. package/image/pepperi-addons-ngx-lib-image.metadata.json +1 -1
  204. package/images-filmstrip/images-filmstrip.component.d.ts +1 -0
  205. package/images-filmstrip/images-filmstrip.component.theme.scss +27 -26
  206. package/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.metadata.json +1 -1
  207. package/list/list-total.component.theme.scss +6 -6
  208. package/list/pepperi-addons-ngx-lib-list.metadata.json +1 -1
  209. package/package.json +5 -5
  210. package/page-layout/page-layout.component.theme.scss +6 -6
  211. package/pepperi-addons-ngx-lib.metadata.json +1 -1
  212. package/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.metadata.json +1 -1
  213. package/quantity-selector/quantity-selector.component.d.ts +1 -0
  214. package/quantity-selector/quantity-selector.component.theme.scss +21 -21
  215. package/query-builder/common/model/field.d.ts +8 -0
  216. package/query-builder/common/model/filter.d.ts +6 -0
  217. package/query-builder/common/model/legacy.d.ts +29 -0
  218. package/query-builder/common/model/operator-unit.d.ts +13 -0
  219. package/query-builder/common/model/operator.d.ts +21 -0
  220. package/query-builder/common/model/structure.d.ts +4 -0
  221. package/query-builder/common/model/type-map.d.ts +12 -0
  222. package/query-builder/common/model/type.d.ts +4 -0
  223. package/query-builder/common/services/output-query.service.d.ts +44 -0
  224. package/query-builder/common/services/type-convertor.service.d.ts +10 -0
  225. package/query-builder/package.json +14 -0
  226. package/query-builder/pepperi-addons-ngx-lib-query-builder.d.ts +8 -0
  227. package/query-builder/pepperi-addons-ngx-lib-query-builder.metadata.json +1 -0
  228. package/query-builder/public-api.d.ts +4 -0
  229. package/query-builder/query-builder-item/query-builder-item.component.d.ts +37 -0
  230. package/query-builder/query-builder-section/query-builder-section.component.d.ts +27 -0
  231. package/query-builder/query-builder-section/query-builder-section.component.theme.scss +7 -0
  232. package/query-builder/query-builder.component.d.ts +35 -0
  233. package/query-builder/query-builder.module.d.ts +2 -0
  234. package/query-builder/query-builder.service.d.ts +94 -0
  235. package/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.metadata.json +1 -1
  236. package/rich-html-textarea/rich-html-textarea.component.d.ts +1 -0
  237. package/rich-html-textarea/rich-html-textarea.component.theme.scss +77 -70
  238. package/select/pepperi-addons-ngx-lib-select.metadata.json +1 -1
  239. package/select/select.component.d.ts +1 -0
  240. package/select/select.component.theme.scss +98 -2
  241. package/separator/pepperi-addons-ngx-lib-separator.metadata.json +1 -1
  242. package/separator/separator.component.theme.scss +1 -1
  243. package/side-bar/pepperi-addons-ngx-lib-side-bar.metadata.json +1 -1
  244. package/side-bar/side-bar.component.theme.scss +17 -16
  245. package/signature/pepperi-addons-ngx-lib-signature.metadata.json +1 -1
  246. package/signature/signature.component.d.ts +1 -0
  247. package/signature/signature.component.theme.scss +5 -21
  248. package/slider/pepperi-addons-ngx-lib-slider.metadata.json +1 -1
  249. package/slider/slider.component.theme.scss +54 -53
  250. package/smart-filters/boolean-filter/boolean-filter.component.d.ts +6 -1
  251. package/smart-filters/common/model/base-filter-component.d.ts +7 -0
  252. package/smart-filters/common/model/field.d.ts +4 -0
  253. package/smart-filters/common/model/operator.d.ts +1 -0
  254. package/smart-filters/common/model/type.d.ts +2 -2
  255. package/smart-filters/date-filter/date-filter.component.d.ts +8 -1
  256. package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +6 -0
  257. package/smart-filters/number-filter/number-filter.component.d.ts +5 -0
  258. package/smart-filters/pepperi-addons-ngx-lib-smart-filters.metadata.json +1 -1
  259. package/smart-filters/public-api.d.ts +1 -0
  260. package/smart-filters/smart-filters.component.theme.scss +6 -7
  261. package/smart-filters/text-filter/text-filter.component.d.ts +17 -0
  262. package/src/assets/i18n/en.ngx-lib.json +2 -1
  263. package/src/core/style/abstracts/breakpoints.scss +4 -2
  264. package/src/core/style/abstracts/functions.scss +232 -216
  265. package/src/core/style/abstracts/mixins.scss +191 -188
  266. package/src/core/style/base/base.scss +125 -124
  267. package/src/core/style/base/grids.scss +1 -1
  268. package/src/core/style/base/typography.scss +66 -62
  269. package/src/core/style/components/button.scss +57 -60
  270. package/src/core/style/components/checkbox.scss +41 -38
  271. package/src/core/style/components/datetime.scss +182 -22
  272. package/src/core/style/components/file.scss +159 -141
  273. package/src/core/style/components/general.scss +176 -287
  274. package/src/core/style/components/input.scss +22 -24
  275. package/src/core/style/components/quantity-selector.scss +15 -12
  276. package/src/core/style/components/radio-button.scss +22 -38
  277. package/src/core/style/components/select.scss +184 -182
  278. package/src/core/style/components/signature.scss +14 -12
  279. package/src/core/style/components/splitter.scss +58 -55
  280. package/src/core/style/components/textarea.scss +90 -78
  281. package/textarea/pepperi-addons-ngx-lib-textarea.metadata.json +1 -1
  282. package/textarea/textarea.component.d.ts +1 -0
  283. package/textarea/textarea.component.theme.scss +3 -2
  284. package/textbox/pepperi-addons-ngx-lib-textbox.metadata.json +1 -1
  285. package/textbox/textbox.component.theme.scss +1 -1
  286. package/theming.scss +50 -144
  287. package/top-bar/pepperi-addons-ngx-lib-top-bar.metadata.json +1 -1
  288. package/top-bar/top-bar.component.theme.scss +7 -7
  289. package/form/form.component.theme.scss +0 -2
  290. package/form/internal-button.component.theme.scss +0 -2
  291. package/form/internal-menu.component.theme.scss +0 -3
  292. package/list/list-actions.component.theme.scss +0 -3
  293. package/list/list-carousel.component.theme.scss +0 -9
  294. package/list/list-chooser.component.theme.scss +0 -3
  295. package/list/list-pager.component.theme.scss +0 -3
  296. package/list/list-sorting.component.theme.scss +0 -3
  297. package/list/list-views.component.theme.scss +0 -3
  298. package/list/list.component.theme.scss +0 -5
  299. package/list/list_old.component.theme.scss +0 -5
  300. package/menu/menu.component.theme.scss +0 -2
  301. package/search/search.component.theme.scss +0 -3
  302. package/textbox-icon/textbox-icon.component.theme.scss +0 -3
@@ -1,9 +1,13 @@
1
+ @use '../abstracts/variables';
2
+ @use '../abstracts/mixins';
3
+ @use '../abstracts/functions';
4
+
1
5
  .pepperi-report-fields, .pep-report-fields {
2
6
  height: inherit;
3
7
 
4
8
  span {
5
9
  display: block;
6
- @include ellipsis();
10
+ @include mixins.ellipsis();
7
11
  }
8
12
  }
9
13
 
@@ -12,8 +16,8 @@
12
16
  // -----------------------------------------------------
13
17
  .mat-form-title {
14
18
  margin: 0;
15
- padding: $spacing-2xs 0;
16
- height: $form-field-title-height;
19
+ padding: variables.$spacing-2xs 0;
20
+ height: variables.$form-field-title-height;
17
21
  line-height: 1rem;
18
22
  // display: block;
19
23
  display: grid;
@@ -27,7 +31,7 @@
27
31
  }
28
32
 
29
33
  mat-label {
30
- @include ellipsis();
34
+ @include mixins.ellipsis();
31
35
  display: inline-block; // WAS UNSET , CAUSE TO LABEL TO BE LONGER THEN THE CONTAINER - AVNER ,
32
36
  // Than was blocked - cause the label to catch 100% of the row -> prob whith limited line
33
37
  vertical-align: top;
@@ -50,27 +54,27 @@
50
54
 
51
55
  @mixin pep-field-icon($inside-button: false) {
52
56
  .mat-icon {
53
- height: calc(#{$form-field-button-size});
54
- width: calc(#{$form-field-button-size});
57
+ height: calc(#{variables.$form-field-button-size});
58
+ width: calc(#{variables.$form-field-button-size});
55
59
 
56
60
  .svg-icon {
57
- height: $form-field-button-icon-size; // 1rem;
58
- width: $form-field-button-icon-size; // 1rem;
61
+ height: variables.$form-field-button-icon-size; // 1rem;
62
+ width: variables.$form-field-button-icon-size; // 1rem;
59
63
  }
60
64
  }
61
65
 
62
66
  @if ($inside-button) {
63
67
  &.regular {
64
68
  .mat-icon {
65
- height: calc(#{$form-field-button-size} - 2px); // - 2px is the border size of the regular
66
- width: calc(#{$form-field-button-size} - 2px); // - 2px is the border size of the regular
69
+ height: calc(#{variables.$form-field-button-size} - 2px); // - 2px is the border size of the regular
70
+ width: calc(#{variables.$form-field-button-size} - 2px); // - 2px is the border size of the regular
67
71
  }
68
72
  }
69
73
  }
70
74
  }
71
75
 
72
76
  .mat-form-field {
73
- @include fix-inline-z-index();
77
+ @include mixins.fix-inline-z-index();
74
78
  display: flow-root !important;
75
79
  width: 100%;
76
80
 
@@ -80,10 +84,10 @@
80
84
  padding-bottom: 0;
81
85
 
82
86
  .mat-form-field-flex {
83
- padding-left: $spacing-md;
84
- padding-right: $spacing-md;
87
+ padding-left: variables.$spacing-md;
88
+ padding-right: variables.$spacing-md;
85
89
  margin: 0;
86
- min-height: $form-field-height; // 2.5rem;
90
+ min-height: variables.$form-field-height; // 2.5rem;
87
91
  align-items: center;
88
92
 
89
93
  .mat-form-field-outline {
@@ -95,7 +99,7 @@
95
99
  top: 0; // Override material default.
96
100
  display: flex;
97
101
  align-self: center;
98
- z-index: $z-index-lowest + 1;
102
+ z-index: variables.$z-index-lowest + 1;
99
103
 
100
104
  @include pep-field-icon();
101
105
 
@@ -104,8 +108,8 @@
104
108
  line-height: unset;
105
109
  padding: unset;
106
110
 
107
- height: $form-field-button-size; // 1.5rem;
108
- width: $form-field-button-size; // 1.5rem;
111
+ height: variables.$form-field-button-size; // 1.5rem;
112
+ width: variables.$form-field-button-size; // 1.5rem;
109
113
 
110
114
  @include pep-field-icon(true);
111
115
  }
@@ -120,7 +124,7 @@
120
124
 
121
125
  .mat-input-element {
122
126
  // vertical-align: unset;
123
- z-index: $z-index-lowest;
127
+ z-index: variables.$z-index-lowest;
124
128
  margin-top: unset;
125
129
  text-overflow: ellipsis;
126
130
  }
@@ -135,42 +139,42 @@
135
139
  position: relative;
136
140
  margin-top: 0;
137
141
  padding: 0;
138
- font-weight: $font-weight-bold;
139
- z-index: $z-index-medium - 4;
140
- border-radius: $border-radius-md;
142
+ font-weight: variables.$font-weight-bold;
143
+ z-index: variables.$z-index-medium - 4;
144
+ border-radius: variables.$border-radius-md;
141
145
 
142
146
  .mat-error {
143
- padding: $spacing-xs $spacing-sm;
147
+ padding: variables.$spacing-xs variables.$spacing-sm;
144
148
  }
145
149
  }
146
150
  }
147
151
 
148
152
  .mat-form-field-flex {
149
- border-radius: $border-radius-md;
153
+ border-radius: variables.$border-radius-md;
150
154
  }
151
155
 
152
156
  }
153
157
 
154
158
  @mixin pep-field-size($size: 'md') {
155
159
  // Default is md
156
- $field-height: $spacing-3xl;
157
- $field-padding: $spacing-md;
160
+ $field-height: variables.$spacing-3xl;
161
+ $field-padding: variables.$spacing-md;
158
162
 
159
163
  @if $size == 'xl' {
160
- $field-height: $spacing-5xl;
161
- $field-padding: $spacing-xl;
164
+ $field-height: variables.$spacing-5xl;
165
+ $field-padding: variables.$spacing-xl;
162
166
  }
163
167
  @else if $size == 'lg' {
164
- $field-height: $spacing-4xl;
165
- $field-padding: $spacing-lg;
168
+ $field-height: variables.$spacing-4xl;
169
+ $field-padding: variables.$spacing-lg;
166
170
  }
167
171
  @else if $size == 'sm' {
168
- $field-height: $spacing-2xl;
169
- $field-padding: $spacing-sm;
172
+ $field-height: variables.$spacing-2xl;
173
+ $field-padding: variables.$spacing-sm;
170
174
  }
171
175
  @else if $size == 'xs' {
172
- $field-height: $spacing-xl;
173
- $field-padding: $spacing-xs;
176
+ $field-height: variables.$spacing-xl;
177
+ $field-padding: variables.$spacing-xs;
174
178
  }
175
179
 
176
180
  .mat-form-field .mat-form-field-wrapper {
@@ -212,8 +216,8 @@
212
216
  // Form view
213
217
  // ------------------------
214
218
  .form-view {
215
- margin-top: $content-margin;
216
- margin-bottom: $content-margin;
219
+ margin-top: variables.$content-margin;
220
+ margin-bottom: variables.$content-margin;
217
221
  margin-inline: 0.25rem;
218
222
  }
219
223
 
@@ -221,43 +225,36 @@
221
225
  // ------------------------
222
226
  $sorting-width: 1rem;
223
227
 
224
- // .below-sticky-top-bar {
225
- // .table-header {
226
- // top: calc(#{$top-bar-height});
227
- // }
228
- // }
229
-
230
228
  .table-header {
231
229
  position: sticky;
232
- z-index: $z-index-medium - 5;
233
- // @include box-sizing(border-box);
230
+ z-index: variables.$z-index-medium - 5;
234
231
  box-sizing: border-box;
235
232
  width: inherit;
236
- height: calc(#{$table-field-height} + #{$table-spacing} + #{$table-half-spacing});
233
+ height: calc(#{variables.$table-field-height} + #{variables.$table-spacing} + #{variables.$table-half-spacing});
237
234
 
238
235
  .table-header-padding-top {
239
- height: $table-spacing;
236
+ height: variables.$table-spacing;
240
237
  width: 100%;
241
238
  }
242
239
 
243
240
  .row-selection {
244
- margin: 0 calc(#{$spacing-sm} + calc(#{$spacing-xs} / 2)); // 0 0.625rem;
241
+ margin: 0 calc(#{variables.$spacing-sm} + calc(#{variables.$spacing-xs} / 2)); // 0 0.625rem;
245
242
  height: inherit;
246
243
  display: flex;
247
244
  align-items: center;
248
245
  }
249
246
 
250
247
  .table-header-fieldset {
251
- border-radius: $table-border-radius;
252
- height: $table-field-height; // 2rem;
253
- margin-bottom: $table-half-spacing; // 0.25rem;
248
+ border-radius: variables.$table-border-radius;
249
+ height: variables.$table-field-height; // 2rem;
250
+ margin-bottom: variables.$table-half-spacing; // 0.25rem;
254
251
 
255
252
  fieldset {
256
253
  height: inherit;
257
254
  }
258
255
 
259
256
  .header-column {
260
- padding: 0 $spacing-sm;
257
+ padding: 0 variables.$spacing-sm;
261
258
  box-sizing: border-box;
262
259
  //cursor: pointer;
263
260
  height: inherit;
@@ -266,23 +263,22 @@ $sorting-width: 1rem;
266
263
 
267
264
  .header-label {
268
265
  width: 100%;
269
- // @include box-sizing(border-box);
270
266
  box-sizing: border-box;
271
267
  user-select: none;
272
- // @include calc(max-width, '100% - 0');
273
268
  max-width: 100%;
274
- @include ellipsis();
269
+ @include mixins.ellipsis();
275
270
  font-weight: 600 !important;
276
271
  line-height: 2rem !important;
277
272
  margin-bottom: 0;
278
273
  // cursor: text;
279
- display: flex;
274
+ display: block; // flex; with flex the ellipsis is not working.
280
275
  align-items: center;
281
276
 
282
277
  .required,
283
278
  .mandatory {
284
279
  height: 0.75rem;
285
280
  width: 0.75rem;
281
+ display: inline-block;
286
282
  }
287
283
  }
288
284
 
@@ -324,17 +320,16 @@ $sorting-width: 1rem;
324
320
  .resize-box {
325
321
  display: none;
326
322
  cursor: w-resize;
327
- margin-inline-end: calc((#{$spacing-sm} + #{$sorting-width}) * -1); // header column padding + sorting width.
328
- height: $table-field-height; // 2rem;
323
+ margin-inline-end: calc((#{variables.$spacing-sm} + #{$sorting-width}) * -1); // header column padding + sorting width.
324
+ height: variables.$table-field-height; // 2rem;
329
325
  align-items: center;
330
326
 
331
327
  // .mat-icon,
332
328
  .splitter {
333
329
  width: 0.125rem;
334
330
  height: 1rem;
335
- line-height: $table-field-height; // 2rem;
336
- // padding: 0 0.625rem 0 0.375rem;
337
-
331
+ line-height: variables.$table-field-height; // 2rem;
332
+
338
333
  padding-inline-end: 0.425rem;
339
334
  border:none;
340
335
  border-inline-end-width: 1px;
@@ -371,22 +366,18 @@ $sorting-width: 1rem;
371
366
  }
372
367
 
373
368
  &.is-first {
374
- // border-radius: $table-border-radius 0 0 $table-border-radius;
375
- border-start-start-radius: $table-border-radius;
376
- border-start-end-radius: $table-border-radius;
369
+ border-start-start-radius: variables.$table-border-radius;
370
+ border-start-end-radius: variables.$table-border-radius;
377
371
  }
378
372
 
379
373
  &.is-last {
380
- // border-radius: 0 $table-border-radius $table-border-radius 0;
381
- border-start-end-radius: $table-border-radius;
382
- border-end-end-radius: $table-border-radius;
374
+ border-start-end-radius: variables.$table-border-radius;
375
+ border-end-end-radius: variables.$table-border-radius;
383
376
 
384
377
  &:hover {
385
378
  .resize-box {
386
- // width: 1rem;
387
- // border-radius: 0 $table-border-radius $table-border-radius 0;
388
- border-start-end-radius: $table-border-radius;
389
- border-end-end-radius: $table-border-radius;
379
+ border-start-end-radius: variables.$table-border-radius;
380
+ border-end-end-radius: variables.$table-border-radius;
390
381
  }
391
382
  }
392
383
  }
@@ -399,77 +390,23 @@ $sorting-width: 1rem;
399
390
  }
400
391
  }
401
392
  }
402
- [dir='rtl'] {
403
- .table-header {
404
- .table-header-fieldset {
405
- .header-column {
406
- // .resize-box {
407
- // // margin-right: unset;
408
- // // margin-left: calc((#{$spacing-sm} + #{$sorting-width}) * -1); // header column padding + sorting width.
409
-
410
- // // .mat-icon,
411
- // .splitter {
412
- // // padding-right: unset;
413
- // // padding-left: 0.425rem;
414
-
415
- // // border:none;
416
- // // border-left-width: 1px;
417
- // // border-left-style: dashed;
418
- // }
419
- // }
420
-
421
- // &:hover {
422
- // &.support-sorting {
423
- // .header-label {
424
- // padding-right: unset;
425
- // padding-left: 1rem;
426
- // }
427
- // }
428
- // }
429
-
430
- // &.has-sorting {
431
- // &.support-sorting {
432
- // .header-label {
433
- // padding-right: unset;
434
- // padding-left: 1rem;
435
- // }
436
- // }
437
- // }
438
-
439
- // &.is-first {
440
- // border-radius: 0 $table-border-radius $table-border-radius 0;
441
- // }
442
-
443
- // &.is-last {
444
- // border-radius: $table-border-radius 0 0 $table-border-radius;
445
-
446
- // &:hover {
447
- // .resize-box {
448
- // border-radius: $table-border-radius 0 0 $table-border-radius;
449
- // }
450
- // }
451
- // }
452
- }
453
- }
454
- }
455
- }
456
393
 
457
394
  .table-body {
458
395
  width: inherit;
459
396
  position: relative;
460
397
 
461
398
  .table-row {
462
- // @include box-sizing(border-box);
399
+ // @include mixins.box-sizing(border-box);
463
400
  box-sizing: border-box;
464
401
  width: inherit;
465
- height: $table-row-height; // 3rem;
466
- padding: $table-half-spacing 0; // 0.25rem 0;
467
- // padding: $table-half-spacing $spacing-sm; // 0.25rem 0.5rem;
468
- border-radius: $table-border-radius;
402
+ height: variables.$table-row-height; // 3rem;
403
+ padding: variables.$table-half-spacing 0; // 0.25rem 0;
404
+ // padding: variables.$table-half-spacing variables.$spacing-sm; // 0.25rem 0.5rem;
405
+ border-radius: variables.$table-border-radius;
469
406
 
470
407
  .row-selection {
471
- margin: 0 calc(#{$spacing-sm} + #{$spacing-2xs});
472
- height: $table-row-fieldset-height; // 2.5rem;
408
+ margin: 0 calc(#{variables.$spacing-sm} + #{variables.$spacing-2xs});
409
+ height: variables.$table-row-fieldset-height; // 2.5rem;
473
410
  display: flex;
474
411
  align-items: center;
475
412
 
@@ -479,27 +416,27 @@ $sorting-width: 1rem;
479
416
  }
480
417
 
481
418
  fieldset {
482
- height: $table-row-fieldset-height; // 2.5rem;
483
- border-radius: $table-border-radius;
484
- // padding: 0 $spacing-2xs;
419
+ height: variables.$table-row-fieldset-height; // 2.5rem;
420
+ border-radius: variables.$table-border-radius;
421
+ // padding: 0 variables.$spacing-2xs;
485
422
  .table-cell {
486
423
  box-sizing: border-box;
487
- padding: 0 $spacing-2xs;
424
+ padding: 0 variables.$spacing-2xs;
488
425
 
489
426
  &:first-of-type {
490
- // padding: 0 $spacing-2xs 0 $spacing-xs;
491
- padding-inline: $spacing-xs $spacing-2xs;
427
+ // padding: 0 variables.$spacing-2xs 0 variables.$spacing-xs;
428
+ padding-inline: variables.$spacing-xs variables.$spacing-2xs;
492
429
  }
493
430
 
494
431
  &:last-of-type {
495
- // padding: 0 $spacing-xs 0 $spacing-2xs;
496
- padding-inline: $spacing-2xs $spacing-xs;
432
+ // padding: 0 variables.$spacing-xs 0 variables.$spacing-2xs;
433
+ padding-inline: variables.$spacing-2xs variables.$spacing-xs;
497
434
  }
498
435
  }
499
436
 
500
437
  .pepperi-input, .pep-input {
501
- padding: 0 $spacing-md;
502
- height: $table-field-height; // 2rem;
438
+ padding: 0 variables.$spacing-md;
439
+ height: variables.$table-field-height; // 2rem;
503
440
  }
504
441
 
505
442
  // -----------------------------------------------------
@@ -507,14 +444,14 @@ $sorting-width: 1rem;
507
444
  // -----------------------------------------------------
508
445
  .mat-form-field .mat-form-field-wrapper {
509
446
  .mat-form-field-flex {
510
- min-height: $table-field-height; // 2rem;
511
- height: $table-field-height; // 2rem;
512
- padding: 0 $spacing-xs;
447
+ min-height: variables.$table-field-height; // 2rem;
448
+ height: variables.$table-field-height; // 2rem;
449
+ padding: 0 variables.$spacing-xs;
513
450
  }
514
451
 
515
452
  // .mat-select-arrow {
516
- // margin-right: $spacing-xs;
517
- // margin-left: $spacing-xs;
453
+ // margin-right: variables.$spacing-xs;
454
+ // margin-left: variables.$spacing-xs;
518
455
  // }
519
456
  }
520
457
  }
@@ -524,25 +461,7 @@ $sorting-width: 1rem;
524
461
  &:active,
525
462
  &.selected {
526
463
  .pepperi-form, .pep-form {
527
- z-index: $z-index-lowest + 1;
528
- }
529
- }
530
- }
531
- }
532
-
533
- [dir='rtl'] {
534
- .table-body {
535
- .table-row {
536
- fieldset {
537
- .table-cell {
538
- // &:first-of-type {
539
- // padding: 0 $spacing-xs 0 $spacing-2xs;
540
- // }
541
-
542
- // &:last-of-type {
543
- // padding: 0 $spacing-2xs 0 $spacing-xs;
544
- // }
545
- }
464
+ z-index: variables.$z-index-lowest + 1;
546
465
  }
547
466
  }
548
467
  }
@@ -550,34 +469,34 @@ $sorting-width: 1rem;
550
469
 
551
470
  .table-total {
552
471
  position: sticky;
553
- z-index: $z-index-medium - 5;
554
- // @include box-sizing(border-box);
472
+ z-index: variables.$z-index-medium - 5;
473
+ // @include mixins.box-sizing(border-box);
555
474
  box-sizing: border-box;
556
475
  width: inherit;
557
- height: calc(#{$table-field-height} + #{$table-spacing} + #{$table-half-spacing});
558
- padding-top: $table-half-spacing;
476
+ height: calc(#{variables.$table-field-height} + #{variables.$table-spacing} + #{variables.$table-half-spacing});
477
+ padding-top: variables.$table-half-spacing;
559
478
 
560
479
  .table-header-fieldset {
561
- border-radius: $table-border-radius;
562
- height: $table-field-height; // 2rem;
563
- margin-bottom: $table-half-spacing; // 0.25rem;
480
+ border-radius: variables.$table-border-radius;
481
+ height: variables.$table-field-height; // 2rem;
482
+ margin-bottom: variables.$table-half-spacing; // 0.25rem;
564
483
 
565
484
  .total-column {
566
- padding: 0 $spacing-sm;
485
+ padding: 0 variables.$spacing-sm;
567
486
  height: inherit;
568
487
  display: flex;
569
488
  align-items: center;
570
489
 
571
490
  .total-label {
572
491
  width: 100%;
573
- // @include box-sizing(border-box);
492
+ // @include mixins.box-sizing(border-box);
574
493
  box-sizing: border-box;
575
494
  user-select: none;
576
- // @include calc(max-width, '100% - 0');
495
+ // @include mixins.calc(max-width, '100% - 0');
577
496
  max-width: 100%;
578
- @include ellipsis();
579
- font-weight: $font-weight-bold !important;
580
- line-height: $table-field-height; // 2rem !important;
497
+ @include mixins.ellipsis();
498
+ font-weight: variables.$font-weight-bold !important;
499
+ line-height: variables.$table-field-height; // 2rem !important;
581
500
  margin-bottom: 0;
582
501
  }
583
502
  }
@@ -588,7 +507,7 @@ $sorting-width: 1rem;
588
507
  .pager-container {
589
508
  position: sticky;
590
509
  bottom: 0;
591
- z-index: $z-index-medium - 5;
510
+ z-index: variables.$z-index-medium - 5;
592
511
  width: inherit;
593
512
  height: auto;
594
513
  }
@@ -599,8 +518,8 @@ $sorting-width: 1rem;
599
518
  // ------------------------
600
519
  .cards-body {
601
520
  position: relative;
602
- margin: 0 (calc(#{$content-margin} * -1) / 2); // -0.5rem;
603
- padding-bottom: $content-padding;
521
+ margin: 0 (calc(#{variables.$content-margin} * -1) / 2); // -0.5rem;
522
+ padding-bottom: variables.$content-padding;
604
523
  }
605
524
 
606
525
  .line-view,
@@ -609,22 +528,22 @@ $sorting-width: 1rem;
609
528
  padding: 0 !important;
610
529
 
611
530
  .card-selection {
612
- // margin: $spacing-xs calc(#{$content-margin} * -1) 0 $spacing-xs;
613
- margin-top: $spacing-xs;
614
- margin-inline: $spacing-xs calc(#{$content-margin} * -1);
531
+ // margin: variables.$spacing-xs calc(#{variables.$content-margin} * -1) 0 variables.$spacing-xs;
532
+ margin-top: variables.$spacing-xs;
533
+ margin-inline: variables.$spacing-xs calc(#{variables.$content-margin} * -1);
615
534
  height: 1rem;
616
535
  width: 1rem;
617
536
  position: relative;
618
- z-index: $z-index-lowest;
537
+ z-index: variables.$z-index-lowest;
619
538
  }
620
539
 
621
540
  fieldset {
622
- border-radius: $card-border-radius;
623
- margin: $spacing-md; // spacing between cards.
541
+ border-radius: variables.$card-border-radius;
542
+ margin: variables.$spacing-md; // spacing between cards.
624
543
  position: relative;
625
544
 
626
545
  .card-spacing {
627
- margin: $spacing-lg !important; // spacing inside card.
546
+ margin: variables.$spacing-lg !important; // spacing inside card.
628
547
  }
629
548
 
630
549
  // Showing two labels in the same row with ellipsis.
@@ -640,8 +559,8 @@ $sorting-width: 1rem;
640
559
  .title {
641
560
  // flex-grow: 0;
642
561
  flex-shrink: 5000;
643
- @include ellipsis();
644
- // padding: $spacing-2xs;
562
+ @include mixins.ellipsis();
563
+ // padding: variables.$spacing-2xs;
645
564
  height: inherit;
646
565
 
647
566
  &.no-shrink {
@@ -654,8 +573,8 @@ $sorting-width: 1rem;
654
573
  .value {
655
574
  // flex-grow: 0;
656
575
  flex-shrink: 1;
657
- margin: 0 $spacing-xs;
658
- @include ellipsis();
576
+ margin: 0 variables.$spacing-xs;
577
+ @include mixins.ellipsis();
659
578
  height: inherit;
660
579
 
661
580
  &.wrap {
@@ -664,12 +583,12 @@ $sorting-width: 1rem;
664
583
  }
665
584
 
666
585
  .card-edit-button {
667
- flex-basis: $card-field-button-size;
586
+ flex-basis: variables.$card-field-button-size;
668
587
  flex-shrink: 0;
669
588
 
670
- width: $card-field-button-size;
671
- height: $card-field-button-size;
672
- line-height: $card-field-button-size;
589
+ width: variables.$card-field-button-size;
590
+ height: variables.$card-field-button-size;
591
+ line-height: variables.$card-field-button-size;
673
592
  min-width: unset;
674
593
  padding: 0;
675
594
  pointer-events: none;
@@ -681,11 +600,11 @@ $sorting-width: 1rem;
681
600
 
682
601
  .mat-icon {
683
602
  // line-height: 0.5rem !important;
684
- width: $card-field-button-icon-size;
603
+ width: variables.$card-field-button-icon-size;
685
604
 
686
605
  .svg-icon {
687
- width: $card-field-button-icon-size; // $card-field-button-size - 0.25rem !important;
688
- // height: $card-field-button-size - 0.25rem !important;
606
+ width: variables.$card-field-button-icon-size; // variables.$card-field-button-size - 0.25rem !important;
607
+ // height: variables.$card-field-button-size - 0.25rem !important;
689
608
  }
690
609
  }
691
610
  }
@@ -700,27 +619,27 @@ $sorting-width: 1rem;
700
619
  }
701
620
 
702
621
  .pepperi-button:not(.card-edit-button), .pep-button:not(.card-edit-button) {
703
- // height: $card-field-height !important; // 1.5rem !important;
622
+ // height: variables.$card-field-height !important; // 1.5rem !important;
704
623
  // line-height: 1.5rem !important;
705
- padding: 0 $spacing-xs;
624
+ padding: 0 variables.$spacing-xs;
706
625
  }
707
626
 
708
627
  .mat-form-field .mat-form-field-wrapper {
709
628
  .mat-form-field-flex {
710
- height: $card-field-height !important; // 1.5rem !important;
711
- min-height: $card-field-height; // 1.5rem;
712
- padding: 0 $spacing-xs;
629
+ height: variables.$card-field-height !important; // 1.5rem !important;
630
+ min-height: variables.$card-field-height; // 1.5rem;
631
+ padding: 0 variables.$spacing-xs;
713
632
  }
714
633
 
715
634
  .pepperi-button, .pep-button,
716
635
  .mat-select-trigger,
717
636
  .mat-form-field-infix {
718
- height: $card-field-height !important; // 1.5rem !important;
719
- // line-height: $card-field-height !important;
637
+ height: variables.$card-field-height !important; // 1.5rem !important;
638
+ // line-height: variables.$card-field-height !important;
720
639
  }
721
640
 
722
641
  .mat-input-element {
723
- font-size: $fs-sm !important;
642
+ font-size: variables.$fs-sm !important;
724
643
  // line-height: inherit !important;
725
644
  }
726
645
  }
@@ -748,125 +667,100 @@ $sorting-width: 1rem;
748
667
  $screen-almost-full-width: 99.99%;
749
668
 
750
669
  /* > XLarge */
751
- @media (min-width: $screen-max-size-xl) {
752
- // @include calc(min-width, $screen-almost-full-width + ' / 6');
670
+ @media (min-width: variables.$screen-max-size-xl) {
753
671
  min-width: calc(#{$screen-almost-full-width} / 6);
754
672
 
755
673
  &.small-card {
756
- // @include calc(min-width, $screen-almost-full-width + ' / 8');
757
674
  min-width: calc(#{$screen-almost-full-width} / 8);
758
675
  }
759
676
 
760
677
  &.x-small-card {
761
- // @include calc(min-width, $screen-almost-full-width + ' / 9');
762
678
  min-width: calc(#{$screen-almost-full-width} / 9);
763
679
  }
764
680
  }
765
681
  /* Large - XLarge */
766
- @media (max-width: $screen-max-size-xl) and (min-width: $screen-max-size-lg) {
767
- // @include calc(min-width, $screen-almost-full-width + ' / 4');
682
+ @media (max-width: variables.$screen-max-size-xl) and (min-width: variables.$screen-max-size-lg) {
768
683
  min-width: calc(#{$screen-almost-full-width} / 4);
769
684
 
770
685
  &.small-card {
771
- // @include calc(min-width, $screen-almost-full-width + ' / 6');
772
686
  min-width: calc(#{$screen-almost-full-width} / 6);
773
687
  }
774
688
 
775
689
  &.x-small-card {
776
- // @include calc(min-width, $screen-almost-full-width + ' / 7');
777
690
  min-width: calc(#{$screen-almost-full-width} / 7);
778
691
  }
779
692
  }
780
693
  /* Medium - Large */
781
- @media (max-width: $screen-max-size-lg) and (min-width: $screen-max-size-md) {
782
- // @include calc(min-width, $screen-almost-full-width + ' / 3');
694
+ @media (max-width: variables.$screen-max-size-lg) and (min-width: variables.$screen-max-size-md) {
783
695
  min-width: calc(#{$screen-almost-full-width} / 3);
784
696
 
785
697
  &.small-card {
786
- // @include calc(min-width, $screen-almost-full-width + ' / 4');
787
698
  min-width: calc(#{$screen-almost-full-width} / 4);
788
699
  }
789
700
 
790
701
  &.x-small-card {
791
- // @include calc(min-width, $screen-almost-full-width + ' / 5');
792
702
  min-width: calc(#{$screen-almost-full-width} / 5);
793
703
  }
794
704
  }
795
705
  /* Small - Medium */
796
- @media (max-width: $screen-max-size-md) and (min-width: $screen-max-size-sm) {
797
- // @include calc(min-width, $screen-almost-full-width + ' / 3');
706
+ @media (max-width: variables.$screen-max-size-md) and (min-width: variables.$screen-max-size-sm) {
798
707
  min-width: calc(#{$screen-almost-full-width} / 3);
799
708
 
800
709
  &.small-card {
801
- // @include calc(min-width, $screen-almost-full-width + ' / 3');
802
710
  min-width: calc(#{$screen-almost-full-width} / 3);
803
711
  }
804
712
 
805
713
  &.x-small-card {
806
- // @include calc(min-width, $screen-almost-full-width + ' / 4');
807
714
  min-width: calc(#{$screen-almost-full-width} / 4);
808
715
  }
809
716
  }
810
717
  /* Extra small - Small */
811
- @media (max-width: $screen-max-size-sm) and (min-width: $screen-max-size-xs) {
812
- // @include calc(min-width, $screen-almost-full-width + ' / 2');
718
+ @media (max-width: variables.$screen-max-size-sm) and (min-width: variables.$screen-max-size-xs) {
813
719
  min-width: calc(#{$screen-almost-full-width} / 2);
814
720
 
815
721
  &.small-card {
816
- // @include calc(min-width, $screen-almost-full-width + ' / 2');
817
722
  min-width: calc(#{$screen-almost-full-width} / 2);
818
723
  }
819
724
 
820
725
  &.x-small-card {
821
- // @include calc(min-width, $screen-almost-full-width + ' / 2');
822
726
  min-width: calc(#{$screen-almost-full-width} / 2);
823
727
  }
824
728
  }
825
729
  /* < Extra small */
826
- @media (max-width: $screen-max-size-xs) {
827
- // @include calc(min-width, $screen-almost-full-width + ' / 1');
730
+ @media (max-width: variables.$screen-max-size-xs) {
828
731
  min-width: calc(#{$screen-almost-full-width} / 1);
829
732
 
830
733
  &.small-card {
831
- // @include calc(min-width, $screen-almost-full-width + ' / 1');
832
734
  min-width: calc(#{$screen-almost-full-width} / 1);
833
735
  }
834
736
 
835
737
  &.x-small-card {
836
- // @include calc(min-width, $screen-almost-full-width + ' / 1');
837
738
  min-width: calc(#{$screen-almost-full-width} / 1);
838
739
  }
839
740
  }
840
741
  }
841
742
 
842
- [dir='rtl'] {
843
- .line-view,
844
- .card-view {
845
- // .card-selection {
846
- // margin: $spacing-xs $spacing-xs 0 calc(#{$content-margin} * -1);
847
- // }
848
- }
849
- }
850
-
851
743
  // Custom field (added for stand alone field).
852
744
  // ---------------------------------------------
853
745
  .pepperi-field, .pep-field {
854
- min-height: $form-row-height;
855
- margin-bottom: $form-spacing;
746
+ &:not(.pep-field-no-spacing) {
747
+ min-height: variables.$form-row-height;
748
+ margin-bottom: variables.$form-spacing;
749
+ }
856
750
  }
857
751
 
858
- @mixin pep-general-theme($pepperi-theme) {
752
+ @mixin pep-general-theme() {
859
753
  .required,
860
754
  .mandatory {
861
- color: get-pep-color($pepperi-theme, color-system-caution, color-base);
755
+ color: functions.get-pep-color(color-system-caution, color-base);
862
756
 
863
757
  .svg-icon {
864
- fill: get-pep-color($pepperi-theme, color-system-caution, color-base);
758
+ fill: functions.get-pep-color(color-system-caution, color-base);
865
759
  }
866
760
  }
867
761
 
868
762
  .svg-icon {
869
- @include state-icon($pepperi-theme);
763
+ @include mixins.state-icon();
870
764
  }
871
765
 
872
766
  .pepperi-report-fields, .pep-report-fields {
@@ -880,7 +774,7 @@ $sorting-width: 1rem;
880
774
  // -----------------------------------------------------
881
775
  .mat-form-title {
882
776
  &.disable {
883
- color: get-pep-color($pepperi-theme, color-text, color-dimmed);
777
+ color: functions.get-pep-color(color-text, color-dimmed);
884
778
  }
885
779
  }
886
780
 
@@ -898,51 +792,51 @@ $sorting-width: 1rem;
898
792
  .mat-form-field-wrapper {
899
793
  .mat-form-field-prefix,
900
794
  .mat-form-field-suffix {
901
- color: get-pep-color($pepperi-theme, color-weak, color-flat-r-20);
795
+ color: functions.get-pep-color(color-weak, color-flat-r-20);
902
796
 
903
797
  // For non icons symbols.
904
798
  .pep-text-icon {
905
- color: get-pep-color($pepperi-theme, color-weak, color-flat-r-20);
799
+ color: functions.get-pep-color(color-weak, color-flat-r-20);
906
800
  }
907
801
  }
908
802
 
909
803
  .mat-form-field-infix {
910
804
  .mat-input-element {
911
805
  &:disabled {
912
- color: get-pep-color($pepperi-theme, color-text, color-dimmed);
806
+ color: functions.get-pep-color(color-text, color-dimmed);
913
807
  }
914
808
  }
915
809
  }
916
810
  }
917
811
 
918
812
  .mat-form-field-flex {
919
- border-radius: $border-radius-md;
813
+ border-radius: variables.$border-radius-md;
920
814
  }
921
815
 
922
- @include pep-form-field-states($pepperi-theme);
816
+ @include mixins.pep-form-field-states();
923
817
 
924
818
  // Invalid (Error)
925
819
  &.mat-form-field-invalid {
926
820
  .mat-form-field-wrapper {
927
- @include state-error-wrapper($pepperi-theme);
821
+ @include mixins.state-error-wrapper();
928
822
 
929
823
  .mat-form-field-flex {
930
- @include state-error($pepperi-theme);
824
+ @include mixins.state-error();
931
825
  }
932
826
 
933
827
  .mat-form-field-subscript-wrapper {
934
- background: get-pep-color($pepperi-theme, color-system-caution, color-base);
828
+ background: functions.get-pep-color(color-system-caution, color-base);
935
829
 
936
830
  .mat-error {
937
- color: get-pep-color($pepperi-theme, color-text, color-invert);
831
+ color: functions.get-pep-color(color-text, color-invert);
938
832
  }
939
833
  }
940
834
  }
941
835
 
942
836
  // Focused & Error
943
837
  &.mat-focused .mat-form-field-wrapper {
944
- @include focus($pepperi-theme);
945
- z-index: $z-index-medium - 3; // To show error on table above the next row element.
838
+ @include mixins.focus();
839
+ z-index: variables.$z-index-medium - 3; // To show error on table above the next row element.
946
840
 
947
841
  .mat-form-field-flex {
948
842
  box-shadow: unset !important;
@@ -955,48 +849,48 @@ $sorting-width: 1rem;
955
849
  // ------------------------
956
850
  .table-total,
957
851
  .table-header {
958
- // @include state-list-body-default($pepperi-theme);
852
+ // @include mixins.state-list-body-default();
959
853
  background: transparent;
960
854
 
961
855
  .table-header-padding-top {
962
- background: get-pep-color($pepperi-theme, color-system-primary-invert, color-base);
856
+ background: functions.get-pep-color(color-system-primary-invert, color-base);
963
857
  }
964
858
 
965
859
  .table-header-fieldset {
966
- background-color: get-pep-color($pepperi-theme, color-weak, color-flat-r-30);
967
- color: get-pep-color($pepperi-theme, color-text, color-dimmed);
860
+ background-color: functions.get-pep-color(color-weak, color-flat-r-30);
861
+ color: functions.get-pep-color(color-text, color-dimmed);
968
862
 
969
863
  .header-column {
970
864
  .sorting-box {
971
865
  .mat-icon {
972
866
  .svg-icon {
973
- fill: get-pep-color($pepperi-theme, color-text, color-dimmed);
867
+ fill: functions.get-pep-color(color-text, color-dimmed);
974
868
  }
975
869
  }
976
870
  }
977
871
 
978
872
  .resize-box {
979
873
  .splitter {
980
- border-color: get-pep-color($pepperi-theme, color-weak, color-tran-50);
874
+ border-color: functions.get-pep-color(color-weak, color-tran-50);
981
875
  }
982
876
  }
983
877
 
984
878
  &:hover {
985
- color: get-pep-color($pepperi-theme, color-weak, color-tran-80);
986
- background-color: get-pep-color($pepperi-theme, color-weak, color-tran-20);
879
+ color: functions.get-pep-color(color-weak, color-tran-80);
880
+ background-color: functions.get-pep-color(color-weak, color-tran-20);
987
881
 
988
882
  .resize-box {
989
- background: get-pep-color($pepperi-theme, color-text, color-link-highlight);
883
+ background: functions.get-pep-color(color-text, color-link-highlight);
990
884
 
991
885
  .splitter {
992
- border-color: get-pep-color($pepperi-theme, color-weak, color-tran-80);
886
+ border-color: functions.get-pep-color(color-weak, color-tran-80);
993
887
  }
994
888
 
995
889
  &:hover {
996
- background: get-pep-color($pepperi-theme, color-text, color-link-focus);
890
+ background: functions.get-pep-color(color-text, color-link-focus);
997
891
 
998
892
  .splitter {
999
- border-color: get-pep-color($pepperi-theme, color-weak, color-base);
893
+ border-color: functions.get-pep-color(color-weak, color-base);
1000
894
  }
1001
895
  }
1002
896
  }
@@ -1007,39 +901,34 @@ $sorting-width: 1rem;
1007
901
 
1008
902
  .list-pager {
1009
903
  .pager-container {
1010
- background: get-pep-color($pepperi-theme, color-system-primary-invert, color-base);
904
+ background: functions.get-pep-color(color-system-primary-invert, color-base);
1011
905
  }
1012
906
  }
1013
- // .table-header {
1014
- // .table-header-fieldset {
1015
- // box-shadow: get-pep-shadow($pepperi-theme, shadow-sm, soft);
1016
- // }
1017
- // }
1018
907
 
1019
908
  .table-body {
1020
- @include state-list-body-default($pepperi-theme);
909
+ @include mixins.state-list-body-default();
1021
910
 
1022
911
  .table-row {
1023
912
  .table-row-fieldset {
1024
- @include state-table-row-default($pepperi-theme);
913
+ @include mixins.state-table-row-default();
1025
914
  }
1026
915
 
1027
916
  &:hover,
1028
917
  &.highlighted {
1029
918
  .table-row-fieldset {
1030
- @include state-table-row-hover($pepperi-theme);
919
+ @include mixins.state-table-row-hover();
1031
920
  }
1032
921
  }
1033
922
 
1034
923
  &:active {
1035
924
  .table-row-fieldset {
1036
- @include state-table-row-active($pepperi-theme);
925
+ @include mixins.state-table-row-active();
1037
926
  }
1038
927
  }
1039
928
 
1040
929
  &.selected {
1041
930
  .table-row-fieldset {
1042
- @include state-table-row-selected($pepperi-theme);
931
+ @include mixins.state-table-row-selected();
1043
932
  }
1044
933
  }
1045
934
  }
@@ -1049,27 +938,27 @@ $sorting-width: 1rem;
1049
938
  // ------------------------
1050
939
  .line-view,
1051
940
  .card-view {
1052
- @include state-list-body-default($pepperi-theme);
941
+ @include mixins.state-list-body-default();
1053
942
 
1054
943
  fieldset {
1055
- @include state-card-default($pepperi-theme);
944
+ @include mixins.state-card-default();
1056
945
 
1057
946
  &:hover {
1058
- @include state-card-hover($pepperi-theme);
947
+ @include mixins.state-card-hover();
1059
948
  }
1060
949
 
1061
950
  &:active {
1062
- @include state-card-active($pepperi-theme);
951
+ @include mixins.state-card-active();
1063
952
  }
1064
953
 
1065
954
  .title {
1066
- color: get-pep-color($pepperi-theme, color-text, color-dimmed);
955
+ color: functions.get-pep-color(color-text, color-dimmed);
1067
956
  }
1068
957
  }
1069
958
 
1070
959
  &.selected {
1071
960
  fieldset {
1072
- @include state-card-selected($pepperi-theme);
961
+ @include mixins.state-card-selected();
1073
962
  }
1074
963
  }
1075
964
 
@@ -1077,7 +966,7 @@ $sorting-width: 1rem;
1077
966
  // &.selectable {
1078
967
  // fieldset {
1079
968
  // &:active {
1080
- // @include state-card-active($pepperi-theme);
969
+ // @include mixins.state-card-active();
1081
970
  // }
1082
971
  // }
1083
972
  // }