@acorex/components 21.0.2-next.34 → 21.0.2-next.36

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 (339) hide show
  1. package/{types/acorex-components-accordion.d.ts → accordion/index.d.ts} +1 -0
  2. package/{types/acorex-components-button.d.ts → button/index.d.ts} +3 -3
  3. package/{types/acorex-components-button-group.d.ts → button-group/index.d.ts} +12 -20
  4. package/{types/acorex-components-calendar.d.ts → calendar/index.d.ts} +11 -4
  5. package/{types/acorex-components-check-box.d.ts → check-box/index.d.ts} +1 -1
  6. package/{types/acorex-components-chips.d.ts → chips/index.d.ts} +8 -3
  7. package/collapse/README.md +3 -0
  8. package/collapse/index.d.ts +174 -0
  9. package/{types/acorex-components-color-palette.d.ts → color-palette/index.d.ts} +0 -2
  10. package/{types/acorex-components-conversation2.d.ts → conversation2/index.d.ts} +667 -667
  11. package/{types/acorex-components-data-pager.d.ts → data-pager/index.d.ts} +6 -25
  12. package/{types/acorex-components-data-table.d.ts → data-table/index.d.ts} +262 -4
  13. package/{types/acorex-components-datetime-box.d.ts → datetime-box/index.d.ts} +6 -8
  14. package/{types/acorex-components-datetime-input.d.ts → datetime-input/index.d.ts} +2 -2
  15. package/{types/acorex-components-datetime-picker.d.ts → datetime-picker/index.d.ts} +3 -3
  16. package/drawer-legacy/README.md +3 -0
  17. package/drawer-legacy/index.d.ts +86 -0
  18. package/{types/acorex-components-dropdown-button.d.ts → dropdown-button/index.d.ts} +2 -4
  19. package/fesm2022/acorex-components-accordion.mjs +37 -32
  20. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  21. package/fesm2022/acorex-components-action-sheet.mjs +32 -32
  22. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  23. package/fesm2022/acorex-components-alert.mjs +21 -21
  24. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  25. package/fesm2022/acorex-components-aspect-ratio.mjs +6 -6
  26. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  27. package/fesm2022/acorex-components-audio-wave.mjs +14 -15
  28. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  29. package/fesm2022/acorex-components-autocomplete.mjs +16 -16
  30. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  31. package/fesm2022/acorex-components-avatar.mjs +17 -17
  32. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  33. package/fesm2022/acorex-components-badge.mjs +11 -11
  34. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  35. package/fesm2022/acorex-components-bottom-navigation.mjs +15 -15
  36. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  37. package/fesm2022/acorex-components-breadcrumbs.mjs +14 -14
  38. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  39. package/fesm2022/acorex-components-button-group.mjs +28 -63
  40. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  41. package/fesm2022/acorex-components-button.mjs +31 -31
  42. package/fesm2022/acorex-components-button.mjs.map +1 -1
  43. package/fesm2022/acorex-components-calendar.mjs +59 -41
  44. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  45. package/fesm2022/acorex-components-check-box.mjs +12 -12
  46. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  47. package/fesm2022/acorex-components-chips.mjs +15 -13
  48. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  49. package/fesm2022/acorex-components-circular-progress.mjs +16 -18
  50. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  51. package/fesm2022/acorex-components-code-editor.mjs +30 -30
  52. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  53. package/fesm2022/acorex-components-collapse.mjs +366 -0
  54. package/fesm2022/acorex-components-collapse.mjs.map +1 -0
  55. package/fesm2022/acorex-components-color-box.mjs +16 -16
  56. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  57. package/fesm2022/acorex-components-color-palette.mjs +44 -85
  58. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  59. package/fesm2022/acorex-components-command.mjs +20 -20
  60. package/fesm2022/acorex-components-command.mjs.map +1 -1
  61. package/fesm2022/acorex-components-comment.mjs +37 -37
  62. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  63. package/fesm2022/acorex-components-conversation.mjs +119 -119
  64. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  65. package/fesm2022/acorex-components-conversation2.mjs +708 -720
  66. package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
  67. package/fesm2022/acorex-components-cron-job.mjs +60 -60
  68. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  69. package/fesm2022/acorex-components-data-list.mjs +34 -34
  70. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  71. package/fesm2022/acorex-components-data-pager.mjs +85 -94
  72. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  73. package/fesm2022/acorex-components-data-table.mjs +516 -69
  74. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  75. package/fesm2022/acorex-components-datetime-box.mjs +28 -40
  76. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  77. package/fesm2022/acorex-components-datetime-input.mjs +31 -39
  78. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  79. package/fesm2022/acorex-components-datetime-picker.mjs +54 -57
  80. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  81. package/fesm2022/acorex-components-decorators.mjs +49 -56
  82. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  83. package/fesm2022/acorex-components-dialog.mjs +16 -16
  84. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  85. package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
  86. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
  87. package/fesm2022/acorex-components-drawer.mjs +26 -25
  88. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  89. package/fesm2022/acorex-components-dropdown-button.mjs +11 -19
  90. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  91. package/fesm2022/acorex-components-dropdown.mjs +22 -22
  92. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  93. package/fesm2022/acorex-components-editor.mjs +15 -15
  94. package/fesm2022/acorex-components-editor.mjs.map +1 -1
  95. package/fesm2022/acorex-components-fab.mjs +18 -18
  96. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  97. package/fesm2022/acorex-components-file-explorer.mjs +307 -0
  98. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -0
  99. package/fesm2022/acorex-components-flow-chart.mjs +63 -80
  100. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  101. package/fesm2022/acorex-components-form.mjs +39 -47
  102. package/fesm2022/acorex-components-form.mjs.map +1 -1
  103. package/fesm2022/acorex-components-grid-layout-builder.mjs +19 -18
  104. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  105. package/fesm2022/acorex-components-image-editor.mjs +93 -93
  106. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  107. package/fesm2022/acorex-components-image.mjs +12 -12
  108. package/fesm2022/acorex-components-image.mjs.map +1 -1
  109. package/fesm2022/acorex-components-json-viewer.mjs +13 -13
  110. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  111. package/fesm2022/acorex-components-kanban.mjs +26 -28
  112. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  113. package/fesm2022/acorex-components-kbd.mjs +17 -17
  114. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  115. package/fesm2022/acorex-components-label.mjs +9 -9
  116. package/fesm2022/acorex-components-label.mjs.map +1 -1
  117. package/fesm2022/acorex-components-list.mjs +16 -16
  118. package/fesm2022/acorex-components-list.mjs.map +1 -1
  119. package/fesm2022/acorex-components-loading-dialog.mjs +20 -20
  120. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  121. package/fesm2022/acorex-components-loading.mjs +23 -23
  122. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  123. package/fesm2022/acorex-components-map.mjs +47 -47
  124. package/fesm2022/acorex-components-map.mjs.map +1 -1
  125. package/fesm2022/acorex-components-media-viewer.mjs +85 -85
  126. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  127. package/fesm2022/acorex-components-menu.mjs +49 -49
  128. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  129. package/fesm2022/{acorex-components-modal-acorex-components-modal-BGSCJ1Ux.mjs → acorex-components-modal-acorex-components-modal-DwBY73dZ.mjs} +29 -29
  130. package/fesm2022/acorex-components-modal-acorex-components-modal-DwBY73dZ.mjs.map +1 -0
  131. package/fesm2022/acorex-components-modal-modal-content.component-DPMt_zaI.mjs +212 -0
  132. package/fesm2022/acorex-components-modal-modal-content.component-DPMt_zaI.mjs.map +1 -0
  133. package/fesm2022/acorex-components-modal.mjs +1 -1
  134. package/fesm2022/acorex-components-navbar.mjs +9 -9
  135. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  136. package/fesm2022/acorex-components-notification.mjs +29 -29
  137. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  138. package/fesm2022/acorex-components-number-box-legacy.mjs +430 -0
  139. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
  140. package/fesm2022/acorex-components-number-box.mjs +21 -21
  141. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  142. package/fesm2022/acorex-components-otp.mjs +13 -13
  143. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  144. package/fesm2022/acorex-components-page.mjs +10 -10
  145. package/fesm2022/acorex-components-page.mjs.map +1 -1
  146. package/fesm2022/acorex-components-paint.mjs +65 -60
  147. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  148. package/fesm2022/acorex-components-password-box.mjs +39 -31
  149. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  150. package/fesm2022/acorex-components-pdf-reader.mjs +10 -10
  151. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  152. package/fesm2022/acorex-components-phone-box.mjs +20 -20
  153. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  154. package/fesm2022/acorex-components-picker.mjs +33 -33
  155. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  156. package/fesm2022/acorex-components-popover.mjs +11 -11
  157. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  158. package/fesm2022/acorex-components-popup.mjs +25 -25
  159. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  160. package/fesm2022/acorex-components-progress-bar.mjs +9 -11
  161. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  162. package/fesm2022/acorex-components-qrcode.mjs +21 -38
  163. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  164. package/fesm2022/acorex-components-query-builder.mjs +15 -16
  165. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  166. package/fesm2022/acorex-components-radio.mjs +9 -10
  167. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  168. package/fesm2022/acorex-components-rail-navigation.mjs +51 -53
  169. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  170. package/fesm2022/acorex-components-range-slider.mjs +36 -36
  171. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  172. package/fesm2022/acorex-components-rate-picker.mjs +42 -27
  173. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  174. package/fesm2022/acorex-components-rest-api-generator.mjs +39 -39
  175. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  176. package/fesm2022/acorex-components-result.mjs +8 -8
  177. package/fesm2022/acorex-components-result.mjs.map +1 -1
  178. package/fesm2022/acorex-components-routing-progress.mjs +8 -8
  179. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  180. package/fesm2022/acorex-components-rrule.mjs +38 -38
  181. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  182. package/fesm2022/acorex-components-scheduler-picker.mjs +234 -228
  183. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  184. package/fesm2022/acorex-components-scheduler.mjs +406 -334
  185. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  186. package/fesm2022/acorex-components-scss.mjs +22 -0
  187. package/fesm2022/acorex-components-scss.mjs.map +1 -0
  188. package/fesm2022/acorex-components-search-box.mjs +13 -19
  189. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  190. package/fesm2022/acorex-components-select-box.mjs +25 -27
  191. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  192. package/fesm2022/acorex-components-selection-list-2.mjs +15 -15
  193. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  194. package/fesm2022/acorex-components-selection-list.mjs +12 -12
  195. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  196. package/fesm2022/acorex-components-side-menu.mjs +44 -44
  197. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  198. package/fesm2022/acorex-components-skeleton.mjs +8 -8
  199. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  200. package/fesm2022/acorex-components-slider.mjs +13 -13
  201. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  202. package/fesm2022/acorex-components-sliding-item.mjs +28 -28
  203. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  204. package/fesm2022/acorex-components-step-wizard.mjs +41 -41
  205. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  206. package/fesm2022/acorex-components-switch.mjs +14 -14
  207. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  208. package/fesm2022/acorex-components-tabs.mjs +22 -22
  209. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  210. package/fesm2022/acorex-components-tag-box.mjs +20 -20
  211. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  212. package/fesm2022/acorex-components-tag.mjs +10 -10
  213. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  214. package/fesm2022/acorex-components-text-area.mjs +9 -9
  215. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  216. package/fesm2022/acorex-components-text-box.mjs +14 -14
  217. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  218. package/fesm2022/acorex-components-time-duration.mjs +31 -29
  219. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  220. package/fesm2022/acorex-components-time-line.mjs +21 -21
  221. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  222. package/fesm2022/acorex-components-toast.mjs +27 -27
  223. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  224. package/fesm2022/acorex-components-toolbar.mjs +14 -14
  225. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  226. package/fesm2022/acorex-components-tooltip.mjs +17 -17
  227. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  228. package/fesm2022/acorex-components-tree-view-legacy.mjs +511 -0
  229. package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -0
  230. package/fesm2022/acorex-components-tree-view.mjs +57 -57
  231. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  232. package/fesm2022/acorex-components-uploader.mjs +18 -18
  233. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  234. package/fesm2022/acorex-components-video-player.mjs +10 -10
  235. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  236. package/fesm2022/acorex-components-wysiwyg.mjs +58 -58
  237. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  238. package/fesm2022/acorex-components.mjs.map +1 -1
  239. package/file-explorer/README.md +3 -0
  240. package/file-explorer/index.d.ts +103 -0
  241. package/{types/acorex-components-flow-chart.d.ts → flow-chart/index.d.ts} +0 -4
  242. package/{types/acorex-components-form.d.ts → form/index.d.ts} +24 -24
  243. package/{types/acorex-components-grid-layout-builder.d.ts → grid-layout-builder/index.d.ts} +1 -0
  244. package/{types/acorex-components-loading.d.ts → loading/index.d.ts} +1 -1
  245. package/{types/acorex-components-menu.d.ts → menu/index.d.ts} +6 -6
  246. package/number-box-legacy/README.md +3 -0
  247. package/number-box-legacy/index.d.ts +191 -0
  248. package/package.json +139 -116
  249. package/{types/acorex-components-paint.d.ts → paint/index.d.ts} +6 -1
  250. package/{types/acorex-components-qrcode.d.ts → qrcode/index.d.ts} +0 -1
  251. package/{types/acorex-components-radio.d.ts → radio/index.d.ts} +1 -1
  252. package/{types/acorex-components-rate-picker.d.ts → rate-picker/index.d.ts} +15 -5
  253. package/{types/acorex-components-scheduler.d.ts → scheduler/index.d.ts} +20 -2
  254. package/{types/acorex-components-scheduler-picker.d.ts → scheduler-picker/index.d.ts} +81 -82
  255. package/scss/README.md +3 -0
  256. package/scss/index.d.ts +10 -0
  257. package/{types/acorex-components-select-box.d.ts → select-box/index.d.ts} +1 -2
  258. package/{types/acorex-components-slider.d.ts → slider/index.d.ts} +2 -2
  259. package/{types/acorex-components-tabs.d.ts → tabs/index.d.ts} +1 -1
  260. package/{types/acorex-components-tag.d.ts → tag/index.d.ts} +3 -3
  261. package/tree-view-legacy/README.md +3 -0
  262. package/tree-view-legacy/index.d.ts +184 -0
  263. package/fesm2022/acorex-components-modal-acorex-components-modal-BGSCJ1Ux.mjs.map +0 -1
  264. package/fesm2022/acorex-components-modal-modal-content.component-CEdB5dcg.mjs +0 -214
  265. package/fesm2022/acorex-components-modal-modal-content.component-CEdB5dcg.mjs.map +0 -1
  266. package/{types/acorex-components-action-sheet.d.ts → action-sheet/index.d.ts} +0 -0
  267. package/{types/acorex-components-alert.d.ts → alert/index.d.ts} +0 -0
  268. package/{types/acorex-components-aspect-ratio.d.ts → aspect-ratio/index.d.ts} +0 -0
  269. package/{types/acorex-components-audio-wave.d.ts → audio-wave/index.d.ts} +0 -0
  270. package/{types/acorex-components-autocomplete.d.ts → autocomplete/index.d.ts} +0 -0
  271. package/{types/acorex-components-avatar.d.ts → avatar/index.d.ts} +0 -0
  272. package/{types/acorex-components-badge.d.ts → badge/index.d.ts} +0 -0
  273. package/{types/acorex-components-bottom-navigation.d.ts → bottom-navigation/index.d.ts} +0 -0
  274. package/{types/acorex-components-breadcrumbs.d.ts → breadcrumbs/index.d.ts} +0 -0
  275. package/{types/acorex-components-circular-progress.d.ts → circular-progress/index.d.ts} +0 -0
  276. package/{types/acorex-components-code-editor.d.ts → code-editor/index.d.ts} +0 -0
  277. package/{types/acorex-components-color-box.d.ts → color-box/index.d.ts} +0 -0
  278. package/{types/acorex-components-command.d.ts → command/index.d.ts} +0 -0
  279. package/{types/acorex-components-comment.d.ts → comment/index.d.ts} +0 -0
  280. package/{types/acorex-components-conversation.d.ts → conversation/index.d.ts} +0 -0
  281. package/{types/acorex-components-cron-job.d.ts → cron-job/index.d.ts} +0 -0
  282. package/{types/acorex-components-data-list.d.ts → data-list/index.d.ts} +0 -0
  283. package/{types/acorex-components-decorators.d.ts → decorators/index.d.ts} +0 -0
  284. package/{types/acorex-components-dialog.d.ts → dialog/index.d.ts} +0 -0
  285. package/{types/acorex-components-drawer.d.ts → drawer/index.d.ts} +0 -0
  286. package/{types/acorex-components-dropdown.d.ts → dropdown/index.d.ts} +0 -0
  287. package/{types/acorex-components-editor.d.ts → editor/index.d.ts} +0 -0
  288. package/{types/acorex-components-fab.d.ts → fab/index.d.ts} +0 -0
  289. package/{types/acorex-components-image.d.ts → image/index.d.ts} +0 -0
  290. package/{types/acorex-components-image-editor.d.ts → image-editor/index.d.ts} +0 -0
  291. package/{types/acorex-components.d.ts → index.d.ts} +0 -0
  292. package/{types/acorex-components-json-viewer.d.ts → json-viewer/index.d.ts} +0 -0
  293. package/{types/acorex-components-kanban.d.ts → kanban/index.d.ts} +0 -0
  294. package/{types/acorex-components-kbd.d.ts → kbd/index.d.ts} +0 -0
  295. package/{types/acorex-components-label.d.ts → label/index.d.ts} +0 -0
  296. package/{types/acorex-components-list.d.ts → list/index.d.ts} +0 -0
  297. package/{types/acorex-components-loading-dialog.d.ts → loading-dialog/index.d.ts} +0 -0
  298. package/{types/acorex-components-map.d.ts → map/index.d.ts} +0 -0
  299. package/{types/acorex-components-media-viewer.d.ts → media-viewer/index.d.ts} +0 -0
  300. package/{types/acorex-components-modal.d.ts → modal/index.d.ts} +0 -0
  301. package/{types/acorex-components-navbar.d.ts → navbar/index.d.ts} +0 -0
  302. package/{types/acorex-components-notification.d.ts → notification/index.d.ts} +0 -0
  303. package/{types/acorex-components-number-box.d.ts → number-box/index.d.ts} +0 -0
  304. package/{types/acorex-components-otp.d.ts → otp/index.d.ts} +0 -0
  305. package/{types/acorex-components-page.d.ts → page/index.d.ts} +0 -0
  306. package/{types/acorex-components-password-box.d.ts → password-box/index.d.ts} +0 -0
  307. package/{types/acorex-components-pdf-reader.d.ts → pdf-reader/index.d.ts} +0 -0
  308. package/{types/acorex-components-phone-box.d.ts → phone-box/index.d.ts} +0 -0
  309. package/{types/acorex-components-picker.d.ts → picker/index.d.ts} +0 -0
  310. package/{types/acorex-components-popover.d.ts → popover/index.d.ts} +0 -0
  311. package/{types/acorex-components-popup.d.ts → popup/index.d.ts} +0 -0
  312. package/{types/acorex-components-progress-bar.d.ts → progress-bar/index.d.ts} +0 -0
  313. package/{types/acorex-components-query-builder.d.ts → query-builder/index.d.ts} +1 -1
  314. /package/{types/acorex-components-rail-navigation.d.ts → rail-navigation/index.d.ts} +0 -0
  315. /package/{types/acorex-components-range-slider.d.ts → range-slider/index.d.ts} +0 -0
  316. /package/{types/acorex-components-rest-api-generator.d.ts → rest-api-generator/index.d.ts} +0 -0
  317. /package/{types/acorex-components-result.d.ts → result/index.d.ts} +0 -0
  318. /package/{types/acorex-components-routing-progress.d.ts → routing-progress/index.d.ts} +0 -0
  319. /package/{types/acorex-components-rrule.d.ts → rrule/index.d.ts} +0 -0
  320. /package/{types/acorex-components-search-box.d.ts → search-box/index.d.ts} +0 -0
  321. /package/{types/acorex-components-selection-list.d.ts → selection-list/index.d.ts} +0 -0
  322. /package/{types/acorex-components-selection-list-2.d.ts → selection-list-2/index.d.ts} +0 -0
  323. /package/{types/acorex-components-side-menu.d.ts → side-menu/index.d.ts} +0 -0
  324. /package/{types/acorex-components-skeleton.d.ts → skeleton/index.d.ts} +0 -0
  325. /package/{types/acorex-components-sliding-item.d.ts → sliding-item/index.d.ts} +0 -0
  326. /package/{types/acorex-components-step-wizard.d.ts → step-wizard/index.d.ts} +0 -0
  327. /package/{types/acorex-components-switch.d.ts → switch/index.d.ts} +0 -0
  328. /package/{types/acorex-components-tag-box.d.ts → tag-box/index.d.ts} +0 -0
  329. /package/{types/acorex-components-text-area.d.ts → text-area/index.d.ts} +0 -0
  330. /package/{types/acorex-components-text-box.d.ts → text-box/index.d.ts} +0 -0
  331. /package/{types/acorex-components-time-duration.d.ts → time-duration/index.d.ts} +0 -0
  332. /package/{types/acorex-components-time-line.d.ts → time-line/index.d.ts} +0 -0
  333. /package/{types/acorex-components-toast.d.ts → toast/index.d.ts} +0 -0
  334. /package/{types/acorex-components-toolbar.d.ts → toolbar/index.d.ts} +0 -0
  335. /package/{types/acorex-components-tooltip.d.ts → tooltip/index.d.ts} +0 -0
  336. /package/{types/acorex-components-tree-view.d.ts → tree-view/index.d.ts} +0 -0
  337. /package/{types/acorex-components-uploader.d.ts → uploader/index.d.ts} +0 -0
  338. /package/{types/acorex-components-video-player.d.ts → video-player/index.d.ts} +0 -0
  339. /package/{types/acorex-components-wysiwyg.d.ts → wysiwyg/index.d.ts} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { AXValuableComponent, AXComponent } from '@acorex/cdk/common';
2
2
  import { generateQRCode } from '@acorex/cdk/qrcode';
3
- import { isPlatformBrowser, CommonModule } from '@angular/common';
4
3
  import * as i0 from '@angular/core';
5
- import { inject, PLATFORM_ID, input, signal, viewChild, effect, forwardRef, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
4
+ import { input, signal, viewChild, effect, forwardRef, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
6
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
+ import { CommonModule } from '@angular/common';
7
7
 
8
8
  function debounce(func, delayMS) {
9
9
  let timeoutId;
@@ -19,75 +19,58 @@ function debounce(func, delayMS) {
19
19
 
20
20
  class AXQrcodeComponent {
21
21
  constructor() {
22
- this.platformId = inject(PLATFORM_ID);
23
22
  /**
24
23
  * @description Value of QR code
25
24
  */
26
- this.content = input.required(...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
25
+ this.content = input.required(...(ngDevMode ? [{ debugName: "content" }] : []));
27
26
  /**
28
27
  * @description Size of the QR code
29
28
  * @default 256
30
29
  */
31
- this.size = input(256, ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
30
+ this.size = input(256, ...(ngDevMode ? [{ debugName: "size" }] : []));
32
31
  /**
33
32
  * @description Error correction level can be 'L' | 'M' | 'Q' | 'H'
34
33
  * @default 'M'
35
34
  */
36
- this.level = input('M', ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
35
+ this.level = input('M', ...(ngDevMode ? [{ debugName: "level" }] : []));
37
36
  /**
38
37
  * @description QR code color, can be a hex code or CSS color name
39
38
  * @default '#000000'
40
39
  */
41
- this.color = input('#000000', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
40
+ this.color = input('#000000', ...(ngDevMode ? [{ debugName: "color" }] : []));
42
41
  /**
43
42
  * @description QR code Background color, can be a hex code or CSS color name
44
43
  * @default '#FFFFFF'
45
44
  */
46
- this.backgroundColor = input('#FFFFFF', ...(ngDevMode ? [{ debugName: "backgroundColor" }] : /* istanbul ignore next */ []));
45
+ this.backgroundColor = input('#FFFFFF', ...(ngDevMode ? [{ debugName: "backgroundColor" }] : []));
47
46
  /**
48
47
  * @description Type of output can be 'canvas' | 'svg' | 'url'
49
48
  * @default 'canvas'
50
49
  */
51
- this.outputType = input('canvas', ...(ngDevMode ? [{ debugName: "outputType" }] : /* istanbul ignore next */ [])); //
50
+ this.outputType = input('canvas', ...(ngDevMode ? [{ debugName: "outputType" }] : [])); //
52
51
  /**
53
52
  * @ignore
54
53
  */
55
54
  /**
56
55
  * @description // Holds base64 or URL if outputType is 'url' or 'base64'
57
56
  */
58
- this.qrCodeUrl = signal(undefined, ...(ngDevMode ? [{ debugName: "qrCodeUrl" }] : /* istanbul ignore next */ []));
57
+ this.qrCodeUrl = signal(undefined, ...(ngDevMode ? [{ debugName: "qrCodeUrl" }] : []));
59
58
  /**
60
59
  * @ignore
61
60
  */
62
- this.canvas = viewChild('canvas', ...(ngDevMode ? [{ debugName: "canvas" }] : /* istanbul ignore next */ []));
61
+ this.canvas = viewChild('canvas', ...(ngDevMode ? [{ debugName: "canvas" }] : []));
63
62
  /**
64
63
  * @ignore
65
64
  */
66
- this.svg = viewChild('svg', ...(ngDevMode ? [{ debugName: "svg" }] : /* istanbul ignore next */ []));
65
+ this.svg = viewChild('svg', ...(ngDevMode ? [{ debugName: "svg" }] : []));
67
66
  effect(() => {
68
- if (!isPlatformBrowser(this.platformId)) {
69
- return;
70
- }
71
67
  this.generate();
72
68
  });
73
69
  }
74
70
  ngAfterViewInit() {
75
- if (!isPlatformBrowser(this.platformId)) {
76
- return;
77
- }
78
71
  this.generate();
79
72
  }
80
73
  generate() {
81
- if (!isPlatformBrowser(this.platformId)) {
82
- return;
83
- }
84
- const outputType = this.outputType();
85
- if (outputType === 'canvas' && !this.canvas()?.nativeElement) {
86
- return;
87
- }
88
- if (outputType === 'svg' && !this.svg()?.nativeElement) {
89
- return;
90
- }
91
74
  generateQRCode(this.content(), this.size(), this.level(), this.color(), this.backgroundColor(), this.outputType(), this.canvas()?.nativeElement, this.svg()?.nativeElement)
92
75
  .then((result) => {
93
76
  if (this.outputType() === 'url') {
@@ -98,8 +81,8 @@ class AXQrcodeComponent {
98
81
  console.error(error);
99
82
  });
100
83
  }
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
102
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXQrcodeComponent, isStandalone: true, selector: "ax-qrcode", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, backgroundColor: { classPropertyName: "backgroundColor", publicName: "backgroundColor", isSignal: true, isRequired: false, transformFunction: null }, outputType: { classPropertyName: "outputType", publicName: "outputType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
85
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.3", type: AXQrcodeComponent, isStandalone: true, selector: "ax-qrcode", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, backgroundColor: { classPropertyName: "backgroundColor", publicName: "backgroundColor", isSignal: true, isRequired: false, transformFunction: null }, outputType: { classPropertyName: "outputType", publicName: "outputType", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
103
86
  { provide: AXValuableComponent, useExisting: AXQrcodeComponent },
104
87
  {
105
88
  provide: NG_VALUE_ACCESSOR,
@@ -107,9 +90,9 @@ class AXQrcodeComponent {
107
90
  multi: true,
108
91
  },
109
92
  { provide: AXComponent, useExisting: AXQrcodeComponent },
110
- ], viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }, { propertyName: "svg", first: true, predicate: ["svg"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n", styles: ["@layer components{.qrcode{justify-content:center;align-items:center;display:flex;position:relative}.qrcode .logo-container{justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
93
+ ], viewQueries: [{ propertyName: "canvas", first: true, predicate: ["canvas"], descendants: true, isSignal: true }, { propertyName: "svg", first: true, predicate: ["svg"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n", styles: [".qrcode{display:flex;justify-content:center;align-items:center;position:relative}.qrcode .logo-container{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;left:50%;transform:translate(-50%,-50%)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
111
94
  }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeComponent, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeComponent, decorators: [{
113
96
  type: Component,
114
97
  args: [{ selector: 'ax-qrcode', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
115
98
  { provide: AXValuableComponent, useExisting: AXQrcodeComponent },
@@ -119,15 +102,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
119
102
  multi: true,
120
103
  },
121
104
  { provide: AXComponent, useExisting: AXQrcodeComponent },
122
- ], template: "<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n", styles: ["@layer components{.qrcode{justify-content:center;align-items:center;display:flex;position:relative}.qrcode .logo-container{justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
123
- }], ctorParameters: () => [], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], backgroundColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "backgroundColor", required: false }] }], outputType: [{ type: i0.Input, args: [{ isSignal: true, alias: "outputType", required: false }] }], canvas: [{ type: i0.ViewChild, args: ['canvas', { isSignal: true }] }], svg: [{ type: i0.ViewChild, args: ['svg', { isSignal: true }] }] } });
105
+ ], template: "<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n", styles: [".qrcode{display:flex;justify-content:center;align-items:center;position:relative}.qrcode .logo-container{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;left:50%;transform:translate(-50%,-50%)}\n"] }]
106
+ }], ctorParameters: () => [] });
124
107
 
125
108
  class AXQrcodeModule {
126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
127
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule, AXQrcodeComponent], exports: [AXQrcodeComponent] }); }
128
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule] }); }
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
110
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule, AXQrcodeComponent], exports: [AXQrcodeComponent] }); }
111
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule] }); }
129
112
  }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQrcodeModule, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQrcodeModule, decorators: [{
131
114
  type: NgModule,
132
115
  args: [{
133
116
  imports: [CommonModule, AXQrcodeComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-qrcode.mjs","sources":["../../../../packages/components/qrcode/src/lib/qrcode.class.ts","../../../../packages/components/qrcode/src/lib/qrcode.component.ts","../../../../packages/components/qrcode/src/lib/qrcode.component.html","../../../../packages/components/qrcode/src/lib/qrcode.module.ts","../../../../packages/components/qrcode/src/acorex-components-qrcode.ts"],"sourcesContent":["export type AXQrcodeOutputType = 'canvas' | 'svg' | 'url';\nexport type AXQrcodeLevel = 'L' | 'M' | 'Q' | 'H';\n\nexport function debounce(func: (...args: any) => void, delayMS: number) {\n let timeoutId;\n\n return function (...args) {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n func(...args);\n }, delayMS);\n };\n}\n","import { AXComponent, AXValuableComponent } from '@acorex/cdk/common';\nimport { generateQRCode } from '@acorex/cdk/qrcode';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n forwardRef,\n inject,\n input,\n PLATFORM_ID,\n signal,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { AXQrcodeLevel, AXQrcodeOutputType } from './qrcode.class';\n\n@Component({\n selector: 'ax-qrcode',\n templateUrl: './qrcode.component.html',\n styleUrls: ['./qrcode.component.compiled.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: AXValuableComponent, useExisting: AXQrcodeComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXQrcodeComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXQrcodeComponent },\n ],\n})\nexport class AXQrcodeComponent implements AfterViewInit {\n private platformId = inject(PLATFORM_ID);\n /**\n * @description Value of QR code\n */\n readonly content = input.required<string>();\n /**\n * @description Size of the QR code\n * @default 256\n */\n readonly size = input(256);\n /**\n * @description Error correction level can be 'L' | 'M' | 'Q' | 'H'\n * @default 'M'\n */\n readonly level = input<AXQrcodeLevel>('M');\n /**\n * @description QR code color, can be a hex code or CSS color name\n * @default '#000000'\n */\n readonly color = input('#000000');\n /**\n * @description QR code Background color, can be a hex code or CSS color name\n * @default '#FFFFFF'\n */\n readonly backgroundColor = input('#FFFFFF');\n /**\n * @description Type of output can be 'canvas' | 'svg' | 'url'\n * @default 'canvas'\n */\n readonly outputType = input<AXQrcodeOutputType>('canvas'); //\n /**\n * @ignore\n */\n /**\n * @description // Holds base64 or URL if outputType is 'url' or 'base64'\n */\n protected qrCodeUrl = signal<string | undefined>(undefined);\n /**\n * @ignore\n */\n private canvas = viewChild<ElementRef<HTMLCanvasElement>>('canvas');\n /**\n * @ignore\n */\n private svg = viewChild<ElementRef<HTMLCanvasElement>>('svg');\n\n constructor() {\n effect(() => {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n\n this.generate();\n });\n }\n\n ngAfterViewInit() {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n\n this.generate();\n }\n\n private generate() {\n if (!isPlatformBrowser(this.platformId)) {\n return;\n }\n\n const outputType = this.outputType();\n if (outputType === 'canvas' && !this.canvas()?.nativeElement) {\n return;\n }\n if (outputType === 'svg' && !this.svg()?.nativeElement) {\n return;\n }\n\n generateQRCode(\n this.content(),\n this.size(),\n this.level(),\n this.color(),\n this.backgroundColor(),\n this.outputType(),\n this.canvas()?.nativeElement,\n this.svg()?.nativeElement,\n )\n .then((result) => {\n if (this.outputType() === 'url') {\n this.qrCodeUrl.set(result as string);\n }\n })\n .catch((error) => {\n console.error(error);\n });\n }\n}\n","<div class=\"qrcode\">\n @if (outputType() === 'canvas') {\n <canvas #canvas></canvas>\n } @else if (outputType() === 'svg') {\n <div #svg></div>\n } @else {\n <img [src]=\"qrCodeUrl()\" alt=\"QR Code\" />\n }\n <div class=\"logo-container\">\n <ng-content select=\"img\"></ng-content>\n </div>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXQrcodeComponent } from './qrcode.component';\n\n@NgModule({\n imports: [CommonModule, AXQrcodeComponent],\n exports: [AXQrcodeComponent],\n})\nexport class AXQrcodeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAGM,SAAU,QAAQ,CAAC,IAA4B,EAAE,OAAe,EAAA;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IX,KAAK,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;MEzEjD,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EAAA,OAAA,EAAA,CAHf,YAAY,EAAE,iBAAiB,aAC/B,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAEhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAHf,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAGX,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;oBAC1C,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC7B,iBAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-qrcode.mjs","sources":["../tmp-esm2022/qrcode/lib/qrcode.class.js","../tmp-esm2022/qrcode/lib/qrcode.component.js","../tmp-esm2022/qrcode/lib/qrcode.module.js","../tmp-esm2022/qrcode/acorex-components-qrcode.js"],"sourcesContent":["export function debounce(func, delayMS) {\n let timeoutId;\n return function (...args) {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n func(...args);\n }, delayMS);\n };\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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tcbiAgICB9LCBkZWxheU1TKTtcbiAgfTtcbn1cbiJdfQ==","import { AXComponent, AXValuableComponent } from '@acorex/cdk/common';\nimport { generateQRCode } from '@acorex/cdk/qrcode';\nimport { ChangeDetectionStrategy, Component, effect, forwardRef, input, signal, viewChild, ViewEncapsulation, } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport * as i0 from \"@angular/core\";\nexport class AXQrcodeComponent {\n constructor() {\n /**\n * @description Value of QR code\n */\n this.content = input.required(...(ngDevMode ? [{ debugName: \"content\" }] : []));\n /**\n * @description Size of the QR code\n * @default 256\n */\n this.size = input(256, ...(ngDevMode ? [{ debugName: \"size\" }] : []));\n /**\n * @description Error correction level can be 'L' | 'M' | 'Q' | 'H'\n * @default 'M'\n */\n this.level = input('M', ...(ngDevMode ? [{ debugName: \"level\" }] : []));\n /**\n * @description QR code color, can be a hex code or CSS color name\n * @default '#000000'\n */\n this.color = input('#000000', ...(ngDevMode ? [{ debugName: \"color\" }] : []));\n /**\n * @description QR code Background color, can be a hex code or CSS color name\n * @default '#FFFFFF'\n */\n this.backgroundColor = input('#FFFFFF', ...(ngDevMode ? [{ debugName: \"backgroundColor\" }] : []));\n /**\n * @description Type of output can be 'canvas' | 'svg' | 'url'\n * @default 'canvas'\n */\n this.outputType = input('canvas', ...(ngDevMode ? [{ debugName: \"outputType\" }] : [])); //\n /**\n * @ignore\n */\n /**\n * @description // Holds base64 or URL if outputType is 'url' or 'base64'\n */\n this.qrCodeUrl = signal(undefined, ...(ngDevMode ? [{ debugName: \"qrCodeUrl\" }] : []));\n /**\n * @ignore\n */\n this.canvas = viewChild('canvas', ...(ngDevMode ? [{ debugName: \"canvas\" }] : []));\n /**\n * @ignore\n */\n this.svg = viewChild('svg', ...(ngDevMode ? [{ debugName: \"svg\" }] : []));\n effect(() => {\n this.generate();\n });\n }\n ngAfterViewInit() {\n this.generate();\n }\n generate() {\n generateQRCode(this.content(), this.size(), this.level(), this.color(), this.backgroundColor(), this.outputType(), this.canvas()?.nativeElement, this.svg()?.nativeElement)\n .then((result) => {\n if (this.outputType() === 'url') {\n this.qrCodeUrl.set(result);\n }\n })\n .catch((error) => {\n console.error(error);\n });\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.3\", type: AXQrcodeComponent, isStandalone: true, selector: \"ax-qrcode\", inputs: { content: { classPropertyName: \"content\", publicName: \"content\", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: \"size\", publicName: \"size\", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: \"level\", publicName: \"level\", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: \"color\", publicName: \"color\", isSignal: true, isRequired: false, transformFunction: null }, backgroundColor: { classPropertyName: \"backgroundColor\", publicName: \"backgroundColor\", isSignal: true, isRequired: false, transformFunction: null }, outputType: { classPropertyName: \"outputType\", publicName: \"outputType\", isSignal: true, isRequired: false, transformFunction: null } }, providers: [\n { provide: AXValuableComponent, useExisting: AXQrcodeComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXQrcodeComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXQrcodeComponent },\n ], viewQueries: [{ propertyName: \"canvas\", first: true, predicate: [\"canvas\"], descendants: true, isSignal: true }, { propertyName: \"svg\", first: true, predicate: [\"svg\"], descendants: true, isSignal: true }], ngImport: i0, template: \"<div class=\\\"qrcode\\\">\\n @if (outputType() === 'canvas') {\\n <canvas #canvas></canvas>\\n } @else if (outputType() === 'svg') {\\n <div #svg></div>\\n } @else {\\n <img [src]=\\\"qrCodeUrl()\\\" alt=\\\"QR Code\\\" />\\n }\\n <div class=\\\"logo-container\\\">\\n <ng-content select=\\\"img\\\"></ng-content>\\n </div>\\n</div>\\n\", styles: [\".qrcode{display:flex;justify-content:center;align-items:center;position:relative}.qrcode .logo-container{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;left:50%;transform:translate(-50%,-50%)}\\n\"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-qrcode', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [\n { provide: AXValuableComponent, useExisting: AXQrcodeComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXQrcodeComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXQrcodeComponent },\n ], template: \"<div class=\\\"qrcode\\\">\\n @if (outputType() === 'canvas') {\\n <canvas #canvas></canvas>\\n } @else if (outputType() === 'svg') {\\n <div #svg></div>\\n } @else {\\n <img [src]=\\\"qrCodeUrl()\\\" alt=\\\"QR Code\\\" />\\n }\\n <div class=\\\"logo-container\\\">\\n <ng-content select=\\\"img\\\"></ng-content>\\n </div>\\n</div>\\n\", styles: [\".qrcode{display:flex;justify-content:center;align-items:center;position:relative}.qrcode .logo-container{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;left:50%;transform:translate(-50%,-50%)}\\n\"] }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXJjb2RlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvcXJjb2RlL3NyYy9saWIvcXJjb2RlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvcXJjb2RlL3NyY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XRwdXRUeXBlKCkgPT09ICd1cmwnKSB7XG4gICAgICAgICAgdGhpcy5xckNvZGVVcmwuc2V0KHJlc3VsdCBhcyBzdHJpbmcpO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgICAgLmNhdGNoKChlcnJvcikgPT4ge1xuICAgICAgICBjb25zb2xlLmVycm9yKGVycm9yKTtcbiAgICAgIH0pO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwicXJjb2RlXCI+XG4gIEBpZiAob3V0cHV0VHlwZSgpID09PSAnY2FudmFzJykge1xuICAgIDxjYW52YXMgI2NhbnZhcz48L2NhbnZhcz5cbiAgfSBAZWxzZSBpZiAob3V0cHV0VHlwZSgpID09PSAnc3ZnJykge1xuICAgIDxkaXYgI3N2Zz48L2Rpdj5cbiAgfSBAZWxzZSB7XG4gICAgPGltZyBbc3JjXT1cInFyQ29kZVVybCgpXCIgYWx0PVwiUVIgQ29kZVwiIC8+XG4gIH1cbiAgPGRpdiBjbGFzcz1cImxvZ28tY29udGFpbmVyXCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiaW1nXCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXQrcodeComponent } from './qrcode.component';\nimport * as i0 from \"@angular/core\";\nexport class AXQrcodeModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule, AXQrcodeComponent], exports: [AXQrcodeComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeModule, imports: [CommonModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.3\", ngImport: i0, type: AXQrcodeModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, AXQrcodeComponent],\n exports: [AXQrcodeComponent],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXJjb2RlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvcXJjb2RlL3NyYy9saWIvcXJjb2RlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7QUFNdkQsTUFBTSxPQUFPLGNBQWM7OEdBQWQsY0FBYzsrR0FBZCxjQUFjLFlBSGYsWUFBWSxFQUFFLGlCQUFpQixhQUMvQixpQkFBaUI7K0dBRWhCLGNBQWMsWUFIZixZQUFZOzsyRkFHWCxjQUFjO2tCQUoxQixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxpQkFBaUIsQ0FBQztvQkFDMUMsT0FBTyxFQUFFLENBQUMsaUJBQWlCLENBQUM7aUJBQzdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWFFyY29kZUNvbXBvbmVudCB9IGZyb20gJy4vcXJjb2RlLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEFYUXJjb2RlQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0FYUXJjb2RlQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQVhRcmNvZGVNb2R1bGUge31cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtcXJjb2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9xcmNvZGUvc3JjL2Fjb3JleC1jb21wb25lbnRzLXFyY29kZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;;;;AAAO,SAAS,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE;AACxC,IAAI,IAAI,SAAS;AACjB,IAAI,OAAO,UAAU,GAAG,IAAI,EAAE;AAC9B,QAAQ,IAAI,SAAS,EAAE;AACvB,YAAY,YAAY,CAAC,SAAS,CAAC;AACnC,QAAQ;AACR,QAAQ,SAAS,GAAG,UAAU,CAAC,MAAM;AACrC,YAAY,IAAI,CAAC,GAAG,IAAI,CAAC;AACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;AACnB,IAAI,CAAC;AACL;;ACLO,MAAM,iBAAiB,CAAC;AAC/B,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,OAAO,GAAG,KA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EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,CAAC;AACxH,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;AAC9D,oBAAoB,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAChD,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACfb;AACA;AACA;;;;"}
@@ -1,6 +1,6 @@
1
- import { AXButtonGroupComponent, AXButtonGroupItemComponent, AXButtonGroupModule } from '@acorex/components/button-group';
2
1
  import { AXDataSource, AXComponent } from '@acorex/cdk/common';
3
2
  import { AXButtonComponent, AXButtonModule } from '@acorex/components/button';
3
+ import { AXButtonGroupComponent, AXButtonGroupItemComponent, AXButtonGroupModule } from '@acorex/components/button-group';
4
4
  import { AXDateTimeBoxComponent, AXDateTimeBoxModule } from '@acorex/components/datetime-box';
5
5
  import { AXDecoratorIconComponent, AXDecoratorClearButtonComponent, AXDecoratorModule } from '@acorex/components/decorators';
6
6
  import { AXNumberBoxComponent, AXNumberBoxModule } from '@acorex/components/number-box';
@@ -10,14 +10,13 @@ import { NgTemplateOutlet, CommonModule } from '@angular/common';
10
10
  import * as i0 from '@angular/core';
11
11
  import { input, model, output, viewChild, signal, effect, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
12
12
 
13
- // prettier-ignore
14
13
  class AXQueryBuilderComponent {
15
14
  constructor() {
16
- this.columnData = input.required(...(ngDevMode ? [{ debugName: "columnData" }] : /* istanbul ignore next */ []));
17
- this.queryData = model.required(...(ngDevMode ? [{ debugName: "queryData" }] : /* istanbul ignore next */ []));
15
+ this.columnData = input.required(...(ngDevMode ? [{ debugName: "columnData" }] : []));
16
+ this.queryData = model.required(...(ngDevMode ? [{ debugName: "queryData" }] : []));
18
17
  this.onValueChanged = output();
19
- this.selectBoxRef = viewChild('reRender', ...(ngDevMode ? [{ debugName: "selectBoxRef" }] : /* istanbul ignore next */ []));
20
- this.selectedItem = signal(null, ...(ngDevMode ? [{ debugName: "selectedItem" }] : /* istanbul ignore next */ []));
18
+ this.selectBoxRef = viewChild('reRender', ...(ngDevMode ? [{ debugName: "selectBoxRef" }] : []));
19
+ this.selectedItem = signal(null, ...(ngDevMode ? [{ debugName: "selectedItem" }] : []));
21
20
  this.ds = new AXDataSource({
22
21
  load: async (e) => {
23
22
  return {
@@ -73,7 +72,7 @@ class AXQueryBuilderComponent {
73
72
  };
74
73
  this.#eff = effect(() => {
75
74
  this.onValueChanged.emit(this.queryData());
76
- }, ...(ngDevMode ? [{ debugName: "#eff" }] : /* istanbul ignore next */ []));
75
+ }, ...(ngDevMode ? [{ debugName: "#eff" }] : []));
77
76
  }
78
77
  #eff;
79
78
  conditionHandler(e, i) {
@@ -203,10 +202,10 @@ class AXQueryBuilderComponent {
203
202
  trackById(_, item) {
204
203
  return item.id;
205
204
  }
206
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
207
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXQueryBuilderComponent, isStandalone: true, selector: "ax-query-builder", inputs: { columnData: { classPropertyName: "columnData", publicName: "columnData", isSignal: true, isRequired: true, transformFunction: null }, queryData: { classPropertyName: "queryData", publicName: "queryData", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { queryData: "queryDataChange", onValueChanged: "onValueChanged" }, providers: [{ provide: AXComponent, useExisting: AXQueryBuilderComponent }], viewQueries: [{ propertyName: "selectBoxRef", first: true, predicate: ["reRender"], descendants: true, isSignal: true }], ngImport: i0, template: "@for (item of queryData(); track trackById(i, item); let i = $index) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: item, index: i }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n}\n\n<ng-template #query let-item let-index=\"index\">\n @if (item.condition) {\n <div class=\"ax-recursive-container\">\n <div class=\"ax-add-condition-container\">\n <ax-button-group\n selection=\"single\"\n (selectedButtonChange)=\"conditionHandler($event, item)\"\n color=\"primary\"\n class=\"ax-sm\"\n >\n <ax-button-group-item data=\"and\" [selected]=\"item.condition === 'and'\" text=\"And\"> </ax-button-group-item>\n <ax-button-group-item data=\"or\" [selected]=\"item.condition === 'or'\" text=\"Or\"> </ax-button-group-item>\n </ax-button-group>\n <ax-button\n (onClick)=\"addRulesHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Rules\"\n ></ax-button>\n <ax-button\n (onClick)=\"addGroupHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Group\"\n ></ax-button>\n @if (index !== 0) {\n <ax-button look=\"blank\" (onClick)=\"removeGroupHandler(item)\" class=\"ax-sm\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n }\n </div>\n\n @for (child of item.rules; track trackById($index, child)) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: child }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n }\n </div>\n } @else {\n <div class=\"ax-rules-container\">\n <div class=\"ax-input-rules-container\">\n <ax-select-box\n (onValueChanged)=\"columnDataHandler($event, item)\"\n valueField=\"field\"\n textField=\"label\"\n [dataSource]=\"columnData()\"\n placeholder=\"Select Field\"\n >\n </ax-select-box>\n\n <ax-select-box\n #reRender\n [disabled]=\"!item.field\"\n name=\"selectBoxOperator\"\n (onValueChanged)=\"operatorDataHandler($event, item)\"\n [dataSource]=\"ds\"\n placeholder=\"Select Operator\"\n >\n </ax-select-box>\n\n @switch (item.type) {\n @case ('boolean') {\n <div class=\"ax-boolean-value-input-container\">\n @for (boolean of item.inputValues; track $index) {\n <label>{{ boolean }}</label>\n <input name=\"same\" [value]=\"boolean\" (input)=\"booleanValueHandler($event, item)\" type=\"radio\" />\n }\n </div>\n }\n @case ('string') {\n <ax-text-box (onValueChanged)=\"stringValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n }\n @case ('number') {\n <ax-number-box (onValueChanged)=\"numberValueHandler($event, item)\"></ax-number-box>\n }\n @case ('date') {\n <ax-datetime-box format=\"yyyy/MM/dd\" (onValueChanged)=\"dateValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n }\n }\n </div>\n <ax-button (onClick)=\"removeRulesHandler(item)\" look=\"blank\" class=\"ax-md\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n </div>\n }\n</ng-template>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-query-builder{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:1px;border-color:var(--color-border-default);width:100%;padding:calc(var(--spacing,.25rem) * 4);display:block}ax-query-builder .ax-add-condition-container{margin-block:calc(var(--spacing,.25rem) * 2);gap:calc(var(--spacing,.25rem) * 2);display:flex}ax-query-builder .ax-recursive-container{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface));padding-inline-start:calc(var(--spacing,.25rem) * 4)}ax-query-builder .ax-rules-container{margin-block:calc(var(--spacing,.25rem) * 2);align-items:center;display:flex}ax-query-builder .ax-rules-container .ax-input-rules-container{align-items:center;gap:calc(var(--spacing,.25rem) * 2);width:100%;display:flex}ax-query-builder .ax-rules-container:not(:last-child){margin-bottom:calc(var(--spacing,.25rem) * 2)}ax-query-builder .ax-boolean-value-input-container{align-items:center;gap:calc(var(--spacing,.25rem) * 2);display:flex}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: ["disabled", "fitParent", "color", "look", "class", "selection"], outputs: ["onBlur", "onFocus", "disabledChange", "colorChange", "lookChange", "onClick", "selectionChange", "selectedButtonChange"] }, { kind: "component", type: AXButtonGroupItemComponent, selector: "ax-button-group-item", inputs: ["disabled", "color", "text", "class", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange", "classChange"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "component", type: AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "minValue", "maxValue", "showSpinButtons", "thousandsSeparator", "decimals", "changeOnScroll", "step"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "thousandsSeparatorChange"] }, { kind: "component", type: AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "picker", "calendar", "weekend", "weekdays", "calendarLook", "boxLook", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
205
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
206
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.3", type: AXQueryBuilderComponent, isStandalone: true, selector: "ax-query-builder", inputs: { columnData: { classPropertyName: "columnData", publicName: "columnData", isSignal: true, isRequired: true, transformFunction: null }, queryData: { classPropertyName: "queryData", publicName: "queryData", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { queryData: "queryDataChange", onValueChanged: "onValueChanged" }, providers: [{ provide: AXComponent, useExisting: AXQueryBuilderComponent }], viewQueries: [{ propertyName: "selectBoxRef", first: true, predicate: ["reRender"], descendants: true, isSignal: true }], ngImport: i0, template: "@for (item of queryData(); track trackById(i, item); let i = $index) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: item, index: i }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n}\n\n<ng-template #query let-item let-index=\"index\">\n @if (item.condition) {\n <div class=\"ax-recursive-container\">\n <div class=\"ax-add-condition-container\">\n <ax-button-group\n selection=\"single\"\n (selectedButtonChange)=\"conditionHandler($event, item)\"\n color=\"primary\"\n class=\"ax-sm\"\n >\n <ax-button-group-item data=\"and\" [selected]=\"item.condition === 'and'\" text=\"And\"> </ax-button-group-item>\n <ax-button-group-item data=\"or\" [selected]=\"item.condition === 'or'\" text=\"Or\"> </ax-button-group-item>\n </ax-button-group>\n <ax-button\n (onClick)=\"addRulesHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Rules\"\n ></ax-button>\n <ax-button\n (onClick)=\"addGroupHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Group\"\n ></ax-button>\n @if (index !== 0) {\n <ax-button look=\"blank\" (onClick)=\"removeGroupHandler(item)\" class=\"ax-sm\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n }\n </div>\n\n @for (child of item.rules; track trackById($index, child)) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: child }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n }\n </div>\n } @else {\n <div class=\"ax-rules-container\">\n <div class=\"ax-input-rules-container\">\n <ax-select-box\n (onValueChanged)=\"columnDataHandler($event, item)\"\n valueField=\"field\"\n textField=\"label\"\n [dataSource]=\"columnData()\"\n placeholder=\"Select Field\"\n >\n </ax-select-box>\n\n <ax-select-box\n #reRender\n [disabled]=\"!item.field\"\n name=\"selectBoxOperator\"\n (onValueChanged)=\"operatorDataHandler($event, item)\"\n [dataSource]=\"ds\"\n placeholder=\"Select Operator\"\n >\n </ax-select-box>\n\n @switch (item.type) {\n @case ('boolean') {\n <div class=\"ax-boolean-value-input-container\">\n @for (boolean of item.inputValues; track $index) {\n <label>{{ boolean }}</label>\n <input name=\"same\" [value]=\"boolean\" (input)=\"booleanValueHandler($event, item)\" type=\"radio\" />\n }\n </div>\n }\n @case ('string') {\n <ax-text-box (onValueChanged)=\"stringValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n }\n @case ('number') {\n <ax-number-box (onValueChanged)=\"numberValueHandler($event, item)\"></ax-number-box>\n }\n @case ('date') {\n <ax-datetime-box format=\"yyyy/MM/dd\" (onValueChanged)=\"dateValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n }\n }\n </div>\n <ax-button (onClick)=\"removeRulesHandler(item)\" look=\"blank\" class=\"ax-md\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n </div>\n }\n</ng-template>\n", styles: ["ax-query-builder{border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius);padding:1rem;width:100%;display:block}ax-query-builder .ax-add-condition-container{display:flex;gap:.5rem;margin-block:.5rem}ax-query-builder .ax-recursive-container{border-inline-start:1px solid rgba(var(--ax-sys-color-border-lightest-surface));padding-inline-start:1rem}ax-query-builder .ax-rules-container{display:flex;align-items:center;margin-block:.5rem}ax-query-builder .ax-rules-container .ax-input-rules-container{display:flex;align-items:center;gap:.5rem;width:100%}ax-query-builder .ax-rules-container:not(:last-child){margin-bottom:.5rem}ax-query-builder .ax-boolean-value-input-container{display:flex;gap:.5rem;align-items:center}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: ["disabled", "color", "look", "fitParent", "selection"], outputs: ["onBlur", "onFocus", "lookChange", "colorChange", "disabledChange", "onClick", "selectionChange", "selectedButtonChange"] }, { kind: "component", type: AXButtonGroupItemComponent, selector: "ax-button-group-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "component", type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "maskPattern", "customTokens", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "onMaskChanged"] }, { kind: "component", type: AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "minValue", "maxValue", "showSpinButtons", "thousandsSeparator", "decimals", "changeOnScroll", "step"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress", "thousandsSeparatorChange"] }, { kind: "component", type: AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "picker", "calendar", "weekend", "weekdays", "calendarLook", "boxLook", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
208
207
  }
209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderComponent, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderComponent, decorators: [{
210
209
  type: Component,
211
210
  args: [{ selector: 'ax-query-builder', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
212
211
  NgTemplateOutlet,
@@ -219,8 +218,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
219
218
  AXDecoratorClearButtonComponent,
220
219
  AXNumberBoxComponent,
221
220
  AXDateTimeBoxComponent,
222
- ], providers: [{ provide: AXComponent, useExisting: AXQueryBuilderComponent }], template: "@for (item of queryData(); track trackById(i, item); let i = $index) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: item, index: i }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n}\n\n<ng-template #query let-item let-index=\"index\">\n @if (item.condition) {\n <div class=\"ax-recursive-container\">\n <div class=\"ax-add-condition-container\">\n <ax-button-group\n selection=\"single\"\n (selectedButtonChange)=\"conditionHandler($event, item)\"\n color=\"primary\"\n class=\"ax-sm\"\n >\n <ax-button-group-item data=\"and\" [selected]=\"item.condition === 'and'\" text=\"And\"> </ax-button-group-item>\n <ax-button-group-item data=\"or\" [selected]=\"item.condition === 'or'\" text=\"Or\"> </ax-button-group-item>\n </ax-button-group>\n <ax-button\n (onClick)=\"addRulesHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Rules\"\n ></ax-button>\n <ax-button\n (onClick)=\"addGroupHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Group\"\n ></ax-button>\n @if (index !== 0) {\n <ax-button look=\"blank\" (onClick)=\"removeGroupHandler(item)\" class=\"ax-sm\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n }\n </div>\n\n @for (child of item.rules; track trackById($index, child)) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: child }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n }\n </div>\n } @else {\n <div class=\"ax-rules-container\">\n <div class=\"ax-input-rules-container\">\n <ax-select-box\n (onValueChanged)=\"columnDataHandler($event, item)\"\n valueField=\"field\"\n textField=\"label\"\n [dataSource]=\"columnData()\"\n placeholder=\"Select Field\"\n >\n </ax-select-box>\n\n <ax-select-box\n #reRender\n [disabled]=\"!item.field\"\n name=\"selectBoxOperator\"\n (onValueChanged)=\"operatorDataHandler($event, item)\"\n [dataSource]=\"ds\"\n placeholder=\"Select Operator\"\n >\n </ax-select-box>\n\n @switch (item.type) {\n @case ('boolean') {\n <div class=\"ax-boolean-value-input-container\">\n @for (boolean of item.inputValues; track $index) {\n <label>{{ boolean }}</label>\n <input name=\"same\" [value]=\"boolean\" (input)=\"booleanValueHandler($event, item)\" type=\"radio\" />\n }\n </div>\n }\n @case ('string') {\n <ax-text-box (onValueChanged)=\"stringValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n }\n @case ('number') {\n <ax-number-box (onValueChanged)=\"numberValueHandler($event, item)\"></ax-number-box>\n }\n @case ('date') {\n <ax-datetime-box format=\"yyyy/MM/dd\" (onValueChanged)=\"dateValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n }\n }\n </div>\n <ax-button (onClick)=\"removeRulesHandler(item)\" look=\"blank\" class=\"ax-md\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n </div>\n }\n</ng-template>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer components{ax-query-builder{border-radius:var(--radius-lg,.5rem);border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:1px;border-color:var(--color-border-default);width:100%;padding:calc(var(--spacing,.25rem) * 4);display:block}ax-query-builder .ax-add-condition-container{margin-block:calc(var(--spacing,.25rem) * 2);gap:calc(var(--spacing,.25rem) * 2);display:flex}ax-query-builder .ax-recursive-container{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px;border-color:rgba(var(--ax-sys-color-border-lightest-surface));padding-inline-start:calc(var(--spacing,.25rem) * 4)}ax-query-builder .ax-rules-container{margin-block:calc(var(--spacing,.25rem) * 2);align-items:center;display:flex}ax-query-builder .ax-rules-container .ax-input-rules-container{align-items:center;gap:calc(var(--spacing,.25rem) * 2);width:100%;display:flex}ax-query-builder .ax-rules-container:not(:last-child){margin-bottom:calc(var(--spacing,.25rem) * 2)}ax-query-builder .ax-boolean-value-input-container{align-items:center;gap:calc(var(--spacing,.25rem) * 2);display:flex}}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
223
- }], propDecorators: { columnData: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnData", required: true }] }], queryData: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryData", required: true }] }, { type: i0.Output, args: ["queryDataChange"] }], onValueChanged: [{ type: i0.Output, args: ["onValueChanged"] }], selectBoxRef: [{ type: i0.ViewChild, args: ['reRender', { isSignal: true }] }] } });
221
+ ], providers: [{ provide: AXComponent, useExisting: AXQueryBuilderComponent }], template: "@for (item of queryData(); track trackById(i, item); let i = $index) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: item, index: i }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n}\n\n<ng-template #query let-item let-index=\"index\">\n @if (item.condition) {\n <div class=\"ax-recursive-container\">\n <div class=\"ax-add-condition-container\">\n <ax-button-group\n selection=\"single\"\n (selectedButtonChange)=\"conditionHandler($event, item)\"\n color=\"primary\"\n class=\"ax-sm\"\n >\n <ax-button-group-item data=\"and\" [selected]=\"item.condition === 'and'\" text=\"And\"> </ax-button-group-item>\n <ax-button-group-item data=\"or\" [selected]=\"item.condition === 'or'\" text=\"Or\"> </ax-button-group-item>\n </ax-button-group>\n <ax-button\n (onClick)=\"addRulesHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Rules\"\n ></ax-button>\n <ax-button\n (onClick)=\"addGroupHandler(item)\"\n class=\"ax-sm\"\n color=\"primary\"\n look=\"blank\"\n text=\"Add Group\"\n ></ax-button>\n @if (index !== 0) {\n <ax-button look=\"blank\" (onClick)=\"removeGroupHandler(item)\" class=\"ax-sm\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n }\n </div>\n\n @for (child of item.rules; track trackById($index, child)) {\n <ng-container [ngTemplateOutletContext]=\"{ $implicit: child }\" [ngTemplateOutlet]=\"query\"> </ng-container>\n }\n </div>\n } @else {\n <div class=\"ax-rules-container\">\n <div class=\"ax-input-rules-container\">\n <ax-select-box\n (onValueChanged)=\"columnDataHandler($event, item)\"\n valueField=\"field\"\n textField=\"label\"\n [dataSource]=\"columnData()\"\n placeholder=\"Select Field\"\n >\n </ax-select-box>\n\n <ax-select-box\n #reRender\n [disabled]=\"!item.field\"\n name=\"selectBoxOperator\"\n (onValueChanged)=\"operatorDataHandler($event, item)\"\n [dataSource]=\"ds\"\n placeholder=\"Select Operator\"\n >\n </ax-select-box>\n\n @switch (item.type) {\n @case ('boolean') {\n <div class=\"ax-boolean-value-input-container\">\n @for (boolean of item.inputValues; track $index) {\n <label>{{ boolean }}</label>\n <input name=\"same\" [value]=\"boolean\" (input)=\"booleanValueHandler($event, item)\" type=\"radio\" />\n }\n </div>\n }\n @case ('string') {\n <ax-text-box (onValueChanged)=\"stringValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-text-box>\n }\n @case ('number') {\n <ax-number-box (onValueChanged)=\"numberValueHandler($event, item)\"></ax-number-box>\n }\n @case ('date') {\n <ax-datetime-box format=\"yyyy/MM/dd\" (onValueChanged)=\"dateValueHandler($event, item)\">\n <ax-clear-button></ax-clear-button>\n </ax-datetime-box>\n }\n }\n </div>\n <ax-button (onClick)=\"removeRulesHandler(item)\" look=\"blank\" class=\"ax-md\" color=\"danger\">\n <ax-icon icon=\"ax-icon ax-icon-trash\"></ax-icon>\n </ax-button>\n </div>\n }\n</ng-template>\n", styles: ["ax-query-builder{border:1px solid rgba(var(--ax-sys-color-border-lightest-surface));border-radius:var(--ax-sys-border-radius);padding:1rem;width:100%;display:block}ax-query-builder .ax-add-condition-container{display:flex;gap:.5rem;margin-block:.5rem}ax-query-builder .ax-recursive-container{border-inline-start:1px solid rgba(var(--ax-sys-color-border-lightest-surface));padding-inline-start:1rem}ax-query-builder .ax-rules-container{display:flex;align-items:center;margin-block:.5rem}ax-query-builder .ax-rules-container .ax-input-rules-container{display:flex;align-items:center;gap:.5rem;width:100%}ax-query-builder .ax-rules-container:not(:last-child){margin-bottom:.5rem}ax-query-builder .ax-boolean-value-input-container{display:flex;gap:.5rem;align-items:center}\n"] }]
222
+ }] });
224
223
 
225
224
  const COMPONENT = [AXQueryBuilderComponent];
226
225
  const MODULES = [
@@ -234,8 +233,8 @@ const MODULES = [
234
233
  CommonModule,
235
234
  ];
236
235
  class AXQueryBuilderModule {
237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
238
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderModule, imports: [AXButtonGroupModule,
236
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
237
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderModule, imports: [AXButtonGroupModule,
239
238
  AXDecoratorModule,
240
239
  AXSelectBoxModule,
241
240
  AXButtonModule,
@@ -243,9 +242,9 @@ class AXQueryBuilderModule {
243
242
  AXNumberBoxModule,
244
243
  AXDateTimeBoxModule,
245
244
  CommonModule, AXQueryBuilderComponent], exports: [AXQueryBuilderComponent] }); }
246
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderModule, imports: [MODULES, COMPONENT] }); }
245
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderModule, imports: [MODULES, COMPONENT] }); }
247
246
  }
248
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXQueryBuilderModule, decorators: [{
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: AXQueryBuilderModule, decorators: [{
249
248
  type: NgModule,
250
249
  args: [{
251
250
  imports: [...MODULES, ...COMPONENT],