@verisoft/ui-primeng 18.7.0 → 19.0.1-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 (295) hide show
  1. package/README.md +7 -57
  2. package/assets/icons/complex/v-logo.svg +4 -4
  3. package/assets/sass/base/_scrollbar.scss +18 -18
  4. package/assets/sass/base/_typography.scss +24 -24
  5. package/assets/sass/layout/_app.scss +26 -26
  6. package/assets/sass/layout/_button.scss +57 -57
  7. package/assets/sass/layout/_checkbox.scss +32 -32
  8. package/assets/sass/layout/_dialog.scss +12 -12
  9. package/assets/sass/layout/_dropdown.scss +8 -8
  10. package/assets/sass/layout/_formField.scss +4 -4
  11. package/assets/sass/layout/_header.scss +62 -62
  12. package/assets/sass/layout/_icons.scss +12 -12
  13. package/assets/sass/layout/_inputSwitch.scss +12 -12
  14. package/assets/sass/layout/_layout.scss +5 -5
  15. package/assets/sass/layout/_loader.scss +8 -8
  16. package/assets/sass/layout/_radiobutton.scss +21 -21
  17. package/assets/sass/layout/_sidemenu.scss +172 -172
  18. package/assets/sass/layout/_snackbar.scss +7 -7
  19. package/assets/sass/layout/_tables.scss +4 -4
  20. package/assets/sass/layout/_tree.scss +11 -11
  21. package/assets/sass/main.scss +27 -28
  22. package/assets/sass/themes/_verisoft_theme.scss +46 -46
  23. package/assets/sass/utils/_utils.scss +39 -39
  24. package/assets/sass/utils/_variables.scss +12 -12
  25. package/assets/sass/vendors/_bootstrap.scss +2 -2
  26. package/assets/sass/vendors/_primeng.scss +2 -2
  27. package/fesm2022/verisoft-ui-primeng.mjs +2880 -0
  28. package/fesm2022/verisoft-ui-primeng.mjs.map +1 -0
  29. package/{src/index.ts → index.d.ts} +30 -29
  30. package/lib/components/breadcrumb/breadcrumb.component.d.ts +6 -0
  31. package/lib/components/breadcrumb/breadcrumb.pipe.d.ts +9 -0
  32. package/{src/lib/components/breadcrumb/index.ts → lib/components/breadcrumb/index.d.ts} +1 -1
  33. package/lib/components/button/button-severity.pipe.d.ts +9 -0
  34. package/lib/components/button/button.component.d.ts +20 -0
  35. package/{src/lib/components/button/index.ts → lib/components/button/index.d.ts} +1 -1
  36. package/lib/components/calendar/calendar.component.d.ts +17 -0
  37. package/{src/lib/components/calendar/index.ts → lib/components/calendar/index.d.ts} +1 -1
  38. package/lib/components/checkbox/checkbox.component.d.ts +10 -0
  39. package/{src/lib/components/checkbox/index.ts → lib/components/checkbox/index.d.ts} +1 -1
  40. package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +15 -0
  41. package/{src/lib/components/confirm-dialog/index.ts → lib/components/confirm-dialog/index.d.ts} +1 -1
  42. package/lib/components/dropdown/dropdown.component.d.ts +38 -0
  43. package/{src/lib/components/dropdown/index.ts → lib/components/dropdown/index.d.ts} +1 -1
  44. package/lib/components/dropdown-button/dropdown-button.component.d.ts +14 -0
  45. package/lib/components/dropdown-button/index.d.ts +1 -0
  46. package/lib/components/errors/error.component.d.ts +16 -0
  47. package/lib/components/errors/index.d.ts +1 -0
  48. package/lib/components/form-field/form-field.component.d.ts +12 -0
  49. package/{src/lib/components/form-field/index.ts → lib/components/form-field/index.d.ts} +1 -1
  50. package/lib/components/header/header.component.d.ts +23 -0
  51. package/{src/lib/components/header/index.ts → lib/components/header/index.d.ts} +2 -2
  52. package/lib/components/header/services/header-provider.service.d.ts +10 -0
  53. package/{src/lib/components/input-group/index.ts → lib/components/input-group/index.d.ts} +1 -1
  54. package/lib/components/input-group/input-group.component.d.ts +9 -0
  55. package/{src/lib/components/loader/index.ts → lib/components/loader/index.d.ts} +1 -1
  56. package/lib/components/loader/loader.component.d.ts +6 -0
  57. package/{src/lib/components/multiselect/index.ts → lib/components/multiselect/index.d.ts} +1 -1
  58. package/lib/components/multiselect/multiselect.component.d.ts +34 -0
  59. package/{src/lib/components/number-input/index.ts → lib/components/number-input/index.d.ts} +1 -1
  60. package/lib/components/number-input/number-input.component.d.ts +14 -0
  61. package/{src/lib/components/page-header/index.ts → lib/components/page-header/index.d.ts} +1 -1
  62. package/lib/components/page-header/page-header.component.d.ts +10 -0
  63. package/{src/lib/components/password/index.ts → lib/components/password/index.d.ts} +1 -1
  64. package/lib/components/password/password.component.d.ts +11 -0
  65. package/{src/lib/components/radiobutton/index.ts → lib/components/radiobutton/index.d.ts} +1 -1
  66. package/lib/components/radiobutton/radiobutton.component.d.ts +10 -0
  67. package/{src/lib/components/section/index.ts → lib/components/section/index.d.ts} +1 -1
  68. package/lib/components/section/section.component.d.ts +12 -0
  69. package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +28 -0
  70. package/lib/components/shared-components/action-button-group/components/action-button/action-button.component.d.ts +24 -0
  71. package/{src/lib/components/shared-components/action-button-group/index.ts → lib/components/shared-components/action-button-group/index.d.ts} +2 -2
  72. package/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.d.ts +17 -0
  73. package/lib/components/shared-components/dynamic-component/dynamic-component.component.d.ts +16 -0
  74. package/{src/lib/components/shared-components/dynamic-component/index.ts → lib/components/shared-components/dynamic-component/index.d.ts} +2 -2
  75. package/lib/components/shared-components/feature-list/directives/feature-list-column.directive.d.ts +10 -0
  76. package/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.d.ts +6 -0
  77. package/lib/components/shared-components/feature-list/feature-list-filter.pipe.d.ts +9 -0
  78. package/lib/components/shared-components/feature-list/feature-list-page.component.d.ts +9 -0
  79. package/lib/components/shared-components/feature-list/feature-list-page.model.d.ts +23 -0
  80. package/lib/components/shared-components/feature-list/feature-list.component.d.ts +62 -0
  81. package/{src/lib/components/shared-components/feature-list/index.ts → lib/components/shared-components/feature-list/index.d.ts} +5 -5
  82. package/lib/components/shared-components/filter/directives/filter-field.directive.d.ts +20 -0
  83. package/lib/components/shared-components/filter/filter.component.d.ts +53 -0
  84. package/lib/components/shared-components/filter/filter.model.d.ts +2 -0
  85. package/{src/lib/components/shared-components/filter/index.ts → lib/components/shared-components/filter/index.d.ts} +2 -2
  86. package/lib/components/shared-components/generic-field/generic-field.component.d.ts +28 -0
  87. package/{src/lib/components/shared-components/generic-field/index.ts → lib/components/shared-components/generic-field/index.d.ts} +1 -1
  88. package/lib/components/shared-components/generic-form/generic-form.component.d.ts +15 -0
  89. package/lib/components/shared-components/generic-form/generic-form.model.d.ts +4 -0
  90. package/{src/lib/components/shared-components/generic-form/index.ts → lib/components/shared-components/generic-form/index.d.ts} +2 -2
  91. package/{src/lib/components/shared-components/index.ts → lib/components/shared-components/index.d.ts} +6 -6
  92. package/{src/lib/components/side-menu/index.ts → lib/components/side-menu/index.d.ts} +2 -2
  93. package/lib/components/side-menu/side-menu.component.d.ts +27 -0
  94. package/lib/components/side-menu/side-menu.module.d.ts +13 -0
  95. package/{src/lib/components/slider/index.ts → lib/components/slider/index.d.ts} +1 -1
  96. package/lib/components/slider/slider.component.d.ts +12 -0
  97. package/{src/lib/components/snackbar/index.ts → lib/components/snackbar/index.d.ts} +2 -2
  98. package/lib/components/snackbar/services/snackbar.service.d.ts +12 -0
  99. package/lib/components/snackbar/snackbar.component.d.ts +9 -0
  100. package/{src/lib/components/stepper/index.ts → lib/components/stepper/index.d.ts} +1 -1
  101. package/lib/components/stepper/stepper.component.d.ts +17 -0
  102. package/{src/lib/components/switch/index.ts → lib/components/switch/index.d.ts} +1 -1
  103. package/lib/components/switch/switch.component.d.ts +9 -0
  104. package/{src/lib/components/tab-view/index.ts → lib/components/tab-view/index.d.ts} +2 -3
  105. package/lib/components/tab-view/tab-view-item.component.d.ts +12 -0
  106. package/lib/components/tab-view/tab-view.component.d.ts +17 -0
  107. package/{src/lib/components/table/index.ts → lib/components/table/index.d.ts} +1 -1
  108. package/lib/components/table/table-filter.pipe.d.ts +13 -0
  109. package/lib/components/table/table.component.d.ts +67 -0
  110. package/lib/components/table/table.models.d.ts +4 -0
  111. package/{src/lib/components/textarea/index.ts → lib/components/textarea/index.d.ts} +1 -1
  112. package/lib/components/textarea/textarea.component.d.ts +12 -0
  113. package/{src/lib/components/textfield/index.ts → lib/components/textfield/index.d.ts} +1 -1
  114. package/lib/components/textfield/textfield.component.d.ts +12 -0
  115. package/lib/components/tooltip/index.d.ts +1 -0
  116. package/lib/components/tooltip/tooltip.component.d.ts +10 -0
  117. package/lib/icons.d.ts +2 -0
  118. package/lib/interceptors/http-error-message.interceptor.d.ts +11 -0
  119. package/package.json +33 -22
  120. package/.eslintrc.json +0 -43
  121. package/assets/.gitkeep +0 -0
  122. package/assets/sass/layout/_tristatecheckbox.scss +0 -15
  123. package/jest.config.ts +0 -22
  124. package/ng-package.json +0 -15
  125. package/project.json +0 -36
  126. package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -12
  127. package/src/lib/components/breadcrumb/breadcrumb.component.scss +0 -18
  128. package/src/lib/components/breadcrumb/breadcrumb.component.spec.ts +0 -21
  129. package/src/lib/components/breadcrumb/breadcrumb.component.stories.ts +0 -36
  130. package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -29
  131. package/src/lib/components/breadcrumb/breadcrumb.pipe.ts +0 -13
  132. package/src/lib/components/button/button.component.html +0 -20
  133. package/src/lib/components/button/button.component.scss +0 -0
  134. package/src/lib/components/button/button.component.spec.ts +0 -21
  135. package/src/lib/components/button/button.component.ts +0 -49
  136. package/src/lib/components/calendar/calendar.component.html +0 -53
  137. package/src/lib/components/calendar/calendar.component.scss +0 -0
  138. package/src/lib/components/calendar/calendar.component.spec.ts +0 -21
  139. package/src/lib/components/calendar/calendar.component.ts +0 -72
  140. package/src/lib/components/checkbox/checkbox.component.html +0 -19
  141. package/src/lib/components/checkbox/checkbox.component.scss +0 -15
  142. package/src/lib/components/checkbox/checkbox.component.spec.ts +0 -21
  143. package/src/lib/components/checkbox/checkbox.component.stories.ts +0 -72
  144. package/src/lib/components/checkbox/checkbox.component.ts +0 -45
  145. package/src/lib/components/confirm-dialog/confirm-dialog.component.html +0 -48
  146. package/src/lib/components/confirm-dialog/confirm-dialog.component.scss +0 -3
  147. package/src/lib/components/confirm-dialog/confirm-dialog.component.spec.ts +0 -21
  148. package/src/lib/components/confirm-dialog/confirm-dialog.component.stories.ts +0 -74
  149. package/src/lib/components/confirm-dialog/confirm-dialog.component.ts +0 -74
  150. package/src/lib/components/dropdown/dropdown.component.html +0 -96
  151. package/src/lib/components/dropdown/dropdown.component.scss +0 -16
  152. package/src/lib/components/dropdown/dropdown.component.spec.ts +0 -21
  153. package/src/lib/components/dropdown/dropdown.component.stories.ts +0 -90
  154. package/src/lib/components/dropdown/dropdown.component.ts +0 -144
  155. package/src/lib/components/errors/error.component.html +0 -6
  156. package/src/lib/components/errors/error.component.scss +0 -3
  157. package/src/lib/components/errors/error.component.ts +0 -35
  158. package/src/lib/components/errors/index.ts +0 -1
  159. package/src/lib/components/form-field/form-field.component.html +0 -36
  160. package/src/lib/components/form-field/form-field.component.scss +0 -0
  161. package/src/lib/components/form-field/form-field.component.spec.ts +0 -21
  162. package/src/lib/components/form-field/form-field.component.stories.ts +0 -69
  163. package/src/lib/components/form-field/form-field.component.ts +0 -38
  164. package/src/lib/components/header/header.component.html +0 -84
  165. package/src/lib/components/header/header.component.scss +0 -0
  166. package/src/lib/components/header/header.component.spec.ts +0 -21
  167. package/src/lib/components/header/header.component.stories.ts +0 -24
  168. package/src/lib/components/header/header.component.ts +0 -66
  169. package/src/lib/components/header/services/header-provider.service.ts +0 -15
  170. package/src/lib/components/input-group/input-group.component.html +0 -30
  171. package/src/lib/components/input-group/input-group.component.spec.ts +0 -21
  172. package/src/lib/components/input-group/input-group.component.ts +0 -60
  173. package/src/lib/components/loader/loader.component.html +0 -5
  174. package/src/lib/components/loader/loader.component.scss +0 -0
  175. package/src/lib/components/loader/loader.component.spec.ts +0 -21
  176. package/src/lib/components/loader/loader.component.ts +0 -17
  177. package/src/lib/components/multiselect/multiselect.component.html +0 -70
  178. package/src/lib/components/multiselect/multiselect.component.scss +0 -0
  179. package/src/lib/components/multiselect/multiselect.component.spec.ts +0 -21
  180. package/src/lib/components/multiselect/multiselect.component.ts +0 -122
  181. package/src/lib/components/number-input/number-input.component.html +0 -22
  182. package/src/lib/components/number-input/number-input.component.spec.ts +0 -21
  183. package/src/lib/components/number-input/number-input.component.ts +0 -57
  184. package/src/lib/components/page-header/page-header.component.html +0 -31
  185. package/src/lib/components/page-header/page-header.component.scss +0 -0
  186. package/src/lib/components/page-header/page-header.component.spec.ts +0 -21
  187. package/src/lib/components/page-header/page-header.component.ts +0 -32
  188. package/src/lib/components/password/password.component.html +0 -24
  189. package/src/lib/components/password/password.component.scss +0 -0
  190. package/src/lib/components/password/password.component.spec.ts +0 -21
  191. package/src/lib/components/password/password.component.ts +0 -58
  192. package/src/lib/components/radiobutton/radiobutton.component.html +0 -32
  193. package/src/lib/components/radiobutton/radiobutton.component.scss +0 -6
  194. package/src/lib/components/radiobutton/radiobutton.component.spec.ts +0 -21
  195. package/src/lib/components/radiobutton/radiobutton.component.stories.ts +0 -71
  196. package/src/lib/components/radiobutton/radiobutton.component.ts +0 -62
  197. package/src/lib/components/section/section.component.html +0 -23
  198. package/src/lib/components/section/section.component.scss +0 -0
  199. package/src/lib/components/section/section.component.spec.ts +0 -21
  200. package/src/lib/components/section/section.component.ts +0 -32
  201. package/src/lib/components/shared-components/action-button-group/action-button-group.component.html +0 -27
  202. package/src/lib/components/shared-components/action-button-group/action-button-group.component.scss +0 -0
  203. package/src/lib/components/shared-components/action-button-group/action-button-group.component.spec.ts +0 -21
  204. package/src/lib/components/shared-components/action-button-group/action-button-group.component.ts +0 -114
  205. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.html +0 -11
  206. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.scss +0 -0
  207. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.spec.ts +0 -21
  208. package/src/lib/components/shared-components/action-button-group/components/action-button/action-button.component.ts +0 -71
  209. package/src/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.ts +0 -142
  210. package/src/lib/components/shared-components/dynamic-component/dynamic-component.component.ts +0 -56
  211. package/src/lib/components/shared-components/feature-list/directives/feature-list-column.directive.ts +0 -32
  212. package/src/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.ts +0 -8
  213. package/src/lib/components/shared-components/feature-list/feature-list-filter.pipe.ts +0 -21
  214. package/src/lib/components/shared-components/feature-list/feature-list-page.component.ts +0 -31
  215. package/src/lib/components/shared-components/feature-list/feature-list-page.model.ts +0 -42
  216. package/src/lib/components/shared-components/feature-list/feature-list.component.html +0 -59
  217. package/src/lib/components/shared-components/feature-list/feature-list.component.scss +0 -10
  218. package/src/lib/components/shared-components/feature-list/feature-list.component.ts +0 -342
  219. package/src/lib/components/shared-components/filter/directives/filter-field.directive.ts +0 -35
  220. package/src/lib/components/shared-components/filter/filter.component.html +0 -68
  221. package/src/lib/components/shared-components/filter/filter.component.scss +0 -0
  222. package/src/lib/components/shared-components/filter/filter.component.spec.ts +0 -21
  223. package/src/lib/components/shared-components/filter/filter.component.stories.ts +0 -23
  224. package/src/lib/components/shared-components/filter/filter.component.ts +0 -284
  225. package/src/lib/components/shared-components/filter/filter.model.ts +0 -18
  226. package/src/lib/components/shared-components/generic-field/generic-field.component.html +0 -97
  227. package/src/lib/components/shared-components/generic-field/generic-field.component.spec.ts +0 -21
  228. package/src/lib/components/shared-components/generic-field/generic-field.component.ts +0 -94
  229. package/src/lib/components/shared-components/generic-form/generic-form.component.html +0 -46
  230. package/src/lib/components/shared-components/generic-form/generic-form.component.spec.ts +0 -21
  231. package/src/lib/components/shared-components/generic-form/generic-form.component.ts +0 -57
  232. package/src/lib/components/shared-components/generic-form/generic-form.model.spec.ts +0 -82
  233. package/src/lib/components/shared-components/generic-form/generic-form.model.ts +0 -68
  234. package/src/lib/components/side-menu/side-menu.component.html +0 -52
  235. package/src/lib/components/side-menu/side-menu.component.scss +0 -0
  236. package/src/lib/components/side-menu/side-menu.component.spec.ts +0 -21
  237. package/src/lib/components/side-menu/side-menu.component.ts +0 -98
  238. package/src/lib/components/side-menu/side-menu.module.ts +0 -66
  239. package/src/lib/components/slider/slider.component.html +0 -19
  240. package/src/lib/components/slider/slider.component.spec.ts +0 -21
  241. package/src/lib/components/slider/slider.component.ts +0 -58
  242. package/src/lib/components/snackbar/services/snackbar.service.ts +0 -45
  243. package/src/lib/components/snackbar/snackbar.component.html +0 -3
  244. package/src/lib/components/snackbar/snackbar.component.scss +0 -0
  245. package/src/lib/components/snackbar/snackbar.component.spec.ts +0 -21
  246. package/src/lib/components/snackbar/snackbar.component.stories.ts +0 -70
  247. package/src/lib/components/snackbar/snackbar.component.ts +0 -26
  248. package/src/lib/components/stepper/stepper.component.html +0 -43
  249. package/src/lib/components/stepper/stepper.component.spec.ts +0 -21
  250. package/src/lib/components/stepper/stepper.component.ts +0 -40
  251. package/src/lib/components/switch/switch.component.html +0 -18
  252. package/src/lib/components/switch/switch.component.scss +0 -0
  253. package/src/lib/components/switch/switch.component.spec.ts +0 -21
  254. package/src/lib/components/switch/switch.component.stories.ts +0 -65
  255. package/src/lib/components/switch/switch.component.ts +0 -54
  256. package/src/lib/components/tab-view/tab-menu.pipe.ts +0 -23
  257. package/src/lib/components/tab-view/tab-view-item.component.ts +0 -22
  258. package/src/lib/components/tab-view/tab-view.component.html +0 -23
  259. package/src/lib/components/tab-view/tab-view.component.ts +0 -55
  260. package/src/lib/components/tab-view/tab-view.module.ts +0 -19
  261. package/src/lib/components/table/table-filter.pipe.ts +0 -59
  262. package/src/lib/components/table/table.component.html +0 -123
  263. package/src/lib/components/table/table.component.scss +0 -11
  264. package/src/lib/components/table/table.component.spec.ts +0 -21
  265. package/src/lib/components/table/table.component.stories.ts +0 -55
  266. package/src/lib/components/table/table.component.ts +0 -289
  267. package/src/lib/components/table/table.models.ts +0 -26
  268. package/src/lib/components/textarea/textarea.component.html +0 -40
  269. package/src/lib/components/textarea/textarea.component.scss +0 -5
  270. package/src/lib/components/textarea/textarea.component.spec.ts +0 -21
  271. package/src/lib/components/textarea/textarea.component.stories.ts +0 -98
  272. package/src/lib/components/textarea/textarea.component.ts +0 -64
  273. package/src/lib/components/textfield/textfield.component.html +0 -83
  274. package/src/lib/components/textfield/textfield.component.scss +0 -23
  275. package/src/lib/components/textfield/textfield.component.spec.ts +0 -21
  276. package/src/lib/components/textfield/textfield.component.stories.ts +0 -85
  277. package/src/lib/components/textfield/textfield.component.ts +0 -69
  278. package/src/lib/components/tristatecheckbox/index.ts +0 -1
  279. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.html +0 -23
  280. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.scss +0 -0
  281. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.spec.ts +0 -21
  282. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.stories.ts +0 -22
  283. package/src/lib/components/tristatecheckbox/tristatecheckbox.component.ts +0 -50
  284. package/src/lib/icons.ts +0 -36
  285. package/src/lib/interceptors/http-error-message.interceptor.ts +0 -35
  286. package/src/lib/pages/not-found-page/not-found-page.component.html +0 -26
  287. package/src/lib/pages/not-found-page/not-found-page.component.scss +0 -0
  288. package/src/lib/pages/not-found-page/not-found-page.component.spec.ts +0 -21
  289. package/src/lib/pages/not-found-page/not-found-page.component.ts +0 -17
  290. package/src/tab-view.ts +0 -1
  291. package/src/test-setup.ts +0 -8
  292. package/tsconfig.json +0 -29
  293. package/tsconfig.lib.json +0 -18
  294. package/tsconfig.lib.prod.json +0 -9
  295. package/tsconfig.spec.json +0 -16
package/README.md CHANGED
@@ -1,57 +1,7 @@
1
- # ui-primeng
2
-
3
- The `ui-primeng` library provides reusable UI components and utilities based on the [PrimeNG](https://www.primefaces.org/primeng/) library for the Verisoft Frontend workspace.
4
-
5
- ## Features
6
-
7
- - Angular components built on top of PrimeNG
8
- - Shared utilities and helpers for PrimeNG-based UI
9
- - Consistent theming and styling for PrimeNG components
10
- - Ready-to-use modules for rapid application development
11
-
12
- ## Installation
13
-
14
- This package is intended for internal use within the monorepo. To use it in another library or app, add it as a dependency in your `project.json`:
15
-
16
- ```json
17
- "dependencies": {
18
- "ui-primeng": "*"
19
- }
20
- ```
21
-
22
- ## Usage
23
-
24
- Import the required modules or components from `ui-primeng`:
25
-
26
- ```typescript
27
- import { PrimengButtonComponent } from '@verisoft/ui-primeng';
28
- ```
29
-
30
- ## Development
31
-
32
- ### Building
33
-
34
- Run the following command to build the library:
35
-
36
- ```sh
37
- nx build ui-primeng
38
- ```
39
-
40
- ### Running Unit Tests
41
-
42
- To execute the unit tests for this library:
43
-
44
- ```sh
45
- nx test ui-primeng
46
- ```
47
-
48
- ## Contributing
49
-
50
- 1. Fork the repository and create your branch from `master`.
51
- 2. Make your changes and add tests if needed.
52
- 3. Run `nx test ui-primeng` to ensure all tests pass.
53
- 4. Submit a pull request.
54
-
55
- ## License
56
-
57
- This project is licensed under the MIT License.
1
+ # ui-primeng
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test ui-primeng` to execute the unit tests.
@@ -1,4 +1,4 @@
1
- <svg width="134" height="100" viewBox="0 0 134 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M41.8348 71.3245L53.6129 51.2357L23.5562 0H0L41.8348 71.3245Z" fill="#F7A711"/>
3
- <path d="M108.899 0L53.5161 94.1382L56.9916 100H75.1737L134 0H108.899Z" fill="#F7A711"/>
4
- </svg>
1
+ <svg width="134" height="100" viewBox="0 0 134 100" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M41.8348 71.3245L53.6129 51.2357L23.5562 0H0L41.8348 71.3245Z" fill="#F7A711"/>
3
+ <path d="M108.899 0L53.5161 94.1382L56.9916 100H75.1737L134 0H108.899Z" fill="#F7A711"/>
4
+ </svg>
@@ -1,18 +1,18 @@
1
- ::-webkit-scrollbar-thumb {
2
- background-color: var(--disabled-color);
3
- border-radius: 1.25rem;
4
- border: 0.375rem solid transparent;
5
- background-clip: content-box;
6
- }
7
-
8
- ::-webkit-scrollbar {
9
- width: 1.125rem;
10
- }
11
-
12
- ::-webkit-scrollbar-track {
13
- background-color: transparent;
14
- }
15
-
16
- ::-webkit-scrollbar-thumb:hover {
17
- background-color: var(--primary-color);
18
- }
1
+ ::-webkit-scrollbar-thumb {
2
+ background-color: var(--disabled-color);
3
+ border-radius: 1.25rem;
4
+ border: 0.375rem solid transparent;
5
+ background-clip: content-box;
6
+ }
7
+
8
+ ::-webkit-scrollbar {
9
+ width: 1.125rem;
10
+ }
11
+
12
+ ::-webkit-scrollbar-track {
13
+ background-color: transparent;
14
+ }
15
+
16
+ ::-webkit-scrollbar-thumb:hover {
17
+ background-color: var(--primary-color);
18
+ }
@@ -1,25 +1,25 @@
1
- :root {
2
- font-family: 'Roboto', sans-serif;
3
- }
4
-
5
- @font-face {
6
- font-family: 'Orbitron';
7
- src: url('../../fonts/orbitron-bold.otf') format('opentype');
8
- font-weight: normal;
9
- font-style: normal;
10
- }
11
-
12
- @font-face {
13
- font-family: 'Orbitron';
14
- src: url('../../fonts/orbitron-black.ttf') format('truetype');
15
- font-weight: bold;
16
- font-style: normal;
17
- }
18
-
19
- a {
20
- color: var(--primary-color);
21
-
22
- &:visited {
23
- color: var(--primary-color);
24
- }
1
+ :root {
2
+ font-family: 'Roboto', sans-serif;
3
+ }
4
+
5
+ @font-face {
6
+ font-family: 'Orbitron';
7
+ src: url('../../fonts/orbitron-bold.otf') format('opentype');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+
12
+ @font-face {
13
+ font-family: 'Orbitron';
14
+ src: url('../../fonts/orbitron-black.ttf') format('truetype');
15
+ font-weight: bold;
16
+ font-style: normal;
17
+ }
18
+
19
+ a {
20
+ color: var(--primary-color);
21
+
22
+ &:visited {
23
+ color: var(--primary-color);
24
+ }
25
25
  }
@@ -1,27 +1,27 @@
1
- .nav-bar {
2
- display: block;
3
- height: 5.25rem;
4
- width: 100%;
5
- }
6
-
7
- .main-container {
8
- display: flex;
9
- height: calc(100vh - 5.25rem);
10
- width: 100%;
11
-
12
- &-content {
13
- overflow: auto;
14
- padding: 1.2rem;
15
- height: calc(100vh - 5.85rem);
16
-
17
- }
18
- }
19
-
20
- .prime-main {
21
- overflow: hidden;
22
- padding: 0.3rem;
23
- padding-right: 0;
24
- -webkit-box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
25
- -moz-box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
26
- box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
1
+ .nav-bar {
2
+ display: block;
3
+ height: 5.25rem;
4
+ width: 100%;
5
+ }
6
+
7
+ .main-container {
8
+ display: flex;
9
+ height: calc(100vh - 5.25rem);
10
+ width: 100%;
11
+
12
+ &-content {
13
+ overflow: auto;
14
+ padding: 1.2rem;
15
+ height: calc(100vh - 5.85rem);
16
+
17
+ }
18
+ }
19
+
20
+ .prime-main {
21
+ overflow: hidden;
22
+ padding: 0.3rem;
23
+ padding-right: 0;
24
+ -webkit-box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
25
+ -moz-box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
26
+ box-shadow: inset 1px 1px 5px 0px rgba(0, 0, 0, 0.1);
27
27
  }
@@ -1,57 +1,57 @@
1
- .p-button:not(.p-button-outlined) {
2
- color: var(--white-color);
3
- }
4
-
5
- .p-button.p-button-danger:not(.p-button-outlined),
6
- .p-button-group.p-button-danger > .p-button,
7
- .p-splitbutton.p-button-danger > .p-button {
8
- border-color: var(--error-color);
9
- background-color: var(--error-color);
10
-
11
- &:hover {
12
- border-color: #e60017;
13
- background-color: #e60017;
14
- }
15
- }
16
-
17
- .p-button.p-button-success:not(.p-button-outlined),
18
- .p-button-group.p-button-success > .p-button,
19
- .p-splitbutton.p-button-success > .p-button {
20
- border-color: var(--success-color);
21
- background-color: var(--success-color);
22
- color: var(--white-color);
23
-
24
- &:hover {
25
- border-color: #439446;
26
- background-color: #439446;
27
- }
28
- }
29
-
30
- .p-button-icon-only.p-button-danger:not(.p-button-outlined) {
31
- border-color: var(--error-color);
32
- background-color: var(--error-color);
33
-
34
- .pi {
35
- color: var(--white-color) !important;
36
- }
37
-
38
- &:hover {
39
- border-color: #e60017;
40
- background-color: #e60017;
41
- }
42
- }
43
-
44
- .p-button-icon-only.p-button-success:not(.p-button-outlined) {
45
- border-color: var(--success-color);
46
- background-color: var(--success-color);
47
-
48
- &:hover {
49
- border-color: #57b44c;
50
- background-color: #57b44c !important;
51
- }
52
- }
53
-
54
- .p-button-icon-only.p-button-secondary:not(.p-button-outlined) {
55
- border-color: var(--secondary-color);
56
- background-color: var(--secondary-color);
57
- }
1
+ .p-button:not(.p-button-outlined) {
2
+ color: var(--white-color);
3
+ }
4
+
5
+ .p-button.p-button-danger:not(.p-button-outlined),
6
+ .p-button-group.p-button-danger > .p-button,
7
+ .p-splitbutton.p-button-danger > .p-button {
8
+ border-color: var(--error-color);
9
+ background-color: var(--error-color);
10
+
11
+ &:hover {
12
+ border-color: #e60017;
13
+ background-color: #e60017;
14
+ }
15
+ }
16
+
17
+ .p-button.p-button-success:not(.p-button-outlined),
18
+ .p-button-group.p-button-success > .p-button,
19
+ .p-splitbutton.p-button-success > .p-button {
20
+ border-color: var(--success-color);
21
+ background-color: var(--success-color);
22
+ color: var(--white-color);
23
+
24
+ &:hover {
25
+ border-color: #439446;
26
+ background-color: #439446;
27
+ }
28
+ }
29
+
30
+ .p-button-icon-only.p-button-danger:not(.p-button-outlined) {
31
+ border-color: var(--error-color);
32
+ background-color: var(--error-color);
33
+
34
+ .pi {
35
+ color: var(--white-color) !important;
36
+ }
37
+
38
+ &:hover {
39
+ border-color: #e60017;
40
+ background-color: #e60017;
41
+ }
42
+ }
43
+
44
+ .p-button-icon-only.p-button-success:not(.p-button-outlined) {
45
+ border-color: var(--success-color);
46
+ background-color: var(--success-color);
47
+
48
+ &:hover {
49
+ border-color: #57b44c;
50
+ background-color: #57b44c !important;
51
+ }
52
+ }
53
+
54
+ .p-button-icon-only.p-button-secondary:not(.p-button-outlined) {
55
+ border-color: var(--secondary-color);
56
+ background-color: var(--secondary-color);
57
+ }
@@ -1,33 +1,33 @@
1
- .p-checkbox-label {
2
- color: var(--secondary-color);
3
- }
4
-
5
- .p-checkbox-label-active {
6
- color: var(--primary-color);
7
- }
8
-
9
- .p-checkbox .p-checkbox-box {
10
- border-color: var(--secondary-color);
11
- }
12
-
13
- .p-checkbox .p-checkbox-box.p-highlight {
14
- border-color: var(--primary-color);
15
- }
16
-
17
- .p-checkbox .p-checkbox-box .p-checkbox-icon {
18
- color: var(--white-color);
19
- }
20
-
21
- .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {
22
- box-shadow: none;
23
- }
24
-
25
- p-checkbox.ng-dirty.ng-invalid {
26
- .p-checkbox>.p-checkbox-box {
27
- border-color: var(--error-color);
28
- }
29
-
30
- .p-checkbox-label {
31
- color: var(--error-color);
32
- }
1
+ .p-checkbox-label {
2
+ color: var(--secondary-color);
3
+ }
4
+
5
+ .p-checkbox-label-active {
6
+ color: var(--primary-color);
7
+ }
8
+
9
+ .p-checkbox .p-checkbox-box {
10
+ border-color: var(--secondary-color);
11
+ }
12
+
13
+ .p-checkbox .p-checkbox-box.p-highlight {
14
+ border-color: var(--primary-color);
15
+ }
16
+
17
+ .p-checkbox .p-checkbox-box .p-checkbox-icon {
18
+ color: var(--white-color);
19
+ }
20
+
21
+ .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {
22
+ box-shadow: none;
23
+ }
24
+
25
+ p-checkbox.ng-dirty.ng-invalid {
26
+ .p-checkbox>.p-checkbox-box {
27
+ border-color: var(--error-color);
28
+ }
29
+
30
+ .p-checkbox-label {
31
+ color: var(--error-color);
32
+ }
33
33
  }
@@ -1,13 +1,13 @@
1
- .p-dialog .p-dialog-footer button {
2
- margin: 0;
3
- }
4
-
5
- .v-dialog-header > i {
6
- font-size: 2rem;
7
- }
8
-
9
- .v-dialog-footer .p-button.p-button-success:not(.p-button-text):not(.p-button-outlined),
10
- .p-button-group.p-button-success>.p-button,
11
- .p-splitbutton.p-button-success>.p-button {
12
- padding: 0.5rem 2.5rem;
1
+ .p-dialog .p-dialog-footer button {
2
+ margin: 0;
3
+ }
4
+
5
+ .v-dialog-header > i {
6
+ font-size: 2rem;
7
+ }
8
+
9
+ .v-dialog-footer .p-button.p-button-success:not(.p-button-text):not(.p-button-outlined),
10
+ .p-button-group.p-button-success>.p-button,
11
+ .p-splitbutton.p-button-success>.p-button {
12
+ padding: 0.5rem 2.5rem;
13
13
  }
@@ -1,9 +1,9 @@
1
- .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus,
2
- .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-focus{
3
- background-color: var(--primary-color-semitransparent);
4
- }
5
-
6
- .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus:hover,
7
- .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-focus:hover {
8
- background-color: var(--primary-color);
1
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus,
2
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-focus{
3
+ background-color: var(--primary-color-semitransparent);
4
+ }
5
+
6
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus:hover,
7
+ .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight.p-focus:hover {
8
+ background-color: var(--primary-color);
9
9
  }
@@ -1,5 +1,5 @@
1
- label.v-formfield-label {
2
- font-weight: 700;
3
- font-size: 1rem;
4
- text-transform: capitalize;
1
+ label.v-formfield-label {
2
+ font-weight: 700;
3
+ font-size: 1rem;
4
+ text-transform: capitalize;
5
5
  }
@@ -1,63 +1,63 @@
1
- .v-header {
2
- height: 5.25rem;
3
- top: 0;
4
-
5
- &-title {
6
- align-content: center;
7
- justify-content: center;
8
- padding-left: 15rem;
9
- text-transform: uppercase;
10
- font-size: 2.25rem;
11
- letter-spacing: 0.1rem;
12
- font-family: "Orbitron";
13
- font-weight: bold;
14
- p {
15
- user-select: none;
16
- }
17
- }
18
- }
19
-
20
- .title-closed {
21
- .v-header-title {
22
- padding-left: 7rem;
23
- transition: padding 0.2s ease;
24
- }
25
- }
26
-
27
- .header-username {
28
- font-weight: 600;
29
- }
30
-
31
- .burger-menu {
32
- width: 3rem;
33
- display: flex;
34
- align-items: center;
35
- padding-left: 2rem;
36
- > v-button {
37
- scale: 1.5;
38
- }
39
-
40
- > v-button .pi-times {
41
- color: var(--primary-color) !important;
42
- }
43
-
44
- img {
45
- margin-left: 1rem;
46
- height: 2rem;
47
- width: 2rem;
48
- }
49
- .logo {
50
- cursor: pointer;
51
- z-index: 1;
52
- }
53
- }
54
-
55
- .header-userrole {
56
- font-weight: 300;
57
- font-size: 0.6875rem;
58
- }
59
-
60
- .user-info-container .header-username {
61
- color: var(--primary-color);
62
- }
1
+ .v-header {
2
+ height: 5.25rem;
3
+ top: 0;
4
+
5
+ &-title {
6
+ align-content: center;
7
+ justify-content: center;
8
+ padding-left: 15rem;
9
+ text-transform: uppercase;
10
+ font-size: 2.25rem;
11
+ letter-spacing: 0.1rem;
12
+ font-family: "Orbitron";
13
+ font-weight: bold;
14
+ p {
15
+ user-select: none;
16
+ }
17
+ }
18
+ }
19
+
20
+ .title-closed {
21
+ .v-header-title {
22
+ padding-left: 7rem;
23
+ transition: padding 0.2s ease;
24
+ }
25
+ }
26
+
27
+ .header-username {
28
+ font-weight: 600;
29
+ }
30
+
31
+ .burger-menu {
32
+ width: 3rem;
33
+ display: flex;
34
+ align-items: center;
35
+ padding-left: 2rem;
36
+ > v-button {
37
+ scale: 1.5;
38
+ }
39
+
40
+ > v-button .pi-times {
41
+ color: var(--primary-color) !important;
42
+ }
43
+
44
+ img {
45
+ margin-left: 1rem;
46
+ height: 2rem;
47
+ width: 2rem;
48
+ }
49
+ .logo {
50
+ cursor: pointer;
51
+ z-index: 1;
52
+ }
53
+ }
54
+
55
+ .header-userrole {
56
+ font-weight: 300;
57
+ font-size: 0.6875rem;
58
+ }
59
+
60
+ .user-info-container .header-username {
61
+ color: var(--primary-color);
62
+ }
63
63
 
@@ -1,13 +1,13 @@
1
- calendaricon {
2
- color: var(--primary-color);
3
- }
4
-
5
- .pi-times,
6
- timesicon svg {
7
- color: var(--error-color);
8
- }
9
-
10
-
11
- .p-radiobutton-icon {
12
- background-color: var(--white-color);
1
+ calendaricon {
2
+ color: var(--primary-color);
3
+ }
4
+
5
+ .pi-times,
6
+ timesicon svg {
7
+ color: var(--error-color);
8
+ }
9
+
10
+
11
+ .p-radiobutton-icon {
12
+ background-color: var(--white-color);
13
13
  }
@@ -1,13 +1,13 @@
1
- p-inputswitch.ng-dirty.ng-invalid>.p-inputswitch>.p-inputswitch-slider {
2
- border: none;
3
- background: var(--error-color);
4
- }
5
-
6
- .p-inputswitch .p-inputswitch-slider {
7
- background: var(--secondary-color);
8
- border: none
9
- }
10
-
11
- .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {
12
- background: var(--primary-color);
1
+ p-inputswitch.ng-dirty.ng-invalid>.p-inputswitch>.p-inputswitch-slider {
2
+ border: none;
3
+ background: var(--error-color);
4
+ }
5
+
6
+ .p-inputswitch .p-inputswitch-slider {
7
+ background: var(--secondary-color);
8
+ border: none
9
+ }
10
+
11
+ .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {
12
+ background: var(--primary-color);
13
13
  }
@@ -1,6 +1,6 @@
1
- html, body {
2
- margin:0;
3
- padding: 0;
4
- overflow: hidden;
5
- height: 100%;
1
+ html, body {
2
+ margin:0;
3
+ padding: 0;
4
+ overflow: hidden;
5
+ height: 100%;
6
6
  }
@@ -1,9 +1,9 @@
1
- .p-progress-spinner-circle {
2
- stroke: var(--primary-color);
3
- stroke-linecap: round;
4
- animation: p-progress-spinner-dash 1.5s ease-in-out infinite;
5
- width: 3rem;
6
- height: 3rem;
7
- stroke-width: "8";
8
- animation-duration: 2s;
1
+ .p-progress-spinner-circle {
2
+ stroke: var(--primary-color);
3
+ stroke-linecap: round;
4
+ animation: p-progress-spinner-dash 1.5s ease-in-out infinite;
5
+ width: 3rem;
6
+ height: 3rem;
7
+ stroke-width: "8";
8
+ animation-duration: 2s;
9
9
  }