@ng-nest/ui 21.0.13 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +1 -1
  2. package/fesm2022/ng-nest-ui-affix.mjs +12 -12
  3. package/fesm2022/ng-nest-ui-affix.mjs.map +1 -1
  4. package/fesm2022/ng-nest-ui-alert.mjs +46 -34
  5. package/fesm2022/ng-nest-ui-alert.mjs.map +1 -1
  6. package/fesm2022/ng-nest-ui-anchor.mjs +43 -31
  7. package/fesm2022/ng-nest-ui-anchor.mjs.map +1 -1
  8. package/fesm2022/ng-nest-ui-api.mjs +7 -7
  9. package/fesm2022/ng-nest-ui-attachments.mjs +74 -48
  10. package/fesm2022/ng-nest-ui-attachments.mjs.map +1 -1
  11. package/fesm2022/ng-nest-ui-auto-complete.mjs +114 -70
  12. package/fesm2022/ng-nest-ui-auto-complete.mjs.map +1 -1
  13. package/fesm2022/ng-nest-ui-avatar.mjs +47 -32
  14. package/fesm2022/ng-nest-ui-avatar.mjs.map +1 -1
  15. package/fesm2022/ng-nest-ui-back-top.mjs +23 -18
  16. package/fesm2022/ng-nest-ui-back-top.mjs.map +1 -1
  17. package/fesm2022/ng-nest-ui-badge.mjs +30 -23
  18. package/fesm2022/ng-nest-ui-badge.mjs.map +1 -1
  19. package/fesm2022/ng-nest-ui-base-form.mjs +75 -44
  20. package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
  21. package/fesm2022/ng-nest-ui-bubble.mjs +76 -48
  22. package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -1
  23. package/fesm2022/ng-nest-ui-button.mjs +53 -42
  24. package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
  25. package/fesm2022/ng-nest-ui-calendar.mjs +30 -20
  26. package/fesm2022/ng-nest-ui-calendar.mjs.map +1 -1
  27. package/fesm2022/ng-nest-ui-card.mjs +21 -16
  28. package/fesm2022/ng-nest-ui-card.mjs.map +1 -1
  29. package/fesm2022/ng-nest-ui-carousel.mjs +68 -46
  30. package/fesm2022/ng-nest-ui-carousel.mjs.map +1 -1
  31. package/fesm2022/ng-nest-ui-cascade.mjs +121 -73
  32. package/fesm2022/ng-nest-ui-cascade.mjs.map +1 -1
  33. package/fesm2022/ng-nest-ui-checkbox.mjs +54 -38
  34. package/fesm2022/ng-nest-ui-checkbox.mjs.map +1 -1
  35. package/fesm2022/ng-nest-ui-collapse.mjs +38 -30
  36. package/fesm2022/ng-nest-ui-collapse.mjs.map +1 -1
  37. package/fesm2022/ng-nest-ui-color-picker.mjs +119 -72
  38. package/fesm2022/ng-nest-ui-color-picker.mjs.map +1 -1
  39. package/fesm2022/ng-nest-ui-color.mjs +22 -16
  40. package/fesm2022/ng-nest-ui-color.mjs.map +1 -1
  41. package/fesm2022/ng-nest-ui-comment.mjs +23 -21
  42. package/fesm2022/ng-nest-ui-comment.mjs.map +1 -1
  43. package/fesm2022/ng-nest-ui-container.mjs +40 -37
  44. package/fesm2022/ng-nest-ui-container.mjs.map +1 -1
  45. package/fesm2022/ng-nest-ui-contextmenu.mjs +71 -45
  46. package/fesm2022/ng-nest-ui-contextmenu.mjs.map +1 -1
  47. package/fesm2022/ng-nest-ui-core.mjs +24 -21
  48. package/fesm2022/ng-nest-ui-core.mjs.map +1 -1
  49. package/fesm2022/ng-nest-ui-coversations.mjs +25 -18
  50. package/fesm2022/ng-nest-ui-coversations.mjs.map +1 -1
  51. package/fesm2022/ng-nest-ui-crumb.mjs +15 -13
  52. package/fesm2022/ng-nest-ui-crumb.mjs.map +1 -1
  53. package/fesm2022/ng-nest-ui-date-picker.mjs +425 -256
  54. package/fesm2022/ng-nest-ui-date-picker.mjs.map +1 -1
  55. package/fesm2022/ng-nest-ui-description.mjs +42 -31
  56. package/fesm2022/ng-nest-ui-description.mjs.map +1 -1
  57. package/fesm2022/ng-nest-ui-dialog.mjs +106 -82
  58. package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
  59. package/fesm2022/ng-nest-ui-divider.mjs +24 -17
  60. package/fesm2022/ng-nest-ui-divider.mjs.map +1 -1
  61. package/fesm2022/ng-nest-ui-doc.mjs +7 -7
  62. package/fesm2022/ng-nest-ui-drag.mjs +10 -10
  63. package/fesm2022/ng-nest-ui-drawer.mjs +52 -43
  64. package/fesm2022/ng-nest-ui-drawer.mjs.map +1 -1
  65. package/fesm2022/ng-nest-ui-dropdown.mjs +94 -58
  66. package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
  67. package/fesm2022/ng-nest-ui-empty.mjs +14 -12
  68. package/fesm2022/ng-nest-ui-empty.mjs.map +1 -1
  69. package/fesm2022/ng-nest-ui-examples.mjs +7 -7
  70. package/fesm2022/ng-nest-ui-find.mjs +111 -71
  71. package/fesm2022/ng-nest-ui-find.mjs.map +1 -1
  72. package/fesm2022/ng-nest-ui-form.mjs +45 -33
  73. package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
  74. package/fesm2022/ng-nest-ui-highlight.mjs +26 -20
  75. package/fesm2022/ng-nest-ui-highlight.mjs.map +1 -1
  76. package/fesm2022/ng-nest-ui-i18n.mjs +16 -15
  77. package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
  78. package/fesm2022/ng-nest-ui-icon.mjs +28 -21
  79. package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
  80. package/fesm2022/ng-nest-ui-image.mjs +57 -51
  81. package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
  82. package/fesm2022/ng-nest-ui-inner.mjs +11 -11
  83. package/fesm2022/ng-nest-ui-inner.mjs.map +1 -1
  84. package/fesm2022/ng-nest-ui-input-number.mjs +63 -42
  85. package/fesm2022/ng-nest-ui-input-number.mjs.map +1 -1
  86. package/fesm2022/ng-nest-ui-input.mjs +130 -85
  87. package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
  88. package/fesm2022/ng-nest-ui-keyword.mjs +19 -15
  89. package/fesm2022/ng-nest-ui-keyword.mjs.map +1 -1
  90. package/fesm2022/ng-nest-ui-layout.mjs +37 -31
  91. package/fesm2022/ng-nest-ui-layout.mjs.map +1 -1
  92. package/fesm2022/ng-nest-ui-link.mjs +23 -18
  93. package/fesm2022/ng-nest-ui-link.mjs.map +1 -1
  94. package/fesm2022/ng-nest-ui-list.mjs +137 -89
  95. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  96. package/fesm2022/ng-nest-ui-loading.mjs +36 -25
  97. package/fesm2022/ng-nest-ui-loading.mjs.map +1 -1
  98. package/fesm2022/ng-nest-ui-menu.mjs +68 -45
  99. package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
  100. package/fesm2022/ng-nest-ui-message-box.mjs +10 -10
  101. package/fesm2022/ng-nest-ui-message.mjs +10 -10
  102. package/fesm2022/ng-nest-ui-notification.mjs +10 -10
  103. package/fesm2022/ng-nest-ui-outlet.mjs +11 -9
  104. package/fesm2022/ng-nest-ui-outlet.mjs.map +1 -1
  105. package/fesm2022/ng-nest-ui-page-header.mjs +20 -15
  106. package/fesm2022/ng-nest-ui-page-header.mjs.map +1 -1
  107. package/fesm2022/ng-nest-ui-pagination.mjs +69 -48
  108. package/fesm2022/ng-nest-ui-pagination.mjs.map +1 -1
  109. package/fesm2022/ng-nest-ui-pattern.mjs +7 -7
  110. package/fesm2022/ng-nest-ui-popconfirm.mjs +40 -27
  111. package/fesm2022/ng-nest-ui-popconfirm.mjs.map +1 -1
  112. package/fesm2022/ng-nest-ui-popover.mjs +57 -38
  113. package/fesm2022/ng-nest-ui-popover.mjs.map +1 -1
  114. package/fesm2022/ng-nest-ui-portal.mjs +7 -7
  115. package/fesm2022/ng-nest-ui-progress.mjs +60 -41
  116. package/fesm2022/ng-nest-ui-progress.mjs.map +1 -1
  117. package/fesm2022/ng-nest-ui-prompts.mjs +18 -15
  118. package/fesm2022/ng-nest-ui-prompts.mjs.map +1 -1
  119. package/fesm2022/ng-nest-ui-radio.mjs +50 -35
  120. package/fesm2022/ng-nest-ui-radio.mjs.map +1 -1
  121. package/fesm2022/ng-nest-ui-rate.mjs +43 -29
  122. package/fesm2022/ng-nest-ui-rate.mjs.map +1 -1
  123. package/fesm2022/ng-nest-ui-resizable.mjs +18 -16
  124. package/fesm2022/ng-nest-ui-resizable.mjs.map +1 -1
  125. package/fesm2022/ng-nest-ui-result.mjs +22 -16
  126. package/fesm2022/ng-nest-ui-result.mjs.map +1 -1
  127. package/fesm2022/ng-nest-ui-ripple.mjs +14 -13
  128. package/fesm2022/ng-nest-ui-ripple.mjs.map +1 -1
  129. package/fesm2022/ng-nest-ui-scrollable.mjs +41 -24
  130. package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
  131. package/fesm2022/ng-nest-ui-select.mjs +197 -118
  132. package/fesm2022/ng-nest-ui-select.mjs.map +1 -1
  133. package/fesm2022/ng-nest-ui-sender.mjs +43 -31
  134. package/fesm2022/ng-nest-ui-sender.mjs.map +1 -1
  135. package/fesm2022/ng-nest-ui-skeleton.mjs +17 -15
  136. package/fesm2022/ng-nest-ui-skeleton.mjs.map +1 -1
  137. package/fesm2022/ng-nest-ui-slider-select.mjs +85 -53
  138. package/fesm2022/ng-nest-ui-slider-select.mjs.map +1 -1
  139. package/fesm2022/ng-nest-ui-slider.mjs +58 -37
  140. package/fesm2022/ng-nest-ui-slider.mjs.map +1 -1
  141. package/fesm2022/ng-nest-ui-splitter.mjs +32 -24
  142. package/fesm2022/ng-nest-ui-splitter.mjs.map +1 -1
  143. package/fesm2022/ng-nest-ui-statistic.mjs +44 -30
  144. package/fesm2022/ng-nest-ui-statistic.mjs.map +1 -1
  145. package/fesm2022/ng-nest-ui-steps.mjs +30 -22
  146. package/fesm2022/ng-nest-ui-steps.mjs.map +1 -1
  147. package/fesm2022/ng-nest-ui-suggestion.mjs +23 -20
  148. package/fesm2022/ng-nest-ui-suggestion.mjs.map +1 -1
  149. package/fesm2022/ng-nest-ui-switch.mjs +35 -25
  150. package/fesm2022/ng-nest-ui-switch.mjs.map +1 -1
  151. package/fesm2022/ng-nest-ui-table-view.mjs +78 -69
  152. package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
  153. package/fesm2022/ng-nest-ui-table.mjs +320 -205
  154. package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
  155. package/fesm2022/ng-nest-ui-tabs.mjs +74 -56
  156. package/fesm2022/ng-nest-ui-tabs.mjs.map +1 -1
  157. package/fesm2022/ng-nest-ui-tag.mjs +30 -23
  158. package/fesm2022/ng-nest-ui-tag.mjs.map +1 -1
  159. package/fesm2022/ng-nest-ui-text-retract.mjs +19 -15
  160. package/fesm2022/ng-nest-ui-text-retract.mjs.map +1 -1
  161. package/fesm2022/ng-nest-ui-textarea.mjs +69 -44
  162. package/fesm2022/ng-nest-ui-textarea.mjs.map +1 -1
  163. package/fesm2022/ng-nest-ui-theme.mjs +34 -23
  164. package/fesm2022/ng-nest-ui-theme.mjs.map +1 -1
  165. package/fesm2022/ng-nest-ui-thought-chain.mjs +26 -19
  166. package/fesm2022/ng-nest-ui-thought-chain.mjs.map +1 -1
  167. package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
  168. package/fesm2022/ng-nest-ui-time-picker.mjs +164 -96
  169. package/fesm2022/ng-nest-ui-time-picker.mjs.map +1 -1
  170. package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
  171. package/fesm2022/ng-nest-ui-timeline.mjs +26 -19
  172. package/fesm2022/ng-nest-ui-timeline.mjs.map +1 -1
  173. package/fesm2022/ng-nest-ui-tooltip.mjs +53 -35
  174. package/fesm2022/ng-nest-ui-tooltip.mjs.map +1 -1
  175. package/fesm2022/ng-nest-ui-transfer.mjs +66 -40
  176. package/fesm2022/ng-nest-ui-transfer.mjs.map +1 -1
  177. package/fesm2022/ng-nest-ui-tree-file.mjs +39 -28
  178. package/fesm2022/ng-nest-ui-tree-file.mjs.map +1 -1
  179. package/fesm2022/ng-nest-ui-tree-select.mjs +186 -111
  180. package/fesm2022/ng-nest-ui-tree-select.mjs.map +1 -1
  181. package/fesm2022/ng-nest-ui-tree.mjs +166 -105
  182. package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
  183. package/fesm2022/ng-nest-ui-typography.mjs +16 -13
  184. package/fesm2022/ng-nest-ui-typography.mjs.map +1 -1
  185. package/fesm2022/ng-nest-ui-upload.mjs +81 -53
  186. package/fesm2022/ng-nest-ui-upload.mjs.map +1 -1
  187. package/fesm2022/ng-nest-ui-watermark.mjs +45 -35
  188. package/fesm2022/ng-nest-ui-watermark.mjs.map +1 -1
  189. package/fesm2022/ng-nest-ui-welcome.mjs +22 -16
  190. package/fesm2022/ng-nest-ui-welcome.mjs.map +1 -1
  191. package/package.json +7 -6
  192. package/types/ng-nest-ui-base-form.d.ts +3 -3
  193. package/types/ng-nest-ui-carousel.d.ts +1 -1
  194. package/types/ng-nest-ui-container.d.ts +1 -1
  195. package/types/ng-nest-ui-core.d.ts +1 -1
  196. package/types/ng-nest-ui-dialog.d.ts +1 -1
  197. package/types/ng-nest-ui-drawer.d.ts +1 -1
  198. package/types/ng-nest-ui-form.d.ts +12 -12
  199. package/types/ng-nest-ui-layout.d.ts +1 -1
  200. package/types/ng-nest-ui-list.d.ts +1 -1
  201. package/types/ng-nest-ui-portal.d.ts +3 -3
  202. package/types/ng-nest-ui-table-view.d.ts +1 -1
  203. package/types/ng-nest-ui-table.d.ts +1 -1
  204. package/types/ng-nest-ui-tabs.d.ts +1 -1
  205. package/types/ng-nest-ui-tree.d.ts +1 -1
@@ -36,130 +36,142 @@ class XListProperty extends XFormControlFunction(X_LIST_CONFIG_NAME) {
36
36
  * @zh_CN 列表数据
37
37
  * @en_US List data
38
38
  */
39
- this.data = input([], ...(ngDevMode ? [{ debugName: "data" }] : []));
39
+ this.data = input([], /* @ts-ignore */
40
+ ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
40
41
  /**
41
42
  * @zh_CN 多选个数,设置为0,不限制选择个数
42
43
  * @en_US Multiple choice
43
44
  */
44
- this.multiple = input(1, { ...(ngDevMode ? { debugName: "multiple" } : {}), transform: XToNumber });
45
+ this.multiple = input(1, { ...(ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {}), transform: XToNumber });
45
46
  /**
46
47
  * @zh_CN 多选添加全选功能,适用于 multiple=0
47
48
  * @en_US Multi choice to add full selection function
48
49
  */
49
- this.selectAll = input(false, { ...(ngDevMode ? { debugName: "selectAll" } : {}), transform: XToBoolean });
50
+ this.selectAll = input(false, { ...(ngDevMode ? { debugName: "selectAll" } : /* istanbul ignore next */ {}), transform: XToBoolean });
50
51
  /**
51
52
  * @zh_CN 全选的文字
52
53
  * @en_US Selected all text
53
54
  * @default '全选'
54
55
  */
55
- this.selectAllText = input(this.config?.selectAllText ?? '', ...(ngDevMode ? [{ debugName: "selectAllText" }] : []));
56
+ this.selectAllText = input(this.config?.selectAllText ?? '', /* @ts-ignore */
57
+ ...(ngDevMode ? [{ debugName: "selectAllText" }] : /* istanbul ignore next */ []));
56
58
  /**
57
59
  * @zh_CN 选中
58
60
  * @en_US Selected
59
61
  */
60
- this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : {}), transform: XToBoolean });
62
+ this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : /* istanbul ignore next */ {}), transform: XToBoolean });
61
63
  /**
62
64
  * @zh_CN 拖动
63
65
  * @en_US Drag
64
66
  */
65
- this.drag = input(false, { ...(ngDevMode ? { debugName: "drag" } : {}), transform: XToBoolean });
67
+ this.drag = input(false, { ...(ngDevMode ? { debugName: "drag" } : /* istanbul ignore next */ {}), transform: XToBoolean });
66
68
  /**
67
69
  * @zh_CN 当开启多选的时候,ngModel 的值为对象数组
68
70
  * @en_US When multiple selection is enabled, the value of ngmodel is an array of objects
69
71
  */
70
- this.objectArray = input(false, { ...(ngDevMode ? { debugName: "objectArray" } : {}), transform: XToBoolean });
72
+ this.objectArray = input(false, { ...(ngDevMode ? { debugName: "objectArray" } : /* istanbul ignore next */ {}), transform: XToBoolean });
71
73
  /**
72
74
  * @zh_CN 节点模板
73
75
  * @en_US Node template
74
76
  */
75
- this.nodeTpl = input(...(ngDevMode ? [undefined, { debugName: "nodeTpl" }] : []));
77
+ this.nodeTpl = input(/* @ts-ignore */
78
+ ...(ngDevMode ? [undefined, { debugName: "nodeTpl" }] : /* istanbul ignore next */ []));
76
79
  /**
77
80
  * @zh_CN 节点样式
78
81
  * @en_US Node style
79
82
  */
80
- this.nodeStyle = input(...(ngDevMode ? [undefined, { debugName: "nodeStyle" }] : []));
83
+ this.nodeStyle = input(/* @ts-ignore */
84
+ ...(ngDevMode ? [undefined, { debugName: "nodeStyle" }] : /* istanbul ignore next */ []));
81
85
  /**
82
86
  * @zh_CN 分组模板
83
87
  * @en_US Group template
84
88
  */
85
- this.groupTpl = input(...(ngDevMode ? [undefined, { debugName: "groupTpl" }] : []));
89
+ this.groupTpl = input(/* @ts-ignore */
90
+ ...(ngDevMode ? [undefined, { debugName: "groupTpl" }] : /* istanbul ignore next */ []));
86
91
  /**
87
92
  * @zh_CN 列表头部
88
93
  * @en_US List header
89
94
  */
90
- this.header = input(...(ngDevMode ? [undefined, { debugName: "header" }] : []));
95
+ this.header = input(/* @ts-ignore */
96
+ ...(ngDevMode ? [undefined, { debugName: "header" }] : /* istanbul ignore next */ []));
91
97
  /**
92
98
  * @zh_CN 列表底部
93
99
  * @en_US List footer
94
100
  */
95
- this.footer = input(...(ngDevMode ? [undefined, { debugName: "footer" }] : []));
101
+ this.footer = input(/* @ts-ignore */
102
+ ...(ngDevMode ? [undefined, { debugName: "footer" }] : /* istanbul ignore next */ []));
96
103
  /**
97
104
  * @zh_CN 滚动区域元素
98
105
  * @en_US Rolling area element
99
106
  */
100
- this.scrollElement = input(...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : []));
107
+ this.scrollElement = input(/* @ts-ignore */
108
+ ...(ngDevMode ? [undefined, { debugName: "scrollElement" }] : /* istanbul ignore next */ []));
101
109
  /**
102
110
  * @zh_CN 是否使用键盘控制
103
111
  * @en_US Whether to use keyboard control
104
112
  */
105
- this.isKeyboardControlled = input(true, { ...(ngDevMode ? { debugName: "isKeyboardControlled" } : {}), transform: XToBoolean });
113
+ this.isKeyboardControlled = input(true, { ...(ngDevMode ? { debugName: "isKeyboardControlled" } : /* istanbul ignore next */ {}), transform: XToBoolean });
106
114
  /**
107
115
  * @zh_CN 加载更多
108
116
  * @en_US load more
109
117
  */
110
- this.loadMore = input(false, { ...(ngDevMode ? { debugName: "loadMore" } : {}), transform: XToBoolean });
118
+ this.loadMore = input(false, { ...(ngDevMode ? { debugName: "loadMore" } : /* istanbul ignore next */ {}), transform: XToBoolean });
111
119
  /**
112
120
  * @zh_CN 加载更多的文字
113
121
  * @en_US Load more text
114
122
  * @default '加载更多'
115
123
  */
116
- this.loadMoreText = input(this.config?.loadMoreText ?? '', ...(ngDevMode ? [{ debugName: "loadMoreText" }] : []));
124
+ this.loadMoreText = input(this.config?.loadMoreText ?? '', /* @ts-ignore */
125
+ ...(ngDevMode ? [{ debugName: "loadMoreText" }] : /* istanbul ignore next */ []));
117
126
  /**
118
127
  * @zh_CN 正在加载中的文字
119
128
  * @en_US Loading
120
129
  * @default '正在加载中'
121
130
  */
122
- this.loadingMoreText = input(this.config?.loadingMoreText ?? '', ...(ngDevMode ? [{ debugName: "loadingMoreText" }] : []));
131
+ this.loadingMoreText = input(this.config?.loadingMoreText ?? '', /* @ts-ignore */
132
+ ...(ngDevMode ? [{ debugName: "loadingMoreText" }] : /* istanbul ignore next */ []));
123
133
  /**
124
134
  * @zh_CN 开启虚拟滚动,不支持节点拖动功能
125
135
  * @en_US Turn on virtual scrolling
126
136
  */
127
- this.virtualScroll = input(this.config?.virtualScroll ?? false, { ...(ngDevMode ? { debugName: "virtualScroll" } : {}), transform: XToBoolean });
137
+ this.virtualScroll = input(this.config?.virtualScroll ?? false, { ...(ngDevMode ? { debugName: "virtualScroll" } : /* istanbul ignore next */ {}), transform: XToBoolean });
128
138
  /**
129
139
  * @zh_CN 虚拟滚动高度, 实际会去掉头尾、全选、更多的高度
130
140
  * @en_US The virtual rolling height will actually remove the head and end, the full selection, more height
131
141
  */
132
- this.scrollHeight = input(this.config?.scrollHeight ?? 400, { ...(ngDevMode ? { debugName: "scrollHeight" } : {}), transform: XToNumber });
142
+ this.scrollHeight = input(this.config?.scrollHeight ?? 400, { ...(ngDevMode ? { debugName: "scrollHeight" } : /* istanbul ignore next */ {}), transform: XToNumber });
133
143
  /**
134
144
  * @zh_CN 虚拟滚动高度自适应指定元素
135
145
  * @en_US virtual rolling height follows the specified object
136
146
  */
137
- this.heightAdaption = input(...(ngDevMode ? [undefined, { debugName: "heightAdaption" }] : []));
147
+ this.heightAdaption = input(/* @ts-ignore */
148
+ ...(ngDevMode ? [undefined, { debugName: "heightAdaption" }] : /* istanbul ignore next */ []));
138
149
  /**
139
150
  * @zh_CN 超出可视窗口缓冲区的最小值,对应 cdk scroll 中的参数
140
151
  * @en_US Exceed the minimum value of the visible window buffer, corresponding to the parameters in cdk scroll
141
152
  */
142
- this.minBufferPx = input(100, { ...(ngDevMode ? { debugName: "minBufferPx" } : {}), transform: XToNumber });
153
+ this.minBufferPx = input(100, { ...(ngDevMode ? { debugName: "minBufferPx" } : /* istanbul ignore next */ {}), transform: XToNumber });
143
154
  /**
144
155
  * @zh_CN 渲染新数据缓冲区的像素,对应 cdk scroll 中的参数
145
156
  * @en_US Render the pixels of the new data buffer, corresponding to the parameters in cdk scroll
146
157
  */
147
- this.maxBufferPx = input(200, { ...(ngDevMode ? { debugName: "maxBufferPx" } : {}), transform: XToNumber });
158
+ this.maxBufferPx = input(200, { ...(ngDevMode ? { debugName: "maxBufferPx" } : /* istanbul ignore next */ {}), transform: XToNumber });
148
159
  /**
149
160
  * @zh_CN 关键字高亮
150
161
  * @en_US Keyword highlighting
151
162
  */
152
- this.keywordText = input(...(ngDevMode ? [undefined, { debugName: "keywordText" }] : []));
163
+ this.keywordText = input(/* @ts-ignore */
164
+ ...(ngDevMode ? [undefined, { debugName: "keywordText" }] : /* istanbul ignore next */ []));
153
165
  /**
154
166
  * @zh_CN 匹配关键字区分大小写
155
167
  * @en_US Case-sensitive
156
168
  */
157
- this.caseSensitive = input(this.config?.caseSensitive ?? true, { ...(ngDevMode ? { debugName: "caseSensitive" } : {}), transform: XToBoolean });
169
+ this.caseSensitive = input(this.config?.caseSensitive ?? true, { ...(ngDevMode ? { debugName: "caseSensitive" } : /* istanbul ignore next */ {}), transform: XToBoolean });
158
170
  /**
159
171
  * @zh_CN 在弹框中选择时的样式,根据尺寸来决定
160
172
  * @en_US The style selected in the pop-up box is determined by size
161
173
  */
162
- this.inPortal = input(false, { ...(ngDevMode ? { debugName: "inPortal" } : {}), transform: XToBoolean });
174
+ this.inPortal = input(false, { ...(ngDevMode ? { debugName: "inPortal" } : /* istanbul ignore next */ {}), transform: XToBoolean });
163
175
  /**
164
176
  * @zh_CN Full event
165
177
  * @en_US 全选事件
@@ -199,12 +211,13 @@ class XListProperty extends XFormControlFunction(X_LIST_CONFIG_NAME) {
199
211
  * @zh_CN 尺寸
200
212
  * @en_US Size
201
213
  */
202
- this.size = input(this.config?.size ?? 'medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
214
+ this.size = input(this.config?.size ?? 'medium', /* @ts-ignore */
215
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
203
216
  }
204
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
205
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.1", type: XListProperty, isStandalone: true, selector: "x-list-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null }, selectAllText: { classPropertyName: "selectAllText", publicName: "selectAllText", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, drag: { classPropertyName: "drag", publicName: "drag", isSignal: true, isRequired: false, transformFunction: null }, objectArray: { classPropertyName: "objectArray", publicName: "objectArray", isSignal: true, isRequired: false, transformFunction: null }, nodeTpl: { classPropertyName: "nodeTpl", publicName: "nodeTpl", isSignal: true, isRequired: false, transformFunction: null }, nodeStyle: { classPropertyName: "nodeStyle", publicName: "nodeStyle", isSignal: true, isRequired: false, transformFunction: null }, groupTpl: { classPropertyName: "groupTpl", publicName: "groupTpl", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, scrollElement: { classPropertyName: "scrollElement", publicName: "scrollElement", isSignal: true, isRequired: false, transformFunction: null }, isKeyboardControlled: { classPropertyName: "isKeyboardControlled", publicName: "isKeyboardControlled", isSignal: true, isRequired: false, transformFunction: null }, loadMore: { classPropertyName: "loadMore", publicName: "loadMore", isSignal: true, isRequired: false, transformFunction: null }, loadMoreText: { classPropertyName: "loadMoreText", publicName: "loadMoreText", isSignal: true, isRequired: false, transformFunction: null }, loadingMoreText: { classPropertyName: "loadingMoreText", publicName: "loadingMoreText", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, heightAdaption: { classPropertyName: "heightAdaption", publicName: "heightAdaption", isSignal: true, isRequired: false, transformFunction: null }, minBufferPx: { classPropertyName: "minBufferPx", publicName: "minBufferPx", isSignal: true, isRequired: false, transformFunction: null }, maxBufferPx: { classPropertyName: "maxBufferPx", publicName: "maxBufferPx", isSignal: true, isRequired: false, transformFunction: null }, keywordText: { classPropertyName: "keywordText", publicName: "keywordText", isSignal: true, isRequired: false, transformFunction: null }, caseSensitive: { classPropertyName: "caseSensitive", publicName: "caseSensitive", isSignal: true, isRequired: false, transformFunction: null }, inPortal: { classPropertyName: "inPortal", publicName: "inPortal", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectAll: "onSelectAll", nodeMouseenter: "nodeMouseenter", nodeMouseleave: "nodeMouseleave", nodeClick: "nodeClick", dropListDropped: "dropListDropped", keyManagerTabOut: "keyManagerTabOut", keyManagerChange: "keyManagerChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
217
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListProperty, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
218
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.1", type: XListProperty, isStandalone: true, selector: "x-list-property", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null }, selectAllText: { classPropertyName: "selectAllText", publicName: "selectAllText", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, drag: { classPropertyName: "drag", publicName: "drag", isSignal: true, isRequired: false, transformFunction: null }, objectArray: { classPropertyName: "objectArray", publicName: "objectArray", isSignal: true, isRequired: false, transformFunction: null }, nodeTpl: { classPropertyName: "nodeTpl", publicName: "nodeTpl", isSignal: true, isRequired: false, transformFunction: null }, nodeStyle: { classPropertyName: "nodeStyle", publicName: "nodeStyle", isSignal: true, isRequired: false, transformFunction: null }, groupTpl: { classPropertyName: "groupTpl", publicName: "groupTpl", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, scrollElement: { classPropertyName: "scrollElement", publicName: "scrollElement", isSignal: true, isRequired: false, transformFunction: null }, isKeyboardControlled: { classPropertyName: "isKeyboardControlled", publicName: "isKeyboardControlled", isSignal: true, isRequired: false, transformFunction: null }, loadMore: { classPropertyName: "loadMore", publicName: "loadMore", isSignal: true, isRequired: false, transformFunction: null }, loadMoreText: { classPropertyName: "loadMoreText", publicName: "loadMoreText", isSignal: true, isRequired: false, transformFunction: null }, loadingMoreText: { classPropertyName: "loadingMoreText", publicName: "loadingMoreText", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, heightAdaption: { classPropertyName: "heightAdaption", publicName: "heightAdaption", isSignal: true, isRequired: false, transformFunction: null }, minBufferPx: { classPropertyName: "minBufferPx", publicName: "minBufferPx", isSignal: true, isRequired: false, transformFunction: null }, maxBufferPx: { classPropertyName: "maxBufferPx", publicName: "maxBufferPx", isSignal: true, isRequired: false, transformFunction: null }, keywordText: { classPropertyName: "keywordText", publicName: "keywordText", isSignal: true, isRequired: false, transformFunction: null }, caseSensitive: { classPropertyName: "caseSensitive", publicName: "caseSensitive", isSignal: true, isRequired: false, transformFunction: null }, inPortal: { classPropertyName: "inPortal", publicName: "inPortal", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onSelectAll: "onSelectAll", nodeMouseenter: "nodeMouseenter", nodeMouseleave: "nodeMouseleave", nodeClick: "nodeClick", dropListDropped: "dropListDropped", keyManagerTabOut: "keyManagerTabOut", keyManagerChange: "keyManagerChange" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
206
219
  }
207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListProperty, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListProperty, decorators: [{
208
221
  type: Component,
209
222
  args: [{ selector: `${XListPrefix}-property`, template: '' }]
210
223
  }], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], selectAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectAll", required: false }] }], selectAllText: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectAllText", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], drag: [{ type: i0.Input, args: [{ isSignal: true, alias: "drag", required: false }] }], objectArray: [{ type: i0.Input, args: [{ isSignal: true, alias: "objectArray", required: false }] }], nodeTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodeTpl", required: false }] }], nodeStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodeStyle", required: false }] }], groupTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupTpl", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], footer: [{ type: i0.Input, args: [{ isSignal: true, alias: "footer", required: false }] }], scrollElement: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollElement", required: false }] }], isKeyboardControlled: [{ type: i0.Input, args: [{ isSignal: true, alias: "isKeyboardControlled", required: false }] }], loadMore: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadMore", required: false }] }], loadMoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadMoreText", required: false }] }], loadingMoreText: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingMoreText", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], heightAdaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightAdaption", required: false }] }], minBufferPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "minBufferPx", required: false }] }], maxBufferPx: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxBufferPx", required: false }] }], keywordText: [{ type: i0.Input, args: [{ isSignal: true, alias: "keywordText", required: false }] }], caseSensitive: [{ type: i0.Input, args: [{ isSignal: true, alias: "caseSensitive", required: false }] }], inPortal: [{ type: i0.Input, args: [{ isSignal: true, alias: "inPortal", required: false }] }], onSelectAll: [{ type: i0.Output, args: ["onSelectAll"] }], nodeMouseenter: [{ type: i0.Output, args: ["nodeMouseenter"] }], nodeMouseleave: [{ type: i0.Output, args: ["nodeMouseleave"] }], nodeClick: [{ type: i0.Output, args: ["nodeClick"] }], dropListDropped: [{ type: i0.Output, args: ["dropListDropped"] }], keyManagerTabOut: [{ type: i0.Output, args: ["keyManagerTabOut"] }], keyManagerChange: [{ type: i0.Output, args: ["keyManagerChange"] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
@@ -223,97 +236,107 @@ class XListOptionProperty {
223
236
  * @zh_CN 节点参数
224
237
  * @en_US Node param
225
238
  */
226
- this.node = input(...(ngDevMode ? [undefined, { debugName: "node" }] : []));
239
+ this.node = input(/* @ts-ignore */
240
+ ...(ngDevMode ? [undefined, { debugName: "node" }] : /* istanbul ignore next */ []));
227
241
  /**
228
242
  * @zh_CN 选中
229
243
  * @en_US Selected
230
244
  */
231
- this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : {}), transform: XToBoolean });
245
+ this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : /* istanbul ignore next */ {}), transform: XToBoolean });
232
246
  /**
233
247
  * @zh_CN 节点模板
234
248
  * @en_US Node template
235
249
  */
236
- this.nodeTpl = input(...(ngDevMode ? [undefined, { debugName: "nodeTpl" }] : []));
250
+ this.nodeTpl = input(/* @ts-ignore */
251
+ ...(ngDevMode ? [undefined, { debugName: "nodeTpl" }] : /* istanbul ignore next */ []));
237
252
  /**
238
253
  * @zh_CN 节点样式
239
254
  * @en_US Node style
240
255
  */
241
- this.nodeStyle = input(...(ngDevMode ? [undefined, { debugName: "nodeStyle" }] : []));
256
+ this.nodeStyle = input(/* @ts-ignore */
257
+ ...(ngDevMode ? [undefined, { debugName: "nodeStyle" }] : /* istanbul ignore next */ []));
242
258
  /**
243
259
  * @zh_CN 分组模板
244
260
  * @en_US Group template
245
261
  */
246
- this.groupTpl = input(...(ngDevMode ? [undefined, { debugName: "groupTpl" }] : []));
262
+ this.groupTpl = input(/* @ts-ignore */
263
+ ...(ngDevMode ? [undefined, { debugName: "groupTpl" }] : /* istanbul ignore next */ []));
247
264
  /**
248
265
  * @zh_CN 选中
249
266
  * @en_US selected
250
267
  */
251
- this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : {}), transform: XToBoolean });
268
+ this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : /* istanbul ignore next */ {}), transform: XToBoolean });
252
269
  /**
253
270
  * @zh_CN 分组节点
254
271
  * @en_US Group node
255
272
  */
256
- this.groupable = input(false, { ...(ngDevMode ? { debugName: "groupable" } : {}), transform: XToBoolean });
273
+ this.groupable = input(false, { ...(ngDevMode ? { debugName: "groupable" } : /* istanbul ignore next */ {}), transform: XToBoolean });
257
274
  /**
258
275
  * @zh_CN 禁用
259
276
  * @en_US forbidden
260
277
  */
261
- this.forbidden = input(false, { ...(ngDevMode ? { debugName: "forbidden" } : {}), transform: XToBoolean });
278
+ this.forbidden = input(false, { ...(ngDevMode ? { debugName: "forbidden" } : /* istanbul ignore next */ {}), transform: XToBoolean });
262
279
  /**
263
280
  * @zh_CN 激活
264
281
  * @en_US active
265
282
  */
266
- this.active = model(false, ...(ngDevMode ? [{ debugName: "active" }] : []));
283
+ this.active = model(false, /* @ts-ignore */
284
+ ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
267
285
  /**
268
286
  * @zh_CN 打开弹框
269
287
  * @en_US open portal
270
288
  */
271
- this.openPortal = input(false, { ...(ngDevMode ? { debugName: "openPortal" } : {}), transform: XToBoolean });
289
+ this.openPortal = input(false, { ...(ngDevMode ? { debugName: "openPortal" } : /* istanbul ignore next */ {}), transform: XToBoolean });
272
290
  /**
273
291
  * @zh_CN 自定义数据对象样式
274
292
  * @en_US Customize data object styles
275
293
  */
276
- this.optionClass = input(...(ngDevMode ? [undefined, { debugName: "optionClass" }] : []));
294
+ this.optionClass = input(/* @ts-ignore */
295
+ ...(ngDevMode ? [undefined, { debugName: "optionClass" }] : /* istanbul ignore next */ []));
277
296
  /**
278
297
  * @zh_CN 图标
279
298
  * @en_US icon
280
299
  */
281
- this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
300
+ this.icon = input(/* @ts-ignore */
301
+ ...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
282
302
  /**
283
303
  * @zh_CN 分割线
284
304
  * @en_US Split line
285
305
  */
286
- this.divided = input(false, { ...(ngDevMode ? { debugName: "divided" } : {}), transform: XToBoolean });
306
+ this.divided = input(false, { ...(ngDevMode ? { debugName: "divided" } : /* istanbul ignore next */ {}), transform: XToBoolean });
287
307
  /**
288
308
  * @zh_CN 标签
289
309
  * @en_US label
290
310
  */
291
- this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
311
+ this.label = input(/* @ts-ignore */
312
+ ...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
292
313
  /**
293
314
  * @zh_CN 叶子节点
294
315
  * @en_US leaf
295
316
  */
296
- this.leaf = input(false, { ...(ngDevMode ? { debugName: "leaf" } : {}), transform: XToBoolean });
317
+ this.leaf = input(false, { ...(ngDevMode ? { debugName: "leaf" } : /* istanbul ignore next */ {}), transform: XToBoolean });
297
318
  /**
298
319
  * @zh_CN 尺寸
299
320
  * @en_US Size
300
321
  */
301
- this.size = input('medium', ...(ngDevMode ? [{ debugName: "size" }] : []));
322
+ this.size = input('medium', /* @ts-ignore */
323
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
302
324
  /**
303
325
  * @zh_CN 关键字高亮
304
326
  * @en_US Keyword highlighting
305
327
  */
306
- this.keywordText = input(...(ngDevMode ? [undefined, { debugName: "keywordText" }] : []));
328
+ this.keywordText = input(/* @ts-ignore */
329
+ ...(ngDevMode ? [undefined, { debugName: "keywordText" }] : /* istanbul ignore next */ []));
307
330
  /**
308
331
  * @zh_CN 匹配关键字区分大小写
309
332
  * @en_US Case-sensitive
310
333
  */
311
- this.caseSensitive = input(true, { ...(ngDevMode ? { debugName: "caseSensitive" } : {}), transform: XToBoolean });
334
+ this.caseSensitive = input(true, { ...(ngDevMode ? { debugName: "caseSensitive" } : /* istanbul ignore next */ {}), transform: XToBoolean });
312
335
  }
313
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListOptionProperty, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
314
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.1", type: XListOptionProperty, isStandalone: true, selector: "x-list-option-property", inputs: { node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, nodeTpl: { classPropertyName: "nodeTpl", publicName: "nodeTpl", isSignal: true, isRequired: false, transformFunction: null }, nodeStyle: { classPropertyName: "nodeStyle", publicName: "nodeStyle", isSignal: true, isRequired: false, transformFunction: null }, groupTpl: { classPropertyName: "groupTpl", publicName: "groupTpl", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, groupable: { classPropertyName: "groupable", publicName: "groupable", isSignal: true, isRequired: false, transformFunction: null }, forbidden: { classPropertyName: "forbidden", publicName: "forbidden", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, openPortal: { classPropertyName: "openPortal", publicName: "openPortal", isSignal: true, isRequired: false, transformFunction: null }, optionClass: { classPropertyName: "optionClass", publicName: "optionClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, divided: { classPropertyName: "divided", publicName: "divided", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, leaf: { classPropertyName: "leaf", publicName: "leaf", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, keywordText: { classPropertyName: "keywordText", publicName: "keywordText", isSignal: true, isRequired: false, transformFunction: null }, caseSensitive: { classPropertyName: "caseSensitive", publicName: "caseSensitive", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange" }, ngImport: i0, template: '', isInline: true }); }
336
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListOptionProperty, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
337
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.1", type: XListOptionProperty, isStandalone: true, selector: "x-list-option-property", inputs: { node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, nodeTpl: { classPropertyName: "nodeTpl", publicName: "nodeTpl", isSignal: true, isRequired: false, transformFunction: null }, nodeStyle: { classPropertyName: "nodeStyle", publicName: "nodeStyle", isSignal: true, isRequired: false, transformFunction: null }, groupTpl: { classPropertyName: "groupTpl", publicName: "groupTpl", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, groupable: { classPropertyName: "groupable", publicName: "groupable", isSignal: true, isRequired: false, transformFunction: null }, forbidden: { classPropertyName: "forbidden", publicName: "forbidden", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, openPortal: { classPropertyName: "openPortal", publicName: "openPortal", isSignal: true, isRequired: false, transformFunction: null }, optionClass: { classPropertyName: "optionClass", publicName: "optionClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, divided: { classPropertyName: "divided", publicName: "divided", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, leaf: { classPropertyName: "leaf", publicName: "leaf", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, keywordText: { classPropertyName: "keywordText", publicName: "keywordText", isSignal: true, isRequired: false, transformFunction: null }, caseSensitive: { classPropertyName: "caseSensitive", publicName: "caseSensitive", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { active: "activeChange" }, ngImport: i0, template: '', isInline: true }); }
315
338
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListOptionProperty, decorators: [{
339
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListOptionProperty, decorators: [{
317
340
  type: Component,
318
341
  args: [{ selector: `${XListOptionPrefix}-property`, template: '' }]
319
342
  }], propDecorators: { node: [{ type: i0.Input, args: [{ isSignal: true, alias: "node", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], nodeTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodeTpl", required: false }] }], nodeStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodeStyle", required: false }] }], groupTpl: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupTpl", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], groupable: [{ type: i0.Input, args: [{ isSignal: true, alias: "groupable", required: false }] }], forbidden: [{ type: i0.Input, args: [{ isSignal: true, alias: "forbidden", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }, { type: i0.Output, args: ["activeChange"] }], openPortal: [{ type: i0.Input, args: [{ isSignal: true, alias: "openPortal", required: false }] }], optionClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionClass", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], divided: [{ type: i0.Input, args: [{ isSignal: true, alias: "divided", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], leaf: [{ type: i0.Input, args: [{ isSignal: true, alias: "leaf", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], keywordText: [{ type: i0.Input, args: [{ isSignal: true, alias: "keywordText", required: false }] }], caseSensitive: [{ type: i0.Input, args: [{ isSignal: true, alias: "caseSensitive", required: false }] }] } });
@@ -323,14 +346,16 @@ class XListOptionComponent extends XListOptionProperty {
323
346
  super();
324
347
  this.role = 'option';
325
348
  this.elementRef = inject(ElementRef);
326
- this.classMap = computed(() => ({}), ...(ngDevMode ? [{ debugName: "classMap" }] : []));
349
+ this.classMap = computed(() => ({}), /* @ts-ignore */
350
+ ...(ngDevMode ? [{ debugName: "classMap" }] : /* istanbul ignore next */ []));
327
351
  this.disabled = false;
328
352
  this.nodeStyleComputed = computed(() => {
329
353
  return {
330
354
  ...(this.nodeStyle() ?? {}),
331
355
  ...(this.node()?.style ?? {})
332
356
  };
333
- }, ...(ngDevMode ? [{ debugName: "nodeStyleComputed" }] : []));
357
+ }, /* @ts-ignore */
358
+ ...(ngDevMode ? [{ debugName: "nodeStyleComputed" }] : /* istanbul ignore next */ []));
334
359
  effect(() => (this.disabled = this.forbidden()));
335
360
  }
336
361
  ngOnDestroy() {
@@ -348,10 +373,10 @@ class XListOptionComponent extends XListOptionProperty {
348
373
  getElementRef() {
349
374
  return this.elementRef;
350
375
  }
351
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
352
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", type: XListOptionComponent, isStandalone: true, selector: "x-list-option", host: { properties: { "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-list-option\"\r\n [ngClass]=\"classMap()\"\r\n [style]=\"nodeStyleComputed()\"\r\n [class.x-selected]=\"selected()\"\r\n [class.x-disabled]=\"forbidden()\"\r\n [class.x-open-portal]=\"openPortal()\"\r\n [class.x-active]=\"active()\"\r\n [class.x-group]=\"groupable()\"\r\n [class.x-list-icon]=\"icon()\"\r\n [class.x-list-divided]=\"divided()\"\r\n>\r\n <div class=\"x-list-option-content\">\r\n @if (groupable() && groupTpl()) {\r\n <ng-template *ngTemplateOutlet=\"groupTpl()!; context: { $group: label() }\"></ng-template>\r\n } @else {\r\n @if (nodeTpl()) {\r\n <ng-template *ngTemplateOutlet=\"nodeTpl()!; context: { $node: node() }\"></ng-template>\r\n } @else {\r\n @if (icon()) {\r\n <x-icon class=\"x-list-option-icon\" [type]=\"icon()\"></x-icon>\r\n }\r\n <span x-keyword [text]=\"keywordText()\" [caseSensitive]=\"caseSensitive()\" [attr.title]=\"label()\">{{\r\n label()\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (leaf()) {\r\n <x-icon class=\"x-list-leaf\" type=\"fto-chevron-right\"></x-icon>\r\n }\r\n @if (checked() && !leaf() && selected()) {\r\n <x-icon class=\"x-list-checked\" type=\"fto-check\"></x-icon>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-list-option{display:block}.x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;cursor:pointer;transition:border-color var(--x-animation-duration-base),background-color var(--x-animation-duration-base),color var(--x-animation-duration-base)}.x-list-option-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;display:inline-block}.x-list-option-icon{margin-right:.25rem}.x-list-option:not(:first-child){margin-top:var(--x-border-width)}.x-list-option:hover:not(.x-disabled,.x-group),.x-list-option.x-active:not(.x-disabled,.x-group){background-color:var(--x-background-a200)}.x-list-option.x-group{cursor:default;color:var(--x-text-400)}.x-list-option.x-group:hover{background-color:transparent}.x-list-option.x-list-divided{position:relative;margin-top:.8125rem}.x-list-option.x-list-divided:before{content:\" \";position:absolute;top:0;left:0;width:100%;margin-top:-.5rem;border-top:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-list-option.x-selected:not(.x-disabled){background-color:var(--x-primary-900);color:var(--x-primary)}.x-list-option.x-selected:not(.x-disabled)>x-icon{color:var(--x-primary)}.x-list-option.x-disabled{color:var(--x-text-500);cursor:not-allowed}.x-list-option.x-disabled:hover{background-color:inherit}.x-list-option.x-disabled>span x-icon{color:var(--x-text-500)}body>x-list-option{display:block}body>x-list-option.cdk-drag-preview .x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;border-color:var(--x-border);color:var(--x-text-400);background-color:var(--x-background-a100);opacity:.9}body>x-list-option.cdk-drag-animating{transition:transform var(--x-animation-duration-base) cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XKeywordDirective, selector: "[x-keyword]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
376
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
377
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: XListOptionComponent, isStandalone: true, selector: "x-list-option", host: { properties: { "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"x-list-option\"\r\n [ngClass]=\"classMap()\"\r\n [style]=\"nodeStyleComputed()\"\r\n [class.x-selected]=\"selected()\"\r\n [class.x-disabled]=\"forbidden()\"\r\n [class.x-open-portal]=\"openPortal()\"\r\n [class.x-active]=\"active()\"\r\n [class.x-group]=\"groupable()\"\r\n [class.x-list-icon]=\"icon()\"\r\n [class.x-list-divided]=\"divided()\"\r\n>\r\n <div class=\"x-list-option-content\">\r\n @if (groupable() && groupTpl()) {\r\n <ng-template *ngTemplateOutlet=\"groupTpl()!; context: { $group: label() }\"></ng-template>\r\n } @else {\r\n @if (nodeTpl()) {\r\n <ng-template *ngTemplateOutlet=\"nodeTpl()!; context: { $node: node() }\"></ng-template>\r\n } @else {\r\n @if (icon()) {\r\n <x-icon class=\"x-list-option-icon\" [type]=\"icon()\"></x-icon>\r\n }\r\n <span x-keyword [text]=\"keywordText()\" [caseSensitive]=\"caseSensitive()\" [attr.title]=\"label()\">{{\r\n label()\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (leaf()) {\r\n <x-icon class=\"x-list-leaf\" type=\"fto-chevron-right\"></x-icon>\r\n }\r\n @if (checked() && !leaf() && selected()) {\r\n <x-icon class=\"x-list-checked\" type=\"fto-check\"></x-icon>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-list-option{display:block}.x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;cursor:pointer;transition:border-color var(--x-animation-duration-base),background-color var(--x-animation-duration-base),color var(--x-animation-duration-base)}.x-list-option-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;display:inline-block}.x-list-option-icon{margin-right:.25rem}.x-list-option:not(:first-child){margin-top:var(--x-border-width)}.x-list-option:hover:not(.x-disabled,.x-group),.x-list-option.x-active:not(.x-disabled,.x-group){background-color:var(--x-background-a200)}.x-list-option.x-group{cursor:default;color:var(--x-text-400)}.x-list-option.x-group:hover{background-color:transparent}.x-list-option.x-list-divided{position:relative;margin-top:.8125rem}.x-list-option.x-list-divided:before{content:\" \";position:absolute;top:0;left:0;width:100%;margin-top:-.5rem;border-top:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-list-option.x-selected:not(.x-disabled){background-color:var(--x-primary-900);color:var(--x-primary)}.x-list-option.x-selected:not(.x-disabled)>x-icon{color:var(--x-primary)}.x-list-option.x-disabled{color:var(--x-text-500);cursor:not-allowed}.x-list-option.x-disabled:hover{background-color:inherit}.x-list-option.x-disabled>span x-icon{color:var(--x-text-500)}body>x-list-option{display:block}body>x-list-option.cdk-drag-preview .x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;border-color:var(--x-border);color:var(--x-text-400);background-color:var(--x-background-a100);opacity:.9}body>x-list-option.cdk-drag-animating{transition:transform var(--x-animation-duration-base) cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "directive", type: XKeywordDirective, selector: "[x-keyword]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
353
378
  }
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListOptionComponent, decorators: [{
379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListOptionComponent, decorators: [{
355
380
  type: Component,
356
381
  args: [{ selector: `${XListOptionPrefix}`, imports: [NgClass, NgTemplateOutlet, XIconComponent, XKeywordDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n class=\"x-list-option\"\r\n [ngClass]=\"classMap()\"\r\n [style]=\"nodeStyleComputed()\"\r\n [class.x-selected]=\"selected()\"\r\n [class.x-disabled]=\"forbidden()\"\r\n [class.x-open-portal]=\"openPortal()\"\r\n [class.x-active]=\"active()\"\r\n [class.x-group]=\"groupable()\"\r\n [class.x-list-icon]=\"icon()\"\r\n [class.x-list-divided]=\"divided()\"\r\n>\r\n <div class=\"x-list-option-content\">\r\n @if (groupable() && groupTpl()) {\r\n <ng-template *ngTemplateOutlet=\"groupTpl()!; context: { $group: label() }\"></ng-template>\r\n } @else {\r\n @if (nodeTpl()) {\r\n <ng-template *ngTemplateOutlet=\"nodeTpl()!; context: { $node: node() }\"></ng-template>\r\n } @else {\r\n @if (icon()) {\r\n <x-icon class=\"x-list-option-icon\" [type]=\"icon()\"></x-icon>\r\n }\r\n <span x-keyword [text]=\"keywordText()\" [caseSensitive]=\"caseSensitive()\" [attr.title]=\"label()\">{{\r\n label()\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (leaf()) {\r\n <x-icon class=\"x-list-leaf\" type=\"fto-chevron-right\"></x-icon>\r\n }\r\n @if (checked() && !leaf() && selected()) {\r\n <x-icon class=\"x-list-checked\" type=\"fto-check\"></x-icon>\r\n }\r\n</div>\r\n", styles: ["@charset \"UTF-8\";x-list-option{display:block}.x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;cursor:pointer;transition:border-color var(--x-animation-duration-base),background-color var(--x-animation-duration-base),color var(--x-animation-duration-base)}.x-list-option-content{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;display:inline-block}.x-list-option-icon{margin-right:.25rem}.x-list-option:not(:first-child){margin-top:var(--x-border-width)}.x-list-option:hover:not(.x-disabled,.x-group),.x-list-option.x-active:not(.x-disabled,.x-group){background-color:var(--x-background-a200)}.x-list-option.x-group{cursor:default;color:var(--x-text-400)}.x-list-option.x-group:hover{background-color:transparent}.x-list-option.x-list-divided{position:relative;margin-top:.8125rem}.x-list-option.x-list-divided:before{content:\" \";position:absolute;top:0;left:0;width:100%;margin-top:-.5rem;border-top:var(--x-border-width) var(--x-border-style) var(--x-border)}.x-list-option.x-selected:not(.x-disabled){background-color:var(--x-primary-900);color:var(--x-primary)}.x-list-option.x-selected:not(.x-disabled)>x-icon{color:var(--x-primary)}.x-list-option.x-disabled{color:var(--x-text-500);cursor:not-allowed}.x-list-option.x-disabled:hover{background-color:inherit}.x-list-option.x-disabled>span x-icon{color:var(--x-text-500)}body>x-list-option{display:block}body>x-list-option.cdk-drag-preview .x-list-option{border-radius:var(--x-border-radius);display:flex;align-items:center;justify-content:space-between;border:.0625rem dashed transparent;border-color:var(--x-border);color:var(--x-text-400);background-color:var(--x-background-a100);opacity:.9}body>x-list-option.cdk-drag-animating{transition:transform var(--x-animation-duration-base) cubic-bezier(0,0,.2,1)}\n"] }]
357
382
  }], ctorParameters: () => [], propDecorators: { role: [{
@@ -363,7 +388,7 @@ const X_LIST_DROP_GROUP = new InjectionToken('XListDropGroup');
363
388
  class XListDropGroup {
364
389
  constructor() {
365
390
  this.dropLists = new Set();
366
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: XToBoolean, alias: 'xListDropGroupDisabled' });
391
+ this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: XToBoolean, alias: 'xListDropGroupDisabled' });
367
392
  }
368
393
  setConnectedTo() {
369
394
  this.dropLists.forEach((x) => {
@@ -383,10 +408,10 @@ class XListDropGroup {
383
408
  ngOnDestroy() {
384
409
  this.dropLists.clear();
385
410
  }
386
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListDropGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
387
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.1.1", type: XListDropGroup, isStandalone: true, selector: "[xListDropGroup]", inputs: { disabled: { classPropertyName: "disabled", publicName: "xListDropGroupDisabled", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: X_LIST_DROP_GROUP, useExisting: XListDropGroup }], ngImport: i0 }); }
411
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListDropGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
412
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.1", type: XListDropGroup, isStandalone: true, selector: "[xListDropGroup]", inputs: { disabled: { classPropertyName: "disabled", publicName: "xListDropGroupDisabled", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: X_LIST_DROP_GROUP, useExisting: XListDropGroup }], ngImport: i0 }); }
388
413
  }
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListDropGroup, decorators: [{
414
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListDropGroup, decorators: [{
390
415
  type: Directive,
391
416
  args: [{
392
417
  selector: '[xListDropGroup]',
@@ -427,29 +452,45 @@ class XListComponent extends XListProperty {
427
452
  this.unSubject = new Subject();
428
453
  this.i18n = inject(XI18nService);
429
454
  this.listDropGroup = inject(X_LIST_DROP_GROUP, { optional: true, skipSelf: true });
430
- this.nodes = signal([], ...(ngDevMode ? [{ debugName: "nodes" }] : []));
431
- this.selectedNodes = signal([], ...(ngDevMode ? [{ debugName: "selectedNodes" }] : []));
432
- this.headerRef = viewChild('headerRef', ...(ngDevMode ? [{ debugName: "headerRef" }] : []));
433
- this.footerRef = viewChild('footerRef', ...(ngDevMode ? [{ debugName: "footerRef" }] : []));
434
- this.selectAllRef = viewChild('selectAllRef', ...(ngDevMode ? [{ debugName: "selectAllRef" }] : []));
435
- this.loadMoreRef = viewChild('loadMoreRef', ...(ngDevMode ? [{ debugName: "loadMoreRef" }] : []));
436
- this.virtualBody = viewChild('virtualBody', ...(ngDevMode ? [{ debugName: "virtualBody" }] : []));
437
- this.dropList = viewChild(CdkDropList, ...(ngDevMode ? [{ debugName: "dropList" }] : []));
438
- this.isSelectAll = signal(false, ...(ngDevMode ? [{ debugName: "isSelectAll" }] : []));
455
+ this.nodes = signal([], /* @ts-ignore */
456
+ ...(ngDevMode ? [{ debugName: "nodes" }] : /* istanbul ignore next */ []));
457
+ this.selectedNodes = signal([], /* @ts-ignore */
458
+ ...(ngDevMode ? [{ debugName: "selectedNodes" }] : /* istanbul ignore next */ []));
459
+ this.headerRef = viewChild('headerRef', /* @ts-ignore */
460
+ ...(ngDevMode ? [{ debugName: "headerRef" }] : /* istanbul ignore next */ []));
461
+ this.footerRef = viewChild('footerRef', /* @ts-ignore */
462
+ ...(ngDevMode ? [{ debugName: "footerRef" }] : /* istanbul ignore next */ []));
463
+ this.selectAllRef = viewChild('selectAllRef', /* @ts-ignore */
464
+ ...(ngDevMode ? [{ debugName: "selectAllRef" }] : /* istanbul ignore next */ []));
465
+ this.loadMoreRef = viewChild('loadMoreRef', /* @ts-ignore */
466
+ ...(ngDevMode ? [{ debugName: "loadMoreRef" }] : /* istanbul ignore next */ []));
467
+ this.virtualBody = viewChild('virtualBody', /* @ts-ignore */
468
+ ...(ngDevMode ? [{ debugName: "virtualBody" }] : /* istanbul ignore next */ []));
469
+ this.dropList = viewChild(CdkDropList, /* @ts-ignore */
470
+ ...(ngDevMode ? [{ debugName: "dropList" }] : /* istanbul ignore next */ []));
471
+ this.isSelectAll = signal(false, /* @ts-ignore */
472
+ ...(ngDevMode ? [{ debugName: "isSelectAll" }] : /* istanbul ignore next */ []));
439
473
  this.locale = toSignal(this.i18n.localeChange.pipe(map((x) => x.list)), { initialValue: zh_CN.list });
440
- this.loadMoreIndex = signal(0, ...(ngDevMode ? [{ debugName: "loadMoreIndex" }] : []));
441
- this.icon = signal('', ...(ngDevMode ? [{ debugName: "icon" }] : []));
442
- this.iconSpin = signal(false, ...(ngDevMode ? [{ debugName: "iconSpin" }] : []));
443
- this.scrollHeightSignal = signal(0, ...(ngDevMode ? [{ debugName: "scrollHeightSignal" }] : []));
474
+ this.loadMoreIndex = signal(0, /* @ts-ignore */
475
+ ...(ngDevMode ? [{ debugName: "loadMoreIndex" }] : /* istanbul ignore next */ []));
476
+ this.icon = signal('', /* @ts-ignore */
477
+ ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
478
+ this.iconSpin = signal(false, /* @ts-ignore */
479
+ ...(ngDevMode ? [{ debugName: "iconSpin" }] : /* istanbul ignore next */ []));
480
+ this.scrollHeightSignal = signal(0, /* @ts-ignore */
481
+ ...(ngDevMode ? [{ debugName: "scrollHeightSignal" }] : /* istanbul ignore next */ []));
444
482
  this.classMap = computed(() => ({
445
483
  [`${XListPrefix}-${this.size()}`]: this.size() ? true : false,
446
484
  [`${XListPrefix}-group`]: this.groupable() ? true : false
447
- }), ...(ngDevMode ? [{ debugName: "classMap" }] : []));
485
+ }), /* @ts-ignore */
486
+ ...(ngDevMode ? [{ debugName: "classMap" }] : /* istanbul ignore next */ []));
448
487
  this.sizeChange = null;
449
- this.activeNode = signal(null, ...(ngDevMode ? [{ debugName: "activeNode" }] : []));
488
+ this.activeNode = signal(null, /* @ts-ignore */
489
+ ...(ngDevMode ? [{ debugName: "activeNode" }] : /* istanbul ignore next */ []));
450
490
  this.role = 'listbox';
451
491
  this.tabindex = -1;
452
- this.groupable = computed(() => this.nodes().some((x) => !!x.group), ...(ngDevMode ? [{ debugName: "groupable" }] : []));
492
+ this.groupable = computed(() => this.nodes().some((x) => !!x.group), /* @ts-ignore */
493
+ ...(ngDevMode ? [{ debugName: "groupable" }] : /* istanbul ignore next */ []));
453
494
  this.itemSizeMap = {
454
495
  mini: 22,
455
496
  small: 24,
@@ -457,11 +498,16 @@ class XListComponent extends XListProperty {
457
498
  large: 32,
458
499
  big: 36
459
500
  };
460
- this.itemSize = computed(() => this.itemSizeMap[this.size()], ...(ngDevMode ? [{ debugName: "itemSize" }] : []));
461
- this.isEmpty = computed(() => XIsEmpty(this.nodes()), ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
462
- this.getSelectAllText = computed(() => this.selectAllText() || this.locale()?.selectAllText, ...(ngDevMode ? [{ debugName: "getSelectAllText" }] : []));
463
- this.getLoadMoreText = computed(() => this.loadMoreText() || this.locale()?.loadMoreText, ...(ngDevMode ? [{ debugName: "getLoadMoreText" }] : []));
464
- this.getLoadingMoreText = computed(() => this.loadingMoreText() || this.locale()?.loadingMoreText, ...(ngDevMode ? [{ debugName: "getLoadingMoreText" }] : []));
501
+ this.itemSize = computed(() => this.itemSizeMap[this.size()], /* @ts-ignore */
502
+ ...(ngDevMode ? [{ debugName: "itemSize" }] : /* istanbul ignore next */ []));
503
+ this.isEmpty = computed(() => XIsEmpty(this.nodes()), /* @ts-ignore */
504
+ ...(ngDevMode ? [{ debugName: "isEmpty" }] : /* istanbul ignore next */ []));
505
+ this.getSelectAllText = computed(() => this.selectAllText() || this.locale()?.selectAllText, /* @ts-ignore */
506
+ ...(ngDevMode ? [{ debugName: "getSelectAllText" }] : /* istanbul ignore next */ []));
507
+ this.getLoadMoreText = computed(() => this.loadMoreText() || this.locale()?.loadMoreText, /* @ts-ignore */
508
+ ...(ngDevMode ? [{ debugName: "getLoadMoreText" }] : /* istanbul ignore next */ []));
509
+ this.getLoadingMoreText = computed(() => this.loadingMoreText() || this.locale()?.loadingMoreText, /* @ts-ignore */
510
+ ...(ngDevMode ? [{ debugName: "getLoadingMoreText" }] : /* istanbul ignore next */ []));
465
511
  this.minBufferPxSignal = computed(() => {
466
512
  if (this.virtualScroll() && this.heightAdaption()) {
467
513
  return this.getVirtualScrollHeight();
@@ -469,7 +515,8 @@ class XListComponent extends XListProperty {
469
515
  else {
470
516
  return this.minBufferPx();
471
517
  }
472
- }, ...(ngDevMode ? [{ debugName: "minBufferPxSignal" }] : []));
518
+ }, /* @ts-ignore */
519
+ ...(ngDevMode ? [{ debugName: "minBufferPxSignal" }] : /* istanbul ignore next */ []));
473
520
  this.maxBufferPxSignal = computed(() => {
474
521
  if (this.virtualScroll() && this.heightAdaption()) {
475
522
  return this.getVirtualScrollHeight() * 1.2;
@@ -477,7 +524,8 @@ class XListComponent extends XListProperty {
477
524
  else {
478
525
  return this.maxBufferPx();
479
526
  }
480
- }, ...(ngDevMode ? [{ debugName: "maxBufferPxSignal" }] : []));
527
+ }, /* @ts-ignore */
528
+ ...(ngDevMode ? [{ debugName: "maxBufferPxSignal" }] : /* istanbul ignore next */ []));
481
529
  afterEveryRender({
482
530
  mixedReadWrite: () => {
483
531
  if (this.virtualScroll() && this.scrollHeight()) {
@@ -790,10 +838,10 @@ class XListComponent extends XListProperty {
790
838
  this.nodes()[num].active = false;
791
839
  }
792
840
  }
793
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
794
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", type: XListComponent, isStandalone: true, selector: "x-list", host: { listeners: { "keydown": "keydown($event)" }, properties: { "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, providers: [XValueAccessor(XListComponent), { provide: X_LIST_DROP_GROUP, useValue: undefined }], viewQueries: [{ propertyName: "headerRef", first: true, predicate: ["headerRef"], descendants: true, isSignal: true }, { propertyName: "footerRef", first: true, predicate: ["footerRef"], descendants: true, isSignal: true }, { propertyName: "selectAllRef", first: true, predicate: ["selectAllRef"], descendants: true, isSignal: true }, { propertyName: "loadMoreRef", first: true, predicate: ["loadMoreRef"], descendants: true, isSignal: true }, { propertyName: "virtualBody", first: true, predicate: ["virtualBody"], descendants: true, isSignal: true }, { propertyName: "dropList", first: true, predicate: CdkDropList, descendants: true, isSignal: true }, { propertyName: "options", predicate: XListOptionComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"x-list\" [class.x-list-portal]=\"inPortal()\" [ngClass]=\"classMap()\">\r\n @if (header()) {\r\n <div #headerRef class=\"x-list-header\" *xOutlet=\"header()\">{{ header() }}</div>\r\n }\r\n @if (selectAll() && multiple() === 0) {\r\n <div #selectAllRef class=\"x-list-select-all\">\r\n <x-list-option\r\n [size]=\"size()\"\r\n [label]=\"getSelectAllText()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [checked]=\"true\"\r\n [selected]=\"isSelectAll()\"\r\n (click)=\"onSelectAllNodes()\"\r\n ></x-list-option>\r\n </div>\r\n }\r\n @if (virtualScroll()) {\r\n <cdk-virtual-scroll-viewport\r\n #virtualBody\r\n [itemSize]=\"itemSize()\"\r\n [minBufferPx]=\"minBufferPxSignal()\"\r\n [maxBufferPx]=\"maxBufferPxSignal()\"\r\n class=\"x-list-content\"\r\n [style.height.px]=\"getVirtualScrollHeight()\"\r\n [hidden]=\"isEmpty()\"\r\n >\r\n <x-list-option\r\n *cdkVirtualFor=\"let node of nodes(); trackBy: trackByNode\"\r\n [node]=\"node\"\r\n [checked]=\"checked()\"\r\n [nodeTpl]=\"nodeTpl()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [groupTpl]=\"groupTpl()\"\r\n [selected]=\"node.selected!\"\r\n [groupable]=\"node.groupable!\"\r\n [forbidden]=\"node.disabled!\"\r\n [active]=\"node.active!\"\r\n (activeChange)=\"node.active = $event\"\r\n [openPortal]=\"node.openPortal!\"\r\n [icon]=\"node.icon\"\r\n [label]=\"node.label\"\r\n [leaf]=\"node.leaf!\"\r\n [divided]=\"node.divided!\"\r\n [size]=\"size()\"\r\n [keywordText]=\"keywordText()\"\r\n [caseSensitive]=\"caseSensitive()\"\r\n (click)=\"onNodeClick($event, node)\"\r\n (mouseenter)=\"onMouseenter($event, node)\"\r\n (mouseleave)=\"onMouseleave($event, node)\"\r\n tabindex=\"-1\"\r\n ></x-list-option>\r\n </cdk-virtual-scroll-viewport>\r\n } @else {\r\n <ng-container *ngTemplateOutlet=\"listTpl; context: { $list: nodes() }\"></ng-container>\r\n }\r\n\r\n @if (loadMore() && !isEmpty()) {\r\n <div #loadMoreRef class=\"x-list-load-more\">\r\n <x-list-option\r\n [size]=\"size()\"\r\n [nodeTpl]=\"loadMoreTpl\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n (click)=\"onLoadMore()\"\r\n ></x-list-option>\r\n </div>\r\n <ng-template #loadMoreTpl>\r\n @if (icon() && iconSpin()) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\"></x-icon>\r\n }\r\n {{ icon() && iconSpin() ? getLoadingMoreText() : getLoadMoreText() }}</ng-template\r\n >\r\n }\r\n @if (isEmpty()) {\r\n <x-empty></x-empty>\r\n }\r\n @if (footer()) {\r\n <div #footerRef class=\"x-list-footer\" *xOutlet=\"footer()\">{{ footer() }}</div>\r\n }\r\n</div>\r\n\r\n<ng-template #listTpl let-list=\"$list\">\r\n <div\r\n class=\"x-list-content\"\r\n cdkDropList\r\n (cdkDropListDropped)=\"dropCdk($event)\"\r\n [cdkDropListDisabled]=\"!drag()\"\r\n [hidden]=\"isEmpty()\"\r\n [cdkDropListData]=\"list\"\r\n [cdkDropListEnterPredicate]=\"predicate\"\r\n >\r\n @for (node of list; track node.id) {\r\n <x-list-option\r\n cdkDrag\r\n [cdkDragDisabled]=\"node.disabled || node.groupable\"\r\n [node]=\"node\"\r\n [checked]=\"checked()\"\r\n [nodeTpl]=\"nodeTpl()\"\r\n [groupTpl]=\"groupTpl()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [selected]=\"node.selected!\"\r\n [groupable]=\"node.groupable!\"\r\n [forbidden]=\"node.disabled!\"\r\n [active]=\"node.active!\"\r\n (activeChange)=\"node.active = $event\"\r\n [openPortal]=\"node.openPortal!\"\r\n [icon]=\"node.icon\"\r\n [label]=\"node.label\"\r\n [leaf]=\"node.leaf!\"\r\n [divided]=\"node.divided!\"\r\n [size]=\"size()\"\r\n [keywordText]=\"keywordText()\"\r\n [caseSensitive]=\"caseSensitive()\"\r\n (click)=\"onNodeClick($event, node)\"\r\n (mouseenter)=\"onMouseenter($event, node)\"\r\n (mouseleave)=\"onMouseleave($event, node)\"\r\n tabindex=\"-1\"\r\n ></x-list-option>\r\n }\r\n </div>\r\n</ng-template>\r\n", styles: ["@charset \"UTF-8\";x-list{width:100%}x-list:focus{outline:none}.x-list{margin:0;padding:0}.x-list{width:100%}.x-list:focus{outline:none}.x-list-select-all{cursor:pointer;font-weight:700}.x-list-load-more{cursor:pointer}.x-list-content.cdk-drop-list-dragging x-list-option.cdk-drag-placeholder .x-list-option{border-color:var(--x-primary);color:var(--x-primary);background-color:var(--x-background);opacity:.8}.x-list-content.cdk-drop-list-dragging x-list-option:not(.cdk-drag-placeholder){transition:transform var(--x-animation-duration-base) cubic-bezier(0,0,.2,1)}.x-list-header,.x-list-footer{font-weight:700}.x-list-portal{padding:.125rem .25rem}.x-list-portal x-list-option .x-list-option{padding:0 calc(var(--x-padding-medium) - .5rem);margin:.125rem 0;border-radius:var(--x-border-small-radius);transition:background-color var(--x-animation-duration-base),color var(--x-animation-duration-base)}.x-list-portal x-list-option .x-list-option.x-list-divided{margin-top:.8125rem}.x-list-portal x-list-option .x-list-option.x-list-group{padding:0}.x-list-leaf,.x-list-checked{right:0;margin-left:.4rem;color:var(--x-text-400)}.x-list-icon>span x-icon{color:var(--x-text-300);margin-right:.25rem}.x-list>x-empty{margin:1rem;display:block}.x-list-group.x-list-big .x-list-option:not(.x-group){padding:0 var(--x-padding-big) 0 calc(var(--x-padding-big) * 2.5)}.x-list-group.x-list-large .x-list-option:not(.x-group){padding:0 var(--x-padding-large) 0 calc(var(--x-padding-large) * 2.5)}.x-list-group.x-list-medium .x-list-option:not(.x-group){padding:0 var(--x-padding-medium) 0 calc(var(--x-padding-medium) * 2.5)}.x-list-group.x-list-small .x-list-option:not(.x-group){padding:0 var(--x-padding-small) 0 calc(var(--x-padding-small) * 2.5)}.x-list-group.x-list-mini .x-list-option:not(.x-group){padding:0 var(--x-padding-mini) 0 calc(var(--x-padding-mini) * 2.5)}.x-list-big .x-list-header,.x-list-big .x-list-footer,.x-list-big .x-list-option{padding:0 var(--x-padding-big);height:var(--x-height-big);line-height:var(--x-height-big)}.x-list-large .x-list-header,.x-list-large .x-list-footer,.x-list-large .x-list-option{padding:0 var(--x-padding-large);height:var(--x-height-large);line-height:var(--x-height-large)}.x-list-medium .x-list-header,.x-list-medium .x-list-footer,.x-list-medium .x-list-option{padding:0 var(--x-padding-medium);height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-list-small .x-list-header,.x-list-small .x-list-footer,.x-list-small .x-list-option{padding:0 var(--x-padding-small);height:var(--x-height-small);line-height:var(--x-height-small)}.x-list-mini .x-list-header,.x-list-mini .x-list-footer,.x-list-mini .x-list-option{padding:0 var(--x-padding-mini);height:var(--x-height-mini);line-height:var(--x-height-mini)}\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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "directive", type: i1.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "component", type: XEmptyComponent, selector: "x-empty" }, { kind: "component", type: XListOptionComponent, selector: "x-list-option" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
841
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
842
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.1", type: XListComponent, isStandalone: true, selector: "x-list", host: { listeners: { "keydown": "keydown($event)" }, properties: { "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, providers: [XValueAccessor(XListComponent), { provide: X_LIST_DROP_GROUP, useValue: undefined }], viewQueries: [{ propertyName: "headerRef", first: true, predicate: ["headerRef"], descendants: true, isSignal: true }, { propertyName: "footerRef", first: true, predicate: ["footerRef"], descendants: true, isSignal: true }, { propertyName: "selectAllRef", first: true, predicate: ["selectAllRef"], descendants: true, isSignal: true }, { propertyName: "loadMoreRef", first: true, predicate: ["loadMoreRef"], descendants: true, isSignal: true }, { propertyName: "virtualBody", first: true, predicate: ["virtualBody"], descendants: true, isSignal: true }, { propertyName: "dropList", first: true, predicate: CdkDropList, descendants: true, isSignal: true }, { propertyName: "options", predicate: XListOptionComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"x-list\" [class.x-list-portal]=\"inPortal()\" [ngClass]=\"classMap()\">\r\n @if (header()) {\r\n <div #headerRef class=\"x-list-header\" *xOutlet=\"header()\">{{ header() }}</div>\r\n }\r\n @if (selectAll() && multiple() === 0) {\r\n <div #selectAllRef class=\"x-list-select-all\">\r\n <x-list-option\r\n [size]=\"size()\"\r\n [label]=\"getSelectAllText()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [checked]=\"true\"\r\n [selected]=\"isSelectAll()\"\r\n (click)=\"onSelectAllNodes()\"\r\n ></x-list-option>\r\n </div>\r\n }\r\n @if (virtualScroll()) {\r\n <cdk-virtual-scroll-viewport\r\n #virtualBody\r\n [itemSize]=\"itemSize()\"\r\n [minBufferPx]=\"minBufferPxSignal()\"\r\n [maxBufferPx]=\"maxBufferPxSignal()\"\r\n class=\"x-list-content\"\r\n [style.height.px]=\"getVirtualScrollHeight()\"\r\n [hidden]=\"isEmpty()\"\r\n >\r\n <x-list-option\r\n *cdkVirtualFor=\"let node of nodes(); trackBy: trackByNode\"\r\n [node]=\"node\"\r\n [checked]=\"checked()\"\r\n [nodeTpl]=\"nodeTpl()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [groupTpl]=\"groupTpl()\"\r\n [selected]=\"node.selected!\"\r\n [groupable]=\"node.groupable!\"\r\n [forbidden]=\"node.disabled!\"\r\n [active]=\"node.active!\"\r\n (activeChange)=\"node.active = $event\"\r\n [openPortal]=\"node.openPortal!\"\r\n [icon]=\"node.icon\"\r\n [label]=\"node.label\"\r\n [leaf]=\"node.leaf!\"\r\n [divided]=\"node.divided!\"\r\n [size]=\"size()\"\r\n [keywordText]=\"keywordText()\"\r\n [caseSensitive]=\"caseSensitive()\"\r\n (click)=\"onNodeClick($event, node)\"\r\n (mouseenter)=\"onMouseenter($event, node)\"\r\n (mouseleave)=\"onMouseleave($event, node)\"\r\n tabindex=\"-1\"\r\n ></x-list-option>\r\n </cdk-virtual-scroll-viewport>\r\n } @else {\r\n <ng-container *ngTemplateOutlet=\"listTpl; context: { $list: nodes() }\"></ng-container>\r\n }\r\n\r\n @if (loadMore() && !isEmpty()) {\r\n <div #loadMoreRef class=\"x-list-load-more\">\r\n <x-list-option\r\n [size]=\"size()\"\r\n [nodeTpl]=\"loadMoreTpl\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n (click)=\"onLoadMore()\"\r\n ></x-list-option>\r\n </div>\r\n <ng-template #loadMoreTpl>\r\n @if (icon() && iconSpin()) {\r\n <x-icon [type]=\"icon()\" [spin]=\"iconSpin()\"></x-icon>\r\n }\r\n {{ icon() && iconSpin() ? getLoadingMoreText() : getLoadMoreText() }}</ng-template\r\n >\r\n }\r\n @if (isEmpty()) {\r\n <x-empty></x-empty>\r\n }\r\n @if (footer()) {\r\n <div #footerRef class=\"x-list-footer\" *xOutlet=\"footer()\">{{ footer() }}</div>\r\n }\r\n</div>\r\n\r\n<ng-template #listTpl let-list=\"$list\">\r\n <div\r\n class=\"x-list-content\"\r\n cdkDropList\r\n (cdkDropListDropped)=\"dropCdk($event)\"\r\n [cdkDropListDisabled]=\"!drag()\"\r\n [hidden]=\"isEmpty()\"\r\n [cdkDropListData]=\"list\"\r\n [cdkDropListEnterPredicate]=\"predicate\"\r\n >\r\n @for (node of list; track node.id) {\r\n <x-list-option\r\n cdkDrag\r\n [cdkDragDisabled]=\"node.disabled || node.groupable\"\r\n [node]=\"node\"\r\n [checked]=\"checked()\"\r\n [nodeTpl]=\"nodeTpl()\"\r\n [groupTpl]=\"groupTpl()\"\r\n [nodeStyle]=\"nodeStyle()\"\r\n [selected]=\"node.selected!\"\r\n [groupable]=\"node.groupable!\"\r\n [forbidden]=\"node.disabled!\"\r\n [active]=\"node.active!\"\r\n (activeChange)=\"node.active = $event\"\r\n [openPortal]=\"node.openPortal!\"\r\n [icon]=\"node.icon\"\r\n [label]=\"node.label\"\r\n [leaf]=\"node.leaf!\"\r\n [divided]=\"node.divided!\"\r\n [size]=\"size()\"\r\n [keywordText]=\"keywordText()\"\r\n [caseSensitive]=\"caseSensitive()\"\r\n (click)=\"onNodeClick($event, node)\"\r\n (mouseenter)=\"onMouseenter($event, node)\"\r\n (mouseleave)=\"onMouseleave($event, node)\"\r\n tabindex=\"-1\"\r\n ></x-list-option>\r\n }\r\n </div>\r\n</ng-template>\r\n", styles: ["@charset \"UTF-8\";x-list{width:100%}x-list:focus{outline:none}.x-list{margin:0;padding:0}.x-list{width:100%}.x-list:focus{outline:none}.x-list-select-all{cursor:pointer;font-weight:700}.x-list-load-more{cursor:pointer}.x-list-content.cdk-drop-list-dragging x-list-option.cdk-drag-placeholder .x-list-option{border-color:var(--x-primary);color:var(--x-primary);background-color:var(--x-background);opacity:.8}.x-list-content.cdk-drop-list-dragging x-list-option:not(.cdk-drag-placeholder){transition:transform var(--x-animation-duration-base) cubic-bezier(0,0,.2,1)}.x-list-header,.x-list-footer{font-weight:700}.x-list-portal{padding:.125rem .25rem}.x-list-portal x-list-option .x-list-option{padding:0 calc(var(--x-padding-medium) - .5rem);margin:.125rem 0;border-radius:var(--x-border-small-radius);transition:background-color var(--x-animation-duration-base),color var(--x-animation-duration-base)}.x-list-portal x-list-option .x-list-option.x-list-divided{margin-top:.8125rem}.x-list-portal x-list-option .x-list-option.x-list-group{padding:0}.x-list-leaf,.x-list-checked{right:0;margin-left:.4rem;color:var(--x-text-400)}.x-list-icon>span x-icon{color:var(--x-text-300);margin-right:.25rem}.x-list>x-empty{margin:1rem;display:block}.x-list-group.x-list-big .x-list-option:not(.x-group){padding:0 var(--x-padding-big) 0 calc(var(--x-padding-big) * 2.5)}.x-list-group.x-list-large .x-list-option:not(.x-group){padding:0 var(--x-padding-large) 0 calc(var(--x-padding-large) * 2.5)}.x-list-group.x-list-medium .x-list-option:not(.x-group){padding:0 var(--x-padding-medium) 0 calc(var(--x-padding-medium) * 2.5)}.x-list-group.x-list-small .x-list-option:not(.x-group){padding:0 var(--x-padding-small) 0 calc(var(--x-padding-small) * 2.5)}.x-list-group.x-list-mini .x-list-option:not(.x-group){padding:0 var(--x-padding-mini) 0 calc(var(--x-padding-mini) * 2.5)}.x-list-big .x-list-header,.x-list-big .x-list-footer,.x-list-big .x-list-option{padding:0 var(--x-padding-big);height:var(--x-height-big);line-height:var(--x-height-big)}.x-list-large .x-list-header,.x-list-large .x-list-footer,.x-list-large .x-list-option{padding:0 var(--x-padding-large);height:var(--x-height-large);line-height:var(--x-height-large)}.x-list-medium .x-list-header,.x-list-medium .x-list-footer,.x-list-medium .x-list-option{padding:0 var(--x-padding-medium);height:var(--x-height-medium);line-height:var(--x-height-medium)}.x-list-small .x-list-header,.x-list-small .x-list-footer,.x-list-small .x-list-option{padding:0 var(--x-padding-small);height:var(--x-height-small);line-height:var(--x-height-small)}.x-list-mini .x-list-header,.x-list-mini .x-list-footer,.x-list-mini .x-list-option{padding:0 var(--x-padding-mini);height:var(--x-height-mini);line-height:var(--x-height-mini)}\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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "directive", type: i1.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: XIconComponent, selector: "x-icon" }, { kind: "component", type: XEmptyComponent, selector: "x-empty" }, { kind: "component", type: XListOptionComponent, selector: "x-list-option" }, { kind: "directive", type: XOutletDirective, selector: "[xOutlet]", inputs: ["xOutletContext", "xOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
795
843
  }
796
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListComponent, decorators: [{
844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListComponent, decorators: [{
797
845
  type: Component,
798
846
  args: [{ selector: `${XListPrefix}`, imports: [
799
847
  NgClass,
@@ -823,11 +871,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImpor
823
871
  }] } });
824
872
 
825
873
  class XListModule {
826
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
827
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.1", ngImport: i0, type: XListModule, imports: [XListComponent, XListDropGroup, XListOptionComponent], exports: [XListComponent, XListDropGroup, XListOptionComponent] }); }
828
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListModule, imports: [XListComponent, XListOptionComponent] }); }
874
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
875
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.1", ngImport: i0, type: XListModule, imports: [XListComponent, XListDropGroup, XListOptionComponent], exports: [XListComponent, XListDropGroup, XListOptionComponent] }); }
876
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListModule, imports: [XListComponent, XListOptionComponent] }); }
829
877
  }
830
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: XListModule, decorators: [{
878
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImport: i0, type: XListModule, decorators: [{
831
879
  type: NgModule,
832
880
  args: [{
833
881
  exports: [XListComponent, XListDropGroup, XListOptionComponent],