ngx-tethys 19.1.13 → 20.0.0-next.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 (827) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/action/index.d.ts +107 -3
  3. package/affix/index.d.ts +65 -2
  4. package/alert/index.d.ts +74 -3
  5. package/anchor/index.d.ts +118 -3
  6. package/arrow-switcher/index.d.ts +79 -2
  7. package/autocomplete/index.d.ts +280 -7
  8. package/avatar/index.d.ts +195 -5
  9. package/back-top/index.d.ts +68 -2
  10. package/badge/index.d.ts +87 -2
  11. package/breadcrumb/index.d.ts +71 -3
  12. package/button/index.d.ts +156 -4
  13. package/calendar/index.d.ts +161 -4
  14. package/card/index.d.ts +100 -4
  15. package/carousel/index.d.ts +210 -4
  16. package/cascader/index.d.ts +471 -5
  17. package/checkbox/index.d.ts +27 -2
  18. package/collapse/index.d.ts +108 -3
  19. package/color-picker/index.d.ts +494 -13
  20. package/comment/index.d.ts +53 -4
  21. package/copy/index.d.ts +59 -2
  22. package/core/index.d.ts +680 -15
  23. package/date-picker/index.d.ts +1148 -36
  24. package/date-range/index.d.ts +158 -4
  25. package/dialog/index.d.ts +393 -11
  26. package/divider/index.d.ts +60 -2
  27. package/dot/index.d.ts +56 -2
  28. package/drag-drop/index.d.ts +281 -9
  29. package/dropdown/index.d.ts +282 -6
  30. package/empty/index.d.ts +116 -3
  31. package/fesm2022/ngx-tethys-action.mjs +26 -26
  32. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  33. package/fesm2022/ngx-tethys-affix.mjs +14 -14
  34. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  35. package/fesm2022/ngx-tethys-alert.mjs +19 -19
  36. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  37. package/fesm2022/ngx-tethys-anchor.mjs +25 -25
  38. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  39. package/fesm2022/ngx-tethys-arrow-switcher.mjs +20 -20
  40. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  41. package/fesm2022/ngx-tethys-autocomplete.mjs +41 -36
  42. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  43. package/fesm2022/ngx-tethys-avatar.mjs +45 -45
  44. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  45. package/fesm2022/ngx-tethys-back-top.mjs +15 -15
  46. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  47. package/fesm2022/ngx-tethys-badge.mjs +27 -27
  48. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  49. package/fesm2022/ngx-tethys-breadcrumb.mjs +20 -20
  50. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  51. package/fesm2022/ngx-tethys-button.mjs +57 -51
  52. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  53. package/fesm2022/ngx-tethys-calendar.mjs +29 -29
  54. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  55. package/fesm2022/ngx-tethys-card.mjs +28 -28
  56. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  57. package/fesm2022/ngx-tethys-carousel.mjs +29 -29
  58. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  59. package/fesm2022/ngx-tethys-cascader.mjs +93 -87
  60. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  61. package/fesm2022/ngx-tethys-checkbox.mjs +9 -9
  62. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  63. package/fesm2022/ngx-tethys-collapse.mjs +24 -24
  64. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  65. package/fesm2022/ngx-tethys-color-picker.mjs +75 -73
  66. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  67. package/fesm2022/ngx-tethys-comment.mjs +17 -17
  68. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  69. package/fesm2022/ngx-tethys-copy.mjs +15 -15
  70. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  71. package/fesm2022/ngx-tethys-core.mjs +38 -38
  72. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  73. package/fesm2022/ngx-tethys-date-picker.mjs +323 -305
  74. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  75. package/fesm2022/ngx-tethys-date-range.mjs +23 -23
  76. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  77. package/fesm2022/ngx-tethys-dialog.mjs +56 -54
  78. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  79. package/fesm2022/ngx-tethys-divider.mjs +16 -16
  80. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  81. package/fesm2022/ngx-tethys-dot.mjs +20 -20
  82. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  83. package/fesm2022/ngx-tethys-drag-drop.mjs +20 -21
  84. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  85. package/fesm2022/ngx-tethys-dropdown.mjs +85 -83
  86. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  87. package/fesm2022/ngx-tethys-empty.mjs +28 -28
  88. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  89. package/fesm2022/ngx-tethys-flexible-text.mjs +13 -13
  90. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  91. package/fesm2022/ngx-tethys-form.mjs +99 -95
  92. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  93. package/fesm2022/ngx-tethys-fullscreen.mjs +22 -21
  94. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  95. package/fesm2022/ngx-tethys-grid.mjs +60 -60
  96. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  97. package/fesm2022/ngx-tethys-guider.mjs +20 -20
  98. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  99. package/fesm2022/ngx-tethys-i18n.mjs +4 -4
  100. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-icon.mjs +20 -20
  102. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-image.mjs +26 -26
  104. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  105. package/fesm2022/ngx-tethys-input-number.mjs +28 -24
  106. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  107. package/fesm2022/ngx-tethys-input.mjs +72 -71
  108. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  109. package/fesm2022/ngx-tethys-layout.mjs +128 -118
  110. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  111. package/fesm2022/ngx-tethys-list.mjs +37 -37
  112. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  113. package/fesm2022/ngx-tethys-loading.mjs +11 -11
  114. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  115. package/fesm2022/ngx-tethys-mention.mjs +18 -18
  116. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  117. package/fesm2022/ngx-tethys-menu.mjs +57 -57
  118. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  119. package/fesm2022/ngx-tethys-message.mjs +43 -40
  120. package/fesm2022/ngx-tethys-message.mjs.map +1 -1
  121. package/fesm2022/ngx-tethys-nav.mjs +58 -58
  122. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  123. package/fesm2022/ngx-tethys-notify.mjs +35 -32
  124. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  125. package/fesm2022/ngx-tethys-pagination.mjs +38 -38
  126. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  127. package/fesm2022/ngx-tethys-popover.mjs +46 -38
  128. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  129. package/fesm2022/ngx-tethys-progress.mjs +64 -57
  130. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  131. package/fesm2022/ngx-tethys-property-operation.mjs +11 -11
  132. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  133. package/fesm2022/ngx-tethys-property.mjs +29 -29
  134. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-radio.mjs +23 -23
  136. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  137. package/fesm2022/ngx-tethys-rate.mjs +28 -28
  138. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  139. package/fesm2022/ngx-tethys-resizable.mjs +38 -38
  140. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  141. package/fesm2022/ngx-tethys-result.mjs +16 -16
  142. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  143. package/fesm2022/ngx-tethys-segment.mjs +23 -23
  144. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  145. package/fesm2022/ngx-tethys-select.mjs +76 -64
  146. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  147. package/fesm2022/ngx-tethys-shared.mjs +163 -155
  148. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  149. package/fesm2022/ngx-tethys-skeleton.mjs +84 -84
  150. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  151. package/fesm2022/ngx-tethys-slide.mjs +50 -46
  152. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  153. package/fesm2022/ngx-tethys-slider.mjs +21 -21
  154. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  155. package/fesm2022/ngx-tethys-space.mjs +16 -16
  156. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  157. package/fesm2022/ngx-tethys-statistic.mjs +29 -29
  158. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  159. package/fesm2022/ngx-tethys-stepper.mjs +37 -37
  160. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  161. package/fesm2022/ngx-tethys-strength.mjs +22 -22
  162. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  163. package/fesm2022/ngx-tethys-switch.mjs +19 -19
  164. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  165. package/fesm2022/ngx-tethys-table.mjs +22 -22
  166. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  167. package/fesm2022/ngx-tethys-tabs.mjs +31 -31
  168. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  169. package/fesm2022/ngx-tethys-tag.mjs +18 -18
  170. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  171. package/fesm2022/ngx-tethys-testing.mjs.map +1 -1
  172. package/fesm2022/ngx-tethys-time-picker.mjs +75 -74
  173. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  174. package/fesm2022/ngx-tethys-timeline.mjs +28 -28
  175. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  176. package/fesm2022/ngx-tethys-tooltip.mjs +28 -28
  177. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  178. package/fesm2022/ngx-tethys-transfer.mjs +36 -36
  179. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  180. package/fesm2022/ngx-tethys-tree-select.mjs +58 -58
  181. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  182. package/fesm2022/ngx-tethys-tree.mjs +77 -72
  183. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  184. package/fesm2022/ngx-tethys-typography.mjs +19 -19
  185. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  186. package/fesm2022/ngx-tethys-upload.mjs +68 -68
  187. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  188. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  189. package/fesm2022/ngx-tethys-vote.mjs +25 -25
  190. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  191. package/fesm2022/ngx-tethys-watermark.mjs +12 -12
  192. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  193. package/fesm2022/ngx-tethys.mjs +1 -1
  194. package/fesm2022/ngx-tethys.mjs.map +1 -1
  195. package/flexible-text/index.d.ts +64 -2
  196. package/form/index.d.ts +405 -11
  197. package/fullscreen/index.d.ts +117 -6
  198. package/grid/index.d.ts +262 -7
  199. package/guider/index.d.ts +304 -8
  200. package/i18n/index.d.ts +1053 -6
  201. package/icon/index.d.ts +145 -4
  202. package/image/index.d.ts +263 -8
  203. package/index.d.ts +5 -5
  204. package/input/index.d.ts +281 -6
  205. package/input-number/index.d.ts +133 -2
  206. package/layout/index.d.ts +362 -10
  207. package/list/index.d.ts +182 -6
  208. package/loading/index.d.ts +34 -2
  209. package/mention/index.d.ts +147 -4
  210. package/menu/index.d.ts +191 -8
  211. package/message/index.d.ts +203 -8
  212. package/nav/index.d.ts +269 -6
  213. package/notify/index.d.ts +158 -7
  214. package/package.json +13 -13
  215. package/pagination/index.d.ts +248 -5
  216. package/popover/index.d.ts +339 -9
  217. package/progress/index.d.ts +154 -5
  218. package/property/index.d.ts +118 -3
  219. package/property-operation/index.d.ts +114 -3
  220. package/radio/index.d.ts +102 -4
  221. package/rate/index.d.ts +99 -3
  222. package/resizable/index.d.ts +197 -7
  223. package/result/index.d.ts +63 -2
  224. package/schematics/ng-update/migration-collection.json +4 -4
  225. package/schematics/ng-update/{update-19 → update-20}/index.js +1 -1
  226. package/schematics/ng-update/{update-19 → update-20}/index.spec.js +5 -5
  227. package/schematics/version.d.ts +1 -1
  228. package/schematics/version.js +1 -1
  229. package/segment/index.d.ts +119 -4
  230. package/select/index.d.ts +332 -4
  231. package/shared/index.d.ts +516 -16
  232. package/skeleton/index.d.ts +301 -8
  233. package/slide/index.d.ts +270 -12
  234. package/slider/index.d.ts +117 -2
  235. package/space/index.d.ts +48 -2
  236. package/statistic/index.d.ts +124 -2
  237. package/stepper/index.d.ts +112 -5
  238. package/strength/index.d.ts +77 -2
  239. package/switch/index.d.ts +69 -2
  240. package/table/index.d.ts +670 -9
  241. package/tabs/index.d.ts +114 -4
  242. package/tag/index.d.ts +71 -3
  243. package/testing/index.d.ts +178 -7
  244. package/time-picker/index.d.ts +468 -7
  245. package/timeline/index.d.ts +109 -5
  246. package/tooltip/index.d.ts +198 -8
  247. package/transfer/index.d.ts +212 -4
  248. package/tree/index.d.ts +469 -5
  249. package/tree-select/index.d.ts +231 -3
  250. package/types/index.d.ts +22 -3
  251. package/typography/index.d.ts +69 -4
  252. package/upload/index.d.ts +253 -6
  253. package/util/index.d.ts +595 -14
  254. package/vote/index.d.ts +66 -2
  255. package/watermark/index.d.ts +75 -2
  256. package/action/action.component.d.ts +0 -76
  257. package/action/action.module.d.ts +0 -10
  258. package/action/actions.component.d.ts +0 -21
  259. package/affix/affix.component.d.ts +0 -54
  260. package/affix/affix.module.d.ts +0 -9
  261. package/affix/respond-events.d.ts +0 -9
  262. package/alert/alert.component.d.ts +0 -51
  263. package/alert/alert.directive.d.ts +0 -12
  264. package/alert/alert.module.d.ts +0 -10
  265. package/anchor/anchor-link.component.d.ts +0 -34
  266. package/anchor/anchor.component.d.ts +0 -68
  267. package/anchor/anchor.module.d.ts +0 -11
  268. package/anchor/anchor.token.d.ts +0 -9
  269. package/arrow-switcher/arrow-switcher.component.d.ts +0 -64
  270. package/arrow-switcher/module.d.ts +0 -12
  271. package/autocomplete/autocomplete.component.d.ts +0 -79
  272. package/autocomplete/autocomplete.trigger.directive.d.ts +0 -77
  273. package/autocomplete/module.d.ts +0 -18
  274. package/autocomplete/overlay/autocomplete-animations.d.ts +0 -8
  275. package/autocomplete/overlay/autocomplete-container.component.d.ts +0 -33
  276. package/autocomplete/overlay/autocomplete-ref.d.ts +0 -14
  277. package/autocomplete/overlay/autocomplete.config.d.ts +0 -36
  278. package/autocomplete/overlay/autocomplete.options.d.ts +0 -2
  279. package/autocomplete/overlay/autocomplete.service.d.ts +0 -32
  280. package/avatar/avatar-list/avatar-list.component.d.ts +0 -41
  281. package/avatar/avatar.component.d.ts +0 -95
  282. package/avatar/avatar.module.d.ts +0 -11
  283. package/avatar/avatar.pipe.d.ts +0 -30
  284. package/avatar/avatar.service.d.ts +0 -21
  285. package/back-top/back-top.component.d.ts +0 -57
  286. package/back-top/back-top.module.d.ts +0 -9
  287. package/badge/badge.component.d.ts +0 -75
  288. package/badge/badge.module.d.ts +0 -9
  289. package/breadcrumb/breadcrumb-item.component.d.ts +0 -15
  290. package/breadcrumb/breadcrumb.component.d.ts +0 -44
  291. package/breadcrumb/module.d.ts +0 -12
  292. package/button/button-group.component.d.ts +0 -32
  293. package/button/button-icon.component.d.ts +0 -51
  294. package/button/button.component.d.ts +0 -61
  295. package/button/button.module.d.ts +0 -11
  296. package/calendar/calendar-cells.d.ts +0 -17
  297. package/calendar/calendar-header.component.d.ts +0 -51
  298. package/calendar/calendar.component.d.ts +0 -78
  299. package/calendar/module.d.ts +0 -18
  300. package/card/card.component.d.ts +0 -28
  301. package/card/card.module.d.ts +0 -10
  302. package/card/content.component.d.ts +0 -21
  303. package/card/header.component.d.ts +0 -42
  304. package/carousel/carousel-item.directive.d.ts +0 -14
  305. package/carousel/carousel.component.d.ts +0 -112
  306. package/carousel/carousel.service.d.ts +0 -19
  307. package/carousel/carousel.token.d.ts +0 -7
  308. package/carousel/engine/carousel-base.d.ts +0 -27
  309. package/carousel/engine/carousel-fade.d.ts +0 -15
  310. package/carousel/engine/carousel-noop.d.ts +0 -14
  311. package/carousel/engine/carousel-slide.d.ts +0 -16
  312. package/carousel/engine/index.d.ts +0 -4
  313. package/carousel/module.d.ts +0 -11
  314. package/carousel/typings.d.ts +0 -20
  315. package/cascader/cascader-li.component.d.ts +0 -24
  316. package/cascader/cascader-search-option.component.d.ts +0 -21
  317. package/cascader/cascader.component.d.ts +0 -284
  318. package/cascader/cascader.pipe.d.ts +0 -11
  319. package/cascader/cascader.service.d.ts +0 -97
  320. package/cascader/module.d.ts +0 -19
  321. package/cascader/types.d.ts +0 -23
  322. package/checkbox/checkbox.component.d.ts +0 -16
  323. package/checkbox/module.d.ts +0 -9
  324. package/collapse/collapse-item.component.d.ts +0 -52
  325. package/collapse/collapse.component.d.ts +0 -29
  326. package/collapse/collapse.token.d.ts +0 -15
  327. package/collapse/module.d.ts +0 -13
  328. package/color-picker/color-picker-custom-panel.component.d.ts +0 -17
  329. package/color-picker/color-picker-panel.component.d.ts +0 -28
  330. package/color-picker/color-picker.component.d.ts +0 -100
  331. package/color-picker/constant.d.ts +0 -1
  332. package/color-picker/coordinates.directive.d.ts +0 -28
  333. package/color-picker/helpers/color.class.d.ts +0 -32
  334. package/color-picker/helpers/colors-table.class.d.ts +0 -154
  335. package/color-picker/helpers/rgba.class.d.ts +0 -20
  336. package/color-picker/module.d.ts +0 -22
  337. package/color-picker/parts/alpha/alpha.component.d.ts +0 -28
  338. package/color-picker/parts/hue/hue.component.d.ts +0 -26
  339. package/color-picker/parts/indicator/indicator.component.d.ts +0 -13
  340. package/color-picker/parts/inputs/inputs.component.d.ts +0 -18
  341. package/color-picker/parts/saturation/saturation.component.d.ts +0 -28
  342. package/comment/comment-actions.directive.d.ts +0 -8
  343. package/comment/comment-content.directive.d.ts +0 -8
  344. package/comment/comment.component.d.ts +0 -24
  345. package/comment/comment.module.d.ts +0 -13
  346. package/copy/copy.directive.d.ts +0 -47
  347. package/copy/module.d.ts +0 -9
  348. package/core/animation/animation-consts.d.ts +0 -22
  349. package/core/animation/collapse.d.ts +0 -2
  350. package/core/animation/fade.d.ts +0 -2
  351. package/core/animation/index.d.ts +0 -1
  352. package/core/animation/public-api.d.ts +0 -5
  353. package/core/animation/thumb.d.ts +0 -6
  354. package/core/animation/zoom.d.ts +0 -4
  355. package/core/behaviors/constructor.d.ts +0 -5
  356. package/core/behaviors/control-value-accessor.d.ts +0 -7
  357. package/core/behaviors/decorators.d.ts +0 -9
  358. package/core/behaviors/disabled.d.ts +0 -7
  359. package/core/behaviors/focus-control.d.ts +0 -14
  360. package/core/behaviors/index.d.ts +0 -10
  361. package/core/behaviors/initialized.d.ts +0 -6
  362. package/core/behaviors/loading-done.d.ts +0 -5
  363. package/core/behaviors/mixin.d.ts +0 -5
  364. package/core/behaviors/tabindex.d.ts +0 -11
  365. package/core/behaviors/unsubscribe.d.ts +0 -11
  366. package/core/click-positioner.d.ts +0 -15
  367. package/core/color/color.d.ts +0 -9
  368. package/core/color/index.d.ts +0 -1
  369. package/core/debounce-time.d.ts +0 -8
  370. package/core/event-dispatchers/index.d.ts +0 -1
  371. package/core/overlay/abstract-overlay-container.d.ts +0 -43
  372. package/core/overlay/abstract-overlay-ref.d.ts +0 -101
  373. package/core/overlay/abstract-overlay.config.d.ts +0 -131
  374. package/core/overlay/abstract-overlay.service.d.ts +0 -56
  375. package/core/overlay/index.d.ts +0 -9
  376. package/core/overlay/interface.d.ts +0 -5
  377. package/core/overlay/overlay-position-map.d.ts +0 -5
  378. package/core/overlay/overlay.directive.d.ts +0 -51
  379. package/core/overlay/portal-directives.d.ts +0 -14
  380. package/core/overlay/utils.d.ts +0 -14
  381. package/core/request-animation.d.ts +0 -2
  382. package/core/scroll-to.service.d.ts +0 -4
  383. package/core/scroll.d.ts +0 -22
  384. package/core/spacing/index.d.ts +0 -1
  385. package/core/spacing/spacing.d.ts +0 -2
  386. package/core/store/action-state.d.ts +0 -5
  387. package/core/store/action.d.ts +0 -4
  388. package/core/store/actions-stream.d.ts +0 -14
  389. package/core/store/index.d.ts +0 -3
  390. package/core/store/store.d.ts +0 -43
  391. package/core/store/types.d.ts +0 -12
  392. package/core/store/utils.d.ts +0 -2
  393. package/core/theme/enum.d.ts +0 -5
  394. package/core/theme/index.d.ts +0 -3
  395. package/core/theme/store.d.ts +0 -12
  396. package/core/theme/theme.d.ts +0 -2
  397. package/core/translate.d.ts +0 -8
  398. package/core/update-host-class.service.d.ts +0 -15
  399. package/date-picker/abstract-picker.component.d.ts +0 -174
  400. package/date-picker/abstract-picker.directive.d.ts +0 -57
  401. package/date-picker/base-picker.component.d.ts +0 -49
  402. package/date-picker/date-helper.service.d.ts +0 -20
  403. package/date-picker/date-picker.component.d.ts +0 -15
  404. package/date-picker/date-picker.config.d.ts +0 -27
  405. package/date-picker/date-picker.directive.d.ts +0 -13
  406. package/date-picker/date-picker.module.d.ts +0 -24
  407. package/date-picker/date-picker.service.d.ts +0 -14
  408. package/date-picker/inner-types.d.ts +0 -19
  409. package/date-picker/lib/calendar/calendar-footer.component.d.ts +0 -37
  410. package/date-picker/lib/calendar/calendar-header.component.d.ts +0 -44
  411. package/date-picker/lib/calendar/calendar-table.component.d.ts +0 -41
  412. package/date-picker/lib/date/date-header.component.d.ts +0 -10
  413. package/date-picker/lib/date/date-table-cell.component.d.ts +0 -18
  414. package/date-picker/lib/date/date-table.component.d.ts +0 -23
  415. package/date-picker/lib/date/types.d.ts +0 -41
  416. package/date-picker/lib/date-carousel/date-carousel.component.d.ts +0 -65
  417. package/date-picker/lib/decade/decade-header.component.d.ts +0 -14
  418. package/date-picker/lib/decade/decade-table.component.d.ts +0 -21
  419. package/date-picker/lib/lib-packer.module.d.ts +0 -28
  420. package/date-picker/lib/month/month-header.component.d.ts +0 -10
  421. package/date-picker/lib/month/month-table.component.d.ts +0 -22
  422. package/date-picker/lib/popups/date-popup.component.d.ts +0 -99
  423. package/date-picker/lib/popups/inner-popup.component.d.ts +0 -43
  424. package/date-picker/lib/quarter/quarter-table.component.d.ts +0 -21
  425. package/date-picker/lib/year/year-header.component.d.ts +0 -14
  426. package/date-picker/lib/year/year-table.component.d.ts +0 -21
  427. package/date-picker/month-picker.component.d.ts +0 -19
  428. package/date-picker/picker.component.d.ts +0 -76
  429. package/date-picker/picker.pipes.d.ts +0 -40
  430. package/date-picker/picker.util.d.ts +0 -30
  431. package/date-picker/picker.validators.d.ts +0 -22
  432. package/date-picker/quarter-picker.component.d.ts +0 -22
  433. package/date-picker/range-picker.component.d.ts +0 -16
  434. package/date-picker/range-picker.directive.d.ts +0 -14
  435. package/date-picker/standard-types.d.ts +0 -45
  436. package/date-picker/week-picker.component.d.ts +0 -15
  437. package/date-picker/year-picker.component.d.ts +0 -22
  438. package/date-range/date-range.class.d.ts +0 -29
  439. package/date-range/date-range.component.d.ts +0 -89
  440. package/date-range/module.d.ts +0 -15
  441. package/date-range/optional-dates/optional-dates.component.d.ts +0 -25
  442. package/dialog/body/dialog-body.component.d.ts +0 -18
  443. package/dialog/confirm/confirm.component.d.ts +0 -29
  444. package/dialog/confirm/token.d.ts +0 -8
  445. package/dialog/confirm.config.d.ts +0 -71
  446. package/dialog/dialog-animations.d.ts +0 -8
  447. package/dialog/dialog-container.component.d.ts +0 -46
  448. package/dialog/dialog-ref.d.ts +0 -32
  449. package/dialog/dialog.config.d.ts +0 -79
  450. package/dialog/dialog.module.d.ts +0 -20
  451. package/dialog/dialog.options.d.ts +0 -2
  452. package/dialog/dialog.service.d.ts +0 -52
  453. package/dialog/footer/dialog-footer.component.d.ts +0 -33
  454. package/dialog/header/dialog-header.component.d.ts +0 -47
  455. package/divider/divider.component.d.ts +0 -47
  456. package/divider/divider.module.d.ts +0 -10
  457. package/dot/dot.component.d.ts +0 -45
  458. package/dot/dot.module.d.ts +0 -8
  459. package/drag-drop/drag-content.directive.d.ts +0 -15
  460. package/drag-drop/drag-drop.class.d.ts +0 -36
  461. package/drag-drop/drag-drop.service.d.ts +0 -27
  462. package/drag-drop/drag-drop.token.d.ts +0 -24
  463. package/drag-drop/drag-handle.directive.d.ts +0 -24
  464. package/drag-drop/drag-ref.d.ts +0 -47
  465. package/drag-drop/drag.directive.d.ts +0 -39
  466. package/drag-drop/drop-container.directive.d.ts +0 -70
  467. package/drag-drop/module.d.ts +0 -14
  468. package/dropdown/dropdown-active.directive.d.ts +0 -27
  469. package/dropdown/dropdown-menu-item.directive.d.ts +0 -95
  470. package/dropdown/dropdown-menu.component.d.ts +0 -54
  471. package/dropdown/dropdown-submenu.component.d.ts +0 -23
  472. package/dropdown/dropdown.directive.d.ts +0 -77
  473. package/dropdown/module.d.ts +0 -13
  474. package/empty/empty.component.d.ts +0 -92
  475. package/empty/empty.config.d.ts +0 -10
  476. package/empty/empty.module.d.ts +0 -10
  477. package/empty/svgs.d.ts +0 -4
  478. package/flexible-text/flexible-text.component.d.ts +0 -53
  479. package/flexible-text/flexible-text.module.d.ts +0 -10
  480. package/form/form-group-error/form-group-error.component.d.ts +0 -21
  481. package/form/form-group-label.directive.d.ts +0 -18
  482. package/form/form-group.component.d.ts +0 -68
  483. package/form/form-submit.directive.d.ts +0 -18
  484. package/form/form-validator-loader.d.ts +0 -28
  485. package/form/form-validator.service.d.ts +0 -54
  486. package/form/form.class.d.ts +0 -54
  487. package/form/form.directive.d.ts +0 -56
  488. package/form/from-group-footer/form-group-footer.component.d.ts +0 -27
  489. package/form/module.d.ts +0 -25
  490. package/form/validator/confirm-validator.directive.d.ts +0 -17
  491. package/form/validator/index.d.ts +0 -4
  492. package/form/validator/max-validator.directive.d.ts +0 -15
  493. package/form/validator/min-validator.directive.d.ts +0 -15
  494. package/form/validator/unique-validator.directive.d.ts +0 -16
  495. package/fullscreen/fullscreen-launch.directive.d.ts +0 -9
  496. package/fullscreen/fullscreen-ref.d.ts +0 -25
  497. package/fullscreen/fullscreen.component.d.ts +0 -34
  498. package/fullscreen/fullscreen.config.d.ts +0 -23
  499. package/fullscreen/fullscreen.module.d.ts +0 -8
  500. package/fullscreen/fullscreen.service.d.ts +0 -20
  501. package/grid/flex.d.ts +0 -85
  502. package/grid/grid.token.d.ts +0 -7
  503. package/grid/grid.type.d.ts +0 -5
  504. package/grid/module.d.ts +0 -11
  505. package/grid/thy-col.directive.d.ts +0 -33
  506. package/grid/thy-grid-item.component.d.ts +0 -28
  507. package/grid/thy-grid.component.d.ts +0 -71
  508. package/grid/thy-row.directive.d.ts +0 -30
  509. package/guider/guider-hint/guider-hint.component.d.ts +0 -28
  510. package/guider/guider-manager.d.ts +0 -23
  511. package/guider/guider-ref.d.ts +0 -42
  512. package/guider/guider-step-ref.d.ts +0 -44
  513. package/guider/guider.class.d.ts +0 -95
  514. package/guider/guider.directive.d.ts +0 -21
  515. package/guider/guider.interface.d.ts +0 -26
  516. package/guider/guider.module.d.ts +0 -13
  517. package/guider/guider.service.d.ts +0 -25
  518. package/guider/utils.d.ts +0 -4
  519. package/i18n/i18n.d.ts +0 -191
  520. package/i18n/i18n.service.d.ts +0 -19
  521. package/i18n/i18n.token.d.ts +0 -8
  522. package/i18n/locale.d.ts +0 -4
  523. package/i18n/locales/de-de.d.ts +0 -162
  524. package/i18n/locales/en-us.d.ts +0 -183
  525. package/i18n/locales/index.d.ts +0 -5
  526. package/i18n/locales/ja-jp.d.ts +0 -162
  527. package/i18n/locales/zh-hans.d.ts +0 -162
  528. package/i18n/locales/zh-hant.d.ts +0 -162
  529. package/i18n/util.d.ts +0 -3
  530. package/icon/config.d.ts +0 -2
  531. package/icon/icon-registry.d.ts +0 -84
  532. package/icon/icon.component.d.ts +0 -47
  533. package/icon/icon.module.d.ts +0 -9
  534. package/image/image-group.component.d.ts +0 -16
  535. package/image/image.class.d.ts +0 -38
  536. package/image/image.config.d.ts +0 -21
  537. package/image/image.directive.d.ts +0 -50
  538. package/image/image.service.d.ts +0 -30
  539. package/image/image.token.d.ts +0 -17
  540. package/image/module.d.ts +0 -19
  541. package/image/preview/image-preview-ref.d.ts +0 -14
  542. package/image/preview/image-preview.component.d.ts +0 -73
  543. package/image/utils.d.ts +0 -1
  544. package/input/input-count.component.d.ts +0 -27
  545. package/input/input-group.component.d.ts +0 -71
  546. package/input/input-search.component.d.ts +0 -70
  547. package/input/input.component.d.ts +0 -82
  548. package/input/input.directive.d.ts +0 -26
  549. package/input/module.d.ts +0 -16
  550. package/input-number/input-number.component.d.ts +0 -115
  551. package/input-number/module.d.ts +0 -13
  552. package/layout/content-main.component.d.ts +0 -19
  553. package/layout/content-section.component.d.ts +0 -19
  554. package/layout/content.component.d.ts +0 -19
  555. package/layout/header.component.d.ts +0 -69
  556. package/layout/layout.component.d.ts +0 -22
  557. package/layout/layout.module.d.ts +0 -21
  558. package/layout/sidebar-content.component.d.ts +0 -19
  559. package/layout/sidebar-footer.component.d.ts +0 -19
  560. package/layout/sidebar-header.component.d.ts +0 -40
  561. package/layout/sidebar.component.d.ts +0 -123
  562. package/list/list-item-meta.component.d.ts +0 -25
  563. package/list/list-item.component.d.ts +0 -9
  564. package/list/list.component.d.ts +0 -14
  565. package/list/list.module.d.ts +0 -13
  566. package/list/selection/selection-list.d.ts +0 -116
  567. package/list/selection/selection.interface.d.ts +0 -8
  568. package/loading/loading.component.d.ts +0 -24
  569. package/loading/loading.module.d.ts +0 -8
  570. package/mention/adapter/adapter.d.ts +0 -19
  571. package/mention/adapter/editable.adapter.d.ts +0 -9
  572. package/mention/adapter/index.d.ts +0 -7
  573. package/mention/adapter/textarea.adapter.d.ts +0 -11
  574. package/mention/caret-positioner.d.ts +0 -19
  575. package/mention/interfaces.d.ts +0 -61
  576. package/mention/mention.directive.d.ts +0 -43
  577. package/mention/mention.module.d.ts +0 -13
  578. package/mention/suggestions/suggestions.component.d.ts +0 -28
  579. package/menu/divider/menu-divider.component.d.ts +0 -12
  580. package/menu/group/menu-group.component.d.ts +0 -61
  581. package/menu/item/action/menu-item-action.component.d.ts +0 -34
  582. package/menu/item/icon/menu-item-icon.component.d.ts +0 -18
  583. package/menu/item/menu-item.component.d.ts +0 -20
  584. package/menu/item/name/menu-item-name.component.d.ts +0 -17
  585. package/menu/menu.component.d.ts +0 -23
  586. package/menu/menu.module.d.ts +0 -16
  587. package/message/abstract/abstract-message-container.component.d.ts +0 -13
  588. package/message/abstract/abstract-message-queue.service.d.ts +0 -13
  589. package/message/abstract/abstract-message-ref.d.ts +0 -18
  590. package/message/abstract/abstract-message.component.d.ts +0 -35
  591. package/message/abstract/abstract-message.service.d.ts +0 -17
  592. package/message/abstract/index.d.ts +0 -5
  593. package/message/message-container.component.d.ts +0 -12
  594. package/message/message-queue.service.d.ts +0 -11
  595. package/message/message-ref.d.ts +0 -4
  596. package/message/message.component.d.ts +0 -13
  597. package/message/message.config.d.ts +0 -29
  598. package/message/message.service.d.ts +0 -36
  599. package/message/module.d.ts +0 -13
  600. package/nav/icon-nav/icon-nav-link.directive.d.ts +0 -10
  601. package/nav/icon-nav/icon-nav.component.d.ts +0 -15
  602. package/nav/nav-ink-bar.directive.d.ts +0 -22
  603. package/nav/nav-item.directive.d.ts +0 -60
  604. package/nav/nav.component.d.ts +0 -142
  605. package/nav/nav.module.d.ts +0 -17
  606. package/nav/nav.pipe.d.ts +0 -11
  607. package/notify/module.d.ts +0 -13
  608. package/notify/notify-container.component.d.ts +0 -12
  609. package/notify/notify-queue.service.d.ts +0 -15
  610. package/notify/notify-ref.d.ts +0 -4
  611. package/notify/notify.component.d.ts +0 -19
  612. package/notify/notify.config.d.ts +0 -55
  613. package/notify/notify.service.d.ts +0 -42
  614. package/pagination/pagination.class.d.ts +0 -79
  615. package/pagination/pagination.component.d.ts +0 -132
  616. package/pagination/pagination.config.d.ts +0 -8
  617. package/pagination/pagination.module.d.ts +0 -13
  618. package/pagination/pagination.pipe.d.ts +0 -17
  619. package/popover/body/popover-body.component.d.ts +0 -10
  620. package/popover/header/popover-header.component.d.ts +0 -35
  621. package/popover/module.d.ts +0 -14
  622. package/popover/popover-animations.d.ts +0 -8
  623. package/popover/popover-container.component.d.ts +0 -38
  624. package/popover/popover-ref.d.ts +0 -14
  625. package/popover/popover.config.d.ts +0 -110
  626. package/popover/popover.directive.d.ts +0 -67
  627. package/popover/popover.options.d.ts +0 -2
  628. package/popover/popover.service.d.ts +0 -58
  629. package/progress/interfaces.d.ts +0 -23
  630. package/progress/progress-circle.component.d.ts +0 -43
  631. package/progress/progress-strip.component.d.ts +0 -23
  632. package/progress/progress.component.d.ts +0 -59
  633. package/progress/progress.module.d.ts +0 -11
  634. package/property/module.d.ts +0 -11
  635. package/property/properties.component.d.ts +0 -25
  636. package/property/property-item.component.d.ts +0 -80
  637. package/property-operation/group/property-operation-group.component.d.ts +0 -10
  638. package/property-operation/module.d.ts +0 -12
  639. package/property-operation/property-operation.component.d.ts +0 -92
  640. package/public-api.d.ts +0 -1
  641. package/radio/button/radio-button.component.d.ts +0 -18
  642. package/radio/group/radio-group.component.d.ts +0 -46
  643. package/radio/module.d.ts +0 -11
  644. package/radio/radio.component.d.ts +0 -22
  645. package/radio/radio.token.d.ts +0 -12
  646. package/rate/module.d.ts +0 -13
  647. package/rate/rate-item.component.d.ts +0 -17
  648. package/rate/rate.component.d.ts +0 -69
  649. package/resizable/interface.d.ts +0 -12
  650. package/resizable/module.d.ts +0 -10
  651. package/resizable/resizable.directive.d.ts +0 -91
  652. package/resizable/resizable.service.d.ts +0 -32
  653. package/resizable/resize-handle.component.d.ts +0 -31
  654. package/resizable/resize-handles.component.d.ts +0 -21
  655. package/resizable/utils.d.ts +0 -3
  656. package/result/result.component.d.ts +0 -54
  657. package/result/result.module.d.ts +0 -8
  658. package/segment/segment-item.component.d.ts +0 -34
  659. package/segment/segment.component.d.ts +0 -55
  660. package/segment/segment.module.d.ts +0 -11
  661. package/segment/segment.token.d.ts +0 -16
  662. package/segment/types.d.ts +0 -5
  663. package/select/custom-select/custom-select.component.d.ts +0 -271
  664. package/select/module.d.ts +0 -16
  665. package/select/native-select/native-select.component.d.ts +0 -30
  666. package/select/select.config.d.ts +0 -34
  667. package/shared/base-form-check.component.d.ts +0 -51
  668. package/shared/directives/string-or-template-outlet.directive.d.ts +0 -17
  669. package/shared/directives/thy-autofocus.directive.d.ts +0 -23
  670. package/shared/directives/thy-contextmenu.directive.d.ts +0 -17
  671. package/shared/directives/thy-ctrl-enter.directive.d.ts +0 -17
  672. package/shared/directives/thy-drag-drop.directive.d.ts +0 -15
  673. package/shared/directives/thy-enter.directive.d.ts +0 -18
  674. package/shared/directives/thy-scroll.directive.d.ts +0 -39
  675. package/shared/directives/thy-show.d.ts +0 -19
  676. package/shared/directives/thy-stop-propagation.directive.d.ts +0 -17
  677. package/shared/directives/view-outlet.directive.d.ts +0 -27
  678. package/shared/ng-transclude.directive.d.ts +0 -14
  679. package/shared/option/group/option-group.component.d.ts +0 -22
  680. package/shared/option/index.d.ts +0 -8
  681. package/shared/option/list-option/list-option.component.d.ts +0 -32
  682. package/shared/option/module.d.ts +0 -13
  683. package/shared/option/option-group.component.d.ts +0 -12
  684. package/shared/option/option.component.d.ts +0 -51
  685. package/shared/option/option.token.d.ts +0 -30
  686. package/shared/option/options-container.component.d.ts +0 -9
  687. package/shared/option/select-option-base.d.ts +0 -5
  688. package/shared/select/index.d.ts +0 -2
  689. package/shared/select/module.d.ts +0 -11
  690. package/shared/select/select-control/select-control.component.d.ts +0 -73
  691. package/shared/shared.module.d.ts +0 -17
  692. package/shared/shared.type.d.ts +0 -1
  693. package/skeleton/module.d.ts +0 -16
  694. package/skeleton/skeleton-circle.component.d.ts +0 -45
  695. package/skeleton/skeleton-rectangle.component.d.ts +0 -55
  696. package/skeleton/skeleton.component.d.ts +0 -27
  697. package/skeleton/skeleton.config.d.ts +0 -8
  698. package/skeleton/stylized/bullet-list.component.d.ts +0 -55
  699. package/skeleton/stylized/list.component.d.ts +0 -44
  700. package/skeleton/stylized/paragraph.component.d.ts +0 -52
  701. package/slide/drawer/drawer-container.directive.d.ts +0 -11
  702. package/slide/slide-animations.d.ts +0 -4
  703. package/slide/slide-body/slide-body-section.component.d.ts +0 -16
  704. package/slide/slide-body/slide-body.component.d.ts +0 -10
  705. package/slide/slide-container.component.d.ts +0 -49
  706. package/slide/slide-footer/slide-footer.component.d.ts +0 -12
  707. package/slide/slide-header/slide-header.component.d.ts +0 -33
  708. package/slide/slide-layout/slide-layout.component.d.ts +0 -13
  709. package/slide/slide-ref.service.d.ts +0 -20
  710. package/slide/slide.config.d.ts +0 -73
  711. package/slide/slide.module.d.ts +0 -19
  712. package/slide/slide.service.d.ts +0 -28
  713. package/slider/slider.component.d.ts +0 -105
  714. package/slider/slider.module.d.ts +0 -9
  715. package/space/space.component.d.ts +0 -38
  716. package/space/space.module.d.ts +0 -8
  717. package/statistic/statistic.component.d.ts +0 -111
  718. package/statistic/statistic.module.d.ts +0 -10
  719. package/stepper/step-header.component.d.ts +0 -15
  720. package/stepper/step.component.d.ts +0 -28
  721. package/stepper/stepper-button.directive.d.ts +0 -25
  722. package/stepper/stepper.component.d.ts +0 -34
  723. package/stepper/stepper.module.d.ts +0 -11
  724. package/strength/strength.component.d.ts +0 -69
  725. package/strength/strength.module.d.ts +0 -7
  726. package/switch/switch.component.d.ts +0 -59
  727. package/switch/switch.module.d.ts +0 -8
  728. package/table/enums/column-skeleton-type.d.ts +0 -6
  729. package/table/enums/index.d.ts +0 -1
  730. package/table/pipes/drag.pipe.d.ts +0 -11
  731. package/table/pipes/table.pipe.d.ts +0 -10
  732. package/table/table-column.component.d.ts +0 -131
  733. package/table/table-skeleton.component.d.ts +0 -93
  734. package/table/table.component.d.ts +0 -333
  735. package/table/table.interface.d.ts +0 -87
  736. package/table/table.module.d.ts +0 -22
  737. package/table/table.type.d.ts +0 -3
  738. package/tabs/tab-content.component.d.ts +0 -12
  739. package/tabs/tab.component.d.ts +0 -31
  740. package/tabs/tabs.component.d.ts +0 -59
  741. package/tabs/tabs.module.d.ts +0 -12
  742. package/tabs/types.d.ts +0 -2
  743. package/tag/tag.component.d.ts +0 -48
  744. package/tag/tag.module.d.ts +0 -10
  745. package/tag/tags.component.d.ts +0 -11
  746. package/testing/data-transfer.d.ts +0 -22
  747. package/testing/dispatcher-events.d.ts +0 -32
  748. package/testing/element-focus.d.ts +0 -13
  749. package/testing/events.d.ts +0 -33
  750. package/testing/thy-icon.d.ts +0 -5
  751. package/testing/type-in-element.d.ts +0 -14
  752. package/testing/xhr-mock.d.ts +0 -51
  753. package/time-picker/inner/inner-time-picker.class.d.ts +0 -37
  754. package/time-picker/inner/inner-time-picker.component.d.ts +0 -91
  755. package/time-picker/inner/inner-time-picker.config.d.ts +0 -42
  756. package/time-picker/inner/inner-time-picker.store.d.ts +0 -23
  757. package/time-picker/time-picker-controls.util.d.ts +0 -7
  758. package/time-picker/time-picker-panel.component.d.ts +0 -113
  759. package/time-picker/time-picker.component.d.ts +0 -136
  760. package/time-picker/time-picker.module.d.ts +0 -17
  761. package/time-picker/time-picker.utils.d.ts +0 -16
  762. package/timeline/timeline-item.component.d.ts +0 -43
  763. package/timeline/timeline.component.d.ts +0 -47
  764. package/timeline/timeline.module.d.ts +0 -11
  765. package/timeline/timeline.service.d.ts +0 -8
  766. package/timeline/timeline.type.d.ts +0 -1
  767. package/tooltip/interface.d.ts +0 -5
  768. package/tooltip/tooltip-animations.d.ts +0 -4
  769. package/tooltip/tooltip-ref.d.ts +0 -31
  770. package/tooltip/tooltip.component.d.ts +0 -36
  771. package/tooltip/tooltip.config.d.ts +0 -22
  772. package/tooltip/tooltip.directive.d.ts +0 -81
  773. package/tooltip/tooltip.module.d.ts +0 -11
  774. package/tooltip/tooltip.service.d.ts +0 -16
  775. package/transfer/transfer-list.component.d.ts +0 -41
  776. package/transfer/transfer.component.d.ts +0 -90
  777. package/transfer/transfer.interface.d.ts +0 -66
  778. package/transfer/transfer.module.d.ts +0 -15
  779. package/tree/tree-abstract.d.ts +0 -19
  780. package/tree/tree-node.component.d.ts +0 -95
  781. package/tree/tree.class.d.ts +0 -106
  782. package/tree/tree.component.d.ts +0 -199
  783. package/tree/tree.module.d.ts +0 -20
  784. package/tree/tree.pipe.d.ts +0 -12
  785. package/tree/tree.service.d.ts +0 -34
  786. package/tree-select/module.d.ts +0 -14
  787. package/tree-select/tree-select.class.d.ts +0 -12
  788. package/tree-select/tree-select.component.d.ts +0 -203
  789. package/types/common.d.ts +0 -2
  790. package/types/dictionary.d.ts +0 -10
  791. package/types/pagination.d.ts +0 -6
  792. package/typography/bg-color.directive.d.ts +0 -20
  793. package/typography/module.d.ts +0 -11
  794. package/typography/text/text.component.d.ts +0 -17
  795. package/typography/text-color.directive.d.ts +0 -22
  796. package/upload/constant.d.ts +0 -73
  797. package/upload/file-drop.directive.d.ts +0 -32
  798. package/upload/file-select-base.d.ts +0 -22
  799. package/upload/file-select.component.d.ts +0 -34
  800. package/upload/module.d.ts +0 -9
  801. package/upload/types.d.ts +0 -11
  802. package/upload/upload.config.d.ts +0 -17
  803. package/upload/upload.service.d.ts +0 -140
  804. package/upload/util.d.ts +0 -1
  805. package/util/date/functions.d.ts +0 -85
  806. package/util/date/tiny-date.d.ts +0 -124
  807. package/util/dom.d.ts +0 -101
  808. package/util/helpers/helpers.d.ts +0 -55
  809. package/util/helpers/index.d.ts +0 -1
  810. package/util/immutable.d.ts +0 -70
  811. package/util/keycodes.d.ts +0 -2
  812. package/util/logger/index.d.ts +0 -1
  813. package/util/logger/logger.d.ts +0 -6
  814. package/util/ng.d.ts +0 -2
  815. package/util/references.d.ts +0 -58
  816. package/version.d.ts +0 -2
  817. package/vote/vote.component.d.ts +0 -53
  818. package/vote/vote.module.d.ts +0 -10
  819. package/watermark/config.d.ts +0 -19
  820. package/watermark/watermark.directive.d.ts +0 -63
  821. package/watermark/watermark.module.d.ts +0 -9
  822. /package/schematics/ng-update/{update-19 → update-20}/class-name-migration.d.ts +0 -0
  823. /package/schematics/ng-update/{update-19 → update-20}/class-name-migration.js +0 -0
  824. /package/schematics/ng-update/{update-19 → update-20}/index.d.ts +0 -0
  825. /package/schematics/ng-update/{update-19 → update-20}/index.spec.d.ts +0 -0
  826. /package/schematics/ng-update/{update-19 → update-20}/update-data.d.ts +0 -0
  827. /package/schematics/ng-update/{update-19 → update-20}/update-data.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-tree-select.mjs","sources":["../../../src/tree-select/tree-select.component.ts","../../../src/tree-select/tree-select.component.html","../../../src/tree-select/tree-select-nodes.component.html","../../../src/tree-select/module.ts","../../../src/tree-select/ngx-tethys-tree-select.ts"],"sourcesContent":["import {\n EXPANDED_DROPDOWN_POSITIONS,\n injectPanelEmptyIcon,\n scaleYMotion,\n TabIndexDisabledControlValueAccessorMixin,\n ThyClickDispatcher\n} from 'ngx-tethys/core';\nimport { ThyEmpty } from 'ngx-tethys/empty';\nimport { ThyFlexibleText } from 'ngx-tethys/flexible-text';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { ThySelectControl, ThyStopPropagationDirective } from 'ngx-tethys/shared';\nimport { ThyTreeNode } from 'ngx-tethys/tree';\nimport { coerceBooleanProperty, elementMatchClosest, isArray, isObject, produce } from 'ngx-tethys/util';\nimport { Observable, of } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { CdkConnectedOverlay, CdkOverlayOrigin, ConnectionPositionPair, ViewportRuler } from '@angular/cdk/overlay';\nimport { CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport } from '@angular/cdk/scrolling';\nimport { isPlatformBrowser, NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Input,\n NgZone,\n PLATFORM_ID,\n TemplateRef,\n inject,\n Signal,\n output,\n input,\n effect,\n computed,\n signal,\n afterNextRender,\n DestroyRef,\n contentChild,\n viewChild\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { ThyTreeSelectNode, ThyTreeSelectType } from './tree-select.class';\nimport { injectLocale, ThyTreeSelectLocale } from 'ngx-tethys/i18n';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\ntype InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';\n\nexport function filterTreeData(treeNodes: ThyTreeSelectNode[], searchText: string, searchKey: string = 'name') {\n const filterNodes = (node: ThyTreeSelectNode, result: ThyTreeSelectNode[]) => {\n if (node[searchKey] && node[searchKey].indexOf(searchText) !== -1) {\n result.push(node);\n return result;\n }\n if (Array.isArray(node.children)) {\n const nodes = node.children.reduce((previous, current) => filterNodes(current, previous), [] as ThyTreeSelectNode[]);\n if (nodes.length) {\n const parentNode = { ...node, children: nodes, expand: true };\n result.push(parentNode);\n }\n }\n return result;\n };\n const treeData = treeNodes.reduce((previous, current) => filterNodes(current, previous), [] as ThyTreeSelectNode[]);\n return treeData;\n}\n\n/**\n * 树选择组件\n * @name thy-tree-select\n * @order 10\n */\n@Component({\n selector: 'thy-tree-select',\n templateUrl: './tree-select.component.html',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ThyTreeSelect),\n multi: true\n }\n ],\n imports: [\n CdkOverlayOrigin,\n ThySelectControl,\n NgTemplateOutlet,\n CdkConnectedOverlay,\n forwardRef(() => ThyTreeSelectNodes),\n ThyStopPropagationDirective\n ],\n host: {\n class: 'thy-select-custom thy-select',\n '[class.thy-select-custom--multiple]': 'thyMultiple()',\n '[class.menu-is-opened]': 'expandTreeSelectOptions()',\n '[attr.tabindex]': 'tabIndex',\n '(focus)': 'onFocus($event)',\n '(blur)': 'onBlur($event)'\n },\n animations: [scaleYMotion]\n})\nexport class ThyTreeSelect extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {\n elementRef = inject(ElementRef);\n private ngZone = inject(NgZone);\n private ref = inject(ChangeDetectorRef);\n private platformId = inject(PLATFORM_ID);\n private thyClickDispatcher = inject(ThyClickDispatcher);\n private viewportRuler = inject(ViewportRuler);\n private destroyRef = inject(DestroyRef);\n\n // 菜单是否展开\n public expandTreeSelectOptions = signal(false);\n\n public selectedValue = signal<any>(undefined);\n\n public selectedNode = signal<ThyTreeSelectNode>(null);\n\n public selectedNodes = signal<ThyTreeSelectNode[]>([]);\n\n public flattenTreeNodes = signal<ThyTreeSelectNode[]>([]);\n\n virtualTreeNodes = signal<ThyTreeSelectNode[]>([]);\n\n public cdkConnectOverlayWidth = signal(0);\n\n public expandedDropdownPositions: ConnectionPositionPair[] = EXPANDED_DROPDOWN_POSITIONS;\n\n public icons: { expand: string; collapse: string; gap?: number } = {\n expand: 'angle-down',\n collapse: 'angle-right',\n gap: 15\n };\n\n private locale: Signal<ThyTreeSelectLocale> = injectLocale('treeSelect');\n\n public valueIsObject = computed(() => {\n const selectedValue = this.selectedValue();\n if (this.thyMultiple()) {\n return selectedValue && (!selectedValue[0] || isObject(selectedValue[0]));\n } else {\n return isObject(selectedValue);\n }\n });\n\n public searchText = signal('');\n\n readonly thyTreeSelectTriggerDisplayRef = contentChild<TemplateRef<any>>('thyTreeSelectTriggerDisplay');\n\n readonly treeNodeTemplateRef = contentChild<TemplateRef<any>>('treeNodeTemplate');\n\n readonly cdkOverlayOrigin = viewChild(CdkOverlayOrigin);\n\n readonly cdkConnectedOverlay = viewChild(CdkConnectedOverlay);\n\n readonly customDisplayTemplate = viewChild<TemplateRef<any>>('customDisplayTemplate');\n\n /**\n * treeNodes 数据\n * @type ThyTreeSelectNode[]\n */\n readonly thyTreeNodes = input<ThyTreeSelectNode[]>([]);\n\n treeNodes = computed(() => {\n return filterTreeData(this.thyTreeNodes(), this.searchText(), this.thyShowKey());\n });\n\n /**\n * 开启虚拟滚动\n */\n readonly thyVirtualScroll = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 树节点的唯一标识\n * @type string\n */\n readonly thyPrimaryKey = input('_id');\n\n /**\n * 树节点的显示的字段 key\n * @type string\n */\n readonly thyShowKey = input('name');\n\n readonly thyChildCountKey = input('childCount');\n\n /**\n * 单选时,是否显示清除按钮,当为 true 时,显示清除按钮\n * @default false\n */\n readonly thyAllowClear = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否多选\n * @type boolean\n */\n readonly thyMultiple = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否禁用树选择器,当为 true 禁用树选择器\n * @type boolean\n */\n readonly thyDisable = input(false, { transform: coerceBooleanProperty });\n\n get thyDisabled(): boolean {\n return this.thyDisable();\n }\n\n /**\n * 树选择框默认文字\n * @type string\n */\n readonly thyPlaceholder = input(this.locale().placeholder);\n\n /**\n * 控制树选择的输入框大小\n * @type xs | sm | md | default | lg\n */\n readonly thySize = input<InputSize>(undefined);\n\n /**\n * 改变空选项的情况下的提示文本\n * @type string\n */\n readonly thyEmptyOptionsText = input(this.locale().empty);\n\n /**\n * 设置是否隐藏节点(不可进行任何操作),优先级高于 thyHiddenNodeFn\n * @type string\n */\n readonly thyHiddenNodeKey = input('hidden');\n\n /**\n * 设置是否禁用节点(不可进行任何操作),优先级高于 thyDisableNodeFn\n * @type string\n */\n readonly thyDisableNodeKey = input('disabled');\n\n /**\n * 是否异步加载节点的子节点(显示加载状态),当为 true 时,异步获取\n * @type boolean\n */\n readonly thyAsyncNode = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否展示全名\n * @type boolean\n */\n readonly thyShowWholeName = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否展示搜索\n * @type boolean\n */\n readonly thyShowSearch = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 图标类型,支持 default | especial,已废弃\n * @deprecated\n */\n readonly thyIconType = input<ThyTreeSelectType>(undefined);\n\n /**\n * 设置是否隐藏节点(不可进行任何操作),优先级低于 thyHiddenNodeKey。\n * @default (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.hidden\n */\n @Input() thyHiddenNodeFn: (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.hidden;\n\n /**\n * 设置是否禁用节点(不可进行任何操作),优先级低于 thyDisableNodeKey。\n * @default (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.disabled\n */\n @Input() thyDisableNodeFn: (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.disabled;\n\n /**\n * 获取节点的子节点,返回 Observable<ThyTreeSelectNode>。\n * @default (node: ThyTreeSelectNode) => Observable<ThyTreeSelectNode> = (node: ThyTreeSelectNode) => of([])\n */\n @Input() thyGetNodeChildren: (node: ThyTreeSelectNode) => Observable<ThyTreeSelectNode> = (node: ThyTreeSelectNode) => of([]);\n\n /**\n * 树选择组件展开和折叠状态事件\n */\n readonly thyExpandStatusChange = output<boolean>();\n\n public buildFlattenTreeNodes() {\n this.virtualTreeNodes.set(this.getFlattenTreeNodes(this.treeNodes()));\n }\n\n private getFlattenTreeNodes(rootTrees: ThyTreeSelectNode[] = this.treeNodes()) {\n const forEachTree = (tree: ThyTreeSelectNode[], fn: any, result: ThyTreeSelectNode[] = []) => {\n tree.forEach(item => {\n result.push(item);\n if (item.children && fn(item)) {\n forEachTree(item.children, fn, result);\n }\n });\n return result;\n };\n return forEachTree(rootTrees, (node: ThyTreeSelectNode) => !!node.expand);\n }\n\n writeValue(value: any): void {\n this.selectedValue.set(value);\n }\n\n constructor() {\n super();\n\n this.bindClickEvent();\n this.bindResizeEvent();\n\n effect(() => {\n this.setSelectedNodes();\n });\n\n effect(() => {\n if (this.thyVirtualScroll()) {\n this.buildFlattenTreeNodes();\n }\n });\n\n effect(() => {\n this.flattenTreeNodes.set(this.flattenNodes(this.treeNodes(), []));\n });\n }\n\n private bindClickEvent() {\n if (isPlatformBrowser(this.platformId)) {\n this.thyClickDispatcher\n .clicked(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n event.stopPropagation();\n if (!this.elementRef.nativeElement.contains(event.target) && this.expandTreeSelectOptions()) {\n this.ngZone.run(() => {\n this.close();\n });\n }\n });\n }\n }\n\n private bindResizeEvent() {\n this.viewportRuler\n .change()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.cdkConnectOverlayWidth.set(this.cdkOverlayOrigin().elementRef.nativeElement.getBoundingClientRect().width);\n });\n }\n\n onFocus($event: FocusEvent) {\n const inputElement: HTMLInputElement = this.elementRef.nativeElement.querySelector('input');\n inputElement?.focus();\n }\n\n onBlur($event: FocusEvent) {\n // 1. Tab 聚焦后自动聚焦到 input 输入框,此分支下直接返回,无需触发 onTouchedFn\n // 2. 打开选择框后如果点击弹框内导致 input 失焦,无需触发 onTouchedFn\n if (elementMatchClosest($event?.relatedTarget as HTMLElement, ['thy-tree-select', 'thy-tree-select-nodes'])) {\n return;\n }\n this.onTouchedFn();\n }\n\n public readonly selectedValueObject = computed(() => {\n return this.thyMultiple() ? this.selectedNodes() : this.selectedNode();\n });\n\n searchValue(searchText: string) {\n this.searchText.set(searchText.trim());\n }\n\n public setPosition() {\n this.ngZone.onStable\n .asObservable()\n .pipe(take(1))\n .subscribe(() => {\n this.cdkConnectedOverlay().overlayRef.updatePosition();\n });\n }\n\n private flattenNodes(nodes: ThyTreeSelectNode[] = [], parentPrimaryValue: string[] = []): ThyTreeSelectNode[] {\n let flattenedNodes: ThyTreeSelectNode[] = [];\n (nodes || []).forEach(item => {\n item.parentValues = parentPrimaryValue;\n item.level = item.parentValues.length;\n flattenedNodes.push(item);\n if (item.children && isArray(item.children)) {\n const childNodes = this.flattenNodes(item.children, [...parentPrimaryValue, item[this.thyPrimaryKey()]]);\n flattenedNodes = flattenedNodes.concat(childNodes);\n }\n });\n return flattenedNodes;\n }\n\n private _findTreeNode(value: string): ThyTreeSelectNode {\n return (this.flattenTreeNodes() || []).find(item => item[this.thyPrimaryKey()] === value);\n }\n\n private setSelectedNodes() {\n const isMultiple = this.thyMultiple();\n const primaryKey = this.thyPrimaryKey();\n const selectedValue = this.selectedValue();\n const valueIsObject = this.valueIsObject();\n if (selectedValue) {\n // 多选数据初始化\n if (isMultiple) {\n if (selectedValue.length > 0) {\n if (valueIsObject && Object.keys(selectedValue[0]).indexOf(primaryKey) >= 0) {\n this.selectedNodes.set(\n selectedValue.map((item: any) => {\n return this._findTreeNode(item[primaryKey]);\n })\n );\n } else {\n this.selectedNodes.set(\n selectedValue.map((item: any) => {\n return this._findTreeNode(item);\n })\n );\n }\n }\n } else {\n // 单选数据初始化\n if (valueIsObject) {\n if (Object.keys(selectedValue).indexOf(primaryKey) >= 0) {\n this.selectedNode.set(this._findTreeNode(selectedValue[primaryKey]));\n }\n } else {\n this.selectedNode.set(this._findTreeNode(selectedValue));\n }\n }\n } else {\n this.selectedNodes.set([]);\n this.selectedNode.set(null);\n }\n }\n\n openSelectPop() {\n if (this.thyDisable()) {\n return;\n }\n this.cdkConnectOverlayWidth.set(this.cdkOverlayOrigin().elementRef.nativeElement.getBoundingClientRect().width);\n this.expandTreeSelectOptions.set(!this.expandTreeSelectOptions());\n this.thyExpandStatusChange.emit(this.expandTreeSelectOptions());\n }\n\n close() {\n if (this.expandTreeSelectOptions()) {\n this.expandTreeSelectOptions.set(false);\n this.thyExpandStatusChange.emit(false);\n this.onTouchedFn();\n }\n }\n\n clearSelectedValue(event: Event) {\n event.stopPropagation();\n this.selectedValue.set(null);\n this.selectedNode.set(null);\n this.selectedNodes.set([]);\n this.onChangeFn(null);\n }\n\n private _changeSelectValue() {\n const selectedNodes = this.selectedNodes();\n const selectedNode = this.selectedNode();\n if (this.valueIsObject()) {\n this.selectedValue.set(this.thyMultiple() ? selectedNodes : selectedNode);\n } else {\n const value = this.thyMultiple() ? selectedNodes.map(item => item[this.thyPrimaryKey()]) : selectedNode[this.thyPrimaryKey()];\n this.selectedValue.set(value);\n }\n this.onChangeFn(this.selectedValue());\n if (!this.thyMultiple()) {\n this.onTouchedFn();\n }\n }\n\n removeMultipleSelectedNode(event: { item: ThyTreeSelectNode; $eventOrigin: Event }) {\n this.removeSelectedNode(event.item, event.$eventOrigin);\n }\n\n // thyMultiple = true 时,移除数据时调用\n removeSelectedNode(node: ThyTreeSelectNode, event?: Event) {\n if (event) {\n event.stopPropagation();\n }\n if (this.thyDisable()) {\n return;\n }\n if (this.thyMultiple()) {\n this.selectedNodes.set(\n produce(this.selectedNodes()).remove((item: ThyTreeSelectNode) => {\n return item[this.thyPrimaryKey()] === node[this.thyPrimaryKey()];\n })\n );\n this._changeSelectValue();\n }\n }\n\n selectNode(node: ThyTreeSelectNode) {\n if (!this.thyMultiple()) {\n this.selectedNode.set(node);\n this.expandTreeSelectOptions.set(false);\n this.thyExpandStatusChange.emit(false);\n this._changeSelectValue();\n } else {\n if (\n this.selectedNodes().find(item => {\n return item[this.thyPrimaryKey()] === node[this.thyPrimaryKey()];\n })\n ) {\n this.removeSelectedNode(node);\n } else {\n this.selectedNodes.set(produce(this.selectedNodes()).add(node));\n this._changeSelectValue();\n }\n }\n }\n\n getNodeChildren(node: ThyTreeSelectNode) {\n const result = this.thyGetNodeChildren(node);\n if (result && result.subscribe) {\n result.subscribe((data: ThyTreeSelectNode[]) => {\n const flattenTreeNodes = this.flattenTreeNodes();\n const nodes = this.flattenNodes(data, [...node.parentValues, node[this.thyPrimaryKey()]]);\n const otherNodes = nodes.filter((item: ThyTreeNode) => {\n return !flattenTreeNodes.find(hasItem => {\n return hasItem[this.thyPrimaryKey()] === item[this.thyPrimaryKey() as keyof ThyTreeNode];\n });\n });\n this.flattenTreeNodes.set(flattenTreeNodes.concat(otherNodes));\n node.children = data;\n });\n return result;\n }\n }\n}\n\nconst DEFAULT_ITEM_SIZE = 40;\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-tree-select-nodes',\n templateUrl: './tree-select-nodes.component.html',\n imports: [\n NgTemplateOutlet,\n CdkVirtualScrollViewport,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n ThyEmpty,\n NgClass,\n NgStyle,\n ThyIcon,\n ThyFlexibleText\n ],\n host: {\n '[attr.tabindex]': '-1',\n class: 'thy-tree-select-dropdown',\n '[class.thy-tree-select-dropdown-multiple]': 'isMultiple()'\n }\n})\nexport class ThyTreeSelectNodes {\n parent = inject(ThyTreeSelect);\n\n emptyIcon: Signal<string> = injectPanelEmptyIcon();\n\n readonly treeNodes = input<ThyTreeSelectNode[]>([]);\n\n readonly thyVirtualScroll = input<boolean>(false);\n\n public readonly isMultiple = computed(() => this.parent.thyMultiple());\n\n public readonly childCountKey = computed(() => this.parent.thyChildCountKey());\n\n public readonly treeNodeTemplateRef = computed(() => this.parent.treeNodeTemplateRef());\n\n public defaultItemSize = DEFAULT_ITEM_SIZE;\n\n public readonly thyPrimaryKey = computed(() => this.parent.thyPrimaryKey());\n\n public readonly selectedNodes = computed(() => this.parent.selectedNodes());\n\n public readonly selectedNode = computed(() => this.parent.selectedNode());\n\n public readonly hiddenNodeKey = computed(() => this.parent.thyHiddenNodeKey());\n\n public readonly disableNodeKey = computed(() => this.parent.thyDisableNodeKey());\n\n public readonly thyVirtualHeight = computed(() => {\n const treeSelectHeight = this.defaultItemSize * this.treeNodes().length;\n // 父级设置了max-height:300 & padding:10 0; 故此处最多设置280,否则将出现滚动条\n return treeSelectHeight > 300 ? '280px' : `${treeSelectHeight}px`;\n });\n\n public readonly hasNodeChildren = computed(() => {\n return this.treeNodes().every(item => !item.hasOwnProperty('children') || (!item?.children?.length && !item?.childCount));\n });\n\n treeNodeIsSelected(node: ThyTreeSelectNode) {\n const primaryKey = this.thyPrimaryKey();\n const isMultiple = this.isMultiple();\n if (isMultiple) {\n const selectedNodes = this.selectedNodes() || [];\n return selectedNodes.find(item => {\n return item[primaryKey] === node[primaryKey];\n });\n } else {\n return this.selectedNode() && this.selectedNode()[primaryKey] === node[primaryKey];\n }\n }\n\n treeNodeIsHidden(node: ThyTreeSelectNode) {\n const hiddenNodeKey = this.hiddenNodeKey();\n if (hiddenNodeKey) {\n return node[hiddenNodeKey];\n }\n const thyHiddenNodeFn = this.parent.thyHiddenNodeFn;\n if (thyHiddenNodeFn) {\n return thyHiddenNodeFn(node);\n }\n return false;\n }\n\n treeNodeIsDisable(node: ThyTreeSelectNode) {\n const disableNodeKey = this.disableNodeKey();\n if (disableNodeKey) {\n return node[disableNodeKey];\n }\n const thyDisableNodeFn = this.parent.thyDisableNodeFn;\n if (thyDisableNodeFn) {\n return thyDisableNodeFn(node);\n }\n return false;\n }\n\n treeNodeIsExpand(node: ThyTreeSelectNode) {\n const isMultiple = this.isMultiple();\n const primaryKey = this.thyPrimaryKey();\n let isSelectedNodeParent = false;\n if (isMultiple) {\n const selectedNodes = this.selectedNodes() || [];\n isSelectedNodeParent = !!selectedNodes.find(item => {\n return item.parentValues.indexOf(node[primaryKey]) > -1;\n });\n } else {\n isSelectedNodeParent = this.selectedNode() ? this.selectedNode().parentValues.indexOf(node[primaryKey]) > -1 : false;\n }\n const isExpand = node.expand || (Object.keys(node).indexOf('expand') < 0 && isSelectedNodeParent);\n node.expand = isExpand;\n return isExpand;\n }\n\n getNodeChildren(node: ThyTreeSelectNode) {\n return this.parent.getNodeChildren(node);\n }\n\n selectTreeNode(event: Event, node: ThyTreeSelectNode) {\n if (!this.treeNodeIsDisable(node)) {\n this.parent.selectNode(node);\n }\n }\n\n nodeExpandToggle(event: Event, node: ThyTreeSelectNode) {\n event.stopPropagation();\n if (Object.keys(node).indexOf('expand') > -1) {\n node.expand = !node.expand;\n } else {\n if (this.treeNodeIsExpand(node)) {\n node.expand = false;\n } else {\n node.expand = true;\n }\n }\n\n if (node.expand && this.parent.thyAsyncNode()) {\n this.getNodeChildren(node).subscribe(() => {\n this.parent.setPosition();\n });\n }\n // this.parent.setPosition();\n if (this.thyVirtualScroll()) {\n this.parent.buildFlattenTreeNodes();\n }\n }\n\n tabTrackBy(index: number, item: ThyTreeSelectNode) {\n return index;\n }\n}\n","<div\n cdkOverlayOrigin\n thySelectControl\n (click)=\"openSelectPop()\"\n #origin=\"cdkOverlayOrigin\"\n [thyPanelOpened]=\"expandTreeSelectOptions()\"\n [thySelectedOptions]=\"selectedValueObject()\"\n [thyIsMultiple]=\"thyMultiple()\"\n [thyAllowClear]=\"thyAllowClear()\"\n [thySize]=\"thySize()\"\n [thyPlaceholder]=\"thyPlaceholder()\"\n [customDisplayTemplate]=\"customDisplayTemplate\"\n [thyShowSearch]=\"thyShowSearch()\"\n [thyDisabled]=\"thyDisable()\"\n (thyOnBlur)=\"onBlur($event)\"\n (thyOnClear)=\"clearSelectedValue($event)\"\n (thyOnRemove)=\"removeMultipleSelectedNode($event)\"\n (thyOnSearch)=\"searchValue($event)\">\n <ng-template #customDisplayTemplate let-node>\n @if (thyTreeSelectTriggerDisplayRef()) {\n <ng-template [ngTemplateOutlet]=\"thyTreeSelectTriggerDisplayRef()\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n } @else {\n {{ node[thyShowKey()] }}\n }\n </ng-template>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayHasBackdrop]=\"false\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayMinWidth]=\"cdkConnectOverlayWidth()\"\n [cdkConnectedOverlayFlexibleDimensions]=\"true\"\n [cdkConnectedOverlayOpen]=\"expandTreeSelectOptions()\"\n cdkConnectedOverlayTransformOriginOn=\".thy-tree-select-dropdown\"\n [cdkConnectedOverlayPositions]=\"expandedDropdownPositions\"\n (detach)=\"close()\">\n <thy-tree-select-nodes\n thyStopPropagation\n [thyVirtualScroll]=\"thyVirtualScroll()\"\n [treeNodes]=\"thyVirtualScroll() ? virtualTreeNodes() : treeNodes()\"\n [@scaleYMotion]=\"'enter'\">\n </thy-tree-select-nodes>\n</ng-template>\n","@let nodeList = treeNodes();\n@let hasChildren = hasNodeChildren();\n@let virtualHeight = thyVirtualHeight();\n@let isVirtualScroll = thyVirtualScroll();\n@let showKey = this.parent.thyShowKey();\n\n@if (nodeList?.length > 0) {\n <div class=\"thy-tree-select-options\">\n <div class=\"thy-tree-select-node\">\n @if (!isVirtualScroll) {\n @for (node of nodeList; track $index) {\n <ng-container [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-container>\n }\n }\n @if (isVirtualScroll) {\n <cdk-virtual-scroll-viewport #viewport [itemSize]=\"defaultItemSize\" [style.height]=\"virtualHeight\">\n <ng-container *cdkVirtualFor=\"let node of nodeList; trackBy: tabTrackBy\">\n <ng-template [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n }\n </div>\n </div>\n} @else {\n <thy-empty\n class=\"thy-select-empty-content\"\n thySize=\"sm\"\n [thyMessage]=\"parent.thyEmptyOptionsText()\"\n [thyIconName]=\"emptyIcon()\"></thy-empty>\n}\n\n<ng-template #treeSelectNode let-node>\n <ng-container>\n @if (!treeNodeIsHidden(node)) {\n <a\n class=\"thy-option-item\"\n [ngClass]=\"{ active: treeNodeIsSelected(node), 'pl-0': hasChildren }\"\n [class.disabled]=\"treeNodeIsDisable(node)\"\n [ngStyle]=\"{ 'padding-left.px': 20 * node.level + parent.icons.gap }\"\n (click)=\"selectTreeNode($event, node)\">\n <span\n class=\"thy-tree-select-option-icon\"\n [class.invisible]=\"!(node.children?.length > 0 || (node[childCountKey()] && node[childCountKey()] > 0))\"\n (click)=\"nodeExpandToggle($event, node)\">\n <thy-icon\n class=\"node-expand-icon\"\n [thyIconName]=\"treeNodeIsExpand(node) ? parent.icons.expand : parent.icons.collapse\"></thy-icon>\n </span>\n <span class=\"thy-tree-select-option-text\" [ngClass]=\"{ 'ml-1': hasChildren }\">\n @if (treeNodeTemplateRef()) {\n <ng-template [ngTemplateOutlet]=\"treeNodeTemplateRef()\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n } @else {\n <span thyFlexibleText [thyTooltipContent]=\"node[showKey]\">{{ node[showKey] }}</span>\n }\n </span>\n @if (isMultiple()) {\n <thy-icon class=\"checked-icon\" thyIconName=\"check\"></thy-icon>\n }\n </a>\n }\n @if (!isVirtualScroll && treeNodeIsExpand(node) && node.children?.length > 0) {\n @for (node of node.children; track $index) {\n <ng-container [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"> </ng-container>\n }\n }\n </ng-container>\n</ng-template>\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ThyEmptyModule } from 'ngx-tethys/empty';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyListModule } from 'ngx-tethys/list';\nimport { ThySelectCommonModule, ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyTreeSelect, ThyTreeSelectNodes } from './tree-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n ThyListModule,\n ThyIconModule,\n ThyEmptyModule,\n ThySelectCommonModule,\n ThySharedModule,\n ThyTreeSelect,\n ThyTreeSelectNodes\n ],\n exports: [ThyTreeSelect, ThyTreeSelectNodes]\n})\nexport class ThyTreeSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAgDM,SAAU,cAAc,CAAC,SAA8B,EAAE,UAAkB,EAAE,YAAoB,M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,EAAA,CAAA,CAAA;AAElC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAbxB,YAAY;YACZ,WAAW;YACX,aAAa;YACb,aAAa;YACb,aAAa;YACb,cAAc;YACd,qBAAqB;YACrB,eAAe;YACf,aAAa;YACb,kBAAkB,CAAA,EAAA,CAAA,CAAA;;2FAIb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,WAAW;wBACX,aAAa;wBACb,aAAa;wBACb,aAAa;wBACb,cAAc;wBACd,qBAAqB;wBACrB,eAAe;wBACf,aAAa;wBACb;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,kBAAkB;AAC9C,iBAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-tree-select.mjs","sources":["../../../src/tree-select/tree-select.component.ts","../../../src/tree-select/tree-select.component.html","../../../src/tree-select/tree-select-nodes.component.html","../../../src/tree-select/module.ts","../../../src/tree-select/ngx-tethys-tree-select.ts"],"sourcesContent":["import {\n EXPANDED_DROPDOWN_POSITIONS,\n injectPanelEmptyIcon,\n scaleYMotion,\n TabIndexDisabledControlValueAccessorMixin,\n ThyClickDispatcher\n} from 'ngx-tethys/core';\nimport { ThyEmpty } from 'ngx-tethys/empty';\nimport { ThyFlexibleText } from 'ngx-tethys/flexible-text';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { ThySelectControl, ThyStopPropagationDirective } from 'ngx-tethys/shared';\nimport { ThyTreeNode } from 'ngx-tethys/tree';\nimport { coerceBooleanProperty, elementMatchClosest, isArray, isObject, produce } from 'ngx-tethys/util';\nimport { Observable, of } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { CdkConnectedOverlay, CdkOverlayOrigin, ConnectionPositionPair, ViewportRuler } from '@angular/cdk/overlay';\nimport { CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport } from '@angular/cdk/scrolling';\nimport { isPlatformBrowser, NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Input,\n NgZone,\n PLATFORM_ID,\n TemplateRef,\n inject,\n Signal,\n output,\n input,\n effect,\n computed,\n signal,\n afterNextRender,\n DestroyRef,\n contentChild,\n viewChild\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\n\nimport { ThyTreeSelectNode, ThyTreeSelectType } from './tree-select.class';\nimport { injectLocale, ThyTreeSelectLocale } from 'ngx-tethys/i18n';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\n\ntype InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';\n\nexport function filterTreeData(treeNodes: ThyTreeSelectNode[], searchText: string, searchKey: string = 'name') {\n const filterNodes = (node: ThyTreeSelectNode, result: ThyTreeSelectNode[]) => {\n if (node[searchKey] && node[searchKey].indexOf(searchText) !== -1) {\n result.push(node);\n return result;\n }\n if (Array.isArray(node.children)) {\n const nodes = node.children.reduce((previous, current) => filterNodes(current, previous), [] as ThyTreeSelectNode[]);\n if (nodes.length) {\n const parentNode = { ...node, children: nodes, expand: true };\n result.push(parentNode);\n }\n }\n return result;\n };\n const treeData = treeNodes.reduce((previous, current) => filterNodes(current, previous), [] as ThyTreeSelectNode[]);\n return treeData;\n}\n\n/**\n * 树选择组件\n * @name thy-tree-select\n * @order 10\n */\n@Component({\n selector: 'thy-tree-select',\n templateUrl: './tree-select.component.html',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ThyTreeSelect),\n multi: true\n }\n ],\n imports: [\n CdkOverlayOrigin,\n ThySelectControl,\n NgTemplateOutlet,\n CdkConnectedOverlay,\n forwardRef(() => ThyTreeSelectNodes),\n ThyStopPropagationDirective\n ],\n host: {\n class: 'thy-select-custom thy-select',\n '[class.thy-select-custom--multiple]': 'thyMultiple()',\n '[class.menu-is-opened]': 'expandTreeSelectOptions()',\n '[attr.tabindex]': 'tabIndex',\n '(focus)': 'onFocus($event)',\n '(blur)': 'onBlur($event)'\n },\n animations: [scaleYMotion]\n})\nexport class ThyTreeSelect extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {\n elementRef = inject(ElementRef);\n private ngZone = inject(NgZone);\n private ref = inject(ChangeDetectorRef);\n private platformId = inject(PLATFORM_ID);\n private thyClickDispatcher = inject(ThyClickDispatcher);\n private viewportRuler = inject(ViewportRuler);\n private destroyRef = inject(DestroyRef);\n\n // 菜单是否展开\n public expandTreeSelectOptions = signal(false);\n\n public selectedValue = signal<any>(undefined);\n\n public selectedNode = signal<ThyTreeSelectNode>(null);\n\n public selectedNodes = signal<ThyTreeSelectNode[]>([]);\n\n public flattenTreeNodes = signal<ThyTreeSelectNode[]>([]);\n\n virtualTreeNodes = signal<ThyTreeSelectNode[]>([]);\n\n public cdkConnectOverlayWidth = signal(0);\n\n public expandedDropdownPositions: ConnectionPositionPair[] = EXPANDED_DROPDOWN_POSITIONS;\n\n public icons: { expand: string; collapse: string; gap?: number } = {\n expand: 'angle-down',\n collapse: 'angle-right',\n gap: 15\n };\n\n private locale: Signal<ThyTreeSelectLocale> = injectLocale('treeSelect');\n\n public valueIsObject = computed(() => {\n const selectedValue = this.selectedValue();\n if (this.thyMultiple()) {\n return selectedValue && (!selectedValue[0] || isObject(selectedValue[0]));\n } else {\n return isObject(selectedValue);\n }\n });\n\n public searchText = signal('');\n\n readonly thyTreeSelectTriggerDisplayRef = contentChild<TemplateRef<any>>('thyTreeSelectTriggerDisplay');\n\n readonly treeNodeTemplateRef = contentChild<TemplateRef<any>>('treeNodeTemplate');\n\n readonly cdkOverlayOrigin = viewChild(CdkOverlayOrigin);\n\n readonly cdkConnectedOverlay = viewChild(CdkConnectedOverlay);\n\n readonly customDisplayTemplate = viewChild<TemplateRef<any>>('customDisplayTemplate');\n\n /**\n * treeNodes 数据\n * @type ThyTreeSelectNode[]\n */\n readonly thyTreeNodes = input<ThyTreeSelectNode[]>([]);\n\n treeNodes = computed(() => {\n return filterTreeData(this.thyTreeNodes(), this.searchText(), this.thyShowKey());\n });\n\n /**\n * 开启虚拟滚动\n */\n readonly thyVirtualScroll = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 树节点的唯一标识\n * @type string\n */\n readonly thyPrimaryKey = input('_id');\n\n /**\n * 树节点的显示的字段 key\n * @type string\n */\n readonly thyShowKey = input('name');\n\n readonly thyChildCountKey = input('childCount');\n\n /**\n * 单选时,是否显示清除按钮,当为 true 时,显示清除按钮\n * @default false\n */\n readonly thyAllowClear = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否多选\n * @type boolean\n */\n readonly thyMultiple = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否禁用树选择器,当为 true 禁用树选择器\n * @type boolean\n */\n readonly thyDisable = input(false, { transform: coerceBooleanProperty });\n\n get thyDisabled(): boolean {\n return this.thyDisable();\n }\n\n /**\n * 树选择框默认文字\n * @type string\n */\n readonly thyPlaceholder = input(this.locale().placeholder);\n\n /**\n * 控制树选择的输入框大小\n * @type xs | sm | md | default | lg\n */\n readonly thySize = input<InputSize>(undefined);\n\n /**\n * 改变空选项的情况下的提示文本\n * @type string\n */\n readonly thyEmptyOptionsText = input(this.locale().empty);\n\n /**\n * 设置是否隐藏节点(不可进行任何操作),优先级高于 thyHiddenNodeFn\n * @type string\n */\n readonly thyHiddenNodeKey = input('hidden');\n\n /**\n * 设置是否禁用节点(不可进行任何操作),优先级高于 thyDisableNodeFn\n * @type string\n */\n readonly thyDisableNodeKey = input('disabled');\n\n /**\n * 是否异步加载节点的子节点(显示加载状态),当为 true 时,异步获取\n * @type boolean\n */\n readonly thyAsyncNode = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否展示全名\n * @type boolean\n */\n readonly thyShowWholeName = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 是否展示搜索\n * @type boolean\n */\n readonly thyShowSearch = input(false, { transform: coerceBooleanProperty });\n\n /**\n * 图标类型,支持 default | especial,已废弃\n * @deprecated\n */\n readonly thyIconType = input<ThyTreeSelectType>(undefined);\n\n /**\n * 设置是否隐藏节点(不可进行任何操作),优先级低于 thyHiddenNodeKey。\n * @default (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.hidden\n */\n @Input() thyHiddenNodeFn: (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.hidden;\n\n /**\n * 设置是否禁用节点(不可进行任何操作),优先级低于 thyDisableNodeKey。\n * @default (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.disabled\n */\n @Input() thyDisableNodeFn: (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.disabled;\n\n /**\n * 获取节点的子节点,返回 Observable<ThyTreeSelectNode>。\n * @default (node: ThyTreeSelectNode) => Observable<ThyTreeSelectNode> = (node: ThyTreeSelectNode) => of([])\n */\n @Input() thyGetNodeChildren: (node: ThyTreeSelectNode) => Observable<ThyTreeSelectNode> = (node: ThyTreeSelectNode) => of([]);\n\n /**\n * 树选择组件展开和折叠状态事件\n */\n readonly thyExpandStatusChange = output<boolean>();\n\n public buildFlattenTreeNodes() {\n this.virtualTreeNodes.set(this.getFlattenTreeNodes(this.treeNodes()));\n }\n\n private getFlattenTreeNodes(rootTrees: ThyTreeSelectNode[] = this.treeNodes()) {\n const forEachTree = (tree: ThyTreeSelectNode[], fn: any, result: ThyTreeSelectNode[] = []) => {\n tree.forEach(item => {\n result.push(item);\n if (item.children && fn(item)) {\n forEachTree(item.children, fn, result);\n }\n });\n return result;\n };\n return forEachTree(rootTrees, (node: ThyTreeSelectNode) => !!node.expand);\n }\n\n writeValue(value: any): void {\n this.selectedValue.set(value);\n }\n\n constructor() {\n super();\n\n this.bindClickEvent();\n this.bindResizeEvent();\n\n effect(() => {\n this.setSelectedNodes();\n });\n\n effect(() => {\n if (this.thyVirtualScroll()) {\n this.buildFlattenTreeNodes();\n }\n });\n\n effect(() => {\n this.flattenTreeNodes.set(this.flattenNodes(this.treeNodes(), []));\n });\n }\n\n private bindClickEvent() {\n if (isPlatformBrowser(this.platformId)) {\n this.thyClickDispatcher\n .clicked(0)\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(event => {\n event.stopPropagation();\n if (!this.elementRef.nativeElement.contains(event.target) && this.expandTreeSelectOptions()) {\n this.ngZone.run(() => {\n this.close();\n });\n }\n });\n }\n }\n\n private bindResizeEvent() {\n this.viewportRuler\n .change()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.cdkConnectOverlayWidth.set(this.cdkOverlayOrigin().elementRef.nativeElement.getBoundingClientRect().width);\n });\n }\n\n onFocus($event: FocusEvent) {\n const inputElement: HTMLInputElement = this.elementRef.nativeElement.querySelector('input');\n inputElement?.focus();\n }\n\n onBlur($event: FocusEvent) {\n // 1. Tab 聚焦后自动聚焦到 input 输入框,此分支下直接返回,无需触发 onTouchedFn\n // 2. 打开选择框后如果点击弹框内导致 input 失焦,无需触发 onTouchedFn\n if (elementMatchClosest($event?.relatedTarget as HTMLElement, ['thy-tree-select', 'thy-tree-select-nodes'])) {\n return;\n }\n this.onTouchedFn();\n }\n\n public readonly selectedValueObject = computed(() => {\n return this.thyMultiple() ? this.selectedNodes() : this.selectedNode();\n });\n\n searchValue(searchText: string) {\n this.searchText.set(searchText.trim());\n }\n\n public setPosition() {\n this.ngZone.onStable\n .asObservable()\n .pipe(take(1))\n .subscribe(() => {\n this.cdkConnectedOverlay().overlayRef.updatePosition();\n });\n }\n\n private flattenNodes(nodes: ThyTreeSelectNode[] = [], parentPrimaryValue: string[] = []): ThyTreeSelectNode[] {\n let flattenedNodes: ThyTreeSelectNode[] = [];\n (nodes || []).forEach(item => {\n item.parentValues = parentPrimaryValue;\n item.level = item.parentValues.length;\n flattenedNodes.push(item);\n if (item.children && isArray(item.children)) {\n const childNodes = this.flattenNodes(item.children, [...parentPrimaryValue, item[this.thyPrimaryKey()]]);\n flattenedNodes = flattenedNodes.concat(childNodes);\n }\n });\n return flattenedNodes;\n }\n\n private _findTreeNode(value: string): ThyTreeSelectNode {\n return (this.flattenTreeNodes() || []).find(item => item[this.thyPrimaryKey()] === value);\n }\n\n private setSelectedNodes() {\n const isMultiple = this.thyMultiple();\n const primaryKey = this.thyPrimaryKey();\n const selectedValue = this.selectedValue();\n const valueIsObject = this.valueIsObject();\n if (selectedValue) {\n // 多选数据初始化\n if (isMultiple) {\n if (selectedValue.length > 0) {\n if (valueIsObject && Object.keys(selectedValue[0]).indexOf(primaryKey) >= 0) {\n this.selectedNodes.set(\n selectedValue.map((item: any) => {\n return this._findTreeNode(item[primaryKey]);\n })\n );\n } else {\n this.selectedNodes.set(\n selectedValue.map((item: any) => {\n return this._findTreeNode(item);\n })\n );\n }\n }\n } else {\n // 单选数据初始化\n if (valueIsObject) {\n if (Object.keys(selectedValue).indexOf(primaryKey) >= 0) {\n this.selectedNode.set(this._findTreeNode(selectedValue[primaryKey]));\n }\n } else {\n this.selectedNode.set(this._findTreeNode(selectedValue));\n }\n }\n } else {\n this.selectedNodes.set([]);\n this.selectedNode.set(null);\n }\n }\n\n openSelectPop() {\n if (this.thyDisable()) {\n return;\n }\n this.cdkConnectOverlayWidth.set(this.cdkOverlayOrigin().elementRef.nativeElement.getBoundingClientRect().width);\n this.expandTreeSelectOptions.set(!this.expandTreeSelectOptions());\n this.thyExpandStatusChange.emit(this.expandTreeSelectOptions());\n }\n\n close() {\n if (this.expandTreeSelectOptions()) {\n this.expandTreeSelectOptions.set(false);\n this.thyExpandStatusChange.emit(false);\n this.onTouchedFn();\n }\n }\n\n clearSelectedValue(event: Event) {\n event.stopPropagation();\n this.selectedValue.set(null);\n this.selectedNode.set(null);\n this.selectedNodes.set([]);\n this.onChangeFn(null);\n }\n\n private _changeSelectValue() {\n const selectedNodes = this.selectedNodes();\n const selectedNode = this.selectedNode();\n if (this.valueIsObject()) {\n this.selectedValue.set(this.thyMultiple() ? selectedNodes : selectedNode);\n } else {\n const value = this.thyMultiple() ? selectedNodes.map(item => item[this.thyPrimaryKey()]) : selectedNode[this.thyPrimaryKey()];\n this.selectedValue.set(value);\n }\n this.onChangeFn(this.selectedValue());\n if (!this.thyMultiple()) {\n this.onTouchedFn();\n }\n }\n\n removeMultipleSelectedNode(event: { item: ThyTreeSelectNode; $eventOrigin: Event }) {\n this.removeSelectedNode(event.item, event.$eventOrigin);\n }\n\n // thyMultiple = true 时,移除数据时调用\n removeSelectedNode(node: ThyTreeSelectNode, event?: Event) {\n if (event) {\n event.stopPropagation();\n }\n if (this.thyDisable()) {\n return;\n }\n if (this.thyMultiple()) {\n this.selectedNodes.set(\n produce(this.selectedNodes()).remove((item: ThyTreeSelectNode) => {\n return item[this.thyPrimaryKey()] === node[this.thyPrimaryKey()];\n })\n );\n this._changeSelectValue();\n }\n }\n\n selectNode(node: ThyTreeSelectNode) {\n if (!this.thyMultiple()) {\n this.selectedNode.set(node);\n this.expandTreeSelectOptions.set(false);\n this.thyExpandStatusChange.emit(false);\n this._changeSelectValue();\n } else {\n if (\n this.selectedNodes().find(item => {\n return item[this.thyPrimaryKey()] === node[this.thyPrimaryKey()];\n })\n ) {\n this.removeSelectedNode(node);\n } else {\n this.selectedNodes.set(produce(this.selectedNodes()).add(node));\n this._changeSelectValue();\n }\n }\n }\n\n getNodeChildren(node: ThyTreeSelectNode) {\n const result = this.thyGetNodeChildren(node);\n if (result && result.subscribe) {\n result.subscribe((data: ThyTreeSelectNode[]) => {\n const flattenTreeNodes = this.flattenTreeNodes();\n const nodes = this.flattenNodes(data, [...node.parentValues, node[this.thyPrimaryKey()]]);\n const otherNodes = nodes.filter((item: ThyTreeNode) => {\n return !flattenTreeNodes.find(hasItem => {\n return hasItem[this.thyPrimaryKey()] === item[this.thyPrimaryKey() as keyof ThyTreeNode];\n });\n });\n this.flattenTreeNodes.set(flattenTreeNodes.concat(otherNodes));\n node.children = data;\n });\n return result;\n }\n }\n}\n\nconst DEFAULT_ITEM_SIZE = 40;\n\n/**\n * @private\n */\n@Component({\n selector: 'thy-tree-select-nodes',\n templateUrl: './tree-select-nodes.component.html',\n imports: [\n NgTemplateOutlet,\n CdkVirtualScrollViewport,\n CdkFixedSizeVirtualScroll,\n CdkVirtualForOf,\n ThyEmpty,\n NgClass,\n NgStyle,\n ThyIcon,\n ThyFlexibleText\n ],\n host: {\n '[attr.tabindex]': '-1',\n class: 'thy-tree-select-dropdown',\n '[class.thy-tree-select-dropdown-multiple]': 'isMultiple()'\n }\n})\nexport class ThyTreeSelectNodes {\n parent = inject(ThyTreeSelect);\n\n emptyIcon: Signal<string> = injectPanelEmptyIcon();\n\n readonly treeNodes = input<ThyTreeSelectNode[]>([]);\n\n readonly thyVirtualScroll = input<boolean>(false);\n\n public readonly isMultiple = computed(() => this.parent.thyMultiple());\n\n public readonly childCountKey = computed(() => this.parent.thyChildCountKey());\n\n public readonly treeNodeTemplateRef = computed(() => this.parent.treeNodeTemplateRef());\n\n public defaultItemSize = DEFAULT_ITEM_SIZE;\n\n public readonly thyPrimaryKey = computed(() => this.parent.thyPrimaryKey());\n\n public readonly selectedNodes = computed(() => this.parent.selectedNodes());\n\n public readonly selectedNode = computed(() => this.parent.selectedNode());\n\n public readonly hiddenNodeKey = computed(() => this.parent.thyHiddenNodeKey());\n\n public readonly disableNodeKey = computed(() => this.parent.thyDisableNodeKey());\n\n public readonly thyVirtualHeight = computed(() => {\n const treeSelectHeight = this.defaultItemSize * this.treeNodes().length;\n // 父级设置了max-height:300 & padding:10 0; 故此处最多设置280,否则将出现滚动条\n return treeSelectHeight > 300 ? '280px' : `${treeSelectHeight}px`;\n });\n\n public readonly hasNodeChildren = computed(() => {\n return this.treeNodes().every(item => !item.hasOwnProperty('children') || (!item?.children?.length && !item?.childCount));\n });\n\n treeNodeIsSelected(node: ThyTreeSelectNode) {\n const primaryKey = this.thyPrimaryKey();\n const isMultiple = this.isMultiple();\n if (isMultiple) {\n const selectedNodes = this.selectedNodes() || [];\n return selectedNodes.find(item => {\n return item[primaryKey] === node[primaryKey];\n });\n } else {\n return this.selectedNode() && this.selectedNode()[primaryKey] === node[primaryKey];\n }\n }\n\n treeNodeIsHidden(node: ThyTreeSelectNode) {\n const hiddenNodeKey = this.hiddenNodeKey();\n if (hiddenNodeKey) {\n return node[hiddenNodeKey];\n }\n const thyHiddenNodeFn = this.parent.thyHiddenNodeFn;\n if (thyHiddenNodeFn) {\n return thyHiddenNodeFn(node);\n }\n return false;\n }\n\n treeNodeIsDisable(node: ThyTreeSelectNode) {\n const disableNodeKey = this.disableNodeKey();\n if (disableNodeKey) {\n return node[disableNodeKey];\n }\n const thyDisableNodeFn = this.parent.thyDisableNodeFn;\n if (thyDisableNodeFn) {\n return thyDisableNodeFn(node);\n }\n return false;\n }\n\n treeNodeIsExpand(node: ThyTreeSelectNode) {\n const isMultiple = this.isMultiple();\n const primaryKey = this.thyPrimaryKey();\n let isSelectedNodeParent = false;\n if (isMultiple) {\n const selectedNodes = this.selectedNodes() || [];\n isSelectedNodeParent = !!selectedNodes.find(item => {\n return item.parentValues.indexOf(node[primaryKey]) > -1;\n });\n } else {\n isSelectedNodeParent = this.selectedNode() ? this.selectedNode().parentValues.indexOf(node[primaryKey]) > -1 : false;\n }\n const isExpand = node.expand || (Object.keys(node).indexOf('expand') < 0 && isSelectedNodeParent);\n node.expand = isExpand;\n return isExpand;\n }\n\n getNodeChildren(node: ThyTreeSelectNode) {\n return this.parent.getNodeChildren(node);\n }\n\n selectTreeNode(event: Event, node: ThyTreeSelectNode) {\n if (!this.treeNodeIsDisable(node)) {\n this.parent.selectNode(node);\n }\n }\n\n nodeExpandToggle(event: Event, node: ThyTreeSelectNode) {\n event.stopPropagation();\n if (Object.keys(node).indexOf('expand') > -1) {\n node.expand = !node.expand;\n } else {\n if (this.treeNodeIsExpand(node)) {\n node.expand = false;\n } else {\n node.expand = true;\n }\n }\n\n if (node.expand && this.parent.thyAsyncNode()) {\n this.getNodeChildren(node).subscribe(() => {\n this.parent.setPosition();\n });\n }\n // this.parent.setPosition();\n if (this.thyVirtualScroll()) {\n this.parent.buildFlattenTreeNodes();\n }\n }\n\n tabTrackBy(index: number, item: ThyTreeSelectNode) {\n return index;\n }\n}\n","<div\n cdkOverlayOrigin\n thySelectControl\n (click)=\"openSelectPop()\"\n #origin=\"cdkOverlayOrigin\"\n [thyPanelOpened]=\"expandTreeSelectOptions()\"\n [thySelectedOptions]=\"selectedValueObject()\"\n [thyIsMultiple]=\"thyMultiple()\"\n [thyAllowClear]=\"thyAllowClear()\"\n [thySize]=\"thySize()\"\n [thyPlaceholder]=\"thyPlaceholder()\"\n [customDisplayTemplate]=\"customDisplayTemplate\"\n [thyShowSearch]=\"thyShowSearch()\"\n [thyDisabled]=\"thyDisable()\"\n (thyOnBlur)=\"onBlur($event)\"\n (thyOnClear)=\"clearSelectedValue($event)\"\n (thyOnRemove)=\"removeMultipleSelectedNode($event)\"\n (thyOnSearch)=\"searchValue($event)\">\n <ng-template #customDisplayTemplate let-node>\n @if (thyTreeSelectTriggerDisplayRef()) {\n <ng-template [ngTemplateOutlet]=\"thyTreeSelectTriggerDisplayRef()\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n } @else {\n {{ node[thyShowKey()] }}\n }\n </ng-template>\n</div>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayHasBackdrop]=\"false\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayMinWidth]=\"cdkConnectOverlayWidth()\"\n [cdkConnectedOverlayFlexibleDimensions]=\"true\"\n [cdkConnectedOverlayOpen]=\"expandTreeSelectOptions()\"\n cdkConnectedOverlayTransformOriginOn=\".thy-tree-select-dropdown\"\n [cdkConnectedOverlayPositions]=\"expandedDropdownPositions\"\n (detach)=\"close()\">\n <thy-tree-select-nodes\n thyStopPropagation\n [thyVirtualScroll]=\"thyVirtualScroll()\"\n [treeNodes]=\"thyVirtualScroll() ? virtualTreeNodes() : treeNodes()\"\n [@scaleYMotion]=\"'enter'\">\n </thy-tree-select-nodes>\n</ng-template>\n","@let nodeList = treeNodes();\n@let hasChildren = hasNodeChildren();\n@let virtualHeight = thyVirtualHeight();\n@let isVirtualScroll = thyVirtualScroll();\n@let showKey = this.parent.thyShowKey();\n\n@if (nodeList?.length > 0) {\n <div class=\"thy-tree-select-options\">\n <div class=\"thy-tree-select-node\">\n @if (!isVirtualScroll) {\n @for (node of nodeList; track $index) {\n <ng-container [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-container>\n }\n }\n @if (isVirtualScroll) {\n <cdk-virtual-scroll-viewport #viewport [itemSize]=\"defaultItemSize\" [style.height]=\"virtualHeight\">\n <ng-container *cdkVirtualFor=\"let node of nodeList; trackBy: tabTrackBy\">\n <ng-template [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n </ng-container>\n </cdk-virtual-scroll-viewport>\n }\n </div>\n </div>\n} @else {\n <thy-empty\n class=\"thy-select-empty-content\"\n thySize=\"sm\"\n [thyMessage]=\"parent.thyEmptyOptionsText()\"\n [thyIconName]=\"emptyIcon()\"></thy-empty>\n}\n\n<ng-template #treeSelectNode let-node>\n <ng-container>\n @if (!treeNodeIsHidden(node)) {\n <a\n class=\"thy-option-item\"\n [ngClass]=\"{ active: treeNodeIsSelected(node), 'pl-0': hasChildren }\"\n [class.disabled]=\"treeNodeIsDisable(node)\"\n [ngStyle]=\"{ 'padding-left.px': 20 * node.level + parent.icons.gap }\"\n (click)=\"selectTreeNode($event, node)\">\n <span\n class=\"thy-tree-select-option-icon\"\n [class.invisible]=\"!(node.children?.length > 0 || (node[childCountKey()] && node[childCountKey()] > 0))\"\n (click)=\"nodeExpandToggle($event, node)\">\n <thy-icon\n class=\"node-expand-icon\"\n [thyIconName]=\"treeNodeIsExpand(node) ? parent.icons.expand : parent.icons.collapse\"></thy-icon>\n </span>\n <span class=\"thy-tree-select-option-text\" [ngClass]=\"{ 'ml-1': hasChildren }\">\n @if (treeNodeTemplateRef()) {\n <ng-template [ngTemplateOutlet]=\"treeNodeTemplateRef()\" [ngTemplateOutletContext]=\"{ $implicit: node }\"></ng-template>\n } @else {\n <span thyFlexibleText [thyTooltipContent]=\"node[showKey]\">{{ node[showKey] }}</span>\n }\n </span>\n @if (isMultiple()) {\n <thy-icon class=\"checked-icon\" thyIconName=\"check\"></thy-icon>\n }\n </a>\n }\n @if (!isVirtualScroll && treeNodeIsExpand(node) && node.children?.length > 0) {\n @for (node of node.children; track $index) {\n <ng-container [ngTemplateOutlet]=\"treeSelectNode\" [ngTemplateOutletContext]=\"{ $implicit: node }\"> </ng-container>\n }\n }\n </ng-container>\n</ng-template>\n","import { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ThyEmptyModule } from 'ngx-tethys/empty';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyListModule } from 'ngx-tethys/list';\nimport { ThySelectCommonModule, ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyTreeSelect, ThyTreeSelectNodes } from './tree-select.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n OverlayModule,\n ThyListModule,\n ThyIconModule,\n ThyEmptyModule,\n ThySelectCommonModule,\n ThySharedModule,\n ThyTreeSelect,\n ThyTreeSelectNodes\n ],\n exports: [ThyTreeSelect, ThyTreeSelectNodes]\n})\nexport class ThyTreeSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAgDM,SAAU,cAAc,CAAC,SAA8B,EAAE,UAAkB,EAAE,YAAoB,MAA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