Skip to content

Commit

Permalink
fix(deps): update Aurelia 2.Beta 22 (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding authored Sep 30, 2024
1 parent a34048f commit 7d8ae06
Show file tree
Hide file tree
Showing 8 changed files with 164 additions and 162 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.5",
"@aurelia/fetch-client": "^2.0.0-beta.21",
"@aurelia/i18n": "^2.0.0-beta.21",
"@aurelia/platform": "^2.0.0-beta.21",
"@aurelia/platform-browser": "^2.0.0-beta.21",
"@aurelia/fetch-client": "^2.0.0-beta.22",
"@aurelia/i18n": "^2.0.0-beta.22",
"@aurelia/platform": "^2.0.0-beta.22",
"@aurelia/platform-browser": "^2.0.0-beta.22",
"@formkit/tempo": "^0.1.2",
"@jest/types": "^29.6.3",
"@lerna-lite/cli": "^3.9.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/aurelia-slickgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"pack": "npm pack"
},
"peerDependencies": {
"aurelia": "^2.0.0-beta.21"
"aurelia": "^2.0.0-beta.22"
},
"dependencies": {
"@aurelia/i18n": "^2.0.0-beta.21",
"@aurelia/runtime": "^2.0.0-beta.21",
"@aurelia/runtime-html": "^2.0.0-beta.21",
"@aurelia/i18n": "^2.0.0-beta.22",
"@aurelia/runtime": "^2.0.0-beta.22",
"@aurelia/runtime-html": "^2.0.0-beta.22",
"@formkit/tempo": "^0.1.2",
"@slickgrid-universal/common": "~5.8.0",
"@slickgrid-universal/custom-footer-component": "~5.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class SlickRowDetailView extends UniversalSlickRowDetailView {
async renderPreloadView() {
const containerElements = this.gridContainerElement.getElementsByClassName(`${PRELOAD_CONTAINER_PREFIX}`);
if (this._preloadViewModel && containerElements?.length >= 0) {
await this.aureliaUtilService.createAureliaViewModelAddToSlot(this._preloadViewModel, undefined, containerElements[containerElements.length - 1]);
await this.aureliaUtilService.createAureliaViewModelAddToSlot(this._preloadViewModel, undefined, containerElements[containerElements.length - 1] as HTMLElement);
}
}

Expand All @@ -254,7 +254,7 @@ export class SlickRowDetailView extends UniversalSlickRowDetailView {
dataView: this.dataView,
parent: this.rowDetailViewOptions?.parent,
} as ViewModelBindableInputData;
const aureliaComp = await this.aureliaUtilService.createAureliaViewModelAddToSlot(this._viewModel, bindableData, containerElements[containerElements.length - 1]);
const aureliaComp = await this.aureliaUtilService.createAureliaViewModelAddToSlot(this._viewModel, bindableData, containerElements[containerElements.length - 1] as HTMLElement);
const slotObj = this._slots.find(obj => obj.id === item[this.datasetIdPropName]);

if (slotObj && aureliaComp) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { AureliaViewOutput, ViewModelBindableInputData } from '../models/in
export class AureliaUtilService {
constructor(private readonly au: IAurelia = resolve(IAurelia)) { }

async createAureliaViewModelAddToSlot(viewModel: Constructable, bindableData?: ViewModelBindableInputData, targetElement?: HTMLElement | Element): Promise<AureliaViewOutput | null> {
async createAureliaViewModelAddToSlot(viewModel: Constructable, bindableData?: ViewModelBindableInputData, targetElement?: HTMLElement): Promise<AureliaViewOutput | null> {
if (!targetElement) {
return null;
}
Expand Down
22 changes: 11 additions & 11 deletions packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
"serve:demo": "servor ./website index.html 9000"
},
"dependencies": {
"@aurelia/fetch-client": "^2.0.0-beta.21",
"@aurelia/i18n": "^2.0.0-beta.21",
"@aurelia/kernel": "^2.0.0-beta.21",
"@aurelia/metadata": "^2.0.0-beta.21",
"@aurelia/router": "^2.0.0-beta.21",
"@aurelia/runtime": "^2.0.0-beta.21",
"@aurelia/runtime-html": "^2.0.0-beta.21",
"@aurelia/fetch-client": "^2.0.0-beta.22",
"@aurelia/i18n": "^2.0.0-beta.22",
"@aurelia/kernel": "^2.0.0-beta.22",
"@aurelia/metadata": "^2.0.0-beta.22",
"@aurelia/router": "^2.0.0-beta.22",
"@aurelia/runtime": "^2.0.0-beta.22",
"@aurelia/runtime-html": "^2.0.0-beta.22",
"@faker-js/faker": "^9.0.3",
"@fnando/sparkline": "^0.3.10",
"@formkit/tempo": "^0.1.2",
Expand All @@ -52,17 +52,17 @@
"@slickgrid-universal/row-detail-view-plugin": "^5.8.0",
"@slickgrid-universal/rxjs-observable": "^5.8.0",
"@slickgrid-universal/text-export": "^5.8.0",
"aurelia": "^2.0.0-beta.21",
"aurelia": "^2.0.0-beta.22",
"aurelia-slickgrid": "workspace:*",
"bootstrap": "^5.3.3",
"i18next": "^23.15.1",
"i18next-fetch-backend": "^6.0.0",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@aurelia/testing": "^2.0.0-beta.21",
"@aurelia/ts-jest": "^2.0.0-beta.21",
"@aurelia/webpack-loader": "^2.0.0-beta.21",
"@aurelia/testing": "^2.0.0-beta.22",
"@aurelia/ts-jest": "^2.0.0-beta.22",
"@aurelia/webpack-loader": "^2.0.0-beta.22",
"@types/dompurify": "^3.0.5",
"@types/fnando__sparkline": "^0.3.7",
"@types/jest": "^29.5.13",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { IBindingContext, ICustomElementController } from '@aurelia/runtime-html';
import type { IBindingContext } from '@aurelia/runtime';
import type { ICustomElementController } from '@aurelia/runtime-html';

import {
AureliaUtilService,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { IBindingContext, ICustomElementController } from '@aurelia/runtime-html';
import type { IBindingContext } from '@aurelia/runtime';
import type { ICustomElementController } from '@aurelia/runtime-html';

import {
AureliaUtilService,
Expand Down
Loading

0 comments on commit 7d8ae06

Please sign in to comment.