chatroom-app 1.0.0
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.
- package/README.md +49 -0
- package/dist/app.d.ts +27 -0
- package/dist/chatroom-app.cjs +460 -0
- package/dist/chatroom-app.mjs +458 -0
- package/dist/components/dialog-box/dialog-box.component.d.ts +18 -0
- package/dist/components/dialog-box/dialog-box.controller.d.ts +6 -0
- package/dist/components/dialog-box/dialog-box.model.d.ts +5 -0
- package/dist/components/main/main.component.d.ts +25 -0
- package/dist/components/main/main.controller.d.ts +16 -0
- package/dist/components/main/main.model.d.ts +5 -0
- package/dist/components/message-box/message-box.component.d.ts +17 -0
- package/dist/components/message-box/message-box.controller.d.ts +8 -0
- package/dist/components/message-box/message-box.model.d.ts +5 -0
- package/dist/index.scss +40 -0
- package/dist/models/message.model.d.ts +6 -0
- package/dist/services/history.service.d.ts +6 -0
- package/dist/utils/mqtt-config.d.ts +5 -0
- package/dist/utils/mqtt-service.d.ts +9 -0
- package/dist/vite.svg +1 -0
- package/package.json +45 -0
package/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Chatroom App
|
2
|
+
|
3
|
+
This is an project [Vite](https://vitejs.dev/) project using [Lit 4](https://lit.dev), Typescript, and Sass imports.
|
4
|
+
|
5
|
+
## structure
|
6
|
+
|
7
|
+
Chatroom App
|
8
|
+
├── index.html
|
9
|
+
│ ├── <chat-app>
|
10
|
+
│ ├── app.ts
|
11
|
+
│ ├── <main-container>
|
12
|
+
│ ├── main.component.ts
|
13
|
+
│ ├── main.controller.ts
|
14
|
+
│ ├── main.model.ts
|
15
|
+
│ ├── main.scss
|
16
|
+
│ ├── <message-box>
|
17
|
+
│ ├── message-box.component.ts
|
18
|
+
│ ├── message-box.controller.ts
|
19
|
+
│ ├── message-box.model.ts
|
20
|
+
│ ├── message-box.scss
|
21
|
+
├── public/
|
22
|
+
│ ├── index.scss
|
23
|
+
├── src/
|
24
|
+
│ ├── components/
|
25
|
+
│ ├── main/
|
26
|
+
│ ├── main.component.ts
|
27
|
+
│ ├── main.controller.ts
|
28
|
+
│ ├── main.model.ts
|
29
|
+
│ ├── main.scss
|
30
|
+
│ ├── message-box/
|
31
|
+
│ ├── message-box.component.ts
|
32
|
+
│ ├── message-box.controller.ts
|
33
|
+
│ ├── message-box.model.ts
|
34
|
+
│ ├── message-box.scss
|
35
|
+
│ ├── models/
|
36
|
+
│ ├── message.model.ts
|
37
|
+
│ ├── services/
|
38
|
+
│ ├── history.service.ts
|
39
|
+
│ ├── utils/
|
40
|
+
│ ├── mqtt-config.ts
|
41
|
+
│ ├── mqtt-service.ts
|
42
|
+
│ ├── app.ts
|
43
|
+
│ ├── vite-env.d.ts
|
44
|
+
├── .env
|
45
|
+
├── .env.development
|
46
|
+
├── .env.production
|
47
|
+
├── package.json
|
48
|
+
├── tsconfig.json
|
49
|
+
├── vite.config.ts
|
package/dist/app.d.ts
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
import { LitElement } from 'lit-element';
|
2
|
+
import './components/main/main.component';
|
3
|
+
import './components/message-box/message-box.component';
|
4
|
+
import './components/dialog-box/dialog-box.component';
|
5
|
+
export declare class ChatroomApp extends LitElement {
|
6
|
+
static styles: import("lit-element").CSSResult;
|
7
|
+
token: string;
|
8
|
+
showMainContainer: boolean;
|
9
|
+
static properties: {
|
10
|
+
token: {
|
11
|
+
type: StringConstructor;
|
12
|
+
};
|
13
|
+
showMainContainer: {
|
14
|
+
type: BooleanConstructor;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
constructor();
|
18
|
+
connectedCallback(): void;
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
20
|
+
private _toggleMainContainer;
|
21
|
+
firstUpdated(): void;
|
22
|
+
}
|
23
|
+
declare global {
|
24
|
+
interface HTMLElementTagNameMap {
|
25
|
+
'chatroom-app': ChatroomApp;
|
26
|
+
}
|
27
|
+
}
|