/*
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 { ValueType, IComparable$1_$type, markStruct } from "igniteui-webcomponents-core";
import { WorksheetRegionAddress } from "igniteui-webcomponents-excel";
import { stringCompare1 } from "igniteui-webcomponents-core";
let Spreadsheet_SimpleNamedReference = /*@__PURE__*/ (() => {
    class Spreadsheet_SimpleNamedReference extends ValueType {
        constructor(a, ..._rest) {
            super();
            this._a = null;
            this._b = new WorksheetRegionAddress();
            a = (a == void 0) ? 0 : a;
            switch (a) {
                case 0: break;
                case 1:
                    {
                        let c = _rest[0];
                        let d = _rest[1];
                        this._a = c;
                        this._b = d;
                    }
                    break;
            }
        }
        compareTo(a) {
            return stringCompare1(this._a.name, a._a.name, 1);
        }
    }
    Spreadsheet_SimpleNamedReference.$t = /*@__PURE__*/ /*@__PURE__*/ markStruct(Spreadsheet_SimpleNamedReference, 'Spreadsheet_SimpleNamedReference', ValueType.$, [/*@__PURE__*/ IComparable$1_$type.specialize(-1)]).initSelfReferences();
    return Spreadsheet_SimpleNamedReference;
})();
export { Spreadsheet_SimpleNamedReference };
