@cybertale/form 2.0.1 → 2.0.2
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 +2 -13
- package/package.json +3 -22
- package/src/index.d.ts +15 -0
package/README.md
CHANGED
|
@@ -3,22 +3,11 @@
|
|
|
3
3
|
##### UI collections for inserting and editing devices along with administration management and creation of custom device forms/groups.
|
|
4
4
|
## Compatible version
|
|
5
5
|
```
|
|
6
|
-
node:
|
|
7
|
-
npm:
|
|
6
|
+
node: v22.3.0
|
|
7
|
+
npm: 10.8.1
|
|
8
8
|
```
|
|
9
9
|
## Project setup
|
|
10
10
|
```
|
|
11
11
|
npm install
|
|
12
12
|
```
|
|
13
|
-
### Import folder to Vue CLI!
|
|
14
13
|
|
|
15
|
-
### Customize configuration (.env.development example)
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
VUE_APP_BASE_URL=http://blog.test/api/
|
|
19
|
-
VUE_APP_URL=http://blog.test/
|
|
20
|
-
VUE_APP_CLIENT_ID=99062c75-d480-4659-82b7-7e0037d7fc52
|
|
21
|
-
|
|
22
|
-
PS:get VUE_APP_CLIENT_ID from oauth database, table oauth_clients.
|
|
23
|
-
Be sure that you choose the row with front_redirect to localhost:8080
|
|
24
|
-
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cybertale/form",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "ECS interface for Web Development, CyberTale edition.",
|
|
5
5
|
"author": "Joso Marich <jspmari@proton.me>",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directories": {
|
|
20
20
|
"lib": "src"
|
|
21
21
|
},
|
|
22
|
-
"types": "src/index.ts",
|
|
22
|
+
"types": "src/index.d.ts",
|
|
23
23
|
"module": "src/index.ts",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
@@ -34,24 +34,5 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "~5.4.0",
|
|
36
36
|
"vue-facing-decorator": "^3.0.4"
|
|
37
|
-
}
|
|
38
|
-
"eslintConfig": {
|
|
39
|
-
"env": {
|
|
40
|
-
"node": true
|
|
41
|
-
},
|
|
42
|
-
"extends": [
|
|
43
|
-
"plugin:vue/vue3-essential",
|
|
44
|
-
"@vue/standard",
|
|
45
|
-
"@vue/typescript/recommended"
|
|
46
|
-
],
|
|
47
|
-
"parserOptions": {
|
|
48
|
-
"ecmaVersion": 2020,
|
|
49
|
-
"sourceType": "module"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"browserslist": [
|
|
53
|
-
"> 1%",
|
|
54
|
-
"last 2 versions",
|
|
55
|
-
"not dead"
|
|
56
|
-
]
|
|
37
|
+
}
|
|
57
38
|
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// index.d.ts
|
|
2
|
+
import { DefineComponent } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
export interface AlertComponent extends DefineComponent {}
|
|
6
|
+
export interface ButtonComponent extends DefineComponent {}
|
|
7
|
+
export interface CheckBoxComponent extends DefineComponent {}
|
|
8
|
+
export interface DataListComponent extends DefineComponent {}
|
|
9
|
+
export interface FieldComponent extends DefineComponent {}
|
|
10
|
+
export interface LabelComponent extends DefineComponent {}
|
|
11
|
+
export interface RadioComponent extends DefineComponent {}
|
|
12
|
+
export interface SelectListComponent extends DefineComponent {}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { AlertComponent, ButtonComponent, CheckBoxComponent, DataListComponent, FieldComponent, LabelComponent, RadioComponent, SelectListComponent };
|