nira-falcon 0.1.21 → 0.1.23

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 (318) hide show
  1. package/README.md +24 -24
  2. package/ng-package.json +7 -0
  3. package/package copy.json +13 -0
  4. package/package.json +13 -26
  5. package/src/assets/images/hub-dashboard-title-bg.png +0 -0
  6. package/src/assets/images/iran.png +0 -0
  7. package/src/environments/environment.ts +7 -0
  8. package/src/lib/core-auto-complete/core-auto-complete.component.html +30 -0
  9. package/src/lib/core-auto-complete/core-auto-complete.component.scss +89 -0
  10. package/src/lib/core-auto-complete/core-auto-complete.component.ts +92 -0
  11. package/src/lib/core-btn/core-btn-bluebird.component.html +21 -0
  12. package/src/lib/core-btn/core-btn-bluebird.component.scss +123 -0
  13. package/src/lib/core-btn/core-btn-falcon.component.html +20 -0
  14. package/src/lib/core-btn/core-btn-falcon.component.scss +115 -0
  15. package/src/lib/core-btn/core-btn.component.ts +54 -0
  16. package/src/lib/core-card/core-card.component.html +3 -0
  17. package/src/lib/core-card/core-card.component.scss +0 -0
  18. package/src/lib/core-card/core-card.component.ts +10 -0
  19. package/src/lib/core-checkbox/core-checkbox.component.html +9 -0
  20. package/src/lib/core-checkbox/core-checkbox.component.scss +60 -0
  21. package/src/lib/core-checkbox/core-checkbox.component.ts +19 -0
  22. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.html +28 -0
  23. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.scss +131 -0
  24. package/src/lib/core-confirm-dialog/core-confirm-dialog.component.ts +29 -0
  25. package/src/lib/core-date-picker/core-date-picker-bluebird.component.html +15 -0
  26. package/src/lib/core-date-picker/core-date-picker-bluebird.component.scss +0 -0
  27. package/src/lib/core-date-picker/core-date-picker-falcon.component.html +14 -0
  28. package/src/lib/core-date-picker/core-date-picker-falcon.component.scss +0 -0
  29. package/src/lib/core-date-picker/core-date-picker.component.ts +44 -0
  30. package/src/lib/core-input/core-input-bluebird.component.html +95 -0
  31. package/src/lib/core-input/core-input-bluebird.component.scss +152 -0
  32. package/src/lib/core-input/core-input-falcon.component.html +90 -0
  33. package/src/lib/core-input/core-input-falcon.component.scss +141 -0
  34. package/src/lib/core-input/core-input.component.ts +112 -0
  35. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.html +3 -0
  36. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.scss +15 -0
  37. package/src/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.ts +19 -0
  38. package/src/lib/core-multi-select/core-multi-select.component.html +41 -0
  39. package/src/lib/core-multi-select/core-multi-select.component.scss +119 -0
  40. package/src/lib/core-multi-select/core-multi-select.component.ts +139 -0
  41. package/src/lib/core-number/core-number.component.html +3 -0
  42. package/src/lib/core-number/core-number.component.scss +1 -0
  43. package/src/lib/core-number/core-number.component.ts +45 -0
  44. package/src/lib/core-page-title/core-page-title.component.html +14 -0
  45. package/src/lib/core-page-title/core-page-title.component.scss +16 -0
  46. package/src/lib/core-page-title/core-page-title.component.ts +11 -0
  47. package/src/lib/core-radio-buttons/core-radio-buttons.component.html +17 -0
  48. package/src/lib/core-radio-buttons/core-radio-buttons.component.scss +46 -0
  49. package/src/lib/core-radio-buttons/core-radio-buttons.component.spec.ts +21 -0
  50. package/src/lib/core-radio-buttons/core-radio-buttons.component.ts +64 -0
  51. package/src/lib/core-search-box/core-search-box.component.html +14 -0
  52. package/src/lib/core-search-box/core-search-box.component.scss +37 -0
  53. package/src/lib/core-search-box/core-search-box.component.ts +15 -0
  54. package/src/lib/core-select/core-select-bluebird.component.html +57 -0
  55. package/src/lib/core-select/core-select-bluebird.component.scss +129 -0
  56. package/src/lib/core-select/core-select-falcon.component.html +56 -0
  57. package/src/lib/core-select/core-select-falcon.component.scss +123 -0
  58. package/src/lib/core-select/core-select.component.spec.ts +21 -0
  59. package/src/lib/core-select/core-select.component.ts +93 -0
  60. package/src/lib/core-spinner/core-spinner.component.html +14 -0
  61. package/src/lib/core-spinner/core-spinner.component.scss +162 -0
  62. package/src/lib/core-spinner/core-spinner.component.ts +13 -0
  63. package/src/lib/core-switch/core-switch.component.html +13 -0
  64. package/src/lib/core-switch/core-switch.component.scss +58 -0
  65. package/src/lib/core-switch/core-switch.component.spec.ts +21 -0
  66. package/src/lib/core-switch/core-switch.component.ts +28 -0
  67. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.html +21 -0
  68. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.scss +3 -0
  69. package/src/lib/core-table/core-column-date-picker/core-column-date-picker.component.ts +55 -0
  70. package/src/lib/core-table/core-column-input/core-column-input.component.html +17 -0
  71. package/src/lib/core-table/core-column-input/core-column-input.component.scss +21 -0
  72. package/src/lib/core-table/core-column-input/core-column-input.component.ts +23 -0
  73. package/src/lib/core-table/core-column-selector/core-column-selector.component.html +47 -0
  74. package/src/lib/core-table/core-column-selector/core-column-selector.component.scss +113 -0
  75. package/src/lib/core-table/core-column-selector/core-column-selector.component.ts +94 -0
  76. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.html +12 -0
  77. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.scss +21 -0
  78. package/src/lib/core-table/core-row-pelak/core-row-pelak.component.ts +12 -0
  79. package/src/lib/core-table/core-table/core-table.component.html +168 -0
  80. package/src/lib/core-table/core-table/core-table.component.scss +65 -0
  81. package/src/lib/core-table/core-table/core-table.component.ts +179 -0
  82. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.html +10 -0
  83. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.scss +3 -0
  84. package/src/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.ts +24 -0
  85. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.html +6 -0
  86. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.scss +3 -0
  87. package/src/lib/core-table/core-table-action-column/core-table-action-column.component.ts +19 -0
  88. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.html +94 -0
  89. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.scss +0 -0
  90. package/src/lib/core-table/core-table-card-manager/core-table-card-manager.component.ts +58 -0
  91. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.html +99 -0
  92. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.scss +0 -0
  93. package/src/lib/core-table/core-table-column-manager/core-table-column-manager.component.ts +59 -0
  94. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.html +5 -0
  95. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.scss +8 -0
  96. package/src/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.ts +28 -0
  97. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.html +24 -0
  98. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.scss +10 -0
  99. package/src/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.ts +76 -0
  100. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.html +6 -0
  101. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.scss +7 -0
  102. package/src/lib/core-table/core-table-no-content/core-table-no-content.component.ts +14 -0
  103. package/src/lib/core-table/core-table-no-content/core-table-no-content.label.ts +14 -0
  104. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.html +5 -0
  105. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.scss +0 -0
  106. package/src/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.ts +60 -0
  107. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.html +3 -0
  108. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.scss +0 -0
  109. package/src/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.ts +24 -0
  110. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.html +3 -0
  111. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.scss +14 -0
  112. package/src/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.ts +14 -0
  113. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.html +3 -0
  114. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.scss +14 -0
  115. package/src/lib/core-table/core-table-status-column/core-table-status-column.component.ts +11 -0
  116. package/src/lib/core-textarea/core-textarea.component.html +18 -0
  117. package/src/lib/core-textarea/core-textarea.component.scss +62 -0
  118. package/src/lib/core-textarea/core-textarea.component.ts +31 -0
  119. package/src/lib/core-time-picker/core-time-picker.component.html +51 -0
  120. package/src/lib/core-time-picker/core-time-picker.component.scss +144 -0
  121. package/src/lib/core-time-picker/core-time-picker.component.ts +102 -0
  122. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.html +50 -0
  123. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.scss +424 -0
  124. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.spec.ts +21 -0
  125. package/src/lib/core-time-picker/time-picker-modal/time-picker-modal.component.ts +172 -0
  126. package/src/lib/falcon-lib.module.ts +157 -0
  127. package/src/lib/falconTypes.ts +35 -0
  128. package/src/lib/pipes/digit-group.pipe.ts +10 -0
  129. package/src/lib/pipes/form-control.pipe.ts +11 -0
  130. package/src/lib/pipes/persian-digits.pipe.ts +33 -0
  131. package/src/lib/pipes/price-format.pipe.ts +20 -0
  132. package/src/lib/pipes/shamsi-date.pipe.ts +24 -0
  133. package/src/lib/pipes/time-format.pipe.ts +21 -0
  134. package/src/lib/pipes/weight.pipe.ts +10 -0
  135. package/src/lib/wordify.ts +116 -0
  136. package/{public-api.d.ts → src/public-api.ts} +31 -27
  137. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.html +8 -0
  138. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.scss +0 -0
  139. package/src/svg-icon/arrow-down-icon/arrow-down-icon.component.ts +8 -0
  140. package/src/svg-icon/calendar-icon/calendar-icon.component.html +10 -0
  141. package/src/svg-icon/calendar-icon/calendar-icon.component.scss +0 -0
  142. package/src/svg-icon/calendar-icon/calendar-icon.component.ts +8 -0
  143. package/src/svg-icon/caret-up-icon/caret-up-icon.component.html +16 -0
  144. package/src/svg-icon/caret-up-icon/caret-up-icon.component.scss +0 -0
  145. package/src/svg-icon/caret-up-icon/caret-up-icon.component.ts +10 -0
  146. package/src/svg-icon/close-icon/close-icon.component.html +10 -0
  147. package/src/svg-icon/close-icon/close-icon.component.scss +0 -0
  148. package/src/svg-icon/close-icon/close-icon.component.ts +8 -0
  149. package/src/svg-icon/edit-square-icon/edit-square-icon.component.html +10 -0
  150. package/src/svg-icon/edit-square-icon/edit-square-icon.component.scss +0 -0
  151. package/src/svg-icon/edit-square-icon/edit-square-icon.component.ts +8 -0
  152. package/src/svg-icon/pelak-icon/pelak-icon.component.html +32 -0
  153. package/src/svg-icon/pelak-icon/pelak-icon.component.scss +0 -0
  154. package/src/svg-icon/pelak-icon/pelak-icon.component.ts +8 -0
  155. package/src/svg-icon/search-icon/search-icon.component.html +10 -0
  156. package/src/svg-icon/search-icon/search-icon.component.scss +0 -0
  157. package/src/svg-icon/search-icon/search-icon.component.spec.ts +21 -0
  158. package/src/svg-icon/search-icon/search-icon.component.ts +8 -0
  159. package/src/svg-icon/sort-down-icon/sort-down-icon.component.html +5 -0
  160. package/src/svg-icon/sort-down-icon/sort-down-icon.component.scss +0 -0
  161. package/src/svg-icon/sort-down-icon/sort-down-icon.component.ts +10 -0
  162. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.html +5 -0
  163. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.scss +0 -0
  164. package/src/svg-icon/sort-solid-icon/sort-solid-icon.component.ts +8 -0
  165. package/src/svg-icon/sort-up-icon/sort-up-icon.component.html +5 -0
  166. package/src/svg-icon/sort-up-icon/sort-up-icon.component.scss +0 -0
  167. package/src/svg-icon/sort-up-icon/sort-up-icon.component.ts +8 -0
  168. package/src/svg-icon/time-icon/time-icon.component.html +10 -0
  169. package/src/svg-icon/time-icon/time-icon.component.scss +0 -0
  170. package/src/svg-icon/time-icon/time-icon.component.ts +8 -0
  171. package/src/svg-icon/warning-icon/warning-icon.component.html +10 -0
  172. package/src/svg-icon/warning-icon/warning-icon.component.scss +0 -0
  173. package/src/svg-icon/warning-icon/warning-icon.component.ts +10 -0
  174. package/src/utils/constants.ts +182 -0
  175. package/src/utils/directives/detail-viewer-manager.directive.ts +78 -0
  176. package/src/utils/directives/filterTableDirective.ts +36 -0
  177. package/src/utils/directives/table-detail-viewer-manager.directive.ts +57 -0
  178. package/src/utils/interfaces.ts +0 -0
  179. package/src/utils/jsonparser.ts +49 -0
  180. package/src/utils/links.ts +67 -0
  181. package/src/utils/toast.ts +35 -0
  182. package/src/utils/types.ts +20 -0
  183. package/src/utils/util.ts +32 -0
  184. package/styles.css +1 -1
  185. package/tsconfig.lib.json +14 -0
  186. package/tsconfig.lib.prod.json +10 -0
  187. package/tsconfig.spec.json +14 -0
  188. package/environments/environment.d.ts +0 -4
  189. package/esm2022/environments/environment.mjs +0 -7
  190. package/esm2022/lib/core-auto-complete/core-auto-complete.component.mjs +0 -82
  191. package/esm2022/lib/core-btn/core-btn.component.mjs +0 -68
  192. package/esm2022/lib/core-card/core-card.component.mjs +0 -16
  193. package/esm2022/lib/core-checkbox/core-checkbox.component.mjs +0 -33
  194. package/esm2022/lib/core-confirm-dialog/core-confirm-dialog.component.mjs +0 -31
  195. package/esm2022/lib/core-date-picker/core-date-picker.component.mjs +0 -46
  196. package/esm2022/lib/core-input/core-input.component.mjs +0 -132
  197. package/esm2022/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.mjs +0 -28
  198. package/esm2022/lib/core-multi-select/core-multi-select.component.mjs +0 -145
  199. package/esm2022/lib/core-number/core-number.component.mjs +0 -64
  200. package/esm2022/lib/core-page-title/core-page-title.component.mjs +0 -19
  201. package/esm2022/lib/core-radio-buttons/core-radio-buttons.component.mjs +0 -75
  202. package/esm2022/lib/core-search-box/core-search-box.component.mjs +0 -25
  203. package/esm2022/lib/core-select/core-select.component.mjs +0 -92
  204. package/esm2022/lib/core-spinner/core-spinner.component.mjs +0 -23
  205. package/esm2022/lib/core-switch/core-switch.component.mjs +0 -33
  206. package/esm2022/lib/core-table/core-column-date-picker/core-column-date-picker.component.mjs +0 -62
  207. package/esm2022/lib/core-table/core-column-input/core-column-input.component.mjs +0 -43
  208. package/esm2022/lib/core-table/core-column-selector/core-column-selector.component.mjs +0 -100
  209. package/esm2022/lib/core-table/core-row-pelak/core-row-pelak.component.mjs +0 -21
  210. package/esm2022/lib/core-table/core-table/core-table.component.mjs +0 -182
  211. package/esm2022/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.mjs +0 -34
  212. package/esm2022/lib/core-table/core-table-action-column/core-table-action-column.component.mjs +0 -27
  213. package/esm2022/lib/core-table/core-table-card-manager/core-table-card-manager.component.mjs +0 -83
  214. package/esm2022/lib/core-table/core-table-column-manager/core-table-column-manager.component.mjs +0 -85
  215. package/esm2022/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.mjs +0 -29
  216. package/esm2022/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.mjs +0 -82
  217. package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.component.mjs +0 -23
  218. package/esm2022/lib/core-table/core-table-no-content/core-table-no-content.label.mjs +0 -9
  219. package/esm2022/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.mjs +0 -68
  220. package/esm2022/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.mjs +0 -28
  221. package/esm2022/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.mjs +0 -20
  222. package/esm2022/lib/core-table/core-table-status-column/core-table-status-column.component.mjs +0 -18
  223. package/esm2022/lib/core-textarea/core-textarea.component.mjs +0 -47
  224. package/esm2022/lib/core-time-picker/core-time-picker.component.mjs +0 -118
  225. package/esm2022/lib/core-time-picker/time-picker-modal/time-picker-modal.component.mjs +0 -147
  226. package/esm2022/lib/falcon-lib.module.mjs +0 -252
  227. package/esm2022/lib/falconTypes.mjs +0 -9
  228. package/esm2022/lib/pipes/digit-group.pipe.mjs +0 -16
  229. package/esm2022/lib/pipes/form-control.pipe.mjs +0 -16
  230. package/esm2022/lib/pipes/persian-digits.pipe.mjs +0 -40
  231. package/esm2022/lib/pipes/price-format.pipe.mjs +0 -23
  232. package/esm2022/lib/pipes/shamsi-date.pipe.mjs +0 -24
  233. package/esm2022/lib/pipes/time-format.pipe.mjs +0 -28
  234. package/esm2022/lib/pipes/weight.pipe.mjs +0 -16
  235. package/esm2022/lib/wordify.mjs +0 -109
  236. package/esm2022/nira-falcon.mjs +0 -5
  237. package/esm2022/public-api.mjs +0 -31
  238. package/esm2022/svg-icon/arrow-down-icon/arrow-down-icon.component.mjs +0 -11
  239. package/esm2022/svg-icon/calendar-icon/calendar-icon.component.mjs +0 -11
  240. package/esm2022/svg-icon/caret-up-icon/caret-up-icon.component.mjs +0 -11
  241. package/esm2022/svg-icon/close-icon/close-icon.component.mjs +0 -11
  242. package/esm2022/svg-icon/edit-square-icon/edit-square-icon.component.mjs +0 -11
  243. package/esm2022/svg-icon/pelak-icon/pelak-icon.component.mjs +0 -11
  244. package/esm2022/svg-icon/search-icon/search-icon.component.mjs +0 -11
  245. package/esm2022/svg-icon/sort-down-icon/sort-down-icon.component.mjs +0 -11
  246. package/esm2022/svg-icon/sort-solid-icon/sort-solid-icon.component.mjs +0 -11
  247. package/esm2022/svg-icon/sort-up-icon/sort-up-icon.component.mjs +0 -11
  248. package/esm2022/svg-icon/time-icon/time-icon.component.mjs +0 -11
  249. package/esm2022/svg-icon/warning-icon/warning-icon.component.mjs +0 -11
  250. package/esm2022/utils/constants.mjs +0 -184
  251. package/esm2022/utils/directives/detail-viewer-manager.directive.mjs +0 -71
  252. package/esm2022/utils/directives/table-detail-viewer-manager.directive.mjs +0 -49
  253. package/esm2022/utils/util.mjs +0 -26
  254. package/fesm2022/nira-falcon.mjs +0 -2863
  255. package/fesm2022/nira-falcon.mjs.map +0 -1
  256. package/index.d.ts +0 -5
  257. package/lib/core-auto-complete/core-auto-complete.component.d.ts +0 -30
  258. package/lib/core-btn/core-btn.component.d.ts +0 -22
  259. package/lib/core-card/core-card.component.d.ts +0 -6
  260. package/lib/core-checkbox/core-checkbox.component.d.ts +0 -13
  261. package/lib/core-confirm-dialog/core-confirm-dialog.component.d.ts +0 -14
  262. package/lib/core-date-picker/core-date-picker.component.d.ts +0 -20
  263. package/lib/core-input/core-input.component.d.ts +0 -28
  264. package/lib/core-multi-select/core-multi-select-row/core-multi-select-row.component.d.ts +0 -11
  265. package/lib/core-multi-select/core-multi-select.component.d.ts +0 -43
  266. package/lib/core-number/core-number.component.d.ts +0 -12
  267. package/lib/core-page-title/core-page-title.component.d.ts +0 -7
  268. package/lib/core-radio-buttons/core-radio-buttons.component.d.ts +0 -29
  269. package/lib/core-search-box/core-search-box.component.d.ts +0 -10
  270. package/lib/core-select/core-select.component.d.ts +0 -36
  271. package/lib/core-spinner/core-spinner.component.d.ts +0 -9
  272. package/lib/core-switch/core-switch.component.d.ts +0 -17
  273. package/lib/core-table/core-column-date-picker/core-column-date-picker.component.d.ts +0 -21
  274. package/lib/core-table/core-column-input/core-column-input.component.d.ts +0 -16
  275. package/lib/core-table/core-column-selector/core-column-selector.component.d.ts +0 -35
  276. package/lib/core-table/core-row-pelak/core-row-pelak.component.d.ts +0 -8
  277. package/lib/core-table/core-table/core-table.component.d.ts +0 -42
  278. package/lib/core-table/core-table-action-buttons-column/core-table-action-buttons-column.component.d.ts +0 -11
  279. package/lib/core-table/core-table-action-column/core-table-action-column.component.d.ts +0 -11
  280. package/lib/core-table/core-table-card-manager/core-table-card-manager.component.d.ts +0 -24
  281. package/lib/core-table/core-table-column-manager/core-table-column-manager.component.d.ts +0 -24
  282. package/lib/core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component.d.ts +0 -11
  283. package/lib/core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component.d.ts +0 -22
  284. package/lib/core-table/core-table-no-content/core-table-no-content.component.d.ts +0 -9
  285. package/lib/core-table/core-table-no-content/core-table-no-content.label.d.ts +0 -5
  286. package/lib/core-table/core-table-row-selector-column/core-table-row-selector-column.component.d.ts +0 -14
  287. package/lib/core-table/core-table-shamsi-date/core-table-shamsi-date.component.d.ts +0 -11
  288. package/lib/core-table/core-table-status-active-column/core-table-status-active-column.component.d.ts +0 -8
  289. package/lib/core-table/core-table-status-column/core-table-status-column.component.d.ts +0 -7
  290. package/lib/core-textarea/core-textarea.component.d.ts +0 -13
  291. package/lib/core-time-picker/core-time-picker.component.d.ts +0 -26
  292. package/lib/core-time-picker/time-picker-modal/time-picker-modal.component.d.ts +0 -35
  293. package/lib/falcon-lib.module.d.ts +0 -66
  294. package/lib/falconTypes.d.ts +0 -23
  295. package/lib/pipes/digit-group.pipe.d.ts +0 -7
  296. package/lib/pipes/form-control.pipe.d.ts +0 -8
  297. package/lib/pipes/persian-digits.pipe.d.ts +0 -7
  298. package/lib/pipes/price-format.pipe.d.ts +0 -7
  299. package/lib/pipes/shamsi-date.pipe.d.ts +0 -9
  300. package/lib/pipes/time-format.pipe.d.ts +0 -7
  301. package/lib/pipes/weight.pipe.d.ts +0 -7
  302. package/lib/wordify.d.ts +0 -2
  303. package/svg-icon/arrow-down-icon/arrow-down-icon.component.d.ts +0 -5
  304. package/svg-icon/calendar-icon/calendar-icon.component.d.ts +0 -5
  305. package/svg-icon/caret-up-icon/caret-up-icon.component.d.ts +0 -5
  306. package/svg-icon/close-icon/close-icon.component.d.ts +0 -5
  307. package/svg-icon/edit-square-icon/edit-square-icon.component.d.ts +0 -5
  308. package/svg-icon/pelak-icon/pelak-icon.component.d.ts +0 -5
  309. package/svg-icon/search-icon/search-icon.component.d.ts +0 -5
  310. package/svg-icon/sort-down-icon/sort-down-icon.component.d.ts +0 -5
  311. package/svg-icon/sort-solid-icon/sort-solid-icon.component.d.ts +0 -5
  312. package/svg-icon/sort-up-icon/sort-up-icon.component.d.ts +0 -5
  313. package/svg-icon/time-icon/time-icon.component.d.ts +0 -5
  314. package/svg-icon/warning-icon/warning-icon.component.d.ts +0 -5
  315. package/utils/constants.d.ts +0 -70
  316. package/utils/directives/detail-viewer-manager.directive.d.ts +0 -18
  317. package/utils/directives/table-detail-viewer-manager.directive.d.ts +0 -16
  318. package/utils/util.d.ts +0 -11
@@ -0,0 +1,157 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CoreBtnComponent } from './core-btn/core-btn.component';
3
+ import { CoreSpinnerComponent } from './core-spinner/core-spinner.component';
4
+ import { CommonModule } from '@angular/common';
5
+ import { CoreAutoCompleteComponent } from './core-auto-complete/core-auto-complete.component';
6
+ import { CoreCardComponent } from './core-card/core-card.component';
7
+ import { CoreCheckboxComponent } from './core-checkbox/core-checkbox.component';
8
+ import { CoreConfirmDialogComponent } from './core-confirm-dialog/core-confirm-dialog.component';
9
+ import { CoreDatePickerComponent } from './core-date-picker/core-date-picker.component';
10
+ import { CoreInputComponent } from './core-input/core-input.component';
11
+ import { CorePageTitleComponent } from './core-page-title/core-page-title.component';
12
+ import { CoreRadioButtonsComponent } from './core-radio-buttons/core-radio-buttons.component';
13
+ import { CoreSearchBoxComponent } from './core-search-box/core-search-box.component';
14
+ import { CoreSelectComponent } from './core-select/core-select.component';
15
+ import { CoreSwitchComponent } from './core-switch/core-switch.component';
16
+ import { CoreTableComponent } from './core-table/core-table/core-table.component';
17
+ import { CoreColumnDatePickerComponent } from './core-table/core-column-date-picker/core-column-date-picker.component';
18
+ import { CoreColumnInputComponent } from './core-table/core-column-input/core-column-input.component';
19
+ import { CoreColumnSelectorComponent } from './core-table/core-column-selector/core-column-selector.component';
20
+ import { CoreTableActionButtonsColumnComponent } from './core-table/core-table-action-buttons-column/core-table-action-buttons-column.component';
21
+ import { CoreTableActionColumnComponent } from './core-table/core-table-action-column/core-table-action-column.component';
22
+ import { CoreTableCardManagerComponent } from './core-table/core-table-card-manager/core-table-card-manager.component';
23
+ import { CoreTableColumnManagerComponent } from './core-table/core-table-column-manager/core-table-column-manager.component';
24
+ import { CoreTableFilterDialogComponent } from './core-table/core-table-filter-dialog/core-table-filter-dialog/core-table-filter-dialog.component';
25
+ import { CoreTableNoContentComponent } from './core-table/core-table-no-content/core-table-no-content.component';
26
+ import { CoreTableRowSelectorColumnComponent } from './core-table/core-table-row-selector-column/core-table-row-selector-column.component';
27
+ import { CoreTableShamsiDateComponent } from './core-table/core-table-shamsi-date/core-table-shamsi-date.component';
28
+ import { CoreTableStatusColumnComponent } from './core-table/core-table-status-column/core-table-status-column.component';
29
+ import { CoreTextareaComponent } from './core-textarea/core-textarea.component';
30
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
31
+ import { SearchIconComponent } from '../svg-icon/search-icon/search-icon.component';
32
+ import { CloseIconComponent } from '../svg-icon/close-icon/close-icon.component';
33
+ import { NiraSnackBarModule } from 'nira-snack-bar';
34
+ import { NiraDatePickerModule } from 'nira-date-picker';
35
+ import { CoreTimePickerComponent } from './core-time-picker/core-time-picker.component';
36
+ import { TimePickerModalComponent } from './core-time-picker/time-picker-modal/time-picker-modal.component';
37
+ import { WarningIconComponent } from '../svg-icon/warning-icon/warning-icon.component';
38
+ import { EditSquareIconComponent } from '../svg-icon/edit-square-icon/edit-square-icon.component';
39
+ import { SortDownIconComponent } from '../svg-icon/sort-down-icon/sort-down-icon.component';
40
+ import { SortSolidIconComponent } from '../svg-icon/sort-solid-icon/sort-solid-icon.component';
41
+ import { SortUpIconComponent } from '../svg-icon/sort-up-icon/sort-up-icon.component';
42
+ import { TimeIconComponent } from '../svg-icon/time-icon/time-icon.component';
43
+ import { CoreNumberComponent } from './core-number/core-number.component';
44
+ import { CaretUpIconComponent } from '../svg-icon/caret-up-icon/caret-up-icon.component';
45
+ import { TableDetailViewerManagerDirective } from '../utils/directives/table-detail-viewer-manager.directive';
46
+ import { CoreTableStatusActiveColumnComponent } from './core-table/core-table-status-active-column/core-table-status-active-column.component';
47
+ import { CoreRowPelakComponent } from './core-table/core-row-pelak/core-row-pelak.component';
48
+ import { CoreTableDetailViewerForReportComponent } from './core-table/core-table-detail-viewer-for-report/core-table-detail-viewer-for-report.component';
49
+ import { DetailViewerManagerDirective } from '../utils/directives/detail-viewer-manager.directive';
50
+ import { PelakIconComponent } from '../svg-icon/pelak-icon/pelak-icon.component';
51
+ import { PersianDigitsPipe } from './pipes/persian-digits.pipe';
52
+ import { FormControlPipe } from './pipes/form-control.pipe';
53
+ import { DigitGroupPipe } from './pipes/digit-group.pipe';
54
+ import { PriceFormatPipe } from './pipes/price-format.pipe';
55
+ import { TimeFormatPipe } from './pipes/time-format.pipe';
56
+ import { WeightPipe } from './pipes/weight.pipe';
57
+ import { ShamsiDatePipe } from './pipes/shamsi-date.pipe';
58
+ import { CalendarIconComponent } from '../svg-icon/calendar-icon/calendar-icon.component';
59
+ import { ArrowDownIconComponent } from '../svg-icon/arrow-down-icon/arrow-down-icon.component';
60
+ import { CoreMultiSelectComponent } from './core-multi-select/core-multi-select.component';
61
+ import { CoreMultiSelectRowComponent } from './core-multi-select/core-multi-select-row/core-multi-select-row.component';
62
+
63
+ @NgModule({
64
+ declarations: [
65
+ CoreAutoCompleteComponent,
66
+ CoreBtnComponent,
67
+ CoreSearchBoxComponent,
68
+ CoreCheckboxComponent,
69
+ CoreDatePickerComponent,
70
+ CoreConfirmDialogComponent,
71
+ CoreInputComponent,
72
+ CorePageTitleComponent,
73
+ CoreRadioButtonsComponent,
74
+ CoreSearchBoxComponent,
75
+ CoreCardComponent,
76
+ CoreSelectComponent,
77
+ CoreSpinnerComponent,
78
+ CoreSwitchComponent,
79
+ CoreColumnDatePickerComponent,
80
+ CoreColumnInputComponent,
81
+ CoreColumnSelectorComponent,
82
+ CoreTableComponent,
83
+ CoreTableActionButtonsColumnComponent,
84
+ CoreTableActionColumnComponent,
85
+ CoreTableCardManagerComponent,
86
+ CoreTableColumnManagerComponent,
87
+ CoreTableFilterDialogComponent,
88
+ CoreTableNoContentComponent,
89
+ CoreTableRowSelectorColumnComponent,
90
+ CoreTableShamsiDateComponent,
91
+ CoreTableStatusColumnComponent,
92
+ TimePickerModalComponent,
93
+ CoreTextareaComponent,
94
+ CoreTimePickerComponent,
95
+ CoreNumberComponent,
96
+ PersianDigitsPipe,
97
+ FormControlPipe,
98
+ DigitGroupPipe,
99
+ PriceFormatPipe,
100
+ TimeFormatPipe,
101
+ ShamsiDatePipe,
102
+ WeightPipe,
103
+ SearchIconComponent,
104
+ CloseIconComponent,
105
+ WarningIconComponent,
106
+ EditSquareIconComponent,
107
+ SortDownIconComponent,
108
+ CaretUpIconComponent,
109
+ TimeIconComponent,
110
+ SortSolidIconComponent,
111
+ SortUpIconComponent,
112
+ PelakIconComponent,
113
+ CoreMultiSelectComponent,
114
+ CoreMultiSelectRowComponent,
115
+ TableDetailViewerManagerDirective,
116
+ DetailViewerManagerDirective,
117
+ CoreTableStatusActiveColumnComponent,
118
+ CoreRowPelakComponent,
119
+ CoreTableDetailViewerForReportComponent,
120
+ CalendarIconComponent,
121
+ ArrowDownIconComponent,
122
+ ],
123
+ imports: [
124
+ CommonModule,
125
+ ReactiveFormsModule,
126
+ FormsModule,
127
+ NiraSnackBarModule,
128
+ NiraDatePickerModule,
129
+ ],
130
+ exports: [
131
+ CoreAutoCompleteComponent,
132
+ CoreCardComponent,
133
+ CoreCheckboxComponent,
134
+ CoreDatePickerComponent,
135
+ CorePageTitleComponent,
136
+ CoreSelectComponent,
137
+ CoreRadioButtonsComponent,
138
+ CoreInputComponent,
139
+ CoreSpinnerComponent,
140
+ CoreSwitchComponent,
141
+ CoreMultiSelectComponent,
142
+ CoreTableComponent,
143
+ CoreBtnComponent,
144
+ CoreTimePickerComponent,
145
+ CoreNumberComponent,
146
+ CoreConfirmDialogComponent,
147
+ PersianDigitsPipe,
148
+ CoreSearchBoxComponent,
149
+ FormControlPipe,
150
+ DigitGroupPipe,
151
+ PriceFormatPipe,
152
+ ShamsiDatePipe,
153
+ TimeFormatPipe,
154
+ WeightPipe,
155
+ ],
156
+ })
157
+ export class FalconLibModule {}
@@ -0,0 +1,35 @@
1
+ export type ThemePalette = 'square' | 'round';
2
+ export type ColorState =
3
+ | 'default'
4
+ | 'primary'
5
+ | 'success'
6
+ | 'warning'
7
+ | 'danger';
8
+
9
+ export type ButtonType = 'button';
10
+
11
+ export type LayoutRadioButtons = 'row' | 'column';
12
+
13
+ export type InputType = 'number' | 'password' | 'text';
14
+
15
+ export type MenuItem<T> = {
16
+ title: T;
17
+ value: T;
18
+ };
19
+
20
+ export type ButtonSize = 'xsmall' | 'small' | 'medium';
21
+ export type Color = 'White' | 'Orange' | 'Purple';
22
+ export type ConfirmDialog = {
23
+ title: string;
24
+ text: string;
25
+ confirmBtn: string;
26
+ cancelBtn: string;
27
+ };
28
+
29
+ export enum DetailViewers {
30
+ BILL = 'bill',
31
+ DRIVER = 'driver',
32
+ MANIFEST = 'manifest',
33
+ SERVICE = 'service',
34
+ VEHICLE = 'vehicle',
35
+ }
@@ -0,0 +1,10 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ @Pipe({
4
+ name: 'digitGroup',
5
+ })
6
+ export class DigitGroupPipe implements PipeTransform {
7
+ transform(el: string | number): string {
8
+ return el.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
9
+ }
10
+ }
@@ -0,0 +1,11 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+ import { AbstractControl, FormControl } from '@angular/forms';
3
+
4
+ @Pipe({
5
+ name: 'formControl',
6
+ })
7
+ export class FormControlPipe implements PipeTransform {
8
+ transform(value: AbstractControl): FormControl<(typeof value)['value']> {
9
+ return value as FormControl<(typeof value)['value']>;
10
+ }
11
+ }
@@ -0,0 +1,33 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ @Pipe({
4
+ name: 'persianDigits',
5
+ })
6
+ export class PersianDigitsPipe implements PipeTransform {
7
+ transform(el: number | string): string {
8
+ const persian: Record<number, string> = {
9
+ 0: '۰',
10
+ 1: '۱',
11
+ 2: '۲',
12
+ 3: '۳',
13
+ 4: '۴',
14
+ 5: '۵',
15
+ 6: '۶',
16
+ 7: '۷',
17
+ 8: '۸',
18
+ 9: '۹',
19
+ } as const;
20
+
21
+ if (el != undefined && el != '') {
22
+ let elements = el.toString();
23
+ let list = elements.match(/[0-9]/g);
24
+ if (list != null && list.length != 0) {
25
+ for (let i = 0; i < list.length; i++) {
26
+ elements = elements.replace(list[i], persian[Number(list[i])]);
27
+ }
28
+ }
29
+ elements = elements.replace(/-/g, '/');
30
+ return elements;
31
+ } else return '';
32
+ }
33
+ }
@@ -0,0 +1,20 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ // type Currency = 'RII' | 'T';
4
+ @Pipe({
5
+ name: 'priceFormat',
6
+ })
7
+ export class PriceFormatPipe implements PipeTransform {
8
+ transform(
9
+ value: string | number | undefined,
10
+ currency: string,
11
+ ...args: unknown[]
12
+ ): string {
13
+ if (currency == 'IRR') {
14
+ value = value + ' ریال ';
15
+ } else {
16
+ value = value + ' تومان ';
17
+ }
18
+ return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
19
+ }
20
+ }
@@ -0,0 +1,24 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+ import moment from 'jalali-moment';
3
+ type Format = 'HH:mm' | 'jYYYY/jMM/jDD' | 'jYYYY/jMM/jDD HH:mm';
4
+ @Pipe({
5
+ name: 'shamsiDate',
6
+ })
7
+ export class ShamsiDatePipe implements PipeTransform {
8
+ transform(
9
+ value: string | undefined,
10
+ format: Format | string,
11
+ ...args: unknown[]
12
+ ): string {
13
+ if (!value) return '';
14
+ const m = moment(
15
+ value,
16
+ value.length === 10
17
+ ? 'YYYY-MM-DD'
18
+ : value.length === 16
19
+ ? 'YYYY-MM-DD HH:mm'
20
+ : 'YYYY-MM-DD HH:mm:ss'
21
+ );
22
+ return m.format(format);
23
+ }
24
+ }
@@ -0,0 +1,21 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ @Pipe({
4
+ name: 'timeFormat',
5
+ })
6
+ export class TimeFormatPipe implements PipeTransform {
7
+ transform(value: number, ...args: unknown[]): string {
8
+ let hour = value / 60;
9
+ let result = '';
10
+ hour = value % 60 > 0 ? hour + 1 : hour;
11
+ if (hour >= 24) {
12
+ result = Number.parseInt(String(hour / 24)) + ' روز ';
13
+ if (Number.parseInt(String(hour % 24)) != 0) {
14
+ result = result + ', ' + Number.parseInt(String(hour % 24)) + ' ساعت ';
15
+ }
16
+ } else {
17
+ result = hour + ' ساعت ';
18
+ }
19
+ return result;
20
+ }
21
+ }
@@ -0,0 +1,10 @@
1
+ import { Pipe, PipeTransform } from '@angular/core';
2
+
3
+ @Pipe({
4
+ name: 'weight',
5
+ })
6
+ export class WeightPipe implements PipeTransform {
7
+ transform(value: number, ...args: unknown[]): string {
8
+ return value + ' کیلوگرم ';
9
+ }
10
+ }
@@ -0,0 +1,116 @@
1
+ type DateFormat = 'HH:mm' | 'YYYY-MM-DD' | 'YYYY-MM-DD HH:mm';
2
+ type ShamsiDateFormat = 'HH:mm' | 'jYYYY-jMM-jDD' | 'jYYYY-jMM-jDD HH:mm';
3
+
4
+ export function toEnglishDigits(num: string | number): string {
5
+ if (num === null || num === undefined) {
6
+ return '';
7
+ }
8
+
9
+ if (typeof num !== 'string' || num.length === 0) return num.toString();
10
+
11
+ const faDigits = '۰۱۲۳۴۵۶۷۸۹';
12
+ const arDigits = '٠١٢٣٤٥٦٧٨٩';
13
+ let output = '';
14
+ for (let ipos = 0; ipos < num.length; ipos++) {
15
+ let faIndex = faDigits.indexOf(num[ipos]);
16
+ if (faIndex >= 0) {
17
+ output += faIndex.toString();
18
+ continue;
19
+ }
20
+ let arIndex = arDigits.indexOf(num[ipos]);
21
+ if (arIndex >= 0) {
22
+ output += arIndex.toString();
23
+ continue;
24
+ }
25
+ output += num[ipos];
26
+ }
27
+ return output.replace(/,/g, '');
28
+ }
29
+
30
+ export function WordifyFa(
31
+ input: string | number | undefined,
32
+ level: number = 0
33
+ ): string {
34
+ if (input === null || input === undefined) {
35
+ return '';
36
+ }
37
+
38
+ let num: number = parseInt(toEnglishDigits(input));
39
+
40
+ // convert negative number to positive and get wordify value
41
+ if (num < 0) {
42
+ num = num * -1;
43
+ return 'منفی ' + WordifyFa(num, level);
44
+ }
45
+ if (num === 0) {
46
+ if (level === 0) {
47
+ return 'صفر';
48
+ } else {
49
+ return '';
50
+ }
51
+ }
52
+ let result = '';
53
+ const yekan = ['یک', 'دو', 'سه', 'چهار', 'پنج', 'شش', 'هفت', 'هشت', 'نه'],
54
+ dahgan = ['بیست', 'سی', 'چهل', 'پنجاه', 'شصت', 'هفتاد', 'هشتاد', 'نود'],
55
+ sadgan = [
56
+ 'یکصد',
57
+ 'دویست',
58
+ 'سیصد',
59
+ 'چهارصد',
60
+ 'پانصد',
61
+ 'ششصد',
62
+ 'هفتصد',
63
+ 'هشتصد',
64
+ 'نهصد',
65
+ ],
66
+ dah = [
67
+ 'ده',
68
+ 'یازده',
69
+ 'دوازده',
70
+ 'سیزده',
71
+ 'چهارده',
72
+ 'پانزده',
73
+ 'شانزده',
74
+ 'هفده',
75
+ 'هیجده',
76
+ 'نوزده',
77
+ ];
78
+
79
+ if (level > 0) {
80
+ result += ' و ';
81
+ level -= 1;
82
+ }
83
+
84
+ if (num < 10) {
85
+ result += yekan[num - 1];
86
+ } else if (num < 20) {
87
+ result += dah[num - 10];
88
+ } else if (num < 100) {
89
+ result += dahgan[Math.floor(num / 10) - 2] + WordifyFa(num % 10, level + 1);
90
+ } else if (num < 1000) {
91
+ result +=
92
+ sadgan[Math.floor(num / 100) - 1] + WordifyFa(num % 100, level + 1);
93
+ } else if (num < 1000000) {
94
+ result +=
95
+ WordifyFa(Math.floor(num / 1000), level) +
96
+ ' هزار' +
97
+ WordifyFa(num % 1000, level + 1);
98
+ } else if (num < 1000000000) {
99
+ result +=
100
+ WordifyFa(Math.floor(num / 1000000), level) +
101
+ ' میلیون' +
102
+ WordifyFa(num % 1000000, level + 1);
103
+ } else if (num < 1000000000000) {
104
+ result +=
105
+ WordifyFa(Math.floor(num / 1000000000), level) +
106
+ ' میلیارد' +
107
+ WordifyFa(num % 1000000000, level + 1);
108
+ } else if (num < 1000000000000000) {
109
+ result +=
110
+ WordifyFa(Math.floor(num / 1000000000000), level) +
111
+ ' تریلیارد' +
112
+ WordifyFa(num % 1000000000000, level + 1);
113
+ }
114
+
115
+ return result;
116
+ }
@@ -1,27 +1,31 @@
1
- export * from './lib/falcon-lib.module';
2
- export * from './lib/falconTypes';
3
- export * from './lib/core-btn/core-btn.component';
4
- export * from './lib/core-spinner/core-spinner.component';
5
- export * from './lib/core-btn/core-btn.component';
6
- export * from './lib/core-input/core-input.component';
7
- export * from './lib/core-select/core-select.component';
8
- export * from './lib/core-checkbox/core-checkbox.component';
9
- export * from './lib/core-radio-buttons/core-radio-buttons.component';
10
- export * from './lib/core-confirm-dialog/core-confirm-dialog.component';
11
- export * from './lib/core-date-picker/core-date-picker.component';
12
- export * from './lib/core-time-picker/core-time-picker.component';
13
- export * from './lib/core-switch/core-switch.component';
14
- export * from './lib/core-page-title/core-page-title.component';
15
- export * from './lib/core-card/core-card.component';
16
- export * from './lib/core-table/core-table/core-table.component';
17
- export * from './lib/core-auto-complete/core-auto-complete.component';
18
- export * from './lib/core-multi-select/core-multi-select.component';
19
- export * from './lib/core-search-box/core-search-box.component';
20
- export * from './lib/core-number/core-number.component';
21
- export * from './lib/pipes/digit-group.pipe';
22
- export * from './lib/pipes/form-control.pipe';
23
- export * from './lib/pipes/persian-digits.pipe';
24
- export * from './lib/pipes/price-format.pipe';
25
- export * from './lib/pipes/shamsi-date.pipe';
26
- export * from './lib/pipes/time-format.pipe';
27
- export * from './lib/pipes/weight.pipe';
1
+ /*
2
+ * Public API Surface of falcon-lib
3
+ */
4
+
5
+ export * from './lib/falcon-lib.module';
6
+ export * from './lib/falconTypes';
7
+ export * from './lib/core-btn/core-btn.component';
8
+ export * from './lib/core-spinner/core-spinner.component';
9
+ export * from './lib/core-btn/core-btn.component';
10
+ export * from './lib/core-input/core-input.component';
11
+ export * from './lib/core-select/core-select.component';
12
+ export * from './lib/core-checkbox/core-checkbox.component';
13
+ export * from './lib/core-radio-buttons/core-radio-buttons.component';
14
+ export * from './lib/core-confirm-dialog/core-confirm-dialog.component';
15
+ export * from './lib/core-date-picker/core-date-picker.component';
16
+ export * from './lib/core-time-picker/core-time-picker.component';
17
+ export * from './lib/core-switch/core-switch.component';
18
+ export * from './lib/core-page-title/core-page-title.component';
19
+ export * from './lib/core-card/core-card.component';
20
+ export * from './lib/core-table/core-table/core-table.component';
21
+ export * from './lib/core-auto-complete/core-auto-complete.component';
22
+ export * from './lib/core-multi-select/core-multi-select.component';
23
+ export * from './lib/core-search-box/core-search-box.component';
24
+ export * from './lib/core-number/core-number.component';
25
+ export * from './lib/pipes/digit-group.pipe';
26
+ export * from './lib/pipes/form-control.pipe';
27
+ export * from './lib/pipes/persian-digits.pipe';
28
+ export * from './lib/pipes/price-format.pipe';
29
+ export * from './lib/pipes/shamsi-date.pipe';
30
+ export * from './lib/pipes/time-format.pipe';
31
+ export * from './lib/pipes/weight.pipe';
@@ -0,0 +1,8 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ height="24"
4
+ viewBox="0 -960 960 960"
5
+ width="24"
6
+ >
7
+ <path d="M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z" />
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'arrow-down-icon',
5
+ templateUrl: './arrow-down-icon.component.html',
6
+ styleUrls: ['./arrow-down-icon.component.scss'],
7
+ })
8
+ export class ArrowDownIconComponent {}
@@ -0,0 +1,10 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 -960 960 960"
4
+ height="100%"
5
+ width="100%"
6
+ >
7
+ <path
8
+ d="M200-80q-33 0-56.5-23.5T120-160v-560q0-33 23.5-56.5T200-800h40v-80h80v80h320v-80h80v80h40q33 0 56.5 23.5T840-720v560q0 33-23.5 56.5T760-80H200Zm0-80h560v-400H200v400Zm0-480h560v-80H200v80Zm0 0v-80 80Zm280 240q-17 0-28.5-11.5T440-440q0-17 11.5-28.5T480-480q17 0 28.5 11.5T520-440q0 17-11.5 28.5T480-400Zm-160 0q-17 0-28.5-11.5T280-440q0-17 11.5-28.5T320-480q17 0 28.5 11.5T360-440q0 17-11.5 28.5T320-400Zm320 0q-17 0-28.5-11.5T600-440q0-17 11.5-28.5T640-480q17 0 28.5 11.5T680-440q0 17-11.5 28.5T640-400ZM480-240q-17 0-28.5-11.5T440-280q0-17 11.5-28.5T480-320q17 0 28.5 11.5T520-280q0 17-11.5 28.5T480-240Zm-160 0q-17 0-28.5-11.5T280-280q0-17 11.5-28.5T320-320q17 0 28.5 11.5T360-280q0 17-11.5 28.5T320-240Zm320 0q-17 0-28.5-11.5T600-280q0-17 11.5-28.5T640-320q17 0 28.5 11.5T680-280q0 17-11.5 28.5T640-240Z"
9
+ />
10
+ </svg>
@@ -0,0 +1,8 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'calendar-icon',
5
+ templateUrl: './calendar-icon.component.html',
6
+ styleUrls: ['./calendar-icon.component.scss'],
7
+ })
8
+ export class CalendarIconComponent {}
@@ -0,0 +1,16 @@
1
+ <svg
2
+ class="svg-inline--fa fa-caret-up fa-w-10 me-1"
3
+ aria-hidden="true"
4
+ focusable="false"
5
+ data-prefix="fas"
6
+ data-icon="caret-up"
7
+ role="img"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ viewBox="0 0 320 512"
10
+ data-fa-i2svg=""
11
+ >
12
+ <path
13
+ fill="currentColor"
14
+ d="M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"
15
+ ></path>
16
+ </svg>
@@ -0,0 +1,10 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'app-caret-up-icon',
5
+ templateUrl: './caret-up-icon.component.html',
6
+ styleUrls: ['./caret-up-icon.component.scss']
7
+ })
8
+ export class CaretUpIconComponent {
9
+
10
+ }
@@ -0,0 +1,10 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ height="100%"
4
+ viewBox="0 -960 960 960"
5
+ width="100%"
6
+ >
7
+ <path
8
+ d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"
9
+ />
10
+ </svg>
@@ -0,0 +1,8 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'close-icon',
5
+ templateUrl: './close-icon.component.html',
6
+ styleUrls: ['./close-icon.component.scss'],
7
+ })
8
+ export class CloseIconComponent {}
@@ -0,0 +1,10 @@
1
+ <svg
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 -960 960 960"
4
+ height="100%"
5
+ width="100%"
6
+ >
7
+ <path
8
+ d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h357l-80 80H200v560h560v-278l80-80v358q0 33-23.5 56.5T760-120H200Zm280-360ZM360-360v-170l367-367q12-12 27-18t30-6q16 0 30.5 6t26.5 18l56 57q11 12 17 26.5t6 29.5q0 15-5.5 29.5T897-728L530-360H360Zm481-424-56-56 56 56ZM440-440h56l232-232-28-28-29-28-231 231v57Zm260-260-29-28 29 28 28 28-28-28Z"
9
+ />
10
+ </svg>
@@ -0,0 +1,8 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'edit-square-icon',
5
+ templateUrl: './edit-square-icon.component.html',
6
+ styleUrls: ['./edit-square-icon.component.scss'],
7
+ })
8
+ export class EditSquareIconComponent {}