react-semaphor 0.1.467 → 0.1.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +158 -285
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-CMZDRRwo.js → analyze-result-contract-kaCNxjA7.js} +1 -1
- package/dist/chunks/{common-types-Co766x6t.js → common-types-BgI-ymBp.js} +30 -23
- package/dist/chunks/common-types-tRK8fhXV.cjs +1 -0
- package/dist/chunks/{dashboard-briefing-launcher-FbEIrobt.cjs → dashboard-briefing-launcher-BqxcYhO2.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Ctu63_Di.js → dashboard-briefing-launcher-kKSBCRLE.js} +9 -9
- package/dist/chunks/{dashboard-controls-DeDCphnd.js → dashboard-controls-DP2rftVR.js} +9 -9
- package/dist/chunks/{dashboard-controls-BKm3JIEo.cjs → dashboard-controls-Z8ow3GV6.cjs} +1 -1
- package/dist/chunks/{dashboard-filter-value-compatibility-B8ynE_O1.js → dashboard-filter-value-compatibility-Ce7jUVh-.js} +8 -8
- package/dist/chunks/{dashboard-filter-value-compatibility-Bnl2lsng.cjs → dashboard-filter-value-compatibility-iCPBcrRS.cjs} +1 -1
- package/dist/chunks/{dashboard-input-contract-Px64VWBL.js → dashboard-input-contract-Ciboc347.js} +6 -6
- package/dist/chunks/{dashboard-json-BygDylH8.js → dashboard-json-3qT123Xa.js} +7 -7
- package/dist/chunks/{dashboard-json-BV6wbV2p.cjs → dashboard-json-CPq7IMvR.cjs} +1 -1
- package/dist/chunks/edit-dashboard-visual-7eUCTZnx.cjs +172 -0
- package/dist/chunks/{edit-dashboard-visual-CYOtYa4w.js → edit-dashboard-visual-Clz6LQOX.js} +7164 -7298
- package/dist/chunks/{editor-action-buttons-Baks5RYd.js → editor-action-buttons-CFbMRQSE.js} +6 -6
- package/dist/chunks/{editor-action-buttons-CRRjegRd.cjs → editor-action-buttons-WJFWflfs.cjs} +1 -1
- package/dist/chunks/{index-B31RKKGb.js → index-8Cm77joZ.js} +29054 -28935
- package/dist/chunks/{index-yJRh4x9j.cjs → index-DKaQRhKm.cjs} +179 -167
- package/dist/chunks/{index-BlCnNcaB.js → index-DO4BESNy.js} +9 -9
- package/dist/chunks/matrix-result-contract-ClC6Pd_g.js +822 -0
- package/dist/chunks/matrix-result-contract-DF-qt0jx.cjs +1 -0
- package/dist/chunks/{pivot-header-presentation-CSf6CyOt.js → pivot-header-presentation-OpY8xzdT.js} +2 -2
- package/dist/chunks/{pivot-result-identity-BvT51Nog.js → pivot-result-identity-CCMpd8ZA.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle--NNNPUtG.js → pivot-result-lifecycle-B38AZx4a.js} +19 -19
- package/dist/chunks/{raw-temporal-contract-BqVMduCs.js → raw-temporal-contract-r_EMdR85.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-CRNoMzNj.cjs → report-preferences-dialog-C5UOCTwt.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-CZPqG-em.js → report-preferences-dialog-D-NDYRrk.js} +6 -6
- package/dist/chunks/{report-runtime-context-CrTzKt0C.js → report-runtime-context-CcXUjpb-.js} +7 -7
- package/dist/chunks/{saved-temporal-bucket-format-DfqnCGCz.js → saved-temporal-bucket-format-hylaofsQ.js} +29 -29
- package/dist/chunks/{switch-B6rFVSdw.js → switch-BagpmPNw.js} +24 -9
- package/dist/chunks/{switch-BghC7eOM.cjs → switch-DyE2_OmQ.cjs} +2 -2
- package/dist/chunks/{temporal-bucket-DFYIkexB.js → temporal-bucket-Cc9fmx8s.js} +12 -12
- package/dist/chunks/{temporal-bucket-authoring-ZxFzhTmL.js → temporal-bucket-authoring-DjPFtRSF.js} +3 -3
- package/dist/chunks/{temporal-bucket-contract-COPPwwbi.js → temporal-bucket-contract-DT4kU0VY.js} +1 -1
- package/dist/chunks/{token-types-p1M3SA2G.js → token-types-Z889rD6g.js} +1 -1
- package/dist/chunks/{update-policy-BKOA5S76.js → update-policy-Bu5Tw43R.js} +1 -1
- package/dist/chunks/{validators-CCpBY1e0.js → validators-DhTaCK1O.js} +50 -50
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +1 -1
- package/dist/dashboard-authoring/index.js +4 -4
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.js +3 -3
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +9 -9
- package/dist/format-utils/index.js +10 -10
- package/dist/index.cjs +1 -1
- package/dist/index.js +117 -115
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/analytics-protocol.d.ts +74 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +18 -16
- package/dist/types/main.d.ts +10 -0
- package/dist/types/types.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chunks/common-types-o3LJcrpg.cjs +0 -1
- package/dist/chunks/edit-dashboard-visual-DWN052a9.cjs +0 -172
- package/dist/chunks/matrix-result-contract-DQ9_UadF.js +0 -421
- package/dist/chunks/matrix-result-contract-DiHDIyQk.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
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
|
+
"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,152 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as
|
|
3
|
-
import { a as
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
function T(e, a = {}) {
|
|
11
|
-
const s = h(e), t = {
|
|
12
|
-
connectionId: a.connectionId,
|
|
13
|
-
connectionType: e,
|
|
14
|
-
path: ["database", "schema", "table"],
|
|
15
|
-
labels: {
|
|
16
|
-
database: "Database",
|
|
17
|
-
schema: "Schema",
|
|
18
|
-
table: "Table"
|
|
19
|
-
},
|
|
20
|
-
prefixLevels: ["database", "schema", "table"],
|
|
21
|
-
dialect: "postgres",
|
|
22
|
-
supportsFilterClause: !0
|
|
23
|
-
};
|
|
24
|
-
return s.includes("postgres") ? {
|
|
25
|
-
...t,
|
|
26
|
-
prefixLevels: ["schema", "table"],
|
|
27
|
-
dialect: "postgres"
|
|
28
|
-
} : s.includes("mysql") ? {
|
|
29
|
-
...t,
|
|
30
|
-
prefixLevels: ["database", "table"],
|
|
31
|
-
dialect: "mysql",
|
|
32
|
-
supportsFilterClause: !1
|
|
33
|
-
} : s.includes("mssql") || s.includes("sqlserver") ? {
|
|
34
|
-
...t,
|
|
35
|
-
dialect: "mssql",
|
|
36
|
-
supportsFilterClause: !1
|
|
37
|
-
} : s.includes("redshift") ? {
|
|
38
|
-
...t,
|
|
39
|
-
prefixLevels: ["schema", "table"],
|
|
40
|
-
dialect: "redshift"
|
|
41
|
-
} : s.includes("snowflake") ? {
|
|
42
|
-
...t,
|
|
43
|
-
dialect: "snowflake"
|
|
44
|
-
} : s.includes("clickhouse") ? {
|
|
45
|
-
connectionId: a.connectionId,
|
|
46
|
-
connectionType: e,
|
|
47
|
-
path: ["database", "table"],
|
|
48
|
-
labels: {
|
|
49
|
-
database: "Database",
|
|
50
|
-
table: "Table"
|
|
51
|
-
},
|
|
52
|
-
prefixLevels: ["database", "table"],
|
|
53
|
-
dialect: "clickhouse",
|
|
54
|
-
supportsFilterClause: !1
|
|
55
|
-
} : s === "s3" || s === "api" ? {
|
|
56
|
-
connectionId: a.connectionId,
|
|
57
|
-
connectionType: e,
|
|
58
|
-
path: ["table"],
|
|
59
|
-
labels: {
|
|
60
|
-
table: s === "api" ? "API Table" : "File Table"
|
|
61
|
-
},
|
|
62
|
-
prefixLevels: ["table"],
|
|
63
|
-
dialect: "duckdb",
|
|
64
|
-
supportsFilterClause: !0
|
|
65
|
-
} : s === "googlesheets" || s === "fileupload" ? {
|
|
66
|
-
connectionId: a.connectionId,
|
|
67
|
-
connectionType: e,
|
|
68
|
-
path: ["table"],
|
|
69
|
-
labels: {
|
|
70
|
-
table: "Table"
|
|
71
|
-
},
|
|
72
|
-
prefixLevels: ["table"],
|
|
73
|
-
dialect: "postgres",
|
|
74
|
-
supportsFilterClause: !0
|
|
75
|
-
} : s === "s3tables" ? {
|
|
76
|
-
...t,
|
|
77
|
-
labels: {
|
|
78
|
-
database: "Database",
|
|
79
|
-
schema: "Namespace",
|
|
80
|
-
table: "Table"
|
|
81
|
-
},
|
|
82
|
-
dialect: "duckdb"
|
|
83
|
-
} : s === "bigquery" ? {
|
|
84
|
-
...t,
|
|
85
|
-
labels: {
|
|
86
|
-
database: "Project",
|
|
87
|
-
schema: "Dataset",
|
|
88
|
-
table: "Table"
|
|
89
|
-
},
|
|
90
|
-
prefixLevels: ["schema", "table"],
|
|
91
|
-
dialect: "bigquery",
|
|
92
|
-
supportsFilterClause: !1
|
|
93
|
-
} : t;
|
|
94
|
-
}
|
|
95
|
-
function _(e) {
|
|
96
|
-
const a = h(e);
|
|
97
|
-
switch (a) {
|
|
98
|
-
case "mysql":
|
|
99
|
-
case "bigquery":
|
|
100
|
-
case "redshift":
|
|
101
|
-
case "snowflake":
|
|
102
|
-
case "clickhouse":
|
|
103
|
-
case "duckdb":
|
|
104
|
-
case "sqlite":
|
|
105
|
-
return a;
|
|
106
|
-
case "mssql":
|
|
107
|
-
case "sqlserver":
|
|
108
|
-
return "mssql";
|
|
109
|
-
case "postgres":
|
|
110
|
-
case "postgresql":
|
|
111
|
-
return "postgres";
|
|
112
|
-
default:
|
|
113
|
-
return "unknown";
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
function y(e) {
|
|
117
|
-
return e.capabilities.prefixLevels.every(
|
|
118
|
-
(a) => !!p(e.source, a)
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
function A(e) {
|
|
122
|
-
const a = e.quoteIdentifier ?? b;
|
|
123
|
-
return e.capabilities.prefixLevels.map((s) => p(e.source, s)).filter((s) => !!s).map((s) => a(s, e.capabilities.dialect)).join(".");
|
|
124
|
-
}
|
|
125
|
-
function p(e, a) {
|
|
126
|
-
return a === "database" ? e.databaseName : a === "schema" ? e.schemaName : e.tableName;
|
|
127
|
-
}
|
|
128
|
-
function b(e, a) {
|
|
129
|
-
return a === "mysql" || a === "bigquery" || a === "clickhouse" || a === "duckdb" ? `\`${e.replace(/`/g, "``")}\`` : a === "mssql" ? `[${e.replace(/]/g, "]]")}]` : `"${e.replace(/"/g, '""')}"`;
|
|
130
|
-
}
|
|
131
|
-
function h(e) {
|
|
132
|
-
if (typeof e != "string")
|
|
133
|
-
return "";
|
|
134
|
-
const a = [];
|
|
135
|
-
for (const s of e.trim().toLowerCase())
|
|
136
|
-
S(s) && a.push(s);
|
|
137
|
-
return a.join("");
|
|
138
|
-
}
|
|
139
|
-
function S(e) {
|
|
140
|
-
const a = e.charCodeAt(0);
|
|
141
|
-
return a >= 48 && a <= 57 || a >= 97 && a <= 122;
|
|
142
|
-
}
|
|
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";
|
|
143
10
|
const l = {
|
|
144
11
|
kind: "semantic",
|
|
145
12
|
domainId: "domain_sales",
|
|
146
13
|
datasetName: "orders",
|
|
147
14
|
connectionId: "conn_sales",
|
|
148
15
|
label: "Orders"
|
|
149
|
-
},
|
|
16
|
+
}, g = {
|
|
150
17
|
revenueKpi: {
|
|
151
18
|
version: 1,
|
|
152
19
|
kind: "metric",
|
|
@@ -251,7 +118,7 @@ const l = {
|
|
|
251
118
|
{ name: "revenue", role: "measure", dataType: "number" }
|
|
252
119
|
]
|
|
253
120
|
}
|
|
254
|
-
},
|
|
121
|
+
}, _ = {
|
|
255
122
|
visibleAxis: {
|
|
256
123
|
source: {
|
|
257
124
|
kind: "semantic",
|
|
@@ -287,35 +154,35 @@ const l = {
|
|
|
287
154
|
}
|
|
288
155
|
};
|
|
289
156
|
function m(e) {
|
|
290
|
-
return !!(e.name.trim() &&
|
|
157
|
+
return !!(e.name.trim() && c(e.source) && (e.role === "date" || e.dataType === "date" || e.dataType === "datetime"));
|
|
291
158
|
}
|
|
292
159
|
function d(e) {
|
|
293
160
|
return e.filter(
|
|
294
|
-
(a,
|
|
295
|
-
(t) =>
|
|
296
|
-
) ===
|
|
161
|
+
(a, i) => e.findIndex(
|
|
162
|
+
(t) => u(a.field, t.field)
|
|
163
|
+
) === i
|
|
297
164
|
);
|
|
298
165
|
}
|
|
299
|
-
function
|
|
300
|
-
return new Set(e.map(
|
|
166
|
+
function S(e) {
|
|
167
|
+
return new Set(e.map(p).filter(Boolean)).size;
|
|
301
168
|
}
|
|
302
|
-
function
|
|
169
|
+
function h(e) {
|
|
303
170
|
const a = d(
|
|
304
171
|
e.candidates.filter((r) => r.kind === "visible_axis")
|
|
305
|
-
),
|
|
172
|
+
), i = d(
|
|
306
173
|
e.candidates.filter((r) => r.kind === "explicit_hidden")
|
|
307
174
|
);
|
|
308
|
-
if ([...a, ...
|
|
175
|
+
if ([...a, ...i].some(
|
|
309
176
|
(r) => !m(r.field)
|
|
310
177
|
))
|
|
311
178
|
return "invalid";
|
|
312
|
-
if (a.length > 1 ||
|
|
179
|
+
if (a.length > 1 || i.length > 1)
|
|
313
180
|
return "ambiguous";
|
|
314
|
-
const t = a[0], n =
|
|
181
|
+
const t = a[0], n = i[0];
|
|
315
182
|
if (t)
|
|
316
|
-
return n && !
|
|
183
|
+
return n && !u(t.field, n.field) ? "invalid" : t;
|
|
317
184
|
if (n) return n;
|
|
318
|
-
if (
|
|
185
|
+
if (S(e.querySources ?? []) > 1)
|
|
319
186
|
return "ambiguous";
|
|
320
187
|
const o = d(
|
|
321
188
|
e.candidates.filter((r) => r.kind === "semantic_primary")
|
|
@@ -323,10 +190,10 @@ function v(e) {
|
|
|
323
190
|
return o.some((r) => !m(r.field)) ? "invalid" : o.length > 1 ? "ambiguous" : o[0] ?? "missing";
|
|
324
191
|
}
|
|
325
192
|
function R(e) {
|
|
326
|
-
const a = new Date(e.startInclusive),
|
|
327
|
-
return e.timezone.trim() ? Number.isFinite(a.getTime()) && Number.isFinite(
|
|
193
|
+
const a = new Date(e.startInclusive), i = new Date(e.endExclusive);
|
|
194
|
+
return e.timezone.trim() ? Number.isFinite(a.getTime()) && Number.isFinite(i.getTime()) && a.getTime() < i.getTime() : !1;
|
|
328
195
|
}
|
|
329
|
-
function
|
|
196
|
+
function C(e) {
|
|
330
197
|
const a = e.ranges ?? [];
|
|
331
198
|
if (e.rawSql)
|
|
332
199
|
return {
|
|
@@ -335,32 +202,32 @@ function M(e) {
|
|
|
335
202
|
constraints: a
|
|
336
203
|
};
|
|
337
204
|
if ((e.querySources ?? []).some(
|
|
338
|
-
(
|
|
339
|
-
) || a.some((
|
|
205
|
+
(s) => !c(s)
|
|
206
|
+
) || a.some((s) => !m(s.field)))
|
|
340
207
|
return {
|
|
341
208
|
status: "unavailable",
|
|
342
209
|
reason: "temporal_binding_invalid",
|
|
343
210
|
constraints: a
|
|
344
211
|
};
|
|
345
|
-
const
|
|
346
|
-
if (typeof
|
|
212
|
+
const i = h(e);
|
|
213
|
+
if (typeof i == "string")
|
|
347
214
|
return {
|
|
348
215
|
status: "unavailable",
|
|
349
|
-
reason: `temporal_binding_${
|
|
216
|
+
reason: `temporal_binding_${i}`,
|
|
350
217
|
constraints: a
|
|
351
218
|
};
|
|
352
219
|
const t = a.filter(
|
|
353
|
-
(
|
|
220
|
+
(s) => u(s.field, i.field)
|
|
354
221
|
);
|
|
355
|
-
if (t.some((
|
|
222
|
+
if (t.some((s) => !R(s.window)))
|
|
356
223
|
return {
|
|
357
224
|
status: "unavailable",
|
|
358
225
|
reason: "temporal_binding_invalid",
|
|
359
226
|
constraints: a
|
|
360
227
|
};
|
|
361
228
|
const n = t.filter(
|
|
362
|
-
(
|
|
363
|
-
), o = t.filter((
|
|
229
|
+
(s) => s.source === "global_date"
|
|
230
|
+
), o = t.filter((s) => s.source === "card");
|
|
364
231
|
if (n.length > 1 || n.length === 0 && o.length > 1)
|
|
365
232
|
return {
|
|
366
233
|
status: "unavailable",
|
|
@@ -370,128 +237,134 @@ function M(e) {
|
|
|
370
237
|
const r = n[0] ?? o[0];
|
|
371
238
|
return {
|
|
372
239
|
status: "resolved",
|
|
373
|
-
field:
|
|
374
|
-
bindingSource:
|
|
240
|
+
field: i.field,
|
|
241
|
+
bindingSource: i.kind,
|
|
375
242
|
...r ? {
|
|
376
243
|
currentWindow: r.window,
|
|
377
244
|
governingWindowSource: r.source,
|
|
378
245
|
governingRangeId: r.id
|
|
379
246
|
} : {},
|
|
380
|
-
constraints: a.filter((
|
|
247
|
+
constraints: a.filter((s) => s.id !== (r == null ? void 0 : r.id))
|
|
381
248
|
};
|
|
382
249
|
}
|
|
383
250
|
export {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
ea as
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
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,
|
|
257
|
+
A as SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT,
|
|
258
|
+
b as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
|
|
259
|
+
I as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION,
|
|
260
|
+
E as SEMAPHOR_GENERATED_COUNT_METRIC_ID,
|
|
261
|
+
M as SEMAPHOR_MATRIX_TIME_GRAINS,
|
|
262
|
+
D as SEMAPHOR_TIME_GRAINS,
|
|
263
|
+
O as TEMPORAL_BUCKET_CONTRACT_ERROR_CODES,
|
|
264
|
+
F as TEMPORAL_BUCKET_PRESETS,
|
|
265
|
+
_ as TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES,
|
|
266
|
+
P as buildAnalyticsCatalogFieldSummary,
|
|
267
|
+
Xe as buildSemaphorQualifiedSourcePath,
|
|
268
|
+
k as canonicalDashboardRecordsPayloadSchema,
|
|
269
|
+
je as canonicalizeSemaphorQualifiedSourcePath,
|
|
270
|
+
N as canonicalizeSemaphorSourceIdentity,
|
|
271
|
+
x as dashboardRecordsPayloadSchema,
|
|
272
|
+
da as evaluateMetricComparison,
|
|
273
|
+
w as getAnalyticsCatalogFieldCandidates,
|
|
274
|
+
B as getAnalyticsCatalogFieldName,
|
|
275
|
+
_a as getCardControlCompatInputId,
|
|
276
|
+
Ca as getCardInlineFilterCompatInputId,
|
|
277
|
+
Ta as getDashboardControlCompatInputId,
|
|
278
|
+
fa as getDashboardFilterCompatInputId,
|
|
279
|
+
Ve as getSemaphorAnalyzeResultFieldNames,
|
|
280
|
+
Ze as getSemaphorConnectionCapabilities,
|
|
281
|
+
L as getSemaphorNonRedundantDatasetId,
|
|
282
|
+
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,
|
|
315
|
+
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,
|
|
330
|
+
u as semaphorFieldRefsMatch,
|
|
331
|
+
he as semaphorInputOptionsResultSchema,
|
|
332
|
+
Re as semaphorMatrixResultSchema,
|
|
333
|
+
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,
|
|
340
|
+
fe as semaphorRelationshipDiagnosticsSchema,
|
|
341
|
+
ye as semaphorResultColumnSchema,
|
|
342
|
+
Ae as semaphorSemanticSourceRefSchema,
|
|
343
|
+
ta as semaphorSourceHasRequiredCoordinates,
|
|
344
|
+
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,
|
|
359
|
+
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
|
|
497
370
|
};
|
|
@@ -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-
|
|
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");/**
|
|
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-
|
|
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";
|
|
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-
|
|
7
|
-
import "../chunks/validators-
|
|
8
|
-
import "../chunks/analyze-result-contract-
|
|
6
|
+
import "../chunks/saved-temporal-bucket-format-hylaofsQ.js";
|
|
7
|
+
import "../chunks/validators-DhTaCK1O.js";
|
|
8
|
+
import "../chunks/analyze-result-contract-kaCNxjA7.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";
|