@delon/abc 13.4.0 → 13.5.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 (169) hide show
  1. package/esm2020/auto-focus/auto-focus.directive.mjs +3 -3
  2. package/esm2020/auto-focus/auto-focus.module.mjs +4 -4
  3. package/esm2020/avatar-list/avatar-list-item.component.mjs +3 -3
  4. package/esm2020/avatar-list/avatar-list.component.mjs +3 -3
  5. package/esm2020/avatar-list/avatar-list.module.mjs +4 -4
  6. package/esm2020/count-down/count-down.component.mjs +3 -3
  7. package/esm2020/count-down/count-down.module.mjs +4 -4
  8. package/esm2020/date-picker/date-picker.module.mjs +4 -4
  9. package/esm2020/date-picker/range-shortcut.component.mjs +3 -3
  10. package/esm2020/date-picker/range.directive.mjs +3 -3
  11. package/esm2020/down-file/down-file.directive.mjs +3 -3
  12. package/esm2020/down-file/down-file.module.mjs +4 -4
  13. package/esm2020/ellipsis/ellipsis.component.mjs +3 -3
  14. package/esm2020/ellipsis/ellipsis.module.mjs +4 -4
  15. package/esm2020/error-collect/error-collect.component.mjs +3 -3
  16. package/esm2020/error-collect/error-collect.module.mjs +4 -4
  17. package/esm2020/exception/exception.component.mjs +3 -3
  18. package/esm2020/exception/exception.module.mjs +4 -4
  19. package/esm2020/footer-toolbar/footer-toolbar.component.mjs +3 -3
  20. package/esm2020/footer-toolbar/footer-toolbar.module.mjs +4 -4
  21. package/esm2020/full-content/full-content-toggle.directive.mjs +3 -3
  22. package/esm2020/full-content/full-content.component.mjs +3 -3
  23. package/esm2020/full-content/full-content.module.mjs +4 -4
  24. package/esm2020/full-content/full-content.service.mjs +3 -3
  25. package/esm2020/global-footer/global-footer-item.component.mjs +3 -3
  26. package/esm2020/global-footer/global-footer.component.mjs +3 -3
  27. package/esm2020/global-footer/global-footer.module.mjs +4 -4
  28. package/esm2020/image/image.directive.mjs +3 -3
  29. package/esm2020/image/image.module.mjs +4 -4
  30. package/esm2020/let/let.directive.mjs +3 -3
  31. package/esm2020/let/let.module.mjs +4 -4
  32. package/esm2020/loading/loading.component.mjs +3 -3
  33. package/esm2020/loading/loading.module.mjs +4 -4
  34. package/esm2020/loading/loading.service.mjs +3 -3
  35. package/esm2020/lodop/lodop.module.mjs +4 -4
  36. package/esm2020/lodop/lodop.service.mjs +3 -3
  37. package/esm2020/media/media.component.mjs +3 -3
  38. package/esm2020/media/media.module.mjs +4 -4
  39. package/esm2020/media/media.service.mjs +3 -3
  40. package/esm2020/notice-icon/notice-icon-tab.component.mjs +3 -3
  41. package/esm2020/notice-icon/notice-icon.component.mjs +3 -3
  42. package/esm2020/notice-icon/notice-icon.module.mjs +4 -4
  43. package/esm2020/onboarding/onboarding.component.mjs +3 -3
  44. package/esm2020/onboarding/onboarding.module.mjs +4 -4
  45. package/esm2020/onboarding/onboarding.service.mjs +3 -3
  46. package/esm2020/page-header/page-header.component.mjs +3 -3
  47. package/esm2020/page-header/page-header.module.mjs +4 -4
  48. package/esm2020/pdf/pdf.component.mjs +3 -3
  49. package/esm2020/pdf/pdf.module.mjs +4 -4
  50. package/esm2020/qr/qr.component.mjs +3 -3
  51. package/esm2020/qr/qr.module.mjs +4 -4
  52. package/esm2020/quick-menu/quick-menu.component.mjs +3 -3
  53. package/esm2020/quick-menu/quick-menu.module.mjs +4 -4
  54. package/esm2020/result/result.component.mjs +3 -3
  55. package/esm2020/result/result.module.mjs +4 -4
  56. package/esm2020/reuse-tab/reuse-tab-context-menu.component.mjs +3 -3
  57. package/esm2020/reuse-tab/reuse-tab-context.component.mjs +3 -3
  58. package/esm2020/reuse-tab/reuse-tab-context.directive.mjs +3 -3
  59. package/esm2020/reuse-tab/reuse-tab-context.service.mjs +3 -3
  60. package/esm2020/reuse-tab/reuse-tab.component.mjs +23 -12
  61. package/esm2020/reuse-tab/reuse-tab.module.mjs +4 -4
  62. package/esm2020/reuse-tab/reuse-tab.service.mjs +3 -3
  63. package/esm2020/se/se-container.component.mjs +6 -6
  64. package/esm2020/se/se.component.mjs +3 -3
  65. package/esm2020/se/se.module.mjs +4 -4
  66. package/esm2020/sg/sg-container.component.mjs +3 -3
  67. package/esm2020/sg/sg.component.mjs +3 -3
  68. package/esm2020/sg/sg.module.mjs +4 -4
  69. package/esm2020/st/st-column-source.mjs +10 -13
  70. package/esm2020/st/st-data-source.mjs +26 -9
  71. package/esm2020/st/st-export.mjs +3 -3
  72. package/esm2020/st/st-filter.component.mjs +4 -4
  73. package/esm2020/st/st-row.directive.mjs +6 -6
  74. package/esm2020/st/st-widget-host.directive.mjs +3 -3
  75. package/esm2020/st/st-widget.mjs +3 -3
  76. package/esm2020/st/st.component.mjs +9 -8
  77. package/esm2020/st/st.config.mjs +5 -1
  78. package/esm2020/st/st.interfaces.mjs +1 -1
  79. package/esm2020/st/st.module.mjs +4 -4
  80. package/esm2020/st/st.types.mjs +1 -1
  81. package/esm2020/sv/sv-container.component.mjs +6 -6
  82. package/esm2020/sv/sv-value.component.mjs +3 -3
  83. package/esm2020/sv/sv.component.mjs +3 -3
  84. package/esm2020/sv/sv.module.mjs +4 -4
  85. package/esm2020/tag-select/tag-select.component.mjs +5 -5
  86. package/esm2020/tag-select/tag-select.module.mjs +4 -4
  87. package/esm2020/xlsx/xlsx.directive.mjs +3 -3
  88. package/esm2020/xlsx/xlsx.module.mjs +4 -4
  89. package/esm2020/xlsx/xlsx.service.mjs +3 -3
  90. package/esm2020/zip/zip.module.mjs +4 -4
  91. package/esm2020/zip/zip.service.mjs +3 -3
  92. package/fesm2015/auto-focus.mjs +7 -7
  93. package/fesm2015/avatar-list.mjs +10 -10
  94. package/fesm2015/count-down.mjs +7 -7
  95. package/fesm2015/date-picker.mjs +10 -10
  96. package/fesm2015/down-file.mjs +7 -7
  97. package/fesm2015/ellipsis.mjs +7 -7
  98. package/fesm2015/error-collect.mjs +7 -7
  99. package/fesm2015/exception.mjs +7 -7
  100. package/fesm2015/footer-toolbar.mjs +7 -7
  101. package/fesm2015/full-content.mjs +13 -13
  102. package/fesm2015/global-footer.mjs +10 -10
  103. package/fesm2015/image.mjs +7 -7
  104. package/fesm2015/let.mjs +7 -7
  105. package/fesm2015/loading.mjs +10 -10
  106. package/fesm2015/lodop.mjs +7 -7
  107. package/fesm2015/media.mjs +10 -10
  108. package/fesm2015/notice-icon.mjs +10 -10
  109. package/fesm2015/onboarding.mjs +10 -10
  110. package/fesm2015/page-header.mjs +7 -7
  111. package/fesm2015/pdf.mjs +7 -7
  112. package/fesm2015/qr.mjs +7 -7
  113. package/fesm2015/quick-menu.mjs +7 -7
  114. package/fesm2015/result.mjs +7 -7
  115. package/fesm2015/reuse-tab.mjs +40 -28
  116. package/fesm2015/reuse-tab.mjs.map +1 -1
  117. package/fesm2015/se.mjs +13 -13
  118. package/fesm2015/sg.mjs +10 -10
  119. package/fesm2015/st.mjs +69 -50
  120. package/fesm2015/st.mjs.map +1 -1
  121. package/fesm2015/sv.mjs +16 -16
  122. package/fesm2015/tag-select.mjs +8 -8
  123. package/fesm2015/tag-select.mjs.map +1 -1
  124. package/fesm2015/xlsx.mjs +10 -10
  125. package/fesm2015/zip.mjs +7 -7
  126. package/fesm2020/auto-focus.mjs +7 -7
  127. package/fesm2020/avatar-list.mjs +10 -10
  128. package/fesm2020/count-down.mjs +7 -7
  129. package/fesm2020/date-picker.mjs +10 -10
  130. package/fesm2020/down-file.mjs +7 -7
  131. package/fesm2020/ellipsis.mjs +7 -7
  132. package/fesm2020/error-collect.mjs +7 -7
  133. package/fesm2020/exception.mjs +7 -7
  134. package/fesm2020/footer-toolbar.mjs +7 -7
  135. package/fesm2020/full-content.mjs +13 -13
  136. package/fesm2020/global-footer.mjs +10 -10
  137. package/fesm2020/image.mjs +7 -7
  138. package/fesm2020/let.mjs +7 -7
  139. package/fesm2020/loading.mjs +10 -10
  140. package/fesm2020/lodop.mjs +7 -7
  141. package/fesm2020/media.mjs +10 -10
  142. package/fesm2020/notice-icon.mjs +10 -10
  143. package/fesm2020/onboarding.mjs +10 -10
  144. package/fesm2020/page-header.mjs +7 -7
  145. package/fesm2020/pdf.mjs +7 -7
  146. package/fesm2020/qr.mjs +7 -7
  147. package/fesm2020/quick-menu.mjs +7 -7
  148. package/fesm2020/result.mjs +7 -7
  149. package/fesm2020/reuse-tab.mjs +39 -28
  150. package/fesm2020/reuse-tab.mjs.map +1 -1
  151. package/fesm2020/se.mjs +13 -13
  152. package/fesm2020/sg.mjs +10 -10
  153. package/fesm2020/st.mjs +69 -50
  154. package/fesm2020/st.mjs.map +1 -1
  155. package/fesm2020/sv.mjs +16 -16
  156. package/fesm2020/tag-select.mjs +8 -8
  157. package/fesm2020/tag-select.mjs.map +1 -1
  158. package/fesm2020/xlsx.mjs +10 -10
  159. package/fesm2020/zip.mjs +7 -7
  160. package/package.json +4 -4
  161. package/reuse-tab/reuse-tab.component.d.ts +5 -2
  162. package/reuse-tab/style/index.less +2 -0
  163. package/reuse-tab/style/rtl.less +3 -0
  164. package/st/st-data-source.d.ts +4 -0
  165. package/st/st.interfaces.d.ts +18 -0
  166. package/st/st.types.d.ts +18 -0
  167. package/tag-select/style/index.less +13 -6
  168. package/theme-compact.less +5 -0
  169. package/theme-default.less +5 -0
package/fesm2020/sv.mjs CHANGED
@@ -28,8 +28,8 @@ class SVContainerComponent {
28
28
  });
29
29
  }
30
30
  }
31
- SVContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVContainerComponent, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Component });
32
- SVContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SVContainerComponent, selector: "sv-container, [sv-container]", inputs: { title: "title", size: "size", gutter: "gutter", layout: "layout", labelWidth: "labelWidth", col: "col", default: "default", noColon: "noColon" }, host: { properties: { "class.sv__container": "true", "class.sv__horizontal": "layout === 'horizontal'", "class.sv__vertical": "layout === 'vertical'", "class.sv__small": "size === 'small'", "class.sv__large": "size === 'large'", "class.clearfix": "true" } }, exportAs: ["svContainer"], ngImport: i0, template: `
31
+ SVContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVContainerComponent, deps: [{ token: i1.AlainConfigService }], target: i0.ɵɵFactoryTarget.Component });
32
+ SVContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SVContainerComponent, selector: "sv-container, [sv-container]", inputs: { title: "title", size: "size", gutter: "gutter", layout: "layout", labelWidth: "labelWidth", col: "col", default: "default", noColon: "noColon" }, host: { properties: { "class.sv__container": "true", "class.sv__horizontal": "layout === 'horizontal'", "class.sv__vertical": "layout === 'vertical'", "class.sv__small": "size === 'small'", "class.sv__large": "size === 'large'", "class.clearfix": "true" } }, exportAs: ["svContainer"], ngImport: i0, template: `
33
33
  <div class="ant-row" [ngStyle]="{ 'margin-left.px': -(gutter / 2), 'margin-right.px': -(gutter / 2) }">
34
34
  <sv-title *ngIf="title">
35
35
  <ng-container *nzStringTemplateOutlet="title">{{ title }}</ng-container>
@@ -52,7 +52,7 @@ __decorate([
52
52
  __decorate([
53
53
  InputBoolean()
54
54
  ], SVContainerComponent.prototype, "noColon", void 0);
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVContainerComponent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVContainerComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{
58
58
  selector: 'sv-container, [sv-container]',
@@ -113,9 +113,9 @@ class SVTitleComponent {
113
113
  this.setClass();
114
114
  }
115
115
  }
116
- SVTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVTitleComponent, deps: [{ token: i0.ElementRef }, { token: SVContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
117
- SVTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SVTitleComponent, selector: "sv-title, [sv-title]", host: { properties: { "class.sv__title": "true" } }, exportAs: ["svTitle"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVTitleComponent, decorators: [{
116
+ SVTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVTitleComponent, deps: [{ token: i0.ElementRef }, { token: SVContainerComponent, host: true, optional: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
117
+ SVTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SVTitleComponent, selector: "sv-title, [sv-title]", host: { properties: { "class.sv__title": "true" } }, exportAs: ["svTitle"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVTitleComponent, decorators: [{
119
119
  type: Component,
120
120
  args: [{
121
121
  selector: 'sv-title, [sv-title]',
@@ -139,13 +139,13 @@ class SVValueComponent {
139
139
  this.size = 'default';
140
140
  }
141
141
  }
142
- SVValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
143
- SVValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SVValueComponent, selector: "sv-value, [sv-value]", inputs: { prefix: "prefix", unit: "unit", tooltip: "tooltip", size: "size" }, host: { properties: { "class.sv__value": "true", "class.sv__value-small": "size === 'small'", "class.sv__value-large": "size === 'large'" } }, exportAs: ["svValue"], ngImport: i0, template: `
142
+ SVValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
143
+ SVValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SVValueComponent, selector: "sv-value, [sv-value]", inputs: { prefix: "prefix", unit: "unit", tooltip: "tooltip", size: "size" }, host: { properties: { "class.sv__value": "true", "class.sv__value-small": "size === 'small'", "class.sv__value-large": "size === 'large'" } }, exportAs: ["svValue"], ngImport: i0, template: `
144
144
  <em *ngIf="prefix" class="sv__value-prefix" [innerHTML]="prefix"></em>
145
145
  <span nz-tooltip [nzTooltipTitle]="tooltip" class="sv__value-text"><ng-content></ng-content></span>
146
146
  <em *ngIf="unit" class="sv__value-unit" [innerHTML]="unit"></em>
147
147
  `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVValueComponent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVValueComponent, decorators: [{
149
149
  type: Component,
150
150
  args: [{
151
151
  selector: 'sv-value, [sv-value]',
@@ -231,8 +231,8 @@ class SVComponent {
231
231
  }
232
232
  }
233
233
  }
234
- SVComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVComponent, deps: [{ token: i0.ElementRef }, { token: SVContainerComponent, host: true, optional: true }, { token: i2$2.ResponsiveService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
235
- SVComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: SVComponent, selector: "sv, [sv]", inputs: { optional: "optional", optionalHelp: "optionalHelp", optionalHelpColor: "optionalHelpColor", label: "label", unit: "unit", col: "col", default: "default", type: "type", noColon: "noColon" }, host: { properties: { "style.padding-left.px": "paddingValue", "style.padding-right.px": "paddingValue" } }, viewQueries: [{ propertyName: "conEl", first: true, predicate: ["conEl"], descendants: true }], exportAs: ["sv"], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"sv__label\"\n [class.sv__label-empty]=\"!label\"\n [class.sv__label-width]=\"labelWidth !== null && labelWidth !== undefined\"\n [class.sv__no-colon]=\"_noColon\"\n [style.width.px]=\"labelWidth\"\n>\n <span class=\"sv__label-text\">\n <ng-container *nzStringTemplateOutlet=\"label\">{{ label }}</ng-container>\n </span>\n <span *ngIf=\"optional || optionalHelp\" class=\"sv__label-optional\" [class.sv__label-optional-no-text]=\"!optional\">\n <ng-container *nzStringTemplateOutlet=\"optional\">{{ optional }}</ng-container>\n <i\n *ngIf=\"optionalHelp\"\n nz-tooltip\n [nzTooltipTitle]=\"optionalHelp\"\n [nzTooltipColor]=\"optionalHelpColor\"\n nz-icon\n nzType=\"question-circle\"\n ></i>\n </span>\n</div>\n<div class=\"sv__detail\">\n <span (cdkObserveContent)=\"checkContent()\" #conEl>\n <ng-content></ng-content>\n </span>\n <ng-container *ngIf=\"!!unit\">\n <span class=\"sv__unit\" *nzStringTemplateOutlet=\"unit\">{{ unit }}</span>\n </ng-container>\n</div>\n", directives: [{ type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i7.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
234
+ SVComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVComponent, deps: [{ token: i0.ElementRef }, { token: SVContainerComponent, host: true, optional: true }, { token: i2$2.ResponsiveService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
235
+ SVComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SVComponent, selector: "sv, [sv]", inputs: { optional: "optional", optionalHelp: "optionalHelp", optionalHelpColor: "optionalHelpColor", label: "label", unit: "unit", col: "col", default: "default", type: "type", noColon: "noColon" }, host: { properties: { "style.padding-left.px": "paddingValue", "style.padding-right.px": "paddingValue" } }, viewQueries: [{ propertyName: "conEl", first: true, predicate: ["conEl"], descendants: true }], exportAs: ["sv"], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"sv__label\"\n [class.sv__label-empty]=\"!label\"\n [class.sv__label-width]=\"labelWidth !== null && labelWidth !== undefined\"\n [class.sv__no-colon]=\"_noColon\"\n [style.width.px]=\"labelWidth\"\n>\n <span class=\"sv__label-text\">\n <ng-container *nzStringTemplateOutlet=\"label\">{{ label }}</ng-container>\n </span>\n <span *ngIf=\"optional || optionalHelp\" class=\"sv__label-optional\" [class.sv__label-optional-no-text]=\"!optional\">\n <ng-container *nzStringTemplateOutlet=\"optional\">{{ optional }}</ng-container>\n <i\n *ngIf=\"optionalHelp\"\n nz-tooltip\n [nzTooltipTitle]=\"optionalHelp\"\n [nzTooltipColor]=\"optionalHelpColor\"\n nz-icon\n nzType=\"question-circle\"\n ></i>\n </span>\n</div>\n<div class=\"sv__detail\">\n <span (cdkObserveContent)=\"checkContent()\" #conEl>\n <ng-content></ng-content>\n </span>\n <ng-container *ngIf=\"!!unit\">\n <span class=\"sv__unit\" *nzStringTemplateOutlet=\"unit\">{{ unit }}</span>\n </ng-container>\n</div>\n", directives: [{ type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2$1.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i7.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
236
236
  __decorate([
237
237
  InputNumber(null)
238
238
  ], SVComponent.prototype, "col", void 0);
@@ -242,7 +242,7 @@ __decorate([
242
242
  __decorate([
243
243
  InputBoolean(null)
244
244
  ], SVComponent.prototype, "noColon", void 0);
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVComponent, decorators: [{
245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVComponent, decorators: [{
246
246
  type: Component,
247
247
  args: [{ selector: 'sv, [sv]', exportAs: 'sv', host: {
248
248
  '[style.padding-left.px]': 'paddingValue',
@@ -278,10 +278,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
278
278
  const COMPONENTS = [SVContainerComponent, SVComponent, SVTitleComponent, SVValueComponent];
279
279
  class SVModule {
280
280
  }
281
- SVModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
282
- SVModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVModule, declarations: [SVContainerComponent, SVComponent, SVTitleComponent, SVValueComponent], imports: [CommonModule, ObserversModule, NzToolTipModule, NzIconModule, NzOutletModule], exports: [SVContainerComponent, SVComponent, SVTitleComponent, SVValueComponent] });
283
- SVModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVModule, imports: [[CommonModule, ObserversModule, NzToolTipModule, NzIconModule, NzOutletModule]] });
284
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SVModule, decorators: [{
281
+ SVModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
282
+ SVModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVModule, declarations: [SVContainerComponent, SVComponent, SVTitleComponent, SVValueComponent], imports: [CommonModule, ObserversModule, NzToolTipModule, NzIconModule, NzOutletModule], exports: [SVContainerComponent, SVComponent, SVTitleComponent, SVValueComponent] });
283
+ SVModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVModule, imports: [[CommonModule, ObserversModule, NzToolTipModule, NzIconModule, NzOutletModule]] });
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SVModule, decorators: [{
285
285
  type: NgModule,
286
286
  args: [{
287
287
  imports: [CommonModule, ObserversModule, NzToolTipModule, NzIconModule, NzOutletModule],
@@ -44,12 +44,12 @@ class TagSelectComponent {
44
44
  this.destroy$.complete();
45
45
  }
46
46
  }
47
- TagSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectComponent, deps: [{ token: i1.DelonLocaleService }, { token: i2.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
48
- TagSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: TagSelectComponent, selector: "tag-select", inputs: { expandable: "expandable" }, outputs: { change: "change" }, host: { properties: { "class.tag-select": "true", "class.tag-select-rtl": "dir === 'rtl'", "class.tag-select-rtl__has-expand": "dir === 'rtl' && expandable", "class.tag-select__has-expand": "expandable", "class.tag-select__expanded": "expand" } }, exportAs: ["tagSelect"], ngImport: i0, template: "<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand\n }}<i nz-icon [nzType]=\"expand ? 'up' : 'down'\" class=\"tag-select__trigger-icon\"></i>\n</a>\n", directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
47
+ TagSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectComponent, deps: [{ token: i1.DelonLocaleService }, { token: i2.Directionality, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
48
+ TagSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: TagSelectComponent, selector: "tag-select", inputs: { expandable: "expandable" }, outputs: { change: "change" }, host: { properties: { "class.tag-select": "true", "class.tag-select-rtl": "dir === 'rtl'", "class.tag-select-rtl__has-expand": "dir === 'rtl' && expandable", "class.tag-select__has-expand": "expandable", "class.tag-select__expanded": "expand" } }, exportAs: ["tagSelect"], ngImport: i0, template: "<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"ant-tag ant-tag-checkable tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand }}\n <i nz-icon nzType=\"down\" [style.transform]=\"expand ? 'rotate(-180deg)' : null\"></i>\n</a>\n", directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
49
49
  __decorate([
50
50
  InputBoolean()
51
51
  ], TagSelectComponent.prototype, "expandable", void 0);
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'tag-select', exportAs: 'tagSelect', host: {
55
55
  '[class.tag-select]': 'true',
@@ -57,7 +57,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
57
57
  '[class.tag-select-rtl__has-expand]': `dir === 'rtl' && expandable`,
58
58
  '[class.tag-select__has-expand]': 'expandable',
59
59
  '[class.tag-select__expanded]': 'expand'
60
- }, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand\n }}<i nz-icon [nzType]=\"expand ? 'up' : 'down'\" class=\"tag-select__trigger-icon\"></i>\n</a>\n" }]
60
+ }, preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"ant-tag ant-tag-checkable tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand }}\n <i nz-icon nzType=\"down\" [style.transform]=\"expand ? 'rotate(-180deg)' : null\"></i>\n</a>\n" }]
61
61
  }], ctorParameters: function () { return [{ type: i1.DelonLocaleService }, { type: i2.Directionality, decorators: [{
62
62
  type: Optional
63
63
  }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { expandable: [{
@@ -69,10 +69,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
69
69
  const COMPONENTS = [TagSelectComponent];
70
70
  class TagSelectModule {
71
71
  }
72
- TagSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
- TagSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectModule, declarations: [TagSelectComponent], imports: [CommonModule, NzIconModule, DelonLocaleModule], exports: [TagSelectComponent] });
74
- TagSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectModule, imports: [[CommonModule, NzIconModule, DelonLocaleModule]] });
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TagSelectModule, decorators: [{
72
+ TagSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
+ TagSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectModule, declarations: [TagSelectComponent], imports: [CommonModule, NzIconModule, DelonLocaleModule], exports: [TagSelectComponent] });
74
+ TagSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectModule, imports: [[CommonModule, NzIconModule, DelonLocaleModule]] });
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TagSelectModule, decorators: [{
76
76
  type: NgModule,
77
77
  args: [{
78
78
  imports: [CommonModule, NzIconModule, DelonLocaleModule],
@@ -1 +1 @@
1
- {"version":3,"file":"tag-select.mjs","sources":["../../../../packages/abc/tag-select/tag-select.component.ts","../../../../packages/abc/tag-select/tag-select.component.html","../../../../packages/abc/tag-select/tag-select.module.ts","../../../../packages/abc/tag-select/tag-select.ts"],"sourcesContent":["import { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { DelonLocaleService, LocaleData } from '@delon/theme';\nimport { BooleanInput, InputBoolean } from '@delon/util/decorator';\n\n@Component({\n selector: 'tag-select',\n exportAs: 'tagSelect',\n templateUrl: './tag-select.component.html',\n host: {\n '[class.tag-select]': 'true',\n '[class.tag-select-rtl]': `dir === 'rtl'`,\n '[class.tag-select-rtl__has-expand]': `dir === 'rtl' && expandable`,\n '[class.tag-select__has-expand]': 'expandable',\n '[class.tag-select__expanded]': 'expand'\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class TagSelectComponent implements OnInit, OnDestroy {\n static ngAcceptInputType_expandable: BooleanInput;\n\n private destroy$ = new Subject<void>();\n locale: LocaleData = {};\n expand = false;\n dir: Direction = 'ltr';\n\n /** 是否启用 `展开与收进` */\n @Input() @InputBoolean() expandable = true;\n @Output() readonly change = new EventEmitter<boolean>();\n\n constructor(\n private i18n: DelonLocaleService,\n @Optional() private directionality: Directionality,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction: Direction) => {\n this.dir = direction;\n });\n this.i18n.change.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getData('tagSelect');\n this.cdr.detectChanges();\n });\n }\n\n trigger(): void {\n this.expand = !this.expand;\n this.change.emit(this.expand);\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n","<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand\n }}<i nz-icon [nzType]=\"expand ? 'up' : 'down'\" class=\"tag-select__trigger-icon\"></i>\n</a>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DelonLocaleModule } from '@delon/theme';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { TagSelectComponent } from './tag-select.component';\n\nconst COMPONENTS = [TagSelectComponent];\n\n@NgModule({\n imports: [CommonModule, NzIconModule, DelonLocaleModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class TagSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAkCa,kBAAkB,CAAA;AAY7B,IAAA,WAAA,CACU,IAAwB,EACZ,cAA8B,EAC1C,GAAsB,EAAA;QAFtB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAoB;QACZ,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAC1C,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAZxB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAC;QACvC,IAAM,CAAA,MAAA,GAAe,EAAE,CAAC;QACxB,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QACf,IAAG,CAAA,GAAA,GAAc,KAAK,CAAC;;QAGE,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAW,CAAC;KAMpD;IAEJ,QAAQ,GAAA;QACN,IAAI,CAAC,GAAG,GAAG,IAA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eAAe,CAAA;;4GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,CAPR,kBAAkB,CAG1B,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAHrC,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAOzB,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJjB,CAAC,YAAY,EAAE,YAAY,EAAE,iBAAiB,CAAC,CAAA,EAAA,CAAA,CAAA;2FAI7C,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,iBAAiB,CAAC;AACxD,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"tag-select.mjs","sources":["../../../../packages/abc/tag-select/tag-select.component.ts","../../../../packages/abc/tag-select/tag-select.component.html","../../../../packages/abc/tag-select/tag-select.module.ts","../../../../packages/abc/tag-select/tag-select.ts"],"sourcesContent":["import { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { DelonLocaleService, LocaleData } from '@delon/theme';\nimport { BooleanInput, InputBoolean } from '@delon/util/decorator';\n\n@Component({\n selector: 'tag-select',\n exportAs: 'tagSelect',\n templateUrl: './tag-select.component.html',\n host: {\n '[class.tag-select]': 'true',\n '[class.tag-select-rtl]': `dir === 'rtl'`,\n '[class.tag-select-rtl__has-expand]': `dir === 'rtl' && expandable`,\n '[class.tag-select__has-expand]': 'expandable',\n '[class.tag-select__expanded]': 'expand'\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class TagSelectComponent implements OnInit, OnDestroy {\n static ngAcceptInputType_expandable: BooleanInput;\n\n private destroy$ = new Subject<void>();\n locale: LocaleData = {};\n expand = false;\n dir: Direction = 'ltr';\n\n /** 是否启用 `展开与收进` */\n @Input() @InputBoolean() expandable = true;\n @Output() readonly change = new EventEmitter<boolean>();\n\n constructor(\n private i18n: DelonLocaleService,\n @Optional() private directionality: Directionality,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.dir = this.directionality.value;\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction: Direction) => {\n this.dir = direction;\n });\n this.i18n.change.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.locale = this.i18n.getData('tagSelect');\n this.cdr.detectChanges();\n });\n }\n\n trigger(): void {\n this.expand = !this.expand;\n this.change.emit(this.expand);\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n","<ng-content></ng-content>\n<a *ngIf=\"expandable\" class=\"ant-tag ant-tag-checkable tag-select__trigger\" (click)=\"trigger()\">\n {{ expand ? locale.collapse : locale.expand }}\n <i nz-icon nzType=\"down\" [style.transform]=\"expand ? 'rotate(-180deg)' : null\"></i>\n</a>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { DelonLocaleModule } from '@delon/theme';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { TagSelectComponent } from './tag-select.component';\n\nconst COMPONENTS = [TagSelectComponent];\n\n@NgModule({\n imports: [CommonModule, NzIconModule, DelonLocaleModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class TagSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAkCa,kBAAkB,CAAA;AAY7B,IAAA,WAAA,CACU,IAAwB,EACZ,cAA8B,EAC1C,GAAsB,EAAA;QAFtB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAoB;QACZ,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAC1C,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAZxB,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAC;QACvC,IAAM,CAAA,MAAA,GAAe,EAAE,CAAC;QACxB,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QACf,IAAG,CAAA,GAAA,GAAc,KAAK,CAAC;;QAGE,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAW,CAAC;KAMpD;IAEJ,QAAQ,GAAA;QACN,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC;QACrC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAoB,KAAI;AAC5F,YAAA,IAAI,CAAC,GAAG,GAAG,SAAS,CAAC;AACvB,SAAC,CAAC,CAAC;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;YAC7D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AAC7C,YAAA,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;A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AA,CAAA;2FAI7C,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,iBAAiB,CAAC;AACxD,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
package/fesm2020/xlsx.mjs CHANGED
@@ -115,15 +115,15 @@ class XlsxService {
115
115
  return res;
116
116
  }
117
117
  }
118
- XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
119
- XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxService, providedIn: 'root' });
118
+ XlsxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
119
+ XlsxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxService, providedIn: 'root' });
120
120
  __decorate([
121
121
  ZoneOutside()
122
122
  ], XlsxService.prototype, "read", null);
123
123
  __decorate([
124
124
  ZoneOutside()
125
125
  ], XlsxService.prototype, "export", null);
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxService, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxService, decorators: [{
127
127
  type: Injectable,
128
128
  args: [{ providedIn: 'root' }]
129
129
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.LazyService }, { type: i3.AlainConfigService }, { type: i0.NgZone }]; }, propDecorators: { read: [], export: [] } });
@@ -136,9 +136,9 @@ class XlsxDirective {
136
136
  this.srv.export(this.data);
137
137
  }
138
138
  }
139
- XlsxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxDirective, deps: [{ token: XlsxService }], target: i0.ɵɵFactoryTarget.Directive });
140
- XlsxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: XlsxDirective, selector: "[xlsx]", inputs: { data: ["xlsx", "data"] }, host: { listeners: { "click": "_click()" } }, exportAs: ["xlsx"], ngImport: i0 });
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxDirective, decorators: [{
139
+ XlsxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxDirective, deps: [{ token: XlsxService }], target: i0.ɵɵFactoryTarget.Directive });
140
+ XlsxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: XlsxDirective, selector: "[xlsx]", inputs: { data: ["xlsx", "data"] }, host: { listeners: { "click": "_click()" } }, exportAs: ["xlsx"], ngImport: i0 });
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxDirective, decorators: [{
142
142
  type: Directive,
143
143
  args: [{
144
144
  selector: '[xlsx]',
@@ -155,10 +155,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
155
155
  const COMPONENTS = [XlsxDirective];
156
156
  class XlsxModule {
157
157
  }
158
- XlsxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
159
- XlsxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxModule, declarations: [XlsxDirective], imports: [CommonModule], exports: [XlsxDirective] });
160
- XlsxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxModule, imports: [[CommonModule]] });
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: XlsxModule, decorators: [{
158
+ XlsxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
159
+ XlsxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxModule, declarations: [XlsxDirective], imports: [CommonModule], exports: [XlsxDirective] });
160
+ XlsxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxModule, imports: [[CommonModule]] });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: XlsxModule, decorators: [{
162
162
  type: NgModule,
163
163
  args: [{
164
164
  imports: [CommonModule],
package/fesm2020/zip.mjs CHANGED
@@ -104,22 +104,22 @@ class ZipService {
104
104
  });
105
105
  }
106
106
  }
107
- ZipService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
108
- ZipService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipService, providedIn: 'root' });
107
+ ZipService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipService, deps: [{ token: i1.HttpClient }, { token: i2.LazyService }, { token: i3.AlainConfigService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
108
+ ZipService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipService, providedIn: 'root' });
109
109
  __decorate([
110
110
  ZoneOutside()
111
111
  ], ZipService.prototype, "read", null);
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipService, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipService, decorators: [{
113
113
  type: Injectable,
114
114
  args: [{ providedIn: 'root' }]
115
115
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.LazyService }, { type: i3.AlainConfigService }, { type: i0.NgZone }]; }, propDecorators: { read: [] } });
116
116
 
117
117
  class ZipModule {
118
118
  }
119
- ZipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
120
- ZipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipModule, imports: [CommonModule] });
121
- ZipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipModule, imports: [[CommonModule]] });
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: ZipModule, decorators: [{
119
+ ZipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
120
+ ZipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipModule, imports: [CommonModule] });
121
+ ZipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipModule, imports: [[CommonModule]] });
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ZipModule, decorators: [{
123
123
  type: NgModule,
124
124
  args: [{
125
125
  imports: [CommonModule]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delon/abc",
3
- "version": "13.4.0",
3
+ "version": "13.5.0",
4
4
  "author": "cipchk<cipchk@qq.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,9 +27,9 @@
27
27
  "xlsx": "^0.18.4",
28
28
  "plyr": "^3.6.12",
29
29
  "ngx-countdown": "^13.0.0",
30
- "@delon/theme": "^13.4.0",
31
- "@delon/util": "^13.4.0",
32
- "@delon/acl": "^13.4.0",
30
+ "@delon/theme": "^13.5.0",
31
+ "@delon/util": "^13.5.0",
32
+ "@delon/acl": "^13.5.0",
33
33
  "tslib": "^2.3.0"
34
34
  },
35
35
  "module": "fesm2015/abc.mjs",
@@ -1,3 +1,4 @@
1
+ import { Direction, Directionality } from '@angular/cdk/bidi';
1
2
  import { Platform } from '@angular/cdk/platform';
2
3
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
3
4
  import { ActivatedRoute, Router } from '@angular/router';
@@ -15,6 +16,7 @@ export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
15
16
  private i18nSrv;
16
17
  private doc;
17
18
  private platform;
19
+ private directionality;
18
20
  static ngAcceptInputType_debug: BooleanInput;
19
21
  static ngAcceptInputType_max: NumberInput;
20
22
  static ngAcceptInputType_tabMaxWidth: NumberInput;
@@ -27,6 +29,7 @@ export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
27
29
  list: ReuseItem[];
28
30
  item?: ReuseItem;
29
31
  pos: number;
32
+ dir: Direction;
30
33
  mode: ReuseTabMatchMode;
31
34
  i18n?: ReuseContextI18n;
32
35
  debug: boolean;
@@ -50,7 +53,7 @@ export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
50
53
  }>;
51
54
  readonly change: EventEmitter<ReuseItem>;
52
55
  readonly close: EventEmitter<ReuseItem | null>;
53
- constructor(srv: ReuseTabService, cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute, i18nSrv: AlainI18NService, doc: NzSafeAny, platform: Platform);
56
+ constructor(srv: ReuseTabService, cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute, i18nSrv: AlainI18NService, doc: NzSafeAny, platform: Platform, directionality: Directionality);
54
57
  private genTit;
55
58
  private get curUrl();
56
59
  private genCurItem;
@@ -67,6 +70,6 @@ export declare class ReuseTabComponent implements OnInit, OnChanges, OnDestroy {
67
70
  [P in keyof this]?: SimpleChange;
68
71
  } & SimpleChanges): void;
69
72
  ngOnDestroy(): void;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, [null, null, null, null, { optional: true; }, null, null]>;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, [null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
71
74
  static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabComponent, "reuse-tab, [reuse-tab]", ["reuseTab"], { "mode": "mode"; "i18n": "i18n"; "debug": "debug"; "max": "max"; "tabMaxWidth": "tabMaxWidth"; "excludes": "excludes"; "allowClose": "allowClose"; "keepingScroll": "keepingScroll"; "keepingScrollContainer": "keepingScrollContainer"; "customContextMenu": "customContextMenu"; "tabBarExtraContent": "tabBarExtraContent"; "tabBarGutter": "tabBarGutter"; "tabBarStyle": "tabBarStyle"; "tabType": "tabType"; "routeParamMatchMode": "routeParamMatchMode"; "disabled": "disabled"; "titleRender": "titleRender"; }, { "change": "change"; "close": "close"; }, never, never>;
72
75
  }
@@ -81,3 +81,5 @@
81
81
  border: 1px solid #e9e9e9;
82
82
  }
83
83
  }
84
+
85
+ @import './rtl.less';
@@ -0,0 +1,3 @@
1
+ @{reuse-tab-prefix}-rtl {
2
+ direction: rtl;
3
+ }
@@ -2,6 +2,7 @@ import { DecimalPipe } from '@angular/common';
2
2
  import { DomSanitizer } from '@angular/platform-browser';
3
3
  import { Observable } from 'rxjs';
4
4
  import { DatePipe, YNPipe, _HttpClient } from '@delon/theme';
5
+ import type { AlainSTConfig } from '@delon/util/config';
5
6
  import { CurrencyService } from '@delon/util/format';
6
7
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
7
8
  import { STCustomRequestOptions, STData, STMultiSort, STMultiSortResultType, STPage, STReq, STRes, STRowClassName, STSingleSort, STStatisticalResults } from './st.interfaces';
@@ -43,8 +44,10 @@ export declare class STDataSource {
43
44
  private numberPipe;
44
45
  private currencySrv;
45
46
  private dom;
47
+ private cog;
46
48
  private sortTick;
47
49
  constructor(http: _HttpClient, datePipe: DatePipe, ynPipe: YNPipe, numberPipe: DecimalPipe, currencySrv: CurrencyService, dom: DomSanitizer);
50
+ setCog(val: AlainSTConfig): void;
48
51
  process(options: STDataSourceOptions): Observable<STDataSourceResult>;
49
52
  private get;
50
53
  private getByRemote;
@@ -55,6 +58,7 @@ export declare class STDataSource {
55
58
  }): STData[];
56
59
  getNoIndex(item: STData, col: _STColumn, idx: number): number;
57
60
  private genButtons;
61
+ private fixMaxMultiple;
58
62
  private getValidSort;
59
63
  private getSorterFn;
60
64
  get nextSortTick(): number;
@@ -253,6 +253,14 @@ export interface STColumn<T extends STData = any> {
253
253
  * 按钮组
254
254
  */
255
255
  buttons?: Array<STColumnButton<T>>;
256
+ /**
257
+ * Max button option can be showed, and the extra part are auto generated under `more`
258
+ *
259
+ * 配置最多显示多少个按钮,多余部分自动生成至 `更多` 下面
260
+ *
261
+ * > 注意:若在 `buttons` 下配置过按钮组会导致其失效
262
+ */
263
+ maxMultipleButton?: STColumnMaxMultipleButton | number;
256
264
  /**
257
265
  * 自定义渲染ID
258
266
  *
@@ -712,6 +720,16 @@ export interface STColumnButton<T extends STData = any> {
712
720
  className?: NgClassType;
713
721
  [key: string]: any;
714
722
  }
723
+ export interface STColumnMaxMultipleButton {
724
+ /**
725
+ * 更多按钮文本,默认:`更多`
726
+ */
727
+ text?: string;
728
+ /**
729
+ * 超出数量自动合并,默认:`2`
730
+ */
731
+ count?: number;
732
+ }
715
733
  export declare type IifBehaviorType = 'hide' | 'disabled';
716
734
  export interface STColumnButtonModal<T extends STData = any> extends ModalHelperOptions {
717
735
  /**
package/st/st.types.d.ts CHANGED
@@ -1,12 +1,21 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
3
  import { STColumn, STColumnButton, STColumnSafeType, STData, STSortMap } from './st.interfaces';
4
+ /**
5
+ * @inner
6
+ */
4
7
  export declare type _STTdNotifyType = 'checkbox' | 'radio';
8
+ /**
9
+ * @inner
10
+ */
5
11
  export interface _STTdNotify {
6
12
  type: _STTdNotifyType;
7
13
  item: STData;
8
14
  col: _STColumn;
9
15
  }
16
+ /**
17
+ * @inner
18
+ */
10
19
  export interface _STColumn extends STColumn {
11
20
  children?: _STColumn[];
12
21
  indexKey?: string;
@@ -29,6 +38,9 @@ export interface _STColumn extends STColumn {
29
38
  __renderTitle?: TemplateRef<any>;
30
39
  __render?: TemplateRef<any>;
31
40
  }
41
+ /**
42
+ * @inner
43
+ */
32
44
  export interface _STHeader {
33
45
  /**
34
46
  * 是否有子列
@@ -38,10 +50,16 @@ export interface _STHeader {
38
50
  rowSpan: number;
39
51
  column: _STColumn;
40
52
  }
53
+ /**
54
+ * @inner
55
+ */
41
56
  export interface _STColumnButton<T extends STData = any> extends STColumnButton<T> {
42
57
  _text?: string;
43
58
  children?: Array<_STColumnButton<T>>;
44
59
  }
60
+ /**
61
+ * @inner
62
+ */
45
63
  export interface _STDataValue {
46
64
  text: string;
47
65
  _text: SafeHtml;
@@ -1,10 +1,12 @@
1
1
  @import '../../../theme/theme-default.less';
2
2
  @tag-select-prefix: ~'.tag-select';
3
+ @tag-select-height: @tag-line-height + 2px; // 2px is top & bottom border width
3
4
 
4
5
  @{tag-select-prefix} {
5
6
  position: relative;
6
7
  display: block;
7
- max-height: 24px;
8
+ max-height: @tag-select-height + @tag-select-margin;
9
+ margin-top: -@tag-select-margin;
8
10
  margin-left: -8px;
9
11
  overflow: hidden;
10
12
  line-height: @line-height-base;
@@ -20,18 +22,23 @@
20
22
  padding-right: 50px;
21
23
  }
22
24
  .@{ant-prefix}-tag {
23
- margin-right: 24px;
24
- padding: 0 8px;
25
+ margin-top: @tag-select-margin;
26
+ margin-right: @tag-select-item-margin-right;
25
27
  }
26
28
 
27
29
  &__trigger {
28
30
  position: absolute;
29
31
  top: 0;
30
32
  right: 0;
33
+ display: flex;
34
+ align-items: center;
35
+ margin-right: 0 !important;
36
+ color: @primary-color;
31
37
 
32
- &-icon {
33
- margin-left: 8px;
34
- font-size: 12px;
38
+ > .anticon {
39
+ margin-left: 2px;
40
+ font-size: 8px;
41
+ transition: transform .24s;
35
42
  }
36
43
  }
37
44
  }
@@ -8,3 +8,8 @@
8
8
  @footer-toolbar-padding: 0 16px;
9
9
 
10
10
  @reuse-tab-height: 44px;
11
+
12
+ // tag-select
13
+ // --
14
+ @tag-select-margin: 8px;
15
+ @tag-select-item-margin-right: 12px;
@@ -97,3 +97,8 @@
97
97
  @onboarding-light-ant-color: rgb(255, 255, 255);
98
98
  @onboarding-changing-ant: all 0.3s ease-out;
99
99
  @onboarding-zindex: 99999;
100
+
101
+ // tag-select
102
+ // --
103
+ @tag-select-margin: 16px;
104
+ @tag-select-item-margin-right: 24px;