UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

1,151 lines (1,141 loc) 5.72 MB
/*! 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 { __extends, __values, __generator, __assign } from 'tslib'; import { Component, createElement, Children, cloneElement } from 'react'; import { Base, markType, markEnum, List$1, Delegate_$type, Dictionary$2, Number_$type, delegateCombine, delegateRemove, fromEnum, PropertyChangedEventArgs, NotifyCollectionChangedEventArgs, ObservableCollection$1, Brush, Color, FontInfo, DeviceUtils, truncate, Thickness, CornerRadius, enumGetBox, Type, StringBuilder, stringIsNullOrEmpty, isNaN_, stringEndsWith, dateMinValue, DataSourceSchemaPropertyType_$type, DataSourceSummaryOperand_$type, EventArgs, CountSummaryCalculator, AverageSummaryCalculator, SumSummaryCalculator, MaxSummaryCalculator, MinSummaryCalculator, BindingFormatter, runOn, SyncableObservableCollection$2, SummaryDescription, IDataSourceUpdateNotifier_$type, SortDescription, stringContains, stringReplace, String_$type, tryParseNumber, INotifyPropertyChanged_$type, RectData, toNullable, ListSortDirection_$type, nullableNotEquals, nullableConcat, unwrapNullable, JsonDictionaryItem, typeGetValue, typeCast, Date_$type, FilterExpressionParsingHelper, FilterFactory, tryParseInt32_1, CultureInfo, stringStartsWith, dateGetMonth, dateTryParse, stringFormat, AppearanceHelper, Rect, Boolean_$type, BrushUtil, EnumUtil, FontUtil, HashSet$1, stringEmpty, PagedDataSource, SRProvider, stringIsNullOrWhiteSpace, IDataSource_$type, VirtualDataSource, LocalDataSource, DataSourceLocalDataProvider, createGuid, FilterExpressionCollection, SortGroupParser, SummaryParser, Point_$type, intDivide, dateNow, timeSpanTotalSeconds, fromEn, ControlDisplayDensity_$type, ArgumentException, IEditableDataSource_$type, DataSourceSectionHeaderDisplayMode_$type, DataSourceSummaryScope_$type, DataSourceRootSummariesChangedEventArgs, InvalidOperationException, stringRemove, NotSupportedException, Convert, JsonDictionaryObject, JsonDictionaryArray, JsonDictionaryValue, JsonDictionaryParser, FunctionFilterExpression, OperationFilterExpression, LiteralFilterExpression, PropertyReferenceFilterExpression, ScrollbarStyle_$type, Guid, PropertyUpdatedEventArgs, FilterExpressionEnvironment, PlatformAPIHelper, BrushCollectionUtil, FastIterationDictionary$2, IToolbarContextAccessor_$type, IToolbarTarget_$type, Stack$1, DataSourceSpecialRow, IList$1_$type, DefaultSectionInformation, getInstanceType, Array_$type, ICommandAvailabilityListener_$type, ICommandStateChangedListener_$type, SvgIconRegistry, ToolActionIconMenuInfo, ToolActionGroupHeaderInfo, ToolContextBindingInfo, ToolActionInfo, ToolActionIconButtonInfo, ToolActionButtonPairInfo, ToolActionLabelInfo, ToolActionCheckboxInfo, ToolActionCheckboxListInfo, ToolActionSubPanelInfo, ToolActionButtonInfo, nullableEquals, StringComparer, isDigit, dateParse, EasingFunctions, DataSourceRowType_$type, timeSpanFromMilliseconds, timeSpanTotalMilliseconds, DomWrapper_$type, DataContext, IDataLegendTarget_$type, NativeUI, DataSeriesPropertyType_$type, BaseControlTheme_$type, FastReflectionHelper, isPositiveInfinity, Size, ComponentSizeHelpers, ensureBool, ensureEnum, brushToString, stringToBrush, arrayFindByName, NamePatcher, TypeRegistrar, isValidProp, getModifiedProps, fromBrushCollection, toBrushCollection, toSpinal, initializePropertiesFromCss, IgCollection, ContentChildrenManager, CollectionAdapter, NotifyCollectionChangedAction, IgrPropertyUpdatedEventArgs, MouseButton_$type, SyncableObservableCollection$1, IgrProvideCalculatorEventArgs, CanvasViewRenderer, RenderingContext, stringFormat1, ITickProvider_$type, Rectangle, Line, TextBlock, TestRandomness, DefaultRandomnessSource, PointUtil, Random, Path, TransformGroup, TranslateTransform, RotateTransform, DoubleAnimator, PathFigure, LineSegment, PathGeometry, Geometry, Popup, BaseDOMEventProxy, KeyFrameAnimationFactory, AnimationKeyFrameEffect, ElevationHelper, NativeUIComponent, AnimationKeyFrameEffectTiming, AnimationKeyFrameProperty, CanvasGestureDOMEventProxy, IgrFilterExpressionCollection, IScrollerKeyboardListener_$type, ReactRenderer, IExecutionContext_$type, PortalManager, Scroller, ReactWrapper, fromRect, IgrDataSourceRootSummariesChangedEventArgs, toSize, fromSize, NativeUICheckboxListKeysClearedEventArgs, NativeUICheckboxListIndexTypeChangedEventArgs, NativeUICheckboxListChangeEventArgs, NativeUICheckboxListIndexType_$type, INativeUICheckboxListBridge_$type, NativeUICheckboxList, INativeUIElementFactory_$type, IgrLocalDataSourceModule, IgrNumberFormatSpecifierModule, IgrDateTimeFormatSpecifierModule, IgrTemplateContainer, IgrTemplateContentModule, SizeData, IgrKeyEventArgs, Localization, stringSplit, interfaceToInternal, ReactTemplateAdapter, IgrTemplateContainerModule, IgrChildContentModule, parseBool } from 'igniteui-react-core'; import { XButton, XIcon, XCheckbox, XLabel, XInputGroup, XPrefix, XInput, InputGroupDisplayType_$type, XDatePicker, IconVisualModelExport, ElevationHelper as ElevationHelper$1, XComponentBridge, NativeUIXInputsFactory, IgrXCheckboxModule, IgrXInputGroupModule, IgrXButtonModule, XButtonGroup, XSuffix, ThemeResolver, IgrInputChangeEventArgs, IgrXIconModule } from 'igniteui-react-inputs'; import { ToolActionCollection, LayoutSelectedKeysCollection, LayoutPrimaryKeyValue, ToolActionCheckboxListIndexType_$type, NativeUILayoutFactory, IgrToolbarModule, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionCollection, PropertyEditorDataSource, PropertyEditorValueType_$type, PropertyEditorTreeTransformer, IgrPropertyEditorPropertyDescriptionCollection, IgrPropertyEditorPropertyDescriptionModule, IgrPropertyEditorPropertyDescription } from 'igniteui-react-layouts'; import { createPortal } from 'react-dom'; import { WCNativeHelper, BaseElement, NumberEventArgs, VoidEventArgs, IgrVoidEventArgs, IgrNumberEventArgs } from 'igniteui-react'; import { IgcFilteringOperand, IgcPivotDateDimension, IgcBooleanFilteringOperand, IgcDateFilteringOperand, IgcSummaryOperand, IgcDateSummaryOperand, IgcDateTimeFilteringOperand, IgcNumberFilteringOperand, IgcNumberSummaryOperand, IgcStringFilteringOperand, IgcTimeFilteringOperand, IgcTimeSummaryOperand } from 'grids/combined'; import { html } from 'lit-html'; /* 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. */ /** * @hidden */ var PrimaryKeyValue = /** @class */ /*@__PURE__*/ (function (_super) { __extends(PrimaryKeyValue, _super); function PrimaryKeyValue(a, b) { var _this = _super.call(this) || this; _this.a = null; _this.b = null; _this.a = a; _this.b = b; return _this; } Object.defineProperty(PrimaryKeyValue.prototype, "key", { get: function () { return this.a; }, set: function (a) { this.a = a; }, enumerable: false, configurable: true }); Object.defineProperty(PrimaryKeyValue.prototype, "value", { get: function () { return this.b; }, set: function (a) { this.b = a; }, enumerable: false, configurable: true }); PrimaryKeyValue.createIdentityKey = function (a) { return new PrimaryKeyValue(null, [a]); }; PrimaryKeyValue.prototype.equals = function (a) { var b = a; if (b == null) { return false; } if (b.b == null && this.b == null) { return true; } if (b.b.length != this.b.length) { return false; } if (this.a == null && b.a == null && this.b.length == 1 && b.b.length == 1) { var v1_ = this.b[0]; var v2_ = b.b[0]; return this.f(v1_, v2_); } for (var c = 0; c < this.b.length; c++) { if (!this.f(this.b[c], b.b[c])) { return false; } } return true; }; PrimaryKeyValue.prototype.f = function (a, b) { if (a == null && b == null) { return true; } if (a == null && b != null) { return false; } return Base.equalsStatic(a, b); }; PrimaryKeyValue.prototype.getHashCode = function () { if (this.b == null || this.b.length == 0) { return 0; } var a = 0; a = this.i(this.b[0]); for (var b = 1; b < this.b.length; b++) { a = a * 17 + this.i(this.b[b]); } return a; }; PrimaryKeyValue.prototype.i = function (val_) { if (val_ == null) { return 0; } return Base.getHashCodeStatic(val_); }; PrimaryKeyValue.$t = markType(PrimaryKeyValue, 'PrimaryKeyValue'); return PrimaryKeyValue; }(Base)); /* 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. */ var CheckboxListIndexType = /*@__PURE__*/ (function (CheckboxListIndexType) { CheckboxListIndexType[CheckboxListIndexType["Selected"] = 0] = "Selected"; CheckboxListIndexType[CheckboxListIndexType["DeSelected"] = 1] = "DeSelected"; return CheckboxListIndexType; })({}); /** * @hidden */ var CheckboxListIndexType_$type = /*@__PURE__*/ markEnum('CheckboxListIndexType', 'Selected,0|DeSelected,1'); /* 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. */ /** * @hidden */ var GridSelectedKeysCollection = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridSelectedKeysCollection, _super); function GridSelectedKeysCollection() { var _this = _super.call(this, PrimaryKeyValue.$, 0) || this; _this.ak = new List$1(Delegate_$type, 0); _this.ah = false; _this.af = true; _this.ai = new Dictionary$2(PrimaryKeyValue.$, Number_$type, 0); _this.aj = new Dictionary$2(Number_$type, PrimaryKeyValue.$, 0); return _this; } Object.defineProperty(GridSelectedKeysCollection.prototype, "ae", { get: function () { return this; }, enumerable: false, configurable: true }); GridSelectedKeysCollection.prototype.an = function (a) { this.collectionChanged = delegateCombine(this.collectionChanged, a); }; GridSelectedKeysCollection.prototype.am = function (a) { this.ak.add(a); }; GridSelectedKeysCollection.prototype.ao = function (a) { this.ak.remove(a); }; GridSelectedKeysCollection.prototype.ap = function (a) { this.collectionChanged = delegateRemove(this.collectionChanged, a); }; Object.defineProperty(GridSelectedKeysCollection.prototype, "ag", { get: function () { return this.af; }, set: function (a) { this.af = a; }, enumerable: false, configurable: true }); GridSelectedKeysCollection.prototype.n = function (a) { _super.prototype.n.call(this, a); if (this.ag) { this.ai.addItem(a, this.count - 1); this.aj.addItem(this.count - 1, a); } }; GridSelectedKeysCollection.prototype.o = function (a) { var e_1, _a; var b = this.count; _super.prototype.o.call(this, a); if (this.ag) { try { for (var _b = __values(fromEnum(a)), _c = _b.next(); !_c.done; _c = _b.next()) { var c = _c.value; this.ai.addItem(c, b); this.aj.addItem(b, c); b++; } } catch (e_1_1) { e_1 = { error: e_1_1 }; } finally { try { if (_c && !_c.done && (_a = _b.return)) _a.call(_b); } finally { if (e_1) throw e_1.error; } } } }; GridSelectedKeysCollection.prototype.p = function () { var e_2, _a, e_3, _b; var a = new List$1(Delegate_$type, 0); try { for (var _c = __values(fromEnum(this.ak)), _d = _c.next(); !_d.done; _d = _c.next()) { var b = _d.value; a.add(b); } } catch (e_2_1) { e_2 = { error: e_2_1 }; } finally { try { if (_d && !_d.done && (_a = _c.return)) _a.call(_c); } finally { if (e_2) throw e_2.error; } } try { for (var _e = __values(fromEnum(a)), _f = _e.next(); !_f.done; _f = _e.next()) { var c = _f.value; c(); } } catch (e_3_1) { e_3 = { error: e_3_1 }; } finally { try { if (_f && !_f.done && (_b = _e.return)) _b.call(_e); } finally { if (e_3) throw e_3.error; } } _super.prototype.p.call(this); if (this.ag) { this.ai.clear(); this.aj.clear(); } }; GridSelectedKeysCollection.prototype.u = function (a) { if (this.ag) { if (this.aj.containsKey(a)) { var b = this.aj.item(a); this.ai.removeItem(b); this.aj.removeItem(a); for (var c = a + 1; c < this.count; c++) { if (this.aj.containsKey(c)) { var d = this.aj.item(c); this.aj.removeItem(c); this.aj.addItem(c - 1, d); this.ai.item(d, c - 1); } } } } var e = this._inner[a]; if (a == 0) { this._inner.shift(); } else { this._inner.splice(a, 1); } this.ad(new PropertyChangedEventArgs("Count")); this.ad(new PropertyChangedEventArgs("Item[]")); if (!this.ah) { this.ac(new NotifyCollectionChangedEventArgs(1, 1, e, a)); } }; GridSelectedKeysCollection.prototype.v = function (index_, numToRemove_) { _super.prototype.v.call(this, index_, numToRemove_); if (this.ag) { for (var a = index_; a < index_ + numToRemove_; a++) { if (this.aj.containsKey(a)) { var b = this.aj.item(a); this.ai.removeItem(b); this.aj.removeItem(a); } } } }; GridSelectedKeysCollection.prototype.x = function (a, b) { _super.prototype.x.call(this, a, b); if (this.ag) { if (this.aj.containsKey(a)) { var c = this.aj.item(a); this.aj.item(a, b); this.ai.removeItem(c); this.ai.addItem(b, a); } } }; GridSelectedKeysCollection.prototype.r = function (a, b) { _super.prototype.r.call(this, a, b); if (this.ag) { for (var c = a; c < this.count; c++) { var d = this._inner[c]; if (this.ai.containsKey(d)) { this.ai.item(d, c); this.aj.removeItem(c); this.aj.addItem(c, d); } else { this.ai.addItem(d, c); this.aj.addItem(c, d); } } } }; GridSelectedKeysCollection.prototype.al = function (a) { if (this.ag) { if (this.ai.containsKey(a)) { return this.ai.item(a); } return -1; } return this.indexOf(a); }; GridSelectedKeysCollection.$t = markType(GridSelectedKeysCollection, 'GridSelectedKeysCollection', ObservableCollection$1.$.specialize(PrimaryKeyValue.$)); return GridSelectedKeysCollection; }(ObservableCollection$1)); /* 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. */ /** * @hidden */ var GridStyleRepository = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridStyleRepository, _super); function GridStyleRepository() { return _super !== null && _super.apply(this, arguments) || this; } Object.defineProperty(GridStyleRepository, "bo", { get: function () { if (GridStyleRepository.at == null) { var a_1 = "#babfc7"; GridStyleRepository.at = ((function () { var $ret = new Brush(); $ret.fill = a_1; return $ret; })()); } return GridStyleRepository.at; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bq", { get: function () { if (GridStyleRepository.av == null) { var a_2 = "#dde2eb"; GridStyleRepository.av = ((function () { var $ret = new Brush(); $ret.fill = a_2; return $ret; })()); } return GridStyleRepository.av; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bi", { get: function () { if (GridStyleRepository.an == null) { GridStyleRepository.an = ((function () { var $ret = new Brush(); $ret.color = Color.u(255, 224, 224, 224); return $ret; })()); } return GridStyleRepository.an; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a8", { get: function () { if (GridStyleRepository.ad == null) { var a_3 = "#babfc7"; GridStyleRepository.ad = ((function () { var $ret = new Brush(); $ret.fill = a_3; return $ret; })()); } return GridStyleRepository.ad; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a6", { get: function () { if (GridStyleRepository.ab == null) { var a_4 = "#babfc7"; GridStyleRepository.ab = ((function () { var $ret = new Brush(); $ret.fill = a_4; return $ret; })()); } return GridStyleRepository.ab; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bs", { get: function () { if (GridStyleRepository.ax == null) { var a_5 = "#ff80ab"; GridStyleRepository.ax = ((function () { var $ret = new Brush(); $ret.fill = a_5; return $ret; })()); } return GridStyleRepository.ax; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bt", { get: function () { if (GridStyleRepository.ay == null) { var a_6 = "#181d1f"; GridStyleRepository.ay = ((function () { var $ret = new Brush(); $ret.fill = a_6; return $ret; })()); } return GridStyleRepository.ay; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a0", { get: function () { if (GridStyleRepository.v == null) { var a_7 = "#3c90bd"; GridStyleRepository.v = ((function () { var $ret = new Brush(); $ret.fill = a_7; return $ret; })()); } return GridStyleRepository.v; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a1", { get: function () { if (GridStyleRepository.w == null) { var a_8 = "#204f69"; GridStyleRepository.w = ((function () { var $ret = new Brush(); $ret.fill = a_8; return $ret; })()); } return GridStyleRepository.w; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "az", { get: function () { if (GridStyleRepository.u == null) { var a_9 = "#2196f3"; GridStyleRepository.u = ((function () { var $ret = new Brush(); $ret.fill = a_9; return $ret; })()); } return GridStyleRepository.u; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "n", { get: function () { if (GridStyleRepository.h == null) { GridStyleRepository.h = new FontInfo(); GridStyleRepository.h.f = DeviceUtils.f(13); GridStyleRepository.h.q = "Verdana"; } return GridStyleRepository.h; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "i", { get: function () { if (GridStyleRepository.c == null) { GridStyleRepository.c = new FontInfo(); GridStyleRepository.c.f = DeviceUtils.f(13); GridStyleRepository.c.q = "Segoe UI Emoji"; } return GridStyleRepository.c; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "m", { get: function () { if (GridStyleRepository.g == null) { GridStyleRepository.g = new FontInfo(); GridStyleRepository.g.f = DeviceUtils.f(13); GridStyleRepository.g.t = "italic"; GridStyleRepository.g.q = "Verdana"; } return GridStyleRepository.g; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "j", { get: function () { if (GridStyleRepository.d == null) { GridStyleRepository.d = new FontInfo(); GridStyleRepository.d.f = DeviceUtils.f(14); GridStyleRepository.d.q = "Verdana"; } return GridStyleRepository.d; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "l", { get: function () { if (GridStyleRepository.e == null) { GridStyleRepository.e = new FontInfo(); GridStyleRepository.e.f = DeviceUtils.f(12); GridStyleRepository.e.v = "600"; GridStyleRepository.e.q = "Verdana"; } return GridStyleRepository.e; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "k", { get: function () { if (GridStyleRepository.f == null) { GridStyleRepository.f = new FontInfo(); GridStyleRepository.f.f = DeviceUtils.f(12); GridStyleRepository.f.q = "Verdana"; } return GridStyleRepository.f; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bg", { get: function () { if (GridStyleRepository.al == null) { GridStyleRepository.al = new Brush(); GridStyleRepository.al.color = Color.u(255, 210, 234, 253); } return GridStyleRepository.al; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a2", { get: function () { if (GridStyleRepository.x == null) { GridStyleRepository.x = ((function () { var $ret = new Brush(); $ret.fill = "White"; return $ret; })()); } return GridStyleRepository.x; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a7", { get: function () { if (GridStyleRepository.ac == null) { var a = "#f3f9fe"; GridStyleRepository.ac = ((function () { var $ret = new Brush(); $ret.color = Color.u(255, 232, 244, 254); return $ret; })()); } return GridStyleRepository.ac; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bn", { get: function () { if (GridStyleRepository.as == null) { var a_10 = "#F8F8F8"; GridStyleRepository.as = ((function () { var $ret = new Brush(); $ret.fill = a_10; return $ret; })()); } return GridStyleRepository.as; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "br", { get: function () { if (GridStyleRepository.aw == null) { var a_11 = "#181d1f"; GridStyleRepository.aw = ((function () { var $ret = new Brush(); $ret.fill = a_11; return $ret; })()); } return GridStyleRepository.aw; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bp", { get: function () { if (GridStyleRepository.au == null) { var a_12 = "#181d1f"; GridStyleRepository.au = ((function () { var $ret = new Brush(); $ret.fill = a_12; return $ret; })()); } return GridStyleRepository.au; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "be", { get: function () { if (GridStyleRepository.aj == null) { var a_13 = "#fafafa"; GridStyleRepository.aj = ((function () { var $ret = new Brush(); $ret.fill = a_13; return $ret; })()); } return GridStyleRepository.aj; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bd", { get: function () { if (GridStyleRepository.ai == null) { GridStyleRepository.ai = ((function () { var $ret = new Brush(); $ret.fill = "#f5f5dc"; return $ret; })()); } return GridStyleRepository.ai; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bh", { get: function () { if (GridStyleRepository.am == null) { var a_14 = "#ffffff"; GridStyleRepository.am = ((function () { var $ret = new Brush(); $ret.fill = a_14; return $ret; })()); } return GridStyleRepository.am; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "ba", { get: function () { if (GridStyleRepository.af == null) { var a_15 = "#ffffff"; GridStyleRepository.af = ((function () { var $ret = new Brush(); $ret.fill = a_15; return $ret; })()); } return GridStyleRepository.af; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bc", { get: function () { if (GridStyleRepository.ah == null) { var a_16 = "#f8f8f8"; GridStyleRepository.ah = ((function () { var $ret = new Brush(); $ret.fill = a_16; return $ret; })()); } return GridStyleRepository.ah; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bf", { get: function () { if (GridStyleRepository.ak == null) { var a_17 = "#fafafa"; GridStyleRepository.ak = ((function () { var $ret = new Brush(); $ret.fill = a_17; return $ret; })()); } return GridStyleRepository.ak; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bj", { get: function () { if (GridStyleRepository.ao == null) { var a_18 = "#0099FF"; GridStyleRepository.ao = ((function () { var $ret = new Brush(); $ret.fill = a_18; return $ret; })()); } return GridStyleRepository.ao; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bk", { get: function () { if (GridStyleRepository.ap == null) { var a_19 = "#181d1f"; GridStyleRepository.ap = ((function () { var $ret = new Brush(); $ret.fill = a_19; return $ret; })()); } return GridStyleRepository.ap; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a4", { get: function () { if (GridStyleRepository.z == null) { var a_20 = "#2196f3"; GridStyleRepository.z = ((function () { var $ret = new Brush(); $ret.fill = a_20; return $ret; })()); } return GridStyleRepository.z; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bb", { get: function () { if (GridStyleRepository.ag == null) { var a_21 = "#2196f3"; GridStyleRepository.ag = ((function () { var $ret = new Brush(); $ret.fill = a_21; return $ret; })()); } return GridStyleRepository.ag; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a9", { get: function () { if (GridStyleRepository.ae == null) { var a_22 = "#babfc7"; GridStyleRepository.ae = ((function () { var $ret = new Brush(); $ret.fill = a_22; return $ret; })()); } return GridStyleRepository.ae; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a5", { get: function () { if (GridStyleRepository.aa == null) { var a_23 = "#181d1f"; GridStyleRepository.aa = ((function () { var $ret = new Brush(); $ret.fill = a_23; return $ret; })()); } return GridStyleRepository.aa; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a", { get: function () { return 2; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "b", { get: function () { return 3; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "q", { get: function () { return truncate(DeviceUtils.g(30)); }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "r", { get: function () { return truncate(DeviceUtils.g(36)); }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "p", { get: function () { return truncate(DeviceUtils.g(40)); }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "a3", { get: function () { if (GridStyleRepository.y == null) { var a_24 = "#babfc7"; GridStyleRepository.y = ((function () { var $ret = new Brush(); $ret.fill = a_24; return $ret; })()); } return GridStyleRepository.y; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bv", { get: function () { return GridStyleRepository.bu; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "t", { get: function () { return GridStyleRepository.s; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bm", { get: function () { if (GridStyleRepository.ar == null) { var a_25 = "#ff0000"; GridStyleRepository.ar = ((function () { var $ret = new Brush(); $ret.fill = a_25; return $ret; })()); } return GridStyleRepository.ar; }, enumerable: false, configurable: true }); Object.defineProperty(GridStyleRepository, "bl", { get: function () { if (GridStyleRepository.aq == null) { GridStyleRepository.aq = ((function () { var $ret = new Brush(); $ret.color = Color.u(0, 0, 0, 0); return $ret; })()); } return GridStyleRepository.aq; }, enumerable: false, configurable: true }); GridStyleRepository.$t = markType(GridStyleRepository, 'GridStyleRepository'); GridStyleRepository.at = null; GridStyleRepository.av = null; GridStyleRepository.an = null; GridStyleRepository.ad = null; GridStyleRepository.ab = null; GridStyleRepository.ax = null; GridStyleRepository.ay = null; GridStyleRepository.v = null; GridStyleRepository.w = null; GridStyleRepository.u = null; GridStyleRepository.h = null; GridStyleRepository.c = null; GridStyleRepository.g = null; GridStyleRepository.o = 0.54; GridStyleRepository.d = null; GridStyleRepository.e = null; GridStyleRepository.f = null; GridStyleRepository.al = null; GridStyleRepository.x = null; GridStyleRepository.ac = null; GridStyleRepository.as = null; GridStyleRepository.aw = null; GridStyleRepository.au = null; GridStyleRepository.aj = null; GridStyleRepository.ai = null; GridStyleRepository.am = null; GridStyleRepository.af = null; GridStyleRepository.ah = null; GridStyleRepository.ak = null; GridStyleRepository.ao = null; GridStyleRepository.ap = null; GridStyleRepository.z = null; GridStyleRepository.ag = null; GridStyleRepository.ae = null; GridStyleRepository.aa = null; GridStyleRepository.y = null; GridStyleRepository.bu = new Thickness(0, 1); GridStyleRepository.s = new CornerRadius(0, 3); GridStyleRepository.ar = null; GridStyleRepository.aq = null; return GridStyleRepository; }(Base)); /* 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. */ /** * @hidden */ var CheckboxListKeysClearedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CheckboxListKeysClearedEventArgs, _super); function CheckboxListKeysClearedEventArgs() { return _super !== null && _super.apply(this, arguments) || this; } CheckboxListKeysClearedEventArgs.$t = markType(CheckboxListKeysClearedEventArgs, 'CheckboxListKeysClearedEventArgs'); return CheckboxListKeysClearedEventArgs; }(Base)); /* 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. */ /** * @hidden */ var CheckedChangedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CheckedChangedEventArgs, _super); function CheckedChangedEventArgs() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.c = 0; _this.b = false; _this.a = null; return _this; } CheckedChangedEventArgs.$t = markType(CheckedChangedEventArgs, 'CheckedChangedEventArgs'); return CheckedChangedEventArgs; }(Base)); /* 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. */ /** * Identifies the operator type of a column comparison condition. */ var ColumnComparisonConditionOperatorType = /*@__PURE__*/ (function (ColumnComparisonConditionOperatorType) { ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Equals"] = 0] = "Equals"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NotEquals"] = 1] = "NotEquals"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LessThan"] = 2] = "LessThan"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LessThanOrEqualTo"] = 3] = "LessThanOrEqualTo"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["GreaterThan"] = 4] = "GreaterThan"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["GreaterThanOrEqualTo"] = 5] = "GreaterThanOrEqualTo"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Top"] = 6] = "Top"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Bottom"] = 7] = "Bottom"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["TopPercentile"] = 8] = "TopPercentile"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["BottomPercentile"] = 9] = "BottomPercentile"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["True"] = 10] = "True"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["False"] = 11] = "False"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Contains"] = 12] = "Contains"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["DoesNotContain"] = 13] = "DoesNotContain"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["StartsWith"] = 14] = "StartsWith"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["DoesNotStartWith"] = 15] = "DoesNotStartWith"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["EndsWith"] = 16] = "EndsWith"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["DoesNotEndWith"] = 17] = "DoesNotEndWith"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Today"] = 18] = "Today"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Tomorrow"] = 19] = "Tomorrow"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Yesterday"] = 20] = "Yesterday"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NextWeek"] = 21] = "NextWeek"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["ThisWeek"] = 22] = "ThisWeek"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LastWeek"] = 23] = "LastWeek"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NextMonth"] = 24] = "NextMonth"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["ThisMonth"] = 25] = "ThisMonth"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LastMonth"] = 26] = "LastMonth"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NextQuarter"] = 27] = "NextQuarter"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["ThisQuarter"] = 28] = "ThisQuarter"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LastQuarter"] = 29] = "LastQuarter"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NextYear"] = 30] = "NextYear"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["ThisYear"] = 31] = "ThisYear"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["LastYear"] = 32] = "LastYear"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["YearToDate"] = 33] = "YearToDate"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Q1"] = 34] = "Q1"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Q2"] = 35] = "Q2"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Q3"] = 36] = "Q3"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Q4"] = 37] = "Q4"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Month"] = 38] = "Month"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Year"] = 39] = "Year"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Empty"] = 40] = "Empty"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["NotEmpty"] = 41] = "NotEmpty"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["IsNull"] = 42] = "IsNull"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["IsNotNull"] = 43] = "IsNotNull"; ColumnComparisonConditionOperatorType[ColumnComparisonConditionOperatorType["Custom"] = 44] = "Custom"; return ColumnComparisonConditionOperatorType; })({}); /** * @hidden */ var ColumnComparisonConditionOperatorType_$type = /*@__PURE__*/ markEnum('ColumnComparisonConditionOperatorType', 'Equals,0|NotEquals,1|LessThan,2|LessThanOrEqualTo,3|GreaterThan,4|GreaterThanOrEqualTo,5|Top,6|Bottom,7|TopPercentile,8|BottomPercentile,9|True,10|False,11|Contains,12|DoesNotContain,13|StartsWith,14|DoesNotStartWith,15|EndsWith,16|DoesNotEndWith,17|Today,18|Tomorrow,19|Yesterday,20|NextWeek,21|ThisWeek,22|LastWeek,23|NextMonth,24|ThisMonth,25|LastMonth,26|NextQuarter,27|ThisQuarter,28|LastQuarter,29|NextYear,30|ThisYear,31|LastYear,32|YearToDate,33|Q1,34|Q2,35|Q3,36|Q4,37|Month,38|Year,39|Empty,40|NotEmpty,41|IsNull,42|IsNotNull,43|Custom,44'); /* 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. */ /** * @hidden */ var FixedCellPositions_$type = /*@__PURE__*/ markEnum('FixedCellPositions', 'None,0|Left,1|Right,2|Top,3|Bottom,4'); /* 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. */ /** * @hidden */ var RowPath = /** @class */ /*@__PURE__*/ (function (_super) { __extends(RowPath, _super); function RowPath(a, b) { var _this = _super.call(this) || this; _this.n = 0; _this.m = 0; _this.a = 0; _this.c = 0; _this.l = -1; _this.e = false; _this.k = -1; _this.b = 0; _this.d = 0; _this.n = a; _this.m = b; _this.ad(); return _this; } Object.defineProperty(RowPath.prototype, "y", { get: function () { return this.n; }, set: function (a) { this.n = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "x", { get: function () { return this.m; }, set: function (a) { this.m = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "b", { get: function () { return this.a; }, set: function (a) { this.a = a; this.ad(); }, enumerable: false, configurable: true