@yelon/util 13.2.0 → 13.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/array/array-type.service.d.ts +0 -0
  4. package/array/array.d.ts +0 -0
  5. package/array/array.service.d.ts +0 -0
  6. package/array/index.d.ts +0 -0
  7. package/array/package.json +0 -0
  8. package/browser/browser.d.ts +0 -0
  9. package/browser/cookie.service.d.ts +0 -0
  10. package/browser/copy.d.ts +0 -0
  11. package/browser/index.d.ts +0 -0
  12. package/browser/is-empty.d.ts +0 -0
  13. package/browser/package.json +0 -0
  14. package/browser/scroll.service.d.ts +0 -0
  15. package/browser/style.d.ts +0 -0
  16. package/config/abc/date-picker.type.d.ts +0 -0
  17. package/config/abc/error-collect.type.d.ts +0 -0
  18. package/config/abc/image.type.d.ts +0 -0
  19. package/config/abc/index.d.ts +0 -0
  20. package/config/abc/loading.type.d.ts +0 -0
  21. package/config/abc/lodop.type.d.ts +0 -0
  22. package/config/abc/media.type.d.ts +0 -0
  23. package/config/abc/onboarding.type.d.ts +0 -0
  24. package/config/abc/page-header.type.d.ts +0 -0
  25. package/config/abc/pdf.type.d.ts +0 -0
  26. package/config/abc/qr.type.d.ts +0 -0
  27. package/config/abc/se.type.d.ts +0 -0
  28. package/config/abc/sg.type.d.ts +0 -0
  29. package/config/abc/st.type.d.ts +0 -0
  30. package/config/abc/sv.type.d.ts +0 -0
  31. package/config/abc/xlsx.type.d.ts +0 -0
  32. package/config/abc/zip.type.d.ts +0 -0
  33. package/config/acl/acl.type.d.ts +0 -0
  34. package/config/auth/auth.type.d.ts +0 -0
  35. package/config/bis/bis.type.d.ts +0 -0
  36. package/config/cache/cache.type.d.ts +0 -0
  37. package/config/chart/chart.type.d.ts +0 -0
  38. package/config/config.d.ts +0 -0
  39. package/config/config.service.d.ts +0 -0
  40. package/config/config.types.d.ts +0 -0
  41. package/config/index.d.ts +0 -0
  42. package/config/mock/mock.type.d.ts +0 -0
  43. package/config/package.json +0 -0
  44. package/config/sf/sf.type.d.ts +0 -0
  45. package/config/stomp/stomp.type.d.ts +0 -0
  46. package/config/theme/http.type.d.ts +0 -0
  47. package/config/theme/i18n.type.d.ts +0 -0
  48. package/config/theme/index.d.ts +0 -0
  49. package/config/theme/responsive.type.d.ts +0 -0
  50. package/config/util/array.type.d.ts +0 -0
  51. package/config/util/currency.type.d.ts +0 -0
  52. package/date-time/date-time.d.ts +0 -0
  53. package/date-time/index.d.ts +0 -0
  54. package/date-time/package.json +0 -0
  55. package/date-time/picker.d.ts +0 -0
  56. package/date-time/time.d.ts +5 -2
  57. package/decorator/convert.d.ts +0 -0
  58. package/decorator/decorator.d.ts +0 -0
  59. package/decorator/index.d.ts +0 -0
  60. package/decorator/package.json +0 -0
  61. package/decorator/zone-outside.d.ts +0 -0
  62. package/esm2020/array/array-type.service.mjs +0 -0
  63. package/esm2020/array/array.mjs +0 -0
  64. package/esm2020/array/array.service.mjs +3 -3
  65. package/esm2020/array/index.mjs +0 -0
  66. package/esm2020/browser/browser.mjs +0 -0
  67. package/esm2020/browser/cookie.service.mjs +3 -3
  68. package/esm2020/browser/copy.mjs +0 -0
  69. package/esm2020/browser/index.mjs +0 -0
  70. package/esm2020/browser/is-empty.mjs +0 -0
  71. package/esm2020/browser/scroll.service.mjs +3 -3
  72. package/esm2020/browser/style.mjs +0 -0
  73. package/esm2020/config/abc/date-picker.type.mjs +0 -0
  74. package/esm2020/config/abc/error-collect.type.mjs +0 -0
  75. package/esm2020/config/abc/image.type.mjs +0 -0
  76. package/esm2020/config/abc/index.mjs +0 -0
  77. package/esm2020/config/abc/loading.type.mjs +0 -0
  78. package/esm2020/config/abc/lodop.type.mjs +0 -0
  79. package/esm2020/config/abc/media.type.mjs +0 -0
  80. package/esm2020/config/abc/onboarding.type.mjs +0 -0
  81. package/esm2020/config/abc/page-header.type.mjs +0 -0
  82. package/esm2020/config/abc/pdf.type.mjs +0 -0
  83. package/esm2020/config/abc/qr.type.mjs +0 -0
  84. package/esm2020/config/abc/se.type.mjs +0 -0
  85. package/esm2020/config/abc/sg.type.mjs +0 -0
  86. package/esm2020/config/abc/st.type.mjs +0 -0
  87. package/esm2020/config/abc/sv.type.mjs +0 -0
  88. package/esm2020/config/abc/xlsx.type.mjs +0 -0
  89. package/esm2020/config/abc/zip.type.mjs +0 -0
  90. package/esm2020/config/acl/acl.type.mjs +0 -0
  91. package/esm2020/config/auth/auth.type.mjs +0 -0
  92. package/esm2020/config/bis/bis.type.mjs +0 -0
  93. package/esm2020/config/cache/cache.type.mjs +0 -0
  94. package/esm2020/config/chart/chart.type.mjs +0 -0
  95. package/esm2020/config/config.mjs +0 -0
  96. package/esm2020/config/config.service.mjs +3 -3
  97. package/esm2020/config/config.types.mjs +0 -0
  98. package/esm2020/config/index.mjs +0 -0
  99. package/esm2020/config/mock/mock.type.mjs +0 -0
  100. package/esm2020/config/sf/sf.type.mjs +0 -0
  101. package/esm2020/config/stomp/stomp.type.mjs +0 -0
  102. package/esm2020/config/theme/http.type.mjs +0 -0
  103. package/esm2020/config/theme/i18n.type.mjs +0 -0
  104. package/esm2020/config/theme/index.mjs +0 -0
  105. package/esm2020/config/theme/responsive.type.mjs +0 -0
  106. package/esm2020/config/util/array.type.mjs +0 -0
  107. package/esm2020/config/util/currency.type.mjs +0 -0
  108. package/esm2020/date-time/date-time.mjs +0 -0
  109. package/esm2020/date-time/index.mjs +0 -0
  110. package/esm2020/date-time/picker.mjs +0 -0
  111. package/esm2020/date-time/time.mjs +7 -6
  112. package/esm2020/decorator/convert.mjs +0 -0
  113. package/esm2020/decorator/decorator.mjs +0 -0
  114. package/esm2020/decorator/index.mjs +0 -0
  115. package/esm2020/decorator/zone-outside.mjs +0 -0
  116. package/esm2020/form/form.mjs +0 -0
  117. package/esm2020/form/index.mjs +0 -0
  118. package/esm2020/form/match-control.mjs +0 -0
  119. package/esm2020/form/validators.mjs +0 -0
  120. package/esm2020/format/currency.service.mjs +3 -3
  121. package/esm2020/format/currency.types.mjs +0 -0
  122. package/esm2020/format/format.mjs +0 -0
  123. package/esm2020/format/index.mjs +0 -0
  124. package/esm2020/format/string.mjs +0 -0
  125. package/esm2020/format/validate.mjs +0 -0
  126. package/esm2020/index.mjs +0 -0
  127. package/esm2020/math/in-range.mjs +0 -0
  128. package/esm2020/math/index.mjs +0 -0
  129. package/esm2020/math/math.mjs +0 -0
  130. package/esm2020/math/round.mjs +0 -0
  131. package/esm2020/other/assert.mjs +0 -0
  132. package/esm2020/other/deep.mjs +0 -0
  133. package/esm2020/other/index.mjs +0 -0
  134. package/esm2020/other/lazy.service.mjs +3 -3
  135. package/esm2020/other/logger.mjs +0 -0
  136. package/esm2020/other/other.mjs +0 -0
  137. package/esm2020/other/resize.mjs +0 -0
  138. package/esm2020/other/url.mjs +0 -0
  139. package/esm2020/pipes/currency/cny.pipe.mjs +3 -3
  140. package/esm2020/pipes/currency/index.mjs +0 -0
  141. package/esm2020/pipes/currency/mega.pipe.mjs +3 -3
  142. package/esm2020/pipes/currency/module.mjs +4 -4
  143. package/esm2020/pipes/currency/pipe-currency.mjs +0 -0
  144. package/esm2020/pipes/currency/price.pipe.mjs +3 -3
  145. package/esm2020/pipes/filter/filter.pipe.mjs +3 -3
  146. package/esm2020/pipes/filter/index.mjs +0 -0
  147. package/esm2020/pipes/filter/module.mjs +4 -4
  148. package/esm2020/pipes/filter/pipe-filter.mjs +0 -0
  149. package/esm2020/pipes/format/index.mjs +0 -0
  150. package/esm2020/pipes/format/mask.pipe.mjs +3 -3
  151. package/esm2020/pipes/format/module.mjs +4 -4
  152. package/esm2020/pipes/format/pipe-format.mjs +0 -0
  153. package/esm2020/pipes/index.mjs +0 -0
  154. package/esm2020/pipes/pipes.mjs +0 -0
  155. package/esm2020/token/index.mjs +0 -0
  156. package/esm2020/token/page-visibility.mjs +0 -0
  157. package/esm2020/token/token.mjs +0 -0
  158. package/esm2020/token/window.mjs +0 -0
  159. package/esm2020/yelon-util.mjs +0 -0
  160. package/fesm2015/array.mjs +3 -3
  161. package/fesm2015/array.mjs.map +0 -0
  162. package/fesm2015/browser.mjs +6 -6
  163. package/fesm2015/browser.mjs.map +0 -0
  164. package/fesm2015/config.mjs +3 -3
  165. package/fesm2015/config.mjs.map +0 -0
  166. package/fesm2015/date-time.mjs +6 -5
  167. package/fesm2015/date-time.mjs.map +1 -1
  168. package/fesm2015/decorator.mjs +0 -0
  169. package/fesm2015/decorator.mjs.map +0 -0
  170. package/fesm2015/form.mjs +0 -0
  171. package/fesm2015/form.mjs.map +0 -0
  172. package/fesm2015/format.mjs +3 -3
  173. package/fesm2015/format.mjs.map +0 -0
  174. package/fesm2015/math.mjs +0 -0
  175. package/fesm2015/math.mjs.map +0 -0
  176. package/fesm2015/other.mjs +3 -3
  177. package/fesm2015/other.mjs.map +0 -0
  178. package/fesm2015/pipe-currency.mjs +13 -13
  179. package/fesm2015/pipe-currency.mjs.map +0 -0
  180. package/fesm2015/pipe-filter.mjs +7 -7
  181. package/fesm2015/pipe-filter.mjs.map +0 -0
  182. package/fesm2015/pipe-format.mjs +7 -7
  183. package/fesm2015/pipe-format.mjs.map +0 -0
  184. package/fesm2015/pipes.mjs +0 -0
  185. package/fesm2015/pipes.mjs.map +0 -0
  186. package/fesm2015/token.mjs +0 -0
  187. package/fesm2015/token.mjs.map +0 -0
  188. package/fesm2015/yelon-util.mjs +0 -0
  189. package/fesm2015/yelon-util.mjs.map +0 -0
  190. package/fesm2020/array.mjs +3 -3
  191. package/fesm2020/array.mjs.map +0 -0
  192. package/fesm2020/browser.mjs +6 -6
  193. package/fesm2020/browser.mjs.map +0 -0
  194. package/fesm2020/config.mjs +3 -3
  195. package/fesm2020/config.mjs.map +0 -0
  196. package/fesm2020/date-time.mjs +6 -5
  197. package/fesm2020/date-time.mjs.map +1 -1
  198. package/fesm2020/decorator.mjs +0 -0
  199. package/fesm2020/decorator.mjs.map +0 -0
  200. package/fesm2020/form.mjs +0 -0
  201. package/fesm2020/form.mjs.map +0 -0
  202. package/fesm2020/format.mjs +3 -3
  203. package/fesm2020/format.mjs.map +0 -0
  204. package/fesm2020/math.mjs +0 -0
  205. package/fesm2020/math.mjs.map +0 -0
  206. package/fesm2020/other.mjs +3 -3
  207. package/fesm2020/other.mjs.map +0 -0
  208. package/fesm2020/pipe-currency.mjs +13 -13
  209. package/fesm2020/pipe-currency.mjs.map +0 -0
  210. package/fesm2020/pipe-filter.mjs +7 -7
  211. package/fesm2020/pipe-filter.mjs.map +0 -0
  212. package/fesm2020/pipe-format.mjs +7 -7
  213. package/fesm2020/pipe-format.mjs.map +0 -0
  214. package/fesm2020/pipes.mjs +0 -0
  215. package/fesm2020/pipes.mjs.map +0 -0
  216. package/fesm2020/token.mjs +0 -0
  217. package/fesm2020/token.mjs.map +0 -0
  218. package/fesm2020/yelon-util.mjs +0 -0
  219. package/fesm2020/yelon-util.mjs.map +0 -0
  220. package/form/form.d.ts +0 -0
  221. package/form/index.d.ts +0 -0
  222. package/form/match-control.d.ts +0 -0
  223. package/form/package.json +0 -0
  224. package/form/validators.d.ts +0 -0
  225. package/format/currency.service.d.ts +0 -0
  226. package/format/currency.types.d.ts +0 -0
  227. package/format/format.d.ts +0 -0
  228. package/format/index.d.ts +0 -0
  229. package/format/package.json +0 -0
  230. package/format/string.d.ts +0 -0
  231. package/format/validate.d.ts +0 -0
  232. package/index.d.ts +0 -0
  233. package/math/in-range.d.ts +0 -0
  234. package/math/index.d.ts +0 -0
  235. package/math/math.d.ts +0 -0
  236. package/math/package.json +0 -0
  237. package/math/round.d.ts +0 -0
  238. package/other/assert.d.ts +0 -0
  239. package/other/deep.d.ts +0 -0
  240. package/other/index.d.ts +0 -0
  241. package/other/lazy.service.d.ts +0 -0
  242. package/other/logger.d.ts +0 -0
  243. package/other/other.d.ts +0 -0
  244. package/other/package.json +0 -0
  245. package/other/resize.d.ts +0 -0
  246. package/other/url.d.ts +0 -0
  247. package/package.json +1 -1
  248. package/pipes/currency/cny.pipe.d.ts +0 -0
  249. package/pipes/currency/index.d.ts +0 -0
  250. package/pipes/currency/mega.pipe.d.ts +0 -0
  251. package/pipes/currency/module.d.ts +0 -0
  252. package/pipes/currency/package.json +0 -0
  253. package/pipes/currency/pipe-currency.d.ts +0 -0
  254. package/pipes/currency/price.pipe.d.ts +0 -0
  255. package/pipes/filter/filter.pipe.d.ts +0 -0
  256. package/pipes/filter/index.d.ts +0 -0
  257. package/pipes/filter/module.d.ts +0 -0
  258. package/pipes/filter/package.json +0 -0
  259. package/pipes/filter/pipe-filter.d.ts +0 -0
  260. package/pipes/format/index.d.ts +0 -0
  261. package/pipes/format/mask.pipe.d.ts +0 -0
  262. package/pipes/format/module.d.ts +0 -0
  263. package/pipes/format/package.json +0 -0
  264. package/pipes/format/pipe-format.d.ts +0 -0
  265. package/pipes/index.d.ts +0 -0
  266. package/pipes/package.json +0 -0
  267. package/pipes/pipes.d.ts +0 -0
  268. package/token/index.d.ts +0 -0
  269. package/token/package.json +0 -0
  270. package/token/page-visibility.d.ts +0 -0
  271. package/token/token.d.ts +0 -0
  272. package/token/window.d.ts +0 -0
  273. package/yelon-util.d.ts +0 -0
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
File without changes
package/array/array.d.ts CHANGED
File without changes
File without changes
package/array/index.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
package/browser/copy.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/config/index.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,8 +6,11 @@ import type { NzSafeAny } from 'ng-zorro-antd/core/types';
6
6
  *
7
7
  * @param type 类型,带 `-` 表示过去一个时间,若指定 `number` 表示天数
8
8
  * @param time 开始时间
9
+ * @param ignoreMaxTime 忽略追加结束日期的最大时间值
9
10
  */
10
- export declare function getTimeDistance(type: 'today' | '-today' | 'yesterday' | 'week' | '-week' | 'month' | '-month' | 'year' | '-year' | number, time?: Date | string | number): [Date, Date];
11
+ export declare function getTimeDistance(type: 'today' | '-today' | 'yesterday' | 'week' | '-week' | 'month' | '-month' | 'year' | '-year' | number, time?: Date | string | number, options?: {
12
+ ignoreMaxTime?: boolean;
13
+ }): [Date, Date];
11
14
  /**
12
15
  * fix time is the most, big value
13
16
  */
@@ -23,4 +26,4 @@ export declare type ToDateOptions = string | {
23
26
  * @param formatString If parsing fails try to parse the date by pressing `formatString`
24
27
  * @param defaultValue If parsing fails returned default value, default: `new Date(NaN)`
25
28
  */
26
- export declare function toDate(value: Date | string | number, options?: ToDateOptions): Date;
29
+ export declare function toDate(value?: Date | string | number | null, options?: ToDateOptions): Date;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -269,9 +269,9 @@ export class ArrayService {
269
269
  .values());
270
270
  }
271
271
  }
272
- ArrayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
273
- ArrayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ArrayService, providedIn: 'root' });
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ArrayService, decorators: [{
272
+ ArrayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ArrayService, deps: [{ token: i1.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
273
+ ArrayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ArrayService, providedIn: 'root' });
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ArrayService, decorators: [{
275
275
  type: Injectable,
276
276
  args: [{ providedIn: 'root' }]
277
277
  }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }]; } });
File without changes
File without changes
@@ -91,9 +91,9 @@ export class CookieService {
91
91
  this.doc.cookie = '';
92
92
  }
93
93
  }
94
- CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
95
- CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CookieService, providedIn: 'root' });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CookieService, decorators: [{
94
+ CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
95
+ CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CookieService, providedIn: 'root' });
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CookieService, decorators: [{
97
97
  type: Injectable,
98
98
  args: [{ providedIn: 'root' }]
99
99
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
File without changes
File without changes
File without changes
@@ -76,9 +76,9 @@ export class ScrollService {
76
76
  this.scrollToElement(this._getDoc().body, topOffset);
77
77
  }
78
78
  }
79
- ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
80
- ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollService, providedIn: 'root' });
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ScrollService, decorators: [{
79
+ ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ScrollService, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
80
+ ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ScrollService, providedIn: 'root' });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: ScrollService, decorators: [{
82
82
  type: Injectable,
83
83
  args: [{ providedIn: 'root' }]
84
84
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -23,9 +23,9 @@ export class YunzaiConfigService {
23
23
  this.config[componentName] = { ...this.config[componentName], ...value };
24
24
  }
25
25
  }
26
- YunzaiConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiConfigService, deps: [{ token: YUNZAI_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
27
- YunzaiConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: YunzaiConfigService, decorators: [{
26
+ YunzaiConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: YunzaiConfigService, deps: [{ token: YUNZAI_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
27
+ YunzaiConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: YunzaiConfigService, providedIn: 'root' });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: YunzaiConfigService, decorators: [{
29
29
  type: Injectable,
30
30
  args: [{ providedIn: 'root' }]
31
31
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,14 +6,15 @@ import { addDays, endOfDay, endOfMonth, endOfWeek, endOfYear, parse, parseISO, s
6
6
  *
7
7
  * @param type 类型,带 `-` 表示过去一个时间,若指定 `number` 表示天数
8
8
  * @param time 开始时间
9
+ * @param ignoreMaxTime 忽略追加结束日期的最大时间值
9
10
  */
10
- export function getTimeDistance(type, time) {
11
+ export function getTimeDistance(type, time, options) {
11
12
  time = time
12
13
  ? typeof time === 'string'
13
14
  ? parse(time, 'yyyy-MM-dd HH:mm:ss', new Date())
14
15
  : new Date(time)
15
16
  : new Date();
16
- const options = { weekStartsOn: 1 };
17
+ const opt = { weekStartsOn: 1 };
17
18
  let res;
18
19
  switch (type) {
19
20
  case 'today':
@@ -26,10 +27,10 @@ export function getTimeDistance(type, time) {
26
27
  res = [addDays(time, -1), addDays(time, -1)];
27
28
  break;
28
29
  case 'week':
29
- res = [startOfWeek(time, options), endOfWeek(time, options)];
30
+ res = [startOfWeek(time, opt), endOfWeek(time, opt)];
30
31
  break;
31
32
  case '-week':
32
- res = [startOfWeek(subWeeks(time, 1), options), endOfWeek(subWeeks(time, 1), options)];
33
+ res = [startOfWeek(subWeeks(time, 1), opt), endOfWeek(subWeeks(time, 1), opt)];
33
34
  break;
34
35
  case 'month':
35
36
  res = [startOfMonth(time), endOfMonth(time)];
@@ -47,7 +48,7 @@ export function getTimeDistance(type, time) {
47
48
  res = type > 0 ? [time, addDays(time, type)] : [addDays(time, type), time];
48
49
  break;
49
50
  }
50
- return fixEndTimeOfRange(res);
51
+ return options?.ignoreMaxTime ? res : fixEndTimeOfRange(res);
51
52
  }
52
53
  /**
53
54
  * fix time is the most, big value
@@ -85,4 +86,4 @@ export function toDate(value, options) {
85
86
  }
86
87
  return isNaN(tryDate) ? defaultValue : tryDate;
87
88
  }
88
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3V0aWwvZGF0ZS10aW1lL3RpbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLE9BQU8sRUFDUCxRQUFRLEVBQ1IsVUFBVSxFQUNWLFNBQVMsRUFDVCxTQUFTLEVBQ1QsS0FBSyxFQUNMLFFBQVEsRUFDUixVQUFVLEVBQ1YsWUFBWSxFQUNaLFdBQVcsRUFDWCxXQUFXLEVBQ1gsU0FBUyxFQUNULFFBQVEsRUFDUixRQUFRLEVBQ1QsTUFBTSxVQUFVLENBQUM7QUFJbEI7Ozs7Ozs7R0FPRztBQUNILE1BQU0sVUFBVSxlQUFlLENBQzdCLElBQTBHLEVBQzFHLElBQTZCO0lBRTdCLElBQUksR0FBRyxJQUFJO1FBQ1QsQ0FBQyxDQUFDLE9BQU8sSUFBSSxLQUFLLFFBQVE7WUFDeEIsQ0FBQyxDQUFDLEtBQUssQ0FBQyxJQUFJLEVBQUUscUJBQXFCLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQztZQUNoRCxDQUFDLENBQUMsSUFBSSxJQUFJLENBQUMsSUFBSSxDQUFDO1FBQ2xCLENBQUMsQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQ2Y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XG4gIGlmIChpc05hTih0cnlEYXRlIGFzIE56U2FmZUFueSkpIHtcbiAgICB0cnlEYXRlID0gcGFyc2UodmFsdWUsIGZvcm1hdFN0cmluZyEsIG5ldyBEYXRlKCkpO1xuICB9XG5cbiAgcmV0dXJuIGlzTmFOKHRyeURhdGUgYXMgTnpTYWZlQW55KSA/IGRlZmF1bHRWYWx1ZSA6IHRyeURhdGU7XG59XG4iXX0=
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -223,9 +223,9 @@ export class CurrencyService {
223
223
  return ret;
224
224
  }
225
225
  }
226
- CurrencyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable });
227
- CurrencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyService, providedIn: 'root' });
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyService, decorators: [{
226
+ CurrencyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyService, deps: [{ token: i1.YunzaiConfigService }, { token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Injectable });
227
+ CurrencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyService, providedIn: 'root' });
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyService, decorators: [{
229
229
  type: Injectable,
230
230
  args: [{ providedIn: 'root' }]
231
231
  }], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }, { type: undefined, decorators: [{
File without changes
File without changes
File without changes
File without changes
File without changes
package/esm2020/index.mjs CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -92,9 +92,9 @@ export class LazyService {
92
92
  });
93
93
  }
94
94
  }
95
- LazyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LazyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
96
- LazyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LazyService, providedIn: 'root' });
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: LazyService, decorators: [{
95
+ LazyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
96
+ LazyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, providedIn: 'root' });
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, decorators: [{
98
98
  type: Injectable,
99
99
  args: [{ providedIn: 'root' }]
100
100
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
File without changes
File without changes
File without changes
File without changes
@@ -14,9 +14,9 @@ export class CurrencyCNYPipe {
14
14
  return this.srv.cny(value, options);
15
15
  }
16
16
  }
17
- CurrencyCNYPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
18
- CurrencyCNYPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyCNYPipe, name: "cny" });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
17
+ CurrencyCNYPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
18
+ CurrencyCNYPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, name: "cny" });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
20
20
  type: Pipe,
21
21
  args: [{ name: 'cny' }]
22
22
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
File without changes
@@ -17,9 +17,9 @@ export class CurrencyMegaPipe {
17
17
  return res.value + (this.isCN ? res.unitI18n : res.unit);
18
18
  }
19
19
  }
20
- CurrencyMegaPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyMegaPipe, deps: [{ token: i1.CurrencyService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
21
- CurrencyMegaPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyMegaPipe, name: "mega" });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
20
+ CurrencyMegaPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyMegaPipe, deps: [{ token: i1.CurrencyService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
21
+ CurrencyMegaPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyMegaPipe, name: "mega" });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
23
23
  type: Pipe,
24
24
  args: [{ name: 'mega' }]
25
25
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }, { type: undefined, decorators: [{
@@ -6,10 +6,10 @@ import * as i0 from "@angular/core";
6
6
  const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
7
7
  export class CurrencyPipeModule {
8
8
  }
9
- CurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- CurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] });
11
- CurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPipeModule });
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPipeModule, decorators: [{
9
+ CurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ CurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] });
11
+ CurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  declarations: PIPES,
File without changes
@@ -18,9 +18,9 @@ export class CurrencyPricePipe {
18
18
  return this.srv.format(value, options);
19
19
  }
20
20
  }
21
- CurrencyPricePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
22
- CurrencyPricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPricePipe, name: "price" });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: CurrencyPricePipe, decorators: [{
21
+ CurrencyPricePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
22
+ CurrencyPricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, name: "price" });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, decorators: [{
24
24
  type: Pipe,
25
25
  args: [{ name: 'price' }]
26
26
  }], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });