Skip to content

Commit

Permalink
chore(release): publish version 5.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Apr 6, 2024
1 parent e59ff94 commit ee22b59
Show file tree
Hide file tree
Showing 27 changed files with 96 additions and 67 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.9.0](https://github.com/6pac/SlickGrid/compare/5.8.3...5.9.0) (2024-04-06)

### Bug Fixes

* default SlickGrid editors are not assignable to column field 'editor' ([#1005](https://github.com/6pac/SlickGrid/issues/1005)) ([9e1de20](https://github.com/6pac/SlickGrid/commit/9e1de206d9552d6f270b2a46804d42f8994d8013))
* Editor.keyCaptureList is an array of numbers ([#1006](https://github.com/6pac/SlickGrid/issues/1006)) ([fbbff04](https://github.com/6pac/SlickGrid/commit/fbbff041eda3195df3e1d85b543dd43e6c32c642))
* primary entry point to the program isn't set correctly ([#1008](https://github.com/6pac/SlickGrid/issues/1008)) ([0714221](https://github.com/6pac/SlickGrid/commit/07142214b5c32cee617d7fd93f35546d18d07681))

### Features

* add the ability to receive extra filter arguments ([#1007](https://github.com/6pac/SlickGrid/issues/1007)) ([e22d814](https://github.com/6pac/SlickGrid/commit/e22d814e4deae9acc5a7c3c3d68da7982d3cc36d))

## [5.8.3](https://github.com/6pac/SlickGrid/compare/5.8.2...5.8.3) (2024-03-30)

### Bug Fixes
Expand Down
4 changes: 4 additions & 0 deletions dist/browser/slick.dataview.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/browser/slick.dataview.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/browser/slick.editors.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/browser/slick.grid.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/browser/slick.grid.js.map

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions dist/cjs/index.js
Expand Up @@ -5210,6 +5210,10 @@ var SlickEvent20 = SlickEvent, SlickEventData6 = SlickEventData, SlickGroup3 = S
setRefreshHints(hints) {
this.refreshHints = hints;
}
/** get extra filter arguments of the filter method */
getFilterArgs() {
return this.filterArgs;
}
/** add extra filter arguments to the filter method */
setFilterArgs(args) {
this.filterArgs = args;
Expand Down Expand Up @@ -6613,7 +6617,7 @@ var SlickGrid = class {
this.externalPubSub = externalPubSub;
//////////////////////////////////////////////////////////////////////////////////////////////
// Public API
__publicField(this, "slickGridVersion", "5.8.3");
__publicField(this, "slickGridVersion", "5.9.0");
/** optional grid state clientId */
__publicField(this, "cid", "");
// Events
Expand Down Expand Up @@ -8800,13 +8804,13 @@ var SlickGrid = class {
handleKeyDown(e) {
let handled = this.trigger(this.onKeyDown, { row: this.activeRow, cell: this.activeCell }, e).isImmediatePropagationStopped();
if (!handled && !e.shiftKey && !e.altKey) {
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(String(e.which)) > -1)
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(e.which) > -1)
return;
e.which === keyCode6.HOME ? handled = e.ctrlKey ? this.navigateTop() : this.navigateRowStart() : e.which === keyCode6.END && (handled = e.ctrlKey ? this.navigateBottom() : this.navigateRowEnd());
}
if (!handled)
if (!e.shiftKey && !e.altKey && !e.ctrlKey) {
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(String(e.which)) > -1)
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(e.which) > -1)
return;
if (e.which === keyCode6.ESCAPE) {
if (!this.getEditorLock()?.isActive())
Expand Down Expand Up @@ -9807,7 +9811,7 @@ var SlickRemoteModel = class {
* Distributed under MIT license.
* All rights reserved.
*
* SlickGrid v5.8.3
* SlickGrid v5.9.0
*
* NOTES:
* Cell/row DOM manipulations are done directly bypassing JS DOM manipulation methods.
Expand Down
4 changes: 2 additions & 2 deletions dist/cjs/index.js.map

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions dist/esm/index.js
Expand Up @@ -5107,6 +5107,10 @@ var SlickEvent20 = SlickEvent, SlickEventData6 = SlickEventData, SlickGroup3 = S
setRefreshHints(hints) {
this.refreshHints = hints;
}
/** get extra filter arguments of the filter method */
getFilterArgs() {
return this.filterArgs;
}
/** add extra filter arguments to the filter method */
setFilterArgs(args) {
this.filterArgs = args;
Expand Down Expand Up @@ -6510,7 +6514,7 @@ var SlickGrid = class {
this.externalPubSub = externalPubSub;
//////////////////////////////////////////////////////////////////////////////////////////////
// Public API
__publicField(this, "slickGridVersion", "5.8.3");
__publicField(this, "slickGridVersion", "5.9.0");
/** optional grid state clientId */
__publicField(this, "cid", "");
// Events
Expand Down Expand Up @@ -8697,13 +8701,13 @@ var SlickGrid = class {
handleKeyDown(e) {
let handled = this.trigger(this.onKeyDown, { row: this.activeRow, cell: this.activeCell }, e).isImmediatePropagationStopped();
if (!handled && !e.shiftKey && !e.altKey) {
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(String(e.which)) > -1)
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(e.which) > -1)
return;
e.which === keyCode6.HOME ? handled = e.ctrlKey ? this.navigateTop() : this.navigateRowStart() : e.which === keyCode6.END && (handled = e.ctrlKey ? this.navigateBottom() : this.navigateRowEnd());
}
if (!handled)
if (!e.shiftKey && !e.altKey && !e.ctrlKey) {
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(String(e.which)) > -1)
if (this._options.editable && this.currentEditor?.keyCaptureList && this.currentEditor.keyCaptureList.indexOf(e.which) > -1)
return;
if (e.which === keyCode6.ESCAPE) {
if (!this.getEditorLock()?.isActive())
Expand Down Expand Up @@ -9789,7 +9793,7 @@ export {
* Distributed under MIT license.
* All rights reserved.
*
* SlickGrid v5.8.3
* SlickGrid v5.9.0
*
* NOTES:
* Cell/row DOM manipulations are done directly bypassing JS DOM manipulation methods.
Expand Down
4 changes: 2 additions & 2 deletions dist/esm/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/types/models/editor.interface.d.ts
Expand Up @@ -8,7 +8,8 @@ export interface Editor {
dataContext?: any;
/** is the Editor disabled when we first open it? This could happen when we use "collectionAsync" and we wait for the "collection" to be filled before enabling the Editor. */
disabled?: boolean;
keyCaptureList?: string;
/** List of key codes, which will not be captured by default slickgrid hotkeys listeners */
keyCaptureList?: number[];
/** Initialize the Editor */
init: (args?: EditorArguments) => void;
/** Saves the Editor value */
Expand Down
2 changes: 1 addition & 1 deletion dist/types/models/editor.interface.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion dist/types/models/editorValidator.interface.d.ts
@@ -1,4 +1,6 @@
import type { EditorArguments } from './editorArguments.interface';
import type { EditorValidationResult } from './editorValidationResult.interface';
export type EditorValidator = (value: any, args?: EditorArguments) => EditorValidationResult;
import type { Column } from './column.interface';
import type { GridOption } from './gridOption.interface';
export type EditorValidator = <TData = any, C extends Column<TData> = Column<TData>, O extends GridOption<C> = GridOption<C>>(value: any, args?: EditorArguments<TData, C, O>) => EditorValidationResult;
//# sourceMappingURL=editorValidator.interface.d.ts.map
2 changes: 1 addition & 1 deletion dist/types/models/editorValidator.interface.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/types/plugins/slick.checkboxselectcolumn.d.ts
Expand Up @@ -55,7 +55,7 @@ export declare class SlickCheckboxSelectColumn<T = any> implements SlickPlugin {
sortable: boolean;
cssClass: string | undefined;
hideSelectAllCheckbox: boolean | undefined;
formatter: (row: number, _cell: number, _val: any, _columnDef: Column<any>, dataContext: any, grid: SlickGrid<any, Column<any>, import("src/models/gridOption.interface").GridOption<Column<any>>>) => DocumentFragment | null;
formatter: (row: number, _cell: number, _val: any, _columnDef: Column<any>, dataContext: any, grid: SlickGrid<any, Column<any>, import("../models/gridOption.interface").GridOption<Column<any>>>) => DocumentFragment | null;
excludeFromColumnPicker: boolean;
excludeFromGridMenu: boolean;
excludeFromHeaderMenu: boolean;
Expand Down
2 changes: 2 additions & 0 deletions dist/types/slick.dataview.d.ts
Expand Up @@ -93,6 +93,8 @@ export declare class SlickDataView<TData extends SlickDataItem = any> implements
destroy(): void;
/** provide some refresh hints as to what to rows needs refresh */
setRefreshHints(hints: DataViewHints): void;
/** get extra filter arguments of the filter method */
getFilterArgs(): any;
/** add extra filter arguments to the filter method */
setFilterArgs(args: any): void;
/**
Expand Down

0 comments on commit ee22b59

Please sign in to comment.