@taiga-ui/addon-mobile 3.57.0 → 3.59.0-canary.1c24449

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 (406) hide show
  1. package/components/app-bar/app-bar-back.component.d.ts +1 -1
  2. package/components/app-bar/app-bar.component.d.ts +1 -1
  3. package/components/app-bar/app-bar.directive.d.ts +1 -1
  4. package/components/mobile-calendar/mobile-calendar.component.d.ts +1 -1
  5. package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +1 -1
  6. package/components/mobile-dialog/mobile-dialog.component.d.ts +1 -1
  7. package/components/mobile-dialog/mobile-dialog.options.d.ts +1 -1
  8. package/components/pull-to-refresh/loader-android/loader-android.component.d.ts +1 -1
  9. package/components/pull-to-refresh/loader-ios/loader-ios.component.d.ts +1 -1
  10. package/components/pull-to-refresh/pull-to-refresh.component.d.ts +1 -1
  11. package/components/sheet/components/sheet/sheet.component.d.ts +1 -1
  12. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +1 -1
  13. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +1 -1
  14. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +1 -1
  15. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +1 -1
  16. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +1 -1
  17. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +1 -1
  18. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +1 -1
  19. package/components/sheet/sheet.directive.d.ts +1 -1
  20. package/components/sheet-dialog/sheet-dialog.component.d.ts +1 -1
  21. package/components/sheet-dialog/sheet-dialog.directive.d.ts +1 -1
  22. package/components/sheet-dialog/sheet-dialog.options.d.ts +1 -1
  23. package/components/tab-bar/tab-bar-item.component.d.ts +1 -1
  24. package/components/tab-bar/tab-bar-item.directive.d.ts +1 -1
  25. package/components/tab-bar/tab-bar.component.d.ts +1 -1
  26. package/components/theme-android/theme-android.component.d.ts +1 -1
  27. package/components/theme-ios/theme-ios.component.d.ts +1 -1
  28. package/const/mobile-alert-options.d.ts +3 -3
  29. package/directives/elastic-sticky/elastic-sticky.directive.d.ts +1 -1
  30. package/directives/mobile-tabs/mobile-tabs.component.d.ts +1 -1
  31. package/directives/mobile-tabs/mobile-tabs.directive.d.ts +1 -1
  32. package/directives/ripple/ripple-styles.component.d.ts +1 -1
  33. package/directives/ripple/ripple.directive.d.ts +1 -1
  34. package/directives/sidebar/sidebar.component.d.ts +1 -1
  35. package/directives/sidebar/sidebar.directive.d.ts +1 -1
  36. package/directives/touchable/touchable.directive.d.ts +1 -1
  37. package/esm2020/components/app-bar/app-bar-back.component.mjs +11 -0
  38. package/esm2020/components/app-bar/app-bar.component.mjs +34 -0
  39. package/{esm2015/components/app-bar/app-bar.directive.js → esm2020/components/app-bar/app-bar.directive.mjs} +3 -3
  40. package/{esm2015/components/app-bar/app-bar.module.js → esm2020/components/app-bar/app-bar.module.mjs} +5 -5
  41. package/esm2020/components/mobile-calendar/mobile-calendar.component.mjs +302 -0
  42. package/{esm2015/components/mobile-calendar/mobile-calendar.module.js → esm2020/components/mobile-calendar/mobile-calendar.module.mjs} +14 -16
  43. package/esm2020/components/mobile-calendar-dialog/mobile-calendar-dialog.component.mjs +35 -0
  44. package/{esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js → esm2020/components/mobile-calendar-dialog/mobile-calendar-dialog.module.mjs} +6 -6
  45. package/esm2020/components/mobile-dialog/mobile-dialog.component.mjs +32 -0
  46. package/{esm2015/components/mobile-dialog/mobile-dialog.module.js → esm2020/components/mobile-dialog/mobile-dialog.module.mjs} +5 -5
  47. package/esm2020/components/mobile-dialog/mobile-dialog.service.mjs +29 -0
  48. package/esm2020/components/pull-to-refresh/loader-android/loader-android.component.mjs +55 -0
  49. package/esm2020/components/pull-to-refresh/loader-ios/loader-ios.component.mjs +44 -0
  50. package/{esm2015/components/pull-to-refresh/pull-to-refresh.component.js → esm2020/components/pull-to-refresh/pull-to-refresh.component.mjs} +7 -13
  51. package/{esm2015/components/pull-to-refresh/pull-to-refresh.module.js → esm2020/components/pull-to-refresh/pull-to-refresh.module.mjs} +5 -5
  52. package/esm2020/components/pull-to-refresh/pull-to-refresh.service.mjs +54 -0
  53. package/esm2020/components/sheet/components/sheet/sheet.component.mjs +121 -0
  54. package/{esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js → esm2020/components/sheet/components/sheet-bar/sheet-bar.component.mjs} +7 -12
  55. package/{esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js → esm2020/components/sheet/components/sheet-heading/sheet-heading.component.mjs} +5 -10
  56. package/esm2020/components/sheet/components/sheets-host/sheets-host.component.mjs +61 -0
  57. package/{esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js → esm2020/components/sheet/directives/sheet-close/sheet-close.directive.mjs} +5 -5
  58. package/{esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js → esm2020/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs} +3 -3
  59. package/{esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js → esm2020/components/sheet/directives/sheet-top/sheet-top.directive.mjs} +4 -4
  60. package/{esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js → esm2020/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs} +6 -8
  61. package/esm2020/components/sheet/sheet-options.mjs +21 -0
  62. package/esm2020/components/sheet/sheet.directive.mjs +49 -0
  63. package/{esm2015/components/sheet/sheet.module.js → esm2020/components/sheet/sheet.module.mjs} +10 -12
  64. package/esm2020/components/sheet/sheet.service.mjs +56 -0
  65. package/esm2020/components/sheet-dialog/sheet-dialog.component.mjs +132 -0
  66. package/{esm2015/components/sheet-dialog/sheet-dialog.directive.js → esm2020/components/sheet-dialog/sheet-dialog.directive.mjs} +3 -3
  67. package/{esm2015/components/sheet-dialog/sheet-dialog.module.js → esm2020/components/sheet-dialog/sheet-dialog.module.mjs} +5 -5
  68. package/{esm2015/components/sheet-dialog/sheet-dialog.service.js → esm2020/components/sheet-dialog/sheet-dialog.service.mjs} +8 -5
  69. package/esm2020/components/tab-bar/tab-bar-item.component.mjs +29 -0
  70. package/{esm2015/components/tab-bar/tab-bar-item.directive.js → esm2020/components/tab-bar/tab-bar-item.directive.mjs} +3 -3
  71. package/esm2020/components/tab-bar/tab-bar.component.mjs +47 -0
  72. package/{esm2015/components/tab-bar/tab-bar.module.js → esm2020/components/tab-bar/tab-bar.module.mjs} +5 -5
  73. package/{esm2015/components/theme-android/theme-android.component.js → esm2020/components/theme-android/theme-android.component.mjs} +5 -11
  74. package/{esm2015/components/theme-android/theme-android.module.js → esm2020/components/theme-android/theme-android.module.mjs} +4 -4
  75. package/esm2020/components/theme-ios/theme-ios.component.mjs +12 -0
  76. package/{esm2015/components/theme-ios/theme-ios.module.js → esm2020/components/theme-ios/theme-ios.module.mjs} +4 -4
  77. package/esm2020/const/mobile-alert-options.mjs +13 -0
  78. package/{esm2015/directives/elastic-sticky/elastic-sticky.directive.js → esm2020/directives/elastic-sticky/elastic-sticky.directive.mjs} +3 -3
  79. package/{esm2015/directives/elastic-sticky/elastic-sticky.module.js → esm2020/directives/elastic-sticky/elastic-sticky.module.mjs} +4 -4
  80. package/{esm2015/directives/elastic-sticky/elastic-sticky.service.js → esm2020/directives/elastic-sticky/elastic-sticky.service.mjs} +3 -3
  81. package/esm2020/directives/mobile-tabs/mobile-tabs.component.mjs +13 -0
  82. package/{esm2015/directives/mobile-tabs/mobile-tabs.directive.js → esm2020/directives/mobile-tabs/mobile-tabs.directive.mjs} +3 -3
  83. package/{esm2015/directives/mobile-tabs/mobile-tabs.module.js → esm2020/directives/mobile-tabs/mobile-tabs.module.mjs} +4 -4
  84. package/{esm2015/directives/ripple/ripple-styles.component.js → esm2020/directives/ripple/ripple-styles.component.mjs} +6 -12
  85. package/{esm2015/directives/ripple/ripple.directive.js → esm2020/directives/ripple/ripple.directive.mjs} +3 -3
  86. package/{esm2015/directives/ripple/ripple.module.js → esm2020/directives/ripple/ripple.module.mjs} +4 -4
  87. package/esm2020/directives/sidebar/sidebar.component.mjs +58 -0
  88. package/esm2020/directives/sidebar/sidebar.directive.mjs +72 -0
  89. package/{esm2015/directives/sidebar/sidebar.module.js → esm2020/directives/sidebar/sidebar.module.mjs} +5 -5
  90. package/esm2020/directives/touchable/touchable.directive.mjs +83 -0
  91. package/{esm2015/directives/touchable/touchable.module.js → esm2020/directives/touchable/touchable.module.mjs} +4 -4
  92. package/esm2020/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.mjs +34 -0
  93. package/{esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js → esm2020/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.mjs} +8 -10
  94. package/fesm2015/taiga-ui-addon-mobile-components-app-bar.mjs +104 -0
  95. package/fesm2015/taiga-ui-addon-mobile-components-app-bar.mjs.map +1 -0
  96. package/fesm2015/{taiga-ui-addon-mobile-components-mobile-calendar-dialog.js → taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs} +16 -19
  97. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs.map +1 -0
  98. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.mjs +540 -0
  99. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -0
  100. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.mjs +91 -0
  101. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -0
  102. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +258 -0
  103. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -0
  104. package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.mjs +215 -0
  105. package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -0
  106. package/fesm2015/taiga-ui-addon-mobile-components-sheet.mjs +688 -0
  107. package/fesm2015/taiga-ui-addon-mobile-components-sheet.mjs.map +1 -0
  108. package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.mjs +137 -0
  109. package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -0
  110. package/fesm2015/{taiga-ui-addon-mobile-components-theme-android.js → taiga-ui-addon-mobile-components-theme-android.mjs} +9 -15
  111. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.mjs.map +1 -0
  112. package/fesm2015/{taiga-ui-addon-mobile-components-theme-ios.js → taiga-ui-addon-mobile-components-theme-ios.mjs} +9 -15
  113. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.mjs.map +1 -0
  114. package/fesm2015/{taiga-ui-addon-mobile-components.js → taiga-ui-addon-mobile-components.mjs} +1 -1
  115. package/fesm2015/taiga-ui-addon-mobile-components.mjs.map +1 -0
  116. package/fesm2015/{taiga-ui-addon-mobile-const.js → taiga-ui-addon-mobile-const.mjs} +1 -1
  117. package/fesm2015/taiga-ui-addon-mobile-const.mjs.map +1 -0
  118. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +86 -0
  119. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -0
  120. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.mjs +87 -0
  121. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.mjs.map +1 -0
  122. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.mjs +137 -0
  123. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -0
  124. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.mjs +143 -0
  125. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -0
  126. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.mjs +105 -0
  127. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -0
  128. package/fesm2015/{taiga-ui-addon-mobile-directives.js → taiga-ui-addon-mobile-directives.mjs} +1 -1
  129. package/fesm2015/taiga-ui-addon-mobile-directives.mjs.map +1 -0
  130. package/fesm2015/taiga-ui-addon-mobile-interfaces.mjs +4 -0
  131. package/fesm2015/taiga-ui-addon-mobile-interfaces.mjs.map +1 -0
  132. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs +72 -0
  133. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs.map +1 -0
  134. package/fesm2015/{taiga-ui-addon-mobile-internal.js → taiga-ui-addon-mobile-internal.mjs} +1 -1
  135. package/fesm2015/taiga-ui-addon-mobile-internal.mjs.map +1 -0
  136. package/fesm2015/taiga-ui-addon-mobile-types.mjs +4 -0
  137. package/fesm2015/taiga-ui-addon-mobile-types.mjs.map +1 -0
  138. package/fesm2015/{taiga-ui-addon-mobile-utils.js → taiga-ui-addon-mobile-utils.mjs} +1 -1
  139. package/fesm2015/taiga-ui-addon-mobile-utils.mjs.map +1 -0
  140. package/fesm2015/{taiga-ui-addon-mobile.js → taiga-ui-addon-mobile.mjs} +1 -1
  141. package/fesm2015/taiga-ui-addon-mobile.mjs.map +1 -0
  142. package/{fesm2015/taiga-ui-addon-mobile-components-app-bar.js → fesm2020/taiga-ui-addon-mobile-components-app-bar.mjs} +18 -32
  143. package/fesm2020/taiga-ui-addon-mobile-components-app-bar.mjs.map +1 -0
  144. package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs +69 -0
  145. package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs.map +1 -0
  146. package/{fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js → fesm2020/taiga-ui-addon-mobile-components-mobile-calendar.mjs} +35 -49
  147. package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -0
  148. package/{fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js → fesm2020/taiga-ui-addon-mobile-components-mobile-dialog.mjs} +22 -25
  149. package/fesm2020/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -0
  150. package/{fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js → fesm2020/taiga-ui-addon-mobile-components-pull-to-refresh.mjs} +24 -40
  151. package/fesm2020/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -0
  152. package/{fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js → fesm2020/taiga-ui-addon-mobile-components-sheet-dialog.mjs} +25 -31
  153. package/fesm2020/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -0
  154. package/{fesm2015/taiga-ui-addon-mobile-components-sheet.js → fesm2020/taiga-ui-addon-mobile-components-sheet.mjs} +85 -106
  155. package/fesm2020/taiga-ui-addon-mobile-components-sheet.mjs.map +1 -0
  156. package/{fesm2015/taiga-ui-addon-mobile-components-tab-bar.js → fesm2020/taiga-ui-addon-mobile-components-tab-bar.mjs} +18 -29
  157. package/fesm2020/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -0
  158. package/fesm2020/taiga-ui-addon-mobile-components-theme-android.mjs +32 -0
  159. package/fesm2020/taiga-ui-addon-mobile-components-theme-android.mjs.map +1 -0
  160. package/fesm2020/taiga-ui-addon-mobile-components-theme-ios.mjs +32 -0
  161. package/fesm2020/taiga-ui-addon-mobile-components-theme-ios.mjs.map +1 -0
  162. package/fesm2020/taiga-ui-addon-mobile-components.mjs +15 -0
  163. package/fesm2020/taiga-ui-addon-mobile-components.mjs.map +1 -0
  164. package/fesm2020/taiga-ui-addon-mobile-const.mjs +19 -0
  165. package/fesm2020/taiga-ui-addon-mobile-const.mjs.map +1 -0
  166. package/{fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js → fesm2020/taiga-ui-addon-mobile-directives-elastic-sticky.mjs} +11 -11
  167. package/fesm2020/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -0
  168. package/fesm2020/taiga-ui-addon-mobile-directives-mobile-tabs.mjs +85 -0
  169. package/fesm2020/taiga-ui-addon-mobile-directives-mobile-tabs.mjs.map +1 -0
  170. package/{fesm2015/taiga-ui-addon-mobile-directives-ripple.js → fesm2020/taiga-ui-addon-mobile-directives-ripple.mjs} +13 -19
  171. package/fesm2020/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -0
  172. package/{fesm2015/taiga-ui-addon-mobile-directives-sidebar.js → fesm2020/taiga-ui-addon-mobile-directives-sidebar.mjs} +28 -28
  173. package/fesm2020/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -0
  174. package/{fesm2015/taiga-ui-addon-mobile-directives-touchable.js → fesm2020/taiga-ui-addon-mobile-directives-touchable.mjs} +9 -9
  175. package/fesm2020/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -0
  176. package/fesm2020/taiga-ui-addon-mobile-directives.mjs +10 -0
  177. package/fesm2020/taiga-ui-addon-mobile-directives.mjs.map +1 -0
  178. package/fesm2020/taiga-ui-addon-mobile-interfaces.mjs +4 -0
  179. package/fesm2020/taiga-ui-addon-mobile-interfaces.mjs.map +1 -0
  180. package/{fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js → fesm2020/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs} +13 -21
  181. package/fesm2020/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs.map +1 -0
  182. package/fesm2020/taiga-ui-addon-mobile-internal.mjs +6 -0
  183. package/fesm2020/taiga-ui-addon-mobile-internal.mjs.map +1 -0
  184. package/fesm2020/taiga-ui-addon-mobile-types.mjs +4 -0
  185. package/fesm2020/taiga-ui-addon-mobile-types.mjs.map +1 -0
  186. package/fesm2020/taiga-ui-addon-mobile-utils.mjs +16 -0
  187. package/fesm2020/taiga-ui-addon-mobile-utils.mjs.map +1 -0
  188. package/fesm2020/taiga-ui-addon-mobile.mjs +11 -0
  189. package/fesm2020/taiga-ui-addon-mobile.mjs.map +1 -0
  190. package/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.d.ts +1 -1
  191. package/package.json +229 -32
  192. package/styles/android/checkbox.less +1 -2
  193. package/styles/android/radio.less +2 -2
  194. package/styles/common/badge.less +3 -3
  195. package/styles/ios/checkbox.less +2 -2
  196. package/types/touch-mode.d.ts +1 -1
  197. package/bundles/taiga-ui-addon-mobile-components-app-bar.umd.js +0 -149
  198. package/bundles/taiga-ui-addon-mobile-components-app-bar.umd.js.map +0 -1
  199. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +0 -129
  200. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +0 -1
  201. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +0 -929
  202. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +0 -1
  203. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +0 -450
  204. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +0 -1
  205. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +0 -677
  206. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +0 -1
  207. package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js +0 -596
  208. package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js.map +0 -1
  209. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +0 -1153
  210. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +0 -1
  211. package/bundles/taiga-ui-addon-mobile-components-tab-bar.umd.js +0 -188
  212. package/bundles/taiga-ui-addon-mobile-components-tab-bar.umd.js.map +0 -1
  213. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +0 -391
  214. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +0 -1
  215. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +0 -391
  216. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +0 -1
  217. package/bundles/taiga-ui-addon-mobile-components.umd.js +0 -75
  218. package/bundles/taiga-ui-addon-mobile-components.umd.js.map +0 -1
  219. package/bundles/taiga-ui-addon-mobile-const.umd.js +0 -24
  220. package/bundles/taiga-ui-addon-mobile-const.umd.js.map +0 -1
  221. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +0 -437
  222. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +0 -1
  223. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +0 -131
  224. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +0 -1
  225. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +0 -195
  226. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +0 -1
  227. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +0 -524
  228. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +0 -1
  229. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +0 -144
  230. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +0 -1
  231. package/bundles/taiga-ui-addon-mobile-directives.umd.js +0 -45
  232. package/bundles/taiga-ui-addon-mobile-directives.umd.js.map +0 -1
  233. package/bundles/taiga-ui-addon-mobile-interfaces.umd.js +0 -11
  234. package/bundles/taiga-ui-addon-mobile-interfaces.umd.js.map +0 -1
  235. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +0 -429
  236. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +0 -1
  237. package/bundles/taiga-ui-addon-mobile-internal.umd.js +0 -21
  238. package/bundles/taiga-ui-addon-mobile-internal.umd.js.map +0 -1
  239. package/bundles/taiga-ui-addon-mobile-types.umd.js +0 -11
  240. package/bundles/taiga-ui-addon-mobile-types.umd.js.map +0 -1
  241. package/bundles/taiga-ui-addon-mobile-utils.umd.js +0 -26
  242. package/bundles/taiga-ui-addon-mobile-utils.umd.js.map +0 -1
  243. package/bundles/taiga-ui-addon-mobile.umd.js +0 -51
  244. package/bundles/taiga-ui-addon-mobile.umd.js.map +0 -1
  245. package/components/app-bar/package.json +0 -10
  246. package/components/app-bar/taiga-ui-addon-mobile-components-app-bar.d.ts +0 -5
  247. package/components/mobile-calendar/package.json +0 -10
  248. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.d.ts +0 -5
  249. package/components/mobile-calendar-dialog/package.json +0 -10
  250. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.d.ts +0 -5
  251. package/components/mobile-dialog/package.json +0 -10
  252. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.d.ts +0 -5
  253. package/components/package.json +0 -10
  254. package/components/pull-to-refresh/package.json +0 -10
  255. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.d.ts +0 -5
  256. package/components/sheet/package.json +0 -10
  257. package/components/sheet/taiga-ui-addon-mobile-components-sheet.d.ts +0 -5
  258. package/components/sheet-dialog/package.json +0 -10
  259. package/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.d.ts +0 -5
  260. package/components/tab-bar/package.json +0 -10
  261. package/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.d.ts +0 -5
  262. package/components/taiga-ui-addon-mobile-components.d.ts +0 -5
  263. package/components/theme-android/package.json +0 -10
  264. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.d.ts +0 -5
  265. package/components/theme-ios/package.json +0 -10
  266. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.d.ts +0 -5
  267. package/const/package.json +0 -10
  268. package/const/taiga-ui-addon-mobile-const.d.ts +0 -5
  269. package/directives/elastic-sticky/package.json +0 -10
  270. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.d.ts +0 -5
  271. package/directives/mobile-tabs/package.json +0 -10
  272. package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.d.ts +0 -5
  273. package/directives/package.json +0 -10
  274. package/directives/ripple/package.json +0 -10
  275. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.d.ts +0 -5
  276. package/directives/sidebar/package.json +0 -10
  277. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.d.ts +0 -5
  278. package/directives/taiga-ui-addon-mobile-directives.d.ts +0 -5
  279. package/directives/touchable/package.json +0 -10
  280. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.d.ts +0 -5
  281. package/esm2015/components/app-bar/app-bar-back.component.js +0 -16
  282. package/esm2015/components/app-bar/app-bar.component.js +0 -43
  283. package/esm2015/components/mobile-calendar/mobile-calendar.component.js +0 -314
  284. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +0 -45
  285. package/esm2015/components/mobile-dialog/mobile-dialog.component.js +0 -38
  286. package/esm2015/components/mobile-dialog/mobile-dialog.service.js +0 -26
  287. package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +0 -60
  288. package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +0 -49
  289. package/esm2015/components/pull-to-refresh/pull-to-refresh.service.js +0 -54
  290. package/esm2015/components/sheet/components/sheet/sheet.component.js +0 -128
  291. package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +0 -68
  292. package/esm2015/components/sheet/sheet-options.js +0 -19
  293. package/esm2015/components/sheet/sheet.directive.js +0 -49
  294. package/esm2015/components/sheet/sheet.service.js +0 -51
  295. package/esm2015/components/sheet-dialog/sheet-dialog.component.js +0 -141
  296. package/esm2015/components/tab-bar/tab-bar-item.component.js +0 -35
  297. package/esm2015/components/tab-bar/tab-bar.component.js +0 -52
  298. package/esm2015/components/theme-ios/theme-ios.component.js +0 -18
  299. package/esm2015/const/mobile-alert-options.js +0 -7
  300. package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +0 -19
  301. package/esm2015/directives/sidebar/sidebar.component.js +0 -58
  302. package/esm2015/directives/sidebar/sidebar.directive.js +0 -72
  303. package/esm2015/directives/touchable/touchable.directive.js +0 -83
  304. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +0 -40
  305. package/fesm2015/taiga-ui-addon-mobile-components-app-bar.js.map +0 -1
  306. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +0 -1
  307. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +0 -1
  308. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +0 -1
  309. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +0 -1
  310. package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js.map +0 -1
  311. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +0 -1
  312. package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.js.map +0 -1
  313. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +0 -1
  314. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +0 -1
  315. package/fesm2015/taiga-ui-addon-mobile-components.js.map +0 -1
  316. package/fesm2015/taiga-ui-addon-mobile-const.js.map +0 -1
  317. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +0 -1
  318. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -91
  319. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +0 -1
  320. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +0 -1
  321. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +0 -1
  322. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +0 -1
  323. package/fesm2015/taiga-ui-addon-mobile-directives.js.map +0 -1
  324. package/fesm2015/taiga-ui-addon-mobile-interfaces.js +0 -4
  325. package/fesm2015/taiga-ui-addon-mobile-interfaces.js.map +0 -1
  326. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +0 -1
  327. package/fesm2015/taiga-ui-addon-mobile-internal.js.map +0 -1
  328. package/fesm2015/taiga-ui-addon-mobile-types.js +0 -4
  329. package/fesm2015/taiga-ui-addon-mobile-types.js.map +0 -1
  330. package/fesm2015/taiga-ui-addon-mobile-utils.js.map +0 -1
  331. package/fesm2015/taiga-ui-addon-mobile.js.map +0 -1
  332. package/interfaces/package.json +0 -10
  333. package/interfaces/taiga-ui-addon-mobile-interfaces.d.ts +0 -5
  334. package/internal/package.json +0 -10
  335. package/internal/primitive-calendar-mobile/package.json +0 -10
  336. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.d.ts +0 -5
  337. package/internal/taiga-ui-addon-mobile-internal.d.ts +0 -5
  338. package/taiga-ui-addon-mobile.d.ts +0 -5
  339. package/types/package.json +0 -10
  340. package/types/taiga-ui-addon-mobile-types.d.ts +0 -5
  341. package/utils/package.json +0 -10
  342. package/utils/taiga-ui-addon-mobile-utils.d.ts +0 -5
  343. /package/{esm2015/components/app-bar/app-bar.providers.js → esm2020/components/app-bar/app-bar.providers.mjs} +0 -0
  344. /package/{esm2015/components/app-bar/index.js → esm2020/components/app-bar/index.mjs} +0 -0
  345. /package/{esm2015/components/app-bar/taiga-ui-addon-mobile-components-app-bar.js → esm2020/components/app-bar/taiga-ui-addon-mobile-components-app-bar.mjs} +0 -0
  346. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  347. /package/{esm2015/components/mobile-calendar/index.js → esm2020/components/mobile-calendar/index.mjs} +0 -0
  348. /package/{esm2015/components/mobile-calendar/mobile-calendar.const.js → esm2020/components/mobile-calendar/mobile-calendar.const.mjs} +0 -0
  349. /package/{esm2015/components/mobile-calendar/mobile-calendar.providers.js → esm2020/components/mobile-calendar/mobile-calendar.providers.mjs} +0 -0
  350. /package/{esm2015/components/mobile-calendar/mobile-calendar.strategy.js → esm2020/components/mobile-calendar/mobile-calendar.strategy.mjs} +0 -0
  351. /package/{esm2015/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js → esm2020/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs} +0 -0
  352. /package/{esm2015/components/mobile-calendar-dialog/index.js → esm2020/components/mobile-calendar-dialog/index.mjs} +0 -0
  353. /package/{esm2015/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js → esm2020/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs} +0 -0
  354. /package/{esm2015/components/mobile-dialog/index.js → esm2020/components/mobile-dialog/index.mjs} +0 -0
  355. /package/{esm2015/components/mobile-dialog/mobile-dialog-options.js → esm2020/components/mobile-dialog/mobile-dialog-options.mjs} +0 -0
  356. /package/{esm2015/components/mobile-dialog/mobile-dialog.options.js → esm2020/components/mobile-dialog/mobile-dialog.options.mjs} +0 -0
  357. /package/{esm2015/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js → esm2020/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs} +0 -0
  358. /package/{esm2015/components/pull-to-refresh/index.js → esm2020/components/pull-to-refresh/index.mjs} +0 -0
  359. /package/{esm2015/components/pull-to-refresh/pull-to-refresh.providers.js → esm2020/components/pull-to-refresh/pull-to-refresh.providers.mjs} +0 -0
  360. /package/{esm2015/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js → esm2020/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs} +0 -0
  361. /package/{esm2015/components/sheet/components/sheet/sheet.providers.js → esm2020/components/sheet/components/sheet/sheet.providers.mjs} +0 -0
  362. /package/{esm2015/components/sheet/index.js → esm2020/components/sheet/index.mjs} +0 -0
  363. /package/{esm2015/components/sheet/ios.hacks.js → esm2020/components/sheet/ios.hacks.mjs} +0 -0
  364. /package/{esm2015/components/sheet/sheet-tokens.js → esm2020/components/sheet/sheet-tokens.mjs} +0 -0
  365. /package/{esm2015/components/sheet/sheet.js → esm2020/components/sheet/sheet.mjs} +0 -0
  366. /package/{esm2015/components/sheet/taiga-ui-addon-mobile-components-sheet.js → esm2020/components/sheet/taiga-ui-addon-mobile-components-sheet.mjs} +0 -0
  367. /package/{esm2015/components/sheet-dialog/index.js → esm2020/components/sheet-dialog/index.mjs} +0 -0
  368. /package/{esm2015/components/sheet-dialog/sheet-dialog.options.js → esm2020/components/sheet-dialog/sheet-dialog.options.mjs} +0 -0
  369. /package/{esm2015/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.js → esm2020/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs} +0 -0
  370. /package/{esm2015/components/tab-bar/index.js → esm2020/components/tab-bar/index.mjs} +0 -0
  371. /package/{esm2015/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.js → esm2020/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs} +0 -0
  372. /package/{esm2015/components/taiga-ui-addon-mobile-components.js → esm2020/components/taiga-ui-addon-mobile-components.mjs} +0 -0
  373. /package/{esm2015/components/theme-android/index.js → esm2020/components/theme-android/index.mjs} +0 -0
  374. /package/{esm2015/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js → esm2020/components/theme-android/taiga-ui-addon-mobile-components-theme-android.mjs} +0 -0
  375. /package/{esm2015/components/theme-ios/index.js → esm2020/components/theme-ios/index.mjs} +0 -0
  376. /package/{esm2015/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js → esm2020/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.mjs} +0 -0
  377. /package/{esm2015/const/index.js → esm2020/const/index.mjs} +0 -0
  378. /package/{esm2015/const/taiga-ui-addon-mobile-const.js → esm2020/const/taiga-ui-addon-mobile-const.mjs} +0 -0
  379. /package/{esm2015/directives/elastic-sticky/index.js → esm2020/directives/elastic-sticky/index.mjs} +0 -0
  380. /package/{esm2015/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js → esm2020/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs} +0 -0
  381. /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
  382. /package/{esm2015/directives/mobile-tabs/index.js → esm2020/directives/mobile-tabs/index.mjs} +0 -0
  383. /package/{esm2015/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js → esm2020/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.mjs} +0 -0
  384. /package/{esm2015/directives/ripple/index.js → esm2020/directives/ripple/index.mjs} +0 -0
  385. /package/{esm2015/directives/ripple/ripple.providers.js → esm2020/directives/ripple/ripple.providers.mjs} +0 -0
  386. /package/{esm2015/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js → esm2020/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs} +0 -0
  387. /package/{esm2015/directives/sidebar/index.js → esm2020/directives/sidebar/index.mjs} +0 -0
  388. /package/{esm2015/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js → esm2020/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs} +0 -0
  389. /package/{esm2015/directives/taiga-ui-addon-mobile-directives.js → esm2020/directives/taiga-ui-addon-mobile-directives.mjs} +0 -0
  390. /package/{esm2015/directives/touchable/index.js → esm2020/directives/touchable/index.mjs} +0 -0
  391. /package/{esm2015/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js → esm2020/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs} +0 -0
  392. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  393. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  394. /package/{esm2015/interfaces/mobile-alert-data.js → esm2020/interfaces/mobile-alert-data.mjs} +0 -0
  395. /package/{esm2015/interfaces/taiga-ui-addon-mobile-interfaces.js → esm2020/interfaces/taiga-ui-addon-mobile-interfaces.mjs} +0 -0
  396. /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
  397. /package/{esm2015/internal/primitive-calendar-mobile/index.js → esm2020/internal/primitive-calendar-mobile/index.mjs} +0 -0
  398. /package/{esm2015/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js → esm2020/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs} +0 -0
  399. /package/{esm2015/internal/taiga-ui-addon-mobile-internal.js → esm2020/internal/taiga-ui-addon-mobile-internal.mjs} +0 -0
  400. /package/{esm2015/taiga-ui-addon-mobile.js → esm2020/taiga-ui-addon-mobile.mjs} +0 -0
  401. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  402. /package/{esm2015/types/taiga-ui-addon-mobile-types.js → esm2020/types/taiga-ui-addon-mobile-types.mjs} +0 -0
  403. /package/{esm2015/types/touch-mode.js → esm2020/types/touch-mode.mjs} +0 -0
  404. /package/{esm2015/utils/find-touch-index.js → esm2020/utils/find-touch-index.mjs} +0 -0
  405. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  406. /package/{esm2015/utils/taiga-ui-addon-mobile-utils.js → esm2020/utils/taiga-ui-addon-mobile-utils.mjs} +0 -0
@@ -0,0 +1,104 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Inject, ViewChildren, Directive, Input, NgModule } from '@angular/core';
3
+ import { MutationObserverService, MUTATION_OBSERVER_INIT } from '@ng-web-apis/mutation-observer';
4
+ import { TuiDestroyService, TuiResizeService, EMPTY_QUERY } from '@taiga-ui/cdk';
5
+ import * as i2 from 'rxjs';
6
+ import { merge } from 'rxjs';
7
+ import { map } from 'rxjs/operators';
8
+ import { tuiButtonOptionsProvider, TuiSvgModule } from '@taiga-ui/core';
9
+ import * as i1 from '@angular/common';
10
+ import { CommonModule } from '@angular/common';
11
+
12
+ const TUI_APP_BAR_PROVIDERS = [
13
+ TuiDestroyService,
14
+ TuiResizeService,
15
+ MutationObserverService,
16
+ {
17
+ provide: MUTATION_OBSERVER_INIT,
18
+ useValue: {
19
+ characterData: true,
20
+ childList: true,
21
+ subtree: true,
22
+ },
23
+ },
24
+ tuiButtonOptionsProvider({
25
+ size: `m`,
26
+ appearance: ``,
27
+ }),
28
+ ];
29
+
30
+ class TuiAppBarComponent {
31
+ constructor(resize$, mutation$) {
32
+ this.resize$ = resize$;
33
+ this.mutation$ = mutation$;
34
+ this.side = EMPTY_QUERY;
35
+ this.width$ = merge(this.resize$, this.mutation$).pipe(map(() => {
36
+ var _a, _b;
37
+ return 2 *
38
+ Math.max((_a = this.side.first) === null || _a === void 0 ? void 0 : _a.nativeElement.clientWidth, (_b = this.side.last) === null || _b === void 0 ? void 0 : _b.nativeElement.clientWidth);
39
+ }));
40
+ }
41
+ }
42
+ TuiAppBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarComponent, deps: [{ token: TuiResizeService }, { token: MutationObserverService }], target: i0.ɵɵFactoryTarget.Component });
43
+ TuiAppBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiAppBarComponent, selector: "tui-app-bar", providers: TUI_APP_BAR_PROVIDERS, viewQueries: [{ propertyName: "side", predicate: ["side"], descendants: true }], ngImport: i0, template: "<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n", styles: [":host{--tui-padding: .625rem;position:relative;display:flex;height:3rem;align-items:center;justify-content:space-between;border:solid transparent;border-width:0 .375rem;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;color:var(--tui-text-01);background:var(--tui-base-01)}:host ::ng-deep [tuiButton][data-size=m]{font-weight:400}.t-content{top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:absolute;max-width:calc(100% - var(--sides, 0px));flex:1;padding:0 .375rem;box-sizing:border-box;text-align:center;color:var(--tui-text-01)}\n"], dependencies: [{ kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarComponent, decorators: [{
45
+ type: Component,
46
+ args: [{ selector: 'tui-app-bar', changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_APP_BAR_PROVIDERS, template: "<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n", styles: [":host{--tui-padding: .625rem;position:relative;display:flex;height:3rem;align-items:center;justify-content:space-between;border:solid transparent;border-width:0 .375rem;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:700;color:var(--tui-text-01);background:var(--tui-base-01)}:host ::ng-deep [tuiButton][data-size=m]{font-weight:400}.t-content{top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:absolute;max-width:calc(100% - var(--sides, 0px));flex:1;padding:0 .375rem;box-sizing:border-box;text-align:center;color:var(--tui-text-01)}\n"] }]
47
+ }], ctorParameters: function () {
48
+ return [{ type: i2.Observable, decorators: [{
49
+ type: Inject,
50
+ args: [TuiResizeService]
51
+ }] }, { type: i2.Observable, decorators: [{
52
+ type: Inject,
53
+ args: [MutationObserverService]
54
+ }] }];
55
+ }, propDecorators: { side: [{
56
+ type: ViewChildren,
57
+ args: ['side']
58
+ }] } });
59
+
60
+ class TuiAppBarDirective {
61
+ constructor() {
62
+ this.tuiSlot = 'left';
63
+ }
64
+ }
65
+ TuiAppBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
66
+ TuiAppBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiAppBarDirective, selector: "[tuiSlot]", inputs: { tuiSlot: "tuiSlot" }, ngImport: i0 });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarDirective, decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ selector: '[tuiSlot]',
71
+ }]
72
+ }], propDecorators: { tuiSlot: [{
73
+ type: Input
74
+ }] } });
75
+
76
+ class TuiAppBarBackComponent {
77
+ }
78
+ TuiAppBarBackComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarBackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
79
+ TuiAppBarBackComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiAppBarBackComponent, selector: "button[tuiAppBarBack], a[tuiAppBarBack]", ngImport: i0, template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 .625rem 0 .125rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarBackComponent, decorators: [{
81
+ type: Component,
82
+ args: [{ selector: 'button[tuiAppBarBack], a[tuiAppBarBack]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 .625rem 0 .125rem}\n"] }]
83
+ }] });
84
+
85
+ class TuiAppBarModule {
86
+ }
87
+ TuiAppBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
88
+ TuiAppBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarModule, declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent], imports: [CommonModule, TuiSvgModule], exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent] });
89
+ TuiAppBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarModule, imports: [CommonModule, TuiSvgModule] });
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiAppBarModule, decorators: [{
91
+ type: NgModule,
92
+ args: [{
93
+ imports: [CommonModule, TuiSvgModule],
94
+ declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],
95
+ exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],
96
+ }]
97
+ }] });
98
+
99
+ /**
100
+ * Generated bundle index. Do not edit.
101
+ */
102
+
103
+ export { TUI_APP_BAR_PROVIDERS, TuiAppBarBackComponent, TuiAppBarComponent, TuiAppBarDirective, TuiAppBarModule };
104
+ //# sourceMappingURL=taiga-ui-addon-mobile-components-app-bar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-addon-mobile-components-app-bar.mjs","sources":["../../../projects/addon-mobile/components/app-bar/app-bar.providers.ts","../../../projects/addon-mobile/components/app-bar/app-bar.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.directive.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.module.ts","../../../projects/addon-mobile/components/app-bar/taiga-ui-addon-mobile-components-app-bar.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n size: `m`,\n appearance: ``,\n }),\n];\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {EMPTY_QUERY, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_APP_BAR_PROVIDERS} from './app-bar.providers';\n\n@Component({\n selector: 'tui-app-bar',\n templateUrl: './app-bar.template.html',\n styleUrls: ['./app-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_APP_BAR_PROVIDERS,\n})\nexport class TuiAppBarComponent {\n @ViewChildren('side')\n private readonly side: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n readonly width$ = merge(this.resize$, this.mutation$).pipe(\n map(\n () =>\n 2 *\n Math.max(\n this.side.first?.nativeElement.clientWidth,\n this.side.last?.nativeElement.clientWidth,\n ),\n ),\n );\n\n constructor(\n @Inject(TuiResizeService) private readonly resize$: Observable<unknown>,\n @Inject(MutationObserverService) private readonly mutation$: Observable<unknown>,\n ) {}\n}\n","<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n","import {Directive, Input} from '@angular/core';\n\n@Directive({\n selector: '[tuiSlot]',\n})\nexport class TuiAppBarDirective {\n @Input()\n tuiSlot: string | 'left' | 'right' = 'left';\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',\n templateUrl: './app-bar-back.template.html',\n styleUrls: ['./app-bar-back.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAppBarBackComponent {}\n","<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiAppBarComponent} from './app-bar.component';\nimport {TuiAppBarDirective} from './app-bar.directive';\nimport {TuiAppBarBackComponent} from './app-bar-back.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n})\nexport class TuiAppBarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAQa,MAAA,qBAAqB,GAAe;IAC7C,iBAAiB;IACjB,gBAAgB;IAChB,uBAAuB;AACvB,IAAA;AACI,QAAA,OAAO,EAAE,sBAAsB;AAC/B,QAAA,QAAQ,EAAE;AACN,YAAA,aAAa,EAAE,IAAI;AACnB,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,OAAO,EAAE,IAAI;AAChB,SAAA;AACJ,KAAA;AACD,IAAA,wBAAwB,CAAC;AACrB,QAAA,IAAI,EAAE,CAAG,CAAA,CAAA;AACT,QAAA,UAAU,EAAE,CAAE,CAAA;KACjB,CAAC;;;MCDO,kBAAkB,CAAA;IAe3B,WAC+C,CAAA,OAA4B,EACrB,SAA8B,EAAA;AADrC,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;AACrB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;AAfnE,QAAA,IAAI,CAAA,IAAA,GAAuC,WAAW,CAAC;AAE/D,QAAA,IAAA,C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;kBANlC,SAAS;+BACI,yCAAyC,EAAA,eAAA,EAGlC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,ihBAAA,EAAA,MAAA,EAAA,CAAA,iOAAA,CAAA,EAAA,CAAA;;;MEOtC,eAAe,CAAA;;6GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAHT,YAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CADnE,YAAY,EAAE,YAAY,CAE1B,EAAA,OAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;8GAE/D,eAAe,EAAA,OAAA,EAAA,CAJd,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;4FAI3B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;AAC9E,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;iBAC5E,CAAA;;;ACZD;;AAEG;;;;"}
@@ -31,32 +31,29 @@ class TuiMobileCalendarDialogComponent {
31
31
  return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.disabledItemHandler) || ALWAYS_FALSE_HANDLER;
32
32
  }
33
33
  }
34
- TuiMobileCalendarDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogComponent, deps: [{ token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
35
- TuiMobileCalendarDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMobileCalendarDialogComponent, selector: "tui-mobile-calendar-dialog", ngImport: i0, template: "<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n", styles: [":host{display:block;height:100vh;margin:-1.5rem -1.5rem -2rem}\n"], components: [{ type: i1.TuiMobileCalendarComponent, selector: "tui-mobile-calendar", inputs: ["single", "multi", "min", "max", "disabledItemHandler"], outputs: ["cancel", "confirm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogComponent, decorators: [{
34
+ TuiMobileCalendarDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogComponent, deps: [{ token: POLYMORPHEUS_CONTEXT }], target: i0.ɵɵFactoryTarget.Component });
35
+ TuiMobileCalendarDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiMobileCalendarDialogComponent, selector: "tui-mobile-calendar-dialog", ngImport: i0, template: "<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n", styles: [":host{display:block;height:100vh;margin:-1.5rem -1.5rem -2rem}\n"], dependencies: [{ kind: "component", type: i1.TuiMobileCalendarComponent, selector: "tui-mobile-calendar", inputs: ["single", "multi", "min", "max", "disabledItemHandler"], outputs: ["cancel", "confirm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogComponent, decorators: [{
37
37
  type: Component,
38
- args: [{
39
- selector: 'tui-mobile-calendar-dialog',
40
- templateUrl: './mobile-calendar-dialog.template.html',
41
- styleUrls: ['./mobile-calendar-dialog.style.less'],
42
- changeDetection: ChangeDetectionStrategy.OnPush,
43
- }]
44
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
45
- type: Inject,
46
- args: [POLYMORPHEUS_CONTEXT]
47
- }] }]; } });
38
+ args: [{ selector: 'tui-mobile-calendar-dialog', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n", styles: [":host{display:block;height:100vh;margin:-1.5rem -1.5rem -2rem}\n"] }]
39
+ }], ctorParameters: function () {
40
+ return [{ type: undefined, decorators: [{
41
+ type: Inject,
42
+ args: [POLYMORPHEUS_CONTEXT]
43
+ }] }];
44
+ } });
48
45
 
49
46
  class TuiMobileCalendarDialogModule {
50
47
  }
51
- TuiMobileCalendarDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
- TuiMobileCalendarDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogModule, declarations: [TuiMobileCalendarDialogComponent], imports: [TuiMobileCalendarModule], exports: [TuiMobileCalendarDialogComponent] });
53
- TuiMobileCalendarDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogModule, providers: [
48
+ TuiMobileCalendarDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ TuiMobileCalendarDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogModule, declarations: [TuiMobileCalendarDialogComponent], imports: [TuiMobileCalendarModule], exports: [TuiMobileCalendarDialogComponent] });
50
+ TuiMobileCalendarDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogModule, providers: [
54
51
  {
55
52
  provide: TUI_MOBILE_CALENDAR,
56
53
  useValue: TuiMobileCalendarDialogComponent,
57
54
  },
58
- ], imports: [[TuiMobileCalendarModule]] });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMobileCalendarDialogModule, decorators: [{
55
+ ], imports: [TuiMobileCalendarModule] });
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileCalendarDialogModule, decorators: [{
60
57
  type: NgModule,
61
58
  args: [{
62
59
  imports: [TuiMobileCalendarModule],
@@ -76,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
76
73
  */
77
74
 
78
75
  export { TuiMobileCalendarDialogComponent, TuiMobileCalendarDialogModule };
79
- //# sourceMappingURL=taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map
76
+ //# sourceMappingURL=taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs","sources":["../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.component.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.template.html","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.module.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiDialogContext} from '@taiga-ui/core';\nimport {TuiMobileCalendarData} from '@taiga-ui/kit';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-mobile-calendar-dialog',\n templateUrl: './mobile-calendar-dialog.template.html',\n styleUrls: ['./mobile-calendar-dialog.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMobileCalendarDialogComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialogContext<\n TuiDay | TuiDayRange | readonly TuiDay[],\n TuiMobileCalendarData | undefined\n >,\n ) {}\n\n get single(): boolean {\n return this.context.data?.single === true;\n }\n\n get multi(): boolean {\n return this.context.data?.multi === true;\n }\n\n get min(): TuiDay {\n return this.context.data?.min || TUI_FIRST_DAY;\n }\n\n get max(): TuiDay {\n return this.context.data?.max || TUI_LAST_DAY;\n }\n\n get disabledItemHandler(): TuiBooleanHandler<TuiDay> {\n return this.context.data?.disabledItemHandler || ALWAYS_FALSE_HANDLER;\n }\n}\n","<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n","import {NgModule} from '@angular/core';\nimport {TuiMobileCalendarModule} from '@taiga-ui/addon-mobile/components/mobile-calendar';\nimport {TUI_MOBILE_CALENDAR} from '@taiga-ui/kit';\n\nimport {TuiMobileCalendarDialogComponent} from './mobile-calendar-dialog.component';\n\n@NgModule({\n imports: [TuiMobileCalendarModule],\n declarations: [TuiMobileCalendarDialogComponent],\n providers: [\n {\n provide: TUI_MOBILE_CALENDAR,\n useValue: TuiMobileCalendarDialogComponent,\n },\n ],\n exports: [TuiMobileCalendarDialogComponent],\n})\nexport class TuiMobileCalendarDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAmBa,gCAAgC,CAAA;AACzC,IAAA,WAAA,CAEa,OAGR,EAAA;AAHQ,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAGf;KACD;AAEJ,IAAA,IAAI,MAAM,GAAA;;QACN,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,MAAM,MAAK,IAAI,CAAC;KAC7C;AAED,IAAA,IAAI,KAAK,GAAA;;QACL,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,KAAK,MAAK,IAAI,CAAC;KAC5C;AAED,IAAA,IAAI,GAAG,GAAA;;QACH,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAG,KAAI,aAAa,CAAC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