Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
44
node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts
generated
vendored
Normal file
44
node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
import { PluginFunc, UnitType, ConfigType } from 'dayjs/esm'
|
||||
|
||||
declare const plugin: PluginFunc
|
||||
export = plugin
|
||||
|
||||
declare module 'dayjs/esm' {
|
||||
interface Dayjs {
|
||||
years(): number
|
||||
|
||||
years(value: number): Dayjs
|
||||
|
||||
months(): number
|
||||
|
||||
months(value: number): Dayjs
|
||||
|
||||
dates(): number
|
||||
|
||||
dates(value: number): Dayjs
|
||||
|
||||
weeks(): number
|
||||
|
||||
weeks(value: number): Dayjs
|
||||
|
||||
days(): number
|
||||
|
||||
days(value: number): Dayjs
|
||||
|
||||
hours(): number
|
||||
|
||||
hours(value: number): Dayjs
|
||||
|
||||
minutes(): number
|
||||
|
||||
minutes(value: number): Dayjs
|
||||
|
||||
seconds(): number
|
||||
|
||||
seconds(value: number): Dayjs
|
||||
|
||||
milliseconds(): number
|
||||
|
||||
milliseconds(value: number): Dayjs
|
||||
}
|
||||
}
|
||||
7
node_modules/dayjs/esm/plugin/pluralGetSet/index.js
generated
vendored
Normal file
7
node_modules/dayjs/esm/plugin/pluralGetSet/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export default (function (o, c) {
|
||||
var proto = c.prototype;
|
||||
var pluralAliases = ['milliseconds', 'seconds', 'minutes', 'hours', 'days', 'weeks', 'isoWeeks', 'months', 'quarters', 'years', 'dates'];
|
||||
pluralAliases.forEach(function (alias) {
|
||||
proto[alias] = proto[alias.replace(/s$/, '')];
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue