@embededitor/free 1.0.1 → 1.1.1

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/standalone.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*! Embed Editor Free 1.0.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
1
+ /*! Embed Editor Free 1.1.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
2
  /** An annotation of `EditState`'s `annotations` as `annotate.add` takes it: no `id` (the editor gives it the next), its `color` optional. */
3
3
  declare type AnnotatePiece = Unsaved<Extract<SavedAnnotation, {
4
4
  type: 'LENS';
@@ -810,11 +810,11 @@ export declare type EmbedEditorHandle = {
810
810
  }) => Promise<null>;
811
811
  /**
812
812
  * The ratio, by its name in the Aspect section, as a tap on it there: its largest window, where Focus places it.
813
- * `null` frees it, the window as it is (with the Aspect section open, the one it opened on, as Free there gives
814
- * back). The ratio in effect changes nothing. `NOT_AVAILABLE` while the host locks the ratio.
813
+ * `'ORIGINAL'` is the photo's own ratio as it is turned. `null` frees it, the window as it is, as Free there does.
814
+ * The ratio in effect changes nothing. `NOT_AVAILABLE` while the host locks the ratio.
815
815
  */
816
816
  setRatio: (input: {
817
- ratio: '1:1' | '1:2' | '16:9' | '2:1' | '3:4' | '4:3' | '9:16' | null;
817
+ ratio: '1:1' | '1:2' | '16:9' | '2:1' | '3:4' | '4:3' | '9:16' | 'ORIGINAL' | null;
818
818
  }) => Promise<null>;
819
819
  /** The image straightened to the angle Adjust's ruler shows, −45…45 degrees, the photo turning under the window. */
820
820
  straighten: (input: {
@@ -1455,7 +1455,7 @@ export declare type LangTexts = Partial<Record<MessageKey, string>>;
1455
1455
  * each with its English text. Written out here (the d.ts carries no JSON), and held equal to the dictionary's keys by
1456
1456
  * src/types.spec.ts.
1457
1457
  */
1458
- export declare type MessageKey = 'annotateAddArrow' | 'annotateAddGuide' | 'annotateArrow' | 'annotateAttachText' | 'annotateBeside' | 'annotateBox' | 'annotateBringToFront' | 'annotateCapArrow' | 'annotateCapBar' | 'annotateCapDot' | 'annotateCapNone' | 'annotateCapTriangle' | 'annotateColorDefault' | 'annotateCorners' | 'annotateCornersRound' | 'annotateCornersSoft' | 'annotateCornersSquare' | 'annotateDetach' | 'annotateDraw' | 'annotateDuplicate' | 'annotateEnd' | 'annotateEnds' | 'annotateFieldDescription' | 'annotateFieldTitle' | 'annotateFill' | 'annotateFillMedium' | 'annotateFillOpaque' | 'annotateFillOutline' | 'annotateFillSoft' | 'annotateFont' | 'annotateFormat' | 'annotateInList' | 'annotateLens' | 'annotateLensCircle' | 'annotateLensRounded' | 'annotateLine' | 'annotateLineDashed' | 'annotateLineDotted' | 'annotateLineSketch' | 'annotateLineSolid' | 'annotateLineTransparent' | 'annotateList' | 'annotateListTitle' | 'annotateLook' | 'annotateLookBox' | 'annotateLookCaption' | 'annotateLookPlain' | 'annotateMark' | 'annotateMarkDot' | 'annotateMenuValue' | 'annotateMenuValues' | 'annotateNumber' | 'annotateOpenFailed' | 'annotatePadding' | 'annotatePaddingLoose' | 'annotatePaddingNormal' | 'annotatePaddingTight' | 'annotatePath' | 'annotatePathCurve' | 'annotatePathElbow' | 'annotatePathFree' | 'annotatePathRoundedElbow' | 'annotatePathStraight' | 'annotateRemove' | 'annotateRuler' | 'annotateRulerLabel' | 'annotateRulerPlaceholder' | 'annotateShape' | 'annotateShapeEllipse' | 'annotateShapeLine' | 'annotateShapeRect' | 'annotateShapeRounded' | 'annotateSize' | 'annotateSizeL' | 'annotateSizeM' | 'annotateSizeNameL' | 'annotateSizeNameM' | 'annotateSizeNameS' | 'annotateSizeS' | 'annotateStart' | 'annotateStroke' | 'annotateStrokeDashed' | 'annotateStrokeDotted' | 'annotateStrokeMarker' | 'annotateStrokeSketch' | 'annotateStrokeSolid' | 'annotateText' | 'annotateTextPlaceholder' | 'annotateTheme' | 'annotateThemeAccent' | 'annotateThemeDark' | 'annotateThemeLight' | 'annotateTools' | 'annotateType' | 'annotateTypeArrow' | 'annotateTypeCustom' | 'annotateTypeDashed' | 'annotateTypeDouble' | 'annotateTypeLeader' | 'annotateTypeLine' | 'annotateTypeTrail' | 'annotateWeight' | 'annotateWeightExtraThick' | 'annotateWeightExtraThin' | 'annotateWeightMedium' | 'annotateWeightMediumThick' | 'annotateWeightMediumThin' | 'annotateWeightThick' | 'annotateWeightThin' | 'annotateZoom' | 'annotateZoomValue' | 'aspectFree' | 'autoFailed' | 'autoTimedOut' | 'autoTurnOn' | 'browserUnsupported' | 'buttonAnnotate' | 'buttonCancel' | 'buttonChooseAnother' | 'buttonChooseFile' | 'buttonClose' | 'buttonCopy' | 'buttonDone' | 'buttonFlip' | 'buttonFocus' | 'buttonRecenter' | 'buttonRedo' | 'buttonReset' | 'buttonResetConfirm' | 'buttonRotateLeft' | 'buttonSave' | 'buttonSaved' | 'buttonShare' | 'buttonUndo' | 'color' | 'colorBlack' | 'colorBlue' | 'colorCode' | 'colorCream' | 'colorCustom' | 'colorGreen' | 'colorKraft' | 'colorLavender' | 'colorMint' | 'colorMore' | 'colorNavy' | 'colorOchre' | 'colorOlive' | 'colorPaper' | 'colorPhoto' | 'colorPick' | 'colorPickFailed' | 'colorRed' | 'colorRose' | 'colorShades' | 'colorSky' | 'colorViolet' | 'colorWhite' | 'colorYellow' | 'compareOriginal' | 'cropAspectRatio' | 'cropScale' | 'dialogLabel' | 'errorCopyFailed' | 'errorExportFailed' | 'errorInvalidProps' | 'errorInvalidState' | 'errorLoadFailed' | 'errorMarkFailed' | 'errorShareFailed' | 'errorUnsupportedFormat' | 'errorWebglUnavailable' | 'filterDramatic' | 'filterDramaticCool' | 'filterDramaticWarm' | 'filterIntensity' | 'filterMono' | 'filterNoir' | 'filterOriginal' | 'filterSilvertone' | 'filterVivid' | 'filterVividCool' | 'filterVividWarm' | 'finetuneAuto' | 'finetuneBlackPoint' | 'finetuneBrightness' | 'finetuneBrilliance' | 'finetuneContrast' | 'finetuneExposure' | 'finetuneHighlights' | 'finetuneSaturation' | 'finetuneShadows' | 'finetuneSharpness' | 'finetuneVibrance' | 'finetuneVignette' | 'finetuneWarmth' | 'focusCenter' | 'focusFailed' | 'focusSubject' | 'frameCornerHooks' | 'frameEdgeCross' | 'frameEdgeOverlap' | 'frameEdgeSeparate' | 'frameFilm' | 'frameGallery' | 'frameLineMultiple' | 'frameLineSingle' | 'frameMatRound' | 'frameMatSharp' | 'frameNone' | 'framePhotoCorners' | 'framePolaroid' | 'frameRoundCorners' | 'imageCopied' | 'markAdjustment' | 'markAngle' | 'markColor' | 'markColorAuto' | 'markEditText' | 'markFailedSignature' | 'markFailedWatermark' | 'markFont' | 'markFontValue' | 'markGrid' | 'markLayout' | 'markMargin' | 'markOpacity' | 'markRetry' | 'markShow' | 'markSignature' | 'markSingle' | 'markSize' | 'markSkippedSignature' | 'markSkippedWatermark' | 'markSpacing' | 'markText' | 'markWatermark' | 'noticeAreasVisible' | 'noticeClose' | 'noticeDropped' | 'noticeDroppedAnnotations' | 'noticeDroppedAuto' | 'noticeDroppedFilter' | 'noticeDroppedFinetune' | 'noticeDroppedFrame' | 'noticeDroppedHiddenAreas' | 'noticeDroppedSignature' | 'noticeDroppedWatermark' | 'obfuscateDelete' | 'obfuscateHint' | 'obfuscateLimit' | 'obfuscateShape' | 'obfuscateShapeRound' | 'obfuscateShapeRounded' | 'obfuscateShapeSquare' | 'obfuscateStyle' | 'obfuscateStyleBlur' | 'obfuscateStylePixelate' | 'obfuscateStyleSolid' | 'palette' | 'paletteEarth' | 'palettePastel' | 'palettePhoto' | 'palettePhotoPastel' | 'palettePhotoVivid' | 'paletteVibrant' | 'pickerDescription' | 'pickerFormats' | 'pickerTitle' | 'pickerTitleTouch' | 'resetConfirmHint' | 'resizeHeight' | 'resizeWidth' | 'shareReady' | 'statusLoading' | 'toolAdjust' | 'toolFilter' | 'toolFrame' | 'toolObfuscate' | 'toolResize' | 'toolsLabel';
1458
+ export declare type MessageKey = 'annotateAddArrow' | 'annotateAddGuide' | 'annotateArrow' | 'annotateAttachText' | 'annotateBeside' | 'annotateBox' | 'annotateBringToFront' | 'annotateCapArrow' | 'annotateCapBar' | 'annotateCapDot' | 'annotateCapNone' | 'annotateCapTriangle' | 'annotateColorDefault' | 'annotateCorners' | 'annotateCornersRound' | 'annotateCornersSoft' | 'annotateCornersSquare' | 'annotateDetach' | 'annotateDraw' | 'annotateDuplicate' | 'annotateEnd' | 'annotateEnds' | 'annotateFieldDescription' | 'annotateFieldTitle' | 'annotateFill' | 'annotateFillMedium' | 'annotateFillOpaque' | 'annotateFillOutline' | 'annotateFillSoft' | 'annotateFont' | 'annotateFormat' | 'annotateInList' | 'annotateLens' | 'annotateLensCircle' | 'annotateLensRounded' | 'annotateLine' | 'annotateLineDashed' | 'annotateLineDotted' | 'annotateLineSketch' | 'annotateLineSolid' | 'annotateLineTransparent' | 'annotateList' | 'annotateListTitle' | 'annotateLook' | 'annotateLookBox' | 'annotateLookCaption' | 'annotateLookPlain' | 'annotateMark' | 'annotateMarkDot' | 'annotateMenuValue' | 'annotateMenuValues' | 'annotateNumber' | 'annotateOpenFailed' | 'annotatePadding' | 'annotatePaddingLoose' | 'annotatePaddingNormal' | 'annotatePaddingTight' | 'annotatePath' | 'annotatePathCurve' | 'annotatePathElbow' | 'annotatePathFree' | 'annotatePathRoundedElbow' | 'annotatePathStraight' | 'annotateRemove' | 'annotateRuler' | 'annotateRulerLabel' | 'annotateRulerPlaceholder' | 'annotateShape' | 'annotateShapeEllipse' | 'annotateShapeLine' | 'annotateShapeRect' | 'annotateShapeRounded' | 'annotateSize' | 'annotateSizeL' | 'annotateSizeM' | 'annotateSizeNameL' | 'annotateSizeNameM' | 'annotateSizeNameS' | 'annotateSizeS' | 'annotateStart' | 'annotateStroke' | 'annotateStrokeDashed' | 'annotateStrokeDotted' | 'annotateStrokeMarker' | 'annotateStrokeSketch' | 'annotateStrokeSolid' | 'annotateText' | 'annotateTextPlaceholder' | 'annotateTheme' | 'annotateThemeAccent' | 'annotateThemeDark' | 'annotateThemeLight' | 'annotateTools' | 'annotateType' | 'annotateTypeArrow' | 'annotateTypeCustom' | 'annotateTypeDashed' | 'annotateTypeDouble' | 'annotateTypeLeader' | 'annotateTypeLine' | 'annotateTypeTrail' | 'annotateWeight' | 'annotateWeightExtraThick' | 'annotateWeightExtraThin' | 'annotateWeightMedium' | 'annotateWeightMediumThick' | 'annotateWeightMediumThin' | 'annotateWeightThick' | 'annotateWeightThin' | 'annotateZoom' | 'annotateZoomValue' | 'aspectFree' | 'aspectOriginal' | 'autoFailed' | 'autoTimedOut' | 'autoTurnOn' | 'browserUnsupported' | 'buttonAnnotate' | 'buttonCancel' | 'buttonChooseAnother' | 'buttonChooseFile' | 'buttonClose' | 'buttonCopy' | 'buttonDone' | 'buttonFlip' | 'buttonFocus' | 'buttonRecenter' | 'buttonRedo' | 'buttonReset' | 'buttonResetConfirm' | 'buttonRotateLeft' | 'buttonSave' | 'buttonSaved' | 'buttonShare' | 'buttonUndo' | 'color' | 'colorBlack' | 'colorBlue' | 'colorCode' | 'colorCream' | 'colorCustom' | 'colorGreen' | 'colorKraft' | 'colorLavender' | 'colorMint' | 'colorMore' | 'colorNavy' | 'colorOchre' | 'colorOlive' | 'colorPaper' | 'colorPhoto' | 'colorPick' | 'colorPickFailed' | 'colorRed' | 'colorRose' | 'colorShades' | 'colorSky' | 'colorViolet' | 'colorWhite' | 'colorYellow' | 'compareOriginal' | 'cropAspectRatio' | 'cropScale' | 'dialogLabel' | 'errorCopyFailed' | 'errorExportFailed' | 'errorInvalidProps' | 'errorInvalidState' | 'errorLoadFailed' | 'errorMarkFailed' | 'errorShareFailed' | 'errorUnsupportedFormat' | 'errorWebglUnavailable' | 'filterDramatic' | 'filterDramaticCool' | 'filterDramaticWarm' | 'filterIntensity' | 'filterMono' | 'filterNoir' | 'filterOriginal' | 'filterSilvertone' | 'filterVivid' | 'filterVividCool' | 'filterVividWarm' | 'finetuneAuto' | 'finetuneBlackPoint' | 'finetuneBrightness' | 'finetuneBrilliance' | 'finetuneContrast' | 'finetuneExposure' | 'finetuneHighlights' | 'finetuneSaturation' | 'finetuneShadows' | 'finetuneSharpness' | 'finetuneVibrance' | 'finetuneVignette' | 'finetuneWarmth' | 'focusCenter' | 'focusFailed' | 'focusSubject' | 'frameCornerHooks' | 'frameEdgeCross' | 'frameEdgeOverlap' | 'frameEdgeSeparate' | 'frameFilm' | 'frameGallery' | 'frameLineMultiple' | 'frameLineSingle' | 'frameMatRound' | 'frameMatSharp' | 'frameNone' | 'framePhotoCorners' | 'framePolaroid' | 'frameRoundCorners' | 'imageCopied' | 'markAdjustment' | 'markAngle' | 'markColor' | 'markColorAuto' | 'markEditText' | 'markFailedSignature' | 'markFailedWatermark' | 'markFont' | 'markFontValue' | 'markGrid' | 'markLayout' | 'markMargin' | 'markOpacity' | 'markRetry' | 'markShow' | 'markSignature' | 'markSingle' | 'markSize' | 'markSkippedSignature' | 'markSkippedWatermark' | 'markSpacing' | 'markText' | 'markWatermark' | 'noticeAreasVisible' | 'noticeClose' | 'noticeDropped' | 'noticeDroppedAnnotations' | 'noticeDroppedAuto' | 'noticeDroppedFilter' | 'noticeDroppedFinetune' | 'noticeDroppedFrame' | 'noticeDroppedHiddenAreas' | 'noticeDroppedSignature' | 'noticeDroppedWatermark' | 'obfuscateDelete' | 'obfuscateHint' | 'obfuscateLimit' | 'obfuscateShape' | 'obfuscateShapeRound' | 'obfuscateShapeRounded' | 'obfuscateShapeSquare' | 'obfuscateStyle' | 'obfuscateStyleBlur' | 'obfuscateStylePixelate' | 'obfuscateStyleSolid' | 'palette' | 'paletteEarth' | 'palettePastel' | 'palettePhoto' | 'palettePhotoPastel' | 'palettePhotoVivid' | 'paletteVibrant' | 'pickerDescription' | 'pickerFormats' | 'pickerTitle' | 'pickerTitleTouch' | 'resetConfirmHint' | 'resizeHeight' | 'resizeWidth' | 'shareReady' | 'statusLoading' | 'toolAdjust' | 'toolFilter' | 'toolFrame' | 'toolObfuscate' | 'toolResize' | 'toolsLabel';
1459
1459
 
1460
1460
  export declare const mountEditor: (element: HTMLElement, options?: EmbedEditorProps) => EmbedEditorHandle & {
1461
1461
  destroy: () => void;
package/standalone.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! Embed Editor Free 1.0.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
- import { i as e, n as t, r as n, t as r } from "./standalone-CnmOcuXN.js";
1
+ /*! Embed Editor Free 1.1.1 | © 2026 Rohde Softwares | Free license, commercial use included, on one condition: the Embed Editor badge stays visible and unaltered. Removing, hiding or covering it infringes the license, see https://embededitor.com/license */
2
+ import { i as e, n as t, r as n, t as r } from "./standalone-CnqpvUnu.js";
3
3
  export { e as EmbedEditorError, r as mountEditor, t as openEditor, n as processImage };