ngx-tethys 18.0.0-next.2 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/CHANGELOG.md +27 -5
  2. package/cascader/cascader.component.d.ts +6 -6
  3. package/dropdown/dropdown.directive.d.ts +3 -3
  4. package/esm2022/action/action.component.mjs +3 -3
  5. package/esm2022/action/action.module.mjs +4 -4
  6. package/esm2022/action/actions.component.mjs +3 -3
  7. package/esm2022/affix/affix.component.mjs +3 -3
  8. package/esm2022/affix/affix.module.mjs +4 -4
  9. package/esm2022/alert/alert.component.mjs +3 -3
  10. package/esm2022/alert/alert.directive.mjs +3 -3
  11. package/esm2022/alert/alert.module.mjs +4 -4
  12. package/esm2022/anchor/anchor-link.component.mjs +3 -3
  13. package/esm2022/anchor/anchor.component.mjs +3 -3
  14. package/esm2022/anchor/anchor.module.mjs +4 -4
  15. package/esm2022/arrow-switcher/arrow-switcher.component.mjs +3 -3
  16. package/esm2022/arrow-switcher/module.mjs +4 -4
  17. package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
  18. package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +3 -3
  19. package/esm2022/autocomplete/module.mjs +4 -4
  20. package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +3 -3
  21. package/esm2022/autocomplete/overlay/autocomplete.service.mjs +3 -3
  22. package/esm2022/avatar/avatar-list/avatar-list.component.mjs +3 -3
  23. package/esm2022/avatar/avatar.component.mjs +3 -3
  24. package/esm2022/avatar/avatar.module.mjs +4 -4
  25. package/esm2022/avatar/avatar.pipe.mjs +9 -9
  26. package/esm2022/avatar/avatar.service.mjs +3 -3
  27. package/esm2022/back-top/back-top.component.mjs +3 -3
  28. package/esm2022/back-top/back-top.module.mjs +4 -4
  29. package/esm2022/badge/badge.component.mjs +3 -3
  30. package/esm2022/badge/badge.module.mjs +4 -4
  31. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +3 -3
  32. package/esm2022/breadcrumb/breadcrumb.component.mjs +3 -3
  33. package/esm2022/breadcrumb/module.mjs +4 -4
  34. package/esm2022/button/button-group.component.mjs +3 -3
  35. package/esm2022/button/button-icon.component.mjs +3 -3
  36. package/esm2022/button/button.component.mjs +3 -3
  37. package/esm2022/button/button.module.mjs +4 -4
  38. package/esm2022/calendar/calendar-cells.mjs +6 -6
  39. package/esm2022/calendar/calendar-header.component.mjs +3 -3
  40. package/esm2022/calendar/calendar.component.mjs +3 -3
  41. package/esm2022/calendar/module.mjs +4 -4
  42. package/esm2022/card/card.component.mjs +3 -3
  43. package/esm2022/card/card.module.mjs +4 -4
  44. package/esm2022/card/content.component.mjs +3 -3
  45. package/esm2022/card/header.component.mjs +3 -3
  46. package/esm2022/carousel/carousel-item.directive.mjs +3 -3
  47. package/esm2022/carousel/carousel.component.mjs +3 -3
  48. package/esm2022/carousel/carousel.service.mjs +3 -3
  49. package/esm2022/carousel/module.mjs +4 -4
  50. package/esm2022/cascader/cascader-li.component.mjs +3 -3
  51. package/esm2022/cascader/cascader-search-option.component.mjs +3 -3
  52. package/esm2022/cascader/cascader.component.mjs +13 -13
  53. package/esm2022/cascader/cascader.service.mjs +3 -3
  54. package/esm2022/cascader/module.mjs +4 -4
  55. package/esm2022/checkbox/checkbox.component.mjs +3 -3
  56. package/esm2022/checkbox/module.mjs +4 -4
  57. package/esm2022/collapse/collapse-item.component.mjs +3 -3
  58. package/esm2022/collapse/collapse.component.mjs +3 -3
  59. package/esm2022/collapse/module.mjs +4 -4
  60. package/esm2022/color-picker/color-picker-custom-panel.component.mjs +3 -3
  61. package/esm2022/color-picker/color-picker-panel.component.mjs +3 -3
  62. package/esm2022/color-picker/color-picker.component.mjs +3 -3
  63. package/esm2022/color-picker/coordinates.directive.mjs +3 -3
  64. package/esm2022/color-picker/module.mjs +4 -4
  65. package/esm2022/color-picker/parts/alpha/alpha.component.mjs +3 -3
  66. package/esm2022/color-picker/parts/hue/hue.component.mjs +3 -3
  67. package/esm2022/color-picker/parts/indicator/indicator.component.mjs +3 -3
  68. package/esm2022/color-picker/parts/inputs/inputs.component.mjs +3 -3
  69. package/esm2022/color-picker/parts/saturation/saturation.component.mjs +3 -3
  70. package/esm2022/comment/comment-actions.directive.mjs +3 -3
  71. package/esm2022/comment/comment-content.directive.mjs +3 -3
  72. package/esm2022/comment/comment.component.mjs +3 -3
  73. package/esm2022/comment/comment.module.mjs +4 -4
  74. package/esm2022/copy/copy.directive.mjs +3 -3
  75. package/esm2022/copy/module.mjs +4 -4
  76. package/esm2022/core/click-positioner.mjs +3 -3
  77. package/esm2022/core/overlay/portal-directives.mjs +3 -3
  78. package/esm2022/core/scroll.mjs +3 -3
  79. package/esm2022/core/store/store.mjs +3 -3
  80. package/esm2022/core/translate.mjs +3 -3
  81. package/esm2022/core/update-host-class.service.mjs +3 -3
  82. package/esm2022/date-picker/abstract-picker.component.mjs +3 -3
  83. package/esm2022/date-picker/abstract-picker.directive.mjs +3 -3
  84. package/esm2022/date-picker/base-picker.component.mjs +3 -3
  85. package/esm2022/date-picker/date-helper.service.mjs +3 -3
  86. package/esm2022/date-picker/date-picker.component.mjs +3 -3
  87. package/esm2022/date-picker/date-picker.directive.mjs +3 -3
  88. package/esm2022/date-picker/date-picker.module.mjs +4 -4
  89. package/esm2022/date-picker/date-picker.service.mjs +3 -3
  90. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +3 -3
  91. package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +3 -3
  92. package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +3 -3
  93. package/esm2022/date-picker/lib/date/date-header.component.mjs +3 -3
  94. package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +3 -3
  95. package/esm2022/date-picker/lib/date/date-table.component.mjs +3 -3
  96. package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +3 -3
  97. package/esm2022/date-picker/lib/decade/decade-header.component.mjs +3 -3
  98. package/esm2022/date-picker/lib/decade/decade-table.component.mjs +3 -3
  99. package/esm2022/date-picker/lib/lib-packer.module.mjs +4 -4
  100. package/esm2022/date-picker/lib/month/month-header.component.mjs +3 -3
  101. package/esm2022/date-picker/lib/month/month-table.component.mjs +3 -3
  102. package/esm2022/date-picker/lib/popups/date-popup.component.mjs +3 -3
  103. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +3 -3
  104. package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +3 -3
  105. package/esm2022/date-picker/lib/year/year-header.component.mjs +3 -3
  106. package/esm2022/date-picker/lib/year/year-table.component.mjs +3 -3
  107. package/esm2022/date-picker/month-picker.component.mjs +3 -3
  108. package/esm2022/date-picker/picker.component.mjs +3 -3
  109. package/esm2022/date-picker/picker.pipes.mjs +12 -12
  110. package/esm2022/date-picker/picker.validators.mjs +6 -6
  111. package/esm2022/date-picker/quarter-picker.component.mjs +3 -3
  112. package/esm2022/date-picker/range-picker.component.mjs +3 -3
  113. package/esm2022/date-picker/range-picker.directive.mjs +3 -3
  114. package/esm2022/date-picker/week-picker.component.mjs +3 -3
  115. package/esm2022/date-picker/year-picker.component.mjs +3 -3
  116. package/esm2022/date-range/date-range.component.mjs +3 -3
  117. package/esm2022/date-range/module.mjs +4 -4
  118. package/esm2022/date-range/optional-dates/optional-dates.component.mjs +3 -3
  119. package/esm2022/dialog/body/dialog-body.component.mjs +3 -3
  120. package/esm2022/dialog/confirm/confirm.component.mjs +3 -3
  121. package/esm2022/dialog/dialog-container.component.mjs +3 -3
  122. package/esm2022/dialog/dialog.module.mjs +4 -4
  123. package/esm2022/dialog/dialog.service.mjs +3 -3
  124. package/esm2022/dialog/footer/dialog-footer.component.mjs +3 -3
  125. package/esm2022/dialog/header/dialog-header.component.mjs +3 -3
  126. package/esm2022/divider/divider.component.mjs +3 -3
  127. package/esm2022/divider/divider.module.mjs +4 -4
  128. package/esm2022/dot/dot.component.mjs +3 -3
  129. package/esm2022/dot/dot.module.mjs +4 -4
  130. package/esm2022/drag-drop/drag-content.directive.mjs +3 -3
  131. package/esm2022/drag-drop/drag-drop.service.mjs +3 -3
  132. package/esm2022/drag-drop/drag-handle.directive.mjs +3 -3
  133. package/esm2022/drag-drop/drag.directive.mjs +3 -3
  134. package/esm2022/drag-drop/drop-container.directive.mjs +3 -3
  135. package/esm2022/drag-drop/module.mjs +4 -4
  136. package/esm2022/dropdown/dropdown-active.directive.mjs +3 -3
  137. package/esm2022/dropdown/dropdown-menu-item.directive.mjs +21 -21
  138. package/esm2022/dropdown/dropdown-menu.component.mjs +12 -12
  139. package/esm2022/dropdown/dropdown-submenu.component.mjs +3 -3
  140. package/esm2022/dropdown/dropdown.directive.mjs +6 -6
  141. package/esm2022/dropdown/module.mjs +4 -4
  142. package/esm2022/empty/empty.component.mjs +3 -3
  143. package/esm2022/empty/empty.config.mjs +3 -3
  144. package/esm2022/empty/empty.module.mjs +4 -4
  145. package/esm2022/flexible-text/flexible-text.component.mjs +3 -3
  146. package/esm2022/flexible-text/flexible-text.module.mjs +4 -4
  147. package/esm2022/form/form-group-error/form-group-error.component.mjs +3 -3
  148. package/esm2022/form/form-group-label.directive.mjs +3 -3
  149. package/esm2022/form/form-group.component.mjs +3 -3
  150. package/esm2022/form/form-submit.directive.mjs +3 -3
  151. package/esm2022/form/form-validator-loader.mjs +3 -3
  152. package/esm2022/form/form-validator.service.mjs +3 -3
  153. package/esm2022/form/form.directive.mjs +3 -3
  154. package/esm2022/form/from-group-footer/form-group-footer.component.mjs +3 -3
  155. package/esm2022/form/module.mjs +4 -4
  156. package/esm2022/form/validator/confirm-validator.directive.mjs +3 -3
  157. package/esm2022/form/validator/max-validator.directive.mjs +3 -3
  158. package/esm2022/form/validator/min-validator.directive.mjs +3 -3
  159. package/esm2022/form/validator/unique-validator.directive.mjs +3 -3
  160. package/esm2022/fullscreen/fullscreen-launch.directive.mjs +3 -3
  161. package/esm2022/fullscreen/fullscreen.component.mjs +3 -3
  162. package/esm2022/fullscreen/fullscreen.module.mjs +4 -4
  163. package/esm2022/fullscreen/fullscreen.service.mjs +3 -3
  164. package/esm2022/grid/flex.mjs +12 -12
  165. package/esm2022/grid/module.mjs +4 -4
  166. package/esm2022/grid/thy-col.directive.mjs +3 -3
  167. package/esm2022/grid/thy-grid-item.component.mjs +3 -3
  168. package/esm2022/grid/thy-grid.component.mjs +6 -6
  169. package/esm2022/grid/thy-row.directive.mjs +3 -3
  170. package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
  171. package/esm2022/guider/guider-manager.mjs +3 -3
  172. package/esm2022/guider/guider.directive.mjs +3 -3
  173. package/esm2022/guider/guider.module.mjs +4 -4
  174. package/esm2022/guider/guider.service.mjs +3 -3
  175. package/esm2022/icon/icon-registry.mjs +3 -3
  176. package/esm2022/icon/icon.component.mjs +3 -3
  177. package/esm2022/icon/icon.module.mjs +4 -4
  178. package/esm2022/image/image-group.component.mjs +3 -3
  179. package/esm2022/image/image.directive.mjs +3 -3
  180. package/esm2022/image/image.service.mjs +3 -3
  181. package/esm2022/image/module.mjs +4 -4
  182. package/esm2022/image/preview/image-preview.component.mjs +3 -3
  183. package/esm2022/input/input-count.component.mjs +3 -3
  184. package/esm2022/input/input-group.component.mjs +3 -3
  185. package/esm2022/input/input-search.component.mjs +3 -3
  186. package/esm2022/input/input.component.mjs +3 -3
  187. package/esm2022/input/input.directive.mjs +3 -3
  188. package/esm2022/input/module.mjs +4 -4
  189. package/esm2022/input-number/input-number.component.mjs +3 -3
  190. package/esm2022/input-number/module.mjs +4 -4
  191. package/esm2022/layout/content-main.component.mjs +6 -6
  192. package/esm2022/layout/content-section.component.mjs +6 -6
  193. package/esm2022/layout/content.component.mjs +6 -6
  194. package/esm2022/layout/header.component.mjs +6 -6
  195. package/esm2022/layout/layout.component.mjs +6 -6
  196. package/esm2022/layout/layout.module.mjs +4 -4
  197. package/esm2022/layout/sidebar-content.component.mjs +6 -6
  198. package/esm2022/layout/sidebar-footer.component.mjs +6 -6
  199. package/esm2022/layout/sidebar-header.component.mjs +6 -6
  200. package/esm2022/layout/sidebar.component.mjs +6 -6
  201. package/esm2022/list/list-item-meta.component.mjs +3 -3
  202. package/esm2022/list/list-item.component.mjs +3 -3
  203. package/esm2022/list/list.component.mjs +3 -3
  204. package/esm2022/list/list.module.mjs +4 -4
  205. package/esm2022/list/selection/selection-list.mjs +3 -3
  206. package/esm2022/loading/loading.component.mjs +3 -3
  207. package/esm2022/loading/loading.module.mjs +4 -4
  208. package/esm2022/mention/mention.directive.mjs +3 -3
  209. package/esm2022/mention/mention.module.mjs +4 -4
  210. package/esm2022/mention/suggestions/suggestions.component.mjs +3 -3
  211. package/esm2022/menu/divider/menu-divider.component.mjs +3 -3
  212. package/esm2022/menu/group/menu-group.component.mjs +3 -3
  213. package/esm2022/menu/item/action/menu-item-action.component.mjs +3 -3
  214. package/esm2022/menu/item/icon/menu-item-icon.component.mjs +3 -3
  215. package/esm2022/menu/item/menu-item.component.mjs +3 -3
  216. package/esm2022/menu/item/name/menu-item-name.component.mjs +3 -3
  217. package/esm2022/menu/menu.component.mjs +3 -3
  218. package/esm2022/menu/menu.module.mjs +4 -4
  219. package/esm2022/message/abstract/abstract-message-container.component.mjs +3 -3
  220. package/esm2022/message/abstract/abstract-message.component.mjs +3 -3
  221. package/esm2022/message/message-container.component.mjs +3 -3
  222. package/esm2022/message/message-queue.service.mjs +3 -3
  223. package/esm2022/message/message.component.mjs +3 -3
  224. package/esm2022/message/message.service.mjs +3 -3
  225. package/esm2022/message/module.mjs +4 -4
  226. package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +3 -3
  227. package/esm2022/nav/icon-nav/icon-nav.component.mjs +3 -3
  228. package/esm2022/nav/nav-ink-bar.directive.mjs +3 -3
  229. package/esm2022/nav/nav-item.directive.mjs +3 -3
  230. package/esm2022/nav/nav.component.mjs +3 -3
  231. package/esm2022/nav/nav.module.mjs +4 -4
  232. package/esm2022/nav/nav.pipe.mjs +3 -3
  233. package/esm2022/notify/module.mjs +4 -4
  234. package/esm2022/notify/notify-container.component.mjs +3 -3
  235. package/esm2022/notify/notify-queue.service.mjs +3 -3
  236. package/esm2022/notify/notify.component.mjs +3 -3
  237. package/esm2022/notify/notify.service.mjs +3 -3
  238. package/esm2022/pagination/pagination.component.mjs +3 -3
  239. package/esm2022/pagination/pagination.module.mjs +4 -4
  240. package/esm2022/pagination/pagination.pipe.mjs +3 -3
  241. package/esm2022/popover/body/popover-body.component.mjs +3 -3
  242. package/esm2022/popover/header/popover-header.component.mjs +3 -3
  243. package/esm2022/popover/module.mjs +4 -4
  244. package/esm2022/popover/popover-container.component.mjs +3 -3
  245. package/esm2022/popover/popover.directive.mjs +3 -3
  246. package/esm2022/popover/popover.service.mjs +3 -3
  247. package/esm2022/progress/progress-circle.component.mjs +3 -3
  248. package/esm2022/progress/progress-strip.component.mjs +3 -3
  249. package/esm2022/progress/progress.component.mjs +3 -3
  250. package/esm2022/progress/progress.module.mjs +4 -4
  251. package/esm2022/property/module.mjs +4 -4
  252. package/esm2022/property/properties.component.mjs +3 -3
  253. package/esm2022/property/property-item.component.mjs +3 -3
  254. package/esm2022/property-operation/group/property-operation-group.component.mjs +3 -3
  255. package/esm2022/property-operation/module.mjs +4 -4
  256. package/esm2022/property-operation/property-operation.component.mjs +3 -3
  257. package/esm2022/radio/button/radio-button.component.mjs +3 -3
  258. package/esm2022/radio/group/radio-group.component.mjs +3 -3
  259. package/esm2022/radio/module.mjs +4 -4
  260. package/esm2022/radio/radio.component.mjs +3 -3
  261. package/esm2022/rate/module.mjs +4 -4
  262. package/esm2022/rate/rate-item.component.mjs +3 -3
  263. package/esm2022/rate/rate.component.mjs +3 -3
  264. package/esm2022/resizable/module.mjs +4 -4
  265. package/esm2022/resizable/resizable.directive.mjs +3 -3
  266. package/esm2022/resizable/resizable.service.mjs +3 -3
  267. package/esm2022/resizable/resize-handle.component.mjs +3 -3
  268. package/esm2022/resizable/resize-handles.component.mjs +3 -3
  269. package/esm2022/result/result.component.mjs +3 -3
  270. package/esm2022/result/result.module.mjs +4 -4
  271. package/esm2022/segment/segment-item.component.mjs +3 -3
  272. package/esm2022/segment/segment.component.mjs +3 -3
  273. package/esm2022/segment/segment.module.mjs +4 -4
  274. package/esm2022/select/custom-select/custom-select.component.mjs +3 -3
  275. package/esm2022/select/module.mjs +4 -4
  276. package/esm2022/select/native-select/native-select.component.mjs +3 -3
  277. package/esm2022/shared/base-form-check.component.mjs +3 -3
  278. package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +3 -3
  279. package/esm2022/shared/directives/thy-autofocus.directive.mjs +3 -3
  280. package/esm2022/shared/directives/thy-contextmenu.directive.mjs +3 -3
  281. package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +3 -3
  282. package/esm2022/shared/directives/thy-drag-drop.directive.mjs +3 -3
  283. package/esm2022/shared/directives/thy-enter.directive.mjs +3 -3
  284. package/esm2022/shared/directives/thy-scroll.directive.mjs +3 -3
  285. package/esm2022/shared/directives/thy-show.mjs +3 -3
  286. package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +3 -3
  287. package/esm2022/shared/directives/view-outlet.directive.mjs +3 -3
  288. package/esm2022/shared/ng-transclude.directive.mjs +3 -3
  289. package/esm2022/shared/option/group/option-group.component.mjs +3 -3
  290. package/esm2022/shared/option/list-option/list-option.component.mjs +3 -3
  291. package/esm2022/shared/option/module.mjs +4 -4
  292. package/esm2022/shared/option/option-group.component.mjs +3 -3
  293. package/esm2022/shared/option/option.component.mjs +3 -3
  294. package/esm2022/shared/option/options-container.component.mjs +3 -3
  295. package/esm2022/shared/select/module.mjs +4 -4
  296. package/esm2022/shared/select/select-control/select-control.component.mjs +6 -6
  297. package/esm2022/shared/shared.module.mjs +4 -4
  298. package/esm2022/skeleton/module.mjs +4 -4
  299. package/esm2022/skeleton/skeleton-circle.component.mjs +3 -3
  300. package/esm2022/skeleton/skeleton-rectangle.component.mjs +3 -3
  301. package/esm2022/skeleton/skeleton.component.mjs +3 -3
  302. package/esm2022/skeleton/stylized/bullet-list.component.mjs +3 -3
  303. package/esm2022/skeleton/stylized/list.component.mjs +3 -3
  304. package/esm2022/skeleton/stylized/paragraph.component.mjs +3 -3
  305. package/esm2022/slide/drawer/drawer-container.directive.mjs +3 -3
  306. package/esm2022/slide/slide-body/slide-body-section.component.mjs +3 -3
  307. package/esm2022/slide/slide-body/slide-body.component.mjs +3 -3
  308. package/esm2022/slide/slide-container.component.mjs +3 -3
  309. package/esm2022/slide/slide-footer/slide-footer.component.mjs +3 -3
  310. package/esm2022/slide/slide-header/slide-header.component.mjs +3 -3
  311. package/esm2022/slide/slide-layout/slide-layout.component.mjs +3 -3
  312. package/esm2022/slide/slide-ref.service.mjs +3 -3
  313. package/esm2022/slide/slide.module.mjs +4 -4
  314. package/esm2022/slide/slide.service.mjs +3 -3
  315. package/esm2022/slider/slider.component.mjs +3 -3
  316. package/esm2022/slider/slider.module.mjs +4 -4
  317. package/esm2022/space/space.component.mjs +6 -6
  318. package/esm2022/space/space.module.mjs +4 -4
  319. package/esm2022/statistic/statistic.component.mjs +3 -3
  320. package/esm2022/statistic/statistic.module.mjs +4 -4
  321. package/esm2022/stepper/step-header.component.mjs +9 -6
  322. package/esm2022/stepper/step.component.mjs +7 -5
  323. package/esm2022/stepper/stepper-button.directive.mjs +6 -6
  324. package/esm2022/stepper/stepper.component.mjs +6 -6
  325. package/esm2022/stepper/stepper.module.mjs +5 -5
  326. package/esm2022/strength/strength.component.mjs +3 -3
  327. package/esm2022/strength/strength.module.mjs +4 -4
  328. package/esm2022/switch/switch.component.mjs +3 -3
  329. package/esm2022/switch/switch.module.mjs +4 -4
  330. package/esm2022/table/pipes/drag.pipe.mjs +3 -3
  331. package/esm2022/table/pipes/table.pipe.mjs +3 -3
  332. package/esm2022/table/table-column.component.mjs +3 -3
  333. package/esm2022/table/table-skeleton.component.mjs +3 -3
  334. package/esm2022/table/table.component.mjs +5 -5
  335. package/esm2022/table/table.module.mjs +4 -4
  336. package/esm2022/tabs/tab-content.component.mjs +3 -3
  337. package/esm2022/tabs/tab.component.mjs +3 -3
  338. package/esm2022/tabs/tabs.component.mjs +3 -3
  339. package/esm2022/tabs/tabs.module.mjs +4 -4
  340. package/esm2022/tag/tag.component.mjs +3 -3
  341. package/esm2022/tag/tag.module.mjs +4 -4
  342. package/esm2022/tag/tags.component.mjs +3 -3
  343. package/esm2022/time-picker/inner/inner-time-picker.component.mjs +3 -3
  344. package/esm2022/time-picker/inner/inner-time-picker.config.mjs +3 -3
  345. package/esm2022/time-picker/inner/inner-time-picker.store.mjs +3 -3
  346. package/esm2022/time-picker/time-picker-panel.component.mjs +3 -3
  347. package/esm2022/time-picker/time-picker.component.mjs +3 -3
  348. package/esm2022/time-picker/time-picker.module.mjs +4 -4
  349. package/esm2022/timeline/timeline-item.component.mjs +3 -3
  350. package/esm2022/timeline/timeline.component.mjs +3 -3
  351. package/esm2022/timeline/timeline.module.mjs +4 -4
  352. package/esm2022/timeline/timeline.service.mjs +3 -3
  353. package/esm2022/tooltip/tooltip.component.mjs +3 -3
  354. package/esm2022/tooltip/tooltip.directive.mjs +3 -3
  355. package/esm2022/tooltip/tooltip.module.mjs +4 -4
  356. package/esm2022/tooltip/tooltip.service.mjs +3 -3
  357. package/esm2022/transfer/transfer-list.component.mjs +4 -4
  358. package/esm2022/transfer/transfer.component.mjs +3 -3
  359. package/esm2022/transfer/transfer.module.mjs +4 -4
  360. package/esm2022/tree/tree-node.component.mjs +3 -3
  361. package/esm2022/tree/tree.component.mjs +5 -5
  362. package/esm2022/tree/tree.module.mjs +4 -4
  363. package/esm2022/tree/tree.pipe.mjs +3 -3
  364. package/esm2022/tree/tree.service.mjs +3 -3
  365. package/esm2022/tree-select/module.mjs +4 -4
  366. package/esm2022/tree-select/tree-select.component.mjs +6 -6
  367. package/esm2022/typography/bg-color.directive.mjs +3 -3
  368. package/esm2022/typography/module.mjs +4 -4
  369. package/esm2022/typography/text/text.component.mjs +3 -3
  370. package/esm2022/typography/text-color.directive.mjs +3 -3
  371. package/esm2022/upload/constant.mjs +3 -1
  372. package/esm2022/upload/file-drop.directive.mjs +18 -6
  373. package/esm2022/upload/file-select-base.mjs +3 -3
  374. package/esm2022/upload/file-select.component.mjs +3 -3
  375. package/esm2022/upload/module.mjs +4 -4
  376. package/esm2022/upload/upload.service.mjs +3 -3
  377. package/esm2022/version.mjs +2 -2
  378. package/esm2022/vote/vote.component.mjs +3 -3
  379. package/esm2022/vote/vote.module.mjs +4 -4
  380. package/esm2022/watermark/watermark.directive.mjs +3 -3
  381. package/esm2022/watermark/watermark.module.mjs +4 -4
  382. package/fesm2022/ngx-tethys-action.mjs +10 -10
  383. package/fesm2022/ngx-tethys-affix.mjs +7 -7
  384. package/fesm2022/ngx-tethys-alert.mjs +10 -10
  385. package/fesm2022/ngx-tethys-anchor.mjs +10 -10
  386. package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
  387. package/fesm2022/ngx-tethys-autocomplete.mjs +16 -16
  388. package/fesm2022/ngx-tethys-avatar.mjs +22 -22
  389. package/fesm2022/ngx-tethys-back-top.mjs +7 -7
  390. package/fesm2022/ngx-tethys-badge.mjs +7 -7
  391. package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
  392. package/fesm2022/ngx-tethys-button.mjs +13 -13
  393. package/fesm2022/ngx-tethys-calendar.mjs +16 -16
  394. package/fesm2022/ngx-tethys-card.mjs +13 -13
  395. package/fesm2022/ngx-tethys-carousel.mjs +13 -13
  396. package/fesm2022/ngx-tethys-cascader.mjs +20 -20
  397. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  398. package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
  399. package/fesm2022/ngx-tethys-collapse.mjs +10 -10
  400. package/fesm2022/ngx-tethys-color-picker.mjs +31 -31
  401. package/fesm2022/ngx-tethys-comment.mjs +13 -13
  402. package/fesm2022/ngx-tethys-copy.mjs +7 -7
  403. package/fesm2022/ngx-tethys-core.mjs +18 -18
  404. package/fesm2022/ngx-tethys-date-picker.mjs +116 -116
  405. package/fesm2022/ngx-tethys-date-range.mjs +10 -10
  406. package/fesm2022/ngx-tethys-dialog.mjs +22 -22
  407. package/fesm2022/ngx-tethys-divider.mjs +7 -7
  408. package/fesm2022/ngx-tethys-dot.mjs +7 -7
  409. package/fesm2022/ngx-tethys-drag-drop.mjs +19 -19
  410. package/fesm2022/ngx-tethys-dropdown.mjs +48 -48
  411. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  412. package/fesm2022/ngx-tethys-empty.mjs +10 -10
  413. package/fesm2022/ngx-tethys-flexible-text.mjs +7 -7
  414. package/fesm2022/ngx-tethys-form.mjs +40 -40
  415. package/fesm2022/ngx-tethys-fullscreen.mjs +13 -13
  416. package/fesm2022/ngx-tethys-grid.mjs +31 -31
  417. package/fesm2022/ngx-tethys-guider.mjs +16 -16
  418. package/fesm2022/ngx-tethys-icon.mjs +10 -10
  419. package/fesm2022/ngx-tethys-image.mjs +16 -16
  420. package/fesm2022/ngx-tethys-input-number.mjs +7 -7
  421. package/fesm2022/ngx-tethys-input.mjs +19 -19
  422. package/fesm2022/ngx-tethys-layout.mjs +58 -58
  423. package/fesm2022/ngx-tethys-list.mjs +16 -16
  424. package/fesm2022/ngx-tethys-loading.mjs +7 -7
  425. package/fesm2022/ngx-tethys-mention.mjs +10 -10
  426. package/fesm2022/ngx-tethys-menu.mjs +25 -25
  427. package/fesm2022/ngx-tethys-message.mjs +22 -22
  428. package/fesm2022/ngx-tethys-nav.mjs +22 -22
  429. package/fesm2022/ngx-tethys-notify.mjs +16 -16
  430. package/fesm2022/ngx-tethys-pagination.mjs +10 -10
  431. package/fesm2022/ngx-tethys-popover.mjs +19 -19
  432. package/fesm2022/ngx-tethys-progress.mjs +13 -13
  433. package/fesm2022/ngx-tethys-property-operation.mjs +10 -10
  434. package/fesm2022/ngx-tethys-property.mjs +10 -10
  435. package/fesm2022/ngx-tethys-radio.mjs +13 -13
  436. package/fesm2022/ngx-tethys-rate.mjs +10 -10
  437. package/fesm2022/ngx-tethys-resizable.mjs +16 -16
  438. package/fesm2022/ngx-tethys-result.mjs +7 -7
  439. package/fesm2022/ngx-tethys-segment.mjs +10 -10
  440. package/fesm2022/ngx-tethys-select.mjs +10 -10
  441. package/fesm2022/ngx-tethys-shared.mjs +67 -67
  442. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  443. package/fesm2022/ngx-tethys-skeleton.mjs +22 -22
  444. package/fesm2022/ngx-tethys-slide.mjs +31 -31
  445. package/fesm2022/ngx-tethys-slider.mjs +7 -7
  446. package/fesm2022/ngx-tethys-space.mjs +10 -10
  447. package/fesm2022/ngx-tethys-statistic.mjs +7 -7
  448. package/fesm2022/ngx-tethys-stepper.mjs +27 -22
  449. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  450. package/fesm2022/ngx-tethys-strength.mjs +7 -7
  451. package/fesm2022/ngx-tethys-switch.mjs +7 -7
  452. package/fesm2022/ngx-tethys-table.mjs +20 -20
  453. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  454. package/fesm2022/ngx-tethys-tabs.mjs +13 -13
  455. package/fesm2022/ngx-tethys-tag.mjs +10 -10
  456. package/fesm2022/ngx-tethys-time-picker.mjs +19 -19
  457. package/fesm2022/ngx-tethys-timeline.mjs +13 -13
  458. package/fesm2022/ngx-tethys-tooltip.mjs +13 -13
  459. package/fesm2022/ngx-tethys-transfer.mjs +10 -10
  460. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  461. package/fesm2022/ngx-tethys-tree-select.mjs +10 -10
  462. package/fesm2022/ngx-tethys-tree.mjs +17 -17
  463. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  464. package/fesm2022/ngx-tethys-typography.mjs +13 -13
  465. package/fesm2022/ngx-tethys-upload.mjs +32 -18
  466. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  467. package/fesm2022/ngx-tethys-vote.mjs +7 -7
  468. package/fesm2022/ngx-tethys-watermark.mjs +7 -7
  469. package/fesm2022/ngx-tethys.mjs +1 -1
  470. package/fesm2022/ngx-tethys.mjs.map +1 -1
  471. package/notify/styles/notify.scss +3 -0
  472. package/package.json +1 -1
  473. package/schematics/version.d.ts +1 -1
  474. package/schematics/version.js +1 -1
  475. package/shared/select/select-control/select-control.component.d.ts +1 -1
  476. package/shared/select/select-control/select-control.scss +8 -0
  477. package/stepper/examples/icon/icon.component.scss +8 -0
  478. package/stepper/step-header.component.d.ts +2 -1
  479. package/stepper/step.component.d.ts +7 -2
  480. package/stepper/styles/stepper.scss +16 -2
  481. package/styles/variables.scss +2 -0
  482. package/upload/constant.d.ts +2 -0
  483. package/upload/file-drop.directive.d.ts +6 -1
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { numberAttribute, Component, Input, HostBinding, InjectionToken, TemplateRef, Optional, Inject, ViewChild, EventEmitter, Output, ViewChildren, ContentChildren, Directive, HostListener, NgModule } from '@angular/core';
3
3
  import { NgIf, NgFor, NgTemplateOutlet, CommonModule } from '@angular/common';
4
+ import { ThyIcon } from 'ngx-tethys/icon';
4
5
  import { coerceBooleanProperty } from 'ngx-tethys/util';
5
6
 
6
7
  /**
@@ -12,14 +13,16 @@ class ThyStepHeader {
12
13
  constructor() {
13
14
  this.thyStepHeader = true;
14
15
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThyStepHeader, isStandalone: true, selector: "thy-step-header", inputs: { label: "label", index: ["index", "index", numberAttribute], selected: ["selected", "selected", coerceBooleanProperty], active: ["active", "active", coerceBooleanProperty] }, host: { properties: { "class.thy-stepper-header-selected": "this.selected", "class.thy-stepper-header": "this.thyStepHeader" } }, ngImport: i0, template: "<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<div class=\"thy-step-label\">{{ label }}</div>\n" }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyStepHeader, isStandalone: true, selector: "thy-step-header", inputs: { label: "label", icon: "icon", index: ["index", "index", numberAttribute], selected: ["selected", "selected", coerceBooleanProperty], active: ["active", "active", coerceBooleanProperty] }, host: { properties: { "class.thy-stepper-header-selected": "this.selected", "class.thy-stepper-header": "this.thyStepHeader" } }, ngImport: i0, template: "<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label }}</div>\n", dependencies: [{ kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }] }); }
17
18
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepHeader, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepHeader, decorators: [{
19
20
  type: Component,
20
- args: [{ selector: 'thy-step-header', standalone: true, template: "<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<div class=\"thy-step-label\">{{ label }}</div>\n" }]
21
+ args: [{ selector: 'thy-step-header', standalone: true, imports: [ThyIcon], template: "<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label }}</div>\n" }]
21
22
  }], propDecorators: { label: [{
22
23
  type: Input
24
+ }], icon: [{
25
+ type: Input
23
26
  }], index: [{
24
27
  type: Input,
25
28
  args: [{ transform: numberAttribute }]
@@ -50,10 +53,10 @@ class ThyStep {
50
53
  select() {
51
54
  this.stepper.selected = this;
52
55
  }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStep, deps: [{ token: THY_STEPPER_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
54
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: ThyStep, isStandalone: true, selector: "thy-step", inputs: { label: "label", thyLabel: "thyLabel" }, viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: "<ng-template><ng-content></ng-content></ng-template>\n" }); }
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStep, deps: [{ token: THY_STEPPER_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
57
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: ThyStep, isStandalone: true, selector: "thy-step", inputs: { label: "label", thyLabel: "thyLabel", thyIcon: "thyIcon" }, viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: "<ng-template><ng-content></ng-content></ng-template>\n" }); }
55
58
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStep, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStep, decorators: [{
57
60
  type: Component,
58
61
  args: [{ selector: 'thy-step', standalone: true, template: "<ng-template><ng-content></ng-content></ng-template>\n" }]
59
62
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -68,6 +71,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
68
71
  type: Input
69
72
  }], thyLabel: [{
70
73
  type: Input
74
+ }], thyIcon: [{
75
+ type: Input
71
76
  }] } });
72
77
 
73
78
  /**
@@ -132,22 +137,22 @@ class ThyStepper {
132
137
  previous() {
133
138
  this.selectedIndex = Math.max(this._selectedIndex - 1, 0);
134
139
  }
135
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
136
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThyStepper, isStandalone: true, selector: "thy-stepper", inputs: { thySelectedIndex: ["thySelectedIndex", "thySelectedIndex", numberAttribute], thySelected: "thySelected", thyShowStepHeader: ["thyShowStepHeader", "thyShowStepHeader", coerceBooleanProperty] }, outputs: { selectionChange: "selectionChange" }, host: { properties: { "class.thy-stepper": "this.thyStepper" } }, providers: [
140
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
141
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyStepper, isStandalone: true, selector: "thy-stepper", inputs: { thySelectedIndex: ["thySelectedIndex", "thySelectedIndex", numberAttribute], thySelected: "thySelected", thyShowStepHeader: ["thyShowStepHeader", "thyShowStepHeader", coerceBooleanProperty] }, outputs: { selectionChange: "selectionChange" }, host: { properties: { "class.thy-stepper": "this.thyStepper" } }, providers: [
137
142
  {
138
143
  provide: THY_STEPPER_COMPONENT,
139
144
  useExisting: ThyStepper
140
145
  }
141
- ], queries: [{ propertyName: "steps", predicate: ThyStep }], viewQueries: [{ propertyName: "stepHeaders", predicate: ThyStepHeader, descendants: true }], ngImport: i0, template: "<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\"\n >\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThyStepHeader, selector: "thy-step-header", inputs: ["label", "index", "selected", "active"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
146
+ ], queries: [{ propertyName: "steps", predicate: ThyStep }], viewQueries: [{ propertyName: "stepHeaders", predicate: ThyStepHeader, descendants: true }], ngImport: i0, template: "<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [icon]=\"step.thyIcon\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\">\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ThyStepHeader, selector: "thy-step-header", inputs: ["label", "icon", "index", "selected", "active"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
142
147
  }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepper, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepper, decorators: [{
144
149
  type: Component,
145
150
  args: [{ selector: 'thy-stepper', providers: [
146
151
  {
147
152
  provide: THY_STEPPER_COMPONENT,
148
153
  useExisting: ThyStepper
149
154
  }
150
- ], standalone: true, imports: [NgIf, NgFor, ThyStepHeader, NgTemplateOutlet], template: "<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\"\n >\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n" }]
155
+ ], standalone: true, imports: [NgIf, NgFor, ThyStepHeader, NgTemplateOutlet], template: "<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [icon]=\"step.thyIcon\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\">\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n" }]
151
156
  }], propDecorators: { thySelectedIndex: [{
152
157
  type: Input,
153
158
  args: [{ transform: numberAttribute }]
@@ -182,10 +187,10 @@ class ThyStepperNextDirective {
182
187
  click($event) {
183
188
  this.stepper.next();
184
189
  }
185
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperNextDirective, deps: [{ token: ThyStepper }], target: i0.ɵɵFactoryTarget.Directive }); }
186
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0", type: ThyStepperNextDirective, isStandalone: true, selector: "[thyStepperNext]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperNextDirective, deps: [{ token: ThyStepper }], target: i0.ɵɵFactoryTarget.Directive }); }
191
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: ThyStepperNextDirective, isStandalone: true, selector: "[thyStepperNext]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
187
192
  }
188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperNextDirective, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperNextDirective, decorators: [{
189
194
  type: Directive,
190
195
  args: [{
191
196
  selector: '[thyStepperNext]',
@@ -208,10 +213,10 @@ class ThyStepperPreviousDirective {
208
213
  click($event) {
209
214
  this.stepper.previous();
210
215
  }
211
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperPreviousDirective, deps: [{ token: ThyStepper }], target: i0.ɵɵFactoryTarget.Directive }); }
212
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0", type: ThyStepperPreviousDirective, isStandalone: true, selector: "[thyStepperPrevious]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
216
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperPreviousDirective, deps: [{ token: ThyStepper }], target: i0.ɵɵFactoryTarget.Directive }); }
217
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: ThyStepperPreviousDirective, isStandalone: true, selector: "[thyStepperPrevious]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
213
218
  }
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperPreviousDirective, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperPreviousDirective, decorators: [{
215
220
  type: Directive,
216
221
  args: [{
217
222
  selector: '[thyStepperPrevious]',
@@ -223,11 +228,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
223
228
  }] } });
224
229
 
225
230
  class ThyStepperModule {
226
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
227
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperModule, imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective], exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective] }); }
228
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperModule, imports: [CommonModule] }); }
231
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
232
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperModule, imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective], exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective] }); }
233
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperModule, imports: [CommonModule, ThyStepHeader, ThyStepper] }); }
229
234
  }
230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStepperModule, decorators: [{
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStepperModule, decorators: [{
231
236
  type: NgModule,
232
237
  args: [{
233
238
  imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-stepper.mjs","sources":["../../../src/stepper/step-header.component.ts","../../../src/stepper/step-header.component.html","../../../src/stepper/step.component.ts","../../../src/stepper/step.component.html","../../../src/stepper/stepper.component.ts","../../../src/stepper/stepper.component.html","../../../src/stepper/stepper-button.directive.ts","../../../src/stepper/stepper.module.ts","../../../src/stepper/ngx-tethys-stepper.ts"],"sourcesContent":["import { Component, HostBinding, Input, numberAttribute } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 步骤条头部组件\n * @name thy-step-header\n * @order 25\n */\n@Component({\n selector: 'thy-step-header',\n templateUrl: './step-header.component.html',\n standalone: true\n})\nexport class ThyStepHeader {\n @Input() label: string;\n\n @Input({ transform: numberAttribute }) index: number;\n\n @HostBinding('class.thy-stepper-header-selected')\n @Input({ transform: coerceBooleanProperty })\n selected: boolean;\n\n @Input({ transform: coerceBooleanProperty }) active: boolean;\n\n @HostBinding('class.thy-stepper-header') thyStepHeader = true;\n}\n","<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<div class=\"thy-step-label\">{{ label }}</div>\n","import { Component, Input, ViewChild, TemplateRef, Inject, InjectionToken, Optional } from '@angular/core';\n\nexport interface IThyStepperComponent {\n selected: ThyStep;\n}\n\nexport const THY_STEPPER_COMPONENT = new InjectionToken<IThyStepperComponent>('THY_STEPPER_COMPONENT');\n\n/**\n * 步骤项组件\n * @name thy-step\n * @order 20\n */\n@Component({\n selector: 'thy-step',\n templateUrl: './step.component.html',\n standalone: true\n})\nexport class ThyStep {\n @ViewChild(TemplateRef, { static: true }) content: TemplateRef<any>;\n\n @Input() label: string;\n\n /**\n * 步骤条中每个步骤的label文本\n */\n @Input() thyLabel: string;\n\n constructor(@Optional() @Inject(THY_STEPPER_COMPONENT) public stepper: IThyStepperComponent) {}\n\n select() {\n this.stepper.selected = this;\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","import {\n Component,\n ViewChildren,\n ContentChildren,\n QueryList,\n HostBinding,\n Input,\n Output,\n EventEmitter,\n numberAttribute\n} from '@angular/core';\nimport { ThyStep, IThyStepperComponent, THY_STEPPER_COMPONENT } from './step.component';\nimport { ThyStepHeader } from './step-header.component';\nimport { NgIf, NgFor, NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 步骤条组件\n * @name thy-stepper\n * @order 10\n */\n@Component({\n selector: 'thy-stepper',\n templateUrl: 'stepper.component.html',\n providers: [\n {\n provide: THY_STEPPER_COMPONENT,\n useExisting: ThyStepper\n }\n ],\n standalone: true,\n imports: [NgIf, NgFor, ThyStepHeader, NgTemplateOutlet]\n})\nexport class ThyStepper implements IThyStepperComponent {\n /**\n * 当前处于激活状态的步骤index\n * @default 0\n */\n @Input({ transform: numberAttribute })\n set thySelectedIndex(value: number) {\n this.selectedIndex = value;\n }\n\n @Input()\n set thySelected(value: ThyStep) {\n this.selected = value;\n }\n\n /**\n * 步骤条导航是否展示,默认展示\n */\n @Input({ transform: coerceBooleanProperty }) thyShowStepHeader = true;\n\n private _selectedIndex = 0;\n\n public set selected(step: ThyStep) {\n this.selectedIndex = this.steps ? this.steps.toArray().indexOf(step) : -1;\n }\n\n public get selected() {\n return this.steps ? this.steps.toArray()[this.selectedIndex] : null;\n }\n\n set selectedIndex(index: number) {\n if (this.steps) {\n this._updateSelectedItemIndex(index);\n } else {\n this._selectedIndex = index;\n }\n }\n\n get selectedIndex() {\n return this._selectedIndex;\n }\n\n @Output() selectionChange: EventEmitter<any> = new EventEmitter<any>();\n\n @ViewChildren(ThyStepHeader) stepHeaders: QueryList<ThyStepHeader>;\n\n @ContentChildren(ThyStep) steps: QueryList<ThyStep>;\n\n @HostBinding('class.thy-stepper') thyStepper = true;\n\n private _updateSelectedItemIndex(newIndex: number): void {\n const stepsArray = this.steps.toArray();\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: this._selectedIndex,\n selectedStep: stepsArray[newIndex],\n previouslySelectedStep: stepsArray[this._selectedIndex]\n });\n this._selectedIndex = newIndex;\n }\n\n to(index: number): void {\n this.selectedIndex = Math.min(index, this.steps.length - 1);\n }\n\n next(): void {\n this.selectedIndex = Math.min(this._selectedIndex + 1, this.steps.length - 1);\n }\n\n /** Selects and focuses the previous step in list. */\n previous(): void {\n this.selectedIndex = Math.max(this._selectedIndex - 1, 0);\n }\n}\n","<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\"\n >\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n","import { Directive, HostListener } from '@angular/core';\nimport { ThyStepper } from './stepper.component';\n\n/**\n * 在步进工作流中移动到下一个步骤的按钮\n * @description.en-us Button that moves to the next step in a stepper workflow.\n * @name thyStepperNext\n * @order 40\n */\n@Directive({\n selector: '[thyStepperNext]',\n standalone: true\n})\nexport class ThyStepperNextDirective {\n constructor(private stepper: ThyStepper) {}\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.next();\n }\n}\n\n/**\n * 在步进工作流中移动到上一个步骤的按钮\n * @description.en-us Button that moves to the previous step in a stepper workflow.\n * @name thyStepperPrevious\n * @order 30\n */\n@Directive({\n selector: '[thyStepperPrevious]',\n standalone: true\n})\nexport class ThyStepperPreviousDirective {\n constructor(private stepper: ThyStepper) {}\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.previous();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyStepHeader } from './step-header.component';\nimport { ThyStep } from './step.component';\nimport { ThyStepper } from './stepper.component';\nimport { ThyStepperNextDirective, ThyStepperPreviousDirective } from './stepper-button.directive';\n\n@NgModule({\n imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],\n exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective],\n providers: []\n})\nexport class ThyStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThyStepper"],"mappings":";;;;;AAGA;;;;AAIG;MAMU,aAAa,CAAA;AAL1B,IAAA,WAAA,GAAA;QAgB6C,IAAa,CAAA,aAAA,GAAG,IAAI,CAAC;AACjE,KAAA;8GAZY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,uGAGF,eAAe,CAAA,EAAA,QAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAGf,qBAAqB,CAGrB,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,qBAAqB,+JCtB7C,4HAIA,EAAA,CAAA,CAAA,EAAA;;2FDSa,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,cAEf,IAAI,EAAA,QAAA,EAAA,4HAAA,EAAA,CAAA;8BAGP,KAAK,EAAA,CAAA;sBAAb,KAAK;gBAEiC,KAAK,EAAA,CAAA;sBAA3C,KAAK;uBAAC,EAAE,SAAS,EAAE,eAAe,EAAE,CAAA;gBAIrC,QAAQ,EAAA,CAAA;sBAFP,WAAW;uBAAC,mCAAmC,CAAA;;sBAC/C,KAAK;uBAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAA;gBAGE,MAAM,EAAA,CAAA;sBAAlD,KAAK;uBAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAA;gBAEF,aAAa,EAAA,CAAA;sBAArD,WAAW;uBAAC,0BAA0B,CAAA;;;MElB9B,qBAAqB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BAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAhB,gBAAgB,EAAA,OAAA,EAAA,CAJf,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,uBAAuB,EAAE,2BAA2B,CAAA,EAAA,OAAA,EAAA,CACtG,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;AAGzF,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAJf,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIb,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,uBAAuB,EAAE,2BAA2B,CAAC;oBACjH,OAAO,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,2BAA2B,CAAC;AACnG,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-stepper.mjs","sources":["../../../src/stepper/step-header.component.ts","../../../src/stepper/step-header.component.html","../../../src/stepper/step.component.ts","../../../src/stepper/step.component.html","../../../src/stepper/stepper.component.ts","../../../src/stepper/stepper.component.html","../../../src/stepper/stepper-button.directive.ts","../../../src/stepper/stepper.module.ts","../../../src/stepper/ngx-tethys-stepper.ts"],"sourcesContent":["import { ThyIcon } from 'ngx-tethys/icon';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nimport { Component, HostBinding, Input, numberAttribute } from '@angular/core';\n\n/**\n * 步骤条头部组件\n * @name thy-step-header\n * @order 25\n */\n@Component({\n selector: 'thy-step-header',\n templateUrl: './step-header.component.html',\n standalone: true,\n imports: [ThyIcon]\n})\nexport class ThyStepHeader {\n @Input() label: string;\n\n @Input() icon: string;\n\n @Input({ transform: numberAttribute }) index: number;\n\n @HostBinding('class.thy-stepper-header-selected')\n @Input({ transform: coerceBooleanProperty })\n selected: boolean;\n\n @Input({ transform: coerceBooleanProperty }) active: boolean;\n\n @HostBinding('class.thy-stepper-header') thyStepHeader = true;\n}\n","<div class=\"thy-step-number\">\n <span>{{ index + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label }}</div>\n","import { Component, Inject, InjectionToken, Input, Optional, TemplateRef, ViewChild } from '@angular/core';\n\nexport interface IThyStepperComponent {\n selected: ThyStep;\n}\n\nexport const THY_STEPPER_COMPONENT = new InjectionToken<IThyStepperComponent>('THY_STEPPER_COMPONENT');\n\n/**\n * 步骤项组件\n * @name thy-step\n * @order 20\n */\n@Component({\n selector: 'thy-step',\n templateUrl: './step.component.html',\n standalone: true\n})\nexport class ThyStep {\n @ViewChild(TemplateRef, { static: true }) content: TemplateRef<any>;\n\n @Input() label: string;\n\n /**\n * 步骤条中每个步骤的label文本\n */\n @Input() thyLabel: string;\n\n /**\n * 步骤条中每个步骤完成的图标\n * @default check-circle\n */\n @Input() thyIcon: string;\n\n constructor(@Optional() @Inject(THY_STEPPER_COMPONENT) public stepper: IThyStepperComponent) {}\n\n select() {\n this.stepper.selected = this;\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","import {\n Component,\n ViewChildren,\n ContentChildren,\n QueryList,\n HostBinding,\n Input,\n Output,\n EventEmitter,\n numberAttribute\n} from '@angular/core';\nimport { ThyStep, IThyStepperComponent, THY_STEPPER_COMPONENT } from './step.component';\nimport { ThyStepHeader } from './step-header.component';\nimport { NgIf, NgFor, NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 步骤条组件\n * @name thy-stepper\n * @order 10\n */\n@Component({\n selector: 'thy-stepper',\n templateUrl: 'stepper.component.html',\n providers: [\n {\n provide: THY_STEPPER_COMPONENT,\n useExisting: ThyStepper\n }\n ],\n standalone: true,\n imports: [NgIf, NgFor, ThyStepHeader, NgTemplateOutlet]\n})\nexport class ThyStepper implements IThyStepperComponent {\n /**\n * 当前处于激活状态的步骤index\n * @default 0\n */\n @Input({ transform: numberAttribute })\n set thySelectedIndex(value: number) {\n this.selectedIndex = value;\n }\n\n @Input()\n set thySelected(value: ThyStep) {\n this.selected = value;\n }\n\n /**\n * 步骤条导航是否展示,默认展示\n */\n @Input({ transform: coerceBooleanProperty }) thyShowStepHeader = true;\n\n private _selectedIndex = 0;\n\n public set selected(step: ThyStep) {\n this.selectedIndex = this.steps ? this.steps.toArray().indexOf(step) : -1;\n }\n\n public get selected() {\n return this.steps ? this.steps.toArray()[this.selectedIndex] : null;\n }\n\n set selectedIndex(index: number) {\n if (this.steps) {\n this._updateSelectedItemIndex(index);\n } else {\n this._selectedIndex = index;\n }\n }\n\n get selectedIndex() {\n return this._selectedIndex;\n }\n\n @Output() selectionChange: EventEmitter<any> = new EventEmitter<any>();\n\n @ViewChildren(ThyStepHeader) stepHeaders: QueryList<ThyStepHeader>;\n\n @ContentChildren(ThyStep) steps: QueryList<ThyStep>;\n\n @HostBinding('class.thy-stepper') thyStepper = true;\n\n private _updateSelectedItemIndex(newIndex: number): void {\n const stepsArray = this.steps.toArray();\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: this._selectedIndex,\n selectedStep: stepsArray[newIndex],\n previouslySelectedStep: stepsArray[this._selectedIndex]\n });\n this._selectedIndex = newIndex;\n }\n\n to(index: number): void {\n this.selectedIndex = Math.min(index, this.steps.length - 1);\n }\n\n next(): void {\n this.selectedIndex = Math.min(this._selectedIndex + 1, this.steps.length - 1);\n }\n\n /** Selects and focuses the previous step in list. */\n previous(): void {\n this.selectedIndex = Math.max(this._selectedIndex - 1, 0);\n }\n}\n","<div *ngIf=\"thyShowStepHeader\" class=\"thy-stepper-header-container\">\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel || step.label\"\n [icon]=\"step.thyIcon\"\n [selected]=\"selectedIndex === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex\"\n [active]=\"i <= selectedIndex\">\n </thy-step-header>\n <div *ngIf=\"!isLast\" class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex\"></div>\n </ng-container>\n</div>\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected?.content\"></ng-container>\n</div>\n","import { Directive, HostListener } from '@angular/core';\nimport { ThyStepper } from './stepper.component';\n\n/**\n * 在步进工作流中移动到下一个步骤的按钮\n * @description.en-us Button that moves to the next step in a stepper workflow.\n * @name thyStepperNext\n * @order 40\n */\n@Directive({\n selector: '[thyStepperNext]',\n standalone: true\n})\nexport class ThyStepperNextDirective {\n constructor(private stepper: ThyStepper) {}\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.next();\n }\n}\n\n/**\n * 在步进工作流中移动到上一个步骤的按钮\n * @description.en-us Button that moves to the previous step in a stepper workflow.\n * @name thyStepperPrevious\n * @order 30\n */\n@Directive({\n selector: '[thyStepperPrevious]',\n standalone: true\n})\nexport class ThyStepperPreviousDirective {\n constructor(private stepper: ThyStepper) {}\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.previous();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyStepHeader } from './step-header.component';\nimport { ThyStep } from './step.component';\nimport { ThyStepper } from './stepper.component';\nimport { ThyStepperNextDirective, ThyStepperPreviousDirective } from './stepper-button.directive';\n\n@NgModule({\n imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],\n exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective],\n providers: []\n})\nexport class ThyStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThyStepper"],"mappings":";;;;;;AAKA;;;;AAIG;MAOU,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;QAmB6C,IAAa,CAAA,aAAA,GAAG,IAAI,CAAC;AACjE,KAAA;8GAdY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAKF,eAAe,CAGf,EAAA,QAAA,EAAA,CAAA,UAAA,EAAA,UAAA,EAAA,qBAAqB,gCAGrB,qBAAqB,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mCAAA,EAAA,eAAA,EAAA,0BAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC3B7C,oNAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDSc,OAAO,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,eAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,uBAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAER,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EA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xC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,uBAAuB,EAAE,2BAA2B,CAAC;oBACjH,OAAO,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,2BAA2B,CAAC;AACnG,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -87,8 +87,8 @@ class ThyStrength {
87
87
  registerOnTouched(fn) {
88
88
  this._onTouched = fn;
89
89
  }
90
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStrength, deps: [{ token: i1.ThyTranslate }], target: i0.ɵɵFactoryTarget.Component }); }
91
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: ThyStrength, isStandalone: true, selector: "thy-strength", inputs: { titleKey: "titleKey", highestKey: "highestKey", highKey: "highKey", averageKey: "averageKey", lowKey: "lowKey" }, host: { properties: { "class.password-strength-container": "this.styleClass" } }, providers: [
90
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStrength, deps: [{ token: i1.ThyTranslate }], target: i0.ɵɵFactoryTarget.Component }); }
91
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.4", type: ThyStrength, isStandalone: true, selector: "thy-strength", inputs: { titleKey: "titleKey", highestKey: "highestKey", highKey: "highKey", averageKey: "averageKey", lowKey: "lowKey" }, host: { properties: { "class.password-strength-container": "this.styleClass" } }, providers: [
92
92
  {
93
93
  provide: NG_VALUE_ACCESSOR,
94
94
  useExisting: forwardRef(() => ThyStrength),
@@ -96,7 +96,7 @@ class ThyStrength {
96
96
  }
97
97
  ], ngImport: i0, template: "<div>\n {{ strengthTitle }} <span class=\"strength-text strength-text-{{ strengthMap[strength]?.level }}\">{{ strengthMap[strength]?.text }}</span>\n</div>\n<div class=\"strength-level strength-level-{{ strengthMap[strength]?.level }}\">\n <span></span>\n</div>\n" }); }
98
98
  }
99
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStrength, decorators: [{
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStrength, decorators: [{
100
100
  type: Component,
101
101
  args: [{ selector: 'thy-strength', providers: [
102
102
  {
@@ -121,11 +121,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
121
121
  }] } });
122
122
 
123
123
  class ThyStrengthModule {
124
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStrengthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: ThyStrengthModule, imports: [ThyStrength], exports: [ThyStrength] }); }
126
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStrengthModule }); }
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStrengthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyStrengthModule, imports: [ThyStrength], exports: [ThyStrength] }); }
126
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStrengthModule }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyStrengthModule, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyStrengthModule, decorators: [{
129
129
  type: NgModule,
130
130
  args: [{
131
131
  imports: [ThyStrength],
@@ -141,8 +141,8 @@ class ThySwitch extends TabIndexDisabledControlValueAccessorMixin {
141
141
  };
142
142
  this.cdr.markForCheck();
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThySwitch, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
145
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThySwitch, isStandalone: true, selector: "thy-switch", inputs: { thyType: "thyType", thySize: "thySize", thyDisabled: ["thyDisabled", "thyDisabled", coerceBooleanProperty], thyLoading: ["thyLoading", "thyLoading", coerceBooleanProperty] }, outputs: { thyChange: "thyChange" }, host: { properties: { "class.thy-switch-xs": "size === \"xs\"", "class.thy-switch-sm": "size === \"sm\"" }, classAttribute: "thy-switch" }, providers: [
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThySwitch, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThySwitch, isStandalone: true, selector: "thy-switch", inputs: { thyType: "thyType", thySize: "thySize", thyDisabled: ["thyDisabled", "thyDisabled", coerceBooleanProperty], thyLoading: ["thyLoading", "thyLoading", coerceBooleanProperty] }, outputs: { thyChange: "thyChange" }, host: { properties: { "class.thy-switch-xs": "size === \"xs\"", "class.thy-switch-sm": "size === \"sm\"" }, classAttribute: "thy-switch" }, providers: [
146
146
  {
147
147
  provide: NG_VALUE_ACCESSOR,
148
148
  useExisting: forwardRef(() => ThySwitch),
@@ -150,7 +150,7 @@ class ThySwitch extends TabIndexDisabledControlValueAccessorMixin {
150
150
  }
151
151
  ], viewQueries: [{ propertyName: "switchElementRef", first: true, predicate: ["switch"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<label #switch class=\"thy-switch\" [ngClass]=\"classNames\">\n <input\n type=\"checkbox\"\n [attr.tabindex]=\"-1\"\n [disabled]=\"disabled || loading\"\n class=\"thy-switch-input\"\n [checked]=\"model\"\n (change)=\"toggle($event)\" />\n <span class=\"thy-switch-label\" [attr.tabindex]=\"tabIndex\"></span>\n <span class=\"thy-switch-handle\">\n <ng-container *ngIf=\"loading\">\n <svg [attr.viewBox]=\"loadingCircle?.viewBox\" [class.mb-1]=\"size === 'xs'\">\n <circle\n class=\"thy-switch-loading\"\n [style.transform-origin]=\"loadingCircle?.cx + 'px ' + loadingCircle?.cy + 'px'\"\n [attr.cx]=\"loadingCircle?.cx\"\n [attr.cy]=\"loadingCircle?.cy\"\n [attr.r]=\"loadingCircle?.r\"\n [attr.stroke]=\"model ? 'rgba(102,152,255,1)' : 'rgba(202,202,202,1)'\"\n stroke-width=\"1\"\n [attr.stroke-dasharray]=\"loadingCircle?.dasharray\"\n fill=\"white\" />\n </svg>\n </ng-container>\n </span>\n</label>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
152
152
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThySwitch, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThySwitch, decorators: [{
154
154
  type: Component,
155
155
  args: [{ selector: 'thy-switch', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
156
156
  {
@@ -181,11 +181,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
181
181
  }] } });
182
182
 
183
183
  class ThySwitchModule {
184
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThySwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
185
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: ThySwitchModule, imports: [CommonModule, ThySwitch], exports: [ThySwitch] }); }
186
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThySwitchModule, imports: [CommonModule] }); }
184
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThySwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
185
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThySwitchModule, imports: [CommonModule, ThySwitch], exports: [ThySwitch] }); }
186
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThySwitchModule, imports: [CommonModule] }); }
187
187
  }
188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThySwitchModule, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThySwitchModule, decorators: [{
189
189
  type: NgModule,
190
190
  args: [{
191
191
  imports: [CommonModule, ThySwitch],
@@ -154,10 +154,10 @@ class ThyTableColumnComponent {
154
154
  _generateKey() {
155
155
  return '[$$column]' + Math.random().toString(16).slice(2, 10);
156
156
  }
157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableColumnComponent, deps: [{ token: i0.ElementRef }, { token: THY_TABLE_COLUMN_PARENT_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThyTableColumnComponent, isStandalone: true, selector: "thy-table-column", inputs: { model: ["thyModelKey", "model"], title: ["thyTitle", "title"], type: ["thyType", "type"], thyWidth: "thyWidth", thyMinWidth: "thyMinWidth", className: ["thyClassName", "className"], headerClassName: ["thyHeaderClassName", "headerClassName"], disabled: ["thyDisabled", "disabled", coerceBooleanProperty], selections: ["thySelections", "selections"], defaultText: ["thyDefaultText", "defaultText"], expand: ["thyExpand", "expand", coerceBooleanProperty], thySortable: ["thySortable", "thySortable", coerceBooleanProperty], sortDirection: ["thySortDirection", "sortDirection"], fixed: ["thyFixed", "fixed"], operational: ["thyOperational", "operational", coerceBooleanProperty], secondary: ["thySecondary", "secondary", coerceBooleanProperty] }, outputs: { sortChange: "thySortChange" }, queries: [{ propertyName: "headerTemplateRef", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "cellTemplateRef", first: true, predicate: ["cell"], descendants: true, static: true }, { propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
157
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableColumnComponent, deps: [{ token: i0.ElementRef }, { token: THY_TABLE_COLUMN_PARENT_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
158
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyTableColumnComponent, isStandalone: true, selector: "thy-table-column", inputs: { model: ["thyModelKey", "model"], title: ["thyTitle", "title"], type: ["thyType", "type"], thyWidth: "thyWidth", thyMinWidth: "thyMinWidth", className: ["thyClassName", "className"], headerClassName: ["thyHeaderClassName", "headerClassName"], disabled: ["thyDisabled", "disabled", coerceBooleanProperty], selections: ["thySelections", "selections"], defaultText: ["thyDefaultText", "defaultText"], expand: ["thyExpand", "expand", coerceBooleanProperty], thySortable: ["thySortable", "thySortable", coerceBooleanProperty], sortDirection: ["thySortDirection", "sortDirection"], fixed: ["thyFixed", "fixed"], operational: ["thyOperational", "operational", coerceBooleanProperty], secondary: ["thySecondary", "secondary", coerceBooleanProperty] }, outputs: { sortChange: "thySortChange" }, queries: [{ propertyName: "headerTemplateRef", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "cellTemplateRef", first: true, predicate: ["cell"], descendants: true, static: true }, { propertyName: "templateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, encapsulation: i0.ViewEncapsulation.None }); }
159
159
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableColumnComponent, decorators: [{
160
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableColumnComponent, decorators: [{
161
161
  type: Component,
162
162
  args: [{
163
163
  selector: 'thy-table-column',
@@ -237,10 +237,10 @@ class TableRowDragDisabledPipe {
237
237
  transform(item, dragDisabledPredicate) {
238
238
  return dragDisabledPredicate(item);
239
239
  }
240
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: TableRowDragDisabledPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
241
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: TableRowDragDisabledPipe, isStandalone: true, name: "tableRowDragDisabled" }); }
240
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TableRowDragDisabledPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
241
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: TableRowDragDisabledPipe, isStandalone: true, name: "tableRowDragDisabled" }); }
242
242
  }
243
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: TableRowDragDisabledPipe, decorators: [{
243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TableRowDragDisabledPipe, decorators: [{
244
244
  type: Pipe,
245
245
  args: [{
246
246
  name: 'tableRowDragDisabled',
@@ -255,10 +255,10 @@ class TableIsValidModelValuePipe {
255
255
  transform(value) {
256
256
  return value !== '' && value !== undefined && value !== null;
257
257
  }
258
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: TableIsValidModelValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
259
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: TableIsValidModelValuePipe, isStandalone: true, name: "isValidModelValue" }); }
258
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TableIsValidModelValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
259
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: TableIsValidModelValuePipe, isStandalone: true, name: "isValidModelValue" }); }
260
260
  }
261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: TableIsValidModelValuePipe, decorators: [{
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: TableIsValidModelValuePipe, decorators: [{
262
262
  type: Pipe,
263
263
  args: [{
264
264
  name: 'isValidModelValue',
@@ -373,8 +373,8 @@ class ThyTableSkeleton {
373
373
  };
374
374
  this.cdr.detectChanges();
375
375
  }
376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableSkeleton, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
377
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThyTableSkeleton, isStandalone: true, selector: "thy-table-skeleton", inputs: { thyBorderRadius: "thyBorderRadius", thyRowHeight: "thyRowHeight", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount", thyHeadless: ["thyHeadless", "thyHeadless", coerceBooleanProperty], thyTheme: "thyTheme", thySize: "thySize", thyMinWidth: "thyMinWidth", thyColumns: "thyColumns" }, host: { classAttribute: "thy-table-skeleton" }, viewQueries: [{ propertyName: "titleTemplate", first: true, predicate: ["titleTemplate"], descendants: true }, { propertyName: "memberTemplate", first: true, predicate: ["memberTemplate"], descendants: true }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "checkboxTemplate", first: true, predicate: ["checkboxTemplate"], descendants: true }], ngImport: i0, template: "<table [ngClass]=\"tableClassMap\" [ngStyle]=\"{ 'min-width': thyMinWidth }\">\n <colgroup>\n <col *ngFor=\"let column of columns; trackBy: trackByFn\" [width]=\"column.width\" />\n </colgroup>\n <ng-container *ngIf=\"!thyHeadless\">\n <thead>\n <tr>\n <th *ngFor=\"let column of columns; trackBy: trackByFn\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"column?.type === columnType.checkbox ? checkboxWidth : titleWidth\"\n [thyRowHeight]=\"titleHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyTheme === 'bordered' || thyTheme === 'boxed' ? '#eee' : thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n </th>\n </tr>\n </thead>\n </ng-container>\n <tbody>\n <ng-container *ngFor=\"let item of rowCount; let i = index\">\n <tr>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByFn\">\n <td>\n <ng-container\n *thyViewOutlet=\"\n skeletonColumnsMap[column.type] || defaultTemplate\n context:{\n trIndex: i,\n }\n \">\n </ng-container>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </tbody>\n</table>\n\n<ng-template #titleTemplate let-trIndex=\"trIndex\">\n <div class=\"d-flex align-items-center\">\n <thy-skeleton-rectangle\n class=\"mr-2 flex-shrink-0\"\n [thyRowWidth]=\"checkboxWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n\n <ng-container\n *thyViewOutlet=\"defaultTemplate;\n context:{\n rowWidth: trIndex % 3 === 0 ? '75%' : trIndex % 3 === 1 ? '100%' : trIndex % 3 === 2 ? '65%' : '',\n }\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #checkboxTemplate>\n <thy-skeleton-rectangle\n [thyRowWidth]=\"checkboxWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n</ng-template>\n\n<ng-template #memberTemplate>\n <div class=\"d-flex align-items-center\">\n <thy-skeleton-circle\n class=\"mr-2 flex-shrink-0\"\n [thySize]=\"avatarSize\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-circle>\n\n <ng-container *thyViewOutlet=\"defaultTemplate\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultTemplate let-rowWidth=\"rowWidth\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"rowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: ThyViewOutletDirective, selector: "[thyViewOutlet]", inputs: ["thyViewOutlet", "thyViewOutletContext"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }, { kind: "component", type: ThySkeletonCircle, selector: "thy-skeleton-circle", inputs: ["thyAnimatedInterval", "thySize", "thyPrimaryColor", "thySecondaryColor", "thyAnimated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
376
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableSkeleton, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
377
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyTableSkeleton, isStandalone: true, selector: "thy-table-skeleton", inputs: { thyBorderRadius: "thyBorderRadius", thyRowHeight: "thyRowHeight", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount", thyHeadless: ["thyHeadless", "thyHeadless", coerceBooleanProperty], thyTheme: "thyTheme", thySize: "thySize", thyMinWidth: "thyMinWidth", thyColumns: "thyColumns" }, host: { classAttribute: "thy-table-skeleton" }, viewQueries: [{ propertyName: "titleTemplate", first: true, predicate: ["titleTemplate"], descendants: true }, { propertyName: "memberTemplate", first: true, predicate: ["memberTemplate"], descendants: true }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "checkboxTemplate", first: true, predicate: ["checkboxTemplate"], descendants: true }], ngImport: i0, template: "<table [ngClass]=\"tableClassMap\" [ngStyle]=\"{ 'min-width': thyMinWidth }\">\n <colgroup>\n <col *ngFor=\"let column of columns; trackBy: trackByFn\" [width]=\"column.width\" />\n </colgroup>\n <ng-container *ngIf=\"!thyHeadless\">\n <thead>\n <tr>\n <th *ngFor=\"let column of columns; trackBy: trackByFn\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"column?.type === columnType.checkbox ? checkboxWidth : titleWidth\"\n [thyRowHeight]=\"titleHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyTheme === 'bordered' || thyTheme === 'boxed' ? '#eee' : thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n </th>\n </tr>\n </thead>\n </ng-container>\n <tbody>\n <ng-container *ngFor=\"let item of rowCount; let i = index\">\n <tr>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByFn\">\n <td>\n <ng-container\n *thyViewOutlet=\"\n skeletonColumnsMap[column.type] || defaultTemplate\n context:{\n trIndex: i,\n }\n \">\n </ng-container>\n </td>\n </ng-container>\n </tr>\n </ng-container>\n </tbody>\n</table>\n\n<ng-template #titleTemplate let-trIndex=\"trIndex\">\n <div class=\"d-flex align-items-center\">\n <thy-skeleton-rectangle\n class=\"mr-2 flex-shrink-0\"\n [thyRowWidth]=\"checkboxWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n\n <ng-container\n *thyViewOutlet=\"defaultTemplate;\n context:{\n rowWidth: trIndex % 3 === 0 ? '75%' : trIndex % 3 === 1 ? '100%' : trIndex % 3 === 2 ? '65%' : '',\n }\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #checkboxTemplate>\n <thy-skeleton-rectangle\n [thyRowWidth]=\"checkboxWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n</ng-template>\n\n<ng-template #memberTemplate>\n <div class=\"d-flex align-items-center\">\n <thy-skeleton-circle\n class=\"mr-2 flex-shrink-0\"\n [thySize]=\"avatarSize\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-circle>\n\n <ng-container *thyViewOutlet=\"defaultTemplate\"></ng-container>\n </div>\n</ng-template>\n\n<ng-template #defaultTemplate let-rowWidth=\"rowWidth\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"rowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"></thy-skeleton-rectangle>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: ThyViewOutletDirective, selector: "[thyViewOutlet]", inputs: ["thyViewOutlet", "thyViewOutletContext"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }, { kind: "component", type: ThySkeletonCircle, selector: "thy-skeleton-circle", inputs: ["thyAnimatedInterval", "thySize", "thyPrimaryColor", "thySecondaryColor", "thyAnimated"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
378
378
  }
379
379
  __decorate([
380
380
  InputCssPixel(),
@@ -388,7 +388,7 @@ __decorate([
388
388
  InputCssPixel(),
389
389
  __metadata("design:type", Object)
390
390
  ], ThyTableSkeleton.prototype, "thyMinWidth", void 0);
391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableSkeleton, decorators: [{
391
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableSkeleton, decorators: [{
392
392
  type: Component,
393
393
  args: [{ selector: 'thy-table-skeleton', host: {
394
394
  class: 'thy-table-skeleton'
@@ -1205,14 +1205,14 @@ class ThyTable {
1205
1205
  ngOnDestroy() {
1206
1206
  this._destroyInvalidAttribute();
1207
1207
  }
1208
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTable, deps: [{ token: i0.ElementRef }, { token: i0.IterableDiffers }, { token: i1.ViewportRuler }, { token: i2.UpdateHostClassService }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1209
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0", type: ThyTable, isStandalone: true, selector: "thy-table", inputs: { thyMode: "thyMode", thyGroupBy: "thyGroupBy", thyRowKey: "thyRowKey", thyGroups: "thyGroups", thyModel: "thyModel", thyTheme: "thyTheme", thySize: "thySize", thyMinWidth: "thyMinWidth", thyLayoutFixed: ["thyLayoutFixed", "thyLayoutFixed", coerceBooleanProperty], thyHeaderFixed: ["thyHeaderFixed", "thyHeaderFixed", coerceBooleanProperty], thyHeight: "thyHeight", thyClassName: "thyClassName", thyRowClassName: "thyRowClassName", thyLoadingDone: ["thyLoadingDone", "thyLoadingDone", coerceBooleanProperty], thyLoadingText: "thyLoadingText", thyEmptyOptions: "thyEmptyOptions", thyDraggable: ["thyDraggable", "thyDraggable", coerceBooleanProperty], thyPageIndex: ["thyPageIndex", "thyPageIndex", numberAttribute], thyPageSize: ["thyPageSize", "thyPageSize", numberAttribute], thyPageTotal: ["thyPageTotal", "thyPageTotal", numberAttribute], thyWholeRowSelect: ["thyWholeRowSelect", "thyWholeRowSelect", coerceBooleanProperty], thyHeadless: ["thyHeadless", "thyHeadless", coerceBooleanProperty], thyShowHeader: ["thyShowHeader", "thyShowHeader", coerceBooleanProperty], showTotal: ["thyShowTotal", "showTotal", coerceBooleanProperty], showSizeChanger: ["thyShowSizeChanger", "showSizeChanger", coerceBooleanProperty], pageSizeOptions: ["thyPageSizeOptions", "pageSizeOptions"], thyIndent: ["thyIndent", "thyIndent", numberAttribute], thyChildrenKey: "thyChildrenKey", thyHoverDisplayOperation: ["thyHoverDisplayOperation", "thyHoverDisplayOperation", coerceBooleanProperty], thyDragDisabledPredicate: "thyDragDisabledPredicate", thyColumnSkeletonTypes: "thyColumnSkeletonTypes" }, outputs: { thyOnSwitchChange: "thyOnSwitchChange", thyOnPageChange: "thyOnPageChange", thyOnPageIndexChange: "thyOnPageIndexChange", thyOnPageSizeChange: "thyOnPageSizeChange", thyOnMultiSelectChange: "thyOnMultiSelectChange", thyOnRadioSelectChange: "thyOnRadioSelectChange", thyOnDraggableChange: "thyOnDraggableChange", thyOnRowClick: "thyOnRowClick", thySortChange: "thySortChange", thyOnRowContextMenu: "thyOnRowContextMenu" }, host: { properties: { "class.thy-table-bordered": "theme === 'bordered'", "class.thy-table-boxed": "theme === 'boxed'", "class.thy-table-fixed-header": "thyHeaderFixed", "style.height": "this.thyHeight", "class.thy-table-hover-display-operation": "this.thyHoverDisplayOperation" }, classAttribute: "thy-table" }, providers: [
1208
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTable, deps: [{ token: i0.ElementRef }, { token: i0.IterableDiffers }, { token: i1.ViewportRuler }, { token: i2.UpdateHostClassService }, { token: DOCUMENT }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1209
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.1.4", type: ThyTable, isStandalone: true, selector: "thy-table", inputs: { thyMode: "thyMode", thyGroupBy: "thyGroupBy", thyRowKey: "thyRowKey", thyGroups: "thyGroups", thyModel: "thyModel", thyTheme: "thyTheme", thySize: "thySize", thyMinWidth: "thyMinWidth", thyLayoutFixed: ["thyLayoutFixed", "thyLayoutFixed", coerceBooleanProperty], thyHeaderFixed: ["thyHeaderFixed", "thyHeaderFixed", coerceBooleanProperty], thyHeight: "thyHeight", thyClassName: "thyClassName", thyRowClassName: "thyRowClassName", thyLoadingDone: ["thyLoadingDone", "thyLoadingDone", coerceBooleanProperty], thyLoadingText: "thyLoadingText", thyEmptyOptions: "thyEmptyOptions", thyDraggable: ["thyDraggable", "thyDraggable", coerceBooleanProperty], thyPageIndex: ["thyPageIndex", "thyPageIndex", numberAttribute], thyPageSize: ["thyPageSize", "thyPageSize", numberAttribute], thyPageTotal: ["thyPageTotal", "thyPageTotal", numberAttribute], thyWholeRowSelect: ["thyWholeRowSelect", "thyWholeRowSelect", coerceBooleanProperty], thyHeadless: ["thyHeadless", "thyHeadless", coerceBooleanProperty], thyShowHeader: ["thyShowHeader", "thyShowHeader", coerceBooleanProperty], showTotal: ["thyShowTotal", "showTotal", coerceBooleanProperty], showSizeChanger: ["thyShowSizeChanger", "showSizeChanger", coerceBooleanProperty], pageSizeOptions: ["thyPageSizeOptions", "pageSizeOptions"], thyIndent: ["thyIndent", "thyIndent", numberAttribute], thyChildrenKey: "thyChildrenKey", thyHoverDisplayOperation: ["thyHoverDisplayOperation", "thyHoverDisplayOperation", coerceBooleanProperty], thyDragDisabledPredicate: "thyDragDisabledPredicate", thyColumnSkeletonTypes: "thyColumnSkeletonTypes" }, outputs: { thyOnSwitchChange: "thyOnSwitchChange", thyOnPageChange: "thyOnPageChange", thyOnPageIndexChange: "thyOnPageIndexChange", thyOnPageSizeChange: "thyOnPageSizeChange", thyOnMultiSelectChange: "thyOnMultiSelectChange", thyOnRadioSelectChange: "thyOnRadioSelectChange", thyOnDraggableChange: "thyOnDraggableChange", thyOnRowClick: "thyOnRowClick", thySortChange: "thySortChange", thyOnRowContextMenu: "thyOnRowContextMenu" }, host: { properties: { "class.thy-table-bordered": "theme === 'bordered'", "class.thy-table-boxed": "theme === 'boxed'", "class.thy-table-fixed-header": "thyHeaderFixed", "style.height": "this.thyHeight", "class.thy-table-hover-display-operation": "this.thyHoverDisplayOperation" }, classAttribute: "thy-table" }, providers: [
1210
1210
  {
1211
1211
  provide: THY_TABLE_COLUMN_PARENT_COMPONENT,
1212
1212
  useExisting: ThyTable
1213
1213
  },
1214
1214
  UpdateHostClassService
1215
- ], queries: [{ propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, static: true }, { propertyName: "listOfColumnComponents", predicate: ThyTableColumnComponent }], viewQueries: [{ propertyName: "tableElementRef", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "rows", predicate: ["rows"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"thy-table-body\"\n cdkScrollable\n [ngClass]=\"{ 'thy-table-fixed': hasFixed, 'thy-table-bordered-theme': theme === 'bordered' && hasFixed }\">\n <table\n #table\n class=\"table\"\n [ngClass]=\"[className]\"\n [class.table-fixed]=\"thyLayoutFixed\"\n [class.table-draggable]=\"draggable\"\n [class.table-group]=\"mode === 'group'\"\n [ngStyle]=\"{ 'min-width': thyMinWidth }\">\n <colgroup>\n <col *ngFor=\"let column of columns\" [width]=\"column.width\" [ngStyle]=\"{ minWidth: hasFixed ? column.width : column.minWidth }\" />\n </colgroup>\n\n <thead *ngIf=\"!thyHeadless\">\n <tr>\n <th\n *ngFor=\"let column of columns\"\n [ngClass]=\"column.headerClassName\"\n [class.thy-table-column-sortable]=\"column.sortable\"\n [class.thy-table-fixed-column-left]=\"column.fixed === fixedDirection.left\"\n [class.thy-table-fixed-column-right]=\"column.fixed === fixedDirection.right\"\n [ngStyle]=\"{ left: column.left + 'px', right: column.right + 'px' }\"\n (click)=\"onColumnHeaderClick($event, column)\">\n <ng-container *ngIf=\"!column.headerTemplateRef\">\n <span>{{ column.title }}</span>\n </ng-container>\n <ng-container *ngIf=\"column.headerTemplateRef\">\n <ng-template [ngTemplateOutlet]=\"column.headerTemplateRef\" [ngTemplateOutletContext]=\"{ $implicit: column }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"column.sortable\">\n <thy-icon [ngClass]=\"['thy-table-column-sortable-icon', 'px-1', column.sortDirection]\" thyIconName=\"sort-vertical-tt\">\n </thy-icon>\n </ng-container>\n </th>\n </tr>\n </thead>\n\n <tbody\n *ngIf=\"loadingDone\"\n thyDragDrop\n cdkDropList\n [cdkDropListDisabled]=\"!draggable\"\n [cdkDropListSortPredicate]=\"dropListEnterPredicate\"\n (cdkDropListDropped)=\"onDragDropped($event)\">\n <!-- group -->\n <ng-container *ngIf=\"mode === 'group'\">\n <ng-container *ngFor=\"let group of groups\">\n <tr\n class=\"thy-table-group\"\n (click)=\"expandGroup(group)\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"group\"\n [cdkDragDisabled]=\"group | tableRowDragDisabled : thyDragDisabledPredicate\"\n (cdkDragStarted)=\"onDragGroupStarted($event)\"\n (cdkDragEnded)=\"onDragGroupEnd($event)\">\n <td [attr.colspan]=\"columns.length\">\n <div class=\"thy-table-group-container\">\n <ng-container *ngIf=\"draggable && !(group | tableRowDragDisabled : thyDragDisabledPredicate)\">\n <thy-icon class=\"table-draggable-icon\" thyIconName=\"drag\"></thy-icon>\n </ng-container>\n <thy-icon class=\"expand-icon\" [thyIconName]=\"group.expand ? 'angle-down' : 'angle-right'\"></thy-icon>\n <ng-container *ngIf=\"groupTemplate\">\n <ng-template\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.origin, group: group.origin }\"></ng-template>\n </ng-container>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"group.children?.length && group.expand\">\n <ng-container *ngFor=\"let row of group.children; trackBy: trackByFn; let i = index\">\n <ng-template\n [ngTemplateOutlet]=\"trTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: 0\n }\"></ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- list\u6A21\u5F0F\u4E0B\u6CA1\u6709\u76F4\u63A5\u4F7F\u7528item\u6A21\u677F\uFF0C\u662F\u56E0\u4E3A\u4F7F\u7528\u4E86\u6A21\u677F\u5F71\u54CD\u4E86Angular\u7684\u4F9D\u8D56\u6811\uFF0C\u5BFC\u81F4CdkDragDrop\u6392\u5E8F\u5931\u6548\uFF0C\u76EE\u524D\u8FD9\u6837\u4FEE\u6539\u53EF\u4EE5\u6682\u65F6\u89E3\u51B3\u7EBF\u4E0A\u4E0D\u80FD\u6392\u5E8F\u7684\u95EE\u9898\uFF0CTree\u6A21\u5F0F\u7684\u6392\u5E8F\u6682\u65F6\u4E0D\u652F\u6301 -->\n <ng-container *ngIf=\"mode === 'list'\">\n <tr\n #rows\n *ngFor=\"let row of model; trackBy: trackByFn; let i = index\"\n class=\"thy-sortable-item\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"row\"\n [cdkDragDisabled]=\"row | tableRowDragDisabled : thyDragDisabledPredicate\"\n (cdkDragStarted)=\"onDragStarted($event)\"\n [ngClass]=\"renderRowClassName(row, i)\"\n (click)=\"onRowClick($event, row)\"\n (thyContextMenu)=\"onRowContextMenu($event, row)\">\n <ng-template\n [ngTemplateOutlet]=\"tdsTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: 0\n }\"></ng-template>\n </tr>\n </ng-container>\n\n <ng-container *ngIf=\"mode === 'tree'\">\n <ng-container *ngFor=\"let row of model; trackBy: trackByFn; let i = index\">\n <ng-template [ngTemplateOutlet]=\"trTemplate\" [ngTemplateOutletContext]=\"{ row: row, index: i, level: 0 }\"></ng-template>\n </ng-container>\n </ng-container>\n\n <ng-template #trTemplate let-row=\"row\" let-i=\"index\" let-level=\"level\">\n <tr\n #rows\n class=\"thy-sortable-item\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"row\"\n (cdkDragStarted)=\"onDragStarted($event)\"\n [cdkDragDisabled]=\"row | tableRowDragDisabled : thyDragDisabledPredicate\"\n [ngClass]=\"renderRowClassName(row, i)\"\n (click)=\"onRowClick($event, row)\"\n (thyContextMenu)=\"onRowContextMenu($event, row)\">\n <ng-template\n [ngTemplateOutlet]=\"tdsTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: level + 1\n }\"></ng-template>\n </tr>\n\n <ng-container *ngIf=\"mode === 'tree' && isExpanded(row)\">\n <ng-template\n *ngFor=\"let child of row[thyChildrenKey]; trackBy: trackByFn; let j = index\"\n [ngTemplateOutlet]=\"trTemplate\"\n [ngTemplateOutletContext]=\"{ row: child, index: j, level: level + 1 }\"></ng-template>\n </ng-container>\n </ng-template>\n\n <ng-template #tdsTemplate let-row=\"row\" let-i=\"index\" let-level=\"level\">\n <td\n *ngFor=\"let column of columns; let j = index\"\n [ngClass]=\"column.className\"\n [class.thy-operation-links]=\"!!column.operational\"\n [class.thy-table-column-secondary]=\"!!column.secondary\"\n [class.thy-table-checkbox-column]=\"column.type === customType.checkbox\"\n [class.thy-table-fixed-column-left]=\"column.fixed === fixedDirection.left\"\n [class.thy-table-fixed-column-right]=\"column.fixed === fixedDirection.right\"\n [ngStyle]=\"\n mode === 'tree' && column.expand ? tdIndentComputed(level, column) : { left: column.left + 'px', right: column.right + 'px' }\n \">\n <ng-container *ngIf=\"j === 0 && draggable && !(row | tableRowDragDisabled : thyDragDisabledPredicate)\">\n <thy-icon class=\"table-draggable-icon\" thyIconName=\"drag\"></thy-icon>\n </ng-container>\n\n <!--template-->\n <ng-container *ngIf=\"isTemplateRef(column.cellTemplateRef)\">\n <thy-icon\n class=\"tree-expand-icon cursor-pointer\"\n *ngIf=\"mode === 'tree' && column.expand\"\n [thyIconName]=\"isExpanded(row) ? 'angle-down' : 'angle-right'\"\n [style.visibility]=\"showExpand(row) ? 'visible' : 'hidden'\"\n [style.left.px]=\"iconIndentComputed(level)\"></thy-icon>\n <ng-template [ngTemplateOutlet]=\"column.cellTemplateRef\" [ngTemplateOutletContext]=\"{ $implicit: row }\"></ng-template>\n </ng-container>\n\n <!--not template-->\n <ng-container *ngIf=\"!isTemplateRef(column.cellTemplateRef)\">\n <!-- default -->\n <ng-container *ngIf=\"column.model && !column.type\">\n <thy-icon\n class=\"tree-expand-icon cursor-pointer\"\n *ngIf=\"mode === 'tree' && column.expand\"\n [thyIconName]=\"isExpanded(row) ? 'angle-down' : 'angle-right'\"\n [style.visibility]=\"showExpand(row) ? 'visible' : 'hidden'\"\n [style.marginLeft.px]=\"iconIndentComputed(level)\"></thy-icon>\n <ng-container *ngIf=\"getModelValue(row, column.model) | isValidModelValue; else default\">\n {{ getModelValue(row, column.model) }}\n </ng-container>\n <ng-template #default>\n <div *ngIf=\"column.defaultText\" class=\"text-desc\">\n {{ column.defaultText }}\n </div>\n </ng-template>\n </ng-container>\n\n <!-- index -->\n <ng-container *ngIf=\"column.type === customType.index\">\n {{ i + 1 }}\n </ng-container>\n\n <!-- checkbox -->\n <ng-container *ngIf=\"column.type === customType.checkbox\">\n <input\n type=\"checkbox\"\n [(ngModel)]=\"row[column.key]\"\n (ngModelChange)=\"onCheckboxChange(row, column)\"\n (click)=\"onStopPropagation($event)\"\n [disabled]=\"column.disabled\" />\n </ng-container>\n\n <!-- radio -->\n <ng-container *ngIf=\"column.type === customType.radio\">\n <input\n type=\"radio\"\n [(ngModel)]=\"selectedRadioRow\"\n [value]=\"row\"\n [disabled]=\"column.disabled\"\n (click)=\"onStopPropagation($event)\"\n (change)=\"onRadioSelectChange($event, row)\" />\n </ng-container>\n\n <!-- switch -->\n <ng-container *ngIf=\"column.type === customType.switch\">\n <thy-switch\n [(ngModel)]=\"row[column.key]\"\n (ngModelChange)=\"onModelChange(row, column)\"\n [disabled]=\"column.disabled\"\n (thyChange)=\"onSwitchChange($event, row, column)\"></thy-switch>\n </ng-container>\n </ng-container>\n </td>\n </ng-template>\n </tbody>\n </table>\n\n <div *ngIf=\"loadingDone && model.length === 0 && groups.length === 0\" class=\"thy-table-empty clear-hover\">\n <ng-container *ngIf=\"emptyTemplate; else defaultEmpty\">\n <ng-template [ngTemplateOutlet]=\"emptyTemplate\"></ng-template>\n </ng-container>\n <ng-template #defaultEmpty>\n <thy-empty\n [thyMessage]=\"emptyOptions.message\"\n [thyTranslationKey]=\"emptyOptions.translationKey\"\n [thyTranslationValues]=\"emptyOptions.translationValues\"\n [thyEntityName]=\"emptyOptions.entityName\"\n [thyEntityNameTranslateKey]=\"emptyOptions.entityNameTranslateKey\"\n [thyIconName]=\"emptyOptions.iconName\"\n [thySize]=\"emptyOptions.size\"\n [thyMarginTop]=\"emptyOptions.marginTop\"\n [thyTopAuto]=\"emptyOptions.topAuto\"\n [thyContainer]=\"emptyOptions.container\"></thy-empty>\n </ng-template>\n </div>\n\n <thy-table-skeleton\n *ngIf=\"!loadingDone\"\n [thyRowCount]=\"6\"\n [thyHeadless]=\"true\"\n [thyTheme]=\"theme\"\n [thySize]=\"size\"\n [thyMinWidth]=\"thyMinWidth\"\n [thyColumns]=\"skeletonColumns\">\n </thy-table-skeleton>\n\n <div class=\"thy-table-footer\" *ngIf=\"pagination.total > pagination.size\" [class.thy-table-footer-has-padding]=\"theme === 'default'\">\n <thy-pagination\n [thyPageIndex]=\"pagination.index\"\n [thyTotal]=\"pagination.total\"\n [thyPageSize]=\"pagination.size\"\n [thyPageSizeOptions]=\"pagination.sizeOptions\"\n [thyShowSizeChanger]=\"showSizeChanger\"\n [thyShowTotal]=\"showTotal\"\n (thyPageChanged)=\"onPageChange($event)\"\n (thyPageIndexChange)=\"onPageIndexChange($event)\"\n (thyPageSizeChanged)=\"onPageSizeChange($event)\"></thy-pagination>\n </div>\n</div>\n\n<ng-template>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyDragDropDirective, selector: "[thyDragDrop]" }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: ThyContextMenuDirective, selector: "[thyContextMenu]", outputs: ["thyContextMenu"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ThySwitch, selector: "thy-switch", inputs: ["thyType", "thySize", "thyDisabled", "thyLoading"], outputs: ["thyChange"] }, { kind: "component", type: ThyEmpty, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "component", type: ThyTableSkeleton, selector: "thy-table-skeleton", inputs: ["thyBorderRadius", "thyRowHeight", "thyAnimated", "thyAnimatedInterval", "thyPrimaryColor", "thySecondaryColor", "thyRowCount", "thyHeadless", "thyTheme", "thySize", "thyMinWidth", "thyColumns"] }, { kind: "component", type: ThyPagination, selector: "thy-pagination", inputs: ["thyPageIndex", "thyPageSize", "thyTotal", "thyCustomPages", "thyDisabled", "thyShowQuickJumper", "thyShowTotalPageCount", "thySize", "thyMaxCount", "thyMarginalCount", "thyRangeCount", "thyShowSizeChanger", "thyPageSizeOptions", "thyHideOnSinglePage", "thyUnit", "thyShowTotal"], outputs: ["thyPageIndexChange", "thyPageChanged", "thyPageSizeChanged"] }, { kind: "pipe", type: TableIsValidModelValuePipe, name: "isValidModelValue" }, { kind: "pipe", type: TableRowDragDisabledPipe, name: "tableRowDragDisabled" }], encapsulation: i0.ViewEncapsulation.None }); }
1215
+ ], queries: [{ propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, static: true }, { propertyName: "listOfColumnComponents", predicate: ThyTableColumnComponent }], viewQueries: [{ propertyName: "tableElementRef", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "rows", predicate: ["rows"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"thy-table-body\"\n cdkScrollable\n [ngClass]=\"{ 'thy-table-fixed': hasFixed, 'thy-table-bordered-theme': theme === 'bordered' && hasFixed }\">\n <table\n #table\n class=\"table\"\n [ngClass]=\"[className]\"\n [class.table-fixed]=\"thyLayoutFixed\"\n [class.table-draggable]=\"draggable\"\n [class.table-group]=\"mode === 'group'\"\n [ngStyle]=\"{ 'min-width': thyMinWidth }\">\n <colgroup>\n <col *ngFor=\"let column of columns\" [width]=\"column.width\" [ngStyle]=\"{ minWidth: hasFixed ? column.width : column.minWidth }\" />\n </colgroup>\n\n <thead *ngIf=\"!thyHeadless\">\n <tr>\n <th\n *ngFor=\"let column of columns\"\n [ngClass]=\"column.headerClassName\"\n [class.thy-table-column-sortable]=\"column.sortable\"\n [class.thy-table-fixed-column-left]=\"column.fixed === fixedDirection.left\"\n [class.thy-table-fixed-column-right]=\"column.fixed === fixedDirection.right\"\n [ngStyle]=\"{ left: column.left + 'px', right: column.right + 'px' }\"\n (click)=\"onColumnHeaderClick($event, column)\">\n <ng-container *ngIf=\"!column.headerTemplateRef\">\n <span>{{ column.title }}</span>\n </ng-container>\n <ng-container *ngIf=\"column.headerTemplateRef\">\n <ng-template [ngTemplateOutlet]=\"column.headerTemplateRef\" [ngTemplateOutletContext]=\"{ $implicit: column }\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"column.sortable\">\n <thy-icon [ngClass]=\"['thy-table-column-sortable-icon', 'px-1', column.sortDirection]\" thyIconName=\"sort-vertical-tt\">\n </thy-icon>\n </ng-container>\n </th>\n </tr>\n </thead>\n\n <tbody\n *ngIf=\"loadingDone\"\n thyDragDrop\n cdkDropList\n [cdkDropListDisabled]=\"!draggable\"\n [cdkDropListSortPredicate]=\"dropListEnterPredicate\"\n (cdkDropListDropped)=\"onDragDropped($event)\">\n <!-- group -->\n <ng-container *ngIf=\"mode === 'group'\">\n <ng-container *ngFor=\"let group of groups\">\n <tr\n class=\"thy-table-group\"\n (click)=\"expandGroup(group)\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"group\"\n [cdkDragDisabled]=\"group | tableRowDragDisabled : thyDragDisabledPredicate\"\n (cdkDragStarted)=\"onDragGroupStarted($event)\"\n (cdkDragEnded)=\"onDragGroupEnd($event)\">\n <td [attr.colspan]=\"columns.length\">\n <div class=\"thy-table-group-container\">\n <ng-container *ngIf=\"draggable && !(group | tableRowDragDisabled : thyDragDisabledPredicate)\">\n <thy-icon class=\"table-draggable-icon\" thyIconName=\"drag\"></thy-icon>\n </ng-container>\n <thy-icon class=\"expand-icon\" [thyIconName]=\"group.expand ? 'angle-down' : 'angle-right'\"></thy-icon>\n <ng-container *ngIf=\"groupTemplate\">\n <ng-template\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.origin, group: group.origin }\"></ng-template>\n </ng-container>\n </div>\n </td>\n </tr>\n <ng-container *ngIf=\"group.children?.length && group.expand\">\n <ng-container *ngFor=\"let row of group.children; trackBy: trackByFn; let i = index\">\n <ng-template\n [ngTemplateOutlet]=\"trTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: 0\n }\"></ng-template>\n </ng-container>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <!-- list\u6A21\u5F0F\u4E0B\u6CA1\u6709\u76F4\u63A5\u4F7F\u7528item\u6A21\u677F\uFF0C\u662F\u56E0\u4E3A\u4F7F\u7528\u4E86\u6A21\u677F\u5F71\u54CD\u4E86Angular\u7684\u4F9D\u8D56\u6811\uFF0C\u5BFC\u81F4CdkDragDrop\u6392\u5E8F\u5931\u6548\uFF0C\u76EE\u524D\u8FD9\u6837\u4FEE\u6539\u53EF\u4EE5\u6682\u65F6\u89E3\u51B3\u7EBF\u4E0A\u4E0D\u80FD\u6392\u5E8F\u7684\u95EE\u9898\uFF0CTree\u6A21\u5F0F\u7684\u6392\u5E8F\u6682\u65F6\u4E0D\u652F\u6301 -->\n <ng-container *ngIf=\"mode === 'list'\">\n <tr\n #rows\n *ngFor=\"let row of model; trackBy: trackByFn; let i = index\"\n class=\"thy-sortable-item\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"row\"\n [cdkDragDisabled]=\"row | tableRowDragDisabled : thyDragDisabledPredicate\"\n (cdkDragStarted)=\"onDragStarted($event)\"\n [ngClass]=\"renderRowClassName(row, i)\"\n (click)=\"onRowClick($event, row)\"\n (thyContextMenu)=\"onRowContextMenu($event, row)\">\n <ng-template\n [ngTemplateOutlet]=\"tdsTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: 0\n }\"></ng-template>\n </tr>\n </ng-container>\n\n <ng-container *ngIf=\"mode === 'tree'\">\n <ng-container *ngFor=\"let row of model; trackBy: trackByFn; let i = index\">\n <ng-template [ngTemplateOutlet]=\"trTemplate\" [ngTemplateOutletContext]=\"{ row: row, index: i, level: 0 }\"></ng-template>\n </ng-container>\n </ng-container>\n\n <ng-template #trTemplate let-row=\"row\" let-i=\"index\" let-level=\"level\">\n <tr\n #rows\n class=\"thy-sortable-item\"\n cdkDrag\n [cdkDragPreviewClass]=\"dragPreviewClass\"\n [cdkDragData]=\"row\"\n (cdkDragStarted)=\"onDragStarted($event)\"\n [cdkDragDisabled]=\"row | tableRowDragDisabled : thyDragDisabledPredicate\"\n [ngClass]=\"renderRowClassName(row, i)\"\n (click)=\"onRowClick($event, row)\"\n (thyContextMenu)=\"onRowContextMenu($event, row)\">\n <ng-template\n [ngTemplateOutlet]=\"tdsTemplate\"\n [ngTemplateOutletContext]=\"{\n row: row,\n index: i,\n level: level + 1\n }\"></ng-template>\n </tr>\n\n <ng-container *ngIf=\"mode === 'tree' && isExpanded(row)\">\n <ng-template\n *ngFor=\"let child of row[thyChildrenKey]; trackBy: trackByFn; let j = index\"\n [ngTemplateOutlet]=\"trTemplate\"\n [ngTemplateOutletContext]=\"{ row: child, index: j, level: level + 1 }\"></ng-template>\n </ng-container>\n </ng-template>\n\n <ng-template #tdsTemplate let-row=\"row\" let-i=\"index\" let-level=\"level\">\n <td\n *ngFor=\"let column of columns; let j = index\"\n [ngClass]=\"column.className\"\n [class.thy-operation-links]=\"!!column.operational\"\n [class.thy-table-column-secondary]=\"!!column.secondary\"\n [class.thy-table-checkbox-column]=\"column.type === customType.checkbox\"\n [class.thy-table-fixed-column-left]=\"column.fixed === fixedDirection.left\"\n [class.thy-table-fixed-column-right]=\"column.fixed === fixedDirection.right\"\n [ngStyle]=\"\n mode === 'tree' && column.expand ? tdIndentComputed(level, column) : { left: column.left + 'px', right: column.right + 'px' }\n \">\n <ng-container *ngIf=\"j === 0 && draggable && !(row | tableRowDragDisabled : thyDragDisabledPredicate)\">\n <thy-icon class=\"table-draggable-icon\" thyIconName=\"drag\"></thy-icon>\n </ng-container>\n\n <!--template-->\n <ng-container *ngIf=\"isTemplateRef(column.cellTemplateRef)\">\n <thy-icon\n class=\"tree-expand-icon cursor-pointer\"\n *ngIf=\"mode === 'tree' && column.expand\"\n [thyIconName]=\"isExpanded(row) ? 'angle-down' : 'angle-right'\"\n [style.visibility]=\"showExpand(row) ? 'visible' : 'hidden'\"\n [style.left.px]=\"iconIndentComputed(level)\"></thy-icon>\n <ng-template [ngTemplateOutlet]=\"column.cellTemplateRef\" [ngTemplateOutletContext]=\"{ $implicit: row }\"></ng-template>\n </ng-container>\n\n <!--not template-->\n <ng-container *ngIf=\"!isTemplateRef(column.cellTemplateRef)\">\n <!-- default -->\n <ng-container *ngIf=\"column.model && !column.type\">\n <thy-icon\n class=\"tree-expand-icon cursor-pointer\"\n *ngIf=\"mode === 'tree' && column.expand\"\n [thyIconName]=\"isExpanded(row) ? 'angle-down' : 'angle-right'\"\n [style.visibility]=\"showExpand(row) ? 'visible' : 'hidden'\"\n [style.marginLeft.px]=\"iconIndentComputed(level)\"></thy-icon>\n <ng-container *ngIf=\"getModelValue(row, column.model) | isValidModelValue; else default\">\n {{ getModelValue(row, column.model) }}\n </ng-container>\n <ng-template #default>\n <div *ngIf=\"column.defaultText\" class=\"text-desc\">\n {{ column.defaultText }}\n </div>\n </ng-template>\n </ng-container>\n\n <!-- index -->\n <ng-container *ngIf=\"column.type === customType.index\">\n {{ i + 1 }}\n </ng-container>\n\n <!-- checkbox -->\n <ng-container *ngIf=\"column.type === customType.checkbox\">\n <input\n type=\"checkbox\"\n [(ngModel)]=\"row[column.key]\"\n (ngModelChange)=\"onCheckboxChange(row, column)\"\n (click)=\"onStopPropagation($event)\"\n [disabled]=\"column.disabled\" />\n </ng-container>\n\n <!-- radio -->\n <ng-container *ngIf=\"column.type === customType.radio\">\n <input\n type=\"radio\"\n [(ngModel)]=\"selectedRadioRow\"\n [value]=\"row\"\n [disabled]=\"column.disabled\"\n (click)=\"onStopPropagation($event)\"\n (change)=\"onRadioSelectChange($event, row)\" />\n </ng-container>\n\n <!-- switch -->\n <ng-container *ngIf=\"column.type === customType.switch\">\n <thy-switch\n [(ngModel)]=\"row[column.key]\"\n (ngModelChange)=\"onModelChange(row, column)\"\n [disabled]=\"column.disabled\"\n (thyChange)=\"onSwitchChange($event, row, column)\"></thy-switch>\n </ng-container>\n </ng-container>\n </td>\n </ng-template>\n </tbody>\n </table>\n\n <div *ngIf=\"loadingDone && model.length === 0 && groups.length === 0\" class=\"thy-table-empty clear-hover\">\n <ng-container *ngIf=\"emptyTemplate; else defaultEmpty\">\n <ng-template [ngTemplateOutlet]=\"emptyTemplate\"></ng-template>\n </ng-container>\n <ng-template #defaultEmpty>\n <thy-empty\n [thyMessage]=\"emptyOptions.message\"\n [thyTranslationKey]=\"emptyOptions.translationKey\"\n [thyTranslationValues]=\"emptyOptions.translationValues\"\n [thyEntityName]=\"emptyOptions.entityName\"\n [thyEntityNameTranslateKey]=\"emptyOptions.entityNameTranslateKey\"\n [thyIconName]=\"emptyOptions.iconName\"\n [thySize]=\"emptyOptions.size\"\n [thyMarginTop]=\"emptyOptions.marginTop\"\n [thyTopAuto]=\"emptyOptions.topAuto\"\n [thyContainer]=\"emptyOptions.container\"></thy-empty>\n </ng-template>\n </div>\n\n <thy-table-skeleton\n *ngIf=\"!loadingDone\"\n [thyRowCount]=\"6\"\n [thyHeadless]=\"true\"\n [thyTheme]=\"theme\"\n [thySize]=\"size\"\n [thyMinWidth]=\"thyMinWidth\"\n [thyColumns]=\"skeletonColumns\">\n </thy-table-skeleton>\n\n <div class=\"thy-table-footer\" *ngIf=\"pagination.total > pagination.size\" [class.thy-table-footer-has-padding]=\"theme === 'default'\">\n <thy-pagination\n [thyPageIndex]=\"pagination.index\"\n [thyTotal]=\"pagination.total\"\n [thyPageSize]=\"pagination.size\"\n [thyPageSizeOptions]=\"pagination.sizeOptions\"\n [thyShowSizeChanger]=\"showSizeChanger\"\n [thyShowTotal]=\"showTotal\"\n (thyPageChanged)=\"onPageChange($event)\"\n (thyPageIndexChange)=\"onPageIndexChange($event)\"\n (thyPageSizeChanged)=\"onPageSizeChange($event)\"></thy-pagination>\n </div>\n</div>\n\n<ng-template>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyDragDropDirective, selector: "[thyDragDrop]" }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: ThyContextMenuDirective, selector: "[thyContextMenu]", outputs: ["thyContextMenu"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ThySwitch, selector: "thy-switch", inputs: ["thyType", "thySize", "thyDisabled", "thyLoading"], outputs: ["thyChange"] }, { kind: "component", type: ThyEmpty, selector: "thy-empty", inputs: ["thyMessage", "thyTranslationKey", "thyTranslationValues", "thyEntityName", "thyEntityNameTranslateKey", "thyIconName", "thySize", "thyMarginTop", "thyTopAuto", "thyContainer", "thyImageUrl", "thyImageLoading", "thyImageFetchPriority", "thyDescription"] }, { kind: "component", type: ThyTableSkeleton, selector: "thy-table-skeleton", inputs: ["thyBorderRadius", "thyRowHeight", "thyAnimated", "thyAnimatedInterval", "thyPrimaryColor", "thySecondaryColor", "thyRowCount", "thyHeadless", "thyTheme", "thySize", "thyMinWidth", "thyColumns"] }, { kind: "component", type: ThyPagination, selector: "thy-pagination", inputs: ["thyPageIndex", "thyPageSize", "thyTotal", "thyCustomPages", "thyDisabled", "thyShowQuickJumper", "thyShowTotalPageCount", "thySize", "thyMaxCount", "thyMarginalCount", "thyRangeCount", "thyShowSizeChanger", "thyPageSizeOptions", "thyHideOnSinglePage", "thyUnit", "thyShowTotal"], outputs: ["thyPageIndexChange", "thyPageChanged", "thyPageSizeChanged"] }, { kind: "pipe", type: TableIsValidModelValuePipe, name: "isValidModelValue" }, { kind: "pipe", type: TableRowDragDisabledPipe, name: "tableRowDragDisabled" }], encapsulation: i0.ViewEncapsulation.None }); }
1216
1216
  }
1217
1217
  __decorate([
1218
1218
  InputCssPixel(),
@@ -1222,7 +1222,7 @@ __decorate([
1222
1222
  InputCssPixel(),
1223
1223
  __metadata("design:type", String)
1224
1224
  ], ThyTable.prototype, "thyHeight", void 0);
1225
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTable, decorators: [{
1225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTable, decorators: [{
1226
1226
  type: Component,
1227
1227
  args: [{ selector: 'thy-table', providers: [
1228
1228
  {
@@ -1382,8 +1382,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
1382
1382
  }] } });
1383
1383
 
1384
1384
  class ThyTableModule {
1385
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1386
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: ThyTableModule, imports: [CommonModule,
1385
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1386
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.4", ngImport: i0, type: ThyTableModule, imports: [CommonModule,
1387
1387
  FormsModule,
1388
1388
  ThyPaginationModule,
1389
1389
  ThySwitchModule,
@@ -1399,7 +1399,7 @@ class ThyTableModule {
1399
1399
  TableIsValidModelValuePipe,
1400
1400
  TableRowDragDisabledPipe,
1401
1401
  ThyTableSkeleton], exports: [ThyTable, ThyTableColumnComponent, ThyTableSkeleton] }); }
1402
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableModule, imports: [CommonModule,
1402
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableModule, imports: [CommonModule,
1403
1403
  FormsModule,
1404
1404
  ThyPaginationModule,
1405
1405
  ThySwitchModule,
@@ -1413,7 +1413,7 @@ class ThyTableModule {
1413
1413
  ThyTable,
1414
1414
  ThyTableSkeleton] }); }
1415
1415
  }
1416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ThyTableModule, decorators: [{
1416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: ThyTableModule, decorators: [{
1417
1417
  type: NgModule,
1418
1418
  args: [{
1419
1419
  imports: [