react-semaphor 0.1.525 → 0.1.526

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 (54) hide show
  1. package/dist/brand-studio/index.js +37 -37
  2. package/dist/briefings/index.js +3 -3
  3. package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-D1ofR4KJ.js} +28 -28
  4. package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-9sv4e-Vb.js} +15 -15
  5. package/dist/chunks/{switch-CWPcwAZ4.js → code-highlight-994tgM9v.js} +6309 -8642
  6. package/dist/chunks/dashboard-CsHvEtjN.js +15 -0
  7. package/dist/chunks/{dashboard-briefing-launcher-BilVIEyw.js → dashboard-briefing-launcher-DXz1GhFZ.js} +364 -370
  8. package/dist/chunks/{dashboard-controls-DyLPcvCK.js → dashboard-controls-Df8qOSrs.js} +163 -168
  9. package/dist/chunks/dashboard-json-Xldp0qww.js +65 -0
  10. package/dist/chunks/{edit-dashboard-visual-DtmKNNdE.js → edit-dashboard-visual-COHBqyic.js} +1108 -1107
  11. package/dist/chunks/editor-action-buttons-DahlP57T.js +2071 -0
  12. package/dist/chunks/{index-ON7Gpvcv.js → index-CbjuruKe.js} +40 -40
  13. package/dist/chunks/{matrix-control-sources-B1K7x0SL.js → matrix-control-sources-2VAzGlt8.js} +29 -29
  14. package/dist/chunks/pre-block-Cq1RqhZX.js +3987 -0
  15. package/dist/chunks/report-preferences-dialog-BcH-0lR-.js +1232 -0
  16. package/dist/chunks/search-CJz-QQ0Q.js +24 -0
  17. package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-NF5C07yM.js} +25 -46
  18. package/dist/chunks/{index-DYOaHuLS.js → semaphor-ready-indicator-BLRDuLr4.js} +142229 -147767
  19. package/dist/chunks/slider-BYIH4icg.js +877 -0
  20. package/dist/chunks/switch-XaAACBrJ.js +2234 -0
  21. package/dist/dashboard/index.js +1 -1
  22. package/dist/dashboard-authoring/index.js +4 -4
  23. package/dist/data-app-builder/index.js +67 -67
  24. package/dist/data-app-sdk/index.js +33 -32
  25. package/dist/index.js +435 -243
  26. package/dist/surfboard/index.js +4 -5
  27. package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
  28. package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
  29. package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
  30. package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
  31. package/dist/types/components/editor/editor.d.ts +1 -1
  32. package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
  33. package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
  34. package/dist/types/components/providers/theme-provider.d.ts +1 -1
  35. package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
  36. package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
  37. package/dist/types/components/visual/column-display-utils.d.ts +1 -1
  38. package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
  39. package/dist/types/components/visual/settings/color-format.d.ts +1 -1
  40. package/dist/types/components/visual/visual-utils.d.ts +1 -1
  41. package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
  42. package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +1 -1
  43. package/dist/types/lib/hooks/explorer/use-schemas.d.ts +1 -1
  44. package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
  45. package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
  46. package/dist/types/lib/stores/editor-store.d.ts +1 -2
  47. package/dist/types/lib/stores/table-actions.d.ts +2 -1
  48. package/dist/types/lib/types/token-types.d.ts +0 -12
  49. package/dist/types/lib/utils.d.ts +0 -2
  50. package/package.json +2 -1
  51. package/dist/chunks/dashboard-json-QEoU-mx4.js +0 -75
  52. package/dist/chunks/editor-action-buttons-B9VRW3Bh.js +0 -2019
  53. package/dist/chunks/report-preferences-dialog-BLaFmlE2.js +0 -723
  54. package/dist/types/lib/encrypt-utils.d.ts +0 -9
@@ -0,0 +1,24 @@
1
+ import { c as e } from "./x-CXDkqdur.js";
2
+ /**
3
+ * @license lucide-react v0.453.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const h = 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 r = e("Search", [
18
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
19
+ ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
20
+ ]);
21
+ export {
22
+ h as C,
23
+ r as S
24
+ };
@@ -1,21 +1,12 @@
1
- import { c as r } from "./x-CXDkqdur.js";
2
- import { B as h, t as f } from "./matrix-operation-contract-D32U2CSw.js";
1
+ import { c as y } from "./x-CXDkqdur.js";
2
+ import { B as m, t as h } from "./matrix-operation-contract-D32U2CSw.js";
3
3
  /**
4
4
  * @license lucide-react v0.453.0 - ISC
5
5
  *
6
6
  * This source code is licensed under the ISC license.
7
7
  * See the LICENSE file in the root directory of this source tree.
8
8
  */
9
- const g = r("ChevronRight", [
10
- ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
11
- ]);
12
- /**
13
- * @license lucide-react v0.453.0 - ISC
14
- *
15
- * This source code is licensed under the ISC license.
16
- * See the LICENSE file in the root directory of this source tree.
17
- */
18
- const z = r("Eye", [
9
+ const S = y("Eye", [
19
10
  [
20
11
  "path",
21
12
  {
@@ -31,7 +22,7 @@ const z = r("Eye", [
31
22
  * This source code is licensed under the ISC license.
32
23
  * See the LICENSE file in the root directory of this source tree.
33
24
  */
34
- const I = r("Maximize2", [
25
+ const g = y("Maximize2", [
35
26
  ["polyline", { points: "15 3 21 3 21 9", key: "mznyad" }],
36
27
  ["polyline", { points: "9 21 3 21 3 15", key: "1avn1i" }],
37
28
  ["line", { x1: "21", x2: "14", y1: "3", y2: "10", key: "ota7mn" }],
@@ -43,69 +34,57 @@ const I = r("Maximize2", [
43
34
  * This source code is licensed under the ISC license.
44
35
  * See the LICENSE file in the root directory of this source tree.
45
36
  */
46
- const E = r("Minimize2", [
37
+ const I = y("Minimize2", [
47
38
  ["polyline", { points: "4 14 10 14 10 20", key: "11kfnr" }],
48
39
  ["polyline", { points: "20 10 14 10 14 4", key: "rlmsce" }],
49
40
  ["line", { x1: "14", x2: "21", y1: "10", y2: "3", key: "o5lafz" }],
50
41
  ["line", { x1: "3", x2: "10", y1: "21", y2: "14", key: "1atl0r" }]
51
42
  ]);
52
- /**
53
- * @license lucide-react v0.453.0 - ISC
54
- *
55
- * This source code is licensed under the ISC license.
56
- * See the LICENSE file in the root directory of this source tree.
57
- */
58
- const K = r("Search", [
59
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
60
- ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
61
- ]);
62
- function m(e, l, t) {
43
+ function p(e, l, t) {
63
44
  return e.length === 1 && t(e[0]) === t(l) ? { tuples: [], outcome: "cleared" } : { tuples: [l], outcome: "selected" };
64
45
  }
65
- function k(e, l) {
46
+ function x(e, l) {
66
47
  const t = /* @__PURE__ */ new Set();
67
- return e.filter((c) => {
68
- const i = l(c);
48
+ return e.filter((r) => {
49
+ const i = l(r);
69
50
  return t.has(i) ? !1 : (t.add(i), !0);
70
51
  });
71
52
  }
72
- function C(e, l, t, c) {
73
- const i = c.limit ?? f, n = c.tupleKey ?? h;
53
+ function E(e, l, t, r) {
54
+ const i = r.limit ?? h, n = r.tupleKey ?? m;
74
55
  if (t.kind === "clear") return { tuples: [], outcome: "cleared" };
75
- if (t.kind === "replace" || !c.multipleSelection)
76
- return m(e, l, n);
56
+ if (t.kind === "replace" || !r.multipleSelection)
57
+ return p(e, l, n);
77
58
  if (t.kind === "toggle") {
78
59
  const u = e.findIndex(
79
60
  (o) => n(o) === n(l)
80
61
  );
81
62
  if (u >= 0) {
82
- const o = e.filter((x, p) => p !== u);
63
+ const o = e.filter((k, f) => f !== u);
83
64
  return { tuples: o, outcome: o.length ? "removed" : "cleared" };
84
65
  }
85
66
  return e.length >= i ? { tuples: e, outcome: "limitReached" } : { tuples: [...e, l], outcome: "added" };
86
67
  }
87
68
  const d = (u) => t.ordered.findIndex(
88
69
  (o) => n(o) === n(u)
89
- ), a = d(t.anchor), s = d(l);
90
- if (a < 0 || s < 0) return m(e, l, n);
91
- const y = k(
92
- t.ordered.slice(Math.min(a, s), Math.max(a, s) + 1),
70
+ ), c = d(t.anchor), a = d(l);
71
+ if (c < 0 || a < 0) return p(e, l, n);
72
+ const s = x(
73
+ t.ordered.slice(Math.min(c, a), Math.max(c, a) + 1),
93
74
  n
94
75
  );
95
- return y.length <= i ? { tuples: y, outcome: "rangeSelected" } : {
96
- tuples: a <= s ? y.slice(0, i) : y.slice(-i),
76
+ return s.length <= i ? { tuples: s, outcome: "rangeSelected" } : {
77
+ tuples: c <= a ? s.slice(0, i) : s.slice(-i),
97
78
  outcome: "limitReached"
98
79
  };
99
80
  }
100
- function R(e, l, t) {
81
+ function K(e, l, t) {
101
82
  return t.multipleSelection ? e.metaKey || e.ctrlKey ? "toggle" : e.shiftKey ? l === "table" && t.hasAnchor ? "range" : "toggle" : e.pointerType === "touch" && t.checkboxesShown ? "toggle" : "replace" : "replace";
102
83
  }
103
84
  export {
104
- g as C,
105
- z as E,
106
- E as M,
107
- K as S,
85
+ S as E,
86
+ g as M,
108
87
  I as a,
109
- R as g,
110
- C as r
88
+ K as g,
89
+ E as r
111
90
  };