@pepperi-addons/ngx-lib 0.2.60 → 0.2.61-beta.1

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