react-semaphor 0.1.468 → 0.1.469

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 (42) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +55 -52
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +1 -1
  5. package/dist/chunks/{dashboard-briefing-launcher-Bo4GmnB7.cjs → dashboard-briefing-launcher-BqxcYhO2.cjs} +1 -1
  6. package/dist/chunks/{dashboard-briefing-launcher-DjBmkS6v.js → dashboard-briefing-launcher-kKSBCRLE.js} +3 -3
  7. package/dist/chunks/{dashboard-controls-CvrCyVPZ.js → dashboard-controls-DP2rftVR.js} +4 -4
  8. package/dist/chunks/{dashboard-controls-CstKugeB.cjs → dashboard-controls-Z8ow3GV6.cjs} +1 -1
  9. package/dist/chunks/{dashboard-filter-value-compatibility-o-kufPZB.js → dashboard-filter-value-compatibility-Ce7jUVh-.js} +1 -1
  10. package/dist/chunks/{dashboard-filter-value-compatibility-Bnl2lsng.cjs → dashboard-filter-value-compatibility-iCPBcrRS.cjs} +1 -1
  11. package/dist/chunks/{dashboard-json-D9r_xere.js → dashboard-json-3qT123Xa.js} +2 -2
  12. package/dist/chunks/{dashboard-json-ZGqzmExU.cjs → dashboard-json-CPq7IMvR.cjs} +1 -1
  13. package/dist/chunks/edit-dashboard-visual-7eUCTZnx.cjs +172 -0
  14. package/dist/chunks/{edit-dashboard-visual-D64tmqA4.js → edit-dashboard-visual-Clz6LQOX.js} +7280 -7414
  15. package/dist/chunks/{editor-action-buttons-C2msc_en.js → editor-action-buttons-CFbMRQSE.js} +2 -2
  16. package/dist/chunks/{editor-action-buttons-BXJlZl7z.cjs → editor-action-buttons-WJFWflfs.cjs} +1 -1
  17. package/dist/chunks/{index-B6cfDHwn.js → index-8Cm77joZ.js} +33430 -33420
  18. package/dist/chunks/index-DKaQRhKm.cjs +1404 -0
  19. package/dist/chunks/matrix-result-contract-ClC6Pd_g.js +822 -0
  20. package/dist/chunks/matrix-result-contract-DF-qt0jx.cjs +1 -0
  21. package/dist/chunks/{report-preferences-dialog-B89ypIJ-.cjs → report-preferences-dialog-C5UOCTwt.cjs} +1 -1
  22. package/dist/chunks/{report-preferences-dialog-Dvy818KV.js → report-preferences-dialog-D-NDYRrk.js} +2 -2
  23. package/dist/chunks/{switch-8PklEEN1.js → switch-BagpmPNw.js} +16 -1
  24. package/dist/chunks/{switch-DykyqM66.cjs → switch-DyE2_OmQ.cjs} +2 -2
  25. package/dist/dashboard/index.cjs +1 -1
  26. package/dist/dashboard/index.js +1 -1
  27. package/dist/dashboard-authoring/index.cjs +1 -1
  28. package/dist/dashboard-authoring/index.js +1 -1
  29. package/dist/data-app-builder/index.cjs +1 -1
  30. package/dist/data-app-builder/index.js +2 -2
  31. package/dist/index.cjs +1 -1
  32. package/dist/index.js +6 -6
  33. package/dist/style.css +1 -1
  34. package/dist/surfboard/index.cjs +1 -1
  35. package/dist/surfboard/index.js +2 -2
  36. package/dist/types/analytics-protocol.d.ts +56 -0
  37. package/dist/types/main.d.ts +1 -0
  38. package/package.json +1 -1
  39. package/dist/chunks/edit-dashboard-visual-BzVDWVyZ.cjs +0 -172
  40. package/dist/chunks/index-DZdmd5AL.cjs +0 -1392
  41. package/dist/chunks/matrix-result-contract-C3cGHj_y.js +0 -598
  42. package/dist/chunks/matrix-result-contract-CkRVx693.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DZdmd5AL.cjs"),r=require("../chunks/common-types-tRK8fhXV.cjs"),o=require("../chunks/report-preferences-dialog-B89ypIJ-.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DKaQRhKm.cjs"),r=require("../chunks/common-types-tRK8fhXV.cjs"),o=require("../chunks/report-preferences-dialog-C5UOCTwt.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
@@ -1,6 +1,6 @@
1
- import { b as a, a as o } from "../chunks/index-B6cfDHwn.js";
1
+ import { b as a, a as o } from "../chunks/index-8Cm77joZ.js";
2
2
  import { C as f, E } from "../chunks/common-types-BgI-ymBp.js";
3
- import { R as t } from "../chunks/report-preferences-dialog-Dvy818KV.js";
3
+ import { R as t } from "../chunks/report-preferences-dialog-D-NDYRrk.js";
4
4
  export {
5
5
  f as CONTROL_CARD_DEFAULT_VALUE,
6
6
  a as DisplayFormatPreferencesFields,
@@ -245,6 +245,12 @@ export declare function isSemaphorDataAppCodegenSummary(value: unknown): value i
245
245
 
246
246
  export declare function isSemaphorMatrixTimeGrain(value: unknown): value is SemaphorMatrixTimeGrain;
247
247
 
248
+ /**
249
+ * Classifies persisted selected-entity metadata. This is structural metadata
250
+ * handling; it does not inspect or parse authored SQL.
251
+ */
252
+ export declare function isSemaphorPhysicalSourceEntity(value: unknown): boolean;
253
+
248
254
  export declare function isSemaphorTimeGrain(value: unknown): value is SemaphorTimeGrain;
249
255
 
250
256
  export declare type MatrixAxisLevelDescriptor = {
@@ -821,6 +827,13 @@ export declare function resolveMetricComparisonRequest(input: {
821
827
  /** Stable result-instance identity shared by query producers and consumers. */
822
828
  export declare function resolveMetricResultAlias(metric: MetricResultAliasInput): string;
823
829
 
830
+ /**
831
+ * Resolves one physical source from persisted structural identity hints.
832
+ * Qualified identity takes precedence over conflicting bare hints, while
833
+ * malformed, mutually conflicting, or ambiguous identity fails closed.
834
+ */
835
+ export declare function resolveSemaphorPhysicalSourceEntity<T>(input: SemaphorPhysicalSourceResolutionInput<T>): SemaphorPhysicalSourceResolution<T>;
836
+
824
837
  export declare function resolveTemporalContext(input: ResolveTemporalContextInput): ResolvedTemporalContext;
825
838
 
826
839
  export declare type ResolveTemporalContextInput = {
@@ -3725,6 +3738,17 @@ export declare function semaphorPhysicalSourceCoordinatesAreCompatible(input: {
3725
3738
  capabilities: Pick<SemaphorConnectionCapabilities, 'prefixLevels'>;
3726
3739
  }): boolean;
3727
3740
 
3741
+ /**
3742
+ * Returns whether an allowed physical source contains every coordinate named
3743
+ * by the requested source. Unlike symmetric compatibility, a missing allowed
3744
+ * coordinate cannot satisfy a more-qualified request.
3745
+ */
3746
+ export declare function semaphorPhysicalSourceCoordinatesCover(input: {
3747
+ requested: SemaphorSourceCoordinateInput;
3748
+ allowed: SemaphorSourceCoordinateInput;
3749
+ capabilities: Pick<SemaphorConnectionCapabilities, 'prefixLevels'>;
3750
+ }): boolean;
3751
+
3728
3752
  export declare const semaphorPhysicalSourceRefSchema: z.ZodObject<{
3729
3753
  kind: z.ZodLiteral<"physical">;
3730
3754
  connectionId: z.ZodString;
@@ -3754,6 +3778,38 @@ export declare const semaphorPhysicalSourceRefSchema: z.ZodObject<{
3754
3778
  dialect: z.ZodOptional<z.ZodEnum<["postgres", "mysql", "mssql", "snowflake", "clickhouse", "bigquery", "redshift", "duckdb", "sqlite", "unknown"]>>;
3755
3779
  }, z.ZodTypeAny, "passthrough">>;
3756
3780
 
3781
+ export declare type SemaphorPhysicalSourceResolution<T> = {
3782
+ kind: 'resolved';
3783
+ basis: SemaphorPhysicalSourceResolutionBasis;
3784
+ entity: T;
3785
+ coordinates: SemaphorSourceCoordinateInput;
3786
+ } | {
3787
+ kind: 'unqualified';
3788
+ } | {
3789
+ kind: 'malformed';
3790
+ } | {
3791
+ kind: 'conflicting';
3792
+ } | {
3793
+ kind: 'ambiguous';
3794
+ basis: Exclude<SemaphorPhysicalSourceResolutionBasis, 'unqualified'>;
3795
+ } | {
3796
+ kind: 'not_found';
3797
+ basis: Exclude<SemaphorPhysicalSourceResolutionBasis, 'unqualified'>;
3798
+ coordinates?: SemaphorSourceCoordinateInput;
3799
+ } | {
3800
+ kind: 'incompatible_capabilities';
3801
+ };
3802
+
3803
+ export declare type SemaphorPhysicalSourceResolutionBasis = 'qualified' | 'bare' | 'unqualified';
3804
+
3805
+ export declare type SemaphorPhysicalSourceResolutionInput<T> = {
3806
+ entities: readonly T[];
3807
+ connectionType?: string;
3808
+ qualifiedHints?: ReadonlyArray<string | undefined>;
3809
+ bareHints?: ReadonlyArray<string | undefined>;
3810
+ coordinateHint?: SemaphorSourceCoordinateInput;
3811
+ };
3812
+
3757
3813
  export declare type SemaphorPivotResultColumnIdentity = {
3758
3814
  metricId: string;
3759
3815
  /** Collision-safe identity for this configured metric instance. */
@@ -6402,6 +6402,7 @@ declare interface TableActions {
6402
6402
  updateColumnVisibility: (columnId: string, isVisible: boolean) => void;
6403
6403
  updateColumnSizing: (sizing: ColumnSizingState) => void;
6404
6404
  updatePageSize: (pageSize: number) => void;
6405
+ updateEnableDevModePagination: (enabled: boolean) => void;
6405
6406
  showAllColumns: () => void;
6406
6407
  hideAllColumns: () => void;
6407
6408
  toggleSelectColumn: (isVisible: boolean) => void;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.468",
8
+ "version": "0.1.469",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",