diff --git a/package.json b/package.json index 9d74620a2..5ba4caad3 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@jest/types": "^29.6.3", "@lerna-lite/cli": "^3.10.1", "@lerna-lite/publish": "^3.10.1", - "@slickgrid-universal/common": "^5.10.1", + "@slickgrid-universal/common": "^5.10.2", "@types/jest": "^29.5.14", "@types/node": "^22.10.1", "conventional-changelog-conventionalcommits": "^7.0.2", diff --git a/packages/aurelia-slickgrid/package.json b/packages/aurelia-slickgrid/package.json index 7aadc6b6d..08b127849 100644 --- a/packages/aurelia-slickgrid/package.json +++ b/packages/aurelia-slickgrid/package.json @@ -53,13 +53,13 @@ "@aurelia/runtime": "^2.0.0-beta.22", "@aurelia/runtime-html": "^2.0.0-beta.22", "@formkit/tempo": "^0.1.2", - "@slickgrid-universal/common": "~5.10.1", - "@slickgrid-universal/custom-footer-component": "~5.10.1", - "@slickgrid-universal/empty-warning-component": "~5.10.1", - "@slickgrid-universal/event-pub-sub": "~5.9.0", - "@slickgrid-universal/pagination-component": "~5.10.1", - "@slickgrid-universal/row-detail-view-plugin": "~5.10.1", - "@slickgrid-universal/utils": "~5.9.0", + "@slickgrid-universal/common": "~5.10.2", + "@slickgrid-universal/custom-footer-component": "~5.10.2", + "@slickgrid-universal/empty-warning-component": "~5.10.2", + "@slickgrid-universal/event-pub-sub": "~5.10.2", + "@slickgrid-universal/pagination-component": "~5.10.2", + "@slickgrid-universal/row-detail-view-plugin": "~5.10.2", + "@slickgrid-universal/utils": "~5.10.2", "dequal": "^2.0.3", "sortablejs": "^1.15.6" }, diff --git a/packages/aurelia-slickgrid/src/models/gridOption.interface.ts b/packages/aurelia-slickgrid/src/models/gridOption.interface.ts index 0a9c6b27d..d68113167 100644 --- a/packages/aurelia-slickgrid/src/models/gridOption.interface.ts +++ b/packages/aurelia-slickgrid/src/models/gridOption.interface.ts @@ -1,9 +1,12 @@ import type { I18N } from '@aurelia/i18n'; -import type { Column, GridOption as UniversalGridOption } from '@slickgrid-universal/common'; +import type { BasePaginationComponent, Column, GridOption as UniversalGridOption } from '@slickgrid-universal/common'; import type { RowDetailView } from './rowDetailView.interface'; export interface GridOption extends UniversalGridOption { + /** External Custom Pagination Component that can be provided by the user */ + customPaginationComponent?: typeof BasePaginationComponent; + /** I18N translation service instance */ i18n?: I18N; diff --git a/packages/demo/package.json b/packages/demo/package.json index 2ea721532..4b60f7486 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -43,19 +43,19 @@ "@fnando/sparkline": "^0.3.10", "@formkit/tempo": "^0.1.2", "@popperjs/core": "^2.11.8", - "@slickgrid-universal/common": "^5.10.1", - "@slickgrid-universal/composite-editor-component": "^5.10.1", - "@slickgrid-universal/custom-tooltip-plugin": "^5.10.1", - "@slickgrid-universal/excel-export": "^5.10.1", - "@slickgrid-universal/graphql": "^5.10.1", - "@slickgrid-universal/odata": "^5.10.1", - "@slickgrid-universal/row-detail-view-plugin": "^5.10.1", - "@slickgrid-universal/rxjs-observable": "^5.10.1", - "@slickgrid-universal/text-export": "^5.10.1", + "@slickgrid-universal/common": "^5.10.2", + "@slickgrid-universal/composite-editor-component": "^5.10.2", + "@slickgrid-universal/custom-tooltip-plugin": "^5.10.2", + "@slickgrid-universal/excel-export": "^5.10.2", + "@slickgrid-universal/graphql": "^5.10.2", + "@slickgrid-universal/odata": "^5.10.2", + "@slickgrid-universal/row-detail-view-plugin": "^5.10.2", + "@slickgrid-universal/rxjs-observable": "^5.10.2", + "@slickgrid-universal/text-export": "^5.10.2", "aurelia": "^2.0.0-beta.22", "aurelia-slickgrid": "workspace:*", "bootstrap": "^5.3.3", - "i18next": "^23.16.5", + "i18next": "^23.16.8", "i18next-fetch-backend": "^6.0.0", "rxjs": "^7.8.1" }, diff --git a/packages/demo/src/examples/slickgrid/example10.ts b/packages/demo/src/examples/slickgrid/example10.ts index a28ac0516..1b1604552 100644 --- a/packages/demo/src/examples/slickgrid/example10.ts +++ b/packages/demo/src/examples/slickgrid/example10.ts @@ -237,6 +237,13 @@ export class Example10 { } } + // Toggle the Pagination of Grid2 + // IMPORTANT, the Pagination MUST BE CREATED on initial page load before you can start toggling it + // Basically you cannot toggle a Pagination that doesn't exist (must created at the time as the grid) + isGrid2WithPaginationChanged() { + this.aureliaGrid2.paginationService!.togglePaginationVisibility(this.isGrid2WithPagination); + } + onGrid1SelectedRowsChanged(_e: Event, args: any) { const grid = args && args.grid; if (Array.isArray(args.rows)) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4ffaf0435..2458f0aa0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,8 +40,8 @@ importers: specifier: ^3.10.1 version: 3.10.1(@types/node@22.10.1)(typescript@5.7.2) '@slickgrid-universal/common': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@types/jest': specifier: ^29.5.14 version: 29.5.14 @@ -130,26 +130,26 @@ importers: specifier: ^0.1.2 version: 0.1.2 '@slickgrid-universal/common': - specifier: ~5.10.1 - version: 5.10.1 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/custom-footer-component': - specifier: ~5.10.1 - version: 5.10.1 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/empty-warning-component': - specifier: ~5.10.1 - version: 5.10.1 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/event-pub-sub': - specifier: ~5.9.0 - version: 5.9.0 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/pagination-component': - specifier: ~5.10.1 - version: 5.10.1 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/row-detail-view-plugin': - specifier: ~5.10.1 - version: 5.10.1 + specifier: ~5.10.2 + version: 5.10.2 '@slickgrid-universal/utils': - specifier: ~5.9.0 - version: 5.9.0 + specifier: ~5.10.2 + version: 5.10.2 aurelia: specifier: ^2.0.0-beta.22 version: 2.0.0-beta.22 @@ -212,32 +212,32 @@ importers: specifier: ^2.11.8 version: 2.11.8 '@slickgrid-universal/common': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/composite-editor-component': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/custom-tooltip-plugin': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/excel-export': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/graphql': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/odata': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/row-detail-view-plugin': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/rxjs-observable': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 '@slickgrid-universal/text-export': - specifier: ^5.10.1 - version: 5.10.1 + specifier: ^5.10.2 + version: 5.10.2 aurelia: specifier: ^2.0.0-beta.22 version: 2.0.0-beta.22 @@ -248,8 +248,8 @@ importers: specifier: ^5.3.3 version: 5.3.3(@popperjs/core@2.11.8) i18next: - specifier: ^23.16.5 - version: 23.16.5 + specifier: ^23.16.8 + version: 23.16.8 i18next-fetch-backend: specifier: ^6.0.0 version: 6.0.0 @@ -1139,51 +1139,51 @@ packages: '@sinonjs/fake-timers@10.3.0': resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} - '@slickgrid-universal/binding@5.9.0': - resolution: {integrity: sha512-u3tP6UMbDdG+bBuOrxajN18l/KI0qMN6QoMkY/JjFNgV9E/Iq/EYa0QafZyV6DJnwdQD2ZlBb2nBqFj1MEIP4w==} + '@slickgrid-universal/binding@5.10.2': + resolution: {integrity: sha512-Hfn6ooFE28W9JOCLAOPDqlnrBJ1bfIkkXmV04bToCZk3SyKhUr6uYkmJMaMzs3S4U3a2aEe7srILPpLjfOmfmw==} - '@slickgrid-universal/common@5.10.1': - resolution: {integrity: sha512-tmyUqg/oFv/qlE61635WVuUG1CnXr4wqD6ggU1TC03tXGQmySpu49xgLNB/FeVdwUONOEaH4Ake9LMGLz6945Q==} + '@slickgrid-universal/common@5.10.2': + resolution: {integrity: sha512-yE6yw+23xC8LcA5+aPkcF/mexKFzX7qgWl4iGkDPDTA3RQaEYVWiv25XQWjwomti9CH9pnsBTRjLduEDm2NDDw==} engines: {node: ^18.0.0 || >=20.0.0} - '@slickgrid-universal/composite-editor-component@5.10.1': - resolution: {integrity: sha512-SWsKqSQPPmn02JRr9/Z1ezJBv8+Qk6ArtrDW098A+42qTguW059bz8fO4MPtxa4UR3Ke50BFj7Z1mqfIkciFTg==} + '@slickgrid-universal/composite-editor-component@5.10.2': + resolution: {integrity: sha512-7pi3AmB2GiQzA0GHJnu+bp+sfB7i51Td2fUNrLlxxSrJu5YpoHhMye52MFKA6Tv/fTnePvnOBEyml+psrjIdLQ==} - '@slickgrid-universal/custom-footer-component@5.10.1': - resolution: {integrity: sha512-Vr9i4EhrjGoyEKNWl0qynlEyp9+QRk9OH/QTaJ4Z0VODi4Vn7QLPz0im0Ff4yyHOyvMjjfMXVizwsY8zDLgP1g==} + '@slickgrid-universal/custom-footer-component@5.10.2': + resolution: {integrity: sha512-MgQr7N6gzs6pomrzBpvCxptS+faq4rs5WNITppw/uHa/bjprJltr80/dzvxlsGQHsug+ikspOuK8lxkKESxC/A==} - '@slickgrid-universal/custom-tooltip-plugin@5.10.1': - resolution: {integrity: sha512-RnugS8O/XtmsBmLl/YoI1YoHgOR9Jqfv0K/qh0VxWFP4X55z450ysHEfuxZ3cyLBxy+s6Wo3Uz2CjeV0nTDKUQ==} + '@slickgrid-universal/custom-tooltip-plugin@5.10.2': + resolution: {integrity: sha512-xzN1fqAH5ma8vnmHIITGbx1C57famagvTZbW60Lh+Nqpd+WfseEAXSG9iwBGnZg7irdZLNzIwC6TadbYfNGTZQ==} - '@slickgrid-universal/empty-warning-component@5.10.1': - resolution: {integrity: sha512-BuSV6uZwtVjGxpM9vXCIKK8d3mij4SqsOYLvygKw/Sh4hH9ISqm1LoR4XOLfTCP05hlOGRuMwVmi7+tNesjayw==} + '@slickgrid-universal/empty-warning-component@5.10.2': + resolution: {integrity: sha512-LSXzWcyypK6xirZZDTrKIxY2HS0jCr90CTL7V4c9Vb1B8Nv0CGte4L686cwNxg6MK8oT9SLgMqLgtjSSa7g1Dg==} - '@slickgrid-universal/event-pub-sub@5.9.0': - resolution: {integrity: sha512-KnpY/WCTIwm6jWrX2RDKmDb1ifT2u4xs+1CPGWOWY6qQ/J0Fl9Ah25sZj/mM20BZvmg5/oCu7c9F62TdSiU3Zg==} + '@slickgrid-universal/event-pub-sub@5.10.2': + resolution: {integrity: sha512-3l0rAZEf2CX2ApaXv4VCFVlExJSTu6VjDiWsNuZ9dh7+auWtiihsX4QZS8zskQIqEVrHtuJAlV8fq/l/XcwS+g==} - '@slickgrid-universal/excel-export@5.10.1': - resolution: {integrity: sha512-n6eWezCW1Pv+TMkUyMTK+O8zncpCzROuwwuEhsM/TwB3J5NsdFyo5rkekAUHkqrAX4MNJIB3SLE/q0elkrwWpQ==} + '@slickgrid-universal/excel-export@5.10.2': + resolution: {integrity: sha512-x6YtYpTdJcI9u98B4xU25L+DzVvOvk/8W63/qerLcap0hUUTjcTOotamglcGL41WI67UJ8vKAJEDLtErm8hQ+Q==} - '@slickgrid-universal/graphql@5.10.1': - resolution: {integrity: sha512-1+dHVDoQPUnOXL0ryM1Jl/HR3klKp3MGHesNLZWt/q9EXa0YyA2vk36CqQoT31m7o2QcYzAwUyl68lPWgiTFEA==} + '@slickgrid-universal/graphql@5.10.2': + resolution: {integrity: sha512-06zVCdL3fWmtXkccVVUtvSmwcNgsJ4JASxUk0hLWRJ8mRR0MtU4AWRRynND8tlxbDSo/VWPkPxrx3tcbBCROrA==} - '@slickgrid-universal/odata@5.10.1': - resolution: {integrity: sha512-UwuEM9heBuENU6aOrOk2I5wAPgcnAC5H1FbNxqPJmntx6nlsZm+p8jpCjGcw/YX0WEuXHp7U/y2N7vG6ZDN+FQ==} + '@slickgrid-universal/odata@5.10.2': + resolution: {integrity: sha512-yfWc2VJ7pwjTPG56cRefeDALHkxQSkMJ8YP6eq7ZWqg14/m30pCAkq2w7N15JMokw63+G2CXwP/KU2xFy/AH4g==} - '@slickgrid-universal/pagination-component@5.10.1': - resolution: {integrity: sha512-/IfOyBTtw4GcG/Sn+9xlFQkPkT+3Fn8pDA4oCiMAJfwfApBuaenHUS114XMIgZG3X+bEtf5NSzX2iZZRpY+5Ug==} + '@slickgrid-universal/pagination-component@5.10.2': + resolution: {integrity: sha512-rhspG1Lh5+ZUl96609p+NooDbAdzMMpkFsXxNW9jJWV9MnLQfg78FNDBG4zg/mLuVMW2SqNQ5p+N9TJS9TWbZg==} - '@slickgrid-universal/row-detail-view-plugin@5.10.1': - resolution: {integrity: sha512-yZtSgfvStN8CSvVsy+3Oz7h8xur+OYLUGzUhoBWyhi5L0y3CYcb9Ezv8qoDtfib/PspwJs0xCQ2eTtBHC8OCWw==} + '@slickgrid-universal/row-detail-view-plugin@5.10.2': + resolution: {integrity: sha512-XKwaHun1hhShguadz9OgzxvqFKkUFHdA1rEFJXC5t60cuTa4J0j7xWe9HWrNcu4d+ywmXvhWZWW4QPyXEb7f7g==} - '@slickgrid-universal/rxjs-observable@5.10.1': - resolution: {integrity: sha512-1H8C6f0phZK3F51sJYS6hoi3pDPSm5M7J+sDG6PYYfq1BUfZs0QuePTTE14mCIdrlCDWrfnW020/rbw42+cgZg==} + '@slickgrid-universal/rxjs-observable@5.10.2': + resolution: {integrity: sha512-4D/XvaWYCj7kL8a2SNQaSIG99W7dzb/qjo4rYv6M3YfqMI22LxkcRW53gBBTl48QuGPM7W4uEH7Y4qqb5rxH8g==} - '@slickgrid-universal/text-export@5.10.1': - resolution: {integrity: sha512-qQz15Mum6we1fe3YxyG2Dg2F5vs5YASMRJmqzZcJfpS4ryp6H7Dn5RfSEflIJC2VDWmtq4Z+Cq3ve5nSqBPkdg==} + '@slickgrid-universal/text-export@5.10.2': + resolution: {integrity: sha512-H+pyyiwArkBfFhMqPpSzqIzADlIZLkJuyQFVlSsxsegmTa9wHp9qGL+Y4ugfs77oQXZ5isRaUS53TW6ByRjtIg==} - '@slickgrid-universal/utils@5.9.0': - resolution: {integrity: sha512-2A/OoTvautUZ4FR86E9npoIA6f0iFSEqqiXivmKdQK3Ed0UAQEGak639p1dkFAHfbJxd7U7l6Gx0n0vtgjNu/Q==} + '@slickgrid-universal/utils@5.10.2': + resolution: {integrity: sha512-cijV2/u3xKnfdUinaJeQNcoZuLy+9J4EgYSfUpNX22kanp948uKOICQxVrlb7Lj82Ki0U+vtuQ+fS59KQD3YOQ==} '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} @@ -3068,8 +3068,8 @@ packages: i18next@23.16.4: resolution: {integrity: sha512-9NIYBVy9cs4wIqzurf7nLXPyf3R78xYbxExVqHLK9od3038rjpyOEzW+XB130kZ1N4PZ9inTtJ471CRJ4Ituyg==} - i18next@23.16.5: - resolution: {integrity: sha512-KTlhE3EP9x6pPTAW7dy0WKIhoCpfOGhRQlO+jttQLgzVaoOjWwBWramu7Pp0i+8wDNduuzXfe3kkVbzrKyrbTA==} + i18next@23.16.8: + resolution: {integrity: sha512-06r/TitrM88Mg5FdUXAKL96dJMzgqLE5dv3ryBAra4KCwD9mJ4ndOTS95ZuymIGoE+2hzfdaMak2X11/es7ZWg==} iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} @@ -4706,9 +4706,6 @@ packages: resolution: {integrity: sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==} engines: {node: '>=12'} - sortablejs@1.15.3: - resolution: {integrity: sha512-zdK3/kwwAK1cJgy1rwl1YtNTbRmc8qW/+vgXf75A7NHag5of4pyI6uK86ktmQETyWRH7IGaE73uZOOBcGxgqZg==} - sortablejs@1.15.6: resolution: {integrity: sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==} @@ -6637,87 +6634,87 @@ snapshots: dependencies: '@sinonjs/commons': 3.0.1 - '@slickgrid-universal/binding@5.9.0': {} + '@slickgrid-universal/binding@5.10.2': {} - '@slickgrid-universal/common@5.10.1': + '@slickgrid-universal/common@5.10.2': dependencies: '@excel-builder-vanilla/types': 3.0.14 '@formkit/tempo': 0.1.2 - '@slickgrid-universal/binding': 5.9.0 - '@slickgrid-universal/event-pub-sub': 5.9.0 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/binding': 5.10.2 + '@slickgrid-universal/event-pub-sub': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 '@types/sortablejs': 1.15.8 '@types/trusted-types': 2.0.7 autocompleter: 9.3.2 dequal: 2.0.3 multiple-select-vanilla: 3.4.4 - sortablejs: 1.15.3 + sortablejs: 1.15.6 un-flatten-tree: 2.0.12 vanilla-calendar-pro: 2.9.10 - '@slickgrid-universal/composite-editor-component@5.10.1': + '@slickgrid-universal/composite-editor-component@5.10.2': dependencies: - '@slickgrid-universal/binding': 5.9.0 - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/binding': 5.10.2 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/custom-footer-component@5.10.1': + '@slickgrid-universal/custom-footer-component@5.10.2': dependencies: '@formkit/tempo': 0.1.2 - '@slickgrid-universal/binding': 5.9.0 - '@slickgrid-universal/common': 5.10.1 + '@slickgrid-universal/binding': 5.10.2 + '@slickgrid-universal/common': 5.10.2 - '@slickgrid-universal/custom-tooltip-plugin@5.10.1': + '@slickgrid-universal/custom-tooltip-plugin@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/empty-warning-component@5.10.1': + '@slickgrid-universal/empty-warning-component@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 + '@slickgrid-universal/common': 5.10.2 - '@slickgrid-universal/event-pub-sub@5.9.0': + '@slickgrid-universal/event-pub-sub@5.10.2': dependencies: - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/excel-export@5.10.1': + '@slickgrid-universal/excel-export@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 excel-builder-vanilla: 3.0.14 - '@slickgrid-universal/graphql@5.10.1': + '@slickgrid-universal/graphql@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/odata@5.10.1': + '@slickgrid-universal/odata@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/pagination-component@5.10.1': + '@slickgrid-universal/pagination-component@5.10.2': dependencies: - '@slickgrid-universal/binding': 5.9.0 - '@slickgrid-universal/common': 5.10.1 + '@slickgrid-universal/binding': 5.10.2 + '@slickgrid-universal/common': 5.10.2 - '@slickgrid-universal/row-detail-view-plugin@5.10.1': + '@slickgrid-universal/row-detail-view-plugin@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 - '@slickgrid-universal/rxjs-observable@5.10.1': + '@slickgrid-universal/rxjs-observable@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 + '@slickgrid-universal/common': 5.10.2 rxjs: 7.8.1 - '@slickgrid-universal/text-export@5.10.1': + '@slickgrid-universal/text-export@5.10.2': dependencies: - '@slickgrid-universal/common': 5.10.1 - '@slickgrid-universal/utils': 5.9.0 + '@slickgrid-universal/common': 5.10.2 + '@slickgrid-universal/utils': 5.10.2 text-encoding-utf-8: 1.0.2 - '@slickgrid-universal/utils@5.9.0': {} + '@slickgrid-universal/utils@5.10.2': {} '@tootallnate/once@2.0.0': {} @@ -8795,7 +8792,7 @@ snapshots: dependencies: '@babel/runtime': 7.24.1 - i18next@23.16.5: + i18next@23.16.8: dependencies: '@babel/runtime': 7.24.1 @@ -10602,8 +10599,6 @@ snapshots: dependencies: is-plain-obj: 4.1.0 - sortablejs@1.15.3: {} - sortablejs@1.15.6: {} source-map-js@1.2.1: {} diff --git a/test/cypress/e2e/example10.cy.ts b/test/cypress/e2e/example10.cy.ts index a0ea1844d..ac4f6110b 100644 --- a/test/cypress/e2e/example10.cy.ts +++ b/test/cypress/e2e/example10.cy.ts @@ -596,7 +596,13 @@ describe('Example 10 - Multiple Grids with Row Selection', () => { cy.window().then((win) => { expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: { gridRowIndexes: [1, 0], dataContextIds: [1, 12, 13, 3, 522], filteredDataContextIds: [3, 13] }, type: 'rowSelection' }); - expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: [{ columnId: 'title', operator: 'Contains', searchTerms: ['3'], targetSelector: 'input.form-control.filter-title.search-filter.filled' }], type: 'filter' }); + expect(win.console.log).to.be.calledWith('Grid State changed:: ', { + newValues: [{ + columnId: 'title', operator: 'Contains', searchTerms: ['3'], + targetSelector: 'input.form-control.filter-title.search-filter.slick-filter.filled' + }], + type: 'filter' + }); }); }); @@ -681,7 +687,13 @@ describe('Example 10 - Multiple Grids with Row Selection', () => { cy.window().then((win) => { expect(win.console.log).to.have.callCount(4); expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: { gridRowIndexes: [1, 0], dataContextIds: [1, 12, 13, 3, 522], filteredDataContextIds: [3, 13] }, type: 'rowSelection' }); - expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: [{ columnId: 'title', operator: 'Contains', searchTerms: ['3'], targetSelector: 'input.form-control.filter-title.search-filter.filled' }], type: 'filter' }); + expect(win.console.log).to.be.calledWith('Grid State changed:: ', { + newValues: [{ + columnId: 'title', operator: 'Contains', searchTerms: ['3'], + targetSelector: 'input.form-control.filter-title.search-filter.slick-filter.filled' + }], + type: 'filter' + }); }); }); @@ -758,7 +770,13 @@ describe('Example 10 - Multiple Grids with Row Selection', () => { cy.window().then((win) => { expect(win.console.log).to.have.callCount(4); expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: { gridRowIndexes: [1, 0], dataContextIds: [1, 12, 13, 3, 522], filteredDataContextIds: [3, 13] }, type: 'rowSelection' }); - expect(win.console.log).to.be.calledWith('Grid State changed:: ', { newValues: [{ columnId: 'title', operator: 'Contains', searchTerms: ['3'], targetSelector: 'input.form-control.filter-title.search-filter.filled' }], type: 'filter' }); + expect(win.console.log).to.be.calledWith('Grid State changed:: ', { + newValues: [{ + columnId: 'title', operator: 'Contains', searchTerms: ['3'], + targetSelector: 'input.form-control.filter-title.search-filter.slick-filter.filled' + }], + type: 'filter' + }); }); cy.get('@grid2')