@mekari/pixel3-airene-chat-input 0.0.1-dev.2 → 0.0.1-dev.3
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/airene-chat-input.js +6 -2
- package/dist/airene-chat-input.mjs +3 -3
- package/dist/{chunk-4PYKLJPU.mjs → chunk-332SZFS7.mjs} +1 -1
- package/dist/{chunk-K4VJZWCR.mjs → chunk-5VN4R3JG.mjs} +6 -2
- package/dist/{chunk-5GUB7BNI.mjs → chunk-BK6OXDR5.mjs} +2 -2
- package/dist/index.js +6 -2
- package/dist/index.mjs +3 -3
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/modules/airene-chat-input.hooks.js +6 -2
- package/dist/modules/airene-chat-input.hooks.mjs +1 -1
- package/dist/modules/airene-chat-input.props.d.mts +1 -1
- package/dist/modules/airene-chat-input.props.d.ts +1 -1
- package/dist/modules/airene-chat-input.props.js +1 -1
- package/dist/modules/airene-chat-input.props.mjs +1 -1
- package/package.json +3 -3
|
@@ -146,21 +146,25 @@ function useAireneChatInput(props, emit, slots) {
|
|
|
146
146
|
}
|
|
147
147
|
__name(handleSelectAllText, "handleSelectAllText");
|
|
148
148
|
function handleFocus(e) {
|
|
149
|
+
e.stopPropagation();
|
|
149
150
|
emit("focus", e);
|
|
150
151
|
}
|
|
151
152
|
__name(handleFocus, "handleFocus");
|
|
152
153
|
function handleBlur(e) {
|
|
154
|
+
e.stopPropagation();
|
|
153
155
|
emit("blur", e);
|
|
154
156
|
}
|
|
155
157
|
__name(handleBlur, "handleBlur");
|
|
156
158
|
function handleKeydown(e) {
|
|
159
|
+
e.stopPropagation();
|
|
157
160
|
emit("keydown", e);
|
|
158
161
|
}
|
|
159
162
|
__name(handleKeydown, "handleKeydown");
|
|
160
163
|
function handleClick(e) {
|
|
161
|
-
|
|
164
|
+
e.stopPropagation();
|
|
165
|
+
if (isDisabled.value || !isActive.value)
|
|
162
166
|
return;
|
|
163
|
-
emit("
|
|
167
|
+
emit("send", e);
|
|
164
168
|
}
|
|
165
169
|
__name(handleClick, "handleClick");
|
|
166
170
|
(0, import_vue.watch)(() => modelValue.value, (newValue) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpAireneChatInput
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BK6OXDR5.mjs";
|
|
4
|
+
import "./chunk-5VN4R3JG.mjs";
|
|
5
|
+
import "./chunk-332SZFS7.mjs";
|
|
6
6
|
import "./chunk-QZ7VFGWC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
MpAireneChatInput
|
|
@@ -42,7 +42,7 @@ var aireneChatInputProps = {
|
|
|
42
42
|
default: false
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
-
var aireneChatInputEmit = ["change", "input", "keydown", "focus", "blur", "
|
|
45
|
+
var aireneChatInputEmit = ["change", "input", "keydown", "focus", "blur", "send", "update:modelValue"];
|
|
46
46
|
|
|
47
47
|
export {
|
|
48
48
|
aireneChatInputProps,
|
|
@@ -120,21 +120,25 @@ function useAireneChatInput(props, emit, slots) {
|
|
|
120
120
|
}
|
|
121
121
|
__name(handleSelectAllText, "handleSelectAllText");
|
|
122
122
|
function handleFocus(e) {
|
|
123
|
+
e.stopPropagation();
|
|
123
124
|
emit("focus", e);
|
|
124
125
|
}
|
|
125
126
|
__name(handleFocus, "handleFocus");
|
|
126
127
|
function handleBlur(e) {
|
|
128
|
+
e.stopPropagation();
|
|
127
129
|
emit("blur", e);
|
|
128
130
|
}
|
|
129
131
|
__name(handleBlur, "handleBlur");
|
|
130
132
|
function handleKeydown(e) {
|
|
133
|
+
e.stopPropagation();
|
|
131
134
|
emit("keydown", e);
|
|
132
135
|
}
|
|
133
136
|
__name(handleKeydown, "handleKeydown");
|
|
134
137
|
function handleClick(e) {
|
|
135
|
-
|
|
138
|
+
e.stopPropagation();
|
|
139
|
+
if (isDisabled.value || !isActive.value)
|
|
136
140
|
return;
|
|
137
|
-
emit("
|
|
141
|
+
emit("send", e);
|
|
138
142
|
}
|
|
139
143
|
__name(handleClick, "handleClick");
|
|
140
144
|
watch(() => modelValue.value, (newValue) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useAireneChatInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5VN4R3JG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
aireneChatInputProps
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-332SZFS7.mjs";
|
|
7
7
|
|
|
8
8
|
// src/airene-chat-input.tsx
|
|
9
9
|
import { createVNode as _createVNode } from "vue";
|
package/dist/index.js
CHANGED
|
@@ -148,21 +148,25 @@ function useAireneChatInput(props, emit, slots) {
|
|
|
148
148
|
}
|
|
149
149
|
__name(handleSelectAllText, "handleSelectAllText");
|
|
150
150
|
function handleFocus(e) {
|
|
151
|
+
e.stopPropagation();
|
|
151
152
|
emit("focus", e);
|
|
152
153
|
}
|
|
153
154
|
__name(handleFocus, "handleFocus");
|
|
154
155
|
function handleBlur(e) {
|
|
156
|
+
e.stopPropagation();
|
|
155
157
|
emit("blur", e);
|
|
156
158
|
}
|
|
157
159
|
__name(handleBlur, "handleBlur");
|
|
158
160
|
function handleKeydown(e) {
|
|
161
|
+
e.stopPropagation();
|
|
159
162
|
emit("keydown", e);
|
|
160
163
|
}
|
|
161
164
|
__name(handleKeydown, "handleKeydown");
|
|
162
165
|
function handleClick(e) {
|
|
163
|
-
|
|
166
|
+
e.stopPropagation();
|
|
167
|
+
if (isDisabled.value || !isActive.value)
|
|
164
168
|
return;
|
|
165
|
-
emit("
|
|
169
|
+
emit("send", e);
|
|
166
170
|
}
|
|
167
171
|
__name(handleClick, "handleClick");
|
|
168
172
|
(0, import_vue.watch)(() => modelValue.value, (newValue) => {
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MpAireneChatInput
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BK6OXDR5.mjs";
|
|
4
|
+
import "./chunk-5VN4R3JG.mjs";
|
|
5
|
+
import "./chunk-332SZFS7.mjs";
|
|
6
6
|
import "./chunk-QZ7VFGWC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
MpAireneChatInput
|
package/dist/metafile-cjs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytes":4673,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/airene-chat-input.props.ts":{"bytes":1343,"imports":[],"format":"esm"},"src/airene-chat-input.tsx":{"bytes":948,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"src/modules/airene-chat-input.hooks.ts","kind":"import-statement","original":"./modules/airene-chat-input.hooks"},{"path":"src/modules/airene-chat-input.props.ts","kind":"import-statement","original":"./modules/airene-chat-input.props"}],"format":"esm"},"src/index.ts":{"bytes":141,"imports":[{"path":"src/airene-chat-input.tsx","kind":"import-statement","original":"./airene-chat-input"}],"format":"esm"}},"outputs":{"dist/airene-chat-input.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/airene-chat-input.tsx","inputs":{"src/airene-chat-input.tsx":{"bytesInOutput":979},"src/modules/airene-chat-input.hooks.ts":{"bytesInOutput":4975},"src/modules/airene-chat-input.props.ts":{"bytesInOutput":617}},"bytes":7717},"dist/index.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-icon","kind":"require-call","external":true},{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":139},"src/airene-chat-input.tsx":{"bytesInOutput":798},"src/modules/airene-chat-input.hooks.ts":{"bytesInOutput":4975},"src/modules/airene-chat-input.props.ts":{"bytesInOutput":617}},"bytes":7692},"dist/modules/airene-chat-input.hooks.js":{"imports":[{"path":"vue","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"require-call","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"require-call","external":true},{"path":"@mekari/pixel3-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"src/modules/airene-chat-input.hooks.ts","inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytesInOutput":5176}},"bytes":6220},"dist/modules/airene-chat-input.props.js":{"imports":[],"exports":[],"entryPoint":"src/modules/airene-chat-input.props.ts","inputs":{"src/modules/airene-chat-input.props.ts":{"bytesInOutput":976}},"bytes":1955}}}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytes":4673,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/modules/airene-chat-input.props.ts":{"bytes":1343,"imports":[],"format":"esm"},"src/airene-chat-input.tsx":{"bytes":948,"imports":[{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true},{"path":"src/modules/airene-chat-input.hooks.ts","kind":"import-statement","original":"./modules/airene-chat-input.hooks"},{"path":"src/modules/airene-chat-input.props.ts","kind":"import-statement","original":"./modules/airene-chat-input.props"}],"format":"esm"},"src/index.ts":{"bytes":141,"imports":[{"path":"src/airene-chat-input.tsx","kind":"import-statement","original":"./airene-chat-input"}],"format":"esm"}},"outputs":{"dist/airene-chat-input.mjs":{"imports":[{"path":"dist/chunk-BK6OXDR5.mjs","kind":"import-statement"},{"path":"dist/chunk-5VN4R3JG.mjs","kind":"import-statement"},{"path":"dist/chunk-332SZFS7.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpAireneChatInput"],"entryPoint":"src/airene-chat-input.tsx","inputs":{},"bytes":185},"dist/index.mjs":{"imports":[{"path":"dist/chunk-BK6OXDR5.mjs","kind":"import-statement"},{"path":"dist/chunk-5VN4R3JG.mjs","kind":"import-statement"},{"path":"dist/chunk-332SZFS7.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["MpAireneChatInput"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":185},"dist/chunk-BK6OXDR5.mjs":{"imports":[{"path":"dist/chunk-5VN4R3JG.mjs","kind":"import-statement"},{"path":"dist/chunk-332SZFS7.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-icon","kind":"import-statement","external":true}],"exports":["MpAireneChatInput"],"inputs":{"src/airene-chat-input.tsx":{"bytesInOutput":709}},"bytes":896},"dist/modules/airene-chat-input.hooks.mjs":{"imports":[{"path":"dist/chunk-5VN4R3JG.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["useAireneChatInput"],"entryPoint":"src/modules/airene-chat-input.hooks.ts","inputs":{},"bytes":127},"dist/chunk-5VN4R3JG.mjs":{"imports":[{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"},{"path":"vue","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/recipes","kind":"import-statement","external":true},{"path":"@mekari/pixel3-styled-system/tokens","kind":"import-statement","external":true},{"path":"@mekari/pixel3-utils","kind":"import-statement","external":true}],"exports":["useAireneChatInput"],"inputs":{"src/modules/airene-chat-input.hooks.ts":{"bytesInOutput":4672}},"bytes":4798},"dist/modules/airene-chat-input.props.mjs":{"imports":[{"path":"dist/chunk-332SZFS7.mjs","kind":"import-statement"},{"path":"dist/chunk-QZ7VFGWC.mjs","kind":"import-statement"}],"exports":["aireneChatInputEmit","aireneChatInputProps"],"entryPoint":"src/modules/airene-chat-input.props.ts","inputs":{},"bytes":177},"dist/chunk-332SZFS7.mjs":{"imports":[],"exports":["aireneChatInputEmit","aireneChatInputProps"],"inputs":{"src/modules/airene-chat-input.props.ts":{"bytesInOutput":721}},"bytes":822},"dist/chunk-QZ7VFGWC.mjs":{"imports":[],"exports":["__name"],"inputs":{},"bytes":151}}}
|
|
@@ -141,21 +141,25 @@ function useAireneChatInput(props, emit, slots) {
|
|
|
141
141
|
}
|
|
142
142
|
__name(handleSelectAllText, "handleSelectAllText");
|
|
143
143
|
function handleFocus(e) {
|
|
144
|
+
e.stopPropagation();
|
|
144
145
|
emit("focus", e);
|
|
145
146
|
}
|
|
146
147
|
__name(handleFocus, "handleFocus");
|
|
147
148
|
function handleBlur(e) {
|
|
149
|
+
e.stopPropagation();
|
|
148
150
|
emit("blur", e);
|
|
149
151
|
}
|
|
150
152
|
__name(handleBlur, "handleBlur");
|
|
151
153
|
function handleKeydown(e) {
|
|
154
|
+
e.stopPropagation();
|
|
152
155
|
emit("keydown", e);
|
|
153
156
|
}
|
|
154
157
|
__name(handleKeydown, "handleKeydown");
|
|
155
158
|
function handleClick(e) {
|
|
156
|
-
|
|
159
|
+
e.stopPropagation();
|
|
160
|
+
if (isDisabled.value || !isActive.value)
|
|
157
161
|
return;
|
|
158
|
-
emit("
|
|
162
|
+
emit("send", e);
|
|
159
163
|
}
|
|
160
164
|
__name(handleClick, "handleClick");
|
|
161
165
|
(0, import_vue.watch)(() => modelValue.value, (newValue) => {
|
|
@@ -43,7 +43,7 @@ declare const aireneChatInputProps: {
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
declare const aireneChatInputEmit: readonly ["change", "input", "keydown", "focus", "blur", "
|
|
46
|
+
declare const aireneChatInputEmit: readonly ["change", "input", "keydown", "focus", "blur", "send", "update:modelValue"];
|
|
47
47
|
type AireneChatInputProps = ExtractPropTypes<typeof aireneChatInputProps>;
|
|
48
48
|
type AireneChatInputEmits = (event: (typeof aireneChatInputEmit)[number], value?: unknown, value2?: unknown) => void;
|
|
49
49
|
|
|
@@ -43,7 +43,7 @@ declare const aireneChatInputProps: {
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
declare const aireneChatInputEmit: readonly ["change", "input", "keydown", "focus", "blur", "
|
|
46
|
+
declare const aireneChatInputEmit: readonly ["change", "input", "keydown", "focus", "blur", "send", "update:modelValue"];
|
|
47
47
|
type AireneChatInputProps = ExtractPropTypes<typeof aireneChatInputProps>;
|
|
48
48
|
type AireneChatInputEmits = (event: (typeof aireneChatInputEmit)[number], value?: unknown, value2?: unknown) => void;
|
|
49
49
|
|
|
@@ -67,7 +67,7 @@ var aireneChatInputProps = {
|
|
|
67
67
|
default: false
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
var aireneChatInputEmit = ["change", "input", "keydown", "focus", "blur", "
|
|
70
|
+
var aireneChatInputEmit = ["change", "input", "keydown", "focus", "blur", "send", "update:modelValue"];
|
|
71
71
|
// Annotate the CommonJS export names for ESM import in node:
|
|
72
72
|
0 && (module.exports = {
|
|
73
73
|
aireneChatInputEmit,
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-airene-chat-input",
|
|
3
3
|
"description": "Mekari Pixel 3 | Chat Input component for Airene.",
|
|
4
|
-
"version": "0.0.1-dev.
|
|
4
|
+
"version": "0.0.1-dev.3",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@mekari/pixel3-icon": "0.0.18-dev.
|
|
11
|
+
"@mekari/pixel3-icon": "0.0.18-dev.6",
|
|
12
12
|
"@mekari/pixel3-utils": "0.0.7",
|
|
13
|
-
"@mekari/pixel3-styled-system": "0.1.3-dev.
|
|
13
|
+
"@mekari/pixel3-styled-system": "0.1.3-dev.6"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"vue": "^3.4.9"
|