@pixerate/editor 0.49.0 → 0.51.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/canvas/index.cjs +151 -25
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +109 -3
- package/dist/canvas/index.d.ts +109 -3
- package/dist/canvas/index.js +127 -1
- package/dist/canvas/index.js.map +1 -1
- package/dist/chart/index.cjs +197 -52
- package/dist/chart/index.cjs.map +1 -1
- package/dist/chart/index.d.cts +88 -3
- package/dist/chart/index.d.ts +88 -3
- package/dist/chart/index.js +151 -6
- package/dist/chart/index.js.map +1 -1
- package/dist/{chunk-3LHWTGHW.js → chunk-TO22LX34.js} +11 -1
- package/dist/chunk-TO22LX34.js.map +1 -0
- package/dist/{chunk-VNYRI265.cjs → chunk-YNSK4MGT.cjs} +12 -2
- package/dist/chunk-YNSK4MGT.cjs.map +1 -0
- package/dist/{controller-DtbEo3om.d.ts → controller-BdKzaxs2.d.ts} +1 -1
- package/dist/{controller-ChjCCMLl.d.cts → controller-DS3drIvy.d.cts} +1 -1
- package/dist/extensions/index.d.cts +2 -2
- package/dist/extensions/index.d.ts +2 -2
- package/dist/image-editor/index.cjs +141 -1
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +42 -1
- package/dist/image-editor/index.d.ts +42 -1
- package/dist/image-editor/index.js +140 -0
- package/dist/image-editor/index.js.map +1 -1
- package/dist/{index-DoHqT1mq.d.cts → index-DOy9HzfC.d.cts} +1 -1
- package/dist/{index-YLZ0fKqE.d.ts → index-Dt9lzydb.d.ts} +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{pathfinder-D98S2lV5.d.ts → pathfinder-B9xh_pCZ.d.ts} +2 -1
- package/dist/{pathfinder-DKRcXiLS.d.cts → pathfinder-QdG70sr9.d.cts} +2 -1
- package/dist/vector/index.cjs +153 -153
- package/dist/vector/index.d.cts +1 -1
- package/dist/vector/index.d.ts +1 -1
- package/dist/vector/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3LHWTGHW.js.map +0 -1
- package/dist/chunk-VNYRI265.cjs.map +0 -1
|
@@ -819,4 +819,4 @@ declare class ChartController {
|
|
|
819
819
|
}
|
|
820
820
|
declare function createChartController(options?: ChartControllerOptions): ChartController;
|
|
821
821
|
|
|
822
|
-
export { type
|
|
822
|
+
export { type ChartSvgOptions as $, CHART_TRENDLINE_TYPES as A, CHART_TYPES as B, type ChartNumberFormat as C, CHART_TYPE_LABELS as D, CSS_VARIABLE_CHART_THEME as E, type ChartActionResult as F, type ChartCircleMark as G, type ChartControllerOptions as H, type ChartCurve as I, type ChartDomSpec as J, type ChartEditOptions as K, type ChartFamily as L, type ChartLabelPosition as M, type ChartLegendPosition as N, type ChartLineMark as O, type ChartMark as P, type ChartMarkRole as Q, type ChartMarker as R, type ChartOrientation as S, type ChartPathMark as T, type ChartRectMark as U, type ChartSeriesInput as V, type ChartSeriesPatch as W, type ChartSeriesType as X, type ChartSparklineKind as Y, type ChartSparklineOptions as Z, type ChartState as _, type ChartValue as a, type ChartTableData as a0, type ChartTableOptions as a1, type ChartTextMark as a2, type ChartTextMeasure as a3, type ChartTrendFit as a4, type ChartTrendline as a5, type ChartTrendlineType as a6, DEFAULT_CHART_PALETTE as a7, DEFAULT_CHART_THEME as a8, chartColorInputValue as a9, layoutSparkline as aA, normalizeChartAxis as aB, normalizeChartSpec as aC, normalizeChartTrendline as aD, normalizeChartValues as aE, parseChartValue as aF, sameChartSelection as aG, sparklineToSvg as aH, trendNumberText as aI, uniqueChartSeriesId as aJ, chartColorsByCategory as aa, chartDataFromTable as ab, chartDataToTable as ac, chartFamily as ad, chartMovingAverage as ae, chartPointColor as af, chartSceneToDomSpec as ag, chartSceneToSvg as ah, chartSeriesColor as ai, chartSeriesType as aj, chartSliceColor as ak, chartSupportsTrendlines as al, chartTextBaseline as am, chartTextTransform as an, chartToSvg as ao, chartTrendlineName as ap, cloneChartSeries as aq, cloneChartSpec as ar, contrastingTextColor as as, createChartController as at, createChartSpec as au, defaultChartAxis as av, estimateChartTextWidth as aw, fitChartTrendline as ax, isCartesianChart as ay, isXyChart as az, type ChartRect as b, type ChartScene as c, type ChartSpec as d, type ChartLayoutOptions as e, type ChartTheme as f, type ChartWarning as g, type ChartAxis as h, type ChartLegend as i, type ChartType as j, type ChartStacking as k, type ChartSeries as l, type ChartIssue as m, ChartController as n, type ChartValueScale as o, type ChartSelection as p, type ChartSpecPatch as q, CHART_AXIS_KINDS as r, CHART_CURVES as s, CHART_LABEL_POSITIONS as t, CHART_LEGEND_POSITIONS as u, CHART_MARKERS as v, CHART_NUMBER_STYLES as w, CHART_ORIENTATIONS as x, CHART_SERIES_TYPES as y, CHART_STACKINGS as z };
|
|
@@ -819,4 +819,4 @@ declare class ChartController {
|
|
|
819
819
|
}
|
|
820
820
|
declare function createChartController(options?: ChartControllerOptions): ChartController;
|
|
821
821
|
|
|
822
|
-
export { type
|
|
822
|
+
export { type ChartSvgOptions as $, CHART_TRENDLINE_TYPES as A, CHART_TYPES as B, type ChartNumberFormat as C, CHART_TYPE_LABELS as D, CSS_VARIABLE_CHART_THEME as E, type ChartActionResult as F, type ChartCircleMark as G, type ChartControllerOptions as H, type ChartCurve as I, type ChartDomSpec as J, type ChartEditOptions as K, type ChartFamily as L, type ChartLabelPosition as M, type ChartLegendPosition as N, type ChartLineMark as O, type ChartMark as P, type ChartMarkRole as Q, type ChartMarker as R, type ChartOrientation as S, type ChartPathMark as T, type ChartRectMark as U, type ChartSeriesInput as V, type ChartSeriesPatch as W, type ChartSeriesType as X, type ChartSparklineKind as Y, type ChartSparklineOptions as Z, type ChartState as _, type ChartValue as a, type ChartTableData as a0, type ChartTableOptions as a1, type ChartTextMark as a2, type ChartTextMeasure as a3, type ChartTrendFit as a4, type ChartTrendline as a5, type ChartTrendlineType as a6, DEFAULT_CHART_PALETTE as a7, DEFAULT_CHART_THEME as a8, chartColorInputValue as a9, layoutSparkline as aA, normalizeChartAxis as aB, normalizeChartSpec as aC, normalizeChartTrendline as aD, normalizeChartValues as aE, parseChartValue as aF, sameChartSelection as aG, sparklineToSvg as aH, trendNumberText as aI, uniqueChartSeriesId as aJ, chartColorsByCategory as aa, chartDataFromTable as ab, chartDataToTable as ac, chartFamily as ad, chartMovingAverage as ae, chartPointColor as af, chartSceneToDomSpec as ag, chartSceneToSvg as ah, chartSeriesColor as ai, chartSeriesType as aj, chartSliceColor as ak, chartSupportsTrendlines as al, chartTextBaseline as am, chartTextTransform as an, chartToSvg as ao, chartTrendlineName as ap, cloneChartSeries as aq, cloneChartSpec as ar, contrastingTextColor as as, createChartController as at, createChartSpec as au, defaultChartAxis as av, estimateChartTextWidth as aw, fitChartTrendline as ax, isCartesianChart as ay, isXyChart as az, type ChartRect as b, type ChartScene as c, type ChartSpec as d, type ChartLayoutOptions as e, type ChartTheme as f, type ChartWarning as g, type ChartAxis as h, type ChartLegend as i, type ChartType as j, type ChartStacking as k, type ChartSeries as l, type ChartIssue as m, ChartController as n, type ChartValueScale as o, type ChartSelection as p, type ChartSpecPatch as q, CHART_AXIS_KINDS as r, CHART_CURVES as s, CHART_LABEL_POSITIONS as t, CHART_LEGEND_POSITIONS as u, CHART_MARKERS as v, CHART_NUMBER_STYLES as w, CHART_ORIENTATIONS as x, CHART_SERIES_TYPES as y, CHART_STACKINGS as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as Chart, r as ChartNodeOptions, s as ChartNodeView, t as ChartNodeViewMount, u as ChartNodeViewRenderer, v as ChartNodeViewState, w as ColorHighlighter, x as CommentRange, y as Comments, z as CommentsOptions, E as CommentsStorage, F as CompileFindPatternResult, G as CompiledFindPattern, I as CreateStyleFromSelectionOptions, J as CrossReference, K as CrossReferenceOptions, L as CrossReferenceTarget, M as CrossReferenceTargetType, N as DEFAULT_AUTOCORRECT_EXCEPTIONS, O as DEFAULT_TABLE_OPTIONS, Q as DEFAULT_TABLE_TOOLBAR, R as DocumentChart, S as DocumentCompare, T as DocumentCompareOptions, U as DocumentCompareStorage, V as DocumentSearchOptions, W as DocumentSearchResult, X as DocumentStructureCommandArgs, Y as DocumentStructureCommandItem, Z as EMPTY_FIND_REPLACE_SNAPSHOT, _ as EMPTY_TABLE_STATE, $ as EditorCompareOptions, a0 as FIND_OPTION_TOGGLES, a1 as FIND_PARAGRAPH_MARK, a2 as FileImport, a3 as FileImportOptions, a4 as FindAllOptions, a5 as FindAllResult, a6 as FindMatch, a7 as FindOptionToggle, a8 as FindOptions, a9 as FindPatternError, aa as FindPatternErrorCode, ab as FindReplace, ac as FindReplaceCommandOptions, ad as FindReplaceMode, ae as FindReplaceOptions, af as FindReplaceSnapshot, ag as FindReplaceStorage, ah as FindReplaceStore, ai as FocusHeadingOptions, aj as FontSize, ak as Footnote, al as FootnoteInfo, am as FootnoteReference, an as Footnotes, ao as FootnotesOptions, ap as GradientText, aq as GradientTextOptions, ar as Image, as as ImageOptions, aw as InsertChartOptions, ax as InsertFootnoteOptions, ay as InsertSparklineOptions, az as InsertTableOfContentsOptions, aA as LoadingNode, aB as MAX_FIND_PATTERN_LENGTH, aC as MAX_SPARKLINE_VALUES, aD as MAX_TABLE_COLUMNS, aE as MAX_TABLE_ROWS, aF as Markdown, aG as OpenFindReplaceParams, aH as Outline, aI as OutlineHeading, aJ as OutlineOptions, aK as OutlineSnapshot, aL as OutlineStorage, aM as OutlineStore, aN as OutlineTreeItem, aO as ParagraphStyles, aP as ParagraphStylesOptions, aQ as ParagraphStylesSnapshot, aR as ParagraphStylesStorage, aS as ParagraphStylesStore, aT as PatternMatch, aY as ReplacePiece, aZ as RichClipboard, a_ as RichClipboardOptions, a$ as RichClipboardStorage, b0 as RichTextPresetCommandPackages, b1 as RichTextPresetOptions, b2 as RichTextTableOptions, b3 as RunTableActionOptions, b4 as SMILIE_REPLACEMENTS, b5 as SPARKLINE_KINDS, b6 as STYLE_ID_ATTRIBUTE, b7 as SearchBudget, b8 as SearchBudgetOptions, b9 as SetBookmarkOptions, ba as SetSearchParams, bb as SlashCommandMatchData, bc as SlashCommands, bd as SlashCommandsOptions, be as SmilieReplacer, bf as Sparkline, bg as SparklineNodeOptions, bh as TABLE_ACTIONS, bi as Table, bj as TableAction, bk as TableActionInfo, bl as TableActionParams, bm as TableActionStatus, bn as TableCell, bo as TableCellAlignment, bp as TableCommandOptions, bq as TableHeader, br as TableOfContents, bs as TableOfContentsEntry, bt as TableOfContentsOptions, bu as TableRow, bv as TableState, bw as TableStore, bx as TableToolbarItem, by as TemplateSuggestions, bz as TemplateSuggestionsOptions, bB as applyDocumentComparison, bC as applyReplacements, bD as autocorrectPluginKey, bE as buildOutlineTree, bF as capitalizeSentenceRules, bG as captureSelectionFormat, bH as chartPluginKey, bI as commentsPluginKey, bJ as compareInEditor, bK as compileFindPattern, bL as computeOutline, bM as createChartNodeView, bN as createFindReplaceCommands, bP as createOutlineStore, bQ as createParagraphStylesStore, bR as createRichTextPreset, bS as createSearchBudget, bT as createTableCommands, bU as createTableExtensions, bV as createTableNestingPlugin, bW as createTableStore, bX as crossReferencePluginKey, bY as defaultAutocorrectRules, b_ as documentStructureCommandItems, b$ as expandReplacement, c0 as fileImportPluginKey, c1 as findAllMatches, c2 as findAutocorrection, c3 as findCommentRanges, c4 as findHexColors, c6 as findReplacePluginKey, c7 as foldCodePoint, c8 as footnotesMarkdownIt, c9 as footnotesPluginKey, ca as formatFindStatus, cb as fractionRules, cc as getActiveHeading, cd as getBookmarks, ce as getCommentAnchors, cf as getCommentAuthor, cg as getCommentIdsAt, ch as getCommentStore, ci as getCrossReferenceTargets, cj as getDocumentCharts, ck as getDocumentStructureCommandItems, cl as getFindReplaceState, cm as getFindReplaceStore, cn as getFootnotes, cp as getOutline, cq as getParagraphStyleAt, cr as getStyleRegistry, cs as getTableActionState, ct as getTableOfContentsEntries, cu as getTableState, cv as handleImageInsertion, cw as handleTablePasteWithoutNesting, cy as imagePastePluginKey, cA as insertImageNode, cB as insertSliceAfterTable, cC as isChartEnabled, cD as isGfmTable, cE as isInTableCell, cF as isInsidePromptToken, cG as isParagraphStyleAvailable, cH as isSelectionInTable, cI as isTableEnabled, cK as navigateToHeading, cL as normalizeSparklineValues, cM as normalizeTableCellAlignment, cN as normalizeTableCellColor, cO as outermostTableDepth, cP as outlinePluginKey, cQ as paragraphStylesPluginKey, cR as parseReplacement, cV as removeImageNode, cW as richClipboardPluginKey, cY as runTableAction, cZ as searchDocument, c_ as shouldShowTableBubbleMenu, c$ as sliceContainsTable, d0 as smartQuoteRules, d1 as smilieAutocorrectRules, d2 as sparklineLabel, d3 as staticChartSvg, d4 as symbolRules, d5 as syncFootnotes, d6 as tableNestingPluginKey, d7 as tableOfContentsMarkdownIt, d8 as tableOfContentsPluginKey, d9 as twoInitialCapitalsRules, da as unnestTables, dc as updateImageSrc, dd as validateFindPattern, de as writeRichClipboard } from '../index-
|
|
1
|
+
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as Chart, r as ChartNodeOptions, s as ChartNodeView, t as ChartNodeViewMount, u as ChartNodeViewRenderer, v as ChartNodeViewState, w as ColorHighlighter, x as CommentRange, y as Comments, z as CommentsOptions, E as CommentsStorage, F as CompileFindPatternResult, G as CompiledFindPattern, I as CreateStyleFromSelectionOptions, J as CrossReference, K as CrossReferenceOptions, L as CrossReferenceTarget, M as CrossReferenceTargetType, N as DEFAULT_AUTOCORRECT_EXCEPTIONS, O as DEFAULT_TABLE_OPTIONS, Q as DEFAULT_TABLE_TOOLBAR, R as DocumentChart, S as DocumentCompare, T as DocumentCompareOptions, U as DocumentCompareStorage, V as DocumentSearchOptions, W as DocumentSearchResult, X as DocumentStructureCommandArgs, Y as DocumentStructureCommandItem, Z as EMPTY_FIND_REPLACE_SNAPSHOT, _ as EMPTY_TABLE_STATE, $ as EditorCompareOptions, a0 as FIND_OPTION_TOGGLES, a1 as FIND_PARAGRAPH_MARK, a2 as FileImport, a3 as FileImportOptions, a4 as FindAllOptions, a5 as FindAllResult, a6 as FindMatch, a7 as FindOptionToggle, a8 as FindOptions, a9 as FindPatternError, aa as FindPatternErrorCode, ab as FindReplace, ac as FindReplaceCommandOptions, ad as FindReplaceMode, ae as FindReplaceOptions, af as FindReplaceSnapshot, ag as FindReplaceStorage, ah as FindReplaceStore, ai as FocusHeadingOptions, aj as FontSize, ak as Footnote, al as FootnoteInfo, am as FootnoteReference, an as Footnotes, ao as FootnotesOptions, ap as GradientText, aq as GradientTextOptions, ar as Image, as as ImageOptions, aw as InsertChartOptions, ax as InsertFootnoteOptions, ay as InsertSparklineOptions, az as InsertTableOfContentsOptions, aA as LoadingNode, aB as MAX_FIND_PATTERN_LENGTH, aC as MAX_SPARKLINE_VALUES, aD as MAX_TABLE_COLUMNS, aE as MAX_TABLE_ROWS, aF as Markdown, aG as OpenFindReplaceParams, aH as Outline, aI as OutlineHeading, aJ as OutlineOptions, aK as OutlineSnapshot, aL as OutlineStorage, aM as OutlineStore, aN as OutlineTreeItem, aO as ParagraphStyles, aP as ParagraphStylesOptions, aQ as ParagraphStylesSnapshot, aR as ParagraphStylesStorage, aS as ParagraphStylesStore, aT as PatternMatch, aY as ReplacePiece, aZ as RichClipboard, a_ as RichClipboardOptions, a$ as RichClipboardStorage, b0 as RichTextPresetCommandPackages, b1 as RichTextPresetOptions, b2 as RichTextTableOptions, b3 as RunTableActionOptions, b4 as SMILIE_REPLACEMENTS, b5 as SPARKLINE_KINDS, b6 as STYLE_ID_ATTRIBUTE, b7 as SearchBudget, b8 as SearchBudgetOptions, b9 as SetBookmarkOptions, ba as SetSearchParams, bb as SlashCommandMatchData, bc as SlashCommands, bd as SlashCommandsOptions, be as SmilieReplacer, bf as Sparkline, bg as SparklineNodeOptions, bh as TABLE_ACTIONS, bi as Table, bj as TableAction, bk as TableActionInfo, bl as TableActionParams, bm as TableActionStatus, bn as TableCell, bo as TableCellAlignment, bp as TableCommandOptions, bq as TableHeader, br as TableOfContents, bs as TableOfContentsEntry, bt as TableOfContentsOptions, bu as TableRow, bv as TableState, bw as TableStore, bx as TableToolbarItem, by as TemplateSuggestions, bz as TemplateSuggestionsOptions, bB as applyDocumentComparison, bC as applyReplacements, bD as autocorrectPluginKey, bE as buildOutlineTree, bF as capitalizeSentenceRules, bG as captureSelectionFormat, bH as chartPluginKey, bI as commentsPluginKey, bJ as compareInEditor, bK as compileFindPattern, bL as computeOutline, bM as createChartNodeView, bN as createFindReplaceCommands, bP as createOutlineStore, bQ as createParagraphStylesStore, bR as createRichTextPreset, bS as createSearchBudget, bT as createTableCommands, bU as createTableExtensions, bV as createTableNestingPlugin, bW as createTableStore, bX as crossReferencePluginKey, bY as defaultAutocorrectRules, b_ as documentStructureCommandItems, b$ as expandReplacement, c0 as fileImportPluginKey, c1 as findAllMatches, c2 as findAutocorrection, c3 as findCommentRanges, c4 as findHexColors, c6 as findReplacePluginKey, c7 as foldCodePoint, c8 as footnotesMarkdownIt, c9 as footnotesPluginKey, ca as formatFindStatus, cb as fractionRules, cc as getActiveHeading, cd as getBookmarks, ce as getCommentAnchors, cf as getCommentAuthor, cg as getCommentIdsAt, ch as getCommentStore, ci as getCrossReferenceTargets, cj as getDocumentCharts, ck as getDocumentStructureCommandItems, cl as getFindReplaceState, cm as getFindReplaceStore, cn as getFootnotes, cp as getOutline, cq as getParagraphStyleAt, cr as getStyleRegistry, cs as getTableActionState, ct as getTableOfContentsEntries, cu as getTableState, cv as handleImageInsertion, cw as handleTablePasteWithoutNesting, cy as imagePastePluginKey, cA as insertImageNode, cB as insertSliceAfterTable, cC as isChartEnabled, cD as isGfmTable, cE as isInTableCell, cF as isInsidePromptToken, cG as isParagraphStyleAvailable, cH as isSelectionInTable, cI as isTableEnabled, cK as navigateToHeading, cL as normalizeSparklineValues, cM as normalizeTableCellAlignment, cN as normalizeTableCellColor, cO as outermostTableDepth, cP as outlinePluginKey, cQ as paragraphStylesPluginKey, cR as parseReplacement, cV as removeImageNode, cW as richClipboardPluginKey, cY as runTableAction, cZ as searchDocument, c_ as shouldShowTableBubbleMenu, c$ as sliceContainsTable, d0 as smartQuoteRules, d1 as smilieAutocorrectRules, d2 as sparklineLabel, d3 as staticChartSvg, d4 as symbolRules, d5 as syncFootnotes, d6 as tableNestingPluginKey, d7 as tableOfContentsMarkdownIt, d8 as tableOfContentsPluginKey, d9 as twoInitialCapitalsRules, da as unnestTables, dc as updateImageSrc, dd as validateFindPattern, de as writeRichClipboard } from '../index-DOy9HzfC.cjs';
|
|
2
2
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-D_VAPELi.cjs';
|
|
3
3
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.cjs';
|
|
4
4
|
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.cjs';
|
|
@@ -21,7 +21,7 @@ import '@tiptap/extension-image';
|
|
|
21
21
|
import '@tiptap/extension-highlight';
|
|
22
22
|
import '@tiptap/extension-color';
|
|
23
23
|
import '@tiptap/starter-kit';
|
|
24
|
-
import '../controller-
|
|
24
|
+
import '../controller-DS3drIvy.cjs';
|
|
25
25
|
import '../HistoryManager-DeQQMBCj.cjs';
|
|
26
26
|
import '../types-DsiXGmjo.cjs';
|
|
27
27
|
import '../registry-CEgwXED1.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as Chart, r as ChartNodeOptions, s as ChartNodeView, t as ChartNodeViewMount, u as ChartNodeViewRenderer, v as ChartNodeViewState, w as ColorHighlighter, x as CommentRange, y as Comments, z as CommentsOptions, E as CommentsStorage, F as CompileFindPatternResult, G as CompiledFindPattern, I as CreateStyleFromSelectionOptions, J as CrossReference, K as CrossReferenceOptions, L as CrossReferenceTarget, M as CrossReferenceTargetType, N as DEFAULT_AUTOCORRECT_EXCEPTIONS, O as DEFAULT_TABLE_OPTIONS, Q as DEFAULT_TABLE_TOOLBAR, R as DocumentChart, S as DocumentCompare, T as DocumentCompareOptions, U as DocumentCompareStorage, V as DocumentSearchOptions, W as DocumentSearchResult, X as DocumentStructureCommandArgs, Y as DocumentStructureCommandItem, Z as EMPTY_FIND_REPLACE_SNAPSHOT, _ as EMPTY_TABLE_STATE, $ as EditorCompareOptions, a0 as FIND_OPTION_TOGGLES, a1 as FIND_PARAGRAPH_MARK, a2 as FileImport, a3 as FileImportOptions, a4 as FindAllOptions, a5 as FindAllResult, a6 as FindMatch, a7 as FindOptionToggle, a8 as FindOptions, a9 as FindPatternError, aa as FindPatternErrorCode, ab as FindReplace, ac as FindReplaceCommandOptions, ad as FindReplaceMode, ae as FindReplaceOptions, af as FindReplaceSnapshot, ag as FindReplaceStorage, ah as FindReplaceStore, ai as FocusHeadingOptions, aj as FontSize, ak as Footnote, al as FootnoteInfo, am as FootnoteReference, an as Footnotes, ao as FootnotesOptions, ap as GradientText, aq as GradientTextOptions, ar as Image, as as ImageOptions, aw as InsertChartOptions, ax as InsertFootnoteOptions, ay as InsertSparklineOptions, az as InsertTableOfContentsOptions, aA as LoadingNode, aB as MAX_FIND_PATTERN_LENGTH, aC as MAX_SPARKLINE_VALUES, aD as MAX_TABLE_COLUMNS, aE as MAX_TABLE_ROWS, aF as Markdown, aG as OpenFindReplaceParams, aH as Outline, aI as OutlineHeading, aJ as OutlineOptions, aK as OutlineSnapshot, aL as OutlineStorage, aM as OutlineStore, aN as OutlineTreeItem, aO as ParagraphStyles, aP as ParagraphStylesOptions, aQ as ParagraphStylesSnapshot, aR as ParagraphStylesStorage, aS as ParagraphStylesStore, aT as PatternMatch, aY as ReplacePiece, aZ as RichClipboard, a_ as RichClipboardOptions, a$ as RichClipboardStorage, b0 as RichTextPresetCommandPackages, b1 as RichTextPresetOptions, b2 as RichTextTableOptions, b3 as RunTableActionOptions, b4 as SMILIE_REPLACEMENTS, b5 as SPARKLINE_KINDS, b6 as STYLE_ID_ATTRIBUTE, b7 as SearchBudget, b8 as SearchBudgetOptions, b9 as SetBookmarkOptions, ba as SetSearchParams, bb as SlashCommandMatchData, bc as SlashCommands, bd as SlashCommandsOptions, be as SmilieReplacer, bf as Sparkline, bg as SparklineNodeOptions, bh as TABLE_ACTIONS, bi as Table, bj as TableAction, bk as TableActionInfo, bl as TableActionParams, bm as TableActionStatus, bn as TableCell, bo as TableCellAlignment, bp as TableCommandOptions, bq as TableHeader, br as TableOfContents, bs as TableOfContentsEntry, bt as TableOfContentsOptions, bu as TableRow, bv as TableState, bw as TableStore, bx as TableToolbarItem, by as TemplateSuggestions, bz as TemplateSuggestionsOptions, bB as applyDocumentComparison, bC as applyReplacements, bD as autocorrectPluginKey, bE as buildOutlineTree, bF as capitalizeSentenceRules, bG as captureSelectionFormat, bH as chartPluginKey, bI as commentsPluginKey, bJ as compareInEditor, bK as compileFindPattern, bL as computeOutline, bM as createChartNodeView, bN as createFindReplaceCommands, bP as createOutlineStore, bQ as createParagraphStylesStore, bR as createRichTextPreset, bS as createSearchBudget, bT as createTableCommands, bU as createTableExtensions, bV as createTableNestingPlugin, bW as createTableStore, bX as crossReferencePluginKey, bY as defaultAutocorrectRules, b_ as documentStructureCommandItems, b$ as expandReplacement, c0 as fileImportPluginKey, c1 as findAllMatches, c2 as findAutocorrection, c3 as findCommentRanges, c4 as findHexColors, c6 as findReplacePluginKey, c7 as foldCodePoint, c8 as footnotesMarkdownIt, c9 as footnotesPluginKey, ca as formatFindStatus, cb as fractionRules, cc as getActiveHeading, cd as getBookmarks, ce as getCommentAnchors, cf as getCommentAuthor, cg as getCommentIdsAt, ch as getCommentStore, ci as getCrossReferenceTargets, cj as getDocumentCharts, ck as getDocumentStructureCommandItems, cl as getFindReplaceState, cm as getFindReplaceStore, cn as getFootnotes, cp as getOutline, cq as getParagraphStyleAt, cr as getStyleRegistry, cs as getTableActionState, ct as getTableOfContentsEntries, cu as getTableState, cv as handleImageInsertion, cw as handleTablePasteWithoutNesting, cy as imagePastePluginKey, cA as insertImageNode, cB as insertSliceAfterTable, cC as isChartEnabled, cD as isGfmTable, cE as isInTableCell, cF as isInsidePromptToken, cG as isParagraphStyleAvailable, cH as isSelectionInTable, cI as isTableEnabled, cK as navigateToHeading, cL as normalizeSparklineValues, cM as normalizeTableCellAlignment, cN as normalizeTableCellColor, cO as outermostTableDepth, cP as outlinePluginKey, cQ as paragraphStylesPluginKey, cR as parseReplacement, cV as removeImageNode, cW as richClipboardPluginKey, cY as runTableAction, cZ as searchDocument, c_ as shouldShowTableBubbleMenu, c$ as sliceContainsTable, d0 as smartQuoteRules, d1 as smilieAutocorrectRules, d2 as sparklineLabel, d3 as staticChartSvg, d4 as symbolRules, d5 as syncFootnotes, d6 as tableNestingPluginKey, d7 as tableOfContentsMarkdownIt, d8 as tableOfContentsPluginKey, d9 as twoInitialCapitalsRules, da as unnestTables, dc as updateImageSrc, dd as validateFindPattern, de as writeRichClipboard } from '../index-
|
|
1
|
+
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as Chart, r as ChartNodeOptions, s as ChartNodeView, t as ChartNodeViewMount, u as ChartNodeViewRenderer, v as ChartNodeViewState, w as ColorHighlighter, x as CommentRange, y as Comments, z as CommentsOptions, E as CommentsStorage, F as CompileFindPatternResult, G as CompiledFindPattern, I as CreateStyleFromSelectionOptions, J as CrossReference, K as CrossReferenceOptions, L as CrossReferenceTarget, M as CrossReferenceTargetType, N as DEFAULT_AUTOCORRECT_EXCEPTIONS, O as DEFAULT_TABLE_OPTIONS, Q as DEFAULT_TABLE_TOOLBAR, R as DocumentChart, S as DocumentCompare, T as DocumentCompareOptions, U as DocumentCompareStorage, V as DocumentSearchOptions, W as DocumentSearchResult, X as DocumentStructureCommandArgs, Y as DocumentStructureCommandItem, Z as EMPTY_FIND_REPLACE_SNAPSHOT, _ as EMPTY_TABLE_STATE, $ as EditorCompareOptions, a0 as FIND_OPTION_TOGGLES, a1 as FIND_PARAGRAPH_MARK, a2 as FileImport, a3 as FileImportOptions, a4 as FindAllOptions, a5 as FindAllResult, a6 as FindMatch, a7 as FindOptionToggle, a8 as FindOptions, a9 as FindPatternError, aa as FindPatternErrorCode, ab as FindReplace, ac as FindReplaceCommandOptions, ad as FindReplaceMode, ae as FindReplaceOptions, af as FindReplaceSnapshot, ag as FindReplaceStorage, ah as FindReplaceStore, ai as FocusHeadingOptions, aj as FontSize, ak as Footnote, al as FootnoteInfo, am as FootnoteReference, an as Footnotes, ao as FootnotesOptions, ap as GradientText, aq as GradientTextOptions, ar as Image, as as ImageOptions, aw as InsertChartOptions, ax as InsertFootnoteOptions, ay as InsertSparklineOptions, az as InsertTableOfContentsOptions, aA as LoadingNode, aB as MAX_FIND_PATTERN_LENGTH, aC as MAX_SPARKLINE_VALUES, aD as MAX_TABLE_COLUMNS, aE as MAX_TABLE_ROWS, aF as Markdown, aG as OpenFindReplaceParams, aH as Outline, aI as OutlineHeading, aJ as OutlineOptions, aK as OutlineSnapshot, aL as OutlineStorage, aM as OutlineStore, aN as OutlineTreeItem, aO as ParagraphStyles, aP as ParagraphStylesOptions, aQ as ParagraphStylesSnapshot, aR as ParagraphStylesStorage, aS as ParagraphStylesStore, aT as PatternMatch, aY as ReplacePiece, aZ as RichClipboard, a_ as RichClipboardOptions, a$ as RichClipboardStorage, b0 as RichTextPresetCommandPackages, b1 as RichTextPresetOptions, b2 as RichTextTableOptions, b3 as RunTableActionOptions, b4 as SMILIE_REPLACEMENTS, b5 as SPARKLINE_KINDS, b6 as STYLE_ID_ATTRIBUTE, b7 as SearchBudget, b8 as SearchBudgetOptions, b9 as SetBookmarkOptions, ba as SetSearchParams, bb as SlashCommandMatchData, bc as SlashCommands, bd as SlashCommandsOptions, be as SmilieReplacer, bf as Sparkline, bg as SparklineNodeOptions, bh as TABLE_ACTIONS, bi as Table, bj as TableAction, bk as TableActionInfo, bl as TableActionParams, bm as TableActionStatus, bn as TableCell, bo as TableCellAlignment, bp as TableCommandOptions, bq as TableHeader, br as TableOfContents, bs as TableOfContentsEntry, bt as TableOfContentsOptions, bu as TableRow, bv as TableState, bw as TableStore, bx as TableToolbarItem, by as TemplateSuggestions, bz as TemplateSuggestionsOptions, bB as applyDocumentComparison, bC as applyReplacements, bD as autocorrectPluginKey, bE as buildOutlineTree, bF as capitalizeSentenceRules, bG as captureSelectionFormat, bH as chartPluginKey, bI as commentsPluginKey, bJ as compareInEditor, bK as compileFindPattern, bL as computeOutline, bM as createChartNodeView, bN as createFindReplaceCommands, bP as createOutlineStore, bQ as createParagraphStylesStore, bR as createRichTextPreset, bS as createSearchBudget, bT as createTableCommands, bU as createTableExtensions, bV as createTableNestingPlugin, bW as createTableStore, bX as crossReferencePluginKey, bY as defaultAutocorrectRules, b_ as documentStructureCommandItems, b$ as expandReplacement, c0 as fileImportPluginKey, c1 as findAllMatches, c2 as findAutocorrection, c3 as findCommentRanges, c4 as findHexColors, c6 as findReplacePluginKey, c7 as foldCodePoint, c8 as footnotesMarkdownIt, c9 as footnotesPluginKey, ca as formatFindStatus, cb as fractionRules, cc as getActiveHeading, cd as getBookmarks, ce as getCommentAnchors, cf as getCommentAuthor, cg as getCommentIdsAt, ch as getCommentStore, ci as getCrossReferenceTargets, cj as getDocumentCharts, ck as getDocumentStructureCommandItems, cl as getFindReplaceState, cm as getFindReplaceStore, cn as getFootnotes, cp as getOutline, cq as getParagraphStyleAt, cr as getStyleRegistry, cs as getTableActionState, ct as getTableOfContentsEntries, cu as getTableState, cv as handleImageInsertion, cw as handleTablePasteWithoutNesting, cy as imagePastePluginKey, cA as insertImageNode, cB as insertSliceAfterTable, cC as isChartEnabled, cD as isGfmTable, cE as isInTableCell, cF as isInsidePromptToken, cG as isParagraphStyleAvailable, cH as isSelectionInTable, cI as isTableEnabled, cK as navigateToHeading, cL as normalizeSparklineValues, cM as normalizeTableCellAlignment, cN as normalizeTableCellColor, cO as outermostTableDepth, cP as outlinePluginKey, cQ as paragraphStylesPluginKey, cR as parseReplacement, cV as removeImageNode, cW as richClipboardPluginKey, cY as runTableAction, cZ as searchDocument, c_ as shouldShowTableBubbleMenu, c$ as sliceContainsTable, d0 as smartQuoteRules, d1 as smilieAutocorrectRules, d2 as sparklineLabel, d3 as staticChartSvg, d4 as symbolRules, d5 as syncFootnotes, d6 as tableNestingPluginKey, d7 as tableOfContentsMarkdownIt, d8 as tableOfContentsPluginKey, d9 as twoInitialCapitalsRules, da as unnestTables, dc as updateImageSrc, dd as validateFindPattern, de as writeRichClipboard } from '../index-Dt9lzydb.js';
|
|
2
2
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-Db_fGEvx.js';
|
|
3
3
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.js';
|
|
4
4
|
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.js';
|
|
@@ -21,7 +21,7 @@ import '@tiptap/extension-image';
|
|
|
21
21
|
import '@tiptap/extension-highlight';
|
|
22
22
|
import '@tiptap/extension-color';
|
|
23
23
|
import '@tiptap/starter-kit';
|
|
24
|
-
import '../controller-
|
|
24
|
+
import '../controller-BdKzaxs2.js';
|
|
25
25
|
import '../HistoryManager-DWSLd6Tf.js';
|
|
26
26
|
import '../types-DsiXGmjo.js';
|
|
27
27
|
import '../registry-CEgwXED1.js';
|
|
@@ -5734,6 +5734,146 @@ var SelectionGesture = (_class4 = class {
|
|
|
5734
5734
|
}
|
|
5735
5735
|
}, _class4);
|
|
5736
5736
|
|
|
5737
|
+
// src/image-editor/mosaic-filter.ts
|
|
5738
|
+
function resolveMosaicRegionBounds(region, imgWidth, imgHeight) {
|
|
5739
|
+
if (imgWidth <= 0 || imgHeight <= 0 || region.width <= 0 || region.height <= 0) {
|
|
5740
|
+
return null;
|
|
5741
|
+
}
|
|
5742
|
+
let rx = region.x;
|
|
5743
|
+
let ry = region.y;
|
|
5744
|
+
let rw = region.width;
|
|
5745
|
+
let rh = region.height;
|
|
5746
|
+
const isZeroToOne = rx >= 0 && ry >= 0 && rw > 0 && rh > 0 && rx <= 1 && ry <= 1 && rw <= 1 && rh <= 1 && (region.normalized === true || region.normalized === void 0 && (imgWidth > 1 || imgHeight > 1) && (!Number.isInteger(rx) || !Number.isInteger(ry) || !Number.isInteger(rw) || !Number.isInteger(rh)));
|
|
5747
|
+
if (isZeroToOne) {
|
|
5748
|
+
rx = rx * imgWidth;
|
|
5749
|
+
ry = ry * imgHeight;
|
|
5750
|
+
rw = rw * imgWidth;
|
|
5751
|
+
rh = rh * imgHeight;
|
|
5752
|
+
} else if (region.normalized === true) {
|
|
5753
|
+
rx = rx / 1e3 * imgWidth;
|
|
5754
|
+
ry = ry / 1e3 * imgHeight;
|
|
5755
|
+
rw = rw / 1e3 * imgWidth;
|
|
5756
|
+
rh = rh / 1e3 * imgHeight;
|
|
5757
|
+
}
|
|
5758
|
+
const x0 = Math.max(0, Math.min(imgWidth, Math.floor(rx)));
|
|
5759
|
+
const y0 = Math.max(0, Math.min(imgHeight, Math.floor(ry)));
|
|
5760
|
+
const x1 = Math.max(0, Math.min(imgWidth, Math.ceil(rx + rw)));
|
|
5761
|
+
const y1 = Math.max(0, Math.min(imgHeight, Math.ceil(ry + rh)));
|
|
5762
|
+
if (x1 <= x0 || y1 <= y0) return null;
|
|
5763
|
+
return { x0, y0, x1, y1 };
|
|
5764
|
+
}
|
|
5765
|
+
function applyRegionMosaic(imageData, regions, blockSize = 12) {
|
|
5766
|
+
const { data, width, height } = imageData;
|
|
5767
|
+
const step = Math.max(2, Math.round(blockSize));
|
|
5768
|
+
for (const region of regions) {
|
|
5769
|
+
const bounds = resolveMosaicRegionBounds(region, width, height);
|
|
5770
|
+
if (!bounds) continue;
|
|
5771
|
+
const { x0, y0, x1, y1 } = bounds;
|
|
5772
|
+
for (let by = y0; by < y1; by += step) {
|
|
5773
|
+
const bh = Math.min(step, y1 - by);
|
|
5774
|
+
for (let bx = x0; bx < x1; bx += step) {
|
|
5775
|
+
const bw = Math.min(step, x1 - bx);
|
|
5776
|
+
let rSum = 0;
|
|
5777
|
+
let gSum = 0;
|
|
5778
|
+
let bSum = 0;
|
|
5779
|
+
let aSum = 0;
|
|
5780
|
+
const count = bw * bh;
|
|
5781
|
+
for (let py = by; py < by + bh; py++) {
|
|
5782
|
+
const rowOffset = py * width;
|
|
5783
|
+
for (let px = bx; px < bx + bw; px++) {
|
|
5784
|
+
const idx = (rowOffset + px) * 4;
|
|
5785
|
+
rSum += data[idx];
|
|
5786
|
+
gSum += data[idx + 1];
|
|
5787
|
+
bSum += data[idx + 2];
|
|
5788
|
+
aSum += data[idx + 3];
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
const rAvg = Math.round(rSum / count);
|
|
5792
|
+
const gAvg = Math.round(gSum / count);
|
|
5793
|
+
const bAvg = Math.round(bSum / count);
|
|
5794
|
+
const aAvg = Math.round(aSum / count);
|
|
5795
|
+
for (let py = by; py < by + bh; py++) {
|
|
5796
|
+
const rowOffset = py * width;
|
|
5797
|
+
for (let px = bx; px < bx + bw; px++) {
|
|
5798
|
+
const idx = (rowOffset + px) * 4;
|
|
5799
|
+
data[idx] = rAvg;
|
|
5800
|
+
data[idx + 1] = gAvg;
|
|
5801
|
+
data[idx + 2] = bAvg;
|
|
5802
|
+
data[idx + 3] = aAvg;
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5805
|
+
}
|
|
5806
|
+
}
|
|
5807
|
+
}
|
|
5808
|
+
return imageData;
|
|
5809
|
+
}
|
|
5810
|
+
function applyRegionBlur(imageData, regions, radius = 10) {
|
|
5811
|
+
const { data, width, height } = imageData;
|
|
5812
|
+
const rad = Math.max(1, Math.min(64, Math.round(radius)));
|
|
5813
|
+
for (const region of regions) {
|
|
5814
|
+
const bounds = resolveMosaicRegionBounds(region, width, height);
|
|
5815
|
+
if (!bounds) continue;
|
|
5816
|
+
const { x0, y0, x1, y1 } = bounds;
|
|
5817
|
+
const rw = x1 - x0;
|
|
5818
|
+
const rh = y1 - y0;
|
|
5819
|
+
const temp = new Uint8ClampedArray(rw * rh * 4);
|
|
5820
|
+
for (let y = 0; y < rh; y++) {
|
|
5821
|
+
const srcY = y0 + y;
|
|
5822
|
+
for (let x = 0; x < rw; x++) {
|
|
5823
|
+
let rSum = 0;
|
|
5824
|
+
let gSum = 0;
|
|
5825
|
+
let bSum = 0;
|
|
5826
|
+
let aSum = 0;
|
|
5827
|
+
let count = 0;
|
|
5828
|
+
const kStart = Math.max(0, x - rad);
|
|
5829
|
+
const kEnd = Math.min(rw - 1, x + rad);
|
|
5830
|
+
for (let kx = kStart; kx <= kEnd; kx++) {
|
|
5831
|
+
const srcIdx = (srcY * width + (x0 + kx)) * 4;
|
|
5832
|
+
rSum += data[srcIdx];
|
|
5833
|
+
gSum += data[srcIdx + 1];
|
|
5834
|
+
bSum += data[srcIdx + 2];
|
|
5835
|
+
aSum += data[srcIdx + 3];
|
|
5836
|
+
count++;
|
|
5837
|
+
}
|
|
5838
|
+
const dstIdx = (y * rw + x) * 4;
|
|
5839
|
+
temp[dstIdx] = Math.round(rSum / count);
|
|
5840
|
+
temp[dstIdx + 1] = Math.round(gSum / count);
|
|
5841
|
+
temp[dstIdx + 2] = Math.round(bSum / count);
|
|
5842
|
+
temp[dstIdx + 3] = Math.round(aSum / count);
|
|
5843
|
+
}
|
|
5844
|
+
}
|
|
5845
|
+
for (let y = 0; y < rh; y++) {
|
|
5846
|
+
const dstY = y0 + y;
|
|
5847
|
+
for (let x = 0; x < rw; x++) {
|
|
5848
|
+
let rSum = 0;
|
|
5849
|
+
let gSum = 0;
|
|
5850
|
+
let bSum = 0;
|
|
5851
|
+
let aSum = 0;
|
|
5852
|
+
let count = 0;
|
|
5853
|
+
const kStart = Math.max(0, y - rad);
|
|
5854
|
+
const kEnd = Math.min(rh - 1, y + rad);
|
|
5855
|
+
for (let ky = kStart; ky <= kEnd; ky++) {
|
|
5856
|
+
const srcIdx = (ky * rw + x) * 4;
|
|
5857
|
+
rSum += temp[srcIdx];
|
|
5858
|
+
gSum += temp[srcIdx + 1];
|
|
5859
|
+
bSum += temp[srcIdx + 2];
|
|
5860
|
+
aSum += temp[srcIdx + 3];
|
|
5861
|
+
count++;
|
|
5862
|
+
}
|
|
5863
|
+
const dstIdx = (dstY * width + (x0 + x)) * 4;
|
|
5864
|
+
data[dstIdx] = Math.round(rSum / count);
|
|
5865
|
+
data[dstIdx + 1] = Math.round(gSum / count);
|
|
5866
|
+
data[dstIdx + 2] = Math.round(bSum / count);
|
|
5867
|
+
data[dstIdx + 3] = Math.round(aSum / count);
|
|
5868
|
+
}
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
return imageData;
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
|
|
5875
|
+
|
|
5876
|
+
|
|
5737
5877
|
|
|
5738
5878
|
|
|
5739
5879
|
|
|
@@ -5946,5 +6086,5 @@ var SelectionGesture = (_class4 = class {
|
|
|
5946
6086
|
|
|
5947
6087
|
|
|
5948
6088
|
|
|
5949
|
-
exports.ADJUSTMENT_KINDS = ADJUSTMENT_KINDS; exports.ADJUSTMENT_LAYER_CONTROLS = ADJUSTMENT_LAYER_CONTROLS; exports.ADJUSTMENT_LAYER_OPACITY_CONTROL = ADJUSTMENT_LAYER_OPACITY_CONTROL; exports.ADJUSTMENT_LUT_SIZE = ADJUSTMENT_LUT_SIZE; exports.AS_SHOT_KELVIN = AS_SHOT_KELVIN; exports.BLEND_MODES = BLEND_MODES; exports.D65 = D65; exports.DEFAULT_ADJUSTMENTS = DEFAULT_ADJUSTMENTS; exports.DEFAULT_DEPTH_MASK = DEFAULT_DEPTH_MASK; exports.DEFAULT_REFINE_EDGE_PARAMS = DEFAULT_REFINE_EDGE_PARAMS; exports.DEFAULT_SELECTION_TOOL_OPTIONS = DEFAULT_SELECTION_TOOL_OPTIONS; exports.DEFAULT_TRANSFORM = DEFAULT_TRANSFORM; exports.DIRECT_GAUSSIAN_MAX_SIGMA = DIRECT_GAUSSIAN_MAX_SIGMA; exports.EMPTY_DISTANCE = EMPTY_DISTANCE; exports.GUIDED_FILTER_EPS = GUIDED_FILTER_EPS; exports.HISTOGRAM_BINS = HISTOGRAM_BINS; exports.HUE_RANGE_LABELS = HUE_RANGE_LABELS; exports.IDENTITY_MATRIX3 = IDENTITY_MATRIX3; exports.IMAGE_ADJUSTMENT_CONTROLS = IMAGE_ADJUSTMENT_CONTROLS; exports.IMAGE_EDITOR_SCHEMA_VERSION = IMAGE_EDITOR_SCHEMA_VERSION; exports.IMAGE_EDITOR_STATE_VERSION = IMAGE_EDITOR_STATE_VERSION; exports.ImageEditorController = ImageEditorController; exports.ImageEditorRenderer = ImageEditorRenderer; exports.LATEST_PROCESS_VERSION = LATEST_PROCESS_VERSION; exports.LEGACY_PROCESS_VERSION = LEGACY_PROCESS_VERSION; exports.LUMA_709 = LUMA_709; exports.MAX_KELVIN = MAX_KELVIN; exports.MIN_KELVIN = MIN_KELVIN; exports.MIRED_PER_TEMPERATURE_UNIT = MIRED_PER_TEMPERATURE_UNIT; exports.REFINE_EDGE_CONTROLS = REFINE_EDGE_CONTROLS; exports.SELECTION_MODES = SELECTION_MODES; exports.SELECTION_MODE_LABELS = SELECTION_MODE_LABELS; exports.SELECTION_MODIFY_OPS = SELECTION_MODIFY_OPS; exports.SELECTION_TOOLS = SELECTION_TOOLS; exports.SelectionGesture = SelectionGesture; exports.TINT_SCALE = TINT_SCALE; exports.TONE_LUT_SIZE = TONE_LUT_SIZE; exports.TONE_RANGE_PRESETS = TONE_RANGE_PRESETS; exports.VIBRANCE_GREY = VIBRANCE_GREY; exports.activeAdjustmentLayers = activeAdjustmentLayers; exports.adjustmentKindLabel = adjustmentKindLabel; exports.adjustmentLayersKey = adjustmentLayersKey; exports.applyAdjustmentLayers = applyAdjustmentLayers; exports.applyAdjustments = applyAdjustments; exports.applyDepthMask = applyDepthMask; exports.applyImageProjectionToContext = applyImageProjectionToContext; exports.applyLegacyAdjustments = applyLegacyAdjustments; exports.applyMatrix3 = applyMatrix3; exports.applyProcess2Adjustments = applyProcess2Adjustments; exports.blackWhiteGray = blackWhiteGray; exports.blendChannel = blendChannel; exports.blendImageData = blendImageData; exports.blendLum = blendLum; exports.blendPixel = blendPixel; exports.blendRgb = blendRgb; exports.borderCoverage = borderCoverage; exports.boxMean = boxMean; exports.boxToCurvePoint = boxToCurvePoint; exports.bradfordAdaptation = bradfordAdaptation; exports.buildLayerMaskPlanes = buildLayerMaskPlanes; exports.buildToneLut = buildToneLut; exports.calculateCropDrag = calculateCropDrag; exports.canvasCompositeOperation = canvasCompositeOperation; exports.canvasToImagePoint = canvasToImagePoint; exports.clampControlValue = clampControlValue; exports.clampCropToImage = clampCropToImage; exports.colorBalanceChannel = colorBalanceChannel; exports.colorRange = colorRange; exports.combineSelections = combineSelections; exports.compileAdjustmentLayer = compileAdjustmentLayer; exports.computeHistogram = computeHistogram; exports.computeSelectionBounds = computeSelectionBounds; exports.contractCoverage = contractCoverage; exports.controlPosition = controlPosition; exports.controlTrackBackground = controlTrackBackground; exports.coverageToByte = coverageToByte; exports.createAdjustmentLayer = createAdjustmentLayer; exports.createImageEditorToolProvider = createImageEditorToolProvider; exports.createImageSelectionTools = createImageSelectionTools; exports.createSelectionMask = createSelectionMask; exports.curveLut = curveLut; exports.curveLutFromLevels = curveLutFromLevels; exports.curvePointToBox = curvePointToBox; exports.curveSvgPath = curveSvgPath; exports.decodeLayerMask = decodeLayerMask; exports.decodeSelectionRle = decodeSelectionRle; exports.defaultAdjustmentParams = defaultAdjustmentParams; exports.describeSelection = describeSelection; exports.deserializeSelection = deserializeSelection; exports.distanceTransform = distanceTransform; exports.edgeWidth = edgeWidth; exports.ellipsePoints = ellipsePoints; exports.ellipseSelection = ellipseSelection; exports.encodeSelectionRle = encodeSelectionRle; exports.evaluateAdjustmentLayers = evaluateAdjustmentLayers; exports.expandCoverage = expandCoverage; exports.featherCoverage = featherCoverage; exports.findAdjustmentControl = findAdjustmentControl; exports.findLayerControl = findLayerControl; exports.formatControlValue = formatControlValue; exports.fullSelection = fullSelection; exports.gaussianBlur = gaussianBlur; exports.getAnnotationBounds = getAnnotationBounds; exports.getControlPath = getControlPath; exports.getCropCursor = getCropCursor; exports.getRotatedSize = getRotatedSize; exports.getViewportMetrics = getViewportMetrics; exports.getViewportProjection = getViewportProjection; exports.globalImageCache = globalImageCache; exports.greyMorphology = greyMorphology; exports.guidePlanes = guidePlanes; exports.guidedFilterColor = guidedFilterColor; exports.hashMaskContent = hashMaskContent; exports.hexToRgb = hexToRgb; exports.histogramPath = histogramPath; exports.hitTestAnnotation = hitTestAnnotation; exports.hitTestCrop = hitTestCrop; exports.hitTestCurvePoint = hitTestCurvePoint; exports.hslToRgb = hslToRgb; exports.hueRange = hueRange; exports.hueRangeTables = hueRangeTables; exports.hueRangeWeight = hueRangeWeight; exports.hueSaturation = hueSaturation; exports.identityCurve = identityCurve; exports.identityLevels = identityLevels; exports.imageEditorStateMigrations = imageEditorStateMigrations; exports.imageToCanvasPoint = imageToCanvasPoint; exports.insertCurvePoint = insertCurvePoint; exports.invertMatrix3 = invertMatrix3; exports.invertSelection = invertSelection; exports.isAdjustmentKind = isAdjustmentKind; exports.isBlendMode = isBlendMode; exports.isQuarterTurnSwapped = isQuarterTurnSwapped; exports.isSelectionEmpty = isSelectionEmpty; exports.isSelectionMode = isSelectionMode; exports.isSeparableBlendMode = isSeparableBlendMode; exports.kelvinToTemperature = kelvinToTemperature; exports.layerMaskCoverage = layerMaskCoverage; exports.layerMaskFromSelection = layerMaskFromSelection; exports.layerMaskKey = layerMaskKey; exports.levelsValue = levelsValue; exports.linearSrgbToXy = linearSrgbToXy; exports.linearToSrgb = linearToSrgb; exports.loadImageEditorDocument = loadImageEditorDocument; exports.magicWand = magicWand; exports.mapCropHandle = mapCropHandle; exports.migrateSerializedImageEditorState = migrateSerializedImageEditorState; exports.modifySelection = modifySelection; exports.moveCurvePoint = moveCurvePoint; exports.mulMatrix3 = mulMatrix3; exports.neutralHueRange = neutralHueRange; exports.normalizeAdjustmentLayer = normalizeAdjustmentLayer; exports.normalizeAdjustmentLayers = normalizeAdjustmentLayers; exports.normalizeAngle = normalizeAngle; exports.normalizeBlendMode = normalizeBlendMode; exports.normalizeLayerMask = normalizeLayerMask; exports.normalizeProcessVersion = normalizeProcessVersion; exports.normalizeRect = normalizeRect; exports.normalizeRefineEdgeParams = normalizeRefineEdgeParams; exports.normalizeStoredAdjustments = normalizeStoredAdjustments; exports.parseSelectionMode = parseSelectionMode; exports.photoFilterMatrix = photoFilterMatrix; exports.polygonCoverage = polygonCoverage; exports.polygonSelection = polygonSelection; exports.posterizeValue = posterizeValue; exports.projectImagePoint = projectImagePoint; exports.projectImageRect = projectImageRect; exports.projectMaskCoverage = projectMaskCoverage; exports.quickMaskPixels = quickMaskPixels; exports.rangeLightness = rangeLightness; exports.readAdjustmentControls = readAdjustmentControls; exports.rectSelection = rectSelection; exports.refineCoverage = refineCoverage; exports.refineEdgeHalo = refineEdgeHalo; exports.refineSelection = refineSelection; exports.removeAlpha = removeAlpha; exports.removeCurvePoint = removeCurvePoint; exports.resizeSelection = resizeSelection; exports.rgbToGray = rgbToGray; exports.rgbToHsl = rgbToHsl; exports.sampleLut = sampleLut; exports.sampleToneLut = sampleToneLut; exports.selectionArea = selectionArea; exports.selectionFromCoverage = selectionFromCoverage; exports.selectionFromPixels = selectionFromPixels; exports.selectionModeFromModifiers = selectionModeFromModifiers; exports.selectionOutline = selectionOutline; exports.selectionToCoverage = selectionToCoverage; exports.selectionToPixels = selectionToPixels; exports.selectionValueAt = selectionValueAt; exports.serializeSelection = serializeSelection; exports.setControlPath = setControlPath; exports.setLum = setLum; exports.shiftCoverage = shiftCoverage; exports.smoothCoverage = smoothCoverage; exports.srgb8ToLab = srgb8ToLab; exports.srgbToLinear = srgbToLinear; exports.tempTintToXy = tempTintToXy; exports.temperatureToKelvin = temperatureToKelvin; exports.toneCurve = toneCurve; exports.toneLuts = toneLuts; exports.toneRange = toneRange; exports.unprojectCanvasPoint = unprojectCanvasPoint; exports.updateLayerMaskProps = updateLayerMaskProps; exports.uvToXy = uvToXy; exports.vibranceLinear = vibranceLinear; exports.vibrancePixel = vibrancePixel; exports.wbMatrix = wbMatrix; exports.whiteBalanceFromSample = whiteBalanceFromSample; exports.whiteBalanceMatrix = whiteBalanceMatrix; exports.xyToTempTint = xyToTempTint; exports.xyToUv = xyToUv;
|
|
6089
|
+
exports.ADJUSTMENT_KINDS = ADJUSTMENT_KINDS; exports.ADJUSTMENT_LAYER_CONTROLS = ADJUSTMENT_LAYER_CONTROLS; exports.ADJUSTMENT_LAYER_OPACITY_CONTROL = ADJUSTMENT_LAYER_OPACITY_CONTROL; exports.ADJUSTMENT_LUT_SIZE = ADJUSTMENT_LUT_SIZE; exports.AS_SHOT_KELVIN = AS_SHOT_KELVIN; exports.BLEND_MODES = BLEND_MODES; exports.D65 = D65; exports.DEFAULT_ADJUSTMENTS = DEFAULT_ADJUSTMENTS; exports.DEFAULT_DEPTH_MASK = DEFAULT_DEPTH_MASK; exports.DEFAULT_REFINE_EDGE_PARAMS = DEFAULT_REFINE_EDGE_PARAMS; exports.DEFAULT_SELECTION_TOOL_OPTIONS = DEFAULT_SELECTION_TOOL_OPTIONS; exports.DEFAULT_TRANSFORM = DEFAULT_TRANSFORM; exports.DIRECT_GAUSSIAN_MAX_SIGMA = DIRECT_GAUSSIAN_MAX_SIGMA; exports.EMPTY_DISTANCE = EMPTY_DISTANCE; exports.GUIDED_FILTER_EPS = GUIDED_FILTER_EPS; exports.HISTOGRAM_BINS = HISTOGRAM_BINS; exports.HUE_RANGE_LABELS = HUE_RANGE_LABELS; exports.IDENTITY_MATRIX3 = IDENTITY_MATRIX3; exports.IMAGE_ADJUSTMENT_CONTROLS = IMAGE_ADJUSTMENT_CONTROLS; exports.IMAGE_EDITOR_SCHEMA_VERSION = IMAGE_EDITOR_SCHEMA_VERSION; exports.IMAGE_EDITOR_STATE_VERSION = IMAGE_EDITOR_STATE_VERSION; exports.ImageEditorController = ImageEditorController; exports.ImageEditorRenderer = ImageEditorRenderer; exports.LATEST_PROCESS_VERSION = LATEST_PROCESS_VERSION; exports.LEGACY_PROCESS_VERSION = LEGACY_PROCESS_VERSION; exports.LUMA_709 = LUMA_709; exports.MAX_KELVIN = MAX_KELVIN; exports.MIN_KELVIN = MIN_KELVIN; exports.MIRED_PER_TEMPERATURE_UNIT = MIRED_PER_TEMPERATURE_UNIT; exports.REFINE_EDGE_CONTROLS = REFINE_EDGE_CONTROLS; exports.SELECTION_MODES = SELECTION_MODES; exports.SELECTION_MODE_LABELS = SELECTION_MODE_LABELS; exports.SELECTION_MODIFY_OPS = SELECTION_MODIFY_OPS; exports.SELECTION_TOOLS = SELECTION_TOOLS; exports.SelectionGesture = SelectionGesture; exports.TINT_SCALE = TINT_SCALE; exports.TONE_LUT_SIZE = TONE_LUT_SIZE; exports.TONE_RANGE_PRESETS = TONE_RANGE_PRESETS; exports.VIBRANCE_GREY = VIBRANCE_GREY; exports.activeAdjustmentLayers = activeAdjustmentLayers; exports.adjustmentKindLabel = adjustmentKindLabel; exports.adjustmentLayersKey = adjustmentLayersKey; exports.applyAdjustmentLayers = applyAdjustmentLayers; exports.applyAdjustments = applyAdjustments; exports.applyDepthMask = applyDepthMask; exports.applyImageProjectionToContext = applyImageProjectionToContext; exports.applyLegacyAdjustments = applyLegacyAdjustments; exports.applyMatrix3 = applyMatrix3; exports.applyProcess2Adjustments = applyProcess2Adjustments; exports.applyRegionBlur = applyRegionBlur; exports.applyRegionMosaic = applyRegionMosaic; exports.blackWhiteGray = blackWhiteGray; exports.blendChannel = blendChannel; exports.blendImageData = blendImageData; exports.blendLum = blendLum; exports.blendPixel = blendPixel; exports.blendRgb = blendRgb; exports.borderCoverage = borderCoverage; exports.boxMean = boxMean; exports.boxToCurvePoint = boxToCurvePoint; exports.bradfordAdaptation = bradfordAdaptation; exports.buildLayerMaskPlanes = buildLayerMaskPlanes; exports.buildToneLut = buildToneLut; exports.calculateCropDrag = calculateCropDrag; exports.canvasCompositeOperation = canvasCompositeOperation; exports.canvasToImagePoint = canvasToImagePoint; exports.clampControlValue = clampControlValue; exports.clampCropToImage = clampCropToImage; exports.colorBalanceChannel = colorBalanceChannel; exports.colorRange = colorRange; exports.combineSelections = combineSelections; exports.compileAdjustmentLayer = compileAdjustmentLayer; exports.computeHistogram = computeHistogram; exports.computeSelectionBounds = computeSelectionBounds; exports.contractCoverage = contractCoverage; exports.controlPosition = controlPosition; exports.controlTrackBackground = controlTrackBackground; exports.coverageToByte = coverageToByte; exports.createAdjustmentLayer = createAdjustmentLayer; exports.createImageEditorToolProvider = createImageEditorToolProvider; exports.createImageSelectionTools = createImageSelectionTools; exports.createSelectionMask = createSelectionMask; exports.curveLut = curveLut; exports.curveLutFromLevels = curveLutFromLevels; exports.curvePointToBox = curvePointToBox; exports.curveSvgPath = curveSvgPath; exports.decodeLayerMask = decodeLayerMask; exports.decodeSelectionRle = decodeSelectionRle; exports.defaultAdjustmentParams = defaultAdjustmentParams; exports.describeSelection = describeSelection; exports.deserializeSelection = deserializeSelection; exports.distanceTransform = distanceTransform; exports.edgeWidth = edgeWidth; exports.ellipsePoints = ellipsePoints; exports.ellipseSelection = ellipseSelection; exports.encodeSelectionRle = encodeSelectionRle; exports.evaluateAdjustmentLayers = evaluateAdjustmentLayers; exports.expandCoverage = expandCoverage; exports.featherCoverage = featherCoverage; exports.findAdjustmentControl = findAdjustmentControl; exports.findLayerControl = findLayerControl; exports.formatControlValue = formatControlValue; exports.fullSelection = fullSelection; exports.gaussianBlur = gaussianBlur; exports.getAnnotationBounds = getAnnotationBounds; exports.getControlPath = getControlPath; exports.getCropCursor = getCropCursor; exports.getRotatedSize = getRotatedSize; exports.getViewportMetrics = getViewportMetrics; exports.getViewportProjection = getViewportProjection; exports.globalImageCache = globalImageCache; exports.greyMorphology = greyMorphology; exports.guidePlanes = guidePlanes; exports.guidedFilterColor = guidedFilterColor; exports.hashMaskContent = hashMaskContent; exports.hexToRgb = hexToRgb; exports.histogramPath = histogramPath; exports.hitTestAnnotation = hitTestAnnotation; exports.hitTestCrop = hitTestCrop; exports.hitTestCurvePoint = hitTestCurvePoint; exports.hslToRgb = hslToRgb; exports.hueRange = hueRange; exports.hueRangeTables = hueRangeTables; exports.hueRangeWeight = hueRangeWeight; exports.hueSaturation = hueSaturation; exports.identityCurve = identityCurve; exports.identityLevels = identityLevels; exports.imageEditorStateMigrations = imageEditorStateMigrations; exports.imageToCanvasPoint = imageToCanvasPoint; exports.insertCurvePoint = insertCurvePoint; exports.invertMatrix3 = invertMatrix3; exports.invertSelection = invertSelection; exports.isAdjustmentKind = isAdjustmentKind; exports.isBlendMode = isBlendMode; exports.isQuarterTurnSwapped = isQuarterTurnSwapped; exports.isSelectionEmpty = isSelectionEmpty; exports.isSelectionMode = isSelectionMode; exports.isSeparableBlendMode = isSeparableBlendMode; exports.kelvinToTemperature = kelvinToTemperature; exports.layerMaskCoverage = layerMaskCoverage; exports.layerMaskFromSelection = layerMaskFromSelection; exports.layerMaskKey = layerMaskKey; exports.levelsValue = levelsValue; exports.linearSrgbToXy = linearSrgbToXy; exports.linearToSrgb = linearToSrgb; exports.loadImageEditorDocument = loadImageEditorDocument; exports.magicWand = magicWand; exports.mapCropHandle = mapCropHandle; exports.migrateSerializedImageEditorState = migrateSerializedImageEditorState; exports.modifySelection = modifySelection; exports.moveCurvePoint = moveCurvePoint; exports.mulMatrix3 = mulMatrix3; exports.neutralHueRange = neutralHueRange; exports.normalizeAdjustmentLayer = normalizeAdjustmentLayer; exports.normalizeAdjustmentLayers = normalizeAdjustmentLayers; exports.normalizeAngle = normalizeAngle; exports.normalizeBlendMode = normalizeBlendMode; exports.normalizeLayerMask = normalizeLayerMask; exports.normalizeProcessVersion = normalizeProcessVersion; exports.normalizeRect = normalizeRect; exports.normalizeRefineEdgeParams = normalizeRefineEdgeParams; exports.normalizeStoredAdjustments = normalizeStoredAdjustments; exports.parseSelectionMode = parseSelectionMode; exports.photoFilterMatrix = photoFilterMatrix; exports.polygonCoverage = polygonCoverage; exports.polygonSelection = polygonSelection; exports.posterizeValue = posterizeValue; exports.projectImagePoint = projectImagePoint; exports.projectImageRect = projectImageRect; exports.projectMaskCoverage = projectMaskCoverage; exports.quickMaskPixels = quickMaskPixels; exports.rangeLightness = rangeLightness; exports.readAdjustmentControls = readAdjustmentControls; exports.rectSelection = rectSelection; exports.refineCoverage = refineCoverage; exports.refineEdgeHalo = refineEdgeHalo; exports.refineSelection = refineSelection; exports.removeAlpha = removeAlpha; exports.removeCurvePoint = removeCurvePoint; exports.resizeSelection = resizeSelection; exports.resolveMosaicRegionBounds = resolveMosaicRegionBounds; exports.rgbToGray = rgbToGray; exports.rgbToHsl = rgbToHsl; exports.sampleLut = sampleLut; exports.sampleToneLut = sampleToneLut; exports.selectionArea = selectionArea; exports.selectionFromCoverage = selectionFromCoverage; exports.selectionFromPixels = selectionFromPixels; exports.selectionModeFromModifiers = selectionModeFromModifiers; exports.selectionOutline = selectionOutline; exports.selectionToCoverage = selectionToCoverage; exports.selectionToPixels = selectionToPixels; exports.selectionValueAt = selectionValueAt; exports.serializeSelection = serializeSelection; exports.setControlPath = setControlPath; exports.setLum = setLum; exports.shiftCoverage = shiftCoverage; exports.smoothCoverage = smoothCoverage; exports.srgb8ToLab = srgb8ToLab; exports.srgbToLinear = srgbToLinear; exports.tempTintToXy = tempTintToXy; exports.temperatureToKelvin = temperatureToKelvin; exports.toneCurve = toneCurve; exports.toneLuts = toneLuts; exports.toneRange = toneRange; exports.unprojectCanvasPoint = unprojectCanvasPoint; exports.updateLayerMaskProps = updateLayerMaskProps; exports.uvToXy = uvToXy; exports.vibranceLinear = vibranceLinear; exports.vibrancePixel = vibrancePixel; exports.wbMatrix = wbMatrix; exports.whiteBalanceFromSample = whiteBalanceFromSample; exports.whiteBalanceMatrix = whiteBalanceMatrix; exports.xyToTempTint = xyToTempTint; exports.xyToUv = xyToUv;
|
|
5950
6090
|
//# sourceMappingURL=index.cjs.map
|