Socket
Socket
Sign inDemoInstall

@ag-grid-enterprise/rich-select

Package Overview
Dependencies
2
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 31.0.1 to 31.0.2

9

dist/cjs/es5/richSelect/richSelectCellEditor.js

@@ -105,3 +105,3 @@ "use strict";

return function (values) { return values.map(function (value) {
var keyParams = {
var keyParams = _this.gridOptionsService.addGridCommonParams({
value: value,

@@ -111,7 +111,4 @@ colDef: _this.params.colDef,

node: _this.params.node,
data: _this.params.data,
api: _this.gridOptionsService.api,
columnApi: _this.gridOptionsService.columnApi,
context: _this.gridOptionsService.context
};
data: _this.params.data
});
return colDef.keyCreator(keyParams);

@@ -118,0 +115,0 @@ }); };

@@ -1,1 +0,1 @@

export declare const VERSION = "31.0.1";
export declare const VERSION = "31.0.2";

@@ -5,2 +5,2 @@ "use strict";

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '31.0.1';
exports.VERSION = '31.0.2';

@@ -87,3 +87,3 @@ "use strict";

return (values) => values.map((value) => {
const keyParams = {
const keyParams = this.gridOptionsService.addGridCommonParams({
value: value,

@@ -93,7 +93,4 @@ colDef: this.params.colDef,

node: this.params.node,
data: this.params.data,
api: this.gridOptionsService.api,
columnApi: this.gridOptionsService.columnApi,
context: this.gridOptionsService.context
};
data: this.params.data
});
return colDef.keyCreator(keyParams);

@@ -100,0 +97,0 @@ });

@@ -1,1 +0,1 @@

export declare const VERSION = "31.0.1";
export declare const VERSION = "31.0.2";

@@ -5,2 +5,2 @@ "use strict";

// DO NOT UPDATE MANUALLY: Generated from script during build time
exports.VERSION = '31.0.1';
exports.VERSION = '31.0.2';

@@ -102,3 +102,3 @@ var __extends = (this && this.__extends) || (function () {

return function (values) { return values.map(function (value) {
var keyParams = {
var keyParams = _this.gridOptionsService.addGridCommonParams({
value: value,

@@ -108,7 +108,4 @@ colDef: _this.params.colDef,

node: _this.params.node,
data: _this.params.data,
api: _this.gridOptionsService.api,
columnApi: _this.gridOptionsService.columnApi,
context: _this.gridOptionsService.context
};
data: _this.params.data
});
return colDef.keyCreator(keyParams);

@@ -115,0 +112,0 @@ }); };

@@ -1,1 +0,1 @@

export declare const VERSION = "31.0.1";
export declare const VERSION = "31.0.2";
// DO NOT UPDATE MANUALLY: Generated from script during build time
export var VERSION = '31.0.1';
export var VERSION = '31.0.2';

@@ -1,1 +0,1 @@

export declare const VERSION = "31.0.1";
export declare const VERSION = "31.0.2";
/**
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.1
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.2
* @link https://www.ag-grid.com/

@@ -113,3 +113,3 @@ * @license Commercial

return function (values) { return values.map(function (value) {
var keyParams = {
var keyParams = _this.gridOptionsService.addGridCommonParams({
value: value,

@@ -119,7 +119,4 @@ colDef: _this.params.colDef,

node: _this.params.node,
data: _this.params.data,
api: _this.gridOptionsService.api,
columnApi: _this.gridOptionsService.columnApi,
context: _this.gridOptionsService.context
};
data: _this.params.data
});
return colDef.keyCreator(keyParams);

@@ -164,3 +161,3 @@ }); };

// DO NOT UPDATE MANUALLY: Generated from script during build time
var VERSION = '31.0.1';
var VERSION = '31.0.2';

@@ -167,0 +164,0 @@ var RichSelectModule = {

/**
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.1
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.2
* @link https://www.ag-grid.com/

@@ -7,6 +7,6 @@ * @license Commercial

/**
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.1
* @ag-grid-enterprise/rich-select - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.2
* @link https://www.ag-grid.com/
* @license Commercial
*/
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("@ag-grid-community/core"),i=require("@ag-grid-enterprise/core"),r=(e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(t,i)},function(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}),a=function(e){function i(){return e.call(this,'<div class="ag-cell-edit-wrapper"></div>')||this}return r(i,e),i.prototype.init=function(e){var i=this;this.params=e;var r=e.cellStartedEdit,a=e.cellHeight,o=e.values;t._.missing(o)&&console.warn("AG Grid: agRichSelectCellEditor requires cellEditorParams.values to be set");var c=this.buildRichSelectParams(),n=c.params,l=c.valuesPromise;this.richSelect=this.createManagedBean(new t.AgRichSelect(n)),this.richSelect.addCssClass("ag-cell-editor"),this.appendChild(this.richSelect),l&&l.then((function(e){i.richSelect.setValueList({valueList:e,refresh:!0});var t=i.getSearchStringCallback(e);t&&i.richSelect.setSearchStringCreator(t)})),this.addManagedListener(this.richSelect,t.Events.EVENT_FIELD_PICKER_VALUE_SELECTED,this.onEditorPickerValueSelected.bind(this)),this.addManagedListener(this.richSelect.getGui(),"focusout",this.onEditorFocusOut.bind(this)),this.focusAfterAttached=r,t._.exists(a)&&this.richSelect.setRowHeight(a)},i.prototype.onEditorPickerValueSelected=function(e){this.params.stopEditing(!e.fromEnterKey)},i.prototype.onEditorFocusOut=function(e){this.richSelect.getGui().contains(e.relatedTarget)||this.params.stopEditing(!0)},i.prototype.buildRichSelectParams=function(){var e,t,i=this.params,r=i.cellRenderer,a=i.value,o=i.values,c=i.formatValue,n=i.searchDebounceDelay,l=i.valueListGap,s=i.valueListMaxHeight,u=i.valueListMaxWidth,h=i.allowTyping,p=i.filterList,d=i.searchType,g=i.highlightMatch,f=i.valuePlaceholder,m=i.eventKey,v={value:a,cellRenderer:r,searchDebounceDelay:n,valueFormatter:c,pickerAriaLabelKey:"ariaLabelRichSelectField",pickerAriaLabelValue:"Rich Select Field",pickerType:"virtual-list",pickerGap:l,allowTyping:h,filterList:p,searchType:d,highlightMatch:g,maxPickerHeight:s,maxPickerWidth:u,placeholder:f,initialInputValue:1===(null==m?void 0:m.length)?m:void 0};return e="function"==typeof o?o(this.params):null!=o?o:[],Array.isArray(e)?(v.valueList=e,v.searchStringCreator=this.getSearchStringCallback(e)):t=e,{params:v,valuesPromise:t}},i.prototype.getSearchStringCallback=function(e){var t=this,i=this.params.colDef;if("object"==typeof e[0]&&i.keyCreator)return function(e){return e.map((function(e){var r={value:e,colDef:t.params.colDef,column:t.params.column,node:t.params.node,data:t.params.data,api:t.gridOptionsService.api,columnApi:t.gridOptionsService.columnApi,context:t.gridOptionsService.context};return i.keyCreator(r)}))}},i.prototype.afterGuiAttached=function(){var e=this,t=this.focusAfterAttached,i=this.params;setTimeout((function(){if(e.isAlive()){if(t){var r=e.richSelect.getFocusableElement();r.focus();var a=e.params,o=a.allowTyping,c=a.eventKey;!o||c&&1===c.length||r.select()}e.richSelect.showPicker();var n=i.eventKey;n&&1===(null==n?void 0:n.length)&&e.richSelect.searchTextFromString(n)}}))},i.prototype.getValue=function(){return this.richSelect.getValue()},i.prototype.isPopup=function(){return!1},i}(t.PopupComponent),o={version:"31.0.1",moduleName:t.ModuleNames.RichSelectModule,beans:[],userComponents:[{componentName:"agRichSelect",componentClass:a},{componentName:"agRichSelectCellEditor",componentClass:a}],dependantModules:[i.EnterpriseCoreModule]};exports.RichSelectModule=o;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("@ag-grid-community/core"),r=require("@ag-grid-enterprise/core"),i=(e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}),a=function(e){function r(){return e.call(this,'<div class="ag-cell-edit-wrapper"></div>')||this}return i(r,e),r.prototype.init=function(e){var r=this;this.params=e;var i=e.cellStartedEdit,a=e.cellHeight,o=e.values;t._.missing(o)&&console.warn("AG Grid: agRichSelectCellEditor requires cellEditorParams.values to be set");var c=this.buildRichSelectParams(),l=c.params,n=c.valuesPromise;this.richSelect=this.createManagedBean(new t.AgRichSelect(l)),this.richSelect.addCssClass("ag-cell-editor"),this.appendChild(this.richSelect),n&&n.then((function(e){r.richSelect.setValueList({valueList:e,refresh:!0});var t=r.getSearchStringCallback(e);t&&r.richSelect.setSearchStringCreator(t)})),this.addManagedListener(this.richSelect,t.Events.EVENT_FIELD_PICKER_VALUE_SELECTED,this.onEditorPickerValueSelected.bind(this)),this.addManagedListener(this.richSelect.getGui(),"focusout",this.onEditorFocusOut.bind(this)),this.focusAfterAttached=i,t._.exists(a)&&this.richSelect.setRowHeight(a)},r.prototype.onEditorPickerValueSelected=function(e){this.params.stopEditing(!e.fromEnterKey)},r.prototype.onEditorFocusOut=function(e){this.richSelect.getGui().contains(e.relatedTarget)||this.params.stopEditing(!0)},r.prototype.buildRichSelectParams=function(){var e,t,r=this.params,i=r.cellRenderer,a=r.value,o=r.values,c=r.formatValue,l=r.searchDebounceDelay,n=r.valueListGap,s=r.valueListMaxHeight,u=r.valueListMaxWidth,h=r.allowTyping,p=r.filterList,d=r.searchType,f=r.highlightMatch,g=r.valuePlaceholder,m=r.eventKey,v={value:a,cellRenderer:i,searchDebounceDelay:l,valueFormatter:c,pickerAriaLabelKey:"ariaLabelRichSelectField",pickerAriaLabelValue:"Rich Select Field",pickerType:"virtual-list",pickerGap:n,allowTyping:h,filterList:p,searchType:d,highlightMatch:f,maxPickerHeight:s,maxPickerWidth:u,placeholder:g,initialInputValue:1===(null==m?void 0:m.length)?m:void 0};return e="function"==typeof o?o(this.params):null!=o?o:[],Array.isArray(e)?(v.valueList=e,v.searchStringCreator=this.getSearchStringCallback(e)):t=e,{params:v,valuesPromise:t}},r.prototype.getSearchStringCallback=function(e){var t=this,r=this.params.colDef;if("object"==typeof e[0]&&r.keyCreator)return function(e){return e.map((function(e){var i=t.gridOptionsService.addGridCommonParams({value:e,colDef:t.params.colDef,column:t.params.column,node:t.params.node,data:t.params.data});return r.keyCreator(i)}))}},r.prototype.afterGuiAttached=function(){var e=this,t=this.focusAfterAttached,r=this.params;setTimeout((function(){if(e.isAlive()){if(t){var i=e.richSelect.getFocusableElement();i.focus();var a=e.params,o=a.allowTyping,c=a.eventKey;!o||c&&1===c.length||i.select()}e.richSelect.showPicker();var l=r.eventKey;l&&1===(null==l?void 0:l.length)&&e.richSelect.searchTextFromString(l)}}))},r.prototype.getValue=function(){return this.richSelect.getValue()},r.prototype.isPopup=function(){return!1},r}(t.PopupComponent),o={version:"31.0.2",moduleName:t.ModuleNames.RichSelectModule,beans:[],userComponents:[{componentName:"agRichSelect",componentClass:a},{componentName:"agRichSelectCellEditor",componentClass:a}],dependantModules:[r.EnterpriseCoreModule]};exports.RichSelectModule=o;
{
"name": "@ag-grid-enterprise/rich-select",
"version": "31.0.1",
"version": "31.0.2",
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue",

@@ -49,4 +49,4 @@ "main": "./dist/esm/es6/main.mjs",

"dependencies": {
"@ag-grid-community/core": "~31.0.1",
"@ag-grid-enterprise/core": "~31.0.1"
"@ag-grid-community/core": "~31.0.2",
"@ag-grid-enterprise/core": "~31.0.2"
},

@@ -53,0 +53,0 @@ "devDependencies": {

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc