@freecallai/pro 0.0.9 → 0.0.10
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/LICENSE +20 -20
- package/README.md +1 -1
- package/dist/types/rich-text/ui/MediaSourceControls.vue.d.ts +4 -4
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Bytedance, Inc. and its affiliates.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Bytedance, Inc. and its affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ pnpm --filter @freecallai/pro build
|
|
|
10
10
|
pnpm --filter @freecallai/pro test
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
第一个组件 `FkpRichText` 同时提供整包注册和 `@freecallai/pro/rich-text` 按需入口。组件使用 Tiptap 和独立的 `@freecallai/icons`;宿主需先加载 `@freecallai/ui/dist/arco.css`,再加载 `@freecallai/pro/style.css`。上传、鉴权、保存和 AI
|
|
13
|
+
第一个组件 `FkpRichText` 同时提供整包注册和 `@freecallai/pro/rich-text` 按需入口。组件使用 Tiptap 和独立的 `@freecallai/icons`;宿主需先加载 `@freecallai/ui/dist/arco.css`,再加载 `@freecallai/pro/style.css`。上传、鉴权、保存和 AI 操作仍由宿主注入或响应事件。当前源码版本为 0.0.10,要求 UI ^0.0.6、Vue ^3.5.13,Icons 使用 0.0.4,发布状态见[发布指南](../../docs/fuker/RELEASE.md)。
|
|
14
14
|
|
|
15
15
|
SVG 图标由独立的 [`@freecallai/icons`](../web-vue-icons/README.md) 包维护。富文本组件直接引用该包,图标布局样式包含在 `@freecallai/pro/style.css` 中。业务包目前不另设 Icon 导出或注册入口;其他场景可直接使用 `@freecallai/icons`。
|
|
16
16
|
|
|
@@ -70,9 +70,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
70
70
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
71
71
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
72
72
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
73
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
73
74
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
74
75
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
75
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
76
76
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
@@ -92,9 +92,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
92
92
|
type: "text" | "password";
|
|
93
93
|
disabled: boolean;
|
|
94
94
|
error: boolean;
|
|
95
|
-
defaultValue: string;
|
|
96
95
|
readonly: boolean;
|
|
97
96
|
allowClear: boolean;
|
|
97
|
+
defaultValue: string;
|
|
98
98
|
maxLength: number | {
|
|
99
99
|
length: number;
|
|
100
100
|
errorOnly?: boolean;
|
|
@@ -163,9 +163,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
163
163
|
onFocus?: ((ev: FocusEvent) => any) | undefined;
|
|
164
164
|
onClear?: ((ev: MouseEvent) => any) | undefined;
|
|
165
165
|
onInput?: ((value: string, ev: Event) => any) | undefined;
|
|
166
|
+
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
166
167
|
onBlur?: ((ev: FocusEvent) => any) | undefined;
|
|
167
168
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
168
|
-
onChange?: ((value: string, ev: Event) => any) | undefined;
|
|
169
169
|
onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
171
|
inputRef: import('vue').Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
@@ -177,9 +177,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
177
177
|
type: "text" | "password";
|
|
178
178
|
disabled: boolean;
|
|
179
179
|
error: boolean;
|
|
180
|
-
defaultValue: string;
|
|
181
180
|
readonly: boolean;
|
|
182
181
|
allowClear: boolean;
|
|
182
|
+
defaultValue: string;
|
|
183
183
|
maxLength: number | {
|
|
184
184
|
length: number;
|
|
185
185
|
errorOnly?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freecallai/pro",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "福客AI业务组件库",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"**/*.css"
|
|
64
64
|
],
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@freecallai/ui": "^0.0.
|
|
66
|
+
"@freecallai/ui": "^0.0.6",
|
|
67
67
|
"vue": "^3.5.13"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@tiptap/pm": "^3.0.0",
|
|
73
73
|
"@tiptap/starter-kit": "^3.0.0",
|
|
74
74
|
"@tiptap/vue-3": "^3.0.0",
|
|
75
|
-
"@freecallai/icons": "0.0.
|
|
75
|
+
"@freecallai/icons": "0.0.4"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@types/node": "^22.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"vitest": "^3.2.0",
|
|
85
85
|
"vue": "^3.5.13",
|
|
86
86
|
"vue-tsc": "^2.2.0",
|
|
87
|
-
"@freecallai/ui": "0.0.
|
|
87
|
+
"@freecallai/ui": "0.0.6",
|
|
88
88
|
"@arco-design/arco-vue-scripts": "0.2.10"
|
|
89
89
|
},
|
|
90
90
|
"publishConfig": {
|