@pixerate/editor 0.134.0 → 0.136.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/animation-editor/index.cjs +58 -55
- package/dist/animation-editor/index.cjs.map +1 -1
- package/dist/animation-editor/index.d.cts +8 -5
- package/dist/animation-editor/index.d.ts +8 -5
- package/dist/animation-editor/index.js +5 -2
- package/dist/animation-editor/index.js.map +1 -1
- package/dist/{bezier-J8i4uqSH.d.cts → bezier-CdccFsF8.d.cts} +1 -1
- package/dist/{bezier-lNEOp0Jx.d.ts → bezier-DG9qNZQV.d.ts} +1 -1
- package/dist/canvas/index.d.cts +10 -7
- package/dist/canvas/index.d.ts +10 -7
- package/dist/{chunk-Z2H7KECK.cjs → chunk-2R3UW57U.cjs} +13 -2
- package/dist/chunk-2R3UW57U.cjs.map +1 -0
- package/dist/{chunk-ESIWZMMK.js → chunk-6QQR4LKE.js} +2 -2
- package/dist/chunk-A3BVTI3G.js +150 -0
- package/dist/chunk-A3BVTI3G.js.map +1 -0
- package/dist/{chunk-T6TV6HY6.cjs → chunk-B2CUCM7Y.cjs} +36 -36
- package/dist/{chunk-T6TV6HY6.cjs.map → chunk-B2CUCM7Y.cjs.map} +1 -1
- package/dist/chunk-ECCXGELC.cjs +727 -0
- package/dist/chunk-ECCXGELC.cjs.map +1 -0
- package/dist/{chunk-OXSV64JX.js → chunk-G6IKY6PL.js} +4 -4
- package/dist/chunk-I52DRGGJ.js +727 -0
- package/dist/chunk-I52DRGGJ.js.map +1 -0
- package/dist/{chunk-6CTZAGZ2.js → chunk-ILYFOJUN.js} +56 -1
- package/dist/chunk-ILYFOJUN.js.map +1 -0
- package/dist/{chunk-YAFS2QFZ.cjs → chunk-JLGNZMUV.cjs} +82 -82
- package/dist/{chunk-YAFS2QFZ.cjs.map → chunk-JLGNZMUV.cjs.map} +1 -1
- package/dist/{chunk-7RJ6P7MI.js → chunk-KZXLZCQ7.js} +2 -2
- package/dist/{chunk-HHTCDFZC.js → chunk-MAHQC3SK.js} +13 -2
- package/dist/chunk-MAHQC3SK.js.map +1 -0
- package/dist/{chunk-FWEO3HSL.js → chunk-PQQF5KOW.js} +8 -8
- package/dist/chunk-Q6OUXEK3.cjs +150 -0
- package/dist/chunk-Q6OUXEK3.cjs.map +1 -0
- package/dist/{chunk-P3RQ5UJE.cjs → chunk-UTQKC66X.cjs} +4 -4
- package/dist/{chunk-P3RQ5UJE.cjs.map → chunk-UTQKC66X.cjs.map} +1 -1
- package/dist/{chunk-J3B45HTA.cjs → chunk-XB25WOC2.cjs} +6 -6
- package/dist/{chunk-J3B45HTA.cjs.map → chunk-XB25WOC2.cjs.map} +1 -1
- package/dist/{chunk-NVTHUPJ6.cjs → chunk-YT3JL7YM.cjs} +71 -16
- package/dist/chunk-YT3JL7YM.cjs.map +1 -0
- package/dist/effects/index.d.cts +7 -4
- package/dist/effects/index.d.ts +7 -4
- package/dist/{export-BGdT02aL.d.cts → export-BOheWw2R.d.cts} +13 -5
- package/dist/{export-Dng22YB8.d.ts → export-ByKKIA2S.d.ts} +13 -5
- package/dist/{export-KzubBKo7.d.cts → export-CEYeRQXH.d.cts} +1 -1
- package/dist/{export-DMeG6E06.d.ts → export-Ds7zgGD8.d.ts} +1 -1
- package/dist/extensions/index.cjs +3 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.js +2 -2
- package/dist/generation/index.cjs +150 -945
- package/dist/generation/index.cjs.map +1 -1
- package/dist/generation/index.d.cts +3 -423
- package/dist/generation/index.d.ts +3 -423
- package/dist/generation/index.js +59 -854
- package/dist/generation/index.js.map +1 -1
- package/dist/grammar/index.cjs +3 -3
- package/dist/grammar/index.cjs.map +1 -1
- package/dist/grammar/index.js +2 -2
- package/dist/{helpers-Coa4e2j_.d.ts → helpers--ns3W2D7.d.ts} +7 -1
- package/dist/{helpers-DHl28yLO.d.cts → helpers-BVkU4oUi.d.cts} +7 -1
- package/dist/image-editor/index.cjs +742 -647
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +29 -11
- package/dist/image-editor/index.d.ts +29 -11
- package/dist/image-editor/index.js +107 -12
- package/dist/image-editor/index.js.map +1 -1
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +36 -36
- package/dist/{opentype-Dfcx6wFx.d.ts → opentype-DfoVYgmG.d.ts} +1 -1
- package/dist/{opentype-BWR7Qv8W.d.cts → opentype-yi-Kz4ND.d.cts} +1 -1
- package/dist/paint/index.cjs +10 -2
- package/dist/paint/index.cjs.map +1 -1
- package/dist/paint/index.d.cts +2 -2
- package/dist/paint/index.d.ts +2 -2
- package/dist/paint/index.js +9 -1
- package/dist/paint-editor/index.cjs +10 -7
- package/dist/paint-editor/index.cjs.map +1 -1
- package/dist/paint-editor/index.d.cts +10 -7
- package/dist/paint-editor/index.d.ts +10 -7
- package/dist/paint-editor/index.js +5 -2
- package/dist/paint-editor/index.js.map +1 -1
- package/dist/{pathfinder-D8KQ6blQ.d.cts → pathfinder-7JkMwYvC.d.cts} +1 -1
- package/dist/{pathfinder-Celbi3e6.d.ts → pathfinder-GM3UWdBZ.d.ts} +1 -1
- package/dist/{pool-BfuxBKTd.d.cts → pool-04qp8iW4.d.cts} +1 -1
- package/dist/{pool-8JZGWHvR.d.ts → pool-CkTxlLMC.d.ts} +1 -1
- package/dist/provenance-DmlcgdzT.d.cts +426 -0
- package/dist/provenance-uh5r2TQ8.d.ts +426 -0
- package/dist/{rand-BaqEOs1Y.d.ts → rand-BszBST4s.d.ts} +31 -1
- package/dist/{rand-DdpFzCo6.d.cts → rand-DOH_aMvm.d.cts} +31 -1
- package/dist/{svg-pwXWq6s2.d.cts → svg-BDDKvWWY.d.cts} +2 -2
- package/dist/{svg-CxxqG3_W.d.ts → svg-rV6_HPmn.d.ts} +2 -2
- package/dist/{tools-3EBjR91b.d.cts → tools-BAjSbTdY.d.cts} +1 -1
- package/dist/{tools-y1M6O3UT.d.ts → tools-DPYerqeR.d.ts} +1 -1
- package/dist/vector/index.cjs +2684 -1860
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +313 -71
- package/dist/vector/index.d.ts +313 -71
- package/dist/vector/index.js +4700 -3876
- package/dist/vector/index.js.map +1 -1
- package/dist/video-editor/index.d.cts +7 -4
- package/dist/video-editor/index.d.ts +7 -4
- package/dist/{warp-Ceqdz7kj.d.cts → warp-DQh9R7Ie.d.cts} +1 -1
- package/dist/{warp-C1gwu2G_.d.ts → warp-XVL6SpSh.d.ts} +1 -1
- package/package.json +1 -1
- package/skills/pixerate-image-editor/SKILL.md +4 -4
- package/skills/pixerate-vector/SKILL.md +20 -1
- package/dist/chunk-6CTZAGZ2.js.map +0 -1
- package/dist/chunk-HHTCDFZC.js.map +0 -1
- package/dist/chunk-NVTHUPJ6.cjs.map +0 -1
- package/dist/chunk-Z2H7KECK.cjs.map +0 -1
- /package/dist/{chunk-ESIWZMMK.js.map → chunk-6QQR4LKE.js.map} +0 -0
- /package/dist/{chunk-OXSV64JX.js.map → chunk-G6IKY6PL.js.map} +0 -0
- /package/dist/{chunk-7RJ6P7MI.js.map → chunk-KZXLZCQ7.js.map} +0 -0
- /package/dist/{chunk-FWEO3HSL.js.map → chunk-PQQF5KOW.js.map} +0 -0
package/dist/grammar/index.cjs
CHANGED
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkUTQKC66Xcjs = require('../chunk-UTQKC66X.cjs');
|
|
27
|
+
require('../chunk-TNNJXF46.cjs');
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
|
|
@@ -58,7 +59,6 @@ var _chunkFD4LPFAEcjs = require('../chunk-FD4LPFAE.cjs');
|
|
|
58
59
|
|
|
59
60
|
|
|
60
61
|
var _chunkMKA3AHLVcjs = require('../chunk-MKA3AHLV.cjs');
|
|
61
|
-
require('../chunk-TNNJXF46.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
|
|
@@ -114,5 +114,5 @@ require('../chunk-TNNJXF46.cjs');
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
exports.FIELD_ALIASES =
|
|
117
|
+
exports.FIELD_ALIASES = _chunkUTQKC66Xcjs.FIELD_ALIASES; exports.INSTRUCTION_REGEX = _chunkMKA3AHLVcjs.INSTRUCTION_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkUTQKC66Xcjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkUTQKC66Xcjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_MERGE_LENGTH = _chunkUTQKC66Xcjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkUTQKC66Xcjs.MAX_MERGE_OUTPUTS; exports.TEMPLATE_DEPTH_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkFD4LPFAEcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkMKA3AHLVcjs.TEMPLATE_REGEX; exports.VARIABLE_REGEX = _chunkMKA3AHLVcjs.VARIABLE_REGEX; exports.compactVariableValues = _chunkUTQKC66Xcjs.compactVariableValues; exports.compareConditionValues = _chunkMKA3AHLVcjs.compareConditionValues; exports.conditionSubject = _chunkMKA3AHLVcjs.conditionSubject; exports.describeConditionalTag = _chunkMKA3AHLVcjs.describeConditionalTag; exports.detectDelimiter = _chunkUTQKC66Xcjs.detectDelimiter; exports.escapeVariableText = _chunkMKA3AHLVcjs.escapeVariableText; exports.evaluateCondition = _chunkMKA3AHLVcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkMKA3AHLVcjs.evaluateConditionExpression; exports.evaluatePromptTokens = _chunkFD4LPFAEcjs.evaluatePromptTokens; exports.extractInstructionNames = _chunkUTQKC66Xcjs.extractInstructionNames; exports.extractTemplateNames = _chunkUTQKC66Xcjs.extractTemplateNames; exports.extractVariableNames = _chunkUTQKC66Xcjs.extractVariableNames; exports.extractVariables = _chunkUTQKC66Xcjs.extractVariables; exports.formatComparisonOperand = _chunkMKA3AHLVcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkMKA3AHLVcjs.formatConditionalTag; exports.getLatestVersion = _chunkFD4LPFAEcjs.getLatestVersion; exports.getPromptDiagnostics = _chunkFD4LPFAEcjs.getPromptDiagnostics; exports.getSuppliedValue = _chunkMKA3AHLVcjs.getSuppliedValue; exports.getTemplateBody = _chunkFD4LPFAEcjs.getTemplateBody; exports.getVariableFormFields = _chunkUTQKC66Xcjs.getVariableFormFields; exports.instructionRegex = _chunkMKA3AHLVcjs.instructionRegex; exports.isPromptValueSet = _chunkMKA3AHLVcjs.isPromptValueSet; exports.mapRawOffsetToResolved = _chunkUTQKC66Xcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkUTQKC66Xcjs.mapResolvedOffsetToRaw; exports.matchConditionalTags = _chunkMKA3AHLVcjs.matchConditionalTags; exports.matchFields = _chunkUTQKC66Xcjs.matchFields; exports.mergeRecords = _chunkUTQKC66Xcjs.mergeRecords; exports.normalizeFieldKey = _chunkUTQKC66Xcjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkUTQKC66Xcjs.normalizeFieldNames; exports.parseComparison = _chunkMKA3AHLVcjs.parseComparison; exports.parseConditionExpression = _chunkMKA3AHLVcjs.parseConditionExpression; exports.parseDataSource = _chunkUTQKC66Xcjs.parseDataSource; exports.parseVariableBody = _chunkMKA3AHLVcjs.parseVariableBody; exports.recordToValues = _chunkUTQKC66Xcjs.recordToValues; exports.resolvePrompt = _chunkFD4LPFAEcjs.resolvePrompt; exports.resolveTemplates = _chunkUTQKC66Xcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkUTQKC66Xcjs.resolveTemplatesWithMapping; exports.resolveVariables = _chunkUTQKC66Xcjs.resolveVariables; exports.serializeMergeOutputs = _chunkUTQKC66Xcjs.serializeMergeOutputs; exports.templateRegex = _chunkMKA3AHLVcjs.templateRegex; exports.tokenizePrompt = _chunkFD4LPFAEcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkFD4LPFAEcjs.tokenizePromptWithDiagnostics; exports.unescapeVariableText = _chunkMKA3AHLVcjs.unescapeVariableText; exports.variableRegex = _chunkMKA3AHLVcjs.variableRegex;
|
|
118
118
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/grammar/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;AACF,yDAA8B;AAC9B;AACE;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;AACF,yDAA8B;AAC9B
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/grammar/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;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;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;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;AACF,2jHAAC","file":"/home/runner/work/editor/editor/packages/core/dist/grammar/index.cjs"}
|
package/dist/grammar/index.js
CHANGED
|
@@ -23,7 +23,8 @@ import {
|
|
|
23
23
|
resolveTemplatesWithMapping,
|
|
24
24
|
resolveVariables,
|
|
25
25
|
serializeMergeOutputs
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-G6IKY6PL.js";
|
|
27
|
+
import "../chunk-664LQYFJ.js";
|
|
27
28
|
import {
|
|
28
29
|
TEMPLATE_DEPTH_ERROR,
|
|
29
30
|
TEMPLATE_LOOP_ERROR,
|
|
@@ -58,7 +59,6 @@ import {
|
|
|
58
59
|
unescapeVariableText,
|
|
59
60
|
variableRegex
|
|
60
61
|
} from "../chunk-P6ODPZ4W.js";
|
|
61
|
-
import "../chunk-664LQYFJ.js";
|
|
62
62
|
export {
|
|
63
63
|
FIELD_ALIASES,
|
|
64
64
|
INSTRUCTION_REGEX,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { J as JsonSchema, S as SchemaValidationError } from './schema-Di0CS6Pe.js';
|
|
2
2
|
import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BbCeF6pt.js';
|
|
3
3
|
import { b as AnimationEasing } from './easing-lM0Xo9Ni.js';
|
|
4
|
+
import { G as GenerationProvenance } from './provenance-uh5r2TQ8.js';
|
|
4
5
|
import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -978,6 +979,11 @@ interface VectorGroupNode extends VectorNodeBase {
|
|
|
978
979
|
* when resized. Ignored on blends, live booleans and mask groups.
|
|
979
980
|
*/
|
|
980
981
|
frame?: VectorFrame | null;
|
|
982
|
+
/**
|
|
983
|
+
* Set on a group made by a generative prompt (`generateVectorArt`): what produced it (prompt,
|
|
984
|
+
* model, planned request; see `@pixerate/editor/generation`), so it can be regenerated.
|
|
985
|
+
*/
|
|
986
|
+
generation?: GenerationProvenance;
|
|
981
987
|
/**
|
|
982
988
|
* Derived, not stored: a page's master art (its master page's children laid out on it), brought
|
|
983
989
|
* up to date after every edit (`resolveVectorMasterPages`) and drawn under the page's children.
|
|
@@ -1253,7 +1259,7 @@ interface VectorHandleRef extends VectorAnchorRef {
|
|
|
1253
1259
|
* drags out a frame (`VectorGroupNode.frame`), taking in the top-level objects it fully encloses.
|
|
1254
1260
|
* `connector` drags a connector between objects, gluing each end to the side it starts or ends on.
|
|
1255
1261
|
*/
|
|
1256
|
-
type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector';
|
|
1262
|
+
type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector' | 'distort';
|
|
1257
1263
|
declare const VECTOR_TOOLS: readonly VectorTool[];
|
|
1258
1264
|
/** Keyboard modifiers held during a pointer event. */
|
|
1259
1265
|
interface VectorModifiers {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { J as JsonSchema, S as SchemaValidationError } from './schema-Di0CS6Pe.cjs';
|
|
2
2
|
import { f as MotionBehavior, b as AnimationLoopMode } from './evaluate-BsxYieLN.cjs';
|
|
3
3
|
import { b as AnimationEasing } from './easing-lM0Xo9Ni.cjs';
|
|
4
|
+
import { G as GenerationProvenance } from './provenance-DmlcgdzT.cjs';
|
|
4
5
|
import { W as WarpStyle, a as WarpMesh } from './types-CwMPoRMU.cjs';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -978,6 +979,11 @@ interface VectorGroupNode extends VectorNodeBase {
|
|
|
978
979
|
* when resized. Ignored on blends, live booleans and mask groups.
|
|
979
980
|
*/
|
|
980
981
|
frame?: VectorFrame | null;
|
|
982
|
+
/**
|
|
983
|
+
* Set on a group made by a generative prompt (`generateVectorArt`): what produced it (prompt,
|
|
984
|
+
* model, planned request; see `@pixerate/editor/generation`), so it can be regenerated.
|
|
985
|
+
*/
|
|
986
|
+
generation?: GenerationProvenance;
|
|
981
987
|
/**
|
|
982
988
|
* Derived, not stored: a page's master art (its master page's children laid out on it), brought
|
|
983
989
|
* up to date after every edit (`resolveVectorMasterPages`) and drawn under the page's children.
|
|
@@ -1253,7 +1259,7 @@ interface VectorHandleRef extends VectorAnchorRef {
|
|
|
1253
1259
|
* drags out a frame (`VectorGroupNode.frame`), taking in the top-level objects it fully encloses.
|
|
1254
1260
|
* `connector` drags a connector between objects, gluing each end to the side it starts or ends on.
|
|
1255
1261
|
*/
|
|
1256
|
-
type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector';
|
|
1262
|
+
type VectorTool = 'select' | 'direct' | 'pen' | 'pencil' | 'rect' | 'ellipse' | 'polygon' | 'star' | 'line' | 'scissors' | 'knife' | 'eraser' | 'width' | 'shapeBuilder' | 'paintBucket' | 'blend' | 'gradient' | 'envelope' | 'type' | 'typePath' | 'frame' | 'connector' | 'distort';
|
|
1257
1263
|
declare const VECTOR_TOOLS: readonly VectorTool[];
|
|
1258
1264
|
/** Keyboard modifiers held during a pointer event. */
|
|
1259
1265
|
interface VectorModifiers {
|