react-semaphor 0.0.71 → 0.0.72
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/react-semaphor.d.ts +30 -0
- package/dist/react-semaphor.js +9546 -9299
- package/dist/react-semaphor.umd.cjs +115 -125
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/react-semaphor.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ declare type Actions = {
|
|
|
57
57
|
|
|
58
58
|
declare type Actions_2 = {
|
|
59
59
|
setCardRefreshInterval: (refreshInterval: string) => void;
|
|
60
|
+
setNumberFormat: (format: string, currency: string, locale: string, suffix: string) => void;
|
|
60
61
|
setIsShowingVisual: (isShowingVisual: boolean) => void;
|
|
61
62
|
setRunSql: (runSql: boolean) => void;
|
|
62
63
|
setCardPreferences: (preferences: TCardPreferences) => void;
|
|
@@ -299,6 +300,13 @@ export declare type TCardContext = {
|
|
|
299
300
|
export declare type TCardPreferences = {
|
|
300
301
|
filterOnClick?: boolean;
|
|
301
302
|
filterOnClickField?: string;
|
|
303
|
+
formatNumber?: {
|
|
304
|
+
format?: string;
|
|
305
|
+
currency?: string;
|
|
306
|
+
locale?: string;
|
|
307
|
+
suffix?: string;
|
|
308
|
+
enabled?: boolean | string;
|
|
309
|
+
};
|
|
302
310
|
};
|
|
303
311
|
|
|
304
312
|
declare type TChartType = 'bar' | 'horizontalBar' | 'line' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter' | 'stackedBar' | 'table' | 'kpi';
|
|
@@ -429,6 +437,13 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
429
437
|
preferences?: {
|
|
430
438
|
filterOnClick?: boolean | undefined;
|
|
431
439
|
filterOnClickField?: string | undefined;
|
|
440
|
+
formatNumber?: {
|
|
441
|
+
format?: string | undefined;
|
|
442
|
+
currency?: string | undefined;
|
|
443
|
+
locale?: string | undefined;
|
|
444
|
+
suffix?: string | undefined;
|
|
445
|
+
enabled?: string | boolean | undefined;
|
|
446
|
+
} | undefined;
|
|
432
447
|
} | undefined;
|
|
433
448
|
lastSelectedDatabase?: string | undefined;
|
|
434
449
|
lastSelectedSchema?: string | undefined;
|
|
@@ -506,6 +521,13 @@ export declare const useDashboardStore: UseBoundStore<Omit<StoreApi<DashboardSto
|
|
|
506
521
|
preferences?: {
|
|
507
522
|
filterOnClick?: boolean | undefined;
|
|
508
523
|
filterOnClickField?: string | undefined;
|
|
524
|
+
formatNumber?: {
|
|
525
|
+
format?: string | undefined;
|
|
526
|
+
currency?: string | undefined;
|
|
527
|
+
locale?: string | undefined;
|
|
528
|
+
suffix?: string | undefined;
|
|
529
|
+
enabled?: string | boolean | undefined;
|
|
530
|
+
} | undefined;
|
|
509
531
|
} | undefined;
|
|
510
532
|
lastSelectedDatabase?: string | undefined;
|
|
511
533
|
lastSelectedSchema?: string | undefined;
|
|
@@ -630,6 +652,7 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
630
652
|
isSqlRunning: boolean;
|
|
631
653
|
actions: {
|
|
632
654
|
setCardRefreshInterval: (refreshInterval: string) => void;
|
|
655
|
+
setNumberFormat: (format: string, currency: string, locale: string, suffix: string) => void;
|
|
633
656
|
setIsShowingVisual: (isShowingVisual: boolean) => void;
|
|
634
657
|
setRunSql: (runSql: boolean) => void;
|
|
635
658
|
setCardPreferences: (preferences: TCardPreferences) => void;
|
|
@@ -679,6 +702,13 @@ export declare const useEditorStore: UseBoundStore<Omit<StoreApi<EditorStore>, "
|
|
|
679
702
|
preferences?: {
|
|
680
703
|
filterOnClick?: boolean | undefined;
|
|
681
704
|
filterOnClickField?: string | undefined;
|
|
705
|
+
formatNumber?: {
|
|
706
|
+
format?: string | undefined;
|
|
707
|
+
currency?: string | undefined;
|
|
708
|
+
locale?: string | undefined;
|
|
709
|
+
suffix?: string | undefined;
|
|
710
|
+
enabled?: string | boolean | undefined;
|
|
711
|
+
} | undefined;
|
|
682
712
|
} | undefined;
|
|
683
713
|
lastSelectedDatabase?: string | undefined;
|
|
684
714
|
lastSelectedSchema?: string | undefined;
|