@pixerate/editor 0.25.0 → 0.26.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/README.md +30 -0
- package/THIRD_PARTY_NOTICES.md +11 -0
- package/dist/agent/index.cjs +174 -11
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +18 -4
- package/dist/agent/index.d.ts +18 -4
- package/dist/agent/index.js +167 -4
- package/dist/agent/index.js.map +1 -1
- package/dist/{arrangeShortcuts-B8O3f8-P.d.cts → arrange-BICutYPk.d.cts} +243 -29
- package/dist/{arrangeShortcuts-sLlD2rSX.d.ts → arrange-BICutYPk.d.ts} +243 -29
- package/dist/builtins-CdPcLwwF.d.cts +176 -0
- package/dist/builtins-Chj6zv_O.d.ts +176 -0
- package/dist/canvas/index.cjs +3917 -19
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +1232 -7
- package/dist/canvas/index.d.ts +1232 -7
- package/dist/canvas/index.js +3916 -18
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-3CC7OPUQ.cjs +831 -0
- package/dist/chunk-3CC7OPUQ.cjs.map +1 -0
- package/dist/{chunk-AL6JMGWW.cjs → chunk-CS6NZWWA.cjs} +24 -24
- package/dist/{chunk-AL6JMGWW.cjs.map → chunk-CS6NZWWA.cjs.map} +1 -1
- package/dist/{chunk-C7P22VIP.cjs → chunk-EWCOFSCQ.cjs} +17 -6
- package/dist/chunk-EWCOFSCQ.cjs.map +1 -0
- package/dist/chunk-HDYMLS3X.cjs +409 -0
- package/dist/chunk-HDYMLS3X.cjs.map +1 -0
- package/dist/{chunk-X4N4WUKB.cjs → chunk-IFHKKVXH.cjs} +150 -38
- package/dist/chunk-IFHKKVXH.cjs.map +1 -0
- package/dist/{chunk-ECCCYKGL.js → chunk-JOIREKL7.js} +63 -39
- package/dist/chunk-JOIREKL7.js.map +1 -0
- package/dist/chunk-KRGXUQ2Y.js +1696 -0
- package/dist/chunk-KRGXUQ2Y.js.map +1 -0
- package/dist/{chunk-QGYDWPRM.js → chunk-MHEPLBFB.js} +2 -2
- package/dist/chunk-MR2764X2.js +831 -0
- package/dist/chunk-MR2764X2.js.map +1 -0
- package/dist/{chunk-7WISYZFO.cjs → chunk-NFVBT3UZ.cjs} +67 -43
- package/dist/chunk-NFVBT3UZ.cjs.map +1 -0
- package/dist/{chunk-WSQKHXW7.cjs → chunk-NQF32I6Z.cjs} +1209 -457
- package/dist/chunk-NQF32I6Z.cjs.map +1 -0
- package/dist/{chunk-IXHSYOVY.js → chunk-Q2OHWD2A.js} +638 -866
- package/dist/chunk-Q2OHWD2A.js.map +1 -0
- package/dist/{chunk-NAXVVS5I.js → chunk-QJSOZFCZ.js} +2 -2
- package/dist/{chunk-V3CHHWOE.cjs → chunk-RRREAOVM.cjs} +4 -4
- package/dist/{chunk-V3CHHWOE.cjs.map → chunk-RRREAOVM.cjs.map} +1 -1
- package/dist/{chunk-UAKDG62Z.js → chunk-SWE3NPOU.js} +116 -4
- package/dist/chunk-SWE3NPOU.js.map +1 -0
- package/dist/chunk-TXXNBDQX.cjs +1696 -0
- package/dist/chunk-TXXNBDQX.cjs.map +1 -0
- package/dist/chunk-UBCFIABU.js +409 -0
- package/dist/chunk-UBCFIABU.js.map +1 -0
- package/dist/{chunk-RR7F5GUM.js → chunk-X7HXL2SB.js} +941 -189
- package/dist/chunk-X7HXL2SB.js.map +1 -0
- package/dist/{chunk-PO6A6QQH.cjs → chunk-YOMYSFJU.cjs} +742 -970
- package/dist/chunk-YOMYSFJU.cjs.map +1 -0
- package/dist/{chunk-FH6F67DN.js → chunk-ZRNHGAQT.js} +17 -6
- package/dist/{chunk-FH6F67DN.js.map → chunk-ZRNHGAQT.js.map} +1 -1
- package/dist/commands/index.cjs +352 -4
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +37 -108
- package/dist/commands/index.d.ts +37 -108
- package/dist/commands/index.js +351 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/compare/index.cjs +3 -3
- package/dist/compare/index.js +2 -2
- package/dist/{controller-BIJiNoVs.d.cts → controller-CxXGOEmy.d.cts} +209 -13
- package/dist/{controller-BIJiNoVs.d.ts → controller-CxXGOEmy.d.ts} +209 -13
- package/dist/export/index.cjs +36 -0
- package/dist/export/index.cjs.map +1 -0
- package/dist/export/index.d.cts +243 -0
- package/dist/export/index.d.ts +243 -0
- package/dist/export/index.js +36 -0
- package/dist/export/index.js.map +1 -0
- package/dist/extensions/index.cjs +54 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +7 -2
- package/dist/extensions/index.d.ts +7 -2
- package/dist/extensions/index.js +59 -11
- package/dist/{index-7a6bHTLy.d.ts → index-B273Zllk.d.ts} +211 -207
- package/dist/{index-Csd5qI8u.d.cts → index-jcJwmBYt.d.cts} +211 -207
- package/dist/index.cjs +144 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -13
- package/dist/index.d.ts +49 -13
- package/dist/index.js +136 -24
- package/dist/index.js.map +1 -1
- package/dist/registry-CED5C0lA.d.cts +204 -0
- package/dist/registry-CED5C0lA.d.ts +204 -0
- package/dist/{registry-D32LpIc4.d.cts → registry-D0GADKc7.d.cts} +1 -1
- package/dist/{registry-evKTP4ls.d.ts → registry-DhVUZioj.d.ts} +1 -1
- package/dist/serializers/index.cjs +4 -4
- package/dist/serializers/index.d.cts +2 -1
- package/dist/serializers/index.d.ts +2 -1
- package/dist/serializers/index.js +3 -3
- package/dist/spreadsheet/index.cjs +33 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +106 -3
- package/dist/spreadsheet/index.d.ts +106 -3
- package/dist/spreadsheet/index.js +32 -2
- package/package.json +10 -1
- package/dist/chunk-7WISYZFO.cjs.map +0 -1
- package/dist/chunk-C7P22VIP.cjs.map +0 -1
- package/dist/chunk-ECCCYKGL.js.map +0 -1
- package/dist/chunk-IXHSYOVY.js.map +0 -1
- package/dist/chunk-PO6A6QQH.cjs.map +0 -1
- package/dist/chunk-RR7F5GUM.js.map +0 -1
- package/dist/chunk-UAKDG62Z.js.map +0 -1
- package/dist/chunk-WSQKHXW7.cjs.map +0 -1
- package/dist/chunk-X4N4WUKB.cjs.map +0 -1
- package/dist/types-DX4Mh4SL.d.cts +0 -217
- package/dist/types-DX4Mh4SL.d.ts +0 -217
- /package/dist/{chunk-QGYDWPRM.js.map → chunk-MHEPLBFB.js.map} +0 -0
- /package/dist/{chunk-NAXVVS5I.js.map → chunk-QJSOZFCZ.js.map} +0 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/** Paragraph styles format whole blocks; character styles format runs of text. */
|
|
2
|
+
type StyleKind = "paragraph" | "character";
|
|
3
|
+
/** Character formatting of a style (CSS values). */
|
|
4
|
+
interface CharacterFormat {
|
|
5
|
+
fontFamily?: string;
|
|
6
|
+
/** CSS length, e.g. `"1.5em"` or `"18px"`. */
|
|
7
|
+
fontSize?: string;
|
|
8
|
+
bold?: boolean;
|
|
9
|
+
italic?: boolean;
|
|
10
|
+
underline?: boolean;
|
|
11
|
+
strike?: boolean;
|
|
12
|
+
color?: string;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
letterSpacing?: string;
|
|
15
|
+
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
16
|
+
smallCaps?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Paragraph formatting of a style (CSS values). */
|
|
19
|
+
interface ParagraphFormat {
|
|
20
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
21
|
+
lineHeight?: string;
|
|
22
|
+
spaceBefore?: string;
|
|
23
|
+
spaceAfter?: string;
|
|
24
|
+
indentLeft?: string;
|
|
25
|
+
indentRight?: string;
|
|
26
|
+
indentFirstLine?: string;
|
|
27
|
+
/** CSS border shorthand, e.g. `"3px solid currentColor"`. */
|
|
28
|
+
borderLeft?: string;
|
|
29
|
+
paddingLeft?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
}
|
|
32
|
+
/** The block node a paragraph style uses (`heading` with `level` for Heading N). */
|
|
33
|
+
interface StyleBlock {
|
|
34
|
+
type: string;
|
|
35
|
+
attrs?: Record<string, any>;
|
|
36
|
+
}
|
|
37
|
+
interface StyleDefinition {
|
|
38
|
+
/** Stable id (`Heading1`): letters, digits, `_` and `-`, starting with a letter. */
|
|
39
|
+
id: string;
|
|
40
|
+
/** Display name (`Heading 1`). */
|
|
41
|
+
name: string;
|
|
42
|
+
kind: StyleKind;
|
|
43
|
+
/** Style this one inherits from; what it sets wins over its base. */
|
|
44
|
+
basedOn?: string | null;
|
|
45
|
+
/** Style of the paragraph after this one when Enter is pressed at its end (paragraph styles). */
|
|
46
|
+
next?: string | null;
|
|
47
|
+
/** Linked style: a paragraph style's character style, or a character style's paragraph style. */
|
|
48
|
+
linked?: string | null;
|
|
49
|
+
paragraph?: ParagraphFormat;
|
|
50
|
+
character?: CharacterFormat;
|
|
51
|
+
/** Block node of a paragraph style. Inherited along `basedOn`; `paragraph` by default. */
|
|
52
|
+
block?: StyleBlock | null;
|
|
53
|
+
/** Gallery order (lower first). */
|
|
54
|
+
priority?: number;
|
|
55
|
+
/** Shown in the styles gallery. */
|
|
56
|
+
quick?: boolean;
|
|
57
|
+
hidden?: boolean;
|
|
58
|
+
/** Built in (cannot be removed). */
|
|
59
|
+
builtin?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/** A style with its `basedOn` chain and the defaults merged. */
|
|
62
|
+
interface ResolvedStyle {
|
|
63
|
+
id: string;
|
|
64
|
+
paragraph: ParagraphFormat;
|
|
65
|
+
character: CharacterFormat;
|
|
66
|
+
block: StyleBlock;
|
|
67
|
+
/** Id of the style after Enter at the end of a paragraph. */
|
|
68
|
+
next: string;
|
|
69
|
+
}
|
|
70
|
+
interface StyleDefaults {
|
|
71
|
+
paragraph?: ParagraphFormat;
|
|
72
|
+
character?: CharacterFormat;
|
|
73
|
+
}
|
|
74
|
+
interface StyleRegistryOptions {
|
|
75
|
+
/** Styles added to (or replacing) the built-in ones. */
|
|
76
|
+
styles?: readonly StyleDefinition[];
|
|
77
|
+
/** Include the built-in styles. Default `true`. */
|
|
78
|
+
builtins?: boolean;
|
|
79
|
+
/** Document defaults, applied below every style. */
|
|
80
|
+
defaults?: StyleDefaults;
|
|
81
|
+
}
|
|
82
|
+
interface StyleRegistrySnapshot {
|
|
83
|
+
styles: readonly StyleDefinition[];
|
|
84
|
+
defaults: StyleDefaults;
|
|
85
|
+
/** Increases on every change. */
|
|
86
|
+
version: number;
|
|
87
|
+
}
|
|
88
|
+
/** Serializable registry content (`registry.toJSON()`). */
|
|
89
|
+
interface StyleRegistryJSON {
|
|
90
|
+
styles: StyleDefinition[];
|
|
91
|
+
defaults: StyleDefaults;
|
|
92
|
+
}
|
|
93
|
+
interface StyleCSSOptions {
|
|
94
|
+
/** Selector the rules are scoped to. Default `.ProseMirror`. */
|
|
95
|
+
scope?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Element selector of blocks that use a style without naming it
|
|
98
|
+
* (`data-style` absent), e.g. `h2` for Heading 2. Return `null` for none.
|
|
99
|
+
*/
|
|
100
|
+
tagFor?: (block: StyleBlock) => string | null;
|
|
101
|
+
}
|
|
102
|
+
declare const NORMAL_STYLE_ID = "Normal";
|
|
103
|
+
/** Whether `id` is a valid style id. */
|
|
104
|
+
declare function isValidStyleId(id: unknown): id is string;
|
|
105
|
+
/** The built-in styles: Normal, Title, Subtitle, Heading 1–6, Quote, Code, List Paragraph and character styles. */
|
|
106
|
+
declare const DEFAULT_STYLES: readonly StyleDefinition[];
|
|
107
|
+
/**
|
|
108
|
+
* Style definitions with `basedOn` inheritance, next-style and linked
|
|
109
|
+
* character/paragraph styles, resolved in cascade order: document defaults →
|
|
110
|
+
* style chain (base first) → direct formatting. Chains are cycle-safe.
|
|
111
|
+
*
|
|
112
|
+
* `subscribe` calls the listener immediately and on every change (Svelte
|
|
113
|
+
* store contract); `getSnapshot` is stable between changes.
|
|
114
|
+
*/
|
|
115
|
+
declare class StyleRegistry {
|
|
116
|
+
private styles;
|
|
117
|
+
private defaults;
|
|
118
|
+
private version;
|
|
119
|
+
private snapshot;
|
|
120
|
+
private listeners;
|
|
121
|
+
constructor(options?: StyleRegistryOptions);
|
|
122
|
+
get(id: string | null | undefined): StyleDefinition | undefined;
|
|
123
|
+
/** Finds a style by id or display name (case-insensitive). */
|
|
124
|
+
find(nameOrId: string): StyleDefinition | undefined;
|
|
125
|
+
/** All styles (optionally of one kind) in gallery order. */
|
|
126
|
+
list(kind?: StyleKind): StyleDefinition[];
|
|
127
|
+
/** Styles shown in the gallery (`quick`, not hidden), paragraph styles by default. */
|
|
128
|
+
gallery(kind?: StyleKind): StyleDefinition[];
|
|
129
|
+
/** The `basedOn` chain from the root style down to `id` (cycle-safe, bounded). */
|
|
130
|
+
chain(id: string): StyleDefinition[];
|
|
131
|
+
/**
|
|
132
|
+
* Resolves a paragraph style: defaults, then each style of the chain (base
|
|
133
|
+
* first). Unknown ids resolve to the defaults in a `paragraph` block.
|
|
134
|
+
*/
|
|
135
|
+
resolve(id: string): ResolvedStyle;
|
|
136
|
+
/** Character formatting a paragraph style's chain sets (without defaults). */
|
|
137
|
+
private paragraphCharacter;
|
|
138
|
+
/**
|
|
139
|
+
* Character formatting of a character style's chain. A style linked to a
|
|
140
|
+
* paragraph style takes that style's character formatting first.
|
|
141
|
+
*/
|
|
142
|
+
resolveCharacterStyle(id: string): CharacterFormat;
|
|
143
|
+
/**
|
|
144
|
+
* Character formatting of text: defaults → paragraph style chain →
|
|
145
|
+
* character style chain → direct formatting.
|
|
146
|
+
*/
|
|
147
|
+
resolveText(input: {
|
|
148
|
+
paragraphStyle?: string | null;
|
|
149
|
+
characterStyle?: string | null;
|
|
150
|
+
direct?: CharacterFormat;
|
|
151
|
+
}): CharacterFormat;
|
|
152
|
+
/** The style after Enter at the end of a paragraph of `id` (itself when unset or unknown). */
|
|
153
|
+
nextStyleId(id: string): string;
|
|
154
|
+
/** The linked character style of a paragraph style, if any. */
|
|
155
|
+
linkedCharacterStyle(id: string): StyleDefinition | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* The style a block uses when it names none: Normal for paragraphs,
|
|
158
|
+
* Heading N for headings of level N, Code for code blocks (the built-in
|
|
159
|
+
* style whose own `block` matches).
|
|
160
|
+
*/
|
|
161
|
+
defaultStyleFor(type: string, attrs?: Record<string, any>): string | null;
|
|
162
|
+
/** The style of a block: its `styleId` when known, otherwise the block's default style. */
|
|
163
|
+
styleOfBlock(type: string, attrs?: Record<string, any>): string | null;
|
|
164
|
+
getSnapshot: () => StyleRegistrySnapshot;
|
|
165
|
+
subscribe: (listener: (snapshot: StyleRegistrySnapshot) => void) => (() => void);
|
|
166
|
+
toJSON(): StyleRegistryJSON;
|
|
167
|
+
/** Adds or replaces a style. Throws on an invalid id. */
|
|
168
|
+
upsert(style: StyleDefinition): StyleDefinition;
|
|
169
|
+
/** Merges `patch` into a style (formats are merged key by key). Returns `undefined` for unknown ids. */
|
|
170
|
+
update(id: string, patch: Partial<Omit<StyleDefinition, "id">>): StyleDefinition | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Removes a style and returns it. Built-in styles cannot be removed. Styles
|
|
173
|
+
* based on it are rebased onto its own base, and `next`/`linked`
|
|
174
|
+
* references to it are dropped.
|
|
175
|
+
*/
|
|
176
|
+
remove(id: string): StyleDefinition | undefined;
|
|
177
|
+
/** Replaces the document defaults. */
|
|
178
|
+
setDefaults(defaults: StyleDefaults): void;
|
|
179
|
+
/** An unused id derived from a display name (`My Style` → `MyStyle`, then `MyStyle1`, …). */
|
|
180
|
+
newId(name: string): string;
|
|
181
|
+
/** CSS declarations (`property: value`) of a resolved paragraph or character style. */
|
|
182
|
+
cssDeclarations(id: string): Record<string, string>;
|
|
183
|
+
/**
|
|
184
|
+
* Declarations for previewing a style in a menu or gallery: font family,
|
|
185
|
+
* weight, style, color, decoration, case and letter spacing (no sizes,
|
|
186
|
+
* margins or borders).
|
|
187
|
+
*/
|
|
188
|
+
previewDeclarations(id: string): Record<string, string>;
|
|
189
|
+
/**
|
|
190
|
+
* A stylesheet for the styles: `[data-style="Id"]` rules for paragraph
|
|
191
|
+
* styles (plus the plain element of blocks that use their default style,
|
|
192
|
+
* e.g. `h2:not([data-style])`), `[data-char-style="Id"]` for character
|
|
193
|
+
* styles and the defaults on the scope element.
|
|
194
|
+
*/
|
|
195
|
+
toCSS(options?: StyleCSSOptions): string;
|
|
196
|
+
private put;
|
|
197
|
+
private changed;
|
|
198
|
+
}
|
|
199
|
+
/** A CSS value, or `undefined` when it is unsafe or empty. */
|
|
200
|
+
declare function safeCSSValue(value: unknown): string | undefined;
|
|
201
|
+
/** Creates a style registry with the built-in styles (unless `builtins: false`) and `styles`. */
|
|
202
|
+
declare function createStyleRegistry(options?: StyleRegistryOptions | StyleRegistryJSON): StyleRegistry;
|
|
203
|
+
|
|
204
|
+
export { type CharacterFormat as C, DEFAULT_STYLES as D, NORMAL_STYLE_ID as N, type ParagraphFormat as P, type ResolvedStyle as R, type StyleBlock as S, type StyleCSSOptions as a, type StyleDefaults as b, type StyleDefinition as c, type StyleKind as d, StyleRegistry as e, type StyleRegistryJSON as f, type StyleRegistryOptions as g, type StyleRegistrySnapshot as h, createStyleRegistry as i, isValidStyleId as j, safeCSSValue as s };
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/** Paragraph styles format whole blocks; character styles format runs of text. */
|
|
2
|
+
type StyleKind = "paragraph" | "character";
|
|
3
|
+
/** Character formatting of a style (CSS values). */
|
|
4
|
+
interface CharacterFormat {
|
|
5
|
+
fontFamily?: string;
|
|
6
|
+
/** CSS length, e.g. `"1.5em"` or `"18px"`. */
|
|
7
|
+
fontSize?: string;
|
|
8
|
+
bold?: boolean;
|
|
9
|
+
italic?: boolean;
|
|
10
|
+
underline?: boolean;
|
|
11
|
+
strike?: boolean;
|
|
12
|
+
color?: string;
|
|
13
|
+
backgroundColor?: string;
|
|
14
|
+
letterSpacing?: string;
|
|
15
|
+
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
|
|
16
|
+
smallCaps?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/** Paragraph formatting of a style (CSS values). */
|
|
19
|
+
interface ParagraphFormat {
|
|
20
|
+
textAlign?: "left" | "center" | "right" | "justify";
|
|
21
|
+
lineHeight?: string;
|
|
22
|
+
spaceBefore?: string;
|
|
23
|
+
spaceAfter?: string;
|
|
24
|
+
indentLeft?: string;
|
|
25
|
+
indentRight?: string;
|
|
26
|
+
indentFirstLine?: string;
|
|
27
|
+
/** CSS border shorthand, e.g. `"3px solid currentColor"`. */
|
|
28
|
+
borderLeft?: string;
|
|
29
|
+
paddingLeft?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
}
|
|
32
|
+
/** The block node a paragraph style uses (`heading` with `level` for Heading N). */
|
|
33
|
+
interface StyleBlock {
|
|
34
|
+
type: string;
|
|
35
|
+
attrs?: Record<string, any>;
|
|
36
|
+
}
|
|
37
|
+
interface StyleDefinition {
|
|
38
|
+
/** Stable id (`Heading1`): letters, digits, `_` and `-`, starting with a letter. */
|
|
39
|
+
id: string;
|
|
40
|
+
/** Display name (`Heading 1`). */
|
|
41
|
+
name: string;
|
|
42
|
+
kind: StyleKind;
|
|
43
|
+
/** Style this one inherits from; what it sets wins over its base. */
|
|
44
|
+
basedOn?: string | null;
|
|
45
|
+
/** Style of the paragraph after this one when Enter is pressed at its end (paragraph styles). */
|
|
46
|
+
next?: string | null;
|
|
47
|
+
/** Linked style: a paragraph style's character style, or a character style's paragraph style. */
|
|
48
|
+
linked?: string | null;
|
|
49
|
+
paragraph?: ParagraphFormat;
|
|
50
|
+
character?: CharacterFormat;
|
|
51
|
+
/** Block node of a paragraph style. Inherited along `basedOn`; `paragraph` by default. */
|
|
52
|
+
block?: StyleBlock | null;
|
|
53
|
+
/** Gallery order (lower first). */
|
|
54
|
+
priority?: number;
|
|
55
|
+
/** Shown in the styles gallery. */
|
|
56
|
+
quick?: boolean;
|
|
57
|
+
hidden?: boolean;
|
|
58
|
+
/** Built in (cannot be removed). */
|
|
59
|
+
builtin?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/** A style with its `basedOn` chain and the defaults merged. */
|
|
62
|
+
interface ResolvedStyle {
|
|
63
|
+
id: string;
|
|
64
|
+
paragraph: ParagraphFormat;
|
|
65
|
+
character: CharacterFormat;
|
|
66
|
+
block: StyleBlock;
|
|
67
|
+
/** Id of the style after Enter at the end of a paragraph. */
|
|
68
|
+
next: string;
|
|
69
|
+
}
|
|
70
|
+
interface StyleDefaults {
|
|
71
|
+
paragraph?: ParagraphFormat;
|
|
72
|
+
character?: CharacterFormat;
|
|
73
|
+
}
|
|
74
|
+
interface StyleRegistryOptions {
|
|
75
|
+
/** Styles added to (or replacing) the built-in ones. */
|
|
76
|
+
styles?: readonly StyleDefinition[];
|
|
77
|
+
/** Include the built-in styles. Default `true`. */
|
|
78
|
+
builtins?: boolean;
|
|
79
|
+
/** Document defaults, applied below every style. */
|
|
80
|
+
defaults?: StyleDefaults;
|
|
81
|
+
}
|
|
82
|
+
interface StyleRegistrySnapshot {
|
|
83
|
+
styles: readonly StyleDefinition[];
|
|
84
|
+
defaults: StyleDefaults;
|
|
85
|
+
/** Increases on every change. */
|
|
86
|
+
version: number;
|
|
87
|
+
}
|
|
88
|
+
/** Serializable registry content (`registry.toJSON()`). */
|
|
89
|
+
interface StyleRegistryJSON {
|
|
90
|
+
styles: StyleDefinition[];
|
|
91
|
+
defaults: StyleDefaults;
|
|
92
|
+
}
|
|
93
|
+
interface StyleCSSOptions {
|
|
94
|
+
/** Selector the rules are scoped to. Default `.ProseMirror`. */
|
|
95
|
+
scope?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Element selector of blocks that use a style without naming it
|
|
98
|
+
* (`data-style` absent), e.g. `h2` for Heading 2. Return `null` for none.
|
|
99
|
+
*/
|
|
100
|
+
tagFor?: (block: StyleBlock) => string | null;
|
|
101
|
+
}
|
|
102
|
+
declare const NORMAL_STYLE_ID = "Normal";
|
|
103
|
+
/** Whether `id` is a valid style id. */
|
|
104
|
+
declare function isValidStyleId(id: unknown): id is string;
|
|
105
|
+
/** The built-in styles: Normal, Title, Subtitle, Heading 1–6, Quote, Code, List Paragraph and character styles. */
|
|
106
|
+
declare const DEFAULT_STYLES: readonly StyleDefinition[];
|
|
107
|
+
/**
|
|
108
|
+
* Style definitions with `basedOn` inheritance, next-style and linked
|
|
109
|
+
* character/paragraph styles, resolved in cascade order: document defaults →
|
|
110
|
+
* style chain (base first) → direct formatting. Chains are cycle-safe.
|
|
111
|
+
*
|
|
112
|
+
* `subscribe` calls the listener immediately and on every change (Svelte
|
|
113
|
+
* store contract); `getSnapshot` is stable between changes.
|
|
114
|
+
*/
|
|
115
|
+
declare class StyleRegistry {
|
|
116
|
+
private styles;
|
|
117
|
+
private defaults;
|
|
118
|
+
private version;
|
|
119
|
+
private snapshot;
|
|
120
|
+
private listeners;
|
|
121
|
+
constructor(options?: StyleRegistryOptions);
|
|
122
|
+
get(id: string | null | undefined): StyleDefinition | undefined;
|
|
123
|
+
/** Finds a style by id or display name (case-insensitive). */
|
|
124
|
+
find(nameOrId: string): StyleDefinition | undefined;
|
|
125
|
+
/** All styles (optionally of one kind) in gallery order. */
|
|
126
|
+
list(kind?: StyleKind): StyleDefinition[];
|
|
127
|
+
/** Styles shown in the gallery (`quick`, not hidden), paragraph styles by default. */
|
|
128
|
+
gallery(kind?: StyleKind): StyleDefinition[];
|
|
129
|
+
/** The `basedOn` chain from the root style down to `id` (cycle-safe, bounded). */
|
|
130
|
+
chain(id: string): StyleDefinition[];
|
|
131
|
+
/**
|
|
132
|
+
* Resolves a paragraph style: defaults, then each style of the chain (base
|
|
133
|
+
* first). Unknown ids resolve to the defaults in a `paragraph` block.
|
|
134
|
+
*/
|
|
135
|
+
resolve(id: string): ResolvedStyle;
|
|
136
|
+
/** Character formatting a paragraph style's chain sets (without defaults). */
|
|
137
|
+
private paragraphCharacter;
|
|
138
|
+
/**
|
|
139
|
+
* Character formatting of a character style's chain. A style linked to a
|
|
140
|
+
* paragraph style takes that style's character formatting first.
|
|
141
|
+
*/
|
|
142
|
+
resolveCharacterStyle(id: string): CharacterFormat;
|
|
143
|
+
/**
|
|
144
|
+
* Character formatting of text: defaults → paragraph style chain →
|
|
145
|
+
* character style chain → direct formatting.
|
|
146
|
+
*/
|
|
147
|
+
resolveText(input: {
|
|
148
|
+
paragraphStyle?: string | null;
|
|
149
|
+
characterStyle?: string | null;
|
|
150
|
+
direct?: CharacterFormat;
|
|
151
|
+
}): CharacterFormat;
|
|
152
|
+
/** The style after Enter at the end of a paragraph of `id` (itself when unset or unknown). */
|
|
153
|
+
nextStyleId(id: string): string;
|
|
154
|
+
/** The linked character style of a paragraph style, if any. */
|
|
155
|
+
linkedCharacterStyle(id: string): StyleDefinition | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* The style a block uses when it names none: Normal for paragraphs,
|
|
158
|
+
* Heading N for headings of level N, Code for code blocks (the built-in
|
|
159
|
+
* style whose own `block` matches).
|
|
160
|
+
*/
|
|
161
|
+
defaultStyleFor(type: string, attrs?: Record<string, any>): string | null;
|
|
162
|
+
/** The style of a block: its `styleId` when known, otherwise the block's default style. */
|
|
163
|
+
styleOfBlock(type: string, attrs?: Record<string, any>): string | null;
|
|
164
|
+
getSnapshot: () => StyleRegistrySnapshot;
|
|
165
|
+
subscribe: (listener: (snapshot: StyleRegistrySnapshot) => void) => (() => void);
|
|
166
|
+
toJSON(): StyleRegistryJSON;
|
|
167
|
+
/** Adds or replaces a style. Throws on an invalid id. */
|
|
168
|
+
upsert(style: StyleDefinition): StyleDefinition;
|
|
169
|
+
/** Merges `patch` into a style (formats are merged key by key). Returns `undefined` for unknown ids. */
|
|
170
|
+
update(id: string, patch: Partial<Omit<StyleDefinition, "id">>): StyleDefinition | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Removes a style and returns it. Built-in styles cannot be removed. Styles
|
|
173
|
+
* based on it are rebased onto its own base, and `next`/`linked`
|
|
174
|
+
* references to it are dropped.
|
|
175
|
+
*/
|
|
176
|
+
remove(id: string): StyleDefinition | undefined;
|
|
177
|
+
/** Replaces the document defaults. */
|
|
178
|
+
setDefaults(defaults: StyleDefaults): void;
|
|
179
|
+
/** An unused id derived from a display name (`My Style` → `MyStyle`, then `MyStyle1`, …). */
|
|
180
|
+
newId(name: string): string;
|
|
181
|
+
/** CSS declarations (`property: value`) of a resolved paragraph or character style. */
|
|
182
|
+
cssDeclarations(id: string): Record<string, string>;
|
|
183
|
+
/**
|
|
184
|
+
* Declarations for previewing a style in a menu or gallery: font family,
|
|
185
|
+
* weight, style, color, decoration, case and letter spacing (no sizes,
|
|
186
|
+
* margins or borders).
|
|
187
|
+
*/
|
|
188
|
+
previewDeclarations(id: string): Record<string, string>;
|
|
189
|
+
/**
|
|
190
|
+
* A stylesheet for the styles: `[data-style="Id"]` rules for paragraph
|
|
191
|
+
* styles (plus the plain element of blocks that use their default style,
|
|
192
|
+
* e.g. `h2:not([data-style])`), `[data-char-style="Id"]` for character
|
|
193
|
+
* styles and the defaults on the scope element.
|
|
194
|
+
*/
|
|
195
|
+
toCSS(options?: StyleCSSOptions): string;
|
|
196
|
+
private put;
|
|
197
|
+
private changed;
|
|
198
|
+
}
|
|
199
|
+
/** A CSS value, or `undefined` when it is unsafe or empty. */
|
|
200
|
+
declare function safeCSSValue(value: unknown): string | undefined;
|
|
201
|
+
/** Creates a style registry with the built-in styles (unless `builtins: false`) and `styles`. */
|
|
202
|
+
declare function createStyleRegistry(options?: StyleRegistryOptions | StyleRegistryJSON): StyleRegistry;
|
|
203
|
+
|
|
204
|
+
export { type CharacterFormat as C, DEFAULT_STYLES as D, NORMAL_STYLE_ID as N, type ParagraphFormat as P, type ResolvedStyle as R, type StyleBlock as S, type StyleCSSOptions as a, type StyleDefaults as b, type StyleDefinition as c, type StyleKind as d, StyleRegistry as e, type StyleRegistryJSON as f, type StyleRegistryOptions as g, type StyleRegistrySnapshot as h, createStyleRegistry as i, isValidStyleId as j, safeCSSValue as s };
|
|
@@ -351,4 +351,4 @@ declare function createCommandRegistry<TContext = any>(options?: CommandRegistry
|
|
|
351
351
|
/** Identity helper that types a command spec. */
|
|
352
352
|
declare function defineCommand<TContext = any, TParams = any, TResult = unknown>(spec: CommandSpec<TContext, TParams, TResult>): CommandSpec<TContext, TParams, TResult>;
|
|
353
353
|
|
|
354
|
-
export { formatShortcut as A, isEditableEventTarget as B,
|
|
354
|
+
export { formatShortcut as A, isEditableEventTarget as B, type CommandSpec as C, keyToCode as D, type EffectiveChord as E, normalizeChord as F, parseChord as G, shortcutCode as H, toShortcutBindings as I, type KeyboardEventLike as K, type Platform as P, type ShortcutBinding as S, CommandRegistry as a, type CommandResult as b, type CommandEntry as c, type Chord as d, type CommandErrorCode as e, type CommandHistoryTarget as f, type CommandListOptions as g, type CommandParamsSchema as h, CommandRegistryError as i, type CommandRegistryOptions as j, PLATFORMS as k, type ShortcutConflict as l, type ShortcutInput as m, ShortcutMap as n, type ShortcutMapOptions as o, type ShortcutMatch as p, type ShortcutResolveOptions as q, chordToString as r, codeFromKey as s, codeToKeyText as t, createCommandRegistry as u, defineCommand as v, detectPlatform as w, effectiveChord as x, effectiveChordKey as y, eventCode as z };
|
|
@@ -351,4 +351,4 @@ declare function createCommandRegistry<TContext = any>(options?: CommandRegistry
|
|
|
351
351
|
/** Identity helper that types a command spec. */
|
|
352
352
|
declare function defineCommand<TContext = any, TParams = any, TResult = unknown>(spec: CommandSpec<TContext, TParams, TResult>): CommandSpec<TContext, TParams, TResult>;
|
|
353
353
|
|
|
354
|
-
export { formatShortcut as A, isEditableEventTarget as B,
|
|
354
|
+
export { formatShortcut as A, isEditableEventTarget as B, type CommandSpec as C, keyToCode as D, type EffectiveChord as E, normalizeChord as F, parseChord as G, shortcutCode as H, toShortcutBindings as I, type KeyboardEventLike as K, type Platform as P, type ShortcutBinding as S, CommandRegistry as a, type CommandResult as b, type CommandEntry as c, type Chord as d, type CommandErrorCode as e, type CommandHistoryTarget as f, type CommandListOptions as g, type CommandParamsSchema as h, CommandRegistryError as i, type CommandRegistryOptions as j, PLATFORMS as k, type ShortcutConflict as l, type ShortcutInput as m, ShortcutMap as n, type ShortcutMapOptions as o, type ShortcutMatch as p, type ShortcutResolveOptions as q, chordToString as r, codeFromKey as s, codeToKeyText as t, createCommandRegistry as u, defineCommand as v, detectPlatform as w, effectiveChord as x, effectiveChordKey as y, eventCode as z };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRRREAOVMcjs = require('../chunk-RRREAOVM.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -26,14 +26,14 @@ var _chunkV3CHHWOEcjs = require('../chunk-V3CHHWOE.cjs');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkNFVBT3UZcjs = require('../chunk-NFVBT3UZ.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkBVP3TSLHcjs = require('../chunk-BVP3TSLH.cjs');
|
|
36
|
-
require('../chunk-
|
|
36
|
+
require('../chunk-IFHKKVXH.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
@@ -63,5 +63,5 @@ require('../chunk-X4N4WUKB.cjs');
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
exports.MARKDOWN_MENTION_SPLIT_REGEX =
|
|
66
|
+
exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkNFVBT3UZcjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MENTION_REGEX = _chunkBVP3TSLHcjs.MENTION_REGEX; exports.PIXERATE_DOCUMENT_MIME = _chunkRRREAOVMcjs.PIXERATE_DOCUMENT_MIME; exports.escapeHtml = _chunkNFVBT3UZcjs.escapeHtml; exports.extractMentions = _chunkNFVBT3UZcjs.extractMentions; exports.extractMentionsFromDoc = _chunkNFVBT3UZcjs.extractMentionsFromDoc; exports.findTextMentions = _chunkBVP3TSLHcjs.findTextMentions; exports.formatMentionText = _chunkBVP3TSLHcjs.formatMentionText; exports.getClipboardData = _chunkRRREAOVMcjs.getClipboardData; exports.getEditorMarkdown = _chunkNFVBT3UZcjs.getEditorMarkdown; exports.getEditorText = _chunkNFVBT3UZcjs.getEditorText; exports.getSchemaSignature = _chunkRRREAOVMcjs.getSchemaSignature; exports.htmlToPlainText = _chunkNFVBT3UZcjs.htmlToPlainText; exports.markdownToTipTapHtml = _chunkNFVBT3UZcjs.markdownToTipTapHtml; exports.parseMentionSegments = _chunkNFVBT3UZcjs.parseMentionSegments; exports.parseRichClipboardPayload = _chunkRRREAOVMcjs.parseRichClipboardPayload; exports.plainTextToParagraphHtml = _chunkRRREAOVMcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkNFVBT3UZcjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkNFVBT3UZcjs.plainTextToTipTapHtml; exports.preprocessMarkdownFileLinks = _chunkNFVBT3UZcjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkNFVBT3UZcjs.preprocessMarkdownMentions; exports.readRichClipboard = _chunkRRREAOVMcjs.readRichClipboard; exports.rtfToPlainText = _chunkRRREAOVMcjs.rtfToPlainText; exports.sanitizeHtml = _chunkNFVBT3UZcjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunkRRREAOVMcjs.sanitizeImportedHtml; exports.serializeRichClipboardPayload = _chunkRRREAOVMcjs.serializeRichClipboardPayload; exports.setMentionRoleInText = _chunkBVP3TSLHcjs.setMentionRoleInText; exports.stripMarkdownCode = _chunkNFVBT3UZcjs.stripMarkdownCode;
|
|
67
67
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -34,7 +34,8 @@ declare function plainTextToTipTapHtml(text: string): string;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function plainTextToSlice(text: string, schema: Schema): Slice;
|
|
36
36
|
/**
|
|
37
|
-
* Extracts plain text from an HTML string or TipTap HTML, preserving newlines
|
|
37
|
+
* Extracts plain text from an HTML string or TipTap HTML, preserving newlines
|
|
38
|
+
* between block tags. Table rows become lines of tab-separated cells.
|
|
38
39
|
*/
|
|
39
40
|
declare function htmlToPlainText(html: string, options?: PlainTextOptions): string;
|
|
40
41
|
/**
|
|
@@ -34,7 +34,8 @@ declare function plainTextToTipTapHtml(text: string): string;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function plainTextToSlice(text: string, schema: Schema): Slice;
|
|
36
36
|
/**
|
|
37
|
-
* Extracts plain text from an HTML string or TipTap HTML, preserving newlines
|
|
37
|
+
* Extracts plain text from an HTML string or TipTap HTML, preserving newlines
|
|
38
|
+
* between block tags. Table rows become lines of tab-separated cells.
|
|
38
39
|
*/
|
|
39
40
|
declare function htmlToPlainText(html: string, options?: PlainTextOptions): string;
|
|
40
41
|
/**
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
rtfToPlainText,
|
|
10
10
|
sanitizeImportedHtml,
|
|
11
11
|
serializeRichClipboardPayload
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-MHEPLBFB.js";
|
|
13
13
|
import {
|
|
14
14
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
15
15
|
escapeHtml,
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
preprocessMarkdownMentions,
|
|
27
27
|
sanitizeHtml,
|
|
28
28
|
stripMarkdownCode
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-JOIREKL7.js";
|
|
30
30
|
import {
|
|
31
31
|
MENTION_REGEX,
|
|
32
32
|
findTextMentions,
|
|
33
33
|
formatMentionText,
|
|
34
34
|
setMentionRoleInText
|
|
35
35
|
} from "../chunk-O5RYH2PG.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-SWE3NPOU.js";
|
|
37
37
|
export {
|
|
38
38
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
39
39
|
MENTION_REGEX,
|
|
@@ -114,7 +114,22 @@
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
var _chunkNQF32I6Zcjs = require('../chunk-NQF32I6Z.cjs');
|
|
118
133
|
|
|
119
134
|
|
|
120
135
|
|
|
@@ -167,7 +182,22 @@ var _chunkTNNJXF46cjs = require('../chunk-TNNJXF46.cjs');
|
|
|
167
182
|
|
|
168
183
|
|
|
169
184
|
|
|
170
|
-
var
|
|
185
|
+
var _chunkEWCOFSCQcjs = require('../chunk-EWCOFSCQ.cjs');
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
171
201
|
|
|
172
202
|
|
|
173
203
|
|
|
@@ -333,5 +363,5 @@ var _chunkC7P22VIPcjs = require('../chunk-C7P22VIP.cjs');
|
|
|
333
363
|
|
|
334
364
|
|
|
335
365
|
|
|
336
|
-
exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkWSQKHXW7cjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkWSQKHXW7cjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkWSQKHXW7cjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkWSQKHXW7cjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkWSQKHXW7cjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkWSQKHXW7cjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkWSQKHXW7cjs.DataSourceBinder; exports.DependencyGraph = _chunkWSQKHXW7cjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkWSQKHXW7cjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkC7P22VIPcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkC7P22VIPcjs.FormulaEvaluator; exports.FormulaLambda = _chunkC7P22VIPcjs.FormulaLambda; exports.FormulaParser = _chunkC7P22VIPcjs.FormulaParser; exports.MAX_DEFINED_NAME_LENGTH = _chunkWSQKHXW7cjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkC7P22VIPcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkC7P22VIPcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkC7P22VIPcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkWSQKHXW7cjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkWSQKHXW7cjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkC7P22VIPcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkWSQKHXW7cjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkWSQKHXW7cjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkWSQKHXW7cjs.SPREADSHEET_TABLE_ACTIONS; exports.SpreadsheetController = _chunkWSQKHXW7cjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkC7P22VIPcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkWSQKHXW7cjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkWSQKHXW7cjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkWSQKHXW7cjs.aggregateValues; exports.applyFormulaSuggestion = _chunkWSQKHXW7cjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkWSQKHXW7cjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkWSQKHXW7cjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkWSQKHXW7cjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkC7P22VIPcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkC7P22VIPcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkWSQKHXW7cjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkC7P22VIPcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkWSQKHXW7cjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkC7P22VIPcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkC7P22VIPcjs.colNameToIndex; exports.columnDependencyKey = _chunkWSQKHXW7cjs.columnDependencyKey; exports.compareCellValues = _chunkWSQKHXW7cjs.compareCellValues; exports.compareNumbers = _chunkC7P22VIPcjs.compareNumbers; exports.compareValues = _chunkC7P22VIPcjs.compareValues; exports.computeFillTarget = _chunkWSQKHXW7cjs.computeFillTarget; exports.computeRowGroups = _chunkWSQKHXW7cjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkWSQKHXW7cjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkWSQKHXW7cjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkWSQKHXW7cjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkWSQKHXW7cjs.conditionalFormatStyleString; exports.copySheetName = _chunkWSQKHXW7cjs.copySheetName; exports.createConditionalFormatRule = _chunkWSQKHXW7cjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkWSQKHXW7cjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkWSQKHXW7cjs.csvImportAdapter; exports.dateValueToSerial = _chunkC7P22VIPcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkWSQKHXW7cjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkWSQKHXW7cjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkWSQKHXW7cjs.describeConditionalFormat; exports.describeDataValidation = _chunkWSQKHXW7cjs.describeDataValidation; exports.describeFormulaError = _chunkC7P22VIPcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkWSQKHXW7cjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkWSQKHXW7cjs.extractCellDependencies; exports.extractNameDependencies = _chunkWSQKHXW7cjs.extractNameDependencies; exports.fillSeries = _chunkWSQKHXW7cjs.fillSeries; exports.findDataValidation = _chunkWSQKHXW7cjs.findDataValidation; exports.findInvalidCells = _chunkWSQKHXW7cjs.findInvalidCells; exports.forEachRangeCell = _chunkWSQKHXW7cjs.forEachRangeCell; exports.formatCellDisplay = _chunkWSQKHXW7cjs.formatCellDisplay; exports.formatCellForDisplay = _chunkWSQKHXW7cjs.formatCellForDisplay; exports.formatGeneralFit = _chunkC7P22VIPcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkC7P22VIPcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkWSQKHXW7cjs.formatRuleRanges; exports.formatSheetPrefix = _chunkWSQKHXW7cjs.formatSheetPrefix; exports.formatTextFunction = _chunkC7P22VIPcjs.formatTextFunction; exports.formatValueWithCode = _chunkWSQKHXW7cjs.formatValueWithCode; exports.formulaIdentifiers = _chunkWSQKHXW7cjs.formulaIdentifiers; exports.getConditionalFormatCss = _chunkWSQKHXW7cjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkWSQKHXW7cjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkWSQKHXW7cjs.getDataBarCss; exports.getFillDirection = _chunkWSQKHXW7cjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkC7P22VIPcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkWSQKHXW7cjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkC7P22VIPcjs.getFormulaFunction; exports.getFormulaHints = _chunkWSQKHXW7cjs.getFormulaHints; exports.getFormulaSignature = _chunkC7P22VIPcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkC7P22VIPcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkWSQKHXW7cjs.getNameManagerRows; exports.getRowSection = _chunkWSQKHXW7cjs.getRowSection; exports.getSheetTabMenuItems = _chunkWSQKHXW7cjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkWSQKHXW7cjs.getSpreadsheetMenuItems; exports.getTableSections = _chunkWSQKHXW7cjs.getTableSections; exports.getValidationListValues = _chunkWSQKHXW7cjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkWSQKHXW7cjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkC7P22VIPcjs.indexToColName; exports.isBlankValue = _chunkWSQKHXW7cjs.isBlankValue; exports.isFormulaError = _chunkC7P22VIPcjs.isFormulaError; exports.isFormulaLambda = _chunkC7P22VIPcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkWSQKHXW7cjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkWSQKHXW7cjs.isLambdaDefinition; exports.isSingleCellRange = _chunkWSQKHXW7cjs.isSingleCellRange; exports.listFormulaFunctions = _chunkC7P22VIPcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkWSQKHXW7cjs.mapFormulaReferences; exports.matchesFilterRule = _chunkWSQKHXW7cjs.matchesFilterRule; exports.matchesTimePeriod = _chunkWSQKHXW7cjs.matchesTimePeriod; exports.nextSheetName = _chunkWSQKHXW7cjs.nextSheetName; exports.normalizeRange = _chunkWSQKHXW7cjs.normalizeRange; exports.numberFormatColorToCss = _chunkC7P22VIPcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkWSQKHXW7cjs.numberFormatForCellFormat; exports.numberToText = _chunkC7P22VIPcjs.numberToText; exports.offsetFormulaReferences = _chunkWSQKHXW7cjs.offsetFormulaReferences; exports.parseCellInput = _chunkC7P22VIPcjs.parseCellInput; exports.parseCellReference = _chunkC7P22VIPcjs.parseCellReference; exports.parseCriteria = _chunkC7P22VIPcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkC7P22VIPcjs.parseFormula; exports.parseHtmlTable = _chunkWSQKHXW7cjs.parseHtmlTable; exports.parseNumberText = _chunkC7P22VIPcjs.parseNumberText; exports.parseRange = _chunkC7P22VIPcjs.parseRange; exports.parseRuleRanges = _chunkWSQKHXW7cjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkWSQKHXW7cjs.quoteSheetName; exports.rangeContains = _chunkWSQKHXW7cjs.rangeContains; exports.rangeContainsRange = _chunkWSQKHXW7cjs.rangeContainsRange; exports.rangesContain = _chunkWSQKHXW7cjs.rangesContain; exports.rangesIntersect = _chunkWSQKHXW7cjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkWSQKHXW7cjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkWSQKHXW7cjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkC7P22VIPcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkWSQKHXW7cjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkWSQKHXW7cjs.remapFormulaReferences; exports.renameNameInFormula = _chunkWSQKHXW7cjs.renameNameInFormula; exports.renameSheetInFormula = _chunkWSQKHXW7cjs.renameSheetInFormula; exports.roundFloat = _chunkWSQKHXW7cjs.roundFloat; exports.rowPassesFilters = _chunkWSQKHXW7cjs.rowPassesFilters; exports.ruleAnchor = _chunkWSQKHXW7cjs.ruleAnchor; exports.ruleFormulaAt = _chunkWSQKHXW7cjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkWSQKHXW7cjs.runSpreadsheetMenuItem; exports.searchFormulaFunctions = _chunkC7P22VIPcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkC7P22VIPcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkWSQKHXW7cjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkWSQKHXW7cjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkWSQKHXW7cjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkWSQKHXW7cjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkWSQKHXW7cjs.shiftRuleFormula; exports.sortCompareValues = _chunkC7P22VIPcjs.sortCompareValues; exports.subtractRange = _chunkWSQKHXW7cjs.subtractRange; exports.subtractRangeFromRanges = _chunkWSQKHXW7cjs.subtractRangeFromRanges; exports.toNumber = _chunkWSQKHXW7cjs.toNumber; exports.tokenizeFormula = _chunkC7P22VIPcjs.tokenizeFormula; exports.tsvImportAdapter = _chunkWSQKHXW7cjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkC7P22VIPcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkWSQKHXW7cjs.validateCellInput; exports.validateDefinedName = _chunkWSQKHXW7cjs.validateDefinedName; exports.validateSheetName = _chunkWSQKHXW7cjs.validateSheetName; exports.wildcardToRegExp = _chunkC7P22VIPcjs.wildcardToRegExp;
|
|
366
|
+
exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkNQF32I6Zcjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkNQF32I6Zcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkNQF32I6Zcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkNQF32I6Zcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkNQF32I6Zcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkNQF32I6Zcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkNQF32I6Zcjs.DataSourceBinder; exports.DependencyGraph = _chunkNQF32I6Zcjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkNQF32I6Zcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkEWCOFSCQcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkEWCOFSCQcjs.FormulaEvaluator; exports.FormulaLambda = _chunkEWCOFSCQcjs.FormulaLambda; exports.FormulaParser = _chunkEWCOFSCQcjs.FormulaParser; exports.IntervalIndex = _chunkNQF32I6Zcjs.IntervalIndex; exports.MAX_DEFINED_NAME_LENGTH = _chunkNQF32I6Zcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkEWCOFSCQcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkEWCOFSCQcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkEWCOFSCQcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkNQF32I6Zcjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkNQF32I6Zcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkEWCOFSCQcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkNQF32I6Zcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkNQF32I6Zcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkNQF32I6Zcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkNQF32I6Zcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkNQF32I6Zcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkNQF32I6Zcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkNQF32I6Zcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkNQF32I6Zcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkNQF32I6Zcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.SpreadsheetController = _chunkNQF32I6Zcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkEWCOFSCQcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkNQF32I6Zcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkNQF32I6Zcjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkNQF32I6Zcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkNQF32I6Zcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkNQF32I6Zcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkNQF32I6Zcjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkNQF32I6Zcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkEWCOFSCQcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkEWCOFSCQcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkNQF32I6Zcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkEWCOFSCQcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkNQF32I6Zcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkEWCOFSCQcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkEWCOFSCQcjs.colNameToIndex; exports.columnDependencyKey = _chunkNQF32I6Zcjs.columnDependencyKey; exports.compareCellValues = _chunkNQF32I6Zcjs.compareCellValues; exports.compareNumbers = _chunkEWCOFSCQcjs.compareNumbers; exports.compareValues = _chunkEWCOFSCQcjs.compareValues; exports.computeFillTarget = _chunkNQF32I6Zcjs.computeFillTarget; exports.computeRowGroups = _chunkNQF32I6Zcjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkNQF32I6Zcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkNQF32I6Zcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkNQF32I6Zcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkNQF32I6Zcjs.conditionalFormatStyleString; exports.copySheetName = _chunkNQF32I6Zcjs.copySheetName; exports.createConditionalFormatRule = _chunkNQF32I6Zcjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkNQF32I6Zcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkNQF32I6Zcjs.csvImportAdapter; exports.dateValueToSerial = _chunkEWCOFSCQcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkNQF32I6Zcjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkNQF32I6Zcjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkNQF32I6Zcjs.describeConditionalFormat; exports.describeDataValidation = _chunkNQF32I6Zcjs.describeDataValidation; exports.describeFormulaError = _chunkEWCOFSCQcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkNQF32I6Zcjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkNQF32I6Zcjs.extractCellDependencies; exports.extractNameDependencies = _chunkNQF32I6Zcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkNQF32I6Zcjs.extractReferenceDependencies; exports.fillSeries = _chunkNQF32I6Zcjs.fillSeries; exports.findDataValidation = _chunkNQF32I6Zcjs.findDataValidation; exports.findInvalidCells = _chunkNQF32I6Zcjs.findInvalidCells; exports.forEachRangeCell = _chunkNQF32I6Zcjs.forEachRangeCell; exports.formatCellDisplay = _chunkNQF32I6Zcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkNQF32I6Zcjs.formatCellForDisplay; exports.formatGeneralFit = _chunkEWCOFSCQcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkEWCOFSCQcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkNQF32I6Zcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkNQF32I6Zcjs.formatSheetPrefix; exports.formatTextFunction = _chunkEWCOFSCQcjs.formatTextFunction; exports.formatValueWithCode = _chunkNQF32I6Zcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkNQF32I6Zcjs.formulaIdentifiers; exports.fullSpreadsheetViewWindow = _chunkNQF32I6Zcjs.fullSpreadsheetViewWindow; exports.getConditionalFormatCss = _chunkNQF32I6Zcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkNQF32I6Zcjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkNQF32I6Zcjs.getDataBarCss; exports.getFillDirection = _chunkNQF32I6Zcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkEWCOFSCQcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkNQF32I6Zcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkEWCOFSCQcjs.getFormulaFunction; exports.getFormulaHints = _chunkNQF32I6Zcjs.getFormulaHints; exports.getFormulaSignature = _chunkEWCOFSCQcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkEWCOFSCQcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkNQF32I6Zcjs.getNameManagerRows; exports.getRowSection = _chunkNQF32I6Zcjs.getRowSection; exports.getSheetTabMenuItems = _chunkNQF32I6Zcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkNQF32I6Zcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkNQF32I6Zcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkNQF32I6Zcjs.getSpreadsheetViewWindow; exports.getTableSections = _chunkNQF32I6Zcjs.getTableSections; exports.getValidationListValues = _chunkNQF32I6Zcjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkNQF32I6Zcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkEWCOFSCQcjs.indexToColName; exports.isBlankValue = _chunkNQF32I6Zcjs.isBlankValue; exports.isFormulaError = _chunkEWCOFSCQcjs.isFormulaError; exports.isFormulaLambda = _chunkEWCOFSCQcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkNQF32I6Zcjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkNQF32I6Zcjs.isLambdaDefinition; exports.isSingleCellRange = _chunkNQF32I6Zcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkEWCOFSCQcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkNQF32I6Zcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkNQF32I6Zcjs.matchesFilterRule; exports.matchesTimePeriod = _chunkNQF32I6Zcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkNQF32I6Zcjs.measureSpreadsheetView; exports.nextSheetName = _chunkNQF32I6Zcjs.nextSheetName; exports.normalizeRange = _chunkNQF32I6Zcjs.normalizeRange; exports.numberFormatColorToCss = _chunkEWCOFSCQcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkNQF32I6Zcjs.numberFormatForCellFormat; exports.numberToText = _chunkEWCOFSCQcjs.numberToText; exports.offsetFormulaReferences = _chunkNQF32I6Zcjs.offsetFormulaReferences; exports.parseCellInput = _chunkEWCOFSCQcjs.parseCellInput; exports.parseCellReference = _chunkEWCOFSCQcjs.parseCellReference; exports.parseCriteria = _chunkEWCOFSCQcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkEWCOFSCQcjs.parseFormula; exports.parseHtmlTable = _chunkNQF32I6Zcjs.parseHtmlTable; exports.parseNumberText = _chunkEWCOFSCQcjs.parseNumberText; exports.parseRange = _chunkEWCOFSCQcjs.parseRange; exports.parseRuleRanges = _chunkNQF32I6Zcjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkNQF32I6Zcjs.quoteSheetName; exports.rangeContains = _chunkNQF32I6Zcjs.rangeContains; exports.rangeContainsRange = _chunkNQF32I6Zcjs.rangeContainsRange; exports.rangeDependencyKey = _chunkNQF32I6Zcjs.rangeDependencyKey; exports.rangesContain = _chunkNQF32I6Zcjs.rangesContain; exports.rangesIntersect = _chunkNQF32I6Zcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkNQF32I6Zcjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkNQF32I6Zcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkEWCOFSCQcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkNQF32I6Zcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkNQF32I6Zcjs.remapFormulaReferences; exports.renameNameInFormula = _chunkNQF32I6Zcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkNQF32I6Zcjs.renameSheetInFormula; exports.roundFloat = _chunkNQF32I6Zcjs.roundFloat; exports.rowPassesFilters = _chunkNQF32I6Zcjs.rowPassesFilters; exports.ruleAnchor = _chunkNQF32I6Zcjs.ruleAnchor; exports.ruleFormulaAt = _chunkNQF32I6Zcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkNQF32I6Zcjs.runSpreadsheetMenuItem; exports.sameSpreadsheetViewWindow = _chunkNQF32I6Zcjs.sameSpreadsheetViewWindow; exports.searchFormulaFunctions = _chunkEWCOFSCQcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkEWCOFSCQcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkNQF32I6Zcjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkNQF32I6Zcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkNQF32I6Zcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkNQF32I6Zcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkNQF32I6Zcjs.shiftRuleFormula; exports.shouldVirtualizeSpreadsheet = _chunkNQF32I6Zcjs.shouldVirtualizeSpreadsheet; exports.sortCompareValues = _chunkEWCOFSCQcjs.sortCompareValues; exports.subtractRange = _chunkNQF32I6Zcjs.subtractRange; exports.subtractRangeFromRanges = _chunkNQF32I6Zcjs.subtractRangeFromRanges; exports.toNumber = _chunkNQF32I6Zcjs.toNumber; exports.tokenizeFormula = _chunkEWCOFSCQcjs.tokenizeFormula; exports.tsvImportAdapter = _chunkNQF32I6Zcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkEWCOFSCQcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkNQF32I6Zcjs.validateCellInput; exports.validateDefinedName = _chunkNQF32I6Zcjs.validateDefinedName; exports.validateSheetName = _chunkNQF32I6Zcjs.validateSheetName; exports.wildcardToRegExp = _chunkEWCOFSCQcjs.wildcardToRegExp;
|
|
337
367
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,g6YAAC","file":"/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"}
|