/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { Base, Type, markType } from "./type";
import { INativeUIElementFactory_$type } from "./INativeUIElementFactory";
import { List$1 } from "./List$1";
import { NativeUI } from "./NativeUI";
/**
 * @hidden
 */
export let INativeUIElementBridge_$type = new Type(null, 'INativeUIElementBridge');
/**
 * @hidden
 */
export let NativeUIComponent = /*@__PURE__*/ (() => {
    class NativeUIComponent extends Base {
        constructor() {
            super(...arguments);
            this.v = null;
            this.b = null;
            this.u = null;
        }
        get_c() {
            return 8;
        }
        get c() {
            return this.get_c();
        }
        static y(a) {
            if (!NativeUIComponent.f.contains(a)) {
                NativeUIComponent.f.add(a);
            }
        }
        static z(a, b, c) {
            for (let d = 0; d < NativeUIComponent.f.count; d++) {
                if (NativeUIComponent.f._inner[d].supportsComponent(b)) {
                    NativeUIComponent.f._inner[d].createComponent(a, b, c);
                    break;
                }
            }
        }
        static aa(a, b, c) {
            for (let d = 0; d < NativeUIComponent.f.count; d++) {
                if (NativeUIComponent.f._inner[d].supportsComponent(b)) {
                    NativeUIComponent.f._inner[d].createComponentSync(a, b, c);
                    break;
                }
            }
        }
        t(a) {
            return this.u;
        }
        q(a) {
            let b = this.t(a);
            return NativeUI.j(a, b);
        }
        af(a, b) {
            let c = this.t(a);
            NativeUI.ac(a, c, b);
        }
        o(a) {
            let b = this.s(a);
            return this.p(b, a);
        }
        ad(a, b) {
            let c = this.s(a);
            this.ae(c, a, b);
        }
        w(a, b) {
            let c = this.r(a);
            this.x(c, this, a, b);
        }
        x(a, b, c, d) {
            this.b.addHandler(a, b, c, d);
        }
        ab(a, b) {
            let c = this.r(a);
            this.ac(c, this, a, b);
        }
        ac(a, b, c, d) {
            this.b.removeHandler(a, b, c, d);
        }
        p(a, b) {
            return this.b.getValue(a, b);
        }
        ae(a, b, c) {
            this.b.setValue(a, b, c);
        }
        s(a) {
            let b = this.u;
            b = this.b.getTargetForBuildInProperty(b, a);
            return b;
        }
        r(a) {
            let b = this.u;
            b = this.b.getTargetForBuildInEvent(b, a);
            return b;
        }
        get n() {
            return this.q(9);
        }
        set n(a) {
            this.af(9, a);
        }
        get h() {
            return this.q(10);
        }
        set h(a) {
            this.af(10, a);
        }
        get j() {
            return this.q(1);
        }
        set j(a) {
            this.af(1, a);
        }
        get ah() {
            return this.q(2);
        }
        set ah(a) {
            this.af(2, a);
        }
        get ai() {
            return this.q(3);
        }
        set ai(a) {
            this.af(3, a);
        }
        get ag() {
            return this.q(5);
        }
        set ag(a) {
            this.af(5, a);
        }
        get ao() {
            return this.q(6);
        }
        set ao(a) {
            this.af(6, a);
        }
        get aj() {
            return this.q(7);
        }
        set aj(a) {
            this.af(7, a);
        }
        get g() {
            return this.q(8);
        }
        set g(a) {
            this.af(8, a);
        }
        get i() {
            return this.q(11);
        }
        set i(a) {
            this.af(11, a);
        }
        get m() {
            return this.q(12);
        }
        set m(a) {
            this.af(12, a);
        }
        get an() {
            return this.q(13);
        }
        set an(a) {
            this.af(13, a);
        }
        get am() {
            return this.q(14);
        }
        set am(a) {
            this.af(14, a);
        }
        get al() {
            return this.q(15);
        }
        set al(a) {
            this.af(15, a);
        }
        get ak() {
            return this.q(16);
        }
        set ak(a) {
            this.af(16, a);
        }
        get l() {
            return this.q(17);
        }
        set l(a) {
            this.af(17, a);
        }
        get a() {
            return this.q(18);
        }
        set a(a) {
            this.af(18, a);
        }
        get k() {
            return this.q(19);
        }
        set k(a) {
            this.af(19, a);
        }
        get d() {
            return this.b.getHorizontalAlignment(this.u);
        }
        set d(a) {
            this.b.setHorizontalAlignment(this.u, a);
        }
        get e() {
            return this.b.getVerticalAlignment(this.u);
        }
        set e(a) {
            this.b.setVerticalAlignment(this.u, a);
        }
    }
    NativeUIComponent.$t = markType(NativeUIComponent, 'NativeUIComponent');
    NativeUIComponent.f = new List$1(INativeUIElementFactory_$type, 0);
    return NativeUIComponent;
})();
