@omnia/fx 8.0.102-vnext → 8.0.104-vnext
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/internal-do-not-import-from-here/core/messaging/InternalTopics.d.ts +3 -0
- package/internal-do-not-import-from-here/core/services/ServiceManifestProviderInternal.d.ts +2 -2
- package/internal-do-not-import-from-here/core/utils/Utils.d.ts +6 -6
- package/internal-do-not-import-from-here/index.d.ts +5 -5
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- package/internal-do-not-import-from-here/runtime/core/InternalWebComponentBootstrapper.d.ts +4 -4
- package/internal-do-not-import-from-here/runtime/core/ManifestByElementLoader.d.ts +1 -0
- package/internal-do-not-import-from-here/runtime/core/PrivateWebComponentBootstrapper.d.ts +7 -7
- package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +20 -36
- package/internal-do-not-import-from-here/ux/admin/queryableproperties/QueryablePropertiesJourneyConstants.d.ts +4 -6
- package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +17 -0
- package/internal-do-not-import-from-here/ux/imagetransformation/utils.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageRollup/ImageRollup.d.ts +1 -66
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformCropper/ImageTransformCropper.d.ts +280 -44
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.css.d.ts +9 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.d.ts +18 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor_old.d.ts +0 -66
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter.d.ts +130 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter_old.d.ts +23 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.css.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +4 -5
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer_older.d.ts +1 -40
- package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.css.d.ts +3 -4
- package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +134 -464
- package/internal-do-not-import-from-here/ux/oxide/list/List.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +11 -0
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +6 -5
- package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.css.d.ts +4 -1
- package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +16 -5
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{skins/default/useDefaultSkin.d.ts → designkits/default/useDefaultDesignKit.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{skins/documentation/useDocumentationSkin.d.ts → designkits/documentation/useDocumentationDesignKit.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{skins/editor/useEditorSkin.d.ts → designkits/editor/useEditorDesignKit.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/designkits/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/theming-v2/{skins/useSkins.d.ts → designkits/useDesignKits.d.ts} +1 -1
- package/internal-do-not-import-from-here/ux/theming-v2/index.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +10 -0
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +9 -2
- package/internal-do-not-import-from-here/ux/velcron/core/stores/ReactivitySystem.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +1 -1
- package/internal-do-not-import-from-here/vue/VueApp.d.ts +2 -2
- package/package.json +3 -3
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/action.d.ts +0 -101
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addIcon.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addImageObject.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addObject.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addShape.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addText.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/applyFilter.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeIconColor.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeShape.d.ts +0 -28
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeText.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeTextStyle.d.ts +0 -25
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/clearObjects.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/flip.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/loadImage.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/removeFilter.d.ts +0 -17
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/removeObject.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/resizeCanvasDimension.d.ts +0 -16
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/rotate.d.ts +0 -18
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/setObjectPosition.d.ts +0 -21
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/setObjectProperties.d.ts +0 -25
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/cropper.d.ts +0 -118
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/filter.d.ts +0 -89
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/flip.d.ts +0 -70
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/freeDrawing.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/icon.d.ts +0 -51
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/imageLoader.d.ts +0 -30
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/line.d.ts +0 -55
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/rotation.d.ts +0 -42
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/shape.d.ts +0 -144
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/text.d.ts +0 -173
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/consts.d.ts +0 -243
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/dependencies/tui-code-snippet.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/cropper.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/freeDrawing.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/lineDrawing.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/shape.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/text.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/arrowLine.d.ts +0 -2
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/blur.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/colorFilter.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/cropzone.d.ts +0 -10
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/emboss.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/mask.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/sharpen.d.ts +0 -8
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/factory/command.d.ts +0 -27
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/factory/errorMessage.d.ts +0 -5
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/graphics.d.ts +0 -569
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/imagetracer.d.ts +0 -56
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/shapeFilterFillHelper.d.ts +0 -44
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/shapeResizeHelper.d.ts +0 -20
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/imageEditor.d.ts +0 -1003
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/index.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/command.d.ts +0 -49
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/component.d.ts +0 -76
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/drawingMode.d.ts +0 -26
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interfaces.d.ts +0 -283
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/invoker.d.ts +0 -91
- package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/util.d.ts +0 -154
- package/internal-do-not-import-from-here/ux/mediapicker/components/ImageEditor.css.d.ts +0 -15
- package/internal-do-not-import-from-here/ux/mediapicker/components/ImageEditor.d.ts +0 -91
- package/internal-do-not-import-from-here/ux/theming-v2/skins/default/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/theming-v2/skins/index.d.ts +0 -1
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/Colors.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/ThemeDefinitionInstance.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/DefinitionRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/ThemeRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/BannerImageTop.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupAvatar.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageLarge.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageSmall.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageTop.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageTopAvatar.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Contentblocks.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Image.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/ImageText.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Quote.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Text.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/BlockTextIcon.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/Pageheader.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/Blueprints.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/SpacingTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/ThemeDefinitions.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/TypographyTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/ApiRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/Blueprints.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/SpacingTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/ThemeDefinitions.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/TypographyTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/ThemeRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/Blueprints.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/SpacingTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/ThemeDefinitions.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/TypographyTypes.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/index.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/DefinitionRegistrations.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/headers/HeaderWithImage.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/property/PropertiesWithColumLayout.d.ts +0 -0
- /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/property/PropertiesWithRowLayout.d.ts +0 -0
@@ -1,15 +0,0 @@
|
|
1
|
-
import "./command/addIcon";
|
2
|
-
import "./command/addImageObject";
|
3
|
-
import "./command/addObject";
|
4
|
-
import "./command/applyFilter";
|
5
|
-
import "./command/clearObjects";
|
6
|
-
import "./command/flip";
|
7
|
-
import "./command/loadImage";
|
8
|
-
import "./command/removeFilter";
|
9
|
-
import "./command/removeObject";
|
10
|
-
import "./command/resizeCanvasDimension";
|
11
|
-
import "./command/rotate";
|
12
|
-
import "./command/setObjectProperties";
|
13
|
-
import "./command/setObjectPosition";
|
14
|
-
import ImageEditor from './imageEditor';
|
15
|
-
export { ImageEditor };
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/command.d.ts
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Command class
|
3
|
-
* @class
|
4
|
-
* @param {{name:function, execute: function, undo: function,
|
5
|
-
* executeCallback: function, undoCallback: function}} actions - Command actions
|
6
|
-
* @param {Array} args - passing arguments on execute, undo
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Command {
|
10
|
-
constructor(actions: any, args: any);
|
11
|
-
/**
|
12
|
-
* Execute action
|
13
|
-
* @param {Object.<string, Component>} compMap - Components injection
|
14
|
-
* @abstract
|
15
|
-
*/
|
16
|
-
execute(): void;
|
17
|
-
/**
|
18
|
-
* Undo action
|
19
|
-
* @param {Object.<string, Component>} compMap - Components injection
|
20
|
-
* @abstract
|
21
|
-
*/
|
22
|
-
undo(): void;
|
23
|
-
/**
|
24
|
-
* command for redo if undoData exists
|
25
|
-
* @returns {boolean} isRedo
|
26
|
-
*/
|
27
|
-
get isRedo(): number;
|
28
|
-
/**
|
29
|
-
* Set undoData action
|
30
|
-
* @param {Object} undoData - maked undo data
|
31
|
-
* @param {Object} cachedUndoDataForSilent - cached undo data
|
32
|
-
* @param {boolean} isSilent - is silent execution or not
|
33
|
-
* @returns {Object} cachedUndoDataForSilent
|
34
|
-
*/
|
35
|
-
setUndoData(undoData: any, cachedUndoDataForSilent: any, isSilent: any): any;
|
36
|
-
/**
|
37
|
-
* Attach execute callabck
|
38
|
-
* @param {function} callback - Callback after execution
|
39
|
-
* @returns {Command} this
|
40
|
-
*/
|
41
|
-
setExecuteCallback(callback: any): this;
|
42
|
-
/**
|
43
|
-
* Attach undo callback
|
44
|
-
* @param {function} callback - Callback after undo
|
45
|
-
* @returns {Command} this
|
46
|
-
*/
|
47
|
-
setUndoCallback(callback: any): this;
|
48
|
-
}
|
49
|
-
export default Command;
|
@@ -1,76 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @author NHN Ent. FE Development Team <dl_javascript@nhn.com>
|
3
|
-
* @fileoverview Component interface
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* Component interface
|
7
|
-
* @class
|
8
|
-
* @param {string} name - component name
|
9
|
-
* @param {Graphics} graphics - Graphics instance
|
10
|
-
* @ignore
|
11
|
-
*/
|
12
|
-
declare class Component {
|
13
|
-
constructor(name: any, graphics: any);
|
14
|
-
/**
|
15
|
-
* Fire Graphics event
|
16
|
-
* @returns {Object} return value
|
17
|
-
*/
|
18
|
-
fire(...args: any[]): any;
|
19
|
-
/**
|
20
|
-
* Save image(background) of canvas
|
21
|
-
* @param {string} name - Name of image
|
22
|
-
* @param {fabric.Image} oImage - Fabric image instance
|
23
|
-
*/
|
24
|
-
setCanvasImage(name: any, oImage: any): void;
|
25
|
-
/**
|
26
|
-
* Returns canvas element of fabric.Canvas[[lower-canvas]]
|
27
|
-
* @returns {HTMLCanvasElement}
|
28
|
-
*/
|
29
|
-
getCanvasElement(): any;
|
30
|
-
/**
|
31
|
-
* Get fabric.Canvas instance
|
32
|
-
* @returns {fabric.Canvas}
|
33
|
-
*/
|
34
|
-
getCanvas(): any;
|
35
|
-
/**
|
36
|
-
* Get canvasImage (fabric.Image instance)
|
37
|
-
* @returns {fabric.Image}
|
38
|
-
*/
|
39
|
-
getCanvasImage(): any;
|
40
|
-
/**
|
41
|
-
* Get image name
|
42
|
-
* @returns {string}
|
43
|
-
*/
|
44
|
-
getImageName(): any;
|
45
|
-
/**
|
46
|
-
* Get image editor
|
47
|
-
* @returns {ImageEditor}
|
48
|
-
*/
|
49
|
-
getEditor(): any;
|
50
|
-
/**
|
51
|
-
* Return component name
|
52
|
-
* @returns {string}
|
53
|
-
*/
|
54
|
-
getName(): any;
|
55
|
-
/**
|
56
|
-
* Set image properties
|
57
|
-
* @param {Object} setting - Image properties
|
58
|
-
* @param {boolean} [withRendering] - If true, The changed image will be reflected in the canvas
|
59
|
-
*/
|
60
|
-
setImageProperties(setting: any, withRendering: any): void;
|
61
|
-
/**
|
62
|
-
* Set canvas dimension - css only
|
63
|
-
* @param {Object} dimension - Canvas css dimension
|
64
|
-
*/
|
65
|
-
setCanvasCssDimension(dimension: any): void;
|
66
|
-
/**
|
67
|
-
* Set canvas dimension - css only
|
68
|
-
* @param {Object} dimension - Canvas backstore dimension
|
69
|
-
*/
|
70
|
-
setCanvasBackstoreDimension(dimension: any): void;
|
71
|
-
/**
|
72
|
-
* Adjust canvas dimension with scaling image
|
73
|
-
*/
|
74
|
-
adjustCanvasDimension(): void;
|
75
|
-
}
|
76
|
-
export default Component;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* DrawingMode interface
|
3
|
-
* @class
|
4
|
-
* @param {string} name - drawing mode name
|
5
|
-
* @ignore
|
6
|
-
*/
|
7
|
-
declare abstract class DrawingMode {
|
8
|
-
constructor(name: any);
|
9
|
-
/**
|
10
|
-
* Get this drawing mode name;
|
11
|
-
* @returns {string} drawing mode name
|
12
|
-
*/
|
13
|
-
getName(): any;
|
14
|
-
/**
|
15
|
-
* start this drawing mode
|
16
|
-
* @param {Object} options - drawing mode options
|
17
|
-
* @abstract
|
18
|
-
*/
|
19
|
-
abstract start(graphics?: any, options?: any): void;
|
20
|
-
/**
|
21
|
-
* stop this drawing mode
|
22
|
-
* @abstract
|
23
|
-
*/
|
24
|
-
stop(): void;
|
25
|
-
}
|
26
|
-
export default DrawingMode;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interfaces.d.ts
DELETED
@@ -1,283 +0,0 @@
|
|
1
|
-
import { ImageCropzoneRect } from "../../../models";
|
2
|
-
import Graphics from "./graphics";
|
3
|
-
type AngleType = number;
|
4
|
-
interface IThemeConfig {
|
5
|
-
"common.bi.image"?: string;
|
6
|
-
"common.bisize.width"?: string;
|
7
|
-
"common.bisize.height"?: string;
|
8
|
-
"common.backgroundImage"?: string;
|
9
|
-
"common.backgroundColor"?: string;
|
10
|
-
"common.border"?: string;
|
11
|
-
"header.backgroundImage"?: string;
|
12
|
-
"header.backgroundColor"?: string;
|
13
|
-
"header.border"?: string;
|
14
|
-
"loadButton.backgroundColor"?: string;
|
15
|
-
"loadButton.border"?: string;
|
16
|
-
"loadButton.color"?: string;
|
17
|
-
"loadButton.fontFamily"?: string;
|
18
|
-
"loadButton.fontSize"?: string;
|
19
|
-
"downloadButton.backgroundColor"?: string;
|
20
|
-
"downloadButton.border"?: string;
|
21
|
-
"downloadButton.color"?: string;
|
22
|
-
"downloadButton.fontFamily"?: string;
|
23
|
-
"downloadButton.fontSize"?: string;
|
24
|
-
"menu.normalIcon.path"?: string;
|
25
|
-
"menu.normalIcon.name"?: string;
|
26
|
-
"menu.activeIcon.path"?: string;
|
27
|
-
"menu.activeIcon.name"?: string;
|
28
|
-
"menu.iconSize.width"?: string;
|
29
|
-
"menu.iconSize.height"?: string;
|
30
|
-
"submenu.backgroundColor"?: string;
|
31
|
-
"submenu.partition.color"?: string;
|
32
|
-
"submenu.normalIcon.path"?: string;
|
33
|
-
"submenu.normalIcon.name"?: string;
|
34
|
-
"submenu.activeIcon.path"?: string;
|
35
|
-
"submenu.activeIcon.name"?: string;
|
36
|
-
"submenu.iconSize.width"?: string;
|
37
|
-
"submenu.iconSize.height"?: string;
|
38
|
-
"submenu.normalLabel.color"?: string;
|
39
|
-
"submenu.normalLabel.fontWeight"?: string;
|
40
|
-
"submenu.activeLabel.color"?: string;
|
41
|
-
"submenu.activeLabel.fontWeight"?: string;
|
42
|
-
"checkbox.border"?: string;
|
43
|
-
"checkbox.backgroundColor"?: string;
|
44
|
-
"range.pointer.color"?: string;
|
45
|
-
"range.bar.color"?: string;
|
46
|
-
"range.subbar.color"?: string;
|
47
|
-
"range.value.color"?: string;
|
48
|
-
"range.value.fontWeight"?: string;
|
49
|
-
"range.value.fontSize"?: string;
|
50
|
-
"range.value.border"?: string;
|
51
|
-
"range.value.backgroundColor"?: string;
|
52
|
-
"range.title.color"?: string;
|
53
|
-
"range.title.fontWeight"?: string;
|
54
|
-
"colorpicker.button.border"?: string;
|
55
|
-
"colorpicker.title.color"?: string;
|
56
|
-
}
|
57
|
-
interface IIconInfo {
|
58
|
-
[propName: string]: string;
|
59
|
-
}
|
60
|
-
interface IIconOptions {
|
61
|
-
fill?: string;
|
62
|
-
left?: number;
|
63
|
-
top?: number;
|
64
|
-
}
|
65
|
-
interface IShapeOptions {
|
66
|
-
fill?: string;
|
67
|
-
stroke?: string;
|
68
|
-
strokeWidth?: number;
|
69
|
-
width?: number;
|
70
|
-
height?: number;
|
71
|
-
rx?: number;
|
72
|
-
ry?: number;
|
73
|
-
left?: number;
|
74
|
-
top?: number;
|
75
|
-
isRegular?: boolean;
|
76
|
-
}
|
77
|
-
interface IGenerateTextOptions {
|
78
|
-
styles?: ITextStyleConfig;
|
79
|
-
position?: {
|
80
|
-
x: number;
|
81
|
-
y: number;
|
82
|
-
};
|
83
|
-
}
|
84
|
-
interface ITextStyleConfig {
|
85
|
-
fill?: string;
|
86
|
-
fontFamily?: string;
|
87
|
-
fontSize?: number;
|
88
|
-
fontStyle?: string;
|
89
|
-
fontWeight?: string;
|
90
|
-
textAlign?: string;
|
91
|
-
textDecoration?: string;
|
92
|
-
}
|
93
|
-
interface ICanvasSize {
|
94
|
-
width: number;
|
95
|
-
height: number;
|
96
|
-
}
|
97
|
-
interface IBrushOptions {
|
98
|
-
width: number;
|
99
|
-
color: string;
|
100
|
-
}
|
101
|
-
interface IPositionConfig {
|
102
|
-
x: number;
|
103
|
-
y: number;
|
104
|
-
originX: string;
|
105
|
-
originY: string;
|
106
|
-
}
|
107
|
-
interface IToDataURLOptions {
|
108
|
-
format?: string;
|
109
|
-
quality?: number;
|
110
|
-
multiplier?: number;
|
111
|
-
left?: number;
|
112
|
-
top?: number;
|
113
|
-
width?: number;
|
114
|
-
height?: number;
|
115
|
-
}
|
116
|
-
interface IGraphicObjectProps {
|
117
|
-
id?: number;
|
118
|
-
type?: string;
|
119
|
-
text?: string;
|
120
|
-
left?: string | number;
|
121
|
-
top?: string | number;
|
122
|
-
width?: string | number;
|
123
|
-
height?: string | number;
|
124
|
-
fill?: string;
|
125
|
-
stroke?: string;
|
126
|
-
strokeWidth?: string | number;
|
127
|
-
fontFamily?: string;
|
128
|
-
fontSize?: number;
|
129
|
-
fontStyle?: string;
|
130
|
-
fontWeight?: string;
|
131
|
-
textAlign?: string;
|
132
|
-
textDecoration?: string;
|
133
|
-
opacity?: number;
|
134
|
-
[propName: string]: number | string | boolean | undefined;
|
135
|
-
}
|
136
|
-
interface IIncludeUIOptions {
|
137
|
-
loadImage?: {
|
138
|
-
path: string;
|
139
|
-
name: string;
|
140
|
-
};
|
141
|
-
theme?: IThemeConfig;
|
142
|
-
menu?: string[];
|
143
|
-
initMenu?: string;
|
144
|
-
uiSize?: {
|
145
|
-
width: string;
|
146
|
-
height: string;
|
147
|
-
};
|
148
|
-
menuBarPosition?: string;
|
149
|
-
usageStatistics?: boolean;
|
150
|
-
}
|
151
|
-
interface ISelectionStyleConfig {
|
152
|
-
cornerStyle?: string;
|
153
|
-
cornerSize?: number;
|
154
|
-
cornerColor?: string;
|
155
|
-
cornerStrokeColor?: string;
|
156
|
-
transparentCorners?: boolean;
|
157
|
-
lineWidth?: number;
|
158
|
-
borderColor?: string;
|
159
|
-
rotatingPointOffset?: number;
|
160
|
-
}
|
161
|
-
interface IObjectProps {
|
162
|
-
fill: string;
|
163
|
-
height: number;
|
164
|
-
id: number;
|
165
|
-
left: number;
|
166
|
-
opacity: number;
|
167
|
-
stroke: string | null;
|
168
|
-
strokeWidth: number | null;
|
169
|
-
top: number;
|
170
|
-
type: string;
|
171
|
-
width: number;
|
172
|
-
}
|
173
|
-
interface ITextObjectProps extends IObjectProps {
|
174
|
-
fontFamily: string;
|
175
|
-
fontSize: string;
|
176
|
-
fontStyle: string;
|
177
|
-
text: string;
|
178
|
-
textAlign: string;
|
179
|
-
textDecoration: string;
|
180
|
-
}
|
181
|
-
export interface IFilterResolveObject {
|
182
|
-
type: string;
|
183
|
-
action: string;
|
184
|
-
}
|
185
|
-
export interface ICropResolveObject {
|
186
|
-
oldWidth: number;
|
187
|
-
oldHeight: number;
|
188
|
-
newWidth: number;
|
189
|
-
newHeight: number;
|
190
|
-
}
|
191
|
-
export interface IFlipXYResolveObject {
|
192
|
-
flipX: boolean;
|
193
|
-
flipY: boolean;
|
194
|
-
angle: AngleType;
|
195
|
-
}
|
196
|
-
interface IOptions {
|
197
|
-
includeUI?: IIncludeUIOptions;
|
198
|
-
cssMaxWidth?: number;
|
199
|
-
cssMaxHeight?: number;
|
200
|
-
usageStatistics?: boolean;
|
201
|
-
selectionStyle?: ISelectionStyleConfig;
|
202
|
-
}
|
203
|
-
interface IUIDimension {
|
204
|
-
height?: string;
|
205
|
-
width?: string;
|
206
|
-
}
|
207
|
-
interface IImageDimension {
|
208
|
-
oldHeight?: number;
|
209
|
-
oldWidth?: number;
|
210
|
-
newHeight?: number;
|
211
|
-
newWidth?: number;
|
212
|
-
}
|
213
|
-
interface IEditorSize {
|
214
|
-
uiSize?: IUIDimension;
|
215
|
-
imageSize?: IImageDimension;
|
216
|
-
}
|
217
|
-
interface UI {
|
218
|
-
resizeEditor(dimension: IEditorSize): Promise<void>;
|
219
|
-
}
|
220
|
-
export default interface IImageEditor {
|
221
|
-
_graphics?: Graphics;
|
222
|
-
constructor?(wrapper: string | Element, options: IOptions): any;
|
223
|
-
ui?: UI;
|
224
|
-
addIcon?(type: string, options?: IIconOptions): Promise<IObjectProps>;
|
225
|
-
addImageObject?(imgUrl: string): Promise<void>;
|
226
|
-
addShape?(type: string, options?: IShapeOptions): Promise<IObjectProps>;
|
227
|
-
addText?(text: string, options?: IGenerateTextOptions): Promise<ITextObjectProps>;
|
228
|
-
applyFilter?(type: string, options?: {
|
229
|
-
maskObjId: number;
|
230
|
-
}, isSilent?: boolean): Promise<IFilterResolveObject>;
|
231
|
-
changeCursor?(cursorType: string): void;
|
232
|
-
changeIconColor?(id: number, color: string): Promise<void>;
|
233
|
-
changeSelectableAll?(selectable: boolean): void;
|
234
|
-
changeShape?(id: number, options?: IShapeOptions, isSilent?: boolean): Promise<void>;
|
235
|
-
changeText?(id: number, text?: string): Promise<void>;
|
236
|
-
changeTextStyle?(id: number, styleObj: ITextStyleConfig, isSilent?: boolean): Promise<void>;
|
237
|
-
clearObjects?(): Promise<void>;
|
238
|
-
clearRedoStack?(): void;
|
239
|
-
clearUndoStack?(): void;
|
240
|
-
crop?(rect: ImageCropzoneRect): Promise<ICropResolveObject>;
|
241
|
-
deactivateAll?(): void;
|
242
|
-
destroy?(): void;
|
243
|
-
discardSelection?(): void;
|
244
|
-
flipX?(): Promise<IFlipXYResolveObject>;
|
245
|
-
flipY?(): Promise<IFlipXYResolveObject>;
|
246
|
-
getCanvasSize?(): ICanvasSize;
|
247
|
-
getCropzoneRect?(): ImageCropzoneRect;
|
248
|
-
isValidCropzoneRect?(): boolean;
|
249
|
-
getDrawingMode?(): string;
|
250
|
-
getImageName?(): string;
|
251
|
-
getObjectPosition?(id: number, originX: string, originY: string): ICanvasSize;
|
252
|
-
getObjectProperties?(id: number, keys: string | string[] | IGraphicObjectProps): IGraphicObjectProps;
|
253
|
-
hasFilter?(type: string): boolean;
|
254
|
-
isEmptyRedoStack?(): boolean;
|
255
|
-
isEmptyUndoStack?(): boolean;
|
256
|
-
loadImageFromFile?(imgFile: File, imageName?: string): Promise<ICropResolveObject>;
|
257
|
-
loadImageFromURL?(url: string, imageName?: string): Promise<ICropResolveObject>;
|
258
|
-
redo?(): Promise<any>;
|
259
|
-
registerIcons?(infos: IIconInfo): void;
|
260
|
-
removeActiveObject?(): void;
|
261
|
-
removeFilter?(type?: string): Promise<IFilterResolveObject>;
|
262
|
-
removeObject?(id: number): Promise<void>;
|
263
|
-
resetFlip?(): Promise<IFlipXYResolveObject>;
|
264
|
-
resizeCanvasDimension?(dimension: ICanvasSize): Promise<void>;
|
265
|
-
rotate?(angle: AngleType, isSilent?: boolean): Promise<AngleType>;
|
266
|
-
setAngle?(angle: AngleType, isSilent?: boolean): Promise<AngleType>;
|
267
|
-
setBrush?(option: IBrushOptions): void;
|
268
|
-
setCropzoneRect?(mode?: number): void;
|
269
|
-
restoreCropzoneRect?(presetRatio: number, cropRect: ImageCropzoneRect): void;
|
270
|
-
setDrawingShape?(type: string, options?: IShapeOptions): void;
|
271
|
-
setObjectPosition?(id: number, posInfo?: IPositionConfig): Promise<void>;
|
272
|
-
setObjectProperties?(id: number, keyValue?: IGraphicObjectProps): Promise<void>;
|
273
|
-
setObjectPropertiesQuietly?(id: number, keyValue?: IGraphicObjectProps): Promise<void>;
|
274
|
-
startDrawingMode?(mode: string, option?: {
|
275
|
-
width?: number;
|
276
|
-
color?: string;
|
277
|
-
}): Promise<void>;
|
278
|
-
stopDrawingMode?(): void;
|
279
|
-
toDataURL?(options?: IToDataURLOptions): string;
|
280
|
-
undo?(): Promise<any>;
|
281
|
-
on?(eventName: string, handler: (...args: any[]) => void): void;
|
282
|
-
}
|
283
|
-
export {};
|
@@ -1,91 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Invoker
|
3
|
-
* @class
|
4
|
-
* @ignore
|
5
|
-
*/
|
6
|
-
declare class Invoker {
|
7
|
-
constructor();
|
8
|
-
/**
|
9
|
-
* Invoke command execution
|
10
|
-
* @param {Command} command - Command
|
11
|
-
* @returns {Promise}
|
12
|
-
* @private
|
13
|
-
*/
|
14
|
-
_invokeExecution(command: any): any;
|
15
|
-
/**
|
16
|
-
* Invoke command undo
|
17
|
-
* @param {Command} command - Command
|
18
|
-
* @returns {Promise}
|
19
|
-
* @private
|
20
|
-
*/
|
21
|
-
_invokeUndo(command: any): any;
|
22
|
-
/**
|
23
|
-
* fire REDO_STACK_CHANGED event
|
24
|
-
* @private
|
25
|
-
*/
|
26
|
-
_fireRedoStackChanged(): void;
|
27
|
-
/**
|
28
|
-
* fire UNDO_STACK_CHANGED event
|
29
|
-
* @private
|
30
|
-
*/
|
31
|
-
_fireUndoStackChanged(): void;
|
32
|
-
/**
|
33
|
-
* Lock this invoker
|
34
|
-
*/
|
35
|
-
lock(): void;
|
36
|
-
/**
|
37
|
-
* Unlock this invoker
|
38
|
-
*/
|
39
|
-
unlock(): void;
|
40
|
-
executeSilent(...args: any[]): any;
|
41
|
-
/**
|
42
|
-
* Invoke command
|
43
|
-
* Store the command to the undoStack
|
44
|
-
* Clear the redoStack
|
45
|
-
* @param {String} commandName - Command name
|
46
|
-
* @param {...*} args - Arguments for creating command
|
47
|
-
* @returns {Promise}
|
48
|
-
*/
|
49
|
-
execute(...args: any[]): any;
|
50
|
-
/**
|
51
|
-
* Undo command
|
52
|
-
* @returns {Promise}
|
53
|
-
*/
|
54
|
-
undo(): any;
|
55
|
-
/**
|
56
|
-
* Redo command
|
57
|
-
* @returns {Promise}
|
58
|
-
*/
|
59
|
-
redo(): any;
|
60
|
-
/**
|
61
|
-
* Push undo stack
|
62
|
-
* @param {Command} command - command
|
63
|
-
* @param {boolean} [isSilent] - Fire event or not
|
64
|
-
*/
|
65
|
-
pushUndoStack(command: any, isSilent: any): void;
|
66
|
-
/**
|
67
|
-
* Push redo stack
|
68
|
-
* @param {Command} command - command
|
69
|
-
* @param {boolean} [isSilent] - Fire event or not
|
70
|
-
*/
|
71
|
-
pushRedoStack(command: any, isSilent: any): void;
|
72
|
-
/**
|
73
|
-
* Return whether the redoStack is empty
|
74
|
-
* @returns {boolean}
|
75
|
-
*/
|
76
|
-
isEmptyRedoStack(): boolean;
|
77
|
-
/**
|
78
|
-
* Return whether the undoStack is empty
|
79
|
-
* @returns {boolean}
|
80
|
-
*/
|
81
|
-
isEmptyUndoStack(): boolean;
|
82
|
-
/**
|
83
|
-
* Clear undoStack
|
84
|
-
*/
|
85
|
-
clearUndoStack(): void;
|
86
|
-
/**
|
87
|
-
* Clear redoStack
|
88
|
-
*/
|
89
|
-
clearRedoStack(): void;
|
90
|
-
}
|
91
|
-
export default Invoker;
|
@@ -1,154 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Export Promise Class (for simplified module path)
|
3
|
-
* @returns {Promise} promise class
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* Clamp value
|
7
|
-
* @param {number} value - Value
|
8
|
-
* @param {number} minValue - Minimum value
|
9
|
-
* @param {number} maxValue - Maximum value
|
10
|
-
* @returns {number} clamped value
|
11
|
-
*/
|
12
|
-
export declare function clamp(value: any, minValue: any, maxValue: any): number;
|
13
|
-
/**
|
14
|
-
* Make key-value object from arguments
|
15
|
-
* @returns {object.<string, string>}
|
16
|
-
*/
|
17
|
-
export declare function keyMirror(...args: any[]): {};
|
18
|
-
/**
|
19
|
-
* Make CSSText
|
20
|
-
* @param {Object} styleObj - Style info object
|
21
|
-
* @returns {string} Connected string of style
|
22
|
-
*/
|
23
|
-
export declare function makeStyleText(styleObj: any): string;
|
24
|
-
/**
|
25
|
-
* Get object's properties
|
26
|
-
* @param {Object} obj - object
|
27
|
-
* @param {Array} keys - keys
|
28
|
-
* @returns {Object} properties object
|
29
|
-
*/
|
30
|
-
export declare function getProperties(obj: any, keys: any): {};
|
31
|
-
/**
|
32
|
-
* ParseInt simpliment
|
33
|
-
* @param {number} value - Value
|
34
|
-
* @returns {number}
|
35
|
-
*/
|
36
|
-
export declare function toInteger(value: any): number;
|
37
|
-
/**
|
38
|
-
* String to camelcase string
|
39
|
-
* @param {string} targetString - change target
|
40
|
-
* @returns {string}
|
41
|
-
* @private
|
42
|
-
*/
|
43
|
-
export declare function toCamelCase(targetString: any): any;
|
44
|
-
/**
|
45
|
-
* Check browser file api support
|
46
|
-
* @returns {boolean}
|
47
|
-
* @private
|
48
|
-
*/
|
49
|
-
export declare function isSupportFileApi(): boolean;
|
50
|
-
/**
|
51
|
-
* hex to rgb
|
52
|
-
* @param {string} color - hex color
|
53
|
-
* @param {string} alpha - color alpha value
|
54
|
-
* @returns {string} rgb expression
|
55
|
-
*/
|
56
|
-
export declare function getRgb(color: any, alpha: any): string;
|
57
|
-
/**
|
58
|
-
* send hostname
|
59
|
-
*/
|
60
|
-
export declare function sendHostName(): void;
|
61
|
-
/**
|
62
|
-
* Apply css resource
|
63
|
-
* @param {string} styleBuffer - serialized css text
|
64
|
-
* @param {string} tagId - style tag id
|
65
|
-
*/
|
66
|
-
export declare function styleLoad(styleBuffer: any, tagId: any): void;
|
67
|
-
/**
|
68
|
-
* Get selector
|
69
|
-
* @param {HTMLElement} targetElement - target element
|
70
|
-
* @returns {Function} selector
|
71
|
-
*/
|
72
|
-
export declare function getSelector(targetElement: any): (str: any) => any;
|
73
|
-
/**
|
74
|
-
* Change base64 to blob
|
75
|
-
* @param {String} data - base64 string data
|
76
|
-
* @returns {Blob} Blob Data
|
77
|
-
*/
|
78
|
-
export declare function base64ToBlob(data: any): Blob;
|
79
|
-
/**
|
80
|
-
* Fix floating point diff.
|
81
|
-
* @param {number} value - original value
|
82
|
-
* @returns {number} fixed value
|
83
|
-
*/
|
84
|
-
export declare function fixFloatingPoint(value: any): number;
|
85
|
-
/**
|
86
|
-
* Assignment for destroying objects.
|
87
|
-
* @param {Object} targetObject - object to be removed.
|
88
|
-
*/
|
89
|
-
export declare function assignmentForDestroy(targetObject: any): void;
|
90
|
-
/**
|
91
|
-
* Make class name for ui
|
92
|
-
* @param {String} str - main string of className
|
93
|
-
* @param {String} prefix - prefix string of className
|
94
|
-
* @returns {String} class name
|
95
|
-
*/
|
96
|
-
export declare function cls(str?: string, prefix?: string): string;
|
97
|
-
/**
|
98
|
-
* Change object origin
|
99
|
-
* @param {fabric.Object} fObject - fabric object
|
100
|
-
* @param {Object} origin - origin of fabric object
|
101
|
-
* @param {string} originX - horizontal basis.
|
102
|
-
* @param {string} originY - vertical basis.
|
103
|
-
*/
|
104
|
-
export declare function changeOrigin(fObject: any, origin: any): void;
|
105
|
-
/**
|
106
|
-
* Object key value flip
|
107
|
-
* @param {Object} targetObject - The data object of the key value.
|
108
|
-
* @returns {Object}
|
109
|
-
*/
|
110
|
-
export declare function flipObject(targetObject: any): {};
|
111
|
-
/**
|
112
|
-
* Set custom properties
|
113
|
-
* @param {Object} targetObject - target object
|
114
|
-
* @param {Object} props - custom props object
|
115
|
-
*/
|
116
|
-
export declare function setCustomProperty(targetObject: any, props: any): void;
|
117
|
-
/**
|
118
|
-
* Get custom property
|
119
|
-
* @param {fabric.Object} fObject - fabric object
|
120
|
-
* @param {Array|string} propNames - prop name array
|
121
|
-
* @returns {object | number | string}
|
122
|
-
*/
|
123
|
-
export declare function getCustomProperty(fObject: any, propNames: any): {};
|
124
|
-
/**
|
125
|
-
* Capitalize string
|
126
|
-
* @param {string} targetString - target string
|
127
|
-
* @returns {string}
|
128
|
-
*/
|
129
|
-
export declare function capitalizeString(targetString: any): any;
|
130
|
-
/**
|
131
|
-
* Array includes check
|
132
|
-
* @param {Array} targetArray - target array
|
133
|
-
* @param {string|number} compareValue - compare value
|
134
|
-
* @returns {boolean}
|
135
|
-
*/
|
136
|
-
export declare function includes(targetArray: any, compareValue: any): boolean;
|
137
|
-
/**
|
138
|
-
* Get fill type
|
139
|
-
* @param {Object | string} fillOption - shape fill option
|
140
|
-
* @returns {string} 'color' or 'filter'
|
141
|
-
*/
|
142
|
-
export declare function getFillTypeFromOption(fillOption?: {}): any;
|
143
|
-
/**
|
144
|
-
* Get fill type of shape type object
|
145
|
-
* @param {fabric.Object} shapeObj - fabric object
|
146
|
-
* @returns {string} 'transparent' or 'color' or 'filter'
|
147
|
-
*/
|
148
|
-
export declare function getFillTypeFromObject(shapeObj: any): string;
|
149
|
-
/**
|
150
|
-
* Check if the object is a shape object.
|
151
|
-
* @param {fabric.Object} obj - fabric object
|
152
|
-
* @returns {boolean}
|
153
|
-
*/
|
154
|
-
export declare function isShape(obj: any): boolean;
|