react-semaphor 0.1.19 → 0.1.20
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-B2AC3u4d.js +280 -0
- package/dist/chunks/{dashboard-plus-XEKMZ7Lk.js → dashboard-plus-ChHljR8u.js} +5852 -5626
- package/dist/chunks/{index-WGPrKoOC.js → index-BtWVyX3C.js} +169 -179
- package/dist/chunks/{index-BCkptgcw.js → index-DAeavWBL.js} +20256 -20432
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +61 -60
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/main.d.ts +8 -1
- package/dist/types/surfboard.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-_lhN-s45.js +0 -280
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-B2AC3u4d.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -104,7 +104,7 @@ declare interface CardConfig {
|
|
|
104
104
|
* Configuration for on-click dashboard filters triggered by this card.
|
|
105
105
|
*/
|
|
106
106
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
107
|
-
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target';
|
|
107
|
+
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
108
108
|
targetValue?: number;
|
|
109
109
|
showTrendline?: boolean;
|
|
110
110
|
trendlineWindow?: number;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -344,7 +344,7 @@ export declare interface CardConfig {
|
|
|
344
344
|
* Configuration for on-click dashboard filters triggered by this card.
|
|
345
345
|
*/
|
|
346
346
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
347
|
-
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target';
|
|
347
|
+
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
348
348
|
targetValue?: number;
|
|
349
349
|
showTrendline?: boolean;
|
|
350
350
|
trendlineWindow?: number;
|
|
@@ -506,6 +506,13 @@ export declare type ConnectionType = 'GoogleSheets' | 'MySQL' | 'MSSQL' | 'Postg
|
|
|
506
506
|
|
|
507
507
|
export declare type ContainerId = 'groupBy' | 'metrics' | 'pivotBy' | 'sortBy' | 'source';
|
|
508
508
|
|
|
509
|
+
/**
|
|
510
|
+
* Factory function to create empty KPI card configuration
|
|
511
|
+
* Returns a fresh config with new array instances to prevent shared references
|
|
512
|
+
* Used when switching to KPI chart type
|
|
513
|
+
*/
|
|
514
|
+
export declare const createEmptyKpiConfig: () => CardConfig;
|
|
515
|
+
|
|
509
516
|
export declare function createSqlGenConfig(column: TDataColumn, preSqlGen: SqlGen, calc?: AggregateCalc): SqlGen;
|
|
510
517
|
|
|
511
518
|
export declare type CustomCard = CardWithContent | CardWithFooter;
|
|
@@ -104,7 +104,7 @@ declare interface CardConfig {
|
|
|
104
104
|
* Configuration for on-click dashboard filters triggered by this card.
|
|
105
105
|
*/
|
|
106
106
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
107
|
-
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target';
|
|
107
|
+
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
108
108
|
targetValue?: number;
|
|
109
109
|
showTrendline?: boolean;
|
|
110
110
|
trendlineWindow?: number;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ declare interface CardConfig {
|
|
|
103
103
|
* Configuration for on-click dashboard filters triggered by this card.
|
|
104
104
|
*/
|
|
105
105
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
106
|
-
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target';
|
|
106
|
+
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
107
107
|
targetValue?: number;
|
|
108
108
|
showTrendline?: boolean;
|
|
109
109
|
trendlineWindow?: number;
|