@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.
Files changed (156) hide show
  1. package/internal-do-not-import-from-here/core/messaging/InternalTopics.d.ts +3 -0
  2. package/internal-do-not-import-from-here/core/services/ServiceManifestProviderInternal.d.ts +2 -2
  3. package/internal-do-not-import-from-here/core/utils/Utils.d.ts +6 -6
  4. package/internal-do-not-import-from-here/index.d.ts +5 -5
  5. package/internal-do-not-import-from-here/manifests/omnia.fx.ux.manifest.json +1 -1
  6. package/internal-do-not-import-from-here/runtime/core/InternalWebComponentBootstrapper.d.ts +4 -4
  7. package/internal-do-not-import-from-here/runtime/core/ManifestByElementLoader.d.ts +1 -0
  8. package/internal-do-not-import-from-here/runtime/core/PrivateWebComponentBootstrapper.d.ts +7 -7
  9. package/internal-do-not-import-from-here/ux/Exposes.d.ts +1 -1
  10. package/internal-do-not-import-from-here/ux/InternalDefineWebComponent.d.ts +20 -36
  11. package/internal-do-not-import-from-here/ux/admin/queryableproperties/QueryablePropertiesJourneyConstants.d.ts +4 -6
  12. package/internal-do-not-import-from-here/ux/enterpriseproperties/picker/EnterprisePropertyPicker.d.ts +17 -0
  13. package/internal-do-not-import-from-here/ux/imagetransformation/utils.d.ts +6 -6
  14. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageRollup/ImageRollup.d.ts +1 -66
  15. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformCropper/ImageTransformCropper.d.ts +280 -44
  16. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.css.d.ts +9 -0
  17. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor.d.ts +18 -17
  18. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformEditor/ImageTransformEditor_old.d.ts +0 -66
  19. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter.d.ts +130 -17
  20. package/internal-do-not-import-from-here/ux/imagetransformer/Components/ImageTransformFilter/ImageTransformFilter_old.d.ts +23 -0
  21. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.css.d.ts +6 -1
  22. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer.d.ts +4 -5
  23. package/internal-do-not-import-from-here/ux/imagetransformer/ImageTransformer_older.d.ts +1 -40
  24. package/internal-do-not-import-from-here/ux/layoutcanvas/editor/LayoutEditorCanvas.d.ts +6 -6
  25. package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.css.d.ts +3 -4
  26. package/internal-do-not-import-from-here/ux/oxide/divider/Divider.d.ts +8 -8
  27. package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +134 -464
  28. package/internal-do-not-import-from-here/ux/oxide/list/List.css.d.ts +1 -1
  29. package/internal-do-not-import-from-here/ux/oxide/list/List.d.ts +11 -0
  30. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.css.d.ts +1 -1
  31. package/internal-do-not-import-from-here/ux/oxide/panel/Panel.d.ts +6 -5
  32. package/internal-do-not-import-from-here/ux/oxide/slider/Slider.d.ts +2 -2
  33. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.css.d.ts +4 -1
  34. package/internal-do-not-import-from-here/ux/oxide/toolbar/Toolbar.d.ts +16 -5
  35. package/internal-do-not-import-from-here/ux/theming-v2/designkits/default/index.d.ts +1 -0
  36. package/internal-do-not-import-from-here/ux/theming-v2/{skins/default/useDefaultSkin.d.ts → designkits/default/useDefaultDesignKit.d.ts} +1 -1
  37. package/internal-do-not-import-from-here/ux/theming-v2/designkits/documentation/index.d.ts +1 -0
  38. package/internal-do-not-import-from-here/ux/theming-v2/{skins/documentation/useDocumentationSkin.d.ts → designkits/documentation/useDocumentationDesignKit.d.ts} +1 -1
  39. package/internal-do-not-import-from-here/ux/theming-v2/designkits/editor/index.d.ts +1 -0
  40. package/internal-do-not-import-from-here/ux/theming-v2/{skins/editor/useEditorSkin.d.ts → designkits/editor/useEditorDesignKit.d.ts} +1 -1
  41. package/internal-do-not-import-from-here/ux/theming-v2/designkits/index.d.ts +1 -0
  42. package/internal-do-not-import-from-here/ux/theming-v2/{skins/useSkins.d.ts → designkits/useDesignKits.d.ts} +1 -1
  43. package/internal-do-not-import-from-here/ux/theming-v2/index.d.ts +1 -1
  44. package/internal-do-not-import-from-here/ux/use/UseIcon.d.ts +10 -0
  45. package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +9 -2
  46. package/internal-do-not-import-from-here/ux/velcron/core/stores/ReactivitySystem.d.ts +2 -2
  47. package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +1 -1
  48. package/internal-do-not-import-from-here/vue/VueApp.d.ts +2 -2
  49. package/package.json +3 -3
  50. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/action.d.ts +0 -101
  51. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addIcon.d.ts +0 -20
  52. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addImageObject.d.ts +0 -16
  53. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addObject.d.ts +0 -17
  54. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addShape.d.ts +0 -27
  55. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/addText.d.ts +0 -26
  56. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/applyFilter.d.ts +0 -20
  57. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeIconColor.d.ts +0 -17
  58. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeShape.d.ts +0 -28
  59. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeText.d.ts +0 -17
  60. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/changeTextStyle.d.ts +0 -25
  61. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/clearObjects.d.ts +0 -16
  62. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/flip.d.ts +0 -16
  63. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/loadImage.d.ts +0 -17
  64. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/removeFilter.d.ts +0 -17
  65. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/removeObject.d.ts +0 -16
  66. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/resizeCanvasDimension.d.ts +0 -16
  67. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/rotate.d.ts +0 -18
  68. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/setObjectPosition.d.ts +0 -21
  69. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/command/setObjectProperties.d.ts +0 -25
  70. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/cropper.d.ts +0 -118
  71. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/filter.d.ts +0 -89
  72. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/flip.d.ts +0 -70
  73. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/freeDrawing.d.ts +0 -26
  74. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/icon.d.ts +0 -51
  75. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/imageLoader.d.ts +0 -30
  76. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/line.d.ts +0 -55
  77. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/rotation.d.ts +0 -42
  78. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/shape.d.ts +0 -144
  79. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/component/text.d.ts +0 -173
  80. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/consts.d.ts +0 -243
  81. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/dependencies/tui-code-snippet.d.ts +0 -1
  82. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/cropper.d.ts +0 -26
  83. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/freeDrawing.d.ts +0 -27
  84. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/lineDrawing.d.ts +0 -27
  85. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/shape.d.ts +0 -26
  86. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/drawingMode/text.d.ts +0 -26
  87. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/arrowLine.d.ts +0 -2
  88. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/blur.d.ts +0 -8
  89. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/colorFilter.d.ts +0 -8
  90. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/cropzone.d.ts +0 -10
  91. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/emboss.d.ts +0 -8
  92. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/mask.d.ts +0 -8
  93. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/extension/sharpen.d.ts +0 -8
  94. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/factory/command.d.ts +0 -27
  95. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/factory/errorMessage.d.ts +0 -5
  96. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/graphics.d.ts +0 -569
  97. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/imagetracer.d.ts +0 -56
  98. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/shapeFilterFillHelper.d.ts +0 -44
  99. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/helper/shapeResizeHelper.d.ts +0 -20
  100. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/imageEditor.d.ts +0 -1003
  101. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/index.d.ts +0 -15
  102. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/command.d.ts +0 -49
  103. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/component.d.ts +0 -76
  104. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interface/drawingMode.d.ts +0 -26
  105. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/interfaces.d.ts +0 -283
  106. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/invoker.d.ts +0 -91
  107. package/internal-do-not-import-from-here/ux/imagetransformer/tui-image-editor/util.d.ts +0 -154
  108. package/internal-do-not-import-from-here/ux/mediapicker/components/ImageEditor.css.d.ts +0 -15
  109. package/internal-do-not-import-from-here/ux/mediapicker/components/ImageEditor.d.ts +0 -91
  110. package/internal-do-not-import-from-here/ux/theming-v2/skins/default/index.d.ts +0 -1
  111. package/internal-do-not-import-from-here/ux/theming-v2/skins/documentation/index.d.ts +0 -1
  112. package/internal-do-not-import-from-here/ux/theming-v2/skins/editor/index.d.ts +0 -1
  113. package/internal-do-not-import-from-here/ux/theming-v2/skins/index.d.ts +0 -1
  114. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/Colors.d.ts +0 -0
  115. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/ThemeDefinitionInstance.d.ts +0 -0
  116. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/core/index.d.ts +0 -0
  117. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/DefinitionRegistrations.d.ts +0 -0
  118. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/ThemeRegistrations.d.ts +0 -0
  119. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/BannerImageTop.d.ts +0 -0
  120. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupAvatar.d.ts +0 -0
  121. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageLarge.d.ts +0 -0
  122. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageSmall.d.ts +0 -0
  123. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageTop.d.ts +0 -0
  124. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/RollupImageTopAvatar.d.ts +0 -0
  125. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/cards/index.d.ts +0 -0
  126. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Contentblocks.d.ts +0 -0
  127. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Image.d.ts +0 -0
  128. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/ImageText.d.ts +0 -0
  129. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Quote.d.ts +0 -0
  130. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/Text.d.ts +0 -0
  131. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/content/index.d.ts +0 -0
  132. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/BlockTextIcon.d.ts +0 -0
  133. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/Pageheader.d.ts +0 -0
  134. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/headers/index.d.ts +0 -0
  135. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/definitions/index.d.ts +0 -0
  136. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/Blueprints.d.ts +0 -0
  137. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/SpacingTypes.d.ts +0 -0
  138. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/ThemeDefinitions.d.ts +0 -0
  139. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/TypographyTypes.d.ts +0 -0
  140. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/default/themes/index.d.ts +0 -0
  141. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/ApiRegistrations.d.ts +0 -0
  142. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/Blueprints.d.ts +0 -0
  143. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/SpacingTypes.d.ts +0 -0
  144. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/ThemeDefinitions.d.ts +0 -0
  145. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/TypographyTypes.d.ts +0 -0
  146. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/documentation/themes/index.d.ts +0 -0
  147. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/ThemeRegistrations.d.ts +0 -0
  148. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/Blueprints.d.ts +0 -0
  149. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/SpacingTypes.d.ts +0 -0
  150. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/ThemeDefinitions.d.ts +0 -0
  151. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/TypographyTypes.d.ts +0 -0
  152. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/editor/themes/index.d.ts +0 -0
  153. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/DefinitionRegistrations.d.ts +0 -0
  154. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/headers/HeaderWithImage.d.ts +0 -0
  155. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/property/PropertiesWithColumLayout.d.ts +0 -0
  156. /package/internal-do-not-import-from-here/ux/theming-v2/{skins → designkits}/pages/definitions/property/PropertiesWithRowLayout.d.ts +0 -0
@@ -1,17 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Change icon color
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {number} id - object id
7
- * @param {string} color - Color for icon
8
- * @returns {Promise}
9
- */
10
- execute(graphics: any, id: any, color: any): Promise<void>;
11
- /**
12
- * @param {Graphics} graphics - Graphics instance
13
- * @returns {Promise}
14
- */
15
- undo(graphics: any): Promise<void>;
16
- };
17
- export default command;
@@ -1,28 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Change a shape
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {number} id - object id
7
- * @param {Object} options - Shape options
8
- * @param {string} [options.fill] - Shape foreground color (ex: '#fff', 'transparent')
9
- * @param {string} [options.stroke] - Shape outline color
10
- * @param {number} [options.strokeWidth] - Shape outline width
11
- * @param {number} [options.width] - Width value (When type option is 'rect', this options can use)
12
- * @param {number} [options.height] - Height value (When type option is 'rect', this options can use)
13
- * @param {number} [options.rx] - Radius x value (When type option is 'circle', this options can use)
14
- * @param {number} [options.ry] - Radius y value (When type option is 'circle', this options can use)
15
- * @param {number} [options.left] - Shape x position
16
- * @param {number} [options.top] - Shape y position
17
- * @param {number} [options.isRegular] - Whether resizing shape has 1:1 ratio or not
18
- * @param {boolean} isSilent - is silent execution or not
19
- * @returns {Promise}
20
- */
21
- execute(graphics: any, id: any, options: any, isSilent: any): any;
22
- /**
23
- * @param {Graphics} graphics - Graphics instance
24
- * @returns {Promise}
25
- */
26
- undo(graphics: any): any;
27
- };
28
- export default command;
@@ -1,17 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Change a text
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {number} id - object id
7
- * @param {string} text - Changing text
8
- * @returns {Promise}
9
- */
10
- execute(graphics: any, id: any, text: any): any;
11
- /**
12
- * @param {Graphics} graphics - Graphics instance
13
- * @returns {Promise}
14
- */
15
- undo(graphics: any): any;
16
- };
17
- export default command;
@@ -1,25 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Change text styles
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {number} id - object id
7
- * @param {Object} styles - text styles
8
- * @param {string} [styles.fill] Color
9
- * @param {string} [styles.fontFamily] Font type for text
10
- * @param {number} [styles.fontSize] Size
11
- * @param {string} [styles.fontStyle] Type of inclination (normal / italic)
12
- * @param {string} [styles.fontWeight] Type of thicker or thinner looking (normal / bold)
13
- * @param {string} [styles.textAlign] Type of text align (left / center / right)
14
- * @param {string} [styles.textDecoration] Type of line (underline / line-through / overline)
15
- * @param {boolean} isSilent - is silent execution or not
16
- * @returns {Promise}
17
- */
18
- execute(graphics: any, id: any, styles: any, isSilent: any): any;
19
- /**
20
- * @param {Graphics} graphics - Graphics instance
21
- * @returns {Promise}
22
- */
23
- undo(graphics: any): any;
24
- };
25
- export default command;
@@ -1,16 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Clear all objects without background (main) image
5
- * @param {Graphics} graphics - Graphics instance
6
- * @returns {Promise}
7
- */
8
- execute(graphics: any): Promise<void>;
9
- /**
10
- * @param {Graphics} graphics - Graphics instance
11
- * @returns {Promise}
12
- * @ignore
13
- */
14
- undo(graphics: any): Promise<void>;
15
- };
16
- export default command;
@@ -1,16 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * flip an image
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {string} type - 'flipX' or 'flipY' or 'reset'
7
- * @returns {Promise}
8
- */
9
- execute(graphics: any, type: any): any;
10
- /**
11
- * @param {Graphics} graphics - Graphics instance
12
- * @returns {Promise}
13
- */
14
- undo(graphics: any): any;
15
- };
16
- export default command;
@@ -1,17 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Load a background (main) image
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {string} imageName - Image name
7
- * @param {string} imgUrl - Image Url
8
- * @returns {Promise}
9
- */
10
- execute(graphics: any, imageName: any, imgUrl: any): any;
11
- /**
12
- * @param {Graphics} graphics - Graphics instance
13
- * @returns {Promise}
14
- */
15
- undo(graphics: any): any;
16
- };
17
- export default command;
@@ -1,17 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Remove a filter from an image
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {string} type - Filter type
7
- * @returns {Promise}
8
- */
9
- execute(graphics: any, type: any): any;
10
- /**
11
- * @param {Graphics} graphics - Graphics instance
12
- * @param {string} type - Filter type
13
- * @returns {Promise}
14
- */
15
- undo(graphics: any, type: any): any;
16
- };
17
- export default command;
@@ -1,16 +0,0 @@
1
- declare const command: {
2
- name: string;
3
- /**
4
- * Remove an object
5
- * @param {Graphics} graphics - Graphics instance
6
- * @param {number} id - object id
7
- * @returns {Promise}
8
- */
9
- execute(graphics: any, id: 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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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;