@bitrix24/b24ui-nuxt 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 (159) hide show
  1. package/.nuxt/b24ui/advice.ts +52 -0
  2. package/.nuxt/b24ui/alert.ts +118 -0
  3. package/.nuxt/b24ui/avatar-group.ts +52 -0
  4. package/.nuxt/b24ui/avatar.ts +63 -0
  5. package/.nuxt/b24ui/badge.ts +256 -0
  6. package/.nuxt/b24ui/button-group.ts +27 -0
  7. package/.nuxt/b24ui/button.ts +342 -0
  8. package/.nuxt/b24ui/checkbox.ts +128 -0
  9. package/.nuxt/b24ui/chip.ts +205 -0
  10. package/.nuxt/b24ui/container.ts +3 -0
  11. package/.nuxt/b24ui/content/description-list.ts +62 -0
  12. package/.nuxt/b24ui/countdown.ts +94 -0
  13. package/.nuxt/b24ui/form-field.ts +57 -0
  14. package/.nuxt/b24ui/form.ts +3 -0
  15. package/.nuxt/b24ui/index.ts +28 -0
  16. package/.nuxt/b24ui/input.ts +472 -0
  17. package/.nuxt/b24ui/kbd.ts +31 -0
  18. package/.nuxt/b24ui/link.ts +20 -0
  19. package/.nuxt/b24ui/progress.ts +303 -0
  20. package/.nuxt/b24ui/radio-group.ts +135 -0
  21. package/.nuxt/b24ui/range.ts +172 -0
  22. package/.nuxt/b24ui/select.ts +550 -0
  23. package/.nuxt/b24ui/separator.ts +176 -0
  24. package/.nuxt/b24ui/skeleton.ts +3 -0
  25. package/.nuxt/b24ui/switch.ts +134 -0
  26. package/.nuxt/b24ui/tabs.ts +341 -0
  27. package/.nuxt/b24ui/textarea.ts +332 -0
  28. package/.nuxt/b24ui/toast.ts +89 -0
  29. package/.nuxt/b24ui/toaster.ts +91 -0
  30. package/.nuxt/b24ui/tooltip.ts +16 -0
  31. package/LICENSE +21 -0
  32. package/README.md +101 -0
  33. package/cli/commands/make/component.mjs +95 -0
  34. package/cli/commands/make/index.mjs +14 -0
  35. package/cli/commands/make/locale.mjs +64 -0
  36. package/cli/index.mjs +15 -0
  37. package/cli/package.json +13 -0
  38. package/cli/templates.mjs +240 -0
  39. package/cli/utils.mjs +31 -0
  40. package/dist/meta.cjs +23610 -0
  41. package/dist/meta.d.cts +23608 -0
  42. package/dist/meta.d.mts +23608 -0
  43. package/dist/meta.d.ts +23608 -0
  44. package/dist/meta.mjs +23608 -0
  45. package/dist/module.cjs +54 -0
  46. package/dist/module.d.cts +14 -0
  47. package/dist/module.d.mts +14 -0
  48. package/dist/module.d.ts +14 -0
  49. package/dist/module.json +13 -0
  50. package/dist/module.mjs +51 -0
  51. package/dist/runtime/components/Advice.vue +115 -0
  52. package/dist/runtime/components/Alert.vue +136 -0
  53. package/dist/runtime/components/App.vue +52 -0
  54. package/dist/runtime/components/Avatar.vue +118 -0
  55. package/dist/runtime/components/AvatarGroup.vue +99 -0
  56. package/dist/runtime/components/Badge.vue +114 -0
  57. package/dist/runtime/components/Button.vue +177 -0
  58. package/dist/runtime/components/ButtonGroup.vue +58 -0
  59. package/dist/runtime/components/Checkbox.vue +110 -0
  60. package/dist/runtime/components/Chip.vue +81 -0
  61. package/dist/runtime/components/Container.vue +36 -0
  62. package/dist/runtime/components/Countdown.vue +498 -0
  63. package/dist/runtime/components/Form.vue +271 -0
  64. package/dist/runtime/components/FormField.vue +128 -0
  65. package/dist/runtime/components/Input.vue +224 -0
  66. package/dist/runtime/components/Kbd.vue +50 -0
  67. package/dist/runtime/components/Link.vue +219 -0
  68. package/dist/runtime/components/LinkBase.vue +63 -0
  69. package/dist/runtime/components/Progress.vue +182 -0
  70. package/dist/runtime/components/RadioGroup.vue +178 -0
  71. package/dist/runtime/components/Range.vue +114 -0
  72. package/dist/runtime/components/Select.vue +328 -0
  73. package/dist/runtime/components/Separator.vue +82 -0
  74. package/dist/runtime/components/Skeleton.vue +31 -0
  75. package/dist/runtime/components/Switch.vue +133 -0
  76. package/dist/runtime/components/Tabs.vue +127 -0
  77. package/dist/runtime/components/Textarea.vue +216 -0
  78. package/dist/runtime/components/Toast.vue +168 -0
  79. package/dist/runtime/components/Toaster.vue +143 -0
  80. package/dist/runtime/components/Tooltip.vue +94 -0
  81. package/dist/runtime/components/content/DescriptionList.vue +220 -0
  82. package/dist/runtime/composables/defineLocale.d.ts +9 -0
  83. package/dist/runtime/composables/defineLocale.js +4 -0
  84. package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
  85. package/dist/runtime/composables/defineShortcuts.js +135 -0
  86. package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
  87. package/dist/runtime/composables/useAvatarGroup.js +10 -0
  88. package/dist/runtime/composables/useButtonGroup.d.ts +17 -0
  89. package/dist/runtime/composables/useButtonGroup.js +10 -0
  90. package/dist/runtime/composables/useComponentIcons.d.ts +20 -0
  91. package/dist/runtime/composables/useComponentIcons.js +25 -0
  92. package/dist/runtime/composables/useFormField.d.ts +42 -0
  93. package/dist/runtime/composables/useFormField.js +65 -0
  94. package/dist/runtime/composables/useKbd.d.ts +35 -0
  95. package/dist/runtime/composables/useKbd.js +52 -0
  96. package/dist/runtime/composables/useLocale.d.ts +4 -0
  97. package/dist/runtime/composables/useLocale.js +10 -0
  98. package/dist/runtime/composables/useToast.d.ts +12 -0
  99. package/dist/runtime/composables/useToast.js +62 -0
  100. package/dist/runtime/dictionary/icons.d.ts +20 -0
  101. package/dist/runtime/dictionary/icons.js +35 -0
  102. package/dist/runtime/index.css +1 -0
  103. package/dist/runtime/keyframes.css +1 -0
  104. package/dist/runtime/locale/en.d.ts +2 -0
  105. package/dist/runtime/locale/en.js +48 -0
  106. package/dist/runtime/locale/es.d.ts +2 -0
  107. package/dist/runtime/locale/es.js +48 -0
  108. package/dist/runtime/locale/index.d.ts +3 -0
  109. package/dist/runtime/locale/index.js +3 -0
  110. package/dist/runtime/locale/ru.d.ts +2 -0
  111. package/dist/runtime/locale/ru.js +48 -0
  112. package/dist/runtime/plugins/colors.d.ts +2 -0
  113. package/dist/runtime/plugins/colors.js +40 -0
  114. package/dist/runtime/types/app.config.d.ts +6 -0
  115. package/dist/runtime/types/form.d.ts +84 -0
  116. package/dist/runtime/types/form.js +12 -0
  117. package/dist/runtime/types/icons.d.ts +3 -0
  118. package/dist/runtime/types/icons.js +0 -0
  119. package/dist/runtime/types/index.d.ts +33 -0
  120. package/dist/runtime/types/index.js +33 -0
  121. package/dist/runtime/types/locale.d.ts +50 -0
  122. package/dist/runtime/types/locale.js +0 -0
  123. package/dist/runtime/types/utils.d.ts +22 -0
  124. package/dist/runtime/types/utils.js +0 -0
  125. package/dist/runtime/utils/form.d.ts +17 -0
  126. package/dist/runtime/utils/form.js +153 -0
  127. package/dist/runtime/utils/fuse.d.ts +4 -0
  128. package/dist/runtime/utils/fuse.js +63 -0
  129. package/dist/runtime/utils/index.d.ts +6 -0
  130. package/dist/runtime/utils/index.js +63 -0
  131. package/dist/runtime/utils/link.d.ts +29 -0
  132. package/dist/runtime/utils/link.js +4 -0
  133. package/dist/runtime/utils/locale.d.ts +15 -0
  134. package/dist/runtime/utils/locale.js +25 -0
  135. package/dist/runtime/utils/tv.d.ts +1 -0
  136. package/dist/runtime/utils/tv.js +4 -0
  137. package/dist/runtime/vue/components/Link.vue +203 -0
  138. package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
  139. package/dist/runtime/vue/plugins/color-mode.js +6 -0
  140. package/dist/runtime/vue/plugins/head.d.ts +4 -0
  141. package/dist/runtime/vue/plugins/head.js +6 -0
  142. package/dist/runtime/vue/stubs.d.ts +15 -0
  143. package/dist/runtime/vue/stubs.js +27 -0
  144. package/dist/shared/b24ui-nuxt.CNGvMe2S.mjs +4074 -0
  145. package/dist/shared/b24ui-nuxt.D22QQtm8.cjs +4079 -0
  146. package/dist/types.d.mts +1 -0
  147. package/dist/types.d.ts +1 -0
  148. package/dist/unplugin.cjs +213 -0
  149. package/dist/unplugin.d.cts +22 -0
  150. package/dist/unplugin.d.mts +22 -0
  151. package/dist/unplugin.d.ts +22 -0
  152. package/dist/unplugin.mjs +202 -0
  153. package/dist/vite.cjs +21 -0
  154. package/dist/vite.d.cts +12 -0
  155. package/dist/vite.d.mts +12 -0
  156. package/dist/vite.d.ts +12 -0
  157. package/dist/vite.mjs +19 -0
  158. package/package.json +166 -0
  159. package/vue-plugin.d.ts +5 -0
package/package.json ADDED
@@ -0,0 +1,166 @@
1
+ {
2
+ "name": "@bitrix24/b24ui-nuxt",
3
+ "description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
4
+ "version": "0.1.1",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/bitrix24/b24ui.git"
8
+ },
9
+ "homepage": "https://bitrix24.github.io/b24ui/",
10
+ "type": "module",
11
+ "license": "MIT",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/module.d.ts",
15
+ "style": "./dist/runtime/index.css",
16
+ "import": "./dist/module.mjs",
17
+ "require": "./dist/module.cjs"
18
+ },
19
+ "./unplugin": {
20
+ "types": "./dist/unplugin.d.ts",
21
+ "import": "./dist/unplugin.mjs",
22
+ "require": "./dist/unplugin.cjs"
23
+ },
24
+ "./meta": {
25
+ "types": "./dist/meta.d.ts",
26
+ "import": "./dist/meta.mjs",
27
+ "require": "./dist/meta.cjs"
28
+ },
29
+ "./vite": {
30
+ "types": "./dist/vite.d.ts",
31
+ "import": "./dist/vite.mjs",
32
+ "require": "./dist/vite.cjs"
33
+ },
34
+ "./vue-plugin": {
35
+ "types": "./vue-plugin.d.ts"
36
+ },
37
+ "./runtime/*": "./dist/runtime/*",
38
+ "./locale": {
39
+ "types": "./dist/runtime/locale/index.d.ts",
40
+ "import": "./dist/runtime/locale/index.js"
41
+ }
42
+ },
43
+ "imports": {
44
+ "#build/b24ui/*": "./.nuxt/b24ui/*.ts"
45
+ },
46
+ "bin": {
47
+ "bitrix24-ui": "./cli/index.mjs"
48
+ },
49
+ "style": "./dist/runtime/index.css",
50
+ "main": "./dist/module.cjs",
51
+ "types": "./dist/types.d.ts",
52
+ "files": [
53
+ "README.md",
54
+ "LICENSE",
55
+ ".nuxt/b24ui",
56
+ "dist",
57
+ "cli",
58
+ "vue-plugin.d.ts"
59
+ ],
60
+ "dependencies": {
61
+ "@bitrix24/b24icons-vue": "^1.0.3",
62
+ "@bitrix24/b24style": "^1.0.1",
63
+ "@internationalized/date": "^3.7.0",
64
+ "@internationalized/number": "^3.6.0",
65
+ "@nuxt/kit": "^3.15.3",
66
+ "@nuxt/schema": "^3.15.3",
67
+ "@nuxtjs/color-mode": "^3.5.2",
68
+ "@tailwindcss/postcss": "4.0.0",
69
+ "@tailwindcss/vite": "4.0.0",
70
+ "@tanstack/vue-table": "^8.20.5",
71
+ "@unhead/vue": "^1.11.18",
72
+ "@vueuse/core": "^12.5.0",
73
+ "@vueuse/integrations": "^12.5.0",
74
+ "colortranslator": "^4.1.0",
75
+ "consola": "^3.4.0",
76
+ "defu": "^6.1.4",
77
+ "embla-carousel-auto-height": "^8.5.2",
78
+ "embla-carousel-auto-scroll": "^8.5.2",
79
+ "embla-carousel-autoplay": "^8.5.2",
80
+ "embla-carousel-class-names": "^8.5.2",
81
+ "embla-carousel-fade": "^8.5.2",
82
+ "embla-carousel-vue": "^8.5.2",
83
+ "embla-carousel-wheel-gestures": "^8.0.1",
84
+ "fuse.js": "^7.0.0",
85
+ "knitwork": "^1.2.0",
86
+ "magic-string": "^0.30.17",
87
+ "mlly": "^1.7.4",
88
+ "ohash": "^1.1.4",
89
+ "pathe": "^2.0.2",
90
+ "reka-ui": "1.0.0-alpha.8",
91
+ "scule": "^1.3.0",
92
+ "tailwind-variants": "^0.3.1",
93
+ "tailwindcss": "4.0.0",
94
+ "tinyglobby": "^0.2.10",
95
+ "unplugin": "^2.1.2",
96
+ "unplugin-auto-import": "^19.0.0",
97
+ "unplugin-vue-components": "^28.0.0",
98
+ "vaul-vue": "^0.2.0"
99
+ },
100
+ "devDependencies": {
101
+ "@nuxt/eslint-config": "^0.7.5",
102
+ "@nuxt/module-builder": "^0.8.4",
103
+ "@nuxt/test-utils": "^3.15.4",
104
+ "@standard-schema/spec": "1.0.0",
105
+ "@vue/test-utils": "^2.4.6",
106
+ "embla-carousel": "^8.5.2",
107
+ "eslint": "^9.19.0",
108
+ "happy-dom": "15.7.4",
109
+ "joi": "^17.13.3",
110
+ "knitwork": "^1.2.0",
111
+ "npm-run-all": "^4.1.5",
112
+ "nuxt": "^3.15.3",
113
+ "nuxt-component-meta": "^0.10.0",
114
+ "superstruct": "^2.0.2",
115
+ "valibot": "^0.42.1",
116
+ "vitepress": "^1.5.0",
117
+ "vitest": "^3.0.4",
118
+ "vitest-environment-nuxt": "^1.0.1",
119
+ "vue-tsc": "^2.2.0",
120
+ "yup": "^1.6.1",
121
+ "zod": "^3.24.1"
122
+ },
123
+ "peerDependencies": {
124
+ "typescript": "^5.6.3"
125
+ },
126
+ "resolutions": {
127
+ "@bitrix24/b24ui-nuxt": "workspace:*",
128
+ "chokidar": "3.6.0",
129
+ "debug": "4.3.7",
130
+ "happy-dom": "14.12.3",
131
+ "rollup": "^4.24.0",
132
+ "typescript": "5.6.3",
133
+ "unimport": "3.14.5",
134
+ "vue-tsc": "^2.2.0",
135
+ "unplugin": "^2.1.2",
136
+ "vite": "^6.0.7"
137
+ },
138
+ "scripts": {
139
+ "dev:prepare": "npm-run-all -s prepare:*",
140
+ "prepare:build_stub": "nuxt-module-build build --stub",
141
+ "prepare:build_prepare": "nuxt-module-build prepare",
142
+ "prepare:playground": "nuxi prepare playground",
143
+ "prepare:playground-vue": "vite build playground-vue",
144
+ "prepare:playground_components-meta": "nuxt-component-meta playground --outputDir ../src/.component-meta/",
145
+ "build": "npm-run-all -s build:*",
146
+ "build:prepare": "pnpm dev:prepare",
147
+ "build:build": "nuxt-module-build build",
148
+ "dev": "set DEV=true && nuxi dev playground",
149
+ "dev:vue": "set DEV=true && vite playground-vue",
150
+ "dev:build": "nuxi build playground",
151
+ "dev:generate": "nuxt generate playground",
152
+ "docs:full:dev": "pnpm build && vitepress dev docs",
153
+ "docs:full:build": "pnpm build && vitepress build docs",
154
+ "docs:dev": "vitepress dev docs",
155
+ "docs:build": "vitepress build docs",
156
+ "docs:preview": "vitepress preview docs",
157
+ "lint": "eslint .",
158
+ "lint:fix": "eslint . --fix",
159
+ "typecheck": "vue-tsc --noEmit && nuxi typecheck playground && cd playground-vue && vue-tsc --noEmit",
160
+ "test": "vitest",
161
+ "test:save": "vitest -u",
162
+ "test:vue": "vitest -c vitest.vue.config.ts",
163
+ "test:vue:build": "vite build playground-vue",
164
+ "work:done": "pnpm lint && pnpm typecheck"
165
+ }
166
+ }
@@ -0,0 +1,5 @@
1
+ import type { Plugin } from 'vue'
2
+
3
+ declare const plugin: Plugin
4
+
5
+ export default plugin