@delon/abc 20.1.1 → 21.0.0-next.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.
Files changed (97) hide show
  1. package/fesm2022/auto-focus.mjs +10 -10
  2. package/fesm2022/auto-focus.mjs.map +1 -1
  3. package/fesm2022/cell.mjs +23 -25
  4. package/fesm2022/cell.mjs.map +1 -1
  5. package/fesm2022/chart-observer-size.mjs +21 -34
  6. package/fesm2022/chart-observer-size.mjs.map +1 -1
  7. package/fesm2022/count-down.mjs +24 -31
  8. package/fesm2022/count-down.mjs.map +1 -1
  9. package/fesm2022/date-picker.mjs +89 -85
  10. package/fesm2022/date-picker.mjs.map +1 -1
  11. package/fesm2022/down-file.mjs +23 -43
  12. package/fesm2022/down-file.mjs.map +1 -1
  13. package/fesm2022/ellipsis.mjs +163 -104
  14. package/fesm2022/ellipsis.mjs.map +1 -1
  15. package/fesm2022/error-collect.mjs +11 -13
  16. package/fesm2022/error-collect.mjs.map +1 -1
  17. package/fesm2022/exception.mjs +9 -9
  18. package/fesm2022/exception.mjs.map +1 -1
  19. package/fesm2022/footer-toolbar.mjs +9 -9
  20. package/fesm2022/footer-toolbar.mjs.map +1 -1
  21. package/fesm2022/full-content.mjs +50 -58
  22. package/fesm2022/full-content.mjs.map +1 -1
  23. package/fesm2022/global-footer.mjs +14 -15
  24. package/fesm2022/global-footer.mjs.map +1 -1
  25. package/fesm2022/hotkey.mjs +7 -7
  26. package/fesm2022/hotkey.mjs.map +1 -1
  27. package/fesm2022/loading.mjs +61 -14
  28. package/fesm2022/loading.mjs.map +1 -1
  29. package/fesm2022/lodop.mjs +7 -7
  30. package/fesm2022/media.mjs +37 -61
  31. package/fesm2022/media.mjs.map +1 -1
  32. package/fesm2022/notice-icon.mjs +220 -25
  33. package/fesm2022/notice-icon.mjs.map +1 -1
  34. package/fesm2022/onboarding.mjs +160 -62
  35. package/fesm2022/onboarding.mjs.map +1 -1
  36. package/fesm2022/page-header.mjs +252 -155
  37. package/fesm2022/page-header.mjs.map +1 -1
  38. package/fesm2022/pdf.mjs +7 -7
  39. package/fesm2022/pdf.mjs.map +1 -1
  40. package/fesm2022/quick-menu.mjs +79 -71
  41. package/fesm2022/quick-menu.mjs.map +1 -1
  42. package/fesm2022/reuse-tab.mjs +257 -160
  43. package/fesm2022/reuse-tab.mjs.map +1 -1
  44. package/fesm2022/se.mjs +289 -309
  45. package/fesm2022/se.mjs.map +1 -1
  46. package/fesm2022/sg.mjs +32 -69
  47. package/fesm2022/sg.mjs.map +1 -1
  48. package/fesm2022/st.mjs +93 -84
  49. package/fesm2022/st.mjs.map +1 -1
  50. package/fesm2022/sv.mjs +185 -174
  51. package/fesm2022/sv.mjs.map +1 -1
  52. package/fesm2022/tag-select.mjs +44 -25
  53. package/fesm2022/tag-select.mjs.map +1 -1
  54. package/fesm2022/xlsx.mjs +14 -17
  55. package/fesm2022/xlsx.mjs.map +1 -1
  56. package/fesm2022/zip.mjs +4 -4
  57. package/fesm2022/zip.mjs.map +1 -1
  58. package/package.json +37 -37
  59. package/{auto-focus/index.d.ts → types/auto-focus.d.ts} +2 -2
  60. package/{cell/index.d.ts → types/cell.d.ts} +12 -13
  61. package/{observers/index.d.ts → types/chart-observer-size.d.ts} +5 -9
  62. package/{count-down/index.d.ts → types/count-down.d.ts} +6 -10
  63. package/{date-picker/index.d.ts → types/date-picker.d.ts} +6 -10
  64. package/types/down-file.d.ts +32 -0
  65. package/types/ellipsis.d.ts +46 -0
  66. package/types/error-collect.d.ts +34 -0
  67. package/{exception/index.d.ts → types/exception.d.ts} +13 -13
  68. package/{footer-toolbar/index.d.ts → types/footer-toolbar.d.ts} +2 -2
  69. package/{full-content/index.d.ts → types/full-content.d.ts} +8 -13
  70. package/{global-footer/index.d.ts → types/global-footer.d.ts} +7 -7
  71. package/{loading/index.d.ts → types/loading.d.ts} +1 -0
  72. package/{media/index.d.ts → types/media.d.ts} +10 -16
  73. package/{notice-icon/index.d.ts → types/notice-icon.d.ts} +15 -15
  74. package/{onboarding/index.d.ts → types/onboarding.d.ts} +12 -14
  75. package/types/page-header.d.ts +67 -0
  76. package/types/quick-menu.d.ts +31 -0
  77. package/{reuse-tab/index.d.ts → types/reuse-tab.d.ts} +46 -55
  78. package/types/se.d.ts +101 -0
  79. package/types/sg.d.ts +31 -0
  80. package/{st/index.d.ts → types/st.d.ts} +10 -2
  81. package/types/sv.d.ts +81 -0
  82. package/types/tag-select.d.ts +25 -0
  83. package/{xlsx/index.d.ts → types/xlsx.d.ts} +3 -3
  84. package/down-file/index.d.ts +0 -34
  85. package/ellipsis/index.d.ts +0 -55
  86. package/error-collect/index.d.ts +0 -35
  87. package/page-header/index.d.ts +0 -83
  88. package/quick-menu/index.d.ts +0 -38
  89. package/se/index.d.ts +0 -129
  90. package/sg/index.d.ts +0 -44
  91. package/sv/index.d.ts +0 -96
  92. package/tag-select/index.d.ts +0 -27
  93. /package/{index.d.ts → types/abc.d.ts} +0 -0
  94. /package/{hotkey/index.d.ts → types/hotkey.d.ts} +0 -0
  95. /package/{lodop/index.d.ts → types/lodop.d.ts} +0 -0
  96. /package/{pdf/index.d.ts → types/pdf.d.ts} +0 -0
  97. /package/{zip/index.d.ts → types/zip.d.ts} +0 -0
@@ -7,7 +7,7 @@ import { ThemeType } from '@ant-design/icons-angular';
7
7
  import { CellOptions } from '@delon/abc/cell';
8
8
  import { ACLCanType } from '@delon/acl';
9
9
  import * as _delon_theme from '@delon/theme';
10
- import { ModalHelperOptions, DrawerHelperOptions, YNMode, _HttpClient, DatePipe, YNPipe } from '@delon/theme';
10
+ import { ModalHelperOptions, DrawerHelperOptions, YNMode, STLocaleData, _HttpClient, DatePipe, YNPipe } from '@delon/theme';
11
11
  import { CurrencyFormatOptions, CurrencyService } from '@delon/util/format';
12
12
  import { NgClassType, NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';
13
13
  import { DisabledTimeFn } from 'ng-zorro-antd/date-picker';
@@ -307,12 +307,14 @@ declare class STComponent implements AfterViewInit, OnChanges {
307
307
  _handleFilter(col: _STColumn, confirm: boolean): void;
308
308
  handleFilterNotify(value?: unknown): void;
309
309
  clearFilter(): this;
310
+ checkList: STData[];
310
311
  /** 清除所有 `checkbox` */
311
312
  clearCheck(): this;
312
313
  private _refCheck;
313
314
  checkAll(checked?: boolean): this;
314
315
  _rowSelection(row: STColumnSelection): this;
315
316
  _checkNotify(): this;
317
+ _restoreCheck(): void;
316
318
  /** 清除所有 `radio` */
317
319
  clearRadio(): this;
318
320
  _handleTd(ev: _STTdNotify): void;
@@ -525,6 +527,10 @@ interface STPage {
525
527
  * 返回顶部偏移值,默认:`100`
526
528
  */
527
529
  toTopOffset?: number;
530
+ /**
531
+ * 缓存 checkbox 列表的标识列
532
+ */
533
+ checkboxIdMap?: string;
528
534
  }
529
535
  /**
530
536
  * 数据源
@@ -1090,7 +1096,7 @@ interface STColumnButton<T extends STData = any> {
1090
1096
  * 下拉菜单,当存在时以 `dropdown` 形式渲染
1091
1097
  * - 只支持一级
1092
1098
  */
1093
- children?: Array<STColumnButton<T>>;
1099
+ children?: Array<STColumnButton<T>> | null;
1094
1100
  /**
1095
1101
  * 权限,等同 [ACLCanType](https://ng-alain.com/acl/getting-started/#ACLCanType) 参数值
1096
1102
  */
@@ -1597,6 +1603,7 @@ interface STDataSourceOptions {
1597
1603
  multiSort?: STMultiSort;
1598
1604
  rowClassName?: STRowClassName | null;
1599
1605
  customRequest?: (options: STCustomRequestOptions) => Observable<NzSafeAny>;
1606
+ locale: STLocaleData;
1600
1607
  }
1601
1608
  interface STDataSourceResult {
1602
1609
  /** 是否需要显示分页器 */
@@ -1631,6 +1638,7 @@ declare class STDataSource {
1631
1638
  columns: _STColumn[];
1632
1639
  result: STData[];
1633
1640
  rowClassName?: STRowClassName | null;
1641
+ locale: STLocaleData;
1634
1642
  }): STData[];
1635
1643
  getNoIndex(item: STData, col: _STColumn, idx: number): number;
1636
1644
  private genButtons;
package/types/sv.d.ts ADDED
@@ -0,0 +1,81 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef } from '@angular/core';
3
+ import { REP_TYPE } from '@delon/theme';
4
+ import { NzTSType } from 'ng-zorro-antd/core/types';
5
+ import * as i1 from '@angular/common';
6
+ import * as i2 from '@angular/cdk/observers';
7
+ import * as i3 from 'ng-zorro-antd/tooltip';
8
+ import * as i4 from 'ng-zorro-antd/icon';
9
+ import * as i5 from 'ng-zorro-antd/core/outlet';
10
+
11
+ declare class SVTitleComponent {
12
+ private readonly parentComp;
13
+ protected paddingValue: _angular_core.Signal<number>;
14
+ constructor();
15
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SVTitleComponent, never>;
16
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SVTitleComponent, "sv-title, [sv-title]", ["svTitle"], {}, {}, never, ["*"], true, never>;
17
+ }
18
+ declare class SVContainerComponent {
19
+ readonly colInCon: _angular_core.InputSignalWithTransform<REP_TYPE | null, unknown>;
20
+ readonly title: _angular_core.InputSignal<string | TemplateRef<void> | undefined>;
21
+ readonly size: _angular_core.InputSignal<"small" | "large" | "default">;
22
+ /** 列表项间距,单位为 `px` */
23
+ readonly gutter: _angular_core.InputSignalWithTransform<number, unknown>;
24
+ readonly layout: _angular_core.InputSignal<"horizontal" | "vertical">;
25
+ readonly labelWidth: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
26
+ /** 指定信息最多分几列展示,最终一行几列由 col 配置结合响应式规则决定 */
27
+ readonly col: _angular_core.InputSignalWithTransform<number, unknown>;
28
+ readonly default: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
+ readonly noColon: _angular_core.InputSignalWithTransform<boolean, unknown>;
30
+ readonly bordered: _angular_core.InputSignalWithTransform<boolean, unknown>;
31
+ protected margin: _angular_core.Signal<{
32
+ 'margin-left'?: undefined;
33
+ 'margin-right'?: undefined;
34
+ } | {
35
+ 'margin-left': string;
36
+ 'margin-right': string;
37
+ }>;
38
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SVContainerComponent, never>;
39
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SVContainerComponent, "sv-container, [sv-container]", ["svContainer"], { "colInCon": { "alias": "sv-container"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "gutter": { "alias": "gutter"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "labelWidth": { "alias": "labelWidth"; "required": false; "isSignal": true; }; "col": { "alias": "col"; "required": false; "isSignal": true; }; "default": { "alias": "default"; "required": false; "isSignal": true; }; "noColon": { "alias": "noColon"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
40
+ }
41
+
42
+ declare class SVValueComponent {
43
+ prefix?: string;
44
+ unit?: string;
45
+ tooltip?: NzTSType | null;
46
+ size: 'large' | 'small' | 'default';
47
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SVValueComponent, never>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SVValueComponent, "sv-value, [sv-value]", ["svValue"], { "prefix": { "alias": "prefix"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
49
+ }
50
+
51
+ declare class SVComponent {
52
+ private readonly parentComp;
53
+ private readonly rep;
54
+ private readonly conEl;
55
+ protected _noColon: _angular_core.Signal<boolean>;
56
+ readonly optional: _angular_core.InputSignal<string | TemplateRef<void> | null | undefined>;
57
+ readonly optionalHelp: _angular_core.InputSignal<string | TemplateRef<void> | null | undefined>;
58
+ readonly optionalHelpColor: _angular_core.InputSignal<string | undefined>;
59
+ readonly label: _angular_core.InputSignal<string | TemplateRef<void> | null | undefined>;
60
+ readonly unit: _angular_core.InputSignal<string | TemplateRef<void> | null | undefined>;
61
+ readonly col: _angular_core.InputSignalWithTransform<number | null, unknown>;
62
+ readonly default: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
63
+ readonly type: _angular_core.InputSignal<"primary" | "success" | "danger" | "warning" | null | undefined>;
64
+ readonly noColon: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
65
+ readonly hideLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
66
+ protected paddingValue: _angular_core.Signal<number | null>;
67
+ protected labelWidth: _angular_core.Signal<number | null | undefined>;
68
+ protected cls: _angular_core.Signal<string[]>;
69
+ constructor();
70
+ checkContent(): void;
71
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SVComponent, never>;
72
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SVComponent, "sv, [sv]", ["sv"], { "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; "isSignal": true; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "col": { "alias": "col"; "required": false; "isSignal": true; }; "default": { "alias": "default"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "noColon": { "alias": "noColon"; "required": false; "isSignal": true; }; "hideLabel": { "alias": "hideLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
73
+ }
74
+
75
+ declare class SVModule {
76
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SVModule, never>;
77
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<SVModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzTooltipModule, typeof i4.NzIconModule, typeof i5.NzOutletModule, typeof SVContainerComponent, typeof SVComponent, typeof SVTitleComponent, typeof SVValueComponent], [typeof SVContainerComponent, typeof SVComponent, typeof SVTitleComponent, typeof SVValueComponent]>;
78
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<SVModule>;
79
+ }
80
+
81
+ export { SVComponent, SVContainerComponent, SVModule, SVTitleComponent, SVValueComponent };
@@ -0,0 +1,25 @@
1
+ import * as _angular_cdk_bidi from '@angular/cdk/bidi';
2
+ import * as _angular_core from '@angular/core';
3
+ import * as _delon_theme from '@delon/theme';
4
+ import * as i1 from '@angular/common';
5
+ import * as i2 from 'ng-zorro-antd/icon';
6
+
7
+ declare class TagSelectComponent {
8
+ protected locale: _angular_core.Signal<_delon_theme.TagSelectLocaleData>;
9
+ protected dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
10
+ expand: _angular_core.WritableSignal<boolean>;
11
+ /** 是否启用 `展开与收进` */
12
+ readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
13
+ readonly change: _angular_core.OutputEmitterRef<boolean>;
14
+ trigger(): void;
15
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagSelectComponent, never>;
16
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["*"], true, never>;
17
+ }
18
+
19
+ declare class TagSelectModule {
20
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagSelectModule, never>;
21
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TagSelectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof _delon_theme.DelonLocaleModule, typeof TagSelectComponent], [typeof TagSelectComponent]>;
22
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<TagSelectModule>;
23
+ }
24
+
25
+ export { TagSelectComponent, TagSelectModule };
@@ -55,10 +55,10 @@ declare class XlsxService {
55
55
 
56
56
  declare class XlsxDirective {
57
57
  private readonly srv;
58
- data: XlsxExportOptions;
59
- _click(): void;
58
+ readonly xlsx: i0.InputSignal<XlsxExportOptions>;
59
+ protected _click(): void;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<XlsxDirective, never>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<XlsxDirective, "[xlsx]", ["xlsx"], { "data": { "alias": "xlsx"; "required": false; }; }, {}, never, never, true, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<XlsxDirective, "[xlsx]", ["xlsx"], { "xlsx": { "alias": "xlsx"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
62
62
  }
63
63
 
64
64
  declare class XlsxModule {
@@ -1,34 +0,0 @@
1
- import { HttpResponse } from '@angular/common/http';
2
- import * as i0 from '@angular/core';
3
- import { EventEmitter } from '@angular/core';
4
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
5
- import * as i1 from '@angular/common';
6
- import * as i2 from '@delon/theme';
7
-
8
- declare class DownFileDirective {
9
- private readonly el;
10
- private readonly _http;
11
- httpData: NzSafeAny;
12
- httpBody: NzSafeAny;
13
- httpMethod: string;
14
- httpUrl: string;
15
- fileName?: string | ((rep: HttpResponse<Blob>) => string);
16
- pre?: (ev: MouseEvent) => Promise<boolean>;
17
- readonly success: EventEmitter<HttpResponse<Blob>>;
18
- readonly error: EventEmitter<any>;
19
- private getDisposition;
20
- private isFileSaverSupported;
21
- constructor();
22
- private setDisabled;
23
- _click(ev: MouseEvent): Promise<void>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<DownFileDirective, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<DownFileDirective, "[down-file]", ["downFile"], { "httpData": { "alias": "http-data"; "required": false; }; "httpBody": { "alias": "http-body"; "required": false; }; "httpMethod": { "alias": "http-method"; "required": false; }; "httpUrl": { "alias": "http-url"; "required": true; }; "fileName": { "alias": "file-name"; "required": false; }; "pre": { "alias": "pre"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
26
- }
27
-
28
- declare class DownFileModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<DownFileModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<DownFileModule, never, [typeof i1.CommonModule, typeof i2.AlainThemeModule, typeof DownFileDirective], [typeof DownFileDirective]>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<DownFileModule>;
32
- }
33
-
34
- export { DownFileDirective, DownFileModule };
@@ -1,55 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { AfterViewInit, OnChanges } from '@angular/core';
3
- import { SafeHtml } from '@angular/platform-browser';
4
- import * as i1 from '@angular/common';
5
- import * as i2 from '@angular/cdk/observers';
6
- import * as i3 from 'ng-zorro-antd/tooltip';
7
-
8
- declare class EllipsisComponent implements AfterViewInit, OnChanges {
9
- private readonly el;
10
- private readonly ngZone;
11
- private readonly dom;
12
- private readonly doc;
13
- private readonly cdr;
14
- private isSupportLineClamp;
15
- private orgEl;
16
- private shadowOrgEl;
17
- private shadowTextEl;
18
- private inited;
19
- orgHtml: SafeHtml;
20
- type: string;
21
- cls: {};
22
- text: string;
23
- targetCount: number;
24
- tooltip: boolean;
25
- length?: number;
26
- lines?: number;
27
- fullWidthRecognition: boolean;
28
- tail: string;
29
- get linsWord(): string;
30
- private get win();
31
- private getStrFullLength;
32
- private cutStrByFullLength;
33
- private bisection;
34
- private genType;
35
- private gen;
36
- private getEl;
37
- private executeOnStable;
38
- refresh(): void;
39
- ngAfterViewInit(): void;
40
- ngOnChanges(): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<EllipsisComponent, "ellipsis", ["ellipsis"], { "tooltip": { "alias": "tooltip"; "required": false; }; "length": { "alias": "length"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "fullWidthRecognition": { "alias": "fullWidthRecognition"; "required": false; }; "tail": { "alias": "tail"; "required": false; }; }, {}, never, ["*"], true, never>;
43
- static ngAcceptInputType_tooltip: unknown;
44
- static ngAcceptInputType_length: unknown;
45
- static ngAcceptInputType_lines: unknown;
46
- static ngAcceptInputType_fullWidthRecognition: unknown;
47
- }
48
-
49
- declare class EllipsisModule {
50
- static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzTooltipModule, typeof EllipsisComponent], [typeof EllipsisComponent]>;
52
- static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
53
- }
54
-
55
- export { EllipsisComponent, EllipsisModule };
@@ -1,35 +0,0 @@
1
- import * as _angular_cdk_bidi from '@angular/cdk/bidi';
2
- import * as _angular_core from '@angular/core';
3
- import { OnInit } from '@angular/core';
4
- import * as i1 from '@angular/common';
5
- import * as i2 from 'ng-zorro-antd/icon';
6
-
7
- declare class ErrorCollectComponent implements OnInit {
8
- private readonly el;
9
- private readonly doc;
10
- private readonly platform;
11
- private readonly destroy$;
12
- private readonly cogSrv;
13
- private formEl;
14
- _hiden: _angular_core.WritableSignal<boolean>;
15
- count: _angular_core.WritableSignal<number>;
16
- dir: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
17
- readonly freq: _angular_core.InputSignalWithTransform<number, unknown>;
18
- readonly offsetTop: _angular_core.InputSignalWithTransform<number, unknown>;
19
- constructor();
20
- private get errEls();
21
- private update;
22
- _click(): boolean;
23
- private findParent;
24
- ngOnInit(): void;
25
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorCollectComponent, never>;
26
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ErrorCollectComponent, "error-collect, [error-collect]", ["errorCollect"], { "freq": { "alias": "freq"; "required": false; "isSignal": true; }; "offsetTop": { "alias": "offsetTop"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
- }
28
-
29
- declare class ErrorCollectModule {
30
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorCollectModule, never>;
31
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<ErrorCollectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof ErrorCollectComponent], [typeof ErrorCollectComponent]>;
32
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<ErrorCollectModule>;
33
- }
34
-
35
- export { ErrorCollectComponent, ErrorCollectModule };
@@ -1,83 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, AfterViewInit, TemplateRef } from '@angular/core';
3
- import * as _angular_cdk_bidi from '@angular/cdk/bidi';
4
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
5
- import * as i1 from '@angular/common';
6
- import * as i2 from '@angular/router';
7
- import * as i3 from '@angular/cdk/observers';
8
- import * as i4 from 'ng-zorro-antd/affix';
9
- import * as i5 from 'ng-zorro-antd/skeleton';
10
- import * as i6 from 'ng-zorro-antd/breadcrumb';
11
- import * as i7 from 'ng-zorro-antd/core/outlet';
12
-
13
- interface PageHeaderPath {
14
- title?: string;
15
- link?: string[];
16
- }
17
- declare class PageHeaderComponent implements OnInit, OnChanges, AfterViewInit {
18
- private readonly renderer;
19
- private readonly router;
20
- private readonly cdr;
21
- private readonly menuSrv;
22
- private readonly i18nSrv;
23
- private readonly titleSrv;
24
- private readonly reuseSrv;
25
- private readonly settings;
26
- private readonly platform;
27
- private readonly cogSrv;
28
- private conTpl;
29
- private affix;
30
- inited: boolean;
31
- isBrowser: boolean;
32
- dir: i0.WritableSignal<_angular_cdk_bidi.Direction>;
33
- private get menus();
34
- _titleVal: string | null;
35
- paths: PageHeaderPath[];
36
- _title: string | null;
37
- _titleTpl: TemplateRef<NzSafeAny> | null;
38
- set title(value: string | TemplateRef<void> | null);
39
- titleSub?: string | TemplateRef<void> | null;
40
- loading: boolean;
41
- wide: boolean;
42
- home?: string;
43
- homeLink?: string;
44
- homeI18n?: string;
45
- autoBreadcrumb: boolean;
46
- autoTitle: boolean;
47
- syncTitle: boolean;
48
- fixed: boolean;
49
- fixedOffsetTop: number;
50
- breadcrumb?: TemplateRef<NzSafeAny> | null;
51
- recursiveBreadcrumb: boolean;
52
- logo?: TemplateRef<void> | null;
53
- action?: TemplateRef<void> | null;
54
- content?: TemplateRef<void> | null;
55
- extra?: TemplateRef<void> | null;
56
- tab?: TemplateRef<void> | null;
57
- constructor();
58
- refresh(): void;
59
- private genBreadcrumb;
60
- private setTitle;
61
- checkContent(): void;
62
- ngOnInit(): void;
63
- ngAfterViewInit(): void;
64
- ngOnChanges(): void;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
66
- 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>;
67
- static ngAcceptInputType_loading: unknown;
68
- static ngAcceptInputType_wide: unknown;
69
- static ngAcceptInputType_autoBreadcrumb: unknown;
70
- static ngAcceptInputType_autoTitle: unknown;
71
- static ngAcceptInputType_syncTitle: unknown;
72
- static ngAcceptInputType_fixed: unknown;
73
- static ngAcceptInputType_fixedOffsetTop: unknown;
74
- static ngAcceptInputType_recursiveBreadcrumb: unknown;
75
- }
76
-
77
- declare class PageHeaderModule {
78
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
79
- 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 PageHeaderComponent], [typeof PageHeaderComponent]>;
80
- static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
81
- }
82
-
83
- export { PageHeaderComponent, PageHeaderModule };
@@ -1,38 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, OnChanges, TemplateRef, EventEmitter } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import * as i2 from 'ng-zorro-antd/icon';
5
- import * as i3 from 'ng-zorro-antd/core/outlet';
6
-
7
- declare class QuickMenuComponent implements OnInit, OnChanges {
8
- private readonly cdr;
9
- private readonly el;
10
- private readonly render;
11
- ctrlStyle: Record<string, string | undefined>;
12
- icon: string | TemplateRef<void>;
13
- top: number;
14
- width: number;
15
- bgColor?: string;
16
- borderColor?: string;
17
- expand: boolean;
18
- readonly expandChange: EventEmitter<boolean>;
19
- private show;
20
- private initFlag;
21
- _click(): void;
22
- private setStyle;
23
- ngOnInit(): void;
24
- ngOnChanges(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuComponent, never>;
26
- 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>;
27
- static ngAcceptInputType_top: unknown;
28
- static ngAcceptInputType_width: unknown;
29
- static ngAcceptInputType_expand: unknown;
30
- }
31
-
32
- declare class QuickMenuModule {
33
- static ɵfac: i0.ɵɵFactoryDeclaration<QuickMenuModule, never>;
34
- static ɵmod: i0.ɵɵNgModuleDeclaration<QuickMenuModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof QuickMenuComponent], [typeof QuickMenuComponent]>;
35
- static ɵinj: i0.ɵɵInjectorDeclaration<QuickMenuModule>;
36
- }
37
-
38
- export { QuickMenuComponent, QuickMenuModule };
package/se/index.d.ts DELETED
@@ -1,129 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { TemplateRef, OnInit, OnChanges, AfterContentInit, AfterViewInit } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { REP_TYPE } from '@delon/theme';
5
- import * as i1 from '@angular/common';
6
- import * as i2 from 'ng-zorro-antd/tooltip';
7
- import * as i3 from 'ng-zorro-antd/icon';
8
- import * as i4 from 'ng-zorro-antd/core/outlet';
9
-
10
- type SELayout = 'horizontal' | 'vertical' | 'inline';
11
- type SESize = 'default' | 'compact';
12
- type SEErrorType = string | TemplateRef<void> | SEError;
13
- type SEError = Record<string, string | TemplateRef<void>>;
14
- interface SEErrorRefresh {
15
- name: string;
16
- error: SEErrorType;
17
- }
18
-
19
- declare class SETitleComponent implements OnInit {
20
- private readonly parentComp;
21
- private readonly el;
22
- private readonly ren;
23
- constructor();
24
- private setClass;
25
- ngOnInit(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<SETitleComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<SETitleComponent, "se-title, [se-title]", ["seTitle"], {}, {}, never, ["*"], true, never>;
28
- }
29
- declare class SEContainerComponent {
30
- private readonly cogSrv;
31
- private errorNotify$;
32
- colInCon?: REP_TYPE;
33
- col: REP_TYPE;
34
- labelWidth: number;
35
- noColon: boolean;
36
- title?: string | TemplateRef<void> | null;
37
- get gutter(): number;
38
- set gutter(value: number);
39
- private _gutter;
40
- get nzLayout(): SELayout;
41
- set nzLayout(value: SELayout);
42
- private _nzLayout;
43
- size: 'default' | 'compact';
44
- firstVisual: boolean;
45
- ingoreDirty: boolean;
46
- line: boolean;
47
- set errors(val: SEErrorRefresh[]);
48
- get margin(): number;
49
- get errorNotify(): Observable<SEErrorRefresh>;
50
- constructor();
51
- setErrors(errors: SEErrorRefresh[]): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<SEContainerComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<SEContainerComponent, "se-container, [se-container]", ["seContainer"], { "colInCon": { "alias": "se-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "nzLayout": { "alias": "nzLayout"; "required": false; }; "size": { "alias": "size"; "required": false; }; "firstVisual": { "alias": "firstVisual"; "required": false; }; "ingoreDirty": { "alias": "ingoreDirty"; "required": false; }; "line": { "alias": "line"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], true, never>;
54
- static ngAcceptInputType_colInCon: unknown;
55
- static ngAcceptInputType_col: unknown;
56
- static ngAcceptInputType_labelWidth: unknown;
57
- static ngAcceptInputType_noColon: unknown;
58
- static ngAcceptInputType_gutter: unknown;
59
- static ngAcceptInputType_firstVisual: unknown;
60
- static ngAcceptInputType_ingoreDirty: unknown;
61
- static ngAcceptInputType_line: unknown;
62
- }
63
-
64
- declare class SEComponent implements OnChanges, AfterContentInit, AfterViewInit {
65
- private readonly parentComp;
66
- private readonly el;
67
- private readonly rep;
68
- private readonly ren;
69
- private readonly cdr;
70
- private readonly statusSrv;
71
- private readonly destroy$;
72
- private readonly ngModel?;
73
- private readonly formControlName?;
74
- private readonly contentElement;
75
- private clsMap;
76
- private inited;
77
- private onceFlag;
78
- private errorData;
79
- private isBindModel;
80
- invalid: boolean;
81
- _labelWidth: number | null;
82
- _noColon: boolean | null;
83
- _error?: string | TemplateRef<void>;
84
- optional?: string | TemplateRef<void> | null;
85
- optionalHelp?: string | TemplateRef<void> | null;
86
- optionalHelpColor?: string;
87
- set error(val: SEErrorType);
88
- extra?: string | TemplateRef<void> | null;
89
- label?: string | TemplateRef<void> | null;
90
- col?: number | null;
91
- required: boolean;
92
- controlClass?: string | null;
93
- line?: boolean | null;
94
- labelWidth?: number | null;
95
- noColon?: boolean | null;
96
- hideLabel: boolean;
97
- set id(value: string);
98
- _id: string;
99
- _autoId: boolean;
100
- get paddingValue(): number;
101
- get showErr(): boolean;
102
- get compact(): boolean;
103
- private get ngControl();
104
- constructor();
105
- private setClass;
106
- private bindModel;
107
- private updateStatus;
108
- checkContent(): void;
109
- ngAfterContentInit(): void;
110
- ngOnChanges(): void;
111
- ngAfterViewInit(): void;
112
- static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent, never>;
113
- static ɵcmp: i0.ɵɵComponentDeclaration<SEComponent, "se", ["se"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "error": { "alias": "error"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "label": { "alias": "label"; "required": false; }; "col": { "alias": "col"; "required": false; }; "required": { "alias": "required"; "required": false; }; "controlClass": { "alias": "controlClass"; "required": false; }; "line": { "alias": "line"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["ngModel", "formControlName"], ["*"], true, never>;
114
- static ngAcceptInputType_col: unknown;
115
- static ngAcceptInputType_required: unknown;
116
- static ngAcceptInputType_line: unknown;
117
- static ngAcceptInputType_labelWidth: unknown;
118
- static ngAcceptInputType_noColon: unknown;
119
- static ngAcceptInputType_hideLabel: unknown;
120
- }
121
-
122
- declare class SEModule {
123
- static ɵfac: i0.ɵɵFactoryDeclaration<SEModule, never>;
124
- static ɵmod: i0.ɵɵNgModuleDeclaration<SEModule, never, [typeof i1.CommonModule, typeof i2.NzTooltipModule, typeof i3.NzIconModule, typeof i4.NzOutletModule, typeof SEContainerComponent, typeof SEComponent, typeof SETitleComponent], [typeof SEContainerComponent, typeof SEComponent, typeof SETitleComponent]>;
125
- static ɵinj: i0.ɵɵInjectorDeclaration<SEModule>;
126
- }
127
-
128
- export { SEComponent, SEContainerComponent, SEModule, SETitleComponent };
129
- export type { SEError, SEErrorRefresh, SEErrorType, SELayout, SESize };
package/sg/index.d.ts DELETED
@@ -1,44 +0,0 @@
1
- import { REP_TYPE } from '@delon/theme';
2
- import * as i0 from '@angular/core';
3
- import { OnChanges, AfterViewInit } from '@angular/core';
4
- import * as i1 from '@angular/common';
5
-
6
- declare class SGContainerComponent {
7
- private readonly cogSrv;
8
- gutter: number;
9
- colInCon?: REP_TYPE;
10
- col: REP_TYPE;
11
- get marginValue(): number;
12
- constructor();
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SGContainerComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SGContainerComponent, "sg-container, [sg-container]", ["sgContainer"], { "gutter": { "alias": "gutter"; "required": false; }; "colInCon": { "alias": "sg-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
15
- static ngAcceptInputType_gutter: unknown;
16
- static ngAcceptInputType_colInCon: unknown;
17
- static ngAcceptInputType_col: unknown;
18
- }
19
-
20
- declare class SGComponent implements OnChanges, AfterViewInit {
21
- private readonly el;
22
- private readonly ren;
23
- private readonly rep;
24
- private readonly parentComp;
25
- private clsMap;
26
- private inited;
27
- col: number | null;
28
- get paddingValue(): number;
29
- constructor();
30
- private setClass;
31
- ngOnChanges(): void;
32
- ngAfterViewInit(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<SGComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<SGComponent, "sg", ["sg"], { "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
35
- static ngAcceptInputType_col: unknown;
36
- }
37
-
38
- declare class SGModule {
39
- static ɵfac: i0.ɵɵFactoryDeclaration<SGModule, never>;
40
- static ɵmod: i0.ɵɵNgModuleDeclaration<SGModule, never, [typeof i1.CommonModule, typeof SGContainerComponent, typeof SGComponent], [typeof SGContainerComponent, typeof SGComponent]>;
41
- static ɵinj: i0.ɵɵInjectorDeclaration<SGModule>;
42
- }
43
-
44
- export { SGComponent, SGContainerComponent, SGModule };