@matechat/ng 20.2.1-alpha → 20.2.1-alpha.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/index.d.ts CHANGED
@@ -6,8 +6,6 @@ import * as i2 from '@angular/forms';
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
7
  import markdownit, { PluginSimple, PluginWithOptions, PluginWithParams, Token, Options } from 'markdown-it';
8
8
  import { IWhiteList } from 'xss';
9
- import { Prompt } from '@matechat/common/Prompt/common/prompt-types';
10
- import { PromptFoundation, PromptAdapter } from '@matechat/common/Prompt/foundation';
11
9
 
12
10
  interface UploadOptions {
13
11
  uri: string | URL;
@@ -1193,6 +1191,25 @@ declare class ToolbarModule {
1193
1191
  static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
1194
1192
  }
1195
1193
 
1194
+ interface IconConfig {
1195
+ name: string;
1196
+ size?: string;
1197
+ color?: string;
1198
+ component?: object;
1199
+ }
1200
+ interface Prompt {
1201
+ value: string | number;
1202
+ label: string;
1203
+ iconConfig?: IconConfig;
1204
+ desc?: string;
1205
+ }
1206
+
1207
+ interface PromptAdapter extends DefaultAdapter {
1208
+ }
1209
+ declare class PromptFoundation extends BaseFoundation<PromptAdapter> {
1210
+ constructor(adapter: PromptAdapter);
1211
+ }
1212
+
1196
1213
  declare class PromptComponent extends BaseComponent<PromptFoundation> {
1197
1214
  direction: ListDirection;
1198
1215
  list: Prompt[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matechat/ng",
3
- "version": "20.2.1-alpha",
3
+ "version": "20.2.1-alpha.2",
4
4
  "license": "MIT",
5
5
  "description": "前端智能化场景解决方案UI库,轻松构建你的AI应用。",
6
6
  "keywords": [