react-semaphor 0.1.472 → 0.1.474
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 +102 -94
- 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-B3agc2XU.js → analyze-result-contract-C8s8EUL5.js} +1 -1
- package/dist/chunks/{common-types-g_1fKJLK.js → common-types-BLPy5_E0.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Lw4gjW_M.js → dashboard-briefing-launcher-B0f28WrK.js} +9 -9
- package/dist/chunks/{dashboard-briefing-launcher-8vxGyexK.cjs → dashboard-briefing-launcher-BjCkA5vw.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-BKR8g3M9.cjs → dashboard-controls-BRclCQEX.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-CRgDlxdt.js → dashboard-controls-CMJqSLgo.js} +9 -9
- package/dist/chunks/{dashboard-filter-value-compatibility-ilbH2A31.js → dashboard-filter-value-compatibility-9W8Ckcle.js} +168 -158
- package/dist/chunks/dashboard-filter-value-compatibility-Co1dn9Bc.cjs +1 -0
- package/dist/chunks/{dashboard-input-contract-Vr_3ApfF.js → dashboard-input-contract-BrGdGFz0.js} +6 -6
- package/dist/chunks/{dashboard-json-BhhVg9mI.js → dashboard-json-1ohpjO_q.js} +7 -7
- package/dist/chunks/{dashboard-json-CUgAzrYq.cjs → dashboard-json-DmtGHdDq.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-DlQtYQOO.js → edit-dashboard-visual-D9oKtOo6.js} +12 -12
- package/dist/chunks/{edit-dashboard-visual-BxmanBVo.cjs → edit-dashboard-visual-DNqJHdHE.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-CRWacpxi.js → editor-action-buttons-C_B8Wzkf.js} +6 -6
- package/dist/chunks/{editor-action-buttons-DKcD0UQy.cjs → editor-action-buttons-DwI3FcSw.cjs} +1 -1
- package/dist/chunks/{index-xdqe-Zvd.cjs → index-B6zSYUN4.cjs} +167 -167
- package/dist/chunks/{index-0fmECZL2.js → index-DalKzjEZ.js} +31914 -31864
- package/dist/chunks/{index-oVXvCLH-.js → index-DsvIlrI-.js} +9 -9
- package/dist/chunks/matrix-result-contract-Bhg60NtS.cjs +1 -0
- package/dist/chunks/matrix-result-contract-BpzhImar.js +421 -0
- package/dist/chunks/{pivot-header-presentation-7XrwJYDm.js → pivot-header-presentation-Be3FyR0N.js} +2 -2
- package/dist/chunks/{pivot-result-identity-5v4hRVbc.js → pivot-result-identity-CIZXsI53.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-O_roVguV.js → pivot-result-lifecycle-PxmbJWkm.js} +19 -19
- package/dist/chunks/{raw-temporal-contract-BEMf3avg.js → raw-temporal-contract-U8J9RlEH.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-Dxt9XMpd.js → report-preferences-dialog-C9mJffNQ.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-8KYKazoG.cjs → report-preferences-dialog-DGMd-eTT.cjs} +1 -1
- package/dist/chunks/{report-runtime-context-DnNbpkGo.js → report-runtime-context-DNbgCsko.js} +7 -7
- package/dist/chunks/{saved-temporal-bucket-format-CygnBDO2.js → saved-temporal-bucket-format-CHsXUPJI.js} +8 -8
- package/dist/chunks/source-entity-resolution-BDC-Qngk.cjs +1 -0
- package/dist/chunks/source-entity-resolution-ugN3sZUk.js +781 -0
- package/dist/chunks/{switch-CQN9Hzho.cjs → switch-B4eH4guz.cjs} +13 -13
- package/dist/chunks/{switch-n2yUNY8i.js → switch-D20CIzj6.js} +1460 -1455
- package/dist/chunks/{temporal-bucket-CUKJktCl.js → temporal-bucket-CtP7hKLa.js} +12 -12
- package/dist/chunks/{temporal-bucket-authoring-CZoJV2L6.js → temporal-bucket-authoring-DJ9kK2wD.js} +3 -3
- package/dist/chunks/{temporal-bucket-contract-Cno9TlYr.js → temporal-bucket-contract-CZl5D7FZ.js} +1 -1
- package/dist/chunks/{token-types-W3EHNW-D.js → token-types-DfDtCqlw.js} +1 -1
- package/dist/chunks/{update-policy-kRNJwwUV.js → update-policy-BybMiM61.js} +1 -1
- package/dist/chunks/{validators-B5t1s8oh.js → validators-D-T-2HOR.js} +50 -50
- 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 +355 -341
- 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 +14 -14
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/analytics-protocol.d.ts +141 -0
- package/dist/types/index.js +4 -4
- package/dist/types/main.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/dashboard-filter-value-compatibility-Dmh-NaPK.cjs +0 -1
- package/dist/chunks/matrix-result-contract-DoU9diAh.js +0 -822
- package/dist/chunks/matrix-result-contract-SrzyG_KQ.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var G=Object.defineProperty;var X=(e,t,n)=>t in e?G(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var S=(e,t,n)=>X(e,typeof t!="symbol"?t+"":t,n);const m=require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const Z=require("./source-entity-resolution-BDC-Qngk.cjs");function c(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}function H(e){return Array.from(new Set(e.filter(t=>!!t)))}function ee(e){const t=c(e.table),n=c(e.schema),r=c(e.catalog)||c(e.database);return t?H([t,n?`${n}.${t}`:null,r?`${r}.${t}`:null,r&&n?`${r}.${n}.${t}`:null]):[]}function B(e){const t=c(e.table)||c(e.tableName);return H([c(e.name),c(e.alias),...ee({table:t,schema:c(e.schema)||c(e.schemaName),catalog:c(e.catalog),database:c(e.database)||c(e.databaseName)})])}function te(e,t){const n=c(e.domainId),r=c(t.domainId);if(n&&r&&n!==r)return!0;if(e.type==="dataset")return!1;const i=c(e.id),d=c(t.id);if(i&&d&&i!==d)return!0;const o=c(e.connectionId),a=c(t.connectionId);return!!(o&&a&&o!==a)}function N(e,t=!1){return c(e.table)||c(e.tableName)||(e.type!=="dataset"||t?c(e.name):null)}function A(e){return c(e.catalog)||c(e.database)||c(e.databaseName)}function R(e){return c(e.schema)||c(e.schemaName)}function $(e){return e.length===1?e[0]:void 0}function ne(e,t){const n=N(t,!0),r=A(t),i=R(t);if(!(!n||!r&&!i))return $(e.filter(d=>{const o=d;return!(N(o)!==n||r&&A(o)!==r||i&&R(o)!==i)}))}function D(e,t){if(!t||!(e!=null&&e.length))return;const n=e.filter(a=>!te(a,t));if(t.type==="dataset"){const a=c(t.id);if(a)return $(n.filter(s=>s.type==="dataset"&&c(s.id)===a));if(c(t.domainId)){const s=c(t.name);return $(n.filter(g=>g.type==="dataset"&&c(g.name)===s))}}let r=[];if(t.type==="dataset"){const a=c(t.name);if(r=n.filter(l=>l.type==="dataset"&&c(l.name)===a),r.length===1)return r[0]}if(!!(N(t,!0)&&(A(t)||R(t))))return ne(n,t);if(r.length>1)return;const d=B(t);if(d.length===0)return;const o=n.filter(a=>B(a).some(s=>d.includes(s)));return $(o)}function C(e,t){const n=D(e,t);return n?{...t,...n}:t}function ie(e,t){const n=t||[];return n.length===0?e:{...e,baseEntity:C(n,e.baseEntity),joins:e.joins.map(r=>({...r,source:C(n,r.source),target:C(n,r.target)}))}}function re(e,t){if(!(e!=null&&e.joins.length))return[];const n=[e.baseEntity,...e.joins.flatMap(i=>[i.source,i.target])],r=[];return n.forEach(i=>{!D(t,i)&&!D(r,i)&&r.push(i)}),r}function I(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function _(e){return I(e)&&typeof e.name=="string"}function x(e){return!I(e)||e.kind!=="semantic"&&e.kind!=="physical"||(e.kind==="semantic"?[e.datasetId,e.datasetName,e.connectionId]:[e.databaseName,e.schemaName]).some(n=>n!==void 0&&typeof n!="string")?!1:m.hasCompleteSemaphorSourceIdentity(e)}function w(e,t){var s,g;const n=Array.isArray(t==null?void 0:t.selectedEntities)?t.selectedEntities.filter(_):void 0,r=D(n,e),i=r?{...e,...r}:e,d="domainId"in i&&typeof i.domainId=="string"&&!!i.domainId.trim();if((t==null?void 0:t.mode)==="semanticDomain"&&!d)return;if((t==null?void 0:t.mode)!=="database"&&i.type==="dataset"){const f=Z.resolveSemaphorSemanticDatasetEntity({entities:[i],semanticDomainId:t==null?void 0:t.semanticDomainId,connectionId:t==null?void 0:t.connectionId,fieldEntityType:"dataset"},{includePhysicalDatasets:!0});if(f.kind==="resolved"){const u="label"in i&&typeof i.label=="string"?i.label:void 0;return{...f.source,...u?{label:u}:{}}}}if((t==null?void 0:t.mode)==="semanticDomain")return;const o=i.connectionId||(t==null?void 0:t.connectionId),a=i.type==="dataset"&&"table"in i&&i.table?i.table:i.name;if(!o||!a)return;const l={kind:"physical",connectionId:o,connectionType:i.connectionType||(t==null?void 0:t.connectionType),tableName:a,databaseName:i.database||((s=t==null?void 0:t.dbSelection)==null?void 0:s.database),schemaName:i.schema||((g=t==null?void 0:t.dbSelection)==null?void 0:g.schema),dialect:i.dialect};return x(l)?l:void 0}function se(e,t){var a,l;const n=w(e,t);if(!n)return;const r=e.type==="dataset"&&"table"in e&&typeof e.table=="string"?e.table.trim():void 0,i=n.kind==="physical"?n.tableName:r,d=e.connectionId||(t==null?void 0:t.connectionId),o=i&&d?{connectionId:d,databaseName:e.database||((a=t==null?void 0:t.dbSelection)==null?void 0:a.database),schemaName:e.schema||((l=t==null?void 0:t.dbSelection)==null?void 0:l.schema),tableName:i}:void 0;return{source:n,...o?{executionTable:o}:{}}}function J(e){const t=I(e.dataSource)?e.dataSource:void 0;if(typeof e.sql=="string"&&e.sql.trim()){const o=[],a=Array.isArray(t==null?void 0:t.selectedEntities)?t.selectedEntities:[];for(const l of a){if(!_(l))continue;const s=se(l,t);s&&!o.some(g=>m.semaphorSourcesReferToSameDataset(g.source,s.source))&&o.push(s)}return{cardId:e.id,kind:"sql",pinnedCatalogSources:o}}if(!I(e.config))return{cardId:e.id,kind:"unconfigured"};const n=[],r=I(e.config.matrixIntent)?e.config.matrixIntent:void 0,i=e.type==="matrixTable"?(r==null?void 0:r.kind)==="matrix"?r.source:e.config.source:void 0;x(i)&&n.push(i);const d=I(e.config.joinPlan)?e.config.joinPlan:void 0;if(d){const o=Array.isArray(d.joins)?d.joins:[],a=[d.baseEntity];for(const s of o)I(s)&&a.push(s.source,s.target);let l=!1;for(const s of a){if(!_(s)){l=!0;continue}const g=w(s,t);g?n.push(g):l=!0}l&&(n.length=0)}else if(e.type!=="matrixTable"){const o=Array.isArray(t==null?void 0:t.selectedEntities)?t.selectedEntities:[];if(o.length===1&&_(o[0])){const a=w(o[0],t);a&&n.push(a)}}if(!n.length&&!d&&e.type!=="matrixTable"){const o=e.config.queryBaseSource;x(o)&&n.push(o)}return{cardId:e.id,kind:"config",executableSources:m.mergeSemaphorSourcesByIdentity(n)}}function L(e,t){return(e.kind==="config"?e.executableSources:e.kind==="sql"?e.pinnedCatalogSources.map(r=>r.source):[]).some(r=>m.semaphorSourcesReferToSameDataset(r,t))}function ae(e,t){if(e.kind==="config")return e.executableSources.find(n=>m.semaphorSourcesReferToSameDataset(n,t))}function oe(e,t){var n;return(n=z(e,t))==null?void 0:n.source}function z(e,t){if(e.kind==="sql")return e.pinnedCatalogSources.find(n=>m.semaphorSourcesReferToSameDataset(n.source,t))}function O(e){const t=new Set;for(const n of[e.name,e.sourceField]){if(!n)continue;const r=m.normalizeAnalyticsCatalogName(n);if(!r)continue;t.add(r);const i=r.split("."),d=i[i.length-1];d&&t.add(d)}return t}function V(e,t){const n=m.normalizeAnalyticsCatalogDataType(e),r=m.normalizeAnalyticsCatalogDataType(t);return n==="unknown"||r==="unknown"?!1:(n==="date"||n==="datetime")&&(r==="date"||r==="datetime")?!0:n===r}function de(e,t){return m.semaphorSourcesReferToSameDataset(e.field.source,t.field.source)&&m.normalizeAnalyticsCatalogName(e.field.name)===m.normalizeAnalyticsCatalogName(t.field.name)&&m.normalizeAnalyticsCatalogName(e.field.sourceField||e.field.name)===m.normalizeAnalyticsCatalogName(t.field.sourceField||t.field.name)}function U(e,t){if(e.kind!=="field")return!1;const n=O(t),r=O(e.field);return V(t.dataType,e.field.dataType)&&[...r].some(i=>n.has(i))}function ce(e){const t=e.candidates.filter(n=>U(n,e.logicalValueField));return t.length===1?{status:"matched",target:t[0]}:t.length>1?{status:"ambiguous"}:{status:"notApplicable"}}function le(e){const t=[];for(const n of e.acceptedTargets)!V(e.logicalValueField.dataType,n.field.dataType)||t.some(r=>de(r,n))||t.push(n);return t.length===1?{status:"matched",target:t[0]}:t.length>1?{status:"ambiguous"}:{status:"notApplicable"}}const ue=/\{\{-?\s*filters\s*\|\s*where\s*-?\}\}/i,fe=/\{\{-?\s*filters\s*\|\s*and\s*-?\}\}/i,me=/\bwhere\b/i;function j(e){return e!=null&&e.trim()?ue.test(e)||fe.test(e):!1}function he(e){return!(e!=null&&e.trim())||j(e)?null:me.test(e)?{helper:"{{ filters | and }}",description:"For queries with an existing WHERE clause."}:{helper:"{{ filters | where }}",description:"For queries without a WHERE clause."}}function be(e){return(e.field.sourceField||e.field.name).trim()||void 0}function ge(e){if(e.inventory.kind!=="sql"||e.target.kind!=="field")return{status:"ineligible"};const t=z(e.inventory,e.target.field.source),n=be(e.target);if(!t||!n)return{status:"ineligible"};if(t.executionTable){const o=[t.executionTable.databaseName,t.executionTable.schemaName,t.executionTable.tableName,n].filter(Boolean).join(".");return{status:"eligible",source:t.source,executionIdentifier:o}}if(e.inventory.pinnedCatalogSources.length!==1)return{status:"ineligible"};const r=m.normalizeAnalyticsCatalogName(n),i=(e.candidateTargets||[]).filter(o=>m.normalizeAnalyticsCatalogName(o.field.sourceField||o.field.name)===r),d=[];for(const o of i)d.some(a=>m.semaphorSourcesReferToSameDataset(a,o.field.source))||d.push(o.field.source);return d.length>1?{status:"ineligible"}:{status:"eligible",source:t.source,executionIdentifier:n}}class W extends Error{constructor(n){super(n.map(r=>r.message).join(" "));S(this,"issues");this.name="DashboardFilterMappingContractError",this.issues=n}}const pe={string:!0,number:!0,boolean:!0,date:!0,datetime:!0};function b(e){return typeof e=="string"&&e.trim().length>0}function h(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function F(e){return Array.isArray(e)&&e.every(t=>typeof t=="string")}function ye(e){if(!h(e))return!1;switch(e.kind){case"allSheets":return e.sheetKinds===void 0||F(e.sheetKinds)&&e.sheetKinds.every(t=>t==="dashboard"||t==="document");case"sheets":return F(e.sheetIds);case"cards":return F(e.cardIds);case"documentSections":return b(e.sheetId)&&F(e.sectionIds);default:return!1}}function Ie(e){return e==="shared"||e==="perSheet"||e==="perCard"||e==="perDocumentSection"}function Te(e){return h(e)?b(e.id)&&b(e.column)&&b(e.dataType):!1}function Fe(e,t,n,r){var a;if(!h(t)){r.push({code:"invalid_option_source",path:n,message:`${n} must be a semantic or physical option source.`,inputId:e});return}const i=t.source,d=[["labelField",t.labelField],["valueField",t.valueField],["searchField",t.searchField]];if(!h(i)||i.kind!=="semantic"&&i.kind!=="physical"||!m.hasCompleteSemaphorSourceIdentity(i)||!h(t.labelField)||!h(t.valueField)||t.searchField!==void 0&&!h(t.searchField)||t.disambiguationFields!==void 0&&(!Array.isArray(t.disambiguationFields)||!t.disambiguationFields.every(h))){r.push({code:"invalid_option_source",path:n,message:`${n} must contain a valid semantic or physical source and field references.`,inputId:e});return}for(const[l,s]of d)s!==void 0&&h(s)&&(!b(s.name)||s.source!==void 0&&!m.semaphorSourcesReferToSameDataset(s.source,i))&&r.push({code:"invalid_option_source",path:`${n}.${l}`,message:`${n}.${l} must be a named field belonging to the declared option source.`,inputId:e});for(const[l,s]of((a=t.disambiguationFields)==null?void 0:a.entries())||[])(!h(s)||!b(s.name)||s.source!==void 0&&!m.semaphorSourcesReferToSameDataset(s.source,i))&&r.push({code:"invalid_option_source",path:`${n}.disambiguationFields[${l}]`,message:`${n}.disambiguationFields[${l}] must be a named field belonging to the declared option source.`,inputId:e});const o=t.valueField;["string","number","boolean","date","datetime"].includes(String(o.dataType))||r.push({code:"invalid_option_source",path:`${n}.valueField.dataType`,message:`${n}.valueField.dataType must be a known option-value datatype.`,inputId:e})}function $e(e,t,n,r,i,d){var s;if(b(t.bindingId)||i.push({code:"invalid_binding_id",path:`${n}.bindingId`,message:`${n}.bindingId must be an opaque non-empty id.`,inputId:e,cardId:t.cardId}),((s=t.target)==null?void 0:s.kind)!=="field"){i.push({code:"unsupported_target",path:`${n}.target`,message:`${n}.target must be one direct field target.`,inputId:e,cardId:t.cardId,bindingId:t.bindingId});return}const o=t.target.field;if(!b(o==null?void 0:o.name)||!o.source||o.source.kind!=="semantic"&&o.source.kind!=="physical"||!m.hasCompleteSemaphorSourceIdentity(o.source)){i.push({code:"invalid_target_field",path:`${n}.target.field`,message:`${n}.target.field must have a name and a source-qualified semantic or physical identity.`,inputId:e,cardId:t.cardId,bindingId:t.bindingId});return}if(Object.prototype.hasOwnProperty.call(pe,o.dataType)||i.push({code:"unknown_target_data_type",path:`${n}.target.field.dataType`,message:`${n}.target.field.dataType must be known.`,inputId:e,cardId:t.cardId,bindingId:t.bindingId}),o.sourceField!==void 0&&!b(o.sourceField)&&i.push({code:"invalid_target_field",path:`${n}.target.field.sourceField`,message:`${n}.target.field.sourceField must be a non-empty catalog-grounded column when provided.`,inputId:e,cardId:t.cardId,bindingId:t.bindingId}),!d)return;const a=r.get(t.cardId);if(!a){i.push({code:"unknown_card",path:`${n}.cardId`,message:`${n}.cardId '${t.cardId}' does not exist.`,inputId:e,cardId:t.cardId,bindingId:t.bindingId});return}const l=J(a);(l.kind==="unconfigured"||!L(l,o.source))&&i.push({code:"unavailable_card_source",path:`${n}.target.field.source`,message:`${n}.target field source is not declared by card '${a.id}'.`,inputId:e,cardId:a.id,bindingId:t.bindingId})}function _e(e,t,n,r,i,d){if(t===void 0)return;if(!h(t)||t.kind!=="cardMappings"||!Array.isArray(t.cards)){i.push({code:"invalid_application",path:n,message:`${n} must be a cardMappings application with a cards array.`,inputId:e});return}const o=new Set;t.cards.forEach((a,l)=>{const s=`${n}.cards[${l}]`;if(!b(a==null?void 0:a.cardId)){i.push({code:"unknown_card",path:`${s}.cardId`,message:`${s}.cardId is required.`,inputId:e});return}if(o.has(a.cardId)){i.push({code:"duplicate_card_application",path:`${s}.cardId`,message:`${n} contains more than one entry for card '${a.cardId}'.`,inputId:e,cardId:a.cardId});return}if(o.add(a.cardId),d&&!r.has(a.cardId)){i.push({code:"unknown_card",path:`${s}.cardId`,message:`${s}.cardId '${a.cardId}' does not exist.`,inputId:e,cardId:a.cardId});return}a.kind==="bound"?$e(e,a,s,r,i,d):a.kind!=="excluded"&&i.push({code:"invalid_application",path:s,message:`${s}.kind must be 'bound' or 'excluded'.`,inputId:e,cardId:a.cardId})})}function K({inputs:e,dashboardFilters:t,cards:n=[],validateCardTargets:r=!1}){const i=[],d=new Map((t||[]).map(s=>[s.id,s])),o=new Map(r?n.map(s=>[s.id,s]):[]),a=[],l=new Map;return e!=null&&!Array.isArray(e)?(i.push({code:"invalid_input",path:"dashboard.inputs",message:"dashboard.inputs must be an array when present."}),{ok:!1,inputs:a,issues:i}):((Array.isArray(e)?e:[]).forEach((s,g)=>{const f=`dashboard.inputs[${g}]`;if(!h(s)||s.kind!=="filter"&&s.kind!=="control"||!b(s.id)||!b(s.label)||!b(s.variableName)||!ye(s.scope)||!Ie(s.runtimeScope)){i.push({code:"invalid_input",path:f,message:`${f} must be a complete filter or control Dashboard Input envelope.`,inputId:h(s)&&typeof s.id=="string"?s.id:void 0});return}if(s.kind==="control"&&!h(s.control)){i.push({code:"invalid_input",path:`${f}.control`,message:`${f}.control must be a control definition.`,inputId:s.id});return}const u=s;if(u.kind==="control"){a.push(u);return}const E=u.filter,y=u.filterReference,T=E!==void 0,P=!!y;if(T&&P){i.push({code:"both_filter_definitions",path:f,message:`${f} must contain either filter or filterReference, not both.`,inputId:u.id});return}if(!T&&!P){i.push({code:"missing_filter_definition",path:f,message:`${f} must contain filter or filterReference.`,inputId:u.id});return}if(T&&!Te(E)){i.push({code:"invalid_input",path:`${f}.filter`,message:`${f}.filter must be a complete dashboard filter definition.`,inputId:u.id});return}let p,v;if(T)p=E,v="embedded";else{if((y==null?void 0:y.kind)!=="dashboardFilter"){i.push({code:"invalid_filter_reference",path:`${f}.filterReference.kind`,message:`${f}.filterReference.kind must be 'dashboardFilter'.`,inputId:u.id});return}const k=typeof(y==null?void 0:y.filterId)=="string"?y.filterId:void 0;if(p=k?d.get(k):void 0,v="dashboardFilter",!p){i.push({code:"orphaned_filter_reference",path:`${f}.filterReference.filterId`,message:`${f}.filterReference cannot resolve dashboard filter '${k||""}'.`,inputId:u.id});return}if(p.kind==="global-date"){i.push({code:"global_date_reference",path:`${f}.filterReference`,message:`${f}.filterReference cannot reference the Global Date filter.`,inputId:u.id});return}const M=l.get(p.id);if(M){i.push({code:"duplicate_filter_reference",path:`${f}.filterReference.filterId`,message:`${f}.filterReference duplicates dashboard filter '${p.id}' already owned by Dashboard Input '${M}'.`,inputId:u.id});return}l.set(p.id,u.id)}if(!p)return;if(u.optionSource!==void 0&&Fe(u.id,u.optionSource,`${f}.optionSource`,i),u.application&&p.kind==="global-date"){i.push({code:"global_date_reference",path:`${f}.application`,message:`${f}.application cannot map the Global Date filter.`,inputId:u.id});return}u.application&&u.scope.kind!=="allSheets"&&u.scope.kind!=="sheets"&&i.push({code:"unsupported_mapped_scope",path:`${f}.scope`,message:`${f}.scope must be allSheets or sheets when cardMappings are present.`,inputId:u.id}),_e(u.id,u.application,`${f}.application`,o,i,r);const{filter:Ce,filterReference:Ne,compatibility:q,...Y}=u;a.push({...Y,filter:p,...T&&q?{compatibility:q}:{},...u.optionSource?{optionSource:u.optionSource}:{},definitionOrigin:v})}),i.length?{ok:!1,inputs:a,issues:i}:{ok:!0,inputs:a})}function De(e){const t=K(e);if(!t.ok)throw new W(t.issues);return t.inputs}function Ee(e=()=>globalThis.crypto.randomUUID()){return e()}const ve={date:new Set(["between","not between","=","!=",">",">=","<","<=","is null","is not null"]),number:new Set(["between","not between","=","!=",">",">=","<","<=","in","not in","is null","is not null"]),string:new Set(["=","!=","in","not in","like","not like","is null","is not null"]),boolean:new Set(["=","!=","in","not in","is null","is not null"])};function Q(e){const t=m.normalizeAnalyticsCatalogDataType(e);return t==="number"||t==="boolean"?t:t==="date"||t==="datetime"?"date":"string"}function ke(e,t){return typeof t!="string"?!1:ve[Q(e)].has(t)}exports.DashboardFilterMappingContractError=W;exports.buildDashboardCardSourceIndex=J;exports.createDashboardFilterBindingId=Ee;exports.dashboardCardFilterSourceInventoryContains=L;exports.dashboardFilterTargetMatchesLogicalValue=U;exports.dashboardFilterValueTypeForDataType=Q;exports.findDashboardCardExecutableSource=ae;exports.findDashboardCardPinnedCatalogSource=oe;exports.findDashboardSqlPinnedCatalogSource=z;exports.findOrphanedJoinPlanEntities=re;exports.getDashboardFilterSubscriptionHint=he;exports.hasDashboardFilterSubscription=j;exports.isDashboardFilterOperationCompatible=ke;exports.normalizeDashboardInputs=K;exports.normalizeJoinPlanEntityReferences=ie;exports.requireNormalizedDashboardInputs=De;exports.resolveDashboardFilterAutomaticTarget=ce;exports.resolveDashboardFilterInheritedTarget=le;exports.resolveDashboardSqlFilterTarget=ge;
|
package/dist/chunks/{dashboard-input-contract-Vr_3ApfF.js → dashboard-input-contract-BrGdGFz0.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as _ } from "./validators-D-T-2HOR.js";
|
|
2
2
|
function C(e, n) {
|
|
3
3
|
const t = e.split(".").map((r) => r.trim()), i = n.split(".").map((r) => r.trim());
|
|
4
4
|
if (t.length === 0 || i.length === 0 || t.some((r) => !r) || i.some((r) => !r))
|
|
@@ -96,7 +96,7 @@ function S(e, n) {
|
|
|
96
96
|
source: { kind: "physical", connectionId: o, tableName: m }
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function A(e, n) {
|
|
100
100
|
const t = u(e.fieldMeta) ? e.fieldMeta : void 0, i = typeof (t == null ? void 0 : t.qualifiedFieldName) == "string" ? t.qualifiedFieldName.trim() : "", s = h(
|
|
101
101
|
t == null ? void 0 : t.qualifiedFieldName
|
|
102
102
|
), o = typeof e.column == "string" ? e.column.trim() : "", a = h(o), r = typeof e.qualifiedTableName == "string" ? e.qualifiedTableName.trim() : "", c = v(
|
|
@@ -117,7 +117,7 @@ function E(e, n) {
|
|
|
117
117
|
const g = a || s || m;
|
|
118
118
|
return g ? { status: "resolved", qualifiedFieldName: g } : { status: "unresolved", reason: "incomplete_field_identity" };
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function E(e) {
|
|
121
121
|
if (!u(e))
|
|
122
122
|
return { status: "ineligible", reason: "invalid_input" };
|
|
123
123
|
if (e.kind === "global-date")
|
|
@@ -134,7 +134,7 @@ function A(e) {
|
|
|
134
134
|
return { status: "ineligible", reason: "custom_filter" };
|
|
135
135
|
if (e.targetColumns !== void 0 && (!Array.isArray(e.targetColumns) || e.targetColumns.length > 0))
|
|
136
136
|
return { status: "ineligible", reason: "multi_target_filter" };
|
|
137
|
-
const s = T(e), o =
|
|
137
|
+
const s = T(e), o = A(e, s === void 0);
|
|
138
138
|
if (o.status === "unresolved")
|
|
139
139
|
return { status: "ineligible", reason: o.reason };
|
|
140
140
|
const a = s || S(e, o.qualifiedFieldName);
|
|
@@ -148,7 +148,7 @@ function A(e) {
|
|
|
148
148
|
function B(e) {
|
|
149
149
|
if (!u(e) || e.kind !== "filter" || !u(e.filter))
|
|
150
150
|
return { status: "ineligible", reason: "invalid_input" };
|
|
151
|
-
const n =
|
|
151
|
+
const n = E(
|
|
152
152
|
e.filter
|
|
153
153
|
);
|
|
154
154
|
return n.status === "ineligible" ? n : n.kind === "field_date" && u(e.compatibility) && e.compatibility.source === "cardInlineFilter" ? { status: "ineligible", reason: "card_inline_filter" } : n;
|
|
@@ -178,6 +178,6 @@ export {
|
|
|
178
178
|
j as g,
|
|
179
179
|
k as i,
|
|
180
180
|
N as q,
|
|
181
|
-
|
|
181
|
+
E as r,
|
|
182
182
|
F as s
|
|
183
183
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as p, useState as u, useRef as f, useEffect as b } from "react";
|
|
3
3
|
import { X as S } from "./x-CXDkqdur.js";
|
|
4
|
-
import { u as a, c as N, B as D, C as J } from "./switch-
|
|
5
|
-
import "./saved-temporal-bucket-format-
|
|
6
|
-
import "./validators-
|
|
7
|
-
import "./analyze-result-contract-
|
|
4
|
+
import { u as a, c as N, B as D, C as J } from "./switch-D20CIzj6.js";
|
|
5
|
+
import "./saved-temporal-bucket-format-CHsXUPJI.js";
|
|
6
|
+
import "./validators-D-T-2HOR.js";
|
|
7
|
+
import "./analyze-result-contract-C8s8EUL5.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-DalKzjEZ.js";
|
|
10
10
|
import "./appearance-runtime-provider-CjmE4gBY.js";
|
|
11
11
|
import "./appearance-context-DVXt8qjW.js";
|
|
12
12
|
import "./index-DSKR3nKn.js";
|
|
13
|
-
import "./temporal-bucket-authoring-
|
|
13
|
+
import "./temporal-bucket-authoring-DJ9kK2wD.js";
|
|
14
14
|
import "./color-CJvdlFM_.js";
|
|
15
15
|
import "react-dom";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-DsvIlrI-.js";
|
|
17
17
|
function q() {
|
|
18
18
|
const r = a((o) => o.dashboard), c = a((o) => o.actions.setDashboard), h = a(
|
|
19
19
|
(o) => o.showDashboardJSON
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.cjs"),r=require("./switch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react"),b=require("./x-B6ghREd2.cjs"),r=require("./switch-B4eH4guz.cjs");require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");require("./index-B6zSYUN4.cjs");require("./appearance-runtime-provider-BgNYdUYH.cjs");require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./temporal-bucket-authoring-DSpzgXHc.cjs");require("./color-CyB5o13F.cjs");require("react-dom");require("./index-B4VxBoJg.cjs");function S(){const t=r.useDashboardStore(e=>e.dashboard),d=r.useDashboardStore(e=>e.actions.setDashboard),c=r.useDashboardStore(e=>e.showDashboardJSON),h=r.useDashboardStore(e=>e.actions.setShowDashboardJSON),s=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,n]=o.useState(s),i=o.useRef(s);return o.useEffect(()=>{s!==i.current&&(n(s),i.current=s)},[s]),a.jsxs("div",{className:r.cn("relative p-2",{hidden:!c}),children:[a.jsxs(r.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(b.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(r.CodeEditor,{value:l,onValueChange:e=>{n(e);try{const u=JSON.parse(e);i.current=JSON.stringify(u,null,2),d(u)}catch{}},language:"json"})})]})}exports.default=S;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as we } from "react/jsx-runtime";
|
|
2
2
|
import * as Wc from "react";
|
|
3
3
|
import Jt, { useState as K, useEffect as Se, useMemo as ce, useRef as Ee, useCallback as Ie, useId as Pi, useContext as fr, Suspense as Jc } from "react";
|
|
4
|
-
import { cX as Li, aH as xn, aI as bn, aJ as vn, aK as yn, aL as Pn, aF as ds, bj as Et, bk as Ht, cY as Vi, cZ as rs, aG as it, c_ as Bi, c$ as ls, b4 as Ia, aZ as xt, ce as gr, b2 as na, bl as aa, bi as Ot, d0 as us, d1 as Yi, d2 as Xc, d3 as Zc, d4 as ed, d5 as _i, d6 as xr, d7 as td, d8 as nd, d9 as ad, da as sd, db as sr, dc as is, az as zn, n as $i, dd as rd, de as ld, df as zi, dg as ji, dh as qi, di as id, dj as od, dk as cd, dl as dd, cL as br, b1 as Ki, b8 as Ui, dm as wn, dn as rr, dp as ud, c6 as Ta, dq as Gi, dr as Ll, ds as Vl, bf as Wn, aN as an, aO as gt, dt as md, du as Hi, dv as Qi, bW as lt, dw as zt, dx as hd, dy as Wi, dz as pd, dA as Ji, dB as fd, dC as gd, dD as xd, aD as Xi, dE as bd, dF as vd, dG as yd, dH as Nd, dI as Cd, dJ as wd, dK as Sd, dL as Vs, dM as Td, dN as Bl, dO as kd, dP as Yl, dQ as Dd, bh as Dt, cb as sa, cc as ra, cd as la, dR as Zi, bH as vr, aM as yr, dS as eo, dT as Nr, dU as Md, dV as Id, dW as Cr, dX as Ed, dY as Ad, dZ as to, d_ as no, d$ as ao, e0 as Gt, e1 as Od, e2 as Fd, e3 as Rd, e4 as Pd, e5 as so, e6 as ro, H as lo, e7 as wr, e8 as Ld, e9 as Vd, ea as Bd, eb as Ea, M as Yd, ec as _d, ed as $d, ee as _l, ef as zd, E as vs, e as Sr, eg as jd, eh as Tr, bz as qd, ei as $l, I as pt, ej as Kd, ek as Ud, el as io, em as oo, en as Gd, eo as kr, ep as Dr, eq as zl, er as qa, es as Hd, et as Qd, eu as Wd, ev as Jd, ew as Xd, ex as ms, ey as Zd, ez as eu, eA as co, eB as uo, eC as tu, eD as nu, cq as au, eE as su, eF as mo, eG as ru, eH as lu, cr as ys, eI as Ns, bA as On, bB as Pt, eJ as Mr, eK as Ln, eL as Vn, eM as Nn, eN as ea, eO as iu, eP as ou, eQ as cu, eR as du, eS as uu, eT as mu, eU as hu, eV as jl, bp as Xt, bq as Zt, br as en, eW as pu, eX as ho, eY as fu, eZ as gu, e_ as po, e$ as xu, f0 as bu, f1 as vu, f2 as yu, f3 as Bs, f4 as Nu, f5 as Cu, f6 as Cs, f7 as fo, f8 as wu, f9 as Su, fa as Tu, fb as ku, fc as Du, fd as Mu, fe as Iu, ff as Eu, fg as Au, fh as lr, fi as Ou, fj as Fu, fk as ql, b3 as ir, a$ as Cn, aP as Ru, aQ as Pu, aS as Lu, aT as Vu, aU as Bu, aV as Yu, aW as _u, aX as $u, aY as zu, bY as ju, fl as Aa, fm as Oa, fn as Fa, cE as Bn, cg as Ir, ch as qu, fo as Ku, fp as ws, fq as ot, fr as ct, fs as dt, ft as Uu, fu as Gu, fv as go, fw as xo, fx as bo, fy as vo, fz as Hu, fA as Qu, fB as or, fC as Wu, fD as Ju, fE as Xu, fF as Zu, fG as em, fH as tm, fI as nm, fJ as am, fK as sm, fL as rm, fM as lm, fN as im, fO as En, fP as Ca, fQ as om, fR as Kl, fS as cm, fT as dm, fU as Ys, fV as Ul, fW as um, fX as mm, fY as hm, fZ as pm, f_ as fm, aB as Er, aC as Ra, f$ as _s, g0 as yo, b6 as gm, g1 as hs, g2 as xm, g3 as No, g4 as Co, g5 as bm, g6 as vm, V as ym, g7 as ts, g8 as Nm, g9 as Gl, ga as Cm, gb as wm, gc as Hl, gd as Sm, ge as Tm, gf as km, gg as Dm, gh as Mm, aR as wo, gi as Im, gj as Em, gk as Am, gl as Om, gm as Fm, gn as Rm, go as Pm, gp as Lm, gq as Vm, gr as So, gs as Bm, gt as Ym, gu as Ss, cF as Ts, gv as To, gw as ko, gx as _m, gy as $m, gz as Do, gA as zm, gB as jm, gC as ks, gD as qm, gE as Km, gF as Um, gG as Gm, gH as Hm, gI as Ql, gJ as ta, gK as Mo, gL as Qm, ct as Wm, gM as Io, gN as Eo, gO as os, gP as Ao, gQ as Oo, gR as Wl, gS as Jm, gT as Xm, gU as cs, gV as Ar, gW as Zm, gX as ps, h as Pa, i as La, k as Va, j as Ba, l as Ya, m as _a, gY as eh, gZ as $a, g_ as pn, g$ as cr, h0 as dr, h1 as za, h2 as Fo, h3 as th, h4 as $s, h5 as zs, h6 as nh, h7 as js, h8 as ah, h9 as Jl, ha as Xl, hb as sh, cN as rh, hc as lh, cO as ih, cQ as oh, cR as ch, u as dh, hd as uh, he as mh, hf as hh, hg as ph, ci as fh, cj as gh, ck as xh, bV as Ds, hh as Ms, hi as Zl, hj as Ro, cH as qs, hk as bh, hl as vh, hm as yh, F as Nh, bw as Ch, hn as wh, ho as Sh } from "./index-
|
|
4
|
+
import { cX as Li, aH as xn, aI as bn, aJ as vn, aK as yn, aL as Pn, aF as ds, bj as Et, bk as Ht, cY as Vi, cZ as rs, aG as it, c_ as Bi, c$ as ls, b4 as Ia, aZ as xt, ce as gr, b2 as na, bl as aa, bi as Ot, d0 as us, d1 as Yi, d2 as Xc, d3 as Zc, d4 as ed, d5 as _i, d6 as xr, d7 as td, d8 as nd, d9 as ad, da as sd, db as sr, dc as is, az as zn, n as $i, dd as rd, de as ld, df as zi, dg as ji, dh as qi, di as id, dj as od, dk as cd, dl as dd, cL as br, b1 as Ki, b8 as Ui, dm as wn, dn as rr, dp as ud, c6 as Ta, dq as Gi, dr as Ll, ds as Vl, bf as Wn, aN as an, aO as gt, dt as md, du as Hi, dv as Qi, bW as lt, dw as zt, dx as hd, dy as Wi, dz as pd, dA as Ji, dB as fd, dC as gd, dD as xd, aD as Xi, dE as bd, dF as vd, dG as yd, dH as Nd, dI as Cd, dJ as wd, dK as Sd, dL as Vs, dM as Td, dN as Bl, dO as kd, dP as Yl, dQ as Dd, bh as Dt, cb as sa, cc as ra, cd as la, dR as Zi, bH as vr, aM as yr, dS as eo, dT as Nr, dU as Md, dV as Id, dW as Cr, dX as Ed, dY as Ad, dZ as to, d_ as no, d$ as ao, e0 as Gt, e1 as Od, e2 as Fd, e3 as Rd, e4 as Pd, e5 as so, e6 as ro, H as lo, e7 as wr, e8 as Ld, e9 as Vd, ea as Bd, eb as Ea, M as Yd, ec as _d, ed as $d, ee as _l, ef as zd, E as vs, e as Sr, eg as jd, eh as Tr, bz as qd, ei as $l, I as pt, ej as Kd, ek as Ud, el as io, em as oo, en as Gd, eo as kr, ep as Dr, eq as zl, er as qa, es as Hd, et as Qd, eu as Wd, ev as Jd, ew as Xd, ex as ms, ey as Zd, ez as eu, eA as co, eB as uo, eC as tu, eD as nu, cq as au, eE as su, eF as mo, eG as ru, eH as lu, cr as ys, eI as Ns, bA as On, bB as Pt, eJ as Mr, eK as Ln, eL as Vn, eM as Nn, eN as ea, eO as iu, eP as ou, eQ as cu, eR as du, eS as uu, eT as mu, eU as hu, eV as jl, bp as Xt, bq as Zt, br as en, eW as pu, eX as ho, eY as fu, eZ as gu, e_ as po, e$ as xu, f0 as bu, f1 as vu, f2 as yu, f3 as Bs, f4 as Nu, f5 as Cu, f6 as Cs, f7 as fo, f8 as wu, f9 as Su, fa as Tu, fb as ku, fc as Du, fd as Mu, fe as Iu, ff as Eu, fg as Au, fh as lr, fi as Ou, fj as Fu, fk as ql, b3 as ir, a$ as Cn, aP as Ru, aQ as Pu, aS as Lu, aT as Vu, aU as Bu, aV as Yu, aW as _u, aX as $u, aY as zu, bY as ju, fl as Aa, fm as Oa, fn as Fa, cE as Bn, cg as Ir, ch as qu, fo as Ku, fp as ws, fq as ot, fr as ct, fs as dt, ft as Uu, fu as Gu, fv as go, fw as xo, fx as bo, fy as vo, fz as Hu, fA as Qu, fB as or, fC as Wu, fD as Ju, fE as Xu, fF as Zu, fG as em, fH as tm, fI as nm, fJ as am, fK as sm, fL as rm, fM as lm, fN as im, fO as En, fP as Ca, fQ as om, fR as Kl, fS as cm, fT as dm, fU as Ys, fV as Ul, fW as um, fX as mm, fY as hm, fZ as pm, f_ as fm, aB as Er, aC as Ra, f$ as _s, g0 as yo, b6 as gm, g1 as hs, g2 as xm, g3 as No, g4 as Co, g5 as bm, g6 as vm, V as ym, g7 as ts, g8 as Nm, g9 as Gl, ga as Cm, gb as wm, gc as Hl, gd as Sm, ge as Tm, gf as km, gg as Dm, gh as Mm, aR as wo, gi as Im, gj as Em, gk as Am, gl as Om, gm as Fm, gn as Rm, go as Pm, gp as Lm, gq as Vm, gr as So, gs as Bm, gt as Ym, gu as Ss, cF as Ts, gv as To, gw as ko, gx as _m, gy as $m, gz as Do, gA as zm, gB as jm, gC as ks, gD as qm, gE as Km, gF as Um, gG as Gm, gH as Hm, gI as Ql, gJ as ta, gK as Mo, gL as Qm, ct as Wm, gM as Io, gN as Eo, gO as os, gP as Ao, gQ as Oo, gR as Wl, gS as Jm, gT as Xm, gU as cs, gV as Ar, gW as Zm, gX as ps, h as Pa, i as La, k as Va, j as Ba, l as Ya, m as _a, gY as eh, gZ as $a, g_ as pn, g$ as cr, h0 as dr, h1 as za, h2 as Fo, h3 as th, h4 as $s, h5 as zs, h6 as nh, h7 as js, h8 as ah, h9 as Jl, ha as Xl, hb as sh, cN as rh, hc as lh, cO as ih, cQ as oh, cR as ch, u as dh, hd as uh, he as mh, hf as hh, hg as ph, ci as fh, cj as gh, ck as xh, bV as Ds, hh as Ms, hi as Zl, hj as Ro, cH as qs, hk as bh, hl as vh, hm as yh, F as Nh, bw as Ch, hn as wh, ho as Sh } from "./index-DalKzjEZ.js";
|
|
5
5
|
import { c as Ze, C as St, X as rt } from "./x-CXDkqdur.js";
|
|
6
|
-
import { E as Ce, B as ee, N as fs, H as Ka, c as G, O as z, _ as se, $ as re, a0 as le, a1 as ie, a2 as q, D as P, Y as Nt, Q as Lt, V as Ct, W as wt, P as Tt, a as At, b as kt, aG as ka, aN as Or, aO as Po, aD as Fr, aB as Th, Z as Ye, aP as kh, L as sn, C as Yn, T as ia, F as oa, G as Yt, I as tn, d as rn, u as ve, R as gs, aQ as Rr, z as Lo, X as _n, M as Pr, S as $n, aR as Dh, aS as Mh, aT as Vo, ad as Ih, aI as Eh, aU as Ah, aV as Oh, aW as ei, aX as Fh, aY as Rh, aZ as Ph, a_ as Lh, a$ as Vh, b0 as ti, b1 as Bh, b2 as ni, b3 as ca, b4 as Yh, a3 as Qe, b5 as _h, b6 as Lr, b7 as ur, b8 as Bo, b9 as fn, ba as Yo, bb as $h, bc as _o, bd as zh, be as jh, bf as Bt, K as $o, bg as mt, bh as zo, r as ai, bi as qh, bj as Kh, bk as Uh, bl as Gh, bm as Hh, bn as Qh, bo as Wh, bp as Jh, bq as Xh, br as Zh, bs as ep, bt as si, bu as tp, bv as np, bw as ap, bx as sp, by as rp, J as Is, av as lp } from "./switch-
|
|
7
|
-
import { C as ip, h as da, v as Rn, c as ns, M as op, b as cp, g as dp, d as up } from "./saved-temporal-bucket-format-
|
|
8
|
-
import "./validators-
|
|
9
|
-
import "./analyze-result-contract-
|
|
6
|
+
import { E as Ce, B as ee, N as fs, H as Ka, c as G, O as z, _ as se, $ as re, a0 as le, a1 as ie, a2 as q, D as P, Y as Nt, Q as Lt, V as Ct, W as wt, P as Tt, a as At, b as kt, aG as ka, aN as Or, aO as Po, aD as Fr, aB as Th, Z as Ye, aP as kh, L as sn, C as Yn, T as ia, F as oa, G as Yt, I as tn, d as rn, u as ve, R as gs, aQ as Rr, z as Lo, X as _n, M as Pr, S as $n, aR as Dh, aS as Mh, aT as Vo, ad as Ih, aI as Eh, aU as Ah, aV as Oh, aW as ei, aX as Fh, aY as Rh, aZ as Ph, a_ as Lh, a$ as Vh, b0 as ti, b1 as Bh, b2 as ni, b3 as ca, b4 as Yh, a3 as Qe, b5 as _h, b6 as Lr, b7 as ur, b8 as Bo, b9 as fn, ba as Yo, bb as $h, bc as _o, bd as zh, be as jh, bf as Bt, K as $o, bg as mt, bh as zo, r as ai, bi as qh, bj as Kh, bk as Uh, bl as Gh, bm as Hh, bn as Qh, bo as Wh, bp as Jh, bq as Xh, br as Zh, bs as ep, bt as si, bu as tp, bv as np, bw as ap, bx as sp, by as rp, J as Is, av as lp } from "./switch-D20CIzj6.js";
|
|
7
|
+
import { C as ip, h as da, v as Rn, c as ns, M as op, b as cp, g as dp, d as up } from "./saved-temporal-bucket-format-CHsXUPJI.js";
|
|
8
|
+
import "./validators-D-T-2HOR.js";
|
|
9
|
+
import "./analyze-result-contract-C8s8EUL5.js";
|
|
10
10
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as ja } from "../value-format-preferences/index.js";
|
|
11
|
-
import { p as mp, q as ri, i as hp } from "./dashboard-filter-value-compatibility-
|
|
11
|
+
import { p as mp, q as ri, i as hp } from "./dashboard-filter-value-compatibility-9W8Ckcle.js";
|
|
12
12
|
import { C as _t, M as jo, a as qo, E as mr, S as Es } from "./search-BHsQIWBV.js";
|
|
13
|
-
import { f as pp, F as fp, g as gp, V as Ko, e as xp, C as bp, h as vp } from "./editor-action-buttons-
|
|
14
|
-
import { g as li, A as yp, c as Np, b as Ks } from "./temporal-bucket-authoring-
|
|
15
|
-
import { f as jn, r as Sn, b as Ua, c as nn, e as Xn, i as Cp, n as wp, h as Uo, j as Go, k as Ho, l as Sp, m as hr, o as Tp, p as kp, q as Dp } from "./index-
|
|
13
|
+
import { f as pp, F as fp, g as gp, V as Ko, e as xp, C as bp, h as vp } from "./editor-action-buttons-C_B8Wzkf.js";
|
|
14
|
+
import { g as li, A as yp, c as Np, b as Ks } from "./temporal-bucket-authoring-DJ9kK2wD.js";
|
|
15
|
+
import { f as jn, r as Sn, b as Ua, c as nn, e as Xn, i as Cp, n as wp, h as Uo, j as Go, k as Ho, l as Sp, m as hr, o as Tp, p as kp, q as Dp } from "./index-DsvIlrI-.js";
|
|
16
16
|
import { createPortal as Mp } from "react-dom";
|
|
17
17
|
import "./appearance-runtime-provider-CjmE4gBY.js";
|
|
18
18
|
import { u as Ip } from "./appearance-context-DVXt8qjW.js";
|
|
19
19
|
import "./index-DSKR3nKn.js";
|
|
20
20
|
import "./color-CJvdlFM_.js";
|
|
21
|
-
import { b as Ep, r as Ap } from "./pivot-result-lifecycle-
|
|
22
|
-
import { D as ii } from "./temporal-bucket-
|
|
21
|
+
import { b as Ep, r as Ap } from "./pivot-result-lifecycle-PxmbJWkm.js";
|
|
22
|
+
import { D as ii } from "./temporal-bucket-CtP7hKLa.js";
|
|
23
23
|
import { P as Op } from "./palette-Cp1hqZtm.js";
|
|
24
|
-
import { a as Fp } from "./common-types-
|
|
24
|
+
import { a as Fp } from "./common-types-BLPy5_E0.js";
|
|
25
25
|
/**
|
|
26
26
|
* @license lucide-react v0.453.0 - ISC
|
|
27
27
|
*
|
package/dist/chunks/{edit-dashboard-visual-BxmanBVo.cjs → edit-dashboard-visual-DNqJHdHE.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),C=require("react"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),C=require("react"),n=require("./index-B6zSYUN4.cjs"),re=require("./x-B6ghREd2.cjs"),t=require("./switch-B4eH4guz.cjs"),$e=require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");const Qt=require("../value-format-preferences/index.cjs"),os=require("./dashboard-filter-value-compatibility-Co1dn9Bc.cjs"),qe=require("./search-BqqhaMx9.cjs"),gt=require("./editor-action-buttons-DwI3FcSw.cjs"),Nt=require("./temporal-bucket-authoring-DSpzgXHc.cjs"),xe=require("./index-B4VxBoJg.cjs"),ar=require("react-dom");require("./appearance-runtime-provider-BgNYdUYH.cjs");const rr=require("./appearance-context-DhyjbQk1.cjs");require("./index-ByFbacH7.cjs");require("./color-CyB5o13F.cjs");const sa=require("./pivot-result-lifecycle-DJgO2P0H.cjs"),In=require("./temporal-bucket-9Wz9Ds6H.cjs"),or=require("./palette-BN-jYtaK.cjs"),lr=require("./common-types-C1IM7gao.cjs");function ir(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const cr=ir(C);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as Te, C as je, X as Ze } from "./x-CXDkqdur.js";
|
|
2
2
|
import { useState as H, useEffect as ie, useCallback as U, useMemo as oe, useRef as ke, Fragment as ht } from "react";
|
|
3
|
-
import { E as de, z as _e, u as J, D as z, a4 as bt, Q as gt, V as yt, W as vt, c as fe, Y as xt, a5 as Ct, a6 as kt, a7 as pe, a8 as Re, a9 as Qe, aa as Se, ab as Ne, ac as St, ad as $e, ae as Nt, af as wt, ag as me, ah as Dt, ai as Pe, B as L, aj as et, ak as tt, al as rt, O as ne, Z as at, _ as we, $ as De, a0 as Ee, a1 as Fe, a2 as Ie, am as st, an as Et, ao as Ft, ap as We, aq as It, ar as He, as as Vt, at as Tt, au as Ve, d as _t, L as nt, av as At, aw as Lt } from "./switch-
|
|
4
|
-
import { b7 as qt, az as Mt, b8 as ce, b9 as Ot, ba as Ae, bb as zt, bc as Ut, bd as Bt, aG as B, be as jt, bf as Rt, bg as Qt, bh as ot, bi as lt, u as $t, bj as Pt, bk as Wt, bl as Ht, bm as Kt, bn as it, bo as dt, bp as Yt, bq as Gt, br as Xt, bs as Jt, bt as Zt, aZ as er, bu as tr, bv as ct, bw as rr } from "./index-
|
|
3
|
+
import { E as de, z as _e, u as J, D as z, a4 as bt, Q as gt, V as yt, W as vt, c as fe, Y as xt, a5 as Ct, a6 as kt, a7 as pe, a8 as Re, a9 as Qe, aa as Se, ab as Ne, ac as St, ad as $e, ae as Nt, af as wt, ag as me, ah as Dt, ai as Pe, B as L, aj as et, ak as tt, al as rt, O as ne, Z as at, _ as we, $ as De, a0 as Ee, a1 as Fe, a2 as Ie, am as st, an as Et, ao as Ft, ap as We, aq as It, ar as He, as as Vt, at as Tt, au as Ve, d as _t, L as nt, av as At, aw as Lt } from "./switch-D20CIzj6.js";
|
|
4
|
+
import { b7 as qt, az as Mt, b8 as ce, b9 as Ot, ba as Ae, bb as zt, bc as Ut, bd as Bt, aG as B, be as jt, bf as Rt, bg as Qt, bh as ot, bi as lt, u as $t, bj as Pt, bk as Wt, bl as Ht, bm as Kt, bn as it, bo as dt, bp as Yt, bq as Gt, br as Xt, bs as Jt, bt as Zt, aZ as er, bu as tr, bv as ct, bw as rr } from "./index-DalKzjEZ.js";
|
|
5
5
|
import { jsx as r, jsxs as p, Fragment as re } from "react/jsx-runtime";
|
|
6
|
-
import "./saved-temporal-bucket-format-
|
|
7
|
-
import "./validators-
|
|
8
|
-
import "./analyze-result-contract-
|
|
6
|
+
import "./saved-temporal-bucket-format-CHsXUPJI.js";
|
|
7
|
+
import "./validators-D-T-2HOR.js";
|
|
8
|
+
import "./analyze-result-contract-C8s8EUL5.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { C as Ke } from "./search-BHsQIWBV.js";
|
|
11
|
-
import { f as ar } from "./index-
|
|
11
|
+
import { f as ar } from "./index-DsvIlrI-.js";
|
|
12
12
|
import { S as ut } from "./save-DgMfP0j8.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.453.0 - ISC
|
package/dist/chunks/{editor-action-buttons-DKcD0UQy.cjs → editor-action-buttons-DwI3FcSw.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-
|
|
1
|
+
"use strict";const J=require("./x-B6ghREd2.cjs"),v=require("react"),s=require("./switch-B4eH4guz.cjs"),f=require("./index-B6zSYUN4.cjs"),e=require("react/jsx-runtime");require("./saved-temporal-bucket-format-DNMtD77o.cjs");require("./validators-DcshgK7w.cjs");require("./analyze-result-contract-OgPk-zGu.cjs");require("../value-format-preferences/index.cjs");const ge=require("./search-BqqhaMx9.cjs"),Fe=require("./index-B4VxBoJg.cjs"),Se=require("./save-3dYRmehL.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|