react-semaphor 0.1.469 → 0.1.471

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 (93) hide show
  1. package/README.md +10 -0
  2. package/dist/analytics-protocol/index.cjs +1 -1
  3. package/dist/analytics-protocol/index.js +107 -106
  4. package/dist/brand-studio/index.cjs +1 -1
  5. package/dist/brand-studio/index.js +4 -4
  6. package/dist/briefings/index.cjs +1 -1
  7. package/dist/briefings/index.js +4 -4
  8. package/dist/chunks/{analyze-result-contract-kaCNxjA7.js → analyze-result-contract-B3agc2XU.js} +1 -1
  9. package/dist/chunks/{analyze-result-contract-CMwVg9w2.cjs → analyze-result-contract-OgPk-zGu.cjs} +1 -1
  10. package/dist/chunks/{common-types-tRK8fhXV.cjs → common-types-C1IM7gao.cjs} +1 -1
  11. package/dist/chunks/{common-types-BgI-ymBp.js → common-types-g_1fKJLK.js} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-kKSBCRLE.js → dashboard-briefing-launcher-C2-b7rZU.js} +10 -10
  13. package/dist/chunks/dashboard-briefing-launcher-ChHmLu0F.cjs +26 -0
  14. package/dist/chunks/{dashboard-controls-DP2rftVR.js → dashboard-controls-Db7VOHdj.js} +9 -9
  15. package/dist/chunks/{dashboard-controls-Z8ow3GV6.cjs → dashboard-controls-kw4QQDSz.cjs} +1 -1
  16. package/dist/chunks/dashboard-filter-value-compatibility-Dmh-NaPK.cjs +1 -0
  17. package/dist/chunks/dashboard-filter-value-compatibility-ilbH2A31.js +836 -0
  18. package/dist/chunks/{dashboard-input-contract-12mPNhCF.cjs → dashboard-input-contract-JFJZgenC.cjs} +1 -1
  19. package/dist/chunks/{dashboard-input-contract-Ciboc347.js → dashboard-input-contract-Vr_3ApfF.js} +1 -1
  20. package/dist/chunks/{dashboard-json-CPq7IMvR.cjs → dashboard-json-Cu37kF4Q.cjs} +1 -1
  21. package/dist/chunks/{dashboard-json-3qT123Xa.js → dashboard-json-Dp-38lll.js} +7 -7
  22. package/dist/chunks/{edit-dashboard-visual-7eUCTZnx.cjs → edit-dashboard-visual-Cbtpwhlp.cjs} +33 -33
  23. package/dist/chunks/{edit-dashboard-visual-Clz6LQOX.js → edit-dashboard-visual-CffII05Z.js} +3611 -3713
  24. package/dist/chunks/{editor-action-buttons-WJFWflfs.cjs → editor-action-buttons-DcTGZa2C.cjs} +1 -1
  25. package/dist/chunks/{editor-action-buttons-CFbMRQSE.js → editor-action-buttons-DqwDHxFv.js} +6 -6
  26. package/dist/chunks/{index-CQN-X1jN.cjs → index-B4VxBoJg.cjs} +1 -1
  27. package/dist/chunks/{index-8Cm77joZ.js → index-CUf0lwSP.js} +24824 -24881
  28. package/dist/chunks/{index-DKaQRhKm.cjs → index-DUYREWSl.cjs} +227 -227
  29. package/dist/chunks/{index-DO4BESNy.js → index-oVXvCLH-.js} +9 -9
  30. package/dist/chunks/{matrix-result-contract-ClC6Pd_g.js → matrix-result-contract-DoU9diAh.js} +3 -3
  31. package/dist/chunks/{matrix-result-contract-DF-qt0jx.cjs → matrix-result-contract-SrzyG_KQ.cjs} +1 -1
  32. package/dist/chunks/{pivot-header-presentation-OpY8xzdT.js → pivot-header-presentation-7XrwJYDm.js} +102 -95
  33. package/dist/chunks/pivot-header-presentation-Cr6pU5JL.cjs +4 -0
  34. package/dist/chunks/{pivot-result-identity-CCMpd8ZA.js → pivot-result-identity-5v4hRVbc.js} +1 -1
  35. package/dist/chunks/{pivot-result-identity-gsOwOjHi.cjs → pivot-result-identity-DRUlTWUq.cjs} +1 -1
  36. package/dist/chunks/{pivot-result-lifecycle-CEfU43GZ.cjs → pivot-result-lifecycle-DJgO2P0H.cjs} +1 -1
  37. package/dist/chunks/{pivot-result-lifecycle-B38AZx4a.js → pivot-result-lifecycle-O_roVguV.js} +7 -7
  38. package/dist/chunks/{raw-temporal-contract-r_EMdR85.js → raw-temporal-contract-BEMf3avg.js} +1 -1
  39. package/dist/chunks/{raw-temporal-contract-UdblxoVB.cjs → raw-temporal-contract-D8YuxTAg.cjs} +1 -1
  40. package/dist/chunks/{report-preferences-dialog-C5UOCTwt.cjs → report-preferences-dialog-BEe2cTT-.cjs} +1 -1
  41. package/dist/chunks/{report-preferences-dialog-D-NDYRrk.js → report-preferences-dialog-C_FTOmOg.js} +6 -6
  42. package/dist/chunks/{report-runtime-context-CcXUjpb-.js → report-runtime-context-DnNbpkGo.js} +1 -1
  43. package/dist/chunks/{report-runtime-context-CLtzrZdC.cjs → report-runtime-context-RFiWq4wK.cjs} +1 -1
  44. package/dist/chunks/{saved-temporal-bucket-format-hylaofsQ.js → saved-temporal-bucket-format-CygnBDO2.js} +24 -24
  45. package/dist/chunks/{saved-temporal-bucket-format-Ca4hUfTo.cjs → saved-temporal-bucket-format-DNMtD77o.cjs} +1 -1
  46. package/dist/chunks/{switch-DyE2_OmQ.cjs → switch-CQN9Hzho.cjs} +19 -19
  47. package/dist/chunks/{switch-BagpmPNw.js → switch-n2yUNY8i.js} +177 -164
  48. package/dist/chunks/{temporal-bucket-BDRcWdVv.cjs → temporal-bucket-9Wz9Ds6H.cjs} +1 -1
  49. package/dist/chunks/{temporal-bucket-Cc9fmx8s.js → temporal-bucket-CUKJktCl.js} +1 -1
  50. package/dist/chunks/{temporal-bucket-authoring-DjPFtRSF.js → temporal-bucket-authoring-CZoJV2L6.js} +3 -3
  51. package/dist/chunks/{temporal-bucket-authoring-C6sZAVqS.cjs → temporal-bucket-authoring-DSpzgXHc.cjs} +1 -1
  52. package/dist/chunks/{temporal-bucket-contract-vrOkax-r.cjs → temporal-bucket-contract-BD862TAa.cjs} +1 -1
  53. package/dist/chunks/{temporal-bucket-contract-DT4kU0VY.js → temporal-bucket-contract-Cno9TlYr.js} +1 -1
  54. package/dist/chunks/{token-types-DALtlgbG.cjs → token-types-CoHsSJ4E.cjs} +1 -1
  55. package/dist/chunks/{token-types-Z889rD6g.js → token-types-W3EHNW-D.js} +1 -1
  56. package/dist/chunks/{update-policy-Cyufdviq.cjs → update-policy-BGNXFgBU.cjs} +1 -1
  57. package/dist/chunks/{update-policy-Bu5Tw43R.js → update-policy-kRNJwwUV.js} +1 -1
  58. package/dist/chunks/{validators-DhTaCK1O.js → validators-B5t1s8oh.js} +274 -266
  59. package/dist/chunks/validators-DcshgK7w.cjs +1 -0
  60. package/dist/dashboard/index.cjs +1 -1
  61. package/dist/dashboard/index.js +2 -2
  62. package/dist/dashboard-authoring/index.cjs +1 -1
  63. package/dist/dashboard-authoring/index.js +4 -4
  64. package/dist/data-app-builder/index.cjs +1 -1
  65. package/dist/data-app-builder/index.js +2 -2
  66. package/dist/data-app-codegen/index.cjs +1 -1
  67. package/dist/data-app-codegen/index.js +2 -2
  68. package/dist/data-app-codegen-node/index.cjs +1 -1
  69. package/dist/data-app-codegen-node/index.js +3 -3
  70. package/dist/data-app-sdk/index.cjs +1 -1
  71. package/dist/data-app-sdk/index.js +3 -3
  72. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  73. package/dist/data-app-sdk-adapters/index.js +2 -2
  74. package/dist/data-app-sdk-validation/index.cjs +1 -1
  75. package/dist/data-app-sdk-validation/index.js +3 -3
  76. package/dist/format-utils/index.cjs +3 -3
  77. package/dist/format-utils/index.js +72 -69
  78. package/dist/index.cjs +1 -1
  79. package/dist/index.js +14 -14
  80. package/dist/report-runtime-context/index.cjs +1 -1
  81. package/dist/report-runtime-context/index.js +2 -2
  82. package/dist/surfboard/index.cjs +1 -1
  83. package/dist/surfboard/index.js +3 -3
  84. package/dist/types/analytics-protocol.d.ts +13 -0
  85. package/dist/types/format-utils.d.ts +9 -0
  86. package/dist/types/index.cjs +1 -1
  87. package/dist/types/index.js +4 -4
  88. package/package.json +1 -1
  89. package/dist/chunks/dashboard-briefing-launcher-BqxcYhO2.cjs +0 -26
  90. package/dist/chunks/dashboard-filter-value-compatibility-Ce7jUVh-.js +0 -692
  91. package/dist/chunks/dashboard-filter-value-compatibility-iCPBcrRS.cjs +0 -1
  92. package/dist/chunks/pivot-header-presentation-DyV0iOZ_.cjs +0 -4
  93. package/dist/chunks/validators-DO-YuzgO.cjs +0 -1
package/README.md CHANGED
@@ -5,6 +5,16 @@ reference in [`DATA_APP_SDK.md`](./DATA_APP_SDK.md). It covers governed
5
5
  `metric` and `records` queries, shared inputs, `inputOptions`, relationship
6
6
  hints, and row access through `columns[].key`.
7
7
 
8
+ ## Shared export policy
9
+
10
+ Cross-repository CSV routing and row ceilings are defined in the React-free
11
+ [`src/shared/format-utils/export-policy.ts`](./src/shared/format-utils/export-policy.ts)
12
+ module and published through `react-semaphor/format-utils`. See the
13
+ [`format-utils` README](./src/shared/format-utils/README.md) for the direct and
14
+ chunked behavior, ownership boundaries, and the required process for changing
15
+ an export limit. Do not introduce matching numeric constants or environment
16
+ variables in consuming repositories.
17
+
8
18
  Integrating dashboard into your React app is a straightforward three-step process.
9
19
 
10
20
  ### **1) Install Semaphor Package**
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DO-YuzgO.cjs"),A=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-CMwVg9w2.cjs"),n=require("../chunks/matrix-result-contract-DF-qt0jx.cjs"),s=require("../chunks/temporal-bucket-BDRcWdVv.cjs"),d=require("../chunks/dashboard-input-contract-12mPNhCF.cjs"),R=require("../chunks/temporal-bucket-contract-vrOkax-r.cjs"),C=require("../chunks/raw-temporal-contract-UdblxoVB.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"}]}},y={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.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=T;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=y;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"),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,19 +1,19 @@
1
- import { h as c, s as u, j as p } from "../chunks/validators-DhTaCK1O.js";
2
- import { R as y, 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, ag as N, _ as x, D as w, C as B, af as L, G as q, K as z, J as G, F as U, I as H, H as V, i as Y, n as W, l as K, aj as Q, E as X, B as j, g as Z, r as $, p as J, ai as ee, O as ae, ab as re, a9 as ie, ac as se, aa as te, a7 as ne, a0 as oe, a1 as le, f as de, ad as me, ae as ue, X as ce, Y as pe, W as Se, a4 as he, a6 as Re, c as ve, ak as ge, a2 as _e, Q as Ce, a3 as Te, a8 as fe, Z as ye, P as Ae, V as be, ah as Ie, a5 as Ee, U as Me, M as De, d as Oe, N as Fe, t as Pe, x as ke, z as Ne, A as xe, v as we, u as Be, y as Le, w as qe } from "../chunks/validators-DhTaCK1O.js";
3
- import { a as Ge, n as Ue } from "../chunks/operators-C8TxpM4C.js";
4
- import { g as Ve, i as Ye, p as We } from "../chunks/analyze-result-contract-kaCNxjA7.js";
5
- import { M as Qe, d as Xe, c as je, g as Ze, i as $e, n as Je, e as ea, p as aa, r as ra, s as ia, a as sa, b as ta } from "../chunks/matrix-result-contract-ClC6Pd_g.js";
6
- import { C as oa, D as la, g as da, r as ma, a as ua, f as ca, d as pa, c as Sa, b as ha, e as Ra, v as va } from "../chunks/temporal-bucket-Cc9fmx8s.js";
7
- import { d as _a, c as Ca, b as Ta, g as fa, i as ya, r as Aa, a as ba, s as Ia } from "../chunks/dashboard-input-contract-Ciboc347.js";
8
- import { b as Ma, v as Da, a as Oa } from "../chunks/temporal-bucket-contract-DT4kU0VY.js";
9
- import { R as Pa, p as ka, v as Na } from "../chunks/raw-temporal-contract-r_EMdR85.js";
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";
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";
10
10
  const l = {
11
11
  kind: "semantic",
12
12
  domainId: "domain_sales",
13
13
  datasetName: "orders",
14
14
  connectionId: "conn_sales",
15
15
  label: "Orders"
16
- }, g = {
16
+ }, v = {
17
17
  revenueKpi: {
18
18
  version: 1,
19
19
  kind: "metric",
@@ -248,12 +248,12 @@ function C(e) {
248
248
  };
249
249
  }
250
250
  export {
251
- oa as COMPARISON_PRESENTATION_DEFAULTS,
252
- la as DEFAULT_METRIC_COMPARISON_POLARITY,
253
- Qe as MatrixResultContractError,
254
- y as RAW_TEMPORAL_CONTRACT_ERROR_CODES,
255
- Pa as RawTemporalMetadataContractError,
256
- g as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
251
+ la as COMPARISON_PRESENTATION_DEFAULTS,
252
+ da as DEFAULT_METRIC_COMPARISON_POLARITY,
253
+ Xe as MatrixResultContractError,
254
+ f as RAW_TEMPORAL_CONTRACT_ERROR_CODES,
255
+ ka as RawTemporalMetadataContractError,
256
+ v as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
257
257
  A as SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT,
258
258
  b as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
259
259
  I as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION,
@@ -264,107 +264,108 @@ export {
264
264
  F as TEMPORAL_BUCKET_PRESETS,
265
265
  _ as TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES,
266
266
  P as buildAnalyticsCatalogFieldSummary,
267
- Xe as buildSemaphorQualifiedSourcePath,
267
+ je as buildSemaphorQualifiedSourcePath,
268
268
  k as canonicalDashboardRecordsPayloadSchema,
269
- je as canonicalizeSemaphorQualifiedSourcePath,
269
+ Ze as canonicalizeSemaphorQualifiedSourcePath,
270
270
  N as canonicalizeSemaphorSourceIdentity,
271
271
  x as dashboardRecordsPayloadSchema,
272
- da as evaluateMetricComparison,
272
+ ma as evaluateMetricComparison,
273
273
  w as getAnalyticsCatalogFieldCandidates,
274
274
  B as getAnalyticsCatalogFieldName,
275
- _a as getCardControlCompatInputId,
276
- Ca as getCardInlineFilterCompatInputId,
277
- Ta as getDashboardControlCompatInputId,
275
+ Ca as getCardControlCompatInputId,
276
+ Ta as getCardInlineFilterCompatInputId,
277
+ ya as getDashboardControlCompatInputId,
278
278
  fa as getDashboardFilterCompatInputId,
279
- Ve as getSemaphorAnalyzeResultFieldNames,
280
- Ze as getSemaphorConnectionCapabilities,
281
- L as getSemaphorNonRedundantDatasetId,
279
+ Ye as getSemaphorAnalyzeResultFieldNames,
280
+ $e as getSemaphorConnectionCapabilities,
281
+ L as getSemaphorDatasetEntityId,
282
+ q as getSemaphorNonRedundantDatasetId,
282
283
  c as hasCompleteSemaphorSourceIdentity,
283
- q as isAnalyticsCatalogDateField,
284
- z as isAnalyticsCatalogDimensionField,
285
- G as isAnalyticsCatalogMetricField,
286
- U as isAnalyticsDateLikeDataType,
287
- H as isAnalyticsMetricIdentifierField,
288
- V as isAnalyticsTechnicalIdentifierField,
289
- ya as isComparisonCapableDashboardDateInputDefinition,
290
- Ye as isSemaphorAnalyzeResultFieldName,
291
- Y as isSemaphorDataAppCodegenSummary,
292
- W as isSemaphorMatrixTimeGrain,
293
- $e as isSemaphorPhysicalSourceEntity,
294
- K as isSemaphorTimeGrain,
295
- Q as mergeSemaphorSourcesByIdentity,
296
- X as normalizeAnalyticsCatalogDataType,
297
- j as normalizeAnalyticsCatalogName,
298
- Ge as normalizeSemaphorAnalyticsFilterOperator,
299
- Je as normalizeSemaphorDialect,
300
- Ue as normalizeSemaphorInputOperator,
301
- ea as parseCanonicalMatrixResult,
302
- ka as parseRawTemporalValueMetadata,
303
- We as parseSemaphorAnalyzeResult,
304
- Z as parseSemaphorIsoInstant,
305
- $ as parseSemaphorIsoTimeWindowBoundary,
306
- aa as parseSemaphorQualifiedSourcePath,
307
- J as preferSemaphorFieldRefMetadata,
308
- ee as preferSemaphorSourceMetadata,
309
- ae as rawTemporalValueMetadataSchema,
310
- Aa as resolveDashboardDateComparisonFilterDefinition,
311
- ba as resolveDashboardDateComparisonInputDefinition,
312
- ma as resolveMetricComparisonRequest,
313
- ua as resolveMetricResultAlias,
314
- ra as resolveSemaphorPhysicalSourceEntity,
284
+ z as isAnalyticsCatalogDateField,
285
+ G as isAnalyticsCatalogDimensionField,
286
+ U as isAnalyticsCatalogMetricField,
287
+ H as isAnalyticsDateLikeDataType,
288
+ V as isAnalyticsMetricIdentifierField,
289
+ Y as isAnalyticsTechnicalIdentifierField,
290
+ Aa as isComparisonCapableDashboardDateInputDefinition,
291
+ We as isSemaphorAnalyzeResultFieldName,
292
+ W as isSemaphorDataAppCodegenSummary,
293
+ K as isSemaphorMatrixTimeGrain,
294
+ Je as isSemaphorPhysicalSourceEntity,
295
+ Q as isSemaphorTimeGrain,
296
+ X as mergeSemaphorSourcesByIdentity,
297
+ j as normalizeAnalyticsCatalogDataType,
298
+ Z as normalizeAnalyticsCatalogName,
299
+ Ue as normalizeSemaphorAnalyticsFilterOperator,
300
+ ea as normalizeSemaphorDialect,
301
+ He as normalizeSemaphorInputOperator,
302
+ aa as parseCanonicalMatrixResult,
303
+ Na as parseRawTemporalValueMetadata,
304
+ Ke as parseSemaphorAnalyzeResult,
305
+ $ as parseSemaphorIsoInstant,
306
+ J as parseSemaphorIsoTimeWindowBoundary,
307
+ ra as parseSemaphorQualifiedSourcePath,
308
+ ee as preferSemaphorFieldRefMetadata,
309
+ ae as preferSemaphorSourceMetadata,
310
+ re as rawTemporalValueMetadataSchema,
311
+ ba as resolveDashboardDateComparisonFilterDefinition,
312
+ Ia as resolveDashboardDateComparisonInputDefinition,
313
+ ua as resolveMetricComparisonRequest,
314
+ ca as resolveMetricResultAlias,
315
+ ia as resolveSemaphorPhysicalSourceEntity,
315
316
  C as resolveTemporalContext,
316
- Ia as semanticDatasetMatchesFieldCoordinates,
317
- re as semaphorAnalyticsCoverageSchema,
318
- ie as semaphorAnalyticsDiagnosticFeedbackSchema,
319
- se as semaphorAnalyticsExecutionResultSchema,
320
- te as semaphorAnalyticsPopulationSchema,
321
- ne as semaphorAnalyticsResultSchema,
322
- oe as semaphorAnalyticsValidationIssueSchema,
323
- le as semaphorAnalyticsValidationResultSchema,
324
- de as semaphorAnalyzeResultSchema,
325
- me as semaphorAnalyzeResultShape,
326
- ue as semaphorDataAppCodegenSummarySchema,
327
- ce as semaphorDerivedFieldDefinitionSchema,
328
- pe as semaphorExecutionFieldRefSchema,
329
- Se as semaphorFieldRefSchema,
317
+ Ea as semanticDatasetMatchesFieldCoordinates,
318
+ ie as semaphorAnalyticsCoverageSchema,
319
+ se as semaphorAnalyticsDiagnosticFeedbackSchema,
320
+ te as semaphorAnalyticsExecutionResultSchema,
321
+ ne as semaphorAnalyticsPopulationSchema,
322
+ oe as semaphorAnalyticsResultSchema,
323
+ le as semaphorAnalyticsValidationIssueSchema,
324
+ de as semaphorAnalyticsValidationResultSchema,
325
+ me as semaphorAnalyzeResultSchema,
326
+ ue as semaphorAnalyzeResultShape,
327
+ ce as semaphorDataAppCodegenSummarySchema,
328
+ pe as semaphorDerivedFieldDefinitionSchema,
329
+ Se as semaphorExecutionFieldRefSchema,
330
+ he as semaphorFieldRefSchema,
330
331
  u as semaphorFieldRefsMatch,
331
- he as semaphorInputOptionsResultSchema,
332
- Re as semaphorMatrixResultSchema,
332
+ Re as semaphorInputOptionsResultSchema,
333
+ ge as semaphorMatrixResultSchema,
333
334
  ve as semaphorMetricAggregate,
334
- ge as semaphorMetricMeasureBindingKey,
335
- _e as semaphorMetricResultSchema,
336
- ia as semaphorPhysicalSourceCoordinatesAreCompatible,
337
- sa as semaphorPhysicalSourceCoordinatesCover,
338
- Ce as semaphorPhysicalSourceRefSchema,
339
- Te as semaphorRecordsResultSchema,
335
+ _e as semaphorMetricMeasureBindingKey,
336
+ Ce as semaphorMetricResultSchema,
337
+ sa as semaphorPhysicalSourceCoordinatesAreCompatible,
338
+ ta as semaphorPhysicalSourceCoordinatesCover,
339
+ Te as semaphorPhysicalSourceRefSchema,
340
+ ye as semaphorRecordsResultSchema,
340
341
  fe as semaphorRelationshipDiagnosticsSchema,
341
- ye as semaphorResultColumnSchema,
342
- Ae as semaphorSemanticSourceRefSchema,
343
- ta as semaphorSourceHasRequiredCoordinates,
342
+ Ae as semaphorResultColumnSchema,
343
+ be as semaphorSemanticSourceRefSchema,
344
+ na as semaphorSourceHasRequiredCoordinates,
344
345
  p as semaphorSourceIdentityKey,
345
- be as semaphorSourceRefSchema,
346
- Ie as semaphorSourcesReferToSameDataset,
347
- Ee as semaphorSqlResultSchema,
348
- Me as semaphorSqlSourceRefSchema,
349
- De as semaphorTimeGrainSchema,
350
- Oe as temporalBucketDataTypeForGrain,
351
- Fe as temporalBucketFormatSchema,
352
- Pe as temporalBucketMetadataSchema,
353
- Ma as validateActivatedTemporalBucketResultColumns,
354
- ca as validateComparisonPresentationSpec,
355
- pa as validateGlobalDateComparisonContext,
356
- Sa as validateGlobalDateComparisonSelection,
357
- ha as validateMetricComparisonConfig,
358
- Ra as validateMetricComparisonPolarity,
346
+ Ie as semaphorSourceRefSchema,
347
+ Ee as semaphorSourcesReferToSameDataset,
348
+ Me as semaphorSqlResultSchema,
349
+ De as semaphorSqlSourceRefSchema,
350
+ Oe as semaphorTimeGrainSchema,
351
+ Fe as temporalBucketDataTypeForGrain,
352
+ Pe as temporalBucketFormatSchema,
353
+ 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,
359
360
  va as validateMetricComparisonSpec,
360
- Na as validateRawTemporalResultColumn,
361
- ke as validateSemaphorAnalyticsIntent,
362
- Ne as validateSemaphorAnalyticsRecoveryPlan,
363
- xe as validateSemaphorDashboardIntent,
364
- we as validateSemaphorDataAppCodegenSummary,
365
- Be as validateSemaphorDerivedFieldDefinition,
366
- Le as validateSemaphorOperationIntent,
367
- qe as validateSemaphorResultCalculation,
368
- Da as validateTemporalBucketMetadata,
369
- Oa as validateTemporalBucketResultColumn
361
+ xa as validateRawTemporalResultColumn,
362
+ Ne as validateSemaphorAnalyticsIntent,
363
+ xe as validateSemaphorAnalyticsRecoveryPlan,
364
+ we as validateSemaphorDashboardIntent,
365
+ Be as validateSemaphorDataAppCodegenSummary,
366
+ Le as validateSemaphorDerivedFieldDefinition,
367
+ qe as validateSemaphorOperationIntent,
368
+ ze as validateSemaphorResultCalculation,
369
+ Oa as validateTemporalBucketMetadata,
370
+ Fa as validateTemporalBucketResultColumn
370
371
  };
@@ -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-DyE2_OmQ.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");/**
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");/**
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-BagpmPNw.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-n2yUNY8i.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-hylaofsQ.js";
7
- import "../chunks/validators-DhTaCK1O.js";
8
- import "../chunks/analyze-result-contract-kaCNxjA7.js";
6
+ import "../chunks/saved-temporal-bucket-format-CygnBDO2.js";
7
+ import "../chunks/validators-B5t1s8oh.js";
8
+ import "../chunks/analyze-result-contract-B3agc2XU.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-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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../chunks/pivot-result-lifecycle-DJgO2P0H.cjs");require("../value-format-preferences/index.cjs");require("../chunks/validators-DcshgK7w.cjs");require("../chunks/analyze-result-contract-OgPk-zGu.cjs");const e=require("../chunks/index-B4VxBoJg.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-B38AZx4a.js";
1
+ import "../chunks/pivot-result-lifecycle-O_roVguV.js";
2
2
  import "../value-format-preferences/index.js";
3
- import "../chunks/validators-DhTaCK1O.js";
4
- import "../chunks/analyze-result-contract-kaCNxjA7.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-DO4BESNy.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";
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-DhTaCK1O.js";
1
+ import { e as t, f as n } from "./validators-B5t1s8oh.js";
2
2
  const o = new Set(
3
3
  Object.keys(t)
4
4
  );
@@ -1 +1 @@
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
+ "use strict";const t=require("./validators-DcshgK7w.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 +1 @@
1
- "use strict";require("./validators-DO-YuzgO.cjs");const t="SEMAPHOR_CALCULATED_FIELD",a="calculated_fields";function s(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const _=["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 l(Y){return!!Y.expression}function c(Y){var n,M;const e=Y;return!!(e!=null&&e.expression&&((M=(n=e.calculatedFormula)==null?void 0:n.inputFields)!=null&&M.length))}function A(Y){return!!(Y&&(Y.entityName===t||Y.entityId===t))}function E(Y){return Y?[Y.entityName,Y.entityId,Y.qualifiedEntityName].some(e=>e===t||e===a):!1}var u=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(u||{});const L={database:null,schema:null,table:null},i="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=t;exports.CONTROL_CARD_DEFAULT_VALUE=i;exports.DATE_FORMAT_VALUES=_;exports.EMPTY_SELECTION=L;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=a;exports.PivotMarkerEnum=u;exports.getFieldRuntimeColumnName=s;exports.hasCalculatedFieldMarker=A;exports.hasCalculatedFormulaInputs=c;exports.hasSyntheticCalculatedFieldOwner=E;exports.isCalculatedDimension=r;exports.isCalculatedField=l;exports.isCalculatedMetric=D;
1
+ "use strict";require("./validators-DcshgK7w.cjs");const t="SEMAPHOR_CALCULATED_FIELD",a="calculated_fields";function s(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const _=["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 l(Y){return!!Y.expression}function c(Y){var n,M;const e=Y;return!!(e!=null&&e.expression&&((M=(n=e.calculatedFormula)==null?void 0:n.inputFields)!=null&&M.length))}function A(Y){return!!(Y&&(Y.entityName===t||Y.entityId===t))}function E(Y){return Y?[Y.entityName,Y.entityId,Y.qualifiedEntityName].some(e=>e===t||e===a):!1}var u=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(u||{});const L={database:null,schema:null,table:null},i="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=t;exports.CONTROL_CARD_DEFAULT_VALUE=i;exports.DATE_FORMAT_VALUES=_;exports.EMPTY_SELECTION=L;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=a;exports.PivotMarkerEnum=u;exports.getFieldRuntimeColumnName=s;exports.hasCalculatedFieldMarker=A;exports.hasCalculatedFormulaInputs=c;exports.hasSyntheticCalculatedFieldOwner=E;exports.isCalculatedDimension=r;exports.isCalculatedField=l;exports.isCalculatedMetric=D;
@@ -1,4 +1,4 @@
1
- import "./validators-DhTaCK1O.js";
1
+ import "./validators-B5t1s8oh.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-8Cm77joZ.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-BagpmPNw.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-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";
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-CFbMRQSE.js";
8
- import { v as bt } from "./saved-temporal-bucket-format-hylaofsQ.js";
9
- import "./validators-DhTaCK1O.js";
10
- import "./analyze-result-contract-kaCNxjA7.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";
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-OpY8xzdT.js";
14
+ import { v as xt } from "./pivot-header-presentation-7XrwJYDm.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-DjPFtRSF.js";
18
+ import "./temporal-bucket-authoring-CZoJV2L6.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-DO4BESNy.js";
21
+ import { g as se, d as fa, a as ga } from "./index-oVXvCLH-.js";
22
22
  /**
23
23
  * @license lucide-react v0.453.0 - ISC
24
24
  *
@@ -1487,7 +1487,7 @@ function Ma({
1487
1487
  ] })
1488
1488
  ] }),
1489
1489
  s && /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground", children: d }),
1490
- t.status === "failed" && /* @__PURE__ */ e("div", { className: "line-clamp-2 text-xs text-destructive", children: t.error || "Export failed" })
1490
+ t.status === "failed" && /* @__PURE__ */ e("div", { className: "whitespace-pre-wrap break-words text-xs text-destructive", children: t.error || "Export failed" })
1491
1491
  ] })
1492
1492
  ] }),
1493
1493
  /* @__PURE__ */ e(