@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.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/array/array-type.service.d.ts +0 -0
- package/array/array.d.ts +0 -0
- package/array/array.service.d.ts +0 -0
- package/array/index.d.ts +0 -0
- package/array/package.json +0 -0
- package/browser/browser.d.ts +0 -0
- package/browser/cookie.service.d.ts +0 -0
- package/browser/copy.d.ts +0 -0
- package/browser/index.d.ts +0 -0
- package/browser/is-empty.d.ts +0 -0
- package/browser/package.json +0 -0
- package/browser/scroll.service.d.ts +0 -0
- package/browser/style.d.ts +0 -0
- package/config/abc/date-picker.type.d.ts +0 -0
- package/config/abc/error-collect.type.d.ts +0 -0
- package/config/abc/image.type.d.ts +0 -0
- package/config/abc/index.d.ts +0 -0
- package/config/abc/loading.type.d.ts +0 -0
- package/config/abc/lodop.type.d.ts +0 -0
- package/config/abc/media.type.d.ts +0 -0
- package/config/abc/onboarding.type.d.ts +0 -0
- package/config/abc/page-header.type.d.ts +0 -0
- package/config/abc/pdf.type.d.ts +0 -0
- package/config/abc/qr.type.d.ts +0 -0
- package/config/abc/se.type.d.ts +0 -0
- package/config/abc/sg.type.d.ts +0 -0
- package/config/abc/st.type.d.ts +0 -0
- package/config/abc/sv.type.d.ts +0 -0
- package/config/abc/xlsx.type.d.ts +0 -0
- package/config/abc/zip.type.d.ts +0 -0
- package/config/acl/acl.type.d.ts +0 -0
- package/config/auth/auth.type.d.ts +0 -0
- package/config/bis/bis.type.d.ts +0 -0
- package/config/cache/cache.type.d.ts +0 -0
- package/config/chart/chart.type.d.ts +0 -0
- package/config/config.d.ts +0 -0
- package/config/config.service.d.ts +0 -0
- package/config/config.types.d.ts +0 -0
- package/config/index.d.ts +0 -0
- package/config/mock/mock.type.d.ts +0 -0
- package/config/package.json +0 -0
- package/config/sf/sf.type.d.ts +0 -0
- package/config/stomp/stomp.type.d.ts +0 -0
- package/config/theme/http.type.d.ts +0 -0
- package/config/theme/i18n.type.d.ts +0 -0
- package/config/theme/index.d.ts +0 -0
- package/config/theme/responsive.type.d.ts +0 -0
- package/config/util/array.type.d.ts +0 -0
- package/config/util/currency.type.d.ts +0 -0
- package/date-time/date-time.d.ts +0 -0
- package/date-time/index.d.ts +0 -0
- package/date-time/package.json +0 -0
- package/date-time/picker.d.ts +0 -0
- package/date-time/time.d.ts +5 -2
- package/decorator/convert.d.ts +0 -0
- package/decorator/decorator.d.ts +0 -0
- package/decorator/index.d.ts +0 -0
- package/decorator/package.json +0 -0
- package/decorator/zone-outside.d.ts +0 -0
- package/esm2020/array/array-type.service.mjs +0 -0
- package/esm2020/array/array.mjs +0 -0
- package/esm2020/array/array.service.mjs +3 -3
- package/esm2020/array/index.mjs +0 -0
- package/esm2020/browser/browser.mjs +0 -0
- package/esm2020/browser/cookie.service.mjs +3 -3
- package/esm2020/browser/copy.mjs +0 -0
- package/esm2020/browser/index.mjs +0 -0
- package/esm2020/browser/is-empty.mjs +0 -0
- package/esm2020/browser/scroll.service.mjs +3 -3
- package/esm2020/browser/style.mjs +0 -0
- package/esm2020/config/abc/date-picker.type.mjs +0 -0
- package/esm2020/config/abc/error-collect.type.mjs +0 -0
- package/esm2020/config/abc/image.type.mjs +0 -0
- package/esm2020/config/abc/index.mjs +0 -0
- package/esm2020/config/abc/loading.type.mjs +0 -0
- package/esm2020/config/abc/lodop.type.mjs +0 -0
- package/esm2020/config/abc/media.type.mjs +0 -0
- package/esm2020/config/abc/onboarding.type.mjs +0 -0
- package/esm2020/config/abc/page-header.type.mjs +0 -0
- package/esm2020/config/abc/pdf.type.mjs +0 -0
- package/esm2020/config/abc/qr.type.mjs +0 -0
- package/esm2020/config/abc/se.type.mjs +0 -0
- package/esm2020/config/abc/sg.type.mjs +0 -0
- package/esm2020/config/abc/st.type.mjs +0 -0
- package/esm2020/config/abc/sv.type.mjs +0 -0
- package/esm2020/config/abc/xlsx.type.mjs +0 -0
- package/esm2020/config/abc/zip.type.mjs +0 -0
- package/esm2020/config/acl/acl.type.mjs +0 -0
- package/esm2020/config/auth/auth.type.mjs +0 -0
- package/esm2020/config/bis/bis.type.mjs +0 -0
- package/esm2020/config/cache/cache.type.mjs +0 -0
- package/esm2020/config/chart/chart.type.mjs +0 -0
- package/esm2020/config/config.mjs +0 -0
- package/esm2020/config/config.service.mjs +3 -3
- package/esm2020/config/config.types.mjs +0 -0
- package/esm2020/config/index.mjs +0 -0
- package/esm2020/config/mock/mock.type.mjs +0 -0
- package/esm2020/config/sf/sf.type.mjs +0 -0
- package/esm2020/config/stomp/stomp.type.mjs +0 -0
- package/esm2020/config/theme/http.type.mjs +0 -0
- package/esm2020/config/theme/i18n.type.mjs +0 -0
- package/esm2020/config/theme/index.mjs +0 -0
- package/esm2020/config/theme/responsive.type.mjs +0 -0
- package/esm2020/config/util/array.type.mjs +0 -0
- package/esm2020/config/util/currency.type.mjs +0 -0
- package/esm2020/date-time/date-time.mjs +0 -0
- package/esm2020/date-time/index.mjs +0 -0
- package/esm2020/date-time/picker.mjs +0 -0
- package/esm2020/date-time/time.mjs +7 -6
- package/esm2020/decorator/convert.mjs +0 -0
- package/esm2020/decorator/decorator.mjs +0 -0
- package/esm2020/decorator/index.mjs +0 -0
- package/esm2020/decorator/zone-outside.mjs +0 -0
- package/esm2020/form/form.mjs +0 -0
- package/esm2020/form/index.mjs +0 -0
- package/esm2020/form/match-control.mjs +0 -0
- package/esm2020/form/validators.mjs +0 -0
- package/esm2020/format/currency.service.mjs +3 -3
- package/esm2020/format/currency.types.mjs +0 -0
- package/esm2020/format/format.mjs +0 -0
- package/esm2020/format/index.mjs +0 -0
- package/esm2020/format/string.mjs +0 -0
- package/esm2020/format/validate.mjs +0 -0
- package/esm2020/index.mjs +0 -0
- package/esm2020/math/in-range.mjs +0 -0
- package/esm2020/math/index.mjs +0 -0
- package/esm2020/math/math.mjs +0 -0
- package/esm2020/math/round.mjs +0 -0
- package/esm2020/other/assert.mjs +0 -0
- package/esm2020/other/deep.mjs +0 -0
- package/esm2020/other/index.mjs +0 -0
- package/esm2020/other/lazy.service.mjs +3 -3
- package/esm2020/other/logger.mjs +0 -0
- package/esm2020/other/other.mjs +0 -0
- package/esm2020/other/resize.mjs +0 -0
- package/esm2020/other/url.mjs +0 -0
- package/esm2020/pipes/currency/cny.pipe.mjs +3 -3
- package/esm2020/pipes/currency/index.mjs +0 -0
- package/esm2020/pipes/currency/mega.pipe.mjs +3 -3
- package/esm2020/pipes/currency/module.mjs +4 -4
- package/esm2020/pipes/currency/pipe-currency.mjs +0 -0
- package/esm2020/pipes/currency/price.pipe.mjs +3 -3
- package/esm2020/pipes/filter/filter.pipe.mjs +3 -3
- package/esm2020/pipes/filter/index.mjs +0 -0
- package/esm2020/pipes/filter/module.mjs +4 -4
- package/esm2020/pipes/filter/pipe-filter.mjs +0 -0
- package/esm2020/pipes/format/index.mjs +0 -0
- package/esm2020/pipes/format/mask.pipe.mjs +3 -3
- package/esm2020/pipes/format/module.mjs +4 -4
- package/esm2020/pipes/format/pipe-format.mjs +0 -0
- package/esm2020/pipes/index.mjs +0 -0
- package/esm2020/pipes/pipes.mjs +0 -0
- package/esm2020/token/index.mjs +0 -0
- package/esm2020/token/page-visibility.mjs +0 -0
- package/esm2020/token/token.mjs +0 -0
- package/esm2020/token/window.mjs +0 -0
- package/esm2020/yelon-util.mjs +0 -0
- package/fesm2015/array.mjs +3 -3
- package/fesm2015/array.mjs.map +0 -0
- package/fesm2015/browser.mjs +6 -6
- package/fesm2015/browser.mjs.map +0 -0
- package/fesm2015/config.mjs +3 -3
- package/fesm2015/config.mjs.map +0 -0
- package/fesm2015/date-time.mjs +6 -5
- package/fesm2015/date-time.mjs.map +1 -1
- package/fesm2015/decorator.mjs +0 -0
- package/fesm2015/decorator.mjs.map +0 -0
- package/fesm2015/form.mjs +0 -0
- package/fesm2015/form.mjs.map +0 -0
- package/fesm2015/format.mjs +3 -3
- package/fesm2015/format.mjs.map +0 -0
- package/fesm2015/math.mjs +0 -0
- package/fesm2015/math.mjs.map +0 -0
- package/fesm2015/other.mjs +3 -3
- package/fesm2015/other.mjs.map +0 -0
- package/fesm2015/pipe-currency.mjs +13 -13
- package/fesm2015/pipe-currency.mjs.map +0 -0
- package/fesm2015/pipe-filter.mjs +7 -7
- package/fesm2015/pipe-filter.mjs.map +0 -0
- package/fesm2015/pipe-format.mjs +7 -7
- package/fesm2015/pipe-format.mjs.map +0 -0
- package/fesm2015/pipes.mjs +0 -0
- package/fesm2015/pipes.mjs.map +0 -0
- package/fesm2015/token.mjs +0 -0
- package/fesm2015/token.mjs.map +0 -0
- package/fesm2015/yelon-util.mjs +0 -0
- package/fesm2015/yelon-util.mjs.map +0 -0
- package/fesm2020/array.mjs +3 -3
- package/fesm2020/array.mjs.map +0 -0
- package/fesm2020/browser.mjs +6 -6
- package/fesm2020/browser.mjs.map +0 -0
- package/fesm2020/config.mjs +3 -3
- package/fesm2020/config.mjs.map +0 -0
- package/fesm2020/date-time.mjs +6 -5
- package/fesm2020/date-time.mjs.map +1 -1
- package/fesm2020/decorator.mjs +0 -0
- package/fesm2020/decorator.mjs.map +0 -0
- package/fesm2020/form.mjs +0 -0
- package/fesm2020/form.mjs.map +0 -0
- package/fesm2020/format.mjs +3 -3
- package/fesm2020/format.mjs.map +0 -0
- package/fesm2020/math.mjs +0 -0
- package/fesm2020/math.mjs.map +0 -0
- package/fesm2020/other.mjs +3 -3
- package/fesm2020/other.mjs.map +0 -0
- package/fesm2020/pipe-currency.mjs +13 -13
- package/fesm2020/pipe-currency.mjs.map +0 -0
- package/fesm2020/pipe-filter.mjs +7 -7
- package/fesm2020/pipe-filter.mjs.map +0 -0
- package/fesm2020/pipe-format.mjs +7 -7
- package/fesm2020/pipe-format.mjs.map +0 -0
- package/fesm2020/pipes.mjs +0 -0
- package/fesm2020/pipes.mjs.map +0 -0
- package/fesm2020/token.mjs +0 -0
- package/fesm2020/token.mjs.map +0 -0
- package/fesm2020/yelon-util.mjs +0 -0
- package/fesm2020/yelon-util.mjs.map +0 -0
- package/form/form.d.ts +0 -0
- package/form/index.d.ts +0 -0
- package/form/match-control.d.ts +0 -0
- package/form/package.json +0 -0
- package/form/validators.d.ts +0 -0
- package/format/currency.service.d.ts +0 -0
- package/format/currency.types.d.ts +0 -0
- package/format/format.d.ts +0 -0
- package/format/index.d.ts +0 -0
- package/format/package.json +0 -0
- package/format/string.d.ts +0 -0
- package/format/validate.d.ts +0 -0
- package/index.d.ts +0 -0
- package/math/in-range.d.ts +0 -0
- package/math/index.d.ts +0 -0
- package/math/math.d.ts +0 -0
- package/math/package.json +0 -0
- package/math/round.d.ts +0 -0
- package/other/assert.d.ts +0 -0
- package/other/deep.d.ts +0 -0
- package/other/index.d.ts +0 -0
- package/other/lazy.service.d.ts +0 -0
- package/other/logger.d.ts +0 -0
- package/other/other.d.ts +0 -0
- package/other/package.json +0 -0
- package/other/resize.d.ts +0 -0
- package/other/url.d.ts +0 -0
- package/package.json +1 -1
- package/pipes/currency/cny.pipe.d.ts +0 -0
- package/pipes/currency/index.d.ts +0 -0
- package/pipes/currency/mega.pipe.d.ts +0 -0
- package/pipes/currency/module.d.ts +0 -0
- package/pipes/currency/package.json +0 -0
- package/pipes/currency/pipe-currency.d.ts +0 -0
- package/pipes/currency/price.pipe.d.ts +0 -0
- package/pipes/filter/filter.pipe.d.ts +0 -0
- package/pipes/filter/index.d.ts +0 -0
- package/pipes/filter/module.d.ts +0 -0
- package/pipes/filter/package.json +0 -0
- package/pipes/filter/pipe-filter.d.ts +0 -0
- package/pipes/format/index.d.ts +0 -0
- package/pipes/format/mask.pipe.d.ts +0 -0
- package/pipes/format/module.d.ts +0 -0
- package/pipes/format/package.json +0 -0
- package/pipes/format/pipe-format.d.ts +0 -0
- package/pipes/index.d.ts +0 -0
- package/pipes/package.json +0 -0
- package/pipes/pipes.d.ts +0 -0
- package/token/index.d.ts +0 -0
- package/token/package.json +0 -0
- package/token/page-visibility.d.ts +0 -0
- package/token/token.d.ts +0 -0
- package/token/window.d.ts +0 -0
- package/yelon-util.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"date-time.mjs","sources":["../../../../packages/util/date-time/time.ts","../../../../packages/util/date-time/picker.ts","../../../../packages/util/date-time/date-time.ts"],"sourcesContent":["import {\n addDays,\n endOfDay,\n endOfMonth,\n endOfWeek,\n endOfYear,\n parse,\n parseISO,\n startOfDay,\n startOfMonth,\n startOfWeek,\n startOfYear,\n subMonths,\n subWeeks,\n subYears\n} from 'date-fns';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n/**\n * Get the time range, return `[ Date, Date]` for the start and end dates\n *\n * 获取时间范围\n *\n * @param type 类型,带 `-` 表示过去一个时间,若指定 `number` 表示天数\n * @param time 开始时间\n */\nexport function getTimeDistance(\n type: 'today' | '-today' | 'yesterday' | 'week' | '-week' | 'month' | '-month' | 'year' | '-year' | number,\n time?: Date | string | number\n): [Date, Date] {\n time = time\n ? typeof time === 'string'\n ? parse(time, 'yyyy-MM-dd HH:mm:ss', new Date())\n : new Date(time)\n : new Date();\n const options: { weekStartsOn: 1 } = { weekStartsOn: 1 };\n\n let res: [Date, Date];\n switch (type) {\n case 'today':\n res = [time, time];\n break;\n case '-today':\n res = [addDays(time, -1), time];\n break;\n case 'yesterday':\n res = [addDays(time, -1), addDays(time, -1)];\n break;\n case 'week':\n res = [startOfWeek(time, options), endOfWeek(time, options)];\n break;\n case '-week':\n res = [startOfWeek(subWeeks(time, 1), options), endOfWeek(subWeeks(time, 1), options)];\n break;\n case 'month':\n res = [startOfMonth(time), endOfMonth(time)];\n break;\n case '-month':\n res = [startOfMonth(subMonths(time, 1)), endOfMonth(subMonths(time, 1))];\n break;\n case 'year':\n res = [startOfYear(time), endOfYear(time)];\n break;\n case '-year':\n res = [startOfYear(subYears(time, 1)), endOfYear(subYears(time, 1))];\n break;\n default:\n res = type > 0 ? [time, addDays(time, type)] : [addDays(time, type), time];\n break;\n }\n return fixEndTimeOfRange(res);\n}\n\n/**\n * fix time is the most, big value\n */\nexport function fixEndTimeOfRange(dates: [Date, Date]): [Date, Date] {\n return [startOfDay(dates[0]), endOfDay(dates[1])];\n}\n\nexport type ToDateOptions = string | { formatString?: string; defaultValue?: NzSafeAny };\n\n/**\n * Return the date parsed from string using the given format string\n * - If the argument is a number, it is treated as a timestamp.\n *\n * @param formatString If parsing fails try to parse the date by pressing `formatString`\n * @param defaultValue If parsing fails returned default value, default: `new Date(NaN)`\n */\nexport function toDate(value: Date | string | number, options?: ToDateOptions): Date {\n if (typeof options === 'string') options = { formatString: options };\n const { formatString, defaultValue } = {\n formatString: 'yyyy-MM-dd HH:mm:ss',\n defaultValue: new Date(NaN),\n ...options\n };\n if (value == null) {\n return defaultValue;\n }\n if (value instanceof Date) {\n return value;\n }\n if (typeof value === 'number' || (typeof value === 'string' && /[0-9]{10,13}/.test(value))) {\n return new Date(+value);\n }\n let tryDate = parseISO(value);\n if (isNaN(tryDate as NzSafeAny)) {\n tryDate = parse(value, formatString!, new Date());\n }\n\n return isNaN(tryDate as NzSafeAny) ? defaultValue : tryDate;\n}\n","import { addDays, addSeconds, differenceInCalendarDays, format } from 'date-fns';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { DisabledDateFn, DisabledTimeConfig, DisabledTimeFn } from 'ng-zorro-antd/date-picker';\n\n// TODO: timezone process\nexport class DateTimePickerUtil {\n /**\n * Current local time\n *\n * 当前本地时间\n */\n get now(): Date {\n return new Date();\n }\n /**\n * Current local date (not including time part)\n *\n * 当前本地日期(不包含时间部分)\n */\n get date(): Date {\n return this.removeTime(this.now);\n }\n /**\n * Remove the time part of the date\n *\n * 移除日期的时间部分\n */\n removeTime(d: Date): Date {\n return new Date(d.toDateString());\n }\n /**\n * Format date-time\n *\n * 格式化日期\n */\n format(d: number | Date, formatString: string = 'yyyy-MM-dd HH:mm:ss'): string {\n return format(d, formatString);\n }\n private genTick(count: number): number[] {\n return new Array(count).fill(0).map((_, idx) => idx);\n }\n /**\n * Calculate the number of days between two dates, `0` means the same day\n *\n * 计算两个日期相差天数,`0` 表示同一天\n */\n getDiffDays(dateLeft: Date | number, dateRight?: Date | number): number {\n return differenceInCalendarDays(\n dateLeft,\n typeof dateRight === 'number' ? addDays(this.date, dateRight) : dateRight || this.date\n );\n }\n /**\n * Disabled Before date (Default: today), Generally serves `nzDisabledDate`\n *\n * 禁用之前日期(默认:今天),一般服务于 `nzDisabledDate`\n */\n disabledBeforeDate(options?: { offsetDays?: Date | number }): DisabledDateFn {\n return (d): boolean => this.getDiffDays(d, options?.offsetDays) < 0;\n }\n /**\n * Disabled After date (Default: today), Generally serves `nzDisabledDate`\n *\n * 禁用之后日期(默认:今天),一般服务于 `nzDisabledDate`\n */\n disabledAfterDate(options?: { offsetDays?: Date | number }): DisabledDateFn {\n return (d): boolean => this.getDiffDays(d, options?.offsetDays) > 0;\n }\n private baseDisabledTime(type: 'before' | 'after', offsetSeconds?: number): DisabledTimeFn {\n const tick24 = this.genTick(24);\n const tick60 = this.genTick(60);\n return (current): DisabledTimeConfig => {\n const cur = current as Date;\n if (cur == null) {\n return {} as NzSafeAny;\n }\n const now = addSeconds(this.now, offsetSeconds || 0);\n const nowHours = now.getHours();\n const nowMinutes = now.getMinutes();\n const curHours = cur.getHours();\n const isToday = this.getDiffDays(this.removeTime(cur)) === 0;\n return {\n nzDisabledHours: () => {\n if (!isToday) return [];\n return type === 'before' ? tick24.slice(0, nowHours) : tick24.slice(nowHours + 1);\n },\n nzDisabledMinutes: () => {\n if (isToday && curHours === nowHours) {\n return type === 'before' ? tick60.slice(0, nowMinutes) : tick60.slice(nowMinutes + 1);\n }\n return [];\n },\n nzDisabledSeconds: () => {\n if (isToday && curHours === nowHours && cur.getMinutes() === nowMinutes) {\n const nowSeconds = now.getSeconds();\n return type === 'before' ? tick60.slice(0, nowSeconds) : tick60.slice(nowSeconds + 1);\n }\n return [];\n }\n };\n };\n }\n /**\n * Disabled Before time (Default: now), Generally serves `nzDisabledTime`\n *\n * 禁用之前时间(默认:现在),一般服务于 `nzDisabledTime`\n */\n disabledBeforeTime(options?: { offsetSeconds?: number }): DisabledTimeFn {\n return this.baseDisabledTime('before', options?.offsetSeconds);\n }\n /**\n * Disabled After time (Default: now), Generally serves `nzDisabledTime`\n *\n * 禁用之后时间(默认:现在),一般服务于 `nzDisabledTime`\n */\n disabledAfterTime(options?: { offsetSeconds?: number }): DisabledTimeFn {\n return this.baseDisabledTime('after', options?.offsetSeconds);\n }\n}\n\nexport const dateTimePickerUtil = new DateTimePickerUtil();\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAmBA;;;;;;;;SAQgB,eAAe,CAC7B,IAA0G,EAC1G,IAA6B;IAE7B,IAAI,GAAG,IAAI;UACP,OAAO,IAAI,KAAK,QAAQ;cACtB,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,IAAI,EAAE,CAAC;cAC9C,IAAI,IAAI,CAAC,IAAI,CAAC;UAChB,IAAI,IAAI,EAAE,CAAC;IACf,MAAM,OAAO,GAAwB,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAEzD,IAAI,GAAiB,CAAC;IACtB,QAAQ,IAAI;QACV,KAAK,OAAO;YACV,GAAG,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACnB,MAAM;QACR,KAAK,QAAQ;YACX,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YAChC,MAAM;QACR,KAAK,WAAW;YACd,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7C,MAAM;QACR,KAAK,MAAM;YACT,GAAG,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;YAC7D,MAAM;QACR,KAAK,OAAO;YACV,GAAG,GAAG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MAEY,kBAAkB,GAAG,IAAI,kBAAkB;;ACzHxD;;;;;;"}
|
1
|
+
{"version":3,"file":"date-time.mjs","sources":["../../../../packages/util/date-time/time.ts","../../../../packages/util/date-time/picker.ts","../../../../packages/util/date-time/date-time.ts"],"sourcesContent":["import {\n addDays,\n endOfDay,\n endOfMonth,\n endOfWeek,\n endOfYear,\n parse,\n parseISO,\n startOfDay,\n startOfMonth,\n startOfWeek,\n startOfYear,\n subMonths,\n subWeeks,\n subYears\n} from 'date-fns';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n/**\n * Get the time range, return `[ Date, Date]` for the start and end dates\n *\n * 获取时间范围\n *\n * @param type 类型,带 `-` 表示过去一个时间,若指定 `number` 表示天数\n * @param time 开始时间\n * @param ignoreMaxTime 忽略追加结束日期的最大时间值\n */\nexport function getTimeDistance(\n type: 'today' | '-today' | 'yesterday' | 'week' | '-week' | 'month' | '-month' | 'year' | '-year' | number,\n time?: Date | string | number,\n options?: { ignoreMaxTime?: boolean }\n): [Date, Date] {\n time = time\n ? typeof time === 'string'\n ? parse(time, 'yyyy-MM-dd HH:mm:ss', new Date())\n : new Date(time)\n : new Date();\n const opt: { weekStartsOn: 1 } = { weekStartsOn: 1 };\n\n let res: [Date, Date];\n switch (type) {\n case 'today':\n res = [time, time];\n break;\n case '-today':\n res = [addDays(time, -1), time];\n break;\n case 'yesterday':\n res = [addDays(time, -1), addDays(time, -1)];\n break;\n case 'week':\n res = [startOfWeek(time, opt), endOfWeek(time, opt)];\n break;\n case '-week':\n res = [startOfWeek(subWeeks(time, 1), opt), endOfWeek(subWeeks(time, 1), opt)];\n break;\n case 'month':\n res = [startOfMonth(time), endOfMonth(time)];\n break;\n case '-month':\n res = [startOfMonth(subMonths(time, 1)), endOfMonth(subMonths(time, 1))];\n break;\n case 'year':\n res = [startOfYear(time), endOfYear(time)];\n break;\n case '-year':\n res = [startOfYear(subYears(time, 1)), endOfYear(subYears(time, 1))];\n break;\n default:\n res = type > 0 ? [time, addDays(time, type)] : [addDays(time, type), time];\n break;\n }\n return options?.ignoreMaxTime ? res : fixEndTimeOfRange(res);\n}\n\n/**\n * fix time is the most, big value\n */\nexport function fixEndTimeOfRange(dates: [Date, Date]): [Date, Date] {\n return [startOfDay(dates[0]), endOfDay(dates[1])];\n}\n\nexport type ToDateOptions = string | { formatString?: string; defaultValue?: NzSafeAny };\n\n/**\n * Return the date parsed from string using the given format string\n * - If the argument is a number, it is treated as a timestamp.\n *\n * @param formatString If parsing fails try to parse the date by pressing `formatString`\n * @param defaultValue If parsing fails returned default value, default: `new Date(NaN)`\n */\nexport function toDate(value?: Date | string | number | null, options?: ToDateOptions): Date {\n if (typeof options === 'string') options = { formatString: options };\n const { formatString, defaultValue } = {\n formatString: 'yyyy-MM-dd HH:mm:ss',\n defaultValue: new Date(NaN),\n ...options\n };\n if (value == null) {\n return defaultValue;\n }\n if (value instanceof Date) {\n return value;\n }\n if (typeof value === 'number' || (typeof value === 'string' && /[0-9]{10,13}/.test(value))) {\n return new Date(+value);\n }\n let tryDate = parseISO(value);\n if (isNaN(tryDate as NzSafeAny)) {\n tryDate = parse(value, formatString!, new Date());\n }\n\n return isNaN(tryDate as NzSafeAny) ? defaultValue : tryDate;\n}\n","import { addDays, addSeconds, differenceInCalendarDays, format } from 'date-fns';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { DisabledDateFn, DisabledTimeConfig, DisabledTimeFn } from 'ng-zorro-antd/date-picker';\n\n// TODO: timezone process\nexport class DateTimePickerUtil {\n /**\n * Current local time\n *\n * 当前本地时间\n */\n get now(): Date {\n return new Date();\n }\n /**\n * Current local date (not including time part)\n *\n * 当前本地日期(不包含时间部分)\n */\n get date(): Date {\n return this.removeTime(this.now);\n }\n /**\n * Remove the time part of the date\n *\n * 移除日期的时间部分\n */\n removeTime(d: Date): Date {\n return new Date(d.toDateString());\n }\n /**\n * Format date-time\n *\n * 格式化日期\n */\n format(d: number | Date, formatString: string = 'yyyy-MM-dd HH:mm:ss'): string {\n return format(d, formatString);\n }\n private genTick(count: number): number[] {\n return new Array(count).fill(0).map((_, idx) => idx);\n }\n /**\n * Calculate the number of days between two dates, `0` means the same day\n *\n * 计算两个日期相差天数,`0` 表示同一天\n */\n getDiffDays(dateLeft: Date | number, dateRight?: Date | number): number {\n return differenceInCalendarDays(\n dateLeft,\n typeof dateRight === 'number' ? addDays(this.date, dateRight) : dateRight || this.date\n );\n }\n /**\n * Disabled Before date (Default: today), Generally serves `nzDisabledDate`\n *\n * 禁用之前日期(默认:今天),一般服务于 `nzDisabledDate`\n */\n disabledBeforeDate(options?: { offsetDays?: Date | number }): DisabledDateFn {\n return (d): boolean => this.getDiffDays(d, options?.offsetDays) < 0;\n }\n /**\n * Disabled After date (Default: today), Generally serves `nzDisabledDate`\n *\n * 禁用之后日期(默认:今天),一般服务于 `nzDisabledDate`\n */\n disabledAfterDate(options?: { offsetDays?: Date | number }): DisabledDateFn {\n return (d): boolean => this.getDiffDays(d, options?.offsetDays) > 0;\n }\n private baseDisabledTime(type: 'before' | 'after', offsetSeconds?: number): DisabledTimeFn {\n const tick24 = this.genTick(24);\n const tick60 = this.genTick(60);\n return (current): DisabledTimeConfig => {\n const cur = current as Date;\n if (cur == null) {\n return {} as NzSafeAny;\n }\n const now = addSeconds(this.now, offsetSeconds || 0);\n const nowHours = now.getHours();\n const nowMinutes = now.getMinutes();\n const curHours = cur.getHours();\n const isToday = this.getDiffDays(this.removeTime(cur)) === 0;\n return {\n nzDisabledHours: () => {\n if (!isToday) return [];\n return type === 'before' ? tick24.slice(0, nowHours) : tick24.slice(nowHours + 1);\n },\n nzDisabledMinutes: () => {\n if (isToday && curHours === nowHours) {\n return type === 'before' ? tick60.slice(0, nowMinutes) : tick60.slice(nowMinutes + 1);\n }\n return [];\n },\n nzDisabledSeconds: () => {\n if (isToday && curHours === nowHours && cur.getMinutes() === nowMinutes) {\n const nowSeconds = now.getSeconds();\n return type === 'before' ? tick60.slice(0, nowSeconds) : tick60.slice(nowSeconds + 1);\n }\n return [];\n }\n };\n };\n }\n /**\n * Disabled Before time (Default: now), Generally serves `nzDisabledTime`\n *\n * 禁用之前时间(默认:现在),一般服务于 `nzDisabledTime`\n */\n disabledBeforeTime(options?: { offsetSeconds?: number }): DisabledTimeFn {\n return this.baseDisabledTime('before', options?.offsetSeconds);\n }\n /**\n * Disabled After time (Default: now), Generally serves `nzDisabledTime`\n *\n * 禁用之后时间(默认:现在),一般服务于 `nzDisabledTime`\n */\n disabledAfterTime(options?: { offsetSeconds?: number }): DisabledTimeFn {\n return this.baseDisabledTime('after', options?.offsetSeconds);\n }\n}\n\nexport const dateTimePickerUtil = new DateTimePickerUtil();\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAmBA;;;;;;;;;SASgB,eAAe,CAC7B,IAA0G,EAC1G,IAA6B,EAC7B,OAAqC;IAErC,IAAI,GAAG,IAAI;UACP,OAAO,IAAI,KAAK,QAAQ;cACtB,KAAK,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,IAAI,EAAE,CAAC;cAC9C,IAAI,IAAI,CAAC,IAAI,CAAC;UAChB,IAAI,IAAI,EAAE,CAAC;IACf,MAAM,GAAG,GAAwB,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;IAErD,IAAI,GAAiB,CAAC;IACtB,QAAQ,IAAI;QACV,KAAK,OAAO;YACV,GAAG,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACnB,MAAM;QACR,KAAK,QAAQ;YACX,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YAChC,MAAM;QACR,KAAK,WAAW;YACd,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7C,MAAM;QACR,KAAK,MAAM;YACT,GAAG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gB,CAAC,QAAQ,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;KAChE;;;;;;IAMD,iBAAiB,CAAC,OAAoC;QACpD,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC;KAC/D;CACF;MAEY,kBAAkB,GAAG,IAAI,kBAAkB;;ACzHxD;;;;;;"}
|
package/fesm2020/decorator.mjs
CHANGED
File without changes
|
File without changes
|
package/fesm2020/form.mjs
CHANGED
File without changes
|
package/fesm2020/form.mjs.map
CHANGED
File without changes
|
package/fesm2020/format.mjs
CHANGED
@@ -410,9 +410,9 @@ class CurrencyService {
|
|
410
410
|
return ret;
|
411
411
|
}
|
412
412
|
}
|
413
|
-
CurrencyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
414
|
-
CurrencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
413
|
+
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 });
|
414
|
+
CurrencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyService, providedIn: 'root' });
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyService, decorators: [{
|
416
416
|
type: Injectable,
|
417
417
|
args: [{ providedIn: 'root' }]
|
418
418
|
}], ctorParameters: function () { return [{ type: i1.YunzaiConfigService }, { type: undefined, decorators: [{
|
package/fesm2020/format.mjs.map
CHANGED
File without changes
|
package/fesm2020/math.mjs
CHANGED
File without changes
|
package/fesm2020/math.mjs.map
CHANGED
File without changes
|
package/fesm2020/other.mjs
CHANGED
@@ -202,9 +202,9 @@ class LazyService {
|
|
202
202
|
});
|
203
203
|
}
|
204
204
|
}
|
205
|
-
LazyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
206
|
-
LazyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.
|
207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
205
|
+
LazyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
206
|
+
LazyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, providedIn: 'root' });
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: LazyService, decorators: [{
|
208
208
|
type: Injectable,
|
209
209
|
args: [{ providedIn: 'root' }]
|
210
210
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/fesm2020/other.mjs.map
CHANGED
File without changes
|
@@ -18,9 +18,9 @@ class CurrencyMegaPipe {
|
|
18
18
|
return res.value + (this.isCN ? res.unitI18n : res.unit);
|
19
19
|
}
|
20
20
|
}
|
21
|
-
CurrencyMegaPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
22
|
-
CurrencyMegaPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
21
|
+
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 });
|
22
|
+
CurrencyMegaPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyMegaPipe, name: "mega" });
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyMegaPipe, decorators: [{
|
24
24
|
type: Pipe,
|
25
25
|
args: [{ name: 'mega' }]
|
26
26
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }, { type: undefined, decorators: [{
|
@@ -45,9 +45,9 @@ class CurrencyPricePipe {
|
|
45
45
|
return this.srv.format(value, options);
|
46
46
|
}
|
47
47
|
}
|
48
|
-
CurrencyPricePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
49
|
-
CurrencyPricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
48
|
+
CurrencyPricePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
|
49
|
+
CurrencyPricePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, name: "price" });
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPricePipe, decorators: [{
|
51
51
|
type: Pipe,
|
52
52
|
args: [{ name: 'price' }]
|
53
53
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
|
@@ -65,9 +65,9 @@ class CurrencyCNYPipe {
|
|
65
65
|
return this.srv.cny(value, options);
|
66
66
|
}
|
67
67
|
}
|
68
|
-
CurrencyCNYPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
69
|
-
CurrencyCNYPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
68
|
+
CurrencyCNYPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, deps: [{ token: i1.CurrencyService }], target: i0.ɵɵFactoryTarget.Pipe });
|
69
|
+
CurrencyCNYPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, name: "cny" });
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyCNYPipe, decorators: [{
|
71
71
|
type: Pipe,
|
72
72
|
args: [{ name: 'cny' }]
|
73
73
|
}], ctorParameters: function () { return [{ type: i1.CurrencyService }]; } });
|
@@ -75,10 +75,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
75
75
|
const PIPES = [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe];
|
76
76
|
class CurrencyPipeModule {
|
77
77
|
}
|
78
|
-
CurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
79
|
-
CurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
80
|
-
CurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
78
|
+
CurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
79
|
+
CurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, declarations: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe], exports: [CurrencyMegaPipe, CurrencyPricePipe, CurrencyCNYPipe] });
|
80
|
+
CurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule });
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: CurrencyPipeModule, decorators: [{
|
82
82
|
type: NgModule,
|
83
83
|
args: [{
|
84
84
|
declarations: PIPES,
|
File without changes
|
package/fesm2020/pipe-filter.mjs
CHANGED
@@ -11,9 +11,9 @@ class FilterPipe {
|
|
11
11
|
return array.filter(i => matcher(i, ...args));
|
12
12
|
}
|
13
13
|
}
|
14
|
-
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
15
|
-
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
14
|
+
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
15
|
+
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, name: "filter" });
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipe, decorators: [{
|
17
17
|
type: Pipe,
|
18
18
|
args: [{ name: 'filter' }]
|
19
19
|
}] });
|
@@ -21,10 +21,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
21
21
|
const PIPES = [FilterPipe];
|
22
22
|
class FilterPipeModule {
|
23
23
|
}
|
24
|
-
FilterPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
25
|
-
FilterPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
26
|
-
FilterPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
24
|
+
FilterPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
25
|
+
FilterPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, declarations: [FilterPipe], exports: [FilterPipe] });
|
26
|
+
FilterPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule });
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FilterPipeModule, decorators: [{
|
28
28
|
type: NgModule,
|
29
29
|
args: [{
|
30
30
|
declarations: PIPES,
|
File without changes
|
package/fesm2020/pipe-format.mjs
CHANGED
@@ -26,9 +26,9 @@ class FormatMaskPipe {
|
|
26
26
|
return formatMask(value, mask);
|
27
27
|
}
|
28
28
|
}
|
29
|
-
FormatMaskPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
30
|
-
FormatMaskPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
29
|
+
FormatMaskPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
30
|
+
FormatMaskPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, name: "mask" });
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatMaskPipe, decorators: [{
|
32
32
|
type: Pipe,
|
33
33
|
args: [{ name: 'mask' }]
|
34
34
|
}] });
|
@@ -36,10 +36,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
36
36
|
const PIPES = [FormatMaskPipe];
|
37
37
|
class FormatPipeModule {
|
38
38
|
}
|
39
|
-
FormatPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.
|
40
|
-
FormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.
|
41
|
-
FormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.
|
39
|
+
FormatPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
40
|
+
FormatPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, declarations: [FormatMaskPipe], exports: [FormatMaskPipe] });
|
41
|
+
FormatPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule });
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.4", ngImport: i0, type: FormatPipeModule, decorators: [{
|
43
43
|
type: NgModule,
|
44
44
|
args: [{
|
45
45
|
declarations: PIPES,
|
File without changes
|
package/fesm2020/pipes.mjs
CHANGED
File without changes
|
package/fesm2020/pipes.mjs.map
CHANGED
File without changes
|
package/fesm2020/token.mjs
CHANGED
File without changes
|
package/fesm2020/token.mjs.map
CHANGED
File without changes
|
package/fesm2020/yelon-util.mjs
CHANGED
File without changes
|
File without changes
|
package/form/form.d.ts
CHANGED
File without changes
|
package/form/index.d.ts
CHANGED
File without changes
|
package/form/match-control.d.ts
CHANGED
File without changes
|
package/form/package.json
CHANGED
File without changes
|
package/form/validators.d.ts
CHANGED
File without changes
|
File without changes
|
File without changes
|
package/format/format.d.ts
CHANGED
File without changes
|
package/format/index.d.ts
CHANGED
File without changes
|
package/format/package.json
CHANGED
File without changes
|
package/format/string.d.ts
CHANGED
File without changes
|
package/format/validate.d.ts
CHANGED
File without changes
|
package/index.d.ts
CHANGED
File without changes
|
package/math/in-range.d.ts
CHANGED
File without changes
|
package/math/index.d.ts
CHANGED
File without changes
|
package/math/math.d.ts
CHANGED
File without changes
|
package/math/package.json
CHANGED
File without changes
|
package/math/round.d.ts
CHANGED
File without changes
|
package/other/assert.d.ts
CHANGED
File without changes
|
package/other/deep.d.ts
CHANGED
File without changes
|
package/other/index.d.ts
CHANGED
File without changes
|
package/other/lazy.service.d.ts
CHANGED
File without changes
|
package/other/logger.d.ts
CHANGED
File without changes
|
package/other/other.d.ts
CHANGED
File without changes
|
package/other/package.json
CHANGED
File without changes
|
package/other/resize.d.ts
CHANGED
File without changes
|
package/other/url.d.ts
CHANGED
File without changes
|
package/package.json
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
|
package/pipes/filter/index.d.ts
CHANGED
File without changes
|
package/pipes/filter/module.d.ts
CHANGED
File without changes
|
File without changes
|
File without changes
|
package/pipes/format/index.d.ts
CHANGED
File without changes
|
File without changes
|
package/pipes/format/module.d.ts
CHANGED
File without changes
|
File without changes
|
File without changes
|
package/pipes/index.d.ts
CHANGED
File without changes
|
package/pipes/package.json
CHANGED
File without changes
|
package/pipes/pipes.d.ts
CHANGED
File without changes
|
package/token/index.d.ts
CHANGED
File without changes
|
package/token/package.json
CHANGED
File without changes
|
File without changes
|
package/token/token.d.ts
CHANGED
File without changes
|
package/token/window.d.ts
CHANGED
File without changes
|
package/yelon-util.d.ts
CHANGED
File without changes
|