@altimateai/ui-components 0.0.58 → 0.0.60

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 (72) hide show
  1. package/dist/CoachForm.js +23701 -37056
  2. package/dist/Stack.js +6 -6
  3. package/dist/Switch.js +1 -1
  4. package/dist/TagsInput.js +691 -677
  5. package/dist/_basePickBy.js +151 -0
  6. package/dist/_baseUniq.js +615 -0
  7. package/dist/arc.js +83 -0
  8. package/dist/architecture-U656AL7Q.js +5 -0
  9. package/dist/architectureDiagram-VXUJARFQ.js +4666 -0
  10. package/dist/blockDiagram-VD42YOAC.js +2266 -0
  11. package/dist/c4Diagram-YG6GDRKO.js +1582 -0
  12. package/dist/channel.js +5 -0
  13. package/dist/chunk-4BX2VUAB.js +9 -0
  14. package/dist/chunk-55IACEB6.js +9 -0
  15. package/dist/chunk-B4BG7PRW.js +1377 -0
  16. package/dist/chunk-DI55MBZ5.js +1382 -0
  17. package/dist/chunk-FMBD7UC4.js +19 -0
  18. package/dist/chunk-QN33PNHL.js +20 -0
  19. package/dist/chunk-QZHKN3VN.js +15 -0
  20. package/dist/chunk-TZMSLE5B.js +64 -0
  21. package/dist/classDiagram-2ON5EDUG.js +17 -0
  22. package/dist/classDiagram-v2-WZHVMYZB.js +17 -0
  23. package/dist/clone.js +8 -0
  24. package/dist/cose-bilkent-S5V4N54A.js +2606 -0
  25. package/dist/cytoscape.esm.js +18731 -0
  26. package/dist/dagre-6UL2VRFP.js +447 -0
  27. package/dist/dayjs.min.js +302 -0
  28. package/dist/defaultLocale.js +171 -0
  29. package/dist/diagram-PSM6KHXK.js +535 -0
  30. package/dist/diagram-QEK2KX5R.js +221 -0
  31. package/dist/diagram-S2PKOQOG.js +143 -0
  32. package/dist/erDiagram-Q2GNP2WA.js +843 -0
  33. package/dist/flowDiagram-NV44I4VS.js +1628 -0
  34. package/dist/ganttDiagram-LVOFAZNH.js +2500 -0
  35. package/dist/gitGraph-F6HP7TQM.js +5 -0
  36. package/dist/gitGraphDiagram-NY62KEGX.js +713 -0
  37. package/dist/graph.js +247 -0
  38. package/dist/index.js +30 -30
  39. package/dist/info-NVLQJR56.js +5 -0
  40. package/dist/infoDiagram-F6ZHWCRC.js +24 -0
  41. package/dist/init.js +16 -0
  42. package/dist/journeyDiagram-XKPGCS4Q.js +837 -0
  43. package/dist/kanban-definition-3W4ZIXB7.js +720 -0
  44. package/dist/katex.js +11691 -0
  45. package/dist/layout.js +1324 -0
  46. package/dist/lineage/index.js +12 -12
  47. package/dist/linear.js +259 -0
  48. package/dist/main.js +3 -3
  49. package/dist/mermaid-parser.core.js +12921 -0
  50. package/dist/mindmap-definition-VGOIOE7T.js +786 -0
  51. package/dist/ordinal.js +61 -0
  52. package/dist/packet-BFZMPI3H.js +5 -0
  53. package/dist/pie-7BOR55EZ.js +5 -0
  54. package/dist/pieDiagram-ADFJNKIX.js +163 -0
  55. package/dist/quadrantDiagram-AYHSOK5B.js +1025 -0
  56. package/dist/radar-NHE76QYJ.js +5 -0
  57. package/dist/redux-toolkit.modern.js +1138 -1420
  58. package/dist/requirementDiagram-UZGBJVZJ.js +852 -0
  59. package/dist/sankeyDiagram-TZEHDZUN.js +811 -0
  60. package/dist/sequenceDiagram-WL72ISMW.js +2523 -0
  61. package/dist/shadcn/index.js +1 -1
  62. package/dist/stateDiagram-FKZM4ZOC.js +264 -0
  63. package/dist/stateDiagram-v2-4FDKWEC3.js +17 -0
  64. package/dist/timeline-definition-IT6M3QCI.js +802 -0
  65. package/dist/treemap-KMMF4GRG.js +5 -0
  66. package/dist/xychartDiagram-PRI3JC2R.js +1341 -0
  67. package/package.json +1 -1
  68. package/dist/Table.js +0 -22
  69. package/dist/flowchart-elk-definition-170a3958.js +0 -46393
  70. package/dist/is_dark.js +0 -8
  71. package/dist/mindmap-definition-44684416.js +0 -20514
  72. package/dist/timeline-definition-8e5a9bc6.js +0 -825
@@ -0,0 +1,19 @@
1
+ import { _ as e } from "./CoachForm.js";
2
+ var l = /* @__PURE__ */ e(() => `
3
+ /* Font Awesome icon styling - consolidated */
4
+ .label-icon {
5
+ display: inline-block;
6
+ height: 1em;
7
+ overflow: visible;
8
+ vertical-align: -0.125em;
9
+ }
10
+
11
+ .node .label-icon path {
12
+ fill: currentColor;
13
+ stroke: revert;
14
+ stroke-width: revert;
15
+ }
16
+ `, "getIconStyles");
17
+ export {
18
+ l as g
19
+ };
@@ -0,0 +1,20 @@
1
+ import { _ as a, ab as w, aa as x } from "./CoachForm.js";
2
+ var g = /* @__PURE__ */ a((e, t, i, o) => {
3
+ e.attr("class", i);
4
+ const { width: r, height: h, x: n, y: c } = u(e, t);
5
+ w(e, h, r, o);
6
+ const s = B(n, c, r, h, t);
7
+ e.attr("viewBox", s), x.debug(`viewBox configured: ${s} with padding: ${t}`);
8
+ }, "setupViewPortForSVG"), u = /* @__PURE__ */ a((e, t) => {
9
+ var o;
10
+ const i = ((o = e.node()) == null ? void 0 : o.getBBox()) || { width: 0, height: 0, x: 0, y: 0 };
11
+ return {
12
+ width: i.width + t * 2,
13
+ height: i.height + t * 2,
14
+ x: i.x,
15
+ y: i.y
16
+ };
17
+ }, "calculateDimensionsWithPadding"), B = /* @__PURE__ */ a((e, t, i, o, r) => `${e - r} ${t - r} ${i} ${o}`, "createViewBox");
18
+ export {
19
+ g as s
20
+ };
@@ -0,0 +1,15 @@
1
+ import { _ as s } from "./CoachForm.js";
2
+ var t, e = (t = class {
3
+ /**
4
+ * @param init - Function that creates the default state.
5
+ */
6
+ constructor(i) {
7
+ this.init = i, this.records = this.init();
8
+ }
9
+ reset() {
10
+ this.records = this.init();
11
+ }
12
+ }, s(t, "ImperativeState"), t);
13
+ export {
14
+ e as I
15
+ };
@@ -0,0 +1,64 @@
1
+ import { _ as n, aJ as c, ac as l } from "./CoachForm.js";
2
+ var o = /* @__PURE__ */ n((a, t) => {
3
+ const e = a.append("rect");
4
+ if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
5
+ for (const r in t.attrs)
6
+ e.attr(r, t.attrs[r]);
7
+ return t.class && e.attr("class", t.class), e;
8
+ }, "drawRect"), d = /* @__PURE__ */ n((a, t) => {
9
+ const e = {
10
+ x: t.startx,
11
+ y: t.starty,
12
+ width: t.stopx - t.startx,
13
+ height: t.stopy - t.starty,
14
+ fill: t.fill,
15
+ stroke: t.stroke,
16
+ class: "rect"
17
+ };
18
+ o(a, e).lower();
19
+ }, "drawBackgroundRect"), g = /* @__PURE__ */ n((a, t) => {
20
+ const e = t.text.replace(c, " "), r = a.append("text");
21
+ r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class && r.attr("class", t.class);
22
+ const s = r.append("tspan");
23
+ return s.attr("x", t.x + t.textMargin * 2), s.text(e), r;
24
+ }, "drawText"), h = /* @__PURE__ */ n((a, t, e, r) => {
25
+ const s = a.append("image");
26
+ s.attr("x", t), s.attr("y", e);
27
+ const i = l(r);
28
+ s.attr("xlink:href", i);
29
+ }, "drawImage"), m = /* @__PURE__ */ n((a, t, e, r) => {
30
+ const s = a.append("use");
31
+ s.attr("x", t), s.attr("y", e);
32
+ const i = l(r);
33
+ s.attr("xlink:href", `#${i}`);
34
+ }, "drawEmbeddedImage"), y = /* @__PURE__ */ n(() => ({
35
+ x: 0,
36
+ y: 0,
37
+ width: 100,
38
+ height: 100,
39
+ fill: "#EDF2AE",
40
+ stroke: "#666",
41
+ anchor: "start",
42
+ rx: 0,
43
+ ry: 0
44
+ }), "getNoteRect"), p = /* @__PURE__ */ n(() => ({
45
+ x: 0,
46
+ y: 0,
47
+ width: 100,
48
+ height: 100,
49
+ "text-anchor": "start",
50
+ style: "#666",
51
+ textMargin: 0,
52
+ rx: 0,
53
+ ry: 0,
54
+ tspan: !0
55
+ }), "getTextObj");
56
+ export {
57
+ p as a,
58
+ d as b,
59
+ m as c,
60
+ o as d,
61
+ h as e,
62
+ g as f,
63
+ y as g
64
+ };
@@ -0,0 +1,17 @@
1
+ import { c as r, C as s, a as e, s as t } from "./chunk-B4BG7PRW.js";
2
+ import { _ as l } from "./CoachForm.js";
3
+ import "./redux-toolkit.modern.js";
4
+ var m = {
5
+ parser: r,
6
+ get db() {
7
+ return new s();
8
+ },
9
+ renderer: e,
10
+ styles: t,
11
+ init: /* @__PURE__ */ l((a) => {
12
+ a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
13
+ }, "init")
14
+ };
15
+ export {
16
+ m as diagram
17
+ };
@@ -0,0 +1,17 @@
1
+ import { c as r, C as s, a as e, s as t } from "./chunk-B4BG7PRW.js";
2
+ import { _ as l } from "./CoachForm.js";
3
+ import "./redux-toolkit.modern.js";
4
+ var m = {
5
+ parser: r,
6
+ get db() {
7
+ return new s();
8
+ },
9
+ renderer: e,
10
+ styles: t,
11
+ init: /* @__PURE__ */ l((a) => {
12
+ a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
13
+ }, "init")
14
+ };
15
+ export {
16
+ m as diagram
17
+ };
package/dist/clone.js ADDED
@@ -0,0 +1,8 @@
1
+ import { b as r } from "./_baseUniq.js";
2
+ var e = 4;
3
+ function a(o) {
4
+ return r(o, e);
5
+ }
6
+ export {
7
+ a as c
8
+ };