@matechat/ng 17.2.1-alpha → 17.2.1-alpha.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/fesm2022/matechat-ng.mjs +22 -16
- package/fesm2022/matechat-ng.mjs.map +1 -1
- package/index.d.ts +19 -6
- package/package.json +1 -1
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;
|
|
@@ -104,10 +102,6 @@ declare class DropAreaComponent implements AfterViewInit, OnDestroy {
|
|
|
104
102
|
container: HTMLElement;
|
|
105
103
|
isDragging: boolean;
|
|
106
104
|
dragCounter: number;
|
|
107
|
-
get dropAreaClasses(): {
|
|
108
|
-
'mc-attachment-drop-area': boolean;
|
|
109
|
-
'hide-drop-area': boolean;
|
|
110
|
-
};
|
|
111
105
|
ngOnChanges(changes: SimpleChanges): void;
|
|
112
106
|
handleDragEnter: (e: DragEvent) => void;
|
|
113
107
|
handleDragOver: (e: DragEvent) => void;
|
|
@@ -1193,6 +1187,25 @@ declare class ToolbarModule {
|
|
|
1193
1187
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
1194
1188
|
}
|
|
1195
1189
|
|
|
1190
|
+
interface IconConfig {
|
|
1191
|
+
name: string;
|
|
1192
|
+
size?: string;
|
|
1193
|
+
color?: string;
|
|
1194
|
+
component?: object;
|
|
1195
|
+
}
|
|
1196
|
+
interface Prompt {
|
|
1197
|
+
value: string | number;
|
|
1198
|
+
label: string;
|
|
1199
|
+
iconConfig?: IconConfig;
|
|
1200
|
+
desc?: string;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
interface PromptAdapter extends DefaultAdapter {
|
|
1204
|
+
}
|
|
1205
|
+
declare class PromptFoundation extends BaseFoundation<PromptAdapter> {
|
|
1206
|
+
constructor(adapter: PromptAdapter);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1196
1209
|
declare class PromptComponent extends BaseComponent<PromptFoundation> {
|
|
1197
1210
|
direction: ListDirection;
|
|
1198
1211
|
list: Prompt[];
|