ngx-tethys 18.0.0 → 18.0.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 (614) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/action/styles/action.scss +1 -1
  3. package/action/styles/mixin.scss +8 -3
  4. package/alert/styles/mixin.scss +3 -10
  5. package/back-top/examples/custom/custom.scss +3 -1
  6. package/badge/examples/basic/basic.component.scss +3 -1
  7. package/badge/examples/custom-color/custom-color.component.scss +3 -1
  8. package/badge/examples/overflow/overflow.component.scss +3 -1
  9. package/badge/examples/state-point/state-point.component.scss +3 -1
  10. package/badge/examples/type/type.component.scss +3 -1
  11. package/badge/styles/badge.scss +1 -1
  12. package/badge/styles/mixin.scss +2 -16
  13. package/button/styles/button.scss +8 -7
  14. package/button/styles/mixin.scss +22 -15
  15. package/carousel/styles/variables.scss +1 -1
  16. package/cascader/cascader.service.d.ts +1 -1
  17. package/cascader/styles/cascader.scss +3 -6
  18. package/collapse/examples/custom/custom.component.scss +3 -1
  19. package/color-picker/parts/inputs/inputs.component.d.ts +1 -0
  20. package/color-picker/styles/inputs.scss +8 -1
  21. package/color-picker/styles/saturation.scss +3 -3
  22. package/core/debounce-time.d.ts +8 -0
  23. package/core/index.d.ts +1 -0
  24. package/date-picker/styles/decade-panel.scss +1 -1
  25. package/date-picker/styles/mixin.scss +1 -1
  26. package/date-picker/styles/picker.scss +3 -0
  27. package/date-picker/styles/variables.scss +1 -4
  28. package/date-picker/styles/year-panel.scss +1 -1
  29. package/drag-drop/examples/tree-drag/tree-drag.component.scss +0 -1
  30. package/dropdown/styles/dropdown.scss +1 -1
  31. package/esm2022/action/action.component.mjs +4 -4
  32. package/esm2022/action/action.module.mjs +4 -4
  33. package/esm2022/action/actions.component.mjs +3 -3
  34. package/esm2022/affix/affix.component.mjs +4 -4
  35. package/esm2022/affix/affix.module.mjs +4 -4
  36. package/esm2022/alert/alert.component.mjs +3 -3
  37. package/esm2022/alert/alert.directive.mjs +3 -3
  38. package/esm2022/alert/alert.module.mjs +4 -4
  39. package/esm2022/anchor/anchor-link.component.mjs +4 -4
  40. package/esm2022/anchor/anchor.component.mjs +4 -4
  41. package/esm2022/anchor/anchor.module.mjs +4 -4
  42. package/esm2022/arrow-switcher/arrow-switcher.component.mjs +3 -3
  43. package/esm2022/arrow-switcher/module.mjs +4 -4
  44. package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
  45. package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +3 -3
  46. package/esm2022/autocomplete/module.mjs +4 -4
  47. package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +3 -3
  48. package/esm2022/autocomplete/overlay/autocomplete.service.mjs +3 -3
  49. package/esm2022/avatar/avatar-list/avatar-list.component.mjs +3 -3
  50. package/esm2022/avatar/avatar.component.mjs +4 -4
  51. package/esm2022/avatar/avatar.module.mjs +4 -4
  52. package/esm2022/avatar/avatar.pipe.mjs +9 -9
  53. package/esm2022/avatar/avatar.service.mjs +3 -3
  54. package/esm2022/back-top/back-top.component.mjs +3 -3
  55. package/esm2022/back-top/back-top.module.mjs +4 -4
  56. package/esm2022/badge/badge.component.mjs +3 -3
  57. package/esm2022/badge/badge.module.mjs +4 -4
  58. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +4 -4
  59. package/esm2022/breadcrumb/breadcrumb.component.mjs +3 -3
  60. package/esm2022/breadcrumb/module.mjs +4 -4
  61. package/esm2022/button/button-group.component.mjs +3 -3
  62. package/esm2022/button/button-icon.component.mjs +3 -3
  63. package/esm2022/button/button.component.mjs +4 -4
  64. package/esm2022/button/button.module.mjs +4 -4
  65. package/esm2022/calendar/calendar-cells.mjs +6 -6
  66. package/esm2022/calendar/calendar-header.component.mjs +3 -3
  67. package/esm2022/calendar/calendar.component.mjs +3 -3
  68. package/esm2022/calendar/module.mjs +4 -4
  69. package/esm2022/card/card.component.mjs +3 -3
  70. package/esm2022/card/card.module.mjs +4 -4
  71. package/esm2022/card/content.component.mjs +3 -3
  72. package/esm2022/card/header.component.mjs +3 -3
  73. package/esm2022/carousel/carousel-item.directive.mjs +4 -4
  74. package/esm2022/carousel/carousel.component.mjs +7 -7
  75. package/esm2022/carousel/carousel.service.mjs +4 -4
  76. package/esm2022/carousel/module.mjs +4 -4
  77. package/esm2022/cascader/cascader-li.component.mjs +3 -3
  78. package/esm2022/cascader/cascader-search-option.component.mjs +3 -3
  79. package/esm2022/cascader/cascader.component.mjs +7 -7
  80. package/esm2022/cascader/cascader.service.mjs +9 -21
  81. package/esm2022/cascader/module.mjs +4 -4
  82. package/esm2022/checkbox/checkbox.component.mjs +3 -3
  83. package/esm2022/checkbox/module.mjs +4 -4
  84. package/esm2022/collapse/collapse-item.component.mjs +4 -4
  85. package/esm2022/collapse/collapse.component.mjs +3 -3
  86. package/esm2022/collapse/module.mjs +4 -4
  87. package/esm2022/color-picker/color-picker-custom-panel.component.mjs +3 -3
  88. package/esm2022/color-picker/color-picker-panel.component.mjs +3 -3
  89. package/esm2022/color-picker/color-picker.component.mjs +4 -4
  90. package/esm2022/color-picker/coordinates.directive.mjs +3 -3
  91. package/esm2022/color-picker/helpers/rgba.class.mjs +1 -1
  92. package/esm2022/color-picker/module.mjs +4 -4
  93. package/esm2022/color-picker/parts/alpha/alpha.component.mjs +3 -3
  94. package/esm2022/color-picker/parts/hue/hue.component.mjs +3 -3
  95. package/esm2022/color-picker/parts/indicator/indicator.component.mjs +3 -3
  96. package/esm2022/color-picker/parts/inputs/inputs.component.mjs +20 -10
  97. package/esm2022/color-picker/parts/saturation/saturation.component.mjs +3 -3
  98. package/esm2022/comment/comment-actions.directive.mjs +3 -3
  99. package/esm2022/comment/comment-content.directive.mjs +3 -3
  100. package/esm2022/comment/comment.component.mjs +3 -3
  101. package/esm2022/comment/comment.module.mjs +4 -4
  102. package/esm2022/copy/copy.directive.mjs +3 -3
  103. package/esm2022/copy/module.mjs +4 -4
  104. package/esm2022/core/click-positioner.mjs +3 -3
  105. package/esm2022/core/debounce-time.mjs +11 -0
  106. package/esm2022/core/index.mjs +2 -1
  107. package/esm2022/core/overlay/abstract-overlay-container.mjs +1 -1
  108. package/esm2022/core/overlay/overlay.directive.mjs +1 -1
  109. package/esm2022/core/overlay/portal-directives.mjs +3 -3
  110. package/esm2022/core/scroll.mjs +4 -4
  111. package/esm2022/core/store/store.mjs +3 -3
  112. package/esm2022/core/translate.mjs +3 -3
  113. package/esm2022/core/update-host-class.service.mjs +3 -3
  114. package/esm2022/date-picker/abstract-picker.component.mjs +3 -3
  115. package/esm2022/date-picker/abstract-picker.directive.mjs +4 -4
  116. package/esm2022/date-picker/base-picker.component.mjs +4 -4
  117. package/esm2022/date-picker/date-helper.service.mjs +3 -3
  118. package/esm2022/date-picker/date-picker.component.mjs +3 -3
  119. package/esm2022/date-picker/date-picker.directive.mjs +3 -3
  120. package/esm2022/date-picker/date-picker.module.mjs +4 -4
  121. package/esm2022/date-picker/date-picker.service.mjs +3 -3
  122. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +3 -3
  123. package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +3 -3
  124. package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +3 -3
  125. package/esm2022/date-picker/lib/date/date-header.component.mjs +3 -3
  126. package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +3 -3
  127. package/esm2022/date-picker/lib/date/date-table.component.mjs +4 -4
  128. package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +3 -3
  129. package/esm2022/date-picker/lib/decade/decade-header.component.mjs +3 -3
  130. package/esm2022/date-picker/lib/decade/decade-table.component.mjs +3 -3
  131. package/esm2022/date-picker/lib/lib-packer.module.mjs +4 -4
  132. package/esm2022/date-picker/lib/month/month-header.component.mjs +3 -3
  133. package/esm2022/date-picker/lib/month/month-table.component.mjs +3 -3
  134. package/esm2022/date-picker/lib/popups/date-popup.component.mjs +4 -4
  135. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +3 -3
  136. package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +3 -3
  137. package/esm2022/date-picker/lib/year/year-header.component.mjs +3 -3
  138. package/esm2022/date-picker/lib/year/year-table.component.mjs +3 -3
  139. package/esm2022/date-picker/month-picker.component.mjs +4 -4
  140. package/esm2022/date-picker/picker.component.mjs +5 -5
  141. package/esm2022/date-picker/picker.pipes.mjs +12 -12
  142. package/esm2022/date-picker/picker.validators.mjs +6 -6
  143. package/esm2022/date-picker/quarter-picker.component.mjs +4 -4
  144. package/esm2022/date-picker/range-picker.component.mjs +4 -4
  145. package/esm2022/date-picker/range-picker.directive.mjs +3 -3
  146. package/esm2022/date-picker/week-picker.component.mjs +4 -4
  147. package/esm2022/date-picker/year-picker.component.mjs +4 -4
  148. package/esm2022/date-range/date-range.component.mjs +4 -4
  149. package/esm2022/date-range/module.mjs +4 -4
  150. package/esm2022/date-range/optional-dates/optional-dates.component.mjs +3 -3
  151. package/esm2022/dialog/body/dialog-body.component.mjs +3 -3
  152. package/esm2022/dialog/confirm/confirm.component.mjs +3 -3
  153. package/esm2022/dialog/dialog-container.component.mjs +3 -3
  154. package/esm2022/dialog/dialog.module.mjs +4 -4
  155. package/esm2022/dialog/dialog.service.mjs +3 -3
  156. package/esm2022/dialog/footer/dialog-footer.component.mjs +3 -3
  157. package/esm2022/dialog/header/dialog-header.component.mjs +3 -3
  158. package/esm2022/divider/divider.component.mjs +3 -3
  159. package/esm2022/divider/divider.module.mjs +4 -4
  160. package/esm2022/dot/dot.component.mjs +4 -4
  161. package/esm2022/dot/dot.module.mjs +4 -4
  162. package/esm2022/drag-drop/drag-content.directive.mjs +4 -4
  163. package/esm2022/drag-drop/drag-drop.service.mjs +3 -3
  164. package/esm2022/drag-drop/drag-handle.directive.mjs +4 -4
  165. package/esm2022/drag-drop/drag.directive.mjs +3 -3
  166. package/esm2022/drag-drop/drop-container.directive.mjs +3 -3
  167. package/esm2022/drag-drop/module.mjs +4 -4
  168. package/esm2022/dropdown/dropdown-active.directive.mjs +4 -4
  169. package/esm2022/dropdown/dropdown-menu-item.directive.mjs +21 -21
  170. package/esm2022/dropdown/dropdown-menu.component.mjs +12 -12
  171. package/esm2022/dropdown/dropdown-submenu.component.mjs +4 -4
  172. package/esm2022/dropdown/dropdown.directive.mjs +3 -3
  173. package/esm2022/dropdown/module.mjs +4 -4
  174. package/esm2022/empty/empty.component.mjs +3 -3
  175. package/esm2022/empty/empty.config.mjs +3 -3
  176. package/esm2022/empty/empty.module.mjs +4 -4
  177. package/esm2022/flexible-text/flexible-text.component.mjs +3 -3
  178. package/esm2022/flexible-text/flexible-text.module.mjs +4 -4
  179. package/esm2022/form/form-group-error/form-group-error.component.mjs +3 -3
  180. package/esm2022/form/form-group-label.directive.mjs +3 -3
  181. package/esm2022/form/form-group.component.mjs +4 -4
  182. package/esm2022/form/form-submit.directive.mjs +3 -3
  183. package/esm2022/form/form-validator-loader.mjs +3 -3
  184. package/esm2022/form/form-validator.service.mjs +3 -3
  185. package/esm2022/form/form.directive.mjs +3 -3
  186. package/esm2022/form/from-group-footer/form-group-footer.component.mjs +4 -4
  187. package/esm2022/form/module.mjs +4 -4
  188. package/esm2022/form/validator/confirm-validator.directive.mjs +3 -3
  189. package/esm2022/form/validator/max-validator.directive.mjs +3 -3
  190. package/esm2022/form/validator/min-validator.directive.mjs +3 -3
  191. package/esm2022/form/validator/unique-validator.directive.mjs +4 -4
  192. package/esm2022/fullscreen/fullscreen-launch.directive.mjs +3 -3
  193. package/esm2022/fullscreen/fullscreen-ref.mjs +3 -2
  194. package/esm2022/fullscreen/fullscreen.component.mjs +4 -4
  195. package/esm2022/fullscreen/fullscreen.module.mjs +4 -4
  196. package/esm2022/fullscreen/fullscreen.service.mjs +4 -4
  197. package/esm2022/grid/flex.mjs +12 -12
  198. package/esm2022/grid/module.mjs +4 -4
  199. package/esm2022/grid/thy-col.directive.mjs +3 -3
  200. package/esm2022/grid/thy-grid-item.component.mjs +4 -4
  201. package/esm2022/grid/thy-grid.component.mjs +7 -7
  202. package/esm2022/grid/thy-row.directive.mjs +3 -3
  203. package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
  204. package/esm2022/guider/guider-manager.mjs +3 -3
  205. package/esm2022/guider/guider.directive.mjs +4 -4
  206. package/esm2022/guider/guider.module.mjs +4 -4
  207. package/esm2022/guider/guider.service.mjs +3 -3
  208. package/esm2022/icon/icon-registry.mjs +4 -4
  209. package/esm2022/icon/icon.component.mjs +4 -4
  210. package/esm2022/icon/icon.module.mjs +4 -4
  211. package/esm2022/image/image-group.component.mjs +4 -4
  212. package/esm2022/image/image.directive.mjs +4 -4
  213. package/esm2022/image/image.service.mjs +3 -3
  214. package/esm2022/image/module.mjs +4 -4
  215. package/esm2022/image/preview/image-preview.component.mjs +4 -4
  216. package/esm2022/input/input-count.component.mjs +4 -4
  217. package/esm2022/input/input-group.component.mjs +4 -4
  218. package/esm2022/input/input-search.component.mjs +4 -4
  219. package/esm2022/input/input.component.mjs +4 -4
  220. package/esm2022/input/input.directive.mjs +4 -4
  221. package/esm2022/input/module.mjs +4 -4
  222. package/esm2022/input-number/input-number.component.mjs +3 -3
  223. package/esm2022/input-number/module.mjs +4 -4
  224. package/esm2022/layout/content-main.component.mjs +6 -6
  225. package/esm2022/layout/content-section.component.mjs +6 -6
  226. package/esm2022/layout/content.component.mjs +6 -6
  227. package/esm2022/layout/header.component.mjs +6 -6
  228. package/esm2022/layout/layout.component.mjs +6 -6
  229. package/esm2022/layout/layout.module.mjs +4 -4
  230. package/esm2022/layout/sidebar-content.component.mjs +6 -6
  231. package/esm2022/layout/sidebar-footer.component.mjs +6 -6
  232. package/esm2022/layout/sidebar-header.component.mjs +6 -6
  233. package/esm2022/layout/sidebar.component.mjs +7 -7
  234. package/esm2022/list/list-item-meta.component.mjs +3 -3
  235. package/esm2022/list/list-item.component.mjs +3 -3
  236. package/esm2022/list/list.component.mjs +3 -3
  237. package/esm2022/list/list.module.mjs +4 -4
  238. package/esm2022/list/selection/selection-list.mjs +3 -3
  239. package/esm2022/loading/loading.component.mjs +3 -3
  240. package/esm2022/loading/loading.module.mjs +4 -4
  241. package/esm2022/mention/mention.directive.mjs +3 -3
  242. package/esm2022/mention/mention.module.mjs +4 -4
  243. package/esm2022/mention/suggestions/suggestions.component.mjs +4 -4
  244. package/esm2022/menu/divider/menu-divider.component.mjs +3 -3
  245. package/esm2022/menu/group/menu-group.component.mjs +3 -3
  246. package/esm2022/menu/item/action/menu-item-action.component.mjs +4 -4
  247. package/esm2022/menu/item/icon/menu-item-icon.component.mjs +3 -3
  248. package/esm2022/menu/item/menu-item.component.mjs +3 -3
  249. package/esm2022/menu/item/name/menu-item-name.component.mjs +3 -3
  250. package/esm2022/menu/menu.component.mjs +3 -3
  251. package/esm2022/menu/menu.module.mjs +4 -4
  252. package/esm2022/message/abstract/abstract-message-container.component.mjs +4 -4
  253. package/esm2022/message/abstract/abstract-message.component.mjs +4 -4
  254. package/esm2022/message/abstract/abstract-message.service.mjs +1 -1
  255. package/esm2022/message/message-container.component.mjs +3 -3
  256. package/esm2022/message/message-queue.service.mjs +3 -3
  257. package/esm2022/message/message.component.mjs +3 -3
  258. package/esm2022/message/message.service.mjs +3 -3
  259. package/esm2022/message/module.mjs +4 -4
  260. package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +3 -3
  261. package/esm2022/nav/icon-nav/icon-nav.component.mjs +3 -3
  262. package/esm2022/nav/nav-ink-bar.directive.mjs +3 -3
  263. package/esm2022/nav/nav-item.directive.mjs +4 -4
  264. package/esm2022/nav/nav.component.mjs +3 -3
  265. package/esm2022/nav/nav.module.mjs +4 -4
  266. package/esm2022/nav/nav.pipe.mjs +3 -3
  267. package/esm2022/notify/module.mjs +4 -4
  268. package/esm2022/notify/notify-container.component.mjs +3 -3
  269. package/esm2022/notify/notify-queue.service.mjs +3 -3
  270. package/esm2022/notify/notify.component.mjs +5 -5
  271. package/esm2022/notify/notify.service.mjs +3 -3
  272. package/esm2022/pagination/pagination.component.mjs +29 -29
  273. package/esm2022/pagination/pagination.module.mjs +4 -4
  274. package/esm2022/pagination/pagination.pipe.mjs +3 -3
  275. package/esm2022/popover/body/popover-body.component.mjs +3 -3
  276. package/esm2022/popover/header/popover-header.component.mjs +4 -4
  277. package/esm2022/popover/module.mjs +4 -4
  278. package/esm2022/popover/popover-container.component.mjs +3 -3
  279. package/esm2022/popover/popover.directive.mjs +3 -3
  280. package/esm2022/popover/popover.service.mjs +3 -3
  281. package/esm2022/progress/progress-circle.component.mjs +3 -3
  282. package/esm2022/progress/progress-strip.component.mjs +3 -3
  283. package/esm2022/progress/progress.component.mjs +3 -3
  284. package/esm2022/progress/progress.module.mjs +4 -4
  285. package/esm2022/property/module.mjs +4 -4
  286. package/esm2022/property/properties.component.mjs +3 -3
  287. package/esm2022/property/property-item.component.mjs +4 -4
  288. package/esm2022/property-operation/group/property-operation-group.component.mjs +3 -3
  289. package/esm2022/property-operation/module.mjs +4 -4
  290. package/esm2022/property-operation/property-operation.component.mjs +4 -4
  291. package/esm2022/radio/button/radio-button.component.mjs +3 -3
  292. package/esm2022/radio/group/radio-group.component.mjs +3 -3
  293. package/esm2022/radio/module.mjs +4 -4
  294. package/esm2022/radio/radio.component.mjs +3 -3
  295. package/esm2022/rate/module.mjs +4 -4
  296. package/esm2022/rate/rate-item.component.mjs +3 -3
  297. package/esm2022/rate/rate.component.mjs +3 -3
  298. package/esm2022/resizable/module.mjs +4 -4
  299. package/esm2022/resizable/resizable.directive.mjs +3 -3
  300. package/esm2022/resizable/resizable.service.mjs +4 -4
  301. package/esm2022/resizable/resize-handle.component.mjs +4 -4
  302. package/esm2022/resizable/resize-handles.component.mjs +3 -3
  303. package/esm2022/result/result.component.mjs +3 -3
  304. package/esm2022/result/result.module.mjs +4 -4
  305. package/esm2022/segment/segment-item.component.mjs +3 -3
  306. package/esm2022/segment/segment.component.mjs +4 -4
  307. package/esm2022/segment/segment.module.mjs +4 -4
  308. package/esm2022/select/custom-select/custom-select.component.mjs +3 -3
  309. package/esm2022/select/module.mjs +4 -4
  310. package/esm2022/select/native-select/native-select.component.mjs +3 -3
  311. package/esm2022/shared/base-form-check.component.mjs +4 -4
  312. package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +4 -4
  313. package/esm2022/shared/directives/thy-autofocus.directive.mjs +4 -4
  314. package/esm2022/shared/directives/thy-contextmenu.directive.mjs +4 -4
  315. package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +4 -4
  316. package/esm2022/shared/directives/thy-drag-drop.directive.mjs +4 -4
  317. package/esm2022/shared/directives/thy-enter.directive.mjs +4 -4
  318. package/esm2022/shared/directives/thy-scroll.directive.mjs +4 -4
  319. package/esm2022/shared/directives/thy-show.mjs +4 -4
  320. package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +3 -3
  321. package/esm2022/shared/directives/view-outlet.directive.mjs +4 -4
  322. package/esm2022/shared/ng-transclude.directive.mjs +3 -3
  323. package/esm2022/shared/option/group/option-group.component.mjs +4 -4
  324. package/esm2022/shared/option/list-option/list-option.component.mjs +3 -3
  325. package/esm2022/shared/option/module.mjs +4 -4
  326. package/esm2022/shared/option/option-group.component.mjs +3 -3
  327. package/esm2022/shared/option/option.component.mjs +4 -4
  328. package/esm2022/shared/option/options-container.component.mjs +3 -3
  329. package/esm2022/shared/select/module.mjs +4 -4
  330. package/esm2022/shared/select/select-control/select-control.component.mjs +3 -3
  331. package/esm2022/shared/shared.module.mjs +4 -4
  332. package/esm2022/skeleton/module.mjs +4 -4
  333. package/esm2022/skeleton/skeleton-circle.component.mjs +3 -3
  334. package/esm2022/skeleton/skeleton-rectangle.component.mjs +3 -3
  335. package/esm2022/skeleton/skeleton.component.mjs +3 -3
  336. package/esm2022/skeleton/stylized/bullet-list.component.mjs +3 -3
  337. package/esm2022/skeleton/stylized/list.component.mjs +3 -3
  338. package/esm2022/skeleton/stylized/paragraph.component.mjs +3 -3
  339. package/esm2022/slide/drawer/drawer-container.directive.mjs +3 -3
  340. package/esm2022/slide/slide-body/slide-body-section.component.mjs +3 -3
  341. package/esm2022/slide/slide-body/slide-body.component.mjs +3 -3
  342. package/esm2022/slide/slide-container.component.mjs +3 -3
  343. package/esm2022/slide/slide-footer/slide-footer.component.mjs +3 -3
  344. package/esm2022/slide/slide-header/slide-header.component.mjs +3 -3
  345. package/esm2022/slide/slide-layout/slide-layout.component.mjs +3 -3
  346. package/esm2022/slide/slide-ref.service.mjs +3 -3
  347. package/esm2022/slide/slide.module.mjs +4 -4
  348. package/esm2022/slide/slide.service.mjs +3 -3
  349. package/esm2022/slider/slider.component.mjs +4 -4
  350. package/esm2022/slider/slider.module.mjs +4 -4
  351. package/esm2022/space/space.component.mjs +6 -6
  352. package/esm2022/space/space.module.mjs +4 -4
  353. package/esm2022/statistic/statistic.component.mjs +3 -3
  354. package/esm2022/statistic/statistic.module.mjs +4 -4
  355. package/esm2022/stepper/step-header.component.mjs +3 -3
  356. package/esm2022/stepper/step.component.mjs +3 -3
  357. package/esm2022/stepper/stepper-button.directive.mjs +6 -6
  358. package/esm2022/stepper/stepper.component.mjs +3 -3
  359. package/esm2022/stepper/stepper.module.mjs +4 -4
  360. package/esm2022/strength/strength.component.mjs +3 -3
  361. package/esm2022/strength/strength.module.mjs +4 -4
  362. package/esm2022/switch/switch.component.mjs +3 -3
  363. package/esm2022/switch/switch.module.mjs +4 -4
  364. package/esm2022/table/pipes/drag.pipe.mjs +3 -3
  365. package/esm2022/table/pipes/table.pipe.mjs +3 -3
  366. package/esm2022/table/table-column.component.mjs +3 -3
  367. package/esm2022/table/table-skeleton.component.mjs +3 -3
  368. package/esm2022/table/table.component.mjs +5 -5
  369. package/esm2022/table/table.module.mjs +4 -4
  370. package/esm2022/tabs/tab-content.component.mjs +3 -3
  371. package/esm2022/tabs/tab.component.mjs +3 -3
  372. package/esm2022/tabs/tabs.component.mjs +4 -4
  373. package/esm2022/tabs/tabs.module.mjs +4 -4
  374. package/esm2022/tag/tag.component.mjs +3 -3
  375. package/esm2022/tag/tag.module.mjs +4 -4
  376. package/esm2022/tag/tags.component.mjs +3 -3
  377. package/esm2022/testing/data-transfer.mjs +1 -1
  378. package/esm2022/time-picker/inner/inner-time-picker.component.mjs +4 -4
  379. package/esm2022/time-picker/inner/inner-time-picker.config.mjs +3 -3
  380. package/esm2022/time-picker/inner/inner-time-picker.store.mjs +3 -3
  381. package/esm2022/time-picker/time-picker-panel.component.mjs +4 -4
  382. package/esm2022/time-picker/time-picker.component.mjs +4 -4
  383. package/esm2022/time-picker/time-picker.module.mjs +4 -4
  384. package/esm2022/timeline/timeline-item.component.mjs +4 -4
  385. package/esm2022/timeline/timeline.component.mjs +4 -4
  386. package/esm2022/timeline/timeline.module.mjs +4 -4
  387. package/esm2022/timeline/timeline.service.mjs +3 -3
  388. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  389. package/esm2022/tooltip/tooltip.directive.mjs +3 -3
  390. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  391. package/esm2022/tooltip/tooltip.service.mjs +3 -3
  392. package/esm2022/transfer/transfer-list.component.mjs +4 -4
  393. package/esm2022/transfer/transfer.component.mjs +3 -3
  394. package/esm2022/transfer/transfer.module.mjs +4 -4
  395. package/esm2022/tree/tree-node.component.mjs +4 -4
  396. package/esm2022/tree/tree.component.mjs +5 -5
  397. package/esm2022/tree/tree.module.mjs +4 -4
  398. package/esm2022/tree/tree.pipe.mjs +3 -3
  399. package/esm2022/tree/tree.service.mjs +3 -3
  400. package/esm2022/tree-select/module.mjs +4 -4
  401. package/esm2022/tree-select/tree-select.component.mjs +13 -12
  402. package/esm2022/typography/bg-color.directive.mjs +3 -3
  403. package/esm2022/typography/module.mjs +4 -4
  404. package/esm2022/typography/text/text.component.mjs +3 -3
  405. package/esm2022/typography/text-color.directive.mjs +3 -3
  406. package/esm2022/upload/file-drop.directive.mjs +3 -3
  407. package/esm2022/upload/file-select-base.mjs +3 -3
  408. package/esm2022/upload/file-select.component.mjs +4 -4
  409. package/esm2022/upload/module.mjs +4 -4
  410. package/esm2022/upload/upload.service.mjs +3 -3
  411. package/esm2022/util/logger/logger.mjs +1 -1
  412. package/esm2022/version.mjs +2 -2
  413. package/esm2022/vote/vote.component.mjs +3 -3
  414. package/esm2022/vote/vote.module.mjs +4 -4
  415. package/esm2022/watermark/watermark.directive.mjs +3 -3
  416. package/esm2022/watermark/watermark.module.mjs +4 -4
  417. package/fesm2022/ngx-tethys-action.mjs +10 -10
  418. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  419. package/fesm2022/ngx-tethys-affix.mjs +7 -7
  420. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  421. package/fesm2022/ngx-tethys-alert.mjs +10 -10
  422. package/fesm2022/ngx-tethys-anchor.mjs +10 -10
  423. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  424. package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
  425. package/fesm2022/ngx-tethys-autocomplete.mjs +16 -16
  426. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  427. package/fesm2022/ngx-tethys-avatar.mjs +22 -22
  428. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  429. package/fesm2022/ngx-tethys-back-top.mjs +7 -7
  430. package/fesm2022/ngx-tethys-badge.mjs +7 -7
  431. package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
  432. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  433. package/fesm2022/ngx-tethys-button.mjs +13 -13
  434. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  435. package/fesm2022/ngx-tethys-calendar.mjs +16 -16
  436. package/fesm2022/ngx-tethys-card.mjs +13 -13
  437. package/fesm2022/ngx-tethys-carousel.mjs +16 -16
  438. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  439. package/fesm2022/ngx-tethys-cascader.mjs +23 -35
  440. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  441. package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
  442. package/fesm2022/ngx-tethys-collapse.mjs +10 -10
  443. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  444. package/fesm2022/ngx-tethys-color-picker.mjs +47 -37
  445. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  446. package/fesm2022/ngx-tethys-comment.mjs +13 -13
  447. package/fesm2022/ngx-tethys-copy.mjs +7 -7
  448. package/fesm2022/ngx-tethys-core.mjs +30 -20
  449. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  450. package/fesm2022/ngx-tethys-date-picker.mjs +117 -117
  451. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  452. package/fesm2022/ngx-tethys-date-range.mjs +10 -10
  453. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  454. package/fesm2022/ngx-tethys-dialog.mjs +22 -22
  455. package/fesm2022/ngx-tethys-divider.mjs +7 -7
  456. package/fesm2022/ngx-tethys-dot.mjs +7 -7
  457. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  458. package/fesm2022/ngx-tethys-drag-drop.mjs +19 -19
  459. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  460. package/fesm2022/ngx-tethys-dropdown.mjs +46 -46
  461. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  462. package/fesm2022/ngx-tethys-empty.mjs +10 -10
  463. package/fesm2022/ngx-tethys-flexible-text.mjs +7 -7
  464. package/fesm2022/ngx-tethys-form.mjs +40 -40
  465. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  466. package/fesm2022/ngx-tethys-fullscreen.mjs +15 -14
  467. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  468. package/fesm2022/ngx-tethys-grid.mjs +31 -31
  469. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  470. package/fesm2022/ngx-tethys-guider.mjs +16 -16
  471. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  472. package/fesm2022/ngx-tethys-icon.mjs +10 -10
  473. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  474. package/fesm2022/ngx-tethys-image.mjs +16 -16
  475. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  476. package/fesm2022/ngx-tethys-input-number.mjs +7 -7
  477. package/fesm2022/ngx-tethys-input.mjs +19 -19
  478. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  479. package/fesm2022/ngx-tethys-layout.mjs +58 -58
  480. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  481. package/fesm2022/ngx-tethys-list.mjs +16 -16
  482. package/fesm2022/ngx-tethys-loading.mjs +7 -7
  483. package/fesm2022/ngx-tethys-mention.mjs +10 -10
  484. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  485. package/fesm2022/ngx-tethys-menu.mjs +25 -25
  486. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  487. package/fesm2022/ngx-tethys-message.mjs +22 -22
  488. package/fesm2022/ngx-tethys-message.mjs.map +1 -1
  489. package/fesm2022/ngx-tethys-nav.mjs +22 -22
  490. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  491. package/fesm2022/ngx-tethys-notify.mjs +17 -17
  492. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  493. package/fesm2022/ngx-tethys-pagination.mjs +34 -34
  494. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  495. package/fesm2022/ngx-tethys-popover.mjs +19 -19
  496. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  497. package/fesm2022/ngx-tethys-progress.mjs +13 -13
  498. package/fesm2022/ngx-tethys-property-operation.mjs +10 -10
  499. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  500. package/fesm2022/ngx-tethys-property.mjs +10 -10
  501. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  502. package/fesm2022/ngx-tethys-radio.mjs +13 -13
  503. package/fesm2022/ngx-tethys-rate.mjs +10 -10
  504. package/fesm2022/ngx-tethys-resizable.mjs +16 -16
  505. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  506. package/fesm2022/ngx-tethys-result.mjs +7 -7
  507. package/fesm2022/ngx-tethys-segment.mjs +10 -10
  508. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  509. package/fesm2022/ngx-tethys-select.mjs +10 -10
  510. package/fesm2022/ngx-tethys-shared.mjs +66 -66
  511. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  512. package/fesm2022/ngx-tethys-skeleton.mjs +22 -22
  513. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  514. package/fesm2022/ngx-tethys-slide.mjs +31 -31
  515. package/fesm2022/ngx-tethys-slider.mjs +7 -7
  516. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  517. package/fesm2022/ngx-tethys-space.mjs +10 -10
  518. package/fesm2022/ngx-tethys-statistic.mjs +7 -7
  519. package/fesm2022/ngx-tethys-stepper.mjs +19 -19
  520. package/fesm2022/ngx-tethys-strength.mjs +7 -7
  521. package/fesm2022/ngx-tethys-switch.mjs +7 -7
  522. package/fesm2022/ngx-tethys-table.mjs +20 -20
  523. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  524. package/fesm2022/ngx-tethys-tabs.mjs +13 -13
  525. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  526. package/fesm2022/ngx-tethys-tag.mjs +10 -10
  527. package/fesm2022/ngx-tethys-testing.mjs.map +1 -1
  528. package/fesm2022/ngx-tethys-time-picker.mjs +19 -19
  529. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  530. package/fesm2022/ngx-tethys-timeline.mjs +13 -13
  531. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  532. package/fesm2022/ngx-tethys-tooltip.mjs +13 -13
  533. package/fesm2022/ngx-tethys-transfer.mjs +10 -10
  534. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  535. package/fesm2022/ngx-tethys-tree-select.mjs +16 -15
  536. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  537. package/fesm2022/ngx-tethys-tree.mjs +17 -17
  538. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  539. package/fesm2022/ngx-tethys-typography.mjs +13 -13
  540. package/fesm2022/ngx-tethys-upload.mjs +16 -16
  541. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  542. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  543. package/fesm2022/ngx-tethys-vote.mjs +7 -7
  544. package/fesm2022/ngx-tethys-watermark.mjs +7 -7
  545. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  546. package/fesm2022/ngx-tethys.mjs +1 -1
  547. package/fesm2022/ngx-tethys.mjs.map +1 -1
  548. package/flexible-text/examples/placement/placement.component.scss +3 -1
  549. package/form/styles/form-check.scss +2 -3
  550. package/form/styles/mixin.scss +1 -1
  551. package/grid/examples/basic/basic.component.scss +5 -3
  552. package/grid/examples/flex/flex.component.scss +5 -3
  553. package/grid/examples/gap/gap.component.scss +5 -3
  554. package/grid/examples/offset/offset.component.scss +5 -3
  555. package/grid/examples/responsive/responsive.component.scss +6 -4
  556. package/grid/examples/row-col/row-col.component.scss +5 -3
  557. package/grid/examples/span/span.component.scss +5 -3
  558. package/guider/styles/guider-tip.scss +6 -6
  559. package/loading/styles/loading.scss +3 -3
  560. package/menu/examples/basic/basic.component.scss +3 -1
  561. package/menu/examples/divider/divider.component.scss +3 -1
  562. package/menu/examples/group/group.component.scss +3 -1
  563. package/menu/examples/theme/theme.component.scss +2 -2
  564. package/nav/examples/basic/basic.component.scss +3 -5
  565. package/nav/examples/extra/extra.component.scss +3 -1
  566. package/nav/examples/fill/fill.component.scss +3 -1
  567. package/nav/examples/lite/lite.component.scss +3 -1
  568. package/nav/examples/pills/pills.component.scss +3 -1
  569. package/nav/examples/responsive/responsive.component.scss +3 -1
  570. package/nav/examples/size/size.component.scss +3 -1
  571. package/nav/examples/tabs/tabs.component.scss +3 -1
  572. package/nav/examples/type/type.component.scss +3 -4
  573. package/nav/examples/vertical/vertical.component.scss +3 -1
  574. package/nav/nav.component.d.ts +1 -1
  575. package/nav/styles/mixin.scss +26 -10
  576. package/notify/styles/notify.scss +2 -2
  577. package/package.json +1 -1
  578. package/pagination/pagination.component.d.ts +3 -3
  579. package/pagination/styles/pagination.scss +1 -0
  580. package/progress/styles/progress-strip.scss +1 -1
  581. package/property-operation/styles/property-operation.scss +1 -15
  582. package/resizable/examples/layout/layout.style.scss +7 -5
  583. package/resizable/examples/table/table.style.scss +3 -1
  584. package/resizable/resize-handle.component.d.ts +4 -1
  585. package/schematics/version.d.ts +1 -1
  586. package/schematics/version.js +1 -1
  587. package/segment/styles/mixin.scss +8 -5
  588. package/segment/styles/segment.scss +1 -1
  589. package/shared/option/styles/option.mixin.scss +6 -6
  590. package/shared/option/styles/select-dropdown.scss +3 -1
  591. package/shared/select/select-control/select-control.scss +1 -1
  592. package/space/examples/align/align.component.scss +3 -2
  593. package/statistic/examples/prefix-suffix/prefix-suffix.component.scss +3 -1
  594. package/styles/bootstrap/_type.scss +8 -8
  595. package/styles/bootstrap/mixins/_transition.scss +3 -1
  596. package/styles/mixins/close.scss +4 -1
  597. package/styles/mixins/shadow.scss +3 -1
  598. package/styles/mixins/tables.scss +3 -166
  599. package/styles/modules/cdk/drag-drop.scss +1 -1
  600. package/styles/modules/link.scss +1 -1
  601. package/styles/modules/tables.scss +0 -1
  602. package/styles/variables.scss +73 -41
  603. package/switch/styles/mixin.scss +1 -1
  604. package/table/styles/table.scss +1 -1
  605. package/tabs/styles/tabs.scss +1 -0
  606. package/tag/styles/mixin.scss +10 -5
  607. package/tag/styles/tag.scss +4 -4
  608. package/tree/styles/tree.scss +0 -8
  609. package/tree-select/styles/tree-select.scss +4 -1
  610. package/tree-select/tree-select.component.d.ts +3 -3
  611. package/watermark/examples/basic/basic.component.scss +3 -1
  612. package/watermark/examples/custom/custom.component.scss +8 -0
  613. package/watermark/styles/watermark.scss +1 -2
  614. package/tabs/examples/basic/basic.component.scss +0 -5
@@ -96,10 +96,10 @@ class ThyCalendarHeader {
96
96
  isCurrentDate(currentDate) {
97
97
  this.isCurrent = currentDate.getMonth() !== getMonth(new Date()) || currentDate.getYear() !== getYear(new Date());
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
100
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: ThyCalendarHeader, isStandalone: true, selector: "thy-calendar-header", inputs: { currentDate: "currentDate", operationRender: "operationRender" }, outputs: { yearChange: "yearChange", monthChange: "monthChange", dateRangeChange: "dateRangeChange" }, host: { properties: { "class.thy-calendar-full-header-container": "this.className" } }, ngImport: i0, template: "<div class=\"thy-calendar-full-header-left\">\n <thy-date-range\n class=\"select-date-range\"\n [ngModel]=\"date\"\n [thyHiddenMenu]=\"true\"\n [thyCustomKey]=\"'exception'\"\n [thyPickerFormat]=\"pickerFormat\"\n (ngModelChange)=\"onChangeRange($event)\"></thy-date-range>\n <button *ngIf=\"isCurrent\" thyButton=\"outline-default-square\" thySize=\"md\" (click)=\"backToday()\">\u4ECA\u5929</button>\n</div>\n<div class=\"thy-calendar-full-header-right\">\n <ng-container *ngTemplateOutlet=\"$any(operationRender); context: { $implicit: operationRender }\">\n <span>{{ operationRender | json }}</span>\n </ng-container>\n</div>\n", dependencies: [{ kind: "component", type: ThyDateRange, selector: "thy-date-range", inputs: ["thyOptionalDateRanges", "thyHiddenMenu", "thyDisabledSwitch", "thyCustomTextValue", "thyMinDate", "thyMaxDate", "thyCustomKey", "thyPickerFormat", "thyDisabledDate"], outputs: ["thyOnCalendarChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ThyButton, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: JsonPipe, name: "json" }] }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
100
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThyCalendarHeader, isStandalone: true, selector: "thy-calendar-header", inputs: { currentDate: "currentDate", operationRender: "operationRender" }, outputs: { yearChange: "yearChange", monthChange: "monthChange", dateRangeChange: "dateRangeChange" }, host: { properties: { "class.thy-calendar-full-header-container": "this.className" } }, ngImport: i0, template: "<div class=\"thy-calendar-full-header-left\">\n <thy-date-range\n class=\"select-date-range\"\n [ngModel]=\"date\"\n [thyHiddenMenu]=\"true\"\n [thyCustomKey]=\"'exception'\"\n [thyPickerFormat]=\"pickerFormat\"\n (ngModelChange)=\"onChangeRange($event)\"></thy-date-range>\n <button *ngIf=\"isCurrent\" thyButton=\"outline-default-square\" thySize=\"md\" (click)=\"backToday()\">\u4ECA\u5929</button>\n</div>\n<div class=\"thy-calendar-full-header-right\">\n <ng-container *ngTemplateOutlet=\"$any(operationRender); context: { $implicit: operationRender }\">\n <span>{{ operationRender | json }}</span>\n </ng-container>\n</div>\n", dependencies: [{ kind: "component", type: ThyDateRange, selector: "thy-date-range", inputs: ["thyOptionalDateRanges", "thyHiddenMenu", "thyDisabledSwitch", "thyCustomTextValue", "thyMinDate", "thyMaxDate", "thyCustomKey", "thyPickerFormat", "thyDisabledDate"], outputs: ["thyOnCalendarChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ThyButton, selector: "thy-button,[thy-button],[thyButton]", inputs: ["thyButton", "thyType", "thyLoading", "thyLoadingText", "thySize", "thyIcon", "thyBlock"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: JsonPipe, name: "json" }] }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarHeader, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarHeader, decorators: [{
103
103
  type: Component,
104
104
  args: [{ selector: 'thy-calendar-header', standalone: true, imports: [ThyDateRange, FormsModule, NgIf, ThyButton, NgTemplateOutlet, JsonPipe], template: "<div class=\"thy-calendar-full-header-left\">\n <thy-date-range\n class=\"select-date-range\"\n [ngModel]=\"date\"\n [thyHiddenMenu]=\"true\"\n [thyCustomKey]=\"'exception'\"\n [thyPickerFormat]=\"pickerFormat\"\n (ngModelChange)=\"onChangeRange($event)\"></thy-date-range>\n <button *ngIf=\"isCurrent\" thyButton=\"outline-default-square\" thySize=\"md\" (click)=\"backToday()\">\u4ECA\u5929</button>\n</div>\n<div class=\"thy-calendar-full-header-right\">\n <ng-container *ngTemplateOutlet=\"$any(operationRender); context: { $implicit: operationRender }\">\n <span>{{ operationRender | json }}</span>\n </ng-container>\n</div>\n" }]
105
105
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { className: [{
@@ -122,10 +122,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
122
122
  * @name thyDateCell
123
123
  */
124
124
  class ThyDateCellDirective {
125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyDateCellDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: ThyDateCellDirective, isStandalone: true, selector: "[thyDateCell]", exportAs: ["thyDateCell"], ngImport: i0 }); }
125
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDateCellDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
126
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyDateCellDirective, isStandalone: true, selector: "[thyDateCell]", exportAs: ["thyDateCell"], ngImport: i0 }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyDateCellDirective, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDateCellDirective, decorators: [{
129
129
  type: Directive,
130
130
  args: [{
131
131
  selector: '[thyDateCell]',
@@ -138,10 +138,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
138
138
  * @name thyCalendarHeaderOperation
139
139
  */
140
140
  class ThyCalendarHeaderOperationDirective {
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarHeaderOperationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
142
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: ThyCalendarHeaderOperationDirective, isStandalone: true, selector: "[thyCalendarHeaderOperation]", exportAs: ["thyCalendarHeaderOperation"], ngImport: i0 }); }
141
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarHeaderOperationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
142
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyCalendarHeaderOperationDirective, isStandalone: true, selector: "[thyCalendarHeaderOperation]", exportAs: ["thyCalendarHeaderOperation"], ngImport: i0 }); }
143
143
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarHeaderOperationDirective, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarHeaderOperationDirective, decorators: [{
145
145
  type: Directive,
146
146
  args: [{
147
147
  selector: '[thyCalendarHeaderOperation]',
@@ -229,10 +229,10 @@ class ThyCalendar {
229
229
  this.updateDate(new TinyDate(this.thyValue), false);
230
230
  }
231
231
  }
232
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendar, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
233
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: ThyCalendar, isStandalone: true, selector: "thy-calendar", inputs: { thyMode: "thyMode", thyValue: "thyValue", thyDisabledDate: "thyDisabledDate", thyDateCell: "thyDateCell", thyCalendarHeaderOperation: "thyCalendarHeaderOperation" }, outputs: { thySelectChange: "thySelectChange", thyValueChange: "thyValueChange", thyDateRangeChange: "thyDateRangeChange" }, host: { properties: { "class.thy-calendar-container": "this.className", "class.thy-calendar-full": "this.className1" } }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ThyCalendar), multi: true }], queries: [{ propertyName: "thyDateCellChild", first: true, predicate: ThyDateCellDirective, descendants: true, read: TemplateRef }, { propertyName: "thyCalendarHeaderOperationChild", first: true, predicate: ThyCalendarHeaderOperationDirective, descendants: true, read: TemplateRef }], usesOnChanges: true, ngImport: i0, template: "<thy-calendar-header\n [operationRender]=\"headerOperation\"\n (monthChange)=\"onMonthSelect($event)\"\n (yearChange)=\"onYearSelect($event)\"\n (dateRangeChange)=\"onDateRangeSelect($event)\"\n [currentDate]=\"currentDate\"\n></thy-calendar-header>\n\n<div class=\"thy-calendar-panel\">\n <div class=\"thy-calendar-{{ thyMode === 'month' ? 'date' : 'month' }}-panel\">\n <div class=\"thy-calendar-body\">\n <ng-container *ngIf=\"thyMode === 'month'; then monthModeTable; else yearModeTable\"></ng-container>\n </div>\n </div>\n</div>\n<ng-template #monthModeTable>\n <date-table\n [prefixCls]=\"prefixCls\"\n [value]=\"currentDate\"\n [activeDate]=\"currentDate\"\n [selectedValue]=\"currentDate\"\n [cellRender]=\"dateCell\"\n [disabledDate]=\"thyDisabledDate\"\n (valueChange)=\"onDateSelect($event)\"\n ></date-table>\n</ng-template>\n\n<ng-template #yearModeTable>\n <month-table [value]=\"currentDate\" [disabledDate]=\"thyDisabledDate\" (valueChange)=\"onDateSelect($event)\"></month-table>\n</ng-template>\n", dependencies: [{ kind: "component", type: ThyCalendarHeader, selector: "thy-calendar-header", inputs: ["currentDate", "operationRender"], outputs: ["yearChange", "monthChange", "dateRangeChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateTable, selector: "date-table", outputs: ["dayHover"], exportAs: ["dateTable"] }, { kind: "component", type: MonthTable, selector: "month-table", exportAs: ["monthTable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendar, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
233
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThyCalendar, isStandalone: true, selector: "thy-calendar", inputs: { thyMode: "thyMode", thyValue: "thyValue", thyDisabledDate: "thyDisabledDate", thyDateCell: "thyDateCell", thyCalendarHeaderOperation: "thyCalendarHeaderOperation" }, outputs: { thySelectChange: "thySelectChange", thyValueChange: "thyValueChange", thyDateRangeChange: "thyDateRangeChange" }, host: { properties: { "class.thy-calendar-container": "this.className", "class.thy-calendar-full": "this.className1" } }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ThyCalendar), multi: true }], queries: [{ propertyName: "thyDateCellChild", first: true, predicate: ThyDateCellDirective, descendants: true, read: TemplateRef }, { propertyName: "thyCalendarHeaderOperationChild", first: true, predicate: ThyCalendarHeaderOperationDirective, descendants: true, read: TemplateRef }], usesOnChanges: true, ngImport: i0, template: "<thy-calendar-header\n [operationRender]=\"headerOperation\"\n (monthChange)=\"onMonthSelect($event)\"\n (yearChange)=\"onYearSelect($event)\"\n (dateRangeChange)=\"onDateRangeSelect($event)\"\n [currentDate]=\"currentDate\"\n></thy-calendar-header>\n\n<div class=\"thy-calendar-panel\">\n <div class=\"thy-calendar-{{ thyMode === 'month' ? 'date' : 'month' }}-panel\">\n <div class=\"thy-calendar-body\">\n <ng-container *ngIf=\"thyMode === 'month'; then monthModeTable; else yearModeTable\"></ng-container>\n </div>\n </div>\n</div>\n<ng-template #monthModeTable>\n <date-table\n [prefixCls]=\"prefixCls\"\n [value]=\"currentDate\"\n [activeDate]=\"currentDate\"\n [selectedValue]=\"currentDate\"\n [cellRender]=\"dateCell\"\n [disabledDate]=\"thyDisabledDate\"\n (valueChange)=\"onDateSelect($event)\"\n ></date-table>\n</ng-template>\n\n<ng-template #yearModeTable>\n <month-table [value]=\"currentDate\" [disabledDate]=\"thyDisabledDate\" (valueChange)=\"onDateSelect($event)\"></month-table>\n</ng-template>\n", dependencies: [{ kind: "component", type: ThyCalendarHeader, selector: "thy-calendar-header", inputs: ["currentDate", "operationRender"], outputs: ["yearChange", "monthChange", "dateRangeChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateTable, selector: "date-table", outputs: ["dayHover"], exportAs: ["dateTable"] }, { kind: "component", type: MonthTable, selector: "month-table", exportAs: ["monthTable"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
234
234
  }
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendar, decorators: [{
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendar, decorators: [{
236
236
  type: Component,
237
237
  args: [{ selector: 'thy-calendar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ThyCalendar), multi: true }], standalone: true, imports: [ThyCalendarHeader, NgIf, DateTable, MonthTable], template: "<thy-calendar-header\n [operationRender]=\"headerOperation\"\n (monthChange)=\"onMonthSelect($event)\"\n (yearChange)=\"onYearSelect($event)\"\n (dateRangeChange)=\"onDateRangeSelect($event)\"\n [currentDate]=\"currentDate\"\n></thy-calendar-header>\n\n<div class=\"thy-calendar-panel\">\n <div class=\"thy-calendar-{{ thyMode === 'month' ? 'date' : 'month' }}-panel\">\n <div class=\"thy-calendar-body\">\n <ng-container *ngIf=\"thyMode === 'month'; then monthModeTable; else yearModeTable\"></ng-container>\n </div>\n </div>\n</div>\n<ng-template #monthModeTable>\n <date-table\n [prefixCls]=\"prefixCls\"\n [value]=\"currentDate\"\n [activeDate]=\"currentDate\"\n [selectedValue]=\"currentDate\"\n [cellRender]=\"dateCell\"\n [disabledDate]=\"thyDisabledDate\"\n (valueChange)=\"onDateSelect($event)\"\n ></date-table>\n</ng-template>\n\n<ng-template #yearModeTable>\n <month-table [value]=\"currentDate\" [disabledDate]=\"thyDisabledDate\" (valueChange)=\"onDateSelect($event)\"></month-table>\n</ng-template>\n" }]
238
238
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { className: [{
@@ -266,8 +266,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
266
266
  }] } });
267
267
 
268
268
  class ThyCalendarModule {
269
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
270
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarModule, imports: [CommonModule,
269
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
270
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarModule, imports: [CommonModule,
271
271
  FormsModule,
272
272
  ThySharedModule,
273
273
  ThyIconModule,
@@ -280,7 +280,7 @@ class ThyCalendarModule {
280
280
  ThyCalendar,
281
281
  ThyDateCellDirective,
282
282
  ThyCalendarHeaderOperationDirective], exports: [ThyCalendarHeader, ThyCalendar, ThyDateCellDirective, ThyCalendarHeaderOperationDirective] }); }
283
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarModule, imports: [CommonModule,
283
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarModule, imports: [CommonModule,
284
284
  FormsModule,
285
285
  ThySharedModule,
286
286
  ThyIconModule,
@@ -292,7 +292,7 @@ class ThyCalendarModule {
292
292
  ThyCalendarHeader,
293
293
  ThyCalendar] }); }
294
294
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCalendarModule, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCalendarModule, decorators: [{
296
296
  type: NgModule,
297
297
  args: [{
298
298
  imports: [
@@ -11,10 +11,10 @@ import { coerceBooleanProperty } from 'ngx-tethys/util';
11
11
  class ThyCardHeader {
12
12
  constructor() { }
13
13
  ngOnInit() { }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: ThyCardHeader, isStandalone: true, selector: "thy-card-header", inputs: { thyTitle: "thyTitle", thyDescription: "thyDescription", thySize: "thySize" }, host: { properties: { "class.thy-card-header--sm": "thySize === \"sm\"", "class.thy-card-header--lg": "thySize === \"lg\"", "class.thy-card-header--md": "thySize === \"md\"" }, classAttribute: "thy-card-header" }, queries: [{ propertyName: "titleTemplateRef", first: true, predicate: ["headerTitle"], descendants: true }, { propertyName: "descriptionTemplateRef", first: true, predicate: ["headerDescription"], descendants: true }, { propertyName: "operationTemplateRef", first: true, predicate: ["headerOperation"], descendants: true }], ngImport: i0, template: "<div class=\"card-header-title\">\n <ng-template [ngTemplateOutlet]=\"titleTemplateRef\"></ng-template>\n <ng-container *ngIf=\"!titleTemplateRef\">\n <span>{{ thyTitle }}</span>\n </ng-container>\n</div>\n<div class=\"card-header-description\">\n <ng-template [ngTemplateOutlet]=\"descriptionTemplateRef\"></ng-template>\n <ng-container *ngIf=\"!descriptionTemplateRef\">\n <span>{{ thyDescription }}</span>\n </ng-container>\n</div>\n<div class=\"card-header-operation\">\n <ng-template [ngTemplateOutlet]=\"operationTemplateRef\"></ng-template>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThyCardHeader, isStandalone: true, selector: "thy-card-header", inputs: { thyTitle: "thyTitle", thyDescription: "thyDescription", thySize: "thySize" }, host: { properties: { "class.thy-card-header--sm": "thySize === \"sm\"", "class.thy-card-header--lg": "thySize === \"lg\"", "class.thy-card-header--md": "thySize === \"md\"" }, classAttribute: "thy-card-header" }, queries: [{ propertyName: "titleTemplateRef", first: true, predicate: ["headerTitle"], descendants: true }, { propertyName: "descriptionTemplateRef", first: true, predicate: ["headerDescription"], descendants: true }, { propertyName: "operationTemplateRef", first: true, predicate: ["headerOperation"], descendants: true }], ngImport: i0, template: "<div class=\"card-header-title\">\n <ng-template [ngTemplateOutlet]=\"titleTemplateRef\"></ng-template>\n <ng-container *ngIf=\"!titleTemplateRef\">\n <span>{{ thyTitle }}</span>\n </ng-container>\n</div>\n<div class=\"card-header-description\">\n <ng-template [ngTemplateOutlet]=\"descriptionTemplateRef\"></ng-template>\n <ng-container *ngIf=\"!descriptionTemplateRef\">\n <span>{{ thyDescription }}</span>\n </ng-container>\n</div>\n<div class=\"card-header-operation\">\n <ng-template [ngTemplateOutlet]=\"operationTemplateRef\"></ng-template>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardHeader, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardHeader, decorators: [{
18
18
  type: Component,
19
19
  args: [{ selector: 'thy-card-header', preserveWhitespaces: false, changeDetection: ChangeDetectionStrategy.OnPush, host: {
20
20
  class: 'thy-card-header',
@@ -55,10 +55,10 @@ class ThyCard {
55
55
  */
56
56
  this.thyHasLeftRightPadding = true;
57
57
  }
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyCard, isStandalone: true, selector: "thy-card", inputs: { thyHasLeftRightPadding: ["thyHasLeftRightPadding", "thyHasLeftRightPadding", coerceBooleanProperty], thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyBordered: ["thyBordered", "thyBordered", coerceBooleanProperty], thySize: "thySize" }, host: { properties: { "class.thy-card--divided": "!!thyDivided", "class.thy-card--bordered": "!!thyBordered", "class.thy-card--clear-left-right-padding": "!thyHasLeftRightPadding", "class.thy-card-sm": "thySize === \"sm\"", "class.thy-card-lg": "thySize === \"lg\"" }, classAttribute: "thy-card" }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCard, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
59
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThyCard, isStandalone: true, selector: "thy-card", inputs: { thyHasLeftRightPadding: ["thyHasLeftRightPadding", "thyHasLeftRightPadding", coerceBooleanProperty], thyDivided: ["thyDivided", "thyDivided", coerceBooleanProperty], thyBordered: ["thyBordered", "thyBordered", coerceBooleanProperty], thySize: "thySize" }, host: { properties: { "class.thy-card--divided": "!!thyDivided", "class.thy-card--bordered": "!!thyBordered", "class.thy-card--clear-left-right-padding": "!thyHasLeftRightPadding", "class.thy-card-sm": "thySize === \"sm\"", "class.thy-card-lg": "thySize === \"lg\"" }, classAttribute: "thy-card" }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
60
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCard, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCard, decorators: [{
62
62
  type: Component,
63
63
  args: [{
64
64
  selector: 'thy-card',
@@ -113,10 +113,10 @@ class ThyCardContent {
113
113
  this._thySizeSm = value === 'sm';
114
114
  }
115
115
  ngOnInit() { }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyCardContent, isStandalone: true, selector: "thy-card-content", inputs: { thyScroll: ["thyScroll", "thyScroll", coerceBooleanProperty], thySize: "thySize" }, host: { properties: { "class.thy-card-content--scroll": "this.scrollClassName", "class.thy-card-content--sm": "this._thySizeSm" }, classAttribute: "thy-card-content" }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
116
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThyCardContent, isStandalone: true, selector: "thy-card-content", inputs: { thyScroll: ["thyScroll", "thyScroll", coerceBooleanProperty], thySize: "thySize" }, host: { properties: { "class.thy-card-content--scroll": "this.scrollClassName", "class.thy-card-content--sm": "this._thySizeSm" }, classAttribute: "thy-card-content" }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
118
118
  }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardContent, decorators: [{
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardContent, decorators: [{
120
120
  type: Component,
121
121
  args: [{
122
122
  selector: 'thy-card-content',
@@ -143,11 +143,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
143
143
  }] } });
144
144
 
145
145
  class ThyCardModule {
146
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
147
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyCardModule, imports: [CommonModule, ThyCard, ThyCardHeader, ThyCardContent], exports: [ThyCard, ThyCardHeader, ThyCardContent] }); }
148
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardModule, imports: [CommonModule] }); }
146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
147
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: ThyCardModule, imports: [CommonModule, ThyCard, ThyCardHeader, ThyCardContent], exports: [ThyCard, ThyCardHeader, ThyCardContent] }); }
148
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardModule, imports: [CommonModule] }); }
149
149
  }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCardModule, decorators: [{
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCardModule, decorators: [{
151
151
  type: NgModule,
152
152
  args: [{
153
153
  imports: [CommonModule, ThyCard, ThyCardHeader, ThyCardContent],
@@ -6,7 +6,7 @@ import { Subject, fromEvent } from 'rxjs';
6
6
  import { map, takeUntil, debounceTime } from 'rxjs/operators';
7
7
  import { ThyIcon, ThyIconModule } from 'ngx-tethys/icon';
8
8
  import { ThyDot, ThyDotModule } from 'ngx-tethys/dot';
9
- import { coerceBooleanProperty } from 'ngx-tethys/util';
9
+ import { isNumber, coerceBooleanProperty } from 'ngx-tethys/util';
10
10
 
11
11
  /**
12
12
  * @private
@@ -30,10 +30,10 @@ class ThyCarouselItemDirective {
30
30
  this.el = elementRef.nativeElement;
31
31
  this.renderer.addClass(elementRef.nativeElement, 'thy-carousel-item');
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: ThyCarouselItemDirective, isStandalone: true, selector: "[thyCarouselItem],[thy-carousel-item]", exportAs: ["thyCarouseItem"], ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyCarouselItemDirective, isStandalone: true, selector: "[thyCarouselItem],[thy-carousel-item]", exportAs: ["thyCarouseItem"], ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselItemDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselItemDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: '[thyCarouselItem],[thy-carousel-item]',
@@ -273,10 +273,10 @@ class ThyCarouselService {
273
273
  });
274
274
  });
275
275
  }
276
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselService, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
277
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselService, providedIn: 'root' }); }
276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselService, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
277
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselService, providedIn: 'root' }); }
278
278
  }
279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselService, decorators: [{
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselService, decorators: [{
280
280
  type: Injectable,
281
281
  args: [{
282
282
  providedIn: 'root'
@@ -505,22 +505,22 @@ class ThyCarousel {
505
505
  }
506
506
  ngAfterContentInit() {
507
507
  this._trigger$.pipe(takeUntil(this._destroy$), debounceTime(this.playTime)).subscribe(index => {
508
- if (!isNaN(index)) {
508
+ if (isNumber(index)) {
509
509
  this.moveTo(index);
510
510
  }
511
511
  });
512
512
  }
513
513
  ngOnDestroy() {
514
514
  this.clearScheduledTransition();
515
- this._trigger$.next();
515
+ this._trigger$.next(null);
516
516
  this._trigger$.complete();
517
517
  this._destroy$.next();
518
518
  this._destroy$.complete();
519
519
  }
520
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarousel, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ThyCarouselService }, { token: i2.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
521
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyCarousel, isStandalone: true, selector: "thy-carousel", inputs: { thyAutoPlay: ["thyAutoPlay", "thyAutoPlay", coerceBooleanProperty], thyAutoPlayInterval: ["thyAutoPlayInterval", "thyAutoPlayInterval", numberAttribute], thyEffect: "thyEffect", thyIndicators: ["thyIndicators", "thyIndicators", coerceBooleanProperty], thyIndicatorRender: "thyIndicatorRender", thyControls: ["thyControls", "thyControls", coerceBooleanProperty], thyControlPrev: "thyControlPrev", thyControlNext: "thyControlNext", thyTouchable: ["thyTouchable", "thyTouchable", coerceBooleanProperty], thyTrigger: "thyTrigger", thyPause: "thyPause" }, outputs: { thyBeforeChange: "thyBeforeChange", thyAfterChange: "thyAfterChange" }, host: { classAttribute: "thy-carousel" }, queries: [{ propertyName: "carouselItems", predicate: ThyCarouselItemDirective }], viewQueries: [{ propertyName: "carouselWrapper", first: true, predicate: ["carouselWrapper"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"thy-carousel thy-carousel-initialized thy-carousel-point-events\">\n <div #carouselWrapper class=\"thy-carousel-wrapper\" (mousedown)=\"onDrag($event)\" (touchstart)=\"onDrag($event)\">\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf=\"thyControls && carouselItems.length > 1\">\n <div class=\"thy-carousel-control-pre-wrapper\" (click)=\"pre()\">\n <ng-container *ngTemplateOutlet=\"thyControlPrev || defaultControlPrev\"></ng-container>\n </div>\n <div class=\"thy-carousel-control-next-wrapper\" (click)=\"next()\">\n <ng-container *ngTemplateOutlet=\"thyControlNext || defaultControlNext\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"thyIndicators\">\n <div class=\"thy-carousel-indicators\">\n <span\n *ngFor=\"let content of carouselItems; let i = index\"\n class=\"thy-carousel-indicator\"\n (mouseenter)=\"indicatorHandleTrigger(i)\"\n (mouseleave)=\"indicatorHandleLeave()\"\n (click)=\"indicatorHandleClick(i)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"thyIndicatorRender || defaultIndicatorRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i === activeIndex }\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n</div>\n\n<ng-template #defaultIndicatorRender let-active>\n <thy-dot thyColor=\"#fff\" [class.active]=\"active\"></thy-dot>\n</ng-template>\n\n<ng-template #defaultControlPrev>\n <div class=\"thy-carousel-control thy-carousel-control-pre\">\n <thy-icon thyIconName=\"angle-left-bold\"></thy-icon>\n </div>\n</ng-template>\n\n<ng-template #defaultControlNext>\n <div class=\"thy-carousel-control thy-carousel-control-next\">\n <thy-icon thyIconName=\"angle-right-bold\"></thy-icon>\n </div>\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: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThyDot, selector: "thy-dot,[thy-dot],[thyDot]", inputs: ["thyColor", "thySize", "thyTheme", "thyShape"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
520
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarousel, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: ThyCarouselService }, { token: i2.Platform }], target: i0.ɵɵFactoryTarget.Component }); }
521
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThyCarousel, isStandalone: true, selector: "thy-carousel", inputs: { thyAutoPlay: ["thyAutoPlay", "thyAutoPlay", coerceBooleanProperty], thyAutoPlayInterval: ["thyAutoPlayInterval", "thyAutoPlayInterval", numberAttribute], thyEffect: "thyEffect", thyIndicators: ["thyIndicators", "thyIndicators", coerceBooleanProperty], thyIndicatorRender: "thyIndicatorRender", thyControls: ["thyControls", "thyControls", coerceBooleanProperty], thyControlPrev: "thyControlPrev", thyControlNext: "thyControlNext", thyTouchable: ["thyTouchable", "thyTouchable", coerceBooleanProperty], thyTrigger: "thyTrigger", thyPause: "thyPause" }, outputs: { thyBeforeChange: "thyBeforeChange", thyAfterChange: "thyAfterChange" }, host: { classAttribute: "thy-carousel" }, queries: [{ propertyName: "carouselItems", predicate: ThyCarouselItemDirective }], viewQueries: [{ propertyName: "carouselWrapper", first: true, predicate: ["carouselWrapper"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"thy-carousel thy-carousel-initialized thy-carousel-point-events\">\n <div #carouselWrapper class=\"thy-carousel-wrapper\" (mousedown)=\"onDrag($event)\" (touchstart)=\"onDrag($event)\">\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf=\"thyControls && carouselItems.length > 1\">\n <div class=\"thy-carousel-control-pre-wrapper\" (click)=\"pre()\">\n <ng-container *ngTemplateOutlet=\"thyControlPrev || defaultControlPrev\"></ng-container>\n </div>\n <div class=\"thy-carousel-control-next-wrapper\" (click)=\"next()\">\n <ng-container *ngTemplateOutlet=\"thyControlNext || defaultControlNext\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"thyIndicators\">\n <div class=\"thy-carousel-indicators\">\n <span\n *ngFor=\"let content of carouselItems; let i = index\"\n class=\"thy-carousel-indicator\"\n (mouseenter)=\"indicatorHandleTrigger(i)\"\n (mouseleave)=\"indicatorHandleLeave()\"\n (click)=\"indicatorHandleClick(i)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"thyIndicatorRender || defaultIndicatorRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i === activeIndex }\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n</div>\n\n<ng-template #defaultIndicatorRender let-active>\n <thy-dot thyColor=\"#fff\" [class.active]=\"active\"></thy-dot>\n</ng-template>\n\n<ng-template #defaultControlPrev>\n <div class=\"thy-carousel-control thy-carousel-control-pre\">\n <thy-icon thyIconName=\"angle-left-bold\"></thy-icon>\n </div>\n</ng-template>\n\n<ng-template #defaultControlNext>\n <div class=\"thy-carousel-control thy-carousel-control-next\">\n <thy-icon thyIconName=\"angle-right-bold\"></thy-icon>\n </div>\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: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThyDot, selector: "thy-dot,[thy-dot],[thyDot]", inputs: ["thyColor", "thySize", "thyTheme", "thyShape"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
522
522
  }
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarousel, decorators: [{
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarousel, decorators: [{
524
524
  type: Component,
525
525
  args: [{ selector: 'thy-carousel', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, host: {
526
526
  class: 'thy-carousel'
@@ -566,11 +566,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
566
566
 
567
567
  const COMPONENTS = [ThyCarousel, ThyCarouselItemDirective];
568
568
  class ThyCarouselModule {
569
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
570
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselModule, imports: [CommonModule, ThyDotModule, ThyIconModule, ThyCarousel, ThyCarouselItemDirective], exports: [ThyCarousel, ThyCarouselItemDirective] }); }
571
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselModule, imports: [CommonModule, ThyDotModule, ThyIconModule, ThyCarousel] }); }
569
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
570
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselModule, imports: [CommonModule, ThyDotModule, ThyIconModule, ThyCarousel, ThyCarouselItemDirective], exports: [ThyCarousel, ThyCarouselItemDirective] }); }
571
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselModule, imports: [CommonModule, ThyDotModule, ThyIconModule, ThyCarousel] }); }
572
572
  }
573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyCarouselModule, decorators: [{
573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCarouselModule, decorators: [{
574
574
  type: NgModule,
575
575
  args: [{
576
576
  exports: [...COMPONENTS],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-carousel.mjs","sources":["../../../src/carousel/carousel-item.directive.ts","../../../src/carousel/engine/carousel-base.ts","../../../src/carousel/engine/carousel-noop.ts","../../../src/carousel/engine/carousel-slide.ts","../../../src/carousel/engine/carousel-fade.ts","../../../src/carousel/carousel.service.ts","../../../src/carousel/carousel.component.ts","../../../src/carousel/carousel.component.html","../../../src/carousel/module.ts","../../../src/carousel/ngx-tethys-carousel.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2 } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCarouselItem],[thy-carousel-item]',\n exportAs: 'thyCarouseItem',\n standalone: true\n})\nexport class ThyCarouselItemDirective {\n private _active = false;\n\n readonly el: HTMLElement;\n\n set isActive(value: boolean) {\n this._active = value;\n if (this.isActive) {\n this.renderer.addClass(this.el, 'thy-carousel-item-active');\n } else {\n this.renderer.removeClass(this.el, 'thy-carousel-item-active');\n }\n }\n\n get isActive(): boolean {\n return this._active;\n }\n\n constructor(elementRef: ElementRef, private renderer: Renderer2) {\n this.el = elementRef.nativeElement;\n this.renderer.addClass(elementRef.nativeElement, 'thy-carousel-item');\n }\n}\n","import { ChangeDetectorRef, Renderer2, QueryList } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable } from 'rxjs';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector, ThyCarouselEngine } from '../typings';\n\nexport abstract class ThyCarouselBaseEngine implements ThyCarouselEngine {\n protected contentWidth: number;\n protected contentHeight: number;\n protected readonly carouselComponent: ThyCarousel;\n protected wrapperEl: HTMLElement;\n protected playTime: number;\n protected length: number;\n protected contents: ThyCarouselItemDirective[];\n\n protected get maxIndex(): number {\n return this.length - 1;\n }\n\n protected get firstEl(): HTMLElement {\n return this.contents[0].el;\n }\n\n protected get lastEl(): HTMLElement {\n return this.contents[this.maxIndex].el;\n }\n\n protected constructor(\n thyCarouselComponent: ThyCarousel,\n protected cdr: ChangeDetectorRef,\n protected renderer: Renderer2,\n protected platform: Platform\n ) {\n this.carouselComponent = thyCarouselComponent;\n }\n\n initializeContents(contents: QueryList<ThyCarouselItemDirective> | null) {\n const carousel = this.carouselComponent!;\n const { wrapperEl, playTime } = carousel;\n this.wrapperEl = wrapperEl;\n this.playTime = playTime;\n const { width, height } = wrapperEl.getBoundingClientRect();\n this.contentHeight = height;\n this.contentWidth = width;\n\n this.contents = contents?.toArray();\n this.length = this.contents.length;\n if (this.platform.isBrowser && this.contents.length) {\n this.renderer.setStyle(this.wrapperEl, 'transform', 'translate3d(0, 0, 0)');\n this.renderer.setStyle(this.wrapperEl, `height`, `${this.contentHeight}px`);\n }\n this.contents.forEach(content => {\n content.el.removeAttribute('style');\n });\n }\n\n abstract dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void;\n\n abstract initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void;\n\n abstract switch(to: number, from: number): Observable<void>;\n\n correctionOffset(): void {\n const carousel = this.carouselComponent!;\n const { wrapperEl } = carousel;\n const { width, height } = wrapperEl.getBoundingClientRect();\n this.contentWidth = width;\n this.contentHeight = height;\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselNoopEngine extends ThyCarouselBaseEngine {\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {}\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n this.renderer.setStyle(\n this.wrapperEl,\n `transform`,\n `translate3d(${(-(to + this.length) % this.length) * this.contentWidth}px,0 , 0)`\n );\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n switch$.complete();\n }, 0);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {\n super.correctionOffset();\n const { activeIndex } = this.carouselComponent!;\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-activeIndex * this.contentWidth}px,0 , 0)`);\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselSlideEngine extends ThyCarouselBaseEngine {\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n private prepareHorizontalContext(activeIndex: number): void {\n if (activeIndex >= this.maxIndex) {\n this.renderer.setStyle(this.firstEl, 'left', `${this.length * this.contentWidth}px`);\n this.renderer.setStyle(this.lastEl, 'left', null);\n } else if (activeIndex <= 0) {\n this.renderer.setStyle(this.firstEl, 'left', null);\n this.renderer.setStyle(this.lastEl, 'left', `${-this.length * this.contentWidth}px`);\n } else {\n this.resetContext();\n }\n }\n\n private resetContext() {\n this.renderer.setStyle(this.lastEl, 'left', null);\n this.renderer.setStyle(this.firstEl, 'left', null);\n }\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {\n const { x } = pointerVector;\n const { width, height } = rect;\n this.contentWidth = width;\n this.contentHeight = height;\n const activeIndex = this.carouselComponent!.activeIndex;\n if (this.length > 1) {\n this.prepareHorizontalContext(activeIndex);\n }\n this.renderer.setStyle(this.wrapperEl, 'transform', `translate3d(${-activeIndex * this.contentWidth + x}px,0 , 0)`);\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n if (Math.abs(from - to) === 1 || from === to) {\n this.prepareHorizontalContext(to);\n }\n this.renderer.setStyle(this.wrapperEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-to * this.contentWidth}px,0 , 0)`);\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n this.resetContext();\n this.renderer.setStyle(this.wrapperEl, `transition-duration`, `0s`);\n this.renderer.setStyle(\n this.wrapperEl,\n `transform`,\n `translate3d(${-((to + this.length) % this.length) * this.contentWidth}px,0 , 0)`\n );\n switch$.complete();\n }, this.playTime);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {\n super.correctionOffset();\n const { activeIndex } = this.carouselComponent!;\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-activeIndex * this.contentWidth}px,0 , 0)`);\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselFadeEngine extends ThyCarouselBaseEngine {\n contentsEl: HTMLElement[];\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {\n const { x } = pointerVector;\n const { width } = rect;\n const activeIndex = this.carouselComponent!.activeIndex;\n const currentContent = this.contentsEl[activeIndex];\n this.renderer.setStyle(currentContent, 'opacity', `${1 - Math.abs(x) / width}`);\n }\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n this.contentsEl = [];\n contents.forEach((content, index) => {\n this.contentsEl.push(content.el);\n this.renderer.setStyle(content.el, 'opacity', this.carouselComponent!.activeIndex === index ? '1' : '0');\n this.renderer.setStyle(content.el, 'position', 'absolute');\n this.renderer.setStyle(content.el, 'left', '0');\n this.renderer.setStyle(content.el, `transition-property`, 'opacity');\n this.renderer.setStyle(content.el, `transition-timing-function`, 'ease');\n });\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n const currentEl = this.contentsEl[from];\n const nextEl = this.contentsEl[(to + this.length) % this.length];\n this.renderer.setStyle(currentEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(nextEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(currentEl, 'opacity', '0');\n this.renderer.setStyle(nextEl, 'opacity', '1');\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n this.renderer.setStyle(currentEl, `transition-duration`, `0s`);\n this.renderer.setStyle(nextEl, `transition-duration`, `0s`);\n switch$.complete();\n }, this.playTime);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {}\n}\n","import { Inject, Injectable, NgZone } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { Observable, Subject } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { ThyDistanceVector } from './typings';\n\n/**\n * @internal\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class ThyCarouselService {\n private listeners = new Map<string, (event: MouseEvent | TouchEvent) => void>();\n private document: Document;\n\n documentDraggingOutside$ = new Subject<MouseEvent | Touch>();\n\n constructor(private ngZone: NgZone, @Inject(DOCUMENT) document: any) {\n this.document = document;\n }\n\n private clearListeners(): void {\n this.listeners.forEach((handler, name) => {\n this.document.removeEventListener(name, handler as EventListener);\n });\n this.listeners.clear();\n }\n\n private getEventPotions(event: MouseEvent | TouchEvent): MouseEvent | Touch {\n if (event instanceof MouseEvent) {\n return event;\n } else {\n return event.touches[0] || event.changedTouches[0];\n }\n }\n\n registerDrag(event: MouseEvent | TouchEvent): Observable<ThyDistanceVector> {\n if (this.documentDraggingOutside$) {\n this.documentDraggingOutside$.complete();\n }\n\n const startPoint = this.getEventPotions(event);\n\n this.documentDraggingOutside$ = new Subject<MouseEvent | Touch>();\n\n this.registerHandler(event);\n\n return this.documentDraggingOutside$.pipe(\n map(e => {\n return {\n x: e.pageX - startPoint!.pageX,\n y: e.pageY - startPoint!.pageY\n };\n })\n );\n }\n\n registerHandler(event: MouseEvent | TouchEvent) {\n this.clearListeners();\n const _isTouchEvent = event instanceof MouseEvent;\n const moveEvent = _isTouchEvent ? 'mousemove' : 'touchmove';\n const upEvent = _isTouchEvent ? 'mouseup' : 'touchend';\n const moveEventHandler = (e: MouseEvent | TouchEvent) => {\n this.documentDraggingOutside$.next(e instanceof MouseEvent ? e : e.touches[0] || e.changedTouches[0]);\n };\n const upEventHandler = () => {\n this.documentDraggingOutside$.complete();\n this.clearListeners();\n };\n this.listeners.set(moveEvent, moveEventHandler);\n this.listeners.set(upEvent, upEventHandler);\n this.ngZone.runOutsideAngular(() => {\n this.listeners.forEach((handler, name) => {\n this.document.addEventListener(name, handler as EventListener);\n });\n });\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnInit,\n Output,\n QueryList,\n Renderer2,\n ViewChild,\n TemplateRef,\n ViewEncapsulation,\n AfterContentInit,\n OnChanges,\n SimpleChanges,\n NgZone,\n OnDestroy,\n numberAttribute\n} from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { ThyCarouselItemDirective } from './carousel-item.directive';\nimport {\n ThyCarouselEngine,\n ThyDistanceVector,\n ThyCarouselSwitchData,\n ThyCarouselEffect,\n ThyCarouselTrigger,\n ThyCarouselPause\n} from './typings';\nimport { ThyCarouselSlideEngine, ThyCarouselNoopEngine, ThyCarouselFadeEngine } from './engine';\nimport { fromEvent, Subject } from 'rxjs';\nimport { debounceTime, takeUntil } from 'rxjs/operators';\nimport { ThyCarouselService } from './carousel.service';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { ThyDot } from 'ngx-tethys/dot';\nimport { NgIf, NgTemplateOutlet, NgFor } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 走马灯组件\n * @name thy-carousel\n */\n@Component({\n selector: 'thy-carousel',\n templateUrl: './carousel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n host: {\n class: 'thy-carousel'\n },\n standalone: true,\n imports: [NgIf, NgTemplateOutlet, NgFor, ThyDot, ThyIcon]\n})\nexport class ThyCarousel implements OnInit, AfterViewInit, AfterContentInit, OnChanges, OnDestroy {\n /**\n * @private\n */\n @ContentChildren(ThyCarouselItemDirective) carouselItems!: QueryList<ThyCarouselItemDirective>;\n\n /**\n * @private\n */\n @ViewChild('carouselWrapper', { static: true }) carouselWrapper: ElementRef<HTMLElement>;\n\n /**\n * 是否自动切换,默认 false\n */\n @Input({ transform: coerceBooleanProperty }) thyAutoPlay: boolean = false;\n\n /**\n * 自动切换时间间隔(毫秒)\n */\n @Input({ transform: numberAttribute }) thyAutoPlayInterval: number = 3000;\n\n /**\n * 切换动画样式\n * @type slide | fade | noop\n */\n @Input() thyEffect: ThyCarouselEffect = 'slide';\n\n /**\n * 是否显示切换指示器\n */\n @Input({ transform: coerceBooleanProperty }) thyIndicators = true;\n\n /**\n * 指示器 Item 的渲染模板\n */\n @Input() thyIndicatorRender?: TemplateRef<{ $implicit: boolean }>;\n\n /**\n * 是否显示左右切换\n */\n @Input({ transform: coerceBooleanProperty }) thyControls = true;\n\n /**\n * 上一个控制器渲染模板\n */\n @Input() thyControlPrev?: TemplateRef<any>;\n\n /**\n * 下一个控制器渲染模板\n */\n @Input() thyControlNext?: TemplateRef<any>;\n\n /**\n * 是否支持手势滑动\n */\n @Input({ transform: coerceBooleanProperty }) thyTouchable = true;\n\n /**\n * 指示点切换的触发条件\n * @type click | hover\n */\n @Input() thyTrigger: ThyCarouselTrigger = 'click';\n\n /**\n * 鼠标移动到指示器时是否暂停播放\n * @type false | hover\n */\n @Input() thyPause: ThyCarouselPause = 'hover';\n\n /**\n * 触发切换帧之前,返回 `{from: number, to: number}`\n */\n @Output() readonly thyBeforeChange = new EventEmitter<ThyCarouselSwitchData>();\n\n /**\n * 切换帧之后的回调,返回当前帧索引\n */\n @Output() readonly thyAfterChange = new EventEmitter<number>();\n\n private isDragging = false;\n\n private isTransitioning = false;\n\n private pointerVector: ThyDistanceVector = { x: 0, y: 0 };\n\n private engine: ThyCarouselEngine;\n\n private _trigger$ = new Subject<number>();\n\n private _destroy$ = new Subject<void>();\n\n wrapperDomRect: DOMRect;\n\n activeIndex = 0;\n\n wrapperEl: HTMLElement;\n\n transitionTimer: any = null;\n\n playTime: number = 400;\n\n isPause: boolean = false;\n\n constructor(\n protected renderer: Renderer2,\n private cdr: ChangeDetectorRef,\n private ngZone: NgZone,\n private readonly carouselService: ThyCarouselService,\n private readonly platform: Platform\n ) {}\n\n private moveTo(index: number): void {\n if (this.carouselItems && this.carouselItems.length && !this.isTransitioning) {\n this.setInitialValue();\n const len = this.carouselItems.length;\n const from = this.activeIndex;\n const to = (index + len) % len;\n this.thyBeforeChange.emit({ from, to });\n this.isTransitioning = true;\n this.engine?.switch(index, this.activeIndex).subscribe(\n () => {\n this.activeIndex = to;\n this.markContentActive(this.activeIndex);\n this.scheduleNextTransition();\n this.thyAfterChange.emit(this.activeIndex);\n },\n () => {},\n () => {\n this.isTransitioning = false;\n }\n );\n this.cdr.markForCheck();\n }\n }\n\n private switchEngine(): void {\n switch (this.thyEffect) {\n case 'slide':\n this.engine = new ThyCarouselSlideEngine(this, this.cdr, this.renderer, this.platform);\n break;\n case 'fade':\n this.engine = new ThyCarouselFadeEngine(this, this.cdr, this.renderer, this.platform);\n break;\n default:\n this.engine = new ThyCarouselNoopEngine(this, this.cdr, this.renderer, this.platform);\n }\n }\n\n private markContentActive(index: number) {\n this.activeIndex = index;\n this.carouselItems.forEach((carouselContent: ThyCarouselItemDirective, i: number) => {\n carouselContent.isActive = index === i;\n });\n this.cdr.detectChanges();\n }\n\n private setInitialValue(): void {\n if (this.engine) {\n this.engine.initializeCarouselContents(this.carouselItems);\n }\n }\n\n private scheduleNextTransition(): void {\n this.clearScheduledTransition();\n if (this.thyAutoPlay && !this.isPause) {\n this.transitionTimer = setTimeout(() => {\n this.moveTo(this.activeIndex + 1);\n }, this.thyAutoPlayInterval);\n }\n }\n\n private clearScheduledTransition(): void {\n if (this.transitionTimer) {\n clearTimeout(this.transitionTimer);\n this.transitionTimer = null;\n }\n }\n\n onDrag(event: TouchEvent | MouseEvent): void {\n if (!this.isDragging && !this.isTransitioning && this.thyTouchable) {\n const mouseDownTime = new Date().getTime();\n let mouseUpTime: number;\n this.clearScheduledTransition();\n this.wrapperDomRect = this.wrapperEl.getBoundingClientRect();\n this.carouselService.registerDrag(event).subscribe(\n pointerVector => {\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'grabbing');\n this.pointerVector = pointerVector;\n this.isDragging = true;\n this.engine?.dragging(this.pointerVector, this.wrapperDomRect);\n },\n () => {},\n () => {\n if (this.isDragging) {\n mouseUpTime = new Date().getTime();\n const holdDownTime = mouseUpTime - mouseDownTime;\n // Fast enough to switch to the next frame\n // or\n // If the pointerVector is more than one third switch to the next frame\n if (\n Math.abs(this.pointerVector.x) > this.wrapperDomRect.width / 3 ||\n Math.abs(this.pointerVector.x) / holdDownTime >= 1\n ) {\n this.moveTo(this.pointerVector.x > 0 ? this.activeIndex - 1 : this.activeIndex + 1);\n } else {\n this.moveTo(this.activeIndex);\n }\n }\n this.isDragging = false;\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'grab');\n }\n );\n }\n }\n\n indicatorHandleClick(index: number): void {\n if (this.thyTrigger === 'click') {\n this.moveTo(index);\n }\n }\n\n indicatorHandleTrigger(index: number): void {\n if (this.thyPause === 'hover') {\n this.isPause = true;\n this.clearScheduledTransition();\n }\n if (this.thyTrigger === 'hover') {\n this._trigger$.next(index);\n }\n }\n\n indicatorHandleLeave() {\n if (this.thyPause === 'hover') {\n this.isPause = false;\n this.scheduleNextTransition();\n }\n }\n\n next(): void {\n this.moveTo(this.activeIndex + 1);\n }\n\n pre(): void {\n this.moveTo(this.activeIndex - 1);\n }\n\n ngOnInit(): void {\n this.wrapperEl = this.carouselWrapper!.nativeElement;\n this.ngZone.runOutsideAngular(() => {\n fromEvent(window, 'resize')\n .pipe(takeUntil(this._destroy$), debounceTime(100))\n .subscribe(() => {\n this.engine?.correctionOffset();\n });\n });\n }\n ngOnChanges(changes: SimpleChanges) {\n const { thyEffect, thyTouchable } = changes;\n if (thyEffect && !thyEffect.isFirstChange()) {\n this.switchEngine();\n this.markContentActive(0);\n this.setInitialValue();\n }\n\n if (thyTouchable && !thyTouchable.isFirstChange()) {\n this.renderer.setStyle(this.wrapperEl, 'cursor', thyTouchable.currentValue ? 'grab' : 'default');\n }\n\n if (!this.thyAutoPlay || !this.thyAutoPlayInterval) {\n this.clearScheduledTransition();\n } else {\n this.scheduleNextTransition();\n }\n }\n\n ngAfterViewInit(): void {\n this.carouselItems.changes.subscribe(() => {\n this.markContentActive(0);\n this.setInitialValue();\n });\n this.switchEngine();\n this.markContentActive(0);\n this.setInitialValue();\n\n if (!this.thyTouchable) {\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'default');\n }\n }\n\n ngAfterContentInit() {\n this._trigger$.pipe(takeUntil(this._destroy$), debounceTime(this.playTime)).subscribe(index => {\n if (!isNaN(index)) {\n this.moveTo(index);\n }\n });\n }\n\n ngOnDestroy() {\n this.clearScheduledTransition();\n this._trigger$.next();\n this._trigger$.complete();\n this._destroy$.next();\n this._destroy$.complete();\n }\n}\n","<div class=\"thy-carousel thy-carousel-initialized thy-carousel-point-events\">\n <div #carouselWrapper class=\"thy-carousel-wrapper\" (mousedown)=\"onDrag($event)\" (touchstart)=\"onDrag($event)\">\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf=\"thyControls && carouselItems.length > 1\">\n <div class=\"thy-carousel-control-pre-wrapper\" (click)=\"pre()\">\n <ng-container *ngTemplateOutlet=\"thyControlPrev || defaultControlPrev\"></ng-container>\n </div>\n <div class=\"thy-carousel-control-next-wrapper\" (click)=\"next()\">\n <ng-container *ngTemplateOutlet=\"thyControlNext || defaultControlNext\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"thyIndicators\">\n <div class=\"thy-carousel-indicators\">\n <span\n *ngFor=\"let content of carouselItems; let i = index\"\n class=\"thy-carousel-indicator\"\n (mouseenter)=\"indicatorHandleTrigger(i)\"\n (mouseleave)=\"indicatorHandleLeave()\"\n (click)=\"indicatorHandleClick(i)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"thyIndicatorRender || defaultIndicatorRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i === activeIndex }\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n</div>\n\n<ng-template #defaultIndicatorRender let-active>\n <thy-dot thyColor=\"#fff\" [class.active]=\"active\"></thy-dot>\n</ng-template>\n\n<ng-template #defaultControlPrev>\n <div class=\"thy-carousel-control thy-carousel-control-pre\">\n <thy-icon thyIconName=\"angle-left-bold\"></thy-icon>\n </div>\n</ng-template>\n\n<ng-template #defaultControlNext>\n <div class=\"thy-carousel-control thy-carousel-control-next\">\n <thy-icon thyIconName=\"angle-right-bold\"></thy-icon>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyCarousel } from './carousel.component';\nimport { ThyCarouselItemDirective } from './carousel-item.directive';\nimport { ThyDotModule } from 'ngx-tethys/dot';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\nconst COMPONENTS = [ThyCarousel, ThyCarouselItemDirective];\n\n@NgModule({\n exports: [...COMPONENTS],\n imports: [CommonModule, ThyDotModule, ThyIconModule, ...COMPONENTS]\n})\nexport class ThyCarouselModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThyCarouselService"],"mappings":";;;;;;;;;;AAEA;;AAEG;MAMU,wBAAwB,CAAA;IAKjC,IAAI,QAAQ,CAAC,KAAc,EAAA;AACvB,QAAA,IAAI,CA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ts","../../../src/carousel/engine/carousel-noop.ts","../../../src/carousel/engine/carousel-slide.ts","../../../src/carousel/engine/carousel-fade.ts","../../../src/carousel/carousel.service.ts","../../../src/carousel/carousel.component.ts","../../../src/carousel/carousel.component.html","../../../src/carousel/module.ts","../../../src/carousel/ngx-tethys-carousel.ts"],"sourcesContent":["import { Directive, ElementRef, Renderer2 } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCarouselItem],[thy-carousel-item]',\n exportAs: 'thyCarouseItem',\n standalone: true\n})\nexport class ThyCarouselItemDirective {\n private _active = false;\n\n readonly el: HTMLElement;\n\n set isActive(value: boolean) {\n this._active = value;\n if (this.isActive) {\n this.renderer.addClass(this.el, 'thy-carousel-item-active');\n } else {\n this.renderer.removeClass(this.el, 'thy-carousel-item-active');\n }\n }\n\n get isActive(): boolean {\n return this._active;\n }\n\n constructor(\n elementRef: ElementRef,\n private renderer: Renderer2\n ) {\n this.el = elementRef.nativeElement;\n this.renderer.addClass(elementRef.nativeElement, 'thy-carousel-item');\n }\n}\n","import { ChangeDetectorRef, Renderer2, QueryList } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable } from 'rxjs';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector, ThyCarouselEngine } from '../typings';\n\nexport abstract class ThyCarouselBaseEngine implements ThyCarouselEngine {\n protected contentWidth: number;\n protected contentHeight: number;\n protected readonly carouselComponent: ThyCarousel;\n protected wrapperEl: HTMLElement;\n protected playTime: number;\n protected length: number;\n protected contents: ThyCarouselItemDirective[];\n\n protected get maxIndex(): number {\n return this.length - 1;\n }\n\n protected get firstEl(): HTMLElement {\n return this.contents[0].el;\n }\n\n protected get lastEl(): HTMLElement {\n return this.contents[this.maxIndex].el;\n }\n\n protected constructor(\n thyCarouselComponent: ThyCarousel,\n protected cdr: ChangeDetectorRef,\n protected renderer: Renderer2,\n protected platform: Platform\n ) {\n this.carouselComponent = thyCarouselComponent;\n }\n\n initializeContents(contents: QueryList<ThyCarouselItemDirective> | null) {\n const carousel = this.carouselComponent!;\n const { wrapperEl, playTime } = carousel;\n this.wrapperEl = wrapperEl;\n this.playTime = playTime;\n const { width, height } = wrapperEl.getBoundingClientRect();\n this.contentHeight = height;\n this.contentWidth = width;\n\n this.contents = contents?.toArray();\n this.length = this.contents.length;\n if (this.platform.isBrowser && this.contents.length) {\n this.renderer.setStyle(this.wrapperEl, 'transform', 'translate3d(0, 0, 0)');\n this.renderer.setStyle(this.wrapperEl, `height`, `${this.contentHeight}px`);\n }\n this.contents.forEach(content => {\n content.el.removeAttribute('style');\n });\n }\n\n abstract dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void;\n\n abstract initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void;\n\n abstract switch(to: number, from: number): Observable<void>;\n\n correctionOffset(): void {\n const carousel = this.carouselComponent!;\n const { wrapperEl } = carousel;\n const { width, height } = wrapperEl.getBoundingClientRect();\n this.contentWidth = width;\n this.contentHeight = height;\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselNoopEngine extends ThyCarouselBaseEngine {\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {}\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n this.renderer.setStyle(\n this.wrapperEl,\n `transform`,\n `translate3d(${(-(to + this.length) % this.length) * this.contentWidth}px,0 , 0)`\n );\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n switch$.complete();\n }, 0);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {\n super.correctionOffset();\n const { activeIndex } = this.carouselComponent!;\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-activeIndex * this.contentWidth}px,0 , 0)`);\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselSlideEngine extends ThyCarouselBaseEngine {\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n private prepareHorizontalContext(activeIndex: number): void {\n if (activeIndex >= this.maxIndex) {\n this.renderer.setStyle(this.firstEl, 'left', `${this.length * this.contentWidth}px`);\n this.renderer.setStyle(this.lastEl, 'left', null);\n } else if (activeIndex <= 0) {\n this.renderer.setStyle(this.firstEl, 'left', null);\n this.renderer.setStyle(this.lastEl, 'left', `${-this.length * this.contentWidth}px`);\n } else {\n this.resetContext();\n }\n }\n\n private resetContext() {\n this.renderer.setStyle(this.lastEl, 'left', null);\n this.renderer.setStyle(this.firstEl, 'left', null);\n }\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {\n const { x } = pointerVector;\n const { width, height } = rect;\n this.contentWidth = width;\n this.contentHeight = height;\n const activeIndex = this.carouselComponent!.activeIndex;\n if (this.length > 1) {\n this.prepareHorizontalContext(activeIndex);\n }\n this.renderer.setStyle(this.wrapperEl, 'transform', `translate3d(${-activeIndex * this.contentWidth + x}px,0 , 0)`);\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n if (Math.abs(from - to) === 1 || from === to) {\n this.prepareHorizontalContext(to);\n }\n this.renderer.setStyle(this.wrapperEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-to * this.contentWidth}px,0 , 0)`);\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n this.resetContext();\n this.renderer.setStyle(this.wrapperEl, `transition-duration`, `0s`);\n this.renderer.setStyle(\n this.wrapperEl,\n `transform`,\n `translate3d(${-((to + this.length) % this.length) * this.contentWidth}px,0 , 0)`\n );\n switch$.complete();\n }, this.playTime);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {\n super.correctionOffset();\n const { activeIndex } = this.carouselComponent!;\n this.renderer.setStyle(this.wrapperEl, `transform`, `translate3d(${-activeIndex * this.contentWidth}px,0 , 0)`);\n }\n}\n","import { ChangeDetectorRef, QueryList, Renderer2 } from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { Observable, Subject } from 'rxjs';\nimport { ThyCarousel } from '../carousel.component';\nimport { ThyDistanceVector } from '../typings';\nimport { ThyCarouselItemDirective } from '../carousel-item.directive';\nimport { ThyCarouselBaseEngine } from '../engine/carousel-base';\n\nexport class ThyCarouselFadeEngine extends ThyCarouselBaseEngine {\n contentsEl: HTMLElement[];\n constructor(thyCarouselComponent: ThyCarousel, cdr: ChangeDetectorRef, renderer: Renderer2, platform: Platform) {\n super(thyCarouselComponent, cdr, renderer, platform);\n }\n\n dragging(pointerVector: ThyDistanceVector, rect: DOMRect): void {\n const { x } = pointerVector;\n const { width } = rect;\n const activeIndex = this.carouselComponent!.activeIndex;\n const currentContent = this.contentsEl[activeIndex];\n this.renderer.setStyle(currentContent, 'opacity', `${1 - Math.abs(x) / width}`);\n }\n\n initializeCarouselContents(contents: QueryList<ThyCarouselItemDirective> | null): void {\n this.initializeContents(contents);\n this.contentsEl = [];\n contents.forEach((content, index) => {\n this.contentsEl.push(content.el);\n this.renderer.setStyle(content.el, 'opacity', this.carouselComponent!.activeIndex === index ? '1' : '0');\n this.renderer.setStyle(content.el, 'position', 'absolute');\n this.renderer.setStyle(content.el, 'left', '0');\n this.renderer.setStyle(content.el, `transition-property`, 'opacity');\n this.renderer.setStyle(content.el, `transition-timing-function`, 'ease');\n });\n }\n\n switch(to: number, from: number): Observable<void> {\n const switch$ = new Subject<void>();\n const currentEl = this.contentsEl[from];\n const nextEl = this.contentsEl[(to + this.length) % this.length];\n this.renderer.setStyle(currentEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(nextEl, `transition-duration`, `${this.playTime}ms`);\n this.renderer.setStyle(currentEl, 'opacity', '0');\n this.renderer.setStyle(nextEl, 'opacity', '1');\n setTimeout(() => {\n switch$.next();\n }, 0);\n setTimeout(() => {\n this.renderer.setStyle(currentEl, `transition-duration`, `0s`);\n this.renderer.setStyle(nextEl, `transition-duration`, `0s`);\n switch$.complete();\n }, this.playTime);\n return switch$.asObservable();\n }\n\n correctionOffset(): void {}\n}\n","import { Inject, Injectable, NgZone } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { Observable, Subject } from 'rxjs';\nimport { map } from 'rxjs/operators';\nimport { ThyDistanceVector } from './typings';\n\n/**\n * @internal\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class ThyCarouselService {\n private listeners = new Map<string, (event: MouseEvent | TouchEvent) => void>();\n private document: Document;\n\n documentDraggingOutside$ = new Subject<MouseEvent | Touch>();\n\n constructor(\n private ngZone: NgZone,\n @Inject(DOCUMENT) document: any\n ) {\n this.document = document;\n }\n\n private clearListeners(): void {\n this.listeners.forEach((handler, name) => {\n this.document.removeEventListener(name, handler as EventListener);\n });\n this.listeners.clear();\n }\n\n private getEventPotions(event: MouseEvent | TouchEvent): MouseEvent | Touch {\n if (event instanceof MouseEvent) {\n return event;\n } else {\n return event.touches[0] || event.changedTouches[0];\n }\n }\n\n registerDrag(event: MouseEvent | TouchEvent): Observable<ThyDistanceVector> {\n if (this.documentDraggingOutside$) {\n this.documentDraggingOutside$.complete();\n }\n\n const startPoint = this.getEventPotions(event);\n\n this.documentDraggingOutside$ = new Subject<MouseEvent | Touch>();\n\n this.registerHandler(event);\n\n return this.documentDraggingOutside$.pipe(\n map(e => {\n return {\n x: e.pageX - startPoint!.pageX,\n y: e.pageY - startPoint!.pageY\n };\n })\n );\n }\n\n registerHandler(event: MouseEvent | TouchEvent) {\n this.clearListeners();\n const _isTouchEvent = event instanceof MouseEvent;\n const moveEvent = _isTouchEvent ? 'mousemove' : 'touchmove';\n const upEvent = _isTouchEvent ? 'mouseup' : 'touchend';\n const moveEventHandler = (e: MouseEvent | TouchEvent) => {\n this.documentDraggingOutside$.next(e instanceof MouseEvent ? e : e.touches[0] || e.changedTouches[0]);\n };\n const upEventHandler = () => {\n this.documentDraggingOutside$.complete();\n this.clearListeners();\n };\n this.listeners.set(moveEvent, moveEventHandler);\n this.listeners.set(upEvent, upEventHandler);\n this.ngZone.runOutsideAngular(() => {\n this.listeners.forEach((handler, name) => {\n this.document.addEventListener(name, handler as EventListener);\n });\n });\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnInit,\n Output,\n QueryList,\n Renderer2,\n ViewChild,\n TemplateRef,\n ViewEncapsulation,\n AfterContentInit,\n OnChanges,\n SimpleChanges,\n NgZone,\n OnDestroy,\n numberAttribute\n} from '@angular/core';\nimport { Platform } from '@angular/cdk/platform';\nimport { ThyCarouselItemDirective } from './carousel-item.directive';\nimport {\n ThyCarouselEngine,\n ThyDistanceVector,\n ThyCarouselSwitchData,\n ThyCarouselEffect,\n ThyCarouselTrigger,\n ThyCarouselPause\n} from './typings';\nimport { ThyCarouselSlideEngine, ThyCarouselNoopEngine, ThyCarouselFadeEngine } from './engine';\nimport { fromEvent, Subject } from 'rxjs';\nimport { debounceTime, takeUntil } from 'rxjs/operators';\nimport { ThyCarouselService } from './carousel.service';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { ThyDot } from 'ngx-tethys/dot';\nimport { NgIf, NgTemplateOutlet, NgFor } from '@angular/common';\nimport { coerceBooleanProperty, isNumber } from 'ngx-tethys/util';\n\n/**\n * 走马灯组件\n * @name thy-carousel\n */\n@Component({\n selector: 'thy-carousel',\n templateUrl: './carousel.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n host: {\n class: 'thy-carousel'\n },\n standalone: true,\n imports: [NgIf, NgTemplateOutlet, NgFor, ThyDot, ThyIcon]\n})\nexport class ThyCarousel implements OnInit, AfterViewInit, AfterContentInit, OnChanges, OnDestroy {\n /**\n * @private\n */\n @ContentChildren(ThyCarouselItemDirective) carouselItems!: QueryList<ThyCarouselItemDirective>;\n\n /**\n * @private\n */\n @ViewChild('carouselWrapper', { static: true }) carouselWrapper: ElementRef<HTMLElement>;\n\n /**\n * 是否自动切换,默认 false\n */\n @Input({ transform: coerceBooleanProperty }) thyAutoPlay: boolean = false;\n\n /**\n * 自动切换时间间隔(毫秒)\n */\n @Input({ transform: numberAttribute }) thyAutoPlayInterval: number = 3000;\n\n /**\n * 切换动画样式\n * @type slide | fade | noop\n */\n @Input() thyEffect: ThyCarouselEffect = 'slide';\n\n /**\n * 是否显示切换指示器\n */\n @Input({ transform: coerceBooleanProperty }) thyIndicators = true;\n\n /**\n * 指示器 Item 的渲染模板\n */\n @Input() thyIndicatorRender?: TemplateRef<{ $implicit: boolean }>;\n\n /**\n * 是否显示左右切换\n */\n @Input({ transform: coerceBooleanProperty }) thyControls = true;\n\n /**\n * 上一个控制器渲染模板\n */\n @Input() thyControlPrev?: TemplateRef<any>;\n\n /**\n * 下一个控制器渲染模板\n */\n @Input() thyControlNext?: TemplateRef<any>;\n\n /**\n * 是否支持手势滑动\n */\n @Input({ transform: coerceBooleanProperty }) thyTouchable = true;\n\n /**\n * 指示点切换的触发条件\n * @type click | hover\n */\n @Input() thyTrigger: ThyCarouselTrigger = 'click';\n\n /**\n * 鼠标移动到指示器时是否暂停播放\n * @type false | hover\n */\n @Input() thyPause: ThyCarouselPause = 'hover';\n\n /**\n * 触发切换帧之前,返回 `{from: number, to: number}`\n */\n @Output() readonly thyBeforeChange = new EventEmitter<ThyCarouselSwitchData>();\n\n /**\n * 切换帧之后的回调,返回当前帧索引\n */\n @Output() readonly thyAfterChange = new EventEmitter<number>();\n\n private isDragging = false;\n\n private isTransitioning = false;\n\n private pointerVector: ThyDistanceVector = { x: 0, y: 0 };\n\n private engine: ThyCarouselEngine;\n\n private _trigger$ = new Subject<number | null>();\n\n private _destroy$ = new Subject<void>();\n\n wrapperDomRect: DOMRect;\n\n activeIndex = 0;\n\n wrapperEl: HTMLElement;\n\n transitionTimer: any = null;\n\n playTime: number = 400;\n\n isPause: boolean = false;\n\n constructor(\n protected renderer: Renderer2,\n private cdr: ChangeDetectorRef,\n private ngZone: NgZone,\n private readonly carouselService: ThyCarouselService,\n private readonly platform: Platform\n ) {}\n\n private moveTo(index: number): void {\n if (this.carouselItems && this.carouselItems.length && !this.isTransitioning) {\n this.setInitialValue();\n const len = this.carouselItems.length;\n const from = this.activeIndex;\n const to = (index + len) % len;\n this.thyBeforeChange.emit({ from, to });\n this.isTransitioning = true;\n this.engine?.switch(index, this.activeIndex).subscribe(\n () => {\n this.activeIndex = to;\n this.markContentActive(this.activeIndex);\n this.scheduleNextTransition();\n this.thyAfterChange.emit(this.activeIndex);\n },\n () => {},\n () => {\n this.isTransitioning = false;\n }\n );\n this.cdr.markForCheck();\n }\n }\n\n private switchEngine(): void {\n switch (this.thyEffect) {\n case 'slide':\n this.engine = new ThyCarouselSlideEngine(this, this.cdr, this.renderer, this.platform);\n break;\n case 'fade':\n this.engine = new ThyCarouselFadeEngine(this, this.cdr, this.renderer, this.platform);\n break;\n default:\n this.engine = new ThyCarouselNoopEngine(this, this.cdr, this.renderer, this.platform);\n }\n }\n\n private markContentActive(index: number) {\n this.activeIndex = index;\n this.carouselItems.forEach((carouselContent: ThyCarouselItemDirective, i: number) => {\n carouselContent.isActive = index === i;\n });\n this.cdr.detectChanges();\n }\n\n private setInitialValue(): void {\n if (this.engine) {\n this.engine.initializeCarouselContents(this.carouselItems);\n }\n }\n\n private scheduleNextTransition(): void {\n this.clearScheduledTransition();\n if (this.thyAutoPlay && !this.isPause) {\n this.transitionTimer = setTimeout(() => {\n this.moveTo(this.activeIndex + 1);\n }, this.thyAutoPlayInterval);\n }\n }\n\n private clearScheduledTransition(): void {\n if (this.transitionTimer) {\n clearTimeout(this.transitionTimer);\n this.transitionTimer = null;\n }\n }\n\n onDrag(event: TouchEvent | MouseEvent): void {\n if (!this.isDragging && !this.isTransitioning && this.thyTouchable) {\n const mouseDownTime = new Date().getTime();\n let mouseUpTime: number;\n this.clearScheduledTransition();\n this.wrapperDomRect = this.wrapperEl.getBoundingClientRect();\n this.carouselService.registerDrag(event).subscribe(\n pointerVector => {\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'grabbing');\n this.pointerVector = pointerVector;\n this.isDragging = true;\n this.engine?.dragging(this.pointerVector, this.wrapperDomRect);\n },\n () => {},\n () => {\n if (this.isDragging) {\n mouseUpTime = new Date().getTime();\n const holdDownTime = mouseUpTime - mouseDownTime;\n // Fast enough to switch to the next frame\n // or\n // If the pointerVector is more than one third switch to the next frame\n if (\n Math.abs(this.pointerVector.x) > this.wrapperDomRect.width / 3 ||\n Math.abs(this.pointerVector.x) / holdDownTime >= 1\n ) {\n this.moveTo(this.pointerVector.x > 0 ? this.activeIndex - 1 : this.activeIndex + 1);\n } else {\n this.moveTo(this.activeIndex);\n }\n }\n this.isDragging = false;\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'grab');\n }\n );\n }\n }\n\n indicatorHandleClick(index: number): void {\n if (this.thyTrigger === 'click') {\n this.moveTo(index);\n }\n }\n\n indicatorHandleTrigger(index: number): void {\n if (this.thyPause === 'hover') {\n this.isPause = true;\n this.clearScheduledTransition();\n }\n if (this.thyTrigger === 'hover') {\n this._trigger$.next(index);\n }\n }\n\n indicatorHandleLeave() {\n if (this.thyPause === 'hover') {\n this.isPause = false;\n this.scheduleNextTransition();\n }\n }\n\n next(): void {\n this.moveTo(this.activeIndex + 1);\n }\n\n pre(): void {\n this.moveTo(this.activeIndex - 1);\n }\n\n ngOnInit(): void {\n this.wrapperEl = this.carouselWrapper!.nativeElement;\n this.ngZone.runOutsideAngular(() => {\n fromEvent(window, 'resize')\n .pipe(takeUntil(this._destroy$), debounceTime(100))\n .subscribe(() => {\n this.engine?.correctionOffset();\n });\n });\n }\n ngOnChanges(changes: SimpleChanges) {\n const { thyEffect, thyTouchable } = changes;\n if (thyEffect && !thyEffect.isFirstChange()) {\n this.switchEngine();\n this.markContentActive(0);\n this.setInitialValue();\n }\n\n if (thyTouchable && !thyTouchable.isFirstChange()) {\n this.renderer.setStyle(this.wrapperEl, 'cursor', thyTouchable.currentValue ? 'grab' : 'default');\n }\n\n if (!this.thyAutoPlay || !this.thyAutoPlayInterval) {\n this.clearScheduledTransition();\n } else {\n this.scheduleNextTransition();\n }\n }\n\n ngAfterViewInit(): void {\n this.carouselItems.changes.subscribe(() => {\n this.markContentActive(0);\n this.setInitialValue();\n });\n this.switchEngine();\n this.markContentActive(0);\n this.setInitialValue();\n\n if (!this.thyTouchable) {\n this.renderer.setStyle(this.wrapperEl, 'cursor', 'default');\n }\n }\n\n ngAfterContentInit() {\n this._trigger$.pipe(takeUntil(this._destroy$), debounceTime(this.playTime)).subscribe(index => {\n if (isNumber(index)) {\n this.moveTo(index);\n }\n });\n }\n\n ngOnDestroy() {\n this.clearScheduledTransition();\n this._trigger$.next(null);\n this._trigger$.complete();\n this._destroy$.next();\n this._destroy$.complete();\n }\n}\n","<div class=\"thy-carousel thy-carousel-initialized thy-carousel-point-events\">\n <div #carouselWrapper class=\"thy-carousel-wrapper\" (mousedown)=\"onDrag($event)\" (touchstart)=\"onDrag($event)\">\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf=\"thyControls && carouselItems.length > 1\">\n <div class=\"thy-carousel-control-pre-wrapper\" (click)=\"pre()\">\n <ng-container *ngTemplateOutlet=\"thyControlPrev || defaultControlPrev\"></ng-container>\n </div>\n <div class=\"thy-carousel-control-next-wrapper\" (click)=\"next()\">\n <ng-container *ngTemplateOutlet=\"thyControlNext || defaultControlNext\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"thyIndicators\">\n <div class=\"thy-carousel-indicators\">\n <span\n *ngFor=\"let content of carouselItems; let i = index\"\n class=\"thy-carousel-indicator\"\n (mouseenter)=\"indicatorHandleTrigger(i)\"\n (mouseleave)=\"indicatorHandleLeave()\"\n (click)=\"indicatorHandleClick(i)\"\n >\n <ng-template\n [ngTemplateOutlet]=\"thyIndicatorRender || defaultIndicatorRender\"\n [ngTemplateOutletContext]=\"{ $implicit: i === activeIndex }\"\n ></ng-template>\n </span>\n </div>\n </ng-container>\n</div>\n\n<ng-template #defaultIndicatorRender let-active>\n <thy-dot thyColor=\"#fff\" [class.active]=\"active\"></thy-dot>\n</ng-template>\n\n<ng-template #defaultControlPrev>\n <div class=\"thy-carousel-control thy-carousel-control-pre\">\n <thy-icon thyIconName=\"angle-left-bold\"></thy-icon>\n </div>\n</ng-template>\n\n<ng-template #defaultControlNext>\n <div class=\"thy-carousel-control thy-carousel-control-next\">\n <thy-icon thyIconName=\"angle-right-bold\"></thy-icon>\n </div>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyCarousel } from './carousel.component';\nimport { ThyCarouselItemDirective } from './carousel-item.directive';\nimport { ThyDotModule } from 'ngx-tethys/dot';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\nconst COMPONENTS = [ThyCarousel, ThyCarouselItemDirective];\n\n@NgModule({\n exports: [...COMPONENTS],\n imports: [CommonModule, ThyDotModule, ThyIconModule, ...COMPONENTS]\n})\nexport class ThyCarouselModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThyCarouselService"],"mappings":";;;;;;;;;;AAEA;;AAEG;MAMU,wBAAwB,CAAA;IAKjC,IAAI,QAAQ,CAAC,KAAc,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;AACrB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,0BAA0B,CAAC,CAAC;SAC/D;aAAM;YACH,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,0BAA0B,CAAC,CAAC;SAClE;KACJ;AAED,IAAA,IAAI,QAAQ,GAAA;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;KACvB;IAED,WACI,CAAA,UAAsB,EACd,QAAmB,EAAA;QAAnB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAnBvB,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAqBpB,QAAA,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC;KACzE;8GAxBQ,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uCAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAA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