ngx-tethys 17.0.10 → 17.0.11

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 (349) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/action/action.component.d.ts +3 -3
  3. package/alert/alert.component.d.ts +1 -1
  4. package/anchor/anchor.component.d.ts +3 -1
  5. package/autocomplete/autocomplete.component.d.ts +1 -1
  6. package/autocomplete/autocomplete.trigger.directive.d.ts +1 -1
  7. package/avatar/avatar.component.d.ts +4 -4
  8. package/badge/badge.component.d.ts +3 -3
  9. package/button/button-icon.component.d.ts +2 -2
  10. package/button/button.component.d.ts +2 -2
  11. package/card/card.component.d.ts +3 -3
  12. package/card/content.component.d.ts +1 -1
  13. package/carousel/carousel.component.d.ts +4 -4
  14. package/cascader/cascader-li.component.d.ts +5 -5
  15. package/cascader/cascader-search-option.component.d.ts +3 -3
  16. package/cascader/cascader.component.d.ts +8 -8
  17. package/checkbox/checkbox.component.d.ts +1 -1
  18. package/collapse/collapse-item.component.d.ts +2 -2
  19. package/collapse/collapse.component.d.ts +1 -1
  20. package/color-picker/color-picker-panel.component.d.ts +1 -1
  21. package/color-picker/color-picker.component.d.ts +3 -3
  22. package/copy/copy.directive.d.ts +1 -1
  23. package/core/behaviors/decorators.d.ts +1 -1
  24. package/date-picker/abstract-picker.component.d.ts +7 -7
  25. package/date-picker/abstract-picker.directive.d.ts +3 -3
  26. package/date-picker/base-picker.component.d.ts +2 -2
  27. package/date-picker/lib/calendar/calendar-footer.component.d.ts +1 -1
  28. package/date-picker/lib/popups/inner-popup.component.d.ts +1 -1
  29. package/date-picker/picker.component.d.ts +1 -1
  30. package/date-range/date-range.component.d.ts +8 -2
  31. package/dialog/body/dialog-body.component.d.ts +1 -1
  32. package/dialog/footer/dialog-footer.component.d.ts +1 -1
  33. package/dialog/header/dialog-header.component.d.ts +1 -1
  34. package/divider/divider.component.d.ts +2 -2
  35. package/drag-drop/drag-handle.directive.d.ts +1 -1
  36. package/drag-drop/drag.directive.d.ts +1 -1
  37. package/drag-drop/drop-container.directive.d.ts +1 -1
  38. package/dropdown/dropdown-menu-item.directive.d.ts +2 -2
  39. package/dropdown/dropdown-menu.component.d.ts +1 -1
  40. package/dropdown/dropdown.directive.d.ts +1 -1
  41. package/empty/empty.component.d.ts +1 -1
  42. package/esm2022/action/action.component.mjs +7 -6
  43. package/esm2022/alert/alert.component.mjs +5 -5
  44. package/esm2022/anchor/anchor.component.mjs +5 -5
  45. package/esm2022/autocomplete/autocomplete.component.mjs +5 -4
  46. package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +5 -5
  47. package/esm2022/avatar/avatar.component.mjs +8 -8
  48. package/esm2022/badge/badge.component.mjs +7 -6
  49. package/esm2022/button/button-icon.component.mjs +6 -5
  50. package/esm2022/button/button.component.mjs +6 -6
  51. package/esm2022/card/card.component.mjs +7 -6
  52. package/esm2022/card/content.component.mjs +5 -4
  53. package/esm2022/carousel/carousel.component.mjs +8 -7
  54. package/esm2022/cascader/cascader-li.component.mjs +9 -8
  55. package/esm2022/cascader/cascader-search-option.component.mjs +7 -6
  56. package/esm2022/cascader/cascader.component.mjs +12 -12
  57. package/esm2022/checkbox/checkbox.component.mjs +5 -4
  58. package/esm2022/collapse/collapse-item.component.mjs +6 -6
  59. package/esm2022/collapse/collapse.component.mjs +5 -4
  60. package/esm2022/color-picker/color-picker-panel.component.mjs +5 -4
  61. package/esm2022/color-picker/color-picker.component.mjs +7 -6
  62. package/esm2022/copy/copy.directive.mjs +5 -4
  63. package/esm2022/core/behaviors/decorators.mjs +2 -2
  64. package/esm2022/date-picker/abstract-picker.component.mjs +11 -10
  65. package/esm2022/date-picker/abstract-picker.directive.mjs +6 -6
  66. package/esm2022/date-picker/base-picker.component.mjs +5 -5
  67. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +5 -5
  68. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +5 -5
  69. package/esm2022/date-picker/picker.component.mjs +5 -5
  70. package/esm2022/date-range/date-range.component.mjs +6 -5
  71. package/esm2022/dialog/body/dialog-body.component.mjs +5 -4
  72. package/esm2022/dialog/footer/dialog-footer.component.mjs +5 -4
  73. package/esm2022/dialog/header/dialog-header.component.mjs +5 -4
  74. package/esm2022/divider/divider.component.mjs +6 -5
  75. package/esm2022/drag-drop/drag-handle.directive.mjs +5 -4
  76. package/esm2022/drag-drop/drag.directive.mjs +5 -4
  77. package/esm2022/drag-drop/drop-container.directive.mjs +5 -4
  78. package/esm2022/dropdown/dropdown-menu-item.directive.mjs +7 -6
  79. package/esm2022/dropdown/dropdown-menu.component.mjs +5 -4
  80. package/esm2022/dropdown/dropdown.directive.mjs +5 -5
  81. package/esm2022/empty/empty.component.mjs +5 -4
  82. package/esm2022/form/form-group-error/form-group-error.component.mjs +5 -4
  83. package/esm2022/form/form-group-label.directive.mjs +5 -4
  84. package/esm2022/form/form-group.component.mjs +7 -6
  85. package/esm2022/icon/icon.component.mjs +6 -5
  86. package/esm2022/image/image.directive.mjs +6 -5
  87. package/esm2022/input/input-search.component.mjs +5 -4
  88. package/esm2022/input/input.component.mjs +6 -5
  89. package/esm2022/input-number/input-number.component.mjs +6 -6
  90. package/esm2022/layout/header.component.mjs +7 -6
  91. package/esm2022/layout/sidebar-header.component.mjs +5 -4
  92. package/esm2022/layout/sidebar.component.mjs +12 -11
  93. package/esm2022/list/list.component.mjs +5 -4
  94. package/esm2022/list/selection/selection-list.mjs +7 -7
  95. package/esm2022/loading/loading.component.mjs +6 -5
  96. package/esm2022/menu/group/menu-group.component.mjs +10 -9
  97. package/esm2022/menu/item/action/menu-item-action.component.mjs +5 -4
  98. package/esm2022/menu/item/name/menu-item-name.component.mjs +5 -4
  99. package/esm2022/menu/menu.component.mjs +5 -4
  100. package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +5 -4
  101. package/esm2022/nav/nav-ink-bar.directive.mjs +6 -5
  102. package/esm2022/nav/nav-item.directive.mjs +7 -6
  103. package/esm2022/nav/nav.component.mjs +8 -7
  104. package/esm2022/pagination/pagination.component.mjs +9 -9
  105. package/esm2022/popover/popover.directive.mjs +6 -5
  106. package/esm2022/property/property-item.component.mjs +5 -4
  107. package/esm2022/property-operation/property-operation.component.mjs +9 -9
  108. package/esm2022/radio/group/radio-group.component.mjs +5 -4
  109. package/esm2022/rate/rate-item.component.mjs +5 -4
  110. package/esm2022/rate/rate.component.mjs +7 -7
  111. package/esm2022/resizable/resizable.directive.mjs +7 -6
  112. package/esm2022/resizable/resize-handle.component.mjs +5 -4
  113. package/esm2022/resizable/resize-handles.component.mjs +5 -4
  114. package/esm2022/segment/segment-item.component.mjs +5 -5
  115. package/esm2022/segment/segment.component.mjs +5 -4
  116. package/esm2022/select/custom-select/custom-select.component.mjs +14 -14
  117. package/esm2022/select/native-select/native-select.component.mjs +5 -5
  118. package/esm2022/shared/base-form-check.component.mjs +6 -5
  119. package/esm2022/shared/directives/thy-autofocus.directive.mjs +6 -5
  120. package/esm2022/shared/directives/thy-scroll.directive.mjs +5 -4
  121. package/esm2022/shared/directives/thy-show.mjs +5 -4
  122. package/esm2022/shared/option/group/option-group.component.mjs +5 -4
  123. package/esm2022/shared/option/list-option/list-option.component.mjs +5 -4
  124. package/esm2022/shared/option/option.component.mjs +5 -5
  125. package/esm2022/shared/select/select-control/select-control.component.mjs +10 -10
  126. package/esm2022/skeleton/skeleton-circle.component.mjs +5 -5
  127. package/esm2022/skeleton/skeleton-rectangle.component.mjs +5 -5
  128. package/esm2022/skeleton/skeleton.component.mjs +5 -4
  129. package/esm2022/skeleton/stylized/bullet-list.component.mjs +5 -4
  130. package/esm2022/skeleton/stylized/list.component.mjs +5 -4
  131. package/esm2022/skeleton/stylized/paragraph.component.mjs +5 -4
  132. package/esm2022/slide/slide-body/slide-body-section.component.mjs +5 -4
  133. package/esm2022/slider/slider.component.mjs +6 -6
  134. package/esm2022/space/space.component.mjs +5 -4
  135. package/esm2022/stepper/step-header.component.mjs +6 -5
  136. package/esm2022/stepper/stepper.component.mjs +5 -4
  137. package/esm2022/switch/switch.component.mjs +6 -5
  138. package/esm2022/table/table-column.component.mjs +9 -9
  139. package/esm2022/table/table-skeleton.component.mjs +6 -5
  140. package/esm2022/table/table.component.mjs +14 -14
  141. package/esm2022/tabs/tab.component.mjs +5 -4
  142. package/esm2022/tabs/tabs.component.mjs +6 -6
  143. package/esm2022/tag/tag.component.mjs +5 -5
  144. package/esm2022/time-picker/time-picker-panel.component.mjs +6 -6
  145. package/esm2022/time-picker/time-picker.component.mjs +9 -9
  146. package/esm2022/timeline/timeline.component.mjs +5 -4
  147. package/esm2022/tooltip/tooltip.directive.mjs +6 -6
  148. package/esm2022/tree/tree-node.component.mjs +9 -8
  149. package/esm2022/tree/tree.component.mjs +10 -10
  150. package/esm2022/tree-select/tree-select.component.mjs +11 -11
  151. package/esm2022/upload/file-select.component.mjs +6 -5
  152. package/esm2022/version.mjs +2 -2
  153. package/esm2022/vote/vote.component.mjs +7 -6
  154. package/esm2022/watermark/watermark.directive.mjs +5 -4
  155. package/fesm2022/ngx-tethys-action.mjs +6 -5
  156. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  157. package/fesm2022/ngx-tethys-alert.mjs +4 -4
  158. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  159. package/fesm2022/ngx-tethys-anchor.mjs +4 -4
  160. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  161. package/fesm2022/ngx-tethys-autocomplete.mjs +6 -6
  162. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  163. package/fesm2022/ngx-tethys-avatar.mjs +7 -7
  164. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  165. package/fesm2022/ngx-tethys-badge.mjs +6 -5
  166. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  167. package/fesm2022/ngx-tethys-button.mjs +8 -8
  168. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  169. package/fesm2022/ngx-tethys-card.mjs +8 -7
  170. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  171. package/fesm2022/ngx-tethys-carousel.mjs +7 -6
  172. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  173. package/fesm2022/ngx-tethys-cascader.mjs +21 -21
  174. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  175. package/fesm2022/ngx-tethys-checkbox.mjs +4 -3
  176. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  177. package/fesm2022/ngx-tethys-collapse.mjs +7 -7
  178. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  179. package/fesm2022/ngx-tethys-color-picker.mjs +8 -7
  180. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  181. package/fesm2022/ngx-tethys-copy.mjs +4 -3
  182. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  183. package/fesm2022/ngx-tethys-core.mjs +1 -1
  184. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  185. package/fesm2022/ngx-tethys-date-picker.mjs +26 -26
  186. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  187. package/fesm2022/ngx-tethys-date-range.mjs +5 -4
  188. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  189. package/fesm2022/ngx-tethys-dialog.mjs +8 -7
  190. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  191. package/fesm2022/ngx-tethys-divider.mjs +5 -4
  192. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  193. package/fesm2022/ngx-tethys-drag-drop.mjs +8 -8
  194. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  195. package/fesm2022/ngx-tethys-dropdown.mjs +10 -10
  196. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  197. package/fesm2022/ngx-tethys-empty.mjs +4 -3
  198. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  199. package/fesm2022/ngx-tethys-form.mjs +10 -10
  200. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  201. package/fesm2022/ngx-tethys-icon.mjs +5 -5
  202. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  203. package/fesm2022/ngx-tethys-image.mjs +5 -5
  204. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  205. package/fesm2022/ngx-tethys-input-number.mjs +5 -5
  206. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  207. package/fesm2022/ngx-tethys-input.mjs +7 -6
  208. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  209. package/fesm2022/ngx-tethys-layout.mjs +17 -16
  210. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  211. package/fesm2022/ngx-tethys-list.mjs +8 -8
  212. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  213. package/fesm2022/ngx-tethys-loading.mjs +5 -4
  214. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  215. package/fesm2022/ngx-tethys-menu.mjs +15 -14
  216. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  217. package/fesm2022/ngx-tethys-nav.mjs +16 -16
  218. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  219. package/fesm2022/ngx-tethys-pagination.mjs +8 -8
  220. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  221. package/fesm2022/ngx-tethys-popover.mjs +5 -5
  222. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  223. package/fesm2022/ngx-tethys-property-operation.mjs +8 -8
  224. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  225. package/fesm2022/ngx-tethys-property.mjs +4 -3
  226. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  227. package/fesm2022/ngx-tethys-radio.mjs +7 -6
  228. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  229. package/fesm2022/ngx-tethys-rate.mjs +8 -8
  230. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  231. package/fesm2022/ngx-tethys-resizable.mjs +10 -10
  232. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  233. package/fesm2022/ngx-tethys-segment.mjs +6 -6
  234. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  235. package/fesm2022/ngx-tethys-select.mjs +15 -15
  236. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  237. package/fesm2022/ngx-tethys-shared.mjs +25 -25
  238. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  239. package/fesm2022/ngx-tethys-skeleton.mjs +14 -14
  240. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  241. package/fesm2022/ngx-tethys-slide.mjs +4 -4
  242. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  243. package/fesm2022/ngx-tethys-slider.mjs +5 -5
  244. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  245. package/fesm2022/ngx-tethys-space.mjs +4 -3
  246. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  247. package/fesm2022/ngx-tethys-stepper.mjs +7 -6
  248. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  249. package/fesm2022/ngx-tethys-switch.mjs +5 -4
  250. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  251. package/fesm2022/ngx-tethys-table.mjs +22 -22
  252. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  253. package/fesm2022/ngx-tethys-tabs.mjs +7 -7
  254. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  255. package/fesm2022/ngx-tethys-tag.mjs +4 -4
  256. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  257. package/fesm2022/ngx-tethys-time-picker.mjs +11 -11
  258. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  259. package/fesm2022/ngx-tethys-timeline.mjs +4 -3
  260. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  261. package/fesm2022/ngx-tethys-tooltip.mjs +5 -5
  262. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  263. package/fesm2022/ngx-tethys-tree-select.mjs +10 -10
  264. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  265. package/fesm2022/ngx-tethys-tree.mjs +15 -15
  266. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  267. package/fesm2022/ngx-tethys-upload.mjs +5 -5
  268. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  269. package/fesm2022/ngx-tethys-vote.mjs +6 -5
  270. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  271. package/fesm2022/ngx-tethys-watermark.mjs +4 -3
  272. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  273. package/fesm2022/ngx-tethys.mjs +1 -1
  274. package/fesm2022/ngx-tethys.mjs.map +1 -1
  275. package/form/form-group-error/form-group-error.component.d.ts +1 -1
  276. package/form/form-group-label.directive.d.ts +1 -1
  277. package/form/form-group.component.d.ts +3 -3
  278. package/icon/icon.component.d.ts +2 -2
  279. package/image/image.directive.d.ts +2 -2
  280. package/input/input-search.component.d.ts +1 -1
  281. package/input/input.component.d.ts +2 -2
  282. package/input-number/input-number.component.d.ts +2 -2
  283. package/layout/header.component.d.ts +3 -3
  284. package/layout/sidebar-header.component.d.ts +1 -1
  285. package/layout/sidebar.component.d.ts +7 -7
  286. package/list/list.component.d.ts +1 -1
  287. package/list/selection/selection-list.d.ts +3 -3
  288. package/loading/loading.component.d.ts +2 -2
  289. package/menu/group/menu-group.component.d.ts +6 -6
  290. package/menu/item/action/menu-item-action.component.d.ts +1 -1
  291. package/menu/item/name/menu-item-name.component.d.ts +1 -1
  292. package/menu/menu.component.d.ts +1 -1
  293. package/nav/icon-nav/icon-nav-link.directive.d.ts +1 -1
  294. package/nav/nav-ink-bar.directive.d.ts +2 -2
  295. package/nav/nav-item.directive.d.ts +3 -3
  296. package/nav/nav.component.d.ts +4 -4
  297. package/package.json +1 -1
  298. package/pagination/pagination.component.d.ts +5 -5
  299. package/popover/popover.directive.d.ts +2 -2
  300. package/property/property-item.component.d.ts +4 -1
  301. package/property-operation/property-operation.component.d.ts +5 -5
  302. package/radio/group/radio-group.component.d.ts +1 -1
  303. package/rate/rate-item.component.d.ts +1 -1
  304. package/rate/rate.component.d.ts +3 -3
  305. package/resizable/resizable.directive.d.ts +3 -3
  306. package/resizable/resize-handle.component.d.ts +1 -1
  307. package/resizable/resize-handles.component.d.ts +1 -1
  308. package/schematics/version.d.ts +1 -1
  309. package/schematics/version.js +1 -1
  310. package/segment/segment-item.component.d.ts +1 -1
  311. package/segment/segment.component.d.ts +5 -1
  312. package/select/custom-select/custom-select.component.d.ts +10 -10
  313. package/select/native-select/native-select.component.d.ts +1 -1
  314. package/shared/base-form-check.component.d.ts +2 -2
  315. package/shared/directives/thy-autofocus.directive.d.ts +2 -2
  316. package/shared/directives/thy-scroll.directive.d.ts +1 -1
  317. package/shared/directives/thy-show.d.ts +1 -1
  318. package/shared/option/group/option-group.component.d.ts +1 -1
  319. package/shared/option/list-option/list-option.component.d.ts +1 -1
  320. package/shared/option/option.component.d.ts +1 -1
  321. package/shared/select/select-control/select-control.component.d.ts +6 -6
  322. package/skeleton/skeleton-circle.component.d.ts +1 -1
  323. package/skeleton/skeleton-rectangle.component.d.ts +1 -1
  324. package/skeleton/skeleton.component.d.ts +1 -1
  325. package/skeleton/stylized/bullet-list.component.d.ts +1 -1
  326. package/skeleton/stylized/list.component.d.ts +1 -1
  327. package/skeleton/stylized/paragraph.component.d.ts +1 -1
  328. package/slide/slide-body/slide-body-section.component.d.ts +1 -1
  329. package/slider/slider.component.d.ts +2 -2
  330. package/space/space.component.d.ts +1 -1
  331. package/stepper/step-header.component.d.ts +2 -2
  332. package/stepper/stepper.component.d.ts +1 -1
  333. package/switch/switch.component.d.ts +2 -2
  334. package/table/table-column.component.d.ts +5 -5
  335. package/table/table-skeleton.component.d.ts +2 -2
  336. package/table/table.component.d.ts +10 -10
  337. package/tabs/tab.component.d.ts +1 -1
  338. package/tabs/tabs.component.d.ts +2 -2
  339. package/tag/tag.component.d.ts +1 -1
  340. package/time-picker/time-picker-panel.component.d.ts +2 -2
  341. package/time-picker/time-picker.component.d.ts +5 -5
  342. package/timeline/timeline.component.d.ts +1 -1
  343. package/tooltip/tooltip.directive.d.ts +10 -2
  344. package/tree/tree-node.component.d.ts +20 -5
  345. package/tree/tree.component.d.ts +6 -6
  346. package/tree-select/tree-select.component.d.ts +7 -7
  347. package/upload/file-select.component.d.ts +2 -2
  348. package/vote/vote.component.d.ts +3 -3
  349. package/watermark/watermark.directive.d.ts +1 -1
@@ -1,10 +1,11 @@
1
1
  import { NgClass, NgIf, NgTemplateOutlet, CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Component, HostBinding, EventEmitter, booleanAttribute, ChangeDetectionStrategy, ViewChild, ContentChild, Input, Output, ElementRef, NgModule } from '@angular/core';
3
+ import { Component, HostBinding, EventEmitter, ChangeDetectionStrategy, ViewChild, ContentChild, Input, Output, ElementRef, NgModule } from '@angular/core';
4
4
  import { ThyIcon, ThyIconModule } from 'ngx-tethys/icon';
5
5
  import * as i1 from 'ngx-tethys/popover';
6
6
  import { ThyPopoverModule } from 'ngx-tethys/popover';
7
7
  import { trigger, state, style, transition, animate } from '@angular/animations';
8
+ import { coerceBooleanProperty } from 'ngx-tethys/util';
8
9
  import { useHostRenderer } from '@tethys/cdk/dom';
9
10
 
10
11
  /**
@@ -124,7 +125,7 @@ class ThyMenuGroup {
124
125
  }
125
126
  }
126
127
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenuGroup, deps: [{ token: i1.ThyPopover }], target: i0.ɵɵFactoryTarget.Component }); }
127
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuGroup, isStandalone: true, selector: "thy-menu-group,[thy-menu-group],[thyMenuGroup]", inputs: { thyTitle: "thyTitle", thyExpand: ["thyExpand", "thyExpand", booleanAttribute], thyCollapsed: ["thyCollapsed", "thyCollapsed", booleanAttribute], thyCollapsible: ["thyCollapsible", "thyCollapsible", booleanAttribute], thyShowIcon: ["thyShowIcon", "thyShowIcon", booleanAttribute], thyIcon: "thyIcon", thyActionIcon: "thyActionIcon", thyShowAction: ["thyShowAction", "thyShowAction", booleanAttribute], thyActionStopPropagation: ["thyActionStopPropagation", "thyActionStopPropagation", booleanAttribute], thyActionMenu: "thyActionMenu" }, outputs: { thyOnActionClick: "thyOnActionClick", thyCollapsedChange: "thyCollapsedChange" }, host: { properties: { "class.thy-menu-group": "this.isThyMenuGroup", "class.has-icon": "this.showIcon", "class.collapsed": "this.isCollapsed" } }, queries: [{ propertyName: "headerContentTemplateRef", first: true, predicate: ["headerContent"], descendants: true }], viewQueries: [{ propertyName: "_thyMenuGroup", first: true, predicate: ["thyMenuGroup"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"thy-menu-group-header\" [ngClass]=\"{ 'thy-menu-group-collapsible': thyCollapsible }\" (click)=\"collapseGroup()\">\n <div class=\"thy-menu-group-header-content\">\n <ng-template *ngIf=\"headerContentTemplateRef; else defaultTitle\" [ngTemplateOutlet]=\"headerContentTemplateRef\"></ng-template>\n <ng-template #defaultTitle>\n <span class=\"thy-menu-group-title\">\n <thy-icon *ngIf=\"showIcon\" class=\"thy-menu-group-title-icon mr-2\" [thyIconName]=\"iconClass\"></thy-icon>\n <span class=\"thy-menu-group-title-text\">{{ thyTitle }}</span>\n </span>\n </ng-template>\n </div>\n <thy-icon\n *ngIf=\"thyShowAction\"\n class=\"thy-menu-group-operation\"\n [thyIconName]=\"rightIconClass\"\n (click)=\"onActionClick($event)\"\n ></thy-icon>\n <thy-icon thyIconName=\"angle-up\" *ngIf=\"thyCollapsible\" class=\"thy-menu-group-arrow\"></thy-icon>\n</div>\n<div class=\"thy-menu-group-body\" #thyMenuGroup [@detailsContentAnimation]=\"isCollapsed\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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"] }], animations: [
128
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuGroup, isStandalone: true, selector: "thy-menu-group,[thy-menu-group],[thyMenuGroup]", inputs: { thyTitle: "thyTitle", thyExpand: ["thyExpand", "thyExpand", coerceBooleanProperty], thyCollapsed: ["thyCollapsed", "thyCollapsed", coerceBooleanProperty], thyCollapsible: ["thyCollapsible", "thyCollapsible", coerceBooleanProperty], thyShowIcon: ["thyShowIcon", "thyShowIcon", coerceBooleanProperty], thyIcon: "thyIcon", thyActionIcon: "thyActionIcon", thyShowAction: ["thyShowAction", "thyShowAction", coerceBooleanProperty], thyActionStopPropagation: ["thyActionStopPropagation", "thyActionStopPropagation", coerceBooleanProperty], thyActionMenu: "thyActionMenu" }, outputs: { thyOnActionClick: "thyOnActionClick", thyCollapsedChange: "thyCollapsedChange" }, host: { properties: { "class.thy-menu-group": "this.isThyMenuGroup", "class.has-icon": "this.showIcon", "class.collapsed": "this.isCollapsed" } }, queries: [{ propertyName: "headerContentTemplateRef", first: true, predicate: ["headerContent"], descendants: true }], viewQueries: [{ propertyName: "_thyMenuGroup", first: true, predicate: ["thyMenuGroup"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"thy-menu-group-header\" [ngClass]=\"{ 'thy-menu-group-collapsible': thyCollapsible }\" (click)=\"collapseGroup()\">\n <div class=\"thy-menu-group-header-content\">\n <ng-template *ngIf=\"headerContentTemplateRef; else defaultTitle\" [ngTemplateOutlet]=\"headerContentTemplateRef\"></ng-template>\n <ng-template #defaultTitle>\n <span class=\"thy-menu-group-title\">\n <thy-icon *ngIf=\"showIcon\" class=\"thy-menu-group-title-icon mr-2\" [thyIconName]=\"iconClass\"></thy-icon>\n <span class=\"thy-menu-group-title-text\">{{ thyTitle }}</span>\n </span>\n </ng-template>\n </div>\n <thy-icon\n *ngIf=\"thyShowAction\"\n class=\"thy-menu-group-operation\"\n [thyIconName]=\"rightIconClass\"\n (click)=\"onActionClick($event)\"\n ></thy-icon>\n <thy-icon thyIconName=\"angle-up\" *ngIf=\"thyCollapsible\" class=\"thy-menu-group-arrow\"></thy-icon>\n</div>\n<div class=\"thy-menu-group-body\" #thyMenuGroup [@detailsContentAnimation]=\"isCollapsed\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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"] }], animations: [
128
129
  trigger('detailsContentAnimation', [
129
130
  state('void', style({
130
131
  height: '*'
@@ -176,16 +177,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
176
177
  type: Input
177
178
  }], thyExpand: [{
178
179
  type: Input,
179
- args: [{ transform: booleanAttribute }]
180
+ args: [{ transform: coerceBooleanProperty }]
180
181
  }], thyCollapsed: [{
181
182
  type: Input,
182
- args: [{ transform: booleanAttribute }]
183
+ args: [{ transform: coerceBooleanProperty }]
183
184
  }], thyCollapsible: [{
184
185
  type: Input,
185
- args: [{ transform: booleanAttribute }]
186
+ args: [{ transform: coerceBooleanProperty }]
186
187
  }], thyShowIcon: [{
187
188
  type: Input,
188
- args: [{ transform: booleanAttribute }]
189
+ args: [{ transform: coerceBooleanProperty }]
189
190
  }], thyIcon: [{
190
191
  type: Input,
191
192
  args: ['thyIcon']
@@ -194,10 +195,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
194
195
  args: ['thyActionIcon']
195
196
  }], thyShowAction: [{
196
197
  type: Input,
197
- args: [{ transform: booleanAttribute }]
198
+ args: [{ transform: coerceBooleanProperty }]
198
199
  }], thyActionStopPropagation: [{
199
200
  type: Input,
200
- args: [{ transform: booleanAttribute }]
201
+ args: [{ transform: coerceBooleanProperty }]
201
202
  }], thyOnActionClick: [{
202
203
  type: Output
203
204
  }], thyCollapsedChange: [{
@@ -254,7 +255,7 @@ class ThyMenuItemAction {
254
255
  this.removeClickListenerFn?.();
255
256
  }
256
257
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenuItemAction, deps: [{ token: i1.ThyPopover }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
257
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuItemAction, isStandalone: true, selector: "thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]", inputs: { thyActionMenu: "thyActionMenu", thyStopPropagation: ["thyStopPropagation", "thyStopPropagation", booleanAttribute] }, host: { classAttribute: "thy-menu-item-action" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
258
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuItemAction, isStandalone: true, selector: "thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]", inputs: { thyActionMenu: "thyActionMenu", thyStopPropagation: ["thyStopPropagation", "thyStopPropagation", coerceBooleanProperty] }, host: { classAttribute: "thy-menu-item-action" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
258
259
  }
259
260
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenuItemAction, decorators: [{
260
261
  type: Component,
@@ -265,7 +266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
265
266
  type: Input
266
267
  }], thyStopPropagation: [{
267
268
  type: Input,
268
- args: [{ transform: booleanAttribute }]
269
+ args: [{ transform: coerceBooleanProperty }]
269
270
  }] } });
270
271
 
271
272
  /**
@@ -351,7 +352,7 @@ class ThyMenuItemName {
351
352
  }
352
353
  ngOnInit() { }
353
354
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenuItemName, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
354
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuItemName, isStandalone: true, selector: "thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]", inputs: { thyOverflowEllipsis: ["thyOverflowEllipsis", "thyOverflowEllipsis", booleanAttribute] }, host: { properties: { "class.thy-menu-item-name-ellipsis": "this.thyOverflowEllipsis" }, classAttribute: "thy-menu-item-name" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
355
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenuItemName, isStandalone: true, selector: "thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]", inputs: { thyOverflowEllipsis: ["thyOverflowEllipsis", "thyOverflowEllipsis", coerceBooleanProperty] }, host: { properties: { "class.thy-menu-item-name-ellipsis": "this.thyOverflowEllipsis" }, classAttribute: "thy-menu-item-name" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
355
356
  }
356
357
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenuItemName, decorators: [{
357
358
  type: Component,
@@ -363,7 +364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
363
364
  args: ['class.thy-menu-item-name-ellipsis']
364
365
  }, {
365
366
  type: Input,
366
- args: [{ transform: booleanAttribute }]
367
+ args: [{ transform: coerceBooleanProperty }]
367
368
  }] } });
368
369
 
369
370
  /**
@@ -385,7 +386,7 @@ class ThyMenu {
385
386
  }
386
387
  ngOnInit() { }
387
388
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenu, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
388
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenu, isStandalone: true, selector: "thy-menu,[thy-menu],[thyMenu]", inputs: { thyTheme: "thyTheme", thyCollapsed: ["thyCollapsed", "thyCollapsed", booleanAttribute] }, host: { properties: { "class.thy-menu-collapsed": "thyCollapsed", "class.thy-menu-theme-loose": "theme === \"loose\"", "class.thy-menu-theme-dark": "theme === \"dark\"" }, classAttribute: "thy-menu" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
389
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyMenu, isStandalone: true, selector: "thy-menu,[thy-menu],[thyMenu]", inputs: { thyTheme: "thyTheme", thyCollapsed: ["thyCollapsed", "thyCollapsed", coerceBooleanProperty] }, host: { properties: { "class.thy-menu-collapsed": "thyCollapsed", "class.thy-menu-theme-loose": "theme === \"loose\"", "class.thy-menu-theme-dark": "theme === \"dark\"" }, classAttribute: "thy-menu" }, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
389
390
  }
390
391
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyMenu, decorators: [{
391
392
  type: Component,
@@ -399,7 +400,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
399
400
  type: Input
400
401
  }], thyCollapsed: [{
401
402
  type: Input,
402
- args: [{ transform: booleanAttribute }]
403
+ args: [{ transform: coerceBooleanProperty }]
403
404
  }] } });
404
405
 
405
406
  class ThyMenuModule {
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-menu.mjs","sources":["../../../src/menu/divider/menu-divider.component.ts","../../../src/menu/divider/menu-divider.component.html","../../../src/menu/group/menu-group.component.ts","../../../src/menu/group/menu-group.component.html","../../../src/menu/item/action/menu-item-action.component.ts","../../../src/menu/item/action/menu-item-action.component.html","../../../src/menu/item/icon/menu-item-icon.component.ts","../../../src/menu/item/icon/menu-item-icon.component.html","../../../src/menu/item/menu-item.component.ts","../../../src/menu/item/menu-item.component.html","../../../src/menu/item/name/menu-item-name.component.ts","../../../src/menu/item/name/menu-item-name.component.html","../../../src/menu/menu.component.ts","../../../src/menu/menu.component.html","../../../src/menu/menu.module.ts","../../../src/menu/ngx-tethys-menu.ts"],"sourcesContent":["import { Component, OnInit, HostBinding } from '@angular/core';\n\n/**\n * @name thy-menu-divider,[thy-menu-divider],[thyMenuDivider]\n */\n@Component({\n selector: 'thy-menu-divider,[thy-menu-divider],[thyMenuDivider]',\n templateUrl: './menu-divider.component.html',\n standalone: true\n})\nexport class ThyMenuDivider implements OnInit {\n @HostBinding('class.thy-menu-divider') isThyMenuDivider = true;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { ComponentType } from '@angular/cdk/portal';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n TemplateRef,\n ViewChild,\n booleanAttribute\n} from '@angular/core';\nimport { ThyPopover } from 'ngx-tethys/popover';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';\n\n/**\n * 菜单分组组件\n * @name thy-menu-group,[thy-menu-group],[thyMenuGroup]\n * @order 30\n */\n@Component({\n selector: 'thy-menu-group,[thy-menu-group],[thyMenuGroup]',\n templateUrl: './menu-group.component.html',\n animations: [\n trigger('detailsContentAnimation', [\n state(\n 'void',\n style({\n height: '*'\n })\n ),\n state(\n '1',\n style({\n height: 0,\n overflow: 'hidden'\n })\n ),\n state(\n '0',\n style({\n height: '*'\n })\n ),\n transition('* => *', animate('0ms ease-out'))\n ])\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgClass, NgIf, NgTemplateOutlet, ThyIcon]\n})\nexport class ThyMenuGroup implements OnInit {\n public _actionMenu: ComponentType<any> | TemplateRef<any>;\n\n public rightIconClass = 'more';\n\n public iconClass = 'folder-bold';\n\n public groupHeaderPaddingLeft = 0;\n\n @ViewChild('thyMenuGroup', { static: true }) _thyMenuGroup: ElementRef;\n\n @ContentChild('headerContent')\n headerContentTemplateRef: TemplateRef<any>;\n\n @HostBinding('class.thy-menu-group') isThyMenuGroup = true;\n\n @HostBinding('class.has-icon') showIcon = false;\n\n @HostBinding('class.collapsed') isCollapsed = false;\n\n /**\n * 分组标题\n */\n @Input() thyTitle = '';\n\n /**\n * 已废弃,请使用 thyCollapsed\n * @deprecated\n */\n @Input({ transform: booleanAttribute })\n set thyExpand(value: boolean) {\n this.isCollapsed = !!!value;\n }\n\n /**\n * 是否处于收起状态\n * @default false\n */\n @Input({ transform: booleanAttribute })\n set thyCollapsed(value: boolean) {\n this.isCollapsed = value;\n }\n\n /**\n * 是否支持展开收起\n */\n @Input({ transform: booleanAttribute }) thyCollapsible: boolean = false;\n\n /**\n * 是否显示 Icon\n */\n @Input({ transform: booleanAttribute })\n set thyShowIcon(value: boolean) {\n this.showIcon = value;\n }\n\n /**\n * 图标\n */\n @Input('thyIcon')\n set thyIcon(value: string) {\n this.iconClass = value;\n }\n\n /**\n * 操作图标\n */\n @Input('thyActionIcon')\n set thyActionIcon(value: string) {\n this.rightIconClass = value;\n }\n\n /**\n *是否显示操作\n */\n @Input({ transform: booleanAttribute }) thyShowAction = false;\n\n /**\n * 操作阻止冒泡事件\n */\n @Input({ transform: booleanAttribute }) thyActionStopPropagation = true;\n\n /**\n * Action 点击事件\n */\n @Output() thyOnActionClick: EventEmitter<Event> = new EventEmitter<Event>();\n\n @Output() thyCollapsedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * 设置 Action 菜单\n */\n @Input()\n set thyActionMenu(value: ComponentType<any> | TemplateRef<any>) {\n this._actionMenu = value;\n }\n\n constructor(private popover: ThyPopover) {}\n\n ngOnInit(): void {}\n\n collapseGroup(): void {\n if (!this.thyCollapsible) {\n return;\n }\n this.isCollapsed = !this.isCollapsed;\n this.thyCollapsedChange.emit(this.isCollapsed);\n }\n\n onActionClick(event: Event): void {\n if (this.thyActionStopPropagation) {\n event.stopPropagation();\n }\n if (this._actionMenu) {\n this.popover.open(this._actionMenu, {\n origin: event.currentTarget as HTMLElement,\n insideClosable: true,\n placement: 'bottom'\n });\n } else {\n this.thyOnActionClick.emit(event);\n }\n }\n}\n","<div class=\"thy-menu-group-header\" [ngClass]=\"{ 'thy-menu-group-collapsible': thyCollapsible }\" (click)=\"collapseGroup()\">\n <div class=\"thy-menu-group-header-content\">\n <ng-template *ngIf=\"headerContentTemplateRef; else defaultTitle\" [ngTemplateOutlet]=\"headerContentTemplateRef\"></ng-template>\n <ng-template #defaultTitle>\n <span class=\"thy-menu-group-title\">\n <thy-icon *ngIf=\"showIcon\" class=\"thy-menu-group-title-icon mr-2\" [thyIconName]=\"iconClass\"></thy-icon>\n <span class=\"thy-menu-group-title-text\">{{ thyTitle }}</span>\n </span>\n </ng-template>\n </div>\n <thy-icon\n *ngIf=\"thyShowAction\"\n class=\"thy-menu-group-operation\"\n [thyIconName]=\"rightIconClass\"\n (click)=\"onActionClick($event)\"\n ></thy-icon>\n <thy-icon thyIconName=\"angle-up\" *ngIf=\"thyCollapsible\" class=\"thy-menu-group-arrow\"></thy-icon>\n</div>\n<div class=\"thy-menu-group-body\" #thyMenuGroup [@detailsContentAnimation]=\"isCollapsed\">\n <ng-content></ng-content>\n</div>\n","import { ComponentType } from '@angular/cdk/portal';\nimport { Component, ElementRef, Input, OnDestroy, Renderer2, TemplateRef, booleanAttribute } from '@angular/core';\nimport { ThyPopover } from 'ngx-tethys/popover';\n\n/**\n * 菜单项操作组件\n * @name thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]\n * @order 25\n */\n@Component({\n selector: 'thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]',\n templateUrl: './menu-item-action.component.html',\n host: {\n class: 'thy-menu-item-action'\n },\n standalone: true\n})\nexport class ThyMenuItemAction implements OnDestroy {\n _boundEvent = false;\n\n _actionMenu: ComponentType<any> | TemplateRef<any>;\n\n /**\n * 设置 Action 菜单\n */\n @Input()\n set thyActionMenu(value: ComponentType<any> | TemplateRef<any>) {\n this._actionMenu = value;\n if (this._actionMenu) {\n this.bindClickEvent();\n }\n }\n\n /**\n * 是否阻止事件冒泡\n */\n @Input({ transform: booleanAttribute }) thyStopPropagation = true;\n\n private bindClickEvent() {\n if (this._boundEvent) {\n return;\n }\n this._boundEvent = true;\n this.removeClickListenerFn = this.renderer.listen(this.elementRef.nativeElement, 'click', event => {\n if (this.thyStopPropagation) {\n event.stopPropagation();\n }\n if (this._actionMenu) {\n this.popover.open(this._actionMenu, {\n origin: event.currentTarget as HTMLElement,\n insideClosable: true,\n placement: 'bottom'\n });\n }\n });\n }\n\n private removeClickListenerFn: VoidFunction | null = null;\n\n constructor(private popover: ThyPopover, private renderer: Renderer2, private elementRef: ElementRef) {}\n\n ngOnDestroy(): void {\n this.removeClickListenerFn?.();\n }\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { useHostRenderer } from '@tethys/cdk/dom';\n\n/**\n * 菜单项图标组件\n * @name thy-menu-item-icon,[thy-menu-item-icon],[thyMenuItemIcon]\n * @order 15\n */\n@Component({\n selector: 'thy-menu-item-icon,[thy-menu-item-icon],[thyMenuItemIcon]',\n templateUrl: './menu-item-icon.component.html',\n host: {\n class: 'thy-menu-item-icon'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n})\nexport class ThyMenuItemIcon implements OnInit {\n /**\n * 设置图标颜色\n */\n @Input()\n set thyColor(value: string) {\n if (value) {\n this.hostRenderer.setStyle('color', value);\n }\n }\n\n private hostRenderer = useHostRenderer();\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, AfterViewInit, ChangeDetectionStrategy, Input, Renderer2, ElementRef, ViewChild } from '@angular/core';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgIf } from '@angular/common';\n\n/**\n * 菜单项组件\n * @name thy-menu-item,[thy-menu-item],[thyMenuItem]\n * @order 10\n */\n@Component({\n selector: 'thy-menu-item,[thy-menu-item],[thyMenuItem]',\n templateUrl: './menu-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'thy-menu-item'\n },\n standalone: true,\n imports: [NgIf, ThyIcon]\n})\nexport class ThyMenuItem implements OnInit, AfterViewInit {\n @ViewChild('content', { read: ElementRef }) content: ElementRef<HTMLElement>;\n /**\n * 菜单项的图标\n */\n @Input() thyIcon: string;\n\n constructor(private renderer: Renderer2) {}\n\n ngOnInit(): void {}\n\n ngAfterViewInit() {\n this.wrapSpanForText(this.content.nativeElement.childNodes);\n }\n\n private wrapSpanForText(nodes: NodeList): void {\n nodes.forEach(node => {\n if (node.nodeName === '#text') {\n const span = this.renderer.createElement('span');\n const parent = this.renderer.parentNode(node);\n this.renderer.addClass(span, 'thy-menu-item-name');\n this.renderer.insertBefore(parent, span, node);\n this.renderer.appendChild(span, node);\n }\n });\n }\n}\n","<div class=\"thy-menu-item-content\" #content>\n <thy-icon *ngIf=\"thyIcon\" class=\"thy-menu-item-icon\" [thyIconName]=\"thyIcon\"></thy-icon>\n <ng-content></ng-content>\n</div>\n","import { Component, OnInit, HostBinding, Input, booleanAttribute } from '@angular/core';\n\n/**\n * 菜单项名称\n * @name thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]\n * @order 20\n */\n@Component({\n selector: 'thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]',\n templateUrl: './menu-item-name.component.html',\n host: {\n class: 'thy-menu-item-name'\n },\n standalone: true\n})\nexport class ThyMenuItemName implements OnInit {\n /**\n * 是否 ellipsis\n */\n @HostBinding('class.thy-menu-item-name-ellipsis')\n @Input({ transform: booleanAttribute })\n thyOverflowEllipsis = true;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, Input, booleanAttribute } from '@angular/core';\n\nexport type ThyMenuTheme = 'compact' | 'loose' | 'dark';\n\n/**\n * 菜单组件\n * @name thy-menu,[thy-menu],[thyMenu]\n * @order 5\n */\n@Component({\n selector: 'thy-menu,[thy-menu],[thyMenu]',\n templateUrl: './menu.component.html',\n host: {\n class: 'thy-menu',\n '[class.thy-menu-collapsed]': 'thyCollapsed',\n '[class.thy-menu-theme-loose]': 'theme === \"loose\"',\n '[class.thy-menu-theme-dark]': 'theme === \"dark\"'\n },\n standalone: true\n})\nexport class ThyMenu implements OnInit {\n theme: ThyMenuTheme = 'compact';\n\n /**\n * 主题\n * @type compact | loose\n * @default compact\n */\n @Input() set thyTheme(value: ThyMenuTheme) {\n this.theme = value;\n }\n\n /**\n * 是否收起\n * @default false\n */\n @Input({ transform: booleanAttribute }) thyCollapsed: boolean;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyPopoverModule } from 'ngx-tethys/popover';\nimport { ThyMenuDivider } from './divider/menu-divider.component';\nimport { ThyMenuGroup } from './group/menu-group.component';\nimport { ThyMenuItemAction } from './item/action/menu-item-action.component';\nimport { ThyMenuItemIcon } from './item/icon/menu-item-icon.component';\nimport { ThyMenuItem } from './item/menu-item.component';\nimport { ThyMenuItemName } from './item/name/menu-item-name.component';\nimport { ThyMenu } from './menu.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ThyIconModule,\n ThyPopoverModule,\n ThyMenu,\n ThyMenuGroup,\n ThyMenuItem,\n ThyMenuItemName,\n ThyMenuItemIcon,\n ThyMenuItemAction,\n ThyMenuDivider\n ],\n exports: [ThyMenu, ThyMenuGroup, ThyMenuItem, ThyMenuItemName, ThyMenuItemIcon, ThyMenuItemAction, ThyMenuDivider]\n})\nexport class ThyMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;;AAEG;MAMU,cAAc,CAAA;AAGvB,IAAA,WAAA,GAAA;QAFuC,IAAgB,CAAA,gBAAA,GAAG,IAAI,CAAC;KAE/C;AAEhB,IAAA,QAAQ,MAAW;8GALV,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,6LCV3B,6BACA,EAAA,CAAA,CAAA,EAAA;;2FDSa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sDAAsD,cAEpD,IAAI,EAAA,QAAA,EAAA,6BAAA,EAAA,CAAA;wDAGuB,gBAAgB,EAAA,CAAA;sBAAtD,WAAW;uBAAC,wBAAwB,CAAA;;;AESzC;;;;AAIG;MAgCU,YAAY,CAAA;AAyBrB;;;AAGG;IACH,IACI,SAAS,CAAC,KAAc,EAAA;AACxB,QAAA,IAAI,CAAC,WAAW,GA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,EAAE,cAAc,CAAC;AACrH,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-menu.mjs","sources":["../../../src/menu/divider/menu-divider.component.ts","../../../src/menu/divider/menu-divider.component.html","../../../src/menu/group/menu-group.component.ts","../../../src/menu/group/menu-group.component.html","../../../src/menu/item/action/menu-item-action.component.ts","../../../src/menu/item/action/menu-item-action.component.html","../../../src/menu/item/icon/menu-item-icon.component.ts","../../../src/menu/item/icon/menu-item-icon.component.html","../../../src/menu/item/menu-item.component.ts","../../../src/menu/item/menu-item.component.html","../../../src/menu/item/name/menu-item-name.component.ts","../../../src/menu/item/name/menu-item-name.component.html","../../../src/menu/menu.component.ts","../../../src/menu/menu.component.html","../../../src/menu/menu.module.ts","../../../src/menu/ngx-tethys-menu.ts"],"sourcesContent":["import { Component, OnInit, HostBinding } from '@angular/core';\n\n/**\n * @name thy-menu-divider,[thy-menu-divider],[thyMenuDivider]\n */\n@Component({\n selector: 'thy-menu-divider,[thy-menu-divider],[thyMenuDivider]',\n templateUrl: './menu-divider.component.html',\n standalone: true\n})\nexport class ThyMenuDivider implements OnInit {\n @HostBinding('class.thy-menu-divider') isThyMenuDivider = true;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { animate, state, style, transition, trigger } from '@angular/animations';\nimport { ComponentType } from '@angular/cdk/portal';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n HostBinding,\n Input,\n OnInit,\n Output,\n TemplateRef,\n ViewChild\n} from '@angular/core';\nimport { ThyPopover } from 'ngx-tethys/popover';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 菜单分组组件\n * @name thy-menu-group,[thy-menu-group],[thyMenuGroup]\n * @order 30\n */\n@Component({\n selector: 'thy-menu-group,[thy-menu-group],[thyMenuGroup]',\n templateUrl: './menu-group.component.html',\n animations: [\n trigger('detailsContentAnimation', [\n state(\n 'void',\n style({\n height: '*'\n })\n ),\n state(\n '1',\n style({\n height: 0,\n overflow: 'hidden'\n })\n ),\n state(\n '0',\n style({\n height: '*'\n })\n ),\n transition('* => *', animate('0ms ease-out'))\n ])\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgClass, NgIf, NgTemplateOutlet, ThyIcon]\n})\nexport class ThyMenuGroup implements OnInit {\n public _actionMenu: ComponentType<any> | TemplateRef<any>;\n\n public rightIconClass = 'more';\n\n public iconClass = 'folder-bold';\n\n public groupHeaderPaddingLeft = 0;\n\n @ViewChild('thyMenuGroup', { static: true }) _thyMenuGroup: ElementRef;\n\n @ContentChild('headerContent')\n headerContentTemplateRef: TemplateRef<any>;\n\n @HostBinding('class.thy-menu-group') isThyMenuGroup = true;\n\n @HostBinding('class.has-icon') showIcon = false;\n\n @HostBinding('class.collapsed') isCollapsed = false;\n\n /**\n * 分组标题\n */\n @Input() thyTitle = '';\n\n /**\n * 已废弃,请使用 thyCollapsed\n * @deprecated\n */\n @Input({ transform: coerceBooleanProperty })\n set thyExpand(value: boolean) {\n this.isCollapsed = !!!value;\n }\n\n /**\n * 是否处于收起状态\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n set thyCollapsed(value: boolean) {\n this.isCollapsed = value;\n }\n\n /**\n * 是否支持展开收起\n */\n @Input({ transform: coerceBooleanProperty }) thyCollapsible: boolean = false;\n\n /**\n * 是否显示 Icon\n */\n @Input({ transform: coerceBooleanProperty })\n set thyShowIcon(value: boolean) {\n this.showIcon = value;\n }\n\n /**\n * 图标\n */\n @Input('thyIcon')\n set thyIcon(value: string) {\n this.iconClass = value;\n }\n\n /**\n * 操作图标\n */\n @Input('thyActionIcon')\n set thyActionIcon(value: string) {\n this.rightIconClass = value;\n }\n\n /**\n *是否显示操作\n */\n @Input({ transform: coerceBooleanProperty }) thyShowAction = false;\n\n /**\n * 操作阻止冒泡事件\n */\n @Input({ transform: coerceBooleanProperty }) thyActionStopPropagation = true;\n\n /**\n * Action 点击事件\n */\n @Output() thyOnActionClick: EventEmitter<Event> = new EventEmitter<Event>();\n\n @Output() thyCollapsedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n /**\n * 设置 Action 菜单\n */\n @Input()\n set thyActionMenu(value: ComponentType<any> | TemplateRef<any>) {\n this._actionMenu = value;\n }\n\n constructor(private popover: ThyPopover) {}\n\n ngOnInit(): void {}\n\n collapseGroup(): void {\n if (!this.thyCollapsible) {\n return;\n }\n this.isCollapsed = !this.isCollapsed;\n this.thyCollapsedChange.emit(this.isCollapsed);\n }\n\n onActionClick(event: Event): void {\n if (this.thyActionStopPropagation) {\n event.stopPropagation();\n }\n if (this._actionMenu) {\n this.popover.open(this._actionMenu, {\n origin: event.currentTarget as HTMLElement,\n insideClosable: true,\n placement: 'bottom'\n });\n } else {\n this.thyOnActionClick.emit(event);\n }\n }\n}\n","<div class=\"thy-menu-group-header\" [ngClass]=\"{ 'thy-menu-group-collapsible': thyCollapsible }\" (click)=\"collapseGroup()\">\n <div class=\"thy-menu-group-header-content\">\n <ng-template *ngIf=\"headerContentTemplateRef; else defaultTitle\" [ngTemplateOutlet]=\"headerContentTemplateRef\"></ng-template>\n <ng-template #defaultTitle>\n <span class=\"thy-menu-group-title\">\n <thy-icon *ngIf=\"showIcon\" class=\"thy-menu-group-title-icon mr-2\" [thyIconName]=\"iconClass\"></thy-icon>\n <span class=\"thy-menu-group-title-text\">{{ thyTitle }}</span>\n </span>\n </ng-template>\n </div>\n <thy-icon\n *ngIf=\"thyShowAction\"\n class=\"thy-menu-group-operation\"\n [thyIconName]=\"rightIconClass\"\n (click)=\"onActionClick($event)\"\n ></thy-icon>\n <thy-icon thyIconName=\"angle-up\" *ngIf=\"thyCollapsible\" class=\"thy-menu-group-arrow\"></thy-icon>\n</div>\n<div class=\"thy-menu-group-body\" #thyMenuGroup [@detailsContentAnimation]=\"isCollapsed\">\n <ng-content></ng-content>\n</div>\n","import { ComponentType } from '@angular/cdk/portal';\nimport { Component, ElementRef, Input, OnDestroy, Renderer2, TemplateRef } from '@angular/core';\nimport { ThyPopover } from 'ngx-tethys/popover';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 菜单项操作组件\n * @name thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]\n * @order 25\n */\n@Component({\n selector: 'thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]',\n templateUrl: './menu-item-action.component.html',\n host: {\n class: 'thy-menu-item-action'\n },\n standalone: true\n})\nexport class ThyMenuItemAction implements OnDestroy {\n _boundEvent = false;\n\n _actionMenu: ComponentType<any> | TemplateRef<any>;\n\n /**\n * 设置 Action 菜单\n */\n @Input()\n set thyActionMenu(value: ComponentType<any> | TemplateRef<any>) {\n this._actionMenu = value;\n if (this._actionMenu) {\n this.bindClickEvent();\n }\n }\n\n /**\n * 是否阻止事件冒泡\n */\n @Input({ transform: coerceBooleanProperty }) thyStopPropagation = true;\n\n private bindClickEvent() {\n if (this._boundEvent) {\n return;\n }\n this._boundEvent = true;\n this.removeClickListenerFn = this.renderer.listen(this.elementRef.nativeElement, 'click', event => {\n if (this.thyStopPropagation) {\n event.stopPropagation();\n }\n if (this._actionMenu) {\n this.popover.open(this._actionMenu, {\n origin: event.currentTarget as HTMLElement,\n insideClosable: true,\n placement: 'bottom'\n });\n }\n });\n }\n\n private removeClickListenerFn: VoidFunction | null = null;\n\n constructor(private popover: ThyPopover, private renderer: Renderer2, private elementRef: ElementRef) {}\n\n ngOnDestroy(): void {\n this.removeClickListenerFn?.();\n }\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { useHostRenderer } from '@tethys/cdk/dom';\n\n/**\n * 菜单项图标组件\n * @name thy-menu-item-icon,[thy-menu-item-icon],[thyMenuItemIcon]\n * @order 15\n */\n@Component({\n selector: 'thy-menu-item-icon,[thy-menu-item-icon],[thyMenuItemIcon]',\n templateUrl: './menu-item-icon.component.html',\n host: {\n class: 'thy-menu-item-icon'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true\n})\nexport class ThyMenuItemIcon implements OnInit {\n /**\n * 设置图标颜色\n */\n @Input()\n set thyColor(value: string) {\n if (value) {\n this.hostRenderer.setStyle('color', value);\n }\n }\n\n private hostRenderer = useHostRenderer();\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, AfterViewInit, ChangeDetectionStrategy, Input, Renderer2, ElementRef, ViewChild } from '@angular/core';\nimport { ThyIcon } from 'ngx-tethys/icon';\nimport { NgIf } from '@angular/common';\n\n/**\n * 菜单项组件\n * @name thy-menu-item,[thy-menu-item],[thyMenuItem]\n * @order 10\n */\n@Component({\n selector: 'thy-menu-item,[thy-menu-item],[thyMenuItem]',\n templateUrl: './menu-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'thy-menu-item'\n },\n standalone: true,\n imports: [NgIf, ThyIcon]\n})\nexport class ThyMenuItem implements OnInit, AfterViewInit {\n @ViewChild('content', { read: ElementRef }) content: ElementRef<HTMLElement>;\n /**\n * 菜单项的图标\n */\n @Input() thyIcon: string;\n\n constructor(private renderer: Renderer2) {}\n\n ngOnInit(): void {}\n\n ngAfterViewInit() {\n this.wrapSpanForText(this.content.nativeElement.childNodes);\n }\n\n private wrapSpanForText(nodes: NodeList): void {\n nodes.forEach(node => {\n if (node.nodeName === '#text') {\n const span = this.renderer.createElement('span');\n const parent = this.renderer.parentNode(node);\n this.renderer.addClass(span, 'thy-menu-item-name');\n this.renderer.insertBefore(parent, span, node);\n this.renderer.appendChild(span, node);\n }\n });\n }\n}\n","<div class=\"thy-menu-item-content\" #content>\n <thy-icon *ngIf=\"thyIcon\" class=\"thy-menu-item-icon\" [thyIconName]=\"thyIcon\"></thy-icon>\n <ng-content></ng-content>\n</div>\n","import { Component, OnInit, HostBinding, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 菜单项名称\n * @name thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]\n * @order 20\n */\n@Component({\n selector: 'thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]',\n templateUrl: './menu-item-name.component.html',\n host: {\n class: 'thy-menu-item-name'\n },\n standalone: true\n})\nexport class ThyMenuItemName implements OnInit {\n /**\n * 是否 ellipsis\n */\n @HostBinding('class.thy-menu-item-name-ellipsis')\n @Input({ transform: coerceBooleanProperty })\n thyOverflowEllipsis = true;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { Component, OnInit, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nexport type ThyMenuTheme = 'compact' | 'loose' | 'dark';\n\n/**\n * 菜单组件\n * @name thy-menu,[thy-menu],[thyMenu]\n * @order 5\n */\n@Component({\n selector: 'thy-menu,[thy-menu],[thyMenu]',\n templateUrl: './menu.component.html',\n host: {\n class: 'thy-menu',\n '[class.thy-menu-collapsed]': 'thyCollapsed',\n '[class.thy-menu-theme-loose]': 'theme === \"loose\"',\n '[class.thy-menu-theme-dark]': 'theme === \"dark\"'\n },\n standalone: true\n})\nexport class ThyMenu implements OnInit {\n theme: ThyMenuTheme = 'compact';\n\n /**\n * 主题\n * @type compact | loose\n * @default compact\n */\n @Input() set thyTheme(value: ThyMenuTheme) {\n this.theme = value;\n }\n\n /**\n * 是否收起\n * @default false\n */\n @Input({ transform: coerceBooleanProperty }) thyCollapsed: boolean;\n\n constructor() {}\n\n ngOnInit(): void {}\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyPopoverModule } from 'ngx-tethys/popover';\nimport { ThyMenuDivider } from './divider/menu-divider.component';\nimport { ThyMenuGroup } from './group/menu-group.component';\nimport { ThyMenuItemAction } from './item/action/menu-item-action.component';\nimport { ThyMenuItemIcon } from './item/icon/menu-item-icon.component';\nimport { ThyMenuItem } from './item/menu-item.component';\nimport { ThyMenuItemName } from './item/name/menu-item-name.component';\nimport { ThyMenu } from './menu.component';\n\n@NgModule({\n imports: [\n CommonModule,\n ThyIconModule,\n ThyPopoverModule,\n ThyMenu,\n ThyMenuGroup,\n ThyMenuItem,\n ThyMenuItemName,\n ThyMenuItemIcon,\n ThyMenuItemAction,\n ThyMenuDivider\n ],\n exports: [ThyMenu, ThyMenuGroup, ThyMenuItem, ThyMenuItemName, ThyMenuItemIcon, ThyMenuItemAction, ThyMenuDivider]\n})\nexport class ThyMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAEA;;AAEG;MAMU,cAAc,CAAA;AAGvB,IAAA,WAAA,GAAA;QAFuC,IAAgB,CAAA,gBAAA,GAAG,IAAI,CAAC;KAE/C;AAEhB,IAAA,QAAQ,MAAW;8GALV,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,6LCV3B,6BACA,EAAA,CAAA,CAAA,EAAA;;2FDSa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sDAAsD,cAEpD,IAAI,EAAA,QAAA,EAAA,6BAAA,EAAA,CAAA;wDAGuB,gBAAgB,EAAA,CAAA;sBAAtD,WAAW;uBAAC,wBAAwB,CAAA;;;AESzC;;;;AAIG;MAgCU,YAAY,CAAA;AAyBrB;;;AAGG;IACH,IACI,SAAS,CAAC,KAAc,EAAA;A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EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,CAAC;AACrH,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
@@ -1,9 +1,9 @@
1
1
  import { NgIf, NgClass, NgTemplateOutlet, NgFor, CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { booleanAttribute, Component, HostBinding, Input, ChangeDetectionStrategy, inject, DestroyRef, Directive, Optional, ContentChildren, forwardRef, ANIMATION_MODULE_TYPE, Inject, Pipe, ContentChild, ViewChild, NgModule } from '@angular/core';
3
+ import { Component, HostBinding, Input, ChangeDetectionStrategy, inject, DestroyRef, Directive, Optional, ContentChildren, forwardRef, ANIMATION_MODULE_TYPE, Inject, Pipe, ContentChild, ViewChild, NgModule } from '@angular/core';
4
4
  import { ThyIcon, ThyIconModule } from 'ngx-tethys/icon';
5
+ import { coerceBooleanProperty, warnDeprecation } from 'ngx-tethys/util';
5
6
  import { useHostRenderer } from '@tethys/cdk/dom';
6
- import { warnDeprecation } from 'ngx-tethys/util';
7
7
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
8
8
  import * as i1 from '@angular/router';
9
9
  import { RouterLinkActive, RouterModule } from '@angular/router';
@@ -29,7 +29,7 @@ class ThyIconNavLink {
29
29
  this.navLinkActive = active;
30
30
  }
31
31
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyIconNavLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyIconNavLink, isStandalone: true, selector: "[thyIconNavLink]", inputs: { thyIconNavLinkIcon: "thyIconNavLinkIcon", thyIconNavLinkActive: ["thyIconNavLinkActive", "thyIconNavLinkActive", booleanAttribute] }, host: { properties: { "class.active": "this.navLinkActive", "class.thy-icon-nav-link": "this.navLinkClass" } }, ngImport: i0, template: '<ng-content></ng-content><thy-icon *ngIf="icon" [thyIconName]="icon"></thy-icon>', isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }] }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyIconNavLink, isStandalone: true, selector: "[thyIconNavLink]", inputs: { thyIconNavLinkIcon: "thyIconNavLinkIcon", thyIconNavLinkActive: ["thyIconNavLinkActive", "thyIconNavLinkActive", coerceBooleanProperty] }, host: { properties: { "class.active": "this.navLinkActive", "class.thy-icon-nav-link": "this.navLinkClass" } }, ngImport: i0, template: '<ng-content></ng-content><thy-icon *ngIf="icon" [thyIconName]="icon"></thy-icon>', isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }] }); }
33
33
  }
34
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyIconNavLink, decorators: [{
35
35
  type: Component,
@@ -50,7 +50,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
50
50
  type: Input
51
51
  }], thyIconNavLinkActive: [{
52
52
  type: Input,
53
- args: [{ transform: booleanAttribute }]
53
+ args: [{ transform: coerceBooleanProperty }]
54
54
  }] } });
55
55
 
56
56
  /**
@@ -146,7 +146,7 @@ class ThyNavItemDirective {
146
146
  }
147
147
  }
148
148
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNavItemDirective, deps: [{ token: i0.ElementRef }, { token: i1.RouterLinkActive, optional: true }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
149
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.2.3", type: ThyNavItemDirective, isStandalone: true, selector: "[thyNavLink],[thyNavItem]", inputs: { thyNavItemActive: ["thyNavItemActive", "thyNavItemActive", booleanAttribute], thyNavLinkActive: ["thyNavLinkActive", "thyNavLinkActive", booleanAttribute], thyNavItemDisabled: ["thyNavItemDisabled", "thyNavItemDisabled", booleanAttribute] }, host: { properties: { "class.active": "thyNavItemActive || thyNavLinkActive", "class.disabled": "thyNavItemDisabled" }, classAttribute: "thy-nav-item" }, queries: [{ propertyName: "links", predicate: i0.forwardRef(() => ThyNavItemDirective), descendants: true }, { propertyName: "routers", predicate: RouterLinkActive, descendants: true }], ngImport: i0 }); }
149
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.2.3", type: ThyNavItemDirective, isStandalone: true, selector: "[thyNavLink],[thyNavItem]", inputs: { thyNavItemActive: ["thyNavItemActive", "thyNavItemActive", coerceBooleanProperty], thyNavLinkActive: ["thyNavLinkActive", "thyNavLinkActive", coerceBooleanProperty], thyNavItemDisabled: ["thyNavItemDisabled", "thyNavItemDisabled", coerceBooleanProperty] }, host: { properties: { "class.active": "thyNavItemActive || thyNavLinkActive", "class.disabled": "thyNavItemDisabled" }, classAttribute: "thy-nav-item" }, queries: [{ propertyName: "links", predicate: i0.forwardRef(() => ThyNavItemDirective), descendants: true }, { propertyName: "routers", predicate: RouterLinkActive, descendants: true }], ngImport: i0 }); }
150
150
  }
151
151
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNavItemDirective, decorators: [{
152
152
  type: Directive,
@@ -163,13 +163,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
163
163
  type: Optional
164
164
  }] }, { type: i0.NgZone }], propDecorators: { thyNavItemActive: [{
165
165
  type: Input,
166
- args: [{ transform: booleanAttribute }]
166
+ args: [{ transform: coerceBooleanProperty }]
167
167
  }], thyNavLinkActive: [{
168
168
  type: Input,
169
- args: [{ transform: booleanAttribute }]
169
+ args: [{ transform: coerceBooleanProperty }]
170
170
  }], thyNavItemDisabled: [{
171
171
  type: Input,
172
- args: [{ transform: booleanAttribute }]
172
+ args: [{ transform: coerceBooleanProperty }]
173
173
  }], links: [{
174
174
  type: ContentChildren,
175
175
  args: [forwardRef(() => ThyNavItemDirective), { descendants: true }]
@@ -233,7 +233,7 @@ class ThyNavInkBarDirective {
233
233
  this.elementRef.nativeElement.style.visibility = 'hidden';
234
234
  }
235
235
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNavInkBarDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
236
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.2.3", type: ThyNavInkBarDirective, isStandalone: true, selector: "thy-nav-ink-bar, [thyNavInkBar]", inputs: { isVertical: ["isVertical", "isVertical", booleanAttribute], showInkBar: ["showInkBar", "showInkBar", booleanAttribute] }, host: { properties: { "class.thy-nav-ink-bar-animated": "animated" }, classAttribute: "thy-nav-ink-bar" }, ngImport: i0 }); }
236
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.2.3", type: ThyNavInkBarDirective, isStandalone: true, selector: "thy-nav-ink-bar, [thyNavInkBar]", inputs: { isVertical: ["isVertical", "isVertical", coerceBooleanProperty], showInkBar: ["showInkBar", "showInkBar", coerceBooleanProperty] }, host: { properties: { "class.thy-nav-ink-bar-animated": "animated" }, classAttribute: "thy-nav-ink-bar" }, ngImport: i0 }); }
237
237
  }
238
238
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNavInkBarDirective, decorators: [{
239
239
  type: Directive,
@@ -252,10 +252,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
252
252
  args: [ANIMATION_MODULE_TYPE]
253
253
  }] }], propDecorators: { isVertical: [{
254
254
  type: Input,
255
- args: [{ transform: booleanAttribute }]
255
+ args: [{ transform: coerceBooleanProperty }]
256
256
  }], showInkBar: [{
257
257
  type: Input,
258
- args: [{ transform: booleanAttribute }]
258
+ args: [{ transform: coerceBooleanProperty }]
259
259
  }] } });
260
260
 
261
261
  /**
@@ -566,7 +566,7 @@ class ThyNav {
566
566
  }
567
567
  }
568
568
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNav, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1$2.ThyPopover }], target: i0.ɵɵFactoryTarget.Component }); }
569
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyNav, isStandalone: true, selector: "thy-nav", inputs: { thyType: "thyType", thySize: "thySize", thyHorizontal: "thyHorizontal", thyVertical: ["thyVertical", "thyVertical", booleanAttribute], thyFill: ["thyFill", "thyFill", booleanAttribute], thyResponsive: ["thyResponsive", "thyResponsive", booleanAttribute], thyInsideClosable: ["thyInsideClosable", "thyInsideClosable", booleanAttribute], thyExtra: "thyExtra" }, host: { properties: { "class.thy-nav--vertical": "this.thyVertical", "class.thy-nav--fill": "this.thyFill" }, classAttribute: "thy-nav" }, queries: [{ propertyName: "moreOperation", first: true, predicate: ["more"], descendants: true }, { propertyName: "morePopover", first: true, predicate: ["morePopover"], descendants: true }, { propertyName: "extra", first: true, predicate: ["extra"], descendants: true }, { propertyName: "links", predicate: ThyNavItemDirective, descendants: true }, { propertyName: "routers", predicate: RouterLinkActive, descendants: true }], viewQueries: [{ propertyName: "defaultMoreOperation", first: true, predicate: ["moreOperationContainer"], descendants: true }, { propertyName: "inkBar", first: true, predicate: ThyNavInkBarDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"thy-nav-list\" [ngClass]=\"horizontal ? 'justify-content-' + horizontal : ''\" #navList>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <a\n *ngIf=\"thyResponsive\"\n href=\"javascript:;\"\n class=\"thy-nav-more-container\"\n [class.d-none]=\"!showMore\"\n [class.invisible]=\"!initialized\"\n #moreOperationContainer\n thyNavLink\n [thyNavLinkActive]=\"moreActive\"\n (click)=\"openMore($event, navListPopover)\"\n >\n <ng-container *ngIf=\"moreOperation; else defaultMoreOperation\" [ngTemplateOutlet]=\"moreOperation\"></ng-container>\n <ng-template #defaultMoreOperation>\n \u66F4\u591A\n <thy-icon thyIconName=\"angle-down\" class=\"thy-nav-more-icon\"></thy-icon>\n </ng-template>\n </a>\n <thy-nav-ink-bar [showInkBar]=\"showInkBar\" [isVertical]=\"thyVertical\"></thy-nav-ink-bar>\n</div>\n\n<ng-template #navListPopover>\n <ng-container\n *ngIf=\"morePopover; else default\"\n [ngTemplateOutlet]=\"morePopover\"\n [ngTemplateOutletContext]=\"{ $implicit: hiddenItems }\"\n ></ng-container>\n <ng-template #default>\n <thy-dropdown-menu thyImmediateRender>\n <ng-container *ngFor=\"let item of hiddenItems\">\n <span\n class=\"thy-nav-item-more\"\n thyDropdownMenuItem\n [thyDropdownMenuItemActive]=\"item.isActive\"\n (click)=\"navItemClick(item)\"\n [innerHTML]=\"item.elementRef.nativeElement.innerHTML | bypassSecurityTrustHtml\"\n ></span>\n </ng-container>\n </thy-dropdown-menu>\n </ng-template>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n\n<div *ngIf=\"thyExtra || extra\" class=\"thy-nav-extra\">\n <ng-container [ngTemplateOutlet]=\"thyExtra || extra\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ThyNavItemDirective, selector: "[thyNavLink],[thyNavItem]", inputs: ["thyNavItemActive", "thyNavLinkActive", "thyNavItemDisabled"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyNavInkBarDirective, selector: "thy-nav-ink-bar, [thyNavInkBar]", inputs: ["isVertical", "showInkBar"] }, { kind: "component", type: ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth", "thyImmediateRender"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }, { kind: "pipe", type: BypassSecurityTrustHtmlPipe, name: "bypassSecurityTrustHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
569
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.2.3", type: ThyNav, isStandalone: true, selector: "thy-nav", inputs: { thyType: "thyType", thySize: "thySize", thyHorizontal: "thyHorizontal", thyVertical: ["thyVertical", "thyVertical", coerceBooleanProperty], thyFill: ["thyFill", "thyFill", coerceBooleanProperty], thyResponsive: ["thyResponsive", "thyResponsive", coerceBooleanProperty], thyInsideClosable: ["thyInsideClosable", "thyInsideClosable", coerceBooleanProperty], thyExtra: "thyExtra" }, host: { properties: { "class.thy-nav--vertical": "this.thyVertical", "class.thy-nav--fill": "this.thyFill" }, classAttribute: "thy-nav" }, queries: [{ propertyName: "moreOperation", first: true, predicate: ["more"], descendants: true }, { propertyName: "morePopover", first: true, predicate: ["morePopover"], descendants: true }, { propertyName: "extra", first: true, predicate: ["extra"], descendants: true }, { propertyName: "links", predicate: ThyNavItemDirective, descendants: true }, { propertyName: "routers", predicate: RouterLinkActive, descendants: true }], viewQueries: [{ propertyName: "defaultMoreOperation", first: true, predicate: ["moreOperationContainer"], descendants: true }, { propertyName: "inkBar", first: true, predicate: ThyNavInkBarDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"thy-nav-list\" [ngClass]=\"horizontal ? 'justify-content-' + horizontal : ''\" #navList>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <a\n *ngIf=\"thyResponsive\"\n href=\"javascript:;\"\n class=\"thy-nav-more-container\"\n [class.d-none]=\"!showMore\"\n [class.invisible]=\"!initialized\"\n #moreOperationContainer\n thyNavLink\n [thyNavLinkActive]=\"moreActive\"\n (click)=\"openMore($event, navListPopover)\"\n >\n <ng-container *ngIf=\"moreOperation; else defaultMoreOperation\" [ngTemplateOutlet]=\"moreOperation\"></ng-container>\n <ng-template #defaultMoreOperation>\n \u66F4\u591A\n <thy-icon thyIconName=\"angle-down\" class=\"thy-nav-more-icon\"></thy-icon>\n </ng-template>\n </a>\n <thy-nav-ink-bar [showInkBar]=\"showInkBar\" [isVertical]=\"thyVertical\"></thy-nav-ink-bar>\n</div>\n\n<ng-template #navListPopover>\n <ng-container\n *ngIf=\"morePopover; else default\"\n [ngTemplateOutlet]=\"morePopover\"\n [ngTemplateOutletContext]=\"{ $implicit: hiddenItems }\"\n ></ng-container>\n <ng-template #default>\n <thy-dropdown-menu thyImmediateRender>\n <ng-container *ngFor=\"let item of hiddenItems\">\n <span\n class=\"thy-nav-item-more\"\n thyDropdownMenuItem\n [thyDropdownMenuItemActive]=\"item.isActive\"\n (click)=\"navItemClick(item)\"\n [innerHTML]=\"item.elementRef.nativeElement.innerHTML | bypassSecurityTrustHtml\"\n ></span>\n </ng-container>\n </thy-dropdown-menu>\n </ng-template>\n</ng-template>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n\n<div *ngIf=\"thyExtra || extra\" class=\"thy-nav-extra\">\n <ng-container [ngTemplateOutlet]=\"thyExtra || extra\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: ThyNavItemDirective, selector: "[thyNavLink],[thyNavItem]", inputs: ["thyNavItemActive", "thyNavLinkActive", "thyNavItemDisabled"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "directive", type: ThyNavInkBarDirective, selector: "thy-nav-ink-bar, [thyNavInkBar]", inputs: ["isVertical", "showInkBar"] }, { kind: "component", type: ThyDropdownMenuComponent, selector: "thy-dropdown-menu", inputs: ["thyWidth", "thyImmediateRender"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ThyDropdownMenuItemDirective, selector: "[thyDropdownMenuItem]", inputs: ["thyType", "thyDisabled"] }, { kind: "directive", type: ThyDropdownMenuItemActiveDirective, selector: "[thyDropdownMenuItemActive]", inputs: ["thyDropdownMenuItemActive"] }, { kind: "pipe", type: BypassSecurityTrustHtmlPipe, name: "bypassSecurityTrustHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
570
570
  }
571
571
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ThyNav, decorators: [{
572
572
  type: Component,
@@ -596,19 +596,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
596
596
  args: ['class.thy-nav--vertical']
597
597
  }, {
598
598
  type: Input,
599
- args: [{ transform: booleanAttribute }]
599
+ args: [{ transform: coerceBooleanProperty }]
600
600
  }], thyFill: [{
601
601
  type: HostBinding,
602
602
  args: ['class.thy-nav--fill']
603
603
  }, {
604
604
  type: Input,
605
- args: [{ transform: booleanAttribute }]
605
+ args: [{ transform: coerceBooleanProperty }]
606
606
  }], thyResponsive: [{
607
607
  type: Input,
608
- args: [{ transform: booleanAttribute }]
608
+ args: [{ transform: coerceBooleanProperty }]
609
609
  }], thyInsideClosable: [{
610
610
  type: Input,
611
- args: [{ transform: booleanAttribute }]
611
+ args: [{ transform: coerceBooleanProperty }]
612
612
  }], thyExtra: [{
613
613
  type: Input
614
614
  }], links: [{