@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
@@ -1,776 +0,0 @@
1
- /**
2
- * @license ng-alain(cipchk@qq.com) v12.4.1
3
- * (c) 2020 cipchk https://ng-alain.com/
4
- * License: MIT
5
- */
6
- (function (global, factory) {
7
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@delon/util/config'), require('@delon/util/decorator'), require('@angular/forms'), require('@delon/theme'), require('@delon/util/browser'), require('ng-zorro-antd/core/animation'), require('@angular/common'), require('ng-zorro-antd/core/outlet'), require('ng-zorro-antd/icon'), require('ng-zorro-antd/tooltip')) :
8
- typeof define === 'function' && define.amd ? define('@delon/abc/se', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@delon/util/config', '@delon/util/decorator', '@angular/forms', '@delon/theme', '@delon/util/browser', 'ng-zorro-antd/core/animation', '@angular/common', 'ng-zorro-antd/core/outlet', 'ng-zorro-antd/icon', 'ng-zorro-antd/tooltip'], factory) :
9
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.delon = global.delon || {}, global.delon.abc = global.delon.abc || {}, global.delon.abc.se = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.config, global.decorator, global.ng.forms, global.delon.theme, global.browser, global.animation, global.ng.common, global["ng-zorro-antd/core/outlet"], global["ng-zorro-antd/icon"], global["ng-zorro-antd/tooltip"]));
10
- })(this, (function (exports, core, rxjs, operators, config, decorator, forms, theme, browser, animation, common, outlet, icon, tooltip) { 'use strict';
11
-
12
- /*! *****************************************************************************
13
- Copyright (c) Microsoft Corporation.
14
-
15
- Permission to use, copy, modify, and/or distribute this software for any
16
- purpose with or without fee is hereby granted.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
19
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
20
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
21
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
22
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
23
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
24
- PERFORMANCE OF THIS SOFTWARE.
25
- ***************************************************************************** */
26
- /* global Reflect, Promise */
27
- var extendStatics = function (d, b) {
28
- extendStatics = Object.setPrototypeOf ||
29
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
30
- function (d, b) { for (var p in b)
31
- if (Object.prototype.hasOwnProperty.call(b, p))
32
- d[p] = b[p]; };
33
- return extendStatics(d, b);
34
- };
35
- function __extends(d, b) {
36
- if (typeof b !== "function" && b !== null)
37
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
- var __assign = function () {
43
- __assign = Object.assign || function __assign(t) {
44
- for (var s, i = 1, n = arguments.length; i < n; i++) {
45
- s = arguments[i];
46
- for (var p in s)
47
- if (Object.prototype.hasOwnProperty.call(s, p))
48
- t[p] = s[p];
49
- }
50
- return t;
51
- };
52
- return __assign.apply(this, arguments);
53
- };
54
- function __rest(s, e) {
55
- var t = {};
56
- for (var p in s)
57
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
58
- t[p] = s[p];
59
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
60
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
61
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
62
- t[p[i]] = s[p[i]];
63
- }
64
- return t;
65
- }
66
- function __decorate(decorators, target, key, desc) {
67
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
68
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
69
- r = Reflect.decorate(decorators, target, key, desc);
70
- else
71
- for (var i = decorators.length - 1; i >= 0; i--)
72
- if (d = decorators[i])
73
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
74
- return c > 3 && r && Object.defineProperty(target, key, r), r;
75
- }
76
- function __param(paramIndex, decorator) {
77
- return function (target, key) { decorator(target, key, paramIndex); };
78
- }
79
- function __metadata(metadataKey, metadataValue) {
80
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
81
- return Reflect.metadata(metadataKey, metadataValue);
82
- }
83
- function __awaiter(thisArg, _arguments, P, generator) {
84
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
85
- return new (P || (P = Promise))(function (resolve, reject) {
86
- function fulfilled(value) { try {
87
- step(generator.next(value));
88
- }
89
- catch (e) {
90
- reject(e);
91
- } }
92
- function rejected(value) { try {
93
- step(generator["throw"](value));
94
- }
95
- catch (e) {
96
- reject(e);
97
- } }
98
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
99
- step((generator = generator.apply(thisArg, _arguments || [])).next());
100
- });
101
- }
102
- function __generator(thisArg, body) {
103
- var _ = { label: 0, sent: function () { if (t[0] & 1)
104
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
105
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
106
- function verb(n) { return function (v) { return step([n, v]); }; }
107
- function step(op) {
108
- if (f)
109
- throw new TypeError("Generator is already executing.");
110
- while (_)
111
- try {
112
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
113
- return t;
114
- if (y = 0, t)
115
- op = [op[0] & 2, t.value];
116
- switch (op[0]) {
117
- case 0:
118
- case 1:
119
- t = op;
120
- break;
121
- case 4:
122
- _.label++;
123
- return { value: op[1], done: false };
124
- case 5:
125
- _.label++;
126
- y = op[1];
127
- op = [0];
128
- continue;
129
- case 7:
130
- op = _.ops.pop();
131
- _.trys.pop();
132
- continue;
133
- default:
134
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
135
- _ = 0;
136
- continue;
137
- }
138
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
139
- _.label = op[1];
140
- break;
141
- }
142
- if (op[0] === 6 && _.label < t[1]) {
143
- _.label = t[1];
144
- t = op;
145
- break;
146
- }
147
- if (t && _.label < t[2]) {
148
- _.label = t[2];
149
- _.ops.push(op);
150
- break;
151
- }
152
- if (t[2])
153
- _.ops.pop();
154
- _.trys.pop();
155
- continue;
156
- }
157
- op = body.call(thisArg, _);
158
- }
159
- catch (e) {
160
- op = [6, e];
161
- y = 0;
162
- }
163
- finally {
164
- f = t = 0;
165
- }
166
- if (op[0] & 5)
167
- throw op[1];
168
- return { value: op[0] ? op[1] : void 0, done: true };
169
- }
170
- }
171
- var __createBinding = Object.create ? (function (o, m, k, k2) {
172
- if (k2 === undefined)
173
- k2 = k;
174
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
175
- }) : (function (o, m, k, k2) {
176
- if (k2 === undefined)
177
- k2 = k;
178
- o[k2] = m[k];
179
- });
180
- function __exportStar(m, o) {
181
- for (var p in m)
182
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
183
- __createBinding(o, m, p);
184
- }
185
- function __values(o) {
186
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
187
- if (m)
188
- return m.call(o);
189
- if (o && typeof o.length === "number")
190
- return {
191
- next: function () {
192
- if (o && i >= o.length)
193
- o = void 0;
194
- return { value: o && o[i++], done: !o };
195
- }
196
- };
197
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
198
- }
199
- function __read(o, n) {
200
- var m = typeof Symbol === "function" && o[Symbol.iterator];
201
- if (!m)
202
- return o;
203
- var i = m.call(o), r, ar = [], e;
204
- try {
205
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
206
- ar.push(r.value);
207
- }
208
- catch (error) {
209
- e = { error: error };
210
- }
211
- finally {
212
- try {
213
- if (r && !r.done && (m = i["return"]))
214
- m.call(i);
215
- }
216
- finally {
217
- if (e)
218
- throw e.error;
219
- }
220
- }
221
- return ar;
222
- }
223
- /** @deprecated */
224
- function __spread() {
225
- for (var ar = [], i = 0; i < arguments.length; i++)
226
- ar = ar.concat(__read(arguments[i]));
227
- return ar;
228
- }
229
- /** @deprecated */
230
- function __spreadArrays() {
231
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
232
- s += arguments[i].length;
233
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
234
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
235
- r[k] = a[j];
236
- return r;
237
- }
238
- function __spreadArray(to, from, pack) {
239
- if (pack || arguments.length === 2)
240
- for (var i = 0, l = from.length, ar; i < l; i++) {
241
- if (ar || !(i in from)) {
242
- if (!ar)
243
- ar = Array.prototype.slice.call(from, 0, i);
244
- ar[i] = from[i];
245
- }
246
- }
247
- return to.concat(ar || Array.prototype.slice.call(from));
248
- }
249
- function __await(v) {
250
- return this instanceof __await ? (this.v = v, this) : new __await(v);
251
- }
252
- function __asyncGenerator(thisArg, _arguments, generator) {
253
- if (!Symbol.asyncIterator)
254
- throw new TypeError("Symbol.asyncIterator is not defined.");
255
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
256
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
257
- function verb(n) { if (g[n])
258
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
259
- function resume(n, v) { try {
260
- step(g[n](v));
261
- }
262
- catch (e) {
263
- settle(q[0][3], e);
264
- } }
265
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
266
- function fulfill(value) { resume("next", value); }
267
- function reject(value) { resume("throw", value); }
268
- function settle(f, v) { if (f(v), q.shift(), q.length)
269
- resume(q[0][0], q[0][1]); }
270
- }
271
- function __asyncDelegator(o) {
272
- var i, p;
273
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
274
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
275
- }
276
- function __asyncValues(o) {
277
- if (!Symbol.asyncIterator)
278
- throw new TypeError("Symbol.asyncIterator is not defined.");
279
- var m = o[Symbol.asyncIterator], i;
280
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
281
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
282
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
283
- }
284
- function __makeTemplateObject(cooked, raw) {
285
- if (Object.defineProperty) {
286
- Object.defineProperty(cooked, "raw", { value: raw });
287
- }
288
- else {
289
- cooked.raw = raw;
290
- }
291
- return cooked;
292
- }
293
- ;
294
- var __setModuleDefault = Object.create ? (function (o, v) {
295
- Object.defineProperty(o, "default", { enumerable: true, value: v });
296
- }) : function (o, v) {
297
- o["default"] = v;
298
- };
299
- function __importStar(mod) {
300
- if (mod && mod.__esModule)
301
- return mod;
302
- var result = {};
303
- if (mod != null)
304
- for (var k in mod)
305
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
306
- __createBinding(result, mod, k);
307
- __setModuleDefault(result, mod);
308
- return result;
309
- }
310
- function __importDefault(mod) {
311
- return (mod && mod.__esModule) ? mod : { default: mod };
312
- }
313
- function __classPrivateFieldGet(receiver, state, kind, f) {
314
- if (kind === "a" && !f)
315
- throw new TypeError("Private accessor was defined without a getter");
316
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
317
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
318
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
319
- }
320
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
321
- if (kind === "m")
322
- throw new TypeError("Private method is not writable");
323
- if (kind === "a" && !f)
324
- throw new TypeError("Private accessor was defined without a setter");
325
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
326
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
327
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
328
- }
329
-
330
- var SEContainerComponent = /** @class */ (function () {
331
- function SEContainerComponent(configSrv) {
332
- this.errorNotify$ = new rxjs.BehaviorSubject(null);
333
- this.noColon = false;
334
- this.line = false;
335
- configSrv.attach(this, 'se', {
336
- size: 'default',
337
- nzLayout: 'horizontal',
338
- gutter: 32,
339
- col: 2,
340
- labelWidth: 150,
341
- firstVisual: false,
342
- ingoreDirty: false
343
- });
344
- }
345
- Object.defineProperty(SEContainerComponent.prototype, "gutter", {
346
- get: function () {
347
- return this.nzLayout === 'horizontal' ? this._gutter : 0;
348
- },
349
- set: function (value) {
350
- this._gutter = decorator.toNumber(value);
351
- },
352
- enumerable: false,
353
- configurable: true
354
- });
355
- Object.defineProperty(SEContainerComponent.prototype, "nzLayout", {
356
- get: function () {
357
- return this._nzLayout;
358
- },
359
- set: function (value) {
360
- this._nzLayout = value;
361
- if (value === 'inline') {
362
- this.size = 'compact';
363
- }
364
- },
365
- enumerable: false,
366
- configurable: true
367
- });
368
- Object.defineProperty(SEContainerComponent.prototype, "errors", {
369
- set: function (val) {
370
- this.setErrors(val);
371
- },
372
- enumerable: false,
373
- configurable: true
374
- });
375
- Object.defineProperty(SEContainerComponent.prototype, "margin", {
376
- get: function () {
377
- return -(this.gutter / 2);
378
- },
379
- enumerable: false,
380
- configurable: true
381
- });
382
- Object.defineProperty(SEContainerComponent.prototype, "errorNotify", {
383
- get: function () {
384
- return this.errorNotify$.pipe(operators.filter(function (v) { return v != null; }));
385
- },
386
- enumerable: false,
387
- configurable: true
388
- });
389
- SEContainerComponent.prototype.setErrors = function (errors) {
390
- var e_1, _a;
391
- try {
392
- for (var errors_1 = __values(errors), errors_1_1 = errors_1.next(); !errors_1_1.done; errors_1_1 = errors_1.next()) {
393
- var error = errors_1_1.value;
394
- this.errorNotify$.next(error);
395
- }
396
- }
397
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
398
- finally {
399
- try {
400
- if (errors_1_1 && !errors_1_1.done && (_a = errors_1.return)) _a.call(errors_1);
401
- }
402
- finally { if (e_1) throw e_1.error; }
403
- }
404
- };
405
- return SEContainerComponent;
406
- }());
407
- SEContainerComponent.decorators = [
408
- { type: core.Component, args: [{
409
- selector: 'se-container, [se-container]',
410
- exportAs: 'seContainer',
411
- template: "\n <div se-title *ngIf=\"title\">\n <ng-container *nzStringTemplateOutlet=\"title\">{{ title }}</ng-container>\n </div>\n <ng-content></ng-content>\n ",
412
- host: {
413
- '[class.ant-row]': "true",
414
- '[class.se__container]': "true",
415
- '[class.se__horizontal]': "nzLayout === 'horizontal'",
416
- '[class.se__vertical]': "nzLayout === 'vertical'",
417
- '[class.se__inline]': "nzLayout === 'inline'",
418
- '[class.se__compact]': "size === 'compact'",
419
- '[style.margin-left.px]': "margin",
420
- '[style.margin-right.px]': "margin"
421
- },
422
- preserveWhitespaces: false,
423
- changeDetection: core.ChangeDetectionStrategy.OnPush,
424
- encapsulation: core.ViewEncapsulation.None
425
- },] }
426
- ];
427
- SEContainerComponent.ctorParameters = function () { return [
428
- { type: config.AlainConfigService }
429
- ]; };
430
- SEContainerComponent.propDecorators = {
431
- colInCon: [{ type: core.Input, args: ['se-container',] }],
432
- col: [{ type: core.Input }],
433
- labelWidth: [{ type: core.Input }],
434
- noColon: [{ type: core.Input }],
435
- title: [{ type: core.Input }],
436
- gutter: [{ type: core.Input }],
437
- nzLayout: [{ type: core.Input }],
438
- size: [{ type: core.Input }],
439
- firstVisual: [{ type: core.Input }],
440
- ingoreDirty: [{ type: core.Input }],
441
- line: [{ type: core.Input }],
442
- errors: [{ type: core.Input }]
443
- };
444
- __decorate([
445
- decorator.InputNumber(null)
446
- ], SEContainerComponent.prototype, "colInCon", void 0);
447
- __decorate([
448
- decorator.InputNumber(null)
449
- ], SEContainerComponent.prototype, "col", void 0);
450
- __decorate([
451
- decorator.InputNumber(null)
452
- ], SEContainerComponent.prototype, "labelWidth", void 0);
453
- __decorate([
454
- decorator.InputBoolean()
455
- ], SEContainerComponent.prototype, "noColon", void 0);
456
- __decorate([
457
- decorator.InputBoolean()
458
- ], SEContainerComponent.prototype, "firstVisual", void 0);
459
- __decorate([
460
- decorator.InputBoolean()
461
- ], SEContainerComponent.prototype, "ingoreDirty", void 0);
462
- __decorate([
463
- decorator.InputBoolean()
464
- ], SEContainerComponent.prototype, "line", void 0);
465
-
466
- var SETitleComponent = /** @class */ (function () {
467
- function SETitleComponent(parent, el, ren) {
468
- this.parent = parent;
469
- this.ren = ren;
470
- if (parent == null) {
471
- throw new Error("[se-title] must include 'se-container' component");
472
- }
473
- this.el = el.nativeElement;
474
- }
475
- SETitleComponent.prototype.setClass = function () {
476
- var el = this.el;
477
- var gutter = this.parent.gutter;
478
- this.ren.setStyle(el, 'padding-left', gutter / 2 + "px");
479
- this.ren.setStyle(el, 'padding-right', gutter / 2 + "px");
480
- };
481
- SETitleComponent.prototype.ngOnInit = function () {
482
- this.setClass();
483
- };
484
- return SETitleComponent;
485
- }());
486
- SETitleComponent.decorators = [
487
- { type: core.Component, args: [{
488
- selector: 'se-title, [se-title]',
489
- exportAs: 'seTitle',
490
- template: '<ng-content></ng-content>',
491
- host: {
492
- '[class.se__title]': 'true'
493
- },
494
- preserveWhitespaces: false,
495
- changeDetection: core.ChangeDetectionStrategy.OnPush,
496
- encapsulation: core.ViewEncapsulation.None
497
- },] }
498
- ];
499
- SETitleComponent.ctorParameters = function () { return [
500
- { type: SEContainerComponent, decorators: [{ type: core.Host }, { type: core.Optional }] },
501
- { type: core.ElementRef },
502
- { type: core.Renderer2 }
503
- ]; };
504
-
505
- var prefixCls = "se";
506
- var nextUniqueId = 0;
507
- var SEComponent = /** @class */ (function () {
508
- function SEComponent(el, parent, rep, ren, cdr) {
509
- var _this = this;
510
- this.parent = parent;
511
- this.rep = rep;
512
- this.ren = ren;
513
- this.cdr = cdr;
514
- this.unsubscribe$ = new rxjs.Subject();
515
- this.clsMap = [];
516
- this.inited = false;
517
- this.onceFlag = false;
518
- this.errorData = {};
519
- this.isBindModel = false;
520
- this.invalid = false;
521
- this._labelWidth = null;
522
- this._noColon = null;
523
- // #region fields
524
- this.optional = null;
525
- this.optionalHelp = null;
526
- this.required = false;
527
- this.controlClass = '';
528
- this._id = "_se-" + ++nextUniqueId;
529
- this._autoId = true;
530
- if (parent == null) {
531
- throw new Error("[se] must include 'se-container' component");
532
- }
533
- this.el = el.nativeElement;
534
- parent.errorNotify
535
- .pipe(operators.takeUntil(this.unsubscribe$), operators.filter(function (w) { return _this.inited && _this.ngControl != null && _this.ngControl.name === w.name; }))
536
- .subscribe(function (item) {
537
- _this.error = item.error;
538
- _this.updateStatus(_this.ngControl.invalid);
539
- });
540
- }
541
- Object.defineProperty(SEComponent.prototype, "error", {
542
- set: function (val) {
543
- this.errorData = typeof val === 'string' || val instanceof core.TemplateRef ? { '': val } : val;
544
- },
545
- enumerable: false,
546
- configurable: true
547
- });
548
- Object.defineProperty(SEComponent.prototype, "id", {
549
- set: function (value) {
550
- this._id = value;
551
- this._autoId = false;
552
- },
553
- enumerable: false,
554
- configurable: true
555
- });
556
- Object.defineProperty(SEComponent.prototype, "paddingValue", {
557
- // #endregion
558
- get: function () {
559
- return this.parent.gutter / 2;
560
- },
561
- enumerable: false,
562
- configurable: true
563
- });
564
- Object.defineProperty(SEComponent.prototype, "showErr", {
565
- get: function () {
566
- return this.invalid && !!this._error && !this.compact;
567
- },
568
- enumerable: false,
569
- configurable: true
570
- });
571
- Object.defineProperty(SEComponent.prototype, "compact", {
572
- get: function () {
573
- return this.parent.size === 'compact';
574
- },
575
- enumerable: false,
576
- configurable: true
577
- });
578
- Object.defineProperty(SEComponent.prototype, "ngControl", {
579
- get: function () {
580
- return this.ngModel || this.formControlName;
581
- },
582
- enumerable: false,
583
- configurable: true
584
- });
585
- SEComponent.prototype.setClass = function () {
586
- var _c = this, el = _c.el, ren = _c.ren, clsMap = _c.clsMap, col = _c.col, parent = _c.parent, cdr = _c.cdr, line = _c.line, labelWidth = _c.labelWidth, rep = _c.rep, noColon = _c.noColon;
587
- this._noColon = noColon != null ? noColon : parent.noColon;
588
- this._labelWidth = parent.nzLayout === 'horizontal' ? (labelWidth != null ? labelWidth : parent.labelWidth) : null;
589
- clsMap.forEach(function (cls) { return ren.removeClass(el, cls); });
590
- clsMap.length = 0;
591
- var repCls = parent.nzLayout === 'horizontal' ? rep.genCls(col != null ? col : parent.colInCon || parent.col) : [];
592
- clsMap.push.apply(clsMap, __spreadArray(__spreadArray(["ant-form-item"], __read(repCls)), [prefixCls + "__item"]));
593
- if (line || parent.line) {
594
- clsMap.push(prefixCls + "__line");
595
- }
596
- clsMap.forEach(function (cls) { return ren.addClass(el, cls); });
597
- cdr.detectChanges();
598
- return this;
599
- };
600
- SEComponent.prototype.bindModel = function () {
601
- var _this = this;
602
- var _a, _b;
603
- if (!this.ngControl || this.isBindModel)
604
- return;
605
- this.isBindModel = true;
606
- this.ngControl
607
- .statusChanges.pipe(operators.takeUntil(this.unsubscribe$))
608
- .subscribe(function (res) { return _this.updateStatus(res === 'INVALID'); });
609
- if (this._autoId) {
610
- var controlAccessor = this.ngControl.valueAccessor;
611
- var control = (_a = ((controlAccessor === null || controlAccessor === void 0 ? void 0 : controlAccessor.elementRef) || (controlAccessor === null || controlAccessor === void 0 ? void 0 : controlAccessor._elementRef))) === null || _a === void 0 ? void 0 : _a.nativeElement;
612
- if (!!control) {
613
- if (control.id) {
614
- this._id = control.id;
615
- }
616
- else {
617
- control.id = this._id;
618
- }
619
- }
620
- }
621
- // auto required
622
- if (this.required !== true) {
623
- var rawValidators = (_b = this.ngControl) === null || _b === void 0 ? void 0 : _b._rawValidators;
624
- this.required = rawValidators.find(function (w) { return w instanceof forms.RequiredValidator; }) != null;
625
- this.cdr.detectChanges();
626
- }
627
- };
628
- SEComponent.prototype.updateStatus = function (invalid) {
629
- if (this.ngControl.disabled || this.ngControl.isDisabled) {
630
- return;
631
- }
632
- this.invalid =
633
- !this.onceFlag && invalid && this.parent.ingoreDirty === false && !this.ngControl.dirty ? false : invalid;
634
- var errors = this.ngControl.errors;
635
- if (errors != null && Object.keys(errors).length > 0) {
636
- var key = Object.keys(errors)[0] || '';
637
- var err = this.errorData[key];
638
- this._error = err != null ? err : this.errorData[''] || '';
639
- }
640
- this.cdr.detectChanges();
641
- };
642
- SEComponent.prototype.checkContent = function () {
643
- var el = this.contentElement.nativeElement;
644
- var cls = prefixCls + "__item-empty";
645
- if (browser.isEmpty(el)) {
646
- this.ren.addClass(el, cls);
647
- }
648
- else {
649
- this.ren.removeClass(el, cls);
650
- }
651
- };
652
- SEComponent.prototype.ngAfterContentInit = function () {
653
- this.checkContent();
654
- };
655
- SEComponent.prototype.ngOnChanges = function () {
656
- this.onceFlag = this.parent.firstVisual;
657
- if (this.inited) {
658
- this.setClass().bindModel();
659
- }
660
- };
661
- SEComponent.prototype.ngAfterViewInit = function () {
662
- var _this = this;
663
- this.setClass().bindModel();
664
- this.inited = true;
665
- if (this.onceFlag) {
666
- Promise.resolve().then(function () {
667
- _this.updateStatus(_this.ngControl.invalid);
668
- _this.onceFlag = false;
669
- });
670
- }
671
- };
672
- SEComponent.prototype.ngOnDestroy = function () {
673
- var unsubscribe$ = this.unsubscribe$;
674
- unsubscribe$.next();
675
- unsubscribe$.complete();
676
- };
677
- return SEComponent;
678
- }());
679
- SEComponent.decorators = [
680
- { type: core.Component, args: [{
681
- selector: 'se',
682
- exportAs: 'se',
683
- template: "<div class=\"ant-form-item-label\" [class.se__nolabel]=\"!label\" [style.width.px]=\"_labelWidth\">\n <label\n *ngIf=\"label\"\n [attr.for]=\"_id\"\n class=\"se__label\"\n [ngClass]=\"{ 'ant-form-item-required': required, 'se__no-colon': _noColon }\"\n >\n <span class=\"se__label-text\">\n <ng-container *nzStringTemplateOutlet=\"label\">{{ label }}</ng-container>\n </span>\n <span *ngIf=\"optional || optionalHelp\" class=\"se__label-optional\" [class.se__label-optional-no-text]=\"!optional\">\n <ng-container *nzStringTemplateOutlet=\"optional\">{{ optional }}</ng-container>\n <i\n *ngIf=\"optionalHelp\"\n nz-tooltip\n [nzTooltipTitle]=\"optionalHelp\"\n [nzTooltipColor]=\"optionalHelpColor\"\n nz-icon\n nzType=\"question-circle\"\n ></i>\n </span>\n </label>\n</div>\n<div class=\"ant-form-item-control se__control\">\n <div class=\"ant-form-item-control-input {{ controlClass }}\">\n <div class=\"ant-form-item-control-input-content\" (cdkObserveContent)=\"checkContent()\" #contentElement>\n <ng-content></ng-content>\n </div>\n </div>\n <div class=\"ant-form-item-explain ant-form-item-explain-error\" *ngIf=\"showErr\">\n <div @helpMotion>\n <ng-container *nzStringTemplateOutlet=\"_error\">{{ _error }}</ng-container>\n </div>\n </div>\n <div *ngIf=\"extra && !compact\" class=\"ant-form-item-extra\">\n <ng-container *nzStringTemplateOutlet=\"extra\">{{ extra }}</ng-container>\n </div>\n</div>\n",
684
- host: {
685
- '[style.padding-left.px]': 'paddingValue',
686
- '[style.padding-right.px]': 'paddingValue',
687
- '[class.ant-form-item-has-error]': 'invalid',
688
- '[class.ant-form-item-with-help]': 'showErr'
689
- },
690
- preserveWhitespaces: false,
691
- animations: [animation.helpMotion],
692
- changeDetection: core.ChangeDetectionStrategy.OnPush,
693
- encapsulation: core.ViewEncapsulation.None
694
- },] }
695
- ];
696
- SEComponent.ctorParameters = function () { return [
697
- { type: core.ElementRef },
698
- { type: SEContainerComponent, decorators: [{ type: core.Optional }, { type: core.Host }] },
699
- { type: theme.ResponsiveService },
700
- { type: core.Renderer2 },
701
- { type: core.ChangeDetectorRef }
702
- ]; };
703
- SEComponent.propDecorators = {
704
- ngModel: [{ type: core.ContentChild, args: [forms.NgModel, { static: true },] }],
705
- formControlName: [{ type: core.ContentChild, args: [forms.FormControlName, { static: true },] }],
706
- contentElement: [{ type: core.ViewChild, args: ['contentElement', { static: true },] }],
707
- optional: [{ type: core.Input }],
708
- optionalHelp: [{ type: core.Input }],
709
- optionalHelpColor: [{ type: core.Input }],
710
- error: [{ type: core.Input }],
711
- extra: [{ type: core.Input }],
712
- label: [{ type: core.Input }],
713
- col: [{ type: core.Input }],
714
- required: [{ type: core.Input }],
715
- controlClass: [{ type: core.Input }],
716
- line: [{ type: core.Input }],
717
- labelWidth: [{ type: core.Input }],
718
- noColon: [{ type: core.Input }],
719
- id: [{ type: core.Input }]
720
- };
721
- __decorate([
722
- decorator.InputNumber(null)
723
- ], SEComponent.prototype, "col", void 0);
724
- __decorate([
725
- decorator.InputBoolean()
726
- ], SEComponent.prototype, "required", void 0);
727
- __decorate([
728
- decorator.InputBoolean(null)
729
- ], SEComponent.prototype, "line", void 0);
730
- __decorate([
731
- decorator.InputNumber(null)
732
- ], SEComponent.prototype, "labelWidth", void 0);
733
- __decorate([
734
- decorator.InputBoolean(null)
735
- ], SEComponent.prototype, "noColon", void 0);
736
-
737
- var COMPONENTS = [SEContainerComponent, SEComponent, SETitleComponent];
738
- var SEModule = /** @class */ (function () {
739
- function SEModule() {
740
- }
741
- return SEModule;
742
- }());
743
- SEModule.decorators = [
744
- { type: core.NgModule, args: [{
745
- imports: [common.CommonModule, tooltip.NzToolTipModule, icon.NzIconModule, outlet.NzOutletModule],
746
- declarations: COMPONENTS,
747
- exports: COMPONENTS
748
- },] }
749
- ];
750
-
751
- // /**
752
- // * Error collection
753
- // * - `name`: The value of` ngModel` or `formControlName`
754
- // * - `error`: Replaced error value
755
- // */
756
- // errors: Array<{ name: string; error: SEErrorType }>;
757
- // /**
758
- // * Whether force show error, even if the form component has not invalid, Default: `false`
759
- // * - `false`: Whether to display error by `invalid`
760
- // * - `true`: Force show display error
761
- // */
762
- // force?: boolean;
763
-
764
- /**
765
- * Generated bundle index. Do not edit.
766
- */
767
-
768
- exports.SEComponent = SEComponent;
769
- exports.SEContainerComponent = SEContainerComponent;
770
- exports.SEModule = SEModule;
771
- exports.SETitleComponent = SETitleComponent;
772
-
773
- Object.defineProperty(exports, '__esModule', { value: true });
774
-
775
- }));
776
- //# sourceMappingURL=edit.umd.js.map