nira-falcon 0.1.24 → 0.1.26

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 (316) hide show
  1. package/environments/environment.d.ts +4 -0
  2. package/esm2022/environments/environment.mjs +7 -0
  3. package/esm2022/lib/core-auto-complete/core-auto-complete.component.mjs +82 -0
  4. package/esm2022/lib/core-btn/core-btn.component.mjs +71 -0
  5. package/esm2022/lib/core-card/core-card.component.mjs +16 -0
  6. package/esm2022/lib/core-checkbox/core-checkbox.component.mjs +33 -0
  7. package/esm2022/lib/core-confirm-dialog/core-confirm-dialog.component.mjs +31 -0
  8. package/esm2022/lib/core-date-picker/core-date-picker.component.mjs +50 -0
  9. package/esm2022/lib/core-input/core-input.component.mjs +136 -0
  10. package/esm2022/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.mjs +28 -0
  11. package/esm2022/lib/core-multi-select/core-multi-select.component.mjs +145 -0
  12. package/esm2022/lib/core-number/core-number.component.mjs +64 -0
  13. package/esm2022/lib/core-page-title/core-page-title.component.mjs +19 -0
  14. package/esm2022/lib/core-radio-buttons/core-radio-buttons.component.mjs +75 -0
  15. package/esm2022/lib/core-search-box/core-search-box.component.mjs +25 -0
  16. package/esm2022/lib/core-select/core-select.component.mjs +96 -0
  17. package/esm2022/lib/core-spinner/core-spinner.component.mjs +23 -0
  18. package/esm2022/lib/core-switch/core-switch.component.mjs +33 -0
  19. package/esm2022/lib/core-table/core-column-date-picker/core-column-date-picker.component.mjs +62 -0
  20. package/esm2022/lib/core-table/core-column-input/core-column-input.component.mjs +43 -0
  21. package/esm2022/lib/core-table/core-column-selector/core-column-selector.component.mjs +100 -0
  22. package/esm2022/lib/core-table/core-row-pelak/core-row-pelak.component.mjs +21 -0
  23. package/esm2022/lib/core-table/core-table/core-table.component.mjs +182 -0
  24. package/esm2022/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.mjs +34 -0
  25. package/esm2022/lib/core-table/core-table-action-column/core-table-action-column.component.mjs +27 -0
  26. package/esm2022/lib/core-table/core-table-card-manager/core-table-card-manager.component.mjs +83 -0
  27. package/esm2022/lib/core-table/core-table-column-manager/core-table-column-manager.component.mjs +85 -0
  28. package/esm2022/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.mjs +29 -0
  29. package/esm2022/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.mjs +82 -0
  30. package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.component.mjs +23 -0
  31. package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.label.mjs +9 -0
  32. package/esm2022/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.mjs +68 -0
  33. package/esm2022/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.mjs +34 -0
  34. package/esm2022/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.mjs +20 -0
  35. package/esm2022/lib/core-table/core-table-status-column/core-table-status-column.component.mjs +18 -0
  36. package/esm2022/lib/core-textarea/core-textarea.component.mjs +47 -0
  37. package/esm2022/lib/core-time-picker/core-time-picker.component.mjs +118 -0
  38. package/esm2022/lib/core-time-picker/time-picker-modal/time-picker-modal.component.mjs +147 -0
  39. package/esm2022/lib/falcon-lib.module.mjs +252 -0
  40. package/esm2022/lib/falconTypes.mjs +9 -0
  41. package/esm2022/lib/pipes/digit-group.pipe.mjs +16 -0
  42. package/esm2022/lib/pipes/form-control.pipe.mjs +16 -0
  43. package/esm2022/lib/pipes/persian-digits.pipe.mjs +40 -0
  44. package/esm2022/lib/pipes/price-format.pipe.mjs +23 -0
  45. package/esm2022/lib/pipes/shamsi-date.pipe.mjs +24 -0
  46. package/esm2022/lib/pipes/time-format.pipe.mjs +28 -0
  47. package/esm2022/lib/pipes/weight.pipe.mjs +16 -0
  48. package/esm2022/lib/wordify.mjs +109 -0
  49. package/esm2022/nira-falcon.mjs +5 -0
  50. package/esm2022/public-api.mjs +31 -0
  51. package/esm2022/svg-icon/arrow-down-icon/arrow-down-icon.component.mjs +11 -0
  52. package/esm2022/svg-icon/calendar-icon/calendar-icon.component.mjs +11 -0
  53. package/esm2022/svg-icon/caret-up-icon/caret-up-icon.component.mjs +11 -0
  54. package/esm2022/svg-icon/close-icon/close-icon.component.mjs +11 -0
  55. package/esm2022/svg-icon/edit-square-icon/edit-square-icon.component.mjs +11 -0
  56. package/esm2022/svg-icon/pelak-icon/pelak-icon.component.mjs +11 -0
  57. package/esm2022/svg-icon/search-icon/search-icon.component.mjs +11 -0
  58. package/esm2022/svg-icon/sort-down-icon/sort-down-icon.component.mjs +11 -0
  59. package/esm2022/svg-icon/sort-solid-icon/sort-solid-icon.component.mjs +11 -0
  60. package/esm2022/svg-icon/sort-up-icon/sort-up-icon.component.mjs +11 -0
  61. package/esm2022/svg-icon/time-icon/time-icon.component.mjs +11 -0
  62. package/esm2022/svg-icon/warning-icon/warning-icon.component.mjs +11 -0
  63. package/esm2022/utils/constants.mjs +184 -0
  64. package/esm2022/utils/directives/detail-viewer-manager.directive.mjs +71 -0
  65. package/esm2022/utils/directives/table-detail-viewer-manager.directive.mjs +49 -0
  66. package/esm2022/utils/util.mjs +26 -0
  67. package/fesm2022/nira-falcon.mjs +2881 -0
  68. package/fesm2022/nira-falcon.mjs.map +1 -0
  69. package/index.d.ts +5 -0
  70. package/lib/core-auto-complete/core-auto-complete.component.d.ts +30 -0
  71. package/lib/core-btn/core-btn.component.d.ts +23 -0
  72. package/lib/core-card/core-card.component.d.ts +6 -0
  73. package/lib/core-checkbox/core-checkbox.component.d.ts +13 -0
  74. package/lib/core-confirm-dialog/core-confirm-dialog.component.d.ts +14 -0
  75. package/lib/core-date-picker/core-date-picker.component.d.ts +21 -0
  76. package/lib/core-input/core-input.component.d.ts +29 -0
  77. package/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.d.ts +11 -0
  78. package/lib/core-multi-select/core-multi-select.component.d.ts +43 -0
  79. package/lib/core-number/core-number.component.d.ts +12 -0
  80. package/lib/core-page-title/core-page-title.component.d.ts +7 -0
  81. package/lib/core-radio-buttons/core-radio-buttons.component.d.ts +29 -0
  82. package/lib/core-search-box/core-search-box.component.d.ts +10 -0
  83. package/lib/core-select/core-select.component.d.ts +37 -0
  84. package/lib/core-spinner/core-spinner.component.d.ts +9 -0
  85. package/lib/core-switch/core-switch.component.d.ts +17 -0
  86. package/lib/core-table/core-column-date-picker/core-column-date-picker.component.d.ts +21 -0
  87. package/lib/core-table/core-column-input/core-column-input.component.d.ts +16 -0
  88. package/lib/core-table/core-column-selector/core-column-selector.component.d.ts +35 -0
  89. package/lib/core-table/core-row-pelak/core-row-pelak.component.d.ts +8 -0
  90. package/lib/core-table/core-table/core-table.component.d.ts +42 -0
  91. package/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.d.ts +11 -0
  92. package/lib/core-table/core-table-action-column/core-table-action-column.component.d.ts +11 -0
  93. package/lib/core-table/core-table-card-manager/core-table-card-manager.component.d.ts +24 -0
  94. package/lib/core-table/core-table-column-manager/core-table-column-manager.component.d.ts +24 -0
  95. package/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.d.ts +11 -0
  96. package/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.d.ts +22 -0
  97. package/lib/core-table/core-table-no-content/core-table-no-content.component.d.ts +9 -0
  98. package/lib/core-table/core-table-no-content/core-table-no-content.label.d.ts +5 -0
  99. package/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.d.ts +14 -0
  100. package/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.d.ts +13 -0
  101. package/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.d.ts +8 -0
  102. package/lib/core-table/core-table-status-column/core-table-status-column.component.d.ts +7 -0
  103. package/lib/core-textarea/core-textarea.component.d.ts +13 -0
  104. package/lib/core-time-picker/core-time-picker.component.d.ts +26 -0
  105. package/lib/core-time-picker/time-picker-modal/time-picker-modal.component.d.ts +35 -0
  106. package/lib/falcon-lib.module.d.ts +66 -0
  107. package/lib/falconTypes.d.ts +24 -0
  108. package/lib/pipes/digit-group.pipe.d.ts +7 -0
  109. package/lib/pipes/form-control.pipe.d.ts +8 -0
  110. package/lib/pipes/persian-digits.pipe.d.ts +7 -0
  111. package/lib/pipes/price-format.pipe.d.ts +7 -0
  112. package/lib/pipes/shamsi-date.pipe.d.ts +9 -0
  113. package/lib/pipes/time-format.pipe.d.ts +7 -0
  114. package/lib/pipes/weight.pipe.d.ts +7 -0
  115. package/lib/wordify.d.ts +2 -0
  116. package/package.json +26 -13
  117. package/{src/public-api.ts → public-api.d.ts} +27 -31
  118. package/svg-icon/arrow-down-icon/arrow-down-icon.component.d.ts +5 -0
  119. package/svg-icon/calendar-icon/calendar-icon.component.d.ts +5 -0
  120. package/svg-icon/caret-up-icon/caret-up-icon.component.d.ts +5 -0
  121. package/svg-icon/close-icon/close-icon.component.d.ts +5 -0
  122. package/svg-icon/edit-square-icon/edit-square-icon.component.d.ts +5 -0
  123. package/svg-icon/pelak-icon/pelak-icon.component.d.ts +5 -0
  124. package/svg-icon/search-icon/search-icon.component.d.ts +5 -0
  125. package/svg-icon/sort-down-icon/sort-down-icon.component.d.ts +5 -0
  126. package/svg-icon/sort-solid-icon/sort-solid-icon.component.d.ts +5 -0
  127. package/svg-icon/sort-up-icon/sort-up-icon.component.d.ts +5 -0
  128. package/svg-icon/time-icon/time-icon.component.d.ts +5 -0
  129. package/svg-icon/warning-icon/warning-icon.component.d.ts +5 -0
  130. package/utils/constants.d.ts +70 -0
  131. package/utils/directives/detail-viewer-manager.directive.d.ts +18 -0
  132. package/utils/directives/table-detail-viewer-manager.directive.d.ts +16 -0
  133. package/utils/util.d.ts +11 -0
  134. package/ng-package.json +0 -7
  135. package/package copy.json +0 -13
  136. package/src/assets/images/hub-dashboard-title-bg.png +0 -0
  137. package/src/assets/images/iran.png +0 -0
  138. package/src/environments/environment.ts +0 -7
  139. package/src/lib/core-auto-complete/core-auto-complete.component.html +0 -30
  140. package/src/lib/core-auto-complete/core-auto-complete.component.scss +0 -89
  141. package/src/lib/core-auto-complete/core-auto-complete.component.ts +0 -92
  142. package/src/lib/core-btn/core-btn-bluebird.component.html +0 -21
  143. package/src/lib/core-btn/core-btn-bluebird.component.scss +0 -123
  144. package/src/lib/core-btn/core-btn-falcon.component.html +0 -20
  145. package/src/lib/core-btn/core-btn-falcon.component.scss +0 -115
  146. package/src/lib/core-btn/core-btn.component.ts +0 -54
  147. package/src/lib/core-card/core-card.component.html +0 -3
  148. package/src/lib/core-card/core-card.component.scss +0 -0
  149. package/src/lib/core-card/core-card.component.ts +0 -10
  150. package/src/lib/core-checkbox/core-checkbox.component.html +0 -9
  151. package/src/lib/core-checkbox/core-checkbox.component.scss +0 -60
  152. package/src/lib/core-checkbox/core-checkbox.component.ts +0 -19
  153. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.html +0 -28
  154. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.scss +0 -131
  155. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.ts +0 -29
  156. package/src/lib/core-date-picker/core-date-picker-bluebird.component.html +0 -15
  157. package/src/lib/core-date-picker/core-date-picker-bluebird.component.scss +0 -0
  158. package/src/lib/core-date-picker/core-date-picker-falcon.component.html +0 -14
  159. package/src/lib/core-date-picker/core-date-picker-falcon.component.scss +0 -0
  160. package/src/lib/core-date-picker/core-date-picker.component.ts +0 -44
  161. package/src/lib/core-input/core-input-bluebird.component.html +0 -95
  162. package/src/lib/core-input/core-input-bluebird.component.scss +0 -152
  163. package/src/lib/core-input/core-input-falcon.component.html +0 -90
  164. package/src/lib/core-input/core-input-falcon.component.scss +0 -141
  165. package/src/lib/core-input/core-input.component.ts +0 -112
  166. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.html +0 -3
  167. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.scss +0 -15
  168. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.ts +0 -19
  169. package/src/lib/core-multi-select/core-multi-select.component.html +0 -41
  170. package/src/lib/core-multi-select/core-multi-select.component.scss +0 -119
  171. package/src/lib/core-multi-select/core-multi-select.component.ts +0 -139
  172. package/src/lib/core-number/core-number.component.html +0 -3
  173. package/src/lib/core-number/core-number.component.scss +0 -1
  174. package/src/lib/core-number/core-number.component.ts +0 -45
  175. package/src/lib/core-page-title/core-page-title.component.html +0 -14
  176. package/src/lib/core-page-title/core-page-title.component.scss +0 -16
  177. package/src/lib/core-page-title/core-page-title.component.ts +0 -11
  178. package/src/lib/core-radio-buttons/core-radio-buttons.component.html +0 -17
  179. package/src/lib/core-radio-buttons/core-radio-buttons.component.scss +0 -46
  180. package/src/lib/core-radio-buttons/core-radio-buttons.component.spec.ts +0 -21
  181. package/src/lib/core-radio-buttons/core-radio-buttons.component.ts +0 -64
  182. package/src/lib/core-search-box/core-search-box.component.html +0 -14
  183. package/src/lib/core-search-box/core-search-box.component.scss +0 -37
  184. package/src/lib/core-search-box/core-search-box.component.ts +0 -15
  185. package/src/lib/core-select/core-select-bluebird.component.html +0 -57
  186. package/src/lib/core-select/core-select-bluebird.component.scss +0 -129
  187. package/src/lib/core-select/core-select-falcon.component.html +0 -56
  188. package/src/lib/core-select/core-select-falcon.component.scss +0 -123
  189. package/src/lib/core-select/core-select.component.spec.ts +0 -21
  190. package/src/lib/core-select/core-select.component.ts +0 -93
  191. package/src/lib/core-spinner/core-spinner.component.html +0 -14
  192. package/src/lib/core-spinner/core-spinner.component.scss +0 -162
  193. package/src/lib/core-spinner/core-spinner.component.ts +0 -13
  194. package/src/lib/core-switch/core-switch.component.html +0 -13
  195. package/src/lib/core-switch/core-switch.component.scss +0 -58
  196. package/src/lib/core-switch/core-switch.component.spec.ts +0 -21
  197. package/src/lib/core-switch/core-switch.component.ts +0 -28
  198. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.html +0 -21
  199. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.scss +0 -3
  200. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.ts +0 -55
  201. package/src/lib/core-table/core-column-input/core-column-input.component.html +0 -17
  202. package/src/lib/core-table/core-column-input/core-column-input.component.scss +0 -21
  203. package/src/lib/core-table/core-column-input/core-column-input.component.ts +0 -23
  204. package/src/lib/core-table/core-column-selector/core-column-selector.component.html +0 -47
  205. package/src/lib/core-table/core-column-selector/core-column-selector.component.scss +0 -113
  206. package/src/lib/core-table/core-column-selector/core-column-selector.component.ts +0 -94
  207. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.html +0 -12
  208. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.scss +0 -21
  209. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.ts +0 -12
  210. package/src/lib/core-table/core-table/core-table.component.html +0 -168
  211. package/src/lib/core-table/core-table/core-table.component.scss +0 -65
  212. package/src/lib/core-table/core-table/core-table.component.ts +0 -179
  213. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.html +0 -10
  214. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.scss +0 -3
  215. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.ts +0 -24
  216. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.html +0 -6
  217. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.scss +0 -3
  218. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.ts +0 -19
  219. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.html +0 -94
  220. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.scss +0 -0
  221. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.ts +0 -58
  222. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.html +0 -99
  223. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.scss +0 -0
  224. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.ts +0 -59
  225. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.html +0 -5
  226. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.scss +0 -8
  227. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.ts +0 -28
  228. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.html +0 -24
  229. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.scss +0 -10
  230. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.ts +0 -76
  231. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.html +0 -6
  232. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.scss +0 -7
  233. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.ts +0 -14
  234. package/src/lib/core-table/core-table-no-content/core-table-no-content.label.ts +0 -14
  235. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.html +0 -5
  236. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.scss +0 -0
  237. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.ts +0 -60
  238. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.html +0 -3
  239. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.scss +0 -0
  240. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.ts +0 -24
  241. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.html +0 -3
  242. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.scss +0 -14
  243. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.ts +0 -14
  244. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.html +0 -3
  245. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.scss +0 -14
  246. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.ts +0 -11
  247. package/src/lib/core-textarea/core-textarea.component.html +0 -18
  248. package/src/lib/core-textarea/core-textarea.component.scss +0 -62
  249. package/src/lib/core-textarea/core-textarea.component.ts +0 -31
  250. package/src/lib/core-time-picker/core-time-picker.component.html +0 -51
  251. package/src/lib/core-time-picker/core-time-picker.component.scss +0 -144
  252. package/src/lib/core-time-picker/core-time-picker.component.ts +0 -102
  253. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.html +0 -50
  254. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.scss +0 -424
  255. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.spec.ts +0 -21
  256. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.ts +0 -172
  257. package/src/lib/falcon-lib.module.ts +0 -157
  258. package/src/lib/falconTypes.ts +0 -35
  259. package/src/lib/pipes/digit-group.pipe.ts +0 -10
  260. package/src/lib/pipes/form-control.pipe.ts +0 -11
  261. package/src/lib/pipes/persian-digits.pipe.ts +0 -33
  262. package/src/lib/pipes/price-format.pipe.ts +0 -20
  263. package/src/lib/pipes/shamsi-date.pipe.ts +0 -24
  264. package/src/lib/pipes/time-format.pipe.ts +0 -21
  265. package/src/lib/pipes/weight.pipe.ts +0 -10
  266. package/src/lib/wordify.ts +0 -116
  267. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.html +0 -8
  268. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.scss +0 -0
  269. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.ts +0 -8
  270. package/src/svg-icon/calendar-icon/calendar-icon.component.html +0 -10
  271. package/src/svg-icon/calendar-icon/calendar-icon.component.scss +0 -0
  272. package/src/svg-icon/calendar-icon/calendar-icon.component.ts +0 -8
  273. package/src/svg-icon/caret-up-icon/caret-up-icon.component.html +0 -16
  274. package/src/svg-icon/caret-up-icon/caret-up-icon.component.scss +0 -0
  275. package/src/svg-icon/caret-up-icon/caret-up-icon.component.ts +0 -10
  276. package/src/svg-icon/close-icon/close-icon.component.html +0 -10
  277. package/src/svg-icon/close-icon/close-icon.component.scss +0 -0
  278. package/src/svg-icon/close-icon/close-icon.component.ts +0 -8
  279. package/src/svg-icon/edit-square-icon/edit-square-icon.component.html +0 -10
  280. package/src/svg-icon/edit-square-icon/edit-square-icon.component.scss +0 -0
  281. package/src/svg-icon/edit-square-icon/edit-square-icon.component.ts +0 -8
  282. package/src/svg-icon/pelak-icon/pelak-icon.component.html +0 -32
  283. package/src/svg-icon/pelak-icon/pelak-icon.component.scss +0 -0
  284. package/src/svg-icon/pelak-icon/pelak-icon.component.ts +0 -8
  285. package/src/svg-icon/search-icon/search-icon.component.html +0 -10
  286. package/src/svg-icon/search-icon/search-icon.component.scss +0 -0
  287. package/src/svg-icon/search-icon/search-icon.component.spec.ts +0 -21
  288. package/src/svg-icon/search-icon/search-icon.component.ts +0 -8
  289. package/src/svg-icon/sort-down-icon/sort-down-icon.component.html +0 -5
  290. package/src/svg-icon/sort-down-icon/sort-down-icon.component.scss +0 -0
  291. package/src/svg-icon/sort-down-icon/sort-down-icon.component.ts +0 -10
  292. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.html +0 -5
  293. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.scss +0 -0
  294. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.ts +0 -8
  295. package/src/svg-icon/sort-up-icon/sort-up-icon.component.html +0 -5
  296. package/src/svg-icon/sort-up-icon/sort-up-icon.component.scss +0 -0
  297. package/src/svg-icon/sort-up-icon/sort-up-icon.component.ts +0 -8
  298. package/src/svg-icon/time-icon/time-icon.component.html +0 -10
  299. package/src/svg-icon/time-icon/time-icon.component.scss +0 -0
  300. package/src/svg-icon/time-icon/time-icon.component.ts +0 -8
  301. package/src/svg-icon/warning-icon/warning-icon.component.html +0 -10
  302. package/src/svg-icon/warning-icon/warning-icon.component.scss +0 -0
  303. package/src/svg-icon/warning-icon/warning-icon.component.ts +0 -10
  304. package/src/utils/constants.ts +0 -182
  305. package/src/utils/directives/detail-viewer-manager.directive.ts +0 -78
  306. package/src/utils/directives/filterTableDirective.ts +0 -36
  307. package/src/utils/directives/table-detail-viewer-manager.directive.ts +0 -57
  308. package/src/utils/interfaces.ts +0 -0
  309. package/src/utils/jsonparser.ts +0 -49
  310. package/src/utils/links.ts +0 -67
  311. package/src/utils/toast.ts +0 -35
  312. package/src/utils/types.ts +0 -20
  313. package/src/utils/util.ts +0 -32
  314. package/tsconfig.lib.json +0 -14
  315. package/tsconfig.lib.prod.json +0 -10
  316. package/tsconfig.spec.json +0 -14
@@ -1,30 +0,0 @@
1
- <div class="dropdown">
2
- <div
3
- class="select"
4
- [ngClass]="{ 'select-clicked': isOpenMenu }"
5
- (click)="openMenuClick()"
6
- >
7
- <input
8
- class="selected"
9
- [placeholder]="label"
10
- [(ngModel)]="value"
11
- (ngModelChange)="onChanged($event)"
12
- (focusout)="focusOut()"
13
- />
14
- <span
15
- class="material-symbols-outlined caret"
16
- [ngClass]="{ 'caret-rotate': isOpenMenu }"
17
- >
18
- expand_more
19
- </span>
20
- </div>
21
- <ul class="menu" [ngClass]="{ 'menu-open': isOpenMenu }">
22
- <li
23
- *ngFor="let item of _items"
24
- [ngClass]="{ active: item == selectedItem }"
25
- (click)="onItemSelect(item)"
26
- >
27
- {{ item.title }}
28
- </li>
29
- </ul>
30
- </div>
@@ -1,89 +0,0 @@
1
- @mixin userSelect {
2
- -webkit-user-select: none;
3
- -moz-user-select: none;
4
- -ms-user-select: none;
5
- user-select: none;
6
- }
7
- .dropdown {
8
- min-width: 15em;
9
- position: relative;
10
- width: 100%;
11
- min-width: 120px;
12
- .select {
13
- background: #fff;
14
- color: #304050;
15
- display: flex;
16
- flex-direction: row-reverse;
17
- justify-content: space-between;
18
- align-items: center;
19
- border: 2px solid #ced4da;
20
- border-radius: 4px;
21
- padding: 8px;
22
- cursor: pointer;
23
- transition: background 0.3s;
24
- font-size: 13px;
25
- @include userSelect();
26
- &:hover {
27
- background: #fbfbfb;
28
- .selected {
29
- background: #fbfbfb;
30
- }
31
- }
32
- .selected {
33
- width: 100%;
34
- font-size: 13px;
35
- outline: none;
36
- border: none;
37
- @include userSelect();
38
- }
39
- .caret {
40
- color: #595c5f;
41
- @include userSelect();
42
- }
43
- .caret-rotate {
44
- transform: rotate(180deg);
45
- }
46
- }
47
- .select-clicked {
48
- border: 2px #4f6883 solid;
49
- box-shadow: 0 0 0.8em #888;
50
- }
51
-
52
- .menu {
53
- list-style: none;
54
- padding-inline: 0px;
55
- background: #fff;
56
- border: 1px #e3e8f1 solid;
57
- box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
58
- border-radius: 0.5em;
59
- color: #595c5f;
60
- position: absolute;
61
- top: 42px;
62
- left: 50%;
63
- width: 100%;
64
- transform: translateX(-50%);
65
- opacity: 0;
66
- display: none;
67
- transition: 0, 2s;
68
- z-index: 3;
69
- li {
70
- padding: 0.7em 0.5em;
71
- margin: 0.3em 0;
72
- margin-inline: 4px;
73
- border-radius: 0.5em;
74
- font-size: 14px;
75
- text-align: start;
76
- cursor: pointer;
77
- &:hover {
78
- background: #f6f6f6;
79
- }
80
- }
81
- .active {
82
- background: #ced4da;
83
- }
84
- }
85
- .menu-open {
86
- display: block;
87
- opacity: 1;
88
- }
89
- }
@@ -1,92 +0,0 @@
1
- import {
2
- ChangeDetectorRef,
3
- Component,
4
- EventEmitter,
5
- Input,
6
- OnInit,
7
- Output,
8
- } from '@angular/core';
9
- import { MenuItem } from '../falconTypes';
10
-
11
- @Component({
12
- selector: 'core-auto-complete',
13
- templateUrl: './core-auto-complete.component.html',
14
- styleUrls: ['./core-auto-complete.component.scss'],
15
- })
16
- export class CoreAutoCompleteComponent<T> implements OnInit {
17
- selectedItem: MenuItem<T> = {} as MenuItem<T>;
18
- titleKeyObject!: keyof string | number;
19
- valueKeyObject!: keyof string | number;
20
- filterItems: MenuItem<T>[] = [];
21
- newItems: MenuItem<T>[] = [];
22
- value!: T;
23
- isOpenMenu = false;
24
-
25
- get _items() {
26
- return this.filterItems;
27
- }
28
-
29
- @Input() label = 'ddd';
30
- @Input() titleKey!: string;
31
- @Input() valueKey!: string;
32
- @Input() items: any[] = [];
33
- @Input() set defaultValue(value: T) {
34
- this.value = value;
35
- }
36
- @Output() onChange = new EventEmitter<string>();
37
-
38
- constructor(private cdr: ChangeDetectorRef) {}
39
-
40
- ngOnInit(): void {
41
- type ObjectKey = (typeof this.items)[0];
42
- this.titleKeyObject = this.titleKey as ObjectKey;
43
- this.valueKeyObject = this.valueKey as ObjectKey;
44
- this.newItems = this.changeItemsType(this.items);
45
-
46
- this.filterItems = this.newItems.filter(
47
- (item: any) => !item.title.indexOf(this.value)
48
- );
49
- }
50
- ngAfterViewInit(): void {
51
- this.cdr.detectChanges();
52
- }
53
-
54
- changeItemsType(items: any[]): MenuItem<T>[] {
55
- return items.map((item) => {
56
- return {
57
- title: item[this.titleKeyObject],
58
- value: item[this.valueKeyObject],
59
- };
60
- });
61
- }
62
-
63
- openMenuClick() {
64
- this.isOpenMenu = !this.isOpenMenu;
65
- this.filterItems = this.newItems.filter(
66
- (item: any) => !item.title.indexOf(this.value)
67
- );
68
- }
69
-
70
- onItemSelect(item: MenuItem<T> | undefined): void {
71
- this.isOpenMenu = false;
72
- if (!item) return;
73
- this.selectedItem = item;
74
- this.value = item.title;
75
- }
76
-
77
- focusOut() {
78
- if (!this.items || this.items.length == 0 || !this.selectedItem) return;
79
- setTimeout(() => {
80
- this.isOpenMenu = false;
81
- if (!this.newItems.some((item: any) => item.title == this.value)) {
82
- this.value = this.selectedItem.title;
83
- }
84
- }, 100);
85
- }
86
-
87
- onChanged(value: any) {
88
- this.filterItems = this.items.filter(
89
- (item: any) => !item.title.indexOf(value)
90
- );
91
- }
92
- }
@@ -1,21 +0,0 @@
1
- <button
2
- (click)="clicked()"
3
- [ngClass]="[
4
- 'button',
5
- disable ? 'disabled' : '',
6
- theme,
7
- colorState,
8
- color,
9
- size,
10
- loading ? 'cursorLoading' : ''
11
- ]"
12
- [type]="buttonType"
13
- >
14
- <ng-content *ngIf="!loading"></ng-content>
15
- <core-spinner
16
- *ngIf="loading"
17
- class="loading"
18
- [colorState]="colorState"
19
- [size]="20"
20
- ></core-spinner>
21
- </button>
@@ -1,123 +0,0 @@
1
- :host {
2
- width: 100%;
3
- }
4
-
5
- .button {
6
- width: 100%;
7
- height: 30px;
8
- outline: none;
9
- border: none;
10
- text-align: center;
11
- color: var(--default);
12
- background-color: transparent;
13
- box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
14
- 0 2px 5px 0 rgba(43, 45, 80, 0.08), 0 1px 1.5px 0 rgba(0, 0, 0, 0.07),
15
- 0 1px 2px 0 rgba(0, 0, 0, 0.08);
16
- line-height: 1.5;
17
- font-size: 14px;
18
- font-weight: 500;
19
- display: inline-block;
20
- margin-inline-start: auto;
21
- white-space: nowrap;
22
- vertical-align: middle;
23
- user-select: none;
24
- transition: 0.3s;
25
- cursor: pointer;
26
- &:hover {
27
- box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
28
- 0 2px 5px 0 rgba(43, 45, 80, 0.1), 0 3px 9px 0 rgba(43, 45, 80, 0.08),
29
- 0 1px 1.5px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
30
- }
31
- &.small {
32
- height: 30px;
33
- border-radius: 8px !important;
34
- }
35
- &.medium {
36
- height: 38px;
37
- }
38
- &.round {
39
- border: 2px solid #7b1fa2;
40
- height: 44px;
41
- border-radius: 30px;
42
- background-color: #7b1fa2;
43
- &:hover {
44
- color: #fff;
45
- background-color: #7b1fa2;
46
- }
47
-
48
- &:active {
49
- color: #fff;
50
- background-color: #7b1fa2;
51
- }
52
-
53
- &.disabled {
54
- cursor: not-allowed;
55
- opacity: 0.4;
56
- }
57
- }
58
- &.Orange {
59
- background-color: #fc6a15;
60
- color: #fff !important;
61
- }
62
- &.White {
63
- background-color: #fff;
64
- }
65
-
66
- &.success {
67
- color: var(--success-button-color);
68
- &:active {
69
- background-color: var(--success-button-background-color);
70
- box-shadow: none;
71
- }
72
- }
73
-
74
- &.warning {
75
- color: var(--warning-button-color);
76
- &:active {
77
- background-color: var(--warning-button-background-color);
78
- box-shadow: none;
79
- }
80
- }
81
-
82
- &.default {
83
- color: var(--default-button-color);
84
- &:active {
85
- background-color: var(--default-button-background-color);
86
- box-shadow: none;
87
- }
88
- }
89
-
90
- &.primary {
91
- color: var(--primary-button-color);
92
- &:active {
93
- background-color: var(--primary-button-background-color);
94
- box-shadow: none;
95
- }
96
- }
97
-
98
- &.danger {
99
- color: var(--danger-button-color);
100
- &:active {
101
- background-color: var(--danger-button-background-color);
102
- box-shadow: none;
103
- }
104
- }
105
-
106
- &.square {
107
- padding-inline: 16px;
108
- border-radius: 0.25rem;
109
-
110
- &.disabled {
111
- cursor: not-allowed;
112
- opacity: 0.4;
113
- }
114
- }
115
- }
116
- .loading {
117
- display: inline-block;
118
- float: inline-end;
119
- margin-inline-end: 8px;
120
- }
121
- .cursorLoading {
122
- cursor: wait;
123
- }
@@ -1,20 +0,0 @@
1
- <button
2
- (click)="clicked()"
3
- [ngClass]="[
4
- 'button',
5
- disable ? 'disabled' : '',
6
- theme,
7
- colorState,
8
- size,
9
- loading ? 'cursorLoading' : ''
10
- ]"
11
- [type]="buttonType"
12
- >
13
- <ng-content *ngIf="!loading"></ng-content>
14
- <core-spinner
15
- *ngIf="loading"
16
- class="loading"
17
- [colorState]="colorState"
18
- [size]="20"
19
- ></core-spinner>
20
- </button>
@@ -1,115 +0,0 @@
1
- :host {
2
- width: 100%;
3
- }
4
-
5
- .button {
6
- width: 100%;
7
- height: 30px;
8
- outline: none;
9
- border: none;
10
- text-align: center;
11
- color: var(--default);
12
- background-color: transparent;
13
- box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
14
- 0 2px 5px 0 rgba(43, 45, 80, 0.08), 0 1px 1.5px 0 rgba(0, 0, 0, 0.07),
15
- 0 1px 2px 0 rgba(0, 0, 0, 0.08);
16
- line-height: 1.5;
17
- font-size: 14px;
18
- font-weight: 500;
19
- display: inline-block;
20
- margin-inline-start: auto;
21
- white-space: nowrap;
22
- vertical-align: middle;
23
- user-select: none;
24
- transition: 0.3s;
25
- cursor: pointer;
26
- &:hover {
27
- box-shadow: 0 0 0 1px rgba(43, 45, 80, 0.1),
28
- 0 2px 5px 0 rgba(43, 45, 80, 0.1), 0 3px 9px 0 rgba(43, 45, 80, 0.08),
29
- 0 1px 1.5px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
30
- }
31
- &.small {
32
- height: 30px;
33
- }
34
- &.medium {
35
- height: 38px;
36
- }
37
- &.round {
38
- border: 2px solid #7b1fa2;
39
- height: 44px;
40
- border-radius: 30px;
41
- background-color: #7b1fa2;
42
- &:hover {
43
- color: #fff;
44
- background-color: #7b1fa2;
45
- }
46
-
47
- &:active {
48
- color: #fff;
49
- background-color: #7b1fa2;
50
- }
51
-
52
- &.disabled {
53
- cursor: not-allowed;
54
- opacity: 0.4;
55
- }
56
- }
57
-
58
- &.success {
59
- color: var(--success-button-color);
60
- &:active {
61
- background-color: var(--success-button-background-color);
62
- box-shadow: none;
63
- }
64
- }
65
-
66
- &.warning {
67
- color: var(--warning-button-color);
68
- &:active {
69
- background-color: var(--warning-button-background-color);
70
- box-shadow: none;
71
- }
72
- }
73
-
74
- &.default {
75
- color: var(--default-button-color);
76
- &:active {
77
- background-color: var(--default-button-background-color);
78
- box-shadow: none;
79
- }
80
- }
81
-
82
- &.primary {
83
- color: var(--primary-button-color);
84
- &:active {
85
- background-color: var(--primary-button-background-color);
86
- box-shadow: none;
87
- }
88
- }
89
-
90
- &.danger {
91
- color: var(--danger-button-color);
92
- &:active {
93
- background-color: var(--danger-button-background-color);
94
- box-shadow: none;
95
- }
96
- }
97
-
98
- &.square {
99
- padding-inline: 16px;
100
- border-radius: 0.25rem;
101
-
102
- &.disabled {
103
- cursor: not-allowed;
104
- opacity: 0.4;
105
- }
106
- }
107
- }
108
- .loading {
109
- display: inline-block;
110
- float: inline-end;
111
- margin-inline-end: 8px;
112
- }
113
- .cursorLoading {
114
- cursor: wait;
115
- }
@@ -1,54 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { NiraModalService } from 'nira-modal';
3
- import {
4
- ButtonSize,
5
- ButtonType,
6
- Color,
7
- ColorState,
8
- ConfirmDialog,
9
- ThemePalette,
10
- } from '../falconTypes';
11
- import { CoreConfirmDialogComponent } from '../core-confirm-dialog/core-confirm-dialog.component';
12
- import { FormGroup } from '@angular/forms';
13
- import { environment } from '../../environments/environment';
14
-
15
- @Component({
16
- selector: 'core-btn',
17
- templateUrl: './core-btn' + environment.tempName,
18
- styleUrls: ['./core-btn' + environment.styleName],
19
- })
20
- export class CoreBtnComponent {
21
- disable = false;
22
- @Input() formGroup: FormGroup | undefined = undefined;
23
- @Input() loading: boolean = false;
24
- @Input() theme: ThemePalette = 'square';
25
- @Input() buttonType: ButtonType = 'button';
26
- @Input() size: ButtonSize = 'small';
27
- @Input() color: Color = 'White';
28
- @Input() set isDisabled(value: boolean) {
29
- this.disable = value;
30
- }
31
- @Input() colorState: ColorState = 'default';
32
- @Output() btnClicked: EventEmitter<any> = new EventEmitter();
33
- @Input() confirmDialog: ConfirmDialog | undefined;
34
- constructor(private niraModalService: NiraModalService) {}
35
- clicked() {
36
- if (!this.disable) {
37
- if (this.confirmDialog != undefined) {
38
- const modal = this.niraModalService.open(CoreConfirmDialogComponent, {
39
- data: this.confirmDialog,
40
- });
41
- modal.afterClosed.subscribe((result) => {
42
- if (result === 'true') {
43
- this.btnClicked.emit();
44
- }
45
- });
46
- } else {
47
- this.btnClicked.emit();
48
- }
49
- }
50
- if (this.formGroup) {
51
- this.formGroup.markAllAsTouched();
52
- }
53
- }
54
- }
@@ -1,3 +0,0 @@
1
- <div class="h-min rounded-lg shadow-md" [class]="cardClass">
2
- <ng-content></ng-content>
3
- </div>
File without changes
@@ -1,10 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'core-card',
5
- templateUrl: './core-card.component.html',
6
- styleUrls: ['./core-card.component.scss'],
7
- })
8
- export class CoreCardComponent {
9
- @Input() cardClass = 'bg-white';
10
- }
@@ -1,9 +0,0 @@
1
- <div class="flex gap-3">
2
- <input
3
- type="checkbox"
4
- [name]="name"
5
- [(ngModel)]="checked"
6
- (change)="change($event)"
7
- />
8
- <span class="checkmark">{{ label }}</span>
9
- </div>
@@ -1,60 +0,0 @@
1
- .container {
2
- display: inline;
3
- position: relative;
4
- padding-left: 35px;
5
- margin-bottom: 12px;
6
- cursor: pointer;
7
- font-size: 18px;
8
- padding-inline: 8px;
9
- -webkit-user-select: none;
10
- -moz-user-select: none;
11
- -ms-user-select: none;
12
- user-select: none;
13
- }
14
- .label {
15
- padding-right: 8px;
16
- }
17
- .container input {
18
- position: absolute;
19
- opacity: 0;
20
- cursor: pointer;
21
- height: 0;
22
- width: 0;
23
- }
24
-
25
- .checkmark {
26
- }
27
-
28
- .container:hover input ~ .checkmark {
29
- background-color: var(--default-checkbox-input-hover-background-color);
30
- }
31
-
32
- .container input:checked ~ .checkmark {
33
- background-color: var(--default-checkbox-input-checked-background-color);
34
- }
35
-
36
- .checkmark:after {
37
- content: "";
38
- position: absolute;
39
- display: none;
40
- }
41
-
42
- .container input:checked ~ .checkmark:after {
43
- display: block;
44
- }
45
-
46
- .container .checkmark:after {
47
- left: 10px;
48
- top: 4px;
49
- width: 4px;
50
- height: 10px;
51
- border: solid white;
52
- border-width: 0 3px 3px 0;
53
- -webkit-transform: rotate(45deg);
54
- -ms-transform: rotate(45deg);
55
- transform: rotate(45deg);
56
- }
57
- .container {
58
- font-size: 13px;
59
- font-weight: 500;
60
- }
@@ -1,19 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
-
4
- @Component({
5
- selector: 'core-checkbox',
6
- templateUrl: './core-checkbox.component.html',
7
- styleUrls: ['./core-checkbox.component.scss'],
8
- })
9
- export class CoreCheckboxComponent {
10
- @Input() label = '';
11
- @Input() name = '1';
12
- @Input() checked = false;
13
- @Output() onChange: EventEmitter<any> = new EventEmitter();
14
- @Input() inputFormControl: FormControl = new FormControl('', []);
15
-
16
- change(event: any) {
17
- this.onChange.emit(event);
18
- }
19
- }
@@ -1,28 +0,0 @@
1
- <core-card class="block min-w-64 m-5">
2
- <div class="header flex mb-6 justify-between">
3
- <b class="m-3 self-center">{{ confirmDialog.title }}</b>
4
- <close-icon
5
- (click)="close()"
6
- class="header-icon h-10 m-3 rounded-full cursor-pointer p-2 hover:shadow-md"
7
- ></close-icon>
8
- </div>
9
-
10
- <p class="max-w-lg px-6">{{ confirmDialog.text }}</p>
11
- <div class="grid grid-cols-4 gap-x-2 p-3" dir="ltr">
12
- <button
13
- class="col-span-1 button square default small"
14
- (click)="close()"
15
- type="button"
16
- >
17
- {{ confirmDialog.cancelBtn }}
18
- </button>
19
-
20
- <button
21
- class="col-span-1 button square danger small"
22
- (click)="confirm()"
23
- type="button"
24
- >
25
- {{ confirmDialog.confirmBtn }}
26
- </button>
27
- </div>
28
- </core-card>