@taiga-ui/addon-mobile 2.55.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (508) hide show
  1. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +69 -283
  2. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +538 -406
  4. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +417 -294
  6. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +437 -324
  8. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +878 -688
  10. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +374 -265
  12. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +374 -265
  14. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-mobile-components.umd.js +17 -31
  16. package/bundles/taiga-ui-addon-mobile-components.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-mobile-const.umd.js +10 -255
  18. package/bundles/taiga-ui-addon-mobile-const.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +418 -305
  20. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +119 -325
  22. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +103 -314
  24. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
  25. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +435 -315
  26. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
  27. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +414 -298
  28. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +1 -1
  29. package/bundles/taiga-ui-addon-mobile-directives.umd.js +13 -23
  30. package/bundles/taiga-ui-addon-mobile-directives.umd.js.map +1 -1
  31. package/bundles/taiga-ui-addon-mobile-interfaces.umd.js +2 -2
  32. package/bundles/taiga-ui-addon-mobile-interfaces.umd.js.map +1 -1
  33. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +405 -282
  34. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
  35. package/bundles/taiga-ui-addon-mobile-internal.umd.js +5 -7
  36. package/bundles/taiga-ui-addon-mobile-internal.umd.js.map +1 -1
  37. package/bundles/taiga-ui-addon-mobile-tokens.umd.js +8 -4
  38. package/bundles/taiga-ui-addon-mobile-tokens.umd.js.map +1 -1
  39. package/bundles/taiga-ui-addon-mobile-types.umd.js +2 -2
  40. package/bundles/taiga-ui-addon-mobile-types.umd.js.map +1 -1
  41. package/bundles/taiga-ui-addon-mobile-utils.umd.js +8 -10
  42. package/bundles/taiga-ui-addon-mobile-utils.umd.js.map +1 -1
  43. package/bundles/taiga-ui-addon-mobile.umd.js +24 -30
  44. package/bundles/taiga-ui-addon-mobile.umd.js.map +1 -1
  45. package/components/mobile-calendar/mobile-calendar.component.d.ts +21 -2
  46. package/components/mobile-calendar/mobile-calendar.module.d.ts +12 -0
  47. package/components/mobile-calendar/package.json +2 -5
  48. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.d.ts +1 -0
  49. package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +3 -0
  50. package/components/mobile-calendar-dialog/mobile-calendar-dialog.module.d.ts +6 -2
  51. package/components/mobile-calendar-dialog/package.json +2 -5
  52. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.d.ts +1 -0
  53. package/components/mobile-dialog/mobile-dialog.component.d.ts +3 -0
  54. package/components/mobile-dialog/mobile-dialog.module.d.ts +9 -0
  55. package/components/mobile-dialog/mobile-dialog.service.d.ts +4 -1
  56. package/components/mobile-dialog/package.json +2 -5
  57. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.d.ts +1 -0
  58. package/components/package.json +2 -5
  59. package/components/pull-to-refresh/loader-android/loader-android.component.d.ts +3 -0
  60. package/components/pull-to-refresh/loader-ios/loader-ios.component.d.ts +3 -0
  61. package/components/pull-to-refresh/package.json +2 -5
  62. package/components/pull-to-refresh/pull-to-refresh.component.d.ts +3 -0
  63. package/components/pull-to-refresh/pull-to-refresh.module.d.ts +10 -0
  64. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.d.ts +1 -0
  65. package/components/sheet/components/sheet/sheet.component.d.ts +5 -2
  66. package/components/sheet/components/sheet/sheet.providers.d.ts +1 -5
  67. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +5 -2
  68. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +3 -0
  69. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +3 -0
  70. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +3 -0
  71. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +3 -0
  72. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +5 -2
  73. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +3 -0
  74. package/components/sheet/package.json +2 -5
  75. package/components/sheet/sheet-options.d.ts +1 -1
  76. package/components/sheet/sheet-tokens.d.ts +5 -0
  77. package/components/sheet/sheet.d.ts +4 -0
  78. package/components/sheet/sheet.directive.d.ts +3 -0
  79. package/components/sheet/sheet.module.d.ts +17 -0
  80. package/components/sheet/sheet.service.d.ts +3 -0
  81. package/components/sheet/taiga-ui-addon-mobile-components-sheet.d.ts +1 -0
  82. package/components/taiga-ui-addon-mobile-components.d.ts +1 -0
  83. package/components/theme-android/package.json +2 -5
  84. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.d.ts +1 -0
  85. package/components/theme-android/theme-android.component.d.ts +3 -0
  86. package/components/theme-android/theme-android.module.d.ts +5 -0
  87. package/components/theme-ios/package.json +2 -5
  88. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.d.ts +1 -0
  89. package/components/theme-ios/theme-ios.component.d.ts +3 -0
  90. package/components/theme-ios/theme-ios.module.d.ts +5 -0
  91. package/const/package.json +2 -5
  92. package/const/taiga-ui-addon-mobile-const.d.ts +1 -0
  93. package/directives/elastic-sticky/elastic-sticky.directive.d.ts +3 -0
  94. package/directives/elastic-sticky/elastic-sticky.module.d.ts +5 -0
  95. package/directives/elastic-sticky/elastic-sticky.service.d.ts +3 -0
  96. package/directives/elastic-sticky/package.json +2 -5
  97. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.d.ts +1 -0
  98. package/directives/mobile-tabs/mobile-tabs.component.d.ts +3 -0
  99. package/directives/mobile-tabs/mobile-tabs.directive.d.ts +3 -0
  100. package/directives/mobile-tabs/mobile-tabs.module.d.ts +6 -0
  101. package/directives/mobile-tabs/package.json +2 -5
  102. package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.d.ts +1 -0
  103. package/directives/package.json +2 -5
  104. package/directives/ripple/package.json +2 -5
  105. package/directives/ripple/ripple-styles.component.d.ts +3 -0
  106. package/directives/ripple/ripple.directive.d.ts +3 -0
  107. package/directives/ripple/ripple.module.d.ts +6 -0
  108. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.d.ts +1 -1
  109. package/directives/sidebar/package.json +2 -5
  110. package/directives/sidebar/sidebar.component.d.ts +3 -0
  111. package/directives/sidebar/sidebar.directive.d.ts +5 -2
  112. package/directives/sidebar/sidebar.module.d.ts +8 -0
  113. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.d.ts +1 -0
  114. package/directives/taiga-ui-addon-mobile-directives.d.ts +1 -0
  115. package/directives/touchable/package.json +2 -5
  116. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.d.ts +1 -0
  117. package/directives/touchable/touchable.directive.d.ts +6 -3
  118. package/directives/touchable/touchable.module.d.ts +5 -0
  119. package/esm2015/components/index.js +1 -1
  120. package/esm2015/components/mobile-calendar/index.js +1 -1
  121. package/esm2015/components/mobile-calendar/mobile-calendar.component.js +83 -63
  122. package/esm2015/components/mobile-calendar/mobile-calendar.const.js +1 -1
  123. package/esm2015/components/mobile-calendar/mobile-calendar.module.js +34 -13
  124. package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +2 -2
  125. package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +2 -2
  126. package/esm2015/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +1 -1
  127. package/esm2015/components/mobile-calendar-dialog/index.js +1 -1
  128. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +19 -17
  129. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +27 -21
  130. package/esm2015/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +1 -1
  131. package/esm2015/components/mobile-dialog/index.js +2 -1
  132. package/esm2015/components/mobile-dialog/mobile-dialog-options.js +2 -1
  133. package/esm2015/components/mobile-dialog/mobile-dialog.component.js +28 -22
  134. package/esm2015/components/mobile-dialog/mobile-dialog.module.js +29 -20
  135. package/esm2015/components/mobile-dialog/mobile-dialog.service.js +13 -14
  136. package/esm2015/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +1 -1
  137. package/esm2015/components/pull-to-refresh/index.js +1 -1
  138. package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +21 -19
  139. package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +19 -16
  140. package/esm2015/components/pull-to-refresh/pull-to-refresh.component.js +31 -24
  141. package/esm2015/components/pull-to-refresh/pull-to-refresh.module.js +21 -16
  142. package/esm2015/components/pull-to-refresh/pull-to-refresh.providers.js +3 -3
  143. package/esm2015/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -1
  144. package/esm2015/components/sheet/components/sheet/sheet.component.js +67 -55
  145. package/esm2015/components/sheet/components/sheet/sheet.providers.js +10 -10
  146. package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +29 -26
  147. package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +31 -25
  148. package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +33 -23
  149. package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +36 -29
  150. package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +33 -28
  151. package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +36 -31
  152. package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +38 -36
  153. package/esm2015/components/sheet/index.js +2 -1
  154. package/esm2015/components/sheet/ios.hacks.js +9 -9
  155. package/esm2015/components/sheet/sheet-options.js +5 -6
  156. package/esm2015/components/sheet/sheet-tokens.js +5 -0
  157. package/esm2015/components/sheet/sheet.directive.js +30 -23
  158. package/esm2015/components/sheet/sheet.js +2 -1
  159. package/esm2015/components/sheet/sheet.module.js +55 -29
  160. package/esm2015/components/sheet/sheet.service.js +14 -16
  161. package/esm2015/components/sheet/taiga-ui-addon-mobile-components-sheet.js +1 -1
  162. package/esm2015/components/taiga-ui-addon-mobile-components.js +1 -1
  163. package/esm2015/components/theme-android/index.js +1 -1
  164. package/esm2015/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +1 -1
  165. package/esm2015/components/theme-android/theme-android.component.js +16 -14
  166. package/esm2015/components/theme-android/theme-android.module.js +14 -11
  167. package/esm2015/components/theme-ios/index.js +1 -1
  168. package/esm2015/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +1 -1
  169. package/esm2015/components/theme-ios/theme-ios.component.js +16 -14
  170. package/esm2015/components/theme-ios/theme-ios.module.js +14 -11
  171. package/esm2015/const/index.js +1 -1
  172. package/esm2015/const/mobile-alert-options.js +2 -2
  173. package/esm2015/const/taiga-ui-addon-mobile-const.js +1 -1
  174. package/esm2015/directives/elastic-sticky/elastic-sticky.directive.js +20 -19
  175. package/esm2015/directives/elastic-sticky/elastic-sticky.module.js +14 -11
  176. package/esm2015/directives/elastic-sticky/elastic-sticky.service.js +29 -24
  177. package/esm2015/directives/elastic-sticky/index.js +1 -1
  178. package/esm2015/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +1 -1
  179. package/esm2015/directives/index.js +1 -1
  180. package/esm2015/directives/mobile-tabs/index.js +1 -1
  181. package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +14 -12
  182. package/esm2015/directives/mobile-tabs/mobile-tabs.directive.js +38 -29
  183. package/esm2015/directives/mobile-tabs/mobile-tabs.module.js +15 -12
  184. package/esm2015/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +1 -1
  185. package/esm2015/directives/ripple/index.js +1 -1
  186. package/esm2015/directives/ripple/ripple-styles.component.js +14 -12
  187. package/esm2015/directives/ripple/ripple.directive.js +41 -34
  188. package/esm2015/directives/ripple/ripple.module.js +15 -12
  189. package/esm2015/directives/ripple/ripple.providers.js +10 -10
  190. package/esm2015/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +1 -2
  191. package/esm2015/directives/sidebar/index.js +1 -1
  192. package/esm2015/directives/sidebar/sidebar.component.js +34 -29
  193. package/esm2015/directives/sidebar/sidebar.directive.js +39 -34
  194. package/esm2015/directives/sidebar/sidebar.module.js +16 -13
  195. package/esm2015/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +1 -1
  196. package/esm2015/directives/taiga-ui-addon-mobile-directives.js +1 -1
  197. package/esm2015/directives/touchable/index.js +1 -1
  198. package/esm2015/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +1 -1
  199. package/esm2015/directives/touchable/touchable.directive.js +49 -39
  200. package/esm2015/directives/touchable/touchable.module.js +14 -11
  201. package/esm2015/index.js +3 -2
  202. package/esm2015/interfaces/index.js +2 -1
  203. package/esm2015/interfaces/mobile-alert-data.js +2 -1
  204. package/esm2015/interfaces/taiga-ui-addon-mobile-interfaces.js +2 -1
  205. package/esm2015/internal/index.js +1 -1
  206. package/esm2015/internal/primitive-calendar-mobile/index.js +1 -1
  207. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +28 -23
  208. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +24 -13
  209. package/esm2015/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +1 -1
  210. package/esm2015/internal/taiga-ui-addon-mobile-internal.js +1 -1
  211. package/esm2015/taiga-ui-addon-mobile.js +1 -1
  212. package/esm2015/tokens/index.js +1 -1
  213. package/esm2015/tokens/loaded.js +2 -2
  214. package/esm2015/tokens/taiga-ui-addon-mobile-tokens.js +1 -1
  215. package/esm2015/types/index.js +2 -1
  216. package/esm2015/types/taiga-ui-addon-mobile-types.js +2 -1
  217. package/esm2015/types/touch-mode.js +2 -1
  218. package/esm2015/utils/find-touch-index.js +2 -7
  219. package/esm2015/utils/index.js +1 -1
  220. package/esm2015/utils/taiga-ui-addon-mobile-utils.js +1 -1
  221. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +45 -35
  222. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
  223. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +117 -74
  224. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
  225. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +68 -50
  226. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
  227. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +84 -68
  228. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
  229. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +444 -366
  230. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
  231. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js +27 -20
  232. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
  233. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js +27 -20
  234. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
  235. package/fesm2015/taiga-ui-addon-mobile-components.js.map +1 -1
  236. package/fesm2015/taiga-ui-addon-mobile-const.js +1 -1
  237. package/fesm2015/taiga-ui-addon-mobile-const.js.map +1 -1
  238. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js +58 -47
  239. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
  240. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +63 -46
  241. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
  242. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +76 -61
  243. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
  244. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +82 -68
  245. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
  246. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js +61 -46
  247. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
  248. package/fesm2015/taiga-ui-addon-mobile-directives.js.map +1 -1
  249. package/fesm2015/taiga-ui-addon-mobile-interfaces.js.map +1 -1
  250. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +50 -32
  251. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
  252. package/fesm2015/taiga-ui-addon-mobile-internal.js.map +1 -1
  253. package/fesm2015/taiga-ui-addon-mobile-tokens.js +1 -1
  254. package/fesm2015/taiga-ui-addon-mobile-tokens.js.map +1 -1
  255. package/fesm2015/taiga-ui-addon-mobile-types.js.map +1 -1
  256. package/fesm2015/taiga-ui-addon-mobile-utils.js +2 -7
  257. package/fesm2015/taiga-ui-addon-mobile-utils.js.map +1 -1
  258. package/fesm2015/taiga-ui-addon-mobile.js +2 -1
  259. package/fesm2015/taiga-ui-addon-mobile.js.map +1 -1
  260. package/index.d.ts +0 -1
  261. package/interfaces/package.json +2 -5
  262. package/interfaces/taiga-ui-addon-mobile-interfaces.d.ts +1 -0
  263. package/internal/package.json +2 -5
  264. package/internal/primitive-calendar-mobile/package.json +2 -5
  265. package/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.d.ts +3 -0
  266. package/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.d.ts +8 -0
  267. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.d.ts +1 -0
  268. package/internal/taiga-ui-addon-mobile-internal.d.ts +1 -0
  269. package/package.json +12 -15
  270. package/taiga-ui-addon-mobile.d.ts +1 -0
  271. package/tokens/package.json +2 -5
  272. package/tokens/taiga-ui-addon-mobile-tokens.d.ts +1 -0
  273. package/types/package.json +2 -5
  274. package/types/taiga-ui-addon-mobile-types.d.ts +1 -0
  275. package/types/touch-mode.d.ts +1 -1
  276. package/utils/find-touch-index.d.ts +1 -5
  277. package/utils/package.json +2 -5
  278. package/utils/taiga-ui-addon-mobile-utils.d.ts +1 -0
  279. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js +0 -2
  280. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js.map +0 -1
  281. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js +0 -2
  282. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js.map +0 -1
  283. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js +0 -2
  284. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js.map +0 -1
  285. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js +0 -2
  286. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js.map +0 -1
  287. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js +0 -2
  288. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js.map +0 -1
  289. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js +0 -2
  290. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js.map +0 -1
  291. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js +0 -2
  292. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js.map +0 -1
  293. package/bundles/taiga-ui-addon-mobile-components.umd.min.js +0 -2
  294. package/bundles/taiga-ui-addon-mobile-components.umd.min.js.map +0 -1
  295. package/bundles/taiga-ui-addon-mobile-const.umd.min.js +0 -2
  296. package/bundles/taiga-ui-addon-mobile-const.umd.min.js.map +0 -1
  297. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js +0 -2
  298. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js.map +0 -1
  299. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js +0 -2
  300. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js.map +0 -1
  301. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js +0 -2
  302. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js.map +0 -1
  303. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js +0 -2
  304. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js.map +0 -1
  305. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js +0 -2
  306. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js.map +0 -1
  307. package/bundles/taiga-ui-addon-mobile-directives.umd.min.js +0 -2
  308. package/bundles/taiga-ui-addon-mobile-directives.umd.min.js.map +0 -1
  309. package/bundles/taiga-ui-addon-mobile-enums.umd.js +0 -20
  310. package/bundles/taiga-ui-addon-mobile-enums.umd.js.map +0 -1
  311. package/bundles/taiga-ui-addon-mobile-enums.umd.min.js +0 -2
  312. package/bundles/taiga-ui-addon-mobile-enums.umd.min.js.map +0 -1
  313. package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js +0 -2
  314. package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js.map +0 -1
  315. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js +0 -2
  316. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js.map +0 -1
  317. package/bundles/taiga-ui-addon-mobile-internal.umd.min.js +0 -2
  318. package/bundles/taiga-ui-addon-mobile-internal.umd.min.js.map +0 -1
  319. package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js +0 -2
  320. package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js.map +0 -1
  321. package/bundles/taiga-ui-addon-mobile-types.umd.min.js +0 -2
  322. package/bundles/taiga-ui-addon-mobile-types.umd.min.js.map +0 -1
  323. package/bundles/taiga-ui-addon-mobile-utils.umd.min.js +0 -2
  324. package/bundles/taiga-ui-addon-mobile-utils.umd.min.js.map +0 -1
  325. package/bundles/taiga-ui-addon-mobile.umd.min.js +0 -2
  326. package/bundles/taiga-ui-addon-mobile.umd.min.js.map +0 -1
  327. package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.metadata.json +0 -1
  328. package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.metadata.json +0 -1
  329. package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.metadata.json +0 -1
  330. package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.metadata.json +0 -1
  331. package/components/sheet/taiga-ui-addon-mobile-components-sheet.metadata.json +0 -1
  332. package/components/taiga-ui-addon-mobile-components.metadata.json +0 -1
  333. package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.metadata.json +0 -1
  334. package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.metadata.json +0 -1
  335. package/const/taiga-ui-addon-mobile-const.metadata.json +0 -1
  336. package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.metadata.json +0 -1
  337. package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.metadata.json +0 -1
  338. package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.metadata.json +0 -1
  339. package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.metadata.json +0 -1
  340. package/directives/taiga-ui-addon-mobile-directives.metadata.json +0 -1
  341. package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.metadata.json +0 -1
  342. package/enums/index.d.ts +0 -1
  343. package/enums/package.json +0 -13
  344. package/enums/taiga-ui-addon-mobile-enums.d.ts +0 -4
  345. package/enums/taiga-ui-addon-mobile-enums.metadata.json +0 -1
  346. package/enums/touch-mode.d.ts +0 -8
  347. package/esm2015/enums/index.js +0 -2
  348. package/esm2015/enums/taiga-ui-addon-mobile-enums.js +0 -5
  349. package/esm2015/enums/touch-mode.js +0 -10
  350. package/esm5/components/index.js +0 -8
  351. package/esm5/components/mobile-calendar/index.js +0 -6
  352. package/esm5/components/mobile-calendar/mobile-calendar.component.js +0 -295
  353. package/esm5/components/mobile-calendar/mobile-calendar.const.js +0 -25
  354. package/esm5/components/mobile-calendar/mobile-calendar.module.js +0 -34
  355. package/esm5/components/mobile-calendar/mobile-calendar.providers.js +0 -31
  356. package/esm5/components/mobile-calendar/mobile-calendar.strategy.js +0 -134
  357. package/esm5/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -5
  358. package/esm5/components/mobile-calendar-dialog/index.js +0 -3
  359. package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +0 -57
  360. package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +0 -28
  361. package/esm5/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -5
  362. package/esm5/components/mobile-dialog/index.js +0 -4
  363. package/esm5/components/mobile-dialog/mobile-dialog-options.js +0 -1
  364. package/esm5/components/mobile-dialog/mobile-dialog.component.js +0 -34
  365. package/esm5/components/mobile-dialog/mobile-dialog.module.js +0 -31
  366. package/esm5/components/mobile-dialog/mobile-dialog.service.js +0 -34
  367. package/esm5/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -5
  368. package/esm5/components/pull-to-refresh/index.js +0 -6
  369. package/esm5/components/pull-to-refresh/loader-android/loader-android.component.js +0 -43
  370. package/esm5/components/pull-to-refresh/loader-ios/loader-ios.component.js +0 -41
  371. package/esm5/components/pull-to-refresh/pull-to-refresh.component.js +0 -56
  372. package/esm5/components/pull-to-refresh/pull-to-refresh.module.js +0 -26
  373. package/esm5/components/pull-to-refresh/pull-to-refresh.providers.js +0 -32
  374. package/esm5/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -5
  375. package/esm5/components/sheet/components/sheet/sheet.component.js +0 -150
  376. package/esm5/components/sheet/components/sheet/sheet.providers.js +0 -42
  377. package/esm5/components/sheet/components/sheet-bar/sheet-bar.component.js +0 -43
  378. package/esm5/components/sheet/components/sheet-heading/sheet-heading.component.js +0 -40
  379. package/esm5/components/sheet/components/sheets-host/sheets-host.component.js +0 -40
  380. package/esm5/components/sheet/directives/sheet-close/sheet-close.directive.js +0 -56
  381. package/esm5/components/sheet/directives/sheet-stop/sheet-stop.directive.js +0 -46
  382. package/esm5/components/sheet/directives/sheet-top/sheet-top.directive.js +0 -56
  383. package/esm5/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +0 -93
  384. package/esm5/components/sheet/index.js +0 -15
  385. package/esm5/components/sheet/ios.hacks.js +0 -42
  386. package/esm5/components/sheet/sheet-options.js +0 -16
  387. package/esm5/components/sheet/sheet.directive.js +0 -58
  388. package/esm5/components/sheet/sheet.js +0 -1
  389. package/esm5/components/sheet/sheet.module.js +0 -52
  390. package/esm5/components/sheet/sheet.service.js +0 -42
  391. package/esm5/components/sheet/taiga-ui-addon-mobile-components-sheet.js +0 -5
  392. package/esm5/components/taiga-ui-addon-mobile-components.js +0 -5
  393. package/esm5/components/theme-android/index.js +0 -3
  394. package/esm5/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +0 -5
  395. package/esm5/components/theme-android/theme-android.component.js +0 -22
  396. package/esm5/components/theme-android/theme-android.module.js +0 -16
  397. package/esm5/components/theme-ios/index.js +0 -3
  398. package/esm5/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +0 -5
  399. package/esm5/components/theme-ios/theme-ios.component.js +0 -22
  400. package/esm5/components/theme-ios/theme-ios.module.js +0 -16
  401. package/esm5/const/index.js +0 -2
  402. package/esm5/const/mobile-alert-options.js +0 -8
  403. package/esm5/const/taiga-ui-addon-mobile-const.js +0 -5
  404. package/esm5/directives/elastic-sticky/elastic-sticky.directive.js +0 -26
  405. package/esm5/directives/elastic-sticky/elastic-sticky.module.js +0 -16
  406. package/esm5/directives/elastic-sticky/elastic-sticky.service.js +0 -58
  407. package/esm5/directives/elastic-sticky/index.js +0 -4
  408. package/esm5/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -5
  409. package/esm5/directives/index.js +0 -6
  410. package/esm5/directives/mobile-tabs/index.js +0 -4
  411. package/esm5/directives/mobile-tabs/mobile-tabs.component.js +0 -16
  412. package/esm5/directives/mobile-tabs/mobile-tabs.directive.js +0 -51
  413. package/esm5/directives/mobile-tabs/mobile-tabs.module.js +0 -18
  414. package/esm5/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -5
  415. package/esm5/directives/ripple/index.js +0 -4
  416. package/esm5/directives/ripple/ripple-styles.component.js +0 -16
  417. package/esm5/directives/ripple/ripple.directive.js +0 -63
  418. package/esm5/directives/ripple/ripple.module.js +0 -18
  419. package/esm5/directives/ripple/ripple.providers.js +0 -54
  420. package/esm5/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +0 -6
  421. package/esm5/directives/sidebar/index.js +0 -4
  422. package/esm5/directives/sidebar/sidebar.component.js +0 -68
  423. package/esm5/directives/sidebar/sidebar.directive.js +0 -78
  424. package/esm5/directives/sidebar/sidebar.module.js +0 -21
  425. package/esm5/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +0 -5
  426. package/esm5/directives/taiga-ui-addon-mobile-directives.js +0 -5
  427. package/esm5/directives/touchable/index.js +0 -3
  428. package/esm5/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +0 -5
  429. package/esm5/directives/touchable/touchable.directive.js +0 -90
  430. package/esm5/directives/touchable/touchable.module.js +0 -16
  431. package/esm5/enums/index.js +0 -2
  432. package/esm5/enums/taiga-ui-addon-mobile-enums.js +0 -5
  433. package/esm5/enums/touch-mode.js +0 -10
  434. package/esm5/index.js +0 -7
  435. package/esm5/interfaces/index.js +0 -1
  436. package/esm5/interfaces/mobile-alert-data.js +0 -1
  437. package/esm5/interfaces/taiga-ui-addon-mobile-interfaces.js +0 -4
  438. package/esm5/internal/index.js +0 -2
  439. package/esm5/internal/primitive-calendar-mobile/index.js +0 -3
  440. package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +0 -37
  441. package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +0 -28
  442. package/esm5/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -5
  443. package/esm5/internal/taiga-ui-addon-mobile-internal.js +0 -5
  444. package/esm5/taiga-ui-addon-mobile.js +0 -5
  445. package/esm5/tokens/index.js +0 -2
  446. package/esm5/tokens/loaded.js +0 -6
  447. package/esm5/tokens/taiga-ui-addon-mobile-tokens.js +0 -5
  448. package/esm5/types/index.js +0 -1
  449. package/esm5/types/taiga-ui-addon-mobile-types.js +0 -4
  450. package/esm5/types/touch-mode.js +0 -1
  451. package/esm5/utils/find-touch-index.js +0 -15
  452. package/esm5/utils/index.js +0 -2
  453. package/esm5/utils/taiga-ui-addon-mobile-utils.js +0 -5
  454. package/fesm2015/taiga-ui-addon-mobile-enums.js +0 -16
  455. package/fesm2015/taiga-ui-addon-mobile-enums.js.map +0 -1
  456. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -87
  457. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +0 -1
  458. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -502
  459. package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js.map +0 -1
  460. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -91
  461. package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js.map +0 -1
  462. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -185
  463. package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +0 -1
  464. package/fesm5/taiga-ui-addon-mobile-components-sheet.js +0 -680
  465. package/fesm5/taiga-ui-addon-mobile-components-sheet.js.map +0 -1
  466. package/fesm5/taiga-ui-addon-mobile-components-theme-android.js +0 -40
  467. package/fesm5/taiga-ui-addon-mobile-components-theme-android.js.map +0 -1
  468. package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js +0 -40
  469. package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js.map +0 -1
  470. package/fesm5/taiga-ui-addon-mobile-components.js +0 -12
  471. package/fesm5/taiga-ui-addon-mobile-components.js.map +0 -1
  472. package/fesm5/taiga-ui-addon-mobile-const.js +0 -15
  473. package/fesm5/taiga-ui-addon-mobile-const.js.map +0 -1
  474. package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -97
  475. package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +0 -1
  476. package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -82
  477. package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +0 -1
  478. package/fesm5/taiga-ui-addon-mobile-directives-ripple.js +0 -143
  479. package/fesm5/taiga-ui-addon-mobile-directives-ripple.js.map +0 -1
  480. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js +0 -161
  481. package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js.map +0 -1
  482. package/fesm5/taiga-ui-addon-mobile-directives-touchable.js +0 -108
  483. package/fesm5/taiga-ui-addon-mobile-directives-touchable.js.map +0 -1
  484. package/fesm5/taiga-ui-addon-mobile-directives.js +0 -10
  485. package/fesm5/taiga-ui-addon-mobile-directives.js.map +0 -1
  486. package/fesm5/taiga-ui-addon-mobile-enums.js +0 -16
  487. package/fesm5/taiga-ui-addon-mobile-enums.js.map +0 -1
  488. package/fesm5/taiga-ui-addon-mobile-interfaces.js +0 -4
  489. package/fesm5/taiga-ui-addon-mobile-interfaces.js.map +0 -1
  490. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -65
  491. package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +0 -1
  492. package/fesm5/taiga-ui-addon-mobile-internal.js +0 -6
  493. package/fesm5/taiga-ui-addon-mobile-internal.js.map +0 -1
  494. package/fesm5/taiga-ui-addon-mobile-tokens.js +0 -13
  495. package/fesm5/taiga-ui-addon-mobile-tokens.js.map +0 -1
  496. package/fesm5/taiga-ui-addon-mobile-types.js +0 -4
  497. package/fesm5/taiga-ui-addon-mobile-types.js.map +0 -1
  498. package/fesm5/taiga-ui-addon-mobile-utils.js +0 -21
  499. package/fesm5/taiga-ui-addon-mobile-utils.js.map +0 -1
  500. package/fesm5/taiga-ui-addon-mobile.js +0 -11
  501. package/fesm5/taiga-ui-addon-mobile.js.map +0 -1
  502. package/interfaces/taiga-ui-addon-mobile-interfaces.metadata.json +0 -1
  503. package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.metadata.json +0 -1
  504. package/internal/taiga-ui-addon-mobile-internal.metadata.json +0 -1
  505. package/taiga-ui-addon-mobile.metadata.json +0 -1
  506. package/tokens/taiga-ui-addon-mobile-tokens.metadata.json +0 -1
  507. package/types/taiga-ui-addon-mobile-types.metadata.json +0 -1
  508. package/utils/taiga-ui-addon-mobile-utils.metadata.json +0 -1
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2RpcmVjdGl2ZXMvIiwic291cmNlcyI6WyJ0YWlnYS11aS1hZGRvbi1tb2JpbGUtZGlyZWN0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,3 +0,0 @@
1
- export * from './touchable.directive';
2
- export * from './touchable.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2RpcmVjdGl2ZXMvdG91Y2hhYmxlLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90b3VjaGFibGUuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vdG91Y2hhYmxlLm1vZHVsZSc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWRpcmVjdGl2ZXMtdG91Y2hhYmxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9kaXJlY3RpdmVzL3RvdWNoYWJsZS8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS1kaXJlY3RpdmVzLXRvdWNoYWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,90 +0,0 @@
1
- import { __decorate, __param } from "tslib";
2
- import { Directive, ElementRef, Inject, Input, Optional, Renderer2 } from '@angular/core';
3
- import { findTouchIndex } from '@taiga-ui/addon-mobile/utils';
4
- import { TUI_IS_IOS, tuiDefaultProp, TuiDestroyService, typedFromEvent, } from '@taiga-ui/cdk';
5
- import { TUI_ELEMENT_REF } from '@taiga-ui/core';
6
- import { race } from 'rxjs';
7
- import { filter, map, switchMap, take, takeUntil, tap } from 'rxjs/operators';
8
- var STYLE = {
9
- transform: 'scale(0.95)',
10
- opacity: '0.6',
11
- background: 'rgba(146, 153, 162, 0.12)',
12
- };
13
- var TuiTouchableDirective = /** @class */ (function () {
14
- function TuiTouchableDirective(elementRef, isIos, _a, renderer, destroy$) {
15
- var _this = this;
16
- var nativeElement = _a.nativeElement;
17
- this.tuiTouchable = '';
18
- if (!isIos) {
19
- return;
20
- }
21
- var element = elementRef ? elementRef.nativeElement : nativeElement;
22
- typedFromEvent(element, 'touchstart', { passive: true })
23
- .pipe(tap(function () {
24
- _this.onTouchStart(renderer, element);
25
- }), map(function (_a) {
26
- var touches = _a.touches;
27
- return touches[touches.length - 1].identifier;
28
- }), switchMap(function (identifier) {
29
- return race(typedFromEvent(element, 'touchmove', { passive: true }).pipe(filter(function (_a) {
30
- var touches = _a.touches;
31
- return _this.hasTouchLeft(element, touches, identifier);
32
- })), typedFromEvent(element, 'touchend')).pipe(take(1));
33
- }), takeUntil(destroy$))
34
- .subscribe(function () {
35
- renderer.removeStyle(element, 'transform');
36
- renderer.removeStyle(element, 'opacity');
37
- renderer.removeStyle(element, 'background');
38
- });
39
- }
40
- Object.defineProperty(TuiTouchableDirective.prototype, "style", {
41
- get: function () {
42
- return this.tuiTouchable || 'transform';
43
- },
44
- enumerable: true,
45
- configurable: true
46
- });
47
- TuiTouchableDirective.prototype.hasTouchLeft = function (element, touches, identifier) {
48
- var ownerDocument = element.ownerDocument;
49
- var id = findTouchIndex(touches, identifier);
50
- if (!ownerDocument || id === -1) {
51
- return true;
52
- }
53
- var _a = touches[id], clientX = _a.clientX, clientY = _a.clientY;
54
- return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));
55
- };
56
- TuiTouchableDirective.prototype.onTouchStart = function (renderer, element) {
57
- if (this.style !== 'transform') {
58
- renderer.removeStyle(element, 'transition');
59
- }
60
- else {
61
- renderer.setStyle(element, 'transition', 'transform 0.2s');
62
- }
63
- renderer.setStyle(element, this.style, STYLE[this.style]);
64
- };
65
- TuiTouchableDirective.ctorParameters = function () { return [
66
- { type: ElementRef, decorators: [{ type: Optional }, { type: Inject, args: [TUI_ELEMENT_REF,] }] },
67
- { type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_IOS,] }] },
68
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
69
- { type: Renderer2, decorators: [{ type: Inject, args: [Renderer2,] }] },
70
- { type: TuiDestroyService, decorators: [{ type: Inject, args: [TuiDestroyService,] }] }
71
- ]; };
72
- __decorate([
73
- Input(),
74
- tuiDefaultProp()
75
- ], TuiTouchableDirective.prototype, "tuiTouchable", void 0);
76
- TuiTouchableDirective = __decorate([
77
- Directive({
78
- selector: '[tuiTouchable]',
79
- providers: [TuiDestroyService],
80
- }),
81
- __param(0, Optional()), __param(0, Inject(TUI_ELEMENT_REF)),
82
- __param(1, Inject(TUI_IS_IOS)),
83
- __param(2, Inject(ElementRef)),
84
- __param(3, Inject(Renderer2)),
85
- __param(4, Inject(TuiDestroyService))
86
- ], TuiTouchableDirective);
87
- return TuiTouchableDirective;
88
- }());
89
- export { TuiTouchableDirective };
90
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2hhYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy90b3VjaGFibGUvIiwic291cmNlcyI6WyJ0b3VjaGFibGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFeEYsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQzVELE9BQU8sRUFDSCxVQUFVLEVBQ1YsY0FBYyxFQUNkLGlC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c0lvcykge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgZWxlbWVudCA9IGVsZW1lbnRSZWYgPyBlbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQgOiBuYXRpdmVFbGVtZW50O1xuXG4gICAgICAgIHR5cGVkRnJvbUV2ZW50KGVsZW1lbnQsICd0b3VjaHN0YXJ0Jywge3Bhc3NpdmU6IHRydWV9KVxuICAgICAgICAgICAgLnBpcGUoXG4gICAgICAgICAgICAgICAgdGFwKCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5vblRvdWNoU3RhcnQocmVuZGVyZXIsIGVsZW1lbnQpO1xuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIG1hcCgoe3RvdWNoZXN9KSA9PiB0b3VjaGVzW3RvdWNoZXMubGVuZ3RoIC0gMV0uaWRlbnRpZmllciksXG4gICAgICAgICAgICAgICAgc3dpdGNoTWFwKGlkZW50aWZpZXIgPT5cbiAgICAgICAgICAgICAgICAgICAgcmFjZShcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGVkRnJvbUV2ZW50KGVsZW1lbnQsICd0b3VjaG1vdmUnLCB7cGFzc2l2ZTogdHJ1ZX0pLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyKCh7dG91Y2hlc30pID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuaGFzVG91Y2hMZWZ0KGVsZW1lbnQsIHRvdWNoZXMsIGlkZW50aWZpZXIpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZWRGcm9tRXZlbnQoZWxlbWVudCwgJ3RvdWNoZW5kJyksXG4gICAgICAgICAgICAgICAgICAgICkucGlwZSh0YWtlKDEpKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIHRha2VVbnRpbChkZXN0cm95JCksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgICAgICByZW5kZXJlci5yZW1vdmVTdHlsZShlbGVtZW50LCAndHJhbnNmb3JtJyk7XG4gICAgICAgICAgICAgICAgcmVuZGVyZXIucmVtb3ZlU3R5bGUoZWxlbWVudCwgJ29wYWNpdHknKTtcbiAgICAgICAgICAgICAgICByZW5kZXJlci5yZW1vdmVTdHlsZShlbGVtZW50LCAnYmFja2dyb3VuZCcpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgZ2V0IHN0eWxlKCk6IFR1aVRvdWNoTW9kZVQge1xuICAgICAgICByZXR1cm4gdGhpcy50dWlUb3VjaGFibGUgfHwgJ3RyYW5zZm9ybSc7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBoYXNUb3VjaExlZnQoXG4gICAgICAgIGVsZW1lbnQ6IEhUTUxFbGVtZW50LFxuICAgICAgICB0b3VjaGVzOiBUb3VjaExpc3QsXG4gICAgICAgIGlkZW50aWZpZXI6IG51bWJlcixcbiAgICApOiBib29sZWFuIHtcbiAgICAgICAgY29uc3Qge293bmVyRG9jdW1lbnR9ID0gZWxlbWVudDtcbiAgICAgICAgY29uc3QgaWQgPSBmaW5kVG91Y2hJbmRleCh0b3VjaGVzLCBpZGVudGlmaWVyKTtcblxuICAgICAgICBpZiAoIW93bmVyRG9jdW1lbnQgfHwgaWQgPT09IC0xKSB7XG4gICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHtjbGllbnRYLCBjbGllbnRZfSA9IHRvdWNoZXNbaWRdO1xuXG4gICAgICAgIHJldHVybiAhZWxlbWVudC5jb250YWlucyhvd25lckRvY3VtZW50LmVsZW1lbnRGcm9tUG9pbnQoY2xpZW50WCwgY2xpZW50WSkpO1xuICAgIH1cblxuICAgIHByaXZhdGUgb25Ub3VjaFN0YXJ0KHJlbmRlcmVyOiBSZW5kZXJlcjIsIGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLnN0eWxlICE9PSAndHJhbnNmb3JtJykge1xuICAgICAgICAgICAgcmVuZGVyZXIucmVtb3ZlU3R5bGUoZWxlbWVudCwgJ3RyYW5zaXRpb24nKTtcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJlbmRlcmVyLnNldFN0eWxlKGVsZW1lbnQsICd0cmFuc2l0aW9uJywgJ3RyYW5zZm9ybSAwLjJzJyk7XG4gICAgICAgIH1cblxuICAgICAgICByZW5kZXJlci5zZXRTdHlsZShlbGVtZW50LCB0aGlzLnN0eWxlLCBTVFlMRVt0aGlzLnN0eWxlXSk7XG4gICAgfVxufVxuIl19
@@ -1,16 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { TuiTouchableDirective } from './touchable.directive';
4
- var TuiTouchableModule = /** @class */ (function () {
5
- function TuiTouchableModule() {
6
- }
7
- TuiTouchableModule = __decorate([
8
- NgModule({
9
- declarations: [TuiTouchableDirective],
10
- exports: [TuiTouchableDirective],
11
- })
12
- ], TuiTouchableModule);
13
- return TuiTouchableModule;
14
- }());
15
- export { TuiTouchableModule };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2hhYmxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy90b3VjaGFibGUvIiwic291cmNlcyI6WyJ0b3VjaGFibGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXZDLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDO0FBTTVEO0lBQUE7SUFBaUMsQ0FBQztJQUFyQixrQkFBa0I7UUFKOUIsUUFBUSxDQUFDO1lBQ04sWUFBWSxFQUFFLENBQUMscUJBQXFCLENBQUM7WUFDckMsT0FBTyxFQUFFLENBQUMscUJBQXFCLENBQUM7U0FDbkMsQ0FBQztPQUNXLGtCQUFrQixDQUFHO0lBQUQseUJBQUM7Q0FBQSxBQUFsQyxJQUFrQztTQUFyQixrQkFBa0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtUdWlUb3VjaGFibGVEaXJlY3RpdmV9IGZyb20gJy4vdG91Y2hhYmxlLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpVG91Y2hhYmxlRGlyZWN0aXZlXSxcbiAgICBleHBvcnRzOiBbVHVpVG91Y2hhYmxlRGlyZWN0aXZlXSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpVG91Y2hhYmxlTW9kdWxlIHt9XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './touch-mode';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2VudW1zLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RvdWNoLW1vZGUnO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWVudW1zLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9lbnVtcy8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS1lbnVtcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,10 +0,0 @@
1
- /**
2
- * @deprecated use join type {@link TuiTouchModeT}
3
- */
4
- export var TuiTouchMode;
5
- (function (TuiTouchMode) {
6
- TuiTouchMode["Transform"] = "transform";
7
- TuiTouchMode["Opacity"] = "opacity";
8
- TuiTouchMode["Background"] = "background";
9
- })(TuiTouchMode || (TuiTouchMode = {}));
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2gtbW9kZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvZW51bXMvIiwic291cmNlcyI6WyJ0b3VjaC1tb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFOLElBQWtCLFlBSWpCO0FBSkQsV0FBa0IsWUFBWTtJQUMxQix1Q0FBdUIsQ0FBQTtJQUN2QixtQ0FBbUIsQ0FBQTtJQUNuQix5Q0FBeUIsQ0FBQTtBQUM3QixDQUFDLEVBSmlCLFlBQVksS0FBWixZQUFZLFFBSTdCIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAZGVwcmVjYXRlZCB1c2Ugam9pbiB0eXBlIHtAbGluayBUdWlUb3VjaE1vZGVUfVxuICovXG5leHBvcnQgY29uc3QgZW51bSBUdWlUb3VjaE1vZGUge1xuICAgIFRyYW5zZm9ybSA9ICd0cmFuc2Zvcm0nLFxuICAgIE9wYWNpdHkgPSAnb3BhY2l0eScsXG4gICAgQmFja2dyb3VuZCA9ICdiYWNrZ3JvdW5kJyxcbn1cbiJdfQ==
package/esm5/index.js DELETED
@@ -1,7 +0,0 @@
1
- export * from '@taiga-ui/addon-mobile/components';
2
- export * from '@taiga-ui/addon-mobile/const';
3
- export * from '@taiga-ui/addon-mobile/directives';
4
- export * from '@taiga-ui/addon-mobile/enums';
5
- export * from '@taiga-ui/addon-mobile/tokens';
6
- export * from '@taiga-ui/addon-mobile/utils';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyw4QkFBOEIsQ0FBQztBQUU3QyxjQUFjLCtCQUErQixDQUFDO0FBRTlDLGNBQWMsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2NvbXBvbmVudHMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb25zdCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2RpcmVjdGl2ZXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9lbnVtcyc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVyZmFjZXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS90b2tlbnMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS90eXBlcyc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL3V0aWxzJztcbiJdfQ==
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVyZmFjZXMvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2JpbGUtYWxlcnQtZGF0YSc7XG4iXX0=
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9iaWxlLWFsZXJ0LWRhdGEuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVyZmFjZXMvIiwic291cmNlcyI6WyJtb2JpbGUtYWxlcnQtZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtQb2x5bW9ycGhldXNDb250ZW50fSBmcm9tICdAdGlua29mZi9uZy1wb2x5bW9ycGhldXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFR1aU1vYmlsZUFsZXJ0RGF0YSB7XG4gICAgcmVhZG9ubHkgaGVhZGluZz86IHN0cmluZztcbiAgICByZWFkb25seSBjb250ZW50OiBQb2x5bW9ycGhldXNDb250ZW50O1xuICAgIHJlYWRvbmx5IGNvbmZpcm1UZXh0Pzogc3RyaW5nO1xufVxuIl19
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWludGVyZmFjZXMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVyZmFjZXMvIiwic291cmNlcyI6WyJ0YWlnYS11aS1hZGRvbi1tb2JpbGUtaW50ZXJmYWNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from '@taiga-ui/addon-mobile/internal/primitive-calendar-mobile';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVybmFsLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyREFBMkQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvaW50ZXJuYWwvcHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZSc7XG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './primitive-calendar-mobile.component';
2
- export * from './primitive-calendar-mobile.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVybmFsL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsb0NBQW9DLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS5tb2R1bGUnO1xuIl19
@@ -1,37 +0,0 @@
1
- import { __decorate, __extends, __param } from "tslib";
2
- import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
3
- import { TUI_IS_IOS } from '@taiga-ui/cdk';
4
- import { TUI_ORDERED_SHORT_WEEK_DAYS, TuiPrimitiveCalendarComponent } from '@taiga-ui/core';
5
- import { Observable } from 'rxjs';
6
- /**
7
- * @internal
8
- * @dynamic
9
- */
10
- var TuiPrimitiveCalendarMobileComponent = /** @class */ (function (_super) {
11
- __extends(TuiPrimitiveCalendarMobileComponent, _super);
12
- function TuiPrimitiveCalendarMobileComponent(isIOS, weekDays$) {
13
- var _this = _super.call(this, weekDays$) || this;
14
- _this.isIOS = isIOS;
15
- return _this;
16
- }
17
- TuiPrimitiveCalendarMobileComponent.ctorParameters = function () { return [
18
- { type: Boolean, decorators: [{ type: Inject, args: [TUI_IS_IOS,] }] },
19
- { type: Observable, decorators: [{ type: Inject, args: [TUI_ORDERED_SHORT_WEEK_DAYS,] }] }
20
- ]; };
21
- TuiPrimitiveCalendarMobileComponent = __decorate([
22
- Component({
23
- selector: 'tui-primitive-calendar-mobile',
24
- template: "<ng-container *tuiLet=\"month | tuiCalendarSheet as sheet\">\n <div\n *tuiRepeatTimes=\"let rowIndex of sheet.length\"\n automation-id=\"tui-primitive-calendar-mobile__row\"\n class=\"t-row\"\n >\n <div\n *tuiRepeatTimes=\"let colIndex of sheet[rowIndex].length\"\n automation-id=\"tui-primitive-calendar-mobile__cell\"\n tuiRipple\n class=\"t-cell\"\n [class.t-cell_today]=\"itemIsToday(sheet[rowIndex][colIndex])\"\n [class.t-cell_interval]=\"itemIsInterval(sheet[rowIndex][colIndex])\"\n [attr.data-state]=\"getItemState(sheet[rowIndex][colIndex])\"\n [attr.data-range]=\"getItemRange(sheet[rowIndex][colIndex])\"\n (click)=\"onItemClick(sheet[rowIndex][colIndex])\"\n >\n {{ sheet[rowIndex][colIndex].day }}\n </div>\n </div>\n</ng-container>\n",
25
- changeDetection: ChangeDetectionStrategy.OnPush,
26
- host: {
27
- '[class._ios]': 'isIOS',
28
- },
29
- styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;z-index:0;display:flex;justify-content:space-between}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:after,.t-item:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.75rem;text-align:center;outline:0;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:2px solid transparent}.t-cell:before{content:'';position:absolute;top:0;left:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%,0);content:'';bottom:.3125rem;border-radius:.375rem;background-color:var(--tui-text-02)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-2.75rem}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:after,.t-cell[data-range]>.t-item:before{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hovered]>.t-item:after,.t-cell[data-range][data-state=hovered]>.t-item:before{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=pressed]>.t-item:after,.t-cell[data-range][data-state=pressed]>.t-item:before{background-color:var(--tui-primary-active)}.t-cell[data-range=end]>.t-item:before{left:.25rem}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translateX(1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.25rem}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translateX(-1.4375rem) scaleY(.6) scaleX(.4) rotate(45deg)}.t-cell[data-state=disabled]{pointer-events:none;opacity:var(--tui-disabled-opacity)}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hovered]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=pressed]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{width:20.75rem;max-width:100vw}:host._ios{width:22.625rem}.t-row{height:3rem;justify-content:flex-start}.t-row:first-child{justify-content:flex-end}:host._ios .t-row{height:3.125rem}.t-cell{height:2.75rem;border-radius:100%;margin-right:.25rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}.t-cell:before{right:-100vw}.t-cell:first-child:before{left:-100vw}.t-cell_today:after{height:.375rem;width:.375rem;background-color:var(--tui-link)}.t-cell_interval:before{background-color:var(--tui-base-02)}.t-cell_interval:last-child:first-child:before{right:-100vw}.t-cell[data-range=end],.t-cell[data-range=single],.t-cell[data-range=start]{border-radius:100%;background-color:var(--tui-link);color:var(--tui-accent-text);font-weight:500}.t-cell[data-range=end]:after,.t-cell[data-range=single]:after,.t-cell[data-range=start]:after{background-color:var(--tui-base-01)}:host._ios .t-cell[data-range=end],:host._ios .t-cell[data-range=single],:host._ios .t-cell[data-range=start]{font-weight:600}.t-cell[data-range=start]:before{left:50%;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]:not(:first-child):before{left:50%;background:var(--tui-base-01);border-radius:0}.t-cell[data-range=end]:first-child:before{right:50%;background-color:var(--tui-base-02)}:host._ios .t-cell{margin-right:.5625rem}:host._ios .t-cell:before{border-radius:.5rem}@media screen and (max-width:22.4375rem){.t-cell,:host._ios .t-cell{margin-right:.125rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}}"]
30
- }),
31
- __param(0, Inject(TUI_IS_IOS)),
32
- __param(1, Inject(TUI_ORDERED_SHORT_WEEK_DAYS))
33
- ], TuiPrimitiveCalendarMobileComponent);
34
- return TuiPrimitiveCalendarMobileComponent;
35
- }(TuiPrimitiveCalendarComponent));
36
- export { TuiPrimitiveCalendarMobileComponent };
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVybmFsL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUvIiwic291cmNlcyI6WyJwcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekUsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUMsMkJBQTJCLEVBQUUsNkJBQTZCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMxRixPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRWhDOzs7R0FH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uICAgIHNlbGVjdG9yOiAndHVpLXByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9wcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlLnRlbXBsYXRlLmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUuc3R5bGUubGVzcyddLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICAgIGhvc3Q6IHtcbiAgICAgICAgJ1tjbGFzcy5faW9zXSc6ICdpc0lPUycsXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUHJpbWl0aXZlQ2FsZW5kYXJNb2JpbGVDb21wb25lbnQgZXh0ZW5kcyBUdWlQcmltaXRpdmVDYWxlbmRhckNvbXBvbmVudCB7XG4gICAgY29uc3RydWN0b3IoXG4gICAgICAgIEBJbmplY3QoVFVJX0lTX0lPUykgcmVhZG9ubHkgaXNJT1M6IGJvb2xlYW4sXG4gICAgICAgIEBJbmplY3QoVFVJX09SREVSRURfU0hPUlRfV0VFS19EQVlTKVxuICAgICAgICB3ZWVrRGF5cyQ6IE9ic2VydmFibGU8W3N0cmluZywgc3RyaW5nLCBzdHJpbmcsIHN0cmluZywgc3RyaW5nLCBzdHJpbmcsIHN0cmluZ10+LFxuICAgICkge1xuICAgICAgICBzdXBlcih3ZWVrRGF5cyQpO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { TuiRippleModule } from '@taiga-ui/addon-mobile/directives/ripple';
4
- import { TuiLetModule, TuiRepeatTimesModule } from '@taiga-ui/cdk';
5
- import { TuiCalendarSheetPipeModule } from '@taiga-ui/core';
6
- import { TuiPrimitiveCalendarMobileComponent } from './primitive-calendar-mobile.component';
7
- /**
8
- * @internal
9
- */
10
- var TuiPrimitiveCalendarMobileModule = /** @class */ (function () {
11
- function TuiPrimitiveCalendarMobileModule() {
12
- }
13
- TuiPrimitiveCalendarMobileModule = __decorate([
14
- NgModule({
15
- imports: [
16
- TuiRepeatTimesModule,
17
- TuiCalendarSheetPipeModule,
18
- TuiRippleModule,
19
- TuiLetModule,
20
- ],
21
- declarations: [TuiPrimitiveCalendarMobileComponent],
22
- exports: [TuiPrimitiveCalendarMobileComponent],
23
- })
24
- ], TuiPrimitiveCalendarMobileModule);
25
- return TuiPrimitiveCalendarMobileModule;
26
- }());
27
- export { TuiPrimitiveCalendarMobileModule };
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVybmFsL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUvIiwic291cmNlcyI6WyJwcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sMENBQTBDLENBQUM7QUFDekUsT0FBTyxFQUFDLFlBQVksRUFBRSxvQkFBb0IsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNqRSxPQUFPLEVBQUMsMEJBQTBCLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUUxRCxPQUFPLEVBQUMsbUNBQW1DLEVBQUMsTUFBTSx1Q0FBdUMsQ0FBQztBQUUxRjs7R0FFRztBQVdIO0lBQUE7SUFBK0MsQ0FBQztJQUFuQyxnQ0FBZ0M7UUFWNUMsUUFBUSxDQUFDO1lBQ04sT0FBTyxFQUFFO2dCQUNMLG9C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W1pdGl2ZUNhbGVuZGFyTW9iaWxlQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUHJpbWl0aXZlQ2FsZW5kYXJNb2JpbGVNb2R1bGUge31cbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWludGVybmFsLXByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2ludGVybmFsL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUvIiwic291cmNlcyI6WyJ0YWlnYS11aS1hZGRvbi1tb2JpbGUtaW50ZXJuYWwtcHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWludGVybmFsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9pbnRlcm5hbC8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS1pbnRlcm5hbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './loaded';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL3Rva2Vucy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sb2FkZWQnO1xuIl19
@@ -1,6 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { EMPTY } from 'rxjs';
3
- export var TUI_LOADED = new InjectionToken('Stream that emits when loading is over', {
4
- factory: function () { return EMPTY; },
5
- });
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVkLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS90b2tlbnMvIiwic291cmNlcyI6WyJsb2FkZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUM3QyxPQUFPLEVBQUMsS0FBSyxFQUFhLE1BQU0sTUFBTSxDQUFDO0FBRXZDLE1BQU0sQ0FBQyxJQUFNLFVBQVUsR0FBRyxJQUFJLGNBQWMsQ0FDeEMsd0NBQXdDLEVBQ3hDO0lBQ0ksT0FBTyxFQUFFLGNBQU0sT0FBQSxLQUFLLEVBQUwsQ0FBSztDQUN2QixDQUNKLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdGlvblRva2VufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7RU1QVFksIE9ic2VydmFibGV9IGZyb20gJ3J4anMnO1xuXG5leHBvcnQgY29uc3QgVFVJX0xPQURFRCA9IG5ldyBJbmplY3Rpb25Ub2tlbjxPYnNlcnZhYmxlPHVua25vd24+PihcbiAgICAnU3RyZWFtIHRoYXQgZW1pdHMgd2hlbiBsb2FkaW5nIGlzIG92ZXInLFxuICAgIHtcbiAgICAgICAgZmFjdG9yeTogKCkgPT4gRU1QVFksXG4gICAgfSxcbik7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLXRva2Vucy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvdG9rZW5zLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktYWRkb24tbW9iaWxlLXRva2Vucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL3R5cGVzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdG91Y2gtbW9kZSc7XG4iXX0=
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLXR5cGVzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS90eXBlcy8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -1 +0,0 @@
1
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2gtbW9kZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvdHlwZXMvIiwic291cmNlcyI6WyJ0b3VjaC1tb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBUdWlUb3VjaE1vZGVUID0gJ3RyYW5zZm9ybScgfCAnb3BhY2l0eScgfCAnYmFja2dyb3VuZCc7XG4iXX0=
@@ -1,15 +0,0 @@
1
- /**
2
- * @deprecated: use {@link tuiFindTouchIndex} instead
3
- */
4
- // eslint-disable-next-line @typescript-eslint/naming-convention
5
- export function findTouchIndex(touches, id) {
6
- for (var i = 0; i < touches.length; i++) {
7
- var identifier = touches[i].identifier;
8
- if (identifier === id) {
9
- return i;
10
- }
11
- }
12
- return -1;
13
- }
14
- export var tuiFindTouchIndex = findTouchIndex;
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC10b3VjaC1pbmRleC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvdXRpbHMvIiwic291cmNlcyI6WyJmaW5kLXRvdWNoLWluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsZ0VBQWdFO0FBQ2hFLE1BQU0sVUFBVSxjQUFjLENBQUMsT0FBa0IsRUFBRSxFQUFVO0lBQ3pELEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxPQUFPLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQzlCLElBQUEsa0NBQVUsQ0FBZTtRQUVoQyxJQUFJLFVBQVUsS0FBSyxFQUFFLEVBQUU7WUFDbkIsT0FBTyxDQUFDLENBQUM7U0FDWjtLQUNKO0lBRUQsT0FBTyxDQUFDLENBQUMsQ0FBQztBQUNkLENBQUM7QUFFRCxNQUFNLENBQUMsSUFBTSxpQkFBaUIsR0FBRyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBkZXByZWNhdGVkOiB1c2Uge0BsaW5rIHR1aUZpbmRUb3VjaEluZGV4fSBpbnN0ZWFkXG4gKi9cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbmV4cG9ydCBmdW5jdGlvbiBmaW5kVG91Y2hJbmRleCh0b3VjaGVzOiBUb3VjaExpc3QsIGlkOiBudW1iZXIpOiBudW1iZXIge1xuICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdG91Y2hlcy5sZW5ndGg7IGkrKykge1xuICAgICAgICBjb25zdCB7aWRlbnRpZmllcn0gPSB0b3VjaGVzW2ldO1xuXG4gICAgICAgIGlmIChpZGVudGlmaWVyID09PSBpZCkge1xuICAgICAgICAgICAgcmV0dXJuIGk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gLTE7XG59XG5cbmV4cG9ydCBjb25zdCB0dWlGaW5kVG91Y2hJbmRleCA9IGZpbmRUb3VjaEluZGV4O1xuIl19
@@ -1,2 +0,0 @@
1
- export * from './find-touch-index';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvYWRkb24tbW9iaWxlL3V0aWxzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmluZC10b3VjaC1pbmRleCc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS91dGlscy8iLCJzb3VyY2VzIjpbInRhaWdhLXVpLWFkZG9uLW1vYmlsZS11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,16 +0,0 @@
1
- /**
2
- * @deprecated use join type {@link TuiTouchModeT}
3
- */
4
- var TuiTouchMode;
5
- (function (TuiTouchMode) {
6
- TuiTouchMode["Transform"] = "transform";
7
- TuiTouchMode["Opacity"] = "opacity";
8
- TuiTouchMode["Background"] = "background";
9
- })(TuiTouchMode || (TuiTouchMode = {}));
10
-
11
- /**
12
- * Generated bundle index. Do not edit.
13
- */
14
-
15
- export { TuiTouchMode };
16
- //# sourceMappingURL=taiga-ui-addon-mobile-enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-enums.js","sources":["ng://@taiga-ui/addon-mobile/enums/touch-mode.ts","ng://@taiga-ui/addon-mobile/enums/taiga-ui-addon-mobile-enums.ts"],"sourcesContent":["/**\n * @deprecated use join type {@link TuiTouchModeT}\n */\nexport const enum TuiTouchMode {\n Transform = 'transform',\n Opacity = 'opacity',\n Background = 'background',\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;IAGkB;AAAlB,WAAkB,YAAY;IAC1B,uCAAuB,CAAA;IACvB,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;AAC7B,CAAC,EAJiB,YAAY,KAAZ,YAAY;;ACH9B;;;;;;"}
@@ -1,87 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Inject, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { TUI_FIRST_DAY, TUI_LAST_DAY, ALWAYS_FALSE_HANDLER } from '@taiga-ui/cdk';
4
- import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';
5
- import { TuiMobileCalendarModule } from '@taiga-ui/addon-mobile/components/mobile-calendar';
6
- import { TUI_MOBILE_CALENDAR } from '@taiga-ui/kit';
7
-
8
- var TuiMobileCalendarDialogComponent = /** @class */ (function () {
9
- function TuiMobileCalendarDialogComponent(context) {
10
- this.context = context;
11
- }
12
- Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "single", {
13
- get: function () {
14
- return !this.context.data || this.context.data.single === undefined
15
- ? true
16
- : this.context.data.single;
17
- },
18
- enumerable: true,
19
- configurable: true
20
- });
21
- Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "min", {
22
- get: function () {
23
- var _a;
24
- return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.min) || TUI_FIRST_DAY;
25
- },
26
- enumerable: true,
27
- configurable: true
28
- });
29
- Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "max", {
30
- get: function () {
31
- var _a;
32
- return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.max) || TUI_LAST_DAY;
33
- },
34
- enumerable: true,
35
- configurable: true
36
- });
37
- Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "disabledItemHandler", {
38
- get: function () {
39
- var _a;
40
- return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.disabledItemHandler) || ALWAYS_FALSE_HANDLER;
41
- },
42
- enumerable: true,
43
- configurable: true
44
- });
45
- TuiMobileCalendarDialogComponent.ctorParameters = function () { return [
46
- { type: undefined, decorators: [{ type: Inject, args: [POLYMORPHEUS_CONTEXT,] }] }
47
- ]; };
48
- TuiMobileCalendarDialogComponent = __decorate([
49
- Component({
50
- selector: 'tui-mobile-calendar-dialog',
51
- template: "<tui-mobile-calendar\n [single]=\"single\"\n [min]=\"min\"\n [max]=\"max\"\n [disabledItemHandler]=\"disabledItemHandler\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n",
52
- changeDetection: ChangeDetectionStrategy.OnPush,
53
- styles: [":host{display:block;height:100vh;margin:-1.5rem -1.5rem -2rem}"]
54
- }),
55
- __param(0, Inject(POLYMORPHEUS_CONTEXT))
56
- ], TuiMobileCalendarDialogComponent);
57
- return TuiMobileCalendarDialogComponent;
58
- }());
59
-
60
- // TODO: 3.0 remove in ivy compilation
61
- var MOBILE_CALENDAR_COMPONENT = TuiMobileCalendarDialogComponent;
62
- var TuiMobileCalendarDialogModule = /** @class */ (function () {
63
- function TuiMobileCalendarDialogModule() {
64
- }
65
- TuiMobileCalendarDialogModule = __decorate([
66
- NgModule({
67
- imports: [TuiMobileCalendarModule],
68
- declarations: [TuiMobileCalendarDialogComponent],
69
- exports: [TuiMobileCalendarDialogComponent],
70
- entryComponents: [TuiMobileCalendarDialogComponent],
71
- providers: [
72
- {
73
- provide: TUI_MOBILE_CALENDAR,
74
- useValue: MOBILE_CALENDAR_COMPONENT,
75
- },
76
- ],
77
- })
78
- ], TuiMobileCalendarDialogModule);
79
- return TuiMobileCalendarDialogModule;
80
- }());
81
-
82
- /**
83
- * Generated bundle index. Do not edit.
84
- */
85
-
86
- export { MOBILE_CALENDAR_COMPONENT, TuiMobileCalendarDialogComponent, TuiMobileCalendarDialogModule };
87
- //# sourceMappingURL=taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-components-mobile-calendar-dialog.js","sources":["ng://@taiga-ui/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.component.ts","ng://@taiga-ui/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.module.ts","ng://@taiga-ui/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,\n TuiMobileCalendarData | undefined\n >,\n ) {}\n\n get single(): boolean {\n return !this.context.data || this.context.data.single === undefined\n ? true\n : this.context.data.single;\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","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// TODO: 3.0 remove in ivy compilation\nexport const MOBILE_CALENDAR_COMPONENT = TuiMobileCalendarDialogComponent;\n\n@NgModule({\n imports: [TuiMobileCalendarModule],\n declarations: [TuiMobileCalendarDialogComponent],\n exports: [TuiMobileCalendarDialogComponent],\n entryComponents: [TuiMobileCalendarDialogComponent],\n providers: [\n {\n provide: TUI_MOBILE_CALENDAR,\n useValue: MOBILE_CALENDAR_COMPONENT,\n },\n ],\n})\nexport class TuiMobileCalendarDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;IAoBI,0CAEa,OAGR;QAHQ,YAAO,GAAP,OAAO,CAGf;KACD;IAEJ,sBAAI,oDAAM;aAAV;YACI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS;kBAC7D,IAAI;kBACJ,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;SAClC;;;OAAA;IAED,sBAAI,iDAAG;aAAP;;YACI,OAAO,OAAA,IAAI,CAAC,OAAO,CAAC,IAAI,0CAAE,GAAG,KAAI,aAAa,CAAC;SAClD;;;OAAA;IAED,sBAAI,iDAAG;aAAP;;YACI,OAAO,OAAA,IAAI,CAAC,OAAO,CAAC,IAAI,0CAAE,GAAG,KAAI,YAAY,CAAC;SACjD;;;OAAA;IAED,sBAAI,iEAAmB;aAAvB;;YACI,OAAO,OAAA,IAAI,CAAC,OAAO,CAAC,IAAI,0CAAE,mBAAmB,KAAI,oBAAoB,CAAC;SACzE;;;OAAA;;gDAvBI,MAAM,SAAC,oBAAoB;;IAFvB,gCAAgC;QAN5C,SAAS,CAAC;YACP,QAAQ,EAAE,4BAA4B;YACtC,4QAAqD;YAErD,eAAe,EAAE,uBAAuB,CAAC,MAAM;;SAClD,CAAC;QAGO,WAAA,MAAM,CAAC,oBAAoB,CAAC,CAAA;OAFxB,gCAAgC,CA0B5C;IAAD,uCAAC;CA1BD;;ACbA;IACa,yBAAyB,GAAG,iCAAiC;;IAc1E;KAA6C;IAAhC,6BAA6B;QAZzC,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,uBAAuB,CAA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