@astrato-io/visualizations 0.7.0 → 0.9.0

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 (162) hide show
  1. package/README.md +1 -25
  2. package/THIRD_PARTY_NOTICES.md +307 -378
  3. package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
  4. package/chunks/CircularProgress-DFS-LQb7.js +765 -0
  5. package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
  6. package/chunks/LinearProgress-CjIQfkNA.js +327 -0
  7. package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
  8. package/chunks/Title-CtFw1bVg.js +1804 -0
  9. package/chunks/ToggleButton-Br9HCPCv.js +150 -0
  10. package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
  11. package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
  12. package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
  13. package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
  14. package/chunks/contains-BK-sRXcB.js +21 -0
  15. package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
  16. package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
  17. package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
  18. package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
  19. package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
  20. package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
  21. package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
  22. package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
  23. package/chunks/isFocusVisible-B1_z03UT.js +144 -0
  24. package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
  25. package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
  26. package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
  27. package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
  28. package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
  29. package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
  30. package/chunks/react-dom-BwZT0N3F.js +368 -0
  31. package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
  32. package/chunks/{requirements-PAoRaJyb.js → requirements-CYpVh65U.js} +330 -302
  33. package/chunks/responsive.styles-FItb913l.js +93 -0
  34. package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
  35. package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
  36. package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
  37. package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
  38. package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
  39. package/chunks/{standalone-DVTJwsTY.js → standalone-BDrQMxLi.js} +623 -614
  40. package/chunks/standalone-BMoJXGYe.js +2 -0
  41. package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
  42. package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
  43. package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
  44. package/chunks/standalone-CMJJIi9v.js +2 -0
  45. package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
  46. package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
  47. package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
  48. package/chunks/standalone-C_Jd4gkj.js +6 -0
  49. package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
  50. package/chunks/standalone-CoQxJ6ov.js +3638 -0
  51. package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
  52. package/chunks/standalone-DBeXQrwH.js +468 -0
  53. package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
  54. package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
  55. package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
  56. package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
  57. package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
  58. package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
  59. package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
  60. package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
  61. package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
  62. package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
  63. package/chunks/useFieldName-mWrD_uk_.js +7 -0
  64. package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
  65. package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
  66. package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
  67. package/chunks/with-html-element-B0Clt4jY.js +15901 -0
  68. package/definitions.js +2 -2
  69. package/docs/operations/astrato-app-filter-bar.md +1 -1
  70. package/docs/operations/bar.md +1 -1
  71. package/docs/operations/combo.md +1 -1
  72. package/docs/operations/date-picker.md +1 -1
  73. package/docs/operations/distribution-gauge.md +1 -1
  74. package/docs/operations/dot.md +1 -1
  75. package/docs/operations/filter.md +1 -1
  76. package/docs/operations/gauge.md +1 -1
  77. package/docs/operations/heatMap.md +1 -1
  78. package/docs/operations/histogram.md +1 -1
  79. package/docs/operations/iframe.md +1 -1
  80. package/docs/operations/image.md +1 -1
  81. package/docs/operations/index.md +2 -2
  82. package/docs/operations/line.md +1 -1
  83. package/docs/operations/number.md +1 -1
  84. package/docs/operations/pie.md +1 -1
  85. package/docs/operations/radar.md +1 -1
  86. package/docs/operations/sankey.md +1 -1
  87. package/docs/operations/scatter.md +1 -1
  88. package/docs/operations/shape.md +1 -1
  89. package/docs/operations/simpleTextObject.md +1 -1
  90. package/docs/operations/slider.md +1 -1
  91. package/docs/operations/table.md +66 -1
  92. package/docs/operations/tree.md +1 -1
  93. package/docs/operations/treemap.md +1 -1
  94. package/docs/operations/waterfall.md +1 -1
  95. package/docs/operations/word-cloud.md +1 -1
  96. package/getters.js +2 -2
  97. package/index.js +1191 -3
  98. package/metadata.js +15 -16
  99. package/operations.js +5 -5
  100. package/package.json +67 -102
  101. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
  102. package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
  103. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
  104. package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
  105. package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
  106. package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
  107. package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
  108. package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
  109. package/src/getters/index.d.ts +3 -3
  110. package/src/index.d.ts +1 -1
  111. package/src/operations/index.d.ts +3 -3
  112. package/src/runtime/index.d.ts +2 -2
  113. package/src/types.d.ts +4 -8
  114. package/src/visualization-catalog.d.ts +26 -26
  115. package/src/web-components/index.d.ts +3 -3
  116. package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
  117. package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
  118. package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
  119. package/chunks/Title-CO5dP1ma.js +0 -1691
  120. package/chunks/ToggleButton-KOBAimC1.js +0 -112
  121. package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
  122. package/chunks/registry-KervaxqJ.js +0 -31
  123. package/chunks/responsive.styles-DSiOGD7u.js +0 -82
  124. package/chunks/standalone-BXKRE_Se.js +0 -468
  125. package/chunks/standalone-BjZp0QMe.js +0 -2
  126. package/chunks/standalone-C8qAelL4.js +0 -2
  127. package/chunks/standalone-DT0wKji7.js +0 -6
  128. package/chunks/standalone-DYQIQH4c.js +0 -2095
  129. package/chunks/useFieldName-Cjn9KCVp.js +0 -7
  130. package/chunks/useSlotProps-DLbQp4lc.js +0 -166
  131. package/chunks/web-components-DqClFkgO.js +0 -1185
  132. package/chunks/with-html-element-D0uY2zjI.js +0 -7328
  133. package/render.js +0 -10
  134. package/src/charts/bar.d.ts +0 -1
  135. package/src/charts/combo.d.ts +0 -1
  136. package/src/charts/dot.d.ts +0 -1
  137. package/src/charts/gauge-distribution.d.ts +0 -1
  138. package/src/charts/gauge.d.ts +0 -1
  139. package/src/charts/heat-map.d.ts +0 -1
  140. package/src/charts/histogram.d.ts +0 -1
  141. package/src/charts/line.d.ts +0 -1
  142. package/src/charts/pie.d.ts +0 -1
  143. package/src/charts/radar.d.ts +0 -1
  144. package/src/charts/sankey.d.ts +0 -1
  145. package/src/charts/scatter.d.ts +0 -1
  146. package/src/charts/table.d.ts +0 -1
  147. package/src/charts/tree.d.ts +0 -1
  148. package/src/charts/treemap.d.ts +0 -1
  149. package/src/charts/waterfall.d.ts +0 -1
  150. package/src/charts/word-cloud.d.ts +0 -1
  151. package/src/objects/app-filter-bar.d.ts +0 -1
  152. package/src/objects/date-picker.d.ts +0 -1
  153. package/src/objects/filter.d.ts +0 -1
  154. package/src/objects/iframe.d.ts +0 -1
  155. package/src/objects/image.d.ts +0 -1
  156. package/src/objects/number.d.ts +0 -1
  157. package/src/objects/shape.d.ts +0 -1
  158. package/src/objects/slider.d.ts +0 -1
  159. package/src/objects/text.d.ts +0 -1
  160. package/src/registry/create-visualization-registry.d.ts +0 -5
  161. package/src/render/index.d.ts +0 -34
  162. /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Hi as t } from "./visualization-filters-Cc4KU-l-.js";
3
- import { Ei as n, Ti as r, W as i, wi as a } from "./utils-vdmi_2PK.js";
4
- var o = /* @__PURE__ */ e(n());
2
+ import { Hi as t } from "./visualization-filters-mVnsnvLP.js";
3
+ import { $r as n, Qr as r, W as i, ei as a } from "./utils-DYYD4Zzf.js";
4
+ var o = /* @__PURE__ */ e(a());
5
5
  o.forwardRef(function(e, t) {
6
6
  return o.createElement("img", {
7
7
  ...e,
@@ -2127,13 +2127,13 @@ i({ wrapper: {
2127
2127
  flexGrow: 1
2128
2128
  },
2129
2129
  scrollableIconList: {
2130
- ...a.propertiesPanel,
2130
+ ...r.propertiesPanel,
2131
2131
  paddingBottom: 24,
2132
2132
  maxHeight: 552
2133
2133
  },
2134
2134
  categorySection: { margin: "0 15px" },
2135
2135
  categoryLabel: {
2136
- ...r.normal13,
2136
+ ...n.normal13,
2137
2137
  textTransform: "capitalize",
2138
2138
  padding: "16px 0 8px"
2139
2139
  },
@@ -2187,12 +2187,12 @@ i({ wrapper: {
2187
2187
  textAlign: "center"
2188
2188
  },
2189
2189
  noIconsParagraph: {
2190
- ...r.normal13,
2190
+ ...n.normal13,
2191
2191
  color: t.grey1,
2192
2192
  wordWrap: "break-word"
2193
2193
  },
2194
2194
  noIconsQuery: {
2195
- ...r.normal13,
2195
+ ...n.normal13,
2196
2196
  color: t.mainDarkNavy
2197
2197
  },
2198
2198
  emptyIcon: {
@@ -2224,7 +2224,7 @@ var l = i({
2224
2224
  zIndex: 999,
2225
2225
  width: "max-content",
2226
2226
  padding: "8px",
2227
- ...r.normal12,
2227
+ ...n.normal12,
2228
2228
  color: t.grey1,
2229
2229
  borderRadius: 4,
2230
2230
  backgroundColor: t.white,
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { gt as t } from "./visualization-filters-Cc4KU-l-.js";
2
+ import { or as t } from "./visualization-filters-mVnsnvLP.js";
3
3
  var n = /* @__PURE__ */ function(e) {
4
4
  return e.SaveLocalVSpec = "VSPEC/SAVE_LOCAL_VSPEC", e.UpdateVSpec = "VSPEC/UPDATE", e.UpdateVSpecPartial = "VSPEC/UPDATE_PARTIAL", e.ColumnVisibility = "VSPEC/COLUMN_VISIBILITY", e.ColumnEnabled = "VSPEC/COLUMN_ENABLED", e;
5
5
  }({}), r = /* @__PURE__ */ e(((e, n) => {
@@ -0,0 +1,144 @@
1
+ import { o as e } from "./rolldown-runtime-DleVn1XH.js";
2
+ import { ei as t, it as n, nt as r } from "./utils-DYYD4Zzf.js";
3
+ function i(e) {
4
+ return typeof e == "string";
5
+ }
6
+ var a = /* @__PURE__ */ e(t(), 1);
7
+ function o(...e) {
8
+ let t = a.useRef(void 0), n = a.useCallback((t) => {
9
+ let n = e.map((e) => {
10
+ if (e == null) return null;
11
+ if (typeof e == "function") {
12
+ let n = e, r = n(t);
13
+ return typeof r == "function" ? r : () => {
14
+ n(null);
15
+ };
16
+ }
17
+ return e.current = t, () => {
18
+ e.current = null;
19
+ };
20
+ });
21
+ return () => {
22
+ n.forEach((e) => e?.());
23
+ };
24
+ }, e);
25
+ return a.useMemo(() => e.every((e) => e == null) ? null : (e) => {
26
+ t.current &&= (t.current(), void 0), e != null && (t.current = n(e));
27
+ }, e);
28
+ }
29
+ function s(e) {
30
+ let t = a.useRef(e);
31
+ return r(() => {
32
+ t.current = e;
33
+ }), a.useRef((...e) => (0, t.current)(...e)).current;
34
+ }
35
+ function c(e) {
36
+ return e && e.ownerDocument || document;
37
+ }
38
+ function l(e) {
39
+ let { controlled: t, default: n, name: r, state: i = "value" } = e, { current: o } = a.useRef(t !== void 0), [s, c] = a.useState(n);
40
+ return [o ? t : s, a.useCallback((e) => {
41
+ o || c(e);
42
+ }, [])];
43
+ }
44
+ function u(e, t) {
45
+ let n = e.charCodeAt(2);
46
+ return e[0] === "o" && e[1] === "n" && n >= 65 && n <= 90 && typeof t == "function";
47
+ }
48
+ function d(e, t, n) {
49
+ return e === void 0 || i(e) ? t : {
50
+ ...t,
51
+ ownerState: {
52
+ ...t.ownerState,
53
+ ...n
54
+ }
55
+ };
56
+ }
57
+ function f(e, t, n) {
58
+ return typeof e == "function" ? e(t, n) : e;
59
+ }
60
+ function p(e) {
61
+ if (e === void 0) return {};
62
+ let t = {}, n = Object.keys(e);
63
+ for (let r = 0; r < n.length; r += 1) {
64
+ let i = n[r];
65
+ u(i, e[i]) && (t[i] = e[i]);
66
+ }
67
+ return t;
68
+ }
69
+ function m(e) {
70
+ if (e === void 0) return {};
71
+ let t = {}, n = Object.keys(e);
72
+ for (let r = 0; r < n.length; r += 1) {
73
+ let i = n[r];
74
+ u(i, e[i]) || (t[i] = e[i]);
75
+ }
76
+ return t;
77
+ }
78
+ function h(e) {
79
+ let { getSlotProps: t, additionalProps: r, externalSlotProps: i, externalForwardedProps: a, className: o } = e;
80
+ if (!t) {
81
+ let e = n(r?.className, o, a?.className, i?.className), t = {
82
+ ...r,
83
+ ...a,
84
+ ...i
85
+ };
86
+ if (e.length > 0 && (t.className = e), r?.style || a?.style || i?.style) {
87
+ let e = {
88
+ ...r?.style,
89
+ ...a?.style,
90
+ ...i?.style
91
+ };
92
+ Object.keys(e).length > 0 && (t.style = e);
93
+ }
94
+ return {
95
+ props: t,
96
+ internalRef: void 0
97
+ };
98
+ }
99
+ let s = p({
100
+ ...a,
101
+ ...i
102
+ }), c = m(i), l = m(a), u = t(s), d = n(u?.className, r?.className, o, a?.className, i?.className), f = {
103
+ ...u,
104
+ ...r,
105
+ ...l,
106
+ ...c
107
+ };
108
+ if (d.length > 0 && (f.className = d), u?.style || r?.style || a?.style || i?.style) {
109
+ let e = {
110
+ ...u?.style,
111
+ ...r?.style,
112
+ ...a?.style,
113
+ ...i?.style
114
+ };
115
+ Object.keys(e).length > 0 && (f.style = e);
116
+ }
117
+ return {
118
+ props: f,
119
+ internalRef: u.ref
120
+ };
121
+ }
122
+ function g(e, t) {
123
+ let { className: n, elementType: r, ownerState: i, externalForwardedProps: a, internalForwardedProps: s, shouldForwardComponentProp: c = !1, ...l } = t, { component: u, slots: p = { [e]: void 0 }, slotProps: m = { [e]: void 0 }, ...g } = a, _ = p[e] || r, v = f(m[e], i), { props: { component: y, ...b }, internalRef: x } = h({
124
+ className: n,
125
+ ...l,
126
+ externalForwardedProps: e === "root" ? g : void 0,
127
+ externalSlotProps: v
128
+ }), S = o(x, v?.ref, t.ref), C = e === "root" ? y || u : y;
129
+ return [_, d(_, {
130
+ ...e === "root" && !u && !p[e] && s,
131
+ ...e !== "root" && !p[e] && s,
132
+ ...b,
133
+ ...C && !c && { as: C },
134
+ ...C && c && { component: C },
135
+ ref: S
136
+ }, i)];
137
+ }
138
+ function _(e) {
139
+ try {
140
+ return e.matches(":focus-visible");
141
+ } catch {}
142
+ return !1;
143
+ }
144
+ export { f as a, l as c, o as d, i as f, p as i, c as l, g as n, d as o, h as r, u as s, _ as t, s as u };
@@ -1,10 +1,10 @@
1
- import { r as e } from "./visualization-filters-Cc4KU-l-.js";
2
- import { A as t, C as n, E as r, S as i, T as a, U as o, _ as s, a as c, c as l, d as u, f as d, g as f, h as p, i as m, k as h, n as g, o as _, r as v, s as y, t as b, u as x, v as S, x as C, y as w } from "./shared-Bn4N5QcZ.js";
3
- import { gd as T, of as E } from "./handlers-TOT-7INo.js";
4
- import { b as D, g as O, v as k, w as A } from "./operations-Dh4v1Ovt.js";
1
+ import { r as e } from "./visualization-filters-mVnsnvLP.js";
2
+ import { A as t, C as n, E as r, S as i, T as a, U as o, _ as s, a as c, c as l, d as u, f as d, g as f, h as p, i as m, k as h, n as g, o as _, r as v, s as y, t as b, u as x, v as S, x as C, y as w } from "./shared-DFoJxjVN.js";
3
+ import { cf as T, vd as E } from "./handlers-CMbyj5y1.js";
4
+ import { b as D, g as O, v as k, w as A } from "./operations-HSqnCRvv.js";
5
5
  e();
6
6
  var j = async (e) => {
7
- let j = T(e);
7
+ let j = E(e);
8
8
  if (j) return {
9
9
  issues: [{
10
10
  code: "invalid_structure",
@@ -18,7 +18,7 @@ var j = async (e) => {
18
18
  issues: a(M.error, e.definition),
19
19
  success: !1
20
20
  };
21
- let N = E.safeParse(e.baseVSpec);
21
+ let N = T.safeParse(e.baseVSpec);
22
22
  if (!N.success) return {
23
23
  issues: [u("invalid_structure", ["baseVSpec"], "Base line vSpec is invalid.")],
24
24
  success: !1
@@ -193,6 +193,6 @@ var j = async (e) => {
193
193
  } : (R = await g(R.state, F.presentation?.coloring), "issue" in R ? {
194
194
  issues: [R.issue],
195
195
  success: !1
196
- } : f(R.state, E));
196
+ } : f(R.state, T));
197
197
  };
198
198
  export { j as compileLineVisualizationDefinition };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-DleVn1XH.js";
2
- import { Hi as t, Ji as n, Sc as r, Sr as i, Tr as a, b as o, bc as s, la as c, r as l, t as u, w as ee, xc as te, yc as ne } from "./visualization-filters-Cc4KU-l-.js";
2
+ import { Hi as t, Ji as n, Sc as r, Sr as i, Tr as a, b as o, bc as s, la as c, r as l, t as u, w as ee, xc as te, yc as ne } from "./visualization-filters-mVnsnvLP.js";
3
3
  var re = /* @__PURE__ */ function(e) {
4
4
  return e.MANUAL_DATA_UPDATED = "MANUAL_DATA_UPDATED", e.VISUALIZATION_READY_EVENT = "visualization-ready-event", e.VISUALIZATION_STATE = "visualization-state", e.SET_PROPERTY_PANEL_TAB = "set-property-panel-tab", e.SET_PROPERTY_PANEL_OBJECT_TAB = "set-property-panel-object-tab", e.HOST_BRUSH = "host-brush", e;
5
5
  }({}), ie = /* @__PURE__ */ function(e) {
@@ -382,7 +382,7 @@ var ae = /* @__PURE__ */ e(((e) => {
382
382
  Object.defineProperty(e, "__esModule", { value: !0 }), e.FeatureFlags = void 0;
383
383
  var t;
384
384
  (function(e) {
385
- e.WORKBOOK_AI_DASHBOARD_DESIGNER = "ui.workbook-ai-dashboard-designer", e.EDITOR_AGGREGATE_OBJECT_INIT = "ui.editor-aggregate-object-init", e.EDITOR_OPTIMISTIC_ITEM_PATCH_MODE = "ui.editor-optimistic-item-patch-mode", e.WORKBOOK_QUERY_INSIGHTS_DETAILS = "ui.workbook.query-insights-details", e.ACTIONS_REPORTING_EXCEL = "ui.actions.reporting-excel", e.ACTIONS_REPORTING_POWERPOINT = "ui.actions.reporting-powerpoint", e.EVENT_PARAMETERS_ACTION = "ui.actions.event-parameters", e.WRITEBACK_UPDATE_ACTION = "ui.actions.writeback-update", e.FILTER_BAR_HISTORY = "ui.filter-bar-history", e.OBJECT_REGISTRY = "daedalus.object-registry", e.DEBUG_MODE = "global.debug-mode", e.NOTIFICATIONS = "ui.notifications", e.TWO_FACTOR_AUTHENTICATION = "global.auth.two-factor-authentication", e.LINKED_OBJECTS = "ui.linked-objects", e.PUBLISH_OVERRIDE_WORKBOOK = "global.publish-override-workbook", e.VISUALIZATIONS_CUSTOM_REPORT_AI = "ui.visualizations.custom-report.ai", e.NOTIFICATION_INTEGRATION = "global.notification-integrations", e.MEASURE_AI_GENERATION_ADVANCED = "ui.dve.measure-ai-generation-advanced", e.DVE_CHANGE_OAUTH_USER_BTN_FOR_GOOLGE_BIG_QUERY = "ui.dve.change-oauth-user-btn-for-goolge-big-query", e.DVE_AI_COMPOSER = "ui.dve.ai-composer", e.DVE_ITEMS_SUGGESTIONS = "ui.dve.items-suggestions", e.DVE_GLOBAL_DATA_REDUCTION = "ui.dve.global-data-reduction", e.DVE_AI_QUERY_BAR = "ui.dve.ai-query-bar", e.NEW_PROPERTY_PANEL = "ui.new-property-panel", e.AI_ASSISTANT = "global.ai-assistant", e.AI_ASSISTANT_DEBUG_MODE = "global.ai-assistant.debug-mode", e.AI_COMPOSER = "global.ai-composer", e.WORKBOOK_DATA_SETS = "global.workbook-data-sets", e.VSPEC_ACTIONS = "ui.actions.vspec", e.SUPABASE_DATASOURCE = "ui.datasources.supabase", e.SNOWFLAKE_CORTEX_API = "global.ai-providers.snowflake-cortex-api", e.FIREWORKS_AI = "global.ai-providers.fireworks-ai", e.WORKBOOK_PP_RESIZE = "ui.workbook.pp-resize", e.WORKBOOK_TRANSFER_VERSION_SLE_OPTIONS = "ui.workbook.transfer-version-sle-options", e.ADMINISTRATION_EXPORTS_SCHEDULE = "ui.administration.exports.schedule", e.VISUALIZATIONS_UDF_NESTED_CALCULATION = "ui.visualizations.udf-nested-calculation", e.NOTIFICATION_INTEGRATION_TEAMS_APP = "global.notification-integrations.teams-app", e.EXIT_NODE = "global.exit-node", e.PRINTING_EXIT_NODE = "global.printing-exit-node", e.LEGACY_ENGINE_ROUTING = "global.legacy-engine-routing", e.DATA_ACCESS_TOKEN_AUTH = "global.auth.data-access-token", e.ACL_EXPLICIT_OWNERSHIP_ENGINE = "global.acl-explicit-ownership-engine", e.SLE_LOBBY = "global.sle.lobby", e.SLE_FORCE_NEW_LOBBY = "global.sle.force-new-lobby", e.DVE_SLE2 = "ui.dve.sle2", e.DVE_FORCE_NEW_SEMANTIC_LAYER = "ui.dve.force-new-semantic-layer", e.WORKBOOK_SLE_ENTITY_EDITOR = "ui.workbook.sle-entity-editor", e.STATIC_PUBLISHED_APPLICATIONS = "global.static-published-applications";
385
+ e.ASTRATO_AI_INSIGHTS = "global.insights.astrato-ai", e.EDITOR_AGGREGATE_OBJECT_INIT = "ui.editor-aggregate-object-init", e.EDITOR_OPTIMISTIC_ITEM_PATCH_MODE = "ui.editor-optimistic-item-patch-mode", e.WORKBOOK_QUERY_INSIGHTS_DETAILS = "ui.workbook.query-insights-details", e.ACTIONS_REPORTING_EXCEL = "ui.actions.reporting-excel", e.ACTIONS_REPORTING_POWERPOINT = "ui.actions.reporting-powerpoint", e.EVENT_PARAMETERS_ACTION = "ui.actions.event-parameters", e.WRITEBACK_UPDATE_ACTION = "ui.actions.writeback-update", e.FILTER_BAR_HISTORY = "ui.filter-bar-history", e.OBJECT_REGISTRY = "daedalus.object-registry", e.DEBUG_MODE = "global.debug-mode", e.NOTIFICATIONS = "ui.notifications", e.TWO_FACTOR_AUTHENTICATION = "global.auth.two-factor-authentication", e.LINKED_OBJECTS = "ui.linked-objects", e.PUBLISH_OVERRIDE_WORKBOOK = "global.publish-override-workbook", e.VISUALIZATIONS_CUSTOM_REPORT_AI = "ui.visualizations.custom-report.ai", e.NOTIFICATION_INTEGRATION = "global.notification-integrations", e.MEASURE_AI_GENERATION_ADVANCED = "ui.dve.measure-ai-generation-advanced", e.DVE_CHANGE_OAUTH_USER_BTN_FOR_GOOLGE_BIG_QUERY = "ui.dve.change-oauth-user-btn-for-goolge-big-query", e.DVE_AI_COMPOSER = "ui.dve.ai-composer", e.DVE_ITEMS_SUGGESTIONS = "ui.dve.items-suggestions", e.DVE_GLOBAL_DATA_REDUCTION = "ui.dve.global-data-reduction", e.DVE_AI_QUERY_BAR = "ui.dve.ai-query-bar", e.NEW_PROPERTY_PANEL = "ui.new-property-panel", e.AI_COMPOSER = "global.ai-composer", e.WORKBOOK_DATA_SETS = "global.workbook-data-sets", e.VSPEC_ACTIONS = "ui.actions.vspec", e.SUPABASE_DATASOURCE = "ui.datasources.supabase", e.SNOWFLAKE_CORTEX_API = "global.ai-providers.snowflake-cortex-api", e.FIREWORKS_AI = "global.ai-providers.fireworks-ai", e.WORKBOOK_PP_RESIZE = "ui.workbook.pp-resize", e.WORKBOOK_TRANSFER_VERSION_SLE_OPTIONS = "ui.workbook.transfer-version-sle-options", e.ADMINISTRATION_EXPORTS_SCHEDULE = "ui.administration.exports.schedule", e.VISUALIZATIONS_UDF_NESTED_CALCULATION = "ui.visualizations.udf-nested-calculation", e.NOTIFICATION_INTEGRATION_TEAMS_APP = "global.notification-integrations.teams-app", e.EXIT_NODE = "global.exit-node", e.PRINTING_EXIT_NODE = "global.printing-exit-node", e.LEGACY_ENGINE_ROUTING = "global.legacy-engine-routing", e.DATA_ACCESS_TOKEN_AUTH = "global.auth.data-access-token", e.ACL_EXPLICIT_OWNERSHIP_ENGINE = "global.acl-explicit-ownership-engine", e.SLE_LOBBY = "global.sle.lobby", e.SLE_FORCE_NEW_LOBBY = "global.sle.force-new-lobby", e.DVE_SLE2 = "ui.dve.sle2", e.DVE_FORCE_NEW_SEMANTIC_LAYER = "ui.dve.force-new-semantic-layer", e.WORKBOOK_SLE_ENTITY_EDITOR = "ui.workbook.sle-entity-editor", e.STATIC_PUBLISHED_APPLICATIONS = "global.static-published-applications";
386
386
  })(t || (e.FeatureFlags = t = {}));
387
387
  })), Oe = /* @__PURE__ */ e(((e) => {
388
388
  Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkbookSortingNames = void 0;
@@ -732,11 +732,15 @@ var ae = /* @__PURE__ */ e(((e) => {
732
732
  e.NONE = "NONE", e.ALL = "ALL", e.GROUPS = "GROUPS";
733
733
  })(t || (e.WhoCanShareWithEnum = t = {}));
734
734
  })), mt = /* @__PURE__ */ e(((e) => {
735
- Object.defineProperty(e, "__esModule", { value: !0 }), e.AIProviderType = void 0;
735
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.AIProviderExecutionProfile = e.AIProviderType = void 0;
736
736
  var t;
737
737
  (function(e) {
738
738
  e.OpenAI = "openai", e.AzureOpenAI = "azureopenai", e.SnowflakeCortex = "snowflakecortex", e.SnowflakeCortexAPI = "snowflakecortexapi", e.GoogleGemini = "googlegemini", e.AnthropicClaude = "anthropicclaude", e.FireworksAI = "fireworksai", e.AstratoDefault = "astrato-default";
739
739
  })(t || (e.AIProviderType = t = {}));
740
+ var n;
741
+ (function(e) {
742
+ e.ResponsesToolCalling = "responses-tool-calling", e.TextGeneration = "text-generation";
743
+ })(n || (e.AIProviderExecutionProfile = n = {}));
740
744
  })), ht = /* @__PURE__ */ e(((e) => {
741
745
  Object.defineProperty(e, "__esModule", { value: !0 }), e.IntegrationOption = e.EMessageAppIntegration = void 0;
742
746
  var t;
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, o as n } from "./operations-Dh4v1Ovt.js";
1
+ import { a as e, i as t, o as n } from "./operations-HSqnCRvv.js";
2
2
  var r = { measureFiltersEnabled: !0 }, i = () => ({
3
3
  count: 0,
4
4
  names: [],
@@ -1,9 +1,9 @@
1
- import "./visualization-filters-Cc4KU-l-.js";
2
- import { A as e, E as t, H as n, O as r, T as i, a, d as o, g as s, i as c, t as l, u, v as d } from "./shared-Bn4N5QcZ.js";
3
- import { gd as f, if as p } from "./handlers-TOT-7INo.js";
4
- import { h as m } from "./operations-Dh4v1Ovt.js";
1
+ import "./visualization-filters-mVnsnvLP.js";
2
+ import { A as e, E as t, H as n, O as r, T as i, a, d as o, g as s, i as c, t as l, u, v as d } from "./shared-DFoJxjVN.js";
3
+ import { of as f, vd as p } from "./handlers-CMbyj5y1.js";
4
+ import { h as m } from "./operations-HSqnCRvv.js";
5
5
  var h = async (h) => {
6
- let g = f(h);
6
+ let g = p(h);
7
7
  if (g) return {
8
8
  issues: [{
9
9
  code: "invalid_structure",
@@ -17,7 +17,7 @@ var h = async (h) => {
17
17
  issues: i(_.error, h.definition),
18
18
  success: !1
19
19
  };
20
- let v = p.safeParse(h.baseVSpec);
20
+ let v = f.safeParse(h.baseVSpec);
21
21
  if (!v.success) return {
22
22
  issues: [o("invalid_structure", ["baseVSpec"], "Base number vSpec is invalid.")],
23
23
  success: !1
@@ -48,6 +48,6 @@ var h = async (h) => {
48
48
  } : (S = await c(S.state, b.filterGroup), "issue" in S ? {
49
49
  issues: [S.issue],
50
50
  success: !1
51
- } : s(S.state, p));
51
+ } : s(S.state, f));
52
52
  };
53
53
  export { h as compileNumberVisualizationDefinition };