@devexpress/analytics-core 19.2.2-beta → 19.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/dx-analytics.carmine.compact.css +2 -2
- package/dist/css/dx-analytics.carmine.css +2 -2
- package/dist/css/dx-analytics.common.css +2 -2
- package/dist/css/dx-analytics.contrast.compact.css +2 -2
- package/dist/css/dx-analytics.contrast.css +2 -2
- package/dist/css/dx-analytics.dark.compact.css +2 -2
- package/dist/css/dx-analytics.dark.css +2 -2
- package/dist/css/dx-analytics.darkmoon.compact.css +2 -2
- package/dist/css/dx-analytics.darkmoon.css +2 -2
- package/dist/css/dx-analytics.darkviolet.compact.css +2 -2
- package/dist/css/dx-analytics.darkviolet.css +2 -2
- package/dist/css/dx-analytics.greenmist.compact.css +2 -2
- package/dist/css/dx-analytics.greenmist.css +2 -2
- package/dist/css/dx-analytics.light.compact.css +2 -2
- package/dist/css/dx-analytics.light.css +2 -2
- package/dist/css/dx-analytics.softblue.compact.css +2 -2
- package/dist/css/dx-analytics.softblue.css +2 -2
- package/dist/css/dx-querybuilder.css +37 -8
- package/dist/html/templates.html +14 -12
- package/dist/js/dx-analytics-core.js +192 -36
- package/dist/js/dx-analytics-core.min.js +3 -3
- package/dist/js/dx-querybuilder.js +89 -44
- package/dist/js/dx-querybuilder.min.js +3 -3
- package/dx-analytics-core.d.ts +42 -8
- package/dx-analytics-core.js +192 -36
- package/dx-querybuilder.d.ts +18 -10
- package/dx-querybuilder.js +89 -44
- package/less/common.less +1 -0
- package/package.json +1 -1
- package/utils/theme-builder.js +2 -2
package/dx-analytics-core.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress HTML/JS Analytics Core (dx-analytics-core.d.ts)
|
|
3
|
-
* Version: 19.2.
|
|
4
|
-
* Build date: 2019-10-
|
|
3
|
+
* Version: 19.2.3
|
|
4
|
+
* Build date: 2019-10-23
|
|
5
5
|
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
|
|
7
7
|
*/
|
|
@@ -272,6 +272,9 @@ declare module DevExpress.Analytics {
|
|
|
272
272
|
function compareEditorInfo(editor1: any, editor2: any): boolean;
|
|
273
273
|
function findMatchesInString(stringWhereSearch: string, searchPattern: string, options?: ISearchOptions): RegExpMatchArray;
|
|
274
274
|
function escapeToRegExp(string: String): string;
|
|
275
|
+
function stringRemove(string: string, start: number, count?: number): string;
|
|
276
|
+
function stringReplace(string: string, start: number, count?: number, newChar?: string): string;
|
|
277
|
+
function stringInsert(string: string, pos: number, subStr: string): string;
|
|
275
278
|
function formatUnicorn(text: string, ...args: any[]): string;
|
|
276
279
|
interface IModelAction {
|
|
277
280
|
id?: string;
|
|
@@ -527,6 +530,7 @@ declare module DevExpress.Analytics {
|
|
|
527
530
|
dispose(): void;
|
|
528
531
|
private _textEmptyArray;
|
|
529
532
|
private _move;
|
|
533
|
+
private _setSelectedIndex;
|
|
530
534
|
options: any;
|
|
531
535
|
displayPropertyName: string;
|
|
532
536
|
showScroll: boolean;
|
|
@@ -836,9 +840,38 @@ declare module DevExpress.Analytics {
|
|
|
836
840
|
}
|
|
837
841
|
}
|
|
838
842
|
module Criteria {
|
|
843
|
+
interface _IToken {
|
|
844
|
+
type: string;
|
|
845
|
+
val?: string;
|
|
846
|
+
start: number;
|
|
847
|
+
end: number;
|
|
848
|
+
}
|
|
849
|
+
class MachineState {
|
|
850
|
+
private tokenName;
|
|
851
|
+
private alphabet;
|
|
852
|
+
private startTerm;
|
|
853
|
+
private endTerm;
|
|
854
|
+
private tokenLength;
|
|
855
|
+
isActiveState: boolean;
|
|
856
|
+
tokens: _IToken[];
|
|
857
|
+
constructor(tokenName: 'comment' | 'field' | 'value', alphabet: string, startTerm: string, endTerm: string);
|
|
858
|
+
private _isSubline;
|
|
859
|
+
private _getToken;
|
|
860
|
+
processTransitionFunction(pos: number): void;
|
|
861
|
+
}
|
|
862
|
+
class CriteriaOperatorStateMachine {
|
|
863
|
+
private stringCriteria;
|
|
864
|
+
private machineStates;
|
|
865
|
+
private _inputStringCriteria;
|
|
866
|
+
constructor(stringCriteria: string);
|
|
867
|
+
_tokenize(): _IToken[];
|
|
868
|
+
_replaceTokenToAnotherToken(tokens: _IToken[], newTokenChar: string, tokenName: string): string;
|
|
869
|
+
replaceCommentsToChar(char?: string): CriteriaOperatorStateMachine;
|
|
870
|
+
getCriteria(): CriteriaOperator;
|
|
871
|
+
}
|
|
839
872
|
class CriteriaOperator {
|
|
840
873
|
static operators(enums: any): any;
|
|
841
|
-
static parse(stringCriteria: string): CriteriaOperator;
|
|
874
|
+
static parse(stringCriteria: string, saveOriginalStringLength?: boolean): CriteriaOperator;
|
|
842
875
|
static create(operatorType: any): CriteriaOperator;
|
|
843
876
|
static and(left: CriteriaOperator, right: CriteriaOperator): CriteriaOperator;
|
|
844
877
|
static or(left: CriteriaOperator, right: CriteriaOperator): CriteriaOperator;
|
|
@@ -1408,11 +1441,11 @@ declare module DevExpress.Analytics {
|
|
|
1408
1441
|
searchExpr?: string;
|
|
1409
1442
|
searchBoxTemplate?: string;
|
|
1410
1443
|
}
|
|
1411
|
-
class
|
|
1444
|
+
class DefaultTreeListItemFactory {
|
|
1412
1445
|
createRootItem(options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: any, rtl?: any): TreeListRootItemViewModel;
|
|
1413
1446
|
createItem(options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: any, rtl?: any, resolver?: any): TreeListItemViewModel;
|
|
1414
1447
|
}
|
|
1415
|
-
interface
|
|
1448
|
+
interface ITreeListItemFactory {
|
|
1416
1449
|
createRootItem: (options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: any, rtl?: any) => TreeListRootItemViewModel;
|
|
1417
1450
|
createItem: (options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: any, rtl?: any, resolver?: any) => TreeListItemViewModel;
|
|
1418
1451
|
}
|
|
@@ -1427,7 +1460,7 @@ declare module DevExpress.Analytics {
|
|
|
1427
1460
|
expandRootItems?: boolean;
|
|
1428
1461
|
pageSize?: number;
|
|
1429
1462
|
templateHtml?: string;
|
|
1430
|
-
|
|
1463
|
+
factory?: ITreeListItemFactory;
|
|
1431
1464
|
}
|
|
1432
1465
|
class TreeListEllipsisButton {
|
|
1433
1466
|
private _availableItemsCount;
|
|
@@ -1443,7 +1476,7 @@ declare module DevExpress.Analytics {
|
|
|
1443
1476
|
class TreeListItemViewModel extends Utils.Disposable {
|
|
1444
1477
|
protected resolver: Analytics.Internal.CodeResolver;
|
|
1445
1478
|
private _rtl;
|
|
1446
|
-
private
|
|
1479
|
+
private _factory;
|
|
1447
1480
|
private _data;
|
|
1448
1481
|
private _actions;
|
|
1449
1482
|
private _isVisible;
|
|
@@ -1461,6 +1494,7 @@ declare module DevExpress.Analytics {
|
|
|
1461
1494
|
private _loadItems;
|
|
1462
1495
|
private _nodeIsLocked;
|
|
1463
1496
|
protected _onItemsChanged(): void;
|
|
1497
|
+
protected _getTemplateName(): string;
|
|
1464
1498
|
_selectItem(itemPath: string): void;
|
|
1465
1499
|
_find(itemPath: string): void;
|
|
1466
1500
|
_getItemsWithLock(): JQueryPromise<TreeListItemViewModel[]>;
|
|
@@ -3753,7 +3787,7 @@ declare module DevExpress.Analytics {
|
|
|
3753
3787
|
}
|
|
3754
3788
|
function createUnitProperty(model: any, target: any, propertyName: any, property: any, measureUnit: ko.Observable<string> | ko.Computed<string>, zoom: ko.Observable<number> | ko.Computed<number>, afterCreation?: (property: any) => void): void;
|
|
3755
3789
|
function createUnitProperties<M>(model: M, target: any, properties: IUnitProperties<M>, measureUnit: ko.Observable<string> | ko.Computed<string>, zoom: ko.Observable<number> | ko.Computed<number>, afterCreation?: (property: any) => void): void;
|
|
3756
|
-
type SizeFactorType = "lg" | "md" | "sm" | "xs";
|
|
3790
|
+
type SizeFactorType = "xl" | "lg" | "md" | "sm" | "xs";
|
|
3757
3791
|
function copyObservables(from: any, to: any): void;
|
|
3758
3792
|
function compareObjects(a: any, b: any): boolean;
|
|
3759
3793
|
var cssTransform: string[];
|
package/dx-analytics-core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DevExpress HTML/JS Analytics Core (dx-analytics-core.js)
|
|
3
|
-
* Version: 19.2.
|
|
4
|
-
* Build date: 2019-10-
|
|
3
|
+
* Version: 19.2.3
|
|
4
|
+
* Build date: 2019-10-23
|
|
5
5
|
* Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED
|
|
6
6
|
* License: https://www.devexpress.com/Support/EULAs/NetComponents.xml
|
|
7
7
|
*/
|
|
@@ -879,6 +879,23 @@ var DevExpress;
|
|
|
879
879
|
return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
|
|
880
880
|
}
|
|
881
881
|
Internal.escapeToRegExp = escapeToRegExp;
|
|
882
|
+
function stringRemove(string, start, count) {
|
|
883
|
+
count = count ? count : string.length - start;
|
|
884
|
+
return string.slice(0, start) + string.slice(start + count, string.length);
|
|
885
|
+
}
|
|
886
|
+
Internal.stringRemove = stringRemove;
|
|
887
|
+
function stringReplace(string, start, count, newChar) {
|
|
888
|
+
if (newChar === void 0) { newChar = ""; }
|
|
889
|
+
var temp = string;
|
|
890
|
+
temp = DevExpress.Analytics.Internal.stringRemove(temp, start, count);
|
|
891
|
+
temp = DevExpress.Analytics.Internal.stringInsert(temp, start, Array(count + 1).join(newChar));
|
|
892
|
+
return temp;
|
|
893
|
+
}
|
|
894
|
+
Internal.stringReplace = stringReplace;
|
|
895
|
+
function stringInsert(string, pos, subStr) {
|
|
896
|
+
return string.substring(0, pos) + subStr + string.substring(pos);
|
|
897
|
+
}
|
|
898
|
+
Internal.stringInsert = stringInsert;
|
|
882
899
|
function formatUnicorn(text) {
|
|
883
900
|
var args = [];
|
|
884
901
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -1437,14 +1454,25 @@ var DevExpress;
|
|
|
1437
1454
|
.map(function (info) { return _this_1.createEditor(info); });
|
|
1438
1455
|
};
|
|
1439
1456
|
ObjectProperties.prototype._createEditors = function (serializationInfo) {
|
|
1440
|
-
var _this_1 = this;
|
|
1441
1457
|
if (!serializationInfo || serializationInfo.length === 0)
|
|
1442
1458
|
return false;
|
|
1443
1459
|
var newEditors = this.createEditors(serializationInfo);
|
|
1444
1460
|
if (!newEditors.length)
|
|
1445
1461
|
return;
|
|
1446
|
-
var
|
|
1447
|
-
|
|
1462
|
+
var currentEditors = this._editors();
|
|
1463
|
+
if (currentEditors.length === 0) {
|
|
1464
|
+
currentEditors = newEditors;
|
|
1465
|
+
}
|
|
1466
|
+
else {
|
|
1467
|
+
newEditors.forEach(function (editor) {
|
|
1468
|
+
var existEditorIndex = currentEditors.map(function (_editor) { return _editor.name; }).indexOf(editor.name);
|
|
1469
|
+
if (existEditorIndex !== -1)
|
|
1470
|
+
currentEditors.splice(existEditorIndex, 0, editor);
|
|
1471
|
+
else
|
|
1472
|
+
currentEditors.push(editor);
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
this._editors(currentEditors);
|
|
1448
1476
|
};
|
|
1449
1477
|
ObjectProperties.prototype._update = function (target, editorsInfo, recreateEditors) {
|
|
1450
1478
|
var _this_1 = this;
|
|
@@ -1902,10 +1930,11 @@ var DevExpress;
|
|
|
1902
1930
|
_this_1._disposables.push(_this_1.values = ko.computed(function () {
|
|
1903
1931
|
return ko.unwrap(options.values());
|
|
1904
1932
|
}));
|
|
1905
|
-
|
|
1906
|
-
|
|
1933
|
+
var selectedItem = ko.unwrap(options.selectedItem);
|
|
1934
|
+
if (selectedItem) {
|
|
1935
|
+
_this_1._setSelectedIndex(selectedItem);
|
|
1907
1936
|
_this_1._disposables.push(options.selectedItem.subscribe(function (newVal) {
|
|
1908
|
-
_this_1.
|
|
1937
|
+
_this_1._setSelectedIndex(newVal);
|
|
1909
1938
|
}));
|
|
1910
1939
|
}
|
|
1911
1940
|
_this_1.add = function (model) {
|
|
@@ -1969,6 +1998,10 @@ var DevExpress;
|
|
|
1969
1998
|
this.selectedIndex(new_index);
|
|
1970
1999
|
}
|
|
1971
2000
|
};
|
|
2001
|
+
CollectionEditorViewModel.prototype._setSelectedIndex = function (selectedItem) {
|
|
2002
|
+
var index = this.values().indexOf(selectedItem);
|
|
2003
|
+
this.selectedIndex(index === -1 ? null : index);
|
|
2004
|
+
};
|
|
1972
2005
|
CollectionEditorViewModel.prototype.getDisplayTextButton = function (key) {
|
|
1973
2006
|
return DevExpress.Analytics.Utils.getLocalization(this.buttonMap[key].text, this.buttonMap[key].localizationId);
|
|
1974
2007
|
};
|
|
@@ -2101,7 +2134,8 @@ var DevExpress;
|
|
|
2101
2134
|
e.stopPropagation();
|
|
2102
2135
|
e.preventDefault();
|
|
2103
2136
|
Analytics.Internal.uploadFile({
|
|
2104
|
-
accept: _this_1.option("accept") || "image/*"
|
|
2137
|
+
accept: _this_1.option("accept") || "image/*",
|
|
2138
|
+
readMode: _this_1.option("readMode")
|
|
2105
2139
|
}).done(function (result) {
|
|
2106
2140
|
_this_1._handleResult(result);
|
|
2107
2141
|
});
|
|
@@ -2287,6 +2321,7 @@ var DevExpress;
|
|
|
2287
2321
|
'dxrd-svg-fieldlist-listsource': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><ellipse class="dxd-icon-fill dxd-opacity-80" cx="11" cy="4" rx="7" ry="2"/><path class="dxd-icon-fill dxd-opacity-80" d="M11 10c-3.9 0-7-.9-7-2v12c0 1.1 3.1 2 7 2s7-.9 7-2V8c0 1.1-3.1 2-7 2z"/></svg>',
|
|
2288
2322
|
'dxrd-svg-fieldlist-none': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0v22h22V0H0zm16 14l-2 2-3-3-3 3-2-2 3-3-3-3 2-2 3 3 3-3 2 2-3 3 3 3z"/></svg>',
|
|
2289
2323
|
'dxrd-svg-fieldlist-parameters': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M12 4h4v8h-4zM8 18h4v4H8zM8 12h4v4H8zM8 0h4v4H8zM4 4h4v4H4z"/></svg>',
|
|
2324
|
+
'dxrd-svg-fieldlist-range': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 4h4v2H4v12h4v2H2V4h2zm16 0h-4v2h4v12h-4v2h6V4h-2z"/></svg>',
|
|
2290
2325
|
'dxrd-svg-fieldlist-string': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',
|
|
2291
2326
|
'dxrd-svg-fieldlist-stringfield': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M4 8h4v4H2v8h8V6H4v2zm4 10H4v-4h4v4zM14 10V2h-2v18h8V10h-6zm4 8h-4v-6h4v6z"/></svg>',
|
|
2292
2327
|
'dxrd-svg-fieldlist-table': '<svg data-bind="svgAttrs" viewBox="0 0 24 24"><path class="dxd-icon-fill dxd-opacity-80" d="M0 0h22v4H0zM12 12h4v4h-4zM12 18h4v4h-4zM18 6h4v4h-4zM0 12h4v4H0zM18 18h4v4h-4zM12 6h4v4h-4zM6 12h4v4H6zM6 18h4v4H6zM6 6h4v4H6zM0 18h4v4H0zM0 6h4v4H0zM18 12h4v4h-4z"/></svg>',
|
|
@@ -2553,7 +2588,7 @@ DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
|
|
|
2553
2588
|
'dxrd-field': '<!-- ko displayNameExtender: { path: path, dataMember: value } --> <div data-bind="dxFieldListPicker: { path: path, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled }"></div> <!-- /ko -->',
|
|
2554
2589
|
'dxrd-filterstring': '<!-- ko if: $data.value() --> <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> <!-- /ko -->',
|
|
2555
2590
|
'dxrd-filterstringgroup': '<!-- ko if: $data.value() --> <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }"></div> <!-- /ko -->',
|
|
2556
|
-
'dxrd-formatstring': '<div data-bind="dxFormatEditor: { value: value, disabled: disabled }"></div>',
|
|
2591
|
+
'dxrd-formatstring': '<div data-bind="dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }"></div>',
|
|
2557
2592
|
'dxrd-guid': '<div data-bind="dxTextBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: (validationRules || []) }"></div>',
|
|
2558
2593
|
'dxrd-emptyHeader': ' ',
|
|
2559
2594
|
'dxrd-objectEditorContent': '<!-- ko if: $data.visible() && $data.editorCreated() --> <div data-bind="template: { name: \'dx-propertieseditor\', data: viewmodel }"></div> <!-- /ko -->',
|
|
@@ -3838,6 +3873,90 @@ var DevExpress;
|
|
|
3838
3873
|
}
|
|
3839
3874
|
return result;
|
|
3840
3875
|
}
|
|
3876
|
+
var MachineState = (function () {
|
|
3877
|
+
function MachineState(tokenName, alphabet, startTerm, endTerm) {
|
|
3878
|
+
this.tokenName = tokenName;
|
|
3879
|
+
this.alphabet = alphabet;
|
|
3880
|
+
this.startTerm = startTerm;
|
|
3881
|
+
this.endTerm = endTerm;
|
|
3882
|
+
this.tokenLength = 0;
|
|
3883
|
+
this.isActiveState = false;
|
|
3884
|
+
this.tokens = [];
|
|
3885
|
+
}
|
|
3886
|
+
MachineState.prototype._isSubline = function (pos, term) {
|
|
3887
|
+
var result = (pos + term.length - 1 < this.alphabet.length);
|
|
3888
|
+
for (var i = pos; i < (pos + term.length) && result; i++)
|
|
3889
|
+
result = this.alphabet[i] == term[i - pos];
|
|
3890
|
+
return result;
|
|
3891
|
+
};
|
|
3892
|
+
MachineState.prototype._getToken = function (pos) {
|
|
3893
|
+
var token = {
|
|
3894
|
+
type: this.tokenName, start: pos - this.tokenLength + 1, end: pos + this.endTerm.length
|
|
3895
|
+
};
|
|
3896
|
+
token.val = this.alphabet.substring(token.start, token.end);
|
|
3897
|
+
return token;
|
|
3898
|
+
};
|
|
3899
|
+
MachineState.prototype.processTransitionFunction = function (pos) {
|
|
3900
|
+
if (this.isActiveState)
|
|
3901
|
+
this.tokenLength++;
|
|
3902
|
+
if (this._isSubline(pos, this.startTerm) && !this.isActiveState) {
|
|
3903
|
+
this.isActiveState = true;
|
|
3904
|
+
this.tokenLength++;
|
|
3905
|
+
}
|
|
3906
|
+
else if (this._isSubline(pos, this.endTerm)) {
|
|
3907
|
+
this.isActiveState = false;
|
|
3908
|
+
this.tokens.push(this._getToken(pos));
|
|
3909
|
+
this.tokenLength = 0;
|
|
3910
|
+
}
|
|
3911
|
+
};
|
|
3912
|
+
;
|
|
3913
|
+
return MachineState;
|
|
3914
|
+
}());
|
|
3915
|
+
Criteria.MachineState = MachineState;
|
|
3916
|
+
var CriteriaOperatorStateMachine = (function () {
|
|
3917
|
+
function CriteriaOperatorStateMachine(stringCriteria) {
|
|
3918
|
+
this.stringCriteria = stringCriteria;
|
|
3919
|
+
this.machineStates = [];
|
|
3920
|
+
this.machineStates.push(new MachineState("field", stringCriteria, "[", "]"));
|
|
3921
|
+
this.machineStates.push(new MachineState("value", stringCriteria, "'", "'"));
|
|
3922
|
+
this.machineStates.push(new MachineState("comment", stringCriteria, "/*", "*/"));
|
|
3923
|
+
this._inputStringCriteria = stringCriteria;
|
|
3924
|
+
}
|
|
3925
|
+
CriteriaOperatorStateMachine.prototype._tokenize = function () {
|
|
3926
|
+
var _this = this;
|
|
3927
|
+
for (var i = 0; i < this.stringCriteria.length; i++) {
|
|
3928
|
+
this.machineStates.forEach(function (state) {
|
|
3929
|
+
var anotherMachines = _this.machineStates.filter(function (a) { return a != state && a.isActiveState; });
|
|
3930
|
+
if (!anotherMachines.length)
|
|
3931
|
+
state.processTransitionFunction(i);
|
|
3932
|
+
});
|
|
3933
|
+
}
|
|
3934
|
+
var resultTokens = [];
|
|
3935
|
+
this.machineStates.forEach(function (state) {
|
|
3936
|
+
resultTokens = resultTokens.concat(state.tokens);
|
|
3937
|
+
state.tokens = [];
|
|
3938
|
+
});
|
|
3939
|
+
return resultTokens;
|
|
3940
|
+
};
|
|
3941
|
+
CriteriaOperatorStateMachine.prototype._replaceTokenToAnotherToken = function (tokens, newTokenChar, tokenName) {
|
|
3942
|
+
var tempCriteria = this.stringCriteria;
|
|
3943
|
+
tokens = tokens.filter(function (a) { return a.type == tokenName; }).sort(function (a) { return a.start; }).reverse();
|
|
3944
|
+
tokens.forEach(function (token) {
|
|
3945
|
+
tempCriteria = DevExpress.Analytics.Internal.stringReplace(tempCriteria, token.start, token.end - token.start, newTokenChar);
|
|
3946
|
+
});
|
|
3947
|
+
return tempCriteria;
|
|
3948
|
+
};
|
|
3949
|
+
CriteriaOperatorStateMachine.prototype.replaceCommentsToChar = function (char) {
|
|
3950
|
+
if (char === void 0) { char = ""; }
|
|
3951
|
+
this._inputStringCriteria = this._replaceTokenToAnotherToken(this._tokenize(), char, "comment");
|
|
3952
|
+
return this;
|
|
3953
|
+
};
|
|
3954
|
+
CriteriaOperatorStateMachine.prototype.getCriteria = function () {
|
|
3955
|
+
return Criteria["criteriaparser"].parse(this._inputStringCriteria);
|
|
3956
|
+
};
|
|
3957
|
+
return CriteriaOperatorStateMachine;
|
|
3958
|
+
}());
|
|
3959
|
+
Criteria.CriteriaOperatorStateMachine = CriteriaOperatorStateMachine;
|
|
3841
3960
|
var CriteriaOperator = (function () {
|
|
3842
3961
|
function CriteriaOperator() {
|
|
3843
3962
|
var _this = this;
|
|
@@ -3878,9 +3997,12 @@ var DevExpress;
|
|
|
3878
3997
|
}));
|
|
3879
3998
|
return result;
|
|
3880
3999
|
};
|
|
3881
|
-
CriteriaOperator.parse = function (stringCriteria) {
|
|
4000
|
+
CriteriaOperator.parse = function (stringCriteria, saveOriginalStringLength) {
|
|
4001
|
+
if (saveOriginalStringLength === void 0) { saveOriginalStringLength = false; }
|
|
3882
4002
|
if (stringCriteria && stringCriteria !== "") {
|
|
3883
|
-
|
|
4003
|
+
if (saveOriginalStringLength)
|
|
4004
|
+
return new CriteriaOperatorStateMachine(stringCriteria).replaceCommentsToChar(" ").getCriteria();
|
|
4005
|
+
return new CriteriaOperatorStateMachine(stringCriteria).replaceCommentsToChar().getCriteria();
|
|
3884
4006
|
}
|
|
3885
4007
|
return null;
|
|
3886
4008
|
};
|
|
@@ -4374,7 +4496,9 @@ var DevExpress;
|
|
|
4374
4496
|
}
|
|
4375
4497
|
}
|
|
4376
4498
|
else {
|
|
4377
|
-
|
|
4499
|
+
if (!(currentToken.type.indexOf("comment") === 0)) {
|
|
4500
|
+
$deferred = this.defaultProcess(currentToken, text, completions);
|
|
4501
|
+
}
|
|
4378
4502
|
}
|
|
4379
4503
|
return $deferred ? $deferred.promise() : $.Deferred().resolve(completions).promise();
|
|
4380
4504
|
};
|
|
@@ -4502,7 +4626,7 @@ var DevExpress;
|
|
|
4502
4626
|
if (!expression)
|
|
4503
4627
|
return def.resolve("").promise();
|
|
4504
4628
|
try {
|
|
4505
|
-
var expressionCriteria = Criteria.CriteriaOperator.parse(expression);
|
|
4629
|
+
var expressionCriteria = Criteria.CriteriaOperator.parse(expression, true);
|
|
4506
4630
|
}
|
|
4507
4631
|
catch (e) {
|
|
4508
4632
|
return def.reject().promise();
|
|
@@ -5626,18 +5750,18 @@ var DevExpress;
|
|
|
5626
5750
|
clickAction: $.noop,
|
|
5627
5751
|
displayText: function () { return DevExpress.Analytics.Utils.getLocalization("Edit", "AnalyticsCoreStringId.Group_Edit"); }
|
|
5628
5752
|
};
|
|
5629
|
-
var
|
|
5630
|
-
function
|
|
5753
|
+
var DefaultTreeListItemFactory = (function () {
|
|
5754
|
+
function DefaultTreeListItemFactory() {
|
|
5631
5755
|
}
|
|
5632
|
-
|
|
5756
|
+
DefaultTreeListItemFactory.prototype.createRootItem = function (options, path, onItemsVisibilityChanged, rtl) {
|
|
5633
5757
|
return new TreeListRootItemViewModel(options, path, onItemsVisibilityChanged, rtl);
|
|
5634
5758
|
};
|
|
5635
|
-
|
|
5759
|
+
DefaultTreeListItemFactory.prototype.createItem = function (options, path, onItemsVisibilityChanged, rtl, resolver) {
|
|
5636
5760
|
return new TreeListItemViewModel(options, path, onItemsVisibilityChanged, rtl, resolver);
|
|
5637
5761
|
};
|
|
5638
|
-
return
|
|
5762
|
+
return DefaultTreeListItemFactory;
|
|
5639
5763
|
}());
|
|
5640
|
-
Internal.
|
|
5764
|
+
Internal.DefaultTreeListItemFactory = DefaultTreeListItemFactory;
|
|
5641
5765
|
var TreeListEllipsisButton = (function () {
|
|
5642
5766
|
function TreeListEllipsisButton(_availableItemsCount, padding, pageSize) {
|
|
5643
5767
|
this._availableItemsCount = _availableItemsCount;
|
|
@@ -5680,7 +5804,7 @@ var DevExpress;
|
|
|
5680
5804
|
_this._pageSize = options.pageSize || -1;
|
|
5681
5805
|
_this._path = path;
|
|
5682
5806
|
_this._rtl = rtl;
|
|
5683
|
-
_this.
|
|
5807
|
+
_this._factory = options.factory || new Analytics.Widgets.Internal.DefaultTreeListItemFactory();
|
|
5684
5808
|
_this._treeListController = options.treeListController;
|
|
5685
5809
|
_this._templateName = options.templateName;
|
|
5686
5810
|
_this._onItemsVisibilityChanged = onItemsVisibilityChanged;
|
|
@@ -5805,7 +5929,7 @@ var DevExpress;
|
|
|
5805
5929
|
var currentItem = itemsObj[d.name];
|
|
5806
5930
|
if (!currentItem) {
|
|
5807
5931
|
isMutated = true;
|
|
5808
|
-
var newItem = _this.
|
|
5932
|
+
var newItem = _this._factory.createItem(options, _this.pathParts, _this._onItemsVisibilityChanged, _this._rtl, _this.resolver);
|
|
5809
5933
|
newItem.data = d;
|
|
5810
5934
|
newItem.level = _this.level + 1;
|
|
5811
5935
|
newItem.parent = _this;
|
|
@@ -5867,6 +5991,9 @@ var DevExpress;
|
|
|
5867
5991
|
return deferred.promise();
|
|
5868
5992
|
};
|
|
5869
5993
|
TreeListItemViewModel.prototype._onItemsChanged = function () { };
|
|
5994
|
+
TreeListItemViewModel.prototype._getTemplateName = function () {
|
|
5995
|
+
return this._templateName || this.data && this.data.templateName || "dx-treelist-item";
|
|
5996
|
+
};
|
|
5870
5997
|
TreeListItemViewModel.prototype._selectItem = function (itemPath) {
|
|
5871
5998
|
var _this = this;
|
|
5872
5999
|
if (!this.hasItems) {
|
|
@@ -5920,7 +6047,7 @@ var DevExpress;
|
|
|
5920
6047
|
var _this = this;
|
|
5921
6048
|
if (item.data && !item.data.specifics)
|
|
5922
6049
|
throw new Error("Specific should be set");
|
|
5923
|
-
if (item.level >=
|
|
6050
|
+
if (item.level >= 6)
|
|
5924
6051
|
return;
|
|
5925
6052
|
if (!item.data || item.treeListController.hasItems(item.data)) {
|
|
5926
6053
|
item._getItemsWithLock().done(function (result) {
|
|
@@ -6022,7 +6149,7 @@ var DevExpress;
|
|
|
6022
6149
|
});
|
|
6023
6150
|
Object.defineProperty(TreeListItemViewModel.prototype, "templateName", {
|
|
6024
6151
|
get: function () {
|
|
6025
|
-
return this.
|
|
6152
|
+
return this._getTemplateName();
|
|
6026
6153
|
},
|
|
6027
6154
|
enumerable: true,
|
|
6028
6155
|
configurable: true
|
|
@@ -6189,7 +6316,7 @@ var DevExpress;
|
|
|
6189
6316
|
_this.searchPlaceholder = function () { return Analytics.Internal.searchPlaceholder(); };
|
|
6190
6317
|
var _textToSearch = ko.observable("");
|
|
6191
6318
|
var timeout = null;
|
|
6192
|
-
_this.value = ko.computed({
|
|
6319
|
+
_this._disposables.push(_this.value = ko.computed({
|
|
6193
6320
|
read: function () { return _textToSearch(); },
|
|
6194
6321
|
write: function (newVal) {
|
|
6195
6322
|
clearTimeout(timeout);
|
|
@@ -6197,7 +6324,7 @@ var DevExpress;
|
|
|
6197
6324
|
_textToSearch(newVal);
|
|
6198
6325
|
}, _this.searchTimeout);
|
|
6199
6326
|
}
|
|
6200
|
-
});
|
|
6327
|
+
}));
|
|
6201
6328
|
_this._disposables.push(_this.value.subscribe(function (newValue) { return _this.valueChanged(newValue); }));
|
|
6202
6329
|
return _this;
|
|
6203
6330
|
}
|
|
@@ -6213,6 +6340,7 @@ var DevExpress;
|
|
|
6213
6340
|
controller.root = controller.root || ko.observable();
|
|
6214
6341
|
subscriptions.push(controller.root.subscribe(function (newRoot) {
|
|
6215
6342
|
model.addController(newRoot);
|
|
6343
|
+
model.valueChanged("");
|
|
6216
6344
|
}));
|
|
6217
6345
|
});
|
|
6218
6346
|
var template = DevExpress.Analytics.Widgets.Internal.getTemplate(templateName);
|
|
@@ -6233,14 +6361,21 @@ var DevExpress;
|
|
|
6233
6361
|
this._roots.forEach(function (root) {
|
|
6234
6362
|
root.walkOnTree(function (node) {
|
|
6235
6363
|
if (!newValue) {
|
|
6236
|
-
node.setVisible(true);
|
|
6237
|
-
node.treeListController.textToSearch(newValue);
|
|
6238
6364
|
return;
|
|
6239
6365
|
}
|
|
6240
6366
|
var regexResult = DevExpress.Analytics.Internal.findMatchesInString(node.data[root.treeListController.searchOptions.searchExpr], newValue, root.treeListController.searchOptions);
|
|
6241
6367
|
node.setVisible(!!regexResult);
|
|
6242
6368
|
regexResult && _this._collapseTreeBranch(node);
|
|
6243
6369
|
regexResult && node.treeListController.textToSearch(newValue);
|
|
6370
|
+
}, function (node) {
|
|
6371
|
+
if (newValue) {
|
|
6372
|
+
return false;
|
|
6373
|
+
}
|
|
6374
|
+
else {
|
|
6375
|
+
node.setVisible(true);
|
|
6376
|
+
node.treeListController.textToSearch(newValue);
|
|
6377
|
+
return node.items().length == 0;
|
|
6378
|
+
}
|
|
6244
6379
|
});
|
|
6245
6380
|
});
|
|
6246
6381
|
};
|
|
@@ -8896,7 +9031,7 @@ var DevExpress;
|
|
|
8896
9031
|
var treeListController = options.treeListController || new Internal.TreeListController();
|
|
8897
9032
|
options.treeListController = treeListController;
|
|
8898
9033
|
treeListController.dragDropHandler = treeListController.dragDropHandler || bindingContext.$root.fieldDragHandler;
|
|
8899
|
-
options.
|
|
9034
|
+
options.factory = options.factory || new Internal.DefaultTreeListItemFactory();
|
|
8900
9035
|
options.itemsProvider = ko.unwrap(options.itemsProvider);
|
|
8901
9036
|
options.pageSize = options.pageSize || -1;
|
|
8902
9037
|
treeListViewModel && treeListViewModel.dispose();
|
|
@@ -8912,7 +9047,7 @@ var DevExpress;
|
|
|
8912
9047
|
}
|
|
8913
9048
|
return result;
|
|
8914
9049
|
});
|
|
8915
|
-
treeListViewModel = options.
|
|
9050
|
+
treeListViewModel = options.factory.createRootItem(options, pathArray, updateScrollBar, options.rtl);
|
|
8916
9051
|
var treeListTemplate = options.templateHtml || DevExpress.Analytics.Widgets.Internal.getTemplate('dx-treelist');
|
|
8917
9052
|
if (treeListController.root) {
|
|
8918
9053
|
treeListController.searchEnabled = true;
|
|
@@ -10017,6 +10152,7 @@ if(window["ace"]) {
|
|
|
10017
10152
|
"use strict";
|
|
10018
10153
|
var oop = require("../lib/oop");
|
|
10019
10154
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
10155
|
+
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
|
10020
10156
|
|
|
10021
10157
|
var CriteriaHighlightRules = function() {
|
|
10022
10158
|
|
|
@@ -10024,6 +10160,11 @@ if(window["ace"]) {
|
|
|
10024
10160
|
// regexps are ordered -> the first match is used
|
|
10025
10161
|
this.$rules = {
|
|
10026
10162
|
"start": [
|
|
10163
|
+
{
|
|
10164
|
+
token: "comment",
|
|
10165
|
+
start: "/\\*",
|
|
10166
|
+
end: "\\*/"
|
|
10167
|
+
},
|
|
10027
10168
|
{
|
|
10028
10169
|
token: "constant.other",
|
|
10029
10170
|
regex: /(?:#(?:[^\\\#]|(?:\\.))*#?)|(?:\{[-0-9A-Fa-f]*\}?)/
|
|
@@ -10068,12 +10209,24 @@ if(window["ace"]) {
|
|
|
10068
10209
|
token: "support.function",
|
|
10069
10210
|
regex: /[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*/
|
|
10070
10211
|
}
|
|
10071
|
-
]
|
|
10212
|
+
],
|
|
10213
|
+
comment:
|
|
10214
|
+
[
|
|
10215
|
+
{
|
|
10216
|
+
token: "comment",
|
|
10217
|
+
regex: "\\*\\/",
|
|
10218
|
+
next: "no_regex"
|
|
10219
|
+
},
|
|
10220
|
+
{
|
|
10221
|
+
defaultToken: "comment"
|
|
10222
|
+
}
|
|
10223
|
+
]
|
|
10072
10224
|
};
|
|
10225
|
+
this.embedRules(DocCommentHighlightRules, "doc-", [DocCommentHighlightRules.getEndRule("start")]);
|
|
10226
|
+
this.normalizeRules();
|
|
10073
10227
|
};
|
|
10074
10228
|
|
|
10075
10229
|
oop.inherits(CriteriaHighlightRules, TextHighlightRules);
|
|
10076
|
-
|
|
10077
10230
|
exports.CriteriaHighlightRules = CriteriaHighlightRules;
|
|
10078
10231
|
});
|
|
10079
10232
|
}
|
|
@@ -10896,7 +11049,7 @@ var DevExpress;
|
|
|
10896
11049
|
SelectionDragDropHandler.prototype.doStopDrag = function (ui, _) {
|
|
10897
11050
|
this.dragHelperContent.reset();
|
|
10898
11051
|
if (this.selection.dropTarget) {
|
|
10899
|
-
var dropTarget = this.selection.dropTarget.getControlModel(), dropTargetSurface = dropTarget.getNearestParent(dropTarget)
|
|
11052
|
+
var dropTarget = this.selection.dropTarget.getControlModel(), dropTargetSurface = dropTarget.getNearestParent(dropTarget)['surface'];
|
|
10900
11053
|
var focusedSurface = this.selection.focused();
|
|
10901
11054
|
var adjustedTarget = this.adjustDropTarget(dropTargetSurface), focusedModel = focusedSurface.getControlModel(), parent = focusedModel.getNearestParent(adjustedTarget.getControlModel()), adjustedTarget = parent && Internal.findSurface(parent), changeParent = adjustedTarget !== focusedSurface.parent;
|
|
10902
11055
|
if (!adjustedTarget || !adjustedTarget.canDrop()) {
|
|
@@ -14358,7 +14511,7 @@ var DevExpress;
|
|
|
14358
14511
|
result = val * 96 / 100;
|
|
14359
14512
|
}
|
|
14360
14513
|
result = result * (zoom);
|
|
14361
|
-
return Math.floor(result *
|
|
14514
|
+
return Math.floor(result * 10000) / 10000;
|
|
14362
14515
|
}
|
|
14363
14516
|
Internal.unitsToPixel = unitsToPixel;
|
|
14364
14517
|
function pixelToUnits(val, measureUnit, zoom) {
|
|
@@ -14373,7 +14526,7 @@ var DevExpress;
|
|
|
14373
14526
|
result = val / 96 * 100;
|
|
14374
14527
|
}
|
|
14375
14528
|
result = result / (zoom);
|
|
14376
|
-
return Math.
|
|
14529
|
+
return Math.round(result * 10000) / 10000;
|
|
14377
14530
|
}
|
|
14378
14531
|
Internal.pixelToUnits = pixelToUnits;
|
|
14379
14532
|
function createUnitProperty(model, target, propertyName, property, measureUnit, zoom, afterCreation) {
|
|
@@ -14490,9 +14643,12 @@ var DevExpress;
|
|
|
14490
14643
|
else if (width < 1200) {
|
|
14491
14644
|
return "md";
|
|
14492
14645
|
}
|
|
14493
|
-
else {
|
|
14646
|
+
else if (width < 1380) {
|
|
14494
14647
|
return "lg";
|
|
14495
14648
|
}
|
|
14649
|
+
else {
|
|
14650
|
+
return "xl";
|
|
14651
|
+
}
|
|
14496
14652
|
}
|
|
14497
14653
|
Internal.getSizeFactor = getSizeFactor;
|
|
14498
14654
|
function appendStaticContextToRootViewModel(root, dx) {
|