Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aurigma/design-atoms

Package Overview
Dependencies
Maintainers
5
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurigma/design-atoms - npm Package Compare versions

Comparing version 5.35.14 to 5.35.15

4

ItemHandlers/BaseTextItemHandler.js

@@ -113,3 +113,3 @@ var __extends = (this && this.__extends) || (function () {

set: function (value) {
var _a, _b;
var _a, _b, _c;
var oldCacheFileId = (_a = this._currentTextImage) === null || _a === void 0 ? void 0 : _a.cacheFileId;

@@ -121,3 +121,3 @@ var newCacheFileId = value === null || value === void 0 ? void 0 : value.cacheFileId;

if (newCacheFileId && oldCacheFileId != newCacheFileId)
this.imageLoaderService.lockImageContainerFor(newCacheFileId, this.uniqueId);
(_c = this.imageLoaderService) === null || _c === void 0 ? void 0 : _c.lockImageContainerFor(newCacheFileId, this.uniqueId);
},

@@ -124,0 +124,0 @@ enumerable: true,

@@ -42,4 +42,4 @@ import { ItemHandler } from "./ItemHandler";

set topFrames(v: ContentItemHandler[]);
getTopFrame(index: any): ContentItemHandler;
setTopFrame(index: any, v: any): void;
getTopFrame(index: number): ContentItemHandler;
setTopFrame(index: number, v: any): void;
get bottomFrames(): ContentItemHandler[];

@@ -60,3 +60,3 @@ set bottomFrames(v: ContentItemHandler[]);

set showMaskedContent(value: boolean);
setRectangle(rectangle?: RotatedRectangleF, supressOnChanged?: boolean, forcePlaceholderSet?: boolean): void;
setRectangle(rectangle?: RotatedRectangleF, suppressOnChanged?: boolean, forcePlaceholderSet?: boolean): void;
static readonly typeName: string;

@@ -75,7 +75,7 @@ protected _createDataInstance(itemHandler?: PlaceholderItemHandler): PlaceholderHandlerData;

protected _onAddedOnCanvas(canvas: Canvas): void;
protected _onRemovedFromCanvas(canvas: any): void;
protected _onRemovedFromCanvas(canvas: Canvas): void;
_transformRectangle(startRectangle: any, endRectangle: any): void;
_startTransform(): void;
endTransform(changed: boolean, resized: boolean): void;
protected _endTransform(changed: boolean, resized: boolean, supressOnChanged?: boolean): void;
protected _endTransform(changed: boolean, resized: boolean, suppressOnChanged?: boolean): void;
protected _transformChanged(): void;

@@ -82,0 +82,0 @@ _onResized(): boolean;

@@ -288,8 +288,8 @@ var __extends = (this && this.__extends) || (function () {

// }
PlaceholderItemHandler.prototype.setRectangle = function (rectangle, supressOnChanged, forcePlaceholderSet) {
PlaceholderItemHandler.prototype.setRectangle = function (rectangle, suppressOnChanged, forcePlaceholderSet) {
if (!this.editing || forcePlaceholderSet) {
_super.prototype.setRectangle.call(this, rectangle, supressOnChanged);
_super.prototype.setRectangle.call(this, rectangle, suppressOnChanged);
}
else
this._content.setRectangle(rectangle, supressOnChanged);
this._content.setRectangle(rectangle, suppressOnChanged);
};

@@ -451,8 +451,8 @@ PlaceholderItemHandler.prototype._createDataInstance = function (itemHandler) {

};
PlaceholderItemHandler.prototype._endTransform = function (changed, resized, supressOnChanged) {
if (supressOnChanged === void 0) { supressOnChanged = false; }
PlaceholderItemHandler.prototype._endTransform = function (changed, resized, suppressOnChanged) {
if (suppressOnChanged === void 0) { suppressOnChanged = false; }
if (changed && (resized || this._startRectangle != null)) {
//TODO: rewrite to events
this.updateContentAndFrames(function (contentItemHandler) { return contentItemHandler._endTransform(changed, resized, true); });
if (!supressOnChanged)
if (!suppressOnChanged)
this._itemPropertyChangedEvent.notify(this, "transform");

@@ -482,3 +482,3 @@ }

PlaceholderItemHandler.prototype.showSelectToolbarButton = function () {
return this._permissions.get_showSelectToolbarButton();
return this.get_permissions().get_showSelectToolbarButton() && !this.isStubOrEmpty();
};

@@ -485,0 +485,0 @@ PlaceholderItemHandler.prototype.showHandleButton = function () {

{
"version": "5.35.14",
"version": "5.35.15",
"name": "@aurigma/design-atoms",

@@ -4,0 +4,0 @@ "license": "SEE LICENSE IN License.md",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc