monkey-style-guide 2.0.83 → 2.0.88

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 (211) hide show
  1. package/README.md +1 -1
  2. package/assets/scss/partials/components/_buttons.scss +5 -5
  3. package/assets/scss/partials/components/_date-range-picker.scss +204 -0
  4. package/assets/scss/partials/components/_index.scss +2 -0
  5. package/assets/scss/partials/components/_input-phone.scss +17 -0
  6. package/bundles/monkey-style-guide.umd.js +467 -6
  7. package/bundles/monkey-style-guide.umd.js.map +1 -1
  8. package/esm2015/lib/components/badge/badge.component.ngfactory.js +17 -0
  9. package/esm2015/lib/components/badge/badge.component.ngsummary.json +1 -0
  10. package/esm2015/lib/components/badge/badge.module.ngfactory.js +12 -0
  11. package/esm2015/lib/components/badge/badge.module.ngsummary.json +1 -0
  12. package/esm2015/lib/components/badge/index.ngsummary.json +1 -0
  13. package/esm2015/lib/components/button/button-avatar.component.ngfactory.js +19 -0
  14. package/esm2015/lib/components/button/button-avatar.component.ngsummary.json +1 -0
  15. package/esm2015/lib/components/button/button-dropdown.component.ngfactory.js +39 -0
  16. package/esm2015/lib/components/button/button-dropdown.component.ngsummary.json +1 -0
  17. package/esm2015/lib/components/button/button.component.ngfactory.js +31 -0
  18. package/esm2015/lib/components/button/button.component.ngsummary.json +1 -0
  19. package/esm2015/lib/components/button/button.module.ngfactory.js +14 -0
  20. package/esm2015/lib/components/button/button.module.ngsummary.json +1 -0
  21. package/esm2015/lib/components/button/index.ngsummary.json +1 -0
  22. package/esm2015/lib/components/checkbox/checkbox.component.ngfactory.js +38 -0
  23. package/esm2015/lib/components/checkbox/checkbox.component.ngsummary.json +1 -0
  24. package/esm2015/lib/components/checkbox/checkbox.module.ngfactory.js +13 -0
  25. package/esm2015/lib/components/checkbox/checkbox.module.ngsummary.json +1 -0
  26. package/esm2015/lib/components/checkbox/index.ngsummary.json +1 -0
  27. package/esm2015/lib/components/date-range-picker/date-range-picker.component.js +326 -0
  28. package/esm2015/lib/components/date-range-picker/date-range-picker.component.ngfactory.js +75 -0
  29. package/esm2015/lib/components/date-range-picker/date-range-picker.component.ngsummary.json +1 -0
  30. package/esm2015/lib/components/date-range-picker/date-range-picker.module.js +17 -0
  31. package/esm2015/lib/components/date-range-picker/date-range-picker.module.ngfactory.js +15 -0
  32. package/esm2015/lib/components/date-range-picker/date-range-picker.module.ngsummary.json +1 -0
  33. package/esm2015/lib/components/date-range-picker/index.js +3 -0
  34. package/esm2015/lib/components/date-range-picker/index.ngsummary.json +1 -0
  35. package/esm2015/lib/components/expansion/expansion.component.ngfactory.js +35 -0
  36. package/esm2015/lib/components/expansion/expansion.component.ngsummary.json +1 -0
  37. package/esm2015/lib/components/expansion/expansion.module.ngfactory.js +13 -0
  38. package/esm2015/lib/components/expansion/expansion.module.ngsummary.json +1 -0
  39. package/esm2015/lib/components/expansion/index.ngsummary.json +1 -0
  40. package/esm2015/lib/components/file-upload/file-upload.component.ngfactory.js +39 -0
  41. package/esm2015/lib/components/file-upload/file-upload.component.ngsummary.json +1 -0
  42. package/esm2015/lib/components/file-upload/file-upload.module.ngfactory.js +15 -0
  43. package/esm2015/lib/components/file-upload/file-upload.module.ngsummary.json +1 -0
  44. package/esm2015/lib/components/file-upload/index.ngsummary.json +1 -0
  45. package/esm2015/lib/components/icon/icon.component.ngfactory.js +88 -0
  46. package/esm2015/lib/components/icon/icon.component.ngsummary.json +1 -0
  47. package/esm2015/lib/components/icon/icon.module.ngfactory.js +12 -0
  48. package/esm2015/lib/components/icon/icon.module.ngsummary.json +1 -0
  49. package/esm2015/lib/components/icon/icons.component.ngfactory.js +465 -0
  50. package/esm2015/lib/components/icon/icons.component.ngsummary.json +1 -0
  51. package/esm2015/lib/components/icon/index.ngsummary.json +1 -0
  52. package/esm2015/lib/components/image-crop/image-crop.component.ngfactory.js +108 -0
  53. package/esm2015/lib/components/image-crop/image-crop.component.ngsummary.json +1 -0
  54. package/esm2015/lib/components/image-crop/image-crop.module.ngfactory.js +17 -0
  55. package/esm2015/lib/components/image-crop/image-crop.module.ngsummary.json +1 -0
  56. package/esm2015/lib/components/image-crop/index.ngsummary.json +1 -0
  57. package/esm2015/lib/components/index.js +3 -1
  58. package/esm2015/lib/components/index.ngsummary.json +1 -0
  59. package/esm2015/lib/components/input/index.ngsummary.json +1 -0
  60. package/esm2015/lib/components/input/input-filter.component.ngfactory.js +129 -0
  61. package/esm2015/lib/components/input/input-filter.component.ngsummary.json +1 -0
  62. package/esm2015/lib/components/input/input.component.js +11 -2
  63. package/esm2015/lib/components/input/input.component.ngfactory.js +139 -0
  64. package/esm2015/lib/components/input/input.component.ngsummary.json +1 -0
  65. package/esm2015/lib/components/input/input.module.ngfactory.js +15 -0
  66. package/esm2015/lib/components/input/input.module.ngsummary.json +1 -0
  67. package/esm2015/lib/components/input-phone/index.js +3 -0
  68. package/esm2015/lib/components/input-phone/index.ngsummary.json +1 -0
  69. package/esm2015/lib/components/input-phone/input-phone.component.js +205 -0
  70. package/esm2015/lib/components/input-phone/input-phone.component.ngfactory.js +27 -0
  71. package/esm2015/lib/components/input-phone/input-phone.component.ngsummary.json +1 -0
  72. package/esm2015/lib/components/input-phone/input-phone.module.js +25 -0
  73. package/esm2015/lib/components/input-phone/input-phone.module.ngfactory.js +18 -0
  74. package/esm2015/lib/components/input-phone/input-phone.module.ngsummary.json +1 -0
  75. package/esm2015/lib/components/modal/index.ngsummary.json +1 -0
  76. package/esm2015/lib/components/modal/modal.component.ngfactory.js +61 -0
  77. package/esm2015/lib/components/modal/modal.component.ngsummary.json +1 -0
  78. package/esm2015/lib/components/modal/modal.module.ngfactory.js +15 -0
  79. package/esm2015/lib/components/modal/modal.module.ngsummary.json +1 -0
  80. package/esm2015/lib/components/option/index.ngsummary.json +1 -0
  81. package/esm2015/lib/components/option/option.component.ngfactory.js +24 -0
  82. package/esm2015/lib/components/option/option.component.ngsummary.json +1 -0
  83. package/esm2015/lib/components/option/option.module.ngfactory.js +12 -0
  84. package/esm2015/lib/components/option/option.module.ngsummary.json +1 -0
  85. package/esm2015/lib/components/radiobutton/index.ngsummary.json +1 -0
  86. package/esm2015/lib/components/radiobutton/radiobutton.component.ngfactory.js +18 -0
  87. package/esm2015/lib/components/radiobutton/radiobutton.component.ngsummary.json +1 -0
  88. package/esm2015/lib/components/radiobutton/radiobutton.module.ngfactory.js +13 -0
  89. package/esm2015/lib/components/radiobutton/radiobutton.module.ngsummary.json +1 -0
  90. package/esm2015/lib/components/select/index.ngsummary.json +1 -0
  91. package/esm2015/lib/components/select/select-filter.component.ngfactory.js +30 -0
  92. package/esm2015/lib/components/select/select-filter.component.ngsummary.json +1 -0
  93. package/esm2015/lib/components/select/select-multiple.component.ngfactory.js +33 -0
  94. package/esm2015/lib/components/select/select-multiple.component.ngsummary.json +1 -0
  95. package/esm2015/lib/components/select/select-search.component.ngfactory.js +48 -0
  96. package/esm2015/lib/components/select/select-search.component.ngsummary.json +1 -0
  97. package/esm2015/lib/components/select/select.component.ngfactory.js +33 -0
  98. package/esm2015/lib/components/select/select.component.ngsummary.json +1 -0
  99. package/esm2015/lib/components/select/select.module.ngfactory.js +17 -0
  100. package/esm2015/lib/components/select/select.module.ngsummary.json +1 -0
  101. package/esm2015/lib/components/stepper/index.ngsummary.json +1 -0
  102. package/esm2015/lib/components/stepper/stepper.component.ngfactory.js +18 -0
  103. package/esm2015/lib/components/stepper/stepper.component.ngsummary.json +1 -0
  104. package/esm2015/lib/components/stepper/stepper.module.ngfactory.js +13 -0
  105. package/esm2015/lib/components/stepper/stepper.module.ngsummary.json +1 -0
  106. package/esm2015/lib/components/tab/index.ngsummary.json +1 -0
  107. package/esm2015/lib/components/tab/tab.component.ngfactory.js +18 -0
  108. package/esm2015/lib/components/tab/tab.component.ngsummary.json +1 -0
  109. package/esm2015/lib/components/tab/tab.module.ngfactory.js +14 -0
  110. package/esm2015/lib/components/tab/tab.module.ngsummary.json +1 -0
  111. package/esm2015/lib/components/table/index.ngsummary.json +1 -0
  112. package/esm2015/lib/components/table/table-column.component.ngfactory.js +17 -0
  113. package/esm2015/lib/components/table/table-column.component.ngsummary.json +1 -0
  114. package/esm2015/lib/components/table/table.component.ngfactory.js +33 -0
  115. package/esm2015/lib/components/table/table.component.ngsummary.json +1 -0
  116. package/esm2015/lib/components/table/table.module.ngfactory.js +15 -0
  117. package/esm2015/lib/components/table/table.module.ngsummary.json +1 -0
  118. package/esm2015/lib/components/toggle/index.ngsummary.json +1 -0
  119. package/esm2015/lib/components/toggle/toggle.component.ngfactory.js +20 -0
  120. package/esm2015/lib/components/toggle/toggle.component.ngsummary.json +1 -0
  121. package/esm2015/lib/components/toggle/toggle.module.ngfactory.js +12 -0
  122. package/esm2015/lib/components/toggle/toggle.module.ngsummary.json +1 -0
  123. package/esm2015/lib/components/wizard/index.ngsummary.json +1 -0
  124. package/esm2015/lib/components/wizard/wizard.component.ngfactory.js +18 -0
  125. package/esm2015/lib/components/wizard/wizard.component.ngsummary.json +1 -0
  126. package/esm2015/lib/components/wizard/wizard.module.ngfactory.js +13 -0
  127. package/esm2015/lib/components/wizard/wizard.module.ngsummary.json +1 -0
  128. package/esm2015/lib/core/index.ngsummary.json +1 -0
  129. package/esm2015/lib/core/interfaces/index.ngsummary.json +1 -0
  130. package/esm2015/lib/core/interfaces/monkey-modal-settings.ngsummary.json +1 -0
  131. package/esm2015/lib/core/interfaces/monkey-style-settings.ngsummary.json +1 -0
  132. package/esm2015/lib/core/services/index.ngsummary.json +1 -0
  133. package/esm2015/lib/core/services/modal/index.ngsummary.json +1 -0
  134. package/esm2015/lib/core/services/modal/monkey-style-guide-modal-fixed.service.ngsummary.json +1 -0
  135. package/esm2015/lib/core/services/modal/monkey-style-guide-modal.service.ngsummary.json +1 -0
  136. package/esm2015/lib/core/services/monkey-style-guide.service.js +3 -3
  137. package/esm2015/lib/core/services/monkey-style-guide.service.ngsummary.json +1 -0
  138. package/esm2015/lib/core/services/settings/index.ngsummary.json +1 -0
  139. package/esm2015/lib/core/services/settings/monkey-style-guide-settings.service.js +2 -2
  140. package/esm2015/lib/core/services/settings/monkey-style-guide-settings.service.ngsummary.json +1 -0
  141. package/esm2015/lib/core/services/settings/monkey-style-guide-theme-settings.service.ngsummary.json +1 -0
  142. package/esm2015/lib/core/services/snackbar/index.ngsummary.json +1 -0
  143. package/esm2015/lib/core/services/snackbar/mokey-style-guide-snackbar.service.ngsummary.json +1 -0
  144. package/esm2015/lib/core/utils/index.ngsummary.json +1 -0
  145. package/esm2015/lib/core/utils/utils.ngsummary.json +1 -0
  146. package/esm2015/lib/monkey-style-guide.module.ngfactory.js +17 -0
  147. package/esm2015/lib/monkey-style-guide.module.ngsummary.json +1 -0
  148. package/esm2015/monkey-style-guide.ngsummary.json +1 -0
  149. package/esm2015/public-api.ngsummary.json +1 -0
  150. package/fesm2015/monkey-style-guide.js +561 -4
  151. package/fesm2015/monkey-style-guide.js.map +1 -1
  152. package/lib/components/badge/badge.component.ngfactory.d.ts +1 -0
  153. package/lib/components/badge/badge.module.ngfactory.d.ts +3 -0
  154. package/lib/components/button/button-avatar.component.ngfactory.d.ts +1 -0
  155. package/lib/components/button/button-dropdown.component.ngfactory.d.ts +1 -0
  156. package/lib/components/button/button.component.ngfactory.d.ts +1 -0
  157. package/lib/components/button/button.module.ngfactory.d.ts +3 -0
  158. package/lib/components/checkbox/checkbox.component.ngfactory.d.ts +1 -0
  159. package/lib/components/checkbox/checkbox.module.ngfactory.d.ts +3 -0
  160. package/lib/components/date-range-picker/date-range-picker.component.d.ts +50 -0
  161. package/lib/components/date-range-picker/date-range-picker.component.ngfactory.d.ts +1 -0
  162. package/lib/components/date-range-picker/date-range-picker.module.d.ts +2 -0
  163. package/lib/components/date-range-picker/date-range-picker.module.ngfactory.d.ts +3 -0
  164. package/lib/components/date-range-picker/index.d.ts +2 -0
  165. package/lib/components/expansion/expansion.component.ngfactory.d.ts +1 -0
  166. package/lib/components/expansion/expansion.module.ngfactory.d.ts +3 -0
  167. package/lib/components/file-upload/file-upload.component.ngfactory.d.ts +1 -0
  168. package/lib/components/file-upload/file-upload.module.ngfactory.d.ts +3 -0
  169. package/lib/components/icon/icon.component.ngfactory.d.ts +1 -0
  170. package/lib/components/icon/icon.module.ngfactory.d.ts +3 -0
  171. package/lib/components/icon/icons.component.ngfactory.d.ts +1 -0
  172. package/lib/components/image-crop/image-crop.component.ngfactory.d.ts +1 -0
  173. package/lib/components/image-crop/image-crop.module.ngfactory.d.ts +3 -0
  174. package/lib/components/index.d.ts +2 -0
  175. package/lib/components/input/input-filter.component.ngfactory.d.ts +1 -0
  176. package/lib/components/input/input.component.d.ts +1 -0
  177. package/lib/components/input/input.component.ngfactory.d.ts +1 -0
  178. package/lib/components/input/input.module.ngfactory.d.ts +3 -0
  179. package/lib/components/input-phone/index.d.ts +2 -0
  180. package/lib/components/input-phone/input-phone.component.d.ts +61 -0
  181. package/lib/components/input-phone/input-phone.component.ngfactory.d.ts +1 -0
  182. package/lib/components/input-phone/input-phone.module.d.ts +2 -0
  183. package/lib/components/input-phone/input-phone.module.ngfactory.d.ts +3 -0
  184. package/lib/components/modal/modal.component.ngfactory.d.ts +1 -0
  185. package/lib/components/modal/modal.module.ngfactory.d.ts +3 -0
  186. package/lib/components/option/option.component.ngfactory.d.ts +1 -0
  187. package/lib/components/option/option.module.ngfactory.d.ts +3 -0
  188. package/lib/components/radiobutton/radiobutton.component.ngfactory.d.ts +1 -0
  189. package/lib/components/radiobutton/radiobutton.module.ngfactory.d.ts +3 -0
  190. package/lib/components/select/select-filter.component.ngfactory.d.ts +1 -0
  191. package/lib/components/select/select-multiple.component.ngfactory.d.ts +1 -0
  192. package/lib/components/select/select-search.component.ngfactory.d.ts +1 -0
  193. package/lib/components/select/select.component.ngfactory.d.ts +1 -0
  194. package/lib/components/select/select.module.ngfactory.d.ts +3 -0
  195. package/lib/components/stepper/stepper.component.ngfactory.d.ts +1 -0
  196. package/lib/components/stepper/stepper.module.ngfactory.d.ts +3 -0
  197. package/lib/components/tab/tab.component.ngfactory.d.ts +1 -0
  198. package/lib/components/tab/tab.module.ngfactory.d.ts +3 -0
  199. package/lib/components/table/table-column.component.ngfactory.d.ts +1 -0
  200. package/lib/components/table/table.component.ngfactory.d.ts +1 -0
  201. package/lib/components/table/table.module.ngfactory.d.ts +3 -0
  202. package/lib/components/toggle/toggle.component.ngfactory.d.ts +1 -0
  203. package/lib/components/toggle/toggle.module.ngfactory.d.ts +3 -0
  204. package/lib/components/wizard/wizard.component.ngfactory.d.ts +1 -0
  205. package/lib/components/wizard/wizard.module.ngfactory.d.ts +3 -0
  206. package/lib/core/services/monkey-style-guide.service.d.ts +2 -2
  207. package/lib/monkey-style-guide.module.ngfactory.d.ts +3 -0
  208. package/monkey-style-guide-2.0.88.tgz +0 -0
  209. package/monkey-style-guide.metadata.json +1 -1
  210. package/package.json +4 -2
  211. package/monkey-style-guide-2.0.83.tgz +0 -0
@@ -1,8 +1,30 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('rxjs/operators'), require('ngx-mask'), require('@angular/platform-browser')) :
3
- typeof define === 'function' && define.amd ? define('monkey-style-guide', ['exports', '@angular/core', '@angular/common/http', 'rxjs', '@angular/common', '@angular/forms', 'rxjs/operators', 'ngx-mask', '@angular/platform-browser'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['monkey-style-guide'] = {}, global.ng.core, global.ng.common.http, global.rxjs, global.ng.common, global.ng.forms, global.rxjs.operators, global['ngx-mask'], global.ng.platformBrowser));
5
- }(this, (function (exports, core, http, rxjs, common, forms, operators, ngxMask, platformBrowser) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('rxjs/operators'), require('moment'), require('ngx-mask'), require('google-libphonenumber'), require('@angular/platform-browser')) :
3
+ typeof define === 'function' && define.amd ? define('monkey-style-guide', ['exports', '@angular/core', '@angular/common/http', 'rxjs', '@angular/common', '@angular/forms', 'rxjs/operators', 'moment', 'ngx-mask', 'google-libphonenumber', '@angular/platform-browser'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['monkey-style-guide'] = {}, global.ng.core, global.ng.common.http, global.rxjs, global.ng.common, global.ng.forms, global.rxjs.operators, global.moment, global['ngx-mask'], global['google-libphonenumber'], global.ng.platformBrowser));
5
+ }(this, (function (exports, core, http, rxjs, common, forms, operators, moment_, ngxMask, googleLibphonenumber, platformBrowser) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () {
17
+ return e[k];
18
+ }
19
+ });
20
+ }
21
+ });
22
+ }
23
+ n['default'] = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ var moment___namespace = /*#__PURE__*/_interopNamespace(moment_);
6
28
 
7
29
  var MonkeyStyleGuideService = /** @class */ (function () {
8
30
  function MonkeyStyleGuideService(http) {
@@ -407,7 +429,7 @@
407
429
  * Copyright Monkey Exchange. All Rights Reserved
408
430
  * This style guide was developed by Monkey Exchange Team
409
431
  * MIT Licence
410
- **************************/
432
+ **************************/
411
433
  var MonkeyStyleGuideSettingsService = /** @class */ (function () {
412
434
  function MonkeyStyleGuideSettingsService(monkeySGService, monkeySGThemeConfigService) {
413
435
  this.monkeySGService = monkeySGService;
@@ -2224,6 +2246,217 @@
2224
2246
  },] }
2225
2247
  ];
2226
2248
 
2249
+ var moment = moment___namespace;
2250
+ var ɵ0 = function () {
2251
+ var isMobileWidth = window.screen.width <= 640 ||
2252
+ (window.matchMedia && window.matchMedia('only screen and (max-width: 640px)').matches);
2253
+ return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile/i.test(navigator.userAgent) || isMobileWidth);
2254
+ };
2255
+ var isMobile = (ɵ0)();
2256
+ var MonkeyDateRangePickerComponent = /** @class */ (function () {
2257
+ function MonkeyDateRangePickerComponent(fb, cdr) {
2258
+ this.fb = fb;
2259
+ this.cdr = cdr;
2260
+ this.onChange = new core.EventEmitter();
2261
+ this.today = moment().format('YYYY-MM-DD');
2262
+ this.onModelChange = function (value) { };
2263
+ this.onModelTouched = function (value) { };
2264
+ this._dateFirst = moment();
2265
+ this._dateSecond = moment().add(1, 'M');
2266
+ this._id = "mecx-date-range-picker-" + MonkeyUtils.getRandomString(10);
2267
+ this._daysArrFirst = [];
2268
+ this._daysArrSecond = [];
2269
+ this.initDateRange();
2270
+ }
2271
+ MonkeyDateRangePickerComponent.prototype.initDateRange = function () {
2272
+ return (this._dateForm = this.fb.group({
2273
+ startDate: [null, forms.Validators.required],
2274
+ endDate: [null, forms.Validators.required],
2275
+ }));
2276
+ };
2277
+ MonkeyDateRangePickerComponent.prototype.createCalendar = function (month) {
2278
+ var firstDay = moment(month).startOf('M');
2279
+ var lastDay = moment(month).endOf('M');
2280
+ var days = Array.apply(null, { length: month.daysInMonth() })
2281
+ .map(Number.call, Number)
2282
+ .map(function (n) {
2283
+ return moment(firstDay).add(n, 'd');
2284
+ });
2285
+ var n = 0;
2286
+ while (n < firstDay.weekday()) {
2287
+ days.unshift(null);
2288
+ n++;
2289
+ }
2290
+ n = 0;
2291
+ while (n < 7 - lastDay.weekday()) {
2292
+ days.push(null);
2293
+ n++;
2294
+ }
2295
+ var index = 1;
2296
+ var group = [];
2297
+ var grouped = [];
2298
+ Object.entries(days).map(function (_a) {
2299
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
2300
+ if (index > 7) {
2301
+ index = 1;
2302
+ grouped.push(group);
2303
+ group = [];
2304
+ }
2305
+ group.push(value);
2306
+ index++;
2307
+ });
2308
+ grouped.push(group);
2309
+ return grouped;
2310
+ };
2311
+ MonkeyDateRangePickerComponent.prototype.build = function () {
2312
+ this._daysArrFirst = this.createCalendar(this._dateFirst);
2313
+ if (!isMobile) {
2314
+ this._daysArrSecond = this.createCalendar(this._dateSecond);
2315
+ }
2316
+ };
2317
+ MonkeyDateRangePickerComponent.prototype.navigateToToday = function () {
2318
+ this._dateFirst = moment();
2319
+ this._dateSecond = moment().add(1, 'M');
2320
+ this.build();
2321
+ };
2322
+ MonkeyDateRangePickerComponent.prototype.ngOnInit = function () {
2323
+ this.build();
2324
+ };
2325
+ MonkeyDateRangePickerComponent.prototype.registerOnChange = function (fn) {
2326
+ this.onModelChange = fn;
2327
+ };
2328
+ MonkeyDateRangePickerComponent.prototype.registerOnTouched = function (fn) {
2329
+ this.onModelTouched = fn;
2330
+ };
2331
+ Object.defineProperty(MonkeyDateRangePickerComponent.prototype, "value", {
2332
+ get: function () {
2333
+ return this._dateForm.value;
2334
+ },
2335
+ set: function (value) {
2336
+ if (Object.prototype.hasOwnProperty.call(value, 'startDate') &&
2337
+ Object.prototype.hasOwnProperty.call(value, 'endDate')) {
2338
+ this._dateForm.setValue(value);
2339
+ this.cdr.detectChanges();
2340
+ this.onModelChange(this._dateForm.value);
2341
+ this.onModelTouched(this._dateForm.value);
2342
+ }
2343
+ },
2344
+ enumerable: false,
2345
+ configurable: true
2346
+ });
2347
+ MonkeyDateRangePickerComponent.prototype.writeValue = function (value) {
2348
+ this.value = value;
2349
+ this.onChange.next(value);
2350
+ };
2351
+ MonkeyDateRangePickerComponent.prototype.nextMonth = function () {
2352
+ this._dateFirst.add(1, 'M');
2353
+ this._dateSecond.add(1, 'M');
2354
+ this._daysArrFirst = this.createCalendar(this._dateFirst);
2355
+ this._daysArrSecond = this.createCalendar(this._dateSecond);
2356
+ };
2357
+ MonkeyDateRangePickerComponent.prototype.previousMonth = function () {
2358
+ this._dateFirst.subtract(1, 'M');
2359
+ this._dateSecond.subtract(1, 'M');
2360
+ this._daysArrFirst = this.createCalendar(this._dateFirst);
2361
+ this._daysArrSecond = this.createCalendar(this._dateSecond);
2362
+ };
2363
+ MonkeyDateRangePickerComponent.prototype.todayCheck = function (day) {
2364
+ if (!day) {
2365
+ return false;
2366
+ }
2367
+ return moment().format('L') === day.format('L');
2368
+ };
2369
+ MonkeyDateRangePickerComponent.prototype.isSelected = function (day) {
2370
+ if (!day) {
2371
+ return false;
2372
+ }
2373
+ var startDateMoment = moment(this._dateForm.value.startDate, 'YYYY-MM-DD');
2374
+ var endDateMoment = moment(this._dateForm.value.endDate, 'YYYY-MM-DD');
2375
+ if (this._dateForm.valid) {
2376
+ return startDateMoment.isSameOrBefore(day) && endDateMoment.isSameOrAfter(day);
2377
+ }
2378
+ if (this._dateForm.get('startDate').valid) {
2379
+ return startDateMoment.isSame(day);
2380
+ }
2381
+ };
2382
+ MonkeyDateRangePickerComponent.prototype.isFirstSelected = function (day) {
2383
+ var _dateForm = this._dateForm;
2384
+ var startDate = _dateForm.value.startDate;
2385
+ return day === null || day === void 0 ? void 0 : day.isSame(startDate);
2386
+ };
2387
+ MonkeyDateRangePickerComponent.prototype.isLastSelected = function (day) {
2388
+ var _dateForm = this._dateForm;
2389
+ var endDate = _dateForm.value.endDate;
2390
+ return day === null || day === void 0 ? void 0 : day.isSame(endDate);
2391
+ };
2392
+ MonkeyDateRangePickerComponent.prototype.selectedDate = function (day) {
2393
+ var _dateForm = this._dateForm;
2394
+ var dayFormatted = day.format('YYYY-MM-DD');
2395
+ if (_dateForm.valid) {
2396
+ _dateForm.setValue({ startDate: null, endDate: null });
2397
+ this.writeValue(_dateForm.value);
2398
+ return;
2399
+ }
2400
+ if (!_dateForm.get('startDate').value) {
2401
+ _dateForm.get('startDate').patchValue(dayFormatted);
2402
+ }
2403
+ else {
2404
+ _dateForm.get('endDate').patchValue(dayFormatted);
2405
+ this.writeValue(_dateForm.value);
2406
+ }
2407
+ };
2408
+ MonkeyDateRangePickerComponent.prototype.selectRangeOfDays = function (days) {
2409
+ var _a = this, _dateForm = _a._dateForm, today = _a.today;
2410
+ var startDate = _dateForm.value.startDate;
2411
+ var firstDay = startDate || today;
2412
+ var lastDay = moment(firstDay).add(days, 'day').format('YYYY-MM-DD');
2413
+ _dateForm.get('startDate').patchValue(firstDay);
2414
+ _dateForm.get('endDate').patchValue(lastDay);
2415
+ this.writeValue(_dateForm.value);
2416
+ };
2417
+ return MonkeyDateRangePickerComponent;
2418
+ }());
2419
+ MonkeyDateRangePickerComponent.decorators = [
2420
+ { type: core.Component, args: [{
2421
+ selector: 'monkey-date-range-picker',
2422
+ template: "\n <mecx-date-range-picker-group [class.error]=\"errorMessage?.trim()\">\n <mecx-date-range-picker-group-body>\n <mecx-date-range-picker class=\"first-date-range\">\n <mecx-date-range-picker-header>\n <div class=\"calendar-title\">\n <monkey-button\n class=\"calendar-previous\"\n color=\"theme\"\n icon=\"arrow-left-16\"\n type=\"tertiary\"\n (click)=\"previousMonth()\"\n size=\"sm\"\n >\n </monkey-button>\n <div class=\"month-year-title\">\n {{ i18n?.months?.[_dateFirst.format('M')] }}\n {{ _dateFirst.format('YYYY') }}\n </div>\n <monkey-button\n class=\"calendar-next\"\n color=\"theme\"\n icon=\"arrow-right-16\"\n type=\"tertiary\"\n (click)=\"nextMonth()\"\n size=\"sm\"\n >\n </monkey-button>\n </div>\n <div class=\"week\">\n <span class=\"week-day\" *ngFor=\"let day of [1, 2, 3, 4, 5, 6, 7]\">\n {{ i18n?.days?.[day]}}\n </span>\n </div>\n </mecx-date-range-picker-header>\n <mecx-date-range-picker-body>\n <div class=\"month-week\" *ngFor=\"let week of _daysArrFirst\">\n <div\n class=\"month-day\"\n (click)=\"selectedDate(day)\"\n [ngClass]=\"{\n inactive: !day,\n selected: isSelected(day),\n today: todayCheck(day),\n 'first-selected': isFirstSelected(day),\n 'last-selected': isLastSelected(day)\n }\"\n *ngFor=\"let day of week\"\n #divOne\n >\n {{ day?.date() }}\n </div>\n </div>\n </mecx-date-range-picker-body>\n </mecx-date-range-picker>\n\n <mecx-date-range-picker class=\"second-date-range\" *ngIf=\"_daysArrSecond?.length\">\n <mecx-date-range-picker-header>\n <div class=\"calendar-title\">\n <div class=\"month-year-title\">\n {{ i18n?.months?.[_dateSecond.format('M')] }}\n {{ _dateSecond.format('YYYY') }}\n </div>\n <monkey-button\n class=\"calendar-previous\"\n color=\"theme\"\n icon=\"arrow-right-16\"\n type=\"tertiary\"\n (click)=\"nextMonth()\"\n size=\"sm\"\n >\n </monkey-button>\n </div>\n <div class=\"week\">\n <span class=\"week-day\" *ngFor=\"let day of [1, 2, 3, 4, 5, 6, 7]\">\n {{ i18n?.days?.[day]}}\n </span>\n </div>\n </mecx-date-range-picker-header>\n <mecx-date-range-picker-body>\n <div class=\"month-week\" *ngFor=\"let week of _daysArrSecond\">\n <div\n class=\"month-day\"\n (click)=\"selectedDate(day)\"\n [ngClass]=\"{\n inactive: !day,\n selected: isSelected(day),\n today: todayCheck(day),\n 'first-selected': isFirstSelected(day),\n 'last-selected': isLastSelected(day)\n }\"\n *ngFor=\"let day of week\"\n >\n {{ day?.date() }}\n </div>\n </div>\n </mecx-date-range-picker-body>\n </mecx-date-range-picker>\n </mecx-date-range-picker-group-body>\n <mecx-date-range-picker-group-info>\n <info>\n {{ infoMessage }}\n </info>\n <error>\n {{ errorMessage }}\n </error>\n </mecx-date-range-picker-group-info>\n <mecx-date-range-picker-group-action>\n <div class=\"action-days\">\n <monkey-button color=\"theme\" type=\"secondary\" (click)=\"selectRangeOfDays(30)\">\n {{ i18n?.actions?.['30'] }}\n </monkey-button>\n <monkey-button color=\"theme\" type=\"secondary\" (click)=\"selectRangeOfDays(60)\">\n {{ i18n?.actions?.['60'] }}\n </monkey-button>\n <monkey-button color=\"theme\" type=\"secondary\" (click)=\"selectRangeOfDays(90)\">\n {{ i18n?.actions?.['90'] }}\n </monkey-button>\n </div>\n <monkey-button color=\"theme\" type=\"primary\" (click)=\"navigateToToday()\">\n {{ i18n?.today }}\n </monkey-button>\n </mecx-date-range-picker-group-action>\n </mecx-date-range-picker-group>\n ",
2423
+ encapsulation: core.ViewEncapsulation.None,
2424
+ providers: [
2425
+ {
2426
+ provide: forms.NG_VALUE_ACCESSOR,
2427
+ useExisting: core.forwardRef(function () { return MonkeyDateRangePickerComponent; }),
2428
+ multi: true,
2429
+ },
2430
+ common.CurrencyPipe,
2431
+ ]
2432
+ },] }
2433
+ ];
2434
+ MonkeyDateRangePickerComponent.ctorParameters = function () { return [
2435
+ { type: forms.FormBuilder },
2436
+ { type: core.ChangeDetectorRef }
2437
+ ]; };
2438
+ MonkeyDateRangePickerComponent.propDecorators = {
2439
+ i18n: [{ type: core.Input }],
2440
+ infoMessage: [{ type: core.Input }],
2441
+ errorMessage: [{ type: core.Input }],
2442
+ onChange: [{ type: core.Output }],
2443
+ value: [{ type: core.Input }]
2444
+ };
2445
+
2446
+ var MonkeyDateRangePickerModule = /** @class */ (function () {
2447
+ function MonkeyDateRangePickerModule() {
2448
+ }
2449
+ return MonkeyDateRangePickerModule;
2450
+ }());
2451
+ MonkeyDateRangePickerModule.decorators = [
2452
+ { type: core.NgModule, args: [{
2453
+ declarations: [MonkeyDateRangePickerComponent],
2454
+ imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule, MonkeyButtonModule, MonkeyIconModule],
2455
+ exports: [MonkeyDateRangePickerComponent],
2456
+ schemas: [core.NO_ERRORS_SCHEMA],
2457
+ },] }
2458
+ ];
2459
+
2227
2460
  /**************************
2228
2461
  * Copyright Monkey Exchange. All Rights Reserved
2229
2462
  * This style guide was developed by Monkey Exchange Team
@@ -2265,11 +2498,14 @@
2265
2498
  }
2266
2499
  return value;
2267
2500
  };
2501
+ MonkeyInputComponent.prototype.replaceZero = function (value) {
2502
+ return ("" + value).replace(new RegExp(/0/, 'g'), '');
2503
+ };
2268
2504
  MonkeyInputComponent.prototype.formatValue = function (value) {
2269
2505
  var _a, _b;
2270
2506
  var settings = this.settings;
2271
2507
  if (this.currency) {
2272
- if (!value)
2508
+ if (!value || !this.replaceZero(value))
2273
2509
  return '';
2274
2510
  return this.currencyPipe.transform(value, ((_a = settings === null || settings === void 0 ? void 0 : settings.currency) === null || _a === void 0 ? void 0 : _a.code) || 'BRL', '', '1.2-2', ((_b = settings === null || settings === void 0 ? void 0 : settings.currency) === null || _b === void 0 ? void 0 : _b.locale) || 'pt-BR');
2275
2511
  }
@@ -2342,10 +2578,16 @@
2342
2578
  (_c = (_b = (_a = document === null || document === void 0 ? void 0 : document.getElementById(this._id)) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('input')) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.focus();
2343
2579
  };
2344
2580
  MonkeyInputComponent.prototype.onKeyPress = function (event) {
2581
+ var _a;
2345
2582
  var pattern = null;
2583
+ var cmp = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value;
2346
2584
  var inputChar = String.fromCharCode(event.charCode);
2347
2585
  if (this.currency || this.onlyNumber || this.percent) {
2348
2586
  pattern = /[0-9]/;
2587
+ if (inputChar === '0' && !this.replaceZero(cmp)) {
2588
+ event.preventDefault();
2589
+ return;
2590
+ }
2349
2591
  }
2350
2592
  else if (this.onlyAlphaNumeric) {
2351
2593
  pattern = /[^0-9A-Za-z]/;
@@ -2558,6 +2800,199 @@
2558
2800
  },] }
2559
2801
  ];
2560
2802
 
2803
+ /**************************
2804
+ * Copyright Monkey Exchange. All Rights Reserved
2805
+ * This style guide was developed by Monkey Exchange Team
2806
+ * MIT Licence
2807
+ **************************/
2808
+ var phoneUtil = googleLibphonenumber.PhoneNumberUtil.getInstance();
2809
+ var formatter = new googleLibphonenumber.AsYouTypeFormatter('US');
2810
+ var MonkeyInputPhoneComponent = /** @class */ (function () {
2811
+ function MonkeyInputPhoneComponent(currencyPipe, settingsService, cdr) {
2812
+ this.currencyPipe = currencyPipe;
2813
+ this.settingsService = settingsService;
2814
+ this.cdr = cdr;
2815
+ this.name = "mecx-input-phone-" + MonkeyUtils.getRandomString(10);
2816
+ this.helperMessage = '';
2817
+ this.placeholder = '';
2818
+ this.maxLength = 255;
2819
+ this.maxDateToday = false;
2820
+ this.onChange = new core.EventEmitter();
2821
+ this.onModelChange = function (value) { };
2822
+ this.onModelTouched = function (value) { };
2823
+ this._id = "mecx-input-phone-" + MonkeyUtils.getRandomString(10);
2824
+ this._disabled = false;
2825
+ this._maxDateToday = new Date().toISOString().split('T')[0];
2826
+ this._symbol = '';
2827
+ this._countryCodes = [];
2828
+ }
2829
+ MonkeyInputPhoneComponent.prototype.handleValue = function (value, apply) {
2830
+ if (apply === void 0) { apply = false; }
2831
+ if (this.onlyNumber) {
2832
+ return MonkeyUtils.handleOnlyNumbers("" + value);
2833
+ }
2834
+ else if (this.onlyAlphaNumeric)
2835
+ return MonkeyUtils.handleOnlyAlphaNumeric("" + value);
2836
+ else if (this.upperCase)
2837
+ return ("" + value).toUpperCase();
2838
+ else if (this.lowerCase)
2839
+ return ("" + value).toLowerCase();
2840
+ else if (this.capitalize)
2841
+ return MonkeyUtils.capitalize(("" + value).toUpperCase());
2842
+ else if (this.currency || this.percent) {
2843
+ return MonkeyUtils.handleOnlyNumbers("" + value) / (apply ? 100 : 1);
2844
+ }
2845
+ return value;
2846
+ };
2847
+ MonkeyInputPhoneComponent.prototype.replaceZero = function (value) {
2848
+ return ("" + value).replace(new RegExp(/0/, 'g'), '');
2849
+ };
2850
+ MonkeyInputPhoneComponent.prototype.formatValue = function (value) {
2851
+ //console.log(this.phoneUtil);
2852
+ //console.log(this.phoneUtil.formatInOriginalFormat(value, 'US'));
2853
+ //this.phoneUtil.inputDigit('2');
2854
+ console.log(formatter.inputDigit(value));
2855
+ var number = phoneUtil.parse(value, 'BR');
2856
+ console.log(phoneUtil.isPossibleNumber(number));
2857
+ console.log(phoneUtil.format(number, googleLibphonenumber.PhoneNumberFormat.INTERNATIONAL));
2858
+ return phoneUtil.format(number, googleLibphonenumber.PhoneNumberFormat.INTERNATIONAL);
2859
+ };
2860
+ MonkeyInputPhoneComponent.prototype.handleSymbol = function () {
2861
+ var _a;
2862
+ var settings = this.settings;
2863
+ if (this.currency) {
2864
+ this._symbol = {
2865
+ BRL: 'R$',
2866
+ CLP: 'CLP',
2867
+ }[((_a = settings === null || settings === void 0 ? void 0 : settings.currency) === null || _a === void 0 ? void 0 : _a.code) || 'BRL'];
2868
+ }
2869
+ else if (this.percent) {
2870
+ this._symbol = '%';
2871
+ }
2872
+ };
2873
+ MonkeyInputPhoneComponent.prototype.ngOnInit = function () {
2874
+ var _this = this;
2875
+ var settingsService = this.settingsService;
2876
+ this._oldType = this.type;
2877
+ settingsService.settings().subscribe(function (val) {
2878
+ _this.settings = val;
2879
+ _this.handleSymbol();
2880
+ });
2881
+ this._countryCodes = phoneUtil
2882
+ .getSupportedRegions()
2883
+ .map(function (code) {
2884
+ return phoneUtil.getCountryCodeForRegion(code);
2885
+ })
2886
+ .filter(function (v, i, a) { return a.indexOf(v) === i; })
2887
+ .sort(function (a, b) { return (a < b ? -1 : 1); });
2888
+ };
2889
+ MonkeyInputPhoneComponent.prototype.registerOnChange = function (fn) {
2890
+ this.onModelChange = fn;
2891
+ };
2892
+ MonkeyInputPhoneComponent.prototype.registerOnTouched = function (fn) {
2893
+ this.onModelTouched = fn;
2894
+ };
2895
+ MonkeyInputPhoneComponent.prototype.setDisabledState = function (isDisabled) {
2896
+ this._disabled = isDisabled;
2897
+ };
2898
+ Object.defineProperty(MonkeyInputPhoneComponent.prototype, "value", {
2899
+ get: function () {
2900
+ return this.handledValue;
2901
+ },
2902
+ set: function (value) {
2903
+ this.handledValue = value;
2904
+ this._formatedValue = this.formatValue(value);
2905
+ this.cdr.detectChanges();
2906
+ this.onModelChange(this.handledValue);
2907
+ this.onModelTouched(this.handledValue);
2908
+ },
2909
+ enumerable: false,
2910
+ configurable: true
2911
+ });
2912
+ MonkeyInputPhoneComponent.prototype.writeValue = function (value) {
2913
+ this.value = value;
2914
+ };
2915
+ MonkeyInputPhoneComponent.prototype.onChangeValue = function (event) {
2916
+ var value = this._formatedValue;
2917
+ event === null || event === void 0 ? void 0 : event.preventDefault();
2918
+ event === null || event === void 0 ? void 0 : event.stopPropagation();
2919
+ var handled = this.handleValue(value, true);
2920
+ this.writeValue(handled);
2921
+ this.onChange.next(handled);
2922
+ };
2923
+ MonkeyInputPhoneComponent.prototype.onShowAndHidePassword = function () {
2924
+ this.type = this.type === 'password' ? 'text' : 'password';
2925
+ };
2926
+ MonkeyInputPhoneComponent.prototype.onClick = function () {
2927
+ var _a, _b, _c;
2928
+ (_c = (_b = (_a = document === null || document === void 0 ? void 0 : document.getElementById(this._id)) === null || _a === void 0 ? void 0 : _a.getElementsByTagName('input')) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.focus();
2929
+ };
2930
+ MonkeyInputPhoneComponent.prototype.onKeyPress = function (event) {
2931
+ var _a;
2932
+ var pattern = null;
2933
+ var cmp = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value;
2934
+ var inputChar = String.fromCharCode(event.charCode);
2935
+ if (this.currency || this.onlyNumber || this.percent) {
2936
+ pattern = /[0-9]/;
2937
+ if (inputChar === '0' && !this.replaceZero(cmp)) {
2938
+ event.preventDefault();
2939
+ return;
2940
+ }
2941
+ }
2942
+ else if (this.onlyAlphaNumeric) {
2943
+ pattern = /[^0-9A-Za-z]/;
2944
+ }
2945
+ if (pattern && !pattern.test(inputChar)) {
2946
+ event.preventDefault();
2947
+ }
2948
+ };
2949
+ return MonkeyInputPhoneComponent;
2950
+ }());
2951
+ MonkeyInputPhoneComponent.decorators = [
2952
+ { type: core.Component, args: [{
2953
+ selector: 'monkey-input-phone',
2954
+ template: "\n <monkey-select\n [label]=\"'teste'\"\n errorMessage=\"\"\n errorMessage=\"\"\n [placeholder]=\"'Selecione um banco'\"\n >\n <monkey-option label=\"op\" value=\"op\"> </monkey-option>\n <monkey-option label=\"op\" value=\"op\"> </monkey-option>\n <monkey-option label=\"op\" value=\"op\"> </monkey-option>\n </monkey-select>\n ",
2955
+ encapsulation: core.ViewEncapsulation.None,
2956
+ providers: [
2957
+ {
2958
+ provide: forms.NG_VALUE_ACCESSOR,
2959
+ useExisting: core.forwardRef(function () { return MonkeyInputPhoneComponent; }),
2960
+ multi: true,
2961
+ },
2962
+ common.CurrencyPipe,
2963
+ ]
2964
+ },] }
2965
+ ];
2966
+ MonkeyInputPhoneComponent.ctorParameters = function () { return [
2967
+ { type: common.CurrencyPipe },
2968
+ { type: MonkeyStyleGuideSettingsService },
2969
+ { type: core.ChangeDetectorRef }
2970
+ ]; };
2971
+ MonkeyInputPhoneComponent.propDecorators = {
2972
+ name: [{ type: core.Input }],
2973
+ label: [{ type: core.Input }],
2974
+ helperMessage: [{ type: core.Input }],
2975
+ placeholder: [{ type: core.Input }],
2976
+ icon: [{ type: core.Input }],
2977
+ type: [{ type: core.Input }],
2978
+ infoMessage: [{ type: core.Input }],
2979
+ errorMessage: [{ type: core.Input }],
2980
+ mask: [{ type: core.Input }],
2981
+ prefix: [{ type: core.Input }],
2982
+ maxLength: [{ type: core.Input }],
2983
+ onlyNumber: [{ type: core.Input }],
2984
+ onlyAlphaNumeric: [{ type: core.Input }],
2985
+ upperCase: [{ type: core.Input }],
2986
+ lowerCase: [{ type: core.Input }],
2987
+ capitalize: [{ type: core.Input }],
2988
+ currency: [{ type: core.Input }],
2989
+ percent: [{ type: core.Input }],
2990
+ maxDateToday: [{ type: core.Input }],
2991
+ onChange: [{ type: core.Output }],
2992
+ value: [{ type: core.Input }],
2993
+ onClick: [{ type: core.HostListener, args: ['click',] }]
2994
+ };
2995
+
2561
2996
  /**************************
2562
2997
  * Copyright Monkey Exchange. All Rights Reserved
2563
2998
  * This style guide was developed by Monkey Exchange Team
@@ -3365,6 +3800,27 @@
3365
3800
  },] }
3366
3801
  ];
3367
3802
 
3803
+ var MonkeyInputPhoneModule = /** @class */ (function () {
3804
+ function MonkeyInputPhoneModule() {
3805
+ }
3806
+ return MonkeyInputPhoneModule;
3807
+ }());
3808
+ MonkeyInputPhoneModule.decorators = [
3809
+ { type: core.NgModule, args: [{
3810
+ declarations: [MonkeyInputPhoneComponent],
3811
+ imports: [
3812
+ common.CommonModule,
3813
+ forms.FormsModule,
3814
+ forms.ReactiveFormsModule,
3815
+ ngxMask.NgxMaskModule.forRoot(),
3816
+ MonkeyIconModule,
3817
+ MonkeySelectModule,
3818
+ ],
3819
+ exports: [MonkeyInputPhoneComponent],
3820
+ schemas: [core.NO_ERRORS_SCHEMA],
3821
+ },] }
3822
+ ];
3823
+
3368
3824
  /**************************
3369
3825
  * Copyright Monkey Exchange. All Rights Reserved
3370
3826
  * This style guide was developed by Monkey Exchange Team
@@ -4661,6 +5117,8 @@
4661
5117
  exports.MonkeyButtonModule = MonkeyButtonModule;
4662
5118
  exports.MonkeyCheckboxComponent = MonkeyCheckboxComponent;
4663
5119
  exports.MonkeyCheckboxModule = MonkeyCheckboxModule;
5120
+ exports.MonkeyDateRangePickerComponent = MonkeyDateRangePickerComponent;
5121
+ exports.MonkeyDateRangePickerModule = MonkeyDateRangePickerModule;
4664
5122
  exports.MonkeyExpansionComponent = MonkeyExpansionComponent;
4665
5123
  exports.MonkeyExpansionModule = MonkeyExpansionModule;
4666
5124
  exports.MonkeyFileUploadComponent = MonkeyFileUploadComponent;
@@ -4737,6 +5195,8 @@
4737
5195
  exports.MonkeyInputComponent = MonkeyInputComponent;
4738
5196
  exports.MonkeyInputFilterComponent = MonkeyInputFilterComponent;
4739
5197
  exports.MonkeyInputModule = MonkeyInputModule;
5198
+ exports.MonkeyInputPhoneComponent = MonkeyInputPhoneComponent;
5199
+ exports.MonkeyInputPhoneModule = MonkeyInputPhoneModule;
4740
5200
  exports.MonkeyModalComponent = MonkeyModalComponent;
4741
5201
  exports.MonkeyModalModule = MonkeyModalModule;
4742
5202
  exports.MonkeyOptionComponent = MonkeyOptionComponent;
@@ -4765,6 +5225,7 @@
4765
5225
  exports.MonkeyUtils = MonkeyUtils;
4766
5226
  exports.MonkeyWizardComponent = MonkeyWizardComponent;
4767
5227
  exports.MonkeyWizardModule = MonkeyWizardModule;
5228
+ exports.ɵ0 = ɵ0;
4768
5229
  exports.ɵa = MonkeyStyleGuideService;
4769
5230
  exports.ɵb = MonkeyStyleGuideSettingsService;
4770
5231
  exports.ɵc = MonkeyStyleGuideThemeSettingsService;