@cybertale/form 2.0.0 → 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.
Files changed (3) hide show
  1. package/README.md +2 -13
  2. package/package.json +3 -28
  3. 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: v14.21
7
- npm: 6.14
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.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
  ".": {
@@ -32,32 +32,7 @@
32
32
  "vue": "^3.4.30"
33
33
  },
34
34
  "devDependencies": {
35
- "@typescript-eslint/eslint-plugin": "^7.16.1",
36
- "@typescript-eslint/parser": "^7.16.1",
37
- "eslint": "^9.7.0",
38
35
  "typescript": "~5.4.0",
39
36
  "vue-facing-decorator": "^3.0.4"
40
- },
41
- "eslintConfig": {
42
- "env": {
43
- "node": true
44
- },
45
- "extends": [
46
- "plugin:vue/vue3-essential",
47
- "@vue/standard",
48
- "@vue/typescript/recommended"
49
- ],
50
- "parserOptions": {
51
- "ecmaVersion": 2020,
52
- "sourceType": "module"
53
- },
54
- "rules": {
55
- "@typescript-eslint/no-namespace": "off"
56
- }
57
- },
58
- "browserslist": [
59
- "> 1%",
60
- "last 2 versions",
61
- "not dead"
62
- ]
37
+ }
63
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 };