react-semaphor 0.1.457 → 0.1.460
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 +32 -32
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-BbRJ-C06.js → analyze-result-contract-DROq4vgY.js} +1 -1
- package/dist/chunks/{analyze-result-contract-LPDNldic.cjs → analyze-result-contract-DSGoFuXQ.cjs} +1 -1
- package/dist/chunks/canonical-result-keys-CEQefvdO.js +33 -0
- package/dist/chunks/canonical-result-keys-Cb96edol.cjs +1 -0
- package/dist/chunks/{common-types-H51FLKB7.js → common-types-BHVKgxRR.js} +1 -1
- package/dist/chunks/{common-types-C57kJ59w.cjs → common-types-BcV9PD9D.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DujsUIww.js → dashboard-briefing-launcher-B07JnyCb.js} +60 -61
- package/dist/chunks/{dashboard-briefing-launcher-W5sKgsYF.cjs → dashboard-briefing-launcher-BCkOKkCv.cjs} +2 -2
- package/dist/chunks/{dashboard-controls-Cbw_M-lb.cjs → dashboard-controls-BpxouYOZ.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-DZ5SgVcR.js → dashboard-controls-C8OxHQV6.js} +44 -45
- package/dist/chunks/dashboard-filter-value-compatibility-KXIyvbhc.js +677 -0
- package/dist/chunks/dashboard-filter-value-compatibility-UapptYnn.cjs +1 -0
- package/dist/chunks/dashboard-input-contract-BkRFQ7Tq.cjs +1 -0
- package/dist/chunks/{dashboard-date-comparison-definition-DC3ekV2S.js → dashboard-input-contract-D5dxTWJ5.js} +41 -25
- package/dist/chunks/dashboard-json-Bc-iIwxF.cjs +1 -0
- package/dist/chunks/{dashboard-json-CHfML8Ff.js → dashboard-json-CecgbGtq.js} +13 -14
- package/dist/chunks/{edit-dashboard-visual-CLqJGsMx.js → edit-dashboard-visual-CpJKJaER.js} +1493 -1501
- package/dist/chunks/{edit-dashboard-visual-BLmOGhEP.cjs → edit-dashboard-visual-xacUS2i5.cjs} +31 -31
- package/dist/chunks/{editor-action-buttons-C87bPAfR.cjs → editor-action-buttons-23Wf8EMx.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-BVN1okyo.js → editor-action-buttons-DEoieV2G.js} +28 -28
- package/dist/chunks/index-B9c22LmC.cjs +1392 -0
- package/dist/chunks/{index--A6SZu3V.js → index-DDoyXYWM.js} +43691 -41551
- package/dist/chunks/{index-BIFLI8ul.js → index-De_7nrwb.js} +10 -10
- package/dist/chunks/index-DjjKJPDy.cjs +4 -0
- package/dist/chunks/{matrix-result-contract-CofATICL.js → matrix-result-contract-BTpPuHOc.js} +88 -104
- package/dist/chunks/matrix-result-contract-ZRNfeIbI.cjs +1 -0
- package/dist/chunks/{pivot-header-presentation-B9nXXKlW.cjs → pivot-header-presentation-BijPbP33.cjs} +1 -1
- package/dist/chunks/{pivot-header-presentation-D-0jvUwn.js → pivot-header-presentation-DW0gKG8g.js} +2 -2
- package/dist/chunks/{pivot-result-identity-Bb4EixVN.cjs → pivot-result-identity-DxHtiKVj.cjs} +1 -1
- package/dist/chunks/{pivot-result-identity-DU1v-5Xk.js → pivot-result-identity-Z9tN2tEV.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-DTLRuDEW.cjs → pivot-result-lifecycle-BXzIlQVu.cjs} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-CHWEGU2o.js → pivot-result-lifecycle-g2U-vzQb.js} +7 -7
- package/dist/chunks/{raw-temporal-contract-BtjH_G-d.cjs → raw-temporal-contract-DfAvqNMo.cjs} +1 -1
- package/dist/chunks/{raw-temporal-contract-CxncLze5.js → raw-temporal-contract-UtAqoOZO.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-DQtQZ3fF.js → report-preferences-dialog-CZiNX1Ri.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-DajdnPvA.cjs → report-preferences-dialog-D_N6NXnq.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-DqxS4wbi.cjs → report-runtime-context-C0NfLPfc.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-SM6YO61_.js → report-runtime-context-CNncA3VD.js} +11 -11
- package/dist/chunks/{saved-temporal-bucket-format-CFfWXRl9.cjs → saved-temporal-bucket-format-3QKveR3v.cjs} +1 -1
- package/dist/chunks/{saved-temporal-bucket-format-SGAV0ivR.js → saved-temporal-bucket-format-Dd2eixTH.js} +11 -11
- package/dist/chunks/switch-DNFbgZz4.cjs +138 -0
- package/dist/chunks/{switch-BOBLNHUj.js → switch-DSZobe8w.js} +6560 -5189
- package/dist/chunks/{temporal-bucket-5UYEotyQ.js → temporal-bucket-C85rmFmC.js} +4 -4
- package/dist/chunks/temporal-bucket-authoring-1fZuPAVb.js +653 -0
- package/dist/chunks/temporal-bucket-authoring-BK1UhYpD.cjs +1 -0
- package/dist/chunks/{temporal-bucket-contract-D5d-xEl3.js → temporal-bucket-contract-DXXNZssK.js} +1 -1
- package/dist/chunks/{temporal-bucket-contract-D2-93DGr.cjs → temporal-bucket-contract-xFkvboaw.cjs} +1 -1
- package/dist/chunks/{temporal-bucket-DHY1y9lq.cjs → temporal-bucket-pMfghsLX.cjs} +1 -1
- package/dist/chunks/{token-types-GbxRUozo.js → token-types-BLxc7UwR.js} +1 -1
- package/dist/chunks/{token-types-D7CaaI80.cjs → token-types-BYYO109W.cjs} +1 -1
- package/dist/chunks/{update-policy-hednMF-0.js → update-policy-CB8XJIoY.js} +1 -1
- package/dist/chunks/{update-policy-BmiOd0PB.cjs → update-policy-DMjjGjQY.cjs} +1 -1
- package/dist/chunks/{validators-DEmd8Sin.js → validators-DVd8s3qY.js} +416 -350
- package/dist/chunks/validators-dJlwubP4.cjs +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +328 -311
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +1 -1
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +55 -55
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +61 -56
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +9 -9
- package/dist/format-utils/index.cjs +1 -1
- package/dist/format-utils/index.js +15 -15
- package/dist/index.cjs +1 -1
- package/dist/index.js +154 -155
- package/dist/report-runtime-context/index.cjs +1 -1
- 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 +16 -8
- package/dist/types/briefings.d.ts +82 -9
- package/dist/types/dashboard-assistant.d.ts +11 -6
- package/dist/types/dashboard-authoring.d.ts +244 -15
- package/dist/types/dashboard.d.ts +96 -10
- package/dist/types/data-app-builder.d.ts +11 -6
- package/dist/types/data-app-codegen-node.d.ts +16 -8
- package/dist/types/data-app-codegen.d.ts +16 -8
- package/dist/types/data-app-sdk-adapters.d.ts +17 -11
- package/dist/types/data-app-sdk-validation.d.ts +17 -11
- package/dist/types/data-app-sdk.d.ts +17 -11
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +212 -16
- package/dist/types/shared.d.ts +82 -9
- package/dist/types/surfboard.d.ts +96 -10
- package/dist/types/types.d.ts +96 -10
- package/package.json +1 -1
- package/dist/chunks/canonical-result-keys-BA0HCP4e.cjs +0 -1
- package/dist/chunks/canonical-result-keys-D6avdjpA.js +0 -467
- package/dist/chunks/dashboard-date-comparison-definition-Ces4alFm.cjs +0 -1
- package/dist/chunks/dashboard-json-D9V7Vsvn.cjs +0 -1
- package/dist/chunks/index-BFar58xY.cjs +0 -1392
- package/dist/chunks/index-k8tEp0ys.cjs +0 -4
- package/dist/chunks/matrix-result-contract-zamd9euI.cjs +0 -1
- package/dist/chunks/switch-BHOdIXq3.cjs +0 -138
- package/dist/chunks/temporal-bucket-authoring-K1kE6R_z.js +0 -222
- package/dist/chunks/temporal-bucket-authoring-o3Emn05L.cjs +0 -1
- package/dist/chunks/validators-BDYprKI9.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-BDYprKI9.cjs"),A=require("../chunks/operators-DrTQsJXv.cjs"),S=require("../chunks/analyze-result-contract-LPDNldic.cjs"),n=require("../chunks/temporal-bucket-DHY1y9lq.cjs"),u=require("../chunks/dashboard-date-comparison-definition-Ces4alFm.cjs"),c=require("../chunks/matrix-result-contract-zamd9euI.cjs"),R=require("../chunks/temporal-bucket-contract-D2-93DGr.cjs"),C=require("../chunks/raw-temporal-contract-BtjH_G-d.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 d={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},M={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:d,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:d,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:d,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:d,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:d,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:d,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 h(a){return!!(a.name.trim()&&e.hasCompleteSemaphorSourceIdentity(a.source)&&(a.role==="date"||a.dataType==="date"||a.dataType==="datetime"))}function p(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=p(a.candidates.filter(o=>o.kind==="visible_axis")),r=p(a.candidates.filter(o=>o.kind==="explicit_hidden"));if([...t,...r].some(o=>!h(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 m=p(a.candidates.filter(o=>o.kind==="semantic_primary"));return m.some(o=>!h(o.field))?"invalid":m.length>1?"ambiguous":m[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=>!h(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"),m=i.filter(s=>s.source==="card");if(l.length>1||l.length===0&&m.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const o=l[0]??m[0];return{status:"resolved",field:r.field,bindingSource:r.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:t.filter(s=>s.id!==(o==null?void 0:o.id))}}exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=e.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_MATRIX_TIME_GRAINS=e.SEMAPHOR_MATRIX_TIME_GRAINS;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isSemaphorDataAppCodegenSummary=e.isSemaphorDataAppCodegenSummary;exports.isSemaphorMatrixTimeGrain=e.isSemaphorMatrixTimeGrain;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.semaphorAnalyticsCoverageSchema=e.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=e.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=e.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=e.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=e.semaphorAnalyticsResultSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorAnalyzeResultSchema=e.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=e.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=e.semaphorDataAppCodegenSummarySchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMatrixResultSchema=e.semaphorMatrixResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorRelationshipDiagnosticsSchema=e.semaphorRelationshipDiagnosticsSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDataAppCodegenSummary=e.validateSemaphorDataAppCodegenSummary;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=A.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=A.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=S.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=S.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=S.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.isComparisonCapableDashboardDateInputDefinition=u.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=u.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=u.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=u.semanticDatasetMatchesFieldCoordinates;exports.MatrixResultContractError=c.MatrixResultContractError;exports.getCardControlCompatInputId=c.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=c.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=c.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=c.getDashboardFilterCompatInputId;exports.parseCanonicalMatrixResult=c.parseCanonicalMatrixResult;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=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-dJlwubP4.cjs"),C=require("../chunks/operators-DrTQsJXv.cjs"),h=require("../chunks/analyze-result-contract-DSGoFuXQ.cjs"),n=require("../chunks/temporal-bucket-pMfghsLX.cjs"),m=require("../chunks/dashboard-input-contract-BkRFQ7Tq.cjs"),S=require("../chunks/temporal-bucket-contract-xFkvboaw.cjs"),R=require("../chunks/raw-temporal-contract-DfAvqNMo.cjs"),A=require("../chunks/matrix-result-contract-ZRNfeIbI.cjs");function T(a,t={}){const r=b(a),i={connectionId:t.connectionId,connectionType:a,path:["database","schema","table"],labels:{database:"Database",schema:"Schema",table:"Table"},prefixLevels:["database","schema","table"],dialect:"postgres",supportsFilterClause:!0};return r.includes("postgres")?{...i,prefixLevels:["schema","table"],dialect:"postgres"}:r.includes("mysql")?{...i,prefixLevels:["database","table"],dialect:"mysql",supportsFilterClause:!1}:r.includes("mssql")||r.includes("sqlserver")?{...i,dialect:"mssql",supportsFilterClause:!1}:r.includes("redshift")?{...i,prefixLevels:["schema","table"],dialect:"redshift"}:r.includes("snowflake")?{...i,dialect:"snowflake"}:r.includes("clickhouse")?{connectionId:t.connectionId,connectionType:a,path:["database","table"],labels:{database:"Database",table:"Table"},prefixLevels:["database","table"],dialect:"clickhouse",supportsFilterClause:!1}:r==="s3"||r==="api"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:r==="api"?"API Table":"File Table"},prefixLevels:["table"],dialect:"duckdb",supportsFilterClause:!0}:r==="googlesheets"||r==="fileupload"?{connectionId:t.connectionId,connectionType:a,path:["table"],labels:{table:"Table"},prefixLevels:["table"],dialect:"postgres",supportsFilterClause:!0}:r==="s3tables"?{...i,labels:{database:"Database",schema:"Namespace",table:"Table"},dialect:"duckdb"}:r==="bigquery"?{...i,labels:{database:"Project",schema:"Dataset",table:"Table"},prefixLevels:["schema","table"],dialect:"bigquery",supportsFilterClause:!1}:i}function g(a){const t=b(a);switch(t){case"mysql":case"bigquery":case"redshift":case"snowflake":case"clickhouse":case"duckdb":case"sqlite":return t;case"mssql":case"sqlserver":return"mssql";case"postgres":case"postgresql":return"postgres";default:return"unknown"}}function y(a){return a.capabilities.prefixLevels.every(t=>!!f(a.source,t))}function _(a){const t=a.quoteIdentifier??v;return a.capabilities.prefixLevels.map(r=>f(a.source,r)).filter(r=>!!r).map(r=>t(r,a.capabilities.dialect)).join(".")}function f(a,t){return t==="database"?a.databaseName:t==="schema"?a.schemaName:a.tableName}function v(a,t){return t==="mysql"||t==="bigquery"||t==="clickhouse"||t==="duckdb"?`\`${a.replace(/`/g,"``")}\``:t==="mssql"?`[${a.replace(/]/g,"]]")}]`:`"${a.replace(/"/g,'""')}"`}function b(a){if(typeof a!="string")return"";const t=[];for(const r of a.trim().toLowerCase())I(r)&&t.push(r);return t.join("")}function I(a){const t=a.charCodeAt(0);return t>=48&&t<=57||t>=97&&t<=122}const c={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},M={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:c,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},comparison:{kind:"previous_period"},limit:1},revenueTrend:{version:1,kind:"records",id:"revenue-trend",label:"Revenue trend",source:c,fields:[{name:"order_date",role:"date",dataType:"date",label:"Order Date"},{name:"revenue",role:"measure",dataType:"number"}],dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"month",limit:100},topCustomersRecords:{version:1,kind:"records",id:"top-customers",label:"Top customers",source:c,fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"segment",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}],orderBy:{field:{name:"revenue",role:"measure"},direction:"desc"},limit:20},regionInputOptions:{version:1,kind:"inputOptions",id:"region-options",label:"Region options",inputId:"region",source:c,labelField:{name:"region",role:"dimension",dataType:"string"},valueField:{name:"region",role:"dimension",dataType:"string"},limit:100},previousPeriodRevenueComparison:{version:1,kind:"metric",id:"revenue-previous-period",label:"Revenue previous period comparison",source:c,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"week",comparison:{kind:"previous_period"},limit:100},inboundSupplierConcentration:{version:1,kind:"metric",id:"inbound-supplier-concentration",label:"Inbound supplier concentration",source:c,measures:[{name:"net_tons",role:"measure"},{name:"ticket_value",role:"measure"}],primaryMeasure:{name:"net_tons",role:"measure"},dateField:{name:"ticket_date",role:"date",dataType:"date"},timeWindow:{unit:"month",value:6,anchor:"latest_available"},dimensions:[{name:"supplier_id",role:"dimension",dataType:"number"}],filters:[{field:{name:"direction",role:"dimension",dataType:"string"},operator:"=",values:["Inbound"]}],limit:15},boundedSqlRanking:{version:1,kind:"sql",id:"top-customer-ranking-sql",label:"Top customer ranking SQL",source:{kind:"sql",connectionId:"conn_sales",dialect:"postgres"},sql:"SELECT customer_name, SUM(revenue) AS revenue FROM public.orders GROUP BY customer_name ORDER BY revenue DESC LIMIT 20",limit:20,rationale:"Ranking is SQL-natural because it requires ordering grouped aggregate rows.",fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}]}},E={visibleAxis:{source:{kind:"semantic",domainId:"commerce",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"timestamp with time zone"},expected:{status:"resolved",bindingSource:"visible_axis",name:"order_date",dataType:"datetime"}},invalidSource:{source:{kind:"semantic",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"date"},expected:{status:"unavailable",reason:"temporal_binding_invalid"}}};function p(a){return!!(a.name.trim()&&e.hasCompleteSemaphorSourceIdentity(a.source)&&(a.role==="date"||a.dataType==="date"||a.dataType==="datetime"))}function u(a){return a.filter((t,r)=>a.findIndex(i=>e.semaphorFieldRefsMatch(t.field,i.field))===r)}function D(a){return new Set(a.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function O(a){const t=u(a.candidates.filter(o=>o.kind==="visible_axis")),r=u(a.candidates.filter(o=>o.kind==="explicit_hidden"));if([...t,...r].some(o=>!p(o.field)))return"invalid";if(t.length>1||r.length>1)return"ambiguous";const i=t[0],l=r[0];if(i)return l&&!e.semaphorFieldRefsMatch(i.field,l.field)?"invalid":i;if(l)return l;if(D(a.querySources??[])>1)return"ambiguous";const d=u(a.candidates.filter(o=>o.kind==="semantic_primary"));return d.some(o=>!p(o.field))?"invalid":d.length>1?"ambiguous":d[0]??"missing"}function F(a){const t=new Date(a.startInclusive),r=new Date(a.endExclusive);return a.timezone.trim()?Number.isFinite(t.getTime())&&Number.isFinite(r.getTime())&&t.getTime()<r.getTime():!1}function P(a){const t=a.ranges??[];if(a.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:t};if((a.querySources??[]).some(s=>!e.hasCompleteSemaphorSourceIdentity(s))||t.some(s=>!p(s.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const r=O(a);if(typeof r=="string")return{status:"unavailable",reason:`temporal_binding_${r}`,constraints:t};const i=t.filter(s=>e.semaphorFieldRefsMatch(s.field,r.field));if(i.some(s=>!F(s.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:t};const l=i.filter(s=>s.source==="global_date"),d=i.filter(s=>s.source==="card");if(l.length>1||l.length===0&&d.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:t};const o=l[0]??d[0];return{status:"resolved",field:r.field,bindingSource:r.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:t.filter(s=>s.id!==(o==null?void 0:o.id))}}exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=e.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=e.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_MATRIX_TIME_GRAINS=e.SEMAPHOR_MATRIX_TIME_GRAINS;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isSemaphorDataAppCodegenSummary=e.isSemaphorDataAppCodegenSummary;exports.isSemaphorMatrixTimeGrain=e.isSemaphorMatrixTimeGrain;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.semaphorAnalyticsCoverageSchema=e.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=e.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=e.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=e.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=e.semaphorAnalyticsResultSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorAnalyzeResultSchema=e.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=e.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=e.semaphorDataAppCodegenSummarySchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMatrixResultSchema=e.semaphorMatrixResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorRelationshipDiagnosticsSchema=e.semaphorRelationshipDiagnosticsSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDataAppCodegenSummary=e.validateSemaphorDataAppCodegenSummary;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=C.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=C.normalizeSemaphorInputOperator;exports.getSemaphorAnalyzeResultFieldNames=h.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=h.isSemaphorAnalyzeResultFieldName;exports.parseSemaphorAnalyzeResult=h.parseSemaphorAnalyzeResult;exports.COMPARISON_PRESENTATION_DEFAULTS=n.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=n.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=n.evaluateMetricComparison;exports.resolveMetricComparisonRequest=n.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=n.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=n.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=n.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=n.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=n.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=n.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=n.validateMetricComparisonSpec;exports.getCardControlCompatInputId=m.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=m.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=m.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=m.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=m.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=m.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=m.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=m.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=S.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=S.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=S.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=R.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=R.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=R.validateRawTemporalResultColumn;exports.MatrixResultContractError=A.MatrixResultContractError;exports.parseCanonicalMatrixResult=A.parseCanonicalMatrixResult;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=M;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=E;exports.buildSemaphorQualifiedSourcePath=_;exports.getSemaphorConnectionCapabilities=T;exports.normalizeSemaphorDialect=g;exports.resolveTemporalContext=P;exports.semaphorSourceHasRequiredCoordinates=y;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as k,
|
|
3
|
-
import { a as Ke, n as
|
|
4
|
-
import { g as
|
|
5
|
-
import { C as ea, D as aa,
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import { j as u, s as c, k as f } from "../chunks/validators-DVd8s3qY.js";
|
|
2
|
+
import { R as k, f as O, S as q, a as x, r as N, n as P, l as L, T as w, q as B, M as z, a0 as G, $ as U, E as H, D as V, H as Y, L as W, K, G as Q, J as X, I as $, i as j, o as Z, m as J, ah as ee, F as ae, C as se, h as re, u as te, p as ie, ag as ne, P as oe, ab as le, a9 as de, ac as me, aa as ce, a7 as ue, a1 as pe, a2 as he, g as fe, ad as be, ae as Se, Y as ge, Z as ve, X as Re, a5 as Ce, d as Te, c as _e, ai as ye, a3 as Ae, U as Ie, a4 as De, a8 as Me, _ as Ee, Q as Fe, W as ke, af as Oe, a6 as qe, V as xe, N as Ne, e as Pe, O as Le, t as we, y as Be, A as ze, B as Ge, v as Ue, w as He, z as Ve, x as Ye } from "../chunks/validators-DVd8s3qY.js";
|
|
3
|
+
import { a as Ke, n as Qe } from "../chunks/operators-C8TxpM4C.js";
|
|
4
|
+
import { g as $e, i as je, p as Ze } from "../chunks/analyze-result-contract-DROq4vgY.js";
|
|
5
|
+
import { C as ea, D as aa, g as sa, r as ra, a as ta, f as ia, d as na, c as oa, b as la, e as da, v as ma } from "../chunks/temporal-bucket-C85rmFmC.js";
|
|
6
|
+
import { d as ua, c as pa, b as ha, g as fa, i as ba, r as Sa, a as ga, s as va } from "../chunks/dashboard-input-contract-D5dxTWJ5.js";
|
|
7
|
+
import { b as Ca, v as Ta, a as _a } from "../chunks/temporal-bucket-contract-DXXNZssK.js";
|
|
8
|
+
import { R as Aa, p as Ia, v as Da } from "../chunks/raw-temporal-contract-UtAqoOZO.js";
|
|
9
|
+
import { M as Ea, p as Fa } from "../chunks/matrix-result-contract-BTpPuHOc.js";
|
|
10
10
|
function T(e, a = {}) {
|
|
11
11
|
const s = h(e), r = {
|
|
12
12
|
connectionId: a.connectionId,
|
|
@@ -383,9 +383,9 @@ function M(e) {
|
|
|
383
383
|
export {
|
|
384
384
|
ea as COMPARISON_PRESENTATION_DEFAULTS,
|
|
385
385
|
aa as DEFAULT_METRIC_COMPARISON_POLARITY,
|
|
386
|
-
|
|
386
|
+
Ea as MatrixResultContractError,
|
|
387
387
|
k as RAW_TEMPORAL_CONTRACT_ERROR_CODES,
|
|
388
|
-
|
|
388
|
+
Aa as RawTemporalMetadataContractError,
|
|
389
389
|
I as SEMAPHOR_ANALYTICS_INTENT_FIXTURES,
|
|
390
390
|
O as SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT,
|
|
391
391
|
q as SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION,
|
|
@@ -403,22 +403,22 @@ export {
|
|
|
403
403
|
sa as evaluateMetricComparison,
|
|
404
404
|
H as getAnalyticsCatalogFieldCandidates,
|
|
405
405
|
V as getAnalyticsCatalogFieldName,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
406
|
+
ua as getCardControlCompatInputId,
|
|
407
|
+
pa as getCardInlineFilterCompatInputId,
|
|
408
|
+
ha as getDashboardControlCompatInputId,
|
|
409
|
+
fa as getDashboardFilterCompatInputId,
|
|
410
|
+
$e as getSemaphorAnalyzeResultFieldNames,
|
|
411
411
|
T as getSemaphorConnectionCapabilities,
|
|
412
412
|
u as hasCompleteSemaphorSourceIdentity,
|
|
413
413
|
Y as isAnalyticsCatalogDateField,
|
|
414
414
|
W as isAnalyticsCatalogDimensionField,
|
|
415
415
|
K as isAnalyticsCatalogMetricField,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
416
|
+
Q as isAnalyticsDateLikeDataType,
|
|
417
|
+
X as isAnalyticsMetricIdentifierField,
|
|
418
|
+
$ as isAnalyticsTechnicalIdentifierField,
|
|
419
|
+
ba as isComparisonCapableDashboardDateInputDefinition,
|
|
420
|
+
je as isSemaphorAnalyzeResultFieldName,
|
|
421
|
+
j as isSemaphorDataAppCodegenSummary,
|
|
422
422
|
Z as isSemaphorMatrixTimeGrain,
|
|
423
423
|
J as isSemaphorTimeGrain,
|
|
424
424
|
ee as mergeSemaphorSourcesByIdentity,
|
|
@@ -426,21 +426,21 @@ export {
|
|
|
426
426
|
se as normalizeAnalyticsCatalogName,
|
|
427
427
|
Ke as normalizeSemaphorAnalyticsFilterOperator,
|
|
428
428
|
_ as normalizeSemaphorDialect,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
429
|
+
Qe as normalizeSemaphorInputOperator,
|
|
430
|
+
Fa as parseCanonicalMatrixResult,
|
|
431
|
+
Ia as parseRawTemporalValueMetadata,
|
|
432
432
|
Ze as parseSemaphorAnalyzeResult,
|
|
433
433
|
re as parseSemaphorIsoInstant,
|
|
434
434
|
te as parseSemaphorIsoTimeWindowBoundary,
|
|
435
435
|
ie as preferSemaphorFieldRefMetadata,
|
|
436
436
|
ne as preferSemaphorSourceMetadata,
|
|
437
437
|
oe as rawTemporalValueMetadataSchema,
|
|
438
|
-
|
|
439
|
-
|
|
438
|
+
Sa as resolveDashboardDateComparisonFilterDefinition,
|
|
439
|
+
ga as resolveDashboardDateComparisonInputDefinition,
|
|
440
440
|
ra as resolveMetricComparisonRequest,
|
|
441
441
|
ta as resolveMetricResultAlias,
|
|
442
442
|
M as resolveTemporalContext,
|
|
443
|
-
|
|
443
|
+
va as semanticDatasetMatchesFieldCoordinates,
|
|
444
444
|
le as semaphorAnalyticsCoverageSchema,
|
|
445
445
|
de as semaphorAnalyticsDiagnosticFeedbackSchema,
|
|
446
446
|
me as semaphorAnalyticsExecutionResultSchema,
|
|
@@ -475,14 +475,14 @@ export {
|
|
|
475
475
|
Pe as temporalBucketDataTypeForGrain,
|
|
476
476
|
Le as temporalBucketFormatSchema,
|
|
477
477
|
we as temporalBucketMetadataSchema,
|
|
478
|
-
|
|
478
|
+
Ca as validateActivatedTemporalBucketResultColumns,
|
|
479
479
|
ia as validateComparisonPresentationSpec,
|
|
480
480
|
na as validateGlobalDateComparisonContext,
|
|
481
481
|
oa as validateGlobalDateComparisonSelection,
|
|
482
482
|
la as validateMetricComparisonConfig,
|
|
483
483
|
da as validateMetricComparisonPolarity,
|
|
484
484
|
ma as validateMetricComparisonSpec,
|
|
485
|
-
|
|
485
|
+
Da as validateRawTemporalResultColumn,
|
|
486
486
|
Be as validateSemaphorAnalyticsIntent,
|
|
487
487
|
ze as validateSemaphorAnalyticsRecoveryPlan,
|
|
488
488
|
Ge as validateSemaphorDashboardIntent,
|
|
@@ -490,6 +490,6 @@ export {
|
|
|
490
490
|
He as validateSemaphorDerivedFieldDefinition,
|
|
491
491
|
Ve as validateSemaphorOperationIntent,
|
|
492
492
|
Ye as validateSemaphorResultCalculation,
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
Ta as validateTemporalBucketMetadata,
|
|
494
|
+
_a as validateTemporalBucketResultColumn
|
|
495
495
|
};
|
|
@@ -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-DNFbgZz4.cjs"),oe=require("../chunks/color-CyB5o13F.cjs"),L=require("../chunks/x-B6ghREd2.cjs");require("../chunks/saved-temporal-bucket-format-3QKveR3v.cjs");require("../chunks/validators-dJlwubP4.cjs");require("../chunks/analyze-result-contract-DSGoFuXQ.cjs");require("../value-format-preferences/index.cjs");const W=require("../chunks/index-ByFbacH7.cjs"),_=require("../chunks/palette-BN-jYtaK.cjs"),fe=require("../chunks/braces-v55uLCAK.cjs"),me=require("../chunks/save-3dYRmehL.cjs"),xe=require("../chunks/layout-grid-xm8pqtx0.cjs");/**
|
|
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-DSZobe8w.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-Dd2eixTH.js";
|
|
7
|
+
import "../chunks/validators-DVd8s3qY.js";
|
|
8
|
+
import "../chunks/analyze-result-contract-DROq4vgY.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";
|
package/dist/briefings/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../chunks/pivot-result-lifecycle-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../chunks/pivot-result-lifecycle-BXzIlQVu.cjs");require("../value-format-preferences/index.cjs");require("../chunks/validators-dJlwubP4.cjs");require("../chunks/analyze-result-contract-DSGoFuXQ.cjs");const e=require("../chunks/index-DjjKJPDy.cjs");exports.BRIEFING_ARTIFACT_FORMATS=e.BRIEFING_ARTIFACT_FORMATS;exports.BRIEFING_CONTENT_LIMITS=e.BRIEFING_CONTENT_LIMITS;exports.BRIEFING_KIND=e.BRIEFING_KIND;exports.BRIEFING_TEXT_LIMITS=e.BRIEFING_TEXT_LIMITS;exports.BriefingContractError=e.BriefingContractError;exports.DEFAULT_BRIEFING_ARTIFACT_FORMATS=e.DEFAULT_BRIEFING_ARTIFACT_FORMATS;exports.DEFAULT_BRIEFING_SCHEDULE=e.DEFAULT_BRIEFING_SCHEDULE;exports.MAX_BRIEFING_ATTACHMENTS=e.MAX_BRIEFING_ATTACHMENTS;exports.buildBriefingJobConfig=e.buildBriefingJobConfig;exports.buildBriefingScheduleExpr=e.buildBriefingScheduleExpr;exports.buildCreateBriefingRequest=e.buildCreateBriefingRequest;exports.buildDashboardTemporalSnapshotEntries=e.buildDashboardTemporalSnapshotEntries;exports.buildUpdateBriefingRequest=e.buildUpdateBriefingRequest;exports.canCreateBriefingForUser=e.canCreateBriefingForUser;exports.describeBriefingSchedule=e.describeBriefingSchedule;exports.formatBriefingComparisonValues=e.formatBriefingComparisonValues;exports.formatBriefingDisplayValue=e.formatBriefingDisplayValue;exports.getBriefingCardAttachmentCapability=e.getBriefingCardAttachmentCapability;exports.getBriefingCardAttachmentFormats=e.getBriefingCardAttachmentFormats;exports.getBriefingCreationIntents=e.getBriefingCreationIntents;exports.getBriefingDisplayTypeLabel=e.getBriefingDisplayTypeLabel;exports.getBriefingPresentation=e.getBriefingPresentation;exports.getDefaultBriefingCardAttachmentFormat=e.getDefaultBriefingCardAttachmentFormat;exports.isBriefingArtifactFormat=e.isBriefingArtifactFormat;exports.isBriefingDeliveryChannel=e.isBriefingDeliveryChannel;exports.isBriefingNumericValue=e.isBriefingNumericValue;exports.isEmailOnlyBriefingDelivery=e.isEmailOnlyBriefingDelivery;exports.isValidBriefingTimezone=e.isValidBriefingTimezone;exports.normalizeBriefingContentDocument=e.normalizeBriefingContentDocument;exports.normalizeBriefingDraft=e.normalizeBriefingDraft;exports.normalizeBriefingJobConfig=e.normalizeBriefingJobConfig;exports.parseBriefingScheduleExpr=e.parseBriefingScheduleExpr;exports.validateBriefingContentDocument=e.validateBriefingContentDocument;exports.validateBriefingDraft=e.validateBriefingDraft;exports.validateBriefingJobConfig=e.validateBriefingJobConfig;
|
package/dist/briefings/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../chunks/pivot-result-lifecycle-
|
|
1
|
+
import "../chunks/pivot-result-lifecycle-g2U-vzQb.js";
|
|
2
2
|
import "../value-format-preferences/index.js";
|
|
3
|
-
import "../chunks/validators-
|
|
4
|
-
import "../chunks/analyze-result-contract-
|
|
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-
|
|
3
|
+
import "../chunks/validators-DVd8s3qY.js";
|
|
4
|
+
import "../chunks/analyze-result-contract-DROq4vgY.js";
|
|
5
|
+
import { a3 as t, a7 as f, a2 as g, a6 as o, ab as B, a4 as l, X as m, a5 as I, af as T, W as d, ah as C, A as E, ai as u, Z as F, d as p, aa as A, a9 as c, S as D, T as _, a as b, ao as R, g as N, an as S, al as h, am as y, a8 as G, Y as L, U as M, ac as U, ag as v, ae as V, V as z, ad as O, aj as x, ak as J } from "../chunks/index-De_7nrwb.js";
|
|
6
6
|
export {
|
|
7
7
|
t as BRIEFING_ARTIFACT_FORMATS,
|
|
8
8
|
f as BRIEFING_CONTENT_LIMITS,
|
package/dist/chunks/{analyze-result-contract-LPDNldic.cjs → analyze-result-contract-DSGoFuXQ.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./validators-
|
|
1
|
+
"use strict";const t=require("./validators-dJlwubP4.cjs"),a=new Set(Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT));function o(){return Object.keys(t.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT)}function s(e){return a.has(e)}function l(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Semaphor analyze result must be an object.");const r=Object.keys(e).filter(n=>!s(n));if(r.length)throw new Error(`Semaphor analyze result contains unsupported top-level field(s): ${r.join(", ")}.`);return t.semaphorAnalyzeResultSchema.parse(e)}exports.getSemaphorAnalyzeResultFieldNames=o;exports.isSemaphorAnalyzeResultFieldName=s;exports.parseSemaphorAnalyzeResult=l;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const o = "SEMAPHOR_CALCULATED_FIELD";
|
|
2
|
+
function c(a, e, r) {
|
|
3
|
+
if (r && (e === "groupby" || e === "pivotby"))
|
|
4
|
+
return r;
|
|
5
|
+
if (e === "metric" && a.name === "*" && !a.expression)
|
|
6
|
+
return a.alias || "count";
|
|
7
|
+
if (a.alias) return a.alias;
|
|
8
|
+
const t = a.entityName && a.entityName !== o ? a.entityName : void 0;
|
|
9
|
+
if (a.role === "metric") {
|
|
10
|
+
let n = a.aggregate || "metric";
|
|
11
|
+
if (a.expression) {
|
|
12
|
+
const s = a.expression.match(
|
|
13
|
+
/^(COUNT|SUM|AVG|MIN|MAX|MEDIAN|DISTINCT)\s*\(/i
|
|
14
|
+
);
|
|
15
|
+
n = s ? s[1].toLowerCase() : "expr";
|
|
16
|
+
} else
|
|
17
|
+
n = n.toLowerCase();
|
|
18
|
+
return t && t !== a.name ? `${t}_${a.name}_${n}` : `${a.name}_${n}`;
|
|
19
|
+
}
|
|
20
|
+
return t && t !== a.name ? `${t}_${a.name}` : a.name;
|
|
21
|
+
}
|
|
22
|
+
function m(a) {
|
|
23
|
+
return c(a, "detail");
|
|
24
|
+
}
|
|
25
|
+
function u(a) {
|
|
26
|
+
const e = a.label;
|
|
27
|
+
return e && a.labelCount === 1 && (e === a.rawKey || !a.rawKeys.has(e)) ? e : a.rawKey;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
m as a,
|
|
31
|
+
u as b,
|
|
32
|
+
c as r
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c="SEMAPHOR_CALCULATED_FIELD";function o(e,a,r){if(r&&(a==="groupby"||a==="pivotby"))return r;if(a==="metric"&&e.name==="*"&&!e.expression)return e.alias||"count";if(e.alias)return e.alias;const t=e.entityName&&e.entityName!==c?e.entityName:void 0;if(e.role==="metric"){let n=e.aggregate||"metric";if(e.expression){const s=e.expression.match(/^(COUNT|SUM|AVG|MIN|MAX|MEDIAN|DISTINCT)\s*\(/i);n=s?s[1].toLowerCase():"expr"}else n=n.toLowerCase();return t&&t!==e.name?`${t}_${e.name}_${n}`:`${e.name}_${n}`}return t&&t!==e.name?`${t}_${e.name}`:e.name}function u(e){return o(e,"detail")}function m(e){const a=e.label;return a&&e.labelCount===1&&(a===e.rawKey||!e.rawKeys.has(a))?a:e.rawKey}exports.resolveCanonicalDetailResultRawKey=u;exports.resolveCanonicalResultOutputKey=m;exports.resolveCanonicalResultRawKey=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("./validators-
|
|
1
|
+
"use strict";require("./validators-dJlwubP4.cjs");const e="SEMAPHOR_CALCULATED_FIELD";function u(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const s=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","YYYY-MM-DD HH:mm","YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm Z","YYYY-MM-DD HH:mm:ss Z","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];function D(Y){return Y.role==="metric"&&"expression"in Y&&!!Y.expression}function r(Y){return!!Y.expression}function _(Y){return!!Y.expression}function l(Y){var t,n;const M=Y;return!!(M!=null&&M.expression&&((n=(t=M.calculatedFormula)==null?void 0:t.inputFields)!=null&&n.length))}function o(Y){return!!(Y&&(Y.entityName===e||Y.entityId===e))}var a=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(a||{});const c={database:null,schema:null,table:null},A="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=e;exports.CONTROL_CARD_DEFAULT_VALUE=A;exports.DATE_FORMAT_VALUES=s;exports.EMPTY_SELECTION=c;exports.PivotMarkerEnum=a;exports.getFieldRuntimeColumnName=u;exports.hasCalculatedFieldMarker=o;exports.hasCalculatedFormulaInputs=l;exports.isCalculatedDimension=r;exports.isCalculatedField=_;exports.isCalculatedMetric=D;
|