@wirabyte/ui 0.0.0-stage → 1.0.0-beta.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 (1702) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/LICENSE +21 -0
  3. package/README.md +74 -2
  4. package/accordion/accordion.component.d.ts +126 -0
  5. package/accordion/accordion.module.d.ts +9 -0
  6. package/accordion/accordion.types.d.ts +10 -0
  7. package/accordion/index.d.ts +5 -0
  8. package/accordion/public-api.d.ts +3 -0
  9. package/alert/alert-dialog.base.d.ts +79 -0
  10. package/alert/alert-dialog.component.d.ts +8 -0
  11. package/alert/alert.module.d.ts +8 -0
  12. package/alert/alert.service.d.ts +76 -0
  13. package/alert/alert.types.d.ts +87 -0
  14. package/alert/index.d.ts +5 -0
  15. package/alert/public-api.d.ts +5 -0
  16. package/animate/animate.directive.d.ts +34 -0
  17. package/animate/animate.module.d.ts +11 -0
  18. package/animate/animate.service.d.ts +36 -0
  19. package/animate/animate.styles.d.ts +2 -0
  20. package/animate/animate.types.d.ts +20 -0
  21. package/animate/index.d.ts +5 -0
  22. package/animate/public-api.d.ts +4 -0
  23. package/api/index.d.ts +5 -0
  24. package/api/public-api.d.ts +15 -0
  25. package/api/shared.module.d.ts +8 -0
  26. package/asidemenu/asidemenu.component.d.ts +221 -0
  27. package/asidemenu/asidemenu.module.d.ts +9 -0
  28. package/asidemenu/index.d.ts +5 -0
  29. package/asidemenu/public-api.d.ts +2 -0
  30. package/autocomplete/autocomplete.base.d.ts +181 -0
  31. package/autocomplete/autocomplete.component.d.ts +10 -0
  32. package/autocomplete/autocomplete.module.d.ts +9 -0
  33. package/autocomplete/autocomplete.types.d.ts +10 -0
  34. package/autocomplete/index.d.ts +5 -0
  35. package/autocomplete/public-api.d.ts +4 -0
  36. package/avatar/avatar.component.d.ts +38 -0
  37. package/avatar/avatar.module.d.ts +8 -0
  38. package/avatar/avatar.types.d.ts +2 -0
  39. package/avatar/index.d.ts +5 -0
  40. package/avatar/public-api.d.ts +3 -0
  41. package/badge/badge.component.d.ts +20 -0
  42. package/badge/badge.directive.d.ts +32 -0
  43. package/badge/badge.module.d.ts +9 -0
  44. package/badge/badge.styles.d.ts +2 -0
  45. package/badge/badge.types.d.ts +3 -0
  46. package/badge/index.d.ts +5 -0
  47. package/badge/public-api.d.ts +4 -0
  48. package/blockui/blockui.component.d.ts +41 -0
  49. package/blockui/blockui.module.d.ts +8 -0
  50. package/blockui/index.d.ts +5 -0
  51. package/blockui/public-api.d.ts +2 -0
  52. package/bottombar/bottombar.component.d.ts +79 -0
  53. package/bottombar/bottombar.module.d.ts +9 -0
  54. package/bottombar/index.d.ts +5 -0
  55. package/bottombar/public-api.d.ts +2 -0
  56. package/breadcrumb/breadcrumb.component.d.ts +41 -0
  57. package/breadcrumb/breadcrumb.module.d.ts +8 -0
  58. package/breadcrumb/index.d.ts +5 -0
  59. package/breadcrumb/public-api.d.ts +2 -0
  60. package/button/button-class.d.ts +8 -0
  61. package/button/button.component.d.ts +69 -0
  62. package/button/button.directive.d.ts +53 -0
  63. package/button/button.module.d.ts +9 -0
  64. package/button/button.styles.d.ts +2 -0
  65. package/button/button.types.d.ts +8 -0
  66. package/button/index.d.ts +5 -0
  67. package/button/public-api.d.ts +7 -0
  68. package/card/card-slots.d.ts +11 -0
  69. package/card/card.component.d.ts +41 -0
  70. package/card/card.module.d.ts +10 -0
  71. package/card/card.types.d.ts +5 -0
  72. package/card/index.d.ts +5 -0
  73. package/card/public-api.d.ts +4 -0
  74. package/carousel/carousel.component.d.ts +169 -0
  75. package/carousel/carousel.module.d.ts +10 -0
  76. package/carousel/carousel.types.d.ts +21 -0
  77. package/carousel/index.d.ts +5 -0
  78. package/carousel/public-api.d.ts +3 -0
  79. package/chart/chart.component.d.ts +11 -0
  80. package/chart/chart.module.d.ts +8 -0
  81. package/chart/index.d.ts +5 -0
  82. package/chart/public-api.d.ts +3 -0
  83. package/chartjs/chartjs.base.d.ts +70 -0
  84. package/chartjs/chartjs.component.d.ts +10 -0
  85. package/chartjs/chartjs.module.d.ts +8 -0
  86. package/chartjs/chartjs.types.d.ts +8 -0
  87. package/chartjs/index.d.ts +5 -0
  88. package/chartjs/public-api.d.ts +4 -0
  89. package/checkbox/checkbox.component.d.ts +59 -0
  90. package/checkbox/checkbox.module.d.ts +8 -0
  91. package/checkbox/checkbox.styles.d.ts +2 -0
  92. package/checkbox/checkbox.types.d.ts +4 -0
  93. package/checkbox/index.d.ts +5 -0
  94. package/checkbox/public-api.d.ts +5 -0
  95. package/chip/chip.component.d.ts +36 -0
  96. package/chip/chip.module.d.ts +8 -0
  97. package/chip/index.d.ts +5 -0
  98. package/chip/public-api.d.ts +2 -0
  99. package/colorpicker/colorpicker.component.d.ts +87 -0
  100. package/colorpicker/colorpicker.module.d.ts +8 -0
  101. package/colorpicker/index.d.ts +5 -0
  102. package/colorpicker/public-api.d.ts +2 -0
  103. package/config/forms.d.ts +17 -0
  104. package/config/index.d.ts +5 -0
  105. package/config/initializer.d.ts +3 -0
  106. package/config/menu-item.d.ts +52 -0
  107. package/config/options.d.ts +48 -0
  108. package/config/popup.d.ts +48 -0
  109. package/config/provide.d.ts +23 -0
  110. package/config/public-api.d.ts +17 -0
  111. package/config/ripple.d.ts +2 -0
  112. package/config/scroll-lock.d.ts +5 -0
  113. package/config/severity.d.ts +5 -0
  114. package/config/style-loader.d.ts +12 -0
  115. package/config/template.d.ts +19 -0
  116. package/config/theme.service.d.ts +46 -0
  117. package/config/version-guard.d.ts +14 -0
  118. package/config/version.d.ts +6 -0
  119. package/config/wu-config.service.d.ts +24 -0
  120. package/confirmdialog/confirmation.service.d.ts +25 -0
  121. package/confirmdialog/confirmdialog.base.d.ts +110 -0
  122. package/confirmdialog/confirmdialog.component.d.ts +11 -0
  123. package/confirmdialog/confirmdialog.module.d.ts +9 -0
  124. package/confirmdialog/confirmdialog.types.d.ts +37 -0
  125. package/confirmdialog/index.d.ts +5 -0
  126. package/confirmdialog/public-api.d.ts +5 -0
  127. package/contextmenu/contextmenu.component.d.ts +47 -0
  128. package/contextmenu/contextmenu.module.d.ts +8 -0
  129. package/contextmenu/index.d.ts +5 -0
  130. package/contextmenu/public-api.d.ts +2 -0
  131. package/core/carousel.d.ts +27 -0
  132. package/core/catalog.d.ts +446 -0
  133. package/core/chart/format.d.ts +19 -0
  134. package/core/chart/index.d.ts +6 -0
  135. package/core/chart/kinds.d.ts +78 -0
  136. package/core/chart/model.d.ts +500 -0
  137. package/core/chart/more.d.ts +33 -0
  138. package/core/chart/paths.d.ts +41 -0
  139. package/core/chart/scale.d.ts +22 -0
  140. package/core/color.d.ts +31 -0
  141. package/core/colorpicker.d.ts +23 -0
  142. package/core/compat.d.ts +11 -0
  143. package/core/config.d.ts +64 -0
  144. package/core/date.d.ts +130 -0
  145. package/core/datepicker.d.ts +184 -0
  146. package/core/dock.d.ts +6 -0
  147. package/core/editor.d.ts +117 -0
  148. package/core/errorpage.d.ts +15 -0
  149. package/core/excel.d.ts +239 -0
  150. package/core/exporters.d.ts +18 -0
  151. package/core/families.d.ts +13 -0
  152. package/core/fileupload.d.ts +24 -0
  153. package/core/flow/changes.d.ts +63 -0
  154. package/core/flow/edges.d.ts +52 -0
  155. package/core/flow/export.d.ts +56 -0
  156. package/core/flow/geometry.d.ts +117 -0
  157. package/core/flow/graph.d.ts +104 -0
  158. package/core/flow/history.d.ts +54 -0
  159. package/core/flow/index.d.ts +13 -0
  160. package/core/flow/interaction.d.ts +140 -0
  161. package/core/flow/layout.d.ts +57 -0
  162. package/core/flow/paths.d.ts +76 -0
  163. package/core/flow/text.d.ts +18 -0
  164. package/core/flow/types.d.ts +217 -0
  165. package/core/flow/viewport.d.ts +48 -0
  166. package/core/i18n.d.ts +24 -0
  167. package/core/imagecompare.d.ts +12 -0
  168. package/core/imagecropper.d.ts +183 -0
  169. package/core/index.d.ts +39 -0
  170. package/core/inputotp.d.ts +20 -0
  171. package/core/knob.d.ts +28 -0
  172. package/core/mask.d.ts +43 -0
  173. package/core/menu.d.ts +29 -0
  174. package/core/number.d.ts +66 -0
  175. package/core/organizationchart.d.ts +39 -0
  176. package/core/overrides.d.ts +109 -0
  177. package/core/picklist.d.ts +81 -0
  178. package/core/select.d.ts +44 -0
  179. package/core/splitter.d.ts +17 -0
  180. package/core/table.d.ts +48 -0
  181. package/core/terminal.d.ts +12 -0
  182. package/core/thai/buddhist.d.ts +22 -0
  183. package/core/thai/locale.d.ts +358 -0
  184. package/core/thai/text.d.ts +32 -0
  185. package/core/thai/thai-id.d.ts +6 -0
  186. package/core/tokens.d.ts +69 -0
  187. package/core/tree.d.ts +50 -0
  188. package/core/validation.d.ts +18 -0
  189. package/datepicker/datepicker.component.d.ts +275 -0
  190. package/datepicker/datepicker.module.d.ts +8 -0
  191. package/datepicker/datepicker.types.d.ts +10 -0
  192. package/datepicker/index.d.ts +5 -0
  193. package/datepicker/public-api.d.ts +3 -0
  194. package/dialog/dialog.base.d.ts +147 -0
  195. package/dialog/dialog.component.d.ts +11 -0
  196. package/dialog/dialog.module.d.ts +10 -0
  197. package/dialog/dialog.service.d.ts +104 -0
  198. package/dialog/dialog.types.d.ts +3 -0
  199. package/dialog/index.d.ts +5 -0
  200. package/dialog/public-api.d.ts +5 -0
  201. package/divider/divider.component.d.ts +20 -0
  202. package/divider/divider.module.d.ts +8 -0
  203. package/divider/divider.types.d.ts +4 -0
  204. package/divider/index.d.ts +5 -0
  205. package/divider/public-api.d.ts +3 -0
  206. package/dock/dock.component.d.ts +88 -0
  207. package/dock/dock.module.d.ts +9 -0
  208. package/dock/index.d.ts +5 -0
  209. package/dock/public-api.d.ts +2 -0
  210. package/dragdrop/dragdrop.directive.d.ts +65 -0
  211. package/dragdrop/dragdrop.module.d.ts +8 -0
  212. package/dragdrop/dragdrop.styles.d.ts +2 -0
  213. package/dragdrop/index.d.ts +5 -0
  214. package/dragdrop/public-api.d.ts +2 -0
  215. package/drawer/drawer.component.d.ts +102 -0
  216. package/drawer/drawer.module.d.ts +8 -0
  217. package/drawer/index.d.ts +5 -0
  218. package/drawer/public-api.d.ts +5 -0
  219. package/editor/editor-content.directive.d.ts +10 -0
  220. package/editor/editor-icon.directive.d.ts +8 -0
  221. package/editor/editor.base.d.ts +367 -0
  222. package/editor/editor.component.d.ts +11 -0
  223. package/editor/editor.dom.d.ts +91 -0
  224. package/editor/editor.icons.d.ts +13 -0
  225. package/editor/editor.module.d.ts +10 -0
  226. package/editor/editor.styles.d.ts +2 -0
  227. package/editor/editor.types.d.ts +92 -0
  228. package/editor/index.d.ts +5 -0
  229. package/editor/public-api.d.ts +6 -0
  230. package/emptystate/emptystate.component.d.ts +44 -0
  231. package/emptystate/emptystate.module.d.ts +8 -0
  232. package/emptystate/index.d.ts +5 -0
  233. package/emptystate/public-api.d.ts +2 -0
  234. package/errorpage/errorpage.component.d.ts +73 -0
  235. package/errorpage/errorpage.module.d.ts +8 -0
  236. package/errorpage/index.d.ts +5 -0
  237. package/errorpage/public-api.d.ts +2 -0
  238. package/esm2020/accordion/accordion.component.mjs +376 -0
  239. package/esm2020/accordion/accordion.module.mjs +19 -0
  240. package/esm2020/accordion/accordion.types.mjs +17 -0
  241. package/esm2020/accordion/public-api.mjs +4 -0
  242. package/esm2020/accordion/wirabyte-ui-accordion.mjs +5 -0
  243. package/esm2020/alert/alert-dialog.base.mjs +355 -0
  244. package/esm2020/alert/alert-dialog.component.mjs +21 -0
  245. package/esm2020/alert/alert.module.mjs +17 -0
  246. package/esm2020/alert/alert.service.mjs +142 -0
  247. package/esm2020/alert/alert.types.mjs +2 -0
  248. package/esm2020/alert/public-api.mjs +6 -0
  249. package/esm2020/alert/wirabyte-ui-alert.mjs +5 -0
  250. package/esm2020/animate/animate.directive.mjs +71 -0
  251. package/esm2020/animate/animate.module.mjs +21 -0
  252. package/esm2020/animate/animate.service.mjs +183 -0
  253. package/esm2020/animate/animate.styles.mjs +3 -0
  254. package/esm2020/animate/animate.types.mjs +2 -0
  255. package/esm2020/animate/public-api.mjs +5 -0
  256. package/esm2020/animate/wirabyte-ui-animate.mjs +5 -0
  257. package/esm2020/api/public-api.mjs +11 -0
  258. package/esm2020/api/shared.module.mjs +17 -0
  259. package/esm2020/api/wirabyte-ui-api.mjs +5 -0
  260. package/esm2020/asidemenu/asidemenu.component.mjs +811 -0
  261. package/esm2020/asidemenu/asidemenu.module.mjs +18 -0
  262. package/esm2020/asidemenu/public-api.mjs +3 -0
  263. package/esm2020/asidemenu/wirabyte-ui-asidemenu.mjs +5 -0
  264. package/esm2020/autocomplete/autocomplete.base.mjs +567 -0
  265. package/esm2020/autocomplete/autocomplete.component.mjs +24 -0
  266. package/esm2020/autocomplete/autocomplete.module.mjs +18 -0
  267. package/esm2020/autocomplete/autocomplete.types.mjs +2 -0
  268. package/esm2020/autocomplete/public-api.mjs +5 -0
  269. package/esm2020/autocomplete/wirabyte-ui-autocomplete.mjs +5 -0
  270. package/esm2020/avatar/avatar.component.mjs +81 -0
  271. package/esm2020/avatar/avatar.module.mjs +17 -0
  272. package/esm2020/avatar/avatar.types.mjs +2 -0
  273. package/esm2020/avatar/public-api.mjs +4 -0
  274. package/esm2020/avatar/wirabyte-ui-avatar.mjs +5 -0
  275. package/esm2020/badge/badge.component.mjs +52 -0
  276. package/esm2020/badge/badge.directive.mjs +111 -0
  277. package/esm2020/badge/badge.module.mjs +18 -0
  278. package/esm2020/badge/badge.styles.mjs +3 -0
  279. package/esm2020/badge/badge.types.mjs +2 -0
  280. package/esm2020/badge/public-api.mjs +5 -0
  281. package/esm2020/badge/wirabyte-ui-badge.mjs +5 -0
  282. package/esm2020/blockui/blockui.component.mjs +152 -0
  283. package/esm2020/blockui/blockui.module.mjs +17 -0
  284. package/esm2020/blockui/public-api.mjs +3 -0
  285. package/esm2020/blockui/wirabyte-ui-blockui.mjs +5 -0
  286. package/esm2020/bottombar/bottombar.component.mjs +209 -0
  287. package/esm2020/bottombar/bottombar.module.mjs +18 -0
  288. package/esm2020/bottombar/public-api.mjs +3 -0
  289. package/esm2020/bottombar/wirabyte-ui-bottombar.mjs +5 -0
  290. package/esm2020/breadcrumb/breadcrumb.component.mjs +86 -0
  291. package/esm2020/breadcrumb/breadcrumb.module.mjs +17 -0
  292. package/esm2020/breadcrumb/public-api.mjs +3 -0
  293. package/esm2020/breadcrumb/wirabyte-ui-breadcrumb.mjs +5 -0
  294. package/esm2020/button/button-class.mjs +26 -0
  295. package/esm2020/button/button.component.mjs +175 -0
  296. package/esm2020/button/button.directive.mjs +193 -0
  297. package/esm2020/button/button.module.mjs +18 -0
  298. package/esm2020/button/button.styles.mjs +3 -0
  299. package/esm2020/button/button.types.mjs +2 -0
  300. package/esm2020/button/public-api.mjs +8 -0
  301. package/esm2020/button/wirabyte-ui-button.mjs +5 -0
  302. package/esm2020/card/card-slots.mjs +27 -0
  303. package/esm2020/card/card.component.mjs +88 -0
  304. package/esm2020/card/card.module.mjs +19 -0
  305. package/esm2020/card/card.types.mjs +2 -0
  306. package/esm2020/card/public-api.mjs +5 -0
  307. package/esm2020/card/wirabyte-ui-card.mjs +5 -0
  308. package/esm2020/carousel/carousel.component.mjs +617 -0
  309. package/esm2020/carousel/carousel.module.mjs +19 -0
  310. package/esm2020/carousel/carousel.types.mjs +2 -0
  311. package/esm2020/carousel/public-api.mjs +4 -0
  312. package/esm2020/carousel/wirabyte-ui-carousel.mjs +5 -0
  313. package/esm2020/chart/chart.component.mjs +42 -0
  314. package/esm2020/chart/chart.module.mjs +17 -0
  315. package/esm2020/chart/public-api.mjs +3 -0
  316. package/esm2020/chart/wirabyte-ui-chart.mjs +5 -0
  317. package/esm2020/chartjs/chartjs.base.mjs +204 -0
  318. package/esm2020/chartjs/chartjs.component.mjs +41 -0
  319. package/esm2020/chartjs/chartjs.module.mjs +17 -0
  320. package/esm2020/chartjs/chartjs.types.mjs +2 -0
  321. package/esm2020/chartjs/public-api.mjs +5 -0
  322. package/esm2020/chartjs/wirabyte-ui-chartjs.mjs +5 -0
  323. package/esm2020/checkbox/checkbox.component.mjs +140 -0
  324. package/esm2020/checkbox/checkbox.module.mjs +17 -0
  325. package/esm2020/checkbox/checkbox.styles.mjs +3 -0
  326. package/esm2020/checkbox/checkbox.types.mjs +2 -0
  327. package/esm2020/checkbox/public-api.mjs +6 -0
  328. package/esm2020/checkbox/wirabyte-ui-checkbox.mjs +5 -0
  329. package/esm2020/chip/chip.component.mjs +76 -0
  330. package/esm2020/chip/chip.module.mjs +17 -0
  331. package/esm2020/chip/public-api.mjs +3 -0
  332. package/esm2020/chip/wirabyte-ui-chip.mjs +5 -0
  333. package/esm2020/colorpicker/colorpicker.component.mjs +308 -0
  334. package/esm2020/colorpicker/colorpicker.module.mjs +17 -0
  335. package/esm2020/colorpicker/public-api.mjs +3 -0
  336. package/esm2020/colorpicker/wirabyte-ui-colorpicker.mjs +5 -0
  337. package/esm2020/config/forms.mjs +38 -0
  338. package/esm2020/config/initializer.mjs +6 -0
  339. package/esm2020/config/menu-item.mjs +2 -0
  340. package/esm2020/config/options.mjs +3 -0
  341. package/esm2020/config/popup.mjs +153 -0
  342. package/esm2020/config/provide.mjs +45 -0
  343. package/esm2020/config/public-api.mjs +17 -0
  344. package/esm2020/config/ripple.mjs +13 -0
  345. package/esm2020/config/scroll-lock.mjs +31 -0
  346. package/esm2020/config/severity.mjs +9 -0
  347. package/esm2020/config/style-loader.mjs +32 -0
  348. package/esm2020/config/template.mjs +46 -0
  349. package/esm2020/config/theme.service.mjs +161 -0
  350. package/esm2020/config/version-guard.mjs +43 -0
  351. package/esm2020/config/version.mjs +3 -0
  352. package/esm2020/config/wirabyte-ui-config.mjs +5 -0
  353. package/esm2020/config/wu-config.service.mjs +50 -0
  354. package/esm2020/confirmdialog/confirmation.service.mjs +78 -0
  355. package/esm2020/confirmdialog/confirmdialog.base.mjs +274 -0
  356. package/esm2020/confirmdialog/confirmdialog.component.mjs +22 -0
  357. package/esm2020/confirmdialog/confirmdialog.module.mjs +18 -0
  358. package/esm2020/confirmdialog/confirmdialog.types.mjs +8 -0
  359. package/esm2020/confirmdialog/public-api.mjs +6 -0
  360. package/esm2020/confirmdialog/wirabyte-ui-confirmdialog.mjs +5 -0
  361. package/esm2020/contextmenu/contextmenu.component.mjs +159 -0
  362. package/esm2020/contextmenu/contextmenu.module.mjs +17 -0
  363. package/esm2020/contextmenu/public-api.mjs +3 -0
  364. package/esm2020/contextmenu/wirabyte-ui-contextmenu.mjs +5 -0
  365. package/esm2020/core/carousel.mjs +62 -0
  366. package/esm2020/core/catalog.mjs +203 -0
  367. package/esm2020/core/chart/format.mjs +66 -0
  368. package/esm2020/core/chart/index.mjs +7 -0
  369. package/esm2020/core/chart/kinds.mjs +1336 -0
  370. package/esm2020/core/chart/model.mjs +713 -0
  371. package/esm2020/core/chart/more.mjs +311 -0
  372. package/esm2020/core/chart/paths.mjs +160 -0
  373. package/esm2020/core/chart/scale.mjs +58 -0
  374. package/esm2020/core/color.mjs +94 -0
  375. package/esm2020/core/colorpicker.mjs +73 -0
  376. package/esm2020/core/compat.mjs +149 -0
  377. package/esm2020/core/config.mjs +163 -0
  378. package/esm2020/core/date.mjs +317 -0
  379. package/esm2020/core/datepicker.mjs +526 -0
  380. package/esm2020/core/dock.mjs +14 -0
  381. package/esm2020/core/editor.mjs +271 -0
  382. package/esm2020/core/errorpage.mjs +47 -0
  383. package/esm2020/core/excel.mjs +809 -0
  384. package/esm2020/core/exporters.mjs +241 -0
  385. package/esm2020/core/families.mjs +1756 -0
  386. package/esm2020/core/fileupload.mjs +48 -0
  387. package/esm2020/core/flow/changes.mjs +205 -0
  388. package/esm2020/core/flow/edges.mjs +87 -0
  389. package/esm2020/core/flow/export.mjs +231 -0
  390. package/esm2020/core/flow/geometry.mjs +309 -0
  391. package/esm2020/core/flow/graph.mjs +314 -0
  392. package/esm2020/core/flow/history.mjs +105 -0
  393. package/esm2020/core/flow/index.mjs +14 -0
  394. package/esm2020/core/flow/interaction.mjs +246 -0
  395. package/esm2020/core/flow/layout.mjs +586 -0
  396. package/esm2020/core/flow/paths.mjs +252 -0
  397. package/esm2020/core/flow/text.mjs +68 -0
  398. package/esm2020/core/flow/types.mjs +7 -0
  399. package/esm2020/core/flow/viewport.mjs +133 -0
  400. package/esm2020/core/i18n.mjs +78 -0
  401. package/esm2020/core/imagecompare.mjs +28 -0
  402. package/esm2020/core/imagecropper.mjs +483 -0
  403. package/esm2020/core/index.mjs +40 -0
  404. package/esm2020/core/inputotp.mjs +50 -0
  405. package/esm2020/core/knob.mjs +106 -0
  406. package/esm2020/core/mask.mjs +112 -0
  407. package/esm2020/core/menu.mjs +77 -0
  408. package/esm2020/core/number.mjs +131 -0
  409. package/esm2020/core/organizationchart.mjs +84 -0
  410. package/esm2020/core/overrides.mjs +169 -0
  411. package/esm2020/core/picklist.mjs +248 -0
  412. package/esm2020/core/select.mjs +161 -0
  413. package/esm2020/core/splitter.mjs +63 -0
  414. package/esm2020/core/table.mjs +174 -0
  415. package/esm2020/core/terminal.mjs +29 -0
  416. package/esm2020/core/thai/buddhist.mjs +129 -0
  417. package/esm2020/core/thai/locale.mjs +652 -0
  418. package/esm2020/core/thai/text.mjs +164 -0
  419. package/esm2020/core/thai/thai-id.mjs +22 -0
  420. package/esm2020/core/tokens.mjs +314 -0
  421. package/esm2020/core/tree.mjs +137 -0
  422. package/esm2020/core/validation.mjs +43 -0
  423. package/esm2020/core/wirabyte-ui-core.mjs +5 -0
  424. package/esm2020/datepicker/datepicker.component.mjs +921 -0
  425. package/esm2020/datepicker/datepicker.module.mjs +17 -0
  426. package/esm2020/datepicker/datepicker.types.mjs +2 -0
  427. package/esm2020/datepicker/public-api.mjs +4 -0
  428. package/esm2020/datepicker/wirabyte-ui-datepicker.mjs +5 -0
  429. package/esm2020/dialog/dialog.base.mjs +433 -0
  430. package/esm2020/dialog/dialog.component.mjs +18 -0
  431. package/esm2020/dialog/dialog.module.mjs +19 -0
  432. package/esm2020/dialog/dialog.service.mjs +237 -0
  433. package/esm2020/dialog/dialog.types.mjs +2 -0
  434. package/esm2020/dialog/public-api.mjs +6 -0
  435. package/esm2020/dialog/wirabyte-ui-dialog.mjs +5 -0
  436. package/esm2020/divider/divider.component.mjs +56 -0
  437. package/esm2020/divider/divider.module.mjs +17 -0
  438. package/esm2020/divider/divider.types.mjs +2 -0
  439. package/esm2020/divider/public-api.mjs +4 -0
  440. package/esm2020/divider/wirabyte-ui-divider.mjs +5 -0
  441. package/esm2020/dock/dock.component.mjs +287 -0
  442. package/esm2020/dock/dock.module.mjs +18 -0
  443. package/esm2020/dock/public-api.mjs +3 -0
  444. package/esm2020/dock/wirabyte-ui-dock.mjs +5 -0
  445. package/esm2020/dragdrop/dragdrop.directive.mjs +206 -0
  446. package/esm2020/dragdrop/dragdrop.module.mjs +17 -0
  447. package/esm2020/dragdrop/dragdrop.styles.mjs +3 -0
  448. package/esm2020/dragdrop/public-api.mjs +3 -0
  449. package/esm2020/dragdrop/wirabyte-ui-dragdrop.mjs +5 -0
  450. package/esm2020/drawer/drawer.component.mjs +300 -0
  451. package/esm2020/drawer/drawer.module.mjs +17 -0
  452. package/esm2020/drawer/public-api.mjs +6 -0
  453. package/esm2020/drawer/wirabyte-ui-drawer.mjs +5 -0
  454. package/esm2020/editor/editor-content.directive.mjs +24 -0
  455. package/esm2020/editor/editor-icon.directive.mjs +24 -0
  456. package/esm2020/editor/editor.base.mjs +2082 -0
  457. package/esm2020/editor/editor.component.mjs +20 -0
  458. package/esm2020/editor/editor.dom.mjs +787 -0
  459. package/esm2020/editor/editor.icons.mjs +106 -0
  460. package/esm2020/editor/editor.module.mjs +19 -0
  461. package/esm2020/editor/editor.styles.mjs +3 -0
  462. package/esm2020/editor/editor.types.mjs +6 -0
  463. package/esm2020/editor/public-api.mjs +7 -0
  464. package/esm2020/editor/wirabyte-ui-editor.mjs +5 -0
  465. package/esm2020/emptystate/emptystate.component.mjs +78 -0
  466. package/esm2020/emptystate/emptystate.module.mjs +17 -0
  467. package/esm2020/emptystate/public-api.mjs +3 -0
  468. package/esm2020/emptystate/wirabyte-ui-emptystate.mjs +5 -0
  469. package/esm2020/errorpage/errorpage.component.mjs +163 -0
  470. package/esm2020/errorpage/errorpage.module.mjs +17 -0
  471. package/esm2020/errorpage/public-api.mjs +3 -0
  472. package/esm2020/errorpage/wirabyte-ui-errorpage.mjs +5 -0
  473. package/esm2020/excel/excel.mjs +35 -0
  474. package/esm2020/excel/public-api.mjs +3 -0
  475. package/esm2020/excel/wirabyte-ui-excel.mjs +5 -0
  476. package/esm2020/fieldset/fieldset.component.mjs +74 -0
  477. package/esm2020/fieldset/fieldset.module.mjs +18 -0
  478. package/esm2020/fieldset/public-api.mjs +3 -0
  479. package/esm2020/fieldset/wirabyte-ui-fieldset.mjs +5 -0
  480. package/esm2020/fileupload/fileupload.base.mjs +563 -0
  481. package/esm2020/fileupload/fileupload.component.mjs +19 -0
  482. package/esm2020/fileupload/fileupload.module.mjs +18 -0
  483. package/esm2020/fileupload/fileupload.types.mjs +2 -0
  484. package/esm2020/fileupload/public-api.mjs +5 -0
  485. package/esm2020/fileupload/wirabyte-ui-fileupload.mjs +5 -0
  486. package/esm2020/floatlabel/floatlabel.component.mjs +53 -0
  487. package/esm2020/floatlabel/floatlabel.module.mjs +17 -0
  488. package/esm2020/floatlabel/floatlabel.types.mjs +2 -0
  489. package/esm2020/floatlabel/public-api.mjs +4 -0
  490. package/esm2020/floatlabel/wirabyte-ui-floatlabel.mjs +5 -0
  491. package/esm2020/flow/flow-background.component.mjs +183 -0
  492. package/esm2020/flow/flow-controls.component.mjs +267 -0
  493. package/esm2020/flow/flow-handle.component.mjs +130 -0
  494. package/esm2020/flow/flow-history.directive.mjs +129 -0
  495. package/esm2020/flow/flow-host.mjs +7 -0
  496. package/esm2020/flow/flow-minimap.component.mjs +322 -0
  497. package/esm2020/flow/flow-node-outlet.mjs +148 -0
  498. package/esm2020/flow/flow-node-resizer.component.mjs +208 -0
  499. package/esm2020/flow/flow-node-toolbar.component.mjs +119 -0
  500. package/esm2020/flow/flow-panel.component.mjs +37 -0
  501. package/esm2020/flow/flow-templates.mjs +100 -0
  502. package/esm2020/flow/flow.component.mjs +3245 -0
  503. package/esm2020/flow/flow.module.mjs +76 -0
  504. package/esm2020/flow/flow.types.mjs +7 -0
  505. package/esm2020/flow/public-api.mjs +17 -0
  506. package/esm2020/flow/wirabyte-ui-flow.mjs +5 -0
  507. package/esm2020/galleria/galleria.component.mjs +480 -0
  508. package/esm2020/galleria/galleria.module.mjs +17 -0
  509. package/esm2020/galleria/public-api.mjs +3 -0
  510. package/esm2020/galleria/wirabyte-ui-galleria.mjs +5 -0
  511. package/esm2020/i18n/i18n.module.mjs +37 -0
  512. package/esm2020/i18n/i18n.service.mjs +148 -0
  513. package/esm2020/i18n/i18n.types.mjs +3 -0
  514. package/esm2020/i18n/language-switch.component.mjs +91 -0
  515. package/esm2020/i18n/public-api.mjs +7 -0
  516. package/esm2020/i18n/translate.pipe.mjs +52 -0
  517. package/esm2020/i18n/wirabyte-ui-i18n.mjs +5 -0
  518. package/esm2020/iconfield/iconfield.component.mjs +73 -0
  519. package/esm2020/iconfield/iconfield.module.mjs +17 -0
  520. package/esm2020/iconfield/public-api.mjs +3 -0
  521. package/esm2020/iconfield/wirabyte-ui-iconfield.mjs +5 -0
  522. package/esm2020/image/image.base.mjs +183 -0
  523. package/esm2020/image/image.component.mjs +14 -0
  524. package/esm2020/image/image.module.mjs +18 -0
  525. package/esm2020/image/public-api.mjs +4 -0
  526. package/esm2020/image/wirabyte-ui-image.mjs +5 -0
  527. package/esm2020/imagecompare/imagecompare.component.mjs +200 -0
  528. package/esm2020/imagecompare/imagecompare.module.mjs +18 -0
  529. package/esm2020/imagecompare/public-api.mjs +3 -0
  530. package/esm2020/imagecompare/wirabyte-ui-imagecompare.mjs +5 -0
  531. package/esm2020/imagecropper/imagecropper.component.mjs +1253 -0
  532. package/esm2020/imagecropper/imagecropper.module.mjs +17 -0
  533. package/esm2020/imagecropper/imagecropper.types.mjs +6 -0
  534. package/esm2020/imagecropper/public-api.mjs +5 -0
  535. package/esm2020/imagecropper/wirabyte-ui-imagecropper.mjs +5 -0
  536. package/esm2020/inplace/inplace.component.mjs +145 -0
  537. package/esm2020/inplace/inplace.module.mjs +17 -0
  538. package/esm2020/inplace/public-api.mjs +3 -0
  539. package/esm2020/inplace/wirabyte-ui-inplace.mjs +5 -0
  540. package/esm2020/inputgroup/inputgroup.component.mjs +61 -0
  541. package/esm2020/inputgroup/inputgroup.module.mjs +17 -0
  542. package/esm2020/inputgroup/public-api.mjs +3 -0
  543. package/esm2020/inputgroup/wirabyte-ui-inputgroup.mjs +5 -0
  544. package/esm2020/inputmask/inputmask.base.mjs +319 -0
  545. package/esm2020/inputmask/inputmask.component.mjs +23 -0
  546. package/esm2020/inputmask/inputmask.module.mjs +17 -0
  547. package/esm2020/inputmask/public-api.mjs +4 -0
  548. package/esm2020/inputmask/wirabyte-ui-inputmask.mjs +5 -0
  549. package/esm2020/inputnumber/inputnumber.component.mjs +364 -0
  550. package/esm2020/inputnumber/inputnumber.module.mjs +17 -0
  551. package/esm2020/inputnumber/inputnumber.types.mjs +2 -0
  552. package/esm2020/inputnumber/public-api.mjs +4 -0
  553. package/esm2020/inputnumber/wirabyte-ui-inputnumber.mjs +5 -0
  554. package/esm2020/inputotp/inputotp.component.mjs +344 -0
  555. package/esm2020/inputotp/inputotp.module.mjs +18 -0
  556. package/esm2020/inputotp/inputotp.types.mjs +2 -0
  557. package/esm2020/inputotp/public-api.mjs +4 -0
  558. package/esm2020/inputotp/wirabyte-ui-inputotp.mjs +5 -0
  559. package/esm2020/inputtext/inputtext.directive.mjs +62 -0
  560. package/esm2020/inputtext/inputtext.module.mjs +17 -0
  561. package/esm2020/inputtext/inputtext.styles.mjs +3 -0
  562. package/esm2020/inputtext/inputtext.types.mjs +2 -0
  563. package/esm2020/inputtext/public-api.mjs +6 -0
  564. package/esm2020/inputtext/wirabyte-ui-inputtext.mjs +5 -0
  565. package/esm2020/keyfilter/keyfilter.directive.mjs +131 -0
  566. package/esm2020/keyfilter/keyfilter.module.mjs +17 -0
  567. package/esm2020/keyfilter/public-api.mjs +3 -0
  568. package/esm2020/keyfilter/wirabyte-ui-keyfilter.mjs +5 -0
  569. package/esm2020/knob/knob.component.mjs +207 -0
  570. package/esm2020/knob/knob.module.mjs +17 -0
  571. package/esm2020/knob/public-api.mjs +3 -0
  572. package/esm2020/knob/wirabyte-ui-knob.mjs +5 -0
  573. package/esm2020/listbox/listbox.component.mjs +520 -0
  574. package/esm2020/listbox/listbox.module.mjs +17 -0
  575. package/esm2020/listbox/public-api.mjs +3 -0
  576. package/esm2020/listbox/wirabyte-ui-listbox.mjs +5 -0
  577. package/esm2020/menu/menu.base.mjs +320 -0
  578. package/esm2020/menu/menu.component.mjs +19 -0
  579. package/esm2020/menu/menu.module.mjs +18 -0
  580. package/esm2020/menu/public-api.mjs +4 -0
  581. package/esm2020/menu/wirabyte-ui-menu.mjs +5 -0
  582. package/esm2020/menubar/menubar.base.mjs +568 -0
  583. package/esm2020/menubar/menubar.component.mjs +19 -0
  584. package/esm2020/menubar/menubar.module.mjs +18 -0
  585. package/esm2020/menubar/public-api.mjs +4 -0
  586. package/esm2020/menubar/wirabyte-ui-menubar.mjs +5 -0
  587. package/esm2020/message/message.component.mjs +107 -0
  588. package/esm2020/message/message.module.mjs +20 -0
  589. package/esm2020/message/message.types.mjs +2 -0
  590. package/esm2020/message/messages.base.mjs +109 -0
  591. package/esm2020/message/messages.component.mjs +62 -0
  592. package/esm2020/message/public-api.mjs +6 -0
  593. package/esm2020/message/wirabyte-ui-message.mjs +5 -0
  594. package/esm2020/metergroup/metergroup.component.mjs +146 -0
  595. package/esm2020/metergroup/metergroup.module.mjs +17 -0
  596. package/esm2020/metergroup/metergroup.types.mjs +26 -0
  597. package/esm2020/metergroup/public-api.mjs +4 -0
  598. package/esm2020/metergroup/wirabyte-ui-metergroup.mjs +5 -0
  599. package/esm2020/multiselect/multiselect.base.mjs +732 -0
  600. package/esm2020/multiselect/multiselect.component.mjs +26 -0
  601. package/esm2020/multiselect/multiselect.module.mjs +18 -0
  602. package/esm2020/multiselect/multiselect.styles.mjs +3 -0
  603. package/esm2020/multiselect/multiselect.types.mjs +2 -0
  604. package/esm2020/multiselect/public-api.mjs +6 -0
  605. package/esm2020/multiselect/wirabyte-ui-multiselect.mjs +5 -0
  606. package/esm2020/navbar/navbar.component.mjs +460 -0
  607. package/esm2020/navbar/navbar.module.mjs +18 -0
  608. package/esm2020/navbar/public-api.mjs +3 -0
  609. package/esm2020/navbar/wirabyte-ui-navbar.mjs +5 -0
  610. package/esm2020/orderlist/orderlist.base.mjs +411 -0
  611. package/esm2020/orderlist/orderlist.component.mjs +17 -0
  612. package/esm2020/orderlist/orderlist.module.mjs +18 -0
  613. package/esm2020/orderlist/orderlist.types.mjs +2 -0
  614. package/esm2020/orderlist/public-api.mjs +5 -0
  615. package/esm2020/orderlist/wirabyte-ui-orderlist.mjs +5 -0
  616. package/esm2020/organizationchart/organizationchart.component.mjs +200 -0
  617. package/esm2020/organizationchart/organizationchart.module.mjs +18 -0
  618. package/esm2020/organizationchart/organizationchart.types.mjs +2 -0
  619. package/esm2020/organizationchart/public-api.mjs +4 -0
  620. package/esm2020/organizationchart/wirabyte-ui-organizationchart.mjs +5 -0
  621. package/esm2020/paginator/paginator.base.mjs +188 -0
  622. package/esm2020/paginator/paginator.component.mjs +20 -0
  623. package/esm2020/paginator/paginator.module.mjs +17 -0
  624. package/esm2020/paginator/paginator.types.mjs +2 -0
  625. package/esm2020/paginator/public-api.mjs +5 -0
  626. package/esm2020/paginator/wirabyte-ui-paginator.mjs +5 -0
  627. package/esm2020/panel/panel.component.mjs +108 -0
  628. package/esm2020/panel/panel.module.mjs +19 -0
  629. package/esm2020/panel/panel.types.mjs +2 -0
  630. package/esm2020/panel/public-api.mjs +4 -0
  631. package/esm2020/panel/wirabyte-ui-panel.mjs +5 -0
  632. package/esm2020/panelmenu/panelmenu.base.mjs +181 -0
  633. package/esm2020/panelmenu/panelmenu.component.mjs +15 -0
  634. package/esm2020/panelmenu/panelmenu.module.mjs +18 -0
  635. package/esm2020/panelmenu/public-api.mjs +4 -0
  636. package/esm2020/panelmenu/wirabyte-ui-panelmenu.mjs +5 -0
  637. package/esm2020/password/password.component.mjs +233 -0
  638. package/esm2020/password/password.module.mjs +17 -0
  639. package/esm2020/password/password.types.mjs +14 -0
  640. package/esm2020/password/public-api.mjs +4 -0
  641. package/esm2020/password/wirabyte-ui-password.mjs +5 -0
  642. package/esm2020/picklist/list-drag.mjs +259 -0
  643. package/esm2020/picklist/picklist.base.mjs +649 -0
  644. package/esm2020/picklist/picklist.component.mjs +17 -0
  645. package/esm2020/picklist/picklist.module.mjs +18 -0
  646. package/esm2020/picklist/picklist.styles.mjs +3 -0
  647. package/esm2020/picklist/picklist.types.mjs +2 -0
  648. package/esm2020/picklist/public-api.mjs +8 -0
  649. package/esm2020/picklist/wirabyte-ui-picklist.mjs +5 -0
  650. package/esm2020/popover/popover.base.mjs +171 -0
  651. package/esm2020/popover/popover.component.mjs +17 -0
  652. package/esm2020/popover/popover.module.mjs +18 -0
  653. package/esm2020/popover/public-api.mjs +4 -0
  654. package/esm2020/popover/wirabyte-ui-popover.mjs +5 -0
  655. package/esm2020/presets/public-api.mjs +5 -0
  656. package/esm2020/presets/wirabyte-ui-presets.mjs +5 -0
  657. package/esm2020/progressbar/progressbar.component.mjs +117 -0
  658. package/esm2020/progressbar/progressbar.module.mjs +17 -0
  659. package/esm2020/progressbar/progressbar.types.mjs +19 -0
  660. package/esm2020/progressbar/public-api.mjs +4 -0
  661. package/esm2020/progressbar/wirabyte-ui-progressbar.mjs +5 -0
  662. package/esm2020/progressspinner/progressspinner.component.mjs +109 -0
  663. package/esm2020/progressspinner/progressspinner.module.mjs +17 -0
  664. package/esm2020/progressspinner/progressspinner.types.mjs +27 -0
  665. package/esm2020/progressspinner/public-api.mjs +4 -0
  666. package/esm2020/progressspinner/wirabyte-ui-progressspinner.mjs +5 -0
  667. package/esm2020/public-api.mjs +3 -0
  668. package/esm2020/radiobutton/public-api.mjs +7 -0
  669. package/esm2020/radiobutton/radio-registry.mjs +40 -0
  670. package/esm2020/radiobutton/radiobutton.component.mjs +125 -0
  671. package/esm2020/radiobutton/radiobutton.module.mjs +17 -0
  672. package/esm2020/radiobutton/radiobutton.styles.mjs +3 -0
  673. package/esm2020/radiobutton/radiobutton.types.mjs +2 -0
  674. package/esm2020/radiobutton/wirabyte-ui-radiobutton.mjs +5 -0
  675. package/esm2020/rating/public-api.mjs +4 -0
  676. package/esm2020/rating/rating.component.mjs +107 -0
  677. package/esm2020/rating/rating.module.mjs +17 -0
  678. package/esm2020/rating/rating.types.mjs +2 -0
  679. package/esm2020/rating/wirabyte-ui-rating.mjs +5 -0
  680. package/esm2020/result/public-api.mjs +3 -0
  681. package/esm2020/result/result.component.mjs +72 -0
  682. package/esm2020/result/result.module.mjs +17 -0
  683. package/esm2020/result/wirabyte-ui-result.mjs +5 -0
  684. package/esm2020/ripple/public-api.mjs +3 -0
  685. package/esm2020/ripple/ripple.directive.mjs +43 -0
  686. package/esm2020/ripple/ripple.module.mjs +17 -0
  687. package/esm2020/ripple/ripple.styles.mjs +3 -0
  688. package/esm2020/ripple/wirabyte-ui-ripple.mjs +5 -0
  689. package/esm2020/scroller/public-api.mjs +6 -0
  690. package/esm2020/scroller/scroller.component.mjs +305 -0
  691. package/esm2020/scroller/scroller.module.mjs +17 -0
  692. package/esm2020/scroller/wirabyte-ui-scroller.mjs +5 -0
  693. package/esm2020/scrollpanel/public-api.mjs +3 -0
  694. package/esm2020/scrollpanel/scrollpanel.component.mjs +67 -0
  695. package/esm2020/scrollpanel/scrollpanel.module.mjs +17 -0
  696. package/esm2020/scrollpanel/wirabyte-ui-scrollpanel.mjs +5 -0
  697. package/esm2020/select/public-api.mjs +7 -0
  698. package/esm2020/select/select.base.mjs +667 -0
  699. package/esm2020/select/select.component.mjs +26 -0
  700. package/esm2020/select/select.module.mjs +17 -0
  701. package/esm2020/select/select.styles.mjs +3 -0
  702. package/esm2020/select/select.types.mjs +2 -0
  703. package/esm2020/select/wirabyte-ui-select.mjs +5 -0
  704. package/esm2020/selectbutton/public-api.mjs +4 -0
  705. package/esm2020/selectbutton/selectbutton.component.mjs +174 -0
  706. package/esm2020/selectbutton/selectbutton.module.mjs +18 -0
  707. package/esm2020/selectbutton/selectbutton.types.mjs +2 -0
  708. package/esm2020/selectbutton/wirabyte-ui-selectbutton.mjs +5 -0
  709. package/esm2020/sitefooter/public-api.mjs +3 -0
  710. package/esm2020/sitefooter/sitefooter.component.mjs +139 -0
  711. package/esm2020/sitefooter/sitefooter.module.mjs +18 -0
  712. package/esm2020/sitefooter/wirabyte-ui-sitefooter.mjs +5 -0
  713. package/esm2020/skeleton/public-api.mjs +4 -0
  714. package/esm2020/skeleton/skeleton.component.mjs +51 -0
  715. package/esm2020/skeleton/skeleton.module.mjs +17 -0
  716. package/esm2020/skeleton/skeleton.types.mjs +2 -0
  717. package/esm2020/skeleton/wirabyte-ui-skeleton.mjs +5 -0
  718. package/esm2020/slider/public-api.mjs +3 -0
  719. package/esm2020/slider/slider.component.mjs +247 -0
  720. package/esm2020/slider/slider.module.mjs +17 -0
  721. package/esm2020/slider/wirabyte-ui-slider.mjs +5 -0
  722. package/esm2020/splitbutton/public-api.mjs +3 -0
  723. package/esm2020/splitbutton/splitbutton.component.mjs +180 -0
  724. package/esm2020/splitbutton/splitbutton.module.mjs +17 -0
  725. package/esm2020/splitbutton/wirabyte-ui-splitbutton.mjs +5 -0
  726. package/esm2020/splitter/public-api.mjs +5 -0
  727. package/esm2020/splitter/splitter-panel.component.mjs +32 -0
  728. package/esm2020/splitter/splitter.component.mjs +372 -0
  729. package/esm2020/splitter/splitter.module.mjs +19 -0
  730. package/esm2020/splitter/splitter.types.mjs +2 -0
  731. package/esm2020/splitter/wirabyte-ui-splitter.mjs +5 -0
  732. package/esm2020/stepper/public-api.mjs +4 -0
  733. package/esm2020/stepper/stepper.base.mjs +392 -0
  734. package/esm2020/stepper/stepper.component.mjs +191 -0
  735. package/esm2020/stepper/stepper.module.mjs +19 -0
  736. package/esm2020/stepper/wirabyte-ui-stepper.mjs +5 -0
  737. package/esm2020/steps/public-api.mjs +4 -0
  738. package/esm2020/steps/steps.base.mjs +148 -0
  739. package/esm2020/steps/steps.component.mjs +15 -0
  740. package/esm2020/steps/steps.module.mjs +17 -0
  741. package/esm2020/steps/wirabyte-ui-steps.mjs +5 -0
  742. package/esm2020/table/public-api.mjs +10 -0
  743. package/esm2020/table/table-celleditor.component.mjs +34 -0
  744. package/esm2020/table/table-filter.component.mjs +123 -0
  745. package/esm2020/table/table.base.mjs +1443 -0
  746. package/esm2020/table/table.celleditor.mjs +42 -0
  747. package/esm2020/table/table.component.mjs +21 -0
  748. package/esm2020/table/table.directives.mjs +1117 -0
  749. package/esm2020/table/table.filter.mjs +346 -0
  750. package/esm2020/table/table.module.mjs +99 -0
  751. package/esm2020/table/table.types.mjs +3 -0
  752. package/esm2020/table/wirabyte-ui-table.mjs +5 -0
  753. package/esm2020/tabmenu/public-api.mjs +3 -0
  754. package/esm2020/tabmenu/wirabyte-ui-tabmenu.mjs +5 -0
  755. package/esm2020/tabs/public-api.mjs +9 -0
  756. package/esm2020/tabs/tabmenu.base.mjs +196 -0
  757. package/esm2020/tabs/tabmenu.component.mjs +18 -0
  758. package/esm2020/tabs/tabmenu.module.mjs +18 -0
  759. package/esm2020/tabs/tabs.component.mjs +477 -0
  760. package/esm2020/tabs/tabs.module.mjs +20 -0
  761. package/esm2020/tabs/tabs.styles.mjs +3 -0
  762. package/esm2020/tabs/tabs.types.mjs +50 -0
  763. package/esm2020/tabs/wirabyte-ui-tabs.mjs +5 -0
  764. package/esm2020/tag/public-api.mjs +4 -0
  765. package/esm2020/tag/tag.component.mjs +52 -0
  766. package/esm2020/tag/tag.module.mjs +17 -0
  767. package/esm2020/tag/tag.types.mjs +2 -0
  768. package/esm2020/tag/wirabyte-ui-tag.mjs +5 -0
  769. package/esm2020/terminal/public-api.mjs +6 -0
  770. package/esm2020/terminal/terminal.component.mjs +150 -0
  771. package/esm2020/terminal/terminal.module.mjs +17 -0
  772. package/esm2020/terminal/terminal.service.mjs +35 -0
  773. package/esm2020/terminal/wirabyte-ui-terminal.mjs +5 -0
  774. package/esm2020/textarea/public-api.mjs +3 -0
  775. package/esm2020/textarea/textarea.directive.mjs +87 -0
  776. package/esm2020/textarea/textarea.module.mjs +17 -0
  777. package/esm2020/textarea/wirabyte-ui-textarea.mjs +5 -0
  778. package/esm2020/thai/public-api.mjs +4 -0
  779. package/esm2020/thai/thai.module.mjs +18 -0
  780. package/esm2020/thai/thai.pipes.mjs +115 -0
  781. package/esm2020/thai/wirabyte-ui-thai.mjs +5 -0
  782. package/esm2020/tieredmenu/public-api.mjs +3 -0
  783. package/esm2020/tieredmenu/tieredmenu.component.mjs +385 -0
  784. package/esm2020/tieredmenu/tieredmenu.module.mjs +17 -0
  785. package/esm2020/tieredmenu/wirabyte-ui-tieredmenu.mjs +5 -0
  786. package/esm2020/timeline/public-api.mjs +4 -0
  787. package/esm2020/timeline/timeline.base.mjs +66 -0
  788. package/esm2020/timeline/timeline.component.mjs +46 -0
  789. package/esm2020/timeline/timeline.module.mjs +18 -0
  790. package/esm2020/timeline/wirabyte-ui-timeline.mjs +5 -0
  791. package/esm2020/toast/message.service.mjs +34 -0
  792. package/esm2020/toast/public-api.mjs +6 -0
  793. package/esm2020/toast/toast.base.mjs +227 -0
  794. package/esm2020/toast/toast.component.mjs +17 -0
  795. package/esm2020/toast/toast.module.mjs +18 -0
  796. package/esm2020/toast/toast.types.mjs +2 -0
  797. package/esm2020/toast/wirabyte-ui-toast.mjs +5 -0
  798. package/esm2020/togglebutton/public-api.mjs +4 -0
  799. package/esm2020/togglebutton/togglebutton.component.mjs +129 -0
  800. package/esm2020/togglebutton/togglebutton.module.mjs +17 -0
  801. package/esm2020/togglebutton/togglebutton.types.mjs +2 -0
  802. package/esm2020/togglebutton/wirabyte-ui-togglebutton.mjs +5 -0
  803. package/esm2020/toggleswitch/public-api.mjs +4 -0
  804. package/esm2020/toggleswitch/toggleswitch.component.mjs +123 -0
  805. package/esm2020/toggleswitch/toggleswitch.module.mjs +17 -0
  806. package/esm2020/toggleswitch/toggleswitch.types.mjs +2 -0
  807. package/esm2020/toggleswitch/wirabyte-ui-toggleswitch.mjs +5 -0
  808. package/esm2020/toolbar/public-api.mjs +3 -0
  809. package/esm2020/toolbar/toolbar.component.mjs +67 -0
  810. package/esm2020/toolbar/toolbar.module.mjs +18 -0
  811. package/esm2020/toolbar/wirabyte-ui-toolbar.mjs +5 -0
  812. package/esm2020/tooltip/public-api.mjs +4 -0
  813. package/esm2020/tooltip/tooltip.directive.mjs +370 -0
  814. package/esm2020/tooltip/tooltip.module.mjs +17 -0
  815. package/esm2020/tooltip/tooltip.styles.mjs +3 -0
  816. package/esm2020/tooltip/tooltip.types.mjs +2 -0
  817. package/esm2020/tooltip/wirabyte-ui-tooltip.mjs +5 -0
  818. package/esm2020/tree/public-api.mjs +3 -0
  819. package/esm2020/tree/tree.component.mjs +453 -0
  820. package/esm2020/tree/tree.module.mjs +17 -0
  821. package/esm2020/tree/wirabyte-ui-tree.mjs +5 -0
  822. package/esm2020/treeselect/public-api.mjs +3 -0
  823. package/esm2020/treeselect/treeselect.component.mjs +410 -0
  824. package/esm2020/treeselect/treeselect.module.mjs +17 -0
  825. package/esm2020/treeselect/wirabyte-ui-treeselect.mjs +5 -0
  826. package/esm2020/validation/field-error.component.mjs +84 -0
  827. package/esm2020/validation/public-api.mjs +4 -0
  828. package/esm2020/validation/validation.module.mjs +19 -0
  829. package/esm2020/validation/validators.mjs +84 -0
  830. package/esm2020/validation/wirabyte-ui-validation.mjs +5 -0
  831. package/esm2020/wirabyte-ui.mjs +5 -0
  832. package/excel/excel.d.ts +24 -0
  833. package/excel/index.d.ts +5 -0
  834. package/excel/public-api.d.ts +3 -0
  835. package/fesm2015/wirabyte-ui-accordion.mjs +416 -0
  836. package/fesm2015/wirabyte-ui-accordion.mjs.map +1 -0
  837. package/fesm2015/wirabyte-ui-alert.mjs +555 -0
  838. package/fesm2015/wirabyte-ui-alert.mjs.map +1 -0
  839. package/fesm2015/wirabyte-ui-animate.mjs +280 -0
  840. package/fesm2015/wirabyte-ui-animate.mjs.map +1 -0
  841. package/fesm2015/wirabyte-ui-api.mjs +34 -0
  842. package/fesm2015/wirabyte-ui-api.mjs.map +1 -0
  843. package/fesm2015/wirabyte-ui-asidemenu.mjs +848 -0
  844. package/fesm2015/wirabyte-ui-asidemenu.mjs.map +1 -0
  845. package/fesm2015/wirabyte-ui-autocomplete.mjs +619 -0
  846. package/fesm2015/wirabyte-ui-autocomplete.mjs.map +1 -0
  847. package/fesm2015/wirabyte-ui-avatar.mjs +103 -0
  848. package/fesm2015/wirabyte-ui-avatar.mjs.map +1 -0
  849. package/fesm2015/wirabyte-ui-badge.mjs +185 -0
  850. package/fesm2015/wirabyte-ui-badge.mjs.map +1 -0
  851. package/fesm2015/wirabyte-ui-blockui.mjs +176 -0
  852. package/fesm2015/wirabyte-ui-blockui.mjs.map +1 -0
  853. package/fesm2015/wirabyte-ui-bottombar.mjs +237 -0
  854. package/fesm2015/wirabyte-ui-bottombar.mjs.map +1 -0
  855. package/fesm2015/wirabyte-ui-breadcrumb.mjs +109 -0
  856. package/fesm2015/wirabyte-ui-breadcrumb.mjs.map +1 -0
  857. package/fesm2015/wirabyte-ui-button.mjs +415 -0
  858. package/fesm2015/wirabyte-ui-button.mjs.map +1 -0
  859. package/fesm2015/wirabyte-ui-card.mjs +134 -0
  860. package/fesm2015/wirabyte-ui-card.mjs.map +1 -0
  861. package/fesm2015/wirabyte-ui-carousel.mjs +647 -0
  862. package/fesm2015/wirabyte-ui-carousel.mjs.map +1 -0
  863. package/fesm2015/wirabyte-ui-chart.mjs +63 -0
  864. package/fesm2015/wirabyte-ui-chart.mjs.map +1 -0
  865. package/fesm2015/wirabyte-ui-chartjs.mjs +268 -0
  866. package/fesm2015/wirabyte-ui-chartjs.mjs.map +1 -0
  867. package/fesm2015/wirabyte-ui-checkbox.mjs +164 -0
  868. package/fesm2015/wirabyte-ui-checkbox.mjs.map +1 -0
  869. package/fesm2015/wirabyte-ui-chip.mjs +97 -0
  870. package/fesm2015/wirabyte-ui-chip.mjs.map +1 -0
  871. package/fesm2015/wirabyte-ui-colorpicker.mjs +333 -0
  872. package/fesm2015/wirabyte-ui-colorpicker.mjs.map +1 -0
  873. package/fesm2015/wirabyte-ui-config.mjs +624 -0
  874. package/fesm2015/wirabyte-ui-config.mjs.map +1 -0
  875. package/fesm2015/wirabyte-ui-confirmdialog.mjs +421 -0
  876. package/fesm2015/wirabyte-ui-confirmdialog.mjs.map +1 -0
  877. package/fesm2015/wirabyte-ui-contextmenu.mjs +185 -0
  878. package/fesm2015/wirabyte-ui-contextmenu.mjs.map +1 -0
  879. package/fesm2015/wirabyte-ui-core.mjs +13312 -0
  880. package/fesm2015/wirabyte-ui-core.mjs.map +1 -0
  881. package/fesm2015/wirabyte-ui-datepicker.mjs +951 -0
  882. package/fesm2015/wirabyte-ui-datepicker.mjs.map +1 -0
  883. package/fesm2015/wirabyte-ui-dialog.mjs +707 -0
  884. package/fesm2015/wirabyte-ui-dialog.mjs.map +1 -0
  885. package/fesm2015/wirabyte-ui-divider.mjs +77 -0
  886. package/fesm2015/wirabyte-ui-divider.mjs.map +1 -0
  887. package/fesm2015/wirabyte-ui-dock.mjs +317 -0
  888. package/fesm2015/wirabyte-ui-dock.mjs.map +1 -0
  889. package/fesm2015/wirabyte-ui-dragdrop.mjs +232 -0
  890. package/fesm2015/wirabyte-ui-dragdrop.mjs.map +1 -0
  891. package/fesm2015/wirabyte-ui-drawer.mjs +326 -0
  892. package/fesm2015/wirabyte-ui-drawer.mjs.map +1 -0
  893. package/fesm2015/wirabyte-ui-editor.mjs +3099 -0
  894. package/fesm2015/wirabyte-ui-editor.mjs.map +1 -0
  895. package/fesm2015/wirabyte-ui-emptystate.mjs +101 -0
  896. package/fesm2015/wirabyte-ui-emptystate.mjs.map +1 -0
  897. package/fesm2015/wirabyte-ui-errorpage.mjs +187 -0
  898. package/fesm2015/wirabyte-ui-errorpage.mjs.map +1 -0
  899. package/fesm2015/wirabyte-ui-excel.mjs +49 -0
  900. package/fesm2015/wirabyte-ui-excel.mjs.map +1 -0
  901. package/fesm2015/wirabyte-ui-fieldset.mjs +95 -0
  902. package/fesm2015/wirabyte-ui-fieldset.mjs.map +1 -0
  903. package/fesm2015/wirabyte-ui-fileupload.mjs +607 -0
  904. package/fesm2015/wirabyte-ui-fileupload.mjs.map +1 -0
  905. package/fesm2015/wirabyte-ui-floatlabel.mjs +74 -0
  906. package/fesm2015/wirabyte-ui-floatlabel.mjs.map +1 -0
  907. package/fesm2015/wirabyte-ui-flow.mjs +4967 -0
  908. package/fesm2015/wirabyte-ui-flow.mjs.map +1 -0
  909. package/fesm2015/wirabyte-ui-galleria.mjs +506 -0
  910. package/fesm2015/wirabyte-ui-galleria.mjs.map +1 -0
  911. package/fesm2015/wirabyte-ui-i18n.mjs +330 -0
  912. package/fesm2015/wirabyte-ui-i18n.mjs.map +1 -0
  913. package/fesm2015/wirabyte-ui-iconfield.mjs +94 -0
  914. package/fesm2015/wirabyte-ui-iconfield.mjs.map +1 -0
  915. package/fesm2015/wirabyte-ui-image.mjs +218 -0
  916. package/fesm2015/wirabyte-ui-image.mjs.map +1 -0
  917. package/fesm2015/wirabyte-ui-imagecompare.mjs +224 -0
  918. package/fesm2015/wirabyte-ui-imagecompare.mjs.map +1 -0
  919. package/fesm2015/wirabyte-ui-imagecropper.mjs +1301 -0
  920. package/fesm2015/wirabyte-ui-imagecropper.mjs.map +1 -0
  921. package/fesm2015/wirabyte-ui-inplace.mjs +167 -0
  922. package/fesm2015/wirabyte-ui-inplace.mjs.map +1 -0
  923. package/fesm2015/wirabyte-ui-inputgroup.mjs +82 -0
  924. package/fesm2015/wirabyte-ui-inputgroup.mjs.map +1 -0
  925. package/fesm2015/wirabyte-ui-inputmask.mjs +367 -0
  926. package/fesm2015/wirabyte-ui-inputmask.mjs.map +1 -0
  927. package/fesm2015/wirabyte-ui-inputnumber.mjs +388 -0
  928. package/fesm2015/wirabyte-ui-inputnumber.mjs.map +1 -0
  929. package/fesm2015/wirabyte-ui-inputotp.mjs +370 -0
  930. package/fesm2015/wirabyte-ui-inputotp.mjs.map +1 -0
  931. package/fesm2015/wirabyte-ui-inputtext.mjs +85 -0
  932. package/fesm2015/wirabyte-ui-inputtext.mjs.map +1 -0
  933. package/fesm2015/wirabyte-ui-keyfilter.mjs +155 -0
  934. package/fesm2015/wirabyte-ui-keyfilter.mjs.map +1 -0
  935. package/fesm2015/wirabyte-ui-knob.mjs +229 -0
  936. package/fesm2015/wirabyte-ui-knob.mjs.map +1 -0
  937. package/fesm2015/wirabyte-ui-listbox.mjs +543 -0
  938. package/fesm2015/wirabyte-ui-listbox.mjs.map +1 -0
  939. package/fesm2015/wirabyte-ui-menu.mjs +365 -0
  940. package/fesm2015/wirabyte-ui-menu.mjs.map +1 -0
  941. package/fesm2015/wirabyte-ui-menubar.mjs +614 -0
  942. package/fesm2015/wirabyte-ui-menubar.mjs.map +1 -0
  943. package/fesm2015/wirabyte-ui-message.mjs +291 -0
  944. package/fesm2015/wirabyte-ui-message.mjs.map +1 -0
  945. package/fesm2015/wirabyte-ui-metergroup.mjs +192 -0
  946. package/fesm2015/wirabyte-ui-metergroup.mjs.map +1 -0
  947. package/fesm2015/wirabyte-ui-multiselect.mjs +795 -0
  948. package/fesm2015/wirabyte-ui-multiselect.mjs.map +1 -0
  949. package/fesm2015/wirabyte-ui-navbar.mjs +491 -0
  950. package/fesm2015/wirabyte-ui-navbar.mjs.map +1 -0
  951. package/fesm2015/wirabyte-ui-orderlist.mjs +450 -0
  952. package/fesm2015/wirabyte-ui-orderlist.mjs.map +1 -0
  953. package/fesm2015/wirabyte-ui-organizationchart.mjs +225 -0
  954. package/fesm2015/wirabyte-ui-organizationchart.mjs.map +1 -0
  955. package/fesm2015/wirabyte-ui-paginator.mjs +226 -0
  956. package/fesm2015/wirabyte-ui-paginator.mjs.map +1 -0
  957. package/fesm2015/wirabyte-ui-panel.mjs +130 -0
  958. package/fesm2015/wirabyte-ui-panel.mjs.map +1 -0
  959. package/fesm2015/wirabyte-ui-panelmenu.mjs +216 -0
  960. package/fesm2015/wirabyte-ui-panelmenu.mjs.map +1 -0
  961. package/fesm2015/wirabyte-ui-password.mjs +271 -0
  962. package/fesm2015/wirabyte-ui-password.mjs.map +1 -0
  963. package/fesm2015/wirabyte-ui-picklist.mjs +954 -0
  964. package/fesm2015/wirabyte-ui-picklist.mjs.map +1 -0
  965. package/fesm2015/wirabyte-ui-popover.mjs +210 -0
  966. package/fesm2015/wirabyte-ui-popover.mjs.map +1 -0
  967. package/fesm2015/wirabyte-ui-presets.mjs +10 -0
  968. package/fesm2015/wirabyte-ui-presets.mjs.map +1 -0
  969. package/fesm2015/wirabyte-ui-progressbar.mjs +156 -0
  970. package/fesm2015/wirabyte-ui-progressbar.mjs.map +1 -0
  971. package/fesm2015/wirabyte-ui-progressspinner.mjs +158 -0
  972. package/fesm2015/wirabyte-ui-progressspinner.mjs.map +1 -0
  973. package/fesm2015/wirabyte-ui-radiobutton.mjs +186 -0
  974. package/fesm2015/wirabyte-ui-radiobutton.mjs.map +1 -0
  975. package/fesm2015/wirabyte-ui-rating.mjs +129 -0
  976. package/fesm2015/wirabyte-ui-rating.mjs.map +1 -0
  977. package/fesm2015/wirabyte-ui-result.mjs +95 -0
  978. package/fesm2015/wirabyte-ui-result.mjs.map +1 -0
  979. package/fesm2015/wirabyte-ui-ripple.mjs +67 -0
  980. package/fesm2015/wirabyte-ui-ripple.mjs.map +1 -0
  981. package/fesm2015/wirabyte-ui-scroller.mjs +330 -0
  982. package/fesm2015/wirabyte-ui-scroller.mjs.map +1 -0
  983. package/fesm2015/wirabyte-ui-scrollpanel.mjs +90 -0
  984. package/fesm2015/wirabyte-ui-scrollpanel.mjs.map +1 -0
  985. package/fesm2015/wirabyte-ui-select.mjs +730 -0
  986. package/fesm2015/wirabyte-ui-select.mjs.map +1 -0
  987. package/fesm2015/wirabyte-ui-selectbutton.mjs +195 -0
  988. package/fesm2015/wirabyte-ui-selectbutton.mjs.map +1 -0
  989. package/fesm2015/wirabyte-ui-sitefooter.mjs +166 -0
  990. package/fesm2015/wirabyte-ui-sitefooter.mjs.map +1 -0
  991. package/fesm2015/wirabyte-ui-skeleton.mjs +72 -0
  992. package/fesm2015/wirabyte-ui-skeleton.mjs.map +1 -0
  993. package/fesm2015/wirabyte-ui-slider.mjs +271 -0
  994. package/fesm2015/wirabyte-ui-slider.mjs.map +1 -0
  995. package/fesm2015/wirabyte-ui-splitbutton.mjs +202 -0
  996. package/fesm2015/wirabyte-ui-splitbutton.mjs.map +1 -0
  997. package/fesm2015/wirabyte-ui-splitter.mjs +431 -0
  998. package/fesm2015/wirabyte-ui-splitter.mjs.map +1 -0
  999. package/fesm2015/wirabyte-ui-stepper.mjs +607 -0
  1000. package/fesm2015/wirabyte-ui-stepper.mjs.map +1 -0
  1001. package/fesm2015/wirabyte-ui-steps.mjs +182 -0
  1002. package/fesm2015/wirabyte-ui-steps.mjs.map +1 -0
  1003. package/fesm2015/wirabyte-ui-table.mjs +3223 -0
  1004. package/fesm2015/wirabyte-ui-table.mjs.map +1 -0
  1005. package/fesm2015/wirabyte-ui-tabmenu.mjs +8 -0
  1006. package/fesm2015/wirabyte-ui-tabmenu.mjs.map +1 -0
  1007. package/fesm2015/wirabyte-ui-tabs.mjs +790 -0
  1008. package/fesm2015/wirabyte-ui-tabs.mjs.map +1 -0
  1009. package/fesm2015/wirabyte-ui-tag.mjs +73 -0
  1010. package/fesm2015/wirabyte-ui-tag.mjs.map +1 -0
  1011. package/fesm2015/wirabyte-ui-terminal.mjs +207 -0
  1012. package/fesm2015/wirabyte-ui-terminal.mjs.map +1 -0
  1013. package/fesm2015/wirabyte-ui-textarea.mjs +108 -0
  1014. package/fesm2015/wirabyte-ui-textarea.mjs.map +1 -0
  1015. package/fesm2015/wirabyte-ui-thai.mjs +138 -0
  1016. package/fesm2015/wirabyte-ui-thai.mjs.map +1 -0
  1017. package/fesm2015/wirabyte-ui-tieredmenu.mjs +417 -0
  1018. package/fesm2015/wirabyte-ui-tieredmenu.mjs.map +1 -0
  1019. package/fesm2015/wirabyte-ui-timeline.mjs +130 -0
  1020. package/fesm2015/wirabyte-ui-timeline.mjs.map +1 -0
  1021. package/fesm2015/wirabyte-ui-toast.mjs +294 -0
  1022. package/fesm2015/wirabyte-ui-toast.mjs.map +1 -0
  1023. package/fesm2015/wirabyte-ui-togglebutton.mjs +151 -0
  1024. package/fesm2015/wirabyte-ui-togglebutton.mjs.map +1 -0
  1025. package/fesm2015/wirabyte-ui-toggleswitch.mjs +144 -0
  1026. package/fesm2015/wirabyte-ui-toggleswitch.mjs.map +1 -0
  1027. package/fesm2015/wirabyte-ui-toolbar.mjs +88 -0
  1028. package/fesm2015/wirabyte-ui-toolbar.mjs.map +1 -0
  1029. package/fesm2015/wirabyte-ui-tooltip.mjs +398 -0
  1030. package/fesm2015/wirabyte-ui-tooltip.mjs.map +1 -0
  1031. package/fesm2015/wirabyte-ui-tree.mjs +480 -0
  1032. package/fesm2015/wirabyte-ui-tree.mjs.map +1 -0
  1033. package/fesm2015/wirabyte-ui-treeselect.mjs +438 -0
  1034. package/fesm2015/wirabyte-ui-treeselect.mjs.map +1 -0
  1035. package/fesm2015/wirabyte-ui-validation.mjs +189 -0
  1036. package/fesm2015/wirabyte-ui-validation.mjs.map +1 -0
  1037. package/fesm2015/wirabyte-ui.mjs +9 -0
  1038. package/fesm2015/wirabyte-ui.mjs.map +1 -0
  1039. package/fesm2020/wirabyte-ui-accordion.mjs +414 -0
  1040. package/fesm2020/wirabyte-ui-accordion.mjs.map +1 -0
  1041. package/fesm2020/wirabyte-ui-alert.mjs +529 -0
  1042. package/fesm2020/wirabyte-ui-alert.mjs.map +1 -0
  1043. package/fesm2020/wirabyte-ui-animate.mjs +276 -0
  1044. package/fesm2020/wirabyte-ui-animate.mjs.map +1 -0
  1045. package/fesm2020/wirabyte-ui-api.mjs +34 -0
  1046. package/fesm2020/wirabyte-ui-api.mjs.map +1 -0
  1047. package/fesm2020/wirabyte-ui-asidemenu.mjs +832 -0
  1048. package/fesm2020/wirabyte-ui-asidemenu.mjs.map +1 -0
  1049. package/fesm2020/wirabyte-ui-autocomplete.mjs +608 -0
  1050. package/fesm2020/wirabyte-ui-autocomplete.mjs.map +1 -0
  1051. package/fesm2020/wirabyte-ui-avatar.mjs +102 -0
  1052. package/fesm2020/wirabyte-ui-avatar.mjs.map +1 -0
  1053. package/fesm2020/wirabyte-ui-badge.mjs +183 -0
  1054. package/fesm2020/wirabyte-ui-badge.mjs.map +1 -0
  1055. package/fesm2020/wirabyte-ui-blockui.mjs +173 -0
  1056. package/fesm2020/wirabyte-ui-blockui.mjs.map +1 -0
  1057. package/fesm2020/wirabyte-ui-bottombar.mjs +230 -0
  1058. package/fesm2020/wirabyte-ui-bottombar.mjs.map +1 -0
  1059. package/fesm2020/wirabyte-ui-breadcrumb.mjs +107 -0
  1060. package/fesm2020/wirabyte-ui-breadcrumb.mjs.map +1 -0
  1061. package/fesm2020/wirabyte-ui-button.mjs +412 -0
  1062. package/fesm2020/wirabyte-ui-button.mjs.map +1 -0
  1063. package/fesm2020/wirabyte-ui-card.mjs +134 -0
  1064. package/fesm2020/wirabyte-ui-card.mjs.map +1 -0
  1065. package/fesm2020/wirabyte-ui-carousel.mjs +638 -0
  1066. package/fesm2020/wirabyte-ui-carousel.mjs.map +1 -0
  1067. package/fesm2020/wirabyte-ui-chart.mjs +63 -0
  1068. package/fesm2020/wirabyte-ui-chart.mjs.map +1 -0
  1069. package/fesm2020/wirabyte-ui-chartjs.mjs +262 -0
  1070. package/fesm2020/wirabyte-ui-chartjs.mjs.map +1 -0
  1071. package/fesm2020/wirabyte-ui-checkbox.mjs +164 -0
  1072. package/fesm2020/wirabyte-ui-checkbox.mjs.map +1 -0
  1073. package/fesm2020/wirabyte-ui-chip.mjs +97 -0
  1074. package/fesm2020/wirabyte-ui-chip.mjs.map +1 -0
  1075. package/fesm2020/wirabyte-ui-colorpicker.mjs +329 -0
  1076. package/fesm2020/wirabyte-ui-colorpicker.mjs.map +1 -0
  1077. package/fesm2020/wirabyte-ui-config.mjs +621 -0
  1078. package/fesm2020/wirabyte-ui-config.mjs.map +1 -0
  1079. package/fesm2020/wirabyte-ui-confirmdialog.mjs +395 -0
  1080. package/fesm2020/wirabyte-ui-confirmdialog.mjs.map +1 -0
  1081. package/fesm2020/wirabyte-ui-contextmenu.mjs +180 -0
  1082. package/fesm2020/wirabyte-ui-contextmenu.mjs.map +1 -0
  1083. package/fesm2020/wirabyte-ui-core.mjs +13367 -0
  1084. package/fesm2020/wirabyte-ui-core.mjs.map +1 -0
  1085. package/fesm2020/wirabyte-ui-datepicker.mjs +942 -0
  1086. package/fesm2020/wirabyte-ui-datepicker.mjs.map +1 -0
  1087. package/fesm2020/wirabyte-ui-dialog.mjs +698 -0
  1088. package/fesm2020/wirabyte-ui-dialog.mjs.map +1 -0
  1089. package/fesm2020/wirabyte-ui-divider.mjs +77 -0
  1090. package/fesm2020/wirabyte-ui-divider.mjs.map +1 -0
  1091. package/fesm2020/wirabyte-ui-dock.mjs +308 -0
  1092. package/fesm2020/wirabyte-ui-dock.mjs.map +1 -0
  1093. package/fesm2020/wirabyte-ui-dragdrop.mjs +229 -0
  1094. package/fesm2020/wirabyte-ui-dragdrop.mjs.map +1 -0
  1095. package/fesm2020/wirabyte-ui-drawer.mjs +321 -0
  1096. package/fesm2020/wirabyte-ui-drawer.mjs.map +1 -0
  1097. package/fesm2020/wirabyte-ui-editor.mjs +3056 -0
  1098. package/fesm2020/wirabyte-ui-editor.mjs.map +1 -0
  1099. package/fesm2020/wirabyte-ui-emptystate.mjs +99 -0
  1100. package/fesm2020/wirabyte-ui-emptystate.mjs.map +1 -0
  1101. package/fesm2020/wirabyte-ui-errorpage.mjs +184 -0
  1102. package/fesm2020/wirabyte-ui-errorpage.mjs.map +1 -0
  1103. package/fesm2020/wirabyte-ui-excel.mjs +43 -0
  1104. package/fesm2020/wirabyte-ui-excel.mjs.map +1 -0
  1105. package/fesm2020/wirabyte-ui-fieldset.mjs +95 -0
  1106. package/fesm2020/wirabyte-ui-fieldset.mjs.map +1 -0
  1107. package/fesm2020/wirabyte-ui-fileupload.mjs +599 -0
  1108. package/fesm2020/wirabyte-ui-fileupload.mjs.map +1 -0
  1109. package/fesm2020/wirabyte-ui-floatlabel.mjs +74 -0
  1110. package/fesm2020/wirabyte-ui-floatlabel.mjs.map +1 -0
  1111. package/fesm2020/wirabyte-ui-flow.mjs +4920 -0
  1112. package/fesm2020/wirabyte-ui-flow.mjs.map +1 -0
  1113. package/fesm2020/wirabyte-ui-galleria.mjs +501 -0
  1114. package/fesm2020/wirabyte-ui-galleria.mjs.map +1 -0
  1115. package/fesm2020/wirabyte-ui-i18n.mjs +321 -0
  1116. package/fesm2020/wirabyte-ui-i18n.mjs.map +1 -0
  1117. package/fesm2020/wirabyte-ui-iconfield.mjs +94 -0
  1118. package/fesm2020/wirabyte-ui-iconfield.mjs.map +1 -0
  1119. package/fesm2020/wirabyte-ui-image.mjs +214 -0
  1120. package/fesm2020/wirabyte-ui-image.mjs.map +1 -0
  1121. package/fesm2020/wirabyte-ui-imagecompare.mjs +221 -0
  1122. package/fesm2020/wirabyte-ui-imagecompare.mjs.map +1 -0
  1123. package/fesm2020/wirabyte-ui-imagecropper.mjs +1279 -0
  1124. package/fesm2020/wirabyte-ui-imagecropper.mjs.map +1 -0
  1125. package/fesm2020/wirabyte-ui-inplace.mjs +166 -0
  1126. package/fesm2020/wirabyte-ui-inplace.mjs.map +1 -0
  1127. package/fesm2020/wirabyte-ui-inputgroup.mjs +82 -0
  1128. package/fesm2020/wirabyte-ui-inputgroup.mjs.map +1 -0
  1129. package/fesm2020/wirabyte-ui-inputmask.mjs +360 -0
  1130. package/fesm2020/wirabyte-ui-inputmask.mjs.map +1 -0
  1131. package/fesm2020/wirabyte-ui-inputnumber.mjs +385 -0
  1132. package/fesm2020/wirabyte-ui-inputnumber.mjs.map +1 -0
  1133. package/fesm2020/wirabyte-ui-inputotp.mjs +365 -0
  1134. package/fesm2020/wirabyte-ui-inputotp.mjs.map +1 -0
  1135. package/fesm2020/wirabyte-ui-inputtext.mjs +85 -0
  1136. package/fesm2020/wirabyte-ui-inputtext.mjs.map +1 -0
  1137. package/fesm2020/wirabyte-ui-keyfilter.mjs +152 -0
  1138. package/fesm2020/wirabyte-ui-keyfilter.mjs.map +1 -0
  1139. package/fesm2020/wirabyte-ui-knob.mjs +228 -0
  1140. package/fesm2020/wirabyte-ui-knob.mjs.map +1 -0
  1141. package/fesm2020/wirabyte-ui-listbox.mjs +541 -0
  1142. package/fesm2020/wirabyte-ui-listbox.mjs.map +1 -0
  1143. package/fesm2020/wirabyte-ui-menu.mjs +356 -0
  1144. package/fesm2020/wirabyte-ui-menu.mjs.map +1 -0
  1145. package/fesm2020/wirabyte-ui-menubar.mjs +604 -0
  1146. package/fesm2020/wirabyte-ui-menubar.mjs.map +1 -0
  1147. package/fesm2020/wirabyte-ui-message.mjs +291 -0
  1148. package/fesm2020/wirabyte-ui-message.mjs.map +1 -0
  1149. package/fesm2020/wirabyte-ui-metergroup.mjs +192 -0
  1150. package/fesm2020/wirabyte-ui-metergroup.mjs.map +1 -0
  1151. package/fesm2020/wirabyte-ui-multiselect.mjs +778 -0
  1152. package/fesm2020/wirabyte-ui-multiselect.mjs.map +1 -0
  1153. package/fesm2020/wirabyte-ui-navbar.mjs +481 -0
  1154. package/fesm2020/wirabyte-ui-navbar.mjs.map +1 -0
  1155. package/fesm2020/wirabyte-ui-orderlist.mjs +445 -0
  1156. package/fesm2020/wirabyte-ui-orderlist.mjs.map +1 -0
  1157. package/fesm2020/wirabyte-ui-organizationchart.mjs +221 -0
  1158. package/fesm2020/wirabyte-ui-organizationchart.mjs.map +1 -0
  1159. package/fesm2020/wirabyte-ui-paginator.mjs +226 -0
  1160. package/fesm2020/wirabyte-ui-paginator.mjs.map +1 -0
  1161. package/fesm2020/wirabyte-ui-panel.mjs +130 -0
  1162. package/fesm2020/wirabyte-ui-panel.mjs.map +1 -0
  1163. package/fesm2020/wirabyte-ui-panelmenu.mjs +213 -0
  1164. package/fesm2020/wirabyte-ui-panelmenu.mjs.map +1 -0
  1165. package/fesm2020/wirabyte-ui-password.mjs +267 -0
  1166. package/fesm2020/wirabyte-ui-password.mjs.map +1 -0
  1167. package/fesm2020/wirabyte-ui-picklist.mjs +944 -0
  1168. package/fesm2020/wirabyte-ui-picklist.mjs.map +1 -0
  1169. package/fesm2020/wirabyte-ui-popover.mjs +205 -0
  1170. package/fesm2020/wirabyte-ui-popover.mjs.map +1 -0
  1171. package/fesm2020/wirabyte-ui-presets.mjs +10 -0
  1172. package/fesm2020/wirabyte-ui-presets.mjs.map +1 -0
  1173. package/fesm2020/wirabyte-ui-progressbar.mjs +156 -0
  1174. package/fesm2020/wirabyte-ui-progressbar.mjs.map +1 -0
  1175. package/fesm2020/wirabyte-ui-progressspinner.mjs +156 -0
  1176. package/fesm2020/wirabyte-ui-progressspinner.mjs.map +1 -0
  1177. package/fesm2020/wirabyte-ui-radiobutton.mjs +186 -0
  1178. package/fesm2020/wirabyte-ui-radiobutton.mjs.map +1 -0
  1179. package/fesm2020/wirabyte-ui-rating.mjs +128 -0
  1180. package/fesm2020/wirabyte-ui-rating.mjs.map +1 -0
  1181. package/fesm2020/wirabyte-ui-result.mjs +93 -0
  1182. package/fesm2020/wirabyte-ui-result.mjs.map +1 -0
  1183. package/fesm2020/wirabyte-ui-ripple.mjs +66 -0
  1184. package/fesm2020/wirabyte-ui-ripple.mjs.map +1 -0
  1185. package/fesm2020/wirabyte-ui-scroller.mjs +326 -0
  1186. package/fesm2020/wirabyte-ui-scroller.mjs.map +1 -0
  1187. package/fesm2020/wirabyte-ui-scrollpanel.mjs +88 -0
  1188. package/fesm2020/wirabyte-ui-scrollpanel.mjs.map +1 -0
  1189. package/fesm2020/wirabyte-ui-select.mjs +713 -0
  1190. package/fesm2020/wirabyte-ui-select.mjs.map +1 -0
  1191. package/fesm2020/wirabyte-ui-selectbutton.mjs +195 -0
  1192. package/fesm2020/wirabyte-ui-selectbutton.mjs.map +1 -0
  1193. package/fesm2020/wirabyte-ui-sitefooter.mjs +160 -0
  1194. package/fesm2020/wirabyte-ui-sitefooter.mjs.map +1 -0
  1195. package/fesm2020/wirabyte-ui-skeleton.mjs +72 -0
  1196. package/fesm2020/wirabyte-ui-skeleton.mjs.map +1 -0
  1197. package/fesm2020/wirabyte-ui-slider.mjs +268 -0
  1198. package/fesm2020/wirabyte-ui-slider.mjs.map +1 -0
  1199. package/fesm2020/wirabyte-ui-splitbutton.mjs +201 -0
  1200. package/fesm2020/wirabyte-ui-splitbutton.mjs.map +1 -0
  1201. package/fesm2020/wirabyte-ui-splitter.mjs +422 -0
  1202. package/fesm2020/wirabyte-ui-splitter.mjs.map +1 -0
  1203. package/fesm2020/wirabyte-ui-stepper.mjs +602 -0
  1204. package/fesm2020/wirabyte-ui-stepper.mjs.map +1 -0
  1205. package/fesm2020/wirabyte-ui-steps.mjs +180 -0
  1206. package/fesm2020/wirabyte-ui-steps.mjs.map +1 -0
  1207. package/fesm2020/wirabyte-ui-table.mjs +3201 -0
  1208. package/fesm2020/wirabyte-ui-table.mjs.map +1 -0
  1209. package/fesm2020/wirabyte-ui-tabmenu.mjs +8 -0
  1210. package/fesm2020/wirabyte-ui-tabmenu.mjs.map +1 -0
  1211. package/fesm2020/wirabyte-ui-tabs.mjs +769 -0
  1212. package/fesm2020/wirabyte-ui-tabs.mjs.map +1 -0
  1213. package/fesm2020/wirabyte-ui-tag.mjs +73 -0
  1214. package/fesm2020/wirabyte-ui-tag.mjs.map +1 -0
  1215. package/fesm2020/wirabyte-ui-terminal.mjs +203 -0
  1216. package/fesm2020/wirabyte-ui-terminal.mjs.map +1 -0
  1217. package/fesm2020/wirabyte-ui-textarea.mjs +108 -0
  1218. package/fesm2020/wirabyte-ui-textarea.mjs.map +1 -0
  1219. package/fesm2020/wirabyte-ui-thai.mjs +138 -0
  1220. package/fesm2020/wirabyte-ui-thai.mjs.map +1 -0
  1221. package/fesm2020/wirabyte-ui-tieredmenu.mjs +406 -0
  1222. package/fesm2020/wirabyte-ui-tieredmenu.mjs.map +1 -0
  1223. package/fesm2020/wirabyte-ui-timeline.mjs +130 -0
  1224. package/fesm2020/wirabyte-ui-timeline.mjs.map +1 -0
  1225. package/fesm2020/wirabyte-ui-toast.mjs +291 -0
  1226. package/fesm2020/wirabyte-ui-toast.mjs.map +1 -0
  1227. package/fesm2020/wirabyte-ui-togglebutton.mjs +150 -0
  1228. package/fesm2020/wirabyte-ui-togglebutton.mjs.map +1 -0
  1229. package/fesm2020/wirabyte-ui-toggleswitch.mjs +144 -0
  1230. package/fesm2020/wirabyte-ui-toggleswitch.mjs.map +1 -0
  1231. package/fesm2020/wirabyte-ui-toolbar.mjs +88 -0
  1232. package/fesm2020/wirabyte-ui-toolbar.mjs.map +1 -0
  1233. package/fesm2020/wirabyte-ui-tooltip.mjs +393 -0
  1234. package/fesm2020/wirabyte-ui-tooltip.mjs.map +1 -0
  1235. package/fesm2020/wirabyte-ui-tree.mjs +474 -0
  1236. package/fesm2020/wirabyte-ui-tree.mjs.map +1 -0
  1237. package/fesm2020/wirabyte-ui-treeselect.mjs +431 -0
  1238. package/fesm2020/wirabyte-ui-treeselect.mjs.map +1 -0
  1239. package/fesm2020/wirabyte-ui-validation.mjs +186 -0
  1240. package/fesm2020/wirabyte-ui-validation.mjs.map +1 -0
  1241. package/fesm2020/wirabyte-ui.mjs +9 -0
  1242. package/fesm2020/wirabyte-ui.mjs.map +1 -0
  1243. package/fieldset/fieldset.component.d.ts +35 -0
  1244. package/fieldset/fieldset.module.d.ts +9 -0
  1245. package/fieldset/index.d.ts +5 -0
  1246. package/fieldset/public-api.d.ts +2 -0
  1247. package/fileupload/fileupload.base.d.ts +175 -0
  1248. package/fileupload/fileupload.component.d.ts +11 -0
  1249. package/fileupload/fileupload.module.d.ts +9 -0
  1250. package/fileupload/fileupload.types.d.ts +54 -0
  1251. package/fileupload/index.d.ts +5 -0
  1252. package/fileupload/public-api.d.ts +4 -0
  1253. package/floatlabel/floatlabel.component.d.ts +21 -0
  1254. package/floatlabel/floatlabel.module.d.ts +8 -0
  1255. package/floatlabel/floatlabel.types.d.ts +1 -0
  1256. package/floatlabel/index.d.ts +5 -0
  1257. package/floatlabel/public-api.d.ts +3 -0
  1258. package/flow/flow-background.component.d.ts +49 -0
  1259. package/flow/flow-controls.component.d.ts +47 -0
  1260. package/flow/flow-handle.component.d.ts +48 -0
  1261. package/flow/flow-history.directive.d.ts +42 -0
  1262. package/flow/flow-host.d.ts +48 -0
  1263. package/flow/flow-minimap.component.d.ts +79 -0
  1264. package/flow/flow-node-outlet.d.ts +46 -0
  1265. package/flow/flow-node-resizer.component.d.ts +57 -0
  1266. package/flow/flow-node-toolbar.component.d.ts +38 -0
  1267. package/flow/flow-panel.component.d.ts +11 -0
  1268. package/flow/flow-templates.d.ts +47 -0
  1269. package/flow/flow.component.d.ts +633 -0
  1270. package/flow/flow.module.d.ts +21 -0
  1271. package/flow/flow.types.d.ts +210 -0
  1272. package/flow/index.d.ts +5 -0
  1273. package/flow/public-api.d.ts +16 -0
  1274. package/galleria/galleria.component.d.ts +163 -0
  1275. package/galleria/galleria.module.d.ts +8 -0
  1276. package/galleria/index.d.ts +5 -0
  1277. package/galleria/public-api.d.ts +2 -0
  1278. package/i18n/i18n.module.d.ts +22 -0
  1279. package/i18n/i18n.service.d.ts +54 -0
  1280. package/i18n/i18n.types.d.ts +33 -0
  1281. package/i18n/index.d.ts +5 -0
  1282. package/i18n/language-switch.component.d.ts +50 -0
  1283. package/i18n/public-api.d.ts +6 -0
  1284. package/i18n/translate.pipe.d.ts +25 -0
  1285. package/iconfield/iconfield.component.d.ts +30 -0
  1286. package/iconfield/iconfield.module.d.ts +8 -0
  1287. package/iconfield/index.d.ts +5 -0
  1288. package/iconfield/public-api.d.ts +2 -0
  1289. package/image/image.base.d.ts +83 -0
  1290. package/image/image.component.d.ts +7 -0
  1291. package/image/image.module.d.ts +9 -0
  1292. package/image/index.d.ts +5 -0
  1293. package/image/public-api.d.ts +3 -0
  1294. package/imagecompare/imagecompare.component.d.ts +67 -0
  1295. package/imagecompare/imagecompare.module.d.ts +9 -0
  1296. package/imagecompare/index.d.ts +5 -0
  1297. package/imagecompare/public-api.d.ts +2 -0
  1298. package/imagecropper/imagecropper.component.d.ts +309 -0
  1299. package/imagecropper/imagecropper.module.d.ts +8 -0
  1300. package/imagecropper/imagecropper.types.d.ts +79 -0
  1301. package/imagecropper/index.d.ts +5 -0
  1302. package/imagecropper/public-api.d.ts +4 -0
  1303. package/index.d.ts +5 -0
  1304. package/inplace/index.d.ts +5 -0
  1305. package/inplace/inplace.component.d.ts +59 -0
  1306. package/inplace/inplace.module.d.ts +8 -0
  1307. package/inplace/public-api.d.ts +2 -0
  1308. package/inputgroup/index.d.ts +5 -0
  1309. package/inputgroup/inputgroup.component.d.ts +26 -0
  1310. package/inputgroup/inputgroup.module.d.ts +8 -0
  1311. package/inputgroup/public-api.d.ts +2 -0
  1312. package/inputmask/index.d.ts +5 -0
  1313. package/inputmask/inputmask.base.d.ts +115 -0
  1314. package/inputmask/inputmask.component.d.ts +10 -0
  1315. package/inputmask/inputmask.module.d.ts +8 -0
  1316. package/inputmask/public-api.d.ts +3 -0
  1317. package/inputnumber/index.d.ts +5 -0
  1318. package/inputnumber/inputnumber.component.d.ts +132 -0
  1319. package/inputnumber/inputnumber.module.d.ts +8 -0
  1320. package/inputnumber/inputnumber.types.d.ts +7 -0
  1321. package/inputnumber/public-api.d.ts +3 -0
  1322. package/inputotp/index.d.ts +5 -0
  1323. package/inputotp/inputotp.component.d.ts +105 -0
  1324. package/inputotp/inputotp.module.d.ts +9 -0
  1325. package/inputotp/inputotp.types.d.ts +22 -0
  1326. package/inputotp/public-api.d.ts +3 -0
  1327. package/inputtext/index.d.ts +5 -0
  1328. package/inputtext/inputtext.directive.d.ts +25 -0
  1329. package/inputtext/inputtext.module.d.ts +8 -0
  1330. package/inputtext/inputtext.styles.d.ts +2 -0
  1331. package/inputtext/inputtext.types.d.ts +3 -0
  1332. package/inputtext/public-api.d.ts +5 -0
  1333. package/keyfilter/index.d.ts +5 -0
  1334. package/keyfilter/keyfilter.directive.d.ts +29 -0
  1335. package/keyfilter/keyfilter.module.d.ts +8 -0
  1336. package/keyfilter/public-api.d.ts +2 -0
  1337. package/knob/index.d.ts +5 -0
  1338. package/knob/knob.component.d.ts +94 -0
  1339. package/knob/knob.module.d.ts +8 -0
  1340. package/knob/public-api.d.ts +2 -0
  1341. package/listbox/index.d.ts +5 -0
  1342. package/listbox/listbox.component.d.ts +186 -0
  1343. package/listbox/listbox.module.d.ts +8 -0
  1344. package/listbox/public-api.d.ts +2 -0
  1345. package/menu/index.d.ts +5 -0
  1346. package/menu/menu.base.d.ts +95 -0
  1347. package/menu/menu.component.d.ts +11 -0
  1348. package/menu/menu.module.d.ts +9 -0
  1349. package/menu/public-api.d.ts +4 -0
  1350. package/menubar/index.d.ts +5 -0
  1351. package/menubar/menubar.base.d.ts +135 -0
  1352. package/menubar/menubar.component.d.ts +11 -0
  1353. package/menubar/menubar.module.d.ts +9 -0
  1354. package/menubar/public-api.d.ts +4 -0
  1355. package/message/index.d.ts +5 -0
  1356. package/message/message.component.d.ts +50 -0
  1357. package/message/message.module.d.ts +11 -0
  1358. package/message/message.types.d.ts +5 -0
  1359. package/message/messages.base.d.ts +50 -0
  1360. package/message/messages.component.d.ts +7 -0
  1361. package/message/public-api.d.ts +5 -0
  1362. package/metergroup/index.d.ts +5 -0
  1363. package/metergroup/metergroup.component.d.ts +59 -0
  1364. package/metergroup/metergroup.module.d.ts +8 -0
  1365. package/metergroup/metergroup.types.d.ts +42 -0
  1366. package/metergroup/public-api.d.ts +3 -0
  1367. package/multiselect/index.d.ts +5 -0
  1368. package/multiselect/multiselect.base.d.ts +222 -0
  1369. package/multiselect/multiselect.component.d.ts +11 -0
  1370. package/multiselect/multiselect.module.d.ts +9 -0
  1371. package/multiselect/multiselect.styles.d.ts +2 -0
  1372. package/multiselect/multiselect.types.d.ts +20 -0
  1373. package/multiselect/public-api.d.ts +5 -0
  1374. package/navbar/index.d.ts +5 -0
  1375. package/navbar/navbar.component.d.ts +172 -0
  1376. package/navbar/navbar.module.d.ts +9 -0
  1377. package/navbar/public-api.d.ts +2 -0
  1378. package/orderlist/index.d.ts +5 -0
  1379. package/orderlist/orderlist.base.d.ts +136 -0
  1380. package/orderlist/orderlist.component.d.ts +10 -0
  1381. package/orderlist/orderlist.module.d.ts +9 -0
  1382. package/orderlist/orderlist.types.d.ts +10 -0
  1383. package/orderlist/public-api.d.ts +4 -0
  1384. package/organizationchart/index.d.ts +5 -0
  1385. package/organizationchart/organizationchart.component.d.ts +76 -0
  1386. package/organizationchart/organizationchart.module.d.ts +9 -0
  1387. package/organizationchart/organizationchart.types.d.ts +10 -0
  1388. package/organizationchart/public-api.d.ts +4 -0
  1389. package/package.json +891 -3
  1390. package/paginator/index.d.ts +5 -0
  1391. package/paginator/paginator.base.d.ts +95 -0
  1392. package/paginator/paginator.component.d.ts +10 -0
  1393. package/paginator/paginator.module.d.ts +8 -0
  1394. package/paginator/paginator.types.d.ts +7 -0
  1395. package/paginator/public-api.d.ts +4 -0
  1396. package/panel/index.d.ts +5 -0
  1397. package/panel/panel.component.d.ts +51 -0
  1398. package/panel/panel.module.d.ts +10 -0
  1399. package/panel/panel.types.d.ts +2 -0
  1400. package/panel/public-api.d.ts +3 -0
  1401. package/panelmenu/index.d.ts +5 -0
  1402. package/panelmenu/panelmenu.base.d.ts +53 -0
  1403. package/panelmenu/panelmenu.component.d.ts +7 -0
  1404. package/panelmenu/panelmenu.module.d.ts +9 -0
  1405. package/panelmenu/public-api.d.ts +3 -0
  1406. package/password/index.d.ts +5 -0
  1407. package/password/password.component.d.ts +90 -0
  1408. package/password/password.module.d.ts +8 -0
  1409. package/password/password.types.d.ts +6 -0
  1410. package/password/public-api.d.ts +3 -0
  1411. package/picklist/index.d.ts +5 -0
  1412. package/picklist/list-drag.d.ts +49 -0
  1413. package/picklist/picklist.base.d.ts +217 -0
  1414. package/picklist/picklist.component.d.ts +10 -0
  1415. package/picklist/picklist.module.d.ts +9 -0
  1416. package/picklist/picklist.styles.d.ts +2 -0
  1417. package/picklist/picklist.types.d.ts +21 -0
  1418. package/picklist/public-api.d.ts +7 -0
  1419. package/popover/index.d.ts +5 -0
  1420. package/popover/popover.base.d.ts +61 -0
  1421. package/popover/popover.component.d.ts +10 -0
  1422. package/popover/popover.module.d.ts +9 -0
  1423. package/popover/public-api.d.ts +3 -0
  1424. package/presets/index.d.ts +5 -0
  1425. package/presets/public-api.d.ts +2 -0
  1426. package/progressbar/index.d.ts +5 -0
  1427. package/progressbar/progressbar.component.d.ts +62 -0
  1428. package/progressbar/progressbar.module.d.ts +8 -0
  1429. package/progressbar/progressbar.types.d.ts +16 -0
  1430. package/progressbar/public-api.d.ts +3 -0
  1431. package/progressspinner/index.d.ts +5 -0
  1432. package/progressspinner/progressspinner.component.d.ts +50 -0
  1433. package/progressspinner/progressspinner.module.d.ts +8 -0
  1434. package/progressspinner/progressspinner.types.d.ts +9 -0
  1435. package/progressspinner/public-api.d.ts +3 -0
  1436. package/public-api.d.ts +2 -0
  1437. package/radiobutton/index.d.ts +5 -0
  1438. package/radiobutton/public-api.d.ts +6 -0
  1439. package/radiobutton/radio-registry.d.ts +23 -0
  1440. package/radiobutton/radiobutton.component.d.ts +57 -0
  1441. package/radiobutton/radiobutton.module.d.ts +8 -0
  1442. package/radiobutton/radiobutton.styles.d.ts +2 -0
  1443. package/radiobutton/radiobutton.types.d.ts +4 -0
  1444. package/rating/index.d.ts +5 -0
  1445. package/rating/public-api.d.ts +3 -0
  1446. package/rating/rating.component.d.ts +47 -0
  1447. package/rating/rating.module.d.ts +8 -0
  1448. package/rating/rating.types.d.ts +4 -0
  1449. package/result/index.d.ts +5 -0
  1450. package/result/public-api.d.ts +2 -0
  1451. package/result/result.component.d.ts +39 -0
  1452. package/result/result.module.d.ts +8 -0
  1453. package/ripple/index.d.ts +5 -0
  1454. package/ripple/public-api.d.ts +2 -0
  1455. package/ripple/ripple.directive.d.ts +15 -0
  1456. package/ripple/ripple.module.d.ts +8 -0
  1457. package/ripple/ripple.styles.d.ts +2 -0
  1458. package/schematics/collection.json +21 -0
  1459. package/schematics/core/carousel.cjs +70 -0
  1460. package/schematics/core/catalog.cjs +206 -0
  1461. package/schematics/core/chart/format.cjs +68 -0
  1462. package/schematics/core/chart/index.cjs +32 -0
  1463. package/schematics/core/chart/kinds.cjs +1355 -0
  1464. package/schematics/core/chart/model.cjs +717 -0
  1465. package/schematics/core/chart/more.cjs +317 -0
  1466. package/schematics/core/chart/paths.cjs +170 -0
  1467. package/schematics/core/chart/scale.cjs +63 -0
  1468. package/schematics/core/color.cjs +106 -0
  1469. package/schematics/core/colorpicker.cjs +79 -0
  1470. package/schematics/core/compat.cjs +152 -0
  1471. package/schematics/core/config.cjs +172 -0
  1472. package/schematics/core/date.cjs +346 -0
  1473. package/schematics/core/datepicker.cjs +530 -0
  1474. package/schematics/core/dock.cjs +16 -0
  1475. package/schematics/core/editor.cjs +281 -0
  1476. package/schematics/core/errorpage.cjs +52 -0
  1477. package/schematics/core/excel.cjs +826 -0
  1478. package/schematics/core/exporters.cjs +249 -0
  1479. package/schematics/core/families.cjs +1758 -0
  1480. package/schematics/core/fileupload.cjs +54 -0
  1481. package/schematics/core/flow/changes.cjs +215 -0
  1482. package/schematics/core/flow/edges.cjs +95 -0
  1483. package/schematics/core/flow/export.cjs +236 -0
  1484. package/schematics/core/flow/geometry.cjs +338 -0
  1485. package/schematics/core/flow/graph.cjs +338 -0
  1486. package/schematics/core/flow/history.cjs +109 -0
  1487. package/schematics/core/flow/index.cjs +29 -0
  1488. package/schematics/core/flow/interaction.cjs +264 -0
  1489. package/schematics/core/flow/layout.cjs +592 -0
  1490. package/schematics/core/flow/paths.cjs +268 -0
  1491. package/schematics/core/flow/text.cjs +74 -0
  1492. package/schematics/core/flow/types.cjs +7 -0
  1493. package/schematics/core/flow/viewport.cjs +151 -0
  1494. package/schematics/core/i18n.cjs +85 -0
  1495. package/schematics/core/imagecompare.cjs +32 -0
  1496. package/schematics/core/imagecropper.cjs +515 -0
  1497. package/schematics/core/index.cjs +55 -0
  1498. package/schematics/core/inputotp.cjs +56 -0
  1499. package/schematics/core/knob.cjs +114 -0
  1500. package/schematics/core/mask.cjs +122 -0
  1501. package/schematics/core/menu.cjs +88 -0
  1502. package/schematics/core/number.cjs +141 -0
  1503. package/schematics/core/organizationchart.cjs +91 -0
  1504. package/schematics/core/overrides.cjs +179 -0
  1505. package/schematics/core/picklist.cjs +262 -0
  1506. package/schematics/core/select.cjs +172 -0
  1507. package/schematics/core/splitter.cjs +69 -0
  1508. package/schematics/core/table.cjs +183 -0
  1509. package/schematics/core/terminal.cjs +34 -0
  1510. package/schematics/core/thai/buddhist.cjs +135 -0
  1511. package/schematics/core/thai/locale.cjs +654 -0
  1512. package/schematics/core/thai/text.cjs +173 -0
  1513. package/schematics/core/thai/thai-id.cjs +26 -0
  1514. package/schematics/core/tokens.cjs +335 -0
  1515. package/schematics/core/tree.cjs +144 -0
  1516. package/schematics/core/validation.cjs +46 -0
  1517. package/schematics/from-primeng/index.cjs +221 -0
  1518. package/schematics/from-primeng/mapping.cjs +195 -0
  1519. package/schematics/from-primeng/schema.cjs +2 -0
  1520. package/schematics/from-primeng/schema.json +17 -0
  1521. package/schematics/migration.json +4 -0
  1522. package/schematics/ng-add/index.cjs +318 -0
  1523. package/schematics/ng-add/schema.cjs +2 -0
  1524. package/schematics/ng-add/schema.json +325 -0
  1525. package/schematics/utils/ast.cjs +185 -0
  1526. package/schematics/utils/workspace.cjs +115 -0
  1527. package/scroller/index.d.ts +5 -0
  1528. package/scroller/public-api.d.ts +5 -0
  1529. package/scroller/scroller.component.d.ts +135 -0
  1530. package/scroller/scroller.module.d.ts +8 -0
  1531. package/scrollpanel/index.d.ts +5 -0
  1532. package/scrollpanel/public-api.d.ts +2 -0
  1533. package/scrollpanel/scrollpanel.component.d.ts +27 -0
  1534. package/scrollpanel/scrollpanel.module.d.ts +8 -0
  1535. package/select/index.d.ts +5 -0
  1536. package/select/public-api.d.ts +6 -0
  1537. package/select/select.base.d.ts +217 -0
  1538. package/select/select.component.d.ts +11 -0
  1539. package/select/select.module.d.ts +8 -0
  1540. package/select/select.styles.d.ts +2 -0
  1541. package/select/select.types.d.ts +9 -0
  1542. package/selectbutton/index.d.ts +5 -0
  1543. package/selectbutton/public-api.d.ts +3 -0
  1544. package/selectbutton/selectbutton.component.d.ts +70 -0
  1545. package/selectbutton/selectbutton.module.d.ts +9 -0
  1546. package/selectbutton/selectbutton.types.d.ts +9 -0
  1547. package/sitefooter/index.d.ts +5 -0
  1548. package/sitefooter/public-api.d.ts +2 -0
  1549. package/sitefooter/sitefooter.component.d.ts +69 -0
  1550. package/sitefooter/sitefooter.module.d.ts +9 -0
  1551. package/skeleton/index.d.ts +5 -0
  1552. package/skeleton/public-api.d.ts +3 -0
  1553. package/skeleton/skeleton.component.d.ts +22 -0
  1554. package/skeleton/skeleton.module.d.ts +8 -0
  1555. package/skeleton/skeleton.types.d.ts +2 -0
  1556. package/slider/index.d.ts +5 -0
  1557. package/slider/public-api.d.ts +2 -0
  1558. package/slider/slider.component.d.ts +79 -0
  1559. package/slider/slider.module.d.ts +8 -0
  1560. package/splitbutton/index.d.ts +5 -0
  1561. package/splitbutton/public-api.d.ts +2 -0
  1562. package/splitbutton/splitbutton.component.d.ts +75 -0
  1563. package/splitbutton/splitbutton.module.d.ts +8 -0
  1564. package/splitter/index.d.ts +5 -0
  1565. package/splitter/public-api.d.ts +4 -0
  1566. package/splitter/splitter-panel.component.d.ts +20 -0
  1567. package/splitter/splitter.component.d.ts +109 -0
  1568. package/splitter/splitter.module.d.ts +10 -0
  1569. package/splitter/splitter.types.d.ts +8 -0
  1570. package/stepper/index.d.ts +5 -0
  1571. package/stepper/public-api.d.ts +3 -0
  1572. package/stepper/stepper.base.d.ts +200 -0
  1573. package/stepper/stepper.component.d.ts +41 -0
  1574. package/stepper/stepper.module.d.ts +9 -0
  1575. package/steps/index.d.ts +5 -0
  1576. package/steps/public-api.d.ts +3 -0
  1577. package/steps/steps.base.d.ts +52 -0
  1578. package/steps/steps.component.d.ts +7 -0
  1579. package/steps/steps.module.d.ts +8 -0
  1580. package/table/index.d.ts +5 -0
  1581. package/table/public-api.d.ts +9 -0
  1582. package/table/table-celleditor.component.d.ts +14 -0
  1583. package/table/table-filter.component.d.ts +11 -0
  1584. package/table/table.base.d.ts +410 -0
  1585. package/table/table.celleditor.d.ts +20 -0
  1586. package/table/table.component.d.ts +12 -0
  1587. package/table/table.directives.d.ts +330 -0
  1588. package/table/table.filter.d.ts +131 -0
  1589. package/table/table.module.d.ts +12 -0
  1590. package/table/table.types.d.ts +180 -0
  1591. package/tabmenu/index.d.ts +5 -0
  1592. package/tabmenu/public-api.d.ts +2 -0
  1593. package/tabs/index.d.ts +5 -0
  1594. package/tabs/public-api.d.ts +8 -0
  1595. package/tabs/tabmenu.base.d.ts +59 -0
  1596. package/tabs/tabmenu.component.d.ts +10 -0
  1597. package/tabs/tabmenu.module.d.ts +9 -0
  1598. package/tabs/tabs.component.d.ts +147 -0
  1599. package/tabs/tabs.module.d.ts +10 -0
  1600. package/tabs/tabs.styles.d.ts +2 -0
  1601. package/tabs/tabs.types.d.ts +21 -0
  1602. package/tag/index.d.ts +5 -0
  1603. package/tag/public-api.d.ts +3 -0
  1604. package/tag/tag.component.d.ts +24 -0
  1605. package/tag/tag.module.d.ts +8 -0
  1606. package/tag/tag.types.d.ts +2 -0
  1607. package/terminal/index.d.ts +5 -0
  1608. package/terminal/public-api.d.ts +5 -0
  1609. package/terminal/terminal.component.d.ts +58 -0
  1610. package/terminal/terminal.module.d.ts +8 -0
  1611. package/terminal/terminal.service.d.ts +20 -0
  1612. package/textarea/index.d.ts +5 -0
  1613. package/textarea/public-api.d.ts +2 -0
  1614. package/textarea/textarea.directive.d.ts +33 -0
  1615. package/textarea/textarea.module.d.ts +8 -0
  1616. package/thai/index.d.ts +5 -0
  1617. package/thai/public-api.d.ts +3 -0
  1618. package/thai/thai.module.d.ts +8 -0
  1619. package/thai/thai.pipes.d.ts +57 -0
  1620. package/theme/_api.scss +71 -0
  1621. package/theme/_color.scss +153 -0
  1622. package/theme/_data.scss +9283 -0
  1623. package/theme/_index.scss +424 -0
  1624. package/theme/_version.scss +2 -0
  1625. package/themes/arun-blue/theme.css +1446 -0
  1626. package/themes/arun-green/theme.css +1446 -0
  1627. package/themes/arun-orange/theme.css +1445 -0
  1628. package/themes/arun-purple/theme.css +1446 -0
  1629. package/themes/md-dark-deeppurple/theme.css +1309 -0
  1630. package/themes/md-dark-indigo/theme.css +1309 -0
  1631. package/themes/md-light-deeppurple/theme.css +1418 -0
  1632. package/themes/md-light-indigo/theme.css +1418 -0
  1633. package/themes/ratri-blue/theme.css +1309 -0
  1634. package/themes/ratri-green/theme.css +1309 -0
  1635. package/themes/ratri-orange/theme.css +1309 -0
  1636. package/themes/ratri-purple/theme.css +1309 -0
  1637. package/themes/sayan-blue/theme.css +1309 -0
  1638. package/themes/sayan-green/theme.css +1309 -0
  1639. package/themes/sayan-orange/theme.css +1309 -0
  1640. package/themes/sayan-purple/theme.css +1309 -0
  1641. package/themes/sila-dark-blue/theme.css +1309 -0
  1642. package/themes/sila-dark-indigo/theme.css +1309 -0
  1643. package/themes/sila-dark-purple/theme.css +1309 -0
  1644. package/themes/sila-dark-teal/theme.css +1309 -0
  1645. package/themes/sila-light-blue/theme.css +1446 -0
  1646. package/themes/sila-light-indigo/theme.css +1446 -0
  1647. package/themes/sila-light-purple/theme.css +1446 -0
  1648. package/themes/sila-light-teal/theme.css +1446 -0
  1649. package/themes/sila-light-wira/theme.css +1446 -0
  1650. package/tieredmenu/index.d.ts +5 -0
  1651. package/tieredmenu/public-api.d.ts +2 -0
  1652. package/tieredmenu/tieredmenu.component.d.ts +90 -0
  1653. package/tieredmenu/tieredmenu.module.d.ts +8 -0
  1654. package/timeline/index.d.ts +5 -0
  1655. package/timeline/public-api.d.ts +3 -0
  1656. package/timeline/timeline.base.d.ts +36 -0
  1657. package/timeline/timeline.component.d.ts +7 -0
  1658. package/timeline/timeline.module.d.ts +9 -0
  1659. package/toast/index.d.ts +5 -0
  1660. package/toast/message.service.d.ts +19 -0
  1661. package/toast/public-api.d.ts +5 -0
  1662. package/toast/toast.base.d.ts +84 -0
  1663. package/toast/toast.component.d.ts +10 -0
  1664. package/toast/toast.module.d.ts +9 -0
  1665. package/toast/toast.types.d.ts +28 -0
  1666. package/togglebutton/index.d.ts +5 -0
  1667. package/togglebutton/public-api.d.ts +3 -0
  1668. package/togglebutton/togglebutton.component.d.ts +56 -0
  1669. package/togglebutton/togglebutton.module.d.ts +8 -0
  1670. package/togglebutton/togglebutton.types.d.ts +4 -0
  1671. package/toggleswitch/index.d.ts +5 -0
  1672. package/toggleswitch/public-api.d.ts +3 -0
  1673. package/toggleswitch/toggleswitch.component.d.ts +52 -0
  1674. package/toggleswitch/toggleswitch.module.d.ts +8 -0
  1675. package/toggleswitch/toggleswitch.types.d.ts +4 -0
  1676. package/toolbar/index.d.ts +5 -0
  1677. package/toolbar/public-api.d.ts +2 -0
  1678. package/toolbar/toolbar.component.d.ts +29 -0
  1679. package/toolbar/toolbar.module.d.ts +9 -0
  1680. package/tooltip/index.d.ts +5 -0
  1681. package/tooltip/public-api.d.ts +3 -0
  1682. package/tooltip/tooltip.directive.d.ts +87 -0
  1683. package/tooltip/tooltip.module.d.ts +8 -0
  1684. package/tooltip/tooltip.styles.d.ts +2 -0
  1685. package/tooltip/tooltip.types.d.ts +14 -0
  1686. package/tree/index.d.ts +5 -0
  1687. package/tree/public-api.d.ts +2 -0
  1688. package/tree/tree.component.d.ts +149 -0
  1689. package/tree/tree.module.d.ts +8 -0
  1690. package/treeselect/index.d.ts +5 -0
  1691. package/treeselect/public-api.d.ts +2 -0
  1692. package/treeselect/treeselect.component.d.ts +140 -0
  1693. package/treeselect/treeselect.module.d.ts +8 -0
  1694. package/utils/_index.scss +532 -0
  1695. package/utils/_palettes.scss +23 -0
  1696. package/utils/utils.css +9280 -0
  1697. package/utils/utils.min.css +1 -0
  1698. package/validation/field-error.component.d.ts +39 -0
  1699. package/validation/index.d.ts +5 -0
  1700. package/validation/public-api.d.ts +3 -0
  1701. package/validation/validation.module.d.ts +9 -0
  1702. package/validation/validators.d.ts +33 -0
@@ -0,0 +1,1301 @@
1
+ import { __awaiter } from 'tslib';
2
+ import { DOCUMENT, isPlatformBrowser, NgIf, NgFor, NgSwitch, NgSwitchCase, NgTemplateOutlet } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, TemplateRef, inject, EventEmitter, ChangeDetectorRef, NgZone, PLATFORM_ID, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, ContentChildren, ContentChild, ViewChild, NgModule } from '@angular/core';
5
+ import { ɵtoBool, ɵuniqueId, WuConfig, ɵrefreshOnTranslation, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵWuStyleLoader, ɵfindTemplate, WuTemplate } from '@wirabyte/ui/config';
6
+ import { ɵWU_BUTTON_CSS, ɵbuttonClass } from '@wirabyte/ui/button';
7
+ import { cropperToolbarGroups, normalizeAngle, normalizeCrop, sameCrop, roundCrop, clampCrop, rotateOrientation, zoomCrop, moveCrop, resizeCrop, panCrop, growCrop, viewWindow, parseAspectRatio, rotatedSize, padToRatio, orientationMatrix, clampView, initialCrop, cropArea, remapCrop, remapPoint, cropWidth, cropHeight, outputSize, MAX_CANVAS_AREA, base64ToFile, exifTransform, readExifOrientation } from '@wirabyte/ui/core';
8
+ export { base64ToFile } from '@wirabyte/ui/core';
9
+
10
+ const WU_IMAGE_CROPPER_OPTIONS = new InjectionToken('WU_IMAGE_CROPPER_OPTIONS');
11
+ function provideImageCropperOptions(options) {
12
+ return { provide: WU_IMAGE_CROPPER_OPTIONS, useValue: options };
13
+ }
14
+
15
+ /** Each zoom button press multiplies (or divides) the zoom by this. */
16
+ const ZOOM_STEP = 1.25;
17
+ /** The crop box never gets smaller than this on screen, so its handles stay usable. */
18
+ const MIN_BOX_PX = 16;
19
+ /** Wait after the last change before cropping again (autoCrop), in ms. */
20
+ const CROP_DELAY = 120;
21
+ const UPRIGHT = { rotate: 0, flipH: false, flipV: false };
22
+ const clamp = (v, lo, hi) => Math.min(hi, Math.max(lo, v));
23
+ const num = (v, fallback = 0) => {
24
+ const n = Number(v);
25
+ return v !== null && v !== '' && isFinite(n) ? n : fallback;
26
+ };
27
+ const asTemplate = (v) => (v instanceof TemplateRef ? v : null);
28
+ const groupTools = (toolbar) => cropperToolbarGroups(toolbar).map((tools) => ({ tools, zoom: tools.includes('zoomSlider') }));
29
+ const sameTurn = (a, b) => normalizeAngle(a.rotate) === normalizeAngle(b.rotate) && a.flipH === b.flipH && a.flipV === b.flipV;
30
+ /**
31
+ * Crops a picture: `<wu-imagecropper [imageFile]="file" [aspectRatio]="4 / 3" [resizeToWidth]="800"
32
+ * (imageCropped)="saved($event)">`. The picture comes from a File/Blob (`imageFile`), a file input's change event
33
+ * (`imageChangedEvent`), a URL or base64; JPEG photos from phones are turned upright from their EXIF orientation.
34
+ * Drag the box to move it, its corners and edges to resize it (the aspect ratio is kept unless
35
+ * `[maintainAspectRatio]="false"`); the toolbar zooms, turns, mirrors and resets. Keyboard on the focused box: arrows
36
+ * move it (Shift = 10 px), Alt + arrows resize it, + / − grow and shrink it. Ctrl + wheel or a pinch zooms; while
37
+ * zoomed in, dragging outside the box pans. The crop box is kept in image pixels, so resizing the window keeps it.
38
+ * `(imageCropped)` fires after each change (`[autoCrop]="false"` to call `crop()` yourself).
39
+ */
40
+ class WuImageCropper {
41
+ /** Never enlarge: a crop smaller than `resizeToWidth` / `resizeToHeight` keeps its size. */
42
+ set onlyScaleDown(v) { this._onlyScaleDown = ɵtoBool(v); }
43
+ get onlyScaleDown() { return this._onlyScaleDown; }
44
+ /** Crop after every change (debounced). Default true. */
45
+ set autoCrop(v) { this._autoCrop = v === undefined || v === null || ɵtoBool(v); }
46
+ get autoCrop() { return this._autoCrop; }
47
+ /** Keep `aspectRatio` while resizing. Default true. */
48
+ set maintainAspectRatio(v) { this._keepRatio = v === undefined || v === null || ɵtoBool(v); }
49
+ get maintainAspectRatio() { return this._keepRatio; }
50
+ /** Pad the picture to `aspectRatio` (filled with `backgroundColor`) so the whole photo fits in the box. */
51
+ set containWithinAspectRatio(v) { this._contain = ɵtoBool(v); }
52
+ get containWithinAspectRatio() { return this._contain; }
53
+ /** A round mask over the box (the result is still a rectangle, for an avatar shown in a circle). */
54
+ set roundCropper(v) { this._round = ɵtoBool(v); }
55
+ get roundCropper() { return this._round; }
56
+ /** Hide the squares on the box (it can still be resized from its corners and edges). */
57
+ set hideResizeSquares(v) { this._hideSquares = ɵtoBool(v); }
58
+ get hideResizeSquares() { return this._hideSquares; }
59
+ /** The zoom / turn / mirror / reset toolbar under the picture. Default true. */
60
+ set showToolbar(v) { this._toolbar = v === undefined || v === null || ɵtoBool(v); }
61
+ get showToolbar() { return this._toolbar; }
62
+ /**
63
+ * Which built-in buttons the toolbar has: `'full'` (default), `'none'`, or a list such as
64
+ * `['zoom', '|', 'rotateLeft', 'rotateRight']` (`'|'` starts a group). A `tools` template adds the app's own buttons.
65
+ */
66
+ set toolbar(v) {
67
+ this._tools = v !== null && v !== void 0 ? v : null;
68
+ this.toolGroups = groupTools(v !== null && v !== void 0 ? v : this.defaults.toolbar);
69
+ }
70
+ get toolbar() {
71
+ return this._tools;
72
+ }
73
+ set disabled(v) { this._disabled = ɵtoBool(v); }
74
+ get disabled() { return this._disabled; }
75
+ constructor() {
76
+ var _a, _b, _c, _d;
77
+ /** App-wide defaults from `provideImageCropperOptions()`; the inputs below start from them. */
78
+ this.defaults = inject(WU_IMAGE_CROPPER_OPTIONS, { optional: true }) || {};
79
+ // ---------- the result ----------
80
+ this.format = (_a = this.defaults.format) !== null && _a !== void 0 ? _a : 'png';
81
+ /** 0–100, for jpeg and webp. Default 92. */
82
+ this.imageQuality = (_b = this.defaults.imageQuality) !== null && _b !== void 0 ? _b : 92;
83
+ /** `'blob'` (default: `blob` + `objectUrl`) or `'base64'` (a data URL). */
84
+ this.output = (_c = this.defaults.output) !== null && _c !== void 0 ? _c : 'blob';
85
+ /** Output width in pixels (0 = the crop's own size). With `resizeToHeight` too, the image fits inside both. */
86
+ this.resizeToWidth = 0;
87
+ this.resizeToHeight = 0;
88
+ // ---------- the crop box ----------
89
+ /** Width / height of the box, e.g. `1`, `4 / 3`, `'16:9'`. Default 1. */
90
+ this.aspectRatio = 1;
91
+ /** Limits in image pixels (0 = none). */
92
+ this.cropperMinWidth = 0;
93
+ this.cropperMinHeight = 0;
94
+ this.cropperMaxWidth = 0;
95
+ this.cropperMaxHeight = 0;
96
+ /** A fixed box size in image pixels (both needed): the box moves but does not resize. */
97
+ this.cropperStaticWidth = 0;
98
+ this.cropperStaticHeight = 0;
99
+ // ---------- turning and zoom ----------
100
+ /** Quarter turns clockwise (negative = anticlockwise), applied before `transform`. */
101
+ this.canvasRotation = 0;
102
+ /** Largest zoom. Default 10. */
103
+ this.maxZoom = (_d = this.defaults.maxZoom) !== null && _d !== void 0 ? _d : 10;
104
+ // ---------- look ----------
105
+ /** Where a picture narrower than the component sits: `'center'` (default) or `'left'`. */
106
+ this.alignImage = 'center';
107
+ this.imageCropped = new EventEmitter();
108
+ /** Fires as a crop starts (the result follows in `imageCropped`). */
109
+ this.startCropImage = new EventEmitter();
110
+ this.imageLoaded = new EventEmitter();
111
+ /** The picture is shown; carries its size on screen in CSS pixels. */
112
+ this.cropperReady = new EventEmitter();
113
+ this.loadImageFailed = new EventEmitter();
114
+ /** The box moved or resized (image pixels, rounded). */
115
+ this.cropperChange = new EventEmitter();
116
+ /** Zoom, turn or mirror changed from the toolbar, keys, wheel or pinch. */
117
+ this.transformChange = new EventEmitter();
118
+ // ---------- what the template reads ----------
119
+ /** The built-in toolbar buttons, in groups. */
120
+ this.toolGroups = groupTools(this.defaults.toolbar);
121
+ /** What the `tools` template gets: the cropper as `let-cropper` (and as `cropper`). */
122
+ this.toolsContext = { $implicit: this, cropper: this };
123
+ /** A picture is loaded. */
124
+ this.ready = false;
125
+ this.loading = false;
126
+ this.failed = false;
127
+ /** The picture is loaded and laid out (the box can be drawn). */
128
+ this.shown = false;
129
+ this.dragging = false;
130
+ this.panning = false;
131
+ this.stageW = 0;
132
+ this.stageH = 0;
133
+ this.stageX = 0;
134
+ this.stageY = 0;
135
+ this.boxX = 0;
136
+ this.boxY = 0;
137
+ this.boxW = 0;
138
+ this.boxH = 0;
139
+ /** Crop size in image pixels, for the box's label. */
140
+ this.cropW = 0;
141
+ this.cropH = 0;
142
+ /** Zoom slider position, 0–100 on a log scale. */
143
+ this.zoomSlider = 0;
144
+ this.zoomPercent = 100;
145
+ this.canZoomIn = false;
146
+ this.canZoomOut = false;
147
+ this.squares = ['nw', 'n', 'ne', 'e', 'se', 's', 'sw', 'w'];
148
+ this.edges = ['n', 'e', 's', 'w'];
149
+ this.hintId = ɵuniqueId('wu-imagecropper-hint');
150
+ this._onlyScaleDown = false;
151
+ this._autoCrop = true;
152
+ this._keepRatio = true;
153
+ this._contain = false;
154
+ this._round = false;
155
+ this._hideSquares = false;
156
+ this._toolbar = true;
157
+ this._disabled = false;
158
+ this._tools = null;
159
+ this.source = null;
160
+ this.rect = { x1: 0, y1: 0, x2: 0, y2: 0 };
161
+ this.view = { zoom: 1, cx: 0, cy: 0 };
162
+ /** Turn and mirrors from `transform` / `rotation` and the toolbar (`canvasRotation` comes on top). */
163
+ this.turn = UPRIGHT;
164
+ /** The full orientation the current bounds were built for. */
165
+ this.applied = UPRIGHT;
166
+ this.bounds = { width: 0, height: 0 };
167
+ this.matrix = [1, 0, 0, 1, 0, 0];
168
+ /** CSS pixels per image pixel at zoom 1. */
169
+ this.fit = 0;
170
+ /** The picture's shape when it loaded. The viewport keeps it, so turning the picture does not change the height. */
171
+ this.shape = { width: 0, height: 0 };
172
+ this.viewportRatio = '';
173
+ this.pendingCropper = null;
174
+ this.announced = false;
175
+ this.loadSeq = 0;
176
+ this.cropSeq = 0;
177
+ this.lastObjectUrl = null;
178
+ this.cropTimer = null;
179
+ this.soonTimer = null;
180
+ this.soonTransform = false;
181
+ this.frameId = 0;
182
+ this.needLayout = false;
183
+ this.needDraw = false;
184
+ this.gesture = null;
185
+ this.pointers = new Map();
186
+ this.stopListen = null;
187
+ this.stopWheel = null;
188
+ this.resizeObserver = null;
189
+ this.stopResize = null;
190
+ this.destroyed = false;
191
+ this.cdr = inject(ChangeDetectorRef);
192
+ this.zone = inject(NgZone);
193
+ this.doc = inject(DOCUMENT);
194
+ this.config = inject(WuConfig);
195
+ this.browser = isPlatformBrowser(inject(PLATFORM_ID));
196
+ this.i18n = ɵrefreshOnTranslation();
197
+ ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
198
+ inject(ɵWuStyleLoader).load('button', ɵWU_BUTTON_CSS);
199
+ }
200
+ ngOnChanges(changes) {
201
+ if (changes['imageChangedEvent'] || changes['imageFile'] || changes['imageURL'] || changes['imageBase64'])
202
+ this.sourceChanged(changes);
203
+ if (changes['cropper']) {
204
+ const given = normalizeCrop(this.cropper);
205
+ if (!this.source)
206
+ this.pendingCropper = given;
207
+ else if (given && !sameCrop(given, roundCrop(this.rect)))
208
+ this.placeCrop(given);
209
+ }
210
+ if (!this.source) {
211
+ this.cdr.markForCheck();
212
+ return;
213
+ }
214
+ let layout = false;
215
+ let draw = false;
216
+ let recrop = false;
217
+ if (changes['canvasRotation'] || changes['transform'] || changes['rotation'] || changes['containWithinAspectRatio'] ||
218
+ (this._contain && (changes['aspectRatio'] || changes['maintainAspectRatio'] || changes['cropperStaticWidth'] || changes['cropperStaticHeight']))) {
219
+ // canvasRotation alone keeps turns made with the toolbar; transform / rotation say what the turn is.
220
+ this.reorient(changes['transform'] || changes['rotation'] ? this.inputTurn() : this.turn, false);
221
+ }
222
+ if (changes['aspectRatio'] || changes['maintainAspectRatio'] || changes['cropperMinWidth'] || changes['cropperMinHeight'] ||
223
+ changes['cropperMaxWidth'] || changes['cropperMaxHeight'] || changes['cropperStaticWidth'] || changes['cropperStaticHeight']) {
224
+ this.rect = clampCrop(this.rect, this.windowRect(), this.limits());
225
+ recrop = true;
226
+ }
227
+ if (changes['zoom'] || changes['transform'] || changes['maxZoom']) {
228
+ const z = this.inputZoom();
229
+ if (this.applyZoom(z === null ? this.view.zoom : z))
230
+ draw = recrop = true;
231
+ }
232
+ if (changes['alignImage'])
233
+ layout = draw = true;
234
+ if (changes['format'] || changes['imageQuality'] || changes['output'] || changes['resizeToWidth'] || changes['resizeToHeight'] ||
235
+ changes['onlyScaleDown'] || changes['backgroundColor'] || changes['autoCrop'])
236
+ recrop = true;
237
+ if (changes['backgroundColor'])
238
+ draw = true;
239
+ this.sync();
240
+ this.render(layout, draw);
241
+ if (recrop)
242
+ this.scheduleCrop();
243
+ this.cdr.markForCheck();
244
+ }
245
+ ngAfterViewInit() {
246
+ var _a, _b;
247
+ if (!this.browser)
248
+ return;
249
+ const stage = (_a = this.stageRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
250
+ const viewport = (_b = this.viewportRef) === null || _b === void 0 ? void 0 : _b.nativeElement;
251
+ this.zone.runOutsideAngular(() => {
252
+ if (stage) {
253
+ const wheel = (e) => this.wheel(e);
254
+ stage.addEventListener('wheel', wheel, { passive: false });
255
+ this.stopWheel = () => stage.removeEventListener('wheel', wheel);
256
+ }
257
+ if (viewport && typeof ResizeObserver !== 'undefined') {
258
+ this.resizeObserver = new ResizeObserver(() => this.render(true, true));
259
+ this.resizeObserver.observe(viewport);
260
+ }
261
+ else {
262
+ const win = this.doc.defaultView;
263
+ const resize = () => this.render(true, true);
264
+ win === null || win === void 0 ? void 0 : win.addEventListener('resize', resize);
265
+ this.stopResize = () => win === null || win === void 0 ? void 0 : win.removeEventListener('resize', resize);
266
+ }
267
+ });
268
+ this.render(true, true);
269
+ }
270
+ ngOnDestroy() {
271
+ var _a, _b, _c, _d;
272
+ this.destroyed = true;
273
+ this.loadSeq++;
274
+ this.i18n.unsubscribe();
275
+ (_a = this.stopListen) === null || _a === void 0 ? void 0 : _a.call(this);
276
+ (_b = this.stopWheel) === null || _b === void 0 ? void 0 : _b.call(this);
277
+ (_c = this.stopResize) === null || _c === void 0 ? void 0 : _c.call(this);
278
+ (_d = this.resizeObserver) === null || _d === void 0 ? void 0 : _d.disconnect();
279
+ if (this.frameId)
280
+ cancelAnimationFrame(this.frameId);
281
+ if (this.cropTimer)
282
+ clearTimeout(this.cropTimer);
283
+ if (this.soonTimer)
284
+ clearTimeout(this.soonTimer);
285
+ this.releaseSource();
286
+ }
287
+ // ---------- what the template reads ----------
288
+ get t() {
289
+ return this.config.translation;
290
+ }
291
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
292
+ get rootStyle() {
293
+ return this.style && typeof this.style === 'object' ? this.style : null;
294
+ }
295
+ /** The app's own toolbar buttons: `<ng-template #tools let-cropper>` or `wuTemplate="tools"`. */
296
+ get toolsTemplate() {
297
+ return asTemplate(this.toolsRef) || ɵfindTemplate(this.templates, 'tools');
298
+ }
299
+ /** A fixed-size box cannot be resized. */
300
+ get resizable() {
301
+ return !this._disabled && !(num(this.cropperStaticWidth) > 0 && num(this.cropperStaticHeight) > 0);
302
+ }
303
+ get boxLabel() {
304
+ return `${this.cropperFrameAriaLabel || this.t.cropArea}, ${this.cropW} × ${this.cropH}`;
305
+ }
306
+ buttonClass(extra) {
307
+ return ɵbuttonClass('p-button-text p-button-secondary') + ' wu-btn-icon-only ' + extra;
308
+ }
309
+ // ---------- methods for the app ----------
310
+ /**
311
+ * Crops now and resolves with the result (also emitted as `imageCropped`); null while no picture is loaded.
312
+ * `output` overrides the `output` input for this call.
313
+ */
314
+ crop(output) {
315
+ return this.cropNow(output === 'base64' || output === 'blob' ? output : this.output, false);
316
+ }
317
+ /** Puts the box back to its starting size and place, zoom back to 1. */
318
+ resetCrop() {
319
+ if (!this.source)
320
+ return;
321
+ const zoomed = this.view.zoom !== 1;
322
+ this.startCrop();
323
+ this.commit({ transform: zoomed, draw: zoomed });
324
+ }
325
+ /** Undoes zoom, turns and mirrors and puts the box back (the toolbar's reset). */
326
+ reset() {
327
+ if (!this.source)
328
+ return;
329
+ this.turn = UPRIGHT;
330
+ this.updateBounds();
331
+ this.startCrop();
332
+ this.commit({ transform: true, layout: true, draw: true });
333
+ }
334
+ rotateLeft() {
335
+ this.reorient(rotateOrientation(this.turn, -1), true);
336
+ }
337
+ rotateRight() {
338
+ this.reorient(rotateOrientation(this.turn, 1), true);
339
+ }
340
+ flipHorizontal() {
341
+ this.reorient(Object.assign(Object.assign({}, this.turn), { flipH: !this.turn.flipH }), true);
342
+ }
343
+ flipVertical() {
344
+ this.reorient(Object.assign(Object.assign({}, this.turn), { flipV: !this.turn.flipV }), true);
345
+ }
346
+ zoomIn() {
347
+ if (this.applyZoom(this.view.zoom * ZOOM_STEP))
348
+ this.commit({ transform: true, draw: true });
349
+ }
350
+ zoomOut() {
351
+ if (this.applyZoom(this.view.zoom / ZOOM_STEP))
352
+ this.commit({ transform: true, draw: true });
353
+ }
354
+ // ---------- toolbar ----------
355
+ zoomSliderInput(event) {
356
+ const v = num(event.target.value);
357
+ const max = this.maxZoomValue();
358
+ if (this.applyZoom(Math.pow(max, clamp(v, 0, 100) / 100)))
359
+ this.commit({ transform: true, draw: true, soon: true });
360
+ }
361
+ // ---------- pointer ----------
362
+ pointerDown(event) {
363
+ var _a, _b;
364
+ if (this._disabled || !this.shown || (event.pointerType === 'mouse' && event.button !== 0))
365
+ return;
366
+ event.preventDefault();
367
+ // A new first pointer starts afresh, in case an earlier pointerup never arrived.
368
+ if (event.isPrimary)
369
+ this.pointers.clear();
370
+ this.pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });
371
+ this.listen();
372
+ if (this.pointers.size === 2) {
373
+ this.startPinch();
374
+ return;
375
+ }
376
+ if (this.pointers.size > 2)
377
+ return;
378
+ const target = event.target;
379
+ const handle = (_a = target === null || target === void 0 ? void 0 : target.closest('[data-handle]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-handle');
380
+ const inBox = !!(target === null || target === void 0 ? void 0 : target.closest('.wu-imagecropper-box'));
381
+ (_b = this.boxRef) === null || _b === void 0 ? void 0 : _b.nativeElement.focus({ preventScroll: true });
382
+ let mode = 'none';
383
+ if (handle && this.resizable)
384
+ mode = 'resize';
385
+ else if (inBox)
386
+ mode = 'move';
387
+ else if (this.view.zoom > 1)
388
+ mode = 'pan';
389
+ this.gesture = { mode, handle: handle || null, x: event.clientX, y: event.clientY, crop: Object.assign({}, this.rect), view: Object.assign({}, this.view), distance: 0 };
390
+ this.panning = mode === 'pan';
391
+ }
392
+ startPinch() {
393
+ const distance = this.pinchDistance();
394
+ this.gesture = { mode: distance > 0 ? 'pinch' : 'none', handle: null, x: 0, y: 0, crop: Object.assign({}, this.rect), view: Object.assign({}, this.view), distance };
395
+ this.panning = false;
396
+ }
397
+ pinchDistance() {
398
+ const p = Array.from(this.pointers.values());
399
+ return p.length < 2 ? 0 : Math.hypot(p[0].x - p[1].x, p[0].y - p[1].y);
400
+ }
401
+ listen() {
402
+ if (this.stopListen)
403
+ return;
404
+ const move = (e) => this.pointerMove(e);
405
+ const up = (e) => this.pointerUp(e);
406
+ this.zone.runOutsideAngular(() => {
407
+ this.doc.addEventListener('pointermove', move);
408
+ this.doc.addEventListener('pointerup', up);
409
+ this.doc.addEventListener('pointercancel', up);
410
+ });
411
+ this.stopListen = () => {
412
+ this.doc.removeEventListener('pointermove', move);
413
+ this.doc.removeEventListener('pointerup', up);
414
+ this.doc.removeEventListener('pointercancel', up);
415
+ this.stopListen = null;
416
+ };
417
+ }
418
+ /** Runs outside Angular: state changes here are drawn on the next frame. */
419
+ pointerMove(e) {
420
+ if (!this.pointers.has(e.pointerId))
421
+ return;
422
+ this.pointers.set(e.pointerId, { x: e.clientX, y: e.clientY });
423
+ const g = this.gesture;
424
+ if (!g || g.mode === 'none' || !this.source)
425
+ return;
426
+ e.preventDefault();
427
+ if (g.mode === 'pinch') {
428
+ const d = this.pinchDistance();
429
+ if (!d || !g.distance)
430
+ return;
431
+ const r = zoomCrop(this.bounds, g.view, g.crop, g.view.zoom * (d / g.distance), this.limits(), this.maxZoomValue());
432
+ this.view = r.view;
433
+ this.rect = r.crop;
434
+ this.render(false, true);
435
+ return;
436
+ }
437
+ const s = this.scale || 1;
438
+ const dx = (e.clientX - g.x) / s;
439
+ const dy = (e.clientY - g.y) / s;
440
+ if (g.mode === 'move') {
441
+ this.rect = moveCrop(g.crop, dx, dy, this.windowRect());
442
+ }
443
+ else if (g.mode === 'resize' && g.handle) {
444
+ this.rect = resizeCrop(g.crop, g.handle, dx, dy, this.windowRect(), this.limits());
445
+ }
446
+ else if (g.mode === 'pan') {
447
+ const r = panCrop(this.bounds, g.view, g.crop, -dx, -dy);
448
+ this.view = r.view;
449
+ this.rect = r.crop;
450
+ }
451
+ this.dragging = true;
452
+ this.render(false, g.mode === 'pan');
453
+ }
454
+ pointerUp(e) {
455
+ var _a;
456
+ if (!this.pointers.delete(e.pointerId))
457
+ return;
458
+ if (this.pointers.size > 0) {
459
+ // One finger of a pinch lifted: wait for the other rather than jumping into a drag.
460
+ if (this.gesture)
461
+ this.gesture = Object.assign(Object.assign({}, this.gesture), { mode: 'none' });
462
+ return;
463
+ }
464
+ const g = this.gesture;
465
+ this.gesture = null;
466
+ (_a = this.stopListen) === null || _a === void 0 ? void 0 : _a.call(this);
467
+ const viewChanged = !!g && (g.view.zoom !== this.view.zoom || g.view.cx !== this.view.cx || g.view.cy !== this.view.cy);
468
+ const moved = !!g && (!sameCrop(g.crop, this.rect, 1e-6) || viewChanged);
469
+ this.zone.run(() => {
470
+ this.dragging = false;
471
+ this.panning = false;
472
+ if (moved)
473
+ this.commit({ transform: !!g && g.view.zoom !== this.view.zoom, draw: viewChanged });
474
+ else {
475
+ this.render(false, false);
476
+ this.cdr.markForCheck();
477
+ }
478
+ });
479
+ }
480
+ /** Ctrl + wheel (and a trackpad pinch, which arrives as one) zooms; a plain wheel scrolls the page. */
481
+ wheel(e) {
482
+ if (!e.ctrlKey || this._disabled || !this.shown)
483
+ return;
484
+ e.preventDefault();
485
+ const dy = e.deltaMode === 1 ? e.deltaY * 16 : e.deltaMode === 2 ? e.deltaY * 400 : e.deltaY;
486
+ const factor = Math.exp(-clamp(dy, -100, 100) * 0.002);
487
+ this.zone.run(() => {
488
+ if (this.applyZoom(this.view.zoom * factor))
489
+ this.commit({ transform: true, draw: true, soon: true });
490
+ });
491
+ }
492
+ // ---------- keyboard ----------
493
+ boxKey(event) {
494
+ if (this._disabled || !this.source)
495
+ return;
496
+ const s = this.scale || 1;
497
+ const step = Math.max(1, Math.round((event.shiftKey ? 10 : 1) / s));
498
+ const area = this.windowRect();
499
+ const limits = this.limits();
500
+ let next = null;
501
+ const key = event.key;
502
+ if (key === '+' || key === '=' || key === '-' || key === '_') {
503
+ if (!this.resizable)
504
+ return;
505
+ const amount = 2 * Math.max(1, Math.round(10 / s));
506
+ next = growCrop(this.rect, key === '+' || key === '=' ? amount : -amount, area, limits);
507
+ }
508
+ else if (key === 'ArrowLeft' || key === 'ArrowRight' || key === 'ArrowUp' || key === 'ArrowDown') {
509
+ const dx = key === 'ArrowLeft' ? -step : key === 'ArrowRight' ? step : 0;
510
+ const dy = key === 'ArrowUp' ? -step : key === 'ArrowDown' ? step : 0;
511
+ if (event.altKey) {
512
+ if (!this.resizable)
513
+ return;
514
+ next = dx ? resizeCrop(this.rect, 'e', dx, 0, area, limits) : resizeCrop(this.rect, 's', 0, dy, area, limits);
515
+ }
516
+ else {
517
+ next = moveCrop(this.rect, dx, dy, area);
518
+ }
519
+ }
520
+ else {
521
+ return;
522
+ }
523
+ event.preventDefault();
524
+ if (sameCrop(next, this.rect, 1e-6))
525
+ return;
526
+ this.rect = next;
527
+ this.commit({});
528
+ }
529
+ // ---------- loading ----------
530
+ sourceChanged(changes) {
531
+ if (changes['imageChangedEvent'] && this.imageChangedEvent) {
532
+ const file = fileFrom(this.imageChangedEvent);
533
+ if (file)
534
+ void this.load(file, 'blob');
535
+ return;
536
+ }
537
+ if (changes['imageFile'] && this.imageFile)
538
+ void this.load(this.imageFile, 'blob');
539
+ else if (changes['imageURL'] && this.imageURL)
540
+ void this.load(this.imageURL, 'url');
541
+ else if (changes['imageBase64'] && this.imageBase64)
542
+ void this.load(this.imageBase64, 'base64');
543
+ else if (!this.imageChangedEvent && !this.imageFile && !this.imageURL && !this.imageBase64)
544
+ this.clear();
545
+ }
546
+ load(input, kind) {
547
+ return __awaiter(this, void 0, void 0, function* () {
548
+ if (!this.browser)
549
+ return;
550
+ const seq = ++this.loadSeq;
551
+ // The previous picture stays until the new one is decoded, so the layout does not jump.
552
+ this.loading = true;
553
+ this.failed = false;
554
+ this.cdr.markForCheck();
555
+ let src = null;
556
+ try {
557
+ src = yield loadSource(input, kind, this.doc);
558
+ }
559
+ catch (_a) {
560
+ src = null;
561
+ }
562
+ if (seq !== this.loadSeq || this.destroyed) {
563
+ src === null || src === void 0 ? void 0 : src.close();
564
+ return;
565
+ }
566
+ this.releaseSource();
567
+ this.loading = false;
568
+ if (!src) {
569
+ this.ready = false;
570
+ this.failed = true;
571
+ this.sync();
572
+ this.render(true, true);
573
+ this.cdr.markForCheck();
574
+ this.loadImageFailed.emit();
575
+ return;
576
+ }
577
+ this.source = src;
578
+ this.turn = this.inputTurn();
579
+ this.updateBounds();
580
+ this.shape = Object.assign({}, this.bounds);
581
+ this.startCrop();
582
+ const given = this.pendingCropper;
583
+ this.pendingCropper = null;
584
+ if (given)
585
+ this.rect = clampCrop(given, this.windowRect(), this.limits());
586
+ const z = this.inputZoom();
587
+ if (z !== null && z !== 1)
588
+ this.applyZoom(z);
589
+ this.ready = true;
590
+ this.announced = false;
591
+ this.sync();
592
+ this.render(true, true);
593
+ this.cdr.markForCheck();
594
+ this.imageLoaded.emit({
595
+ original: { size: { width: src.rawWidth, height: src.rawHeight } },
596
+ transformed: { size: { width: src.width, height: src.height } },
597
+ exifTransform: Object.assign({}, src.exif),
598
+ });
599
+ });
600
+ }
601
+ clear() {
602
+ this.loadSeq++;
603
+ this.releaseSource();
604
+ this.ready = this.loading = this.failed = false;
605
+ this.sync();
606
+ this.render(true, true);
607
+ this.cdr.markForCheck();
608
+ }
609
+ releaseSource() {
610
+ var _a;
611
+ (_a = this.source) === null || _a === void 0 ? void 0 : _a.close();
612
+ this.source = null;
613
+ }
614
+ // ---------- geometry ----------
615
+ /** CSS pixels per image pixel now. */
616
+ get scale() {
617
+ return this.fit * this.view.zoom;
618
+ }
619
+ windowRect() {
620
+ return viewWindow(this.bounds, this.view);
621
+ }
622
+ maxZoomValue() {
623
+ return Math.max(1, num(this.maxZoom, 10) || 10);
624
+ }
625
+ ratio() {
626
+ const sw = num(this.cropperStaticWidth);
627
+ const sh = num(this.cropperStaticHeight);
628
+ if (sw > 0 && sh > 0)
629
+ return sw / sh;
630
+ return this._keepRatio ? parseAspectRatio(this.aspectRatio) : null;
631
+ }
632
+ limits() {
633
+ const sw = num(this.cropperStaticWidth);
634
+ const sh = num(this.cropperStaticHeight);
635
+ if (sw > 0 && sh > 0)
636
+ return { minWidth: sw, maxWidth: sw, minHeight: sh, maxHeight: sh, ratio: sw / sh };
637
+ const s = this.scale;
638
+ const minPx = s > 0 ? MIN_BOX_PX / s : 0;
639
+ return {
640
+ minWidth: Math.max(num(this.cropperMinWidth), minPx),
641
+ minHeight: Math.max(num(this.cropperMinHeight), minPx),
642
+ maxWidth: num(this.cropperMaxWidth),
643
+ maxHeight: num(this.cropperMaxHeight),
644
+ ratio: this.ratio(),
645
+ };
646
+ }
647
+ /** Turn and mirrors the inputs ask for. */
648
+ inputTurn() {
649
+ const t = this.transform || {};
650
+ const r = this.rotation !== null && this.rotation !== undefined && this.rotation !== '' ? num(this.rotation) : num(t.rotate);
651
+ return { rotate: normalizeAngle(r), flipH: !!t.flipH, flipV: !!t.flipV };
652
+ }
653
+ /** Zoom the inputs ask for, or null for none. */
654
+ inputZoom() {
655
+ if (this.zoom !== null && this.zoom !== undefined && this.zoom !== '')
656
+ return num(this.zoom, 1);
657
+ const s = this.transform ? Number(this.transform.scale) : NaN;
658
+ return isFinite(s) && s > 0 ? s : null;
659
+ }
660
+ /** `turn` with `canvasRotation` on top. */
661
+ total() {
662
+ return Object.assign(Object.assign({}, this.turn), { rotate: normalizeAngle(this.turn.rotate + Math.round(num(this.canvasRotation)) * 90) });
663
+ }
664
+ /** The oriented picture's size for `o`, padded to the aspect ratio with `containWithinAspectRatio`. */
665
+ boundsFor(o) {
666
+ const src = this.source;
667
+ if (!src)
668
+ return { width: 0, height: 0 };
669
+ const turned = rotatedSize(src.width, src.height, o.rotate);
670
+ const ratio = this.ratio();
671
+ return this._contain && ratio ? padToRatio(turned, ratio) : turned;
672
+ }
673
+ updateBounds() {
674
+ const src = this.source;
675
+ if (!src)
676
+ return;
677
+ const o = this.total();
678
+ this.bounds = this.boundsFor(o);
679
+ this.matrix = orientationMatrix(src.width, src.height, o, this.bounds);
680
+ this.applied = o;
681
+ }
682
+ startCrop() {
683
+ this.view = clampView(this.bounds, { zoom: 1, cx: this.bounds.width / 2, cy: this.bounds.height / 2 });
684
+ this.rect = initialCrop(cropArea(this.bounds), this.limits());
685
+ }
686
+ /** A box from the app: shown at zoom 1 if it lies outside what is in view. */
687
+ placeCrop(given) {
688
+ const win = this.windowRect();
689
+ if (given.x1 < win.x1 || given.y1 < win.y1 || given.x2 > win.x2 || given.y2 > win.y2) {
690
+ this.view = clampView(this.bounds, { zoom: 1, cx: 0, cy: 0 });
691
+ this.render(false, true);
692
+ }
693
+ this.rect = clampCrop(given, this.windowRect(), this.limits());
694
+ this.sync();
695
+ this.render(false, false);
696
+ this.scheduleCrop();
697
+ }
698
+ /**
699
+ * Turns / mirrors to `next`, carrying the box along. A fresh box when the angle is not a quarter turn or the padding
700
+ * of `containWithinAspectRatio` changes shape.
701
+ */
702
+ reorient(next, user) {
703
+ const fromSize = this.bounds;
704
+ const from = this.applied;
705
+ this.turn = { rotate: normalizeAngle(next.rotate), flipH: !!next.flipH, flipV: !!next.flipV };
706
+ if (!this.source)
707
+ return;
708
+ const to = this.total();
709
+ if (sameTurn(from, to) && sameSize(this.boundsFor(to), fromSize))
710
+ return;
711
+ this.updateBounds();
712
+ const crop = remapCrop(this.rect, fromSize, from, this.bounds, to, !!this.ratio());
713
+ const centre = remapPoint(this.view.cx, this.view.cy, fromSize, from, this.bounds, to);
714
+ if (crop && centre && sameSize(rotatedSize(fromSize.width, fromSize.height, to.rotate - from.rotate), this.bounds)) {
715
+ this.view = clampView(this.bounds, { zoom: this.view.zoom, cx: centre.x, cy: centre.y }, this.maxZoomValue());
716
+ this.rect = clampCrop(crop, this.windowRect(), this.limits());
717
+ }
718
+ else {
719
+ this.startCrop();
720
+ }
721
+ if (user) {
722
+ this.commit({ transform: true, layout: true, draw: true });
723
+ }
724
+ else {
725
+ this.sync();
726
+ this.render(true, true);
727
+ this.scheduleCrop();
728
+ }
729
+ }
730
+ applyZoom(zoom) {
731
+ if (!this.source || !isFinite(zoom))
732
+ return false;
733
+ const r = zoomCrop(this.bounds, this.view, this.rect, zoom, this.limits(), this.maxZoomValue());
734
+ const same = r.view.zoom === this.view.zoom && r.view.cx === this.view.cx && r.view.cy === this.view.cy && sameCrop(r.crop, this.rect, 1e-6);
735
+ this.view = r.view;
736
+ this.rect = r.crop;
737
+ return !same;
738
+ }
739
+ // ---------- drawing ----------
740
+ /** Works out what the template shows from the state (no DOM reads). */
741
+ sync() {
742
+ this.shown = this.ready && this.fit > 0;
743
+ const win = this.windowRect();
744
+ const s = this.scale;
745
+ this.boxX = (this.rect.x1 - win.x1) * s;
746
+ this.boxY = (this.rect.y1 - win.y1) * s;
747
+ this.boxW = cropWidth(this.rect) * s;
748
+ this.boxH = cropHeight(this.rect) * s;
749
+ this.cropW = Math.round(cropWidth(this.rect));
750
+ this.cropH = Math.round(cropHeight(this.rect));
751
+ const max = this.maxZoomValue();
752
+ this.zoomSlider = max > 1 ? Math.round((Math.log(this.view.zoom) / Math.log(max)) * 100) : 0;
753
+ this.zoomPercent = Math.round(this.view.zoom * 100);
754
+ this.canZoomOut = this.view.zoom > 1.0001;
755
+ this.canZoomIn = this.view.zoom < max - 0.0001;
756
+ }
757
+ /** Lays out, refreshes the template and redraws on the next frame (outside Angular, once per frame). */
758
+ render(layout, draw) {
759
+ if (!this.browser || this.destroyed)
760
+ return;
761
+ this.needLayout = this.needLayout || layout;
762
+ this.needDraw = this.needDraw || draw;
763
+ if (this.frameId)
764
+ return;
765
+ this.zone.runOutsideAngular(() => {
766
+ this.frameId = requestAnimationFrame(() => {
767
+ this.frameId = 0;
768
+ if (this.destroyed)
769
+ return;
770
+ const layoutNow = this.needLayout;
771
+ const drawNow = this.needDraw;
772
+ this.needLayout = this.needDraw = false;
773
+ if (layoutNow)
774
+ this.layout();
775
+ this.sync();
776
+ this.cdr.detectChanges();
777
+ if (layoutNow || drawNow)
778
+ this.draw();
779
+ this.announce();
780
+ });
781
+ });
782
+ }
783
+ /**
784
+ * Measures the room for the picture and fits the stage into it. The room has the shape of the picture as loaded;
785
+ * a turned picture fits inside it, so the page below does not jump.
786
+ */
787
+ layout() {
788
+ var _a, _b;
789
+ const viewport = (_a = this.viewportRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
790
+ const frame = (_b = this.frameRef) === null || _b === void 0 ? void 0 : _b.nativeElement;
791
+ if (!viewport || !frame)
792
+ return;
793
+ const ratio = this.ready && this.shape.width > 0 && this.shape.height > 0 ? `${this.shape.width} / ${this.shape.height}` : '';
794
+ if (ratio !== this.viewportRatio) {
795
+ this.viewportRatio = ratio;
796
+ viewport.style.aspectRatio = ratio;
797
+ }
798
+ const aw = frame.clientWidth;
799
+ const ah = frame.clientHeight;
800
+ if (!this.ready || !aw || !ah || !this.bounds.width || !this.bounds.height) {
801
+ this.fit = 0;
802
+ return;
803
+ }
804
+ const fit = Math.min(aw / this.bounds.width, ah / this.bounds.height);
805
+ this.fit = fit;
806
+ this.stageW = this.bounds.width * fit;
807
+ this.stageH = this.bounds.height * fit;
808
+ this.stageX = this.alignImage === 'left' ? 0 : (aw - this.stageW) / 2;
809
+ this.stageY = (ah - this.stageH) / 2;
810
+ }
811
+ draw() {
812
+ var _a, _b;
813
+ const canvas = (_a = this.canvasRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
814
+ if (!canvas)
815
+ return;
816
+ const src = this.source;
817
+ const ctx = canvas.getContext('2d');
818
+ if (!ctx)
819
+ return;
820
+ if (!src || !this.shown) {
821
+ canvas.width = canvas.height = 1;
822
+ ctx.clearRect(0, 0, 1, 1);
823
+ return;
824
+ }
825
+ const dpr = Math.min(Math.max(((_b = this.doc.defaultView) === null || _b === void 0 ? void 0 : _b.devicePixelRatio) || 1, 1), 3);
826
+ const cw = Math.max(1, Math.round(this.stageW * dpr));
827
+ const ch = Math.max(1, Math.round(this.stageH * dpr));
828
+ if (canvas.width !== cw)
829
+ canvas.width = cw;
830
+ if (canvas.height !== ch)
831
+ canvas.height = ch;
832
+ const win = this.windowRect();
833
+ const sx = cw / cropWidth(win);
834
+ const sy = ch / cropHeight(win);
835
+ ctx.setTransform(1, 0, 0, 1, 0, 0);
836
+ ctx.clearRect(0, 0, cw, ch);
837
+ ctx.setTransform(sx, 0, 0, sy, -win.x1 * sx, -win.y1 * sy);
838
+ if (this.backgroundColor) {
839
+ ctx.fillStyle = this.backgroundColor;
840
+ ctx.fillRect(0, 0, this.bounds.width, this.bounds.height);
841
+ }
842
+ ctx.imageSmoothingEnabled = true;
843
+ ctx.imageSmoothingQuality = 'high';
844
+ const m = this.matrix;
845
+ ctx.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
846
+ ctx.drawImage(src.image, 0, 0);
847
+ }
848
+ /** The first time a picture is shown: `cropperReady`, the starting box for `[(cropper)]`, the first crop. */
849
+ announce() {
850
+ if (this.announced || !this.shown)
851
+ return;
852
+ this.announced = true;
853
+ this.zone.run(() => {
854
+ this.cropperReady.emit({ width: Math.round(this.stageW), height: Math.round(this.stageH) });
855
+ this.cropperChange.emit(roundCrop(this.rect));
856
+ this.scheduleCrop(0);
857
+ });
858
+ }
859
+ // ---------- telling the app ----------
860
+ /** After a change by the user: redraw, tell the app, crop again. */
861
+ commit(o) {
862
+ this.sync();
863
+ this.cdr.markForCheck();
864
+ this.render(!!o.layout, !!o.draw);
865
+ if (o.soon)
866
+ this.emitSoon(!!o.transform);
867
+ else
868
+ this.emitChanges(!!o.transform);
869
+ this.scheduleCrop();
870
+ }
871
+ emitChanges(transform) {
872
+ this.cropperChange.emit(roundCrop(this.rect));
873
+ if (transform)
874
+ this.transformChange.emit(this.currentTransform());
875
+ }
876
+ /** For changes that stream (slider, wheel): tell the app once they settle. */
877
+ emitSoon(transform) {
878
+ this.soonTransform = this.soonTransform || transform;
879
+ if (this.soonTimer)
880
+ clearTimeout(this.soonTimer);
881
+ this.zone.runOutsideAngular(() => {
882
+ this.soonTimer = setTimeout(() => {
883
+ this.soonTimer = null;
884
+ const t = this.soonTransform;
885
+ this.soonTransform = false;
886
+ this.zone.run(() => this.emitChanges(t));
887
+ }, 150);
888
+ });
889
+ }
890
+ currentTransform() {
891
+ return Object.assign(Object.assign({}, (this.transform || {})), { scale: this.view.zoom, rotate: this.turn.rotate, flipH: this.turn.flipH, flipV: this.turn.flipV });
892
+ }
893
+ scheduleCrop(delay = CROP_DELAY) {
894
+ if (!this._autoCrop || !this.ready || !this.browser || this.destroyed)
895
+ return;
896
+ if (this.cropTimer)
897
+ clearTimeout(this.cropTimer);
898
+ this.zone.runOutsideAngular(() => {
899
+ this.cropTimer = setTimeout(() => {
900
+ this.cropTimer = null;
901
+ this.zone.run(() => void this.cropNow(this.output, true));
902
+ }, delay);
903
+ });
904
+ }
905
+ // ---------- cropping ----------
906
+ cropNow(output, auto) {
907
+ return __awaiter(this, void 0, void 0, function* () {
908
+ const src = this.source;
909
+ if (!src || !this.ready || this.destroyed)
910
+ return null;
911
+ const seq = ++this.cropSeq;
912
+ this.startCropImage.emit();
913
+ let event = null;
914
+ try {
915
+ event = yield this.produce(src, Object.assign({}, this.rect), output);
916
+ }
917
+ catch (e) {
918
+ console.warn('[wiraui] imagecropper: the picture could not be cropped (a cross-origin image without CORS?).', e);
919
+ }
920
+ if (!event)
921
+ return null;
922
+ if (seq !== this.cropSeq || this.destroyed || src !== this.source) {
923
+ // A newer crop is on its way: this one is out of date.
924
+ if (auto) {
925
+ if (event.objectUrl)
926
+ URL.revokeObjectURL(event.objectUrl);
927
+ return null;
928
+ }
929
+ return event;
930
+ }
931
+ if (event.objectUrl) {
932
+ if (this.lastObjectUrl)
933
+ URL.revokeObjectURL(this.lastObjectUrl);
934
+ this.lastObjectUrl = event.objectUrl;
935
+ }
936
+ this.imageCropped.emit(event);
937
+ return event;
938
+ });
939
+ }
940
+ produce(src, rect, output) {
941
+ return __awaiter(this, void 0, void 0, function* () {
942
+ const size = outputSize(cropWidth(rect), cropHeight(rect), {
943
+ resizeToWidth: num(this.resizeToWidth),
944
+ resizeToHeight: num(this.resizeToHeight),
945
+ onlyScaleDown: this._onlyScaleDown,
946
+ ratio: this.ratio(),
947
+ });
948
+ const canvas = this.paintCrop(src, rect, size);
949
+ if (!canvas)
950
+ return null;
951
+ const type = 'image/' + this.formatName();
952
+ const quality = clamp(num(this.imageQuality, 92), 0, 100) / 100;
953
+ const base = { width: size.width, height: size.height, cropperPosition: this.screenPosition(rect), imagePosition: roundCrop(rect) };
954
+ if (output === 'base64')
955
+ return Object.assign(Object.assign({}, base), { base64: canvas.toDataURL(type, quality) });
956
+ const blob = yield new Promise((resolve) => canvas.toBlob(resolve, type, quality));
957
+ if (!blob)
958
+ return null;
959
+ return Object.assign(Object.assign({}, base), { blob, objectUrl: URL.createObjectURL(blob) });
960
+ });
961
+ }
962
+ /**
963
+ * Draws the crop at the output size. A big reduction in one step looks jagged in some browsers, so the crop is
964
+ * drawn at up to 2ⁿ times the size and halved n times.
965
+ */
966
+ paintCrop(src, rect, size) {
967
+ const cw = cropWidth(rect);
968
+ const ch = cropHeight(rect);
969
+ let n = 0;
970
+ while (n < 4 && size.width * Math.pow(2, (n + 1)) <= cw && size.height * Math.pow(2, (n + 1)) <= ch && size.width * size.height * Math.pow(4, (n + 1)) <= MAX_CANVAS_AREA)
971
+ n++;
972
+ const w = size.width * Math.pow(2, n);
973
+ const h = size.height * Math.pow(2, n);
974
+ const first = this.newCanvas(w, h, n === 0);
975
+ const ctx = first === null || first === void 0 ? void 0 : first.getContext('2d');
976
+ if (!first || !ctx)
977
+ return null;
978
+ let canvas = first;
979
+ const sx = w / cw;
980
+ const sy = h / ch;
981
+ ctx.setTransform(sx, 0, 0, sy, -rect.x1 * sx, -rect.y1 * sy);
982
+ const m = this.matrix;
983
+ ctx.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
984
+ ctx.drawImage(src.image, 0, 0);
985
+ for (let i = n - 1; i >= 0; i--) {
986
+ const next = this.newCanvas(size.width * Math.pow(2, i), size.height * Math.pow(2, i), i === 0);
987
+ const nctx = next === null || next === void 0 ? void 0 : next.getContext('2d');
988
+ if (!next || !nctx)
989
+ return null;
990
+ nctx.drawImage(canvas, 0, 0, next.width, next.height);
991
+ canvas = next;
992
+ }
993
+ return canvas;
994
+ }
995
+ /** A canvas; `final` fills it with the background colour first (white for JPEG, which has no transparency). */
996
+ newCanvas(width, height, final) {
997
+ const canvas = this.doc.createElement('canvas');
998
+ canvas.width = width;
999
+ canvas.height = height;
1000
+ const ctx = canvas.getContext('2d');
1001
+ if (!ctx)
1002
+ return null;
1003
+ const format = this.formatName();
1004
+ const fill = this.backgroundColor || (format === 'jpeg' || format === 'bmp' ? '#ffffff' : '');
1005
+ if (final && fill) {
1006
+ ctx.fillStyle = fill;
1007
+ ctx.fillRect(0, 0, width, height);
1008
+ }
1009
+ ctx.imageSmoothingEnabled = true;
1010
+ ctx.imageSmoothingQuality = 'high';
1011
+ return canvas;
1012
+ }
1013
+ /** `format` in lower case, `jpg` read as `jpeg`. */
1014
+ formatName() {
1015
+ const f = String(this.format || 'png').toLowerCase();
1016
+ return f === 'jpg' ? 'jpeg' : f;
1017
+ }
1018
+ /** Where the box is over the shown picture, in CSS pixels. */
1019
+ screenPosition(rect) {
1020
+ const win = this.windowRect();
1021
+ const s = this.scale;
1022
+ return roundCrop({ x1: (rect.x1 - win.x1) * s, y1: (rect.y1 - win.y1) * s, x2: (rect.x2 - win.x1) * s, y2: (rect.y2 - win.y1) * s });
1023
+ }
1024
+ }
1025
+ WuImageCropper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropper, deps: [], target: i0.ɵɵFactoryTarget.Component });
1026
+ WuImageCropper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuImageCropper, isStandalone: true, selector: "wu-imagecropper, wu-imageCropper, wu-image-cropper, image-cropper", inputs: { imageFile: "imageFile", imageChangedEvent: "imageChangedEvent", imageURL: "imageURL", imageBase64: "imageBase64", format: "format", imageQuality: "imageQuality", output: "output", resizeToWidth: "resizeToWidth", resizeToHeight: "resizeToHeight", onlyScaleDown: "onlyScaleDown", backgroundColor: "backgroundColor", autoCrop: "autoCrop", aspectRatio: "aspectRatio", maintainAspectRatio: "maintainAspectRatio", containWithinAspectRatio: "containWithinAspectRatio", cropperMinWidth: "cropperMinWidth", cropperMinHeight: "cropperMinHeight", cropperMaxWidth: "cropperMaxWidth", cropperMaxHeight: "cropperMaxHeight", cropperStaticWidth: "cropperStaticWidth", cropperStaticHeight: "cropperStaticHeight", roundCropper: "roundCropper", hideResizeSquares: "hideResizeSquares", cropper: "cropper", canvasRotation: "canvasRotation", transform: "transform", rotation: "rotation", zoom: "zoom", maxZoom: "maxZoom", allowMoveImage: "allowMoveImage", alignImage: "alignImage", showToolbar: "showToolbar", toolbar: "toolbar", disabled: "disabled", ariaLabel: "ariaLabel", imageAltText: "imageAltText", cropperFrameAriaLabel: "cropperFrameAriaLabel", styleClass: "styleClass", style: "style", initialStepSize: "initialStepSize", checkImageType: "checkImageType", options: "options" }, outputs: { imageCropped: "imageCropped", startCropImage: "startCropImage", imageLoaded: "imageLoaded", cropperReady: "cropperReady", loadImageFailed: "loadImageFailed", cropperChange: "cropperChange", transformChange: "transformChange" }, queries: [{ propertyName: "toolsRef", first: true, predicate: ["tools"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "viewportRef", first: true, predicate: ["viewport"], descendants: true }, { propertyName: "frameRef", first: true, predicate: ["frame"], descendants: true }, { propertyName: "stageRef", first: true, predicate: ["stage"], descendants: true }, { propertyName: "canvasRef", first: true, predicate: ["canvas"], descendants: true }, { propertyName: "boxRef", first: true, predicate: ["box"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"wu-imagecropper\"\n [class.wu-imagecropper-ready]=\"shown\"\n [class.wu-imagecropper-empty]=\"!ready\"\n [class.wu-imagecropper-loading]=\"loading\"\n [class.wu-imagecropper-failed]=\"failed\"\n [class.wu-imagecropper-disabled]=\"disabled\"\n [class.wu-imagecropper-round]=\"roundCropper\"\n [class.wu-imagecropper-dragging]=\"dragging\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n role=\"group\"\n [attr.aria-label]=\"ariaLabel || t.imageCropper\"\n [attr.aria-busy]=\"loading || null\"\n>\n <div #viewport class=\"wu-imagecropper-viewport\">\n <div #frame class=\"wu-imagecropper-frame\">\n <div\n #stage\n class=\"wu-imagecropper-stage\"\n [class.wu-imagecropper-pannable]=\"shown && canZoomOut && !disabled\"\n [class.wu-imagecropper-panning]=\"panning\"\n [style.visibility]=\"shown ? null : 'hidden'\"\n [style.left.px]=\"stageX\"\n [style.top.px]=\"stageY\"\n [style.width.px]=\"stageW\"\n [style.height.px]=\"stageH\"\n (pointerdown)=\"pointerDown($event)\"\n >\n <canvas\n #canvas\n class=\"wu-imagecropper-canvas\"\n [attr.role]=\"imageAltText ? 'img' : null\"\n [attr.aria-label]=\"imageAltText || null\"\n [attr.aria-hidden]=\"imageAltText ? null : 'true'\"\n ></canvas>\n <div *ngIf=\"shown\" class=\"wu-imagecropper-shade\" aria-hidden=\"true\">\n <div class=\"wu-imagecropper-hole\" [style.left.px]=\"boxX\" [style.top.px]=\"boxY\" [style.width.px]=\"boxW\" [style.height.px]=\"boxH\"></div>\n </div>\n <div\n *ngIf=\"shown\"\n #box\n class=\"wu-imagecropper-box\"\n role=\"group\"\n [attr.tabindex]=\"disabled ? null : 0\"\n [attr.aria-label]=\"boxLabel\"\n [attr.aria-describedby]=\"hintId\"\n [attr.aria-disabled]=\"disabled || null\"\n [style.left.px]=\"boxX\"\n [style.top.px]=\"boxY\"\n [style.width.px]=\"boxW\"\n [style.height.px]=\"boxH\"\n (keydown)=\"boxKey($event)\"\n >\n <span class=\"wu-imagecropper-grid\" aria-hidden=\"true\"></span>\n <ng-container *ngIf=\"resizable\">\n <span *ngFor=\"let e of edges\" [class]=\"'wu-imagecropper-edge wu-imagecropper-edge-' + e\" [attr.data-handle]=\"e\" aria-hidden=\"true\"></span>\n <span\n *ngFor=\"let h of squares\"\n [class]=\"'wu-imagecropper-handle wu-imagecropper-handle-' + h + (hideResizeSquares ? ' wu-imagecropper-handle-hidden' : '')\"\n [attr.data-handle]=\"h\"\n aria-hidden=\"true\"\n ></span>\n </ng-container>\n </div>\n </div>\n </div>\n <span [id]=\"hintId\" class=\"wu-imagecropper-hint\">{{ t.cropAreaHint }}</span>\n <div *ngIf=\"!ready\" class=\"wu-imagecropper-status\" [attr.role]=\"failed && !loading ? 'alert' : null\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"></rect>\n <circle cx=\"8.5\" cy=\"9.5\" r=\"1.5\"></circle>\n <path d=\"m21 16-5-5-9 9\"></path>\n </svg>\n <span *ngIf=\"loading\">{{ t.loading }}</span>\n <span *ngIf=\"failed && !loading\">{{ t.imageLoadFailed }}</span>\n </div>\n </div>\n\n <div\n *ngIf=\"showToolbar && ready && (toolGroups.length || toolsTemplate)\"\n class=\"wu-imagecropper-toolbar\"\n role=\"toolbar\"\n [attr.aria-label]=\"ariaLabel || t.imageCropper\"\n >\n <div *ngFor=\"let group of toolGroups\" class=\"wu-imagecropper-group\" [class.wu-imagecropper-group-zoom]=\"group.zoom\">\n <ng-container *ngFor=\"let tool of group.tools\" [ngSwitch]=\"tool\">\n <button *ngSwitchCase=\"'zoomOut'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-zoom-out')\" [disabled]=\"disabled || !canZoomOut\" [attr.aria-label]=\"t.zoomOut\" [attr.title]=\"t.zoomOut\" (click)=\"zoomOut()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"></circle><path d=\"M8 11h6M20.5 20.5 16 16\"></path></svg>\n </button>\n <input\n *ngSwitchCase=\"'zoomSlider'\"\n type=\"range\"\n class=\"wu-imagecropper-zoom\"\n min=\"0\"\n max=\"100\"\n step=\"1\"\n [value]=\"zoomSlider\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"t.zoom\"\n [attr.aria-valuetext]=\"zoomPercent + '%'\"\n (input)=\"zoomSliderInput($event)\"\n />\n <button *ngSwitchCase=\"'zoomIn'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-zoom-in')\" [disabled]=\"disabled || !canZoomIn\" [attr.aria-label]=\"t.zoomIn\" [attr.title]=\"t.zoomIn\" (click)=\"zoomIn()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"></circle><path d=\"M8 11h6M11 8v6M20.5 20.5 16 16\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'rotateLeft'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-rotate-left')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.rotateLeft\" [attr.title]=\"t.rotateLeft\" (click)=\"rotateLeft()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 4v6h6\"></path><path d=\"M4 10a8 8 0 1 1 1.7 7\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'rotateRight'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-rotate-right')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.rotateRight\" [attr.title]=\"t.rotateRight\" (click)=\"rotateRight()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M20 4v6h-6\"></path><path d=\"M20 10A8 8 0 1 0 18.3 17\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'flipHorizontal'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-flip-h')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.flipHorizontal\" [attr.title]=\"t.flipHorizontal\" (click)=\"flipHorizontal()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3v18\" stroke-dasharray=\"2 2.5\"></path><path d=\"M9 7 4 17h5z\"></path><path d=\"M15 7l5 10h-5z\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'flipVertical'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-flip-v')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.flipVertical\" [attr.title]=\"t.flipVertical\" (click)=\"flipVertical()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 12h18\" stroke-dasharray=\"2 2.5\"></path><path d=\"M7 9 17 4v5z\"></path><path d=\"M7 15l10 5v-5z\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'reset'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-reset')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.resetCrop\" [attr.title]=\"t.resetCrop\" (click)=\"reset()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 12a9 9 0 1 0 2.6-6.4\"></path><path d=\"M3 4v5h5\"></path></svg>\n </button>\n </ng-container>\n </div>\n <div *ngIf=\"toolsTemplate\" class=\"wu-imagecropper-group wu-imagecropper-group-custom\">\n <ng-container *ngTemplateOutlet=\"toolsTemplate; context: toolsContext\"></ng-container>\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-imagecropper,wu-image-cropper,image-cropper){display:block;max-width:100%;min-width:0}.wu-imagecropper{--_handle: var(--wu-imagecropper-handle-size);--_hit: .375rem;--_pad: calc(var(--_handle) / 2 + 1px);box-sizing:border-box;display:flex;flex-direction:column;height:100%;max-width:100%;min-width:0;overflow:hidden;border:var(--wu-imagecropper-border-width) solid var(--wu-border);border-radius:var(--wu-imagecropper-radius);background:var(--wu-imagecropper-bg);color:var(--wu-text)}.wu-imagecropper-viewport{position:relative;box-sizing:content-box;flex:1 1 auto;width:calc(100% - var(--_pad) * 2);min-height:0;max-height:var(--wu-imagecropper-max-height);padding:var(--_pad);overflow:hidden}.wu-imagecropper-empty .wu-imagecropper-viewport{min-height:var(--wu-imagecropper-min-height)}.wu-imagecropper-frame{position:absolute;inset:var(--_pad)}.wu-imagecropper-stage{position:absolute;top:0;left:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;background-color:var(--wu-card-bg);background-image:linear-gradient(45deg,var(--wu-hover-bg) 25%,transparent 25%,transparent 75%,var(--wu-hover-bg) 75%),linear-gradient(45deg,var(--wu-hover-bg) 25%,transparent 25%,transparent 75%,var(--wu-hover-bg) 75%);background-position:0 0,.5rem .5rem;background-size:1rem 1rem}.wu-imagecropper-pannable{cursor:grab}.wu-imagecropper-panning{cursor:grabbing}.wu-imagecropper-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.wu-imagecropper-shade{position:absolute;inset:0;overflow:hidden;pointer-events:none}.wu-imagecropper-hole{position:absolute;box-shadow:0 0 0 9999px var(--wu-imagecropper-mask)}.wu-imagecropper-box{position:absolute;box-sizing:border-box;border:1px solid var(--wu-imagecropper-line);box-shadow:0 0 0 1px #0000004d;cursor:move;touch-action:none;outline:none}.wu-imagecropper-box:focus-visible{border-color:var(--wu-primary-color);outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:0 0 0 1px var(--wu-primary-color),var(--wu-control-focus-shadow)}.wu-imagecropper-round .wu-imagecropper-hole,.wu-imagecropper-round .wu-imagecropper-box,.wu-imagecropper-round .wu-imagecropper-grid{border-radius:50%}.wu-imagecropper-grid{--_line: var(--wu-imagecropper-grid-color);position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .15s ease;background-image:linear-gradient(to right,transparent calc(100% / 3 - .5px),var(--_line) 0,var(--_line) calc(100% / 3 + .5px),transparent 0,transparent calc(200% / 3 - .5px),var(--_line) 0,var(--_line) calc(200% / 3 + .5px),transparent 0),linear-gradient(to bottom,transparent calc(100% / 3 - .5px),var(--_line) 0,var(--_line) calc(100% / 3 + .5px),transparent 0,transparent calc(200% / 3 - .5px),var(--_line) 0,var(--_line) calc(200% / 3 + .5px),transparent 0)}.wu-imagecropper-dragging .wu-imagecropper-grid{opacity:1}.wu-imagecropper-edge{position:absolute}.wu-imagecropper-edge-n,.wu-imagecropper-edge-s{left:var(--_hit);right:var(--_hit);height:calc(var(--_hit) * 2);cursor:ns-resize}.wu-imagecropper-edge-n{top:calc(var(--_hit) * -1)}.wu-imagecropper-edge-s{bottom:calc(var(--_hit) * -1)}.wu-imagecropper-edge-e,.wu-imagecropper-edge-w{top:var(--_hit);bottom:var(--_hit);width:calc(var(--_hit) * 2);cursor:ew-resize}.wu-imagecropper-edge-e{right:calc(var(--_hit) * -1)}.wu-imagecropper-edge-w{left:calc(var(--_hit) * -1)}.wu-imagecropper-handle{position:absolute;z-index:1;box-sizing:border-box;width:var(--_handle);height:var(--_handle);margin:calc(var(--_handle) / -2) 0 0 calc(var(--_handle) / -2);border:1px solid var(--wu-imagecropper-handle-border);border-radius:2px;background:var(--wu-imagecropper-handle-bg);box-shadow:0 1px 2px #0000004d}.wu-imagecropper-handle:before{content:\"\";position:absolute;inset:calc(var(--_hit) * -1)}.wu-imagecropper-handle-hidden{border-color:transparent;background:transparent;box-shadow:none}.wu-imagecropper-handle-nw{top:0;left:0;cursor:nwse-resize}.wu-imagecropper-handle-n{top:0;left:50%;cursor:ns-resize}.wu-imagecropper-handle-ne{top:0;left:100%;cursor:nesw-resize}.wu-imagecropper-handle-e{top:50%;left:100%;cursor:ew-resize}.wu-imagecropper-handle-se{top:100%;left:100%;cursor:nwse-resize}.wu-imagecropper-handle-s{top:100%;left:50%;cursor:ns-resize}.wu-imagecropper-handle-sw{top:100%;left:0;cursor:nesw-resize}.wu-imagecropper-handle-w{top:50%;left:0;cursor:ew-resize}.wu-imagecropper-disabled .wu-imagecropper-box,.wu-imagecropper-disabled .wu-imagecropper-stage{cursor:default}.wu-imagecropper-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;color:var(--wu-text-muted);text-align:center}.wu-imagecropper-status svg{width:2.5rem;height:2.5rem;opacity:.6}.wu-imagecropper-hint{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.wu-imagecropper-toolbar{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--wu-imagecropper-toolbar-gap) calc(var(--wu-imagecropper-toolbar-gap) * 4);padding:var(--wu-imagecropper-toolbar-padding);border-top:var(--wu-imagecropper-border-width) solid var(--wu-border);background:var(--wu-card-bg)}.wu-imagecropper-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--wu-imagecropper-toolbar-gap);min-width:0}.wu-imagecropper-group-zoom{flex:1 1 12rem;flex-wrap:nowrap;max-width:18rem}.wu-imagecropper-toolbar .wu-btn{flex:none}.wu-imagecropper-toolbar .wu-btn svg{display:block;width:1.125rem;height:1.125rem}.wu-imagecropper-zoom{flex:1 1 auto;width:100%;min-width:3rem;height:1.5rem;margin:0;accent-color:var(--wu-primary-color);cursor:pointer}.wu-imagecropper-zoom:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow);border-radius:var(--wu-radius-sm)}.wu-imagecropper-zoom:disabled{opacity:var(--wu-disabled-opacity);cursor:default}@media (pointer: coarse){.wu-imagecropper{--_handle: calc(var(--wu-imagecropper-handle-size) * 1.35);--_hit: .625rem}}@media (prefers-reduced-motion: reduce){.wu-imagecropper-grid{transition:none}}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropper, decorators: [{
1028
+ type: Component,
1029
+ args: [{ selector: 'wu-imagecropper, wu-imageCropper, wu-image-cropper, image-cropper', standalone: true, imports: [NgIf, NgFor, NgSwitch, NgSwitchCase, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"wu-imagecropper\"\n [class.wu-imagecropper-ready]=\"shown\"\n [class.wu-imagecropper-empty]=\"!ready\"\n [class.wu-imagecropper-loading]=\"loading\"\n [class.wu-imagecropper-failed]=\"failed\"\n [class.wu-imagecropper-disabled]=\"disabled\"\n [class.wu-imagecropper-round]=\"roundCropper\"\n [class.wu-imagecropper-dragging]=\"dragging\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n role=\"group\"\n [attr.aria-label]=\"ariaLabel || t.imageCropper\"\n [attr.aria-busy]=\"loading || null\"\n>\n <div #viewport class=\"wu-imagecropper-viewport\">\n <div #frame class=\"wu-imagecropper-frame\">\n <div\n #stage\n class=\"wu-imagecropper-stage\"\n [class.wu-imagecropper-pannable]=\"shown && canZoomOut && !disabled\"\n [class.wu-imagecropper-panning]=\"panning\"\n [style.visibility]=\"shown ? null : 'hidden'\"\n [style.left.px]=\"stageX\"\n [style.top.px]=\"stageY\"\n [style.width.px]=\"stageW\"\n [style.height.px]=\"stageH\"\n (pointerdown)=\"pointerDown($event)\"\n >\n <canvas\n #canvas\n class=\"wu-imagecropper-canvas\"\n [attr.role]=\"imageAltText ? 'img' : null\"\n [attr.aria-label]=\"imageAltText || null\"\n [attr.aria-hidden]=\"imageAltText ? null : 'true'\"\n ></canvas>\n <div *ngIf=\"shown\" class=\"wu-imagecropper-shade\" aria-hidden=\"true\">\n <div class=\"wu-imagecropper-hole\" [style.left.px]=\"boxX\" [style.top.px]=\"boxY\" [style.width.px]=\"boxW\" [style.height.px]=\"boxH\"></div>\n </div>\n <div\n *ngIf=\"shown\"\n #box\n class=\"wu-imagecropper-box\"\n role=\"group\"\n [attr.tabindex]=\"disabled ? null : 0\"\n [attr.aria-label]=\"boxLabel\"\n [attr.aria-describedby]=\"hintId\"\n [attr.aria-disabled]=\"disabled || null\"\n [style.left.px]=\"boxX\"\n [style.top.px]=\"boxY\"\n [style.width.px]=\"boxW\"\n [style.height.px]=\"boxH\"\n (keydown)=\"boxKey($event)\"\n >\n <span class=\"wu-imagecropper-grid\" aria-hidden=\"true\"></span>\n <ng-container *ngIf=\"resizable\">\n <span *ngFor=\"let e of edges\" [class]=\"'wu-imagecropper-edge wu-imagecropper-edge-' + e\" [attr.data-handle]=\"e\" aria-hidden=\"true\"></span>\n <span\n *ngFor=\"let h of squares\"\n [class]=\"'wu-imagecropper-handle wu-imagecropper-handle-' + h + (hideResizeSquares ? ' wu-imagecropper-handle-hidden' : '')\"\n [attr.data-handle]=\"h\"\n aria-hidden=\"true\"\n ></span>\n </ng-container>\n </div>\n </div>\n </div>\n <span [id]=\"hintId\" class=\"wu-imagecropper-hint\">{{ t.cropAreaHint }}</span>\n <div *ngIf=\"!ready\" class=\"wu-imagecropper-status\" [attr.role]=\"failed && !loading ? 'alert' : null\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\n <rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"></rect>\n <circle cx=\"8.5\" cy=\"9.5\" r=\"1.5\"></circle>\n <path d=\"m21 16-5-5-9 9\"></path>\n </svg>\n <span *ngIf=\"loading\">{{ t.loading }}</span>\n <span *ngIf=\"failed && !loading\">{{ t.imageLoadFailed }}</span>\n </div>\n </div>\n\n <div\n *ngIf=\"showToolbar && ready && (toolGroups.length || toolsTemplate)\"\n class=\"wu-imagecropper-toolbar\"\n role=\"toolbar\"\n [attr.aria-label]=\"ariaLabel || t.imageCropper\"\n >\n <div *ngFor=\"let group of toolGroups\" class=\"wu-imagecropper-group\" [class.wu-imagecropper-group-zoom]=\"group.zoom\">\n <ng-container *ngFor=\"let tool of group.tools\" [ngSwitch]=\"tool\">\n <button *ngSwitchCase=\"'zoomOut'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-zoom-out')\" [disabled]=\"disabled || !canZoomOut\" [attr.aria-label]=\"t.zoomOut\" [attr.title]=\"t.zoomOut\" (click)=\"zoomOut()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"></circle><path d=\"M8 11h6M20.5 20.5 16 16\"></path></svg>\n </button>\n <input\n *ngSwitchCase=\"'zoomSlider'\"\n type=\"range\"\n class=\"wu-imagecropper-zoom\"\n min=\"0\"\n max=\"100\"\n step=\"1\"\n [value]=\"zoomSlider\"\n [disabled]=\"disabled\"\n [attr.aria-label]=\"t.zoom\"\n [attr.aria-valuetext]=\"zoomPercent + '%'\"\n (input)=\"zoomSliderInput($event)\"\n />\n <button *ngSwitchCase=\"'zoomIn'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-zoom-in')\" [disabled]=\"disabled || !canZoomIn\" [attr.aria-label]=\"t.zoomIn\" [attr.title]=\"t.zoomIn\" (click)=\"zoomIn()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"11\" cy=\"11\" r=\"7\"></circle><path d=\"M8 11h6M11 8v6M20.5 20.5 16 16\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'rotateLeft'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-rotate-left')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.rotateLeft\" [attr.title]=\"t.rotateLeft\" (click)=\"rotateLeft()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 4v6h6\"></path><path d=\"M4 10a8 8 0 1 1 1.7 7\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'rotateRight'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-rotate-right')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.rotateRight\" [attr.title]=\"t.rotateRight\" (click)=\"rotateRight()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M20 4v6h-6\"></path><path d=\"M20 10A8 8 0 1 0 18.3 17\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'flipHorizontal'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-flip-h')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.flipHorizontal\" [attr.title]=\"t.flipHorizontal\" (click)=\"flipHorizontal()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12 3v18\" stroke-dasharray=\"2 2.5\"></path><path d=\"M9 7 4 17h5z\"></path><path d=\"M15 7l5 10h-5z\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'flipVertical'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-flip-v')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.flipVertical\" [attr.title]=\"t.flipVertical\" (click)=\"flipVertical()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 12h18\" stroke-dasharray=\"2 2.5\"></path><path d=\"M7 9 17 4v5z\"></path><path d=\"M7 15l10 5v-5z\"></path></svg>\n </button>\n <button *ngSwitchCase=\"'reset'\" type=\"button\" [class]=\"buttonClass('wu-imagecropper-reset')\" [disabled]=\"disabled\" [attr.aria-label]=\"t.resetCrop\" [attr.title]=\"t.resetCrop\" (click)=\"reset()\">\n <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 12a9 9 0 1 0 2.6-6.4\"></path><path d=\"M3 4v5h5\"></path></svg>\n </button>\n </ng-container>\n </div>\n <div *ngIf=\"toolsTemplate\" class=\"wu-imagecropper-group wu-imagecropper-group-custom\">\n <ng-container *ngTemplateOutlet=\"toolsTemplate; context: toolsContext\"></ng-container>\n </div>\n </div>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-imagecropper,wu-image-cropper,image-cropper){display:block;max-width:100%;min-width:0}.wu-imagecropper{--_handle: var(--wu-imagecropper-handle-size);--_hit: .375rem;--_pad: calc(var(--_handle) / 2 + 1px);box-sizing:border-box;display:flex;flex-direction:column;height:100%;max-width:100%;min-width:0;overflow:hidden;border:var(--wu-imagecropper-border-width) solid var(--wu-border);border-radius:var(--wu-imagecropper-radius);background:var(--wu-imagecropper-bg);color:var(--wu-text)}.wu-imagecropper-viewport{position:relative;box-sizing:content-box;flex:1 1 auto;width:calc(100% - var(--_pad) * 2);min-height:0;max-height:var(--wu-imagecropper-max-height);padding:var(--_pad);overflow:hidden}.wu-imagecropper-empty .wu-imagecropper-viewport{min-height:var(--wu-imagecropper-min-height)}.wu-imagecropper-frame{position:absolute;inset:var(--_pad)}.wu-imagecropper-stage{position:absolute;top:0;left:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;background-color:var(--wu-card-bg);background-image:linear-gradient(45deg,var(--wu-hover-bg) 25%,transparent 25%,transparent 75%,var(--wu-hover-bg) 75%),linear-gradient(45deg,var(--wu-hover-bg) 25%,transparent 25%,transparent 75%,var(--wu-hover-bg) 75%);background-position:0 0,.5rem .5rem;background-size:1rem 1rem}.wu-imagecropper-pannable{cursor:grab}.wu-imagecropper-panning{cursor:grabbing}.wu-imagecropper-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.wu-imagecropper-shade{position:absolute;inset:0;overflow:hidden;pointer-events:none}.wu-imagecropper-hole{position:absolute;box-shadow:0 0 0 9999px var(--wu-imagecropper-mask)}.wu-imagecropper-box{position:absolute;box-sizing:border-box;border:1px solid var(--wu-imagecropper-line);box-shadow:0 0 0 1px #0000004d;cursor:move;touch-action:none;outline:none}.wu-imagecropper-box:focus-visible{border-color:var(--wu-primary-color);outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:0 0 0 1px var(--wu-primary-color),var(--wu-control-focus-shadow)}.wu-imagecropper-round .wu-imagecropper-hole,.wu-imagecropper-round .wu-imagecropper-box,.wu-imagecropper-round .wu-imagecropper-grid{border-radius:50%}.wu-imagecropper-grid{--_line: var(--wu-imagecropper-grid-color);position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .15s ease;background-image:linear-gradient(to right,transparent calc(100% / 3 - .5px),var(--_line) 0,var(--_line) calc(100% / 3 + .5px),transparent 0,transparent calc(200% / 3 - .5px),var(--_line) 0,var(--_line) calc(200% / 3 + .5px),transparent 0),linear-gradient(to bottom,transparent calc(100% / 3 - .5px),var(--_line) 0,var(--_line) calc(100% / 3 + .5px),transparent 0,transparent calc(200% / 3 - .5px),var(--_line) 0,var(--_line) calc(200% / 3 + .5px),transparent 0)}.wu-imagecropper-dragging .wu-imagecropper-grid{opacity:1}.wu-imagecropper-edge{position:absolute}.wu-imagecropper-edge-n,.wu-imagecropper-edge-s{left:var(--_hit);right:var(--_hit);height:calc(var(--_hit) * 2);cursor:ns-resize}.wu-imagecropper-edge-n{top:calc(var(--_hit) * -1)}.wu-imagecropper-edge-s{bottom:calc(var(--_hit) * -1)}.wu-imagecropper-edge-e,.wu-imagecropper-edge-w{top:var(--_hit);bottom:var(--_hit);width:calc(var(--_hit) * 2);cursor:ew-resize}.wu-imagecropper-edge-e{right:calc(var(--_hit) * -1)}.wu-imagecropper-edge-w{left:calc(var(--_hit) * -1)}.wu-imagecropper-handle{position:absolute;z-index:1;box-sizing:border-box;width:var(--_handle);height:var(--_handle);margin:calc(var(--_handle) / -2) 0 0 calc(var(--_handle) / -2);border:1px solid var(--wu-imagecropper-handle-border);border-radius:2px;background:var(--wu-imagecropper-handle-bg);box-shadow:0 1px 2px #0000004d}.wu-imagecropper-handle:before{content:\"\";position:absolute;inset:calc(var(--_hit) * -1)}.wu-imagecropper-handle-hidden{border-color:transparent;background:transparent;box-shadow:none}.wu-imagecropper-handle-nw{top:0;left:0;cursor:nwse-resize}.wu-imagecropper-handle-n{top:0;left:50%;cursor:ns-resize}.wu-imagecropper-handle-ne{top:0;left:100%;cursor:nesw-resize}.wu-imagecropper-handle-e{top:50%;left:100%;cursor:ew-resize}.wu-imagecropper-handle-se{top:100%;left:100%;cursor:nwse-resize}.wu-imagecropper-handle-s{top:100%;left:50%;cursor:ns-resize}.wu-imagecropper-handle-sw{top:100%;left:0;cursor:nesw-resize}.wu-imagecropper-handle-w{top:50%;left:0;cursor:ew-resize}.wu-imagecropper-disabled .wu-imagecropper-box,.wu-imagecropper-disabled .wu-imagecropper-stage{cursor:default}.wu-imagecropper-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;color:var(--wu-text-muted);text-align:center}.wu-imagecropper-status svg{width:2.5rem;height:2.5rem;opacity:.6}.wu-imagecropper-hint{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.wu-imagecropper-toolbar{display:flex;flex:none;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--wu-imagecropper-toolbar-gap) calc(var(--wu-imagecropper-toolbar-gap) * 4);padding:var(--wu-imagecropper-toolbar-padding);border-top:var(--wu-imagecropper-border-width) solid var(--wu-border);background:var(--wu-card-bg)}.wu-imagecropper-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--wu-imagecropper-toolbar-gap);min-width:0}.wu-imagecropper-group-zoom{flex:1 1 12rem;flex-wrap:nowrap;max-width:18rem}.wu-imagecropper-toolbar .wu-btn{flex:none}.wu-imagecropper-toolbar .wu-btn svg{display:block;width:1.125rem;height:1.125rem}.wu-imagecropper-zoom{flex:1 1 auto;width:100%;min-width:3rem;height:1.5rem;margin:0;accent-color:var(--wu-primary-color);cursor:pointer}.wu-imagecropper-zoom:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow);border-radius:var(--wu-radius-sm)}.wu-imagecropper-zoom:disabled{opacity:var(--wu-disabled-opacity);cursor:default}@media (pointer: coarse){.wu-imagecropper{--_handle: calc(var(--wu-imagecropper-handle-size) * 1.35);--_hit: .625rem}}@media (prefers-reduced-motion: reduce){.wu-imagecropper-grid{transition:none}}}\n"] }]
1030
+ }], ctorParameters: function () { return []; }, propDecorators: { imageFile: [{
1031
+ type: Input
1032
+ }], imageChangedEvent: [{
1033
+ type: Input
1034
+ }], imageURL: [{
1035
+ type: Input
1036
+ }], imageBase64: [{
1037
+ type: Input
1038
+ }], format: [{
1039
+ type: Input
1040
+ }], imageQuality: [{
1041
+ type: Input
1042
+ }], output: [{
1043
+ type: Input
1044
+ }], resizeToWidth: [{
1045
+ type: Input
1046
+ }], resizeToHeight: [{
1047
+ type: Input
1048
+ }], onlyScaleDown: [{
1049
+ type: Input
1050
+ }], backgroundColor: [{
1051
+ type: Input
1052
+ }], autoCrop: [{
1053
+ type: Input
1054
+ }], aspectRatio: [{
1055
+ type: Input
1056
+ }], maintainAspectRatio: [{
1057
+ type: Input
1058
+ }], containWithinAspectRatio: [{
1059
+ type: Input
1060
+ }], cropperMinWidth: [{
1061
+ type: Input
1062
+ }], cropperMinHeight: [{
1063
+ type: Input
1064
+ }], cropperMaxWidth: [{
1065
+ type: Input
1066
+ }], cropperMaxHeight: [{
1067
+ type: Input
1068
+ }], cropperStaticWidth: [{
1069
+ type: Input
1070
+ }], cropperStaticHeight: [{
1071
+ type: Input
1072
+ }], roundCropper: [{
1073
+ type: Input
1074
+ }], hideResizeSquares: [{
1075
+ type: Input
1076
+ }], cropper: [{
1077
+ type: Input
1078
+ }], canvasRotation: [{
1079
+ type: Input
1080
+ }], transform: [{
1081
+ type: Input
1082
+ }], rotation: [{
1083
+ type: Input
1084
+ }], zoom: [{
1085
+ type: Input
1086
+ }], maxZoom: [{
1087
+ type: Input
1088
+ }], allowMoveImage: [{
1089
+ type: Input
1090
+ }], alignImage: [{
1091
+ type: Input
1092
+ }], showToolbar: [{
1093
+ type: Input
1094
+ }], toolbar: [{
1095
+ type: Input
1096
+ }], disabled: [{
1097
+ type: Input
1098
+ }], ariaLabel: [{
1099
+ type: Input
1100
+ }], imageAltText: [{
1101
+ type: Input
1102
+ }], cropperFrameAriaLabel: [{
1103
+ type: Input
1104
+ }], styleClass: [{
1105
+ type: Input
1106
+ }], style: [{
1107
+ type: Input
1108
+ }], initialStepSize: [{
1109
+ type: Input
1110
+ }], checkImageType: [{
1111
+ type: Input
1112
+ }], options: [{
1113
+ type: Input
1114
+ }], imageCropped: [{
1115
+ type: Output
1116
+ }], startCropImage: [{
1117
+ type: Output
1118
+ }], imageLoaded: [{
1119
+ type: Output
1120
+ }], cropperReady: [{
1121
+ type: Output
1122
+ }], loadImageFailed: [{
1123
+ type: Output
1124
+ }], cropperChange: [{
1125
+ type: Output
1126
+ }], transformChange: [{
1127
+ type: Output
1128
+ }], templates: [{
1129
+ type: ContentChildren,
1130
+ args: [WuTemplate]
1131
+ }], toolsRef: [{
1132
+ type: ContentChild,
1133
+ args: ['tools', { descendants: false }]
1134
+ }], viewportRef: [{
1135
+ type: ViewChild,
1136
+ args: ['viewport']
1137
+ }], frameRef: [{
1138
+ type: ViewChild,
1139
+ args: ['frame']
1140
+ }], stageRef: [{
1141
+ type: ViewChild,
1142
+ args: ['stage']
1143
+ }], canvasRef: [{
1144
+ type: ViewChild,
1145
+ args: ['canvas']
1146
+ }], boxRef: [{
1147
+ type: ViewChild,
1148
+ args: ['box']
1149
+ }] } });
1150
+ // ---------- reading pictures (browser only) ----------
1151
+ const sameSize = (a, b) => Math.abs(a.width - b.width) < 1e-6 && Math.abs(a.height - b.height) < 1e-6;
1152
+ /** The first file of a file input's change event (or a drop event). */
1153
+ function fileFrom(event) {
1154
+ var _a;
1155
+ if (!event || typeof event !== 'object')
1156
+ return null;
1157
+ const e = event;
1158
+ for (const el of [e.target, e.currentTarget]) {
1159
+ const files = el && typeof el === 'object' ? el.files : null;
1160
+ if (files && files.length)
1161
+ return files[0];
1162
+ }
1163
+ const dropped = (_a = e.dataTransfer) === null || _a === void 0 ? void 0 : _a.files;
1164
+ return dropped && dropped.length ? dropped[0] : null;
1165
+ }
1166
+ function loadSource(input, kind, doc) {
1167
+ return __awaiter(this, void 0, void 0, function* () {
1168
+ let blob = null;
1169
+ if (typeof input !== 'string')
1170
+ blob = input;
1171
+ else if (kind === 'base64' || /^data:/i.test(input))
1172
+ blob = base64ToFile(input.trim());
1173
+ else {
1174
+ try {
1175
+ const res = yield fetch(input);
1176
+ if (res.ok)
1177
+ blob = yield res.blob();
1178
+ }
1179
+ catch (_a) {
1180
+ blob = null;
1181
+ }
1182
+ // fetch can be refused (CORS, a Content-Security-Policy): let an <img> try.
1183
+ if (!blob)
1184
+ return fromImage(yield loadImage(input, doc, true), null, 1);
1185
+ }
1186
+ return decode(blob, doc);
1187
+ });
1188
+ }
1189
+ function decode(blob, doc) {
1190
+ return __awaiter(this, void 0, void 0, function* () {
1191
+ const orientation = yield orientationOf(blob);
1192
+ if (typeof createImageBitmap === 'function') {
1193
+ try {
1194
+ const options = { imageOrientation: 'from-image' };
1195
+ const bitmap = yield createImageBitmap(blob, options);
1196
+ return upright(bitmap, bitmap.width, bitmap.height, orientation, () => bitmap.close());
1197
+ }
1198
+ catch (_a) {
1199
+ // An older browser without 'from-image', or a format createImageBitmap does not take (SVG): use an <img>.
1200
+ }
1201
+ }
1202
+ const url = URL.createObjectURL(blob);
1203
+ try {
1204
+ return fromImage(yield loadImage(url, doc, false), url, orientation, doc);
1205
+ }
1206
+ catch (e) {
1207
+ URL.revokeObjectURL(url);
1208
+ throw e;
1209
+ }
1210
+ });
1211
+ }
1212
+ /** A picture that is already upright. */
1213
+ function upright(image, width, height, orientation, close) {
1214
+ const exif = exifTransform(orientation);
1215
+ const swap = exif.rotate === 90 || exif.rotate === 270;
1216
+ return { image, width, height, rawWidth: swap ? height : width, rawHeight: swap ? width : height, exif, close };
1217
+ }
1218
+ /**
1219
+ * From a loaded <img>. Current browsers turn JPEGs upright themselves; one that does not (no CSS image-orientation)
1220
+ * gets the EXIF orientation applied on a canvas.
1221
+ */
1222
+ function fromImage(img, url, orientation, doc) {
1223
+ const release = () => {
1224
+ if (url)
1225
+ URL.revokeObjectURL(url);
1226
+ };
1227
+ const w = img.naturalWidth;
1228
+ const h = img.naturalHeight;
1229
+ const autoOriented = typeof CSS !== 'undefined' && typeof CSS.supports === 'function' && CSS.supports('image-orientation', 'from-image');
1230
+ if (orientation <= 1 || autoOriented || !doc)
1231
+ return upright(img, w, h, autoOriented ? orientation : 1, release);
1232
+ const exif = exifTransform(orientation);
1233
+ const o = { rotate: exif.rotate, flipH: exif.flip, flipV: false };
1234
+ const turned = rotatedSize(w, h, o.rotate);
1235
+ const k = Math.min(1, Math.sqrt(MAX_CANVAS_AREA / (turned.width * turned.height)));
1236
+ const canvas = doc.createElement('canvas');
1237
+ canvas.width = Math.max(1, Math.round(turned.width * k));
1238
+ canvas.height = Math.max(1, Math.round(turned.height * k));
1239
+ const ctx = canvas.getContext('2d');
1240
+ if (!ctx)
1241
+ return upright(img, w, h, 1, release);
1242
+ ctx.setTransform(k, 0, 0, k, 0, 0);
1243
+ const m = orientationMatrix(w, h, o, turned);
1244
+ ctx.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
1245
+ ctx.drawImage(img, 0, 0);
1246
+ release();
1247
+ return { image: canvas, width: canvas.width, height: canvas.height, rawWidth: w, rawHeight: h, exif, close: () => undefined };
1248
+ }
1249
+ function loadImage(url, doc, cors) {
1250
+ return new Promise((resolve, reject) => {
1251
+ const img = doc.createElement('img');
1252
+ if (cors)
1253
+ img.crossOrigin = 'anonymous';
1254
+ img.decoding = 'async';
1255
+ img.onload = () => (img.naturalWidth && img.naturalHeight ? resolve(img) : reject(new Error('The image has no size.')));
1256
+ img.onerror = () => reject(new Error('The image could not be loaded.'));
1257
+ img.src = url;
1258
+ });
1259
+ }
1260
+ /** EXIF orientation from the first 64 KB of a JPEG (1 for anything else). */
1261
+ function orientationOf(blob) {
1262
+ return __awaiter(this, void 0, void 0, function* () {
1263
+ if (blob.type && !/jpe?g/i.test(blob.type))
1264
+ return 1;
1265
+ try {
1266
+ return readExifOrientation(yield readBytes(blob.slice(0, 65536)));
1267
+ }
1268
+ catch (_a) {
1269
+ return 1;
1270
+ }
1271
+ });
1272
+ }
1273
+ function readBytes(blob) {
1274
+ return new Promise((resolve, reject) => {
1275
+ const reader = new FileReader();
1276
+ reader.onload = () => resolve(reader.result);
1277
+ reader.onerror = () => reject(reader.error);
1278
+ reader.readAsArrayBuffer(blob);
1279
+ });
1280
+ }
1281
+
1282
+ /** For NgModule apps. Standalone apps can import `WuImageCropper` directly. */
1283
+ class WuImageCropperModule {
1284
+ }
1285
+ WuImageCropperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1286
+ WuImageCropperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropperModule, imports: [WuImageCropper], exports: [WuImageCropper] });
1287
+ WuImageCropperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropperModule, imports: [WuImageCropper] });
1288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuImageCropperModule, decorators: [{
1289
+ type: NgModule,
1290
+ args: [{
1291
+ imports: [WuImageCropper],
1292
+ exports: [WuImageCropper],
1293
+ }]
1294
+ }] });
1295
+
1296
+ /**
1297
+ * Generated bundle index. Do not edit.
1298
+ */
1299
+
1300
+ export { WU_IMAGE_CROPPER_OPTIONS, WuImageCropper, WuImageCropperModule, provideImageCropperOptions };
1301
+ //# sourceMappingURL=wirabyte-ui-imagecropper.mjs.map