@matechat/ng 20.2.1-alpha.3 → 20.2.1
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 +18 -12
- package/fesm2022/matechat-ng.mjs.map +1 -1
- package/index.d.ts +8 -1
- package/package.json +5 -3
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, TemplateRef, ElementRef, AfterViewInit, OnDestroy, SimpleChanges, QueryList, OnInit, OnChanges, ModuleWithProviders, PipeTransform,
|
|
2
|
+
import { EventEmitter, TemplateRef, ElementRef, AfterViewInit, OnDestroy, Renderer2, ChangeDetectorRef, SimpleChanges, QueryList, OnInit, OnChanges, ModuleWithProviders, PipeTransform, ViewContainerRef, AfterContentInit } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import * as i2 from '@angular/forms';
|
|
@@ -95,13 +95,20 @@ declare class AttachmentComponent {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
declare class DropAreaComponent implements AfterViewInit, OnDestroy {
|
|
98
|
+
private renderer;
|
|
99
|
+
private cdr;
|
|
98
100
|
getDropContainer: () => HTMLElement;
|
|
99
101
|
isDisabled: boolean;
|
|
100
102
|
drop: EventEmitter<File[]>;
|
|
101
103
|
dropAreaEl: ElementRef<HTMLDivElement>;
|
|
104
|
+
constructor(renderer: Renderer2, cdr: ChangeDetectorRef);
|
|
102
105
|
container: HTMLElement;
|
|
103
106
|
isDragging: boolean;
|
|
104
107
|
dragCounter: number;
|
|
108
|
+
dragEnterListener: () => void;
|
|
109
|
+
dragOverListener: () => void;
|
|
110
|
+
dragLeaveListener: () => void;
|
|
111
|
+
dropListener: () => void;
|
|
105
112
|
ngOnChanges(changes: SimpleChanges): void;
|
|
106
113
|
handleDragEnter: (e: DragEvent) => void;
|
|
107
114
|
handleDragOver: (e: DragEvent) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matechat/ng",
|
|
3
|
-
"version": "20.2.1
|
|
3
|
+
"version": "20.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "前端智能化场景解决方案UI库,轻松构建你的AI应用。",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@angular/common": "^20.3.0",
|
|
21
21
|
"@angular/core": "^20.3.0",
|
|
22
|
-
"mermaid": "^11.10.1"
|
|
22
|
+
"mermaid": "^11.10.1",
|
|
23
|
+
"@angular/animations": "^20.3.0"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"tslib": "^2.3.0",
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"highlight.js": "^11.11.0",
|
|
28
29
|
"markdown-it": "^12.2.0",
|
|
29
30
|
"morphdom": "^2.7.4",
|
|
30
|
-
"xss": "^1.0.15"
|
|
31
|
+
"xss": "^1.0.15",
|
|
32
|
+
"@floating-ui/dom": "^1.6.12"
|
|
31
33
|
},
|
|
32
34
|
"publishConfig": {
|
|
33
35
|
"access": "public"
|