@bitrix24/b24ui-nuxt 2.1.6 → 2.1.7
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/.nuxt/b24ui.css +17 -0
- package/dist/meta.d.mts +6 -6
- package/dist/meta.mjs +6 -6
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +6 -6
- package/dist/runtime/components/ChatPromptSubmit.vue +6 -6
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +6 -6
- package/dist/runtime/components/Range.vue +2 -2
- package/dist/shared/{b24ui-nuxt.DwYJyZL6.mjs → b24ui-nuxt.CIiXiDdZ.mjs} +19 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +5 -1
package/.nuxt/b24ui.css
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@source "./b24ui";
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
body {
|
|
5
|
+
scrollbar-gutter: stable;
|
|
6
|
+
background: var(--air-theme-background);
|
|
7
|
+
@apply antialiased font-(family-name:--ui-font-family-system) text-(--b24ui-typography-legend-color) scheme-light dark:scheme-dark edge-light:scheme-light edge-dark:scheme-light;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sidebar-layout.--inner {
|
|
11
|
+
background: var(--air-theme-background);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@theme static {}
|
|
16
|
+
|
|
17
|
+
@theme default inline {}
|
package/dist/meta.d.mts
CHANGED
|
@@ -46531,19 +46531,19 @@ var B24UIMeta = {
|
|
|
46531
46531
|
"name": "stop",
|
|
46532
46532
|
"description": "",
|
|
46533
46533
|
"tags": [],
|
|
46534
|
-
"type": "[]",
|
|
46535
|
-
"signature": '(event: "stop"): void'
|
|
46534
|
+
"type": "[event: MouseEvent]",
|
|
46535
|
+
"signature": '(event: "stop", event: MouseEvent): void'
|
|
46536
46536
|
},
|
|
46537
46537
|
{
|
|
46538
46538
|
"name": "reload",
|
|
46539
46539
|
"description": "",
|
|
46540
46540
|
"tags": [],
|
|
46541
|
-
"type": "[]",
|
|
46542
|
-
"signature": '(event: "reload"): void'
|
|
46541
|
+
"type": "[event: MouseEvent]",
|
|
46542
|
+
"signature": '(event: "reload", event: MouseEvent): void'
|
|
46543
46543
|
}
|
|
46544
46544
|
],
|
|
46545
46545
|
"exposed": [],
|
|
46546
|
-
"hash": "
|
|
46546
|
+
"hash": "enV8xwyYSi5cV_D0nX7Ycxr-OwF31c8EGCshZWpPGQg"
|
|
46547
46547
|
}
|
|
46548
46548
|
},
|
|
46549
46549
|
"B24Checkbox": {
|
|
@@ -105722,7 +105722,7 @@ var B24UIMeta = {
|
|
|
105722
105722
|
}
|
|
105723
105723
|
],
|
|
105724
105724
|
"exposed": [],
|
|
105725
|
-
"hash": "
|
|
105725
|
+
"hash": "-bvvunNPjQGJmxv5XC93SwoLc-IAGx7l13AvJEdRLsc"
|
|
105726
105726
|
}
|
|
105727
105727
|
},
|
|
105728
105728
|
"B24Select": {
|
package/dist/meta.mjs
CHANGED
|
@@ -46531,19 +46531,19 @@ const B24UIMeta = {
|
|
|
46531
46531
|
"name": "stop",
|
|
46532
46532
|
"description": "",
|
|
46533
46533
|
"tags": [],
|
|
46534
|
-
"type": "[]",
|
|
46535
|
-
"signature": '(event: "stop"): void'
|
|
46534
|
+
"type": "[event: MouseEvent]",
|
|
46535
|
+
"signature": '(event: "stop", event: MouseEvent): void'
|
|
46536
46536
|
},
|
|
46537
46537
|
{
|
|
46538
46538
|
"name": "reload",
|
|
46539
46539
|
"description": "",
|
|
46540
46540
|
"tags": [],
|
|
46541
|
-
"type": "[]",
|
|
46542
|
-
"signature": '(event: "reload"): void'
|
|
46541
|
+
"type": "[event: MouseEvent]",
|
|
46542
|
+
"signature": '(event: "reload", event: MouseEvent): void'
|
|
46543
46543
|
}
|
|
46544
46544
|
],
|
|
46545
46545
|
"exposed": [],
|
|
46546
|
-
"hash": "
|
|
46546
|
+
"hash": "enV8xwyYSi5cV_D0nX7Ycxr-OwF31c8EGCshZWpPGQg"
|
|
46547
46547
|
}
|
|
46548
46548
|
},
|
|
46549
46549
|
"B24Checkbox": {
|
|
@@ -105722,7 +105722,7 @@ const B24UIMeta = {
|
|
|
105722
105722
|
}
|
|
105723
105723
|
],
|
|
105724
105724
|
"exposed": [],
|
|
105725
|
-
"hash": "
|
|
105725
|
+
"hash": "-bvvunNPjQGJmxv5XC93SwoLc-IAGx7l13AvJEdRLsc"
|
|
105726
105726
|
}
|
|
105727
105727
|
},
|
|
105728
105728
|
"B24Select": {
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defu } from 'defu';
|
|
2
2
|
import { defineNuxtModule, createResolver, addPlugin, hasNuxtModule, addComponentsDir, addImportsDir, installModule } from '@nuxt/kit';
|
|
3
|
-
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.
|
|
3
|
+
import { d as defaultOptions, v as version, n as name, a as getDefaultConfig, b as addTemplates } from './shared/b24ui-nuxt.CIiXiDdZ.mjs';
|
|
4
4
|
import 'node:url';
|
|
5
5
|
import 'scule';
|
|
6
6
|
import 'knitwork';
|
|
@@ -54,15 +54,15 @@ export interface ChatPromptSubmitProps extends Omit<ButtonProps, 'icon' | 'color
|
|
|
54
54
|
class?: any;
|
|
55
55
|
}
|
|
56
56
|
export interface ChatPromptSubmitEmits {
|
|
57
|
-
stop: [];
|
|
58
|
-
reload: [];
|
|
57
|
+
stop: [event: MouseEvent];
|
|
58
|
+
reload: [event: MouseEvent];
|
|
59
59
|
}
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPromptSubmitProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
-
stop: () => any;
|
|
62
|
-
reload: () => any;
|
|
61
|
+
stop: (event: MouseEvent) => any;
|
|
62
|
+
reload: (event: MouseEvent) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<ChatPromptSubmitProps> & Readonly<{
|
|
64
|
-
onStop?: (() => any) | undefined;
|
|
65
|
-
onReload?: (() => any) | undefined;
|
|
64
|
+
onStop?: ((event: MouseEvent) => any) | undefined;
|
|
65
|
+
onReload?: ((event: MouseEvent) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
67
|
status: ChatStatus;
|
|
68
68
|
color: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
@@ -80,22 +80,22 @@ const statusButtonProps = computed(() => ({
|
|
|
80
80
|
submitted: {
|
|
81
81
|
icon: props.submittedIcon || icons.stop,
|
|
82
82
|
color: props.submittedColor,
|
|
83
|
-
onClick() {
|
|
84
|
-
emits("stop");
|
|
83
|
+
onClick(e) {
|
|
84
|
+
emits("stop", e);
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
streaming: {
|
|
88
88
|
icon: props.streamingIcon || icons.stop,
|
|
89
89
|
color: props.streamingColor,
|
|
90
|
-
onClick() {
|
|
91
|
-
emits("stop");
|
|
90
|
+
onClick(e) {
|
|
91
|
+
emits("stop", e);
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
error: {
|
|
95
95
|
icon: props.errorIcon || icons.reload,
|
|
96
96
|
color: props.errorColor,
|
|
97
|
-
onClick() {
|
|
98
|
-
emits("reload");
|
|
97
|
+
onClick(e) {
|
|
98
|
+
emits("reload", e);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
})[props.status]);
|
|
@@ -54,15 +54,15 @@ export interface ChatPromptSubmitProps extends Omit<ButtonProps, 'icon' | 'color
|
|
|
54
54
|
class?: any;
|
|
55
55
|
}
|
|
56
56
|
export interface ChatPromptSubmitEmits {
|
|
57
|
-
stop: [];
|
|
58
|
-
reload: [];
|
|
57
|
+
stop: [event: MouseEvent];
|
|
58
|
+
reload: [event: MouseEvent];
|
|
59
59
|
}
|
|
60
60
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ChatPromptSubmitProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
-
stop: () => any;
|
|
62
|
-
reload: () => any;
|
|
61
|
+
stop: (event: MouseEvent) => any;
|
|
62
|
+
reload: (event: MouseEvent) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<ChatPromptSubmitProps> & Readonly<{
|
|
64
|
-
onStop?: (() => any) | undefined;
|
|
65
|
-
onReload?: (() => any) | undefined;
|
|
64
|
+
onStop?: ((event: MouseEvent) => any) | undefined;
|
|
65
|
+
onReload?: ((event: MouseEvent) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
67
|
status: ChatStatus;
|
|
68
68
|
color: "default" | "link" | "air-primary" | "air-primary-success" | "air-primary-alert" | "air-primary-copilot" | "air-secondary" | "air-secondary-accent" | "air-secondary-accent-1" | "air-tertiary" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | "air-secondary-alert" | "air-secondary-accent-2" | "air-secondary-no-accent" | "air-tertiary-accent" | "air-tertiary-no-accent" | "air-selection" | "air-boost";
|
|
@@ -87,9 +87,9 @@ function onChange(value) {
|
|
|
87
87
|
disable-closing-trigger
|
|
88
88
|
v-bind="typeof tooltip === 'object' ? tooltip : {}"
|
|
89
89
|
>
|
|
90
|
-
<SliderThumb data-slot="thumb" :class="b24ui.thumb({ class: props.b24ui?.thumb })" />
|
|
90
|
+
<SliderThumb data-slot="thumb" :class="b24ui.thumb({ class: props.b24ui?.thumb })" :aria-label="thumbs === 1 ? 'Thumb' : `Thumb ${thumb} of ${thumbs}`" />
|
|
91
91
|
</B24Tooltip>
|
|
92
|
-
<SliderThumb v-else data-slot="thumb" :class="b24ui.thumb({ class: props.b24ui?.thumb })" />
|
|
92
|
+
<SliderThumb v-else data-slot="thumb" :class="b24ui.thumb({ class: props.b24ui?.thumb })" :aria-label="thumbs === 1 ? 'Thumb' : `Thumb ${thumb} of ${thumbs}`" />
|
|
93
93
|
</template>
|
|
94
94
|
</SliderRoot>
|
|
95
95
|
</template>
|
|
@@ -8,7 +8,7 @@ import { globSync } from 'tinyglobby';
|
|
|
8
8
|
import { defuFn } from 'defu';
|
|
9
9
|
|
|
10
10
|
const name = "@bitrix24/b24ui-nuxt";
|
|
11
|
-
const version = "2.1.
|
|
11
|
+
const version = "2.1.7";
|
|
12
12
|
|
|
13
13
|
function getDefaultConfig(theme) {
|
|
14
14
|
return {
|
|
@@ -9663,6 +9663,24 @@ const card = {
|
|
|
9663
9663
|
description: "group-hover:text-(--b24ui-border-color) [&_p]:group-hover:text-(--b24ui-border-color)",
|
|
9664
9664
|
externalIcon: "group-hover:text-(--b24ui-icon)"
|
|
9665
9665
|
}
|
|
9666
|
+
},
|
|
9667
|
+
{
|
|
9668
|
+
to: true,
|
|
9669
|
+
color: [
|
|
9670
|
+
"air-secondary",
|
|
9671
|
+
"air-secondary-alert",
|
|
9672
|
+
"air-secondary-accent",
|
|
9673
|
+
"air-secondary-accent-1",
|
|
9674
|
+
"air-secondary-accent-2",
|
|
9675
|
+
"air-secondary-no-accent",
|
|
9676
|
+
"air-tertiary"
|
|
9677
|
+
],
|
|
9678
|
+
class: {
|
|
9679
|
+
base: "hover:bg-(--ui-color-bg-content-secondary) hover:border-(--b24ui-border-color-hover)",
|
|
9680
|
+
title: "group-hover:text-(--b24ui-color)",
|
|
9681
|
+
description: "group-hover:text-(--b24ui-color) [&_p]:group-hover:text-(--b24ui-color)",
|
|
9682
|
+
externalIcon: "group-hover:text-(--b24ui-icon)"
|
|
9683
|
+
}
|
|
9666
9684
|
}
|
|
9667
9685
|
],
|
|
9668
9686
|
defaultVariants: {
|
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 getDefaultConfig } from './shared/b24ui-nuxt.
|
|
6
|
+
import { g as getTemplates, d as defaultOptions, a as getDefaultConfig } from './shared/b24ui-nuxt.CIiXiDdZ.mjs';
|
|
7
7
|
import fs from 'node:fs';
|
|
8
8
|
import path from 'node:path';
|
|
9
9
|
import MagicString from 'magic-string';
|
package/dist/vite.mjs
CHANGED
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": "2.1.
|
|
4
|
+
"version": "2.1.7",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/bitrix24/b24ui.git"
|
|
@@ -90,6 +90,9 @@
|
|
|
90
90
|
]
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
+
"imports": {
|
|
94
|
+
"#build/b24ui.css": "./.nuxt/b24ui.css"
|
|
95
|
+
},
|
|
93
96
|
"bin": {
|
|
94
97
|
"bitrix24-ui": "./cli/index.mjs"
|
|
95
98
|
},
|
|
@@ -99,6 +102,7 @@
|
|
|
99
102
|
"README.md",
|
|
100
103
|
"README-AI.md",
|
|
101
104
|
"LICENSE",
|
|
105
|
+
".nuxt/b24ui.css",
|
|
102
106
|
"dist",
|
|
103
107
|
"cli",
|
|
104
108
|
"vue-plugin.d.ts"
|