devexpress-aspnetcore-spreadsheet 21.1.11 → 21.1.12

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 AspNetCore Spreadsheet (dx-localization-builder.js)
3
- * Version: 21.1.11
4
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.1.12
4
+ * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  const jsHeader =
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * DevExpress AspNetCore Spreadsheet (dx-aspnetcore-spreadsheet.js)
3
- * Version: 21.1.11
4
- * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
3
+ * Version: 21.1.12
4
+ * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
7
7
  /*# namespace DevExpress.Web.Scripts #*/
@@ -380,9 +380,11 @@ Browser.IdentUserAgent = function(userAgent, ignoreDocumentMode) {
380
380
 
381
381
  var optSlashOrSpace = "(?:/|\\s*)?";
382
382
  var version = "(\\d+)(?:\\.((?:\\d+?[1-9])|\\d)0*?)?";
383
+ var optComma = "(?:,)?";
384
+ var appleVersion = "(\\d+)(?:\\.((?:\\d+?[1-9])|\\d)" + optComma + "0*?)?"; // same as VersionPattern with optional comma in minor group
383
385
  var optVersion = "(?:" + version + ")?";
384
386
  var patterns = {
385
- Safari: "applewebkit(?:.*?(?:version/" + version + "[\\.\\w\\d]*?(?:\\s+mobile\/\\S*)?\\s+safari))?",
387
+ Safari: "applewebkit(?:.*?(?:version/" + appleVersion + "[\\.\\w\\d]*?(?:\\s+mobile\/\\S*)?\\s+safari))?",
386
388
  Chrome: "(?:chrome|crios)(?!frame)" + optSlashOrSpace + optVersion,
387
389
  Mozilla: "mozilla(?:.*rv:" + optVersion + ".*Gecko)?",
388
390
  Netscape: "(?:netscape|navigator)\\d*/?\\s*" + optVersion,
@@ -62443,4 +62445,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
62443
62445
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
62444
62446
  PERFORMANCE OF THIS SOFTWARE.
62445
62447
  ***************************************************************************** */
62446
- var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}))(t,e)};function i(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var r=function(){return(r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var o={};for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(o[i[n]]=t[i[n]]);return o}function s(t,e,o,n){var i,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(r<3?i(a):3<r?i(e,o,a):i(e,o))||a);return 3<r&&a&&Object.defineProperty(e,o,a),a}function l(o,n){return function(t,e){n(t,e,o)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,a,s,l){return new(s=s||Promise)(function(o,e){function n(t){try{r(l.next(t))}catch(t){e(t)}}function i(t){try{r(l.throw(t))}catch(t){e(t)}}function r(t){var e;t.done?o(t.value):((e=t.value)instanceof s?e:new s(function(t){t(e)})).then(n,i)}r((l=l.apply(t,a||[])).next())})}function p(n,i){var r,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(o){return function(t){var e=[o,t];if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,a&&(s=2&e[0]?a.return:e[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,e[1])).done)return s;switch(a=0,(e=s?[2&e[0],s.value]:e)[0]){case 0:case 1:s=e;break;case 4:return l.label++,{value:e[1],done:!1};case 5:l.label++,a=e[1],e=[0];continue;case 7:e=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){l=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3]))l.label=e[1];else if(6===e[0]&&l.label<s[1])l.label=s[1],s=e;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(e)}}e=i.call(n,l)}catch(t){e=[6,t],a=0}finally{r=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}}}var d=Object.create?function(t,e,o,n){void 0===n&&(n=o),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[o]}})}:function(t,e,o,n){t[n=void 0===n?o:n]=e[o]};function m(t,e){for(var o in t)"default"===o||Object.prototype.hasOwnProperty.call(e,o)||d(e,t,o)}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&n>=t.length?void 0:t)&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,i,r=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(n=r.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return a}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function b(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<o;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,i++)n[i]=r[a];return n}function v(t){return this instanceof v?(this.v=t,this):new v(t)}function g(t,e,o){var i,r,a;if(Symbol.asyncIterator)return i=o.apply(t,e||[]),r=[],a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a;throw new TypeError("Symbol.asyncIterator is not defined.");function n(n){i[n]&&(a[n]=function(o){return new Promise(function(t,e){1<r.push([n,o,t,e])||s(n,o)})})}function s(t,e){try{(o=i[t](e)).value instanceof v?Promise.resolve(o.value.v).then(l,u):c(r[0][2],o)}catch(t){c(r[0][3],t)}var o}function l(t){s("next",t)}function u(t){s("throw",t)}function c(t,e){t(e),r.shift(),r.length&&s(r[0][0],r[0][1])}}function x(n){var i,t={};return e("next"),e("throw",function(t){throw t}),e("return"),t[Symbol.iterator]=function(){return this},t;function e(e,o){t[e]=n[e]?function(t){return(i=!i)?{value:v(n[e](t)),done:"return"===e}:o?o(t):t}:o}}function I(a){var t,e;if(Symbol.asyncIterator)return(t=a[Symbol.asyncIterator])?t.call(a):(a=f(a),e={},o("next"),o("throw"),o("return"),e[Symbol.asyncIterator]=function(){return this},e);throw new TypeError("Symbol.asyncIterator is not defined.");function o(r){e[r]=a[r]&&function(i){return new Promise(function(t,e){var o,n;i=a[r](i),o=t,t=e,n=i.done,e=i.value,Promise.resolve(e).then(function(t){o({value:t,done:n})},t)})}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var T=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&d(e,t,o);return T(e,t),e}function _(t){return t&&t.__esModule?t:{default:t}}function w(t,e){if(e.has(t))return e.get(t);throw new TypeError("attempted to get private field on non-instance")}function S(t,e,o){if(e.has(t))return e.set(t,o),o;throw new TypeError("attempted to set private field on non-instance")}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=o(0),n=(i.prototype.createTemplate=function(){return{location:"before",locateInMenu:"auto"}},i.prototype.getCssClass=function(){return"dx-ribbon-item"},i.prototype.shouldCreateTextContentTemplate=function(t){return t&&t.text&&""!=t.text},i.prototype.createTextContentTemplate=function(a,s,l){return function(t,e,o){var n=document.createElement("div"),i=document.createElement("div"),r=(i.style.display="inline-block",document.createElement("div"));return r.style.display="inline-block",r.textContent=a.text,a.displayAfterEditor||n.appendChild(r),n.appendChild(i),a.displayAfterEditor&&n.appendChild(r),new l(i,s),n}},i);function i(){}e.ToolbarItemTemplateCreator=n;r=n,o.__extends(a,r),a.prototype.getOnFocusOut=function(){return function(t){return t.component.close()}},a.prototype.getOnKeyDown=function(){return function(t){9===t.event.keyCode&&t.event.preventDefault()}};var r,n=a;function a(){return null!==r&&r.apply(this,arguments)||this}e.ToolbarDropDownItemTemplateCreator=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),o=o(4),o=(n=o.ToolbarItemBase,i.__extends(r,n),r.prototype.setEnabled=function(t){this.widget.option("disabled",!t)},r.prototype.setVisible=function(t){this.widget.option("visible",t)},r.prototype.getOnInitializedHandler=function(){var e=this;return function(t){return e.applyWidget(t)}},r.prototype.applyWidget=function(t){this.widget=t.component},r);function r(t,e){var o=n.call(this)||this;return o.options=t,o.onCommandExecuted=e,o.name=t.name,o}e.ToolbarInteractiveItem=o},function(t,e,o){"use strict";function n(){}Object.defineProperty(e,"__esModule",{value:!0}),n.correctIconName=function(t){return 0==t.indexOf("dx")?" "+t:t},n.correctItemsIcons=function(t){t&&t.forEach(function(t){t.icon=t.icon?n.correctIconName(t.icon):void 0,n.correctItemsIcons(t.items)})},e.DxtUtils=n},function(t,e,o){"use strict";function n(){}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(n.prototype,"toolbarItemTemplateCreator",{get:function(){return this._toolbarItemTemplateCreator||(this._toolbarItemTemplateCreator=this.getBuildTemplateStrategy()),this._toolbarItemTemplateCreator},enumerable:!0,configurable:!0}),n.prototype.createToolbarItemTemplate=function(){return this.toolbarItemTemplateCreator.createTemplate()},e.ToolbarItemBase=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(e=e.DxtThemeCssClasses||(e.DxtThemeCssClasses={})).AccentAsBackgroundColor="dx-theme-accent-as-background-color",e.AccentAsBorderColor="dx-theme-accent-as-border-color",e.AccentAsTextColor="dx-theme-accent-as-text-color",e.BackgroundColor="dx-theme-background-color",e.BackgroundColorAsBorderColor="dx-theme-background-color-as-border-color",e.BackgroundColorAsTextColor="dx-theme-background-color-as-text-color",e.BorderColor="dx-theme-border-color",e.BorderColorAsBackgroundColor="dx-theme-border-color-as-background-color",e.BorderColorAsTextColor="dx-theme-border-color-as-text-color ",e.TextColor="dx-theme-text-color",e.TextColorAsBackgroundColor="dx-theme-text-color-as-background-color",e.TextColorAsBorderColor="dx-theme-text-color-as-border-color"},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(7),n=(e.Ribbon=n.Ribbon,o(5));e.DxtThemeCssClasses=n.DxtThemeCssClasses},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(8),i=o(9),r=o(10),a=o(11),s=o(12),l=o(14),u=o(16),c=o(19),p=o(22),d=o(24),m=o(27);function f(t){this.options=t,this.toolbars=[],this.toolBarItemsByName={},this.contextItemIndexesByCategoryName={}}Object.defineProperty(f.prototype,"element",{get:function(){return this.options.element},enumerable:!0,configurable:!0}),f.prototype.dispose=function(){this.tabPanel.dispose(),this.toolbars.forEach(function(t){return t.dispose()}),f.hideNode(this.options.element)},f.hideNode=function(t){var e;t&&(e=t.parentNode)&&e.removeChild(t)},f.prototype.shouldApplyLocalization=function(t,e){return!t&&!!e},f.prototype.applyLocalizationId=function(){var e=this;this.options.items.forEach(function(t){e.applyLocalizationIdToRibbonItem(t)}),this.options.contextItemsCategories.forEach(function(t){t.items.forEach(function(t){e.applyLocalizationIdToRibbonItem(t)})})},f.prototype.applyLocalizationIdToRibbonItem=function(t){this.shouldApplyLocalization(t.title,t.localizationId)&&(t.title=n.formatMessage(t.localizationId)),this.applyLocalizationIdToRibbonItems(t.items)},f.prototype.applyLocalizationIdToRibbonItems=function(t){var o=this;t.forEach(function(t){switch(t.type){case"Button":var e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"Menu":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId)),o.applyLocalizationIdToSubMenuItemOptions(e.items);break;case"ButtonGroup":break;case"NumberBox":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"ColorBox":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"SelectBox":e=t;e._localizeDataSourceItems&&e.dataSource.forEach(function(t){var e;t.localizationId&&(e=n.formatMessage(t.localizationId),t.text=t.text?t.text+e:e)})}})},f.prototype.applyLocalizationIdToSubMenuItemOptions=function(t){var e=this;t.forEach(function(t){e.shouldApplyLocalization(t.text,t.localizationId)&&(t.text=n.formatMessage(t.localizationId)),t.items&&e.applyLocalizationIdToSubMenuItemOptions(t.items)})},f.prototype.render=function(){var o=this;this.applyLocalizationId(),this.tabPanel=new i.default(this.options.element,{dataSource:this.getRibbonItems().map(function(t,e){return{title:t.title,visible:t.visible,template:function(){return o.createToolbar(t.items,e)}}}),deferRendering:!1,elementAttr:{class:"dx-ribbon "+a.currentTheme()},focusStateEnabled:!1,selectedIndex:this.options.activeTabIndex,loop:!1,animationEnabled:!1,swipeEnabled:!1,showNavButtons:!0,onTitleClick:this.options.onTitleClickHandler,onSelectionChanged:this.options.onSelectionChangedHandler})},f.prototype.getActiveTabIndex=function(){return this.tabPanel.option("selectedIndex")},f.prototype.setActiveTabIndex=function(t){this.tabPanel.option("selectedIndex",t)},f.prototype.setItemVisible=function(t,e){return this.tabPanel.option("items["+t+"].visible",e)},f.prototype.getItemVisible=function(t){return this.tabPanel.option("items["+t+"].visible")},f.prototype.setContextItemsCategoryVisible=function(t,e){var o,n,i=this,t=this.getContextItemsIndexes(t);t&&(o=!1,n=this.getActiveTabIndex(),t.forEach(function(t){i.getItemVisible(t)!==e&&(n!=t||e||(o=!0),i.setItemVisible(t,e))}),o&&this.setActiveTabIndex(this.options.activeTabIndex))},f.prototype.getContextItemsCategoryVisible=function(t){t=this.getContextItemsIndexes(t);return!(!t||!t.length)&&this.getItemVisible(t[0])},f.prototype.getContextItemsIndexes=function(t){return this.contextItemIndexesByCategoryName[t]},f.prototype.getTabPanel=function(){return this.tabPanel},f.prototype.getItems=function(t){return t&&this.toolBarItemsByName[t]?this.toolBarItemsByName[t]:null},f.prototype.adjustControl=function(){this.tabPanel._dimensionChanged(),this.toolbars.forEach(function(t){return t._dimensionChanged()})},f.prototype.getRibbonItems=function(){var n=this,i=[].concat(this.options.items);return this.options.contextItemsCategories&&this.options.contextItemsCategories.forEach(function(o){n.contextItemIndexesByCategoryName[o.name]||(n.contextItemIndexesByCategoryName[o.name]=[]),o.items.forEach(function(t,e){n.contextItemIndexesByCategoryName[o.name].push(e+i.length)}),i=i.concat(o.items.map(function(t){return{items:t.items,title:t.title,visible:!1}}))}),i},f.prototype.createToolbar=function(t,e){var o=this,n=document.createElement("div"),t={dataSource:this.getToolbarItemTemplates(t,e),onInitialized:function(t){return o.toolbars.push(t.component)},onItemRendered:function(t){t.itemData.dxIsSeparator&&m.ToolbarSeparatorItem.prepareElement(t.itemElement)}};return new r.default(n,t),n},f.prototype.getToolbarItemTemplates=function(t,e){var o,n=this,i=[],r=(t.forEach(function(t){i=i.concat(n.getToolbarItems(t,e))}),[]);return i.forEach(function(t){t instanceof m.ToolbarSeparatorItem&&(!o||o instanceof m.ToolbarSeparatorItem)||(r.push(t.createToolbarItemTemplate()),o=t)}),r},f.prototype.getToolbarItems=function(t,e){var o=[];return t.beginGroup&&o.push(new m.ToolbarSeparatorItem),o.push(this.interactiveToolbarItemFactory(t,e)),o},f.prototype.interactiveToolbarItemFactory=function(e,o){var t,n=this;switch(e.type){case"Button":t=new l.ToolbarButtonItem(e,this.options.onCommandExecuted);break;case"ButtonGroup":t=new s.ToolbarButtonGroupItem(e,this.options.onCommandExecuted);break;case"Menu":t=new c.ToolbarMenuItem(e,this.options.onCommandExecuted,function(t){n.addItemToCache(t.name,t),n.raiseOnOnToolbarItemCreated(e,t,o)});break;case"NumberBox":t=new p.ToolbarNumberBoxItem(e,this.options.onCommandExecuted);break;case"ColorBox":t=new u.ToolbarColorBoxItem(e,this.options.onCommandExecuted,this.options.onOpened,this.options.onClosed);break;default:t=new d.ToolbarSelectBoxItem(e,this.options.onCommandExecuted)}return this.addItemToCache(e.name,t),this.raiseOnOnToolbarItemCreated(e,t,o),t},f.prototype.addItemToCache=function(t,e){t&&(this.toolBarItemsByName[t]||(this.toolBarItemsByName[t]=[]),this.toolBarItemsByName[t].push(e))},f.prototype.raiseOnOnToolbarItemCreated=function(t,e,o){this.options.onOnToolbarItemCreated&&this.options.onOnToolbarItemCreated({options:t,item:e,tabIndex:o})},e.Ribbon=f},function(t,e){t.exports=DevExpress.localization},function(t,e){t.exports={default:DevExpress.ui.dxTabPanel}},function(t,e){t.exports={default:DevExpress.ui.dxToolbar}},function(t,e){t.exports=DevExpress.viz},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(13),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.ButtonGroupToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onClick:this.getOnClickHandler()})},s.prototype.setValue=function(t){},s.prototype.getOnClickHandler=function(){var t=this;return this.onCommandExecuted?function(){t.onCommandExecuted({item:t,parameter:null})}:void 0},s.ToggleStateClassName="dx-r-toggle",s.ToggleButtonDataProperty="dx-ri-value",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarButtonGroupItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxButtonGroup",t.showText=this.options.itemOptions.items[0]&&this.options.itemOptions.items[0].icon&&!this.options.itemOptions.alwaysShowText?"inMenu":"always",t.options=this.getButtonGroupOptions(),t},a.prototype.getButtonGroupOptions=function(){return{focusStateEnabled:!1,onInitialized:this.options.onInitialized,items:this.options.itemOptions.items.map(function(t){return t.icon=t.icon&&r.DxtUtils.correctIconName(t.icon),t})}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ButtonGroupToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(15),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){var e=this;return new a.ButtonToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:function(t){e.applyWidget(t),e.setValue(e.options.isToggleMode&&e.options.selected)},onClick:this.getOnClickHandler()})},s.prototype.setValue=function(t){var e;this.options.isToggleMode&&(((e=this.getElement())[s.ToggleButtonDataProperty]=t)?(e.classList.add(s.ToggleStateClassName),e.classList.add(s.ButtonGroupItemClassName),e.classList.add(s.ItemSelectedClassName)):(e.classList.remove(s.ToggleStateClassName),e.classList.remove(s.ButtonGroupItemClassName),e.classList.remove(s.ItemSelectedClassName)))},s.prototype.getValue=function(){return this.options.isToggleMode?this.getElement()[s.ToggleButtonDataProperty]:null},s.prototype.getElement=function(){return this.widget.element().classList?this.widget.element():this.widget.element()[0]},s.prototype.getOnClickHandler=function(){var t=this;return this.onCommandExecuted?function(){t.setValue(!t.getValue()),t.onCommandExecuted({item:t,parameter:t.getValue()})}:void 0},s.ToggleStateClassName="dx-r-toggle",s.ButtonGroupItemClassName="dx-buttongroup-item",s.ItemSelectedClassName="dx-item-selected",s.ToggleButtonDataProperty="dx-ri-value",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarButtonItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxButton",t.showText=!this.options.itemOptions.icon||this.options.itemOptions.alwaysShowText?"always":"inMenu",t.options=this.getButtonOptions(),t},a.prototype.getButtonOptions=function(){return{text:this.options.itemOptions.text,icon:this.options.itemOptions.icon?r.DxtUtils.correctIconName(this.options.itemOptions.icon):void 0,hint:this.options.itemOptions.text,stylingMode:"text",focusStateEnabled:!1,onInitialized:this.options.onInitialized,onClick:this.options.onClick}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ButtonToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=o(0),r=o(2),a=o(17),o=(i=r.ToolbarInteractiveItem,n.__extends(s,i),s.prototype.getBuildTemplateStrategy=function(){return new a.ColorBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler(),onOpened:this.getOnOpenedHandler(),onClosed:this.getOnClosedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnOpenedHandler=function(){var t=this;return this.onOpened?function(){t.onOpened({item:t})}:void 0},s.prototype.getOnClosedHandler=function(){var t=this;return this.onClosed?function(){t.onClosed({item:t})}:void 0},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(t,e,o,n){t=i.call(this,t,e)||this;return t.onOpened=o,t.onClosed=n,t}e.ToolbarColorBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(18),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this),e=(t.widget="dxColorBox",this.getWidgetOptions());return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,r.default):t.options=e,t},a.prototype.getWidgetOptions=function(){var o=this;return{placeholder:"",focusStateEnabled:!1,acceptCustomValue:!1,mask:" ",stylingMode:"filled",hint:this.options.itemOptions.text,value:this.options.itemOptions.value,width:75,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onContentReady:function(t){var e=t.element.querySelector?t.element:t.element[0];e.querySelector(".dx-colorbox-color-result-preview").addEventListener("click",function(){o.options.onValueChanged({component:t.component,element:e,model:t.model,value:t.component.option("value")})})},onOpened:this.options.onOpened,onClosed:this.options.onClosed,elementAttr:{class:this.getCssClass()}}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ColorBoxToolbarItemTemplateCreator=o},function(t,e){t.exports={default:DevExpress.ui.dxColorBox}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(20),s=o(21),o=(n=r.ToolbarInteractiveItem,i.__extends(l,n),l.prototype.getWidget=function(){return this.widget},l.prototype.getOptions=function(){return this.options},l.prototype.createSubMenuItems=function(t){var o=this;t&&t.forEach(function(t){var e=new s.ToolbarSubMenuItem(t.name,o);o.onSubMenuItemCreated(e),t.name&&(o.items[t.name]=e),o.createSubMenuItems(t.items)})},l.prototype.getBuildTemplateStrategy=function(){return new a.MenuToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onItemRendered:this.getOnItemRenderedHandler(),onItemClick:this.getOnItemClickHandler()})},l.prototype.setValue=function(t){},l.prototype.getOnItemClickHandler=function(){var e=this;return this.onCommandExecuted?function(t){e.closeSubMenuIfRequired(t.component,t.itemData,t.itemElement);t=t.itemData.name?e.items[t.itemData.name]:void 0;t&&e.onCommandExecuted({item:t,parameter:null})}:void 0},l.prototype.closeSubMenuIfRequired=function(t,e,o){e.isRootElement&&t._visibleSubmenu&&window.setTimeout(function(){return t.unselectItem(o[0]||o)},0)},l.prototype.getOnItemRenderedHandler=function(){var o=this;return function(t){var e=t.itemData.name;e&&(e=o.items[e],t=t.itemElement[0]||t.itemElement,e.setElement(t))}},l);function l(t,e,o){e=n.call(this,t,e)||this;return e.onSubMenuItemCreated=o,e.items={},e.createSubMenuItems(t.items),e}e.ToolbarMenuItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxMenu",t.options=this.getMenuOptions(),t},a.prototype.getMenuOptions=function(){var e=this;return r.DxtUtils.correctItemsIcons(this.options.itemOptions.items),{hideSubmenuOnMouseLeave:!0,focusStateEnabled:!1,selectByClick:!1,hint:this.options.itemOptions.text,dataSource:[{icon:this.options.itemOptions.icon?r.DxtUtils.correctIconName(this.options.itemOptions.icon):void 0,text:this.options.itemOptions.text,isRootElement:!0,items:this.options.itemOptions.items.map(function(t){return{beginGroup:t.beginGroup,name:t.name,text:t.text,icon:t.icon,items:t.items}})}],onSubmenuShowing:function(e){setTimeout(function(){var t=e.component;t._visibleSubmenu&&600<(t=t._visibleSubmenu._overlay.$content()).height()&&t.find(".dx-submenu").height(400).dxScrollView({})})},onInitialized:this.options.onInitialized,onItemRendered:this.options.onItemRendered,onItemClick:this.options.onItemClick,elementAttr:{class:this.getCssClass()},onContentReady:function(t){e.options.itemOptions.icon&&!e.options.itemOptions.alwaysShowText&&(t.element.classList?t.element:t.element[0]).classList.add(a.ShowTextInMenuClassName)}}},a.ShowTextInMenuClassName="dx-showTextInMenu",a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.MenuToolbarItemTemplateCreator=o},function(t,e,o){"use strict";function n(t,e){this.name=t,this.menuItem=e}Object.defineProperty(e,"__esModule",{value:!0}),n.prototype.setValue=function(t){"boolean"==typeof t&&(this.element?this.setValueCore(this.element,t):this.selected=t)},n.prototype.setElement=function(t){this.element=t,void 0!==this.selected&&(this.setValue(this.selected),this.selected=void 0)},n.prototype.setEnabled=function(t){this.setDataOption("disabled",!t)},n.prototype.setVisible=function(t){this.setDataOption("visible",t)},n.prototype.setValueCore=function(t,e){e?t.classList.add(n.SelectedItemClassName):t.classList.remove(n.SelectedItemClassName)},n.prototype.setDataOption=function(t,e){var o=this,n=this.getDataOptionName();n&&setTimeout(function(){return o.menuItem.getWidget().option(n+"."+t,e)},0)},n.prototype.getDataOptionName=function(){return void 0===this.dataOptionName&&(this.dataOptionName=this.getDataOptionNameCore(this.menuItem.getOptions().items,"items[0]")),this.dataOptionName},n.prototype.getDataOptionNameCore=function(t,e){var o=this;if(t){var n=t.filter(function(t){return t.name==o.name})[0];if(n)return e+".items["+t.indexOf(n)+"]";for(var i=0;i<t.length;i++){var r=this.getDataOptionNameCore(t[i].items,e+".items["+i+"]");if(r)return r}}return null},n.SelectedItemClassName="dx-menu-item-selected",e.ToolbarSubMenuItem=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(23),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.NumberBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){t.event&&e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarNumberBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(r,n),r.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxNumberBox",t.options=this.getWidgetOptions(),t},r.prototype.getWidgetOptions=function(){var t=this.options.itemOptions.format,t=null==t?this.options.itemOptions.text+" #0.#":t;return{placeholder:"",focusStateEnabled:!1,hint:this.options.itemOptions.text,stylingMode:"filled",format:t,value:this.options.itemOptions.value,width:this.options.itemOptions.width,showSpinButtons:!0,min:this.options.itemOptions.min,max:this.options.itemOptions.max,step:this.options.itemOptions.step,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,elementAttr:{class:this.getCssClass()}}},r);function r(t){var e=n.call(this)||this;return e.options=t,e}e.NumberBoxToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(25),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.SelectBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){t.event&&e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarSelectBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(26),o=o(1),o=(n=o.ToolbarDropDownItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this),e=(t.widget="dxSelectBox",this.getWidgetOptions());return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,r.default):t.options=e,t},a.prototype.getOnCustomItemCreating=function(t){return t.acceptCustomValue&&t.onCustomItemCreating?t.onCustomItemCreating:function(t){t.customItem||(t.customItem=t.text)}},a.prototype.getWidgetOptions=function(){var t=this.options.itemOptions;return{placeholder:t.placeholder,stylingMode:"filled",searchEnabled:!0,acceptCustomValue:t.acceptCustomValue,dataSource:t.dataSource,width:t.width,displayExpr:t.displayExpr,valueExpr:t.valueExpr,value:t.value,showClearButton:t.showClearButton,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onFocusOut:n.prototype.getOnFocusOut.call(this),onKeyDown:n.prototype.getOnKeyDown.call(this),onCustomItemCreating:this.getOnCustomItemCreating(t),elementAttr:{class:this.getCssClass()}}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.SelectBoxToolbarItemTemplateCreator=o},function(t,e){t.exports={default:DevExpress.ui.dxSelectBox}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(4),a=o(28),o=(n=r.ToolbarItemBase,i.__extends(s,n),s.prepareElement=function(t){var t=t.classList?t:t[0];!t||(t=t.querySelector(".dx-toolbar-item-content"))&&t.classList.add(s.SeparatorContainerClassName)},s.prototype.getBuildTemplateStrategy=function(){return new a.SeparatorToolbarItemTemplateCreator},s.SeparatorContainerClassName="dx-r-separator-container",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarSeparatorItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(5),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.disabled=!0,t.dxIsSeparator=!0,t.template=function(){var t=document.createElement("div");return t.classList.add(a.SeparatorClassName),t.classList.add(r.DxtThemeCssClasses.BorderColor),t},t},a.SeparatorClassName="dx-r-separator",a);function a(){return null!==n&&n.apply(this,arguments)||this}e.SeparatorToolbarItemTemplateCreator=o}]);
62448
+ var n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}))(t,e)};function i(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}var r=function(){return(r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var o={};for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(o[i[n]]=t[i[n]]);return o}function s(t,e,o,n){var i,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(r<3?i(a):3<r?i(e,o,a):i(e,o))||a);return 3<r&&a&&Object.defineProperty(e,o,a),a}function l(o,n){return function(t,e){n(t,e,o)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,a,s,l){return new(s=s||Promise)(function(o,e){function n(t){try{r(l.next(t))}catch(t){e(t)}}function i(t){try{r(l.throw(t))}catch(t){e(t)}}function r(t){var e;t.done?o(t.value):((e=t.value)instanceof s?e:new s(function(t){t(e)})).then(n,i)}r((l=l.apply(t,a||[])).next())})}function p(n,i){var r,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},t={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(o){return function(t){var e=[o,t];if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,a&&(s=2&e[0]?a.return:e[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,e[1])).done)return s;switch(a=0,(e=s?[2&e[0],s.value]:e)[0]){case 0:case 1:s=e;break;case 4:return l.label++,{value:e[1],done:!1};case 5:l.label++,a=e[1],e=[0];continue;case 7:e=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===e[0]||2===e[0])){l=0;continue}if(3===e[0]&&(!s||e[1]>s[0]&&e[1]<s[3]))l.label=e[1];else if(6===e[0]&&l.label<s[1])l.label=s[1],s=e;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(e)}}e=i.call(n,l)}catch(t){e=[6,t],a=0}finally{r=s=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}}}var d=Object.create?function(t,e,o,n){void 0===n&&(n=o),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[o]}})}:function(t,e,o,n){t[n=void 0===n?o:n]=e[o]};function m(t,e){for(var o in t)"default"===o||Object.prototype.hasOwnProperty.call(e,o)||d(e,t,o)}function f(t){var e="function"==typeof Symbol&&Symbol.iterator,o=e&&t[e],n=0;if(o)return o.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&n>=t.length?void 0:t)&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var n,i,r=o.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(n=r.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(o=r.return)&&o.call(r)}finally{if(i)throw i.error}}return a}function y(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function b(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<o;e++)for(var r=arguments[e],a=0,s=r.length;a<s;a++,i++)n[i]=r[a];return n}function v(t){return this instanceof v?(this.v=t,this):new v(t)}function g(t,e,o){var i,r,a;if(Symbol.asyncIterator)return i=o.apply(t,e||[]),r=[],a={},n("next"),n("throw"),n("return"),a[Symbol.asyncIterator]=function(){return this},a;throw new TypeError("Symbol.asyncIterator is not defined.");function n(n){i[n]&&(a[n]=function(o){return new Promise(function(t,e){1<r.push([n,o,t,e])||s(n,o)})})}function s(t,e){try{(o=i[t](e)).value instanceof v?Promise.resolve(o.value.v).then(l,u):c(r[0][2],o)}catch(t){c(r[0][3],t)}var o}function l(t){s("next",t)}function u(t){s("throw",t)}function c(t,e){t(e),r.shift(),r.length&&s(r[0][0],r[0][1])}}function x(n){var i,t={};return e("next"),e("throw",function(t){throw t}),e("return"),t[Symbol.iterator]=function(){return this},t;function e(e,o){t[e]=n[e]?function(t){return(i=!i)?{value:v(n[e](t)),done:"return"===e}:o?o(t):t}:o}}function I(a){var t,e;if(Symbol.asyncIterator)return(t=a[Symbol.asyncIterator])?t.call(a):(a=f(a),e={},o("next"),o("throw"),o("return"),e[Symbol.asyncIterator]=function(){return this},e);throw new TypeError("Symbol.asyncIterator is not defined.");function o(r){e[r]=a[r]&&function(i){return new Promise(function(t,e){var o,n;i=a[r](i),o=t,t=e,n=i.done,e=i.value,Promise.resolve(e).then(function(t){o({value:t,done:n})},t)})}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var T=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&d(e,t,o);return T(e,t),e}function _(t){return t&&t.__esModule?t:{default:t}}function w(t,e){if(e.has(t))return e.get(t);throw new TypeError("attempted to get private field on non-instance")}function S(t,e,o){if(e.has(t))return e.set(t,o),o;throw new TypeError("attempted to set private field on non-instance")}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=o(0),n=(i.prototype.createTemplate=function(){return{location:"before",locateInMenu:"auto"}},i.prototype.getCssClass=function(){return"dx-ribbon-item"},i.prototype.shouldCreateTextContentTemplate=function(t){return t&&t.text&&""!=t.text},i.prototype.createTextContentTemplate=function(a,s,l){return function(t,e,o){var n=document.createElement("div"),i=document.createElement("div"),r=(i.style.display="inline-block",document.createElement("div"));return r.style.display="inline-block",r.textContent=a.text,a.displayAfterEditor||n.appendChild(r),n.appendChild(i),a.displayAfterEditor&&n.appendChild(r),new l(i,s),n}},i);function i(){}e.ToolbarItemTemplateCreator=n;r=n,o.__extends(a,r),a.prototype.getOnFocusOut=function(){return function(t){return t.component.close()}},a.prototype.getOnKeyDown=function(){return function(t){9===t.event.keyCode&&t.event.preventDefault()}};var r,n=a;function a(){return null!==r&&r.apply(this,arguments)||this}e.ToolbarDropDownItemTemplateCreator=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),o=o(4),o=(n=o.ToolbarItemBase,i.__extends(r,n),r.prototype.setEnabled=function(t){this.widget.option("disabled",!t)},r.prototype.setVisible=function(t){this.widget.option("visible",t)},r.prototype.getOnInitializedHandler=function(){var e=this;return function(t){return e.applyWidget(t)}},r.prototype.applyWidget=function(t){this.widget=t.component},r);function r(t,e){var o=n.call(this)||this;return o.options=t,o.onCommandExecuted=e,o.name=t.name,o}e.ToolbarInteractiveItem=o},function(t,e,o){"use strict";function n(){}Object.defineProperty(e,"__esModule",{value:!0}),n.correctIconName=function(t){return 0==t.indexOf("dx")?" "+t:t},n.correctItemsIcons=function(t){t&&t.forEach(function(t){t.icon=t.icon?n.correctIconName(t.icon):void 0,n.correctItemsIcons(t.items)})},e.DxtUtils=n},function(t,e,o){"use strict";function n(){}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(n.prototype,"toolbarItemTemplateCreator",{get:function(){return this._toolbarItemTemplateCreator||(this._toolbarItemTemplateCreator=this.getBuildTemplateStrategy()),this._toolbarItemTemplateCreator},enumerable:!0,configurable:!0}),n.prototype.createToolbarItemTemplate=function(){return this.toolbarItemTemplateCreator.createTemplate()},e.ToolbarItemBase=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),(e=e.DxtThemeCssClasses||(e.DxtThemeCssClasses={})).AccentAsBackgroundColor="dx-theme-accent-as-background-color",e.AccentAsBorderColor="dx-theme-accent-as-border-color",e.AccentAsTextColor="dx-theme-accent-as-text-color",e.BackgroundColor="dx-theme-background-color",e.BackgroundColorAsBorderColor="dx-theme-background-color-as-border-color",e.BackgroundColorAsTextColor="dx-theme-background-color-as-text-color",e.BorderColor="dx-theme-border-color",e.BorderColorAsBackgroundColor="dx-theme-border-color-as-background-color",e.BorderColorAsTextColor="dx-theme-border-color-as-text-color ",e.TextColor="dx-theme-text-color",e.TextColorAsBackgroundColor="dx-theme-text-color-as-background-color",e.TextColorAsBorderColor="dx-theme-text-color-as-border-color"},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(7),n=(e.Ribbon=n.Ribbon,o(5));e.DxtThemeCssClasses=n.DxtThemeCssClasses},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(8),i=o(9),r=o(10),a=o(11),s=o(12),l=o(14),u=o(16),c=o(19),p=o(22),d=o(24),m=o(27);function f(t){this.options=t,this.toolbars=[],this.toolBarItemsByName={},this.contextItemIndexesByCategoryName={}}Object.defineProperty(f.prototype,"element",{get:function(){return this.options.element},enumerable:!0,configurable:!0}),f.prototype.dispose=function(){this.tabPanel.dispose(),this.toolbars.forEach(function(t){return t.dispose()}),f.hideNode(this.options.element)},f.hideNode=function(t){var e;t&&(e=t.parentNode)&&e.removeChild(t)},f.prototype.shouldApplyLocalization=function(t,e){return!t&&!!e},f.prototype.applyLocalizationId=function(){var e=this;this.options.items.forEach(function(t){e.applyLocalizationIdToRibbonItem(t)}),this.options.contextItemsCategories.forEach(function(t){t.items.forEach(function(t){e.applyLocalizationIdToRibbonItem(t)})})},f.prototype.applyLocalizationIdToRibbonItem=function(t){this.shouldApplyLocalization(t.title,t.localizationId)&&(t.title=n.formatMessage(t.localizationId)),this.applyLocalizationIdToRibbonItems(t.items)},f.prototype.applyLocalizationIdToRibbonItems=function(t){var o=this;t.forEach(function(t){switch(t.type){case"Button":var e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"Menu":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId)),o.applyLocalizationIdToSubMenuItemOptions(e.items);break;case"ButtonGroup":break;case"NumberBox":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"ColorBox":e=t;o.shouldApplyLocalization(e.text,e.localizationId)&&(e.text=n.formatMessage(e.localizationId));break;case"SelectBox":e=t;e._localizeDataSourceItems&&e.dataSource.forEach(function(t){var e;t.localizationId&&(e=n.formatMessage(t.localizationId),t.text=t.text?t.text+e:e)})}})},f.prototype.applyLocalizationIdToSubMenuItemOptions=function(t){var e=this;t.forEach(function(t){e.shouldApplyLocalization(t.text,t.localizationId)&&(t.text=n.formatMessage(t.localizationId)),t.items&&e.applyLocalizationIdToSubMenuItemOptions(t.items)})},f.prototype.render=function(){var o=this;this.applyLocalizationId(),this.tabPanel=new i.default(this.options.element,{dataSource:this.getRibbonItems().map(function(t,e){return{title:t.title,visible:t.visible,template:function(){return o.createToolbar(t.items,e)}}}),deferRendering:!1,elementAttr:{class:"dx-ribbon "+a.currentTheme()},focusStateEnabled:!1,selectedIndex:this.options.activeTabIndex,loop:!1,animationEnabled:!1,swipeEnabled:!1,showNavButtons:!0,onTitleClick:this.options.onTitleClickHandler,onSelectionChanged:this.options.onSelectionChangedHandler})},f.prototype.getActiveTabIndex=function(){return this.tabPanel.option("selectedIndex")},f.prototype.setActiveTabIndex=function(t){this.tabPanel.option("selectedIndex",t)},f.prototype.setItemVisible=function(t,e){return this.tabPanel.option("items["+t+"].visible",e)},f.prototype.getItemVisible=function(t){return this.tabPanel.option("items["+t+"].visible")},f.prototype.setContextItemsCategoryVisible=function(t,e){var o,n,i=this,t=this.getContextItemsIndexes(t);t&&(o=!1,n=this.getActiveTabIndex(),t.forEach(function(t){i.getItemVisible(t)!==e&&(n!=t||e||(o=!0),i.setItemVisible(t,e))}),o)&&this.setActiveTabIndex(this.options.activeTabIndex)},f.prototype.getContextItemsCategoryVisible=function(t){t=this.getContextItemsIndexes(t);return!(!t||!t.length)&&this.getItemVisible(t[0])},f.prototype.getContextItemsIndexes=function(t){return this.contextItemIndexesByCategoryName[t]},f.prototype.getTabPanel=function(){return this.tabPanel},f.prototype.getItems=function(t){return t&&this.toolBarItemsByName[t]?this.toolBarItemsByName[t]:null},f.prototype.adjustControl=function(){this.tabPanel._dimensionChanged(),this.toolbars.forEach(function(t){return t._dimensionChanged()})},f.prototype.getRibbonItems=function(){var n=this,i=[].concat(this.options.items);return this.options.contextItemsCategories&&this.options.contextItemsCategories.forEach(function(o){n.contextItemIndexesByCategoryName[o.name]||(n.contextItemIndexesByCategoryName[o.name]=[]),o.items.forEach(function(t,e){n.contextItemIndexesByCategoryName[o.name].push(e+i.length)}),i=i.concat(o.items.map(function(t){return{items:t.items,title:t.title,visible:!1}}))}),i},f.prototype.createToolbar=function(t,e){var o=this,n=document.createElement("div"),t={dataSource:this.getToolbarItemTemplates(t,e),onInitialized:function(t){return o.toolbars.push(t.component)},onItemRendered:function(t){t.itemData.dxIsSeparator&&m.ToolbarSeparatorItem.prepareElement(t.itemElement)}};return new r.default(n,t),n},f.prototype.getToolbarItemTemplates=function(t,e){var o,n=this,i=[],r=(t.forEach(function(t){i=i.concat(n.getToolbarItems(t,e))}),[]);return i.forEach(function(t){t instanceof m.ToolbarSeparatorItem&&(!o||o instanceof m.ToolbarSeparatorItem)||(r.push(t.createToolbarItemTemplate()),o=t)}),r},f.prototype.getToolbarItems=function(t,e){var o=[];return t.beginGroup&&o.push(new m.ToolbarSeparatorItem),o.push(this.interactiveToolbarItemFactory(t,e)),o},f.prototype.interactiveToolbarItemFactory=function(e,o){var t,n=this;switch(e.type){case"Button":t=new l.ToolbarButtonItem(e,this.options.onCommandExecuted);break;case"ButtonGroup":t=new s.ToolbarButtonGroupItem(e,this.options.onCommandExecuted);break;case"Menu":t=new c.ToolbarMenuItem(e,this.options.onCommandExecuted,function(t){n.addItemToCache(t.name,t),n.raiseOnOnToolbarItemCreated(e,t,o)});break;case"NumberBox":t=new p.ToolbarNumberBoxItem(e,this.options.onCommandExecuted);break;case"ColorBox":t=new u.ToolbarColorBoxItem(e,this.options.onCommandExecuted,this.options.onOpened,this.options.onClosed);break;default:t=new d.ToolbarSelectBoxItem(e,this.options.onCommandExecuted)}return this.addItemToCache(e.name,t),this.raiseOnOnToolbarItemCreated(e,t,o),t},f.prototype.addItemToCache=function(t,e){t&&(this.toolBarItemsByName[t]||(this.toolBarItemsByName[t]=[]),this.toolBarItemsByName[t].push(e))},f.prototype.raiseOnOnToolbarItemCreated=function(t,e,o){this.options.onOnToolbarItemCreated&&this.options.onOnToolbarItemCreated({options:t,item:e,tabIndex:o})},e.Ribbon=f},function(t,e){t.exports=DevExpress.localization},function(t,e){t.exports={default:DevExpress.ui.dxTabPanel}},function(t,e){t.exports={default:DevExpress.ui.dxToolbar}},function(t,e){t.exports=DevExpress.viz},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(13),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.ButtonGroupToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onClick:this.getOnClickHandler()})},s.prototype.setValue=function(t){},s.prototype.getOnClickHandler=function(){var t=this;return this.onCommandExecuted?function(){t.onCommandExecuted({item:t,parameter:null})}:void 0},s.ToggleStateClassName="dx-r-toggle",s.ToggleButtonDataProperty="dx-ri-value",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarButtonGroupItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxButtonGroup",t.showText=this.options.itemOptions.items[0]&&this.options.itemOptions.items[0].icon&&!this.options.itemOptions.alwaysShowText?"inMenu":"always",t.options=this.getButtonGroupOptions(),t},a.prototype.getButtonGroupOptions=function(){return{focusStateEnabled:!1,onInitialized:this.options.onInitialized,items:this.options.itemOptions.items.map(function(t){return t.icon=t.icon&&r.DxtUtils.correctIconName(t.icon),t})}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ButtonGroupToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(15),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){var e=this;return new a.ButtonToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:function(t){e.applyWidget(t),e.setValue(e.options.isToggleMode&&e.options.selected)},onClick:this.getOnClickHandler()})},s.prototype.setValue=function(t){var e;this.options.isToggleMode&&(((e=this.getElement())[s.ToggleButtonDataProperty]=t)?(e.classList.add(s.ToggleStateClassName),e.classList.add(s.ButtonGroupItemClassName),e.classList.add(s.ItemSelectedClassName)):(e.classList.remove(s.ToggleStateClassName),e.classList.remove(s.ButtonGroupItemClassName),e.classList.remove(s.ItemSelectedClassName)))},s.prototype.getValue=function(){return this.options.isToggleMode?this.getElement()[s.ToggleButtonDataProperty]:null},s.prototype.getElement=function(){return this.widget.element().classList?this.widget.element():this.widget.element()[0]},s.prototype.getOnClickHandler=function(){var t=this;return this.onCommandExecuted?function(){t.setValue(!t.getValue()),t.onCommandExecuted({item:t,parameter:t.getValue()})}:void 0},s.ToggleStateClassName="dx-r-toggle",s.ButtonGroupItemClassName="dx-buttongroup-item",s.ItemSelectedClassName="dx-item-selected",s.ToggleButtonDataProperty="dx-ri-value",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarButtonItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxButton",t.showText=!this.options.itemOptions.icon||this.options.itemOptions.alwaysShowText?"always":"inMenu",t.options=this.getButtonOptions(),t},a.prototype.getButtonOptions=function(){return{text:this.options.itemOptions.text,icon:this.options.itemOptions.icon?r.DxtUtils.correctIconName(this.options.itemOptions.icon):void 0,hint:this.options.itemOptions.text,stylingMode:"text",focusStateEnabled:!1,onInitialized:this.options.onInitialized,onClick:this.options.onClick}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ButtonToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,n=o(0),r=o(2),a=o(17),o=(i=r.ToolbarInteractiveItem,n.__extends(s,i),s.prototype.getBuildTemplateStrategy=function(){return new a.ColorBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler(),onOpened:this.getOnOpenedHandler(),onClosed:this.getOnClosedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnOpenedHandler=function(){var t=this;return this.onOpened?function(){t.onOpened({item:t})}:void 0},s.prototype.getOnClosedHandler=function(){var t=this;return this.onClosed?function(){t.onClosed({item:t})}:void 0},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(t,e,o,n){t=i.call(this,t,e)||this;return t.onOpened=o,t.onClosed=n,t}e.ToolbarColorBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(18),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this),e=(t.widget="dxColorBox",this.getWidgetOptions());return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,r.default):t.options=e,t},a.prototype.getWidgetOptions=function(){var o=this;return{placeholder:"",focusStateEnabled:!1,acceptCustomValue:!1,mask:" ",stylingMode:"filled",hint:this.options.itemOptions.text,value:this.options.itemOptions.value,width:75,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onContentReady:function(t){var e=t.element.querySelector?t.element:t.element[0];e.querySelector(".dx-colorbox-color-result-preview").addEventListener("click",function(){o.options.onValueChanged({component:t.component,element:e,model:t.model,value:t.component.option("value")})})},onOpened:this.options.onOpened,onClosed:this.options.onClosed,elementAttr:{class:this.getCssClass()}}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.ColorBoxToolbarItemTemplateCreator=o},function(t,e){t.exports={default:DevExpress.ui.dxColorBox}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(20),s=o(21),o=(n=r.ToolbarInteractiveItem,i.__extends(l,n),l.prototype.getWidget=function(){return this.widget},l.prototype.getOptions=function(){return this.options},l.prototype.createSubMenuItems=function(t){var o=this;t&&t.forEach(function(t){var e=new s.ToolbarSubMenuItem(t.name,o);o.onSubMenuItemCreated(e),t.name&&(o.items[t.name]=e),o.createSubMenuItems(t.items)})},l.prototype.getBuildTemplateStrategy=function(){return new a.MenuToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onItemRendered:this.getOnItemRenderedHandler(),onItemClick:this.getOnItemClickHandler()})},l.prototype.setValue=function(t){},l.prototype.getOnItemClickHandler=function(){var e=this;return this.onCommandExecuted?function(t){e.closeSubMenuIfRequired(t.component,t.itemData,t.itemElement);t=t.itemData.name?e.items[t.itemData.name]:void 0;t&&e.onCommandExecuted({item:t,parameter:null})}:void 0},l.prototype.closeSubMenuIfRequired=function(t,e,o){e.isRootElement&&t._visibleSubmenu&&window.setTimeout(function(){return t.unselectItem(o[0]||o)},0)},l.prototype.getOnItemRenderedHandler=function(){var o=this;return function(t){var e=t.itemData.name;e&&(e=o.items[e],t=t.itemElement[0]||t.itemElement,e.setElement(t))}},l);function l(t,e,o){e=n.call(this,t,e)||this;return e.onSubMenuItemCreated=o,e.items={},e.createSubMenuItems(t.items),e}e.ToolbarMenuItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(3),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxMenu",t.options=this.getMenuOptions(),t},a.prototype.getMenuOptions=function(){var e=this;return r.DxtUtils.correctItemsIcons(this.options.itemOptions.items),{hideSubmenuOnMouseLeave:!0,focusStateEnabled:!1,selectByClick:!1,hint:this.options.itemOptions.text,dataSource:[{icon:this.options.itemOptions.icon?r.DxtUtils.correctIconName(this.options.itemOptions.icon):void 0,text:this.options.itemOptions.text,isRootElement:!0,items:this.options.itemOptions.items.map(function(t){return{beginGroup:t.beginGroup,name:t.name,text:t.text,icon:t.icon,items:t.items}})}],onSubmenuShowing:function(e){setTimeout(function(){var t=e.component;t._visibleSubmenu&&600<(t=t._visibleSubmenu._overlay.$content()).height()&&t.find(".dx-submenu").height(400).dxScrollView({})})},onInitialized:this.options.onInitialized,onItemRendered:this.options.onItemRendered,onItemClick:this.options.onItemClick,elementAttr:{class:this.getCssClass()},onContentReady:function(t){e.options.itemOptions.icon&&!e.options.itemOptions.alwaysShowText&&(t.element.classList?t.element:t.element[0]).classList.add(a.ShowTextInMenuClassName)}}},a.ShowTextInMenuClassName="dx-showTextInMenu",a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.MenuToolbarItemTemplateCreator=o},function(t,e,o){"use strict";function n(t,e){this.name=t,this.menuItem=e}Object.defineProperty(e,"__esModule",{value:!0}),n.prototype.setValue=function(t){"boolean"==typeof t&&(this.element?this.setValueCore(this.element,t):this.selected=t)},n.prototype.setElement=function(t){this.element=t,void 0!==this.selected&&(this.setValue(this.selected),this.selected=void 0)},n.prototype.setEnabled=function(t){this.setDataOption("disabled",!t)},n.prototype.setVisible=function(t){this.setDataOption("visible",t)},n.prototype.setValueCore=function(t,e){e?t.classList.add(n.SelectedItemClassName):t.classList.remove(n.SelectedItemClassName)},n.prototype.setDataOption=function(t,e){var o=this,n=this.getDataOptionName();n&&setTimeout(function(){return o.menuItem.getWidget().option(n+"."+t,e)},0)},n.prototype.getDataOptionName=function(){return void 0===this.dataOptionName&&(this.dataOptionName=this.getDataOptionNameCore(this.menuItem.getOptions().items,"items[0]")),this.dataOptionName},n.prototype.getDataOptionNameCore=function(t,e){var o=this;if(t){var n=t.filter(function(t){return t.name==o.name})[0];if(n)return e+".items["+t.indexOf(n)+"]";for(var i=0;i<t.length;i++){var r=this.getDataOptionNameCore(t[i].items,e+".items["+i+"]");if(r)return r}}return null},n.SelectedItemClassName="dx-menu-item-selected",e.ToolbarSubMenuItem=n},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(23),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.NumberBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){t.event&&e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarNumberBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(r,n),r.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.widget="dxNumberBox",t.options=this.getWidgetOptions(),t},r.prototype.getWidgetOptions=function(){var t=this.options.itemOptions.format,t=null==t?this.options.itemOptions.text+" #0.#":t;return{placeholder:"",focusStateEnabled:!1,hint:this.options.itemOptions.text,stylingMode:"filled",format:t,value:this.options.itemOptions.value,width:this.options.itemOptions.width,showSpinButtons:!0,min:this.options.itemOptions.min,max:this.options.itemOptions.max,step:this.options.itemOptions.step,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,elementAttr:{class:this.getCssClass()}}},r);function r(t){var e=n.call(this)||this;return e.options=t,e}e.NumberBoxToolbarItemTemplateCreator=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(2),a=o(25),o=(n=r.ToolbarInteractiveItem,i.__extends(s,n),s.prototype.getBuildTemplateStrategy=function(){return new a.SelectBoxToolbarItemTemplateCreator({itemOptions:this.options,onInitialized:this.getOnInitializedHandler(),onValueChanged:this.getOnValueChangedHandler()})},s.prototype.setValue=function(t){this.widget.option("value",t)},s.prototype.getOnValueChangedHandler=function(){var e=this;return this.onCommandExecuted?function(t){t.event&&e.onCommandExecuted({item:e,parameter:t.value})}:void 0},s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarSelectBoxItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(26),o=o(1),o=(n=o.ToolbarDropDownItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this),e=(t.widget="dxSelectBox",this.getWidgetOptions());return this.shouldCreateTextContentTemplate(this.options.itemOptions.textOptions)?t.template=this.createTextContentTemplate(this.options.itemOptions.textOptions,e,r.default):t.options=e,t},a.prototype.getOnCustomItemCreating=function(t){return t.acceptCustomValue&&t.onCustomItemCreating?t.onCustomItemCreating:function(t){t.customItem||(t.customItem=t.text)}},a.prototype.getWidgetOptions=function(){var t=this.options.itemOptions;return{placeholder:t.placeholder,stylingMode:"filled",searchEnabled:!0,acceptCustomValue:t.acceptCustomValue,dataSource:t.dataSource,width:t.width,displayExpr:t.displayExpr,valueExpr:t.valueExpr,value:t.value,showClearButton:t.showClearButton,onValueChanged:this.options.onValueChanged,onInitialized:this.options.onInitialized,onFocusOut:n.prototype.getOnFocusOut.call(this),onKeyDown:n.prototype.getOnKeyDown.call(this),onCustomItemCreating:this.getOnCustomItemCreating(t),elementAttr:{class:this.getCssClass()}}},a);function a(t){var e=n.call(this)||this;return e.options=t,e}e.SelectBoxToolbarItemTemplateCreator=o},function(t,e){t.exports={default:DevExpress.ui.dxSelectBox}},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(4),a=o(28),o=(n=r.ToolbarItemBase,i.__extends(s,n),s.prepareElement=function(t){var t=t.classList?t:t[0];t&&(t=t.querySelector(".dx-toolbar-item-content"))&&t.classList.add(s.SeparatorContainerClassName)},s.prototype.getBuildTemplateStrategy=function(){return new a.SeparatorToolbarItemTemplateCreator},s.SeparatorContainerClassName="dx-r-separator-container",s);function s(){return null!==n&&n.apply(this,arguments)||this}e.ToolbarSeparatorItem=o},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=o(0),r=o(5),o=o(1),o=(n=o.ToolbarItemTemplateCreator,i.__extends(a,n),a.prototype.createTemplate=function(){var t=n.prototype.createTemplate.call(this);return t.disabled=!0,t.dxIsSeparator=!0,t.template=function(){var t=document.createElement("div");return t.classList.add(a.SeparatorClassName),t.classList.add(r.DxtThemeCssClasses.BorderColor),t},t},a.SeparatorClassName="dx-r-separator",a);function a(){return null!==n&&n.apply(this,arguments)||this}e.SeparatorToolbarItemTemplateCreator=o}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devexpress-aspnetcore-spreadsheet",
3
- "version": "21.1.11",
3
+ "version": "21.1.12",
4
4
  "homepage": "https://www.devexpress.com/",
5
5
  "bugs": "https://www.devexpress.com/support/",
6
6
  "author": "Developer Express Inc.",
@@ -11,7 +11,7 @@
11
11
  "localization": "node bin/localization-builder.js localization-source localization"
12
12
  },
13
13
  "peerDependencies": {
14
- "devextreme": "21.1.11"
14
+ "devextreme": "21.1.12"
15
15
  },
16
16
  "keywords": [
17
17
  "spreadsheet",