@acorex/core 16.0.2 → 17.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (311) hide show
  1. package/common/README.md +3 -0
  2. package/common/countries/countries.data.d.ts +2 -0
  3. package/common/countries/country.d.ts +13 -0
  4. package/common/index.d.ts +2 -0
  5. package/config/README.md +3 -0
  6. package/config/index.d.ts +2 -0
  7. package/config/lib/configs.d.ts +6 -0
  8. package/config/lib/configs.service.d.ts +12 -0
  9. package/date-time/README.md +3 -0
  10. package/date-time/index.d.ts +10 -0
  11. package/date-time/lib/calendar.service.d.ts +27 -0
  12. package/date-time/lib/dateTime.config.d.ts +12 -0
  13. package/date-time/lib/datetime.class.d.ts +138 -0
  14. package/date-time/lib/datetime.module.d.ts +8 -0
  15. package/date-time/lib/datetime.pipe.d.ts +12 -0
  16. package/date-time/lib/formatters/datetime-formatter.d.ts +19 -0
  17. package/date-time/lib/formatters/timeleft-formatter.d.ts +16 -0
  18. package/date-time/lib/georgian.calendar.d.ts +21 -0
  19. package/date-time/lib/holidays.loader.d.ts +21 -0
  20. package/date-time/lib/jalali.calendar.d.ts +40 -0
  21. package/esm2022/common/acorex-core-common.mjs +5 -0
  22. package/esm2022/common/countries/countries.data.mjs +2625 -0
  23. package/esm2022/common/countries/country.mjs +2 -0
  24. package/esm2022/common/index.mjs +3 -0
  25. package/esm2022/config/acorex-core-config.mjs +5 -0
  26. package/esm2022/config/index.mjs +3 -0
  27. package/esm2022/config/lib/configs.mjs +7 -0
  28. package/esm2022/config/lib/configs.service.mjs +27 -0
  29. package/esm2022/date-time/acorex-core-date-time.mjs +5 -0
  30. package/esm2022/date-time/index.mjs +11 -0
  31. package/esm2022/date-time/lib/calendar.service.mjs +100 -0
  32. package/esm2022/date-time/lib/dateTime.config.mjs +50 -0
  33. package/esm2022/date-time/lib/datetime.class.mjs +337 -0
  34. package/esm2022/date-time/lib/datetime.module.mjs +27 -0
  35. package/esm2022/date-time/lib/datetime.pipe.mjs +29 -0
  36. package/esm2022/date-time/lib/formatters/datetime-formatter.mjs +32 -0
  37. package/esm2022/date-time/lib/formatters/timeleft-formatter.mjs +91 -0
  38. package/esm2022/date-time/lib/georgian.calendar.mjs +203 -0
  39. package/esm2022/date-time/lib/holidays.loader.mjs +13 -0
  40. package/esm2022/date-time/lib/jalali.calendar.mjs +440 -0
  41. package/esm2022/events/acorex-core-events.mjs +5 -0
  42. package/esm2022/events/index.mjs +3 -0
  43. package/esm2022/events/lib/event.service.mjs +43 -0
  44. package/esm2022/events/lib/event.type.mjs +6 -0
  45. package/esm2022/file/acorex-core-file.mjs +5 -0
  46. package/esm2022/file/index.mjs +7 -0
  47. package/esm2022/file/lib/file-download-ref.class.mjs +12 -0
  48. package/esm2022/file/lib/file-download-result.class.mjs +45 -0
  49. package/esm2022/file/lib/file-size-formatter.mjs +24 -0
  50. package/esm2022/file/lib/file-upload-ref.class.mjs +12 -0
  51. package/esm2022/file/lib/file.module.mjs +20 -0
  52. package/esm2022/file/lib/file.service.mjs +103 -0
  53. package/esm2022/format/acorex-core-format.mjs +5 -0
  54. package/esm2022/format/index.mjs +8 -0
  55. package/esm2022/format/lib/format.config.mjs +3 -0
  56. package/esm2022/format/lib/format.module.mjs +64 -0
  57. package/esm2022/format/lib/format.pipe.mjs +37 -0
  58. package/esm2022/format/lib/format.service.mjs +95 -0
  59. package/esm2022/format/lib/format.types.mjs +2 -0
  60. package/esm2022/format/lib/formatters/number-formatter.mjs +74 -0
  61. package/esm2022/format/lib/formatters/string-formatter.mjs +15 -0
  62. package/esm2022/image/acorex-core-image.mjs +5 -0
  63. package/esm2022/image/index.mjs +2 -0
  64. package/esm2022/image/lib/image.service.mjs +43 -0
  65. package/esm2022/index.mjs +2 -44
  66. package/esm2022/memorize/acorex-core-memorize.mjs +5 -0
  67. package/esm2022/memorize/index.mjs +2 -0
  68. package/esm2022/memorize/lib/memorize.decorator.mjs +19 -0
  69. package/esm2022/pipes/acorex-core-pipes.mjs +5 -0
  70. package/esm2022/pipes/index.mjs +2 -0
  71. package/esm2022/pipes/lib/safe/safe.pipe.mjs +38 -0
  72. package/esm2022/platform/acorex-core-platform.mjs +5 -0
  73. package/esm2022/platform/index.mjs +2 -0
  74. package/esm2022/platform/lib/platform.service.mjs +225 -0
  75. package/esm2022/storage/acorex-core-storage.mjs +5 -0
  76. package/esm2022/storage/cookie-storage.service.mjs +202 -0
  77. package/esm2022/storage/index.mjs +5 -0
  78. package/esm2022/storage/local-storage.service.mjs +58 -0
  79. package/esm2022/storage/session-storage.service.mjs +22 -0
  80. package/esm2022/storage/storage.interface.mjs +2 -0
  81. package/esm2022/translation/acorex-core-translation.mjs +5 -0
  82. package/esm2022/translation/index.mjs +9 -0
  83. package/esm2022/translation/lib/translation-scope.resolver.mjs +11 -0
  84. package/esm2022/translation/lib/translation.config.mjs +20 -0
  85. package/esm2022/translation/lib/translation.loader.mjs +14 -0
  86. package/esm2022/translation/lib/translation.module.mjs +40 -0
  87. package/esm2022/translation/lib/translation.service.mjs +173 -0
  88. package/esm2022/translation/lib/translation.types.mjs +2 -0
  89. package/esm2022/translation/lib/translator.directive.mjs +28 -0
  90. package/esm2022/translation/lib/translator.pipe.mjs +23 -0
  91. package/esm2022/types/acorex-core-types.mjs +5 -0
  92. package/esm2022/types/index.mjs +2 -0
  93. package/esm2022/utils/acorex-core-utils.mjs +5 -0
  94. package/esm2022/utils/index.mjs +6 -0
  95. package/esm2022/utils/lib/auto-unsubscribe.mjs +36 -0
  96. package/esm2022/utils/lib/color-util.mjs +111 -0
  97. package/esm2022/utils/lib/drawing-util.mjs +35 -0
  98. package/esm2022/utils/lib/html-util.mjs +39 -0
  99. package/esm2022/utils/lib/string-util.mjs +19 -0
  100. package/esm2022/validation/acorex-core-validation.mjs +5 -0
  101. package/esm2022/validation/index.mjs +18 -0
  102. package/esm2022/validation/lib/rules/between-rule.mjs +31 -0
  103. package/esm2022/validation/lib/rules/callback-rule.mjs +29 -0
  104. package/esm2022/validation/lib/rules/equal-rule.mjs +26 -0
  105. package/esm2022/validation/lib/rules/greater-than.mjs +29 -0
  106. package/esm2022/validation/lib/rules/length-rule.mjs +26 -0
  107. package/esm2022/validation/lib/rules/less-than-rule.mjs +29 -0
  108. package/esm2022/validation/lib/rules/maxlength-rule.mjs +27 -0
  109. package/esm2022/validation/lib/rules/minlength-rule.mjs +26 -0
  110. package/esm2022/validation/lib/rules/regex-rule.mjs +49 -0
  111. package/esm2022/validation/lib/rules/required-rule.mjs +36 -0
  112. package/esm2022/validation/lib/validation.config.mjs +33 -0
  113. package/esm2022/validation/lib/validation.module.mjs +84 -0
  114. package/esm2022/validation/lib/validation.service.mjs +98 -0
  115. package/esm2022/validation/lib/validation.types.mjs +3 -0
  116. package/events/README.md +3 -0
  117. package/events/index.d.ts +2 -0
  118. package/{lib/services → events/lib}/event.service.d.ts +8 -0
  119. package/events/lib/event.type.d.ts +5 -0
  120. package/fesm2022/acorex-core-common.mjs +2631 -0
  121. package/fesm2022/acorex-core-common.mjs.map +1 -0
  122. package/fesm2022/acorex-core-config.mjs +39 -0
  123. package/fesm2022/acorex-core-config.mjs.map +1 -0
  124. package/fesm2022/acorex-core-date-time.mjs +1305 -0
  125. package/fesm2022/acorex-core-date-time.mjs.map +1 -0
  126. package/fesm2022/acorex-core-events.mjs +56 -0
  127. package/fesm2022/acorex-core-events.mjs.map +1 -0
  128. package/fesm2022/acorex-core-file.mjs +214 -0
  129. package/fesm2022/acorex-core-file.mjs.map +1 -0
  130. package/fesm2022/acorex-core-format.mjs +282 -0
  131. package/fesm2022/acorex-core-format.mjs.map +1 -0
  132. package/fesm2022/acorex-core-image.mjs +50 -0
  133. package/fesm2022/acorex-core-image.mjs.map +1 -0
  134. package/fesm2022/acorex-core-memorize.mjs +26 -0
  135. package/fesm2022/acorex-core-memorize.mjs.map +1 -0
  136. package/fesm2022/acorex-core-pipes.mjs +44 -0
  137. package/fesm2022/acorex-core-pipes.mjs.map +1 -0
  138. package/fesm2022/acorex-core-platform.mjs +232 -0
  139. package/fesm2022/acorex-core-platform.mjs.map +1 -0
  140. package/fesm2022/acorex-core-storage.mjs +285 -0
  141. package/fesm2022/acorex-core-storage.mjs.map +1 -0
  142. package/fesm2022/acorex-core-translation.mjs +293 -0
  143. package/fesm2022/acorex-core-translation.mjs.map +1 -0
  144. package/fesm2022/acorex-core-types.mjs +6 -0
  145. package/fesm2022/acorex-core-types.mjs.map +1 -0
  146. package/fesm2022/acorex-core-utils.mjs +247 -0
  147. package/fesm2022/acorex-core-utils.mjs.map +1 -0
  148. package/fesm2022/acorex-core-validation.mjs +488 -0
  149. package/fesm2022/acorex-core-validation.mjs.map +1 -0
  150. package/fesm2022/acorex-core.mjs +2 -2309
  151. package/fesm2022/acorex-core.mjs.map +1 -1
  152. package/file/README.md +3 -0
  153. package/file/index.d.ts +6 -0
  154. package/file/lib/file-download-ref.class.d.ts +6 -0
  155. package/file/lib/file-download-result.class.d.ts +8 -0
  156. package/file/lib/file-size-formatter.d.ts +16 -0
  157. package/file/lib/file-upload-ref.class.d.ts +5 -0
  158. package/file/lib/file.module.d.ts +7 -0
  159. package/file/lib/file.service.d.ts +18 -0
  160. package/format/README.md +3 -0
  161. package/format/index.d.ts +7 -0
  162. package/format/lib/format.config.d.ts +5 -0
  163. package/format/lib/format.module.d.ts +18 -0
  164. package/format/lib/format.pipe.d.ts +12 -0
  165. package/format/lib/format.service.d.ts +43 -0
  166. package/format/lib/format.types.d.ts +4 -0
  167. package/format/lib/formatters/number-formatter.d.ts +23 -0
  168. package/format/lib/formatters/string-formatter.d.ts +14 -0
  169. package/image/README.md +3 -0
  170. package/image/index.d.ts +1 -0
  171. package/image/lib/image.service.d.ts +11 -0
  172. package/index.d.ts +1 -43
  173. package/memorize/README.md +3 -0
  174. package/memorize/index.d.ts +1 -0
  175. package/memorize/lib/memorize.decorator.d.ts +1 -0
  176. package/package.json +98 -5
  177. package/pipes/README.md +3 -0
  178. package/pipes/index.d.ts +1 -0
  179. package/pipes/lib/safe/safe.pipe.d.ts +10 -0
  180. package/platform/README.md +3 -0
  181. package/platform/index.d.ts +1 -0
  182. package/{lib/platform → platform/lib}/platform.service.d.ts +14 -6
  183. package/storage/README.md +3 -0
  184. package/storage/cookie-storage.service.d.ts +104 -0
  185. package/storage/index.d.ts +4 -0
  186. package/storage/local-storage.service.d.ts +16 -0
  187. package/storage/session-storage.service.d.ts +10 -0
  188. package/storage/storage.interface.d.ts +14 -0
  189. package/translation/README.md +3 -0
  190. package/translation/index.d.ts +8 -0
  191. package/translation/lib/translation-scope.resolver.d.ts +2 -0
  192. package/translation/lib/translation.config.d.ts +14 -0
  193. package/translation/lib/translation.loader.d.ts +14 -0
  194. package/translation/lib/translation.module.d.ts +8 -0
  195. package/translation/lib/translation.service.d.ts +31 -0
  196. package/translation/lib/translation.types.d.ts +10 -0
  197. package/translation/lib/translator.directive.d.ts +12 -0
  198. package/translation/lib/translator.pipe.d.ts +12 -0
  199. package/types/README.md +3 -0
  200. package/types/index.d.ts +2 -0
  201. package/utils/README.md +3 -0
  202. package/utils/index.d.ts +5 -0
  203. package/utils/lib/auto-unsubscribe.d.ts +12 -0
  204. package/utils/lib/color-util.d.ts +24 -0
  205. package/utils/lib/drawing-util.d.ts +18 -0
  206. package/utils/lib/html-util.d.ts +5 -0
  207. package/utils/lib/string-util.d.ts +6 -0
  208. package/validation/README.md +3 -0
  209. package/validation/index.d.ts +14 -0
  210. package/validation/lib/rules/between-rule.d.ts +18 -0
  211. package/validation/lib/rules/callback-rule.d.ts +23 -0
  212. package/validation/lib/rules/equal-rule.d.ts +17 -0
  213. package/validation/lib/rules/greater-than.d.ts +17 -0
  214. package/validation/lib/rules/length-rule.d.ts +17 -0
  215. package/validation/lib/rules/less-than-rule.d.ts +17 -0
  216. package/validation/lib/rules/maxlength-rule.d.ts +16 -0
  217. package/validation/lib/rules/minlength-rule.d.ts +16 -0
  218. package/validation/lib/rules/regex-rule.d.ts +17 -0
  219. package/validation/lib/rules/required-rule.d.ts +16 -0
  220. package/validation/lib/validation.config.d.ts +15 -0
  221. package/validation/lib/validation.module.d.ts +17 -0
  222. package/validation/lib/validation.service.d.ts +35 -0
  223. package/validation/lib/validation.types.d.ts +21 -0
  224. package/esm2022/lib/classes/base-page.class.mjs +0 -26
  225. package/esm2022/lib/classes/color.class.mjs +0 -49
  226. package/esm2022/lib/classes/datetime.class.mjs +0 -323
  227. package/esm2022/lib/classes/menu.class.mjs +0 -35
  228. package/esm2022/lib/classes/navigator.class.mjs +0 -2
  229. package/esm2022/lib/classes/popup.class.mjs +0 -2
  230. package/esm2022/lib/classes/promise.class.mjs +0 -21
  231. package/esm2022/lib/classes/sectionlist.class.mjs +0 -2
  232. package/esm2022/lib/classes/select.class.mjs +0 -8
  233. package/esm2022/lib/core.module.mjs +0 -27
  234. package/esm2022/lib/error/error.class.mjs +0 -2
  235. package/esm2022/lib/error/error.module.mjs +0 -19
  236. package/esm2022/lib/error/error.service.mjs +0 -22
  237. package/esm2022/lib/events/keyboard.mjs +0 -2
  238. package/esm2022/lib/http/http-error.class.mjs +0 -2
  239. package/esm2022/lib/http/http-events.interceptor.mjs +0 -3
  240. package/esm2022/lib/http/http-request.class.mjs +0 -2
  241. package/esm2022/lib/http/http-result.class.mjs +0 -25
  242. package/esm2022/lib/http/http.module.mjs +0 -35
  243. package/esm2022/lib/http/http.service.mjs +0 -148
  244. package/esm2022/lib/locale/en.json +0 -255
  245. package/esm2022/lib/locale/fa.json +0 -245
  246. package/esm2022/lib/pipe/datetime.pipe.mjs +0 -25
  247. package/esm2022/lib/pipe/htmlToText.pipe.mjs +0 -25
  248. package/esm2022/lib/platform/index.mjs +0 -2
  249. package/esm2022/lib/platform/platform.service.mjs +0 -152
  250. package/esm2022/lib/services/config.mjs +0 -29
  251. package/esm2022/lib/services/event.service.mjs +0 -34
  252. package/esm2022/lib/services/navigator.service.mjs +0 -10
  253. package/esm2022/lib/services/storage.service.mjs +0 -16
  254. package/esm2022/lib/translator/translator.mjs +0 -26
  255. package/esm2022/lib/translator/translator.module.mjs +0 -25
  256. package/esm2022/lib/translator/translator.pipe.mjs +0 -24
  257. package/esm2022/lib/translator/translator.service.mjs +0 -21
  258. package/esm2022/lib/utils/array/array-util.mjs +0 -133
  259. package/esm2022/lib/utils/html/html-util.mjs +0 -200
  260. package/esm2022/lib/utils/html/html.module.mjs +0 -19
  261. package/esm2022/lib/utils/math/math-util.mjs +0 -6
  262. package/esm2022/lib/utils/object/object-util.mjs +0 -83
  263. package/esm2022/lib/utils/render/on-demand-preload-strategy.service.mjs +0 -21
  264. package/esm2022/lib/utils/render/render.service.mjs +0 -109
  265. package/esm2022/lib/utils/render/rendering.module.mjs +0 -35
  266. package/esm2022/lib/utils/scroll/scroll.directive.mjs +0 -56
  267. package/esm2022/lib/utils/scroll/scroll.module.mjs +0 -19
  268. package/esm2022/lib/utils/separator/separator.module.mjs +0 -19
  269. package/esm2022/lib/utils/separator/separator.pipe.mjs +0 -33
  270. package/lib/classes/base-page.class.d.ts +0 -13
  271. package/lib/classes/color.class.d.ts +0 -17
  272. package/lib/classes/datetime.class.d.ts +0 -63
  273. package/lib/classes/menu.class.d.ts +0 -34
  274. package/lib/classes/navigator.class.d.ts +0 -5
  275. package/lib/classes/popup.class.d.ts +0 -12
  276. package/lib/classes/promise.class.d.ts +0 -7
  277. package/lib/classes/sectionlist.class.d.ts +0 -8
  278. package/lib/classes/select.class.d.ts +0 -7
  279. package/lib/core.module.d.ts +0 -9
  280. package/lib/error/error.class.d.ts +0 -4
  281. package/lib/error/error.module.d.ts +0 -7
  282. package/lib/error/error.service.d.ts +0 -13
  283. package/lib/events/keyboard.d.ts +0 -2
  284. package/lib/http/http-error.class.d.ts +0 -7
  285. package/lib/http/http-events.interceptor.d.ts +0 -10
  286. package/lib/http/http-request.class.d.ts +0 -14
  287. package/lib/http/http-result.class.d.ts +0 -11
  288. package/lib/http/http.module.d.ts +0 -10
  289. package/lib/http/http.service.d.ts +0 -23
  290. package/lib/pipe/datetime.pipe.d.ts +0 -8
  291. package/lib/pipe/htmlToText.pipe.d.ts +0 -7
  292. package/lib/platform/index.d.ts +0 -1
  293. package/lib/services/config.d.ts +0 -9
  294. package/lib/services/navigator.service.d.ts +0 -8
  295. package/lib/services/storage.service.d.ts +0 -7
  296. package/lib/translator/translator.d.ts +0 -9
  297. package/lib/translator/translator.module.d.ts +0 -8
  298. package/lib/translator/translator.pipe.d.ts +0 -8
  299. package/lib/translator/translator.service.d.ts +0 -8
  300. package/lib/utils/array/array-util.d.ts +0 -6
  301. package/lib/utils/html/html-util.d.ts +0 -62
  302. package/lib/utils/html/html.module.d.ts +0 -8
  303. package/lib/utils/math/math-util.d.ts +0 -3
  304. package/lib/utils/object/object-util.d.ts +0 -7
  305. package/lib/utils/render/on-demand-preload-strategy.service.d.ts +0 -10
  306. package/lib/utils/render/render.service.d.ts +0 -18
  307. package/lib/utils/render/rendering.module.d.ts +0 -8
  308. package/lib/utils/scroll/scroll.directive.d.ts +0 -18
  309. package/lib/utils/scroll/scroll.module.d.ts +0 -8
  310. package/lib/utils/separator/separator.module.d.ts +0 -8
  311. package/lib/utils/separator/separator.pipe.d.ts +0 -8
@@ -1,19 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { AXSeparatorPipe } from './separator.pipe';
4
- import * as i0 from "@angular/core";
5
- export class AXSeparatorModule {
6
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, declarations: [AXSeparatorPipe], imports: [CommonModule], exports: [AXSeparatorPipe] });
8
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, imports: [CommonModule] });
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorModule, decorators: [{
11
- type: NgModule,
12
- args: [{
13
- declarations: [AXSeparatorPipe],
14
- imports: [CommonModule],
15
- exports: [AXSeparatorPipe],
16
- providers: []
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VwYXJhdG9yLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29yZS9zcmMvbGliL3V0aWxzL3NlcGFyYXRvci9zZXBhcmF0b3IubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7QUFRbkQsTUFBTSxPQUFPLGlCQUFpQjt3R0FBakIsaUJBQWlCO3lHQUFqQixpQkFBaUIsaUJBTGIsZUFBZSxhQUNwQixZQUFZLGFBQ1osZUFBZTt5R0FHZCxpQkFBaUIsWUFKbEIsWUFBWTs7NEZBSVgsaUJBQWlCO2tCQU43QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztvQkFDL0IsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxlQUFlLENBQUM7b0JBQzFCLFNBQVMsRUFBRSxFQUFFO2lCQUNkIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBBWFNlcGFyYXRvclBpcGUgfSBmcm9tICcuL3NlcGFyYXRvci5waXBlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhTZXBhcmF0b3JQaXBlXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWFNlcGFyYXRvclBpcGVdLFxuICBwcm92aWRlcnM6IFtdXG59KVxuZXhwb3J0IGNsYXNzIEFYU2VwYXJhdG9yTW9kdWxlIHsgfVxuIl19
@@ -1,33 +0,0 @@
1
- import { Pipe, Injectable } from '@angular/core';
2
- import { AXConfig } from '../../services/config';
3
- import * as i0 from "@angular/core";
4
- // export class AXSeparatorPipe2 implements PipeTransform {
5
- // transform(value: any) {
6
- // if (value) {
7
- // return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
8
- // } else {
9
- // return '0';
10
- // }
11
- // }
12
- // }
13
- export class AXSeparatorPipe {
14
- transform(value, currency = '', decimal = 0, locale = AXConfig.get('layout.rtl') ? 'fa' : 'en') {
15
- return (new Intl.NumberFormat(locale, {
16
- minimumFractionDigits: 0,
17
- maximumFractionDigits: decimal
18
- }).format(Number(value)) + (currency != '' ? ' ' + currency : ''));
19
- }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, name: "separator" });
22
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, providedIn: 'root' });
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXSeparatorPipe, decorators: [{
25
- type: Pipe,
26
- args: [{ name: 'separator' }]
27
- }, {
28
- type: Injectable,
29
- args: [{
30
- providedIn: 'root'
31
- }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VwYXJhdG9yLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvcmUvc3JjL2xpYi91dGlscy9zZXBhcmF0b3Ivc2VwYXJhdG9yLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFPakQsMkRBQTJEO0FBQzNELDRCQUE0QjtBQUM1QixtQkFBbUI7QUFDbkIsdUVBQXVFO0FBQ3ZFLGVBQWU7QUFDZixvQkFBb0I7QUFDcEIsUUFBUTtBQUNSLE1BQU07QUFDTixJQUFJO0FBQ0osTUFBTSxPQUFPLGVBQWU7SUFDMUIsU0FBUyxDQUFDLEtBQXNCLEVBQUUsV0FBbUIsRUFBRSxFQUFFLFVBQWtCLENBQUMsRUFBRSxTQUFpQixRQUFRLENBQUMsR0FBRyxDQUFDLFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUk7UUFDckksT0FBTyxDQUNMLElBQUksSUFBSSxDQUFDLFlBQVksQ0FBQyxNQUFNLEVBQUU7WUFDNUIscUJBQXFCLEVBQUUsQ0FBQztZQUN4QixxQkFBcUIsRUFBRSxPQUFPO1NBQy9CLENBQUMsQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDLEdBQUcsQ0FBQyxRQUFRLElBQUksRUFBRSxDQUFDLENBQUMsQ0FBQyxHQUFHLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FDbEUsQ0FBQztJQUNKLENBQUM7d0dBUlUsZUFBZTtzR0FBZixlQUFlOzRHQUFmLGVBQWUsY0FaZCxNQUFNOzs0RkFZUCxlQUFlO2tCQWQzQixJQUFJO21CQUFDLEVBQUUsSUFBSSxFQUFFLFdBQVcsRUFBRTs7a0JBQzFCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSwgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhDb25maWcgfSBmcm9tICcuLi8uLi9zZXJ2aWNlcy9jb25maWcnO1xuXG5AUGlwZSh7IG5hbWU6ICdzZXBhcmF0b3InIH0pXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290J1xufSlcblxuLy8gZXhwb3J0IGNsYXNzIEFYU2VwYXJhdG9yUGlwZTIgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbi8vICAgdHJhbnNmb3JtKHZhbHVlOiBhbnkpIHtcbi8vICAgICBpZiAodmFsdWUpIHtcbi8vICAgICAgIHJldHVybiB2YWx1ZS50b1N0cmluZygpLnJlcGxhY2UoL1xcQig/PShcXGR7M30pKyg/IVxcZCkpL2csICcsJyk7XG4vLyAgICAgfSBlbHNlIHtcbi8vICAgICAgIHJldHVybiAnMCc7XG4vLyAgICAgfVxuLy8gICB9XG4vLyB9XG5leHBvcnQgY2xhc3MgQVhTZXBhcmF0b3JQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSh2YWx1ZTogbnVtYmVyIHwgc3RyaW5nLCBjdXJyZW5jeTogc3RyaW5nID0gJycsIGRlY2ltYWw6IG51bWJlciA9IDAsIGxvY2FsZTogc3RyaW5nID0gQVhDb25maWcuZ2V0KCdsYXlvdXQucnRsJykgPyAnZmEnIDogJ2VuJyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIChcbiAgICAgIG5ldyBJbnRsLk51bWJlckZvcm1hdChsb2NhbGUsIHtcbiAgICAgICAgbWluaW11bUZyYWN0aW9uRGlnaXRzOiAwLFxuICAgICAgICBtYXhpbXVtRnJhY3Rpb25EaWdpdHM6IGRlY2ltYWxcbiAgICAgIH0pLmZvcm1hdChOdW1iZXIodmFsdWUpKSArIChjdXJyZW5jeSAhPSAnJyA/ICcgJyArIGN1cnJlbmN5IDogJycpXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -1,13 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated Use AXBasePageComponent from @acorex/components
5
- */
6
- export declare abstract class AXBasePageComponent {
7
- onClosed: EventEmitter<any>;
8
- close(data?: any): void;
9
- onClosing(e: any): void | Promise<void>;
10
- ngOnDestroy(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXBasePageComponent, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<AXBasePageComponent>;
13
- }
@@ -1,17 +0,0 @@
1
- export interface AXColor {
2
- id?: string;
3
- color?: string;
4
- code: string;
5
- selected?: boolean;
6
- active?: boolean;
7
- }
8
- export declare class AXColorUtil {
9
- static hex2Rgb(hexColor: string): {
10
- r: number;
11
- g: number;
12
- b: number;
13
- };
14
- static rgb2Hex(r: number, g: number, b: number, a?: number): string;
15
- static illuminance(hexColor: string): number;
16
- static contrastToWhite(hexColor: string): number;
17
- }
@@ -1,63 +0,0 @@
1
- export type TimeUnit = 'second' | 'minute' | 'minutes' | 'hour' | 'hours' | 'day' | 'days' | 'month' | 'year' | 'week';
2
- export type TimeDuration = 'seconds' | 'minutes' | 'hours' | 'days' | 'weeks' | 'month' | 'years';
3
- export type TimeStep = 'Y' | 'M' | 'D' | 'YM' | 'YMD' | 'YMDh' | 'YMDhm' | 'YMDhms' | 'h' | 'm' | 's';
4
- export type AXCalendarType = 'jalali' | 'gregorian';
5
- export declare class AXDateTime {
6
- type: AXCalendarType;
7
- static convert(value: any, type?: AXCalendarType): AXDateTime;
8
- private _date;
9
- get date(): Date;
10
- private resolveUnit;
11
- private _moment;
12
- constructor(value?: Date | string, type?: AXCalendarType);
13
- clone(): AXDateTime;
14
- get dayInMonth(): number;
15
- get dayOfYear(): number;
16
- get dayInWeek(): number;
17
- get hour(): number;
18
- get minute(): number;
19
- get second(): number;
20
- get year(): number;
21
- get monthOfYear(): number;
22
- get month(): AXCalendarMonth;
23
- get firstDayOfWeek(): AXDateTime;
24
- get endDayOfWeek(): AXDateTime;
25
- convertStringToJalali(date: string, format: string): string;
26
- convertStringToGregorian(date: string, format: string): Date;
27
- add(unit: TimeUnit, amount: number): AXDateTime;
28
- addDay(amount: number): AXDateTime;
29
- addMonth(amount: number): AXDateTime;
30
- addHour(amount: number): AXDateTime;
31
- set(unit: TimeUnit, value: number): AXDateTime;
32
- duration(end: AXDateTime, unit?: TimeDuration): number;
33
- startOf(unit?: TimeUnit): AXDateTime;
34
- endOf(unit?: TimeUnit): AXDateTime;
35
- format(format?: string): string;
36
- toString(): string;
37
- equal(value: AXDateTime, unit?: TimeUnit): boolean;
38
- convertToJalaliDate(value: any): any;
39
- toJalaliString(value: any): string;
40
- convertToGregorianDate(value: any): any;
41
- toGregorianString(value: any): string;
42
- compaireNew(value: AXDateTime, unit?: TimeStep, type?: string): 1 | -1 | 0;
43
- compaire(value: AXDateTime, unit?: TimeUnit): 1 | -1 | 0;
44
- toISOString(): string;
45
- }
46
- export declare class AXCalendarMonth {
47
- private _moment;
48
- private _range;
49
- get range(): AXDateTimeRange;
50
- set range(v: AXDateTimeRange);
51
- constructor(date: AXDateTime);
52
- private readonly index;
53
- private readonly name;
54
- }
55
- export declare class AXDateTimeRange {
56
- startTime: AXDateTime;
57
- endTime: AXDateTime;
58
- constructor(startTime: AXDateTime, endTime: AXDateTime);
59
- duration(unit?: TimeDuration): number;
60
- enumurate(unit?: TimeUnit, type?: AXCalendarType): AXDateTime[];
61
- includes(value: AXDateTime, unit?: TimeUnit, type?: string): boolean;
62
- getViewCompaire(view: any): "Y" | "YM" | "YMD";
63
- }
@@ -1,34 +0,0 @@
1
- export declare class AXBaseMenuItem {
2
- uid?: string;
3
- id?: string;
4
- name?: string;
5
- text?: string;
6
- tooltip?: string;
7
- tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left';
8
- icon?: string;
9
- visible?: boolean;
10
- disable?: boolean;
11
- selected?: boolean;
12
- groupName?: string;
13
- data?: any;
14
- style?: string;
15
- orderIndex?: number;
16
- endIcon?: string;
17
- startIcon?: string;
18
- onClick?: (e?: any) => void;
19
- }
20
- export declare class AXMenuItem extends AXBaseMenuItem {
21
- items?: AXMenuItem[];
22
- parentId?: string;
23
- divider?: boolean;
24
- }
25
- export declare class AXButtonItem extends AXBaseMenuItem {
26
- dropdown?: boolean;
27
- submitBehavior?: boolean;
28
- cancelBehavior?: boolean;
29
- }
30
- export declare class AXCheckItem {
31
- text?: string;
32
- value?: any;
33
- selected?: boolean;
34
- }
@@ -1,5 +0,0 @@
1
- export interface AXNavigatorParam {
2
- path: string;
3
- title?: string;
4
- data?: any;
5
- }
@@ -1,12 +0,0 @@
1
- export interface ClosingEventArgs {
2
- cancel?: boolean;
3
- data?: any;
4
- }
5
- export interface ClosingAction {
6
- cancel?: boolean;
7
- data?: any;
8
- resolve: () => void;
9
- }
10
- export interface ClosedEventArgs {
11
- data?: any;
12
- }
@@ -1,7 +0,0 @@
1
- export declare class AXPromise<T> {
2
- private _executor;
3
- private thenAction?;
4
- static resolve<T>(value: T): AXPromise<T>;
5
- constructor(executor: (then?: (e?: T) => void) => void);
6
- then(action?: (e?: T) => void): AXPromise<T>;
7
- }
@@ -1,8 +0,0 @@
1
- export interface AXSelectionList {
2
- id?: string;
3
- name?: string;
4
- text: string;
5
- value: boolean;
6
- disable?: boolean;
7
- readonly?: boolean;
8
- }
@@ -1,7 +0,0 @@
1
- export declare class AXSelectItem {
2
- id: string;
3
- name?: string;
4
- text: string;
5
- visible?: boolean;
6
- disable?: boolean;
7
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pipe/datetime.pipe";
3
- import * as i2 from "./utils/scroll/scroll.module";
4
- import * as i3 from "./translator/translator.module";
5
- export declare class AXCoreModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCoreModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCoreModule, [typeof i1.AXDateTimePipe], [typeof i2.AXScrollModule, typeof i3.AXTranslatorModule], [typeof i1.AXDateTimePipe]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCoreModule>;
9
- }
@@ -1,4 +0,0 @@
1
- export interface AXError {
2
- message: string;
3
- code: string;
4
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- export declare class AXErrorModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AXErrorModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXErrorModule, never, [typeof i1.CommonModule], never>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<AXErrorModule>;
7
- }
@@ -1,13 +0,0 @@
1
- import { InjectionToken, Injector } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const AX_ERROR_DISPLAY_INTERCEPTOR: InjectionToken<AXErrorDisplayInterceptor>;
4
- export interface AXErrorDisplayInterceptor {
5
- show(message: string): any;
6
- }
7
- export declare class AXErrorService {
8
- private injector;
9
- constructor(injector: Injector);
10
- handle(message: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXErrorService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<AXErrorService>;
13
- }
@@ -1,2 +0,0 @@
1
- export interface AXKeyboardEvent extends KeyboardEvent {
2
- }
@@ -1,7 +0,0 @@
1
- export interface IHttpError {
2
- message?: string;
3
- status?: number;
4
- code?: string;
5
- handled: boolean;
6
- error: any | null;
7
- }
@@ -1,10 +0,0 @@
1
- import { IHttpError } from './http-error.class';
2
- import { InjectionToken } from '@angular/core';
3
- import { AXHttpRequestOptions } from './http-request.class';
4
- export declare const AX_HTTP_EVENT_INTERCEPTOR: InjectionToken<AXHttpEventInterceptor>;
5
- export interface AXHttpEventInterceptor {
6
- begin(request: AXHttpRequestOptions): Promise<AXHttpRequestOptions>;
7
- success(request: AXHttpRequestOptions, result: any): Promise<any>;
8
- complete(request: AXHttpRequestOptions): any;
9
- error(request: AXHttpRequestOptions, error: IHttpError): any;
10
- }
@@ -1,14 +0,0 @@
1
- export interface AXHttpRequestOptions {
2
- url?: any;
3
- params?: {
4
- [param: string]: any;
5
- };
6
- body?: {
7
- [param: string]: any;
8
- };
9
- headers?: {
10
- [header: string]: any;
11
- };
12
- method?: 'get' | 'post' | 'put' | 'delete';
13
- responseType?: any;
14
- }
@@ -1,11 +0,0 @@
1
- import { IHttpError } from './http-error.class';
2
- export declare class HttpResult<T> {
3
- private _executor;
4
- constructor(executor: (result: (e?: T) => void, error: (e?: IHttpError) => void, complete: () => void) => void);
5
- private resultAction;
6
- private errorAction;
7
- private completeAction;
8
- result(action: (e?: T) => void): HttpResult<T>;
9
- error(action: (e?: IHttpError) => void): HttpResult<T>;
10
- complete(action: () => void): HttpResult<T>;
11
- }
@@ -1,10 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@angular/common/http";
5
- export declare class AXHttpModule {
6
- static forRoot(): ModuleWithProviders<AXHttpModule>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXHttpModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXHttpModule, never, [typeof i1.CommonModule, typeof i2.HttpClientModule], [typeof i2.HttpClientModule]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<AXHttpModule>;
10
- }
@@ -1,23 +0,0 @@
1
- import { Injector } from '@angular/core';
2
- import { HttpClient } from '@angular/common/http';
3
- import { HttpResult } from './http-result.class';
4
- import { AXHttpRequestOptions } from './http-request.class';
5
- import * as i0 from "@angular/core";
6
- export declare class AXHttpService {
7
- private http;
8
- private injector;
9
- private interceptor;
10
- constructor(http: HttpClient, injector: Injector);
11
- get<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
12
- post<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
13
- delete<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
14
- put<T>(url: string, config?: AXHttpRequestOptions): HttpResult<T>;
15
- request<T>(config: AXHttpRequestOptions): HttpResult<T>;
16
- private handleResult;
17
- private handleBegin;
18
- private handleComplete;
19
- private handleError;
20
- private mapOptions;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<AXHttpService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<AXHttpService>;
23
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXDateTimePipe implements PipeTransform {
4
- constructor();
5
- transform(value: any, format?: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<AXDateTimePipe, "dt", false>;
8
- }
@@ -1,7 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXHtmlToTextPipe implements PipeTransform {
4
- transform(value: string): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXHtmlToTextPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<AXHtmlToTextPipe, "html2text", false>;
7
- }
@@ -1 +0,0 @@
1
- export * from './platform.service';
@@ -1,9 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- export declare class AXConfig {
3
- private static dataModel;
4
- private static dataChangeSubject;
5
- static get onChange(): Observable<any>;
6
- static set(config: any): any;
7
- static set(path: string, value?: any): void;
8
- static get(path: string): any;
9
- }
@@ -1,8 +0,0 @@
1
- import { AXNavigatorParam } from '../classes/navigator.class';
2
- import * as i0 from "@angular/core";
3
- export declare abstract class AXNavigator {
4
- abstract navigate(params: AXNavigatorParam): any;
5
- abstract popup(params: AXNavigatorParam): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNavigator, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXNavigator>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXStorageService {
3
- get(key: string): any;
4
- set(key: string, value: any): void;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXStorageService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<AXStorageService>;
7
- }
@@ -1,9 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- export declare class AXTranslator {
3
- private static lang;
4
- private static dataChangeSubject;
5
- static get onChange(): Observable<any>;
6
- static load(lang: string, value: any): void;
7
- static use(lang: string): void;
8
- static get(key: string, lang?: string): string;
9
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./translator.pipe";
3
- export declare class AXTranslatorModule {
4
- constructor();
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXTranslatorModule, [typeof i1.AXTranslatorPipe], never, [typeof i1.AXTranslatorPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXTranslatorModule>;
8
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXTranslatorPipe implements PipeTransform {
4
- constructor();
5
- transform(value: string, lang?: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<AXTranslatorPipe, "trans", false>;
8
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXTranslatorService {
3
- load(lang: string, value: any): void;
4
- use(lang: string): void;
5
- get(key: string, lang?: string): string;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXTranslatorService, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AXTranslatorService>;
8
- }
@@ -1,6 +0,0 @@
1
- export declare class AXArrayUtil {
2
- static pickRandom(array: any[]): any;
3
- static insert(array: any[], index: any, ...rest: any[]): any[];
4
- static range(min: number, max: number): number[];
5
- static filter(array: any[], filters: any[]): any[];
6
- }
@@ -1,62 +0,0 @@
1
- export type AXPlacement = 'top-start' | 'top-middle' | 'top-end' | 'center-start' | 'center-end' | 'bottom-start' | 'bottom-middle' | 'bottom-end';
2
- export interface AXIPoint {
3
- x: number;
4
- y: number;
5
- }
6
- export interface AXConnectedPosition {
7
- originX: 'start' | 'center' | 'end';
8
- originY: 'top' | 'center' | 'bottom';
9
- overlayX: 'start' | 'center' | 'end';
10
- overlayY: 'top' | 'center' | 'bottom';
11
- weight?: number;
12
- offsetX?: number;
13
- offsetY?: number;
14
- }
15
- export declare class AXPoint implements AXIPoint {
16
- x: number;
17
- y: number;
18
- constructor(x: number, y: number);
19
- }
20
- export interface AXClientRecCtor {
21
- left?: number;
22
- top?: number;
23
- width?: number;
24
- height?: number;
25
- bottom?: number;
26
- right?: number;
27
- }
28
- export declare class AXClientRec implements AXClientRecCtor {
29
- private _left;
30
- get left(): number;
31
- set left(v: number);
32
- private _top;
33
- get top(): number;
34
- set top(v: number);
35
- private _right;
36
- get right(): number;
37
- set right(v: number);
38
- private _bottom;
39
- get bottom(): number;
40
- set bottom(v: number);
41
- private _width;
42
- get width(): number;
43
- set width(v: number);
44
- private _height;
45
- get height(): number;
46
- set height(v: number);
47
- constructor(rec: AXClientRecCtor);
48
- intersect(rec: AXClientRecCtor): boolean;
49
- }
50
- export declare class AXHtmlUtil {
51
- static getBoundingRectPoint(el: HTMLElement, placement: AXPlacement): AXPoint;
52
- static isInRecPoint(pos: AXIPoint, rec: AXClientRecCtor): boolean;
53
- static isInElementBound(pos: AXIPoint, element: HTMLElement): boolean;
54
- static getDimensions(): {
55
- width: number;
56
- height: number;
57
- };
58
- static getOffsetRight(elem: HTMLElement): number;
59
- static getUID(): string;
60
- static getRelatedPosition(source: HTMLElement, placement: AXPlacement, target: HTMLElement, alignment: AXPlacement): AXIPoint;
61
- static collision(a: HTMLElement, b: HTMLElement): boolean;
62
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../../pipe/htmlToText.pipe";
3
- import * as i2 from "@angular/common";
4
- export declare class AXHtmlModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXHtmlModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXHtmlModule, [typeof i1.AXHtmlToTextPipe], [typeof i2.CommonModule], [typeof i1.AXHtmlToTextPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXHtmlModule>;
8
- }
@@ -1,3 +0,0 @@
1
- export declare class AXMathUtil {
2
- static randomRange(min: number, max: number): number;
3
- }
@@ -1,7 +0,0 @@
1
- export declare class AXObjectUtil {
2
- static deepJSONClone(obj: any): any;
3
- static deepCopy(obj: any): any;
4
- }
5
- export declare function AXFetchProp(obj: any, prop: string): any;
6
- export declare function getPropByPath(obj: any, path: any, defaultVal?: any): any;
7
- export declare function setPropByPath(obj: any, path: any, value: any): any;
@@ -1,10 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- export declare class AXOnDemandPreloadService {
4
- subject: Subject<string>;
5
- tmp: string;
6
- constructor();
7
- startPreload(routePath: string): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXOnDemandPreloadService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<AXOnDemandPreloadService>;
10
- }
@@ -1,18 +0,0 @@
1
- import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector, Type, Compiler } from '@angular/core';
2
- import { Router, Route } from '@angular/router';
3
- import { AXOnDemandPreloadService } from './on-demand-preload-strategy.service';
4
- import * as i0 from "@angular/core";
5
- export declare class AXRenderService {
6
- private appRef;
7
- private router;
8
- private componentFactoryResolver;
9
- private compiler;
10
- private modulePreloadService;
11
- private injector;
12
- constructor(appRef: ApplicationRef, router: Router, componentFactoryResolver: ComponentFactoryResolver, compiler: Compiler, modulePreloadService: AXOnDemandPreloadService, injector: Injector);
13
- appendComponent<T>(componentClass: Type<T>, options?: any, location?: Element): ComponentRef<any>;
14
- findLoadedComponentByRoute(path: string, timeoutTime?: number): Promise<Route>;
15
- private _findLoadedComponentByRoute;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AXRenderService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<AXRenderService>;
18
- }
@@ -1,8 +0,0 @@
1
- import { AXOnDemandPreloadService } from './on-demand-preload-strategy.service';
2
- import * as i0 from "@angular/core";
3
- export declare function getOnDemandPreloadServiceFactory(): AXOnDemandPreloadService;
4
- export declare class AXRenderingModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXRenderingModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXRenderingModule, never, never, never>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXRenderingModule>;
8
- }
@@ -1,18 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXHorizontalScrollDirective {
4
- private el;
5
- constructor(el: ElementRef<HTMLElement>);
6
- scrollValue: number;
7
- onMouseWheel(e: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXHorizontalScrollDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXHorizontalScrollDirective, "[horizontalScroll]", never, { "scrollValue": { "alias": "horizontalScroll"; "required": false; }; }, {}, never, never, false, never>;
10
- }
11
- export declare class AXVerticalScrollDirective {
12
- private el;
13
- constructor(el: ElementRef<HTMLElement>);
14
- scrollValue: number;
15
- onMouseWheel(e: any): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AXVerticalScrollDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXVerticalScrollDirective, "[verticalScroll]", never, { "scrollValue": { "alias": "verticalScroll"; "required": false; }; }, {}, never, never, false, never>;
18
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./scroll.directive";
3
- import * as i2 from "@angular/common";
4
- export declare class AXScrollModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXScrollModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXScrollModule, [typeof i1.AXHorizontalScrollDirective, typeof i1.AXVerticalScrollDirective], [typeof i2.CommonModule], [typeof i1.AXHorizontalScrollDirective, typeof i1.AXVerticalScrollDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXScrollModule>;
8
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./separator.pipe";
3
- import * as i2 from "@angular/common";
4
- export declare class AXSeparatorModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXSeparatorModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXSeparatorModule, [typeof i1.AXSeparatorPipe], [typeof i2.CommonModule], [typeof i1.AXSeparatorPipe]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXSeparatorModule>;
8
- }