@pixerate/editor 0.161.0 → 0.162.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.
- package/dist/agent/index.cjs +36 -35
- package/dist/agent/index.js +7 -6
- package/dist/animation/index.cjs +5 -4
- package/dist/animation/index.js +4 -3
- package/dist/animation-editor/index.cjs +62 -61
- package/dist/animation-editor/index.js +6 -5
- package/dist/canvas/index.cjs +33 -32
- package/dist/canvas/index.js +6 -5
- package/dist/chart/index.cjs +88 -87
- package/dist/chart/index.js +7 -6
- package/dist/{chunk-QMI5HZWA.cjs → chunk-236TKNUR.cjs} +3 -3
- package/dist/{chunk-6UPGM3JB.js → chunk-2TKHLX6H.js} +1 -1
- package/dist/{chunk-3YDQLQH2.cjs → chunk-32MMQYCQ.cjs} +81 -81
- package/dist/{chunk-MHEXLG3M.cjs → chunk-3GJH2MGH.cjs} +37 -37
- package/dist/{chunk-AKDWAWSY.cjs → chunk-3IHNXRUV.cjs} +45 -45
- package/dist/{chunk-TVO6W2Q6.cjs → chunk-4NGVHHJB.cjs} +17 -17
- package/dist/chunk-4VU4CP7R.js +769 -0
- package/dist/{chunk-DBIVICAO.js → chunk-7CKPUUN4.js} +1 -1
- package/dist/{chunk-57JLBGJ5.cjs → chunk-7YBDRJXT.cjs} +8 -8
- package/dist/{chunk-KY3FYKP3.js → chunk-BQWGN5WH.js} +1 -1
- package/dist/{chunk-LEUZ4FRC.cjs → chunk-CIPIESX4.cjs} +3 -3
- package/dist/chunk-CJE5MOIS.js +347 -0
- package/dist/{chunk-5QBRAIVK.js → chunk-CX6JLDFC.js} +3 -3
- package/dist/{chunk-R3QY7PPL.js → chunk-DTSTNRPH.js} +1 -1
- package/dist/{chunk-6LUYFHHN.cjs → chunk-EQ46F75O.cjs} +51 -51
- package/dist/{chunk-UKCJ43YL.cjs → chunk-ES3UEVUT.cjs} +130 -898
- package/dist/{chunk-UM3RPYC5.js → chunk-EVPZ5IKN.js} +1 -1
- package/dist/{chunk-XNQ5EFB4.cjs → chunk-EY22AY6R.cjs} +16 -16
- package/dist/chunk-FKUKJ3XA.cjs +347 -0
- package/dist/{chunk-YABNLNY7.js → chunk-GLMP22FT.js} +3 -3
- package/dist/{chunk-SUF6WRXR.cjs → chunk-GTELFJRE.cjs} +2 -2
- package/dist/{chunk-72BGL3I2.js → chunk-GWV4T5NZ.js} +1 -1
- package/dist/{chunk-AY65VQSU.js → chunk-H3OEM3Q2.js} +1 -1
- package/dist/{chunk-4YWAEV4W.cjs → chunk-HDGBM7EA.cjs} +26 -26
- package/dist/{chunk-H5XX4KHB.js → chunk-HLOKB7WW.js} +5 -3
- package/dist/{chunk-WNAAWLZ5.js → chunk-KGTF55R3.js} +2 -2
- package/dist/{chunk-WPPJH6X4.cjs → chunk-LL3H5XUH.cjs} +6 -4
- package/dist/{chunk-4T44CJ5K.cjs → chunk-NA4UVVJ4.cjs} +15 -15
- package/dist/{chunk-Q6PA362P.js → chunk-NO5QQDHZ.js} +2 -2
- package/dist/{chunk-AA34BA7G.js → chunk-QYZGBVNC.js} +30 -798
- package/dist/chunk-S6X2QRVU.cjs +769 -0
- package/dist/{chunk-SSCL7QQ4.js → chunk-XDCFJEU7.js} +2 -2
- package/dist/color/index.cjs +6 -2
- package/dist/color/index.d.cts +1 -0
- package/dist/color/index.d.ts +1 -0
- package/dist/color/index.js +28 -24
- package/dist/color/suggest.d.cts +12 -0
- package/dist/color/suggest.d.ts +12 -0
- package/dist/effects/index.cjs +37 -13
- package/dist/effects/index.js +29 -5
- package/dist/effects/ui.d.cts +20 -3
- package/dist/effects/ui.d.ts +20 -3
- package/dist/export/index.cjs +6 -5
- package/dist/export/index.js +5 -4
- package/dist/extensions/index.cjs +9 -8
- package/dist/extensions/index.js +8 -7
- package/dist/gradient/index.cjs +28 -26
- package/dist/gradient/index.js +7 -5
- package/dist/image-editor/index.cjs +638 -637
- package/dist/image-editor/index.js +5 -4
- package/dist/index.cjs +15 -14
- package/dist/index.js +9 -8
- package/dist/paint-editor/index.cjs +15 -14
- package/dist/paint-editor/index.js +5 -4
- package/dist/typography/accessibility.d.cts +44 -0
- package/dist/typography/accessibility.d.ts +44 -0
- package/dist/typography/catalog.d.cts +98 -0
- package/dist/typography/catalog.d.ts +98 -0
- package/dist/typography/index.cjs +1099 -0
- package/dist/typography/index.d.cts +16 -0
- package/dist/typography/index.d.ts +16 -0
- package/dist/typography/index.js +1099 -0
- package/dist/typography/metrics.d.cts +31 -0
- package/dist/typography/metrics.d.ts +31 -0
- package/dist/typography/picker.d.cts +132 -0
- package/dist/typography/picker.d.ts +132 -0
- package/dist/typography/registry.d.cts +66 -0
- package/dist/typography/registry.d.ts +66 -0
- package/dist/typography/scale.d.cts +62 -0
- package/dist/typography/scale.d.ts +62 -0
- package/dist/typography/segment.d.cts +26 -0
- package/dist/typography/segment.d.ts +26 -0
- package/dist/typography/stack.d.cts +26 -0
- package/dist/typography/stack.d.ts +26 -0
- package/dist/typography/tools.d.cts +34 -0
- package/dist/typography/tools.d.ts +34 -0
- package/dist/typography/types.d.cts +96 -0
- package/dist/typography/types.d.ts +96 -0
- package/dist/typography/weight.d.cts +13 -0
- package/dist/typography/weight.d.ts +13 -0
- package/dist/vector/index.cjs +950 -949
- package/dist/vector/index.js +5 -4
- package/dist/video-editor/index.cjs +5 -4
- package/dist/video-editor/index.js +4 -3
- package/package.json +11 -1
- package/skills/README.md +1 -0
- package/skills/pixerate-typography/SKILL.md +91 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
r2,
|
|
8
8
|
sameChartSelection,
|
|
9
9
|
summarizeChartSeries
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DTSTNRPH.js";
|
|
11
11
|
import {
|
|
12
12
|
CHART_TYPE_LABELS,
|
|
13
13
|
DEFAULT_CHART_PALETTE,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
parseChartValue,
|
|
28
28
|
shadeChartColor,
|
|
29
29
|
uniqueChartSeriesId
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HLOKB7WW.js";
|
|
31
31
|
import {
|
|
32
32
|
parseCsv,
|
|
33
33
|
parseTsv
|
package/dist/color/index.cjs
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
var _chunkES3UEVUTcjs = require('../chunk-ES3UEVUT.cjs');
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
|
|
@@ -54,7 +55,9 @@
|
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
|
|
57
|
-
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
var _chunkS6X2QRVUcjs = require('../chunk-S6X2QRVU.cjs');
|
|
58
61
|
require('../chunk-IPJ3TEYR.cjs');
|
|
59
62
|
|
|
60
63
|
|
|
@@ -112,4 +115,5 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
112
115
|
|
|
113
116
|
|
|
114
117
|
|
|
115
|
-
|
|
118
|
+
|
|
119
|
+
exports.DEFAULT_SCHEME_SURFACES = _chunkES3UEVUTcjs.DEFAULT_SCHEME_SURFACES; exports.HARMONY_KINDS = _chunkES3UEVUTcjs.HARMONY_KINDS; exports.NAMED_COLORS = _chunkS6X2QRVUcjs.NAMED_COLORS; exports.PICKER_HUE_BACKGROUND = _chunkES3UEVUTcjs.PICKER_HUE_BACKGROUND; exports.checkDualColorContrast = _chunkES3UEVUTcjs.checkDualColorContrast; exports.checkPaletteColors = _chunkES3UEVUTcjs.checkPaletteColors; exports.colorHarmony = _chunkES3UEVUTcjs.colorHarmony; exports.contrastLevel = _chunkS6X2QRVUcjs.contrastLevel; exports.contrastRatio = _chunkS6X2QRVUcjs.contrastRatio; exports.createColorToolProvider = _chunkES3UEVUTcjs.createColorToolProvider; exports.deltaEOK = _chunkS6X2QRVUcjs.deltaEOK; exports.deriveDualColor = _chunkES3UEVUTcjs.deriveDualColor; exports.displayP3ToLinearSrgb = _chunkS6X2QRVUcjs.displayP3ToLinearSrgb; exports.dualColorsToCss = _chunkES3UEVUTcjs.dualColorsToCss; exports.dualPickerView = _chunkES3UEVUTcjs.dualPickerView; exports.formatColor = _chunkS6X2QRVUcjs.formatColor; exports.formatDualColor = _chunkES3UEVUTcjs.formatDualColor; exports.formatHex = _chunkS6X2QRVUcjs.formatHex; exports.hslToRgb = _chunkS6X2QRVUcjs.hslToRgb; exports.hsvToRgb = _chunkS6X2QRVUcjs.hsvToRgb; exports.hueToWheel = _chunkES3UEVUTcjs.hueToWheel; exports.inSrgbGamut = _chunkS6X2QRVUcjs.inSrgbGamut; exports.isColor = _chunkS6X2QRVUcjs.isColor; exports.isDualColor = _chunkES3UEVUTcjs.isDualColor; exports.isSameInBothSchemes = _chunkES3UEVUTcjs.isSameInBothSchemes; exports.linearSrgbToDisplayP3 = _chunkS6X2QRVUcjs.linearSrgbToDisplayP3; exports.linearToSrgb = _chunkS6X2QRVUcjs.linearToSrgb; exports.mixColors = _chunkES3UEVUTcjs.mixColors; exports.normalizeColor = _chunkS6X2QRVUcjs.normalizeColor; exports.normalizeDualColor = _chunkES3UEVUTcjs.normalizeDualColor; exports.oklabToOklch = _chunkS6X2QRVUcjs.oklabToOklch; exports.oklabToRgb = _chunkS6X2QRVUcjs.oklabToRgb; exports.oklchToOklab = _chunkS6X2QRVUcjs.oklchToOklab; exports.parseColor = _chunkS6X2QRVUcjs.parseColor; exports.parseDualColor = _chunkES3UEVUTcjs.parseDualColor; exports.pickerAlphaBackground = _chunkES3UEVUTcjs.pickerAlphaBackground; exports.pickerAreaBackground = _chunkES3UEVUTcjs.pickerAreaBackground; exports.pickerKeyStep = _chunkES3UEVUTcjs.pickerKeyStep; exports.pickerStateFromAlpha = _chunkES3UEVUTcjs.pickerStateFromAlpha; exports.pickerStateFromArea = _chunkES3UEVUTcjs.pickerStateFromArea; exports.pickerStateFromColor = _chunkES3UEVUTcjs.pickerStateFromColor; exports.pickerStateFromHue = _chunkES3UEVUTcjs.pickerStateFromHue; exports.pickerStateToHex = _chunkES3UEVUTcjs.pickerStateToHex; exports.pushRecentColor = _chunkES3UEVUTcjs.pushRecentColor; exports.readableTextColor = _chunkS6X2QRVUcjs.readableTextColor; exports.relativeLuminance = _chunkS6X2QRVUcjs.relativeLuminance; exports.resolveColor = _chunkES3UEVUTcjs.resolveColor; exports.rgbToHsl = _chunkS6X2QRVUcjs.rgbToHsl; exports.rgbToHsv = _chunkS6X2QRVUcjs.rgbToHsv; exports.rgbToOklab = _chunkS6X2QRVUcjs.rgbToOklab; exports.setDualColorSide = _chunkES3UEVUTcjs.setDualColorSide; exports.simulateColorVision = _chunkES3UEVUTcjs.simulateColorVision; exports.srgbToLinear = _chunkS6X2QRVUcjs.srgbToLinear; exports.suggestAccessibleForeground = _chunkS6X2QRVUcjs.suggestAccessibleForeground; exports.toSrgbGamut = _chunkS6X2QRVUcjs.toSrgbGamut; exports.wheelToHue = _chunkES3UEVUTcjs.wheelToHue;
|
package/dist/color/index.d.cts
CHANGED
package/dist/color/index.d.ts
CHANGED
package/dist/color/index.js
CHANGED
|
@@ -1,38 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_SCHEME_SURFACES,
|
|
3
3
|
HARMONY_KINDS,
|
|
4
|
-
NAMED_COLORS,
|
|
5
4
|
PICKER_HUE_BACKGROUND,
|
|
6
5
|
checkDualColorContrast,
|
|
7
6
|
checkPaletteColors,
|
|
8
7
|
colorHarmony,
|
|
9
|
-
contrastLevel,
|
|
10
|
-
contrastRatio,
|
|
11
8
|
createColorToolProvider,
|
|
12
|
-
deltaEOK,
|
|
13
9
|
deriveDualColor,
|
|
14
|
-
displayP3ToLinearSrgb,
|
|
15
10
|
dualColorsToCss,
|
|
16
11
|
dualPickerView,
|
|
17
|
-
formatColor,
|
|
18
12
|
formatDualColor,
|
|
19
|
-
formatHex,
|
|
20
|
-
hslToRgb,
|
|
21
|
-
hsvToRgb,
|
|
22
13
|
hueToWheel,
|
|
23
|
-
inSrgbGamut,
|
|
24
|
-
isColor,
|
|
25
14
|
isDualColor,
|
|
26
15
|
isSameInBothSchemes,
|
|
27
|
-
linearSrgbToDisplayP3,
|
|
28
|
-
linearToSrgb,
|
|
29
16
|
mixColors,
|
|
30
|
-
normalizeColor,
|
|
31
17
|
normalizeDualColor,
|
|
32
|
-
oklabToOklch,
|
|
33
|
-
oklabToRgb,
|
|
34
|
-
oklchToOklab,
|
|
35
|
-
parseColor,
|
|
36
18
|
parseDualColor,
|
|
37
19
|
pickerAlphaBackground,
|
|
38
20
|
pickerAreaBackground,
|
|
@@ -43,18 +25,39 @@ import {
|
|
|
43
25
|
pickerStateFromHue,
|
|
44
26
|
pickerStateToHex,
|
|
45
27
|
pushRecentColor,
|
|
28
|
+
resolveColor,
|
|
29
|
+
setDualColorSide,
|
|
30
|
+
simulateColorVision,
|
|
31
|
+
wheelToHue
|
|
32
|
+
} from "../chunk-QYZGBVNC.js";
|
|
33
|
+
import {
|
|
34
|
+
NAMED_COLORS,
|
|
35
|
+
contrastLevel,
|
|
36
|
+
contrastRatio,
|
|
37
|
+
deltaEOK,
|
|
38
|
+
displayP3ToLinearSrgb,
|
|
39
|
+
formatColor,
|
|
40
|
+
formatHex,
|
|
41
|
+
hslToRgb,
|
|
42
|
+
hsvToRgb,
|
|
43
|
+
inSrgbGamut,
|
|
44
|
+
isColor,
|
|
45
|
+
linearSrgbToDisplayP3,
|
|
46
|
+
linearToSrgb,
|
|
47
|
+
normalizeColor,
|
|
48
|
+
oklabToOklch,
|
|
49
|
+
oklabToRgb,
|
|
50
|
+
oklchToOklab,
|
|
51
|
+
parseColor,
|
|
46
52
|
readableTextColor,
|
|
47
53
|
relativeLuminance,
|
|
48
|
-
resolveColor,
|
|
49
54
|
rgbToHsl,
|
|
50
55
|
rgbToHsv,
|
|
51
56
|
rgbToOklab,
|
|
52
|
-
setDualColorSide,
|
|
53
|
-
simulateColorVision,
|
|
54
57
|
srgbToLinear,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "../chunk-
|
|
58
|
+
suggestAccessibleForeground,
|
|
59
|
+
toSrgbGamut
|
|
60
|
+
} from "../chunk-4VU4CP7R.js";
|
|
58
61
|
import "../chunk-6ONMQ6WF.js";
|
|
59
62
|
export {
|
|
60
63
|
DEFAULT_SCHEME_SURFACES,
|
|
@@ -110,6 +113,7 @@ export {
|
|
|
110
113
|
setDualColorSide,
|
|
111
114
|
simulateColorVision,
|
|
112
115
|
srgbToLinear,
|
|
116
|
+
suggestAccessibleForeground,
|
|
113
117
|
toSrgbGamut,
|
|
114
118
|
wheelToHue
|
|
115
119
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accessible foreground suggestions: the nearest OKLCH lightness that meets WCAG 2 AA.
|
|
3
|
+
*/
|
|
4
|
+
import type { Rgba } from './types.cjs';
|
|
5
|
+
/**
|
|
6
|
+
* The foreground colour (as hex) closest in OKLCH lightness to `foreground` that meets WCAG 2 AA
|
|
7
|
+
* against `background`, keeping hue and chroma. `large` uses the 3:1 large-text threshold.
|
|
8
|
+
* `undefined` when no lightness passes (only possible for mid-grey backgrounds at extreme targets).
|
|
9
|
+
*/
|
|
10
|
+
export declare function suggestAccessibleForeground(foreground: Rgba, background: Rgba, options?: {
|
|
11
|
+
large?: boolean;
|
|
12
|
+
}): string | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accessible foreground suggestions: the nearest OKLCH lightness that meets WCAG 2 AA.
|
|
3
|
+
*/
|
|
4
|
+
import type { Rgba } from './types.js';
|
|
5
|
+
/**
|
|
6
|
+
* The foreground colour (as hex) closest in OKLCH lightness to `foreground` that meets WCAG 2 AA
|
|
7
|
+
* against `background`, keeping hue and chroma. `large` uses the 3:1 large-text threshold.
|
|
8
|
+
* `undefined` when no lightness passes (only possible for mid-grey backgrounds at extreme targets).
|
|
9
|
+
*/
|
|
10
|
+
export declare function suggestAccessibleForeground(foreground: Rgba, background: Rgba, options?: {
|
|
11
|
+
large?: boolean;
|
|
12
|
+
}): string | undefined;
|
package/dist/effects/index.cjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
+
var _chunkFKUKJ3XAcjs = require('../chunk-FKUKJ3XA.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunk6DM3PUQDcjs = require('../chunk-6DM3PUQD.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -583,13 +586,16 @@ var EFFECT_USE_LABELS = {
|
|
|
583
586
|
};
|
|
584
587
|
var HEX2 = /^#[0-9a-f]{6}([0-9a-f]{2})?$/i;
|
|
585
588
|
var typeOf = (s) => Array.isArray(s.type) ? s.type.find((t) => t !== "null") : s.type;
|
|
586
|
-
function
|
|
589
|
+
function isEffectFontControl(schema) {
|
|
590
|
+
return typeOf(schema) === "string" && (schema.format === "font" || schema["x-pixerate-control"] === "font");
|
|
591
|
+
}
|
|
592
|
+
function effectControlField(name, schema, fallback, options = {}) {
|
|
587
593
|
const base = { id: name, ...schema.title ? { label: schema.title } : {}, ...schema.description ? { description: schema.description } : {} };
|
|
588
594
|
const def = _nullishCoalesce(schema.default, () => ( fallback));
|
|
589
595
|
const type = typeOf(schema);
|
|
590
596
|
if (Array.isArray(schema.enum) && schema.enum.length) {
|
|
591
|
-
const
|
|
592
|
-
return { ...base, type: "choice", options, default: typeof def === "string" || typeof def === "number" ? def :
|
|
597
|
+
const options2 = schema.enum.filter((v) => typeof v === "string" || typeof v === "number");
|
|
598
|
+
return { ...base, type: "choice", options: options2, default: typeof def === "string" || typeof def === "number" ? def : options2[0], control: options2.length <= 4 ? "segmented" : "select" };
|
|
593
599
|
}
|
|
594
600
|
if (type === "number" || type === "integer") {
|
|
595
601
|
const min = _nullishCoalesce(schema.minimum, () => ( schema.exclusiveMinimum));
|
|
@@ -597,6 +603,13 @@ function effectControlField(name, schema, fallback) {
|
|
|
597
603
|
return { ...base, type: type === "integer" ? "int" : "number", default: typeof def === "number" ? def : _nullishCoalesce(min, () => ( 0)), ...min !== void 0 ? { min } : {}, ...max !== void 0 ? { max } : {}, ...schema.multipleOf ? { step: schema.multipleOf } : {} };
|
|
598
604
|
}
|
|
599
605
|
if (type === "boolean") return { ...base, type: "boolean", default: def === true };
|
|
606
|
+
if (isEffectFontControl(schema)) {
|
|
607
|
+
const fonts = _nullishCoalesce(options.fonts, () => ( _chunkFKUKJ3XAcjs.SYSTEM_FONT_CATALOG));
|
|
608
|
+
const opts = fonts.map((f) => ({ value: f.family, label: f.family, description: f.category }));
|
|
609
|
+
const current = typeof def === "string" && def ? def : _nullishCoalesce(_optionalChain([opts, 'access', _18 => _18[0], 'optionalAccess', _19 => _19.value]), () => ( "sans-serif"));
|
|
610
|
+
if (!opts.some((o) => o.value.toLowerCase() === current.toLowerCase())) opts.unshift({ value: current, label: current, description: "current" });
|
|
611
|
+
return { ...base, type: "choice", options: opts, default: opts.find((o) => o.value.toLowerCase() === current.toLowerCase()).value, control: "select" };
|
|
612
|
+
}
|
|
600
613
|
if (type === "string") {
|
|
601
614
|
if (typeof def === "string" && HEX2.test(def)) return { ...base, type: "color", alpha: def.length === 9, default: def };
|
|
602
615
|
return { ...base, type: "text", default: typeof def === "string" ? def : "", ...schema.maxLength ? { maxLength: schema.maxLength } : {} };
|
|
@@ -607,8 +620,17 @@ function effectControlField(name, schema, fallback) {
|
|
|
607
620
|
}
|
|
608
621
|
return null;
|
|
609
622
|
}
|
|
610
|
-
function effectParameterFields(description) {
|
|
611
|
-
return Object.entries(description.controls.properties).map(([name, schema]) => effectControlField(name, schema, description.defaults[name])).filter((f) => !!f);
|
|
623
|
+
function effectParameterFields(description, options = {}) {
|
|
624
|
+
return Object.entries(description.controls.properties).map(([name, schema]) => effectControlField(name, schema, description.defaults[name], options)).filter((f) => !!f);
|
|
625
|
+
}
|
|
626
|
+
function effectFontFamilies(description, values = {}) {
|
|
627
|
+
const out = [];
|
|
628
|
+
for (const [name, schema] of Object.entries(description.controls.properties)) {
|
|
629
|
+
if (!isEffectFontControl(schema)) continue;
|
|
630
|
+
const v = _nullishCoalesce(_nullishCoalesce(values[name], () => ( description.defaults[name])), () => ( schema.default));
|
|
631
|
+
if (typeof v === "string" && v && !out.includes(v)) out.push(v);
|
|
632
|
+
}
|
|
633
|
+
return out;
|
|
612
634
|
}
|
|
613
635
|
var effectFieldValue = (field, value) => value === void 0 || value === null || typeof value === "object" && !Array.isArray(value) ? field.default : value;
|
|
614
636
|
function effectSamplePicture(width, height, variant = 0) {
|
|
@@ -703,11 +725,11 @@ var EASING_SCHEMA = {
|
|
|
703
725
|
};
|
|
704
726
|
var NO_SESSION = "No effect authoring session is currently open. Open an effect using EffectProvider.openAuthoring() or in an authoring editor before calling effect authoring tools.";
|
|
705
727
|
function createEffectAuthoringToolProvider(host, options) {
|
|
706
|
-
const id = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
707
|
-
const namespace = _optionalChain([options, 'optionalAccess',
|
|
708
|
-
const title = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
709
|
-
const description = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
710
|
-
const skill = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
728
|
+
const id = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _20 => _20.id]), () => ( "effect-authoring"));
|
|
729
|
+
const namespace = _optionalChain([options, 'optionalAccess', _21 => _21.namespace]);
|
|
730
|
+
const title = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _22 => _22.title]), () => ( "Effect authoring"));
|
|
731
|
+
const description = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _23 => _23.description]), () => ( "Author shaders and procedural effects, inspect parameters, adjust values, and manage keyframe animations."));
|
|
732
|
+
const skill = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _24 => _24.skill]), () => ( "pixerate-effect-authoring"));
|
|
711
733
|
const requireSession = () => {
|
|
712
734
|
const s = host.session();
|
|
713
735
|
if (!s) throw new Error(NO_SESSION);
|
|
@@ -728,7 +750,7 @@ function createEffectAuthoringToolProvider(host, options) {
|
|
|
728
750
|
sourceLanguage: state.sourceLanguage,
|
|
729
751
|
controls: effectParameterFields(state.description),
|
|
730
752
|
values: state.values,
|
|
731
|
-
presets: _nullishCoalesce(_optionalChain([state, 'access',
|
|
753
|
+
presets: _nullishCoalesce(_optionalChain([state, 'access', _25 => _25.description, 'access', _26 => _26.presets, 'optionalAccess', _27 => _27.map, 'call', _28 => _28((p) => p.name)]), () => ( [])),
|
|
732
754
|
tracks: Object.entries(state.tracks).map(([control, track]) => ({
|
|
733
755
|
control,
|
|
734
756
|
keyframes: track.length
|
|
@@ -1029,7 +1051,7 @@ function createEffectAuthoringToolProvider(host, options) {
|
|
|
1029
1051
|
const tools = [
|
|
1030
1052
|
describeTool,
|
|
1031
1053
|
getSourceTool,
|
|
1032
|
-
..._optionalChain([session, 'optionalAccess',
|
|
1054
|
+
..._optionalChain([session, 'optionalAccess', _29 => _29.setSource]) ? [setSourceTool] : [],
|
|
1033
1055
|
setValuesTool,
|
|
1034
1056
|
resetValuesTool,
|
|
1035
1057
|
applyPresetTool,
|
|
@@ -1083,4 +1105,6 @@ function createEffectAuthoringToolProvider(host, options) {
|
|
|
1083
1105
|
|
|
1084
1106
|
|
|
1085
1107
|
|
|
1086
|
-
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
exports.EFFECT_ERROR_CODES = _chunkRUZQMYXHcjs.EFFECT_ERROR_CODES; exports.EFFECT_KINDS = _chunkRUZQMYXHcjs.EFFECT_KINDS; exports.EFFECT_USES = _chunkRUZQMYXHcjs.EFFECT_USES; exports.EFFECT_USE_LABELS = EFFECT_USE_LABELS; exports.EffectControlError = _chunkRUZQMYXHcjs.EffectControlError; exports.EffectDisposedError = _chunkRUZQMYXHcjs.EffectDisposedError; exports.EffectError = _chunkRUZQMYXHcjs.EffectError; exports.EffectRendererPool = _chunkPY4GWSE2cjs.EffectRendererPool; exports.EffectUnsupportedError = _chunkRUZQMYXHcjs.EffectUnsupportedError; exports.EffectsSlot = _chunkRUZQMYXHcjs.EffectsSlot; exports.NoEffectsProviderError = _chunkRUZQMYXHcjs.NoEffectsProviderError; exports.UnknownEffectError = _chunkRUZQMYXHcjs.UnknownEffectError; exports.applyEffectMask = _chunkRUZQMYXHcjs.applyEffectMask; exports.checkEffectProvider = checkEffectProvider; exports.createEffectAuthoringSession = _chunk6DM3PUQDcjs.createEffectAuthoringSession; exports.createEffectAuthoringToolProvider = createEffectAuthoringToolProvider; exports.createEffectPixels = _chunkRUZQMYXHcjs.createEffectPixels; exports.createEffectToolProvider = _chunkRUZQMYXHcjs.createEffectToolProvider; exports.createFakeEffectProvider = createFakeEffectProvider; exports.effectControlField = effectControlField; exports.effectFieldValue = effectFieldValue; exports.effectFontFamilies = effectFontFamilies; exports.effectParameterFields = effectParameterFields; exports.effectSampleInputs = effectSampleInputs; exports.effectSamplePicture = effectSamplePicture; exports.effectValueErrors = _chunkRUZQMYXHcjs.effectValueErrors; exports.encodeEffectFloat = _chunkRUZQMYXHcjs.encodeEffectFloat; exports.groupEffectsByCategory = groupEffectsByCategory; exports.isEffectError = _chunkRUZQMYXHcjs.isEffectError; exports.isEffectFontControl = isEffectFontControl; exports.isEffectPixels = _chunkRUZQMYXHcjs.isEffectPixels; exports.linearToSrgb = _chunkRUZQMYXHcjs.linearToSrgb; exports.renderEffectThumbnail = renderEffectThumbnail; exports.resolveEffectValues = _chunkRUZQMYXHcjs.resolveEffectValues; exports.searchEffectSummaries = _chunkRUZQMYXHcjs.searchEffectSummaries; exports.srgbToLinear = _chunkRUZQMYXHcjs.srgbToLinear;
|
package/dist/effects/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SYSTEM_FONT_CATALOG
|
|
3
|
+
} from "../chunk-CJE5MOIS.js";
|
|
1
4
|
import {
|
|
2
5
|
createEffectAuthoringSession
|
|
3
6
|
} from "../chunk-ZGOHKS3X.js";
|
|
@@ -583,13 +586,16 @@ var EFFECT_USE_LABELS = {
|
|
|
583
586
|
};
|
|
584
587
|
var HEX2 = /^#[0-9a-f]{6}([0-9a-f]{2})?$/i;
|
|
585
588
|
var typeOf = (s) => Array.isArray(s.type) ? s.type.find((t) => t !== "null") : s.type;
|
|
586
|
-
function
|
|
589
|
+
function isEffectFontControl(schema) {
|
|
590
|
+
return typeOf(schema) === "string" && (schema.format === "font" || schema["x-pixerate-control"] === "font");
|
|
591
|
+
}
|
|
592
|
+
function effectControlField(name, schema, fallback, options = {}) {
|
|
587
593
|
const base = { id: name, ...schema.title ? { label: schema.title } : {}, ...schema.description ? { description: schema.description } : {} };
|
|
588
594
|
const def = schema.default ?? fallback;
|
|
589
595
|
const type = typeOf(schema);
|
|
590
596
|
if (Array.isArray(schema.enum) && schema.enum.length) {
|
|
591
|
-
const
|
|
592
|
-
return { ...base, type: "choice", options, default: typeof def === "string" || typeof def === "number" ? def :
|
|
597
|
+
const options2 = schema.enum.filter((v) => typeof v === "string" || typeof v === "number");
|
|
598
|
+
return { ...base, type: "choice", options: options2, default: typeof def === "string" || typeof def === "number" ? def : options2[0], control: options2.length <= 4 ? "segmented" : "select" };
|
|
593
599
|
}
|
|
594
600
|
if (type === "number" || type === "integer") {
|
|
595
601
|
const min = schema.minimum ?? schema.exclusiveMinimum;
|
|
@@ -597,6 +603,13 @@ function effectControlField(name, schema, fallback) {
|
|
|
597
603
|
return { ...base, type: type === "integer" ? "int" : "number", default: typeof def === "number" ? def : min ?? 0, ...min !== void 0 ? { min } : {}, ...max !== void 0 ? { max } : {}, ...schema.multipleOf ? { step: schema.multipleOf } : {} };
|
|
598
604
|
}
|
|
599
605
|
if (type === "boolean") return { ...base, type: "boolean", default: def === true };
|
|
606
|
+
if (isEffectFontControl(schema)) {
|
|
607
|
+
const fonts = options.fonts ?? SYSTEM_FONT_CATALOG;
|
|
608
|
+
const opts = fonts.map((f) => ({ value: f.family, label: f.family, description: f.category }));
|
|
609
|
+
const current = typeof def === "string" && def ? def : opts[0]?.value ?? "sans-serif";
|
|
610
|
+
if (!opts.some((o) => o.value.toLowerCase() === current.toLowerCase())) opts.unshift({ value: current, label: current, description: "current" });
|
|
611
|
+
return { ...base, type: "choice", options: opts, default: opts.find((o) => o.value.toLowerCase() === current.toLowerCase()).value, control: "select" };
|
|
612
|
+
}
|
|
600
613
|
if (type === "string") {
|
|
601
614
|
if (typeof def === "string" && HEX2.test(def)) return { ...base, type: "color", alpha: def.length === 9, default: def };
|
|
602
615
|
return { ...base, type: "text", default: typeof def === "string" ? def : "", ...schema.maxLength ? { maxLength: schema.maxLength } : {} };
|
|
@@ -607,8 +620,17 @@ function effectControlField(name, schema, fallback) {
|
|
|
607
620
|
}
|
|
608
621
|
return null;
|
|
609
622
|
}
|
|
610
|
-
function effectParameterFields(description) {
|
|
611
|
-
return Object.entries(description.controls.properties).map(([name, schema]) => effectControlField(name, schema, description.defaults[name])).filter((f) => !!f);
|
|
623
|
+
function effectParameterFields(description, options = {}) {
|
|
624
|
+
return Object.entries(description.controls.properties).map(([name, schema]) => effectControlField(name, schema, description.defaults[name], options)).filter((f) => !!f);
|
|
625
|
+
}
|
|
626
|
+
function effectFontFamilies(description, values = {}) {
|
|
627
|
+
const out = [];
|
|
628
|
+
for (const [name, schema] of Object.entries(description.controls.properties)) {
|
|
629
|
+
if (!isEffectFontControl(schema)) continue;
|
|
630
|
+
const v = values[name] ?? description.defaults[name] ?? schema.default;
|
|
631
|
+
if (typeof v === "string" && v && !out.includes(v)) out.push(v);
|
|
632
|
+
}
|
|
633
|
+
return out;
|
|
612
634
|
}
|
|
613
635
|
var effectFieldValue = (field, value) => value === void 0 || value === null || typeof value === "object" && !Array.isArray(value) ? field.default : value;
|
|
614
636
|
function effectSamplePicture(width, height, variant = 0) {
|
|
@@ -1070,6 +1092,7 @@ export {
|
|
|
1070
1092
|
createFakeEffectProvider,
|
|
1071
1093
|
effectControlField,
|
|
1072
1094
|
effectFieldValue,
|
|
1095
|
+
effectFontFamilies,
|
|
1073
1096
|
effectParameterFields,
|
|
1074
1097
|
effectSampleInputs,
|
|
1075
1098
|
effectSamplePicture,
|
|
@@ -1077,6 +1100,7 @@ export {
|
|
|
1077
1100
|
encodeEffectFloat,
|
|
1078
1101
|
groupEffectsByCategory,
|
|
1079
1102
|
isEffectError,
|
|
1103
|
+
isEffectFontControl,
|
|
1080
1104
|
isEffectPixels,
|
|
1081
1105
|
linearToSrgb,
|
|
1082
1106
|
renderEffectThumbnail,
|
package/dist/effects/ui.d.cts
CHANGED
|
@@ -5,17 +5,34 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { JsonSchema } from '../tools/schema.cjs';
|
|
7
7
|
import type { ParameterField, ParameterValue } from '../parameters/types.cjs';
|
|
8
|
+
import type { FontSummary } from '../typography/registry.cjs';
|
|
8
9
|
import type { EffectDescription, EffectPixels, EffectProvider, EffectSummary, EffectUse, EffectValue } from './types.cjs';
|
|
9
10
|
/** Names for the uses, for filters and badges. */
|
|
10
11
|
export declare const EFFECT_USE_LABELS: Readonly<Record<EffectUse, string>>;
|
|
12
|
+
/** Options for turning effect controls into fields. */
|
|
13
|
+
export interface EffectFieldOptions {
|
|
14
|
+
/** Families offered by font controls (default: the system font catalog). */
|
|
15
|
+
fonts?: readonly FontSummary[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Whether a control picks a font family: a string schema with `format: "font"` or
|
|
19
|
+
* `"x-pixerate-control": "font"`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isEffectFontControl(schema: JsonSchema): boolean;
|
|
11
22
|
/**
|
|
12
23
|
* One control as a parameter field: numbers and integers (sliders when bounded), switches,
|
|
13
|
-
* choices (`enum`),
|
|
24
|
+
* choices (`enum`), font families (`format: "font"`, a choice of `options.fonts`), colours
|
|
25
|
+
* (strings whose default is `#rrggbb`), vectors (2–4 numbers) and text.
|
|
14
26
|
* `null` for a control no field can edit (objects, long lists).
|
|
15
27
|
*/
|
|
16
|
-
export declare function effectControlField(name: string, schema: JsonSchema, fallback: EffectValue | undefined): ParameterField | null;
|
|
28
|
+
export declare function effectControlField(name: string, schema: JsonSchema, fallback: EffectValue | undefined, options?: EffectFieldOptions): ParameterField | null;
|
|
17
29
|
/** An effect's controls as parameter fields, in schema order (controls no field can edit are left out). */
|
|
18
|
-
export declare function effectParameterFields(description: Pick<EffectDescription, 'controls' | 'defaults'
|
|
30
|
+
export declare function effectParameterFields(description: Pick<EffectDescription, 'controls' | 'defaults'>, options?: EffectFieldOptions): ParameterField[];
|
|
31
|
+
/**
|
|
32
|
+
* The font families an effect's font controls use with these values (falling back to defaults),
|
|
33
|
+
* to load with `ensureFontsLoaded` before rendering a title preview.
|
|
34
|
+
*/
|
|
35
|
+
export declare function effectFontFamilies(description: Pick<EffectDescription, 'controls' | 'defaults'>, values?: Readonly<Record<string, unknown>>): string[];
|
|
19
36
|
/** A saved value as a field shows it (`ParameterValue`), or the field's default. */
|
|
20
37
|
export declare const effectFieldValue: (field: ParameterField, value: unknown) => ParameterValue;
|
|
21
38
|
/**
|
package/dist/effects/ui.d.ts
CHANGED
|
@@ -5,17 +5,34 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { JsonSchema } from '../tools/schema.js';
|
|
7
7
|
import type { ParameterField, ParameterValue } from '../parameters/types.js';
|
|
8
|
+
import type { FontSummary } from '../typography/registry.js';
|
|
8
9
|
import type { EffectDescription, EffectPixels, EffectProvider, EffectSummary, EffectUse, EffectValue } from './types.js';
|
|
9
10
|
/** Names for the uses, for filters and badges. */
|
|
10
11
|
export declare const EFFECT_USE_LABELS: Readonly<Record<EffectUse, string>>;
|
|
12
|
+
/** Options for turning effect controls into fields. */
|
|
13
|
+
export interface EffectFieldOptions {
|
|
14
|
+
/** Families offered by font controls (default: the system font catalog). */
|
|
15
|
+
fonts?: readonly FontSummary[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Whether a control picks a font family: a string schema with `format: "font"` or
|
|
19
|
+
* `"x-pixerate-control": "font"`.
|
|
20
|
+
*/
|
|
21
|
+
export declare function isEffectFontControl(schema: JsonSchema): boolean;
|
|
11
22
|
/**
|
|
12
23
|
* One control as a parameter field: numbers and integers (sliders when bounded), switches,
|
|
13
|
-
* choices (`enum`),
|
|
24
|
+
* choices (`enum`), font families (`format: "font"`, a choice of `options.fonts`), colours
|
|
25
|
+
* (strings whose default is `#rrggbb`), vectors (2–4 numbers) and text.
|
|
14
26
|
* `null` for a control no field can edit (objects, long lists).
|
|
15
27
|
*/
|
|
16
|
-
export declare function effectControlField(name: string, schema: JsonSchema, fallback: EffectValue | undefined): ParameterField | null;
|
|
28
|
+
export declare function effectControlField(name: string, schema: JsonSchema, fallback: EffectValue | undefined, options?: EffectFieldOptions): ParameterField | null;
|
|
17
29
|
/** An effect's controls as parameter fields, in schema order (controls no field can edit are left out). */
|
|
18
|
-
export declare function effectParameterFields(description: Pick<EffectDescription, 'controls' | 'defaults'
|
|
30
|
+
export declare function effectParameterFields(description: Pick<EffectDescription, 'controls' | 'defaults'>, options?: EffectFieldOptions): ParameterField[];
|
|
31
|
+
/**
|
|
32
|
+
* The font families an effect's font controls use with these values (falling back to defaults),
|
|
33
|
+
* to load with `ensureFontsLoaded` before rendering a title preview.
|
|
34
|
+
*/
|
|
35
|
+
export declare function effectFontFamilies(description: Pick<EffectDescription, 'controls' | 'defaults'>, values?: Readonly<Record<string, unknown>>): string[];
|
|
19
36
|
/** A saved value as a field shows it (`ParameterValue`), or the field's default. */
|
|
20
37
|
export declare const effectFieldValue: (field: ParameterField, value: unknown) => ParameterValue;
|
|
21
38
|
/**
|
package/dist/export/index.cjs
CHANGED
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk7YBDRJXTcjs = require('../chunk-7YBDRJXT.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkJLWLX52Lcjs = require('../chunk-JLWLX52L.cjs');
|
|
20
20
|
require('../chunk-YN6JKAUE.cjs');
|
|
21
|
-
require('../chunk-
|
|
22
|
-
require('../chunk-
|
|
21
|
+
require('../chunk-NA4UVVJ4.cjs');
|
|
22
|
+
require('../chunk-LL3H5XUH.cjs');
|
|
23
23
|
require('../chunk-ALNIFK5G.cjs');
|
|
24
24
|
require('../chunk-2BSBFBOA.cjs');
|
|
25
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-ES3UEVUT.cjs');
|
|
26
|
+
require('../chunk-S6X2QRVU.cjs');
|
|
26
27
|
require('../chunk-IPJ3TEYR.cjs');
|
|
27
28
|
|
|
28
29
|
|
|
@@ -40,4 +41,4 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
|
|
43
|
-
exports.DOCX_ANONYMOUS_AUTHOR =
|
|
44
|
+
exports.DOCX_ANONYMOUS_AUTHOR = _chunk7YBDRJXTcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunk7YBDRJXTcjs.DOCX_EXPORT_MIME_TYPE; exports.DocxExportController = _chunk7YBDRJXTcjs.DocxExportController; exports.XmlWriter = _chunk7YBDRJXTcjs.XmlWriter; exports.createDocxExportController = _chunk7YBDRJXTcjs.createDocxExportController; exports.createDocxParts = _chunk7YBDRJXTcjs.createDocxParts; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.docxFileName = _chunk7YBDRJXTcjs.docxFileName; exports.downloadBlob = _chunk7YBDRJXTcjs.downloadBlob; exports.escapeXmlAttr = _chunk7YBDRJXTcjs.escapeXmlAttr; exports.escapeXmlText = _chunk7YBDRJXTcjs.escapeXmlText; exports.exportDocx = _chunk7YBDRJXTcjs.exportDocx; exports.exportDocxBlob = _chunk7YBDRJXTcjs.exportDocxBlob; exports.stripInvalidXmlChars = _chunk7YBDRJXTcjs.stripInvalidXmlChars; exports.writeZip = _chunkJLWLX52Lcjs.writeZip;
|
package/dist/export/index.js
CHANGED
|
@@ -12,17 +12,18 @@ import {
|
|
|
12
12
|
exportDocx,
|
|
13
13
|
exportDocxBlob,
|
|
14
14
|
stripInvalidXmlChars
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-NO5QQDHZ.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-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-7CKPUUN4.js";
|
|
22
|
+
import "../chunk-HLOKB7WW.js";
|
|
23
23
|
import "../chunk-CIQIM2IP.js";
|
|
24
24
|
import "../chunk-HF5QZS7Z.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-QYZGBVNC.js";
|
|
26
|
+
import "../chunk-4VU4CP7R.js";
|
|
26
27
|
import "../chunk-6ONMQ6WF.js";
|
|
27
28
|
export {
|
|
28
29
|
DOCX_ANONYMOUS_AUTHOR,
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _chunkEQ46F75Ocjs = require('../chunk-EQ46F75O.cjs');
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
@@ -104,7 +104,7 @@ var _chunk6LUYFHHNcjs = require('../chunk-6LUYFHHN.cjs');
|
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
var _chunkYN6JKAUEcjs = require('../chunk-YN6JKAUE.cjs');
|
|
107
|
-
require('../chunk-
|
|
107
|
+
require('../chunk-NA4UVVJ4.cjs');
|
|
108
108
|
require('../chunk-HMGWFXEC.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
@@ -171,10 +171,10 @@ require('../chunk-HMGWFXEC.cjs');
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
var
|
|
175
|
-
require('../chunk-
|
|
176
|
-
require('../chunk-
|
|
177
|
-
require('../chunk-
|
|
174
|
+
var _chunkEY22AY6Rcjs = require('../chunk-EY22AY6R.cjs');
|
|
175
|
+
require('../chunk-3IHNXRUV.cjs');
|
|
176
|
+
require('../chunk-HDGBM7EA.cjs');
|
|
177
|
+
require('../chunk-LL3H5XUH.cjs');
|
|
178
178
|
require('../chunk-3AJMR7EG.cjs');
|
|
179
179
|
require('../chunk-G43MNQ4C.cjs');
|
|
180
180
|
require('../chunk-JG5VGCKP.cjs');
|
|
@@ -214,7 +214,8 @@ require('../chunk-ALNIFK5G.cjs');
|
|
|
214
214
|
require('../chunk-UWEQ55MY.cjs');
|
|
215
215
|
require('../chunk-2BSBFBOA.cjs');
|
|
216
216
|
require('../chunk-FJ2MSI43.cjs');
|
|
217
|
-
require('../chunk-
|
|
217
|
+
require('../chunk-ES3UEVUT.cjs');
|
|
218
|
+
require('../chunk-S6X2QRVU.cjs');
|
|
218
219
|
require('../chunk-IPJ3TEYR.cjs');
|
|
219
220
|
|
|
220
221
|
|
|
@@ -411,4 +412,4 @@ require('../chunk-IPJ3TEYR.cjs');
|
|
|
411
412
|
|
|
412
413
|
|
|
413
414
|
|
|
414
|
-
exports.ALLOW_NESTED_TABLES_META = _chunkXNQ5EFB4cjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkXNQ5EFB4cjs.AgentCaret; exports.Autocorrect = _chunk6LUYFHHNcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunk6LUYFHHNcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunk6LUYFHHNcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunk6LUYFHHNcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunk6LUYFHHNcjs.CharacterStyle; exports.Chart = _chunkXNQ5EFB4cjs.Chart; exports.ChartNodeView = _chunkXNQ5EFB4cjs.ChartNodeView; exports.ColorHighlighter = _chunk6LUYFHHNcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunk6LUYFHHNcjs.Comments; exports.CrossReference = _chunk6LUYFHHNcjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkXNQ5EFB4cjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkXNQ5EFB4cjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunk6LUYFHHNcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkXNQ5EFB4cjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkXNQ5EFB4cjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunk6LUYFHHNcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunk6LUYFHHNcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkXNQ5EFB4cjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunk6LUYFHHNcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkXNQ5EFB4cjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunk6LUYFHHNcjs.FileImport; exports.FindReplace = _chunk6LUYFHHNcjs.FindReplace; exports.FindReplaceStore = _chunk6LUYFHHNcjs.FindReplaceStore; exports.FontSize = _chunk6LUYFHHNcjs.FontSize; exports.Footnote = _chunk6LUYFHHNcjs.Footnote; exports.FootnoteReference = _chunk6LUYFHHNcjs.FootnoteReference; exports.Footnotes = _chunk6LUYFHHNcjs.Footnotes; exports.GradientText = _chunk6LUYFHHNcjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunk6LUYFHHNcjs.Image; exports.LoadingNode = _chunk6LUYFHHNcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkXNQ5EFB4cjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkXNQ5EFB4cjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkXNQ5EFB4cjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkXNQ5EFB4cjs.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 = _chunk6LUYFHHNcjs.Markdown; exports.Mention = _chunk6LUYFHHNcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunk6LUYFHHNcjs.Outline; exports.ParagraphStyles = _chunk6LUYFHHNcjs.ParagraphStyles; exports.RichClipboard = _chunk6LUYFHHNcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunk6LUYFHHNcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkXNQ5EFB4cjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunk6LUYFHHNcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunk6LUYFHHNcjs.SlashCommands; exports.SmilieReplacer = _chunk6LUYFHHNcjs.SmilieReplacer; exports.Sparkline = _chunkXNQ5EFB4cjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkXNQ5EFB4cjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkXNQ5EFB4cjs.Table; exports.TableCell = _chunkXNQ5EFB4cjs.TableCell; exports.TableHeader = _chunkXNQ5EFB4cjs.TableHeader; exports.TableOfContents = _chunk6LUYFHHNcjs.TableOfContents; exports.TableRow = _chunkXNQ5EFB4cjs.TableRow; exports.TemplateSuggestions = _chunk6LUYFHHNcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkXNQ5EFB4cjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunk6LUYFHHNcjs.applyDocumentComparison; exports.applyReplacements = _chunkXNQ5EFB4cjs.applyReplacements; exports.autocorrectPluginKey = _chunk6LUYFHHNcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunk6LUYFHHNcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunk6LUYFHHNcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunk6LUYFHHNcjs.captureSelectionFormat; exports.chartPluginKey = _chunkXNQ5EFB4cjs.chartPluginKey; exports.clearAgentCaret = _chunkXNQ5EFB4cjs.clearAgentCaret; exports.commentsPluginKey = _chunk6LUYFHHNcjs.commentsPluginKey; exports.compareInEditor = _chunk6LUYFHHNcjs.compareInEditor; exports.compileFindPattern = _chunkXNQ5EFB4cjs.compileFindPattern; exports.computeOutline = _chunk6LUYFHHNcjs.computeOutline; exports.createAgentCaretPlugin = _chunkXNQ5EFB4cjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkXNQ5EFB4cjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunk6LUYFHHNcjs.createFindReplaceCommands; exports.createMentionExtension = _chunk6LUYFHHNcjs.createMentionExtension; exports.createOutlineStore = _chunk6LUYFHHNcjs.createOutlineStore; exports.createParagraphStylesStore = _chunk6LUYFHHNcjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunk6LUYFHHNcjs.createRichTextPreset; exports.createSearchBudget = _chunkXNQ5EFB4cjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunk6LUYFHHNcjs.createTableCommands; exports.createTableExtensions = _chunkXNQ5EFB4cjs.createTableExtensions; exports.createTableNestingPlugin = _chunkXNQ5EFB4cjs.createTableNestingPlugin; exports.createTableStore = _chunkXNQ5EFB4cjs.createTableStore; exports.crossReferencePluginKey = _chunk6LUYFHHNcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunk6LUYFHHNcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunk6LUYFHHNcjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkXNQ5EFB4cjs.ensureAgentCaret; exports.expandReplacement = _chunkXNQ5EFB4cjs.expandReplacement; exports.fileImportPluginKey = _chunk6LUYFHHNcjs.fileImportPluginKey; exports.findAllMatches = _chunkXNQ5EFB4cjs.findAllMatches; exports.findAutocorrection = _chunk6LUYFHHNcjs.findAutocorrection; exports.findCommentRanges = _chunk6LUYFHHNcjs.findCommentRanges; exports.findHexColors = _chunk6LUYFHHNcjs.findHexColors; exports.findReplacePluginKey = _chunk6LUYFHHNcjs.findReplacePluginKey; exports.foldCodePoint = _chunkXNQ5EFB4cjs.foldCodePoint; exports.footnotesMarkdownIt = _chunk6LUYFHHNcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunk6LUYFHHNcjs.footnotesPluginKey; exports.formatFindStatus = _chunk6LUYFHHNcjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunk6LUYFHHNcjs.fractionRules; exports.getActiveHeading = _chunk6LUYFHHNcjs.getActiveHeading; exports.getAgentCarets = _chunkXNQ5EFB4cjs.getAgentCarets; exports.getBookmarks = _chunk6LUYFHHNcjs.getBookmarks; exports.getCommentAnchors = _chunk6LUYFHHNcjs.getCommentAnchors; exports.getCommentAuthor = _chunk6LUYFHHNcjs.getCommentAuthor; exports.getCommentIdsAt = _chunk6LUYFHHNcjs.getCommentIdsAt; exports.getCommentStore = _chunk6LUYFHHNcjs.getCommentStore; exports.getCrossReferenceTargets = _chunk6LUYFHHNcjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkXNQ5EFB4cjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunk6LUYFHHNcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunk6LUYFHHNcjs.getFindReplaceState; exports.getFindReplaceStore = _chunk6LUYFHHNcjs.getFindReplaceStore; exports.getFootnotes = _chunk6LUYFHHNcjs.getFootnotes; exports.getMentionNodes = _chunk6LUYFHHNcjs.getMentionNodes; exports.getOutline = _chunk6LUYFHHNcjs.getOutline; exports.getParagraphStyleAt = _chunk6LUYFHHNcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunk6LUYFHHNcjs.getStyleRegistry; exports.getTableActionState = _chunkXNQ5EFB4cjs.getTableActionState; exports.getTableOfContentsEntries = _chunk6LUYFHHNcjs.getTableOfContentsEntries; exports.getTableState = _chunkXNQ5EFB4cjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunk6LUYFHHNcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkXNQ5EFB4cjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunk6LUYFHHNcjs.imagePastePluginKey; exports.insertImageNode = _chunk6LUYFHHNcjs.insertImageNode; exports.insertSliceAfterTable = _chunkXNQ5EFB4cjs.insertSliceAfterTable; exports.isChartEnabled = _chunkXNQ5EFB4cjs.isChartEnabled; exports.isGfmTable = _chunkXNQ5EFB4cjs.isGfmTable; exports.isInTableCell = _chunkXNQ5EFB4cjs.isInTableCell; exports.isInsidePromptToken = _chunk6LUYFHHNcjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunk6LUYFHHNcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkXNQ5EFB4cjs.isSelectionInTable; exports.isTableEnabled = _chunkXNQ5EFB4cjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkXNQ5EFB4cjs.markAgentChanges; exports.navigateToHeading = _chunk6LUYFHHNcjs.navigateToHeading; exports.normalizeSparklineValues = _chunkXNQ5EFB4cjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkXNQ5EFB4cjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkXNQ5EFB4cjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkXNQ5EFB4cjs.outermostTableDepth; exports.outlinePluginKey = _chunk6LUYFHHNcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunk6LUYFHHNcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkXNQ5EFB4cjs.parseReplacement; exports.removeImageNode = _chunk6LUYFHHNcjs.removeImageNode; exports.replaceWithTextTransaction = _chunkXNQ5EFB4cjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunk6LUYFHHNcjs.richClipboardPluginKey; exports.runTableAction = _chunkXNQ5EFB4cjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkXNQ5EFB4cjs.searchDocument; exports.setAgentCaret = _chunkXNQ5EFB4cjs.setAgentCaret; exports.setMentionRoleAt = _chunk6LUYFHHNcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkXNQ5EFB4cjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkXNQ5EFB4cjs.sliceContainsTable; exports.smartQuoteRules = _chunk6LUYFHHNcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunk6LUYFHHNcjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkXNQ5EFB4cjs.sparklineLabel; exports.staticChartSvg = _chunkXNQ5EFB4cjs.staticChartSvg; exports.symbolRules = _chunk6LUYFHHNcjs.symbolRules; exports.syncFootnotes = _chunk6LUYFHHNcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkXNQ5EFB4cjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunk6LUYFHHNcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunk6LUYFHHNcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunk6LUYFHHNcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkXNQ5EFB4cjs.typeAgentText; exports.unnestTables = _chunkXNQ5EFB4cjs.unnestTables; exports.updateImageSrc = _chunk6LUYFHHNcjs.updateImageSrc; exports.validateFindPattern = _chunk6LUYFHHNcjs.validateFindPattern; exports.writeRichClipboard = _chunk6LUYFHHNcjs.writeRichClipboard;
|
|
415
|
+
exports.ALLOW_NESTED_TABLES_META = _chunkEY22AY6Rcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkEY22AY6Rcjs.AgentCaret; exports.Autocorrect = _chunkEQ46F75Ocjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkEQ46F75Ocjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkEQ46F75Ocjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkEQ46F75Ocjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkEQ46F75Ocjs.CharacterStyle; exports.Chart = _chunkEY22AY6Rcjs.Chart; exports.ChartNodeView = _chunkEY22AY6Rcjs.ChartNodeView; exports.ColorHighlighter = _chunkEQ46F75Ocjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkEQ46F75Ocjs.Comments; exports.CrossReference = _chunkEQ46F75Ocjs.CrossReference; exports.DEFAULT_AGENT_CARET_COLOR = _chunkEY22AY6Rcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkEY22AY6Rcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkEQ46F75Ocjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkEY22AY6Rcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkEY22AY6Rcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkEQ46F75Ocjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkEQ46F75Ocjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkEY22AY6Rcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkEQ46F75Ocjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkEY22AY6Rcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkEQ46F75Ocjs.FileImport; exports.FindReplace = _chunkEQ46F75Ocjs.FindReplace; exports.FindReplaceStore = _chunkEQ46F75Ocjs.FindReplaceStore; exports.FontSize = _chunkEQ46F75Ocjs.FontSize; exports.Footnote = _chunkEQ46F75Ocjs.Footnote; exports.FootnoteReference = _chunkEQ46F75Ocjs.FootnoteReference; exports.Footnotes = _chunkEQ46F75Ocjs.Footnotes; exports.GradientText = _chunkEQ46F75Ocjs.GradientText; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.Image = _chunkEQ46F75Ocjs.Image; exports.LoadingNode = _chunkEQ46F75Ocjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkEY22AY6Rcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkEY22AY6Rcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkEY22AY6Rcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkEY22AY6Rcjs.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 = _chunkEQ46F75Ocjs.Markdown; exports.Mention = _chunkEQ46F75Ocjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.Outline = _chunkEQ46F75Ocjs.Outline; exports.ParagraphStyles = _chunkEQ46F75Ocjs.ParagraphStyles; exports.RichClipboard = _chunkEQ46F75Ocjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkEQ46F75Ocjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkEY22AY6Rcjs.SPARKLINE_KINDS; exports.STYLE_ID_ATTRIBUTE = _chunkEQ46F75Ocjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkEQ46F75Ocjs.SlashCommands; exports.SmilieReplacer = _chunkEQ46F75Ocjs.SmilieReplacer; exports.Sparkline = _chunkEY22AY6Rcjs.Sparkline; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkEY22AY6Rcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkEY22AY6Rcjs.Table; exports.TableCell = _chunkEY22AY6Rcjs.TableCell; exports.TableHeader = _chunkEY22AY6Rcjs.TableHeader; exports.TableOfContents = _chunkEQ46F75Ocjs.TableOfContents; exports.TableRow = _chunkEY22AY6Rcjs.TableRow; exports.TemplateSuggestions = _chunkEQ46F75Ocjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.agentCaretPluginKey = _chunkEY22AY6Rcjs.agentCaretPluginKey; exports.applyDocumentComparison = _chunkEQ46F75Ocjs.applyDocumentComparison; exports.applyReplacements = _chunkEY22AY6Rcjs.applyReplacements; exports.autocorrectPluginKey = _chunkEQ46F75Ocjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkEQ46F75Ocjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkEQ46F75Ocjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkEQ46F75Ocjs.captureSelectionFormat; exports.chartPluginKey = _chunkEY22AY6Rcjs.chartPluginKey; exports.clearAgentCaret = _chunkEY22AY6Rcjs.clearAgentCaret; exports.commentsPluginKey = _chunkEQ46F75Ocjs.commentsPluginKey; exports.compareInEditor = _chunkEQ46F75Ocjs.compareInEditor; exports.compileFindPattern = _chunkEY22AY6Rcjs.compileFindPattern; exports.computeOutline = _chunkEQ46F75Ocjs.computeOutline; exports.createAgentCaretPlugin = _chunkEY22AY6Rcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkEY22AY6Rcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createFindReplaceCommands = _chunkEQ46F75Ocjs.createFindReplaceCommands; exports.createMentionExtension = _chunkEQ46F75Ocjs.createMentionExtension; exports.createOutlineStore = _chunkEQ46F75Ocjs.createOutlineStore; exports.createParagraphStylesStore = _chunkEQ46F75Ocjs.createParagraphStylesStore; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkEQ46F75Ocjs.createRichTextPreset; exports.createSearchBudget = _chunkEY22AY6Rcjs.createSearchBudget; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkEQ46F75Ocjs.createTableCommands; exports.createTableExtensions = _chunkEY22AY6Rcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkEY22AY6Rcjs.createTableNestingPlugin; exports.createTableStore = _chunkEY22AY6Rcjs.createTableStore; exports.crossReferencePluginKey = _chunkEQ46F75Ocjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkEQ46F75Ocjs.defaultAutocorrectRules; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkEQ46F75Ocjs.documentStructureCommandItems; exports.ensureAgentCaret = _chunkEY22AY6Rcjs.ensureAgentCaret; exports.expandReplacement = _chunkEY22AY6Rcjs.expandReplacement; exports.fileImportPluginKey = _chunkEQ46F75Ocjs.fileImportPluginKey; exports.findAllMatches = _chunkEY22AY6Rcjs.findAllMatches; exports.findAutocorrection = _chunkEQ46F75Ocjs.findAutocorrection; exports.findCommentRanges = _chunkEQ46F75Ocjs.findCommentRanges; exports.findHexColors = _chunkEQ46F75Ocjs.findHexColors; exports.findReplacePluginKey = _chunkEQ46F75Ocjs.findReplacePluginKey; exports.foldCodePoint = _chunkEY22AY6Rcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkEQ46F75Ocjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkEQ46F75Ocjs.footnotesPluginKey; exports.formatFindStatus = _chunkEQ46F75Ocjs.formatFindStatus; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.fractionRules = _chunkEQ46F75Ocjs.fractionRules; exports.getActiveHeading = _chunkEQ46F75Ocjs.getActiveHeading; exports.getAgentCarets = _chunkEY22AY6Rcjs.getAgentCarets; exports.getBookmarks = _chunkEQ46F75Ocjs.getBookmarks; exports.getCommentAnchors = _chunkEQ46F75Ocjs.getCommentAnchors; exports.getCommentAuthor = _chunkEQ46F75Ocjs.getCommentAuthor; exports.getCommentIdsAt = _chunkEQ46F75Ocjs.getCommentIdsAt; exports.getCommentStore = _chunkEQ46F75Ocjs.getCommentStore; exports.getCrossReferenceTargets = _chunkEQ46F75Ocjs.getCrossReferenceTargets; exports.getDocumentCharts = _chunkEY22AY6Rcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkEQ46F75Ocjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkEQ46F75Ocjs.getFindReplaceState; exports.getFindReplaceStore = _chunkEQ46F75Ocjs.getFindReplaceStore; exports.getFootnotes = _chunkEQ46F75Ocjs.getFootnotes; exports.getMentionNodes = _chunkEQ46F75Ocjs.getMentionNodes; exports.getOutline = _chunkEQ46F75Ocjs.getOutline; exports.getParagraphStyleAt = _chunkEQ46F75Ocjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkEQ46F75Ocjs.getStyleRegistry; exports.getTableActionState = _chunkEY22AY6Rcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkEQ46F75Ocjs.getTableOfContentsEntries; exports.getTableState = _chunkEY22AY6Rcjs.getTableState; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.handleImageInsertion = _chunkEQ46F75Ocjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkEY22AY6Rcjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkEQ46F75Ocjs.imagePastePluginKey; exports.insertImageNode = _chunkEQ46F75Ocjs.insertImageNode; exports.insertSliceAfterTable = _chunkEY22AY6Rcjs.insertSliceAfterTable; exports.isChartEnabled = _chunkEY22AY6Rcjs.isChartEnabled; exports.isGfmTable = _chunkEY22AY6Rcjs.isGfmTable; exports.isInTableCell = _chunkEY22AY6Rcjs.isInTableCell; exports.isInsidePromptToken = _chunkEQ46F75Ocjs.isInsidePromptToken; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkEQ46F75Ocjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkEY22AY6Rcjs.isSelectionInTable; exports.isTableEnabled = _chunkEY22AY6Rcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.markAgentChanges = _chunkEY22AY6Rcjs.markAgentChanges; exports.navigateToHeading = _chunkEQ46F75Ocjs.navigateToHeading; exports.normalizeSparklineValues = _chunkEY22AY6Rcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkEY22AY6Rcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkEY22AY6Rcjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkEY22AY6Rcjs.outermostTableDepth; exports.outlinePluginKey = _chunkEQ46F75Ocjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkEQ46F75Ocjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkEY22AY6Rcjs.parseReplacement; exports.removeImageNode = _chunkEQ46F75Ocjs.removeImageNode; exports.replaceWithTextTransaction = _chunkEY22AY6Rcjs.replaceWithTextTransaction; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkEQ46F75Ocjs.richClipboardPluginKey; exports.runTableAction = _chunkEY22AY6Rcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.searchDocument = _chunkEY22AY6Rcjs.searchDocument; exports.setAgentCaret = _chunkEY22AY6Rcjs.setAgentCaret; exports.setMentionRoleAt = _chunkEQ46F75Ocjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkEY22AY6Rcjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkEY22AY6Rcjs.sliceContainsTable; exports.smartQuoteRules = _chunkEQ46F75Ocjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkEQ46F75Ocjs.smilieAutocorrectRules; exports.sparklineLabel = _chunkEY22AY6Rcjs.sparklineLabel; exports.staticChartSvg = _chunkEY22AY6Rcjs.staticChartSvg; exports.symbolRules = _chunkEQ46F75Ocjs.symbolRules; exports.syncFootnotes = _chunkEQ46F75Ocjs.syncFootnotes; exports.tableNestingPluginKey = _chunkEY22AY6Rcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkEQ46F75Ocjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkEQ46F75Ocjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkEQ46F75Ocjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkEY22AY6Rcjs.typeAgentText; exports.unnestTables = _chunkEY22AY6Rcjs.unnestTables; exports.updateImageSrc = _chunkEQ46F75Ocjs.updateImageSrc; exports.validateFindPattern = _chunkEQ46F75Ocjs.validateFindPattern; exports.writeRichClipboard = _chunkEQ46F75Ocjs.writeRichClipboard;
|