@rt-tools/ui-kit-v2 0.23.3 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/fesm2022/rt-tools-ui-kit-v2-accordion.mjs +142 -71
  2. package/fesm2022/rt-tools-ui-kit-v2-accordion.mjs.map +1 -1
  3. package/fesm2022/rt-tools-ui-kit-v2-action-bar.mjs +467 -231
  4. package/fesm2022/rt-tools-ui-kit-v2-action-bar.mjs.map +1 -1
  5. package/fesm2022/rt-tools-ui-kit-v2-ai-run-status.mjs +260 -91
  6. package/fesm2022/rt-tools-ui-kit-v2-ai-run-status.mjs.map +1 -1
  7. package/fesm2022/rt-tools-ui-kit-v2-aside-section.mjs +80 -46
  8. package/fesm2022/rt-tools-ui-kit-v2-aside-section.mjs.map +1 -1
  9. package/fesm2022/rt-tools-ui-kit-v2-aside.mjs +984 -697
  10. package/fesm2022/rt-tools-ui-kit-v2-aside.mjs.map +1 -1
  11. package/fesm2022/rt-tools-ui-kit-v2-autocomplete.mjs +452 -210
  12. package/fesm2022/rt-tools-ui-kit-v2-autocomplete.mjs.map +1 -1
  13. package/fesm2022/rt-tools-ui-kit-v2-bar-list.mjs +143 -52
  14. package/fesm2022/rt-tools-ui-kit-v2-bar-list.mjs.map +1 -1
  15. package/fesm2022/rt-tools-ui-kit-v2-bottom-sheet.mjs +158 -83
  16. package/fesm2022/rt-tools-ui-kit-v2-bottom-sheet.mjs.map +1 -1
  17. package/fesm2022/rt-tools-ui-kit-v2-breadcrumbs.mjs +335 -0
  18. package/fesm2022/rt-tools-ui-kit-v2-breadcrumbs.mjs.map +1 -0
  19. package/fesm2022/rt-tools-ui-kit-v2-button.mjs +437 -363
  20. package/fesm2022/rt-tools-ui-kit-v2-button.mjs.map +1 -1
  21. package/fesm2022/rt-tools-ui-kit-v2-calendar.mjs +430 -149
  22. package/fesm2022/rt-tools-ui-kit-v2-calendar.mjs.map +1 -1
  23. package/fesm2022/rt-tools-ui-kit-v2-card.mjs +155 -71
  24. package/fesm2022/rt-tools-ui-kit-v2-card.mjs.map +1 -1
  25. package/fesm2022/rt-tools-ui-kit-v2-carousel.mjs +155 -0
  26. package/fesm2022/rt-tools-ui-kit-v2-carousel.mjs.map +1 -0
  27. package/fesm2022/rt-tools-ui-kit-v2-checkbox.mjs +215 -110
  28. package/fesm2022/rt-tools-ui-kit-v2-checkbox.mjs.map +1 -1
  29. package/fesm2022/rt-tools-ui-kit-v2-collapsible-text.mjs +158 -75
  30. package/fesm2022/rt-tools-ui-kit-v2-collapsible-text.mjs.map +1 -1
  31. package/fesm2022/rt-tools-ui-kit-v2-color-palette.mjs +769 -0
  32. package/fesm2022/rt-tools-ui-kit-v2-color-palette.mjs.map +1 -0
  33. package/fesm2022/rt-tools-ui-kit-v2-confirm-popover.mjs +462 -253
  34. package/fesm2022/rt-tools-ui-kit-v2-confirm-popover.mjs.map +1 -1
  35. package/fesm2022/rt-tools-ui-kit-v2-container.mjs +1276 -1316
  36. package/fesm2022/rt-tools-ui-kit-v2-container.mjs.map +1 -1
  37. package/fesm2022/rt-tools-ui-kit-v2-copy-value.mjs +185 -80
  38. package/fesm2022/rt-tools-ui-kit-v2-copy-value.mjs.map +1 -1
  39. package/fesm2022/rt-tools-ui-kit-v2-core.mjs +2321 -2619
  40. package/fesm2022/rt-tools-ui-kit-v2-core.mjs.map +1 -1
  41. package/fesm2022/rt-tools-ui-kit-v2-counter-row.mjs +100 -44
  42. package/fesm2022/rt-tools-ui-kit-v2-counter-row.mjs.map +1 -1
  43. package/fesm2022/rt-tools-ui-kit-v2-counter.mjs +290 -155
  44. package/fesm2022/rt-tools-ui-kit-v2-counter.mjs.map +1 -1
  45. package/fesm2022/rt-tools-ui-kit-v2-data-list.mjs +2097 -858
  46. package/fesm2022/rt-tools-ui-kit-v2-data-list.mjs.map +1 -1
  47. package/fesm2022/rt-tools-ui-kit-v2-data-table.mjs +2247 -1176
  48. package/fesm2022/rt-tools-ui-kit-v2-data-table.mjs.map +1 -1
  49. package/fesm2022/rt-tools-ui-kit-v2-date-picker.mjs +1043 -705
  50. package/fesm2022/rt-tools-ui-kit-v2-date-picker.mjs.map +1 -1
  51. package/fesm2022/rt-tools-ui-kit-v2-date-range.mjs +810 -525
  52. package/fesm2022/rt-tools-ui-kit-v2-date-range.mjs.map +1 -1
  53. package/fesm2022/rt-tools-ui-kit-v2-delta-view.mjs +158 -138
  54. package/fesm2022/rt-tools-ui-kit-v2-delta-view.mjs.map +1 -1
  55. package/fesm2022/rt-tools-ui-kit-v2-detail-list.mjs +177 -67
  56. package/fesm2022/rt-tools-ui-kit-v2-detail-list.mjs.map +1 -1
  57. package/fesm2022/rt-tools-ui-kit-v2-dialog.mjs +550 -477
  58. package/fesm2022/rt-tools-ui-kit-v2-dialog.mjs.map +1 -1
  59. package/fesm2022/rt-tools-ui-kit-v2-dot-field.mjs +185 -168
  60. package/fesm2022/rt-tools-ui-kit-v2-dot-field.mjs.map +1 -1
  61. package/fesm2022/rt-tools-ui-kit-v2-download-link.mjs +116 -43
  62. package/fesm2022/rt-tools-ui-kit-v2-download-link.mjs.map +1 -1
  63. package/fesm2022/rt-tools-ui-kit-v2-draggable-tree.mjs +585 -0
  64. package/fesm2022/rt-tools-ui-kit-v2-draggable-tree.mjs.map +1 -0
  65. package/fesm2022/rt-tools-ui-kit-v2-dynamic-list.mjs +755 -259
  66. package/fesm2022/rt-tools-ui-kit-v2-dynamic-list.mjs.map +1 -1
  67. package/fesm2022/rt-tools-ui-kit-v2-dynamic-selector.mjs +3266 -1115
  68. package/fesm2022/rt-tools-ui-kit-v2-dynamic-selector.mjs.map +1 -1
  69. package/fesm2022/rt-tools-ui-kit-v2-empty-state.mjs +190 -55
  70. package/fesm2022/rt-tools-ui-kit-v2-empty-state.mjs.map +1 -1
  71. package/fesm2022/rt-tools-ui-kit-v2-expansion-panel.mjs +283 -103
  72. package/fesm2022/rt-tools-ui-kit-v2-expansion-panel.mjs.map +1 -1
  73. package/fesm2022/rt-tools-ui-kit-v2-field.mjs +393 -177
  74. package/fesm2022/rt-tools-ui-kit-v2-field.mjs.map +1 -1
  75. package/fesm2022/rt-tools-ui-kit-v2-file-card.mjs +399 -207
  76. package/fesm2022/rt-tools-ui-kit-v2-file-card.mjs.map +1 -1
  77. package/fesm2022/rt-tools-ui-kit-v2-file-drop.mjs +288 -212
  78. package/fesm2022/rt-tools-ui-kit-v2-file-drop.mjs.map +1 -1
  79. package/fesm2022/rt-tools-ui-kit-v2-file-input.mjs +262 -116
  80. package/fesm2022/rt-tools-ui-kit-v2-file-input.mjs.map +1 -1
  81. package/fesm2022/rt-tools-ui-kit-v2-file-list.mjs +57 -31
  82. package/fesm2022/rt-tools-ui-kit-v2-file-list.mjs.map +1 -1
  83. package/fesm2022/rt-tools-ui-kit-v2-filter-control.mjs +258 -90
  84. package/fesm2022/rt-tools-ui-kit-v2-filter-control.mjs.map +1 -1
  85. package/fesm2022/rt-tools-ui-kit-v2-form-control.mjs +249 -215
  86. package/fesm2022/rt-tools-ui-kit-v2-form-control.mjs.map +1 -1
  87. package/fesm2022/rt-tools-ui-kit-v2-header.mjs +199 -71
  88. package/fesm2022/rt-tools-ui-kit-v2-header.mjs.map +1 -1
  89. package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree-selector.mjs +231 -0
  90. package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree-selector.mjs.map +1 -0
  91. package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree.mjs +336 -0
  92. package/fesm2022/rt-tools-ui-kit-v2-hybrid-tree.mjs.map +1 -0
  93. package/fesm2022/rt-tools-ui-kit-v2-icon-button.mjs +451 -162
  94. package/fesm2022/rt-tools-ui-kit-v2-icon-button.mjs.map +1 -1
  95. package/fesm2022/rt-tools-ui-kit-v2-icon.mjs +931 -686
  96. package/fesm2022/rt-tools-ui-kit-v2-icon.mjs.map +1 -1
  97. package/fesm2022/rt-tools-ui-kit-v2-image-cropper.mjs +664 -491
  98. package/fesm2022/rt-tools-ui-kit-v2-image-cropper.mjs.map +1 -1
  99. package/fesm2022/rt-tools-ui-kit-v2-image-upload.mjs +574 -222
  100. package/fesm2022/rt-tools-ui-kit-v2-image-upload.mjs.map +1 -1
  101. package/fesm2022/rt-tools-ui-kit-v2-info-item.mjs +150 -36
  102. package/fesm2022/rt-tools-ui-kit-v2-info-item.mjs.map +1 -1
  103. package/fesm2022/rt-tools-ui-kit-v2-inline-edit.mjs +606 -0
  104. package/fesm2022/rt-tools-ui-kit-v2-inline-edit.mjs.map +1 -0
  105. package/fesm2022/rt-tools-ui-kit-v2-input-number.mjs +461 -355
  106. package/fesm2022/rt-tools-ui-kit-v2-input-number.mjs.map +1 -1
  107. package/fesm2022/rt-tools-ui-kit-v2-input.mjs +338 -143
  108. package/fesm2022/rt-tools-ui-kit-v2-input.mjs.map +1 -1
  109. package/fesm2022/rt-tools-ui-kit-v2-live-badge.mjs +135 -48
  110. package/fesm2022/rt-tools-ui-kit-v2-live-badge.mjs.map +1 -1
  111. package/fesm2022/rt-tools-ui-kit-v2-logo.mjs +166 -92
  112. package/fesm2022/rt-tools-ui-kit-v2-logo.mjs.map +1 -1
  113. package/fesm2022/rt-tools-ui-kit-v2-markdown-text.mjs +118 -56
  114. package/fesm2022/rt-tools-ui-kit-v2-markdown-text.mjs.map +1 -1
  115. package/fesm2022/rt-tools-ui-kit-v2-menu.mjs +1054 -527
  116. package/fesm2022/rt-tools-ui-kit-v2-menu.mjs.map +1 -1
  117. package/fesm2022/rt-tools-ui-kit-v2-message.mjs +230 -104
  118. package/fesm2022/rt-tools-ui-kit-v2-message.mjs.map +1 -1
  119. package/fesm2022/rt-tools-ui-kit-v2-money-list.mjs +210 -70
  120. package/fesm2022/rt-tools-ui-kit-v2-money-list.mjs.map +1 -1
  121. package/fesm2022/rt-tools-ui-kit-v2-multiselect.mjs +532 -311
  122. package/fesm2022/rt-tools-ui-kit-v2-multiselect.mjs.map +1 -1
  123. package/fesm2022/rt-tools-ui-kit-v2-night-grid.mjs +125 -50
  124. package/fesm2022/rt-tools-ui-kit-v2-night-grid.mjs.map +1 -1
  125. package/fesm2022/rt-tools-ui-kit-v2-note.mjs +73 -43
  126. package/fesm2022/rt-tools-ui-kit-v2-note.mjs.map +1 -1
  127. package/fesm2022/rt-tools-ui-kit-v2-notifications-bell.mjs +161 -53
  128. package/fesm2022/rt-tools-ui-kit-v2-notifications-bell.mjs.map +1 -1
  129. package/fesm2022/rt-tools-ui-kit-v2-page-header.mjs +491 -310
  130. package/fesm2022/rt-tools-ui-kit-v2-page-header.mjs.map +1 -1
  131. package/fesm2022/rt-tools-ui-kit-v2-pagination.mjs +374 -174
  132. package/fesm2022/rt-tools-ui-kit-v2-pagination.mjs.map +1 -1
  133. package/fesm2022/rt-tools-ui-kit-v2-photo-viewer.mjs +202 -159
  134. package/fesm2022/rt-tools-ui-kit-v2-photo-viewer.mjs.map +1 -1
  135. package/fesm2022/rt-tools-ui-kit-v2-popover.mjs +438 -309
  136. package/fesm2022/rt-tools-ui-kit-v2-popover.mjs.map +1 -1
  137. package/fesm2022/rt-tools-ui-kit-v2-profile-menu.mjs +295 -0
  138. package/fesm2022/rt-tools-ui-kit-v2-profile-menu.mjs.map +1 -0
  139. package/fesm2022/rt-tools-ui-kit-v2-prompt-suggestion.mjs +135 -45
  140. package/fesm2022/rt-tools-ui-kit-v2-prompt-suggestion.mjs.map +1 -1
  141. package/fesm2022/rt-tools-ui-kit-v2-radio-button.mjs +293 -171
  142. package/fesm2022/rt-tools-ui-kit-v2-radio-button.mjs.map +1 -1
  143. package/fesm2022/rt-tools-ui-kit-v2-radius.mjs +62 -55
  144. package/fesm2022/rt-tools-ui-kit-v2-radius.mjs.map +1 -1
  145. package/fesm2022/rt-tools-ui-kit-v2-rich-editor.mjs +3379 -1466
  146. package/fesm2022/rt-tools-ui-kit-v2-rich-editor.mjs.map +1 -1
  147. package/fesm2022/rt-tools-ui-kit-v2-ripple.mjs +114 -116
  148. package/fesm2022/rt-tools-ui-kit-v2-ripple.mjs.map +1 -1
  149. package/fesm2022/rt-tools-ui-kit-v2-scroll-area.mjs +406 -299
  150. package/fesm2022/rt-tools-ui-kit-v2-scroll-area.mjs.map +1 -1
  151. package/fesm2022/rt-tools-ui-kit-v2-section-nav.mjs +137 -36
  152. package/fesm2022/rt-tools-ui-kit-v2-section-nav.mjs.map +1 -1
  153. package/fesm2022/rt-tools-ui-kit-v2-select.mjs +687 -468
  154. package/fesm2022/rt-tools-ui-kit-v2-select.mjs.map +1 -1
  155. package/fesm2022/rt-tools-ui-kit-v2-side-menu.mjs +2195 -1569
  156. package/fesm2022/rt-tools-ui-kit-v2-side-menu.mjs.map +1 -1
  157. package/fesm2022/rt-tools-ui-kit-v2-skeleton-wrapper.mjs +187 -48
  158. package/fesm2022/rt-tools-ui-kit-v2-skeleton-wrapper.mjs.map +1 -1
  159. package/fesm2022/rt-tools-ui-kit-v2-skeleton.mjs +242 -122
  160. package/fesm2022/rt-tools-ui-kit-v2-skeleton.mjs.map +1 -1
  161. package/fesm2022/rt-tools-ui-kit-v2-speed-menu.mjs +439 -0
  162. package/fesm2022/rt-tools-ui-kit-v2-speed-menu.mjs.map +1 -0
  163. package/fesm2022/rt-tools-ui-kit-v2-spinner.mjs +218 -69
  164. package/fesm2022/rt-tools-ui-kit-v2-spinner.mjs.map +1 -1
  165. package/fesm2022/rt-tools-ui-kit-v2-split-button.mjs +292 -91
  166. package/fesm2022/rt-tools-ui-kit-v2-split-button.mjs.map +1 -1
  167. package/fesm2022/rt-tools-ui-kit-v2-stat-tile.mjs +225 -138
  168. package/fesm2022/rt-tools-ui-kit-v2-stat-tile.mjs.map +1 -1
  169. package/fesm2022/rt-tools-ui-kit-v2-stepper.mjs +150 -116
  170. package/fesm2022/rt-tools-ui-kit-v2-stepper.mjs.map +1 -1
  171. package/fesm2022/rt-tools-ui-kit-v2-table.mjs +2462 -1583
  172. package/fesm2022/rt-tools-ui-kit-v2-table.mjs.map +1 -1
  173. package/fesm2022/rt-tools-ui-kit-v2-tabs.mjs +647 -346
  174. package/fesm2022/rt-tools-ui-kit-v2-tabs.mjs.map +1 -1
  175. package/fesm2022/rt-tools-ui-kit-v2-tag.mjs +335 -121
  176. package/fesm2022/rt-tools-ui-kit-v2-tag.mjs.map +1 -1
  177. package/fesm2022/rt-tools-ui-kit-v2-textarea.mjs +217 -84
  178. package/fesm2022/rt-tools-ui-kit-v2-textarea.mjs.map +1 -1
  179. package/fesm2022/rt-tools-ui-kit-v2-theme-toggle.mjs +151 -72
  180. package/fesm2022/rt-tools-ui-kit-v2-theme-toggle.mjs.map +1 -1
  181. package/fesm2022/rt-tools-ui-kit-v2-thread-list.mjs +697 -226
  182. package/fesm2022/rt-tools-ui-kit-v2-thread-list.mjs.map +1 -1
  183. package/fesm2022/rt-tools-ui-kit-v2-timeline.mjs +92 -38
  184. package/fesm2022/rt-tools-ui-kit-v2-timeline.mjs.map +1 -1
  185. package/fesm2022/rt-tools-ui-kit-v2-toast.mjs +752 -338
  186. package/fesm2022/rt-tools-ui-kit-v2-toast.mjs.map +1 -1
  187. package/fesm2022/rt-tools-ui-kit-v2-toggle-button-group.mjs +310 -129
  188. package/fesm2022/rt-tools-ui-kit-v2-toggle-button-group.mjs.map +1 -1
  189. package/fesm2022/rt-tools-ui-kit-v2-toggle-switch.mjs +286 -158
  190. package/fesm2022/rt-tools-ui-kit-v2-toggle-switch.mjs.map +1 -1
  191. package/fesm2022/rt-tools-ui-kit-v2-toolbar.mjs +270 -134
  192. package/fesm2022/rt-tools-ui-kit-v2-toolbar.mjs.map +1 -1
  193. package/fesm2022/rt-tools-ui-kit-v2-tooltip.mjs +322 -202
  194. package/fesm2022/rt-tools-ui-kit-v2-tooltip.mjs.map +1 -1
  195. package/fesm2022/rt-tools-ui-kit-v2-tree-selector.mjs +908 -0
  196. package/fesm2022/rt-tools-ui-kit-v2-tree-selector.mjs.map +1 -0
  197. package/fesm2022/rt-tools-ui-kit-v2-tree.mjs +785 -0
  198. package/fesm2022/rt-tools-ui-kit-v2-tree.mjs.map +1 -0
  199. package/fesm2022/rt-tools-ui-kit-v2-welcome-dialog.mjs +118 -63
  200. package/fesm2022/rt-tools-ui-kit-v2-welcome-dialog.mjs.map +1 -1
  201. package/fesm2022/rt-tools-ui-kit-v2-workspace-details.mjs +783 -262
  202. package/fesm2022/rt-tools-ui-kit-v2-workspace-details.mjs.map +1 -1
  203. package/fesm2022/rt-tools-ui-kit-v2-workspace.mjs +633 -294
  204. package/fesm2022/rt-tools-ui-kit-v2-workspace.mjs.map +1 -1
  205. package/fesm2022/rt-tools-ui-kit-v2.mjs +100 -103
  206. package/package.json +45 -1
  207. package/src/assets/icons/collapse-all.svg +9 -0
  208. package/src/assets/icons/expand-all.svg +9 -0
  209. package/src/assets/icons-material/collapse-all.fill.svg +5 -0
  210. package/src/assets/icons-material/collapse-all.svg +5 -0
  211. package/src/assets/icons-material/expand-all.fill.svg +5 -0
  212. package/src/assets/icons-material/expand-all.svg +5 -0
  213. package/src/assets/icons-material/undo.fill.svg +5 -0
  214. package/src/assets/icons-material/undo.svg +5 -0
  215. package/src/lib/components/bottom-sheet/CONTEXT.md +20 -2
  216. package/src/lib/components/bottom-sheet/rt-bottom-sheet.component.scss +36 -1
  217. package/src/lib/components/breadcrumbs/CONTEXT.md +37 -0
  218. package/src/lib/components/breadcrumbs/rt-breadcrumbs.component.scss +205 -0
  219. package/src/lib/components/carousel/CONTEXT.md +42 -0
  220. package/src/lib/components/carousel/rt-carousel.component.scss +117 -0
  221. package/src/lib/components/checkbox/CONTEXT.md +3 -0
  222. package/src/lib/components/checkbox/rt-checkbox.component.scss +9 -3
  223. package/src/lib/components/color-palette/CONTEXT.md +49 -0
  224. package/src/lib/components/color-palette/picker/rt-color-picker.component.scss +161 -0
  225. package/src/lib/components/color-palette/rt-color-palette.component.scss +132 -0
  226. package/src/lib/components/draggable-tree/CONTEXT.md +54 -0
  227. package/src/lib/components/draggable-tree/rt-draggable-tree.component.scss +219 -0
  228. package/src/lib/components/hybrid-tree/CONTEXT.md +31 -0
  229. package/src/lib/components/hybrid-tree-selector/CONTEXT.md +25 -0
  230. package/src/lib/components/icon-button/CONTEXT.md +3 -0
  231. package/src/lib/components/inline-edit/CONTEXT.md +41 -0
  232. package/src/lib/components/inline-edit/rt-inline-edit.component.scss +274 -0
  233. package/src/lib/components/popover/CONTEXT.md +3 -0
  234. package/src/lib/components/profile-menu/CONTEXT.md +32 -0
  235. package/src/lib/components/profile-menu/rt-profile-menu.component.scss +104 -0
  236. package/src/lib/components/speed-menu/CONTEXT.md +34 -0
  237. package/src/lib/components/speed-menu/rt-speed-menu.component.scss +118 -0
  238. package/src/lib/components/tag/rt-tag.component.scss +12 -0
  239. package/src/lib/components/thread-list/CONTEXT.md +1 -0
  240. package/src/lib/components/thread-list/rt-thread-list.component.scss +2 -1
  241. package/src/lib/components/toolbar/CONTEXT.md +9 -4
  242. package/src/lib/components/toolbar/rt-toolbar.component.scss +10 -2
  243. package/src/lib/components/tooltip/CONTEXT.md +8 -1
  244. package/src/lib/components/tree/CONTEXT.md +66 -0
  245. package/src/lib/components/tree/rt-tree.component.scss +313 -0
  246. package/src/lib/components/tree-selector/CONTEXT.md +47 -0
  247. package/src/lib/components/tree-selector/rt-tree-selector.component.scss +121 -0
  248. package/src/styles/_primitives.scss +4 -0
  249. package/src/styles/_semantic.scss +5 -0
  250. package/styles/tokens.css +43 -0
  251. package/types/rt-tools-ui-kit-v2-accordion.d.ts +31 -24
  252. package/types/rt-tools-ui-kit-v2-action-bar.d.ts +112 -91
  253. package/types/rt-tools-ui-kit-v2-ai-run-status.d.ts +64 -40
  254. package/types/rt-tools-ui-kit-v2-aside-section.d.ts +13 -10
  255. package/types/rt-tools-ui-kit-v2-aside.d.ts +268 -206
  256. package/types/rt-tools-ui-kit-v2-autocomplete.d.ts +102 -61
  257. package/types/rt-tools-ui-kit-v2-bar-list.d.ts +39 -27
  258. package/types/rt-tools-ui-kit-v2-bottom-sheet.d.ts +31 -20
  259. package/types/rt-tools-ui-kit-v2-breadcrumbs.d.ts +89 -0
  260. package/types/rt-tools-ui-kit-v2-button.d.ts +119 -59
  261. package/types/rt-tools-ui-kit-v2-calendar.d.ts +151 -86
  262. package/types/rt-tools-ui-kit-v2-card.d.ts +42 -21
  263. package/types/rt-tools-ui-kit-v2-carousel.d.ts +76 -0
  264. package/types/rt-tools-ui-kit-v2-checkbox.d.ts +48 -24
  265. package/types/rt-tools-ui-kit-v2-collapsible-text.d.ts +28 -20
  266. package/types/rt-tools-ui-kit-v2-color-palette.d.ts +208 -0
  267. package/types/rt-tools-ui-kit-v2-confirm-popover.d.ts +104 -47
  268. package/types/rt-tools-ui-kit-v2-container.d.ts +278 -221
  269. package/types/rt-tools-ui-kit-v2-copy-value.d.ts +39 -24
  270. package/types/rt-tools-ui-kit-v2-core.d.ts +862 -865
  271. package/types/rt-tools-ui-kit-v2-counter-row.d.ts +20 -12
  272. package/types/rt-tools-ui-kit-v2-counter.d.ts +70 -38
  273. package/types/rt-tools-ui-kit-v2-data-list.d.ts +429 -264
  274. package/types/rt-tools-ui-kit-v2-data-table.d.ts +500 -351
  275. package/types/rt-tools-ui-kit-v2-date-picker.d.ts +164 -138
  276. package/types/rt-tools-ui-kit-v2-date-range.d.ts +102 -84
  277. package/types/rt-tools-ui-kit-v2-delta-view.d.ts +16 -13
  278. package/types/rt-tools-ui-kit-v2-detail-list.d.ts +23 -16
  279. package/types/rt-tools-ui-kit-v2-dialog.d.ts +130 -101
  280. package/types/rt-tools-ui-kit-v2-dot-field.d.ts +10 -13
  281. package/types/rt-tools-ui-kit-v2-download-link.d.ts +22 -17
  282. package/types/rt-tools-ui-kit-v2-draggable-tree.d.ts +132 -0
  283. package/types/rt-tools-ui-kit-v2-dynamic-list.d.ts +185 -96
  284. package/types/rt-tools-ui-kit-v2-dynamic-selector.d.ts +904 -404
  285. package/types/rt-tools-ui-kit-v2-empty-state.d.ts +48 -19
  286. package/types/rt-tools-ui-kit-v2-expansion-panel.d.ts +67 -39
  287. package/types/rt-tools-ui-kit-v2-field.d.ts +90 -49
  288. package/types/rt-tools-ui-kit-v2-file-card.d.ts +115 -75
  289. package/types/rt-tools-ui-kit-v2-file-drop.d.ts +75 -48
  290. package/types/rt-tools-ui-kit-v2-file-input.d.ts +53 -36
  291. package/types/rt-tools-ui-kit-v2-file-list.d.ts +5 -8
  292. package/types/rt-tools-ui-kit-v2-filter-control.d.ts +83 -49
  293. package/types/rt-tools-ui-kit-v2-form-control.d.ts +102 -74
  294. package/types/rt-tools-ui-kit-v2-header.d.ts +40 -22
  295. package/types/rt-tools-ui-kit-v2-hybrid-tree-selector.d.ts +14 -0
  296. package/types/rt-tools-ui-kit-v2-hybrid-tree.d.ts +72 -0
  297. package/types/rt-tools-ui-kit-v2-icon-button.d.ts +190 -90
  298. package/types/rt-tools-ui-kit-v2-icon.d.ts +160 -129
  299. package/types/rt-tools-ui-kit-v2-image-cropper.d.ts +151 -111
  300. package/types/rt-tools-ui-kit-v2-image-upload.d.ts +159 -85
  301. package/types/rt-tools-ui-kit-v2-info-item.d.ts +26 -13
  302. package/types/rt-tools-ui-kit-v2-inline-edit.d.ts +194 -0
  303. package/types/rt-tools-ui-kit-v2-input-number.d.ts +102 -53
  304. package/types/rt-tools-ui-kit-v2-input.d.ts +82 -43
  305. package/types/rt-tools-ui-kit-v2-live-badge.d.ts +30 -17
  306. package/types/rt-tools-ui-kit-v2-logo.d.ts +49 -32
  307. package/types/rt-tools-ui-kit-v2-markdown-text.d.ts +26 -17
  308. package/types/rt-tools-ui-kit-v2-menu.d.ts +272 -155
  309. package/types/rt-tools-ui-kit-v2-message.d.ts +59 -33
  310. package/types/rt-tools-ui-kit-v2-money-list.d.ts +36 -18
  311. package/types/rt-tools-ui-kit-v2-multiselect.d.ts +114 -80
  312. package/types/rt-tools-ui-kit-v2-night-grid.d.ts +34 -25
  313. package/types/rt-tools-ui-kit-v2-note.d.ts +12 -9
  314. package/types/rt-tools-ui-kit-v2-notifications-bell.d.ts +37 -16
  315. package/types/rt-tools-ui-kit-v2-page-header.d.ts +218 -150
  316. package/types/rt-tools-ui-kit-v2-pagination.d.ts +99 -63
  317. package/types/rt-tools-ui-kit-v2-photo-viewer.d.ts +61 -66
  318. package/types/rt-tools-ui-kit-v2-popover.d.ts +116 -55
  319. package/types/rt-tools-ui-kit-v2-profile-menu.d.ts +103 -0
  320. package/types/rt-tools-ui-kit-v2-prompt-suggestion.d.ts +26 -16
  321. package/types/rt-tools-ui-kit-v2-radio-button.d.ts +85 -43
  322. package/types/rt-tools-ui-kit-v2-radius.d.ts +18 -15
  323. package/types/rt-tools-ui-kit-v2-rich-editor.d.ts +931 -590
  324. package/types/rt-tools-ui-kit-v2-ripple.d.ts +28 -25
  325. package/types/rt-tools-ui-kit-v2-scroll-area.d.ts +60 -58
  326. package/types/rt-tools-ui-kit-v2-section-nav.d.ts +32 -22
  327. package/types/rt-tools-ui-kit-v2-select.d.ts +182 -139
  328. package/types/rt-tools-ui-kit-v2-side-menu.d.ts +452 -349
  329. package/types/rt-tools-ui-kit-v2-skeleton-wrapper.d.ts +53 -20
  330. package/types/rt-tools-ui-kit-v2-skeleton.d.ts +55 -26
  331. package/types/rt-tools-ui-kit-v2-speed-menu.d.ts +131 -0
  332. package/types/rt-tools-ui-kit-v2-spinner.d.ts +56 -28
  333. package/types/rt-tools-ui-kit-v2-split-button.d.ts +96 -55
  334. package/types/rt-tools-ui-kit-v2-stat-tile.d.ts +88 -60
  335. package/types/rt-tools-ui-kit-v2-stepper.d.ts +50 -37
  336. package/types/rt-tools-ui-kit-v2-table.d.ts +631 -480
  337. package/types/rt-tools-ui-kit-v2-tabs.d.ts +198 -113
  338. package/types/rt-tools-ui-kit-v2-tag.d.ts +106 -53
  339. package/types/rt-tools-ui-kit-v2-textarea.d.ts +48 -25
  340. package/types/rt-tools-ui-kit-v2-theme-toggle.d.ts +28 -26
  341. package/types/rt-tools-ui-kit-v2-thread-list.d.ts +154 -94
  342. package/types/rt-tools-ui-kit-v2-timeline.d.ts +30 -28
  343. package/types/rt-tools-ui-kit-v2-toast.d.ts +174 -98
  344. package/types/rt-tools-ui-kit-v2-toggle-button-group.d.ts +132 -86
  345. package/types/rt-tools-ui-kit-v2-toggle-switch.d.ts +88 -50
  346. package/types/rt-tools-ui-kit-v2-toolbar.d.ts +30 -27
  347. package/types/rt-tools-ui-kit-v2-tooltip.d.ts +65 -41
  348. package/types/rt-tools-ui-kit-v2-tree-selector.d.ts +257 -0
  349. package/types/rt-tools-ui-kit-v2-tree.d.ts +282 -0
  350. package/types/rt-tools-ui-kit-v2-welcome-dialog.d.ts +21 -24
  351. package/types/rt-tools-ui-kit-v2-workspace-details.d.ts +195 -124
  352. package/types/rt-tools-ui-kit-v2-workspace.d.ts +122 -79
  353. package/types/rt-tools-ui-kit-v2.d.ts +100 -90
  354. package/fesm2022/rt-tools-ui-kit-v2.mjs.map +0 -1
@@ -1,255 +1,464 @@
1
- import * as i0 from '@angular/core';
2
- import { computed, input, output, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, DestroyRef, signal, booleanAttribute, Directive } from '@angular/core';
3
- import { BlockDirective, ElemDirective, setRtComponentInputs } from '@rt-tools/core';
4
- import { rtKitLabel, carryThemeScope, materialPresetClassesOf } from '@rt-tools/ui-kit-v2/core';
5
- import { RtButtonDirective } from '@rt-tools/ui-kit-v2/button';
6
- import { Overlay, ScrollStrategyOptions, OverlayConfig } from '@angular/cdk/overlay';
7
- import { ComponentPortal } from '@angular/cdk/portal';
8
- import { outputToObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
9
- import { Subject, switchMap, merge, map } from 'rxjs';
10
-
11
- const BEM_BLOCK = 'rt-confirm-popover';
12
- /**
13
- * Презентационная панель подтверждения. Рендерится директивой `[rtConfirm]`
14
- * через CDK `ComponentPortal` под host-кнопкой. Содержит опциональный заголовок,
15
- * текст вопроса и две кнопки: «Отмена» (text/secondary) и подтверждающую
16
- * (`tone` — danger по умолчанию для деструктивных действий).
17
- *
18
- * `ViewEncapsulation.None` — стили префиксованы `.rt-confirm-popover`. Inputs
19
- * выставляются директивой через `setInput`; outputs (`confirm`/`cancel`) она
20
- * слушает и транслирует в `(confirmed)` / закрытие.
21
- */
22
- class RtConfirmPopoverComponent {
23
- constructor() {
24
- this.#t_uiConfirm = rtKitLabel('uiConfirm');
25
- this.#t_uiCancel = rtKitLabel('uiCancel');
26
- this.confirmText = computed(() => this.confirmLabel() || this.#t_uiConfirm(), /* @ts-ignore */
27
- ...(ngDevMode ? [{ debugName: "confirmText" }] : /* istanbul ignore next */ []));
28
- this.cancelText = computed(() => this.cancelLabel() || this.#t_uiCancel(), /* @ts-ignore */
29
- ...(ngDevMode ? [{ debugName: "cancelText" }] : /* istanbul ignore next */ []));
30
- this.message = input('', /* @ts-ignore */
31
- ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
32
- this.title = input(null, /* @ts-ignore */
33
- ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
34
- /** Пусто — берётся переведённая подпись по умолчанию */
35
- this.confirmLabel = input('', /* @ts-ignore */
36
- ...(ngDevMode ? [{ debugName: "confirmLabel" }] : /* istanbul ignore next */ []));
37
- this.cancelLabel = input('', /* @ts-ignore */
38
- ...(ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []));
39
- this.tone = input('danger', /* @ts-ignore */
40
- ...(ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []));
41
- this.accepted = output();
42
- this.cancelled = output();
43
- }
44
- #t_uiConfirm;
45
- #t_uiCancel;
46
- onConfirm() {
47
- this.accepted.emit();
48
- }
49
- onCancel() {
50
- this.cancelled.emit();
51
- }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RtConfirmPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
53
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: RtConfirmPopoverComponent, isStandalone: true, selector: "rt-confirm-popover", inputs: { message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, confirmLabel: { classPropertyName: "confirmLabel", publicName: "confirmLabel", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { accepted: "accepted", cancelled: "cancelled" }, host: { classAttribute: "rt-confirm-popover" }, ngImport: i0, template: "<ng-container rtBlock=\"rt-confirm-popover\">\n @if (title()) {\n <p rtElem=\"title\">{{ title() }}</p>\n }\n\n <p rtElem=\"message\">{{ message() }}</p>\n\n <div rtElem=\"actions\">\n <button\n rtButton\n qa-dataid=\"confirm-cancel\"\n type=\"button\"\n theme=\"secondary\"\n appearance=\"text\"\n [label]=\"cancelText()\"\n [attr.aria-label]=\"cancelText()\"\n (click)=\"onCancel()\"></button>\n <button\n rtButton\n qa-dataid=\"confirm-accept\"\n type=\"button\"\n [theme]=\"tone()\"\n [label]=\"confirmText()\"\n [attr.aria-label]=\"confirmText()\"\n (click)=\"onConfirm()\"></button>\n </div>\n</ng-container>\n", styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-confirm-popover{--rt-confirm-popover-radius: var(--rt-radius-md);--rt-confirm-popover-border-width: var(--rt-border-width-thin);--rt-confirm-popover-shadow: var(--rt-shadow-lg);display:flex;width:280px;max-width:280px;flex-direction:column;padding:var(--rt-space-md);border:var(--rt-confirm-popover-border-width) solid var(--rt-color-border-subtle);border-radius:var(--rt-confirm-popover-radius);background:var(--rt-color-bg-surface);box-shadow:var(--rt-confirm-popover-shadow);gap:var(--rt-space-sm)}.rt-confirm-popover__title{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);font-weight:var(--rt-font-weight-semibold)}.rt-confirm-popover__message{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);line-height:var(--rt-leading-normal)}.rt-confirm-popover__actions{display:flex;justify-content:space-between;gap:var(--rt-space-sm);margin-block-start:var(--rt-space-xs)}}\n"], dependencies: [{ kind: "directive", type: RtButtonDirective, selector: "button[rtButton], a[rtButton]", inputs: ["label", "icon", "iconPos", "theme", "appearance", "size", "loading", "loadingIcon", "loadingLabel", "pressed"] }, { kind: "directive", type: BlockDirective, selector: "[rtBlock]", inputs: ["rtMod"] }, { kind: "directive", type: ElemDirective, selector: "[rtElem]", inputs: ["rtMod"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RtConfirmPopoverComponent, decorators: [{
56
- type: Component,
57
- args: [{ selector: 'rt-confirm-popover', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [RtButtonDirective, BlockDirective, ElemDirective], host: {
58
- class: BEM_BLOCK,
59
- }, template: "<ng-container rtBlock=\"rt-confirm-popover\">\n @if (title()) {\n <p rtElem=\"title\">{{ title() }}</p>\n }\n\n <p rtElem=\"message\">{{ message() }}</p>\n\n <div rtElem=\"actions\">\n <button\n rtButton\n qa-dataid=\"confirm-cancel\"\n type=\"button\"\n theme=\"secondary\"\n appearance=\"text\"\n [label]=\"cancelText()\"\n [attr.aria-label]=\"cancelText()\"\n (click)=\"onCancel()\"></button>\n <button\n rtButton\n qa-dataid=\"confirm-accept\"\n type=\"button\"\n [theme]=\"tone()\"\n [label]=\"confirmText()\"\n [attr.aria-label]=\"confirmText()\"\n (click)=\"onConfirm()\"></button>\n </div>\n</ng-container>\n", styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-confirm-popover{--rt-confirm-popover-radius: var(--rt-radius-md);--rt-confirm-popover-border-width: var(--rt-border-width-thin);--rt-confirm-popover-shadow: var(--rt-shadow-lg);display:flex;width:280px;max-width:280px;flex-direction:column;padding:var(--rt-space-md);border:var(--rt-confirm-popover-border-width) solid var(--rt-color-border-subtle);border-radius:var(--rt-confirm-popover-radius);background:var(--rt-color-bg-surface);box-shadow:var(--rt-confirm-popover-shadow);gap:var(--rt-space-sm)}.rt-confirm-popover__title{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);font-weight:var(--rt-font-weight-semibold)}.rt-confirm-popover__message{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);line-height:var(--rt-leading-normal)}.rt-confirm-popover__actions{display:flex;justify-content:space-between;gap:var(--rt-space-sm);margin-block-start:var(--rt-space-xs)}}\n"] }]
60
- }], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], confirmLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "confirmLabel", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelLabel", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], accepted: [{ type: i0.Output, args: ["accepted"] }], cancelled: [{ type: i0.Output, args: ["cancelled"] }] } });
61
-
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, ViewEncapsulation, booleanAttribute, computed, inject, input, output, signal } from "@angular/core";
3
+ import { BlockDirective, ElemDirective, setRtComponentInputs } from "@rt-tools/core";
4
+ import { carryThemeScope, materialPresetClassesOf, rtKitLabel } from "@rt-tools/ui-kit-v2/core";
5
+ import { RtButtonDirective } from "@rt-tools/ui-kit-v2/button";
6
+ import { Overlay, OverlayConfig, ScrollStrategyOptions } from "@angular/cdk/overlay";
7
+ import { ComponentPortal } from "@angular/cdk/portal";
8
+ import { outputToObservable, takeUntilDestroyed } from "@angular/core/rxjs-interop";
9
+ import { Subject, map, merge, switchMap } from "rxjs";
10
+ const BEM_BLOCK = "rt-confirm-popover";
11
+ var RtConfirmPopoverComponent = class RtConfirmPopoverComponent {
12
+ constructor() {
13
+ this.#t_uiConfirm = rtKitLabel("uiConfirm");
14
+ this.#t_uiCancel = rtKitLabel("uiCancel");
15
+ this.confirmText = computed(() => this.confirmLabel() || this.#t_uiConfirm(), ...ngDevMode ? [{ debugName: "confirmText" }] : /* istanbul ignore next */ []);
16
+ this.cancelText = computed(() => this.cancelLabel() || this.#t_uiCancel(), ...ngDevMode ? [{ debugName: "cancelText" }] : /* istanbul ignore next */ []);
17
+ this.message = input("", ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
18
+ this.title = input(null, ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
19
+ this.confirmLabel = input("", ...ngDevMode ? [{ debugName: "confirmLabel" }] : /* istanbul ignore next */ []);
20
+ this.cancelLabel = input("", ...ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []);
21
+ this.tone = input("danger", ...ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []);
22
+ this.accepted = output();
23
+ this.cancelled = output();
24
+ }
25
+ #t_uiConfirm;
26
+ #t_uiCancel;
27
+ onConfirm() {
28
+ this.accepted.emit();
29
+ }
30
+ onCancel() {
31
+ this.cancelled.emit();
32
+ }
33
+ static {
34
+ this.ɵfac = i0.ɵɵngDeclareFactory({
35
+ minVersion: "12.0.0",
36
+ version: "22.2.2",
37
+ ngImport: i0,
38
+ type: RtConfirmPopoverComponent,
39
+ deps: [],
40
+ target: i0.ɵɵFactoryTarget.Component
41
+ });
42
+ }
43
+ static {
44
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
45
+ minVersion: "17.0.0",
46
+ version: "22.2.2",
47
+ type: RtConfirmPopoverComponent,
48
+ isStandalone: true,
49
+ selector: "rt-confirm-popover",
50
+ inputs: {
51
+ message: {
52
+ classPropertyName: "message",
53
+ publicName: "message",
54
+ isSignal: true,
55
+ isRequired: false,
56
+ transformFunction: null
57
+ },
58
+ title: {
59
+ classPropertyName: "title",
60
+ publicName: "title",
61
+ isSignal: true,
62
+ isRequired: false,
63
+ transformFunction: null
64
+ },
65
+ confirmLabel: {
66
+ classPropertyName: "confirmLabel",
67
+ publicName: "confirmLabel",
68
+ isSignal: true,
69
+ isRequired: false,
70
+ transformFunction: null
71
+ },
72
+ cancelLabel: {
73
+ classPropertyName: "cancelLabel",
74
+ publicName: "cancelLabel",
75
+ isSignal: true,
76
+ isRequired: false,
77
+ transformFunction: null
78
+ },
79
+ tone: {
80
+ classPropertyName: "tone",
81
+ publicName: "tone",
82
+ isSignal: true,
83
+ isRequired: false,
84
+ transformFunction: null
85
+ }
86
+ },
87
+ outputs: {
88
+ accepted: "accepted",
89
+ cancelled: "cancelled"
90
+ },
91
+ host: { classAttribute: "rt-confirm-popover" },
92
+ ngImport: i0,
93
+ template: "<ng-container rtBlock=\"rt-confirm-popover\">\n @if (title()) {\n <p rtElem=\"title\">{{ title() }}</p>\n }\n\n <p rtElem=\"message\">{{ message() }}</p>\n\n <div rtElem=\"actions\">\n <button\n rtButton\n qa-dataid=\"confirm-cancel\"\n type=\"button\"\n theme=\"secondary\"\n appearance=\"text\"\n [label]=\"cancelText()\"\n [attr.aria-label]=\"cancelText()\"\n (click)=\"onCancel()\"></button>\n <button\n rtButton\n qa-dataid=\"confirm-accept\"\n type=\"button\"\n [theme]=\"tone()\"\n [label]=\"confirmText()\"\n [attr.aria-label]=\"confirmText()\"\n (click)=\"onConfirm()\"></button>\n </div>\n</ng-container>\n",
94
+ styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-confirm-popover{--rt-confirm-popover-radius: var(--rt-radius-md);--rt-confirm-popover-border-width: var(--rt-border-width-thin);--rt-confirm-popover-shadow: var(--rt-shadow-lg);display:flex;width:280px;max-width:280px;flex-direction:column;padding:var(--rt-space-md);border:var(--rt-confirm-popover-border-width) solid var(--rt-color-border-subtle);border-radius:var(--rt-confirm-popover-radius);background:var(--rt-color-bg-surface);box-shadow:var(--rt-confirm-popover-shadow);gap:var(--rt-space-sm)}.rt-confirm-popover__title{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);font-weight:var(--rt-font-weight-semibold)}.rt-confirm-popover__message{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);line-height:var(--rt-leading-normal)}.rt-confirm-popover__actions{display:flex;justify-content:space-between;gap:var(--rt-space-sm);margin-block-start:var(--rt-space-xs)}}\n"],
95
+ dependencies: [
96
+ {
97
+ kind: "directive",
98
+ type: RtButtonDirective,
99
+ selector: "button[rtButton], a[rtButton]",
100
+ inputs: [
101
+ "label",
102
+ "icon",
103
+ "iconPos",
104
+ "theme",
105
+ "appearance",
106
+ "size",
107
+ "loading",
108
+ "loadingIcon",
109
+ "loadingLabel",
110
+ "pressed"
111
+ ]
112
+ },
113
+ {
114
+ kind: "directive",
115
+ type: BlockDirective,
116
+ selector: "[rtBlock]",
117
+ inputs: ["rtMod"]
118
+ },
119
+ {
120
+ kind: "directive",
121
+ type: ElemDirective,
122
+ selector: "[rtElem]",
123
+ inputs: ["rtMod"]
124
+ }
125
+ ],
126
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
127
+ encapsulation: i0.ViewEncapsulation.None
128
+ });
129
+ }
130
+ };
131
+ i0.ɵɵngDeclareClassMetadata({
132
+ minVersion: "12.0.0",
133
+ version: "22.2.2",
134
+ ngImport: i0,
135
+ type: RtConfirmPopoverComponent,
136
+ decorators: [{
137
+ type: Component,
138
+ args: [{
139
+ selector: "rt-confirm-popover",
140
+ changeDetection: ChangeDetectionStrategy.OnPush,
141
+ encapsulation: ViewEncapsulation.None,
142
+ imports: [
143
+ RtButtonDirective,
144
+ BlockDirective,
145
+ ElemDirective
146
+ ],
147
+ host: { class: BEM_BLOCK },
148
+ template: "<ng-container rtBlock=\"rt-confirm-popover\">\n @if (title()) {\n <p rtElem=\"title\">{{ title() }}</p>\n }\n\n <p rtElem=\"message\">{{ message() }}</p>\n\n <div rtElem=\"actions\">\n <button\n rtButton\n qa-dataid=\"confirm-cancel\"\n type=\"button\"\n theme=\"secondary\"\n appearance=\"text\"\n [label]=\"cancelText()\"\n [attr.aria-label]=\"cancelText()\"\n (click)=\"onCancel()\"></button>\n <button\n rtButton\n qa-dataid=\"confirm-accept\"\n type=\"button\"\n [theme]=\"tone()\"\n [label]=\"confirmText()\"\n [attr.aria-label]=\"confirmText()\"\n (click)=\"onConfirm()\"></button>\n </div>\n</ng-container>\n",
149
+ styles: ["@charset \"UTF-8\";@layer rt-kit.components{.rt-confirm-popover{--rt-confirm-popover-radius: var(--rt-radius-md);--rt-confirm-popover-border-width: var(--rt-border-width-thin);--rt-confirm-popover-shadow: var(--rt-shadow-lg);display:flex;width:280px;max-width:280px;flex-direction:column;padding:var(--rt-space-md);border:var(--rt-confirm-popover-border-width) solid var(--rt-color-border-subtle);border-radius:var(--rt-confirm-popover-radius);background:var(--rt-color-bg-surface);box-shadow:var(--rt-confirm-popover-shadow);gap:var(--rt-space-sm)}.rt-confirm-popover__title{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);font-weight:var(--rt-font-weight-semibold)}.rt-confirm-popover__message{margin:0;color:var(--rt-color-text-primary);font-size:var(--rt-text-sm);line-height:var(--rt-leading-normal)}.rt-confirm-popover__actions{display:flex;justify-content:space-between;gap:var(--rt-space-sm);margin-block-start:var(--rt-space-xs)}}\n"]
150
+ }]
151
+ }],
152
+ propDecorators: {
153
+ message: [{
154
+ type: i0.Input,
155
+ args: [{
156
+ isSignal: true,
157
+ alias: "message",
158
+ required: false
159
+ }]
160
+ }],
161
+ title: [{
162
+ type: i0.Input,
163
+ args: [{
164
+ isSignal: true,
165
+ alias: "title",
166
+ required: false
167
+ }]
168
+ }],
169
+ confirmLabel: [{
170
+ type: i0.Input,
171
+ args: [{
172
+ isSignal: true,
173
+ alias: "confirmLabel",
174
+ required: false
175
+ }]
176
+ }],
177
+ cancelLabel: [{
178
+ type: i0.Input,
179
+ args: [{
180
+ isSignal: true,
181
+ alias: "cancelLabel",
182
+ required: false
183
+ }]
184
+ }],
185
+ tone: [{
186
+ type: i0.Input,
187
+ args: [{
188
+ isSignal: true,
189
+ alias: "tone",
190
+ required: false
191
+ }]
192
+ }],
193
+ accepted: [{
194
+ type: i0.Output,
195
+ args: ["accepted"]
196
+ }],
197
+ cancelled: [{
198
+ type: i0.Output,
199
+ args: ["cancelled"]
200
+ }]
201
+ }
202
+ });
62
203
  const VIEWPORT_MARGIN = 8;
63
- /**
64
- * Confirm-popover директива поверх CDK Overlay. Вешается на host-кнопку
65
- * (обычно `rt-icon-button` деструктивного действия). По клику показывает прямо
66
- * под кнопкой панель `rt-confirm-popover` с вопросом и кнопками
67
- * «Отмена» / подтверждение. Подтверждение → `(confirmed)` + закрытие; отмена,
68
- * outside-click, Escape → просто закрытие.
69
- *
70
- * Движок — CDK `flexibleConnectedTo` (end-выравнивание + flip), чтобы панель у
71
- * правого края aside'а раскрывалась влево и не резалась `overflow: hidden`.
72
- *
73
- * @example
74
- * ```html
75
- * <rt-icon-button
76
- * icon="ico-error"
77
- * variant="danger"
78
- * ariaLabel="Отклонить"
79
- * tooltip="Отклонить"
80
- * [rtConfirm]="'Отклонить заявку? Оператор получит уведомление.'"
81
- * rtConfirmTitle="Отклонить заявку"
82
- * rtConfirmLabel="Отклонить"
83
- * (confirmed)="rejectTour()" />
84
- * ```
85
- */
86
- class RtConfirmDirective {
87
- #overlay;
88
- #elementRef;
89
- #scrollStrategies;
90
- #destroyRef;
91
- #overlayCreatedSource;
92
- #panelAttachedSource;
93
- #overlayRef;
94
- #panelRef;
95
- constructor() {
96
- this.#overlay = inject(Overlay);
97
- this.#elementRef = inject(ElementRef);
98
- this.#scrollStrategies = inject(ScrollStrategyOptions);
99
- this.#destroyRef = inject(DestroyRef);
100
- this.#overlayCreatedSource = new Subject();
101
- this.#panelAttachedSource = new Subject();
102
- this.#overlayRef = null;
103
- this.#panelRef = null;
104
- this.isOpenState = signal(false, /* @ts-ignore */
105
- ...(ngDevMode ? [{ debugName: "isOpenState" }] : /* istanbul ignore next */ []));
106
- this.message = input('', { ...(ngDevMode ? { debugName: "message" } : /* istanbul ignore next */ {}), alias: 'rtConfirm' });
107
- this.title = input(null, { ...(ngDevMode ? { debugName: "title" } : /* istanbul ignore next */ {}), alias: 'rtConfirmTitle' });
108
- /** Пусто — панель подставит переведённое умолчание */
109
- this.label = input('', { ...(ngDevMode ? { debugName: "label" } : /* istanbul ignore next */ {}), alias: 'rtConfirmLabel' });
110
- this.cancelLabel = input('', { ...(ngDevMode ? { debugName: "cancelLabel" } : /* istanbul ignore next */ {}), alias: 'rtConfirmCancelLabel' });
111
- this.tone = input('danger', { ...(ngDevMode ? { debugName: "tone" } : /* istanbul ignore next */ {}), alias: 'rtConfirmTone' });
112
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), alias: 'rtConfirmDisabled',
113
- transform: booleanAttribute });
114
- this.confirmed = output();
115
- this.isOpen = this.isOpenState.asReadonly();
116
- // Per-attach подписки на outputs панели (accepted / cancelled) живут в
117
- // одном конструкторном стриме: open() эмитит свежий ComponentRef,
118
- // switchMap переключается на его outputs (предыдущая панель к этому
119
- // моменту уже detach'нута — outputs комплитятся при destroy componentRef).
120
- // Бэкстоп takeUntilDestroyed — на жизнь директивы.
121
- this.#panelAttachedSource
122
- .pipe(switchMap((panelRef) => merge(outputToObservable(panelRef.instance.accepted).pipe(map(() => () => {
123
- this.confirmed.emit();
124
- this.close();
125
- })), outputToObservable(panelRef.instance.cancelled).pipe(map(() => () => this.close())))), takeUntilDestroyed(this.#destroyRef))
126
- .subscribe((handleCloseIntent) => handleCloseIntent());
127
- // Outside-click / ESC подписки на единожды создаваемый overlay:
128
- // #ensureOverlay эмитит OverlayRef после создания (ровно один раз за
129
- // жизнь директивы), стрим живёт до destroy директивы.
130
- this.#overlayCreatedSource
131
- .pipe(switchMap((overlayRef) => merge(overlayRef.outsidePointerEvents().pipe(map((event) => () => {
132
- // Клик по host обрабатывает onHostClick (toggle) — не закрываем
133
- // здесь, иначе двойной toggle.
134
- if (this.#elementRef.nativeElement.contains(event.target)) {
135
- return;
136
- }
137
- this.close();
138
- })), overlayRef.keydownEvents().pipe(map((event) => () => {
139
- if (event.key === 'Escape') {
140
- event.preventDefault();
141
- this.close();
142
- }
143
- })))), takeUntilDestroyed(this.#destroyRef))
144
- .subscribe((handleCloseIntent) => handleCloseIntent());
145
- }
146
- ngOnDestroy() {
147
- this.#disposeOverlay();
148
- }
149
- open() {
150
- if (this.disabled() || this.isOpenState() || this.message().trim() === '') {
151
- return;
152
- }
153
- const overlayRef = this.#ensureOverlay();
154
- // Коробка переживает закрытие, а кусок темы вокруг host'а мог смениться — переносим на каждом открытии.
155
- carryThemeScope(overlayRef.overlayElement, this.#elementRef.nativeElement);
156
- const portal = new ComponentPortal(RtConfirmPopoverComponent);
157
- this.#panelRef = overlayRef.attach(portal);
158
- // Одним набором, а не пятью строками с именами: имя, написанное строкой, не проверяет
159
- // ничто — опечатка собирается и падает на подъёме сообщением о входе, которого нет.
160
- setRtComponentInputs(this.#panelRef, {
161
- message: this.message(),
162
- title: this.title(),
163
- confirmLabel: this.label(),
164
- cancelLabel: this.cancelLabel(),
165
- tone: this.tone(),
166
- });
167
- // Подписки на accepted/cancelled объявлены один раз в конструкторе —
168
- // здесь только эмит свежего ComponentRef (см. #panelAttachedSource-стрим).
169
- this.#panelAttachedSource.next(this.#panelRef);
170
- this.isOpenState.set(true);
171
- }
172
- close() {
173
- if (!this.isOpenState()) {
174
- return;
175
- }
176
- this.#overlayRef?.detach();
177
- this.#panelRef = null;
178
- this.isOpenState.set(false);
179
- }
180
- onHostClick() {
181
- if (this.disabled()) {
182
- return;
183
- }
184
- if (this.isOpenState()) {
185
- this.close();
186
- }
187
- else {
188
- this.open();
189
- }
190
- }
191
- #ensureOverlay() {
192
- if (this.#overlayRef !== null) {
193
- return this.#overlayRef;
194
- }
195
- const positions = [
196
- {
197
- originX: 'end',
198
- originY: 'bottom',
199
- overlayX: 'end',
200
- overlayY: 'top',
201
- offsetY: 6,
202
- },
203
- {
204
- originX: 'end',
205
- originY: 'top',
206
- overlayX: 'end',
207
- overlayY: 'bottom',
208
- offsetY: -6,
209
- },
210
- ];
211
- const positionStrategy = this.#overlay
212
- .position()
213
- .flexibleConnectedTo(this.#elementRef)
214
- .withPush(true)
215
- .withViewportMargin(VIEWPORT_MARGIN)
216
- .withFlexibleDimensions(false)
217
- .withPositions(positions);
218
- const config = new OverlayConfig({
219
- positionStrategy,
220
- scrollStrategy: this.#scrollStrategies.reposition(),
221
- hasBackdrop: false,
222
- panelClass: ['rt-confirm-popover-panel', ...materialPresetClassesOf(this.#elementRef.nativeElement)],
223
- });
224
- const overlayRef = this.#overlay.create(config);
225
- // Outside-click / ESC подписки объявлены один раз в конструкторе —
226
- // здесь только эмит созданного OverlayRef (см. #overlayCreatedSource-стрим).
227
- this.#overlayCreatedSource.next(overlayRef);
228
- this.#overlayRef = overlayRef;
229
- return overlayRef;
230
- }
231
- #disposeOverlay() {
232
- this.#overlayRef?.dispose();
233
- this.#overlayRef = null;
234
- this.#panelRef = null;
235
- }
236
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RtConfirmDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
237
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: RtConfirmDirective, isStandalone: true, selector: "[rtConfirm]", inputs: { message: { classPropertyName: "message", publicName: "rtConfirm", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "rtConfirmTitle", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "rtConfirmLabel", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "rtConfirmCancelLabel", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "rtConfirmTone", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "rtConfirmDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { confirmed: "confirmed" }, host: { listeners: { "click": "onHostClick()" } }, exportAs: ["rtConfirm"], ngImport: i0 }); }
238
- }
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: RtConfirmDirective, decorators: [{
240
- type: Directive,
241
- args: [{
242
- selector: '[rtConfirm]',
243
- exportAs: 'rtConfirm',
244
- host: {
245
- '(click)': 'onHostClick()',
246
- },
247
- }]
248
- }], ctorParameters: () => [], propDecorators: { message: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirm", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirmTitle", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirmLabel", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirmCancelLabel", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirmTone", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "rtConfirmDisabled", required: false }] }], confirmed: [{ type: i0.Output, args: ["confirmed"] }] } });
249
-
250
- /**
251
- * Generated bundle index. Do not edit.
252
- */
253
-
204
+ var RtConfirmDirective = class RtConfirmDirective {
205
+ #overlay;
206
+ #elementRef;
207
+ #scrollStrategies;
208
+ #destroyRef;
209
+ #overlayCreatedSource;
210
+ #panelAttachedSource;
211
+ #overlayRef;
212
+ #panelRef;
213
+ constructor() {
214
+ this.#overlay = inject(Overlay);
215
+ this.#elementRef = inject(ElementRef);
216
+ this.#scrollStrategies = inject(ScrollStrategyOptions);
217
+ this.#destroyRef = inject(DestroyRef);
218
+ this.#overlayCreatedSource = new Subject();
219
+ this.#panelAttachedSource = new Subject();
220
+ this.#overlayRef = null;
221
+ this.#panelRef = null;
222
+ this.isOpenState = signal(false, ...ngDevMode ? [{ debugName: "isOpenState" }] : /* istanbul ignore next */ []);
223
+ this.message = input("", {
224
+ ...ngDevMode ? { debugName: "message" } : /* istanbul ignore next */ {},
225
+ alias: "rtConfirm"
226
+ });
227
+ this.title = input(null, {
228
+ ...ngDevMode ? { debugName: "title" } : /* istanbul ignore next */ {},
229
+ alias: "rtConfirmTitle"
230
+ });
231
+ this.label = input("", {
232
+ ...ngDevMode ? { debugName: "label" } : /* istanbul ignore next */ {},
233
+ alias: "rtConfirmLabel"
234
+ });
235
+ this.cancelLabel = input("", {
236
+ ...ngDevMode ? { debugName: "cancelLabel" } : /* istanbul ignore next */ {},
237
+ alias: "rtConfirmCancelLabel"
238
+ });
239
+ this.tone = input("danger", {
240
+ ...ngDevMode ? { debugName: "tone" } : /* istanbul ignore next */ {},
241
+ alias: "rtConfirmTone"
242
+ });
243
+ this.disabled = input(false, {
244
+ ...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
245
+ alias: "rtConfirmDisabled",
246
+ transform: booleanAttribute
247
+ });
248
+ this.confirmed = output();
249
+ this.isOpen = this.isOpenState.asReadonly();
250
+ this.#panelAttachedSource.pipe(switchMap((panelRef) => merge(outputToObservable(panelRef.instance.accepted).pipe(map(() => () => {
251
+ this.confirmed.emit();
252
+ this.close();
253
+ })), outputToObservable(panelRef.instance.cancelled).pipe(map(() => () => this.close())))), takeUntilDestroyed(this.#destroyRef)).subscribe((handleCloseIntent) => handleCloseIntent());
254
+ this.#overlayCreatedSource.pipe(switchMap((overlayRef) => merge(overlayRef.outsidePointerEvents().pipe(map((event) => () => {
255
+ if (this.#elementRef.nativeElement.contains(event.target)) return;
256
+ this.close();
257
+ })), overlayRef.keydownEvents().pipe(map((event) => () => {
258
+ if (event.key === "Escape") {
259
+ event.preventDefault();
260
+ this.close();
261
+ }
262
+ })))), takeUntilDestroyed(this.#destroyRef)).subscribe((handleCloseIntent) => handleCloseIntent());
263
+ }
264
+ ngOnDestroy() {
265
+ this.#disposeOverlay();
266
+ }
267
+ open() {
268
+ if (this.disabled() || this.isOpenState() || this.message().trim() === "") return;
269
+ const overlayRef = this.#ensureOverlay();
270
+ carryThemeScope(overlayRef.overlayElement, this.#elementRef.nativeElement);
271
+ const portal = new ComponentPortal(RtConfirmPopoverComponent);
272
+ this.#panelRef = overlayRef.attach(portal);
273
+ setRtComponentInputs(this.#panelRef, {
274
+ message: this.message(),
275
+ title: this.title(),
276
+ confirmLabel: this.label(),
277
+ cancelLabel: this.cancelLabel(),
278
+ tone: this.tone()
279
+ });
280
+ this.#panelAttachedSource.next(this.#panelRef);
281
+ this.isOpenState.set(true);
282
+ }
283
+ close() {
284
+ if (!this.isOpenState()) return;
285
+ this.#overlayRef?.detach();
286
+ this.#panelRef = null;
287
+ this.isOpenState.set(false);
288
+ }
289
+ onHostClick() {
290
+ if (this.disabled()) return;
291
+ if (this.isOpenState()) this.close();
292
+ else this.open();
293
+ }
294
+ #ensureOverlay() {
295
+ if (this.#overlayRef !== null) return this.#overlayRef;
296
+ const positionStrategy = this.#overlay.position().flexibleConnectedTo(this.#elementRef).withPush(true).withViewportMargin(VIEWPORT_MARGIN).withFlexibleDimensions(false).withPositions([{
297
+ originX: "end",
298
+ originY: "bottom",
299
+ overlayX: "end",
300
+ overlayY: "top",
301
+ offsetY: 6
302
+ }, {
303
+ originX: "end",
304
+ originY: "top",
305
+ overlayX: "end",
306
+ overlayY: "bottom",
307
+ offsetY: -6
308
+ }]);
309
+ const config = new OverlayConfig({
310
+ positionStrategy,
311
+ scrollStrategy: this.#scrollStrategies.reposition(),
312
+ hasBackdrop: false,
313
+ panelClass: ["rt-confirm-popover-panel", ...materialPresetClassesOf(this.#elementRef.nativeElement)]
314
+ });
315
+ const overlayRef = this.#overlay.create(config);
316
+ this.#overlayCreatedSource.next(overlayRef);
317
+ this.#overlayRef = overlayRef;
318
+ return overlayRef;
319
+ }
320
+ #disposeOverlay() {
321
+ this.#overlayRef?.dispose();
322
+ this.#overlayRef = null;
323
+ this.#panelRef = null;
324
+ }
325
+ static {
326
+ this.ɵfac = i0.ɵɵngDeclareFactory({
327
+ minVersion: "12.0.0",
328
+ version: "22.2.2",
329
+ ngImport: i0,
330
+ type: RtConfirmDirective,
331
+ deps: [],
332
+ target: i0.ɵɵFactoryTarget.Directive
333
+ });
334
+ }
335
+ static {
336
+ this.ɵdir = i0.ɵɵngDeclareDirective({
337
+ minVersion: "17.1.0",
338
+ version: "22.2.2",
339
+ type: RtConfirmDirective,
340
+ isStandalone: true,
341
+ selector: "[rtConfirm]",
342
+ inputs: {
343
+ message: {
344
+ classPropertyName: "message",
345
+ publicName: "rtConfirm",
346
+ isSignal: true,
347
+ isRequired: false,
348
+ transformFunction: null
349
+ },
350
+ title: {
351
+ classPropertyName: "title",
352
+ publicName: "rtConfirmTitle",
353
+ isSignal: true,
354
+ isRequired: false,
355
+ transformFunction: null
356
+ },
357
+ label: {
358
+ classPropertyName: "label",
359
+ publicName: "rtConfirmLabel",
360
+ isSignal: true,
361
+ isRequired: false,
362
+ transformFunction: null
363
+ },
364
+ cancelLabel: {
365
+ classPropertyName: "cancelLabel",
366
+ publicName: "rtConfirmCancelLabel",
367
+ isSignal: true,
368
+ isRequired: false,
369
+ transformFunction: null
370
+ },
371
+ tone: {
372
+ classPropertyName: "tone",
373
+ publicName: "rtConfirmTone",
374
+ isSignal: true,
375
+ isRequired: false,
376
+ transformFunction: null
377
+ },
378
+ disabled: {
379
+ classPropertyName: "disabled",
380
+ publicName: "rtConfirmDisabled",
381
+ isSignal: true,
382
+ isRequired: false,
383
+ transformFunction: null
384
+ }
385
+ },
386
+ outputs: { confirmed: "confirmed" },
387
+ host: { listeners: { "click": "onHostClick()" } },
388
+ exportAs: ["rtConfirm"],
389
+ ngImport: i0
390
+ });
391
+ }
392
+ };
393
+ i0.ɵɵngDeclareClassMetadata({
394
+ minVersion: "12.0.0",
395
+ version: "22.2.2",
396
+ ngImport: i0,
397
+ type: RtConfirmDirective,
398
+ decorators: [{
399
+ type: Directive,
400
+ args: [{
401
+ selector: "[rtConfirm]",
402
+ exportAs: "rtConfirm",
403
+ host: { "(click)": "onHostClick()" }
404
+ }]
405
+ }],
406
+ ctorParameters: () => [],
407
+ propDecorators: {
408
+ message: [{
409
+ type: i0.Input,
410
+ args: [{
411
+ isSignal: true,
412
+ alias: "rtConfirm",
413
+ required: false
414
+ }]
415
+ }],
416
+ title: [{
417
+ type: i0.Input,
418
+ args: [{
419
+ isSignal: true,
420
+ alias: "rtConfirmTitle",
421
+ required: false
422
+ }]
423
+ }],
424
+ label: [{
425
+ type: i0.Input,
426
+ args: [{
427
+ isSignal: true,
428
+ alias: "rtConfirmLabel",
429
+ required: false
430
+ }]
431
+ }],
432
+ cancelLabel: [{
433
+ type: i0.Input,
434
+ args: [{
435
+ isSignal: true,
436
+ alias: "rtConfirmCancelLabel",
437
+ required: false
438
+ }]
439
+ }],
440
+ tone: [{
441
+ type: i0.Input,
442
+ args: [{
443
+ isSignal: true,
444
+ alias: "rtConfirmTone",
445
+ required: false
446
+ }]
447
+ }],
448
+ disabled: [{
449
+ type: i0.Input,
450
+ args: [{
451
+ isSignal: true,
452
+ alias: "rtConfirmDisabled",
453
+ required: false
454
+ }]
455
+ }],
456
+ confirmed: [{
457
+ type: i0.Output,
458
+ args: ["confirmed"]
459
+ }]
460
+ }
461
+ });
254
462
  export { RtConfirmDirective, RtConfirmPopoverComponent };
255
- //# sourceMappingURL=rt-tools-ui-kit-v2-confirm-popover.mjs.map
463
+
464
+ //# sourceMappingURL=rt-tools-ui-kit-v2-confirm-popover.mjs.map