@acorex/components 18.4.4 → 18.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. package/alert/lib/alert.component.d.ts +15 -36
  2. package/comment/README.md +3 -0
  3. package/comment/index.d.ts +9 -0
  4. package/comment/lib/comment-container/comment-container.component.d.ts +5 -0
  5. package/comment/lib/comment-input/comment-input.component.d.ts +10 -0
  6. package/comment/lib/comment-item/comment-item.component.d.ts +9 -0
  7. package/comment/lib/comment-like/comment-like.component.d.ts +6 -0
  8. package/comment/lib/comment-reply/comment-reply.component.d.ts +5 -0
  9. package/comment/lib/comment-view/comment-view.component.d.ts +5 -0
  10. package/comment/lib/comment.module.d.ts +17 -0
  11. package/comment/lib/comment.types.d.ts +3 -0
  12. package/comment/lib/services/comment.service.d.ts +6 -0
  13. package/esm2022/alert/lib/alert.component.mjs +37 -133
  14. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  15. package/esm2022/badge/lib/badge.component.mjs +2 -2
  16. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +2 -2
  17. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +1 -1
  18. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +3 -8
  19. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -5
  20. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +2 -2
  21. package/esm2022/button/lib/button-item.class.mjs +1 -1
  22. package/esm2022/button/lib/button.module.mjs +5 -26
  23. package/esm2022/check-box/lib/check-box.component.mjs +3 -11
  24. package/esm2022/circular-progress/lib/circular-progress.component.mjs +1 -1
  25. package/esm2022/color-box/lib/color-box.module.mjs +3 -11
  26. package/esm2022/color-palette/lib/color-palette-input.component.mjs +9 -15
  27. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +6 -14
  28. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +16 -17
  29. package/esm2022/color-palette/lib/color-palette.class.mjs +1 -1
  30. package/esm2022/color-palette/lib/color-palette.component.mjs +5 -21
  31. package/esm2022/comment/acorex-components-comment.mjs +5 -0
  32. package/esm2022/comment/index.mjs +10 -0
  33. package/esm2022/comment/lib/comment-container/comment-container.component.mjs +12 -0
  34. package/esm2022/comment/lib/comment-input/comment-input.component.mjs +33 -0
  35. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +21 -0
  36. package/esm2022/comment/lib/comment-like/comment-like.component.mjs +15 -0
  37. package/esm2022/comment/lib/comment-reply/comment-reply.component.mjs +12 -0
  38. package/esm2022/comment/lib/comment-view/comment-view.component.mjs +11 -0
  39. package/esm2022/comment/lib/comment.module.mjs +48 -0
  40. package/esm2022/comment/lib/comment.types.mjs +2 -0
  41. package/esm2022/comment/lib/services/comment.service.mjs +19 -0
  42. package/esm2022/common/lib/classes/events.class.mjs +1 -1
  43. package/esm2022/common/lib/classes/styles.class.mjs +2 -10
  44. package/esm2022/common/lib/common.module.mjs +4 -20
  45. package/esm2022/common/lib/components/colorlook-component.class.mjs +1 -1
  46. package/esm2022/common/lib/components/input-base-value-component.class.mjs +1 -1
  47. package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
  48. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -4
  49. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +2 -3
  50. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -8
  51. package/esm2022/common/lib/directives/ripple.directive.mjs +4 -6
  52. package/esm2022/common/lib/types/placement.mjs +6 -26
  53. package/esm2022/conversation/lib/conversation-input/conversation-input.component.mjs +3 -3
  54. package/esm2022/data-pager/lib/data-pager-info.component.mjs +4 -10
  55. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +2 -2
  56. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  57. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +8 -36
  58. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  59. package/esm2022/data-table/lib/data-table/data-table.component.mjs +1 -1
  60. package/esm2022/datetime-box/lib/datetime-box.module.mjs +3 -15
  61. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +7 -8
  62. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +1 -1
  63. package/esm2022/decorators/lib/components/clear-button.component.mjs +6 -21
  64. package/esm2022/decorators/lib/components/close-button.component.mjs +5 -15
  65. package/esm2022/decorators/lib/decorators.module.mjs +3 -14
  66. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  67. package/esm2022/dialog/lib/dialog.component.mjs +4 -6
  68. package/esm2022/dialog/lib/dialog.module.mjs +2 -2
  69. package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
  70. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -21
  71. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +4 -12
  72. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +4 -23
  73. package/esm2022/form/lib/form.config.mjs +1 -1
  74. package/esm2022/form/lib/validation-rule.directive.mjs +2 -2
  75. package/esm2022/form/lib/validation-summary.component.mjs +30 -46
  76. package/esm2022/image/lib/image.component.mjs +2 -2
  77. package/esm2022/label/lib/label.component.mjs +2 -2
  78. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  79. package/esm2022/loading/lib/loading.component.mjs +5 -17
  80. package/esm2022/loading/lib/loading.config.mjs +1 -1
  81. package/esm2022/loading/lib/loading.directive.mjs +1 -1
  82. package/esm2022/loading/lib/loading.module.mjs +3 -11
  83. package/esm2022/loading/lib/loading.service.mjs +5 -11
  84. package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +1 -1
  85. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +4 -6
  86. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +4 -23
  87. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +1 -1
  88. package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
  89. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +3 -3
  90. package/esm2022/nav/lib/nav.component.mjs +2 -2
  91. package/esm2022/navbar/lib/navbar.component.mjs +2 -2
  92. package/esm2022/notification/lib/notification.class.mjs +1 -1
  93. package/esm2022/notification/lib/notification.component.mjs +6 -10
  94. package/esm2022/notification/lib/notification.config.mjs +1 -1
  95. package/esm2022/notification/lib/notification.module.mjs +4 -18
  96. package/esm2022/notification/lib/notification.service.mjs +6 -13
  97. package/esm2022/number-box/lib/number-box.module.mjs +3 -13
  98. package/esm2022/page/lib/base-page.class.mjs +3 -3
  99. package/esm2022/password-box/lib/password-box.component.mjs +3 -13
  100. package/esm2022/phone-box/lib/phone-box.component.mjs +1 -1
  101. package/esm2022/picker/lib/picker-column.directive.mjs +2 -2
  102. package/esm2022/picker/lib/picker.component.mjs +7 -13
  103. package/esm2022/popup/lib/popup.component.mjs +3 -3
  104. package/esm2022/popup/lib/popup.module.mjs +2 -2
  105. package/esm2022/popup/lib/popup.service.mjs +2 -2
  106. package/esm2022/progress-bar/lib/progress-bar.component.mjs +1 -1
  107. package/esm2022/radio/lib/radio.component.mjs +2 -10
  108. package/esm2022/result/lib/result.component.mjs +2 -2
  109. package/esm2022/routing-progress/lib/routing-progress.component.mjs +3 -3
  110. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +2 -2
  111. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +2 -2
  112. package/esm2022/scheduler/lib/scheduler.component.mjs +2 -2
  113. package/esm2022/scheduler/lib/scheduler.module.mjs +4 -22
  114. package/esm2022/scss/lib/scss.module.mjs +2 -2
  115. package/esm2022/selection-list/lib/selection-list.component.mjs +4 -10
  116. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -21
  117. package/esm2022/skeleton/lib/skeleton.component.mjs +2 -2
  118. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
  119. package/esm2022/step-wizard/lib/step-wizard.class.mjs +1 -1
  120. package/esm2022/step-wizard/lib/step-wizard.component.mjs +1 -1
  121. package/esm2022/step-wizard/lib/step-wizard.module.mjs +3 -11
  122. package/esm2022/switch/lib/switch-content.component.mjs +1 -1
  123. package/esm2022/switch/lib/switch.component.mjs +3 -10
  124. package/esm2022/tabs/lib/tab-item.component.mjs +32 -36
  125. package/esm2022/tabs/lib/tabs.class.mjs +1 -1
  126. package/esm2022/tabs/lib/tabs.component.mjs +1 -1
  127. package/esm2022/tag/lib/tag.component.mjs +2 -2
  128. package/esm2022/text-box/lib/mask-options.directive.mjs +1 -1
  129. package/esm2022/text-box/lib/text-box.component.mjs +3 -4
  130. package/esm2022/text-box/lib/text-box.module.mjs +4 -18
  131. package/esm2022/toast/lib/toast.component.mjs +3 -3
  132. package/esm2022/toast/lib/toast.config.mjs +1 -1
  133. package/esm2022/toast/lib/toast.module.mjs +4 -16
  134. package/esm2022/toast/lib/toast.service.mjs +7 -16
  135. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +2 -2
  136. package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +3 -3
  137. package/esm2022/uploader/lib/uploader-list.component.mjs +2 -2
  138. package/esm2022/uploader/lib/uploader-zone.directive.mjs +2 -2
  139. package/esm2022/uploader/lib/uploader.models.mjs +1 -1
  140. package/esm2022/uploader/lib/uploader.module.mjs +3 -11
  141. package/esm2022/wysiwyg/acorex-components-wysiwyg.mjs +5 -0
  142. package/esm2022/wysiwyg/index.mjs +5 -0
  143. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +27 -0
  144. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.mjs +113 -0
  145. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +11 -0
  146. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +13 -0
  147. package/esm2022/wysiwyg/lib/wysiwyg.module.mjs +27 -0
  148. package/fesm2022/acorex-components-alert.mjs +37 -132
  149. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  150. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  151. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  152. package/fesm2022/acorex-components-bottom-navigation.mjs +2 -7
  153. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  154. package/fesm2022/acorex-components-breadcrumbs.mjs +1 -4
  155. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  156. package/fesm2022/acorex-components-button.mjs +4 -25
  157. package/fesm2022/acorex-components-button.mjs.map +1 -1
  158. package/fesm2022/acorex-components-check-box.mjs +1 -9
  159. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  160. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  161. package/fesm2022/acorex-components-color-box.mjs +2 -10
  162. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  163. package/fesm2022/acorex-components-color-palette.mjs +22 -53
  164. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  165. package/fesm2022/acorex-components-comment.mjs +153 -0
  166. package/fesm2022/acorex-components-comment.mjs.map +1 -0
  167. package/fesm2022/acorex-components-common.mjs +17 -78
  168. package/fesm2022/acorex-components-common.mjs.map +1 -1
  169. package/fesm2022/acorex-components-conversation.mjs +2 -2
  170. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  171. package/fesm2022/acorex-components-data-pager.mjs +12 -46
  172. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  173. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  174. package/fesm2022/acorex-components-datetime-box.mjs +2 -14
  175. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  176. package/fesm2022/acorex-components-datetime-picker.mjs +1 -2
  177. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  178. package/fesm2022/acorex-components-decorators.mjs +7 -43
  179. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  180. package/fesm2022/acorex-components-dialog.mjs +1 -3
  181. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  182. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  183. package/fesm2022/acorex-components-dropdown-button.mjs +4 -31
  184. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  185. package/fesm2022/acorex-components-dropdown.mjs +3 -20
  186. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  187. package/fesm2022/acorex-components-form.mjs +28 -44
  188. package/fesm2022/acorex-components-form.mjs.map +1 -1
  189. package/fesm2022/acorex-components-image.mjs.map +1 -1
  190. package/fesm2022/acorex-components-label.mjs.map +1 -1
  191. package/fesm2022/acorex-components-loading-dialog.mjs +4 -25
  192. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  193. package/fesm2022/acorex-components-loading.mjs +11 -37
  194. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  195. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  196. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  197. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  198. package/fesm2022/acorex-components-notification.mjs +8 -33
  199. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  200. package/fesm2022/acorex-components-number-box.mjs +2 -12
  201. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-page.mjs.map +1 -1
  203. package/fesm2022/acorex-components-password-box.mjs +1 -11
  204. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  205. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  206. package/fesm2022/acorex-components-picker.mjs +6 -12
  207. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  208. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  209. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  210. package/fesm2022/acorex-components-radio.mjs +1 -9
  211. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  212. package/fesm2022/acorex-components-result.mjs.map +1 -1
  213. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  214. package/fesm2022/acorex-components-scheduler.mjs +3 -21
  215. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  216. package/fesm2022/acorex-components-scss.mjs +1 -1
  217. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  218. package/fesm2022/acorex-components-selection-list.mjs +5 -28
  219. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  220. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  221. package/fesm2022/acorex-components-step-wizard.mjs +3 -11
  222. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  223. package/fesm2022/acorex-components-switch.mjs +1 -8
  224. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  225. package/fesm2022/acorex-components-tabs.mjs +30 -34
  226. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  227. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  228. package/fesm2022/acorex-components-text-box.mjs +4 -19
  229. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  230. package/fesm2022/acorex-components-toast.mjs +7 -28
  231. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  232. package/fesm2022/acorex-components-uploader.mjs +3 -11
  233. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  234. package/fesm2022/acorex-components-wysiwyg.mjs +183 -0
  235. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -0
  236. package/form/lib/validation-rule.directive.d.ts +1 -1
  237. package/package.json +55 -43
  238. package/uploader/lib/uploader-list.component.d.ts +1 -1
  239. package/wysiwyg/README.md +3 -0
  240. package/wysiwyg/index.d.ts +4 -0
  241. package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +12 -0
  242. package/wysiwyg/lib/wysiwyg/wysiwyg-toolbar/wysiwyg-toolbar.component.d.ts +28 -0
  243. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +5 -0
  244. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +7 -0
  245. package/wysiwyg/lib/wysiwyg.module.d.ts +13 -0
@@ -142,11 +142,7 @@ const AX_PLACEMENT_MAP = {
142
142
  },
143
143
  'bottom-start': {
144
144
  origin: AX_PLACEMENT_BOTTOM_START,
145
- alts: [
146
- AX_PLACEMENT_BOTTOM_END,
147
- AX_PLACEMENT_TOP_START,
148
- AX_PLACEMENT_TOP_END,
149
- ],
145
+ alts: [AX_PLACEMENT_BOTTOM_END, AX_PLACEMENT_TOP_START, AX_PLACEMENT_TOP_END],
150
146
  },
151
147
  'bottom-end': {
152
148
  origin: AX_PLACEMENT_BOTTOM_END,
@@ -158,19 +154,11 @@ const AX_PLACEMENT_MAP = {
158
154
  },
159
155
  'end-top': {
160
156
  origin: AX_PLACEMENT_END_TOP,
161
- alts: [
162
- AX_PLACEMENT_END_BOTTOM,
163
- AX_PLACEMENT_START_TOP,
164
- AX_PLACEMENT_START_BOTTOM,
165
- ],
157
+ alts: [AX_PLACEMENT_END_BOTTOM, AX_PLACEMENT_START_TOP, AX_PLACEMENT_START_BOTTOM],
166
158
  },
167
159
  'end-bottom': {
168
160
  origin: AX_PLACEMENT_END_BOTTOM,
169
- alts: [
170
- AX_PLACEMENT_END_TOP,
171
- AX_PLACEMENT_START_BOTTOM,
172
- AX_PLACEMENT_START_TOP,
173
- ],
161
+ alts: [AX_PLACEMENT_END_TOP, AX_PLACEMENT_START_BOTTOM, AX_PLACEMENT_START_TOP],
174
162
  },
175
163
  start: {
176
164
  origin: AX_PLACEMENT_START,
@@ -178,19 +166,11 @@ const AX_PLACEMENT_MAP = {
178
166
  },
179
167
  'start-top': {
180
168
  origin: AX_PLACEMENT_START_TOP,
181
- alts: [
182
- AX_PLACEMENT_START_BOTTOM,
183
- AX_PLACEMENT_END_TOP,
184
- AX_PLACEMENT_END_BOTTOM,
185
- ],
169
+ alts: [AX_PLACEMENT_START_BOTTOM, AX_PLACEMENT_END_TOP, AX_PLACEMENT_END_BOTTOM],
186
170
  },
187
171
  'start-bottom': {
188
172
  origin: AX_PLACEMENT_START_BOTTOM,
189
- alts: [
190
- AX_PLACEMENT_START_TOP,
191
- AX_PLACEMENT_END_BOTTOM,
192
- AX_PLACEMENT_END_TOP,
193
- ],
173
+ alts: [AX_PLACEMENT_START_TOP, AX_PLACEMENT_END_BOTTOM, AX_PLACEMENT_END_TOP],
194
174
  },
195
175
  };
196
176
 
@@ -530,15 +510,7 @@ function convertArrayToDataSource(items, options = { key: 'id', pageSize: 100 })
530
510
  return new AXDataSource(config);
531
511
  }
532
512
 
533
- const AX_STYLE_COLOR_TYPES = [
534
- 'primary',
535
- 'secondary',
536
- 'success',
537
- 'warning',
538
- 'danger',
539
- 'info',
540
- 'ghost',
541
- ];
513
+ const AX_STYLE_COLOR_TYPES = ['primary', 'secondary', 'success', 'warning', 'danger', 'info', 'ghost'];
542
514
  const AX_LOCATIONS = [
543
515
  'bottom-start',
544
516
  'bottom-center',
@@ -569,16 +541,8 @@ class AXAutoFocusDirective {
569
541
  }, this.time);
570
542
  return;
571
543
  }
572
- const list = [
573
- 'button',
574
- 'input',
575
- '[href]',
576
- 'select',
577
- 'textarea',
578
- '[tabindex]',
579
- ].map((c) => c + ':not([tabindex="-1"])');
580
- const focusable = this.el.nativeElement.querySelector(list.join(', ')) ??
581
- this.el.nativeElement;
544
+ const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map((c) => c + ':not([tabindex="-1"])');
545
+ const focusable = this.el.nativeElement.querySelector(list.join(', ')) ?? this.el.nativeElement;
582
546
  const attr = document.createAttribute('autofocus');
583
547
  focusable.setAttributeNode(attr);
584
548
  const hasTabindex = focusable.hasAttribute('tabindex');
@@ -672,8 +636,7 @@ class AXHotkeyDirective {
672
636
  if (typeof this.axHotkey == 'string') {
673
637
  this._addDefaultAction(this.axHotkey);
674
638
  }
675
- else if (typeof this.axHotkey == 'object' &&
676
- !Array.isArray(this.axHotkey)) {
639
+ else if (typeof this.axHotkey == 'object' && !Array.isArray(this.axHotkey)) {
677
640
  this._addHotKeyAction([this.axHotkey]);
678
641
  }
679
642
  else if (Array.isArray(this.axHotkey)) {
@@ -762,8 +725,7 @@ class AXInfiniteScrollerDirective {
762
725
  scrollHeight: e.target.scrollHeight,
763
726
  scrollTop: e.target.scrollTop,
764
727
  clientHeight: e.target.clientHeight,
765
- })), pairwise(), filter$1((positions) => this.isUserScrollingDown(positions) &&
766
- this.isScrollExpectedPercent(positions[1])));
728
+ })), pairwise(), filter$1((positions) => this.isUserScrollingDown(positions) && this.isScrollExpectedPercent(positions[1])));
767
729
  }
768
730
  requestCallbackOnScroll() {
769
731
  this.requestOnScroll$ = this.userScrolledDown$;
@@ -797,10 +759,7 @@ class AXResponsiveDirective {
797
759
  for (const entry of entries) {
798
760
  if (entry.target) {
799
761
  const e = entry.target;
800
- const elements = [
801
- e,
802
- ...Array.from(e.querySelectorAll(`[class*='sm:']`)),
803
- ];
762
+ const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];
804
763
  elements
805
764
  .map((c) => ({
806
765
  element: c,
@@ -809,9 +768,7 @@ class AXResponsiveDirective {
809
768
  .map((c) => c.slice(3)),
810
769
  }))
811
770
  .forEach((c) => {
812
- e.clientWidth < 320
813
- ? c.element.classList.add(...c.classList)
814
- : c.element.classList.remove(...c.classList);
771
+ e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);
815
772
  });
816
773
  }
817
774
  }
@@ -832,31 +789,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
832
789
 
833
790
  class AXCommonModule {
834
791
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
835
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
836
- AXInfiniteScrollerDirective,
837
- AXAutoFocusDirective,
838
- AXHotkeyDirective], exports: [AXResponsiveDirective,
839
- AXInfiniteScrollerDirective,
840
- AXAutoFocusDirective,
841
- AXHotkeyDirective] }); }
792
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
842
793
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
843
794
  }
844
795
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXCommonModule, decorators: [{
845
796
  type: NgModule,
846
797
  args: [{
847
- declarations: [
848
- AXResponsiveDirective,
849
- AXInfiniteScrollerDirective,
850
- AXAutoFocusDirective,
851
- AXHotkeyDirective,
852
- ],
798
+ declarations: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
853
799
  imports: [],
854
- exports: [
855
- AXResponsiveDirective,
856
- AXInfiniteScrollerDirective,
857
- AXAutoFocusDirective,
858
- AXHotkeyDirective,
859
- ],
800
+ exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
860
801
  providers: [AXHotkeysService],
861
802
  }]
862
803
  }] });
@@ -1757,10 +1698,8 @@ class AXRippleDirective {
1757
1698
  exists.remove();
1758
1699
  this.el.nativeElement.style.overflow = 'hidden';
1759
1700
  const rect = element.getBoundingClientRect();
1760
- const x = Math.floor(((event.clientX - rect.left) / (rect.right - rect.left)) *
1761
- element.clientWidth);
1762
- const y = Math.floor(((event.clientY - rect.top) / (rect.bottom - rect.top)) *
1763
- element.clientHeight);
1701
+ const x = Math.floor(((event.clientX - rect.left) / (rect.right - rect.left)) * element.clientWidth);
1702
+ const y = Math.floor(((event.clientY - rect.top) / (rect.bottom - rect.top)) * element.clientHeight);
1764
1703
  const circle = document.createElement('span');
1765
1704
  const diameter = Math.max(element.clientWidth, element.clientHeight);
1766
1705
  const radius = diameter / 2;