semaphor 0.0.46 → 0.0.48
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/chunks/dashboard-plus-CiMeIZCS.js +205 -0
- package/dist/chunks/dashboard-plus-upSoeQoI.js +4258 -0
- package/dist/chunks/index-71zNxWPN.js +53652 -0
- package/dist/chunks/index-O9LcZUoj.js +421 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/dashboard.d.ts +64 -3
- package/dist/types/main.d.ts +564 -14
- package/dist/types/surfboard.d.ts +64 -3
- package/dist/types/types.d.ts +64 -3
- package/package.json +5 -1
- package/dist/chunks/dashboard-plus-m-3OpLbe.js +0 -228
- package/dist/chunks/dashboard-plus-pZp1sW7X.js +0 -10746
- package/dist/chunks/index-CkngQIsR.js +0 -43447
- package/dist/chunks/index-kPTte7ZJ.js +0 -364
package/dist/types/main.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ import { StoreApi } from 'zustand';
|
|
|
14
14
|
import { UseBoundStore } from 'zustand';
|
|
15
15
|
|
|
16
16
|
declare type Actions = {
|
|
17
|
+
setGlobalStyle: (style: TStyle) => void;
|
|
18
|
+
setAIScopeTables: (aiScopeTables: AIScopeTable[]) => void;
|
|
17
19
|
setIsSessionExpired: (isSessionExpired: boolean) => void;
|
|
18
20
|
setCurrentBreakpoint: (breakpoint: Breakpoint) => void;
|
|
19
21
|
addFilteringCard: (card: TCard) => void;
|
|
@@ -36,7 +38,7 @@ declare type Actions = {
|
|
|
36
38
|
setCardPython: (cardId: string, pythonCode: string) => void;
|
|
37
39
|
setCardDescription: (sheetId: string, cardId: string, description: string) => void;
|
|
38
40
|
setFrameCardData: (sheetId: string, cardId: string, data: any[]) => void;
|
|
39
|
-
addFrame: (sheetId: string, frame: TFrame) => void;
|
|
41
|
+
addFrame: (sheetId: string, frame: TFrame, position?: 'start' | 'end') => void;
|
|
40
42
|
updateFrame: (sheetId: string, frame: TFrame) => void;
|
|
41
43
|
updateCard: (sheetId: string, card: TCard) => void;
|
|
42
44
|
updateFrameCard?: (sheetId: string, frameId: string, card: TCard) => void;
|
|
@@ -76,7 +78,8 @@ declare type Actions = {
|
|
|
76
78
|
|
|
77
79
|
declare type Actions_2 = {
|
|
78
80
|
setCardRefreshInterval: (refreshInterval: string) => void;
|
|
79
|
-
setNumberFormat: (
|
|
81
|
+
setNumberFormat: (decimalPlaces: number, currency: string, locale: string, suffix: string) => void;
|
|
82
|
+
setColorRanges: (colorRanges: ColorRange[]) => void;
|
|
80
83
|
setIsShowingVisual: (isShowingVisual: boolean) => void;
|
|
81
84
|
setQueryResultColumns: (columns: string[]) => void;
|
|
82
85
|
setQueryError: (error: string) => void;
|
|
@@ -115,6 +118,14 @@ declare type Actions_2 = {
|
|
|
115
118
|
|
|
116
119
|
export declare type AggregateCalc = 'AVG' | 'MIN' | 'MAX' | 'SUM' | 'COUNT' | 'COUNT_DISTINCT';
|
|
117
120
|
|
|
121
|
+
export declare type AIScopeTable = {
|
|
122
|
+
connectinonId: string;
|
|
123
|
+
connectionType: string;
|
|
124
|
+
databaseName?: string;
|
|
125
|
+
schemaName?: string;
|
|
126
|
+
tableName: string;
|
|
127
|
+
};
|
|
128
|
+
|
|
118
129
|
export declare type AuthToken = {
|
|
119
130
|
accessToken: string;
|
|
120
131
|
refreshToken?: string;
|
|
@@ -164,6 +175,12 @@ declare type CardWithFooter = BaseCustomCard & {
|
|
|
164
175
|
|
|
165
176
|
export declare function cleanCard(card: TCard): TCard;
|
|
166
177
|
|
|
178
|
+
export declare type ColorRange = {
|
|
179
|
+
start: number;
|
|
180
|
+
end: number;
|
|
181
|
+
color: string;
|
|
182
|
+
};
|
|
183
|
+
|
|
167
184
|
export declare type ConnectionPolicy = {
|
|
168
185
|
connectionId?: string;
|
|
169
186
|
name: string;
|
|
@@ -193,7 +210,7 @@ declare type DashboardPlusProps = {
|
|
|
193
210
|
export declare type DashboardProps = {
|
|
194
211
|
id?: string;
|
|
195
212
|
authToken: AuthToken | undefined;
|
|
196
|
-
|
|
213
|
+
customStyle?: TStyle;
|
|
197
214
|
currentTheme?: Theme;
|
|
198
215
|
version?: string;
|
|
199
216
|
customCards?: CustomCard[];
|
|
@@ -235,6 +252,14 @@ export declare const DashboardWC: CustomElementConstructor;
|
|
|
235
252
|
|
|
236
253
|
export declare const DATE_DATA_TYPES: string[];
|
|
237
254
|
|
|
255
|
+
export declare type DateOptions = {
|
|
256
|
+
locale: string;
|
|
257
|
+
format: string;
|
|
258
|
+
options: Intl.DateTimeFormatOptions;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export declare type DisplayDataType = 'string' | 'date' | 'number';
|
|
262
|
+
|
|
238
263
|
declare type EditorStore = {
|
|
239
264
|
isShowingVisual: boolean;
|
|
240
265
|
runSql: boolean;
|
|
@@ -328,6 +353,8 @@ export declare function getDashbaordStateWithoutData(dashboardState: TDashboard)
|
|
|
328
353
|
filters?: TFilter[] | undefined;
|
|
329
354
|
customCards?: CustomCard[] | undefined;
|
|
330
355
|
baseQueries?: TBaseQuery[] | undefined;
|
|
356
|
+
aiScopeTables?: AIScopeTable[] | undefined;
|
|
357
|
+
globalStyle?: TStyle | undefined;
|
|
331
358
|
};
|
|
332
359
|
|
|
333
360
|
export declare function getFilterValueType(filter: TFilter): "string" | "number" | "date" | "boolean";
|
|
@@ -349,15 +376,35 @@ export declare type LoadingProps = {
|
|
|
349
376
|
|
|
350
377
|
export declare const NUMBER_DATA_TYPES: string[];
|
|
351
378
|
|
|
379
|
+
export declare type NumberAxisFormat = {
|
|
380
|
+
decimalPlaces?: number;
|
|
381
|
+
suffix?: string;
|
|
382
|
+
currency?: string;
|
|
383
|
+
locale?: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
export declare type NumberOptions = {
|
|
387
|
+
locale: string;
|
|
388
|
+
currency?: string;
|
|
389
|
+
options: Intl.NumberFormatOptions;
|
|
390
|
+
colorRanges?: ColorRange[];
|
|
391
|
+
};
|
|
392
|
+
|
|
352
393
|
declare type Operation = '=' | '>' | '<' | '>=' | '<=' | '!=' | 'in' | 'not in' | 'like' | 'not like' | 'between' | 'not between' | 'is null' | 'is not null';
|
|
353
394
|
|
|
395
|
+
declare type OptionsMap = {
|
|
396
|
+
number: NumberOptions;
|
|
397
|
+
string: StringOptions;
|
|
398
|
+
date: DateOptions;
|
|
399
|
+
};
|
|
400
|
+
|
|
354
401
|
declare type Params = {
|
|
355
402
|
[key: string]: string | number | string[] | number[];
|
|
356
403
|
};
|
|
357
404
|
|
|
358
405
|
export declare const resolveDataType: (value: any) => string;
|
|
359
406
|
|
|
360
|
-
export declare function SelectComponent({ title, items, value, isLoading, isError, connectionTooltip, onChange, className, showIcon, }: SelectProps): JSX_2.Element;
|
|
407
|
+
export declare function SelectComponent({ title, items, value, isLoading, isError, connectionTooltip, onChange, className, showIcon, disabled, }: SelectProps): JSX_2.Element;
|
|
361
408
|
|
|
362
409
|
declare type SelectProps = {
|
|
363
410
|
title: string;
|
|
@@ -372,6 +419,7 @@ declare type SelectProps = {
|
|
|
372
419
|
className?: string;
|
|
373
420
|
showIcon?: boolean;
|
|
374
421
|
connectionTooltip?: string;
|
|
422
|
+
disabled?: boolean;
|
|
375
423
|
};
|
|
376
424
|
|
|
377
425
|
export declare function SemaphorQueryClient({ children, }: {
|
|
@@ -386,6 +434,10 @@ export declare type SqlGen = {
|
|
|
386
434
|
dimensions?: string[];
|
|
387
435
|
};
|
|
388
436
|
|
|
437
|
+
declare type StringOptions = {
|
|
438
|
+
maxLength?: number;
|
|
439
|
+
};
|
|
440
|
+
|
|
389
441
|
/**
|
|
390
442
|
* Style propeerites for the dashboard
|
|
391
443
|
*/
|
|
@@ -412,6 +464,9 @@ export declare type StyleProps = {
|
|
|
412
464
|
/** chart options */
|
|
413
465
|
options?: any;
|
|
414
466
|
};
|
|
467
|
+
table?: {
|
|
468
|
+
tableHeaderColor?: string;
|
|
469
|
+
};
|
|
415
470
|
};
|
|
416
471
|
|
|
417
472
|
export declare function Surfboard({ showControls, showFooter, ...rest }: DashboardPlusProps): JSX_2.Element;
|
|
@@ -455,14 +510,18 @@ export declare type TCardPreferences = {
|
|
|
455
510
|
filterOnClickField?: string;
|
|
456
511
|
filterOnClickColumnIndex?: number;
|
|
457
512
|
formatNumber?: {
|
|
458
|
-
|
|
513
|
+
decimalPlaces?: number;
|
|
459
514
|
currency?: string;
|
|
460
515
|
locale?: string;
|
|
461
516
|
suffix?: string;
|
|
462
517
|
enabled?: boolean | string;
|
|
518
|
+
colorRanges?: ColorRange[];
|
|
463
519
|
};
|
|
520
|
+
numberAxisFormat?: NumberAxisFormat;
|
|
464
521
|
datasetOptions?: TDatasetOptions[];
|
|
465
522
|
chartOptions?: TChartOptions;
|
|
523
|
+
columnSettings?: TColumnSetting<DisplayDataType>[];
|
|
524
|
+
allowDownload?: boolean;
|
|
466
525
|
};
|
|
467
526
|
|
|
468
527
|
declare type TChartConfiguration = ChartConfiguration;
|
|
@@ -490,7 +549,13 @@ export declare type TChartOptions = {
|
|
|
490
549
|
indexAxis?: 'x' | 'y' | undefined;
|
|
491
550
|
};
|
|
492
551
|
|
|
493
|
-
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'table' | 'kpi' | 'custom';
|
|
552
|
+
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'table' | 'kpi' | 'pyramid' | 'custom';
|
|
553
|
+
|
|
554
|
+
export declare type TColumnSetting<T extends DisplayDataType> = {
|
|
555
|
+
columnIdx: number;
|
|
556
|
+
type: T;
|
|
557
|
+
options: OptionsMap[T];
|
|
558
|
+
};
|
|
494
559
|
|
|
495
560
|
export declare type TDashboard = {
|
|
496
561
|
id: string;
|
|
@@ -501,6 +566,8 @@ export declare type TDashboard = {
|
|
|
501
566
|
filters?: TFilter[];
|
|
502
567
|
customCards?: CustomCard[];
|
|
503
568
|
baseQueries?: TBaseQuery[];
|
|
569
|
+
aiScopeTables?: AIScopeTable[];
|
|
570
|
+
globalStyle?: TStyle;
|
|
504
571
|
};
|
|
505
572
|
|
|
506
573
|
export declare type TDataColumn = {
|
|
@@ -611,6 +678,9 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
611
678
|
dataset?: any;
|
|
612
679
|
options?: any;
|
|
613
680
|
} | undefined;
|
|
681
|
+
table?: {
|
|
682
|
+
tableHeaderColor?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
614
684
|
} | undefined;
|
|
615
685
|
filteringCards?: {
|
|
616
686
|
id: string;
|
|
@@ -633,11 +703,22 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
633
703
|
filterOnClickField?: string | undefined;
|
|
634
704
|
filterOnClickColumnIndex?: number | undefined;
|
|
635
705
|
formatNumber?: {
|
|
636
|
-
|
|
706
|
+
decimalPlaces?: number | undefined;
|
|
637
707
|
currency?: string | undefined;
|
|
638
708
|
locale?: string | undefined;
|
|
639
709
|
suffix?: string | undefined;
|
|
640
710
|
enabled?: string | boolean | undefined;
|
|
711
|
+
colorRanges?: {
|
|
712
|
+
start: number;
|
|
713
|
+
end: number;
|
|
714
|
+
color: string;
|
|
715
|
+
}[] | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
numberAxisFormat?: {
|
|
718
|
+
decimalPlaces?: number | undefined;
|
|
719
|
+
suffix?: string | undefined;
|
|
720
|
+
currency?: string | undefined;
|
|
721
|
+
locale?: string | undefined;
|
|
641
722
|
} | undefined;
|
|
642
723
|
datasetOptions?: {
|
|
643
724
|
idx: number;
|
|
@@ -673,6 +754,64 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
673
754
|
} | undefined;
|
|
674
755
|
indexAxis?: "x" | "y" | undefined;
|
|
675
756
|
} | undefined;
|
|
757
|
+
columnSettings?: {
|
|
758
|
+
columnIdx: number;
|
|
759
|
+
type: DisplayDataType;
|
|
760
|
+
options: {
|
|
761
|
+
maxLength?: number | undefined;
|
|
762
|
+
} | {
|
|
763
|
+
locale: string;
|
|
764
|
+
currency?: string | undefined;
|
|
765
|
+
options: {
|
|
766
|
+
localeMatcher?: string | undefined;
|
|
767
|
+
style?: string | undefined;
|
|
768
|
+
currency?: string | undefined;
|
|
769
|
+
currencySign?: string | undefined;
|
|
770
|
+
useGrouping?: boolean | undefined;
|
|
771
|
+
minimumIntegerDigits?: number | undefined;
|
|
772
|
+
minimumFractionDigits?: number | undefined;
|
|
773
|
+
maximumFractionDigits?: number | undefined;
|
|
774
|
+
minimumSignificantDigits?: number | undefined;
|
|
775
|
+
maximumSignificantDigits?: number | undefined;
|
|
776
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
777
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
778
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
779
|
+
unit?: string | undefined;
|
|
780
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
781
|
+
currencyDisplay?: string | undefined;
|
|
782
|
+
};
|
|
783
|
+
colorRanges?: {
|
|
784
|
+
start: number;
|
|
785
|
+
end: number;
|
|
786
|
+
color: string;
|
|
787
|
+
}[] | undefined;
|
|
788
|
+
} | {
|
|
789
|
+
locale: string;
|
|
790
|
+
format: string;
|
|
791
|
+
options: {
|
|
792
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
793
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
794
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
795
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
796
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
797
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
798
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
799
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
800
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
801
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
802
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
803
|
+
hour12?: boolean | undefined;
|
|
804
|
+
timeZone?: string | undefined;
|
|
805
|
+
calendar?: string | undefined;
|
|
806
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
807
|
+
numberingSystem?: string | undefined;
|
|
808
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
809
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
810
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
}[] | undefined;
|
|
814
|
+
allowDownload?: boolean | undefined;
|
|
676
815
|
} | undefined;
|
|
677
816
|
lastSelectedDatabase?: string | undefined;
|
|
678
817
|
lastSelectedSchema?: string | undefined;
|
|
@@ -745,11 +884,22 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
745
884
|
filterOnClickField?: string | undefined;
|
|
746
885
|
filterOnClickColumnIndex?: number | undefined;
|
|
747
886
|
formatNumber?: {
|
|
748
|
-
|
|
887
|
+
decimalPlaces?: number | undefined;
|
|
749
888
|
currency?: string | undefined;
|
|
750
889
|
locale?: string | undefined;
|
|
751
890
|
suffix?: string | undefined;
|
|
752
891
|
enabled?: string | boolean | undefined;
|
|
892
|
+
colorRanges?: {
|
|
893
|
+
start: number;
|
|
894
|
+
end: number;
|
|
895
|
+
color: string;
|
|
896
|
+
}[] | undefined;
|
|
897
|
+
} | undefined;
|
|
898
|
+
numberAxisFormat?: {
|
|
899
|
+
decimalPlaces?: number | undefined;
|
|
900
|
+
suffix?: string | undefined;
|
|
901
|
+
currency?: string | undefined;
|
|
902
|
+
locale?: string | undefined;
|
|
753
903
|
} | undefined;
|
|
754
904
|
datasetOptions?: {
|
|
755
905
|
idx: number;
|
|
@@ -785,6 +935,64 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
785
935
|
} | undefined;
|
|
786
936
|
indexAxis?: "x" | "y" | undefined;
|
|
787
937
|
} | undefined;
|
|
938
|
+
columnSettings?: {
|
|
939
|
+
columnIdx: number;
|
|
940
|
+
type: DisplayDataType;
|
|
941
|
+
options: {
|
|
942
|
+
maxLength?: number | undefined;
|
|
943
|
+
} | {
|
|
944
|
+
locale: string;
|
|
945
|
+
currency?: string | undefined;
|
|
946
|
+
options: {
|
|
947
|
+
localeMatcher?: string | undefined;
|
|
948
|
+
style?: string | undefined;
|
|
949
|
+
currency?: string | undefined;
|
|
950
|
+
currencySign?: string | undefined;
|
|
951
|
+
useGrouping?: boolean | undefined;
|
|
952
|
+
minimumIntegerDigits?: number | undefined;
|
|
953
|
+
minimumFractionDigits?: number | undefined;
|
|
954
|
+
maximumFractionDigits?: number | undefined;
|
|
955
|
+
minimumSignificantDigits?: number | undefined;
|
|
956
|
+
maximumSignificantDigits?: number | undefined;
|
|
957
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
958
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
959
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
960
|
+
unit?: string | undefined;
|
|
961
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
962
|
+
currencyDisplay?: string | undefined;
|
|
963
|
+
};
|
|
964
|
+
colorRanges?: {
|
|
965
|
+
start: number;
|
|
966
|
+
end: number;
|
|
967
|
+
color: string;
|
|
968
|
+
}[] | undefined;
|
|
969
|
+
} | {
|
|
970
|
+
locale: string;
|
|
971
|
+
format: string;
|
|
972
|
+
options: {
|
|
973
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
974
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
975
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
976
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
977
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
978
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
979
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
980
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
981
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
982
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
983
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
984
|
+
hour12?: boolean | undefined;
|
|
985
|
+
timeZone?: string | undefined;
|
|
986
|
+
calendar?: string | undefined;
|
|
987
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
988
|
+
numberingSystem?: string | undefined;
|
|
989
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
990
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
991
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
}[] | undefined;
|
|
995
|
+
allowDownload?: boolean | undefined;
|
|
788
996
|
} | undefined;
|
|
789
997
|
lastSelectedDatabase?: string | undefined;
|
|
790
998
|
lastSelectedSchema?: string | undefined;
|
|
@@ -814,11 +1022,22 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
814
1022
|
filterOnClickField?: string | undefined;
|
|
815
1023
|
filterOnClickColumnIndex?: number | undefined;
|
|
816
1024
|
formatNumber?: {
|
|
817
|
-
|
|
1025
|
+
decimalPlaces?: number | undefined;
|
|
818
1026
|
currency?: string | undefined;
|
|
819
1027
|
locale?: string | undefined;
|
|
820
1028
|
suffix?: string | undefined;
|
|
821
1029
|
enabled?: string | boolean | undefined;
|
|
1030
|
+
colorRanges?: {
|
|
1031
|
+
start: number;
|
|
1032
|
+
end: number;
|
|
1033
|
+
color: string;
|
|
1034
|
+
}[] | undefined;
|
|
1035
|
+
} | undefined;
|
|
1036
|
+
numberAxisFormat?: {
|
|
1037
|
+
decimalPlaces?: number | undefined;
|
|
1038
|
+
suffix?: string | undefined;
|
|
1039
|
+
currency?: string | undefined;
|
|
1040
|
+
locale?: string | undefined;
|
|
822
1041
|
} | undefined;
|
|
823
1042
|
datasetOptions?: {
|
|
824
1043
|
idx: number;
|
|
@@ -854,6 +1073,64 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
854
1073
|
} | undefined;
|
|
855
1074
|
indexAxis?: "x" | "y" | undefined;
|
|
856
1075
|
} | undefined;
|
|
1076
|
+
columnSettings?: {
|
|
1077
|
+
columnIdx: number;
|
|
1078
|
+
type: DisplayDataType;
|
|
1079
|
+
options: {
|
|
1080
|
+
maxLength?: number | undefined;
|
|
1081
|
+
} | {
|
|
1082
|
+
locale: string;
|
|
1083
|
+
currency?: string | undefined;
|
|
1084
|
+
options: {
|
|
1085
|
+
localeMatcher?: string | undefined;
|
|
1086
|
+
style?: string | undefined;
|
|
1087
|
+
currency?: string | undefined;
|
|
1088
|
+
currencySign?: string | undefined;
|
|
1089
|
+
useGrouping?: boolean | undefined;
|
|
1090
|
+
minimumIntegerDigits?: number | undefined;
|
|
1091
|
+
minimumFractionDigits?: number | undefined;
|
|
1092
|
+
maximumFractionDigits?: number | undefined;
|
|
1093
|
+
minimumSignificantDigits?: number | undefined;
|
|
1094
|
+
maximumSignificantDigits?: number | undefined;
|
|
1095
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
1096
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
1097
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
1098
|
+
unit?: string | undefined;
|
|
1099
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
1100
|
+
currencyDisplay?: string | undefined;
|
|
1101
|
+
};
|
|
1102
|
+
colorRanges?: {
|
|
1103
|
+
start: number;
|
|
1104
|
+
end: number;
|
|
1105
|
+
color: string;
|
|
1106
|
+
}[] | undefined;
|
|
1107
|
+
} | {
|
|
1108
|
+
locale: string;
|
|
1109
|
+
format: string;
|
|
1110
|
+
options: {
|
|
1111
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
1112
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
1113
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
1114
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1115
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
1116
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1117
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
1118
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
1119
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
1120
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
1121
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
1122
|
+
hour12?: boolean | undefined;
|
|
1123
|
+
timeZone?: string | undefined;
|
|
1124
|
+
calendar?: string | undefined;
|
|
1125
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
1126
|
+
numberingSystem?: string | undefined;
|
|
1127
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1128
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1129
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
}[] | undefined;
|
|
1133
|
+
allowDownload?: boolean | undefined;
|
|
857
1134
|
} | undefined;
|
|
858
1135
|
lastSelectedDatabase?: string | undefined;
|
|
859
1136
|
lastSelectedSchema?: string | undefined;
|
|
@@ -884,6 +1161,9 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
884
1161
|
dataset?: any;
|
|
885
1162
|
options?: any;
|
|
886
1163
|
} | undefined;
|
|
1164
|
+
table?: {
|
|
1165
|
+
tableHeaderColor?: string | undefined;
|
|
1166
|
+
} | undefined;
|
|
887
1167
|
};
|
|
888
1168
|
dark?: {
|
|
889
1169
|
dashboardPanel?: string | undefined;
|
|
@@ -905,6 +1185,9 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
905
1185
|
dataset?: any;
|
|
906
1186
|
options?: any;
|
|
907
1187
|
} | undefined;
|
|
1188
|
+
table?: {
|
|
1189
|
+
tableHeaderColor?: string | undefined;
|
|
1190
|
+
} | undefined;
|
|
908
1191
|
} | undefined;
|
|
909
1192
|
} | undefined;
|
|
910
1193
|
filters?: {
|
|
@@ -943,6 +1226,63 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
943
1226
|
sql: string;
|
|
944
1227
|
description?: string | undefined;
|
|
945
1228
|
}[] | undefined;
|
|
1229
|
+
aiScopeTables?: {
|
|
1230
|
+
connectinonId: string;
|
|
1231
|
+
connectionType: string;
|
|
1232
|
+
databaseName?: string | undefined;
|
|
1233
|
+
schemaName?: string | undefined;
|
|
1234
|
+
tableName: string;
|
|
1235
|
+
}[] | undefined;
|
|
1236
|
+
globalStyle?: {
|
|
1237
|
+
default: {
|
|
1238
|
+
dashboardPanel?: string | undefined;
|
|
1239
|
+
dashboardTabsContainer?: string | undefined;
|
|
1240
|
+
dashboardCardContainer?: string | undefined;
|
|
1241
|
+
dashboardCard?: string | undefined;
|
|
1242
|
+
gridLayout?: {
|
|
1243
|
+
className?: string | undefined;
|
|
1244
|
+
margin?: [number, number] | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
chart?: {
|
|
1247
|
+
font?: {
|
|
1248
|
+
family?: string | undefined;
|
|
1249
|
+
size?: number | undefined;
|
|
1250
|
+
style?: "normal" | "italic" | "oblique" | "initial" | "inherit" | undefined;
|
|
1251
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
1252
|
+
lineHeight?: string | number | undefined;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
dataset?: any;
|
|
1255
|
+
options?: any;
|
|
1256
|
+
} | undefined;
|
|
1257
|
+
table?: {
|
|
1258
|
+
tableHeaderColor?: string | undefined;
|
|
1259
|
+
} | undefined;
|
|
1260
|
+
};
|
|
1261
|
+
dark?: {
|
|
1262
|
+
dashboardPanel?: string | undefined;
|
|
1263
|
+
dashboardTabsContainer?: string | undefined;
|
|
1264
|
+
dashboardCardContainer?: string | undefined;
|
|
1265
|
+
dashboardCard?: string | undefined;
|
|
1266
|
+
gridLayout?: {
|
|
1267
|
+
className?: string | undefined;
|
|
1268
|
+
margin?: [number, number] | undefined;
|
|
1269
|
+
} | undefined;
|
|
1270
|
+
chart?: {
|
|
1271
|
+
font?: {
|
|
1272
|
+
family?: string | undefined;
|
|
1273
|
+
size?: number | undefined;
|
|
1274
|
+
style?: "normal" | "italic" | "oblique" | "initial" | "inherit" | undefined;
|
|
1275
|
+
weight?: number | "bold" | "normal" | "lighter" | "bolder" | null | undefined;
|
|
1276
|
+
lineHeight?: string | number | undefined;
|
|
1277
|
+
} | undefined;
|
|
1278
|
+
dataset?: any;
|
|
1279
|
+
options?: any;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
table?: {
|
|
1282
|
+
tableHeaderColor?: string | undefined;
|
|
1283
|
+
} | undefined;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
} | undefined;
|
|
946
1286
|
};
|
|
947
1287
|
selectedSheetId?: string | null | undefined;
|
|
948
1288
|
selectedFrameId?: string | null | undefined;
|
|
@@ -968,11 +1308,22 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
968
1308
|
filterOnClickField?: string | undefined;
|
|
969
1309
|
filterOnClickColumnIndex?: number | undefined;
|
|
970
1310
|
formatNumber?: {
|
|
971
|
-
|
|
1311
|
+
decimalPlaces?: number | undefined;
|
|
972
1312
|
currency?: string | undefined;
|
|
973
1313
|
locale?: string | undefined;
|
|
974
1314
|
suffix?: string | undefined;
|
|
975
1315
|
enabled?: string | boolean | undefined;
|
|
1316
|
+
colorRanges?: {
|
|
1317
|
+
start: number;
|
|
1318
|
+
end: number;
|
|
1319
|
+
color: string;
|
|
1320
|
+
}[] | undefined;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
numberAxisFormat?: {
|
|
1323
|
+
decimalPlaces?: number | undefined;
|
|
1324
|
+
suffix?: string | undefined;
|
|
1325
|
+
currency?: string | undefined;
|
|
1326
|
+
locale?: string | undefined;
|
|
976
1327
|
} | undefined;
|
|
977
1328
|
datasetOptions?: {
|
|
978
1329
|
idx: number;
|
|
@@ -1008,6 +1359,64 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
1008
1359
|
} | undefined;
|
|
1009
1360
|
indexAxis?: "x" | "y" | undefined;
|
|
1010
1361
|
} | undefined;
|
|
1362
|
+
columnSettings?: {
|
|
1363
|
+
columnIdx: number;
|
|
1364
|
+
type: DisplayDataType;
|
|
1365
|
+
options: {
|
|
1366
|
+
maxLength?: number | undefined;
|
|
1367
|
+
} | {
|
|
1368
|
+
locale: string;
|
|
1369
|
+
currency?: string | undefined;
|
|
1370
|
+
options: {
|
|
1371
|
+
localeMatcher?: string | undefined;
|
|
1372
|
+
style?: string | undefined;
|
|
1373
|
+
currency?: string | undefined;
|
|
1374
|
+
currencySign?: string | undefined;
|
|
1375
|
+
useGrouping?: boolean | undefined;
|
|
1376
|
+
minimumIntegerDigits?: number | undefined;
|
|
1377
|
+
minimumFractionDigits?: number | undefined;
|
|
1378
|
+
maximumFractionDigits?: number | undefined;
|
|
1379
|
+
minimumSignificantDigits?: number | undefined;
|
|
1380
|
+
maximumSignificantDigits?: number | undefined;
|
|
1381
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
1382
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
1383
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
1384
|
+
unit?: string | undefined;
|
|
1385
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
1386
|
+
currencyDisplay?: string | undefined;
|
|
1387
|
+
};
|
|
1388
|
+
colorRanges?: {
|
|
1389
|
+
start: number;
|
|
1390
|
+
end: number;
|
|
1391
|
+
color: string;
|
|
1392
|
+
}[] | undefined;
|
|
1393
|
+
} | {
|
|
1394
|
+
locale: string;
|
|
1395
|
+
format: string;
|
|
1396
|
+
options: {
|
|
1397
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
1398
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
1399
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
1400
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1401
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
1402
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1403
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
1404
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
1405
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
1406
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
1407
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
1408
|
+
hour12?: boolean | undefined;
|
|
1409
|
+
timeZone?: string | undefined;
|
|
1410
|
+
calendar?: string | undefined;
|
|
1411
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
1412
|
+
numberingSystem?: string | undefined;
|
|
1413
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1414
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1415
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
}[] | undefined;
|
|
1419
|
+
allowDownload?: boolean | undefined;
|
|
1011
1420
|
} | undefined;
|
|
1012
1421
|
lastSelectedDatabase?: string | undefined;
|
|
1013
1422
|
lastSelectedSchema?: string | undefined;
|
|
@@ -1074,6 +1483,8 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
1074
1483
|
onUpdateCard?: ((card: TCard, sheetId: string) => void) | undefined;
|
|
1075
1484
|
onRemoveCard?: ((card: TCard, sheetId: string) => void) | undefined;
|
|
1076
1485
|
actions: {
|
|
1486
|
+
setGlobalStyle: (style: TStyle) => void;
|
|
1487
|
+
setAIScopeTables: (aiScopeTables: AIScopeTable[]) => void;
|
|
1077
1488
|
setIsSessionExpired: (isSessionExpired: boolean) => void;
|
|
1078
1489
|
setCurrentBreakpoint: (breakpoint: Breakpoint) => void;
|
|
1079
1490
|
addFilteringCard: (card: TCard) => void;
|
|
@@ -1096,7 +1507,7 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
1096
1507
|
setCardPython: (cardId: string, pythonCode: string) => void;
|
|
1097
1508
|
setCardDescription: (sheetId: string, cardId: string, description: string) => void;
|
|
1098
1509
|
setFrameCardData: (sheetId: string, cardId: string, data: any[]) => void;
|
|
1099
|
-
addFrame: (sheetId: string, frame: TFrame) => void;
|
|
1510
|
+
addFrame: (sheetId: string, frame: TFrame, position?: 'start' | 'end') => void;
|
|
1100
1511
|
updateFrame: (sheetId: string, frame: TFrame) => void;
|
|
1101
1512
|
updateCard: (sheetId: string, card: TCard) => void;
|
|
1102
1513
|
updateFrameCard?: ((sheetId: string, frameId: string, card: TCard) => void) | undefined;
|
|
@@ -1170,7 +1581,8 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
1170
1581
|
isSqlRunning: boolean;
|
|
1171
1582
|
actions: {
|
|
1172
1583
|
setCardRefreshInterval: (refreshInterval: string) => void;
|
|
1173
|
-
setNumberFormat: (
|
|
1584
|
+
setNumberFormat: (decimalPlaces: number, currency: string, locale: string, suffix: string) => void;
|
|
1585
|
+
setColorRanges: (colorRanges: ColorRange[]) => void;
|
|
1174
1586
|
setIsShowingVisual: (isShowingVisual: boolean) => void;
|
|
1175
1587
|
setQueryResultColumns: (columns: string[]) => void;
|
|
1176
1588
|
setQueryError: (error: string) => void;
|
|
@@ -1236,11 +1648,22 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
1236
1648
|
filterOnClickField?: string | undefined;
|
|
1237
1649
|
filterOnClickColumnIndex?: number | undefined;
|
|
1238
1650
|
formatNumber?: {
|
|
1239
|
-
|
|
1651
|
+
decimalPlaces?: number | undefined;
|
|
1240
1652
|
currency?: string | undefined;
|
|
1241
1653
|
locale?: string | undefined;
|
|
1242
1654
|
suffix?: string | undefined;
|
|
1243
1655
|
enabled?: string | boolean | undefined;
|
|
1656
|
+
colorRanges?: {
|
|
1657
|
+
start: number;
|
|
1658
|
+
end: number;
|
|
1659
|
+
color: string;
|
|
1660
|
+
}[] | undefined;
|
|
1661
|
+
} | undefined;
|
|
1662
|
+
numberAxisFormat?: {
|
|
1663
|
+
decimalPlaces?: number | undefined;
|
|
1664
|
+
suffix?: string | undefined;
|
|
1665
|
+
currency?: string | undefined;
|
|
1666
|
+
locale?: string | undefined;
|
|
1244
1667
|
} | undefined;
|
|
1245
1668
|
datasetOptions?: {
|
|
1246
1669
|
idx: number;
|
|
@@ -1276,6 +1699,64 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
1276
1699
|
} | undefined;
|
|
1277
1700
|
indexAxis?: "x" | "y" | undefined;
|
|
1278
1701
|
} | undefined;
|
|
1702
|
+
columnSettings?: {
|
|
1703
|
+
columnIdx: number;
|
|
1704
|
+
type: DisplayDataType;
|
|
1705
|
+
options: {
|
|
1706
|
+
maxLength?: number | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
locale: string;
|
|
1709
|
+
currency?: string | undefined;
|
|
1710
|
+
options: {
|
|
1711
|
+
localeMatcher?: string | undefined;
|
|
1712
|
+
style?: string | undefined;
|
|
1713
|
+
currency?: string | undefined;
|
|
1714
|
+
currencySign?: string | undefined;
|
|
1715
|
+
useGrouping?: boolean | undefined;
|
|
1716
|
+
minimumIntegerDigits?: number | undefined;
|
|
1717
|
+
minimumFractionDigits?: number | undefined;
|
|
1718
|
+
maximumFractionDigits?: number | undefined;
|
|
1719
|
+
minimumSignificantDigits?: number | undefined;
|
|
1720
|
+
maximumSignificantDigits?: number | undefined;
|
|
1721
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
1722
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
1723
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
1724
|
+
unit?: string | undefined;
|
|
1725
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
1726
|
+
currencyDisplay?: string | undefined;
|
|
1727
|
+
};
|
|
1728
|
+
colorRanges?: {
|
|
1729
|
+
start: number;
|
|
1730
|
+
end: number;
|
|
1731
|
+
color: string;
|
|
1732
|
+
}[] | undefined;
|
|
1733
|
+
} | {
|
|
1734
|
+
locale: string;
|
|
1735
|
+
format: string;
|
|
1736
|
+
options: {
|
|
1737
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
1738
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
1739
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
1740
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1741
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
1742
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1743
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
1744
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
1745
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
1746
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
1747
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
1748
|
+
hour12?: boolean | undefined;
|
|
1749
|
+
timeZone?: string | undefined;
|
|
1750
|
+
calendar?: string | undefined;
|
|
1751
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
1752
|
+
numberingSystem?: string | undefined;
|
|
1753
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1754
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1755
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
}[] | undefined;
|
|
1759
|
+
allowDownload?: boolean | undefined;
|
|
1279
1760
|
} | undefined;
|
|
1280
1761
|
lastSelectedDatabase?: string | undefined;
|
|
1281
1762
|
lastSelectedSchema?: string | undefined;
|
|
@@ -1305,11 +1786,22 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
1305
1786
|
filterOnClickField?: string | undefined;
|
|
1306
1787
|
filterOnClickColumnIndex?: number | undefined;
|
|
1307
1788
|
formatNumber?: {
|
|
1308
|
-
|
|
1789
|
+
decimalPlaces?: number | undefined;
|
|
1309
1790
|
currency?: string | undefined;
|
|
1310
1791
|
locale?: string | undefined;
|
|
1311
1792
|
suffix?: string | undefined;
|
|
1312
1793
|
enabled?: string | boolean | undefined;
|
|
1794
|
+
colorRanges?: {
|
|
1795
|
+
start: number;
|
|
1796
|
+
end: number;
|
|
1797
|
+
color: string;
|
|
1798
|
+
}[] | undefined;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
numberAxisFormat?: {
|
|
1801
|
+
decimalPlaces?: number | undefined;
|
|
1802
|
+
suffix?: string | undefined;
|
|
1803
|
+
currency?: string | undefined;
|
|
1804
|
+
locale?: string | undefined;
|
|
1313
1805
|
} | undefined;
|
|
1314
1806
|
datasetOptions?: {
|
|
1315
1807
|
idx: number;
|
|
@@ -1345,6 +1837,64 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
1345
1837
|
} | undefined;
|
|
1346
1838
|
indexAxis?: "x" | "y" | undefined;
|
|
1347
1839
|
} | undefined;
|
|
1840
|
+
columnSettings?: {
|
|
1841
|
+
columnIdx: number;
|
|
1842
|
+
type: DisplayDataType;
|
|
1843
|
+
options: {
|
|
1844
|
+
maxLength?: number | undefined;
|
|
1845
|
+
} | {
|
|
1846
|
+
locale: string;
|
|
1847
|
+
currency?: string | undefined;
|
|
1848
|
+
options: {
|
|
1849
|
+
localeMatcher?: string | undefined;
|
|
1850
|
+
style?: string | undefined;
|
|
1851
|
+
currency?: string | undefined;
|
|
1852
|
+
currencySign?: string | undefined;
|
|
1853
|
+
useGrouping?: boolean | undefined;
|
|
1854
|
+
minimumIntegerDigits?: number | undefined;
|
|
1855
|
+
minimumFractionDigits?: number | undefined;
|
|
1856
|
+
maximumFractionDigits?: number | undefined;
|
|
1857
|
+
minimumSignificantDigits?: number | undefined;
|
|
1858
|
+
maximumSignificantDigits?: number | undefined;
|
|
1859
|
+
compactDisplay?: "short" | "long" | undefined;
|
|
1860
|
+
notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
|
|
1861
|
+
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
1862
|
+
unit?: string | undefined;
|
|
1863
|
+
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
1864
|
+
currencyDisplay?: string | undefined;
|
|
1865
|
+
};
|
|
1866
|
+
colorRanges?: {
|
|
1867
|
+
start: number;
|
|
1868
|
+
end: number;
|
|
1869
|
+
color: string;
|
|
1870
|
+
}[] | undefined;
|
|
1871
|
+
} | {
|
|
1872
|
+
locale: string;
|
|
1873
|
+
format: string;
|
|
1874
|
+
options: {
|
|
1875
|
+
localeMatcher?: "best fit" | "lookup" | undefined;
|
|
1876
|
+
weekday?: "short" | "long" | "narrow" | undefined;
|
|
1877
|
+
era?: "short" | "long" | "narrow" | undefined;
|
|
1878
|
+
year?: "numeric" | "2-digit" | undefined;
|
|
1879
|
+
month?: "numeric" | "short" | "long" | "narrow" | "2-digit" | undefined;
|
|
1880
|
+
day?: "numeric" | "2-digit" | undefined;
|
|
1881
|
+
hour?: "numeric" | "2-digit" | undefined;
|
|
1882
|
+
minute?: "numeric" | "2-digit" | undefined;
|
|
1883
|
+
second?: "numeric" | "2-digit" | undefined;
|
|
1884
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;
|
|
1885
|
+
formatMatcher?: "best fit" | "basic" | undefined;
|
|
1886
|
+
hour12?: boolean | undefined;
|
|
1887
|
+
timeZone?: string | undefined;
|
|
1888
|
+
calendar?: string | undefined;
|
|
1889
|
+
dayPeriod?: "short" | "long" | "narrow" | undefined;
|
|
1890
|
+
numberingSystem?: string | undefined;
|
|
1891
|
+
dateStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1892
|
+
timeStyle?: "short" | "long" | "full" | "medium" | undefined;
|
|
1893
|
+
hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
|
+
}[] | undefined;
|
|
1897
|
+
allowDownload?: boolean | undefined;
|
|
1348
1898
|
} | undefined;
|
|
1349
1899
|
lastSelectedDatabase?: string | undefined;
|
|
1350
1900
|
lastSelectedSchema?: string | undefined;
|