@nocobase/plugin-data-visualization 1.3.38-beta → 1.4.0-alpha
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/block/ChartBlockProvider.d.ts +10 -0
- package/dist/client/block/GlobalAutoRefreshProvider.d.ts +19 -0
- package/dist/client/block/index.d.ts +2 -0
- package/dist/client/chart/chart.d.ts +9 -6
- package/dist/client/chart/configs.d.ts +212 -19
- package/dist/client/chart/group.d.ts +9 -4
- package/dist/client/configure/schemas/configure.d.ts +1 -1
- package/dist/client/filter/utils.d.ts +2 -1
- package/dist/client/hooks/chart.d.ts +20 -0
- package/dist/client/hooks/index.d.ts +1 -0
- package/dist/client/index.d.ts +1 -0
- package/dist/client/index.js +30 -30
- package/dist/client/initializers/BlockRefreshAction.d.ts +14 -0
- package/dist/client/initializers/RefreshAction.d.ts +14 -0
- package/dist/client/initializers/chartActions.d.ts +10 -0
- package/dist/client/initializers/chartBlockActions.d.ts +10 -0
- package/dist/client/renderer/ChartRendererDesigner.d.ts +10 -0
- package/dist/client/renderer/ChartRendererProvider.d.ts +6 -0
- package/dist/client/settings/AutoRefreshItem.d.ts +13 -0
- package/dist/client/settings/chartActionRefresh.d.ts +10 -0
- package/dist/client/settings/chartBlockActionRefresh.d.ts +10 -0
- package/dist/client/utils.d.ts +42 -0
- package/dist/externalVersion.js +8 -8
- package/dist/locale/en-US.json +15 -14
- package/dist/locale/zh-CN.json +10 -9
- 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.d.ts +0 -1
- package/dist/server/actions/query.js +11 -75
- package/dist/server/formatter/formatter.d.ts +27 -0
- package/dist/server/formatter/formatter.js +85 -0
- package/dist/server/formatter/mysql-formatter.d.ts +14 -0
- package/dist/server/formatter/mysql-formatter.js +86 -0
- package/dist/server/formatter/oracle-formatter.d.ts +14 -0
- package/dist/server/formatter/oracle-formatter.js +74 -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/dist/server/migrations/20240921214400-rename-charttype.d.ts +14 -0
- package/dist/server/migrations/20240921214400-rename-charttype.js +64 -0
- package/dist/server/plugin.js +1 -1
- package/dist/server/query-parser/index.d.ts +11 -0
- package/dist/server/query-parser/index.js +56 -0
- package/dist/server/query-parser/mysql-query-parser.d.ts +15 -0
- package/dist/server/query-parser/mysql-query-parser.js +43 -0
- package/dist/server/query-parser/oracle-query-parser.d.ts +18 -0
- package/dist/server/query-parser/oracle-query-parser.js +60 -0
- package/dist/server/query-parser/postgres-query-parser.d.ts +15 -0
- package/dist/server/query-parser/postgres-query-parser.js +43 -0
- package/dist/server/query-parser/query-parser.d.ts +31 -0
- package/dist/server/query-parser/query-parser.js +134 -0
- package/dist/server/query-parser/sqlite-query-parser.d.ts +15 -0
- package/dist/server/query-parser/sqlite-query-parser.js +43 -0
- package/dist/server/types.d.ts +46 -0
- package/dist/server/types.js +24 -0
- package/package.json +2 -2
- package/dist/client/chart/g2plot/configs.d.ts +0 -122
- package/dist/server/actions/formatter.d.ts +0 -12
- package/dist/server/actions/formatter.js +0 -101
- /package/dist/locale/{ja_JP.json → ja-JP.json} +0 -0
- /package/dist/locale/{ko_KR.json → ko-KR.json} +0 -0
|
@@ -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;
|