react-semaphor 0.1.348 → 0.1.349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +46 -45
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +3 -3
  5. package/dist/chunks/{braces-Ccvdip75.js → braces-CBMh5wmd.js} +1 -1
  6. package/dist/chunks/{braces-DDHkbW1c.js → braces-Cc86y9Ov.js} +1 -1
  7. package/dist/chunks/{calendar-preferences-dialog-CaeYg4gz.js → calendar-preferences-dialog-C2vX2dga.js} +1 -1
  8. package/dist/chunks/{calendar-preferences-dialog-AVORk8vl.js → calendar-preferences-dialog-gMb9JPpz.js} +3 -3
  9. package/dist/chunks/{chevrons-up-down-B9fTSds9.js → chevrons-up-down-CUZL1zaU.js} +1 -1
  10. package/dist/chunks/{chevrons-up-down-pV0i9ptS.js → chevrons-up-down-fg3WME_w.js} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-B7hc62UJ.js → dashboard-briefing-launcher-Cx4NkJil.js} +4 -4
  12. package/dist/chunks/{dashboard-briefing-launcher-GmwoVZDA.js → dashboard-briefing-launcher-DjzTWk1f.js} +1 -1
  13. package/dist/chunks/dashboard-controls-BTz9RgtD.js +57 -0
  14. package/dist/chunks/{dashboard-controls-DOwo-4PX.js → dashboard-controls-Yo3L7krV.js} +129 -119
  15. package/dist/chunks/{dashboard-json-Bjge3tEx.js → dashboard-json-3_OGzDQh.js} +1 -1
  16. package/dist/chunks/{dashboard-json-CqWAmaOX.js → dashboard-json-OLpSyYFR.js} +2 -2
  17. package/dist/chunks/{edit-dashboard-visual-NXdSdqQS.js → edit-dashboard-visual-073yhfDG.js} +6 -6
  18. package/dist/chunks/{edit-dashboard-visual-biDU5oky.js → edit-dashboard-visual-DXzKEyXJ.js} +1 -1
  19. package/dist/chunks/index-Alj8oDV1.js +1410 -0
  20. package/dist/chunks/{index-DhuiooCy.js → index-DTSZ23bE.js} +36067 -35746
  21. package/dist/chunks/{palette-BMXS-AcI.js → palette-C1k347Tb.js} +1 -1
  22. package/dist/chunks/{palette-DKecBucs.js → palette-DP6TXUD8.js} +1 -1
  23. package/dist/chunks/{resource-management-panel-DIt7NxsX.js → resource-management-panel-BvTTEaef.js} +3 -3
  24. package/dist/chunks/{resource-management-panel-MHam0keE.js → resource-management-panel-DLJ6uWYJ.js} +1 -1
  25. package/dist/chunks/source-identity-C-xaeE_I.js +1 -0
  26. package/dist/chunks/source-identity-qAmkNtEK.js +49 -0
  27. package/dist/chunks/{switch-CP7SmEIZ.js → switch-21kU-tcj.js} +2 -2
  28. package/dist/chunks/{switch-DYRgERrC.js → switch-C0S63HAv.js} +1 -1
  29. package/dist/chunks/{use-create-flow-overlay-state-DS5aPcKd.js → use-create-flow-overlay-state-BMr_844V.js} +1 -1
  30. package/dist/chunks/{use-create-flow-overlay-state-p_i0aUhH.js → use-create-flow-overlay-state-gRSXj8dj.js} +3 -3
  31. package/dist/chunks/{use-visual-utils-EazVs86Z.js → use-visual-utils-7w01KGK7.js} +1 -1
  32. package/dist/chunks/{use-visual-utils-PfpWtYcR.js → use-visual-utils-D5zrmYt8.js} +2 -2
  33. package/dist/chunks/{validators-C2eI8fHy.js → validators-B-NiYgGc.js} +178 -224
  34. package/dist/chunks/validators-DlEfynH8.js +1 -0
  35. package/dist/dashboard/index.cjs +1 -1
  36. package/dist/dashboard/index.js +1 -1
  37. package/dist/dashboard-assistant/index.cjs +1 -0
  38. package/dist/dashboard-assistant/index.js +12 -0
  39. package/dist/dashboard-authoring/index.cjs +3 -3
  40. package/dist/dashboard-authoring/index.js +16 -15
  41. package/dist/data-app-builder/index.cjs +1 -1
  42. package/dist/data-app-builder/index.js +1 -1
  43. package/dist/data-app-sdk/index.cjs +1 -1
  44. package/dist/data-app-sdk/index.js +32 -31
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.js +7 -7
  47. package/dist/style.css +1 -1
  48. package/dist/surfboard/index.cjs +1 -1
  49. package/dist/surfboard/index.js +2 -2
  50. package/dist/types/dashboard-assistant.d.ts +1030 -0
  51. package/dist/types/dashboard-authoring.d.ts +1 -1
  52. package/dist/types/dashboard.d.ts +1 -1
  53. package/dist/types/main.d.ts +1 -1
  54. package/dist/types/shared.d.ts +1 -1
  55. package/dist/types/surfboard.d.ts +1 -1
  56. package/dist/types/types.d.ts +1 -1
  57. package/package.json +6 -1
  58. package/dist/chunks/dashboard-controls-Bthl3kl3.js +0 -52
  59. package/dist/chunks/index-D7U5s9Uk.js +0 -1425
  60. package/dist/chunks/validators-BNvNf_tO.js +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./switch-DYRgERrC.js");/**
1
+ "use strict";const c=require("./switch-C0S63HAv.js");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import { c } from "./switch-CP7SmEIZ.js";
1
+ import { c } from "./switch-21kU-tcj.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as n, Fragment as oe } from "react/jsx-runtime";
2
- import { c as He, u as se, G as Ge, a as Z, B as O, f as te, N as be, V as $e, L as ie, a2 as de, X as ke, Z as We, _ as Xe, $ as Ye, a1 as Ze, az as Je } from "./switch-CP7SmEIZ.js";
2
+ import { c as He, u as se, G as Ge, a as Z, B as O, f as te, N as be, V as $e, L as ie, a2 as de, X as ke, Z as We, _ as Xe, $ as Ye, a1 as Ze, az as Je } from "./switch-21kU-tcj.js";
3
3
  import Qe, { useState as b, useEffect as ee, useRef as qe } from "react";
4
- import { ah as ue, aL as et, aM as tt, aI as ce, aN as nt, aO as at, aP as st, aQ as it, aR as Y, aS as ot, aT as rt, aU as lt, aV as xe, az as he, aW as dt, aX as ct, aY as Ne, aZ as we, a_ as ut, J as ye, A as Ce, a$ as ve, b0 as Se, b1 as Ee, b2 as Ve, b3 as Le, b4 as Ae, b5 as Oe, b6 as Te, b7 as Re, b8 as ht, b9 as pe, ba as pt, y as ae, u as mt, bb as Ue, c as Ie, d as ze, e as Me, f as Pe, g as Fe, bc as ft, o as je, bd as gt, be as De, bf as xt } from "./index-DhuiooCy.js";
4
+ import { ah as ue, aL as et, aM as tt, aI as ce, aN as nt, aO as at, aP as st, aQ as it, aR as Y, aS as ot, aT as rt, aU as lt, aV as xe, az as he, aW as dt, aX as ct, aY as Ne, aZ as we, a_ as ut, J as ye, A as Ce, a$ as ve, b0 as Se, b1 as Ee, b2 as Ve, b3 as Le, b4 as Ae, b5 as Oe, b6 as Te, b7 as Re, b8 as ht, b9 as pe, ba as pt, y as ae, u as mt, bb as Ue, c as Ie, d as ze, e as Me, f as Pe, g as Fe, bc as ft, o as je, bd as gt, be as De, bf as xt } from "./index-DTSZ23bE.js";
5
5
  import "./index-CuHybtft.js";
6
- import { u as Be } from "./use-visual-utils-PfpWtYcR.js";
6
+ import { u as Be } from "./use-visual-utils-D5zrmYt8.js";
7
7
  /**
8
8
  * @license lucide-react v0.453.0 - ISC
9
9
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-DYRgERrC.js"),x=require("react"),t=require("./index-D7U5s9Uk.js");require("./index-BxM99sFL.js");const oe=require("./use-visual-utils-EazVs86Z.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("./switch-C0S63HAv.js"),x=require("react"),t=require("./index-Alj8oDV1.js");require("./index-BxM99sFL.js");const oe=require("./use-visual-utils-7w01KGK7.js");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -0,0 +1 @@
1
+ "use strict";function d(a){return a?a.kind==="semantic"?[a.kind,a.domainId,a.datasetId||"",a.datasetName].join(":"):a.kind==="physical"?[a.kind,a.connectionId,a.databaseName||"",a.schemaName||"",a.tableName].join(":"):[a.kind,a.connectionId,a.dialect||"",a.label||""].join(":"):""}function n(a,e){return!a||!e?a===e:a.kind!==e.kind?!1:a.kind==="semantic"&&e.kind==="semantic"?a.domainId!==e.domainId?!1:a.datasetId&&e.datasetId?a.datasetId===e.datasetId:a.datasetName===e.datasetName:d(a)===d(e)}function i(a,e){return a.kind!=="semantic"||e.kind!=="semantic"?a:{...a,datasetId:a.datasetId||e.datasetId,label:a.label||e.label,connectionId:a.connectionId||e.connectionId}}function t(a,e){return a.name===e.name&&n(a.source,e.source)}function o(a,e){return{...a,label:a.label||e.label,role:a.role||e.role,dataType:a.dataType||e.dataType,source:a.source&&e.source?i(a.source,e.source):a.source||e.source}}exports.preferSemaphorFieldRefMetadata=o;exports.preferSemaphorSourceMetadata=i;exports.semaphorFieldRefsMatch=t;exports.semaphorSourceIdentityKey=d;exports.semaphorSourcesReferToSameDataset=n;
@@ -0,0 +1,49 @@
1
+ function d(a) {
2
+ return a ? a.kind === "semantic" ? [
3
+ a.kind,
4
+ a.domainId,
5
+ a.datasetId || "",
6
+ a.datasetName
7
+ ].join(":") : a.kind === "physical" ? [
8
+ a.kind,
9
+ a.connectionId,
10
+ a.databaseName || "",
11
+ a.schemaName || "",
12
+ a.tableName
13
+ ].join(":") : [
14
+ a.kind,
15
+ a.connectionId,
16
+ a.dialect || "",
17
+ a.label || ""
18
+ ].join(":") : "";
19
+ }
20
+ function n(a, e) {
21
+ return !a || !e ? a === e : a.kind !== e.kind ? !1 : a.kind === "semantic" && e.kind === "semantic" ? a.domainId !== e.domainId ? !1 : a.datasetId && e.datasetId ? a.datasetId === e.datasetId : a.datasetName === e.datasetName : d(a) === d(e);
22
+ }
23
+ function i(a, e) {
24
+ return a.kind !== "semantic" || e.kind !== "semantic" ? a : {
25
+ ...a,
26
+ datasetId: a.datasetId || e.datasetId,
27
+ label: a.label || e.label,
28
+ connectionId: a.connectionId || e.connectionId
29
+ };
30
+ }
31
+ function t(a, e) {
32
+ return a.name === e.name && n(a.source, e.source);
33
+ }
34
+ function o(a, e) {
35
+ return {
36
+ ...a,
37
+ label: a.label || e.label,
38
+ role: a.role || e.role,
39
+ dataType: a.dataType || e.dataType,
40
+ source: a.source && e.source ? i(a.source, e.source) : a.source || e.source
41
+ };
42
+ }
43
+ export {
44
+ d as a,
45
+ n as b,
46
+ o as c,
47
+ i as p,
48
+ t as s
49
+ };
@@ -4927,8 +4927,8 @@ function Lm(e) {
4927
4927
  };
4928
4928
  }
4929
4929
  function Vm(e) {
4930
- var r;
4931
- return ((r = e.dynamicCardPreferences) == null ? void 0 : r.provenance) === "card-config" && !!e.config;
4930
+ var r, t;
4931
+ return (((r = e.dynamicCardPreferences) == null ? void 0 : r.provenance) === "card-config" || ((t = e.dynamicCardPreferences) == null ? void 0 : t.provenance) === "query_spec") && !!e.config;
4932
4932
  }
4933
4933
  function Bm(e) {
4934
4934
  var r, t, n, o;