react-semaphor 0.1.281 → 0.1.283

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.
Files changed (33) hide show
  1. package/dist/chunks/{dashboard-controls-D3R8Z79V.js → dashboard-controls-DN8jYCON.js} +102 -102
  2. package/dist/chunks/{dashboard-controls-CLd_NTpW.js → dashboard-controls-wfMo3T6T.js} +1 -1
  3. package/dist/chunks/{dashboard-filter-controls-button-DLjcoN1G.js → dashboard-filter-controls-button-DKc_6T_O.js} +2 -2
  4. package/dist/chunks/{dashboard-filter-controls-button-zj4HH2IS.js → dashboard-filter-controls-button-zeiatmo1.js} +125 -113
  5. package/dist/chunks/{dashboard-json-BcdeYcFr.js → dashboard-json-DK_hQ4vs.js} +1 -1
  6. package/dist/chunks/{dashboard-json-CPyonfsi.js → dashboard-json-DyJBSpIU.js} +1 -1
  7. package/dist/chunks/{dashboard-summary-settings-dialog-Cpb9FCXf.js → dashboard-summary-settings-dialog-BPyawgMV.js} +1 -1
  8. package/dist/chunks/{dashboard-summary-settings-dialog-BYQfaQGZ.js → dashboard-summary-settings-dialog-CWtlFDFP.js} +1 -1
  9. package/dist/chunks/{edit-dashboard-visual-NyBBQhsY.js → edit-dashboard-visual-0lBlwTCM.js} +1 -1
  10. package/dist/chunks/{edit-dashboard-visual-CsTmOttj.js → edit-dashboard-visual-4nQV1U_c.js} +319 -319
  11. package/dist/chunks/{index-CsX3UmQg.js → index-B7kUtCgG.js} +26420 -25515
  12. package/dist/chunks/{index-DvAOngur.js → index-BHWWNpG6.js} +223 -223
  13. package/dist/chunks/{resource-management-panel-lglhpWpc.js → resource-management-panel-D8xvqypt.js} +1 -1
  14. package/dist/chunks/{resource-management-panel-BxJ99bHx.js → resource-management-panel-Dpin6Ffw.js} +2 -2
  15. package/dist/chunks/use-create-flow-overlay-state-VwKDgVAy.js +1597 -0
  16. package/dist/chunks/use-create-flow-overlay-state-XkHgf9f3.js +21 -0
  17. package/dist/chunks/{use-visual-utils-C54WwvId.js → use-visual-utils-C8YSTPfX.js} +1 -1
  18. package/dist/chunks/{use-visual-utils-C7wVd3rs.js → use-visual-utils-CBocWNV1.js} +1 -1
  19. package/dist/dashboard/index.cjs +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.js +5 -5
  23. package/dist/style.css +1 -1
  24. package/dist/surfboard/index.cjs +1 -1
  25. package/dist/surfboard/index.js +2 -2
  26. package/dist/types/dashboard.d.ts +9 -1
  27. package/dist/types/main.d.ts +9 -1
  28. package/dist/types/shared.d.ts +9 -1
  29. package/dist/types/surfboard.d.ts +9 -1
  30. package/dist/types/types.d.ts +9 -1
  31. package/package.json +1 -1
  32. package/dist/chunks/use-create-flow-overlay-state-BjV5Q6Lb.js +0 -1443
  33. package/dist/chunks/use-create-flow-overlay-state-BrmQZdh2.js +0 -21
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-DvAOngur.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-Cpb9FCXf.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/index-BHWWNpG6.js"),e=require("../types/index.cjs"),r=require("../chunks/dashboard-summary-settings-dialog-BPyawgMV.js");exports.Surfboard=a.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.CalendarPreferencesDialog=r.CalendarPreferencesDialog;exports.DashboardSummarySettingsDialog=r.DashboardSummarySettingsDialog;
@@ -1,6 +1,6 @@
1
- import { a as o } from "../chunks/index-CsX3UmQg.js";
1
+ import { a as o } from "../chunks/index-B7kUtCgG.js";
2
2
  import { CONTROL_CARD_DEFAULT_VALUE as s, EMPTY_SELECTION as D } from "../types/index.js";
3
- import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-BYQfaQGZ.js";
3
+ import { C as m, D as t } from "../chunks/dashboard-summary-settings-dialog-CWtlFDFP.js";
4
4
  export {
5
5
  s as CONTROL_CARD_DEFAULT_VALUE,
6
6
  m as CalendarPreferencesDialog,
@@ -377,7 +377,7 @@ export declare type ControlSource = {
377
377
  } | {
378
378
  kind: 'metric_allowlist';
379
379
  metricIds: string[];
380
- };
380
+ } | SqlQueryControlSource;
381
381
 
382
382
  export declare type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
383
383
 
@@ -1292,6 +1292,14 @@ export declare type SqlGen = {
1292
1292
  dimensions?: string[];
1293
1293
  };
1294
1294
 
1295
+ export declare type SqlQueryControlSource = {
1296
+ kind: 'sql_query';
1297
+ connectionId: string;
1298
+ sql: string;
1299
+ valueColumn: string;
1300
+ labelColumn?: string;
1301
+ };
1302
+
1295
1303
  declare type StringOptions = {
1296
1304
  maxLength?: number;
1297
1305
  };
@@ -1215,7 +1215,7 @@ export declare type ControlSource = {
1215
1215
  } | {
1216
1216
  kind: 'metric_allowlist';
1217
1217
  metricIds: string[];
1218
- };
1218
+ } | SqlQueryControlSource;
1219
1219
 
1220
1220
  export declare type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
1221
1221
 
@@ -3334,6 +3334,14 @@ export declare type SqlGen = {
3334
3334
  dimensions?: string[];
3335
3335
  };
3336
3336
 
3337
+ export declare type SqlQueryControlSource = {
3338
+ kind: 'sql_query';
3339
+ connectionId: string;
3340
+ sql: string;
3341
+ valueColumn: string;
3342
+ labelColumn?: string;
3343
+ };
3344
+
3337
3345
  declare type StateSerializer<T> = (value: T) => string;
3338
3346
 
3339
3347
  declare type StringCanonicalFormat = {
@@ -356,7 +356,7 @@ declare type ControlSource = {
356
356
  } | {
357
357
  kind: 'metric_allowlist';
358
358
  metricIds: string[];
359
- };
359
+ } | SqlQueryControlSource;
360
360
 
361
361
  declare type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
362
362
 
@@ -1132,6 +1132,14 @@ declare interface SortByField extends Field {
1132
1132
  direction: 'asc' | 'desc';
1133
1133
  }
1134
1134
 
1135
+ declare type SqlQueryControlSource = {
1136
+ kind: 'sql_query';
1137
+ connectionId: string;
1138
+ sql: string;
1139
+ valueColumn: string;
1140
+ labelColumn?: string;
1141
+ };
1142
+
1135
1143
  declare type StateSerializer<T> = (value: T) => string;
1136
1144
 
1137
1145
  declare type StringOptions = {
@@ -384,7 +384,7 @@ export declare type ControlSource = {
384
384
  } | {
385
385
  kind: 'metric_allowlist';
386
386
  metricIds: string[];
387
- };
387
+ } | SqlQueryControlSource;
388
388
 
389
389
  export declare type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
390
390
 
@@ -1312,6 +1312,14 @@ export declare type SqlGen = {
1312
1312
  dimensions?: string[];
1313
1313
  };
1314
1314
 
1315
+ export declare type SqlQueryControlSource = {
1316
+ kind: 'sql_query';
1317
+ connectionId: string;
1318
+ sql: string;
1319
+ valueColumn: string;
1320
+ labelColumn?: string;
1321
+ };
1322
+
1315
1323
  declare type StringOptions = {
1316
1324
  maxLength?: number;
1317
1325
  };
@@ -621,7 +621,7 @@ export declare type ControlSource = {
621
621
  } | {
622
622
  kind: 'metric_allowlist';
623
623
  metricIds: string[];
624
- };
624
+ } | SqlQueryControlSource;
625
625
 
626
626
  export declare type ControlType = 'enum' | 'multi_enum' | 'text' | 'number' | 'boolean' | 'date' | 'field_selector' | 'metric_selector' | 'aggregation_selector' | 'grain_selector';
627
627
 
@@ -1636,6 +1636,14 @@ export declare type SqlGen = {
1636
1636
  dimensions?: string[];
1637
1637
  };
1638
1638
 
1639
+ export declare type SqlQueryControlSource = {
1640
+ kind: 'sql_query';
1641
+ connectionId: string;
1642
+ sql: string;
1643
+ valueColumn: string;
1644
+ labelColumn?: string;
1645
+ };
1646
+
1639
1647
  declare type StringCanonicalFormat = {
1640
1648
  type: 'string';
1641
1649
  prefix?: string;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.281",
8
+ "version": "0.1.283",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",