@pixerate/editor 0.180.0 → 0.181.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 (37) hide show
  1. package/dist/agent/index.cjs +34 -34
  2. package/dist/agent/index.js +5 -5
  3. package/dist/canvas/index.cjs +6 -6
  4. package/dist/canvas/index.js +2 -2
  5. package/dist/chart/index.cjs +162 -157
  6. package/dist/chart/index.d.cts +1 -0
  7. package/dist/chart/index.d.ts +1 -0
  8. package/dist/chart/index.js +12 -7
  9. package/dist/chart/layout-streamgraph.d.cts +15 -0
  10. package/dist/chart/layout-streamgraph.d.ts +15 -0
  11. package/dist/chart/spec.d.cts +1 -1
  12. package/dist/chart/spec.d.ts +1 -1
  13. package/dist/chart/types.d.cts +2 -1
  14. package/dist/chart/types.d.ts +2 -1
  15. package/dist/{chunk-KPWG3PSW.js → chunk-23E5GI2U.js} +8 -2
  16. package/dist/{chunk-IMHRN4ZZ.js → chunk-3MO3ZS7E.js} +3 -3
  17. package/dist/{chunk-GXEC4FS6.cjs → chunk-5DQPDXOM.cjs} +82 -76
  18. package/dist/{chunk-ORZF4JOO.js → chunk-6ZZKRH7R.js} +3 -1
  19. package/dist/{chunk-FHNGNL3V.cjs → chunk-CZBRY4SW.cjs} +51 -51
  20. package/dist/{chunk-34UCPHYO.js → chunk-GOBOCZZI.js} +2 -2
  21. package/dist/{chunk-VKHJJUBK.cjs → chunk-HUAISCUX.cjs} +22 -18
  22. package/dist/{chunk-OLCHKGGO.js → chunk-L6Y7TSQ4.js} +5 -1
  23. package/dist/{chunk-TUXKLM5W.cjs → chunk-N76AMOKE.cjs} +224 -42
  24. package/dist/{chunk-RLOIEDA3.cjs → chunk-O7QXVGMP.cjs} +16 -16
  25. package/dist/{chunk-R2VHVQVY.js → chunk-PI2UYMZY.js} +3 -3
  26. package/dist/{chunk-E45AIIWY.cjs → chunk-RUONPPMC.cjs} +8 -8
  27. package/dist/{chunk-GTF4RYXJ.cjs → chunk-SOSBOS5T.cjs} +22 -22
  28. package/dist/{chunk-FKYGM35R.js → chunk-UFEDHACQ.js} +2 -2
  29. package/dist/{chunk-OJQVKJYD.js → chunk-WKMUBATU.js} +183 -1
  30. package/dist/{chunk-OUO3DSRT.cjs → chunk-WRZ6C4TU.cjs} +3 -1
  31. package/dist/export/index.cjs +4 -4
  32. package/dist/export/index.js +3 -3
  33. package/dist/extensions/index.cjs +7 -7
  34. package/dist/extensions/index.js +6 -6
  35. package/dist/index.cjs +13 -13
  36. package/dist/index.js +7 -7
  37. package/package.json +1 -1
@@ -11,10 +11,10 @@ var _chunkYN6JKAUEcjs = require('./chunk-YN6JKAUE.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkVKHJJUBKcjs = require('./chunk-VKHJJUBK.cjs');
14
+ var _chunkHUAISCUXcjs = require('./chunk-HUAISCUX.cjs');
15
15
 
16
16
 
17
- var _chunkOUO3DSRTcjs = require('./chunk-OUO3DSRT.cjs');
17
+ var _chunkWRZ6C4TUcjs = require('./chunk-WRZ6C4TU.cjs');
18
18
 
19
19
  // src/export/images.ts
20
20
  var DOCX_IMAGE_TYPES = {
@@ -1028,12 +1028,12 @@ var DocxBuilder = (_class2 = class {
1028
1028
  this.drop("node", "chart", "chart has no spec");
1029
1029
  return;
1030
1030
  }
1031
- const spec = _chunkOUO3DSRTcjs.normalizeChartSpec.call(void 0, raw).spec;
1032
- const written = _chunkVKHJJUBKcjs.chartToOoxml.call(void 0, spec);
1031
+ const spec = _chunkWRZ6C4TUcjs.normalizeChartSpec.call(void 0, raw).spec;
1032
+ const written = _chunkHUAISCUXcjs.chartToOoxml.call(void 0, spec);
1033
1033
  for (const issue of written.issues) this.drop("node", "chart", issue);
1034
1034
  const name = `chart${this.charts.length + 1}.xml`;
1035
1035
  this.charts.push(written.xml);
1036
- const relId = this.rels.add(_chunkVKHJJUBKcjs.CHART_OOXML_RELATIONSHIP, `charts/${name}`);
1036
+ const relId = this.rels.add(_chunkHUAISCUXcjs.CHART_OOXML_RELATIONSHIP, `charts/${name}`);
1037
1037
  let width = _nullishCoalesce(pixelAttr(_optionalChain([node, 'access', _91 => _91.attrs, 'optionalAccess', _92 => _92.width])), () => ( MAX_IMAGE_WIDTH_PX));
1038
1038
  let height = _nullishCoalesce(pixelAttr(_optionalChain([node, 'access', _93 => _93.attrs, 'optionalAccess', _94 => _94.height])), () => ( 320));
1039
1039
  if (width > MAX_IMAGE_WIDTH_PX) {
@@ -1050,8 +1050,8 @@ var DocxBuilder = (_class2 = class {
1050
1050
  drawing.empty("wp:extent", { cx, cy }).empty("wp:effectExtent", { l: 0, t: 0, r: 0, b: 0 });
1051
1051
  drawing.empty("wp:docPr", { id, name: `Chart ${id}`, descr: title || void 0, title: title || void 0 });
1052
1052
  drawing.empty("wp:cNvGraphicFramePr");
1053
- drawing.open("a:graphic").open("a:graphicData", { uri: _chunkVKHJJUBKcjs.CHART_OOXML_NS });
1054
- drawing.empty("c:chart", { "xmlns:c": _chunkVKHJJUBKcjs.CHART_OOXML_NS, "r:id": relId });
1053
+ drawing.open("a:graphic").open("a:graphicData", { uri: _chunkHUAISCUXcjs.CHART_OOXML_NS });
1054
+ drawing.empty("c:chart", { "xmlns:c": _chunkHUAISCUXcjs.CHART_OOXML_NS, "r:id": relId });
1055
1055
  drawing.close("a:graphicData").close("a:graphic").close("wp:inline").close("w:drawing").close("w:r");
1056
1056
  this.report.written.paragraphs++;
1057
1057
  w.open("w:p");
@@ -1384,7 +1384,7 @@ var DocxBuilder = (_class2 = class {
1384
1384
  if (people) add("word/people.xml", people, `${CT_WML}people+xml`);
1385
1385
  parts.push({ name: "word/_rels/document.xml.rels", data: this.rels.xml() });
1386
1386
  for (const file of this.media) parts.push({ name: `word/media/${file.name}`, data: file.bytes });
1387
- this.charts.forEach((xml, i) => add(`word/charts/chart${i + 1}.xml`, xml, _chunkVKHJJUBKcjs.CHART_OOXML_CONTENT_TYPE));
1387
+ this.charts.forEach((xml, i) => add(`word/charts/chart${i + 1}.xml`, xml, _chunkHUAISCUXcjs.CHART_OOXML_CONTENT_TYPE));
1388
1388
  add("docProps/core.xml", this.coreXml(now), "application/vnd.openxmlformats-package.core-properties+xml");
1389
1389
  const app = new XmlWriter();
1390
1390
  app.open("Properties", { xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" });
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkOUO3DSRTcjs = require('./chunk-OUO3DSRT.cjs');
21
+ var _chunkWRZ6C4TUcjs = require('./chunk-WRZ6C4TU.cjs');
22
22
 
23
23
  // src/chart/schemas.ts
24
24
  var VALUE = { type: ["number", "string", "null"], description: 'A number, numeric text ("1,200", "12%", "$40", "(3)") or null for a gap.' };
@@ -30,7 +30,7 @@ var FORMAT = {
30
30
  type: "object",
31
31
  description: "How numbers are written on this axis or series.",
32
32
  properties: {
33
- style: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_NUMBER_STYLES], description: "number (default), percent (0.25 \u2192 25%), currency or compact (1.2K)." },
33
+ style: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_NUMBER_STYLES], description: "number (default), percent (0.25 \u2192 25%), currency or compact (1.2K)." },
34
34
  decimals: { type: "integer", minimum: 0, maximum: 10, description: "Fixed decimals (default: what the ticks need)." },
35
35
  currency: { type: "string", description: 'ISO currency code for style "currency", e.g. "EUR" (default USD).' },
36
36
  prefix: { type: "string", description: "Text before every number." },
@@ -50,10 +50,10 @@ var AXIS = (what) => ({
50
50
  step: { type: ["number", "null"], exclusiveMinimum: 0, description: "Fixed distance between ticks, or null for automatic." },
51
51
  gridlines: { type: "boolean", description: "Grid lines at each tick." },
52
52
  format: FORMAT,
53
- kind: { type: ["string", "null"], enum: [..._chunkOUO3DSRTcjs.CHART_AXIS_KINDS, null], description: 'Category axis only: "date" reads categories as dates and labels them by calendar steps.' },
53
+ kind: { type: ["string", "null"], enum: [..._chunkWRZ6C4TUcjs.CHART_AXIS_KINDS, null], description: 'Category axis only: "date" reads categories as dates and labels them by calendar steps.' },
54
54
  scale: {
55
55
  type: ["string", "null"],
56
- enum: [..._chunkOUO3DSRTcjs.CHART_AXIS_SCALES, null],
56
+ enum: [..._chunkWRZ6C4TUcjs.CHART_AXIS_SCALES, null],
57
57
  description: 'Value axes and the numeric x axis of scatter / bubble charts: "log" spaces ticks by powers of logBase (values of 0 or less are skipped; min and max must be above 0; not with percent stacking). "linear" or null is the default. Ignored on a category axis.'
58
58
  },
59
59
  logBase: { type: ["number", "null"], minimum: 2, maximum: 1e3, description: "Base of a log axis, 2 to 1000 (default 10; null resets)." },
@@ -62,7 +62,7 @@ var AXIS = (what) => ({
62
62
  additionalProperties: false
63
63
  });
64
64
  var TRENDLINE_PROPS = {
65
- type: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_TRENDLINE_TYPES], description: "Fit: linear, exponential, logarithmic, power, polynomial or moving-average." },
65
+ type: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_TRENDLINE_TYPES], description: "Fit: linear, exponential, logarithmic, power, polynomial or moving-average." },
66
66
  order: { type: "integer", minimum: 2, maximum: 6, description: "Polynomial order (default 2)." },
67
67
  period: { type: "integer", minimum: 2, description: "Moving-average period in points (default 2)." },
68
68
  forward: { type: "number", minimum: 0, description: "Extend the line this many x units past the last point (default 0)." },
@@ -77,7 +77,7 @@ var REFERENCE_COMMON = {
77
77
  label: { type: "string", description: 'Text written on it, e.g. "Target" (default none).' },
78
78
  axis: {
79
79
  type: "string",
80
- enum: [..._chunkOUO3DSRTcjs.CHART_REFERENCE_AXES],
80
+ enum: [..._chunkWRZ6C4TUcjs.CHART_REFERENCE_AXES],
81
81
  description: "Axis it is measured on: y (default) is the value axis, y2 the secondary value axis (needs a series there), x the numeric x axis of a scatter or bubble chart."
82
82
  },
83
83
  color: { type: "string", description: "CSS colour (default: the text colour)." }
@@ -93,7 +93,7 @@ var REFERENCE_BAND_PROPS = {
93
93
  };
94
94
  var REFERENCE_COMMON_PATCH = {
95
95
  label: { type: ["string", "null"], description: "Text written on it; null removes it." },
96
- axis: { type: ["string", "null"], enum: [..._chunkOUO3DSRTcjs.CHART_REFERENCE_AXES, null], description: "Axis it is measured on (y, y2 or x); null goes back to y." },
96
+ axis: { type: ["string", "null"], enum: [..._chunkWRZ6C4TUcjs.CHART_REFERENCE_AXES, null], description: "Axis it is measured on (y, y2 or x); null goes back to y." },
97
97
  color: { type: ["string", "null"], description: "CSS colour; null goes back to the text colour." }
98
98
  };
99
99
  var REFERENCE_LINE_PATCH = { value: REFERENCE_LINE_PROPS.value, ...REFERENCE_COMMON_PATCH };
@@ -127,13 +127,13 @@ var ERROR_BARS = (what) => ({
127
127
  properties: {
128
128
  type: {
129
129
  type: "string",
130
- enum: [..._chunkOUO3DSRTcjs.CHART_ERROR_BAR_TYPES],
130
+ enum: [..._chunkWRZ6C4TUcjs.CHART_ERROR_BAR_TYPES],
131
131
  description: "fixed: the same amount at every point; percent: a percentage of each value; stddev: value standard deviations of the series, drawn around the series mean (as Excel does); stderr: the standard error of the series at every point; custom: per-point plus / minus amounts."
132
132
  },
133
133
  value: { type: "number", minimum: 0, description: "Amount in data units for fixed (default 1), percent of each value for percent (default 5), number of standard deviations for stddev (default 1). Not for stderr or custom." },
134
134
  plus: { type: "array", items: VALUE, description: "custom only: amount above each point, one per category, in data units (0 or more; null for none)." },
135
135
  minus: { type: "array", items: VALUE, description: "custom only: amount below each point, one per category (default: the plus amounts)." },
136
- direction: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_ERROR_BAR_DIRECTIONS], description: "both (default), plus (only above) or minus (only below)." },
136
+ direction: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_ERROR_BAR_DIRECTIONS], description: "both (default), plus (only above) or minus (only below)." },
137
137
  cap: { type: "boolean", description: "Draw end caps (default true)." }
138
138
  },
139
139
  required: ["type"],
@@ -143,22 +143,22 @@ var SERIES_PROPS = {
143
143
  name: { type: "string", description: "Series name (legend and data grid header)." },
144
144
  values: { type: "array", items: VALUE, description: "One value per category, in category order (padded with gaps)." },
145
145
  color: { type: ["string", "null"], description: "CSS colour, or null for the palette colour." },
146
- type: { type: ["string", "null"], enum: [..._chunkOUO3DSRTcjs.CHART_SERIES_TYPES, null], description: "Draw this series as bar, line, area or scatter (a combo chart); null follows the chart type." },
146
+ type: { type: ["string", "null"], enum: [..._chunkWRZ6C4TUcjs.CHART_SERIES_TYPES, null], description: "Draw this series as bar, line, area or scatter (a combo chart); null follows the chart type." },
147
147
  hidden: { type: "boolean", description: "Hide the series (its data is kept)." },
148
148
  axis: { type: ["string", "null"], enum: ["primary", "secondary", null], description: "Value axis: secondary is drawn on the right with its own scale." },
149
149
  x: { type: ["array", "null"], items: VALUE, description: "Numeric x per category, for scatter and bubble charts." },
150
150
  sizes: { type: ["array", "null"], items: VALUE, description: "Bubble sizes per category (area is proportional to size)." },
151
151
  pointColors: { type: ["array", "null"], items: { type: ["string", "null"] }, description: "Colour per category (null keeps the series colour)." },
152
152
  callouts: { type: ["array", "null"], items: { type: ["string", "null"] }, description: "A label pinned to each point that matters, one per category (null: none); null removes them all. Bar, line, area and scatter charts. set_chart_callout sets one." },
153
- marker: { type: ["string", "null"], enum: [..._chunkOUO3DSRTcjs.CHART_MARKERS, null], description: "Point marker shape for line, area and scatter series." },
154
- curve: { type: ["string", "null"], enum: [..._chunkOUO3DSRTcjs.CHART_CURVES, null], description: "Line shape for this series: linear, smooth or step." },
153
+ marker: { type: ["string", "null"], enum: [..._chunkWRZ6C4TUcjs.CHART_MARKERS, null], description: "Point marker shape for line, area and scatter series." },
154
+ curve: { type: ["string", "null"], enum: [..._chunkWRZ6C4TUcjs.CHART_CURVES, null], description: "Line shape for this series: linear, smooth or step." },
155
155
  dataLabels: { type: ["boolean", "null"], description: "Value labels for this series (null follows the chart)." },
156
156
  format: { ...FORMAT, type: ["object", "null"], description: "How this series' labels are written (null follows the value axis)." },
157
157
  errorBars: ERROR_BARS("Error bars along the value axis (bar, line, area and scatter series; on stacked charts they sit on the stack top)."),
158
158
  xErrorBars: ERROR_BARS("Error bars along the x axis (scatter and bubble charts with numeric x values; amounts in x units).")
159
159
  };
160
160
  var CHART_UPDATE_PROPERTIES = {
161
- type: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_TYPES], description: "Chart type. slope joins each category from the first series (before) to the second (after); likert reads each category as a question and the series as answers from most negative to most positive; parliament draws the first series as seats; sunburst draws the grouped data (set_chart_tree) as rings, and a treemap with grouped data nests its groups; sankey draws the flows (set_chart_links); barrace reads categories as time points and series as names, and animates their ranking; choropleth shades the regions of a map, each category naming a region by code (FRA) or name (France)." },
161
+ type: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_TYPES], description: "Chart type. streamgraph stacks areas symmetrically around a center baseline; slope joins each category from the first series (before) to the second (after); likert reads each category as a question and the series as answers from most negative to most positive; parliament draws the first series as seats; sunburst draws the grouped data (set_chart_tree) as rings, and a treemap with grouped data nests its groups; sankey draws the flows (set_chart_links); barrace reads categories as time points and series as names, and animates their ranking; choropleth shades the regions of a map, each category naming a region by code (FRA) or name (France)." },
162
162
  title: { type: "string", description: 'Title ("" for none).' },
163
163
  subtitle: { type: "string", description: 'Subtitle ("" for none).' },
164
164
  xAxis: AXIS("Category axis (or numeric x axis of scatter / bubble charts)."),
@@ -167,15 +167,15 @@ var CHART_UPDATE_PROPERTIES = {
167
167
  legend: {
168
168
  type: "object",
169
169
  description: "Legend.",
170
- properties: { show: { type: "boolean", description: "Show the legend." }, position: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_LEGEND_POSITIONS], description: "Where the legend goes." } },
170
+ properties: { show: { type: "boolean", description: "Show the legend." }, position: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_LEGEND_POSITIONS], description: "Where the legend goes." } },
171
171
  additionalProperties: false
172
172
  },
173
- stacking: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_STACKINGS], description: "none, stacked, or percent (each category scaled to 100%)." },
174
- orientation: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_ORIENTATIONS], description: "horizontal draws bars sideways." },
175
- curve: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_CURVES], description: "Line shape: linear, smooth or step." },
173
+ stacking: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_STACKINGS], description: "none, stacked, or percent (each category scaled to 100%)." },
174
+ orientation: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_ORIENTATIONS], description: "horizontal draws bars sideways." },
175
+ curve: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_CURVES], description: "Line shape: linear, smooth or step." },
176
176
  points: { type: "boolean", description: "Dots on line and area series." },
177
177
  dataLabels: { type: "boolean", description: "Value labels on bars, points and slices." },
178
- labelPosition: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_LABEL_POSITIONS], description: "Bar label position; auto drops labels that do not fit." },
178
+ labelPosition: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_LABEL_POSITIONS], description: "Bar label position; auto drops labels that do not fit." },
179
179
  palette: { type: "array", items: { type: "string" }, minItems: 1, description: "Series colours in order (CSS colours)." },
180
180
  innerRadius: { type: "number", minimum: 0, maximum: 0.9, description: "Donut hole as a fraction of the radius." },
181
181
  gapWidth: { type: "number", minimum: 0, maximum: 0.9, description: "Space between bar groups as a fraction of the category (default 0.28)." },
@@ -183,19 +183,19 @@ var CHART_UPDATE_PROPERTIES = {
183
183
  bins: { type: ["integer", "null"], minimum: 1, maximum: 500, description: "Histogram bin count, or null for \u221An." },
184
184
  showTotal: { type: "boolean", description: "Waterfall: append a total bar." },
185
185
  radarTicks: { type: ["integer", "null"], minimum: 1, maximum: 50, description: "Radar: number of evenly spaced rings from the value axis min to max, or null for round-number rings (default null)." },
186
- radarGraticule: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_RADAR_GRATICULES], description: "Radar: draw rings as polygons through the spokes or as circles (default polygon)." },
186
+ radarGraticule: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_RADAR_GRATICULES], description: "Radar: draw rings as polygons through the spokes or as circles (default polygon)." },
187
187
  note: { type: "string", description: 'A source or footnote written under the chart ("" for none).' },
188
188
  highlight: { type: "array", items: { type: "string" }, description: "Category labels and series names (or ids) to draw normally while the rest are muted; [] shows everything. highlight_chart checks the names." },
189
189
  referenceLines: { type: "array", items: { type: "object", properties: REFERENCE_LINE_PROPS, required: ["value"], additionalProperties: false }, description: "Replaces every reference line (targets, floors, averages across the plot). add_chart_reference_line adds one." },
190
190
  referenceBands: { type: "array", items: { type: "object", properties: REFERENCE_BAND_PROPS, required: ["from", "to"], additionalProperties: false }, description: "Replaces every reference band (target ranges across the plot). add_chart_reference_band adds one." },
191
191
  varyColors: { type: "boolean", description: "A one-series bar, line, area or scatter chart colours each category from the palette, and its legend lists the categories (default false)." },
192
- likertNeutral: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_LIKERT_NEUTRALS], description: "Likert with an odd number of answers: split (default) puts the middle answer across the centre line; separate draws it in its own column on the right." },
193
- likertSort: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_LIKERT_SORTS], description: "Likert: order the questions by agreement (positive), by disagreement (negative) or as given (none, default)." },
192
+ likertNeutral: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_LIKERT_NEUTRALS], description: "Likert with an odd number of answers: split (default) puts the middle answer across the centre line; separate draws it in its own column on the right." },
193
+ likertSort: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_LIKERT_SORTS], description: "Likert: order the questions by agreement (positive), by disagreement (negative) or as given (none, default)." },
194
194
  parliamentArc: { type: "number", minimum: 90, maximum: 360, description: "Parliament: sweep of the hemicycle in degrees (default 180)." },
195
195
  parliamentMajority: { type: ["integer", "null"], minimum: 1, description: "Parliament: seats needed for a majority, drawn as a dashed line (null: half of the seats plus one)." },
196
196
  parliamentLabel: { type: "string", description: 'Parliament: caption under the seat total ("" writes "seats").' },
197
197
  sunburstLabel: { type: "string", description: 'Sunburst: caption under the total in the centre ("" for none).' },
198
- sankeyLinkColor: { type: "string", enum: [..._chunkOUO3DSRTcjs.CHART_SANKEY_LINK_COLORS], description: "Sankey: colour each flow by its source node (default), its target node, or grey." },
198
+ sankeyLinkColor: { type: "string", enum: [..._chunkWRZ6C4TUcjs.CHART_SANKEY_LINK_COLORS], description: "Sankey: colour each flow by its source node (default), its target node, or grey." },
199
199
  map: { type: "string", description: 'Choropleth: the registered map to draw (list_chart_map_regions lists them; "europe" by default).' },
200
200
  mapSteps: { type: "integer", minimum: 2, maximum: 9, description: "Choropleth: number of equal colour classes between the smallest and largest value (default 5)." },
201
201
  mapThresholds: { type: "array", items: { type: "number" }, maxItems: 8, description: "Choropleth: class breaks in ascending order, e.g. [100, 250, 500], used instead of mapSteps; [] goes back to equal classes." },
@@ -11,10 +11,10 @@ import {
11
11
  CHART_OOXML_NS,
12
12
  CHART_OOXML_RELATIONSHIP,
13
13
  chartToOoxml
14
- } from "./chunk-OLCHKGGO.js";
14
+ } from "./chunk-L6Y7TSQ4.js";
15
15
  import {
16
16
  normalizeChartSpec
17
- } from "./chunk-ORZF4JOO.js";
17
+ } from "./chunk-6ZZKRH7R.js";
18
18
 
19
19
  // src/export/images.ts
20
20
  var DOCX_IMAGE_TYPES = {
@@ -12,7 +12,7 @@ import {
12
12
  chartTreeTotal,
13
13
  chartVariesColors,
14
14
  shadeChartColor
15
- } from "./chunk-ORZF4JOO.js";
15
+ } from "./chunk-6ZZKRH7R.js";
16
16
  import {
17
17
  NumberFormat
18
18
  } from "./chunk-II2WIF5Z.js";
@@ -1678,6 +1678,185 @@ function trendlineLegendItems(spec, color) {
1678
1678
  );
1679
1679
  }
1680
1680
 
1681
+ // src/chart/layout-streamgraph.ts
1682
+ function layoutStreamgraph(ctx, area, visible) {
1683
+ const { spec, theme, marks, selection } = ctx;
1684
+ const n = spec.categories.length;
1685
+ if (!visible.length || n === 0) {
1686
+ const plot2 = { x: area.x + 8, y: area.y + 8, width: Math.max(1, area.width - 16), height: Math.max(1, area.height - 16) };
1687
+ marks.push({
1688
+ kind: "text",
1689
+ key: "empty",
1690
+ role: "empty",
1691
+ x: plot2.x + plot2.width / 2,
1692
+ y: plot2.y + plot2.height / 2,
1693
+ text: ctx.options.emptyMessage ?? "No data",
1694
+ anchor: "middle",
1695
+ baseline: "middle",
1696
+ size: ctx.fs + 1,
1697
+ fill: theme.mutedText
1698
+ });
1699
+ return { plot: plot2 };
1700
+ }
1701
+ const totals = new Array(n).fill(0);
1702
+ for (let i = 0; i < n; i++) {
1703
+ let colSum = 0;
1704
+ for (const s of visible) {
1705
+ const v = s.values[i];
1706
+ if (v !== null && Number.isFinite(v) && v > 0) {
1707
+ colSum += v;
1708
+ }
1709
+ }
1710
+ totals[i] = colSum;
1711
+ }
1712
+ const maxTotal = Math.max(0, ...totals);
1713
+ const halfTotal = maxTotal > 0 ? maxTotal / 2 : 1;
1714
+ const headroom = spec.yAxis.max === null;
1715
+ const maxHalf = headroom ? halfTotal * 1.15 : halfTotal;
1716
+ const lo = -maxHalf;
1717
+ const hi = maxHalf;
1718
+ const frame = categoryFrame(ctx, area, {
1719
+ labels: spec.categories,
1720
+ horizontal: spec.orientation === "horizontal",
1721
+ primary: {
1722
+ lo,
1723
+ hi,
1724
+ axis: spec.yAxis,
1725
+ format: spec.yAxis.format,
1726
+ frozen: ctx.options.valueDomain,
1727
+ key: "y"
1728
+ }
1729
+ });
1730
+ const { plot, catCenter, map, value } = frame;
1731
+ const curve = spec.curve === "step" ? "linear" : spec.curve;
1732
+ const baselines = totals.map((t) => -0.5 * t);
1733
+ const currentOffsets = [...baselines];
1734
+ const zeroPx = value.px(0);
1735
+ const [zx1, zy1] = map({ c: frame.catStart, v: zeroPx });
1736
+ const [zx2, zy2] = map({ c: frame.catStart + frame.catLen, v: zeroPx });
1737
+ marks.push({
1738
+ kind: "line",
1739
+ key: "rule-zero",
1740
+ role: "grid",
1741
+ x1: zx1,
1742
+ y1: zy1,
1743
+ x2: zx2,
1744
+ y2: zy2,
1745
+ stroke: theme.axis,
1746
+ strokeWidth: 1,
1747
+ dash: "3,3"
1748
+ });
1749
+ const layers = [];
1750
+ for (let sIdx = 0; sIdx < visible.length; sIdx++) {
1751
+ const s = visible[sIdx];
1752
+ const color = chartSeriesColor(spec, spec.series.indexOf(s));
1753
+ const selSeries = ctx.seriesSelected(s.id);
1754
+ const bottomPts = [];
1755
+ const topPts = [];
1756
+ for (let i = 0; i < n; i++) {
1757
+ const c = catCenter(i);
1758
+ const rawVal = s.values[i];
1759
+ const val = rawVal !== null && Number.isFinite(rawVal) && rawVal > 0 ? rawVal : 0;
1760
+ const bVal = currentOffsets[i];
1761
+ const tVal = bVal + val;
1762
+ currentOffsets[i] = tVal;
1763
+ bottomPts.push({ c, v: value.px(bVal), i });
1764
+ topPts.push({ c, v: value.px(tVal), i });
1765
+ }
1766
+ layers.push({ series: s, color, selSeries, bottomPts, topPts });
1767
+ }
1768
+ for (const layer of layers) {
1769
+ const { series: s, color, selSeries, bottomPts, topPts } = layer;
1770
+ const seriesTarget = { kind: "series", seriesId: s.id };
1771
+ const revBottom = [...bottomPts].reverse();
1772
+ const d = `${curvePath(topPts, curve, map)}${curvePath(revBottom, curve, map, false)}Z`;
1773
+ marks.push({
1774
+ kind: "path",
1775
+ key: `area-${s.id}`,
1776
+ role: "area",
1777
+ d,
1778
+ fill: color,
1779
+ opacity: selSeries ? 0.85 : 0.65,
1780
+ target: seriesTarget,
1781
+ selected: selSeries
1782
+ });
1783
+ }
1784
+ if (layers.length > 0) {
1785
+ const bottomBase = layers[0].bottomPts;
1786
+ marks.push({
1787
+ kind: "path",
1788
+ key: `boundary-bottom`,
1789
+ role: "line",
1790
+ d: curvePath(bottomBase, curve, map),
1791
+ fill: "none",
1792
+ stroke: theme.axis,
1793
+ strokeWidth: 1.5,
1794
+ opacity: 0.7
1795
+ });
1796
+ }
1797
+ for (const layer of layers) {
1798
+ const { series: s, color, selSeries, topPts } = layer;
1799
+ const seriesTarget = { kind: "series", seriesId: s.id };
1800
+ marks.push({
1801
+ kind: "path",
1802
+ key: `line-${s.id}`,
1803
+ role: "line",
1804
+ d: curvePath(topPts, curve, map),
1805
+ fill: "none",
1806
+ stroke: color,
1807
+ strokeWidth: selSeries ? 3 : 1.75,
1808
+ target: seriesTarget,
1809
+ selected: selSeries
1810
+ });
1811
+ }
1812
+ const showDots = spec.points;
1813
+ for (const layer of layers) {
1814
+ const { series: s, color } = layer;
1815
+ for (let i = 0; i < n; i++) {
1816
+ const rawVal = s.values[i];
1817
+ if (rawVal === null || !Number.isFinite(rawVal)) continue;
1818
+ const bPt = layer.bottomPts[i];
1819
+ const tPt = layer.topPts[i];
1820
+ const midV = (bPt.v + tPt.v) / 2;
1821
+ const [cx, cy] = map({ c: bPt.c, v: midV });
1822
+ const target = { kind: "point", seriesId: s.id, index: i };
1823
+ const selected = ctx.isSelected(target);
1824
+ if (showDots || selected) {
1825
+ marks.push({
1826
+ kind: "circle",
1827
+ key: `pt-${s.id}-${i}`,
1828
+ role: "point",
1829
+ cx: r2(cx),
1830
+ cy: r2(cy),
1831
+ r: selected ? 5 : 3.5,
1832
+ fill: selected ? theme.selection : color,
1833
+ stroke: theme.surface,
1834
+ strokeWidth: 1.5,
1835
+ target,
1836
+ selected
1837
+ });
1838
+ } else {
1839
+ marks.push({
1840
+ kind: "circle",
1841
+ key: `hit-${s.id}-${i}`,
1842
+ role: "point",
1843
+ cx: r2(cx),
1844
+ cy: r2(cy),
1845
+ r: 6,
1846
+ fill: "transparent",
1847
+ stroke: "none",
1848
+ target
1849
+ });
1850
+ }
1851
+ }
1852
+ }
1853
+ return {
1854
+ plot,
1855
+ valueScale: toValueScale(value, frame.horizontal ? "x" : "y"),
1856
+ categoryScale: { axis: frame.horizontal ? "y" : "x", start: frame.catStart, length: frame.catLen, count: frame.n, reverse: !!spec.xAxis.reverse }
1857
+ };
1858
+ }
1859
+
1681
1860
  // src/chart/maps.ts
1682
1861
  var maps = /* @__PURE__ */ new Map();
1683
1862
  function registerChartMap(map) {
@@ -2777,6 +2956,8 @@ function layoutChart(spec, options) {
2777
2956
  }
2778
2957
  case "barrace":
2779
2958
  return finish(layoutBarRace(ctx, area, options.raceFrame));
2959
+ case "streamgraph":
2960
+ return finish(layoutStreamgraph(ctx, area, visible));
2780
2961
  case "sankey":
2781
2962
  if (!spec.links.length) {
2782
2963
  ctx.warn("type-fallback", "A Sankey diagram needs flows (set_chart_links); it is drawn as a bar chart until then.");
@@ -2994,6 +3175,7 @@ export {
2994
3175
  MAX_CHART_DATA_LABELS,
2995
3176
  MAX_CHART_LINE_POINTS,
2996
3177
  MAX_CHART_MARKERS,
3178
+ layoutStreamgraph,
2997
3179
  registerChartMap,
2998
3180
  getChartMap,
2999
3181
  listChartMaps,
@@ -426,7 +426,7 @@ function removeChartTreeRow(rows, row) {
426
426
  }
427
427
 
428
428
  // src/chart/spec.ts
429
- var CHART_TYPES = ["bar", "line", "area", "scatter", "bubble", "pie", "donut", "radar", "waterfall", "histogram", "box", "funnel", "treemap", "sunburst", "sankey", "slope", "likert", "parliament", "barrace", "choropleth"];
429
+ var CHART_TYPES = ["bar", "line", "area", "scatter", "bubble", "pie", "donut", "radar", "waterfall", "histogram", "box", "funnel", "treemap", "sunburst", "sankey", "streamgraph", "slope", "likert", "parliament", "barrace", "choropleth"];
430
430
  var CHART_MARKERS = ["circle", "square", "diamond", "triangle", "cross", "none"];
431
431
  var CHART_TRENDLINE_TYPES = ["linear", "exponential", "logarithmic", "power", "polynomial", "moving-average"];
432
432
  var CHART_LABEL_POSITIONS = ["auto", "inside", "outside", "center"];
@@ -462,6 +462,7 @@ var CHART_TYPE_LABELS = {
462
462
  parliament: "Parliament",
463
463
  sunburst: "Sunburst",
464
464
  sankey: "Sankey",
465
+ streamgraph: "Streamgraph",
465
466
  barrace: "Bar race",
466
467
  choropleth: "Map"
467
468
  };
@@ -515,6 +516,7 @@ function chartFamily(spec) {
515
516
  case "parliament":
516
517
  case "sunburst":
517
518
  case "sankey":
519
+ case "streamgraph":
518
520
  case "barrace":
519
521
  case "choropleth":
520
522
  return spec.type;
@@ -12,14 +12,14 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkE45AIIWYcjs = require('../chunk-E45AIIWY.cjs');
15
+ var _chunkRUONPPMCcjs = require('../chunk-RUONPPMC.cjs');
16
16
 
17
17
 
18
18
 
19
19
  var _chunkJLWLX52Lcjs = require('../chunk-JLWLX52L.cjs');
20
20
  require('../chunk-YN6JKAUE.cjs');
21
- require('../chunk-VKHJJUBK.cjs');
22
- require('../chunk-OUO3DSRT.cjs');
21
+ require('../chunk-HUAISCUX.cjs');
22
+ require('../chunk-WRZ6C4TU.cjs');
23
23
  require('../chunk-ALNIFK5G.cjs');
24
24
  require('../chunk-2BSBFBOA.cjs');
25
25
  require('../chunk-EUIDTZNQ.cjs');
@@ -42,4 +42,4 @@ require('../chunk-IPJ3TEYR.cjs');
42
42
 
43
43
 
44
44
 
45
- exports.DOCX_ANONYMOUS_AUTHOR = _chunkE45AIIWYcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunkE45AIIWYcjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunkE45AIIWYcjs.DocxExportController; exports.XmlWriter = _chunkE45AIIWYcjs.XmlWriter; exports.createDocxExportController = _chunkE45AIIWYcjs.createDocxExportController; exports.createDocxParts = _chunkE45AIIWYcjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunkE45AIIWYcjs.docxFileName; exports.downloadBlob = _chunkE45AIIWYcjs.downloadBlob; exports.escapeXmlAttr = _chunkE45AIIWYcjs.escapeXmlAttr; exports.escapeXmlText = _chunkE45AIIWYcjs.escapeXmlText; exports.exportDocx = _chunkE45AIIWYcjs.exportDocx; exports.exportDocxBlob = _chunkE45AIIWYcjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunkE45AIIWYcjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
45
+ exports.DOCX_ANONYMOUS_AUTHOR = _chunkRUONPPMCcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunkRUONPPMCcjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunkRUONPPMCcjs.DocxExportController; exports.XmlWriter = _chunkRUONPPMCcjs.XmlWriter; exports.createDocxExportController = _chunkRUONPPMCcjs.createDocxExportController; exports.createDocxParts = _chunkRUONPPMCcjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunkRUONPPMCcjs.docxFileName; exports.downloadBlob = _chunkRUONPPMCcjs.downloadBlob; exports.escapeXmlAttr = _chunkRUONPPMCcjs.escapeXmlAttr; exports.escapeXmlText = _chunkRUONPPMCcjs.escapeXmlText; exports.exportDocx = _chunkRUONPPMCcjs.exportDocx; exports.exportDocxBlob = _chunkRUONPPMCcjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunkRUONPPMCcjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
@@ -12,14 +12,14 @@ import {
12
12
  exportDocx,
13
13
  exportDocxBlob,
14
14
  stripInvalidXmlChars
15
- } from "../chunk-FKYGM35R.js";
15
+ } from "../chunk-UFEDHACQ.js";
16
16
  import {
17
17
  deflateRaw,
18
18
  writeZip
19
19
  } from "../chunk-AZCODQO5.js";
20
20
  import "../chunk-CXXKJBQZ.js";
21
- import "../chunk-OLCHKGGO.js";
22
- import "../chunk-ORZF4JOO.js";
21
+ import "../chunk-L6Y7TSQ4.js";
22
+ import "../chunk-6ZZKRH7R.js";
23
23
  import "../chunk-CIQIM2IP.js";
24
24
  import "../chunk-HF5QZS7Z.js";
25
25
  import "../chunk-7272D3K2.js";
@@ -95,7 +95,7 @@
95
95
 
96
96
 
97
97
 
98
- var _chunkFHNGNL3Vcjs = require('../chunk-FHNGNL3V.cjs');
98
+ var _chunkCZBRY4SWcjs = require('../chunk-CZBRY4SW.cjs');
99
99
 
100
100
 
101
101
 
@@ -104,7 +104,7 @@ var _chunkFHNGNL3Vcjs = require('../chunk-FHNGNL3V.cjs');
104
104
 
105
105
 
106
106
  var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
107
- require('../chunk-VKHJJUBK.cjs');
107
+ require('../chunk-HUAISCUX.cjs');
108
108
  require('../chunk-HMGWFXEC.cjs');
109
109
 
110
110
 
@@ -171,11 +171,11 @@ require('../chunk-HMGWFXEC.cjs');
171
171
 
172
172
 
173
173
 
174
- var _chunkRLOIEDA3cjs = require('../chunk-RLOIEDA3.cjs');
175
- require('../chunk-GXEC4FS6.cjs');
174
+ var _chunkO7QXVGMPcjs = require('../chunk-O7QXVGMP.cjs');
175
+ require('../chunk-5DQPDXOM.cjs');
176
176
  require('../chunk-TTCJPX4U.cjs');
177
- require('../chunk-TUXKLM5W.cjs');
178
- require('../chunk-OUO3DSRT.cjs');
177
+ require('../chunk-N76AMOKE.cjs');
178
+ require('../chunk-WRZ6C4TU.cjs');
179
179
  require('../chunk-VU6WQSMB.cjs');
180
180
  require('../chunk-3AJMR7EG.cjs');
181
181
  require('../chunk-G43MNQ4C.cjs');
@@ -415,4 +415,4 @@ require('../chunk-IPJ3TEYR.cjs');
415
415
 
416
416
 
417
417
 
418
- exports.ALLOW_NESTED_TABLES_META = _chunkRLOIEDA3cjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkRLOIEDA3cjs.AgentCaret; exports.Autocorrect = _chunkFHNGNL3Vcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkFHNGNL3Vcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkFHNGNL3Vcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkFHNGNL3Vcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkFHNGNL3Vcjs.CharacterStyle; exports.Chart = _chunkRLOIEDA3cjs.Chart; exports.ChartNodeView = _chunkRLOIEDA3cjs.ChartNodeView; exports.ColorHighlighter = _chunkFHNGNL3Vcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkFHNGNL3Vcjs.Comments; exports.CrossReference = _chunkFHNGNL3Vcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkRLOIEDA3cjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkRLOIEDA3cjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkFHNGNL3Vcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkRLOIEDA3cjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkRLOIEDA3cjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkFHNGNL3Vcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkFHNGNL3Vcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkRLOIEDA3cjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkFHNGNL3Vcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkRLOIEDA3cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkFHNGNL3Vcjs.FileImport; exports.FindReplace = _chunkFHNGNL3Vcjs.FindReplace; exports.FindReplaceStore = _chunkFHNGNL3Vcjs.FindReplaceStore; exports.FontSize = _chunkFHNGNL3Vcjs.FontSize; exports.Footnote = _chunkFHNGNL3Vcjs.Footnote; exports.FootnoteReference = _chunkFHNGNL3Vcjs.FootnoteReference; exports.Footnotes = _chunkFHNGNL3Vcjs.Footnotes; exports.GradientText = _chunkFHNGNL3Vcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkFHNGNL3Vcjs.Image; exports.LoadingNode = _chunkFHNGNL3Vcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkRLOIEDA3cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkRLOIEDA3cjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkRLOIEDA3cjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkRLOIEDA3cjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkFHNGNL3Vcjs.Markdown; exports.Mention = _chunkFHNGNL3Vcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkFHNGNL3Vcjs.Outline; exports.ParagraphStyles = _chunkFHNGNL3Vcjs.ParagraphStyles; exports.RichClipboard = _chunkFHNGNL3Vcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkFHNGNL3Vcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkRLOIEDA3cjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkFHNGNL3Vcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkFHNGNL3Vcjs.SlashCommands; exports.SmilieReplacer = _chunkFHNGNL3Vcjs.SmilieReplacer; exports.Sparkline = _chunkRLOIEDA3cjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkRLOIEDA3cjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkRLOIEDA3cjs.Table; exports.TableCell = _chunkRLOIEDA3cjs.TableCell; exports.TableHeader = _chunkRLOIEDA3cjs.TableHeader; exports.TableOfContents = _chunkFHNGNL3Vcjs.TableOfContents; exports.TableRow = _chunkRLOIEDA3cjs.TableRow; exports.TemplateSuggestions = _chunkFHNGNL3Vcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkRLOIEDA3cjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkFHNGNL3Vcjs.applyDocumentComparison; exports.applyReplacements = _chunkRLOIEDA3cjs.applyReplacements; exports.autocorrectPluginKey = _chunkFHNGNL3Vcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkFHNGNL3Vcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkFHNGNL3Vcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkFHNGNL3Vcjs.captureSelectionFormat; exports.chartPluginKey = _chunkRLOIEDA3cjs.chartPluginKey; exports.clearAgentCaret = _chunkRLOIEDA3cjs.clearAgentCaret; exports.commentsPluginKey = _chunkFHNGNL3Vcjs.commentsPluginKey; exports.compareInEditor = _chunkFHNGNL3Vcjs.compareInEditor; exports.compileFindPattern = _chunkRLOIEDA3cjs.compileFindPattern; exports.computeOutline = _chunkFHNGNL3Vcjs.computeOutline; exports.createAgentCaretPlugin = _chunkRLOIEDA3cjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkRLOIEDA3cjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkFHNGNL3Vcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkFHNGNL3Vcjs.createMentionExtension; exports.createOutlineStore = _chunkFHNGNL3Vcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkFHNGNL3Vcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkFHNGNL3Vcjs.createRichTextPreset; exports.createSearchBudget = _chunkRLOIEDA3cjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkFHNGNL3Vcjs.createTableCommands; exports.createTableExtensions = _chunkRLOIEDA3cjs.createTableExtensions; exports.createTableNestingPlugin = _chunkRLOIEDA3cjs.createTableNestingPlugin; exports.createTableStore = _chunkRLOIEDA3cjs.createTableStore; exports.crossReferencePluginKey = _chunkFHNGNL3Vcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkFHNGNL3Vcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkFHNGNL3Vcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkRLOIEDA3cjs.ensureAgentCaret; exports.expandReplacement = _chunkRLOIEDA3cjs.expandReplacement; exports.fileImportPluginKey = _chunkFHNGNL3Vcjs.fileImportPluginKey; exports.findAllMatches = _chunkRLOIEDA3cjs.findAllMatches; exports.findAutocorrection = _chunkFHNGNL3Vcjs.findAutocorrection; exports.findCommentRanges = _chunkFHNGNL3Vcjs.findCommentRanges; exports.findHexColors = _chunkFHNGNL3Vcjs.findHexColors; exports.findReplacePluginKey = _chunkFHNGNL3Vcjs.findReplacePluginKey; exports.foldCodePoint = _chunkRLOIEDA3cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkFHNGNL3Vcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkFHNGNL3Vcjs.footnotesPluginKey; exports.formatFindStatus = _chunkFHNGNL3Vcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkFHNGNL3Vcjs.fractionRules; exports.getActiveHeading = _chunkFHNGNL3Vcjs.getActiveHeading; exports.getAgentCarets = _chunkRLOIEDA3cjs.getAgentCarets; exports.getBookmarks = _chunkFHNGNL3Vcjs.getBookmarks; exports.getCommentAnchors = _chunkFHNGNL3Vcjs.getCommentAnchors; exports.getCommentAuthor = _chunkFHNGNL3Vcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkFHNGNL3Vcjs.getCommentIdsAt; exports.getCommentStore = _chunkFHNGNL3Vcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkFHNGNL3Vcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkRLOIEDA3cjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkFHNGNL3Vcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkFHNGNL3Vcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkFHNGNL3Vcjs.getFindReplaceStore; exports.getFootnotes = _chunkFHNGNL3Vcjs.getFootnotes; exports.getMentionNodes = _chunkFHNGNL3Vcjs.getMentionNodes; exports.getOutline = _chunkFHNGNL3Vcjs.getOutline; exports.getParagraphStyleAt = _chunkFHNGNL3Vcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkFHNGNL3Vcjs.getStyleRegistry; exports.getTableActionState = _chunkRLOIEDA3cjs.getTableActionState; exports.getTableOfContentsEntries = _chunkFHNGNL3Vcjs.getTableOfContentsEntries; exports.getTableState = _chunkRLOIEDA3cjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkFHNGNL3Vcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkRLOIEDA3cjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkFHNGNL3Vcjs.imagePastePluginKey; exports.insertImageNode = _chunkFHNGNL3Vcjs.insertImageNode; exports.insertSliceAfterTable = _chunkRLOIEDA3cjs.insertSliceAfterTable; exports.isChartEnabled = _chunkRLOIEDA3cjs.isChartEnabled; exports.isGfmTable = _chunkRLOIEDA3cjs.isGfmTable; exports.isInTableCell = _chunkRLOIEDA3cjs.isInTableCell; exports.isInsidePromptToken = _chunkFHNGNL3Vcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkFHNGNL3Vcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkRLOIEDA3cjs.isSelectionInTable; exports.isTableEnabled = _chunkRLOIEDA3cjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkRLOIEDA3cjs.markAgentChanges; exports.navigateToHeading = _chunkFHNGNL3Vcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkRLOIEDA3cjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkRLOIEDA3cjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkRLOIEDA3cjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkRLOIEDA3cjs.outermostTableDepth; exports.outlinePluginKey = _chunkFHNGNL3Vcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkFHNGNL3Vcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkRLOIEDA3cjs.parseReplacement; exports.removeImageNode = _chunkFHNGNL3Vcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkRLOIEDA3cjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkFHNGNL3Vcjs.richClipboardPluginKey; exports.runTableAction = _chunkRLOIEDA3cjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkRLOIEDA3cjs.searchDocument; exports.setAgentCaret = _chunkRLOIEDA3cjs.setAgentCaret; exports.setMentionRoleAt = _chunkFHNGNL3Vcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkRLOIEDA3cjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkRLOIEDA3cjs.sliceContainsTable; exports.smartQuoteRules = _chunkFHNGNL3Vcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkFHNGNL3Vcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkRLOIEDA3cjs.sparklineLabel; exports.staticChartSvg = _chunkRLOIEDA3cjs.staticChartSvg; exports.symbolRules = _chunkFHNGNL3Vcjs.symbolRules; exports.syncFootnotes = _chunkFHNGNL3Vcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkRLOIEDA3cjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkFHNGNL3Vcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkFHNGNL3Vcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkFHNGNL3Vcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkRLOIEDA3cjs.typeAgentText; exports.unnestTables = _chunkRLOIEDA3cjs.unnestTables; exports.updateImageSrc = _chunkFHNGNL3Vcjs.updateImageSrc; exports.validateFindPattern = _chunkFHNGNL3Vcjs.validateFindPattern; exports.writeRichClipboard = _chunkFHNGNL3Vcjs.writeRichClipboard;
418
+ exports.ALLOW_NESTED_TABLES_META = _chunkO7QXVGMPcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkO7QXVGMPcjs.AgentCaret; exports.Autocorrect = _chunkCZBRY4SWcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkCZBRY4SWcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkCZBRY4SWcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkCZBRY4SWcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkCZBRY4SWcjs.CharacterStyle; exports.Chart = _chunkO7QXVGMPcjs.Chart; exports.ChartNodeView = _chunkO7QXVGMPcjs.ChartNodeView; exports.ColorHighlighter = _chunkCZBRY4SWcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkCZBRY4SWcjs.Comments; exports.CrossReference = _chunkCZBRY4SWcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkO7QXVGMPcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkO7QXVGMPcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkCZBRY4SWcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkO7QXVGMPcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkO7QXVGMPcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkCZBRY4SWcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkCZBRY4SWcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkO7QXVGMPcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkCZBRY4SWcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkO7QXVGMPcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkCZBRY4SWcjs.FileImport; exports.FindReplace = _chunkCZBRY4SWcjs.FindReplace; exports.FindReplaceStore = _chunkCZBRY4SWcjs.FindReplaceStore; exports.FontSize = _chunkCZBRY4SWcjs.FontSize; exports.Footnote = _chunkCZBRY4SWcjs.Footnote; exports.FootnoteReference = _chunkCZBRY4SWcjs.FootnoteReference; exports.Footnotes = _chunkCZBRY4SWcjs.Footnotes; exports.GradientText = _chunkCZBRY4SWcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkCZBRY4SWcjs.Image; exports.LoadingNode = _chunkCZBRY4SWcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkO7QXVGMPcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkO7QXVGMPcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkO7QXVGMPcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkO7QXVGMPcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkCZBRY4SWcjs.Markdown; exports.Mention = _chunkCZBRY4SWcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkCZBRY4SWcjs.Outline; exports.ParagraphStyles = _chunkCZBRY4SWcjs.ParagraphStyles; exports.RichClipboard = _chunkCZBRY4SWcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkCZBRY4SWcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkO7QXVGMPcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkCZBRY4SWcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkCZBRY4SWcjs.SlashCommands; exports.SmilieReplacer = _chunkCZBRY4SWcjs.SmilieReplacer; exports.Sparkline = _chunkO7QXVGMPcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkO7QXVGMPcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkO7QXVGMPcjs.Table; exports.TableCell = _chunkO7QXVGMPcjs.TableCell; exports.TableHeader = _chunkO7QXVGMPcjs.TableHeader; exports.TableOfContents = _chunkCZBRY4SWcjs.TableOfContents; exports.TableRow = _chunkO7QXVGMPcjs.TableRow; exports.TemplateSuggestions = _chunkCZBRY4SWcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkO7QXVGMPcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkCZBRY4SWcjs.applyDocumentComparison; exports.applyReplacements = _chunkO7QXVGMPcjs.applyReplacements; exports.autocorrectPluginKey = _chunkCZBRY4SWcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkCZBRY4SWcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkCZBRY4SWcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkCZBRY4SWcjs.captureSelectionFormat; exports.chartPluginKey = _chunkO7QXVGMPcjs.chartPluginKey; exports.clearAgentCaret = _chunkO7QXVGMPcjs.clearAgentCaret; exports.commentsPluginKey = _chunkCZBRY4SWcjs.commentsPluginKey; exports.compareInEditor = _chunkCZBRY4SWcjs.compareInEditor; exports.compileFindPattern = _chunkO7QXVGMPcjs.compileFindPattern; exports.computeOutline = _chunkCZBRY4SWcjs.computeOutline; exports.createAgentCaretPlugin = _chunkO7QXVGMPcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkO7QXVGMPcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkCZBRY4SWcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkCZBRY4SWcjs.createMentionExtension; exports.createOutlineStore = _chunkCZBRY4SWcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkCZBRY4SWcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkCZBRY4SWcjs.createRichTextPreset; exports.createSearchBudget = _chunkO7QXVGMPcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkCZBRY4SWcjs.createTableCommands; exports.createTableExtensions = _chunkO7QXVGMPcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkO7QXVGMPcjs.createTableNestingPlugin; exports.createTableStore = _chunkO7QXVGMPcjs.createTableStore; exports.crossReferencePluginKey = _chunkCZBRY4SWcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkCZBRY4SWcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkCZBRY4SWcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkO7QXVGMPcjs.ensureAgentCaret; exports.expandReplacement = _chunkO7QXVGMPcjs.expandReplacement; exports.fileImportPluginKey = _chunkCZBRY4SWcjs.fileImportPluginKey; exports.findAllMatches = _chunkO7QXVGMPcjs.findAllMatches; exports.findAutocorrection = _chunkCZBRY4SWcjs.findAutocorrection; exports.findCommentRanges = _chunkCZBRY4SWcjs.findCommentRanges; exports.findHexColors = _chunkCZBRY4SWcjs.findHexColors; exports.findReplacePluginKey = _chunkCZBRY4SWcjs.findReplacePluginKey; exports.foldCodePoint = _chunkO7QXVGMPcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkCZBRY4SWcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkCZBRY4SWcjs.footnotesPluginKey; exports.formatFindStatus = _chunkCZBRY4SWcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkCZBRY4SWcjs.fractionRules; exports.getActiveHeading = _chunkCZBRY4SWcjs.getActiveHeading; exports.getAgentCarets = _chunkO7QXVGMPcjs.getAgentCarets; exports.getBookmarks = _chunkCZBRY4SWcjs.getBookmarks; exports.getCommentAnchors = _chunkCZBRY4SWcjs.getCommentAnchors; exports.getCommentAuthor = _chunkCZBRY4SWcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkCZBRY4SWcjs.getCommentIdsAt; exports.getCommentStore = _chunkCZBRY4SWcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkCZBRY4SWcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkO7QXVGMPcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkCZBRY4SWcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkCZBRY4SWcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkCZBRY4SWcjs.getFindReplaceStore; exports.getFootnotes = _chunkCZBRY4SWcjs.getFootnotes; exports.getMentionNodes = _chunkCZBRY4SWcjs.getMentionNodes; exports.getOutline = _chunkCZBRY4SWcjs.getOutline; exports.getParagraphStyleAt = _chunkCZBRY4SWcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkCZBRY4SWcjs.getStyleRegistry; exports.getTableActionState = _chunkO7QXVGMPcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkCZBRY4SWcjs.getTableOfContentsEntries; exports.getTableState = _chunkO7QXVGMPcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkCZBRY4SWcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkO7QXVGMPcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkCZBRY4SWcjs.imagePastePluginKey; exports.insertImageNode = _chunkCZBRY4SWcjs.insertImageNode; exports.insertSliceAfterTable = _chunkO7QXVGMPcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkO7QXVGMPcjs.isChartEnabled; exports.isGfmTable = _chunkO7QXVGMPcjs.isGfmTable; exports.isInTableCell = _chunkO7QXVGMPcjs.isInTableCell; exports.isInsidePromptToken = _chunkCZBRY4SWcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkCZBRY4SWcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkO7QXVGMPcjs.isSelectionInTable; exports.isTableEnabled = _chunkO7QXVGMPcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkO7QXVGMPcjs.markAgentChanges; exports.navigateToHeading = _chunkCZBRY4SWcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkO7QXVGMPcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkO7QXVGMPcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkO7QXVGMPcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkO7QXVGMPcjs.outermostTableDepth; exports.outlinePluginKey = _chunkCZBRY4SWcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkCZBRY4SWcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkO7QXVGMPcjs.parseReplacement; exports.removeImageNode = _chunkCZBRY4SWcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkO7QXVGMPcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkCZBRY4SWcjs.richClipboardPluginKey; exports.runTableAction = _chunkO7QXVGMPcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkO7QXVGMPcjs.searchDocument; exports.setAgentCaret = _chunkO7QXVGMPcjs.setAgentCaret; exports.setMentionRoleAt = _chunkCZBRY4SWcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkO7QXVGMPcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkO7QXVGMPcjs.sliceContainsTable; exports.smartQuoteRules = _chunkCZBRY4SWcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkCZBRY4SWcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkO7QXVGMPcjs.sparklineLabel; exports.staticChartSvg = _chunkO7QXVGMPcjs.staticChartSvg; exports.symbolRules = _chunkCZBRY4SWcjs.symbolRules; exports.syncFootnotes = _chunkCZBRY4SWcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkO7QXVGMPcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkCZBRY4SWcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkCZBRY4SWcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkCZBRY4SWcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkO7QXVGMPcjs.typeAgentText; exports.unnestTables = _chunkO7QXVGMPcjs.unnestTables; exports.updateImageSrc = _chunkCZBRY4SWcjs.updateImageSrc; exports.validateFindPattern = _chunkCZBRY4SWcjs.validateFindPattern; exports.writeRichClipboard = _chunkCZBRY4SWcjs.writeRichClipboard;
@@ -95,7 +95,7 @@ import {
95
95
  updateImageSrc,
96
96
  validateFindPattern,
97
97
  writeRichClipboard
98
- } from "../chunk-IMHRN4ZZ.js";
98
+ } from "../chunk-3MO3ZS7E.js";
99
99
  import {
100
100
  DEFAULT_STYLES,
101
101
  NORMAL_STYLE_ID,
@@ -104,7 +104,7 @@ import {
104
104
  isValidStyleId,
105
105
  safeCSSValue
106
106
  } from "../chunk-CXXKJBQZ.js";
107
- import "../chunk-OLCHKGGO.js";
107
+ import "../chunk-L6Y7TSQ4.js";
108
108
  import "../chunk-V5OOP74P.js";
109
109
  import {
110
110
  ALLOW_NESTED_TABLES_META,
@@ -171,11 +171,11 @@ import {
171
171
  tableNestingPluginKey,
172
172
  typeAgentText,
173
173
  unnestTables
174
- } from "../chunk-R2VHVQVY.js";
175
- import "../chunk-KPWG3PSW.js";
174
+ } from "../chunk-PI2UYMZY.js";
175
+ import "../chunk-23E5GI2U.js";
176
176
  import "../chunk-KGRZMHZB.js";
177
- import "../chunk-OJQVKJYD.js";
178
- import "../chunk-ORZF4JOO.js";
177
+ import "../chunk-WKMUBATU.js";
178
+ import "../chunk-6ZZKRH7R.js";
179
179
  import "../chunk-O6OGNDND.js";
180
180
  import "../chunk-ZLZKGHSZ.js";
181
181
  import "../chunk-2INPJDNY.js";