ngx-tethys 18.0.8 → 18.1.0-next.1

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 (607) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/action/action.component.d.ts +1 -2
  3. package/affix/affix.component.d.ts +2 -4
  4. package/alert/alert.component.d.ts +11 -19
  5. package/anchor/anchor-link.component.d.ts +2 -4
  6. package/anchor/anchor.component.d.ts +2 -7
  7. package/arrow-switcher/arrow-switcher.component.d.ts +1 -2
  8. package/autocomplete/autocomplete.component.d.ts +1 -2
  9. package/autocomplete/autocomplete.trigger.directive.d.ts +3 -5
  10. package/autocomplete/overlay/autocomplete-container.component.d.ts +4 -4
  11. package/autocomplete/overlay/autocomplete.service.d.ts +3 -5
  12. package/avatar/avatar.component.d.ts +1 -3
  13. package/avatar/avatar.pipe.d.ts +0 -2
  14. package/back-top/back-top.component.d.ts +2 -4
  15. package/badge/badge.component.d.ts +2 -2
  16. package/breadcrumb/breadcrumb-item.component.d.ts +1 -2
  17. package/breadcrumb/breadcrumb.component.d.ts +1 -2
  18. package/button/button.component.d.ts +1 -2
  19. package/calendar/calendar-header.component.d.ts +1 -2
  20. package/calendar/calendar.component.d.ts +1 -2
  21. package/carousel/carousel-item.directive.d.ts +1 -2
  22. package/carousel/carousel.component.d.ts +1 -4
  23. package/carousel/carousel.service.d.ts +1 -2
  24. package/cascader/cascader.component.d.ts +4 -4
  25. package/checkbox/checkbox.component.d.ts +0 -2
  26. package/collapse/collapse-item.component.d.ts +2 -4
  27. package/color-picker/color-picker-panel.component.d.ts +2 -3
  28. package/color-picker/color-picker.component.d.ts +2 -4
  29. package/color-picker/coordinates.directive.d.ts +1 -2
  30. package/color-picker/parts/alpha/alpha.component.d.ts +1 -2
  31. package/color-picker/parts/hue/hue.component.d.ts +1 -2
  32. package/color-picker/parts/saturation/saturation.component.d.ts +1 -2
  33. package/copy/copy.directive.d.ts +0 -2
  34. package/core/click-positioner.d.ts +0 -2
  35. package/core/scroll.d.ts +1 -2
  36. package/core/update-host-class.service.d.ts +1 -2
  37. package/date-picker/abstract-picker.component.d.ts +1 -1
  38. package/date-picker/abstract-picker.directive.d.ts +2 -3
  39. package/date-picker/base-picker.component.d.ts +2 -3
  40. package/date-picker/date-picker.component.d.ts +2 -2
  41. package/date-picker/date-picker.directive.d.ts +1 -3
  42. package/date-picker/date-picker.service.d.ts +2 -2
  43. package/date-picker/index.d.ts +26 -27
  44. package/date-picker/lib/calendar/calendar-footer.component.d.ts +1 -2
  45. package/date-picker/lib/calendar/calendar-header.component.d.ts +0 -1
  46. package/date-picker/lib/date/date-header.component.d.ts +0 -3
  47. package/date-picker/lib/date/date-table-cell.component.d.ts +1 -1
  48. package/date-picker/lib/date/date-table.component.d.ts +1 -3
  49. package/date-picker/lib/date-carousel/date-carousel.component.d.ts +1 -2
  50. package/date-picker/lib/decade/decade-header.component.d.ts +1 -1
  51. package/date-picker/lib/month/month-header.component.d.ts +0 -3
  52. package/date-picker/lib/month/month-table.component.d.ts +1 -2
  53. package/date-picker/lib/popups/date-popup.component.d.ts +1 -4
  54. package/date-picker/lib/popups/inner-popup.component.d.ts +0 -2
  55. package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -2
  56. package/date-picker/lib/year/year-header.component.d.ts +0 -1
  57. package/date-picker/month-picker.component.d.ts +2 -2
  58. package/date-picker/picker.component.d.ts +1 -3
  59. package/date-picker/picker.pipes.d.ts +0 -3
  60. package/date-picker/quarter-picker.component.d.ts +2 -2
  61. package/date-picker/range-picker.component.d.ts +2 -2
  62. package/date-picker/range-picker.directive.d.ts +2 -3
  63. package/date-picker/week-picker.component.d.ts +2 -2
  64. package/date-picker/year-picker.component.d.ts +2 -2
  65. package/date-range/date-range.component.d.ts +3 -11
  66. package/date-range/optional-dates/optional-dates.component.d.ts +0 -2
  67. package/dialog/body/dialog-body.component.d.ts +0 -2
  68. package/dialog/confirm/confirm.component.d.ts +2 -3
  69. package/dialog/dialog-container.component.d.ts +4 -5
  70. package/dialog/dialog.service.d.ts +4 -4
  71. package/dialog/footer/dialog-footer.component.d.ts +2 -2
  72. package/dialog/header/dialog-header.component.d.ts +2 -6
  73. package/divider/divider.component.d.ts +8 -2
  74. package/dot/dot.component.d.ts +1 -2
  75. package/drag-drop/drag-content.directive.d.ts +2 -3
  76. package/drag-drop/drag-handle.directive.d.ts +2 -3
  77. package/drag-drop/drag.directive.d.ts +4 -5
  78. package/drag-drop/drop-container.directive.d.ts +6 -3
  79. package/dropdown/dropdown-active.directive.d.ts +3 -4
  80. package/dropdown/dropdown-menu-item.directive.d.ts +1 -2
  81. package/dropdown/dropdown-submenu.component.d.ts +1 -3
  82. package/dropdown/dropdown.directive.d.ts +3 -5
  83. package/empty/empty.component.d.ts +6 -6
  84. package/esm2022/action/action.component.mjs +20 -21
  85. package/esm2022/affix/affix.component.mjs +11 -14
  86. package/esm2022/alert/alert.component.mjs +55 -81
  87. package/esm2022/anchor/anchor-link.component.mjs +23 -16
  88. package/esm2022/anchor/anchor.component.mjs +27 -24
  89. package/esm2022/arrow-switcher/arrow-switcher.component.mjs +25 -26
  90. package/esm2022/autocomplete/autocomplete.component.mjs +11 -11
  91. package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +30 -37
  92. package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +11 -15
  93. package/esm2022/autocomplete/overlay/autocomplete.service.mjs +14 -21
  94. package/esm2022/avatar/avatar-list/avatar-list.component.mjs +4 -4
  95. package/esm2022/avatar/avatar.component.mjs +27 -28
  96. package/esm2022/avatar/avatar.pipe.mjs +6 -7
  97. package/esm2022/back-top/back-top.component.mjs +14 -18
  98. package/esm2022/badge/badge.component.mjs +8 -9
  99. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +7 -7
  100. package/esm2022/breadcrumb/breadcrumb.component.mjs +15 -17
  101. package/esm2022/button/button-icon.component.mjs +4 -4
  102. package/esm2022/button/button.component.mjs +15 -15
  103. package/esm2022/calendar/calendar-header.component.mjs +15 -15
  104. package/esm2022/calendar/calendar.component.mjs +14 -15
  105. package/esm2022/card/header.component.mjs +4 -4
  106. package/esm2022/carousel/carousel-item.directive.mjs +7 -6
  107. package/esm2022/carousel/carousel.component.mjs +13 -15
  108. package/esm2022/carousel/carousel.service.mjs +7 -9
  109. package/esm2022/cascader/cascader-li.component.mjs +4 -4
  110. package/esm2022/cascader/cascader-search-option.component.mjs +4 -4
  111. package/esm2022/cascader/cascader.component.mjs +15 -22
  112. package/esm2022/checkbox/checkbox.component.mjs +11 -13
  113. package/esm2022/collapse/collapse-item.component.mjs +21 -24
  114. package/esm2022/color-picker/color-picker-panel.component.mjs +14 -15
  115. package/esm2022/color-picker/color-picker.component.mjs +10 -11
  116. package/esm2022/color-picker/coordinates.directive.mjs +10 -10
  117. package/esm2022/color-picker/parts/alpha/alpha.component.mjs +6 -6
  118. package/esm2022/color-picker/parts/hue/hue.component.mjs +6 -6
  119. package/esm2022/color-picker/parts/saturation/saturation.component.mjs +9 -9
  120. package/esm2022/comment/comment.component.mjs +4 -4
  121. package/esm2022/copy/copy.directive.mjs +8 -12
  122. package/esm2022/core/click-positioner.mjs +6 -7
  123. package/esm2022/core/scroll.mjs +7 -9
  124. package/esm2022/core/store/store.mjs +1 -1
  125. package/esm2022/core/update-host-class.service.mjs +6 -6
  126. package/esm2022/date-picker/abstract-picker.component.mjs +5 -5
  127. package/esm2022/date-picker/abstract-picker.directive.mjs +42 -44
  128. package/esm2022/date-picker/base-picker.component.mjs +26 -26
  129. package/esm2022/date-picker/date-picker.component.mjs +10 -11
  130. package/esm2022/date-picker/date-picker.directive.mjs +6 -8
  131. package/esm2022/date-picker/date-picker.service.mjs +6 -10
  132. package/esm2022/date-picker/index.mjs +27 -28
  133. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +7 -8
  134. package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +6 -7
  135. package/esm2022/date-picker/lib/date/date-header.component.mjs +6 -12
  136. package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +4 -4
  137. package/esm2022/date-picker/lib/date/date-table.component.mjs +10 -12
  138. package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +16 -16
  139. package/esm2022/date-picker/lib/decade/decade-header.component.mjs +8 -11
  140. package/esm2022/date-picker/lib/decade/decade-table.component.mjs +4 -4
  141. package/esm2022/date-picker/lib/month/month-header.component.mjs +6 -12
  142. package/esm2022/date-picker/lib/month/month-table.component.mjs +9 -10
  143. package/esm2022/date-picker/lib/popups/date-popup.component.mjs +14 -29
  144. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +14 -20
  145. package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +9 -10
  146. package/esm2022/date-picker/lib/year/year-header.component.mjs +6 -12
  147. package/esm2022/date-picker/lib/year/year-table.component.mjs +4 -4
  148. package/esm2022/date-picker/month-picker.component.mjs +9 -11
  149. package/esm2022/date-picker/picker.component.mjs +24 -35
  150. package/esm2022/date-picker/picker.pipes.mjs +10 -11
  151. package/esm2022/date-picker/quarter-picker.component.mjs +9 -11
  152. package/esm2022/date-picker/range-picker.component.mjs +9 -11
  153. package/esm2022/date-picker/range-picker.directive.mjs +6 -8
  154. package/esm2022/date-picker/week-picker.component.mjs +9 -11
  155. package/esm2022/date-picker/year-picker.component.mjs +9 -11
  156. package/esm2022/date-range/date-range.component.mjs +17 -18
  157. package/esm2022/date-range/optional-dates/optional-dates.component.mjs +9 -13
  158. package/esm2022/dialog/body/dialog-body.component.mjs +11 -12
  159. package/esm2022/dialog/confirm/confirm.component.mjs +10 -14
  160. package/esm2022/dialog/dialog-container.component.mjs +13 -18
  161. package/esm2022/dialog/dialog.service.mjs +10 -17
  162. package/esm2022/dialog/footer/dialog-footer.component.mjs +10 -14
  163. package/esm2022/dialog/header/dialog-header.component.mjs +17 -22
  164. package/esm2022/divider/divider.component.mjs +21 -13
  165. package/esm2022/dot/dot.component.mjs +7 -7
  166. package/esm2022/drag-drop/drag-content.directive.mjs +7 -9
  167. package/esm2022/drag-drop/drag-handle.directive.mjs +7 -9
  168. package/esm2022/drag-drop/drag.directive.mjs +13 -16
  169. package/esm2022/drag-drop/drop-container.directive.mjs +13 -13
  170. package/esm2022/dropdown/dropdown-active.directive.mjs +9 -12
  171. package/esm2022/dropdown/dropdown-menu-item.directive.mjs +12 -12
  172. package/esm2022/dropdown/dropdown-menu.component.mjs +11 -7
  173. package/esm2022/dropdown/dropdown-submenu.component.mjs +9 -10
  174. package/esm2022/dropdown/dropdown.directive.mjs +12 -10
  175. package/esm2022/empty/empty.component.mjs +17 -20
  176. package/esm2022/flexible-text/flexible-text.component.mjs +16 -17
  177. package/esm2022/form/form-group-error/form-group-error.component.mjs +12 -15
  178. package/esm2022/form/form-group-label.directive.mjs +9 -10
  179. package/esm2022/form/form-group.component.mjs +18 -22
  180. package/esm2022/form/form-submit.directive.mjs +6 -7
  181. package/esm2022/form/form-validator-loader.mjs +1 -1
  182. package/esm2022/form/form-validator.service.mjs +12 -13
  183. package/esm2022/form/form.directive.mjs +11 -16
  184. package/esm2022/form/from-group-footer/form-group-footer.component.mjs +13 -19
  185. package/esm2022/form/validator/unique-validator.directive.mjs +7 -10
  186. package/esm2022/fullscreen/fullscreen.component.mjs +10 -11
  187. package/esm2022/fullscreen/fullscreen.service.mjs +7 -10
  188. package/esm2022/grid/thy-col.directive.mjs +9 -14
  189. package/esm2022/grid/thy-grid-item.component.mjs +8 -14
  190. package/esm2022/grid/thy-grid.component.mjs +7 -8
  191. package/esm2022/guider/guider-hint/guider-hint.component.mjs +4 -4
  192. package/esm2022/guider/guider.directive.mjs +8 -9
  193. package/esm2022/guider/guider.service.mjs +12 -19
  194. package/esm2022/icon/icon-registry.mjs +11 -16
  195. package/esm2022/icon/icon.component.mjs +8 -9
  196. package/esm2022/image/image-group.component.mjs +7 -7
  197. package/esm2022/image/image.directive.mjs +11 -12
  198. package/esm2022/image/image.service.mjs +8 -14
  199. package/esm2022/image/preview/image-preview.component.mjs +36 -41
  200. package/esm2022/input/input-count.component.mjs +7 -10
  201. package/esm2022/input/input-group.component.mjs +15 -16
  202. package/esm2022/input/input-search.component.mjs +9 -10
  203. package/esm2022/input/input.component.mjs +17 -17
  204. package/esm2022/input/input.directive.mjs +12 -17
  205. package/esm2022/input-number/input-number.component.mjs +6 -6
  206. package/esm2022/layout/header.component.mjs +4 -4
  207. package/esm2022/layout/sidebar-header.component.mjs +4 -4
  208. package/esm2022/layout/sidebar.component.mjs +125 -121
  209. package/esm2022/list/list-item-meta.component.mjs +4 -4
  210. package/esm2022/list/selection/selection-list.mjs +25 -25
  211. package/esm2022/loading/loading.component.mjs +10 -11
  212. package/esm2022/mention/mention.directive.mjs +9 -14
  213. package/esm2022/mention/suggestions/suggestions.component.mjs +11 -12
  214. package/esm2022/menu/group/menu-group.component.mjs +37 -38
  215. package/esm2022/menu/item/action/menu-item-action.component.mjs +15 -16
  216. package/esm2022/menu/item/menu-item.component.mjs +8 -9
  217. package/esm2022/message/abstract/abstract-message-container.component.mjs +5 -5
  218. package/esm2022/message/abstract/abstract-message.component.mjs +6 -6
  219. package/esm2022/message/message-container.component.mjs +21 -15
  220. package/esm2022/message/message-queue.service.mjs +6 -8
  221. package/esm2022/message/message.component.mjs +9 -10
  222. package/esm2022/message/message.service.mjs +10 -11
  223. package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +4 -5
  224. package/esm2022/nav/icon-nav/icon-nav.component.mjs +6 -6
  225. package/esm2022/nav/nav-ink-bar.directive.mjs +9 -14
  226. package/esm2022/nav/nav-item.directive.mjs +8 -11
  227. package/esm2022/nav/nav.component.mjs +35 -38
  228. package/esm2022/nav/nav.pipe.mjs +6 -7
  229. package/esm2022/notify/notify-container.component.mjs +11 -14
  230. package/esm2022/notify/notify-queue.service.mjs +6 -8
  231. package/esm2022/notify/notify.component.mjs +10 -10
  232. package/esm2022/notify/notify.service.mjs +11 -12
  233. package/esm2022/pagination/pagination.component.mjs +41 -46
  234. package/esm2022/pagination/pagination.pipe.mjs +6 -7
  235. package/esm2022/popover/header/popover-header.component.mjs +15 -17
  236. package/esm2022/popover/popover-container.component.mjs +11 -13
  237. package/esm2022/popover/popover.directive.mjs +13 -12
  238. package/esm2022/popover/popover.service.mjs +14 -26
  239. package/esm2022/progress/progress-circle.component.mjs +4 -7
  240. package/esm2022/progress/progress-strip.component.mjs +10 -13
  241. package/esm2022/progress/progress.component.mjs +5 -8
  242. package/esm2022/property/property-item.component.mjs +13 -16
  243. package/esm2022/property-operation/property-operation.component.mjs +27 -28
  244. package/esm2022/radio/button/radio-button.component.mjs +9 -15
  245. package/esm2022/radio/group/radio-group.component.mjs +17 -17
  246. package/esm2022/radio/radio.component.mjs +12 -18
  247. package/esm2022/rate/rate.component.mjs +10 -10
  248. package/esm2022/resizable/resizable.directive.mjs +10 -12
  249. package/esm2022/resizable/resizable.service.mjs +7 -9
  250. package/esm2022/resizable/resize-handle.component.mjs +16 -14
  251. package/esm2022/resizable/resize-handles.component.mjs +12 -5
  252. package/esm2022/result/result.component.mjs +4 -4
  253. package/esm2022/segment/segment-item.component.mjs +15 -18
  254. package/esm2022/segment/segment.component.mjs +29 -30
  255. package/esm2022/select/custom-select/custom-select.component.mjs +19 -35
  256. package/esm2022/select/native-select/native-select.component.mjs +10 -11
  257. package/esm2022/shared/base-form-check.component.mjs +7 -8
  258. package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +7 -7
  259. package/esm2022/shared/directives/thy-autofocus.directive.mjs +10 -10
  260. package/esm2022/shared/directives/thy-contextmenu.directive.mjs +8 -8
  261. package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +8 -8
  262. package/esm2022/shared/directives/thy-enter.directive.mjs +8 -8
  263. package/esm2022/shared/directives/thy-scroll.directive.mjs +21 -21
  264. package/esm2022/shared/directives/thy-show.mjs +11 -11
  265. package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +7 -5
  266. package/esm2022/shared/directives/view-outlet.directive.mjs +7 -7
  267. package/esm2022/shared/ng-transclude.directive.mjs +6 -5
  268. package/esm2022/shared/option/group/option-group.component.mjs +10 -10
  269. package/esm2022/shared/option/list-option/list-option.component.mjs +14 -22
  270. package/esm2022/shared/option/option.component.mjs +11 -22
  271. package/esm2022/shared/select/select-control/select-control.component.mjs +27 -27
  272. package/esm2022/skeleton/skeleton-circle.component.mjs +7 -15
  273. package/esm2022/skeleton/skeleton-rectangle.component.mjs +7 -15
  274. package/esm2022/skeleton/stylized/bullet-list.component.mjs +8 -9
  275. package/esm2022/skeleton/stylized/list.component.mjs +8 -9
  276. package/esm2022/skeleton/stylized/paragraph.component.mjs +8 -9
  277. package/esm2022/slide/drawer/drawer-container.directive.mjs +6 -6
  278. package/esm2022/slide/slide-container.component.mjs +12 -16
  279. package/esm2022/slide/slide-header/slide-header.component.mjs +13 -14
  280. package/esm2022/slide/slide-ref.service.mjs +1 -1
  281. package/esm2022/slide/slide.service.mjs +8 -12
  282. package/esm2022/slider/slider.component.mjs +8 -8
  283. package/esm2022/space/space.component.mjs +16 -16
  284. package/esm2022/statistic/statistic.component.mjs +23 -23
  285. package/esm2022/stepper/step.component.mjs +6 -11
  286. package/esm2022/stepper/stepper-button.directive.mjs +10 -11
  287. package/esm2022/stepper/stepper.component.mjs +5 -5
  288. package/esm2022/strength/strength.component.mjs +11 -12
  289. package/esm2022/switch/switch.component.mjs +11 -11
  290. package/esm2022/table/table-column.component.mjs +58 -63
  291. package/esm2022/table/table-skeleton.component.mjs +35 -38
  292. package/esm2022/table/table.component.mjs +19 -29
  293. package/esm2022/tabs/tab-content.component.mjs +9 -9
  294. package/esm2022/tabs/tabs.component.mjs +22 -25
  295. package/esm2022/tag/tag.component.mjs +22 -22
  296. package/esm2022/time-picker/inner/inner-time-picker.component.mjs +12 -12
  297. package/esm2022/time-picker/time-picker-panel.component.mjs +31 -34
  298. package/esm2022/time-picker/time-picker.component.mjs +33 -43
  299. package/esm2022/timeline/timeline-item.component.mjs +15 -16
  300. package/esm2022/timeline/timeline.component.mjs +15 -16
  301. package/esm2022/tooltip/tooltip.component.mjs +17 -17
  302. package/esm2022/tooltip/tooltip.directive.mjs +11 -10
  303. package/esm2022/tooltip/tooltip.service.mjs +9 -13
  304. package/esm2022/transfer/transfer-list.component.mjs +9 -9
  305. package/esm2022/transfer/transfer.component.mjs +4 -4
  306. package/esm2022/tree/tree-node.component.mjs +16 -20
  307. package/esm2022/tree/tree.component.mjs +90 -96
  308. package/esm2022/tree-select/tree-select.component.mjs +28 -36
  309. package/esm2022/typography/bg-color.directive.mjs +9 -9
  310. package/esm2022/typography/text/text.component.mjs +3 -4
  311. package/esm2022/typography/text-color.directive.mjs +9 -9
  312. package/esm2022/upload/file-drop.directive.mjs +1 -1
  313. package/esm2022/upload/file-select-base.mjs +5 -6
  314. package/esm2022/upload/file-select.component.mjs +4 -3
  315. package/esm2022/upload/upload.service.mjs +6 -7
  316. package/esm2022/version.mjs +2 -2
  317. package/esm2022/vote/vote.component.mjs +4 -4
  318. package/esm2022/watermark/watermark.directive.mjs +12 -12
  319. package/fesm2022/ngx-tethys-action.mjs +20 -20
  320. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  321. package/fesm2022/ngx-tethys-affix.mjs +12 -14
  322. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  323. package/fesm2022/ngx-tethys-alert.mjs +54 -80
  324. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  325. package/fesm2022/ngx-tethys-anchor.mjs +48 -35
  326. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  327. package/fesm2022/ngx-tethys-arrow-switcher.mjs +25 -25
  328. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  329. package/fesm2022/ngx-tethys-autocomplete.mjs +63 -75
  330. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  331. package/fesm2022/ngx-tethys-avatar.mjs +32 -32
  332. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  333. package/fesm2022/ngx-tethys-back-top.mjs +15 -18
  334. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  335. package/fesm2022/ngx-tethys-badge.mjs +8 -8
  336. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  337. package/fesm2022/ngx-tethys-breadcrumb.mjs +19 -21
  338. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  339. package/fesm2022/ngx-tethys-button.mjs +16 -16
  340. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  341. package/fesm2022/ngx-tethys-calendar.mjs +26 -26
  342. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  343. package/fesm2022/ngx-tethys-card.mjs +3 -3
  344. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  345. package/fesm2022/ngx-tethys-carousel.mjs +23 -24
  346. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  347. package/fesm2022/ngx-tethys-cascader.mjs +19 -25
  348. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  349. package/fesm2022/ngx-tethys-checkbox.mjs +10 -11
  350. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  351. package/fesm2022/ngx-tethys-collapse.mjs +20 -22
  352. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  353. package/fesm2022/ngx-tethys-color-picker.mjs +47 -45
  354. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  355. package/fesm2022/ngx-tethys-comment.mjs +3 -3
  356. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  357. package/fesm2022/ngx-tethys-copy.mjs +8 -12
  358. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  359. package/fesm2022/ngx-tethys-core.mjs +14 -16
  360. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  361. package/fesm2022/ngx-tethys-date-picker.mjs +2872 -2924
  362. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  363. package/fesm2022/ngx-tethys-date-range.mjs +24 -26
  364. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  365. package/fesm2022/ngx-tethys-dialog.mjs +61 -77
  366. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  367. package/fesm2022/ngx-tethys-divider.mjs +20 -12
  368. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  369. package/fesm2022/ngx-tethys-dot.mjs +6 -6
  370. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  371. package/fesm2022/ngx-tethys-drag-drop.mjs +33 -37
  372. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  373. package/fesm2022/ngx-tethys-dropdown.mjs +49 -43
  374. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  375. package/fesm2022/ngx-tethys-empty.mjs +18 -18
  376. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  377. package/fesm2022/ngx-tethys-flexible-text.mjs +16 -17
  378. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  379. package/fesm2022/ngx-tethys-form.mjs +74 -89
  380. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  381. package/fesm2022/ngx-tethys-fullscreen.mjs +14 -17
  382. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  383. package/fesm2022/ngx-tethys-grid.mjs +20 -29
  384. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  385. package/fesm2022/ngx-tethys-guider.mjs +20 -26
  386. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  387. package/fesm2022/ngx-tethys-icon.mjs +18 -22
  388. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  389. package/fesm2022/ngx-tethys-image.mjs +60 -65
  390. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  391. package/fesm2022/ngx-tethys-input-number.mjs +5 -5
  392. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  393. package/fesm2022/ngx-tethys-input.mjs +53 -60
  394. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  395. package/fesm2022/ngx-tethys-layout.mjs +129 -124
  396. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  397. package/fesm2022/ngx-tethys-list.mjs +27 -27
  398. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  399. package/fesm2022/ngx-tethys-loading.mjs +10 -10
  400. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  401. package/fesm2022/ngx-tethys-mention.mjs +19 -24
  402. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  403. package/fesm2022/ngx-tethys-menu.mjs +56 -57
  404. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  405. package/fesm2022/ngx-tethys-message.mjs +47 -41
  406. package/fesm2022/ngx-tethys-message.mjs.map +1 -1
  407. package/fesm2022/ngx-tethys-nav.mjs +61 -72
  408. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  409. package/fesm2022/ngx-tethys-notify.mjs +31 -34
  410. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  411. package/fesm2022/ngx-tethys-pagination.mjs +46 -51
  412. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  413. package/fesm2022/ngx-tethys-popover.mjs +51 -57
  414. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  415. package/fesm2022/ngx-tethys-progress.mjs +15 -24
  416. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  417. package/fesm2022/ngx-tethys-property-operation.mjs +27 -27
  418. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  419. package/fesm2022/ngx-tethys-property.mjs +14 -14
  420. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  421. package/fesm2022/ngx-tethys-radio.mjs +33 -39
  422. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  423. package/fesm2022/ngx-tethys-rate.mjs +9 -9
  424. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  425. package/fesm2022/ngx-tethys-resizable.mjs +43 -34
  426. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  427. package/fesm2022/ngx-tethys-result.mjs +3 -3
  428. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  429. package/fesm2022/ngx-tethys-segment.mjs +41 -44
  430. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  431. package/fesm2022/ngx-tethys-select.mjs +28 -44
  432. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  433. package/fesm2022/ngx-tethys-shared.mjs +135 -150
  434. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  435. package/fesm2022/ngx-tethys-skeleton.mjs +33 -47
  436. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  437. package/fesm2022/ngx-tethys-slide.mjs +33 -37
  438. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  439. package/fesm2022/ngx-tethys-slider.mjs +7 -7
  440. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  441. package/fesm2022/ngx-tethys-space.mjs +16 -16
  442. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  443. package/fesm2022/ngx-tethys-statistic.mjs +22 -22
  444. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  445. package/fesm2022/ngx-tethys-stepper.mjs +17 -22
  446. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  447. package/fesm2022/ngx-tethys-strength.mjs +11 -11
  448. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  449. package/fesm2022/ngx-tethys-switch.mjs +10 -10
  450. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  451. package/fesm2022/ngx-tethys-table.mjs +107 -124
  452. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  453. package/fesm2022/ngx-tethys-tabs.mjs +29 -32
  454. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  455. package/fesm2022/ngx-tethys-tag.mjs +21 -21
  456. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  457. package/fesm2022/ngx-tethys-time-picker.mjs +70 -80
  458. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  459. package/fesm2022/ngx-tethys-timeline.mjs +26 -26
  460. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  461. package/fesm2022/ngx-tethys-tooltip.mjs +35 -36
  462. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  463. package/fesm2022/ngx-tethys-transfer.mjs +10 -10
  464. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  465. package/fesm2022/ngx-tethys-tree-select.mjs +29 -37
  466. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  467. package/fesm2022/ngx-tethys-tree.mjs +102 -110
  468. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  469. package/fesm2022/ngx-tethys-typography.mjs +18 -18
  470. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  471. package/fesm2022/ngx-tethys-upload.mjs +11 -12
  472. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  473. package/fesm2022/ngx-tethys-vote.mjs +3 -3
  474. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  475. package/fesm2022/ngx-tethys-watermark.mjs +12 -12
  476. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  477. package/fesm2022/ngx-tethys.mjs +1 -1
  478. package/fesm2022/ngx-tethys.mjs.map +1 -1
  479. package/flexible-text/flexible-text.component.d.ts +1 -3
  480. package/form/form-group-error/form-group-error.component.d.ts +1 -3
  481. package/form/form-group-label.directive.d.ts +0 -2
  482. package/form/form-group.component.d.ts +1 -4
  483. package/form/form-submit.directive.d.ts +0 -2
  484. package/form/form-validator.service.d.ts +0 -2
  485. package/form/form.directive.d.ts +4 -4
  486. package/form/from-group-footer/form-group-footer.component.d.ts +2 -4
  487. package/form/validator/unique-validator.directive.d.ts +1 -4
  488. package/fullscreen/fullscreen.component.d.ts +0 -2
  489. package/fullscreen/fullscreen.service.d.ts +0 -2
  490. package/grid/thy-col.directive.d.ts +1 -2
  491. package/grid/thy-grid-item.component.d.ts +2 -4
  492. package/grid/thy-grid.component.d.ts +1 -3
  493. package/guider/guider.directive.d.ts +1 -3
  494. package/guider/guider.service.d.ts +0 -7
  495. package/icon/icon-registry.d.ts +1 -3
  496. package/icon/icon.component.d.ts +1 -3
  497. package/image/image-group.component.d.ts +1 -2
  498. package/image/image.directive.d.ts +1 -3
  499. package/image/image.service.d.ts +2 -2
  500. package/image/preview/image-preview.component.d.ts +1 -4
  501. package/input/input-count.component.d.ts +3 -4
  502. package/input/input-group.component.d.ts +1 -3
  503. package/input/input-search.component.d.ts +2 -2
  504. package/input/input.component.d.ts +1 -2
  505. package/input/input.directive.d.ts +2 -3
  506. package/input-number/input-number.component.d.ts +2 -2
  507. package/layout/sidebar.component.d.ts +44 -13
  508. package/list/selection/selection-list.d.ts +1 -2
  509. package/loading/loading.component.d.ts +0 -2
  510. package/loading/styles/loading.scss +3 -1
  511. package/mention/mention.directive.d.ts +4 -5
  512. package/mention/suggestions/suggestions.component.d.ts +2 -3
  513. package/menu/group/menu-group.component.d.ts +30 -8
  514. package/menu/item/action/menu-item-action.component.d.ts +2 -3
  515. package/menu/item/menu-item.component.d.ts +1 -2
  516. package/message/abstract/abstract-message-container.component.d.ts +1 -2
  517. package/message/abstract/abstract-message.component.d.ts +2 -2
  518. package/message/message-container.component.d.ts +1 -3
  519. package/message/message-queue.service.d.ts +1 -2
  520. package/message/message.component.d.ts +1 -3
  521. package/message/message.service.d.ts +3 -5
  522. package/nav/icon-nav/icon-nav.component.d.ts +2 -2
  523. package/nav/nav-ink-bar.directive.d.ts +2 -4
  524. package/nav/nav-item.directive.d.ts +3 -4
  525. package/nav/nav.component.d.ts +1 -3
  526. package/nav/nav.pipe.d.ts +0 -2
  527. package/notify/notify-container.component.d.ts +1 -3
  528. package/notify/notify-queue.service.d.ts +1 -2
  529. package/notify/notify.component.d.ts +2 -3
  530. package/notify/notify.service.d.ts +1 -4
  531. package/package.json +1 -1
  532. package/pagination/pagination.component.d.ts +2 -4
  533. package/pagination/pagination.pipe.d.ts +0 -2
  534. package/popover/header/popover-header.component.d.ts +0 -3
  535. package/popover/popover-container.component.d.ts +3 -4
  536. package/popover/popover.directive.d.ts +2 -5
  537. package/popover/popover.service.d.ts +4 -6
  538. package/progress/progress-circle.component.d.ts +0 -1
  539. package/progress/progress-strip.component.d.ts +0 -1
  540. package/progress/progress.component.d.ts +0 -1
  541. package/property/property-item.component.d.ts +6 -9
  542. package/property-operation/property-operation.component.d.ts +1 -3
  543. package/radio/button/radio-button.component.d.ts +2 -5
  544. package/radio/group/radio-group.component.d.ts +1 -2
  545. package/radio/radio.component.d.ts +2 -3
  546. package/rate/rate.component.d.ts +2 -2
  547. package/resizable/resizable.directive.d.ts +2 -4
  548. package/resizable/resizable.service.d.ts +2 -2
  549. package/resizable/resize-handle.component.d.ts +2 -7
  550. package/schematics/version.d.ts +1 -1
  551. package/schematics/version.js +1 -1
  552. package/segment/segment-item.component.d.ts +4 -5
  553. package/segment/segment.component.d.ts +2 -7
  554. package/select/custom-select/custom-select.component.d.ts +5 -5
  555. package/select/native-select/native-select.component.d.ts +1 -1
  556. package/shared/base-form-check.component.d.ts +1 -1
  557. package/shared/directives/string-or-template-outlet.directive.d.ts +1 -2
  558. package/shared/directives/thy-autofocus.directive.d.ts +0 -2
  559. package/shared/directives/thy-contextmenu.directive.d.ts +1 -2
  560. package/shared/directives/thy-ctrl-enter.directive.d.ts +1 -2
  561. package/shared/directives/thy-enter.directive.d.ts +1 -2
  562. package/shared/directives/thy-scroll.directive.d.ts +1 -2
  563. package/shared/directives/thy-show.d.ts +1 -2
  564. package/shared/directives/thy-stop-propagation.directive.d.ts +2 -2
  565. package/shared/directives/view-outlet.directive.d.ts +1 -2
  566. package/shared/ng-transclude.directive.d.ts +1 -1
  567. package/shared/option/group/option-group.component.d.ts +1 -2
  568. package/shared/option/list-option/list-option.component.d.ts +6 -7
  569. package/shared/option/option.component.d.ts +5 -5
  570. package/shared/select/select-control/select-control.component.d.ts +1 -2
  571. package/skeleton/skeleton-circle.component.d.ts +1 -4
  572. package/skeleton/skeleton-rectangle.component.d.ts +5 -5
  573. package/skeleton/stylized/bullet-list.component.d.ts +9 -1
  574. package/slide/drawer/drawer-container.directive.d.ts +1 -2
  575. package/slide/slide-container.component.d.ts +3 -4
  576. package/slide/slide-header/slide-header.component.d.ts +0 -2
  577. package/slide/slide.service.d.ts +3 -3
  578. package/slider/slider.component.d.ts +2 -2
  579. package/space/space.component.d.ts +1 -2
  580. package/statistic/statistic.component.d.ts +1 -2
  581. package/stepper/step.component.d.ts +1 -2
  582. package/stepper/stepper-button.directive.d.ts +0 -3
  583. package/strength/strength.component.d.ts +0 -1
  584. package/switch/switch.component.d.ts +1 -1
  585. package/table/table-column.component.d.ts +32 -8
  586. package/table/table-skeleton.component.d.ts +1 -3
  587. package/table/table.component.d.ts +3 -5
  588. package/tabs/tabs.component.d.ts +1 -3
  589. package/tag/tag.component.d.ts +7 -3
  590. package/time-picker/inner/inner-time-picker.component.d.ts +2 -4
  591. package/time-picker/time-picker-panel.component.d.ts +1 -3
  592. package/time-picker/time-picker.component.d.ts +1 -2
  593. package/timeline/timeline-item.component.d.ts +1 -3
  594. package/timeline/timeline.component.d.ts +1 -3
  595. package/tooltip/tooltip.component.d.ts +1 -2
  596. package/tooltip/tooltip.directive.d.ts +6 -9
  597. package/tooltip/tooltip.service.d.ts +2 -4
  598. package/transfer/transfer-list.component.d.ts +1 -2
  599. package/tree/tree-node.component.d.ts +5 -21
  600. package/tree/tree.component.d.ts +1 -2
  601. package/tree-select/tree-select.component.d.ts +5 -6
  602. package/typography/bg-color.directive.d.ts +0 -2
  603. package/typography/text-color.directive.d.ts +1 -2
  604. package/upload/file-select-base.d.ts +2 -3
  605. package/upload/file-select.component.d.ts +1 -0
  606. package/upload/upload.service.d.ts +0 -2
  607. package/watermark/watermark.directive.d.ts +1 -2
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, InjectionToken, Optional, Inject, NgModule } from '@angular/core';
3
- import { NgStyle, NgFor, CommonModule } from '@angular/common';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, InjectionToken, inject, NgModule } from '@angular/core';
3
+ import { NgStyle, CommonModule } from '@angular/common';
4
4
  import { PortalModule } from '@angular/cdk/portal';
5
5
  import { ThyGridModule } from 'ngx-tethys/grid';
6
6
  import { ThyListModule } from 'ngx-tethys/list';
@@ -50,9 +50,9 @@ const THY_SKELETON_CONFIG = new InjectionToken('THY_SKELETON_CONFIG', {
50
50
  * @order 20
51
51
  */
52
52
  class ThySkeletonRectangle {
53
- constructor(skeletonConfigModel, _parent) {
54
- this.skeletonConfigModel = skeletonConfigModel;
55
- this._parent = _parent;
53
+ constructor() {
54
+ this.skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true });
55
+ this._parent = inject(ThySkeleton, { optional: true });
56
56
  this.afterStyles = {};
57
57
  }
58
58
  ngOnInit() {
@@ -85,7 +85,7 @@ class ThySkeletonRectangle {
85
85
  this.crateAfterStyles();
86
86
  }
87
87
  }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonRectangle, deps: [{ token: THY_SKELETON_CONFIG, optional: true }, { token: ThySkeleton, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
88
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonRectangle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
89
89
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonRectangle, isStandalone: true, selector: "thy-skeleton-rectangle", inputs: { thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyBorderRadius: "thyBorderRadius", thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor" }, host: { properties: { "class.thy-skeleton": "true", "class.thy-skeleton-rectangle": "true", "style.background": "thyPrimaryColor", "style.width": "thyRowWidth", "style.height": "thyRowHeight", "style.borderRadius": "thyBorderRadius" } }, usesOnChanges: true, ngImport: i0, template: ` <div class="thy-skeleton-after" [ngStyle]="afterStyles"></div> `, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
90
90
  }
91
91
  __decorate([
@@ -118,14 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
118
118
  standalone: true,
119
119
  imports: [NgStyle]
120
120
  }]
121
- }], ctorParameters: () => [{ type: undefined, decorators: [{
122
- type: Optional
123
- }, {
124
- type: Inject,
125
- args: [THY_SKELETON_CONFIG]
126
- }] }, { type: ThySkeleton, decorators: [{
127
- type: Optional
128
- }] }], propDecorators: { thyAnimated: [{
121
+ }], propDecorators: { thyAnimated: [{
129
122
  type: Input,
130
123
  args: [{ transform: coerceBooleanProperty }]
131
124
  }], thyAnimatedInterval: [{
@@ -148,9 +141,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
148
141
  * @order 30
149
142
  */
150
143
  class ThySkeletonCircle {
151
- constructor(skeletonConfigModel, _parent) {
152
- this.skeletonConfigModel = skeletonConfigModel;
153
- this._parent = _parent;
144
+ constructor() {
145
+ this.skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true });
146
+ this._parent = inject(ThySkeleton, { optional: true });
154
147
  /**
155
148
  * 骨架尺寸
156
149
  * @default 20px
@@ -188,7 +181,7 @@ class ThySkeletonCircle {
188
181
  this.crateAfterStyles();
189
182
  }
190
183
  }
191
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonCircle, deps: [{ token: THY_SKELETON_CONFIG, optional: true }, { token: ThySkeleton, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
184
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonCircle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
192
185
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonCircle, isStandalone: true, selector: "thy-skeleton-circle", inputs: { thyAnimatedInterval: "thyAnimatedInterval", thySize: "thySize", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty] }, host: { properties: { "class.thy-skeleton": "true", "class.thy-skeleton-circle": "true", "style.background": "thyPrimaryColor", "style.width": "thySize", "style.height": "thySize" } }, usesOnChanges: true, ngImport: i0, template: ` <div class="thy-skeleton-after" [ngStyle]="afterStyles"></div> `, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
193
186
  }
194
187
  __decorate([
@@ -212,14 +205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
212
205
  standalone: true,
213
206
  imports: [NgStyle]
214
207
  }]
215
- }], ctorParameters: () => [{ type: undefined, decorators: [{
216
- type: Optional
217
- }, {
218
- type: Inject,
219
- args: [THY_SKELETON_CONFIG]
220
- }] }, { type: ThySkeleton, decorators: [{
221
- type: Optional
222
- }] }], propDecorators: { thyAnimatedInterval: [{
208
+ }], propDecorators: { thyAnimatedInterval: [{
223
209
  type: Input
224
210
  }], thySize: [{
225
211
  type: Input
@@ -251,8 +237,8 @@ class ThySkeletonList {
251
237
  return this.rowCount.length;
252
238
  }
253
239
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
254
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonList, isStandalone: true, selector: "thy-skeleton-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-list": "true" } }, ngImport: i0, template: `
255
- <ng-container *ngFor="let k of rowCount; index as i">
240
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonList, isStandalone: true, selector: "thy-skeleton-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-list": "true" } }, ngImport: i0, template: `
241
+ @for (k of rowCount; track $index; let i = $index) {
256
242
  <thy-skeleton-rectangle
257
243
  class="vertical-gap"
258
244
  [thyRowWidth]="thyRowWidth"
@@ -262,8 +248,8 @@ class ThySkeletonList {
262
248
  [thySecondaryColor]="thySecondaryColor"
263
249
  [thyBorderRadius]="thyBorderRadius"
264
250
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
265
- </ng-container>
266
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
251
+ }
252
+ `, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
267
253
  }
268
254
  __decorate([
269
255
  InputCssPixel(),
@@ -282,7 +268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
282
268
  args: [{
283
269
  selector: 'thy-skeleton-list',
284
270
  template: `
285
- <ng-container *ngFor="let k of rowCount; index as i">
271
+ @for (k of rowCount; track $index; let i = $index) {
286
272
  <thy-skeleton-rectangle
287
273
  class="vertical-gap"
288
274
  [thyRowWidth]="thyRowWidth"
@@ -292,7 +278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
292
278
  [thySecondaryColor]="thySecondaryColor"
293
279
  [thyBorderRadius]="thyBorderRadius"
294
280
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
295
- </ng-container>
281
+ }
296
282
  `,
297
283
  host: {
298
284
  '[class.thy-skeleton-list]': 'true'
@@ -300,7 +286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
300
286
  changeDetection: ChangeDetectionStrategy.OnPush,
301
287
  encapsulation: ViewEncapsulation.None,
302
288
  standalone: true,
303
- imports: [NgFor, ThySkeletonRectangle]
289
+ imports: [ThySkeletonRectangle]
304
290
  }]
305
291
  }], propDecorators: { thyRowWidth: [{
306
292
  type: Input
@@ -340,8 +326,8 @@ class ThySkeletonParagraph {
340
326
  return this.rowCount.length;
341
327
  }
342
328
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonParagraph, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
343
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonParagraph, isStandalone: true, selector: "thy-skeleton-paragraph", inputs: { thyFirstWidth: "thyFirstWidth", thyLastWidth: "thyLastWidth", thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-paragraph": "true" } }, ngImport: i0, template: `
344
- <ng-container *ngFor="let k of rowCount; index as i">
329
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonParagraph, isStandalone: true, selector: "thy-skeleton-paragraph", inputs: { thyFirstWidth: "thyFirstWidth", thyLastWidth: "thyLastWidth", thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-paragraph": "true" } }, ngImport: i0, template: `
330
+ @for (k of rowCount; track $index; let i = $index) {
345
331
  <thy-skeleton-rectangle
346
332
  class="vertical-gap"
347
333
  [thyRowWidth]="i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth"
@@ -351,8 +337,8 @@ class ThySkeletonParagraph {
351
337
  [thySecondaryColor]="thySecondaryColor"
352
338
  [thyBorderRadius]="thyBorderRadius"
353
339
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
354
- </ng-container>
355
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
340
+ }
341
+ `, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
356
342
  }
357
343
  __decorate([
358
344
  InputCssPixel(),
@@ -379,7 +365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
379
365
  args: [{
380
366
  selector: 'thy-skeleton-paragraph',
381
367
  template: `
382
- <ng-container *ngFor="let k of rowCount; index as i">
368
+ @for (k of rowCount; track $index; let i = $index) {
383
369
  <thy-skeleton-rectangle
384
370
  class="vertical-gap"
385
371
  [thyRowWidth]="i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth"
@@ -389,7 +375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
389
375
  [thySecondaryColor]="thySecondaryColor"
390
376
  [thyBorderRadius]="thyBorderRadius"
391
377
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
392
- </ng-container>
378
+ }
393
379
  `,
394
380
  host: {
395
381
  '[class.thy-skeleton-paragraph]': 'true'
@@ -397,7 +383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
397
383
  changeDetection: ChangeDetectionStrategy.OnPush,
398
384
  encapsulation: ViewEncapsulation.None,
399
385
  standalone: true,
400
- imports: [NgFor, ThySkeletonRectangle]
386
+ imports: [ThySkeletonRectangle]
401
387
  }]
402
388
  }], propDecorators: { thyFirstWidth: [{
403
389
  type: Input
@@ -441,8 +427,8 @@ class ThySkeletonBulletList {
441
427
  this.rowCount = [];
442
428
  }
443
429
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonBulletList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
444
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonBulletList, isStandalone: true, selector: "thy-skeleton-bullet-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thySize: "thySize", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-bullet-list": "true" } }, ngImport: i0, template: `
445
- <ng-container *ngFor="let item of rowCount; index as i">
430
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonBulletList, isStandalone: true, selector: "thy-skeleton-bullet-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thySize: "thySize", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-bullet-list": "true" } }, ngImport: i0, template: `
431
+ @for (item of rowCount; track $index; let i = $index) {
446
432
  <div class="d-flex vertical-gap">
447
433
  <thy-skeleton-circle
448
434
  [thyAnimated]="thyAnimated"
@@ -463,8 +449,8 @@ class ThySkeletonBulletList {
463
449
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
464
450
  </div>
465
451
  </div>
466
- </ng-container>
467
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThySkeletonCircle, selector: "thy-skeleton-circle", inputs: ["thyAnimatedInterval", "thySize", "thyPrimaryColor", "thySecondaryColor", "thyAnimated"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
452
+ }
453
+ `, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonCircle, selector: "thy-skeleton-circle", inputs: ["thyAnimatedInterval", "thySize", "thyPrimaryColor", "thySecondaryColor", "thyAnimated"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
468
454
  }
469
455
  __decorate([
470
456
  InputCssPixel(),
@@ -487,7 +473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
487
473
  args: [{
488
474
  selector: 'thy-skeleton-bullet-list',
489
475
  template: `
490
- <ng-container *ngFor="let item of rowCount; index as i">
476
+ @for (item of rowCount; track $index; let i = $index) {
491
477
  <div class="d-flex vertical-gap">
492
478
  <thy-skeleton-circle
493
479
  [thyAnimated]="thyAnimated"
@@ -508,7 +494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
508
494
  [thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
509
495
  </div>
510
496
  </div>
511
- </ng-container>
497
+ }
512
498
  `,
513
499
  host: {
514
500
  '[class.thy-skeleton-bullet-list]': 'true'
@@ -516,7 +502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
516
502
  changeDetection: ChangeDetectionStrategy.OnPush,
517
503
  encapsulation: ViewEncapsulation.None,
518
504
  standalone: true,
519
- imports: [NgFor, ThySkeletonCircle, ThySkeletonRectangle]
505
+ imports: [ThySkeletonCircle, ThySkeletonRectangle]
520
506
  }]
521
507
  }], ctorParameters: () => [], propDecorators: { thyRowWidth: [{
522
508
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-skeleton.mjs","sources":["../../../src/skeleton/skeleton.component.ts","../../../src/skeleton/skeleton.config.ts","../../../src/skeleton/skeleton-rectangle.component.ts","../../../src/skeleton/skeleton-circle.component.ts","../../../src/skeleton/stylized/list.component.ts","../../../src/skeleton/stylized/paragraph.component.ts","../../../src/skeleton/stylized/bullet-list.component.ts","../../../src/skeleton/module.ts","../../../src/skeleton/ngx-tethys-skeleton.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏组件\n * @name thy-skeleton\n * @order 10\n */\n@Component({\n selector: 'thy-skeleton',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class ThySkeleton {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色调\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色调\n */\n @Input() thySecondaryColor: string;\n}\n","import { InjectionToken } from '@angular/core';\nexport interface ThySkeletonConfigModel {\n thyAnimatedInterval?: string | number;\n thyPrimaryColor?: string;\n thySecondaryColor?: string;\n thyAnimated?: boolean;\n}\n\nexport const THY_SKELETON_CONFIG = new InjectionToken<ThySkeletonConfigModel>('THY_SKELETON_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return {};\n }\n});\n","import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n OnInit,\n Optional,\n OnChanges,\n SimpleChanges,\n Inject\n} from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏矩形组件\n * @name thy-skeleton-rectangle\n * @order 20\n */\n@Component({\n selector: 'thy-skeleton-rectangle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-rectangle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thyRowWidth',\n '[style.height]': 'thyRowHeight',\n '[style.borderRadius]': 'thyBorderRadius'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonRectangle implements OnInit, OnChanges {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n afterStyles: Style = {};\n\n constructor(\n @Optional()\n @Inject(THY_SKELETON_CONFIG)\n private skeletonConfigModel: ThySkeletonConfigModel,\n @Optional() private _parent: ThySkeleton\n ) {}\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated })\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n OnInit,\n Optional,\n OnChanges,\n SimpleChanges,\n Inject\n} from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏圆形组件\n * @name thy-skeleton-circle\n * @order 30\n */\n@Component({\n selector: 'thy-skeleton-circle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-circle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thySize',\n '[style.height]': 'thySize'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonCircle implements OnInit, OnChanges {\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架尺寸\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thySize: string | number = 20;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * 是否展示动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n public afterStyles: Style = {};\n\n constructor(\n @Optional()\n @Inject(THY_SKELETON_CONFIG)\n private skeletonConfigModel: ThySkeletonConfigModel,\n @Optional() private _parent: ThySkeleton\n ) {}\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated }) // do it because @InputBoolean() lead to cannot get thyAnimated from _parent inject\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { NgFor } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏列表组件\n * @name thy-skeleton-list\n * @order 40\n */\n@Component({\n selector: 'thy-skeleton-list',\n template: `\n <ng-container *ngFor=\"let k of rowCount; index as i\">\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonRectangle]\n})\nexport class ThySkeletonList {\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { NgFor } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏段落组件\n * @name thy-skeleton-paragraph\n * @order 60\n */\n@Component({\n selector: 'thy-skeleton-paragraph',\n template: `\n <ng-container *ngFor=\"let k of rowCount; index as i\">\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-paragraph]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonRectangle]\n})\nexport class ThySkeletonParagraph {\n /**\n * 首行宽度\n */\n @Input()\n @InputCssPixel()\n thyFirstWidth: string | number;\n\n /**\n * 尾行宽度\n */\n @Input()\n @InputCssPixel()\n thyLastWidth: string | number;\n\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\n\nimport { NgFor } from '@angular/common';\nimport { ThySkeletonCircle } from '../skeleton-circle.component';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏无序列表组件\n * @name thy-skeleton-bullet-list\n * @order 50\n */\n@Component({\n selector: 'thy-skeleton-bullet-list',\n template: `\n <ng-container *ngFor=\"let item of rowCount; index as i\">\n <div class=\"d-flex vertical-gap\">\n <thy-skeleton-circle\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thySize]=\"thySize\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\">\n </thy-skeleton-circle>\n <div class=\"horizontal-gap\"></div>\n <div style=\"flex: 1\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </div>\n </div>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-bullet-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonCircle, ThySkeletonRectangle]\n})\nexport class ThySkeletonBulletList {\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n * @default #f7f7f7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * circle类型骨架尺寸\n */\n @Input()\n @InputCssPixel()\n thySize: string | number;\n\n rowCount: number[] = [];\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n\n constructor() {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ThyGridModule } from 'ngx-tethys/grid';\nimport { ThyListModule } from 'ngx-tethys/list';\n\nimport { ThySkeleton } from './skeleton.component';\nimport { ThySkeletonRectangle } from './skeleton-rectangle.component';\nimport { ThySkeletonCircle } from './skeleton-circle.component';\nimport { ThySkeletonList } from './stylized/list.component';\nimport { ThySkeletonParagraph } from './stylized/paragraph.component';\nimport { ThySkeletonBulletList } from './stylized/bullet-list.component';\n\nconst components = [ThySkeleton, ThySkeletonRectangle, ThySkeletonCircle, ThySkeletonList, ThySkeletonParagraph, ThySkeletonBulletList];\n@NgModule({\n imports: [CommonModule, PortalModule, ThyGridModule, ThyListModule, ...components],\n exports: components,\n providers: []\n})\nexport class ThySkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThySkeleton"],"mappings":";;;;;;;;;;AAGA;;;;AAIG;MAQU,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAKA,qBAAqB,CAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAV/B,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAA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AA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJhB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;AAClF,oBAAA,OAAO,EAAE,UAAU;AACnB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-skeleton.mjs","sources":["../../../src/skeleton/skeleton.component.ts","../../../src/skeleton/skeleton.config.ts","../../../src/skeleton/skeleton-rectangle.component.ts","../../../src/skeleton/skeleton-circle.component.ts","../../../src/skeleton/stylized/list.component.ts","../../../src/skeleton/stylized/paragraph.component.ts","../../../src/skeleton/stylized/bullet-list.component.ts","../../../src/skeleton/module.ts","../../../src/skeleton/ngx-tethys-skeleton.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏组件\n * @name thy-skeleton\n * @order 10\n */\n@Component({\n selector: 'thy-skeleton',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class ThySkeleton {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色调\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色调\n */\n @Input() thySecondaryColor: string;\n}\n","import { InjectionToken } from '@angular/core';\nexport interface ThySkeletonConfigModel {\n thyAnimatedInterval?: string | number;\n thyPrimaryColor?: string;\n thySecondaryColor?: string;\n thyAnimated?: boolean;\n}\n\nexport const THY_SKELETON_CONFIG = new InjectionToken<ThySkeletonConfigModel>('THY_SKELETON_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return {};\n }\n});\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, OnChanges, SimpleChanges, inject } from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏矩形组件\n * @name thy-skeleton-rectangle\n * @order 20\n */\n@Component({\n selector: 'thy-skeleton-rectangle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-rectangle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thyRowWidth',\n '[style.height]': 'thyRowHeight',\n '[style.borderRadius]': 'thyBorderRadius'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonRectangle implements OnInit, OnChanges {\n private skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true })!;\n private _parent = inject(ThySkeleton, { optional: true })!;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n afterStyles: Style = {};\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated })\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, OnChanges, SimpleChanges, inject } from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏圆形组件\n * @name thy-skeleton-circle\n * @order 30\n */\n@Component({\n selector: 'thy-skeleton-circle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-circle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thySize',\n '[style.height]': 'thySize'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonCircle implements OnInit, OnChanges {\n private skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true })!;\n private _parent = inject(ThySkeleton, { optional: true })!;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架尺寸\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thySize: string | number = 20;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * 是否展示动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n public afterStyles: Style = {};\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated }) // do it because @InputBoolean() lead to cannot get thyAnimated from _parent inject\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏列表组件\n * @name thy-skeleton-list\n * @order 40\n */\n@Component({\n selector: 'thy-skeleton-list',\n template: `\n @for (k of rowCount; track $index; let i = $index) {\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n }\n `,\n host: {\n '[class.thy-skeleton-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonRectangle]\n})\nexport class ThySkeletonList {\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏段落组件\n * @name thy-skeleton-paragraph\n * @order 60\n */\n@Component({\n selector: 'thy-skeleton-paragraph',\n template: `\n @for (k of rowCount; track $index; let i = $index) {\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n }\n `,\n host: {\n '[class.thy-skeleton-paragraph]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonRectangle]\n})\nexport class ThySkeletonParagraph {\n /**\n * 首行宽度\n */\n @Input()\n @InputCssPixel()\n thyFirstWidth: string | number;\n\n /**\n * 尾行宽度\n */\n @Input()\n @InputCssPixel()\n thyLastWidth: string | number;\n\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\n\nimport { ThySkeletonCircle } from '../skeleton-circle.component';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏无序列表组件\n * @name thy-skeleton-bullet-list\n * @order 50\n */\n@Component({\n selector: 'thy-skeleton-bullet-list',\n template: `\n @for (item of rowCount; track $index; let i = $index) {\n <div class=\"d-flex vertical-gap\">\n <thy-skeleton-circle\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thySize]=\"thySize\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\">\n </thy-skeleton-circle>\n <div class=\"horizontal-gap\"></div>\n <div style=\"flex: 1\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </div>\n </div>\n }\n `,\n host: {\n '[class.thy-skeleton-bullet-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonCircle, ThySkeletonRectangle]\n})\nexport class ThySkeletonBulletList {\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n * @default #f7f7f7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * circle类型骨架尺寸\n */\n @Input()\n @InputCssPixel()\n thySize: string | number;\n\n rowCount: number[] = [];\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n\n constructor() {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ThyGridModule } from 'ngx-tethys/grid';\nimport { ThyListModule } from 'ngx-tethys/list';\n\nimport { ThySkeleton } from './skeleton.component';\nimport { ThySkeletonRectangle } from './skeleton-rectangle.component';\nimport { ThySkeletonCircle } from './skeleton-circle.component';\nimport { ThySkeletonList } from './stylized/list.component';\nimport { ThySkeletonParagraph } from './stylized/paragraph.component';\nimport { ThySkeletonBulletList } from './stylized/bullet-list.component';\n\nconst components = [ThySkeleton, ThySkeletonRectangle, ThySkeletonCircle, ThySkeletonList, ThySkeletonParagraph, ThySkeletonBulletList];\n@NgModule({\n imports: [CommonModule, PortalModule, ThyGridModule, ThyListModule, ...components],\n exports: components,\n providers: []\n})\nexport class ThySkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAGA;;;;AAIG;MAQU,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAKA,qBAAqB,CAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAV/B,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAK9B,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,QAAQ,EAAE,CAA6B,2BAAA,CAAA;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iBAAiB,CAAC,IAAI;AACrC,o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AiB,EAAE,eAAe,EAAE,oBAAoB,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAMzH,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,iBAAiB,YAJhB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;AAClF,oBAAA,OAAO,EAAE,UAAU;AACnB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, ElementRef, Component, Inject, ViewChild, Injectable, Injector, Optional, ViewEncapsulation, HostBinding, Input, ContentChild, Directive, NgModule } from '@angular/core';
3
- import { DOCUMENT, NgIf, NgTemplateOutlet, CommonModule } from '@angular/common';
2
+ import { InjectionToken, inject, ChangeDetectorRef, ElementRef, Renderer2, NgZone, Component, ViewChild, Injectable, Injector, ViewEncapsulation, HostBinding, Input, ContentChild, Directive, NgModule } from '@angular/core';
3
+ import { DOCUMENT, NgTemplateOutlet, CommonModule } from '@angular/common';
4
4
  import { ThySharedModule } from 'ngx-tethys/shared';
5
5
  import { ThyAbstractOverlayConfig, ThyAbstractOverlayContainer, ThyPortalOutlet, ThyAbstractOverlayRef, ThyAbstractInternalOverlayRef, ThyAbstractOverlayService } from 'ngx-tethys/core';
6
6
  import { helpers, coerceArray, coerceBooleanProperty } from 'ngx-tethys/util';
@@ -8,7 +8,7 @@ import { Subject, of } from 'rxjs';
8
8
  import { Directionality } from '@angular/cdk/bidi';
9
9
  import { coerceElement } from '@angular/cdk/coercion';
10
10
  import * as i1 from '@angular/cdk/overlay';
11
- import { OverlayModule } from '@angular/cdk/overlay';
11
+ import { ViewportRuler, Overlay, OverlayModule } from '@angular/cdk/overlay';
12
12
  import { PortalModule, ComponentPortal } from '@angular/cdk/portal';
13
13
  import { filter, startWith, takeUntil } from 'rxjs/operators';
14
14
  import { useHostRenderer } from '@tethys/cdk/dom';
@@ -113,14 +113,15 @@ class ThySlideContainer extends ThyAbstractOverlayContainer {
113
113
  get drawerContainerElementClass() {
114
114
  return `thy-slide-${this.config.mode}-drawer-container`;
115
115
  }
116
- constructor(elementRef, document, config, changeDetectorRef, renderer, viewportRuler, ngZone) {
116
+ constructor() {
117
+ const changeDetectorRef = inject(ChangeDetectorRef);
117
118
  super(slideAbstractOverlayOptions, changeDetectorRef);
118
- this.elementRef = elementRef;
119
- this.document = document;
120
- this.config = config;
121
- this.renderer = renderer;
122
- this.viewportRuler = viewportRuler;
123
- this.ngZone = ngZone;
119
+ this.elementRef = inject(ElementRef);
120
+ this.document = inject(DOCUMENT);
121
+ this.config = inject(ThySlideConfig);
122
+ this.renderer = inject(Renderer2);
123
+ this.viewportRuler = inject(ViewportRuler);
124
+ this.ngZone = inject(NgZone);
124
125
  this.animationState = 'void';
125
126
  this.slideContainerStyles = {};
126
127
  this.ngUnsubscribe$ = new Subject();
@@ -223,7 +224,7 @@ class ThySlideContainer extends ThyAbstractOverlayContainer {
223
224
  this.ngUnsubscribe$.next();
224
225
  this.ngUnsubscribe$.complete();
225
226
  }
226
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: ThySlideConfig }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.ViewportRuler }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
227
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
227
228
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThySlideContainer, isStandalone: true, selector: "thy-slide-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@slideContainer.start": "onAnimationStart($event)", "@slideContainer.done": "onAnimationDone($event)" }, properties: { "class.thy-slide-push": "isPush", "class.thy-slide-side": "isSide", "class.thy-slide-over": "!isPush && !isSide", "attr.role": "'slide'", "@slideContainer": "animationState", "style.width.px": "slideContainerStyles.width", "style.height.px": "slideContainerStyles.height", "style.max-height.px": "slideContainerStyles.height" }, classAttribute: "thy-slide-container" }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: ThyPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template thyPortalOutlet></ng-template> `, isInline: true, dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: ThyPortalOutlet, selector: "[thyPortalOutlet]", inputs: ["thyPortalOutlet"], exportAs: ["thyPortalOutlet"] }], animations: [thySlideAnimations.slideContainer] }); }
228
229
  }
229
230
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, decorators: [{
@@ -249,10 +250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
249
250
  standalone: true,
250
251
  imports: [PortalModule, ThyPortalOutlet]
251
252
  }]
252
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
253
- type: Inject,
254
- args: [DOCUMENT]
255
- }] }, { type: ThySlideConfig }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.ViewportRuler }, { type: i0.NgZone }], propDecorators: { portalOutlet: [{
253
+ }], ctorParameters: () => [], propDecorators: { portalOutlet: [{
256
254
  type: ViewChild,
257
255
  args: [ThyPortalOutlet, { static: true }]
258
256
  }] } });
@@ -341,8 +339,11 @@ class ThySlideService extends ThyAbstractOverlayService {
341
339
  }
342
340
  return openedOverlay;
343
341
  }
344
- constructor(overlay, injector, defaultConfig) {
342
+ constructor() {
343
+ const defaultConfig = inject(THY_SLIDE_DEFAULT_CONFIG, { optional: true });
345
344
  const slideDefaultConfig = Object.assign({}, slideDefaultConfigValue, defaultConfig);
345
+ const overlay = inject(Overlay);
346
+ const injector = inject(Injector);
346
347
  super(slideAbstractOverlayOptions, overlay, injector, slideDefaultConfig);
347
348
  }
348
349
  /**
@@ -362,17 +363,12 @@ class ThySlideService extends ThyAbstractOverlayService {
362
363
  ngOnDestroy() {
363
364
  this.dispose();
364
365
  }
365
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: THY_SLIDE_DEFAULT_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
366
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
366
367
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService }); }
367
368
  }
368
369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, decorators: [{
369
370
  type: Injectable
370
- }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }, { type: ThySlideConfig, decorators: [{
371
- type: Optional
372
- }, {
373
- type: Inject,
374
- args: [THY_SLIDE_DEFAULT_CONFIG]
375
- }] }] });
371
+ }], ctorParameters: () => [] });
376
372
 
377
373
  /**
378
374
  * @name thy-slide-layout
@@ -405,6 +401,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
405
401
  * @order 40
406
402
  */
407
403
  class ThySlideHeader {
404
+ constructor() {
405
+ this.thySlideService = inject(ThySlideService);
406
+ this.isIconFont = false;
407
+ this._iconName = '';
408
+ this.slideLayoutHeader = true;
409
+ }
408
410
  /**
409
411
  * 标题的图标
410
412
  */
@@ -420,24 +422,18 @@ class ThySlideHeader {
420
422
  get thyIcon() {
421
423
  return this._iconName;
422
424
  }
423
- constructor(thySlideService) {
424
- this.thySlideService = thySlideService;
425
- this.isIconFont = false;
426
- this._iconName = '';
427
- this.slideLayoutHeader = true;
428
- }
429
425
  ngOnInit() { }
430
426
  closeModal(event) {
431
427
  event.stopPropagation();
432
428
  this.thySlideService.close();
433
429
  }
434
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, deps: [{ token: ThySlideService }], target: i0.ɵɵFactoryTarget.Component }); }
435
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThySlideHeader, isStandalone: true, selector: "thy-slide-header", inputs: { thyTitle: "thyTitle", thyIcon: "thyIcon" }, host: { properties: { "class.thy-slide-header": "this.slideLayoutHeader" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["thyHeader"], descendants: true }, { propertyName: "headerOperateTemplate", first: true, predicate: ["thyHeaderOperate"], descendants: true }], ngImport: i0, template: "<ng-template *ngIf=\"headerTemplate; else default\" [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n<ng-template #default>\n <h3 class=\"thy-slide-header-title\">\n <thy-icon *ngIf=\"!isIconFont && thyIcon; else iconFont\" [thyIconName]=\"thyIcon\"></thy-icon>\n <ng-template #iconFont>\n <i *ngIf=\"thyIcon\" class=\"wft {{ thyIcon }}\"></i>\n </ng-template>\n {{ thyTitle }}\n </h3>\n\n <div class=\"thy-slide-header-main\">\n <ng-container>\n <ng-template *ngIf=\"headerOperateTemplate\" [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] }); }
430
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
431
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySlideHeader, isStandalone: true, selector: "thy-slide-header", inputs: { thyTitle: "thyTitle", thyIcon: "thyIcon" }, host: { properties: { "class.thy-slide-header": "this.slideLayoutHeader" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["thyHeader"], descendants: true }, { propertyName: "headerOperateTemplate", first: true, predicate: ["thyHeaderOperate"], descendants: true }], ngImport: i0, template: "@if (headerTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n} @else {\n <h3 class=\"thy-slide-header-title\">\n @if (!isIconFont && thyIcon) {\n <thy-icon [thyIconName]=\"thyIcon\"></thy-icon>\n } @else {\n @if (thyIcon) {\n <i class=\"wft {{ thyIcon }}\"></i>\n }\n }\n {{ thyTitle }}\n </h3>\n <div class=\"thy-slide-header-main\">\n <ng-container>\n @if (headerOperateTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n }\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] }); }
436
432
  }
437
433
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, decorators: [{
438
434
  type: Component,
439
- args: [{ selector: 'thy-slide-header', standalone: true, imports: [NgIf, NgTemplateOutlet, ThyIcon, ThyAction], template: "<ng-template *ngIf=\"headerTemplate; else default\" [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n<ng-template #default>\n <h3 class=\"thy-slide-header-title\">\n <thy-icon *ngIf=\"!isIconFont && thyIcon; else iconFont\" [thyIconName]=\"thyIcon\"></thy-icon>\n <ng-template #iconFont>\n <i *ngIf=\"thyIcon\" class=\"wft {{ thyIcon }}\"></i>\n </ng-template>\n {{ thyTitle }}\n </h3>\n\n <div class=\"thy-slide-header-main\">\n <ng-container>\n <ng-template *ngIf=\"headerOperateTemplate\" [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n</ng-template>\n" }]
440
- }], ctorParameters: () => [{ type: ThySlideService }], propDecorators: { slideLayoutHeader: [{
435
+ args: [{ selector: 'thy-slide-header', standalone: true, imports: [NgTemplateOutlet, ThyIcon, ThyAction], template: "@if (headerTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n} @else {\n <h3 class=\"thy-slide-header-title\">\n @if (!isIconFont && thyIcon) {\n <thy-icon [thyIconName]=\"thyIcon\"></thy-icon>\n } @else {\n @if (thyIcon) {\n <i class=\"wft {{ thyIcon }}\"></i>\n }\n }\n {{ thyTitle }}\n </h3>\n <div class=\"thy-slide-header-main\">\n <ng-container>\n @if (headerOperateTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n }\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n}\n" }]
436
+ }], propDecorators: { slideLayoutHeader: [{
441
437
  type: HostBinding,
442
438
  args: ['class.thy-slide-header']
443
439
  }], thyTitle: [{
@@ -542,10 +538,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
542
538
  * @order 60
543
539
  */
544
540
  class ThyDrawerContainerDirective {
545
- constructor(elementRef) {
546
- this.elementRef = elementRef;
541
+ constructor() {
542
+ this.elementRef = inject(ElementRef);
547
543
  }
548
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
544
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
549
545
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyDrawerContainerDirective, isStandalone: true, selector: "[thyDrawerContainer]", ngImport: i0 }); }
550
546
  }
551
547
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, decorators: [{
@@ -554,7 +550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
554
550
  selector: '[thyDrawerContainer]',
555
551
  standalone: true
556
552
  }]
557
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
553
+ }] });
558
554
 
559
555
  class ThySlideModule {
560
556
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }