@tak-ps/vue-tabler 3.87.4 → 4.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/CHANGELOG.md +5 -0
- package/README.md +102 -2
- package/components/Alert.vue +18 -23
- package/components/BreadCrumb.vue +10 -10
- package/components/Button.vue +6 -4
- package/components/Bytes.vue +7 -7
- package/components/Delete.vue +19 -22
- package/components/Dropdown.vue +11 -22
- package/components/Epoch.vue +10 -12
- package/components/EpochRange.vue +11 -16
- package/components/Err.vue +14 -18
- package/components/Help.vue +12 -14
- package/components/IconButton.vue +13 -17
- package/components/InlineAlert.vue +8 -6
- package/components/List.vue +42 -34
- package/components/Loading.vue +10 -11
- package/components/Markdown.vue +10 -11
- package/components/Modal.vue +12 -14
- package/components/None.vue +18 -21
- package/components/Pager.vue +19 -21
- package/components/Progress.vue +8 -7
- package/components/RefreshButton.vue +12 -15
- package/components/Schema.vue +25 -23
- package/components/Slidedown.vue +13 -14
- package/components/input/Colour.vue +26 -37
- package/components/input/Enum.vue +25 -40
- package/components/input/FileInput.vue +31 -46
- package/components/input/Input.vue +52 -74
- package/components/input/Range.vue +29 -45
- package/components/input/Select.vue +13 -18
- package/components/input/TimeZone.vue +23 -33
- package/components/input/Toggle.vue +22 -32
- package/components/internal/Label.vue +11 -16
- package/eslint.config.js +11 -10
- package/package.json +12 -7
- package/tsconfig.json +30 -0
- /package/{lib.js → lib.ts} +0 -0
package/eslint.config.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import eslintPluginVue from 'eslint-plugin-vue'
|
|
1
|
+
import globals from 'globals';
|
|
2
|
+
import js from '@eslint/js';
|
|
3
|
+
import eslintPluginVue from 'eslint-plugin-vue';
|
|
4
4
|
import ts from 'typescript-eslint';
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default ts.config(
|
|
7
7
|
js.configs.recommended,
|
|
8
8
|
...ts.configs.recommended,
|
|
9
9
|
...eslintPluginVue.configs['flat/recommended'],
|
|
10
|
-
{
|
|
10
|
+
{
|
|
11
11
|
languageOptions: {
|
|
12
|
-
|
|
13
|
-
...globals.browser,
|
|
14
|
-
},
|
|
12
|
+
sourceType: 'module',
|
|
15
13
|
parserOptions: {
|
|
16
14
|
parser: '@typescript-eslint/parser'
|
|
15
|
+
},
|
|
16
|
+
globals: {
|
|
17
|
+
...globals.browser
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
rules: {
|
|
20
|
-
"vue/html-indent": ["error", 4],
|
|
21
|
+
"vue/html-indent": ["error", 4],
|
|
21
22
|
"vue/html-quotes": ["error", "single", { "avoidEscape": false } ],
|
|
22
23
|
"vue/multi-word-component-names": 1,
|
|
23
24
|
"vue/no-multiple-template-root": 0,
|
|
@@ -25,4 +26,4 @@ export default [
|
|
|
25
26
|
"vue/require-v-for-key": 0
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
+
)
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/vue-tabler",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
5
|
-
"lib": "lib.
|
|
6
|
-
"main": "lib.
|
|
7
|
-
"module": "lib.
|
|
4
|
+
"version": "4.0.0",
|
|
5
|
+
"lib": "lib.ts",
|
|
6
|
+
"main": "lib.ts",
|
|
7
|
+
"module": "lib.ts",
|
|
8
8
|
"exports": {
|
|
9
|
-
".": "./lib.
|
|
9
|
+
".": "./lib.ts"
|
|
10
10
|
},
|
|
11
11
|
"description": "Tabler UI components for Vue3",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"
|
|
14
|
+
"check": "vue-tsc --noEmit",
|
|
15
|
+
"lint": "eslint lib.ts components/"
|
|
15
16
|
},
|
|
16
17
|
"repository": {
|
|
17
18
|
"type": "git",
|
|
@@ -29,12 +30,16 @@
|
|
|
29
30
|
"typescript-eslint": "^8.36.0",
|
|
30
31
|
"vue": "^3.5.12"
|
|
31
32
|
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"vue-router": "^4.0.0"
|
|
35
|
+
},
|
|
32
36
|
"devDependencies": {
|
|
33
37
|
"@babel/eslint-parser": "^7.22.15",
|
|
34
38
|
"@typescript-eslint/parser": "^8.8.1",
|
|
35
39
|
"@vue/cli-plugin-babel": "^5.0.8",
|
|
36
40
|
"eslint": "^9.12.0",
|
|
37
41
|
"eslint-plugin-vue": "^10.0.0",
|
|
38
|
-
"globals": "^16.3.0"
|
|
42
|
+
"globals": "^16.3.0",
|
|
43
|
+
"vue-tsc": "^3.2.1"
|
|
39
44
|
}
|
|
40
45
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "esnext",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"jsx": "preserve",
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"allowSyntheticDefaultImports": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"useDefineForClassFields": true,
|
|
13
|
+
"sourceMap": true,
|
|
14
|
+
"baseUrl": ".",
|
|
15
|
+
"types": [],
|
|
16
|
+
"paths": {
|
|
17
|
+
"@/*": [
|
|
18
|
+
"src/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"include": [
|
|
23
|
+
"lib.ts",
|
|
24
|
+
"components/**/*.vue",
|
|
25
|
+
"components/**/*.ts"
|
|
26
|
+
],
|
|
27
|
+
"exclude": [
|
|
28
|
+
"node_modules"
|
|
29
|
+
]
|
|
30
|
+
}
|
/package/{lib.js → lib.ts}
RENAMED
|
File without changes
|