angular-ui-grid
Advanced tools
Comparing version 4.8.5 to 4.9.0
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -984,2 +984,5 @@ */ | ||
if ($elm[0]) { | ||
$elm[0].focus(); | ||
} | ||
$elm.on('blur', $scope.stopEdit); | ||
@@ -986,0 +989,0 @@ }); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -7,2 +7,2 @@ */ | ||
!function(){"use strict";var e=angular.module("ui.grid.edit",["ui.grid"]);e.constant("uiGridEditConstants",{EDITABLE_CELL_TEMPLATE:/EDITABLE_CELL_TEMPLATE/g,EDITABLE_CELL_DIRECTIVE:/editable_cell_directive/g,events:{BEGIN_CELL_EDIT:"uiGridEventBeginCellEdit",END_CELL_EDIT:"uiGridEventEndCellEdit",CANCEL_CELL_EDIT:"uiGridEventCancelCellEdit"}}),e.service("uiGridEditService",["$q","uiGridConstants","gridUtil",function(o,i,l){var t={initializeGrid:function(e){t.defaultGridOptions(e.options),e.registerColumnBuilder(t.editColumnBuilder),e.edit={};e.api.registerEventsFromObject({edit:{afterCellEdit:function(e,i,t,n){},beginCellEdit:function(e,i,t){},cancelCellEdit:function(e,i){}}})},defaultGridOptions:function(e){e.cellEditableCondition=void 0===e.cellEditableCondition||e.cellEditableCondition,e.enableCellEditOnFocus=void 0!==e.enableCellEditOnFocus&&e.enableCellEditOnFocus},editColumnBuilder:function(i,t,e){var n=[];return i.enableCellEdit=void 0===i.enableCellEdit?void 0===e.enableCellEdit?"object"!==i.type:e.enableCellEdit:i.enableCellEdit,i.cellEditableCondition=void 0===i.cellEditableCondition?e.cellEditableCondition:i.cellEditableCondition,i.enableCellEdit&&(i.editableCellTemplate=i.editableCellTemplate||e.editableCellTemplate||"ui-grid/cellEditor",n.push(l.getTemplate(i.editableCellTemplate).then(function(e){t.editableCellTemplate=e},function(e){throw new Error("Couldn't fetch/use colDef.editableCellTemplate '"+i.editableCellTemplate+"'")}))),i.enableCellEditOnFocus=void 0===i.enableCellEditOnFocus?e.enableCellEditOnFocus:i.enableCellEditOnFocus,o.all(n)},isStartEditKey:function(e){return!(e.metaKey||e.keyCode===i.keymap.ESC||e.keyCode===i.keymap.SHIFT||e.keyCode===i.keymap.CTRL||e.keyCode===i.keymap.ALT||e.keyCode===i.keymap.WIN||e.keyCode===i.keymap.CAPSLOCK||e.keyCode===i.keymap.LEFT||e.keyCode===i.keymap.TAB&&e.shiftKey||e.keyCode===i.keymap.RIGHT||e.keyCode===i.keymap.TAB||e.keyCode===i.keymap.UP||e.keyCode===i.keymap.ENTER&&e.shiftKey||e.keyCode===i.keymap.DOWN||e.keyCode===i.keymap.ENTER)}};return t}]),e.directive("uiGridEdit",["gridUtil","uiGridEditService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,t,n){o.initializeGrid(n.grid)},post:function(e,i,t,n){}}}}}]),e.directive("uiGridViewport",["uiGridEditConstants",function(l){return{replace:!0,priority:-99998,require:["^uiGrid","^uiGridRenderContainer"],scope:!1,compile:function(){return{post:function(e,i,t,n){var o=n[0];o.grid.api.edit&&o.grid.api.cellNav&&("body"===n[1].containerId&&(e.$on(l.events.CANCEL_CELL_EDIT,function(){o.focus()}),e.$on(l.events.END_CELL_EDIT,function(){o.focus()})))}}}}}]),e.directive("uiGridCell",["$compile","$injector","$timeout","uiGridConstants","uiGridEditConstants","gridUtil","$parse","uiGridEditService","$rootScope","$q",function(b,e,h,T,k,w,_,f,I,G){if(e.has("uiGridCellNavService"))e.get("uiGridCellNavService");return{priority:-100,restrict:"A",scope:!1,require:"?^uiGrid",link:function(E,p,e,n){var C,v,g,i,y,m=!1;if(E.col.colDef.enableCellEdit){var t=function(){},o=function(){},l=function(){E.col.colDef.enableCellEdit&&!1!==E.row.enableCellEdit?E.beginEditEventsWired||d():E.beginEditEventsWired&&D()};l();var r=E.$watch("row",function(e,i){e!==i&&l()});E.$on("$destroy",function(){r(),p.off()})}function d(){p.on("dblclick",s),p.on("touchstart",c),n&&n.grid.api.cellNav&&(o=n.grid.api.cellNav.on.viewPortKeyDown(E,function(e,i){null!==i&&(i.row!==E.row||i.col!==E.col||E.col.colDef.enableCellEditOnFocus||u(e))}),t=n.grid.api.cellNav.on.navigate(E,function(e,i,t){E.col.colDef.enableCellEditOnFocus&&(e.row!==E.row||e.col!==E.col||null!==t&&(!t||"click"!==t.type&&"keydown"!==t.type)||h(function(){s(t)}))})),E.beginEditEventsWired=!0}function c(e){void 0!==e.originalEvent&&void 0!==e.originalEvent&&(e=e.originalEvent),p.on("touchend",a),(i=h(function(){},500)).then(function(){setTimeout(s,0),p.off("touchend",a)}).catch(angular.noop)}function a(){h.cancel(i),p.off("touchend",a)}function D(){p.off("dblclick",s),p.off("keydown",u),p.off("touchstart",c),t(),o(),E.beginEditEventsWired=!1}function u(e){f.isStartEditKey(e)&&s(e)}function s(e){E.grid.api.core.scrollToIfNecessary(E.row,E.col).then(function(){!function(e){if(m)return;if(i=E.col,t=E.row,n=e,t.isSaving||(angular.isFunction(i.colDef.cellEditableCondition)?!i.colDef.cellEditableCondition(E,n):!i.colDef.cellEditableCondition))return;var i,t,n;var o=E.row.getQualifiedColField(E.col);E.col.colDef.editModelField&&(o=w.preEval("row.entity."+E.col.colDef.editModelField));g=_(o),v=g(E),C=(C=(C=E.col.editableCellTemplate).replace(T.MODEL_COL_FIELD,o)).replace(T.COL_FIELD,"grid.getCellValue(row, col)");var l=E.col.colDef.editDropdownFilter?"|"+E.col.colDef.editDropdownFilter:"";C=C.replace(T.CUSTOM_FILTERS,l);var r="text";switch(E.col.colDef.type){case"boolean":r="checkbox";break;case"number":r="number";break;case"date":r="date"}C=C.replace("INPUT_TYPE",r);var d=E.col.colDef.editDropdownOptionsFunction;if(d)G.when(d(E.row.entity,E.col.colDef)).then(function(e){E.editDropdownOptionsArray=e});else{var c=E.col.colDef.editDropdownRowEntityOptionsArrayPath;E.editDropdownOptionsArray=c?function(e,i){var t=(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(;t.length;){var n=t.shift();if(!(n in e))return;e=e[n]}return e}(E.row.entity,c):E.col.colDef.editDropdownOptionsArray}E.editDropdownIdLabel=E.col.colDef.editDropdownIdLabel?E.col.colDef.editDropdownIdLabel:"id",E.editDropdownValueLabel=E.col.colDef.editDropdownValueLabel?E.col.colDef.editDropdownValueLabel:"value";var a=function(){m=!0,D();var e=angular.element(C);p.append(e),y=E.$new(),b(e)(y);var i=angular.element(p.children()[0]);i.addClass("ui-grid-cell-contents-hidden")};I.$$phase?a():E.$apply(a);var u=E.col.grid.api.core.on.scrollBegin(E,function(){E.grid.disableScrolling||(L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),u(),s(),f())}),s=E.$on(k.events.END_CELL_EDIT,function(){L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),s(),u(),f()}),f=E.$on(k.events.CANCEL_CELL_EDIT,function(){!function(){if(E.grid.disableScrolling=!1,!m)return;g.assign(E,v),E.$apply(),E.grid.api.edit.raise.cancelCellEdit(E.row.entity,E.col.colDef),L()}(),f(),u(),s()});E.$broadcast(k.events.BEGIN_CELL_EDIT,e),h(function(){E.grid.api.edit.raise.beginCellEdit(E.row.entity,E.col.colDef,e)})}(e)})}function L(){if(E.grid.disableScrolling=!1,m){n&&n.grid.api.cellNav&&n.focus();var e=angular.element(p.children()[0]);y.$destroy();for(var i=p.children(),t=1;t<i.length;t++)angular.element(i[t]).remove();e.removeClass("ui-grid-cell-contents-hidden"),m=!1,d(),E.grid.api.core.notifyDataChange(T.dataChange.EDIT)}}}}}]),e.directive("uiGridEditor",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout","uiGridEditService",function(e,d,c,a,u){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer","ngModel"],compile:function(){return{pre:function(e,i,t){},post:function(i,t,e,n){var o,l,r;n[0]&&(o=n[0]),n[1]&&(l=n[1]),n[2]&&(r=n[2]),i.$on(c.events.BEGIN_CELL_EDIT,function(){if(a(function(){if(t[0].focus(),!t[0].select||!i.col.colDef.enableCellEditOnFocus&&o&&o.grid.api.cellNav)try{t[0].setSelectionRange(t[0].value.length,t[0].value.length)}catch(e){}else t[0].select()}),o&&o.grid.api.cellNav)var n=o.grid.api.cellNav.on.viewPortKeyPress(i,function(e,i){if(u.isStartEditKey(e)){var t="number"==typeof e.which?e.which:e.keyCode;0<t&&(r.$setViewValue(String.fromCharCode(t),e),r.$render())}n()});t.on("mousedown",function(e){"checkbox"===t[0].type&&(t.off("blur",i.stopEdit),a(function(){t[0].focus(),t.on("blur",i.stopEdit)}))}),t.on("blur",i.stopEdit)}),i.deepEdit=!1,i.stopEdit=function(e){i.inputForm&&!i.inputForm.$valid?(e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)):i.$emit(c.events.END_CELL_EDIT),i.deepEdit=!1},t.on("click",function(e){"checkbox"!==t[0].type&&(i.deepEdit=!0,i.$applyAsync(function(){i.grid.disableScrolling=!0}))}),t.on("keydown",function(e){switch(e.keyCode){case d.keymap.ESC:e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)}if(!i.deepEdit||e.keyCode!==d.keymap.LEFT&&e.keyCode!==d.keymap.RIGHT&&e.keyCode!==d.keymap.UP&&e.keyCode!==d.keymap.DOWN)if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case d.keymap.ENTER:case d.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}else e.stopPropagation();return!0}),i.$on("$destroy",function(){t.off()})}}}}}]),e.directive("uiGridEditor",["$filter",function(o){return{priority:-100,require:"?ngModel",link:function(e,i,t,n){2===angular.version.minor&&t.type&&"date"===t.type&&n&&(n.$formatters.push(function(e){return n.$setValidity(null,!e||!isNaN(e.getTime())),o("date")(e,"yyyy-MM-dd")}),n.$parsers.push(function(e){if(e&&0<e.length){var i=function(e){if(void 0===e||""===e)return null;var i=e.split("-");if(3!==i.length)return null;var t=parseInt(i[0],10),n=parseInt(i[1],10),o=parseInt(i[2],10);return n<1||t<1||o<1?null:new Date(t,n-1,o)}(e);return n.$setValidity(null,i&&!isNaN(i.getTime())),i}return n.$setValidity(null,!0),null}))}}}]),e.directive("uiGridEditDropdown",["uiGridConstants","uiGridEditConstants","$timeout",function(r,d,c){return{require:["?^uiGrid","?^uiGridRenderContainer"],scope:!0,compile:function(){return{pre:function(e,i,t){},post:function(i,e,t,n){var o=n[0],l=n[1];i.$on(d.events.BEGIN_CELL_EDIT,function(){c(function(){e[0].focus()}),e[0].style.width=e[0].parentElement.offsetWidth-1+"px",e.on("blur",function(e){i.stopEdit(e)})}),i.stopEdit=function(e){i.$emit(d.events.END_CELL_EDIT)},e.on("keydown",function(e){switch(e.keyCode){case r.keymap.ESC:e.stopPropagation(),i.$emit(d.events.CANCEL_CELL_EDIT)}if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case r.keymap.ENTER:case r.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}return!0}),i.$on("$destroy",function(){e.off()})}}}}}]),e.directive("uiGridEditFileChooser",["gridUtil","uiGridConstants","uiGridEditConstants",function(l,e,r){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer"],compile:function(){return{pre:function(e,i,t){},post:function(n,o){o[0].addEventListener("change",function e(i){var t=i.srcElement||i.target;t&&t.files&&0<t.files.length?("function"==typeof n.col.colDef.editFileChooserCallback?n.col.colDef.editFileChooserCallback(n.row,n.col,t.files):l.logError("You need to set colDef.editFileChooserCallback to use the file chooser"),t.form.reset(),n.$emit(r.events.END_CELL_EDIT)):n.$emit(r.events.CANCEL_CELL_EDIT),o[0].removeEventListener("change",e,!1)},!1),n.$on(r.events.BEGIN_CELL_EDIT,function(){o[0].focus(),o[0].select(),o.on("blur",function(){n.$emit(r.events.END_CELL_EDIT),o.off()})})}}}}}])}(),angular.module("ui.grid.edit").run(["$templateCache",function(e){"use strict";e.put("ui-grid/cellEditor",'<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="\'colt\' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/dropdownEditor",'<div><form name="inputForm"><select ng-class="\'colt\' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>'),e.put("ui-grid/fileChooserEditor",'<div><form name="inputForm"><input ng-class="\'colt\' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>')}]); | ||
!function(){"use strict";var e=angular.module("ui.grid.edit",["ui.grid"]);e.constant("uiGridEditConstants",{EDITABLE_CELL_TEMPLATE:/EDITABLE_CELL_TEMPLATE/g,EDITABLE_CELL_DIRECTIVE:/editable_cell_directive/g,events:{BEGIN_CELL_EDIT:"uiGridEventBeginCellEdit",END_CELL_EDIT:"uiGridEventEndCellEdit",CANCEL_CELL_EDIT:"uiGridEventCancelCellEdit"}}),e.service("uiGridEditService",["$q","uiGridConstants","gridUtil",function(o,i,l){var t={initializeGrid:function(e){t.defaultGridOptions(e.options),e.registerColumnBuilder(t.editColumnBuilder),e.edit={};e.api.registerEventsFromObject({edit:{afterCellEdit:function(e,i,t,n){},beginCellEdit:function(e,i,t){},cancelCellEdit:function(e,i){}}})},defaultGridOptions:function(e){e.cellEditableCondition=void 0===e.cellEditableCondition||e.cellEditableCondition,e.enableCellEditOnFocus=void 0!==e.enableCellEditOnFocus&&e.enableCellEditOnFocus},editColumnBuilder:function(i,t,e){var n=[];return i.enableCellEdit=void 0===i.enableCellEdit?void 0===e.enableCellEdit?"object"!==i.type:e.enableCellEdit:i.enableCellEdit,i.cellEditableCondition=void 0===i.cellEditableCondition?e.cellEditableCondition:i.cellEditableCondition,i.enableCellEdit&&(i.editableCellTemplate=i.editableCellTemplate||e.editableCellTemplate||"ui-grid/cellEditor",n.push(l.getTemplate(i.editableCellTemplate).then(function(e){t.editableCellTemplate=e},function(e){throw new Error("Couldn't fetch/use colDef.editableCellTemplate '"+i.editableCellTemplate+"'")}))),i.enableCellEditOnFocus=void 0===i.enableCellEditOnFocus?e.enableCellEditOnFocus:i.enableCellEditOnFocus,o.all(n)},isStartEditKey:function(e){return!(e.metaKey||e.keyCode===i.keymap.ESC||e.keyCode===i.keymap.SHIFT||e.keyCode===i.keymap.CTRL||e.keyCode===i.keymap.ALT||e.keyCode===i.keymap.WIN||e.keyCode===i.keymap.CAPSLOCK||e.keyCode===i.keymap.LEFT||e.keyCode===i.keymap.TAB&&e.shiftKey||e.keyCode===i.keymap.RIGHT||e.keyCode===i.keymap.TAB||e.keyCode===i.keymap.UP||e.keyCode===i.keymap.ENTER&&e.shiftKey||e.keyCode===i.keymap.DOWN||e.keyCode===i.keymap.ENTER)}};return t}]),e.directive("uiGridEdit",["gridUtil","uiGridEditService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,t,n){o.initializeGrid(n.grid)},post:function(e,i,t,n){}}}}}]),e.directive("uiGridViewport",["uiGridEditConstants",function(l){return{replace:!0,priority:-99998,require:["^uiGrid","^uiGridRenderContainer"],scope:!1,compile:function(){return{post:function(e,i,t,n){var o=n[0];o.grid.api.edit&&o.grid.api.cellNav&&("body"===n[1].containerId&&(e.$on(l.events.CANCEL_CELL_EDIT,function(){o.focus()}),e.$on(l.events.END_CELL_EDIT,function(){o.focus()})))}}}}}]),e.directive("uiGridCell",["$compile","$injector","$timeout","uiGridConstants","uiGridEditConstants","gridUtil","$parse","uiGridEditService","$rootScope","$q",function(b,e,h,T,k,w,_,f,I,G){if(e.has("uiGridCellNavService"))e.get("uiGridCellNavService");return{priority:-100,restrict:"A",scope:!1,require:"?^uiGrid",link:function(E,p,e,n){var C,v,g,i,y,m=!1;if(E.col.colDef.enableCellEdit){var t=function(){},o=function(){},l=function(){E.col.colDef.enableCellEdit&&!1!==E.row.enableCellEdit?E.beginEditEventsWired||d():E.beginEditEventsWired&&D()};l();var r=E.$watch("row",function(e,i){e!==i&&l()});E.$on("$destroy",function(){r(),p.off()})}function d(){p.on("dblclick",s),p.on("touchstart",c),n&&n.grid.api.cellNav&&(o=n.grid.api.cellNav.on.viewPortKeyDown(E,function(e,i){null!==i&&(i.row!==E.row||i.col!==E.col||E.col.colDef.enableCellEditOnFocus||u(e))}),t=n.grid.api.cellNav.on.navigate(E,function(e,i,t){E.col.colDef.enableCellEditOnFocus&&(e.row!==E.row||e.col!==E.col||null!==t&&(!t||"click"!==t.type&&"keydown"!==t.type)||h(function(){s(t)}))})),E.beginEditEventsWired=!0}function c(e){void 0!==e.originalEvent&&void 0!==e.originalEvent&&(e=e.originalEvent),p.on("touchend",a),(i=h(function(){},500)).then(function(){setTimeout(s,0),p.off("touchend",a)}).catch(angular.noop)}function a(){h.cancel(i),p.off("touchend",a)}function D(){p.off("dblclick",s),p.off("keydown",u),p.off("touchstart",c),t(),o(),E.beginEditEventsWired=!1}function u(e){f.isStartEditKey(e)&&s(e)}function s(e){E.grid.api.core.scrollToIfNecessary(E.row,E.col).then(function(){!function(e){if(m)return;if(i=E.col,t=E.row,n=e,t.isSaving||(angular.isFunction(i.colDef.cellEditableCondition)?!i.colDef.cellEditableCondition(E,n):!i.colDef.cellEditableCondition))return;var i,t,n;var o=E.row.getQualifiedColField(E.col);E.col.colDef.editModelField&&(o=w.preEval("row.entity."+E.col.colDef.editModelField));g=_(o),v=g(E),C=(C=(C=E.col.editableCellTemplate).replace(T.MODEL_COL_FIELD,o)).replace(T.COL_FIELD,"grid.getCellValue(row, col)");var l=E.col.colDef.editDropdownFilter?"|"+E.col.colDef.editDropdownFilter:"";C=C.replace(T.CUSTOM_FILTERS,l);var r="text";switch(E.col.colDef.type){case"boolean":r="checkbox";break;case"number":r="number";break;case"date":r="date"}C=C.replace("INPUT_TYPE",r);var d=E.col.colDef.editDropdownOptionsFunction;if(d)G.when(d(E.row.entity,E.col.colDef)).then(function(e){E.editDropdownOptionsArray=e});else{var c=E.col.colDef.editDropdownRowEntityOptionsArrayPath;E.editDropdownOptionsArray=c?function(e,i){var t=(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(;t.length;){var n=t.shift();if(!(n in e))return;e=e[n]}return e}(E.row.entity,c):E.col.colDef.editDropdownOptionsArray}E.editDropdownIdLabel=E.col.colDef.editDropdownIdLabel?E.col.colDef.editDropdownIdLabel:"id",E.editDropdownValueLabel=E.col.colDef.editDropdownValueLabel?E.col.colDef.editDropdownValueLabel:"value";var a=function(){m=!0,D();var e=angular.element(C);p.append(e),y=E.$new(),b(e)(y);var i=angular.element(p.children()[0]);i.addClass("ui-grid-cell-contents-hidden")};I.$$phase?a():E.$apply(a);var u=E.col.grid.api.core.on.scrollBegin(E,function(){E.grid.disableScrolling||(L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),u(),s(),f())}),s=E.$on(k.events.END_CELL_EDIT,function(){L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),s(),u(),f()}),f=E.$on(k.events.CANCEL_CELL_EDIT,function(){!function(){if(E.grid.disableScrolling=!1,!m)return;g.assign(E,v),E.$apply(),E.grid.api.edit.raise.cancelCellEdit(E.row.entity,E.col.colDef),L()}(),f(),u(),s()});E.$broadcast(k.events.BEGIN_CELL_EDIT,e),h(function(){E.grid.api.edit.raise.beginCellEdit(E.row.entity,E.col.colDef,e)})}(e)})}function L(){if(E.grid.disableScrolling=!1,m){n&&n.grid.api.cellNav&&n.focus();var e=angular.element(p.children()[0]);y.$destroy();for(var i=p.children(),t=1;t<i.length;t++)angular.element(i[t]).remove();e.removeClass("ui-grid-cell-contents-hidden"),m=!1,d(),E.grid.api.core.notifyDataChange(T.dataChange.EDIT)}}}}}]),e.directive("uiGridEditor",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout","uiGridEditService",function(e,d,c,a,u){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer","ngModel"],compile:function(){return{pre:function(e,i,t){},post:function(i,t,e,n){var o,l,r;n[0]&&(o=n[0]),n[1]&&(l=n[1]),n[2]&&(r=n[2]),i.$on(c.events.BEGIN_CELL_EDIT,function(){if(a(function(){if(t[0].focus(),!t[0].select||!i.col.colDef.enableCellEditOnFocus&&o&&o.grid.api.cellNav)try{t[0].setSelectionRange(t[0].value.length,t[0].value.length)}catch(e){}else t[0].select()}),o&&o.grid.api.cellNav)var n=o.grid.api.cellNav.on.viewPortKeyPress(i,function(e,i){if(u.isStartEditKey(e)){var t="number"==typeof e.which?e.which:e.keyCode;0<t&&(r.$setViewValue(String.fromCharCode(t),e),r.$render())}n()});t.on("mousedown",function(e){"checkbox"===t[0].type&&(t.off("blur",i.stopEdit),a(function(){t[0].focus(),t.on("blur",i.stopEdit)}))}),t[0]&&t[0].focus(),t.on("blur",i.stopEdit)}),i.deepEdit=!1,i.stopEdit=function(e){i.inputForm&&!i.inputForm.$valid?(e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)):i.$emit(c.events.END_CELL_EDIT),i.deepEdit=!1},t.on("click",function(e){"checkbox"!==t[0].type&&(i.deepEdit=!0,i.$applyAsync(function(){i.grid.disableScrolling=!0}))}),t.on("keydown",function(e){switch(e.keyCode){case d.keymap.ESC:e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)}if(!i.deepEdit||e.keyCode!==d.keymap.LEFT&&e.keyCode!==d.keymap.RIGHT&&e.keyCode!==d.keymap.UP&&e.keyCode!==d.keymap.DOWN)if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case d.keymap.ENTER:case d.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}else e.stopPropagation();return!0}),i.$on("$destroy",function(){t.off()})}}}}}]),e.directive("uiGridEditor",["$filter",function(o){return{priority:-100,require:"?ngModel",link:function(e,i,t,n){2===angular.version.minor&&t.type&&"date"===t.type&&n&&(n.$formatters.push(function(e){return n.$setValidity(null,!e||!isNaN(e.getTime())),o("date")(e,"yyyy-MM-dd")}),n.$parsers.push(function(e){if(e&&0<e.length){var i=function(e){if(void 0===e||""===e)return null;var i=e.split("-");if(3!==i.length)return null;var t=parseInt(i[0],10),n=parseInt(i[1],10),o=parseInt(i[2],10);return n<1||t<1||o<1?null:new Date(t,n-1,o)}(e);return n.$setValidity(null,i&&!isNaN(i.getTime())),i}return n.$setValidity(null,!0),null}))}}}]),e.directive("uiGridEditDropdown",["uiGridConstants","uiGridEditConstants","$timeout",function(r,d,c){return{require:["?^uiGrid","?^uiGridRenderContainer"],scope:!0,compile:function(){return{pre:function(e,i,t){},post:function(i,e,t,n){var o=n[0],l=n[1];i.$on(d.events.BEGIN_CELL_EDIT,function(){c(function(){e[0].focus()}),e[0].style.width=e[0].parentElement.offsetWidth-1+"px",e.on("blur",function(e){i.stopEdit(e)})}),i.stopEdit=function(e){i.$emit(d.events.END_CELL_EDIT)},e.on("keydown",function(e){switch(e.keyCode){case r.keymap.ESC:e.stopPropagation(),i.$emit(d.events.CANCEL_CELL_EDIT)}if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case r.keymap.ENTER:case r.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}return!0}),i.$on("$destroy",function(){e.off()})}}}}}]),e.directive("uiGridEditFileChooser",["gridUtil","uiGridConstants","uiGridEditConstants",function(l,e,r){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer"],compile:function(){return{pre:function(e,i,t){},post:function(n,o){o[0].addEventListener("change",function e(i){var t=i.srcElement||i.target;t&&t.files&&0<t.files.length?("function"==typeof n.col.colDef.editFileChooserCallback?n.col.colDef.editFileChooserCallback(n.row,n.col,t.files):l.logError("You need to set colDef.editFileChooserCallback to use the file chooser"),t.form.reset(),n.$emit(r.events.END_CELL_EDIT)):n.$emit(r.events.CANCEL_CELL_EDIT),o[0].removeEventListener("change",e,!1)},!1),n.$on(r.events.BEGIN_CELL_EDIT,function(){o[0].focus(),o[0].select(),o.on("blur",function(){n.$emit(r.events.END_CELL_EDIT),o.off()})})}}}}}])}(),angular.module("ui.grid.edit").run(["$templateCache",function(e){"use strict";e.put("ui-grid/cellEditor",'<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="\'colt\' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/dropdownEditor",'<div><form name="inputForm"><select ng-class="\'colt\' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>'),e.put("ui-grid/fileChooserEditor",'<div><form name="inputForm"><input ng-class="\'colt\' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>')}]); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -127,2 +127,5 @@ */ | ||
var colIndex = renderContainer.visibleColumnCache.indexOf(col); | ||
if (colIndex === 0) { | ||
return renderContainer.visibleColumnCache[0]; | ||
} | ||
return renderContainer.visibleColumnCache[colIndex - 1 * rtlMultiplier]; | ||
@@ -129,0 +132,0 @@ } else { |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -7,2 +7,2 @@ */ | ||
!function(){"use strict";var e=angular.module("ui.grid.resizeColumns",["ui.grid"]);e.service("uiGridResizeColumnsService",["gridUtil","$q","$rootScope",function(r,o,t){return{defaultGridOptions:function(e){e.enableColumnResizing=!1!==e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1)},colResizerColumnBuilder:function(e,i,n){return e.enableColumnResizing=void 0===e.enableColumnResizing?n.enableColumnResizing:e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1),o.all([])},registerPublicApi:function(e){e.api.registerEventsFromObject({colResizable:{columnSizeChanged:function(e,i){}}})},fireColumnSizeChanged:function(e,i,n){t.$applyAsync(function(){e.api.colResizable?e.api.colResizable.raise.columnSizeChanged(i,n):r.logError("The resizeable api is not registered, this may indicate that you've included the module but not added the 'ui-grid-resize-columns' directive to your grid definition. Cannot raise any events.")})},findTargetCol:function(e,i,n){var r=e.getRenderContainer();if("left"!==i)return e;var o=r.visibleColumnCache.indexOf(e);return r.visibleColumnCache[o-1*n]}}}]),e.directive("uiGridResizeColumns",["gridUtil","uiGridResizeColumnsService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,n,r){o.defaultGridOptions(r.grid.options),r.grid.registerColumnBuilder(o.colResizerColumnBuilder),o.registerPublicApi(r.grid)},post:function(e,i,n,r){}}}}}]),e.directive("uiGridHeaderCell",["gridUtil","$templateCache","$compile","$q","uiGridResizeColumnsService","uiGridConstants",function(e,t,d,i,c,g){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(l,u,e,i){var n=i.grid;if(n.options.enableColumnResizing){var a=t.get("ui-grid/columnResizer"),s=1;n.isRTL()&&(l.position="left",s=-1);var r=function(){for(var e=u[0].getElementsByClassName("ui-grid-column-resizer"),i=0;i<e.length;i++)angular.element(e[i]).remove();var n=c.findTargetCol(l.col,"left",s),r=l.col.getRenderContainer();if(n&&0!==r.visibleColumnCache.indexOf(l.col)&&!1!==n.colDef.enableColumnResizing){var o=angular.element(a).clone();o.attr("position","left"),u.prepend(o),d(o)(l)}if(!1!==l.col.colDef.enableColumnResizing){var t=angular.element(a).clone();t.attr("position","right"),u.append(t),d(t)(l)}};r();var o=n.registerDataChangeCallback(function(){l.$applyAsync(r)},[g.dataChange.COLUMN]);l.$on("$destroy",o)}}}}}}]),e.directive("uiGridColumnResizer",["$document","gridUtil","uiGridConstants","uiGridResizeColumnsService",function(v,h,p,z){var R=angular.element('<div class="ui-grid-resize-overlay"></div>');return{priority:0,scope:{col:"=",position:"@",renderIndex:"="},require:"?^uiGrid",link:function(u,a,e,s){var t=0,l=0,d=0,c=1;function g(e){s.grid.refreshCanvas(!0).then(function(){s.grid.queueGridRefresh()})}function f(e,i){var n=i;return e.minWidth&&n<e.minWidth?n=e.minWidth:e.maxWidth&&n>e.maxWidth&&(n=e.maxWidth),n}function n(e,i){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),(l=(e.targetTouches?e.targetTouches[0]:e).clientX-d)<0?l=0:l>s.grid.gridWidth&&(l=s.grid.gridWidth);var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){s.grid.element.hasClass("column-resizing")||s.grid.element.addClass("column-resizing");var r=l-t,o=parseInt(n.drawnWidth+r*c,10);l+=(f(n,o)-o)*c,R.css({left:l+"px"}),s.fireEvent(p.events.ITEM_DRAGGING)}}function r(e){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),s.grid.element.removeClass("column-resizing"),R.remove();var i=(l=(e.changedTouches?e.changedTouches[0]:e).clientX-d)-t;if(0===i)return C(),void m();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var r=parseInt(n.drawnWidth+i*c,10);n.width=f(n,r),n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,i),C(),m()}}s.grid.isRTL()&&(u.position="left",c=-1),"left"===u.position?a.addClass("left"):"right"===u.position&&a.addClass("right");var o=function(e,i){e.originalEvent&&(e=e.originalEvent),e.stopPropagation(),d=s.grid.element[0].getBoundingClientRect().left,t=(e.targetTouches?e.targetTouches[0]:e).clientX-d,s.grid.element.append(R),R.css({left:t}),"touchstart"===e.type?(v.on("touchend",r),v.on("touchmove",n),a.off("mousedown",o)):(v.on("mouseup",r),v.on("mousemove",n),a.off("touchstart",o))},m=function(){a.on("mousedown",o),a.on("touchstart",o)},C=function(){v.off("mouseup",r),v.off("touchend",r),v.off("mousemove",n),v.off("touchmove",n),a.off("mousedown",o),a.off("touchstart",o)};m();var i=function(e,i){e.stopPropagation();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var o=0,r=h.closestElm(a,".ui-grid-render-container").querySelectorAll("."+p.COL_CLASS_PREFIX+n.uid+" .ui-grid-cell-contents");Array.prototype.forEach.call(r,function(e){var r;angular.element(e).parent().hasClass("ui-grid-header-cell")&&(r=angular.element(e).parent()[0].querySelectorAll(".ui-grid-column-menu-button")),h.fakeElement(e,{},function(e){var i=angular.element(e);i.attr("style","float: left");var n=h.elementWidth(i);r&&(n+=h.elementWidth(r));o<n&&(o=n)})});var t=f(n,o),l=t-n.drawnWidth;n.width=t,n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,l)}};a.on("dblclick",i),a.on("$destroy",function(){a.off("dblclick",i),C()})}}}])}(),angular.module("ui.grid.resizeColumns").run(["$templateCache",function(e){"use strict";e.put("ui-grid/columnResizer",'<div ui-grid-column-resizer ng-if="grid.options.enableColumnResizing" class="ui-grid-column-resizer" col="col" position="right" render-index="renderIndex" unselectable="on"></div>')}]); | ||
!function(){"use strict";var e=angular.module("ui.grid.resizeColumns",["ui.grid"]);e.service("uiGridResizeColumnsService",["gridUtil","$q","$rootScope",function(r,o,t){return{defaultGridOptions:function(e){e.enableColumnResizing=!1!==e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1)},colResizerColumnBuilder:function(e,i,n){return e.enableColumnResizing=void 0===e.enableColumnResizing?n.enableColumnResizing:e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1),o.all([])},registerPublicApi:function(e){e.api.registerEventsFromObject({colResizable:{columnSizeChanged:function(e,i){}}})},fireColumnSizeChanged:function(e,i,n){t.$applyAsync(function(){e.api.colResizable?e.api.colResizable.raise.columnSizeChanged(i,n):r.logError("The resizeable api is not registered, this may indicate that you've included the module but not added the 'ui-grid-resize-columns' directive to your grid definition. Cannot raise any events.")})},findTargetCol:function(e,i,n){var r=e.getRenderContainer();if("left"!==i)return e;var o=r.visibleColumnCache.indexOf(e);return 0===o?r.visibleColumnCache[0]:r.visibleColumnCache[o-1*n]}}}]),e.directive("uiGridResizeColumns",["gridUtil","uiGridResizeColumnsService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,n,r){o.defaultGridOptions(r.grid.options),r.grid.registerColumnBuilder(o.colResizerColumnBuilder),o.registerPublicApi(r.grid)},post:function(e,i,n,r){}}}}}]),e.directive("uiGridHeaderCell",["gridUtil","$templateCache","$compile","$q","uiGridResizeColumnsService","uiGridConstants",function(e,t,d,i,c,g){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(l,u,e,i){var n=i.grid;if(n.options.enableColumnResizing){var a=t.get("ui-grid/columnResizer"),s=1;n.isRTL()&&(l.position="left",s=-1);var r=function(){for(var e=u[0].getElementsByClassName("ui-grid-column-resizer"),i=0;i<e.length;i++)angular.element(e[i]).remove();var n=c.findTargetCol(l.col,"left",s),r=l.col.getRenderContainer();if(n&&0!==r.visibleColumnCache.indexOf(l.col)&&!1!==n.colDef.enableColumnResizing){var o=angular.element(a).clone();o.attr("position","left"),u.prepend(o),d(o)(l)}if(!1!==l.col.colDef.enableColumnResizing){var t=angular.element(a).clone();t.attr("position","right"),u.append(t),d(t)(l)}};r();var o=n.registerDataChangeCallback(function(){l.$applyAsync(r)},[g.dataChange.COLUMN]);l.$on("$destroy",o)}}}}}}]),e.directive("uiGridColumnResizer",["$document","gridUtil","uiGridConstants","uiGridResizeColumnsService",function(v,h,p,z){var R=angular.element('<div class="ui-grid-resize-overlay"></div>');return{priority:0,scope:{col:"=",position:"@",renderIndex:"="},require:"?^uiGrid",link:function(u,a,e,s){var t=0,l=0,d=0,c=1;function g(e){s.grid.refreshCanvas(!0).then(function(){s.grid.queueGridRefresh()})}function f(e,i){var n=i;return e.minWidth&&n<e.minWidth?n=e.minWidth:e.maxWidth&&n>e.maxWidth&&(n=e.maxWidth),n}function n(e,i){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),(l=(e.targetTouches?e.targetTouches[0]:e).clientX-d)<0?l=0:l>s.grid.gridWidth&&(l=s.grid.gridWidth);var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){s.grid.element.hasClass("column-resizing")||s.grid.element.addClass("column-resizing");var r=l-t,o=parseInt(n.drawnWidth+r*c,10);l+=(f(n,o)-o)*c,R.css({left:l+"px"}),s.fireEvent(p.events.ITEM_DRAGGING)}}function r(e){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),s.grid.element.removeClass("column-resizing"),R.remove();var i=(l=(e.changedTouches?e.changedTouches[0]:e).clientX-d)-t;if(0===i)return C(),void m();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var r=parseInt(n.drawnWidth+i*c,10);n.width=f(n,r),n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,i),C(),m()}}s.grid.isRTL()&&(u.position="left",c=-1),"left"===u.position?a.addClass("left"):"right"===u.position&&a.addClass("right");var o=function(e,i){e.originalEvent&&(e=e.originalEvent),e.stopPropagation(),d=s.grid.element[0].getBoundingClientRect().left,t=(e.targetTouches?e.targetTouches[0]:e).clientX-d,s.grid.element.append(R),R.css({left:t}),"touchstart"===e.type?(v.on("touchend",r),v.on("touchmove",n),a.off("mousedown",o)):(v.on("mouseup",r),v.on("mousemove",n),a.off("touchstart",o))},m=function(){a.on("mousedown",o),a.on("touchstart",o)},C=function(){v.off("mouseup",r),v.off("touchend",r),v.off("mousemove",n),v.off("touchmove",n),a.off("mousedown",o),a.off("touchstart",o)};m();var i=function(e,i){e.stopPropagation();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var o=0,r=h.closestElm(a,".ui-grid-render-container").querySelectorAll("."+p.COL_CLASS_PREFIX+n.uid+" .ui-grid-cell-contents");Array.prototype.forEach.call(r,function(e){var r;angular.element(e).parent().hasClass("ui-grid-header-cell")&&(r=angular.element(e).parent()[0].querySelectorAll(".ui-grid-column-menu-button")),h.fakeElement(e,{},function(e){var i=angular.element(e);i.attr("style","float: left");var n=h.elementWidth(i);r&&(n+=h.elementWidth(r));o<n&&(o=n)})});var t=f(n,o),l=t-n.drawnWidth;n.width=t,n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,l)}};a.on("dblclick",i),a.on("$destroy",function(){a.off("dblclick",i),C()})}}}])}(),angular.module("ui.grid.resizeColumns").run(["$templateCache",function(e){"use strict";e.put("ui-grid/columnResizer",'<div ui-grid-column-resizer ng-if="grid.options.enableColumnResizing" class="ui-grid-column-resizer" col="col" position="right" render-index="renderIndex" unselectable="on"></div>')}]); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"angular": ">=1.4.0 1.7.x" | ||
"angular": ">=1.4.0 1.8.x" | ||
}, | ||
@@ -31,3 +31,3 @@ "repository": { | ||
"license": "MIT", | ||
"version": "4.8.5", | ||
"version": "4.9.0", | ||
"files": [ | ||
@@ -34,0 +34,0 @@ "css", |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -984,2 +984,5 @@ */ | ||
if ($elm[0]) { | ||
$elm[0].focus(); | ||
} | ||
$elm.on('blur', $scope.stopEdit); | ||
@@ -986,0 +989,0 @@ }); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -7,2 +7,2 @@ */ | ||
!function(){"use strict";var e=angular.module("ui.grid.edit",["ui.grid"]);e.constant("uiGridEditConstants",{EDITABLE_CELL_TEMPLATE:/EDITABLE_CELL_TEMPLATE/g,EDITABLE_CELL_DIRECTIVE:/editable_cell_directive/g,events:{BEGIN_CELL_EDIT:"uiGridEventBeginCellEdit",END_CELL_EDIT:"uiGridEventEndCellEdit",CANCEL_CELL_EDIT:"uiGridEventCancelCellEdit"}}),e.service("uiGridEditService",["$q","uiGridConstants","gridUtil",function(o,i,l){var t={initializeGrid:function(e){t.defaultGridOptions(e.options),e.registerColumnBuilder(t.editColumnBuilder),e.edit={};e.api.registerEventsFromObject({edit:{afterCellEdit:function(e,i,t,n){},beginCellEdit:function(e,i,t){},cancelCellEdit:function(e,i){}}})},defaultGridOptions:function(e){e.cellEditableCondition=void 0===e.cellEditableCondition||e.cellEditableCondition,e.enableCellEditOnFocus=void 0!==e.enableCellEditOnFocus&&e.enableCellEditOnFocus},editColumnBuilder:function(i,t,e){var n=[];return i.enableCellEdit=void 0===i.enableCellEdit?void 0===e.enableCellEdit?"object"!==i.type:e.enableCellEdit:i.enableCellEdit,i.cellEditableCondition=void 0===i.cellEditableCondition?e.cellEditableCondition:i.cellEditableCondition,i.enableCellEdit&&(i.editableCellTemplate=i.editableCellTemplate||e.editableCellTemplate||"ui-grid/cellEditor",n.push(l.getTemplate(i.editableCellTemplate).then(function(e){t.editableCellTemplate=e},function(e){throw new Error("Couldn't fetch/use colDef.editableCellTemplate '"+i.editableCellTemplate+"'")}))),i.enableCellEditOnFocus=void 0===i.enableCellEditOnFocus?e.enableCellEditOnFocus:i.enableCellEditOnFocus,o.all(n)},isStartEditKey:function(e){return!(e.metaKey||e.keyCode===i.keymap.ESC||e.keyCode===i.keymap.SHIFT||e.keyCode===i.keymap.CTRL||e.keyCode===i.keymap.ALT||e.keyCode===i.keymap.WIN||e.keyCode===i.keymap.CAPSLOCK||e.keyCode===i.keymap.LEFT||e.keyCode===i.keymap.TAB&&e.shiftKey||e.keyCode===i.keymap.RIGHT||e.keyCode===i.keymap.TAB||e.keyCode===i.keymap.UP||e.keyCode===i.keymap.ENTER&&e.shiftKey||e.keyCode===i.keymap.DOWN||e.keyCode===i.keymap.ENTER)}};return t}]),e.directive("uiGridEdit",["gridUtil","uiGridEditService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,t,n){o.initializeGrid(n.grid)},post:function(e,i,t,n){}}}}}]),e.directive("uiGridViewport",["uiGridEditConstants",function(l){return{replace:!0,priority:-99998,require:["^uiGrid","^uiGridRenderContainer"],scope:!1,compile:function(){return{post:function(e,i,t,n){var o=n[0];o.grid.api.edit&&o.grid.api.cellNav&&("body"===n[1].containerId&&(e.$on(l.events.CANCEL_CELL_EDIT,function(){o.focus()}),e.$on(l.events.END_CELL_EDIT,function(){o.focus()})))}}}}}]),e.directive("uiGridCell",["$compile","$injector","$timeout","uiGridConstants","uiGridEditConstants","gridUtil","$parse","uiGridEditService","$rootScope","$q",function(b,e,h,T,k,w,_,f,I,G){if(e.has("uiGridCellNavService"))e.get("uiGridCellNavService");return{priority:-100,restrict:"A",scope:!1,require:"?^uiGrid",link:function(E,p,e,n){var C,v,g,i,y,m=!1;if(E.col.colDef.enableCellEdit){var t=function(){},o=function(){},l=function(){E.col.colDef.enableCellEdit&&!1!==E.row.enableCellEdit?E.beginEditEventsWired||d():E.beginEditEventsWired&&D()};l();var r=E.$watch("row",function(e,i){e!==i&&l()});E.$on("$destroy",function(){r(),p.off()})}function d(){p.on("dblclick",s),p.on("touchstart",c),n&&n.grid.api.cellNav&&(o=n.grid.api.cellNav.on.viewPortKeyDown(E,function(e,i){null!==i&&(i.row!==E.row||i.col!==E.col||E.col.colDef.enableCellEditOnFocus||u(e))}),t=n.grid.api.cellNav.on.navigate(E,function(e,i,t){E.col.colDef.enableCellEditOnFocus&&(e.row!==E.row||e.col!==E.col||null!==t&&(!t||"click"!==t.type&&"keydown"!==t.type)||h(function(){s(t)}))})),E.beginEditEventsWired=!0}function c(e){void 0!==e.originalEvent&&void 0!==e.originalEvent&&(e=e.originalEvent),p.on("touchend",a),(i=h(function(){},500)).then(function(){setTimeout(s,0),p.off("touchend",a)}).catch(angular.noop)}function a(){h.cancel(i),p.off("touchend",a)}function D(){p.off("dblclick",s),p.off("keydown",u),p.off("touchstart",c),t(),o(),E.beginEditEventsWired=!1}function u(e){f.isStartEditKey(e)&&s(e)}function s(e){E.grid.api.core.scrollToIfNecessary(E.row,E.col).then(function(){!function(e){if(m)return;if(i=E.col,t=E.row,n=e,t.isSaving||(angular.isFunction(i.colDef.cellEditableCondition)?!i.colDef.cellEditableCondition(E,n):!i.colDef.cellEditableCondition))return;var i,t,n;var o=E.row.getQualifiedColField(E.col);E.col.colDef.editModelField&&(o=w.preEval("row.entity."+E.col.colDef.editModelField));g=_(o),v=g(E),C=(C=(C=E.col.editableCellTemplate).replace(T.MODEL_COL_FIELD,o)).replace(T.COL_FIELD,"grid.getCellValue(row, col)");var l=E.col.colDef.editDropdownFilter?"|"+E.col.colDef.editDropdownFilter:"";C=C.replace(T.CUSTOM_FILTERS,l);var r="text";switch(E.col.colDef.type){case"boolean":r="checkbox";break;case"number":r="number";break;case"date":r="date"}C=C.replace("INPUT_TYPE",r);var d=E.col.colDef.editDropdownOptionsFunction;if(d)G.when(d(E.row.entity,E.col.colDef)).then(function(e){E.editDropdownOptionsArray=e});else{var c=E.col.colDef.editDropdownRowEntityOptionsArrayPath;E.editDropdownOptionsArray=c?function(e,i){var t=(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(;t.length;){var n=t.shift();if(!(n in e))return;e=e[n]}return e}(E.row.entity,c):E.col.colDef.editDropdownOptionsArray}E.editDropdownIdLabel=E.col.colDef.editDropdownIdLabel?E.col.colDef.editDropdownIdLabel:"id",E.editDropdownValueLabel=E.col.colDef.editDropdownValueLabel?E.col.colDef.editDropdownValueLabel:"value";var a=function(){m=!0,D();var e=angular.element(C);p.append(e),y=E.$new(),b(e)(y);var i=angular.element(p.children()[0]);i.addClass("ui-grid-cell-contents-hidden")};I.$$phase?a():E.$apply(a);var u=E.col.grid.api.core.on.scrollBegin(E,function(){E.grid.disableScrolling||(L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),u(),s(),f())}),s=E.$on(k.events.END_CELL_EDIT,function(){L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),s(),u(),f()}),f=E.$on(k.events.CANCEL_CELL_EDIT,function(){!function(){if(E.grid.disableScrolling=!1,!m)return;g.assign(E,v),E.$apply(),E.grid.api.edit.raise.cancelCellEdit(E.row.entity,E.col.colDef),L()}(),f(),u(),s()});E.$broadcast(k.events.BEGIN_CELL_EDIT,e),h(function(){E.grid.api.edit.raise.beginCellEdit(E.row.entity,E.col.colDef,e)})}(e)})}function L(){if(E.grid.disableScrolling=!1,m){n&&n.grid.api.cellNav&&n.focus();var e=angular.element(p.children()[0]);y.$destroy();for(var i=p.children(),t=1;t<i.length;t++)angular.element(i[t]).remove();e.removeClass("ui-grid-cell-contents-hidden"),m=!1,d(),E.grid.api.core.notifyDataChange(T.dataChange.EDIT)}}}}}]),e.directive("uiGridEditor",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout","uiGridEditService",function(e,d,c,a,u){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer","ngModel"],compile:function(){return{pre:function(e,i,t){},post:function(i,t,e,n){var o,l,r;n[0]&&(o=n[0]),n[1]&&(l=n[1]),n[2]&&(r=n[2]),i.$on(c.events.BEGIN_CELL_EDIT,function(){if(a(function(){if(t[0].focus(),!t[0].select||!i.col.colDef.enableCellEditOnFocus&&o&&o.grid.api.cellNav)try{t[0].setSelectionRange(t[0].value.length,t[0].value.length)}catch(e){}else t[0].select()}),o&&o.grid.api.cellNav)var n=o.grid.api.cellNav.on.viewPortKeyPress(i,function(e,i){if(u.isStartEditKey(e)){var t="number"==typeof e.which?e.which:e.keyCode;0<t&&(r.$setViewValue(String.fromCharCode(t),e),r.$render())}n()});t.on("mousedown",function(e){"checkbox"===t[0].type&&(t.off("blur",i.stopEdit),a(function(){t[0].focus(),t.on("blur",i.stopEdit)}))}),t.on("blur",i.stopEdit)}),i.deepEdit=!1,i.stopEdit=function(e){i.inputForm&&!i.inputForm.$valid?(e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)):i.$emit(c.events.END_CELL_EDIT),i.deepEdit=!1},t.on("click",function(e){"checkbox"!==t[0].type&&(i.deepEdit=!0,i.$applyAsync(function(){i.grid.disableScrolling=!0}))}),t.on("keydown",function(e){switch(e.keyCode){case d.keymap.ESC:e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)}if(!i.deepEdit||e.keyCode!==d.keymap.LEFT&&e.keyCode!==d.keymap.RIGHT&&e.keyCode!==d.keymap.UP&&e.keyCode!==d.keymap.DOWN)if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case d.keymap.ENTER:case d.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}else e.stopPropagation();return!0}),i.$on("$destroy",function(){t.off()})}}}}}]),e.directive("uiGridEditor",["$filter",function(o){return{priority:-100,require:"?ngModel",link:function(e,i,t,n){2===angular.version.minor&&t.type&&"date"===t.type&&n&&(n.$formatters.push(function(e){return n.$setValidity(null,!e||!isNaN(e.getTime())),o("date")(e,"yyyy-MM-dd")}),n.$parsers.push(function(e){if(e&&0<e.length){var i=function(e){if(void 0===e||""===e)return null;var i=e.split("-");if(3!==i.length)return null;var t=parseInt(i[0],10),n=parseInt(i[1],10),o=parseInt(i[2],10);return n<1||t<1||o<1?null:new Date(t,n-1,o)}(e);return n.$setValidity(null,i&&!isNaN(i.getTime())),i}return n.$setValidity(null,!0),null}))}}}]),e.directive("uiGridEditDropdown",["uiGridConstants","uiGridEditConstants","$timeout",function(r,d,c){return{require:["?^uiGrid","?^uiGridRenderContainer"],scope:!0,compile:function(){return{pre:function(e,i,t){},post:function(i,e,t,n){var o=n[0],l=n[1];i.$on(d.events.BEGIN_CELL_EDIT,function(){c(function(){e[0].focus()}),e[0].style.width=e[0].parentElement.offsetWidth-1+"px",e.on("blur",function(e){i.stopEdit(e)})}),i.stopEdit=function(e){i.$emit(d.events.END_CELL_EDIT)},e.on("keydown",function(e){switch(e.keyCode){case r.keymap.ESC:e.stopPropagation(),i.$emit(d.events.CANCEL_CELL_EDIT)}if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case r.keymap.ENTER:case r.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}return!0}),i.$on("$destroy",function(){e.off()})}}}}}]),e.directive("uiGridEditFileChooser",["gridUtil","uiGridConstants","uiGridEditConstants",function(l,e,r){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer"],compile:function(){return{pre:function(e,i,t){},post:function(n,o){o[0].addEventListener("change",function e(i){var t=i.srcElement||i.target;t&&t.files&&0<t.files.length?("function"==typeof n.col.colDef.editFileChooserCallback?n.col.colDef.editFileChooserCallback(n.row,n.col,t.files):l.logError("You need to set colDef.editFileChooserCallback to use the file chooser"),t.form.reset(),n.$emit(r.events.END_CELL_EDIT)):n.$emit(r.events.CANCEL_CELL_EDIT),o[0].removeEventListener("change",e,!1)},!1),n.$on(r.events.BEGIN_CELL_EDIT,function(){o[0].focus(),o[0].select(),o.on("blur",function(){n.$emit(r.events.END_CELL_EDIT),o.off()})})}}}}}])}(),angular.module("ui.grid.edit").run(["$templateCache",function(e){"use strict";e.put("ui-grid/cellEditor",'<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="\'colt\' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/dropdownEditor",'<div><form name="inputForm"><select ng-class="\'colt\' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>'),e.put("ui-grid/fileChooserEditor",'<div><form name="inputForm"><input ng-class="\'colt\' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>')}]); | ||
!function(){"use strict";var e=angular.module("ui.grid.edit",["ui.grid"]);e.constant("uiGridEditConstants",{EDITABLE_CELL_TEMPLATE:/EDITABLE_CELL_TEMPLATE/g,EDITABLE_CELL_DIRECTIVE:/editable_cell_directive/g,events:{BEGIN_CELL_EDIT:"uiGridEventBeginCellEdit",END_CELL_EDIT:"uiGridEventEndCellEdit",CANCEL_CELL_EDIT:"uiGridEventCancelCellEdit"}}),e.service("uiGridEditService",["$q","uiGridConstants","gridUtil",function(o,i,l){var t={initializeGrid:function(e){t.defaultGridOptions(e.options),e.registerColumnBuilder(t.editColumnBuilder),e.edit={};e.api.registerEventsFromObject({edit:{afterCellEdit:function(e,i,t,n){},beginCellEdit:function(e,i,t){},cancelCellEdit:function(e,i){}}})},defaultGridOptions:function(e){e.cellEditableCondition=void 0===e.cellEditableCondition||e.cellEditableCondition,e.enableCellEditOnFocus=void 0!==e.enableCellEditOnFocus&&e.enableCellEditOnFocus},editColumnBuilder:function(i,t,e){var n=[];return i.enableCellEdit=void 0===i.enableCellEdit?void 0===e.enableCellEdit?"object"!==i.type:e.enableCellEdit:i.enableCellEdit,i.cellEditableCondition=void 0===i.cellEditableCondition?e.cellEditableCondition:i.cellEditableCondition,i.enableCellEdit&&(i.editableCellTemplate=i.editableCellTemplate||e.editableCellTemplate||"ui-grid/cellEditor",n.push(l.getTemplate(i.editableCellTemplate).then(function(e){t.editableCellTemplate=e},function(e){throw new Error("Couldn't fetch/use colDef.editableCellTemplate '"+i.editableCellTemplate+"'")}))),i.enableCellEditOnFocus=void 0===i.enableCellEditOnFocus?e.enableCellEditOnFocus:i.enableCellEditOnFocus,o.all(n)},isStartEditKey:function(e){return!(e.metaKey||e.keyCode===i.keymap.ESC||e.keyCode===i.keymap.SHIFT||e.keyCode===i.keymap.CTRL||e.keyCode===i.keymap.ALT||e.keyCode===i.keymap.WIN||e.keyCode===i.keymap.CAPSLOCK||e.keyCode===i.keymap.LEFT||e.keyCode===i.keymap.TAB&&e.shiftKey||e.keyCode===i.keymap.RIGHT||e.keyCode===i.keymap.TAB||e.keyCode===i.keymap.UP||e.keyCode===i.keymap.ENTER&&e.shiftKey||e.keyCode===i.keymap.DOWN||e.keyCode===i.keymap.ENTER)}};return t}]),e.directive("uiGridEdit",["gridUtil","uiGridEditService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,t,n){o.initializeGrid(n.grid)},post:function(e,i,t,n){}}}}}]),e.directive("uiGridViewport",["uiGridEditConstants",function(l){return{replace:!0,priority:-99998,require:["^uiGrid","^uiGridRenderContainer"],scope:!1,compile:function(){return{post:function(e,i,t,n){var o=n[0];o.grid.api.edit&&o.grid.api.cellNav&&("body"===n[1].containerId&&(e.$on(l.events.CANCEL_CELL_EDIT,function(){o.focus()}),e.$on(l.events.END_CELL_EDIT,function(){o.focus()})))}}}}}]),e.directive("uiGridCell",["$compile","$injector","$timeout","uiGridConstants","uiGridEditConstants","gridUtil","$parse","uiGridEditService","$rootScope","$q",function(b,e,h,T,k,w,_,f,I,G){if(e.has("uiGridCellNavService"))e.get("uiGridCellNavService");return{priority:-100,restrict:"A",scope:!1,require:"?^uiGrid",link:function(E,p,e,n){var C,v,g,i,y,m=!1;if(E.col.colDef.enableCellEdit){var t=function(){},o=function(){},l=function(){E.col.colDef.enableCellEdit&&!1!==E.row.enableCellEdit?E.beginEditEventsWired||d():E.beginEditEventsWired&&D()};l();var r=E.$watch("row",function(e,i){e!==i&&l()});E.$on("$destroy",function(){r(),p.off()})}function d(){p.on("dblclick",s),p.on("touchstart",c),n&&n.grid.api.cellNav&&(o=n.grid.api.cellNav.on.viewPortKeyDown(E,function(e,i){null!==i&&(i.row!==E.row||i.col!==E.col||E.col.colDef.enableCellEditOnFocus||u(e))}),t=n.grid.api.cellNav.on.navigate(E,function(e,i,t){E.col.colDef.enableCellEditOnFocus&&(e.row!==E.row||e.col!==E.col||null!==t&&(!t||"click"!==t.type&&"keydown"!==t.type)||h(function(){s(t)}))})),E.beginEditEventsWired=!0}function c(e){void 0!==e.originalEvent&&void 0!==e.originalEvent&&(e=e.originalEvent),p.on("touchend",a),(i=h(function(){},500)).then(function(){setTimeout(s,0),p.off("touchend",a)}).catch(angular.noop)}function a(){h.cancel(i),p.off("touchend",a)}function D(){p.off("dblclick",s),p.off("keydown",u),p.off("touchstart",c),t(),o(),E.beginEditEventsWired=!1}function u(e){f.isStartEditKey(e)&&s(e)}function s(e){E.grid.api.core.scrollToIfNecessary(E.row,E.col).then(function(){!function(e){if(m)return;if(i=E.col,t=E.row,n=e,t.isSaving||(angular.isFunction(i.colDef.cellEditableCondition)?!i.colDef.cellEditableCondition(E,n):!i.colDef.cellEditableCondition))return;var i,t,n;var o=E.row.getQualifiedColField(E.col);E.col.colDef.editModelField&&(o=w.preEval("row.entity."+E.col.colDef.editModelField));g=_(o),v=g(E),C=(C=(C=E.col.editableCellTemplate).replace(T.MODEL_COL_FIELD,o)).replace(T.COL_FIELD,"grid.getCellValue(row, col)");var l=E.col.colDef.editDropdownFilter?"|"+E.col.colDef.editDropdownFilter:"";C=C.replace(T.CUSTOM_FILTERS,l);var r="text";switch(E.col.colDef.type){case"boolean":r="checkbox";break;case"number":r="number";break;case"date":r="date"}C=C.replace("INPUT_TYPE",r);var d=E.col.colDef.editDropdownOptionsFunction;if(d)G.when(d(E.row.entity,E.col.colDef)).then(function(e){E.editDropdownOptionsArray=e});else{var c=E.col.colDef.editDropdownRowEntityOptionsArrayPath;E.editDropdownOptionsArray=c?function(e,i){var t=(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(;t.length;){var n=t.shift();if(!(n in e))return;e=e[n]}return e}(E.row.entity,c):E.col.colDef.editDropdownOptionsArray}E.editDropdownIdLabel=E.col.colDef.editDropdownIdLabel?E.col.colDef.editDropdownIdLabel:"id",E.editDropdownValueLabel=E.col.colDef.editDropdownValueLabel?E.col.colDef.editDropdownValueLabel:"value";var a=function(){m=!0,D();var e=angular.element(C);p.append(e),y=E.$new(),b(e)(y);var i=angular.element(p.children()[0]);i.addClass("ui-grid-cell-contents-hidden")};I.$$phase?a():E.$apply(a);var u=E.col.grid.api.core.on.scrollBegin(E,function(){E.grid.disableScrolling||(L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),u(),s(),f())}),s=E.$on(k.events.END_CELL_EDIT,function(){L(),E.grid.api.edit.raise.afterCellEdit(E.row.entity,E.col.colDef,g(E),v),s(),u(),f()}),f=E.$on(k.events.CANCEL_CELL_EDIT,function(){!function(){if(E.grid.disableScrolling=!1,!m)return;g.assign(E,v),E.$apply(),E.grid.api.edit.raise.cancelCellEdit(E.row.entity,E.col.colDef),L()}(),f(),u(),s()});E.$broadcast(k.events.BEGIN_CELL_EDIT,e),h(function(){E.grid.api.edit.raise.beginCellEdit(E.row.entity,E.col.colDef,e)})}(e)})}function L(){if(E.grid.disableScrolling=!1,m){n&&n.grid.api.cellNav&&n.focus();var e=angular.element(p.children()[0]);y.$destroy();for(var i=p.children(),t=1;t<i.length;t++)angular.element(i[t]).remove();e.removeClass("ui-grid-cell-contents-hidden"),m=!1,d(),E.grid.api.core.notifyDataChange(T.dataChange.EDIT)}}}}}]),e.directive("uiGridEditor",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout","uiGridEditService",function(e,d,c,a,u){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer","ngModel"],compile:function(){return{pre:function(e,i,t){},post:function(i,t,e,n){var o,l,r;n[0]&&(o=n[0]),n[1]&&(l=n[1]),n[2]&&(r=n[2]),i.$on(c.events.BEGIN_CELL_EDIT,function(){if(a(function(){if(t[0].focus(),!t[0].select||!i.col.colDef.enableCellEditOnFocus&&o&&o.grid.api.cellNav)try{t[0].setSelectionRange(t[0].value.length,t[0].value.length)}catch(e){}else t[0].select()}),o&&o.grid.api.cellNav)var n=o.grid.api.cellNav.on.viewPortKeyPress(i,function(e,i){if(u.isStartEditKey(e)){var t="number"==typeof e.which?e.which:e.keyCode;0<t&&(r.$setViewValue(String.fromCharCode(t),e),r.$render())}n()});t.on("mousedown",function(e){"checkbox"===t[0].type&&(t.off("blur",i.stopEdit),a(function(){t[0].focus(),t.on("blur",i.stopEdit)}))}),t[0]&&t[0].focus(),t.on("blur",i.stopEdit)}),i.deepEdit=!1,i.stopEdit=function(e){i.inputForm&&!i.inputForm.$valid?(e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)):i.$emit(c.events.END_CELL_EDIT),i.deepEdit=!1},t.on("click",function(e){"checkbox"!==t[0].type&&(i.deepEdit=!0,i.$applyAsync(function(){i.grid.disableScrolling=!0}))}),t.on("keydown",function(e){switch(e.keyCode){case d.keymap.ESC:e.stopPropagation(),i.$emit(c.events.CANCEL_CELL_EDIT)}if(!i.deepEdit||e.keyCode!==d.keymap.LEFT&&e.keyCode!==d.keymap.RIGHT&&e.keyCode!==d.keymap.UP&&e.keyCode!==d.keymap.DOWN)if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case d.keymap.ENTER:case d.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}else e.stopPropagation();return!0}),i.$on("$destroy",function(){t.off()})}}}}}]),e.directive("uiGridEditor",["$filter",function(o){return{priority:-100,require:"?ngModel",link:function(e,i,t,n){2===angular.version.minor&&t.type&&"date"===t.type&&n&&(n.$formatters.push(function(e){return n.$setValidity(null,!e||!isNaN(e.getTime())),o("date")(e,"yyyy-MM-dd")}),n.$parsers.push(function(e){if(e&&0<e.length){var i=function(e){if(void 0===e||""===e)return null;var i=e.split("-");if(3!==i.length)return null;var t=parseInt(i[0],10),n=parseInt(i[1],10),o=parseInt(i[2],10);return n<1||t<1||o<1?null:new Date(t,n-1,o)}(e);return n.$setValidity(null,i&&!isNaN(i.getTime())),i}return n.$setValidity(null,!0),null}))}}}]),e.directive("uiGridEditDropdown",["uiGridConstants","uiGridEditConstants","$timeout",function(r,d,c){return{require:["?^uiGrid","?^uiGridRenderContainer"],scope:!0,compile:function(){return{pre:function(e,i,t){},post:function(i,e,t,n){var o=n[0],l=n[1];i.$on(d.events.BEGIN_CELL_EDIT,function(){c(function(){e[0].focus()}),e[0].style.width=e[0].parentElement.offsetWidth-1+"px",e.on("blur",function(e){i.stopEdit(e)})}),i.stopEdit=function(e){i.$emit(d.events.END_CELL_EDIT)},e.on("keydown",function(e){switch(e.keyCode){case r.keymap.ESC:e.stopPropagation(),i.$emit(d.events.CANCEL_CELL_EDIT)}if(o&&o.grid.api.cellNav)e.uiGridTargetRenderContainerId=l.containerId,null!==o.cellNav.handleKeyDown(e)&&i.stopEdit(e);else switch(e.keyCode){case r.keymap.ENTER:case r.keymap.TAB:e.stopPropagation(),e.preventDefault(),i.stopEdit(e)}return!0}),i.$on("$destroy",function(){e.off()})}}}}}]),e.directive("uiGridEditFileChooser",["gridUtil","uiGridConstants","uiGridEditConstants",function(l,e,r){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer"],compile:function(){return{pre:function(e,i,t){},post:function(n,o){o[0].addEventListener("change",function e(i){var t=i.srcElement||i.target;t&&t.files&&0<t.files.length?("function"==typeof n.col.colDef.editFileChooserCallback?n.col.colDef.editFileChooserCallback(n.row,n.col,t.files):l.logError("You need to set colDef.editFileChooserCallback to use the file chooser"),t.form.reset(),n.$emit(r.events.END_CELL_EDIT)):n.$emit(r.events.CANCEL_CELL_EDIT),o[0].removeEventListener("change",e,!1)},!1),n.$on(r.events.BEGIN_CELL_EDIT,function(){o[0].focus(),o[0].select(),o.on("blur",function(){n.$emit(r.events.END_CELL_EDIT),o.off()})})}}}}}])}(),angular.module("ui.grid.edit").run(["$templateCache",function(e){"use strict";e.put("ui-grid/cellEditor",'<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="\'colt\' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/dropdownEditor",'<div><form name="inputForm"><select ng-class="\'colt\' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>'),e.put("ui-grid/fileChooserEditor",'<div><form name="inputForm"><input ng-class="\'colt\' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>')}]); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -127,2 +127,5 @@ */ | ||
var colIndex = renderContainer.visibleColumnCache.indexOf(col); | ||
if (colIndex === 0) { | ||
return renderContainer.visibleColumnCache[0]; | ||
} | ||
return renderContainer.visibleColumnCache[colIndex - 1 * rtlMultiplier]; | ||
@@ -129,0 +132,0 @@ } else { |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -7,2 +7,2 @@ */ | ||
!function(){"use strict";var e=angular.module("ui.grid.resizeColumns",["ui.grid"]);e.service("uiGridResizeColumnsService",["gridUtil","$q","$rootScope",function(r,o,t){return{defaultGridOptions:function(e){e.enableColumnResizing=!1!==e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1)},colResizerColumnBuilder:function(e,i,n){return e.enableColumnResizing=void 0===e.enableColumnResizing?n.enableColumnResizing:e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1),o.all([])},registerPublicApi:function(e){e.api.registerEventsFromObject({colResizable:{columnSizeChanged:function(e,i){}}})},fireColumnSizeChanged:function(e,i,n){t.$applyAsync(function(){e.api.colResizable?e.api.colResizable.raise.columnSizeChanged(i,n):r.logError("The resizeable api is not registered, this may indicate that you've included the module but not added the 'ui-grid-resize-columns' directive to your grid definition. Cannot raise any events.")})},findTargetCol:function(e,i,n){var r=e.getRenderContainer();if("left"!==i)return e;var o=r.visibleColumnCache.indexOf(e);return r.visibleColumnCache[o-1*n]}}}]),e.directive("uiGridResizeColumns",["gridUtil","uiGridResizeColumnsService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,n,r){o.defaultGridOptions(r.grid.options),r.grid.registerColumnBuilder(o.colResizerColumnBuilder),o.registerPublicApi(r.grid)},post:function(e,i,n,r){}}}}}]),e.directive("uiGridHeaderCell",["gridUtil","$templateCache","$compile","$q","uiGridResizeColumnsService","uiGridConstants",function(e,t,d,i,c,g){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(l,u,e,i){var n=i.grid;if(n.options.enableColumnResizing){var a=t.get("ui-grid/columnResizer"),s=1;n.isRTL()&&(l.position="left",s=-1);var r=function(){for(var e=u[0].getElementsByClassName("ui-grid-column-resizer"),i=0;i<e.length;i++)angular.element(e[i]).remove();var n=c.findTargetCol(l.col,"left",s),r=l.col.getRenderContainer();if(n&&0!==r.visibleColumnCache.indexOf(l.col)&&!1!==n.colDef.enableColumnResizing){var o=angular.element(a).clone();o.attr("position","left"),u.prepend(o),d(o)(l)}if(!1!==l.col.colDef.enableColumnResizing){var t=angular.element(a).clone();t.attr("position","right"),u.append(t),d(t)(l)}};r();var o=n.registerDataChangeCallback(function(){l.$applyAsync(r)},[g.dataChange.COLUMN]);l.$on("$destroy",o)}}}}}}]),e.directive("uiGridColumnResizer",["$document","gridUtil","uiGridConstants","uiGridResizeColumnsService",function(v,h,p,z){var R=angular.element('<div class="ui-grid-resize-overlay"></div>');return{priority:0,scope:{col:"=",position:"@",renderIndex:"="},require:"?^uiGrid",link:function(u,a,e,s){var t=0,l=0,d=0,c=1;function g(e){s.grid.refreshCanvas(!0).then(function(){s.grid.queueGridRefresh()})}function f(e,i){var n=i;return e.minWidth&&n<e.minWidth?n=e.minWidth:e.maxWidth&&n>e.maxWidth&&(n=e.maxWidth),n}function n(e,i){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),(l=(e.targetTouches?e.targetTouches[0]:e).clientX-d)<0?l=0:l>s.grid.gridWidth&&(l=s.grid.gridWidth);var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){s.grid.element.hasClass("column-resizing")||s.grid.element.addClass("column-resizing");var r=l-t,o=parseInt(n.drawnWidth+r*c,10);l+=(f(n,o)-o)*c,R.css({left:l+"px"}),s.fireEvent(p.events.ITEM_DRAGGING)}}function r(e){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),s.grid.element.removeClass("column-resizing"),R.remove();var i=(l=(e.changedTouches?e.changedTouches[0]:e).clientX-d)-t;if(0===i)return C(),void m();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var r=parseInt(n.drawnWidth+i*c,10);n.width=f(n,r),n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,i),C(),m()}}s.grid.isRTL()&&(u.position="left",c=-1),"left"===u.position?a.addClass("left"):"right"===u.position&&a.addClass("right");var o=function(e,i){e.originalEvent&&(e=e.originalEvent),e.stopPropagation(),d=s.grid.element[0].getBoundingClientRect().left,t=(e.targetTouches?e.targetTouches[0]:e).clientX-d,s.grid.element.append(R),R.css({left:t}),"touchstart"===e.type?(v.on("touchend",r),v.on("touchmove",n),a.off("mousedown",o)):(v.on("mouseup",r),v.on("mousemove",n),a.off("touchstart",o))},m=function(){a.on("mousedown",o),a.on("touchstart",o)},C=function(){v.off("mouseup",r),v.off("touchend",r),v.off("mousemove",n),v.off("touchmove",n),a.off("mousedown",o),a.off("touchstart",o)};m();var i=function(e,i){e.stopPropagation();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var o=0,r=h.closestElm(a,".ui-grid-render-container").querySelectorAll("."+p.COL_CLASS_PREFIX+n.uid+" .ui-grid-cell-contents");Array.prototype.forEach.call(r,function(e){var r;angular.element(e).parent().hasClass("ui-grid-header-cell")&&(r=angular.element(e).parent()[0].querySelectorAll(".ui-grid-column-menu-button")),h.fakeElement(e,{},function(e){var i=angular.element(e);i.attr("style","float: left");var n=h.elementWidth(i);r&&(n+=h.elementWidth(r));o<n&&(o=n)})});var t=f(n,o),l=t-n.drawnWidth;n.width=t,n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,l)}};a.on("dblclick",i),a.on("$destroy",function(){a.off("dblclick",i),C()})}}}])}(),angular.module("ui.grid.resizeColumns").run(["$templateCache",function(e){"use strict";e.put("ui-grid/columnResizer",'<div ui-grid-column-resizer ng-if="grid.options.enableColumnResizing" class="ui-grid-column-resizer" col="col" position="right" render-index="renderIndex" unselectable="on"></div>')}]); | ||
!function(){"use strict";var e=angular.module("ui.grid.resizeColumns",["ui.grid"]);e.service("uiGridResizeColumnsService",["gridUtil","$q","$rootScope",function(r,o,t){return{defaultGridOptions:function(e){e.enableColumnResizing=!1!==e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1)},colResizerColumnBuilder:function(e,i,n){return e.enableColumnResizing=void 0===e.enableColumnResizing?n.enableColumnResizing:e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1),o.all([])},registerPublicApi:function(e){e.api.registerEventsFromObject({colResizable:{columnSizeChanged:function(e,i){}}})},fireColumnSizeChanged:function(e,i,n){t.$applyAsync(function(){e.api.colResizable?e.api.colResizable.raise.columnSizeChanged(i,n):r.logError("The resizeable api is not registered, this may indicate that you've included the module but not added the 'ui-grid-resize-columns' directive to your grid definition. Cannot raise any events.")})},findTargetCol:function(e,i,n){var r=e.getRenderContainer();if("left"!==i)return e;var o=r.visibleColumnCache.indexOf(e);return 0===o?r.visibleColumnCache[0]:r.visibleColumnCache[o-1*n]}}}]),e.directive("uiGridResizeColumns",["gridUtil","uiGridResizeColumnsService",function(e,o){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,i,n,r){o.defaultGridOptions(r.grid.options),r.grid.registerColumnBuilder(o.colResizerColumnBuilder),o.registerPublicApi(r.grid)},post:function(e,i,n,r){}}}}}]),e.directive("uiGridHeaderCell",["gridUtil","$templateCache","$compile","$q","uiGridResizeColumnsService","uiGridConstants",function(e,t,d,i,c,g){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(l,u,e,i){var n=i.grid;if(n.options.enableColumnResizing){var a=t.get("ui-grid/columnResizer"),s=1;n.isRTL()&&(l.position="left",s=-1);var r=function(){for(var e=u[0].getElementsByClassName("ui-grid-column-resizer"),i=0;i<e.length;i++)angular.element(e[i]).remove();var n=c.findTargetCol(l.col,"left",s),r=l.col.getRenderContainer();if(n&&0!==r.visibleColumnCache.indexOf(l.col)&&!1!==n.colDef.enableColumnResizing){var o=angular.element(a).clone();o.attr("position","left"),u.prepend(o),d(o)(l)}if(!1!==l.col.colDef.enableColumnResizing){var t=angular.element(a).clone();t.attr("position","right"),u.append(t),d(t)(l)}};r();var o=n.registerDataChangeCallback(function(){l.$applyAsync(r)},[g.dataChange.COLUMN]);l.$on("$destroy",o)}}}}}}]),e.directive("uiGridColumnResizer",["$document","gridUtil","uiGridConstants","uiGridResizeColumnsService",function(v,h,p,z){var R=angular.element('<div class="ui-grid-resize-overlay"></div>');return{priority:0,scope:{col:"=",position:"@",renderIndex:"="},require:"?^uiGrid",link:function(u,a,e,s){var t=0,l=0,d=0,c=1;function g(e){s.grid.refreshCanvas(!0).then(function(){s.grid.queueGridRefresh()})}function f(e,i){var n=i;return e.minWidth&&n<e.minWidth?n=e.minWidth:e.maxWidth&&n>e.maxWidth&&(n=e.maxWidth),n}function n(e,i){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),(l=(e.targetTouches?e.targetTouches[0]:e).clientX-d)<0?l=0:l>s.grid.gridWidth&&(l=s.grid.gridWidth);var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){s.grid.element.hasClass("column-resizing")||s.grid.element.addClass("column-resizing");var r=l-t,o=parseInt(n.drawnWidth+r*c,10);l+=(f(n,o)-o)*c,R.css({left:l+"px"}),s.fireEvent(p.events.ITEM_DRAGGING)}}function r(e){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),s.grid.element.removeClass("column-resizing"),R.remove();var i=(l=(e.changedTouches?e.changedTouches[0]:e).clientX-d)-t;if(0===i)return C(),void m();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var r=parseInt(n.drawnWidth+i*c,10);n.width=f(n,r),n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,i),C(),m()}}s.grid.isRTL()&&(u.position="left",c=-1),"left"===u.position?a.addClass("left"):"right"===u.position&&a.addClass("right");var o=function(e,i){e.originalEvent&&(e=e.originalEvent),e.stopPropagation(),d=s.grid.element[0].getBoundingClientRect().left,t=(e.targetTouches?e.targetTouches[0]:e).clientX-d,s.grid.element.append(R),R.css({left:t}),"touchstart"===e.type?(v.on("touchend",r),v.on("touchmove",n),a.off("mousedown",o)):(v.on("mouseup",r),v.on("mousemove",n),a.off("touchstart",o))},m=function(){a.on("mousedown",o),a.on("touchstart",o)},C=function(){v.off("mouseup",r),v.off("touchend",r),v.off("mousemove",n),v.off("touchmove",n),a.off("mousedown",o),a.off("touchstart",o)};m();var i=function(e,i){e.stopPropagation();var n=z.findTargetCol(u.col,u.position,c);if(!1!==n.colDef.enableColumnResizing){var o=0,r=h.closestElm(a,".ui-grid-render-container").querySelectorAll("."+p.COL_CLASS_PREFIX+n.uid+" .ui-grid-cell-contents");Array.prototype.forEach.call(r,function(e){var r;angular.element(e).parent().hasClass("ui-grid-header-cell")&&(r=angular.element(e).parent()[0].querySelectorAll(".ui-grid-column-menu-button")),h.fakeElement(e,{},function(e){var i=angular.element(e);i.attr("style","float: left");var n=h.elementWidth(i);r&&(n+=h.elementWidth(r));o<n&&(o=n)})});var t=f(n,o),l=t-n.drawnWidth;n.width=t,n.hasCustomWidth=!0,g(),z.fireColumnSizeChanged(s.grid,n.colDef,l)}};a.on("dblclick",i),a.on("$destroy",function(){a.off("dblclick",i),C()})}}}])}(),angular.module("ui.grid.resizeColumns").run(["$templateCache",function(e){"use strict";e.put("ui-grid/columnResizer",'<div ui-grid-column-resizer ng-if="grid.options.enableColumnResizing" class="ui-grid-column-resizer" col="col" position="right" render-index="renderIndex" unselectable="on"></div>')}]); |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* ui-grid - v4.8.5 - 2020-09-14 | ||
* ui-grid - v4.9.0 - 2020-09-27 | ||
* Copyright (c) 2020 ; License: MIT | ||
@@ -4,0 +4,0 @@ */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4944306
85115
+ Addedangular@1.8.3(transitive)
- Removedangular@1.7.9(transitive)
Updatedangular@>=1.4.0 1.8.x