Skip to content

Commit

Permalink
chore(release): prepare release v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Apr 12, 2022
1 parent 05c50d7 commit 130bfee
Show file tree
Hide file tree
Showing 16 changed files with 434 additions and 520 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-router",
"version": "1.4.0",
"version": "1.5.0",
"description": "An implementation of the RouteLoader interface for use with the router module. Also contains a custom element that allows the templating engine to display the current route.",
"keywords": [
"aurelia",
Expand Down
178 changes: 46 additions & 132 deletions dist/amd/aurelia-templating-router.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/amd/aurelia-templating-router.js.map

Large diffs are not rendered by default.

24 changes: 21 additions & 3 deletions dist/aurelia-templating-router.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Generated by dts-bundle-generator v6.7.0

import { OverrideContext } from 'aurelia-binding';
import { Container } from 'aurelia-dependency-injection';
import { NavigationInstruction, RouteConfig, RouteLoader, Router } from 'aurelia-router';
Expand All @@ -11,7 +13,7 @@ export declare class TemplatingRouteLoader extends RouteLoader {
/**
* Load corresponding component of a route config of a navigation instruction
*/
loadRoute(router: Router, config: RouteConfig, _navInstruction: NavigationInstruction): Promise<any>;
loadRoute(router: Router, config: RouteConfig, navInstruction: NavigationInstruction): Promise<any>;
}
/**
* Implementation of Aurelia Router ViewPort. Responsible for loading route, composing and swapping routes views
Expand All @@ -26,7 +28,7 @@ export declare class RouterView {
* These values are defined by swapStrategies export in aurelia-templating/ aurelia-framework
* Can be extended there and used here
*/
swapOrder?: string;
swapOrder?: "before" | "after" | "with";
/**
* Layout view used for this router-view layout, if no layout-viewmodel specified
*/
Expand Down Expand Up @@ -61,6 +63,20 @@ export declare class RouterView {
process($viewPortInstruction: any, waitToSwap?: boolean): Promise<void>;
swap($viewPortInstruction: any): void | Promise<void>;
}
/**
* Locator which finds the nearest RouterView, relative to the current dependency injection container.
*/
export declare class RouterViewLocator {
/**
* Creates an instance of the RouterViewLocator class.
*/
constructor();
/**
* Finds the nearest RouterView instance.
* @returns A promise that will be resolved with the located RouterView instance.
*/
findNearest(): Promise<RouterView>;
}
/**
* Helper custom attribute to help associate an element with a route by name
*/
Expand Down Expand Up @@ -97,4 +113,6 @@ export interface IFrameworkConfiguration {
singleton(...args: any[]): this;
globalResources(...args: any[]): this;
}
export declare function configure(config: IFrameworkConfiguration): void;
export declare function configure(config: IFrameworkConfiguration): void;

export {};
174 changes: 44 additions & 130 deletions dist/commonjs/aurelia-templating-router.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/commonjs/aurelia-templating-router.js.map

Large diffs are not rendered by default.

119 changes: 5 additions & 114 deletions dist/es2015/aurelia-templating-router.js

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

2 changes: 1 addition & 1 deletion dist/es2015/aurelia-templating-router.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 130bfee

Please sign in to comment.