@wisemen/vue-core-actions 0.1.1

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 (37) hide show
  1. package/LICENSE.md +59 -0
  2. package/dist/composables/actionDropdownMenuContent.composable.d.ts +24 -0
  3. package/dist/composables/actionGroup.composable.d.ts +32 -0
  4. package/dist/composables/actionPreview.composable.d.ts +15 -0
  5. package/dist/composables/actionShortcuts.composable.d.ts +27 -0
  6. package/dist/composables/activeModels.composable.d.ts +3 -0
  7. package/dist/composables/commandMenuActions.composable.d.ts +28 -0
  8. package/dist/composables/commandMenuAnimation.composable.d.ts +5 -0
  9. package/dist/composables/commandMenuNavigation.composable.d.ts +35 -0
  10. package/dist/composables/focusedModels.composable.d.ts +6 -0
  11. package/dist/composables/isSelectorVisible.composable.d.ts +1 -0
  12. package/dist/composables/temporaryActions.composable.d.ts +6 -0
  13. package/dist/composables/viewModels.composable.d.ts +3 -0
  14. package/dist/const/index.d.ts +6 -0
  15. package/dist/createActions.d.ts +47 -0
  16. package/dist/index.cjs +1 -0
  17. package/dist/index.d.ts +22 -0
  18. package/dist/index.js +2122 -0
  19. package/dist/locales/en-US.json.d.ts +12 -0
  20. package/dist/locales/nl-BE.json.d.ts +12 -0
  21. package/dist/locales-BPtvPqGa.js +22 -0
  22. package/dist/locales-D5e1O21n.cjs +1 -0
  23. package/dist/locales.cjs +1 -0
  24. package/dist/locales.d.ts +20 -0
  25. package/dist/locales.js +2 -0
  26. package/dist/stores/actionManager.store.d.ts +82 -0
  27. package/dist/stores/actionRegistry.store.d.ts +17 -0
  28. package/dist/types/action.type.d.ts +225 -0
  29. package/dist/types/actionContext.type.d.ts +112 -0
  30. package/dist/types/actionGroup.type.d.ts +19 -0
  31. package/dist/types/actionModel.type.d.ts +4 -0
  32. package/dist/types/commandMenu.type.d.ts +11 -0
  33. package/dist/types/keyboardShortcut.type.d.ts +26 -0
  34. package/dist/utils/commandMenuGroups.util.d.ts +12 -0
  35. package/dist/utils/resolveActions.util.d.ts +13 -0
  36. package/dist/utils/subActions.util.d.ts +5 -0
  37. package/package.json +73 -0
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@wisemen/vue-core-actions",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "type": "module",
7
+ "version": "0.1.1",
8
+ "private": false,
9
+ "license": "SEE LICENSE IN LICENSE.md",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/wisemen-digital/wisemen-core",
13
+ "directory": "packages/web/actions"
14
+ },
15
+ "sideEffects": false,
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./locales": {
22
+ "types": "./dist/locales.d.ts",
23
+ "import": "./dist/locales.js"
24
+ },
25
+ "./style.css": "./dist/style.css",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "imports": {
29
+ "#*": "./src/*"
30
+ },
31
+ "main": "./dist/index.umd.cjs",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "typings": "./dist/index.d.ts",
35
+ "files": [
36
+ "./dist"
37
+ ],
38
+ "peerDependencies": {
39
+ "vue": ">=3.5.22",
40
+ "pinia": "3.0.4",
41
+ "vue-i18n": ">=11.1.12"
42
+ },
43
+ "devDependencies": {
44
+ "@tanstack/vue-hotkeys": "^0.10.0",
45
+ "@types/node": "24.8.1",
46
+ "@vitejs/plugin-vue": "6.0.3",
47
+ "@vueuse/core": "14.1.0",
48
+ "@vue/test-utils": "2.4.6",
49
+ "@vue/tsconfig": "0.8.1",
50
+ "@wisemen/vue-core-icons": "0.0.2",
51
+ "eslint": "9.39.4",
52
+ "pinia": "3.0.4",
53
+ "husky": "^9.1.7",
54
+ "typescript": "5.9.3",
55
+ "vite": "8.0.6",
56
+ "vite-plugin-dts": "4.5.4",
57
+ "vitest": "4.1.0",
58
+ "vue": "3.5.27",
59
+ "vue-tsc": "3.2.2",
60
+ "@wisemen/eslint-config-vue": "2.1.3"
61
+ },
62
+ "scripts": {
63
+ "build": "vite build",
64
+ "build-only": "vite build",
65
+ "type-check": "vue-tsc --noEmit",
66
+ "pub:release": "pnpm publish --access public",
67
+ "test:unit": "vitest --run",
68
+ "test": "vitest --run",
69
+ "lint": "eslint .",
70
+ "lint:fix": "eslint . --fix",
71
+ "cleanup": "rimraf dist/ node_modules/ .turbo/"
72
+ }
73
+ }