ngx-tethys 18.2.5 → 18.2.7

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 (589) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/carousel/carousel.component.d.ts +2 -2
  3. package/date-picker/date-picker.config.d.ts +1 -1
  4. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -2
  5. package/date-picker/lib/date/date-table.component.d.ts +2 -2
  6. package/date-picker/lib/popups/date-popup.component.d.ts +3 -2
  7. package/date-picker/lib/popups/inner-popup.component.d.ts +1 -1
  8. package/date-picker/picker.util.d.ts +3 -3
  9. package/date-range/date-range.component.d.ts +1 -1
  10. package/esm2022/action/action.component.mjs +4 -4
  11. package/esm2022/action/action.module.mjs +5 -5
  12. package/esm2022/action/actions.component.mjs +4 -4
  13. package/esm2022/affix/affix.component.mjs +4 -4
  14. package/esm2022/affix/affix.module.mjs +5 -5
  15. package/esm2022/alert/alert.component.mjs +4 -4
  16. package/esm2022/alert/alert.directive.mjs +4 -4
  17. package/esm2022/alert/alert.module.mjs +5 -5
  18. package/esm2022/anchor/anchor-link.component.mjs +4 -4
  19. package/esm2022/anchor/anchor.component.mjs +4 -4
  20. package/esm2022/anchor/anchor.module.mjs +5 -5
  21. package/esm2022/arrow-switcher/arrow-switcher.component.mjs +4 -4
  22. package/esm2022/arrow-switcher/module.mjs +5 -5
  23. package/esm2022/autocomplete/autocomplete.component.mjs +4 -4
  24. package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +4 -4
  25. package/esm2022/autocomplete/module.mjs +5 -5
  26. package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +4 -4
  27. package/esm2022/autocomplete/overlay/autocomplete.service.mjs +4 -4
  28. package/esm2022/avatar/avatar-list/avatar-list.component.mjs +4 -4
  29. package/esm2022/avatar/avatar.component.mjs +4 -4
  30. package/esm2022/avatar/avatar.module.mjs +5 -5
  31. package/esm2022/avatar/avatar.pipe.mjs +10 -10
  32. package/esm2022/avatar/avatar.service.mjs +4 -4
  33. package/esm2022/back-top/back-top.component.mjs +4 -4
  34. package/esm2022/back-top/back-top.module.mjs +5 -5
  35. package/esm2022/badge/badge.component.mjs +4 -4
  36. package/esm2022/badge/badge.module.mjs +5 -5
  37. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +4 -4
  38. package/esm2022/breadcrumb/breadcrumb.component.mjs +4 -4
  39. package/esm2022/breadcrumb/module.mjs +5 -5
  40. package/esm2022/button/button-group.component.mjs +4 -4
  41. package/esm2022/button/button-icon.component.mjs +4 -4
  42. package/esm2022/button/button.component.mjs +4 -4
  43. package/esm2022/button/button.module.mjs +5 -5
  44. package/esm2022/calendar/calendar-cells.mjs +7 -7
  45. package/esm2022/calendar/calendar-header.component.mjs +17 -17
  46. package/esm2022/calendar/calendar.component.mjs +6 -6
  47. package/esm2022/calendar/module.mjs +5 -5
  48. package/esm2022/card/card.component.mjs +4 -4
  49. package/esm2022/card/card.module.mjs +5 -5
  50. package/esm2022/card/content.component.mjs +4 -4
  51. package/esm2022/card/header.component.mjs +4 -4
  52. package/esm2022/carousel/carousel-item.directive.mjs +4 -4
  53. package/esm2022/carousel/carousel.component.mjs +13 -13
  54. package/esm2022/carousel/carousel.service.mjs +4 -4
  55. package/esm2022/carousel/module.mjs +5 -5
  56. package/esm2022/cascader/cascader-li.component.mjs +4 -4
  57. package/esm2022/cascader/cascader-search-option.component.mjs +4 -4
  58. package/esm2022/cascader/cascader.component.mjs +4 -4
  59. package/esm2022/cascader/cascader.service.mjs +4 -4
  60. package/esm2022/cascader/module.mjs +5 -5
  61. package/esm2022/checkbox/checkbox.component.mjs +4 -4
  62. package/esm2022/checkbox/module.mjs +5 -5
  63. package/esm2022/collapse/collapse-item.component.mjs +4 -4
  64. package/esm2022/collapse/collapse.component.mjs +4 -4
  65. package/esm2022/collapse/module.mjs +5 -5
  66. package/esm2022/color-picker/color-picker-custom-panel.component.mjs +4 -4
  67. package/esm2022/color-picker/color-picker-panel.component.mjs +4 -4
  68. package/esm2022/color-picker/color-picker.component.mjs +4 -4
  69. package/esm2022/color-picker/coordinates.directive.mjs +4 -4
  70. package/esm2022/color-picker/module.mjs +5 -5
  71. package/esm2022/color-picker/parts/alpha/alpha.component.mjs +4 -4
  72. package/esm2022/color-picker/parts/hue/hue.component.mjs +4 -4
  73. package/esm2022/color-picker/parts/indicator/indicator.component.mjs +4 -4
  74. package/esm2022/color-picker/parts/inputs/inputs.component.mjs +4 -4
  75. package/esm2022/color-picker/parts/saturation/saturation.component.mjs +4 -4
  76. package/esm2022/comment/comment-actions.directive.mjs +4 -4
  77. package/esm2022/comment/comment-content.directive.mjs +4 -4
  78. package/esm2022/comment/comment.component.mjs +4 -4
  79. package/esm2022/comment/comment.module.mjs +5 -5
  80. package/esm2022/copy/copy.directive.mjs +4 -4
  81. package/esm2022/copy/module.mjs +5 -5
  82. package/esm2022/core/click-positioner.mjs +4 -4
  83. package/esm2022/core/overlay/portal-directives.mjs +4 -4
  84. package/esm2022/core/request-animation.mjs +3 -2
  85. package/esm2022/core/scroll.mjs +4 -4
  86. package/esm2022/core/store/store.mjs +4 -4
  87. package/esm2022/core/theme/store.mjs +4 -4
  88. package/esm2022/core/translate.mjs +4 -4
  89. package/esm2022/core/update-host-class.service.mjs +4 -4
  90. package/esm2022/date-picker/abstract-picker.component.mjs +4 -4
  91. package/esm2022/date-picker/abstract-picker.directive.mjs +4 -4
  92. package/esm2022/date-picker/base-picker.component.mjs +4 -4
  93. package/esm2022/date-picker/date-helper.service.mjs +4 -4
  94. package/esm2022/date-picker/date-picker.component.mjs +4 -4
  95. package/esm2022/date-picker/date-picker.config.mjs +12 -13
  96. package/esm2022/date-picker/date-picker.directive.mjs +4 -4
  97. package/esm2022/date-picker/date-picker.module.mjs +5 -5
  98. package/esm2022/date-picker/date-picker.service.mjs +4 -4
  99. package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +9 -9
  100. package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +4 -4
  101. package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +4 -4
  102. package/esm2022/date-picker/lib/date/date-header.component.mjs +4 -4
  103. package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +4 -4
  104. package/esm2022/date-picker/lib/date/date-table.component.mjs +10 -9
  105. package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +4 -4
  106. package/esm2022/date-picker/lib/decade/decade-header.component.mjs +4 -4
  107. package/esm2022/date-picker/lib/decade/decade-table.component.mjs +4 -4
  108. package/esm2022/date-picker/lib/lib-packer.module.mjs +5 -5
  109. package/esm2022/date-picker/lib/month/month-header.component.mjs +4 -4
  110. package/esm2022/date-picker/lib/month/month-table.component.mjs +4 -4
  111. package/esm2022/date-picker/lib/popups/date-popup.component.mjs +21 -18
  112. package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +6 -6
  113. package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +4 -4
  114. package/esm2022/date-picker/lib/year/year-header.component.mjs +4 -4
  115. package/esm2022/date-picker/lib/year/year-table.component.mjs +4 -4
  116. package/esm2022/date-picker/month-picker.component.mjs +4 -4
  117. package/esm2022/date-picker/picker.component.mjs +8 -8
  118. package/esm2022/date-picker/picker.pipes.mjs +13 -13
  119. package/esm2022/date-picker/picker.util.mjs +8 -6
  120. package/esm2022/date-picker/picker.validators.mjs +7 -7
  121. package/esm2022/date-picker/quarter-picker.component.mjs +4 -4
  122. package/esm2022/date-picker/range-picker.component.mjs +4 -4
  123. package/esm2022/date-picker/range-picker.directive.mjs +4 -4
  124. package/esm2022/date-picker/week-picker.component.mjs +4 -4
  125. package/esm2022/date-picker/year-picker.component.mjs +4 -4
  126. package/esm2022/date-range/date-range.component.mjs +15 -16
  127. package/esm2022/date-range/module.mjs +5 -5
  128. package/esm2022/date-range/optional-dates/optional-dates.component.mjs +4 -4
  129. package/esm2022/dialog/body/dialog-body.component.mjs +4 -4
  130. package/esm2022/dialog/confirm/confirm.component.mjs +4 -4
  131. package/esm2022/dialog/dialog-container.component.mjs +4 -4
  132. package/esm2022/dialog/dialog.module.mjs +5 -5
  133. package/esm2022/dialog/dialog.service.mjs +4 -4
  134. package/esm2022/dialog/footer/dialog-footer.component.mjs +4 -4
  135. package/esm2022/dialog/header/dialog-header.component.mjs +4 -4
  136. package/esm2022/divider/divider.component.mjs +4 -4
  137. package/esm2022/divider/divider.module.mjs +5 -5
  138. package/esm2022/dot/dot.component.mjs +4 -4
  139. package/esm2022/dot/dot.module.mjs +5 -5
  140. package/esm2022/drag-drop/drag-content.directive.mjs +4 -4
  141. package/esm2022/drag-drop/drag-drop.service.mjs +4 -4
  142. package/esm2022/drag-drop/drag-handle.directive.mjs +4 -4
  143. package/esm2022/drag-drop/drag.directive.mjs +4 -4
  144. package/esm2022/drag-drop/drop-container.directive.mjs +4 -4
  145. package/esm2022/drag-drop/module.mjs +5 -5
  146. package/esm2022/dropdown/dropdown-active.directive.mjs +4 -4
  147. package/esm2022/dropdown/dropdown-menu-item.directive.mjs +22 -22
  148. package/esm2022/dropdown/dropdown-menu.component.mjs +13 -13
  149. package/esm2022/dropdown/dropdown-submenu.component.mjs +4 -4
  150. package/esm2022/dropdown/dropdown.directive.mjs +4 -4
  151. package/esm2022/dropdown/module.mjs +5 -5
  152. package/esm2022/empty/empty.component.mjs +4 -4
  153. package/esm2022/empty/empty.config.mjs +4 -4
  154. package/esm2022/empty/empty.module.mjs +5 -5
  155. package/esm2022/flexible-text/flexible-text.component.mjs +4 -4
  156. package/esm2022/flexible-text/flexible-text.module.mjs +5 -5
  157. package/esm2022/form/form-group-error/form-group-error.component.mjs +4 -4
  158. package/esm2022/form/form-group-label.directive.mjs +4 -4
  159. package/esm2022/form/form-group.component.mjs +4 -4
  160. package/esm2022/form/form-submit.directive.mjs +4 -4
  161. package/esm2022/form/form-validator-loader.mjs +4 -4
  162. package/esm2022/form/form-validator.service.mjs +4 -4
  163. package/esm2022/form/form.directive.mjs +4 -4
  164. package/esm2022/form/from-group-footer/form-group-footer.component.mjs +4 -4
  165. package/esm2022/form/module.mjs +5 -5
  166. package/esm2022/form/validator/confirm-validator.directive.mjs +4 -4
  167. package/esm2022/form/validator/max-validator.directive.mjs +4 -4
  168. package/esm2022/form/validator/min-validator.directive.mjs +4 -4
  169. package/esm2022/form/validator/unique-validator.directive.mjs +4 -4
  170. package/esm2022/fullscreen/fullscreen-launch.directive.mjs +4 -4
  171. package/esm2022/fullscreen/fullscreen.component.mjs +4 -4
  172. package/esm2022/fullscreen/fullscreen.module.mjs +5 -5
  173. package/esm2022/fullscreen/fullscreen.service.mjs +4 -4
  174. package/esm2022/grid/flex.mjs +13 -13
  175. package/esm2022/grid/module.mjs +5 -5
  176. package/esm2022/grid/thy-col.directive.mjs +4 -4
  177. package/esm2022/grid/thy-grid-item.component.mjs +4 -4
  178. package/esm2022/grid/thy-grid.component.mjs +7 -7
  179. package/esm2022/grid/thy-row.directive.mjs +4 -4
  180. package/esm2022/guider/guider-hint/guider-hint.component.mjs +4 -4
  181. package/esm2022/guider/guider-manager.mjs +4 -4
  182. package/esm2022/guider/guider.directive.mjs +4 -4
  183. package/esm2022/guider/guider.module.mjs +5 -5
  184. package/esm2022/guider/guider.service.mjs +4 -4
  185. package/esm2022/i18n/i18n.mjs +1 -1
  186. package/esm2022/i18n/i18n.service.mjs +4 -4
  187. package/esm2022/i18n/locales/de-de.mjs +5 -1
  188. package/esm2022/i18n/locales/en-us.mjs +5 -1
  189. package/esm2022/i18n/locales/ja-jp.mjs +5 -1
  190. package/esm2022/i18n/locales/zh-hans.mjs +5 -1
  191. package/esm2022/i18n/locales/zh-hant.mjs +5 -1
  192. package/esm2022/icon/icon-registry.mjs +5 -5
  193. package/esm2022/icon/icon.component.mjs +4 -4
  194. package/esm2022/icon/icon.module.mjs +6 -7
  195. package/esm2022/image/image-group.component.mjs +4 -4
  196. package/esm2022/image/image.directive.mjs +4 -4
  197. package/esm2022/image/image.service.mjs +4 -4
  198. package/esm2022/image/module.mjs +5 -5
  199. package/esm2022/image/preview/image-preview.component.mjs +4 -4
  200. package/esm2022/input/input-count.component.mjs +4 -4
  201. package/esm2022/input/input-group.component.mjs +4 -4
  202. package/esm2022/input/input-search.component.mjs +4 -4
  203. package/esm2022/input/input.component.mjs +4 -4
  204. package/esm2022/input/input.directive.mjs +4 -4
  205. package/esm2022/input/module.mjs +5 -5
  206. package/esm2022/input-number/input-number.component.mjs +4 -4
  207. package/esm2022/input-number/module.mjs +5 -5
  208. package/esm2022/layout/content-main.component.mjs +7 -7
  209. package/esm2022/layout/content-section.component.mjs +7 -7
  210. package/esm2022/layout/content.component.mjs +7 -7
  211. package/esm2022/layout/header.component.mjs +7 -7
  212. package/esm2022/layout/layout.component.mjs +7 -7
  213. package/esm2022/layout/layout.module.mjs +5 -5
  214. package/esm2022/layout/sidebar-content.component.mjs +7 -7
  215. package/esm2022/layout/sidebar-footer.component.mjs +7 -7
  216. package/esm2022/layout/sidebar-header.component.mjs +7 -7
  217. package/esm2022/layout/sidebar.component.mjs +10 -8
  218. package/esm2022/list/list-item-meta.component.mjs +4 -4
  219. package/esm2022/list/list-item.component.mjs +4 -4
  220. package/esm2022/list/list.component.mjs +4 -4
  221. package/esm2022/list/list.module.mjs +5 -5
  222. package/esm2022/list/selection/selection-list.mjs +4 -4
  223. package/esm2022/loading/loading.component.mjs +4 -4
  224. package/esm2022/loading/loading.module.mjs +5 -5
  225. package/esm2022/mention/mention.directive.mjs +4 -4
  226. package/esm2022/mention/mention.module.mjs +5 -5
  227. package/esm2022/mention/suggestions/suggestions.component.mjs +4 -4
  228. package/esm2022/menu/divider/menu-divider.component.mjs +4 -4
  229. package/esm2022/menu/group/menu-group.component.mjs +4 -4
  230. package/esm2022/menu/item/action/menu-item-action.component.mjs +4 -4
  231. package/esm2022/menu/item/icon/menu-item-icon.component.mjs +4 -4
  232. package/esm2022/menu/item/menu-item.component.mjs +4 -4
  233. package/esm2022/menu/item/name/menu-item-name.component.mjs +4 -4
  234. package/esm2022/menu/menu.component.mjs +4 -4
  235. package/esm2022/menu/menu.module.mjs +5 -5
  236. package/esm2022/message/abstract/abstract-message-container.component.mjs +4 -4
  237. package/esm2022/message/abstract/abstract-message.component.mjs +4 -4
  238. package/esm2022/message/message-container.component.mjs +4 -4
  239. package/esm2022/message/message-queue.service.mjs +4 -4
  240. package/esm2022/message/message.component.mjs +4 -4
  241. package/esm2022/message/message.service.mjs +4 -4
  242. package/esm2022/message/module.mjs +5 -5
  243. package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +4 -4
  244. package/esm2022/nav/icon-nav/icon-nav.component.mjs +4 -4
  245. package/esm2022/nav/nav-ink-bar.directive.mjs +4 -4
  246. package/esm2022/nav/nav-item.directive.mjs +4 -4
  247. package/esm2022/nav/nav.component.mjs +4 -4
  248. package/esm2022/nav/nav.module.mjs +5 -5
  249. package/esm2022/nav/nav.pipe.mjs +4 -4
  250. package/esm2022/notify/module.mjs +5 -5
  251. package/esm2022/notify/notify-container.component.mjs +4 -4
  252. package/esm2022/notify/notify-queue.service.mjs +4 -4
  253. package/esm2022/notify/notify.component.mjs +4 -4
  254. package/esm2022/notify/notify.service.mjs +4 -4
  255. package/esm2022/pagination/pagination.component.mjs +4 -4
  256. package/esm2022/pagination/pagination.module.mjs +5 -5
  257. package/esm2022/pagination/pagination.pipe.mjs +7 -7
  258. package/esm2022/popover/body/popover-body.component.mjs +4 -4
  259. package/esm2022/popover/header/popover-header.component.mjs +4 -4
  260. package/esm2022/popover/module.mjs +5 -5
  261. package/esm2022/popover/popover-container.component.mjs +4 -4
  262. package/esm2022/popover/popover.directive.mjs +4 -4
  263. package/esm2022/popover/popover.service.mjs +4 -4
  264. package/esm2022/progress/progress-circle.component.mjs +4 -4
  265. package/esm2022/progress/progress-strip.component.mjs +4 -4
  266. package/esm2022/progress/progress.component.mjs +4 -4
  267. package/esm2022/progress/progress.module.mjs +5 -5
  268. package/esm2022/property/module.mjs +5 -5
  269. package/esm2022/property/properties.component.mjs +4 -4
  270. package/esm2022/property/property-item.component.mjs +4 -4
  271. package/esm2022/property-operation/group/property-operation-group.component.mjs +4 -4
  272. package/esm2022/property-operation/module.mjs +5 -5
  273. package/esm2022/property-operation/property-operation.component.mjs +4 -4
  274. package/esm2022/radio/button/radio-button.component.mjs +4 -4
  275. package/esm2022/radio/group/radio-group.component.mjs +4 -4
  276. package/esm2022/radio/module.mjs +5 -5
  277. package/esm2022/radio/radio.component.mjs +4 -4
  278. package/esm2022/rate/module.mjs +5 -5
  279. package/esm2022/rate/rate-item.component.mjs +4 -4
  280. package/esm2022/rate/rate.component.mjs +4 -4
  281. package/esm2022/resizable/module.mjs +5 -5
  282. package/esm2022/resizable/resizable.directive.mjs +4 -4
  283. package/esm2022/resizable/resizable.service.mjs +4 -4
  284. package/esm2022/resizable/resize-handle.component.mjs +4 -4
  285. package/esm2022/resizable/resize-handles.component.mjs +4 -4
  286. package/esm2022/result/result.component.mjs +4 -4
  287. package/esm2022/result/result.module.mjs +5 -5
  288. package/esm2022/segment/segment-item.component.mjs +4 -4
  289. package/esm2022/segment/segment.component.mjs +4 -4
  290. package/esm2022/segment/segment.module.mjs +5 -5
  291. package/esm2022/select/custom-select/custom-select.component.mjs +4 -4
  292. package/esm2022/select/module.mjs +5 -5
  293. package/esm2022/select/native-select/native-select.component.mjs +4 -4
  294. package/esm2022/shared/base-form-check.component.mjs +4 -4
  295. package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +4 -4
  296. package/esm2022/shared/directives/thy-autofocus.directive.mjs +4 -4
  297. package/esm2022/shared/directives/thy-contextmenu.directive.mjs +4 -4
  298. package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +4 -4
  299. package/esm2022/shared/directives/thy-drag-drop.directive.mjs +4 -4
  300. package/esm2022/shared/directives/thy-enter.directive.mjs +4 -4
  301. package/esm2022/shared/directives/thy-scroll.directive.mjs +4 -4
  302. package/esm2022/shared/directives/thy-show.mjs +4 -4
  303. package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +4 -4
  304. package/esm2022/shared/directives/view-outlet.directive.mjs +4 -4
  305. package/esm2022/shared/ng-transclude.directive.mjs +4 -4
  306. package/esm2022/shared/option/group/option-group.component.mjs +4 -4
  307. package/esm2022/shared/option/list-option/list-option.component.mjs +4 -4
  308. package/esm2022/shared/option/module.mjs +5 -5
  309. package/esm2022/shared/option/option-group.component.mjs +4 -4
  310. package/esm2022/shared/option/option.component.mjs +4 -4
  311. package/esm2022/shared/option/options-container.component.mjs +4 -4
  312. package/esm2022/shared/select/module.mjs +5 -5
  313. package/esm2022/shared/select/select-control/select-control.component.mjs +4 -4
  314. package/esm2022/shared/shared.module.mjs +5 -5
  315. package/esm2022/skeleton/module.mjs +5 -5
  316. package/esm2022/skeleton/skeleton-circle.component.mjs +4 -4
  317. package/esm2022/skeleton/skeleton-rectangle.component.mjs +4 -4
  318. package/esm2022/skeleton/skeleton.component.mjs +4 -4
  319. package/esm2022/skeleton/stylized/bullet-list.component.mjs +4 -4
  320. package/esm2022/skeleton/stylized/list.component.mjs +4 -4
  321. package/esm2022/skeleton/stylized/paragraph.component.mjs +4 -4
  322. package/esm2022/slide/drawer/drawer-container.directive.mjs +4 -4
  323. package/esm2022/slide/slide-body/slide-body-section.component.mjs +4 -4
  324. package/esm2022/slide/slide-body/slide-body.component.mjs +4 -4
  325. package/esm2022/slide/slide-container.component.mjs +4 -4
  326. package/esm2022/slide/slide-footer/slide-footer.component.mjs +4 -4
  327. package/esm2022/slide/slide-header/slide-header.component.mjs +4 -4
  328. package/esm2022/slide/slide-layout/slide-layout.component.mjs +4 -4
  329. package/esm2022/slide/slide-ref.service.mjs +4 -4
  330. package/esm2022/slide/slide.module.mjs +5 -5
  331. package/esm2022/slide/slide.service.mjs +4 -4
  332. package/esm2022/slider/slider.component.mjs +4 -4
  333. package/esm2022/slider/slider.module.mjs +5 -5
  334. package/esm2022/space/space.component.mjs +7 -7
  335. package/esm2022/space/space.module.mjs +5 -5
  336. package/esm2022/statistic/statistic.component.mjs +4 -4
  337. package/esm2022/statistic/statistic.module.mjs +5 -5
  338. package/esm2022/stepper/step-header.component.mjs +4 -4
  339. package/esm2022/stepper/step.component.mjs +4 -4
  340. package/esm2022/stepper/stepper-button.directive.mjs +7 -7
  341. package/esm2022/stepper/stepper.component.mjs +4 -4
  342. package/esm2022/stepper/stepper.module.mjs +5 -5
  343. package/esm2022/strength/strength.component.mjs +4 -4
  344. package/esm2022/strength/strength.module.mjs +5 -5
  345. package/esm2022/switch/switch.component.mjs +4 -4
  346. package/esm2022/switch/switch.module.mjs +5 -5
  347. package/esm2022/table/pipes/drag.pipe.mjs +4 -4
  348. package/esm2022/table/pipes/table.pipe.mjs +4 -4
  349. package/esm2022/table/table-column.component.mjs +4 -4
  350. package/esm2022/table/table-skeleton.component.mjs +4 -4
  351. package/esm2022/table/table.component.mjs +4 -4
  352. package/esm2022/table/table.module.mjs +5 -5
  353. package/esm2022/tabs/tab-content.component.mjs +4 -4
  354. package/esm2022/tabs/tab.component.mjs +4 -4
  355. package/esm2022/tabs/tabs.component.mjs +4 -4
  356. package/esm2022/tabs/tabs.module.mjs +5 -5
  357. package/esm2022/tag/tag.component.mjs +4 -4
  358. package/esm2022/tag/tag.module.mjs +5 -5
  359. package/esm2022/tag/tags.component.mjs +4 -4
  360. package/esm2022/time-picker/inner/inner-time-picker.component.mjs +5 -5
  361. package/esm2022/time-picker/inner/inner-time-picker.config.mjs +4 -4
  362. package/esm2022/time-picker/inner/inner-time-picker.store.mjs +12 -9
  363. package/esm2022/time-picker/time-picker-panel.component.mjs +11 -12
  364. package/esm2022/time-picker/time-picker.component.mjs +17 -19
  365. package/esm2022/time-picker/time-picker.module.mjs +5 -5
  366. package/esm2022/time-picker/time-picker.utils.mjs +14 -8
  367. package/esm2022/timeline/timeline-item.component.mjs +4 -4
  368. package/esm2022/timeline/timeline.component.mjs +4 -4
  369. package/esm2022/timeline/timeline.module.mjs +5 -5
  370. package/esm2022/timeline/timeline.service.mjs +4 -4
  371. package/esm2022/tooltip/tooltip.component.mjs +4 -4
  372. package/esm2022/tooltip/tooltip.directive.mjs +4 -4
  373. package/esm2022/tooltip/tooltip.module.mjs +5 -5
  374. package/esm2022/tooltip/tooltip.service.mjs +4 -4
  375. package/esm2022/transfer/transfer-list.component.mjs +4 -4
  376. package/esm2022/transfer/transfer.component.mjs +4 -4
  377. package/esm2022/transfer/transfer.module.mjs +5 -5
  378. package/esm2022/tree/tree-node.component.mjs +4 -4
  379. package/esm2022/tree/tree.component.mjs +4 -4
  380. package/esm2022/tree/tree.module.mjs +5 -5
  381. package/esm2022/tree/tree.pipe.mjs +4 -4
  382. package/esm2022/tree/tree.service.mjs +4 -4
  383. package/esm2022/tree-select/module.mjs +5 -5
  384. package/esm2022/tree-select/tree-select.component.mjs +7 -7
  385. package/esm2022/typography/bg-color.directive.mjs +4 -4
  386. package/esm2022/typography/module.mjs +5 -5
  387. package/esm2022/typography/text/text.component.mjs +4 -4
  388. package/esm2022/typography/text-color.directive.mjs +4 -4
  389. package/esm2022/upload/file-drop.directive.mjs +4 -4
  390. package/esm2022/upload/file-select-base.mjs +4 -4
  391. package/esm2022/upload/file-select.component.mjs +4 -4
  392. package/esm2022/upload/module.mjs +6 -7
  393. package/esm2022/upload/upload.service.mjs +11 -11
  394. package/esm2022/util/date/functions.mjs +26 -1
  395. package/esm2022/util/date/tiny-date.mjs +78 -34
  396. package/esm2022/util/index.mjs +9 -9
  397. package/esm2022/version.mjs +2 -2
  398. package/esm2022/vote/vote.component.mjs +4 -4
  399. package/esm2022/vote/vote.module.mjs +5 -5
  400. package/esm2022/watermark/watermark.directive.mjs +4 -4
  401. package/esm2022/watermark/watermark.module.mjs +5 -5
  402. package/fesm2022/ngx-tethys-action.mjs +10 -10
  403. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  404. package/fesm2022/ngx-tethys-affix.mjs +7 -7
  405. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  406. package/fesm2022/ngx-tethys-alert.mjs +10 -10
  407. package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
  408. package/fesm2022/ngx-tethys-anchor.mjs +10 -10
  409. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  410. package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
  411. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  412. package/fesm2022/ngx-tethys-autocomplete.mjs +16 -16
  413. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  414. package/fesm2022/ngx-tethys-avatar.mjs +22 -22
  415. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  416. package/fesm2022/ngx-tethys-back-top.mjs +7 -7
  417. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  418. package/fesm2022/ngx-tethys-badge.mjs +7 -7
  419. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  420. package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
  421. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  422. package/fesm2022/ngx-tethys-button.mjs +13 -13
  423. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  424. package/fesm2022/ngx-tethys-calendar.mjs +26 -26
  425. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  426. package/fesm2022/ngx-tethys-card.mjs +13 -13
  427. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  428. package/fesm2022/ngx-tethys-carousel.mjs +84 -84
  429. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  430. package/fesm2022/ngx-tethys-cascader.mjs +16 -16
  431. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  432. package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
  433. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  434. package/fesm2022/ngx-tethys-collapse.mjs +10 -10
  435. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  436. package/fesm2022/ngx-tethys-color-picker.mjs +31 -31
  437. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  438. package/fesm2022/ngx-tethys-comment.mjs +13 -13
  439. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  440. package/fesm2022/ngx-tethys-copy.mjs +7 -7
  441. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  442. package/fesm2022/ngx-tethys-core.mjs +23 -23
  443. package/fesm2022/ngx-tethys-core.mjs.map +1 -1
  444. package/fesm2022/ngx-tethys-date-picker.mjs +242 -235
  445. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  446. package/fesm2022/ngx-tethys-date-range.mjs +17 -18
  447. package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
  448. package/fesm2022/ngx-tethys-dialog.mjs +22 -22
  449. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  450. package/fesm2022/ngx-tethys-divider.mjs +7 -7
  451. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  452. package/fesm2022/ngx-tethys-dot.mjs +7 -7
  453. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  454. package/fesm2022/ngx-tethys-drag-drop.mjs +19 -19
  455. package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
  456. package/fesm2022/ngx-tethys-dropdown.mjs +46 -46
  457. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  458. package/fesm2022/ngx-tethys-empty.mjs +10 -10
  459. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  460. package/fesm2022/ngx-tethys-flexible-text.mjs +7 -7
  461. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  462. package/fesm2022/ngx-tethys-form.mjs +40 -40
  463. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  464. package/fesm2022/ngx-tethys-fullscreen.mjs +13 -13
  465. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  466. package/fesm2022/ngx-tethys-grid.mjs +31 -31
  467. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  468. package/fesm2022/ngx-tethys-guider.mjs +16 -16
  469. package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
  470. package/fesm2022/ngx-tethys-i18n.mjs +23 -3
  471. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  472. package/fesm2022/ngx-tethys-icon.mjs +13 -13
  473. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  474. package/fesm2022/ngx-tethys-image.mjs +16 -16
  475. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  476. package/fesm2022/ngx-tethys-input-number.mjs +7 -7
  477. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  478. package/fesm2022/ngx-tethys-input.mjs +19 -19
  479. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  480. package/fesm2022/ngx-tethys-layout.mjs +61 -59
  481. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  482. package/fesm2022/ngx-tethys-list.mjs +16 -16
  483. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  484. package/fesm2022/ngx-tethys-loading.mjs +7 -7
  485. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  486. package/fesm2022/ngx-tethys-mention.mjs +10 -10
  487. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  488. package/fesm2022/ngx-tethys-menu.mjs +25 -25
  489. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  490. package/fesm2022/ngx-tethys-message.mjs +22 -22
  491. package/fesm2022/ngx-tethys-message.mjs.map +1 -1
  492. package/fesm2022/ngx-tethys-nav.mjs +22 -22
  493. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  494. package/fesm2022/ngx-tethys-notify.mjs +16 -16
  495. package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
  496. package/fesm2022/ngx-tethys-pagination.mjs +13 -13
  497. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  498. package/fesm2022/ngx-tethys-popover.mjs +19 -19
  499. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  500. package/fesm2022/ngx-tethys-progress.mjs +13 -13
  501. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  502. package/fesm2022/ngx-tethys-property-operation.mjs +10 -10
  503. package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
  504. package/fesm2022/ngx-tethys-property.mjs +10 -10
  505. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  506. package/fesm2022/ngx-tethys-radio.mjs +13 -13
  507. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  508. package/fesm2022/ngx-tethys-rate.mjs +10 -10
  509. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  510. package/fesm2022/ngx-tethys-resizable.mjs +16 -16
  511. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  512. package/fesm2022/ngx-tethys-result.mjs +7 -7
  513. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  514. package/fesm2022/ngx-tethys-segment.mjs +10 -10
  515. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  516. package/fesm2022/ngx-tethys-select.mjs +10 -10
  517. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  518. package/fesm2022/ngx-tethys-shared.mjs +66 -66
  519. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  520. package/fesm2022/ngx-tethys-skeleton.mjs +22 -22
  521. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  522. package/fesm2022/ngx-tethys-slide.mjs +31 -31
  523. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  524. package/fesm2022/ngx-tethys-slider.mjs +7 -7
  525. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  526. package/fesm2022/ngx-tethys-space.mjs +10 -10
  527. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  528. package/fesm2022/ngx-tethys-statistic.mjs +7 -7
  529. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  530. package/fesm2022/ngx-tethys-stepper.mjs +19 -19
  531. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  532. package/fesm2022/ngx-tethys-strength.mjs +7 -7
  533. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  534. package/fesm2022/ngx-tethys-switch.mjs +7 -7
  535. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  536. package/fesm2022/ngx-tethys-table.mjs +19 -19
  537. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  538. package/fesm2022/ngx-tethys-tabs.mjs +13 -13
  539. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  540. package/fesm2022/ngx-tethys-tag.mjs +10 -10
  541. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  542. package/fesm2022/ngx-tethys-time-picker.mjs +46 -40
  543. package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
  544. package/fesm2022/ngx-tethys-timeline.mjs +13 -13
  545. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  546. package/fesm2022/ngx-tethys-tooltip.mjs +13 -13
  547. package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
  548. package/fesm2022/ngx-tethys-transfer.mjs +10 -10
  549. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  550. package/fesm2022/ngx-tethys-tree-select.mjs +10 -10
  551. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  552. package/fesm2022/ngx-tethys-tree.mjs +16 -16
  553. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  554. package/fesm2022/ngx-tethys-typography.mjs +13 -13
  555. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  556. package/fesm2022/ngx-tethys-upload.mjs +23 -24
  557. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  558. package/fesm2022/ngx-tethys-util.mjs +107 -38
  559. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  560. package/fesm2022/ngx-tethys-vote.mjs +7 -7
  561. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  562. package/fesm2022/ngx-tethys-watermark.mjs +7 -7
  563. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  564. package/fesm2022/ngx-tethys.mjs +1 -1
  565. package/fesm2022/ngx-tethys.mjs.map +1 -1
  566. package/i18n/i18n.d.ts +6 -1
  567. package/i18n/locales/de-de.d.ts +4 -0
  568. package/i18n/locales/en-us.d.ts +4 -0
  569. package/i18n/locales/ja-jp.d.ts +4 -0
  570. package/i18n/locales/zh-hans.d.ts +4 -0
  571. package/i18n/locales/zh-hant.d.ts +4 -0
  572. package/layout/sidebar.component.d.ts +8 -42
  573. package/package.json +3 -2
  574. package/schematics/ng-add/index.js +2 -3
  575. package/schematics/ng-add/index.spec.js +21 -22
  576. package/schematics/ng-update/update-18/index.spec.js +7 -8
  577. package/schematics/testing/test-app.js +2 -5
  578. package/schematics/testing/test-project.js +7 -10
  579. package/schematics/testing/test-workspace.d.ts +1 -0
  580. package/schematics/testing/test-workspace.js +14 -15
  581. package/schematics/tsconfig.json +1 -1
  582. package/schematics/utils/get-workspace-tsconfig.js +8 -9
  583. package/schematics/utils/package-config.js +1 -2
  584. package/schematics/version.d.ts +1 -1
  585. package/schematics/version.js +1 -1
  586. package/time-picker/inner/inner-time-picker.store.d.ts +1 -1
  587. package/util/date/functions.d.ts +25 -0
  588. package/util/date/tiny-date.d.ts +20 -4
  589. package/util/index.d.ts +8 -8
@@ -14,10 +14,10 @@ class ThyComment {
14
14
  constructor() {
15
15
  this.isTemplateRef = isTemplateRef;
16
16
  }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyComment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThyComment, isStandalone: true, selector: "thy-comment", inputs: { thyAuthor: "thyAuthor", thyDatetime: "thyDatetime", thyAvatar: "thyAvatar" }, host: { classAttribute: "thy-comment" }, ngImport: i0, template: "<div class=\"thy-comment-inner\">\n @if (isTemplateRef(this.thyAvatar)) {\n <ng-template [ngTemplateOutlet]=\"thyAvatar\"></ng-template>\n } @else {\n @if (thyAuthor || thyAvatar) {\n <div class=\"thy-comment-avatar\">\n <thy-avatar [thyName]=\"!isTemplateRef(thyAuthor) && thyAuthor\" thySize=\"28\" [thySrc]=\"thyAvatar || ''\"></thy-avatar>\n </div>\n }\n }\n\n <div class=\"thy-comment-body\">\n <div class=\"thy-comment-body-author\">\n <span class=\"thy-comment-body-author-name\">\n <ng-container *thyStringOrTemplateOutlet=\"thyAuthor\"></ng-container>\n </span>\n <span class=\"thy-comment-body-author-time\">\n <ng-container *thyStringOrTemplateOutlet=\"thyDatetime\"></ng-container>\n </span>\n </div>\n <ng-content select=\"[thyCommentContent]\"></ng-content>\n </div>\n <ng-content select=\"[thyCommentActions]\"></ng-content>\n</div>\n<div class=\"thy-comment-nested\">\n <ng-content></ng-content>\n</div>\n\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: ThyStringOrTemplateOutletDirective, selector: "[thyStringOrTemplateOutlet]", inputs: ["thyStringOrTemplateOutletContext", "thyStringOrTemplateOutlet"], exportAs: ["thyStringOrTemplateOutlet"] }, { kind: "component", type: ThyAvatar, selector: "thy-avatar", inputs: ["thyShowName", "thySrc", "thyName", "thySize", "thyShowRemove", "thyRemovable", "thyImgClass", "thyDisabled", "thyLoading", "thyFetchPriority"], outputs: ["thyOnRemove", "thyRemove", "thyError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyComment, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ThyComment, isStandalone: true, selector: "thy-comment", inputs: { thyAuthor: "thyAuthor", thyDatetime: "thyDatetime", thyAvatar: "thyAvatar" }, host: { classAttribute: "thy-comment" }, ngImport: i0, template: "<div class=\"thy-comment-inner\">\n @if (isTemplateRef(this.thyAvatar)) {\n <ng-template [ngTemplateOutlet]=\"thyAvatar\"></ng-template>\n } @else {\n @if (thyAuthor || thyAvatar) {\n <div class=\"thy-comment-avatar\">\n <thy-avatar [thyName]=\"!isTemplateRef(thyAuthor) && thyAuthor\" thySize=\"28\" [thySrc]=\"thyAvatar || ''\"></thy-avatar>\n </div>\n }\n }\n\n <div class=\"thy-comment-body\">\n <div class=\"thy-comment-body-author\">\n <span class=\"thy-comment-body-author-name\">\n <ng-container *thyStringOrTemplateOutlet=\"thyAuthor\"></ng-container>\n </span>\n <span class=\"thy-comment-body-author-time\">\n <ng-container *thyStringOrTemplateOutlet=\"thyDatetime\"></ng-container>\n </span>\n </div>\n <ng-content select=\"[thyCommentContent]\"></ng-content>\n </div>\n <ng-content select=\"[thyCommentActions]\"></ng-content>\n</div>\n<div class=\"thy-comment-nested\">\n <ng-content></ng-content>\n</div>\n\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: ThyStringOrTemplateOutletDirective, selector: "[thyStringOrTemplateOutlet]", inputs: ["thyStringOrTemplateOutletContext", "thyStringOrTemplateOutlet"], exportAs: ["thyStringOrTemplateOutlet"] }, { kind: "component", type: ThyAvatar, selector: "thy-avatar", inputs: ["thyShowName", "thySrc", "thyName", "thySize", "thyShowRemove", "thyRemovable", "thyImgClass", "thyDisabled", "thyLoading", "thyFetchPriority"], outputs: ["thyOnRemove", "thyRemove", "thyError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyComment, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyComment, decorators: [{
21
21
  type: Component,
22
22
  args: [{ selector: 'thy-comment', host: {
23
23
  class: 'thy-comment'
@@ -34,10 +34,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
34
34
  * @private
35
35
  */
36
36
  class ThyCommentContentDirective {
37
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
38
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyCommentContentDirective, isStandalone: true, selector: "[thyCommentContent]", host: { classAttribute: "thy-comment-content" }, exportAs: ["thyCommentContent"], ngImport: i0 }); }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
38
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ThyCommentContentDirective, isStandalone: true, selector: "[thyCommentContent]", host: { classAttribute: "thy-comment-content" }, exportAs: ["thyCommentContent"], ngImport: i0 }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentContentDirective, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentContentDirective, decorators: [{
41
41
  type: Directive,
42
42
  args: [{
43
43
  selector: '[thyCommentContent]',
@@ -51,10 +51,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
51
51
  * @private
52
52
  */
53
53
  class ThyCommentActionsDirective {
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyCommentActionsDirective, isStandalone: true, selector: "[thyCommentActions]", host: { classAttribute: "thy-comment-actions" }, exportAs: ["thyCommentActions"], ngImport: i0 }); }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ThyCommentActionsDirective, isStandalone: true, selector: "[thyCommentActions]", host: { classAttribute: "thy-comment-actions" }, exportAs: ["thyCommentActions"], ngImport: i0 }); }
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentActionsDirective, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentActionsDirective, decorators: [{
58
58
  type: Directive,
59
59
  args: [{
60
60
  selector: '[thyCommentActions]',
@@ -65,21 +65,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
65
65
  }] });
66
66
 
67
67
  class ThyCommentModule {
68
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
69
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentModule, imports: [CommonModule,
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
69
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentModule, imports: [CommonModule,
70
70
  ThySharedModule,
71
71
  ThyIconModule,
72
72
  ThyAvatarModule,
73
73
  ThyComment,
74
74
  ThyCommentContentDirective,
75
75
  ThyCommentActionsDirective], exports: [ThyComment, ThyCommentContentDirective, ThyCommentActionsDirective] }); }
76
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentModule, imports: [CommonModule,
76
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentModule, imports: [CommonModule,
77
77
  ThySharedModule,
78
78
  ThyIconModule,
79
79
  ThyAvatarModule,
80
80
  ThyComment] }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCommentModule, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCommentModule, decorators: [{
83
83
  type: NgModule,
84
84
  args: [{
85
85
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-comment.mjs","sources":["../../../src/comment/comment.component.ts","../../../src/comment/comment.component.html","../../../src/comment/comment-content.directive.ts","../../../src/comment/comment-actions.directive.ts","../../../src/comment/comment.module.ts","../../../src/comment/ngx-tethys-comment.ts"],"sourcesContent":["import { isTemplateRef } from 'ngx-tethys/util';\nimport { SafeAny } from 'ngx-tethys/types';\nimport { ChangeDetectionStrategy, Component, Input, TemplateRef } from '@angular/core';\nimport { ThyAvatar } from 'ngx-tethys/avatar';\nimport { ThyStringOrTemplateOutletDirective } from 'ngx-tethys/shared';\nimport { NgTemplateOutlet } from '@angular/common';\n\n/**\n * 评论组件\n * @name thy-comment\n */\n@Component({\n selector: 'thy-comment',\n templateUrl: './comment.component.html',\n host: {\n class: 'thy-comment'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgTemplateOutlet, ThyStringOrTemplateOutletDirective, ThyAvatar]\n})\nexport class ThyComment {\n /**\n * 展示评论作者\n */\n @Input() thyAuthor?: string | TemplateRef<SafeAny>;\n\n /**\n * 展示评论时间\n */\n @Input() thyDatetime?: string | TemplateRef<SafeAny>;\n\n /**\n * 展示评论作者头像\n */\n @Input() thyAvatar?: string | TemplateRef<SafeAny>;\n\n isTemplateRef = isTemplateRef;\n}\n","<div class=\"thy-comment-inner\">\n @if (isTemplateRef(this.thyAvatar)) {\n <ng-template [ngTemplateOutlet]=\"thyAvatar\"></ng-template>\n } @else {\n @if (thyAuthor || thyAvatar) {\n <div class=\"thy-comment-avatar\">\n <thy-avatar [thyName]=\"!isTemplateRef(thyAuthor) && thyAuthor\" thySize=\"28\" [thySrc]=\"thyAvatar || ''\"></thy-avatar>\n </div>\n }\n }\n\n <div class=\"thy-comment-body\">\n <div class=\"thy-comment-body-author\">\n <span class=\"thy-comment-body-author-name\">\n <ng-container *thyStringOrTemplateOutlet=\"thyAuthor\"></ng-container>\n </span>\n <span class=\"thy-comment-body-author-time\">\n <ng-container *thyStringOrTemplateOutlet=\"thyDatetime\"></ng-container>\n </span>\n </div>\n <ng-content select=\"[thyCommentContent]\"></ng-content>\n </div>\n <ng-content select=\"[thyCommentActions]\"></ng-content>\n</div>\n<div class=\"thy-comment-nested\">\n <ng-content></ng-content>\n</div>\n\n","import { Directive } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCommentContent]',\n exportAs: 'thyCommentContent',\n host: { class: 'thy-comment-content' },\n standalone: true\n})\nexport class ThyCommentContentDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCommentActions]',\n exportAs: 'thyCommentActions',\n host: { class: 'thy-comment-actions' },\n standalone: true\n})\nexport class ThyCommentActionsDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyComment } from './comment.component';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyAvatarModule } from 'ngx-tethys/avatar';\nimport { ThyCommentContentDirective } from './comment-content.directive';\nimport { ThyCommentActionsDirective } from './comment-actions.directive';\n@NgModule({\n imports: [\n CommonModule,\n ThySharedModule,\n ThyIconModule,\n ThyAvatarModule,\n ThyComment,\n ThyCommentContentDirective,\n ThyCommentActionsDirective\n ],\n exports: [ThyComment, ThyCommentContentDirective, ThyCommentActionsDirective],\n providers: []\n})\nexport class ThyCommentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA;;;AAGG;MAWU,UAAU,CAAA;AAVvB,IAAA,WAAA,GAAA;QA0BI,IAAa,CAAA,aAAA,GAAG,aAAa,CAAC;AACjC,KAAA;8GAjBY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAU,wMCrBvB,y+BA4BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDTc,gBAAgB,EAAE,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,kCAAkC,4LAAE,SAAS,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,cAAA,EAAA,aAAA,EAAA,aAAA,EAAA,YAAA,EAAA,kBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,WA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;YACZ,eAAe;YACf,aAAa;YACb,eAAe;YACf,UAAU,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAOL,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAb5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,eAAe;wBACf,aAAa;wBACb,eAAe;wBACf,UAAU;wBACV,0BAA0B;wBAC1B,0BAA0B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,0BAA0B,EAAE,0BAA0B,CAAC;AAC7E,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-tethys-comment.mjs","sources":["../../../src/comment/comment.component.ts","../../../src/comment/comment.component.html","../../../src/comment/comment-content.directive.ts","../../../src/comment/comment-actions.directive.ts","../../../src/comment/comment.module.ts","../../../src/comment/ngx-tethys-comment.ts"],"sourcesContent":["import { isTemplateRef } from 'ngx-tethys/util';\nimport { SafeAny } from 'ngx-tethys/types';\nimport { ChangeDetectionStrategy, Component, Input, TemplateRef } from '@angular/core';\nimport { ThyAvatar } from 'ngx-tethys/avatar';\nimport { ThyStringOrTemplateOutletDirective } from 'ngx-tethys/shared';\nimport { NgTemplateOutlet } from '@angular/common';\n\n/**\n * 评论组件\n * @name thy-comment\n */\n@Component({\n selector: 'thy-comment',\n templateUrl: './comment.component.html',\n host: {\n class: 'thy-comment'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgTemplateOutlet, ThyStringOrTemplateOutletDirective, ThyAvatar]\n})\nexport class ThyComment {\n /**\n * 展示评论作者\n */\n @Input() thyAuthor?: string | TemplateRef<SafeAny>;\n\n /**\n * 展示评论时间\n */\n @Input() thyDatetime?: string | TemplateRef<SafeAny>;\n\n /**\n * 展示评论作者头像\n */\n @Input() thyAvatar?: string | TemplateRef<SafeAny>;\n\n isTemplateRef = isTemplateRef;\n}\n","<div class=\"thy-comment-inner\">\n @if (isTemplateRef(this.thyAvatar)) {\n <ng-template [ngTemplateOutlet]=\"thyAvatar\"></ng-template>\n } @else {\n @if (thyAuthor || thyAvatar) {\n <div class=\"thy-comment-avatar\">\n <thy-avatar [thyName]=\"!isTemplateRef(thyAuthor) && thyAuthor\" thySize=\"28\" [thySrc]=\"thyAvatar || ''\"></thy-avatar>\n </div>\n }\n }\n\n <div class=\"thy-comment-body\">\n <div class=\"thy-comment-body-author\">\n <span class=\"thy-comment-body-author-name\">\n <ng-container *thyStringOrTemplateOutlet=\"thyAuthor\"></ng-container>\n </span>\n <span class=\"thy-comment-body-author-time\">\n <ng-container *thyStringOrTemplateOutlet=\"thyDatetime\"></ng-container>\n </span>\n </div>\n <ng-content select=\"[thyCommentContent]\"></ng-content>\n </div>\n <ng-content select=\"[thyCommentActions]\"></ng-content>\n</div>\n<div class=\"thy-comment-nested\">\n <ng-content></ng-content>\n</div>\n\n","import { Directive } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCommentContent]',\n exportAs: 'thyCommentContent',\n host: { class: 'thy-comment-content' },\n standalone: true\n})\nexport class ThyCommentContentDirective {}\n","import { Directive } from '@angular/core';\n\n/**\n * @private\n */\n@Directive({\n selector: '[thyCommentActions]',\n exportAs: 'thyCommentActions',\n host: { class: 'thy-comment-actions' },\n standalone: true\n})\nexport class ThyCommentActionsDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyComment } from './comment.component';\nimport { ThyIconModule } from 'ngx-tethys/icon';\nimport { ThyAvatarModule } from 'ngx-tethys/avatar';\nimport { ThyCommentContentDirective } from './comment-content.directive';\nimport { ThyCommentActionsDirective } from './comment-actions.directive';\n@NgModule({\n imports: [\n CommonModule,\n ThySharedModule,\n ThyIconModule,\n ThyAvatarModule,\n ThyComment,\n ThyCommentContentDirective,\n ThyCommentActionsDirective\n ],\n exports: [ThyComment, ThyCommentContentDirective, ThyCommentActionsDirective],\n providers: []\n})\nexport class ThyCommentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA;;;AAGG;MAWU,UAAU,CAAA;AAVvB,IAAA,WAAA,GAAA;QA0BI,IAAa,CAAA,aAAA,GAAG,aAAa,CAAC;AACjC,KAAA;+GAjBY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,UAAU,wMCrBvB,y+BA4BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDTc,gBAAgB,EAAE,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,kCAAkC,4LAAE,SAAS,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,eAAA,EAAA,cAAA,EAAA,aAAA,EAAA,aAAA,EAAA,YAAA,EAAA,kBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,WAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAEhE,UAAU,EAAA,UAAA,EAAA,CAAA;kBAVtB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAEjB,IAAA,EAAA;AACF,wBAAA,KAAK,EAA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BAA0B;wBAC1B,0BAA0B;AAC7B,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,0BAA0B,EAAE,0BAA0B,CAAC;AAC7E,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
@@ -72,10 +72,10 @@ class ThyCopyDirective {
72
72
  ngOnDestroy() {
73
73
  this.tooltipDirective.hide();
74
74
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
76
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.0", type: ThyCopyDirective, isStandalone: true, selector: "[thyCopy]", inputs: { thyCopySuccessText: "thyCopySuccessText", thyCopyTips: "thyCopyTips", thyCopyTipsOffset: "thyCopyTipsOffset", thyCopyContent: "thyCopyContent", thyShowNotify: ["thyShowNotify", "thyShowNotify", coerceBooleanProperty] }, outputs: { thyCopy: "thyCopy" }, host: { listeners: { "click": "onClick($event)" } }, hostDirectives: [{ directive: i1.ThyTooltipDirective }], ngImport: i0 }); }
75
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
76
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.2.13", type: ThyCopyDirective, isStandalone: true, selector: "[thyCopy]", inputs: { thyCopySuccessText: "thyCopySuccessText", thyCopyTips: "thyCopyTips", thyCopyTipsOffset: "thyCopyTipsOffset", thyCopyContent: "thyCopyContent", thyShowNotify: ["thyShowNotify", "thyShowNotify", coerceBooleanProperty] }, outputs: { thyCopy: "thyCopy" }, host: { listeners: { "click": "onClick($event)" } }, hostDirectives: [{ directive: i1.ThyTooltipDirective }], ngImport: i0 }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyDirective, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyDirective, decorators: [{
79
79
  type: Directive,
80
80
  args: [{
81
81
  selector: '[thyCopy]',
@@ -101,11 +101,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
101
101
  }] } });
102
102
 
103
103
  class ThyCopyModule {
104
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
105
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyModule, imports: [CommonModule, ThyNotifyModule, ThyCopyDirective], exports: [ThyCopyDirective] }); }
106
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyModule, imports: [CommonModule, ThyNotifyModule] }); }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
105
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyModule, imports: [CommonModule, ThyNotifyModule, ThyCopyDirective], exports: [ThyCopyDirective] }); }
106
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyModule, imports: [CommonModule, ThyNotifyModule] }); }
107
107
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyCopyModule, decorators: [{
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyCopyModule, decorators: [{
109
109
  type: NgModule,
110
110
  args: [{
111
111
  imports: [CommonModule, ThyNotifyModule, ThyCopyDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-tethys-copy.mjs","sources":["../../../src/copy/copy.directive.ts","../../../src/copy/module.ts","../../../src/copy/ngx-tethys-copy.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, HostListener, Input, OnDestroy, OnInit, Output, Signal, inject } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { coerceElement } from '@angular/cdk/coercion';\nimport { ThyNotifyService } from 'ngx-tethys/notify';\nimport { ThyTooltipDirective } from 'ngx-tethys/tooltip';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\nimport { injectLocale, ThyCopyLocale } from 'ngx-tethys/i18n';\n\nexport interface ThyCopyEvent {\n isSuccess: boolean;\n event: Event;\n}\n\n/**\n * @name thyCopy\n */\n@Directive({\n selector: '[thyCopy]',\n hostDirectives: [ThyTooltipDirective],\n standalone: true\n})\nexport class ThyCopyDirective implements OnInit, OnDestroy {\n private document = inject(DOCUMENT);\n tooltipDirective = inject(ThyTooltipDirective);\n private notifyService = inject(ThyNotifyService);\n private locale: Signal<ThyCopyLocale> = injectLocale('copy');\n\n /**\n * 默认为点击标签,可传复制目标标签\n */\n @Output() thyCopy = new EventEmitter<ThyCopyEvent>();\n\n /**\n * 复制成功时的文案\n */\n @Input() thyCopySuccessText = this.locale().success;\n\n /**\n * 提示文案\n */\n @Input() thyCopyTips = this.locale().tips;\n\n /**\n * 偏移量\n */\n @Input() thyCopyTipsOffset: number;\n\n /**\n * 当为 string 时,复制的是传入的内容;当为 ElementRef | HTMLElement 时,复制的是 dom 节点的 value 或者 textContent\n */\n @Input() thyCopyContent: string | ElementRef | HTMLElement;\n\n /**\n * 是否展示通知\n */\n @Input({ transform: coerceBooleanProperty }) thyShowNotify = true;\n\n ngOnInit() {\n this.tooltipDirective.content = this.thyCopyTips ? this.thyCopyTips : this.locale().tips;\n this.tooltipDirective.tooltipOffset = this.thyCopyTipsOffset;\n }\n\n private getContent(event: Event) {\n if (typeof this.thyCopyContent === 'string') {\n return this.thyCopyContent;\n } else {\n const target = this.thyCopyContent ? coerceElement(this.thyCopyContent) : event.target;\n return target.value || target.textContent;\n }\n }\n\n @HostListener('click', ['$event'])\n public onClick(event: Event) {\n const textarea = this.document.createElement('textarea');\n this.document.body.appendChild(textarea);\n textarea.value = this.getContent(event);\n textarea.select();\n try {\n document.execCommand('copy', false, null);\n this.thyCopy.emit({ isSuccess: true, event });\n if (this.thyShowNotify) {\n this.notifyService.success(this.thyCopySuccessText);\n }\n } catch (err) {\n this.thyCopy.emit({ isSuccess: false, event });\n if (this.thyShowNotify) {\n this.notifyService.error(this.locale().error);\n }\n } finally {\n textarea.remove();\n }\n }\n\n ngOnDestroy() {\n this.tooltipDirective.hide();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyCopyDirective } from './copy.directive';\nimport { ThyNotifyModule } from 'ngx-tethys/notify';\n\n@NgModule({\n imports: [CommonModule, ThyNotifyModule, ThyCopyDirective],\n exports: [ThyCopyDirective]\n})\nexport class ThyCopyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAaA;;AAEG;MAMU,gBAAgB,CAAA;AAL7B,IAAA,WAAA,GAAA;AAMY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,MAAM,GAA0B,YAAY,CAAC,MAAM,CAAC,CAAC;AAE7D;;AAEG;AACO,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,YAAY,E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}
1
+ {"version":3,"file":"ngx-tethys-copy.mjs","sources":["../../../src/copy/copy.directive.ts","../../../src/copy/module.ts","../../../src/copy/ngx-tethys-copy.ts"],"sourcesContent":["import { Directive, ElementRef, EventEmitter, HostListener, Input, OnDestroy, OnInit, Output, Signal, inject } from '@angular/core';\nimport { DOCUMENT } from '@angular/common';\nimport { coerceElement } from '@angular/cdk/coercion';\nimport { ThyNotifyService } from 'ngx-tethys/notify';\nimport { ThyTooltipDirective } from 'ngx-tethys/tooltip';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\nimport { injectLocale, ThyCopyLocale } from 'ngx-tethys/i18n';\n\nexport interface ThyCopyEvent {\n isSuccess: boolean;\n event: Event;\n}\n\n/**\n * @name thyCopy\n */\n@Directive({\n selector: '[thyCopy]',\n hostDirectives: [ThyTooltipDirective],\n standalone: true\n})\nexport class ThyCopyDirective implements OnInit, OnDestroy {\n private document = inject(DOCUMENT);\n tooltipDirective = inject(ThyTooltipDirective);\n private notifyService = inject(ThyNotifyService);\n private locale: Signal<ThyCopyLocale> = injectLocale('copy');\n\n /**\n * 默认为点击标签,可传复制目标标签\n */\n @Output() thyCopy = new EventEmitter<ThyCopyEvent>();\n\n /**\n * 复制成功时的文案\n */\n @Input() thyCopySuccessText = this.locale().success;\n\n /**\n * 提示文案\n */\n @Input() thyCopyTips = this.locale().tips;\n\n /**\n * 偏移量\n */\n @Input() thyCopyTipsOffset: number;\n\n /**\n * 当为 string 时,复制的是传入的内容;当为 ElementRef | HTMLElement 时,复制的是 dom 节点的 value 或者 textContent\n */\n @Input() thyCopyContent: string | ElementRef | HTMLElement;\n\n /**\n * 是否展示通知\n */\n @Input({ transform: coerceBooleanProperty }) thyShowNotify = true;\n\n ngOnInit() {\n this.tooltipDirective.content = this.thyCopyTips ? this.thyCopyTips : this.locale().tips;\n this.tooltipDirective.tooltipOffset = this.thyCopyTipsOffset;\n }\n\n private getContent(event: Event) {\n if (typeof this.thyCopyContent === 'string') {\n return this.thyCopyContent;\n } else {\n const target = this.thyCopyContent ? coerceElement(this.thyCopyContent) : event.target;\n return target.value || target.textContent;\n }\n }\n\n @HostListener('click', ['$event'])\n public onClick(event: Event) {\n const textarea = this.document.createElement('textarea');\n this.document.body.appendChild(textarea);\n textarea.value = this.getContent(event);\n textarea.select();\n try {\n document.execCommand('copy', false, null);\n this.thyCopy.emit({ isSuccess: true, event });\n if (this.thyShowNotify) {\n this.notifyService.success(this.thyCopySuccessText);\n }\n } catch (err) {\n this.thyCopy.emit({ isSuccess: false, event });\n if (this.thyShowNotify) {\n this.notifyService.error(this.locale().error);\n }\n } finally {\n textarea.remove();\n }\n }\n\n ngOnDestroy() {\n this.tooltipDirective.hide();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyCopyDirective } from './copy.directive';\nimport { ThyNotifyModule } from 'ngx-tethys/notify';\n\n@NgModule({\n imports: [CommonModule, ThyNotifyModule, ThyCopyDirective],\n exports: [ThyCopyDirective]\n})\nexport class ThyCopyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAaA;;AAEG;MAMU,gBAAgB,CAAA;AAL7B,IAAA,WAAA,GAAA;AAMY,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,MAAM,GAA0B,YAAY,CAAC,MAAM,CAAC,CAAC;AAE7D;;AAEG;AACO,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,YAAY,EAAgB,CAAC;AAErD;;AAEG;AACM,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC;AAEpD;;AAEG;AACM,QAAA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import { coerceBooleanProperty, coerceCssPixelValue, coerceNumberValue, dom, TinyDate, isNumber, ESCAPE, keyBy, coerceArray, concatArray, helpers } from 'ngx-tethys/util';
2
2
  import { coerceBooleanProperty as coerceBooleanProperty$1, coerceNumberProperty } from '@angular/cdk/coercion';
3
3
  import { Subject, fromEvent, Observable, of, throwError, BehaviorSubject, from } from 'rxjs';
4
4
  import { FocusMonitor } from '@angular/cdk/a11y';
@@ -246,10 +246,10 @@ class ThyClickPositioner {
246
246
  this.lastPosition = { x: event.clientX, y: event.clientY };
247
247
  });
248
248
  }
249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyClickPositioner, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
250
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyClickPositioner, providedIn: 'root' }); }
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyClickPositioner, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
250
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyClickPositioner, providedIn: 'root' }); }
251
251
  }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyClickPositioner, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyClickPositioner, decorators: [{
253
253
  type: Injectable,
254
254
  args: [{
255
255
  providedIn: 'root'
@@ -260,7 +260,7 @@ const availablePrefixes = ['moz', 'ms', 'webkit'];
260
260
  function requestAnimationFramePolyfill() {
261
261
  let lastTime = 0;
262
262
  return function (callback) {
263
- const currTime = new Date().getTime();
263
+ const currTime = new TinyDate().getTime();
264
264
  const timeToCall = Math.max(0, 16 - (currTime - lastTime));
265
265
  const id = setTimeout(() => {
266
266
  callback(currTime + timeToCall);
@@ -365,10 +365,10 @@ class ThyScrollService {
365
365
  // `document.scrollTop` doesn't require Angular to run `ApplicationRef.tick()`.
366
366
  this.ngZone.runOutsideAngular(() => reqAnimFrame(frameFunc));
367
367
  }
368
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
369
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyScrollService, providedIn: 'root' }); }
368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyScrollService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
369
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyScrollService, providedIn: 'root' }); }
370
370
  }
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyScrollService, decorators: [{
371
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyScrollService, decorators: [{
372
372
  type: Injectable,
373
373
  args: [{
374
374
  providedIn: 'root'
@@ -517,10 +517,10 @@ class ThyThemeStore {
517
517
  }
518
518
  }
519
519
  }
520
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyThemeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
521
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyThemeStore, providedIn: 'root' }); }
520
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyThemeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
521
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyThemeStore, providedIn: 'root' }); }
522
522
  }
523
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyThemeStore, decorators: [{
523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyThemeStore, decorators: [{
524
524
  type: Injectable,
525
525
  args: [{
526
526
  providedIn: 'root'
@@ -1322,10 +1322,10 @@ class ThyPortalOutlet extends CdkPortalOutlet {
1322
1322
  this.attached.emit(ref);
1323
1323
  return ref;
1324
1324
  }
1325
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyPortalOutlet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1326
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyPortalOutlet, isStandalone: true, selector: "[thyPortalOutlet]", inputs: { portal: ["thyPortalOutlet", "portal"] }, exportAs: ["thyPortalOutlet"], usesInheritance: true, ngImport: i0 }); }
1325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyPortalOutlet, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1326
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ThyPortalOutlet, isStandalone: true, selector: "[thyPortalOutlet]", inputs: { portal: ["thyPortalOutlet", "portal"] }, exportAs: ["thyPortalOutlet"], usesInheritance: true, ngImport: i0 }); }
1327
1327
  }
1328
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyPortalOutlet, decorators: [{
1328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyPortalOutlet, decorators: [{
1329
1329
  type: Directive,
1330
1330
  args: [{
1331
1331
  selector: '[thyPortalOutlet]',
@@ -1386,10 +1386,10 @@ class UpdateHostClassService {
1386
1386
  this.renderer.removeClass(this._hostElement, className);
1387
1387
  return this;
1388
1388
  }
1389
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateHostClassService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1390
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateHostClassService }); }
1389
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UpdateHostClassService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1390
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UpdateHostClassService }); }
1391
1391
  }
1392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateHostClassService, decorators: [{
1392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UpdateHostClassService, decorators: [{
1393
1393
  type: Injectable
1394
1394
  }] });
1395
1395
 
@@ -1402,10 +1402,10 @@ class ThyTranslate {
1402
1402
  observer.next(key);
1403
1403
  });
1404
1404
  }
1405
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyTranslate, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1406
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyTranslate, providedIn: 'root' }); }
1405
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyTranslate, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1406
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyTranslate, providedIn: 'root' }); }
1407
1407
  }
1408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyTranslate, decorators: [{
1408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ThyTranslate, decorators: [{
1409
1409
  type: Injectable,
1410
1410
  args: [{
1411
1411
  providedIn: 'root'
@@ -1588,8 +1588,8 @@ class MiniStore {
1588
1588
  const name = this.constructor.name || /function (.+)\(/.exec(this.constructor + '')[1];
1589
1589
  return name;
1590
1590
  }
1591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MiniStore, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1592
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: MiniStore, ngImport: i0 }); }
1591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MiniStore, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
1592
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: MiniStore, ngImport: i0 }); }
1593
1593
  }
1594
1594
  __decorate([
1595
1595
  MiniAction(),
@@ -1597,7 +1597,7 @@ __decorate([
1597
1597
  __metadata("design:paramtypes", []),
1598
1598
  __metadata("design:returntype", void 0)
1599
1599
  ], MiniStore.prototype, "clearState", null);
1600
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MiniStore, decorators: [{
1600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MiniStore, decorators: [{
1601
1601
  type: Directive
1602
1602
  }], ctorParameters: () => [{ type: undefined }], propDecorators: { clearState: [] } });
1603
1603