@pb33f/cowboy-components 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,8 @@ let RodeoNav = class RodeoNav extends LitElement {
17
17
  return html `
18
18
  <nav>
19
19
  <ul>
20
- <li><a href="/">roundup</a></li>
21
- <li><a href="users/">patrons</a></li>
20
+ <li><a href="/rodeo/roundup/">roundup</a></li>
21
+ <li><a href="/rodeo/users/">patrons</a></li>
22
22
  </ul>
23
23
  </nav>
24
24
  `;
@@ -1,9 +1,9 @@
1
1
  import { LitElement } from "lit";
2
2
  import './rodeo-nav.js';
3
- import './roundup.ts';
4
- import './users.ts';
3
+ import './roundup.js';
4
+ import './users.js';
5
5
  import { BusCallback, CommandResponse } from "@pb33f/ranch";
6
- import { PlatformEvent } from "../../model/platform-events";
6
+ import { PlatformEvent } from "../../model/platform-events.js";
7
7
  export declare class Rodeo extends LitElement {
8
8
  static styles: import("lit").CSSResult[];
9
9
  private readonly bus;
@@ -7,18 +7,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { html, LitElement } from "lit";
8
8
  import { customElement } from "lit/decorators.js";
9
9
  import rodeoCss from "./rodeo.css";
10
- import listsCss from "../../css/lists.css";
10
+ import listsCss from "../../css/lists.css.js";
11
11
  import { Router } from '@vaadin/router';
12
12
  import './rodeo-nav.js';
13
- import './roundup.ts';
14
- import './users.ts';
13
+ import './roundup.js';
14
+ import './users.js';
15
15
  import { CreateBus } from "@pb33f/ranch";
16
- import { Command, DoctorServiceChannel, isBrokerResponse, QueuePrefix, TopicPrefix, RodeoServiceChannel, isPlatformEvent } from "../../model/channels";
17
- import { LintingService } from "../../services/linting-service";
18
- import { AuthController } from "../../controllers/auth";
19
- import { RodeoService } from "../../services/rodeo-service";
20
- import { RodeoRoundup } from "./roundup";
21
- import { PlatformEventType } from "../../model/platform-events";
16
+ import { Command, DoctorServiceChannel, isBrokerResponse, QueuePrefix, TopicPrefix, RodeoServiceChannel, isPlatformEvent } from "../../model/channels.js";
17
+ import { LintingService } from "../../services/linting-service.js";
18
+ import { AuthController } from "../../controllers/auth.js";
19
+ import { RodeoService } from "../../services/rodeo-service.js";
20
+ import { RodeoRoundup } from "./roundup.js";
21
+ import { PlatformEventType } from "../../model/platform-events.js";
22
22
  let Rodeo = class Rodeo extends LitElement {
23
23
  constructor() {
24
24
  super();
@@ -79,11 +79,16 @@ let Rodeo = class Rodeo extends LitElement {
79
79
  }
80
80
  },
81
81
  {
82
- path: '/', action: () => {
82
+ path: '/rodeo/roundup', action: () => {
83
83
  return this.roundupComponent;
84
84
  }
85
85
  },
86
- { path: '/users', component: 'pb33f-rodeo-users' }
86
+ {
87
+ path: '/rodeo/', action: () => {
88
+ return this.roundupComponent;
89
+ }
90
+ },
91
+ { path: '/rodeo/users', component: 'pb33f-rodeo-users' }
87
92
  ]);
88
93
  this.connectToBroker();
89
94
  }
@@ -1,4 +1,4 @@
1
- import { AuthenticationState } from "../model/auth";
1
+ import { AuthenticationState } from "../model/auth.js";
2
2
  export declare class AuthService {
3
3
  static doctorEndpoint: string;
4
4
  static checkAuth(): Promise<AuthenticationState>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Princess Beef Heavy Industries Cowboy Components",
4
4
  "private": false,
5
5
  "license": "BUSL-1.1",
6
- "version": "0.6.2",
6
+ "version": "0.6.3",
7
7
  "type": "module",
8
8
  "main": "./dist/cowboy-components.umd.cjs",
9
9
  "module": "./dist/cowboy-components.js",