monkey-style-guide-v2 0.0.16 → 0.0.18

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 (271) hide show
  1. package/assets/scss/directives/_badge.scss +49 -0
  2. package/assets/scss/directives/_index.scss +1 -0
  3. package/assets/scss/table/_styles.scss +0 -33
  4. package/esm2022/lib/components/accordion/accordion.component.mjs +102 -0
  5. package/esm2022/lib/components/accordion/index.mjs +7 -0
  6. package/esm2022/lib/components/action-bar/action-bar.component.mjs +46 -0
  7. package/esm2022/lib/components/action-bar/index.mjs +7 -0
  8. package/esm2022/lib/components/alert/alert.component.mjs +50 -0
  9. package/esm2022/lib/components/alert/index.mjs +7 -0
  10. package/esm2022/lib/components/avatar/avatar.component.mjs +55 -0
  11. package/esm2022/lib/components/avatar/index.mjs +7 -0
  12. package/esm2022/lib/components/badge/badge.component.mjs +74 -0
  13. package/esm2022/lib/components/badge/index.mjs +7 -0
  14. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +56 -0
  15. package/esm2022/lib/components/breadcrumb/index.mjs +7 -0
  16. package/esm2022/lib/components/{monkey-button/monkey-button.component.mjs → button/button.component.mjs} +1 -1
  17. package/esm2022/lib/components/button/index.mjs +7 -0
  18. package/esm2022/lib/components/checkbox/checkbox.component.mjs +219 -0
  19. package/esm2022/lib/components/checkbox/index.mjs +7 -0
  20. package/esm2022/lib/components/date-range/date-range.component.mjs +239 -0
  21. package/esm2022/lib/components/date-range/index.mjs +7 -0
  22. package/esm2022/lib/components/date-range/month/index.mjs +7 -0
  23. package/esm2022/lib/components/date-range/month/month.component.mjs +148 -0
  24. package/esm2022/lib/components/date-range/quick-actions/index.mjs +7 -0
  25. package/esm2022/lib/components/date-range/quick-actions/quick-actions.component.mjs +48 -0
  26. package/esm2022/lib/components/date-range/utils.mjs +102 -0
  27. package/esm2022/lib/components/divider/divider.component.mjs +44 -0
  28. package/esm2022/lib/components/divider/index.mjs +7 -0
  29. package/esm2022/lib/components/form-field/form-field-control.mjs +15 -0
  30. package/esm2022/lib/components/form-field/form-field.component.mjs +268 -0
  31. package/esm2022/lib/components/form-field/form-field.module.mjs +21 -0
  32. package/esm2022/lib/components/form-field/index.mjs +10 -0
  33. package/esm2022/lib/components/form-field/utils.mjs +16 -0
  34. package/esm2022/lib/components/icon/icon.component.mjs +51 -0
  35. package/esm2022/lib/components/icon/index.mjs +7 -0
  36. package/esm2022/lib/components/{monkey-icon-button/monkey-icon-button.component.mjs → icon-button/icon-button.component.mjs} +2 -2
  37. package/esm2022/lib/components/icon-button/index.mjs +7 -0
  38. package/esm2022/lib/components/index.mjs +27 -20
  39. package/esm2022/lib/components/input/index.mjs +9 -0
  40. package/esm2022/lib/components/input/input-currency.directive.mjs +185 -0
  41. package/esm2022/lib/components/input/input.directive.mjs +185 -0
  42. package/esm2022/lib/components/input/input.module.mjs +24 -0
  43. package/esm2022/lib/components/input/validators.mjs +22 -0
  44. package/esm2022/lib/components/input-code/index.mjs +7 -0
  45. package/esm2022/lib/components/input-code/input-code.component.mjs +232 -0
  46. package/esm2022/lib/components/input-upload/index.mjs +7 -0
  47. package/esm2022/lib/components/input-upload/input-upload.component.mjs +238 -0
  48. package/esm2022/lib/components/modal/components/default.mjs +70 -0
  49. package/esm2022/lib/components/modal/directives/actions.mjs +29 -0
  50. package/esm2022/lib/components/modal/directives/content.mjs +26 -0
  51. package/esm2022/lib/components/modal/directives/subtitle.mjs +26 -0
  52. package/esm2022/lib/components/modal/directives/title.mjs +26 -0
  53. package/esm2022/lib/components/modal/index.mjs +16 -0
  54. package/esm2022/lib/components/modal/modal-config.mjs +20 -0
  55. package/esm2022/lib/components/modal/modal-ref.mjs +49 -0
  56. package/esm2022/lib/components/modal/modal.component.mjs +117 -0
  57. package/esm2022/lib/components/modal/modal.module.mjs +53 -0
  58. package/esm2022/lib/components/modal/modal.service.mjs +137 -0
  59. package/esm2022/lib/components/modal/utils.mjs +23 -0
  60. package/esm2022/lib/components/option/index.mjs +7 -0
  61. package/esm2022/lib/components/{monkey-option/monkey-option.component.mjs → option/option.component.mjs} +1 -1
  62. package/esm2022/lib/components/security-level/index.mjs +7 -0
  63. package/esm2022/lib/components/{monkey-security-level/monkey-security-level.component.mjs → security-level/security-level.component.mjs} +1 -1
  64. package/esm2022/lib/components/select/index.mjs +7 -0
  65. package/esm2022/lib/components/select/select.component.mjs +448 -0
  66. package/esm2022/lib/components/status/index.mjs +7 -0
  67. package/esm2022/lib/components/{monkey-status/monkey-status.component.mjs → status/status.component.mjs} +1 -1
  68. package/esm2022/lib/components/{monkey-table → table}/components/pagination-action/pagination-action.mjs +2 -2
  69. package/esm2022/lib/components/table/components/pagination-label/pagination-label.mjs +34 -0
  70. package/esm2022/lib/components/table/components/pagination-size/pagination-size.mjs +57 -0
  71. package/esm2022/lib/components/table/directives/column-checked.mjs +109 -0
  72. package/esm2022/lib/components/table/directives/column-expansible.mjs +134 -0
  73. package/esm2022/lib/components/table/directives/column-sortable.mjs +97 -0
  74. package/esm2022/lib/components/{monkey-table → table}/directives/column-stick.mjs +1 -1
  75. package/esm2022/lib/components/table/index.mjs +15 -0
  76. package/esm2022/lib/components/{monkey-table/table.mjs → table/table.component.mjs} +3 -2
  77. package/esm2022/lib/components/table/table.module.mjs +64 -0
  78. package/esm2022/lib/components/toast/index.mjs +7 -0
  79. package/esm2022/lib/components/toast/toast.component.mjs +79 -0
  80. package/esm2022/lib/components/toggle/index.mjs +7 -0
  81. package/esm2022/lib/components/{monkey-toggle/monkey-toggle.component.mjs → toggle/toggle.component.mjs} +6 -1
  82. package/esm2022/lib/components/toggle-line/index.mjs +8 -0
  83. package/esm2022/lib/components/toggle-line/toggle-line-button/index.mjs +7 -0
  84. package/esm2022/lib/components/{monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.mjs → toggle-line/toggle-line-button/toggle-line-button.component.mjs} +3 -3
  85. package/esm2022/lib/components/toggle-line/toggle-line.component.mjs +85 -0
  86. package/esm2022/lib/components/tooltip/index.mjs +8 -0
  87. package/esm2022/lib/components/tooltip/tooltip/index.mjs +7 -0
  88. package/esm2022/lib/components/tooltip/tooltip/tooltip.component.mjs +58 -0
  89. package/esm2022/lib/components/tooltip/tooltip.directive.mjs +180 -0
  90. package/esm2022/lib/directives/badge.mjs +74 -0
  91. package/esm2022/lib/directives/index.mjs +2 -1
  92. package/esm2022/lib/directives/module.mjs +33 -4
  93. package/esm2022/lib/interfaces/sizes.mjs +1 -1
  94. package/esm2022/lib/services/dictionary.service.mjs +224 -0
  95. package/esm2022/lib/services/icons.service.mjs +56 -0
  96. package/esm2022/lib/services/index.mjs +8 -4
  97. package/esm2022/lib/services/toast.service.mjs +72 -0
  98. package/esm2022/lib/tokens/index.mjs +3 -0
  99. package/esm2022/utils/utils.mjs +32 -1
  100. package/fesm2022/monkey-style-guide-v2.mjs +2611 -275
  101. package/fesm2022/monkey-style-guide-v2.mjs.map +1 -1
  102. package/lib/components/accordion/index.d.ts +6 -0
  103. package/lib/components/action-bar/action-bar.component.d.ts +9 -0
  104. package/lib/components/action-bar/index.d.ts +6 -0
  105. package/lib/components/alert/index.d.ts +6 -0
  106. package/lib/components/avatar/avatar.component.d.ts +30 -0
  107. package/lib/components/avatar/index.d.ts +6 -0
  108. package/lib/components/badge/badge.component.d.ts +19 -0
  109. package/lib/components/badge/index.d.ts +6 -0
  110. package/lib/components/breadcrumb/index.d.ts +6 -0
  111. package/lib/components/button/index.d.ts +6 -0
  112. package/lib/components/{monkey-checkbox/monkey-checkbox.component.d.ts → checkbox/checkbox.component.d.ts} +1 -1
  113. package/lib/components/checkbox/index.d.ts +6 -0
  114. package/lib/components/date-range/date-range.component.d.ts +59 -0
  115. package/lib/components/date-range/index.d.ts +6 -0
  116. package/lib/components/date-range/month/index.d.ts +6 -0
  117. package/lib/components/date-range/month/month.component.d.ts +38 -0
  118. package/lib/components/date-range/quick-actions/index.d.ts +6 -0
  119. package/lib/components/date-range/quick-actions/quick-actions.component.d.ts +19 -0
  120. package/lib/components/date-range/utils.d.ts +40 -0
  121. package/lib/components/divider/index.d.ts +6 -0
  122. package/lib/components/{monkey-form-field/form-field.d.ts → form-field/form-field.component.d.ts} +9 -4
  123. package/lib/components/{monkey-form-field/module.d.ts → form-field/form-field.module.d.ts} +1 -1
  124. package/lib/components/form-field/index.d.ts +9 -0
  125. package/lib/components/icon/index.d.ts +6 -0
  126. package/lib/components/icon-button/index.d.ts +6 -0
  127. package/lib/components/index.d.ts +26 -19
  128. package/lib/components/input/index.d.ts +8 -0
  129. package/lib/components/{monkey-input/monkey-input-currency.directive.d.ts → input/input-currency.directive.d.ts} +2 -2
  130. package/lib/components/{monkey-input/monkey-input.directive.d.ts → input/input.directive.d.ts} +8 -2
  131. package/lib/components/{monkey-input/monkey-input.module.d.ts → input/input.module.d.ts} +2 -2
  132. package/lib/components/input-code/index.d.ts +6 -0
  133. package/lib/components/input-code/input-code.component.d.ts +48 -0
  134. package/lib/components/input-upload/index.d.ts +6 -0
  135. package/lib/components/input-upload/input-upload.component.d.ts +64 -0
  136. package/lib/components/modal/components/default.d.ts +17 -0
  137. package/lib/components/modal/directives/actions.d.ts +7 -0
  138. package/lib/components/modal/directives/content.d.ts +6 -0
  139. package/lib/components/modal/directives/subtitle.d.ts +6 -0
  140. package/lib/components/modal/directives/title.d.ts +6 -0
  141. package/lib/components/modal/index.d.ts +15 -0
  142. package/lib/components/modal/modal-config.d.ts +34 -0
  143. package/lib/components/modal/modal-ref.d.ts +27 -0
  144. package/lib/components/modal/modal.component.d.ts +22 -0
  145. package/lib/components/modal/modal.module.d.ts +16 -0
  146. package/lib/components/modal/modal.service.d.ts +28 -0
  147. package/lib/components/modal/utils.d.ts +16 -0
  148. package/lib/components/option/index.d.ts +6 -0
  149. package/lib/components/security-level/index.d.ts +6 -0
  150. package/lib/components/select/index.d.ts +6 -0
  151. package/lib/components/{monkey-select/monkey-select.component.d.ts → select/select.component.d.ts} +31 -13
  152. package/lib/components/status/index.d.ts +6 -0
  153. package/lib/components/{monkey-table → table}/directives/column-checked.d.ts +2 -2
  154. package/lib/components/{monkey-table → table}/directives/column-expansible.d.ts +1 -1
  155. package/lib/components/{monkey-table → table}/directives/column-sortable.d.ts +1 -1
  156. package/lib/components/{monkey-table → table}/index.d.ts +6 -1
  157. package/lib/components/table/table.module.d.ts +16 -0
  158. package/lib/components/toast/index.d.ts +6 -0
  159. package/lib/components/{monkey-toast/monkey-toast.component.d.ts → toast/toast.component.d.ts} +5 -0
  160. package/lib/components/toggle/index.d.ts +6 -0
  161. package/lib/components/toggle-line/index.d.ts +7 -0
  162. package/lib/components/toggle-line/toggle-line-button/index.d.ts +6 -0
  163. package/lib/components/{monkey-toggle-line/monkey-toggle-line.component.d.ts → toggle-line/toggle-line.component.d.ts} +1 -1
  164. package/lib/components/tooltip/index.d.ts +7 -0
  165. package/lib/components/tooltip/tooltip/index.d.ts +6 -0
  166. package/lib/directives/badge.d.ts +24 -0
  167. package/lib/directives/index.d.ts +1 -0
  168. package/lib/directives/module.d.ts +2 -1
  169. package/lib/interfaces/sizes.d.ts +1 -1
  170. package/lib/services/dictionary.service.d.ts +11 -0
  171. package/lib/services/{monkey-icons.service.d.ts → icons.service.d.ts} +2 -0
  172. package/lib/services/index.d.ts +7 -3
  173. package/lib/services/{monkey-toast.service.d.ts → toast.service.d.ts} +5 -0
  174. package/lib/tokens/index.d.ts +3 -0
  175. package/monkey-style-guide-v2-0.0.18.tgz +0 -0
  176. package/package.json +2 -1
  177. package/utils/utils.d.ts +5 -0
  178. package/esm2022/lib/components/monkey-accordion/index.mjs +0 -2
  179. package/esm2022/lib/components/monkey-accordion/monkey-accordion.component.mjs +0 -102
  180. package/esm2022/lib/components/monkey-alert/index.mjs +0 -2
  181. package/esm2022/lib/components/monkey-alert/monkey-alert.component.mjs +0 -50
  182. package/esm2022/lib/components/monkey-breadcrumb/index.mjs +0 -2
  183. package/esm2022/lib/components/monkey-breadcrumb/monkey-breadcrumb.component.mjs +0 -56
  184. package/esm2022/lib/components/monkey-button/index.mjs +0 -2
  185. package/esm2022/lib/components/monkey-checkbox/index.mjs +0 -2
  186. package/esm2022/lib/components/monkey-checkbox/monkey-checkbox.component.mjs +0 -216
  187. package/esm2022/lib/components/monkey-divider/index.mjs +0 -2
  188. package/esm2022/lib/components/monkey-divider/monkey-divider.component.mjs +0 -44
  189. package/esm2022/lib/components/monkey-form-field/form-field-control.mjs +0 -15
  190. package/esm2022/lib/components/monkey-form-field/form-field.mjs +0 -250
  191. package/esm2022/lib/components/monkey-form-field/index.mjs +0 -5
  192. package/esm2022/lib/components/monkey-form-field/module.mjs +0 -21
  193. package/esm2022/lib/components/monkey-form-field/utils.mjs +0 -16
  194. package/esm2022/lib/components/monkey-icon/index.mjs +0 -2
  195. package/esm2022/lib/components/monkey-icon/monkey-icon.component.mjs +0 -51
  196. package/esm2022/lib/components/monkey-icon-button/index.mjs +0 -2
  197. package/esm2022/lib/components/monkey-input/index.mjs +0 -5
  198. package/esm2022/lib/components/monkey-input/monkey-input-currency.directive.mjs +0 -187
  199. package/esm2022/lib/components/monkey-input/monkey-input.directive.mjs +0 -166
  200. package/esm2022/lib/components/monkey-input/monkey-input.module.mjs +0 -24
  201. package/esm2022/lib/components/monkey-input/validators.mjs +0 -17
  202. package/esm2022/lib/components/monkey-option/index.mjs +0 -2
  203. package/esm2022/lib/components/monkey-security-level/index.mjs +0 -2
  204. package/esm2022/lib/components/monkey-select/index.mjs +0 -2
  205. package/esm2022/lib/components/monkey-select/monkey-select.component.mjs +0 -352
  206. package/esm2022/lib/components/monkey-status/index.mjs +0 -2
  207. package/esm2022/lib/components/monkey-table/components/pagination-label/pagination-label.mjs +0 -34
  208. package/esm2022/lib/components/monkey-table/components/pagination-size/pagination-size.mjs +0 -57
  209. package/esm2022/lib/components/monkey-table/directives/column-checked.mjs +0 -109
  210. package/esm2022/lib/components/monkey-table/directives/column-expansible.mjs +0 -134
  211. package/esm2022/lib/components/monkey-table/directives/column-sortable.mjs +0 -97
  212. package/esm2022/lib/components/monkey-table/index.mjs +0 -10
  213. package/esm2022/lib/components/monkey-table/table.module.mjs +0 -60
  214. package/esm2022/lib/components/monkey-toast/index.mjs +0 -2
  215. package/esm2022/lib/components/monkey-toast/monkey-toast.component.mjs +0 -74
  216. package/esm2022/lib/components/monkey-toggle/index.mjs +0 -2
  217. package/esm2022/lib/components/monkey-toggle-line/index.mjs +0 -3
  218. package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.mjs +0 -2
  219. package/esm2022/lib/components/monkey-toggle-line/monkey-toggle-line.component.mjs +0 -85
  220. package/esm2022/lib/components/monkey-tooltip/index.mjs +0 -3
  221. package/esm2022/lib/components/monkey-tooltip/monkey-tooltip.directive.mjs +0 -175
  222. package/esm2022/lib/components/monkey-tooltip/tooltip/index.mjs +0 -2
  223. package/esm2022/lib/components/monkey-tooltip/tooltip/tooltip.component.mjs +0 -53
  224. package/esm2022/lib/services/monkey-destroy.service.mjs +0 -15
  225. package/esm2022/lib/services/monkey-icons.service.mjs +0 -45
  226. package/esm2022/lib/services/monkey-toast.service.mjs +0 -72
  227. package/lib/components/monkey-accordion/index.d.ts +0 -1
  228. package/lib/components/monkey-alert/index.d.ts +0 -1
  229. package/lib/components/monkey-breadcrumb/index.d.ts +0 -1
  230. package/lib/components/monkey-button/index.d.ts +0 -1
  231. package/lib/components/monkey-checkbox/index.d.ts +0 -1
  232. package/lib/components/monkey-divider/index.d.ts +0 -1
  233. package/lib/components/monkey-form-field/index.d.ts +0 -4
  234. package/lib/components/monkey-icon/index.d.ts +0 -1
  235. package/lib/components/monkey-icon-button/index.d.ts +0 -1
  236. package/lib/components/monkey-input/index.d.ts +0 -4
  237. package/lib/components/monkey-option/index.d.ts +0 -1
  238. package/lib/components/monkey-security-level/index.d.ts +0 -1
  239. package/lib/components/monkey-select/index.d.ts +0 -1
  240. package/lib/components/monkey-status/index.d.ts +0 -1
  241. package/lib/components/monkey-table/table.module.d.ts +0 -15
  242. package/lib/components/monkey-toast/index.d.ts +0 -1
  243. package/lib/components/monkey-toggle/index.d.ts +0 -1
  244. package/lib/components/monkey-toggle-line/index.d.ts +0 -2
  245. package/lib/components/monkey-toggle-line/monkey-toggle-line-button/index.d.ts +0 -1
  246. package/lib/components/monkey-tooltip/index.d.ts +0 -2
  247. package/lib/components/monkey-tooltip/tooltip/index.d.ts +0 -1
  248. package/lib/services/monkey-destroy.service.d.ts +0 -8
  249. package/monkey-style-guide-v2-0.0.16.tgz +0 -0
  250. /package/lib/components/{monkey-accordion/monkey-accordion.component.d.ts → accordion/accordion.component.d.ts} +0 -0
  251. /package/lib/components/{monkey-alert/monkey-alert.component.d.ts → alert/alert.component.d.ts} +0 -0
  252. /package/lib/components/{monkey-breadcrumb/monkey-breadcrumb.component.d.ts → breadcrumb/breadcrumb.component.d.ts} +0 -0
  253. /package/lib/components/{monkey-button/monkey-button.component.d.ts → button/button.component.d.ts} +0 -0
  254. /package/lib/components/{monkey-divider/monkey-divider.component.d.ts → divider/divider.component.d.ts} +0 -0
  255. /package/lib/components/{monkey-form-field → form-field}/form-field-control.d.ts +0 -0
  256. /package/lib/components/{monkey-form-field → form-field}/utils.d.ts +0 -0
  257. /package/lib/components/{monkey-icon/monkey-icon.component.d.ts → icon/icon.component.d.ts} +0 -0
  258. /package/lib/components/{monkey-icon-button/monkey-icon-button.component.d.ts → icon-button/icon-button.component.d.ts} +0 -0
  259. /package/lib/components/{monkey-input → input}/validators.d.ts +0 -0
  260. /package/lib/components/{monkey-option/monkey-option.component.d.ts → option/option.component.d.ts} +0 -0
  261. /package/lib/components/{monkey-security-level/monkey-security-level.component.d.ts → security-level/security-level.component.d.ts} +0 -0
  262. /package/lib/components/{monkey-status/monkey-status.component.d.ts → status/status.component.d.ts} +0 -0
  263. /package/lib/components/{monkey-table → table}/components/pagination-action/pagination-action.d.ts +0 -0
  264. /package/lib/components/{monkey-table → table}/components/pagination-label/pagination-label.d.ts +0 -0
  265. /package/lib/components/{monkey-table → table}/components/pagination-size/pagination-size.d.ts +0 -0
  266. /package/lib/components/{monkey-table → table}/directives/column-stick.d.ts +0 -0
  267. /package/lib/components/{monkey-table/table.d.ts → table/table.component.d.ts} +0 -0
  268. /package/lib/components/{monkey-toggle/monkey-toggle.component.d.ts → toggle/toggle.component.d.ts} +0 -0
  269. /package/lib/components/{monkey-toggle-line/monkey-toggle-line-button/monkey-toggle-line-button.component.d.ts → toggle-line/toggle-line-button/toggle-line-button.component.d.ts} +0 -0
  270. /package/lib/components/{monkey-tooltip → tooltip}/tooltip/tooltip.component.d.ts +0 -0
  271. /package/lib/components/{monkey-tooltip/monkey-tooltip.directive.d.ts → tooltip/tooltip.directive.d.ts} +0 -0
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './accordion.component';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MonkeyActionBarComponent {
3
+ get classes(): string | undefined;
4
+ label: import("@angular/core").InputSignal<string | undefined>;
5
+ position: import("@angular/core").InputSignal<string | undefined>;
6
+ open: import("@angular/core").InputSignal<boolean | undefined>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyActionBarComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyActionBarComponent, "monkey-action-bar", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
9
+ }
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './action-bar.component';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './alert.component';
@@ -0,0 +1,30 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ import { InputSignal } from '@angular/core';
7
+ import { MonkeySize } from '../../interfaces';
8
+ import * as i0 from "@angular/core";
9
+ type MonkeyAvatarSrc = {
10
+ iconName: string;
11
+ } | {
12
+ imageUrl: string;
13
+ } | {
14
+ name: string;
15
+ };
16
+ type MonkeyAvatarType = 'icon' | 'image' | 'name';
17
+ export declare class MonkeyAvatarComponent {
18
+ protected _id: any;
19
+ readonly size: InputSignal<MonkeySize>;
20
+ readonly src: InputSignal<MonkeyAvatarSrc>;
21
+ readonly id: InputSignal<string | undefined>;
22
+ avatar: string;
23
+ avatarType: MonkeyAvatarType;
24
+ constructor();
25
+ private getInitial;
26
+ private handleAvatarType;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAvatarComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAvatarComponent, "monkey-avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": true; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
+ }
30
+ export {};
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './avatar.component';
@@ -0,0 +1,19 @@
1
+ import { MonkeySize } from '../../interfaces';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MonkeyBadgeComponent {
4
+ private readonly idGenerator;
5
+ readonly id: string;
6
+ hostVariables: {};
7
+ set type(value: 'success' | 'alert' | 'error' | 'info' | 'default');
8
+ set typeColors(value: {
9
+ background: string;
10
+ color: string;
11
+ });
12
+ size: MonkeySize;
13
+ largePadding: boolean;
14
+ icon: string;
15
+ text: string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyBadgeComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyBadgeComponent, "monkey-badge", never, { "type": { "alias": "type"; "required": false; }; "typeColors": { "alias": "typeColors"; "required": false; }; "size": { "alias": "size"; "required": false; }; "largePadding": { "alias": "largePadding"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["*"], true, never>;
18
+ static ngAcceptInputType_largePadding: unknown;
19
+ }
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './badge.component';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './breadcrumb.component';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './button.component';
@@ -11,7 +11,7 @@ export declare class MonkeyCheckboxComponent implements ControlValueAccessor, On
11
11
  showFooter: boolean;
12
12
  size: 'sm' | 'md' | 'lg';
13
13
  onChange: EventEmitter<boolean>;
14
- private _destroyed;
14
+ private _destroyRef;
15
15
  private readonly icons;
16
16
  private readonly idGenerator;
17
17
  private injector;
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './checkbox.component';
@@ -0,0 +1,59 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ interface Calendar {
4
+ month: number;
5
+ year: number;
6
+ }
7
+ export declare class MonkeyDateRangeComponent implements OnInit {
8
+ set startDate(val: string);
9
+ set endDate(val: string);
10
+ hideQuickAction: boolean;
11
+ hideHeader: boolean;
12
+ hideActions: boolean;
13
+ hideSecondCalendar: boolean;
14
+ allowFastActionOnHeader: boolean;
15
+ set minDate(val: Date | string);
16
+ set maxDate(val: Date | string);
17
+ onCancel: EventEmitter<any>;
18
+ onDate: EventEmitter<any>;
19
+ protected _uid: string;
20
+ protected _id: string;
21
+ get id(): string;
22
+ set id(value: string);
23
+ private _screenWidth;
24
+ private _allowChangeFastAction;
25
+ private _allowChangeSecondCalendar;
26
+ private readonly _today;
27
+ readonly i18nDictionary: import("rxjs").Observable<any>;
28
+ handledStartDate: string;
29
+ handledEndDate: string;
30
+ firstCalendar: Calendar;
31
+ secondCalendar: Calendar;
32
+ isInvalidInterval: boolean;
33
+ handledMinDate: string;
34
+ handledMaxDate: string;
35
+ constructor();
36
+ private handleInitialValues;
37
+ private handleProperties;
38
+ private handleInputChange;
39
+ onResize(event: any): void;
40
+ ngOnInit(): void;
41
+ onHandleDate({ startDate, endDate }: {
42
+ startDate: string;
43
+ endDate: string;
44
+ }): void;
45
+ onSubmit(): void;
46
+ onHandleQuickAction(event: number): void;
47
+ onChangeInputStartDate(event: Event): void;
48
+ onChangeInputEndDate(event: Event): void;
49
+ onDataChange(event: string, isStart: boolean): void;
50
+ onHandleNavigate(action: 'previous' | 'next'): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeComponent, "monkey-date-range", never, { "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "hideQuickAction": { "alias": "hideQuickAction"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "hideActions": { "alias": "hideActions"; "required": false; }; "hideSecondCalendar": { "alias": "hideSecondCalendar"; "required": false; }; "allowFastActionOnHeader": { "alias": "allowFastActionOnHeader"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onCancel": "onCancel"; "onDate": "onDate"; }, never, never, true, never>;
53
+ static ngAcceptInputType_hideQuickAction: unknown;
54
+ static ngAcceptInputType_hideHeader: unknown;
55
+ static ngAcceptInputType_hideActions: unknown;
56
+ static ngAcceptInputType_hideSecondCalendar: unknown;
57
+ static ngAcceptInputType_allowFastActionOnHeader: unknown;
58
+ }
59
+ export {};
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './date-range.component';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './month.component';
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
+ import * as Utils from '../utils';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MonkeyDateRangeMonthComponent implements OnChanges {
5
+ month: number;
6
+ year: number;
7
+ set startDate(val: string);
8
+ set endDate(val: string);
9
+ hidePrevious: boolean;
10
+ hideNext: boolean;
11
+ minDate: string;
12
+ maxDate: string;
13
+ onNavigate: EventEmitter<any>;
14
+ onDate: EventEmitter<any>;
15
+ protected _uid: string;
16
+ protected _id: string;
17
+ private readonly _today;
18
+ private _handledStartDate;
19
+ private _handledEndDate;
20
+ readonly i18nDictionary: import("rxjs").Observable<any>;
21
+ daysInMonth: Utils.CalendarWeekDay;
22
+ temporaryEndDate: Utils.WeekDay | null;
23
+ get id(): string;
24
+ set id(value: string);
25
+ constructor();
26
+ ngOnChanges(): void;
27
+ isFirst(param: Utils.WeekDay): boolean;
28
+ isLast(param: Utils.WeekDay): boolean;
29
+ isSelected(param: Utils.WeekDay): boolean;
30
+ isInRange(param: Utils.WeekDay): boolean;
31
+ isInRangeTemporary(param: Utils.WeekDay): boolean;
32
+ isInLastTemporary(param: Utils.WeekDay): boolean;
33
+ onSelectDate(event: Event, param: Utils.WeekDay): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeMonthComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeMonthComponent, "monkey-date-range-month", never, { "month": { "alias": "month"; "required": true; }; "year": { "alias": "year"; "required": true; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "hidePrevious": { "alias": "hidePrevious"; "required": false; }; "hideNext": { "alias": "hideNext"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onNavigate": "onNavigate"; "onDate": "onDate"; }, never, never, true, never>;
36
+ static ngAcceptInputType_hidePrevious: unknown;
37
+ static ngAcceptInputType_hideNext: unknown;
38
+ }
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './quick-actions.component';
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MonkeyDateRangeQuickActionsComponent {
4
+ onChange: EventEmitter<any>;
5
+ protected _uid: string;
6
+ protected _id: string;
7
+ get id(): string;
8
+ set id(value: string);
9
+ selectedAction: string;
10
+ readonly actions: any[];
11
+ readonly i18nDictionary: import("rxjs").Observable<any>;
12
+ constructor();
13
+ onHandleAction({ key, value }: {
14
+ key: string;
15
+ value: number;
16
+ }): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDateRangeQuickActionsComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDateRangeQuickActionsComponent, "monkey-date-range-quick-actions", never, { "id": { "alias": "id"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
19
+ }
@@ -0,0 +1,40 @@
1
+ export interface DefaultDates {
2
+ minDate: string;
3
+ maxDate: string;
4
+ }
5
+ export interface WeekDay {
6
+ date: Date | null;
7
+ isDisabled: boolean;
8
+ isToday: boolean;
9
+ }
10
+ export interface CalendarWeekDay {
11
+ blockNext: boolean;
12
+ blockPrev: boolean;
13
+ days: (WeekDay | null)[];
14
+ }
15
+ export declare enum QuickActionsEnum {
16
+ LAST_30_DAYS = -30,
17
+ LAST_60_DAYS = -60,
18
+ LAST_90_DAYS = -90,
19
+ LAST_6_MONTHS = -180,
20
+ LAST_12_MONTHS = -365,
21
+ NEXT_30_DAYS = 30,
22
+ NEXT_60_DAYS = 60,
23
+ NEXT_90_DAYS = 90,
24
+ NEXT_6_MONTHS = 180,
25
+ NEXT_12_MONTHS = 365
26
+ }
27
+ export declare function parseStringDate(val: Date | string): string;
28
+ export declare function getDefaultdates(): DefaultDates;
29
+ export declare function buildCalendars(date: Date | string, action?: 'previous' | 'next'): {
30
+ firstCalendar: {
31
+ month: number;
32
+ year: number;
33
+ };
34
+ secondCalendar: {
35
+ month: number;
36
+ year: number;
37
+ };
38
+ };
39
+ export declare function buildMonthByDays(year: number, month: number, minDate: Date | string, maxDate: Date | string): CalendarWeekDay;
40
+ export declare function getEnumKeys(enumObj: any): any[];
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './divider.component';
@@ -5,12 +5,15 @@
5
5
  ************************* */
6
6
  import { AfterContentChecked, AfterContentInit, ElementRef, OnDestroy } from '@angular/core';
7
7
  import { SafeHtml } from '@angular/platform-browser';
8
+ import { MonkeySize } from '../../interfaces';
8
9
  import { MonkeyFormFieldControl } from './form-field-control';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class MonkeyFormFieldComponent implements AfterContentInit, AfterContentChecked, OnDestroy {
11
12
  get id(): string;
12
13
  set id(value: string);
13
- hideClear: boolean;
14
+ hideAction: boolean;
15
+ enableClear: boolean;
16
+ size: MonkeySize;
14
17
  private _formFieldControl;
15
18
  private _labelChildren;
16
19
  private _helperChildren;
@@ -25,7 +28,7 @@ export declare class MonkeyFormFieldComponent implements AfterContentInit, After
25
28
  private readonly _labelId;
26
29
  protected _uid: string;
27
30
  protected _id: string;
28
- private _destroyed;
31
+ private _destroyRef;
29
32
  private _isFocused;
30
33
  private _previousControl;
31
34
  private _stateChanges;
@@ -43,6 +46,7 @@ export declare class MonkeyFormFieldComponent implements AfterContentInit, After
43
46
  hasError: boolean;
44
47
  get control(): MonkeyFormFieldControl;
45
48
  get labelId(): string;
49
+ get hideBorder(): boolean;
46
50
  get showHeader(): boolean;
47
51
  get showFooter(): boolean;
48
52
  get showInvalid(): boolean;
@@ -69,6 +73,7 @@ export declare class MonkeyFormFieldComponent implements AfterContentInit, After
69
73
  onClear(event: MouseEvent): void;
70
74
  onOpenCalendar(event: MouseEvent): void;
71
75
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFormFieldComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFormFieldComponent, "monkey-form-field", ["monkeyFormField"], { "id": { "alias": "id"; "required": false; }; "hideClear": { "alias": "hideClear"; "required": false; }; }, {}, ["_formFieldControl", "_labelChildren", "_helperChildren", "_prefixChildren", "_suffixChildren", "_infoChildren", "_errorChildren"], ["monkey-label", "monkey-helper", "monkey-prefix", "*", "monkey-suffix", "monkey-error", "monkey-info"], false, never>;
73
- static ngAcceptInputType_hideClear: unknown;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyFormFieldComponent, "monkey-form-field", ["monkeyFormField"], { "id": { "alias": "id"; "required": false; }; "hideAction": { "alias": "hideAction"; "required": false; }; "enableClear": { "alias": "enableClear"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["_formFieldControl", "_labelChildren", "_helperChildren", "_prefixChildren", "_suffixChildren", "_infoChildren", "_errorChildren"], ["monkey-label", "monkey-helper", "monkey-prefix", "*", "monkey-suffix", "monkey-error", "monkey-info"], false, never>;
77
+ static ngAcceptInputType_hideAction: unknown;
78
+ static ngAcceptInputType_enableClear: unknown;
74
79
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./form-field";
2
+ import * as i1 from "./form-field.component";
3
3
  export declare class MonkeyFormFieldModule {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFormFieldModule, never>;
5
5
  static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyFormFieldModule, [typeof i1.MonkeyFormFieldComponent], never, [typeof i1.MonkeyFormFieldComponent]>;
@@ -0,0 +1,9 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './form-field-control';
7
+ export * from './form-field.component';
8
+ export * from './form-field.module';
9
+ export * from './utils';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './icon.component';
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './icon-button.component';
@@ -1,19 +1,26 @@
1
- export * from './monkey-accordion';
2
- export * from './monkey-alert';
3
- export * from './monkey-breadcrumb';
4
- export * from './monkey-button';
5
- export * from './monkey-checkbox';
6
- export * from './monkey-divider';
7
- export * from './monkey-form-field';
8
- export * from './monkey-icon';
9
- export * from './monkey-icon-button';
10
- export * from './monkey-input';
11
- export * from './monkey-security-level';
12
- export * from './monkey-status';
13
- export * from './monkey-table';
14
- export * from './monkey-toast';
15
- export * from './monkey-toggle';
16
- export * from './monkey-toggle-line';
17
- export * from './monkey-tooltip';
18
- export * from './monkey-select';
19
- export * from './monkey-option';
1
+ export * from './accordion';
2
+ export * from './action-bar';
3
+ export * from './alert';
4
+ export * from './avatar';
5
+ export * from './badge';
6
+ export * from './breadcrumb';
7
+ export * from './button';
8
+ export * from './checkbox';
9
+ export * from './date-range';
10
+ export * from './divider';
11
+ export * from './form-field';
12
+ export * from './icon';
13
+ export * from './icon-button';
14
+ export * from './input';
15
+ export * from './input-code';
16
+ export * from './input-upload';
17
+ export * from './modal';
18
+ export * from './option';
19
+ export * from './security-level';
20
+ export * from './select';
21
+ export * from './status';
22
+ export * from './table';
23
+ export * from './toast';
24
+ export * from './toggle';
25
+ export * from './toggle-line';
26
+ export * from './tooltip';
@@ -0,0 +1,8 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './input-currency.directive';
7
+ export * from './input.directive';
8
+ export * from './input.module';
@@ -8,7 +8,7 @@ import { CurrencyPipe } from '@angular/common';
8
8
  import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
9
9
  import { NgControl } from '@angular/forms';
10
10
  import { Subject } from 'rxjs';
11
- import { MonkeyFormFieldControl } from '../monkey-form-field';
11
+ import { MonkeyFormFieldControl } from '../form-field';
12
12
  import * as i0 from "@angular/core";
13
13
  export declare class MonkeyInputCurrencyDirective implements MonkeyFormFieldControl, OnChanges, OnInit, OnDestroy {
14
14
  private el;
@@ -35,7 +35,7 @@ export declare class MonkeyInputCurrencyDirective implements MonkeyFormFieldCont
35
35
  private readonly _changeDetectorRef;
36
36
  private readonly _currencyCode;
37
37
  private readonly _localeId;
38
- private _destroyed;
38
+ private _destroyRef;
39
39
  private _valueChanges;
40
40
  private _rawValue;
41
41
  ngControl: NgControl | null;
@@ -7,7 +7,7 @@ import { BooleanInput } from '@angular/cdk/coercion';
7
7
  import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
8
8
  import { NgControl } from '@angular/forms';
9
9
  import { Subject } from 'rxjs';
10
- import { MonkeyFormFieldControl } from '../monkey-form-field';
10
+ import { MonkeyFormFieldControl } from '../form-field';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class MonkeyInputDirective implements MonkeyFormFieldControl, OnChanges, OnDestroy {
13
13
  protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
@@ -25,7 +25,13 @@ export declare class MonkeyInputDirective implements MonkeyFormFieldControl, OnC
25
25
  protected _disabled: boolean;
26
26
  get type(): string;
27
27
  set type(value: string);
28
+ get min(): string;
29
+ set min(value: string);
30
+ get max(): string;
31
+ set max(value: string);
28
32
  protected _type: string;
33
+ protected _min: string;
34
+ protected _max: string;
29
35
  get currency(): boolean;
30
36
  get percent(): boolean;
31
37
  set percent(value: '');
@@ -41,6 +47,6 @@ export declare class MonkeyInputDirective implements MonkeyFormFieldControl, OnC
41
47
  focusChanged(isFocused: boolean): void;
42
48
  focusOutChanged(): void;
43
49
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputDirective, never>;
44
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyInputDirective, "input[monkey-input],textarea[monkey-input]", ["monkeyInput"], { "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, false, never>;
50
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeyInputDirective, "input[monkey-input],textarea[monkey-input]", ["monkeyInput"], { "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "type": { "alias": "type"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, false, never>;
45
51
  static ngAcceptInputType_disabled: unknown;
46
52
  }
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./monkey-input.directive";
3
- import * as i2 from "./monkey-input-currency.directive";
2
+ import * as i1 from "./input.directive";
3
+ import * as i2 from "./input-currency.directive";
4
4
  export declare class MonkeyInputModule {
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputModule, never>;
6
6
  static ɵmod: i0.ɵɵNgModuleDeclaration<MonkeyInputModule, [typeof i1.MonkeyInputDirective, typeof i2.MonkeyInputCurrencyDirective], never, [typeof i1.MonkeyInputDirective, typeof i2.MonkeyInputCurrencyDirective]>;
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './input-code.component';
@@ -0,0 +1,48 @@
1
+ import { AfterViewInit, ElementRef, InputSignal, QueryList } from '@angular/core';
2
+ import { ControlValueAccessor, NgControl } from '@angular/forms';
3
+ import { Subject } from 'rxjs';
4
+ import { MonkeyFormFieldComponent, MonkeyFormFieldControl } from '../form-field';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MonkeyInputCodeComponent implements ControlValueAccessor, MonkeyFormFieldControl, AfterViewInit {
7
+ private formField;
8
+ readonly stateChanges: Subject<void>;
9
+ readonly type: string;
10
+ readonly currency: boolean;
11
+ readonly percent: boolean;
12
+ readonly id: any;
13
+ private _onChange;
14
+ private _onTouched;
15
+ private _value;
16
+ ngControl: NgControl | null;
17
+ focused: boolean;
18
+ length: InputSignal<number>;
19
+ inputType: InputSignal<string>;
20
+ inputIndices: import("@angular/core").Signal<string[]>;
21
+ get disabled(): boolean;
22
+ set disabled(value: boolean);
23
+ _disabled: boolean;
24
+ set value(value: any);
25
+ get value(): any;
26
+ inputs: QueryList<ElementRef<HTMLInputElement>>;
27
+ constructor(formField: MonkeyFormFieldComponent);
28
+ ngAfterViewInit(): void;
29
+ private _onFocus;
30
+ private propagateCode;
31
+ private focusNextInput;
32
+ private focusPreviousInput;
33
+ private setFullInputValue;
34
+ isInvalid(): boolean;
35
+ onContainerClick(): void;
36
+ onKeyDown(event: KeyboardEvent, index: number): void;
37
+ onInput(event: Event, index: number): void;
38
+ onPaste(event: ClipboardEvent): void;
39
+ onBlur(): void;
40
+ onFocus(event: FocusEvent): void;
41
+ writeValue(value: string): void;
42
+ registerOnChange(fn: any): void;
43
+ registerOnTouched(fn: any): void;
44
+ setDisabledState(isDisabled: boolean): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyInputCodeComponent, [{ optional: true; }]>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyInputCodeComponent, "monkey-input-code", never, { "length": { "alias": "length"; "required": false; "isSignal": true; }; "inputType": { "alias": "inputType"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
47
+ static ngAcceptInputType_disabled: unknown;
48
+ }
@@ -0,0 +1,6 @@
1
+ /** ************************
2
+ * Copyright Monkey Exchange. All Rights Reserved
3
+ * This style guide was developed by Monkey Exchange Team
4
+ * MIT Licence
5
+ ************************* */
6
+ export * from './input-upload.component';