@nocobase/plugin-data-visualization 1.4.0-alpha.20240910145333 → 1.4.0-alpha.20240914084300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/filter/utils.d.ts +2 -1
- package/dist/client/index.js +24 -24
- package/dist/externalVersion.js +7 -7
- package/dist/node_modules/koa-compose/package.json +1 -1
- package/dist/node_modules/moment-timezone/LICENSE +20 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.js +1548 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-10-year-range.min.js +1 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.js +1548 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-1970-2030.min.js +1 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.js +1560 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js +1 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data.js +1548 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone-with-data.min.js +1 -0
- package/dist/node_modules/moment-timezone/builds/moment-timezone.min.js +1 -0
- package/dist/node_modules/moment-timezone/composer.json +43 -0
- package/dist/node_modules/moment-timezone/data/meta/latest.json +5889 -0
- package/dist/node_modules/moment-timezone/data/packed/latest.json +852 -0
- package/dist/node_modules/moment-timezone/index.d.ts +78 -0
- package/dist/node_modules/moment-timezone/index.js +15 -0
- package/dist/node_modules/moment-timezone/moment-timezone-utils.d.ts +70 -0
- package/dist/node_modules/moment-timezone/moment-timezone-utils.js +339 -0
- package/dist/node_modules/moment-timezone/moment-timezone.js +696 -0
- package/dist/node_modules/moment-timezone/package.json +1 -0
- package/dist/server/actions/query.js +10 -6
- package/dist/server/formatter/formatter.d.ts +27 -0
- package/dist/server/formatter/formatter.js +85 -0
- package/dist/server/formatter/index.d.ts +13 -0
- package/dist/server/formatter/index.js +50 -0
- package/dist/server/formatter/mysql-formatter.d.ts +14 -0
- package/dist/server/formatter/mysql-formatter.js +86 -0
- package/dist/server/formatter/postgres-formatter.d.ts +14 -0
- package/dist/server/formatter/postgres-formatter.js +74 -0
- package/dist/server/formatter/sqlite-formatter.d.ts +15 -0
- package/dist/server/formatter/sqlite-formatter.js +83 -0
- package/package.json +2 -2
- package/dist/server/actions/formatter.d.ts +0 -12
- package/dist/server/actions/formatter.js +0 -101
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Type definitions for moment-timezone.js 0.5
|
|
2
|
+
// Project: http://momentjs.com/timezone/
|
|
3
|
+
// Definitions by: Michel Salib <https://github.com/michelsalib>
|
|
4
|
+
// Alan Brazil Lins <https://github.com/alanblins>
|
|
5
|
+
// Agustin Carrasco <https://github.com/asermax>
|
|
6
|
+
// Borys Kupar <https://github.com/borys-kupar>
|
|
7
|
+
// Anthony Rainer <https://github.com/pristinesource>
|
|
8
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
9
|
+
// Migrated here from DefinitelyTyped in release moment-timezone@0.5.30
|
|
10
|
+
|
|
11
|
+
import moment = require('moment');
|
|
12
|
+
|
|
13
|
+
declare module 'moment' {
|
|
14
|
+
interface MomentZone {
|
|
15
|
+
name: string;
|
|
16
|
+
abbrs: string[];
|
|
17
|
+
untils: number[];
|
|
18
|
+
offsets: number[];
|
|
19
|
+
population: number;
|
|
20
|
+
|
|
21
|
+
abbr(timestamp: number): string;
|
|
22
|
+
offset(timestamp: number): number;
|
|
23
|
+
utcOffset(timestamp: number): number;
|
|
24
|
+
parse(timestamp: number): number;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface MomentZoneOffset {
|
|
28
|
+
name: string;
|
|
29
|
+
offset: number;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
interface MomentTimezone {
|
|
33
|
+
(): moment.Moment;
|
|
34
|
+
(timezone: string): moment.Moment;
|
|
35
|
+
(date: number, timezone: string): moment.Moment;
|
|
36
|
+
(date: number[], timezone: string): moment.Moment;
|
|
37
|
+
(date: string, timezone: string): moment.Moment;
|
|
38
|
+
(date: string, format: moment.MomentFormatSpecification, timezone: string): moment.Moment;
|
|
39
|
+
(date: string, format: moment.MomentFormatSpecification, strict: boolean, timezone: string): moment.Moment;
|
|
40
|
+
(date: string, format: moment.MomentFormatSpecification, language: string, timezone: string): moment.Moment;
|
|
41
|
+
(date: string, format: moment.MomentFormatSpecification, language: string, strict: boolean, timezone: string): moment.Moment;
|
|
42
|
+
(date: Date, timezone: string): moment.Moment;
|
|
43
|
+
(date: moment.Moment, timezone: string): moment.Moment;
|
|
44
|
+
(date: any, timezone: string): moment.Moment;
|
|
45
|
+
|
|
46
|
+
zone(timezone: string): MomentZone | null;
|
|
47
|
+
|
|
48
|
+
add(packedZoneString: string): void;
|
|
49
|
+
add(packedZoneString: string[]): void;
|
|
50
|
+
|
|
51
|
+
link(packedLinkString: string): void;
|
|
52
|
+
link(packedLinkString: string[]): void;
|
|
53
|
+
|
|
54
|
+
load(data: { version: string; links: string[]; zones: string[] }): void;
|
|
55
|
+
|
|
56
|
+
names(): string[];
|
|
57
|
+
zonesForCountry<T extends true>(country: string, with_offset: T): T extends true ? MomentZoneOffset[] : never;
|
|
58
|
+
zonesForCountry<T extends false>(country: string, with_offset?: T): T extends false ? string[] : never;
|
|
59
|
+
zonesForCountry(country: string, with_offset?: boolean): MomentZoneOffset[] | string[];
|
|
60
|
+
countries(): string[];
|
|
61
|
+
guess(ignoreCache?: boolean): string;
|
|
62
|
+
|
|
63
|
+
setDefault(timezone?: string): Moment;
|
|
64
|
+
dataVersion: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
interface Moment {
|
|
68
|
+
tz(): string | undefined;
|
|
69
|
+
tz(timezone: string, keepLocalTime?: boolean): moment.Moment;
|
|
70
|
+
zoneAbbr(): string;
|
|
71
|
+
zoneName(): string;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const tz: MomentTimezone;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// require("moment-timezone") === require("moment")
|
|
78
|
+
export = moment;
|