@delon/theme 15.2.1 → 16.0.0-beta.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.
Files changed (142) hide show
  1. package/compact.css +5 -14
  2. package/compact.min.css +1 -1
  3. package/dark.css +5 -14
  4. package/dark.min.css +1 -1
  5. package/default.css +5 -14
  6. package/default.min.css +1 -1
  7. package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +17 -0
  8. package/esm2022/layout-default/layout-header-item.component.mjs +34 -0
  9. package/esm2022/layout-default/layout-header.component.mjs +127 -0
  10. package/esm2022/layout-default/layout-nav.component.mjs +295 -0
  11. package/esm2022/layout-default/layout-top-menu-item.mjs +40 -0
  12. package/esm2022/layout-default/layout.component.mjs +163 -0
  13. package/esm2022/layout-default/layout.module.mjs +72 -0
  14. package/esm2022/layout-default/layout.service.mjs +66 -0
  15. package/esm2022/setting-drawer/setting-drawer-item.component.mjs +36 -0
  16. package/esm2022/setting-drawer/setting-drawer.component.mjs +195 -0
  17. package/esm2022/setting-drawer/setting-drawer.module.mjs +67 -0
  18. package/esm2022/src/locale/locale.module.mjs +18 -0
  19. package/esm2022/src/locale/locale.service.mjs +46 -0
  20. package/esm2022/src/pipes/date/date.pipe.mjs +25 -0
  21. package/esm2022/src/pipes/keys/keys.pipe.mjs +22 -0
  22. package/esm2022/src/pipes/safe/html.pipe.mjs +19 -0
  23. package/esm2022/src/pipes/safe/url.pipe.mjs +19 -0
  24. package/esm2022/src/pipes/yn/yn.pipe.mjs +39 -0
  25. package/esm2022/src/services/drawer/drawer.helper.mjs +92 -0
  26. package/esm2022/src/services/http/http.client.mjs +154 -0
  27. package/esm2022/src/services/http/http.decorator.mjs +216 -0
  28. package/esm2022/src/services/i18n/i18n-url.guard.mjs +37 -0
  29. package/esm2022/src/services/i18n/i18n.mjs +98 -0
  30. package/esm2022/src/services/i18n/i18n.pipe.mjs +22 -0
  31. package/esm2022/src/services/menu/menu.service.mjs +302 -0
  32. package/esm2022/src/services/modal/modal.helper.mjs +107 -0
  33. package/esm2022/src/services/responsive/responsive.mjs +47 -0
  34. package/esm2022/src/services/rtl/rtl.service.mjs +102 -0
  35. package/esm2022/src/services/settings/settings.service.mjs +101 -0
  36. package/esm2022/src/services/title/title.service.mjs +147 -0
  37. package/esm2022/src/theme.module.mjs +77 -0
  38. package/{esm2020 → esm2022}/src/version.mjs +1 -1
  39. package/esm2022/theme-btn/theme-btn.component.mjs +110 -0
  40. package/esm2022/theme-btn/theme-btn.module.mjs +33 -0
  41. package/{fesm2020 → fesm2022}/layout-default.mjs +55 -55
  42. package/{fesm2015 → fesm2022}/layout-default.mjs.map +1 -1
  43. package/{fesm2020 → fesm2022}/setting-drawer.mjs +32 -32
  44. package/{fesm2015 → fesm2022}/setting-drawer.mjs.map +1 -1
  45. package/{fesm2020 → fesm2022}/theme-btn.mjs +12 -12
  46. package/fesm2022/theme-btn.mjs.map +1 -0
  47. package/{fesm2020 → fesm2022}/theme.mjs +75 -75
  48. package/{fesm2020 → fesm2022}/theme.mjs.map +1 -1
  49. package/layout-default/layout-header-item.component.d.ts +1 -1
  50. package/layout-default/layout-header.component.d.ts +1 -1
  51. package/layout-default/layout-nav.component.d.ts +1 -1
  52. package/layout-default/layout-top-menu-item.d.ts +1 -1
  53. package/layout-default/layout.component.d.ts +1 -1
  54. package/package.json +20 -34
  55. package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
  56. package/setting-drawer/setting-drawer.component.d.ts +1 -1
  57. package/system/utils/_other.less +1 -4
  58. package/system/widgets/_abs.less +1 -4
  59. package/theme-btn/theme-btn.component.d.ts +1 -1
  60. package/esm2020/layout-default/layout-header-item-trigger.directive.mjs +0 -16
  61. package/esm2020/layout-default/layout-header-item.component.mjs +0 -33
  62. package/esm2020/layout-default/layout-header.component.mjs +0 -126
  63. package/esm2020/layout-default/layout-nav.component.mjs +0 -294
  64. package/esm2020/layout-default/layout-top-menu-item.mjs +0 -39
  65. package/esm2020/layout-default/layout.component.mjs +0 -162
  66. package/esm2020/layout-default/layout.module.mjs +0 -71
  67. package/esm2020/layout-default/layout.service.mjs +0 -65
  68. package/esm2020/setting-drawer/setting-drawer-item.component.mjs +0 -35
  69. package/esm2020/setting-drawer/setting-drawer.component.mjs +0 -194
  70. package/esm2020/setting-drawer/setting-drawer.module.mjs +0 -66
  71. package/esm2020/src/locale/locale.module.mjs +0 -17
  72. package/esm2020/src/locale/locale.service.mjs +0 -45
  73. package/esm2020/src/pipes/date/date.pipe.mjs +0 -24
  74. package/esm2020/src/pipes/keys/keys.pipe.mjs +0 -21
  75. package/esm2020/src/pipes/safe/html.pipe.mjs +0 -18
  76. package/esm2020/src/pipes/safe/url.pipe.mjs +0 -18
  77. package/esm2020/src/pipes/yn/yn.pipe.mjs +0 -38
  78. package/esm2020/src/services/drawer/drawer.helper.mjs +0 -91
  79. package/esm2020/src/services/http/http.client.mjs +0 -153
  80. package/esm2020/src/services/http/http.decorator.mjs +0 -215
  81. package/esm2020/src/services/i18n/i18n-url.guard.mjs +0 -36
  82. package/esm2020/src/services/i18n/i18n.mjs +0 -96
  83. package/esm2020/src/services/i18n/i18n.pipe.mjs +0 -21
  84. package/esm2020/src/services/menu/menu.service.mjs +0 -301
  85. package/esm2020/src/services/modal/modal.helper.mjs +0 -106
  86. package/esm2020/src/services/responsive/responsive.mjs +0 -46
  87. package/esm2020/src/services/rtl/rtl.service.mjs +0 -101
  88. package/esm2020/src/services/settings/settings.service.mjs +0 -100
  89. package/esm2020/src/services/title/title.service.mjs +0 -146
  90. package/esm2020/src/theme.module.mjs +0 -76
  91. package/esm2020/theme-btn/theme-btn.component.mjs +0 -109
  92. package/esm2020/theme-btn/theme-btn.module.mjs +0 -32
  93. package/fesm2015/layout-default.mjs +0 -773
  94. package/fesm2015/setting-drawer.mjs +0 -487
  95. package/fesm2015/theme-btn.mjs +0 -147
  96. package/fesm2015/theme-btn.mjs.map +0 -1
  97. package/fesm2015/theme.mjs +0 -2696
  98. package/fesm2015/theme.mjs.map +0 -1
  99. package/fesm2020/layout-blank.mjs +0 -7
  100. package/fesm2020/layout-blank.mjs.map +0 -1
  101. package/fesm2020/layout-default.mjs.map +0 -1
  102. package/fesm2020/setting-drawer.mjs.map +0 -1
  103. package/fesm2020/theme-btn.mjs.map +0 -1
  104. /package/{esm2020 → esm2022}/layout-blank/layout-blank.mjs +0 -0
  105. /package/{esm2020 → esm2022}/layout-blank/public_api.mjs +0 -0
  106. /package/{esm2020 → esm2022}/layout-default/layout-default.mjs +0 -0
  107. /package/{esm2020 → esm2022}/layout-default/public_api.mjs +0 -0
  108. /package/{esm2020 → esm2022}/layout-default/types.mjs +0 -0
  109. /package/{esm2020 → esm2022}/public_api.mjs +0 -0
  110. /package/{esm2020 → esm2022}/setting-drawer/public_api.mjs +0 -0
  111. /package/{esm2020 → esm2022}/setting-drawer/setting-drawer.mjs +0 -0
  112. /package/{esm2020 → esm2022}/setting-drawer/setting-drawer.types.mjs +0 -0
  113. /package/{esm2020 → esm2022}/src/config.mjs +0 -0
  114. /package/{esm2020 → esm2022}/src/locale/index.mjs +0 -0
  115. /package/{esm2020 → esm2022}/src/locale/languages/el-GR.mjs +0 -0
  116. /package/{esm2020 → esm2022}/src/locale/languages/en-US.mjs +0 -0
  117. /package/{esm2020 → esm2022}/src/locale/languages/es-ES.mjs +0 -0
  118. /package/{esm2020 → esm2022}/src/locale/languages/fr-FR.mjs +0 -0
  119. /package/{esm2020 → esm2022}/src/locale/languages/hr-HR.mjs +0 -0
  120. /package/{esm2020 → esm2022}/src/locale/languages/it-IT.mjs +0 -0
  121. /package/{esm2020 → esm2022}/src/locale/languages/ja-JP.mjs +0 -0
  122. /package/{esm2020 → esm2022}/src/locale/languages/ko-KR.mjs +0 -0
  123. /package/{esm2020 → esm2022}/src/locale/languages/pl-PL.mjs +0 -0
  124. /package/{esm2020 → esm2022}/src/locale/languages/sl-SI.mjs +0 -0
  125. /package/{esm2020 → esm2022}/src/locale/languages/tr-TR.mjs +0 -0
  126. /package/{esm2020 → esm2022}/src/locale/languages/zh-CN.mjs +0 -0
  127. /package/{esm2020 → esm2022}/src/locale/languages/zh-TW.mjs +0 -0
  128. /package/{esm2020 → esm2022}/src/locale/locale.tokens.mjs +0 -0
  129. /package/{esm2020 → esm2022}/src/locale/locale.types.mjs +0 -0
  130. /package/{esm2020 → esm2022}/src/locale/public_api.mjs +0 -0
  131. /package/{esm2020 → esm2022}/src/router/optional-preloader.mjs +0 -0
  132. /package/{esm2020 → esm2022}/src/services/http/http.token.mjs +0 -0
  133. /package/{esm2020 → esm2022}/src/services/http/index.mjs +0 -0
  134. /package/{esm2020 → esm2022}/src/services/i18n/index.mjs +0 -0
  135. /package/{esm2020 → esm2022}/src/services/menu/interface.mjs +0 -0
  136. /package/{esm2020 → esm2022}/src/services/preloader/preloader.mjs +0 -0
  137. /package/{esm2020 → esm2022}/src/services/settings/types.mjs +0 -0
  138. /package/{esm2020 → esm2022}/theme-btn/public_api.mjs +0 -0
  139. /package/{esm2020 → esm2022}/theme-btn/theme-btn.mjs +0 -0
  140. /package/{esm2020 → esm2022}/theme.mjs +0 -0
  141. /package/{fesm2015 → fesm2022}/layout-blank.mjs +0 -0
  142. /package/{fesm2015 → fesm2022}/layout-blank.mjs.map +0 -0
@@ -1,487 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, Input, isDevMode, ChangeDetectionStrategy, Inject, Optional, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { DOCUMENT, CommonModule } from '@angular/common';
5
- import * as i2 from '@angular/forms';
6
- import { FormsModule } from '@angular/forms';
7
- import * as i7 from 'ng-zorro-antd/drawer';
8
- import { NzDrawerModule } from 'ng-zorro-antd/drawer';
9
- import * as i4 from 'ng-zorro-antd/switch';
10
- import { NzSwitchModule } from 'ng-zorro-antd/switch';
11
- import * as i5 from 'ng-zorro-antd/input';
12
- import { NzInputModule } from 'ng-zorro-antd/input';
13
- import * as i6 from 'ng-zorro-antd/input-number';
14
- import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
15
- import { __awaiter, __decorate } from 'tslib';
16
- import { Subject, takeUntil } from 'rxjs';
17
- import { copy } from '@delon/util/browser';
18
- import { InputBoolean, ZoneOutside } from '@delon/util/decorator';
19
- import * as i3 from '@delon/util/other';
20
- import { deepCopy } from '@delon/util/other';
21
- import * as i1$1 from 'ng-zorro-antd/message';
22
- import * as i2$1 from '@delon/theme';
23
- import * as i4$1 from '@angular/cdk/bidi';
24
- import * as i8 from 'ng-zorro-antd/tooltip';
25
- import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
26
- import * as i9 from 'ng-zorro-antd/divider';
27
- import { NzDividerModule } from 'ng-zorro-antd/divider';
28
- import * as i10 from 'ng-zorro-antd/tabs';
29
- import { NzTabsModule } from 'ng-zorro-antd/tabs';
30
- import * as i12 from 'ng-zorro-antd/alert';
31
- import { NzAlertModule } from 'ng-zorro-antd/alert';
32
- import * as i13 from 'ng-zorro-antd/icon';
33
- import { NzIconModule } from 'ng-zorro-antd/icon';
34
- import * as i14 from 'ng-zorro-antd/button';
35
- import { NzButtonModule } from 'ng-zorro-antd/button';
36
- import * as i15 from 'ng-zorro-antd/core/transition-patch';
37
- import * as i16 from 'ng-zorro-antd/core/wave';
38
-
39
- class SettingDrawerItemComponent {
40
- constructor() {
41
- this.i = {};
42
- this.pxVal = 0;
43
- this.format = (value) => `${value} px`;
44
- }
45
- set data(val) {
46
- this.i = val;
47
- if (val.type === 'px') {
48
- this.pxVal = +val.value.replace('px', '');
49
- }
50
- }
51
- pxChange(val) {
52
- this.i.value = `${val}px`;
53
- }
54
- }
55
- SettingDrawerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- SettingDrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SettingDrawerItemComponent, selector: "setting-drawer-item", inputs: { data: "data" }, host: { properties: { "class.setting-drawer__body-item": "true" } }, ngImport: i0, template: "<span>\n {{ i.label }}\n <span class=\"pl-sm text-grey\">{{ i.tip }}</span>\n</span>\n<div [ngSwitch]=\"i.type\">\n <ng-container *ngSwitchCase=\"'color'\">\n <input\n nz-input\n type=\"color\"\n style=\"min-width: 88px\"\n [(ngModel)]=\"i.value\"\n [ngModelOptions]=\"{ standalone: true }\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'input'\">\n <input nz-input style=\"min-width: 88px\" [(ngModel)]=\"i.value\" [ngModelOptions]=\"{ standalone: true }\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'px'\">\n <nz-input-number\n [(ngModel)]=\"pxVal\"\n (ngModelChange)=\"pxChange($event)\"\n [nzMin]=\"i.min\"\n [nzMax]=\"i.max\"\n [nzStep]=\"i.step || 2\"\n [nzFormatter]=\"format\"\n ></nz-input-number>\n </ng-container>\n <ng-container *ngSwitchCase=\"'switch'\">\n <nz-switch nzSize=\"small\" [(ngModel)]=\"i.value\" [ngModelOptions]=\"{ standalone: true }\"></nz-switch>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ng-template nzDrawerContent></ng-template>\n </ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.NzDrawerContentDirective, selector: "[nzDrawerContent]", exportAs: ["nzDrawerContent"] }, { kind: "component", type: i4.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i6.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }] });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerItemComponent, decorators: [{
58
- type: Component,
59
- args: [{ selector: 'setting-drawer-item', host: {
60
- '[class.setting-drawer__body-item]': 'true'
61
- }, template: "<span>\n {{ i.label }}\n <span class=\"pl-sm text-grey\">{{ i.tip }}</span>\n</span>\n<div [ngSwitch]=\"i.type\">\n <ng-container *ngSwitchCase=\"'color'\">\n <input\n nz-input\n type=\"color\"\n style=\"min-width: 88px\"\n [(ngModel)]=\"i.value\"\n [ngModelOptions]=\"{ standalone: true }\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'input'\">\n <input nz-input style=\"min-width: 88px\" [(ngModel)]=\"i.value\" [ngModelOptions]=\"{ standalone: true }\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'px'\">\n <nz-input-number\n [(ngModel)]=\"pxVal\"\n (ngModelChange)=\"pxChange($event)\"\n [nzMin]=\"i.min\"\n [nzMax]=\"i.max\"\n [nzStep]=\"i.step || 2\"\n [nzFormatter]=\"format\"\n ></nz-input-number>\n </ng-container>\n <ng-container *ngSwitchCase=\"'switch'\">\n <nz-switch nzSize=\"small\" [(ngModel)]=\"i.value\" [ngModelOptions]=\"{ standalone: true }\"></nz-switch>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ng-template nzDrawerContent></ng-template>\n </ng-container>\n</div>\n" }]
62
- }], propDecorators: { data: [{
63
- type: Input
64
- }] } });
65
-
66
- const ALAINDEFAULTVAR = 'alain-default-vars';
67
- const DEFAULT_COLORS = [
68
- {
69
- key: 'dust',
70
- color: '#F5222D'
71
- },
72
- {
73
- key: 'volcano',
74
- color: '#FA541C'
75
- },
76
- {
77
- key: 'sunset',
78
- color: '#FAAD14'
79
- },
80
- {
81
- key: 'cyan',
82
- color: '#13C2C2'
83
- },
84
- {
85
- key: 'green',
86
- color: '#52C41A'
87
- },
88
- {
89
- key: 'daybreak',
90
- color: '#1890ff'
91
- },
92
- {
93
- key: 'geekblue',
94
- color: '#2F54EB'
95
- },
96
- {
97
- key: 'purple',
98
- color: '#722ED1'
99
- },
100
- {
101
- key: 'black',
102
- color: '#001529'
103
- }
104
- ];
105
- const DEFAULT_VARS = {
106
- 'primary-color': { label: '主颜色', type: 'color', default: '#1890ff' },
107
- 'alain-default-header-hg': {
108
- label: '高',
109
- type: 'px',
110
- default: '64px',
111
- max: 300,
112
- min: 24
113
- },
114
- 'alain-default-header-bg': {
115
- label: '背景色',
116
- type: 'color',
117
- default: '@primary-color',
118
- tip: '默认同主色系'
119
- },
120
- 'alain-default-header-padding': {
121
- label: '顶部左右内边距',
122
- type: 'px',
123
- default: '16px'
124
- },
125
- // 侧边栏
126
- 'alain-default-aside-wd': { label: '宽度', type: 'px', default: '200px' },
127
- 'alain-default-aside-bg': {
128
- label: '背景',
129
- type: 'color',
130
- default: '#ffffff'
131
- },
132
- 'alain-default-aside-collapsed-wd': {
133
- label: '收缩宽度',
134
- type: 'px',
135
- default: '64px'
136
- },
137
- 'alain-default-aside-nav-padding-top-bottom': {
138
- label: '项上下内边距',
139
- type: 'px',
140
- default: '8px',
141
- step: 8
142
- },
143
- // 主菜单
144
- 'alain-default-aside-nav-fs': {
145
- label: '菜单字号',
146
- type: 'px',
147
- default: '14px',
148
- min: 14,
149
- max: 30
150
- },
151
- 'alain-default-aside-collapsed-nav-fs': {
152
- label: '收缩菜单字号',
153
- type: 'px',
154
- default: '24px',
155
- min: 24,
156
- max: 32
157
- },
158
- 'alain-default-aside-nav-item-height': {
159
- label: '菜单项高度',
160
- type: 'px',
161
- default: '38px',
162
- min: 24,
163
- max: 64
164
- },
165
- 'alain-default-aside-nav-text-color': {
166
- label: '菜单文本颜色',
167
- type: 'color',
168
- default: 'rgba(0, 0, 0, 0.65)',
169
- rgba: true
170
- },
171
- 'alain-default-aside-nav-text-hover-color': {
172
- label: '菜单文本悬停颜色',
173
- type: 'color',
174
- default: '@primary-color',
175
- tip: '默认同主色系'
176
- },
177
- 'alain-default-aside-nav-group-text-color': {
178
- label: '菜单分组文本颜色',
179
- type: 'color',
180
- default: 'rgba(0, 0, 0, 0.43)',
181
- rgba: true
182
- },
183
- 'alain-default-aside-nav-selected-text-color': {
184
- label: '菜单激活时文本颜色',
185
- type: 'color',
186
- default: '@primary-color',
187
- tip: '默认同主色系'
188
- },
189
- 'alain-default-aside-nav-selected-bg': {
190
- label: '菜单激活时背景颜色',
191
- type: 'color',
192
- default: '#fcfcfc'
193
- },
194
- // 内容
195
- 'alain-default-content-bg': {
196
- label: '背景色',
197
- type: 'color',
198
- default: '#f5f7fa'
199
- },
200
- 'alain-default-content-heading-bg': {
201
- label: '标题背景色',
202
- type: 'color',
203
- default: '#fafbfc'
204
- },
205
- 'alain-default-content-heading-border': {
206
- label: '标题底部边框色',
207
- type: 'color',
208
- default: '#efe3e5'
209
- },
210
- 'alain-default-content-padding': {
211
- label: '内边距',
212
- type: 'px',
213
- default: '24px',
214
- min: 0,
215
- max: 128,
216
- step: 8
217
- },
218
- // zorro组件修正
219
- 'form-state-visual-feedback-enabled': {
220
- label: '开启表单元素的视觉反馈',
221
- type: 'switch',
222
- default: true
223
- },
224
- 'preserve-white-spaces-enabled': {
225
- label: '开启 preserveWhitespaces',
226
- type: 'switch',
227
- default: true
228
- },
229
- 'nz-table-img-radius': {
230
- label: '表格中:图片圆角',
231
- type: 'px',
232
- default: '4px',
233
- min: 0,
234
- max: 128
235
- },
236
- 'nz-table-img-margin-right': {
237
- label: '表格中:图片右外边距',
238
- type: 'px',
239
- default: '4px',
240
- min: 0,
241
- max: 128
242
- },
243
- 'nz-table-img-max-width': {
244
- label: '表格中:图片最大宽度',
245
- type: 'px',
246
- default: '32px',
247
- min: 8,
248
- max: 128
249
- },
250
- 'nz-table-img-max-height': {
251
- label: '表格中:图片最大高度',
252
- type: 'px',
253
- default: '32px',
254
- min: 8,
255
- max: 128
256
- }
257
- };
258
-
259
- class SettingDrawerComponent {
260
- get layout() {
261
- return this.settingSrv.layout;
262
- }
263
- constructor(cdr, msg, settingSrv, lazy, ngZone, doc, directionality) {
264
- this.cdr = cdr;
265
- this.msg = msg;
266
- this.settingSrv = settingSrv;
267
- this.lazy = lazy;
268
- this.ngZone = ngZone;
269
- this.doc = doc;
270
- this.directionality = directionality;
271
- this.autoApplyColor = true;
272
- this.compilingText = 'Compiling...';
273
- this.devTips = `When the color can't be switched, you need to run it once: npm run color-less`;
274
- this.lessJs = 'https://cdn.jsdelivr.net/npm/less';
275
- this.loadedLess = false;
276
- this.destroy$ = new Subject();
277
- this.dir = 'ltr';
278
- this.isDev = isDevMode();
279
- this.collapse = false;
280
- this.data = {};
281
- this.colors = DEFAULT_COLORS;
282
- this.color = this.cachedData['@primary-color'] || this.DEFAULT_PRIMARY;
283
- this.resetData(this.cachedData, false);
284
- }
285
- get cachedData() {
286
- return this.settingSrv.layout[ALAINDEFAULTVAR] || {};
287
- }
288
- get DEFAULT_PRIMARY() {
289
- return DEFAULT_VARS['primary-color'].default;
290
- }
291
- ngOnInit() {
292
- var _a;
293
- this.dir = this.directionality.value;
294
- (_a = this.directionality.change) === null || _a === void 0 ? void 0 : _a.pipe(takeUntil(this.destroy$)).subscribe((direction) => {
295
- this.dir = direction;
296
- });
297
- if (this.autoApplyColor && this.color !== this.DEFAULT_PRIMARY) {
298
- this.changeColor(this.color);
299
- this.runLess();
300
- }
301
- }
302
- loadLess() {
303
- return __awaiter(this, void 0, void 0, function* () {
304
- if (this.loadedLess) {
305
- return Promise.resolve();
306
- }
307
- return this.lazy
308
- .loadStyle('./assets/color.less', { rel: 'stylesheet/less' })
309
- .then(() => {
310
- const lessConfigNode = this.doc.createElement('script');
311
- lessConfigNode.innerHTML = `
312
- window.less = {
313
- async: true,
314
- env: 'production',
315
- javascriptEnabled: true
316
- };
317
- `;
318
- this.doc.body.appendChild(lessConfigNode);
319
- })
320
- .then(() => this.lazy.loadScript(this.lessJs))
321
- .then(() => {
322
- this.loadedLess = true;
323
- });
324
- });
325
- }
326
- genVars() {
327
- const { data, color, validKeys } = this;
328
- const vars = {
329
- [`@primary-color`]: color
330
- };
331
- validKeys.filter(key => key !== 'primary-color').forEach(key => (vars[`@${key}`] = data[key].value));
332
- this.setLayout(ALAINDEFAULTVAR, vars);
333
- return vars;
334
- }
335
- runLess() {
336
- const { ngZone, msg, cdr } = this;
337
- const msgId = msg.loading(this.compilingText, { nzDuration: 0 }).messageId;
338
- setTimeout(() => {
339
- this.loadLess().then(() => {
340
- window.less.modifyVars(this.genVars()).then(() => {
341
- msg.success('成功');
342
- msg.remove(msgId);
343
- ngZone.run(() => cdr.detectChanges());
344
- });
345
- });
346
- }, 200);
347
- }
348
- toggle() {
349
- this.collapse = !this.collapse;
350
- }
351
- changeColor(color) {
352
- this.color = color;
353
- Object.keys(DEFAULT_VARS)
354
- .filter(key => DEFAULT_VARS[key].default === '@primary-color')
355
- .forEach(key => delete this.cachedData[`@${key}`]);
356
- this.resetData(this.cachedData, false);
357
- }
358
- setLayout(name, value) {
359
- this.settingSrv.setLayout(name, value);
360
- }
361
- resetData(nowData, run = true) {
362
- nowData = nowData || {};
363
- const data = deepCopy(DEFAULT_VARS);
364
- Object.keys(data).forEach(key => {
365
- const value = nowData[`@${key}`] || data[key].default || '';
366
- data[key].value = value === `@primary-color` ? this.color : value;
367
- });
368
- this.data = data;
369
- if (run) {
370
- this.cdr.detectChanges();
371
- this.runLess();
372
- }
373
- }
374
- get validKeys() {
375
- return Object.keys(this.data).filter(key => this.data[key].value !== this.data[key].default);
376
- }
377
- apply() {
378
- this.runLess();
379
- }
380
- reset() {
381
- this.color = this.DEFAULT_PRIMARY;
382
- this.settingSrv.setLayout(ALAINDEFAULTVAR, {});
383
- this.resetData({});
384
- }
385
- copyVar() {
386
- const vars = this.genVars();
387
- const copyContent = Object.keys(vars)
388
- .map(key => `${key}: ${vars[key]};`)
389
- .join('\n');
390
- copy(copyContent);
391
- this.msg.success('Copy success');
392
- }
393
- ngOnDestroy() {
394
- this.destroy$.next();
395
- this.destroy$.complete();
396
- }
397
- }
398
- SettingDrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.NzMessageService }, { token: i2$1.SettingsService }, { token: i3.LazyService }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i4$1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component });
399
- SettingDrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SettingDrawerComponent, selector: "setting-drawer", inputs: { autoApplyColor: "autoApplyColor", compilingText: "compilingText", devTips: "devTips", lessJs: "lessJs" }, host: { properties: { "class.setting-drawer": "true", "class.setting-drawer-rtl": "dir === 'rtl'" } }, ngImport: i0, template: "<nz-drawer\n [nzVisible]=\"collapse\"\n [nzPlacement]=\"dir === 'rtl' ? 'left' : 'right'\"\n [nzWidth]=\"500\"\n (nzOnClose)=\"toggle()\"\n>\n <div *nzDrawerContent class=\"setting-drawer__content\">\n <div class=\"setting-drawer__body setting-drawer__theme\">\n <h3 class=\"setting-drawer__title\">\u4E3B\u9898\u8272</h3>\n <span\n *ngFor=\"let c of colors\"\n [style]=\"{ 'background-color': c.color }\"\n (click)=\"changeColor(c.color)\"\n nz-tooltip\n [nzTooltipTitle]=\"c.key\"\n class=\"setting-drawer__theme-tag\"\n >\n <i *ngIf=\"color === c.color\" nz-icon nzType=\"check\"></i>\n </span>\n </div>\n <nz-divider></nz-divider>\n <div class=\"setting-drawer__body\">\n <h3 class=\"setting-drawer__title\">\u8BBE\u7F6E</h3>\n <nz-tabset>\n <nz-tab nzTitle=\"\u9876\u90E8\">\n <div class=\"setting-drawer__body\">\n <setting-drawer-item [data]=\"data['alain-default-header-hg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-header-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-header-padding']\"></setting-drawer-item>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u4FA7\u8FB9\u680F\">\n <setting-drawer-item [data]=\"data['alain-default-aside-wd']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-collapsed-wd']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-nav-padding-top-bottom']\"></setting-drawer-item>\n </nz-tab>\n <nz-tab nzTitle=\"\u5185\u5BB9\">\n <setting-drawer-item [data]=\"data['alain-default-content-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-heading-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-heading-border']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-padding']\"></setting-drawer-item>\n </nz-tab>\n <nz-tab nzTitle=\"\u5176\u5B83\">\n <setting-drawer-item [data]=\"data['form-state-visual-feedback-enabled']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['preserve-white-spaces-enabled']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-radius']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-margin-right']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-max-width']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-max-height']\"></setting-drawer-item>\n </nz-tab>\n </nz-tabset>\n </div>\n <nz-divider></nz-divider>\n <div class=\"setting-drawer__body\">\n <div class=\"setting-drawer__body-item\">\n \u56FA\u5B9A\u5934\u548C\u4FA7\u8FB9\u680F\n <nz-switch\n nzSize=\"small\"\n [(ngModel)]=\"layout.fixed\"\n (ngModelChange)=\"setLayout('fixed', layout.fixed)\"\n ></nz-switch>\n </div>\n <div class=\"setting-drawer__body-item\">\n \u8272\u5F31\u6A21\u5F0F\n <nz-switch\n nzSize=\"small\"\n [(ngModel)]=\"layout.colorWeak\"\n (ngModelChange)=\"setLayout('colorWeak', layout.colorWeak)\"\n ></nz-switch>\n </div>\n </div>\n <nz-divider></nz-divider>\n <button (click)=\"apply()\" type=\"button\" nz-button nzType=\"primary\">\u9884\u89C8</button>\n <button (click)=\"reset()\" type=\"button\" nz-button>\u91CD\u7F6E</button>\n <button (click)=\"copyVar()\" type=\"button\" nz-button>\u62F7\u8D1D</button>\n <nz-alert\n class=\"mt-md\"\n nzType=\"warning\"\n nzMessage=\"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u53C2\u6570\u914D\u7F6E\u6587\u4EF6 src/styles/theme.less\"\n ></nz-alert>\n </div>\n</nz-drawer>\n<div\n class=\"setting-drawer__handle\"\n [ngClass]=\"{ 'setting-drawer__handle-opened': collapse }\"\n (click)=\"toggle()\"\n nz-tooltip\n [nzTooltipTitle]=\"isDev ? devTips : null\"\n>\n <i nz-icon [nzType]=\"!collapse ? 'setting' : 'close'\" class=\"setting-drawer__handle-icon\"></i>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.NzDrawerComponent, selector: "nz-drawer", inputs: ["nzContent", "nzCloseIcon", "nzClosable", "nzMaskClosable", "nzMask", "nzCloseOnNavigation", "nzNoAnimation", "nzKeyboard", "nzTitle", "nzExtra", "nzFooter", "nzPlacement", "nzSize", "nzMaskStyle", "nzBodyStyle", "nzWrapClassName", "nzWidth", "nzHeight", "nzZIndex", "nzOffsetX", "nzOffsetY", "nzVisible"], outputs: ["nzOnViewInit", "nzOnClose", "nzVisibleChange"], exportAs: ["nzDrawer"] }, { kind: "directive", type: i7.NzDrawerContentDirective, selector: "[nzDrawerContent]", exportAs: ["nzDrawerContent"] }, { kind: "directive", type: i8.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "component", type: i9.NzDividerComponent, selector: "nz-divider", inputs: ["nzText", "nzType", "nzOrientation", "nzDashed", "nzPlain"], exportAs: ["nzDivider"] }, { kind: "component", type: i10.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i10.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i4.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: i12.NzAlertComponent, selector: "nz-alert", inputs: ["nzAction", "nzCloseText", "nzIconType", "nzMessage", "nzDescription", "nzType", "nzCloseable", "nzShowIcon", "nzBanner", "nzNoAnimation", "nzIcon"], outputs: ["nzOnClose"], exportAs: ["nzAlert"] }, { kind: "directive", type: i13.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i14.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i15.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i16.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "component", type: SettingDrawerItemComponent, selector: "setting-drawer-item", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
400
- __decorate([
401
- InputBoolean()
402
- ], SettingDrawerComponent.prototype, "autoApplyColor", void 0);
403
- __decorate([
404
- ZoneOutside()
405
- ], SettingDrawerComponent.prototype, "loadLess", null);
406
- __decorate([
407
- ZoneOutside()
408
- ], SettingDrawerComponent.prototype, "runLess", null);
409
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerComponent, decorators: [{
410
- type: Component,
411
- args: [{ selector: 'setting-drawer', host: {
412
- '[class.setting-drawer]': 'true',
413
- '[class.setting-drawer-rtl]': `dir === 'rtl'`
414
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-drawer\n [nzVisible]=\"collapse\"\n [nzPlacement]=\"dir === 'rtl' ? 'left' : 'right'\"\n [nzWidth]=\"500\"\n (nzOnClose)=\"toggle()\"\n>\n <div *nzDrawerContent class=\"setting-drawer__content\">\n <div class=\"setting-drawer__body setting-drawer__theme\">\n <h3 class=\"setting-drawer__title\">\u4E3B\u9898\u8272</h3>\n <span\n *ngFor=\"let c of colors\"\n [style]=\"{ 'background-color': c.color }\"\n (click)=\"changeColor(c.color)\"\n nz-tooltip\n [nzTooltipTitle]=\"c.key\"\n class=\"setting-drawer__theme-tag\"\n >\n <i *ngIf=\"color === c.color\" nz-icon nzType=\"check\"></i>\n </span>\n </div>\n <nz-divider></nz-divider>\n <div class=\"setting-drawer__body\">\n <h3 class=\"setting-drawer__title\">\u8BBE\u7F6E</h3>\n <nz-tabset>\n <nz-tab nzTitle=\"\u9876\u90E8\">\n <div class=\"setting-drawer__body\">\n <setting-drawer-item [data]=\"data['alain-default-header-hg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-header-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-header-padding']\"></setting-drawer-item>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u4FA7\u8FB9\u680F\">\n <setting-drawer-item [data]=\"data['alain-default-aside-wd']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-collapsed-wd']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-aside-nav-padding-top-bottom']\"></setting-drawer-item>\n </nz-tab>\n <nz-tab nzTitle=\"\u5185\u5BB9\">\n <setting-drawer-item [data]=\"data['alain-default-content-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-heading-bg']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-heading-border']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['alain-default-content-padding']\"></setting-drawer-item>\n </nz-tab>\n <nz-tab nzTitle=\"\u5176\u5B83\">\n <setting-drawer-item [data]=\"data['form-state-visual-feedback-enabled']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['preserve-white-spaces-enabled']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-radius']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-margin-right']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-max-width']\"></setting-drawer-item>\n <setting-drawer-item [data]=\"data['nz-table-img-max-height']\"></setting-drawer-item>\n </nz-tab>\n </nz-tabset>\n </div>\n <nz-divider></nz-divider>\n <div class=\"setting-drawer__body\">\n <div class=\"setting-drawer__body-item\">\n \u56FA\u5B9A\u5934\u548C\u4FA7\u8FB9\u680F\n <nz-switch\n nzSize=\"small\"\n [(ngModel)]=\"layout.fixed\"\n (ngModelChange)=\"setLayout('fixed', layout.fixed)\"\n ></nz-switch>\n </div>\n <div class=\"setting-drawer__body-item\">\n \u8272\u5F31\u6A21\u5F0F\n <nz-switch\n nzSize=\"small\"\n [(ngModel)]=\"layout.colorWeak\"\n (ngModelChange)=\"setLayout('colorWeak', layout.colorWeak)\"\n ></nz-switch>\n </div>\n </div>\n <nz-divider></nz-divider>\n <button (click)=\"apply()\" type=\"button\" nz-button nzType=\"primary\">\u9884\u89C8</button>\n <button (click)=\"reset()\" type=\"button\" nz-button>\u91CD\u7F6E</button>\n <button (click)=\"copyVar()\" type=\"button\" nz-button>\u62F7\u8D1D</button>\n <nz-alert\n class=\"mt-md\"\n nzType=\"warning\"\n nzMessage=\"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u53C2\u6570\u914D\u7F6E\u6587\u4EF6 src/styles/theme.less\"\n ></nz-alert>\n </div>\n</nz-drawer>\n<div\n class=\"setting-drawer__handle\"\n [ngClass]=\"{ 'setting-drawer__handle-opened': collapse }\"\n (click)=\"toggle()\"\n nz-tooltip\n [nzTooltipTitle]=\"isDev ? devTips : null\"\n>\n <i nz-icon [nzType]=\"!collapse ? 'setting' : 'close'\" class=\"setting-drawer__handle-icon\"></i>\n</div>\n" }]
415
- }], ctorParameters: function () {
416
- return [{ type: i0.ChangeDetectorRef }, { type: i1$1.NzMessageService }, { type: i2$1.SettingsService }, { type: i3.LazyService }, { type: i0.NgZone }, { type: undefined, decorators: [{
417
- type: Inject,
418
- args: [DOCUMENT]
419
- }] }, { type: i4$1.Directionality, decorators: [{
420
- type: Optional
421
- }] }];
422
- }, propDecorators: { autoApplyColor: [{
423
- type: Input
424
- }], compilingText: [{
425
- type: Input
426
- }], devTips: [{
427
- type: Input
428
- }], lessJs: [{
429
- type: Input
430
- }], loadLess: [], runLess: [] } });
431
-
432
- const COMPONENTS = [SettingDrawerItemComponent, SettingDrawerComponent];
433
- class SettingDrawerModule {
434
- }
435
- SettingDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
436
- SettingDrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerModule, declarations: [SettingDrawerItemComponent, SettingDrawerComponent], imports: [CommonModule,
437
- FormsModule,
438
- NzDrawerModule,
439
- NzToolTipModule,
440
- NzDividerModule,
441
- NzTabsModule,
442
- NzSwitchModule,
443
- NzAlertModule,
444
- NzIconModule,
445
- NzInputModule,
446
- NzInputNumberModule,
447
- NzButtonModule], exports: [SettingDrawerItemComponent, SettingDrawerComponent] });
448
- SettingDrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerModule, imports: [CommonModule,
449
- FormsModule,
450
- NzDrawerModule,
451
- NzToolTipModule,
452
- NzDividerModule,
453
- NzTabsModule,
454
- NzSwitchModule,
455
- NzAlertModule,
456
- NzIconModule,
457
- NzInputModule,
458
- NzInputNumberModule,
459
- NzButtonModule] });
460
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SettingDrawerModule, decorators: [{
461
- type: NgModule,
462
- args: [{
463
- imports: [
464
- CommonModule,
465
- FormsModule,
466
- NzDrawerModule,
467
- NzToolTipModule,
468
- NzDividerModule,
469
- NzTabsModule,
470
- NzSwitchModule,
471
- NzAlertModule,
472
- NzIconModule,
473
- NzInputModule,
474
- NzInputNumberModule,
475
- NzButtonModule
476
- ],
477
- declarations: COMPONENTS,
478
- exports: COMPONENTS
479
- }]
480
- }] });
481
-
482
- /**
483
- * Generated bundle index. Do not edit.
484
- */
485
-
486
- export { SettingDrawerComponent, SettingDrawerItemComponent, SettingDrawerModule };
487
- //# sourceMappingURL=setting-drawer.mjs.map