ps-toolkit-ui 0.0.211 → 0.0.212

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 (311) hide show
  1. package/bundles/ps-toolkit-ui.umd.js +7812 -0
  2. package/bundles/ps-toolkit-ui.umd.js.map +1 -0
  3. package/bundles/ps-toolkit-ui.umd.min.js +2 -0
  4. package/bundles/ps-toolkit-ui.umd.min.js.map +1 -0
  5. package/esm2015/lib/classes/chart.class.js +140 -0
  6. package/esm2015/lib/classes/enum.class.js +187 -0
  7. package/esm2015/lib/classes/form.class.js +481 -0
  8. package/esm2015/lib/classes/helper.class.js +284 -0
  9. package/esm2015/lib/classes/lang.class.js +32 -0
  10. package/esm2015/lib/classes/login.class.js +22 -0
  11. package/esm2015/lib/classes/modal.class.js +52 -0
  12. package/esm2015/lib/classes/permission.class.js +61 -0
  13. package/esm2015/lib/classes/request.class.js +256 -0
  14. package/esm2015/lib/classes/safestyle.class.js +15 -0
  15. package/esm2015/lib/classes/sidebar.class.js +14 -0
  16. package/esm2015/lib/classes/steps.class.js +20 -0
  17. package/esm2015/lib/classes/string.class.js +220 -0
  18. package/esm2015/lib/classes/table.class.js +215 -0
  19. package/esm2015/lib/components/accordion/accordion.component.js +45 -0
  20. package/esm2015/lib/components/alert/alert.component.js +39 -0
  21. package/esm2015/lib/components/base.component.js +45 -0
  22. package/esm2015/lib/components/calendar/calendar.component.js +97 -0
  23. package/esm2015/lib/components/chart/chart.component.js +17 -0
  24. package/esm2015/lib/components/clock/clock.component.js +33 -0
  25. package/esm2015/lib/components/confirm/confirm.component.js +50 -0
  26. package/esm2015/lib/components/footer/footer.component.js +23 -0
  27. package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +148 -0
  28. package/esm2015/lib/components/form/button/form.button.component.js +68 -0
  29. package/esm2015/lib/components/form/car/form.car.component.js +84 -0
  30. package/esm2015/lib/components/form/car/search/form.car.search.component.js +172 -0
  31. package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +66 -0
  32. package/esm2015/lib/components/form/date/form.date.component.js +254 -0
  33. package/esm2015/lib/components/form/datetime/form.datetime.component.js +104 -0
  34. package/esm2015/lib/components/form/file/form.file.component.js +133 -0
  35. package/esm2015/lib/components/form/finger/form.finger.component.js +138 -0
  36. package/esm2015/lib/components/form/hidden/form.hidden.component.js +31 -0
  37. package/esm2015/lib/components/form/icon/form.icon.component.js +76 -0
  38. package/esm2015/lib/components/form/index/form.component.js +48 -0
  39. package/esm2015/lib/components/form/label/form.label.component.js +32 -0
  40. package/esm2015/lib/components/form/plaque/form.plaque.component.js +176 -0
  41. package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +390 -0
  42. package/esm2015/lib/components/form/radio/form.radio.component.js +79 -0
  43. package/esm2015/lib/components/form/select/form.select.component.js +374 -0
  44. package/esm2015/lib/components/form/select/item/form.select.item.component.js +43 -0
  45. package/esm2015/lib/components/form/table/form.table.component.js +98 -0
  46. package/esm2015/lib/components/form/textarea/form.textarea.component.js +78 -0
  47. package/esm2015/lib/components/form/textbox/form.textbox.component.js +186 -0
  48. package/esm2015/lib/components/form/time/form.time.component.js +145 -0
  49. package/esm2015/lib/components/form/tree/form.tree.component.js +99 -0
  50. package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +48 -0
  51. package/esm2015/lib/components/header/header.component.js +33 -0
  52. package/esm2015/lib/components/header/sub/sub.header.component.js +14 -0
  53. package/esm2015/lib/components/layout/layout.component.js +25 -0
  54. package/esm2015/lib/components/loading/loading.component.js +22 -0
  55. package/esm2015/lib/components/login/login.component.js +148 -0
  56. package/esm2015/lib/components/modal/modal.component.js +25 -0
  57. package/esm2015/lib/components/notfound/notfound.component.js +29 -0
  58. package/esm2015/lib/components/notification/notification.component.js +14 -0
  59. package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +53 -0
  60. package/esm2015/lib/components/sidebar/sidebar.component.js +67 -0
  61. package/esm2015/lib/components/steps/steps.component.js +51 -0
  62. package/esm2015/lib/components/table/loading/table.loading.component.js +17 -0
  63. package/esm2015/lib/components/table/pagination/table.pagination.component.js +84 -0
  64. package/esm2015/lib/components/table/report/table.report.component.js +246 -0
  65. package/esm2015/lib/components/table/row/table.row.component.js +379 -0
  66. package/esm2015/lib/components/table/table.component.js +179 -0
  67. package/esm2015/lib/components/tooltip/tooltip.component.js +19 -0
  68. package/esm2015/lib/ps-toolkit-ui.module.js +95 -0
  69. package/esm2015/lib/services/config.service.js +14 -0
  70. package/esm2015/ps-toolkit-ui.js +20 -0
  71. package/esm2015/public-api.js +53 -0
  72. package/fesm2015/ps-toolkit-ui.js +6706 -0
  73. package/fesm2015/ps-toolkit-ui.js.map +1 -0
  74. package/lib/classes/chart.class.d.ts +11 -0
  75. package/lib/classes/enum.class.d.ts +158 -0
  76. package/lib/classes/form.class.d.ts +173 -0
  77. package/lib/classes/helper.class.d.ts +28 -0
  78. package/lib/classes/lang.class.d.ts +5 -0
  79. package/lib/classes/login.class.d.ts +17 -0
  80. package/lib/classes/modal.class.d.ts +19 -0
  81. package/lib/classes/permission.class.d.ts +31 -0
  82. package/lib/classes/request.class.d.ts +12 -0
  83. package/lib/classes/safestyle.class.d.ts +7 -0
  84. package/lib/classes/sidebar.class.d.ts +11 -0
  85. package/lib/classes/steps.class.d.ts +17 -0
  86. package/lib/classes/string.class.d.ts +218 -0
  87. package/lib/classes/table.class.d.ts +69 -0
  88. package/lib/components/accordion/accordion.component.d.ts +7 -0
  89. package/lib/components/alert/alert.component.d.ts +10 -0
  90. package/lib/components/base.component.d.ts +14 -0
  91. package/lib/components/calendar/calendar.component.d.ts +26 -0
  92. package/lib/components/chart/chart.component.d.ts +5 -0
  93. package/lib/components/clock/clock.component.d.ts +11 -0
  94. package/lib/components/confirm/confirm.component.d.ts +14 -0
  95. package/lib/components/footer/footer.component.d.ts +6 -0
  96. package/lib/components/form/bank-card/form.bank-card.component.d.ts +22 -0
  97. package/lib/components/form/button/form.button.component.d.ts +15 -0
  98. package/lib/components/form/car/form.car.component.d.ts +16 -0
  99. package/lib/components/form/car/search/form.car.search.component.d.ts +17 -0
  100. package/lib/components/form/checkbox/form.checkbox.component.d.ts +14 -0
  101. package/lib/components/form/date/form.date.component.d.ts +42 -0
  102. package/lib/components/form/datetime/form.datetime.component.d.ts +13 -0
  103. package/lib/components/form/file/form.file.component.d.ts +17 -0
  104. package/lib/components/form/finger/form.finger.component.d.ts +15 -0
  105. package/lib/components/form/hidden/form.hidden.component.d.ts +7 -0
  106. package/lib/components/form/icon/form.icon.component.d.ts +15 -0
  107. package/lib/components/form/index/form.component.d.ts +10 -0
  108. package/lib/components/form/label/form.label.component.d.ts +8 -0
  109. package/lib/components/form/plaque/form.plaque.component.d.ts +22 -0
  110. package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +36 -0
  111. package/lib/components/form/radio/form.radio.component.d.ts +13 -0
  112. package/lib/components/form/select/form.select.component.d.ts +39 -0
  113. package/lib/components/form/select/item/form.select.item.component.d.ts +12 -0
  114. package/lib/components/form/table/form.table.component.d.ts +9 -0
  115. package/lib/components/form/textarea/form.textarea.component.d.ts +13 -0
  116. package/lib/components/form/textbox/form.textbox.component.d.ts +20 -0
  117. package/lib/components/form/time/form.time.component.d.ts +25 -0
  118. package/lib/components/form/tree/form.tree.component.d.ts +16 -0
  119. package/lib/components/form/tree/item/form.tree.item.component.d.ts +17 -0
  120. package/lib/components/header/header.component.d.ts +9 -0
  121. package/lib/components/header/sub/sub.header.component.d.ts +3 -0
  122. package/lib/components/layout/layout.component.d.ts +8 -0
  123. package/lib/components/loading/loading.component.d.ts +5 -0
  124. package/lib/components/login/login.component.d.ts +13 -0
  125. package/lib/components/modal/modal.component.d.ts +9 -0
  126. package/lib/components/notfound/notfound.component.d.ts +8 -0
  127. package/lib/components/notification/notification.component.d.ts +3 -0
  128. package/lib/components/sidebar/item/sidebar.item.component.d.ts +14 -0
  129. package/lib/components/sidebar/sidebar.component.d.ts +19 -0
  130. package/lib/components/steps/steps.component.d.ts +10 -0
  131. package/lib/components/table/loading/table.loading.component.d.ts +5 -0
  132. package/lib/components/table/pagination/table.pagination.component.d.ts +15 -0
  133. package/lib/components/table/report/table.report.component.d.ts +34 -0
  134. package/lib/components/table/row/table.row.component.d.ts +34 -0
  135. package/lib/components/table/table.component.d.ts +40 -0
  136. package/lib/components/tooltip/tooltip.component.d.ts +5 -0
  137. package/lib/ps-toolkit-ui.module.d.ts +4 -0
  138. package/lib/services/config.service.d.ts +6 -0
  139. package/package.json +23 -19
  140. package/ps-toolkit-ui.d.ts +19 -0
  141. package/ps-toolkit-ui.metadata.json +1 -0
  142. package/{src/public-api.ts → public-api.d.ts} +49 -53
  143. package/karma.conf.js +0 -32
  144. package/ng-package.json +0 -16
  145. package/src/lib/classes/chart.class.ts +0 -140
  146. package/src/lib/classes/enum.class.ts +0 -193
  147. package/src/lib/classes/excel.class.ts +0 -46
  148. package/src/lib/classes/form.class.ts +0 -528
  149. package/src/lib/classes/helper.class.ts +0 -283
  150. package/src/lib/classes/lang.class.ts +0 -32
  151. package/src/lib/classes/login.class.ts +0 -27
  152. package/src/lib/classes/modal.class.ts +0 -59
  153. package/src/lib/classes/permission.class.ts +0 -55
  154. package/src/lib/classes/request.class.ts +0 -255
  155. package/src/lib/classes/safestyle.class.ts +0 -4
  156. package/src/lib/classes/sidebar.class.ts +0 -20
  157. package/src/lib/classes/steps.class.ts +0 -19
  158. package/src/lib/classes/string.class.ts +0 -219
  159. package/src/lib/classes/table.class.ts +0 -228
  160. package/src/lib/components/accordion/accordion.component.css +0 -116
  161. package/src/lib/components/accordion/accordion.component.html +0 -19
  162. package/src/lib/components/accordion/accordion.component.ts +0 -41
  163. package/src/lib/components/alert/alert.component.css +0 -112
  164. package/src/lib/components/alert/alert.component.html +0 -1
  165. package/src/lib/components/alert/alert.component.ts +0 -35
  166. package/src/lib/components/base.component.ts +0 -38
  167. package/src/lib/components/calendar/calendar.component.css +0 -206
  168. package/src/lib/components/calendar/calendar.component.html +0 -36
  169. package/src/lib/components/calendar/calendar.component.ts +0 -99
  170. package/src/lib/components/chart/chart.component.css +0 -24
  171. package/src/lib/components/chart/chart.component.html +0 -6
  172. package/src/lib/components/chart/chart.component.ts +0 -14
  173. package/src/lib/components/clock/clock.component.css +0 -141
  174. package/src/lib/components/clock/clock.component.html +0 -10
  175. package/src/lib/components/clock/clock.component.ts +0 -37
  176. package/src/lib/components/confirm/confirm.component.css +0 -112
  177. package/src/lib/components/confirm/confirm.component.html +0 -1
  178. package/src/lib/components/confirm/confirm.component.ts +0 -47
  179. package/src/lib/components/footer/footer.component.css +0 -46
  180. package/src/lib/components/footer/footer.component.html +0 -9
  181. package/src/lib/components/footer/footer.component.ts +0 -18
  182. package/src/lib/components/form/bank-card/form.bank-card.component.css +0 -115
  183. package/src/lib/components/form/bank-card/form.bank-card.component.html +0 -13
  184. package/src/lib/components/form/bank-card/form.bank-card.component.ts +0 -144
  185. package/src/lib/components/form/button/form.button.component.css +0 -222
  186. package/src/lib/components/form/button/form.button.component.html +0 -16
  187. package/src/lib/components/form/button/form.button.component.ts +0 -65
  188. package/src/lib/components/form/car/form.car.component.css +0 -287
  189. package/src/lib/components/form/car/form.car.component.html +0 -11
  190. package/src/lib/components/form/car/form.car.component.ts +0 -82
  191. package/src/lib/components/form/car/search/form.car.search.component.css +0 -287
  192. package/src/lib/components/form/car/search/form.car.search.component.html +0 -15
  193. package/src/lib/components/form/car/search/form.car.search.component.ts +0 -170
  194. package/src/lib/components/form/checkbox/form.checkbox.component.css +0 -128
  195. package/src/lib/components/form/checkbox/form.checkbox.component.html +0 -8
  196. package/src/lib/components/form/checkbox/form.checkbox.component.ts +0 -64
  197. package/src/lib/components/form/date/form.date.component.css +0 -310
  198. package/src/lib/components/form/date/form.date.component.html +0 -46
  199. package/src/lib/components/form/date/form.date.component.ts +0 -247
  200. package/src/lib/components/form/datetime/form.datetime.component.css +0 -157
  201. package/src/lib/components/form/datetime/form.datetime.component.html +0 -11
  202. package/src/lib/components/form/datetime/form.datetime.component.ts +0 -98
  203. package/src/lib/components/form/file/form.file.component.css +0 -151
  204. package/src/lib/components/form/file/form.file.component.html +0 -12
  205. package/src/lib/components/form/file/form.file.component.ts +0 -130
  206. package/src/lib/components/form/finger/form.finger.component.css +0 -215
  207. package/src/lib/components/form/finger/form.finger.component.html +0 -59
  208. package/src/lib/components/form/finger/form.finger.component.ts +0 -131
  209. package/src/lib/components/form/hidden/form.hidden.component.css +0 -0
  210. package/src/lib/components/form/hidden/form.hidden.component.html +0 -0
  211. package/src/lib/components/form/hidden/form.hidden.component.ts +0 -29
  212. package/src/lib/components/form/icon/form.icon.component.css +0 -108
  213. package/src/lib/components/form/icon/form.icon.component.html +0 -14
  214. package/src/lib/components/form/icon/form.icon.component.ts +0 -73
  215. package/src/lib/components/form/index/form.component.css +0 -89
  216. package/src/lib/components/form/index/form.component.html +0 -35
  217. package/src/lib/components/form/index/form.component.ts +0 -45
  218. package/src/lib/components/form/label/form.label.component.css +0 -45
  219. package/src/lib/components/form/label/form.label.component.html +0 -2
  220. package/src/lib/components/form/label/form.label.component.ts +0 -30
  221. package/src/lib/components/form/plaque/form.plaque.component.css +0 -76
  222. package/src/lib/components/form/plaque/form.plaque.component.html +0 -10
  223. package/src/lib/components/form/plaque/form.plaque.component.ts +0 -178
  224. package/src/lib/components/form/plaque/select/form.plaque.select.component.css +0 -167
  225. package/src/lib/components/form/plaque/select/form.plaque.select.component.html +0 -19
  226. package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +0 -385
  227. package/src/lib/components/form/radio/form.radio.component.css +0 -158
  228. package/src/lib/components/form/radio/form.radio.component.html +0 -16
  229. package/src/lib/components/form/radio/form.radio.component.ts +0 -78
  230. package/src/lib/components/form/select/form.select.component.css +0 -326
  231. package/src/lib/components/form/select/form.select.component.html +0 -16
  232. package/src/lib/components/form/select/form.select.component.ts +0 -358
  233. package/src/lib/components/form/select/item/form.select.item.component.css +0 -59
  234. package/src/lib/components/form/select/item/form.select.item.component.html +0 -10
  235. package/src/lib/components/form/select/item/form.select.item.component.ts +0 -40
  236. package/src/lib/components/form/table/form.table.component.css +0 -50
  237. package/src/lib/components/form/table/form.table.component.html +0 -8
  238. package/src/lib/components/form/table/form.table.component.ts +0 -94
  239. package/src/lib/components/form/textarea/form.textarea.component.css +0 -109
  240. package/src/lib/components/form/textarea/form.textarea.component.html +0 -10
  241. package/src/lib/components/form/textarea/form.textarea.component.ts +0 -76
  242. package/src/lib/components/form/textbox/form.textbox.component.css +0 -296
  243. package/src/lib/components/form/textbox/form.textbox.component.html +0 -13
  244. package/src/lib/components/form/textbox/form.textbox.component.ts +0 -185
  245. package/src/lib/components/form/time/form.time.component.css +0 -205
  246. package/src/lib/components/form/time/form.time.component.html +0 -22
  247. package/src/lib/components/form/time/form.time.component.ts +0 -139
  248. package/src/lib/components/form/tree/form.tree.component.css +0 -109
  249. package/src/lib/components/form/tree/form.tree.component.html +0 -11
  250. package/src/lib/components/form/tree/form.tree.component.ts +0 -98
  251. package/src/lib/components/form/tree/item/form.tree.item.component.css +0 -142
  252. package/src/lib/components/form/tree/item/form.tree.item.component.html +0 -9
  253. package/src/lib/components/form/tree/item/form.tree.item.component.ts +0 -49
  254. package/src/lib/components/header/header.component.css +0 -57
  255. package/src/lib/components/header/header.component.html +0 -5
  256. package/src/lib/components/header/header.component.ts +0 -28
  257. package/src/lib/components/header/sub/sub.header.component.css +0 -62
  258. package/src/lib/components/header/sub/sub.header.component.html +0 -8
  259. package/src/lib/components/header/sub/sub.header.component.ts +0 -11
  260. package/src/lib/components/layout/layout.component.css +0 -300
  261. package/src/lib/components/layout/layout.component.html +0 -20
  262. package/src/lib/components/layout/layout.component.ts +0 -21
  263. package/src/lib/components/loading/loading.component.css +0 -39
  264. package/src/lib/components/loading/loading.component.html +0 -8
  265. package/src/lib/components/loading/loading.component.ts +0 -18
  266. package/src/lib/components/login/login.component.css +0 -389
  267. package/src/lib/components/login/login.component.html +0 -27
  268. package/src/lib/components/login/login.component.ts +0 -145
  269. package/src/lib/components/modal/modal.component.css +0 -60
  270. package/src/lib/components/modal/modal.component.html +0 -12
  271. package/src/lib/components/modal/modal.component.ts +0 -23
  272. package/src/lib/components/notfound/notfound.component.css +0 -134
  273. package/src/lib/components/notfound/notfound.component.html +0 -10
  274. package/src/lib/components/notfound/notfound.component.ts +0 -25
  275. package/src/lib/components/notification/notification.component.css +0 -45
  276. package/src/lib/components/notification/notification.component.html +0 -2
  277. package/src/lib/components/notification/notification.component.ts +0 -11
  278. package/src/lib/components/sidebar/item/sidebar.item.component.css +0 -236
  279. package/src/lib/components/sidebar/item/sidebar.item.component.html +0 -16
  280. package/src/lib/components/sidebar/item/sidebar.item.component.ts +0 -54
  281. package/src/lib/components/sidebar/sidebar.component.css +0 -42
  282. package/src/lib/components/sidebar/sidebar.component.html +0 -10
  283. package/src/lib/components/sidebar/sidebar.component.ts +0 -60
  284. package/src/lib/components/steps/steps.component.css +0 -320
  285. package/src/lib/components/steps/steps.component.html +0 -18
  286. package/src/lib/components/steps/steps.component.ts +0 -44
  287. package/src/lib/components/table/loading/table.loading.component.css +0 -29
  288. package/src/lib/components/table/loading/table.loading.component.html +0 -9
  289. package/src/lib/components/table/loading/table.loading.component.ts +0 -14
  290. package/src/lib/components/table/pagination/table.pagination.component.css +0 -138
  291. package/src/lib/components/table/pagination/table.pagination.component.html +0 -9
  292. package/src/lib/components/table/pagination/table.pagination.component.ts +0 -89
  293. package/src/lib/components/table/report/table.report.component.css +0 -125
  294. package/src/lib/components/table/report/table.report.component.html +0 -19
  295. package/src/lib/components/table/report/table.report.component.ts +0 -238
  296. package/src/lib/components/table/row/table.row.component.css +0 -170
  297. package/src/lib/components/table/row/table.row.component.html +0 -21
  298. package/src/lib/components/table/row/table.row.component.ts +0 -373
  299. package/src/lib/components/table/table.component.css +0 -116
  300. package/src/lib/components/table/table.component.html +0 -62
  301. package/src/lib/components/table/table.component.ts +0 -180
  302. package/src/lib/components/tooltip/tooltip.component.css +0 -159
  303. package/src/lib/components/tooltip/tooltip.component.html +0 -1
  304. package/src/lib/components/tooltip/tooltip.component.ts +0 -15
  305. package/src/lib/ps-toolkit-ui.module.ts +0 -94
  306. package/src/lib/services/config.service.ts +0 -8
  307. package/src/test.ts +0 -26
  308. package/tsconfig.lib.json +0 -25
  309. package/tsconfig.lib.prod.json +0 -10
  310. package/tsconfig.spec.json +0 -17
  311. package/tslint.json +0 -17
@@ -0,0 +1,36 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass, OptionClass } from '../../../../classes/form.class';
3
+ import { InputType } from '../../../../classes/enum.class';
4
+ export declare class FormPlaqueSelectComponent implements OnInit {
5
+ changeIndex: EventEmitter<string>;
6
+ inp: InputClass;
7
+ cSearch: string;
8
+ open: boolean;
9
+ top: boolean;
10
+ part1: InputClass;
11
+ part2: InputClass;
12
+ part3: InputClass;
13
+ part4: InputClass;
14
+ get type(): typeof InputType;
15
+ alphas: string[];
16
+ inputDiv: ElementRef;
17
+ inputBase: ElementRef;
18
+ inputOptionsDiv: ElementRef;
19
+ inputLabel: ElementRef;
20
+ ngOnInit(): void;
21
+ loadOptions(): void;
22
+ openOptions(f?: boolean): boolean;
23
+ focusInput(f?: boolean): void;
24
+ closeOptions(): boolean;
25
+ setPosition(): void;
26
+ onKeyDown(e: any): void;
27
+ toggleOption(): void;
28
+ selectOption(v: any, isEdit?: boolean): void;
29
+ cI(i: string): void;
30
+ setHoverCenter(): void;
31
+ getSelected(o?: OptionClass[]): any;
32
+ getHover(i?: number, o?: OptionClass[], h?: number): number;
33
+ getValue(v: any, o?: OptionClass[]): OptionClass;
34
+ plaqueChangeFocus(p: any, a: any): void;
35
+ getSearch(): string;
36
+ }
@@ -0,0 +1,13 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormRadioComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ onClick(): void;
10
+ onKeyDown(e: any): void;
11
+ onChange(): void;
12
+ onFocusIn(): void;
13
+ }
@@ -0,0 +1,39 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass, OptionClass } from '../../../classes/form.class';
3
+ import { InputType } from '../../../classes/enum.class';
4
+ export declare class FormSelectComponent implements OnInit {
5
+ changeIndex: EventEmitter<string>;
6
+ inp: InputClass;
7
+ inForm: boolean;
8
+ cSearch: string;
9
+ get type(): typeof InputType;
10
+ inputDiv: ElementRef;
11
+ inputBase: ElementRef;
12
+ inputOptionsDiv: ElementRef;
13
+ inputLabel: ElementRef;
14
+ ngOnInit(): void;
15
+ loadOptions(): void;
16
+ openOptions(): void;
17
+ onFocusOut(): void;
18
+ closeOptions(): boolean;
19
+ setPosition(): void;
20
+ setOptions(r?: OptionClass[]): void;
21
+ onKeyDown(e: any): void;
22
+ toggleOption(e: any): void;
23
+ onKeyUp(e: any): void;
24
+ selectOption(v: any, isEdit?: boolean): void;
25
+ toggle(op: OptionClass): void;
26
+ check(c: OptionClass): void;
27
+ unCheck(c: OptionClass): void;
28
+ checkChildren(o: OptionClass): void;
29
+ checkParent(p: OptionClass): void;
30
+ unCheckParent(p: OptionClass): void;
31
+ cI(i: string): void;
32
+ setHoverCenter(): void;
33
+ title(): string;
34
+ getTitle(os: any): string;
35
+ getSelectedHover(o?: OptionClass[]): any;
36
+ getHover(i?: number, o?: OptionClass[], h?: number): number;
37
+ getValue(v: any, o?: OptionClass[]): OptionClass;
38
+ getSelected(opts?: OptionClass[]): any[];
39
+ }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass, OptionClass } from '../../../../classes/form.class';
3
+ export declare class FormSelectItemComponent implements OnInit {
4
+ selectOption: EventEmitter<string>;
5
+ select: InputClass;
6
+ item: OptionClass;
7
+ parent: OptionClass;
8
+ index: number;
9
+ ngOnInit(): void;
10
+ hoverOption(opt: OptionClass): void;
11
+ toggleChildren(e: any): void;
12
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormTableComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ changeRows(e: any): void;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormTextareaComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ inputDiv: ElementRef;
8
+ inputLabel: ElementRef;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ onFocusIn(): void;
12
+ onKeyDown(e: any): void;
13
+ }
@@ -0,0 +1,20 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ import { InputType } from '../../../classes/enum.class';
4
+ export declare class FormTextboxComponent implements OnInit {
5
+ inp: InputClass;
6
+ cValue: string;
7
+ changeIndex: EventEmitter<string>;
8
+ get type(): typeof InputType;
9
+ navigationKeys: string[];
10
+ inputBase: ElementRef;
11
+ inputDiv: ElementRef;
12
+ inputLabel: ElementRef;
13
+ ngOnInit(): void;
14
+ onFocusIn(changeIndex?: boolean): void;
15
+ onChange(e: any): void;
16
+ onKeyUp(e: any): void;
17
+ onClickButton(): void;
18
+ onKeyDown(e: any): void;
19
+ getValue(): string;
20
+ }
@@ -0,0 +1,25 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass } from '../../../classes/form.class';
3
+ export declare class FormTimeComponent implements OnInit {
4
+ inp: InputClass;
5
+ inForm: boolean;
6
+ changeIndex: EventEmitter<string>;
7
+ cSearch: string;
8
+ hours: string[];
9
+ minutes: string[];
10
+ activeHour: any;
11
+ activeMinute: any;
12
+ inputBase: ElementRef;
13
+ inputDiv: ElementRef;
14
+ inputLabel: ElementRef;
15
+ inputOptionsDiv: ElementRef;
16
+ constructor();
17
+ ngOnInit(): void;
18
+ toggleTime(): void;
19
+ openOptions(): void;
20
+ setPosition(): void;
21
+ onKeyDown(e: any): void;
22
+ onKeyUp(e: any): void;
23
+ onFocusOut(): void;
24
+ selectTime(v: string, s: string): void;
25
+ }
@@ -0,0 +1,16 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass, TreeRowClass } from '../../../classes/form.class';
3
+ export declare class FormTreeComponent implements OnInit {
4
+ inp: InputClass;
5
+ changeIndex: EventEmitter<string>;
6
+ inputBase: ElementRef;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ onClick(): void;
10
+ onKeyDown(e: any): void;
11
+ onFocusIn(): void;
12
+ getSelected(): any[];
13
+ getRowSelected(ch: TreeRowClass): any[];
14
+ check(ids: any, chs?: any[]): boolean;
15
+ checkChildren(chs: TreeRowClass[], ids: any): void;
16
+ }
@@ -0,0 +1,17 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { InputClass, TreeRowClass } from '../../../../classes/form.class';
3
+ export declare class FormTreeItemComponent implements OnInit {
4
+ item: TreeRowClass;
5
+ level: number;
6
+ index: number;
7
+ tree: InputClass;
8
+ parent: TreeRowClass;
9
+ base: boolean;
10
+ changeIndex: EventEmitter<string>;
11
+ inputDiv: ElementRef;
12
+ inputBase: ElementRef;
13
+ constructor();
14
+ ngOnInit(): void;
15
+ openClose(e: any): void;
16
+ onClick(): void;
17
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { InputClass } from '../../classes/form.class';
3
+ import { PsToolkitUiConfigService } from '../../services/config.service';
4
+ export declare class HeaderComponent {
5
+ config: PsToolkitUiConfigService;
6
+ logoutInp: InputClass;
7
+ logout: EventEmitter<any>;
8
+ constructor(config: PsToolkitUiConfigService);
9
+ }
@@ -0,0 +1,3 @@
1
+ export declare class SubHeaderComponent {
2
+ constructor();
3
+ }
@@ -0,0 +1,8 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ export declare class LayoutComponent {
3
+ permissions: any[];
4
+ area: string;
5
+ logout: EventEmitter<any>;
6
+ constructor();
7
+ toggleSidebar(): void;
8
+ }
@@ -0,0 +1,5 @@
1
+ import { PsToolkitUiConfigService } from '../../services/config.service';
2
+ export declare class LoadingComponent {
3
+ l: (k: any, v?: any) => string;
4
+ constructor(config: PsToolkitUiConfigService);
5
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { LoginClass } from '../../classes/login.class';
3
+ import { InputClass } from '../../classes/form.class';
4
+ import { PsToolkitUiConfigService } from '../../services/config.service';
5
+ export declare class LoginComponent implements OnInit {
6
+ config: PsToolkitUiConfigService;
7
+ login: LoginClass;
8
+ mobile: InputClass;
9
+ username: InputClass;
10
+ l: (k: any, v?: any) => string;
11
+ constructor(config: PsToolkitUiConfigService);
12
+ ngOnInit(): void;
13
+ }
@@ -0,0 +1,9 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ModalClass } from '../../classes/modal.class';
3
+ import { InputClass } from '../../classes/form.class';
4
+ export declare class ModalComponent implements OnInit {
5
+ modal: ModalClass;
6
+ close: InputClass;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { PsToolkitUiConfigService } from '../../services/config.service';
2
+ import { InputClass } from '../../classes/form.class';
3
+ export declare class NotfoundComponent {
4
+ config: PsToolkitUiConfigService;
5
+ back: InputClass;
6
+ l: (k: any, v?: any) => string;
7
+ constructor(config: PsToolkitUiConfigService);
8
+ }
@@ -0,0 +1,3 @@
1
+ export declare class NotificationComponent {
2
+ constructor();
3
+ }
@@ -0,0 +1,14 @@
1
+ import { SidebarClass } from '../../../classes/sidebar.class';
2
+ import { PsToolkitUiConfigService } from '../../../services/config.service';
3
+ export declare class SidebarItemComponent {
4
+ config: PsToolkitUiConfigService;
5
+ item: SidebarClass;
6
+ i: number;
7
+ base: boolean;
8
+ currentSidebar: any;
9
+ area: string;
10
+ l: (k: any, v?: any) => string;
11
+ constructor(config: PsToolkitUiConfigService);
12
+ openClose(e: any): void;
13
+ isActive(item: SidebarClass): boolean;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { PsToolkitUiConfigService } from '../../services/config.service';
3
+ import { SidebarClass } from '../../classes/sidebar.class';
4
+ import { Router } from '@angular/router';
5
+ export declare class SidebarComponent implements OnInit {
6
+ config: PsToolkitUiConfigService;
7
+ private router;
8
+ permissions: any[];
9
+ area: string;
10
+ toggleSidebar: EventEmitter<string>;
11
+ sidebar: SidebarClass[];
12
+ currentSidebar: any;
13
+ l: (k: any, v?: any) => string;
14
+ constructor(config: PsToolkitUiConfigService, router: Router);
15
+ setActive(): void;
16
+ ngOnInit(): void;
17
+ getSidebar(parentId?: string): SidebarClass[];
18
+ getSidebarActive(item: SidebarClass[], active: any): SidebarClass;
19
+ }
@@ -0,0 +1,10 @@
1
+ import { Router } from '@angular/router';
2
+ import { StepsClass, StepsItemClass } from '../../classes/steps.class';
3
+ export declare class StepsComponent {
4
+ private router;
5
+ steps: StepsClass;
6
+ constructor(router: Router);
7
+ getActive(): number;
8
+ changeStep(i: number, s: StepsItemClass): void;
9
+ onDelete(s: StepsItemClass): void;
10
+ }
@@ -0,0 +1,5 @@
1
+ import { TableClass } from '../../../classes/table.class';
2
+ export declare class TableLoadingComponent {
3
+ table: TableClass;
4
+ constructor();
5
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TableClass } from '../../../classes/table.class';
3
+ import { InputClass } from '../../../classes/form.class';
4
+ import { InputType } from '../../../classes/enum.class';
5
+ export declare class TablePaginationComponent implements OnInit {
6
+ table: TableClass;
7
+ size: number;
8
+ perPageSelect: InputClass;
9
+ next: InputClass;
10
+ get type(): typeof InputType;
11
+ getButtons(): InputClass[];
12
+ add(s: number, f: number): InputClass[];
13
+ changePage(btn: any): void;
14
+ ngOnInit(): void;
15
+ }
@@ -0,0 +1,34 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { TableClass, TableCollClass } from '../../../classes/table.class';
3
+ import { InputType } from '../../../classes/enum.class';
4
+ import { InputClass } from '../../../classes/form.class';
5
+ import { PsToolkitUiConfigService } from '../../../services/config.service';
6
+ export declare class TableReportComponent implements OnInit {
7
+ service: PsToolkitUiConfigService;
8
+ confirmShow: any;
9
+ changeRows: EventEmitter<object>;
10
+ level: number;
11
+ table: TableClass;
12
+ row: any;
13
+ loadParent: EventEmitter<string>;
14
+ get type(): typeof InputType;
15
+ options: InputClass[];
16
+ optEdit: InputClass;
17
+ optDelete: InputClass;
18
+ optStatus: InputClass;
19
+ showChildren: InputClass;
20
+ addChildren: InputClass;
21
+ itemsWidth: number;
22
+ children: any[];
23
+ childrenDiv: ElementRef;
24
+ constructor(service: PsToolkitUiConfigService);
25
+ ngOnInit(): void;
26
+ loadChildren(p: any): void;
27
+ select(): void;
28
+ onChangeRows(e: any): void;
29
+ setSortRow(): void;
30
+ getOptions(): InputClass[];
31
+ getCell(col: TableCollClass): any;
32
+ getCol(n: any): string;
33
+ edit(): void;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { TableClass, TableCollClass } from '../../../classes/table.class';
3
+ import { InputType, TableOptionType } from '../../../classes/enum.class';
4
+ import { InputClass } from '../../../classes/form.class';
5
+ import { PsToolkitUiConfigService } from '../../../services/config.service';
6
+ export declare class TableRowComponent implements OnInit {
7
+ service: PsToolkitUiConfigService;
8
+ confirmShow: EventEmitter<object>;
9
+ changeRows: EventEmitter<object>;
10
+ level: number;
11
+ table: TableClass;
12
+ row: any;
13
+ loadParent: EventEmitter<string>;
14
+ get type(): typeof InputType;
15
+ get tableOptionType(): typeof TableOptionType;
16
+ optStatus: InputClass;
17
+ showChildren: InputClass;
18
+ addChildren: InputClass;
19
+ itemsWidth: number;
20
+ children: any[];
21
+ childrenDiv: ElementRef;
22
+ constructor(service: PsToolkitUiConfigService);
23
+ ngOnInit(): void;
24
+ loadChildren(p: any): void;
25
+ select(): void;
26
+ onChangeRows(e: any): void;
27
+ onConfirmShow(e: any): void;
28
+ setSortRow(): void;
29
+ getOptions(): InputClass[];
30
+ getCell(col: TableCollClass): any;
31
+ getCol(n: any): string;
32
+ edit(opt: InputClass): void;
33
+ getChildren(): any[];
34
+ }
@@ -0,0 +1,40 @@
1
+ import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { TableClass } from '../../classes/table.class';
4
+ import { InputType, TableCollType, TableOptionType } from '../../classes/enum.class';
5
+ import { InputClass } from '../../classes/form.class';
6
+ import { ConfirmComponent } from '../confirm/confirm.component';
7
+ import { ModalClass } from '../../classes/modal.class';
8
+ export declare class TableComponent implements OnInit {
9
+ router: Router;
10
+ table: TableClass;
11
+ changeRows: EventEmitter<object>;
12
+ get type(): typeof InputType;
13
+ get tableOptionType(): typeof TableOptionType;
14
+ get colType(): typeof TableCollType;
15
+ rows: ElementRef;
16
+ tableDiv: ElementRef;
17
+ exportDropDown: ElementRef;
18
+ confirm: ConfirmComponent;
19
+ loadIcon: InputClass;
20
+ sizeIcon: InputClass;
21
+ select: InputClass;
22
+ optDelete: InputClass;
23
+ reload: InputClass;
24
+ maximum: InputClass;
25
+ export: InputClass;
26
+ constructor(router: Router);
27
+ itemsWidth: number;
28
+ options: InputClass[];
29
+ ngOnInit(): void;
30
+ allSelected(): boolean;
31
+ isSelected(): boolean;
32
+ selectAll(): void;
33
+ getOptions(): InputClass[];
34
+ setSortable(): void;
35
+ getRows(): any[];
36
+ onChangeRows(e: any): void;
37
+ onConfirmShow(e: any): void;
38
+ changeSort(e: any, s: string): void;
39
+ getModals(): ModalClass[];
40
+ }
@@ -0,0 +1,5 @@
1
+ export declare class TooltipComponent {
2
+ text: string;
3
+ position: string;
4
+ constructor();
5
+ }
@@ -0,0 +1,4 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ export declare class PsToolkitUiModule {
3
+ static forRoot(config: any): ModuleWithProviders<PsToolkitUiModule>;
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare class PsToolkitUiConfigService {
2
+ environment: any;
3
+ strings: any;
4
+ currentLang: string;
5
+ constructor(environment: any, strings: any, currentLang: string);
6
+ }
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
- {
2
- "name": "ps-toolkit-ui",
3
- "version": "0.0.211",
4
- "peerDependencies": {
5
- "@angular/common": "^10.1.6",
6
- "@angular/core": "^10.1.6"
7
- },
8
- "dependencies": {
9
- "highcharts": "^9.3.3",
10
- "jalali-moment": "^3.3.10",
11
- "jquery": "^3.5.1",
12
- "lodash": "^4.17.21",
13
- "tslib": "^2.0.0"
14
- },
15
- "devDependencies": {
16
- "@types/jquery": "^3.5.8",
17
- "@types/lodash": "^4.14.176"
18
- }
19
- }
1
+ {
2
+ "name": "ps-toolkit-ui",
3
+ "version": "0.0.212",
4
+ "peerDependencies": {
5
+ "@angular/common": "^10.1.6",
6
+ "@angular/core": "^10.1.6"
7
+ },
8
+ "dependencies": {
9
+ "highcharts": "^9.3.3",
10
+ "jalali-moment": "^3.3.10",
11
+ "jquery": "^3.5.1",
12
+ "lodash": "^4.17.21",
13
+ "tslib": "^2.0.0"
14
+ },
15
+ "main": "bundles/ps-toolkit-ui.umd.js",
16
+ "module": "fesm2015/ps-toolkit-ui.js",
17
+ "es2015": "fesm2015/ps-toolkit-ui.js",
18
+ "esm2015": "esm2015/ps-toolkit-ui.js",
19
+ "fesm2015": "fesm2015/ps-toolkit-ui.js",
20
+ "typings": "ps-toolkit-ui.d.ts",
21
+ "metadata": "ps-toolkit-ui.metadata.json",
22
+ "sideEffects": false
23
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ export { SafeStylePipe as ɵi } from './lib/classes/safestyle.class';
6
+ export { CalendarComponent as ɵm } from './lib/components/calendar/calendar.component';
7
+ export { ChartComponent as ɵo } from './lib/components/chart/chart.component';
8
+ export { ClockComponent as ɵn } from './lib/components/clock/clock.component';
9
+ export { FormHiddenComponent as ɵl } from './lib/components/form/hidden/form.hidden.component';
10
+ export { FormSelectItemComponent as ɵa } from './lib/components/form/select/item/form.select.item.component';
11
+ export { FormTreeItemComponent as ɵf } from './lib/components/form/tree/item/form.tree.item.component';
12
+ export { LoginComponent as ɵj } from './lib/components/login/login.component';
13
+ export { NotificationComponent as ɵk } from './lib/components/notification/notification.component';
14
+ export { SidebarItemComponent as ɵc } from './lib/components/sidebar/item/sidebar.item.component';
15
+ export { TableLoadingComponent as ɵe } from './lib/components/table/loading/table.loading.component';
16
+ export { TablePaginationComponent as ɵb } from './lib/components/table/pagination/table.pagination.component';
17
+ export { TableReportComponent as ɵh } from './lib/components/table/report/table.report.component';
18
+ export { TableRowComponent as ɵg } from './lib/components/table/row/table.row.component';
19
+ export { PsToolkitUiConfigService as ɵd } from './lib/services/config.service';