@devexpress/analytics-core 19.1.6-build-19210-0307 → 19.1.7

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics-core.d.ts)
3
- * Version: 19.1.4
4
- * Build date: 2019-07-26
3
+ * Version: 19.1.7
4
+ * Build date: 2019-10-14
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
  */
@@ -1379,6 +1379,7 @@ declare module DevExpress.Analytics {
1379
1379
  private _getNodeImageClassName;
1380
1380
  private _createItemsObj;
1381
1381
  private _loadItems;
1382
+ protected _onItemsChanged(): void;
1382
1383
  _selectItem(itemPath: string): void;
1383
1384
  _find(itemPath: string): void;
1384
1385
  private _applyPadding;
@@ -1424,9 +1425,11 @@ declare module DevExpress.Analytics {
1424
1425
  selectedItems(): TreeListItemViewModel[];
1425
1426
  }
1426
1427
  class TreeListRootItemViewModel extends TreeListItemViewModel {
1428
+ private _options;
1427
1429
  dispose(): void;
1428
1430
  private _selectedPathSubscription;
1429
- constructor(options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: () => any, rtl?: boolean);
1431
+ constructor(_options: ITreeListOptions, path?: string[], onItemsVisibilityChanged?: () => any, rtl?: boolean);
1432
+ _onItemsChanged(): void;
1430
1433
  }
1431
1434
  interface ITreeListController {
1432
1435
  itemsFilter: (item: Utils.IDataMemberInfo, path?: string) => boolean;
@@ -1564,6 +1567,7 @@ declare module DevExpress.Analytics {
1564
1567
  class CriteriaOperatorSurface<T extends Criteria.CriteriaOperator> extends Utils.Disposable {
1565
1568
  _createLeftPartProperty(value: any): CriteriaOperatorSurface<Criteria.CriteriaOperator>;
1566
1569
  createChildSurface(item: any, path?: any, actions?: any): CriteriaOperatorSurface<Criteria.CriteriaOperator>;
1570
+ protected getDisplayType(): string;
1567
1571
  constructor(operator: T, parent: any, fieldListProvider: any, path: any);
1568
1572
  specifics: ko.Observable<string> | ko.Computed<string>;
1569
1573
  dataType: ko.Observable<string> | ko.Computed<string>;
@@ -2287,17 +2291,10 @@ declare module DevExpress.Analytics {
2287
2291
  borders: {
2288
2292
  header: string;
2289
2293
  };
2290
- controls: {
2291
- header: string;
2292
- };
2293
2294
  objecteditorCustom: {
2294
2295
  custom: string;
2295
2296
  editorType: typeof PropertyGridEditor;
2296
2297
  };
2297
- treelist: {
2298
- custom: string;
2299
- editorType: typeof Editor;
2300
- };
2301
2298
  field: {
2302
2299
  header: string;
2303
2300
  editorType: typeof FieldListEditor;
@@ -2315,12 +2312,6 @@ declare module DevExpress.Analytics {
2315
2312
  expressionEditor: {
2316
2313
  header: string;
2317
2314
  };
2318
- multiValue: {
2319
- header: string;
2320
- };
2321
- multiValueEditable: {
2322
- custom: string;
2323
- };
2324
2315
  customColorEditor: {
2325
2316
  header: string;
2326
2317
  editorType: typeof ColorPickerEditor;
@@ -2590,6 +2581,7 @@ declare module DevExpress.Analytics {
2590
2581
  function getToolboxItems(controlsMap: {
2591
2582
  [key: string]: Elements.IElementMetadata;
2592
2583
  }): Utils.ToolboxItem[];
2584
+ function blur(element: Element): void;
2593
2585
  function guid(): string;
2594
2586
  }
2595
2587
  module Internal {
@@ -3256,7 +3248,7 @@ declare module DevExpress.Analytics {
3256
3248
  handlers: any[];
3257
3249
  call: (e: any) => void;
3258
3250
  };
3259
- function processErrorEvent(func: any): void;
3251
+ function processErrorEvent(func: any): Utils.IDisposable;
3260
3252
  interface IResizableOptions extends JQueryUI.ResizableOptions {
3261
3253
  starting?: () => void;
3262
3254
  $element?: Element;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Analytics Core (dx-analytics-core.js)
3
- * Version: 19.1.4
4
- * Build date: 2019-07-26
3
+ * Version: 19.1.7
4
+ * Build date: 2019-10-14
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
  */
@@ -814,7 +814,6 @@ var DevExpress;
814
814
  var Widgets;
815
815
  (function (Widgets) {
816
816
  Widgets.editorTemplates = {
817
- color: { header: "dx-color" },
818
817
  bool: { header: "dx-boolean" },
819
818
  boolSelect: { header: "dx-boolean-select" },
820
819
  numeric: { header: "dx-numeric" },
@@ -1309,8 +1308,8 @@ var DevExpress;
1309
1308
  var newEditors = this.createEditors(serializationInfo);
1310
1309
  if (!newEditors.length)
1311
1310
  return;
1312
- var propertyNames = [].concat([], this._editors().map(function (editor) { return editor.name; }), serializationInfo.map(function (info) { return info.propertyName; })).sort(function (a, b) { return a[0] - b[0]; });
1313
- newEditors.forEach(function (editor) { return _this_1._editors.splice(propertyNames.lastIndexOf(editor.name), 0, editor); });
1311
+ var propertyNames = [].concat([], this._editors().map(function (editor) { return editor.name; }), newEditors.map(function (editor) { return editor.name; })).sort(function (a, b) { return a[0] - b[0]; });
1312
+ newEditors.forEach(function (editor) { return _this_1._editors.splice(propertyNames.indexOf(editor.name), 0, editor); });
1314
1313
  };
1315
1314
  ObjectProperties.prototype._update = function (target, editorsInfo, recreateEditors) {
1316
1315
  var _this_1 = this;
@@ -2264,17 +2263,16 @@ DevExpress.Analytics.Internal._definePropertyByString(DevExpress, "Designer.Stri
2264
2263
  DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
2265
2264
  'dx-editor-addons': '<!-- ko if: visible --> <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxd-back-contrast" data-bind="dxclick: showPopup, css: editorMenuButtonCss"> <div class="dxrd-editormenu-box-inside dxd-back-secondary"></div> </div> <!-- /ko -->',
2266
2265
  'dx-boolean': '<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div>',
2267
- 'dx-boolean-select': '<div data-bind="dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization(\'Yes\', \'AnalyticsCoreStringId.ParametersPanel_True\') }, { val: false, text: $root.getLocalization(\'No\', \'AnalyticsCoreStringId.ParametersPanel_False\') }], valueExpr: \'val\', displayExpr: \'text\', value: value, disabled: disabled }, dxValidator: { validationRules: validationRules || [] }"></div>',
2266
+ 'dx-boolean-select': '<div data-bind="dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization(\'Yes\', \'AnalyticsCoreStringId.ParametersPanel_True\') }, { val: false, text: $root.getLocalization(\'No\', \'AnalyticsCoreStringId.ParametersPanel_False\') }], valueExpr: \'val\', displayExpr: \'text\', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }"></div>',
2268
2267
  'dx-commonCollection': '<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }"> </div> </div>',
2269
2268
  'dx-commonCollectionItem': '<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',
2270
- 'dx-color': '<div data-bind="dxColorBox: { value: value, editAlphaChannel: true, popupPosition: { collision: \'flipfit flipfit\' }, disabled: disabled }"></div>',
2271
2269
  'item-with-title': '<div class="dx-listitem-with-title" data-bind="text: $data.display, attr: { title: $data.display }"></div>',
2272
- 'dx-combobox': '<div data-bind="dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: \'value\', displayExpr: \'displayValue\', displayCustomValue: true, disabled: disabled }, dxValidator: { validationRules: $data.validationRules || [] }"> </div>',
2273
- 'dx-combobox-editable': '<div data-bind="dxSelectBox: getOptions({ items: values, value: value, valueExpr: \'value\', displayExpr: \'displayValue\', disabled: disabled, placeholder: $root.dx.Analytics.Internal.selectPlaceholder(), acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; } })"></div>',
2274
- 'dx-combobox-undo': '<div data-bind="dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: \'value\', displayExpr: \'displayValue\', displayCustomValue: true, disabled: disabled }, dxValidator: { validationRules: $data.validationRules || [] }"> </div>',
2270
+ 'dx-combobox': '<div data-bind="dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: \'value\', displayExpr: \'displayValue\', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }"> </div>',
2271
+ 'dx-combobox-editable': '<div data-bind="dxSelectBox: getOptions({ items: values, value: value, valueExpr: \'value\', displayExpr: \'displayValue\', disabled: disabled, placeholder: $root.dx.Analytics.Internal.selectPlaceholder(), acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) } })"></div>',
2272
+ 'dx-combobox-undo': '<div data-bind="dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: \'value\', displayExpr: \'displayValue\', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: $data.validationRules || [] }"> </div>',
2275
2273
  'dx-property-editor': '<div class="dx-editor" data-bind="visible: visible"> <div class="dx-group" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-editor-header"> <div class="dx-field"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> <!-- ko if: isComplexEditor --> <div class="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }"></div> <!-- ko if: !!$data.textToSearch --> <div class="dx-group-header-font" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }"></div> <!-- /ko --> <!-- ko ifnot: !!$data.textToSearch --> <div class="dx-group-header-font" data-bind="text: displayName, attr: { \'title\': displayName }"></div> <!-- /ko --> <!-- /ko --> <!-- ko if: !isComplexEditor --> <!-- ko if: !!$data.textToSearch --> <div class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> <!-- /ko --> <!-- ko ifnot: !!$data.textToSearch --> <div class="propertygrid-editor-displayName" data-bind="text: displayName, attr: { \'title\': displayName }, style: { fontWeight: isPropertyModified() ? \'Bold\' : \'\'}"></div> <!-- /ko --> <!-- /ko --> </div> <div class="dx-field-value"> <div data-bind="service: { name: \'createEditorAddOn\' }"></div> <!-- ko if: templateName !== \'dx-emptyHeader\' --> <!-- ko lazy: { template: templateName } --> <!-- /ko --> <!-- /ko --> </div> </div> </div> <!-- ko if: isComplexEditor --> <div class="dx-editor-content dx-accordion-content"> <!-- ko if: (!$data.editorCreated || editorCreated) --> <!-- ko template: contentTemplateName --> <!-- /ko --> <!-- /ko --> </div> <!-- /ko --> </div> </div>',
2276
2274
  'dx-emptyHeader': ' ',
2277
- 'dx-date': '<div class="dx-datebox-container"> <div data-bind="dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: \'datetime\', disabled: disabled }), dxValidator: { validationRules: validationRules || [] }"></div> </div>',
2275
+ 'dx-date': '<div class="dx-datebox-container"> <div data-bind="dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: \'datetime\', disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }), dxValidator: { validationRules: validationRules || [] }"></div> </div>',
2278
2276
  'dx-file': '<div data-bind="dxFileImagePicker: { value: value, placeholderId: \'File\', disabled: disabled }"></div>',
2279
2277
  'dx-modificators': '<div class="dx-font-content"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"></div> <!-- ko with: value --> <div class="dx-field-value"> <div class="dx-font-styles-content"> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold" data-bind="css: { \'dxd-state-active\': bold(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { bold(!bold()); } }"><!-- ko template: \'dxrd-svg-fontstyle-bold\'--><!-- /ko --></div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic" data-bind="css: { \'dxd-state-active\': italic(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { italic(!italic()); } }"><!-- ko template: \'dxrd-svg-fontstyle-italic\'--><!-- /ko --></div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline" data-bind="css: { \'dxd-state-active\': underline(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { underline(!underline()); } }"><!-- ko template: \'dxrd-svg-fontstyle-underline\'--><!-- /ko --></div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout" data-bind="css: { \'dxd-state-active\': strikeout(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!$parent.disabled()) { strikeout(!strikeout()); } }"><!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--><!-- /ko --></div> </div> </div> <!-- /ko --> </div> </div>',
2280
2278
  'dx-image': '<div data-bind="dxFileImagePicker: { value: value, placeholderId: \'Image\', accept: \'image/*\', type: \'img\', disabled: disabled }"></div>',
@@ -2315,7 +2313,7 @@ DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
2315
2313
  'dx-filtereditor-property': '<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeProperty\' }"></div> <!-- ko if: $data.canChange --> <div data-bind="service: { name: \'createChangeValueType\' }"></div> <!-- /ko --> </div>',
2316
2314
  'dx-filtereditor-unary': '<!-- ko if: $data.operand().reverse --> <!-- ko template: {name: $data.operand().templateName, data: $data.operand() }--> <!-- /ko --> <!-- /ko --> <!-- ko ifnot: $data.operand().reverse --> <div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove"><!-- ko template: \'dxrd-svg-filtereditor-remove\' --><!-- /ko --></div> </div> <!-- ko with: operand--> <div class="criteria-operator-item"> <!-- ko template: { name: templateName, data: $data }--> <!-- /ko --> </div> <!-- /ko --> <div data-bind="service: { name: \'createChangeType\' }"></div> </div> </div> <!-- /ko -->',
2317
2315
  'dx-filtereditor-not': '<!-- ko with: operand--> <!-- ko template: { name: templateName, data: $data }--> <!-- /ko --> <!-- /ko -->',
2318
- 'dx-filtereditor-value': '<div class="criteria-operator-item" data-bind="visible: isEditable"> <!-- ko if: $data.items.length === 0 --> <!-- ko if: $data.specifics() === "string" || $data.specifics() === "guid" --> <div class="criteria-operator-item-editor" data-bind="dxTextBox: { value: _value, onFocusOut: function() { isEditable(false); } }, focus: { on: isEditable }"></div> <!-- /ko --> <!-- ko if: $data.specifics() === "bool" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: { dataSource: [ { val: \'True\', text: \'Yes\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_True\' }, { val: \'False\', text: \'No\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_False\' }], valueExpr: \'val\', displayExpr: \'text\', value: _value, onFocusOut: function() { isEditable(false); } }"></div> <!-- /ko --> <!-- ko if: $data.specifics() === "date" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: { value: _value, closeOnValueChange: true, type: \'date\', onFocusOut: function() { isEditable(false); } }"></div> <!-- /ko --> <!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --> <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions(), focus: { on: isEditable }"></div> <!-- /ko --> <!-- /ko --> <!-- ko if: $data.items.length > 0 && typeof $data.items[0] === "object" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, valueExpr: \'value\', displayExpr: \'display\', searchEnabled: true, onFocusOut: function() { isEditable(false); }}"></div> <!-- /ko --> <!-- ko if: $data.items.length > 0 && typeof $data.items[0] !== "object" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, acceptCustomValue: true, searchEnabled: true, onFocusOut: function() { isEditable(false); }}"></div> <!-- /ko --> </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable()"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { isEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',
2316
+ 'dx-filtereditor-value': '<div class="criteria-operator-item" data-bind="visible: isEditable"> <!-- ko if: $data.items.length === 0 --> <!-- ko if: $data.specifics() === "string" || $data.specifics() === "guid" --> <div class="criteria-operator-item-editor" data-bind="dxTextBox: { value: _value, onFocusOut: function() { isEditable(false); } }, focus: { on: isEditable }"></div> <!-- /ko --> <!-- ko if: $data.specifics() === "bool" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: { dataSource: [ { val: \'True\', text: \'Yes\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_True\' }, { val: \'False\', text: \'No\', localizationId: \'AnalyticsCoreStringId.ParametersPanel_False\' }], valueExpr: \'val\', displayExpr: \'text\', value: _value, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> <!-- /ko --> <!-- ko if: $data.specifics() === "date" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: { value: _value, closeOnValueChange: true, type: \'date\', onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> <!-- /ko --> <!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --> <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions(), focus: { on: isEditable }"></div> <!-- /ko --> <!-- /ko --> <!-- ko if: $data.items.length > 0 && typeof $data.items[0] === "object" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, valueExpr: \'value\', displayExpr: \'display\', searchEnabled: true, onFocusOut: function() { isEditable(false); }}, dropDownOptions: { container: $root.getPopupContainer($element) }"></div> <!-- /ko --> <!-- ko if: $data.items.length > 0 && typeof $data.items[0] !== "object" --> <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: { value: _value, dataSource: dataSource, acceptCustomValue: true, searchEnabled: true, onFocusOut: function() { isEditable(false); }, dropDownOptions: { container: $root.getPopupContainer($element) }}"></div> <!-- /ko --> </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable()"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { isEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',
2319
2317
  'dx-filtereditor-popup': '<div class="dx-filtereditor dx-popup-general" data-bind="dxPopup: { showTitle: true, width: \'95%\', height: \'95%\', title: options() && options().title(), visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }"> <!-- ko template: \'dx-filtereditor-content\' --> <!-- /ko --> </div> <!-- ko template: \'dx-filtereditor-content-popups\' --> <!-- /ko -->',
2320
2318
  'dx-filtereditor-create': '<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image dx-image-filtereditor-add"><!-- ko template: \'dxrd-svg-filtereditor-add\' --><!-- /ko --></div> </div>',
2321
2319
  'dx-filtereditor-change': '<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayType, dxclick: showPopup, css: target.css"></div>',
@@ -2344,7 +2342,7 @@ DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
2344
2342
  'dx-treelist-common': '<!-- ko foreach: items --> <!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --> <!-- /ko --> <div data-bind="visible: !collapsed()"> <!-- ko template: { name: \'dx-treelist\', data: $data } --> <!-- /ko --> </div> <!-- /ko -->',
2345
2343
  'dx-treelist-paginate': '<!-- ko foreach: visibleItems --> <!-- ko template: templateName --> <!-- /ko --> <div data-bind="visible: !collapsed()"> <!-- ko template: { name: \'dx-treelist\', data: $data } --> <!-- /ko --> </div> <!-- /ko -->',
2346
2344
  'dxrd-borders': '<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value }"></div>',
2347
- 'dxrd-colorpicker': '<div data-bind="dxColorBox: { value: displayValue, editAlphaChannel: true, popupPosition: { collision: \'flipfit flipfit\' }, disabled: disabled }"></div>',
2345
+ 'dxrd-colorpicker': '<div data-bind="dxColorBox: { value: displayValue, editAlphaChannel: true, popupPosition: { collision: \'flipfit flipfit\' }, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div>',
2348
2346
  'dxrd-expressionstring': '<!-- ko if: $data.value() --> <div data-bind="dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })"></div> <!-- /ko -->',
2349
2347
  '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 -->',
2350
2348
  '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 -->',
@@ -2355,8 +2353,6 @@ DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
2355
2353
  'dxrd-objectEditorContent': '<!-- ko if: $data.visible() && $data.editorCreated() --> <div data-bind="template: { name: \'dx-propertieseditor\', data: viewmodel }"></div> <!-- /ko -->',
2356
2354
  'dxrd-objectEditor': '<div data-bind="dxPropertyGrid: { target: ko.observable($data), level: $parent.level, textToSearch: $parent.textToSearch }"></div>',
2357
2355
  'dxrd-commonCollectionItem': '<div data-bind="dxPropertyGrid: { target: value, level: editor.level + 1, parentDisabled: editor.disabled }"></div>',
2358
- 'dxrd-controls': '<div data-bind="dxLocalizedSelectBox: { items: $root.controls, value: value, displayExpr: \'displayName\', valueExpr: \'value\', disabled: disabled }"></div>',
2359
- 'dxrd-treelistContent': '<!-- ko if: visible --> <!-- ko if: value --> <!-- ko with: value --> <div data-bind="treelist: { itemsProvider: itemsProvider, selectedPath: selectedPath, treeListController: treeListController }"></div> <!-- /ko --> <!-- /ko --> <!-- /ko -->',
2360
2356
  'dxrd-objectVisitor': '<!-- ko if: options --> <div data-bind="treelist: options"></div> <!-- /ko -->',
2361
2357
  'dxd-snap-lines-holder': '<div class="dxd-snap-lines-holder"> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[0].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[1].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[2].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[3].transform() }"></div> </div>',
2362
2358
  'dxrd-surface-template-base': '<!-- ko ifnot: isLoading --> <!-- ko with: surface --> <div class="dxrd-surface-wrapper" data-bind="template: templateName, click: function(_, e) { $root.selection.clickHandler($data, e); e.stopPropagation(); }"> </div> <!-- /ko --> <!-- /ko --> <!-- ko if: isLoading --> <div class="dxrd-surface-wrapper"> <div style="text-align: center; padding-top: 25%;"> <div data-bind="dxLoadIndicator: { visible: isLoading() }"></div> </div> </div> <!-- /ko -->',
@@ -2364,13 +2360,13 @@ DevExpress.Analytics.Widgets.Internal.SvgTemplatesEngine.addTemplates({
2364
2360
  'dxrd-collectionactions-template': '<div class="dxrd-action-items-container"></div> <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }"></div> <div data-bind="dxPopup: { width: 235, height: \'auto\', position: { my: $root.rtl ? \'left top\': \'right top\', at: \'bottom\', of: (\'#\' + id) }, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> <!-- ko foreach: actions --> <div class="dxrd-action-item dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: clickAction, css: { \'dxrd-disabled-button\': disabled }"> <div class="dxrd-action-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> <!-- /ko --> </div>',
2365
2361
  'dxrd-menubutton-template-base': '<div class="dxrd-menu-container" style="position:relative; width:0; height:100%"></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place" style="width:54px;"></div> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div class="dxd-menu-back-color dxd-back-primary2" data-bind="dxPopup: { width: 250, height: \'100%\' , position: $data.rtl ? { my: \'right top\' , at: \'left top\' , offset: \'-10 0\' } : { my: \'left top\' , at: \'right top\' , offset: \'10 0\' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, closeOnOutsideClick: function(e) { var buttonClassName = \'dxrd-menu-button-image\'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible }"> <div class="dxrd-menu-break dxd-popup-back-color dxd-back-primary2"></div> <!-- ko foreach: actionLists.menuItems --> <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { \'dxrd-disabled-button\': disabled }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> <div class="dxrd-menu-item-text" data-bind="text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> </div> <!-- /ko --> </div> </div>',
2366
2362
  'dxrd-top-grid': '<!-- ko if: popularVisible --> <div class="dx-fieldset"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> <!-- ko foreach: (contextActions || []) --> <!-- ko if: $data.templateName --> <!-- ko template: templateName --> <!-- /ko --> <!-- /ko --> <!-- ko if: !$data.templateName --> <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { \'dxrd-disabled-button\': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> <!-- /ko --> <!-- /ko --> <!-- ko with: popularProperties --> <div style="position: relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> <!-- /ko --> </div> </div> </div> <!-- /ko -->',
2367
- 'dxrd-propertiestab': '<div class="dxrd-properties-wrapper" data-bind="visible: active() && visible()"> <div style="height:100%" class="dxd-text-primary"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> <!-- ko with: model --> <!-- ko if: $root.controlsStore.visible() --> <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-gread-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> <div class="dx-property-grid-search-group dx-property-gread-search-collapsed" data-bind="css: { \'dx-property-gread-search-collapsed\': !isSearching() }"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active\': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: \'dxrd-svg-properties-search\', iconClass: \'image-search\' }"></div> <div class="dx-property-grid-search-box" data-bind="dxTextBox: { value: textToSearch, valueChangeEvent: \'keyup\', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }"></div> </div> </div> </div> <!-- /ko --> <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }, styleunit: { top: $root.controlsStore.visible() ? 80 : 40 }"> <!-- ko template: { name: \'dxrd-top-grid\', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } } --> <!-- /ko --> <div data-bind="visible: isSortingByGroups"> <!-- ko foreach: groups --> <div class="dx-fieldset" data-bind="visible: visible"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> <!-- ko ifnot: editorsCreated --> <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated() }"></div> </div> <!-- /ko --> <!-- ko if: $data.editorsRendered() --> <div data-bind="visible: editorsCreated"> <div class="dx-editors"> <!-- ko foreach: editors --> <!-- ko template: editorTemplate --> <!-- /ko --> <!-- ko if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true)) --> <!-- /ko --> <!-- /ko --> </div> </div> <!-- /ko --> </div> </div> </div> <!-- /ko --> </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups()"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated() }"></div> <!-- ko if: $data.editorsRendered() --> <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> <!-- ko foreach: $data.getEditors() --> <!-- ko template: editorTemplate --> <!-- /ko --> <!-- ko if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true)) --> <!-- /ko --> <!-- /ko --> </div> </div> <!-- /ko --> </div> <div data-bind="dxPopup: { width: 148, height: \'auto\', position: $data.rtl ? { my: \'left top\', at: \'right top\', of: popupService.target } : { my: \'right top\', at: \'left top\', of: popupService.target }, container: \'.dx-designer-viewport\', target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }"> <div data-options="dxTemplate: { name: \'content\' }"> <!-- ko if: popupService.title --> <div class="dxrd-editor-menu-caption dxd-text-primary" data-bind="text: popupService.title"></div> <!-- /ko --> <!-- ko foreach: popupService.actions --> <!-- ko if: (!visible || visible()) --> <div class="dxrd-editor-menu-item dxd-list-item-back-color dxd-back-highlighted dxd-state-normal" data-bind="dxclick: action"> <div class="dxrd-menuitem-box dxd-property-grid-menu-box-color dxd-back-contrast"> <div class="dxrd-menuitem-box-inside dxd-back-secondary"></div> </div> <span class="dxrd-editor-menu-title dxd-text-primary" data-bind="text: title"></span> </div> <!-- /ko --> <!-- /ko --> </div> </div> </div> <!-- /ko --> </div></div>',
2363
+ 'dxrd-propertiestab': '<div class="dxrd-properties-wrapper" data-bind="visible: active() && visible()"> <div style="height:100%" class="dxd-text-primary"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> <!-- ko with: model --> <!-- ko if: $root.controlsStore.visible() --> <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-gread-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> <div class="dx-property-grid-search-group dx-property-gread-search-collapsed" data-bind="css: { \'dx-property-gread-search-collapsed\': !isSearching() }"> <div class="dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2" data-bind="css: { \'dxd-state-active\': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: \'dxrd-svg-properties-search\', iconClass: \'image-search\' }"></div> <div class="dx-property-grid-search-box" data-bind="dxTextBox: { value: textToSearch, valueChangeEvent: \'keyup\', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }"></div> </div> </div> </div> <!-- /ko --> <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }, styleunit: { top: $root.controlsStore.visible() ? 80 : 40 }"> <!-- ko template: { name: \'dxrd-top-grid\', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } } --> <!-- /ko --> <div data-bind="visible: isSortingByGroups"> <!-- ko foreach: groups --> <div class="dx-fieldset" data-bind="visible: visible"> <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header" data-bind="css: { \'dxrd-group-header-collapsed dxd-border-primary\': collapsed() }"> <div class="dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" style="display:inline-block;"></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary"> <!-- ko ifnot: editorsCreated --> <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated() }"></div> </div> <!-- /ko --> <!-- ko if: $data.editorsRendered() --> <div data-bind="visible: editorsCreated"> <div class="dx-editors"> <!-- ko foreach: editors --> <!-- ko template: editorTemplate --> <!-- /ko --> <!-- ko if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true)) --> <!-- /ko --> <!-- /ko --> </div> </div> <!-- /ko --> </div> </div> </div> <!-- /ko --> </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups()"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated() }"></div> <!-- ko if: $data.editorsRendered() --> <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> <!-- ko foreach: $data.getEditors() --> <!-- ko template: editorTemplate --> <!-- /ko --> <!-- ko if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true)) --> <!-- /ko --> <!-- /ko --> </div> </div> <!-- /ko --> </div> <div data-bind="dxPopup: { width: 148, height: \'auto\', position: $data.rtl ? { my: \'left top\', at: \'right top\', of: popupService.target } : { my: \'right top\', at: \'left top\', of: popupService.target }, container: \'.dx-designer-viewport\', target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, closeOnOutsideClick: true, shading: false, visible: popupService.visible }"> <div data-options="dxTemplate: { name: \'content\' }"> <!-- ko if: popupService.title --> <div class="dxrd-editor-menu-caption dxd-text-primary" data-bind="text: popupService.title"></div> <!-- /ko --> <!-- ko foreach: popupService.actions --> <!-- ko if: (!visible || visible()) --> <div class="dxrd-editor-menu-item dxd-list-item-back-color dxd-back-highlighted dxd-state-normal" data-bind="dxclick: action"> <div class="dxrd-menuitem-box dxd-property-grid-menu-box-color dxd-back-contrast"> <div class="dxrd-menuitem-box-inside dxd-back-secondary"></div> </div> <span class="dxrd-editor-menu-title dxd-text-primary" data-bind="text: title"></span> </div> <!-- /ko --> <!-- /ko --> </div> </div> </div> <!-- /ko --> </div></div>',
2368
2364
  'dx-right-panel-lightweight': '<div class="dxrd-right-panel dx-shadow dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'1px\', 325)"> <!-- ko foreach: tabPanel.tabs --> <!-- ko lazy: { template: $data.template } --> <!-- /ko --> <!-- /ko --> </div>',
2369
2365
  'dxrd-right-panel-template-base': '<div class="dx-shadow dxd-border-secondary" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses({\'border\': !tabPanel.collapsed()})"> <div class="dxrd-right-panel-collapse dxd-back-primary dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="styleunit: { width: tabPanel.headerWidth }, css: tabPanel.cssClasses(), dxclick: function() { tabPanel.collapsed(!tabPanel.collapsed()); }, attr: { title: tabPanel.toggleCollapsedText }"> <div class="dxrd-right-panel-collapse-image" data-bind="css: tabPanel.toggleCollapsedImage().class, template: tabPanel.toggleCollapsedImage().template"></div> </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: tabPanel.width }, css: tabPanel.cssClasses(), resizable: tabPanel.getResizableOptions($element, \'50px\', 340)"> <!-- ko foreach: tabPanel.tabs --> <!-- ko lazy: { template: $data.template } --> <!-- /ko --> <!-- /ko --> </div> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabPanel.cssClasses()"> <!-- ko foreach: tabPanel.tabs --> <div class="dxrd-tab-item dxd-side-panel-tab-back-color dxd-back-highlighted" data-bind="dxclick: function(s) { $parent.tabPanel.selectTab({ model: s }) }, css: { \'dxd-state-active dxd-state-no-hover\': active, \'dxrd-tab-item-disabled\': disabled }, attr: { title: text }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> </div> <!-- /ko --> </div> </div>',
2370
2366
  'dxrd-toolbar-template-base': '<div class="dxrd-toolbar-wrapper"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.toolbarItems }"></div> </div>',
2371
2367
  'dxrd-toolbar-tmplt': '<!-- ko foreach: $data --> <!-- ko if: $data.templateName --> <!-- ko template: templateName --> <!-- /ko --> <!-- /ko --> <!-- ko if: !$data.templateName --> <div class="dxrd-toolbar-item" data-bind="visible: visible"> <div data-bind="template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { class: \'dxrd-toolbar-item-image dxd-button-back-color dxd-state-normal dxd-back-highlighted \' + (ko.unwrap($data.imageClassName) || \'\'), title: $data.displayText && $data.displayText() || text }, dxclick: function() { if((typeof $data.disabled === \'function\') && !disabled() || !disabled) { clickAction($root.model && $root.model()); } }, css: {\'dxrd-disabled-button\': disabled, \'dxd-state-active\': $data.selected }"> </div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: $data.hasSeparator"></div> </div> <!-- /ko --> <!-- /ko -->',
2372
2368
  'dxrd-toolbox-template-base': '<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> <!-- ko foreach: toolboxItems --> <div class="dxrd-toolbox-item" data-bind="attr: { title: displayName }"> <div class="dx-background-inheritor dxd-toolbox-item-back-color dxd-back-secondary"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> </div> <!-- /ko --> </div>',
2373
- 'dxrd-zoom-select-template': '<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: zoomLevels, value: $data.zoom, displayExpr: function(val) { return Math.round((val || this.option(\'value\')) * 100) + \'%\'; }, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: onCustomItemCreating, disabled: disabled }"></div> </div>',
2369
+ 'dxrd-zoom-select-template': '<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: zoomLevels, value: $data.zoom, displayExpr: function(val) { return Math.round((val || this.option(\'value\')) * 100) + \'%\'; }, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: onCustomItemCreating, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }"></div> </div>',
2374
2370
  'dxrd-bordereditor': '<div class="bordereditor-content"> <!-- ko with: value--> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-none" data-bind="template: \'dxrd-svg-properties-borders-none\', css: { \'dxd-state-active\': (!bottom() && !left() && !top() && !right()), \'dxrd-disabled-button\': disabled }, click: function() { setNone() }"></div> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all right-margin" data-bind="template: \'dxrd-svg-properties-borders-all\', css: { \'dxd-state-active\': (bottom() && left() && top() && right()), \'dxrd-disabled-button\': disabled }, click: function() { setAll() }"></div> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-left" data-bind="template: \'dxrd-svg-properties-borders-left\', css: { \'dxd-state-active\': left(), \'dxrd-disabled-button\': disabled }, click: function() { setValue(\'left\') }"></div> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-top" data-bind="template: \'dxrd-svg-properties-borders-top\', css: { \'dxd-state-active\': top(), \'dxrd-disabled-button\': disabled }, click: function() { setValue(\'top\') }"></div> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-right" data-bind="template: \'dxrd-svg-properties-borders-right\', css: { \'dxd-state-active\': right(), \'dxrd-disabled-button\': disabled }, click: function() { setValue(\'right\') }"></div> <div class="bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-bottom" data-bind="template: \'dxrd-svg-properties-borders-bottom\', css: { \'dxd-state-active\': bottom(), \'dxrd-disabled-button\': disabled }, click: function() { setValue(\'bottom\') }"></div> <!-- /ko --></div>',
2375
2371
  });
2376
2372
 
@@ -5610,7 +5606,10 @@ var DevExpress;
5610
5606
  items.splice(dataObj[curItem.data.name] ? dataObj[curItem.data.name].index : -1, 0, curItem);
5611
5607
  isMutated = true;
5612
5608
  }
5613
- isMutated && _this.items.valueHasMutated();
5609
+ if (isMutated) {
5610
+ _this.items.valueHasMutated();
5611
+ _this._onItemsChanged();
5612
+ }
5614
5613
  _this.items().forEach(function (item) {
5615
5614
  if ((!_this.collapsed() || loadInnerItems) && item._treeListController.hasItems(item.data)) {
5616
5615
  item._loadItems(options);
@@ -5638,6 +5637,7 @@ var DevExpress;
5638
5637
  }));
5639
5638
  return deferred.promise();
5640
5639
  };
5640
+ TreeListItemViewModel.prototype._onItemsChanged = function () { };
5641
5641
  TreeListItemViewModel.prototype._selectItem = function (itemPath) {
5642
5642
  var _this = this;
5643
5643
  if (!this.hasItems) {
@@ -5828,19 +5828,20 @@ var DevExpress;
5828
5828
  Internal.TreeListItemViewModel = TreeListItemViewModel;
5829
5829
  var TreeListRootItemViewModel = (function (_super) {
5830
5830
  __extends(TreeListRootItemViewModel, _super);
5831
- function TreeListRootItemViewModel(options, path, onItemsVisibilityChanged, rtl) {
5831
+ function TreeListRootItemViewModel(_options, path, onItemsVisibilityChanged, rtl) {
5832
5832
  if (path === void 0) { path = []; }
5833
5833
  if (onItemsVisibilityChanged === void 0) { onItemsVisibilityChanged = $.noop; }
5834
5834
  if (rtl === void 0) { rtl = false; }
5835
- var _this = _super.call(this, options, path, onItemsVisibilityChanged, rtl) || this;
5835
+ var _this = _super.call(this, _options, path, onItemsVisibilityChanged, rtl) || this;
5836
+ _this._options = _options;
5836
5837
  _this._selectedPathSubscription = null;
5837
5838
  _this.resolver.done(function () {
5838
5839
  onItemsVisibilityChanged();
5839
5840
  });
5840
- _this._selectedPathSubscription = options.selectedPath.subscribe(function (newPath) {
5841
+ _this._selectedPathSubscription = _options.selectedPath.subscribe(function (newPath) {
5841
5842
  _this._selectItem(!!_this.path ? newPath.substr(_this.path.length + 1) : newPath);
5842
5843
  });
5843
- _this._selectItem(!!_this.path ? _this.path + "." + options.selectedPath() : options.selectedPath());
5844
+ _this._selectItem(!!_this.path ? _this.path + "." + _options.selectedPath() : _options.selectedPath());
5844
5845
  return _this;
5845
5846
  }
5846
5847
  TreeListRootItemViewModel.prototype.dispose = function () {
@@ -5850,6 +5851,12 @@ var DevExpress;
5850
5851
  this._selectedPathSubscription = null;
5851
5852
  }
5852
5853
  };
5854
+ TreeListRootItemViewModel.prototype._onItemsChanged = function () {
5855
+ if (this._options.expandRootItems)
5856
+ this.items().forEach(function (item) {
5857
+ item.collapsed(false);
5858
+ });
5859
+ };
5853
5860
  return TreeListRootItemViewModel;
5854
5861
  }(TreeListItemViewModel));
5855
5862
  Internal.TreeListRootItemViewModel = TreeListRootItemViewModel;
@@ -6326,6 +6333,11 @@ var DevExpress;
6326
6333
  CriteriaOperatorSurface.prototype.createChildSurface = function (item, path, actions) {
6327
6334
  return new this.helper.mapper[item.type](item, this, this.fieldListProvider, path || this.path);
6328
6335
  };
6336
+ CriteriaOperatorSurface.prototype.getDisplayType = function () {
6337
+ var _this = this;
6338
+ var item = this.items.filter(function (item) { return _this.operatorType() === item.value && _this.reverse === item.reverse && _this.model.enumType === item.type; })[0];
6339
+ return item && item.name && (item.displayText || DevExpress.Analytics.Utils.getLocalization(item.name, item.localizationId)) || this.operatorType && this.operatorType() || "";
6340
+ };
6329
6341
  Object.defineProperty(CriteriaOperatorSurface.prototype, "items", {
6330
6342
  get: function () {
6331
6343
  return this.helper.filterEditorOperators[this.specifics()] || this.helper.filterEditorOperators._common;
@@ -6335,9 +6347,7 @@ var DevExpress;
6335
6347
  });
6336
6348
  Object.defineProperty(CriteriaOperatorSurface.prototype, "displayType", {
6337
6349
  get: function () {
6338
- var _this = this;
6339
- var item = this.items.filter(function (item) { return _this.operatorType() === item.value && _this.reverse === item.reverse && _this.model.enumType === item.type; })[0];
6340
- return item && item.name && (item.displayText || DevExpress.Analytics.Utils.getLocalization(item.name, item.localizationId)) || this.operatorType && this.operatorType() || "";
6350
+ return this.getDisplayType();
6341
6351
  },
6342
6352
  enumerable: true,
6343
6353
  configurable: true
@@ -8511,9 +8521,6 @@ var DevExpress;
8511
8521
  return result;
8512
8522
  });
8513
8523
  treeListViewModel = new Internal.TreeListRootItemViewModel(options, pathArray, updateScrollBar, options.rtl);
8514
- if (options.expandRootItems) {
8515
- treeListViewModel.items().forEach(function (item) { return item.toggleCollapsed(); });
8516
- }
8517
8524
  var templateHtml = options.templateHtml || DevExpress.Analytics.Widgets.Internal.getTemplate('dx-treelist'), $element = $(element).html(templateHtml);
8518
8525
  childContext = bindingContext.createChildContext(treeListViewModel);
8519
8526
  ko.applyBindings(childContext, $element.children()[0]);
@@ -9858,7 +9865,7 @@ var DevExpress;
9858
9865
  this._customEventRaiser(eventName, args);
9859
9866
  return;
9860
9867
  }
9861
- this._options.callbacks && this._options.callbacks[eventName] && this._options.callbacks[eventName](this.sender, args);
9868
+ this._options && this._options.callbacks && this._options.callbacks[eventName] && this._options.callbacks[eventName](this.sender, args);
9862
9869
  };
9863
9870
  JSDesignerBindingCommon.prototype._getServerActionUrl = function (host, uri) {
9864
9871
  return RequestHelper.generateUri(host, uri);
@@ -10664,16 +10671,12 @@ var DevExpress;
10664
10671
  guid: { header: "dxrd-guid", editorType: Widgets.GuidEditor },
10665
10672
  date: { header: "dx-date", editorType: Internal.RequiredNullableEditor },
10666
10673
  borders: { header: "dxrd-borders" },
10667
- controls: { header: "dxrd-controls" },
10668
10674
  objecteditorCustom: { custom: "dxrd-objectEditorContent", editorType: Widgets.PropertyGridEditor },
10669
- treelist: { custom: "dxrd-treelistContent", editorType: Widgets.Editor },
10670
10675
  field: { header: "dxrd-field", editorType: FieldListEditor },
10671
10676
  dataMember: { header: "dxrd-field", editorType: DataMemberEditor },
10672
10677
  filterEditor: { header: "dxrd-filterstring" },
10673
10678
  formatEditor: { header: "dxrd-formatstring" },
10674
10679
  expressionEditor: { header: "dxrd-expressionstring" },
10675
- multiValue: { header: "dxrd-multivalue" },
10676
- multiValueEditable: { custom: "dxrd-multivalue-editable" },
10677
10680
  customColorEditor: { header: "dxrd-colorpicker", editorType: ColorPickerEditor },
10678
10681
  sbyte: Internal.createNumericEditor("System.SByte", "integer"),
10679
10682
  decimal: Internal.createNumericEditor("System.Decimal", "float"),
@@ -11265,6 +11268,15 @@ var DevExpress;
11265
11268
  return toolboxItems.sort(function (item1, item2) { return item1.index - item2.index; });
11266
11269
  }
11267
11270
  Internal.getToolboxItems = getToolboxItems;
11271
+ function blur(element) {
11272
+ try {
11273
+ element["blur"] && element["blur"]();
11274
+ }
11275
+ catch (e) {
11276
+ document.body.blur();
11277
+ }
11278
+ }
11279
+ Internal.blur = blur;
11268
11280
  function guid() {
11269
11281
  return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
11270
11282
  var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
@@ -12208,8 +12220,16 @@ var DevExpress;
12208
12220
  if (func) {
12209
12221
  Internal._errorProcessor.handlers.push(func);
12210
12222
  }
12223
+ return {
12224
+ dispose: function () {
12225
+ func && _removeErrorEvent(func);
12226
+ }
12227
+ };
12211
12228
  }
12212
12229
  Internal.processErrorEvent = processErrorEvent;
12230
+ function _removeErrorEvent(func) {
12231
+ Internal._errorProcessor.handlers.splice(Internal._errorProcessor.handlers.indexOf(func), 1);
12232
+ }
12213
12233
  ko.bindingHandlers["resizable"] = {
12214
12234
  init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
12215
12235
  var values = valueAccessor(), $element = $(element), $parent = $element.closest(".dx-designer"), currentDirection = null, $selectedNodes = null, resizableDirections = { "north": "n", "east": "e", "south": "s", "west": "w" }, calculateSizes = [], absolutePosition = null;
@@ -12717,7 +12737,7 @@ var DevExpress;
12717
12737
  SurfaceSelection.prototype._resetTabPanelFocus = function () {
12718
12738
  var isTabPanelFocused = document.activeElement && $(document.activeElement).closest(".dxrd-surface").length === 0;
12719
12739
  if (isTabPanelFocused) {
12720
- document.activeElement["blur"] && document.activeElement["blur"]();
12740
+ Internal.blur(document.activeElement);
12721
12741
  }
12722
12742
  };
12723
12743
  Object.defineProperty(SurfaceSelection.prototype, "selectedItems", {
@@ -13862,11 +13882,12 @@ var DevExpress;
13862
13882
  Internal.getErrorMessage = getErrorMessage;
13863
13883
  function ShowMessage(msg, type, displayTime, debugInfo) {
13864
13884
  if (type === void 0) { type = "error"; }
13885
+ var containerElement = $(".dx-designer-viewport")[0];
13865
13886
  DevExpress.ui.notify({
13866
13887
  message: msg,
13867
13888
  type: type,
13868
- position: { of: Internal.chooseBetterPositionOf(document.documentElement, $(".dx-designer")[0]), my: "bottom", at: "bottom", offset: "0 -10" },
13869
- targetContainer: $(".dx-designer")[0],
13889
+ position: { of: Internal.chooseBetterPositionOf(document.documentElement, containerElement), my: "bottom", at: "bottom", offset: "0 -10" },
13890
+ container: containerElement,
13870
13891
  closeOnOutsideClick: true,
13871
13892
  closeOnSwipe: false,
13872
13893
  displayTime: displayTime || (type === "error" ? 60000 : 3000)
@@ -13886,7 +13907,7 @@ var DevExpress;
13886
13907
  result = val * 96 / 100;
13887
13908
  }
13888
13909
  result = result * (zoom);
13889
- return Math.floor(result * 100) / 100;
13910
+ return Math.floor(result * 10000) / 10000;
13890
13911
  }
13891
13912
  Internal.unitsToPixel = unitsToPixel;
13892
13913
  function pixelToUnits(val, measureUnit, zoom) {
@@ -13901,7 +13922,7 @@ var DevExpress;
13901
13922
  result = val / 96 * 100;
13902
13923
  }
13903
13924
  result = result / (zoom);
13904
- return Math.floor(result * 100) / 100;
13925
+ return Math.round(result * 10000) / 10000;
13905
13926
  }
13906
13927
  Internal.pixelToUnits = pixelToUnits;
13907
13928
  function createUnitProperty(model, target, propertyName, property, measureUnit, zoom, afterCreation) {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress HTML/JS Query Builder (dx-querybuilder.d.ts)
3
- * Version: 19.1.4
4
- * Build date: 2019-07-26
3
+ * Version: 19.1.7
4
+ * Build date: 2019-10-14
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
  */
@@ -591,7 +591,7 @@ declare module DevExpress {
591
591
  type: DBColumnType;
592
592
  size: string;
593
593
  constructor(model: any);
594
- static GetType(dbColumnType: DBColumnType): "System.String" | "System.DateTime" | "System.Int16" | "System.Int32" | "System.Int64" | "System.Single" | "System.Double" | "System.Decimal" | "System.Boolean" | "System.Guid" | "System.SByte" | "System.Byte" | "System.UInt16" | "System.UInt32" | "System.UInt64" | "System.Char" | "System.TimeSpan" | "System.Byte[]" | "System.Object";
594
+ static GetType(dbColumnType: DBColumnType): "System.String" | "System.DateTime" | "System.Int16" | "System.Int32" | "System.Int64" | "System.Single" | "System.Double" | "System.Decimal" | "System.Boolean" | "System.Guid" | "System.Byte" | "System.SByte" | "System.UInt32" | "System.UInt16" | "System.UInt64" | "System.Char" | "System.Object" | "System.Byte[]" | "System.TimeSpan";
595
595
  static GetSpecific(type: string): "String" | "Date" | "Bool" | "Integer" | "Float";
596
596
  }
597
597
  class DBForeignKey {
@@ -834,7 +834,7 @@ declare module DevExpress {
834
834
  private _getNodesByPath;
835
835
  private _getInnerItemsByPath;
836
836
  private _beginInternal;
837
- updatePage(jsonSchema: Analytics.Data.JsonSchemaRootNode): void;
837
+ private _updatePage;
838
838
  private _createTreeNode;
839
839
  private _createLeafTreeNode;
840
840
  private _resetSelectionRecursive;
@@ -1364,7 +1364,7 @@ declare module DevExpress {
1364
1364
  initialize(state: IDataSourceWizardState, createIterator?: (pageFactory: PageFactory, stateManager: StateManager) => PageIterator): void;
1365
1365
  canRunWizard(): boolean;
1366
1366
  _extendCssClass: string;
1367
- title: string;
1367
+ title: any;
1368
1368
  }
1369
1369
  function _registerSqlDataSourceWizardPages(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): PageFactory;
1370
1370
  function _createSqlDataSourceWizard(factory: PageFactory, dataSourceWizardOptions: _DataSourceWizardOptions): DataSourceWizard;