igniteui-react-grids
Version:
Ignite UI React grid components.
1,146 lines (1,129 loc) • 4.56 MB
JavaScript
/*!
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 { Component, createElement, Children, cloneElement } from 'react';
import { Base, markType, markEnum, ObservableCollection$1, List$1, Delegate_$type, Dictionary$2, Number_$type, delegateCombine, delegateRemove, fromEnum, PropertyChangedEventArgs, NotifyCollectionChangedEventArgs, 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, 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, DomWrapper_$type, DataContext, IDataLegendTarget_$type, NativeUI, DataSeriesPropertyType_$type, BaseControlTheme_$type, FastReflectionHelper, isPositiveInfinity, Size, ComponentSizeHelpers, ensureBool, ensureEnum, brushToString, stringToBrush, arrayFindByName, TypeRegistrar, NamePatcher, 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, PropertyEditorPropertyDescriptionCollection, PropertyEditorPropertyDescription, 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
*/
let PrimaryKeyValue = /*@__PURE__*/ (() => {
class PrimaryKeyValue extends Base {
get key() {
return this.a;
}
set key(a) {
this.a = a;
}
get value() {
return this.b;
}
set value(a) {
this.b = a;
}
constructor(a, b) {
super();
this.a = null;
this.b = null;
this.a = a;
this.b = b;
}
static createIdentityKey(a) {
return new PrimaryKeyValue(null, [a]);
}
equals(a) {
let 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) {
let v1_ = this.b[0];
let v2_ = b.b[0];
return this.f(v1_, v2_);
}
for (let c = 0; c < this.b.length; c++) {
if (!this.f(this.b[c], b.b[c])) {
return false;
}
}
return true;
}
f(a, b) {
if (a == null && b == null) {
return true;
}
if (a == null && b != null) {
return false;
}
return Base.equalsStatic(a, b);
}
getHashCode() {
if (this.b == null || this.b.length == 0) {
return 0;
}
let a = 0;
a = this.i(this.b[0]);
for (let b = 1; b < this.b.length; b++) {
a = a * 17 + this.i(this.b[b]);
}
return a;
}
i(val_) {
if (val_ == null) {
return 0;
}
return Base.getHashCodeStatic(val_);
}
}
PrimaryKeyValue.$t = /*@__PURE__*/ markType(PrimaryKeyValue, 'PrimaryKeyValue');
return PrimaryKeyValue;
})();
/*
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
*/
let 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
*/
let GridSelectedKeysCollection = /*@__PURE__*/ (() => {
class GridSelectedKeysCollection extends ObservableCollection$1 {
constructor() {
super(PrimaryKeyValue.$, 0);
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);
}
get ae() {
return this;
}
an(a) {
this.collectionChanged = delegateCombine(this.collectionChanged, a);
}
am(a) {
this.ak.add(a);
}
ao(a) {
this.ak.remove(a);
}
ap(a) {
this.collectionChanged = delegateRemove(this.collectionChanged, a);
}
get ag() {
return this.af;
}
set ag(a) {
this.af = a;
}
n(a) {
super.n(a);
if (this.ag) {
this.ai.addItem(a, this.count - 1);
this.aj.addItem(this.count - 1, a);
}
}
o(a) {
let b = this.count;
super.o(a);
if (this.ag) {
for (let c of fromEnum(a)) {
this.ai.addItem(c, b);
this.aj.addItem(b, c);
b++;
}
}
}
p() {
let a = new List$1(Delegate_$type, 0);
for (let b of fromEnum(this.ak)) {
a.add(b);
}
for (let c of fromEnum(a)) {
c();
}
super.p();
if (this.ag) {
this.ai.clear();
this.aj.clear();
}
}
u(a) {
if (this.ag) {
if (this.aj.containsKey(a)) {
let b = this.aj.item(a);
this.ai.removeItem(b);
this.aj.removeItem(a);
for (let c = a + 1; c < this.count; c++) {
if (this.aj.containsKey(c)) {
let d = this.aj.item(c);
this.aj.removeItem(c);
this.aj.addItem(c - 1, d);
this.ai.item(d, c - 1);
}
}
}
}
let 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));
}
}
v(index_, numToRemove_) {
super.v(index_, numToRemove_);
if (this.ag) {
for (let a = index_; a < index_ + numToRemove_; a++) {
if (this.aj.containsKey(a)) {
let b = this.aj.item(a);
this.ai.removeItem(b);
this.aj.removeItem(a);
}
}
}
}
x(a, b) {
super.x(a, b);
if (this.ag) {
if (this.aj.containsKey(a)) {
let c = this.aj.item(a);
this.aj.item(a, b);
this.ai.removeItem(c);
this.ai.addItem(b, a);
}
}
}
r(a, b) {
super.r(a, b);
if (this.ag) {
for (let c = a; c < this.count; c++) {
let 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);
}
}
}
}
al(a) {
if (this.ag) {
if (this.ai.containsKey(a)) {
return this.ai.item(a);
}
return -1;
}
return this.indexOf(a);
}
}
GridSelectedKeysCollection.$t = /*@__PURE__*/ markType(GridSelectedKeysCollection, 'GridSelectedKeysCollection', /*@__PURE__*/ ObservableCollection$1.$.specialize(PrimaryKeyValue.$));
return GridSelectedKeysCollection;
})();
/*
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 Brush();
$ret.fill = a;
return $ret;
})());
}
return GridStyleRepository.y;
}
static get bv() {
return GridStyleRepository.bu;
}
static get t() {
return GridStyleRepository.s;
}
static get bm() {
if (GridStyleRepository.ar == null) {
let a = "#ff0000";
GridStyleRepository.ar = ((() => {
let $ret = new Brush();
$ret.fill = a;
return $ret;
})());
}
return GridStyleRepository.ar;
}
static get bl() {
if (GridStyleRepository.aq == null) {
GridStyleRepository.aq = ((() => {
let $ret = new Brush();
$ret.color = Color.u(0, 0, 0, 0);
return $ret;
})());
}
return GridStyleRepository.aq;
}
}
GridStyleRepository.$t = /*@__PURE__*/ 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 = /*@__PURE__*/ new Thickness(0, 1);
GridStyleRepository.s = /*@__PURE__*/ new CornerRadius(0, 3);
GridStyleRepository.ar = null;
GridStyleRepository.aq = null;
return GridStyleRepository;
})();
/*
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 CheckboxListKeysClearedEventArgs = /*@__PURE__*/ (() => {
class CheckboxListKeysClearedEventArgs extends Base {
}
CheckboxListKeysClearedEventArgs.$t = /*@__PURE__*/ markType(CheckboxListKeysClearedEventArgs, 'CheckboxListKeysClearedEventArgs');
return CheckboxListKeysClearedEventArgs;
})();
/*
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 CheckedChangedEventArgs = /*@__PURE__*/ (() => {
class CheckedChangedEventArgs extends Base {
constructor() {
super(...arguments);
this.c = 0;
this.b = false;
this.a = null;
}
}
CheckedChangedEventArgs.$t = /*@__PURE__*/ markType(CheckedChangedEventArgs, 'CheckedChangedEventArgs');
return CheckedChangedEventArgs;
})();
/*
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;