@delon/abc 19.0.1 → 19.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.
Files changed (73) hide show
  1. package/auto-focus/auto-focus.directive.d.ts +6 -8
  2. package/cell/cell-host.directive.d.ts +4 -5
  3. package/cell/cell.component.d.ts +13 -22
  4. package/cell/style/index.less +1 -1
  5. package/error-collect/error-collect.component.d.ts +6 -12
  6. package/fesm2022/auto-focus.mjs +22 -22
  7. package/fesm2022/auto-focus.mjs.map +1 -1
  8. package/fesm2022/avatar-list.mjs +10 -10
  9. package/fesm2022/cell.mjs +95 -110
  10. package/fesm2022/cell.mjs.map +1 -1
  11. package/fesm2022/chart-observer-size.mjs +10 -10
  12. package/fesm2022/count-down.mjs +7 -7
  13. package/fesm2022/date-picker.mjs +11 -10
  14. package/fesm2022/date-picker.mjs.map +1 -1
  15. package/fesm2022/down-file.mjs +7 -7
  16. package/fesm2022/ellipsis.mjs +7 -7
  17. package/fesm2022/error-collect.mjs +29 -46
  18. package/fesm2022/error-collect.mjs.map +1 -1
  19. package/fesm2022/exception.mjs +7 -7
  20. package/fesm2022/exception.mjs.map +1 -1
  21. package/fesm2022/footer-toolbar.mjs +7 -7
  22. package/fesm2022/full-content.mjs +14 -14
  23. package/fesm2022/full-content.mjs.map +1 -1
  24. package/fesm2022/global-footer.mjs +10 -10
  25. package/fesm2022/hotkey.mjs +7 -7
  26. package/fesm2022/loading.mjs +10 -10
  27. package/fesm2022/loading.mjs.map +1 -1
  28. package/fesm2022/lodop.mjs +8 -8
  29. package/fesm2022/lodop.mjs.map +1 -1
  30. package/fesm2022/media.mjs +10 -10
  31. package/fesm2022/notice-icon.mjs +16 -22
  32. package/fesm2022/notice-icon.mjs.map +1 -1
  33. package/fesm2022/onboarding.mjs +11 -11
  34. package/fesm2022/onboarding.mjs.map +1 -1
  35. package/fesm2022/page-header.mjs +7 -7
  36. package/fesm2022/pdf.mjs +7 -7
  37. package/fesm2022/quick-menu.mjs +7 -7
  38. package/fesm2022/quick-menu.mjs.map +1 -1
  39. package/fesm2022/result.mjs +7 -7
  40. package/fesm2022/reuse-tab.mjs +22 -22
  41. package/fesm2022/reuse-tab.mjs.map +1 -1
  42. package/fesm2022/se.mjs +15 -15
  43. package/fesm2022/se.mjs.map +1 -1
  44. package/fesm2022/sg.mjs +10 -10
  45. package/fesm2022/st.mjs +52 -43
  46. package/fesm2022/st.mjs.map +1 -1
  47. package/fesm2022/sv.mjs +16 -16
  48. package/fesm2022/sv.mjs.map +1 -1
  49. package/fesm2022/tag-select.mjs +7 -7
  50. package/fesm2022/xlsx.mjs +10 -10
  51. package/fesm2022/xlsx.mjs.map +1 -1
  52. package/fesm2022/zip.mjs +3 -3
  53. package/fesm2022/zip.mjs.map +1 -1
  54. package/footer-toolbar/style/index.less +1 -1
  55. package/loading/loading.types.d.ts +1 -3
  56. package/notice-icon/notice-icon.component.d.ts +6 -11
  57. package/notice-icon/style/index.less +6 -2
  58. package/package.json +4 -4
  59. package/page-header/style/index.less +1 -1
  60. package/quick-menu/quick-menu.component.d.ts +1 -3
  61. package/quick-menu/style/index.less +2 -2
  62. package/result/style/index.less +1 -1
  63. package/reuse-tab/reuse-tab.cache.d.ts +4 -12
  64. package/reuse-tab/reuse-tab.component.d.ts +1 -3
  65. package/se/se.types.d.ts +1 -3
  66. package/st/st.component.d.ts +1 -1
  67. package/st/st.interfaces.d.ts +15 -15
  68. package/st/st.types.d.ts +1 -3
  69. package/st/style/index.less +1 -1
  70. package/sv/style/index.less +1 -1
  71. package/sv/sv-container.component.d.ts +1 -3
  72. package/xlsx/xlsx.service.d.ts +1 -3
  73. package/xlsx/xlsx.types.d.ts +1 -3
package/fesm2022/cell.mjs CHANGED
@@ -1,9 +1,11 @@
1
1
  import { NgTemplateOutlet, CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, Injectable, ViewContainerRef, Directive, Input, ChangeDetectorRef, Renderer2, ElementRef, EventEmitter, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Output, NgModule, makeEnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';
3
+ import { inject, Injectable, ViewContainerRef, input, effect, Directive, Renderer2, ElementRef, signal, computed, model, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule, makeEnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';
4
+ import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
5
  import * as i1 from '@angular/forms';
5
6
  import { FormsModule } from '@angular/forms';
6
7
  import { Router } from '@angular/router';
8
+ import { of, map, combineLatest, take } from 'rxjs';
7
9
  import { updateHostClass } from '@delon/util/browser';
8
10
  import { WINDOW } from '@delon/util/token';
9
11
  import { NzBadgeComponent, NzBadgeModule } from 'ng-zorro-antd/badge';
@@ -15,7 +17,6 @@ import { NzTagComponent, NzTagModule } from 'ng-zorro-antd/tag';
15
17
  import { NzTooltipDirective, NzToolTipModule } from 'ng-zorro-antd/tooltip';
16
18
  import { deepMerge, warn } from '@delon/util/other';
17
19
  import { DomSanitizer } from '@angular/platform-browser';
18
- import { of, map } from 'rxjs';
19
20
  import { yn } from '@delon/theme';
20
21
  import { AlainConfigService } from '@delon/util/config';
21
22
  import { formatDate } from '@delon/util/date-time';
@@ -176,10 +177,10 @@ class CellService {
176
177
  return res;
177
178
  }));
178
179
  }
179
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
180
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellService, providedIn: 'root' });
180
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
181
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellService, providedIn: 'root' });
181
182
  }
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellService, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellService, decorators: [{
183
184
  type: Injectable,
184
185
  args: [{ providedIn: 'root' }]
185
186
  }] });
@@ -187,65 +188,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
187
188
  class CellHostDirective {
188
189
  srv = inject(CellService);
189
190
  vcr = inject(ViewContainerRef);
190
- data;
191
- ngOnChanges() {
192
- const widget = this.data.options.widget;
193
- const componentType = this.srv.getWidget(widget.key)?.ref;
194
- if (componentType == null) {
195
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
196
- warn(`cell: No widget for type "${widget.key}"`);
191
+ data = input.required();
192
+ constructor() {
193
+ effect(() => {
194
+ const data = this.data();
195
+ const widget = data.options.widget;
196
+ const componentType = this.srv.getWidget(widget.key)?.ref;
197
+ if (componentType == null) {
198
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
199
+ warn(`cell: No widget for type "${widget.key}"`);
200
+ }
201
+ return;
197
202
  }
198
- return;
199
- }
200
- this.vcr.clear();
201
- const componentRef = this.vcr.createComponent(componentType);
202
- componentRef.instance.data = this.data;
203
+ this.vcr.clear();
204
+ const componentRef = this.vcr.createComponent(componentType);
205
+ componentRef.instance.data = data;
206
+ });
203
207
  }
204
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellHostDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
205
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.1", type: CellHostDirective, isStandalone: true, selector: "[cell-widget-host]", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0 });
208
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellHostDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
209
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.6", type: CellHostDirective, isStandalone: true, selector: "[cell-widget-host]", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
206
210
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellHostDirective, decorators: [{
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellHostDirective, decorators: [{
208
212
  type: Directive,
209
213
  args: [{
210
214
  selector: '[cell-widget-host]'
211
215
  }]
212
- }], propDecorators: { data: [{
213
- type: Input
214
- }] } });
216
+ }], ctorParameters: () => [] });
215
217
 
216
218
  class CellComponent {
217
219
  srv = inject(CellService);
218
220
  router = inject(Router);
219
- cdr = inject(ChangeDetectorRef);
220
221
  renderer = inject(Renderer2);
221
222
  imgSrv = inject(NzImageService);
222
223
  win = inject(WINDOW);
223
224
  el = inject(ElementRef).nativeElement;
224
225
  destroy$;
225
- _text;
226
- _unit;
227
- res;
228
- showDefault = false;
229
- value;
230
- valueChange = new EventEmitter();
231
- options;
232
- loading = false;
233
- disabled = false;
226
+ _text = signal('');
227
+ _unit = signal(undefined);
228
+ _res = signal(undefined);
229
+ showDefault = computed(() => this.value() == this.safeOpt.default?.condition);
230
+ value = model();
231
+ options = input();
232
+ loading = input(false, { transform: booleanAttribute });
233
+ disabled = input(false, { transform: booleanAttribute });
234
234
  get safeOpt() {
235
- return this.res?.options ?? {};
235
+ return this._res()?.options ?? {};
236
236
  }
237
- get isText() {
238
- return this.res?.safeHtml === 'text';
239
- }
240
- updateValue() {
241
- this.destroy$?.unsubscribe();
242
- this.destroy$ = this.srv.get(this.value, this.options).subscribe(res => {
243
- this.res = res;
244
- this.showDefault = this.value == this.safeOpt.default.condition;
245
- this._text = res.result?.text ?? '';
246
- this._unit = res.result?.unit ?? this.safeOpt?.unit;
247
- this.cdr.detectChanges();
248
- this.setClass();
237
+ isText = computed(() => this._res()?.safeHtml === 'text');
238
+ constructor() {
239
+ combineLatest([toObservable(this.loading), toObservable(this.disabled)])
240
+ .pipe(takeUntilDestroyed())
241
+ .subscribe(() => this.setClass());
242
+ effect(() => {
243
+ const v = this.value();
244
+ const o = this.options();
245
+ this.destroy$?.unsubscribe();
246
+ this.destroy$ = this.srv
247
+ .get(v, o)
248
+ .pipe(take(1))
249
+ .subscribe(res => {
250
+ this._res.set(res);
251
+ this._text.set(res.result?.text ?? '');
252
+ this._unit.set(res.result?.unit ?? this.safeOpt?.unit);
253
+ this.setClass();
254
+ });
249
255
  });
250
256
  }
251
257
  setClass() {
@@ -255,29 +261,16 @@ class CellComponent {
255
261
  [`cell`]: true,
256
262
  [`cell__${renderType}`]: renderType != null,
257
263
  [`cell__${size}`]: size != null,
258
- [`cell__has-unit`]: this._unit,
259
- [`cell__has-default`]: this.showDefault,
260
- [`cell__disabled`]: this.disabled
264
+ [`cell__has-unit`]: this._unit(),
265
+ [`cell__has-default`]: this.showDefault(),
266
+ [`cell__disabled`]: this.disabled()
261
267
  });
262
268
  el.setAttribute('data-type', `${type}`);
263
269
  }
264
- ngOnChanges(changes) {
265
- // Do not call updateValue when only updating loading, disabled
266
- if (Object.keys(changes).every(k => ['loading', 'disabled'].includes(k))) {
267
- this.setClass();
268
- }
269
- else {
270
- this.updateValue();
271
- }
272
- }
273
- change(value) {
274
- this.value = value;
275
- this.valueChange.emit(value);
276
- }
277
270
  _link(e) {
278
271
  e.preventDefault();
279
272
  e.stopPropagation();
280
- if (this.disabled)
273
+ if (this.disabled())
281
274
  return;
282
275
  const link = this.safeOpt.link;
283
276
  const url = link?.url;
@@ -295,7 +288,7 @@ class CellComponent {
295
288
  if (config == null || config.big == null)
296
289
  return;
297
290
  let idx = -1;
298
- const list = this._text.map((p, index) => {
291
+ const list = this._text().map((p, index) => {
299
292
  if (idx === -1 && p === img)
300
293
  idx = index;
301
294
  return typeof config.big === 'function' ? config.big(p) : p;
@@ -307,30 +300,32 @@ class CellComponent {
307
300
  ngOnDestroy() {
308
301
  this.destroy$?.unsubscribe();
309
302
  }
310
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
311
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: CellComponent, isStandalone: true, selector: "cell, [cell]", inputs: { value: "value", options: "options", loading: ["loading", "loading", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { valueChange: "valueChange" }, exportAs: ["cell"], usesOnChanges: true, ngImport: i0, template: `
303
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
304
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: CellComponent, isStandalone: true, selector: "cell, [cell]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, exportAs: ["cell"], ngImport: i0, template: `
312
305
  <ng-template #text>
306
+ @let res = _res();
307
+ @let text = _text();
313
308
  @switch (safeOpt.type) {
314
309
  @case ('checkbox') {
315
- <label nz-checkbox [nzDisabled]="disabled" [ngModel]="value" (ngModelChange)="change($event)">
310
+ <label nz-checkbox [nzDisabled]="disabled()" [ngModel]="value()" (ngModelChange)="value.set($event)">
316
311
  {{ safeOpt.checkbox?.label }}
317
312
  </label>
318
313
  }
319
314
  @case ('radio') {
320
- <label nz-radio [nzDisabled]="disabled" [ngModel]="value" (ngModelChange)="change($event)">
315
+ <label nz-radio [nzDisabled]="disabled()" [ngModel]="value()" (ngModelChange)="value.set($event)">
321
316
  {{ safeOpt.radio?.label }}
322
317
  </label>
323
318
  }
324
319
  @case ('link') {
325
- <a (click)="_link($event)" [attr.target]="safeOpt.link?.target" [attr.title]="value" [innerHTML]="_text"></a>
320
+ <a (click)="_link($event)" [attr.target]="safeOpt.link?.target" [attr.title]="value()" [innerHTML]="text"></a>
326
321
  }
327
322
  @case ('tag') {
328
323
  <nz-tag [nzColor]="res?.result?.color">
329
- <span [innerHTML]="_text"></span>
324
+ <span [innerHTML]="text"></span>
330
325
  </nz-tag>
331
326
  }
332
327
  @case ('badge') {
333
- <nz-badge [nzStatus]="res?.result?.color" nzText="{{ _text }}" />
328
+ <nz-badge [nzStatus]="res?.result?.color" nzText="{{ text }}" />
334
329
  }
335
330
  @case ('widget') {
336
331
  @if (res) {
@@ -338,7 +333,7 @@ class CellComponent {
338
333
  }
339
334
  }
340
335
  @case ('img') {
341
- @for (i of $any(_text); track $index) {
336
+ @for (i of $any(text); track $index) {
342
337
  @let img = safeOpt.img;
343
338
  <img
344
339
  [attr.src]="i"
@@ -351,19 +346,19 @@ class CellComponent {
351
346
  }
352
347
  }
353
348
  @default {
354
- @if (isText) {
355
- <span [innerText]="_text" [attr.title]="value"></span>
349
+ @if (isText()) {
350
+ <span [innerText]="text" [attr.title]="value()"></span>
356
351
  } @else {
357
- <span [innerHTML]="_text" [attr.title]="value"></span>
352
+ <span [innerHTML]="text" [attr.title]="value()"></span>
358
353
  }
359
- @if (_unit) {
360
- <span class="unit">{{ _unit }}</span>
354
+ @if (_unit()) {
355
+ <span class="unit">{{ _unit() }}</span>
361
356
  }
362
357
  }
363
358
  }
364
359
  </ng-template>
365
360
  <ng-template #textWrap>
366
- @if (showDefault) {
361
+ @if (showDefault()) {
367
362
  {{ safeOpt.default?.text }}
368
363
  } @else {
369
364
  @if (safeOpt.tooltip) {
@@ -375,40 +370,42 @@ class CellComponent {
375
370
  }
376
371
  }
377
372
  </ng-template>
378
- @if (loading) {
373
+ @if (loading()) {
379
374
  <nz-icon nzType="loading" />
380
375
  } @else {
381
376
  <ng-template [ngTemplateOutlet]="textWrap" />
382
377
  }
383
378
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId", "nzName"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "directive", type: NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzColor", "nzChecked", "nzBordered"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }, { kind: "component", type: NzBadgeComponent, selector: "nz-badge", inputs: ["nzShowZero", "nzShowDot", "nzStandalone", "nzDot", "nzOverflowCount", "nzColor", "nzStyle", "nzText", "nzTitle", "nzStatus", "nzCount", "nzOffset", "nzSize"], exportAs: ["nzBadge"] }, { kind: "directive", type: NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzImageModule }, { kind: "directive", type: CellHostDirective, selector: "[cell-widget-host]", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
384
379
  }
385
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellComponent, decorators: [{
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellComponent, decorators: [{
386
381
  type: Component,
387
382
  args: [{
388
383
  selector: 'cell, [cell]',
389
384
  template: `
390
385
  <ng-template #text>
386
+ @let res = _res();
387
+ @let text = _text();
391
388
  @switch (safeOpt.type) {
392
389
  @case ('checkbox') {
393
- <label nz-checkbox [nzDisabled]="disabled" [ngModel]="value" (ngModelChange)="change($event)">
390
+ <label nz-checkbox [nzDisabled]="disabled()" [ngModel]="value()" (ngModelChange)="value.set($event)">
394
391
  {{ safeOpt.checkbox?.label }}
395
392
  </label>
396
393
  }
397
394
  @case ('radio') {
398
- <label nz-radio [nzDisabled]="disabled" [ngModel]="value" (ngModelChange)="change($event)">
395
+ <label nz-radio [nzDisabled]="disabled()" [ngModel]="value()" (ngModelChange)="value.set($event)">
399
396
  {{ safeOpt.radio?.label }}
400
397
  </label>
401
398
  }
402
399
  @case ('link') {
403
- <a (click)="_link($event)" [attr.target]="safeOpt.link?.target" [attr.title]="value" [innerHTML]="_text"></a>
400
+ <a (click)="_link($event)" [attr.target]="safeOpt.link?.target" [attr.title]="value()" [innerHTML]="text"></a>
404
401
  }
405
402
  @case ('tag') {
406
403
  <nz-tag [nzColor]="res?.result?.color">
407
- <span [innerHTML]="_text"></span>
404
+ <span [innerHTML]="text"></span>
408
405
  </nz-tag>
409
406
  }
410
407
  @case ('badge') {
411
- <nz-badge [nzStatus]="res?.result?.color" nzText="{{ _text }}" />
408
+ <nz-badge [nzStatus]="res?.result?.color" nzText="{{ text }}" />
412
409
  }
413
410
  @case ('widget') {
414
411
  @if (res) {
@@ -416,7 +413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
416
413
  }
417
414
  }
418
415
  @case ('img') {
419
- @for (i of $any(_text); track $index) {
416
+ @for (i of $any(text); track $index) {
420
417
  @let img = safeOpt.img;
421
418
  <img
422
419
  [attr.src]="i"
@@ -429,19 +426,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
429
426
  }
430
427
  }
431
428
  @default {
432
- @if (isText) {
433
- <span [innerText]="_text" [attr.title]="value"></span>
429
+ @if (isText()) {
430
+ <span [innerText]="text" [attr.title]="value()"></span>
434
431
  } @else {
435
- <span [innerHTML]="_text" [attr.title]="value"></span>
432
+ <span [innerHTML]="text" [attr.title]="value()"></span>
436
433
  }
437
- @if (_unit) {
438
- <span class="unit">{{ _unit }}</span>
434
+ @if (_unit()) {
435
+ <span class="unit">{{ _unit() }}</span>
439
436
  }
440
437
  }
441
438
  }
442
439
  </ng-template>
443
440
  <ng-template #textWrap>
444
- @if (showDefault) {
441
+ @if (showDefault()) {
445
442
  {{ safeOpt.default?.text }}
446
443
  } @else {
447
444
  @if (safeOpt.tooltip) {
@@ -453,7 +450,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
453
450
  }
454
451
  }
455
452
  </ng-template>
456
- @if (loading) {
453
+ @if (loading()) {
457
454
  <nz-icon nzType="loading" />
458
455
  } @else {
459
456
  <ng-template [ngTemplateOutlet]="textWrap" />
@@ -476,24 +473,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
476
473
  CellHostDirective
477
474
  ]
478
475
  }]
479
- }], propDecorators: { value: [{
480
- type: Input
481
- }], valueChange: [{
482
- type: Output
483
- }], options: [{
484
- type: Input
485
- }], loading: [{
486
- type: Input,
487
- args: [{ transform: booleanAttribute }]
488
- }], disabled: [{
489
- type: Input,
490
- args: [{ transform: booleanAttribute }]
491
- }] } });
476
+ }], ctorParameters: () => [] });
492
477
 
493
478
  const COMPS = [CellComponent];
494
479
  class CellModule {
495
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
496
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: CellModule, imports: [CommonModule,
480
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
481
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: CellModule, imports: [CommonModule,
497
482
  FormsModule,
498
483
  NzCheckboxModule,
499
484
  NzRadioModule,
@@ -502,7 +487,7 @@ class CellModule {
502
487
  NzToolTipModule,
503
488
  NzIconModule,
504
489
  NzImageModule$1, CellComponent, CellHostDirective], exports: [CellComponent] });
505
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellModule, imports: [CommonModule,
490
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellModule, imports: [CommonModule,
506
491
  FormsModule,
507
492
  NzCheckboxModule,
508
493
  NzRadioModule,
@@ -512,7 +497,7 @@ class CellModule {
512
497
  NzIconModule,
513
498
  NzImageModule$1, COMPS] });
514
499
  }
515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CellModule, decorators: [{
500
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: CellModule, decorators: [{
516
501
  type: NgModule,
517
502
  args: [{
518
503
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"cell.mjs","sources":["../../../../packages/abc/cell/cell.service.ts","../../../../packages/abc/cell/cell-host.directive.ts","../../../../packages/abc/cell/cell.component.ts","../../../../packages/abc/cell/cell.module.ts","../../../../packages/abc/cell/provide.ts","../../../../packages/abc/cell/cell.ts"],"sourcesContent":["import { Injectable, Type, inject } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { map, Observable, of } from 'rxjs';\n\nimport { yn } from '@delon/theme';\nimport { AlainConfigService } from '@delon/util/config';\nimport { formatDate } from '@delon/util/date-time';\nimport { CurrencyService, formatMask } from '@delon/util/format';\nimport { deepMerge } from '@delon/util/other';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { NzI18nService } from 'ng-zorro-antd/i18n';\n\nimport type {\n CellFuValue,\n CellOptions,\n CellTextResult,\n CellTextUnit,\n CellType,\n CellWidget,\n CellWidgetFn\n} from './cell.types';\n\n@Injectable({ providedIn: 'root' })\nexport class CellService {\n private readonly nzI18n = inject(NzI18nService);\n private readonly currency = inject(CurrencyService);\n private readonly dom = inject(DomSanitizer);\n private readonly configSrv = inject(AlainConfigService);\n private globalOptions = this.configSrv.merge('cell', {\n date: { format: 'yyyy-MM-dd HH:mm:ss' },\n img: { size: 32 },\n default: { text: '-' }\n })!;\n private widgets: { [key: string]: CellWidget } = {\n date: {\n type: 'fn',\n ref: (value, opt) => {\n return {\n text: formatDate(value as string, opt.date!.format!, {\n locale: this.nzI18n.getDateLocale(),\n customFormat: this.configSrv.get('themePipe')?.dateFormatCustom\n })\n };\n }\n },\n mega: {\n type: 'fn',\n ref: (value, opt) => {\n const res = this.currency.mega(value as number, opt.mega);\n return { text: res.value, unit: res.unitI18n };\n }\n },\n currency: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.currency.format(value as number, opt.currency) };\n }\n },\n cny: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.currency.cny(value as number, opt.cny) };\n }\n },\n boolean: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.dom.bypassSecurityTrustHtml(yn(value as boolean, opt.boolean)) };\n }\n },\n img: {\n type: 'fn',\n ref: value => {\n return { text: Array.isArray(value) ? value : [value] };\n }\n }\n };\n\n registerWidget(key: string, widget: Type<unknown>): void {\n this.widgets[key] = { type: 'widget', ref: widget };\n }\n\n getWidget(key: string): CellWidget | undefined {\n return this.widgets[key];\n }\n\n private genType(value: unknown, options: CellOptions): CellType {\n if (options.type != null) return options.type;\n\n const typeOf = typeof value;\n // When is timestamp\n if (typeOf === 'number' && /^[0-9]{13}$/g.test(value as string)) return 'date';\n if (value instanceof Date || options.date != null) return 'date';\n\n // Auto detection\n if (options.widget != null) return 'widget';\n else if (options.mega != null) return 'mega';\n else if (options.currency != null) return 'currency';\n else if (options.cny != null) return 'cny';\n else if (options.img != null) return 'img';\n else if (options.link != null) return 'link';\n else if (options.html != null) return 'html';\n else if (options.badge != null) return 'badge';\n else if (options.tag != null) return 'tag';\n else if (options.checkbox != null) return 'checkbox';\n else if (options.radio != null) return 'radio';\n else if (options.enum != null) return 'enum';\n else if (typeOf === 'number') return 'number';\n else if (typeOf === 'boolean' || options.boolean != null) return 'boolean';\n else return 'string';\n }\n\n fixOptions(options?: CellOptions): CellOptions {\n return deepMerge({}, this.globalOptions, options);\n }\n\n get(value: unknown, options?: CellOptions): Observable<CellTextResult> {\n const type = this.genType(value, { ...options });\n const opt = this.fixOptions(options);\n opt.type = type;\n const isSafeHtml =\n typeof value === 'object' &&\n typeof (value as NzSafeAny)?.getTypeName === 'function' &&\n (value as NzSafeAny)?.getTypeName() != null;\n\n let res: CellTextResult = {\n result:\n typeof value === 'object' && !isSafeHtml\n ? (value as CellTextUnit)\n : { text: value == null ? '' : isSafeHtml ? value : `${value}` },\n options: opt\n };\n\n const widget = this.widgets[type];\n if (widget?.type === 'fn') {\n res.result = (widget.ref as CellWidgetFn)(value, opt);\n }\n\n return (typeof value === 'function' ? (value as CellFuValue)(value, opt) : of(res.result)).pipe(\n map(text => {\n res.result = text;\n let dictData: { tooltip?: string } | undefined;\n switch (type) {\n case 'badge':\n dictData = (opt.badge?.data ?? {})[value as string];\n res.result = { color: 'default', ...dictData };\n break;\n case 'tag':\n dictData = (opt.tag?.data ?? {})[value as string];\n res.result = dictData as CellTextUnit;\n break;\n case 'enum':\n res.result = { text: (opt.enum ?? {})[value as string] };\n break;\n case 'html':\n res.safeHtml = opt.html?.safe;\n break;\n case 'string':\n if (isSafeHtml) res.safeHtml = 'safeHtml';\n break;\n }\n if ((type === 'badge' || type === 'tag') && dictData?.tooltip != null) {\n res.options.tooltip = dictData.tooltip;\n }\n if (opt.mask != null) {\n res.result.text = formatMask(res.result.text as string, opt.mask);\n }\n return res;\n })\n );\n }\n}\n","import { Directive, Input, OnChanges, Type, ViewContainerRef, inject } from '@angular/core';\n\nimport { warn } from '@delon/util/other';\n\nimport { CellService } from './cell.service';\nimport { CellTextResult } from './cell.types';\n\n@Directive({\n selector: '[cell-widget-host]'\n})\nexport class CellHostDirective implements OnChanges {\n private readonly srv = inject(CellService);\n private readonly vcr = inject(ViewContainerRef);\n\n @Input() data!: CellTextResult;\n\n ngOnChanges(): void {\n const widget = this.data.options.widget!;\n const componentType = this.srv.getWidget(widget.key!)?.ref as Type<unknown>;\n if (componentType == null) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n warn(`cell: No widget for type \"${widget.key}\"`);\n }\n return;\n }\n\n this.vcr.clear();\n const componentRef = this.vcr.createComponent(componentType);\n (componentRef.instance as { data: CellTextResult }).data = this.data;\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n Output,\n Renderer2,\n SimpleChange,\n ViewEncapsulation,\n booleanAttribute,\n inject\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport type { SafeValue } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { Subscription } from 'rxjs';\n\nimport { updateHostClass } from '@delon/util/browser';\nimport { WINDOW } from '@delon/util/token';\nimport { NzBadgeComponent } from 'ng-zorro-antd/badge';\nimport { NzCheckboxComponent } from 'ng-zorro-antd/checkbox';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { NzIconDirective } from 'ng-zorro-antd/icon';\nimport { NzImage, NzImageModule, NzImageService } from 'ng-zorro-antd/image';\nimport { NzRadioComponent } from 'ng-zorro-antd/radio';\nimport { NzTagComponent } from 'ng-zorro-antd/tag';\nimport { NzTooltipDirective } from 'ng-zorro-antd/tooltip';\n\nimport { CellHostDirective } from './cell-host.directive';\nimport { CellService } from './cell.service';\nimport type { CellDefaultText, CellOptions, CellTextResult, CellValue } from './cell.types';\n\n@Component({\n selector: 'cell, [cell]',\n template: `\n <ng-template #text>\n @switch (safeOpt.type) {\n @case ('checkbox') {\n <label nz-checkbox [nzDisabled]=\"disabled\" [ngModel]=\"value\" (ngModelChange)=\"change($event)\">\n {{ safeOpt.checkbox?.label }}\n </label>\n }\n @case ('radio') {\n <label nz-radio [nzDisabled]=\"disabled\" [ngModel]=\"value\" (ngModelChange)=\"change($event)\">\n {{ safeOpt.radio?.label }}\n </label>\n }\n @case ('link') {\n <a (click)=\"_link($event)\" [attr.target]=\"safeOpt.link?.target\" [attr.title]=\"value\" [innerHTML]=\"_text\"></a>\n }\n @case ('tag') {\n <nz-tag [nzColor]=\"res?.result?.color\">\n <span [innerHTML]=\"_text\"></span>\n </nz-tag>\n }\n @case ('badge') {\n <nz-badge [nzStatus]=\"res?.result?.color\" nzText=\"{{ _text }}\" />\n }\n @case ('widget') {\n @if (res) {\n <ng-template cell-widget-host [data]=\"res\" />\n }\n }\n @case ('img') {\n @for (i of $any(_text); track $index) {\n @let img = safeOpt.img;\n <img\n [attr.src]=\"i\"\n [attr.height]=\"img?.size\"\n [attr.width]=\"img?.size\"\n (click)=\"_showImg(i)\"\n class=\"img\"\n [class.point]=\"img?.big\"\n />\n }\n }\n @default {\n @if (isText) {\n <span [innerText]=\"_text\" [attr.title]=\"value\"></span>\n } @else {\n <span [innerHTML]=\"_text\" [attr.title]=\"value\"></span>\n }\n @if (_unit) {\n <span class=\"unit\">{{ _unit }}</span>\n }\n }\n }\n </ng-template>\n <ng-template #textWrap>\n @if (showDefault) {\n {{ safeOpt.default?.text }}\n } @else {\n @if (safeOpt.tooltip) {\n <span [nz-tooltip]=\"safeOpt.tooltip\">\n <ng-template [ngTemplateOutlet]=\"text\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"text\" />\n }\n }\n </ng-template>\n @if (loading) {\n <nz-icon nzType=\"loading\" />\n } @else {\n <ng-template [ngTemplateOutlet]=\"textWrap\" />\n }\n `,\n exportAs: 'cell',\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n FormsModule,\n NgTemplateOutlet,\n NzCheckboxComponent,\n NzRadioComponent,\n NzIconDirective,\n NzTagComponent,\n NzBadgeComponent,\n NzTooltipDirective,\n NzImageModule,\n CellHostDirective\n ]\n})\nexport class CellComponent implements OnChanges, OnDestroy {\n private readonly srv = inject(CellService);\n private readonly router = inject(Router);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly renderer = inject(Renderer2);\n private readonly imgSrv = inject(NzImageService);\n private readonly win = inject(WINDOW);\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n\n private destroy$?: Subscription;\n\n _text!: string | SafeValue | string[] | number;\n _unit?: string;\n res?: CellTextResult;\n showDefault = false;\n\n @Input() value?: CellValue;\n @Output() readonly valueChange = new EventEmitter<NzSafeAny>();\n @Input() options?: CellOptions;\n @Input({ transform: booleanAttribute }) loading = false;\n @Input({ transform: booleanAttribute }) disabled = false;\n\n get safeOpt(): CellOptions {\n return this.res?.options ?? {};\n }\n\n get isText(): boolean {\n return this.res?.safeHtml === 'text';\n }\n\n private updateValue(): void {\n this.destroy$?.unsubscribe();\n this.destroy$ = this.srv.get(this.value, this.options).subscribe(res => {\n this.res = res;\n this.showDefault = this.value == (this.safeOpt.default as CellDefaultText).condition;\n this._text = res.result?.text ?? '';\n this._unit = res.result?.unit ?? this.safeOpt?.unit;\n this.cdr.detectChanges();\n this.setClass();\n });\n }\n\n private setClass(): void {\n const { el, renderer } = this;\n const { renderType, size, type } = this.safeOpt;\n updateHostClass(el, renderer, {\n [`cell`]: true,\n [`cell__${renderType}`]: renderType != null,\n [`cell__${size}`]: size != null,\n [`cell__has-unit`]: this._unit,\n [`cell__has-default`]: this.showDefault,\n [`cell__disabled`]: this.disabled\n });\n el.setAttribute('data-type', `${type}`);\n }\n\n ngOnChanges(changes: { [p in keyof CellComponent]?: SimpleChange }): void {\n // Do not call updateValue when only updating loading, disabled\n if (Object.keys(changes).every(k => ['loading', 'disabled'].includes(k))) {\n this.setClass();\n } else {\n this.updateValue();\n }\n }\n\n change(value: NzSafeAny): void {\n this.value = value;\n this.valueChange.emit(value);\n }\n\n _link(e: Event): void {\n e.preventDefault();\n e.stopPropagation();\n\n if (this.disabled) return;\n\n const link = this.safeOpt.link;\n const url = link?.url;\n if (url == null) return;\n\n if (/https?:\\/\\//g.test(url)) {\n this.win.open(url, link?.target);\n } else {\n this.router.navigateByUrl(url);\n }\n }\n\n _showImg(img: string): void {\n const config = this.safeOpt.img;\n if (config == null || config.big == null) return;\n\n let idx = -1;\n const list = (this._text as string[]).map((p, index) => {\n if (idx === -1 && p === img) idx = index;\n return typeof config.big === 'function' ? config.big(p) : p;\n });\n this.imgSrv\n .preview(\n list.map(p => ({ src: p }) as NzImage),\n config.previewOptions\n )\n .switchTo(idx);\n }\n\n ngOnDestroy(): void {\n this.destroy$?.unsubscribe();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { NzBadgeModule } from 'ng-zorro-antd/badge';\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\nimport { NzImageModule } from 'ng-zorro-antd/experimental/image';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\nimport { NzToolTipModule } from 'ng-zorro-antd/tooltip';\n\nimport { CellHostDirective } from './cell-host.directive';\nimport { CellComponent } from './cell.component';\n\nconst COMPS = [CellComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n NzCheckboxModule,\n NzRadioModule,\n NzBadgeModule,\n NzTagModule,\n NzToolTipModule,\n NzIconModule,\n NzImageModule,\n ...COMPS,\n CellHostDirective\n ],\n exports: COMPS\n})\nexport class CellModule {}\n","import { EnvironmentProviders, inject, makeEnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { CellService } from './cell.service';\n\nexport interface CellWidgetProvideConfig {\n KEY: string;\n type: NzSafeAny;\n}\n\n/**\n * Just only using Standalone widgets\n */\nexport function provideCellWidgets(...widgets: CellWidgetProvideConfig[]): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer(() => {\n const srv = inject(CellService);\n widgets.forEach(widget => srv.registerWidget(widget.KEY, widget.type));\n })\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["NzImageModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAuBa,WAAW,CAAA;AACL,IAAA,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AAC9B,IAAA,QAAQ,GAAG,MAAM,CAAC,eAAe,C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AACtE,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAK;AACjC,YAAA,MAAM,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC;YAC/B,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;AACxE,SAAC;AACF,KAAA,CAAC;AACJ;;ACrBA;;AAEG;;;;"}
1
+ {"version":3,"file":"cell.mjs","sources":["../../../../packages/abc/cell/cell.service.ts","../../../../packages/abc/cell/cell-host.directive.ts","../../../../packages/abc/cell/cell.component.ts","../../../../packages/abc/cell/cell.module.ts","../../../../packages/abc/cell/provide.ts","../../../../packages/abc/cell/cell.ts"],"sourcesContent":["import { Injectable, Type, inject } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { map, Observable, of } from 'rxjs';\n\nimport { yn } from '@delon/theme';\nimport { AlainConfigService } from '@delon/util/config';\nimport { formatDate } from '@delon/util/date-time';\nimport { CurrencyService, formatMask } from '@delon/util/format';\nimport { deepMerge } from '@delon/util/other';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { NzI18nService } from 'ng-zorro-antd/i18n';\n\nimport type {\n CellFuValue,\n CellOptions,\n CellTextResult,\n CellTextUnit,\n CellType,\n CellWidget,\n CellWidgetFn\n} from './cell.types';\n\n@Injectable({ providedIn: 'root' })\nexport class CellService {\n private readonly nzI18n = inject(NzI18nService);\n private readonly currency = inject(CurrencyService);\n private readonly dom = inject(DomSanitizer);\n private readonly configSrv = inject(AlainConfigService);\n private globalOptions = this.configSrv.merge('cell', {\n date: { format: 'yyyy-MM-dd HH:mm:ss' },\n img: { size: 32 },\n default: { text: '-' }\n })!;\n private widgets: Record<string, CellWidget> = {\n date: {\n type: 'fn',\n ref: (value, opt) => {\n return {\n text: formatDate(value as string, opt.date!.format!, {\n locale: this.nzI18n.getDateLocale(),\n customFormat: this.configSrv.get('themePipe')?.dateFormatCustom\n })\n };\n }\n },\n mega: {\n type: 'fn',\n ref: (value, opt) => {\n const res = this.currency.mega(value as number, opt.mega);\n return { text: res.value, unit: res.unitI18n };\n }\n },\n currency: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.currency.format(value as number, opt.currency) };\n }\n },\n cny: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.currency.cny(value as number, opt.cny) };\n }\n },\n boolean: {\n type: 'fn',\n ref: (value, opt) => {\n return { text: this.dom.bypassSecurityTrustHtml(yn(value as boolean, opt.boolean)) };\n }\n },\n img: {\n type: 'fn',\n ref: value => {\n return { text: Array.isArray(value) ? value : [value] };\n }\n }\n };\n\n registerWidget(key: string, widget: Type<unknown>): void {\n this.widgets[key] = { type: 'widget', ref: widget };\n }\n\n getWidget(key: string): CellWidget | undefined {\n return this.widgets[key];\n }\n\n private genType(value: unknown, options: CellOptions): CellType {\n if (options.type != null) return options.type;\n\n const typeOf = typeof value;\n // When is timestamp\n if (typeOf === 'number' && /^[0-9]{13}$/g.test(value as string)) return 'date';\n if (value instanceof Date || options.date != null) return 'date';\n\n // Auto detection\n if (options.widget != null) return 'widget';\n else if (options.mega != null) return 'mega';\n else if (options.currency != null) return 'currency';\n else if (options.cny != null) return 'cny';\n else if (options.img != null) return 'img';\n else if (options.link != null) return 'link';\n else if (options.html != null) return 'html';\n else if (options.badge != null) return 'badge';\n else if (options.tag != null) return 'tag';\n else if (options.checkbox != null) return 'checkbox';\n else if (options.radio != null) return 'radio';\n else if (options.enum != null) return 'enum';\n else if (typeOf === 'number') return 'number';\n else if (typeOf === 'boolean' || options.boolean != null) return 'boolean';\n else return 'string';\n }\n\n fixOptions(options?: CellOptions): CellOptions {\n return deepMerge({}, this.globalOptions, options);\n }\n\n get(value: unknown, options?: CellOptions): Observable<CellTextResult> {\n const type = this.genType(value, { ...options });\n const opt = this.fixOptions(options);\n opt.type = type;\n const isSafeHtml =\n typeof value === 'object' &&\n typeof (value as NzSafeAny)?.getTypeName === 'function' &&\n (value as NzSafeAny)?.getTypeName() != null;\n\n let res: CellTextResult = {\n result:\n typeof value === 'object' && !isSafeHtml\n ? (value as CellTextUnit)\n : { text: value == null ? '' : isSafeHtml ? value : `${value}` },\n options: opt\n };\n\n const widget = this.widgets[type];\n if (widget?.type === 'fn') {\n res.result = (widget.ref as CellWidgetFn)(value, opt);\n }\n\n return (typeof value === 'function' ? (value as CellFuValue)(value, opt) : of(res.result)).pipe(\n map(text => {\n res.result = text;\n let dictData: { tooltip?: string } | undefined;\n switch (type) {\n case 'badge':\n dictData = (opt.badge?.data ?? {})[value as string];\n res.result = { color: 'default', ...dictData };\n break;\n case 'tag':\n dictData = (opt.tag?.data ?? {})[value as string];\n res.result = dictData as CellTextUnit;\n break;\n case 'enum':\n res.result = { text: (opt.enum ?? {})[value as string] };\n break;\n case 'html':\n res.safeHtml = opt.html?.safe;\n break;\n case 'string':\n if (isSafeHtml) res.safeHtml = 'safeHtml';\n break;\n }\n if ((type === 'badge' || type === 'tag') && dictData?.tooltip != null) {\n res.options.tooltip = dictData.tooltip;\n }\n if (opt.mask != null) {\n res.result.text = formatMask(res.result.text as string, opt.mask);\n }\n return res;\n })\n );\n }\n}\n","import { Directive, Type, ViewContainerRef, effect, inject, input } from '@angular/core';\n\nimport { warn } from '@delon/util/other';\n\nimport { CellService } from './cell.service';\nimport { CellTextResult } from './cell.types';\n\n@Directive({\n selector: '[cell-widget-host]'\n})\nexport class CellHostDirective {\n private readonly srv = inject(CellService);\n private readonly vcr = inject(ViewContainerRef);\n\n data = input.required<CellTextResult>();\n\n constructor() {\n effect(() => {\n const data = this.data();\n const widget = data.options.widget!;\n const componentType = this.srv.getWidget(widget.key!)?.ref as Type<unknown>;\n if (componentType == null) {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n warn(`cell: No widget for type \"${widget.key}\"`);\n }\n return;\n }\n\n this.vcr.clear();\n const componentRef = this.vcr.createComponent(componentType);\n (componentRef.instance as { data: CellTextResult }).data = data;\n });\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n OnDestroy,\n Renderer2,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n effect,\n inject,\n input,\n model,\n signal\n} from '@angular/core';\nimport { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';\nimport { FormsModule } from '@angular/forms';\nimport type { SafeValue } from '@angular/platform-browser';\nimport { Router } from '@angular/router';\nimport { combineLatest, Subscription, take } from 'rxjs';\n\nimport { updateHostClass } from '@delon/util/browser';\nimport { WINDOW } from '@delon/util/token';\nimport { NzBadgeComponent } from 'ng-zorro-antd/badge';\nimport { NzCheckboxComponent } from 'ng-zorro-antd/checkbox';\nimport { NzIconDirective } from 'ng-zorro-antd/icon';\nimport { NzImage, NzImageModule, NzImageService } from 'ng-zorro-antd/image';\nimport { NzRadioComponent } from 'ng-zorro-antd/radio';\nimport { NzTagComponent } from 'ng-zorro-antd/tag';\nimport { NzTooltipDirective } from 'ng-zorro-antd/tooltip';\n\nimport { CellHostDirective } from './cell-host.directive';\nimport { CellService } from './cell.service';\nimport type { CellDefaultText, CellOptions, CellTextResult, CellValue } from './cell.types';\n\n@Component({\n selector: 'cell, [cell]',\n template: `\n <ng-template #text>\n @let res = _res();\n @let text = _text();\n @switch (safeOpt.type) {\n @case ('checkbox') {\n <label nz-checkbox [nzDisabled]=\"disabled()\" [ngModel]=\"value()\" (ngModelChange)=\"value.set($event)\">\n {{ safeOpt.checkbox?.label }}\n </label>\n }\n @case ('radio') {\n <label nz-radio [nzDisabled]=\"disabled()\" [ngModel]=\"value()\" (ngModelChange)=\"value.set($event)\">\n {{ safeOpt.radio?.label }}\n </label>\n }\n @case ('link') {\n <a (click)=\"_link($event)\" [attr.target]=\"safeOpt.link?.target\" [attr.title]=\"value()\" [innerHTML]=\"text\"></a>\n }\n @case ('tag') {\n <nz-tag [nzColor]=\"res?.result?.color\">\n <span [innerHTML]=\"text\"></span>\n </nz-tag>\n }\n @case ('badge') {\n <nz-badge [nzStatus]=\"res?.result?.color\" nzText=\"{{ text }}\" />\n }\n @case ('widget') {\n @if (res) {\n <ng-template cell-widget-host [data]=\"res\" />\n }\n }\n @case ('img') {\n @for (i of $any(text); track $index) {\n @let img = safeOpt.img;\n <img\n [attr.src]=\"i\"\n [attr.height]=\"img?.size\"\n [attr.width]=\"img?.size\"\n (click)=\"_showImg(i)\"\n class=\"img\"\n [class.point]=\"img?.big\"\n />\n }\n }\n @default {\n @if (isText()) {\n <span [innerText]=\"text\" [attr.title]=\"value()\"></span>\n } @else {\n <span [innerHTML]=\"text\" [attr.title]=\"value()\"></span>\n }\n @if (_unit()) {\n <span class=\"unit\">{{ _unit() }}</span>\n }\n }\n }\n </ng-template>\n <ng-template #textWrap>\n @if (showDefault()) {\n {{ safeOpt.default?.text }}\n } @else {\n @if (safeOpt.tooltip) {\n <span [nz-tooltip]=\"safeOpt.tooltip\">\n <ng-template [ngTemplateOutlet]=\"text\" />\n </span>\n } @else {\n <ng-template [ngTemplateOutlet]=\"text\" />\n }\n }\n </ng-template>\n @if (loading()) {\n <nz-icon nzType=\"loading\" />\n } @else {\n <ng-template [ngTemplateOutlet]=\"textWrap\" />\n }\n `,\n exportAs: 'cell',\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n FormsModule,\n NgTemplateOutlet,\n NzCheckboxComponent,\n NzRadioComponent,\n NzIconDirective,\n NzTagComponent,\n NzBadgeComponent,\n NzTooltipDirective,\n NzImageModule,\n CellHostDirective\n ]\n})\nexport class CellComponent implements OnDestroy {\n private readonly srv = inject(CellService);\n private readonly router = inject(Router);\n private readonly renderer = inject(Renderer2);\n private readonly imgSrv = inject(NzImageService);\n private readonly win = inject(WINDOW);\n private readonly el: HTMLElement = inject(ElementRef).nativeElement;\n\n private destroy$?: Subscription;\n\n _text = signal<string | SafeValue | string[] | number>('');\n _unit = signal<string | undefined>(undefined);\n _res = signal<CellTextResult | undefined>(undefined);\n showDefault = computed(() => this.value() == (this.safeOpt.default as CellDefaultText)?.condition);\n\n value = model<CellValue>();\n options = input<CellOptions>();\n loading = input(false, { transform: booleanAttribute });\n disabled = input(false, { transform: booleanAttribute });\n\n get safeOpt(): CellOptions {\n return this._res()?.options ?? {};\n }\n\n isText = computed(() => this._res()?.safeHtml === 'text');\n\n constructor() {\n combineLatest([toObservable(this.loading), toObservable(this.disabled)])\n .pipe(takeUntilDestroyed())\n .subscribe(() => this.setClass());\n\n effect(() => {\n const v = this.value();\n const o = this.options();\n this.destroy$?.unsubscribe();\n this.destroy$ = this.srv\n .get(v, o)\n .pipe(take(1))\n .subscribe(res => {\n this._res.set(res);\n this._text.set(res.result?.text ?? '');\n this._unit.set(res.result?.unit ?? this.safeOpt?.unit);\n this.setClass();\n });\n });\n }\n\n private setClass(): void {\n const { el, renderer } = this;\n const { renderType, size, type } = this.safeOpt;\n updateHostClass(el, renderer, {\n [`cell`]: true,\n [`cell__${renderType}`]: renderType != null,\n [`cell__${size}`]: size != null,\n [`cell__has-unit`]: this._unit(),\n [`cell__has-default`]: this.showDefault(),\n [`cell__disabled`]: this.disabled()\n });\n el.setAttribute('data-type', `${type}`);\n }\n\n _link(e: Event): void {\n e.preventDefault();\n e.stopPropagation();\n\n if (this.disabled()) return;\n\n const link = this.safeOpt.link;\n const url = link?.url;\n if (url == null) return;\n\n if (/https?:\\/\\//g.test(url)) {\n this.win.open(url, link?.target);\n } else {\n this.router.navigateByUrl(url);\n }\n }\n\n _showImg(img: string): void {\n const config = this.safeOpt.img;\n if (config == null || config.big == null) return;\n\n let idx = -1;\n const list = (this._text() as string[]).map((p, index) => {\n if (idx === -1 && p === img) idx = index;\n return typeof config.big === 'function' ? config.big(p) : p;\n });\n this.imgSrv\n .preview(\n list.map(p => ({ src: p }) as NzImage),\n config.previewOptions\n )\n .switchTo(idx);\n }\n\n ngOnDestroy(): void {\n this.destroy$?.unsubscribe();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { NzBadgeModule } from 'ng-zorro-antd/badge';\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\nimport { NzImageModule } from 'ng-zorro-antd/experimental/image';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzTagModule } from 'ng-zorro-antd/tag';\nimport { NzToolTipModule } from 'ng-zorro-antd/tooltip';\n\nimport { CellHostDirective } from './cell-host.directive';\nimport { CellComponent } from './cell.component';\n\nconst COMPS = [CellComponent];\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n NzCheckboxModule,\n NzRadioModule,\n NzBadgeModule,\n NzTagModule,\n NzToolTipModule,\n NzIconModule,\n NzImageModule,\n ...COMPS,\n CellHostDirective\n ],\n exports: COMPS\n})\nexport class CellModule {}\n","import { EnvironmentProviders, inject, makeEnvironmentProviders, provideEnvironmentInitializer } from '@angular/core';\n\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { CellService } from './cell.service';\n\nexport interface CellWidgetProvideConfig {\n KEY: string;\n type: NzSafeAny;\n}\n\n/**\n * Just only using Standalone widgets\n */\nexport function provideCellWidgets(...widgets: CellWidgetProvideConfig[]): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer(() => {\n const srv = inject(CellService);\n widgets.forEach(widget => srv.registerWidget(widget.KEY, widget.type));\n })\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["NzImageModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAuBa,WAAW,CAAA;AACL,IAAA,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AAC9B,IAAA,QAAQ,GAAG,MAAM,CAAC,eAAe,CAAC;AAClC,IAAA,GAAG,GAAG,MAAM,CAAC,YAAY,CAAC;AAC1B,IAAA,SAAS,GAAG,MAAM,C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A,EAAA,CAAA;;2FAKC,UAAU,EAAA,UAAA,EAAA,CAAA;kBAhBtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,gBAAgB;wBAChB,aAAa;wBACb,aAAa;wBACb,WAAW;wBACX,eAAe;wBACf,YAAY;wBACZA,eAAa;AACb,wBAAA,GAAG,KAAK;wBACR;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;AACV,iBAAA;;;ACrBD;;AAEG;AACa,SAAA,kBAAkB,CAAC,GAAG,OAAkC,EAAA;AACtE,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAK;AACjC,YAAA,MAAM,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC;YAC/B,OAAO,CAAC,OAAO,CAAC,MAAM,IAAI,GAAG,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;AACxE,SAAC;AACF,KAAA,CAAC;AACJ;;ACrBA;;AAEG;;;;"}
@@ -54,10 +54,10 @@ class SizeObserver {
54
54
  this._observedElements.delete(element);
55
55
  }
56
56
  }
57
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: SizeObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
58
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: SizeObserver, providedIn: 'root' });
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SizeObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
58
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SizeObserver, providedIn: 'root' });
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: SizeObserver, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SizeObserver, decorators: [{
61
61
  type: Injectable,
62
62
  args: [{ providedIn: 'root' }]
63
63
  }] });
@@ -85,10 +85,10 @@ class ObserverSize {
85
85
  ngOnDestroy() {
86
86
  this._unsub();
87
87
  }
88
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ObserverSize, deps: [], target: i0.ɵɵFactoryTarget.Directive });
89
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.1", type: ObserverSize, isStandalone: true, selector: "[observeSize]", outputs: { event: "observeSize" }, exportAs: ["observeSize"], ngImport: i0 });
88
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ObserverSize, deps: [], target: i0.ɵɵFactoryTarget.Directive });
89
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.6", type: ObserverSize, isStandalone: true, selector: "[observeSize]", outputs: { event: "observeSize" }, exportAs: ["observeSize"], ngImport: i0 });
90
90
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ObserverSize, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ObserverSize, decorators: [{
92
92
  type: Directive,
93
93
  args: [{
94
94
  selector: '[observeSize]',
@@ -99,11 +99,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
99
99
  args: ['observeSize']
100
100
  }] } });
101
101
  class ObserversModule {
102
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
103
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.1", ngImport: i0, type: ObserversModule, imports: [ObserverSize], exports: [ObserverSize] });
104
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ObserversModule });
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
103
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.6", ngImport: i0, type: ObserversModule, imports: [ObserverSize], exports: [ObserverSize] });
104
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ObserversModule });
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ObserversModule, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: ObserversModule, decorators: [{
107
107
  type: NgModule,
108
108
  args: [{
109
109
  exports: [ObserverSize],