polotno 3.13.0 → 3.14.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/blueprint/side-panel/select-video.d.ts +105 -36
- package/canvas/apply-filters.js +1 -1
- package/canvas/downscale.d.ts +4 -0
- package/canvas/downscale.js +1 -1
- package/canvas/element.d.ts +1 -1
- package/canvas/element.js +1 -1
- package/canvas/figure-element.js +1 -1
- package/canvas/gif-element.js +1 -1
- package/canvas/html-element.js +1 -1
- package/canvas/image-element.js +1 -1
- package/canvas/line-element.js +1 -1
- package/canvas/page.js +1 -1
- package/canvas/paint-opacity.d.ts +12 -0
- package/canvas/paint-opacity.js +1 -0
- package/canvas/render-tag-element.js +1 -1
- package/canvas/rich-editor.js +11 -3
- package/canvas/table-element.js +1 -1
- package/canvas/text-element/font-specs-loader.js +1 -1
- package/canvas/text-element.js +1 -1
- package/canvas/use-filtered-source.js +1 -1
- package/canvas/video-element.js +1 -1
- package/canvas/workspace-canvas.js +1 -1
- package/model/audio-model.d.ts +54 -2
- package/model/figure-model.d.ts +65 -24
- package/model/gif-model.d.ts +65 -24
- package/model/group-model.d.ts +497 -182
- package/model/group-model.js +1 -1
- package/model/history.js +1 -1
- package/model/image-model.d.ts +65 -24
- package/model/line-model.d.ts +65 -24
- package/model/node-model.d.ts +65 -24
- package/model/node-model.js +1 -1
- package/model/page-model.d.ts +4369 -445
- package/model/page-model.js +1 -1
- package/model/shape-model.d.ts +65 -24
- package/model/store.d.ts +480 -18060
- package/model/store.js +1 -1
- package/model/svg-model.d.ts +64 -24
- package/model/table-model.d.ts +40 -12
- package/model/table-model.js +1 -1
- package/model/text-model.d.ts +64 -24
- package/model/text-model.js +1 -1
- package/model/video-model.d.ts +65 -24
- package/package.json +8 -8
- package/polotno.bundle.js +167 -156
- package/primitives/panel-header.js +1 -1
- package/primitives/panel-scroll-area.d.ts +4 -0
- package/primitives/panel-scroll-area.js +1 -0
- package/primitives/select.js +1 -1
- package/side-panel/animations-panel.js +1 -1
- package/side-panel/draw-panel.js +1 -1
- package/side-panel/effects-panel.js +1 -1
- package/side-panel/elements-panel.js +1 -1
- package/side-panel/image-clip-panel.js +1 -1
- package/side-panel/layers-panel.js +1 -1
- package/side-panel/select-video.d.ts +105 -36
- package/side-panel/side-panel.js +1 -1
- package/side-panel/size-panel.js +1 -1
- package/side-panel/text-panel.js +1 -1
- package/toolbar/color-picker.js +1 -1
- package/toolbar/html-toolbar.js +3 -3
- package/toolbar/opacity-picker.js +1 -1
- package/toolbar/text-toolbar.js +1 -1
- package/ui.css +1 -1
- package/utils/canvas.d.ts +0 -3
- package/utils/canvas.js +1 -1
- package/utils/clipboard.d.ts +104 -36
- package/utils/fonts.js +1 -1
- package/utils/from-svg.js +1 -1
- package/utils/l10n.d.ts +21 -0
- package/utils/l10n.js +1 -1
- package/utils/pointer-drag.js +1 -1
- package/utils/text-format-state.d.ts +3 -0
- package/utils/text-format-state.js +1 -1
- package/utils/validate-key.js +1 -1
package/model/group-model.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Instance } from 'mobx-state-tree';
|
|
1
|
+
import { Instance, IAnyModelType, IAnyType } from 'mobx-state-tree';
|
|
2
2
|
import { NodeType } from './node-model.js';
|
|
3
3
|
import { TextElementType } from './text-model.js';
|
|
4
4
|
import { ImageElementType } from './image-model.js';
|
|
@@ -64,6 +64,7 @@ export declare const TYPES_MAP: {
|
|
|
64
64
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
65
65
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
66
66
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
67
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
67
68
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
68
69
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
69
70
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -134,6 +135,7 @@ export declare const TYPES_MAP: {
|
|
|
134
135
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
135
136
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
136
137
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
138
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
137
139
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
138
140
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
139
141
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -145,6 +147,7 @@ export declare const TYPES_MAP: {
|
|
|
145
147
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
146
148
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
147
149
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
150
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
148
151
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
149
152
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
150
153
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -156,24 +159,37 @@ export declare const TYPES_MAP: {
|
|
|
156
159
|
type: string | undefined;
|
|
157
160
|
name: string | undefined;
|
|
158
161
|
opacity: number | undefined;
|
|
162
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
159
163
|
custom: any;
|
|
160
164
|
visible: boolean | undefined;
|
|
161
165
|
selectable: boolean | undefined;
|
|
162
166
|
removable: boolean | undefined;
|
|
163
167
|
alwaysOnTop: boolean | undefined;
|
|
164
168
|
showInExport: boolean | undefined;
|
|
165
|
-
}>,
|
|
166
|
-
id:
|
|
167
|
-
type:
|
|
168
|
-
name:
|
|
169
|
-
opacity:
|
|
170
|
-
custom:
|
|
171
|
-
visible:
|
|
172
|
-
selectable:
|
|
173
|
-
removable:
|
|
174
|
-
alwaysOnTop:
|
|
175
|
-
showInExport:
|
|
176
|
-
}
|
|
169
|
+
}>, {
|
|
170
|
+
id: string;
|
|
171
|
+
type: string;
|
|
172
|
+
name: string;
|
|
173
|
+
opacity: number;
|
|
174
|
+
custom: any;
|
|
175
|
+
visible: boolean;
|
|
176
|
+
selectable: boolean;
|
|
177
|
+
removable: boolean;
|
|
178
|
+
alwaysOnTop: boolean;
|
|
179
|
+
showInExport: boolean;
|
|
180
|
+
} | {
|
|
181
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
182
|
+
id: string;
|
|
183
|
+
type: string;
|
|
184
|
+
name: string;
|
|
185
|
+
opacity: number;
|
|
186
|
+
custom: any;
|
|
187
|
+
visible: boolean;
|
|
188
|
+
selectable: boolean;
|
|
189
|
+
removable: boolean;
|
|
190
|
+
alwaysOnTop: boolean;
|
|
191
|
+
showInExport: boolean;
|
|
192
|
+
}>>;
|
|
177
193
|
readonly parent: any;
|
|
178
194
|
readonly zIndex: any;
|
|
179
195
|
} & {
|
|
@@ -188,6 +204,18 @@ export declare const TYPES_MAP: {
|
|
|
188
204
|
removable: boolean;
|
|
189
205
|
alwaysOnTop: boolean;
|
|
190
206
|
showInExport: boolean;
|
|
207
|
+
} | {
|
|
208
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
209
|
+
id: string;
|
|
210
|
+
type: string;
|
|
211
|
+
name: string;
|
|
212
|
+
opacity: number;
|
|
213
|
+
custom: any;
|
|
214
|
+
visible: boolean;
|
|
215
|
+
selectable: boolean;
|
|
216
|
+
removable: boolean;
|
|
217
|
+
alwaysOnTop: boolean;
|
|
218
|
+
showInExport: boolean;
|
|
191
219
|
};
|
|
192
220
|
} & {
|
|
193
221
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -224,23 +252,36 @@ export declare const TYPES_MAP: {
|
|
|
224
252
|
} & {
|
|
225
253
|
readonly _cropModeEnabled: boolean;
|
|
226
254
|
readonly _cropEnabled: boolean;
|
|
227
|
-
}, any,
|
|
228
|
-
id:
|
|
229
|
-
type:
|
|
230
|
-
name:
|
|
231
|
-
opacity:
|
|
232
|
-
custom:
|
|
233
|
-
visible:
|
|
234
|
-
selectable:
|
|
235
|
-
removable:
|
|
236
|
-
alwaysOnTop:
|
|
237
|
-
showInExport:
|
|
238
|
-
}
|
|
255
|
+
}, any, {
|
|
256
|
+
id: string;
|
|
257
|
+
type: string;
|
|
258
|
+
name: string;
|
|
259
|
+
opacity: number;
|
|
260
|
+
custom: any;
|
|
261
|
+
visible: boolean;
|
|
262
|
+
selectable: boolean;
|
|
263
|
+
removable: boolean;
|
|
264
|
+
alwaysOnTop: boolean;
|
|
265
|
+
showInExport: boolean;
|
|
266
|
+
} | {
|
|
267
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
268
|
+
id: string;
|
|
269
|
+
type: string;
|
|
270
|
+
name: string;
|
|
271
|
+
opacity: number;
|
|
272
|
+
custom: any;
|
|
273
|
+
visible: boolean;
|
|
274
|
+
selectable: boolean;
|
|
275
|
+
removable: boolean;
|
|
276
|
+
alwaysOnTop: boolean;
|
|
277
|
+
showInExport: boolean;
|
|
278
|
+
}>;
|
|
239
279
|
text: import("mobx-state-tree").IModelType<{
|
|
240
280
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
241
281
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
242
282
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
243
283
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
284
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
244
285
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
245
286
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
246
287
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -322,6 +363,7 @@ export declare const TYPES_MAP: {
|
|
|
322
363
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
323
364
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
324
365
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
366
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
325
367
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
326
368
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
327
369
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -333,6 +375,7 @@ export declare const TYPES_MAP: {
|
|
|
333
375
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
334
376
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
335
377
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
378
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
336
379
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
337
380
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
338
381
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -344,24 +387,37 @@ export declare const TYPES_MAP: {
|
|
|
344
387
|
type: string | undefined;
|
|
345
388
|
name: string | undefined;
|
|
346
389
|
opacity: number | undefined;
|
|
390
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
347
391
|
custom: any;
|
|
348
392
|
visible: boolean | undefined;
|
|
349
393
|
selectable: boolean | undefined;
|
|
350
394
|
removable: boolean | undefined;
|
|
351
395
|
alwaysOnTop: boolean | undefined;
|
|
352
396
|
showInExport: boolean | undefined;
|
|
353
|
-
}>,
|
|
354
|
-
id:
|
|
355
|
-
type:
|
|
356
|
-
name:
|
|
357
|
-
opacity:
|
|
358
|
-
custom:
|
|
359
|
-
visible:
|
|
360
|
-
selectable:
|
|
361
|
-
removable:
|
|
362
|
-
alwaysOnTop:
|
|
363
|
-
showInExport:
|
|
364
|
-
}
|
|
397
|
+
}>, {
|
|
398
|
+
id: string;
|
|
399
|
+
type: string;
|
|
400
|
+
name: string;
|
|
401
|
+
opacity: number;
|
|
402
|
+
custom: any;
|
|
403
|
+
visible: boolean;
|
|
404
|
+
selectable: boolean;
|
|
405
|
+
removable: boolean;
|
|
406
|
+
alwaysOnTop: boolean;
|
|
407
|
+
showInExport: boolean;
|
|
408
|
+
} | {
|
|
409
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
410
|
+
id: string;
|
|
411
|
+
type: string;
|
|
412
|
+
name: string;
|
|
413
|
+
opacity: number;
|
|
414
|
+
custom: any;
|
|
415
|
+
visible: boolean;
|
|
416
|
+
selectable: boolean;
|
|
417
|
+
removable: boolean;
|
|
418
|
+
alwaysOnTop: boolean;
|
|
419
|
+
showInExport: boolean;
|
|
420
|
+
}>>;
|
|
365
421
|
readonly parent: any;
|
|
366
422
|
readonly zIndex: any;
|
|
367
423
|
} & {
|
|
@@ -376,6 +432,18 @@ export declare const TYPES_MAP: {
|
|
|
376
432
|
removable: boolean;
|
|
377
433
|
alwaysOnTop: boolean;
|
|
378
434
|
showInExport: boolean;
|
|
435
|
+
} | {
|
|
436
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
437
|
+
id: string;
|
|
438
|
+
type: string;
|
|
439
|
+
name: string;
|
|
440
|
+
opacity: number;
|
|
441
|
+
custom: any;
|
|
442
|
+
visible: boolean;
|
|
443
|
+
selectable: boolean;
|
|
444
|
+
removable: boolean;
|
|
445
|
+
alwaysOnTop: boolean;
|
|
446
|
+
showInExport: boolean;
|
|
379
447
|
};
|
|
380
448
|
} & {
|
|
381
449
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -406,23 +474,36 @@ export declare const TYPES_MAP: {
|
|
|
406
474
|
set(attrs: any): void;
|
|
407
475
|
toggleEditMode(editing?: boolean): void;
|
|
408
476
|
beforeDestroy(): void;
|
|
409
|
-
}, any,
|
|
410
|
-
id:
|
|
411
|
-
type:
|
|
412
|
-
name:
|
|
413
|
-
opacity:
|
|
414
|
-
custom:
|
|
415
|
-
visible:
|
|
416
|
-
selectable:
|
|
417
|
-
removable:
|
|
418
|
-
alwaysOnTop:
|
|
419
|
-
showInExport:
|
|
420
|
-
}
|
|
477
|
+
}, any, {
|
|
478
|
+
id: string;
|
|
479
|
+
type: string;
|
|
480
|
+
name: string;
|
|
481
|
+
opacity: number;
|
|
482
|
+
custom: any;
|
|
483
|
+
visible: boolean;
|
|
484
|
+
selectable: boolean;
|
|
485
|
+
removable: boolean;
|
|
486
|
+
alwaysOnTop: boolean;
|
|
487
|
+
showInExport: boolean;
|
|
488
|
+
} | {
|
|
489
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
490
|
+
id: string;
|
|
491
|
+
type: string;
|
|
492
|
+
name: string;
|
|
493
|
+
opacity: number;
|
|
494
|
+
custom: any;
|
|
495
|
+
visible: boolean;
|
|
496
|
+
selectable: boolean;
|
|
497
|
+
removable: boolean;
|
|
498
|
+
alwaysOnTop: boolean;
|
|
499
|
+
showInExport: boolean;
|
|
500
|
+
}>;
|
|
421
501
|
image: import("mobx-state-tree").IModelType<{
|
|
422
502
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
423
503
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
424
504
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
425
505
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
506
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
426
507
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
427
508
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
428
509
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -492,6 +573,7 @@ export declare const TYPES_MAP: {
|
|
|
492
573
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
493
574
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
494
575
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
576
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
495
577
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
496
578
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
497
579
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -503,6 +585,7 @@ export declare const TYPES_MAP: {
|
|
|
503
585
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
504
586
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
505
587
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
588
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
506
589
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
507
590
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
508
591
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -514,24 +597,37 @@ export declare const TYPES_MAP: {
|
|
|
514
597
|
type: string | undefined;
|
|
515
598
|
name: string | undefined;
|
|
516
599
|
opacity: number | undefined;
|
|
600
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
517
601
|
custom: any;
|
|
518
602
|
visible: boolean | undefined;
|
|
519
603
|
selectable: boolean | undefined;
|
|
520
604
|
removable: boolean | undefined;
|
|
521
605
|
alwaysOnTop: boolean | undefined;
|
|
522
606
|
showInExport: boolean | undefined;
|
|
523
|
-
}>,
|
|
524
|
-
id:
|
|
525
|
-
type:
|
|
526
|
-
name:
|
|
527
|
-
opacity:
|
|
528
|
-
custom:
|
|
529
|
-
visible:
|
|
530
|
-
selectable:
|
|
531
|
-
removable:
|
|
532
|
-
alwaysOnTop:
|
|
533
|
-
showInExport:
|
|
534
|
-
}
|
|
607
|
+
}>, {
|
|
608
|
+
id: string;
|
|
609
|
+
type: string;
|
|
610
|
+
name: string;
|
|
611
|
+
opacity: number;
|
|
612
|
+
custom: any;
|
|
613
|
+
visible: boolean;
|
|
614
|
+
selectable: boolean;
|
|
615
|
+
removable: boolean;
|
|
616
|
+
alwaysOnTop: boolean;
|
|
617
|
+
showInExport: boolean;
|
|
618
|
+
} | {
|
|
619
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
620
|
+
id: string;
|
|
621
|
+
type: string;
|
|
622
|
+
name: string;
|
|
623
|
+
opacity: number;
|
|
624
|
+
custom: any;
|
|
625
|
+
visible: boolean;
|
|
626
|
+
selectable: boolean;
|
|
627
|
+
removable: boolean;
|
|
628
|
+
alwaysOnTop: boolean;
|
|
629
|
+
showInExport: boolean;
|
|
630
|
+
}>>;
|
|
535
631
|
readonly parent: any;
|
|
536
632
|
readonly zIndex: any;
|
|
537
633
|
} & {
|
|
@@ -546,6 +642,18 @@ export declare const TYPES_MAP: {
|
|
|
546
642
|
removable: boolean;
|
|
547
643
|
alwaysOnTop: boolean;
|
|
548
644
|
showInExport: boolean;
|
|
645
|
+
} | {
|
|
646
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
647
|
+
id: string;
|
|
648
|
+
type: string;
|
|
649
|
+
name: string;
|
|
650
|
+
opacity: number;
|
|
651
|
+
custom: any;
|
|
652
|
+
visible: boolean;
|
|
653
|
+
selectable: boolean;
|
|
654
|
+
removable: boolean;
|
|
655
|
+
alwaysOnTop: boolean;
|
|
656
|
+
showInExport: boolean;
|
|
549
657
|
};
|
|
550
658
|
} & {
|
|
551
659
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -584,30 +692,44 @@ export declare const TYPES_MAP: {
|
|
|
584
692
|
type: string | undefined;
|
|
585
693
|
name: string | undefined;
|
|
586
694
|
opacity: number | undefined;
|
|
695
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
587
696
|
custom: any;
|
|
588
697
|
visible: boolean | undefined;
|
|
589
698
|
selectable: boolean | undefined;
|
|
590
699
|
removable: boolean | undefined;
|
|
591
700
|
alwaysOnTop: boolean | undefined;
|
|
592
701
|
showInExport: boolean | undefined;
|
|
593
|
-
}>,
|
|
594
|
-
id:
|
|
595
|
-
type:
|
|
596
|
-
name:
|
|
597
|
-
opacity:
|
|
598
|
-
custom:
|
|
599
|
-
visible:
|
|
600
|
-
selectable:
|
|
601
|
-
removable:
|
|
602
|
-
alwaysOnTop:
|
|
603
|
-
showInExport:
|
|
604
|
-
}
|
|
702
|
+
}>, {
|
|
703
|
+
id: string;
|
|
704
|
+
type: string;
|
|
705
|
+
name: string;
|
|
706
|
+
opacity: number;
|
|
707
|
+
custom: any;
|
|
708
|
+
visible: boolean;
|
|
709
|
+
selectable: boolean;
|
|
710
|
+
removable: boolean;
|
|
711
|
+
alwaysOnTop: boolean;
|
|
712
|
+
showInExport: boolean;
|
|
713
|
+
} | {
|
|
714
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
715
|
+
id: string;
|
|
716
|
+
type: string;
|
|
717
|
+
name: string;
|
|
718
|
+
opacity: number;
|
|
719
|
+
custom: any;
|
|
720
|
+
visible: boolean;
|
|
721
|
+
selectable: boolean;
|
|
722
|
+
removable: boolean;
|
|
723
|
+
alwaysOnTop: boolean;
|
|
724
|
+
showInExport: boolean;
|
|
725
|
+
}>;
|
|
605
726
|
group: any;
|
|
606
727
|
line: import("mobx-state-tree").IModelType<{
|
|
607
728
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
608
729
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
609
730
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
610
731
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
732
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
611
733
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
612
734
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
613
735
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -668,6 +790,7 @@ export declare const TYPES_MAP: {
|
|
|
668
790
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
669
791
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
670
792
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
793
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
671
794
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
672
795
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
673
796
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -679,6 +802,7 @@ export declare const TYPES_MAP: {
|
|
|
679
802
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
680
803
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
681
804
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
805
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
682
806
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
683
807
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
684
808
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -690,24 +814,37 @@ export declare const TYPES_MAP: {
|
|
|
690
814
|
type: string | undefined;
|
|
691
815
|
name: string | undefined;
|
|
692
816
|
opacity: number | undefined;
|
|
817
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
693
818
|
custom: any;
|
|
694
819
|
visible: boolean | undefined;
|
|
695
820
|
selectable: boolean | undefined;
|
|
696
821
|
removable: boolean | undefined;
|
|
697
822
|
alwaysOnTop: boolean | undefined;
|
|
698
823
|
showInExport: boolean | undefined;
|
|
699
|
-
}>,
|
|
700
|
-
id:
|
|
701
|
-
type:
|
|
702
|
-
name:
|
|
703
|
-
opacity:
|
|
704
|
-
custom:
|
|
705
|
-
visible:
|
|
706
|
-
selectable:
|
|
707
|
-
removable:
|
|
708
|
-
alwaysOnTop:
|
|
709
|
-
showInExport:
|
|
710
|
-
}
|
|
824
|
+
}>, {
|
|
825
|
+
id: string;
|
|
826
|
+
type: string;
|
|
827
|
+
name: string;
|
|
828
|
+
opacity: number;
|
|
829
|
+
custom: any;
|
|
830
|
+
visible: boolean;
|
|
831
|
+
selectable: boolean;
|
|
832
|
+
removable: boolean;
|
|
833
|
+
alwaysOnTop: boolean;
|
|
834
|
+
showInExport: boolean;
|
|
835
|
+
} | {
|
|
836
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
837
|
+
id: string;
|
|
838
|
+
type: string;
|
|
839
|
+
name: string;
|
|
840
|
+
opacity: number;
|
|
841
|
+
custom: any;
|
|
842
|
+
visible: boolean;
|
|
843
|
+
selectable: boolean;
|
|
844
|
+
removable: boolean;
|
|
845
|
+
alwaysOnTop: boolean;
|
|
846
|
+
showInExport: boolean;
|
|
847
|
+
}>>;
|
|
711
848
|
readonly parent: any;
|
|
712
849
|
readonly zIndex: any;
|
|
713
850
|
} & {
|
|
@@ -722,6 +859,18 @@ export declare const TYPES_MAP: {
|
|
|
722
859
|
removable: boolean;
|
|
723
860
|
alwaysOnTop: boolean;
|
|
724
861
|
showInExport: boolean;
|
|
862
|
+
} | {
|
|
863
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
864
|
+
id: string;
|
|
865
|
+
type: string;
|
|
866
|
+
name: string;
|
|
867
|
+
opacity: number;
|
|
868
|
+
custom: any;
|
|
869
|
+
visible: boolean;
|
|
870
|
+
selectable: boolean;
|
|
871
|
+
removable: boolean;
|
|
872
|
+
alwaysOnTop: boolean;
|
|
873
|
+
showInExport: boolean;
|
|
725
874
|
};
|
|
726
875
|
} & {
|
|
727
876
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -753,29 +902,43 @@ export declare const TYPES_MAP: {
|
|
|
753
902
|
type: string | undefined;
|
|
754
903
|
name: string | undefined;
|
|
755
904
|
opacity: number | undefined;
|
|
905
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
756
906
|
custom: any;
|
|
757
907
|
visible: boolean | undefined;
|
|
758
908
|
selectable: boolean | undefined;
|
|
759
909
|
removable: boolean | undefined;
|
|
760
910
|
alwaysOnTop: boolean | undefined;
|
|
761
911
|
showInExport: boolean | undefined;
|
|
762
|
-
}>,
|
|
763
|
-
id:
|
|
764
|
-
type:
|
|
765
|
-
name:
|
|
766
|
-
opacity:
|
|
767
|
-
custom:
|
|
768
|
-
visible:
|
|
769
|
-
selectable:
|
|
770
|
-
removable:
|
|
771
|
-
alwaysOnTop:
|
|
772
|
-
showInExport:
|
|
773
|
-
}
|
|
912
|
+
}>, {
|
|
913
|
+
id: string;
|
|
914
|
+
type: string;
|
|
915
|
+
name: string;
|
|
916
|
+
opacity: number;
|
|
917
|
+
custom: any;
|
|
918
|
+
visible: boolean;
|
|
919
|
+
selectable: boolean;
|
|
920
|
+
removable: boolean;
|
|
921
|
+
alwaysOnTop: boolean;
|
|
922
|
+
showInExport: boolean;
|
|
923
|
+
} | {
|
|
924
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
925
|
+
id: string;
|
|
926
|
+
type: string;
|
|
927
|
+
name: string;
|
|
928
|
+
opacity: number;
|
|
929
|
+
custom: any;
|
|
930
|
+
visible: boolean;
|
|
931
|
+
selectable: boolean;
|
|
932
|
+
removable: boolean;
|
|
933
|
+
alwaysOnTop: boolean;
|
|
934
|
+
showInExport: boolean;
|
|
935
|
+
}>;
|
|
774
936
|
video: import("mobx-state-tree").IModelType<{
|
|
775
937
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
776
938
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
777
939
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
778
940
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
941
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
779
942
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
780
943
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
781
944
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -852,6 +1015,7 @@ export declare const TYPES_MAP: {
|
|
|
852
1015
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
853
1016
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
854
1017
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1018
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
855
1019
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
856
1020
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
857
1021
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -863,6 +1027,7 @@ export declare const TYPES_MAP: {
|
|
|
863
1027
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
864
1028
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
865
1029
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1030
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
866
1031
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
867
1032
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
868
1033
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -874,24 +1039,37 @@ export declare const TYPES_MAP: {
|
|
|
874
1039
|
type: string | undefined;
|
|
875
1040
|
name: string | undefined;
|
|
876
1041
|
opacity: number | undefined;
|
|
1042
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
877
1043
|
custom: any;
|
|
878
1044
|
visible: boolean | undefined;
|
|
879
1045
|
selectable: boolean | undefined;
|
|
880
1046
|
removable: boolean | undefined;
|
|
881
1047
|
alwaysOnTop: boolean | undefined;
|
|
882
1048
|
showInExport: boolean | undefined;
|
|
883
|
-
}>,
|
|
884
|
-
id:
|
|
885
|
-
type:
|
|
886
|
-
name:
|
|
887
|
-
opacity:
|
|
888
|
-
custom:
|
|
889
|
-
visible:
|
|
890
|
-
selectable:
|
|
891
|
-
removable:
|
|
892
|
-
alwaysOnTop:
|
|
893
|
-
showInExport:
|
|
894
|
-
}
|
|
1049
|
+
}>, {
|
|
1050
|
+
id: string;
|
|
1051
|
+
type: string;
|
|
1052
|
+
name: string;
|
|
1053
|
+
opacity: number;
|
|
1054
|
+
custom: any;
|
|
1055
|
+
visible: boolean;
|
|
1056
|
+
selectable: boolean;
|
|
1057
|
+
removable: boolean;
|
|
1058
|
+
alwaysOnTop: boolean;
|
|
1059
|
+
showInExport: boolean;
|
|
1060
|
+
} | {
|
|
1061
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1062
|
+
id: string;
|
|
1063
|
+
type: string;
|
|
1064
|
+
name: string;
|
|
1065
|
+
opacity: number;
|
|
1066
|
+
custom: any;
|
|
1067
|
+
visible: boolean;
|
|
1068
|
+
selectable: boolean;
|
|
1069
|
+
removable: boolean;
|
|
1070
|
+
alwaysOnTop: boolean;
|
|
1071
|
+
showInExport: boolean;
|
|
1072
|
+
}>>;
|
|
895
1073
|
readonly parent: any;
|
|
896
1074
|
readonly zIndex: any;
|
|
897
1075
|
} & {
|
|
@@ -906,6 +1084,18 @@ export declare const TYPES_MAP: {
|
|
|
906
1084
|
removable: boolean;
|
|
907
1085
|
alwaysOnTop: boolean;
|
|
908
1086
|
showInExport: boolean;
|
|
1087
|
+
} | {
|
|
1088
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1089
|
+
id: string;
|
|
1090
|
+
type: string;
|
|
1091
|
+
name: string;
|
|
1092
|
+
opacity: number;
|
|
1093
|
+
custom: any;
|
|
1094
|
+
visible: boolean;
|
|
1095
|
+
selectable: boolean;
|
|
1096
|
+
removable: boolean;
|
|
1097
|
+
alwaysOnTop: boolean;
|
|
1098
|
+
showInExport: boolean;
|
|
909
1099
|
};
|
|
910
1100
|
} & {
|
|
911
1101
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -944,29 +1134,43 @@ export declare const TYPES_MAP: {
|
|
|
944
1134
|
type: string | undefined;
|
|
945
1135
|
name: string | undefined;
|
|
946
1136
|
opacity: number | undefined;
|
|
1137
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
947
1138
|
custom: any;
|
|
948
1139
|
visible: boolean | undefined;
|
|
949
1140
|
selectable: boolean | undefined;
|
|
950
1141
|
removable: boolean | undefined;
|
|
951
1142
|
alwaysOnTop: boolean | undefined;
|
|
952
1143
|
showInExport: boolean | undefined;
|
|
953
|
-
}>,
|
|
954
|
-
id:
|
|
955
|
-
type:
|
|
956
|
-
name:
|
|
957
|
-
opacity:
|
|
958
|
-
custom:
|
|
959
|
-
visible:
|
|
960
|
-
selectable:
|
|
961
|
-
removable:
|
|
962
|
-
alwaysOnTop:
|
|
963
|
-
showInExport:
|
|
964
|
-
}
|
|
1144
|
+
}>, {
|
|
1145
|
+
id: string;
|
|
1146
|
+
type: string;
|
|
1147
|
+
name: string;
|
|
1148
|
+
opacity: number;
|
|
1149
|
+
custom: any;
|
|
1150
|
+
visible: boolean;
|
|
1151
|
+
selectable: boolean;
|
|
1152
|
+
removable: boolean;
|
|
1153
|
+
alwaysOnTop: boolean;
|
|
1154
|
+
showInExport: boolean;
|
|
1155
|
+
} | {
|
|
1156
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1157
|
+
id: string;
|
|
1158
|
+
type: string;
|
|
1159
|
+
name: string;
|
|
1160
|
+
opacity: number;
|
|
1161
|
+
custom: any;
|
|
1162
|
+
visible: boolean;
|
|
1163
|
+
selectable: boolean;
|
|
1164
|
+
removable: boolean;
|
|
1165
|
+
alwaysOnTop: boolean;
|
|
1166
|
+
showInExport: boolean;
|
|
1167
|
+
}>;
|
|
965
1168
|
figure: import("mobx-state-tree").IModelType<{
|
|
966
1169
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
967
1170
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
968
1171
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
969
1172
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1173
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
970
1174
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
971
1175
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
972
1176
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1027,6 +1231,7 @@ export declare const TYPES_MAP: {
|
|
|
1027
1231
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1028
1232
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1029
1233
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1234
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1030
1235
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1031
1236
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1032
1237
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1038,6 +1243,7 @@ export declare const TYPES_MAP: {
|
|
|
1038
1243
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1039
1244
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1040
1245
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1246
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1041
1247
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1042
1248
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1043
1249
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1049,24 +1255,37 @@ export declare const TYPES_MAP: {
|
|
|
1049
1255
|
type: string | undefined;
|
|
1050
1256
|
name: string | undefined;
|
|
1051
1257
|
opacity: number | undefined;
|
|
1258
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
1052
1259
|
custom: any;
|
|
1053
1260
|
visible: boolean | undefined;
|
|
1054
1261
|
selectable: boolean | undefined;
|
|
1055
1262
|
removable: boolean | undefined;
|
|
1056
1263
|
alwaysOnTop: boolean | undefined;
|
|
1057
1264
|
showInExport: boolean | undefined;
|
|
1058
|
-
}>,
|
|
1059
|
-
id:
|
|
1060
|
-
type:
|
|
1061
|
-
name:
|
|
1062
|
-
opacity:
|
|
1063
|
-
custom:
|
|
1064
|
-
visible:
|
|
1065
|
-
selectable:
|
|
1066
|
-
removable:
|
|
1067
|
-
alwaysOnTop:
|
|
1068
|
-
showInExport:
|
|
1069
|
-
}
|
|
1265
|
+
}>, {
|
|
1266
|
+
id: string;
|
|
1267
|
+
type: string;
|
|
1268
|
+
name: string;
|
|
1269
|
+
opacity: number;
|
|
1270
|
+
custom: any;
|
|
1271
|
+
visible: boolean;
|
|
1272
|
+
selectable: boolean;
|
|
1273
|
+
removable: boolean;
|
|
1274
|
+
alwaysOnTop: boolean;
|
|
1275
|
+
showInExport: boolean;
|
|
1276
|
+
} | {
|
|
1277
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1278
|
+
id: string;
|
|
1279
|
+
type: string;
|
|
1280
|
+
name: string;
|
|
1281
|
+
opacity: number;
|
|
1282
|
+
custom: any;
|
|
1283
|
+
visible: boolean;
|
|
1284
|
+
selectable: boolean;
|
|
1285
|
+
removable: boolean;
|
|
1286
|
+
alwaysOnTop: boolean;
|
|
1287
|
+
showInExport: boolean;
|
|
1288
|
+
}>>;
|
|
1070
1289
|
readonly parent: any;
|
|
1071
1290
|
readonly zIndex: any;
|
|
1072
1291
|
} & {
|
|
@@ -1081,6 +1300,18 @@ export declare const TYPES_MAP: {
|
|
|
1081
1300
|
removable: boolean;
|
|
1082
1301
|
alwaysOnTop: boolean;
|
|
1083
1302
|
showInExport: boolean;
|
|
1303
|
+
} | {
|
|
1304
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1305
|
+
id: string;
|
|
1306
|
+
type: string;
|
|
1307
|
+
name: string;
|
|
1308
|
+
opacity: number;
|
|
1309
|
+
custom: any;
|
|
1310
|
+
visible: boolean;
|
|
1311
|
+
selectable: boolean;
|
|
1312
|
+
removable: boolean;
|
|
1313
|
+
alwaysOnTop: boolean;
|
|
1314
|
+
showInExport: boolean;
|
|
1084
1315
|
};
|
|
1085
1316
|
} & {
|
|
1086
1317
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -1112,29 +1343,43 @@ export declare const TYPES_MAP: {
|
|
|
1112
1343
|
type: string | undefined;
|
|
1113
1344
|
name: string | undefined;
|
|
1114
1345
|
opacity: number | undefined;
|
|
1346
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
1115
1347
|
custom: any;
|
|
1116
1348
|
visible: boolean | undefined;
|
|
1117
1349
|
selectable: boolean | undefined;
|
|
1118
1350
|
removable: boolean | undefined;
|
|
1119
1351
|
alwaysOnTop: boolean | undefined;
|
|
1120
1352
|
showInExport: boolean | undefined;
|
|
1121
|
-
}>,
|
|
1122
|
-
id:
|
|
1123
|
-
type:
|
|
1124
|
-
name:
|
|
1125
|
-
opacity:
|
|
1126
|
-
custom:
|
|
1127
|
-
visible:
|
|
1128
|
-
selectable:
|
|
1129
|
-
removable:
|
|
1130
|
-
alwaysOnTop:
|
|
1131
|
-
showInExport:
|
|
1132
|
-
}
|
|
1353
|
+
}>, {
|
|
1354
|
+
id: string;
|
|
1355
|
+
type: string;
|
|
1356
|
+
name: string;
|
|
1357
|
+
opacity: number;
|
|
1358
|
+
custom: any;
|
|
1359
|
+
visible: boolean;
|
|
1360
|
+
selectable: boolean;
|
|
1361
|
+
removable: boolean;
|
|
1362
|
+
alwaysOnTop: boolean;
|
|
1363
|
+
showInExport: boolean;
|
|
1364
|
+
} | {
|
|
1365
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1366
|
+
id: string;
|
|
1367
|
+
type: string;
|
|
1368
|
+
name: string;
|
|
1369
|
+
opacity: number;
|
|
1370
|
+
custom: any;
|
|
1371
|
+
visible: boolean;
|
|
1372
|
+
selectable: boolean;
|
|
1373
|
+
removable: boolean;
|
|
1374
|
+
alwaysOnTop: boolean;
|
|
1375
|
+
showInExport: boolean;
|
|
1376
|
+
}>;
|
|
1133
1377
|
gif: import("mobx-state-tree").IModelType<{
|
|
1134
1378
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1135
1379
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1136
1380
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1137
1381
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1382
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1138
1383
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1139
1384
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1140
1385
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1208,6 +1453,7 @@ export declare const TYPES_MAP: {
|
|
|
1208
1453
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1209
1454
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1210
1455
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1456
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1211
1457
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1212
1458
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1213
1459
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1219,6 +1465,7 @@ export declare const TYPES_MAP: {
|
|
|
1219
1465
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1220
1466
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1221
1467
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1468
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1222
1469
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1223
1470
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1224
1471
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1230,24 +1477,37 @@ export declare const TYPES_MAP: {
|
|
|
1230
1477
|
type: string | undefined;
|
|
1231
1478
|
name: string | undefined;
|
|
1232
1479
|
opacity: number | undefined;
|
|
1480
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
1233
1481
|
custom: any;
|
|
1234
1482
|
visible: boolean | undefined;
|
|
1235
1483
|
selectable: boolean | undefined;
|
|
1236
1484
|
removable: boolean | undefined;
|
|
1237
1485
|
alwaysOnTop: boolean | undefined;
|
|
1238
1486
|
showInExport: boolean | undefined;
|
|
1239
|
-
}>,
|
|
1240
|
-
id:
|
|
1241
|
-
type:
|
|
1242
|
-
name:
|
|
1243
|
-
opacity:
|
|
1244
|
-
custom:
|
|
1245
|
-
visible:
|
|
1246
|
-
selectable:
|
|
1247
|
-
removable:
|
|
1248
|
-
alwaysOnTop:
|
|
1249
|
-
showInExport:
|
|
1250
|
-
}
|
|
1487
|
+
}>, {
|
|
1488
|
+
id: string;
|
|
1489
|
+
type: string;
|
|
1490
|
+
name: string;
|
|
1491
|
+
opacity: number;
|
|
1492
|
+
custom: any;
|
|
1493
|
+
visible: boolean;
|
|
1494
|
+
selectable: boolean;
|
|
1495
|
+
removable: boolean;
|
|
1496
|
+
alwaysOnTop: boolean;
|
|
1497
|
+
showInExport: boolean;
|
|
1498
|
+
} | {
|
|
1499
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1500
|
+
id: string;
|
|
1501
|
+
type: string;
|
|
1502
|
+
name: string;
|
|
1503
|
+
opacity: number;
|
|
1504
|
+
custom: any;
|
|
1505
|
+
visible: boolean;
|
|
1506
|
+
selectable: boolean;
|
|
1507
|
+
removable: boolean;
|
|
1508
|
+
alwaysOnTop: boolean;
|
|
1509
|
+
showInExport: boolean;
|
|
1510
|
+
}>>;
|
|
1251
1511
|
readonly parent: any;
|
|
1252
1512
|
readonly zIndex: any;
|
|
1253
1513
|
} & {
|
|
@@ -1262,6 +1522,18 @@ export declare const TYPES_MAP: {
|
|
|
1262
1522
|
removable: boolean;
|
|
1263
1523
|
alwaysOnTop: boolean;
|
|
1264
1524
|
showInExport: boolean;
|
|
1525
|
+
} | {
|
|
1526
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1527
|
+
id: string;
|
|
1528
|
+
type: string;
|
|
1529
|
+
name: string;
|
|
1530
|
+
opacity: number;
|
|
1531
|
+
custom: any;
|
|
1532
|
+
visible: boolean;
|
|
1533
|
+
selectable: boolean;
|
|
1534
|
+
removable: boolean;
|
|
1535
|
+
alwaysOnTop: boolean;
|
|
1536
|
+
showInExport: boolean;
|
|
1265
1537
|
};
|
|
1266
1538
|
} & {
|
|
1267
1539
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -1300,29 +1572,43 @@ export declare const TYPES_MAP: {
|
|
|
1300
1572
|
type: string | undefined;
|
|
1301
1573
|
name: string | undefined;
|
|
1302
1574
|
opacity: number | undefined;
|
|
1575
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
1303
1576
|
custom: any;
|
|
1304
1577
|
visible: boolean | undefined;
|
|
1305
1578
|
selectable: boolean | undefined;
|
|
1306
1579
|
removable: boolean | undefined;
|
|
1307
1580
|
alwaysOnTop: boolean | undefined;
|
|
1308
1581
|
showInExport: boolean | undefined;
|
|
1309
|
-
}>,
|
|
1310
|
-
id:
|
|
1311
|
-
type:
|
|
1312
|
-
name:
|
|
1313
|
-
opacity:
|
|
1314
|
-
custom:
|
|
1315
|
-
visible:
|
|
1316
|
-
selectable:
|
|
1317
|
-
removable:
|
|
1318
|
-
alwaysOnTop:
|
|
1319
|
-
showInExport:
|
|
1320
|
-
}
|
|
1582
|
+
}>, {
|
|
1583
|
+
id: string;
|
|
1584
|
+
type: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
opacity: number;
|
|
1587
|
+
custom: any;
|
|
1588
|
+
visible: boolean;
|
|
1589
|
+
selectable: boolean;
|
|
1590
|
+
removable: boolean;
|
|
1591
|
+
alwaysOnTop: boolean;
|
|
1592
|
+
showInExport: boolean;
|
|
1593
|
+
} | {
|
|
1594
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1595
|
+
id: string;
|
|
1596
|
+
type: string;
|
|
1597
|
+
name: string;
|
|
1598
|
+
opacity: number;
|
|
1599
|
+
custom: any;
|
|
1600
|
+
visible: boolean;
|
|
1601
|
+
selectable: boolean;
|
|
1602
|
+
removable: boolean;
|
|
1603
|
+
alwaysOnTop: boolean;
|
|
1604
|
+
showInExport: boolean;
|
|
1605
|
+
}>;
|
|
1321
1606
|
table: import("mobx-state-tree").IModelType<{
|
|
1322
1607
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
1323
1608
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1324
1609
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1325
1610
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1611
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1326
1612
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1327
1613
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1328
1614
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1532,6 +1818,7 @@ export declare const TYPES_MAP: {
|
|
|
1532
1818
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1533
1819
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1534
1820
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1821
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1535
1822
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1536
1823
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1537
1824
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1543,6 +1830,7 @@ export declare const TYPES_MAP: {
|
|
|
1543
1830
|
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1544
1831
|
name: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
1545
1832
|
opacity: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1833
|
+
blendMode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light">, [undefined]>;
|
|
1546
1834
|
custom: import("mobx-state-tree").IType<any, any, any>;
|
|
1547
1835
|
visible: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1548
1836
|
selectable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
@@ -1554,24 +1842,37 @@ export declare const TYPES_MAP: {
|
|
|
1554
1842
|
type: string | undefined;
|
|
1555
1843
|
name: string | undefined;
|
|
1556
1844
|
opacity: number | undefined;
|
|
1845
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | undefined;
|
|
1557
1846
|
custom: any;
|
|
1558
1847
|
visible: boolean | undefined;
|
|
1559
1848
|
selectable: boolean | undefined;
|
|
1560
1849
|
removable: boolean | undefined;
|
|
1561
1850
|
alwaysOnTop: boolean | undefined;
|
|
1562
1851
|
showInExport: boolean | undefined;
|
|
1563
|
-
}>,
|
|
1564
|
-
id:
|
|
1565
|
-
type:
|
|
1566
|
-
name:
|
|
1567
|
-
opacity:
|
|
1568
|
-
custom:
|
|
1569
|
-
visible:
|
|
1570
|
-
selectable:
|
|
1571
|
-
removable:
|
|
1572
|
-
alwaysOnTop:
|
|
1573
|
-
showInExport:
|
|
1574
|
-
}
|
|
1852
|
+
}>, {
|
|
1853
|
+
id: string;
|
|
1854
|
+
type: string;
|
|
1855
|
+
name: string;
|
|
1856
|
+
opacity: number;
|
|
1857
|
+
custom: any;
|
|
1858
|
+
visible: boolean;
|
|
1859
|
+
selectable: boolean;
|
|
1860
|
+
removable: boolean;
|
|
1861
|
+
alwaysOnTop: boolean;
|
|
1862
|
+
showInExport: boolean;
|
|
1863
|
+
} | {
|
|
1864
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1865
|
+
id: string;
|
|
1866
|
+
type: string;
|
|
1867
|
+
name: string;
|
|
1868
|
+
opacity: number;
|
|
1869
|
+
custom: any;
|
|
1870
|
+
visible: boolean;
|
|
1871
|
+
selectable: boolean;
|
|
1872
|
+
removable: boolean;
|
|
1873
|
+
alwaysOnTop: boolean;
|
|
1874
|
+
showInExport: boolean;
|
|
1875
|
+
}>>;
|
|
1575
1876
|
readonly parent: any;
|
|
1576
1877
|
readonly zIndex: any;
|
|
1577
1878
|
} & {
|
|
@@ -1586,6 +1887,18 @@ export declare const TYPES_MAP: {
|
|
|
1586
1887
|
removable: boolean;
|
|
1587
1888
|
alwaysOnTop: boolean;
|
|
1588
1889
|
showInExport: boolean;
|
|
1890
|
+
} | {
|
|
1891
|
+
blendMode: "normal" | "color" | "color-burn" | "color-dodge" | "darken" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light";
|
|
1892
|
+
id: string;
|
|
1893
|
+
type: string;
|
|
1894
|
+
name: string;
|
|
1895
|
+
opacity: number;
|
|
1896
|
+
custom: any;
|
|
1897
|
+
visible: boolean;
|
|
1898
|
+
selectable: boolean;
|
|
1899
|
+
removable: boolean;
|
|
1900
|
+
alwaysOnTop: boolean;
|
|
1901
|
+
showInExport: boolean;
|
|
1589
1902
|
};
|
|
1590
1903
|
} & {
|
|
1591
1904
|
clone(attrs?: any, { skipSelect }?: {
|
|
@@ -1677,5 +1990,7 @@ export declare const TYPES_MAP: {
|
|
|
1677
1990
|
}): any;
|
|
1678
1991
|
}, any, any>;
|
|
1679
1992
|
};
|
|
1680
|
-
export declare function registerShapeModel
|
|
1993
|
+
export declare function registerShapeModel<P extends {
|
|
1994
|
+
type: string;
|
|
1995
|
+
}>(defaultAttributes: P, extendFunc?: (model: IAnyModelType) => IAnyType): void;
|
|
1681
1996
|
export type GroupElementType = Instance<typeof GroupElement>;
|