react-semaphor 0.1.471 → 0.1.473

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 (67) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +102 -94
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.js +4 -4
  6. package/dist/chunks/{analyze-result-contract-B3agc2XU.js → analyze-result-contract-C8s8EUL5.js} +1 -1
  7. package/dist/chunks/{common-types-g_1fKJLK.js → common-types-BLPy5_E0.js} +1 -1
  8. package/dist/chunks/{dashboard-briefing-launcher-C2-b7rZU.js → dashboard-briefing-launcher-B0f28WrK.js} +9 -9
  9. package/dist/chunks/{dashboard-briefing-launcher-ChHmLu0F.cjs → dashboard-briefing-launcher-BjCkA5vw.cjs} +1 -1
  10. package/dist/chunks/{dashboard-controls-kw4QQDSz.cjs → dashboard-controls-BRclCQEX.cjs} +1 -1
  11. package/dist/chunks/{dashboard-controls-Db7VOHdj.js → dashboard-controls-CMJqSLgo.js} +9 -9
  12. package/dist/chunks/{dashboard-filter-value-compatibility-ilbH2A31.js → dashboard-filter-value-compatibility-9W8Ckcle.js} +168 -158
  13. package/dist/chunks/dashboard-filter-value-compatibility-Co1dn9Bc.cjs +1 -0
  14. package/dist/chunks/{dashboard-input-contract-Vr_3ApfF.js → dashboard-input-contract-BrGdGFz0.js} +6 -6
  15. package/dist/chunks/{dashboard-json-Dp-38lll.js → dashboard-json-1ohpjO_q.js} +7 -7
  16. package/dist/chunks/{dashboard-json-Cu37kF4Q.cjs → dashboard-json-DmtGHdDq.cjs} +1 -1
  17. package/dist/chunks/{edit-dashboard-visual-CffII05Z.js → edit-dashboard-visual-D9oKtOo6.js} +12 -12
  18. package/dist/chunks/{edit-dashboard-visual-Cbtpwhlp.cjs → edit-dashboard-visual-DNqJHdHE.cjs} +1 -1
  19. package/dist/chunks/{editor-action-buttons-DqwDHxFv.js → editor-action-buttons-C_B8Wzkf.js} +6 -6
  20. package/dist/chunks/{editor-action-buttons-DcTGZa2C.cjs → editor-action-buttons-DwI3FcSw.cjs} +1 -1
  21. package/dist/chunks/{index-DUYREWSl.cjs → index-B6zSYUN4.cjs} +211 -211
  22. package/dist/chunks/{index-CUf0lwSP.js → index-DalKzjEZ.js} +32207 -32139
  23. package/dist/chunks/{index-oVXvCLH-.js → index-DsvIlrI-.js} +9 -9
  24. package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +1 -0
  25. package/dist/chunks/matrix-result-contract-BpzhImar.js +421 -0
  26. package/dist/chunks/{pivot-header-presentation-7XrwJYDm.js → pivot-header-presentation-Be3FyR0N.js} +2 -2
  27. package/dist/chunks/{pivot-result-identity-5v4hRVbc.js → pivot-result-identity-CIZXsI53.js} +1 -1
  28. package/dist/chunks/{pivot-result-lifecycle-O_roVguV.js → pivot-result-lifecycle-PxmbJWkm.js} +19 -19
  29. package/dist/chunks/{raw-temporal-contract-BEMf3avg.js → raw-temporal-contract-U8J9RlEH.js} +1 -1
  30. package/dist/chunks/{report-preferences-dialog-C_FTOmOg.js → report-preferences-dialog-C9mJffNQ.js} +6 -6
  31. package/dist/chunks/{report-preferences-dialog-BEe2cTT-.cjs → report-preferences-dialog-DGMd-eTT.cjs} +1 -1
  32. package/dist/chunks/{report-runtime-context-DnNbpkGo.js → report-runtime-context-DNbgCsko.js} +7 -7
  33. package/dist/chunks/{saved-temporal-bucket-format-CygnBDO2.js → saved-temporal-bucket-format-CHsXUPJI.js} +8 -8
  34. package/dist/chunks/source-entity-resolution-BDC-Qngk.cjs +1 -0
  35. package/dist/chunks/source-entity-resolution-ugN3sZUk.js +781 -0
  36. package/dist/chunks/{switch-CQN9Hzho.cjs → switch-B4eH4guz.cjs} +13 -13
  37. package/dist/chunks/{switch-n2yUNY8i.js → switch-D20CIzj6.js} +1460 -1455
  38. package/dist/chunks/{temporal-bucket-CUKJktCl.js → temporal-bucket-CtP7hKLa.js} +12 -12
  39. package/dist/chunks/{temporal-bucket-authoring-CZoJV2L6.js → temporal-bucket-authoring-DJ9kK2wD.js} +3 -3
  40. package/dist/chunks/{temporal-bucket-contract-Cno9TlYr.js → temporal-bucket-contract-CZl5D7FZ.js} +1 -1
  41. package/dist/chunks/{token-types-W3EHNW-D.js → token-types-DfDtCqlw.js} +1 -1
  42. package/dist/chunks/{update-policy-kRNJwwUV.js → update-policy-BybMiM61.js} +1 -1
  43. package/dist/chunks/{validators-B5t1s8oh.js → validators-D-T-2HOR.js} +50 -50
  44. package/dist/dashboard/index.cjs +1 -1
  45. package/dist/dashboard/index.js +2 -2
  46. package/dist/dashboard-authoring/index.cjs +3 -3
  47. package/dist/dashboard-authoring/index.js +355 -341
  48. package/dist/data-app-builder/index.cjs +1 -1
  49. package/dist/data-app-builder/index.js +2 -2
  50. package/dist/data-app-codegen/index.js +2 -2
  51. package/dist/data-app-codegen-node/index.js +3 -3
  52. package/dist/data-app-sdk/index.js +3 -3
  53. package/dist/data-app-sdk-adapters/index.js +2 -2
  54. package/dist/data-app-sdk-validation/index.js +9 -9
  55. package/dist/format-utils/index.js +10 -10
  56. package/dist/index.cjs +1 -1
  57. package/dist/index.js +14 -14
  58. package/dist/report-runtime-context/index.js +2 -2
  59. package/dist/surfboard/index.cjs +1 -1
  60. package/dist/surfboard/index.js +3 -3
  61. package/dist/types/analytics-protocol.d.ts +141 -0
  62. package/dist/types/index.js +4 -4
  63. package/dist/types/main.d.ts +7 -0
  64. package/package.json +1 -1
  65. package/dist/chunks/dashboard-filter-value-compatibility-Dmh-NaPK.cjs +0 -1
  66. package/dist/chunks/matrix-result-contract-DoU9diAh.js +0 -822
  67. package/dist/chunks/matrix-result-contract-SrzyG_KQ.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DcshgK7w.cjs"),A=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-OgPk-zGu.cjs"),n=require("../chunks/matrix-result-contract-SrzyG_KQ.cjs"),s=require("../chunks/temporal-bucket-9Wz9Ds6H.cjs"),d=require("../chunks/dashboard-input-contract-JFJZgenC.cjs"),R=require("../chunks/temporal-bucket-contract-BD862TAa.cjs"),C=require("../chunks/raw-temporal-contract-D8YuxTAg.cjs"),p={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},y={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:p,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},comparison:{kind:"previous_period"},limit:1},revenueTrend:{version:1,kind:"records",id:"revenue-trend",label:"Revenue trend",source:p,fields:[{name:"order_date",role:"date",dataType:"date",label:"Order Date"},{name:"revenue",role:"measure",dataType:"number"}],dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"month",limit:100},topCustomersRecords:{version:1,kind:"records",id:"top-customers",label:"Top customers",source:p,fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"segment",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}],orderBy:{field:{name:"revenue",role:"measure"},direction:"desc"},limit:20},regionInputOptions:{version:1,kind:"inputOptions",id:"region-options",label:"Region options",inputId:"region",source:p,labelField:{name:"region",role:"dimension",dataType:"string"},valueField:{name:"region",role:"dimension",dataType:"string"},limit:100},previousPeriodRevenueComparison:{version:1,kind:"metric",id:"revenue-previous-period",label:"Revenue previous period comparison",source:p,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"week",comparison:{kind:"previous_period"},limit:100},inboundSupplierConcentration:{version:1,kind:"metric",id:"inbound-supplier-concentration",label:"Inbound supplier concentration",source:p,measures:[{name:"net_tons",role:"measure"},{name:"ticket_value",role:"measure"}],primaryMeasure:{name:"net_tons",role:"measure"},dateField:{name:"ticket_date",role:"date",dataType:"date"},timeWindow:{unit:"month",value:6,anchor:"latest_available"},dimensions:[{name:"supplier_id",role:"dimension",dataType:"number"}],filters:[{field:{name:"direction",role:"dimension",dataType:"string"},operator:"=",values:["Inbound"]}],limit:15},boundedSqlRanking:{version:1,kind:"sql",id:"top-customer-ranking-sql",label:"Top customer ranking SQL",source:{kind:"sql",connectionId:"conn_sales",dialect:"postgres"},sql:"SELECT customer_name, SUM(revenue) AS revenue FROM public.orders GROUP BY customer_name ORDER BY revenue DESC LIMIT 20",limit:20,rationale:"Ranking is SQL-natural because it requires ordering grouped aggregate rows.",fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}]}},T={visibleAxis:{source:{kind:"semantic",domainId:"commerce",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"timestamp with time zone"},expected:{status:"resolved",bindingSource:"visible_axis",name:"order_date",dataType:"datetime"}},invalidSource:{source:{kind:"semantic",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"date"},expected:{status:"unavailable",reason:"temporal_binding_invalid"}}};function S(a){return!!(a.name.trim()&&e.hasCompleteSemaphorSourceIdentity(a.source)&&(a.role==="date"||a.dataType==="date"||a.dataType==="datetime"))}function u(a){return a.filter((t,i)=>a.findIndex(l=>e.semaphorFieldRefsMatch(t.field,l.field))===i)}function _(a){return new Set(a.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function v(a){const t=u(a.candidates.filter(r=>r.kind==="visible_axis")),i=u(a.candidates.filter(r=>r.kind==="explicit_hidden"));if([...t,...i].some(r=>!S(r.field)))return"invalid";if(t.length>1||i.length>1)return"ambiguous";const l=t[0],m=i[0];if(l)return m&&!e.semaphorFieldRefsMatch(l.field,m.field)?"invalid":l;if(m)return m;if(_(a.querySources??[])>1)return"ambiguous";const c=u(a.candidates.filter(r=>r.kind==="semantic_primary"));return c.some(r=>!S(r.field))?"invalid":c.length>1?"ambiguous":c[0]??"missing"}function g(a){const t=new Date(a.startInclusive),i=new Date(a.endExclusive);return a.timezone.trim()?Number.isFinite(t.getTime())&&Number.isFinite(i.getTime())&&t.getTime()<i.getTime():!1}function I(a){const t=a.ranges??[];if(a.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:t};if((a.querySources??[]).some(o=>!e.hasCompleteSemaphorSourceIdentity(o))||t.some(o=>!S(o.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const i=v(a);if(typeof i=="string")return{status:"unavailable",reason:`temporal_binding_${i}`,constraints:t};const l=t.filter(o=>e.semaphorFieldRefsMatch(o.field,i.field));if(l.some(o=>!g(o.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const m=l.filter(o=>o.source==="global_date"),c=l.filter(o=>o.source==="card");if(m.length>1||m.length===0&&c.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const r=m[0]??c[0];return{status:"resolved",field:i.field,bindingSource:i.kind,...r?{currentWindow:r.window,governingWindowSource:r.source,governingRangeId:r.id}:{},constraints:t.filter(o=>o.id!==(r==null?void 0:r.id))}}exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=e.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_MATRIX_TIME_GRAINS=e.SEMAPHOR_MATRIX_TIME_GRAINS;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.canonicalizeSemaphorSourceIdentity=e.canonicalizeSemaphorSourceIdentity;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.getSemaphorDatasetEntityId=e.getSemaphorDatasetEntityId;exports.getSemaphorNonRedundantDatasetId=e.getSemaphorNonRedundantDatasetId;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isSemaphorDataAppCodegenSummary=e.isSemaphorDataAppCodegenSummary;exports.isSemaphorMatrixTimeGrain=e.isSemaphorMatrixTimeGrain;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.semaphorAnalyticsCoverageSchema=e.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=e.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=e.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=e.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=e.semaphorAnalyticsResultSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorAnalyzeResultSchema=e.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=e.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=e.semaphorDataAppCodegenSummarySchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMatrixResultSchema=e.semaphorMatrixResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorRelationshipDiagnosticsSchema=e.semaphorRelationshipDiagnosticsSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDataAppCodegenSummary=e.validateSemaphorDataAppCodegenSummary;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=A.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=A.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=h.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=h.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=h.parseSemaphorAnalyzeResult;exports.MatrixResultContractError=n.MatrixResultContractError;exports.buildSemaphorQualifiedSourcePath=n.buildSemaphorQualifiedSourcePath;exports.canonicalizeSemaphorQualifiedSourcePath=n.canonicalizeSemaphorQualifiedSourcePath;exports.getSemaphorConnectionCapabilities=n.getSemaphorConnectionCapabilities;exports.isSemaphorPhysicalSourceEntity=n.isSemaphorPhysicalSourceEntity;exports.normalizeSemaphorDialect=n.normalizeSemaphorDialect;exports.parseCanonicalMatrixResult=n.parseCanonicalMatrixResult;exports.parseSemaphorQualifiedSourcePath=n.parseSemaphorQualifiedSourcePath;exports.resolveSemaphorPhysicalSourceEntity=n.resolveSemaphorPhysicalSourceEntity;exports.semaphorPhysicalSourceCoordinatesAreCompatible=n.semaphorPhysicalSourceCoordinatesAreCompatible;exports.semaphorPhysicalSourceCoordinatesCover=n.semaphorPhysicalSourceCoordinatesCover;exports.semaphorSourceHasRequiredCoordinates=n.semaphorSourceHasRequiredCoordinates;exports.COMPARISON_PRESENTATION_DEFAULTS=s.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=s.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=s.evaluateMetricComparison;exports.resolveMetricComparisonRequest=s.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=s.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=s.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=s.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=s.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=s.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=s.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=s.validateMetricComparisonSpec;exports.getCardControlCompatInputId=d.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=d.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=d.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=d.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=d.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=d.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=d.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=d.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=R.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=R.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=R.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=C.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=C.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=C.validateRawTemporalResultColumn;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=y;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=T;exports.resolveTemporalContext=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DcshgK7w.cjs"),A=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-OgPk-zGu.cjs"),i=require("../chunks/source-entity-resolution-BDC-Qngk.cjs"),s=require("../chunks/temporal-bucket-9Wz9Ds6H.cjs"),d=require("../chunks/dashboard-input-contract-JFJZgenC.cjs"),R=require("../chunks/temporal-bucket-contract-BD862TAa.cjs"),C=require("../chunks/raw-temporal-contract-D8YuxTAg.cjs"),y=require("../chunks/matrix-result-contract-Bhg60NtS.cjs"),p={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},T={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:p,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},comparison:{kind:"previous_period"},limit:1},revenueTrend:{version:1,kind:"records",id:"revenue-trend",label:"Revenue trend",source:p,fields:[{name:"order_date",role:"date",dataType:"date",label:"Order Date"},{name:"revenue",role:"measure",dataType:"number"}],dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"month",limit:100},topCustomersRecords:{version:1,kind:"records",id:"top-customers",label:"Top customers",source:p,fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"segment",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}],orderBy:{field:{name:"revenue",role:"measure"},direction:"desc"},limit:20},regionInputOptions:{version:1,kind:"inputOptions",id:"region-options",label:"Region options",inputId:"region",source:p,labelField:{name:"region",role:"dimension",dataType:"string"},valueField:{name:"region",role:"dimension",dataType:"string"},limit:100},previousPeriodRevenueComparison:{version:1,kind:"metric",id:"revenue-previous-period",label:"Revenue previous period comparison",source:p,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"week",comparison:{kind:"previous_period"},limit:100},inboundSupplierConcentration:{version:1,kind:"metric",id:"inbound-supplier-concentration",label:"Inbound supplier concentration",source:p,measures:[{name:"net_tons",role:"measure"},{name:"ticket_value",role:"measure"}],primaryMeasure:{name:"net_tons",role:"measure"},dateField:{name:"ticket_date",role:"date",dataType:"date"},timeWindow:{unit:"month",value:6,anchor:"latest_available"},dimensions:[{name:"supplier_id",role:"dimension",dataType:"number"}],filters:[{field:{name:"direction",role:"dimension",dataType:"string"},operator:"=",values:["Inbound"]}],limit:15},boundedSqlRanking:{version:1,kind:"sql",id:"top-customer-ranking-sql",label:"Top customer ranking SQL",source:{kind:"sql",connectionId:"conn_sales",dialect:"postgres"},sql:"SELECT customer_name, SUM(revenue) AS revenue FROM public.orders GROUP BY customer_name ORDER BY revenue DESC LIMIT 20",limit:20,rationale:"Ranking is SQL-natural because it requires ordering grouped aggregate rows.",fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}]}},v={visibleAxis:{source:{kind:"semantic",domainId:"commerce",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"timestamp with time zone"},expected:{status:"resolved",bindingSource:"visible_axis",name:"order_date",dataType:"datetime"}},invalidSource:{source:{kind:"semantic",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"date"},expected:{status:"unavailable",reason:"temporal_binding_invalid"}}};function S(a){return!!(a.name.trim()&&e.hasCompleteSemaphorSourceIdentity(a.source)&&(a.role==="date"||a.dataType==="date"||a.dataType==="datetime"))}function u(a){return a.filter((t,o)=>a.findIndex(l=>e.semaphorFieldRefsMatch(t.field,l.field))===o)}function _(a){return new Set(a.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function g(a){const t=u(a.candidates.filter(r=>r.kind==="visible_axis")),o=u(a.candidates.filter(r=>r.kind==="explicit_hidden"));if([...t,...o].some(r=>!S(r.field)))return"invalid";if(t.length>1||o.length>1)return"ambiguous";const l=t[0],m=o[0];if(l)return m&&!e.semaphorFieldRefsMatch(l.field,m.field)?"invalid":l;if(m)return m;if(_(a.querySources??[])>1)return"ambiguous";const c=u(a.candidates.filter(r=>r.kind==="semantic_primary"));return c.some(r=>!S(r.field))?"invalid":c.length>1?"ambiguous":c[0]??"missing"}function I(a){const t=new Date(a.startInclusive),o=new Date(a.endExclusive);return a.timezone.trim()?Number.isFinite(t.getTime())&&Number.isFinite(o.getTime())&&t.getTime()<o.getTime():!1}function E(a){const t=a.ranges??[];if(a.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:t};if((a.querySources??[]).some(n=>!e.hasCompleteSemaphorSourceIdentity(n))||t.some(n=>!S(n.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const o=g(a);if(typeof o=="string")return{status:"unavailable",reason:`temporal_binding_${o}`,constraints:t};const l=t.filter(n=>e.semaphorFieldRefsMatch(n.field,o.field));if(l.some(n=>!I(n.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const m=l.filter(n=>n.source==="global_date"),c=l.filter(n=>n.source==="card");if(m.length>1||m.length===0&&c.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const r=m[0]??c[0];return{status:"resolved",field:o.field,bindingSource:o.kind,...r?{currentWindow:r.window,governingWindowSource:r.source,governingRangeId:r.id}:{},constraints:t.filter(n=>n.id!==(r==null?void 0:r.id))}}exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=e.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_MATRIX_TIME_GRAINS=e.SEMAPHOR_MATRIX_TIME_GRAINS;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.canonicalizeSemaphorSourceIdentity=e.canonicalizeSemaphorSourceIdentity;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.getSemaphorDatasetEntityId=e.getSemaphorDatasetEntityId;exports.getSemaphorNonRedundantDatasetId=e.getSemaphorNonRedundantDatasetId;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isSemaphorDataAppCodegenSummary=e.isSemaphorDataAppCodegenSummary;exports.isSemaphorMatrixTimeGrain=e.isSemaphorMatrixTimeGrain;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.semaphorAnalyticsCoverageSchema=e.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=e.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=e.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=e.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=e.semaphorAnalyticsResultSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorAnalyzeResultSchema=e.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=e.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=e.semaphorDataAppCodegenSummarySchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMatrixResultSchema=e.semaphorMatrixResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorRelationshipDiagnosticsSchema=e.semaphorRelationshipDiagnosticsSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDataAppCodegenSummary=e.validateSemaphorDataAppCodegenSummary;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=A.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=A.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=h.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=h.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=h.parseSemaphorAnalyzeResult;exports.buildSemaphorQualifiedSourcePath=i.buildSemaphorQualifiedSourcePath;exports.canonicalizeSemaphorQualifiedSourcePath=i.canonicalizeSemaphorQualifiedSourcePath;exports.getSemaphorCatalogCoordinateLevels=i.getSemaphorCatalogCoordinateLevels;exports.getSemaphorConnectionCapabilities=i.getSemaphorConnectionCapabilities;exports.isSemaphorPhysicalSourceEntity=i.isSemaphorPhysicalSourceEntity;exports.isSemaphorSemanticSourceEntity=i.isSemaphorSemanticSourceEntity;exports.normalizeSemaphorDialect=i.normalizeSemaphorDialect;exports.parseSemaphorQualifiedSourcePath=i.parseSemaphorQualifiedSourcePath;exports.resolveSemaphorConnectionCapabilities=i.resolveSemaphorConnectionCapabilities;exports.resolveSemaphorConnectionCapabilityIdentity=i.resolveSemaphorConnectionCapabilityIdentity;exports.resolveSemaphorPhysicalCatalogAddress=i.resolveSemaphorPhysicalCatalogAddress;exports.resolveSemaphorPhysicalSourceEntity=i.resolveSemaphorPhysicalSourceEntity;exports.resolveSemaphorSemanticDatasetEntity=i.resolveSemaphorSemanticDatasetEntity;exports.resolveSemaphorSourceEntity=i.resolveSemaphorSourceEntity;exports.semaphorPhysicalSourceCoordinatesAreCompatible=i.semaphorPhysicalSourceCoordinatesAreCompatible;exports.semaphorPhysicalSourceCoordinatesCover=i.semaphorPhysicalSourceCoordinatesCover;exports.semaphorSourceHasRequiredCoordinates=i.semaphorSourceHasRequiredCoordinates;exports.COMPARISON_PRESENTATION_DEFAULTS=s.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=s.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=s.evaluateMetricComparison;exports.resolveMetricComparisonRequest=s.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=s.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=s.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=s.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=s.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=s.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=s.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=s.validateMetricComparisonSpec;exports.getCardControlCompatInputId=d.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=d.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=d.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=d.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=d.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=d.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=d.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=d.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=R.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=R.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=R.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=C.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=C.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=C.validateRawTemporalResultColumn;exports.MatrixResultContractError=y.MatrixResultContractError;exports.parseCanonicalMatrixResult=y.parseCanonicalMatrixResult;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=T;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=v;exports.resolveTemporalContext=E;
@@ -1,19 +1,20 @@
1
- import { h as c, s as u, j as p } from "../chunks/validators-B5t1s8oh.js";
2
- import { R as f, e as A, S as b, a as I, q as E, m as M, k as D, T as O, o as F, L as P, $ as k, ah as N, _ as x, D as w, C as B, af as L, ag as q, G as z, K as G, J as U, F as H, I as V, H as Y, i as W, n as K, l as Q, ak as X, E as j, B as Z, g as $, r as J, p as ee, aj as ae, O as re, ab as ie, a9 as se, ac as te, aa as ne, a7 as oe, a0 as le, a1 as de, f as me, ad as ue, ae as ce, X as pe, Y as Se, W as he, a4 as Re, a6 as ge, c as ve, al as _e, a2 as Ce, Q as Te, a3 as ye, a8 as fe, Z as Ae, P as be, V as Ie, ai as Ee, a5 as Me, U as De, M as Oe, d as Fe, N as Pe, t as ke, x as Ne, z as xe, A as we, v as Be, u as Le, y as qe, w as ze } from "../chunks/validators-B5t1s8oh.js";
1
+ import { j as u, s as c, k as p } from "../chunks/validators-D-T-2HOR.js";
2
+ import { R as f, f as A, S as b, a as I, r as E, n as D, l as M, T as O, q as F, M as P, a0 as k, ah as N, $ as x, E as L, D as w, af as B, ag as q, H as z, L as G, K as U, G as H, J as V, I as Y, i as W, o as K, m as Q, ak as X, F as j, C as Z, h as $, u as J, p as ee, aj as ae, P as re, ab as ie, a9 as se, ac as te, aa as oe, a7 as ne, a1 as le, a2 as me, g as de, ad as ce, ae as ue, Y as pe, Z as Se, X as he, a5 as ve, d as Re, c as ge, al as Ce, a3 as ye, U as _e, a4 as Te, a8 as fe, _ as Ae, Q as be, W as Ie, ai as Ee, a6 as De, V as Me, N as Oe, e as Fe, O as Pe, t as ke, y as Ne, A as xe, B as Le, v as we, w as Be, z as qe, x as ze } from "../chunks/validators-D-T-2HOR.js";
3
3
  import { a as Ue, n as He } from "../chunks/operators-C8TxpM4C.js";
4
- import { g as Ye, i as We, p as Ke } from "../chunks/analyze-result-contract-B3agc2XU.js";
5
- import { M as Xe, d as je, c as Ze, g as $e, i as Je, n as ea, e as aa, p as ra, r as ia, s as sa, a as ta, b as na } from "../chunks/matrix-result-contract-DoU9diAh.js";
6
- import { C as la, D as da, g as ma, r as ua, a as ca, f as pa, d as Sa, c as ha, b as Ra, e as ga, v as va } from "../chunks/temporal-bucket-CUKJktCl.js";
7
- import { d as Ca, c as Ta, b as ya, g as fa, i as Aa, r as ba, a as Ia, s as Ea } from "../chunks/dashboard-input-contract-Vr_3ApfF.js";
8
- import { b as Da, v as Oa, a as Fa } from "../chunks/temporal-bucket-contract-Cno9TlYr.js";
9
- import { R as ka, p as Na, v as xa } from "../chunks/raw-temporal-contract-BEMf3avg.js";
4
+ import { g as Ye, i as We, p as Ke } from "../chunks/analyze-result-contract-C8s8EUL5.js";
5
+ import { e as Xe, c as je, f as Ze, g as $e, i as Je, k as ea, n as aa, p as ra, r as ia, b as sa, h as ta, j as oa, l as na, m as la, s as ma, a as da, d as ca } from "../chunks/source-entity-resolution-ugN3sZUk.js";
6
+ import { C as pa, D as Sa, g as ha, r as va, a as Ra, f as ga, d as Ca, c as ya, b as _a, e as Ta, v as fa } from "../chunks/temporal-bucket-CtP7hKLa.js";
7
+ import { d as ba, c as Ia, b as Ea, g as Da, i as Ma, r as Oa, a as Fa, s as Pa } from "../chunks/dashboard-input-contract-BrGdGFz0.js";
8
+ import { b as Na, v as xa, a as La } from "../chunks/temporal-bucket-contract-CZl5D7FZ.js";
9
+ import { R as Ba, p as qa, v as za } from "../chunks/raw-temporal-contract-U8J9RlEH.js";
10
+ import { M as Ua, p as Ha } from "../chunks/matrix-result-contract-BpzhImar.js";
10
11
  const l = {
11
12
  kind: "semantic",
12
13
  domainId: "domain_sales",
13
14
  datasetName: "orders",
14
15
  connectionId: "conn_sales",
15
16
  label: "Orders"
16
- }, v = {
17
+ }, g = {
17
18
  revenueKpi: {
18
19
  version: 1,
19
20
  kind: "metric",
@@ -118,7 +119,7 @@ const l = {
118
119
  { name: "revenue", role: "measure", dataType: "number" }
119
120
  ]
120
121
  }
121
- }, _ = {
122
+ }, C = {
122
123
  visibleAxis: {
123
124
  source: {
124
125
  kind: "semantic",
@@ -153,13 +154,13 @@ const l = {
153
154
  }
154
155
  }
155
156
  };
156
- function m(e) {
157
- return !!(e.name.trim() && c(e.source) && (e.role === "date" || e.dataType === "date" || e.dataType === "datetime"));
158
- }
159
157
  function d(e) {
158
+ return !!(e.name.trim() && u(e.source) && (e.role === "date" || e.dataType === "date" || e.dataType === "datetime"));
159
+ }
160
+ function m(e) {
160
161
  return e.filter(
161
162
  (a, i) => e.findIndex(
162
- (t) => u(a.field, t.field)
163
+ (t) => c(a.field, t.field)
163
164
  ) === i
164
165
  );
165
166
  }
@@ -167,33 +168,33 @@ function S(e) {
167
168
  return new Set(e.map(p).filter(Boolean)).size;
168
169
  }
169
170
  function h(e) {
170
- const a = d(
171
+ const a = m(
171
172
  e.candidates.filter((r) => r.kind === "visible_axis")
172
- ), i = d(
173
+ ), i = m(
173
174
  e.candidates.filter((r) => r.kind === "explicit_hidden")
174
175
  );
175
176
  if ([...a, ...i].some(
176
- (r) => !m(r.field)
177
+ (r) => !d(r.field)
177
178
  ))
178
179
  return "invalid";
179
180
  if (a.length > 1 || i.length > 1)
180
181
  return "ambiguous";
181
- const t = a[0], n = i[0];
182
+ const t = a[0], o = i[0];
182
183
  if (t)
183
- return n && !u(t.field, n.field) ? "invalid" : t;
184
- if (n) return n;
184
+ return o && !c(t.field, o.field) ? "invalid" : t;
185
+ if (o) return o;
185
186
  if (S(e.querySources ?? []) > 1)
186
187
  return "ambiguous";
187
- const o = d(
188
+ const n = m(
188
189
  e.candidates.filter((r) => r.kind === "semantic_primary")
189
190
  );
190
- return o.some((r) => !m(r.field)) ? "invalid" : o.length > 1 ? "ambiguous" : o[0] ?? "missing";
191
+ return n.some((r) => !d(r.field)) ? "invalid" : n.length > 1 ? "ambiguous" : n[0] ?? "missing";
191
192
  }
192
- function R(e) {
193
+ function v(e) {
193
194
  const a = new Date(e.startInclusive), i = new Date(e.endExclusive);
194
195
  return e.timezone.trim() ? Number.isFinite(a.getTime()) && Number.isFinite(i.getTime()) && a.getTime() < i.getTime() : !1;
195
196
  }
196
- function C(e) {
197
+ function y(e) {
197
198
  const a = e.ranges ?? [];
198
199
  if (e.rawSql)
199
200
  return {
@@ -202,8 +203,8 @@ function C(e) {
202
203
  constraints: a
203
204
  };
204
205
  if ((e.querySources ?? []).some(
205
- (s) => !c(s)
206
- ) || a.some((s) => !m(s.field)))
206
+ (s) => !u(s)
207
+ ) || a.some((s) => !d(s.field)))
207
208
  return {
208
209
  status: "unavailable",
209
210
  reason: "temporal_binding_invalid",
@@ -217,24 +218,24 @@ function C(e) {
217
218
  constraints: a
218
219
  };
219
220
  const t = a.filter(
220
- (s) => u(s.field, i.field)
221
+ (s) => c(s.field, i.field)
221
222
  );
222
- if (t.some((s) => !R(s.window)))
223
+ if (t.some((s) => !v(s.window)))
223
224
  return {
224
225
  status: "unavailable",
225
226
  reason: "temporal_binding_invalid",
226
227
  constraints: a
227
228
  };
228
- const n = t.filter(
229
+ const o = t.filter(
229
230
  (s) => s.source === "global_date"
230
- ), o = t.filter((s) => s.source === "card");
231
- if (n.length > 1 || n.length === 0 && o.length > 1)
231
+ ), n = t.filter((s) => s.source === "card");
232
+ if (o.length > 1 || o.length === 0 && n.length > 1)
232
233
  return {
233
234
  status: "unavailable",
234
235
  reason: "temporal_binding_ambiguous",
235
236
  constraints: a
236
237
  };
237
- const r = n[0] ?? o[0];
238
+ const r = o[0] ?? n[0];
238
239
  return {
239
240
  status: "resolved",
240
241
  field: i.field,
@@ -248,59 +249,61 @@ function C(e) {
248
249
  };
249
250
  }
250
251
  export {
251
- la as COMPARISON_PRESENTATION_DEFAULTS,
252
- da as DEFAULT_METRIC_COMPARISON_POLARITY,
253
- Xe as MatrixResultContractError,
252
+ pa as COMPARISON_PRESENTATION_DEFAULTS,
253
+ Sa as DEFAULT_METRIC_COMPARISON_POLARITY,
254
+ Ua as MatrixResultContractError,
254
255
  f as RAW_TEMPORAL_CONTRACT_ERROR_CODES,
255
- ka as RawTemporalMetadataContractError,
256
- v as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
256
+ Ba as RawTemporalMetadataContractError,
257
+ g as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
257
258
  A as SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT,
258
259
  b as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
259
260
  I as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION,
260
261
  E as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
261
- M as SEMAPHOR_MATRIX_TIME_GRAINS,
262
- D as SEMAPHOR_TIME_GRAINS,
262
+ D as SEMAPHOR_MATRIX_TIME_GRAINS,
263
+ M as SEMAPHOR_TIME_GRAINS,
263
264
  O as TEMPORAL_BUCKET_CONTRACT_ERROR_CODES,
264
265
  F as TEMPORAL_BUCKET_PRESETS,
265
- _ as TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES,
266
+ C as TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES,
266
267
  P as buildAnalyticsCatalogFieldSummary,
267
- je as buildSemaphorQualifiedSourcePath,
268
+ Xe as buildSemaphorQualifiedSourcePath,
268
269
  k as canonicalDashboardRecordsPayloadSchema,
269
- Ze as canonicalizeSemaphorQualifiedSourcePath,
270
+ je as canonicalizeSemaphorQualifiedSourcePath,
270
271
  N as canonicalizeSemaphorSourceIdentity,
271
272
  x as dashboardRecordsPayloadSchema,
272
- ma as evaluateMetricComparison,
273
- w as getAnalyticsCatalogFieldCandidates,
274
- B as getAnalyticsCatalogFieldName,
275
- Ca as getCardControlCompatInputId,
276
- Ta as getCardInlineFilterCompatInputId,
277
- ya as getDashboardControlCompatInputId,
278
- fa as getDashboardFilterCompatInputId,
273
+ ha as evaluateMetricComparison,
274
+ L as getAnalyticsCatalogFieldCandidates,
275
+ w as getAnalyticsCatalogFieldName,
276
+ ba as getCardControlCompatInputId,
277
+ Ia as getCardInlineFilterCompatInputId,
278
+ Ea as getDashboardControlCompatInputId,
279
+ Da as getDashboardFilterCompatInputId,
279
280
  Ye as getSemaphorAnalyzeResultFieldNames,
281
+ Ze as getSemaphorCatalogCoordinateLevels,
280
282
  $e as getSemaphorConnectionCapabilities,
281
- L as getSemaphorDatasetEntityId,
283
+ B as getSemaphorDatasetEntityId,
282
284
  q as getSemaphorNonRedundantDatasetId,
283
- c as hasCompleteSemaphorSourceIdentity,
285
+ u as hasCompleteSemaphorSourceIdentity,
284
286
  z as isAnalyticsCatalogDateField,
285
287
  G as isAnalyticsCatalogDimensionField,
286
288
  U as isAnalyticsCatalogMetricField,
287
289
  H as isAnalyticsDateLikeDataType,
288
290
  V as isAnalyticsMetricIdentifierField,
289
291
  Y as isAnalyticsTechnicalIdentifierField,
290
- Aa as isComparisonCapableDashboardDateInputDefinition,
292
+ Ma as isComparisonCapableDashboardDateInputDefinition,
291
293
  We as isSemaphorAnalyzeResultFieldName,
292
294
  W as isSemaphorDataAppCodegenSummary,
293
295
  K as isSemaphorMatrixTimeGrain,
294
296
  Je as isSemaphorPhysicalSourceEntity,
297
+ ea as isSemaphorSemanticSourceEntity,
295
298
  Q as isSemaphorTimeGrain,
296
299
  X as mergeSemaphorSourcesByIdentity,
297
300
  j as normalizeAnalyticsCatalogDataType,
298
301
  Z as normalizeAnalyticsCatalogName,
299
302
  Ue as normalizeSemaphorAnalyticsFilterOperator,
300
- ea as normalizeSemaphorDialect,
303
+ aa as normalizeSemaphorDialect,
301
304
  He as normalizeSemaphorInputOperator,
302
- aa as parseCanonicalMatrixResult,
303
- Na as parseRawTemporalValueMetadata,
305
+ Ha as parseCanonicalMatrixResult,
306
+ qa as parseRawTemporalValueMetadata,
304
307
  Ke as parseSemaphorAnalyzeResult,
305
308
  $ as parseSemaphorIsoInstant,
306
309
  J as parseSemaphorIsoTimeWindowBoundary,
@@ -308,64 +311,69 @@ export {
308
311
  ee as preferSemaphorFieldRefMetadata,
309
312
  ae as preferSemaphorSourceMetadata,
310
313
  re as rawTemporalValueMetadataSchema,
311
- ba as resolveDashboardDateComparisonFilterDefinition,
312
- Ia as resolveDashboardDateComparisonInputDefinition,
313
- ua as resolveMetricComparisonRequest,
314
- ca as resolveMetricResultAlias,
315
- ia as resolveSemaphorPhysicalSourceEntity,
316
- C as resolveTemporalContext,
317
- Ea as semanticDatasetMatchesFieldCoordinates,
314
+ Oa as resolveDashboardDateComparisonFilterDefinition,
315
+ Fa as resolveDashboardDateComparisonInputDefinition,
316
+ va as resolveMetricComparisonRequest,
317
+ Ra as resolveMetricResultAlias,
318
+ ia as resolveSemaphorConnectionCapabilities,
319
+ sa as resolveSemaphorConnectionCapabilityIdentity,
320
+ ta as resolveSemaphorPhysicalCatalogAddress,
321
+ oa as resolveSemaphorPhysicalSourceEntity,
322
+ na as resolveSemaphorSemanticDatasetEntity,
323
+ la as resolveSemaphorSourceEntity,
324
+ y as resolveTemporalContext,
325
+ Pa as semanticDatasetMatchesFieldCoordinates,
318
326
  ie as semaphorAnalyticsCoverageSchema,
319
327
  se as semaphorAnalyticsDiagnosticFeedbackSchema,
320
328
  te as semaphorAnalyticsExecutionResultSchema,
321
- ne as semaphorAnalyticsPopulationSchema,
322
- oe as semaphorAnalyticsResultSchema,
329
+ oe as semaphorAnalyticsPopulationSchema,
330
+ ne as semaphorAnalyticsResultSchema,
323
331
  le as semaphorAnalyticsValidationIssueSchema,
324
- de as semaphorAnalyticsValidationResultSchema,
325
- me as semaphorAnalyzeResultSchema,
326
- ue as semaphorAnalyzeResultShape,
327
- ce as semaphorDataAppCodegenSummarySchema,
332
+ me as semaphorAnalyticsValidationResultSchema,
333
+ de as semaphorAnalyzeResultSchema,
334
+ ce as semaphorAnalyzeResultShape,
335
+ ue as semaphorDataAppCodegenSummarySchema,
328
336
  pe as semaphorDerivedFieldDefinitionSchema,
329
337
  Se as semaphorExecutionFieldRefSchema,
330
338
  he as semaphorFieldRefSchema,
331
- u as semaphorFieldRefsMatch,
332
- Re as semaphorInputOptionsResultSchema,
333
- ge as semaphorMatrixResultSchema,
334
- ve as semaphorMetricAggregate,
335
- _e as semaphorMetricMeasureBindingKey,
336
- Ce as semaphorMetricResultSchema,
337
- sa as semaphorPhysicalSourceCoordinatesAreCompatible,
338
- ta as semaphorPhysicalSourceCoordinatesCover,
339
- Te as semaphorPhysicalSourceRefSchema,
340
- ye as semaphorRecordsResultSchema,
339
+ c as semaphorFieldRefsMatch,
340
+ ve as semaphorInputOptionsResultSchema,
341
+ Re as semaphorMatrixResultSchema,
342
+ ge as semaphorMetricAggregate,
343
+ Ce as semaphorMetricMeasureBindingKey,
344
+ ye as semaphorMetricResultSchema,
345
+ ma as semaphorPhysicalSourceCoordinatesAreCompatible,
346
+ da as semaphorPhysicalSourceCoordinatesCover,
347
+ _e as semaphorPhysicalSourceRefSchema,
348
+ Te as semaphorRecordsResultSchema,
341
349
  fe as semaphorRelationshipDiagnosticsSchema,
342
350
  Ae as semaphorResultColumnSchema,
343
351
  be as semaphorSemanticSourceRefSchema,
344
- na as semaphorSourceHasRequiredCoordinates,
352
+ ca as semaphorSourceHasRequiredCoordinates,
345
353
  p as semaphorSourceIdentityKey,
346
354
  Ie as semaphorSourceRefSchema,
347
355
  Ee as semaphorSourcesReferToSameDataset,
348
- Me as semaphorSqlResultSchema,
349
- De as semaphorSqlSourceRefSchema,
356
+ De as semaphorSqlResultSchema,
357
+ Me as semaphorSqlSourceRefSchema,
350
358
  Oe as semaphorTimeGrainSchema,
351
359
  Fe as temporalBucketDataTypeForGrain,
352
360
  Pe as temporalBucketFormatSchema,
353
361
  ke as temporalBucketMetadataSchema,
354
- Da as validateActivatedTemporalBucketResultColumns,
355
- pa as validateComparisonPresentationSpec,
356
- Sa as validateGlobalDateComparisonContext,
357
- ha as validateGlobalDateComparisonSelection,
358
- Ra as validateMetricComparisonConfig,
359
- ga as validateMetricComparisonPolarity,
360
- va as validateMetricComparisonSpec,
361
- xa as validateRawTemporalResultColumn,
362
+ Na as validateActivatedTemporalBucketResultColumns,
363
+ ga as validateComparisonPresentationSpec,
364
+ Ca as validateGlobalDateComparisonContext,
365
+ ya as validateGlobalDateComparisonSelection,
366
+ _a as validateMetricComparisonConfig,
367
+ Ta as validateMetricComparisonPolarity,
368
+ fa as validateMetricComparisonSpec,
369
+ za as validateRawTemporalResultColumn,
362
370
  Ne as validateSemaphorAnalyticsIntent,
363
371
  xe as validateSemaphorAnalyticsRecoveryPlan,
364
- we as validateSemaphorDashboardIntent,
365
- Be as validateSemaphorDataAppCodegenSummary,
366
- Le as validateSemaphorDerivedFieldDefinition,
372
+ Le as validateSemaphorDashboardIntent,
373
+ we as validateSemaphorDataAppCodegenSummary,
374
+ Be as validateSemaphorDerivedFieldDefinition,
367
375
  qe as validateSemaphorOperationIntent,
368
376
  ze as validateSemaphorResultCalculation,
369
- Oa as validateTemporalBucketMetadata,
370
- Fa as validateTemporalBucketResultColumn
377
+ xa as validateTemporalBucketMetadata,
378
+ La as validateTemporalBucketResultColumn
371
379
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),d=require("../chunks/switch-CQN9Hzho.cjs"),oe=require("../chunks/color-CyB5o13F.cjs"),L=require("../chunks/x-B6ghREd2.cjs");require("../chunks/saved-temporal-bucket-format-DNMtD77o.cjs");require("../chunks/validators-DcshgK7w.cjs");require("../chunks/analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const W=require("../chunks/index-ByFbacH7.cjs"),_=require("../chunks/palette-BN-jYtaK.cjs"),fe=require("../chunks/braces-v55uLCAK.cjs"),me=require("../chunks/save-3dYRmehL.cjs"),xe=require("../chunks/layout-grid-xm8pqtx0.cjs");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),m=require("react"),d=require("../chunks/switch-B4eH4guz.cjs"),oe=require("../chunks/color-CyB5o13F.cjs"),L=require("../chunks/x-B6ghREd2.cjs");require("../chunks/saved-temporal-bucket-format-DNMtD77o.cjs");require("../chunks/validators-DcshgK7w.cjs");require("../chunks/analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const W=require("../chunks/index-ByFbacH7.cjs"),_=require("../chunks/palette-BN-jYtaK.cjs"),fe=require("../chunks/braces-v55uLCAK.cjs"),me=require("../chunks/save-3dYRmehL.cjs"),xe=require("../chunks/layout-grid-xm8pqtx0.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,11 +1,11 @@
1
1
  import { jsxs as d, jsx as r, Fragment as ce } from "react/jsx-runtime";
2
2
  import m from "react";
3
- import { c as q, P as ge, a as be, B as C, b as fe, U as De, C as Ie, R as me, L as le, S as se, d as Je, T as je, F as Le, G as U, H as $e, I as M, J as _e, K as Ve, M as Ue, N as Me, O as E, Q as K, V as Q, W as ee, X as he, Y as re, Z as oe, _ as ke, $ as xe, a0 as ye, a1 as ve, a2 as Ce, a3 as Ge } from "../chunks/switch-n2yUNY8i.js";
3
+ import { c as q, P as ge, a as be, B as C, b as fe, U as De, C as Ie, R as me, L as le, S as se, d as Je, T as je, F as Le, G as U, H as $e, I as M, J as _e, K as Ve, M as Ue, N as Me, O as E, Q as K, V as Q, W as ee, X as he, Y as re, Z as oe, _ as ke, $ as xe, a0 as ye, a1 as ve, a2 as Ce, a3 as Ge } from "../chunks/switch-D20CIzj6.js";
4
4
  import { A as We, p as He } from "../chunks/color-CJvdlFM_.js";
5
5
  import { c as ae, X as Xe } from "../chunks/x-CXDkqdur.js";
6
- import "../chunks/saved-temporal-bucket-format-CygnBDO2.js";
7
- import "../chunks/validators-B5t1s8oh.js";
8
- import "../chunks/analyze-result-contract-B3agc2XU.js";
6
+ import "../chunks/saved-temporal-bucket-format-CHsXUPJI.js";
7
+ import "../chunks/validators-D-T-2HOR.js";
8
+ import "../chunks/analyze-result-contract-C8s8EUL5.js";
9
9
  import "../value-format-preferences/index.js";
10
10
  import { r as Ye, v as Ze, A as qe } from "../chunks/index-DSKR3nKn.js";
11
11
  import { P as G } from "../chunks/palette-Cp1hqZtm.js";
@@ -1,8 +1,8 @@
1
- import "../chunks/pivot-result-lifecycle-O_roVguV.js";
1
+ import "../chunks/pivot-result-lifecycle-PxmbJWkm.js";
2
2
  import "../value-format-preferences/index.js";
3
- import "../chunks/validators-B5t1s8oh.js";
4
- import "../chunks/analyze-result-contract-B3agc2XU.js";
5
- import { a3 as t, a7 as f, a2 as g, a6 as o, ab as B, a4 as l, X as m, a5 as I, af as T, W as d, ah as C, A as E, ai as u, Z as F, d as p, aa as A, a9 as c, S as D, T as _, a as b, ao as R, g as N, an as S, al as h, am as y, a8 as G, Y as L, U as M, ac as U, ag as v, ae as V, V as z, ad as O, aj as x, ak as J } from "../chunks/index-oVXvCLH-.js";
3
+ import "../chunks/validators-D-T-2HOR.js";
4
+ import "../chunks/analyze-result-contract-C8s8EUL5.js";
5
+ import { a3 as t, a7 as f, a2 as g, a6 as o, ab as B, a4 as l, X as m, a5 as I, af as T, W as d, ah as C, A as E, ai as u, Z as F, d as p, aa as A, a9 as c, S as D, T as _, a as b, ao as R, g as N, an as S, al as h, am as y, a8 as G, Y as L, U as M, ac as U, ag as v, ae as V, V as z, ad as O, aj as x, ak as J } from "../chunks/index-DsvIlrI-.js";
6
6
  export {
7
7
  t as BRIEFING_ARTIFACT_FORMATS,
8
8
  f as BRIEFING_CONTENT_LIMITS,
@@ -1,4 +1,4 @@
1
- import { e as t, f as n } from "./validators-B5t1s8oh.js";
1
+ import { f as t, g as n } from "./validators-D-T-2HOR.js";
2
2
  const o = new Set(
3
3
  Object.keys(t)
4
4
  );
@@ -1,4 +1,4 @@
1
- import "./validators-B5t1s8oh.js";
1
+ import "./validators-D-T-2HOR.js";
2
2
  const n = "SEMAPHOR_CALCULATED_FIELD", e = "calculated_fields";
3
3
  function u(Y) {
4
4
  return (Y == null ? void 0 : Y.sourceField) || (Y == null ? void 0 : Y.name) || "";
@@ -1,24 +1,24 @@
1
1
  import { jsx as e, jsxs as r, Fragment as W } from "react/jsx-runtime";
2
2
  import Wt, { useState as E, useEffect as Q, useMemo as ee, useContext as Ht, useRef as he, useCallback as K } from "react";
3
- import { cm as et, aH as De, aI as ke, aK as Ae, bb as wt, bY as Gt, cn as Kt, co as qt, aZ as fe, ca as Nt, bl as Pe, s as Xt, o as Zt, cp as Qt, aP as tt, aS as rt, aT as at, aU as nt, aV as st, aW as ot, aX as it, aY as St, bk as lt, aG as O, cq as Yt, cr as Jt, cs as qe, cb as $e, cc as je, ct as Dt, cd as We, bW as G, b1 as er, bB as Me, cu as tr, bV as rr, aJ as ct, aL as dt, cv as ar, aF as nr, ba as sr, bw as kt, cw as or, bZ as ir, u as lr, aM as cr, b3 as dr, az as He, O as ue, aw as ut, as as At, at as ht, P as Et, ar as ur, ay as hr, ch as mr, cx as pr, bu as fr, au as gt, R as gr, T as br, cy as xr, cz as vr, cA as yr, cB as Cr, cC as wr, cD as Nr, cE as It, cF as Sr, b4 as Dr, cG as kr, ce as Ft, cH as Ar, cI as Er, cJ as Re, cK as Ir, cL as Fr, cM as Lr, an as Br, ap as Tr, a3 as Vr, a2 as Rr, a1 as Ur, a0 as Pr, Z as Mr, X as Or, cN as _r, cO as zr, cP as $r, cQ as jr, cR as Wr, al as Hr, cS as Gr, cT as Kr, a9 as qr, cU as Xr, cV as Zr, cW as Qr } from "./index-CUf0lwSP.js";
4
- import { B, O as Se, Z as Ye, L as te, M as Lt, d as Bt, c as q, K as Yr, D as ge, u as P, z as be, aw as Tt, av as Je, E as Vt, P as Oe, a as _e, b as ze, aH as Jr, aI as ea, S as Rt, aJ as ta, aK as ra, aL as aa, aM as na, aF as sa } from "./switch-n2yUNY8i.js";
3
+ import { cm as et, aH as De, aI as ke, aK as Ae, bb as wt, bY as Gt, cn as Kt, co as qt, aZ as fe, ca as Nt, bl as Pe, s as Xt, o as Zt, cp as Qt, aP as tt, aS as rt, aT as at, aU as nt, aV as st, aW as ot, aX as it, aY as St, bk as lt, aG as O, cq as Yt, cr as Jt, cs as qe, cb as $e, cc as je, ct as Dt, cd as We, bW as G, b1 as er, bB as Me, cu as tr, bV as rr, aJ as ct, aL as dt, cv as ar, aF as nr, ba as sr, bw as kt, cw as or, bZ as ir, u as lr, aM as cr, b3 as dr, az as He, O as ue, aw as ut, as as At, at as ht, P as Et, ar as ur, ay as hr, ch as mr, cx as pr, bu as fr, au as gt, R as gr, T as br, cy as xr, cz as vr, cA as yr, cB as Cr, cC as wr, cD as Nr, cE as It, cF as Sr, b4 as Dr, cG as kr, ce as Ft, cH as Ar, cI as Er, cJ as Re, cK as Ir, cL as Fr, cM as Lr, an as Br, ap as Tr, a3 as Vr, a2 as Rr, a1 as Ur, a0 as Pr, Z as Mr, X as Or, cN as _r, cO as zr, cP as $r, cQ as jr, cR as Wr, al as Hr, cS as Gr, cT as Kr, a9 as qr, cU as Xr, cV as Zr, cW as Qr } from "./index-DalKzjEZ.js";
4
+ import { B, O as Se, Z as Ye, L as te, M as Lt, d as Bt, c as q, K as Yr, D as ge, u as P, z as be, aw as Tt, av as Je, E as Vt, P as Oe, a as _e, b as ze, aH as Jr, aI as ea, S as Rt, aJ as ta, aK as ra, aL as aa, aM as na, aF as sa } from "./switch-D20CIzj6.js";
5
5
  import { L as mt } from "./layout-grid-CiubineE.js";
6
6
  import { c as Ee, X as Ge, C as Ut } from "./x-CXDkqdur.js";
7
- import { u as pt, V as oa, E as Xe, a as Ze, b as ia, c as la, L as ca, d as da, e as Pt, C as Mt, F as ua, f as ha } from "./editor-action-buttons-DqwDHxFv.js";
8
- import { v as bt } from "./saved-temporal-bucket-format-CygnBDO2.js";
9
- import "./validators-B5t1s8oh.js";
10
- import "./analyze-result-contract-B3agc2XU.js";
7
+ import { u as pt, V as oa, E as Xe, a as Ze, b as ia, c as la, L as ca, d as da, e as Pt, C as Mt, F as ua, f as ha } from "./editor-action-buttons-C_B8Wzkf.js";
8
+ import { v as bt } from "./saved-temporal-bucket-format-CHsXUPJI.js";
9
+ import "./validators-D-T-2HOR.js";
10
+ import "./analyze-result-contract-C8s8EUL5.js";
11
11
  import "../value-format-preferences/index.js";
12
12
  import { S as ma } from "./search-BHsQIWBV.js";
13
13
  import { M as pa } from "./mouse-pointer-2-BZvGk45-.js";
14
- import { v as xt } from "./pivot-header-presentation-7XrwJYDm.js";
14
+ import { v as xt } from "./pivot-header-presentation-Be3FyR0N.js";
15
15
  import "./appearance-runtime-provider-CjmE4gBY.js";
16
16
  import "./appearance-context-DVXt8qjW.js";
17
17
  import "./index-DSKR3nKn.js";
18
- import "./temporal-bucket-authoring-CZoJV2L6.js";
18
+ import "./temporal-bucket-authoring-DJ9kK2wD.js";
19
19
  import "./color-CJvdlFM_.js";
20
20
  import "react-dom";
21
- import { g as se, d as fa, a as ga } from "./index-oVXvCLH-.js";
21
+ import { g as se, d as fa, a as ga } from "./index-DsvIlrI-.js";
22
22
  /**
23
23
  * @license lucide-react v0.453.0 - ISC
24
24
  *
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),s=require("./index-DUYREWSl.cjs"),n=require("./switch-CQN9Hzho.cjs"),Ce=require("./layout-grid-xm8pqtx0.cjs"),K=require("./x-B6ghREd2.cjs"),V=require("./editor-action-buttons-DcTGZa2C.cjs"),we=require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const Ue=require("./search-BqqhaMx9.cjs"),Oe=require("./mouse-pointer-2-DX4A_XZw.cjs"),Ne=require("./pivot-header-presentation-Cr6pU5JL.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-DSpzgXHc.cjs");require("./color-CyB5o13F.cjs");require("react-dom");const X=require("./index-B4VxBoJg.cjs");/**
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("react"),s=require("./index-B6zSYUN4.cjs"),n=require("./switch-B4eH4guz.cjs"),Ce=require("./layout-grid-xm8pqtx0.cjs"),K=require("./x-B6ghREd2.cjs"),V=require("./editor-action-buttons-DwI3FcSw.cjs"),we=require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const Ue=require("./search-BqqhaMx9.cjs"),Oe=require("./mouse-pointer-2-DX4A_XZw.cjs"),Ne=require("./pivot-header-presentation-Cr6pU5JL.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-DSpzgXHc.cjs");require("./color-CyB5o13F.cjs");require("react-dom");const X=require("./index-B4VxBoJg.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("./switch-CQN9Hzho.cjs"),s=require("./index-DUYREWSl.cjs"),U=require("./x-B6ghREd2.cjs");require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const y=require("react");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-DSpzgXHc.cjs");require("./color-CyB5o13F.cjs");const cs=require("react-dom");require("./index-B4VxBoJg.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");const $=require("./dashboard-briefing-launcher-ChHmLu0F.cjs"),wt=require("./search-BqqhaMx9.cjs"),St=require("./format-types-PSZZ7hG8.cjs"),us=require("./report-preferences-dialog-BEe2cTT-.cjs"),ms=require("./use-debounced-dirty-check-XHSwAefL.cjs"),qe=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.cjs"),xt=require("./save-3dYRmehL.cjs"),hs=require("./palette-BN-jYtaK.cjs"),ps=require("./braces-v55uLCAK.cjs");function fs(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const M=fs(y);/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("./switch-B4eH4guz.cjs"),s=require("./index-B6zSYUN4.cjs"),U=require("./x-B6ghREd2.cjs");require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const y=require("react");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-DSpzgXHc.cjs");require("./color-CyB5o13F.cjs");const cs=require("react-dom");require("./index-B4VxBoJg.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");const $=require("./dashboard-briefing-launcher-BjCkA5vw.cjs"),wt=require("./search-BqqhaMx9.cjs"),St=require("./format-types-PSZZ7hG8.cjs"),us=require("./report-preferences-dialog-DGMd-eTT.cjs"),ms=require("./use-debounced-dirty-check-XHSwAefL.cjs"),qe=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.cjs"),xt=require("./save-3dYRmehL.cjs"),hs=require("./palette-BN-jYtaK.cjs"),ps=require("./braces-v55uLCAK.cjs");function fs(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(a,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return a.default=t,Object.freeze(a)}const M=fs(y);/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,24 +1,24 @@
1
1
  import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
2
- import { u as S, B as R, ax as mt, z as sr, O as na, Z as sa, c as be, ay as oa, az as ia, aA as ot, aB as xe, aC as pt, aD as or, L as Be, aE as ir, aF as da, D as $t, Q as Gt, V as Bt, W as zt, Y as Ht, X as la, i as ca, aG as ua } from "./switch-n2yUNY8i.js";
3
- import { bx as ma, by as pa, az as q, aH as dr, bz as ha, aZ as K, aI as lr, aJ as fa, aK as it, aL as dt, aF as ga, bA as ge, bB as Ge, bC as ba, bD as jt, bE as cr, bF as ur, bG as xa, bH as ht, bI as va, bJ as ya, bK as wa, bL as Na, bM as Sa, bN as Da, b8 as ve, bO as ye, aG as C, bP as Ca, bQ as mr, bl as ft, bR as ka, bS as Ea, bT as pr, bU as La, bV as hr, bW as V, bX as Ia, ap as Ma, bY as Aa, bZ as Pa, b_ as Oa, b$ as _a, n as Ra, u as Fe, t as Ua, o as rt, c0 as Va, c1 as Ta, c2 as Fa, c3 as $a, N as Ga, c4 as Ba, c5 as za, I as qt, c6 as Ha, c7 as ja, c8 as qa, c9 as Ka, ca as Wa, cb as Kt, cc as Wt, cd as Qt, ce as Qa, cf as Ja, cg as Ya, ch as Xa, b1 as Jt, ci as Za, cj as en, ck as tn, s as rn, cl as an, aP as nn, aS as sn, aT as on, aU as dn, aV as ln, aW as cn, aX as un, aY as Yt, g as lt } from "./index-CUf0lwSP.js";
2
+ import { u as S, B as R, ax as mt, z as sr, O as na, Z as sa, c as be, ay as oa, az as ia, aA as ot, aB as xe, aC as pt, aD as or, L as Be, aE as ir, aF as da, D as $t, Q as Gt, V as Bt, W as zt, Y as Ht, X as la, i as ca, aG as ua } from "./switch-D20CIzj6.js";
3
+ import { bx as ma, by as pa, az as q, aH as dr, bz as ha, aZ as K, aI as lr, aJ as fa, aK as it, aL as dt, aF as ga, bA as ge, bB as Ge, bC as ba, bD as jt, bE as cr, bF as ur, bG as xa, bH as ht, bI as va, bJ as ya, bK as wa, bL as Na, bM as Sa, bN as Da, b8 as ve, bO as ye, aG as C, bP as Ca, bQ as mr, bl as ft, bR as ka, bS as Ea, bT as pr, bU as La, bV as hr, bW as V, bX as Ia, ap as Ma, bY as Aa, bZ as Pa, b_ as Oa, b$ as _a, n as Ra, u as Fe, t as Ua, o as rt, c0 as Va, c1 as Ta, c2 as Fa, c3 as $a, N as Ga, c4 as Ba, c5 as za, I as qt, c6 as Ha, c7 as ja, c8 as qa, c9 as Ka, ca as Wa, cb as Kt, cc as Wt, cd as Qt, ce as Qa, cf as Ja, cg as Ya, ch as Xa, b1 as Jt, ci as Za, cj as en, ck as tn, s as rn, cl as an, aP as nn, aS as sn, aT as on, aU as dn, aV as ln, aW as cn, aX as un, aY as Yt, g as lt } from "./index-DalKzjEZ.js";
4
4
  import { c as ee, X as fr, C as mn } from "./x-CXDkqdur.js";
5
- import "./saved-temporal-bucket-format-CygnBDO2.js";
6
- import "./validators-B5t1s8oh.js";
7
- import "./analyze-result-contract-B3agc2XU.js";
5
+ import "./saved-temporal-bucket-format-CHsXUPJI.js";
6
+ import "./validators-D-T-2HOR.js";
7
+ import "./analyze-result-contract-C8s8EUL5.js";
8
8
  import "../value-format-preferences/index.js";
9
9
  import * as I from "react";
10
10
  import gr, { useState as N, useMemo as Z, useEffect as ze, useRef as Xt, useLayoutEffect as pn, useCallback as hn } from "react";
11
11
  import "./appearance-context-DVXt8qjW.js";
12
12
  import "./index-DSKR3nKn.js";
13
- import "./temporal-bucket-authoring-CZoJV2L6.js";
13
+ import "./temporal-bucket-authoring-DJ9kK2wD.js";
14
14
  import "./color-CJvdlFM_.js";
15
15
  import { createPortal as fn } from "react-dom";
16
- import "./index-oVXvCLH-.js";
16
+ import "./index-DsvIlrI-.js";
17
17
  import "./appearance-runtime-provider-CjmE4gBY.js";
18
- import { c as gn, u as bn, A as xn, a as vn, f as yn, V as wn, N as Nn, g as Sn, U as Dn } from "./dashboard-briefing-launcher-C2-b7rZU.js";
18
+ import { c as gn, u as bn, A as xn, a as vn, f as yn, V as wn, N as Nn, g as Sn, U as Dn } from "./dashboard-briefing-launcher-B0f28WrK.js";
19
19
  import { S as Cn, C as kn } from "./search-BHsQIWBV.js";
20
20
  import { d as br } from "./format-types-CFHQoIuk.js";
21
- import { R as En } from "./report-preferences-dialog-C_FTOmOg.js";
21
+ import { R as En } from "./report-preferences-dialog-C9mJffNQ.js";
22
22
  import { u as Ln } from "./use-debounced-dirty-check-BwAbnX_5.js";
23
23
  import { s as at } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
24
24
  import { S as Zt } from "./save-DgMfP0j8.js";