@vasakgroup/vue-libvasak 0.0.3 → 0.2.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 +47 -0
- package/dist/vue-libvasak.css +0 -0
- package/dist/vue-libvasak.es.js +2477 -0
- package/dist/vue-libvasak.umd.js +1 -0
- package/package.json +27 -6
- package/src/.d.ts +0 -0
- package/src/cards/DeviceCard.vue +82 -0
- package/src/cards/ListCard.vue +40 -0
- package/src/controls/ActionButton.vue +85 -0
- package/src/controls/ToggleControl.vue +55 -0
- package/src/forms/FormGroup.vue +27 -0
- package/src/forms/SliderControl.vue +100 -0
- package/src/forms/SwitchToggle.vue +49 -0
- package/src/index.ts +47 -1
- package/src/layout/ConfigSection.vue +28 -0
- package/src/sidebar/SideBar.vue +0 -0
- package/src/sidebar/SideButton.vue +1 -3
- package/src/tray/TrayIconButton.vue +80 -0
- package/src/types/vue-libvasak.d.ts +155 -0
- package/src/window/TopBar.vue +30 -43
- package/src/window/WindowFrame.vue +3 -75
- package/COPYING +0 -674
- package/readme.md +0 -71
package/readme.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# vue-libvasak
|
|
2
|
-
|
|
3
|
-
A simple vue components for VSK Applications used in VasakOS. This library is used in [application-template](https://github.com/Vasak-OS/application-template). Don't work in browser.
|
|
4
|
-
|
|
5
|
-
## Installation
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
yarn add @vasakgroup/vue-libvasak
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Use
|
|
12
|
-
|
|
13
|
-
We can use the components in our application as follows:
|
|
14
|
-
|
|
15
|
-
### WindowFrame
|
|
16
|
-
|
|
17
|
-
```vue
|
|
18
|
-
<script lang="ts">
|
|
19
|
-
import { defineComponent } from "vue";
|
|
20
|
-
import { WindowFrame } from "@vasakgroup/vue-libvasak";
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
<template>
|
|
24
|
-
<WindowFrame title="Hello World">
|
|
25
|
-
<p>Hello World</p>
|
|
26
|
-
</WindowFrame>
|
|
27
|
-
</template>
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### SideBar
|
|
31
|
-
|
|
32
|
-
```vue
|
|
33
|
-
<script lang="ts">
|
|
34
|
-
import { defineComponent } from "vue";
|
|
35
|
-
import {
|
|
36
|
-
SideBar,
|
|
37
|
-
WindowFrame,
|
|
38
|
-
SideA,
|
|
39
|
-
SideRouterLink,
|
|
40
|
-
SideSection,
|
|
41
|
-
} from "@vasakgroup/vue-libvasak";
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
<template>
|
|
45
|
-
<WindowFrame title="Hello World">
|
|
46
|
-
<SideBar title="My Sidebar">
|
|
47
|
-
<SideSection>
|
|
48
|
-
<SideA>
|
|
49
|
-
<SideRouterLink url="/" title="Home" image="./home.webp" />
|
|
50
|
-
<SideRouterLink url="/about" title="About" image="./about.webp" />
|
|
51
|
-
</SideA>
|
|
52
|
-
</SideSection>
|
|
53
|
-
<SideSection>
|
|
54
|
-
<SideA
|
|
55
|
-
url="http://vasak.net.ar/"
|
|
56
|
-
title="Vasak Group"
|
|
57
|
-
image="./vasak.webp"
|
|
58
|
-
/>
|
|
59
|
-
</SideSection>
|
|
60
|
-
</SideBar>
|
|
61
|
-
</WindowFrame>
|
|
62
|
-
</template>
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Contributors
|
|
66
|
-
|
|
67
|
-
<center>
|
|
68
|
-
<a href="https://github.com/Vasak-OS/vue-libvasak/graphs/contributors">
|
|
69
|
-
<img src="https://contrib.rocks/image?repo=Vasak-OS/vue-libvasak" />
|
|
70
|
-
</a>
|
|
71
|
-
</center>
|