react-semaphor 0.1.391 → 0.1.393

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 (68) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +120 -252
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +7 -7
  5. package/dist/chunks/analyze-result-contract-C9Gv2_qW.js +1585 -0
  6. package/dist/chunks/analyze-result-contract-Zgg-Bbpj.js +1 -0
  7. package/dist/chunks/{braces--20GzUQh.js → braces-8TRlDwDw.js} +1 -1
  8. package/dist/chunks/{braces-C0Vh_Mft.js → braces-D2tStQjF.js} +1 -1
  9. package/dist/chunks/{calendar-preferences-dialog-B-VsxhsA.js → calendar-preferences-dialog-49fcEPXS.js} +4 -4
  10. package/dist/chunks/{calendar-preferences-dialog-DE67Z3oQ.js → calendar-preferences-dialog-DwLeBLy2.js} +1 -1
  11. package/dist/chunks/dashboard-briefing-launcher-CgkSKkZR.js +80 -0
  12. package/dist/chunks/{dashboard-briefing-launcher-BIj3X7b3.js → dashboard-briefing-launcher-cgPKz1yX.js} +252 -252
  13. package/dist/chunks/dashboard-controls-D12ZSUP_.js +52 -0
  14. package/dist/chunks/{dashboard-controls-BXxucM4f.js → dashboard-controls-VMFm3OP4.js} +87 -87
  15. package/dist/chunks/{dashboard-json-C6oZuipD.js → dashboard-json-C-GG5yC7.js} +4 -4
  16. package/dist/chunks/{dashboard-json-BNwshkK2.js → dashboard-json-CvK0oI24.js} +1 -1
  17. package/dist/chunks/{edit-dashboard-visual-CmfrI_L3.js → edit-dashboard-visual-B5KB7dx4.js} +977 -977
  18. package/dist/chunks/edit-dashboard-visual-ql99faTz.js +178 -0
  19. package/dist/chunks/{index-icb12JV1.js → index-CQmKDEbe.js} +735 -741
  20. package/dist/chunks/{index-4W_ElSBJ.js → index-DXCBPLDu.js} +218 -223
  21. package/dist/chunks/{layout-grid-B7-klXiK.js → layout-grid-C0OI-MRn.js} +1 -1
  22. package/dist/chunks/{layout-grid-DV89AC9_.js → layout-grid-CiubineE.js} +1 -1
  23. package/dist/chunks/{palette-Dj-dgPYh.js → palette-C4KTXOug.js} +1 -1
  24. package/dist/chunks/{palette-5IwhMbSF.js → palette-Cp1hqZtm.js} +1 -1
  25. package/dist/chunks/{save-C5fwVdTF.js → save-C__QggEE.js} +1 -1
  26. package/dist/chunks/{save-16C6YSW2.js → save-DgMfP0j8.js} +1 -1
  27. package/dist/chunks/{search-0LmWwZzW.js → search-BHsQIWBV.js} +17 -7
  28. package/dist/chunks/{search-Dq1Mbb03.js → search-DNCejM7Z.js} +9 -4
  29. package/dist/chunks/source-identity-uMaUe036.js +1 -0
  30. package/dist/chunks/{source-identity-CN4xiyKJ.js → source-identity-y0VSSreA.js} +33 -15
  31. package/dist/chunks/{switch-bdJp0Bkw.js → switch-B79Hn4Qh.js} +27 -32
  32. package/dist/chunks/{switch-DUdaHFZQ.js → switch-BXQAlSuW.js} +637 -647
  33. package/dist/chunks/use-create-flow-overlay-state-7MFN3PWX.js +21 -0
  34. package/dist/chunks/{use-create-flow-overlay-state-YvqCp6Zo.js → use-create-flow-overlay-state-Bw5LRkf9.js} +93 -92
  35. package/dist/chunks/{validators-CHPH6ORs.js → validators-4EGCWWga.js} +1 -1
  36. package/dist/chunks/{validators-lWo8m0Q7.js → validators-CPtkrola.js} +1 -1
  37. package/dist/chunks/{x-B_cx7LwM.js → x-B6ghREd2.js} +10 -5
  38. package/dist/chunks/{x-IdR_js6f.js → x-CXDkqdur.js} +28 -18
  39. package/dist/dashboard/index.cjs +1 -1
  40. package/dist/dashboard/index.js +1 -1
  41. package/dist/dashboard-authoring/index.cjs +1 -1
  42. package/dist/dashboard-authoring/index.js +3 -3
  43. package/dist/data-app-builder/index.cjs +13 -13
  44. package/dist/data-app-builder/index.js +11 -11
  45. package/dist/data-app-sdk/index.cjs +5 -5
  46. package/dist/data-app-sdk/index.js +1589 -1234
  47. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  48. package/dist/data-app-sdk-adapters/index.js +6 -7
  49. package/dist/data-app-sdk-validation/index.cjs +1 -1
  50. package/dist/data-app-sdk-validation/index.js +3 -3
  51. package/dist/index.cjs +1 -1
  52. package/dist/index.js +13 -13
  53. package/dist/surfboard/index.cjs +1 -1
  54. package/dist/surfboard/index.js +2 -2
  55. package/dist/types/analytics-protocol.d.ts +2107 -43
  56. package/dist/types/dashboard-assistant.d.ts +3 -1
  57. package/dist/types/data-app-sdk-adapters.d.ts +1 -1
  58. package/dist/types/data-app-sdk-validation.d.ts +4 -2
  59. package/dist/types/data-app-sdk.d.ts +73 -5
  60. package/package.json +2 -1
  61. package/src/data-app-sdk/README.md +55 -0
  62. package/dist/chunks/analyze-result-contract-CtXfp3nv.js +0 -1
  63. package/dist/chunks/analyze-result-contract-DuhlklhI.js +0 -102
  64. package/dist/chunks/dashboard-briefing-launcher-Czx6BcXW.js +0 -80
  65. package/dist/chunks/dashboard-controls-BP-DcPFs.js +0 -52
  66. package/dist/chunks/edit-dashboard-visual-BAprin3J.js +0 -178
  67. package/dist/chunks/source-identity-C-xaeE_I.js +0 -1
  68. package/dist/chunks/use-create-flow-overlay-state-BIHKf_XK.js +0 -21
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./x-B_cx7LwM.js");/**
1
+ "use strict";const t=require("./x-B6ghREd2.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 as t } from "./x-IdR_js6f.js";
1
+ import { c as t } from "./x-CXDkqdur.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./x-B_cx7LwM.js");/**
1
+ "use strict";const c=require("./x-B6ghREd2.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 "./x-IdR_js6f.js";
1
+ import { c } from "./x-CXDkqdur.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("./x-B_cx7LwM.js");/**
1
+ "use strict";const a=require("./x-B6ghREd2.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 as a } from "./x-IdR_js6f.js";
1
+ import { c as a } from "./x-CXDkqdur.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,11 +1,20 @@
1
- import { c as e } from "./x-IdR_js6f.js";
1
+ import { c as e } from "./x-CXDkqdur.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const i = e("Eye", [
8
+ const y = e("ChevronRight", [
9
+ ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
10
+ ]);
11
+ /**
12
+ * @license lucide-react v0.453.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */
17
+ const n = e("Eye", [
9
18
  [
10
19
  "path",
11
20
  {
@@ -21,7 +30,7 @@ const i = e("Eye", [
21
30
  * This source code is licensed under the ISC license.
22
31
  * See the LICENSE file in the root directory of this source tree.
23
32
  */
24
- const n = e("Maximize2", [
33
+ const a = e("Maximize2", [
25
34
  ["polyline", { points: "15 3 21 3 21 9", key: "mznyad" }],
26
35
  ["polyline", { points: "9 21 3 21 3 15", key: "1avn1i" }],
27
36
  ["line", { x1: "21", x2: "14", y1: "3", y2: "10", key: "ota7mn" }],
@@ -45,13 +54,14 @@ const c = e("Minimize2", [
45
54
  * This source code is licensed under the ISC license.
46
55
  * See the LICENSE file in the root directory of this source tree.
47
56
  */
48
- const a = e("Search", [
57
+ const o = e("Search", [
49
58
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
50
59
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
51
60
  ]);
52
61
  export {
53
- i as E,
62
+ y as C,
63
+ n as E,
54
64
  c as M,
55
- a as S,
56
- n as a
65
+ o as S,
66
+ a
57
67
  };
@@ -1,14 +1,19 @@
1
- "use strict";const e=require("./x-B_cx7LwM.js");/**
1
+ "use strict";const e=require("./x-B6ghREd2.js");/**
2
2
  * @license lucide-react v0.453.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
5
5
  * See the LICENSE file in the root directory of this source tree.
6
- */const i=e.createLucideIcon("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
6
+ */const i=e.createLucideIcon("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
7
7
  * @license lucide-react v0.453.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const c=e.createLucideIcon("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
11
+ */const c=e.createLucideIcon("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
12
+ * @license lucide-react v0.453.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const n=e.createLucideIcon("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
12
17
  * @license lucide-react v0.453.0 - ISC
13
18
  *
14
19
  * This source code is licensed under the ISC license.
@@ -18,4 +23,4 @@
18
23
  *
19
24
  * This source code is licensed under the ISC license.
20
25
  * See the LICENSE file in the root directory of this source tree.
21
- */const n=e.createLucideIcon("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);exports.Eye=i;exports.Maximize2=c;exports.Minimize2=y;exports.Search=n;
26
+ */const t=e.createLucideIcon("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);exports.ChevronRight=i;exports.Eye=c;exports.Maximize2=n;exports.Minimize2=y;exports.Search=t;
@@ -0,0 +1 @@
1
+ "use strict";function n(a){return a?a.kind==="semantic"?[a.kind,a.domainId,a.datasetId?`datasetId:${a.datasetId}`:`datasetName:${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 i(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:n(a)===n(e)}function o(a,e){return a.kind!=="semantic"||e.kind!=="semantic"?a:{...a,datasetName:a.datasetName||e.datasetName,datasetId:a.datasetId||e.datasetId,label:a.label||e.label,connectionId:a.connectionId||e.connectionId}}function m(a){const e=[];for(const d of a){const t=e.findIndex(s=>i(s,d));if(t===-1){e.push(d);continue}e[t]=o(e[t],d)}return e}function r(a,e){return a.name===e.name&&i(a.source,e.source)}function I(a,e){return{...a,label:a.label||e.label,role:a.role||e.role,dataType:a.dataType||e.dataType,source:a.source&&e.source?o(a.source,e.source):a.source||e.source}}exports.mergeSemaphorSourcesByIdentity=m;exports.preferSemaphorFieldRefMetadata=I;exports.preferSemaphorSourceMetadata=o;exports.semaphorFieldRefsMatch=r;exports.semaphorSourceIdentityKey=n;exports.semaphorSourcesReferToSameDataset=i;
@@ -1,9 +1,8 @@
1
- function d(a) {
1
+ function t(a) {
2
2
  return a ? a.kind === "semantic" ? [
3
3
  a.kind,
4
4
  a.domainId,
5
- a.datasetId || "",
6
- a.datasetName
5
+ a.datasetId ? `datasetId:${a.datasetId}` : `datasetName:${a.datasetName}`
7
6
  ].join(":") : a.kind === "physical" ? [
8
7
  a.kind,
9
8
  a.connectionId,
@@ -17,33 +16,52 @@ function d(a) {
17
16
  a.label || ""
18
17
  ].join(":") : "";
19
18
  }
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
19
  function i(a, e) {
20
+ 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 : t(a) === t(e);
21
+ }
22
+ function s(a, e) {
24
23
  return a.kind !== "semantic" || e.kind !== "semantic" ? a : {
25
24
  ...a,
25
+ datasetName: a.datasetName || e.datasetName,
26
26
  datasetId: a.datasetId || e.datasetId,
27
27
  label: a.label || e.label,
28
28
  connectionId: a.connectionId || e.connectionId
29
29
  };
30
30
  }
31
- function t(a, e) {
32
- return a.name === e.name && n(a.source, e.source);
31
+ function m(a) {
32
+ const e = [];
33
+ for (const d of a) {
34
+ const n = e.findIndex(
35
+ (o) => i(o, d)
36
+ );
37
+ if (n === -1) {
38
+ e.push(d);
39
+ continue;
40
+ }
41
+ e[n] = s(
42
+ e[n],
43
+ d
44
+ );
45
+ }
46
+ return e;
47
+ }
48
+ function I(a, e) {
49
+ return a.name === e.name && i(a.source, e.source);
33
50
  }
34
- function o(a, e) {
51
+ function f(a, e) {
35
52
  return {
36
53
  ...a,
37
54
  label: a.label || e.label,
38
55
  role: a.role || e.role,
39
56
  dataType: a.dataType || e.dataType,
40
- source: a.source && e.source ? i(a.source, e.source) : a.source || e.source
57
+ source: a.source && e.source ? s(a.source, e.source) : a.source || e.source
41
58
  };
42
59
  }
43
60
  export {
44
- d as a,
45
- n as b,
46
- i as c,
47
- o as p,
48
- t as s
61
+ t as a,
62
+ i as b,
63
+ s as c,
64
+ m,
65
+ f as p,
66
+ I as s
49
67
  };