@alauda/ui 6.5.10-beta → 6.5.10-beta.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 (599) hide show
  1. package/accordion/accordion-item/accordion-item.component.d.ts +3 -3
  2. package/accordion/accordion.component.d.ts +1 -1
  3. package/anchor/anchor.component.d.ts +2 -2
  4. package/anchor/anchor.directive.d.ts +3 -3
  5. package/autocomplete/autocomplete-placeholder.component.d.ts +1 -1
  6. package/autocomplete/autocomplete.component.d.ts +1 -1
  7. package/autocomplete/autocomplete.directive.d.ts +2 -2
  8. package/autocomplete/autocomplete.types.d.ts +1 -1
  9. package/autocomplete/helper-directives.d.ts +1 -1
  10. package/autocomplete/suggestion/suggestion.component.d.ts +1 -1
  11. package/autocomplete/suggestion-group/suggestion-group.component.d.ts +1 -1
  12. package/back-top/back-top.component.d.ts +2 -2
  13. package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
  14. package/breadcrumb/breadcrumb.component.d.ts +1 -1
  15. package/button/button-group/button-group.component.d.ts +1 -1
  16. package/button/button.component.d.ts +1 -1
  17. package/button/button.types.d.ts +1 -10
  18. package/card/card.component.d.ts +1 -1
  19. package/card/helper-directives.d.ts +3 -6
  20. package/card/section.component.d.ts +1 -1
  21. package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
  22. package/checkbox/checkbox.component.d.ts +1 -1
  23. package/color-picker/color-picker.component.d.ts +1 -1
  24. package/date-picker/calendar/date-picker-panel/component.d.ts +1 -1
  25. package/date-picker/calendar/footer/component.d.ts +1 -1
  26. package/date-picker/calendar/header/component.d.ts +1 -1
  27. package/date-picker/calendar/panel/picker-panel.d.ts +1 -1
  28. package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
  29. package/date-picker/date-picker/date-picker.component.d.ts +1 -1
  30. package/date-picker/date-picker.type.d.ts +2 -2
  31. package/date-picker/range-picker/range-picker.component.d.ts +1 -1
  32. package/date-picker/trigger/trigger.component.d.ts +1 -1
  33. package/dialog/confirm-dialog/confirm-dialog.component.d.ts +1 -1
  34. package/dialog/dialog-content/dialog-close.directive.d.ts +1 -1
  35. package/dialog/dialog-content/dialog-content.component.d.ts +1 -1
  36. package/dialog/dialog-content/dialog-footer.component.d.ts +1 -1
  37. package/dialog/dialog-content/dialog-header.component.d.ts +1 -1
  38. package/dialog/dialog.component.d.ts +1 -1
  39. package/dialog/dialog.types.d.ts +3 -3
  40. package/drawer/component/drawer.component.d.ts +1 -1
  41. package/drawer/component/helper-directives.d.ts +3 -3
  42. package/dropdown/dropdown-active.directive.d.ts +1 -1
  43. package/dropdown/dropdown-button/dropdown-button.component.d.ts +1 -1
  44. package/dropdown/dropdown.directive.d.ts +1 -1
  45. package/dropdown/dropdown.types.d.ts +1 -1
  46. package/dropdown/helper-directives.d.ts +1 -1
  47. package/dropdown/menu/menu-content.directive.d.ts +1 -1
  48. package/dropdown/menu/menu.component.d.ts +1 -1
  49. package/dropdown/menu-group/menu-group.component.d.ts +1 -1
  50. package/dropdown/menu-item/menu-item.component.d.ts +1 -1
  51. package/dropdown/submenu/submenu.component.d.ts +1 -1
  52. package/esm2022/accordion/accordion-item/accordion-item.component.mjs +73 -0
  53. package/esm2022/accordion/accordion.component.mjs +29 -0
  54. package/esm2022/accordion/accordion.module.mjs +39 -0
  55. package/esm2022/alauda-ui.mjs +2 -0
  56. package/esm2022/anchor/anchor.component.mjs +141 -0
  57. package/esm2022/anchor/anchor.directive.mjs +198 -0
  58. package/esm2022/anchor/anchor.module.mjs +35 -0
  59. package/{esm2020 → esm2022}/autocomplete/autocomplete-placeholder.component.mjs +4 -4
  60. package/esm2022/autocomplete/autocomplete.component.mjs +72 -0
  61. package/esm2022/autocomplete/autocomplete.directive.mjs +278 -0
  62. package/esm2022/autocomplete/autocomplete.module.mjs +53 -0
  63. package/{esm2020 → esm2022}/autocomplete/helper-directives.mjs +4 -4
  64. package/esm2022/autocomplete/suggestion/suggestion.component.mjs +85 -0
  65. package/esm2022/autocomplete/suggestion-group/suggestion-group.component.mjs +25 -0
  66. package/esm2022/back-top/back-top.component.mjs +68 -0
  67. package/esm2022/back-top/back-top.module.mjs +19 -0
  68. package/esm2022/breadcrumb/breadcrumb-item.component.mjs +33 -0
  69. package/esm2022/breadcrumb/breadcrumb.component.mjs +56 -0
  70. package/esm2022/breadcrumb/breadcrumb.module.mjs +20 -0
  71. package/{esm2020 → esm2022}/button/button-group/button-group.component.mjs +4 -4
  72. package/esm2022/button/button.component.mjs +124 -0
  73. package/esm2022/button/button.module.mjs +20 -0
  74. package/esm2022/button/button.types.mjs +13 -0
  75. package/esm2022/card/card.component.mjs +14 -0
  76. package/esm2022/card/card.module.mjs +40 -0
  77. package/esm2022/card/helper-directives.mjs +45 -0
  78. package/{esm2020 → esm2022}/card/section.component.mjs +4 -4
  79. package/esm2022/checkbox/checkbox-group/checkbox-group.component.mjs +60 -0
  80. package/esm2022/checkbox/checkbox.component.mjs +116 -0
  81. package/esm2022/checkbox/checkbox.module.mjs +20 -0
  82. package/esm2022/color-picker/color-picker.component.mjs +28 -0
  83. package/esm2022/color-picker/color-picker.module.mjs +19 -0
  84. package/esm2022/date-picker/calendar/constant.mjs +31 -0
  85. package/esm2022/date-picker/calendar/date-picker-panel/component.mjs +137 -0
  86. package/esm2022/date-picker/calendar/footer/component.mjs +29 -0
  87. package/esm2022/date-picker/calendar/header/component.mjs +99 -0
  88. package/esm2022/date-picker/calendar/panel/picker-panel.mjs +158 -0
  89. package/esm2022/date-picker/calendar/range-picker-panel/component.mjs +210 -0
  90. package/esm2022/date-picker/calendar/util.mjs +152 -0
  91. package/esm2022/date-picker/date-picker/date-picker.component.mjs +115 -0
  92. package/esm2022/date-picker/date-picker.module.mjs +82 -0
  93. package/esm2022/date-picker/range-picker/range-picker.component.mjs +88 -0
  94. package/esm2022/date-picker/trigger/trigger.component.mjs +76 -0
  95. package/esm2022/dialog/confirm-dialog/confirm-dialog-config.mjs +13 -0
  96. package/esm2022/dialog/confirm-dialog/confirm-dialog.component.mjs +88 -0
  97. package/{esm2020 → esm2022}/dialog/dialog-animations.mjs +1 -2
  98. package/esm2022/dialog/dialog-config.mjs +14 -0
  99. package/esm2022/dialog/dialog-content/dialog-close.directive.mjs +42 -0
  100. package/esm2022/dialog/dialog-content/dialog-content.component.mjs +19 -0
  101. package/esm2022/dialog/dialog-content/dialog-footer.component.mjs +13 -0
  102. package/esm2022/dialog/dialog-content/dialog-header.component.mjs +42 -0
  103. package/esm2022/dialog/dialog-ref.mjs +52 -0
  104. package/esm2022/dialog/dialog.component.mjs +154 -0
  105. package/esm2022/dialog/dialog.module.mjs +65 -0
  106. package/esm2022/dialog/dialog.service.mjs +124 -0
  107. package/esm2022/drawer/component/drawer.component.mjs +248 -0
  108. package/esm2022/drawer/component/helper-directives.mjs +33 -0
  109. package/esm2022/drawer/drawer.module.mjs +36 -0
  110. package/esm2022/drawer/drawer.service.mjs +47 -0
  111. package/esm2022/dropdown/dropdown-active.directive.mjs +18 -0
  112. package/esm2022/dropdown/dropdown-button/dropdown-button.component.mjs +58 -0
  113. package/esm2022/dropdown/dropdown.directive.mjs +83 -0
  114. package/esm2022/dropdown/dropdown.module.mjs +65 -0
  115. package/{esm2020 → esm2022}/dropdown/helper-directives.mjs +4 -4
  116. package/esm2022/dropdown/menu/menu-content.directive.mjs +59 -0
  117. package/esm2022/dropdown/menu/menu.component.mjs +26 -0
  118. package/{esm2020 → esm2022}/dropdown/menu-group/menu-group.component.mjs +4 -4
  119. package/esm2022/dropdown/menu-item/menu-item.component.mjs +35 -0
  120. package/esm2022/dropdown/submenu/submenu.component.mjs +38 -0
  121. package/esm2022/form/common-form.mjs +88 -0
  122. package/esm2022/form/form-item/form-item.component.mjs +121 -0
  123. package/esm2022/form/form.directive.mjs +70 -0
  124. package/esm2022/form/form.module.mjs +48 -0
  125. package/esm2022/form/helper-directives.mjs +78 -0
  126. package/{esm2020 → esm2022}/i18n/i18n.module.mjs +5 -5
  127. package/esm2022/i18n/i18n.pipe.mjs +21 -0
  128. package/esm2022/i18n/i18n.service.mjs +46 -0
  129. package/esm2022/icon/icon-register.service.mjs +75 -0
  130. package/esm2022/icon/icon.component.mjs +74 -0
  131. package/esm2022/icon/icon.module.mjs +21 -0
  132. package/{esm2020 → esm2022}/inline-alert/helper-directives.mjs +4 -4
  133. package/esm2022/inline-alert/inline-alert.component.mjs +54 -0
  134. package/esm2022/inline-alert/inline-alert.module.mjs +20 -0
  135. package/esm2022/input/autosize.directive.mjs +56 -0
  136. package/esm2022/input/helper-directives.mjs +43 -0
  137. package/esm2022/input/input-group/input-group.component.mjs +46 -0
  138. package/esm2022/input/input.component.mjs +59 -0
  139. package/esm2022/input/input.module.mjs +85 -0
  140. package/esm2022/input/number-input/number-input.component.mjs +115 -0
  141. package/esm2022/input/search/search.component.mjs +87 -0
  142. package/esm2022/input/tags-input/tags-input.component.mjs +264 -0
  143. package/esm2022/message/base-message.mjs +99 -0
  144. package/esm2022/message/message-wrapper.component.mjs +15 -0
  145. package/esm2022/message/message.component.mjs +77 -0
  146. package/esm2022/message/message.config.mjs +20 -0
  147. package/esm2022/message/message.module.mjs +22 -0
  148. package/{esm2020 → esm2022}/message/message.service.mjs +4 -4
  149. package/esm2022/notification/notification-wrapper.component.mjs +17 -0
  150. package/esm2022/notification/notification.component.mjs +106 -0
  151. package/esm2022/notification/notification.module.mjs +23 -0
  152. package/{esm2020 → esm2022}/notification/notification.service.mjs +4 -4
  153. package/esm2022/paginator/paginator-intl.mjs +24 -0
  154. package/esm2022/paginator/paginator.component.mjs +124 -0
  155. package/esm2022/paginator/paginator.module.mjs +24 -0
  156. package/esm2022/radio/base-radio.mjs +72 -0
  157. package/esm2022/radio/radio-button/radio-button.component.mjs +41 -0
  158. package/esm2022/radio/radio-group/radio-group.component.mjs +70 -0
  159. package/esm2022/radio/radio.component.mjs +23 -0
  160. package/esm2022/radio/radio.module.mjs +21 -0
  161. package/esm2022/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +80 -0
  162. package/esm2022/scrolling/fixed-size-table-virtual-scroll.directive.mjs +119 -0
  163. package/esm2022/scrolling/fixed-size-virtual-scroll.directive.mjs +27 -0
  164. package/{esm2020 → esm2022}/scrolling/scrolling.module.mjs +9 -9
  165. package/{esm2020 → esm2022}/scrolling/virtual-for-of.directive.mjs +4 -4
  166. package/esm2022/scrolling/virtual-scroll-viewport.component.mjs +26 -0
  167. package/esm2022/select/base-select.mjs +345 -0
  168. package/{esm2020 → esm2022}/select/helper-directives.mjs +7 -7
  169. package/esm2022/select/multi-select/multi-select.component.mjs +318 -0
  170. package/esm2022/select/option/option.component.mjs +119 -0
  171. package/esm2022/select/option-group/option-group.component.mjs +25 -0
  172. package/{esm2020 → esm2022}/select/option-placeholder.component.mjs +4 -4
  173. package/esm2022/select/select.component.mjs +107 -0
  174. package/esm2022/select/select.module.mjs +78 -0
  175. package/esm2022/select/validators.mjs +78 -0
  176. package/esm2022/shared/click-outside.directive.mjs +29 -0
  177. package/{esm2020 → esm2022}/shared/shared.module.mjs +5 -5
  178. package/esm2022/sort/sort-errors.mjs +13 -0
  179. package/esm2022/sort/sort-header.component.mjs +74 -0
  180. package/esm2022/sort/sort.directive.mjs +73 -0
  181. package/esm2022/sort/sort.module.mjs +19 -0
  182. package/esm2022/status-bar/status-bar.component.mjs +28 -0
  183. package/esm2022/status-bar/status-bar.module.mjs +19 -0
  184. package/esm2022/steps/steps.component.mjs +180 -0
  185. package/esm2022/steps/steps.module.mjs +19 -0
  186. package/esm2022/switch/switch.component.mjs +43 -0
  187. package/esm2022/switch/switch.module.mjs +18 -0
  188. package/esm2022/table/table-cell-def.directive.mjs +25 -0
  189. package/esm2022/table/table-cell.component.mjs +115 -0
  190. package/esm2022/table/table-cell.directive.mjs +29 -0
  191. package/esm2022/table/table-column-def.directive.mjs +31 -0
  192. package/esm2022/table/table-header-cell-def.directive.mjs +25 -0
  193. package/esm2022/table/table-header-cell.directive.mjs +25 -0
  194. package/esm2022/table/table-header-row-def.directive.mjs +33 -0
  195. package/esm2022/table/table-header-row.component.mjs +24 -0
  196. package/esm2022/table/table-placeholder.directive.mjs +33 -0
  197. package/esm2022/table/table-row-def.directive.mjs +34 -0
  198. package/esm2022/table/table-row.component.mjs +43 -0
  199. package/esm2022/table/table-scroll.directive.mjs +133 -0
  200. package/esm2022/table/table.component.mjs +79 -0
  201. package/esm2022/table/table.module.mjs +96 -0
  202. package/esm2022/table-of-contents/table-of-contents.module.mjs +20 -0
  203. package/esm2022/table-of-contents/toc-container.directive.mjs +111 -0
  204. package/esm2022/table-of-contents/toc-content.directive.mjs +39 -0
  205. package/esm2022/table-of-contents/toc-link.directive.mjs +48 -0
  206. package/esm2022/tabs/tab-body.component.mjs +151 -0
  207. package/esm2022/tabs/tab-context.service.mjs +30 -0
  208. package/esm2022/tabs/tab-group.component.mjs +256 -0
  209. package/esm2022/tabs/tab-header-active-indicator.component.mjs +46 -0
  210. package/esm2022/tabs/tab-header.component.mjs +276 -0
  211. package/esm2022/tabs/tab.component.mjs +77 -0
  212. package/esm2022/tabs/tabs.module.mjs +86 -0
  213. package/esm2022/tabs/tabs.types.mjs +10 -0
  214. package/esm2022/tag/check-tag/check-tag.component.mjs +31 -0
  215. package/esm2022/tag/tag.component.mjs +63 -0
  216. package/esm2022/tag/tag.module.mjs +20 -0
  217. package/esm2022/theme/theme.module.mjs +18 -0
  218. package/esm2022/theme/theme.pipe.mjs +64 -0
  219. package/esm2022/theme/theme.service.mjs +55 -0
  220. package/esm2022/time-picker/component.mjs +181 -0
  221. package/esm2022/time-picker/panel/panel.component.mjs +240 -0
  222. package/esm2022/time-picker/time-picker.module.mjs +56 -0
  223. package/esm2022/tooltip/base-tooltip.mjs +329 -0
  224. package/esm2022/tooltip/tooltip-active.directive.mjs +51 -0
  225. package/esm2022/tooltip/tooltip-copy.directive.mjs +87 -0
  226. package/esm2022/tooltip/tooltip-intl.mjs +21 -0
  227. package/esm2022/tooltip/tooltip.component.mjs +120 -0
  228. package/esm2022/tooltip/tooltip.directive.mjs +44 -0
  229. package/esm2022/tooltip/tooltip.module.mjs +32 -0
  230. package/{esm2020 → esm2022}/tree-select/tree-node-placeholder.component.mjs +4 -4
  231. package/esm2022/tree-select/tree-select.component.mjs +350 -0
  232. package/esm2022/tree-select/tree-select.module.mjs +34 -0
  233. package/esm2022/types.mjs +8 -0
  234. package/esm2022/utils/bem.mjs +44 -0
  235. package/esm2022/utils/coercion.mjs +13 -0
  236. package/{fesm2020 → fesm2022}/alauda-ui.mjs +2818 -2871
  237. package/fesm2022/alauda-ui.mjs.map +1 -0
  238. package/form/common-form.d.ts +1 -8
  239. package/form/form-item/form-item.component.d.ts +1 -1
  240. package/form/form.directive.d.ts +1 -1
  241. package/form/form.types.d.ts +2 -2
  242. package/form/helper-directives.d.ts +5 -5
  243. package/i18n/i18n.pipe.d.ts +1 -1
  244. package/i18n/i18n.type.d.ts +1 -1
  245. package/icon/icon.component.d.ts +1 -1
  246. package/inline-alert/helper-directives.d.ts +1 -1
  247. package/inline-alert/inline-alert.component.d.ts +1 -1
  248. package/inline-alert/inline-alert.types.d.ts +1 -1
  249. package/input/autosize.directive.d.ts +1 -4
  250. package/input/helper-directives.d.ts +4 -4
  251. package/input/input-group/input-group.component.d.ts +1 -1
  252. package/input/input.component.d.ts +1 -4
  253. package/input/number-input/number-input.component.d.ts +1 -1
  254. package/input/search/search.component.d.ts +1 -1
  255. package/input/tags-input/tags-input.component.d.ts +4 -4
  256. package/message/message-wrapper.component.d.ts +1 -1
  257. package/message/message.component.d.ts +1 -1
  258. package/message/message.config.d.ts +0 -20
  259. package/notification/notification-wrapper.component.d.ts +1 -1
  260. package/notification/notification.component.d.ts +1 -5
  261. package/notification/notification.config.d.ts +1 -1
  262. package/package.json +13 -19
  263. package/paginator/paginator-intl.d.ts +0 -9
  264. package/paginator/paginator.component.d.ts +1 -15
  265. package/radio/base-radio.d.ts +1 -1
  266. package/radio/radio-button/radio-button.component.d.ts +1 -1
  267. package/radio/radio-group/radio-group.component.d.ts +1 -4
  268. package/radio/radio.component.d.ts +1 -1
  269. package/radio/radio.types.d.ts +1 -1
  270. package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
  271. package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
  272. package/scrolling/virtual-for-of.directive.d.ts +1 -1
  273. package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
  274. package/select/base-select.d.ts +1 -4
  275. package/select/helper-directives.d.ts +2 -2
  276. package/select/multi-select/multi-select.component.d.ts +1 -1
  277. package/select/option/option.component.d.ts +1 -1
  278. package/select/option-group/option-group.component.d.ts +1 -1
  279. package/select/option-placeholder.component.d.ts +1 -1
  280. package/select/select.component.d.ts +1 -1
  281. package/select/select.types.d.ts +3 -3
  282. package/select/validators.d.ts +1 -1
  283. package/shared/click-outside.directive.d.ts +1 -1
  284. package/sort/sort-errors.d.ts +0 -4
  285. package/sort/sort-header.component.d.ts +1 -1
  286. package/sort/sort.directive.d.ts +1 -1
  287. package/sort/sort.types.d.ts +2 -2
  288. package/status-bar/status-bar.component.d.ts +1 -1
  289. package/status-bar/status-bar.types.d.ts +2 -2
  290. package/steps/steps.component.d.ts +1 -4
  291. package/steps/types.d.ts +3 -6
  292. package/switch/switch.component.d.ts +1 -1
  293. package/table/table-cell-def.directive.d.ts +1 -5
  294. package/table/table-cell.component.d.ts +2 -2
  295. package/table/table-cell.directive.d.ts +1 -2
  296. package/table/table-column-def.directive.d.ts +1 -5
  297. package/table/table-header-cell-def.directive.d.ts +1 -5
  298. package/table/table-header-cell.directive.d.ts +1 -2
  299. package/table/table-header-row-def.directive.d.ts +1 -5
  300. package/table/table-header-row.component.d.ts +1 -2
  301. package/table/table-placeholder.directive.d.ts +2 -2
  302. package/table/table-row-def.directive.d.ts +1 -6
  303. package/table/table-row.component.d.ts +1 -2
  304. package/table/table-scroll.directive.d.ts +2 -2
  305. package/table/table.component.d.ts +1 -1
  306. package/table-of-contents/toc-container.directive.d.ts +1 -1
  307. package/table-of-contents/toc-content.directive.d.ts +1 -1
  308. package/table-of-contents/toc-link.directive.d.ts +1 -1
  309. package/tabs/tab-body.component.d.ts +7 -23
  310. package/tabs/tab-context.service.d.ts +0 -3
  311. package/tabs/tab-group.component.d.ts +1 -29
  312. package/tabs/tab-header-active-indicator.component.d.ts +1 -10
  313. package/tabs/tab-header.component.d.ts +2 -85
  314. package/tabs/tab.component.d.ts +1 -19
  315. package/tabs/tabs.types.d.ts +2 -5
  316. package/tag/check-tag/check-tag.component.d.ts +1 -1
  317. package/tag/tag.component.d.ts +1 -1
  318. package/tag/tag.types.d.ts +1 -1
  319. package/theme/style.css +5 -1
  320. package/theme/theme.pipe.d.ts +4 -4
  321. package/theme/theme.types.d.ts +3 -3
  322. package/time-picker/component.d.ts +1 -1
  323. package/time-picker/panel/panel.component.d.ts +1 -1
  324. package/time-picker/time-picker.type.d.ts +1 -1
  325. package/tooltip/base-tooltip.d.ts +1 -1
  326. package/tooltip/tooltip-active.directive.d.ts +1 -1
  327. package/tooltip/tooltip-copy.directive.d.ts +1 -1
  328. package/tooltip/tooltip-intl.d.ts +0 -4
  329. package/tooltip/tooltip.component.d.ts +1 -1
  330. package/tooltip/tooltip.directive.d.ts +1 -1
  331. package/tree-select/tree-node-placeholder.component.d.ts +1 -1
  332. package/tree-select/tree-select.component.d.ts +2 -2
  333. package/tree-select/tree-select.types.d.ts +1 -1
  334. package/types.d.ts +2 -5
  335. package/utils/operators.d.ts +1 -1
  336. package/.changeset/README.md +0 -8
  337. package/alauda-ui.d.ts +0 -5
  338. package/esm2020/accordion/accordion-item/accordion-item.component.mjs +0 -73
  339. package/esm2020/accordion/accordion.component.mjs +0 -27
  340. package/esm2020/accordion/accordion.module.mjs +0 -39
  341. package/esm2020/alauda-ui.mjs +0 -5
  342. package/esm2020/anchor/anchor.component.mjs +0 -138
  343. package/esm2020/anchor/anchor.directive.mjs +0 -182
  344. package/esm2020/anchor/anchor.module.mjs +0 -36
  345. package/esm2020/autocomplete/autocomplete.component.mjs +0 -64
  346. package/esm2020/autocomplete/autocomplete.directive.mjs +0 -278
  347. package/esm2020/autocomplete/autocomplete.module.mjs +0 -53
  348. package/esm2020/autocomplete/suggestion/suggestion.component.mjs +0 -79
  349. package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +0 -23
  350. package/esm2020/back-top/back-top.component.mjs +0 -67
  351. package/esm2020/back-top/back-top.module.mjs +0 -19
  352. package/esm2020/breadcrumb/breadcrumb-item.component.mjs +0 -32
  353. package/esm2020/breadcrumb/breadcrumb.component.mjs +0 -57
  354. package/esm2020/breadcrumb/breadcrumb.module.mjs +0 -20
  355. package/esm2020/button/button.component.mjs +0 -122
  356. package/esm2020/button/button.module.mjs +0 -20
  357. package/esm2020/button/button.types.mjs +0 -22
  358. package/esm2020/card/card.component.mjs +0 -16
  359. package/esm2020/card/card.module.mjs +0 -40
  360. package/esm2020/card/helper-directives.mjs +0 -50
  361. package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +0 -61
  362. package/esm2020/checkbox/checkbox.component.mjs +0 -112
  363. package/esm2020/checkbox/checkbox.module.mjs +0 -20
  364. package/esm2020/color-picker/color-picker.component.mjs +0 -28
  365. package/esm2020/color-picker/color-picker.module.mjs +0 -19
  366. package/esm2020/date-picker/calendar/constant.mjs +0 -32
  367. package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +0 -128
  368. package/esm2020/date-picker/calendar/footer/component.mjs +0 -29
  369. package/esm2020/date-picker/calendar/header/component.mjs +0 -103
  370. package/esm2020/date-picker/calendar/panel/picker-panel.mjs +0 -155
  371. package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +0 -209
  372. package/esm2020/date-picker/calendar/util.mjs +0 -146
  373. package/esm2020/date-picker/date-picker/date-picker.component.mjs +0 -110
  374. package/esm2020/date-picker/date-picker.module.mjs +0 -84
  375. package/esm2020/date-picker/range-picker/range-picker.component.mjs +0 -86
  376. package/esm2020/date-picker/trigger/trigger.component.mjs +0 -69
  377. package/esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs +0 -12
  378. package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +0 -85
  379. package/esm2020/dialog/dialog-config.mjs +0 -15
  380. package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +0 -38
  381. package/esm2020/dialog/dialog-content/dialog-content.component.mjs +0 -20
  382. package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +0 -15
  383. package/esm2020/dialog/dialog-content/dialog-header.component.mjs +0 -39
  384. package/esm2020/dialog/dialog-ref.mjs +0 -48
  385. package/esm2020/dialog/dialog.component.mjs +0 -148
  386. package/esm2020/dialog/dialog.module.mjs +0 -68
  387. package/esm2020/dialog/dialog.service.mjs +0 -121
  388. package/esm2020/drawer/component/drawer.component.mjs +0 -232
  389. package/esm2020/drawer/component/helper-directives.mjs +0 -37
  390. package/esm2020/drawer/drawer.module.mjs +0 -37
  391. package/esm2020/drawer/drawer.service.mjs +0 -44
  392. package/esm2020/dropdown/dropdown-active.directive.mjs +0 -21
  393. package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +0 -57
  394. package/esm2020/dropdown/dropdown.directive.mjs +0 -81
  395. package/esm2020/dropdown/dropdown.module.mjs +0 -65
  396. package/esm2020/dropdown/menu/menu-content.directive.mjs +0 -51
  397. package/esm2020/dropdown/menu/menu.component.mjs +0 -26
  398. package/esm2020/dropdown/menu-item/menu-item.component.mjs +0 -37
  399. package/esm2020/dropdown/submenu/submenu.component.mjs +0 -40
  400. package/esm2020/form/common-form.mjs +0 -91
  401. package/esm2020/form/form-item/form-item.component.mjs +0 -108
  402. package/esm2020/form/form.directive.mjs +0 -69
  403. package/esm2020/form/form.module.mjs +0 -48
  404. package/esm2020/form/helper-directives.mjs +0 -80
  405. package/esm2020/i18n/i18n.pipe.mjs +0 -20
  406. package/esm2020/i18n/i18n.service.mjs +0 -43
  407. package/esm2020/icon/icon-register.service.mjs +0 -74
  408. package/esm2020/icon/icon.component.mjs +0 -65
  409. package/esm2020/icon/icon.module.mjs +0 -21
  410. package/esm2020/inline-alert/inline-alert.component.mjs +0 -53
  411. package/esm2020/inline-alert/inline-alert.module.mjs +0 -20
  412. package/esm2020/input/autosize.directive.mjs +0 -59
  413. package/esm2020/input/helper-directives.mjs +0 -43
  414. package/esm2020/input/input-group/input-group.component.mjs +0 -39
  415. package/esm2020/input/input.component.mjs +0 -61
  416. package/esm2020/input/input.module.mjs +0 -87
  417. package/esm2020/input/number-input/number-input.component.mjs +0 -112
  418. package/esm2020/input/search/search.component.mjs +0 -88
  419. package/esm2020/input/tags-input/tags-input.component.mjs +0 -260
  420. package/esm2020/message/base-message.mjs +0 -90
  421. package/esm2020/message/message-wrapper.component.mjs +0 -14
  422. package/esm2020/message/message.component.mjs +0 -70
  423. package/esm2020/message/message.config.mjs +0 -21
  424. package/esm2020/message/message.module.mjs +0 -23
  425. package/esm2020/notification/notification-wrapper.component.mjs +0 -16
  426. package/esm2020/notification/notification.component.mjs +0 -107
  427. package/esm2020/notification/notification.module.mjs +0 -24
  428. package/esm2020/paginator/paginator-intl.mjs +0 -37
  429. package/esm2020/paginator/paginator.component.mjs +0 -125
  430. package/esm2020/paginator/paginator.module.mjs +0 -24
  431. package/esm2020/radio/base-radio.mjs +0 -67
  432. package/esm2020/radio/radio-button/radio-button.component.mjs +0 -42
  433. package/esm2020/radio/radio-group/radio-group.component.mjs +0 -76
  434. package/esm2020/radio/radio.component.mjs +0 -24
  435. package/esm2020/radio/radio.module.mjs +0 -21
  436. package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +0 -83
  437. package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +0 -121
  438. package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +0 -28
  439. package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +0 -26
  440. package/esm2020/select/base-select.mjs +0 -337
  441. package/esm2020/select/multi-select/multi-select.component.mjs +0 -313
  442. package/esm2020/select/option/option.component.mjs +0 -112
  443. package/esm2020/select/option-group/option-group.component.mjs +0 -23
  444. package/esm2020/select/select.component.mjs +0 -108
  445. package/esm2020/select/select.module.mjs +0 -80
  446. package/esm2020/select/validators.mjs +0 -79
  447. package/esm2020/shared/click-outside.directive.mjs +0 -28
  448. package/esm2020/sort/sort-errors.mjs +0 -17
  449. package/esm2020/sort/sort-header.component.mjs +0 -72
  450. package/esm2020/sort/sort.directive.mjs +0 -75
  451. package/esm2020/sort/sort.module.mjs +0 -19
  452. package/esm2020/status-bar/status-bar.component.mjs +0 -29
  453. package/esm2020/status-bar/status-bar.module.mjs +0 -19
  454. package/esm2020/steps/steps.component.mjs +0 -184
  455. package/esm2020/steps/steps.module.mjs +0 -19
  456. package/esm2020/switch/switch.component.mjs +0 -46
  457. package/esm2020/switch/switch.module.mjs +0 -18
  458. package/esm2020/table/table-cell-def.directive.mjs +0 -29
  459. package/esm2020/table/table-cell.component.mjs +0 -121
  460. package/esm2020/table/table-cell.directive.mjs +0 -31
  461. package/esm2020/table/table-column-def.directive.mjs +0 -37
  462. package/esm2020/table/table-header-cell-def.directive.mjs +0 -29
  463. package/esm2020/table/table-header-cell.directive.mjs +0 -27
  464. package/esm2020/table/table-header-row-def.directive.mjs +0 -39
  465. package/esm2020/table/table-header-row.component.mjs +0 -25
  466. package/esm2020/table/table-placeholder.directive.mjs +0 -30
  467. package/esm2020/table/table-row-def.directive.mjs +0 -42
  468. package/esm2020/table/table-row.component.mjs +0 -43
  469. package/esm2020/table/table-scroll.directive.mjs +0 -134
  470. package/esm2020/table/table.component.mjs +0 -79
  471. package/esm2020/table/table.module.mjs +0 -96
  472. package/esm2020/table-of-contents/table-of-contents.module.mjs +0 -20
  473. package/esm2020/table-of-contents/toc-container.directive.mjs +0 -109
  474. package/esm2020/table-of-contents/toc-content.directive.mjs +0 -35
  475. package/esm2020/table-of-contents/toc-link.directive.mjs +0 -44
  476. package/esm2020/tabs/tab-body.component.mjs +0 -165
  477. package/esm2020/tabs/tab-context.service.mjs +0 -31
  478. package/esm2020/tabs/tab-group.component.mjs +0 -291
  479. package/esm2020/tabs/tab-header-active-indicator.component.mjs +0 -53
  480. package/esm2020/tabs/tab-header.component.mjs +0 -367
  481. package/esm2020/tabs/tab.component.mjs +0 -85
  482. package/esm2020/tabs/tabs.module.mjs +0 -88
  483. package/esm2020/tabs/tabs.types.mjs +0 -13
  484. package/esm2020/tag/check-tag/check-tag.component.mjs +0 -33
  485. package/esm2020/tag/tag.component.mjs +0 -66
  486. package/esm2020/tag/tag.module.mjs +0 -20
  487. package/esm2020/theme/theme.module.mjs +0 -18
  488. package/esm2020/theme/theme.pipe.mjs +0 -69
  489. package/esm2020/theme/theme.service.mjs +0 -52
  490. package/esm2020/time-picker/component.mjs +0 -179
  491. package/esm2020/time-picker/panel/panel.component.mjs +0 -230
  492. package/esm2020/time-picker/time-picker.module.mjs +0 -58
  493. package/esm2020/tooltip/base-tooltip.mjs +0 -322
  494. package/esm2020/tooltip/tooltip-active.directive.mjs +0 -49
  495. package/esm2020/tooltip/tooltip-copy.directive.mjs +0 -82
  496. package/esm2020/tooltip/tooltip-intl.mjs +0 -29
  497. package/esm2020/tooltip/tooltip.component.mjs +0 -107
  498. package/esm2020/tooltip/tooltip.directive.mjs +0 -47
  499. package/esm2020/tooltip/tooltip.module.mjs +0 -33
  500. package/esm2020/tree-select/tree-select.component.mjs +0 -340
  501. package/esm2020/tree-select/tree-select.module.mjs +0 -34
  502. package/esm2020/types.mjs +0 -11
  503. package/esm2020/utils/bem.mjs +0 -44
  504. package/esm2020/utils/coercion.mjs +0 -17
  505. package/fesm2015/alauda-ui.mjs +0 -12051
  506. package/fesm2015/alauda-ui.mjs.map +0 -1
  507. package/fesm2020/alauda-ui.mjs.map +0 -1
  508. package/src/accordion/README.md +0 -13
  509. package/src/anchor/README.md +0 -23
  510. package/src/dropdown/README.md +0 -57
  511. package/src/form/README.md +0 -32
  512. package/src/icon/README.md +0 -28
  513. package/src/inline-alert/README.md +0 -16
  514. package/src/input/number-input/README.md +0 -16
  515. package/src/select/README.md +0 -57
  516. package/src/sort/README.md +0 -13
  517. package/src/table/README.md +0 -8
  518. package/src/table-of-contents/README.md +0 -94
  519. package/src/tag/README.md +0 -32
  520. package/src/tree-select/README.md +0 -34
  521. /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
  522. /package/{esm2020 → esm2022}/anchor/index.mjs +0 -0
  523. /package/{esm2020 → esm2022}/anchor/types.mjs +0 -0
  524. /package/{esm2020 → esm2022}/anchor/utils.mjs +0 -0
  525. /package/{esm2020 → esm2022}/autocomplete/autocomplete.types.mjs +0 -0
  526. /package/{esm2020 → esm2022}/autocomplete/index.mjs +0 -0
  527. /package/{esm2020 → esm2022}/back-top/index.mjs +0 -0
  528. /package/{esm2020 → esm2022}/breadcrumb/index.mjs +0 -0
  529. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  530. /package/{esm2020 → esm2022}/card/index.mjs +0 -0
  531. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  532. /package/{esm2020 → esm2022}/color-picker/index.mjs +0 -0
  533. /package/{esm2020 → esm2022}/core/animation/animation-consts.mjs +0 -0
  534. /package/{esm2020 → esm2022}/date-picker/date-picker.type.mjs +0 -0
  535. /package/{esm2020 → esm2022}/date-picker/index.mjs +0 -0
  536. /package/{esm2020 → esm2022}/dialog/dialog.types.mjs +0 -0
  537. /package/{esm2020 → esm2022}/dialog/index.mjs +0 -0
  538. /package/{esm2020 → esm2022}/dialog/utils/errors.mjs +0 -0
  539. /package/{esm2020 → esm2022}/dialog/utils/index.mjs +0 -0
  540. /package/{esm2020 → esm2022}/drawer/component/drawer-ref.mjs +0 -0
  541. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  542. /package/{esm2020 → esm2022}/dropdown/dropdown.types.mjs +0 -0
  543. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  544. /package/{esm2020 → esm2022}/form/form.types.mjs +0 -0
  545. /package/{esm2020 → esm2022}/form/index.mjs +0 -0
  546. /package/{esm2020 → esm2022}/i18n/i18n.type.mjs +0 -0
  547. /package/{esm2020 → esm2022}/i18n/index.mjs +0 -0
  548. /package/{esm2020 → esm2022}/i18n/language/en.mjs +0 -0
  549. /package/{esm2020 → esm2022}/i18n/language/zh.mjs +0 -0
  550. /package/{esm2020 → esm2022}/icon/icons.mjs +0 -0
  551. /package/{esm2020 → esm2022}/icon/index.mjs +0 -0
  552. /package/{esm2020 → esm2022}/icon/utils.mjs +0 -0
  553. /package/{esm2020 → esm2022}/index.mjs +0 -0
  554. /package/{esm2020 → esm2022}/inline-alert/index.mjs +0 -0
  555. /package/{esm2020 → esm2022}/inline-alert/inline-alert.types.mjs +0 -0
  556. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  557. /package/{esm2020 → esm2022}/input/tags-input/with-max-row-count.mjs +0 -0
  558. /package/{esm2020 → esm2022}/input/utils/index.mjs +0 -0
  559. /package/{esm2020 → esm2022}/message/index.mjs +0 -0
  560. /package/{esm2020 → esm2022}/message/message-animations.mjs +0 -0
  561. /package/{esm2020 → esm2022}/notification/index.mjs +0 -0
  562. /package/{esm2020 → esm2022}/notification/notification.config.mjs +0 -0
  563. /package/{esm2020 → esm2022}/paginator/index.mjs +0 -0
  564. /package/{esm2020 → esm2022}/radio/index.mjs +0 -0
  565. /package/{esm2020 → esm2022}/radio/radio.types.mjs +0 -0
  566. /package/{esm2020 → esm2022}/scrolling/index.mjs +0 -0
  567. /package/{esm2020 → esm2022}/select/index.mjs +0 -0
  568. /package/{esm2020 → esm2022}/select/select.types.mjs +0 -0
  569. /package/{esm2020 → esm2022}/sort/index.mjs +0 -0
  570. /package/{esm2020 → esm2022}/sort/sort.types.mjs +0 -0
  571. /package/{esm2020 → esm2022}/status-bar/index.mjs +0 -0
  572. /package/{esm2020 → esm2022}/status-bar/status-bar.types.mjs +0 -0
  573. /package/{esm2020 → esm2022}/steps/index.mjs +0 -0
  574. /package/{esm2020 → esm2022}/steps/types.mjs +0 -0
  575. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  576. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  577. /package/{esm2020 → esm2022}/table-of-contents/index.mjs +0 -0
  578. /package/{esm2020 → esm2022}/tabs/index.mjs +0 -0
  579. /package/{esm2020 → esm2022}/tag/index.mjs +0 -0
  580. /package/{esm2020 → esm2022}/tag/tag.types.mjs +0 -0
  581. /package/{esm2020 → esm2022}/theme/index.mjs +0 -0
  582. /package/{esm2020 → esm2022}/theme/theme.types.mjs +0 -0
  583. /package/{esm2020 → esm2022}/theme/utils.mjs +0 -0
  584. /package/{esm2020 → esm2022}/time-picker/constant.mjs +0 -0
  585. /package/{esm2020 → esm2022}/time-picker/index.mjs +0 -0
  586. /package/{esm2020 → esm2022}/time-picker/time-picker.type.mjs +0 -0
  587. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  588. /package/{esm2020 → esm2022}/tooltip/tooltip.types.mjs +0 -0
  589. /package/{esm2020 → esm2022}/tooltip/utils/index.mjs +0 -0
  590. /package/{esm2020 → esm2022}/tree-select/index.mjs +0 -0
  591. /package/{esm2020 → esm2022}/tree-select/tree-select.types.mjs +0 -0
  592. /package/{esm2020 → esm2022}/utils/animations.mjs +0 -0
  593. /package/{esm2020 → esm2022}/utils/async.mjs +0 -0
  594. /package/{esm2020 → esm2022}/utils/fn.mjs +0 -0
  595. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  596. /package/{esm2020 → esm2022}/utils/observe-dom.mjs +0 -0
  597. /package/{esm2020 → esm2022}/utils/operators.mjs +0 -0
  598. /package/{esm2020 → esm2022}/utils/scroll-into-view.mjs +0 -0
  599. /package/{esm2020 → esm2022}/utils/watch-content-exist.mjs +0 -0
@@ -0,0 +1,43 @@
1
+ import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, forwardRef, } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import { CommonFormControl } from '../form';
4
+ import { buildBem } from '../utils';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ const prefix = 'aui-switch';
8
+ export class SwitchComponent extends CommonFormControl {
9
+ bem = buildBem(prefix);
10
+ loading = false;
11
+ onSwitch() {
12
+ if (this.disabled) {
13
+ return;
14
+ }
15
+ this.emitValue(!this.model);
16
+ }
17
+ onBlur() {
18
+ if (this.onTouched) {
19
+ this.onTouched();
20
+ }
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SwitchComponent, selector: "aui-switch", inputs: { loading: "loading" }, providers: [
24
+ {
25
+ provide: NG_VALUE_ACCESSOR,
26
+ useExisting: forwardRef(() => SwitchComponent),
27
+ multi: true,
28
+ },
29
+ ], usesInheritance: true, ngImport: i0, template: "<div\n class=\"aui-switch\"\n [class.isLoading]=\"loading\"\n [class.isDisabled]=\"disabled\"\n [class.isChecked]=\"model\"\n (click)=\"onSwitch()\"\n>\n <input\n #input\n [ngClass]=\"bem.element('input')\"\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [checked]=\"model\"\n (blur)=\"onBlur()\"\n />\n <span [ngClass]=\"bem.element('bar')\">\n <i [ngClass]=\"bem.element('dot')\"></i>\n </span>\n</div>\n", styles: [".aui-switch{display:inline-flex;position:relative;vertical-align:text-bottom;color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}:root .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-switch__bar{display:inline-block;width:30px;height:16px;border-radius:8px;background-color:currentcolor;transition:background-color .3s;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.aui-switch__dot{background-color:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:2px;transition:left .3s}.aui-switch.isDisabled{color:rgb(var(--aui-color-n-7));cursor:not-allowed}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}.aui-switch.isChecked{color:rgb(var(--aui-color-primary))}.aui-switch.isChecked.isDisabled{color:rgb(var(--aui-color-p-4))}.aui-switch.isChecked .aui-switch__dot{left:16px}.aui-switch.isLoading .aui-switch__dot:after{content:\"\";position:absolute;inset:2px;border:1px solid currentcolor;border-top-color:transparent;border-radius:50%;animation:spin 1s infinite linear}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SwitchComponent, decorators: [{
32
+ type: Component,
33
+ args: [{ selector: 'aui-switch', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, providers: [
34
+ {
35
+ provide: NG_VALUE_ACCESSOR,
36
+ useExisting: forwardRef(() => SwitchComponent),
37
+ multi: true,
38
+ },
39
+ ], template: "<div\n class=\"aui-switch\"\n [class.isLoading]=\"loading\"\n [class.isDisabled]=\"disabled\"\n [class.isChecked]=\"model\"\n (click)=\"onSwitch()\"\n>\n <input\n #input\n [ngClass]=\"bem.element('input')\"\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [checked]=\"model\"\n (blur)=\"onBlur()\"\n />\n <span [ngClass]=\"bem.element('bar')\">\n <i [ngClass]=\"bem.element('dot')\"></i>\n </span>\n</div>\n", styles: [".aui-switch{display:inline-flex;position:relative;vertical-align:text-bottom;color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}:root .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-switch__bar{display:inline-block;width:30px;height:16px;border-radius:8px;background-color:currentcolor;transition:background-color .3s;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.aui-switch__dot{background-color:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:2px;transition:left .3s}.aui-switch.isDisabled{color:rgb(var(--aui-color-n-7));cursor:not-allowed}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}.aui-switch.isChecked{color:rgb(var(--aui-color-primary))}.aui-switch.isChecked.isDisabled{color:rgb(var(--aui-color-p-4))}.aui-switch.isChecked .aui-switch__dot{left:16px}.aui-switch.isLoading .aui-switch__dot:after{content:\"\";position:absolute;inset:2px;border:1px solid currentcolor;border-top-color:transparent;border-radius:50%;animation:spin 1s infinite linear}@keyframes spin{0%{transform:rotate(0)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U3dpdGNoKClcIlxuPlxuICA8aW5wdXRcbiAgICAjaW5wdXRcbiAgICBbbmdDbGFzc109XCJiZW0uZWxlbWVudCgnaW5wdXQnKVwiXG4gICAgdHlwZT1cImNoZWNrYm94XCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgIFtjaGVja2VkXT1cIm1vZGVsXCJcbiAgICAoYmx1cik9XCJvbkJsdXIoKVwiXG4gIC8+XG4gIDxzcGFuIFtuZ0NsYXNzXT1cImJlbS5lbGVtZW50KCdiYXInKVwiPlxuICAgIDxpIFtuZ0NsYXNzXT1cImJlbS5lbGVtZW50KCdkb3QnKVwiPjwvaT5cbiAgPC9zcGFuPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,18 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { SwitchComponent } from './switch.component';
4
+ import * as i0 from "@angular/core";
5
+ export class SwitchModule {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
7
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent], imports: [CommonModule], exports: [SwitchComponent] });
8
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SwitchModule, imports: [CommonModule] });
9
+ }
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SwitchModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ imports: [CommonModule],
14
+ declarations: [SwitchComponent],
15
+ exports: [SwitchComponent],
16
+ }]
17
+ }] });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiO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';
3
+ import * as i0 from "@angular/core";
4
+ export class TableCellDefDirective extends CdkCellDef {
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
6
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableCellDefDirective, selector: "[auiTableCellDef]", providers: [
7
+ {
8
+ provide: CdkCellDef,
9
+ useExisting: TableCellDefDirective,
10
+ },
11
+ ], usesInheritance: true, ngImport: i0 });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCellDefDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: '[auiTableCellDef]',
17
+ providers: [
18
+ {
19
+ provide: CdkCellDef,
20
+ useExisting: TableCellDefDirective,
21
+ },
22
+ ],
23
+ }]
24
+ }] });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC1kZWYuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWNlbGwtZGVmLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDaEQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFlMUMsTUFBTSxPQUFPLHFCQUFzQixTQUFRLFVBQVU7dUdBQXhDLHFCQUFxQjsyRkFBckIscUJBQXFCLDRDQVByQjtZQUNUO2dCQUNFLE9BQU8sRUFBRSxVQUFVO2dCQUNuQixXQUFXLEVBQUUscUJBQXFCO2FBQ25DO1NBQ0Y7OzJGQUVVLHFCQUFxQjtrQkFUakMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsbUJBQW1CO29CQUM3QixTQUFTLEVBQUU7d0JBQ1Q7NEJBQ0UsT0FBTyxFQUFFLFVBQVU7NEJBQ25CLFdBQVcsdUJBQXVCO3lCQUNuQztxQkFDRjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENka0NlbGxEZWYgfSBmcm9tICdAYW5ndWxhci9jZGsvdGFibGUnO1xuaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbi8qKlxuICogQ2VsbCBkZWZpbml0aW9uIGZvciB0aGUgYXVpLXRhYmxlLlxuICogQ2FwdHVyZXMgdGhlIHRlbXBsYXRlIG9mIGEgY29sdW1uJ3MgZGF0YSByb3cgY2VsbCBhcyB3ZWxsIGFzIGNlbGwtc3BlY2lmaWMgcHJvcGVydGllcy5cbiAqL1xuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2F1aVRhYmxlQ2VsbERlZl0nLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBDZGtDZWxsRGVmLFxuICAgICAgdXNlRXhpc3Rpbmc6IFRhYmxlQ2VsbERlZkRpcmVjdGl2ZSxcbiAgICB9LFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZUNlbGxEZWZEaXJlY3RpdmUgZXh0ZW5kcyBDZGtDZWxsRGVmIHt9XG4iXX0=
@@ -0,0 +1,115 @@
1
+ import { animate, state, style, transition, trigger, } from '@angular/animations';
2
+ import { CdkCell } from '@angular/cdk/table';
3
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../icon/icon.component";
6
+ import * as i2 from "@angular/common";
7
+ export class TableExpandButtonCellComponent extends CdkCell {
8
+ expand = false;
9
+ disabled = false;
10
+ expandChange = new EventEmitter();
11
+ get expanded() {
12
+ return this.expand ? 'expanded' : null;
13
+ }
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableExpandButtonCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableExpandButtonCellComponent, selector: "aui-table-cell[auiExpandButton]", inputs: { expand: "expand", disabled: "disabled" }, outputs: { expandChange: "expandChange" }, usesInheritance: true, ngImport: i0, template: `
16
+ <button
17
+ type="button"
18
+ class="aui-expand-button"
19
+ [class.isExpanded]="expand"
20
+ [disabled]="disabled"
21
+ (click)="expandChange.next(null)"
22
+ >
23
+ <aui-icon icon="angle_right"></aui-icon>
24
+ </button>
25
+ `, isInline: true, dependencies: [{ kind: "component", type: i1.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableExpandButtonCellComponent, decorators: [{
28
+ type: Component,
29
+ args: [{
30
+ selector: 'aui-table-cell[auiExpandButton]',
31
+ template: `
32
+ <button
33
+ type="button"
34
+ class="aui-expand-button"
35
+ [class.isExpanded]="expand"
36
+ [disabled]="disabled"
37
+ (click)="expandChange.next(null)"
38
+ >
39
+ <aui-icon icon="angle_right"></aui-icon>
40
+ </button>
41
+ `,
42
+ changeDetection: ChangeDetectionStrategy.OnPush,
43
+ encapsulation: ViewEncapsulation.None,
44
+ preserveWhitespaces: false,
45
+ }]
46
+ }], propDecorators: { expand: [{
47
+ type: Input
48
+ }], disabled: [{
49
+ type: Input
50
+ }], expandChange: [{
51
+ type: Output
52
+ }] } });
53
+ export class TableExpandPanelCellComponent extends CdkCell {
54
+ expand = false;
55
+ background = true;
56
+ get expanded() {
57
+ return this.expand ? 'expanded' : null;
58
+ }
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableExpandPanelCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
60
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableExpandPanelCellComponent, selector: "aui-table-cell[auiExpandPanel]", inputs: { expand: "expand", background: "background" }, usesInheritance: true, ngImport: i0, template: `
61
+ <div
62
+ *ngIf="expand"
63
+ class="aui-table__cell-expand-panel"
64
+ [@expand]="expanded"
65
+ >
66
+ <div
67
+ class="aui-table__cell-expand-panel-content"
68
+ [class.hasBackground]="background"
69
+ >
70
+ <ng-content></ng-content>
71
+ </div>
72
+ </div>
73
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
74
+ trigger('expand', [
75
+ state('*', style({ height: 0 })),
76
+ state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
77
+ transition('* <=> expanded', [animate('0.1s ease-in-out')]),
78
+ ]),
79
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
80
+ }
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableExpandPanelCellComponent, decorators: [{
82
+ type: Component,
83
+ args: [{
84
+ selector: 'aui-table-cell[auiExpandPanel]',
85
+ template: `
86
+ <div
87
+ *ngIf="expand"
88
+ class="aui-table__cell-expand-panel"
89
+ [@expand]="expanded"
90
+ >
91
+ <div
92
+ class="aui-table__cell-expand-panel-content"
93
+ [class.hasBackground]="background"
94
+ >
95
+ <ng-content></ng-content>
96
+ </div>
97
+ </div>
98
+ `,
99
+ changeDetection: ChangeDetectionStrategy.OnPush,
100
+ encapsulation: ViewEncapsulation.None,
101
+ preserveWhitespaces: false,
102
+ animations: [
103
+ trigger('expand', [
104
+ state('*', style({ height: 0 })),
105
+ state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
106
+ transition('* <=> expanded', [animate('0.1s ease-in-out')]),
107
+ ]),
108
+ ],
109
+ }]
110
+ }], propDecorators: { expand: [{
111
+ type: Input
112
+ }], background: [{
113
+ type: Input
114
+ }] } });
115
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY2VsbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLE9BQU8sRUFDUCxLQUFLLEVBQ0wsS0FBSyxFQUNMLFVBQVUsRUFDVixPQUFPLEdBQ1IsTUFBTSxxQkFBcUIsQ0FBQztBQUM3QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDN0MsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDOzs7O0FBbUJ2QixNQUFNLE9BQU8sOEJBQStCLFNBQVEsT0FBTztJQUV6RCxNQUFNLEdBQUcsS0FBSyxDQUFDO0lBR2YsUUFBUSxHQUFHLEtBQUssQ0FBQztJQUdqQixZQUFZLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBQztJQUVsQyxJQUFJLFFBQVE7UUFDVixPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDO0lBQ3pDLENBQUM7dUdBWlUsOEJBQThCOzJGQUE5Qiw4QkFBOEIsNkxBZi9COzs7Ozs7Ozs7O0dBVVQ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xuXG4gIEBJbnB1dCgpXG4gIGJhY2tncm91bmQgPSB0cnVlO1xuXG4gIGdldCBleHBhbmRlZCgpIHtcbiAgICByZXR1cm4gdGhpcy5leHBhbmQgPyAnZXhwYW5kZWQnIDogbnVsbDtcbiAgfVxufVxuIl19
@@ -0,0 +1,29 @@
1
+ import { CdkCell } from '@angular/cdk/table';
2
+ import { Directive, Input } from '@angular/core';
3
+ import { buildBem } from '../utils';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/cdk/table";
6
+ const bem = buildBem('aui-table');
7
+ export class TableCellDirective extends CdkCell {
8
+ direction = 'row';
9
+ constructor(columnDef, elementRef) {
10
+ super(columnDef, elementRef);
11
+ elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
12
+ }
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
14
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableCellDirective, selector: "aui-table-cell", inputs: { direction: "direction" }, host: { attributes: { "role": "gridcell" }, properties: { "class.aui-table__cell--column": "direction === \"column\"" }, classAttribute: "aui-table__cell" }, usesInheritance: true, ngImport: i0 });
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableCellDirective, decorators: [{
17
+ type: Directive,
18
+ args: [{
19
+ selector: 'aui-table-cell',
20
+ host: {
21
+ class: 'aui-table__cell',
22
+ role: 'gridcell',
23
+ '[class.aui-table__cell--column]': 'direction === "column"',
24
+ },
25
+ }]
26
+ }], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; }, propDecorators: { direction: [{
27
+ type: Input
28
+ }] } });
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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iZW0uZWxlbWVudChgY29sdW1uLSR7Y29sdW1uRGVmLmNzc0NsYXNzRnJpZW5kbHlOYW1lfWApLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,31 @@
1
+ import { CdkColumnDef } from '@angular/cdk/table';
2
+ import { Directive, Input } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class TableColumnDefDirective extends CdkColumnDef {
5
+ set auiTableColumnDef(value) {
6
+ this.name = value;
7
+ }
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
9
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableColumnDefDirective, selector: "[auiTableColumnDef]", inputs: { sticky: "sticky", auiTableColumnDef: "auiTableColumnDef" }, providers: [
10
+ {
11
+ provide: CdkColumnDef,
12
+ useExisting: TableColumnDefDirective,
13
+ },
14
+ ], usesInheritance: true, ngImport: i0 });
15
+ }
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableColumnDefDirective, decorators: [{
17
+ type: Directive,
18
+ args: [{
19
+ selector: '[auiTableColumnDef]',
20
+ providers: [
21
+ {
22
+ provide: CdkColumnDef,
23
+ useExisting: TableColumnDefDirective,
24
+ },
25
+ ],
26
+ inputs: ['sticky'],
27
+ }]
28
+ }], propDecorators: { auiTableColumnDef: [{
29
+ type: Input
30
+ }] } });
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FB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ICAgIHtcbiAgICAgIHByb3ZpZGU6IENka0NvbHVtbkRlZixcbiAgICAgIHVzZUV4aXN0aW5nOiBUYWJsZUNvbHVtbkRlZkRpcmVjdGl2ZSxcbiAgICB9LFxuICBdLFxuICBpbnB1dHM6IFsnc3RpY2t5J10sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlQ29sdW1uRGVmRGlyZWN0aXZlIGV4dGVuZHMgQ2RrQ29sdW1uRGVmIHtcbiAgLy8gVW5pcXVlIG5hbWUgZm9yIHRoaXMgY29sdW1uXG4gIC8vIFdoeSBpdCBkb2VzIG5vdCB3b3JrIGluIGBpbnB1dHNgIHByb3BlcnR5P1xuICBASW5wdXQoKVxuICBzZXQgYXVpVGFibGVDb2x1bW5EZWYodmFsdWU6IHN0cmluZykge1xuICAgIHRoaXMubmFtZSA9IHZhbHVlO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,25 @@
1
+ import { CdkHeaderCellDef } from '@angular/cdk/table';
2
+ import { Directive } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class TableHeaderCellDefDirective extends CdkHeaderCellDef {
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
6
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableHeaderCellDefDirective, selector: "[auiTableHeaderCellDef]", providers: [
7
+ {
8
+ provide: CdkHeaderCellDef,
9
+ useExisting: TableHeaderCellDefDirective,
10
+ },
11
+ ], usesInheritance: true, ngImport: i0 });
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderCellDefDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: '[auiTableHeaderCellDef]',
17
+ providers: [
18
+ {
19
+ provide: CdkHeaderCellDef,
20
+ useExisting: TableHeaderCell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BoZWFkZXIgY2VsbCBhbmQgYXMgd2VsbCBhcyBjZWxsLXNwZWNpZmljIHByb3BlcnRpZXMuXG4gKi9cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlUYWJsZUhlYWRlckNlbGxEZWZdJyxcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogQ2RrSGVhZGVyQ2VsbERlZixcbiAgICAgIHVzZUV4aXN0aW5nOiBUYWJsZUhlYWRlckNlbGxEZWZEaXJlY3RpdmUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVIZWFkZXJDZWxsRGVmRGlyZWN0aXZlIGV4dGVuZHMgQ2RrSGVhZGVyQ2VsbERlZiB7fVxuIl19
@@ -0,0 +1,25 @@
1
+ import { CdkHeaderCell } from '@angular/cdk/table';
2
+ import { Directive } from '@angular/core';
3
+ import { buildBem } from '../utils';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/cdk/table";
6
+ const bem = buildBem('aui-table');
7
+ export class TableHeaderCellDirective extends CdkHeaderCell {
8
+ constructor(columnDef, elementRef) {
9
+ super(columnDef, elementRef);
10
+ elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableHeaderCellDirective, selector: "aui-table-header-cell", host: { attributes: { "role": "columnheader" }, classAttribute: "aui-table__header-cell" }, usesInheritance: true, ngImport: i0 });
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderCellDirective, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: 'aui-table-header-cell',
19
+ host: {
20
+ class: 'aui-table__header-cell',
21
+ role: 'columnheader',
22
+ },
23
+ }]
24
+ }], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWNlbGwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWhlYWRlci1jZWxsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLGFBQWEsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFFdEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFVBQVUsQ0FBQzs7O0FBRXBDLE1BQU0sR0FBRyxHQUFHLFFBQVEsQ0FBQyxXQUFXLENBQUMsQ0FBQztBQVdsQyxNQUFNLE9BQU8sd0JBQXlCLFNBQVEsYUFBYTtJQUN6RCxZQUFZLFNBQXVCLEVBQUUsVUFBbUM7UUFDdEUsS0FBSyxDQUFDLFNBQVMsRUFBRSxVQUFVLENBQUMsQ0FBQztRQUM3QixVQUFVLENBQUMsYUFBYSxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQ3BDLEdBQUcsQ0FBQyxPQUFPLENBQUMsVUFBVSxTQUFTLENBQUMsb0JBQW9CLEVBQUUsQ0FBQyxDQUN4RCxDQUFDO0lBQ0osQ0FBQzt1R0FOVSx3QkFBd0I7MkZBQXhCLHdCQUF3Qjs7MkZBQXhCLHdCQUF3QjtrQkFScEMsU0FBUzttQkFBQztvQkFFVCxRQUFRLEVBQUUsdUJBQXVCO29CQUNqQyxJQUFJLEVBQUU7d0JBQ0osS0FB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KGBjb2x1bW4tJHtjb2x1bW5EZWYuY3NzQ2xhc3NGcmllbmRseU5hbWV9YCksXG4gICAgKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,33 @@
1
+ import { CdkHeaderRowDef } from '@angular/cdk/table';
2
+ import { Directive, Input } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class TableHeaderRowDefDirective extends CdkHeaderRowDef {
5
+ columns = [];
6
+ sticky;
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
8
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableHeaderRowDefDirective, selector: "[auiTableHeaderRowDef]", inputs: { columns: ["auiTableHeaderRowDef", "columns"], sticky: ["auiTableHeaderRowDefSticky", "sticky"] }, providers: [
9
+ {
10
+ provide: CdkHeaderRowDef,
11
+ useExisting: TableHeaderRowDefDirective,
12
+ },
13
+ ], usesInheritance: true, ngImport: i0 });
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderRowDefDirective, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ selector: '[auiTableHeaderRowDef]',
19
+ providers: [
20
+ {
21
+ provide: CdkHeaderRowDef,
22
+ useExisting: TableHeaderRowDefDirective,
23
+ },
24
+ ],
25
+ }]
26
+ }], propDecorators: { columns: [{
27
+ type: Input,
28
+ args: ['auiTableHeaderRowDef']
29
+ }], sticky: [{
30
+ type: Input,
31
+ args: ['auiTableHeaderRowDefSticky']
32
+ }] } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLXJvdy1kZWYuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmx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B0aGUgY29sdW1ucyB0byBkaXNwbGF5LlxuICovXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYXVpVGFibGVIZWFkZXJSb3dEZWZdJyxcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogQ2RrSGVhZGVyUm93RGVmLFxuICAgICAgdXNlRXhpc3Rpbmc6IFRhYmxlSGVhZGVyUm93RGVmRGlyZWN0aXZlLFxuICAgIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlSGVhZGVyUm93RGVmRGlyZWN0aXZlIGV4dGVuZHMgQ2RrSGVhZGVyUm93RGVmIHtcbiAgQElucHV0KCdhdWlUYWJsZUhlYWRlclJvd0RlZicpXG4gIG92ZXJyaWRlIGNvbHVtbnM6IEl0ZXJhYmxlPHN0cmluZz4gPSBbXTtcblxuICBASW5wdXQoJ2F1aVRhYmxlSGVhZGVyUm93RGVmU3RpY2t5JylcbiAgb3ZlcnJpZGUgc3RpY2t5OiBib29sZWFuO1xufVxuIl19
@@ -0,0 +1,24 @@
1
+ import { CDK_ROW_TEMPLATE, CdkHeaderRow } from '@angular/cdk/table';
2
+ import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/cdk/table";
5
+ export class TableHeaderRowComponent extends CdkHeaderRow {
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
7
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableHeaderRowComponent, selector: "aui-table-header-row", host: { attributes: { "role": "row" }, classAttribute: "aui-table__header-row" }, exportAs: ["auiTableHeaderRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
10
+ type: Component,
11
+ args: [{
12
+ selector: 'aui-table-header-row',
13
+ template: CDK_ROW_TEMPLATE,
14
+ host: {
15
+ class: 'aui-table__header-row',
16
+ role: 'row',
17
+ },
18
+ changeDetection: ChangeDetectionStrategy.OnPush,
19
+ encapsulation: ViewEncapsulation.None,
20
+ exportAs: 'auiTableHeaderRow',
21
+ preserveWhitespaces: false,
22
+ }]
23
+ }] });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtaGVhZGVyLXJvdy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLFlBQVksRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BFLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7O0FBZXZCLE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxZQUFZO3VHQUE1Qyx1QkFBdUI7MkZBQXZCLHVCQUF1Qjs7MkZBQXZCLHVCQUF1QjtrQkFabkMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsc0JBQXNCO29CQUNoQyxRQUFRLEVBQUUsZ0JBQWdCO29CQUMxQixJQUFJLEVBQUU7d0JBQ0osS0FBSyxFQUFFLHVCQUF1Qjt3QkFDOUIsSUFBSSxFQUFFLEtBQUs7cUJBQ1o7b0JBQ0QsZU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ular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class TablePlaceholderDefDirective {
4
+ templateRef;
5
+ constructor(templateRef) {
6
+ this.templateRef = templateRef;
7
+ }
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TablePlaceholderDefDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
9
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TablePlaceholderDefDirective, selector: "ng-template[auiTablePlaceholderDef]", ngImport: i0 });
10
+ }
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TablePlaceholderDefDirective, decorators: [{
12
+ type: Directive,
13
+ args: [{
14
+ selector: 'ng-template[auiTablePlaceholderDef]',
15
+ }]
16
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
17
+ export class TablePlaceholderOutletDirective {
18
+ viewContainer;
19
+ elementRef;
20
+ constructor(viewContainer, elementRef) {
21
+ this.viewContainer = viewContainer;
22
+ this.elementRef = elementRef;
23
+ }
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TablePlaceholderOutletDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TablePlaceholderOutletDirective, selector: "[auiTablePlaceholderOutlet]", ngImport: i0 });
26
+ }
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TablePlaceholderOutletDirective, decorators: [{
28
+ type: Directive,
29
+ args: [{
30
+ selector: '[auiTablePlaceholderOutlet]',
31
+ }]
32
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
33
+ //# sourceMappingURL=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bmctdGVtcGxhdGVbYXVpVGFibGVQbGFjZWhvbGRlckRlZl0nLFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZVBsYWNlaG9sZGVyRGVmRGlyZWN0aXZlIHtcbiAgY29uc3RydWN0b3IocHVibGljIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+KSB7fVxufVxuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYXVpVGFibGVQbGFjZWhvbGRlck91dGxldF0nLFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZVBsYWNlaG9sZGVyT3V0bGV0RGlyZWN0aXZlIGltcGxlbWVudHMgUm93T3V0bGV0IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHVibGljIHZpZXdDb250YWluZXI6IFZpZXdDb250YWluZXJSZWYsXG4gICAgcHVibGljIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYsXG4gICkge31cbn1cbiJdfQ==
@@ -0,0 +1,34 @@
1
+ import { CdkRowDef } from '@angular/cdk/table';
2
+ import { Directive, Input } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export class TableRowDefDirective extends CdkRowDef {
5
+ columns = [];
6
+ set auiTableRowDefWhen(v) {
7
+ this.when = v;
8
+ }
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
10
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: TableRowDefDirective, selector: "[auiTableRowDef]", inputs: { columns: ["auiTableRowDefColumns", "columns"], auiTableRowDefWhen: "auiTableRowDefWhen" }, providers: [
11
+ {
12
+ provide: CdkRowDef,
13
+ useExisting: TableRowDefDirective,
14
+ },
15
+ ], usesInheritance: true, ngImport: i0 });
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowDefDirective, decorators: [{
18
+ type: Directive,
19
+ args: [{
20
+ selector: '[auiTableRowDef]',
21
+ providers: [
22
+ {
23
+ provide: CdkRowDef,
24
+ useExisting: TableRowDefDirective,
25
+ },
26
+ ],
27
+ }]
28
+ }], propDecorators: { columns: [{
29
+ type: Input,
30
+ args: ['auiTableRowDefColumns']
31
+ }], auiTableRowDefWhen: [{
32
+ type: Input
33
+ }] } });
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LWRlZi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtcm93LWRlZi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdCakQsTUFBTSxPQUFPLG9CQUF3QixTQUFRLFNBQVk7SUFFOUMsT0FBTyxHQUFxQixFQUFFLENBQUM7SUFFeEMsSUFDSSxrQkFBa0IsQ0FBQyxDQUF5QztRQUM5RCxJQUFJLENBQUMsSUFBSSxHQUFHLENBQUMsQ0FBQztJQUNoQixDQUFDO3VHQVBVLG9CQUFvQjsyRkFBcEIsb0JBQW9CLGdKQVBwQjtZQUNUO2dCQUNFLE9BQU8sRUFBRSxTQUFTO2dCQUNsQixXQUFXLEVBQUUsb0JBQW9CO2FBQ2xDO1NBQ0Y7OzJGQUVVLG9CQUFvQjtrQkFUaEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsa0JBQWtCO29CQUM1QixTQUFTLEVBQUU7d0JBQ1Q7NEJBQ0UsT0FBTyxFQUFFLFNBQVM7NEJBQ2xCLFdBQVcsc0JBQXNCO3lCQUNsQztxQkFDRjtpQkF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gfVxufVxuIl19
@@ -0,0 +1,43 @@
1
+ import { CDK_ROW_TEMPLATE, CdkRow } from '@angular/cdk/table';
2
+ import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation, } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/cdk/table";
5
+ export class TableRowComponent extends CdkRow {
6
+ elRef;
7
+ disabled = false;
8
+ hasPanel = false;
9
+ constructor(elRef) {
10
+ super();
11
+ this.elRef = elRef;
12
+ }
13
+ ngAfterContentInit() {
14
+ const panel = this.elRef.nativeElement.querySelector('aui-table-cell[auiExpandPanel]');
15
+ this.hasPanel = !!panel;
16
+ }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: TableRowComponent, selector: "aui-table-row", inputs: { disabled: "disabled" }, host: { attributes: { "role": "row" }, properties: { "class.isDisabled": "this.disabled", "class.hasPanel": "this.hasPanel" }, classAttribute: "aui-table__row" }, exportAs: ["auiTableRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, dependencies: [{ kind: "directive", type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: TableRowComponent, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ selector: 'aui-table-row',
24
+ template: CDK_ROW_TEMPLATE,
25
+ host: {
26
+ class: 'aui-table__row',
27
+ role: 'row',
28
+ },
29
+ changeDetection: ChangeDetectionStrategy.OnPush,
30
+ encapsulation: ViewEncapsulation.None,
31
+ exportAs: 'auiTableRow',
32
+ preserveWhitespaces: false,
33
+ }]
34
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disabled: [{
35
+ type: Input
36
+ }, {
37
+ type: HostBinding,
38
+ args: ['class.isDisabled']
39
+ }], hasPanel: [{
40
+ type: HostBinding,
41
+ args: ['class.hasPanel']
42
+ }] } });
43
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS90YWJsZS1yb3cuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUM5RCxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxXQUFXLEVBQ1gsS0FBSyxFQUNMLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7O0FBZXZCLE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxNQUFNO0lBUWQ7SUFMN0IsUUFBUSxHQUFHLEtBQUssQ0FBQztJQUdqQixRQUFRLEdBQUcsS0FBSyxDQUFDO0lBRWpCLFlBQTZCLEtBQThCO1FBQ3pELEtBQUssRUFBRSxDQUFDO1FBRG1CLFVBQUssR0FBTCxLQUFLLENBQXlCO0lBRTNELENBQUM7SUFFRCxrQkFBa0I7UUFDaEIsTUFBTSxLQUFLLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxhQUFhLENBQUMsYUFBYSxDQUNsRCxnQ0FBZ0MsQ0FDakMsQ0FBQztRQUNGLElBQUksQ0FBQyxRQUFRLEdBQUcsQ0FBQyxDQUFDLEtBQUssQ0FBQztJQUMxQixDQUFDO3VHQWpCVSxpQkFBaUI7MkZBQWpCLGlCQUFpQjs7MkZBQWpCLG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