UNPKG

igniteui-webcomponents-inputs

Version:

Ignite UI Web Components inputs components.

58 lines (57 loc) 2.36 kB
import { ColorEditorPanelSelectedValueChangedEventArgs as ColorEditorPanelSelectedValueChangedEventArgs_internal } from "./ColorEditorPanelSelectedValueChangedEventArgs"; import { brushToString, stringToBrush } from "igniteui-webcomponents-core"; var IgcColorEditorPanelSelectedValueChangedEventArgs = /** @class */ /*@__PURE__*/ (function () { function IgcColorEditorPanelSelectedValueChangedEventArgs() { this._implementation = this.createImplementation(); this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } } IgcColorEditorPanelSelectedValueChangedEventArgs.prototype.createImplementation = function () { return new ColorEditorPanelSelectedValueChangedEventArgs_internal(); }; Object.defineProperty(IgcColorEditorPanelSelectedValueChangedEventArgs.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcColorEditorPanelSelectedValueChangedEventArgs.prototype.onImplementationCreated = function () { }; IgcColorEditorPanelSelectedValueChangedEventArgs.prototype._provideImplementation = function (i) { this._implementation = i; this._implementation.externalObject = this; this.onImplementationCreated(); if (this._initializeAdapters) { this._initializeAdapters(); } }; Object.defineProperty(IgcColorEditorPanelSelectedValueChangedEventArgs.prototype, "oldValue", { get: function () { return brushToString(this.i.oldValue); }, set: function (v) { this.i.oldValue = stringToBrush(v); }, enumerable: false, configurable: true }); Object.defineProperty(IgcColorEditorPanelSelectedValueChangedEventArgs.prototype, "newValue", { get: function () { return brushToString(this.i.newValue); }, set: function (v) { this.i.newValue = stringToBrush(v); }, enumerable: false, configurable: true }); return IgcColorEditorPanelSelectedValueChangedEventArgs; }()); export { IgcColorEditorPanelSelectedValueChangedEventArgs };