@delon/abc 17.0.5 → 17.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/auto-focus/auto-focus.directive.d.ts +7 -12
  2. package/avatar-list/avatar-list-item.component.d.ts +1 -1
  3. package/avatar-list/avatar-list.component.d.ts +10 -12
  4. package/avatar-list/avatar-list.module.d.ts +6 -6
  5. package/cell/cell-host.directive.d.ts +3 -5
  6. package/cell/cell.component.d.ts +10 -15
  7. package/cell/cell.service.d.ts +4 -7
  8. package/count-down/count-down.component.d.ts +1 -1
  9. package/count-down/count-down.module.d.ts +4 -4
  10. package/date-picker/date-picker.module.d.ts +6 -6
  11. package/date-picker/range-shortcut.component.d.ts +2 -2
  12. package/date-picker/range.directive.d.ts +7 -9
  13. package/down-file/down-file.directive.d.ts +6 -7
  14. package/down-file/down-file.module.d.ts +4 -4
  15. package/ellipsis/ellipsis.component.d.ts +12 -15
  16. package/ellipsis/ellipsis.module.d.ts +5 -5
  17. package/error-collect/error-collect.component.d.ts +14 -14
  18. package/error-collect/error-collect.module.d.ts +4 -4
  19. package/esm2022/auto-focus/auto-focus.directive.mjs +21 -32
  20. package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
  21. package/esm2022/avatar-list/avatar-list-item.component.mjs +6 -5
  22. package/esm2022/avatar-list/avatar-list.component.mjs +28 -34
  23. package/esm2022/avatar-list/avatar-list.module.mjs +6 -7
  24. package/esm2022/cell/cell-host.directive.mjs +10 -10
  25. package/esm2022/cell/cell.component.mjs +43 -59
  26. package/esm2022/cell/cell.module.mjs +4 -4
  27. package/esm2022/cell/cell.service.mjs +13 -14
  28. package/esm2022/count-down/count-down.component.mjs +9 -7
  29. package/esm2022/count-down/count-down.module.mjs +6 -7
  30. package/esm2022/date-picker/date-picker.module.mjs +6 -7
  31. package/esm2022/date-picker/range-shortcut.component.mjs +9 -9
  32. package/esm2022/date-picker/range.directive.mjs +16 -19
  33. package/esm2022/down-file/down-file.directive.mjs +17 -18
  34. package/esm2022/down-file/down-file.module.mjs +7 -8
  35. package/esm2022/ellipsis/ellipsis.component.mjs +36 -49
  36. package/esm2022/ellipsis/ellipsis.module.mjs +6 -7
  37. package/esm2022/error-collect/error-collect.component.mjs +27 -36
  38. package/esm2022/error-collect/error-collect.module.mjs +6 -7
  39. package/esm2022/exception/exception.component.mjs +21 -25
  40. package/esm2022/exception/exception.module.mjs +6 -7
  41. package/esm2022/footer-toolbar/footer-toolbar.component.mjs +18 -28
  42. package/esm2022/footer-toolbar/footer-toolbar.module.mjs +6 -7
  43. package/esm2022/full-content/full-content-toggle.directive.mjs +11 -10
  44. package/esm2022/full-content/full-content.component.mjs +26 -38
  45. package/esm2022/full-content/full-content.module.mjs +6 -7
  46. package/esm2022/full-content/full-content.service.mjs +3 -3
  47. package/esm2022/global-footer/global-footer-item.component.mjs +9 -12
  48. package/esm2022/global-footer/global-footer.component.mjs +23 -28
  49. package/esm2022/global-footer/global-footer.module.mjs +6 -7
  50. package/esm2022/hotkey/hotkey.directive.mjs +14 -14
  51. package/esm2022/hotkey/hotkey.module.mjs +4 -4
  52. package/esm2022/let/let.directive.mjs +3 -3
  53. package/esm2022/let/let.module.mjs +4 -4
  54. package/esm2022/loading/loading.component.mjs +8 -8
  55. package/esm2022/loading/loading.module.mjs +6 -7
  56. package/esm2022/loading/loading.service.mjs +15 -17
  57. package/esm2022/lodop/lodop.module.mjs +4 -4
  58. package/esm2022/lodop/lodop.service.mjs +10 -10
  59. package/esm2022/media/media.component.mjs +24 -25
  60. package/esm2022/media/media.module.mjs +6 -7
  61. package/esm2022/media/media.service.mjs +15 -15
  62. package/esm2022/notice-icon/notice-icon-tab.component.mjs +16 -9
  63. package/esm2022/notice-icon/notice-icon.component.mjs +40 -39
  64. package/esm2022/notice-icon/notice-icon.module.mjs +10 -9
  65. package/esm2022/observers/observer-size.mjs +18 -18
  66. package/esm2022/onboarding/onboarding.component.mjs +24 -30
  67. package/esm2022/onboarding/onboarding.module.mjs +25 -9
  68. package/esm2022/onboarding/onboarding.service.mjs +26 -33
  69. package/esm2022/page-header/page-header.component.mjs +61 -84
  70. package/esm2022/page-header/page-header.module.mjs +9 -9
  71. package/esm2022/pdf/pdf.component.mjs +46 -71
  72. package/esm2022/pdf/pdf.module.mjs +6 -7
  73. package/esm2022/qr/qr.component.mjs +11 -19
  74. package/esm2022/qr/qr.module.mjs +4 -4
  75. package/esm2022/quick-menu/quick-menu.component.mjs +21 -29
  76. package/esm2022/quick-menu/quick-menu.module.mjs +6 -7
  77. package/esm2022/result/result.component.mjs +20 -22
  78. package/esm2022/result/result.module.mjs +6 -7
  79. package/esm2022/reuse-tab/provide.mjs +2 -1
  80. package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +13 -14
  81. package/esm2022/reuse-tab/reuse-tab-context.component.mjs +12 -16
  82. package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +9 -9
  83. package/esm2022/reuse-tab/reuse-tab-context.service.mjs +9 -10
  84. package/esm2022/reuse-tab/reuse-tab.component.mjs +58 -93
  85. package/esm2022/reuse-tab/reuse-tab.module.mjs +4 -4
  86. package/esm2022/reuse-tab/reuse-tab.service.mjs +71 -60
  87. package/esm2022/reuse-tab/reuse-tab.strategy.mjs +5 -3
  88. package/esm2022/se/se-container.component.mjs +62 -79
  89. package/esm2022/se/se.component.mjs +42 -59
  90. package/esm2022/se/se.module.mjs +6 -7
  91. package/esm2022/sg/sg-container.component.mjs +12 -20
  92. package/esm2022/sg/sg.component.mjs +21 -27
  93. package/esm2022/sg/sg.module.mjs +6 -7
  94. package/esm2022/st/st-column-source.mjs +4 -4
  95. package/esm2022/st/st-data-source.mjs +4 -4
  96. package/esm2022/st/st-export.mjs +16 -12
  97. package/esm2022/st/st-filter.component.mjs +11 -11
  98. package/esm2022/st/st-row.directive.mjs +12 -14
  99. package/esm2022/st/st-widget-host.directive.mjs +10 -10
  100. package/esm2022/st/st-widget.mjs +3 -3
  101. package/esm2022/st/st.component.mjs +86 -125
  102. package/esm2022/st/st.module.mjs +4 -4
  103. package/esm2022/sv/sv-container.component.mjs +60 -78
  104. package/esm2022/sv/sv-value.component.mjs +9 -7
  105. package/esm2022/sv/sv.component.mjs +35 -48
  106. package/esm2022/sv/sv.module.mjs +6 -7
  107. package/esm2022/tag-select/tag-select.component.mjs +19 -24
  108. package/esm2022/tag-select/tag-select.module.mjs +6 -7
  109. package/esm2022/xlsx/xlsx.directive.mjs +9 -9
  110. package/esm2022/xlsx/xlsx.module.mjs +4 -4
  111. package/esm2022/xlsx/xlsx.service.mjs +13 -13
  112. package/esm2022/zip/zip.service.mjs +13 -13
  113. package/exception/exception.component.d.ts +13 -13
  114. package/exception/exception.module.d.ts +7 -7
  115. package/fesm2022/auto-focus.mjs +24 -35
  116. package/fesm2022/auto-focus.mjs.map +1 -1
  117. package/fesm2022/avatar-list.mjs +37 -46
  118. package/fesm2022/avatar-list.mjs.map +1 -1
  119. package/fesm2022/cell.mjs +67 -84
  120. package/fesm2022/cell.mjs.map +1 -1
  121. package/fesm2022/chart-observer-size.mjs +17 -17
  122. package/fesm2022/chart-observer-size.mjs.map +1 -1
  123. package/fesm2022/count-down.mjs +13 -13
  124. package/fesm2022/count-down.mjs.map +1 -1
  125. package/fesm2022/date-picker.mjs +28 -33
  126. package/fesm2022/date-picker.mjs.map +1 -1
  127. package/fesm2022/down-file.mjs +22 -25
  128. package/fesm2022/down-file.mjs.map +1 -1
  129. package/fesm2022/ellipsis.mjs +40 -56
  130. package/fesm2022/ellipsis.mjs.map +1 -1
  131. package/fesm2022/error-collect.mjs +31 -42
  132. package/fesm2022/error-collect.mjs.map +1 -1
  133. package/fesm2022/exception.mjs +25 -34
  134. package/fesm2022/exception.mjs.map +1 -1
  135. package/fesm2022/footer-toolbar.mjs +22 -35
  136. package/fesm2022/footer-toolbar.mjs.map +1 -1
  137. package/fesm2022/full-content.mjs +40 -52
  138. package/fesm2022/full-content.mjs.map +1 -1
  139. package/fesm2022/global-footer.mjs +34 -45
  140. package/fesm2022/global-footer.mjs.map +1 -1
  141. package/fesm2022/hotkey.mjs +17 -17
  142. package/fesm2022/hotkey.mjs.map +1 -1
  143. package/fesm2022/let.mjs +7 -7
  144. package/fesm2022/loading.mjs +26 -33
  145. package/fesm2022/loading.mjs.map +1 -1
  146. package/fesm2022/lodop.mjs +13 -13
  147. package/fesm2022/lodop.mjs.map +1 -1
  148. package/fesm2022/media.mjs +40 -42
  149. package/fesm2022/media.mjs.map +1 -1
  150. package/fesm2022/notice-icon.mjs +61 -62
  151. package/fesm2022/notice-icon.mjs.map +1 -1
  152. package/fesm2022/onboarding.mjs +71 -72
  153. package/fesm2022/onboarding.mjs.map +1 -1
  154. package/fesm2022/page-header.mjs +68 -97
  155. package/fesm2022/page-header.mjs.map +1 -1
  156. package/fesm2022/pdf.mjs +50 -77
  157. package/fesm2022/pdf.mjs.map +1 -1
  158. package/fesm2022/qr.mjs +14 -22
  159. package/fesm2022/qr.mjs.map +1 -1
  160. package/fesm2022/quick-menu.mjs +25 -37
  161. package/fesm2022/quick-menu.mjs.map +1 -1
  162. package/fesm2022/result.mjs +24 -29
  163. package/fesm2022/result.mjs.map +1 -1
  164. package/fesm2022/reuse-tab.mjs +175 -206
  165. package/fesm2022/reuse-tab.mjs.map +1 -1
  166. package/fesm2022/se.mjs +104 -141
  167. package/fesm2022/se.mjs.map +1 -1
  168. package/fesm2022/sg.mjs +34 -47
  169. package/fesm2022/sg.mjs.map +1 -1
  170. package/fesm2022/st.mjs +138 -172
  171. package/fesm2022/st.mjs.map +1 -1
  172. package/fesm2022/sv.mjs +102 -135
  173. package/fesm2022/sv.mjs.map +1 -1
  174. package/fesm2022/tag-select.mjs +23 -31
  175. package/fesm2022/tag-select.mjs.map +1 -1
  176. package/fesm2022/xlsx.mjs +22 -22
  177. package/fesm2022/xlsx.mjs.map +1 -1
  178. package/fesm2022/zip.mjs +12 -12
  179. package/fesm2022/zip.mjs.map +1 -1
  180. package/footer-toolbar/footer-toolbar.component.d.ts +6 -10
  181. package/footer-toolbar/footer-toolbar.module.d.ts +5 -5
  182. package/full-content/full-content-toggle.directive.d.ts +2 -4
  183. package/full-content/full-content.component.d.ts +11 -16
  184. package/full-content/full-content.module.d.ts +4 -4
  185. package/global-footer/global-footer-item.component.d.ts +2 -3
  186. package/global-footer/global-footer.component.d.ts +12 -16
  187. package/global-footer/global-footer.module.d.ts +5 -5
  188. package/hotkey/hotkey.directive.d.ts +4 -6
  189. package/loading/loading.component.d.ts +2 -2
  190. package/loading/loading.module.d.ts +7 -7
  191. package/loading/loading.service.d.ts +5 -8
  192. package/lodop/lodop.service.d.ts +2 -3
  193. package/media/media.component.d.ts +9 -13
  194. package/media/media.module.d.ts +3 -3
  195. package/media/media.service.d.ts +3 -5
  196. package/notice-icon/notice-icon-tab.component.d.ts +1 -1
  197. package/notice-icon/notice-icon.component.d.ts +9 -11
  198. package/notice-icon/notice-icon.module.d.ts +13 -13
  199. package/observers/observer-size.d.ts +4 -5
  200. package/onboarding/onboarding.component.d.ts +7 -10
  201. package/onboarding/onboarding.module.d.ts +8 -8
  202. package/onboarding/onboarding.service.d.ts +9 -16
  203. package/package.json +5 -5
  204. package/page-header/page-header.component.d.ts +24 -27
  205. package/page-header/page-header.module.d.ts +9 -9
  206. package/pdf/pdf.component.d.ts +22 -22
  207. package/pdf/pdf.module.d.ts +4 -4
  208. package/pdf/pdf.types.d.ts +1 -1
  209. package/qr/qr.component.d.ts +3 -4
  210. package/quick-menu/quick-menu.component.d.ts +8 -10
  211. package/quick-menu/quick-menu.module.d.ts +5 -5
  212. package/result/result.component.d.ts +8 -9
  213. package/result/result.module.d.ts +5 -5
  214. package/reuse-tab/reuse-tab-context-menu.component.d.ts +1 -3
  215. package/reuse-tab/reuse-tab-context.component.d.ts +4 -7
  216. package/reuse-tab/reuse-tab-context.directive.d.ts +1 -3
  217. package/reuse-tab/reuse-tab-context.service.d.ts +1 -3
  218. package/reuse-tab/reuse-tab.component.d.ts +21 -28
  219. package/reuse-tab/reuse-tab.service.d.ts +10 -12
  220. package/reuse-tab/reuse-tab.strategy.d.ts +1 -3
  221. package/se/se-container.component.d.ts +20 -21
  222. package/se/se.component.d.ts +17 -21
  223. package/se/se.module.d.ts +7 -7
  224. package/sg/sg-container.component.d.ts +4 -5
  225. package/sg/sg.component.d.ts +9 -12
  226. package/sg/sg.module.d.ts +4 -4
  227. package/st/st-export.d.ts +3 -4
  228. package/st/st-filter.component.d.ts +2 -3
  229. package/st/st-row.directive.d.ts +3 -4
  230. package/st/st-widget-host.directive.d.ts +3 -5
  231. package/st/st.component.d.ts +38 -41
  232. package/sv/sv-container.component.d.ts +19 -20
  233. package/sv/sv-value.component.d.ts +1 -1
  234. package/sv/sv.component.d.ts +13 -16
  235. package/sv/sv.module.d.ts +9 -9
  236. package/tag-select/tag-select.component.d.ts +11 -13
  237. package/tag-select/tag-select.module.d.ts +5 -5
  238. package/xlsx/xlsx.directive.d.ts +1 -3
  239. package/xlsx/xlsx.service.d.ts +4 -7
  240. package/zip/zip.service.d.ts +4 -7
@@ -1 +1 @@
1
- {"version":3,"file":"result.mjs","sources":["../../../../packages/abc/result/result.component.ts","../../../../packages/abc/result/result.component.html","../../../../packages/abc/result/result.module.ts","../../../../packages/abc/result/result.ts"],"sourcesContent":["import { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n OnInit,\n Optional,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'result',\n exportAs: 'result',\n templateUrl: './result.component.html',\n host: {\n '[class.result]': 'true',\n '[class.result-rtl]': `dir === 'rtl'`\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class ResultComponent implements OnInit {\n private dir$ = this.directionality.change?.pipe(takeUntilDestroyed());\n _type = '';\n _icon = '';\n @Input()\n set type(value: string) {\n this._type = value;\n switch (value) {\n case 'success':\n this._icon = 'check-circle';\n break;\n case 'error':\n this._icon = 'close-circle';\n break;\n default:\n this._icon = value;\n break;\n }\n }\n\n @Input() title?: string | TemplateRef<void>;\n @Input() description?: string | TemplateRef<void>;\n @Input() extra?: string | TemplateRef<void>;\n dir: Direction = 'ltr';\n\n constructor(\n @Optional() private directionality: Directionality,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.dir = this.directionality.value;\n this.dir$.subscribe((direction: Direction) => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n }\n}\n","<div class=\"result__icon\">\n <i nz-icon [nzType]=\"_icon\" class=\"result__icon-{{ _type }}\"></i>\n</div>\n<div class=\"result__title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n</div>\n@if (description) {\n <div class=\"result__desc\">\n <ng-container *nzStringTemplateOutlet=\"description\">{{ description }}</ng-container>\n </div>\n}\n@if (extra) {\n <div class=\"result__extra\">\n <ng-container *nzStringTemplateOutlet=\"extra\">{{ extra }}</ng-container>\n </div>\n}\n<div class=\"result__actions\">\n <ng-content />\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { ResultComponent } from './result.component';\n\nconst COMPONENTS = [ResultComponent];\n\n@NgModule({\n imports: [CommonModule, NzIconModule, NzOutletModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class ResultModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;MAyBa,eAAe,CAAA;IAI1B,IACI,IAAI,CAAC,KAAa,EAAA;AACpB,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,KAAK;AACX,YAAA,KAAK,SAAS;AACZ,gBAAA,IAAI,CAAC,KAAK,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AA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAZ,YAAY,EAAA,YAAA,EAAA,CAPL,eAAe,CAGvB,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CAHlC,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;AAOtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EAJb,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzC,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC;AACrD,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;AACpB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"result.mjs","sources":["../../../../packages/abc/result/result.component.ts","../../../../packages/abc/result/result.component.html","../../../../packages/abc/result/result.module.ts","../../../../packages/abc/result/result.ts"],"sourcesContent":["import { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DestroyRef,\n Input,\n OnInit,\n TemplateRef,\n ViewEncapsulation,\n inject\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\nimport { NzStringTemplateOutletDirective } from 'ng-zorro-antd/core/outlet';\nimport { NzIconDirective } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'result',\n exportAs: 'result',\n templateUrl: './result.component.html',\n host: {\n '[class.result]': 'true',\n '[class.result-rtl]': `dir === 'rtl'`\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NzIconDirective, NzStringTemplateOutletDirective]\n})\nexport class ResultComponent implements OnInit {\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly directionality = inject(Directionality, { optional: true });\n private readonly destroy$ = inject(DestroyRef);\n\n _type = '';\n _icon = '';\n @Input()\n set type(value: string) {\n this._type = value;\n switch (value) {\n case 'success':\n this._icon = 'check-circle';\n break;\n case 'error':\n this._icon = 'close-circle';\n break;\n default:\n this._icon = value;\n break;\n }\n }\n\n @Input() title?: string | TemplateRef<void>;\n @Input() description?: string | TemplateRef<void>;\n @Input() extra?: string | TemplateRef<void>;\n dir?: Direction = 'ltr';\n\n ngOnInit(): void {\n this.dir = this.directionality?.value;\n this.directionality?.change.pipe(takeUntilDestroyed(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n }\n}\n","<div class=\"result__icon\">\n <i nz-icon [nzType]=\"_icon\" class=\"result__icon-{{ _type }}\"></i>\n</div>\n<div class=\"result__title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n</div>\n@if (description) {\n <div class=\"result__desc\">\n <ng-container *nzStringTemplateOutlet=\"description\">{{ description }}</ng-container>\n </div>\n}\n@if (extra) {\n <div class=\"result__extra\">\n <ng-container *nzStringTemplateOutlet=\"extra\">{{ extra }}</ng-container>\n </div>\n}\n<div class=\"result__actions\">\n <ng-content />\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { ResultComponent } from './result.component';\n\nconst COMPONENTS = [ResultComponent];\n\n@NgModule({\n imports: [CommonModule, NzIconModule, NzOutletModule, ...COMPONENTS],\n exports: COMPONENTS\n})\nexport class ResultModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],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