@delon/abc 12.4.1 → 13.0.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 (758) hide show
  1. package/abc.d.ts +1 -0
  2. package/auto-focus/{autoFocus.d.ts → auto-focus.d.ts} +1 -0
  3. package/auto-focus/auto-focus.directive.d.ts +7 -2
  4. package/auto-focus/auto-focus.module.d.ts +5 -0
  5. package/auto-focus/package.json +6 -7
  6. package/avatar-list/avatar-list-item.component.d.ts +7 -4
  7. package/avatar-list/avatar-list.component.d.ts +4 -1
  8. package/avatar-list/avatar-list.d.ts +5 -0
  9. package/avatar-list/avatar-list.module.d.ts +9 -0
  10. package/avatar-list/package.json +6 -7
  11. package/avatar-list/style/index.less +6 -0
  12. package/count-down/count-down.component.d.ts +4 -1
  13. package/count-down/count-down.d.ts +1 -0
  14. package/count-down/count-down.module.d.ts +7 -0
  15. package/count-down/package.json +5 -6
  16. package/date-picker/date-picker.d.ts +5 -0
  17. package/date-picker/date-picker.module.d.ts +9 -0
  18. package/date-picker/package.json +6 -7
  19. package/date-picker/public_api.d.ts +1 -0
  20. package/date-picker/range-shortcut.component.d.ts +3 -0
  21. package/date-picker/range.directive.d.ts +3 -0
  22. package/down-file/down-file.d.ts +5 -0
  23. package/down-file/down-file.directive.d.ts +5 -2
  24. package/down-file/down-file.module.d.ts +7 -0
  25. package/down-file/package.json +6 -7
  26. package/ellipsis/ellipsis.component.d.ts +5 -2
  27. package/ellipsis/ellipsis.d.ts +1 -0
  28. package/ellipsis/ellipsis.module.d.ts +8 -0
  29. package/ellipsis/package.json +5 -6
  30. package/ellipsis/style/index.less +4 -0
  31. package/error-collect/error-collect.component.d.ts +3 -0
  32. package/error-collect/error-collect.d.ts +5 -0
  33. package/error-collect/error-collect.module.d.ts +7 -0
  34. package/error-collect/package.json +6 -7
  35. package/error-collect/style/index.less +1 -0
  36. package/{esm2015/abc.js → esm2020/abc.mjs} +0 -0
  37. package/esm2020/auto-focus/auto-focus.directive.mjs +48 -0
  38. package/esm2020/auto-focus/auto-focus.mjs +5 -0
  39. package/esm2020/auto-focus/auto-focus.module.mjs +17 -0
  40. package/{esm2015/auto-focus/index.js → esm2020/auto-focus/index.mjs} +0 -0
  41. package/esm2020/avatar-list/avatar-list-item.component.mjs +26 -0
  42. package/esm2020/avatar-list/avatar-list.component.mjs +89 -0
  43. package/esm2020/avatar-list/avatar-list.mjs +5 -0
  44. package/esm2020/avatar-list/avatar-list.module.mjs +22 -0
  45. package/{esm2015/avatar-list/public_api.js → esm2020/avatar-list/public_api.mjs} +0 -0
  46. package/esm2020/count-down/count-down.component.mjs +45 -0
  47. package/{esm2015/count-down/count-down.js → esm2020/count-down/count-down.mjs} +0 -0
  48. package/esm2020/count-down/count-down.module.mjs +20 -0
  49. package/{esm2015/count-down/public_api.js → esm2020/count-down/public_api.mjs} +0 -0
  50. package/esm2020/date-picker/date-picker.mjs +5 -0
  51. package/esm2020/date-picker/date-picker.module.mjs +22 -0
  52. package/{esm2015/date-picker/public_api.js → esm2020/date-picker/public_api.mjs} +2 -1
  53. package/esm2020/date-picker/range-shortcut.component.mjs +40 -0
  54. package/esm2020/date-picker/range.directive.mjs +174 -0
  55. package/esm2020/down-file/down-file.directive.mjs +114 -0
  56. package/esm2020/down-file/down-file.mjs +5 -0
  57. package/esm2020/down-file/down-file.module.mjs +20 -0
  58. package/{esm2015/down-file/public_api.js → esm2020/down-file/public_api.mjs} +0 -0
  59. package/esm2020/ellipsis/ellipsis.component.mjs +229 -0
  60. package/{esm2015/ellipsis/ellipsis.js → esm2020/ellipsis/ellipsis.mjs} +0 -0
  61. package/esm2020/ellipsis/ellipsis.module.mjs +21 -0
  62. package/{esm2015/ellipsis/public_api.js → esm2020/ellipsis/public_api.mjs} +0 -0
  63. package/esm2020/error-collect/error-collect.component.mjs +118 -0
  64. package/esm2020/error-collect/error-collect.mjs +5 -0
  65. package/esm2020/error-collect/error-collect.module.mjs +20 -0
  66. package/{esm2015/error-collect/public_api.js → esm2020/error-collect/public_api.mjs} +0 -0
  67. package/esm2020/exception/exception.component.mjs +105 -0
  68. package/{esm2015/exception/exception.js → esm2020/exception/exception.mjs} +0 -0
  69. package/esm2020/exception/exception.module.mjs +23 -0
  70. package/{esm2015/exception/public_api.js → esm2020/exception/public_api.mjs} +0 -0
  71. package/esm2020/footer-toolbar/footer-toolbar.component.mjs +44 -0
  72. package/esm2020/footer-toolbar/footer-toolbar.mjs +5 -0
  73. package/esm2020/footer-toolbar/footer-toolbar.module.mjs +21 -0
  74. package/{esm2015/footer-toolbar/public_api.js → esm2020/footer-toolbar/public_api.mjs} +0 -0
  75. package/esm2020/full-content/full-content-toggle.directive.mjs +24 -0
  76. package/esm2020/full-content/full-content.component.mjs +138 -0
  77. package/esm2020/full-content/full-content.mjs +5 -0
  78. package/esm2020/full-content/full-content.module.mjs +20 -0
  79. package/esm2020/full-content/full-content.service.mjs +23 -0
  80. package/{esm2015/full-content/public_api.js → esm2020/full-content/public_api.mjs} +0 -0
  81. package/esm2020/global-footer/global-footer-item.component.mjs +30 -0
  82. package/esm2020/global-footer/global-footer.component.mjs +73 -0
  83. package/esm2020/global-footer/global-footer.mjs +5 -0
  84. package/esm2020/global-footer/global-footer.module.mjs +21 -0
  85. package/{esm2015/global-footer/global-footer.types.js → esm2020/global-footer/global-footer.types.mjs} +0 -0
  86. package/{esm2015/global-footer/public_api.js → esm2020/global-footer/public_api.mjs} +0 -0
  87. package/esm2020/image/image.directive.mjs +146 -0
  88. package/{esm2015/image/image.js → esm2020/image/image.mjs} +0 -0
  89. package/esm2020/image/image.module.mjs +20 -0
  90. package/{esm2015/image/public_api.js → esm2020/image/public_api.mjs} +0 -0
  91. package/{esm2015/let/index.js → esm2020/let/index.mjs} +0 -0
  92. package/esm2020/let/let.directive.mjs +36 -0
  93. package/{esm2015/let/let.js → esm2020/let/let.mjs} +0 -0
  94. package/esm2020/let/let.module.mjs +17 -0
  95. package/esm2020/loading/loading.component.mjs +26 -0
  96. package/{esm2015/loading/loading.js → esm2020/loading/loading.mjs} +0 -0
  97. package/esm2020/loading/loading.module.mjs +24 -0
  98. package/esm2020/loading/loading.service.mjs +88 -0
  99. package/{esm2015/loading/loading.types.js → esm2020/loading/loading.types.mjs} +0 -0
  100. package/{esm2015/loading/public_api.js → esm2020/loading/public_api.mjs} +0 -0
  101. package/{esm2015/lodop/lodop.js → esm2020/lodop/lodop.mjs} +0 -0
  102. package/esm2020/lodop/lodop.module.mjs +12 -0
  103. package/esm2020/lodop/lodop.service.mjs +222 -0
  104. package/esm2020/lodop/lodop.types.mjs +2 -0
  105. package/{esm2015/lodop/public_api.js → esm2020/lodop/public_api.mjs} +0 -0
  106. package/esm2020/media/media.component.mjs +106 -0
  107. package/{esm2015/media/media.js → esm2020/media/media.mjs} +0 -0
  108. package/esm2020/media/media.module.mjs +19 -0
  109. package/esm2020/media/media.service.mjs +46 -0
  110. package/{esm2015/media/plyr.types.js → esm2020/media/plyr.types.mjs} +0 -0
  111. package/{esm2015/media/public_api.js → esm2020/media/public_api.mjs} +0 -0
  112. package/esm2020/notice-icon/notice-icon-tab.component.mjs +34 -0
  113. package/esm2020/notice-icon/notice-icon.component.mjs +80 -0
  114. package/esm2020/notice-icon/notice-icon.mjs +5 -0
  115. package/esm2020/notice-icon/notice-icon.module.mjs +60 -0
  116. package/{esm2015/notice-icon/notice-icon.types.js → esm2020/notice-icon/notice-icon.types.mjs} +0 -0
  117. package/{esm2015/notice-icon/public_api.js → esm2020/notice-icon/public_api.mjs} +0 -0
  118. package/esm2020/onboarding/onboarding.component.mjs +134 -0
  119. package/{esm2015/onboarding/onboarding.js → esm2020/onboarding/onboarding.mjs} +0 -0
  120. package/esm2020/onboarding/onboarding.module.mjs +25 -0
  121. package/esm2020/onboarding/onboarding.service.mjs +185 -0
  122. package/{esm2015/onboarding/onboarding.types.js → esm2020/onboarding/onboarding.types.mjs} +0 -0
  123. package/{esm2015/onboarding/public_api.js → esm2020/onboarding/public_api.mjs} +0 -0
  124. package/esm2020/page-header/page-header.component.mjs +247 -0
  125. package/esm2020/page-header/page-header.mjs +5 -0
  126. package/esm2020/page-header/page-header.module.mjs +24 -0
  127. package/{esm2015/page-header/public_api.js → esm2020/page-header/public_api.mjs} +0 -0
  128. package/esm2020/pdf/pdf.component.mjs +460 -0
  129. package/{esm2015/pdf/pdf.config.js → esm2020/pdf/pdf.config.mjs} +2 -2
  130. package/{esm2015/pdf/pdf.js → esm2020/pdf/pdf.mjs} +0 -0
  131. package/esm2020/pdf/pdf.module.mjs +20 -0
  132. package/{esm2015/pdf/pdf.types.js → esm2020/pdf/pdf.types.mjs} +0 -0
  133. package/{esm2015/pdf/public_api.js → esm2020/pdf/public_api.mjs} +0 -0
  134. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  135. package/{esm2015/qr/public_api.js → esm2020/qr/public_api.mjs} +0 -0
  136. package/esm2020/qr/qr.component.mjs +136 -0
  137. package/{esm2015/qr/qr.config.js → esm2020/qr/qr.config.mjs} +2 -2
  138. package/{esm2015/qr/qr.js → esm2020/qr/qr.mjs} +0 -0
  139. package/esm2020/qr/qr.module.mjs +19 -0
  140. package/{esm2015/qr/qr.types.js → esm2020/qr/qr.types.mjs} +0 -0
  141. package/{esm2015/quick-menu/public_api.js → esm2020/quick-menu/public_api.mjs} +0 -0
  142. package/esm2020/quick-menu/quick-menu.component.mjs +89 -0
  143. package/esm2020/quick-menu/quick-menu.mjs +5 -0
  144. package/esm2020/quick-menu/quick-menu.module.mjs +21 -0
  145. package/{esm2015/result/public_api.js → esm2020/result/public_api.mjs} +0 -0
  146. package/esm2020/result/result.component.mjs +61 -0
  147. package/{esm2015/result/result.js → esm2020/result/result.mjs} +0 -0
  148. package/esm2020/result/result.module.mjs +21 -0
  149. package/{esm2015/reuse-tab/lifecycle_hooks.js → esm2020/reuse-tab/lifecycle_hooks.mjs} +0 -0
  150. package/{esm2015/reuse-tab/public_api.js → esm2020/reuse-tab/public_api.mjs} +0 -0
  151. package/esm2020/reuse-tab/reuse-tab-context-menu.component.mjs +76 -0
  152. package/esm2020/reuse-tab/reuse-tab-context.component.mjs +33 -0
  153. package/esm2020/reuse-tab/reuse-tab-context.directive.mjs +35 -0
  154. package/esm2020/reuse-tab/reuse-tab-context.service.mjs +55 -0
  155. package/esm2020/reuse-tab/reuse-tab.component.mjs +318 -0
  156. package/{esm2015/reuse-tab/reuse-tab.interfaces.js → esm2020/reuse-tab/reuse-tab.interfaces.mjs} +0 -0
  157. package/esm2020/reuse-tab/reuse-tab.mjs +5 -0
  158. package/esm2020/reuse-tab/reuse-tab.module.mjs +29 -0
  159. package/esm2020/reuse-tab/reuse-tab.service.mjs +533 -0
  160. package/{esm2015/reuse-tab/reuse-tab.strategy.js → esm2020/reuse-tab/reuse-tab.strategy.mjs} +0 -0
  161. package/esm2020/se/public_api.mjs +5 -0
  162. package/esm2020/se/se-container.component.mjs +173 -0
  163. package/esm2020/se/se.component.mjs +233 -0
  164. package/esm2020/se/se.mjs +5 -0
  165. package/esm2020/se/se.module.mjs +23 -0
  166. package/{esm2015/se/se.types.js → esm2020/se/se.types.mjs} +0 -0
  167. package/{esm2015/sg/public_api.js → esm2020/sg/public_api.mjs} +0 -0
  168. package/esm2020/sg/sg-container.component.mjs +52 -0
  169. package/esm2020/sg/sg.component.mjs +67 -0
  170. package/esm2020/sg/sg.mjs +5 -0
  171. package/esm2020/sg/sg.module.mjs +20 -0
  172. package/{esm2015/st/public_api.js → esm2020/st/public_api.mjs} +0 -0
  173. package/esm2020/st/st-column-source.mjs +470 -0
  174. package/esm2020/st/st-data-source.mjs +448 -0
  175. package/esm2020/st/st-export.mjs +89 -0
  176. package/esm2020/st/st-filter.component.mjs +262 -0
  177. package/esm2020/st/st-row.directive.mjs +45 -0
  178. package/esm2020/st/st-widget-host.directive.mjs +31 -0
  179. package/esm2020/st/st-widget.mjs +26 -0
  180. package/esm2020/st/st.component.mjs +969 -0
  181. package/{esm2015/st/st.config.js → esm2020/st/st.config.mjs} +0 -0
  182. package/esm2020/st/st.interfaces.mjs +2 -0
  183. package/esm2020/st/st.mjs +5 -0
  184. package/esm2020/st/st.module.mjs +98 -0
  185. package/{esm2015/st/st.types.js → esm2020/st/st.types.mjs} +0 -0
  186. package/esm2020/sv/public_api.mjs +5 -0
  187. package/esm2020/sv/sv-container.component.mjs +125 -0
  188. package/esm2020/sv/sv-value.component.mjs +44 -0
  189. package/esm2020/sv/sv.component.mjs +113 -0
  190. package/esm2020/sv/sv.mjs +5 -0
  191. package/esm2020/sv/sv.module.mjs +25 -0
  192. package/{esm2015/tag-select/public_api.js → esm2020/tag-select/public_api.mjs} +0 -0
  193. package/esm2020/tag-select/tag-select.component.mjs +64 -0
  194. package/esm2020/tag-select/tag-select.mjs +5 -0
  195. package/esm2020/tag-select/tag-select.module.mjs +21 -0
  196. package/{esm2015/xlsx/public_api.js → esm2020/xlsx/public_api.mjs} +0 -0
  197. package/esm2020/xlsx/xlsx.directive.mjs +27 -0
  198. package/{esm2015/xlsx/xlsx.js → esm2020/xlsx/xlsx.mjs} +0 -0
  199. package/esm2020/xlsx/xlsx.module.mjs +19 -0
  200. package/esm2020/xlsx/xlsx.service.mjs +128 -0
  201. package/{esm2015/xlsx/xlsx.types.js → esm2020/xlsx/xlsx.types.mjs} +0 -0
  202. package/{esm2015/zip/public_api.js → esm2020/zip/public_api.mjs} +0 -0
  203. package/{esm2015/zip/zip.js → esm2020/zip/zip.mjs} +0 -0
  204. package/esm2020/zip/zip.module.mjs +15 -0
  205. package/esm2020/zip/zip.service.mjs +114 -0
  206. package/{esm2015/zip/zip.types.js → esm2020/zip/zip.types.mjs} +0 -0
  207. package/exception/exception.component.d.ts +3 -0
  208. package/exception/exception.d.ts +1 -0
  209. package/exception/exception.module.d.ts +10 -0
  210. package/exception/package.json +5 -6
  211. package/exception/style/index.less +9 -0
  212. package/fesm2015/{abc.js → abc.mjs} +1 -1
  213. package/fesm2015/abc.mjs.map +1 -0
  214. package/fesm2015/auto-focus.mjs +69 -0
  215. package/fesm2015/auto-focus.mjs.map +1 -0
  216. package/fesm2015/avatar-list.mjs +140 -0
  217. package/fesm2015/avatar-list.mjs.map +1 -0
  218. package/fesm2015/count-down.mjs +69 -0
  219. package/fesm2015/count-down.mjs.map +1 -0
  220. package/fesm2015/{datePicker.js → date-picker.mjs} +63 -40
  221. package/fesm2015/date-picker.mjs.map +1 -0
  222. package/fesm2015/down-file.mjs +141 -0
  223. package/fesm2015/down-file.mjs.map +1 -0
  224. package/fesm2015/ellipsis.mjs +255 -0
  225. package/fesm2015/ellipsis.mjs.map +1 -0
  226. package/fesm2015/error-collect.mjs +144 -0
  227. package/fesm2015/error-collect.mjs.map +1 -0
  228. package/fesm2015/exception.mjs +135 -0
  229. package/fesm2015/exception.mjs.map +1 -0
  230. package/fesm2015/footer-toolbar.mjs +70 -0
  231. package/fesm2015/footer-toolbar.mjs.map +1 -0
  232. package/fesm2015/full-content.mjs +202 -0
  233. package/fesm2015/full-content.mjs.map +1 -0
  234. package/fesm2015/global-footer.mjs +127 -0
  235. package/fesm2015/global-footer.mjs.map +1 -0
  236. package/fesm2015/image.mjs +165 -0
  237. package/fesm2015/image.mjs.map +1 -0
  238. package/fesm2015/let.mjs +59 -0
  239. package/fesm2015/let.mjs.map +1 -0
  240. package/fesm2015/loading.mjs +140 -0
  241. package/fesm2015/loading.mjs.map +1 -0
  242. package/fesm2015/{lodop.js → lodop.mjs} +15 -15
  243. package/fesm2015/lodop.mjs.map +1 -0
  244. package/fesm2015/media.mjs +170 -0
  245. package/fesm2015/media.mjs.map +1 -0
  246. package/fesm2015/notice-icon.mjs +173 -0
  247. package/fesm2015/notice-icon.mjs.map +1 -0
  248. package/fesm2015/onboarding.mjs +335 -0
  249. package/fesm2015/onboarding.mjs.map +1 -0
  250. package/fesm2015/page-header.mjs +277 -0
  251. package/fesm2015/page-header.mjs.map +1 -0
  252. package/fesm2015/{pdf.js → pdf.mjs} +81 -54
  253. package/fesm2015/pdf.mjs.map +1 -0
  254. package/fesm2015/qr.mjs +171 -0
  255. package/fesm2015/qr.mjs.map +1 -0
  256. package/fesm2015/quick-menu.mjs +114 -0
  257. package/fesm2015/quick-menu.mjs.map +1 -0
  258. package/fesm2015/result.mjs +89 -0
  259. package/fesm2015/result.mjs.map +1 -0
  260. package/fesm2015/{reuseTab.js → reuse-tab.mjs} +183 -160
  261. package/fesm2015/reuse-tab.mjs.map +1 -0
  262. package/fesm2015/se.mjs +443 -0
  263. package/fesm2015/se.mjs.map +1 -0
  264. package/fesm2015/sg.mjs +139 -0
  265. package/fesm2015/sg.mjs.map +1 -0
  266. package/fesm2015/{table.js → st.mjs} +610 -492
  267. package/fesm2015/st.mjs.map +1 -0
  268. package/fesm2015/sv.mjs +302 -0
  269. package/fesm2015/sv.mjs.map +1 -0
  270. package/fesm2015/tag-select.mjs +92 -0
  271. package/fesm2015/tag-select.mjs.map +1 -0
  272. package/fesm2015/{xlsx.js → xlsx.mjs} +42 -42
  273. package/fesm2015/xlsx.mjs.map +1 -0
  274. package/fesm2015/{zip.js → zip.mjs} +35 -32
  275. package/fesm2015/zip.mjs.map +1 -0
  276. package/fesm2020/abc.mjs +7 -0
  277. package/fesm2020/abc.mjs.map +1 -0
  278. package/fesm2020/auto-focus.mjs +69 -0
  279. package/fesm2020/auto-focus.mjs.map +1 -0
  280. package/fesm2020/avatar-list.mjs +137 -0
  281. package/fesm2020/avatar-list.mjs.map +1 -0
  282. package/fesm2020/count-down.mjs +69 -0
  283. package/fesm2020/count-down.mjs.map +1 -0
  284. package/fesm2020/date-picker.mjs +236 -0
  285. package/fesm2020/date-picker.mjs.map +1 -0
  286. package/fesm2020/down-file.mjs +138 -0
  287. package/fesm2020/down-file.mjs.map +1 -0
  288. package/fesm2020/ellipsis.mjs +253 -0
  289. package/fesm2020/ellipsis.mjs.map +1 -0
  290. package/fesm2020/error-collect.mjs +141 -0
  291. package/fesm2020/error-collect.mjs.map +1 -0
  292. package/fesm2020/exception.mjs +132 -0
  293. package/fesm2020/exception.mjs.map +1 -0
  294. package/fesm2020/footer-toolbar.mjs +68 -0
  295. package/fesm2020/footer-toolbar.mjs.map +1 -0
  296. package/fesm2020/full-content.mjs +199 -0
  297. package/fesm2020/full-content.mjs.map +1 -0
  298. package/fesm2020/global-footer.mjs +124 -0
  299. package/fesm2020/global-footer.mjs.map +1 -0
  300. package/fesm2020/image.mjs +170 -0
  301. package/fesm2020/image.mjs.map +1 -0
  302. package/fesm2020/let.mjs +57 -0
  303. package/fesm2020/let.mjs.map +1 -0
  304. package/fesm2020/loading.mjs +138 -0
  305. package/fesm2020/loading.mjs.map +1 -0
  306. package/fesm2020/lodop.mjs +239 -0
  307. package/fesm2020/lodop.mjs.map +1 -0
  308. package/fesm2020/media.mjs +172 -0
  309. package/fesm2020/media.mjs.map +1 -0
  310. package/fesm2020/notice-icon.mjs +173 -0
  311. package/fesm2020/notice-icon.mjs.map +1 -0
  312. package/fesm2020/onboarding.mjs +343 -0
  313. package/fesm2020/onboarding.mjs.map +1 -0
  314. package/fesm2020/page-header.mjs +274 -0
  315. package/fesm2020/page-header.mjs.map +1 -0
  316. package/fesm2020/pdf.mjs +506 -0
  317. package/fesm2020/pdf.mjs.map +1 -0
  318. package/fesm2020/qr.mjs +171 -0
  319. package/fesm2020/qr.mjs.map +1 -0
  320. package/fesm2020/quick-menu.mjs +114 -0
  321. package/fesm2020/quick-menu.mjs.map +1 -0
  322. package/fesm2020/result.mjs +86 -0
  323. package/fesm2020/result.mjs.map +1 -0
  324. package/fesm2020/reuse-tab.mjs +1106 -0
  325. package/fesm2020/reuse-tab.mjs.map +1 -0
  326. package/fesm2020/se.mjs +436 -0
  327. package/fesm2020/se.mjs.map +1 -0
  328. package/fesm2020/sg.mjs +137 -0
  329. package/fesm2020/sg.mjs.map +1 -0
  330. package/fesm2020/st.mjs +2469 -0
  331. package/fesm2020/st.mjs.map +1 -0
  332. package/fesm2020/sv.mjs +298 -0
  333. package/fesm2020/sv.mjs.map +1 -0
  334. package/fesm2020/tag-select.mjs +89 -0
  335. package/fesm2020/tag-select.mjs.map +1 -0
  336. package/fesm2020/xlsx.mjs +175 -0
  337. package/fesm2020/xlsx.mjs.map +1 -0
  338. package/fesm2020/zip.mjs +134 -0
  339. package/fesm2020/zip.mjs.map +1 -0
  340. package/footer-toolbar/footer-toolbar.component.d.ts +4 -1
  341. package/footer-toolbar/footer-toolbar.d.ts +5 -0
  342. package/footer-toolbar/footer-toolbar.module.d.ts +8 -0
  343. package/footer-toolbar/package.json +6 -7
  344. package/footer-toolbar/style/index.less +1 -0
  345. package/full-content/full-content-toggle.directive.d.ts +3 -0
  346. package/full-content/full-content.component.d.ts +6 -3
  347. package/full-content/full-content.d.ts +5 -0
  348. package/full-content/full-content.module.d.ts +7 -0
  349. package/full-content/full-content.service.d.ts +3 -0
  350. package/full-content/package.json +6 -7
  351. package/full-content/style/index.less +1 -0
  352. package/global-footer/global-footer-item.component.d.ts +5 -2
  353. package/global-footer/global-footer.component.d.ts +3 -0
  354. package/global-footer/global-footer.d.ts +5 -0
  355. package/global-footer/global-footer.module.d.ts +8 -0
  356. package/global-footer/package.json +6 -7
  357. package/global-footer/style/index.less +5 -0
  358. package/image/image.d.ts +1 -0
  359. package/image/image.directive.d.ts +4 -1
  360. package/image/image.module.d.ts +7 -0
  361. package/image/package.json +5 -6
  362. package/let/let.d.ts +1 -0
  363. package/let/let.directive.d.ts +3 -0
  364. package/let/let.module.d.ts +5 -0
  365. package/let/package.json +5 -6
  366. package/loading/loading.component.d.ts +3 -0
  367. package/loading/loading.d.ts +1 -0
  368. package/loading/loading.module.d.ts +10 -0
  369. package/loading/loading.service.d.ts +4 -1
  370. package/loading/package.json +5 -6
  371. package/loading/style/index.less +3 -0
  372. package/lodop/lodop.d.ts +1 -0
  373. package/lodop/lodop.module.d.ts +4 -0
  374. package/lodop/lodop.service.d.ts +3 -0
  375. package/lodop/lodop.types.d.ts +4 -0
  376. package/lodop/package.json +5 -6
  377. package/media/media.component.d.ts +4 -1
  378. package/media/media.d.ts +1 -0
  379. package/media/media.module.d.ts +6 -0
  380. package/media/media.service.d.ts +3 -0
  381. package/media/package.json +5 -6
  382. package/notice-icon/notice-icon-tab.component.d.ts +3 -0
  383. package/notice-icon/notice-icon.component.d.ts +4 -1
  384. package/notice-icon/notice-icon.d.ts +5 -0
  385. package/notice-icon/notice-icon.module.d.ts +16 -0
  386. package/notice-icon/package.json +6 -7
  387. package/notice-icon/style/index.less +17 -0
  388. package/onboarding/onboarding.component.d.ts +4 -1
  389. package/onboarding/onboarding.d.ts +1 -0
  390. package/onboarding/onboarding.module.d.ts +11 -0
  391. package/onboarding/onboarding.service.d.ts +3 -0
  392. package/onboarding/package.json +5 -6
  393. package/onboarding/schema.json +1 -1
  394. package/onboarding/style/index.less +6 -0
  395. package/package.json +274 -14
  396. package/page-header/package.json +6 -7
  397. package/page-header/page-header.component.d.ts +4 -1
  398. package/page-header/page-header.d.ts +5 -0
  399. package/page-header/page-header.module.d.ts +11 -0
  400. package/page-header/style/index.less +10 -0
  401. package/page-header/style/rtl.less +3 -0
  402. package/pdf/package.json +5 -6
  403. package/pdf/pdf.component.d.ts +5 -2
  404. package/pdf/pdf.d.ts +1 -0
  405. package/pdf/pdf.module.d.ts +7 -0
  406. package/qr/package.json +5 -6
  407. package/qr/qr.component.d.ts +13 -10
  408. package/qr/qr.d.ts +1 -0
  409. package/qr/qr.module.d.ts +6 -0
  410. package/quick-menu/package.json +6 -7
  411. package/quick-menu/quick-menu.component.d.ts +6 -3
  412. package/quick-menu/quick-menu.d.ts +5 -0
  413. package/quick-menu/quick-menu.module.d.ts +8 -0
  414. package/quick-menu/style/index.less +2 -0
  415. package/result/package.json +5 -6
  416. package/result/result.component.d.ts +6 -3
  417. package/result/result.d.ts +1 -0
  418. package/result/result.module.d.ts +8 -0
  419. package/result/style/index.less +7 -0
  420. package/reuse-tab/package.json +6 -7
  421. package/reuse-tab/reuse-tab-context-menu.component.d.ts +3 -0
  422. package/reuse-tab/reuse-tab-context.component.d.ts +4 -1
  423. package/reuse-tab/reuse-tab-context.directive.d.ts +3 -0
  424. package/reuse-tab/reuse-tab-context.service.d.ts +4 -1
  425. package/reuse-tab/reuse-tab.component.d.ts +13 -10
  426. package/reuse-tab/reuse-tab.d.ts +5 -0
  427. package/reuse-tab/reuse-tab.module.d.ts +15 -0
  428. package/reuse-tab/reuse-tab.service.d.ts +7 -4
  429. package/reuse-tab/style/index.less +4 -0
  430. package/se/package.json +6 -7
  431. package/se/public_api.d.ts +0 -1
  432. package/se/se-container.component.d.ts +18 -4
  433. package/se/se.component.d.ts +13 -8
  434. package/{footer-toolbar/footerToolbar.d.ts → se/se.d.ts} +1 -0
  435. package/se/se.module.d.ts +10 -0
  436. package/se/style/index.less +2 -0
  437. package/sg/package.json +6 -7
  438. package/sg/sg-container.component.d.ts +4 -1
  439. package/sg/sg.component.d.ts +4 -1
  440. package/{error-collect/errorCollect.d.ts → sg/sg.d.ts} +1 -0
  441. package/sg/sg.module.d.ts +7 -0
  442. package/st/package.json +6 -7
  443. package/st/st-column-source.d.ts +4 -1
  444. package/st/st-data-source.d.ts +3 -0
  445. package/st/st-export.d.ts +3 -0
  446. package/st/st-filter.component.d.ts +3 -0
  447. package/st/st-row.directive.d.ts +7 -2
  448. package/st/st-widget-host.directive.d.ts +5 -3
  449. package/st/st-widget.d.ts +3 -0
  450. package/st/st.component.d.ts +40 -12
  451. package/{down-file/downFile.d.ts → st/st.d.ts} +1 -0
  452. package/st/st.interfaces.d.ts +2 -2
  453. package/st/st.module.d.ts +27 -0
  454. package/st/style/index.less +8 -0
  455. package/sv/package.json +6 -7
  456. package/sv/public_api.d.ts +0 -1
  457. package/sv/style/index.less +8 -0
  458. package/sv/sv-container.component.d.ts +16 -3
  459. package/sv/sv-value.component.d.ts +3 -0
  460. package/sv/sv.component.d.ts +13 -10
  461. package/{avatar-list/avatarList.d.ts → sv/sv.d.ts} +1 -0
  462. package/sv/sv.module.d.ts +12 -0
  463. package/tag-select/package.json +6 -7
  464. package/tag-select/style/index.less +4 -0
  465. package/tag-select/style/rtl.less +3 -0
  466. package/tag-select/tag-select.component.d.ts +3 -0
  467. package/tag-select/tag-select.d.ts +5 -0
  468. package/tag-select/tag-select.module.d.ts +8 -0
  469. package/xlsx/package.json +5 -6
  470. package/xlsx/xlsx.d.ts +1 -0
  471. package/xlsx/xlsx.directive.d.ts +3 -0
  472. package/xlsx/xlsx.module.d.ts +6 -0
  473. package/xlsx/xlsx.service.d.ts +3 -0
  474. package/zip/package.json +5 -6
  475. package/zip/zip.d.ts +1 -0
  476. package/zip/zip.module.d.ts +5 -0
  477. package/zip/zip.service.d.ts +3 -0
  478. package/abc.metadata.json +0 -1
  479. package/auto-focus/autoFocus.metadata.json +0 -1
  480. package/avatar-list/avatarList.metadata.json +0 -1
  481. package/bundles/abc.umd.js +0 -19
  482. package/bundles/abc.umd.js.map +0 -1
  483. package/bundles/autoFocus.umd.js +0 -394
  484. package/bundles/autoFocus.umd.js.map +0 -1
  485. package/bundles/avatarList.umd.js +0 -465
  486. package/bundles/avatarList.umd.js.map +0 -1
  487. package/bundles/count-down.umd.js +0 -75
  488. package/bundles/count-down.umd.js.map +0 -1
  489. package/bundles/datePicker.umd.js +0 -552
  490. package/bundles/datePicker.umd.js.map +0 -1
  491. package/bundles/downFile.umd.js +0 -474
  492. package/bundles/downFile.umd.js.map +0 -1
  493. package/bundles/edit.umd.js +0 -776
  494. package/bundles/edit.umd.js.map +0 -1
  495. package/bundles/ellipsis.umd.js +0 -578
  496. package/bundles/ellipsis.umd.js.map +0 -1
  497. package/bundles/errorCollect.umd.js +0 -461
  498. package/bundles/errorCollect.umd.js.map +0 -1
  499. package/bundles/exception.umd.js +0 -150
  500. package/bundles/exception.umd.js.map +0 -1
  501. package/bundles/footerToolbar.umd.js +0 -401
  502. package/bundles/footerToolbar.umd.js.map +0 -1
  503. package/bundles/fullContent.umd.js +0 -550
  504. package/bundles/fullContent.umd.js.map +0 -1
  505. package/bundles/globalFooter.umd.js +0 -455
  506. package/bundles/globalFooter.umd.js.map +0 -1
  507. package/bundles/grid.umd.js +0 -470
  508. package/bundles/grid.umd.js.map +0 -1
  509. package/bundles/image.umd.js +0 -482
  510. package/bundles/image.umd.js.map +0 -1
  511. package/bundles/let.umd.js +0 -76
  512. package/bundles/let.umd.js.map +0 -1
  513. package/bundles/loading.umd.js +0 -181
  514. package/bundles/loading.umd.js.map +0 -1
  515. package/bundles/lodop.umd.js +0 -605
  516. package/bundles/lodop.umd.js.map +0 -1
  517. package/bundles/media.umd.js +0 -536
  518. package/bundles/media.umd.js.map +0 -1
  519. package/bundles/noticeIcon.umd.js +0 -468
  520. package/bundles/noticeIcon.umd.js.map +0 -1
  521. package/bundles/onboarding.umd.js +0 -370
  522. package/bundles/onboarding.umd.js.map +0 -1
  523. package/bundles/pageHeader.umd.js +0 -570
  524. package/bundles/pageHeader.umd.js.map +0 -1
  525. package/bundles/pdf.umd.js +0 -863
  526. package/bundles/pdf.umd.js.map +0 -1
  527. package/bundles/qr.umd.js +0 -491
  528. package/bundles/qr.umd.js.map +0 -1
  529. package/bundles/quickMenu.umd.js +0 -442
  530. package/bundles/quickMenu.umd.js.map +0 -1
  531. package/bundles/result.umd.js +0 -100
  532. package/bundles/result.umd.js.map +0 -1
  533. package/bundles/reuseTab.umd.js +0 -1522
  534. package/bundles/reuseTab.umd.js.map +0 -1
  535. package/bundles/table.umd.js +0 -2586
  536. package/bundles/table.umd.js.map +0 -1
  537. package/bundles/tagSelect.umd.js +0 -419
  538. package/bundles/tagSelect.umd.js.map +0 -1
  539. package/bundles/view.umd.js +0 -592
  540. package/bundles/view.umd.js.map +0 -1
  541. package/bundles/xlsx.umd.js +0 -529
  542. package/bundles/xlsx.umd.js.map +0 -1
  543. package/bundles/zip.umd.js +0 -482
  544. package/bundles/zip.umd.js.map +0 -1
  545. package/count-down/count-down.metadata.json +0 -1
  546. package/date-picker/datePicker.d.ts +0 -5
  547. package/date-picker/datePicker.metadata.json +0 -1
  548. package/down-file/downFile.metadata.json +0 -1
  549. package/ellipsis/ellipsis.metadata.json +0 -1
  550. package/error-collect/errorCollect.metadata.json +0 -1
  551. package/esm2015/auto-focus/auto-focus.directive.js +0 -42
  552. package/esm2015/auto-focus/auto-focus.module.js +0 -12
  553. package/esm2015/auto-focus/autoFocus.js +0 -5
  554. package/esm2015/avatar-list/avatar-list-item.component.js +0 -20
  555. package/esm2015/avatar-list/avatar-list.component.js +0 -89
  556. package/esm2015/avatar-list/avatar-list.module.js +0 -17
  557. package/esm2015/avatar-list/avatarList.js +0 -5
  558. package/esm2015/count-down/count-down.component.js +0 -36
  559. package/esm2015/count-down/count-down.module.js +0 -15
  560. package/esm2015/date-picker/date-picker.module.js +0 -17
  561. package/esm2015/date-picker/datePicker.js +0 -6
  562. package/esm2015/date-picker/range-shortcut.component.js +0 -26
  563. package/esm2015/date-picker/range.directive.js +0 -171
  564. package/esm2015/down-file/down-file.directive.js +0 -103
  565. package/esm2015/down-file/down-file.module.js +0 -15
  566. package/esm2015/down-file/downFile.js +0 -5
  567. package/esm2015/ellipsis/ellipsis.component.js +0 -224
  568. package/esm2015/ellipsis/ellipsis.module.js +0 -16
  569. package/esm2015/error-collect/error-collect.component.js +0 -112
  570. package/esm2015/error-collect/error-collect.module.js +0 -15
  571. package/esm2015/error-collect/errorCollect.js +0 -5
  572. package/esm2015/exception/exception.component.js +0 -103
  573. package/esm2015/exception/exception.module.js +0 -18
  574. package/esm2015/footer-toolbar/footer-toolbar.component.js +0 -46
  575. package/esm2015/footer-toolbar/footer-toolbar.module.js +0 -16
  576. package/esm2015/footer-toolbar/footerToolbar.js +0 -5
  577. package/esm2015/full-content/full-content-toggle.directive.js +0 -23
  578. package/esm2015/full-content/full-content.component.js +0 -135
  579. package/esm2015/full-content/full-content.module.js +0 -15
  580. package/esm2015/full-content/full-content.service.js +0 -21
  581. package/esm2015/full-content/fullContent.js +0 -5
  582. package/esm2015/global-footer/global-footer-item.component.js +0 -24
  583. package/esm2015/global-footer/global-footer.component.js +0 -77
  584. package/esm2015/global-footer/global-footer.module.js +0 -16
  585. package/esm2015/global-footer/globalFooter.js +0 -5
  586. package/esm2015/image/image.directive.js +0 -133
  587. package/esm2015/image/image.module.js +0 -15
  588. package/esm2015/let/let.directive.js +0 -31
  589. package/esm2015/let/let.module.js +0 -12
  590. package/esm2015/loading/loading.component.js +0 -26
  591. package/esm2015/loading/loading.module.js +0 -19
  592. package/esm2015/loading/loading.service.js +0 -92
  593. package/esm2015/lodop/lodop.module.js +0 -7
  594. package/esm2015/lodop/lodop.service.js +0 -219
  595. package/esm2015/lodop/lodop.types.js +0 -2
  596. package/esm2015/media/media.component.js +0 -104
  597. package/esm2015/media/media.module.js +0 -14
  598. package/esm2015/media/media.service.js +0 -53
  599. package/esm2015/notice-icon/notice-icon-tab.component.js +0 -30
  600. package/esm2015/notice-icon/notice-icon.component.js +0 -74
  601. package/esm2015/notice-icon/notice-icon.module.js +0 -35
  602. package/esm2015/notice-icon/noticeIcon.js +0 -5
  603. package/esm2015/onboarding/onboarding.component.js +0 -130
  604. package/esm2015/onboarding/onboarding.module.js +0 -20
  605. package/esm2015/onboarding/onboarding.service.js +0 -178
  606. package/esm2015/page-header/page-header.component.js +0 -216
  607. package/esm2015/page-header/page-header.module.js +0 -19
  608. package/esm2015/page-header/pageHeader.js +0 -5
  609. package/esm2015/pdf/pdf.component.js +0 -433
  610. package/esm2015/pdf/pdf.module.js +0 -15
  611. package/esm2015/qr/qr.component.js +0 -128
  612. package/esm2015/qr/qr.module.js +0 -14
  613. package/esm2015/quick-menu/quick-menu.component.js +0 -90
  614. package/esm2015/quick-menu/quick-menu.module.js +0 -16
  615. package/esm2015/quick-menu/quickMenu.js +0 -5
  616. package/esm2015/result/result.component.js +0 -62
  617. package/esm2015/result/result.module.js +0 -16
  618. package/esm2015/reuse-tab/reuse-tab-context-menu.component.js +0 -74
  619. package/esm2015/reuse-tab/reuse-tab-context.component.js +0 -32
  620. package/esm2015/reuse-tab/reuse-tab-context.directive.js +0 -33
  621. package/esm2015/reuse-tab/reuse-tab-context.service.js +0 -53
  622. package/esm2015/reuse-tab/reuse-tab.component.js +0 -300
  623. package/esm2015/reuse-tab/reuse-tab.module.js +0 -24
  624. package/esm2015/reuse-tab/reuse-tab.service.js +0 -534
  625. package/esm2015/reuse-tab/reuseTab.js +0 -5
  626. package/esm2015/se/edit.js +0 -5
  627. package/esm2015/se/public_api.js +0 -6
  628. package/esm2015/se/se-container.component.js +0 -115
  629. package/esm2015/se/se-title.component.js +0 -40
  630. package/esm2015/se/se.component.js +0 -214
  631. package/esm2015/se/se.module.js +0 -19
  632. package/esm2015/sg/grid.js +0 -5
  633. package/esm2015/sg/sg-container.component.js +0 -49
  634. package/esm2015/sg/sg.component.js +0 -65
  635. package/esm2015/sg/sg.module.js +0 -15
  636. package/esm2015/st/index.js +0 -2
  637. package/esm2015/st/st-column-source.js +0 -428
  638. package/esm2015/st/st-data-source.js +0 -429
  639. package/esm2015/st/st-export.js +0 -90
  640. package/esm2015/st/st-filter.component.js +0 -149
  641. package/esm2015/st/st-row.directive.js +0 -40
  642. package/esm2015/st/st-td.component.js +0 -232
  643. package/esm2015/st/st-widget-host.directive.js +0 -34
  644. package/esm2015/st/st-widget.js +0 -24
  645. package/esm2015/st/st.component.js +0 -784
  646. package/esm2015/st/st.interfaces.js +0 -2
  647. package/esm2015/st/st.module.js +0 -56
  648. package/esm2015/st/table.js +0 -8
  649. package/esm2015/sv/public_api.js +0 -6
  650. package/esm2015/sv/sv-container.component.js +0 -63
  651. package/esm2015/sv/sv-title.component.js +0 -40
  652. package/esm2015/sv/sv-value.component.js +0 -32
  653. package/esm2015/sv/sv.component.js +0 -105
  654. package/esm2015/sv/sv.module.js +0 -21
  655. package/esm2015/sv/view.js +0 -5
  656. package/esm2015/tag-select/tag-select.component.js +0 -70
  657. package/esm2015/tag-select/tag-select.module.js +0 -16
  658. package/esm2015/tag-select/tagSelect.js +0 -5
  659. package/esm2015/xlsx/xlsx.directive.js +0 -26
  660. package/esm2015/xlsx/xlsx.module.js +0 -14
  661. package/esm2015/xlsx/xlsx.service.js +0 -129
  662. package/esm2015/zip/zip.module.js +0 -10
  663. package/esm2015/zip/zip.service.js +0 -115
  664. package/exception/exception.metadata.json +0 -1
  665. package/fesm2015/abc.js.map +0 -1
  666. package/fesm2015/autoFocus.js +0 -59
  667. package/fesm2015/autoFocus.js.map +0 -1
  668. package/fesm2015/avatarList.js +0 -128
  669. package/fesm2015/avatarList.js.map +0 -1
  670. package/fesm2015/count-down.js +0 -56
  671. package/fesm2015/count-down.js.map +0 -1
  672. package/fesm2015/datePicker.js.map +0 -1
  673. package/fesm2015/downFile.js +0 -122
  674. package/fesm2015/downFile.js.map +0 -1
  675. package/fesm2015/edit.js +0 -396
  676. package/fesm2015/edit.js.map +0 -1
  677. package/fesm2015/ellipsis.js +0 -244
  678. package/fesm2015/ellipsis.js.map +0 -1
  679. package/fesm2015/errorCollect.js +0 -131
  680. package/fesm2015/errorCollect.js.map +0 -1
  681. package/fesm2015/exception.js +0 -125
  682. package/fesm2015/exception.js.map +0 -1
  683. package/fesm2015/footerToolbar.js +0 -66
  684. package/fesm2015/footerToolbar.js.map +0 -1
  685. package/fesm2015/fullContent.js +0 -191
  686. package/fesm2015/fullContent.js.map +0 -1
  687. package/fesm2015/globalFooter.js +0 -118
  688. package/fesm2015/globalFooter.js.map +0 -1
  689. package/fesm2015/grid.js +0 -129
  690. package/fesm2015/grid.js.map +0 -1
  691. package/fesm2015/image.js +0 -152
  692. package/fesm2015/image.js.map +0 -1
  693. package/fesm2015/let.js +0 -48
  694. package/fesm2015/let.js.map +0 -1
  695. package/fesm2015/loading.js +0 -138
  696. package/fesm2015/loading.js.map +0 -1
  697. package/fesm2015/lodop.js.map +0 -1
  698. package/fesm2015/media.js +0 -174
  699. package/fesm2015/media.js.map +0 -1
  700. package/fesm2015/noticeIcon.js +0 -141
  701. package/fesm2015/noticeIcon.js.map +0 -1
  702. package/fesm2015/onboarding.js +0 -328
  703. package/fesm2015/onboarding.js.map +0 -1
  704. package/fesm2015/pageHeader.js +0 -239
  705. package/fesm2015/pageHeader.js.map +0 -1
  706. package/fesm2015/pdf.js.map +0 -1
  707. package/fesm2015/qr.js +0 -159
  708. package/fesm2015/qr.js.map +0 -1
  709. package/fesm2015/quickMenu.js +0 -111
  710. package/fesm2015/quickMenu.js.map +0 -1
  711. package/fesm2015/result.js +0 -83
  712. package/fesm2015/result.js.map +0 -1
  713. package/fesm2015/reuseTab.js.map +0 -1
  714. package/fesm2015/table.js.map +0 -1
  715. package/fesm2015/tagSelect.js +0 -90
  716. package/fesm2015/tagSelect.js.map +0 -1
  717. package/fesm2015/view.js +0 -256
  718. package/fesm2015/view.js.map +0 -1
  719. package/fesm2015/xlsx.js.map +0 -1
  720. package/fesm2015/zip.js.map +0 -1
  721. package/footer-toolbar/footerToolbar.metadata.json +0 -1
  722. package/full-content/fullContent.d.ts +0 -4
  723. package/full-content/fullContent.metadata.json +0 -1
  724. package/global-footer/globalFooter.d.ts +0 -4
  725. package/global-footer/globalFooter.metadata.json +0 -1
  726. package/image/image.metadata.json +0 -1
  727. package/let/let.metadata.json +0 -1
  728. package/loading/loading.metadata.json +0 -1
  729. package/lodop/lodop.metadata.json +0 -1
  730. package/media/media.metadata.json +0 -1
  731. package/notice-icon/noticeIcon.d.ts +0 -4
  732. package/notice-icon/noticeIcon.metadata.json +0 -1
  733. package/onboarding/onboarding.metadata.json +0 -1
  734. package/page-header/pageHeader.d.ts +0 -4
  735. package/page-header/pageHeader.metadata.json +0 -1
  736. package/pdf/pdf.metadata.json +0 -1
  737. package/qr/qr.metadata.json +0 -1
  738. package/quick-menu/quickMenu.d.ts +0 -4
  739. package/quick-menu/quickMenu.metadata.json +0 -1
  740. package/result/result.metadata.json +0 -1
  741. package/reuse-tab/reuseTab.d.ts +0 -4
  742. package/reuse-tab/reuseTab.metadata.json +0 -1
  743. package/se/edit.d.ts +0 -4
  744. package/se/edit.metadata.json +0 -1
  745. package/se/se-title.component.d.ts +0 -10
  746. package/sg/grid.d.ts +0 -4
  747. package/sg/grid.metadata.json +0 -1
  748. package/st/index.d.ts +0 -1
  749. package/st/st-td.component.d.ts +0 -27
  750. package/st/table.d.ts +0 -7
  751. package/st/table.metadata.json +0 -1
  752. package/sv/sv-title.component.d.ts +0 -10
  753. package/sv/view.d.ts +0 -4
  754. package/sv/view.metadata.json +0 -1
  755. package/tag-select/tagSelect.d.ts +0 -4
  756. package/tag-select/tagSelect.metadata.json +0 -1
  757. package/xlsx/xlsx.metadata.json +0 -1
  758. package/zip/zip.metadata.json +0 -1
@@ -0,0 +1,506 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i5 from '@angular/common';
3
+ import { DOCUMENT, CommonModule } from '@angular/common';
4
+ import * as i0 from '@angular/core';
5
+ import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, Output, NgModule } from '@angular/core';
6
+ import { Subject, fromEvent } from 'rxjs';
7
+ import { debounceTime, filter, takeUntil } from 'rxjs/operators';
8
+ import { InputNumber, InputBoolean, ZoneOutside } from '@delon/util/decorator';
9
+ import * as i1 from '@delon/util/config';
10
+ import * as i2 from '@delon/util/other';
11
+ import * as i3 from '@angular/cdk/platform';
12
+ import * as i4 from 'ng-zorro-antd/skeleton';
13
+ import { NzSkeletonModule } from 'ng-zorro-antd/skeleton';
14
+
15
+ const PDF_DEFULAT_CONFIG = {
16
+ lib: `https://cdn.jsdelivr.net/npm/pdfjs-dist@2.x/`,
17
+ showAll: true,
18
+ renderText: true,
19
+ showBorders: false,
20
+ originalSize: true,
21
+ fitToPage: false,
22
+ autoReSize: true
23
+ };
24
+
25
+ var PdfTextLayerMode;
26
+ (function (PdfTextLayerMode) {
27
+ PdfTextLayerMode[PdfTextLayerMode["DISABLE"] = 0] = "DISABLE";
28
+ PdfTextLayerMode[PdfTextLayerMode["ENABLE"] = 1] = "ENABLE";
29
+ PdfTextLayerMode[PdfTextLayerMode["ENABLE_ENHANCE"] = 2] = "ENABLE_ENHANCE";
30
+ })(PdfTextLayerMode || (PdfTextLayerMode = {}));
31
+ var PdfExternalLinkTarget;
32
+ (function (PdfExternalLinkTarget) {
33
+ PdfExternalLinkTarget[PdfExternalLinkTarget["NONE"] = 0] = "NONE";
34
+ PdfExternalLinkTarget[PdfExternalLinkTarget["SELF"] = 1] = "SELF";
35
+ PdfExternalLinkTarget[PdfExternalLinkTarget["BLANK"] = 2] = "BLANK";
36
+ PdfExternalLinkTarget[PdfExternalLinkTarget["PARENT"] = 3] = "PARENT";
37
+ PdfExternalLinkTarget[PdfExternalLinkTarget["TOP"] = 4] = "TOP";
38
+ })(PdfExternalLinkTarget || (PdfExternalLinkTarget = {}));
39
+
40
+ const CSS_UNITS = 96.0 / 72.0;
41
+ const BORDER_WIDTH = 9;
42
+ class PdfComponent {
43
+ constructor(ngZone, configSrv, lazySrv, platform, _el, doc, cdr) {
44
+ this.ngZone = ngZone;
45
+ this.lazySrv = lazySrv;
46
+ this.platform = platform;
47
+ this._el = _el;
48
+ this.doc = doc;
49
+ this.cdr = cdr;
50
+ this.inited = false;
51
+ this.unsubscribe$ = new Subject();
52
+ this.lib = '';
53
+ this._pi = 1;
54
+ this._total = 0;
55
+ this._showAll = true;
56
+ this._rotation = 0;
57
+ this._zoom = 1;
58
+ this._renderText = true;
59
+ this._loading = false;
60
+ this.textLayerMode = PdfTextLayerMode.ENABLE;
61
+ this.showBorders = false;
62
+ this.stickToPage = false;
63
+ this.originalSize = true;
64
+ this.fitToPage = false;
65
+ this.zoomScale = 'page-width';
66
+ this.autoReSize = true;
67
+ this.externalLinkTarget = PdfExternalLinkTarget.BLANK;
68
+ this.change = new EventEmitter();
69
+ const cog = configSrv.merge('pdf', PDF_DEFULAT_CONFIG);
70
+ Object.assign(this, cog);
71
+ const lib = cog.lib;
72
+ this.lib = lib.endsWith('/') ? lib : `${lib}/`;
73
+ }
74
+ set src(dataOrBuffer) {
75
+ this._src = dataOrBuffer;
76
+ this.load();
77
+ }
78
+ set pi(val) {
79
+ this._pi = this.getValidPi(val);
80
+ if (this._pdf) {
81
+ this.pageViewer.scrollPageIntoView({ pageNumber: this._pi });
82
+ }
83
+ }
84
+ set showAll(val) {
85
+ this._showAll = val;
86
+ this.resetDoc();
87
+ }
88
+ set renderText(val) {
89
+ this._renderText = val;
90
+ if (this._pdf) {
91
+ this.pageViewer.textLayerMode = this._textLayerMode;
92
+ this.resetDoc();
93
+ }
94
+ }
95
+ set zoom(val) {
96
+ if (val <= 0)
97
+ return;
98
+ this._zoom = val;
99
+ }
100
+ set rotation(val) {
101
+ if (val % 90 !== 0) {
102
+ console.warn(`Invalid rotation angle, shoule be divisible by 90.`);
103
+ return;
104
+ }
105
+ this._rotation = val;
106
+ }
107
+ get loading() {
108
+ return this._loading;
109
+ }
110
+ get pdf() {
111
+ return this._pdf;
112
+ }
113
+ get findController() {
114
+ return this._showAll ? this.multiPageFindController : this.singlePageFindController;
115
+ }
116
+ get pageViewer() {
117
+ return this._showAll ? this.multiPageViewer : this.singlePageViewer;
118
+ }
119
+ get linkService() {
120
+ return this._showAll ? this.multiPageLinkService : this.singlePageLinkService;
121
+ }
122
+ get _textLayerMode() {
123
+ return this._renderText ? this.textLayerMode : PdfTextLayerMode.DISABLE;
124
+ }
125
+ get win() {
126
+ return this.doc.defaultView || window;
127
+ }
128
+ get el() {
129
+ return this._el.nativeElement.querySelector('.pdf-container');
130
+ }
131
+ getValidPi(pi) {
132
+ if (pi < 1)
133
+ return 1;
134
+ const pdf = this._pdf;
135
+ return pdf && pi > pdf.numPages ? pdf.numPages : pi;
136
+ }
137
+ emit(type, opt) {
138
+ this.ngZone.run(() => this.change.emit({
139
+ type,
140
+ pdf: this._pdf,
141
+ pi: this._pi,
142
+ total: this._total,
143
+ ...opt
144
+ }));
145
+ }
146
+ initDelay() {
147
+ this.inited = true;
148
+ this.cdr.detectChanges();
149
+ this.win.pdfjsLib.GlobalWorkerOptions.workerSrc = `${this.lib}build/pdf.worker.min.js`;
150
+ setTimeout(() => this.load(), this.delay);
151
+ }
152
+ setLoading(status) {
153
+ this.ngZone.run(() => {
154
+ this._loading = status;
155
+ this.cdr.detectChanges();
156
+ });
157
+ }
158
+ load() {
159
+ const { _src } = this;
160
+ if (!this.inited || !_src) {
161
+ return;
162
+ }
163
+ if (this.lastSrc === _src) {
164
+ this.render();
165
+ return;
166
+ }
167
+ this.destroy();
168
+ this.ngZone.run(() => {
169
+ this._loading = true;
170
+ this.cdr.detectChanges();
171
+ });
172
+ this.setLoading(true);
173
+ const loadingTask = (this.loadingTask = this.win.pdfjsLib.getDocument(_src));
174
+ loadingTask.onProgress = (progress) => this.emit('load-progress', { progress });
175
+ loadingTask.promise
176
+ .then((pdf) => {
177
+ this._pdf = pdf;
178
+ this.lastSrc = _src;
179
+ this._total = pdf.numPages;
180
+ this.emit('loaded');
181
+ if (!this.pageViewer) {
182
+ this.setupPageViewer();
183
+ }
184
+ this.resetDoc();
185
+ this.render();
186
+ }, (error) => this.emit('error', { error }))
187
+ .then(() => this.setLoading(false));
188
+ }
189
+ resetDoc() {
190
+ const pdf = this._pdf;
191
+ if (!pdf) {
192
+ return;
193
+ }
194
+ this.cleanDoc();
195
+ this.findController.setDocument(pdf);
196
+ this.pageViewer.setDocument(pdf);
197
+ this.linkService.setDocument(pdf, null);
198
+ }
199
+ cleanDoc() {
200
+ this.multiPageViewer.setDocument(null);
201
+ this.singlePageViewer.setDocument(null);
202
+ this.multiPageLinkService.setDocument(null, null);
203
+ this.singlePageLinkService.setDocument(null, null);
204
+ this.multiPageFindController.setDocument(null);
205
+ this.singlePageFindController.setDocument(null);
206
+ }
207
+ render() {
208
+ const currentViewer = this.pageViewer;
209
+ if (!currentViewer) {
210
+ return;
211
+ }
212
+ if (this._rotation !== 0 || currentViewer.pagesRotation !== this._rotation) {
213
+ setTimeout(() => {
214
+ currentViewer.pagesRotation = this._rotation;
215
+ });
216
+ }
217
+ if (this.stickToPage) {
218
+ setTimeout(() => {
219
+ currentViewer.currentPageNumber = this._pi;
220
+ });
221
+ }
222
+ this.updateSize();
223
+ }
224
+ updateSize() {
225
+ const currentViewer = this.pageViewer;
226
+ this._pdf.getPage(currentViewer.currentPageNumber).then((page) => {
227
+ const { _rotation, _zoom } = this;
228
+ const rotation = _rotation || page.rotate;
229
+ const viewportWidth = page.getViewport({
230
+ scale: _zoom,
231
+ rotation
232
+ }).width * CSS_UNITS;
233
+ let scale = _zoom;
234
+ let stickToPage = true;
235
+ // Scale the document when it shouldn't be in original size or doesn't fit into the viewport
236
+ if (!this.originalSize || (this.fitToPage && viewportWidth > this.el.clientWidth)) {
237
+ const viewPort = page.getViewport({ scale: 1, rotation });
238
+ scale = this.getScale(viewPort.width, viewPort.height);
239
+ stickToPage = !this.stickToPage;
240
+ }
241
+ currentViewer._setScale(scale, stickToPage);
242
+ });
243
+ }
244
+ getScale(viewportWidth, viewportHeight) {
245
+ const borderSize = this.showBorders ? 2 * BORDER_WIDTH : 0;
246
+ const el = this.el;
247
+ const containerWidth = el.clientWidth - borderSize;
248
+ const containerHeight = el.clientHeight - borderSize;
249
+ if (containerHeight === 0 || viewportHeight === 0 || containerWidth === 0 || viewportWidth === 0) {
250
+ return 1;
251
+ }
252
+ let ratio = 1;
253
+ switch (this.zoomScale) {
254
+ case 'page-fit':
255
+ ratio = Math.min(containerHeight / viewportHeight, containerWidth / viewportWidth);
256
+ break;
257
+ case 'page-height':
258
+ ratio = containerHeight / viewportHeight;
259
+ break;
260
+ case 'page-width':
261
+ default:
262
+ ratio = containerWidth / viewportWidth;
263
+ break;
264
+ }
265
+ return (this._zoom * ratio) / CSS_UNITS;
266
+ }
267
+ destroy() {
268
+ const { loadingTask } = this;
269
+ if (loadingTask && !loadingTask.destroyed) {
270
+ loadingTask.destroy();
271
+ }
272
+ if (this._pdf) {
273
+ this._pdf.destroy();
274
+ this._pdf = null;
275
+ this.cleanDoc();
276
+ }
277
+ }
278
+ setupPageViewer() {
279
+ this.win.pdfjsLib.disableTextLayer = !this._renderText;
280
+ this.win.pdfjsLib.externalLinkTarget = this.externalLinkTarget;
281
+ this.setupMultiPageViewer();
282
+ this.setupSinglePageViewer();
283
+ }
284
+ createEventBus() {
285
+ const eventBus = new this.win.pdfjsViewer.EventBus();
286
+ eventBus.on(`pagesinit`, (ev) => {
287
+ this.emit('pages-init', { ev });
288
+ });
289
+ eventBus.on(`pagerendered`, (ev) => {
290
+ this.emit('page-rendered', { ev });
291
+ });
292
+ eventBus.on(`pagechanging`, (ev) => {
293
+ const nowPi = ev.pageNumber;
294
+ if (nowPi !== this._pi) {
295
+ this._pi = nowPi;
296
+ this.emit('pi', { ev });
297
+ }
298
+ });
299
+ eventBus.on(`textlayerrendered`, (ev) => {
300
+ this.emit('text-layer-rendered', { ev });
301
+ });
302
+ return eventBus;
303
+ }
304
+ setupMultiPageViewer() {
305
+ const VIEWER = this.win.pdfjsViewer;
306
+ const eventBus = this.createEventBus();
307
+ const linkService = (this.multiPageLinkService = new VIEWER.PDFLinkService({
308
+ eventBus
309
+ }));
310
+ const findController = (this.multiPageFindController = new VIEWER.PDFFindController({
311
+ eventBus,
312
+ linkService
313
+ }));
314
+ const viewer = (this.multiPageViewer = new VIEWER.PDFViewer({
315
+ eventBus,
316
+ container: this.el,
317
+ removePageBorders: !this.showBorders,
318
+ textLayerMode: this._textLayerMode,
319
+ linkService,
320
+ findController
321
+ }));
322
+ linkService.setViewer(viewer);
323
+ }
324
+ setupSinglePageViewer() {
325
+ const VIEWER = this.win.pdfjsViewer;
326
+ const eventBus = this.createEventBus();
327
+ const linkService = (this.singlePageLinkService = new VIEWER.PDFLinkService({
328
+ eventBus
329
+ }));
330
+ const findController = (this.singlePageFindController = new VIEWER.PDFFindController({
331
+ eventBus,
332
+ linkService
333
+ }));
334
+ const pageViewer = (this.singlePageViewer = new VIEWER.PDFSinglePageViewer({
335
+ eventBus,
336
+ container: this.el,
337
+ removePageBorders: !this.showBorders,
338
+ textLayerMode: this._textLayerMode,
339
+ linkService,
340
+ findController
341
+ }));
342
+ linkService.setViewer(pageViewer);
343
+ pageViewer._currentPageNumber = this._pi;
344
+ }
345
+ ngAfterViewInit() {
346
+ if (!this.platform.isBrowser) {
347
+ return;
348
+ }
349
+ if (this.win.pdfjsLib) {
350
+ this.initDelay();
351
+ return;
352
+ }
353
+ const { lib } = this;
354
+ this.lazySrv
355
+ .load(`${lib}build/pdf.min.js`)
356
+ .then(() => this.lazySrv.load([`${lib}web/pdf_viewer.js`, `${lib}web/pdf_viewer.css`]))
357
+ .then(() => this.initDelay());
358
+ this.ngZone.runOutsideAngular(() => this.initResize());
359
+ }
360
+ initResize() {
361
+ fromEvent(this.win, 'resize')
362
+ .pipe(debounceTime(100), filter(() => this.autoReSize && this._pdf), takeUntil(this.unsubscribe$))
363
+ .subscribe(() => this.updateSize());
364
+ }
365
+ ngOnChanges(changes) {
366
+ if (this.inited && !changes.src) {
367
+ this.render();
368
+ }
369
+ }
370
+ ngOnDestroy() {
371
+ const { unsubscribe$ } = this;
372
+ unsubscribe$.next();
373
+ unsubscribe$.complete();
374
+ this.destroy();
375
+ }
376
+ }
377
+ PdfComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfComponent, deps: [{ token: i0.NgZone }, { token: i1.AlainConfigService }, { token: i2.LazyService }, { token: i3.Platform }, { token: i0.ElementRef }, { token: DOCUMENT, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
378
+ PdfComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: PdfComponent, selector: "pdf", inputs: { src: "src", pi: "pi", showAll: "showAll", renderText: "renderText", textLayerMode: "textLayerMode", showBorders: "showBorders", stickToPage: "stickToPage", originalSize: "originalSize", fitToPage: "fitToPage", zoom: "zoom", zoomScale: "zoomScale", rotation: "rotation", autoReSize: "autoReSize", externalLinkTarget: "externalLinkTarget", delay: "delay" }, outputs: { change: "change" }, host: { properties: { "class.d-block": "true" } }, exportAs: ["pdf"], usesOnChanges: true, ngImport: i0, template: `
379
+ <nz-skeleton *ngIf="!inited || loading"></nz-skeleton>
380
+ <div class="pdf-container">
381
+ <div class="pdfViewer"></div>
382
+ </div>
383
+ `, isInline: true, components: [{ type: i4.NzSkeletonComponent, selector: "nz-skeleton", inputs: ["nzActive", "nzLoading", "nzRound", "nzTitle", "nzAvatar", "nzParagraph"], exportAs: ["nzSkeleton"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
384
+ __decorate([
385
+ InputNumber()
386
+ ], PdfComponent.prototype, "pi", null);
387
+ __decorate([
388
+ InputBoolean()
389
+ ], PdfComponent.prototype, "showAll", null);
390
+ __decorate([
391
+ InputBoolean()
392
+ ], PdfComponent.prototype, "renderText", null);
393
+ __decorate([
394
+ InputBoolean()
395
+ ], PdfComponent.prototype, "showBorders", void 0);
396
+ __decorate([
397
+ InputBoolean()
398
+ ], PdfComponent.prototype, "stickToPage", void 0);
399
+ __decorate([
400
+ InputBoolean()
401
+ ], PdfComponent.prototype, "originalSize", void 0);
402
+ __decorate([
403
+ InputBoolean()
404
+ ], PdfComponent.prototype, "fitToPage", void 0);
405
+ __decorate([
406
+ InputNumber()
407
+ ], PdfComponent.prototype, "zoom", null);
408
+ __decorate([
409
+ InputNumber()
410
+ ], PdfComponent.prototype, "rotation", null);
411
+ __decorate([
412
+ InputBoolean()
413
+ ], PdfComponent.prototype, "autoReSize", void 0);
414
+ __decorate([
415
+ InputNumber()
416
+ ], PdfComponent.prototype, "delay", void 0);
417
+ __decorate([
418
+ ZoneOutside()
419
+ ], PdfComponent.prototype, "load", null);
420
+ __decorate([
421
+ ZoneOutside()
422
+ ], PdfComponent.prototype, "resetDoc", null);
423
+ __decorate([
424
+ ZoneOutside()
425
+ ], PdfComponent.prototype, "updateSize", null);
426
+ __decorate([
427
+ ZoneOutside()
428
+ ], PdfComponent.prototype, "destroy", null);
429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfComponent, decorators: [{
430
+ type: Component,
431
+ args: [{
432
+ selector: 'pdf',
433
+ exportAs: 'pdf',
434
+ template: `
435
+ <nz-skeleton *ngIf="!inited || loading"></nz-skeleton>
436
+ <div class="pdf-container">
437
+ <div class="pdfViewer"></div>
438
+ </div>
439
+ `,
440
+ host: {
441
+ '[class.d-block]': `true`
442
+ },
443
+ preserveWhitespaces: false,
444
+ changeDetection: ChangeDetectionStrategy.OnPush,
445
+ encapsulation: ViewEncapsulation.None
446
+ }]
447
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.AlainConfigService }, { type: i2.LazyService }, { type: i3.Platform }, { type: i0.ElementRef }, { type: undefined, decorators: [{
448
+ type: Optional
449
+ }, {
450
+ type: Inject,
451
+ args: [DOCUMENT]
452
+ }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { src: [{
453
+ type: Input
454
+ }], pi: [{
455
+ type: Input
456
+ }], showAll: [{
457
+ type: Input
458
+ }], renderText: [{
459
+ type: Input
460
+ }], textLayerMode: [{
461
+ type: Input
462
+ }], showBorders: [{
463
+ type: Input
464
+ }], stickToPage: [{
465
+ type: Input
466
+ }], originalSize: [{
467
+ type: Input
468
+ }], fitToPage: [{
469
+ type: Input
470
+ }], zoom: [{
471
+ type: Input
472
+ }], zoomScale: [{
473
+ type: Input
474
+ }], rotation: [{
475
+ type: Input
476
+ }], autoReSize: [{
477
+ type: Input
478
+ }], externalLinkTarget: [{
479
+ type: Input
480
+ }], delay: [{
481
+ type: Input
482
+ }], change: [{
483
+ type: Output
484
+ }], load: [], resetDoc: [], updateSize: [], destroy: [] } });
485
+
486
+ const COMPONENTS = [PdfComponent];
487
+ class PdfModule {
488
+ }
489
+ PdfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
490
+ PdfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfModule, declarations: [PdfComponent], imports: [CommonModule, NzSkeletonModule], exports: [PdfComponent] });
491
+ PdfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfModule, imports: [[CommonModule, NzSkeletonModule]] });
492
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PdfModule, decorators: [{
493
+ type: NgModule,
494
+ args: [{
495
+ imports: [CommonModule, NzSkeletonModule],
496
+ declarations: COMPONENTS,
497
+ exports: COMPONENTS
498
+ }]
499
+ }] });
500
+
501
+ /**
502
+ * Generated bundle index. Do not edit.
503
+ */
504
+
505
+ export { PDF_DEFULAT_CONFIG, PdfComponent, PdfExternalLinkTarget, PdfModule, PdfTextLayerMode };
506
+ //# sourceMappingURL=pdf.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf.mjs","sources":["../../../../packages/abc/pdf/pdf.config.ts","../../../../packages/abc/pdf/pdf.types.ts","../../../../packages/abc/pdf/pdf.component.ts","../../../../packages/abc/pdf/pdf.module.ts","../../../../packages/abc/pdf/pdf.ts"],"sourcesContent":["import { AlainPdfConfig } from '@delon/util/config';\n\nexport const PDF_DEFULAT_CONFIG: AlainPdfConfig = {\n lib: `https://cdn.jsdelivr.net/npm/pdfjs-dist@2.x/`,\n showAll: true,\n renderText: true,\n showBorders: false,\n originalSize: true,\n fitToPage: false,\n autoReSize: true\n};\n","import type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nexport type PdfChangeEventType =\n | 'loaded'\n | 'load-progress'\n | 'pages-init'\n | 'page-rendered'\n | 'text-layer-rendered'\n | 'pi'\n | 'error';\nexport type PdfZoomScale = 'page-height' | 'page-fit' | 'page-width';\n\nexport interface PdfChangeEvent {\n type?: PdfChangeEventType;\n pi?: number;\n total?: number;\n pdf?: NzSafeAny;\n ev?: NzSafeAny;\n progress?: { loaded: number; total: number };\n error?: NzSafeAny;\n}\n\nexport enum PdfTextLayerMode {\n DISABLE = 0,\n ENABLE = 1,\n ENABLE_ENHANCE = 2\n}\n\nexport enum PdfExternalLinkTarget {\n NONE = 0, // Default value.\n SELF = 1,\n BLANK = 2,\n PARENT = 3,\n TOP = 4\n}\n","import { Platform } from '@angular/cdk/platform';\nimport { DOCUMENT } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n Optional,\n Output,\n SimpleChange,\n ViewEncapsulation\n} from '@angular/core';\nimport { fromEvent, Subject } from 'rxjs';\nimport { debounceTime, filter, takeUntil } from 'rxjs/operators';\n\nimport { AlainConfigService } from '@delon/util/config';\nimport { BooleanInput, InputBoolean, InputNumber, NumberInput, ZoneOutside } from '@delon/util/decorator';\nimport { LazyService } from '@delon/util/other';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nimport { PDF_DEFULAT_CONFIG } from './pdf.config';\nimport { PdfChangeEvent, PdfChangeEventType, PdfExternalLinkTarget, PdfTextLayerMode, PdfZoomScale } from './pdf.types';\n\nconst CSS_UNITS: number = 96.0 / 72.0;\nconst BORDER_WIDTH = 9;\n\n@Component({\n selector: 'pdf',\n exportAs: 'pdf',\n template: `\n <nz-skeleton *ngIf=\"!inited || loading\"></nz-skeleton>\n <div class=\"pdf-container\">\n <div class=\"pdfViewer\"></div>\n </div>\n `,\n host: {\n '[class.d-block]': `true`\n },\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class PdfComponent implements OnChanges, AfterViewInit, OnDestroy {\n static ngAcceptInputType_pi: NumberInput;\n static ngAcceptInputType_delay: NumberInput;\n static ngAcceptInputType_showAllPages: BooleanInput;\n static ngAcceptInputType_stickToPage: BooleanInput;\n static ngAcceptInputType_originalSize: BooleanInput;\n static ngAcceptInputType_fitToPage: BooleanInput;\n static ngAcceptInputType_disableTextLayer: BooleanInput;\n static ngAcceptInputType_removePageBorders: BooleanInput;\n\n inited = false;\n private unsubscribe$ = new Subject<void>();\n private lib: string = '';\n private _pdf: NzSafeAny;\n private loadingTask: NzSafeAny;\n private _src: NzSafeAny;\n private lastSrc?: string;\n private _pi = 1;\n private _total = 0;\n private _showAll = true;\n private _rotation = 0;\n private _zoom = 1;\n private _renderText = true;\n private _loading = false;\n\n private multiPageViewer: NzSafeAny;\n private multiPageLinkService: NzSafeAny;\n private multiPageFindController: NzSafeAny;\n private singlePageViewer: NzSafeAny;\n private singlePageLinkService: NzSafeAny;\n private singlePageFindController: NzSafeAny;\n\n @Input() set src(dataOrBuffer: NzSafeAny) {\n this._src = dataOrBuffer;\n this.load();\n }\n @Input()\n @InputNumber()\n set pi(val: number) {\n this._pi = this.getValidPi(val);\n if (this._pdf) {\n this.pageViewer.scrollPageIntoView({ pageNumber: this._pi });\n }\n }\n @Input() @InputBoolean() set showAll(val: boolean) {\n this._showAll = val;\n this.resetDoc();\n }\n @Input() @InputBoolean() set renderText(val: boolean) {\n this._renderText = val;\n if (this._pdf) {\n this.pageViewer.textLayerMode = this._textLayerMode;\n this.resetDoc();\n }\n }\n @Input() textLayerMode: PdfTextLayerMode = PdfTextLayerMode.ENABLE;\n @Input() @InputBoolean() showBorders = false;\n @Input() @InputBoolean() stickToPage = false;\n @Input() @InputBoolean() originalSize = true;\n @Input() @InputBoolean() fitToPage = false;\n @Input() @InputNumber() set zoom(val: number) {\n if (val <= 0) return;\n this._zoom = val;\n }\n @Input() zoomScale: PdfZoomScale = 'page-width';\n @Input() @InputNumber() set rotation(val: number) {\n if (val % 90 !== 0) {\n console.warn(`Invalid rotation angle, shoule be divisible by 90.`);\n return;\n }\n this._rotation = val;\n }\n @Input() @InputBoolean() autoReSize = true;\n @Input() externalLinkTarget: PdfExternalLinkTarget = PdfExternalLinkTarget.BLANK;\n @Input() @InputNumber() delay?: number;\n @Output() readonly change = new EventEmitter<PdfChangeEvent>();\n\n get loading(): boolean {\n return this._loading;\n }\n\n get pdf(): NzSafeAny {\n return this._pdf;\n }\n\n get findController(): NzSafeAny {\n return this._showAll ? this.multiPageFindController : this.singlePageFindController;\n }\n\n get pageViewer(): NzSafeAny {\n return this._showAll ? this.multiPageViewer : this.singlePageViewer;\n }\n\n get linkService(): NzSafeAny {\n return this._showAll ? this.multiPageLinkService : this.singlePageLinkService;\n }\n\n private get _textLayerMode(): PdfTextLayerMode {\n return this._renderText ? this.textLayerMode : PdfTextLayerMode.DISABLE;\n }\n\n private get win(): NzSafeAny {\n return this.doc.defaultView || window;\n }\n\n private get el(): HTMLElement {\n return this._el.nativeElement.querySelector('.pdf-container') as HTMLElement;\n }\n\n constructor(\n private ngZone: NgZone,\n configSrv: AlainConfigService,\n private lazySrv: LazyService,\n private platform: Platform,\n private _el: ElementRef<HTMLElement>,\n @Optional() @Inject(DOCUMENT) private doc: NzSafeAny,\n private cdr: ChangeDetectorRef\n ) {\n const cog = configSrv.merge('pdf', PDF_DEFULAT_CONFIG)!;\n Object.assign(this, cog);\n\n const lib = cog.lib!;\n this.lib = lib.endsWith('/') ? lib : `${lib}/`;\n }\n\n private getValidPi(pi: number): number {\n if (pi < 1) return 1;\n const pdf = this._pdf;\n return pdf && pi > pdf.numPages ? pdf.numPages : pi;\n }\n\n private emit(type: PdfChangeEventType, opt?: PdfChangeEvent): void {\n this.ngZone.run(() =>\n this.change.emit({\n type,\n pdf: this._pdf,\n pi: this._pi,\n total: this._total,\n ...opt\n })\n );\n }\n\n private initDelay(): void {\n this.inited = true;\n this.cdr.detectChanges();\n this.win.pdfjsLib.GlobalWorkerOptions.workerSrc = `${this.lib}build/pdf.worker.min.js`;\n\n setTimeout(() => this.load(), this.delay);\n }\n\n setLoading(status: boolean): void {\n this.ngZone.run(() => {\n this._loading = status;\n this.cdr.detectChanges();\n });\n }\n\n @ZoneOutside()\n private load(): void {\n const { _src } = this;\n if (!this.inited || !_src) {\n return;\n }\n\n if (this.lastSrc === _src) {\n this.render();\n return;\n }\n\n this.destroy();\n this.ngZone.run(() => {\n this._loading = true;\n this.cdr.detectChanges();\n });\n this.setLoading(true);\n const loadingTask = (this.loadingTask = this.win.pdfjsLib.getDocument(_src));\n loadingTask.onProgress = (progress: { loaded: number; total: number }) => this.emit('load-progress', { progress });\n (loadingTask.promise as PromiseLike<void>)\n .then(\n (pdf: NzSafeAny) => {\n this._pdf = pdf;\n this.lastSrc = _src;\n this._total = pdf.numPages;\n\n this.emit('loaded');\n\n if (!this.pageViewer) {\n this.setupPageViewer();\n }\n\n this.resetDoc();\n this.render();\n },\n (error: NzSafeAny) => this.emit('error', { error })\n )\n .then(() => this.setLoading(false));\n }\n\n @ZoneOutside()\n private resetDoc(): void {\n const pdf = this._pdf;\n if (!pdf) {\n return;\n }\n this.cleanDoc();\n\n this.findController.setDocument(pdf);\n this.pageViewer.setDocument(pdf);\n this.linkService.setDocument(pdf, null);\n }\n\n private cleanDoc(): void {\n this.multiPageViewer.setDocument(null);\n this.singlePageViewer.setDocument(null);\n\n this.multiPageLinkService.setDocument(null, null);\n this.singlePageLinkService.setDocument(null, null);\n\n this.multiPageFindController.setDocument(null);\n this.singlePageFindController.setDocument(null);\n }\n\n private render(): void {\n const currentViewer = this.pageViewer;\n if (!currentViewer) {\n return;\n }\n\n if (this._rotation !== 0 || currentViewer.pagesRotation !== this._rotation) {\n setTimeout(() => {\n currentViewer.pagesRotation = this._rotation;\n });\n }\n\n if (this.stickToPage) {\n setTimeout(() => {\n currentViewer.currentPageNumber = this._pi;\n });\n }\n\n this.updateSize();\n }\n\n @ZoneOutside()\n private updateSize(): void {\n const currentViewer = this.pageViewer;\n this._pdf.getPage(currentViewer.currentPageNumber).then((page: NzSafeAny) => {\n const { _rotation, _zoom } = this;\n const rotation = _rotation || page.rotate;\n const viewportWidth =\n page.getViewport({\n scale: _zoom,\n rotation\n }).width * CSS_UNITS;\n let scale = _zoom;\n let stickToPage = true;\n\n // Scale the document when it shouldn't be in original size or doesn't fit into the viewport\n if (!this.originalSize || (this.fitToPage && viewportWidth > this.el.clientWidth)) {\n const viewPort = page.getViewport({ scale: 1, rotation });\n scale = this.getScale(viewPort.width, viewPort.height);\n stickToPage = !this.stickToPage;\n }\n\n currentViewer._setScale(scale, stickToPage);\n });\n }\n\n private getScale(viewportWidth: number, viewportHeight: number): number {\n const borderSize = this.showBorders ? 2 * BORDER_WIDTH : 0;\n const el = this.el;\n const containerWidth = el.clientWidth - borderSize;\n const containerHeight = el.clientHeight - borderSize;\n\n if (containerHeight === 0 || viewportHeight === 0 || containerWidth === 0 || viewportWidth === 0) {\n return 1;\n }\n\n let ratio = 1;\n switch (this.zoomScale) {\n case 'page-fit':\n ratio = Math.min(containerHeight / viewportHeight, containerWidth / viewportWidth);\n break;\n case 'page-height':\n ratio = containerHeight / viewportHeight;\n break;\n case 'page-width':\n default:\n ratio = containerWidth / viewportWidth;\n break;\n }\n\n return (this._zoom * ratio) / CSS_UNITS;\n }\n\n @ZoneOutside()\n private destroy(): void {\n const { loadingTask } = this;\n if (loadingTask && !loadingTask.destroyed) {\n loadingTask.destroy();\n }\n if (this._pdf) {\n this._pdf.destroy();\n this._pdf = null;\n this.cleanDoc();\n }\n }\n\n private setupPageViewer(): void {\n this.win.pdfjsLib.disableTextLayer = !this._renderText;\n this.win.pdfjsLib.externalLinkTarget = this.externalLinkTarget;\n\n this.setupMultiPageViewer();\n this.setupSinglePageViewer();\n }\n\n private createEventBus(): NzSafeAny {\n const eventBus = new this.win.pdfjsViewer.EventBus();\n eventBus.on(`pagesinit`, (ev: NzSafeAny) => {\n this.emit('pages-init', { ev });\n });\n eventBus.on(`pagerendered`, (ev: NzSafeAny) => {\n this.emit('page-rendered', { ev });\n });\n eventBus.on(`pagechanging`, (ev: NzSafeAny) => {\n const nowPi = ev.pageNumber;\n if (nowPi !== this._pi) {\n this._pi = nowPi;\n this.emit('pi', { ev });\n }\n });\n eventBus.on(`textlayerrendered`, (ev: NzSafeAny) => {\n this.emit('text-layer-rendered', { ev });\n });\n return eventBus;\n }\n\n private setupMultiPageViewer(): void {\n const VIEWER = this.win.pdfjsViewer;\n\n const eventBus = this.createEventBus();\n const linkService = (this.multiPageLinkService = new VIEWER.PDFLinkService({\n eventBus\n }));\n const findController = (this.multiPageFindController = new VIEWER.PDFFindController({\n eventBus,\n linkService\n }));\n\n const viewer = (this.multiPageViewer = new VIEWER.PDFViewer({\n eventBus,\n container: this.el,\n removePageBorders: !this.showBorders,\n textLayerMode: this._textLayerMode,\n linkService,\n findController\n }));\n linkService.setViewer(viewer);\n }\n\n private setupSinglePageViewer(): void {\n const VIEWER = this.win.pdfjsViewer;\n\n const eventBus = this.createEventBus();\n const linkService = (this.singlePageLinkService = new VIEWER.PDFLinkService({\n eventBus\n }));\n const findController = (this.singlePageFindController = new VIEWER.PDFFindController({\n eventBus,\n linkService\n }));\n\n const pageViewer = (this.singlePageViewer = new VIEWER.PDFSinglePageViewer({\n eventBus,\n container: this.el,\n removePageBorders: !this.showBorders,\n textLayerMode: this._textLayerMode,\n linkService,\n findController\n }));\n linkService.setViewer(pageViewer);\n pageViewer._currentPageNumber = this._pi;\n }\n\n ngAfterViewInit(): void {\n if (!this.platform.isBrowser) {\n return;\n }\n if (this.win.pdfjsLib) {\n this.initDelay();\n return;\n }\n const { lib } = this;\n this.lazySrv\n .load(`${lib}build/pdf.min.js`)\n .then(() => this.lazySrv.load([`${lib}web/pdf_viewer.js`, `${lib}web/pdf_viewer.css`]))\n .then(() => this.initDelay());\n\n this.ngZone.runOutsideAngular(() => this.initResize());\n }\n\n private initResize(): void {\n fromEvent(this.win, 'resize')\n .pipe(\n debounceTime(100),\n filter(() => this.autoReSize && this._pdf),\n takeUntil(this.unsubscribe$)\n )\n .subscribe(() => this.updateSize());\n }\n\n ngOnChanges(changes: { [p in keyof PdfComponent]?: SimpleChange }): void {\n if (this.inited && !changes.src) {\n this.render();\n }\n }\n\n ngOnDestroy(): void {\n const { unsubscribe$ } = this;\n unsubscribe$.next();\n unsubscribe$.complete();\n\n this.destroy();\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { NzSkeletonModule } from 'ng-zorro-antd/skeleton';\n\nimport { PdfComponent } from './pdf.component';\n\nconst COMPONENTS = [PdfComponent];\n\n@NgModule({\n imports: [CommonModule, NzSkeletonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdfModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAEa,kBAAkB,GAAmB;IAChD,GAAG,EAAE,8CAA8C;IACnD,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,IAAI;IAClB,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,IAAI;;;ICaN;AAAZ,WAAY,gBAAgB;IAC1B,6DAAW,CAAA;IACX,2DAAU,CAAA;IACV,2EAAkB,CAAA;AACpB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;IAEW;AAAZ,WAAY,qBAAqB;IAC/B,iEAAQ,CAAA;IACR,iEAAQ,CAAA;IACR,mEAAS,CAAA;IACT,qEAAU,CAAA;IACV,+DAAO,CAAA;AACT,CAAC,EANW,qBAAqB,KAArB,qBAAqB;;ACEjC,MAAM,SAAS,GAAW,IAAI,GAAG,IAAI,CAAC;AACtC,MAAM,YAAY,GAAG,CAAC,CAAC;MAkBV,YAAY;IA6GvB,YACU,MAAc,EACtB,SAA6B,EACrB,OAAoB,EACpB,QAAkB,EAClB,GAA4B,EACE,GAAc,EAC5C,GAAsB;QANtB,WAAM,GAAN,MAAM,CAAQ;QAEd,YAAO,GAAP,OAAO,CAAa;QACpB,aAAQ,GAAR,QAAQ,CAAU;QAClB,QAAG,GAAH,GAAG,CAAyB;QACE,QAAG,GAAH,GAAG,CAAW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