@evercam/ui 1.0.0-preview-labs-189-copilot-multi-agents-bea40aa3f → 1.0.0-preview-labs-189-copilot-multi-agents-0b7c7ca53
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/dist/attributes.json +5 -0
- package/dist/components/ETooltip.vue.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +15 -9
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tags.json +2 -1
- package/dist/web-types.json +10 -1
- package/package.json +1 -1
package/dist/attributes.json
CHANGED
|
@@ -1041,6 +1041,11 @@
|
|
|
1041
1041
|
"description": "",
|
|
1042
1042
|
"default": false
|
|
1043
1043
|
},
|
|
1044
|
+
"ETooltip/disabled": {
|
|
1045
|
+
"type": "boolean",
|
|
1046
|
+
"description": "",
|
|
1047
|
+
"default": false
|
|
1048
|
+
},
|
|
1044
1049
|
"ELayout/height": {
|
|
1045
1050
|
"type": "string|number",
|
|
1046
1051
|
"description": "",
|
|
@@ -12,5 +12,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
12
12
|
position: Position;
|
|
13
13
|
color: BaseColor;
|
|
14
14
|
dark: boolean;
|
|
15
|
+
disabled: boolean;
|
|
15
16
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
16
17
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -874,6 +874,7 @@ export declare const components: {
|
|
|
874
874
|
position: import('./types').Position;
|
|
875
875
|
color: import('./types').BaseColor;
|
|
876
876
|
dark: boolean;
|
|
877
|
+
disabled: boolean;
|
|
877
878
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
878
879
|
ELayout: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
879
880
|
footerHeight: number;
|
package/dist/index.mjs
CHANGED
|
@@ -17758,7 +17758,8 @@ const qu = ju.exports, Wu = F.extend({
|
|
|
17758
17758
|
default: Be.Top
|
|
17759
17759
|
},
|
|
17760
17760
|
color: { type: String, default: se.Default },
|
|
17761
|
-
dark: { type: Boolean, default: !1 }
|
|
17761
|
+
dark: { type: Boolean, default: !1 },
|
|
17762
|
+
disabled: { type: Boolean, default: !1 }
|
|
17762
17763
|
},
|
|
17763
17764
|
data: function() {
|
|
17764
17765
|
return {
|
|
@@ -17814,14 +17815,16 @@ const qu = ju.exports, Wu = F.extend({
|
|
|
17814
17815
|
});
|
|
17815
17816
|
var Gu = function() {
|
|
17816
17817
|
var e = this, r = e._self._c;
|
|
17817
|
-
return r("div", { staticClass: "tooltip-box e-w-max e-relative e-group",
|
|
17818
|
+
return r("div", { staticClass: "tooltip-box e-w-max e-relative e-group", class: {
|
|
17819
|
+
"e-cursor-not-allowed": e.disabled
|
|
17820
|
+
}, on: { mouseenter: e.toggleTooltip, mouseleave: e.toggleTooltip } }, [e._t("default"), e.isHovered ? r("div", { class: e.tooltipClasses }, [r("span", { class: e.triangleClasses }), e._v(" " + e._s(e.text) + " ")]) : e._e()], 2);
|
|
17818
17821
|
}, Uu = [], Zu = /* @__PURE__ */ H(
|
|
17819
17822
|
Wu,
|
|
17820
17823
|
Gu,
|
|
17821
17824
|
Uu,
|
|
17822
17825
|
!1,
|
|
17823
17826
|
null,
|
|
17824
|
-
"
|
|
17827
|
+
"aaf4edab",
|
|
17825
17828
|
null,
|
|
17826
17829
|
null
|
|
17827
17830
|
);
|
|
@@ -20874,7 +20877,7 @@ const I7 = B7.exports, F7 = F.extend({
|
|
|
20874
20877
|
});
|
|
20875
20878
|
var A7 = function() {
|
|
20876
20879
|
var e = this, r = e._self._c;
|
|
20877
|
-
return r("ETooltip", { attrs: { text: "Use Ctrl + Space to speak", dark: e.dark } }, [r("button", e._g(e._b({ staticClass: "e-chat-input__voice-btn e-border-none e-chat-input__voice-btn e-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 disabled:e-cursor-not-allowed focus:e-outline-none", class: { ...e.buttonClasses, "e-h-10 e-w-10": !e.isListening }, on: { click: e.toggleListening } }, "button", e.$attrs, !1), e.$listeners), [e.isListening ? r("EVoiceInputVolumeIndicator", { attrs: { analyser: e.analyser, "is-listening": e.isListening } }, [r("EIcon", { staticClass: "e-chat-input__voice-btn--icon", attrs: { icon: "stop", color: "e-text-red-600", size: "Sm" } })], 1) : r("EIcon", { attrs: { icon: "microphone", size: "Base" } })], 1)]);
|
|
20880
|
+
return r("ETooltip", { attrs: { text: "Use Ctrl + Space to speak", dark: e.dark } }, [r("button", e._g(e._b({ staticClass: "e-chat-input__voice-btn e-border-none e-chat-input__voice-btn e-flex e-items-center e-justify-center e-cursor-pointer e-h-8 e-w-8 disabled:e-cursor-not-allowed focus:e-outline-none", class: { ...e.buttonClasses, "e-h-10 e-w-10": !e.isListening }, attrs: { disabled: e.disabled }, on: { click: e.toggleListening } }, "button", e.$attrs, !1), e.$listeners), [e.isListening ? r("EVoiceInputVolumeIndicator", { attrs: { analyser: e.analyser, "is-listening": e.isListening } }, [r("EIcon", { staticClass: "e-chat-input__voice-btn--icon", attrs: { icon: "stop", color: "e-text-red-600", size: "Sm" } })], 1) : r("EIcon", { attrs: { icon: "microphone", size: "Base" } })], 1)]);
|
|
20878
20881
|
}, R7 = [], H7 = /* @__PURE__ */ H(
|
|
20879
20882
|
F7,
|
|
20880
20883
|
A7,
|
|
@@ -20945,11 +20948,11 @@ const oi = H7.exports, N7 = F.extend({
|
|
|
20945
20948
|
},
|
|
20946
20949
|
buttonClasses() {
|
|
20947
20950
|
return {
|
|
20948
|
-
"e-bg-gray-800": this.dark,
|
|
20949
|
-
"e-bg-white": !this.dark,
|
|
20951
|
+
"e-bg-gray-800": this.dark && !this.isSubmitDisabled && !this.disabled,
|
|
20952
|
+
"e-bg-white": !this.dark && !this.isSubmitDisabled && !this.disabled,
|
|
20950
20953
|
"e-text-gray-500": !this.dark,
|
|
20951
20954
|
"e-text-gray-300": this.dark,
|
|
20952
|
-
"e-opacity-50": this.isSubmitDisabled
|
|
20955
|
+
"e-opacity-50": this.isSubmitDisabled || this.disabled
|
|
20953
20956
|
};
|
|
20954
20957
|
},
|
|
20955
20958
|
isSubmitDisabled() {
|
|
@@ -21013,10 +21016,13 @@ var j7 = function() {
|
|
|
21013
21016
|
var e = this, r = e._self._c;
|
|
21014
21017
|
return r("div", { staticClass: "e-chat-input e-relative e-flex e-w-auto e-p-2" }, [r("div", { staticClass: "e-rounded-lg e-w-full e-overflow-hidden e-border e-border-solid", class: e.textAreaContainerClasses }, [r("textarea", e._b({ ref: "chatTextarea", staticClass: "e-chat-input__textarea focus:e-outline-none e-mr-6 e-border-none e-placeholder-gray-400 e-py-3 e-pl-3 e-w-full", class: e.textAreaClasses, style: e.textareaStyle, attrs: { rows: "1", tabindex: "0", autofocus: "", placeholder: e.transcript.length > 0 ? e.transcript : e.placeholder, disabled: e.disabled }, on: { keydown: function(n) {
|
|
21015
21018
|
return n.stopPropagation(), e.onKeyDown.apply(null, arguments);
|
|
21016
|
-
}, keyup: e.onKeyUp, input: e.onInput } }, "textarea", e.$attrs, !1))]), r("div", { staticClass: "e-absolute e-bottom-3 e-items-center e-flex e-h-min e-gap-1.5", class:
|
|
21019
|
+
}, keyup: e.onKeyUp, input: e.onInput } }, "textarea", e.$attrs, !1))]), r("div", { staticClass: "e-absolute e-bottom-3 e-items-center e-flex e-h-min e-gap-1.5", class: [
|
|
21020
|
+
e.isOverflowing ? "e-right-6" : "e-right-4",
|
|
21021
|
+
{ "e-opacity-50": e.disabled }
|
|
21022
|
+
] }, [e._t("input-action-button", function() {
|
|
21017
21023
|
return [r("EVoiceInput", { attrs: { dark: e.dark, disabled: e.disabled, "silence-timeout": e.silenceTimeout }, on: { "on-voice-message-end": e.handleVoiceMessage }, model: { value: e.transcript, callback: function(n) {
|
|
21018
21024
|
e.transcript = n;
|
|
21019
|
-
}, expression: "transcript" } }), r("ETooltip", { attrs: { text: "Submit", dark: e.dark } }, [r("button", { staticClass: "e-chat-input__submit-btn e-inline-flex e-items-center e-justify-center e-cursor-pointer disabled:e-cursor-not-allowed e-h-8 e-w-8 e-border-none focus:e-outline-none", class: e.buttonClasses, attrs: { type: "button", disabled: e.isSubmitDisabled }, on: { click: function(n) {
|
|
21025
|
+
}, expression: "transcript" } }), r("ETooltip", { attrs: { text: "Submit", dark: e.dark } }, [r("button", { staticClass: "e-chat-input__submit-btn e-inline-flex e-items-center e-justify-center e-cursor-pointer disabled:e-cursor-not-allowed disabled:e-opacity-50 e-h-8 e-w-8 e-border-none focus:e-outline-none", class: e.buttonClasses, attrs: { type: "button", disabled: e.isSubmitDisabled }, on: { click: function(n) {
|
|
21020
21026
|
return n.preventDefault(), e.submitMessage.apply(null, arguments);
|
|
21021
21027
|
} } }, [r("EIcon", { attrs: { icon: "arrow-up", size: "base" } })], 1)])];
|
|
21022
21028
|
}, { buttonClasses: e.buttonClasses })], 2)]);
|