@imgly/plugin-vectorizer-web 1.86.0-nightly.20261102 → 1.87.0-nightly.20261104

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.
@@ -1,4 +0,0 @@
1
- import CreativeEditorSDK from '@cesdk/cesdk-js';
2
- import { VectorPath } from './types';
3
- declare function addAsVectorGroup(blockId: number, vectorPaths: VectorPath[], cesdk: CreativeEditorSDK): number | void;
4
- export default addAsVectorGroup;
@@ -1,4 +0,0 @@
1
- import { CreativeEngine } from '@cesdk/cesdk-js';
2
- import { VectorPath } from './types';
3
- declare const createVectorPathBlocks: (engine: CreativeEngine, blocks: VectorPath[]) => number[];
4
- export default createVectorPathBlocks;
package/dist/plugin.d.ts DELETED
@@ -1,22 +0,0 @@
1
- import { type Config } from '@imgly/vectorizer';
2
- import { type UserInterfaceConfiguration } from '@imgly/plugin-utils';
3
- import { EditorPlugin } from '@cesdk/cesdk-js';
4
- export declare const PLUGIN_ID = "@imgly/plugin-vectorizer-web";
5
- export interface PluginConfiguration {
6
- ui?: UserInterfaceConfiguration;
7
- /**
8
- * Configuration for the vectorizer.
9
- */
10
- vectorizer?: Config;
11
- /**
12
- * The maximal number of paths for which we create a group instead of
13
- * inserting a SVG file
14
- */
15
- groupingThreshold?: number;
16
- /**
17
- * Timeout in milliseconds for the vectorization process.
18
- */
19
- timeout?: number;
20
- }
21
- declare const _default: (pluginConfiguration?: PluginConfiguration) => Omit<EditorPlugin, "name" | "version">;
22
- export default _default;
@@ -1,7 +0,0 @@
1
- import type CreativeEditorSDK from '@cesdk/cesdk-js';
2
- import { type FillProcessingMetadata } from '@imgly/plugin-utils';
3
- import * as vectorizer from '@imgly/vectorizer';
4
- /**
5
- * Triggers the vectorizer process.
6
- */
7
- export declare function processVectorization(cesdk: CreativeEditorSDK, blockId: number, metadata: FillProcessingMetadata, vectorizerConfiguration?: vectorizer.Config, customThreshold?: number, customTimeout?: number): Promise<void>;
package/dist/types.d.ts DELETED
@@ -1,16 +0,0 @@
1
- export interface VectorPath {
2
- transform: {
3
- x: number;
4
- y: number;
5
- rotation: number;
6
- width: number;
7
- height: number;
8
- };
9
- shape: {
10
- path: string;
11
- };
12
- fill: {
13
- kind: 'Color';
14
- color: number[];
15
- };
16
- }