@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,148 +0,0 @@
1
- import { Injectable, Injector } from '@angular/core';
2
- import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
3
- import { HttpResult } from './http-result.class';
4
- import { AX_HTTP_EVENT_INTERCEPTOR } from './http-events.interceptor';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common/http";
7
- // import { catchError, retry, retryWhen, mergeMap, delay, switchMap, scan, takeWhile, flatMap } from 'rxjs/operators';
8
- // import { of, concat, throwError } from 'rxjs';
9
- export class AXHttpService {
10
- http;
11
- injector;
12
- interceptor;
13
- constructor(http, injector) {
14
- this.http = http;
15
- this.injector = injector;
16
- this.interceptor = this.injector.get(AX_HTTP_EVENT_INTERCEPTOR);
17
- }
18
- get(url, config = {}) {
19
- config.url = url;
20
- config.method = "get";
21
- return this.request(config);
22
- }
23
- post(url, config = {}) {
24
- config.url = url;
25
- config.method = "post";
26
- return this.request(config);
27
- }
28
- delete(url, config = {}) {
29
- config.url = url;
30
- config.method = "delete";
31
- return this.request(config);
32
- }
33
- put(url, config = {}) {
34
- config.url = url;
35
- config.method = "put";
36
- return this.request(config);
37
- }
38
- request(config) {
39
- return new HttpResult((result, error, complete) => {
40
- this.handleBegin(config).then(c => {
41
- this.http
42
- .request(config.method, config.url, this.mapOptions(config))
43
- //.pipe(this.retry)
44
- .subscribe(data => {
45
- this.handleResult(data, result, complete, config);
46
- }, c => {
47
- this.handleError(c, error, complete, config);
48
- });
49
- });
50
- });
51
- }
52
- handleResult(data, result, complete, config) {
53
- if (this.interceptor) {
54
- this.interceptor.success(config, data).then(c => {
55
- if (result)
56
- result(c);
57
- this.handleComplete(complete, config);
58
- });
59
- }
60
- else {
61
- //
62
- if (result)
63
- result(data);
64
- this.handleComplete(complete, config);
65
- }
66
- }
67
- handleBegin(config) {
68
- return new Promise((resolve) => {
69
- if (!config.headers)
70
- config.headers = {};
71
- if (!config.params)
72
- config.params = {};
73
- //
74
- if (this.interceptor) {
75
- this.interceptor.begin(config).then(c => {
76
- resolve(c);
77
- });
78
- }
79
- else {
80
- resolve(config);
81
- }
82
- });
83
- }
84
- handleComplete(complete, config) {
85
- if (complete)
86
- complete();
87
- if (this.interceptor)
88
- this.interceptor.complete(config);
89
- }
90
- handleError(c, error, complete, config) {
91
- let r = {
92
- message: c.message,
93
- status: c.status,
94
- code: c.status?.toString(),
95
- handled: false,
96
- error: c.error
97
- };
98
- if (error) {
99
- error(r);
100
- }
101
- if (!r.handled) {
102
- if (this.interceptor)
103
- this.interceptor.error(config, r);
104
- }
105
- this.handleComplete(complete, config);
106
- }
107
- mapOptions(options) {
108
- let headers = new HttpHeaders();
109
- for (const key in options.headers) {
110
- if (options.headers.hasOwnProperty(key)) {
111
- const value = options.headers[key];
112
- headers = headers.set(key, value);
113
- }
114
- }
115
- let params = new HttpParams();
116
- for (const key in options.params) {
117
- if (options.params.hasOwnProperty(key)) {
118
- const value = options.params[key];
119
- params = params.set(key, value);
120
- }
121
- }
122
- return {
123
- headers: headers,
124
- params: params,
125
- body: options.body,
126
- responseType: options.responseType || 'json'
127
- };
128
- // if (options.method == "get") {
129
- // return {
130
- // headers: headers,
131
- // params: params
132
- // };
133
- // }
134
- // else {
135
- // return {
136
- // headers: headers,
137
- // params: params,
138
- // body: options.body
139
- // };
140
- // }
141
- }
142
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService, deps: [{ token: i1.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
143
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService });
144
- }
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXHttpService, decorators: [{
146
- type: Injectable
147
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i0.Injector }]; } });
148
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb3JlL3NyYy9saWIvaHR0cC9odHRwLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQWUsTUFBTSxlQUFlLENBQUM7QUFDbEUsT0FBTyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsVUFBVSxFQUFxQixNQUFNLHNCQUFzQixDQUFDO0FBQzlGLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUdqRCxPQUFPLEVBQ0gseUJBQXlCLEVBQzVCLE1BQU0sMkJBQTJCLENBQUM7OztBQUNuQyx1SEFBdUg7QUFDdkgsaURBQWlEO0FBSWpELE1BQU0sT0FBTyxhQU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ZXcgSHR0cFJlc3VsdDxUPigocmVzdWx0PywgZXJyb3I/LCBjb21wbGV0ZT8pID0+IHtcbiAgICAgICAgICAgIHRoaXMuaGFuZGxlQmVnaW4oY29uZmlnKS50aGVuKGMgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuaHR0cFxuICAgICAgICAgICAgICAgICAgICAucmVxdWVzdDxUPihjb25maWcubWV0aG9kLCBjb25maWcudXJsLCB0aGlzLm1hcE9wdGlvbnMoY29uZmlnKSlcbiAgICAgICAgICAgICAgICAgICAgLy8ucGlwZSh0aGlzLnJldHJ5KVxuICAgICAgICAgICAgICAgICAgICAuc3Vic2NyaWJlKGRhdGEgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5oYW5kbGVSZXN1bHQoZGF0YSwgcmVzdWx0LCBjb21wbGV0ZSwgY29uZmlnKTtcbiAgICAgICAgICAgICAgICAgICAgfSwgYyA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmhhbmRsZUVycm9yKGMsIGVycm9yLCBjb21wbGV0ZSwgY29uZmlnKTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSlcbiAgICB9XG5cblxuICAgIHByaXZhdGUgaGFuZGxlUmVzdWx0KGRhdGEsIHJlc3VsdCwgY29tcGxldGUsIGNvbmZpZzogQVhIdHRwUmVxdWVzdE9wdGlvbnMpIHtcbiAgICAgICAgaWYgKHRoaXMuaW50ZXJjZXB0b3IpIHtcbiAgICAgICAgICAgIHRoaXMuaW50ZXJjZXB0b3Iuc3VjY2Vzcyhjb25maWcsIGRhdGEpLnRoZW4oYyA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKHJlc3VsdClcbiAgICAgICAgICAgICAgICAgICAgcmVzdWx0KGMpO1xuICAgICAgICAgICAgICAgIHRoaXMuaGFuZGxlQ29tcGxldGUoY29tcGxldGUsIGNvbmZpZyk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICBpZiAocmVzdWx0KVxuICAgICAgICAgICAgICAgIHJlc3VsdChkYXRhKTtcbiAgICAgICAgICAgIHRoaXMuaGFuZGxlQ29tcGxldGUoY29tcGxldGUsIGNvbmZpZyk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcml2YXRlIGhhbmRsZUJlZ2luKGNvbmZpZzogQVhIdHRwUmVxdWVzdE9wdGlvbnMpOiBQcm9taXNlPEFYSHR0cFJlcXVlc3RPcHRpb25zPiB7XG4gICAgICAgIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSkgPT4ge1xuICAgICAgICAgICAgaWYgKCFjb25maWcuaGVhZGVycylcbiAgICAgICAgICAgICAgICBjb25maWcuaGVhZGVycyA9IHt9O1xuICAgICAgICAgICAgaWYgKCFjb25maWcucGFyYW1zKVxuICAgICAgICAgICAgICAgIGNvbmZpZy5wYXJhbXMgPSB7fTtcbiAgICAgICAgICAgIC8vXG4gICAgICAgICAgICBpZiAodGhpcy5pbnRlcmNlcHRvcikge1xuICAgICAgICAgICAgICAgIHRoaXMuaW50ZXJjZXB0b3IuYmVnaW4oY29uZmlnKS50aGVuKGMgPT4ge1xuICAgICAgICAgICAgICAgICAgICByZXNvbHZlKGMpO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgcmVzb2x2ZShjb25maWcpXG4gICAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgfVxuXG4gICAgcHJpdmF0ZSBoYW5kbGVDb21wbGV0ZShjb21wbGV0ZTogRnVuY3Rpb24sIGNvbmZpZzogQVhIdHRwUmVxdWVzdE9wdGlvbnMpIHtcbiAgICAgICAgaWYgKGNvbXBsZXRlKVxuICAgICAgICAgICAgY29tcGxldGUoKTtcbiAgICAgICAgaWYgKHRoaXMuaW50ZXJjZXB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zdCB2YWx1ZSA9IG9wdGlvbnMuaGVhZGVyc1trZXldO1xuICAgICAgICAgICAgICAgIGhlYWRlcnMgPSBoZWFkZXJzLnNldChrZXksIHZhbHVlKVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGxldCBwYXJhbXMgPSBuZXcgSHR0cFBhcmFtcygpO1xuICAgICAgICBmb3IgKGNvbnN0IGtleSBpbiBvcHRpb25zLnBhcmFtcykge1xuICAgICAgICAgICAgaWYgKG9wdGlvbnMucGFyYW1zLmhhc093blByb3BlcnR5KGtleSkpIHtcbiAgICAgICAgICAgICAgICBjb25zdCB2YWx1ZSA9IG9wdGlvbnMucGFyYW1zW2tleV07XG4gICAgICAgICAgICAgICAgcGFyYW1zID0gcGFyYW1zLnNldChrZXksIHZhbHVlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgaGVhZGVyczogaGVhZGVycyxcbiAgICAgICAgICAgIHBhcmFtczogcGFyYW1zLFxuICAgICAgICAgICAgYm9keTogb3B0aW9ucy5ib2R5LFxuICAgICAgICAgICAgcmVzcG9uc2VUeXBlOiBvcHRpb25zLnJlc3BvbnNlVHlwZSB8fCAnanNvbidcbiAgICAgICAgfTtcbiAgICAgICAgLy8gaWYgKG9wdGlvbnMubWV0aG9kID09IFwiZ2V0XCIpIHtcbiAgICAgICAgLy8gICAgIHJldHVybiB7XG4gICAgICAgIC8vICAgICAgICAgaGVhZGVyczogaGVhZGVycyxcbiAgICAgICAgLy8gICAgICAgICBwYXJhbXM6IHBhcmFtc1xuICAgICAgICAvLyAgICAgfTtcbiAgICAgICAgLy8gfVxuICAgICAgICAvLyBlbHNlIHtcbiAgICAgICAgLy8gICAgIHJldHVybiB7XG4gICAgICAgIC8vICAgICAgICAgaGVhZGVyczogaGVhZGVycyxcbiAgICAgICAgLy8gICAgICAgICBwYXJhbXM6IHBhcmFtcyxcbiAgICAgICAgLy8gICAgICAgICBib2R5OiBvcHRpb25zLmJvZHlcbiAgICAgICAgLy8gICAgIH07XG4gICAgICAgIC8vIH1cbiAgICB9XG5cbn0iXX0=
@@ -1,255 +0,0 @@
1
- {
2
- "common": {
3
- "search": "search",
4
- "yes": "yes",
5
- "no": "No",
6
- "confirm": "Confirm",
7
- "okay": "Okay",
8
- "cancel": "Cancel",
9
- "remove": "Remove",
10
- "edit": "Edit",
11
- "configs": "Configs",
12
- "noDataFound": "No data found!",
13
- "searching": "searching ...",
14
- "save": "Save",
15
- "save-as": "Save As...",
16
- "title": "Title",
17
- "description": "Description",
18
- "name": "Name",
19
- "uniquename": "Unique Name",
20
- "size": "Size",
21
- "add-item": "Add Item",
22
- "color": "Color",
23
- "display": "Display",
24
- "min-value": "Min Value",
25
- "value": "Value",
26
- "max-value": "Max Value",
27
- "refresh-rate": "Refresh Rate",
28
- "refresh": "Refresh",
29
- "reload": "Reload",
30
- "condition": "Condition",
31
- "next": "Next",
32
- "prev": "Prev"
33
- },
34
- "dateTime": {
35
- "weekdaysShort": {
36
- "sun": "Sun",
37
- "mon": "Mon",
38
- "tue": "Tue",
39
- "wed": "Wed",
40
- "thu": "Thu",
41
- "fri": "Fri",
42
- "sat": "Sat"
43
- },
44
- "dayTime": {
45
- "am": "am",
46
- "pm": "pm",
47
- "m": "m",
48
- "a": "a",
49
- "p": "p"
50
- },
51
- "today": "today",
52
- "duration": {
53
- "format_second": "{0} second(s)",
54
- "format_minute": "{0} minute(s)"
55
- }
56
- },
57
- "queryBuilder": {
58
- "contains": "contains",
59
- "not-contains": "not-contains",
60
- "contains-all": "contains-all",
61
- "start-with": "start-with",
62
- "end-with": "end-with",
63
- "equal": "equal",
64
- "not-equal": "not-equal",
65
- "null": "null",
66
- "not-null": "not-null",
67
- "greater-than": "greater-than",
68
- "gt": "greater-than",
69
- "greater-than-equal": "greater-than-equal",
70
- "gte": "greater-than-equal",
71
- "less-than": "less-than",
72
- "lt": "less-than",
73
- "less-than-equal": "less-than-equal",
74
- "lte": "less-than-equal",
75
- "true": "true",
76
- "false": "false",
77
- "empty": "empty"
78
- },
79
- "validation": {
80
- "messages": {
81
- "required": "This field is required!",
82
- "email": "Please enter a valid email address!",
83
- "phone": "Please enter a valid phone number!"
84
- }
85
- },
86
- "dataGrid": {
87
- "page": "page",
88
- "more": "more",
89
- "to": "To",
90
- "of": "Of",
91
- "next": "next",
92
- "last": "last",
93
- "first": "first",
94
- "previous": "previous",
95
- "loadingOoo": "Loading...",
96
- "selectAll": "selectAll",
97
- "searchOoo": "Search...",
98
- "blanks": "blanks",
99
- "filterOoo": "Filter...",
100
- "equals": "Equals",
101
- "notEqual": "NotEqual",
102
- "lessThan": "LessThan",
103
- "greaterThan": "GreaterThan",
104
- "lessThanOrEqual": "LessThanOrEqual",
105
- "greaterThanOrEqual": "GreaterThanOrEqual",
106
- "inRange": "InRange",
107
- "inRangeStart": "To",
108
- "inRangeEnd": "From",
109
- "contains": "Contains",
110
- "notContains": "NotContains",
111
- "startsWith": "Starts with",
112
- "endsWith": "Ends with",
113
- "andCondition": "AND",
114
- "orCondition": "OR",
115
- "applyFilter": "Apply",
116
- "resetFilter": "Reset",
117
- "clearFilter": "Clear",
118
- "group": "Group",
119
- "columns": "Columns",
120
- "filters": "Filters",
121
- "groups": "Groups",
122
- "values": "Values",
123
- "enabled": "Enabled",
124
- "pinColumn": "Pin Column",
125
- "groupBy": "Group by",
126
- "ungroupBy": "UnGroup by",
127
- "resetColumns": "ResetColumns",
128
- "expandAll": "ExpandAll",
129
- "collapseAll": "CollapseAll",
130
- "toolPanel": "ToolPanel",
131
- "export": "Exporto",
132
- "csvExport": "csv Export",
133
- "excelExport": "Excel Export (.xlsx)",
134
- "excelXmlExport": "Excel Exporto (.xml)",
135
- "chartRange": "Chart Range",
136
- "columnChart": "Column",
137
- "groupedColumn": "Grouped",
138
- "stackedColumn": "Stacked",
139
- "normalizedColumn": "normalized Column",
140
- "barChart": "bar Chart",
141
- "groupedBar": "Grouped",
142
- "stackedBar": "Stacked",
143
- "normalizedBar": "normalized Bar",
144
- "pie": "Pie",
145
- "doughnut": "Doughnut",
146
- "line": "Line",
147
- "xyChart": "X Y (Scatter)",
148
- "scatter": "Scatter",
149
- "bubble": "Bubble",
150
- "areaChart": "Area",
151
- "area": "Area",
152
- "stackedArea": "Stacked",
153
- "normalizedArea": "100% Stacked",
154
- "histogramChart": "Histogram",
155
- "pinLeft": "Pin Left",
156
- "pinRight": "Pin Right",
157
- "noPin": "Dont Pin",
158
- "sum": "Sum",
159
- "min": "Min",
160
- "max": "Max",
161
- "none": "None",
162
- "count": "Count",
163
- "avg": "Average",
164
- "filteredRows": "Filtered",
165
- "selectedRows": "Selected",
166
- "totalRows": "Total Rows",
167
- "totalAndFilteredRows": "Rows",
168
- "copy": "Copy",
169
- "copyWithHeaders": "Copy With Headers",
170
- "ctrlC": "Ctrl C",
171
- "paste": "Paste",
172
- "ctrlV": "Ctrl V",
173
- "pivotChartTitle": "Pivot Chart",
174
- "rangeChartTitle": "Range Chart",
175
- "settings": "Settings",
176
- "data": "Data",
177
- "format": "Format",
178
- "categories": "Categories",
179
- "series": "Series",
180
- "xyValues": "X Y Values",
181
- "paired": "Paired Mode",
182
- "axis": "Axis",
183
- "color": "Color",
184
- "thickness": "Thickness",
185
- "xType": "X Type",
186
- "automatic": "Automatic",
187
- "category": "Category",
188
- "number": "Number",
189
- "time": "Time",
190
- "xRotation": "X Rotation",
191
- "yRotation": "Y Rotation",
192
- "ticks": "Ticks",
193
- "width": "Width",
194
- "length": "Length",
195
- "padding": "Padding",
196
- "chart": "Chart",
197
- "title": "Title",
198
- "background": "Background",
199
- "font": "Font",
200
- "top": "Top",
201
- "right": "Right",
202
- "bottom": "Bottom",
203
- "left": "Left",
204
- "labels": "Labels",
205
- "size": "Size",
206
- "minSize": "Minimum Size",
207
- "maxSize": "Maximum Size",
208
- "legend": "Legend",
209
- "position": "Position",
210
- "markerSize": "Marker Size",
211
- "markerStroke": "Marker Stroke",
212
- "markerPadding": "Marker Padding",
213
- "itemPaddingX": "Item Padding X",
214
- "itemPaddingY": "Item Padding Y",
215
- "strokeWidth": "Stroke Width",
216
- "offset": "Offset",
217
- "offsets": "Offsets",
218
- "tooltips": "Tooltips",
219
- "callout": "Callout",
220
- "markers": "Markers",
221
- "shadow": "Shadow",
222
- "blur": "Blur",
223
- "xOffset": "X Offset",
224
- "yOffset": "Y Offset",
225
- "lineWidth": "Line Width",
226
- "normal": "Normal",
227
- "bold": "Bold",
228
- "italic": "Italic",
229
- "boldItalic": "Bold Italic",
230
- "predefined": "Predefined",
231
- "fillOpacity": "Fill Opacity",
232
- "strokeOpacity": "Line Opacity",
233
- "histogramBinCount": "Bin Count",
234
- "columnGroup": "Column",
235
- "barGroup": "Bar",
236
- "pieGroup": "Pie",
237
- "lineGroup": "Line",
238
- "scatterGroup": "Scatter",
239
- "areaGroup": "Area",
240
- "histogramGroup": "Histogram",
241
- "groupedColumnTooltip": "Grouped",
242
- "stackedColumnTooltip": "Stacked",
243
- "normalizedColumnTooltip": "100% Stacked",
244
- "groupedBarTooltip": "Grouped",
245
- "stackedBarTooltip": "Stacked",
246
- "pieTooltip": "Pie",
247
- "doughnutTooltip": "Doughnut",
248
- "lineTooltip": "Line",
249
- "groupedAreaTooltip": "Grouped",
250
- "stackedAreaTooltip": "Stacked",
251
- "scatterTooltip": "Scatter",
252
- "bubbleTooltip": "Bubble",
253
- "histogramTooltip": "Histogram"
254
- }
255
- }
@@ -1,245 +0,0 @@
1
- {
2
- "common": {
3
- "search": "جستجو",
4
- "yes": "بله",
5
- "no": "خیر",
6
- "confirm": "تایید",
7
- "okay": "تایید",
8
- "cancel": "انصراف",
9
- "remove": "حذف",
10
- "edit": "ویرایش",
11
- "configs": "پیکربندی",
12
- "noDataFound": "موردی یافت نشد!",
13
- "searching": "درحال جستجو ...",
14
- "save-as": "ذخیره به عنوان ...",
15
- "title": "عنوان",
16
- "description": "توضیحات",
17
- "name": "نام",
18
- "uniquename": "نام شناسه یکتا",
19
- "size": "اندازه",
20
- "add-item": "افزودن",
21
- "color": "رنگ",
22
- "display": "نمایش",
23
- "value": "مقدار",
24
- "min-value": "مقدار کمینه",
25
- "max-value": "مقدار بیشینه",
26
- "refresh-rate": "نرخ بروز رسانی",
27
- "refresh": "بروز رسانی",
28
- "reload": "بارگزاری مجدد",
29
- "condition": "شرط",
30
- "next": "بعدی",
31
- "prev": "قبلی",
32
- "reset": "بازنشانی"
33
- },
34
- "dateTime": {
35
- "weekdaysShort": {
36
- "sun": "ی",
37
- "mon": "د",
38
- "tue": "س",
39
- "wed": "چ",
40
- "thu": "پ",
41
- "fri": "ج",
42
- "sat": "ش"
43
- },
44
- "dayTime": {
45
- "am": "ق ظ",
46
- "pm": "ب ظُ",
47
- "m": ".ظ",
48
- "a": "ق",
49
- "p": "ب"
50
- },
51
- "today": "امروز",
52
- "duration": {
53
- "format_second": "{0} ثانیه",
54
- "format_minute": "{0} دقیقه"
55
- }
56
- },
57
- "queryBuilder": {
58
- "contains": "شامل",
59
- "not-contains": "به غیر از",
60
- "contains-all": "شامل همه",
61
- "start-with": "شروع شود با",
62
- "end-with": "پایان با",
63
- "equal": "برابر با",
64
- "not-equal": "نا برابر با",
65
- "null": " خالی باشد",
66
- "not-null": "خالی نباشد",
67
- "greater-than": "بزرگ تر",
68
- "gt": "بزرگ تر",
69
- "greater-than-equal": "بزرگتر مساوی",
70
- "gte": "بزرگتر مساوی",
71
- "less-than": "کوچکتر",
72
- "lt": "کوچکتر",
73
- "less-than-equal": "کوچکتر مساوی",
74
- "lte": "کوچکتر مساوی",
75
- "true": "true",
76
- "false": "false"
77
- },
78
- "validation": {
79
- "messages": {
80
- "required": "مقدار این فیلد الزامی می باشد!",
81
- "email": "این آدرس ایمیل معتبر نمی باشد!",
82
- "phone": "این شماره تلفن معتبر نمی باشد!"
83
- }
84
- },
85
- "dataGrid": {
86
- "page": "صفحه",
87
- "more": "بیشتر",
88
- "to": "تا",
89
- "of": "از",
90
- "next": "بعدی",
91
- "last": "آخرین",
92
- "first": "اولین",
93
- "previous": "قبلی",
94
- "loadingOoo": "... لطفا منتظر بمانید",
95
- "selectAll": "انتخاب همه",
96
- "searchOoo": "جستجو ...",
97
- "blanks": "جای خالی",
98
- "filterOoo": "فیلتر ...",
99
- "equals": "برابر",
100
- "notEqual": "نابرابر",
101
- "lessThan": "کوچکتر از",
102
- "greaterThan": "بزرگتر از",
103
- "lessThanOrEqual": "کوچکتر مساوی",
104
- "greaterThanOrEqual": "بزرکتر مساوی",
105
- "inRange": "در محدوده",
106
- "inRangeStart": "تا",
107
- "inRangeEnd": "از",
108
- "contains": "شامل",
109
- "notContains": "شامل نمی شود",
110
- "startsWith": "شروع شود با",
111
- "endsWith": "پایان با",
112
- "andCondition": "و",
113
- "orCondition": "یا",
114
- "applyFilter": "اعمال",
115
- "resetFilter": "تنظیم مجدد فیلتر",
116
- "clearFilter": "پاک کردن فیلتر",
117
- "group": "گروه",
118
- "columns": "ستون ها",
119
- "filters": "فیاتر ها",
120
- "groups": "گروه ها ",
121
- "values": "مقدار ها",
122
- "enabled": "فعال شده",
123
- "pinColumn": "سنجاق",
124
- "groupBy": "دسته بندی بر اساس",
125
- "ungroupBy": "حذف دسته بندی",
126
- "resetColumns": "تنظیم مجدد ستون ها",
127
- "expandAll": "باز کردن همه",
128
- "collapseAll": "بستن همه",
129
- "toolPanel": "پنل ابزار",
130
- "export": "خروجی",
131
- "csvExport": "csv خروجی",
132
- "excelExport": "خروجی اکسل (.xlsx)",
133
- "excelXmlExport": "خروجی اکسل (.xml)",
134
- "chartRange": "محدوده نمودار",
135
- "columnChart": "ستون",
136
- "groupedColumn": "دسته بندی شده",
137
- "stackedColumn": "انباشته",
138
- "normalizedColumn": "ستون نرمال",
139
- "barChart": "نمودار میله ای",
140
- "groupedBar": "دسته بندی شده",
141
- "stackedBar": "انباشته",
142
- "normalizedBar": "نوار ",
143
- "pie": "پای",
144
- "doughnut": "Doughnut",
145
- "line": "خط",
146
- "xyChart": "X Y (پراکندگی)",
147
- "scatter": "پراکندگی",
148
- "bubble": "حباب",
149
- "areaChart": "حوزه",
150
- "area": "حوزه",
151
- "stackedArea": "انباشته ",
152
- "normalizedArea": "100% انباشته",
153
- "histogramChart": "هیستوگرام",
154
- "pinLeft": "سنجاق چپ",
155
- "pinRight": "سنجاق راست",
156
- "noPin": "حذف سنجاق",
157
- "sum": "مجموع",
158
- "min": "مینیمم",
159
- "max": "ماکزیمم",
160
- "none": "هیچ",
161
- "count": "شمردن",
162
- "avg": "میانگین",
163
- "filteredRows": "فیلتر شده",
164
- "selectedRows": "انتخاب شده",
165
- "totalRows": "مجموع ردیف ها",
166
- "totalAndFilteredRows": "سطر ها",
167
- "copy": "کپی",
168
- "copyWithHeaders": "کپی با هدر ها",
169
- "ctrlC": "Ctrl C",
170
- "paste": "جایگزینی",
171
- "ctrlV": "Ctrl V",
172
- "pivotChartTitle": "نمودار محوری",
173
- "rangeChartTitle": "نمودار محدوده",
174
- "settings": "تنظیمات",
175
- "data": "تاریخ",
176
- "format": "قالب",
177
- "categories": "دسته بندی ها",
178
- "series": "Series",
179
- "xyValues": "X Y مقادیر",
180
- "paired": "حالت زوج",
181
- "axis": "محور",
182
- "color": "رنگ",
183
- "thickness": "ضخامت",
184
- "xType": "X Type",
185
- "automatic": "خودکار",
186
- "category": "دسته بندی",
187
- "number": "عدد",
188
- "time": "زمان",
189
- "xRotation": "X چرخش",
190
- "yRotation": "Y چرخش",
191
- "ticks": "نمادها",
192
- "width": "عرض",
193
- "length": "طول",
194
- "padding": "لایه گزاری",
195
- "chart": "جدول",
196
- "title": "عنوان",
197
- "background": "زمینه",
198
- "font": "فونت",
199
- "top": "بالا",
200
- "right": "راست",
201
- "bottom": "پایین",
202
- "left": "چپ",
203
- "labels": "برچسب",
204
- "size": "اندازه",
205
- "minSize": "حداقل اندازه",
206
- "maxSize": "بیشترین اندازه",
207
- "position": "موقعیت",
208
- "markerSize": "اندازه نشانگر",
209
- "callout": "فراخوان",
210
- "markers": "نشانه گرها",
211
- "shadow": "سایه",
212
- "blur": "محو شدن",
213
- "xOffset": "X انحراف",
214
- "yOffset": "Y انحراف",
215
- "lineWidth": "عرض خط",
216
- "normal": "نرمال",
217
- "italic": "Italic",
218
- "boldItalic": "Bold Italic",
219
- "predefined": "Predefined",
220
- "fillOpacity": "Fill Opacity",
221
- "strokeOpacity": "Line Opacity",
222
- "histogramBinCount": "Bin Count",
223
- "columnGroup": "ستون",
224
- "barGroup": "Bar",
225
- "pieGroup": "Pie",
226
- "lineGroup": "خط",
227
- "areaGroup": "حوزه",
228
- "histogramGroup": "هیستوگرام",
229
- "groupedColumnTooltip": "دسته بندی شده",
230
- "stackedColumnTooltip": "Stacked",
231
- "normalizedColumnTooltip": "100% Stacked",
232
- "groupedBarTooltip": "دسته بندی شده",
233
- "stackedBarTooltip": "Stacked",
234
- "pieTooltip": "Pie",
235
- "doughnutTooltip": "Doughnut",
236
- "lineTooltip": "خط",
237
- "groupedAreaTooltip": "گروه بندی شده",
238
- "stackedAreaTooltip": "Stacked",
239
- "scatterTooltip": "Scatter",
240
- "bubbleTooltip": "حباب",
241
- "histogramTooltip": "هیستوگرام",
242
- "autosizeThiscolumn": "تنظیم اندازه ستون ",
243
- "autosizeAllColumns": "تنظیم اندازه همه ستون ها"
244
- }
245
- }