@delon/abc 17.0.5 → 17.2.0
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/auto-focus/auto-focus.directive.d.ts +7 -12
- package/avatar-list/avatar-list-item.component.d.ts +1 -1
- package/avatar-list/avatar-list.component.d.ts +10 -12
- package/avatar-list/avatar-list.module.d.ts +6 -6
- package/cell/cell-host.directive.d.ts +3 -5
- package/cell/cell.component.d.ts +10 -15
- package/cell/cell.service.d.ts +4 -7
- package/count-down/count-down.component.d.ts +1 -1
- package/count-down/count-down.module.d.ts +4 -4
- package/date-picker/date-picker.module.d.ts +6 -6
- package/date-picker/range-shortcut.component.d.ts +2 -2
- package/date-picker/range.directive.d.ts +7 -9
- package/down-file/down-file.directive.d.ts +6 -7
- package/down-file/down-file.module.d.ts +4 -4
- package/ellipsis/ellipsis.component.d.ts +12 -15
- package/ellipsis/ellipsis.module.d.ts +5 -5
- package/error-collect/error-collect.component.d.ts +14 -14
- package/error-collect/error-collect.module.d.ts +4 -4
- package/esm2022/auto-focus/auto-focus.directive.mjs +21 -32
- package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
- package/esm2022/avatar-list/avatar-list-item.component.mjs +6 -5
- package/esm2022/avatar-list/avatar-list.component.mjs +28 -34
- package/esm2022/avatar-list/avatar-list.module.mjs +6 -7
- package/esm2022/cell/cell-host.directive.mjs +10 -10
- package/esm2022/cell/cell.component.mjs +43 -59
- package/esm2022/cell/cell.module.mjs +4 -4
- package/esm2022/cell/cell.service.mjs +13 -14
- package/esm2022/count-down/count-down.component.mjs +9 -7
- package/esm2022/count-down/count-down.module.mjs +6 -7
- package/esm2022/date-picker/date-picker.module.mjs +6 -7
- package/esm2022/date-picker/range-shortcut.component.mjs +9 -9
- package/esm2022/date-picker/range.directive.mjs +16 -19
- package/esm2022/down-file/down-file.directive.mjs +17 -18
- package/esm2022/down-file/down-file.module.mjs +7 -8
- package/esm2022/ellipsis/ellipsis.component.mjs +36 -49
- package/esm2022/ellipsis/ellipsis.module.mjs +6 -7
- package/esm2022/error-collect/error-collect.component.mjs +27 -36
- package/esm2022/error-collect/error-collect.module.mjs +6 -7
- package/esm2022/exception/exception.component.mjs +21 -25
- package/esm2022/exception/exception.module.mjs +6 -7
- package/esm2022/footer-toolbar/footer-toolbar.component.mjs +18 -28
- package/esm2022/footer-toolbar/footer-toolbar.module.mjs +6 -7
- package/esm2022/full-content/full-content-toggle.directive.mjs +11 -10
- package/esm2022/full-content/full-content.component.mjs +26 -38
- package/esm2022/full-content/full-content.module.mjs +6 -7
- package/esm2022/full-content/full-content.service.mjs +3 -3
- package/esm2022/global-footer/global-footer-item.component.mjs +9 -12
- package/esm2022/global-footer/global-footer.component.mjs +23 -28
- package/esm2022/global-footer/global-footer.module.mjs +6 -7
- package/esm2022/hotkey/hotkey.directive.mjs +14 -14
- package/esm2022/hotkey/hotkey.module.mjs +4 -4
- package/esm2022/let/let.directive.mjs +3 -3
- package/esm2022/let/let.module.mjs +4 -4
- package/esm2022/loading/loading.component.mjs +8 -8
- package/esm2022/loading/loading.module.mjs +6 -7
- package/esm2022/loading/loading.service.mjs +15 -17
- package/esm2022/lodop/lodop.module.mjs +4 -4
- package/esm2022/lodop/lodop.service.mjs +10 -10
- package/esm2022/media/media.component.mjs +24 -25
- package/esm2022/media/media.module.mjs +6 -7
- package/esm2022/media/media.service.mjs +15 -15
- package/esm2022/notice-icon/notice-icon-tab.component.mjs +16 -9
- package/esm2022/notice-icon/notice-icon.component.mjs +40 -39
- package/esm2022/notice-icon/notice-icon.module.mjs +10 -9
- package/esm2022/observers/observer-size.mjs +18 -18
- package/esm2022/onboarding/onboarding.component.mjs +24 -30
- package/esm2022/onboarding/onboarding.module.mjs +25 -9
- package/esm2022/onboarding/onboarding.service.mjs +26 -33
- package/esm2022/page-header/page-header.component.mjs +61 -84
- package/esm2022/page-header/page-header.module.mjs +9 -9
- package/esm2022/pdf/pdf.component.mjs +46 -71
- package/esm2022/pdf/pdf.module.mjs +6 -7
- package/esm2022/qr/qr.component.mjs +11 -19
- package/esm2022/qr/qr.module.mjs +4 -4
- package/esm2022/quick-menu/quick-menu.component.mjs +21 -29
- package/esm2022/quick-menu/quick-menu.module.mjs +6 -7
- package/esm2022/result/result.component.mjs +20 -22
- package/esm2022/result/result.module.mjs +6 -7
- package/esm2022/reuse-tab/provide.mjs +2 -1
- package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +13 -14
- package/esm2022/reuse-tab/reuse-tab-context.component.mjs +12 -16
- package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +9 -9
- package/esm2022/reuse-tab/reuse-tab-context.service.mjs +9 -10
- package/esm2022/reuse-tab/reuse-tab.component.mjs +58 -93
- package/esm2022/reuse-tab/reuse-tab.module.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab.service.mjs +71 -60
- package/esm2022/reuse-tab/reuse-tab.strategy.mjs +5 -3
- package/esm2022/se/se-container.component.mjs +62 -79
- package/esm2022/se/se.component.mjs +42 -59
- package/esm2022/se/se.module.mjs +6 -7
- package/esm2022/sg/sg-container.component.mjs +12 -20
- package/esm2022/sg/sg.component.mjs +21 -27
- package/esm2022/sg/sg.module.mjs +6 -7
- package/esm2022/st/st-column-source.mjs +4 -4
- package/esm2022/st/st-data-source.mjs +4 -4
- package/esm2022/st/st-export.mjs +16 -12
- package/esm2022/st/st-filter.component.mjs +11 -11
- package/esm2022/st/st-row.directive.mjs +12 -14
- package/esm2022/st/st-widget-host.directive.mjs +10 -10
- package/esm2022/st/st-widget.mjs +3 -3
- package/esm2022/st/st.component.mjs +86 -125
- package/esm2022/st/st.module.mjs +4 -4
- package/esm2022/sv/sv-container.component.mjs +60 -78
- package/esm2022/sv/sv-value.component.mjs +9 -7
- package/esm2022/sv/sv.component.mjs +35 -48
- package/esm2022/sv/sv.module.mjs +6 -7
- package/esm2022/tag-select/tag-select.component.mjs +19 -24
- package/esm2022/tag-select/tag-select.module.mjs +6 -7
- package/esm2022/xlsx/xlsx.directive.mjs +9 -9
- package/esm2022/xlsx/xlsx.module.mjs +4 -4
- package/esm2022/xlsx/xlsx.service.mjs +13 -13
- package/esm2022/zip/zip.service.mjs +13 -13
- package/exception/exception.component.d.ts +13 -13
- package/exception/exception.module.d.ts +7 -7
- package/fesm2022/auto-focus.mjs +24 -35
- package/fesm2022/auto-focus.mjs.map +1 -1
- package/fesm2022/avatar-list.mjs +37 -46
- package/fesm2022/avatar-list.mjs.map +1 -1
- package/fesm2022/cell.mjs +67 -84
- package/fesm2022/cell.mjs.map +1 -1
- package/fesm2022/chart-observer-size.mjs +17 -17
- package/fesm2022/chart-observer-size.mjs.map +1 -1
- package/fesm2022/count-down.mjs +13 -13
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +28 -33
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +22 -25
- package/fesm2022/down-file.mjs.map +1 -1
- package/fesm2022/ellipsis.mjs +40 -56
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +31 -42
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +25 -34
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +22 -35
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +40 -52
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +34 -45
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +17 -17
- package/fesm2022/hotkey.mjs.map +1 -1
- package/fesm2022/let.mjs +7 -7
- package/fesm2022/loading.mjs +26 -33
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +13 -13
- package/fesm2022/lodop.mjs.map +1 -1
- package/fesm2022/media.mjs +40 -42
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +61 -62
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +71 -72
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +68 -97
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +50 -77
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/qr.mjs +14 -22
- package/fesm2022/qr.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +25 -37
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/result.mjs +24 -29
- package/fesm2022/result.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +175 -206
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +104 -141
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +34 -47
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +138 -172
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +102 -135
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +23 -31
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +22 -22
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +12 -12
- package/fesm2022/zip.mjs.map +1 -1
- package/footer-toolbar/footer-toolbar.component.d.ts +6 -10
- package/footer-toolbar/footer-toolbar.module.d.ts +5 -5
- package/full-content/full-content-toggle.directive.d.ts +2 -4
- package/full-content/full-content.component.d.ts +11 -16
- package/full-content/full-content.module.d.ts +4 -4
- package/global-footer/global-footer-item.component.d.ts +2 -3
- package/global-footer/global-footer.component.d.ts +12 -16
- package/global-footer/global-footer.module.d.ts +5 -5
- package/hotkey/hotkey.directive.d.ts +4 -6
- package/loading/loading.component.d.ts +2 -2
- package/loading/loading.module.d.ts +7 -7
- package/loading/loading.service.d.ts +5 -8
- package/lodop/lodop.service.d.ts +2 -3
- package/media/media.component.d.ts +9 -13
- package/media/media.module.d.ts +3 -3
- package/media/media.service.d.ts +3 -5
- package/notice-icon/notice-icon-tab.component.d.ts +1 -1
- package/notice-icon/notice-icon.component.d.ts +9 -11
- package/notice-icon/notice-icon.module.d.ts +13 -13
- package/observers/observer-size.d.ts +4 -5
- package/onboarding/onboarding.component.d.ts +7 -10
- package/onboarding/onboarding.module.d.ts +8 -8
- package/onboarding/onboarding.service.d.ts +9 -16
- package/package.json +5 -5
- package/page-header/page-header.component.d.ts +24 -27
- package/page-header/page-header.module.d.ts +9 -9
- package/pdf/pdf.component.d.ts +22 -22
- package/pdf/pdf.module.d.ts +4 -4
- package/pdf/pdf.types.d.ts +1 -1
- package/qr/qr.component.d.ts +3 -4
- package/quick-menu/quick-menu.component.d.ts +8 -10
- package/quick-menu/quick-menu.module.d.ts +5 -5
- package/result/result.component.d.ts +8 -9
- package/result/result.module.d.ts +5 -5
- package/reuse-tab/reuse-tab-context-menu.component.d.ts +1 -3
- package/reuse-tab/reuse-tab-context.component.d.ts +4 -7
- package/reuse-tab/reuse-tab-context.directive.d.ts +1 -3
- package/reuse-tab/reuse-tab-context.service.d.ts +1 -3
- package/reuse-tab/reuse-tab.component.d.ts +21 -28
- package/reuse-tab/reuse-tab.service.d.ts +10 -12
- package/reuse-tab/reuse-tab.strategy.d.ts +1 -3
- package/se/se-container.component.d.ts +20 -21
- package/se/se.component.d.ts +17 -21
- package/se/se.module.d.ts +7 -7
- package/sg/sg-container.component.d.ts +4 -5
- package/sg/sg.component.d.ts +9 -12
- package/sg/sg.module.d.ts +4 -4
- package/st/st-export.d.ts +3 -4
- package/st/st-filter.component.d.ts +2 -3
- package/st/st-row.directive.d.ts +3 -4
- package/st/st-widget-host.directive.d.ts +3 -5
- package/st/st.component.d.ts +38 -41
- package/sv/sv-container.component.d.ts +19 -20
- package/sv/sv-value.component.d.ts +1 -1
- package/sv/sv.component.d.ts +13 -16
- package/sv/sv.module.d.ts +9 -9
- package/tag-select/tag-select.component.d.ts +11 -13
- package/tag-select/tag-select.module.d.ts +5 -5
- package/xlsx/xlsx.directive.d.ts +1 -3
- package/xlsx/xlsx.service.d.ts +4 -7
- package/zip/zip.service.d.ts +4 -7
|
@@ -1,27 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChange } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
3
2
|
import type Plyr from 'plyr';
|
|
4
|
-
import { NumberInput } from '@delon/util/decorator';
|
|
5
|
-
import { MediaService } from './media.service';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export type MediaType = 'html5' | 'youtube' | 'video' | 'audio';
|
|
8
5
|
export declare class MediaComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
12
|
-
private ngZone;
|
|
13
|
-
private
|
|
14
|
-
|
|
6
|
+
private readonly destroy$;
|
|
7
|
+
private readonly el;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly ngZone;
|
|
10
|
+
private readonly srv;
|
|
11
|
+
private readonly platform;
|
|
15
12
|
private _p?;
|
|
16
13
|
private videoEl?;
|
|
17
|
-
private destroy$;
|
|
18
14
|
type: MediaType;
|
|
19
15
|
source?: string | Plyr.SourceInfo;
|
|
20
16
|
options?: Plyr.Options;
|
|
21
17
|
delay: number;
|
|
22
18
|
readonly ready: EventEmitter<Plyr>;
|
|
23
19
|
get player(): Plyr | undefined | null;
|
|
24
|
-
constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, srv: MediaService, ngZone: NgZone, platform: Platform);
|
|
25
20
|
private initDelay;
|
|
26
21
|
private init;
|
|
27
22
|
private ensureElement;
|
|
@@ -33,5 +28,6 @@ export declare class MediaComponent implements OnChanges, AfterViewInit, OnDestr
|
|
|
33
28
|
}): void;
|
|
34
29
|
ngOnDestroy(): void;
|
|
35
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MediaComponent, "media, [media]", ["mediaComponent"], { "type": { "alias": "type"; "required": false; }; "source": { "alias": "source"; "required": false; }; "options": { "alias": "options"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "ready": "ready"; }, never, ["*"],
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MediaComponent, "media, [media]", ["mediaComponent"], { "type": { "alias": "type"; "required": false; }; "source": { "alias": "source"; "required": false; }; "options": { "alias": "options"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "ready": "ready"; }, never, ["*"], true, never>;
|
|
32
|
+
static ngAcceptInputType_delay: unknown;
|
|
37
33
|
}
|
package/media/media.module.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./media.component";
|
|
4
4
|
export declare class MediaModule {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MediaModule, [typeof i1.
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MediaModule, never, [typeof i1.CommonModule, typeof i2.MediaComponent], [typeof i2.MediaComponent]>;
|
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<MediaModule>;
|
|
8
8
|
}
|
package/media/media.service.d.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
3
|
-
import { LazyService } from '@delon/util/other';
|
|
2
|
+
import { AlainMediaConfig } from '@delon/util/config';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class MediaService {
|
|
6
|
-
private cogSrv;
|
|
7
|
-
private lazySrv;
|
|
5
|
+
private readonly cogSrv;
|
|
6
|
+
private readonly lazySrv;
|
|
8
7
|
private _cog;
|
|
9
8
|
private loading;
|
|
10
9
|
private loaded;
|
|
11
10
|
private notify$;
|
|
12
11
|
get cog(): AlainMediaConfig;
|
|
13
12
|
set cog(val: AlainMediaConfig);
|
|
14
|
-
constructor(cogSrv: AlainConfigService, lazySrv: LazyService);
|
|
15
13
|
load(): this;
|
|
16
14
|
notify(): Observable<void>;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MediaService, never>;
|
|
@@ -10,5 +10,5 @@ export declare class NoticeIconTabComponent {
|
|
|
10
10
|
onClick(item: NoticeItem): void;
|
|
11
11
|
onClear(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconTabComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoticeIconTabComponent, "notice-icon-tab", ["noticeIconTab"], { "locale": { "alias": "locale"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "select": "select"; "clear": "clear"; }, never, never,
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoticeIconTabComponent, "notice-icon-tab", ["noticeIconTab"], { "locale": { "alias": "locale"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "select": "select"; "clear": "clear"; }, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { LocaleData } from '@delon/theme';
|
|
4
3
|
import type { NgClassType } from 'ng-zorro-antd/core/types';
|
|
5
4
|
import { NoticeIconSelect, NoticeItem } from './notice-icon.types';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class NoticeIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
-
private i18n;
|
|
9
|
-
private cdr;
|
|
10
|
-
static ngAcceptInputType_count: NumberInput;
|
|
11
|
-
static ngAcceptInputType_loading: BooleanInput;
|
|
12
|
-
static ngAcceptInputType_popoverVisible: BooleanInput;
|
|
13
|
-
static ngAcceptInputType_centered: BooleanInput;
|
|
7
|
+
private readonly i18n;
|
|
8
|
+
private readonly cdr;
|
|
14
9
|
private i18n$;
|
|
15
10
|
locale: LocaleData;
|
|
16
11
|
data: NoticeItem[];
|
|
@@ -24,7 +19,6 @@ export declare class NoticeIconComponent implements OnInit, OnChanges, OnDestroy
|
|
|
24
19
|
readonly clear: EventEmitter<string>;
|
|
25
20
|
readonly popoverVisibleChange: EventEmitter<boolean>;
|
|
26
21
|
get overlayCls(): string;
|
|
27
|
-
constructor(i18n: DelonLocaleService, cdr: ChangeDetectorRef);
|
|
28
22
|
onVisibleChange(result: boolean): void;
|
|
29
23
|
onSelect(i: NoticeIconSelect): void;
|
|
30
24
|
onClear(title: string): void;
|
|
@@ -32,5 +26,9 @@ export declare class NoticeIconComponent implements OnInit, OnChanges, OnDestroy
|
|
|
32
26
|
ngOnChanges(): void;
|
|
33
27
|
ngOnDestroy(): void;
|
|
34
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoticeIconComponent, "notice-icon", ["noticeIcon"], { "data": { "alias": "data"; "required": false; }; "count": { "alias": "count"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "popoverVisible": { "alias": "popoverVisible"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnIconClass": { "alias": "btnIconClass"; "required": false; }; "centered": { "alias": "centered"; "required": false; }; }, { "select": "select"; "clear": "clear"; "popoverVisibleChange": "popoverVisibleChange"; }, never, never,
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoticeIconComponent, "notice-icon", ["noticeIcon"], { "data": { "alias": "data"; "required": false; }; "count": { "alias": "count"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "popoverVisible": { "alias": "popoverVisible"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnIconClass": { "alias": "btnIconClass"; "required": false; }; "centered": { "alias": "centered"; "required": false; }; }, { "select": "select"; "clear": "clear"; "popoverVisibleChange": "popoverVisibleChange"; }, never, never, true, never>;
|
|
30
|
+
static ngAcceptInputType_count: unknown;
|
|
31
|
+
static ngAcceptInputType_loading: unknown;
|
|
32
|
+
static ngAcceptInputType_popoverVisible: unknown;
|
|
33
|
+
static ngAcceptInputType_centered: unknown;
|
|
36
34
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "ng-zorro-antd/
|
|
7
|
-
import * as i6 from "ng-zorro-antd/
|
|
8
|
-
import * as i7 from "ng-zorro-antd/
|
|
9
|
-
import * as i8 from "ng-zorro-antd/
|
|
10
|
-
import * as i9 from "ng-zorro-antd/
|
|
11
|
-
import * as i10 from "ng-zorro-antd/
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@delon/theme";
|
|
4
|
+
import * as i3 from "ng-zorro-antd/badge";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/dropdown";
|
|
6
|
+
import * as i5 from "ng-zorro-antd/icon";
|
|
7
|
+
import * as i6 from "ng-zorro-antd/list";
|
|
8
|
+
import * as i7 from "ng-zorro-antd/spin";
|
|
9
|
+
import * as i8 from "ng-zorro-antd/tabs";
|
|
10
|
+
import * as i9 from "ng-zorro-antd/tag";
|
|
11
|
+
import * as i10 from "ng-zorro-antd/core/outlet";
|
|
12
|
+
import * as i11 from "./notice-icon.component";
|
|
13
|
+
import * as i12 from "./notice-icon-tab.component";
|
|
14
14
|
export declare class NoticeIconModule {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoticeIconModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NoticeIconModule, [typeof i1.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NoticeIconModule, never, [typeof i1.CommonModule, typeof i2.DelonLocaleModule, typeof i3.NzBadgeModule, typeof i4.NzDropDownModule, typeof i5.NzIconModule, typeof i6.NzListModule, typeof i7.NzSpinModule, typeof i8.NzTabsModule, typeof i9.NzTagModule, typeof i10.NzOutletModule, typeof i11.NoticeIconComponent, typeof i12.NoticeIconTabComponent], [typeof i11.NoticeIconComponent]>;
|
|
17
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<NoticeIconModule>;
|
|
18
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SizeObserver implements OnDestroy {
|
|
@@ -12,12 +12,11 @@ export declare class SizeObserver implements OnDestroy {
|
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<SizeObserver>;
|
|
13
13
|
}
|
|
14
14
|
export declare class ObserverSize implements AfterViewInit, OnDestroy {
|
|
15
|
-
private _obs;
|
|
16
|
-
private el;
|
|
17
|
-
private ngZone;
|
|
15
|
+
private readonly _obs;
|
|
16
|
+
private readonly el;
|
|
17
|
+
private readonly ngZone;
|
|
18
18
|
private _sub$;
|
|
19
19
|
readonly event: EventEmitter<MutationRecord[]>;
|
|
20
|
-
constructor(_obs: SizeObserver, el: ElementRef<HTMLElement>, ngZone: NgZone);
|
|
21
20
|
ngAfterViewInit(): void;
|
|
22
21
|
private _sub;
|
|
23
22
|
private _unsub;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import {
|
|
3
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
2
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
5
3
|
import { OnboardingConfig, OnboardingItem, OnboardingOpType } from './onboarding.types';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class OnboardingComponent implements OnDestroy, AfterViewInit {
|
|
8
|
-
private el;
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private
|
|
6
|
+
private readonly el;
|
|
7
|
+
private readonly platform;
|
|
8
|
+
private readonly cdr;
|
|
9
|
+
private readonly doc;
|
|
12
10
|
private time;
|
|
13
11
|
private prevSelectorEl?;
|
|
14
12
|
config: OnboardingConfig;
|
|
@@ -23,7 +21,6 @@ export declare class OnboardingComponent implements OnDestroy, AfterViewInit {
|
|
|
23
21
|
get last(): boolean;
|
|
24
22
|
private _getDoc;
|
|
25
23
|
private _getWin;
|
|
26
|
-
constructor(el: ElementRef<HTMLElement>, doc: NzSafeAny, platform: Platform, cdr: ChangeDetectorRef);
|
|
27
24
|
private getLightData;
|
|
28
25
|
ngAfterViewInit(): void;
|
|
29
26
|
private scroll;
|
|
@@ -33,6 +30,6 @@ export declare class OnboardingComponent implements OnDestroy, AfterViewInit {
|
|
|
33
30
|
to(type: OnboardingOpType): void;
|
|
34
31
|
handleMask(): void;
|
|
35
32
|
ngOnDestroy(): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingComponent,
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnboardingComponent, "onboarding", never, {}, {}, never, never,
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnboardingComponent, "onboarding", never, {}, {}, never, never, true, never>;
|
|
38
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "@
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "ng-zorro-antd/
|
|
6
|
-
import * as i5 from "ng-zorro-antd/
|
|
7
|
-
import * as i6 from "ng-zorro-antd/
|
|
8
|
-
import * as i7 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@delon/theme";
|
|
4
|
+
import * as i3 from "ng-zorro-antd/popover";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/core/outlet";
|
|
6
|
+
import * as i5 from "ng-zorro-antd/button";
|
|
7
|
+
import * as i6 from "ng-zorro-antd/core/no-animation";
|
|
8
|
+
import * as i7 from "./onboarding.component";
|
|
9
9
|
export declare class OnboardingModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OnboardingModule, [typeof i1.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OnboardingModule, never, [typeof i1.CommonModule, typeof i2.DelonLocaleModule, typeof i3.NzPopoverModule, typeof i4.NzOutletModule, typeof i5.NzButtonModule, typeof i6.NzNoAnimationModule, typeof i7.OnboardingComponent], [typeof i7.OnboardingComponent]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<OnboardingModule>;
|
|
13
13
|
}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ApplicationRef, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import { DelonLocaleService } from '@delon/theme';
|
|
5
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
6
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
|
-
import { OnBoardingKeyStore } from './onboarding.storage';
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
8
2
|
import { OnboardingConfig } from './onboarding.types';
|
|
9
3
|
import * as i0 from "@angular/core";
|
|
10
4
|
export declare class OnboardingService implements OnDestroy {
|
|
11
|
-
private i18n;
|
|
12
|
-
private appRef;
|
|
13
|
-
private router;
|
|
14
|
-
private doc;
|
|
15
|
-
private configSrv;
|
|
16
|
-
private keyStoreSrv;
|
|
17
|
-
private directionality;
|
|
5
|
+
private readonly i18n;
|
|
6
|
+
private readonly appRef;
|
|
7
|
+
private readonly router;
|
|
8
|
+
private readonly doc;
|
|
9
|
+
private readonly configSrv;
|
|
10
|
+
private readonly keyStoreSrv;
|
|
11
|
+
private readonly directionality;
|
|
18
12
|
private compRef;
|
|
19
13
|
private op$;
|
|
20
14
|
private config?;
|
|
@@ -29,7 +23,6 @@ export declare class OnboardingService implements OnDestroy {
|
|
|
29
23
|
* 获取是否正在引导中
|
|
30
24
|
*/
|
|
31
25
|
get running(): boolean;
|
|
32
|
-
constructor(i18n: DelonLocaleService, appRef: ApplicationRef, router: Router, doc: NzSafeAny, configSrv: AlainConfigService, keyStoreSrv: OnBoardingKeyStore, directionality: Directionality);
|
|
33
26
|
private attach;
|
|
34
27
|
private cancelRunning;
|
|
35
28
|
private updateRunning;
|
|
@@ -60,6 +53,6 @@ export declare class OnboardingService implements OnDestroy {
|
|
|
60
53
|
*/
|
|
61
54
|
done(): void;
|
|
62
55
|
ngOnDestroy(): void;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService,
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService, never>;
|
|
64
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingService>;
|
|
65
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/abc",
|
|
3
|
-
"version": "17.0
|
|
3
|
+
"version": "17.2.0",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"xlsx": "^0.18.5",
|
|
28
28
|
"plyr": "^3.7.8",
|
|
29
29
|
"@github/hotkey": "^2.3.0",
|
|
30
|
-
"ngx-countdown": "^17.
|
|
31
|
-
"@delon/theme": "^17.0
|
|
32
|
-
"@delon/util": "^17.0
|
|
33
|
-
"@delon/acl": "^17.0
|
|
30
|
+
"ngx-countdown": "^17.1.1",
|
|
31
|
+
"@delon/theme": "^17.2.0",
|
|
32
|
+
"@delon/util": "^17.2.0",
|
|
33
|
+
"@delon/acl": "^17.2.0",
|
|
34
34
|
"tslib": "^2.3.0"
|
|
35
35
|
},
|
|
36
36
|
"module": "fesm2022/abc.mjs",
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { Direction
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
2
|
import { Platform } from '@angular/cdk/platform';
|
|
3
|
-
import { AfterViewInit,
|
|
4
|
-
import {
|
|
5
|
-
import { ReuseTabService } from '@delon/abc/reuse-tab';
|
|
6
|
-
import { AlainI18NService, MenuService, SettingsService, TitleService } from '@delon/theme';
|
|
3
|
+
import { AfterViewInit, OnChanges, OnInit, TemplateRef } from '@angular/core';
|
|
4
|
+
import { SettingsService } from '@delon/theme';
|
|
7
5
|
import { AlainConfigService } from '@delon/util/config';
|
|
8
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
9
6
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
10
7
|
import * as i0 from "@angular/core";
|
|
11
8
|
interface PageHeaderPath {
|
|
@@ -13,28 +10,20 @@ interface PageHeaderPath {
|
|
|
13
10
|
link?: string[];
|
|
14
11
|
}
|
|
15
12
|
export declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
|
|
16
|
-
private renderer;
|
|
17
|
-
private router;
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private directionality;
|
|
24
|
-
|
|
25
|
-
static ngAcceptInputType_wide: BooleanInput;
|
|
26
|
-
static ngAcceptInputType_autoBreadcrumb: BooleanInput;
|
|
27
|
-
static ngAcceptInputType_autoTitle: BooleanInput;
|
|
28
|
-
static ngAcceptInputType_syncTitle: BooleanInput;
|
|
29
|
-
static ngAcceptInputType_fixed: BooleanInput;
|
|
30
|
-
static ngAcceptInputType_fixedOffsetTop: NumberInput;
|
|
31
|
-
static ngAcceptInputType_recursiveBreadcrumb: BooleanInput;
|
|
32
|
-
private dir$;
|
|
13
|
+
private readonly renderer;
|
|
14
|
+
private readonly router;
|
|
15
|
+
private readonly cdr;
|
|
16
|
+
private readonly menuSrv;
|
|
17
|
+
private readonly i18nSrv;
|
|
18
|
+
private readonly titleSrv;
|
|
19
|
+
private readonly reuseSrv;
|
|
20
|
+
private readonly directionality;
|
|
21
|
+
private readonly destroy$;
|
|
33
22
|
private conTpl;
|
|
34
23
|
private affix;
|
|
35
24
|
inited: boolean;
|
|
36
25
|
isBrowser: boolean;
|
|
37
|
-
dir
|
|
26
|
+
dir?: Direction;
|
|
38
27
|
private get menus();
|
|
39
28
|
_titleVal: string | null;
|
|
40
29
|
paths: PageHeaderPath[];
|
|
@@ -59,7 +48,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
|
|
|
59
48
|
content?: TemplateRef<void> | null;
|
|
60
49
|
extra?: TemplateRef<void> | null;
|
|
61
50
|
tab?: TemplateRef<void> | null;
|
|
62
|
-
constructor(settings: SettingsService,
|
|
51
|
+
constructor(settings: SettingsService, configSrv: AlainConfigService, platform: Platform);
|
|
63
52
|
refresh(): void;
|
|
64
53
|
private genBreadcrumb;
|
|
65
54
|
private setTitle;
|
|
@@ -67,7 +56,15 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
|
|
|
67
56
|
ngOnInit(): void;
|
|
68
57
|
ngAfterViewInit(): void;
|
|
69
58
|
ngOnChanges(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent,
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "titleSub": { "alias": "titleSub"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"],
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "titleSub": { "alias": "titleSub"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
61
|
+
static ngAcceptInputType_loading: unknown;
|
|
62
|
+
static ngAcceptInputType_wide: unknown;
|
|
63
|
+
static ngAcceptInputType_autoBreadcrumb: unknown;
|
|
64
|
+
static ngAcceptInputType_autoTitle: unknown;
|
|
65
|
+
static ngAcceptInputType_syncTitle: unknown;
|
|
66
|
+
static ngAcceptInputType_fixed: unknown;
|
|
67
|
+
static ngAcceptInputType_fixedOffsetTop: unknown;
|
|
68
|
+
static ngAcceptInputType_recursiveBreadcrumb: unknown;
|
|
72
69
|
}
|
|
73
70
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "ng-zorro-antd/
|
|
7
|
-
import * as i6 from "ng-zorro-antd/
|
|
8
|
-
import * as i7 from "ng-zorro-antd/
|
|
9
|
-
import * as i8 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
import * as i3 from "@angular/cdk/observers";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/affix";
|
|
6
|
+
import * as i5 from "ng-zorro-antd/skeleton";
|
|
7
|
+
import * as i6 from "ng-zorro-antd/breadcrumb";
|
|
8
|
+
import * as i7 from "ng-zorro-antd/core/outlet";
|
|
9
|
+
import * as i8 from "./page-header.component";
|
|
10
10
|
export declare class PageHeaderModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.ObserversModule, typeof i4.NzAffixModule, typeof i5.NzSkeletonModule, typeof i6.NzBreadCrumbModule, typeof i7.NzOutletModule, typeof i8.PageHeaderComponent], [typeof i8.PageHeaderComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
14
14
|
}
|
package/pdf/pdf.component.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
3
2
|
import { AlainConfigService } from '@delon/util/config';
|
|
4
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
5
|
-
import { LazyService } from '@delon/util/other';
|
|
6
3
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
4
|
import { PdfChangeEvent, PdfExternalLinkTarget, PdfTextLayerMode, PdfZoomScale } from './pdf.types';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
@@ -12,22 +9,14 @@ type PDFFindController = NzSafeAny;
|
|
|
12
9
|
type PDFLinkService = NzSafeAny;
|
|
13
10
|
type PDFViewer = NzSafeAny;
|
|
14
11
|
export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
|
|
22
|
-
static ngAcceptInputType_delay: NumberInput;
|
|
23
|
-
static ngAcceptInputType_showAllPages: BooleanInput;
|
|
24
|
-
static ngAcceptInputType_stickToPage: BooleanInput;
|
|
25
|
-
static ngAcceptInputType_originalSize: BooleanInput;
|
|
26
|
-
static ngAcceptInputType_fitToPage: BooleanInput;
|
|
27
|
-
static ngAcceptInputType_disableTextLayer: BooleanInput;
|
|
28
|
-
static ngAcceptInputType_removePageBorders: BooleanInput;
|
|
12
|
+
private readonly lazySrv;
|
|
13
|
+
private readonly platform;
|
|
14
|
+
private readonly _el;
|
|
15
|
+
private readonly doc;
|
|
16
|
+
private readonly cdr;
|
|
17
|
+
private readonly ngZone;
|
|
18
|
+
private readonly destroy$;
|
|
29
19
|
inited: boolean;
|
|
30
|
-
private destroy$;
|
|
31
20
|
private lib;
|
|
32
21
|
private _pdf?;
|
|
33
22
|
private loadingTask?;
|
|
@@ -72,7 +61,7 @@ export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
72
61
|
private get _textLayerMode();
|
|
73
62
|
private get win();
|
|
74
63
|
private get el();
|
|
75
|
-
constructor(
|
|
64
|
+
constructor(configSrv: AlainConfigService);
|
|
76
65
|
private getValidPi;
|
|
77
66
|
private emit;
|
|
78
67
|
private initDelay;
|
|
@@ -95,7 +84,18 @@ export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
95
84
|
[p in keyof PdfComponent]?: SimpleChange;
|
|
96
85
|
}): void;
|
|
97
86
|
ngOnDestroy(): void;
|
|
98
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent,
|
|
99
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "pdf", ["pdf"], { "src": { "alias": "src"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "renderText": { "alias": "renderText"; "required": false; }; "textLayerMode": { "alias": "textLayerMode"; "required": false; }; "showBorders": { "alias": "showBorders"; "required": false; }; "stickToPage": { "alias": "stickToPage"; "required": false; }; "originalSize": { "alias": "originalSize"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "zoomScale": { "alias": "zoomScale"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "autoReSize": { "alias": "autoReSize"; "required": false; }; "externalLinkTarget": { "alias": "externalLinkTarget"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "change": "change"; }, never, never,
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "pdf", ["pdf"], { "src": { "alias": "src"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "renderText": { "alias": "renderText"; "required": false; }; "textLayerMode": { "alias": "textLayerMode"; "required": false; }; "showBorders": { "alias": "showBorders"; "required": false; }; "stickToPage": { "alias": "stickToPage"; "required": false; }; "originalSize": { "alias": "originalSize"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "zoomScale": { "alias": "zoomScale"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "autoReSize": { "alias": "autoReSize"; "required": false; }; "externalLinkTarget": { "alias": "externalLinkTarget"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
89
|
+
static ngAcceptInputType_pi: unknown;
|
|
90
|
+
static ngAcceptInputType_showAll: unknown;
|
|
91
|
+
static ngAcceptInputType_renderText: unknown;
|
|
92
|
+
static ngAcceptInputType_showBorders: unknown;
|
|
93
|
+
static ngAcceptInputType_stickToPage: unknown;
|
|
94
|
+
static ngAcceptInputType_originalSize: unknown;
|
|
95
|
+
static ngAcceptInputType_fitToPage: unknown;
|
|
96
|
+
static ngAcceptInputType_zoom: unknown;
|
|
97
|
+
static ngAcceptInputType_rotation: unknown;
|
|
98
|
+
static ngAcceptInputType_autoReSize: unknown;
|
|
99
|
+
static ngAcceptInputType_delay: unknown;
|
|
100
100
|
}
|
|
101
101
|
export {};
|
package/pdf/pdf.module.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "ng-zorro-antd/skeleton";
|
|
4
|
+
import * as i3 from "./pdf.component";
|
|
5
5
|
export declare class PdfModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PdfModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PdfModule, never, [typeof i1.CommonModule, typeof i2.NzSkeletonModule, typeof i3.PdfComponent], [typeof i3.PdfComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<PdfModule>;
|
|
9
9
|
}
|
package/pdf/pdf.types.d.ts
CHANGED
package/qr/qr.component.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Platform } from '@angular/cdk/platform';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
|
|
3
3
|
import { AlainConfigService } from '@delon/util/config';
|
|
4
|
-
import { NumberInput } from '@delon/util/decorator';
|
|
5
4
|
import { LazyService } from '@delon/util/other';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
@@ -11,9 +10,6 @@ export declare class QRComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
11
10
|
private cdr;
|
|
12
11
|
private lazySrv;
|
|
13
12
|
private platform;
|
|
14
|
-
static ngAcceptInputType_padding: NumberInput;
|
|
15
|
-
static ngAcceptInputType_size: NumberInput;
|
|
16
|
-
static ngAcceptInputType_delay: NumberInput;
|
|
17
13
|
private lazy$?;
|
|
18
14
|
private qr;
|
|
19
15
|
private cog;
|
|
@@ -40,4 +36,7 @@ export declare class QRComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
40
36
|
ngOnDestroy(): void;
|
|
41
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<QRComponent, never>;
|
|
42
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<QRComponent, "qr", ["qr"], { "background": { "alias": "background"; "required": false; }; "backgroundAlpha": { "alias": "backgroundAlpha"; "required": false; }; "foreground": { "alias": "foreground"; "required": false; }; "foregroundAlpha": { "alias": "foregroundAlpha"; "required": false; }; "level": { "alias": "level"; "required": false; }; "mime": { "alias": "mime"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
|
|
39
|
+
static ngAcceptInputType_padding: unknown;
|
|
40
|
+
static ngAcceptInputType_size: unknown;
|
|
41
|
+
static ngAcceptInputType_delay: unknown;
|
|
43
42
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class QuickMenuComponent implements OnInit, OnChanges {
|
|
5
|
-
private cdr;
|
|
6
|
-
private el;
|
|
7
|
-
private render;
|
|
8
|
-
static ngAcceptInputType_top: NumberInput;
|
|
9
|
-
static ngAcceptInputType_width: NumberInput;
|
|
10
|
-
static ngAcceptInputType_expand: BooleanInput;
|
|
11
|
-
constructor(cdr: ChangeDetectorRef, el: ElementRef, render: Renderer2);
|
|
4
|
+
private readonly cdr;
|
|
5
|
+
private readonly el;
|
|
6
|
+
private readonly render;
|
|
12
7
|
ctrlStyle: {
|
|
13
8
|
[key: string]: string | undefined;
|
|
14
9
|
};
|
|
@@ -26,5 +21,8 @@ export declare class QuickMenuComponent implements OnInit, OnChanges {
|
|
|
26
21
|
ngOnInit(): void;
|
|
27
22
|
ngOnChanges(): void;
|
|
28
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuickMenuComponent, "quick-menu", ["quickMenu"], { "icon": { "alias": "icon"; "required": false; }; "top": { "alias": "top"; "required": false; }; "width": { "alias": "width"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "expandChange": "expandChange"; }, never, ["*"],
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickMenuComponent, "quick-menu", ["quickMenu"], { "icon": { "alias": "icon"; "required": false; }; "top": { "alias": "top"; "required": false; }; "width": { "alias": "width"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "expandChange": "expandChange"; }, never, ["*"], true, never>;
|
|
25
|
+
static ngAcceptInputType_top: unknown;
|
|
26
|
+
static ngAcceptInputType_width: unknown;
|
|
27
|
+
static ngAcceptInputType_expand: unknown;
|
|
30
28
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "ng-zorro-antd/
|
|
5
|
-
import * as i4 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "ng-zorro-antd/icon";
|
|
4
|
+
import * as i3 from "ng-zorro-antd/core/outlet";
|
|
5
|
+
import * as i4 from "./quick-menu.component";
|
|
6
6
|
export declare class QuickMenuModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<QuickMenuModule, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QuickMenuModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.QuickMenuComponent], [typeof i4.QuickMenuComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<QuickMenuModule>;
|
|
10
10
|
}
|