@hpcc-js/dgrid 2.32.8 → 2.32.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +33 -33
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +33 -33
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +15 -15
- package/dist/index.min.js.map +1 -1
- package/package.json +6 -6
- package/src/__package__.ts +2 -2
- package/types/RowFormatter.d.ts +2 -2
- package/types/RowFormatter.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/RowFormatter.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@hpcc-js/common"),require("@hpcc-js/util")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common","@hpcc-js/util"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid"]={},e["@hpcc-js/common"],e["@hpcc-js/util"])}(this,(function(exports,common,util){var PKG_NAME="@hpcc-js/dgrid",PKG_VERSION="2.32.
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@hpcc-js/common"),require("@hpcc-js/util")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common","@hpcc-js/util"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@hpcc-js/dgrid"]={},e["@hpcc-js/common"],e["@hpcc-js/util"])}(this,(function(exports,common,util){var PKG_NAME="@hpcc-js/dgrid",PKG_VERSION="2.32.9",BUILD_VERSION="2.104.20",extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},extendStatics(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return __assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)};function __decorate(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __spreadArray(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},dist={exports:{}};function entitiesEncode(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function safeEncode(e){switch(Object.prototype.toString.call(e)){case"[object Undefined]":case"[object Boolean]":case"[object Number]":return e;case"[object String]":return entitiesEncode(e);default:console.warn("Unknown cell type: "+Object.prototype.toString.call(e))}return e}(function(module,exports){var factory;self,factory=()=>(()=>{var __webpack_modules__={3271:
|
|
2
2
|
/*!****************************************!*\
|
|
3
3
|
!*** ../../node_modules/dgrid/Grid.js ***!
|
|
4
4
|
\****************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/_base/declare */2536),n(/*! dojo/_base/lang */9768),n(/*! dojo/dom-construct */912),n(/*! dojo/dom-class */6980),n(/*! dojo/on */9994),n(/*! dojo/has */9206),n(/*! ./List */171),n(/*! ./util/misc */7314),n(/*! dojo/_base/sniff */8277)],o=function(e,t,n,r,o,i,s,a){function l(e,t){t&&t.nodeType&&e.appendChild(t)}function d(e){return a.escapeCssIdentifier(e,"-")}var c=e(s,{columns:null,hasNeutralSort:!1,cellNavigation:!0,tabableHeader:!0,showHeader:!0,column:function(e){return"object"!=typeof e?this.columns[e]:this.cell(e).column},listType:"grid",cell:function(e,t){if(e.column&&e.element)return e;var n;if(e.target&&e.target.nodeType&&(e=e.target),e.nodeType)do{if(this._rowIdToObject[e.id])break;var r=e.columnId;if(r){t=r,n=e;break}e=e.parentNode}while(e&&e!==this.domNode);if(!n&&void 0!==t){var o=this.row(e),i=o&&o.element;if(i)for(var s=i.getElementsByTagName("td"),a=0;a<s.length;a++)if(s[a].columnId===t){n=s[a];break}}return null!=e?{row:o||this.row(e),column:t&&this.column(t),element:n}:void 0},createRowCells:function(e,t,r,o,s){var a,l,c,u,h,f,p,g,v,m,y,_,b,w=n.create("table",{className:"dgrid-row-table",role:"presentation"}),x=i("ie")<9?n.create("tbody",null,w):w;for(l=0,c=(r=r||this.subRows).length;l<c;l++)for(f=r[l],a=n.create("tr",null,x),f.className&&(a.className=f.className),u=0,h=f.length;u<h;u++)g=(p=f[u]).id,v=p.field?" field-"+d(p.field):"",(m="function"==typeof p.className?p.className(o):p.className)&&(v+=" "+m),(y=n.create(e,{className:"dgrid-cell"+(g?" dgrid-column-"+d(g):"")+v,role:"th"===e?"columnheader":"gridcell"})).columnId=g,(_=p.colSpan)&&(y.colSpan=_),(b=p.rowSpan)&&(y.rowSpan=b),t(y,p,o,s),a.appendChild(y);return w},_createBodyRowCell:function(e,t,n,r){var o=n;t.get?o=t.get(n):"field"in t&&"_item"!==t.field&&(o=n[t.field]),t.renderCell?l(e,t.renderCell(n,o,e,r)):this._defaultRenderCell.call(t,n,o,e,r)},_createHeaderRowCell:function(e,t){var n=t.headerNode=e,r=t.field;r&&(e.field=r),t.renderHeaderCell?l(n,t.renderHeaderCell(n)):("label"in t||t.field)&&n.appendChild(document.createTextNode("label"in t?t.label:t.field)),!1!==t.sortable&&r&&"_item"!==r&&(e.sortable=!0,e.className+=" dgrid-sortable")},left:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,-(t||1),"dgrid-cell"))},right:function(e,t){return e.element||(e=this.cell(e)),this.cell(this._move(e,t||1,"dgrid-cell"))},_defaultRenderCell:function(e,t,n){if(this.formatter){var r=this.formatter,o=this.grid.formatterScope,i="string"==typeof r&&o?o[r](t,e):this.formatter(t,e);null!=i&&i.hasOwnProperty("html")?n.innerHTML=i.html:null!=i&&n.appendChild(document.createTextNode(i))}else null!=t&&n.appendChild(document.createTextNode(t))},renderRow:function(e,r){var o=this.createRowCells("td",t.hitch(this,"_createBodyRowCell"),r&&r.subRows,e,r),i=n.create("div",{role:"row"});return i.appendChild(o),i},renderHeader:function(){var e=this,r=this.headerNode;r.setAttribute("role","row"),n.empty(r);var s=this.createRowCells("th",t.hitch(this,"_createHeaderRowCell"),this.subRows&&this.subRows.headerRows);this._rowIdToObject[s.id=this.id+"-header"]=this.columns,r.appendChild(s),this._sortListener&&this._sortListener.remove(),this._sortListener=o(s,"click,keydown",(function(t){if("click"===t.type||32===t.keyCode||!i("opera")&&13===t.keyCode){var n,s,a,l,d=t.target;do{if(d.sortable){n=d.field||d.columnId,s=e.sort[0],a=e.hasNeutralSort&&s&&s.property===n&&s.descending?[]:[{property:n,descending:s&&s.property===n&&!s.descending}],l={bubbles:!0,cancelable:!0,grid:e,parentType:t.type,sort:a},o.emit(t.target,"dgrid-sort",l)&&(e._sortNode=d,e.set("sort",a));break}}while((d=d.parentNode)&&d!==r)}}))},resize:function(){var e,t=this.headerNode.firstChild,n=this.contentNode;this.inherited(arguments),n.style.width="",n&&t&&(e=t.offsetWidth)>n.offsetWidth&&(n.style.width=e+"px")},destroy:function(){this._destroyColumns(),this._sortListener&&this._sortListener.remove(),this.inherited(arguments)},_setSort:function(){this.inherited(arguments),this.updateSortArrow(this.sort)},_findSortArrowParent:function(e){var t=this.columns;for(var n in t){var r=t[n];if(r.field===e)return r.headerNode}},updateSortArrow:function(e,t){if(this._lastSortedArrow&&(this._lastSortedArrow.parentNode&&r.remove(this._lastSortedArrow.parentNode,"dgrid-sort-up dgrid-sort-down"),n.destroy(this._lastSortedArrow),delete this._lastSortedArrow),t&&(this.sort=e),e[0]){var o=e[0].property,i=e[0].descending,s=this._sortNode||this._findSortArrowParent(o);delete this._sortNode,s&&(s=s.contents||s,this._lastSortedArrow=n.create("div",{className:"dgrid-sort-arrow ui-icon",innerHTML:" ",role:"presentation"},s,"first"),r.add(s,"dgrid-sort-"+(i?"down":"up")),this.resize())}},styleColumn:function(e,t){return this.addCssRule("#"+a.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+d(e),t)},_configColumns:function(e,t){var n=[],r=t instanceof Array;return a.each(t,(function(o,i){"string"==typeof o&&(t[i]=o={label:o}),r||o.field||(o.field=i),i=o.id=o.id||(isNaN(i)?i:e+i),this._configColumn&&(this._configColumn(o,t,e),i=o.id),r&&(this.columns[i]=o),o.grid?o.grid!==this&&console.warn("Sharing column definition objects with multiple grids is not supported.",o.grid,this):o.grid=this,n.push(o)}),this),r?t:n},_destroyColumns:function(){this.cleanup()},configStructure:function(){var e=this.subRows,t=this._columns=this.columns;if(this.columns=!t||t instanceof Array?{}:t,e)for(var n=0;n<e.length;n++)e[n]=this._configColumns(n+"-",e[n]);else this.subRows=[this._configColumns("",t)]},_getColumns:function(){return this._columns||this.columns},_setColumns:function(e){this._destroyColumns(),this.subRows=null,this.columns=e,this._updateColumns()},_setSubRows:function(e){this._destroyColumns(),this.subRows=e,this._updateColumns()},_updateColumns:function(){this.configStructure(),this.renderHeader(),this.refresh(),this._lastCollection&&this.renderArray(this._lastCollection),this._started&&(this.sort.length?(this._lastSortedArrow=null,this.updateSortArrow(this.sort)):this.resize())}});return c.appendIfNode=l,c}.apply(null,r),void 0===o||(e.exports=o)},4346:
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
\************************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/_base/declare */2536),n(/*! dojo/_base/array */6870),n(/*! dojo/on */9994),n(/*! dojo/query */9460),n(/*! dojo/_base/lang */9768),n(/*! dojo/dom */8688),n(/*! dojo/dom-construct */912),n(/*! dojo/dom-geometry */5525),n(/*! dojo/has */9206),n(/*! ../util/misc */7314),n(/*! dojo/_base/html */3034)],o=function(e,t,n,r,o,i,s,a,l,d){function c(e,t,n,r,o){for(var i=1;i<t;i++)e[n+i][r]=o}function u(e){for(var n=e.length,r=n,o=t.filter(e[0],(function(e){return!e.hidden})).length,i=new Array(n);n--;)i[n]=new Array(o);var s={};for(n=0;n<r;n++)for(var a=i[n],l=e[n],d=0,u=0;d<o;d++){var h,f=l[u];if(void 0===a[d]){if(a[d]=f.id,f.rowSpan&&f.rowSpan>1&&c(i,f.rowSpan,n,d,f.id),n>0&&f.colSpan&&f.colSpan>1)for(h=1;h<f.colSpan;h++)a[++d]=f.id,f.rowSpan&&f.rowSpan>1&&c(i,f.rowSpan,n,d,f.id);s[f.id]=e[0][d].id,u++}}return s}function h(e,t,r,o,i){if(!(r<=0)){var s,a,l=e.columns[t];if(l)return s={grid:e,columnId:t,width:r,bubbles:!0,cancelable:!0},o&&(s.parentType=o),!e._resizedColumns||n.emit(e.headerNode,"dgrid-columnresize",s)?("auto"===r?delete l.width:(l.width=r,r+="px"),(a=e._columnSizes[t])?a.set("width",r):a=d.addCssRule("#"+d.escapeCssIdentifier(e.domNode.id)+" .dgrid-column-"+d.escapeCssIdentifier(t,"-"),"width: "+r+";"),e._columnSizes[t]=a,!1!==i&&e.resize(),!0):void 0}}var f,p,g=0,v=function(){f=s.create("div",{className:"dgrid-column-resizer"}),p=s.create("div",{className:"dgrid-resize-guard"})},m=function(){s.destroy(f),s.destroy(p),f=p=null},y=function(e){var t=a.position(e.domNode,!0);f.style.top=t.y+"px",f.style.height=t.h+"px",document.body.appendChild(f),e.domNode.appendChild(p)},_=function(e){f.style.left=e+"px"},b=function(){f.parentNode.removeChild(f),p.parentNode.removeChild(p)};return e(null,{resizeNode:null,minWidth:40,adjustLastColumn:!0,_resizedColumns:!1,buildRendering:function(){this.inherited(arguments),g||v(),g++},destroy:function(){for(var e in this.inherited(arguments),this._columnSizes)this._columnSizes[e].remove();--g||m()},resizeColumnWidth:function(e,t){return h(this,e,t)},configStructure:function(){var e,t=this._oldColumnSizes=o.mixin({},this._columnSizes);for(e in this._resizedColumns=!1,this._columnSizes={},this.inherited(arguments),t)e in this._columnSizes||t[e].remove();delete this._oldColumnSizes},_configColumn:function(e){this.inherited(arguments);var t,n=e.id;"width"in e&&((t=this._oldColumnSizes[n])?t.set("width",e.width+"px"):t=d.addCssRule("#"+d.escapeCssIdentifier(this.domNode.id)+" .dgrid-column-"+d.escapeCssIdentifier(n,"-"),"width: "+e.width+"px;"),this._columnSizes[n]=t)},renderHeader:function(){this.inherited(arguments);var e,t=this;if(this.columnSets&&this.columnSets.length)for(var i=this.columnSets.length;i--;)e=o.mixin(e||{},u(this.columnSets[i]));else this.subRows&&this.subRows.length>1&&(e=u(this.subRows));for(var a=r(".dgrid-cell",t.headerNode),l=a.length;l--;){var c,h=a[l],f=h.columnId,p=t.columns[f],g=h.childNodes;if(p&&!1!==p.resizable){var v=s.create("div",{className:"dgrid-resize-header-container"});for(h.contents=v;g.length>0;)v.appendChild(g[0]);c=s.create("div",{className:"dgrid-resize-handle resizeNode-"+d.escapeCssIdentifier(f,"-")},v),h.appendChild(v),c.columnId=e&&e[f]||f}}t.mouseMoveListen||(n(t.headerNode,".dgrid-resize-handle:mousedown",(function(e){t._resizeMouseDown(e,this),t.mouseMoveListen.resume(),t.mouseUpListen.resume()})),t._listeners.push(t.mouseMoveListen=n.pausable(document,"mousemove",d.throttleDelayed((function(e){t._updateResizerPosition(e)})))),t._listeners.push(t.mouseUpListen=n.pausable(document,"mouseup",(function(e){t._resizeMouseUp(e),t.mouseMoveListen.pause(),t.mouseUpListen.pause()}))),t.mouseMoveListen.pause(),t.mouseUpListen.pause())},_resizeMouseDown:function(e,t){e.preventDefault(),i.setSelectable(this.domNode,!1),this._startX=this._getResizeMouseLocation(e),this._targetCell=r(".dgrid-column-"+d.escapeCssIdentifier(t.columnId,"-"),this.headerNode)[0],this._updateResizerPosition(e),y(this)},_resizeMouseUp:function(e){var t,n,o,s=this._columnSizes;this.adjustLastColumn&&(o=this.headerNode.clientWidth-1),this._resizedColumns||(t=r(".dgrid-cell",this.headerNode),this.columnSets&&this.columnSets.length?t=t.filter((function(e){return"0"===e.columnId.split("-")[0]&&!(e.columnId in s)})):this.subRows&&this.subRows.length>1&&(t=t.filter((function(e){return"0"===e.columnId.charAt(0)&&!(e.columnId in s)}))),n=t.map((function(e){return e.offsetWidth})),t.forEach((function(e,t){h(this,e.columnId,n[t],null,!1)}),this),this._resizedColumns=!0),i.setSelectable(this.domNode,!0);var a=this._targetCell,l=this._getResizeMouseLocation(e)-this._startX,c=a.offsetWidth+l,u=this._getResizedColumnWidths(),f=u.totalWidth,p=u.lastColId,g=r(".dgrid-column-"+d.escapeCssIdentifier(p,"-"),this.headerNode)[0].offsetWidth;c<this.minWidth&&(c=this.minWidth),h(this,a.columnId,c,e.type)&&a.columnId!==p&&this.adjustLastColumn&&(f+l<o?h(this,p,"auto",e.type):g-l<=this.minWidth&&h(this,p,this.minWidth,e.type)),b(),delete this._startX,delete this._targetCell},_updateResizerPosition:function(e){if(this._targetCell){var t=this._getResizeMouseLocation(e),n=t-this._startX,r=this._targetCell.offsetWidth,o=t;r+n<this.minWidth&&(o=this._startX-(r-this.minWidth)),_(o)}},_getResizeMouseLocation:function(e){var t=0;return e.pageX?t=e.pageX:e.clientX&&(t=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),t},_getResizedColumnWidths:function(){var e=0,t=r((this.columnSets?".dgrid-column-set-cell ":"")+"tr:first-child .dgrid-cell",this.headerNode),n=t.length;if(!n)return{};for(var o=t[n-1].columnId;n--;)e+=t[n].offsetWidth;return{totalWidth:e,lastColId:o}}})}.apply(null,r),void 0===o||(e.exports=o)},8031:
|
|
26
26
|
/*!**************************************************************!*\
|
|
27
27
|
!*** ../../node_modules/dgrid/extensions/CompoundColumns.js ***!
|
|
28
|
-
\**************************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/_base/lang */9768),n(/*! dojo/_base/declare */2536),n(/*! dojo/sniff */5301),n(/*! dojo/query */9460),n(/*! ../util/misc */7314)],o=function(e,t,n,r,o){return t(null,{configStructure:function(){var t=this.subRows&&this.subRows[0]||this.columns,n=[[]],r=n[0],i=[];function s
|
|
28
|
+
\**************************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/_base/lang */9768),n(/*! dojo/_base/declare */2536),n(/*! dojo/sniff */5301),n(/*! dojo/query */9460),n(/*! ../util/misc */7314)],o=function(e,t,n,r,o){return t(null,{configStructure:function(){var t=this.subRows&&this.subRows[0]||this.columns,n=[[]],r=n[0],i=[];n[0].className="dgrid-spacer-row",function t(s,a,l,d){var c,u,h=0,f=function(){};return o.each(s,(function(o,p){"string"==typeof o&&(o={label:o}),s instanceof Array||o.field||(o.field=p),c=o.children,u=c&&!1!==o.showChildHeaders,o.parentColumn=d,c?null==o.id?o.id=(d&&d.id||a-1)+"-"+r.length:d&&d.id&&(o.id=d.id+"-"+o.id):(i.push(o),r.push(e.delegate(o,{renderHeaderCell:f})),h++),u||(o=e.delegate(o,{rowSpan:-a})),c&&(h+=o.colSpan=t(c,a+1,u,o)),l&&(n[a]||(n[a]=[])).push(o)}),this),h}(t,1,!0);var s,a,l,d,c=n.length;for(s=0;s<c;s++)for(l=n[s],a=0;a<l.length;a++)(d=l[a]).rowSpan<1&&(d.rowSpan+=c);(i=[i]).headerRows=n,this.subRows=i,this.inherited(arguments)},renderHeader:function(){var e,t=this.subRows[0],n=this.subRows.headerRows[0];for(this.inherited(arguments),e=t.length;e--;)t[e].headerNode=n[e].headerNode},_findSortArrowParent:function(){var e,t,n=this.inherited(arguments),o=r(".dgrid-spacer-row",this.headerNode)[0];if(n&&o.contains(n))return e=n.columnId,(t=r(".dgrid-column-"+e,this.headerNode))[t.length-1]},_configColumn:function(e,t,n){var r=e.parentColumn,o=e.id;if(r){var i=0===o.indexOf(n)?o.substring(n.length):o;n=r.id+"-",o=e.id=n+i}this.inherited(arguments,[e,t,n])},cell:function(e,t){if("object"!=typeof t){var n=this.column(t);n&&(t=n.id)}return this.inherited(arguments,[e,t])},column:function(e){var t=this.inherited(arguments);if(null==t&&"object"!=typeof e){var n="-"+e,r=n.length;for(var o in this.columns)if(-1!==o.indexOf(n,o.length-r))return this.columns[o]}return t},_updateCompoundHiddenStates:function(e,t){var n,r=this.columns[e];if(!r||r.hidden!==t)for(;r&&r.parentColumn;)(n=(r=r.parentColumn).colSpan=r.colSpan+(t?-1:1))&&(r.headerNode.colSpan=n),1!==n||t?!n&&t&&this._hideColumn(r.id):this._showColumn(r.id)},_hideColumn:function(e){var t=this;this._updateCompoundHiddenStates(e,!0),this.inherited(arguments),n("ff")&&(this.headerNode.style.display="none",setTimeout((function(){t.headerNode.style.display="",t.resize()}),0))},_showColumn:function(e){this._updateCompoundHiddenStates(e,!1),this.inherited(arguments)},_getResizedColumnWidths:function(){var e,t=0,n=this.columns;for(e in n)t+=n[e].headerNode.offsetWidth;return{totalWidth:t,lastColId:this.subRows[0][this.subRows[0].length-1].id}}})}.apply(null,r),void 0===o||(e.exports=o)},7464:
|
|
29
29
|
/*!*********************************************************!*\
|
|
30
30
|
!*** ../../node_modules/dgrid/extensions/Pagination.js ***!
|
|
31
31
|
\*********************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ../_StoreMixin */8750),n(/*! dojo/_base/declare */2536),n(/*! dojo/_base/array */6870),n(/*! dojo/_base/lang */9768),n(/*! dojo/dom-construct */912),n(/*! dojo/dom-class */6980),n(/*! dojo/on */9994),n(/*! dojo/query */9460),n(/*! dojo/string */1843),n(/*! dojo/has */9206),n(/*! dojo/keys */2832),n(/*! dojo/when */392),n(/*! ../util/misc */7314),n(/*! dojo/i18n!./nls/pagination */1182),n(/*! dojo/_base/sniff */8277)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h,f){function p(e){if(e.loadingNode)e._loadingCount--,e._loadingCount||(o.destroy(e.loadingNode),delete e.loadingNode);else if(e._oldPageNodes){for(var t in e._oldPageNodes)e.removeRow(e._oldPageNodes[t]);delete e._oldPageNodes}delete e._isLoading}return t(e,{rowsPerPage:10,pagingTextBox:!1,previousNextArrows:!0,firstLastArrows:!1,pagingLinks:2,pageSizeOptions:null,showLoadingMessage:!0,i18nPagination:f,showFooter:!0,_currentPage:1,_loadingCount:0,buildRendering:function(){this.inherited(arguments);var e,t=this,n=this.paginationNode=o.create("div",{className:"dgrid-pagination"},this.footerNode),r=this.paginationStatusNode=o.create("div",{className:"dgrid-status"},n),i=this.i18nPagination;"function"==typeof this._processScroll&&(this.bodyNode.innerHTML=i.notCompatibleWithOnDemand,console.warn(i.notCompatibleWithOnDemand)),r.tabIndex=0,this._updatePaginationSizeSelect(),this._updateRowsPerPageOption(),this._updatePaginationStatus(this._total),e=this.paginationNavigationNode=o.create("div",{className:"dgrid-navigation"},n),this.firstLastArrows&&(this.paginationFirstNode=o.create("span",{"aria-label":i.gotoFirst,className:"dgrid-first dgrid-page-link",innerHTML:"«",tabIndex:0},e)),this.previousNextArrows&&(this.paginationPreviousNode=o.create("span",{"aria-label":i.gotoPrev,className:"dgrid-previous dgrid-page-link",innerHTML:"‹",tabIndex:0},e)),this.paginationLinksNode=o.create("span",{className:"dgrid-pagination-links"},e),this.previousNextArrows&&(this.paginationNextNode=o.create("span",{"aria-label":i.gotoNext,className:"dgrid-next dgrid-page-link",innerHTML:"›",tabIndex:0},e)),this.firstLastArrows&&(this.paginationLastNode=o.create("span",{"aria-label":i.gotoLast,className:"dgrid-last dgrid-page-link",innerHTML:"»",tabIndex:0},e)),this._listeners.push(s(e,".dgrid-page-link:click,.dgrid-page-link:keydown",(function(e){if("keydown"!==e.type||13===e.keyCode){var n,r,o=this.className;t._isLoading||o.indexOf("dgrid-page-disabled")>-1||(n=t._currentPage,r=Math.ceil(t._total/t.rowsPerPage),this===t.paginationPreviousNode?t.gotoPage(n-1):this===t.paginationNextNode?t.gotoPage(n+1):this===t.paginationFirstNode?t.gotoPage(1):this===t.paginationLastNode?t.gotoPage(r):"dgrid-page-link"===o&&t.gotoPage(+this.innerHTML))}})))},destroy:function(){this.inherited(arguments),this._pagingTextBoxChangeHandle&&this._pagingTextBoxChangeHandle.remove(),this._pagingTextBoxKeyPressHandle&&this._pagingTextBoxKeyPressHandle.remove()},_updatePaginationSizeSelect:function(){var e,t=this.pageSizeOptions,n=this.paginationSizeSelect;if(t&&t.length){n||(n=this.paginationSizeSelect=o.create("select",{"aria-label":this.i18nPagination.rowsPerPage,className:"dgrid-page-size"},this.paginationNode),e=this._paginationSizeChangeHandle=s(n,"change",r.hitch(this,(function(){this.set("rowsPerPage",+this.paginationSizeSelect.value)}))),this._listeners.push(e)),n.options.length=0;for(var i=0;i<t.length;i++)o.create("option",{innerHTML:t[i],selected:this.rowsPerPage===t[i],value:t[i]},n);this._updateRowsPerPageOption()}else t&&t.length||!n||(o.destroy(n),this.paginationSizeSelect=null,this._paginationSizeChangeHandle.remove())},_setPageSizeOptions:function(e){this.pageSizeOptions=e&&e.sort((function(e,t){return e-t})),this._updatePaginationSizeSelect()},_updateRowsPerPageOption:function(){var e=this.rowsPerPage,t=this.pageSizeOptions,r=this.paginationSizeSelect;r&&(n.indexOf(t,e)<0?this._setPageSizeOptions(t.concat([e])):r.value=""+e)},_setRowsPerPage:function(e){this.rowsPerPage=e,this._updateRowsPerPageOption(),this.gotoPage(1)},_updateNavigation:function(e){var t,n,r,l=this,d=this.i18nPagination,u=this.paginationLinksNode,h=this._currentPage,f=this.pagingLinks,p=this.paginationNavigationNode,g=Math.ceil(e/this.rowsPerPage),v=this._pagingTextBoxKeyPressHandle,m=this._pagingTextBoxChangeHandle,y=document.activeElement;function _(e){e=+e,!isNaN(e)&&e>0&&e<=g&&l.gotoPage(e)}function b(e,r){var i,a,f=!0;l.pagingTextBox&&e===h&&g>1?(i=o.create("input",{"aria-label":d.jumpPage,className:"dgrid-page-input",type:"text",value:h},u),l._pagingTextBoxChangeHandle=s(i,"change",(function(){f&&_(+this.value),f=!0})),l._pagingTextBoxKeyPressHandle=s(i,"keypress",(function(e){e.keyCode===c.ENTER&&(f=!1,_(+this.value))})),y&&"INPUT"===y.tagName&&i.focus()):(a=e===h,i=o.create("span",{"aria-label":d.gotoPage,className:"dgrid-page-link"+(a?" dgrid-page-disabled":""),innerHTML:e+(r?" ":""),tabIndex:a?-1:0},u),t===e&&(a?e<g?t++:n.focus():i.focus()),a||(n=i))}function w(e,t){i.toggle(e,"dgrid-page-disabled",t),e.tabIndex=t?-1:0}function x(){o.create("span",{className:"dgrid-page-skip",innerHTML:"..."},u)}if(y&&this.paginationNavigationNode.contains(y)?"dgrid-page-link"===y.className&&(t=+y.innerHTML):y=null,v&&v.remove(),m&&m.remove(),u.innerHTML="",a(".dgrid-first, .dgrid-previous",p).forEach((function(e){w(e,1===h)})),a(".dgrid-last, .dgrid-next",p).forEach((function(e){w(e,h>=g)})),f&&g>0){b(1,!0);var j=h-f;j>2?x():j=2;for(var N=j;N<Math.min(h+f+1,g);N++)b(N,!0);h+f+1<g&&x(),g>1&&b(g)}else l.pagingTextBox&&b(h);y&&-1===y.tabIndex&&(r=a('[tabindex="0"]',this.paginationNavigationNode),y===this.paginationPreviousNode||y===this.paginationFirstNode?y=r[0]:r.length&&(y=r[r.length-1]),y&&y.focus())},_updatePaginationStatus:function(e){var t=this.rowsPerPage,n=Math.min(e,(this._currentPage-1)*t+1);this.paginationStatusNode.innerHTML=l.substitute(this.i18nPagination.status,{start:n,end:Math.min(e,n+t-1),total:e})},refresh:function(e){var t=this,n=e&&e.keepCurrentPage?Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage)):1;return this.inherited(arguments),this.gotoPage(n).then((function(e){return t._emitRefreshComplete(),e}))},_onNotification:function(e,t,n){var r=this.rowsPerPage,o=this._currentPage*r;"add"===t.type&&t.index<o||"delete"===t.type&&t.previousIndex<o||"update"===t.type&&Math.floor(t.index/r)!==Math.floor(t.previousIndex/r)?this.gotoPage(Math.min(this._currentPage,Math.ceil(t.totalLength/this.rowsPerPage))||1):n===this._renderedCollection&&t.totalLength!==this._total&&(this._updatePaginationStatus(t.totalLength),this._updateNavigation(t.totalLength))},renderQueryResults:function(e,t){var n=this,r=this.inherited(arguments);return t||(this._topLevelRequest&&(this._topLevelRequest.cancel(),delete this._topLevelRequest),"function"==typeof r.cancel&&(this._topLevelRequest=r),r.then((function(){n._topLevelRequest&&delete n._topLevelRequest}))),r},insertRow:function(){var e=this._oldPageNodes,t=this.inherited(arguments);return e&&t===e[t.id]&&delete e[t.id],t},gotoPage:function(e){var t=this,n=(this._currentPage-1)*this.rowsPerPage;return this._renderedCollection?(this._renderedCollection.releaseRange&&this._renderedCollection.releaseRange(n,n+this.rowsPerPage),this._trackError((function(){var n,r,i,s,a,l=t.rowsPerPage,d=(e-1)*l,c={start:d,count:l},u=t.contentNode;if(t.showLoadingMessage)t._loadingCount++,function(e){e._removeNoDataNode()||e.cleanup(),e.contentNode.innerHTML=""}(t),t.loadingNode=o.create("div",{className:"dgrid-loading",innerHTML:t.loadingMessage},u);else for(t._oldPageNodes=r={},s=0,a=(i=u.children).length;s<a;s++)r[i[s].id]=i[s];return t._isLoading=!0,n=t._renderedCollection.fetchRange({start:d,end:d+l}),t.renderQueryResults(n,null,c).then((function(r){return p(t),t.scrollTo({y:0}),t._rows&&(t._rows.min=d,t._rows.max=d+l-1),n.totalLength.then((function(n){n||t._insertNoDataNode(),t._total=n,t._currentPage=e,t._rowsOnPage=r.length,t._updatePaginationStatus(n),t._updateNavigation(n)})),n}),(function(e){throw p(t),e}))}))):(console.warn("Pagination requires a collection to operate."),u([]))}})}.apply(null,r),void 0===o||(e.exports=o)},2717:
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
\***************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/cache */451),n(/*! dojo/_base/declare */2536),n(/*! dojo/dom-construct */912),n(/*! dojo/_base/lang */9768),n(/*! dojo/on */9994),n(/*! dojo/sniff */5301),n(/*! dojo/string */1843),n(/*! ./_AttachMixin */448)],o=function(e,t,n,r,o,i,s,a){var l=t("dijit._TemplatedMixin",a,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(e){var t=this.declaredClass,n=this;return s.substitute(e,this,(function(e,o){if("!"==o.charAt(0)&&(e=r.getObject(o.substr(1),!1,n)),void 0===e)throw new Error(t+" template:"+o);return null==e?"":"!"==o.charAt(0)?e:this._escapeValue(""+e)}),this)},_escapeValue:function(e){return e.replace(/["'<>&]/g,(function(e){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[e]}))},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=e(this.templatePath,{sanitize:!0}));var t,o=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(r.isString(o)){if(1!=(t=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error("Invalid template: "+o)}else t=o.cloneNode(!0);this.domNode=t}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(e){var t=this.containerNode;if(e&&t)for(;e.hasChildNodes();)t.appendChild(e.firstChild)}});return l._templateCache={},l.getCachedTemplate=function(e,t,r){var o=l._templateCache,i=e,a=o[i];if(a){try{if(!a.ownerDocument||a.ownerDocument==(r||document))return a}catch(e){}n.destroy(a)}if(e=s.trim(e),t||e.match(/\$\{([^\}]+)\}/g))return o[i]=e;var d=n.toDom(e,r);if(1!=d.nodeType)throw new Error("Invalid template: "+e);return o[i]=d},i("ie")&&o(window,"unload",(function(){var e=l._templateCache;for(var t in e){var r=e[t];"object"==typeof r&&n.destroy(r),delete e[t]}})),l}.apply(null,r),void 0===o||(e.exports=o)},1029:
|
|
68
68
|
/*!*******************************************!*\
|
|
69
69
|
!*** ../../node_modules/dijit/_Widget.js ***!
|
|
70
|
-
\*******************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/aspect */4469),n(/*! dojo/_base/config */7320),n(/*! dojo/_base/connect */8774),n(/*! dojo/_base/declare */2536),n(/*! dojo/has */9206),n(/*! dojo/_base/kernel */367),n(/*! dojo/_base/lang */9768),n(/*! dojo/query */9460),n(/*! dojo/ready */2986),n(/*! ./registry */1251),n(/*! ./_WidgetBase */9726),n(/*! ./_OnDijitClickMixin */6059),n(/*! ./_FocusMixin */6953),n(/*! dojo/uacss */1521),n(/*! ./hccss */586)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h){function f(){}function p(e){return function(t,r,o,i){return t&&"string"==typeof r&&t[r]==f?t.on(r.substring(2).toLowerCase(),s.hitch(o,i)):e.apply(n,arguments)}}e.around(n,"connect",p),i.connect&&e.around(i,"connect",p);var g=r("dijit._Widget",[c,u,h],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(e){for(var t in this._toConnect={},e)this[t]===f&&(this._toConnect[t.replace(/^on/,"").toLowerCase()]=e[t],delete e[t])},postCreate:function(){for(var e in this.inherited(arguments),this._toConnect)this.on(e,this._toConnect[e]);delete this._toConnect},on:function(e,t){return this[this._onMap(e)]===f?n.connect(this.domNode,e.toLowerCase(),this,t):this.inherited(arguments)},_setFocusedAttr:function(e){this._focused=e,this._set("focused",e)},setAttribute:function(e,t){i.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(e,t)},attr:function(e,t){
|
|
70
|
+
\*******************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/aspect */4469),n(/*! dojo/_base/config */7320),n(/*! dojo/_base/connect */8774),n(/*! dojo/_base/declare */2536),n(/*! dojo/has */9206),n(/*! dojo/_base/kernel */367),n(/*! dojo/_base/lang */9768),n(/*! dojo/query */9460),n(/*! dojo/ready */2986),n(/*! ./registry */1251),n(/*! ./_WidgetBase */9726),n(/*! ./_OnDijitClickMixin */6059),n(/*! ./_FocusMixin */6953),n(/*! dojo/uacss */1521),n(/*! ./hccss */586)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h){function f(){}function p(e){return function(t,r,o,i){return t&&"string"==typeof r&&t[r]==f?t.on(r.substring(2).toLowerCase(),s.hitch(o,i)):e.apply(n,arguments)}}e.around(n,"connect",p),i.connect&&e.around(i,"connect",p);var g=r("dijit._Widget",[c,u,h],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(e){for(var t in this._toConnect={},e)this[t]===f&&(this._toConnect[t.replace(/^on/,"").toLowerCase()]=e[t],delete e[t])},postCreate:function(){for(var e in this.inherited(arguments),this._toConnect)this.on(e,this._toConnect[e]);delete this._toConnect},on:function(e,t){return this[this._onMap(e)]===f?n.connect(this.domNode,e.toLowerCase(),this,t):this.inherited(arguments)},_setFocusedAttr:function(e){this._focused=e,this._set("focused",e)},setAttribute:function(e,t){i.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(e,t)},attr:function(e,t){return arguments.length>=2||"object"==typeof e?this.set.apply(this,arguments):this.get(e)},getDescendants:function(){return i.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?a("[widgetId]",this.containerNode).map(d.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return g}.apply(null,r),void 0===o||(e.exports=o)},9726:
|
|
71
71
|
/*!***********************************************!*\
|
|
72
72
|
!*** ../../node_modules/dijit/_WidgetBase.js ***!
|
|
73
|
-
\***********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n.dj.c(e),n(/*! dojo/_base/array */6870),n(/*! dojo/aspect */4469),n(/*! dojo/_base/config */7320),n(/*! dojo/_base/connect */8774),n(/*! dojo/_base/declare */2536),n(/*! dojo/dom */8688),n(/*! dojo/dom-attr */623),n(/*! dojo/dom-class */6980),n(/*! dojo/dom-construct */912),n(/*! dojo/dom-geometry */5525),n(/*! dojo/dom-style */4539),n(/*! dojo/has */9206),n(/*! dojo/_base/kernel */367),n(/*! dojo/_base/lang */9768),n(/*! dojo/on */9994),n(/*! dojo/ready */2986),n(/*! dojo/Stateful */473),n(/*! dojo/topic */9187),n(/*! dojo/_base/window */4173),n(/*! ./Destroyable */1416),n.dj.h(/*! dojo/has!dojo-bidi?./_BidiMixin */"dojo-bidi?230"),n(/*! ./registry */1251)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h,f,p,g,v,m,y,_,b,w,x){h.add("dijit-legacy-requires",!f.isAsync),h.add("dojo-bidi",!1);var j={};function N(e){
|
|
73
|
+
\***********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n.dj.c(e),n(/*! dojo/_base/array */6870),n(/*! dojo/aspect */4469),n(/*! dojo/_base/config */7320),n(/*! dojo/_base/connect */8774),n(/*! dojo/_base/declare */2536),n(/*! dojo/dom */8688),n(/*! dojo/dom-attr */623),n(/*! dojo/dom-class */6980),n(/*! dojo/dom-construct */912),n(/*! dojo/dom-geometry */5525),n(/*! dojo/dom-style */4539),n(/*! dojo/has */9206),n(/*! dojo/_base/kernel */367),n(/*! dojo/_base/lang */9768),n(/*! dojo/on */9994),n(/*! dojo/ready */2986),n(/*! dojo/Stateful */473),n(/*! dojo/topic */9187),n(/*! dojo/_base/window */4173),n(/*! ./Destroyable */1416),n.dj.h(/*! dojo/has!dojo-bidi?./_BidiMixin */"dojo-bidi?230"),n(/*! ./registry */1251)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h,f,p,g,v,m,y,_,b,w,x){h.add("dijit-legacy-requires",!f.isAsync),h.add("dojo-bidi",!1);var j={};function N(e){return function(t){a[t?"set":"remove"](this.domNode,e,t),this._set(e,t)}}var C=i("dijit._WidgetBase",[m,b],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:N("lang"),dir:"",_setDirAttr:N("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(e){this._set("ownerDocument",e)},attributeMap:{},_blankGif:r.blankGif||e.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var e=this.constructor;if(!e._setterAttrs){var t=e.prototype,n=e._setterAttrs=[],r=e._onMap={};for(var o in t.attributeMap)n.push(o);for(o in t)/^on/.test(o)&&(r[o.substring(2).toLowerCase()]=o),/^_set[A-Z](.*)Attr$/.test(o)&&(o=o.charAt(4).toLowerCase()+o.substr(5,o.length-9),t.attributeMap&&o in t.attributeMap||n.push(o))}},postscript:function(e,t){this.create(e,t)},create:function(e,t){var n;if(this._introspect(),this.srcNodeRef=s.byId(t),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&this.srcNodeRef.id&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id),e&&(this.params=e,p.mixin(this,e)),this.postMixInProperties(),this.id||(this.id=x.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=_.body(this.ownerDocument),x.add(this),this.buildRendering(),this.domNode){this._applyAttributes();var r=this.srcNodeRef;r&&r.parentNode&&this.domNode!==r&&(r.parentNode.replaceChild(this.domNode,r),n=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),n&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var e={};for(var n in this.params||{})e[n]=this._get(n);for(n in t.forEach(this.constructor._setterAttrs,(function(t){if(!(t in e)){var n=this._get(t);n&&this.set(t,n)}}),this),e)this.set(n,e[n])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var e=this.baseClass.split(" ");this.isLeftToRight()||(e=e.concat(t.map(e,(function(e){return e+"Rtl"})))),l.add(this.domNode,e)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,t.forEach(this.getChildren(),(function(e){e._started||e._destroyed||!p.isFunction(e.startup)||(e.startup(),e._started=!0)})))},destroyRecursive:function(e){this._beingDestroyed=!0,this.destroyDescendants(e),this.destroy(e)},destroy:function(e){function n(t){t.destroyRecursive?t.destroyRecursive(e):t.destroy&&t.destroy(e)}this._beingDestroyed=!0,this.uninitialize(),t.forEach(this._connects,p.hitch(this,"disconnect")),t.forEach(this._supportingWidgets,n),this.domNode&&t.forEach(x.findWidgets(this.domNode,this.containerNode),n),this.destroyRendering(e),x.remove(this.id),this._destroyed=!0},destroyRendering:function(e){this.bgIframe&&(this.bgIframe.destroy(e),delete this.bgIframe),this.domNode&&(e?a.remove(this.domNode,"widgetId"):d.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(e||d.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(e){t.forEach(this.getChildren(),(function(t){t.destroyRecursive&&t.destroyRecursive(e)}))},uninitialize:function(){return!1},_setStyleAttr:function(e){var t=this.domNode;p.isObject(e)?u.set(t,e):t.style.cssText?t.style.cssText+="; "+e:t.style.cssText=e,this._set("style",e)},_attrToDom:function(e,n,r){r=arguments.length>=3?r:this.attributeMap[e],t.forEach(p.isArray(r)?r:[r],(function(t){var r=this[t.node||t||"domNode"];switch(t.type||"attribute"){case"attribute":p.isFunction(n)&&(n=p.hitch(this,n));var o=t.attribute?t.attribute:/^on[A-Z][a-zA-Z]*$/.test(e)?e.toLowerCase():e;r.tagName?a.set(r,o,n):r.set(o,n);break;case"innerText":r.innerHTML="",r.appendChild(this.ownerDocument.createTextNode(n));break;case"textContent":r.textContent=n;break;case"innerHTML":r.innerHTML=n;break;case"class":l.replace(r,n,this[e]);break;case"toggleClass":l.toggle(r,t.className||e,n)}}),this)},get:function(e){var t=this._getAttrNames(e);return this[t.g]?this[t.g]():this._get(e)},set:function(e,t){if("object"==typeof e){for(var n in e)this.set(n,e[n]);return this}var r=this._getAttrNames(e),o=this[r.s];if(p.isFunction(o))var i=o.apply(this,Array.prototype.slice.call(arguments,1));else{var s=this.focusNode&&!p.isFunction(this.focusNode)?"focusNode":"domNode",a=this[s]&&this[s].tagName,l=a&&(j[a]||(j[a]=function(e){var t={};for(var n in e)t[n.toLowerCase()]=!0;return t}(this[s]))),d=e in this.attributeMap?this.attributeMap[e]:r.s in this?this[r.s]:l&&r.l in l&&"function"!=typeof t||/^aria-|^data-|^role$/.test(e)?s:null;null!=d&&this._attrToDom(e,t,d),this._set(e,t)}return i||this},_attrPairNames:{},_getAttrNames:function(e){var t=this._attrPairNames;if(t[e])return t[e];var n=e.replace(/^[a-z]|-[a-zA-Z]/g,(function(e){return e.charAt(e.length-1).toUpperCase()}));return t[e]={n:e+"Node",s:"_set"+n+"Attr",g:"_get"+n+"Attr",l:n.toLowerCase()}},_set:function(e,t){var n,r,o=this[e];this[e]=t,!this._created||(n=o)===(r=t)||n!=n&&r!=r||(this._watchCallbacks&&this._watchCallbacks(e,o,t),this.emit("attrmodified-"+e,{detail:{prevValue:o,newValue:t}}))},_get:function(e){return this[e]},emit:function(e,t,n){void 0===(t=t||{}).bubbles&&(t.bubbles=!0),void 0===t.cancelable&&(t.cancelable=!0),t.detail||(t.detail={}),t.detail.widget=this;var r,o=this["on"+e];return o&&(r=o.apply(this,n||[t])),this._started&&!this._beingDestroyed&&g.emit(this.domNode,e.toLowerCase(),t),r},on:function(e,t){var r=this._onMap(e);return r?n.after(this,r,t,!0):this.own(g(this.domNode,e,t))[0]},_onMap:function(e){var t=this.constructor,n=t._onMap;if(!n)for(var r in n=t._onMap={},t.prototype)/^on/.test(r)&&(n[r.replace(/^on/,"").toLowerCase()]=r);return n["string"==typeof e&&e.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?x.findWidgets(this.containerNode):[]},getParent:function(){return x.getEnclosingWidget(this.domNode.parentNode)},connect:function(e,t,n){return this.own(o.connect(e,t,this,n))[0]},disconnect:function(e){e.remove()},subscribe:function(e,t){return this.own(y.subscribe(e,p.hitch(this,t)))[0]},unsubscribe:function(e){e.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():c.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=u.get(this.domNode,"display")},placeAt:function(e,t){var n=!e.tagName&&x.byId(e);if(!n||!n.addChild||t&&"number"!=typeof t){var r=n&&"domNode"in n?n.containerNode&&!/after|before|replace/.test(t||"")?n.containerNode:n.domNode:s.byId(e,this.ownerDocument);d.place(this.domNode,r,t),!this._started&&(this.getParent()||{})._started&&this.startup()}else n.addChild(this,t);return this},defer:function(e,t){var n=setTimeout(p.hitch(this,(function(){n&&(n=null,this._destroyed||p.hitch(this,e)())})),t||0);return{remove:function(){return n&&(clearTimeout(n),n=null),null}}}});return h("dojo-bidi")&&C.extend(w),C}.apply(null,r),void 0===o||(e.exports=o)},4009:
|
|
74
74
|
/*!*************************************************!*\
|
|
75
75
|
!*** ../../node_modules/dijit/_base/manager.js ***!
|
|
76
76
|
\*************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! dojo/_base/array */6870),n(/*! dojo/_base/config */7320),n(/*! dojo/_base/lang */9768),n(/*! ../registry */1251),n(/*! ../main */1723)],o=function(e,t,n,r,o){var i={};return e.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],(function(e){i[e]=r[e]})),n.mixin(i,{defaultDuration:t.defaultDuration||200}),n.mixin(o,i),o}.apply(null,r),void 0===o||(e.exports=o)},6479:
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
\***********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ../global */8135),n(/*! ../has */9206),n.dj.c(e)],void 0===(o=function(e,t,n){var r,o={},i=function(e,n,o){for(r in e)"has"!=r&&t.add(n+r,e[r],0,o)};if(i(o=e.dojoConfig||e.djConfig||{},"config",1),i(o.has,"",1),!o.locale&&"undefined"!=typeof navigator){var s=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;s&&(o.locale=s.toLowerCase())}return o}.apply(null,r))||(e.exports=o)},8774:
|
|
158
158
|
/*!************************************************!*\
|
|
159
159
|
!*** ../../node_modules/dojo/_base/connect.js ***!
|
|
160
|
-
\************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ../on */9994),n(/*! ../topic */9187),n(/*! ../aspect */4469),n(/*! ./event */7687),n(/*! ../mouse */231),n(/*! ./sniff */8277),n(/*! ./lang */9768),n(/*! ../keys */2832)],o=function(e,t,n,r,o,i,s,a){function l(n,o,s,l,c){if(l=a.hitch(s,l),!n||!n.addEventListener&&!n.attachEvent)return r.after(n||e.global,o,l,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),n||(n=e.global),!c)switch(o){case"keypress":o=d;break;case"mouseenter":o=i.enter;break;case"mouseleave":o=i.leave}return t(n,o,l,c)}s.add("events-keypress-typed",(function(){var e={charCode:0};try{((e=document.createEvent("KeyboardEvent")).initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!s("opera")}));var d,c={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},u=s("mac")?"metaKey":"ctrlKey",h=function(e,t){var n=a.mixin({},e,t);return f(n),n.preventDefault=function(){e.preventDefault()},n.stopPropagation=function(){e.stopPropagation()},n};function f(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}var p={_keypress:d=s("events-keypress-typed")?function(e,n){var r=t(e,"keydown",(function(e){var t=e.keyCode,r=13!=t&&32!=t&&(27!=t||!s("ie"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&229!=t;if(r||e.ctrlKey){var o=r?0:t;if(e.ctrlKey){if(3==t||13==t)return n.call(e.currentTarget,e);o>95&&o<106?o-=48:!e.shiftKey&&o>=65&&o<=90?o+=32:o=c[o]||o}var i=h(e,{type:"keypress",faux:!0,charCode:o});n.call(e.currentTarget,i),s("ie")&&function(e,t){try{e.keyCode=t}catch(e){return 0}}(e,i.keyCode)}})),o=t(e,"keypress",(function(e){var t=e.charCode;return e=h(e,{charCode:t=t>=32?t:0,faux:!0}),n.call(this,e)}));return{remove:function(){r.remove(),o.remove()}}}:s("opera")?function(e,n){return t(e,"keypress",(function(e){var t=e.which;return 3==t&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),n.call(this,h(e,{charCode:t}))}))}:function(e,n){return t(e,"keypress",(function(e){return f(e),n.call(this,e)}))},connect:function(e,t,n,r,o){var i=arguments,s=[],a=0;s.push("string"==typeof i[0]?null:i[a++],i[a++]);var d=i[a+1];s.push("string"==typeof d||"function"==typeof d?i[a++]:null,i[a++]);for(var c=i.length;a<c;a++)s.push(i[a]);return l.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,r){return n.subscribe(e,a.hitch(t,r))},publish:function(e,t){return n.publish.apply(n,[e].concat(t))},connectPublisher:function(e,t,n){var r=function(){p.publish(e,arguments)};return n?p.connect(t,n,r):p.connect(t,r)},isCopyKey:function(e){return e[u]}};return p.unsubscribe=p.disconnect,s("extend-dojo")&&a.mixin(e,p),p}.apply(null,r),void 0===o||(e.exports=o)},2536:
|
|
160
|
+
\************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ../on */9994),n(/*! ../topic */9187),n(/*! ../aspect */4469),n(/*! ./event */7687),n(/*! ../mouse */231),n(/*! ./sniff */8277),n(/*! ./lang */9768),n(/*! ../keys */2832)],o=function(e,t,n,r,o,i,s,a){function l(n,o,s,l,c){if(l=a.hitch(s,l),!n||!n.addEventListener&&!n.attachEvent)return r.after(n||e.global,o,l,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),n||(n=e.global),!c)switch(o){case"keypress":o=d;break;case"mouseenter":o=i.enter;break;case"mouseleave":o=i.leave}return t(n,o,l,c)}s.add("events-keypress-typed",(function(){var e={charCode:0};try{((e=document.createEvent("KeyboardEvent")).initKeyboardEvent||e.initKeyEvent).call(e,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(e){}return 0==e.charCode&&!s("opera")}));var d,c={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},u=s("mac")?"metaKey":"ctrlKey",h=function(e,t){var n=a.mixin({},e,t);return f(n),n.preventDefault=function(){e.preventDefault()},n.stopPropagation=function(){e.stopPropagation()},n};function f(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode}var p={_keypress:d=s("events-keypress-typed")?function(e,n){var r=t(e,"keydown",(function(e){var t=e.keyCode,r=13!=t&&32!=t&&(27!=t||!s("ie"))&&(t<48||t>90)&&(t<96||t>111)&&(t<186||t>192)&&(t<219||t>222)&&229!=t;if(r||e.ctrlKey){var o=r?0:t;if(e.ctrlKey){if(3==t||13==t)return n.call(e.currentTarget,e);o>95&&o<106?o-=48:!e.shiftKey&&o>=65&&o<=90?o+=32:o=c[o]||o}var i=h(e,{type:"keypress",faux:!0,charCode:o});n.call(e.currentTarget,i),s("ie")&&function(e,t){try{return e.keyCode=t}catch(e){return 0}}(e,i.keyCode)}})),o=t(e,"keypress",(function(e){var t=e.charCode;return e=h(e,{charCode:t=t>=32?t:0,faux:!0}),n.call(this,e)}));return{remove:function(){r.remove(),o.remove()}}}:s("opera")?function(e,n){return t(e,"keypress",(function(e){var t=e.which;return 3==t&&(t=99),t=t<32&&!e.shiftKey?0:t,e.ctrlKey&&!e.shiftKey&&t>=65&&t<=90&&(t+=32),n.call(this,h(e,{charCode:t}))}))}:function(e,n){return t(e,"keypress",(function(e){return f(e),n.call(this,e)}))},connect:function(e,t,n,r,o){var i=arguments,s=[],a=0;s.push("string"==typeof i[0]?null:i[a++],i[a++]);var d=i[a+1];s.push("string"==typeof d||"function"==typeof d?i[a++]:null,i[a++]);for(var c=i.length;a<c;a++)s.push(i[a]);return l.apply(this,s)},disconnect:function(e){e&&e.remove()},subscribe:function(e,t,r){return n.subscribe(e,a.hitch(t,r))},publish:function(e,t){return n.publish.apply(n,[e].concat(t))},connectPublisher:function(e,t,n){var r=function(){p.publish(e,arguments)};return n?p.connect(t,n,r):p.connect(t,r)},isCopyKey:function(e){return e[u]}};return p.unsubscribe=p.disconnect,s("extend-dojo")&&a.mixin(e,p),p}.apply(null,r),void 0===o||(e.exports=o)},2536:
|
|
161
161
|
/*!************************************************!*\
|
|
162
162
|
!*** ../../node_modules/dojo/_base/declare.js ***!
|
|
163
163
|
\************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ../has */9206),n(/*! ./lang */9768)],o=function(e,t,n){var r,o=n.mixin,i=Object.prototype,s=i.toString,a=0,l="constructor";function d(e,t){throw new Error("declare"+(t?" "+t:"")+": "+e)}function c(e,t,n,r){var o,s,a,c,u,h,f,p,g,v=this._inherited=this._inherited||{};if("string"==typeof e&&(o=e,e=t,t=n,n=r),"function"==typeof e)c=e,e=t,t=n;else try{c=e.callee}catch(e){if(!(e instanceof TypeError))throw e;d("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass)}if((o=o||c.nom)||d("can't deduce a name to call inherited()",this.declaredClass),n=r=0,a=(u=this.constructor._meta).bases,g=v.p,o!=l){if(v.c!==c&&(g=0,(u=(h=a[0])._meta).hidden[o]!==c)){(s=u.chains)&&"string"==typeof s[o]&&d("calling chained method with inherited: "+o,this.declaredClass);do{if(u=h._meta,f=h.prototype,u&&(f[o]===c&&f.hasOwnProperty(o)||u.hidden[o]===c))break}while(h=a[++g]);g=h?g:-1}if(h=a[++g])if(f=h.prototype,h._meta&&f.hasOwnProperty(o))n=f[o];else{p=i[o];do{if((n=(f=h.prototype)[o])&&(h._meta?f.hasOwnProperty(o):n!==p))break}while(h=a[++g])}n=h&&n||i[o]}else{if(v.c!==c&&(g=0,(u=a[0]._meta)&&u.ctor!==c)){for((s=u.chains)&&"manual"===s.constructor||d("calling chained constructor with inherited",this.declaredClass);(h=a[++g])&&(!(u=h._meta)||u.ctor!==c););g=h?g:-1}for(;(h=a[++g])&&!(n=(u=h._meta)?u.ctor:h););n=h&&n}if(v.c=n,v.p=g,n)return!0===t?n:n.apply(this,t||e)}function u(e,t,n){return"string"==typeof e?"function"==typeof t?this.__inherited(e,t,n,!0):this.__inherited(e,t,!0):"function"==typeof e?this.__inherited(e,t,!0):this.__inherited(e,!0)}r=t("csp-restrictions")?function(){}:new Function;var h=e.config.isDebug?function(e,t,n,r){var o=this.getInherited(e,t,n);if(o)return o.apply(this,r||n||t||e)}:c;function f(e){for(var t=this.constructor._meta.bases,n=0,r=t.length;n<r;++n)if(t[n]===e)return!0;return this instanceof e}function p(e,t){for(var n in t)n!=l&&t.hasOwnProperty(n)&&(e[n]=t[n])}function g(e){return b.safeMixin(this.prototype,e),this}function v(e,t){return e instanceof Array||"function"==typeof e||(t=e,e=void 0),t=t||{},b([this].concat(e=e||[]),t)}function m(e,t,n){return function(){var r,o,i,s=0,a=1;for(n&&(s=t.length-1,a=-1);r=t[s];s+=a)(i=((o=r._meta)?o.hidden:r.prototype)[e])&&i.apply(this,arguments)}}function y(e){r.prototype=e.prototype;var t=new r;return r.prototype=null,t}function _(e){var t=e.callee,n=y(t);return t.apply(n,e),n}function b(e,r,w){"string"!=typeof e&&(w=r,r=e,e=""),w=w||{};var x,j,N,C,T,S,A,I=1,E=r;if("[object Array]"==s.call(r)?(S=function(e,t){for(var n,r,o,i,l,c,u,h,f=[],p=[{cls:0,refs:[]}],g={},v=1,m=e.length,y=0;y<m;++y){for((o=e[y])?"[object Function]"!=s.call(o)&&d("mixin #"+y+" is not a callable constructor.",t):d("mixin #"+y+" is unknown. Did you use dojo.require to pull it in?",t),i=0,n=(r=o._meta?o._meta.bases:[o]).length-1;n>=0;--n)(l=r[n].prototype).hasOwnProperty("declaredClass")||(l.declaredClass="uniqName_"+a++),u=l.declaredClass,g.hasOwnProperty(u)||(g[u]={count:0,refs:[],cls:r[n]},++v),c=g[u],i&&i!==c&&(c.refs.push(i),++i.count),i=c;++i.count,p[0].refs.push(i)}for(;p.length;){for(i=p.pop(),f.push(i.cls),--v;1==(h=i.refs).length;){if(!(i=h[0])||--i.count){i=0;break}f.push(i.cls),--v}if(i)for(y=0,m=h.length;y<m;++y)--(i=h[y]).count||p.push(i)}return v&&d("can't build consistent linearization",t),o=e[0],f[0]=o?o._meta&&o===f[f.length-o._meta.bases.length]?o._meta.bases.length:1:0,f}(r,e),N=S[0],r=S[I=S.length-N]):(S=[0],r?"[object Function]"==s.call(r)?(N=r._meta,S=S.concat(N?N.bases:r)):d("base class is not a callable constructor.",e):null!==r&&d("unknown base class. Did you use dojo.require to pull it in?",e)),r)for(j=I-1;x=y(r),j;--j)((N=S[j])._meta?p:o)(x,N.prototype),(C=t("csp-restrictions")?function(){}:new Function).superclass=r,C.prototype=x,r=x.constructor=C;else x={};for(b.safeMixin(x,w),(N=w.constructor)!==i.constructor&&(N.nom=l,x.constructor=N),j=I-1;j;--j)(N=S[j]._meta)&&N.chains&&(A=o(A||{},N.chains));if(x["-chains-"]&&(A=o(A||{},x["-chains-"])),r&&r.prototype&&r.prototype["-chains-"]&&(A=o(A||{},r.prototype["-chains-"])),N=!A||!A.hasOwnProperty(l),S[0]=C=A&&"manual"===A.constructor?function(e){return function(){var t,n,r=arguments,o=0;if(!(this instanceof r.callee))return _(r);for(;t=e[o];++o)if(t=(n=t._meta)?n.ctor:t){t.apply(this,r);break}(t=this.postscript)&&t.apply(this,r)}}(S):1==S.length?function(e,t){return function(){var n,r=arguments,o=r,i=r[0];if(!(this instanceof r.callee))return _(r);t&&(i&&(n=i.preamble)&&(o=n.apply(this,o)||o),(n=this.preamble)&&n.apply(this,o)),e&&e.apply(this,r),(n=this.postscript)&&n.apply(this,r)}}(w.constructor,N):function(e,t){return function(){var n,r,o,i,s=arguments,a=s,l=s[0],d=e.length;if(!(this instanceof s.callee))return _(s);if(t&&(l&&l.preamble||this.preamble))for((i=new Array(e.length))[0]=s,r=0;(l=s[0])&&(n=l.preamble)&&(s=n.apply(this,s)||s),(n=(n=e[r].prototype).hasOwnProperty("preamble")&&n.preamble)&&(s=n.apply(this,s)||s),++r!=d;)i[r]=s;for(r=d-1;r>=0;--r)(n=(o=(n=e[r])._meta)?o.ctor:n)&&n.apply(this,i?i[r]:s);(n=this.postscript)&&n.apply(this,a)}}(S,N),C._meta={bases:S,hidden:w,chains:A,parents:E,ctor:w.constructor},C.superclass=r&&r.prototype,C.extend=g,C.createSubclass=v,C.prototype=x,x.constructor=C,x.getInherited=u,x.isInstanceOf=f,x.inherited=h,x.__inherited=c,e&&(x.declaredClass=e,n.setObject(e,C)),A)for(T in A)x[T]&&"string"==typeof A[T]&&T!=l&&((N=x[T]=m(T,S,"after"===A[T])).nom=T);return C}return e.safeMixin=b.safeMixin=function(e,t){var n,r;for(n in t)(r=t[n])===i[n]&&n in i||n==l||("[object Function]"==s.call(r)&&(r.nom=n),e[n]=r);return e},e.declare=b,b}.apply(null,r),void 0===o||(e.exports=o)},7687:
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
\***********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ../global */8135),n(/*! ../has */9206),n(/*! ./config */7320),n.dj.c(e),n.dj.m(e)],o=function(e,t,n,r,o){var i,s,a,l={},d={},c={config:n,global:e,dijit:l,dojox:d},u={dojo:["dojo",c],dijit:["dijit",l],dojox:["dojox",d]},h=r.map&&r.map[o.id.match(/[^\/]+/)[0]];for(s in h)u[s]?u[s][0]=h[s]:u[s]=[h[s],{}];for(s in u)(a=u[s])[1]._scopeName=a[0],n.noGlobals||(e[a[0]]=a[1]);c.scopeMap=u,c.baseUrl=c.config.baseUrl=r.baseUrl,c.isAsync=!0,c.locale=n.locale;var f="$Rev:$".match(/[0-9a-f]{7,}/);if(c.version={major:1,minor:17,patch:3,flag:"",revision:f?f[0]:NaN,toString:function(){var e=c.version;return e.major+"."+e.minor+"."+e.patch+e.flag+" ("+e.revision+")"}},t.add("extend-dojo",1),t("csp-restrictions")||Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(c),t("host-rhino")?c.exit=function(e){quit(e)}:c.exit=function(){},t("host-webworker")||t.add("dojo-guarantee-console",1),t("dojo-guarantee-console")){t.add("console-as-object",(function(){return Function.prototype.bind&&console&&"object"==typeof console.log})),"undefined"!=typeof console||(console={});var p,g=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(i=0;p=g[i++];)console[p]?t("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var e=p+"";console[e]="log"in console?function(){var t=Array.prototype.slice.call(arguments);t.unshift(e+":"),console.log(t.join(" "))}:function(){},console[e]._fake=!0}()}if(t.add("dojo-debug-messages",!!n.isDebug),c.deprecated=c.experimental=function(){},t.add("dojo-modulePaths",1),t("dojo-modulePaths")&&n.modulePaths){c.deprecated("dojo.modulePaths","use paths configuration");var v={};for(s in n.modulePaths)v[s.replace(/\./g,"/")]=n.modulePaths[s];r({paths:v})}return t.add("dojo-moduleUrl",1),t("dojo-moduleUrl")&&(c.moduleUrl=function(e,t){c.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return e&&(n=r.toUrl(e.replace(/\./g,"/")+(t?"/"+t:"")+"/*.*").replace(/\/\*\.\*/,"")+(t?"":"/")),n}),c._hasResource={},c}.apply(null,r),void 0===o||(e.exports=o)},9768:
|
|
179
179
|
/*!*********************************************!*\
|
|
180
180
|
!*** ../../node_modules/dojo/_base/lang.js ***!
|
|
181
|
-
\*********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ../has */9206),n(/*! ../sniff */5301)],o=function(e,t){t.add("bug-for-in-skips-shadowed",(function(){for(var e in{toString:1})return 0;return 1}));var n=[],r=function(t,n,r){r||(r=t[0]&&e.scopeMap[t[0]]?e.scopeMap[t.shift()][1]:e.global);try{for(var o=0;o<t.length;o++){var i=t[o];if("__proto__"===i||"constructor"===i)return;if(!(i in r)){if(!n)return;r[i]={}}r=r[i]}return r}catch(e){}},o=Object.prototype.toString,i=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},s=/\{([^\}]+)\}/g,a={_extraNames:n,_mixin:function(e,t,n){var r,o,i={};for(r in t)o=t[r],r in e&&(e[r]===o||r in i&&i[r]===o)||(e[r]=n?n(o):o);return e},mixin:function(e,t){e||(e={});for(var n=1,r=arguments.length;n<r;n++)a._mixin(e,arguments[n]);return e},setObject:function(e,t,n){var o=e.split("."),i=o.pop(),s=r(o,!0,n);return s&&i?s[i]=t:void 0},getObject:function(e,t,n){return e?r(e.split("."),t,n):n},exists:function(e,t){return void 0!==a.getObject(e,!1,t)},isString:function(e){return"string"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return"[object Array]"==o.call(e)},isFunction:function(e){return"[object Function]"===o.call(e)},isObject:function(e){return void 0!==e&&(null===e||"object"==typeof e||a.isArray(e)||a.isFunction(e))},isArrayLike:function(e){return!!e&&!a.isString(e)&&!a.isFunction(e)&&!(e.tagName&&"form"==e.tagName.toLowerCase())&&(a.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!a.isFunction(e)&&/\{\s*\[native code\]\s*\}/.test(String(e))},extend:function(e,t){for(var n=1,r=arguments.length;n<r;n++)a._mixin(e.prototype,arguments[n]);return e},_hitchArgs:function(t,n){var r=a._toArray(arguments,2),o=a.isString(n);return function(){var i=a._toArray(arguments),s=o?(t||e.global)[n]:n;return s&&s.apply(t||this,r.concat(i))}},hitch:function(t,n){if(arguments.length>2)return a._hitchArgs.apply(e,arguments);if(n||(n=t,t=null),a.isString(n)){if(!(t=t||e.global)[n])throw['lang.hitch: scope["',n,'"] is null (scope="',t,'")'].join("");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t("ie")?function(){function e(e,t,n){for(var r=n||[],o=t||0;o<e.length;o++)r.push(e[o]);return r}return function(t){return(t.item?e:i).apply(this,arguments)}}():i,partial:function(t){
|
|
181
|
+
\*********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ../has */9206),n(/*! ../sniff */5301)],o=function(e,t){t.add("bug-for-in-skips-shadowed",(function(){for(var e in{toString:1})return 0;return 1}));var n=[],r=function(t,n,r){r||(r=t[0]&&e.scopeMap[t[0]]?e.scopeMap[t.shift()][1]:e.global);try{for(var o=0;o<t.length;o++){var i=t[o];if("__proto__"===i||"constructor"===i)return;if(!(i in r)){if(!n)return;r[i]={}}r=r[i]}return r}catch(e){}},o=Object.prototype.toString,i=function(e,t,n){return(n||[]).concat(Array.prototype.slice.call(e,t||0))},s=/\{([^\}]+)\}/g,a={_extraNames:n,_mixin:function(e,t,n){var r,o,i={};for(r in t)o=t[r],r in e&&(e[r]===o||r in i&&i[r]===o)||(e[r]=n?n(o):o);return e},mixin:function(e,t){e||(e={});for(var n=1,r=arguments.length;n<r;n++)a._mixin(e,arguments[n]);return e},setObject:function(e,t,n){var o=e.split("."),i=o.pop(),s=r(o,!0,n);return s&&i?s[i]=t:void 0},getObject:function(e,t,n){return e?r(e.split("."),t,n):n},exists:function(e,t){return void 0!==a.getObject(e,!1,t)},isString:function(e){return"string"==typeof e||e instanceof String},isArray:Array.isArray||function(e){return"[object Array]"==o.call(e)},isFunction:function(e){return"[object Function]"===o.call(e)},isObject:function(e){return void 0!==e&&(null===e||"object"==typeof e||a.isArray(e)||a.isFunction(e))},isArrayLike:function(e){return!!e&&!a.isString(e)&&!a.isFunction(e)&&!(e.tagName&&"form"==e.tagName.toLowerCase())&&(a.isArray(e)||isFinite(e.length))},isAlien:function(e){return e&&!a.isFunction(e)&&/\{\s*\[native code\]\s*\}/.test(String(e))},extend:function(e,t){for(var n=1,r=arguments.length;n<r;n++)a._mixin(e.prototype,arguments[n]);return e},_hitchArgs:function(t,n){var r=a._toArray(arguments,2),o=a.isString(n);return function(){var i=a._toArray(arguments),s=o?(t||e.global)[n]:n;return s&&s.apply(t||this,r.concat(i))}},hitch:function(t,n){if(arguments.length>2)return a._hitchArgs.apply(e,arguments);if(n||(n=t,t=null),a.isString(n)){if(!(t=t||e.global)[n])throw['lang.hitch: scope["',n,'"] is null (scope="',t,'")'].join("");return function(){return t[n].apply(t,arguments||[])}}return t?function(){return n.apply(t,arguments||[])}:n},delegate:function(){function e(){}return function(t,n){e.prototype=t;var r=new e;return e.prototype=null,n&&a._mixin(r,n),r}}(),_toArray:t("ie")?function(){function e(e,t,n){for(var r=n||[],o=t||0;o<e.length;o++)r.push(e[o]);return r}return function(t){return(t.item?e:i).apply(this,arguments)}}():i,partial:function(t){return a.hitch.apply(e,[null].concat(a._toArray(arguments)))},clone:function(e){if(!e||"object"!=typeof e||a.isFunction(e))return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);var t,n,r;if(a.isArray(e))for(t=[],n=0,r=e.length;n<r;++n)n in e&&(t[n]=a.clone(e[n]));else t=e.constructor?new e.constructor:{};return a._mixin(t,e,a.clone)},trim:String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(e,t,n){return e.replace(n||s,a.isFunction(t)?t:function(e,n){return a.getObject(n,!1,t)})}};return t("extend-dojo")&&a.mixin(e,a),a}.apply(null,r),void 0===o||(e.exports=o)},6118:
|
|
182
182
|
/*!**********************************************!*\
|
|
183
183
|
!*** ../../node_modules/dojo/_base/query.js ***!
|
|
184
184
|
\**********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ../query */9460),n(/*! ./NodeList */1812)],void 0===(o=function(e){return e}.apply(null,r))||(e.exports=o)},8277:
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
\********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./kernel */367),n(/*! ./sniff */8277),n.dj.c(e),n(/*! ../io-query */1950),n(/*! ../dom */8688),n(/*! ../dom-form */2915),n(/*! ./Deferred */7651),n(/*! ./config */7320),n(/*! ./json */160),n(/*! ./lang */9768),n(/*! ./array */6870),n(/*! ../on */9994),n(/*! ../aspect */4469),n(/*! ../request/watch */4424),n(/*! ../request/xhr */3637),n(/*! ../request/util */3559)],o=function(e,t,n,r,o,i,s,a,l,d,c,u,h,f,p,g){e._xhrObj=p._create;var v=e.config;e.objectToQuery=r.objectToQuery,e.queryToObject=r.queryToObject,e.fieldToObject=i.fieldToObject,e.formToObject=i.toObject,e.formToQuery=i.toQuery,e.formToJson=i.toJson,e._blockAsync=!1;var m=e._contentHandlers=e.contentHandlers={text:function(e){return e.responseText},json:function(e){return l.fromJson(e.responseText||null)},"json-comment-filtered":function(e){a.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var t=e.responseText,n=t.indexOf("/*"),r=t.lastIndexOf("*/");if(-1==n||-1==r)throw new Error("JSON was not comment filtered");return l.fromJson(t.substring(n+2,r))},javascript:function(t){return e.eval(t.responseText)},xml:function(e){var n=e.responseXML;if(n&&t("dom-qsa2.1")&&!n.querySelectorAll&&t("dom-parser")&&(n=(new DOMParser).parseFromString(e.responseText,"application/xml")),t("ie")&&(!n||!n.documentElement)){var r=function(e){return"MSXML"+e+".DOMDocument"},o=["Microsoft.XMLDOM",r(6),r(4),r(3),r(2)];c.some(o,(function(t){try{var r=new ActiveXObject(t);r.async=!1,r.loadXML(e.responseText),n=r}catch(e){return!1}return!0}))}return n},"json-comment-optional":function(e){return e.responseText&&/^[^{\[]*\/\*/.test(e.responseText)?m["json-comment-filtered"](e):m.json(e)}};e._ioSetArgs=function(t,n,a,l){var c={args:t,url:t.url},u=null;if(t.form){var h=o.byId(t.form),f=h.getAttributeNode("action");c.url=c.url||(f?f.value:e.doc?e.doc.URL:null),u=i.toObject(h)}var p={};u&&d.mixin(p,u),t.content&&d.mixin(p,t.content),t.preventCache&&(p["dojo.preventCache"]=(new Date).valueOf()),c.query=r.objectToQuery(p),c.handleAs=t.handleAs||"text";var g=new s((function(e){e.canceled=!0,n&&n(e);var t=e.ioArgs.error;return t||((t=new Error("request cancelled")).dojoType="cancel",e.ioArgs.error=t),t}));g.addCallback(a);var m=t.load;m&&d.isFunction(m)&&g.addCallback((function(e){return m.call(t,e,c)}));var y=t.error;y&&d.isFunction(y)&&g.addErrback((function(e){return y.call(t,e,c)}));var _=t.handle;return _&&d.isFunction(_)&&g.addBoth((function(e){return _.call(t,e,c)})),g.addErrback((function(e){return l(e,g)})),v.ioPublish&&e.publish&&!1!==c.args.ioPublish&&(g.addCallbacks((function(t){return e.publish("/dojo/io/load",[g,t]),t}),(function(t){return e.publish("/dojo/io/error",[g,t]),t})),g.addBoth((function(t){return e.publish("/dojo/io/done",[g,t]),t}))),g.ioArgs=c,g};var y=function(e){var t=m[e.ioArgs.handleAs](e.ioArgs.xhr);return void 0===t?null:t},_=function(e,t){return t.ioArgs.args.failOk||console.error(e),e},b=function(t){w<=0&&(w=0,v.ioPublish&&e.publish&&(!t||t&&!1!==t.ioArgs.args.ioPublish)&&e.publish("/dojo/io/stop"))},w=0;return h.after(f,"_onAction",(function(){w-=1})),h.after(f,"_onInFlight",b),e._ioCancelAll=f.cancelAll,e._ioNotifyStart=function(t){v.ioPublish&&e.publish&&!1!==t.ioArgs.args.ioPublish&&(w||e.publish("/dojo/io/start"),w+=1,e.publish("/dojo/io/send",[t]))},e._ioWatch=function(e,t,n,r){e.ioArgs.options=e.ioArgs.args,d.mixin(e,{response:e.ioArgs,isValid:function(n){return t(e)},isReady:function(t){return n(e)},handleResponse:function(t){return r(e)}}),f(e),b(e)},e._ioAddQueryToUrl=function(e){e.query.length&&(e.url+=(-1==e.url.indexOf("?")?"?":"&")+e.query,e.query=null)},e.xhr=function(t,n,r){var o,i=e._ioSetArgs(n,(function(e){o&&o.cancel()}),y,_),s=i.ioArgs;"postData"in n?s.query=n.postData:"putData"in n?s.query=n.putData:"rawBody"in n?s.query=n.rawBody:(arguments.length>2&&!r||-1==="POST|PUT".indexOf(t.toUpperCase()))&&e._ioAddQueryToUrl(s);var a={method:t,handleAs:"text",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:s};void 0!==n.headers&&(a.headers=n.headers),void 0!==n.contentType&&(a.headers||(a.headers={}),a.headers["Content-Type"]=n.contentType),void 0!==s.query&&(a.data=s.query),void 0!==n.sync&&(a.sync=n.sync),e._ioNotifyStart(i);try{o=p(s.url,a,!0)}catch(e){return i.cancel(),i}return i.ioArgs.xhr=o.response.xhr,o.then((function(){i.resolve(i)})).otherwise((function(e){s.error=e,e.response&&(e.status=e.response.status,e.responseText=e.response.text,e.xhr=e.response.xhr),i.reject(e)})),i},e.xhrGet=function(t){return e.xhr("GET",t)},e.rawXhrPost=e.xhrPost=function(t){return e.xhr("POST",t,!0)},e.rawXhrPut=e.xhrPut=function(t){return e.xhr("PUT",t,!0)},e.xhrDelete=function(t){return e.xhr("DELETE",t)},e._isDocumentOk=function(e){return g.checkStatus(e.status)},e._getText=function(t){var n;return e.xhrGet({url:t,sync:!0,load:function(e){n=e}}),n},d.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:i.fieldToObject,formToObject:i.toObject,objectToQuery:r.objectToQuery,formToQuery:i.toQuery,formToJson:i.toJson,queryToObject:r.queryToObject,contentHandlers:m,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete}),e.xhr}.apply(null,r),void 0===o||(e.exports=o)},4469:
|
|
194
194
|
/*!*****************************************!*\
|
|
195
195
|
!*** ../../node_modules/dojo/aspect.js ***!
|
|
196
|
-
\*****************************************/(e,t,n)=>{var r;n.dj.r,r=function(){
|
|
196
|
+
\*****************************************/(e,t,n)=>{var r;n.dj.r,r=function(){function e(e){return function(t,n,r,o){var i,s=t[n];s&&s.target==t||(t[n]=i=function(){for(var e=i.nextId,t=arguments,n=i.before;n;)n.advice&&(t=n.advice.apply(this,t)||t),n=n.next;if(i.around)var r=i.around.advice(this,t);for(var o=i.after;o&&o.id<e;){if(o.advice)if(o.receiveArguments){var s=o.advice.apply(this,t);r=void 0===s?r:s}else r=o.advice.call(this,r,t);o=o.next}return r},s&&(i.around={advice:function(e,t){return s.apply(e,t)}}),i.target=t,i.nextId=i.nextId||0);var a=function(e,t,n,r){var o,i=e[t],s="around"==t;if(s){var a=n((function(){return i.advice(this,arguments)}));o={remove:function(){a&&(a=e=n=null)},advice:function(e,t){return a?a.apply(e,t):i.advice(e,t)}}}else o={remove:function(){if(o.advice){var r=o.previous,i=o.next;i||r?(r?r.next=i:e[t]=i,i&&(i.previous=r)):delete e[t],e=n=o.advice=null}},id:e.nextId++,advice:n,receiveArguments:r};if(i&&!s)if("after"==t){for(;i.next&&(i=i.next););i.next=o,o.previous=i}else"before"==t&&(e[t]=o,o.next=i,i.previous=o);else e[t]=o;return o}(i||s,e,r,o);return r=null,a}}var t=e("after");return{before:e("before"),around:e("around"),after:t}}.apply(null,[]),void 0===r||(e.exports=r)},451:
|
|
197
197
|
/*!****************************************!*\
|
|
198
198
|
!*** ../../node_modules/dojo/cache.js ***!
|
|
199
199
|
\****************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./_base/kernel */367),n(/*! ./text */9447)],void 0===(o=function(e){return e.cache}.apply(null,r))||(e.exports=o)},623:
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
\*******************************************/(e,t,n)=>{var r,o;n.dj.r,r=[t,n(/*! ./sniff */5301),n(/*! ./_base/lang */9768),n(/*! ./dom */8688),n(/*! ./dom-style */4539),n(/*! ./dom-prop */7373)],o=function(e,t,n,r,o,i){var s={innerHTML:1,textContent:1,className:1,htmlFor:t("ie")?1:0,value:1},a={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function l(e,t){var n=e.getAttributeNode&&e.getAttributeNode(t);return!!n&&n.specified}e.has=function(e,t){var n=t.toLowerCase();return!!s[i.names[n]||t]||l(r.byId(e),a[n]||t)},e.get=function(e,t){e=r.byId(e);var o=t.toLowerCase(),d=i.names[o]||t,c=s[d],u=e[d];if(c&&void 0!==u)return u;if("textContent"==d)return i.get(e,d);if("href"!=d&&("boolean"==typeof u||n.isFunction(u)))return u;var h=a[o]||t;return l(e,h)?e.getAttribute(h):null},e.set=function(t,l,d){if(t=r.byId(t),2==arguments.length){for(var c in l)e.set(t,c,l[c]);return t}var u=l.toLowerCase(),h=i.names[u]||l,f=s[h];return"style"==h&&"string"!=typeof d?(o.set(t,d),t):f||"boolean"==typeof d||n.isFunction(d)?i.set(t,l,d):(t.setAttribute(a[u]||l,d),t)},e.remove=function(e,t){r.byId(e).removeAttribute(a[t.toLowerCase()]||t)},e.getNodeProp=function(e,t){e=r.byId(e);var n=t.toLowerCase(),o=i.names[n]||t;if(o in e&&"href"!=o)return e[o];var s=a[n]||t;return l(e,s)?e.getAttribute(s):null}}.apply(null,r),void 0===o||(e.exports=o)},6980:
|
|
203
203
|
/*!********************************************!*\
|
|
204
204
|
!*** ../../node_modules/dojo/dom-class.js ***!
|
|
205
|
-
\********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./_base/lang */9768),n(/*! ./_base/array */6870),n(/*! ./dom */8688)],void 0===(o=function(e,t,n){var r,o=/\s+/,
|
|
205
|
+
\********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./_base/lang */9768),n(/*! ./_base/array */6870),n(/*! ./dom */8688)],void 0===(o=function(e,t,n){var r,o="className",i=/\s+/,s=[""];function a(e){if("string"==typeof e||e instanceof String){if(e&&!i.test(e))return s[0]=e,s;var n=e.split(i);return n.length&&!n[0]&&n.shift(),n.length&&!n[n.length-1]&&n.pop(),n}return e?t.filter(e,(function(e){return e})):[]}var l={};return r={contains:function(e,t){return(" "+n.byId(e)[o]+" ").indexOf(" "+t+" ")>=0},add:function(e,t){e=n.byId(e),t=a(t);var r,i=e[o];r=(i=i?" "+i+" ":" ").length;for(var s,l=0,d=t.length;l<d;++l)(s=t[l])&&i.indexOf(" "+s+" ")<0&&(i+=s+" ");r<i.length&&(e[o]=i.substr(1,i.length-2))},remove:function(t,r){var i;if(t=n.byId(t),void 0!==r){r=a(r),i=" "+t[o]+" ";for(var s=0,l=r.length;s<l;++s)i=i.replace(" "+r[s]+" "," ");i=e.trim(i)}else i="";t[o]!=i&&(t[o]=i)},replace:function(e,t,i){e=n.byId(e),l[o]=e[o],r.remove(l,i),r.add(l,t),e[o]!==l[o]&&(e[o]=l[o])},toggle:function(e,t,o){if(e=n.byId(e),void 0===o)for(var i,s=0,l=(t=a(t)).length;s<l;++s)i=t[s],r[r.contains(e,i)?"remove":"add"](e,i);else r[o?"add":"remove"](e,t);return o}}}.apply(null,r))||(e.exports=o)},912:
|
|
206
206
|
/*!************************************************!*\
|
|
207
207
|
!*** ../../node_modules/dojo/dom-construct.js ***!
|
|
208
208
|
\************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[t,n(/*! ./_base/kernel */367),n(/*! ./sniff */5301),n(/*! ./_base/window */4173),n(/*! ./dom */8688),n(/*! ./dom-attr */623)],o=function(e,t,n,r,o,i){var s,a={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},l=/<\s*([\w\:]+)/,d={},c=0,u="__"+t._scopeName+"ToDomId";for(var h in a)if(a.hasOwnProperty(h)){var f=a[h];f.pre="option"==h?'<select multiple="multiple">':"<"+f.join("><")+">",f.post="</"+f.reverse().join("></")+">"}function p(e,t){var n=t.parentNode;n&&n.insertBefore(e,t)}n("ie")<=8&&(s=function(e){e.__dojo_html5_tested="yes";var t=g("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},e.body);1!==t.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,(function(t){e.createElement(t)})),m(t)}),e.toDom=function(e,t){var o=(t=t||r.doc)[u];o||(t[u]=o=++c+"",d[o]=t.createElement("div")),n("ie")<=8&&!t.__dojo_html5_tested&&t.body&&s(t);var i,h,f,p,g=(e+="").match(l),v=g?g[1].toLowerCase():"",m=d[o];if(g&&a[v])for(i=a[v],m.innerHTML=i.pre+e+i.post,h=i.length;h;--h)m=m.firstChild;else m.innerHTML=e;if(1==m.childNodes.length)return m.removeChild(m.firstChild);for(p=t.createDocumentFragment();f=m.firstChild;)p.appendChild(f);return p},e.place=function(t,n,r){if(n=o.byId(n),"string"==typeof t&&(t=/^\s*</.test(t)?e.toDom(t,n.ownerDocument):o.byId(t)),"number"==typeof r){var i=n.childNodes;!i.length||i.length<=r?n.appendChild(t):p(t,i[r<0?0:r])}else switch(r){case"before":p(t,n);break;case"after":!function(e,t){var n=t.parentNode;n&&(n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling))}(t,n);break;case"replace":n.parentNode.replaceChild(t,n);break;case"only":e.empty(n),n.appendChild(t);break;case"first":if(n.firstChild){p(t,n.firstChild);break}default:n.appendChild(t)}return t};var g=e.create=function(t,n,s,a){var l=r.doc;return s&&(l=(s=o.byId(s)).ownerDocument),"string"==typeof t&&(t=l.createElement(t)),n&&i.set(t,n),s&&e.place(t,s,a),t};function v(e){if("innerHTML"in e)try{return void(e.innerHTML="")}catch(e){}for(var t;t=e.lastChild;)e.removeChild(t)}e.empty=function(e){v(o.byId(e))};var m=e.destroy=function(e){(e=o.byId(e))&&function(e,t){e.firstChild&&v(e),t&&(n("ie")&&t.canHaveChildren&&"removeNode"in e?e.removeNode(!1):t.removeChild(e))}(e,e.parentNode)}}.apply(null,r),void 0===o||(e.exports=o)},2915:
|
|
@@ -214,10 +214,10 @@
|
|
|
214
214
|
\***********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./sniff */5301),n(/*! ./_base/window */4173),n(/*! ./dom */8688),n(/*! ./dom-style */4539)],void 0===(o=function(e,t,n,r){var o={boxModel:"content-box"};e("ie")&&(o.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),o.getPadExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.paddingLeft),a=i(e,o.paddingTop),l=i(e,o.paddingRight),d=i(e,o.paddingBottom);return{l:s,t:a,r:l,b:d,w:s+l,h:a+d}};var i="none";function s(e,t,n,r,o,i){i=i||"px";var s=e.style;isNaN(t)||(s.left=t+i),isNaN(n)||(s.top=n+i),r>=0&&(s.width=r+i),o>=0&&(s.height=o+i)}function a(e){return"button"==e.tagName.toLowerCase()||"input"==e.tagName.toLowerCase()&&"button"==(e.getAttribute("type")||"").toLowerCase()}function l(e){return"border-box"==o.boxModel||"table"==e.tagName.toLowerCase()||a(e)}function d(e){var t,n={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};try{t=e.getBoundingClientRect()}catch(e){return n}return void 0===t.left?n:t}o.getBorderExtents=function(e,t){e=n.byId(e);var o=r.toPixelValue,s=t||r.getComputedStyle(e),a=s.borderLeftStyle!=i?o(e,s.borderLeftWidth):0,l=s.borderTopStyle!=i?o(e,s.borderTopWidth):0,d=s.borderRightStyle!=i?o(e,s.borderRightWidth):0,c=s.borderBottomStyle!=i?o(e,s.borderBottomWidth):0;return{l:a,t:l,r:d,b:c,w:a+d,h:l+c}},o.getPadBorderExtents=function(e,t){e=n.byId(e);var i=t||r.getComputedStyle(e),s=o.getPadExtents(e,i),a=o.getBorderExtents(e,i);return{l:s.l+a.l,t:s.t+a.t,r:s.r+a.r,b:s.b+a.b,w:s.w+a.w,h:s.h+a.h}},o.getMarginExtents=function(e,t){e=n.byId(e);var o=t||r.getComputedStyle(e),i=r.toPixelValue,s=i(e,o.marginLeft),a=i(e,o.marginTop),l=i(e,o.marginRight),d=i(e,o.marginBottom);return{l:s,t:a,r:l,b:d,w:s+l,h:a+d}},o.getMarginBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),d=o.getMarginExtents(t,l),c=t.offsetLeft-d.l,u=t.offsetTop-d.t,h=t.parentNode,f=r.toPixelValue;return 8!=e("ie")||e("quirks")||h&&(c-=(a=r.getComputedStyle(h)).borderLeftStyle!=i?f(t,a.borderLeftWidth):0,u-=a.borderTopStyle!=i?f(t,a.borderTopWidth):0),{l:c,t:u,w:t.offsetWidth+d.w,h:t.offsetHeight+d.h}},o.getContentBox=function(t,s){t=n.byId(t);var a,l=s||r.getComputedStyle(t),d=t.clientWidth,c=o.getPadExtents(t,l),u=o.getBorderExtents(t,l),h=t.offsetLeft+c.l+u.l,f=t.offsetTop+c.t+u.t;if(d?a=t.clientHeight:(d=t.offsetWidth-u.w,a=t.offsetHeight-u.h),8==e("ie")&&!e("quirks")){var p,g=t.parentNode,v=r.toPixelValue;g&&(h-=(p=r.getComputedStyle(g)).borderLeftStyle!=i?v(t,p.borderLeftWidth):0,f-=p.borderTopStyle!=i?v(t,p.borderTopWidth):0)}return{l:h,t:f,w:d-c.w,h:a-c.h}},o.setContentSize=function(e,t,r){e=n.byId(e);var i=t.w,a=t.h;if(l(e)){var d=o.getPadBorderExtents(e,r);i>=0&&(i+=d.w),a>=0&&(a+=d.h)}s(e,NaN,NaN,i,a)};var c={l:0,t:0,w:0,h:0};return o.setMarginBox=function(t,i,d){t=n.byId(t);var u=d||r.getComputedStyle(t),h=i.w,f=i.h,p=l(t)?c:o.getPadBorderExtents(t,u),g=o.getMarginExtents(t,u);if(e("webkit")&&a(t)){var v=t.style;h>=0&&!v.width&&(v.width="4px"),f>=0&&!v.height&&(v.height="4px")}h>=0&&(h=Math.max(h-p.w-g.w,0)),f>=0&&(f=Math.max(f-p.h-g.h,0)),s(t,i.l,i.t,h,f)},o.isBodyLtr=function(e){return e=e||t.doc,"ltr"==(t.body(e).dir||e.documentElement.dir||"ltr").toLowerCase()},o.docScroll=function(n){var r=(n=n||t.doc).parentWindow||n.defaultView;return"pageXOffset"in r?{x:r.pageXOffset,y:r.pageYOffset}:(r=e("quirks")?t.body(n):n.documentElement)&&{x:o.fixIeBiDiScrollLeft(r.scrollLeft||0,n),y:r.scrollTop||0}},o.getIeDocumentElementOffset=function(e){return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(n,r){r=r||t.doc;var i=e("ie");if(i&&!o.isBodyLtr(r)){var s=e("quirks"),a=s?t.body(r):r.documentElement,l=t.global;return 6==i&&!s&&l.frameElement&&a.scrollHeight>a.clientHeight&&(n+=a.clientLeft),i<8||s?n+a.clientWidth-a.scrollWidth:-n}return n},o.position=function(r,i){r=n.byId(r);var s=t.body(r.ownerDocument),a=d(r);if(a={x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top},e("ie")<9&&(a.x-=e("quirks")?s.clientLeft+s.offsetLeft:0,a.y-=e("quirks")?s.clientTop+s.offsetTop:0),i){var l=o.docScroll(r.ownerDocument);a.x+=l.x,a.y+=l.y}return a},o.getMarginSize=function(e,t){e=n.byId(e);var i=o.getMarginExtents(e,t||r.getComputedStyle(e)),s=d(e);return{w:s.right-s.left+i.w,h:s.bottom-s.top+i.h}},o.normalizeEvent=function(t){if("layerX"in t||(t.layerX=t.offsetX,t.layerY=t.offsetY),!("pageX"in t)){var n=t.target,r=n&&n.ownerDocument||document,i=e("quirks")?r.body:r.documentElement;t.pageX=t.clientX+o.fixIeBiDiScrollLeft(i.scrollLeft||0,r),t.pageY=t.clientY+(i.scrollTop||0)}},o}.apply(null,r))||(e.exports=o)},7373:
|
|
215
215
|
/*!*******************************************!*\
|
|
216
216
|
!*** ../../node_modules/dojo/dom-prop.js ***!
|
|
217
|
-
\*******************************************/(e,t,n)=>{var r,o;n.dj.r,r=[t,n(/*! ./_base/kernel */367),n(/*! ./sniff */5301),n(/*! ./_base/lang */9768),n(/*! ./dom */8688),n(/*! ./dom-style */4539),n(/*! ./dom-construct */912),n(/*! ./_base/connect */8774)],o=function(e,t,n,r,o,i,s,a){var l={},d=1,c=t._scopeName+"attrid";function u(e){for(var t,n="",r=e.childNodes,o=0;t=r[o];o++)8!=t.nodeType&&(1==t.nodeType?n+=u(t):n+=t.nodeValue);return n}n.add("dom-textContent",(function(e,t,n){return"textContent"in n})),e.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},e.get=function(t,r){t=o.byId(t);var i=r.toLowerCase(),s=e.names[i]||r;return"textContent"!=s||n("dom-textContent")?t[s]:u(t)},e.set=function(t,u,h){t=o.byId(t)
|
|
217
|
+
\*******************************************/(e,t,n)=>{var r,o;n.dj.r,r=[t,n(/*! ./_base/kernel */367),n(/*! ./sniff */5301),n(/*! ./_base/lang */9768),n(/*! ./dom */8688),n(/*! ./dom-style */4539),n(/*! ./dom-construct */912),n(/*! ./_base/connect */8774)],o=function(e,t,n,r,o,i,s,a){var l={},d=1,c=t._scopeName+"attrid";function u(e){for(var t,n="",r=e.childNodes,o=0;t=r[o];o++)8!=t.nodeType&&(1==t.nodeType?n+=u(t):n+=t.nodeValue);return n}n.add("dom-textContent",(function(e,t,n){return"textContent"in n})),e.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},e.get=function(t,r){t=o.byId(t);var i=r.toLowerCase(),s=e.names[i]||r;return"textContent"!=s||n("dom-textContent")?t[s]:u(t)},e.set=function(t,u,h){if(t=o.byId(t),2==arguments.length&&"string"!=typeof u){for(var f in u)e.set(t,f,u[f]);return t}var p=u.toLowerCase(),g=e.names[p]||u;if("style"==g&&"string"!=typeof h)return i.set(t,h),t;if("innerHTML"==g)return n("ie")&&t.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(s.empty(t),t.appendChild(s.toDom(h,t.ownerDocument))):t[g]=h,t;if("textContent"==g&&!n("dom-textContent"))return s.empty(t),t.appendChild(t.ownerDocument.createTextNode(h)),t;if(r.isFunction(h)){var v=t[c];v||(v=d++,t[c]=v),l[v]||(l[v]={});var m=l[v][g];if(m)a.disconnect(m);else try{delete t[g]}catch(e){}return h?l[v][g]=a.connect(t,g,h):t[g]=null,t}return t[g]=h,t}}.apply(null,r),void 0===o||(e.exports=o)},4539:
|
|
218
218
|
/*!********************************************!*\
|
|
219
219
|
!*** ../../node_modules/dojo/dom-style.js ***!
|
|
220
|
-
\********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./sniff */5301),n(/*! ./dom */8688),n(/*! ./_base/window */4173)],o=function(e,t,n){var r,o,i={};r=e("webkit")?function(e){var t;if(1==e.nodeType){var n=e.ownerDocument.defaultView;!(t=n.getComputedStyle(e,null))&&e.style&&(e.style.display="",t=n.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)}return{}},i.getComputedStyle=r,o=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);var n=e.style,r=e.runtimeStyle,o=e.currentStyle,i=n.left,s=r.left;r.left=o.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,r.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s="DXImageTransform.Microsoft.Alpha",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},l=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return r(e).opacity},d=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){""===t&&(t=1);var n=100*t;if(1===t?(e.style.zoom="",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\s*progid:"+s+"\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,a(e)?a(e,1).Opacity=n:e.style.filter+=" progid:"+s+"(Opacity="+n+")",a(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(var r=e.firstChild;r;r=r.nextSibling)"td"==r.tagName.toLowerCase()&&d(r,t);return t}:function(e,t){return e.style.opacity=t},c={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset
|
|
220
|
+
\********************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./sniff */5301),n(/*! ./dom */8688),n(/*! ./_base/window */4173)],o=function(e,t,n){var r,o,i={};r=e("webkit")?function(e){var t;if(1==e.nodeType){var n=e.ownerDocument.defaultView;!(t=n.getComputedStyle(e,null))&&e.style&&(e.style.display="",t=n.getComputedStyle(e,null))}return t||{}}:e("ie")&&(e("ie")<9||e("quirks"))?function(e){return 1==e.nodeType&&e.currentStyle?e.currentStyle:{}}:function(e){if(1===e.nodeType){var t=e.ownerDocument.defaultView;return(t.opener?t:n.global.window).getComputedStyle(e,null)}return{}},i.getComputedStyle=r,o=e("ie")?function(e,t){if(!t)return 0;if("medium"==t)return 4;if(t.slice&&"px"==t.slice(-2))return parseFloat(t);var n=e.style,r=e.runtimeStyle,o=e.currentStyle,i=n.left,s=r.left;r.left=o.left;try{n.left=t,t=n.pixelLeft}catch(e){t=0}return n.left=i,r.left=s,t}:function(e,t){return parseFloat(t)||0},i.toPixelValue=o;var s="DXImageTransform.Microsoft.Alpha",a=function(e,t){try{return e.filters.item(s)}catch(e){return t?{}:null}},l=e("ie")<9||e("ie")<10&&e("quirks")?function(e){try{return a(e).Opacity/100}catch(e){return 1}}:function(e){return r(e).opacity},d=e("ie")<9||e("ie")<10&&e("quirks")?function(e,t){""===t&&(t=1);var n=100*t;if(1===t?(e.style.zoom="",a(e)&&(e.style.filter=e.style.filter.replace(new RegExp("\\s*progid:"+s+"\\([^\\)]+?\\)","i"),""))):(e.style.zoom=1,a(e)?a(e,1).Opacity=n:e.style.filter+=" progid:"+s+"(Opacity="+n+")",a(e,1).Enabled=!0),"tr"==e.tagName.toLowerCase())for(var r=e.firstChild;r;r=r.nextSibling)"td"==r.tagName.toLowerCase()&&d(r,t);return t}:function(e,t){return e.style.opacity=t},c={left:!0,top:!0},u=/margin|padding|width|height|max|min|offset/,h={cssFloat:1,styleFloat:1,float:1};return i.get=function(e,n){var r=t.byId(e),s=arguments.length;if(2==s&&"opacity"==n)return l(r);n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n;var a=i.getComputedStyle(r);return 1==s?a:function(e,t,n){if(t=t.toLowerCase(),"auto"==n){if("height"==t)return e.offsetHeight;if("width"==t)return e.offsetWidth}return"fontweight"==t?700===n?"bold":"normal":(t in c||(c[t]=u.test(t)),c[t]?o(e,n):n)}(r,n,a[n]||r.style[n])},i.set=function(e,n,r){var o=t.byId(e),s=arguments.length,a="opacity"==n;if(n=h[n]?"cssFloat"in o.style?"cssFloat":"styleFloat":n,3==s)return a?d(o,r):o.style[n]=r;for(var l in n)i.set(e,l,n[l]);return i.getComputedStyle(o)},i}.apply(null,r),void 0===o||(e.exports=o)},8688:
|
|
221
221
|
/*!**************************************!*\
|
|
222
222
|
!*** ../../node_modules/dojo/dom.js ***!
|
|
223
223
|
\**************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./sniff */5301),n(/*! ./_base/window */4173),n(/*! ./_base/kernel */367)],void 0===(o=function(e,t,n){if(e("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}var r={};e("ie")?r.byId=function(e,n){if("string"!=typeof e)return e||null;var r=n||t.doc,o=e&&r.getElementById(e);if(o&&(o.attributes.id.value==e||o.id==e))return o;var i=r.all[e];i&&!i.nodeName||(i=[i]);for(var s=0;o=i[s++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==e||o.id==e)return o;return null}:r.byId=function(e,n){return("string"==typeof e?(n||t.doc).getElementById(e):e)||null};var o=n.global.document||null;e.add("dom-contains",!(!o||!o.contains)),r.isDescendant=e("dom-contains")?function(e,t){return!(!(t=r.byId(t))||!t.contains(r.byId(e)))}:function(e,t){try{for(e=r.byId(e),t=r.byId(t);e;){if(e==t)return!0;e=e.parentNode}}catch(e){}return!1},e.add("css-user-select",(function(e,t,n){if(!n)return!1;var r=n.style,o=["Khtml","O","Moz","Webkit"],i=o.length,s="userSelect";do{if(void 0!==r[s])return s}while(i--&&(s=o[i]+"UserSelect"));return!1}));var i=e("css-user-select");return r.setSelectable=i?function(e,t){r.byId(e).style[i]=t?"":"none"}:function(e,t){var n=(e=r.byId(e)).getElementsByTagName("*"),o=n.length;if(t)for(e.removeAttribute("unselectable");o--;)n[o].removeAttribute("unselectable");else for(e.setAttribute("unselectable","on");o--;)n[o].setAttribute("unselectable","on")},r}.apply(null,r))||(e.exports=o)},240:
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
\****************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ./_base/kernel */367),n(/*! ./on */9994),n(/*! ./has */9206),n(/*! ./dom */8688),n(/*! ./_base/window */4173)],void 0===(o=function(e,t,n,r,o){var i,s;function a(e,n){var o=function(o,i){return t(o,e,(function(e){return n?n(e,i):r.isDescendant(e.relatedTarget,o)?void 0:i.call(this,e)}))};return o.bubble=function(t){return a(e,(function(e,n){var r=t(e.target),o=e.relatedTarget;if(r&&r!=(o&&1==o.nodeType&&t(o)))return n.call(r,e)}))},o}return n.add("dom-quirks",o.doc&&"BackCompat"==o.doc.compatMode),n.add("events-mouseenter",o.doc&&"onmouseenter"in o.doc.createElement("div")),n.add("events-mousewheel",o.doc&&"onmousewheel"in o.doc),i=n("dom-quirks")&&n("ie")||!n("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,t){return e.button&t},isLeft:function(e){return 1&e.button},isMiddle:function(e){return 4&e.button},isRight:function(e){return 2&e.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,t){return e.button==t},isLeft:function(e){return 0==e.button},isMiddle:function(e){return 1==e.button},isRight:function(e){return 2==e.button}},e.mouseButtons=i,s=n("events-mousewheel")?"mousewheel":function(e,n){return t(e,"DOMMouseScroll",(function(e){e.wheelDelta=-e.detail,n.call(this,e)}))},{_eventHandler:a,enter:a("mouseover"),leave:a("mouseout"),wheel:s,isLeft:i.isLeft,isMiddle:i.isMiddle,isRight:i.isRight}}.apply(null,r))||(e.exports=o)},9994:
|
|
263
263
|
/*!*************************************!*\
|
|
264
264
|
!*** ../../node_modules/dojo/on.js ***!
|
|
265
|
-
\*************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n.dj.h(/*! ./has!dom-addeventlistener?:./aspect */"dom-addeventlistener?:4469"),n(/*! ./_base/kernel */367),n(/*! ./sniff */5301)],o=function(e,t,n){if(n("dom")){var r=window.ScriptEngineMajorVersion;n.add("jscript",r&&r()+ScriptEngineMinorVersion()/10),n.add("event-orientationchange",!1),n.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add("event-focusin",(function(e,t,n){return"onfocusin"in n}))}var o=function(e,t,n,r){return"function"!=typeof e.on||"function"==typeof t||e.nodeType?o.parse(e,t,n,i,r,this):e.on(t,n)};function i(e,t,n,r,i){var s=t.match(/(.*):(.*)/);if(s)return t=s[2],s=s[1],o.selector(s,t).call(i,e,n);if(h&&(n=h(n)),e.addEventListener){var a=t in c,l=a?c[t]:t;return e.addEventListener(l,n,a),{remove:function(){e.removeEventListener(l,n,a)}}}if(t="on"+t,g&&e.attachEvent)return g(e,t,n);throw new Error("Target must be an event emitter")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function a(){this.bubbles=!1}o.pausable=function(e,t,n,r){var i,s=o(e,t,(function(){if(!i)return n.apply(this,arguments)}),r);return s.pause=function(){i=!0},s.resume=function(){i=!1},s},o.once=function(e,t,n,r){var i=o(e,t,(function(){return i.remove(),n.apply(this,arguments)}));return i},o.parse=function(e,t,n,r,i,s){var a;if(t.call)return t.call(s,e,n);if(t instanceof Array?a=t:t.indexOf(",")>-1&&(a=t.split(/\s*,\s*/)),a){for(var l,d=[],c=0;l=a[c++];)d.push(o.parse(e,l,n,r,i,s));return d.remove=function(){for(var e=0;e<d.length;e++)d[e].remove()},d}return r(e,t,n,i,s)},o.matches=function(e,n,r,o,i){for(i=i&&"function"==typeof i.matches?i:t.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,n,r);)if(e==r||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},o.selector=function(e,t,n){return function(r,i){var s="function"==typeof e?{matches:e}:this,a=t.bubble;function l(t){return o.matches(t,e,r,n,s)}return a?o(r,a(l),i):o(r,t,(function(e){var t=l(e.target);if(t)return e.selectorTarget=t,i.call(t,e)}))}};var l=[].slice,d=o.emit=function(e,t,n){var r=l.call(arguments,2),o="on"+t;if("parentNode"in e){var i=r[0]={};for(var d in n)i[d]=n[d];i.preventDefault=s,i.stopPropagation=a,i.target=e,i.type=t,n=i}do{e[o]&&e[o].apply(e,r)}while(n&&n.bubbles&&(e=e.parentNode));return n&&n.cancelable&&n},c=n("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!n("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},h=function(e){return function(t){if(!t.immediatelyStopped)return t.stopImmediatePropagation=u,e.apply(this,arguments)}};if(n("dom-addeventlistener"))o.emit=function(e,t,n){if(e.dispatchEvent&&document.createEvent){var r=e.ownerDocument||document
|
|
265
|
+
\*************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n.dj.h(/*! ./has!dom-addeventlistener?:./aspect */"dom-addeventlistener?:4469"),n(/*! ./_base/kernel */367),n(/*! ./sniff */5301)],o=function(e,t,n){if(n("dom")){var r=window.ScriptEngineMajorVersion;n.add("jscript",r&&r()+ScriptEngineMinorVersion()/10),n.add("event-orientationchange",!1),n.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add("event-focusin",(function(e,t,n){return"onfocusin"in n}))}var o=function(e,t,n,r){return"function"!=typeof e.on||"function"==typeof t||e.nodeType?o.parse(e,t,n,i,r,this):e.on(t,n)};function i(e,t,n,r,i){var s=t.match(/(.*):(.*)/);if(s)return t=s[2],s=s[1],o.selector(s,t).call(i,e,n);if(h&&(n=h(n)),e.addEventListener){var a=t in c,l=a?c[t]:t;return e.addEventListener(l,n,a),{remove:function(){e.removeEventListener(l,n,a)}}}if(t="on"+t,g&&e.attachEvent)return g(e,t,n);throw new Error("Target must be an event emitter")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function a(){this.bubbles=!1}o.pausable=function(e,t,n,r){var i,s=o(e,t,(function(){if(!i)return n.apply(this,arguments)}),r);return s.pause=function(){i=!0},s.resume=function(){i=!1},s},o.once=function(e,t,n,r){var i=o(e,t,(function(){return i.remove(),n.apply(this,arguments)}));return i},o.parse=function(e,t,n,r,i,s){var a;if(t.call)return t.call(s,e,n);if(t instanceof Array?a=t:t.indexOf(",")>-1&&(a=t.split(/\s*,\s*/)),a){for(var l,d=[],c=0;l=a[c++];)d.push(o.parse(e,l,n,r,i,s));return d.remove=function(){for(var e=0;e<d.length;e++)d[e].remove()},d}return r(e,t,n,i,s)},o.matches=function(e,n,r,o,i){for(i=i&&"function"==typeof i.matches?i:t.query,o=!1!==o,1!=e.nodeType&&(e=e.parentNode);!i.matches(e,n,r);)if(e==r||!1===o||!(e=e.parentNode)||1!=e.nodeType)return!1;return e},o.selector=function(e,t,n){return function(r,i){var s="function"==typeof e?{matches:e}:this,a=t.bubble;function l(t){return o.matches(t,e,r,n,s)}return a?o(r,a(l),i):o(r,t,(function(e){var t=l(e.target);if(t)return e.selectorTarget=t,i.call(t,e)}))}};var l=[].slice,d=o.emit=function(e,t,n){var r=l.call(arguments,2),o="on"+t;if("parentNode"in e){var i=r[0]={};for(var d in n)i[d]=n[d];i.preventDefault=s,i.stopPropagation=a,i.target=e,i.type=t,n=i}do{e[o]&&e[o].apply(e,r)}while(n&&n.bubbles&&(e=e.parentNode));return n&&n.cancelable&&n},c=n("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!n("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},h=function(e){return function(t){if(!t.immediatelyStopped)return t.stopImmediatePropagation=u,e.apply(this,arguments)}};if(n("dom-addeventlistener"))o.emit=function(e,t,n){if(e.dispatchEvent&&document.createEvent){var r=(e.ownerDocument||document).createEvent("HTMLEvents");for(var i in r.initEvent(t,!!n.bubbles,!!n.cancelable),n)i in r||(r[i]=n[i]);return e.dispatchEvent(r)&&r}return d.apply(o,arguments)};else{o._fixEvent=function(e,t){if(e||(e=(t&&(t.ownerDocument||t.document||t).parentWindow||window).event),!e)return e;try{f&&e.type==f.type&&e.srcElement==f.target&&(e=f)}catch(e){}if(!e.target&&(e.target=e.srcElement,e.currentTarget=t||e.srcElement,"mouseover"==e.type&&(e.relatedTarget=e.fromElement),"mouseout"==e.type&&(e.relatedTarget=e.toElement),e.stopPropagation||(e.stopPropagation=m,e.preventDefault=y),"keypress"===e.type)){var n="charCode"in e?e.charCode:e.keyCode;10==n?(n=0,e.keyCode=13):13==n||27==n?n=0:3==n&&(n=99),e.charCode=n,v(e)}return e};var f,p=function(e){this.handle=e};p.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var g=function(t,r,i){if(i=function(e){return function(t){t=o._fixEvent(t,this);var n=e.call(this,t);return t.modified&&(f||setTimeout((function(){f=null})),f=t),n}}(i),((t.ownerDocument?t.ownerDocument.parentWindow:t.parentWindow||t.window||window)!=top||n("jscript")<5.8)&&!n("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var s,a=t[r];if(!a||!a.listeners){var l=a;(a=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],t[r]=a,a.global=this,l&&a.listeners.push(_dojoIEListeners_.push(l)-1)}return a.listeners.push(s=a.global._dojoIEListeners_.push(i)-1),new p(s)}return e.after(t,r,i,!0)},v=function(e){e.keyChar=e.charCode?String.fromCharCode(e.charCode):"",e.charOrCode=e.keyChar||e.keyCode},m=function(){this.cancelBubble=!0},y=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(e){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}return o}.apply(null,r),void 0===o||(e.exports=o)},585:
|
|
266
266
|
/*!**************************************************!*\
|
|
267
267
|
!*** ../../node_modules/dojo/promise/Promise.js ***!
|
|
268
268
|
\**************************************************/(e,t,n)=>{var r,o;n.dj.r,r=[n(/*! ../_base/lang */9768)],void 0===(o=function(e){function t(){throw new TypeError("abstract")}return e.extend((function(){}),{then:function(e,n,r){t()},cancel:function(e,n){t()},isResolved:function(){t()},isRejected:function(){t()},isFulfilled:function(){t()},isCanceled:function(){t()},finally:function(e){return this.then((function(t){var n=e();return n&&"function"==typeof n.then?n.then((function(){return t})):t}),(function(t){var n=e();if(n&&"function"==typeof n.then)return n.then((function(){throw t}));throw t}))},always:function(e){return this.then(e,e)},catch:function(e){return this.then(null,e)},otherwise:function(e){return this.then(null,e)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})}.apply(null,r))||(e.exports=o)},2966:
|
|
@@ -328,14 +328,14 @@
|
|
|
328
328
|
\*********************************************/(e,t,n)=>{n.r(t),n.d(t,{__assign:()=>i,__asyncDelegator:()=>w,__asyncGenerator:()=>b,__asyncValues:()=>x,__await:()=>_,__awaiter:()=>c,__classPrivateFieldGet:()=>S,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>A,__createBinding:()=>h,__decorate:()=>a,__exportStar:()=>f,__extends:()=>o,__generator:()=>u,__importDefault:()=>T,__importStar:()=>C,__makeTemplateObject:()=>j,__metadata:()=>d,__param:()=>l,__read:()=>g,__rest:()=>s,__spread:()=>v,__spreadArray:()=>y,__spreadArrays:()=>m,__values:()=>p});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{l(r.next(e))}catch(e){i(e)}}function a(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var h=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function f(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||h(t,e,n)}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function y(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof _?Promise.resolve(n.value.v).then(l,d):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function l(e){a("next",e)}function d(e){a("throw",e)}function c(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:_(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}function j(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var N=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&h(t,e,n);return N(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function S(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function A(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},4617:
|
|
329
329
|
/*!********************************!*\
|
|
330
330
|
!*** ./lib-cjs/__package__.js ***!
|
|
331
|
-
\********************************/(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BUILD_VERSION=t.PKG_VERSION=t.PKG_NAME=void 0,t.PKG_NAME="@hpcc-js/dgrid-shim",t.PKG_VERSION="2.24.
|
|
331
|
+
\********************************/(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BUILD_VERSION=t.PKG_VERSION=t.PKG_NAME=void 0,t.PKG_NAME="@hpcc-js/dgrid-shim",t.PKG_VERSION="2.24.3",t.BUILD_VERSION="2.104.20"},6869:
|
|
332
332
|
/*!*******************************!*\
|
|
333
333
|
!*** ./lib-cjs/gridHelper.js ***!
|
|
334
334
|
\*******************************/(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Pagination=t.GridHelper=void 0;var r=n(/*! dgrid/_StoreMixin */8750),o=n(/*! dgrid/extensions/Pagination */7464),i=n(/*! dijit/Tooltip */8698),s=n(/*! dojo/_base/declare */2536),a=n(/*! dojo/_base/query */6118);t.GridHelper=s(null,{allowTextSelection:!0,noDataMessage:"<span class='dojoxGridNoData'>...empty...</span>",loadingMessage:"<span class='dojoxGridNoData'>loading...</span>",postCreate:function e(t){this.inherited(e,arguments),this.__hpcc_tooltip_header=new i({connectId:[this.id],selector:".dgrid-resize-header-container",showDelay:400,getContent:function(e){return e.offsetWidth<e.scrollWidth-4?e.innerHTML:""}}),this.__hpcc_tooltip_header.position=["above-centered","below-centered","before-centered","after-centered"],this.__hpcc_tooltip=new i({connectId:[this.id],selector:"td",showDelay:400,getContent:function(e){return e.offsetWidth<=e.scrollWidth?e.innerHTML:""}}),this.__hpcc_tooltip.position=["above-centered","below-centered","before-centered","after-centered"]},refresh:function e(t){this.inherited(e,arguments,[t||{keepScrollPosition:!0,keepCurrentPage:!0}])},clearSelection:function e(){this.inherited(e,arguments),a("input[type=checkbox]",this.domNode).forEach((function(e){e.checked=!1,e.indeterminate=!1}))}}),t.Pagination=s([o],{refresh:function(e){var t=this,n=e&&e.keepCurrentPage&&Math.min(this._currentPage,Math.ceil(this._total/this.rowsPerPage))||1;return r.prototype.refresh.apply(this,arguments),this.gotoPage(n).then((function(e){return t._emitRefreshComplete(),e}))}})},7810:
|
|
335
335
|
/*!**************************!*\
|
|
336
336
|
!*** ./lib-cjs/index.js ***!
|
|
337
|
-
\**************************/(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PagingGrid=t.Grid=t.QueryResults=t.Memory=t.domConstruct=t.Deferred=void 0,n(/*! tslib */5163).__exportStar(n(/*! ./__package__ */4617),t);var r=n(/*! dojo/_base/declare */2536),o=n(/*! dojo/Deferred */1611),i=n(/*! dojo/dom-construct */912);t.Deferred=o,t.domConstruct=i;var s=n(/*! dojo-dstore/Memory */9249),a=n(/*! dojo-dstore/QueryResults */2695);t.Memory=s,t.QueryResults=a;var l=n(/*! dgrid/Grid */3271),d=n(/*! dgrid/OnDemandGrid */9938),c=n(/*! dgrid/Keyboard */4346),u=n(/*! dgrid/Selection */2621),h=n(/*! dgrid/extensions/ColumnResizer */5727),f=n(/*! dgrid/extensions/CompoundColumns */8031),p=n(/*! dgrid/extensions/nls/pagination */2717),g=n(/*! ./gridHelper */6869);t.Grid=r("Grid",[d,c,u,h,f,g.GridHelper]),t.Grid.prototype.i18nPagination=p.root,t.PagingGrid=r("PagingGrid",[l,g.Pagination,c,u,h,f,g.GridHelper]),t.PagingGrid.prototype.i18nPagination=p.root},
|
|
337
|
+
\**************************/(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PagingGrid=t.Grid=t.QueryResults=t.Memory=t.domConstruct=t.Deferred=void 0,n(/*! tslib */5163).__exportStar(n(/*! ./__package__ */4617),t);var r=n(/*! dojo/_base/declare */2536),o=n(/*! dojo/Deferred */1611),i=n(/*! dojo/dom-construct */912);t.Deferred=o,t.domConstruct=i;var s=n(/*! dojo-dstore/Memory */9249),a=n(/*! dojo-dstore/QueryResults */2695);t.Memory=s,t.QueryResults=a;var l=n(/*! dgrid/Grid */3271),d=n(/*! dgrid/OnDemandGrid */9938),c=n(/*! dgrid/Keyboard */4346),u=n(/*! dgrid/Selection */2621),h=n(/*! dgrid/extensions/ColumnResizer */5727),f=n(/*! dgrid/extensions/CompoundColumns */8031),p=n(/*! dgrid/extensions/nls/pagination */2717),g=n(/*! ./gridHelper */6869);t.Grid=r("Grid",[d,c,u,h,f,g.GridHelper]),t.Grid.prototype.i18nPagination=p.root,t.PagingGrid=r("PagingGrid",[l,g.Pagination,c,u,h,f,g.GridHelper]),t.PagingGrid.prototype.i18nPagination=p.root},7301:
|
|
338
338
|
/*!******************************************************************!*\
|
|
339
|
-
!*** ../../../../../../../tmp/tmp-
|
|
340
|
-
\******************************************************************/e=>{e.exports=function(e,t,n,r){this.loaderVersion="1.17.3",function(e,t){var n=function(){return void 0!==u&&"function"!=typeof u?u:void 0!==r?r:"undefined"!=typeof self?self:this}(),o=function(){},i={}.toString,s=function(e){return"[object Function]"==i.call(e)},a=function(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])},l=function(e,t){for(var n in t)e[n]=t[n];return e},d=1,c=function(e,t,n){return(void 0)(e,t,n,0,c)},u=n,h=u.document,f=h&&h.createElement("DiV"),p=c.has=function(e){return s(g[e])?g[e]=g[e](u,h,f):g[e]},g=p.cache=t.hasCache;for(var v in s(e)&&(e=e(n)),p.add=function(e,t,n,r){return(void 0===g[e]||r)&&(g[e]=t),n&&p(e)},e.has)p.add(v,e.has[v],0,1);c.async=1,c.eval=function(e,t){};var m={};c.signal=function(e,t){var n=m[e];a(n&&n.slice(0),(function(e){var n;e.apply(null,(n=t,"[object Array]"==i.call(n)?t:[t]))}))};var y,_,b,w,x,j,N,C,T=c.on=function(e,t){var n=m[e]||(m[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t)return void n.splice(e,1)}}};c.map={},t.paths,_=t.pathsMapProg,b=t.packs,y=t.aliases,w=t.mapProgs,x=t.modules,N=t.cache,j=t.cacheBust,c.rawConfig=t;var S=function(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0},A=function(e){var t,n,r=[];for(e=e.replace(/\\/g,"/").split("/");e.length;)".."==(t=e.shift())&&r.length&&".."!=n?(r.pop(),n=r[r.length-1]):"."!=t&&r.push(n=t);return r.join("/")},I=function(e,t,n,r){return{pid:e,mid:t,pack:n,url:r,executed:0,def:0}},E=function(e,t,n,r,o,i,d,c,u,h){var f,p,g,v,m,y,_;if(_=/^\./.test(e),/(^\/)|(\:)|(\.js$)/.test(e)||_&&!t)return I(0,e,0,e);if(e=A(_?t.mid+"/../"+e:e),/^\./.test(e))throw function(e,t){return l(new Error(e),{src:"dojoLoader",info:t})}("irrationalPath",e);h||_||!i.star||(v=S(e,i.star[1])),!v&&t&&(v=(v=S(t.mid,i))&&S(e,v[1])),v&&(e=v[1]+e.substring(v[3])),(p=n[f=(C=e.match(/^([^\/]+)(\/(.+))?$/))?C[1]:""])?e=f+"/"+(g=C[3]||p.main):f="";var b=0;return a(c,(function(t){var n=e.match(t[0]);n&&n.length>0&&(b=s(t[1])?e.replace(t[0],t[1]):t[1])})),b?E(b,0,n,r,o,i,d,c,u):(y=r[e])?u?I(y.pid,y.mid,y.pack,y.url):r[e]:(m=(v=S(e,d))?v[1]+e.substring(v[3]):f?("/"===p.location.slice(-1)?p.location.slice(0,-1):p.location)+"/"+g:e,/(^\/)|(\:)/.test(m)||(m=o+m),I(f,e,p,A(m+=".js")))},M=function(e,t,n){return E(e,t,b,x,c.baseUrl,w,_,y,void 0,n)};c.toAbsMid=function(e,t){return M(e,t).mid},c.toUrl=function(e,t){var n=M(e+"/x",t),r=n.url;return R(0===n.pid?e:r.substring(0,r.length-5))};var R="function"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+="")+(j?(/\?/.test(e)?"&":"?")+j:"")};c.log=o,c.trace=o;var k=o;l(l(c,t.loaderPatch),e.loaderPatch),T("error",(function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+":",e[t]);console.log(".")}}catch(e){}})),l(c,{uid:function(){return"_"+d++},cache:N,packs:b}),u.define||(u.define=k,u.require=c)}.call(this,e,t)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){function e(e,t){return a.require.toUrl(e,t)}function t(e,t){return a.require.toAbsMid(e,t)}function n(e,t,r){return i(e,t,r,0,n)}function r(e){for(var t in e)n.absMids[t]=e[t],n.absMidsById[e[t]]||(n.absMidsById[e[t]]=t)}function o(e,r,o,i){var s;if((e=e.split("!").map((function(e){return"."!==e.charAt(0)||r?t(e,r?{mid:r}:null):e})).join("!"))in n.absMids&&__webpack_require__.m[n.absMids[e]])if(o){var a=__webpack_module_cache__[n.absMids[e]];s=a&&(i?a:a.exports)}else s=__webpack_require__(n.absMids[e]);if(!s)throw new Error("Module not found: "+e);return s}function i(e,t,n,r,i){var s={}.toString.call(e);if("[object String]"===s){var a=o(e,r,!(!1===n));if("object"==typeof a&&a.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+e);return a}if("[object Object]"===s)throw new Error("Require config is not supported by WebPack");if("[object Array]"===s){var l=[],d=t,c=[];if(e.forEach((function(e){try{l.push(o(e,r))}catch(t){c.push({mid:e,error:t})}})),0===c.length)d&&d.apply(this,l);else{var u=new Error("findModules");u.src="dojo-webpack-plugin",u.info=c,i.signal("error",u)}return i}throw new Error("Unsupported require call")}n.toUrl=e,n.toAbsMid=t,n.absMids={},n.absMidsById=[],n.async=1;var s=this||window;if(r({"dojo/_base/declare":2536,"dojo/_base/kernel":367,"dojo/global":8135,"dojo/has":9206,"dojo/_base/config":7320,"dojo/_base/lang":9768,"dojo/sniff":5301,"dojo/Deferred":1611,"dojo/errors/CancelError":8040,"dojo/errors/create":6693,"dojo/promise/Promise":585,"dojo/promise/instrumentation":2966,"dojo/promise/tracer":785,"dojo/Evented":3633,"dojo/aspect":4469,"dojo/on":9994,"dojo/_base/array":6870,"dojo/dom-construct":912,"dojo/_base/window":4173,"dojo/dom":8688,"dojo/dom-attr":623,"dojo/dom-style":4539,"dojo/dom-prop":7373,"dojo/_base/connect":8774,"dojo/topic":9187,"dojo/_base/event":7687,"dojo/dom-geometry":5525,"dojo/mouse":231,"dojo/_base/sniff":8277,"dojo/keys":2832,"dojo-dstore/Memory":9249,"dojo-dstore/Store":1693,"dojo/when":392,"dojo-dstore/QueryMethod":6436,"dojo-dstore/Filter":5399,"dojo-dstore/Promised":9796,"dojo-dstore/QueryResults":2695,"dojo-dstore/SimpleQuery":6885,"dgrid/Grid":3271,"dojo/dom-class":6980,"dgrid/List":171,"dojo/query":9460,"dojo/selector/_loader":7749,"dojo/selector/lite":8336,"dojo/selector/_loader!default":8336,"dgrid/util/misc":7314,"dgrid/OnDemandGrid":9938,"dgrid/OnDemandList":1255,"dgrid/_StoreMixin":8750,"dgrid/Keyboard":4346,"dgrid/Selection":2621,"dgrid/util/touch":7329,"dgrid/extensions/ColumnResizer":5727,"dojo/_base/html":3034,"dgrid/extensions/CompoundColumns":8031,"dgrid/extensions/nls/pagination":2717,"dgrid/extensions/Pagination":7464,"dojo/string":1843,"dojo/i18n!dgrid/extensions/nls/pagination":1182,"dojo/i18n":4439,"dojo/_base/xhr":1391,"dojo/io-query":1950,"dojo/dom-form":2915,"dojo/json":4133,"dojo/_base/Deferred":7651,"dojo/_base/json":160,"dojo/request/watch":4424,"dojo/request/util":3559,"dojo/errors/RequestError":3725,"dojo/errors/RequestTimeoutError":7764,"dojo/request/default!":3637,"dojo/request/xhr":3637,"dojo/request/handlers":7888,"dijit/Tooltip":8698,"dojo/_base/fx":5038,"dojo/_base/Color":1599,"dijit/_base/manager":4009,"dijit/registry":1251,"dijit/main":1723,"dijit/place":6492,"dijit/Viewport":5091,"dojo/domReady":240,"dojo/window":7811,"dijit/_Widget":1029,"dojo/ready":2986,"dijit/_WidgetBase":9726,"dojo/Stateful":473,"dijit/Destroyable":1416,"dijit/_BidiMixin":230,"dijit/_OnDijitClickMixin":6059,"dijit/a11yclick":4355,"dojo/touch":2499,"dijit/_FocusMixin":6953,"dijit/focus":7035,"dijit/a11y":6479,"dojo/uacss":1521,"dijit/hccss":586,"dojo/hccss":3111,"dijit/_TemplatedMixin":5557,"dojo/cache":451,"dojo/text":9447,"dojo/request":1806,"dijit/_AttachMixin":448,"dijit/BackgroundIframe":3110,"dojo/text!dijit/templates/Tooltip.html":8213,"dojo/_base/query":6118,"dojo/_base/NodeList":1812,"dojo/NodeList-dom":8288}),s.require=n,(self.webpackChunk_hpcc_js_dgrid_shim=self.webpackChunk_hpcc_js_dgrid_shim||[]).registerAbsMids=r,__webpack_require__.dj&&"dojo-webpack-plugin"!==__webpack_require__.dj.name)throw new Error("__webpack_require__.dj name collision.");__webpack_require__.dj={name:"dojo-webpack-plugin",r:n,c:function(r){if(!r)return n;var o=r.absMid;if(!o&&n.absMidsById[r.id]&&(o=n.absMidsById[r.id]),!o)return n;var s=function(e,t,r){return i(e,t,r,o,n)};for(var a in n)n.hasOwnProperty(a)&&(s[a]=n[a]);return s.toUrl=function(t){return e(t,o?{mid:o}:null)},s.toAbsMid=function(e){return t(e,o?{mid:o}:null)},n.undef&&(s.undef=function(e){n.undef(e,o)}),s},m:function(e){if(e.absMid)return e;var t={i:e.id},r=n.absMidsById[e.id];return r&&(t.id=t.absMid=r),Object.defineProperty(t,"exports",{get:function(){return e.exports},set:function(t){e.exports=t},enumerable:!0,configurable:!0}),t},h:function(e){var t=o("dojo/has",null,!1).normalize(e,(function(e){return e}));return t&&__webpack_require__(t)||void 0}};var a=Object.create(s,{document:{value:s.document}});Object.defineProperties(a,{window:{value:a},global:{value:a}}),a.define=a.require=void 0,s.dojoConfig=s.dojoConfig||{};var l=function(e,t){for(var n in t)e[n]=t[n];return e}(s.dojoConfig,{baseUrl:".",deps:["lib/index"],async:!0,has:{"dojo-config-api":!1},selectorEngine:"lite",fixupUrl:function(e){return/\/(dojo|dijit|dojox)\/.*\.js$/.test(e)&&(e+=".uncompressed.js"),e}}),d={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1},paths:{js:"js",theme:"theme",css:"//chuckdumont.github.io/dojo-css-plugin/1.0.0/css"},pathsMapProg:[["theme","theme",/^theme(\/|$)/,5],["css","//chuckdumont.github.io/dojo-css-plugin/1.0.0/css",/^css(\/|$)/,3],["js","js",/^js(\/|$)/,2]],packs:{dojo:{main:"main",name:"dojo",location:"./dist/dojo",lib:"."},dijit:{main:"main",name:"dijit",location:"./dist/dijit",lib:"."},dojox:{main:"main",name:"dojox",location:"./dist/dojox",lib:"."},"dijit-themes":{main:"main",name:"dijit-themes",location:"./dist/dijit-themes",lib:"."},dgrid:{main:"main",name:"dgrid",location:"./dist/dgrid",lib:"."},dstore:{main:"main",name:"dstore",location:"./dist/dojo-dstore",lib:"."}},aliases:[],mapProgs:[],cacheBust:void 0,modules:{},cache:{}};function t(e,t){var n=a.require.originalToAbsMid(e,t);if(n.indexOf("/")===n.length-1){var r=n.substring(0,n.length-1),o=a.require.packs[r];o&&o.realMain&&(n=r)}return n}function e(e,t){var n=a.require.originalToUrl(e,t),r=a.require.packs[e];if(r&&r.realMain){var o=n.split("?");/(^\/)|(\:)/.test(r.realMain)?o[0]=r.realMain:o[0]=o[0]+"/"+r.realMain,n=o.join("?")}return n}__webpack_require__(8757).call(a,l,d,a,a),a.require.baseUrl="./",Object.keys(a.require.packs).forEach((function(e){var t=a.require.packs[e];(/(^\/)|(\:)/.test(t.main)||t.main.split("/").reduce((function(e,t){return e<0||"."===t?e:".."===t?--e:++e}),0)<=0)&&void 0===t.realMain&&(t.realMain=t.main,t.main="")})),a.require.originalToAbsMid=a.require.toAbsMid,a.require.originalToUrl=a.require.toUrl,a.require.toAbsMid=t,a.require.toUrl=e,["baseUrl","has","rawConfig","on","signal"].forEach((function(e){n[e]=a.require[e]}));var c=s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting;c&&(c.forEach(r),delete s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting)}();var __webpack_exports__=__webpack_require__(7810);return __webpack_exports__})(),module.exports=factory()})(dist);var LINE_SPLITTER="<br><hr class='dgrid-fakeline'>",LINE_SPLITTER2="<br><hr class='dgrid-fakeline' style='visibility: hidden'>",RowFormatter=function(){function e(e,t){this._renderHtml=t,this._flattenedColumns=[],this._columnIdx={},this._formattedRow={},this._columns=e,this.flattenColumns(e)}return e.prototype.flattenColumns=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.flattenColumn(r)}},e.prototype.flattenColumn=function(e){if(e.children)for(var t=0,n=e.children;t<n.length;t++){var r=n[t];this.flattenColumn(r)}else this._columnIdx[e.field]=this._flattenedColumns.length,this._flattenedColumns.push(e.field)},e.prototype.format=function(e){return this._formattedRow={},this.formatRow(this._columns,e),this.row()},e.prototype.calcDepth=function(e,t){for(var n=1,r=0,o=e;r<o.length;r++){var i=o[r];if(i.children&&t[i.leafID]){for(var s=0,a=0,l=t[i.leafID];a<l.length;a++){var d=l[a];s+=this.calcDepth(i.children,d)}n=Math.max(n,s)}}return n},e.prototype.formatCell=function(e,t,n){if(e.children){var r=0;t instanceof Array||(t=t instanceof Object&&t.Row instanceof Array?t.Row:[t]);for(var o=0,i=t;o<i.length;o++){var s=i[o];r=Math.max(r,this.formatRow(e.children,s))}}else if(e.isSet&&(t=JSON.stringify(t.Item)),void 0===this._formattedRow[e.field]?this._formattedRow[e.field]=""+t===void 0?"":this._renderHtml?t:safeEncode(t):(this._formattedRow[e.field]+=LINE_SPLITTER,this._formattedRow[e.field]+=""+t===void 0?"":this._renderHtml?t:safeEncode(t)),n>1){var a=[];a.length=n;var l=a.join(LINE_SPLITTER2);this._formattedRow[e.field]+=l}},e.prototype.formatRow=function(e,t,n){void 0===t&&(t=[]);for(var r=this.calcDepth(e,t),o=0,i=e;o<i.length;o++){var s=i[o];this.formatCell(s,t[s.leafID],r)}return r},e.prototype.row=function(){for(var e={},t=0,n=this._flattenedColumns;t<n.length;t++){var r=n[t];e[r]=this._formattedRow[r]}return e},e}(),DBStore=function(){function e(e){this._renderHtml=!0,this._db=e}return e.prototype.renderHtml=function(e){this._renderHtml=e},e.prototype.db2Columns=function(e,t,n,r,o){var i=this;return void 0===n&&(n=""),t?t.map((function(t,s){var a={label:t.label(),leafID:""+s,field:n+s,idx:s,className:"resultGridCell",sortable:e,isSet:!1};if("nested"===t.type())a.children=i.db2Columns(!1,t.children(),n+s+"_",r),a.sortable=!1;else a.formatter=r,a.renderCell=o;return a})):[]},e.prototype.columns=function(e,t,n){return this.db2Columns(e,this._db.fields(),"",t,n)},e.prototype.getIdentity=function(e){return e.__hpcc_id},e.prototype.get=function(e){return this._db.row(e+1)},e.prototype._fetchRange=function(e){var t=new RowFormatter(this.columns(!1),this._renderHtml);return this._db.data().slice(e.start,e.end).map((function(n,r){var o=t.format(n);return __assign(__assign({},o),{__hpcc_id:e.start+r,__origRow:n})}))},e.prototype.fetchRange=function(e){var t=this._fetchRange(e),n=new dist.exports.Deferred;return n.totalLength=new dist.exports.Deferred,n.resolve(t),n.totalLength.resolve(this._db.length()-1),n},e.prototype.sort=function(e){return this._db.data().sort((function(t,n){for(var r=0,o=e;r<o.length;r++){var i=o[r],s=i.property;if(void 0===t[s]&&void 0!==n[s]||t[s]<n[s])return i.descending?1:-1;if(void 0!==t[s]&&void 0===n[s]||t[s]>n[s])return i.descending?-1:1}return 0})),this},e}();function styleInject(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var css_248z=".dijitTooltip{display:block;font-family:Verdana,Geneva,sans-serif;font-size:12px;left:0;overflow:visible;position:absolute;top:-10000px;z-index:2000}.dijitTooltipContainer{background:#b8b5b5;border:2px solid #000;color:#000;font-size:small}.dijitTooltipFocusNode{padding:2px}.dijitTooltipConnector{position:absolute}.dijitTooltipData,.dj_a11y .dijitTooltipConnector{display:none}.dijitTooltip{background:transparent}.dijitTooltipContainer{background-color:#424242;border-radius:3px;-ms-filter:none;filter:none;opacity:1;padding:4px 8px}.dijitTooltip .dijitTooltipContainer{border:0;color:#fff}.dijitTooltipConnector{-ms-filter:none;filter:none;height:auto;opacity:1;width:auto;z-index:2}.dijitTooltipABRight .dijitTooltipConnector{left:auto!important;right:8px}.dijitTooltipBelow{padding-top:4px}.dijitTooltipBelow .dijitTooltipConnector{border-bottom:4px solid #424242;border-left:4px solid transparent;border-right:4px solid transparent;border-top:0;left:8px;top:0}.dijitTooltipAbove{padding-bottom:4px}.dijitTooltipAbove .dijitTooltipConnector{border-bottom:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #424242;bottom:0;left:8px}.dijitTooltipLeft{padding-right:4px}.dijitTooltipLeft .dijitTooltipConnector{border-bottom:4px solid transparent;border-left:4px solid #424242;border-right:0;border-top:4px solid transparent;right:0}.dijitTooltipRight{padding-left:4px}.dijitTooltipRight .dijitTooltipConnector{border-bottom:4px solid transparent;border-right:4px solid #424242;border-top:4px solid transparent;left:0}.dgrid{border:1px solid #ddd;display:block;height:30em;overflow:hidden;position:relative}.dgrid-header{background-color:#eee}.dgrid-header-row{left:0;position:absolute;right:17px}.dgrid-header-scroll{position:absolute;right:0;top:0}.dgrid-footer{bottom:0;position:absolute;width:100%}.dgrid-header-hidden{border-bottom:none!important;border-top:none!important;font-size:0;height:0!important;margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}.dgrid-footer-hidden{display:none}.dgrid-sortable{cursor:pointer}.dgrid-footer,.dgrid-header,.dgrid-header-row{background-color:#eee;overflow:hidden}.dgrid-row-table{border:none;border-collapse:collapse;empty-cells:show;height:100%;table-layout:fixed;width:100%}.dgrid-cell{border:1px solid #ddd;border-top-style:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;padding:3px;text-align:left;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}.dgrid-content{height:99%;position:relative}.dgrid-scroller{bottom:0;margin-top:25px;overflow-x:auto;overflow-y:scroll;position:absolute;top:0;width:100%}.dgrid-preload{font-size:0;line-height:0}.dgrid-loading{height:100%;position:relative}.dgrid-above{bottom:0;position:absolute}.ui-icon{background-image:url(data:image/png;base64,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);height:16px;width:12px}.dgrid-sort-arrow{background-position:-64px -16px;display:block;float:right;height:12px;margin:0 4px 0 5px}.dgrid-sort-up .dgrid-sort-arrow{background-position:0 -16px}.dgrid-selected{background-color:#bbb}.dgrid-input{width:99%}html.has-mozilla .dgrid .dgrid-cell:focus,html.has-mozilla .dgrid .dgrid-row:focus{outline:1px dotted}html.has-mozilla .dgrid-focus{outline-offset:-1px}.dgrid-scrollbar-measure{height:100px;overflow:scroll;position:absolute;top:-9999px;width:100px}.dgrid-autoheight{height:auto}.dgrid-autoheight .dgrid-scroller{overflow-y:hidden;position:relative}.dgrid-autoheight .dgrid-header-scroll{display:none}.dgrid-autoheight .dgrid-header{right:0}.dgrid-column-set{height:100%;overflow:hidden;position:relative;-ms-touch-action:pan-y;touch-action:pan-y;width:100%}.dgrid-column-set-cell{height:100%;vertical-align:top}.dgrid-column-set-scroller-container{bottom:0;font-size:0;position:absolute}.dgrid-autoheight .dgrid-column-set-scroller-container{position:relative}.dgrid-column-set-scroller{display:inline-block;overflow-x:auto;overflow-y:hidden}.dgrid-column-set-scroller-content{height:1px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.dgrid-expando-icon{height:16px;width:16px}.dgrid-tree-container{overflow:hidden;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;-o-transition-duration:.3s;-ms-transition-duration:.3s;transition-duration:.3s}.dgrid-tree-container.dgrid-tree-resetting{-webkit-transition-duration:0;-moz-transition-duration:0;-o-transition-duration:0;-ms-transition-duration:0;transition-duration:0}.dgrid-hider-toggle{background-color:transparent;background-position:0 -192px;border:none;cursor:pointer;position:absolute;right:0;top:0}.dgrid-rtl-swap .dgrid-hider-toggle{left:0;right:auto}.dgrid-hider-menu{background-color:#fff;border:1px solid #000;overflow-x:hidden;overflow-y:auto;padding:4px;position:absolute;right:17px;top:0;width:184px;z-index:99999}.dgrid-rtl-swap .dgrid-hider-menu{left:17px;right:auto}.dgrid-hider-menu-row{padding:2px;position:relative}.dgrid-hider-menu-check{left:2px;padding:0;position:absolute;top:2px}.dgrid-hider-menu-label{display:block;padding-left:20px}.dgrid-header .dojoDndTarget .dgrid-cell{display:table-cell}.dgrid-header .dojoDndItemBefore{border-left:2px dotted #000!important}.dgrid-header .dojoDndItemAfter{border-right:2px dotted #000!important}.dgrid-column-resizer{background-color:#666;cursor:col-resize;position:absolute;width:2px;z-index:1000}.dgrid-resize-handle{border-left:5px solid transparent;cursor:col-resize;height:100px;outline:none;position:absolute;right:-4px;top:-4px;width:0;z-index:999}.dgrid-resize-header-container{height:100%}.dgrid-resize-guard{bottom:0;cursor:col-resize;left:0;position:absolute;right:0;top:0}html.has-touch .dgrid-resize-handle{border-left:20px solid transparent}html.has-touch .dgrid-column-resizer{width:2px}.dgrid-resize-header-container{position:relative}.dgrid-header .dgrid-cell{overflow:hidden}.dgrid-spacer-row{height:0}.dgrid-spacer-row th{border-bottom:none;border-top:none;padding-bottom:0;padding-top:0}.dgrid-status{padding:2px}.dgrid-pagination .dgrid-status{float:left}.dgrid-pagination .dgrid-navigation,.dgrid-pagination .dgrid-page-size{float:right}.dgrid-navigation .dgrid-page-link{color:inherit;cursor:pointer;font-weight:700;padding:0 4px;text-decoration:none}.dgrid-first,.dgrid-last,.dgrid-next,.dgrid-previous{font-size:130%}.dgrid-pagination .dgrid-page-disabled{color:#aaa;cursor:default}.dgrid-page-input{margin-top:1px;text-align:center;width:2em}.dgrid-page-size{margin:1px 4px 0}.dgrid-rtl-swap .dgrid-header-row{left:17px;right:0}.dgrid-rtl-swap .dgrid-header-scroll{left:0;right:auto}.dgrid-rtl .dgrid-cell{text-align:right}.dgrid-rtl .dgrid-sort-arrow{float:left;margin:0 5px 0 4px}.dgrid-rtl .ui-icon-triangle-1-e{background-position:-96px -16px}.dgrid-rtl .ui-icon-triangle-1-se{background-position:-80px -16px}.dgrid-rtl .dgrid-pagination .dgrid-page-size,.dgrid-rtl .dgrid-pagination .dgrid-status{float:right}.dgrid-rtl .dgrid-pagination .dgrid-navigation{float:left}.dgrid-rtl.dgrid-autoheight .dgrid-header{left:0}.dgrid_Table .placeholder{border:none;overflow:hidden;padding:0}.dgrid_Table .dgrid-fakeline{border:0;border-bottom:1px solid #ddd;margin:2px -3px}.dgrid_Table .dgrid-sortable .dgrid-sort-arrow.ui-icon{margin:0}";styleInject(css_248z);var Common=function(e){function t(){var t=e.call(this)||this;return t._columns=[],t._store=new DBStore(t._db),t._tag="div",t}return __extends(t,e),t.prototype.mulitSelect=function(e){return this.multiSelect.apply(this,arguments)},t.prototype.formatSortBy=function(){var e=this.columns().indexOf(this.sortBy());return e>=0?[{property:e.toString(),descending:this.sortByDescending()}]:void 0},t.prototype.selection=function(e){var t,n=this;if(!arguments.length){var r=[];for(var o in this._dgrid.selection)if(this._dgrid.selection[o]){var i=this._store.get(+o);r.push(this.rowToObj(i))}return r}this._supressEvents=!0,null===(t=this._dgrid)||void 0===t||t.clearSelection();var s=!0;this.data().forEach((function(t,r){var o,i;if(e.indexOf(t)>=0){var a=null===(o=n._dgrid)||void 0===o?void 0:o.row(r);a.element&&s&&(s=!1,a.element.scrollIntoView()),null===(i=n._dgrid)||void 0===i||i.select(r)}})),this._supressEvents=!1},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n),this._dgridDiv=n.append("div").attr("class","flat")},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),this._store.renderHtml(this.renderHtml()),this._dgrid&&this._prevPaging===this.pagination()&&this._prevSortBy===this.sortBy()&&this._prevSortByDescending===this.sortByDescending()&&this._prevMultiSelect===this.multiSelect()||(this._prevPaging=this.pagination(),this._prevSortBy=this.sortBy(),this._prevSortByDescending=this.sortByDescending(),this._prevMultiSelect=this.multiSelect(),this._dgrid&&(this._dgrid.destroy(),this._dgridDiv=n.append("div").attr("class","flat")),this._dgrid=new(this._prevPaging?dist.exports.PagingGrid:dist.exports.Grid)({columns:this._columns,collection:this._store,sort:this.formatSortBy(),selectionMode:this.multiSelect()?"extended":"single",deselectOnRefresh:!0,cellNavigation:!1,pagingLinks:1,pagingTextBox:!0,previousNextArrows:!0,firstLastArrows:!0,rowsPerPage:this.pageSize(),pageSizeOptions:[1,10,25,50,100,1e3]},this._dgridDiv.node()),this._dgrid.on("dgrid-select",(function(e){r._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&r.click(r.rowToObj(e.rows[0].data.__origRow),"",!0,{selection:r.selection()})})),this._dgrid.on("dgrid-deselect",(function(e){r._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&r.click(r.rowToObj(e.rows[0].data.__origRow),"",!1,{selection:r.selection()})})),this._dgrid.refresh({})),this._dgrid.noDataMessage="<span class='dojoxGridNoData'>".concat(this.noDataMessage(),"</span>"),this._dgrid.loadingMessage="<span class='dojoxGridNoData'>".concat(this.loadingMessage(),"</span>"),this._dgridDiv.style("width",this.width()+"px").style("height",this.height()-2+"px"),this._dgrid.resize()},t.prototype.exit=function(t,n){delete this._prevPaging,this._dgrid&&(this._dgrid.destroy(),delete this._dgrid),e.prototype.exit.call(this,t,n)},t.prototype.click=function(e,t,n,r){},__decorate([common.publish("...empty...","string","No Data Message"),__metadata("design:type",Function)],t.prototype,"noDataMessage",void 0),__decorate([common.publish("loading...","string","Loading Message"),__metadata("design:type",Function)],t.prototype,"loadingMessage",void 0),__decorate([common.publish(!1,"boolean","Enable paging"),__metadata("design:type",Function)],t.prototype,"pagination",void 0),__decorate([common.publish(25,"number","Page size"),__metadata("design:type",Function)],t.prototype,"pageSize",void 0),__decorate([common.publish(!1,"boolean","Enable sorting by column"),__metadata("design:type",Function)],t.prototype,"sortable",void 0),__decorate([common.publish(null,"set","Default 'sort by' Column ID",(function(){return this.columns()}),{optional:!0}),__metadata("design:type",Function)],t.prototype,"sortBy",void 0),__decorate([common.publish(!1,"boolean","Default 'sort by' descending",null,{disable:function(e){return!e.sortBy()}}),__metadata("design:type",Function)],t.prototype,"sortByDescending",void 0),__decorate([common.publish(!1,"boolean","Multiple Selection"),__metadata("design:type",Function)],t.prototype,"multiSelect",void 0),__decorate([common.publish(!0,"boolean","Render HTML"),__metadata("design:type",Function)],t.prototype,"renderHtml",void 0),t}(common.HTMLWidget);Common.prototype._class+=" dgrid_Common";var DatasourceCache=function(){function e(e){this._fetchCache={},this._datasource=e}return e.prototype.validateCache=function(){var e=this.hash();this._prevHash!==e&&(this._prevHash=e,this._fetchCache={})},e.prototype.id=function(){return this._datasource.id()},e.prototype.hash=function(){return this._datasource.hash()},e.prototype.label=function(){return this._datasource.label()},e.prototype.outFields=function(){return this._datasource.outFields()},e.prototype.total=function(){return this._datasource.total()},e.prototype.fetch=function(e,t){this.validateCache();var n="".concat(e,"->").concat(t),r=this._fetchCache[n];return r||(r=this._datasource.fetch(e,t),this._fetchCache[n]=r),r},e}(),DatasourceStore=function(){function e(e,t){var n=this;this._columnsIdx={},this._datasource=new DatasourceCache(e),this._columnsIdx={},this._columns=this.db2Columns(this._datasource.outFields()).map((function(e,t){return n._columnsIdx[e.field]=t,e})),this.rowFormatter=new RowFormatter(this._columns,t)}return e.prototype.columns=function(){return this._columns},e.prototype.db2Columns=function(e,t){var n=this;return void 0===t&&(t=""),e?e.map((function(e,r){var o={field:t+e.id,leafID:e.id,label:e.id,idx:r,className:"resultGridCell",sortable:!0,isSet:!1};return"dataset"===e.type?o.children=n.db2Columns(e.children,t+e.id+"_"):o.formatter=function(e,t){return"string"==typeof e?e.replace(/\t/g," "):e},o})):[]},e.prototype.getIdentity=function(e){return e.__hpcc_id},e.prototype._request=function(e,t){var n=this;return this._datasource?this._datasource.fetch(e,t-e).then((function(t){return{totalLength:n._datasource.total(),data:t.map((function(t,r){var o=n.rowFormatter.format(t);return o.__hpcc_id=e+r,o.__origRow=t,o}))}})):Promise.resolve({totalLength:0,data:[]})},e.prototype.fetchRange=function(e){var t=new dist.exports.Deferred;return this._request(e.start,e.end).then((function(e){return t.resolve(e)})),new dist.exports.QueryResults(t.then((function(e){return e.data})),{totalLength:t.then((function(e){return e.totalLength}))})},e}(),DatasourceTable=function(e){function t(){return e.call(this)||this}return __extends(t,e),t.prototype.invalidate=function(){return delete this._prevDatasource,this},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n)},t.prototype.update=function(t,n){e.prototype.update.call(this,t,n)},t.prototype.render=function(t){var n=this;return e.prototype.render.call(this,(function(e){if(n._prevDatasource!==n.datasource())if(n._dgrid.set("collection",new dist.exports.Memory),n._dgrid.set("columns",[]),n._prevDatasource=n.datasource(),n._prevDatasource){var r=new DatasourceStore(n._prevDatasource,n.renderHtml());n._dgrid.set("columns",r.columns()),n._dgrid.set("collection",r),t&&t(e)}else t&&t(e);else t&&t(e)}))},t.prototype.click=function(e,t,n){},__decorate([common.publish(null,"object","Datasource"),__metadata("design:type",Object)],t.prototype,"datasource",void 0),t}(Common);DatasourceTable.prototype._class+=" dgrid_DatasourceTable";var ColumnFormat=function(e){function t(){return e.call(this)||this}return __extends(t,e),t.prototype.owner=function(e){return arguments.length?(this._owner=e,this):this._owner},t.prototype.valid=function(){return!!this.column()},t.prototype.formatterFunc=function(){var e=this._owner.formatterFunc();if(this.valid()&&this.format()){var t=common.format(this.format());return function(n,r){return"number"==typeof n?t(n):e.call(this,n,r)}}return e},t.prototype.renderCellFunc=function(){var e=this._owner.renderCellFunc(),t=this.formatterFunc();if(this.valid()&&this.paletteID()){var n=this._owner.columns(),r=common.Palette.rainbow(this.paletteID()),o=this.min(),i=this.max(),s=this.valueColumn()?n.indexOf(this.valueColumn()):void 0;return function(n,a,l){e&&e.call(this,n,a,l);var d=s?n.__origRow[s]:a,c=r(d,o,i),u=t.call(this,a,n);common.select(l).style("background",c).style("color",common.Palette.textColor(c)).text(u.html?u.html:a)}}return e},t}(common.PropertyExt);ColumnFormat.prototype._class+=" dgrid_Table.ColumnFormat",ColumnFormat.prototype.publish("column",null,"set","Column",(function(){return this._owner.columns()}),{optional:!0}),ColumnFormat.prototype.publish("width",null,"number","Width",null,{optional:!0}),ColumnFormat.prototype.publish("format",null,"string","Format (d3-format)",null,{optional:!0}),ColumnFormat.prototype.publish("paletteID",null,"set","Color palette for this widget",__spreadArray([""],common.Palette.rainbow("default").switch(),!0),{optional:!0}),ColumnFormat.prototype.publish("min",0,"number","Min Value",null,{disable:function(e){return!e.paletteID()}}),ColumnFormat.prototype.publish("max",100,"number","Max Value",null,{disable:function(e){return!e.paletteID()}}),ColumnFormat.prototype.publish("valueColumn",null,"set","Column",(function(){return this._owner.columns()}),{optional:!0,disable:function(e){return!e.paletteID()}});var Table=function(e){function t(){var t=e.call(this)||this;return t._colsRefresh=!1,t._dataRefresh=!1,t}return __extends(t,e),t.prototype.fields=function(t){var n=e.prototype.fields.apply(this,arguments);if(arguments.length){var r=util.hashSum({_:t});this._prevFieldsHash!==r&&(this._prevFieldsHash=r,this._colsRefresh=!0)}return n},t.prototype.columns=function(t){var n=e.prototype.columns.apply(this,arguments);if(arguments.length){var r=util.hashSum({_:t});this._prevColsHash!==r&&(this._prevColsHash=r,this._colsRefresh=!0)}return n},t.prototype.data=function(t){var n=e.prototype.data.apply(this,arguments);return arguments.length&&(this._dataRefresh=!0),n},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n)},t.prototype.guessWidth=function(e,t){for(var n=this,r=this.sortable()?12:0,o=function(e){if(e.children){for(var o=[],s=0;s<Math.min(3,t.length);++s)o=o.concat(t[s][e.idx]);i.guessWidth(e.children,o)}else e.width=t.reduce((function(t,r){var o=(""+r[e.idx]).trim();return Math.max(t,n.textSize(o).width)}),i.textSize(""+e.label,void 0,void 0,!0).width+r)+8},i=this,s=0,a=e;s<a.length;s++){o(a[s])}},t.prototype.update=function(t,n){e.prototype.update.call(this,t,n);var r=this.hashSum();if(this._prevHash!==r&&(this._prevHash=r,this._colsRefresh=!0),this._colsRefresh){if(this._columns=this._store.columns(this.sortable(),this.formatterFunc(),this.renderCellFunc()),"auto"===this.columnWidth()){var o=this.data().filter((function(e,t){return t<10}));this.guessWidth(this._columns,o)}for(var i=this.columns(),s=0,a=this.columnFormats();s<a.length;s++){var l=a[s];if(l.valid()){var d=i.indexOf(l.column());this._columns[d]&&(this._columns[d].hidden=0===l.width(),this._columns[d].width=l.width()||this._columns[d].width,this._columns[d].formatter=l.formatterFunc(),this._columns[d].renderCell=l.renderCellFunc())}}this._dgrid.set("columns",this._columns),this._colsRefresh=!1}(this._colsRefresh||this._dataRefresh)&&(this._colsRefresh?this._dgrid.refresh({}):this._dgrid.refresh(),this._colsRefresh=!1,this._dataRefresh=!1)},t.prototype.exit=function(t,n){delete this._prevColsHash,delete this._prevFieldsHash,e.prototype.exit.call(this,t,n)},t.prototype.formatterFunc=function(){return function(e,t){switch(typeof e){case"string":return{html:e.replace(/\t/g," ").trim()};case"undefined":return""}return e}},t.prototype.renderCellFunc=function(){},t.prototype.click=function(e,t,n){},t}(Common);Table.prototype._class+=" dgrid_Table",Table.prototype.publish("columnWidth","auto","set","Default column width",["auto","none"]),Table.prototype.publish("columnFormats",[],"propertyArray","Source Columns",null,{autoExpand:ColumnFormat}),exports.BUILD_VERSION=BUILD_VERSION,exports.ColumnFormat=ColumnFormat,exports.Common=Common,exports.DBStore=DBStore,exports.DatasourceCache=DatasourceCache,exports.DatasourceStore=DatasourceStore,exports.DatasourceTable=DatasourceTable,exports.Deferred=dist.exports.Deferred,exports.Memory=dist.exports.Memory,exports.PKG_NAME=PKG_NAME,exports.PKG_VERSION=PKG_VERSION,exports.QueryResults=dist.exports.QueryResults,exports.RowFormatter=RowFormatter,exports.Table=Table,exports.domConstruct=dist.exports.domConstruct,Object.defineProperty(exports,"__esModule",{value:!0})}));
|
|
339
|
+
!*** ../../../../../../../tmp/tmp-32048ZpbAY0Fdut6/dojo/dojo.js ***!
|
|
340
|
+
\******************************************************************/e=>{e.exports=function(e,t,n,r){this.loaderVersion="1.17.3",function(e,t){var n=function(){return void 0!==u&&"function"!=typeof u?u:void 0!==r?r:"undefined"!=typeof self?self:this}(),o=function(){},i={}.toString,s=function(e){return"[object Function]"==i.call(e)},a=function(e,t){if(e)for(var n=0;n<e.length;)t(e[n++])},l=function(e,t){for(var n in t)e[n]=t[n];return e},d=1,c=function(e,t,n){return(void 0)(e,t,n,0,c)},u=n,h=u.document,f=h&&h.createElement("DiV"),p=c.has=function(e){return s(g[e])?g[e]=g[e](u,h,f):g[e]},g=p.cache=t.hasCache;for(var v in s(e)&&(e=e(n)),p.add=function(e,t,n,r){return(void 0===g[e]||r)&&(g[e]=t),n&&p(e)},e.has)p.add(v,e.has[v],0,1);c.async=1,c.eval=function(e,t){};var m={};c.signal=function(e,t){var n=m[e];a(n&&n.slice(0),(function(e){var n;e.apply(null,(n=t,"[object Array]"==i.call(n)?t:[t]))}))};var y,_,b,w,x,j,N,C,T=c.on=function(e,t){var n=m[e]||(m[e]=[]);return n.push(t),{remove:function(){for(var e=0;e<n.length;e++)if(n[e]===t)return void n.splice(e,1)}}};c.map={},t.paths,_=t.pathsMapProg,b=t.packs,y=t.aliases,w=t.mapProgs,x=t.modules,N=t.cache,j=t.cacheBust,c.rawConfig=t;var S=function(e,t){if(t)for(var n=0;n<t.length;n++)if(t[n][2].test(e))return t[n];return 0},A=function(e){var t,n,r=[];for(e=e.replace(/\\/g,"/").split("/");e.length;)".."==(t=e.shift())&&r.length&&".."!=n?(r.pop(),n=r[r.length-1]):"."!=t&&r.push(n=t);return r.join("/")},I=function(e,t,n,r){return{pid:e,mid:t,pack:n,url:r,executed:0,def:0}},E=function(e,t,n,r,o,i,d,c,u,h){var f,p,g,v,m,y,_;if(_=/^\./.test(e),/(^\/)|(\:)|(\.js$)/.test(e)||_&&!t)return I(0,e,0,e);if(e=A(_?t.mid+"/../"+e:e),/^\./.test(e))throw function(e,t){return l(new Error(e),{src:"dojoLoader",info:t})}("irrationalPath",e);h||_||!i.star||(v=S(e,i.star[1])),!v&&t&&(v=(v=S(t.mid,i))&&S(e,v[1])),v&&(e=v[1]+e.substring(v[3])),(p=n[f=(C=e.match(/^([^\/]+)(\/(.+))?$/))?C[1]:""])?e=f+"/"+(g=C[3]||p.main):f="";var b=0;return a(c,(function(t){var n=e.match(t[0]);n&&n.length>0&&(b=s(t[1])?e.replace(t[0],t[1]):t[1])})),b?E(b,0,n,r,o,i,d,c,u):(y=r[e])?u?I(y.pid,y.mid,y.pack,y.url):r[e]:(m=(v=S(e,d))?v[1]+e.substring(v[3]):f?("/"===p.location.slice(-1)?p.location.slice(0,-1):p.location)+"/"+g:e,/(^\/)|(\:)/.test(m)||(m=o+m),I(f,e,p,A(m+=".js")))},M=function(e,t,n){return E(e,t,b,x,c.baseUrl,w,_,y,void 0,n)};c.toAbsMid=function(e,t){return M(e,t).mid},c.toUrl=function(e,t){var n=M(e+"/x",t),r=n.url;return R(0===n.pid?e:r.substring(0,r.length-5))};var R="function"==typeof e.fixupUrl?e.fixupUrl:function(e){return(e+="")+(j?(/\?/.test(e)?"&":"?")+j:"")};c.log=o,c.trace=o;var k=o;l(l(c,t.loaderPatch),e.loaderPatch),T("error",(function(e){try{if(console.error(e),e instanceof Error){for(var t in e)console.log(t+":",e[t]);console.log(".")}}catch(e){}})),l(c,{uid:function(){return"_"+d++},cache:N,packs:b}),u.define||(u.define=k,u.require=c)}.call(this,e,t)}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){function e(e,t){return a.require.toUrl(e,t)}function t(e,t){return a.require.toAbsMid(e,t)}function n(e,t,r){return i(e,t,r,0,n)}function r(e){for(var t in e)n.absMids[t]=e[t],n.absMidsById[e[t]]||(n.absMidsById[e[t]]=t)}function o(e,r,o,i){var s;if((e=e.split("!").map((function(e){return"."!==e.charAt(0)||r?t(e,r?{mid:r}:null):e})).join("!"))in n.absMids&&__webpack_require__.m[n.absMids[e]])if(o){var a=__webpack_module_cache__[n.absMids[e]];s=a&&(i?a:a.exports)}else s=__webpack_require__(n.absMids[e]);if(!s)throw new Error("Module not found: "+e);return s}function i(e,t,n,r,i){var s={}.toString.call(e);if("[object String]"===s){var a=o(e,r,!(!1===n));if("object"==typeof a&&a.__DOJO_WEBPACK_DEFINE_PROMISE__)throw new Error("Module not found: "+e);return a}if("[object Object]"===s)throw new Error("Require config is not supported by WebPack");if("[object Array]"===s){var l=[],d=t,c=[];if(e.forEach((function(e){try{l.push(o(e,r))}catch(t){c.push({mid:e,error:t})}})),0===c.length)d&&d.apply(this,l);else{var u=new Error("findModules");u.src="dojo-webpack-plugin",u.info=c,i.signal("error",u)}return i}throw new Error("Unsupported require call")}n.toUrl=e,n.toAbsMid=t,n.absMids={},n.absMidsById=[],n.async=1;var s=this||window;if(r({"dojo/_base/declare":2536,"dojo/_base/kernel":367,"dojo/global":8135,"dojo/has":9206,"dojo/_base/config":7320,"dojo/_base/lang":9768,"dojo/sniff":5301,"dojo/Deferred":1611,"dojo/errors/CancelError":8040,"dojo/errors/create":6693,"dojo/promise/Promise":585,"dojo/promise/instrumentation":2966,"dojo/promise/tracer":785,"dojo/Evented":3633,"dojo/aspect":4469,"dojo/on":9994,"dojo/_base/array":6870,"dojo/dom-construct":912,"dojo/_base/window":4173,"dojo/dom":8688,"dojo/dom-attr":623,"dojo/dom-style":4539,"dojo/dom-prop":7373,"dojo/_base/connect":8774,"dojo/topic":9187,"dojo/_base/event":7687,"dojo/dom-geometry":5525,"dojo/mouse":231,"dojo/_base/sniff":8277,"dojo/keys":2832,"dojo-dstore/Memory":9249,"dojo-dstore/Store":1693,"dojo/when":392,"dojo-dstore/QueryMethod":6436,"dojo-dstore/Filter":5399,"dojo-dstore/Promised":9796,"dojo-dstore/QueryResults":2695,"dojo-dstore/SimpleQuery":6885,"dgrid/Grid":3271,"dojo/dom-class":6980,"dgrid/List":171,"dojo/query":9460,"dojo/selector/_loader":7749,"dojo/selector/lite":8336,"dojo/selector/_loader!default":8336,"dgrid/util/misc":7314,"dgrid/OnDemandGrid":9938,"dgrid/OnDemandList":1255,"dgrid/_StoreMixin":8750,"dgrid/Keyboard":4346,"dgrid/Selection":2621,"dgrid/util/touch":7329,"dgrid/extensions/ColumnResizer":5727,"dojo/_base/html":3034,"dgrid/extensions/CompoundColumns":8031,"dgrid/extensions/nls/pagination":2717,"dgrid/extensions/Pagination":7464,"dojo/string":1843,"dojo/i18n!dgrid/extensions/nls/pagination":1182,"dojo/i18n":4439,"dojo/_base/xhr":1391,"dojo/io-query":1950,"dojo/dom-form":2915,"dojo/json":4133,"dojo/_base/Deferred":7651,"dojo/_base/json":160,"dojo/request/watch":4424,"dojo/request/util":3559,"dojo/errors/RequestError":3725,"dojo/errors/RequestTimeoutError":7764,"dojo/request/default!":3637,"dojo/request/xhr":3637,"dojo/request/handlers":7888,"dijit/Tooltip":8698,"dojo/_base/fx":5038,"dojo/_base/Color":1599,"dijit/_base/manager":4009,"dijit/registry":1251,"dijit/main":1723,"dijit/place":6492,"dijit/Viewport":5091,"dojo/domReady":240,"dojo/window":7811,"dijit/_Widget":1029,"dojo/ready":2986,"dijit/_WidgetBase":9726,"dojo/Stateful":473,"dijit/Destroyable":1416,"dijit/_BidiMixin":230,"dijit/_OnDijitClickMixin":6059,"dijit/a11yclick":4355,"dojo/touch":2499,"dijit/_FocusMixin":6953,"dijit/focus":7035,"dijit/a11y":6479,"dojo/uacss":1521,"dijit/hccss":586,"dojo/hccss":3111,"dijit/_TemplatedMixin":5557,"dojo/cache":451,"dojo/text":9447,"dojo/request":1806,"dijit/_AttachMixin":448,"dijit/BackgroundIframe":3110,"dojo/text!dijit/templates/Tooltip.html":8213,"dojo/_base/query":6118,"dojo/_base/NodeList":1812,"dojo/NodeList-dom":8288}),s.require=n,(self.webpackChunk_hpcc_js_dgrid_shim=self.webpackChunk_hpcc_js_dgrid_shim||[]).registerAbsMids=r,__webpack_require__.dj&&"dojo-webpack-plugin"!==__webpack_require__.dj.name)throw new Error("__webpack_require__.dj name collision.");__webpack_require__.dj={name:"dojo-webpack-plugin",r:n,c:function(r){if(!r)return n;var o=r.absMid;if(!o&&n.absMidsById[r.id]&&(o=n.absMidsById[r.id]),!o)return n;var s=function(e,t,r){return i(e,t,r,o,n)};for(var a in n)n.hasOwnProperty(a)&&(s[a]=n[a]);return s.toUrl=function(t){return e(t,o?{mid:o}:null)},s.toAbsMid=function(e){return t(e,o?{mid:o}:null)},n.undef&&(s.undef=function(e){n.undef(e,o)}),s},m:function(e){if(e.absMid)return e;var t={i:e.id},r=n.absMidsById[e.id];return r&&(t.id=t.absMid=r),Object.defineProperty(t,"exports",{get:function(){return e.exports},set:function(t){e.exports=t},enumerable:!0,configurable:!0}),t},h:function(e){var t=o("dojo/has",null,!1).normalize(e,(function(e){return e}));return t&&__webpack_require__(t)||void 0}};var a=Object.create(s,{document:{value:s.document}});Object.defineProperties(a,{window:{value:a},global:{value:a}}),a.define=a.require=void 0,s.dojoConfig=s.dojoConfig||{};var l=function(e,t){for(var n in t)e[n]=t[n];return e}(s.dojoConfig,{baseUrl:".",deps:["lib/index"],async:!0,has:{"dojo-config-api":!1},selectorEngine:"lite",fixupUrl:function(e){return/\/(dojo|dijit|dojox)\/.*\.js$/.test(e)&&(e+=".uncompressed.js"),e}}),d={hasCache:{webpack:1,"host-browser":1,dom:1,"dojo-loader":1,"dojo-has-api":1,"dojo-dom-ready-api":1,"dojo-sniff":1,"dojo-test-sniff":1,"config-deferredInstrumentation":1,"config-tlmSiblingOfDojo":1},paths:{js:"js",theme:"theme",css:"//chuckdumont.github.io/dojo-css-plugin/1.0.0/css"},pathsMapProg:[["theme","theme",/^theme(\/|$)/,5],["css","//chuckdumont.github.io/dojo-css-plugin/1.0.0/css",/^css(\/|$)/,3],["js","js",/^js(\/|$)/,2]],packs:{dojo:{main:"main",name:"dojo",location:"./dist/dojo",lib:"."},dijit:{main:"main",name:"dijit",location:"./dist/dijit",lib:"."},dojox:{main:"main",name:"dojox",location:"./dist/dojox",lib:"."},"dijit-themes":{main:"main",name:"dijit-themes",location:"./dist/dijit-themes",lib:"."},dgrid:{main:"main",name:"dgrid",location:"./dist/dgrid",lib:"."},dstore:{main:"main",name:"dstore",location:"./dist/dojo-dstore",lib:"."}},aliases:[],mapProgs:[],cacheBust:void 0,modules:{},cache:{}};function t(e,t){var n=a.require.originalToAbsMid(e,t);if(n.indexOf("/")===n.length-1){var r=n.substring(0,n.length-1),o=a.require.packs[r];o&&o.realMain&&(n=r)}return n}function e(e,t){var n=a.require.originalToUrl(e,t),r=a.require.packs[e];if(r&&r.realMain){var o=n.split("?");/(^\/)|(\:)/.test(r.realMain)?o[0]=r.realMain:o[0]=o[0]+"/"+r.realMain,n=o.join("?")}return n}__webpack_require__(7301).call(a,l,d,a,a),a.require.baseUrl="./",Object.keys(a.require.packs).forEach((function(e){var t=a.require.packs[e];(/(^\/)|(\:)/.test(t.main)||t.main.split("/").reduce((function(e,t){return e<0||"."===t?e:".."===t?--e:++e}),0)<=0)&&void 0===t.realMain&&(t.realMain=t.main,t.main="")})),a.require.originalToAbsMid=a.require.toAbsMid,a.require.originalToUrl=a.require.toUrl,a.require.toAbsMid=t,a.require.toUrl=e,["baseUrl","has","rawConfig","on","signal"].forEach((function(e){n[e]=a.require[e]}));var c=s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting;c&&(c.forEach(r),delete s.webpackChunk_hpcc_js_dgrid_shim.absMidsWaiting)}();var __webpack_exports__=__webpack_require__(7810);return __webpack_exports__})(),module.exports=factory()})(dist);var LINE_SPLITTER="<br><hr class='dgrid-fakeline'>",LINE_SPLITTER2="<br><hr class='dgrid-fakeline' style='visibility: hidden'>",RowFormatter=function(){function e(e,t){this._renderHtml=t,this._flattenedColumns=[],this._columnIdx={},this._formattedRow={},this._columns=e,this.flattenColumns(e)}return e.prototype.flattenColumns=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.flattenColumn(r)}},e.prototype.flattenColumn=function(e){if(e.children)for(var t=0,n=e.children;t<n.length;t++){var r=n[t];this.flattenColumn(r)}else this._columnIdx[e.field]=this._flattenedColumns.length,this._flattenedColumns.push(e.field)},e.prototype.format=function(e){return this._formattedRow={},this.formatRow(this._columns,e),this.row()},e.prototype.calcDepth=function(e,t){for(var n=1,r=0,o=e;r<o.length;r++){var i=o[r];if(i.children&&t[i.leafID]){for(var s=0,a=0,l=t[i.leafID];a<l.length;a++){var d=l[a];s+=this.calcDepth(i.children,d)}n=Math.max(n,s)}}return n},e.prototype.formatCell=function(e,t,n){if(e.children){var r=0;t instanceof Array||(t=t instanceof Object&&t.Row instanceof Array?t.Row:[t]);for(var o=0,i=t;o<i.length;o++){var s=i[o];r=Math.max(r,this.formatRow(e.children,s))}}else if(e.isSet&&(t=JSON.stringify(t.Item)),void 0===this._formattedRow[e.field]?this._formattedRow[e.field]=""+t===void 0?"":this._renderHtml?t:safeEncode(t):(this._formattedRow[e.field]+=LINE_SPLITTER,this._formattedRow[e.field]+=""+t===void 0?"":this._renderHtml?t:safeEncode(t)),n>1){var a=[];a.length=n;var l=a.join(LINE_SPLITTER2);this._formattedRow[e.field]+=l}},e.prototype.formatRow=function(e,t,n){void 0===t&&(t=[]);for(var r=this.calcDepth(e,t),o=0,i=e;o<i.length;o++){var s=i[o];this.formatCell(s,t[s.leafID],r)}return r},e.prototype.row=function(){for(var e={},t=0,n=this._flattenedColumns;t<n.length;t++){var r=n[t];e[r]=this._formattedRow[r]}return e},e}(),DBStore=function(){function e(e){this._renderHtml=!0,this._db=e}return e.prototype.renderHtml=function(e){this._renderHtml=e},e.prototype.db2Columns=function(e,t,n,r,o){var i=this;return void 0===n&&(n=""),t?t.map((function(t,s){var a={label:t.label(),leafID:""+s,field:n+s,idx:s,className:"resultGridCell",sortable:e,isSet:!1};if("nested"===t.type())a.children=i.db2Columns(!1,t.children(),n+s+"_",r),a.sortable=!1;else a.formatter=r,a.renderCell=o;return a})):[]},e.prototype.columns=function(e,t,n){return this.db2Columns(e,this._db.fields(),"",t,n)},e.prototype.getIdentity=function(e){return e.__hpcc_id},e.prototype.get=function(e){return this._db.row(e+1)},e.prototype._fetchRange=function(e){var t=new RowFormatter(this.columns(!1),this._renderHtml);return this._db.data().slice(e.start,e.end).map((function(n,r){var o=t.format(n);return __assign(__assign({},o),{__hpcc_id:e.start+r,__origRow:n})}))},e.prototype.fetchRange=function(e){var t=this._fetchRange(e),n=new dist.exports.Deferred;return n.totalLength=new dist.exports.Deferred,n.resolve(t),n.totalLength.resolve(this._db.length()-1),n},e.prototype.sort=function(e){return this._db.data().sort((function(t,n){for(var r=0,o=e;r<o.length;r++){var i=o[r],s=i.property;if(void 0===t[s]&&void 0!==n[s]||t[s]<n[s])return i.descending?1:-1;if(void 0!==t[s]&&void 0===n[s]||t[s]>n[s])return i.descending?-1:1}return 0})),this},e}();function styleInject(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var css_248z=".dijitTooltip{display:block;font-family:Verdana,Geneva,sans-serif;font-size:12px;left:0;overflow:visible;position:absolute;top:-10000px;z-index:2000}.dijitTooltipContainer{background:#b8b5b5;border:2px solid #000;color:#000;font-size:small}.dijitTooltipFocusNode{padding:2px}.dijitTooltipConnector{position:absolute}.dijitTooltipData,.dj_a11y .dijitTooltipConnector{display:none}.dijitTooltip{background:transparent}.dijitTooltipContainer{background-color:#424242;border-radius:3px;-ms-filter:none;filter:none;opacity:1;padding:4px 8px}.dijitTooltip .dijitTooltipContainer{border:0;color:#fff}.dijitTooltipConnector{-ms-filter:none;filter:none;height:auto;opacity:1;width:auto;z-index:2}.dijitTooltipABRight .dijitTooltipConnector{left:auto!important;right:8px}.dijitTooltipBelow{padding-top:4px}.dijitTooltipBelow .dijitTooltipConnector{border-bottom:4px solid #424242;border-left:4px solid transparent;border-right:4px solid transparent;border-top:0;left:8px;top:0}.dijitTooltipAbove{padding-bottom:4px}.dijitTooltipAbove .dijitTooltipConnector{border-bottom:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #424242;bottom:0;left:8px}.dijitTooltipLeft{padding-right:4px}.dijitTooltipLeft .dijitTooltipConnector{border-bottom:4px solid transparent;border-left:4px solid #424242;border-right:0;border-top:4px solid transparent;right:0}.dijitTooltipRight{padding-left:4px}.dijitTooltipRight .dijitTooltipConnector{border-bottom:4px solid transparent;border-right:4px solid #424242;border-top:4px solid transparent;left:0}.dgrid{border:1px solid #ddd;display:block;height:30em;overflow:hidden;position:relative}.dgrid-header{background-color:#eee}.dgrid-header-row{left:0;position:absolute;right:17px}.dgrid-header-scroll{position:absolute;right:0;top:0}.dgrid-footer{bottom:0;position:absolute;width:100%}.dgrid-header-hidden{border-bottom:none!important;border-top:none!important;font-size:0;height:0!important;margin-bottom:0!important;margin-top:0!important;padding-bottom:0!important;padding-top:0!important}.dgrid-footer-hidden{display:none}.dgrid-sortable{cursor:pointer}.dgrid-footer,.dgrid-header,.dgrid-header-row{background-color:#eee;overflow:hidden}.dgrid-row-table{border:none;border-collapse:collapse;empty-cells:show;height:100%;table-layout:fixed;width:100%}.dgrid-cell{border:1px solid #ddd;border-top-style:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;overflow:hidden;padding:3px;text-align:left;text-overflow:ellipsis;vertical-align:top;white-space:nowrap}.dgrid-content{height:99%;position:relative}.dgrid-scroller{bottom:0;margin-top:25px;overflow-x:auto;overflow-y:scroll;position:absolute;top:0;width:100%}.dgrid-preload{font-size:0;line-height:0}.dgrid-loading{height:100%;position:relative}.dgrid-above{bottom:0;position:absolute}.ui-icon{background-image:url(data:image/png;base64,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);height:16px;width:12px}.dgrid-sort-arrow{background-position:-64px -16px;display:block;float:right;height:12px;margin:0 4px 0 5px}.dgrid-sort-up .dgrid-sort-arrow{background-position:0 -16px}.dgrid-selected{background-color:#bbb}.dgrid-input{width:99%}html.has-mozilla .dgrid .dgrid-cell:focus,html.has-mozilla .dgrid .dgrid-row:focus{outline:1px dotted}html.has-mozilla .dgrid-focus{outline-offset:-1px}.dgrid-scrollbar-measure{height:100px;overflow:scroll;position:absolute;top:-9999px;width:100px}.dgrid-autoheight{height:auto}.dgrid-autoheight .dgrid-scroller{overflow-y:hidden;position:relative}.dgrid-autoheight .dgrid-header-scroll{display:none}.dgrid-autoheight .dgrid-header{right:0}.dgrid-column-set{height:100%;overflow:hidden;position:relative;-ms-touch-action:pan-y;touch-action:pan-y;width:100%}.dgrid-column-set-cell{height:100%;vertical-align:top}.dgrid-column-set-scroller-container{bottom:0;font-size:0;position:absolute}.dgrid-autoheight .dgrid-column-set-scroller-container{position:relative}.dgrid-column-set-scroller{display:inline-block;overflow-x:auto;overflow-y:hidden}.dgrid-column-set-scroller-content{height:1px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.dgrid-expando-icon{height:16px;width:16px}.dgrid-tree-container{overflow:hidden;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;-o-transition-duration:.3s;-ms-transition-duration:.3s;transition-duration:.3s}.dgrid-tree-container.dgrid-tree-resetting{-webkit-transition-duration:0;-moz-transition-duration:0;-o-transition-duration:0;-ms-transition-duration:0;transition-duration:0}.dgrid-hider-toggle{background-color:transparent;background-position:0 -192px;border:none;cursor:pointer;position:absolute;right:0;top:0}.dgrid-rtl-swap .dgrid-hider-toggle{left:0;right:auto}.dgrid-hider-menu{background-color:#fff;border:1px solid #000;overflow-x:hidden;overflow-y:auto;padding:4px;position:absolute;right:17px;top:0;width:184px;z-index:99999}.dgrid-rtl-swap .dgrid-hider-menu{left:17px;right:auto}.dgrid-hider-menu-row{padding:2px;position:relative}.dgrid-hider-menu-check{left:2px;padding:0;position:absolute;top:2px}.dgrid-hider-menu-label{display:block;padding-left:20px}.dgrid-header .dojoDndTarget .dgrid-cell{display:table-cell}.dgrid-header .dojoDndItemBefore{border-left:2px dotted #000!important}.dgrid-header .dojoDndItemAfter{border-right:2px dotted #000!important}.dgrid-column-resizer{background-color:#666;cursor:col-resize;position:absolute;width:2px;z-index:1000}.dgrid-resize-handle{border-left:5px solid transparent;cursor:col-resize;height:100px;outline:none;position:absolute;right:-4px;top:-4px;width:0;z-index:999}.dgrid-resize-header-container{height:100%}.dgrid-resize-guard{bottom:0;cursor:col-resize;left:0;position:absolute;right:0;top:0}html.has-touch .dgrid-resize-handle{border-left:20px solid transparent}html.has-touch .dgrid-column-resizer{width:2px}.dgrid-resize-header-container{position:relative}.dgrid-header .dgrid-cell{overflow:hidden}.dgrid-spacer-row{height:0}.dgrid-spacer-row th{border-bottom:none;border-top:none;padding-bottom:0;padding-top:0}.dgrid-status{padding:2px}.dgrid-pagination .dgrid-status{float:left}.dgrid-pagination .dgrid-navigation,.dgrid-pagination .dgrid-page-size{float:right}.dgrid-navigation .dgrid-page-link{color:inherit;cursor:pointer;font-weight:700;padding:0 4px;text-decoration:none}.dgrid-first,.dgrid-last,.dgrid-next,.dgrid-previous{font-size:130%}.dgrid-pagination .dgrid-page-disabled{color:#aaa;cursor:default}.dgrid-page-input{margin-top:1px;text-align:center;width:2em}.dgrid-page-size{margin:1px 4px 0}.dgrid-rtl-swap .dgrid-header-row{left:17px;right:0}.dgrid-rtl-swap .dgrid-header-scroll{left:0;right:auto}.dgrid-rtl .dgrid-cell{text-align:right}.dgrid-rtl .dgrid-sort-arrow{float:left;margin:0 5px 0 4px}.dgrid-rtl .ui-icon-triangle-1-e{background-position:-96px -16px}.dgrid-rtl .ui-icon-triangle-1-se{background-position:-80px -16px}.dgrid-rtl .dgrid-pagination .dgrid-page-size,.dgrid-rtl .dgrid-pagination .dgrid-status{float:right}.dgrid-rtl .dgrid-pagination .dgrid-navigation{float:left}.dgrid-rtl.dgrid-autoheight .dgrid-header{left:0}.dgrid_Table .placeholder{border:none;overflow:hidden;padding:0}.dgrid_Table .dgrid-fakeline{border:0;border-bottom:1px solid #ddd;margin:2px -3px}.dgrid_Table .dgrid-sortable .dgrid-sort-arrow.ui-icon{margin:0}";styleInject(css_248z);var Common=function(e){function t(){var t=e.call(this)||this;return t._columns=[],t._store=new DBStore(t._db),t._tag="div",t}return __extends(t,e),t.prototype.mulitSelect=function(e){return this.multiSelect.apply(this,arguments)},t.prototype.formatSortBy=function(){var e=this.columns().indexOf(this.sortBy());return e>=0?[{property:e.toString(),descending:this.sortByDescending()}]:void 0},t.prototype.selection=function(e){var t,n=this;if(!arguments.length){var r=[];for(var o in this._dgrid.selection)if(this._dgrid.selection[o]){var i=this._store.get(+o);r.push(this.rowToObj(i))}return r}this._supressEvents=!0,null===(t=this._dgrid)||void 0===t||t.clearSelection();var s=!0;this.data().forEach((function(t,r){var o,i;if(e.indexOf(t)>=0){var a=null===(o=n._dgrid)||void 0===o?void 0:o.row(r);a.element&&s&&(s=!1,a.element.scrollIntoView()),null===(i=n._dgrid)||void 0===i||i.select(r)}})),this._supressEvents=!1},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n),this._dgridDiv=n.append("div").attr("class","flat")},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),this._store.renderHtml(this.renderHtml()),this._dgrid&&this._prevPaging===this.pagination()&&this._prevSortBy===this.sortBy()&&this._prevSortByDescending===this.sortByDescending()&&this._prevMultiSelect===this.multiSelect()||(this._prevPaging=this.pagination(),this._prevSortBy=this.sortBy(),this._prevSortByDescending=this.sortByDescending(),this._prevMultiSelect=this.multiSelect(),this._dgrid&&(this._dgrid.destroy(),this._dgridDiv=n.append("div").attr("class","flat")),this._dgrid=new(this._prevPaging?dist.exports.PagingGrid:dist.exports.Grid)({columns:this._columns,collection:this._store,sort:this.formatSortBy(),selectionMode:this.multiSelect()?"extended":"single",deselectOnRefresh:!0,cellNavigation:!1,pagingLinks:1,pagingTextBox:!0,previousNextArrows:!0,firstLastArrows:!0,rowsPerPage:this.pageSize(),pageSizeOptions:[1,10,25,50,100,1e3]},this._dgridDiv.node()),this._dgrid.on("dgrid-select",(function(e){r._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&r.click(r.rowToObj(e.rows[0].data.__origRow),"",!0,{selection:r.selection()})})),this._dgrid.on("dgrid-deselect",(function(e){r._supressEvents||e.rows&&e.rows.length&&e.rows[0].data&&r.click(r.rowToObj(e.rows[0].data.__origRow),"",!1,{selection:r.selection()})})),this._dgrid.refresh({})),this._dgrid.noDataMessage="<span class='dojoxGridNoData'>".concat(this.noDataMessage(),"</span>"),this._dgrid.loadingMessage="<span class='dojoxGridNoData'>".concat(this.loadingMessage(),"</span>"),this._dgridDiv.style("width",this.width()+"px").style("height",this.height()-2+"px"),this._dgrid.resize()},t.prototype.exit=function(t,n){delete this._prevPaging,this._dgrid&&(this._dgrid.destroy(),delete this._dgrid),e.prototype.exit.call(this,t,n)},t.prototype.click=function(e,t,n,r){},__decorate([common.publish("...empty...","string","No Data Message"),__metadata("design:type",Function)],t.prototype,"noDataMessage",void 0),__decorate([common.publish("loading...","string","Loading Message"),__metadata("design:type",Function)],t.prototype,"loadingMessage",void 0),__decorate([common.publish(!1,"boolean","Enable paging"),__metadata("design:type",Function)],t.prototype,"pagination",void 0),__decorate([common.publish(25,"number","Page size"),__metadata("design:type",Function)],t.prototype,"pageSize",void 0),__decorate([common.publish(!1,"boolean","Enable sorting by column"),__metadata("design:type",Function)],t.prototype,"sortable",void 0),__decorate([common.publish(null,"set","Default 'sort by' Column ID",(function(){return this.columns()}),{optional:!0}),__metadata("design:type",Function)],t.prototype,"sortBy",void 0),__decorate([common.publish(!1,"boolean","Default 'sort by' descending",null,{disable:function(e){return!e.sortBy()}}),__metadata("design:type",Function)],t.prototype,"sortByDescending",void 0),__decorate([common.publish(!1,"boolean","Multiple Selection"),__metadata("design:type",Function)],t.prototype,"multiSelect",void 0),__decorate([common.publish(!0,"boolean","Render HTML"),__metadata("design:type",Function)],t.prototype,"renderHtml",void 0),t}(common.HTMLWidget);Common.prototype._class+=" dgrid_Common";var DatasourceCache=function(){function e(e){this._fetchCache={},this._datasource=e}return e.prototype.validateCache=function(){var e=this.hash();this._prevHash!==e&&(this._prevHash=e,this._fetchCache={})},e.prototype.id=function(){return this._datasource.id()},e.prototype.hash=function(){return this._datasource.hash()},e.prototype.label=function(){return this._datasource.label()},e.prototype.outFields=function(){return this._datasource.outFields()},e.prototype.total=function(){return this._datasource.total()},e.prototype.fetch=function(e,t){this.validateCache();var n="".concat(e,"->").concat(t),r=this._fetchCache[n];return r||(r=this._datasource.fetch(e,t),this._fetchCache[n]=r),r},e}(),DatasourceStore=function(){function e(e,t){var n=this;this._columnsIdx={},this._datasource=new DatasourceCache(e),this._columnsIdx={},this._columns=this.db2Columns(this._datasource.outFields()).map((function(e,t){return n._columnsIdx[e.field]=t,e})),this.rowFormatter=new RowFormatter(this._columns,t)}return e.prototype.columns=function(){return this._columns},e.prototype.db2Columns=function(e,t){var n=this;return void 0===t&&(t=""),e?e.map((function(e,r){var o={field:t+e.id,leafID:e.id,label:e.id,idx:r,className:"resultGridCell",sortable:!0,isSet:!1};return"dataset"===e.type?o.children=n.db2Columns(e.children,t+e.id+"_"):o.formatter=function(e,t){return"string"==typeof e?e.replace(/\t/g," "):e},o})):[]},e.prototype.getIdentity=function(e){return e.__hpcc_id},e.prototype._request=function(e,t){var n=this;return this._datasource?this._datasource.fetch(e,t-e).then((function(t){return{totalLength:n._datasource.total(),data:t.map((function(t,r){var o=n.rowFormatter.format(t);return o.__hpcc_id=e+r,o.__origRow=t,o}))}})):Promise.resolve({totalLength:0,data:[]})},e.prototype.fetchRange=function(e){var t=new dist.exports.Deferred;return this._request(e.start,e.end).then((function(e){return t.resolve(e)})),new dist.exports.QueryResults(t.then((function(e){return e.data})),{totalLength:t.then((function(e){return e.totalLength}))})},e}(),DatasourceTable=function(e){function t(){return e.call(this)||this}return __extends(t,e),t.prototype.invalidate=function(){return delete this._prevDatasource,this},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n)},t.prototype.update=function(t,n){e.prototype.update.call(this,t,n)},t.prototype.render=function(t){var n=this;return e.prototype.render.call(this,(function(e){if(n._prevDatasource!==n.datasource())if(n._dgrid.set("collection",new dist.exports.Memory),n._dgrid.set("columns",[]),n._prevDatasource=n.datasource(),n._prevDatasource){var r=new DatasourceStore(n._prevDatasource,n.renderHtml());n._dgrid.set("columns",r.columns()),n._dgrid.set("collection",r),t&&t(e)}else t&&t(e);else t&&t(e)}))},t.prototype.click=function(e,t,n){},__decorate([common.publish(null,"object","Datasource"),__metadata("design:type",Object)],t.prototype,"datasource",void 0),t}(Common);DatasourceTable.prototype._class+=" dgrid_DatasourceTable";var ColumnFormat=function(e){function t(){return e.call(this)||this}return __extends(t,e),t.prototype.owner=function(e){return arguments.length?(this._owner=e,this):this._owner},t.prototype.valid=function(){return!!this.column()},t.prototype.formatterFunc=function(){var e=this._owner.formatterFunc();if(this.valid()&&this.format()){var t=common.format(this.format());return function(n,r){return"number"==typeof n?t(n):e.call(this,n,r)}}return e},t.prototype.renderCellFunc=function(){var e=this._owner.renderCellFunc(),t=this.formatterFunc();if(this.valid()&&this.paletteID()){var n=this._owner.columns(),r=common.Palette.rainbow(this.paletteID()),o=this.min(),i=this.max(),s=this.valueColumn()?n.indexOf(this.valueColumn()):void 0;return function(n,a,l){e&&e.call(this,n,a,l);var d=s?n.__origRow[s]:a,c=r(d,o,i),u=t.call(this,a,n);common.select(l).style("background",c).style("color",common.Palette.textColor(c)).text(u.html?u.html:a)}}return e},t}(common.PropertyExt);ColumnFormat.prototype._class+=" dgrid_Table.ColumnFormat",ColumnFormat.prototype.publish("column",null,"set","Column",(function(){return this._owner.columns()}),{optional:!0}),ColumnFormat.prototype.publish("width",null,"number","Width",null,{optional:!0}),ColumnFormat.prototype.publish("format",null,"string","Format (d3-format)",null,{optional:!0}),ColumnFormat.prototype.publish("paletteID",null,"set","Color palette for this widget",__spreadArray([""],common.Palette.rainbow("default").switch(),!0),{optional:!0}),ColumnFormat.prototype.publish("min",0,"number","Min Value",null,{disable:function(e){return!e.paletteID()}}),ColumnFormat.prototype.publish("max",100,"number","Max Value",null,{disable:function(e){return!e.paletteID()}}),ColumnFormat.prototype.publish("valueColumn",null,"set","Column",(function(){return this._owner.columns()}),{optional:!0,disable:function(e){return!e.paletteID()}});var Table=function(e){function t(){var t=e.call(this)||this;return t._colsRefresh=!1,t._dataRefresh=!1,t}return __extends(t,e),t.prototype.fields=function(t){var n=e.prototype.fields.apply(this,arguments);if(arguments.length){var r=util.hashSum({_:t});this._prevFieldsHash!==r&&(this._prevFieldsHash=r,this._colsRefresh=!0)}return n},t.prototype.columns=function(t){var n=e.prototype.columns.apply(this,arguments);if(arguments.length){var r=util.hashSum({_:t});this._prevColsHash!==r&&(this._prevColsHash=r,this._colsRefresh=!0)}return n},t.prototype.data=function(t){var n=e.prototype.data.apply(this,arguments);return arguments.length&&(this._dataRefresh=!0),n},t.prototype.enter=function(t,n){e.prototype.enter.call(this,t,n)},t.prototype.guessWidth=function(e,t){for(var n=this,r=this.sortable()?12:0,o=function(e){if(e.children){for(var o=[],s=0;s<Math.min(3,t.length);++s)o=o.concat(t[s][e.idx]);i.guessWidth(e.children,o)}else e.width=t.reduce((function(t,r){var o=(""+r[e.idx]).trim();return Math.max(t,n.textSize(o).width)}),i.textSize(""+e.label,void 0,void 0,!0).width+r)+8},i=this,s=0,a=e;s<a.length;s++){o(a[s])}},t.prototype.update=function(t,n){e.prototype.update.call(this,t,n);var r=this.hashSum();if(this._prevHash!==r&&(this._prevHash=r,this._colsRefresh=!0),this._colsRefresh){if(this._columns=this._store.columns(this.sortable(),this.formatterFunc(),this.renderCellFunc()),"auto"===this.columnWidth()){var o=this.data().filter((function(e,t){return t<10}));this.guessWidth(this._columns,o)}for(var i=this.columns(),s=0,a=this.columnFormats();s<a.length;s++){var l=a[s];if(l.valid()){var d=i.indexOf(l.column());this._columns[d]&&(this._columns[d].hidden=0===l.width(),this._columns[d].width=l.width()||this._columns[d].width,this._columns[d].formatter=l.formatterFunc(),this._columns[d].renderCell=l.renderCellFunc())}}this._dgrid.set("columns",this._columns),this._colsRefresh=!1}(this._colsRefresh||this._dataRefresh)&&(this._colsRefresh?this._dgrid.refresh({}):this._dgrid.refresh(),this._colsRefresh=!1,this._dataRefresh=!1)},t.prototype.exit=function(t,n){delete this._prevColsHash,delete this._prevFieldsHash,e.prototype.exit.call(this,t,n)},t.prototype.formatterFunc=function(){return function(e,t){switch(typeof e){case"string":return{html:e.replace(/\t/g," ").trim()};case"undefined":return""}return e}},t.prototype.renderCellFunc=function(){},t.prototype.click=function(e,t,n){},t}(Common);Table.prototype._class+=" dgrid_Table",Table.prototype.publish("columnWidth","auto","set","Default column width",["auto","none"]),Table.prototype.publish("columnFormats",[],"propertyArray","Source Columns",null,{autoExpand:ColumnFormat}),exports.BUILD_VERSION=BUILD_VERSION,exports.ColumnFormat=ColumnFormat,exports.Common=Common,exports.DBStore=DBStore,exports.DatasourceCache=DatasourceCache,exports.DatasourceStore=DatasourceStore,exports.DatasourceTable=DatasourceTable,exports.Deferred=dist.exports.Deferred,exports.Memory=dist.exports.Memory,exports.PKG_NAME=PKG_NAME,exports.PKG_VERSION=PKG_VERSION,exports.QueryResults=dist.exports.QueryResults,exports.RowFormatter=RowFormatter,exports.Table=Table,exports.domConstruct=dist.exports.domConstruct,Object.defineProperty(exports,"__esModule",{value:!0})}));
|
|
341
341
|
//# sourceMappingURL=index.min.js.map
|