UNPKG

igniteui-webcomponents-grids

Version:

Ignite UI Web Components grid components.

1,129 lines (1,111 loc) 3.3 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 { markEnum, Base, enumGetBox, markType, 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, ObservableCollection$1, NotifyCollectionChangedEventArgs, Delegate_$type, Dictionary$2, Number_$type, fromEnum, RectData, JsonDictionaryItem, toNullable, ListSortDirection_$type, nullableNotEquals, nullableConcat, unwrapNullable, typeGetValue, typeCast, Date_$type, FilterExpressionParsingHelper, FilterFactory, tryParseInt32_1, CultureInfo, stringStartsWith, dateGetMonth, dateTryParse, stringFormat, AppearanceHelper, Rect, Boolean_$type, BrushUtil, EnumUtil, FontUtil, HashSet$1, stringEmpty, SRProvider, stringIsNullOrWhiteSpace, PagedDataSource, IDataSource_$type, VirtualDataSource, LocalDataSource, DataSourceLocalDataProvider, createGuid, Point_$type, intDivide, dateNow, timeSpanTotalSeconds, FilterExpressionCollection, SortGroupParser, SummaryParser, 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, IgcHTMLElement, TypeRegistrar, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal, RegisterElementHelper, enumToString, fromBrushCollection, toBrushCollection, brushCollectionToString, initializePropertiesFromCss, 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, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescription, 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 */ let 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 */ let 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 */ let 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 */ let 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 */ let 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 */ let 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 */ let RowPath = /*@__PURE__*/ (() => { class RowPath extends Base { get y() { return this.n; } set y(a) { this.n = a; this.ad(); } get x() { return this.m; } set x(a) { this.m = a; this.ad(); } get b() { return this.a; } set b(a) { this.a = a; this.ad(); } get d() { return this.c; } set d(a) { this.c = a; this.ad(); } constructor(a, b) { super(); 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(); } ad() { this.l = this.m * 1000000; } getHashCode() { return this.l; } equals(a) { let 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; } toString() { return "F" + enumGetBox(FixedCellPositions_$type, this.a) + "." + this.n + "." + this.m; } get g() { return ((this.m == -100 || this.m == -101) && this.n == -100); } get h() { return this.m == -101; } get j() { return (this.m == -200 || this.m == -201); } get i() { return this.e; } set i(a) { this.e = a; } get o() { return this.k; } set o(a) { this.k = a; } ab() { let a = new RowPath(this.y, this.x); a.b = this.b; a.i = this.i; a.o = this.o; return a; } } RowPath.$t = /*@__PURE__*/ markType(RowPath, 'RowPath'); return 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 */ let GridCellPosition = /*@__PURE__*/ (() => { class GridCellPosition extends Base { constructor() { super(); this.a = 0; this.c = null; let self_ = this; self_.___mustPassByValue = true; } get b() { return this.a; } set b(a) { this.a = a; } get d() { return this.c; } set d(a) { this.c = a; } } GridCellPosition.$t = /*@__PURE__*/ markType(GridCellPosition, 'GridCellPosition'); return GridCellPosition; })(); /* 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 */ let 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 */ let GridViewportChangedEventArgs = /*@__PURE__*/ (() => { class GridViewportChangedEventArgs extends Base { constructor() { super(...arguments); this.g = 0; this.d = 0; this.h = 0; this.e = 0; this.f = 0; this.c = 0; this.a = 0; this.b = 0; } } GridViewportChangedEventArgs.$t = /*@__PURE__*/ markType(GridViewportChangedEventArgs, 'GridViewportChangedEventArgs'); return GridViewportChangedEventArgs; })(); /* 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 */ let 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 */ let 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 */ let CellPath = /*@__PURE__*/ (() => { class CellPath extends RowPath { get a5() { return this.a3; } set a5(a) { this.a3 = a; this.ad(); } get bb() { return this.a4; } set bb(a) { this.a4 = a; } get af() { return this.ae; } set af(a) { this.ae = a; this.ad(); } ad() { super.ad(); this.a2 = (this.a5 * 100000000) + super.getHashCode() + this.af; } constructor(a, ..._rest) { a = (a == void 0) ? 0 : a; switch (a) { case 0: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; let f = _rest[3]; let g = [d, e, f]; { let i = g[0]; let j = g[1]; let k = g[2]; super(j, k); 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: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; super(d, e); 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: { let c = _rest[0]; let d = _rest[1]; super(0, d); 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: { let c = _rest[0]; let d = _rest[1]; let e = _rest[2]; super(0, d); 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; } } getHashCode() { return this.a2; } equals(a) { if (!super.equals(a)) { return false; } let 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; } toString() { return this.a3 + "." + super.toString(); } ab() { let 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; } get ay() { return (this.a3 == -300); } get aj() { return ((this.a3 >= 0 || this.a3 == -800 || this.a3 == -400) && this.x >= 0 && this.x >= 0); } get a0() { return this.a3 == -400 || this.a3 == -401 || this.a3 == -402; } get an() { return this.g && !this.ay; } get av() { return this.x == -102 && this.a3 == -400; } get aq() { return (this.x == -103 || this.x == -104) && this.a5 == -500; } get as() { return (this.x == -103 || this.x == -104) && this.a5 == -501; } get ap() { return this.x == -100 && this.a5 == -500; } get ar() { return this.x == -100 && this.a5 == -501; } get at() { return this.x == -104; } get az() { return this.ah; } set az(a) { this.ah = a; } get aw() { return this.ag; } set aw(a) { this.ag = a; } get a1() { return this.az || this.aw; } get ak() { return this.af == 2; } get al() { return this.af == 3; } get ao() { return this.af == 4; } get am() { return this.af == 5; } } CellPath.$t = /*@__PURE__*/ markType(CellPath, 'CellPath', RowPath.$); return CellPath; })(); /* 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 */ let 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 */ let 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 */ let 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 */ let GridStyleRepository = /*@__PURE__*/ (() => { class GridStyleRepository extends Base { static get bo() { if (GridStyleRepository.at == null) { let a = "#babfc7"; GridStyleRepository.at = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.at; } static get bq() { if (GridStyleRepository.av == null) { let a = "#dde2eb"; GridStyleRepository.av = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.av; } static get bi() { if (GridStyleRepository.an == null) { GridStyleRepository.an = ((() => { let $ret = new Brush(); $ret.color = Color.u(255, 224, 224, 224); return $ret; })()); } return GridStyleRepository.an; } static get a8() { if (GridStyleRepository.ad == null) { let a = "#babfc7"; GridStyleRepository.ad = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ad; } static get a6() { if (GridStyleRepository.ab == null) { let a = "#babfc7"; GridStyleRepository.ab = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ab; } static get bs() { if (GridStyleRepository.ax == null) { let a = "#ff80ab"; GridStyleRepository.ax = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ax; } static get bt() { if (GridStyleRepository.ay == null) { let a = "#181d1f"; GridStyleRepository.ay = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ay; } static get a0() { if (GridStyleRepository.v == null) { let a = "#3c90bd"; GridStyleRepository.v = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.v; } static get a1() { if (GridStyleRepository.w == null) { let a = "#204f69"; GridStyleRepository.w = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.w; } static get az() { if (GridStyleRepository.u == null) { let a = "#2196f3"; GridStyleRepository.u = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.u; } static get n() { if (GridStyleRepository.h == null) { GridStyleRepository.h = new FontInfo(); GridStyleRepository.h.f = DeviceUtils.f(13); GridStyleRepository.h.q = "Verdana"; } return GridStyleRepository.h; } static get i() { if (GridStyleRepository.c == null) { GridStyleRepository.c = new FontInfo(); GridStyleRepository.c.f = DeviceUtils.f(13); GridStyleRepository.c.q = "Segoe UI Emoji"; } return GridStyleRepository.c; } static get m() { 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; } static get j() { if (GridStyleRepository.d == null) { GridStyleRepository.d = new FontInfo(); GridStyleRepository.d.f = DeviceUtils.f(14); GridStyleRepository.d.q = "Verdana"; } return GridStyleRepository.d; } static get l() { 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; } static get k() { if (GridStyleRepository.f == null) { GridStyleRepository.f = new FontInfo(); GridStyleRepository.f.f = DeviceUtils.f(12); GridStyleRepository.f.q = "Verdana"; } return GridStyleRepository.f; } static get bg() { if (GridStyleRepository.al == null) { GridStyleRepository.al = new Brush(); GridStyleRepository.al.color = Color.u(255, 210, 234, 253); } return GridStyleRepository.al; } static get a2() { if (GridStyleRepository.x == null) { GridStyleRepository.x = ((() => { let $ret = new Brush(); $ret.fill = "White"; return $ret; })()); } return GridStyleRepository.x; } static get a7() { if (GridStyleRepository.ac == null) { let a = "#f3f9fe"; GridStyleRepository.ac = ((() => { let $ret = new Brush(); $ret.color = Color.u(255, 232, 244, 254); return $ret; })()); } return GridStyleRepository.ac; } static get bn() { if (GridStyleRepository.as == null) { let a = "#F8F8F8"; GridStyleRepository.as = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.as; } static get br() { if (GridStyleRepository.aw == null) { let a = "#181d1f"; GridStyleRepository.aw = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.aw; } static get bp() { if (GridStyleRepository.au == null) { let a = "#181d1f"; GridStyleRepository.au = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.au; } static get be() { if (GridStyleRepository.aj == null) { let a = "#fafafa"; GridStyleRepository.aj = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.aj; } static get bd() { if (GridStyleRepository.ai == null) { GridStyleRepository.ai = ((() => { let $ret = new Brush(); $ret.fill = "#f5f5dc"; return $ret; })()); } return GridStyleRepository.ai; } static get bh() { if (GridStyleRepository.am == null) { let a = "#ffffff"; GridStyleRepository.am = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.am; } static get ba() { if (GridStyleRepository.af == null) { let a = "#ffffff"; GridStyleRepository.af = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.af; } static get bc() { if (GridStyleRepository.ah == null) { let a = "#f8f8f8"; GridStyleRepository.ah = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ah; } static get bf() { if (GridStyleRepository.ak == null) { let a = "#fafafa"; GridStyleRepository.ak = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ak; } static get bj() { if (GridStyleRepository.ao == null) { let a = "#0099FF"; GridStyleRepository.ao = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ao; } static get bk() { if (GridStyleRepository.ap == null) { let a = "#181d1f"; GridStyleRepository.ap = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ap; } static get a4() { if (GridStyleRepository.z == null) { let a = "#2196f3"; GridStyleRepository.z = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.z; } static get bb() { if (GridStyleRepository.ag == null) { let a = "#2196f3"; GridStyleRepository.ag = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ag; } static get a9() { if (GridStyleRepository.ae == null) { let a = "#babfc7"; GridStyleRepository.ae = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.ae; } static get a5() { if (GridStyleRepository.aa == null) { let a = "#181d1f"; GridStyleRepository.aa = ((() => { let $ret = new Brush(); $ret.fill = a; return $ret; })()); } return GridStyleRepository.aa; } static get a() { return 2; } static get b() { return 3; } static get q() { return truncate(DeviceUtils.g(30)); } static get r() { return truncate(DeviceUtils.g(36)); } static get p() { return truncate(DeviceUtils.g(40)); } static get a3() { if (GridStyleRepository.y == null) { let a = "#babfc7"; GridStyleRepository.y = ((() => { let $ret = new Br