UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

183 lines 6.59 kB
import { EventObject } from "@aurigma/design-atoms-model/EventObject"; var Translations = /** @class */ (function () { function Translations() { this._selectButtonTitle = "Select image"; this._editBarcodeButtonTitle = "Edit barcode"; this._doneButtonTitle = "Done"; this._handleButtonTitle = "Handle"; this._deleteButtonTitle = "Delete item"; this._editButtonTitle = "Edit item"; this._pasteLimitsExceededMsg = "Unable to paste data from clipboard. Limits exceeded."; this._charactersInParagraphMsg = "Characters in current paragraph: {{value}}/{{maxValue}}"; this._paragraphsMsg = "Paragraphs: {{value}}/{{maxValue}}"; this._totalCharactersMsg = "Total characters: {{value}}/{{maxValue}}"; this._charactersMsg = "Characters: {{value}}/{{maxValue}}"; this._valuesUpdatedEvent = new EventObject(); } Object.defineProperty(Translations.prototype, "valuesUpdatedEvent", { get: function () { return this._valuesUpdatedEvent; }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "selectButtonTitle", { get: function () { return this._selectButtonTitle; }, set: function (value) { if (this._selectButtonTitle !== value) { this._selectButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "editBarcodeButtonTitle", { get: function () { return this._editBarcodeButtonTitle; }, set: function (value) { if (this._editBarcodeButtonTitle !== value) { this._editBarcodeButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "replaceGroupContentButtonTitle", { get: function () { return this._replaceGroupContentButtonTitle; }, set: function (value) { if (this._replaceGroupContentButtonTitle !== value) { this._replaceGroupContentButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "handleButtonTitle", { get: function () { return this._handleButtonTitle; }, set: function (value) { if (this._handleButtonTitle !== value) { this._handleButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "doneButtonTitle", { get: function () { return this._doneButtonTitle; }, set: function (value) { if (this._doneButtonTitle !== value) { this._doneButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "deleteButtonTitle", { get: function () { return this._deleteButtonTitle; }, set: function (value) { if (this._deleteButtonTitle !== value) { this._deleteButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "editButtonTitle", { get: function () { return this._editButtonTitle; }, set: function (value) { if (this._editButtonTitle !== value) { this._editButtonTitle = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "pasteLimitsExceededMsg", { get: function () { return this._pasteLimitsExceededMsg; }, set: function (value) { if (this._pasteLimitsExceededMsg !== value) { this._pasteLimitsExceededMsg = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "charactersInParagraphMsg", { get: function () { return this._charactersInParagraphMsg; }, set: function (value) { if (this._charactersInParagraphMsg !== value) { this._charactersInParagraphMsg = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "paragraphsMsg", { get: function () { return this._paragraphsMsg; }, set: function (value) { if (this._paragraphsMsg !== value) { this._paragraphsMsg = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "totalCharactersMsg", { get: function () { return this._totalCharactersMsg; }, set: function (value) { if (this._totalCharactersMsg !== value) { this._totalCharactersMsg = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); Object.defineProperty(Translations.prototype, "charactersMsg", { get: function () { return this._charactersMsg; }, set: function (value) { if (this._charactersMsg !== value) { this._charactersMsg = value; this._valuesUpdatedEvent.notify(); } }, enumerable: true, configurable: true }); return Translations; }()); export { Translations }; //# sourceMappingURL=Translations.js.map