@bitrix24/b24ui-nuxt 0.4.3 → 0.4.5

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 (69) hide show
  1. package/.nuxt/b24ui/prose/img.ts +5 -0
  2. package/dist/meta.cjs +125 -20
  3. package/dist/meta.d.cts +125 -20
  4. package/dist/meta.d.mts +125 -20
  5. package/dist/meta.d.ts +125 -20
  6. package/dist/meta.mjs +125 -20
  7. package/dist/module.cjs +2 -2
  8. package/dist/module.json +2 -2
  9. package/dist/module.mjs +2 -2
  10. package/dist/runtime/components/Button.vue +1 -0
  11. package/dist/runtime/components/Form.vue +1 -1
  12. package/dist/runtime/components/Input.vue +7 -3
  13. package/dist/runtime/components/LinkBase.vue +4 -2
  14. package/dist/runtime/components/Textarea.vue +7 -3
  15. package/dist/runtime/locale/ar.js +55 -0
  16. package/dist/runtime/locale/br.d.ts +2 -0
  17. package/dist/runtime/locale/br.js +54 -0
  18. package/dist/runtime/locale/de.d.ts +2 -0
  19. package/dist/runtime/locale/de.js +54 -0
  20. package/dist/runtime/locale/en.js +6 -0
  21. package/dist/runtime/locale/fr.d.ts +2 -0
  22. package/dist/runtime/locale/fr.js +54 -0
  23. package/dist/runtime/locale/id.d.ts +2 -0
  24. package/dist/runtime/locale/id.js +54 -0
  25. package/dist/runtime/locale/index.d.ts +44 -1
  26. package/dist/runtime/locale/index.js +17 -1
  27. package/dist/runtime/locale/it.d.ts +2 -0
  28. package/dist/runtime/locale/it.js +54 -0
  29. package/dist/runtime/locale/ja.d.ts +2 -0
  30. package/dist/runtime/locale/ja.js +54 -0
  31. package/dist/runtime/locale/kz.d.ts +2 -0
  32. package/dist/runtime/locale/kz.js +54 -0
  33. package/dist/runtime/locale/la.d.ts +2 -0
  34. package/dist/runtime/locale/{es.js → la.js} +7 -1
  35. package/dist/runtime/locale/ms.d.ts +2 -0
  36. package/dist/runtime/locale/ms.js +54 -0
  37. package/dist/runtime/locale/pl.d.ts +2 -0
  38. package/dist/runtime/locale/pl.js +54 -0
  39. package/dist/runtime/locale/ru.js +6 -0
  40. package/dist/runtime/locale/sc.d.ts +2 -0
  41. package/dist/runtime/locale/sc.js +54 -0
  42. package/dist/runtime/locale/tc.d.ts +2 -0
  43. package/dist/runtime/locale/tc.js +54 -0
  44. package/dist/runtime/locale/th.d.ts +2 -0
  45. package/dist/runtime/locale/th.js +54 -0
  46. package/dist/runtime/locale/tr.d.ts +2 -0
  47. package/dist/runtime/locale/tr.js +54 -0
  48. package/dist/runtime/locale/ua.d.ts +2 -0
  49. package/dist/runtime/locale/ua.js +54 -0
  50. package/dist/runtime/locale/vn.d.ts +2 -0
  51. package/dist/runtime/locale/vn.js +54 -0
  52. package/dist/runtime/prose/A.vue +1 -1
  53. package/dist/runtime/prose/Img.vue +32 -0
  54. package/dist/runtime/types/index.d.ts +1 -0
  55. package/dist/runtime/types/index.js +1 -0
  56. package/dist/runtime/types/locale.d.ts +6 -0
  57. package/dist/runtime/utils/tv.d.ts +1 -1
  58. package/dist/runtime/vue/plugins/head.d.ts +1 -1
  59. package/dist/runtime/vue/plugins/head.js +4 -3
  60. package/dist/runtime/vue/stubs.d.ts +1 -1
  61. package/dist/runtime/vue/stubs.js +1 -1
  62. package/dist/shared/{b24ui-nuxt.BRwBcdAH.mjs → b24ui-nuxt.BH-d1ImO.mjs} +10 -0
  63. package/dist/shared/{b24ui-nuxt.C1tIhR9w.cjs → b24ui-nuxt.DxEKoBT7.cjs} +10 -0
  64. package/dist/unplugin.cjs +1 -1
  65. package/dist/unplugin.mjs +1 -1
  66. package/dist/vite.cjs +1 -1
  67. package/dist/vite.mjs +1 -1
  68. package/package.json +14 -15
  69. /package/dist/runtime/locale/{es.d.ts → ar.d.ts} +0 -0
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09",
4
+ code: "sc",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6570\u636E",
8
+ noData: "\u6CA1\u6709\u6570\u636E",
9
+ create: '\u521B\u5EFA "{label}"'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u53BB\u5E74",
13
+ nextYear: "\u660E\u5E74",
14
+ prevMonth: "\u4E0A\u4E2A\u6708",
15
+ nextMonth: "\u4E0B\u4E2A\u6708"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u589E\u52A0",
19
+ decrement: "\u51CF\u5C11"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u8F93\u5165\u547D\u4EE4\u6216\u641C\u7D22...",
23
+ noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6570\u636E",
24
+ noData: "\u6CA1\u6709\u6570\u636E",
25
+ close: "\u5173\u95ED"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6570\u636E",
29
+ noData: "\u6CA1\u6709\u6570\u636E",
30
+ create: '\u521B\u5EFA "{label}"',
31
+ search: "\u641C\u7D22..."
32
+ },
33
+ toast: {
34
+ close: "\u5173\u95ED"
35
+ },
36
+ carousel: {
37
+ prev: "\u4E0A\u4E00\u9875",
38
+ next: "\u4E0B\u4E00\u9875",
39
+ goto: "\u8DF3\u8F6C\u5230\u7B2C {slide} \u9875"
40
+ },
41
+ modal: {
42
+ close: "\u5173\u95ED"
43
+ },
44
+ slideover: {
45
+ close: "\u5173\u95ED"
46
+ },
47
+ alert: {
48
+ close: "\u5173\u95ED"
49
+ },
50
+ table: {
51
+ noData: "\u6CA1\u6709\u6570\u636E"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../types").Locale;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u4E2D\u6587\uFF08\u7E41\u9AD4)",
4
+ code: "tc",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u6C92\u6709\u76F8\u7B26\u7684\u8CC7\u6599",
8
+ noData: "\u6C92\u6709\u8CC7\u6599",
9
+ create: "\u5EFA\u7ACB\u300C{label}\u300D"
10
+ },
11
+ calendar: {
12
+ prevYear: "\u53BB\u5E74",
13
+ nextYear: "\u660E\u5E74",
14
+ prevMonth: "\u4E0A\u500B\u6708",
15
+ nextMonth: "\u4E0B\u500B\u6708"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u589E\u52A0",
19
+ decrement: "\u6E1B\u5C11"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u8F38\u5165\u547D\u4EE4\u6216\u641C\u5C0B...",
23
+ noMatch: "\u6C92\u6709\u76F8\u7B26\u7684\u8CC7\u6599",
24
+ noData: "\u6C92\u6709\u8CC7\u6599",
25
+ close: "\u95DC\u9589"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u6C92\u6709\u76F8\u7B26\u7684\u8CC7\u6599",
29
+ noData: "\u6C92\u6709\u8CC7\u6599",
30
+ create: "\u5EFA\u7ACB\u300C{label}\u300D",
31
+ search: "\u641C\u5C0B..."
32
+ },
33
+ toast: {
34
+ close: "\u95DC\u9589"
35
+ },
36
+ carousel: {
37
+ prev: "\u4E0A\u4E00\u9801",
38
+ next: "\u4E0B\u4E00\u9801",
39
+ goto: "\u8DF3\u8F49\u5230\u7B2C {slide} \u9801"
40
+ },
41
+ modal: {
42
+ close: "\u95DC\u9589"
43
+ },
44
+ slideover: {
45
+ close: "\u95DC\u9589"
46
+ },
47
+ alert: {
48
+ close: "\u95DC\u9589"
49
+ },
50
+ table: {
51
+ noData: "\u6C92\u6709\u8CC7\u6599"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../types").Locale;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",
4
+ code: "th",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
8
+ noData: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
9
+ create: '\u0E2A\u0E23\u0E49\u0E32\u0E07 "{label}"'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u0E1B\u0E35\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
13
+ nextYear: "\u0E1B\u0E35\u0E16\u0E31\u0E14\u0E44\u0E1B",
14
+ prevMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",
15
+ nextMonth: "\u0E40\u0E14\u0E37\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u0E40\u0E1E\u0E34\u0E48\u0E21",
19
+ decrement: "\u0E25\u0E14"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07\u0E2B\u0E23\u0E37\u0E2D\u0E04\u0E49\u0E19\u0E2B\u0E32...",
23
+ noMatch: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
24
+ noData: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
25
+ close: "\u0E1B\u0E34\u0E14"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u0E44\u0E21\u0E48\u0E1E\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E19",
29
+ noData: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",
30
+ create: '\u0E2A\u0E23\u0E49\u0E32\u0E07 "{label}"',
31
+ search: "\u0E04\u0E49\u0E19\u0E2B\u0E32..."
32
+ },
33
+ toast: {
34
+ close: "\u0E1B\u0E34\u0E14"
35
+ },
36
+ carousel: {
37
+ prev: "\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A",
38
+ next: "\u0E16\u0E31\u0E14\u0E44\u0E1B",
39
+ goto: "\u0E44\u0E1B\u0E17\u0E35\u0E48 {slide}"
40
+ },
41
+ modal: {
42
+ close: "\u0E1B\u0E34\u0E14"
43
+ },
44
+ slideover: {
45
+ close: "\u0E1B\u0E34\u0E14"
46
+ },
47
+ alert: {
48
+ close: "\u0E1B\u0E34\u0E14"
49
+ },
50
+ table: {
51
+ noData: "\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../types").Locale;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "T\xFCrk\xE7e",
4
+ code: "tr",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "E\u015Fle\u015Fen veri yok",
8
+ noData: "Veri yok",
9
+ create: '"{label}" olu\u015Ftur'
10
+ },
11
+ calendar: {
12
+ prevYear: "\xD6nceki y\u0131l",
13
+ nextYear: "Sonraki y\u0131l",
14
+ prevMonth: "\xD6nceki ay",
15
+ nextMonth: "Sonraki ay"
16
+ },
17
+ inputNumber: {
18
+ increment: "Artt\u0131r",
19
+ decrement: "Azalt"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "Bir komut yaz\u0131n veya arama yap\u0131n...",
23
+ noMatch: "E\u015Fle\u015Fen veri yok",
24
+ noData: "Veri yok",
25
+ close: "Kapat"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "E\u015Fle\u015Fen veri yok",
29
+ noData: "Veri yok",
30
+ create: '"{label}" olu\u015Ftur',
31
+ search: "Ara..."
32
+ },
33
+ toast: {
34
+ close: "Kapat"
35
+ },
36
+ carousel: {
37
+ prev: "\xD6nceki",
38
+ next: "Sonraki",
39
+ goto: "{slide}. slayda git"
40
+ },
41
+ modal: {
42
+ close: "Kapat"
43
+ },
44
+ slideover: {
45
+ close: "Kapat"
46
+ },
47
+ alert: {
48
+ close: "Kapat"
49
+ },
50
+ table: {
51
+ noData: "Veri yok"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../types").Locale;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",
4
+ code: "ua",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "\u0417\u0431\u0456\u0433\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E",
8
+ noData: "\u041D\u0435\u043C\u0430\u0454 \u0434\u0430\u043D\u0438\u0445",
9
+ create: '\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 "{label}"'
10
+ },
11
+ calendar: {
12
+ prevYear: "\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439 \u0440\u0456\u043A",
13
+ nextYear: "\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u0440\u0456\u043A",
14
+ prevMonth: "\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439 \u043C\u0456\u0441\u044F\u0446\u044C",
15
+ nextMonth: "\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u043C\u0456\u0441\u044F\u0446\u044C"
16
+ },
17
+ inputNumber: {
18
+ increment: "\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438",
19
+ decrement: "\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u0430\u0431\u043E \u0448\u0443\u043A\u0430\u0439\u0442\u0435...",
23
+ noMatch: "\u0417\u0431\u0456\u0433\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E",
24
+ noData: "\u041D\u0435\u043C\u0430\u0454 \u0434\u0430\u043D\u0438\u0445",
25
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "\u0417\u0431\u0456\u0433\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E",
29
+ noData: "\u041D\u0435\u043C\u0430\u0454 \u0434\u0430\u043D\u0438\u0445",
30
+ create: '\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 "{label}"',
31
+ search: "\u041F\u043E\u0448\u0443\u043A..."
32
+ },
33
+ toast: {
34
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
35
+ },
36
+ carousel: {
37
+ prev: "\u041D\u0430\u0437\u0430\u0434",
38
+ next: "\u0414\u0430\u043B\u0456",
39
+ goto: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0434\u043E {slide}"
40
+ },
41
+ modal: {
42
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
43
+ },
44
+ slideover: {
45
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
46
+ },
47
+ alert: {
48
+ close: "\u0417\u0430\u043A\u0440\u0438\u0442\u0438"
49
+ },
50
+ table: {
51
+ noData: "\u041D\u0435\u043C\u0430\u0454 \u0434\u0430\u043D\u0438\u0445"
52
+ }
53
+ }
54
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../types").Locale;
2
+ export default _default;
@@ -0,0 +1,54 @@
1
+ import { defineLocale } from "../composables/defineLocale.js";
2
+ export default defineLocale({
3
+ name: "Ti\u1EBFng Vi\u1EC7t",
4
+ code: "vn",
5
+ messages: {
6
+ inputMenu: {
7
+ noMatch: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 ph\xF9 h\u1EE3p",
8
+ noData: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
9
+ create: 'T\u1EA1o "{label}"'
10
+ },
11
+ calendar: {
12
+ prevYear: "N\u0103m tr\u01B0\u1EDBc",
13
+ nextYear: "N\u0103m sau",
14
+ prevMonth: "Th\xE1ng tr\u01B0\u1EDBc",
15
+ nextMonth: "Th\xE1ng sau"
16
+ },
17
+ inputNumber: {
18
+ increment: "T\u0103ng",
19
+ decrement: "Gi\u1EA3m"
20
+ },
21
+ commandPalette: {
22
+ placeholder: "Nh\u1EADp l\u1EC7nh ho\u1EB7c t\xECm ki\u1EBFm...",
23
+ noMatch: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 ph\xF9 h\u1EE3p",
24
+ noData: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
25
+ close: "\u0110\xF3ng"
26
+ },
27
+ selectMenu: {
28
+ noMatch: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3 ph\xF9 h\u1EE3p",
29
+ noData: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u",
30
+ create: 'T\u1EA1o "{label}"',
31
+ search: "T\xECm ki\u1EBFm..."
32
+ },
33
+ toast: {
34
+ close: "\u0110\xF3ng"
35
+ },
36
+ carousel: {
37
+ prev: "Tr\u01B0\u1EDBc",
38
+ next: "Sau",
39
+ goto: "\u0110i t\u1EDBi \xF4 {slide}"
40
+ },
41
+ modal: {
42
+ close: "\u0110\xF3ng"
43
+ },
44
+ slideover: {
45
+ close: "\u0110\xF3ng"
46
+ },
47
+ alert: {
48
+ close: "\u0110\xF3ng"
49
+ },
50
+ table: {
51
+ noData: "Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u"
52
+ }
53
+ }
54
+ });
@@ -27,6 +27,6 @@ const b24ui = proseA({})
27
27
 
28
28
  <template>
29
29
  <a
30
- :class="b24ui.base({ class: props.b24ui?.base })"
30
+ :class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
31
31
  ><slot /></a>
32
32
  </template>
@@ -0,0 +1,32 @@
1
+ <script lang="ts">
2
+ import type { AppConfig } from '@nuxt/schema'
3
+ import _appConfig from '#build/app.config'
4
+ import theme from '#build/b24ui/prose/img'
5
+ import { tv } from '../utils/tv'
6
+
7
+ const appConfigProseImg = _appConfig as AppConfig & { b24ui: { prose: { img: Partial<typeof theme> } } }
8
+
9
+ const proseImg = tv({ extend: tv(theme), ...(appConfigProseImg.b24ui?.prose?.img || {}) })
10
+
11
+ export interface proseImgProps {
12
+ class?: any
13
+ b24ui?: Partial<typeof proseImg.slots>
14
+ }
15
+
16
+ export interface proseImgSlots {
17
+ default(props?: {}): any
18
+ }
19
+ </script>
20
+
21
+ <script setup lang="ts">
22
+ const props = defineProps<proseImgProps>()
23
+
24
+ // eslint-disable-next-line vue/no-dupe-keys
25
+ const b24ui = proseImg({})
26
+ </script>
27
+
28
+ <template>
29
+ <img
30
+ :class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
31
+ />
32
+ </template>
@@ -51,6 +51,7 @@ export * from '../prose/Ol.vue';
51
51
  export * from '../prose/Ul.vue';
52
52
  export * from '../prose/Li.vue';
53
53
  export * from '../prose/Hr.vue';
54
+ export * from '../prose/Img.vue';
54
55
  export * from '../prose/Code.vue';
55
56
  export * from '../prose/Pre.vue';
56
57
  export * from './form';
@@ -51,6 +51,7 @@ export * from "../prose/Ol.vue";
51
51
  export * from "../prose/Ul.vue";
52
52
  export * from "../prose/Li.vue";
53
53
  export * from "../prose/Hr.vue";
54
+ export * from "../prose/Img.vue";
54
55
  export * from "../prose/Code.vue";
55
56
  export * from "../prose/Pre.vue";
56
57
  export * from "./form.js";
@@ -4,6 +4,12 @@ export type Messages = {
4
4
  noData: string;
5
5
  create: string;
6
6
  };
7
+ calendar: {
8
+ prevYear: string;
9
+ nextYear: string;
10
+ prevMonth: string;
11
+ nextMonth: string;
12
+ };
7
13
  inputNumber: {
8
14
  increment: string;
9
15
  decrement: string;
@@ -1 +1 @@
1
- export declare const tv: import("tailwind-variants").CreateTV<boolean | (string | number | symbol)[] | {} | undefined>;
1
+ export declare const tv: import("tailwind-variants").CreateTV;
@@ -1,4 +1,4 @@
1
1
  declare const _default: {
2
- install(): void;
2
+ install(app: import("vue").App<any>): void;
3
3
  };
4
4
  export default _default;
@@ -1,6 +1,7 @@
1
- import { createHead, setHeadInjectionHandler } from "@unhead/vue";
1
+ import { createHead } from "@unhead/vue/client";
2
2
  export default {
3
- install() {
4
- setHeadInjectionHandler(() => createHead());
3
+ install(app) {
4
+ const head = createHead();
5
+ app.use(head);
5
6
  }
6
7
  };
@@ -1,6 +1,6 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { NuxtApp } from '#app';
3
- export { useHead } from '@unhead/vue';
3
+ export { useHead } from '@unhead/vue/legacy';
4
4
  export { useRoute, useRouter } from 'vue-router';
5
5
  export { defineShortcuts } from '../composables/defineShortcuts';
6
6
  export { useLocale } from '../composables/useLocale';
@@ -1,7 +1,7 @@
1
1
  import { ref } from "vue";
2
2
  import appConfig from "#build/app.config";
3
3
  import { useColorMode as useColorModeVueUse } from "@vueuse/core";
4
- export { useHead } from "@unhead/vue";
4
+ export { useHead } from "@unhead/vue/legacy";
5
5
  export { useRoute, useRouter } from "vue-router";
6
6
  export { defineShortcuts } from "../composables/defineShortcuts.js";
7
7
  export { useLocale } from "../composables/useLocale.js";
@@ -5534,6 +5534,12 @@ const hr = {
5534
5534
  }
5535
5535
  };
5536
5536
 
5537
+ const img = {
5538
+ slots: {
5539
+ base: ""
5540
+ }
5541
+ };
5542
+
5537
5543
  const code = {
5538
5544
  slots: {
5539
5545
  base: [
@@ -5620,6 +5626,7 @@ const themeProse = {
5620
5626
  h5: h5,
5621
5627
  h6: h6,
5622
5628
  hr: hr,
5629
+ img: img,
5623
5630
  li: li,
5624
5631
  ol: ol,
5625
5632
  p: p,
@@ -5832,6 +5839,9 @@ type AppConfigUI = {
5832
5839
 
5833
5840
  declare module '@nuxt/schema' {
5834
5841
  interface AppConfigInput {
5842
+ /**
5843
+ * Bitrix24 UI theme configuration
5844
+ */
5835
5845
  b24ui?: AppConfigUI
5836
5846
  }
5837
5847
  }
@@ -5536,6 +5536,12 @@ const hr = {
5536
5536
  }
5537
5537
  };
5538
5538
 
5539
+ const img = {
5540
+ slots: {
5541
+ base: ""
5542
+ }
5543
+ };
5544
+
5539
5545
  const code = {
5540
5546
  slots: {
5541
5547
  base: [
@@ -5622,6 +5628,7 @@ const themeProse = {
5622
5628
  h5: h5,
5623
5629
  h6: h6,
5624
5630
  hr: hr,
5631
+ img: img,
5625
5632
  li: li,
5626
5633
  ol: ol,
5627
5634
  p: p,
@@ -5834,6 +5841,9 @@ type AppConfigUI = {
5834
5841
 
5835
5842
  declare module '@nuxt/schema' {
5836
5843
  interface AppConfigInput {
5844
+ /**
5845
+ * Bitrix24 UI theme configuration
5846
+ */
5837
5847
  b24ui?: AppConfigUI
5838
5848
  }
5839
5849
  }
package/dist/unplugin.cjs CHANGED
@@ -5,7 +5,7 @@ const pathe = require('pathe');
5
5
  const unplugin = require('unplugin');
6
6
  const defu = require('defu');
7
7
  const tailwind = require('@tailwindcss/vite');
8
- const templates = require('./shared/b24ui-nuxt.C1tIhR9w.cjs');
8
+ const templates = require('./shared/b24ui-nuxt.DxEKoBT7.cjs');
9
9
  const tinyglobby = require('tinyglobby');
10
10
  const knitwork = require('knitwork');
11
11
  const MagicString = require('magic-string');
package/dist/unplugin.mjs CHANGED
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
3
3
  import { createUnplugin } from 'unplugin';
4
4
  import { defu } from 'defu';
5
5
  import tailwind from '@tailwindcss/vite';
6
- import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BRwBcdAH.mjs';
6
+ import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.BH-d1ImO.mjs';
7
7
  import { globSync } from 'tinyglobby';
8
8
  import { genSafeVariableName } from 'knitwork';
9
9
  import MagicString from 'magic-string';
package/dist/vite.cjs CHANGED
@@ -6,7 +6,7 @@ require('pathe');
6
6
  require('unplugin');
7
7
  require('defu');
8
8
  require('@tailwindcss/vite');
9
- require('./shared/b24ui-nuxt.C1tIhR9w.cjs');
9
+ require('./shared/b24ui-nuxt.DxEKoBT7.cjs');
10
10
  require('scule');
11
11
  require('@nuxt/kit');
12
12
  require('tinyglobby');
package/dist/vite.mjs CHANGED
@@ -4,7 +4,7 @@ import 'pathe';
4
4
  import 'unplugin';
5
5
  import 'defu';
6
6
  import '@tailwindcss/vite';
7
- import './shared/b24ui-nuxt.BRwBcdAH.mjs';
7
+ import './shared/b24ui-nuxt.BH-d1ImO.mjs';
8
8
  import 'scule';
9
9
  import '@nuxt/kit';
10
10
  import 'tinyglobby';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrix24/b24ui-nuxt",
3
3
  "description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/bitrix24/b24ui.git"
@@ -72,13 +72,13 @@
72
72
  "@bitrix24/b24style": "^1.0.1",
73
73
  "@internationalized/date": "^3.7.0",
74
74
  "@internationalized/number": "^3.6.0",
75
- "@nuxt/kit": "^3.15.4",
76
- "@nuxt/schema": "^3.15.4",
75
+ "@nuxt/kit": "^3.16.0",
76
+ "@nuxt/schema": "^3.16.0",
77
77
  "@nuxtjs/color-mode": "^3.5.2",
78
- "@tailwindcss/postcss": "^4.0.11",
79
- "@tailwindcss/vite": "^4.0.11",
78
+ "@tailwindcss/postcss": "^4.0.12",
79
+ "@tailwindcss/vite": "^4.0.12",
80
80
  "@tanstack/vue-table": "^8.21.2",
81
- "@unhead/vue": "^1.11.19",
81
+ "@unhead/vue": "^2.0.0-rc.9",
82
82
  "@vueuse/core": "^12.8.2",
83
83
  "@vueuse/integrations": "^12.8.2",
84
84
  "canvas-confetti": "^1.9.3",
@@ -100,8 +100,8 @@
100
100
  "pathe": "^2.0.3",
101
101
  "reka-ui": "^2.0.2",
102
102
  "scule": "^1.3.0",
103
- "tailwind-variants": "^0.3.1",
104
- "tailwindcss": "^4.0.11",
103
+ "tailwind-variants": "^1.0.0",
104
+ "tailwindcss": "^4.0.12",
105
105
  "tinyglobby": "^0.2.12",
106
106
  "unplugin": "^2.2.0",
107
107
  "unplugin-auto-import": "^19.1.1",
@@ -110,21 +110,21 @@
110
110
  },
111
111
  "devDependencies": {
112
112
  "@types/canvas-confetti": "^1.9.0",
113
- "@nuxt/eslint-config": "^1.1.0",
113
+ "@nuxt/eslint-config": "^1.2.0",
114
114
  "@nuxt/module-builder": "^0.8.4",
115
- "@nuxt/test-utils": "^3.17.1",
115
+ "@nuxt/test-utils": "^3.17.2",
116
116
  "@standard-schema/spec": "^1.0.0",
117
117
  "@vue/test-utils": "^2.4.6",
118
118
  "embla-carousel": "^8.5.2",
119
- "eslint": "^9.21.0",
119
+ "eslint": "^9.22.0",
120
120
  "happy-dom": "^17.1.2",
121
121
  "joi": "^17.13.3",
122
- "nuxt": "^3.15.4",
122
+ "nuxt": "^3.16.0",
123
123
  "nuxt-component-meta": "^0.10.0",
124
124
  "superstruct": "^2.0.2",
125
125
  "valibot": "^0.42.1",
126
126
  "vitepress": "^1.5.0",
127
- "vitest": "^3.0.7",
127
+ "vitest": "^3.0.8",
128
128
  "vitest-environment-nuxt": "^1.0.1",
129
129
  "vue-tsc": "^2.2.0",
130
130
  "yup": "^1.6.1",
@@ -138,9 +138,8 @@
138
138
  "chokidar": "3.6.0",
139
139
  "debug": "4.3.7",
140
140
  "happy-dom": "17.1.2",
141
- "rollup": "4.32.1",
141
+ "rollup": "4.34.9",
142
142
  "typescript": "5.6.3",
143
- "unimport": "3.14.5",
144
143
  "unplugin": "^2.2.0",
145
144
  "vue": "3.5.13",
146
145
  "vue-tsc": "2.2.0"
File without changes