UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

1,129 lines (1,111 loc) 3.81 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 } from 'tslib'; import { markEnum, enumGetBox, markType, Base, Type, Brush, Color, FontInfo, DeviceUtils, truncate, Thickness, CornerRadius, StringBuilder, stringIsNullOrEmpty, isNaN_, stringEndsWith, dateMinValue, DataSourceSchemaPropertyType_$type, DataSourceSummaryOperand_$type, EventArgs, CountSummaryCalculator, AverageSummaryCalculator, SumSummaryCalculator, MaxSummaryCalculator, MinSummaryCalculator, BindingFormatter, delegateRemove, runOn, delegateCombine, SyncableObservableCollection$2, SummaryDescription, List$1, IDataSourceUpdateNotifier_$type, SortDescription, stringContains, stringReplace, String_$type, tryParseNumber, PropertyChangedEventArgs, INotifyPropertyChanged_$type, NotifyCollectionChangedEventArgs, ObservableCollection$1, Delegate_$type, Dictionary$2, Number_$type, fromEnum, 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, ensureBool, ensureEnum, brushToString, stringToBrush, arrayFindByName, NamePatcher, TypeRegistrar, toSpinal, getAllPropertyNames, fromSpinal, RegisterElementHelper, enumToString, fromBrushCollection, toBrushCollection, brushCollectionToString, initializePropertiesFromCss, IgcHTMLElement, IgCollection, CollectionAdapter, NotifyCollectionChangedAction, IgcPropertyUpdatedEventArgs, IgcProvideCalculatorEventArgs, SyncableObservableCollection$1, NativeUICheckboxListKeysClearedEventArgs, NativeUICheckboxListIndexTypeChangedEventArgs, NativeUICheckboxListChangeEventArgs, NativeUICheckboxListIndexType_$type, BaseControlTheme_$type, INativeUICheckboxListBridge_$type, NativeUIComponent, NativeUICheckboxList, INativeUIElementFactory_$type, MouseButton_$type, 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, AnimationKeyFrameEffectTiming, AnimationKeyFrameProperty, NativeUI, CanvasGestureDOMEventProxy, IgcFilterExpressionCollection, IScrollerKeyboardListener_$type, DomWrapper_$type, PortalManager, WebComponentRenderer, Scroller, WebComponentWrapper, fromRect, IgcDataSourceRootSummariesChangedEventArgs, IgcLocalDataSourceModule, IgcNumberFormatSpecifierModule, IgcDateTimeFormatSpecifierModule, DataContext, IDataLegendTarget_$type, DataSeriesPropertyType_$type, FastReflectionHelper, isPositiveInfinity, Size, ComponentSizeHelpers, toSize, fromSize, IgcTemplateContentModule, SizeData, IgcKeyEventArgs, IExecutionContext_$type, Localization, stringSplit } from 'igniteui-webcomponents-core'; import { XButton, XIcon, XComponentBridge, NativeUIXInputsFactory, XInputGroup, XInput, XDatePicker, IconVisualModelExport, XCheckbox, XLabel, XPrefix, InputGroupDisplayType_$type, IgcXCheckboxModule, IgcXInputGroupModule, IgcXButtonModule, XButtonGroup, XSuffix, ThemeResolver, IgcInputChangeEventArgs, ElevationHelper as ElevationHelper$1, IgcXIconModule } from 'igniteui-webcomponents-inputs'; import { ToolActionCollection, LayoutSelectedKeysCollection, LayoutPrimaryKeyValue, ToolActionCheckboxListIndexType_$type, NativeUILayoutFactory, IgcToolbarModule, PropertyEditorPropertyDescription, PropertyEditorPropertyDescriptionCollection, PropertyEditorDataSource, PropertyEditorValueType_$type, PropertyEditorTreeTransformer, IgcPropertyEditorPropertyDescriptionCollection, IgcPropertyEditorPropertyDescriptionComponent, IgcPropertyEditorPropertyDescriptionModule } from 'igniteui-webcomponents-layouts'; /* 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 SortIndicatorStyle = /*@__PURE__*/ (function (SortIndicatorStyle) { /** * The sort indicator is rendered as a single arrow that points in the direction of the sort. */ SortIndicatorStyle[SortIndicatorStyle["Default"] = 0] = "Default"; /** * The sort indicator is rendered as two arrows pointing opposite of each other. The direction of the sort determines which arrow * is faded and which is fully opaque. */ SortIndicatorStyle[SortIndicatorStyle["FadingUpDownArrows"] = 1] = "FadingUpDownArrows"; /** * The sort indicator is rendered as two arrows without the stem, one ontop of the other. The direction of the sort determines which arrow * is faded and which is fully opaque. */ SortIndicatorStyle[SortIndicatorStyle["FadingSimpleUpDownArrows"] = 2] = "FadingSimpleUpDownArrows"; /** * No style is set. */ SortIndicatorStyle[SortIndicatorStyle["Unset"] = 3] = "Unset"; return SortIndicatorStyle; })({}); /** * @hidden */ var SortIndicatorStyle_$type = /*@__PURE__*/ markEnum('SortIndicatorStyle', 'Default,0|FadingUpDownArrows,1|FadingSimpleUpDownArrows,2|Unset,3'); /* 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. */ /** * Indicates the desired horizontal alignment of the cell content. */ var CellContentHorizontalAlignment = /*@__PURE__*/ (function (CellContentHorizontalAlignment) { /** * Align left. */ CellContentHorizontalAlignment[CellContentHorizontalAlignment["Left"] = 0] = "Left"; /** * Align center. */ CellContentHorizontalAlignment[CellContentHorizontalAlignment["Center"] = 1] = "Center"; /** * Align right. */ CellContentHorizontalAlignment[CellContentHorizontalAlignment["Right"] = 2] = "Right"; /** * Align stretch */ CellContentHorizontalAlignment[CellContentHorizontalAlignment["Stretch"] = 3] = "Stretch"; /** * Align auto */ CellContentHorizontalAlignment[CellContentHorizontalAlignment["Auto"] = 4] = "Auto"; return CellContentHorizontalAlignment; })({}); /** * @hidden */ var CellContentHorizontalAlignment_$type = /*@__PURE__*/ markEnum('CellContentHorizontalAlignment', 'Left,0|Center,1|Right,2|Stretch,3|Auto,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. */ /** * Indicates the desired vertical alignment of the cell content. */ var CellContentVerticalAlignment = /*@__PURE__*/ (function (CellContentVerticalAlignment) { /** * Align top. */ CellContentVerticalAlignment[CellContentVerticalAlignment["Top"] = 0] = "Top"; /** * Align center. */ CellContentVerticalAlignment[CellContentVerticalAlignment["Center"] = 1] = "Center"; /** * Align bottom. */ CellContentVerticalAlignment[CellContentVerticalAlignment["Bottom"] = 2] = "Bottom"; /** * Align stretch */ CellContentVerticalAlignment[CellContentVerticalAlignment["Stretch"] = 3] = "Stretch"; /** * Align auto */ CellContentVerticalAlignment[CellContentVerticalAlignment["Auto"] = 4] = "Auto"; return CellContentVerticalAlignment; })({}); /** * @hidden */ var CellContentVerticalAlignment_$type = /*@__PURE__*/ markEnum('CellContentVerticalAlignment', 'Top,0|Center,1|Bottom,2|Stretch,3|Auto,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. */ /** * Indicates how to break lines of text for a cell. */ var TextCellLineBreakMode = /*@__PURE__*/ (function (TextCellLineBreakMode) { /** * Truncates the text content at the end and displays an ellipsis character if it can't fit on a line. */ TextCellLineBreakMode[TextCellLineBreakMode["Ellipsis"] = 0] = "Ellipsis"; /** * Keeps the text on a single line, but does not attempt to insert an ellipsis character. */ TextCellLineBreakMode[TextCellLineBreakMode["NoWrap"] = 1] = "NoWrap"; /** * If possible for the current platform, wraps to a new line on a word break, if necessary. */ TextCellLineBreakMode[TextCellLineBreakMode["WordWrap"] = 2] = "WordWrap"; /** * If possible for the current platform, wraps to a new line whenever necessary. */ TextCellLineBreakMode[TextCellLineBreakMode["CharacterWrap"] = 3] = "CharacterWrap"; return TextCellLineBreakMode; })({}); /** * @hidden */ var TextCellLineBreakMode_$type = /*@__PURE__*/ markEnum('TextCellLineBreakMode', 'Ellipsis,0|NoWrap,1|WordWrap,2|CharacterWrap,3'); /* 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 }); Object.defineProperty(RowPath.prototype, "d", { get: function () { return this.c; }, set: function (a) { this.c = a; this.ad(); }, enumerable: false, configurable: true }); RowPath.prototype.ad = function () { this.l = this.m * 1000000; }; RowPath.prototype.getHashCode = function () { return this.l; }; RowPath.prototype.equals = function (a) { var b = a; if (this.a != b.a) { return false; } if (this.n != b.n) { return false; } if (this.m != b.m) { return false; } return true; }; RowPath.prototype.toString = function () { return "F" + enumGetBox(FixedCellPositions_$type, this.a) + "." + this.n + "." + this.m; }; Object.defineProperty(RowPath.prototype, "g", { get: function () { return ((this.m == -100 || this.m == -101) && this.n == -100); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "h", { get: function () { return this.m == -101; }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "j", { get: function () { return (this.m == -200 || this.m == -201); }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "i", { get: function () { return this.e; }, set: function (a) { this.e = a; }, enumerable: false, configurable: true }); Object.defineProperty(RowPath.prototype, "o", { get: function () { return this.k; }, set: function (a) { this.k = a; }, enumerable: false, configurable: true }); RowPath.prototype.ab = function () { var a = new RowPath(this.y, this.x); a.b = this.b; a.i = this.i; a.o = this.o; return a; }; RowPath.$t = markType(RowPath, 'RowPath'); return RowPath; }(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 GridCellPosition = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridCellPosition, _super); function GridCellPosition() { var _this = _super.call(this) || this; _this.a = 0; _this.c = null; var self_ = _this; self_.___mustPassByValue = true; return _this; } Object.defineProperty(GridCellPosition.prototype, "b", { get: function () { return this.a; }, set: function (a) { this.a = a; }, enumerable: false, configurable: true }); Object.defineProperty(GridCellPosition.prototype, "d", { get: function () { return this.c; }, set: function (a) { this.c = a; }, enumerable: false, configurable: true }); GridCellPosition.$t = markType(GridCellPosition, 'GridCellPosition'); return GridCellPosition; }(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. */ /** * Indicates what should occur when entering edit mode. */ var EditModeType = /*@__PURE__*/ (function (EditModeType) { /** * Edit mode is disabled. */ EditModeType[EditModeType["None"] = 0] = "None"; /** * Allow cells to enter edit mode and commit the value on exit. */ EditModeType[EditModeType["Cell"] = 1] = "Cell"; /** * Allows cells to enter edit mode but changes will be cached for later commit. */ EditModeType[EditModeType["CellBatch"] = 2] = "CellBatch"; /** * Allow rows to enter edit mode and commit the value on exit. */ EditModeType[EditModeType["Row"] = 3] = "Row"; return EditModeType; })({}); /** * @hidden */ var EditModeType_$type = /*@__PURE__*/ markEnum('EditModeType', 'None,0|Cell,1|CellBatch,2|Row,3'); /* 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 GridViewportChangedEventArgs = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridViewportChangedEventArgs, _super); function GridViewportChangedEventArgs() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.g = 0; _this.d = 0; _this.h = 0; _this.e = 0; _this.f = 0; _this.c = 0; _this.a = 0; _this.b = 0; return _this; } GridViewportChangedEventArgs.$t = markType(GridViewportChangedEventArgs, 'GridViewportChangedEventArgs'); return GridViewportChangedEventArgs; }(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 ICellModelExportUpdater_$type = /*@__PURE__*/ new Type(null, 'ICellModelExportUpdater'); /* 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 ModelStates_$type = /*@__PURE__*/ markEnum('ModelStates', 'New,0|Recycled,1|Inview,2'); /* 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 CellPath = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CellPath, _super); function CellPath(a) { var _rest = []; for (var _i = 1; _i < arguments.length; _i++) { _rest[_i - 1] = arguments[_i]; } var _this = this; a = (a == void 0) ? 0 : a; switch (a) { case 0: { var c = _rest[0]; var d = _rest[1]; var e = _rest[2]; var f = _rest[3]; var g = [d, e, f]; { var i = g[0]; var j = g[1]; var k = g[2]; _this = _super.call(this, j, k) || this; _this.a3 = 0; _this.a4 = 0; _this.ae = 1; _this.a2 = -1; _this.ax = false; _this.ah = false; _this.ag = false; _this.au = false; _this.ai = false; _this.a3 = i; _this.ad(); } _this.b = c; _this.ad(); } break; case 1: { var c = _rest[0]; var d = _rest[1]; var e = _rest[2]; _this = _super.call(this, d, e) || this; _this.a3 = 0; _this.a4 = 0; _this.ae = 1; _this.a2 = -1; _this.ax = false; _this.ah = false; _this.ag = false; _this.au = false; _this.ai = false; _this.a3 = c; _this.ad(); } break; case 2: { var c = _rest[0]; var d = _rest[1]; _this = _super.call(this, 0, d) || this; _this.a3 = 0; _this.a4 = 0; _this.ae = 1; _this.a2 = -1; _this.ax = false; _this.ah = false; _this.ag = false; _this.au = false; _this.ai = false; _this.a3 = c; _this.ad(); } break; case 3: { var c = _rest[0]; var d = _rest[1]; var e = _rest[2]; _this = _super.call(this, 0, d) || this; _this.a3 = 0; _this.a4 = 0; _this.ae = 1; _this.a2 = -1; _this.ax = false; _this.ah = false; _this.ag = false; _this.au = false; _this.ai = false; _this.a3 = c; _this.ae = e; _this.ad(); } break; } return _this; } Object.defineProperty(CellPath.prototype, "a5", { get: function () { return this.a3; }, set: function (a) { this.a3 = a; this.ad(); }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "bb", { get: function () { return this.a4; }, set: function (a) { this.a4 = a; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "af", { get: function () { return this.ae; }, set: function (a) { this.ae = a; this.ad(); }, enumerable: false, configurable: true }); CellPath.prototype.ad = function () { _super.prototype.ad.call(this); this.a2 = (this.a5 * 100000000) + _super.prototype.getHashCode.call(this) + this.af; }; CellPath.prototype.getHashCode = function () { return this.a2; }; CellPath.prototype.equals = function (a) { if (!_super.prototype.equals.call(this, a)) { return false; } var b = a; if (a == null) { return false; } if (this.a3 != b.a3) { return false; } if (this.az != b.az) { return false; } if (this.aw != b.aw) { return false; } if (this.af != b.af) { return false; } return true; }; CellPath.prototype.toString = function () { return this.a3 + "." + _super.prototype.toString.call(this); }; CellPath.prototype.ab = function () { var a = new CellPath(0, this.b, this.a3, this.y, this.x); a.bb = this.bb; a.az = this.az; a.aw = this.aw; a.i = this.i; a.o = this.o; a.d = this.d; a.au = this.au; a.ai = this.ai; a.ax = this.ax; a.af = this.af; return a; }; Object.defineProperty(CellPath.prototype, "ay", { get: function () { return (this.a3 == -300); }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "aj", { get: function () { return ((this.a3 >= 0 || this.a3 == -800 || this.a3 == -400) && this.x >= 0 && this.x >= 0); }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "a0", { get: function () { return this.a3 == -400 || this.a3 == -401 || this.a3 == -402; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "an", { get: function () { return this.g && !this.ay; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "av", { get: function () { return this.x == -102 && this.a3 == -400; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "aq", { get: function () { return (this.x == -103 || this.x == -104) && this.a5 == -500; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "as", { get: function () { return (this.x == -103 || this.x == -104) && this.a5 == -501; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "ap", { get: function () { return this.x == -100 && this.a5 == -500; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "ar", { get: function () { return this.x == -100 && this.a5 == -501; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "at", { get: function () { return this.x == -104; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "az", { get: function () { return this.ah; }, set: function (a) { this.ah = a; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "aw", { get: function () { return this.ag; }, set: function (a) { this.ag = a; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "a1", { get: function () { return this.az || this.aw; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "ak", { get: function () { return this.af == 2; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "al", { get: function () { return this.af == 3; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "ao", { get: function () { return this.af == 4; }, enumerable: false, configurable: true }); Object.defineProperty(CellPath.prototype, "am", { get: function () { return this.af == 5; }, enumerable: false, configurable: true }); CellPath.$t = markType(CellPath, 'CellPath', RowPath.$); return CellPath; }(RowPath)); /* 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 ModelTypes_$type = /*@__PURE__*/ markEnum('ModelTypes', 'ColumnHeader,0|Cell,1|SectionHeader,2|SectionFooter,3|RowSeparator,4|VerticalSeparator,5|ResizeSeparator,6|HeaderSeparator,7|MovingSeparator,8|Editor,9|EditRow,10|FilterCell,11|MergedCell,12'); /* 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. */ /** * Indicates the direction a column should be sorted in. */ var ColumnSortDirection = /*@__PURE__*/ (function (ColumnSortDirection) { /** * Not sort applied. */ ColumnSortDirection[ColumnSortDirection["None"] = 0] = "None"; /** * Sort is ascending. */ ColumnSortDirection[ColumnSortDirection["Ascending"] = 1] = "Ascending"; /** * Sort is descending. */ ColumnSortDirection[ColumnSortDirection["Descending"] = 2] = "Descending"; return ColumnSortDirection; })({}); /** * @hidden */ var ColumnSortDirection_$type = /*@__PURE__*/ markEnum('ColumnSortDirection', 'None,0|Ascending,1|Descending,2'); /* 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. */ /** * Enumeration defining different positions a column can be fixed against. */ var PinnedPositions = /*@__PURE__*/ (function (PinnedPositions) { /** * The column is not fixed. */ PinnedPositions[PinnedPositions["None"] = 0] = "None"; /** * The column is pinned against the left side of the grid. */ PinnedPositions[PinnedPositions["Left"] = 1] = "Left"; /** * The column is pinned against the right side of the grid. */ PinnedPositions[PinnedPositions["Right"] = 2] = "Right"; return PinnedPositions; })({}); /** * @hidden */ var PinnedPositions_$type = /*@__PURE__*/ markEnum('PinnedPositions', 'None,0|Left,1|Right,2'); /* 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