@ng-nest/ui 19.0.9 → 20.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (699) hide show
  1. package/README.md +1 -1
  2. package/affix/index.d.ts +58 -3
  3. package/alert/index.d.ts +424 -3
  4. package/anchor/index.d.ts +186 -3
  5. package/api/index.d.ts +20 -3
  6. package/auto-complete/index.d.ts +454 -3
  7. package/avatar/index.d.ts +198 -3
  8. package/back-top/index.d.ts +75 -3
  9. package/badge/index.d.ts +153 -3
  10. package/base-form/index.d.ts +248 -3
  11. package/button/index.d.ts +380 -3
  12. package/calendar/index.d.ts +194 -3
  13. package/card/index.d.ts +99 -3
  14. package/carousel/index.d.ts +328 -3
  15. package/cascade/index.d.ts +459 -3
  16. package/checkbox/index.d.ts +351 -3
  17. package/collapse/index.d.ts +198 -3
  18. package/color/index.d.ts +80 -3
  19. package/color-picker/index.d.ts +484 -3
  20. package/comment/index.d.ts +158 -3
  21. package/container/index.d.ts +143 -3
  22. package/core/index.d.ts +1900 -3
  23. package/crumb/index.d.ts +91 -3
  24. package/date-picker/index.d.ts +2081 -3
  25. package/description/index.d.ts +234 -3
  26. package/dialog/index.d.ts +525 -3
  27. package/doc/index.d.ts +20 -3
  28. package/drag/index.d.ts +45 -3
  29. package/drawer/index.d.ts +244 -3
  30. package/dropdown/index.d.ts +201 -3
  31. package/empty/index.d.ts +60 -3
  32. package/examples/index.d.ts +20 -3
  33. package/fesm2022/ng-nest-ui-affix.mjs +11 -11
  34. package/fesm2022/ng-nest-ui-alert.mjs +11 -11
  35. package/fesm2022/ng-nest-ui-anchor.mjs +17 -17
  36. package/fesm2022/ng-nest-ui-api.mjs +8 -8
  37. package/fesm2022/ng-nest-ui-auto-complete.mjs +14 -14
  38. package/fesm2022/ng-nest-ui-avatar.mjs +17 -17
  39. package/fesm2022/ng-nest-ui-back-top.mjs +11 -11
  40. package/fesm2022/ng-nest-ui-badge.mjs +11 -11
  41. package/fesm2022/ng-nest-ui-base-form.mjs +7 -7
  42. package/fesm2022/ng-nest-ui-button.mjs +18 -18
  43. package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
  44. package/fesm2022/ng-nest-ui-calendar.mjs +11 -11
  45. package/fesm2022/ng-nest-ui-card.mjs +11 -11
  46. package/fesm2022/ng-nest-ui-carousel.mjs +17 -17
  47. package/fesm2022/ng-nest-ui-cascade.mjs +14 -14
  48. package/fesm2022/ng-nest-ui-checkbox.mjs +11 -11
  49. package/fesm2022/ng-nest-ui-collapse.mjs +17 -17
  50. package/fesm2022/ng-nest-ui-color-picker.mjs +17 -17
  51. package/fesm2022/ng-nest-ui-color.mjs +11 -11
  52. package/fesm2022/ng-nest-ui-comment.mjs +17 -17
  53. package/fesm2022/ng-nest-ui-container.mjs +32 -32
  54. package/fesm2022/ng-nest-ui-core.mjs +19 -19
  55. package/fesm2022/ng-nest-ui-crumb.mjs +11 -11
  56. package/fesm2022/ng-nest-ui-date-picker.mjs +50 -50
  57. package/fesm2022/ng-nest-ui-description.mjs +17 -17
  58. package/fesm2022/ng-nest-ui-dialog.mjs +41 -41
  59. package/fesm2022/ng-nest-ui-doc.mjs +8 -8
  60. package/fesm2022/ng-nest-ui-drag.mjs +10 -10
  61. package/fesm2022/ng-nest-ui-drawer.mjs +32 -32
  62. package/fesm2022/ng-nest-ui-dropdown.mjs +14 -14
  63. package/fesm2022/ng-nest-ui-empty.mjs +11 -11
  64. package/fesm2022/ng-nest-ui-examples.mjs +8 -8
  65. package/fesm2022/ng-nest-ui-find.mjs +11 -11
  66. package/fesm2022/ng-nest-ui-form.mjs +17 -17
  67. package/fesm2022/ng-nest-ui-highlight.mjs +14 -14
  68. package/fesm2022/ng-nest-ui-i18n.mjs +13 -13
  69. package/fesm2022/ng-nest-ui-icon.mjs +18 -15
  70. package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
  71. package/fesm2022/ng-nest-ui-image.mjs +20 -20
  72. package/fesm2022/ng-nest-ui-inner.mjs +11 -11
  73. package/fesm2022/ng-nest-ui-input-number.mjs +11 -11
  74. package/fesm2022/ng-nest-ui-input.mjs +17 -17
  75. package/fesm2022/ng-nest-ui-keyword.mjs +10 -10
  76. package/fesm2022/ng-nest-ui-layout.mjs +17 -17
  77. package/fesm2022/ng-nest-ui-link.mjs +11 -11
  78. package/fesm2022/ng-nest-ui-list.mjs +24 -24
  79. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  80. package/fesm2022/ng-nest-ui-loading.mjs +11 -11
  81. package/fesm2022/ng-nest-ui-menu.mjs +17 -17
  82. package/fesm2022/ng-nest-ui-message-box.mjs +11 -11
  83. package/fesm2022/ng-nest-ui-message.mjs +11 -11
  84. package/fesm2022/ng-nest-ui-notification.mjs +11 -11
  85. package/fesm2022/ng-nest-ui-outlet.mjs +7 -7
  86. package/fesm2022/ng-nest-ui-page-header.mjs +11 -11
  87. package/fesm2022/ng-nest-ui-pagination.mjs +11 -11
  88. package/fesm2022/ng-nest-ui-pattern.mjs +8 -8
  89. package/fesm2022/ng-nest-ui-popconfirm.mjs +11 -11
  90. package/fesm2022/ng-nest-ui-popover.mjs +14 -14
  91. package/fesm2022/ng-nest-ui-portal.mjs +8 -8
  92. package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
  93. package/fesm2022/ng-nest-ui-progress.mjs +11 -11
  94. package/fesm2022/ng-nest-ui-radio.mjs +11 -11
  95. package/fesm2022/ng-nest-ui-rate.mjs +11 -11
  96. package/fesm2022/ng-nest-ui-resizable.mjs +11 -11
  97. package/fesm2022/ng-nest-ui-result.mjs +11 -11
  98. package/fesm2022/ng-nest-ui-ripple.mjs +10 -10
  99. package/fesm2022/ng-nest-ui-select.mjs +14 -14
  100. package/fesm2022/ng-nest-ui-skeleton.mjs +11 -11
  101. package/fesm2022/ng-nest-ui-slider-select.mjs +11 -11
  102. package/fesm2022/ng-nest-ui-slider.mjs +11 -11
  103. package/fesm2022/ng-nest-ui-statistic.mjs +17 -17
  104. package/fesm2022/ng-nest-ui-steps.mjs +11 -11
  105. package/fesm2022/ng-nest-ui-switch.mjs +11 -11
  106. package/fesm2022/ng-nest-ui-table.mjs +28 -28
  107. package/fesm2022/ng-nest-ui-tabs.mjs +26 -26
  108. package/fesm2022/ng-nest-ui-tag.mjs +11 -11
  109. package/fesm2022/ng-nest-ui-text-retract.mjs +11 -11
  110. package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
  111. package/fesm2022/ng-nest-ui-theme.mjs +11 -11
  112. package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
  113. package/fesm2022/ng-nest-ui-time-picker.mjs +17 -17
  114. package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
  115. package/fesm2022/ng-nest-ui-timeline.mjs +11 -11
  116. package/fesm2022/ng-nest-ui-tooltip.mjs +14 -14
  117. package/fesm2022/ng-nest-ui-transfer.mjs +11 -11
  118. package/fesm2022/ng-nest-ui-tree-file.mjs +11 -11
  119. package/fesm2022/ng-nest-ui-tree-select.mjs +14 -14
  120. package/fesm2022/ng-nest-ui-tree.mjs +20 -20
  121. package/fesm2022/ng-nest-ui-typography.mjs +11 -11
  122. package/fesm2022/ng-nest-ui-upload.mjs +14 -14
  123. package/find/index.d.ts +625 -3
  124. package/form/index.d.ts +556 -3
  125. package/highlight/index.d.ts +107 -3
  126. package/i18n/index.d.ts +9399 -3
  127. package/icon/index.d.ts +134 -3
  128. package/image/index.d.ts +282 -3
  129. package/index.d.ts +0 -21
  130. package/inner/index.d.ts +38 -3
  131. package/input/index.d.ts +615 -3
  132. package/input-number/index.d.ts +352 -3
  133. package/keyword/index.d.ts +61 -3
  134. package/layout/index.d.ts +171 -3
  135. package/link/index.d.ts +128 -3
  136. package/list/index.d.ts +482 -3
  137. package/loading/index.d.ts +92 -3
  138. package/menu/index.d.ts +206 -3
  139. package/message/index.d.ts +192 -3
  140. package/message-box/index.d.ts +234 -3
  141. package/notification/index.d.ts +136 -3
  142. package/outlet/index.d.ts +28 -3
  143. package/package.json +33 -33
  144. package/page-header/index.d.ts +61 -3
  145. package/pagination/index.d.ts +212 -3
  146. package/pattern/index.d.ts +20 -3
  147. package/popconfirm/index.d.ts +124 -3
  148. package/popover/index.d.ts +163 -3
  149. package/portal/index.d.ts +157 -3
  150. package/progress/index.d.ts +191 -3
  151. package/radio/index.d.ts +313 -3
  152. package/rate/index.d.ts +231 -3
  153. package/resizable/index.d.ts +155 -3
  154. package/result/index.d.ts +61 -3
  155. package/ripple/index.d.ts +67 -3
  156. package/select/index.d.ts +633 -3
  157. package/skeleton/index.d.ts +132 -3
  158. package/slider/index.d.ts +188 -3
  159. package/slider-select/index.d.ts +386 -3
  160. package/statistic/index.d.ts +129 -3
  161. package/steps/index.d.ts +101 -3
  162. package/switch/index.d.ts +223 -3
  163. package/table/index.d.ts +1076 -3
  164. package/tabs/index.d.ts +238 -3
  165. package/tag/index.d.ts +99 -3
  166. package/text-retract/index.d.ts +45 -3
  167. package/textarea/index.d.ts +340 -3
  168. package/theme/index.d.ts +152 -3
  169. package/time-ago/index.d.ts +32 -3
  170. package/time-picker/index.d.ts +615 -3
  171. package/time-range/index.d.ts +24 -3
  172. package/timeline/index.d.ts +108 -3
  173. package/tooltip/index.d.ts +154 -3
  174. package/transfer/index.d.ts +340 -3
  175. package/tree/index.d.ts +601 -3
  176. package/tree-file/index.d.ts +167 -3
  177. package/tree-select/index.d.ts +642 -3
  178. package/typography/index.d.ts +42 -3
  179. package/upload/index.d.ts +304 -3
  180. package/affix/affix.component.d.ts +0 -6
  181. package/affix/affix.module.d.ts +0 -7
  182. package/affix/affix.property.d.ts +0 -46
  183. package/affix/public-api.d.ts +0 -3
  184. package/alert/alert.component.d.ts +0 -21
  185. package/alert/alert.module.d.ts +0 -7
  186. package/alert/alert.property.d.ts +0 -396
  187. package/alert/public-api.d.ts +0 -3
  188. package/anchor/anchor-inner.component.d.ts +0 -6
  189. package/anchor/anchor.component.d.ts +0 -38
  190. package/anchor/anchor.module.d.ts +0 -8
  191. package/anchor/anchor.property.d.ts +0 -136
  192. package/anchor/public-api.d.ts +0 -4
  193. package/api/api.component.d.ts +0 -6
  194. package/api/api.module.d.ts +0 -7
  195. package/api/api.property.d.ts +0 -6
  196. package/api/public-api.d.ts +0 -3
  197. package/auto-complete/auto-complete-portal.component.d.ts +0 -35
  198. package/auto-complete/auto-complete.component.d.ts +0 -54
  199. package/auto-complete/auto-complete.module.d.ts +0 -7
  200. package/auto-complete/auto-complete.property.d.ts +0 -364
  201. package/auto-complete/public-api.d.ts +0 -4
  202. package/avatar/avatar-group.component.d.ts +0 -7
  203. package/avatar/avatar.component.d.ts +0 -37
  204. package/avatar/avatar.module.d.ts +0 -8
  205. package/avatar/avatar.property.d.ts +0 -149
  206. package/avatar/public-api.d.ts +0 -4
  207. package/back-top/back-top.component.d.ts +0 -25
  208. package/back-top/back-top.module.d.ts +0 -7
  209. package/back-top/back-top.property.d.ts +0 -45
  210. package/back-top/public-api.d.ts +0 -3
  211. package/badge/badge.component.d.ts +0 -14
  212. package/badge/badge.module.d.ts +0 -7
  213. package/badge/badge.property.d.ts +0 -132
  214. package/badge/public-api.d.ts +0 -3
  215. package/base-form/base-form.component.d.ts +0 -60
  216. package/base-form/base-form.module.d.ts +0 -6
  217. package/base-form/base-form.property.d.ts +0 -180
  218. package/base-form/public-api.d.ts +0 -3
  219. package/button/button.component.d.ts +0 -25
  220. package/button/button.module.d.ts +0 -8
  221. package/button/button.property.d.ts +0 -336
  222. package/button/buttons.component.d.ts +0 -13
  223. package/button/public-api.d.ts +0 -4
  224. package/calendar/calendar.component.d.ts +0 -55
  225. package/calendar/calendar.module.d.ts +0 -7
  226. package/calendar/calendar.property.d.ts +0 -132
  227. package/calendar/public-api.d.ts +0 -3
  228. package/card/card.component.d.ts +0 -9
  229. package/card/card.module.d.ts +0 -7
  230. package/card/card.property.d.ts +0 -83
  231. package/card/public-api.d.ts +0 -3
  232. package/carousel/carousel-panel.component.d.ts +0 -34
  233. package/carousel/carousel.component.d.ts +0 -33
  234. package/carousel/carousel.module.d.ts +0 -8
  235. package/carousel/carousel.property.d.ts +0 -259
  236. package/carousel/public-api.d.ts +0 -4
  237. package/cascade/cascade-portal.component.d.ts +0 -41
  238. package/cascade/cascade.component.d.ts +0 -56
  239. package/cascade/cascade.module.d.ts +0 -7
  240. package/cascade/cascade.property.d.ts +0 -359
  241. package/cascade/public-api.d.ts +0 -4
  242. package/checkbox/checkbox.component.d.ts +0 -26
  243. package/checkbox/checkbox.module.d.ts +0 -7
  244. package/checkbox/checkbox.property.d.ts +0 -319
  245. package/checkbox/public-api.d.ts +0 -3
  246. package/collapse/collapse-panel.component.d.ts +0 -16
  247. package/collapse/collapse.component.d.ts +0 -10
  248. package/collapse/collapse.module.d.ts +0 -8
  249. package/collapse/collapse.property.d.ts +0 -168
  250. package/collapse/public-api.d.ts +0 -4
  251. package/color/color.component.d.ts +0 -10
  252. package/color/color.module.d.ts +0 -7
  253. package/color/color.property.d.ts +0 -64
  254. package/color/public-api.d.ts +0 -3
  255. package/color-picker/color-map.data.d.ts +0 -3
  256. package/color-picker/color-picker-portal.component.d.ts +0 -118
  257. package/color-picker/color-picker.component.d.ts +0 -53
  258. package/color-picker/color-picker.directive.d.ts +0 -9
  259. package/color-picker/color-picker.module.d.ts +0 -8
  260. package/color-picker/color-picker.property.d.ts +0 -303
  261. package/color-picker/public-api.d.ts +0 -5
  262. package/comment/comment-reply.component.d.ts +0 -8
  263. package/comment/comment.component.d.ts +0 -14
  264. package/comment/comment.module.d.ts +0 -8
  265. package/comment/comment.property.d.ts +0 -131
  266. package/comment/public-api.d.ts +0 -4
  267. package/container/aside.component.d.ts +0 -8
  268. package/container/container.component.d.ts +0 -10
  269. package/container/container.module.d.ts +0 -11
  270. package/container/container.property.d.ts +0 -94
  271. package/container/footer.component.d.ts +0 -12
  272. package/container/header.component.d.ts +0 -12
  273. package/container/main.component.d.ts +0 -6
  274. package/container/public-api.d.ts +0 -7
  275. package/core/README.md +0 -25
  276. package/core/animation/badge.d.ts +0 -11
  277. package/core/animation/connect.d.ts +0 -11
  278. package/core/animation/consts.d.ts +0 -9
  279. package/core/animation/drop.d.ts +0 -6
  280. package/core/animation/fade.d.ts +0 -6
  281. package/core/animation/move.d.ts +0 -7
  282. package/core/animation/opacity.d.ts +0 -6
  283. package/core/animation/public-api.d.ts +0 -8
  284. package/core/animation/slide.d.ts +0 -6
  285. package/core/components/inner-html.component.d.ts +0 -9
  286. package/core/components/public-api.d.ts +0 -1
  287. package/core/config/config.d.ts +0 -620
  288. package/core/config/config.service.d.ts +0 -22
  289. package/core/config/index.d.ts +0 -1
  290. package/core/config/public-api.d.ts +0 -2
  291. package/core/functions/chunk.d.ts +0 -12
  292. package/core/functions/clone-deep.d.ts +0 -17
  293. package/core/functions/convert.d.ts +0 -90
  294. package/core/functions/csspx.d.ts +0 -5
  295. package/core/functions/date.d.ts +0 -70
  296. package/core/functions/drop.d.ts +0 -13
  297. package/core/functions/flex.d.ts +0 -7
  298. package/core/functions/group-by.d.ts +0 -5
  299. package/core/functions/guid.d.ts +0 -5
  300. package/core/functions/has-in.d.ts +0 -5
  301. package/core/functions/order-by.d.ts +0 -5
  302. package/core/functions/parent-path.d.ts +0 -10
  303. package/core/functions/property.d.ts +0 -16
  304. package/core/functions/public-api.d.ts +0 -15
  305. package/core/functions/remove.d.ts +0 -5
  306. package/core/functions/resize.d.ts +0 -19
  307. package/core/interfaces/data.type.d.ts +0 -194
  308. package/core/interfaces/identify.type.d.ts +0 -83
  309. package/core/interfaces/index.d.ts +0 -1
  310. package/core/interfaces/layout.type.d.ts +0 -169
  311. package/core/interfaces/public-api.d.ts +0 -4
  312. package/core/interfaces/result-list.type.d.ts +0 -116
  313. package/core/public-api.d.ts +0 -8
  314. package/core/services/http.service.d.ts +0 -28
  315. package/core/services/preloading-strategy.service.d.ts +0 -9
  316. package/core/services/public-api.d.ts +0 -5
  317. package/core/services/repository.service.d.ts +0 -28
  318. package/core/services/reuse-strategy.service.d.ts +0 -17
  319. package/core/services/storage.service.d.ts +0 -15
  320. package/core/theme/index.d.ts +0 -1
  321. package/core/theme/public-api.d.ts +0 -2
  322. package/core/theme/theme.d.ts +0 -73
  323. package/core/theme/theme.service.d.ts +0 -76
  324. package/core/util/animation.d.ts +0 -1
  325. package/core/util/camel-to-kebab.d.ts +0 -13
  326. package/core/util/check.d.ts +0 -10
  327. package/core/util/computed-style.d.ts +0 -10
  328. package/core/util/host.d.ts +0 -5
  329. package/core/util/html.d.ts +0 -5
  330. package/core/util/index.d.ts +0 -1
  331. package/core/util/kebab-to-camel.d.ts +0 -13
  332. package/core/util/log.d.ts +0 -10
  333. package/core/util/option.d.ts +0 -9
  334. package/core/util/public-api.d.ts +0 -10
  335. package/core/util/sleep.d.ts +0 -5
  336. package/crumb/crumb.component.d.ts +0 -7
  337. package/crumb/crumb.module.d.ts +0 -7
  338. package/crumb/crumb.property.d.ts +0 -77
  339. package/crumb/public-api.d.ts +0 -3
  340. package/date-picker/date-picker-portal.component.d.ts +0 -104
  341. package/date-picker/date-picker.component.d.ts +0 -113
  342. package/date-picker/date-picker.module.d.ts +0 -8
  343. package/date-picker/date-picker.property.d.ts +0 -1314
  344. package/date-picker/date-quarter.pipe.d.ts +0 -9
  345. package/date-picker/date-range-portal.component.d.ts +0 -135
  346. package/date-picker/date-range.component.d.ts +0 -134
  347. package/date-picker/picker-date.component.d.ts +0 -97
  348. package/date-picker/picker-month.component.d.ts +0 -86
  349. package/date-picker/picker-quarter.component.d.ts +0 -86
  350. package/date-picker/picker-year.component.d.ts +0 -32
  351. package/date-picker/public-api.d.ts +0 -11
  352. package/description/description-item.component.d.ts +0 -8
  353. package/description/description.component.d.ts +0 -15
  354. package/description/description.module.d.ts +0 -8
  355. package/description/description.property.d.ts +0 -207
  356. package/description/public-api.d.ts +0 -4
  357. package/dialog/dialog-container.component.d.ts +0 -7
  358. package/dialog/dialog-portal.component.d.ts +0 -45
  359. package/dialog/dialog-portal.directives.d.ts +0 -36
  360. package/dialog/dialog-ref.d.ts +0 -23
  361. package/dialog/dialog.component.d.ts +0 -72
  362. package/dialog/dialog.module.d.ts +0 -9
  363. package/dialog/dialog.property.d.ts +0 -338
  364. package/dialog/dialog.service.d.ts +0 -20
  365. package/dialog/public-api.d.ts +0 -8
  366. package/doc/doc.component.d.ts +0 -6
  367. package/doc/doc.module.d.ts +0 -7
  368. package/doc/doc.property.d.ts +0 -6
  369. package/doc/public-api.d.ts +0 -3
  370. package/drag/drag.directive.d.ts +0 -13
  371. package/drag/drag.module.d.ts +0 -7
  372. package/drag/drag.property.d.ts +0 -25
  373. package/drag/public-api.d.ts +0 -3
  374. package/drawer/drawer-container.component.d.ts +0 -7
  375. package/drawer/drawer-portal.component.d.ts +0 -17
  376. package/drawer/drawer-portal.directives.d.ts +0 -18
  377. package/drawer/drawer-ref.d.ts +0 -9
  378. package/drawer/drawer.component.d.ts +0 -34
  379. package/drawer/drawer.module.d.ts +0 -9
  380. package/drawer/drawer.property.d.ts +0 -149
  381. package/drawer/drawer.service.d.ts +0 -17
  382. package/drawer/public-api.d.ts +0 -9
  383. package/dropdown/dropdown-portal.component.d.ts +0 -55
  384. package/dropdown/dropdown.component.d.ts +0 -42
  385. package/dropdown/dropdown.module.d.ts +0 -7
  386. package/dropdown/dropdown.property.d.ts +0 -102
  387. package/dropdown/public-api.d.ts +0 -4
  388. package/empty/empty.component.d.ts +0 -6
  389. package/empty/empty.module.d.ts +0 -7
  390. package/empty/empty.property.d.ts +0 -48
  391. package/empty/public-api.d.ts +0 -3
  392. package/examples/examples.component.d.ts +0 -6
  393. package/examples/examples.module.d.ts +0 -7
  394. package/examples/examples.property.d.ts +0 -6
  395. package/examples/public-api.d.ts +0 -3
  396. package/find/find.component.d.ts +0 -57
  397. package/find/find.module.d.ts +0 -7
  398. package/find/find.property.d.ts +0 -562
  399. package/find/public-api.d.ts +0 -3
  400. package/form/control.component.d.ts +0 -51
  401. package/form/form.component.d.ts +0 -25
  402. package/form/form.module.d.ts +0 -8
  403. package/form/form.property.d.ts +0 -493
  404. package/form/public-api.d.ts +0 -4
  405. package/highlight/highlight.component.d.ts +0 -19
  406. package/highlight/highlight.module.d.ts +0 -7
  407. package/highlight/highlight.property.d.ts +0 -72
  408. package/highlight/highlight.service.d.ts +0 -8
  409. package/highlight/public-api.d.ts +0 -4
  410. package/i18n/i18n.directive.d.ts +0 -11
  411. package/i18n/i18n.module.d.ts +0 -8
  412. package/i18n/i18n.pipe.d.ts +0 -12
  413. package/i18n/i18n.property.d.ts +0 -195
  414. package/i18n/i18n.service.d.ts +0 -17
  415. package/i18n/languages/ar_EG.d.ts +0 -180
  416. package/i18n/languages/bg_BG.d.ts +0 -180
  417. package/i18n/languages/ca_ES.d.ts +0 -180
  418. package/i18n/languages/cs_CZ.d.ts +0 -180
  419. package/i18n/languages/da_DK.d.ts +0 -180
  420. package/i18n/languages/de_DE.d.ts +0 -180
  421. package/i18n/languages/el_GR.d.ts +0 -180
  422. package/i18n/languages/en_GB.d.ts +0 -181
  423. package/i18n/languages/en_US.d.ts +0 -181
  424. package/i18n/languages/es_ES.d.ts +0 -180
  425. package/i18n/languages/et_EE.d.ts +0 -180
  426. package/i18n/languages/fa_IR.d.ts +0 -180
  427. package/i18n/languages/fi_FI.d.ts +0 -180
  428. package/i18n/languages/fr_BE.d.ts +0 -180
  429. package/i18n/languages/fr_FR.d.ts +0 -180
  430. package/i18n/languages/he_IL.d.ts +0 -180
  431. package/i18n/languages/hi_IN.d.ts +0 -180
  432. package/i18n/languages/hr_HR.d.ts +0 -180
  433. package/i18n/languages/hu_HU.d.ts +0 -180
  434. package/i18n/languages/hy_AM.d.ts +0 -180
  435. package/i18n/languages/id_ID.d.ts +0 -180
  436. package/i18n/languages/is_IS.d.ts +0 -180
  437. package/i18n/languages/it_IT.d.ts +0 -180
  438. package/i18n/languages/ja_JP.d.ts +0 -180
  439. package/i18n/languages/ka_GE.d.ts +0 -180
  440. package/i18n/languages/kn_IN.d.ts +0 -180
  441. package/i18n/languages/ko_KR.d.ts +0 -180
  442. package/i18n/languages/ku_IQ.d.ts +0 -156
  443. package/i18n/languages/lv_LV.d.ts +0 -180
  444. package/i18n/languages/mn_MN.d.ts +0 -180
  445. package/i18n/languages/ms_MY.d.ts +0 -180
  446. package/i18n/languages/nb_NO.d.ts +0 -180
  447. package/i18n/languages/ne_NP.d.ts +0 -180
  448. package/i18n/languages/nl_BE.d.ts +0 -180
  449. package/i18n/languages/nl_NL.d.ts +0 -180
  450. package/i18n/languages/pl_PL.d.ts +0 -180
  451. package/i18n/languages/pt_BR.d.ts +0 -180
  452. package/i18n/languages/pt_PT.d.ts +0 -180
  453. package/i18n/languages/ro_RO.d.ts +0 -180
  454. package/i18n/languages/ru_RU.d.ts +0 -180
  455. package/i18n/languages/sk_SK.d.ts +0 -179
  456. package/i18n/languages/sl_SI.d.ts +0 -180
  457. package/i18n/languages/sr_RS.d.ts +0 -180
  458. package/i18n/languages/sv_SE.d.ts +0 -180
  459. package/i18n/languages/ta_IN.d.ts +0 -180
  460. package/i18n/languages/th_TH.d.ts +0 -180
  461. package/i18n/languages/tr_TR.d.ts +0 -180
  462. package/i18n/languages/uk_UA.d.ts +0 -180
  463. package/i18n/languages/vi_VN.d.ts +0 -180
  464. package/i18n/languages/zh_CN.d.ts +0 -180
  465. package/i18n/languages/zh_TW.d.ts +0 -180
  466. package/i18n/public-api.d.ts +0 -56
  467. package/icon/icon.component.d.ts +0 -31
  468. package/icon/icon.module.d.ts +0 -7
  469. package/icon/icon.property.d.ts +0 -64
  470. package/icon/icon.service.d.ts +0 -33
  471. package/icon/public-api.d.ts +0 -4
  472. package/image/image-group.component.d.ts +0 -9
  473. package/image/image-preview.component.d.ts +0 -33
  474. package/image/image.component.d.ts +0 -24
  475. package/image/image.module.d.ts +0 -9
  476. package/image/image.property.d.ts +0 -213
  477. package/image/public-api.d.ts +0 -5
  478. package/inner/inner.component.d.ts +0 -8
  479. package/inner/inner.module.d.ts +0 -7
  480. package/inner/inner.property.d.ts +0 -24
  481. package/inner/public-api.d.ts +0 -3
  482. package/input/input-group.component.d.ts +0 -8
  483. package/input/input.component.d.ts +0 -52
  484. package/input/input.module.d.ts +0 -8
  485. package/input/input.property.d.ts +0 -552
  486. package/input/public-api.d.ts +0 -4
  487. package/input-number/input-number.component.d.ts +0 -35
  488. package/input-number/input-number.module.d.ts +0 -7
  489. package/input-number/input-number.property.d.ts +0 -312
  490. package/input-number/public-api.d.ts +0 -3
  491. package/keyword/keyword.directive.d.ts +0 -10
  492. package/keyword/keyword.module.d.ts +0 -7
  493. package/keyword/keyword.property.d.ts +0 -44
  494. package/keyword/public-api.d.ts +0 -3
  495. package/layout/col.component.d.ts +0 -14
  496. package/layout/layout.module.d.ts +0 -8
  497. package/layout/layout.property.d.ts +0 -139
  498. package/layout/public-api.d.ts +0 -4
  499. package/layout/row.component.d.ts +0 -13
  500. package/link/link.component.d.ts +0 -13
  501. package/link/link.module.d.ts +0 -7
  502. package/link/link.property.d.ts +0 -108
  503. package/link/public-api.d.ts +0 -3
  504. package/list/list-drop-group.directive.d.ts +0 -13
  505. package/list/list-option.component.d.ts +0 -18
  506. package/list/list.component.d.ts +0 -76
  507. package/list/list.module.d.ts +0 -9
  508. package/list/list.property.d.ts +0 -377
  509. package/list/public-api.d.ts +0 -5
  510. package/loading/loading.component.d.ts +0 -23
  511. package/loading/loading.module.d.ts +0 -7
  512. package/loading/loading.property.d.ts +0 -64
  513. package/loading/public-api.d.ts +0 -3
  514. package/menu/menu-node.component.d.ts +0 -19
  515. package/menu/menu.component.d.ts +0 -35
  516. package/menu/menu.module.d.ts +0 -8
  517. package/menu/menu.property.d.ts +0 -150
  518. package/menu/public-api.d.ts +0 -4
  519. package/message/README.md +0 -20
  520. package/message/message-ref.d.ts +0 -9
  521. package/message/message.component.d.ts +0 -15
  522. package/message/message.module.d.ts +0 -6
  523. package/message/message.property.d.ts +0 -137
  524. package/message/message.service.d.ts +0 -27
  525. package/message/public-api.d.ts +0 -5
  526. package/message-box/message-box.component.d.ts +0 -31
  527. package/message-box/message-box.module.d.ts +0 -6
  528. package/message-box/message-box.property.d.ts +0 -180
  529. package/message-box/message-box.service.d.ts +0 -17
  530. package/message-box/public-api.d.ts +0 -4
  531. package/notification/notification.component.d.ts +0 -15
  532. package/notification/notification.module.d.ts +0 -6
  533. package/notification/notification.property.d.ts +0 -96
  534. package/notification/notification.service.d.ts +0 -20
  535. package/notification/public-api.d.ts +0 -4
  536. package/outlet/outlet.directive.d.ts +0 -14
  537. package/outlet/outlet.module.d.ts +0 -7
  538. package/outlet/outlet.property.d.ts +0 -6
  539. package/outlet/public-api.d.ts +0 -3
  540. package/page-header/page-header.component.d.ts +0 -12
  541. package/page-header/page-header.module.d.ts +0 -7
  542. package/page-header/page-header.property.d.ts +0 -43
  543. package/page-header/public-api.d.ts +0 -3
  544. package/pagination/pagination.component.d.ts +0 -53
  545. package/pagination/pagination.module.d.ts +0 -7
  546. package/pagination/pagination.property.d.ts +0 -151
  547. package/pagination/public-api.d.ts +0 -3
  548. package/pattern/pattern.component.d.ts +0 -6
  549. package/pattern/pattern.module.d.ts +0 -7
  550. package/pattern/pattern.property.d.ts +0 -6
  551. package/pattern/public-api.d.ts +0 -3
  552. package/popconfirm/popconfirm.component.d.ts +0 -22
  553. package/popconfirm/popconfirm.module.d.ts +0 -7
  554. package/popconfirm/popconfirm.property.d.ts +0 -96
  555. package/popconfirm/public-api.d.ts +0 -3
  556. package/popover/popover-portal.component.d.ts +0 -23
  557. package/popover/popover.directive.d.ts +0 -34
  558. package/popover/popover.module.d.ts +0 -7
  559. package/popover/popover.property.d.ts +0 -103
  560. package/popover/public-api.d.ts +0 -4
  561. package/portal/portal.module.d.ts +0 -6
  562. package/portal/portal.property.d.ts +0 -76
  563. package/portal/portal.service.d.ts +0 -80
  564. package/portal/public-api.d.ts +0 -3
  565. package/progress/progress.component.d.ts +0 -39
  566. package/progress/progress.module.d.ts +0 -7
  567. package/progress/progress.property.d.ts +0 -147
  568. package/progress/public-api.d.ts +0 -3
  569. package/radio/public-api.d.ts +0 -3
  570. package/radio/radio.component.d.ts +0 -23
  571. package/radio/radio.module.d.ts +0 -7
  572. package/radio/radio.property.d.ts +0 -283
  573. package/rate/public-api.d.ts +0 -3
  574. package/rate/rate.component.d.ts +0 -26
  575. package/rate/rate.module.d.ts +0 -7
  576. package/rate/rate.property.d.ts +0 -199
  577. package/resizable/public-api.d.ts +0 -3
  578. package/resizable/resizable.directive.d.ts +0 -52
  579. package/resizable/resizable.module.d.ts +0 -7
  580. package/resizable/resizable.property.d.ts +0 -97
  581. package/result/public-api.d.ts +0 -3
  582. package/result/result.component.d.ts +0 -10
  583. package/result/result.module.d.ts +0 -7
  584. package/result/result.property.d.ts +0 -44
  585. package/ripple/public-api.d.ts +0 -3
  586. package/ripple/ripple.directive.d.ts +0 -21
  587. package/ripple/ripple.module.d.ts +0 -7
  588. package/ripple/ripple.property.d.ts +0 -39
  589. package/select/public-api.d.ts +0 -4
  590. package/select/select-portal.component.d.ts +0 -55
  591. package/select/select.component.d.ts +0 -106
  592. package/select/select.module.d.ts +0 -7
  593. package/select/select.property.d.ts +0 -473
  594. package/skeleton/public-api.d.ts +0 -3
  595. package/skeleton/skeleton.component.d.ts +0 -9
  596. package/skeleton/skeleton.module.d.ts +0 -7
  597. package/skeleton/skeleton.property.d.ts +0 -116
  598. package/slider/public-api.d.ts +0 -3
  599. package/slider/slider.component.d.ts +0 -62
  600. package/slider/slider.module.d.ts +0 -7
  601. package/slider/slider.property.d.ts +0 -121
  602. package/slider-select/public-api.d.ts +0 -3
  603. package/slider-select/slider-select.component.d.ts +0 -60
  604. package/slider-select/slider-select.module.d.ts +0 -7
  605. package/slider-select/slider-select.property.d.ts +0 -320
  606. package/statistic/countdown.component.d.ts +0 -21
  607. package/statistic/public-api.d.ts +0 -4
  608. package/statistic/statistic.component.d.ts +0 -8
  609. package/statistic/statistic.module.d.ts +0 -8
  610. package/statistic/statistic.property.d.ts +0 -95
  611. package/steps/public-api.d.ts +0 -3
  612. package/steps/steps.component.d.ts +0 -11
  613. package/steps/steps.module.d.ts +0 -7
  614. package/steps/steps.property.d.ts +0 -82
  615. package/switch/public-api.d.ts +0 -3
  616. package/switch/switch.component.d.ts +0 -15
  617. package/switch/switch.module.d.ts +0 -7
  618. package/switch/switch.property.d.ts +0 -201
  619. package/table/public-api.d.ts +0 -6
  620. package/table/table-body.component.d.ts +0 -48
  621. package/table/table-foot.component.d.ts +0 -15
  622. package/table/table-head.component.d.ts +0 -48
  623. package/table/table.component.d.ts +0 -106
  624. package/table/table.module.d.ts +0 -10
  625. package/table/table.property.d.ts +0 -869
  626. package/tabs/public-api.d.ts +0 -6
  627. package/tabs/tab-content.component.d.ts +0 -10
  628. package/tabs/tab-link.directive.d.ts +0 -17
  629. package/tabs/tab.component.d.ts +0 -11
  630. package/tabs/tabs.component.d.ts +0 -36
  631. package/tabs/tabs.module.d.ts +0 -9
  632. package/tabs/tabs.property.d.ts +0 -167
  633. package/tag/public-api.d.ts +0 -3
  634. package/tag/tag.component.d.ts +0 -17
  635. package/tag/tag.module.d.ts +0 -7
  636. package/tag/tag.property.d.ts +0 -76
  637. package/text-retract/public-api.d.ts +0 -3
  638. package/text-retract/text-retract.component.d.ts +0 -10
  639. package/text-retract/text-retract.module.d.ts +0 -7
  640. package/text-retract/text-retract.property.d.ts +0 -29
  641. package/textarea/public-api.d.ts +0 -3
  642. package/textarea/textarea.component.d.ts +0 -26
  643. package/textarea/textarea.module.d.ts +0 -7
  644. package/textarea/textarea.property.d.ts +0 -309
  645. package/theme/public-api.d.ts +0 -3
  646. package/theme/theme.component.d.ts +0 -47
  647. package/theme/theme.module.d.ts +0 -7
  648. package/theme/theme.property.d.ts +0 -100
  649. package/time-ago/public-api.d.ts +0 -3
  650. package/time-ago/time-ago.module.d.ts +0 -7
  651. package/time-ago/time-ago.pipe.d.ts +0 -17
  652. package/time-ago/time-ago.property.d.ts +0 -6
  653. package/time-picker/public-api.d.ts +0 -5
  654. package/time-picker/time-picker-frame.component.d.ts +0 -73
  655. package/time-picker/time-picker-portal.component.d.ts +0 -39
  656. package/time-picker/time-picker.component.d.ts +0 -64
  657. package/time-picker/time-picker.module.d.ts +0 -8
  658. package/time-picker/time-picker.property.d.ts +0 -441
  659. package/time-range/public-api.d.ts +0 -3
  660. package/time-range/time-range.module.d.ts +0 -7
  661. package/time-range/time-range.pipe.d.ts +0 -10
  662. package/time-range/time-range.property.d.ts +0 -6
  663. package/timeline/public-api.d.ts +0 -3
  664. package/timeline/timeline.component.d.ts +0 -11
  665. package/timeline/timeline.module.d.ts +0 -7
  666. package/timeline/timeline.property.d.ts +0 -90
  667. package/tooltip/public-api.d.ts +0 -4
  668. package/tooltip/tooltip-portal.component.d.ts +0 -34
  669. package/tooltip/tooltip.directive.d.ts +0 -36
  670. package/tooltip/tooltip.module.d.ts +0 -7
  671. package/tooltip/tooltip.property.d.ts +0 -81
  672. package/transfer/public-api.d.ts +0 -3
  673. package/transfer/transfer.component.d.ts +0 -72
  674. package/transfer/transfer.module.d.ts +0 -7
  675. package/transfer/transfer.property.d.ts +0 -263
  676. package/tree/public-api.d.ts +0 -4
  677. package/tree/tree-node.component.d.ts +0 -57
  678. package/tree/tree.component.d.ts +0 -77
  679. package/tree/tree.module.d.ts +0 -8
  680. package/tree/tree.property.d.ts +0 -460
  681. package/tree/tree.service.d.ts +0 -10
  682. package/tree-file/public-api.d.ts +0 -3
  683. package/tree-file/tree-file.component.d.ts +0 -24
  684. package/tree-file/tree-file.module.d.ts +0 -7
  685. package/tree-file/tree-file.property.d.ts +0 -138
  686. package/tree-select/public-api.d.ts +0 -4
  687. package/tree-select/tree-select-portal.component.d.ts +0 -46
  688. package/tree-select/tree-select.component.d.ts +0 -109
  689. package/tree-select/tree-select.module.d.ts +0 -7
  690. package/tree-select/tree-select.property.d.ts +0 -486
  691. package/typography/public-api.d.ts +0 -3
  692. package/typography/typography.component.d.ts +0 -11
  693. package/typography/typography.module.d.ts +0 -7
  694. package/typography/typography.property.d.ts +0 -25
  695. package/upload/public-api.d.ts +0 -4
  696. package/upload/upload-portal.component.d.ts +0 -48
  697. package/upload/upload.component.d.ts +0 -44
  698. package/upload/upload.module.d.ts +0 -7
  699. package/upload/upload.property.d.ts +0 -208
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, model, Directive, output, computed, Component, ViewEncapsulation, ChangeDetectionStrategy, HostListener, HostBinding, signal, inject, ElementRef, ViewContainerRef, effect, NgModule } from '@angular/core';
2
+ import { input, model, Directive, output, computed, HostBinding, HostListener, ChangeDetectionStrategy, ViewEncapsulation, Component, signal, inject, ElementRef, ViewContainerRef, effect, NgModule } from '@angular/core';
3
3
  import { XPortalService, XPortalConnectedPosition } from '@ng-nest/ui/portal';
4
4
  import { XPropertyFunction, XToCssPixelValue, XToBoolean, XToNumber, XIsEmpty, XFadeAnimation, XIsChange } from '@ng-nest/ui/core';
5
5
  import { XOutletDirective } from '@ng-nest/ui/outlet';
@@ -92,10 +92,10 @@ class XPopoverProperty extends XPropertyFunction(X_POPOVER_CONFIG_NAME) {
92
92
  */
93
93
  this.mouseLeaveDelay = input(100, { transform: XToNumber });
94
94
  }
95
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverProperty, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
96
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.1", type: XPopoverProperty, isStandalone: true, selector: "[x-popover], x-popover", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, panelClass: { classPropertyName: "panelClass", publicName: "panelClass", isSignal: true, isRequired: false, transformFunction: null }, connectTo: { classPropertyName: "connectTo", publicName: "connectTo", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, condition: { classPropertyName: "condition", publicName: "condition", isSignal: true, isRequired: false, transformFunction: null }, mouseEnterDelay: { classPropertyName: "mouseEnterDelay", publicName: "mouseEnterDelay", isSignal: true, isRequired: false, transformFunction: null }, mouseLeaveDelay: { classPropertyName: "mouseLeaveDelay", publicName: "mouseLeaveDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange" }, usesInheritance: true, ngImport: i0 }); }
95
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverProperty, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
96
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.0", type: XPopoverProperty, isStandalone: true, selector: "[x-popover], x-popover", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, panelClass: { classPropertyName: "panelClass", publicName: "panelClass", isSignal: true, isRequired: false, transformFunction: null }, connectTo: { classPropertyName: "connectTo", publicName: "connectTo", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, condition: { classPropertyName: "condition", publicName: "condition", isSignal: true, isRequired: false, transformFunction: null }, mouseEnterDelay: { classPropertyName: "mouseEnterDelay", publicName: "mouseEnterDelay", isSignal: true, isRequired: false, transformFunction: null }, mouseLeaveDelay: { classPropertyName: "mouseLeaveDelay", publicName: "mouseLeaveDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange" }, usesInheritance: true, ngImport: i0 }); }
97
97
  }
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverProperty, decorators: [{
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverProperty, decorators: [{
99
99
  type: Directive,
100
100
  args: [{ selector: `[${XPopoverPrefix}], ${XPopoverPrefix}` }]
101
101
  }] });
@@ -135,10 +135,10 @@ class XPopoverPortalComponent {
135
135
  stopPropagation(event) {
136
136
  event.stopPropagation();
137
137
  }
138
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverPortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
139
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.1", type: XPopoverPortalComponent, isStandalone: true, selector: "x-popover-portal", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { portalHover: "portalHover" }, host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, properties: { "@x-fade-animation": "this.animation" } }, ngImport: i0, template: "<div #popoverPortal class=\"x-popover-portal\" [ngClass]=\"classMap()\" (click)=\"stopPropagation($event)\">\r\n <div\r\n class=\"x-popover-portal-inner\"\r\n [style.width]=\"width()\"\r\n [style.minWidth]=\"minWidth()\"\r\n [style.maxWidth]=\"maxWidth()\"\r\n >\r\n @if (title()) {\r\n <div class=\"x-popover-portal-title\">\r\n <ng-container *xOutlet=\"title()\">\r\n {{ title() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (content()) {\r\n <div class=\"x-popover-portal-content\">\r\n <ng-container *xOutlet=\"content()\">\r\n {{ content() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (footer()) {\r\n <div class=\"x-popover-portal-footer\">\r\n <ng-container *xOutlet=\"footer()\">\r\n {{ footer() }}\r\n </ng-container>\r\n </div>\r\n }\r\n </div>\r\n <div #popoverArrow class=\"x-popover-portal-arrow\"></div>\r\n</div>\r\n", styles: ["x-popover{display:inline-block}.x-popover-portal{margin:0;padding:0}.x-popover-portal{display:inline-flex;position:relative;justify-content:center;align-items:center}.x-popover-portal>.x-popover-portal-inner{font-size:var(--x-font-size);background-color:var(--x-background-100);color:var(--x-text);padding:var(--x-font-size);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow)}.x-popover-portal .x-popover-portal-title{margin-bottom:calc(var(--x-font-size) - .5rem);font-weight:600;display:flex;align-items:center}.x-popover-portal .x-popover-portal-footer{margin-top:calc(var(--x-font-size) - .5rem)}.x-popover-portal .x-popover-portal-arrow,.x-popover-portal .x-popover-portal-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-popover-portal-top,.x-popover-portal-top-start,.x-popover-portal-top-end{padding-bottom:.525rem}.x-popover-portal-top>.x-popover-portal-arrow,.x-popover-portal-top-start>.x-popover-portal-arrow,.x-popover-portal-top-end>.x-popover-portal-arrow{bottom:.1rem}.x-popover-portal-top .x-popover-portal-arrow:after,.x-popover-portal-top-start .x-popover-portal-arrow:after,.x-popover-portal-top-end .x-popover-portal-arrow:after{bottom:.1rem;margin-left:-.375rem}.x-popover-portal-left,.x-popover-portal-left-start,.x-popover-portal-left-end{padding-right:.525rem}.x-popover-portal-left>.x-popover-portal-arrow,.x-popover-portal-left-start>.x-popover-portal-arrow,.x-popover-portal-left-end>.x-popover-portal-arrow{right:.1rem}.x-popover-portal-left .x-popover-portal-arrow:after,.x-popover-portal-left-start .x-popover-portal-arrow:after,.x-popover-portal-left-end .x-popover-portal-arrow:after{right:.1rem;margin-top:-.375rem}.x-popover-portal-right,.x-popover-portal-right-start,.x-popover-portal-right-end{padding-left:.525rem}.x-popover-portal-right>.x-popover-portal-arrow,.x-popover-portal-right-start>.x-popover-portal-arrow,.x-popover-portal-right-end>.x-popover-portal-arrow{left:.1rem}.x-popover-portal-right .x-popover-portal-arrow:after,.x-popover-portal-right-start .x-popover-portal-arrow:after,.x-popover-portal-right-end .x-popover-portal-arrow:after{left:.1rem;margin-top:-.375rem}.x-popover-portal-bottom,.x-popover-portal-bottom-start,.x-popover-portal-bottom-end{padding-top:.525rem}.x-popover-portal-bottom .x-popover-portal-arrow,.x-popover-portal-bottom-start .x-popover-portal-arrow,.x-popover-portal-bottom-end .x-popover-portal-arrow{top:.1rem}.x-popover-portal-bottom .x-popover-portal-arrow:after,.x-popover-portal-bottom-start .x-popover-portal-arrow:after,.x-popover-portal-bottom-end .x-popover-portal-arrow:after{top:.1rem;margin-left:-.375rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], animations: [XFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
138
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverPortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
139
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: XPopoverPortalComponent, isStandalone: true, selector: "x-popover-portal", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { portalHover: "portalHover" }, host: { listeners: { "mouseenter": "mouseenter()", "mouseleave": "mouseleave()" }, properties: { "@x-fade-animation": "this.animation" } }, ngImport: i0, template: "<div #popoverPortal class=\"x-popover-portal\" [ngClass]=\"classMap()\" (click)=\"stopPropagation($event)\">\r\n <div\r\n class=\"x-popover-portal-inner\"\r\n [style.width]=\"width()\"\r\n [style.minWidth]=\"minWidth()\"\r\n [style.maxWidth]=\"maxWidth()\"\r\n >\r\n @if (title()) {\r\n <div class=\"x-popover-portal-title\">\r\n <ng-container *xOutlet=\"title()\">\r\n {{ title() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (content()) {\r\n <div class=\"x-popover-portal-content\">\r\n <ng-container *xOutlet=\"content()\">\r\n {{ content() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (footer()) {\r\n <div class=\"x-popover-portal-footer\">\r\n <ng-container *xOutlet=\"footer()\">\r\n {{ footer() }}\r\n </ng-container>\r\n </div>\r\n }\r\n </div>\r\n <div #popoverArrow class=\"x-popover-portal-arrow\"></div>\r\n</div>\r\n", styles: ["x-popover{display:inline-block}.x-popover-portal{margin:0;padding:0}.x-popover-portal{display:inline-flex;position:relative;justify-content:center;align-items:center}.x-popover-portal>.x-popover-portal-inner{font-size:var(--x-font-size);background-color:var(--x-background-100);color:var(--x-text);padding:var(--x-font-size);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow)}.x-popover-portal .x-popover-portal-title{margin-bottom:calc(var(--x-font-size) - .5rem);font-weight:600;display:flex;align-items:center}.x-popover-portal .x-popover-portal-footer{margin-top:calc(var(--x-font-size) - .5rem)}.x-popover-portal .x-popover-portal-arrow,.x-popover-portal .x-popover-portal-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-popover-portal-top,.x-popover-portal-top-start,.x-popover-portal-top-end{padding-bottom:.525rem}.x-popover-portal-top>.x-popover-portal-arrow,.x-popover-portal-top-start>.x-popover-portal-arrow,.x-popover-portal-top-end>.x-popover-portal-arrow{bottom:.1rem}.x-popover-portal-top .x-popover-portal-arrow:after,.x-popover-portal-top-start .x-popover-portal-arrow:after,.x-popover-portal-top-end .x-popover-portal-arrow:after{bottom:.1rem;margin-left:-.375rem}.x-popover-portal-left,.x-popover-portal-left-start,.x-popover-portal-left-end{padding-right:.525rem}.x-popover-portal-left>.x-popover-portal-arrow,.x-popover-portal-left-start>.x-popover-portal-arrow,.x-popover-portal-left-end>.x-popover-portal-arrow{right:.1rem}.x-popover-portal-left .x-popover-portal-arrow:after,.x-popover-portal-left-start .x-popover-portal-arrow:after,.x-popover-portal-left-end .x-popover-portal-arrow:after{right:.1rem;margin-top:-.375rem}.x-popover-portal-right,.x-popover-portal-right-start,.x-popover-portal-right-end{padding-left:.525rem}.x-popover-portal-right>.x-popover-portal-arrow,.x-popover-portal-right-start>.x-popover-portal-arrow,.x-popover-portal-right-end>.x-popover-portal-arrow{left:.1rem}.x-popover-portal-right .x-popover-portal-arrow:after,.x-popover-portal-right-start .x-popover-portal-arrow:after,.x-popover-portal-right-end .x-popover-portal-arrow:after{left:.1rem;margin-top:-.375rem}.x-popover-portal-bottom,.x-popover-portal-bottom-start,.x-popover-portal-bottom-end{padding-top:.525rem}.x-popover-portal-bottom .x-popover-portal-arrow,.x-popover-portal-bottom-start .x-popover-portal-arrow,.x-popover-portal-bottom-end .x-popover-portal-arrow{top:.1rem}.x-popover-portal-bottom .x-popover-portal-arrow:after,.x-popover-portal-bottom-start .x-popover-portal-arrow:after,.x-popover-portal-bottom-end .x-popover-portal-arrow:after{top:.1rem;margin-left:-.375rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], animations: [XFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
140
140
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverPortalComponent, decorators: [{
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverPortalComponent, decorators: [{
142
142
  type: Component,
143
143
  args: [{ selector: `${XPopoverPortalPrefix}`, imports: [NgClass, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, animations: [XFadeAnimation], template: "<div #popoverPortal class=\"x-popover-portal\" [ngClass]=\"classMap()\" (click)=\"stopPropagation($event)\">\r\n <div\r\n class=\"x-popover-portal-inner\"\r\n [style.width]=\"width()\"\r\n [style.minWidth]=\"minWidth()\"\r\n [style.maxWidth]=\"maxWidth()\"\r\n >\r\n @if (title()) {\r\n <div class=\"x-popover-portal-title\">\r\n <ng-container *xOutlet=\"title()\">\r\n {{ title() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (content()) {\r\n <div class=\"x-popover-portal-content\">\r\n <ng-container *xOutlet=\"content()\">\r\n {{ content() }}\r\n </ng-container>\r\n </div>\r\n }\r\n @if (footer()) {\r\n <div class=\"x-popover-portal-footer\">\r\n <ng-container *xOutlet=\"footer()\">\r\n {{ footer() }}\r\n </ng-container>\r\n </div>\r\n }\r\n </div>\r\n <div #popoverArrow class=\"x-popover-portal-arrow\"></div>\r\n</div>\r\n", styles: ["x-popover{display:inline-block}.x-popover-portal{margin:0;padding:0}.x-popover-portal{display:inline-flex;position:relative;justify-content:center;align-items:center}.x-popover-portal>.x-popover-portal-inner{font-size:var(--x-font-size);background-color:var(--x-background-100);color:var(--x-text);padding:var(--x-font-size);border-radius:var(--x-border-radius);box-shadow:var(--x-box-shadow)}.x-popover-portal .x-popover-portal-title{margin-bottom:calc(var(--x-font-size) - .5rem);font-weight:600;display:flex;align-items:center}.x-popover-portal .x-popover-portal-footer{margin-top:calc(var(--x-font-size) - .5rem)}.x-popover-portal .x-popover-portal-arrow,.x-popover-portal .x-popover-portal-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.x-popover-portal-top,.x-popover-portal-top-start,.x-popover-portal-top-end{padding-bottom:.525rem}.x-popover-portal-top>.x-popover-portal-arrow,.x-popover-portal-top-start>.x-popover-portal-arrow,.x-popover-portal-top-end>.x-popover-portal-arrow{bottom:.1rem}.x-popover-portal-top .x-popover-portal-arrow:after,.x-popover-portal-top-start .x-popover-portal-arrow:after,.x-popover-portal-top-end .x-popover-portal-arrow:after{bottom:.1rem;margin-left:-.375rem}.x-popover-portal-left,.x-popover-portal-left-start,.x-popover-portal-left-end{padding-right:.525rem}.x-popover-portal-left>.x-popover-portal-arrow,.x-popover-portal-left-start>.x-popover-portal-arrow,.x-popover-portal-left-end>.x-popover-portal-arrow{right:.1rem}.x-popover-portal-left .x-popover-portal-arrow:after,.x-popover-portal-left-start .x-popover-portal-arrow:after,.x-popover-portal-left-end .x-popover-portal-arrow:after{right:.1rem;margin-top:-.375rem}.x-popover-portal-right,.x-popover-portal-right-start,.x-popover-portal-right-end{padding-left:.525rem}.x-popover-portal-right>.x-popover-portal-arrow,.x-popover-portal-right-start>.x-popover-portal-arrow,.x-popover-portal-right-end>.x-popover-portal-arrow{left:.1rem}.x-popover-portal-right .x-popover-portal-arrow:after,.x-popover-portal-right-start .x-popover-portal-arrow:after,.x-popover-portal-right-end .x-popover-portal-arrow:after{left:.1rem;margin-top:-.375rem}.x-popover-portal-bottom,.x-popover-portal-bottom-start,.x-popover-portal-bottom-end{padding-top:.525rem}.x-popover-portal-bottom .x-popover-portal-arrow,.x-popover-portal-bottom-start .x-popover-portal-arrow,.x-popover-portal-bottom-end .x-popover-portal-arrow{top:.1rem}.x-popover-portal-bottom .x-popover-portal-arrow:after,.x-popover-portal-bottom-start .x-popover-portal-arrow:after,.x-popover-portal-bottom-end .x-popover-portal-arrow:after{top:.1rem;margin-left:-.375rem}\n"] }]
144
144
  }], propDecorators: { mouseenter: [{
@@ -303,10 +303,10 @@ class XPopoverDirective extends XPopoverProperty {
303
303
  }
304
304
  });
305
305
  }
306
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
307
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.1", type: XPopoverDirective, isStandalone: true, selector: "[x-popover], x-popover", host: { listeners: { "click": "click()", "mouseenter": "mouseenter()", "mouseleave": "mouseleave()", "focus": "focus()", "blur": "blur()" }, properties: { "class.x-popover-show": "this._show" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
306
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
307
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: XPopoverDirective, isStandalone: true, selector: "[x-popover], x-popover", host: { listeners: { "click": "click()", "mouseenter": "mouseenter()", "mouseleave": "mouseleave()", "focus": "focus()", "blur": "blur()" }, properties: { "class.x-popover-show": "this._show" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
308
308
  }
309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverDirective, decorators: [{
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverDirective, decorators: [{
310
310
  type: Directive,
311
311
  args: [{ selector: `[${XPopoverPrefix}], ${XPopoverPrefix}` }]
312
312
  }], ctorParameters: () => [], propDecorators: { _show: [{
@@ -330,11 +330,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
330
330
  }] } });
331
331
 
332
332
  class XPopoverModule {
333
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
334
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XPopoverModule, imports: [XPopoverDirective], exports: [XPopoverDirective] }); }
335
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverModule }); }
333
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
334
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: XPopoverModule, imports: [XPopoverDirective], exports: [XPopoverDirective] }); }
335
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverModule }); }
336
336
  }
337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPopoverModule, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPopoverModule, decorators: [{
338
338
  type: NgModule,
339
339
  args: [{
340
340
  exports: [XPopoverDirective],
@@ -5,11 +5,11 @@ import { Overlay } from '@angular/cdk/overlay';
5
5
  import { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
6
6
 
7
7
  class XPortalModule {
8
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XPortalModule }); }
10
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalModule }); }
8
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: XPortalModule }); }
10
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalModule }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalModule, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
15
  imports: [],
@@ -61,7 +61,7 @@ class XPortalService {
61
61
  portal.embeddedViewRef = portal.overlayRef.attach(portal.templatePortal);
62
62
  }
63
63
  else {
64
- portal.componentPortal = new ComponentPortal(option.content, option.viewContainerRef, option.injector, option.componentFactoryResolver);
64
+ portal.componentPortal = new ComponentPortal(option.content, option.viewContainerRef, option.injector);
65
65
  portal.componentRef = portal.overlayRef.attach(portal.componentPortal);
66
66
  }
67
67
  return portal;
@@ -217,10 +217,10 @@ class XPortalService {
217
217
  placement.forEach((place) => result.push(XPortalPlacement[place]));
218
218
  return result;
219
219
  }
220
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
221
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalService, providedIn: 'root' }); }
220
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
221
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalService, providedIn: 'root' }); }
222
222
  }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XPortalService, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XPortalService, decorators: [{
224
224
  type: Injectable,
225
225
  args: [{ providedIn: 'root' }]
226
226
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ng-nest-ui-portal.mjs","sources":["../../../../lib/ng-nest/ui/portal/portal.module.ts","../../../../lib/ng-nest/ui/portal/portal.property.ts","../../../../lib/ng-nest/ui/portal/portal.service.ts","../../../../lib/ng-nest/ui/portal/ng-nest-ui-portal.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\n\r\n@NgModule({\r\n imports: [],\r\n exports: [],\r\n providers: []\r\n})\r\nexport class XPortalModule {}\r\n","import { TemplateRef, ViewContainerRef, ComponentFactoryResolver, ComponentRef, EmbeddedViewRef } from '@angular/core';\r\nimport { ComponentType, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { OverlayRef, OverlayConfig, ConnectedPosition } from '@angular/cdk/overlay';\r\nimport { XInvertKeyValues } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Portal\r\n * @selector x-portal\r\n * @decorator component\r\n */\r\nexport const XPortalPrefix = 'x-portal';\r\nexport const XPortalResizablePrefix = 'x-portal-resizable';\r\n\r\nexport const XPortalPlacement: { [proptery: string]: ConnectedPosition } = {\r\n bottom: { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top' },\r\n left: { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center' },\r\n right: { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center' },\r\n top: { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom' },\r\n 'bottom-end': { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\r\n 'bottom-start': { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\r\n 'left-end': { originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },\r\n 'left-start': { originX: 'start', originY: 'top', overlayX: 'end', overlayY: 'top' },\r\n 'right-end': { originX: 'end', originY: 'bottom', overlayX: 'start', overlayY: 'bottom' },\r\n 'right-start': { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top' },\r\n 'top-end': { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },\r\n 'top-start': { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' }\r\n};\r\n\r\nexport const XPortalConnectedPosition: Map<ConnectedPosition, string> = XInvertKeyValues(XPortalPlacement);\r\n\r\n/**\r\n * Portal Property\r\n */\r\nexport interface XPortalProperty<T> {\r\n /**\r\n * @zh_CN 内容,模板/组件\r\n * @en_US Content, template/component\r\n */\r\n content?: TemplateRef<any> | ComponentType<T>;\r\n /**\r\n * @zh_CN 视图容器\r\n * @en_US View container\r\n */\r\n viewContainerRef?: ViewContainerRef;\r\n /**\r\n * @zh_CN 上下文\r\n * @en_US Context\r\n */\r\n context?: any;\r\n /**\r\n * @zh_CN 注入器\r\n * @en_US Injector\r\n */\r\n injector?: any;\r\n /**\r\n * @zh_CN 组件解析器\r\n * @en_US Component parser\r\n */\r\n componentFactoryResolver?: ComponentFactoryResolver;\r\n /**\r\n * @zh_CN 覆盖视图层配置\r\n * @en_US Overlay view layer configuration\r\n */\r\n overlayConfig?: OverlayConfig;\r\n}\r\n\r\nexport interface XPortalOverlayRef<T> {\r\n /**\r\n * @zh_CN cdk 创建的覆盖视图层\r\n * @en_US Overlay view layer created by cdk\r\n */\r\n overlayRef?: OverlayRef;\r\n /**\r\n * @zh_CN cdk 模板视图\r\n * @en_US Cdk template view\r\n */\r\n templatePortal?: TemplatePortal<any>;\r\n /**\r\n * @zh_CN cdk 组件视图\r\n * @en_US Cdk component view\r\n */\r\n componentPortal?: ComponentPortal<T>;\r\n /**\r\n * @zh_CN 组件视图\r\n * @en_US Component view\r\n */\r\n componentRef?: ComponentRef<T>;\r\n /**\r\n * @zh_CN 模板视图\r\n * @en_US Template view\r\n */\r\n embeddedViewRef?: EmbeddedViewRef<any>;\r\n}\r\n","import {\r\n Injectable,\r\n TemplateRef,\r\n Injector,\r\n ElementRef,\r\n ViewContainerRef,\r\n StaticProvider,\r\n RendererFactory2,\r\n inject\r\n} from '@angular/core';\r\nimport { Overlay, OverlayRef, PositionStrategy, ConnectedPosition, ComponentType } from '@angular/cdk/overlay';\r\nimport { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { XPortalProperty, XPortalOverlayRef, XPortalPlacement } from './portal.property';\r\nimport { XPlacement, XPosition, XPlace, XComputed } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * 动态创建视图服务\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class XPortalService {\r\n overlay = inject(Overlay);\r\n injector = inject(Injector);\r\n private rendererFactory = inject(RendererFactory2);\r\n renderer = this.rendererFactory.createRenderer(null, null);\r\n\r\n attach<T>(option: XPortalProperty<T>): XPortalOverlayRef<T> {\r\n let portal: XPortalOverlayRef<T> = {};\r\n if (typeof option.content === 'undefined') return portal;\r\n portal.overlayRef = this.createOverlayRef(option);\r\n if (option.content instanceof TemplateRef && option.viewContainerRef) {\r\n portal.templatePortal = new TemplatePortal(option.content, option.viewContainerRef, option.context);\r\n portal.embeddedViewRef = portal.overlayRef.attach(portal.templatePortal);\r\n } else {\r\n portal.componentPortal = new ComponentPortal(\r\n option.content as ComponentType<T>,\r\n option.viewContainerRef,\r\n option.injector,\r\n option.componentFactoryResolver\r\n );\r\n portal.componentRef = portal.overlayRef.attach(portal.componentPortal);\r\n }\r\n\r\n return portal;\r\n }\r\n\r\n createInjector(providers: StaticProvider[], viewContainerRef?: ViewContainerRef) {\r\n const injector = viewContainerRef && viewContainerRef.injector;\r\n return Injector.create({ parent: injector || this.injector, providers });\r\n }\r\n\r\n setPlacement(param?: {\r\n elementRef?: ElementRef;\r\n placement?: XPlace[] | XPlacement[];\r\n transformOriginOn?: string;\r\n }): PositionStrategy {\r\n if (!param) {\r\n return this.overlay.position().global().centerHorizontally().centerVertically();\r\n } else {\r\n return (\r\n this.overlay\r\n .position()\r\n .flexibleConnectedTo(param.elementRef!)\r\n // .withLockedPosition(true)\r\n .withFlexibleDimensions(false)\r\n .withPush(false)\r\n .withPositions(this.setConnectedPosition(...param.placement!))\r\n .withTransformOriginOn(param.transformOriginOn!)\r\n );\r\n }\r\n }\r\n\r\n setPosition(position?: XPosition, width?: string, height?: string): PositionStrategy {\r\n let result = this.overlay.position().global().width(width).height(height);\r\n switch (position) {\r\n case 'left':\r\n return result.left();\r\n case 'right':\r\n return result.right();\r\n case 'top':\r\n return result.top();\r\n case 'bottom':\r\n default:\r\n return result.bottom();\r\n }\r\n }\r\n\r\n setPlace(place?: XPlace, ...offset: string[]): PositionStrategy {\r\n let result = this.overlay.position().global();\r\n let [top, right, bottom, left] = this.getOffset(offset);\r\n switch (place) {\r\n case 'top-start':\r\n return result.top(top).left(left);\r\n case 'top':\r\n return result.centerHorizontally().top(top);\r\n case 'top-end':\r\n return result.top(top).right(right);\r\n case 'left':\r\n return result.centerVertically().left(left);\r\n case 'center':\r\n return result.centerVertically().centerHorizontally();\r\n case 'right':\r\n return result.centerVertically().right(right);\r\n case 'bottom-start':\r\n return result.bottom(bottom).left(left);\r\n case 'bottom':\r\n return result.centerHorizontally().bottom(bottom);\r\n case 'bottom-end':\r\n return result.bottom(bottom).right(right);\r\n default:\r\n return result.centerVertically().centerHorizontally();\r\n }\r\n }\r\n\r\n setResizable(ele: HTMLElement, place?: XPlace) {\r\n const { clientWidth, clientHeight } = ele;\r\n const computedStyle = XComputed(ele);\r\n const marginRight = parseFloat(computedStyle.marginRight);\r\n const marginBottom = parseFloat(computedStyle.marginBottom);\r\n let marginLeft = null;\r\n let marginTop = null;\r\n switch (place) {\r\n case 'top-start':\r\n break;\r\n case 'top':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n break;\r\n case 'top-end':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n break;\r\n case 'left':\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'center':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'right':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'bottom-start':\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n case 'bottom':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n case 'bottom-end':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n default:\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(100vh - ${clientHeight / 2}px)`;\r\n break;\r\n }\r\n marginLeft && this.renderer.setStyle(ele, 'margin-left', marginLeft);\r\n marginTop && this.renderer.setStyle(ele, 'margin-top', marginTop);\r\n\r\n return {\r\n marginLeft: marginLeft || computedStyle.marginLeft,\r\n marginTop: marginTop || computedStyle.marginTop,\r\n marginBottom: computedStyle.marginBottom,\r\n marginRight: computedStyle.marginRight\r\n };\r\n }\r\n\r\n setContainerStyle(place?: XPlace, ...offset: string[]) {\r\n let [top, right, bottom, left] = this.getOffset(offset);\r\n switch (place) {\r\n case 'top-start':\r\n return { top, left };\r\n case 'top':\r\n return { top };\r\n case 'top-end':\r\n return { top, right };\r\n case 'left':\r\n return { left };\r\n case 'center':\r\n return {};\r\n case 'right':\r\n return { right };\r\n case 'bottom-start':\r\n return { bottom, left };\r\n case 'bottom':\r\n return { bottom };\r\n case 'bottom-end':\r\n return { bottom, right };\r\n }\r\n return {};\r\n }\r\n\r\n getOffset(offset: string[]) {\r\n if (offset.length === 0) offset = Array.from({ length: 4 }).map(() => `0`);\r\n else if (offset.length < 4) {\r\n Array.from({ length: 4 - offset.length }).map(() => (offset = [...offset, offset[offset.length - 1]]));\r\n }\r\n return offset;\r\n }\r\n\r\n createOverlayRef<T>(option: XPortalProperty<T>): OverlayRef {\r\n return this.overlay.create(option.overlayConfig);\r\n }\r\n\r\n setConnectedPosition(...placement: XPlace[] | XPlacement[]): ConnectedPosition[] {\r\n let result: ConnectedPosition[] = [];\r\n placement.forEach((place: XPlace | XPlacement) => result.push(XPortalPlacement[place]));\r\n return result;\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAOa,aAAa,CAAA;iIAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kIAAb,aAAa,EAAA,CAAA,CAAA;kIAAb,aAAa,EAAA,CAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACZ,iBAAA;;;ACDD;;;;AAIG;AACI,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAEzB,MAAA,gBAAgB,GAA8C;AACzE,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;AACrF,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAA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A,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,uBAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA,CAAA;;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;AClBlC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-nest-ui-portal.mjs","sources":["../../../../lib/ng-nest/ui/portal/portal.module.ts","../../../../lib/ng-nest/ui/portal/portal.property.ts","../../../../lib/ng-nest/ui/portal/portal.service.ts","../../../../lib/ng-nest/ui/portal/ng-nest-ui-portal.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\n\r\n@NgModule({\r\n imports: [],\r\n exports: [],\r\n providers: []\r\n})\r\nexport class XPortalModule {}\r\n","import { TemplateRef, ViewContainerRef, ComponentRef, EmbeddedViewRef } from '@angular/core';\r\nimport { ComponentType, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { OverlayRef, OverlayConfig, ConnectedPosition } from '@angular/cdk/overlay';\r\nimport { XInvertKeyValues } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * Portal\r\n * @selector x-portal\r\n * @decorator component\r\n */\r\nexport const XPortalPrefix = 'x-portal';\r\nexport const XPortalResizablePrefix = 'x-portal-resizable';\r\n\r\nexport const XPortalPlacement: { [proptery: string]: ConnectedPosition } = {\r\n bottom: { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top' },\r\n left: { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center' },\r\n right: { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center' },\r\n top: { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom' },\r\n 'bottom-end': { originX: 'end', originY: 'bottom', overlayX: 'end', overlayY: 'top' },\r\n 'bottom-start': { originX: 'start', originY: 'bottom', overlayX: 'start', overlayY: 'top' },\r\n 'left-end': { originX: 'start', originY: 'bottom', overlayX: 'end', overlayY: 'bottom' },\r\n 'left-start': { originX: 'start', originY: 'top', overlayX: 'end', overlayY: 'top' },\r\n 'right-end': { originX: 'end', originY: 'bottom', overlayX: 'start', overlayY: 'bottom' },\r\n 'right-start': { originX: 'end', originY: 'top', overlayX: 'start', overlayY: 'top' },\r\n 'top-end': { originX: 'end', originY: 'top', overlayX: 'end', overlayY: 'bottom' },\r\n 'top-start': { originX: 'start', originY: 'top', overlayX: 'start', overlayY: 'bottom' }\r\n};\r\n\r\nexport const XPortalConnectedPosition: Map<ConnectedPosition, string> = XInvertKeyValues(XPortalPlacement);\r\n\r\n/**\r\n * Portal Property\r\n */\r\nexport interface XPortalProperty<T> {\r\n /**\r\n * @zh_CN 内容,模板/组件\r\n * @en_US Content, template/component\r\n */\r\n content?: TemplateRef<any> | ComponentType<T>;\r\n /**\r\n * @zh_CN 视图容器\r\n * @en_US View container\r\n */\r\n viewContainerRef?: ViewContainerRef;\r\n /**\r\n * @zh_CN 上下文\r\n * @en_US Context\r\n */\r\n context?: any;\r\n /**\r\n * @zh_CN 注入器\r\n * @en_US Injector\r\n */\r\n injector?: any;\r\n /**\r\n * @zh_CN 覆盖视图层配置\r\n * @en_US Overlay view layer configuration\r\n */\r\n overlayConfig?: OverlayConfig;\r\n}\r\n\r\nexport interface XPortalOverlayRef<T> {\r\n /**\r\n * @zh_CN cdk 创建的覆盖视图层\r\n * @en_US Overlay view layer created by cdk\r\n */\r\n overlayRef?: OverlayRef;\r\n /**\r\n * @zh_CN cdk 模板视图\r\n * @en_US Cdk template view\r\n */\r\n templatePortal?: TemplatePortal<any>;\r\n /**\r\n * @zh_CN cdk 组件视图\r\n * @en_US Cdk component view\r\n */\r\n componentPortal?: ComponentPortal<T>;\r\n /**\r\n * @zh_CN 组件视图\r\n * @en_US Component view\r\n */\r\n componentRef?: ComponentRef<T>;\r\n /**\r\n * @zh_CN 模板视图\r\n * @en_US Template view\r\n */\r\n embeddedViewRef?: EmbeddedViewRef<any>;\r\n}\r\n","import {\r\n Injectable,\r\n TemplateRef,\r\n Injector,\r\n ElementRef,\r\n ViewContainerRef,\r\n StaticProvider,\r\n RendererFactory2,\r\n inject\r\n} from '@angular/core';\r\nimport { Overlay, OverlayRef, PositionStrategy, ConnectedPosition, ComponentType } from '@angular/cdk/overlay';\r\nimport { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';\r\nimport { XPortalProperty, XPortalOverlayRef, XPortalPlacement } from './portal.property';\r\nimport { XPlacement, XPosition, XPlace, XComputed } from '@ng-nest/ui/core';\r\n\r\n/**\r\n * 动态创建视图服务\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class XPortalService {\r\n overlay = inject(Overlay);\r\n injector = inject(Injector);\r\n private rendererFactory = inject(RendererFactory2);\r\n renderer = this.rendererFactory.createRenderer(null, null);\r\n\r\n attach<T>(option: XPortalProperty<T>): XPortalOverlayRef<T> {\r\n let portal: XPortalOverlayRef<T> = {};\r\n if (typeof option.content === 'undefined') return portal;\r\n portal.overlayRef = this.createOverlayRef(option);\r\n if (option.content instanceof TemplateRef && option.viewContainerRef) {\r\n portal.templatePortal = new TemplatePortal(option.content, option.viewContainerRef, option.context);\r\n portal.embeddedViewRef = portal.overlayRef.attach(portal.templatePortal);\r\n } else {\r\n portal.componentPortal = new ComponentPortal(\r\n option.content as ComponentType<T>,\r\n option.viewContainerRef,\r\n option.injector\r\n );\r\n portal.componentRef = portal.overlayRef.attach(portal.componentPortal);\r\n }\r\n\r\n return portal;\r\n }\r\n\r\n createInjector(providers: StaticProvider[], viewContainerRef?: ViewContainerRef) {\r\n const injector = viewContainerRef && viewContainerRef.injector;\r\n return Injector.create({ parent: injector || this.injector, providers });\r\n }\r\n\r\n setPlacement(param?: {\r\n elementRef?: ElementRef;\r\n placement?: XPlace[] | XPlacement[];\r\n transformOriginOn?: string;\r\n }): PositionStrategy {\r\n if (!param) {\r\n return this.overlay.position().global().centerHorizontally().centerVertically();\r\n } else {\r\n return (\r\n this.overlay\r\n .position()\r\n .flexibleConnectedTo(param.elementRef!)\r\n // .withLockedPosition(true)\r\n .withFlexibleDimensions(false)\r\n .withPush(false)\r\n .withPositions(this.setConnectedPosition(...param.placement!))\r\n .withTransformOriginOn(param.transformOriginOn!)\r\n );\r\n }\r\n }\r\n\r\n setPosition(position?: XPosition, width?: string, height?: string): PositionStrategy {\r\n let result = this.overlay.position().global().width(width).height(height);\r\n switch (position) {\r\n case 'left':\r\n return result.left();\r\n case 'right':\r\n return result.right();\r\n case 'top':\r\n return result.top();\r\n case 'bottom':\r\n default:\r\n return result.bottom();\r\n }\r\n }\r\n\r\n setPlace(place?: XPlace, ...offset: string[]): PositionStrategy {\r\n let result = this.overlay.position().global();\r\n let [top, right, bottom, left] = this.getOffset(offset);\r\n switch (place) {\r\n case 'top-start':\r\n return result.top(top).left(left);\r\n case 'top':\r\n return result.centerHorizontally().top(top);\r\n case 'top-end':\r\n return result.top(top).right(right);\r\n case 'left':\r\n return result.centerVertically().left(left);\r\n case 'center':\r\n return result.centerVertically().centerHorizontally();\r\n case 'right':\r\n return result.centerVertically().right(right);\r\n case 'bottom-start':\r\n return result.bottom(bottom).left(left);\r\n case 'bottom':\r\n return result.centerHorizontally().bottom(bottom);\r\n case 'bottom-end':\r\n return result.bottom(bottom).right(right);\r\n default:\r\n return result.centerVertically().centerHorizontally();\r\n }\r\n }\r\n\r\n setResizable(ele: HTMLElement, place?: XPlace) {\r\n const { clientWidth, clientHeight } = ele;\r\n const computedStyle = XComputed(ele);\r\n const marginRight = parseFloat(computedStyle.marginRight);\r\n const marginBottom = parseFloat(computedStyle.marginBottom);\r\n let marginLeft = null;\r\n let marginTop = null;\r\n switch (place) {\r\n case 'top-start':\r\n break;\r\n case 'top':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n break;\r\n case 'top-end':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n break;\r\n case 'left':\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'center':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'right':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n marginTop = `calc(50vh - ${clientHeight / 2}px)`;\r\n break;\r\n case 'bottom-start':\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n case 'bottom':\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n case 'bottom-end':\r\n marginLeft = `calc(100vw - ${clientWidth + marginRight}px)`;\r\n marginTop = `calc(100vh - ${clientHeight + marginBottom}px)`;\r\n break;\r\n default:\r\n marginLeft = `calc(50vw - ${clientWidth / 2}px)`;\r\n marginTop = `calc(100vh - ${clientHeight / 2}px)`;\r\n break;\r\n }\r\n marginLeft && this.renderer.setStyle(ele, 'margin-left', marginLeft);\r\n marginTop && this.renderer.setStyle(ele, 'margin-top', marginTop);\r\n\r\n return {\r\n marginLeft: marginLeft || computedStyle.marginLeft,\r\n marginTop: marginTop || computedStyle.marginTop,\r\n marginBottom: computedStyle.marginBottom,\r\n marginRight: computedStyle.marginRight\r\n };\r\n }\r\n\r\n setContainerStyle(place?: XPlace, ...offset: string[]) {\r\n let [top, right, bottom, left] = this.getOffset(offset);\r\n switch (place) {\r\n case 'top-start':\r\n return { top, left };\r\n case 'top':\r\n return { top };\r\n case 'top-end':\r\n return { top, right };\r\n case 'left':\r\n return { left };\r\n case 'center':\r\n return {};\r\n case 'right':\r\n return { right };\r\n case 'bottom-start':\r\n return { bottom, left };\r\n case 'bottom':\r\n return { bottom };\r\n case 'bottom-end':\r\n return { bottom, right };\r\n }\r\n return {};\r\n }\r\n\r\n getOffset(offset: string[]) {\r\n if (offset.length === 0) offset = Array.from({ length: 4 }).map(() => `0`);\r\n else if (offset.length < 4) {\r\n Array.from({ length: 4 - offset.length }).map(() => (offset = [...offset, offset[offset.length - 1]]));\r\n }\r\n return offset;\r\n }\r\n\r\n createOverlayRef<T>(option: XPortalProperty<T>): OverlayRef {\r\n return this.overlay.create(option.overlayConfig);\r\n }\r\n\r\n setConnectedPosition(...placement: XPlace[] | XPlacement[]): ConnectedPosition[] {\r\n let result: ConnectedPosition[] = [];\r\n placement.forEach((place: XPlace | XPlacement) => result.push(XPortalPlacement[place]));\r\n return result;\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAOa,aAAa,CAAA;iIAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;kIAAb,aAAa,EAAA,CAAA,CAAA;kIAAb,aAAa,EAAA,CAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE;AACZ,iBAAA;;;ACDD;;;;AAIG;AACI,MAAM,aAAa,GAAG;AACtB,MAAM,sBAAsB,GAAG;AAEzB,MAAA,gBAAgB,GAA8C;AACzE,IAAA,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;AACrF,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE;AAClF,IAAA,KA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SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA,CAAA;;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;AClBlC;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, computed, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { input, Component, computed, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
3
3
  import { XPropertyFunction, XToNumber, XToCssPixelValue, XToBoolean, XIsNumber, XIsEmpty, XIsString, XIsObjectArray, XIsFunction } from '@ng-nest/ui/core';
4
4
  import { NgClass, NgTemplateOutlet } from '@angular/common';
5
5
  import { FormsModule } from '@angular/forms';
@@ -104,10 +104,10 @@ class XProgressProperty extends XPropertyFunction(X_PROGRESS_CONFIG_NAME) {
104
104
  */
105
105
  this.subsection = input(false, { transform: XToBoolean });
106
106
  }
107
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
108
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XProgressProperty, isStandalone: true, selector: "x-progress-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, percent: { classPropertyName: "percent", publicName: "percent", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, info: { classPropertyName: "info", publicName: "info", isSignal: true, isRequired: false, transformFunction: null }, infoWidth: { classPropertyName: "infoWidth", publicName: "infoWidth", isSignal: true, isRequired: false, transformFunction: null }, inside: { classPropertyName: "inside", publicName: "inside", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, gradient: { classPropertyName: "gradient", publicName: "gradient", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, stepWidth: { classPropertyName: "stepWidth", publicName: "stepWidth", isSignal: true, isRequired: false, transformFunction: null }, stepFlex: { classPropertyName: "stepFlex", publicName: "stepFlex", isSignal: true, isRequired: false, transformFunction: null }, thickness: { classPropertyName: "thickness", publicName: "thickness", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, notchAngle: { classPropertyName: "notchAngle", publicName: "notchAngle", isSignal: true, isRequired: false, transformFunction: null }, subsection: { classPropertyName: "subsection", publicName: "subsection", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
107
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
108
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.0", type: XProgressProperty, isStandalone: true, selector: "x-progress-property", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, percent: { classPropertyName: "percent", publicName: "percent", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, info: { classPropertyName: "info", publicName: "info", isSignal: true, isRequired: false, transformFunction: null }, infoWidth: { classPropertyName: "infoWidth", publicName: "infoWidth", isSignal: true, isRequired: false, transformFunction: null }, inside: { classPropertyName: "inside", publicName: "inside", isSignal: true, isRequired: false, transformFunction: null }, format: { classPropertyName: "format", publicName: "format", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, gradient: { classPropertyName: "gradient", publicName: "gradient", isSignal: true, isRequired: false, transformFunction: null }, steps: { classPropertyName: "steps", publicName: "steps", isSignal: true, isRequired: false, transformFunction: null }, stepWidth: { classPropertyName: "stepWidth", publicName: "stepWidth", isSignal: true, isRequired: false, transformFunction: null }, stepFlex: { classPropertyName: "stepFlex", publicName: "stepFlex", isSignal: true, isRequired: false, transformFunction: null }, thickness: { classPropertyName: "thickness", publicName: "thickness", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, notchAngle: { classPropertyName: "notchAngle", publicName: "notchAngle", isSignal: true, isRequired: false, transformFunction: null }, subsection: { classPropertyName: "subsection", publicName: "subsection", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressProperty, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressProperty, decorators: [{
111
111
  type: Component,
112
112
  args: [{ selector: `${XProgressPrefix}-property`, template: '' }]
113
113
  }] });
@@ -321,20 +321,20 @@ class XProgressComponent extends XProgressProperty {
321
321
  }
322
322
  return '';
323
323
  }
324
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
325
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.1", type: XProgressComponent, isStandalone: true, selector: "x-progress", usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-progress\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-progress-steps]=\"stepsArray().length > 0\"\r\n [class.x-progress-steps-flex]=\"stepFlex()\"\r\n>\r\n @switch (type()) {\r\n @case ('circle') {\r\n <ng-container *ngTemplateOutlet=\"circleTpl\"> </ng-container>\r\n }\r\n @case ('dashboard') {\r\n <ng-container *ngTemplateOutlet=\"dashboardTpl\"> </ng-container>\r\n }\r\n @default {\r\n <ng-container *ngTemplateOutlet=\"lineTpl\"> </ng-container>\r\n }\r\n }\r\n</div>\r\n\r\n<ng-template #lineTpl>\r\n @if (stepsArray().length === 0) {\r\n <ng-container *ngTemplateOutlet=\"trackTpl\"></ng-container>\r\n }\r\n @if (stepsArray().length > 0) {\r\n <ng-container *ngTemplateOutlet=\"stepsTpl\"></ng-container>\r\n }\r\n @if (info() && !inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #circleTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div class=\"x-progress-ring-rail\" [style.border-width]=\"thickness()\"></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"circleClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #dashboardTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div\r\n class=\"x-progress-ring-rail\"\r\n [style.clip-path]=\"dashboardRailClipPath()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"dashboardClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #trackTpl>\r\n <div class=\"x-progress-track\">\r\n <div\r\n class=\"x-progress-rail\"\r\n [class.x-progress-mask]=\"subsection()\"\r\n [style.background-image]=\"subsection() ? subLinearGradient() : 'none'\"\r\n >\r\n <div\r\n class=\"x-progress-bg\"\r\n [style.width.%]=\"percent()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.background-image]=\"linearGradient()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n >\r\n @if (info() && inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n </div>\r\n @if (subsection()) {\r\n <div\r\n class=\"x-progress-bg-mask\"\r\n [style.width.%]=\"maskWidth()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #stepsTpl>\r\n @for (step of stepsArray(); track i; let i = $index) {\r\n <div\r\n class=\"x-progress-step\"\r\n [class.x-progress-step-active]=\"step\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.width]=\"stepWidth()\"\r\n [style.flex]=\"stepFlex() ? 1 : 'none'\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #textTpl>\r\n <span class=\"x-progress-text\" [style.width]=\"infoWidth()\">\r\n @switch (status()) {\r\n @case ('success') {\r\n <x-icon type=\"fto-check-circle\"></x-icon>\r\n }\r\n @case ('exception') {\r\n <x-icon type=\"fto-x-circle\"></x-icon>\r\n }\r\n @case ('warning') {\r\n <x-icon type=\"fto-help-circle\"></x-icon>\r\n }\r\n @default {\r\n @if (format()) {\r\n {{ format()!(percent()) }}\r\n } @else {\r\n {{ percent() }}%\r\n }\r\n }\r\n }\r\n </span>\r\n</ng-template>\r\n", styles: ["@keyframes x-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}x-progress{display:initial}.x-progress{margin:0;padding:0}.x-progress{display:inline-flex;align-items:center;width:100%}.x-progress-track{flex:1;display:inline-flex;align-items:center}.x-progress-rail{position:relative;display:inline-flex;width:100%;overflow:hidden;vertical-align:middle;background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-bg{position:relative;background-color:var(--x-primary);transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;border-radius:var(--x-border-radius);text-align:right;color:#fff}.x-progress-bg>span{margin:0 .325rem}.x-progress-circle,.x-progress-dashboard,.x-progress-steps:not(.x-progress-steps-flex){width:initial}.x-progress-ring{position:relative;display:inline-flex;align-items:center;justify-content:center}.x-progress-ring-rail{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-border-100);border-radius:100%}.x-progress-ring-bg{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-primary);border-radius:100%;transition:clip-path .3s cubic-bezier(.08,.82,.17,1) 0s}.x-progress-ring .x-progress-text{margin-left:0;justify-content:center;font-size:var(--x-font-size-large)}.x-progress-mask .x-progress-bg{background:transparent}.x-progress-bg-mask{transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;background-color:var(--x-border-100);border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-progress-step{background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-step:not(:first-child){margin-left:.125rem}.x-progress-step-active{background-color:var(--x-primary)}.x-progress-text{margin-left:.5rem;display:inline-flex;align-items:center;white-space:nowrap}.x-progress-text x-icon{font-size:1.25rem}.x-progress-active .x-progress-bg:before{position:absolute;inset:0;background:var(--x-background-100);border-radius:var(--x-border-radius);opacity:0;animation:x-progress-active 2s cubic-bezier(.23,1,.32,1) infinite;content:\"\"}.x-progress-exception .x-progress-text{color:var(--x-danger)}.x-progress-exception .x-progress-bg,.x-progress-exception .x-progress-step-active{background-color:var(--x-danger)}.x-progress-exception .x-progress-ring-bg{border-color:var(--x-danger)}.x-progress-success .x-progress-text{color:var(--x-success)}.x-progress-success .x-progress-bg,.x-progress-success .x-progress-step-active{background-color:var(--x-success)}.x-progress-success .x-progress-ring-bg{border-color:var(--x-success)}.x-progress-warning .x-progress-text{color:var(--x-warning)}.x-progress-warning .x-progress-bg,.x-progress-warning .x-progress-step-active{background-color:var(--x-warning)}.x-progress-warning .x-progress-ring-bg{border-color:var(--x-warning)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: XIconComponent, selector: "x-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
324
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
325
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: XProgressComponent, isStandalone: true, selector: "x-progress", usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-progress\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-progress-steps]=\"stepsArray().length > 0\"\r\n [class.x-progress-steps-flex]=\"stepFlex()\"\r\n>\r\n @switch (type()) {\r\n @case ('circle') {\r\n <ng-container *ngTemplateOutlet=\"circleTpl\"> </ng-container>\r\n }\r\n @case ('dashboard') {\r\n <ng-container *ngTemplateOutlet=\"dashboardTpl\"> </ng-container>\r\n }\r\n @default {\r\n <ng-container *ngTemplateOutlet=\"lineTpl\"> </ng-container>\r\n }\r\n }\r\n</div>\r\n\r\n<ng-template #lineTpl>\r\n @if (stepsArray().length === 0) {\r\n <ng-container *ngTemplateOutlet=\"trackTpl\"></ng-container>\r\n }\r\n @if (stepsArray().length > 0) {\r\n <ng-container *ngTemplateOutlet=\"stepsTpl\"></ng-container>\r\n }\r\n @if (info() && !inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #circleTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div class=\"x-progress-ring-rail\" [style.border-width]=\"thickness()\"></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"circleClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #dashboardTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div\r\n class=\"x-progress-ring-rail\"\r\n [style.clip-path]=\"dashboardRailClipPath()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"dashboardClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #trackTpl>\r\n <div class=\"x-progress-track\">\r\n <div\r\n class=\"x-progress-rail\"\r\n [class.x-progress-mask]=\"subsection()\"\r\n [style.background-image]=\"subsection() ? subLinearGradient() : 'none'\"\r\n >\r\n <div\r\n class=\"x-progress-bg\"\r\n [style.width.%]=\"percent()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.background-image]=\"linearGradient()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n >\r\n @if (info() && inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n </div>\r\n @if (subsection()) {\r\n <div\r\n class=\"x-progress-bg-mask\"\r\n [style.width.%]=\"maskWidth()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #stepsTpl>\r\n @for (step of stepsArray(); track i; let i = $index) {\r\n <div\r\n class=\"x-progress-step\"\r\n [class.x-progress-step-active]=\"step\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.width]=\"stepWidth()\"\r\n [style.flex]=\"stepFlex() ? 1 : 'none'\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #textTpl>\r\n <span class=\"x-progress-text\" [style.width]=\"infoWidth()\">\r\n @switch (status()) {\r\n @case ('success') {\r\n <x-icon type=\"fto-check-circle\"></x-icon>\r\n }\r\n @case ('exception') {\r\n <x-icon type=\"fto-x-circle\"></x-icon>\r\n }\r\n @case ('warning') {\r\n <x-icon type=\"fto-help-circle\"></x-icon>\r\n }\r\n @default {\r\n @if (format()) {\r\n {{ format()!(percent()) }}\r\n } @else {\r\n {{ percent() }}%\r\n }\r\n }\r\n }\r\n </span>\r\n</ng-template>\r\n", styles: ["@keyframes x-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}x-progress{display:initial}.x-progress{margin:0;padding:0}.x-progress{display:inline-flex;align-items:center;width:100%}.x-progress-track{flex:1;display:inline-flex;align-items:center}.x-progress-rail{position:relative;display:inline-flex;width:100%;overflow:hidden;vertical-align:middle;background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-bg{position:relative;background-color:var(--x-primary);transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;border-radius:var(--x-border-radius);text-align:right;color:#fff}.x-progress-bg>span{margin:0 .325rem}.x-progress-circle,.x-progress-dashboard,.x-progress-steps:not(.x-progress-steps-flex){width:initial}.x-progress-ring{position:relative;display:inline-flex;align-items:center;justify-content:center}.x-progress-ring-rail{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-border-100);border-radius:100%}.x-progress-ring-bg{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-primary);border-radius:100%;transition:clip-path .3s cubic-bezier(.08,.82,.17,1) 0s}.x-progress-ring .x-progress-text{margin-left:0;justify-content:center;font-size:var(--x-font-size-large)}.x-progress-mask .x-progress-bg{background:transparent}.x-progress-bg-mask{transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;background-color:var(--x-border-100);border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-progress-step{background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-step:not(:first-child){margin-left:.125rem}.x-progress-step-active{background-color:var(--x-primary)}.x-progress-text{margin-left:.5rem;display:inline-flex;align-items:center;white-space:nowrap}.x-progress-text x-icon{font-size:1.25rem}.x-progress-active .x-progress-bg:before{position:absolute;inset:0;background:var(--x-background-100);border-radius:var(--x-border-radius);opacity:0;animation:x-progress-active 2s cubic-bezier(.23,1,.32,1) infinite;content:\"\"}.x-progress-exception .x-progress-text{color:var(--x-danger)}.x-progress-exception .x-progress-bg,.x-progress-exception .x-progress-step-active{background-color:var(--x-danger)}.x-progress-exception .x-progress-ring-bg{border-color:var(--x-danger)}.x-progress-success .x-progress-text{color:var(--x-success)}.x-progress-success .x-progress-bg,.x-progress-success .x-progress-step-active{background-color:var(--x-success)}.x-progress-success .x-progress-ring-bg{border-color:var(--x-success)}.x-progress-warning .x-progress-text{color:var(--x-warning)}.x-progress-warning .x-progress-bg,.x-progress-warning .x-progress-step-active{background-color:var(--x-warning)}.x-progress-warning .x-progress-ring-bg{border-color:var(--x-warning)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: XIconComponent, selector: "x-icon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
326
326
  }
327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressComponent, decorators: [{
327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressComponent, decorators: [{
328
328
  type: Component,
329
329
  args: [{ selector: `${XProgressPrefix}`, imports: [NgClass, NgTemplateOutlet, FormsModule, XIconComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n class=\"x-progress\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-progress-steps]=\"stepsArray().length > 0\"\r\n [class.x-progress-steps-flex]=\"stepFlex()\"\r\n>\r\n @switch (type()) {\r\n @case ('circle') {\r\n <ng-container *ngTemplateOutlet=\"circleTpl\"> </ng-container>\r\n }\r\n @case ('dashboard') {\r\n <ng-container *ngTemplateOutlet=\"dashboardTpl\"> </ng-container>\r\n }\r\n @default {\r\n <ng-container *ngTemplateOutlet=\"lineTpl\"> </ng-container>\r\n }\r\n }\r\n</div>\r\n\r\n<ng-template #lineTpl>\r\n @if (stepsArray().length === 0) {\r\n <ng-container *ngTemplateOutlet=\"trackTpl\"></ng-container>\r\n }\r\n @if (stepsArray().length > 0) {\r\n <ng-container *ngTemplateOutlet=\"stepsTpl\"></ng-container>\r\n }\r\n @if (info() && !inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #circleTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div class=\"x-progress-ring-rail\" [style.border-width]=\"thickness()\"></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"circleClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #dashboardTpl>\r\n <div class=\"x-progress-ring\" [style.width]=\"size()\" [style.height]=\"size()\">\r\n <div\r\n class=\"x-progress-ring-rail\"\r\n [style.clip-path]=\"dashboardRailClipPath()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <div\r\n class=\"x-progress-ring-bg\"\r\n [style.clip-path]=\"dashboardClipPath()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.border-width]=\"thickness()\"\r\n ></div>\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #trackTpl>\r\n <div class=\"x-progress-track\">\r\n <div\r\n class=\"x-progress-rail\"\r\n [class.x-progress-mask]=\"subsection()\"\r\n [style.background-image]=\"subsection() ? subLinearGradient() : 'none'\"\r\n >\r\n <div\r\n class=\"x-progress-bg\"\r\n [style.width.%]=\"percent()\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.background-image]=\"linearGradient()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n >\r\n @if (info() && inside()) {\r\n <ng-container *ngTemplateOutlet=\"textTpl\"></ng-container>\r\n }\r\n </div>\r\n @if (subsection()) {\r\n <div\r\n class=\"x-progress-bg-mask\"\r\n [style.width.%]=\"maskWidth()\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<ng-template #stepsTpl>\r\n @for (step of stepsArray(); track i; let i = $index) {\r\n <div\r\n class=\"x-progress-step\"\r\n [class.x-progress-step-active]=\"step\"\r\n [style.background-color]=\"currentColor()\"\r\n [style.width]=\"stepWidth()\"\r\n [style.flex]=\"stepFlex() ? 1 : 'none'\"\r\n [style.height]=\"height()\"\r\n [style.line-height]=\"height()\"\r\n ></div>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #textTpl>\r\n <span class=\"x-progress-text\" [style.width]=\"infoWidth()\">\r\n @switch (status()) {\r\n @case ('success') {\r\n <x-icon type=\"fto-check-circle\"></x-icon>\r\n }\r\n @case ('exception') {\r\n <x-icon type=\"fto-x-circle\"></x-icon>\r\n }\r\n @case ('warning') {\r\n <x-icon type=\"fto-help-circle\"></x-icon>\r\n }\r\n @default {\r\n @if (format()) {\r\n {{ format()!(percent()) }}\r\n } @else {\r\n {{ percent() }}%\r\n }\r\n }\r\n }\r\n </span>\r\n</ng-template>\r\n", styles: ["@keyframes x-progress-active{0%{width:0;opacity:.1}20%{width:0;opacity:.5}to{width:100%;opacity:0}}x-progress{display:initial}.x-progress{margin:0;padding:0}.x-progress{display:inline-flex;align-items:center;width:100%}.x-progress-track{flex:1;display:inline-flex;align-items:center}.x-progress-rail{position:relative;display:inline-flex;width:100%;overflow:hidden;vertical-align:middle;background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-bg{position:relative;background-color:var(--x-primary);transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;border-radius:var(--x-border-radius);text-align:right;color:#fff}.x-progress-bg>span{margin:0 .325rem}.x-progress-circle,.x-progress-dashboard,.x-progress-steps:not(.x-progress-steps-flex){width:initial}.x-progress-ring{position:relative;display:inline-flex;align-items:center;justify-content:center}.x-progress-ring-rail{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-border-100);border-radius:100%}.x-progress-ring-bg{position:absolute;width:100%;height:100%;border-style:solid;border-color:var(--x-primary);border-radius:100%;transition:clip-path .3s cubic-bezier(.08,.82,.17,1) 0s}.x-progress-ring .x-progress-text{margin-left:0;justify-content:center;font-size:var(--x-font-size-large)}.x-progress-mask .x-progress-bg{background:transparent}.x-progress-bg-mask{transition:width .3s cubic-bezier(.08,.82,.17,1) 0s;background-color:var(--x-border-100);border-top-right-radius:var(--x-border-radius);border-bottom-right-radius:var(--x-border-radius)}.x-progress-step{background-color:var(--x-border-100);border-radius:var(--x-border-radius)}.x-progress-step:not(:first-child){margin-left:.125rem}.x-progress-step-active{background-color:var(--x-primary)}.x-progress-text{margin-left:.5rem;display:inline-flex;align-items:center;white-space:nowrap}.x-progress-text x-icon{font-size:1.25rem}.x-progress-active .x-progress-bg:before{position:absolute;inset:0;background:var(--x-background-100);border-radius:var(--x-border-radius);opacity:0;animation:x-progress-active 2s cubic-bezier(.23,1,.32,1) infinite;content:\"\"}.x-progress-exception .x-progress-text{color:var(--x-danger)}.x-progress-exception .x-progress-bg,.x-progress-exception .x-progress-step-active{background-color:var(--x-danger)}.x-progress-exception .x-progress-ring-bg{border-color:var(--x-danger)}.x-progress-success .x-progress-text{color:var(--x-success)}.x-progress-success .x-progress-bg,.x-progress-success .x-progress-step-active{background-color:var(--x-success)}.x-progress-success .x-progress-ring-bg{border-color:var(--x-success)}.x-progress-warning .x-progress-text{color:var(--x-warning)}.x-progress-warning .x-progress-bg,.x-progress-warning .x-progress-step-active{background-color:var(--x-warning)}.x-progress-warning .x-progress-ring-bg{border-color:var(--x-warning)}\n"] }]
330
330
  }] });
331
331
 
332
332
  class XProgressModule {
333
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
334
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XProgressModule, imports: [XProgressComponent], exports: [XProgressComponent] }); }
335
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressModule, imports: [XProgressComponent] }); }
333
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
334
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: XProgressModule, imports: [XProgressComponent], exports: [XProgressComponent] }); }
335
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressModule, imports: [XProgressComponent] }); }
336
336
  }
337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XProgressModule, decorators: [{
337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XProgressModule, decorators: [{
338
338
  type: NgModule,
339
339
  args: [{
340
340
  exports: [XProgressComponent],
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { input, Component, viewChild, ElementRef, signal, computed, TemplateRef, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { input, Component, viewChild, ElementRef, signal, computed, TemplateRef, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
3
3
  import { XToBoolean, XToCssPixelValue, XIsChange, XSetData } from '@ng-nest/ui/core';
4
4
  import { XFormControlFunction, XValueAccessor } from '@ng-nest/ui/base-form';
5
5
  import { Subject } from 'rxjs';
@@ -118,10 +118,10 @@ class XRadioProperty extends XFormControlFunction(X_RADIO_CONFIG_NAME) {
118
118
  */
119
119
  this.after = input();
120
120
  }
121
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
122
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.0.1", type: XRadioProperty, isStandalone: true, selector: "x-radio-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, button: { classPropertyName: "button", publicName: "button", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, tag: { classPropertyName: "tag", publicName: "tag", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, tagBordered: { classPropertyName: "tagBordered", publicName: "tagBordered", isSignal: true, isRequired: false, transformFunction: null }, tagDark: { classPropertyName: "tagDark", publicName: "tagDark", isSignal: true, isRequired: false, transformFunction: null }, allowCancel: { classPropertyName: "allowCancel", publicName: "allowCancel", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
121
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
122
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.0", type: XRadioProperty, isStandalone: true, selector: "x-radio-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, button: { classPropertyName: "button", publicName: "button", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, tag: { classPropertyName: "tag", publicName: "tag", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, tagBordered: { classPropertyName: "tagBordered", publicName: "tagBordered", isSignal: true, isRequired: false, transformFunction: null }, tagDark: { classPropertyName: "tagDark", publicName: "tagDark", isSignal: true, isRequired: false, transformFunction: null }, allowCancel: { classPropertyName: "allowCancel", publicName: "allowCancel", isSignal: true, isRequired: false, transformFunction: null }, vertical: { classPropertyName: "vertical", publicName: "vertical", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelWidth: { classPropertyName: "labelWidth", publicName: "labelWidth", isSignal: true, isRequired: false, transformFunction: null }, labelAlign: { classPropertyName: "labelAlign", publicName: "labelAlign", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, before: { classPropertyName: "before", publicName: "before", isSignal: true, isRequired: false, transformFunction: null }, after: { classPropertyName: "after", publicName: "after", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
123
123
  }
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioProperty, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioProperty, decorators: [{
125
125
  type: Component,
126
126
  args: [{ selector: `${XRadioPrefix}-property`, template: '' }]
127
127
  }] });
@@ -184,20 +184,20 @@ class XRadioComponent extends XRadioProperty {
184
184
  this.nodes.set(x);
185
185
  });
186
186
  }
187
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
188
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.1", type: XRadioComponent, isStandalone: true, selector: "x-radio", providers: [XValueAccessor(XRadioComponent)], viewQueries: [{ propertyName: "radio", first: true, predicate: ["radio"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\r\n #radio\r\n class=\"x-radio\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-radio-button]=\"button()\"\r\n [class.x-radio-icon]=\"icon()\"\r\n [class.x-radio-vertical]=\"vertical()\"\r\n [class.x-radio-after]=\"after()\"\r\n [class.x-radio-before]=\"before()\"\r\n [class.x-radio-after-template]=\"afterIsTemplate()\"\r\n [class.x-radio-before-template]=\"beforeIsTemplate()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-radio-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [ngClass]=\"labelMapSignal()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-radio-row\">\r\n @if (before()) {\r\n <div class=\"x-radio-row-before\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-radio-row-list\">\r\n @switch (radioType()) {\r\n @case ('initial') {\r\n @for (item of nodes(); track item.id) {\r\n <div\r\n class=\"x-radio-row-item\"\r\n [class.x-checked]=\"item.id === value()\"\r\n [class.x-disabled]=\"disabledComputed() || item.disabled\"\r\n (click)=\"radioClick($event, item)\"\r\n >\r\n <span class=\"x-radio-box\"></span>\r\n <span class=\"x-radio-label\">{{ item.label }}</span>\r\n </div>\r\n }\r\n }\r\n @case ('button') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('icon') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('tag') {\r\n @for (item of nodes(); track item.id) {\r\n <x-tag\r\n checked\r\n manual\r\n [type]=\"type()\"\r\n [size]=\"size()\"\r\n [bordered]=\"tagBordered()\"\r\n [dark]=\"tagDark()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n [selected]=\"value() === item.id\"\r\n (click)=\"radioClick($event, item)\"\r\n >{{ item.label }}</x-tag\r\n >\r\n }\r\n }\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-radio-row-after\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".x-radio{margin:0;padding:0}.x-radio{width:100%}.x-radio.x-flex{display:flex}.x-radio.x-justify-start{justify-content:flex-start}.x-radio.x-justify-center{justify-content:center}.x-radio.x-justify-end{justify-content:flex-end}.x-radio.x-justify-space-between{justify-content:space-between}.x-radio.x-justify-space-around{justify-content:space-around}.x-radio.x-align-start{align-items:flex-start}.x-radio.x-align-center{align-items:center}.x-radio.x-align-end{align-items:flex-end}.x-radio.x-direction-column{flex-direction:column}.x-radio.x-direction-column-reverse{flex-direction:column-reverse}.x-radio.x-direction-row{flex-direction:row}.x-radio.x-direction-row-reverse{flex-direction:row-reverse}.x-radio>label{display:inline-block;white-space:nowrap;height:var(--x-height-medium);line-height:var(--x-height-medium);position:relative;color:var(--x-text-300);font-weight:600}.x-radio>label.x-text-align-start{text-align:start}.x-radio>label.x-text-align-center{text-align:center}.x-radio>label.x-text-align-end{text-align:end}.x-radio-row{flex:1;display:flex;align-items:center;flex-wrap:wrap;height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row .x-radio-row-before,.x-radio-row .x-radio-row-after{border-radius:var(--x-border-radius);background-color:var(--x-background-a200);padding:0 var(--x-padding-medium);height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row-list{position:relative;display:inline-flex;align-items:center}.x-radio-row-list x-tag:not(:first-child){margin-left:var(--x-font-size)}.x-radio-row-item{position:relative;display:inline-flex;align-items:center;white-space:nowrap;outline:none;margin-right:var(--x-font-size);font-size:var(--x-font-size);cursor:pointer;transition:all .3s}.x-radio-row-item:hover{color:var(--x-primary)}.x-radio-row-item:hover .x-radio-box{border-color:var(--x-primary)}.x-radio-row-item:last-child{margin-right:0}.x-radio-row-item.x-checked .x-radio-box{border-color:var(--x-primary);border-width:.375rem}.x-radio-row-item.x-disabled{color:var(--x-text-400);cursor:not-allowed}.x-radio-row-item.x-disabled .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio-row-item.x-disabled .x-radio-box:after{background-color:var(--x-text-400)}.x-radio-button .x-radio-row-before,.x-radio-icon .x-radio-row-before{margin-right:0}.x-radio-button .x-radio-row-after,.x-radio-icon .x-radio-row-after{margin-left:0}.x-radio-vertical .x-radio-row-list{flex-direction:column;align-items:flex-start}.x-radio-vertical .x-radio-row-list x-tag{margin-left:0}.x-radio-vertical .x-radio-row-list x-tag:not(:first-child){margin-top:.25rem}.x-radio-vertical .x-radio-row-item{margin-right:0}.x-radio-vertical .x-radio-row-item:not(:first-child){margin-top:.25rem}.x-radio-box{border:var(--x-border-width) solid var(--x-border);border-radius:100%;width:calc(var(--x-height-medium) - .875rem);height:calc(var(--x-height-medium) - .875rem);background-color:var(--x-background-a100);position:relative;box-sizing:border-box;transition:all .2s;display:inline-flex;align-items:center;justify-content:center}.x-radio-box:hover{border-color:var(--x-primary)}.x-radio-label{margin-left:.325rem}.x-radio-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-radio-before:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-before{margin-right:var(--x-padding-medium)}.x-radio-before.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button,.x-radio-before.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-before.x-radio-button .x-radio-row-before,.x-radio-before.x-radio-icon .x-radio-row-before{margin-right:0;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-before-template .x-radio-row-before{display:contents}.x-radio-before-template .x-radio-row-list{margin-left:var(--x-padding-medium)}.x-radio-before-template.x-radio-button .x-radio-row-list,.x-radio-before-template.x-radio-icon .x-radio-row-list,.x-radio-before-template.x-radio-button .x-radio-row-list .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-list .x-button{margin-left:0}.x-radio-before-template.x-radio-button .x-radio-row-before input,.x-radio-before-template.x-radio-button .x-radio-row-before .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-before input,.x-radio-before-template.x-radio-icon .x-radio-row-before .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-after{margin-left:var(--x-padding-medium)}.x-radio-after.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button,.x-radio-after.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after.x-radio-button .x-radio-row-after,.x-radio-after.x-radio-icon .x-radio-row-after{margin-left:0;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-after-template .x-radio-row-after{display:contents}.x-radio-after-template .x-radio-row-list{margin-right:var(--x-padding-medium)}.x-radio-after-template.x-radio-button .x-radio-row-list,.x-radio-after-template.x-radio-icon .x-radio-row-list,.x-radio-after-template.x-radio-button .x-radio-row-list .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-list .x-button{margin-right:0}.x-radio-after-template.x-radio-button .x-radio-row-after input,.x-radio-after-template.x-radio-button .x-radio-row-after .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-after input,.x-radio-after-template.x-radio-icon .x-radio-row-after .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio.x-disabled .x-radio-item{color:var(--x-text-400);cursor:not-allowed}.x-radio.x-disabled .x-radio-item .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio.x-disabled .x-radio-item .x-radio-box:after{background-color:var(--x-text-400)}.x-radio.x-invalid>label,.x-radio.x-required>label{color:var(--x-danger)}.x-radio.x-direction-row>label{padding:0 .5rem 0 0}.x-radio.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-radio.x-direction-column,.x-radio.x-direction-column-reverse{align-items:inherit}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: XTagComponent, selector: "x-tag" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
187
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
188
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.0", type: XRadioComponent, isStandalone: true, selector: "x-radio", providers: [XValueAccessor(XRadioComponent)], viewQueries: [{ propertyName: "radio", first: true, predicate: ["radio"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div\r\n #radio\r\n class=\"x-radio\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-radio-button]=\"button()\"\r\n [class.x-radio-icon]=\"icon()\"\r\n [class.x-radio-vertical]=\"vertical()\"\r\n [class.x-radio-after]=\"after()\"\r\n [class.x-radio-before]=\"before()\"\r\n [class.x-radio-after-template]=\"afterIsTemplate()\"\r\n [class.x-radio-before-template]=\"beforeIsTemplate()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-radio-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [ngClass]=\"labelMapSignal()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-radio-row\">\r\n @if (before()) {\r\n <div class=\"x-radio-row-before\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-radio-row-list\">\r\n @switch (radioType()) {\r\n @case ('initial') {\r\n @for (item of nodes(); track item.id) {\r\n <div\r\n class=\"x-radio-row-item\"\r\n [class.x-checked]=\"item.id === value()\"\r\n [class.x-disabled]=\"disabledComputed() || item.disabled\"\r\n (click)=\"radioClick($event, item)\"\r\n >\r\n <span class=\"x-radio-box\"></span>\r\n <span class=\"x-radio-label\">{{ item.label }}</span>\r\n </div>\r\n }\r\n }\r\n @case ('button') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('icon') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('tag') {\r\n @for (item of nodes(); track item.id) {\r\n <x-tag\r\n checked\r\n manual\r\n [type]=\"type()\"\r\n [size]=\"size()\"\r\n [bordered]=\"tagBordered()\"\r\n [dark]=\"tagDark()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n [selected]=\"value() === item.id\"\r\n (click)=\"radioClick($event, item)\"\r\n >{{ item.label }}</x-tag\r\n >\r\n }\r\n }\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-radio-row-after\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".x-radio{margin:0;padding:0}.x-radio{width:100%}.x-radio.x-flex{display:flex}.x-radio.x-justify-start{justify-content:flex-start}.x-radio.x-justify-center{justify-content:center}.x-radio.x-justify-end{justify-content:flex-end}.x-radio.x-justify-space-between{justify-content:space-between}.x-radio.x-justify-space-around{justify-content:space-around}.x-radio.x-align-start{align-items:flex-start}.x-radio.x-align-center{align-items:center}.x-radio.x-align-end{align-items:flex-end}.x-radio.x-direction-column{flex-direction:column}.x-radio.x-direction-column-reverse{flex-direction:column-reverse}.x-radio.x-direction-row{flex-direction:row}.x-radio.x-direction-row-reverse{flex-direction:row-reverse}.x-radio>label{display:inline-block;white-space:nowrap;height:var(--x-height-medium);line-height:var(--x-height-medium);position:relative;color:var(--x-text-300);font-weight:600}.x-radio>label.x-text-align-start{text-align:start}.x-radio>label.x-text-align-center{text-align:center}.x-radio>label.x-text-align-end{text-align:end}.x-radio-row{flex:1;display:flex;align-items:center;flex-wrap:wrap;height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row .x-radio-row-before,.x-radio-row .x-radio-row-after{border-radius:var(--x-border-radius);background-color:var(--x-background-a200);padding:0 var(--x-padding-medium);height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row-list{position:relative;display:inline-flex;align-items:center}.x-radio-row-list x-tag:not(:first-child){margin-left:var(--x-font-size)}.x-radio-row-item{position:relative;display:inline-flex;align-items:center;white-space:nowrap;outline:none;margin-right:var(--x-font-size);font-size:var(--x-font-size);cursor:pointer;transition:all .3s}.x-radio-row-item:hover{color:var(--x-primary)}.x-radio-row-item:hover .x-radio-box{border-color:var(--x-primary)}.x-radio-row-item:last-child{margin-right:0}.x-radio-row-item.x-checked .x-radio-box{border-color:var(--x-primary);border-width:.375rem}.x-radio-row-item.x-disabled{color:var(--x-text-400);cursor:not-allowed}.x-radio-row-item.x-disabled .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio-row-item.x-disabled .x-radio-box:after{background-color:var(--x-text-400)}.x-radio-button .x-radio-row-before,.x-radio-icon .x-radio-row-before{margin-right:0}.x-radio-button .x-radio-row-after,.x-radio-icon .x-radio-row-after{margin-left:0}.x-radio-vertical .x-radio-row-list{flex-direction:column;align-items:flex-start}.x-radio-vertical .x-radio-row-list x-tag{margin-left:0}.x-radio-vertical .x-radio-row-list x-tag:not(:first-child){margin-top:.25rem}.x-radio-vertical .x-radio-row-item{margin-right:0}.x-radio-vertical .x-radio-row-item:not(:first-child){margin-top:.25rem}.x-radio-box{border:var(--x-border-width) solid var(--x-border);border-radius:100%;width:calc(var(--x-height-medium) - .875rem);height:calc(var(--x-height-medium) - .875rem);background-color:var(--x-background-a100);position:relative;box-sizing:border-box;transition:all .2s;display:inline-flex;align-items:center;justify-content:center}.x-radio-box:hover{border-color:var(--x-primary)}.x-radio-label{margin-left:.325rem}.x-radio-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-radio-before:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-before{margin-right:var(--x-padding-medium)}.x-radio-before.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button,.x-radio-before.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-before.x-radio-button .x-radio-row-before,.x-radio-before.x-radio-icon .x-radio-row-before{margin-right:0;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-before-template .x-radio-row-before{display:contents}.x-radio-before-template .x-radio-row-list{margin-left:var(--x-padding-medium)}.x-radio-before-template.x-radio-button .x-radio-row-list,.x-radio-before-template.x-radio-icon .x-radio-row-list,.x-radio-before-template.x-radio-button .x-radio-row-list .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-list .x-button{margin-left:0}.x-radio-before-template.x-radio-button .x-radio-row-before input,.x-radio-before-template.x-radio-button .x-radio-row-before .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-before input,.x-radio-before-template.x-radio-icon .x-radio-row-before .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-after{margin-left:var(--x-padding-medium)}.x-radio-after.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button,.x-radio-after.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after.x-radio-button .x-radio-row-after,.x-radio-after.x-radio-icon .x-radio-row-after{margin-left:0;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-after-template .x-radio-row-after{display:contents}.x-radio-after-template .x-radio-row-list{margin-right:var(--x-padding-medium)}.x-radio-after-template.x-radio-button .x-radio-row-list,.x-radio-after-template.x-radio-icon .x-radio-row-list,.x-radio-after-template.x-radio-button .x-radio-row-list .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-list .x-button{margin-right:0}.x-radio-after-template.x-radio-button .x-radio-row-after input,.x-radio-after-template.x-radio-button .x-radio-row-after .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-after input,.x-radio-after-template.x-radio-icon .x-radio-row-after .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio.x-disabled .x-radio-item{color:var(--x-text-400);cursor:not-allowed}.x-radio.x-disabled .x-radio-item .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio.x-disabled .x-radio-item .x-radio-box:after{background-color:var(--x-text-400)}.x-radio.x-invalid>label,.x-radio.x-required>label{color:var(--x-danger)}.x-radio.x-direction-row>label{padding:0 .5rem 0 0}.x-radio.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-radio.x-direction-column,.x-radio.x-direction-column-reverse{align-items:inherit}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: XButtonComponent, selector: "x-button" }, { kind: "component", type: XButtonsComponent, selector: "x-buttons" }, { kind: "component", type: XTagComponent, selector: "x-tag" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
189
189
  }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioComponent, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioComponent, decorators: [{
191
191
  type: Component,
192
192
  args: [{ selector: `${XRadioPrefix}`, imports: [NgClass, FormsModule, XButtonComponent, XButtonsComponent, XTagComponent, XOutletDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [XValueAccessor(XRadioComponent)], template: "<div\r\n #radio\r\n class=\"x-radio\"\r\n [ngClass]=\"classMap()\"\r\n [class.x-flex]=\"justify() || align() || direction()\"\r\n [class.x-disabled]=\"disabledComputed()\"\r\n [class.x-required]=\"requiredIsEmpty()\"\r\n [class.x-invalid]=\"invalid()\"\r\n [class.x-radio-button]=\"button()\"\r\n [class.x-radio-icon]=\"icon()\"\r\n [class.x-radio-vertical]=\"vertical()\"\r\n [class.x-radio-after]=\"after()\"\r\n [class.x-radio-before]=\"before()\"\r\n [class.x-radio-after-template]=\"afterIsTemplate()\"\r\n [class.x-radio-before-template]=\"beforeIsTemplate()\"\r\n>\r\n @if (label()) {\r\n <label\r\n [class.x-radio-label-required]=\"requiredComputed()\"\r\n [style.width]=\"labelWidth()\"\r\n [ngClass]=\"labelMapSignal()\"\r\n >{{ label() }}</label\r\n >\r\n }\r\n <div class=\"x-radio-row\">\r\n @if (before()) {\r\n <div class=\"x-radio-row-before\">\r\n <ng-container *xOutlet=\"before()\">{{ before() }}</ng-container>\r\n </div>\r\n }\r\n <div class=\"x-radio-row-list\">\r\n @switch (radioType()) {\r\n @case ('initial') {\r\n @for (item of nodes(); track item.id) {\r\n <div\r\n class=\"x-radio-row-item\"\r\n [class.x-checked]=\"item.id === value()\"\r\n [class.x-disabled]=\"disabledComputed() || item.disabled\"\r\n (click)=\"radioClick($event, item)\"\r\n >\r\n <span class=\"x-radio-box\"></span>\r\n <span class=\"x-radio-label\">{{ item.label }}</span>\r\n </div>\r\n }\r\n }\r\n @case ('button') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('icon') {\r\n <x-buttons boxShadow=\"false\">\r\n @for (item of nodes(); track item.id) {\r\n <x-button\r\n [icon]=\"item.icon!\"\r\n [size]=\"size()\"\r\n [type]=\"type()\"\r\n [activated]=\"item.id === value()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n attrType=\"button\"\r\n (click)=\"radioClick($event, item)\"\r\n plain\r\n >{{ item.label }}</x-button\r\n >\r\n }\r\n </x-buttons>\r\n }\r\n @case ('tag') {\r\n @for (item of nodes(); track item.id) {\r\n <x-tag\r\n checked\r\n manual\r\n [type]=\"type()\"\r\n [size]=\"size()\"\r\n [bordered]=\"tagBordered()\"\r\n [dark]=\"tagDark()\"\r\n [disabled]=\"disabledComputed() || item.disabled!\"\r\n [selected]=\"value() === item.id\"\r\n (click)=\"radioClick($event, item)\"\r\n >{{ item.label }}</x-tag\r\n >\r\n }\r\n }\r\n }\r\n </div>\r\n @if (after()) {\r\n <div class=\"x-radio-row-after\">\r\n <ng-container *xOutlet=\"after()\">{{ after() }}</ng-container>\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", styles: [".x-radio{margin:0;padding:0}.x-radio{width:100%}.x-radio.x-flex{display:flex}.x-radio.x-justify-start{justify-content:flex-start}.x-radio.x-justify-center{justify-content:center}.x-radio.x-justify-end{justify-content:flex-end}.x-radio.x-justify-space-between{justify-content:space-between}.x-radio.x-justify-space-around{justify-content:space-around}.x-radio.x-align-start{align-items:flex-start}.x-radio.x-align-center{align-items:center}.x-radio.x-align-end{align-items:flex-end}.x-radio.x-direction-column{flex-direction:column}.x-radio.x-direction-column-reverse{flex-direction:column-reverse}.x-radio.x-direction-row{flex-direction:row}.x-radio.x-direction-row-reverse{flex-direction:row-reverse}.x-radio>label{display:inline-block;white-space:nowrap;height:var(--x-height-medium);line-height:var(--x-height-medium);position:relative;color:var(--x-text-300);font-weight:600}.x-radio>label.x-text-align-start{text-align:start}.x-radio>label.x-text-align-center{text-align:center}.x-radio>label.x-text-align-end{text-align:end}.x-radio-row{flex:1;display:flex;align-items:center;flex-wrap:wrap;height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row .x-radio-row-before,.x-radio-row .x-radio-row-after{border-radius:var(--x-border-radius);background-color:var(--x-background-a200);padding:0 var(--x-padding-medium);height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-radio-row-list{position:relative;display:inline-flex;align-items:center}.x-radio-row-list x-tag:not(:first-child){margin-left:var(--x-font-size)}.x-radio-row-item{position:relative;display:inline-flex;align-items:center;white-space:nowrap;outline:none;margin-right:var(--x-font-size);font-size:var(--x-font-size);cursor:pointer;transition:all .3s}.x-radio-row-item:hover{color:var(--x-primary)}.x-radio-row-item:hover .x-radio-box{border-color:var(--x-primary)}.x-radio-row-item:last-child{margin-right:0}.x-radio-row-item.x-checked .x-radio-box{border-color:var(--x-primary);border-width:.375rem}.x-radio-row-item.x-disabled{color:var(--x-text-400);cursor:not-allowed}.x-radio-row-item.x-disabled .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio-row-item.x-disabled .x-radio-box:after{background-color:var(--x-text-400)}.x-radio-button .x-radio-row-before,.x-radio-icon .x-radio-row-before{margin-right:0}.x-radio-button .x-radio-row-after,.x-radio-icon .x-radio-row-after{margin-left:0}.x-radio-vertical .x-radio-row-list{flex-direction:column;align-items:flex-start}.x-radio-vertical .x-radio-row-list x-tag{margin-left:0}.x-radio-vertical .x-radio-row-list x-tag:not(:first-child){margin-top:.25rem}.x-radio-vertical .x-radio-row-item{margin-right:0}.x-radio-vertical .x-radio-row-item:not(:first-child){margin-top:.25rem}.x-radio-box{border:var(--x-border-width) solid var(--x-border);border-radius:100%;width:calc(var(--x-height-medium) - .875rem);height:calc(var(--x-height-medium) - .875rem);background-color:var(--x-background-a100);position:relative;box-sizing:border-box;transition:all .2s;display:inline-flex;align-items:center;justify-content:center}.x-radio-box:hover{border-color:var(--x-primary)}.x-radio-label{margin-left:.325rem}.x-radio-label-required:before{display:inline-block;margin-right:.25rem;color:var(--x-danger);line-height:1;font-size:var(--x-font-size-small);content:\"*\"}.x-radio-before:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-before{margin-right:var(--x-padding-medium)}.x-radio-before.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button,.x-radio-before.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:first-child .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-before.x-radio-button .x-radio-row-before,.x-radio-before.x-radio-icon .x-radio-row-before{margin-right:0;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-before-template .x-radio-row-before{display:contents}.x-radio-before-template .x-radio-row-list{margin-left:var(--x-padding-medium)}.x-radio-before-template.x-radio-button .x-radio-row-list,.x-radio-before-template.x-radio-icon .x-radio-row-list,.x-radio-before-template.x-radio-button .x-radio-row-list .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-list .x-button{margin-left:0}.x-radio-before-template.x-radio-button .x-radio-row-before input,.x-radio-before-template.x-radio-button .x-radio-row-before .x-button,.x-radio-before-template.x-radio-icon .x-radio-row-before input,.x-radio-before-template.x-radio-icon .x-radio-row-before .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after:not(.x-radio-before-template,.x-radio-button,.x-radio-icon) .x-radio-row-after{margin-left:var(--x-padding-medium)}.x-radio-after.x-radio-button .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button,.x-radio-after.x-radio-icon .x-buttons:not(.x-buttons-space)>x-button:last-child .x-button{border-top-right-radius:0;border-bottom-right-radius:0}.x-radio-after.x-radio-button .x-radio-row-after,.x-radio-after.x-radio-icon .x-radio-row-after{margin-left:0;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.x-radio-after-template .x-radio-row-after{display:contents}.x-radio-after-template .x-radio-row-list{margin-right:var(--x-padding-medium)}.x-radio-after-template.x-radio-button .x-radio-row-list,.x-radio-after-template.x-radio-icon .x-radio-row-list,.x-radio-after-template.x-radio-button .x-radio-row-list .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-list .x-button{margin-right:0}.x-radio-after-template.x-radio-button .x-radio-row-after input,.x-radio-after-template.x-radio-button .x-radio-row-after .x-button,.x-radio-after-template.x-radio-icon .x-radio-row-after input,.x-radio-after-template.x-radio-icon .x-radio-row-after .x-button{border-top-left-radius:0;border-bottom-left-radius:0}.x-radio.x-disabled .x-radio-item{color:var(--x-text-400);cursor:not-allowed}.x-radio.x-disabled .x-radio-item .x-radio-box{border-color:var(--x-border-a900);background-color:var(--x-border-300)}.x-radio.x-disabled .x-radio-item .x-radio-box:after{background-color:var(--x-text-400)}.x-radio.x-invalid>label,.x-radio.x-required>label{color:var(--x-danger)}.x-radio.x-direction-row>label{padding:0 .5rem 0 0}.x-radio.x-direction-row-reverse>label{padding:0 0 0 .5rem}.x-radio.x-direction-column,.x-radio.x-direction-column-reverse{align-items:inherit}\n"] }]
193
193
  }] });
194
194
 
195
195
  class XRadioModule {
196
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
197
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.1", ngImport: i0, type: XRadioModule, imports: [XRadioComponent], exports: [XRadioComponent] }); }
198
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioModule, imports: [XRadioComponent] }); }
196
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
197
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: XRadioModule, imports: [XRadioComponent], exports: [XRadioComponent] }); }
198
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioModule, imports: [XRadioComponent] }); }
199
199
  }
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImport: i0, type: XRadioModule, decorators: [{
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: XRadioModule, decorators: [{
201
201
  type: NgModule,
202
202
  args: [{
203
203
  exports: [XRadioComponent],