ngx-tethys 19.0.10 → 19.0.12
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/CHANGELOG.md +24 -0
- package/action/action.component.d.ts +12 -20
- package/action/actions.component.d.ts +5 -7
- package/affix/affix.component.d.ts +7 -10
- package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
- package/avatar/avatar.component.d.ts +25 -39
- package/fesm2022/ngx-tethys-action.mjs +54 -91
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +29 -26
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +117 -162
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +1 -1
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +35 -5
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +4 -4
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +1 -1
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +51 -73
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +7 -4
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/i18n/i18n.d.ts +6 -0
- package/i18n/locales/de-de.d.ts +6 -0
- package/i18n/locales/en-us.d.ts +6 -0
- package/i18n/locales/ja-jp.d.ts +6 -0
- package/i18n/locales/zh-hans.d.ts +6 -0
- package/i18n/locales/zh-hant.d.ts +6 -0
- package/image/preview/image-preview.component.d.ts +3 -2
- package/mention/mention.directive.d.ts +6 -7
- package/mention/suggestions/suggestions.component.d.ts +8 -9
- package/package.json +1 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThyPopoverConfig, ThyPopoverRef } from 'ngx-tethys/popover';
|
|
2
|
-
import {
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { Mention, MentionSuggestionSelectEvent } from './interfaces';
|
|
4
4
|
import { ThyMentionSuggestions } from './suggestions/suggestions.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -13,22 +13,21 @@ export declare class ThyMentionDirective implements OnInit, OnDestroy {
|
|
|
13
13
|
private ngControl;
|
|
14
14
|
private adapter;
|
|
15
15
|
openedSuggestionsRef: ThyPopoverRef<ThyMentionSuggestions>;
|
|
16
|
-
private _mentions;
|
|
17
|
-
get mentions(): Mention<any>[];
|
|
18
16
|
/**
|
|
19
17
|
* 提及输入配置参数,同时支持多个提及规则
|
|
20
18
|
* @type Mention<any>[]
|
|
21
19
|
*/
|
|
22
|
-
|
|
20
|
+
readonly thyMention: import("@angular/core").InputSignal<Mention<any>[]>;
|
|
23
21
|
/**
|
|
24
22
|
* Popover 弹出层参数配置
|
|
25
23
|
*/
|
|
26
|
-
|
|
24
|
+
readonly thyPopoverConfig: import("@angular/core").InputSignal<ThyPopoverConfig<unknown>>;
|
|
27
25
|
/**
|
|
28
26
|
* 选择后的回调函数
|
|
29
27
|
*/
|
|
30
|
-
select:
|
|
28
|
+
readonly select: import("@angular/core").OutputEmitterRef<MentionSuggestionSelectEvent<any>>;
|
|
31
29
|
get isOpened(): boolean;
|
|
30
|
+
mentions: import("@angular/core").Signal<(Partial<Mention<unknown>> & Mention<any>)[]>;
|
|
32
31
|
private destroy$;
|
|
33
32
|
private openedSuggestionsRef$;
|
|
34
33
|
constructor();
|
|
@@ -40,5 +39,5 @@ export declare class ThyMentionDirective implements OnInit, OnDestroy {
|
|
|
40
39
|
private openSuggestions;
|
|
41
40
|
private closeSuggestions;
|
|
42
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMentionDirective, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyMentionDirective, "[thyMention]", never, { "
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyMentionDirective, "[thyMention]", never, { "thyMention": { "alias": "thyMention"; "required": false; "isSignal": true; }; "thyPopoverConfig": { "alias": "thyPopoverConfig"; "required": false; "isSignal": true; }; }, { "select": "select"; }, never, never, true, never>;
|
|
44
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThySelectionListChange } from 'ngx-tethys/list';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
4
4
|
import { SeekQueryResult } from '../adapter/adapter';
|
|
5
5
|
import { Mention, MentionDefaultDataItem, MentionSuggestionSelectEvent } from '../interfaces';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -8,16 +8,15 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
* @private
|
|
9
9
|
*/
|
|
10
10
|
export declare class ThyMentionSuggestions<TItem = MentionDefaultDataItem> implements OnInit, OnDestroy {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
private popoverRef;
|
|
14
|
-
data: TItem[];
|
|
15
|
-
mention: Mention<TItem>;
|
|
11
|
+
readonly mention: import("@angular/core").InputSignal<Mention<TItem>>;
|
|
12
|
+
data: import("@angular/core").WritableSignal<TItem[]>;
|
|
16
13
|
suggestionSelect$: Subject<MentionSuggestionSelectEvent<any>>;
|
|
17
14
|
debounce: number;
|
|
18
|
-
loadingDone: boolean
|
|
15
|
+
loadingDone: import("@angular/core").WritableSignal<boolean>;
|
|
19
16
|
private search$;
|
|
20
|
-
|
|
17
|
+
private elementRef;
|
|
18
|
+
private ngZone;
|
|
19
|
+
private popoverRef;
|
|
21
20
|
constructor();
|
|
22
21
|
ngOnInit(): void;
|
|
23
22
|
search(query: SeekQueryResult): void;
|
|
@@ -25,5 +24,5 @@ export declare class ThyMentionSuggestions<TItem = MentionDefaultDataItem> imple
|
|
|
25
24
|
selectionChange(event: ThySelectionListChange<TItem>): void;
|
|
26
25
|
ngOnDestroy(): void;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMentionSuggestions<any>, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMentionSuggestions<any>, "thy-mention-suggestions", never, {}, {}, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMentionSuggestions<any>, "thy-mention-suggestions", never, { "mention": { "alias": "mention"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
28
|
}
|
package/package.json
CHANGED
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "19.0.
|
|
1
|
+
export declare const VERSION = "19.0.12";
|
package/schematics/version.js
CHANGED