@omnia/fx 8.0.103-vnext → 8.0.105-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/utils/Utils.d.ts +6 -6
- package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
- 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/enterpriseproperties/renderers/EnterprisePropertyConfiguration.d.ts +444 -0
- package/internal-do-not-import-from-here/ux/enterpriseproperties/renderers/EnterprisePropertyValue.d.ts +540 -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 +2 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.d.ts +14 -14
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.css.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +2 -3
- package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer_older.d.ts +1 -40
- 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/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/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/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/wctypings.d.ts +14 -0
- package/package.json +2 -2
- 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 -16
- 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,16 +0,0 @@
|
|
1
|
-
declare const command: {
|
2
|
-
name: string;
|
3
|
-
/**
|
4
|
-
* resize the canvas with given dimension
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @param {{width: number, height: number}} dimension - Max width & height
|
7
|
-
* @returns {Promise}
|
8
|
-
*/
|
9
|
-
execute(graphics: any, dimension: any): Promise<void>;
|
10
|
-
/**
|
11
|
-
* @param {Graphics} graphics - Graphics instance
|
12
|
-
* @returns {Promise}
|
13
|
-
*/
|
14
|
-
undo(graphics: any): Promise<void>;
|
15
|
-
};
|
16
|
-
export default command;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/rotate.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
declare const command: {
|
2
|
-
name: string;
|
3
|
-
/**
|
4
|
-
* Rotate an image
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @param {string} type - 'rotate' or 'setAngle'
|
7
|
-
* @param {number} angle - angle value (degree)
|
8
|
-
* @param {boolean} isSilent - is silent execution or not
|
9
|
-
* @returns {Promise}
|
10
|
-
*/
|
11
|
-
execute(graphics: any, type: any, angle: any, isSilent: any): any;
|
12
|
-
/**
|
13
|
-
* @param {Graphics} graphics - Graphics instance
|
14
|
-
* @returns {Promise}
|
15
|
-
*/
|
16
|
-
undo(graphics: any): any;
|
17
|
-
};
|
18
|
-
export default command;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
declare const command: {
|
2
|
-
name: string;
|
3
|
-
/**
|
4
|
-
* Set object properties
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @param {number} id - object id
|
7
|
-
* @param {Object} posInfo - position object
|
8
|
-
* @param {number} posInfo.x - x position
|
9
|
-
* @param {number} posInfo.y - y position
|
10
|
-
* @param {string} posInfo.originX - can be 'left', 'center', 'right'
|
11
|
-
* @param {string} posInfo.originY - can be 'top', 'center', 'bottom'
|
12
|
-
* @returns {Promise}
|
13
|
-
*/
|
14
|
-
execute(graphics: any, id: any, posInfo: any): Promise<void>;
|
15
|
-
/**
|
16
|
-
* @param {Graphics} graphics - Graphics instance
|
17
|
-
* @returns {Promise}
|
18
|
-
*/
|
19
|
-
undo(graphics: any): Promise<void>;
|
20
|
-
};
|
21
|
-
export default command;
|
@@ -1,25 +0,0 @@
|
|
1
|
-
declare const command: {
|
2
|
-
name: string;
|
3
|
-
/**
|
4
|
-
* Set object properties
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @param {number} id - object id
|
7
|
-
* @param {Object} props - properties
|
8
|
-
* @param {string} [props.fill] Color
|
9
|
-
* @param {string} [props.fontFamily] Font type for text
|
10
|
-
* @param {number} [props.fontSize] Size
|
11
|
-
* @param {string} [props.fontStyle] Type of inclination (normal / italic)
|
12
|
-
* @param {string} [props.fontWeight] Type of thicker or thinner looking (normal / bold)
|
13
|
-
* @param {string} [props.textAlign] Type of text align (left / center / right)
|
14
|
-
* @param {string} [props.textDecoration] Type of line (underline / line-through / overline)
|
15
|
-
* @returns {Promise}
|
16
|
-
*/
|
17
|
-
execute(graphics: any, id: any, props: any): Promise<void>;
|
18
|
-
/**
|
19
|
-
* @param {Graphics} graphics - Graphics instance
|
20
|
-
* @param {number} id - object id
|
21
|
-
* @returns {Promise}
|
22
|
-
*/
|
23
|
-
undo(graphics: any, id: any): Promise<void>;
|
24
|
-
};
|
25
|
-
export default command;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/cropper.d.ts
DELETED
@@ -1,118 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Cropper components
|
4
|
-
* @param {Graphics} graphics - Graphics instance
|
5
|
-
* @extends {Component}
|
6
|
-
* @class Cropper
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Cropper extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Start cropping
|
13
|
-
*/
|
14
|
-
start(): void;
|
15
|
-
/**
|
16
|
-
* End cropping
|
17
|
-
*/
|
18
|
-
end(): void;
|
19
|
-
/**
|
20
|
-
* Change cropzone visible
|
21
|
-
* @param {boolean} visible - cropzone visible state
|
22
|
-
*/
|
23
|
-
changeVisibility(visible: any): void;
|
24
|
-
/**
|
25
|
-
* onMousedown handler in fabric canvas
|
26
|
-
* @param {{target: fabric.Object, e: MouseEvent}} fEvent - Fabric event
|
27
|
-
* @private
|
28
|
-
*/
|
29
|
-
_onFabricMouseDown(fEvent: any): void;
|
30
|
-
/**
|
31
|
-
* onMousemove handler in fabric canvas
|
32
|
-
* @param {{target: fabric.Object, e: MouseEvent}} fEvent - Fabric event
|
33
|
-
* @private
|
34
|
-
*/
|
35
|
-
_onFabricMouseMove(fEvent: any): void;
|
36
|
-
/**
|
37
|
-
* Get rect dimension setting from Canvas-Mouse-Position(x, y)
|
38
|
-
* @param {number} x - Canvas-Mouse-Position x
|
39
|
-
* @param {number} y - Canvas-Mouse-Position Y
|
40
|
-
* @returns {{left: number, top: number, width: number, height: number}}
|
41
|
-
* @private
|
42
|
-
*/
|
43
|
-
_calcRectDimensionFromPoint(x: any, y: any): {
|
44
|
-
left: number;
|
45
|
-
top: number;
|
46
|
-
width: number;
|
47
|
-
height: number;
|
48
|
-
};
|
49
|
-
/**
|
50
|
-
* onMouseup handler in fabric canvas
|
51
|
-
* @private
|
52
|
-
*/
|
53
|
-
_onFabricMouseUp(): void;
|
54
|
-
/**
|
55
|
-
* Get cropped image data
|
56
|
-
* @param {Object} cropRect cropzone rect
|
57
|
-
* @param {Number} cropRect.left left position
|
58
|
-
* @param {Number} cropRect.top top position
|
59
|
-
* @param {Number} cropRect.width width
|
60
|
-
* @param {Number} cropRect.height height
|
61
|
-
* @returns {?{imageName: string, url: string}} cropped Image data
|
62
|
-
*/
|
63
|
-
getCroppedImageData(cropRect: any): {
|
64
|
-
imageName: any;
|
65
|
-
url: any;
|
66
|
-
};
|
67
|
-
/**
|
68
|
-
* Get cropped rect
|
69
|
-
* @returns {Object} rect
|
70
|
-
*/
|
71
|
-
getCropzoneRect(): {
|
72
|
-
left: any;
|
73
|
-
top: any;
|
74
|
-
width: any;
|
75
|
-
height: any;
|
76
|
-
};
|
77
|
-
/**
|
78
|
-
* Set a cropzone square
|
79
|
-
* @param {number} [presetRatio] - preset ratio
|
80
|
-
*/
|
81
|
-
setCropzoneRect(presetRatio: any): void;
|
82
|
-
/**
|
83
|
-
* Restore cropped rect
|
84
|
-
* @param {Object} cropRect cropzone rect
|
85
|
-
* @param {Number} presetRatio
|
86
|
-
* @param {Number} cropRect.left left position
|
87
|
-
* @param {Number} cropRect.top top position
|
88
|
-
* @param {Number} cropRect.width width
|
89
|
-
* @param {Number} cropRect.height height
|
90
|
-
*/
|
91
|
-
restoreCropzoneRect(presetRatio: any, cropRect: any): void;
|
92
|
-
/**
|
93
|
-
* get a cropzone square info
|
94
|
-
* @param {number} presetRatio - preset ratio
|
95
|
-
* @returns {{presetRatio: number, left: number, top: number, width: number, height: number}}
|
96
|
-
* @private
|
97
|
-
*/
|
98
|
-
_getPresetPropertiesForCropSize(presetRatio: any): {
|
99
|
-
presetRatio: any;
|
100
|
-
top: number;
|
101
|
-
left: number;
|
102
|
-
width: number;
|
103
|
-
height: any;
|
104
|
-
};
|
105
|
-
/**
|
106
|
-
* Keydown event handler
|
107
|
-
* @param {KeyboardEvent} e - Event object
|
108
|
-
* @private
|
109
|
-
*/
|
110
|
-
_onKeyDown(e: any): void;
|
111
|
-
/**
|
112
|
-
* Keyup event handler
|
113
|
-
* @param {KeyboardEvent} e - Event object
|
114
|
-
* @private
|
115
|
-
*/
|
116
|
-
_onKeyUp(e: any): void;
|
117
|
-
}
|
118
|
-
export default Cropper;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/filter.d.ts
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Filter
|
4
|
-
* @class Filter
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @extends {Component}
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Filter extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Add filter to source image (a specific filter is added on fabric.js)
|
13
|
-
* @param {string} type - Filter type
|
14
|
-
* @param {Object} [options] - Options of filter
|
15
|
-
* @returns {Promise}
|
16
|
-
*/
|
17
|
-
add(type: any, options: any): Promise<unknown>;
|
18
|
-
/**
|
19
|
-
* Remove filter to source image
|
20
|
-
* @param {string} type - Filter type
|
21
|
-
* @returns {Promise}
|
22
|
-
*/
|
23
|
-
remove(type: any): Promise<unknown>;
|
24
|
-
/**
|
25
|
-
* Whether this has the filter or not
|
26
|
-
* @param {string} type - Filter type
|
27
|
-
* @returns {boolean} true if it has the filter
|
28
|
-
*/
|
29
|
-
hasFilter(type: any): boolean;
|
30
|
-
/**
|
31
|
-
* Get a filter options
|
32
|
-
* @param {string} type - Filter type
|
33
|
-
* @returns {Object} filter options or null if there is no that filter
|
34
|
-
*/
|
35
|
-
getOptions(type: any): any;
|
36
|
-
/**
|
37
|
-
* Change filter values
|
38
|
-
* @param {Object} imgFilter object of filter
|
39
|
-
* @param {Object} options object
|
40
|
-
* @private
|
41
|
-
*/
|
42
|
-
_changeFilterValues(imgFilter: any, options: any): void;
|
43
|
-
/**
|
44
|
-
* Apply filter
|
45
|
-
* @param {fabric.Image} sourceImg - Source image to apply filter
|
46
|
-
* @param {function} callback - Executed function after applying filter
|
47
|
-
* @private
|
48
|
-
*/
|
49
|
-
_apply(sourceImg: any, callback: any): void;
|
50
|
-
/**
|
51
|
-
* Get source image on canvas
|
52
|
-
* @returns {fabric.Image} Current source image on canvas
|
53
|
-
* @private
|
54
|
-
*/
|
55
|
-
_getSourceImage(): any;
|
56
|
-
/**
|
57
|
-
* Create filter instance
|
58
|
-
* @param {fabric.Image} sourceImg - Source image to apply filter
|
59
|
-
* @param {string} type - Filter type
|
60
|
-
* @param {Object} [options] - Options of filter
|
61
|
-
* @returns {Object} Fabric object of filter
|
62
|
-
* @private
|
63
|
-
*/
|
64
|
-
_createFilter(sourceImg: any, type: any, options: any): any;
|
65
|
-
/**
|
66
|
-
* Get applied filter instance
|
67
|
-
* @param {fabric.Image} sourceImg - Source image to apply filter
|
68
|
-
* @param {string} type - Filter type
|
69
|
-
* @returns {Object} Fabric object of filter
|
70
|
-
* @private
|
71
|
-
*/
|
72
|
-
_getFilter(sourceImg: any, type: any): any;
|
73
|
-
/**
|
74
|
-
* Remove applied filter instance
|
75
|
-
* @param {fabric.Image} sourceImg - Source image to apply filter
|
76
|
-
* @param {string} type - Filter type
|
77
|
-
* @private
|
78
|
-
*/
|
79
|
-
_removeFilter(sourceImg: any, type: any): void;
|
80
|
-
/**
|
81
|
-
* Change filter class name to fabric's, especially capitalizing first letter
|
82
|
-
* @param {string} type - Filter type
|
83
|
-
* @example
|
84
|
-
* 'grayscale' -> 'Grayscale'
|
85
|
-
* @returns {string} Fabric filter class name
|
86
|
-
*/
|
87
|
-
_getFabricFilterType(type: any): any;
|
88
|
-
}
|
89
|
-
export default Filter;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/flip.d.ts
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Flip
|
4
|
-
* @class Flip
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @extends {Component}
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Flip extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Get current flip settings
|
13
|
-
* @returns {{flipX: Boolean, flipY: Boolean}}
|
14
|
-
*/
|
15
|
-
getCurrentSetting(): {
|
16
|
-
flipX: any;
|
17
|
-
flipY: any;
|
18
|
-
};
|
19
|
-
/**
|
20
|
-
* Set flipX, flipY
|
21
|
-
* @param {{flipX: Boolean, flipY: Boolean}} newSetting - Flip setting
|
22
|
-
* @returns {Promise}
|
23
|
-
*/
|
24
|
-
set(newSetting: any): Promise<{
|
25
|
-
flipX: any;
|
26
|
-
flipY: any;
|
27
|
-
angle: any;
|
28
|
-
}>;
|
29
|
-
/**
|
30
|
-
* Invert image angle for flip
|
31
|
-
* @param {boolean} isChangingFlipX - Change flipX
|
32
|
-
* @param {boolean} isChangingFlipY - Change flipY
|
33
|
-
*/
|
34
|
-
_invertAngle(isChangingFlipX: any, isChangingFlipY: any): void;
|
35
|
-
/**
|
36
|
-
* Flip objects
|
37
|
-
* @param {boolean} isChangingFlipX - Change flipX
|
38
|
-
* @param {boolean} isChangingFlipY - Change flipY
|
39
|
-
* @private
|
40
|
-
*/
|
41
|
-
_flipObjects(isChangingFlipX: any, isChangingFlipY: any): void;
|
42
|
-
/**
|
43
|
-
* Reset flip settings
|
44
|
-
* @returns {Promise}
|
45
|
-
*/
|
46
|
-
reset(): Promise<{
|
47
|
-
flipX: any;
|
48
|
-
flipY: any;
|
49
|
-
angle: any;
|
50
|
-
}>;
|
51
|
-
/**
|
52
|
-
* Flip x
|
53
|
-
* @returns {Promise}
|
54
|
-
*/
|
55
|
-
flipX(): Promise<{
|
56
|
-
flipX: any;
|
57
|
-
flipY: any;
|
58
|
-
angle: any;
|
59
|
-
}>;
|
60
|
-
/**
|
61
|
-
* Flip y
|
62
|
-
* @returns {Promise}
|
63
|
-
*/
|
64
|
-
flipY(): Promise<{
|
65
|
-
flipX: any;
|
66
|
-
flipY: any;
|
67
|
-
angle: any;
|
68
|
-
}>;
|
69
|
-
}
|
70
|
-
export default Flip;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* FreeDrawing
|
4
|
-
* @class FreeDrawing
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @extends {Component}
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class FreeDrawing extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Start free drawing mode
|
13
|
-
* @param {{width: ?number, color: ?string}} [setting] - Brush width & color
|
14
|
-
*/
|
15
|
-
start(setting: any): void;
|
16
|
-
/**
|
17
|
-
* Set brush
|
18
|
-
* @param {{width: ?number, color: ?string}} [setting] - Brush width & color
|
19
|
-
*/
|
20
|
-
setBrush(setting: any): void;
|
21
|
-
/**
|
22
|
-
* End free drawing mode
|
23
|
-
*/
|
24
|
-
end(): void;
|
25
|
-
}
|
26
|
-
export default FreeDrawing;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/icon.d.ts
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Icon
|
4
|
-
* @class Icon
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @extends {Component}
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Icon extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Add icon
|
13
|
-
* @param {string} type - Icon type
|
14
|
-
* @param {Object} options - Icon options
|
15
|
-
* @param {string} [options.fill] - Icon foreground color
|
16
|
-
* @param {string} [options.left] - Icon x position
|
17
|
-
* @param {string} [options.top] - Icon y position
|
18
|
-
* @returns {Promise}
|
19
|
-
*/
|
20
|
-
add(type: any, options: any): Promise<unknown>;
|
21
|
-
/**
|
22
|
-
* Added icon drag event
|
23
|
-
* @param {fabric.Canvas} canvas - Canvas instance
|
24
|
-
* @private
|
25
|
-
*/
|
26
|
-
_addWithDragEvent(canvas: any): void;
|
27
|
-
/**
|
28
|
-
* Register icon paths
|
29
|
-
* @param {{key: string, value: string}} pathInfos - Path infos
|
30
|
-
*/
|
31
|
-
registerPaths(pathInfos: any): void;
|
32
|
-
/**
|
33
|
-
* Set icon object color
|
34
|
-
* @param {string} color - Color to set
|
35
|
-
* @param {fabric.Path}[obj] - Current activated path object
|
36
|
-
*/
|
37
|
-
setColor(color: any, obj: any): void;
|
38
|
-
/**
|
39
|
-
* Get icon color
|
40
|
-
* @param {fabric.Path}[obj] - Current activated path object
|
41
|
-
* @returns {string} color
|
42
|
-
*/
|
43
|
-
getColor(obj: any): any;
|
44
|
-
/**
|
45
|
-
* Create icon object
|
46
|
-
* @param {string} path - Path value to create icon
|
47
|
-
* @returns {fabric.Path} Path object
|
48
|
-
*/
|
49
|
-
_createIcon(path: any): any;
|
50
|
-
}
|
51
|
-
export default Icon;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @author NHN Ent. FE Development Team <dl_javascript@nhn.com>
|
3
|
-
* @fileoverview Image loader
|
4
|
-
*/
|
5
|
-
import Component from "../interface/component";
|
6
|
-
/**
|
7
|
-
* ImageLoader components
|
8
|
-
* @extends {Component}
|
9
|
-
* @class ImageLoader
|
10
|
-
* @param {Graphics} graphics - Graphics instance
|
11
|
-
* @ignore
|
12
|
-
*/
|
13
|
-
declare class ImageLoader extends Component {
|
14
|
-
constructor(graphics: any);
|
15
|
-
/**
|
16
|
-
* Load image from url
|
17
|
-
* @param {?string} imageName - File name
|
18
|
-
* @param {?(fabric.Image|string)} img - fabric.Image instance or URL of an image
|
19
|
-
* @returns {Promise}
|
20
|
-
*/
|
21
|
-
load(imageName: any, img: any): any;
|
22
|
-
/**
|
23
|
-
* Set background image
|
24
|
-
* @param {?(fabric.Image|String)} img fabric.Image instance or URL of an image to set background to
|
25
|
-
* @returns {Promise}
|
26
|
-
* @private
|
27
|
-
*/
|
28
|
-
_setBackgroundImage(img: any): Promise<unknown>;
|
29
|
-
}
|
30
|
-
export default ImageLoader;
|
package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/line.d.ts
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Line
|
4
|
-
* @class Line
|
5
|
-
* @param {Graphics} graphics - Graphics instance
|
6
|
-
* @extends {Component}
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Line extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Start drawing line mode
|
13
|
-
* @param {{width: ?number, color: ?string}} [setting] - Brush width & color
|
14
|
-
*/
|
15
|
-
setHeadOption(setting: any): void;
|
16
|
-
/**
|
17
|
-
* Start drawing line mode
|
18
|
-
* @param {{width: ?number, color: ?string}} [setting] - Brush width & color
|
19
|
-
*/
|
20
|
-
start(setting?: {}): void;
|
21
|
-
/**
|
22
|
-
* Set brush
|
23
|
-
* @param {{width: ?number, color: ?string}} [setting] - Brush width & color
|
24
|
-
*/
|
25
|
-
setBrush(setting: any): void;
|
26
|
-
/**
|
27
|
-
* End drawing line mode
|
28
|
-
*/
|
29
|
-
end(): void;
|
30
|
-
/**
|
31
|
-
* Mousedown event handler in fabric canvas
|
32
|
-
* @param {{target: fabric.Object, e: MouseEvent}} fEvent - Fabric event object
|
33
|
-
* @private
|
34
|
-
*/
|
35
|
-
_onFabricMouseDown(fEvent: any): void;
|
36
|
-
/**
|
37
|
-
* Mousemove event handler in fabric canvas
|
38
|
-
* @param {{target: fabric.Object, e: MouseEvent}} fEvent - Fabric event object
|
39
|
-
* @private
|
40
|
-
*/
|
41
|
-
_onFabricMouseMove(fEvent: any): void;
|
42
|
-
/**
|
43
|
-
* Mouseup event handler in fabric canvas
|
44
|
-
* @param {{target: fabric.Object, e: MouseEvent}} fEvent - Fabric event object
|
45
|
-
* @private
|
46
|
-
*/
|
47
|
-
_onFabricMouseUp(): void;
|
48
|
-
/**
|
49
|
-
* create line event object properties
|
50
|
-
* @returns {Object} properties line object
|
51
|
-
* @private
|
52
|
-
*/
|
53
|
-
_createLineEventObjectProperties(): any;
|
54
|
-
}
|
55
|
-
export default Line;
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import Component from "../interface/component";
|
2
|
-
/**
|
3
|
-
* Image Rotation component
|
4
|
-
* @class Rotation
|
5
|
-
* @extends {Component}
|
6
|
-
* @param {Graphics} graphics - Graphics instance
|
7
|
-
* @ignore
|
8
|
-
*/
|
9
|
-
declare class Rotation extends Component {
|
10
|
-
constructor(graphics: any);
|
11
|
-
/**
|
12
|
-
* Get current angle
|
13
|
-
* @returns {Number}
|
14
|
-
*/
|
15
|
-
getCurrentAngle(): any;
|
16
|
-
/**
|
17
|
-
* Set angle of the image
|
18
|
-
*
|
19
|
-
* Do not call "this.setImageProperties" for setting angle directly.
|
20
|
-
* Before setting angle, The originX,Y of image should be set to center.
|
21
|
-
* See "http://fabricjs.com/docs/fabric.Object.html#setAngle"
|
22
|
-
*
|
23
|
-
* @param {number} angle - Angle value
|
24
|
-
* @returns {Promise}
|
25
|
-
*/
|
26
|
-
setAngle(angle: any): Promise<any>;
|
27
|
-
/**
|
28
|
-
* Rotate for each object
|
29
|
-
* @param {fabric.Point} oldImageCenter - Image center point before rotation
|
30
|
-
* @param {fabric.Point} newImageCenter - Image center point after rotation
|
31
|
-
* @param {number} angleDiff - Image angle difference after rotation
|
32
|
-
* @private
|
33
|
-
*/
|
34
|
-
_rotateForEachObject(oldImageCenter: any, newImageCenter: any, angleDiff: any): void;
|
35
|
-
/**
|
36
|
-
* Rotate the image
|
37
|
-
* @param {number} additionalAngle - Additional angle
|
38
|
-
* @returns {Promise}
|
39
|
-
*/
|
40
|
-
rotate(additionalAngle: any): Promise<any>;
|
41
|
-
}
|
42
|
-
export default Rotation;
|