@apform-ui/core 1.15.0 → 1.15.2
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/apform-ui.css +1 -1
- package/dist/apform-ui.js +2354 -2351
- package/dist/apform-ui.umd.cjs +32 -32
- package/dist/chat.css +1 -1
- package/dist/chat.js +1919 -1913
- package/dist/chat.umd.cjs +23 -23
- package/dist/components/Chat/MentionInput/MentionInput.vue.d.ts +11 -0
- package/dist/index.d.ts +1 -1
- package/package.json +11 -12
|
@@ -13,8 +13,19 @@ type __VLS_Props = {
|
|
|
13
13
|
searchPlaceholder?: string;
|
|
14
14
|
};
|
|
15
15
|
declare function focus(): void;
|
|
16
|
+
/**
|
|
17
|
+
* @returns 当前输入正文
|
|
18
|
+
*/
|
|
19
|
+
declare function getText(): string;
|
|
20
|
+
/**
|
|
21
|
+
* 写入输入框并自适应高度(供提示词优化等回填)。
|
|
22
|
+
* @param value 新文本
|
|
23
|
+
*/
|
|
24
|
+
declare function setText(value: string): void;
|
|
16
25
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
17
26
|
focus: typeof focus;
|
|
27
|
+
getText: typeof getText;
|
|
28
|
+
setText: typeof setText;
|
|
18
29
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
30
|
input: (message: string) => any;
|
|
20
31
|
send: (message: string, mentions: MentionChip[]) => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,6 @@ export type { BusinessResultTable, ChartOptionExtract, } from './utils/businessR
|
|
|
114
114
|
export { resolveResultBlocks } from './utils/resolveResultBlocks';
|
|
115
115
|
export type { ResultKind, ResultBlock, ResultBlockEntry, ResultHitlItem, ResultAudience, ResolveResultOptions, } from './utils/resolveResultBlocks';
|
|
116
116
|
export { COLORS, CHART_COLORS, TEXT_COLORS, SPACING, BORDER_RADIUS, SHADOWS, DURATION, Z_INDEX, FONT_SIZE, CONTROL_HEIGHT, LAYOUT_HEIGHT, ICON_SIZE, PAGE, FORM, AVATAR_SIZE, } from './tokens';
|
|
117
|
-
export declare const SCHEMA_UI_VERSION = "1.15.
|
|
117
|
+
export declare const SCHEMA_UI_VERSION = "1.15.1";
|
|
118
118
|
export declare const EP_FORK_BASE = "2.14.2";
|
|
119
119
|
export declare const EP_FORK_DATE = "2026-08-27";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apform-ui/core",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "yangdongnan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,16 +62,6 @@
|
|
|
62
62
|
"styles",
|
|
63
63
|
"README.md"
|
|
64
64
|
],
|
|
65
|
-
"scripts": {
|
|
66
|
-
"dev": "vite",
|
|
67
|
-
"build": "vite build && vite build -c vite.chat.config.ts && vite build -c vite.bpmn.config.ts",
|
|
68
|
-
"build:check": "vue-tsc --noEmit && pnpm run build",
|
|
69
|
-
"preview": "vite preview",
|
|
70
|
-
"test": "vitest run",
|
|
71
|
-
"test:watch": "vitest",
|
|
72
|
-
"clean": "rm -rf dist",
|
|
73
|
-
"prepublishOnly": "pnpm run build"
|
|
74
|
-
},
|
|
75
65
|
"peerDependencies": {
|
|
76
66
|
"@vue-flow/background": ">=1.3.0",
|
|
77
67
|
"@vue-flow/controls": ">=1.1.0",
|
|
@@ -131,5 +121,14 @@
|
|
|
131
121
|
"vue": "^3.5.13",
|
|
132
122
|
"vue-tsc": "^2.2.8",
|
|
133
123
|
"vue-virtual-scroller": "2.0.0-beta.8"
|
|
124
|
+
},
|
|
125
|
+
"scripts": {
|
|
126
|
+
"dev": "vite",
|
|
127
|
+
"build": "vite build && vite build -c vite.chat.config.ts && vite build -c vite.bpmn.config.ts",
|
|
128
|
+
"build:check": "vue-tsc --noEmit && pnpm run build",
|
|
129
|
+
"preview": "vite preview",
|
|
130
|
+
"test": "vitest run",
|
|
131
|
+
"test:watch": "vitest",
|
|
132
|
+
"clean": "rm -rf dist"
|
|
134
133
|
}
|
|
135
|
-
}
|
|
134
|
+
}
|