react-semaphor 0.1.464 → 0.1.466

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 (96) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +132 -130
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-DROq4vgY.js → analyze-result-contract-CMZDRRwo.js} +1 -1
  8. package/dist/chunks/{analyze-result-contract-DSGoFuXQ.cjs → analyze-result-contract-CMwVg9w2.cjs} +1 -1
  9. package/dist/chunks/{common-types-BHVKgxRR.js → common-types-Co766x6t.js} +1 -1
  10. package/dist/chunks/{common-types-BcV9PD9D.cjs → common-types-o3LJcrpg.cjs} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-CTozRa6c.js → dashboard-briefing-launcher-C_Iy9yvg.js} +9 -9
  12. package/dist/chunks/{dashboard-briefing-launcher-BSMtcAgE.cjs → dashboard-briefing-launcher-DbLc4VV9.cjs} +1 -1
  13. package/dist/chunks/{dashboard-controls-wuo6PrDm.js → dashboard-controls-C25Pk_CY.js} +9 -9
  14. package/dist/chunks/{dashboard-controls-CmK7U1hI.cjs → dashboard-controls-Rotbld-z.cjs} +1 -1
  15. package/dist/chunks/{dashboard-filter-value-compatibility-KXIyvbhc.js → dashboard-filter-value-compatibility-B8ynE_O1.js} +255 -240
  16. package/dist/chunks/dashboard-filter-value-compatibility-Bnl2lsng.cjs +1 -0
  17. package/dist/chunks/{dashboard-input-contract-BkRFQ7Tq.cjs → dashboard-input-contract-12mPNhCF.cjs} +1 -1
  18. package/dist/chunks/{dashboard-input-contract-D5dxTWJ5.js → dashboard-input-contract-Px64VWBL.js} +1 -1
  19. package/dist/chunks/{dashboard-json-C9qvau-c.js → dashboard-json-DjMbADzW.js} +7 -7
  20. package/dist/chunks/{dashboard-json-7BQDKnHy.cjs → dashboard-json-LeJ0JD4L.cjs} +1 -1
  21. package/dist/chunks/{edit-dashboard-visual-CHlsiGOo.js → edit-dashboard-visual-BDNcPoBS.js} +2727 -2709
  22. package/dist/chunks/{edit-dashboard-visual-BSWdyT4u.cjs → edit-dashboard-visual-ryv-jOUA.cjs} +14 -14
  23. package/dist/chunks/{editor-action-buttons-B0o-qU4l.js → editor-action-buttons-CFDC0po3.js} +6 -6
  24. package/dist/chunks/{editor-action-buttons-DMnbVoBJ.cjs → editor-action-buttons-lBwd5Stw.cjs} +1 -1
  25. package/dist/chunks/{index-De_7nrwb.js → index-BlCnNcaB.js} +9 -9
  26. package/dist/chunks/{index-DQvtZ1gG.js → index-Bs9OvwM2.js} +29357 -29207
  27. package/dist/chunks/{index-DjjKJPDy.cjs → index-CQN-X1jN.cjs} +1 -1
  28. package/dist/chunks/{index-DqMJN4lZ.cjs → index-UKhl24L_.cjs} +164 -164
  29. package/dist/chunks/{matrix-result-contract-BTpPuHOc.js → matrix-result-contract-DQ9_UadF.js} +3 -3
  30. package/dist/chunks/{matrix-result-contract-ZRNfeIbI.cjs → matrix-result-contract-DiHDIyQk.cjs} +1 -1
  31. package/dist/chunks/{pivot-header-presentation-DW0gKG8g.js → pivot-header-presentation-CSf6CyOt.js} +2 -2
  32. package/dist/chunks/{pivot-header-presentation-BijPbP33.cjs → pivot-header-presentation-DyV0iOZ_.cjs} +1 -1
  33. package/dist/chunks/{pivot-result-identity-Z9tN2tEV.js → pivot-result-identity-BvT51Nog.js} +1 -1
  34. package/dist/chunks/{pivot-result-identity-DxHtiKVj.cjs → pivot-result-identity-gsOwOjHi.cjs} +1 -1
  35. package/dist/chunks/{pivot-result-lifecycle-g2U-vzQb.js → pivot-result-lifecycle--NNNPUtG.js} +7 -7
  36. package/dist/chunks/{pivot-result-lifecycle-BXzIlQVu.cjs → pivot-result-lifecycle-CEfU43GZ.cjs} +1 -1
  37. package/dist/chunks/{raw-temporal-contract-UtAqoOZO.js → raw-temporal-contract-BqVMduCs.js} +1 -1
  38. package/dist/chunks/{raw-temporal-contract-DfAvqNMo.cjs → raw-temporal-contract-UdblxoVB.cjs} +1 -1
  39. package/dist/chunks/{report-preferences-dialog-CkKbfjRg.cjs → report-preferences-dialog-DzUi-b9O.cjs} +1 -1
  40. package/dist/chunks/{report-preferences-dialog-BP4YC4D_.js → report-preferences-dialog-JCUuGAtd.js} +6 -6
  41. package/dist/chunks/{report-runtime-context-C0NfLPfc.cjs → report-runtime-context-CLtzrZdC.cjs} +1 -1
  42. package/dist/chunks/{report-runtime-context-CNncA3VD.js → report-runtime-context-CrTzKt0C.js} +1 -1
  43. package/dist/chunks/{saved-temporal-bucket-format-3QKveR3v.cjs → saved-temporal-bucket-format-Ca4hUfTo.cjs} +1 -1
  44. package/dist/chunks/{saved-temporal-bucket-format-Dd2eixTH.js → saved-temporal-bucket-format-DfqnCGCz.js} +3 -3
  45. package/dist/chunks/{switch-G_-UwdXX.js → switch-B6rFVSdw.js} +2942 -2892
  46. package/dist/chunks/{switch-CNqDn5b8.cjs → switch-BghC7eOM.cjs} +11 -11
  47. package/dist/chunks/{temporal-bucket-pMfghsLX.cjs → temporal-bucket-BDRcWdVv.cjs} +1 -1
  48. package/dist/chunks/{temporal-bucket-C85rmFmC.js → temporal-bucket-DFYIkexB.js} +18 -18
  49. package/dist/chunks/{temporal-bucket-authoring-BK1UhYpD.cjs → temporal-bucket-authoring-C6sZAVqS.cjs} +1 -1
  50. package/dist/chunks/{temporal-bucket-authoring-1fZuPAVb.js → temporal-bucket-authoring-ZxFzhTmL.js} +12 -12
  51. package/dist/chunks/{temporal-bucket-contract-DXXNZssK.js → temporal-bucket-contract-COPPwwbi.js} +1 -1
  52. package/dist/chunks/{temporal-bucket-contract-xFkvboaw.cjs → temporal-bucket-contract-vrOkax-r.cjs} +1 -1
  53. package/dist/chunks/{token-types-BYYO109W.cjs → token-types-DALtlgbG.cjs} +1 -1
  54. package/dist/chunks/{token-types-BLxc7UwR.js → token-types-p1M3SA2G.js} +1 -1
  55. package/dist/chunks/{update-policy-CB8XJIoY.js → update-policy-BKOA5S76.js} +1 -1
  56. package/dist/chunks/{update-policy-DMjjGjQY.cjs → update-policy-Cyufdviq.cjs} +1 -1
  57. package/dist/chunks/{validators-DVd8s3qY.js → validators-CCpBY1e0.js} +824 -788
  58. package/dist/chunks/validators-DO-YuzgO.cjs +1 -0
  59. package/dist/dashboard/index.cjs +1 -1
  60. package/dist/dashboard/index.js +2 -2
  61. package/dist/dashboard-authoring/index.cjs +2 -2
  62. package/dist/dashboard-authoring/index.js +6 -5
  63. package/dist/data-app-builder/index.cjs +1 -1
  64. package/dist/data-app-builder/index.js +2 -2
  65. package/dist/data-app-codegen/index.cjs +1 -1
  66. package/dist/data-app-codegen/index.js +2 -2
  67. package/dist/data-app-codegen-node/index.cjs +1 -1
  68. package/dist/data-app-codegen-node/index.js +3 -3
  69. package/dist/data-app-sdk/index.cjs +1 -1
  70. package/dist/data-app-sdk/index.js +3 -3
  71. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  72. package/dist/data-app-sdk-adapters/index.js +2 -2
  73. package/dist/data-app-sdk-validation/index.cjs +1 -1
  74. package/dist/data-app-sdk-validation/index.js +3 -3
  75. package/dist/format-utils/index.cjs +1 -1
  76. package/dist/format-utils/index.js +15 -15
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.js +14 -14
  79. package/dist/report-runtime-context/index.cjs +1 -1
  80. package/dist/report-runtime-context/index.js +2 -2
  81. package/dist/surfboard/index.cjs +1 -1
  82. package/dist/surfboard/index.js +3 -3
  83. package/dist/types/analytics-protocol.d.ts +15 -0
  84. package/dist/types/briefings.d.ts +1 -0
  85. package/dist/types/dashboard-assistant.d.ts +1 -0
  86. package/dist/types/dashboard-authoring.d.ts +15 -1
  87. package/dist/types/dashboard.d.ts +1 -0
  88. package/dist/types/index.cjs +1 -1
  89. package/dist/types/index.js +4 -4
  90. package/dist/types/main.d.ts +2 -1
  91. package/dist/types/shared.d.ts +1 -0
  92. package/dist/types/surfboard.d.ts +1 -0
  93. package/dist/types/types.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/dist/chunks/dashboard-filter-value-compatibility-UapptYnn.cjs +0 -1
  96. package/dist/chunks/validators-dJlwubP4.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-dJlwubP4.cjs"),C=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-DSGoFuXQ.cjs"),n=require("../chunks/temporal-bucket-pMfghsLX.cjs"),m=require("../chunks/dashboard-input-contract-BkRFQ7Tq.cjs"),S=require("../chunks/temporal-bucket-contract-xFkvboaw.cjs"),R=require("../chunks/raw-temporal-contract-DfAvqNMo.cjs"),A=require("../chunks/matrix-result-contract-ZRNfeIbI.cjs");function T(a,t={}){const r=b(a),i={connectionId:t.connectionId,connectionType:a,path:["database","schema","table"],labels:{database:"Database",schema:"Schema",table:"Table"},prefixLevels:["database","schema","table"],dialect:"postgres",supportsFilterClause:!0};return r.includes("postgres")?{...i,prefixLevels:["schema","table"],dialect:"postgres"}:r.includes("mysql")?{...i,prefixLevels:["database","table"],dialect:"mysql",supportsFilterClause:!1}:r.includes("mssql")||r.includes("sqlserver")?{...i,dialect:"mssql",supportsFilterClause:!1}:r.includes("redshift")?{...i,prefixLevels:["schema","table"],dialect:"redshift"}:r.includes("snowflake")?{...i,dialect:"snowflake"}:r.includes("clickhouse")?{connectionId:t.connectionId,connectionType:a,path:["database","table"],labels:{database:"Database",table:"Table"},prefixLevels:["database","table"],dialect:"clickhouse",supportsFilterClause:!1}:r==="s3"||r==="api"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:r==="api"?"API Table":"File Table"},prefixLevels:["table"],dialect:"duckdb",supportsFilterClause:!0}:r==="googlesheets"||r==="fileupload"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:"Table"},prefixLevels:["table"],dialect:"postgres",supportsFilterClause:!0}:r==="s3tables"?{...i,labels:{database:"Database",schema:"Namespace",table:"Table"},dialect:"duckdb"}:r==="bigquery"?{...i,labels:{database:"Project",schema:"Dataset",table:"Table"},prefixLevels:["schema","table"],dialect:"bigquery",supportsFilterClause:!1}:i}function g(a){const t=b(a);switch(t){case"mysql":case"bigquery":case"redshift":case"snowflake":case"clickhouse":case"duckdb":case"sqlite":return t;case"mssql":case"sqlserver":return"mssql";case"postgres":case"postgresql":return"postgres";default:return"unknown"}}function y(a){return a.capabilities.prefixLevels.every(t=>!!f(a.source,t))}function _(a){const t=a.quoteIdentifier??v;return a.capabilities.prefixLevels.map(r=>f(a.source,r)).filter(r=>!!r).map(r=>t(r,a.capabilities.dialect)).join(".")}function f(a,t){return t==="database"?a.databaseName:t==="schema"?a.schemaName:a.tableName}function v(a,t){return t==="mysql"||t==="bigquery"||t==="clickhouse"||t==="duckdb"?`\`${a.replace(/`/g,"``")}\``:t==="mssql"?`[${a.replace(/]/g,"]]")}]`:`"${a.replace(/"/g,'""')}"`}function b(a){if(typeof a!="string")return"";const t=[];for(const r of a.trim().toLowerCase())I(r)&&t.push(r);return t.join("")}function I(a){const t=a.charCodeAt(0);return t>=48&&t<=57||t>=97&&t<=122}const c={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},M={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:c,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:c,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:c,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:c,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:c,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:c,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"}]}},E={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 p(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,r)=>a.findIndex(i=>e.semaphorFieldRefsMatch(t.field,i.field))===r)}function D(a){return new Set(a.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function O(a){const t=u(a.candidates.filter(o=>o.kind==="visible_axis")),r=u(a.candidates.filter(o=>o.kind==="explicit_hidden"));if([...t,...r].some(o=>!p(o.field)))return"invalid";if(t.length>1||r.length>1)return"ambiguous";const i=t[0],l=r[0];if(i)return l&&!e.semaphorFieldRefsMatch(i.field,l.field)?"invalid":i;if(l)return l;if(D(a.querySources??[])>1)return"ambiguous";const d=u(a.candidates.filter(o=>o.kind==="semantic_primary"));return d.some(o=>!p(o.field))?"invalid":d.length>1?"ambiguous":d[0]??"missing"}function F(a){const t=new Date(a.startInclusive),r=new Date(a.endExclusive);return a.timezone.trim()?Number.isFinite(t.getTime())&&Number.isFinite(r.getTime())&&t.getTime()<r.getTime():!1}function P(a){const t=a.ranges??[];if(a.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:t};if((a.querySources??[]).some(s=>!e.hasCompleteSemaphorSourceIdentity(s))||t.some(s=>!p(s.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const r=O(a);if(typeof r=="string")return{status:"unavailable",reason:`temporal_binding_${r}`,constraints:t};const i=t.filter(s=>e.semaphorFieldRefsMatch(s.field,r.field));if(i.some(s=>!F(s.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const l=i.filter(s=>s.source==="global_date"),d=i.filter(s=>s.source==="card");if(l.length>1||l.length===0&&d.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const o=l[0]??d[0];return{status:"resolved",field:r.field,bindingSource:r.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:t.filter(s=>s.id!==(o==null?void 0:o.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.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;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=C.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=C.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=h.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=h.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=h.parseSemaphorAnalyzeResult;exports.COMPARISON_PRESENTATION_DEFAULTS=n.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=n.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=n.evaluateMetricComparison;exports.resolveMetricComparisonRequest=n.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=n.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=n.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=n.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=n.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=n.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=n.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=n.validateMetricComparisonSpec;exports.getCardControlCompatInputId=m.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=m.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=m.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=m.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=m.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=m.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=m.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=m.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=S.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=S.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=S.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=R.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=R.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=R.validateRawTemporalResultColumn;exports.MatrixResultContractError=A.MatrixResultContractError;exports.parseCanonicalMatrixResult=A.parseCanonicalMatrixResult;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=M;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=E;exports.buildSemaphorQualifiedSourcePath=_;exports.getSemaphorConnectionCapabilities=T;exports.normalizeSemaphorDialect=g;exports.resolveTemporalContext=P;exports.semaphorSourceHasRequiredCoordinates=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DO-YuzgO.cjs"),C=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-CMwVg9w2.cjs"),n=require("../chunks/temporal-bucket-BDRcWdVv.cjs"),m=require("../chunks/dashboard-input-contract-12mPNhCF.cjs"),S=require("../chunks/temporal-bucket-contract-vrOkax-r.cjs"),R=require("../chunks/raw-temporal-contract-UdblxoVB.cjs"),A=require("../chunks/matrix-result-contract-DiHDIyQk.cjs");function T(a,t={}){const r=b(a),i={connectionId:t.connectionId,connectionType:a,path:["database","schema","table"],labels:{database:"Database",schema:"Schema",table:"Table"},prefixLevels:["database","schema","table"],dialect:"postgres",supportsFilterClause:!0};return r.includes("postgres")?{...i,prefixLevels:["schema","table"],dialect:"postgres"}:r.includes("mysql")?{...i,prefixLevels:["database","table"],dialect:"mysql",supportsFilterClause:!1}:r.includes("mssql")||r.includes("sqlserver")?{...i,dialect:"mssql",supportsFilterClause:!1}:r.includes("redshift")?{...i,prefixLevels:["schema","table"],dialect:"redshift"}:r.includes("snowflake")?{...i,dialect:"snowflake"}:r.includes("clickhouse")?{connectionId:t.connectionId,connectionType:a,path:["database","table"],labels:{database:"Database",table:"Table"},prefixLevels:["database","table"],dialect:"clickhouse",supportsFilterClause:!1}:r==="s3"||r==="api"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:r==="api"?"API Table":"File Table"},prefixLevels:["table"],dialect:"duckdb",supportsFilterClause:!0}:r==="googlesheets"||r==="fileupload"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:"Table"},prefixLevels:["table"],dialect:"postgres",supportsFilterClause:!0}:r==="s3tables"?{...i,labels:{database:"Database",schema:"Namespace",table:"Table"},dialect:"duckdb"}:r==="bigquery"?{...i,labels:{database:"Project",schema:"Dataset",table:"Table"},prefixLevels:["schema","table"],dialect:"bigquery",supportsFilterClause:!1}:i}function g(a){const t=b(a);switch(t){case"mysql":case"bigquery":case"redshift":case"snowflake":case"clickhouse":case"duckdb":case"sqlite":return t;case"mssql":case"sqlserver":return"mssql";case"postgres":case"postgresql":return"postgres";default:return"unknown"}}function y(a){return a.capabilities.prefixLevels.every(t=>!!f(a.source,t))}function _(a){const t=a.quoteIdentifier??v;return a.capabilities.prefixLevels.map(r=>f(a.source,r)).filter(r=>!!r).map(r=>t(r,a.capabilities.dialect)).join(".")}function f(a,t){return t==="database"?a.databaseName:t==="schema"?a.schemaName:a.tableName}function v(a,t){return t==="mysql"||t==="bigquery"||t==="clickhouse"||t==="duckdb"?`\`${a.replace(/`/g,"``")}\``:t==="mssql"?`[${a.replace(/]/g,"]]")}]`:`"${a.replace(/"/g,'""')}"`}function b(a){if(typeof a!="string")return"";const t=[];for(const r of a.trim().toLowerCase())I(r)&&t.push(r);return t.join("")}function I(a){const t=a.charCodeAt(0);return t>=48&&t<=57||t>=97&&t<=122}const c={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},M={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:c,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:c,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:c,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:c,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:c,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:c,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"}]}},D={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 p(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,r)=>a.findIndex(i=>e.semaphorFieldRefsMatch(t.field,i.field))===r)}function E(a){return new Set(a.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function O(a){const t=u(a.candidates.filter(o=>o.kind==="visible_axis")),r=u(a.candidates.filter(o=>o.kind==="explicit_hidden"));if([...t,...r].some(o=>!p(o.field)))return"invalid";if(t.length>1||r.length>1)return"ambiguous";const i=t[0],l=r[0];if(i)return l&&!e.semaphorFieldRefsMatch(i.field,l.field)?"invalid":i;if(l)return l;if(E(a.querySources??[])>1)return"ambiguous";const d=u(a.candidates.filter(o=>o.kind==="semantic_primary"));return d.some(o=>!p(o.field))?"invalid":d.length>1?"ambiguous":d[0]??"missing"}function F(a){const t=new Date(a.startInclusive),r=new Date(a.endExclusive);return a.timezone.trim()?Number.isFinite(t.getTime())&&Number.isFinite(r.getTime())&&t.getTime()<r.getTime():!1}function P(a){const t=a.ranges??[];if(a.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:t};if((a.querySources??[]).some(s=>!e.hasCompleteSemaphorSourceIdentity(s))||t.some(s=>!p(s.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const r=O(a);if(typeof r=="string")return{status:"unavailable",reason:`temporal_binding_${r}`,constraints:t};const i=t.filter(s=>e.semaphorFieldRefsMatch(s.field,r.field));if(i.some(s=>!F(s.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const l=i.filter(s=>s.source==="global_date"),d=i.filter(s=>s.source==="card");if(l.length>1||l.length===0&&d.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const o=l[0]??d[0];return{status:"resolved",field:r.field,bindingSource:r.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:t.filter(s=>s.id!==(o==null?void 0:o.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.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=C.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=C.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=h.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=h.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=h.parseSemaphorAnalyzeResult;exports.COMPARISON_PRESENTATION_DEFAULTS=n.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=n.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=n.evaluateMetricComparison;exports.resolveMetricComparisonRequest=n.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=n.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=n.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=n.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=n.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=n.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=n.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=n.validateMetricComparisonSpec;exports.getCardControlCompatInputId=m.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=m.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=m.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=m.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=m.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=m.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=m.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=m.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=S.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=S.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=S.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=R.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=R.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=R.validateRawTemporalResultColumn;exports.MatrixResultContractError=A.MatrixResultContractError;exports.parseCanonicalMatrixResult=A.parseCanonicalMatrixResult;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=M;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=D;exports.buildSemaphorQualifiedSourcePath=_;exports.getSemaphorConnectionCapabilities=T;exports.normalizeSemaphorDialect=g;exports.resolveTemporalContext=P;exports.semaphorSourceHasRequiredCoordinates=y;
@@ -1,14 +1,14 @@
1
- import { j as u, s as c, k as f } from "../chunks/validators-DVd8s3qY.js";
2
- import { R as k, f as O, S as q, a as x, r as N, n as P, l as L, T as w, q as B, M as z, a0 as G, $ as U, E as H, D as V, H as Y, L as W, K, G as Q, J as X, I as $, i as j, o as Z, m as J, ah as ee, F as ae, C as se, h as re, u as te, p as ie, ag as ne, P as oe, ab as le, a9 as de, ac as me, aa as ce, a7 as ue, a1 as pe, a2 as he, g as fe, ad as be, ae as Se, Y as ge, Z as ve, X as Re, a5 as Ce, d as Te, c as _e, ai as ye, a3 as Ae, U as Ie, a4 as De, a8 as Me, _ as Ee, Q as Fe, W as ke, af as Oe, a6 as qe, V as xe, N as Ne, e as Pe, O as Le, t as we, y as Be, A as ze, B as Ge, v as Ue, w as He, z as Ve, x as Ye } from "../chunks/validators-DVd8s3qY.js";
3
- import { a as Ke, n as Qe } from "../chunks/operators-C8TxpM4C.js";
4
- import { g as $e, i as je, p as Ze } from "../chunks/analyze-result-contract-DROq4vgY.js";
5
- import { C as ea, D as aa, g as sa, r as ra, a as ta, f as ia, d as na, c as oa, b as la, e as da, v as ma } from "../chunks/temporal-bucket-C85rmFmC.js";
6
- import { d as ua, c as pa, b as ha, g as fa, i as ba, r as Sa, a as ga, s as va } from "../chunks/dashboard-input-contract-D5dxTWJ5.js";
7
- import { b as Ca, v as Ta, a as _a } from "../chunks/temporal-bucket-contract-DXXNZssK.js";
8
- import { R as Aa, p as Ia, v as Da } from "../chunks/raw-temporal-contract-UtAqoOZO.js";
9
- import { M as Ea, p as Fa } from "../chunks/matrix-result-contract-BTpPuHOc.js";
1
+ import { j as u, s as c, k as f } from "../chunks/validators-CCpBY1e0.js";
2
+ import { R as k, f as O, S as N, a as q, r as x, n as P, l as L, T as w, q as B, M as z, a0 as G, ag as U, $ as H, E as V, D as Y, af as W, H as K, L as j, K as Q, G as X, J as $, I as Z, i as J, o as ee, m as ae, aj as se, F as te, C as re, h as ie, u as ne, p as oe, ai as le, P as de, ab as me, a9 as ce, ac as ue, aa as pe, a7 as he, a1 as fe, a2 as be, g as Se, ad as ge, ae as ve, Y as Re, Z as Ce, X as Te, a5 as _e, d as ye, c as Ae, ak as Ie, a3 as De, U as Me, a4 as Ee, a8 as Fe, _ as ke, Q as Oe, W as Ne, ah as qe, a6 as xe, V as Pe, N as Le, e as we, O as Be, t as ze, y as Ge, A as Ue, B as He, v as Ve, w as Ye, z as We, x as Ke } from "../chunks/validators-CCpBY1e0.js";
3
+ import { a as Qe, n as Xe } from "../chunks/operators-C8TxpM4C.js";
4
+ import { g as Ze, i as Je, p as ea } from "../chunks/analyze-result-contract-CMZDRRwo.js";
5
+ import { C as sa, D as ta, g as ra, r as ia, a as na, f as oa, d as la, c as da, b as ma, e as ca, v as ua } from "../chunks/temporal-bucket-DFYIkexB.js";
6
+ import { d as ha, c as fa, b as ba, g as Sa, i as ga, r as va, a as Ra, s as Ca } from "../chunks/dashboard-input-contract-Px64VWBL.js";
7
+ import { b as _a, v as ya, a as Aa } from "../chunks/temporal-bucket-contract-COPPwwbi.js";
8
+ import { R as Da, p as Ma, v as Ea } from "../chunks/raw-temporal-contract-BqVMduCs.js";
9
+ import { M as ka, p as Oa } from "../chunks/matrix-result-contract-DQ9_UadF.js";
10
10
  function T(e, a = {}) {
11
- const s = h(e), r = {
11
+ const s = h(e), t = {
12
12
  connectionId: a.connectionId,
13
13
  connectionType: e,
14
14
  path: ["database", "schema", "table"],
@@ -22,24 +22,24 @@ function T(e, a = {}) {
22
22
  supportsFilterClause: !0
23
23
  };
24
24
  return s.includes("postgres") ? {
25
- ...r,
25
+ ...t,
26
26
  prefixLevels: ["schema", "table"],
27
27
  dialect: "postgres"
28
28
  } : s.includes("mysql") ? {
29
- ...r,
29
+ ...t,
30
30
  prefixLevels: ["database", "table"],
31
31
  dialect: "mysql",
32
32
  supportsFilterClause: !1
33
33
  } : s.includes("mssql") || s.includes("sqlserver") ? {
34
- ...r,
34
+ ...t,
35
35
  dialect: "mssql",
36
36
  supportsFilterClause: !1
37
37
  } : s.includes("redshift") ? {
38
- ...r,
38
+ ...t,
39
39
  prefixLevels: ["schema", "table"],
40
40
  dialect: "redshift"
41
41
  } : s.includes("snowflake") ? {
42
- ...r,
42
+ ...t,
43
43
  dialect: "snowflake"
44
44
  } : s.includes("clickhouse") ? {
45
45
  connectionId: a.connectionId,
@@ -73,7 +73,7 @@ function T(e, a = {}) {
73
73
  dialect: "postgres",
74
74
  supportsFilterClause: !0
75
75
  } : s === "s3tables" ? {
76
- ...r,
76
+ ...t,
77
77
  labels: {
78
78
  database: "Database",
79
79
  schema: "Namespace",
@@ -81,7 +81,7 @@ function T(e, a = {}) {
81
81
  },
82
82
  dialect: "duckdb"
83
83
  } : s === "bigquery" ? {
84
- ...r,
84
+ ...t,
85
85
  labels: {
86
86
  database: "Project",
87
87
  schema: "Dataset",
@@ -90,7 +90,7 @@ function T(e, a = {}) {
90
90
  prefixLevels: ["schema", "table"],
91
91
  dialect: "bigquery",
92
92
  supportsFilterClause: !1
93
- } : r;
93
+ } : t;
94
94
  }
95
95
  function _(e) {
96
96
  const a = h(e);
@@ -292,7 +292,7 @@ function m(e) {
292
292
  function d(e) {
293
293
  return e.filter(
294
294
  (a, s) => e.findIndex(
295
- (r) => c(a.field, r.field)
295
+ (t) => c(a.field, t.field)
296
296
  ) === s
297
297
  );
298
298
  }
@@ -301,26 +301,26 @@ function g(e) {
301
301
  }
302
302
  function v(e) {
303
303
  const a = d(
304
- e.candidates.filter((t) => t.kind === "visible_axis")
304
+ e.candidates.filter((r) => r.kind === "visible_axis")
305
305
  ), s = d(
306
- e.candidates.filter((t) => t.kind === "explicit_hidden")
306
+ e.candidates.filter((r) => r.kind === "explicit_hidden")
307
307
  );
308
308
  if ([...a, ...s].some(
309
- (t) => !m(t.field)
309
+ (r) => !m(r.field)
310
310
  ))
311
311
  return "invalid";
312
312
  if (a.length > 1 || s.length > 1)
313
313
  return "ambiguous";
314
- const r = a[0], n = s[0];
315
- if (r)
316
- return n && !c(r.field, n.field) ? "invalid" : r;
314
+ const t = a[0], n = s[0];
315
+ if (t)
316
+ return n && !c(t.field, n.field) ? "invalid" : t;
317
317
  if (n) return n;
318
318
  if (g(e.querySources ?? []) > 1)
319
319
  return "ambiguous";
320
320
  const o = d(
321
- e.candidates.filter((t) => t.kind === "semantic_primary")
321
+ e.candidates.filter((r) => r.kind === "semantic_primary")
322
322
  );
323
- return o.some((t) => !m(t.field)) ? "invalid" : o.length > 1 ? "ambiguous" : o[0] ?? "missing";
323
+ return o.some((r) => !m(r.field)) ? "invalid" : o.length > 1 ? "ambiguous" : o[0] ?? "missing";
324
324
  }
325
325
  function R(e) {
326
326
  const a = new Date(e.startInclusive), s = new Date(e.endExclusive);
@@ -349,48 +349,48 @@ function M(e) {
349
349
  reason: `temporal_binding_${s}`,
350
350
  constraints: a
351
351
  };
352
- const r = a.filter(
352
+ const t = a.filter(
353
353
  (i) => c(i.field, s.field)
354
354
  );
355
- if (r.some((i) => !R(i.window)))
355
+ if (t.some((i) => !R(i.window)))
356
356
  return {
357
357
  status: "unavailable",
358
358
  reason: "temporal_binding_invalid",
359
359
  constraints: a
360
360
  };
361
- const n = r.filter(
361
+ const n = t.filter(
362
362
  (i) => i.source === "global_date"
363
- ), o = r.filter((i) => i.source === "card");
363
+ ), o = t.filter((i) => i.source === "card");
364
364
  if (n.length > 1 || n.length === 0 && o.length > 1)
365
365
  return {
366
366
  status: "unavailable",
367
367
  reason: "temporal_binding_ambiguous",
368
368
  constraints: a
369
369
  };
370
- const t = n[0] ?? o[0];
370
+ const r = n[0] ?? o[0];
371
371
  return {
372
372
  status: "resolved",
373
373
  field: s.field,
374
374
  bindingSource: s.kind,
375
- ...t ? {
376
- currentWindow: t.window,
377
- governingWindowSource: t.source,
378
- governingRangeId: t.id
375
+ ...r ? {
376
+ currentWindow: r.window,
377
+ governingWindowSource: r.source,
378
+ governingRangeId: r.id
379
379
  } : {},
380
- constraints: a.filter((i) => i.id !== (t == null ? void 0 : t.id))
380
+ constraints: a.filter((i) => i.id !== (r == null ? void 0 : r.id))
381
381
  };
382
382
  }
383
383
  export {
384
- ea as COMPARISON_PRESENTATION_DEFAULTS,
385
- aa as DEFAULT_METRIC_COMPARISON_POLARITY,
386
- Ea as MatrixResultContractError,
384
+ sa as COMPARISON_PRESENTATION_DEFAULTS,
385
+ ta as DEFAULT_METRIC_COMPARISON_POLARITY,
386
+ ka as MatrixResultContractError,
387
387
  k as RAW_TEMPORAL_CONTRACT_ERROR_CODES,
388
- Aa as RawTemporalMetadataContractError,
388
+ Da as RawTemporalMetadataContractError,
389
389
  I as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
390
390
  O as SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT,
391
- q as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
392
- x as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION,
393
- N as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
391
+ N as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
392
+ q as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION,
393
+ x as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
394
394
  P as SEMAPHOR_MATRIX_TIME_GRAINS,
395
395
  L as SEMAPHOR_TIME_GRAINS,
396
396
  w as TEMPORAL_BUCKET_CONTRACT_ERROR_CODES,
@@ -399,97 +399,99 @@ export {
399
399
  z as buildAnalyticsCatalogFieldSummary,
400
400
  A as buildSemaphorQualifiedSourcePath,
401
401
  G as canonicalDashboardRecordsPayloadSchema,
402
- U as dashboardRecordsPayloadSchema,
403
- sa as evaluateMetricComparison,
404
- H as getAnalyticsCatalogFieldCandidates,
405
- V as getAnalyticsCatalogFieldName,
406
- ua as getCardControlCompatInputId,
407
- pa as getCardInlineFilterCompatInputId,
408
- ha as getDashboardControlCompatInputId,
409
- fa as getDashboardFilterCompatInputId,
410
- $e as getSemaphorAnalyzeResultFieldNames,
402
+ U as canonicalizeSemaphorSourceIdentity,
403
+ H as dashboardRecordsPayloadSchema,
404
+ ra as evaluateMetricComparison,
405
+ V as getAnalyticsCatalogFieldCandidates,
406
+ Y as getAnalyticsCatalogFieldName,
407
+ ha as getCardControlCompatInputId,
408
+ fa as getCardInlineFilterCompatInputId,
409
+ ba as getDashboardControlCompatInputId,
410
+ Sa as getDashboardFilterCompatInputId,
411
+ Ze as getSemaphorAnalyzeResultFieldNames,
411
412
  T as getSemaphorConnectionCapabilities,
413
+ W as getSemaphorNonRedundantDatasetId,
412
414
  u as hasCompleteSemaphorSourceIdentity,
413
- Y as isAnalyticsCatalogDateField,
414
- W as isAnalyticsCatalogDimensionField,
415
- K as isAnalyticsCatalogMetricField,
416
- Q as isAnalyticsDateLikeDataType,
417
- X as isAnalyticsMetricIdentifierField,
418
- $ as isAnalyticsTechnicalIdentifierField,
419
- ba as isComparisonCapableDashboardDateInputDefinition,
420
- je as isSemaphorAnalyzeResultFieldName,
421
- j as isSemaphorDataAppCodegenSummary,
422
- Z as isSemaphorMatrixTimeGrain,
423
- J as isSemaphorTimeGrain,
424
- ee as mergeSemaphorSourcesByIdentity,
425
- ae as normalizeAnalyticsCatalogDataType,
426
- se as normalizeAnalyticsCatalogName,
427
- Ke as normalizeSemaphorAnalyticsFilterOperator,
415
+ K as isAnalyticsCatalogDateField,
416
+ j as isAnalyticsCatalogDimensionField,
417
+ Q as isAnalyticsCatalogMetricField,
418
+ X as isAnalyticsDateLikeDataType,
419
+ $ as isAnalyticsMetricIdentifierField,
420
+ Z as isAnalyticsTechnicalIdentifierField,
421
+ ga as isComparisonCapableDashboardDateInputDefinition,
422
+ Je as isSemaphorAnalyzeResultFieldName,
423
+ J as isSemaphorDataAppCodegenSummary,
424
+ ee as isSemaphorMatrixTimeGrain,
425
+ ae as isSemaphorTimeGrain,
426
+ se as mergeSemaphorSourcesByIdentity,
427
+ te as normalizeAnalyticsCatalogDataType,
428
+ re as normalizeAnalyticsCatalogName,
429
+ Qe as normalizeSemaphorAnalyticsFilterOperator,
428
430
  _ as normalizeSemaphorDialect,
429
- Qe as normalizeSemaphorInputOperator,
430
- Fa as parseCanonicalMatrixResult,
431
- Ia as parseRawTemporalValueMetadata,
432
- Ze as parseSemaphorAnalyzeResult,
433
- re as parseSemaphorIsoInstant,
434
- te as parseSemaphorIsoTimeWindowBoundary,
435
- ie as preferSemaphorFieldRefMetadata,
436
- ne as preferSemaphorSourceMetadata,
437
- oe as rawTemporalValueMetadataSchema,
438
- Sa as resolveDashboardDateComparisonFilterDefinition,
439
- ga as resolveDashboardDateComparisonInputDefinition,
440
- ra as resolveMetricComparisonRequest,
441
- ta as resolveMetricResultAlias,
431
+ Xe as normalizeSemaphorInputOperator,
432
+ Oa as parseCanonicalMatrixResult,
433
+ Ma as parseRawTemporalValueMetadata,
434
+ ea as parseSemaphorAnalyzeResult,
435
+ ie as parseSemaphorIsoInstant,
436
+ ne as parseSemaphorIsoTimeWindowBoundary,
437
+ oe as preferSemaphorFieldRefMetadata,
438
+ le as preferSemaphorSourceMetadata,
439
+ de as rawTemporalValueMetadataSchema,
440
+ va as resolveDashboardDateComparisonFilterDefinition,
441
+ Ra as resolveDashboardDateComparisonInputDefinition,
442
+ ia as resolveMetricComparisonRequest,
443
+ na as resolveMetricResultAlias,
442
444
  M as resolveTemporalContext,
443
- va as semanticDatasetMatchesFieldCoordinates,
444
- le as semaphorAnalyticsCoverageSchema,
445
- de as semaphorAnalyticsDiagnosticFeedbackSchema,
446
- me as semaphorAnalyticsExecutionResultSchema,
447
- ce as semaphorAnalyticsPopulationSchema,
448
- ue as semaphorAnalyticsResultSchema,
449
- pe as semaphorAnalyticsValidationIssueSchema,
450
- he as semaphorAnalyticsValidationResultSchema,
451
- fe as semaphorAnalyzeResultSchema,
452
- be as semaphorAnalyzeResultShape,
453
- Se as semaphorDataAppCodegenSummarySchema,
454
- ge as semaphorDerivedFieldDefinitionSchema,
455
- ve as semaphorExecutionFieldRefSchema,
456
- Re as semaphorFieldRefSchema,
445
+ Ca as semanticDatasetMatchesFieldCoordinates,
446
+ me as semaphorAnalyticsCoverageSchema,
447
+ ce as semaphorAnalyticsDiagnosticFeedbackSchema,
448
+ ue as semaphorAnalyticsExecutionResultSchema,
449
+ pe as semaphorAnalyticsPopulationSchema,
450
+ he as semaphorAnalyticsResultSchema,
451
+ fe as semaphorAnalyticsValidationIssueSchema,
452
+ be as semaphorAnalyticsValidationResultSchema,
453
+ Se as semaphorAnalyzeResultSchema,
454
+ ge as semaphorAnalyzeResultShape,
455
+ ve as semaphorDataAppCodegenSummarySchema,
456
+ Re as semaphorDerivedFieldDefinitionSchema,
457
+ Ce as semaphorExecutionFieldRefSchema,
458
+ Te as semaphorFieldRefSchema,
457
459
  c as semaphorFieldRefsMatch,
458
- Ce as semaphorInputOptionsResultSchema,
459
- Te as semaphorMatrixResultSchema,
460
- _e as semaphorMetricAggregate,
461
- ye as semaphorMetricMeasureBindingKey,
462
- Ae as semaphorMetricResultSchema,
463
- Ie as semaphorPhysicalSourceRefSchema,
464
- De as semaphorRecordsResultSchema,
465
- Me as semaphorRelationshipDiagnosticsSchema,
466
- Ee as semaphorResultColumnSchema,
467
- Fe as semaphorSemanticSourceRefSchema,
460
+ _e as semaphorInputOptionsResultSchema,
461
+ ye as semaphorMatrixResultSchema,
462
+ Ae as semaphorMetricAggregate,
463
+ Ie as semaphorMetricMeasureBindingKey,
464
+ De as semaphorMetricResultSchema,
465
+ Me as semaphorPhysicalSourceRefSchema,
466
+ Ee as semaphorRecordsResultSchema,
467
+ Fe as semaphorRelationshipDiagnosticsSchema,
468
+ ke as semaphorResultColumnSchema,
469
+ Oe as semaphorSemanticSourceRefSchema,
468
470
  y as semaphorSourceHasRequiredCoordinates,
469
471
  f as semaphorSourceIdentityKey,
470
- ke as semaphorSourceRefSchema,
471
- Oe as semaphorSourcesReferToSameDataset,
472
- qe as semaphorSqlResultSchema,
473
- xe as semaphorSqlSourceRefSchema,
474
- Ne as semaphorTimeGrainSchema,
475
- Pe as temporalBucketDataTypeForGrain,
476
- Le as temporalBucketFormatSchema,
477
- we as temporalBucketMetadataSchema,
478
- Ca as validateActivatedTemporalBucketResultColumns,
479
- ia as validateComparisonPresentationSpec,
480
- na as validateGlobalDateComparisonContext,
481
- oa as validateGlobalDateComparisonSelection,
482
- la as validateMetricComparisonConfig,
483
- da as validateMetricComparisonPolarity,
484
- ma as validateMetricComparisonSpec,
485
- Da as validateRawTemporalResultColumn,
486
- Be as validateSemaphorAnalyticsIntent,
487
- ze as validateSemaphorAnalyticsRecoveryPlan,
488
- Ge as validateSemaphorDashboardIntent,
489
- Ue as validateSemaphorDataAppCodegenSummary,
490
- He as validateSemaphorDerivedFieldDefinition,
491
- Ve as validateSemaphorOperationIntent,
492
- Ye as validateSemaphorResultCalculation,
493
- Ta as validateTemporalBucketMetadata,
494
- _a as validateTemporalBucketResultColumn
472
+ Ne as semaphorSourceRefSchema,
473
+ qe as semaphorSourcesReferToSameDataset,
474
+ xe as semaphorSqlResultSchema,
475
+ Pe as semaphorSqlSourceRefSchema,
476
+ Le as semaphorTimeGrainSchema,
477
+ we as temporalBucketDataTypeForGrain,
478
+ Be as temporalBucketFormatSchema,
479
+ ze as temporalBucketMetadataSchema,
480
+ _a as validateActivatedTemporalBucketResultColumns,
481
+ oa as validateComparisonPresentationSpec,
482
+ la as validateGlobalDateComparisonContext,
483
+ da as validateGlobalDateComparisonSelection,
484
+ ma as validateMetricComparisonConfig,
485
+ ca as validateMetricComparisonPolarity,
486
+ ua as validateMetricComparisonSpec,
487
+ Ea as validateRawTemporalResultColumn,
488
+ Ge as validateSemaphorAnalyticsIntent,
489
+ Ue as validateSemaphorAnalyticsRecoveryPlan,
490
+ He as validateSemaphorDashboardIntent,
491
+ Ve as validateSemaphorDataAppCodegenSummary,
492
+ Ye as validateSemaphorDerivedFieldDefinition,
493
+ We as validateSemaphorOperationIntent,
494
+ Ke as validateSemaphorResultCalculation,
495
+ ya as validateTemporalBucketMetadata,
496
+ Aa as validateTemporalBucketResultColumn
495
497
  };
@@ -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-CNqDn5b8.cjs"),oe=require("../chunks/color-CyB5o13F.cjs"),L=require("../chunks/x-B6ghREd2.cjs");require("../chunks/saved-temporal-bucket-format-3QKveR3v.cjs");require("../chunks/validators-dJlwubP4.cjs");require("../chunks/analyze-result-contract-DSGoFuXQ.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-BghC7eOM.cjs"),oe=require("../chunks/color-CyB5o13F.cjs"),L=require("../chunks/x-B6ghREd2.cjs");require("../chunks/saved-temporal-bucket-format-Ca4hUfTo.cjs");require("../chunks/validators-DO-YuzgO.cjs");require("../chunks/analyze-result-contract-CMwVg9w2.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-G_-UwdXX.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-B6rFVSdw.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-Dd2eixTH.js";
7
- import "../chunks/validators-DVd8s3qY.js";
8
- import "../chunks/analyze-result-contract-DROq4vgY.js";
6
+ import "../chunks/saved-temporal-bucket-format-DfqnCGCz.js";
7
+ import "../chunks/validators-CCpBY1e0.js";
8
+ import "../chunks/analyze-result-contract-CMZDRRwo.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../chunks/pivot-result-lifecycle-BXzIlQVu.cjs");require("../value-format-preferences/index.cjs");require("../chunks/validators-dJlwubP4.cjs");require("../chunks/analyze-result-contract-DSGoFuXQ.cjs");const e=require("../chunks/index-DjjKJPDy.cjs");exports.BRIEFING_ARTIFACT_FORMATS=e.BRIEFING_ARTIFACT_FORMATS;exports.BRIEFING_CONTENT_LIMITS=e.BRIEFING_CONTENT_LIMITS;exports.BRIEFING_KIND=e.BRIEFING_KIND;exports.BRIEFING_TEXT_LIMITS=e.BRIEFING_TEXT_LIMITS;exports.BriefingContractError=e.BriefingContractError;exports.DEFAULT_BRIEFING_ARTIFACT_FORMATS=e.DEFAULT_BRIEFING_ARTIFACT_FORMATS;exports.DEFAULT_BRIEFING_SCHEDULE=e.DEFAULT_BRIEFING_SCHEDULE;exports.MAX_BRIEFING_ATTACHMENTS=e.MAX_BRIEFING_ATTACHMENTS;exports.buildBriefingJobConfig=e.buildBriefingJobConfig;exports.buildBriefingScheduleExpr=e.buildBriefingScheduleExpr;exports.buildCreateBriefingRequest=e.buildCreateBriefingRequest;exports.buildDashboardTemporalSnapshotEntries=e.buildDashboardTemporalSnapshotEntries;exports.buildUpdateBriefingRequest=e.buildUpdateBriefingRequest;exports.canCreateBriefingForUser=e.canCreateBriefingForUser;exports.describeBriefingSchedule=e.describeBriefingSchedule;exports.formatBriefingComparisonValues=e.formatBriefingComparisonValues;exports.formatBriefingDisplayValue=e.formatBriefingDisplayValue;exports.getBriefingCardAttachmentCapability=e.getBriefingCardAttachmentCapability;exports.getBriefingCardAttachmentFormats=e.getBriefingCardAttachmentFormats;exports.getBriefingCreationIntents=e.getBriefingCreationIntents;exports.getBriefingDisplayTypeLabel=e.getBriefingDisplayTypeLabel;exports.getBriefingPresentation=e.getBriefingPresentation;exports.getDefaultBriefingCardAttachmentFormat=e.getDefaultBriefingCardAttachmentFormat;exports.isBriefingArtifactFormat=e.isBriefingArtifactFormat;exports.isBriefingDeliveryChannel=e.isBriefingDeliveryChannel;exports.isBriefingNumericValue=e.isBriefingNumericValue;exports.isEmailOnlyBriefingDelivery=e.isEmailOnlyBriefingDelivery;exports.isValidBriefingTimezone=e.isValidBriefingTimezone;exports.normalizeBriefingContentDocument=e.normalizeBriefingContentDocument;exports.normalizeBriefingDraft=e.normalizeBriefingDraft;exports.normalizeBriefingJobConfig=e.normalizeBriefingJobConfig;exports.parseBriefingScheduleExpr=e.parseBriefingScheduleExpr;exports.validateBriefingContentDocument=e.validateBriefingContentDocument;exports.validateBriefingDraft=e.validateBriefingDraft;exports.validateBriefingJobConfig=e.validateBriefingJobConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../chunks/pivot-result-lifecycle-CEfU43GZ.cjs");require("../value-format-preferences/index.cjs");require("../chunks/validators-DO-YuzgO.cjs");require("../chunks/analyze-result-contract-CMwVg9w2.cjs");const e=require("../chunks/index-CQN-X1jN.cjs");exports.BRIEFING_ARTIFACT_FORMATS=e.BRIEFING_ARTIFACT_FORMATS;exports.BRIEFING_CONTENT_LIMITS=e.BRIEFING_CONTENT_LIMITS;exports.BRIEFING_KIND=e.BRIEFING_KIND;exports.BRIEFING_TEXT_LIMITS=e.BRIEFING_TEXT_LIMITS;exports.BriefingContractError=e.BriefingContractError;exports.DEFAULT_BRIEFING_ARTIFACT_FORMATS=e.DEFAULT_BRIEFING_ARTIFACT_FORMATS;exports.DEFAULT_BRIEFING_SCHEDULE=e.DEFAULT_BRIEFING_SCHEDULE;exports.MAX_BRIEFING_ATTACHMENTS=e.MAX_BRIEFING_ATTACHMENTS;exports.buildBriefingJobConfig=e.buildBriefingJobConfig;exports.buildBriefingScheduleExpr=e.buildBriefingScheduleExpr;exports.buildCreateBriefingRequest=e.buildCreateBriefingRequest;exports.buildDashboardTemporalSnapshotEntries=e.buildDashboardTemporalSnapshotEntries;exports.buildUpdateBriefingRequest=e.buildUpdateBriefingRequest;exports.canCreateBriefingForUser=e.canCreateBriefingForUser;exports.describeBriefingSchedule=e.describeBriefingSchedule;exports.formatBriefingComparisonValues=e.formatBriefingComparisonValues;exports.formatBriefingDisplayValue=e.formatBriefingDisplayValue;exports.getBriefingCardAttachmentCapability=e.getBriefingCardAttachmentCapability;exports.getBriefingCardAttachmentFormats=e.getBriefingCardAttachmentFormats;exports.getBriefingCreationIntents=e.getBriefingCreationIntents;exports.getBriefingDisplayTypeLabel=e.getBriefingDisplayTypeLabel;exports.getBriefingPresentation=e.getBriefingPresentation;exports.getDefaultBriefingCardAttachmentFormat=e.getDefaultBriefingCardAttachmentFormat;exports.isBriefingArtifactFormat=e.isBriefingArtifactFormat;exports.isBriefingDeliveryChannel=e.isBriefingDeliveryChannel;exports.isBriefingNumericValue=e.isBriefingNumericValue;exports.isEmailOnlyBriefingDelivery=e.isEmailOnlyBriefingDelivery;exports.isValidBriefingTimezone=e.isValidBriefingTimezone;exports.normalizeBriefingContentDocument=e.normalizeBriefingContentDocument;exports.normalizeBriefingDraft=e.normalizeBriefingDraft;exports.normalizeBriefingJobConfig=e.normalizeBriefingJobConfig;exports.parseBriefingScheduleExpr=e.parseBriefingScheduleExpr;exports.validateBriefingContentDocument=e.validateBriefingContentDocument;exports.validateBriefingDraft=e.validateBriefingDraft;exports.validateBriefingJobConfig=e.validateBriefingJobConfig;
@@ -1,8 +1,8 @@
1
- import "../chunks/pivot-result-lifecycle-g2U-vzQb.js";
1
+ import "../chunks/pivot-result-lifecycle--NNNPUtG.js";
2
2
  import "../value-format-preferences/index.js";
3
- import "../chunks/validators-DVd8s3qY.js";
4
- import "../chunks/analyze-result-contract-DROq4vgY.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-De_7nrwb.js";
3
+ import "../chunks/validators-CCpBY1e0.js";
4
+ import "../chunks/analyze-result-contract-CMZDRRwo.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-BlCnNcaB.js";
6
6
  export {
7
7
  t as BRIEFING_ARTIFACT_FORMATS,
8
8
  f as BRIEFING_CONTENT_LIMITS,
@@ -1,4 +1,4 @@
1
- import { f as t, g as n } from "./validators-DVd8s3qY.js";
1
+ import { f as t, g as n } from "./validators-CCpBY1e0.js";
2
2
  const o = new Set(
3
3
  Object.keys(t)
4
4
  );
@@ -1 +1 @@
1
- "use strict";const t=require("./validators-dJlwubP4.cjs"),a=new Set(Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT));function o(){return Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT)}function s(e){return a.has(e)}function l(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Semaphor analyze result must be an object.");const r=Object.keys(e).filter(n=>!s(n));if(r.length)throw new Error(`Semaphor analyze result contains unsupported top-level field(s): ${r.join(", ")}.`);return t.semaphorAnalyzeResultSchema.parse(e)}exports.getSemaphorAnalyzeResultFieldNames=o;exports.isSemaphorAnalyzeResultFieldName=s;exports.parseSemaphorAnalyzeResult=l;
1
+ "use strict";const t=require("./validators-DO-YuzgO.cjs"),a=new Set(Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT));function o(){return Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT)}function s(e){return a.has(e)}function l(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Semaphor analyze result must be an object.");const r=Object.keys(e).filter(n=>!s(n));if(r.length)throw new Error(`Semaphor analyze result contains unsupported top-level field(s): ${r.join(", ")}.`);return t.semaphorAnalyzeResultSchema.parse(e)}exports.getSemaphorAnalyzeResultFieldNames=o;exports.isSemaphorAnalyzeResultFieldName=s;exports.parseSemaphorAnalyzeResult=l;
@@ -1,4 +1,4 @@
1
- import "./validators-DVd8s3qY.js";
1
+ import "./validators-CCpBY1e0.js";
2
2
  const t = "SEMAPHOR_CALCULATED_FIELD";
3
3
  function D(Y) {
4
4
  return (Y == null ? void 0 : Y.sourceField) || (Y == null ? void 0 : Y.name) || "";
@@ -1 +1 @@
1
- "use strict";require("./validators-dJlwubP4.cjs");const e="SEMAPHOR_CALCULATED_FIELD";function u(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const s=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","YYYY-MM-DD HH:mm","YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm Z","YYYY-MM-DD HH:mm:ss Z","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];function D(Y){return Y.role==="metric"&&"expression"in Y&&!!Y.expression}function r(Y){return!!Y.expression}function _(Y){return!!Y.expression}function l(Y){var t,n;const M=Y;return!!(M!=null&&M.expression&&((n=(t=M.calculatedFormula)==null?void 0:t.inputFields)!=null&&n.length))}function o(Y){return!!(Y&&(Y.entityName===e||Y.entityId===e))}var a=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(a||{});const c={database:null,schema:null,table:null},A="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=e;exports.CONTROL_CARD_DEFAULT_VALUE=A;exports.DATE_FORMAT_VALUES=s;exports.EMPTY_SELECTION=c;exports.PivotMarkerEnum=a;exports.getFieldRuntimeColumnName=u;exports.hasCalculatedFieldMarker=o;exports.hasCalculatedFormulaInputs=l;exports.isCalculatedDimension=r;exports.isCalculatedField=_;exports.isCalculatedMetric=D;
1
+ "use strict";require("./validators-DO-YuzgO.cjs");const e="SEMAPHOR_CALCULATED_FIELD";function u(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const s=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","YYYY-MM-DD HH:mm","YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm Z","YYYY-MM-DD HH:mm:ss Z","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];function D(Y){return Y.role==="metric"&&"expression"in Y&&!!Y.expression}function r(Y){return!!Y.expression}function _(Y){return!!Y.expression}function l(Y){var t,n;const M=Y;return!!(M!=null&&M.expression&&((n=(t=M.calculatedFormula)==null?void 0:t.inputFields)!=null&&n.length))}function o(Y){return!!(Y&&(Y.entityName===e||Y.entityId===e))}var a=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(a||{});const c={database:null,schema:null,table:null},A="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=e;exports.CONTROL_CARD_DEFAULT_VALUE=A;exports.DATE_FORMAT_VALUES=s;exports.EMPTY_SELECTION=c;exports.PivotMarkerEnum=a;exports.getFieldRuntimeColumnName=u;exports.hasCalculatedFieldMarker=o;exports.hasCalculatedFormulaInputs=l;exports.isCalculatedDimension=r;exports.isCalculatedField=_;exports.isCalculatedMetric=D;
@@ -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-DQvtZ1gG.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-G_-UwdXX.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-Bs9OvwM2.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-B6rFVSdw.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-B0o-qU4l.js";
8
- import { v as bt } from "./saved-temporal-bucket-format-Dd2eixTH.js";
9
- import "./validators-DVd8s3qY.js";
10
- import "./analyze-result-contract-DROq4vgY.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-CFDC0po3.js";
8
+ import { v as bt } from "./saved-temporal-bucket-format-DfqnCGCz.js";
9
+ import "./validators-CCpBY1e0.js";
10
+ import "./analyze-result-contract-CMZDRRwo.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 { u as xt } from "./pivot-header-presentation-DW0gKG8g.js";
14
+ import { u as xt } from "./pivot-header-presentation-CSf6CyOt.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-1fZuPAVb.js";
18
+ import "./temporal-bucket-authoring-ZxFzhTmL.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-De_7nrwb.js";
21
+ import { g as se, d as fa, a as ga } from "./index-BlCnNcaB.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-DqMJN4lZ.cjs"),n=require("./switch-CNqDn5b8.cjs"),Ce=require("./layout-grid-xm8pqtx0.cjs"),K=require("./x-B6ghREd2.cjs"),V=require("./editor-action-buttons-DMnbVoBJ.cjs"),we=require("./saved-temporal-bucket-format-3QKveR3v.cjs");require("./validators-dJlwubP4.cjs");require("./analyze-result-contract-DSGoFuXQ.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-BijPbP33.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-BK1UhYpD.cjs");require("./color-CyB5o13F.cjs");require("react-dom");const X=require("./index-DjjKJPDy.cjs");/**
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("react"),s=require("./index-UKhl24L_.cjs"),n=require("./switch-BghC7eOM.cjs"),Ce=require("./layout-grid-xm8pqtx0.cjs"),K=require("./x-B6ghREd2.cjs"),V=require("./editor-action-buttons-lBwd5Stw.cjs"),we=require("./saved-temporal-bucket-format-Ca4hUfTo.cjs");require("./validators-DO-YuzgO.cjs");require("./analyze-result-contract-CMwVg9w2.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-DyV0iOZ_.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-C6sZAVqS.cjs");require("./color-CyB5o13F.cjs");require("react-dom");const X=require("./index-CQN-X1jN.cjs");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.