@alauda-fe/common 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/api/auth-api.service.d.ts +14 -0
  2. package/api/platform-ui.service.d.ts +1 -0
  3. package/api/public-api.d.ts +1 -0
  4. package/array-form-table/form/component.d.ts +7 -3
  5. package/assets/icons/icon-refresh-drag.svg +1 -0
  6. package/authorization/interceptor.service.d.ts +2 -0
  7. package/authorization/public-api.d.ts +1 -0
  8. package/authorization/session-manage.service.d.ts +2 -4
  9. package/authorization/state.service.d.ts +9 -8
  10. package/authorization/storage-token.d.ts +4 -10
  11. package/core/abstract/base-nested-form-control.d.ts +1 -1
  12. package/core/directives/feature-gate.directive.d.ts +2 -1
  13. package/core/directives/scroll-to-first-invalid.directive.d.ts +1 -1
  14. package/core/pipes/minimum-format.pipe.d.ts +1 -1
  15. package/core/services/feature-gate.service.d.ts +2 -1
  16. package/core/types/commons.d.ts +2 -0
  17. package/core/types/k8s/crd.d.ts +64 -0
  18. package/core/types/resource-definitions.d.ts +3 -3
  19. package/core/utils/cache-store.d.ts +15 -13
  20. package/core/utils/common.d.ts +1 -0
  21. package/core/utils/version.d.ts +1 -1
  22. package/effect-directive/event.directive.d.ts +36 -0
  23. package/esm2022/api/auth-api.service.mjs +34 -0
  24. package/esm2022/api/platform-ui.service.mjs +2 -1
  25. package/esm2022/api/public-api.mjs +2 -1
  26. package/esm2022/array-form-table/form/component.mjs +30 -15
  27. package/esm2022/authorization/interceptor.service.mjs +32 -10
  28. package/esm2022/authorization/public-api.mjs +2 -1
  29. package/esm2022/authorization/session-manage.service.mjs +11 -24
  30. package/esm2022/authorization/state.service.mjs +51 -23
  31. package/esm2022/authorization/storage-token.mjs +12 -88
  32. package/esm2022/core/directives/feature-gate.directive.mjs +7 -4
  33. package/esm2022/core/guards/feature.guard.mjs +3 -2
  34. package/esm2022/core/pipes/minimum-format.pipe.mjs +4 -3
  35. package/esm2022/core/services/feature-gate.service.mjs +4 -3
  36. package/esm2022/core/types/commons.mjs +1 -1
  37. package/esm2022/core/types/k8s/crd.mjs +8 -1
  38. package/esm2022/core/types/resource-definitions.mjs +2 -2
  39. package/esm2022/core/utils/cache-store.mjs +51 -29
  40. package/esm2022/core/utils/common.mjs +9 -1
  41. package/esm2022/effect-directive/event.directive.mjs +79 -4
  42. package/esm2022/k8s-resource-list/footer/component.mjs +7 -5
  43. package/esm2022/multi-search/multi-search-tags/component.mjs +2 -2
  44. package/esm2022/multi-search/types.mjs +1 -1
  45. package/esm2022/page-scaffold/page-header/account-menu/component/component.mjs +3 -8
  46. package/esm2022/pod-status/component.mjs +34 -55
  47. package/esm2022/searchable-selector/component.mjs +2 -2
  48. package/k8s-resource-list/k8s-resource-paged-list.d.ts +2 -2
  49. package/multi-search/types.d.ts +1 -0
  50. package/package.json +1 -1
  51. package/pod-status/component.d.ts +1 -3
  52. package/styles/tailwind-preset.scss +1 -1
  53. package/table/component.d.ts +1 -1
  54. package/table/helper.d.ts +1 -1
  55. package/table/module.d.ts +1 -1
@@ -216,7 +216,7 @@ export class SearchableSelectorComponent extends CommonFormControl {
216
216
  } if (rf & 2) {
217
217
  const single_r11 = i0.ɵɵreference(2);
218
218
  i0.ɵɵproperty("ngIf", ctx.multi)("ngIfElse", single_r11);
219
- } }, styles: ["[_nghost-%COMP%]{display:block}.ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input, .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input{border-color:rgb(var(--aui-color-red))!important}:root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)} .option .aui-option{max-width:600px}"], changeDetection: 0 }); }
219
+ } }, styles: ["[_nghost-%COMP%]{display:block}.ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input, .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input, .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input, .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input{border-color:rgb(var(--aui-color-red))!important}:root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, :root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, :root .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=light] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=system] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-submitted[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-select[_ngcontent-%COMP%] .aui-input.isFocused, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input:focus, html[aui-theme-mode=dark] .ng-invalid.ng-dirty[_nghost-%COMP%] aui-multi-select[_ngcontent-%COMP%] .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)} .option .aui-option{max-width:600px}"], changeDetection: 0 }); }
220
220
  }
221
221
  __decorate([
222
222
  ObservableInput(),
@@ -234,7 +234,7 @@ __decorate([
234
234
  useExisting: forwardRef(() => SearchableSelectorComponent),
235
235
  multi: true,
236
236
  },
237
- ], template: "<ng-container *ngIf=\"multi; else single\">\n <aui-multi-select\n auiFormItemControl\n [aclReadonlyField]=\"!!readonly\"\n [aclReadonlyFieldTemplate]=\"temp\"\n [ngModel]=\"model\"\n (ngModelChange)=\"emitValue($event)\"\n [loading]=\"loading\"\n [filterFn]=\"filterFn\"\n (filterChange)=\"filterChange($event)\"\n [placeholder]=\"placeholder ? (placeholder | translate) : ''\"\n [allowCreate]=\"allowCreate\"\n [trackFn]=\"trackFn || defaultTrackFn\"\n [clearable]=\"clearable\"\n [filterable]=\"true\"\n >\n <aui-option\n *ngFor=\"let option of data$ | async\"\n [labelContext]=\"option\"\n [value]=\"option.value\"\n class=\"option\"\n [label]=\"labelTemplate || option.label\"\n >\n <ng-container *ngIf=\"optionTemplate; else normalOption\">\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #normalOption>\n {{ option.label }}\n </ng-template>\n </aui-option>\n <aui-option-placeholder>\n {{ 'no_data' | translate }}\n </aui-option-placeholder>\n <ng-template #temp>\n <aui-tag\n size=\"mini\"\n type=\"info\"\n [border]=\"true\"\n *ngFor=\"let m of $any(model)\"\n >\n {{ m | pure: getLabel:(data$ | async) }}\n </aui-tag>\n </ng-template>\n </aui-multi-select>\n</ng-container>\n<ng-template #single>\n <aui-select\n auiFormItemControl\n [aclReadonlyField]=\"!!readonly\"\n [aclReadonlyFieldTemplate]=\"temps\"\n [ngModel]=\"model\"\n (ngModelChange)=\"emitValue($event)\"\n [loading]=\"loading\"\n [filterFn]=\"filterFn\"\n (filterChange)=\"filterChange($event)\"\n [placeholder]=\"placeholder ? (placeholder | translate) : ''\"\n [allowCreate]=\"allowCreate\"\n [trackFn]=\"trackFn || defaultTrackFn\"\n [clearable]=\"clearable\"\n >\n <aui-option\n *ngFor=\"let option of data$ | async\"\n [labelContext]=\"{ $implicit: option }\"\n [value]=\"option.value\"\n class=\"option\"\n [label]=\"labelTemplate || option.label\"\n [disabled]=\"disableFn ? (option | pure: disableFn:disableParams) : false\"\n [auiTooltip]=\"disableTooltip\"\n [auiTooltipDisabled]=\"\n disableFn ? !(option | pure: disableFn:disableParams) : true\n \"\n >\n <ng-container *ngIf=\"optionTemplate; else normalOption\">\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #normalOption>\n {{ option.label }}\n </ng-template>\n </aui-option>\n <aui-option-placeholder>\n {{ 'no_data' | translate }}\n </aui-option-placeholder>\n\n <ng-template #temps>\n {{ $any(model) | pure: getLabel:(data$ | async) }}\n </ng-template>\n </aui-select>\n</ng-template>\n", styles: [":host{display:block}:host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input,:host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input{border-color:rgb(var(--aui-color-red))!important}:root :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,:root :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}::ng-deep .option .aui-option{max-width:600px}\n"] }]
237
+ ], template: "<ng-container *ngIf=\"multi; else single\">\n <aui-multi-select\n auiFormItemControl\n [aclReadonlyField]=\"!!readonly\"\n [aclReadonlyFieldTemplate]=\"temp\"\n [ngModel]=\"model\"\n (ngModelChange)=\"emitValue($event)\"\n [loading]=\"loading\"\n [filterFn]=\"filterFn\"\n (filterChange)=\"filterChange($event)\"\n [placeholder]=\"placeholder ? (placeholder | translate) : ''\"\n [allowCreate]=\"allowCreate\"\n [trackFn]=\"trackFn || defaultTrackFn\"\n [clearable]=\"clearable\"\n [filterable]=\"true\"\n >\n <aui-option\n *ngFor=\"let option of data$ | async\"\n [labelContext]=\"option\"\n [value]=\"option.value\"\n class=\"option\"\n [label]=\"labelTemplate || option.label\"\n >\n <ng-container *ngIf=\"optionTemplate; else normalOption\">\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #normalOption>\n {{ option.label }}\n </ng-template>\n </aui-option>\n <aui-option-placeholder>\n {{ 'no_data' | translate }}\n </aui-option-placeholder>\n <ng-template #temp>\n <aui-tag\n size=\"mini\"\n type=\"info\"\n [border]=\"true\"\n *ngFor=\"let m of $any(model)\"\n >\n {{ m | pure: getLabel:(data$ | async) }}\n </aui-tag>\n </ng-template>\n </aui-multi-select>\n</ng-container>\n<ng-template #single>\n <aui-select\n auiFormItemControl\n [aclReadonlyField]=\"!!readonly\"\n [aclReadonlyFieldTemplate]=\"temps\"\n [ngModel]=\"model\"\n (ngModelChange)=\"emitValue($event)\"\n [loading]=\"loading\"\n [filterFn]=\"filterFn\"\n (filterChange)=\"filterChange($event)\"\n [placeholder]=\"placeholder ? (placeholder | translate) : ''\"\n [allowCreate]=\"allowCreate\"\n [trackFn]=\"trackFn || defaultTrackFn\"\n [clearable]=\"clearable\"\n >\n <aui-option\n *ngFor=\"let option of data$ | async\"\n [labelContext]=\"{ $implicit: option }\"\n [value]=\"option.value\"\n class=\"option\"\n [label]=\"labelTemplate || option.label\"\n [disabled]=\"disableFn ? (option | pure: disableFn:disableParams) : false\"\n [auiTooltip]=\"disableTooltip\"\n [auiTooltipDisabled]=\"\n disableFn ? !(option | pure: disableFn:disableParams) : true\n \"\n >\n <ng-container *ngIf=\"optionTemplate; else normalOption\">\n <ng-container\n *ngTemplateOutlet=\"optionTemplate; context: { $implicit: option }\"\n ></ng-container>\n </ng-container>\n <ng-template #normalOption>\n {{ option.label }}\n </ng-template>\n </aui-option>\n <aui-option-placeholder>\n {{ 'no_data' | translate }}\n </aui-option-placeholder>\n\n <ng-template #temps>\n {{ $any(model) | pure: getLabel:(data$ | async) }}\n </ng-template>\n </aui-select>\n</ng-template>\n", styles: [":host{display:block}:host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input,:host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input,:host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input,:host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input{border-color:rgb(var(--aui-color-red))!important}:root :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,:root :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input.isFocused,:root :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused,:root :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input:focus,:root :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=light] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=system] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-submitted aui-multi-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-select ::ng-deep .aui-input.isFocused,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input:focus,html[aui-theme-mode=dark] :host.ng-invalid.ng-dirty aui-multi-select ::ng-deep .aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}::ng-deep .option .aui-option{max-width:600px}\n"] }]
238
238
  }], () => [{ type: i1.FormGroupDirective, decorators: [{
239
239
  type: Optional
240
240
  }] }, { type: i0.ChangeDetectorRef }], { errorState: [{
@@ -14,11 +14,11 @@ export declare class K8SResourcePagedList<R extends KubernetesResource = Kuberne
14
14
  loading$: Observable<boolean>;
15
15
  items$: Observable<R[]>;
16
16
  totalItems$: Observable<number>;
17
- loadError$: Observable<HttpErrorResponse | Status>;
17
+ loadError$: Observable<Status | HttpErrorResponse>;
18
18
  $loading: Signal<boolean>;
19
19
  $items: Signal<R[]>;
20
20
  $totalItems: Signal<number>;
21
- $loadError: Signal<HttpErrorResponse | Status>;
21
+ $loadError: Signal<Status | HttpErrorResponse>;
22
22
  constructor(config: PagedListConfig<R, P>);
23
23
  reload(): void;
24
24
  private sourceLoadState;
@@ -27,6 +27,7 @@ export interface SearchTagConfig {
27
27
  }
28
28
  export interface MultiSearchOption {
29
29
  label?: string;
30
+ tagLabel?: string;
30
31
  value: string;
31
32
  group?: string;
32
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda-fe/common",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Alauda frontend team common codes.",
5
5
  "author": "Alauda Frontend",
6
6
  "license": "MIT",
@@ -3,8 +3,6 @@ import { getPodAggregatedStatus, getPodStatus } from './status';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PodStatusComponent {
5
5
  pod: Pod;
6
- showNativeStatus: boolean;
7
- showNativeStatusWrap: boolean;
8
6
  disableMessageOverview: boolean;
9
7
  getReadyContainer(pod: Pod): {
10
8
  ready: number;
@@ -23,5 +21,5 @@ export declare class PodStatusComponent {
23
21
  error: import("../core/public-api").GenericStatusIcon;
24
22
  };
25
23
  static ɵfac: i0.ɵɵFactoryDeclaration<PodStatusComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<PodStatusComponent, "acl-pod-status", never, { "pod": { "alias": "pod"; "required": false; }; "showNativeStatus": { "alias": "showNativeStatus"; "required": false; }; "showNativeStatusWrap": { "alias": "showNativeStatusWrap"; "required": false; }; "disableMessageOverview": { "alias": "disableMessageOverview"; "required": false; }; }, {}, never, never, true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<PodStatusComponent, "acl-pod-status", never, { "pod": { "alias": "pod"; "required": false; }; "disableMessageOverview": { "alias": "disableMessageOverview"; "required": false; }; }, {}, never, never, true, never>;
27
25
  }
@@ -1 +1 @@
1
- /*! tailwindcss v3.4.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[12px\]{right:12px}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-z-10{z-index:10}.tw-mx-8{margin-left:8px;margin-right:8px}.tw-my-16{margin-bottom:16px;margin-top:16px}.\!tw-ml-0{margin-left:0!important}.\!tw-mr-8{margin-right:8px!important}.\!tw-mt-16{margin-top:16px!important}.tw-mb-12{margin-bottom:12px}.tw-mb-16{margin-bottom:16px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-mb-8{margin-bottom:8px}.tw-ml-12{margin-left:12px}.tw-ml-16{margin-left:16px}.tw-ml-20{margin-left:20px}.tw-ml-24{margin-left:24px}.tw-ml-32{margin-left:32px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-0{margin-right:0}.tw-mr-16{margin-right:16px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-16{margin-top:16px}.tw-mt-20{margin-top:20px}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.\!tw-flex{display:flex!important}.tw-flex{display:flex}.tw-inline-flex{display:inline-flex}.tw-hidden{display:none}.\!tw-h-\[20px\]{height:20px!important}.tw-h-0{height:0}.tw-h-1\/2{height:50%}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-\[600px\]{height:600px}.tw-h-full{height:100%}.tw-min-h-0{min-height:0}.tw-min-h-\[360px\]{min-height:360px}.tw-min-h-screen{min-height:100vh}.\!tw-w-\[20px\]{width:20px!important}.tw-w-\[100\%\]{width:100%}.tw-w-\[135px\]{width:135px}.tw-w-\[150px\]{width:150px}.tw-w-\[160px\]{width:160px}.tw-w-\[200px\]{width:200px}.tw-w-\[260px\]{width:260px}.tw-w-\[950px\]{width:950px}.tw-w-full{width:100%}.tw-min-w-0{min-width:0}.tw-min-w-\[100px\]{min-width:100px}.tw-min-w-\[135px\]{min-width:135px}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-\[1\]{flex:1}.tw-flex-\[2\]{flex:2}.tw-flex-shrink-0{flex-shrink:0}.\!tw-cursor-move{cursor:move!important}.tw-cursor-move{cursor:move}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-flex-wrap{flex-wrap:wrap}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-justify-between{justify-content:space-between}.tw-space-y-\[8px\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(8px*var(--tw-space-y-reverse));margin-top:calc(8px*(1 - var(--tw-space-y-reverse)))}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-overflow-ellipsis,.tw-text-ellipsis{text-overflow:ellipsis}.tw-whitespace-nowrap{white-space:nowrap}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-rounded-l{border-radius:var(--aui-border-radius-l);border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-n-9{background-color:rgb(var(--aui-color-n-9))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-16{padding:16px}.tw-p-20{padding:20px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-px-12{padding-left:12px;padding-right:12px}.tw-px-16{padding-left:16px;padding-right:16px}.tw-px-4{padding-left:4px;padding-right:4px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-pr-20{padding-right:20px}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-\[12px\]{font-size:12px}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-text-xl{font-size:var(--aui-font-size-xl)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-1{color:rgb(var(--aui-color-n-1))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-question{color:rgb(var(--aui-color-n-4));cursor:pointer}.tw-question:hover{color:rgb(var(--aui-color-primary))}.tw-required-mark:before{--tw-text-opacity:1;--tw-content:"*";color:rgb(235 98 98/var(--tw-text-opacity));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html:not([lang|=zh]) .lang-not-zh\:\!tw-w-\[230px\]{width:230px!important}@media (min-width:1280px){.vw1280\:tw-ml-\[40px\]{margin-left:40px}.vw1280\:tw-mr-20{margin-right:20px}}
1
+ /*! tailwindcss v3.4.6 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!tw-visible{visibility:visible!important}.tw-invisible{visibility:hidden}.tw-fixed{position:fixed}.tw-absolute{position:absolute}.tw-relative{position:relative}.tw-left-0{left:0}.tw-right-\[12px\]{right:12px}.tw-right-\[16px\]{right:16px}.tw-top-0{top:0}.tw-top-\[12px\]{top:12px}.tw-z-10{z-index:10}.tw-mx-8{margin-left:8px;margin-right:8px}.tw-my-16{margin-bottom:16px;margin-top:16px}.\!tw-ml-0{margin-left:0!important}.\!tw-mr-8{margin-right:8px!important}.\!tw-mt-16{margin-top:16px!important}.tw-mb-12{margin-bottom:12px}.tw-mb-16{margin-bottom:16px}.tw-mb-20{margin-bottom:20px}.tw-mb-4{margin-bottom:4px}.tw-mb-8{margin-bottom:8px}.tw-ml-12{margin-left:12px}.tw-ml-16{margin-left:16px}.tw-ml-20{margin-left:20px}.tw-ml-24{margin-left:24px}.tw-ml-32{margin-left:32px}.tw-ml-6{margin-left:6px}.tw-ml-8{margin-left:8px}.tw-ml-\[-4px\]{margin-left:-4px}.tw-ml-\[4px\]{margin-left:4px}.tw-mr-0{margin-right:0}.tw-mr-16{margin-right:16px}.tw-mr-4{margin-right:4px}.tw-mr-6{margin-right:6px}.tw-mr-8{margin-right:8px}.tw-mr-\[4px\]{margin-right:4px}.tw-mt-0{margin-top:0}.tw-mt-16{margin-top:16px}.tw-mt-20{margin-top:20px}.tw-mt-8{margin-top:8px}.tw-line-clamp-2{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.tw-block{display:block}.\!tw-flex{display:flex!important}.tw-flex{display:flex}.tw-inline-flex{display:inline-flex}.tw-hidden{display:none}.\!tw-h-\[20px\]{height:20px!important}.tw-h-0{height:0}.tw-h-1\/2{height:50%}.tw-h-\[100\%\]{height:100%}.tw-h-\[100vh\]{height:100vh}.tw-h-\[200px\]{height:200px}.tw-h-\[22px\]{height:22px}.tw-h-\[600px\]{height:600px}.tw-h-\[8px\]{height:8px}.tw-h-full{height:100%}.tw-min-h-0{min-height:0}.tw-min-h-\[360px\]{min-height:360px}.tw-min-h-screen{min-height:100vh}.\!tw-w-\[20px\]{width:20px!important}.tw-w-\[100\%\]{width:100%}.tw-w-\[135px\]{width:135px}.tw-w-\[150px\]{width:150px}.tw-w-\[160px\]{width:160px}.tw-w-\[200px\]{width:200px}.tw-w-\[260px\]{width:260px}.tw-w-\[950px\]{width:950px}.tw-w-full{width:100%}.tw-min-w-0{min-width:0}.tw-min-w-\[100px\]{min-width:100px}.tw-min-w-\[135px\]{min-width:135px}.tw-min-w-\[160px\]{min-width:160px}.tw-min-w-\[220px\]{min-width:220px}.tw-min-w-\[260px\]{min-width:260px}.tw-min-w-\[50px\]{min-width:50px}.tw-max-w-\[400px\]{max-width:400px}.tw-max-w-\[45\%\]{max-width:45%}.tw-flex-1{flex:1 1 0%}.tw-flex-\[1\]{flex:1}.tw-flex-\[2\]{flex:2}.tw-flex-shrink-0{flex-shrink:0}.\!tw-cursor-move{cursor:move!important}.tw-cursor-move{cursor:move}.tw-cursor-pointer{cursor:pointer}.tw-select-none{user-select:none}.tw-list-disc{list-style-type:disc}.tw-flex-row{flex-direction:row}.tw-flex-col{flex-direction:column}.tw-flex-wrap{flex-wrap:wrap}.tw-items-start{align-items:flex-start}.tw-items-center{align-items:center}.tw-justify-start{justify-content:flex-start}.tw-justify-end{justify-content:flex-end}.tw-justify-center{justify-content:center}.tw-justify-between{justify-content:space-between}.tw-space-y-\[8px\]>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(8px*var(--tw-space-y-reverse));margin-top:calc(8px*(1 - var(--tw-space-y-reverse)))}.tw-overflow-auto{overflow:auto}.tw-overflow-hidden{overflow:hidden}.tw-overflow-y-auto{overflow-y:auto}.tw-overflow-x-hidden{overflow-x:hidden}.tw-overflow-ellipsis,.tw-text-ellipsis{text-overflow:ellipsis}.tw-whitespace-nowrap{white-space:nowrap}.tw-break-words{overflow-wrap:break-word}.tw-break-all{word-break:break-all}.tw-rounded-l{border-radius:var(--aui-border-radius-l);border-bottom-left-radius:.25rem;border-top-left-radius:.25rem}.tw-bg-n-10{background-color:rgb(var(--aui-color-n-10))}.tw-bg-n-8{background-color:rgb(var(--aui-color-n-8))}.tw-bg-n-9{background-color:rgb(var(--aui-color-n-9))}.tw-bg-p-6{background-color:rgb(var(--aui-color-p-6))}.tw-p-12{padding:12px}.tw-p-16{padding:16px}.tw-p-20{padding:20px}.tw-p-\[12px_16px\]{padding:12px 16px}.tw-px-12{padding-left:12px;padding-right:12px}.tw-px-16{padding-left:16px;padding-right:16px}.tw-px-4{padding-left:4px;padding-right:4px}.tw-py-8{padding-bottom:8px;padding-top:8px}.tw-pl-8{padding-left:8px}.tw-pr-16{padding-right:16px}.tw-pr-20{padding-right:20px}.tw-text-center{text-align:center}.\!tw-text-s{font-size:var(--aui-font-size-s)!important}.tw-text-\[12px\]{font-size:12px}.tw-text-l{font-size:var(--aui-font-size-l)}.tw-text-m{font-size:var(--aui-font-size-m)}.tw-text-s{font-size:var(--aui-font-size-s)}.tw-font-bold{font-weight:var(--aui-font-weight-bold)}.tw-font-bolder{font-weight:var(--aui-font-weight-bolder)}.tw-leading-m{line-height:var(--aui-line-height-m)}.\!tw-text-n-2{color:rgb(var(--aui-color-n-2))!important}.tw-text-help-text{color:rgb(var(--aui-color-help-text))}.tw-text-main-text{color:rgb(var(--aui-color-main-text))}.tw-text-n-2{color:rgb(var(--aui-color-n-2))}.tw-text-n-4{color:rgb(var(--aui-color-n-4))}.tw-text-p-2{color:rgb(var(--aui-color-p-2))}.tw-text-primary{color:rgb(var(--aui-color-primary))}.tw-text-red{color:rgb(var(--aui-color-red))}.tw-shadow-md{--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.tw-icon-l{font-size:var(--aui-icon-size-l)}.tw-icon-m{font-size:var(--aui-icon-size-m)}.tw-leading-text-xl{font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl)}.tw-question{color:rgb(var(--aui-color-n-4));cursor:pointer}.tw-question:hover{color:rgb(var(--aui-color-primary))}.tw-required-mark:before{--tw-text-opacity:1;--tw-content:"*";color:rgb(235 98 98/var(--tw-text-opacity));content:var(--tw-content);margin-right:var(--aui-spacing-s)}.tw-text-overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hover\:\!tw-text-primary:hover{color:rgb(var(--aui-color-primary))!important}.hover\:tw-text-primary:hover{color:rgb(var(--aui-color-primary))}html:not([lang|=zh]) .lang-not-zh\:\!tw-w-\[230px\]{width:230px!important}@media (min-width:1280px){.vw1280\:tw-ml-\[40px\]{margin-left:40px}.vw1280\:tw-mr-20{margin-right:20px}}
@@ -52,7 +52,7 @@ export declare class TableComponent<Item extends object, Context = TableUtilServ
52
52
  finalDataSource$: Observable<Item[]>;
53
53
  finalResourceName$: Observable<string>;
54
54
  columnDefs$: Observable<TableColumnDefs<Item, Context>>;
55
- columnNames$: Observable<import("@alauda-fe/common").LiteralUnion<"name" | "action", string>[]>;
55
+ columnNames$: Observable<import("@alauda-fe/common").LiteralUnion<"action" | "name", string>[]>;
56
56
  activeSort$$: ReplaySubject<Sort>;
57
57
  activeSort$: Observable<Sort>;
58
58
  filteredItems$: Observable<Item[]>;
package/table/helper.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export declare function defaultFilter<T extends string | number>(value: T, filterValue: T, _item: unknown, name: string): boolean;
2
- export declare function defaultSorter<T>(a: T, b: T): 1 | 0 | -1;
2
+ export declare function defaultSorter<T>(a: T, b: T): 0 | 1 | -1;
package/table/module.d.ts CHANGED
@@ -27,7 +27,7 @@ import * as i23 from "../widget/field-set/group/component";
27
27
  import * as i24 from "../widget/field-set/column/component";
28
28
  import * as i25 from "../translate/translate.pipe";
29
29
  import * as i26 from "../translate/translate.directive";
30
- export declare const COMMON_TABLE_EXPORTABLE: (typeof TableComponent | typeof TableCellDefDirective)[];
30
+ export declare const COMMON_TABLE_EXPORTABLE: (typeof TableCellDefDirective | typeof TableComponent)[];
31
31
  export declare class TableModule {
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
33
33
  static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.TableCellDefDirective], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.ButtonModule, typeof i5.DropdownModule, typeof i5.IconModule, typeof i5.SortModule, typeof i5.TooltipModule, typeof i5.TableModule, typeof i6.K8SResourceListModule, typeof i7.CoreModule, typeof i8.ZeroStateComponent, typeof i9.LoadingMaskComponent, typeof i10.ConfirmDeleteComponent, typeof i11.FoldableBlockComponent, typeof i12.RelativeTimeComponent, typeof i10.ConfirmDeleteContentDirective, typeof i10.ConfirmDeleteLabelDirective, typeof i10.ConfirmDeleteTipDirective, typeof i13.DisabledContainerComponent, typeof i14.TerminatingTagComponent, typeof i15.FoldableItemInTableComponent, typeof i16.SelectPrefixLabelDirective, typeof i17.TextWithUrlComponent, typeof i18.CardSectionComponent, typeof i19.CurrentTimeComponent, typeof i20.TextEllipsisComponent, typeof i21.ResourceMultiSelectComponent, typeof i22.FieldSetItemActionDirective, typeof i22.FieldSetItemComponent, typeof i23.FieldSetGroupComponent, typeof i24.FieldSetColumnComponent, typeof i24.FieldSetColumnGroupComponent, typeof i25.TranslatePipe, typeof i26.TranslateDirective, typeof i26.TranslateMatchDirective, typeof i26.TranslateTextDirective, typeof i5.PaginatorModule, typeof i13.DisabledContainerComponent], [typeof i1.TableComponent, typeof i2.TableCellDefDirective]>;